Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@webreact/webreact-components

Package Overview
Dependencies
Maintainers
1
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@webreact/webreact-components - npm Package Compare versions

Comparing version 0.4.41 to 0.4.42

dist/webreact/p-4b40fb81.entry.js

8

dist/collection/components/wr-highlight-grid/wr-highlight-grid.js

@@ -21,3 +21,4 @@ import { Component, Element, h, Listen } from '@stencil/core';

}
this.calculateBackgroundSize(event.target);
const height = event.target.clientHeight;
const width = event.target.clientWidth;
anime({

@@ -28,2 +29,4 @@ easing: 'easeOutCubic',

top,
width,
height,
duration: 300,

@@ -34,3 +37,2 @@ });

componentDidLoad() {
this.calculateBackgroundSize();
this.resizeObserver = new ResizeObserver(() => this.calculateBackgroundSize());

@@ -40,3 +42,3 @@ this.resizeObserver.observe(this.wrapper);

render() {
return (h("section", { class: 'highlight-grid', ref: (el) => this.wrapper = el },
return (h("section", { class: 'highlight-grid group', ref: (el) => this.wrapper = el },
h("slot", null),

@@ -43,0 +45,0 @@ h("div", { class: 'background', ref: (el) => this.background = el })));

@@ -1,1 +0,1 @@

import{r as registerInstance,h,c as createEvent,g as getElement,H as Host}from"./index-e41e20bc.js";import{u as ucFirst,r as round10}from"./utils-3b0bf2b4.js";import{a as anime}from"./anime.es-d8ec8d88.js";function toInteger(e){if(e===null||e===true||e===false){return NaN}var t=Number(e);if(isNaN(t)){return t}return t<0?Math.ceil(t):Math.floor(t)}function requiredArgs(e,t){if(t.length<e){throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}}function toDate(e){requiredArgs(1,arguments);var t=Object.prototype.toString.call(e);if(e instanceof Date||typeof e==="object"&&t==="[object Date]"){return new Date(e.getTime())}else if(typeof e==="number"||t==="[object Number]"){return new Date(e)}else{if((typeof e==="string"||t==="[object String]")&&typeof console!=="undefined"){console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://git.io/fjule");console.warn((new Error).stack)}return new Date(NaN)}}function addMilliseconds(e,t){requiredArgs(2,arguments);var r=toDate(e).getTime();var a=toInteger(t);return new Date(r+a)}function getTimezoneOffsetInMilliseconds(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));t.setUTCFullYear(e.getFullYear());return e.getTime()-t.getTime()}function isDate(e){requiredArgs(1,arguments);return e instanceof Date||typeof e==="object"&&Object.prototype.toString.call(e)==="[object Date]"}function isValid(e){requiredArgs(1,arguments);if(!isDate(e)&&typeof e!=="number"){return false}var t=toDate(e);return!isNaN(Number(t))}var formatDistanceLocale$1={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};var formatDistance$1=function(e,t,r){var a;var n=formatDistanceLocale$1[e];if(typeof n==="string"){a=n}else if(t===1){a=n.one}else{a=n.other.replace("{{count}}",t.toString())}if(r!==null&&r!==void 0&&r.addSuffix){if(r.comparison&&r.comparison>0){return"in "+a}else{return a+" ago"}}return a};function buildFormatLongFn(e){return function(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};var r=t.width?String(t.width):e.defaultWidth;var a=e.formats[r]||e.formats[e.defaultWidth];return a}}var dateFormats$1={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"};var timeFormats$1={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"};var dateTimeFormats$1={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"};var formatLong$1={date:buildFormatLongFn({formats:dateFormats$1,defaultWidth:"full"}),time:buildFormatLongFn({formats:timeFormats$1,defaultWidth:"full"}),dateTime:buildFormatLongFn({formats:dateTimeFormats$1,defaultWidth:"full"})};var formatRelativeLocale$1={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};var formatRelative$1=function(e,t,r,a){return formatRelativeLocale$1[e]};function buildLocalizeFn(e){return function(t,r){var a=r||{};var n=a.context?String(a.context):"standalone";var i;if(n==="formatting"&&e.formattingValues){var o=e.defaultFormattingWidth||e.defaultWidth;var s=a.width?String(a.width):o;i=e.formattingValues[s]||e.formattingValues[o]}else{var u=e.defaultWidth;var d=a.width?String(a.width):e.defaultWidth;i=e.values[d]||e.values[u]}var l=e.argumentCallback?e.argumentCallback(t):t;return i[l]}}var eraValues$1={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]};var quarterValues$1={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]};var monthValues$1={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]};var dayValues$1={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]};var dayPeriodValues$1={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}};var formattingDayPeriodValues={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}};var ordinalNumber$1=function(e,t){var r=Number(e);var a=r%100;if(a>20||a<10){switch(a%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}}return r+"th"};var localize$1={ordinalNumber:ordinalNumber$1,era:buildLocalizeFn({values:eraValues$1,defaultWidth:"wide"}),quarter:buildLocalizeFn({values:quarterValues$1,defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:buildLocalizeFn({values:monthValues$1,defaultWidth:"wide"}),day:buildLocalizeFn({values:dayValues$1,defaultWidth:"wide"}),dayPeriod:buildLocalizeFn({values:dayPeriodValues$1,defaultWidth:"wide",formattingValues:formattingDayPeriodValues,defaultFormattingWidth:"wide"})};function buildMatchFn(e){return function(t){var r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var a=r.width;var n=a&&e.matchPatterns[a]||e.matchPatterns[e.defaultMatchWidth];var i=t.match(n);if(!i){return null}var o=i[0];var s=a&&e.parsePatterns[a]||e.parsePatterns[e.defaultParseWidth];var u=Array.isArray(s)?findIndex(s,(function(e){return e.test(o)})):findKey(s,(function(e){return e.test(o)}));var d;d=e.valueCallback?e.valueCallback(u):u;d=r.valueCallback?r.valueCallback(d):d;var l=t.slice(o.length);return{value:d,rest:l}}}function findKey(e,t){for(var r in e){if(e.hasOwnProperty(r)&&t(e[r])){return r}}return undefined}function findIndex(e,t){for(var r=0;r<e.length;r++){if(t(e[r])){return r}}return undefined}function buildMatchPatternFn(e){return function(t){var r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var a=t.match(e.matchPattern);if(!a)return null;var n=a[0];var i=t.match(e.parsePattern);if(!i)return null;var o=e.valueCallback?e.valueCallback(i[0]):i[0];o=r.valueCallback?r.valueCallback(o):o;var s=t.slice(n.length);return{value:o,rest:s}}}var matchOrdinalNumberPattern$1=/^(\d+)(th|st|nd|rd)?/i;var parseOrdinalNumberPattern$1=/\d+/i;var matchEraPatterns$1={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i};var parseEraPatterns$1={any:[/^b/i,/^(a|c)/i]};var matchQuarterPatterns$1={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i};var parseQuarterPatterns$1={any:[/1/i,/2/i,/3/i,/4/i]};var matchMonthPatterns$1={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i};var parseMonthPatterns$1={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]};var matchDayPatterns$1={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i};var parseDayPatterns$1={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]};var matchDayPeriodPatterns$1={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i};var parseDayPeriodPatterns$1={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}};var match$1={ordinalNumber:buildMatchPatternFn({matchPattern:matchOrdinalNumberPattern$1,parsePattern:parseOrdinalNumberPattern$1,valueCallback:function(e){return parseInt(e,10)}}),era:buildMatchFn({matchPatterns:matchEraPatterns$1,defaultMatchWidth:"wide",parsePatterns:parseEraPatterns$1,defaultParseWidth:"any"}),quarter:buildMatchFn({matchPatterns:matchQuarterPatterns$1,defaultMatchWidth:"wide",parsePatterns:parseQuarterPatterns$1,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:buildMatchFn({matchPatterns:matchMonthPatterns$1,defaultMatchWidth:"wide",parsePatterns:parseMonthPatterns$1,defaultParseWidth:"any"}),day:buildMatchFn({matchPatterns:matchDayPatterns$1,defaultMatchWidth:"wide",parsePatterns:parseDayPatterns$1,defaultParseWidth:"any"}),dayPeriod:buildMatchFn({matchPatterns:matchDayPeriodPatterns$1,defaultMatchWidth:"any",parsePatterns:parseDayPeriodPatterns$1,defaultParseWidth:"any"})};var locale$1={code:"en-US",formatDistance:formatDistance$1,formatLong:formatLong$1,formatRelative:formatRelative$1,localize:localize$1,match:match$1,options:{weekStartsOn:0,firstWeekContainsDate:1}};function subMilliseconds(e,t){requiredArgs(2,arguments);var r=toInteger(t);return addMilliseconds(e,-r)}function addLeadingZeros(e,t){var r=e<0?"-":"";var a=Math.abs(e).toString();while(a.length<t){a="0"+a}return r+a}var formatters$1={y:function(e,t){var r=e.getUTCFullYear();var a=r>0?r:1-r;return addLeadingZeros(t==="yy"?a%100:a,t.length)},M:function(e,t){var r=e.getUTCMonth();return t==="M"?String(r+1):addLeadingZeros(r+1,2)},d:function(e,t){return addLeadingZeros(e.getUTCDate(),t.length)},a:function(e,t){var r=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return r.toUpperCase();case"aaa":return r;case"aaaaa":return r[0];case"aaaa":default:return r==="am"?"a.m.":"p.m."}},h:function(e,t){return addLeadingZeros(e.getUTCHours()%12||12,t.length)},H:function(e,t){return addLeadingZeros(e.getUTCHours(),t.length)},m:function(e,t){return addLeadingZeros(e.getUTCMinutes(),t.length)},s:function(e,t){return addLeadingZeros(e.getUTCSeconds(),t.length)},S:function(e,t){var r=t.length;var a=e.getUTCMilliseconds();var n=Math.floor(a*Math.pow(10,r-3));return addLeadingZeros(n,t.length)}};var MILLISECONDS_IN_DAY=864e5;function getUTCDayOfYear(e){requiredArgs(1,arguments);var t=toDate(e);var r=t.getTime();t.setUTCMonth(0,1);t.setUTCHours(0,0,0,0);var a=t.getTime();var n=r-a;return Math.floor(n/MILLISECONDS_IN_DAY)+1}function startOfUTCISOWeek(e){requiredArgs(1,arguments);var t=1;var r=toDate(e);var a=r.getUTCDay();var n=(a<t?7:0)+a-t;r.setUTCDate(r.getUTCDate()-n);r.setUTCHours(0,0,0,0);return r}function getUTCISOWeekYear(e){requiredArgs(1,arguments);var t=toDate(e);var r=t.getUTCFullYear();var a=new Date(0);a.setUTCFullYear(r+1,0,4);a.setUTCHours(0,0,0,0);var n=startOfUTCISOWeek(a);var i=new Date(0);i.setUTCFullYear(r,0,4);i.setUTCHours(0,0,0,0);var o=startOfUTCISOWeek(i);if(t.getTime()>=n.getTime()){return r+1}else if(t.getTime()>=o.getTime()){return r}else{return r-1}}function startOfUTCISOWeekYear(e){requiredArgs(1,arguments);var t=getUTCISOWeekYear(e);var r=new Date(0);r.setUTCFullYear(t,0,4);r.setUTCHours(0,0,0,0);var a=startOfUTCISOWeek(r);return a}var MILLISECONDS_IN_WEEK$1=6048e5;function getUTCISOWeek(e){requiredArgs(1,arguments);var t=toDate(e);var r=startOfUTCISOWeek(t).getTime()-startOfUTCISOWeekYear(t).getTime();return Math.round(r/MILLISECONDS_IN_WEEK$1)+1}function startOfUTCWeek(e,t){requiredArgs(1,arguments);var r=t||{};var a=r.locale;var n=a&&a.options&&a.options.weekStartsOn;var i=n==null?0:toInteger(n);var o=r.weekStartsOn==null?i:toInteger(r.weekStartsOn);if(!(o>=0&&o<=6)){throw new RangeError("weekStartsOn must be between 0 and 6 inclusively")}var s=toDate(e);var u=s.getUTCDay();var d=(u<o?7:0)+u-o;s.setUTCDate(s.getUTCDate()-d);s.setUTCHours(0,0,0,0);return s}function getUTCWeekYear(e,t){requiredArgs(1,arguments);var r=toDate(e,t);var a=r.getUTCFullYear();var n=t||{};var i=n.locale;var o=i&&i.options&&i.options.firstWeekContainsDate;var s=o==null?1:toInteger(o);var u=n.firstWeekContainsDate==null?s:toInteger(n.firstWeekContainsDate);if(!(u>=1&&u<=7)){throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively")}var d=new Date(0);d.setUTCFullYear(a+1,0,u);d.setUTCHours(0,0,0,0);var l=startOfUTCWeek(d,t);var c=new Date(0);c.setUTCFullYear(a,0,u);c.setUTCHours(0,0,0,0);var m=startOfUTCWeek(c,t);if(r.getTime()>=l.getTime()){return a+1}else if(r.getTime()>=m.getTime()){return a}else{return a-1}}function startOfUTCWeekYear(e,t){requiredArgs(1,arguments);var r=t||{};var a=r.locale;var n=a&&a.options&&a.options.firstWeekContainsDate;var i=n==null?1:toInteger(n);var o=r.firstWeekContainsDate==null?i:toInteger(r.firstWeekContainsDate);var s=getUTCWeekYear(e,t);var u=new Date(0);u.setUTCFullYear(s,0,o);u.setUTCHours(0,0,0,0);var d=startOfUTCWeek(u,t);return d}var MILLISECONDS_IN_WEEK=6048e5;function getUTCWeek(e,t){requiredArgs(1,arguments);var r=toDate(e);var a=startOfUTCWeek(r,t).getTime()-startOfUTCWeekYear(r,t).getTime();return Math.round(a/MILLISECONDS_IN_WEEK)+1}var dayPeriodEnum={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"};var formatters={G:function(e,t,r){var a=e.getUTCFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return r.era(a,{width:"abbreviated"});case"GGGGG":return r.era(a,{width:"narrow"});case"GGGG":default:return r.era(a,{width:"wide"})}},y:function(e,t,r){if(t==="yo"){var a=e.getUTCFullYear();var n=a>0?a:1-a;return r.ordinalNumber(n,{unit:"year"})}return formatters$1.y(e,t)},Y:function(e,t,r,a){var n=getUTCWeekYear(e,a);var i=n>0?n:1-n;if(t==="YY"){var o=i%100;return addLeadingZeros(o,2)}if(t==="Yo"){return r.ordinalNumber(i,{unit:"year"})}return addLeadingZeros(i,t.length)},R:function(e,t){var r=getUTCISOWeekYear(e);return addLeadingZeros(r,t.length)},u:function(e,t){var r=e.getUTCFullYear();return addLeadingZeros(r,t.length)},Q:function(e,t,r){var a=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"Q":return String(a);case"QQ":return addLeadingZeros(a,2);case"Qo":return r.ordinalNumber(a,{unit:"quarter"});case"QQQ":return r.quarter(a,{width:"abbreviated",context:"formatting"});case"QQQQQ":return r.quarter(a,{width:"narrow",context:"formatting"});case"QQQQ":default:return r.quarter(a,{width:"wide",context:"formatting"})}},q:function(e,t,r){var a=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"q":return String(a);case"qq":return addLeadingZeros(a,2);case"qo":return r.ordinalNumber(a,{unit:"quarter"});case"qqq":return r.quarter(a,{width:"abbreviated",context:"standalone"});case"qqqqq":return r.quarter(a,{width:"narrow",context:"standalone"});case"qqqq":default:return r.quarter(a,{width:"wide",context:"standalone"})}},M:function(e,t,r){var a=e.getUTCMonth();switch(t){case"M":case"MM":return formatters$1.M(e,t);case"Mo":return r.ordinalNumber(a+1,{unit:"month"});case"MMM":return r.month(a,{width:"abbreviated",context:"formatting"});case"MMMMM":return r.month(a,{width:"narrow",context:"formatting"});case"MMMM":default:return r.month(a,{width:"wide",context:"formatting"})}},L:function(e,t,r){var a=e.getUTCMonth();switch(t){case"L":return String(a+1);case"LL":return addLeadingZeros(a+1,2);case"Lo":return r.ordinalNumber(a+1,{unit:"month"});case"LLL":return r.month(a,{width:"abbreviated",context:"standalone"});case"LLLLL":return r.month(a,{width:"narrow",context:"standalone"});case"LLLL":default:return r.month(a,{width:"wide",context:"standalone"})}},w:function(e,t,r,a){var n=getUTCWeek(e,a);if(t==="wo"){return r.ordinalNumber(n,{unit:"week"})}return addLeadingZeros(n,t.length)},I:function(e,t,r){var a=getUTCISOWeek(e);if(t==="Io"){return r.ordinalNumber(a,{unit:"week"})}return addLeadingZeros(a,t.length)},d:function(e,t,r){if(t==="do"){return r.ordinalNumber(e.getUTCDate(),{unit:"date"})}return formatters$1.d(e,t)},D:function(e,t,r){var a=getUTCDayOfYear(e);if(t==="Do"){return r.ordinalNumber(a,{unit:"dayOfYear"})}return addLeadingZeros(a,t.length)},E:function(e,t,r){var a=e.getUTCDay();switch(t){case"E":case"EE":case"EEE":return r.day(a,{width:"abbreviated",context:"formatting"});case"EEEEE":return r.day(a,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(a,{width:"short",context:"formatting"});case"EEEE":default:return r.day(a,{width:"wide",context:"formatting"})}},e:function(e,t,r,a){var n=e.getUTCDay();var i=(n-a.weekStartsOn+8)%7||7;switch(t){case"e":return String(i);case"ee":return addLeadingZeros(i,2);case"eo":return r.ordinalNumber(i,{unit:"day"});case"eee":return r.day(n,{width:"abbreviated",context:"formatting"});case"eeeee":return r.day(n,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(n,{width:"short",context:"formatting"});case"eeee":default:return r.day(n,{width:"wide",context:"formatting"})}},c:function(e,t,r,a){var n=e.getUTCDay();var i=(n-a.weekStartsOn+8)%7||7;switch(t){case"c":return String(i);case"cc":return addLeadingZeros(i,t.length);case"co":return r.ordinalNumber(i,{unit:"day"});case"ccc":return r.day(n,{width:"abbreviated",context:"standalone"});case"ccccc":return r.day(n,{width:"narrow",context:"standalone"});case"cccccc":return r.day(n,{width:"short",context:"standalone"});case"cccc":default:return r.day(n,{width:"wide",context:"standalone"})}},i:function(e,t,r){var a=e.getUTCDay();var n=a===0?7:a;switch(t){case"i":return String(n);case"ii":return addLeadingZeros(n,t.length);case"io":return r.ordinalNumber(n,{unit:"day"});case"iii":return r.day(a,{width:"abbreviated",context:"formatting"});case"iiiii":return r.day(a,{width:"narrow",context:"formatting"});case"iiiiii":return r.day(a,{width:"short",context:"formatting"});case"iiii":default:return r.day(a,{width:"wide",context:"formatting"})}},a:function(e,t,r){var a=e.getUTCHours();var n=a/12>=1?"pm":"am";switch(t){case"a":case"aa":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"aaa":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return r.dayPeriod(n,{width:"narrow",context:"formatting"});case"aaaa":default:return r.dayPeriod(n,{width:"wide",context:"formatting"})}},b:function(e,t,r){var a=e.getUTCHours();var n;if(a===12){n=dayPeriodEnum.noon}else if(a===0){n=dayPeriodEnum.midnight}else{n=a/12>=1?"pm":"am"}switch(t){case"b":case"bb":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"bbb":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return r.dayPeriod(n,{width:"narrow",context:"formatting"});case"bbbb":default:return r.dayPeriod(n,{width:"wide",context:"formatting"})}},B:function(e,t,r){var a=e.getUTCHours();var n;if(a>=17){n=dayPeriodEnum.evening}else if(a>=12){n=dayPeriodEnum.afternoon}else if(a>=4){n=dayPeriodEnum.morning}else{n=dayPeriodEnum.night}switch(t){case"B":case"BB":case"BBB":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"BBBBB":return r.dayPeriod(n,{width:"narrow",context:"formatting"});case"BBBB":default:return r.dayPeriod(n,{width:"wide",context:"formatting"})}},h:function(e,t,r){if(t==="ho"){var a=e.getUTCHours()%12;if(a===0)a=12;return r.ordinalNumber(a,{unit:"hour"})}return formatters$1.h(e,t)},H:function(e,t,r){if(t==="Ho"){return r.ordinalNumber(e.getUTCHours(),{unit:"hour"})}return formatters$1.H(e,t)},K:function(e,t,r){var a=e.getUTCHours()%12;if(t==="Ko"){return r.ordinalNumber(a,{unit:"hour"})}return addLeadingZeros(a,t.length)},k:function(e,t,r){var a=e.getUTCHours();if(a===0)a=24;if(t==="ko"){return r.ordinalNumber(a,{unit:"hour"})}return addLeadingZeros(a,t.length)},m:function(e,t,r){if(t==="mo"){return r.ordinalNumber(e.getUTCMinutes(),{unit:"minute"})}return formatters$1.m(e,t)},s:function(e,t,r){if(t==="so"){return r.ordinalNumber(e.getUTCSeconds(),{unit:"second"})}return formatters$1.s(e,t)},S:function(e,t){return formatters$1.S(e,t)},X:function(e,t,r,a){var n=a._originalDate||e;var i=n.getTimezoneOffset();if(i===0){return"Z"}switch(t){case"X":return formatTimezoneWithOptionalMinutes(i);case"XXXX":case"XX":return formatTimezone(i);case"XXXXX":case"XXX":default:return formatTimezone(i,":")}},x:function(e,t,r,a){var n=a._originalDate||e;var i=n.getTimezoneOffset();switch(t){case"x":return formatTimezoneWithOptionalMinutes(i);case"xxxx":case"xx":return formatTimezone(i);case"xxxxx":case"xxx":default:return formatTimezone(i,":")}},O:function(e,t,r,a){var n=a._originalDate||e;var i=n.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+formatTimezoneShort(i,":");case"OOOO":default:return"GMT"+formatTimezone(i,":")}},z:function(e,t,r,a){var n=a._originalDate||e;var i=n.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+formatTimezoneShort(i,":");case"zzzz":default:return"GMT"+formatTimezone(i,":")}},t:function(e,t,r,a){var n=a._originalDate||e;var i=Math.floor(n.getTime()/1e3);return addLeadingZeros(i,t.length)},T:function(e,t,r,a){var n=a._originalDate||e;var i=n.getTime();return addLeadingZeros(i,t.length)}};function formatTimezoneShort(e,t){var r=e>0?"-":"+";var a=Math.abs(e);var n=Math.floor(a/60);var i=a%60;if(i===0){return r+String(n)}var o=t||"";return r+String(n)+o+addLeadingZeros(i,2)}function formatTimezoneWithOptionalMinutes(e,t){if(e%60===0){var r=e>0?"-":"+";return r+addLeadingZeros(Math.abs(e)/60,2)}return formatTimezone(e,t)}function formatTimezone(e,t){var r=t||"";var a=e>0?"-":"+";var n=Math.abs(e);var i=addLeadingZeros(Math.floor(n/60),2);var o=addLeadingZeros(n%60,2);return a+i+r+o}function dateLongFormatter(e,t){switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});case"PPPP":default:return t.date({width:"full"})}}function timeLongFormatter(e,t){switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});case"pppp":default:return t.time({width:"full"})}}function dateTimeLongFormatter(e,t){var r=e.match(/(P+)(p+)?/);var a=r[1];var n=r[2];if(!n){return dateLongFormatter(e,t)}var i;switch(a){case"P":i=t.dateTime({width:"short"});break;case"PP":i=t.dateTime({width:"medium"});break;case"PPP":i=t.dateTime({width:"long"});break;case"PPPP":default:i=t.dateTime({width:"full"});break}return i.replace("{{date}}",dateLongFormatter(a,t)).replace("{{time}}",timeLongFormatter(n,t))}var longFormatters={p:timeLongFormatter,P:dateTimeLongFormatter};var protectedDayOfYearTokens=["D","DD"];var protectedWeekYearTokens=["YY","YYYY"];function isProtectedDayOfYearToken(e){return protectedDayOfYearTokens.indexOf(e)!==-1}function isProtectedWeekYearToken(e){return protectedWeekYearTokens.indexOf(e)!==-1}function throwProtectedError(e,t,r){if(e==="YYYY"){throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(r,"`; see: https://git.io/fxCyr"))}else if(e==="YY"){throw new RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(r,"`; see: https://git.io/fxCyr"))}else if(e==="D"){throw new RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(r,"`; see: https://git.io/fxCyr"))}else if(e==="DD"){throw new RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(r,"`; see: https://git.io/fxCyr"))}}var formattingTokensRegExp=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g;var longFormattingTokensRegExp=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g;var escapedStringRegExp=/^'([^]*?)'?$/;var doubleQuoteRegExp=/''/g;var unescapedLatinCharacterRegExp=/[a-zA-Z]/;function format(e,t,r){requiredArgs(2,arguments);var a=String(t);var n=r||{};var i=n.locale||locale$1;var o=i.options&&i.options.firstWeekContainsDate;var s=o==null?1:toInteger(o);var u=n.firstWeekContainsDate==null?s:toInteger(n.firstWeekContainsDate);if(!(u>=1&&u<=7)){throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively")}var d=i.options&&i.options.weekStartsOn;var l=d==null?0:toInteger(d);var c=n.weekStartsOn==null?l:toInteger(n.weekStartsOn);if(!(c>=0&&c<=6)){throw new RangeError("weekStartsOn must be between 0 and 6 inclusively")}if(!i.localize){throw new RangeError("locale must contain localize property")}if(!i.formatLong){throw new RangeError("locale must contain formatLong property")}var m=toDate(e);if(!isValid(m)){throw new RangeError("Invalid time value")}var h=getTimezoneOffsetInMilliseconds(m);var f=subMilliseconds(m,h);var g={firstWeekContainsDate:u,weekStartsOn:c,locale:i,_originalDate:m};var v=a.match(longFormattingTokensRegExp).map((function(e){var t=e[0];if(t==="p"||t==="P"){var r=longFormatters[t];return r(e,i.formatLong,g)}return e})).join("").match(formattingTokensRegExp).map((function(r){if(r==="''"){return"'"}var a=r[0];if(a==="'"){return cleanEscapedString(r)}var o=formatters[a];if(o){if(!n.useAdditionalWeekYearTokens&&isProtectedWeekYearToken(r)){throwProtectedError(r,t,e)}if(!n.useAdditionalDayOfYearTokens&&isProtectedDayOfYearToken(r)){throwProtectedError(r,t,e)}return o(f,r,i.localize,g)}if(a.match(unescapedLatinCharacterRegExp)){throw new RangeError("Format string contains an unescaped latin alphabet character `"+a+"`")}return r})).join("");return v}function cleanEscapedString(e){return e.match(escapedStringRegExp)[1].replace(doubleQuoteRegExp,"'")}var formatDistanceLocale={lessThanXSeconds:{one:"minder dan een seconde",other:"minder dan {{count}} seconden"},xSeconds:{one:"1 seconde",other:"{{count}} seconden"},halfAMinute:"een halve minuut",lessThanXMinutes:{one:"minder dan een minuut",other:"minder dan {{count}} minuten"},xMinutes:{one:"een minuut",other:"{{count}} minuten"},aboutXHours:{one:"ongeveer 1 uur",other:"ongeveer {{count}} uur"},xHours:{one:"1 uur",other:"{{count}} uur"},xDays:{one:"1 dag",other:"{{count}} dagen"},aboutXWeeks:{one:"ongeveer 1 week",other:"ongeveer {{count}} weken"},xWeeks:{one:"1 week",other:"{{count}} weken"},aboutXMonths:{one:"ongeveer 1 maand",other:"ongeveer {{count}} maanden"},xMonths:{one:"1 maand",other:"{{count}} maanden"},aboutXYears:{one:"ongeveer 1 jaar",other:"ongeveer {{count}} jaar"},xYears:{one:"1 jaar",other:"{{count}} jaar"},overXYears:{one:"meer dan 1 jaar",other:"meer dan {{count}} jaar"},almostXYears:{one:"bijna 1 jaar",other:"bijna {{count}} jaar"}};function formatDistance(e,t,r){r=r||{};var a;if(typeof formatDistanceLocale[e]==="string"){a=formatDistanceLocale[e]}else if(t===1){a=formatDistanceLocale[e].one}else{a=formatDistanceLocale[e].other.replace("{{count}}",t)}if(r.addSuffix){if(r.comparison>0){return"over "+a}else{return a+" geleden"}}return a}var dateFormats={full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd-MM-y"};var timeFormats={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"};var dateTimeFormats={full:"{{date}} 'om' {{time}}",long:"{{date}} 'om' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"};var formatLong={date:buildFormatLongFn({formats:dateFormats,defaultWidth:"full"}),time:buildFormatLongFn({formats:timeFormats,defaultWidth:"full"}),dateTime:buildFormatLongFn({formats:dateTimeFormats,defaultWidth:"full"})};var formatRelativeLocale={lastWeek:"'afgelopen' eeee 'om' p",yesterday:"'gisteren om' p",today:"'vandaag om' p",tomorrow:"'morgen om' p",nextWeek:"eeee 'om' p",other:"P"};function formatRelative(e,t,r,a){return formatRelativeLocale[e]}var eraValues={narrow:["v.C.","n.C."],abbreviated:["v.Chr.","n.Chr."],wide:["voor Christus","na Christus"]};var quarterValues={narrow:["1","2","3","4"],abbreviated:["K1","K2","K3","K4"],wide:["1e kwartaal","2e kwartaal","3e kwartaal","4e kwartaal"]};var monthValues={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["jan.","feb.","mrt.","apr.","mei","jun.","jul.","aug.","sep.","okt.","nov.","dec."],wide:["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"]};var dayValues={narrow:["Z","M","D","W","D","V","Z"],short:["zo","ma","di","wo","do","vr","za"],abbreviated:["zon","maa","din","woe","don","vri","zat"],wide:["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"]};var dayPeriodValues={narrow:{am:"AM",pm:"PM",midnight:"middernacht",noon:"het middaguur",morning:"'s ochtends",afternoon:"'s middags",evening:"'s avonds",night:"'s nachts"},abbreviated:{am:"AM",pm:"PM",midnight:"middernacht",noon:"het middaguur",morning:"'s ochtends",afternoon:"'s middags",evening:"'s avonds",night:"'s nachts"},wide:{am:"AM",pm:"PM",midnight:"middernacht",noon:"het middaguur",morning:"'s ochtends",afternoon:"'s middags",evening:"'s avonds",night:"'s nachts"}};function ordinalNumber(e){var t=Number(e);return t+"e"}var localize={ordinalNumber:ordinalNumber,era:buildLocalizeFn({values:eraValues,defaultWidth:"wide"}),quarter:buildLocalizeFn({values:quarterValues,defaultWidth:"wide",argumentCallback:function(e){return Number(e)-1}}),month:buildLocalizeFn({values:monthValues,defaultWidth:"wide"}),day:buildLocalizeFn({values:dayValues,defaultWidth:"wide"}),dayPeriod:buildLocalizeFn({values:dayPeriodValues,defaultWidth:"wide"})};var matchOrdinalNumberPattern=/^(\d+)e?/i;var parseOrdinalNumberPattern=/\d+/i;var matchEraPatterns={narrow:/^([vn]\.? ?C\.?)/,abbreviated:/^([vn]\. ?Chr\.?)/,wide:/^((voor|na) Christus)/};var parseEraPatterns={any:[/^v/,/^n/]};var matchQuarterPatterns={narrow:/^[1234]/i,abbreviated:/^K[1234]/i,wide:/^[1234]e kwartaal/i};var parseQuarterPatterns={any:[/1/i,/2/i,/3/i,/4/i]};var matchMonthPatterns={narrow:/^[jfmasond]/i,abbreviated:/^(jan.|feb.|mrt.|apr.|mei|jun.|jul.|aug.|sep.|okt.|nov.|dec.)/i,wide:/^(januari|februari|maart|april|mei|juni|juli|augustus|september|oktober|november|december)/i};var parseMonthPatterns={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^jan/i,/^feb/i,/^m(r|a)/i,/^apr/i,/^mei/i,/^jun/i,/^jul/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i]};var matchDayPatterns={narrow:/^[zmdwv]/i,short:/^(zo|ma|di|wo|do|vr|za)/i,abbreviated:/^(zon|maa|din|woe|don|vri|zat)/i,wide:/^(zondag|maandag|dinsdag|woensdag|donderdag|vrijdag|zaterdag)/i};var parseDayPatterns={narrow:[/^z/i,/^m/i,/^d/i,/^w/i,/^d/i,/^v/i,/^z/i],any:[/^zo/i,/^ma/i,/^di/i,/^wo/i,/^do/i,/^vr/i,/^za/i]};var matchDayPeriodPatterns={any:/^(am|pm|middernacht|het middaguur|'s (ochtends|middags|avonds|nachts))/i};var parseDayPeriodPatterns={any:{am:/^am/i,pm:/^pm/i,midnight:/^middernacht/i,noon:/^het middaguur/i,morning:/ochtend/i,afternoon:/middag/i,evening:/avond/i,night:/nacht/i}};var match={ordinalNumber:buildMatchPatternFn({matchPattern:matchOrdinalNumberPattern,parsePattern:parseOrdinalNumberPattern,valueCallback:function(e){return parseInt(e,10)}}),era:buildMatchFn({matchPatterns:matchEraPatterns,defaultMatchWidth:"wide",parsePatterns:parseEraPatterns,defaultParseWidth:"any"}),quarter:buildMatchFn({matchPatterns:matchQuarterPatterns,defaultMatchWidth:"wide",parsePatterns:parseQuarterPatterns,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:buildMatchFn({matchPatterns:matchMonthPatterns,defaultMatchWidth:"wide",parsePatterns:parseMonthPatterns,defaultParseWidth:"any"}),day:buildMatchFn({matchPatterns:matchDayPatterns,defaultMatchWidth:"wide",parsePatterns:parseDayPatterns,defaultParseWidth:"any"}),dayPeriod:buildMatchFn({matchPatterns:matchDayPeriodPatterns,defaultMatchWidth:"any",parsePatterns:parseDayPeriodPatterns,defaultParseWidth:"any"})};var locale={code:"nl",formatDistance:formatDistance,formatLong:formatLong,formatRelative:formatRelative,localize:localize,match:match,options:{weekStartsOn:1,firstWeekContainsDate:4}};var wrBlockMetaCss=":host{display:block}.meta-data__wrapper{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between}@media (min-width: 1024px){.meta-data__wrapper{-ms-flex-direction:row;flex-direction:row}}.meta-data__wrapper>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}@media (min-width: 1024px){.meta-data__wrapper>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(0px * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(0px * var(--tw-space-y-reverse))}}.meta-data__wrapper{width:100%;color:#ffffff;color:var(--post-text-color, #ffffff)}.meta-data__item{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.meta-data__item>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(0.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(0.5rem * var(--tw-space-y-reverse))}.meta-data__item{max-width:25ch}.meta-data__label{font-size:0.75rem;line-height:1.5rem;font-weight:700;text-transform:uppercase}.meta-data__item{font-size:1.0625rem;line-height:1.75rem;font-weight:400;text-transform:none}a.meta-data__item{text-decoration:none;color:#ffffff;color:var(--post-text-color, #ffffff)}";var WrBlockMeta=function(){function e(e){registerInstance(this,e)}e.prototype.componentWillLoad=function(){this.innerData=JSON.parse(this.items)};e.prototype.watchDidChangeHandler=function(e){this.innerData=JSON.parse(e)};e.prototype.render=function(){return h("div",{class:"meta-data__wrapper"},this.renderData())};e.prototype.renderData=function(){var e=this;return this.innerData.map((function(t){return h("div",{class:"meta-data__item"},e.renderItemTitle(t),e.renderItemValue(t))}))};e.prototype.renderItemTitle=function(e){return h("label",{class:"meta-data__label"},e.label)};e.prototype.renderItemValue=function(e){var t;try{t=new URL(e.value)}catch(e){t=false}if(t){return h("a",{href:t.href,class:"meta-data__item"},t.host.replace("www.","").replace("/",""))}if(Date.parse(e.value)&&e.value.includes("T00")){return this.renderItemWrappingElement(ucFirst(format(Date.parse(e.value),"LLLL RRRR",{locale:locale})))}return this.renderItemWrappingElement(e.value)};e.prototype.renderItemWrappingElement=function(e){return h("span",{class:"meta-data__item"},e)};Object.defineProperty(e,"watchers",{get:function(){return{items:["watchDidChangeHandler"]}},enumerable:false,configurable:true});return e}();WrBlockMeta.style=wrBlockMetaCss;var wrHighlightCss=".highlight{position:relative;z-index:1;padding-left:3.5rem;padding-right:3.5rem;padding-top:2.5rem;padding-bottom:2.5rem;-webkit-box-shadow:0 0 1px rgba(255, 255, 255, 0.2);box-shadow:0 0 1px rgba(255, 255, 255, 0.2)}.highlight__title{margin-top:0px;margin-bottom:0px;font-size:1.75rem;line-height:2.5rem;--tw-text-opacity:1;color:rgba(255, 255, 255, var(--tw-text-opacity))}.highlight__subtitle{margin-top:0px;margin-bottom:0px;margin-top:0.5rem;font-size:1.0625rem;line-height:1.75rem;font-weight:400;--tw-text-opacity:1;color:rgba(255, 255, 255, var(--tw-text-opacity))}.highlight a{display:inline-block;margin-top:2rem}";var WrHighlight=function(){function e(e){registerInstance(this,e);this.hover=createEvent(this,"hover",7)}e.prototype.render=function(){var e=this;return h("article",{class:"highlight",onMouseOver:function(){return e.hover.emit()}},h("h4",{class:"highlight__title"},this.itemTitle),h("h5",{class:"highlight__subtitle"},this.subTitle),h("slot",{name:"link"}))};return e}();WrHighlight.style=wrHighlightCss;var isDivisible=function(e,t){e=round10(e);t=round10(t);return e%t===0};var wrHighlightGridCss=".highlight-grid{grid-template-columns:repeat(1, minmax(0, 1fr))}@media (min-width: 768px){.highlight-grid{grid-template-columns:repeat(2, minmax(0, 1fr))}}@media (min-width: 1024px){.highlight-grid{grid-template-columns:repeat(3, minmax(0, 1fr))}}.highlight-grid{display:grid;gap:1px;-ms-flex-align:stretch;align-items:stretch;position:relative}.background{background-color:rgba(255, 255, 255, 0.05);position:absolute;width:var(--column);height:var(--row)}";var WrHighlightGrid=function(){function e(e){registerInstance(this,e)}e.prototype.onHover=function(e){var t,r;var a=e.target.offsetLeft;var n=e.target.clientWidth;if(isDivisible(a,n)){t=e.target.offsetLeft}else{t=e.target.offsetLeft-this.host.offsetLeft}if(e.target.offsetParent===this.wrapper){r=e.target.offsetTop}else{r=e.target.offsetTop-this.host.offsetTop}this.calculateBackgroundSize(e.target);anime({easing:"easeOutCubic",targets:this.background,left:t,top:r,duration:300})};e.prototype.componentDidLoad=function(){var e=this;this.calculateBackgroundSize();this.resizeObserver=new ResizeObserver((function(){return e.calculateBackgroundSize()}));this.resizeObserver.observe(this.wrapper)};e.prototype.render=function(){var e=this;return h("section",{class:"highlight-grid",ref:function(t){return e.wrapper=t}},h("slot",null),h("div",{class:"background",ref:function(t){return e.background=t}}))};e.prototype.calculateBackgroundSize=function(e){if(!e){e=this.host.querySelector("wr-highlight")}this.wrapper.style.setProperty("--row",e.clientHeight+"px");this.wrapper.style.setProperty("--column",e.clientWidth+"px")};Object.defineProperty(e.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();WrHighlightGrid.style=wrHighlightGridCss;var wrLogoIconCss=":host{display:block}wr-logo-icon{position:absolute;opacity:0.4}";var WrLogoIcon=function(){function e(e){registerInstance(this,e)}e.prototype.render=function(){return h(Host,null,h("svg",{width:"505",height:"509",viewBox:"0 0 505 509",fill:"none",xmlns:"http://www.w3.org/2000/svg"},h("mask",{id:"mask0","mask-type":"alpha",maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"505",height:"509"},h("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M0 0.317017H504.753V509H0V0.317017Z",fill:"#ffffff40"})),h("g",{mask:"url(#mask0)"},h("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M162.97 148.04L268.347 305.155C274.842 314.846 272.245 328.015 262.561 334.514L71.5886 462.62C63.4149 468.109 55.8007 465.107 52.9042 463.567C50.0114 462.02 43.2786 457.368 43.2786 447.52V182.962C43.2786 170.974 52.619 166.783 55.4789 165.788C58.2875 164.819 67.84 162.376 75.2238 171.065L186.419 338.544L222.471 314.608L110.687 146.241L109.612 144.76C93.1255 123.976 66.2894 116.179 41.2343 124.923C16.1865 133.649 0 156.433 0 182.962V447.52C0 470.267 12.4672 491.047 32.5413 501.751C41.6293 506.601 51.5621 509 61.4729 509C73.4391 509 85.3687 505.493 95.7001 498.559L286.669 370.456C316.171 350.664 324.074 310.556 304.285 281.05L198.912 123.932C187.341 106.685 190.277 83.9742 204.741 70.0331L180.425 33.7799C146.224 61.2633 138.083 110.949 162.97 148.04Z",fill:"#FFFFFE"}),h("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M490.228 281.698L326.86 38.1173C301.644 0.532794 251.655 -10.5593 213.046 11.8005L237.319 47.9769C255.988 38.8414 279.028 44.4843 290.918 62.2215L454.29 305.806C460.576 315.182 462.836 326.443 460.653 337.517C458.466 348.59 452.103 358.154 442.605 364.521L392.133 398.883L358.732 421.251C337.952 435.162 302.895 433.312 290.505 417.571C290.135 417.111 289.788 416.628 289.459 416.127L253.403 440.067C254.405 441.577 255.473 443.043 256.548 444.404C286.149 481.963 346.85 481.304 382.814 457.208L466.834 400.383C485.814 387.656 498.691 368.302 503.113 345.884C507.53 323.466 502.952 300.671 490.228 281.698Z",fill:"#FFFFFE40"}))))};return e}();WrLogoIcon.style=wrLogoIconCss;var wrScrollAnimationCss=":host{display:block}";var WrScrollAnimation=function(){function e(e){registerInstance(this,e);this.once=false;this.noTranslate=false;this.noFade=false;this.direction="up";this.duration=300}e.prototype.componentWillLoad=function(){var e=this;this.tl=anime({easing:"linear",targets:this.host,duration:this.duration,translateY:this.getTranslateYValue(),translateX:this.getTranslateXValue(),opacity:this.getOpacityChange(),autoplay:false});var t=new IntersectionObserver((function(r){var a=r[0];if(!a.isIntersecting){return}e.tl.play();if(e.once){t.unobserve(e.host)}}));t.observe(this.host)};e.prototype.render=function(){return h(Host,null,h("slot",null))};e.prototype.getTranslateYValue=function(){if(!["up","down"].includes(this.direction)||this.noTranslate){return["0rem","0rem"]}if(this.direction==="up"){return["2rem","0rem"]}return["-2rem","0rem"]};e.prototype.getTranslateXValue=function(){if(!["left","right"].includes(this.direction)||this.noTranslate){return["0rem","0rem"]}if(this.direction==="right"){return["2rem","0rem"]}return["-2rem","0rem"]};e.prototype.getOpacityChange=function(){if(this.noFade){return[1,1]}return[0,1]};Object.defineProperty(e.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();WrScrollAnimation.style=wrScrollAnimationCss;export{WrBlockMeta as wr_block_meta,WrHighlight as wr_highlight,WrHighlightGrid as wr_highlight_grid,WrLogoIcon as wr_logo_icon,WrScrollAnimation as wr_scroll_animation};
import{r as registerInstance,h,c as createEvent,g as getElement,H as Host}from"./index-e41e20bc.js";import{u as ucFirst,r as round10}from"./utils-3b0bf2b4.js";import{a as anime}from"./anime.es-d8ec8d88.js";function toInteger(e){if(e===null||e===true||e===false){return NaN}var t=Number(e);if(isNaN(t)){return t}return t<0?Math.ceil(t):Math.floor(t)}function requiredArgs(e,t){if(t.length<e){throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}}function toDate(e){requiredArgs(1,arguments);var t=Object.prototype.toString.call(e);if(e instanceof Date||typeof e==="object"&&t==="[object Date]"){return new Date(e.getTime())}else if(typeof e==="number"||t==="[object Number]"){return new Date(e)}else{if((typeof e==="string"||t==="[object String]")&&typeof console!=="undefined"){console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://git.io/fjule");console.warn((new Error).stack)}return new Date(NaN)}}function addMilliseconds(e,t){requiredArgs(2,arguments);var r=toDate(e).getTime();var a=toInteger(t);return new Date(r+a)}function getTimezoneOffsetInMilliseconds(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));t.setUTCFullYear(e.getFullYear());return e.getTime()-t.getTime()}function isDate(e){requiredArgs(1,arguments);return e instanceof Date||typeof e==="object"&&Object.prototype.toString.call(e)==="[object Date]"}function isValid(e){requiredArgs(1,arguments);if(!isDate(e)&&typeof e!=="number"){return false}var t=toDate(e);return!isNaN(Number(t))}var formatDistanceLocale$1={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};var formatDistance$1=function(e,t,r){var a;var n=formatDistanceLocale$1[e];if(typeof n==="string"){a=n}else if(t===1){a=n.one}else{a=n.other.replace("{{count}}",t.toString())}if(r!==null&&r!==void 0&&r.addSuffix){if(r.comparison&&r.comparison>0){return"in "+a}else{return a+" ago"}}return a};function buildFormatLongFn(e){return function(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};var r=t.width?String(t.width):e.defaultWidth;var a=e.formats[r]||e.formats[e.defaultWidth];return a}}var dateFormats$1={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"};var timeFormats$1={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"};var dateTimeFormats$1={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"};var formatLong$1={date:buildFormatLongFn({formats:dateFormats$1,defaultWidth:"full"}),time:buildFormatLongFn({formats:timeFormats$1,defaultWidth:"full"}),dateTime:buildFormatLongFn({formats:dateTimeFormats$1,defaultWidth:"full"})};var formatRelativeLocale$1={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};var formatRelative$1=function(e,t,r,a){return formatRelativeLocale$1[e]};function buildLocalizeFn(e){return function(t,r){var a=r||{};var n=a.context?String(a.context):"standalone";var i;if(n==="formatting"&&e.formattingValues){var o=e.defaultFormattingWidth||e.defaultWidth;var s=a.width?String(a.width):o;i=e.formattingValues[s]||e.formattingValues[o]}else{var u=e.defaultWidth;var d=a.width?String(a.width):e.defaultWidth;i=e.values[d]||e.values[u]}var l=e.argumentCallback?e.argumentCallback(t):t;return i[l]}}var eraValues$1={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]};var quarterValues$1={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]};var monthValues$1={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]};var dayValues$1={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]};var dayPeriodValues$1={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}};var formattingDayPeriodValues={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}};var ordinalNumber$1=function(e,t){var r=Number(e);var a=r%100;if(a>20||a<10){switch(a%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}}return r+"th"};var localize$1={ordinalNumber:ordinalNumber$1,era:buildLocalizeFn({values:eraValues$1,defaultWidth:"wide"}),quarter:buildLocalizeFn({values:quarterValues$1,defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:buildLocalizeFn({values:monthValues$1,defaultWidth:"wide"}),day:buildLocalizeFn({values:dayValues$1,defaultWidth:"wide"}),dayPeriod:buildLocalizeFn({values:dayPeriodValues$1,defaultWidth:"wide",formattingValues:formattingDayPeriodValues,defaultFormattingWidth:"wide"})};function buildMatchFn(e){return function(t){var r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var a=r.width;var n=a&&e.matchPatterns[a]||e.matchPatterns[e.defaultMatchWidth];var i=t.match(n);if(!i){return null}var o=i[0];var s=a&&e.parsePatterns[a]||e.parsePatterns[e.defaultParseWidth];var u=Array.isArray(s)?findIndex(s,(function(e){return e.test(o)})):findKey(s,(function(e){return e.test(o)}));var d;d=e.valueCallback?e.valueCallback(u):u;d=r.valueCallback?r.valueCallback(d):d;var l=t.slice(o.length);return{value:d,rest:l}}}function findKey(e,t){for(var r in e){if(e.hasOwnProperty(r)&&t(e[r])){return r}}return undefined}function findIndex(e,t){for(var r=0;r<e.length;r++){if(t(e[r])){return r}}return undefined}function buildMatchPatternFn(e){return function(t){var r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var a=t.match(e.matchPattern);if(!a)return null;var n=a[0];var i=t.match(e.parsePattern);if(!i)return null;var o=e.valueCallback?e.valueCallback(i[0]):i[0];o=r.valueCallback?r.valueCallback(o):o;var s=t.slice(n.length);return{value:o,rest:s}}}var matchOrdinalNumberPattern$1=/^(\d+)(th|st|nd|rd)?/i;var parseOrdinalNumberPattern$1=/\d+/i;var matchEraPatterns$1={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i};var parseEraPatterns$1={any:[/^b/i,/^(a|c)/i]};var matchQuarterPatterns$1={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i};var parseQuarterPatterns$1={any:[/1/i,/2/i,/3/i,/4/i]};var matchMonthPatterns$1={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i};var parseMonthPatterns$1={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]};var matchDayPatterns$1={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i};var parseDayPatterns$1={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]};var matchDayPeriodPatterns$1={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i};var parseDayPeriodPatterns$1={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}};var match$1={ordinalNumber:buildMatchPatternFn({matchPattern:matchOrdinalNumberPattern$1,parsePattern:parseOrdinalNumberPattern$1,valueCallback:function(e){return parseInt(e,10)}}),era:buildMatchFn({matchPatterns:matchEraPatterns$1,defaultMatchWidth:"wide",parsePatterns:parseEraPatterns$1,defaultParseWidth:"any"}),quarter:buildMatchFn({matchPatterns:matchQuarterPatterns$1,defaultMatchWidth:"wide",parsePatterns:parseQuarterPatterns$1,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:buildMatchFn({matchPatterns:matchMonthPatterns$1,defaultMatchWidth:"wide",parsePatterns:parseMonthPatterns$1,defaultParseWidth:"any"}),day:buildMatchFn({matchPatterns:matchDayPatterns$1,defaultMatchWidth:"wide",parsePatterns:parseDayPatterns$1,defaultParseWidth:"any"}),dayPeriod:buildMatchFn({matchPatterns:matchDayPeriodPatterns$1,defaultMatchWidth:"any",parsePatterns:parseDayPeriodPatterns$1,defaultParseWidth:"any"})};var locale$1={code:"en-US",formatDistance:formatDistance$1,formatLong:formatLong$1,formatRelative:formatRelative$1,localize:localize$1,match:match$1,options:{weekStartsOn:0,firstWeekContainsDate:1}};function subMilliseconds(e,t){requiredArgs(2,arguments);var r=toInteger(t);return addMilliseconds(e,-r)}function addLeadingZeros(e,t){var r=e<0?"-":"";var a=Math.abs(e).toString();while(a.length<t){a="0"+a}return r+a}var formatters$1={y:function(e,t){var r=e.getUTCFullYear();var a=r>0?r:1-r;return addLeadingZeros(t==="yy"?a%100:a,t.length)},M:function(e,t){var r=e.getUTCMonth();return t==="M"?String(r+1):addLeadingZeros(r+1,2)},d:function(e,t){return addLeadingZeros(e.getUTCDate(),t.length)},a:function(e,t){var r=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return r.toUpperCase();case"aaa":return r;case"aaaaa":return r[0];case"aaaa":default:return r==="am"?"a.m.":"p.m."}},h:function(e,t){return addLeadingZeros(e.getUTCHours()%12||12,t.length)},H:function(e,t){return addLeadingZeros(e.getUTCHours(),t.length)},m:function(e,t){return addLeadingZeros(e.getUTCMinutes(),t.length)},s:function(e,t){return addLeadingZeros(e.getUTCSeconds(),t.length)},S:function(e,t){var r=t.length;var a=e.getUTCMilliseconds();var n=Math.floor(a*Math.pow(10,r-3));return addLeadingZeros(n,t.length)}};var MILLISECONDS_IN_DAY=864e5;function getUTCDayOfYear(e){requiredArgs(1,arguments);var t=toDate(e);var r=t.getTime();t.setUTCMonth(0,1);t.setUTCHours(0,0,0,0);var a=t.getTime();var n=r-a;return Math.floor(n/MILLISECONDS_IN_DAY)+1}function startOfUTCISOWeek(e){requiredArgs(1,arguments);var t=1;var r=toDate(e);var a=r.getUTCDay();var n=(a<t?7:0)+a-t;r.setUTCDate(r.getUTCDate()-n);r.setUTCHours(0,0,0,0);return r}function getUTCISOWeekYear(e){requiredArgs(1,arguments);var t=toDate(e);var r=t.getUTCFullYear();var a=new Date(0);a.setUTCFullYear(r+1,0,4);a.setUTCHours(0,0,0,0);var n=startOfUTCISOWeek(a);var i=new Date(0);i.setUTCFullYear(r,0,4);i.setUTCHours(0,0,0,0);var o=startOfUTCISOWeek(i);if(t.getTime()>=n.getTime()){return r+1}else if(t.getTime()>=o.getTime()){return r}else{return r-1}}function startOfUTCISOWeekYear(e){requiredArgs(1,arguments);var t=getUTCISOWeekYear(e);var r=new Date(0);r.setUTCFullYear(t,0,4);r.setUTCHours(0,0,0,0);var a=startOfUTCISOWeek(r);return a}var MILLISECONDS_IN_WEEK$1=6048e5;function getUTCISOWeek(e){requiredArgs(1,arguments);var t=toDate(e);var r=startOfUTCISOWeek(t).getTime()-startOfUTCISOWeekYear(t).getTime();return Math.round(r/MILLISECONDS_IN_WEEK$1)+1}function startOfUTCWeek(e,t){requiredArgs(1,arguments);var r=t||{};var a=r.locale;var n=a&&a.options&&a.options.weekStartsOn;var i=n==null?0:toInteger(n);var o=r.weekStartsOn==null?i:toInteger(r.weekStartsOn);if(!(o>=0&&o<=6)){throw new RangeError("weekStartsOn must be between 0 and 6 inclusively")}var s=toDate(e);var u=s.getUTCDay();var d=(u<o?7:0)+u-o;s.setUTCDate(s.getUTCDate()-d);s.setUTCHours(0,0,0,0);return s}function getUTCWeekYear(e,t){requiredArgs(1,arguments);var r=toDate(e,t);var a=r.getUTCFullYear();var n=t||{};var i=n.locale;var o=i&&i.options&&i.options.firstWeekContainsDate;var s=o==null?1:toInteger(o);var u=n.firstWeekContainsDate==null?s:toInteger(n.firstWeekContainsDate);if(!(u>=1&&u<=7)){throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively")}var d=new Date(0);d.setUTCFullYear(a+1,0,u);d.setUTCHours(0,0,0,0);var l=startOfUTCWeek(d,t);var c=new Date(0);c.setUTCFullYear(a,0,u);c.setUTCHours(0,0,0,0);var m=startOfUTCWeek(c,t);if(r.getTime()>=l.getTime()){return a+1}else if(r.getTime()>=m.getTime()){return a}else{return a-1}}function startOfUTCWeekYear(e,t){requiredArgs(1,arguments);var r=t||{};var a=r.locale;var n=a&&a.options&&a.options.firstWeekContainsDate;var i=n==null?1:toInteger(n);var o=r.firstWeekContainsDate==null?i:toInteger(r.firstWeekContainsDate);var s=getUTCWeekYear(e,t);var u=new Date(0);u.setUTCFullYear(s,0,o);u.setUTCHours(0,0,0,0);var d=startOfUTCWeek(u,t);return d}var MILLISECONDS_IN_WEEK=6048e5;function getUTCWeek(e,t){requiredArgs(1,arguments);var r=toDate(e);var a=startOfUTCWeek(r,t).getTime()-startOfUTCWeekYear(r,t).getTime();return Math.round(a/MILLISECONDS_IN_WEEK)+1}var dayPeriodEnum={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"};var formatters={G:function(e,t,r){var a=e.getUTCFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return r.era(a,{width:"abbreviated"});case"GGGGG":return r.era(a,{width:"narrow"});case"GGGG":default:return r.era(a,{width:"wide"})}},y:function(e,t,r){if(t==="yo"){var a=e.getUTCFullYear();var n=a>0?a:1-a;return r.ordinalNumber(n,{unit:"year"})}return formatters$1.y(e,t)},Y:function(e,t,r,a){var n=getUTCWeekYear(e,a);var i=n>0?n:1-n;if(t==="YY"){var o=i%100;return addLeadingZeros(o,2)}if(t==="Yo"){return r.ordinalNumber(i,{unit:"year"})}return addLeadingZeros(i,t.length)},R:function(e,t){var r=getUTCISOWeekYear(e);return addLeadingZeros(r,t.length)},u:function(e,t){var r=e.getUTCFullYear();return addLeadingZeros(r,t.length)},Q:function(e,t,r){var a=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"Q":return String(a);case"QQ":return addLeadingZeros(a,2);case"Qo":return r.ordinalNumber(a,{unit:"quarter"});case"QQQ":return r.quarter(a,{width:"abbreviated",context:"formatting"});case"QQQQQ":return r.quarter(a,{width:"narrow",context:"formatting"});case"QQQQ":default:return r.quarter(a,{width:"wide",context:"formatting"})}},q:function(e,t,r){var a=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"q":return String(a);case"qq":return addLeadingZeros(a,2);case"qo":return r.ordinalNumber(a,{unit:"quarter"});case"qqq":return r.quarter(a,{width:"abbreviated",context:"standalone"});case"qqqqq":return r.quarter(a,{width:"narrow",context:"standalone"});case"qqqq":default:return r.quarter(a,{width:"wide",context:"standalone"})}},M:function(e,t,r){var a=e.getUTCMonth();switch(t){case"M":case"MM":return formatters$1.M(e,t);case"Mo":return r.ordinalNumber(a+1,{unit:"month"});case"MMM":return r.month(a,{width:"abbreviated",context:"formatting"});case"MMMMM":return r.month(a,{width:"narrow",context:"formatting"});case"MMMM":default:return r.month(a,{width:"wide",context:"formatting"})}},L:function(e,t,r){var a=e.getUTCMonth();switch(t){case"L":return String(a+1);case"LL":return addLeadingZeros(a+1,2);case"Lo":return r.ordinalNumber(a+1,{unit:"month"});case"LLL":return r.month(a,{width:"abbreviated",context:"standalone"});case"LLLLL":return r.month(a,{width:"narrow",context:"standalone"});case"LLLL":default:return r.month(a,{width:"wide",context:"standalone"})}},w:function(e,t,r,a){var n=getUTCWeek(e,a);if(t==="wo"){return r.ordinalNumber(n,{unit:"week"})}return addLeadingZeros(n,t.length)},I:function(e,t,r){var a=getUTCISOWeek(e);if(t==="Io"){return r.ordinalNumber(a,{unit:"week"})}return addLeadingZeros(a,t.length)},d:function(e,t,r){if(t==="do"){return r.ordinalNumber(e.getUTCDate(),{unit:"date"})}return formatters$1.d(e,t)},D:function(e,t,r){var a=getUTCDayOfYear(e);if(t==="Do"){return r.ordinalNumber(a,{unit:"dayOfYear"})}return addLeadingZeros(a,t.length)},E:function(e,t,r){var a=e.getUTCDay();switch(t){case"E":case"EE":case"EEE":return r.day(a,{width:"abbreviated",context:"formatting"});case"EEEEE":return r.day(a,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(a,{width:"short",context:"formatting"});case"EEEE":default:return r.day(a,{width:"wide",context:"formatting"})}},e:function(e,t,r,a){var n=e.getUTCDay();var i=(n-a.weekStartsOn+8)%7||7;switch(t){case"e":return String(i);case"ee":return addLeadingZeros(i,2);case"eo":return r.ordinalNumber(i,{unit:"day"});case"eee":return r.day(n,{width:"abbreviated",context:"formatting"});case"eeeee":return r.day(n,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(n,{width:"short",context:"formatting"});case"eeee":default:return r.day(n,{width:"wide",context:"formatting"})}},c:function(e,t,r,a){var n=e.getUTCDay();var i=(n-a.weekStartsOn+8)%7||7;switch(t){case"c":return String(i);case"cc":return addLeadingZeros(i,t.length);case"co":return r.ordinalNumber(i,{unit:"day"});case"ccc":return r.day(n,{width:"abbreviated",context:"standalone"});case"ccccc":return r.day(n,{width:"narrow",context:"standalone"});case"cccccc":return r.day(n,{width:"short",context:"standalone"});case"cccc":default:return r.day(n,{width:"wide",context:"standalone"})}},i:function(e,t,r){var a=e.getUTCDay();var n=a===0?7:a;switch(t){case"i":return String(n);case"ii":return addLeadingZeros(n,t.length);case"io":return r.ordinalNumber(n,{unit:"day"});case"iii":return r.day(a,{width:"abbreviated",context:"formatting"});case"iiiii":return r.day(a,{width:"narrow",context:"formatting"});case"iiiiii":return r.day(a,{width:"short",context:"formatting"});case"iiii":default:return r.day(a,{width:"wide",context:"formatting"})}},a:function(e,t,r){var a=e.getUTCHours();var n=a/12>=1?"pm":"am";switch(t){case"a":case"aa":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"aaa":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return r.dayPeriod(n,{width:"narrow",context:"formatting"});case"aaaa":default:return r.dayPeriod(n,{width:"wide",context:"formatting"})}},b:function(e,t,r){var a=e.getUTCHours();var n;if(a===12){n=dayPeriodEnum.noon}else if(a===0){n=dayPeriodEnum.midnight}else{n=a/12>=1?"pm":"am"}switch(t){case"b":case"bb":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"bbb":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return r.dayPeriod(n,{width:"narrow",context:"formatting"});case"bbbb":default:return r.dayPeriod(n,{width:"wide",context:"formatting"})}},B:function(e,t,r){var a=e.getUTCHours();var n;if(a>=17){n=dayPeriodEnum.evening}else if(a>=12){n=dayPeriodEnum.afternoon}else if(a>=4){n=dayPeriodEnum.morning}else{n=dayPeriodEnum.night}switch(t){case"B":case"BB":case"BBB":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"BBBBB":return r.dayPeriod(n,{width:"narrow",context:"formatting"});case"BBBB":default:return r.dayPeriod(n,{width:"wide",context:"formatting"})}},h:function(e,t,r){if(t==="ho"){var a=e.getUTCHours()%12;if(a===0)a=12;return r.ordinalNumber(a,{unit:"hour"})}return formatters$1.h(e,t)},H:function(e,t,r){if(t==="Ho"){return r.ordinalNumber(e.getUTCHours(),{unit:"hour"})}return formatters$1.H(e,t)},K:function(e,t,r){var a=e.getUTCHours()%12;if(t==="Ko"){return r.ordinalNumber(a,{unit:"hour"})}return addLeadingZeros(a,t.length)},k:function(e,t,r){var a=e.getUTCHours();if(a===0)a=24;if(t==="ko"){return r.ordinalNumber(a,{unit:"hour"})}return addLeadingZeros(a,t.length)},m:function(e,t,r){if(t==="mo"){return r.ordinalNumber(e.getUTCMinutes(),{unit:"minute"})}return formatters$1.m(e,t)},s:function(e,t,r){if(t==="so"){return r.ordinalNumber(e.getUTCSeconds(),{unit:"second"})}return formatters$1.s(e,t)},S:function(e,t){return formatters$1.S(e,t)},X:function(e,t,r,a){var n=a._originalDate||e;var i=n.getTimezoneOffset();if(i===0){return"Z"}switch(t){case"X":return formatTimezoneWithOptionalMinutes(i);case"XXXX":case"XX":return formatTimezone(i);case"XXXXX":case"XXX":default:return formatTimezone(i,":")}},x:function(e,t,r,a){var n=a._originalDate||e;var i=n.getTimezoneOffset();switch(t){case"x":return formatTimezoneWithOptionalMinutes(i);case"xxxx":case"xx":return formatTimezone(i);case"xxxxx":case"xxx":default:return formatTimezone(i,":")}},O:function(e,t,r,a){var n=a._originalDate||e;var i=n.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+formatTimezoneShort(i,":");case"OOOO":default:return"GMT"+formatTimezone(i,":")}},z:function(e,t,r,a){var n=a._originalDate||e;var i=n.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+formatTimezoneShort(i,":");case"zzzz":default:return"GMT"+formatTimezone(i,":")}},t:function(e,t,r,a){var n=a._originalDate||e;var i=Math.floor(n.getTime()/1e3);return addLeadingZeros(i,t.length)},T:function(e,t,r,a){var n=a._originalDate||e;var i=n.getTime();return addLeadingZeros(i,t.length)}};function formatTimezoneShort(e,t){var r=e>0?"-":"+";var a=Math.abs(e);var n=Math.floor(a/60);var i=a%60;if(i===0){return r+String(n)}var o=t||"";return r+String(n)+o+addLeadingZeros(i,2)}function formatTimezoneWithOptionalMinutes(e,t){if(e%60===0){var r=e>0?"-":"+";return r+addLeadingZeros(Math.abs(e)/60,2)}return formatTimezone(e,t)}function formatTimezone(e,t){var r=t||"";var a=e>0?"-":"+";var n=Math.abs(e);var i=addLeadingZeros(Math.floor(n/60),2);var o=addLeadingZeros(n%60,2);return a+i+r+o}function dateLongFormatter(e,t){switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});case"PPPP":default:return t.date({width:"full"})}}function timeLongFormatter(e,t){switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});case"pppp":default:return t.time({width:"full"})}}function dateTimeLongFormatter(e,t){var r=e.match(/(P+)(p+)?/);var a=r[1];var n=r[2];if(!n){return dateLongFormatter(e,t)}var i;switch(a){case"P":i=t.dateTime({width:"short"});break;case"PP":i=t.dateTime({width:"medium"});break;case"PPP":i=t.dateTime({width:"long"});break;case"PPPP":default:i=t.dateTime({width:"full"});break}return i.replace("{{date}}",dateLongFormatter(a,t)).replace("{{time}}",timeLongFormatter(n,t))}var longFormatters={p:timeLongFormatter,P:dateTimeLongFormatter};var protectedDayOfYearTokens=["D","DD"];var protectedWeekYearTokens=["YY","YYYY"];function isProtectedDayOfYearToken(e){return protectedDayOfYearTokens.indexOf(e)!==-1}function isProtectedWeekYearToken(e){return protectedWeekYearTokens.indexOf(e)!==-1}function throwProtectedError(e,t,r){if(e==="YYYY"){throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(r,"`; see: https://git.io/fxCyr"))}else if(e==="YY"){throw new RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(r,"`; see: https://git.io/fxCyr"))}else if(e==="D"){throw new RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(r,"`; see: https://git.io/fxCyr"))}else if(e==="DD"){throw new RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(r,"`; see: https://git.io/fxCyr"))}}var formattingTokensRegExp=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g;var longFormattingTokensRegExp=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g;var escapedStringRegExp=/^'([^]*?)'?$/;var doubleQuoteRegExp=/''/g;var unescapedLatinCharacterRegExp=/[a-zA-Z]/;function format(e,t,r){requiredArgs(2,arguments);var a=String(t);var n=r||{};var i=n.locale||locale$1;var o=i.options&&i.options.firstWeekContainsDate;var s=o==null?1:toInteger(o);var u=n.firstWeekContainsDate==null?s:toInteger(n.firstWeekContainsDate);if(!(u>=1&&u<=7)){throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively")}var d=i.options&&i.options.weekStartsOn;var l=d==null?0:toInteger(d);var c=n.weekStartsOn==null?l:toInteger(n.weekStartsOn);if(!(c>=0&&c<=6)){throw new RangeError("weekStartsOn must be between 0 and 6 inclusively")}if(!i.localize){throw new RangeError("locale must contain localize property")}if(!i.formatLong){throw new RangeError("locale must contain formatLong property")}var m=toDate(e);if(!isValid(m)){throw new RangeError("Invalid time value")}var h=getTimezoneOffsetInMilliseconds(m);var f=subMilliseconds(m,h);var g={firstWeekContainsDate:u,weekStartsOn:c,locale:i,_originalDate:m};var v=a.match(longFormattingTokensRegExp).map((function(e){var t=e[0];if(t==="p"||t==="P"){var r=longFormatters[t];return r(e,i.formatLong,g)}return e})).join("").match(formattingTokensRegExp).map((function(r){if(r==="''"){return"'"}var a=r[0];if(a==="'"){return cleanEscapedString(r)}var o=formatters[a];if(o){if(!n.useAdditionalWeekYearTokens&&isProtectedWeekYearToken(r)){throwProtectedError(r,t,e)}if(!n.useAdditionalDayOfYearTokens&&isProtectedDayOfYearToken(r)){throwProtectedError(r,t,e)}return o(f,r,i.localize,g)}if(a.match(unescapedLatinCharacterRegExp)){throw new RangeError("Format string contains an unescaped latin alphabet character `"+a+"`")}return r})).join("");return v}function cleanEscapedString(e){return e.match(escapedStringRegExp)[1].replace(doubleQuoteRegExp,"'")}var formatDistanceLocale={lessThanXSeconds:{one:"minder dan een seconde",other:"minder dan {{count}} seconden"},xSeconds:{one:"1 seconde",other:"{{count}} seconden"},halfAMinute:"een halve minuut",lessThanXMinutes:{one:"minder dan een minuut",other:"minder dan {{count}} minuten"},xMinutes:{one:"een minuut",other:"{{count}} minuten"},aboutXHours:{one:"ongeveer 1 uur",other:"ongeveer {{count}} uur"},xHours:{one:"1 uur",other:"{{count}} uur"},xDays:{one:"1 dag",other:"{{count}} dagen"},aboutXWeeks:{one:"ongeveer 1 week",other:"ongeveer {{count}} weken"},xWeeks:{one:"1 week",other:"{{count}} weken"},aboutXMonths:{one:"ongeveer 1 maand",other:"ongeveer {{count}} maanden"},xMonths:{one:"1 maand",other:"{{count}} maanden"},aboutXYears:{one:"ongeveer 1 jaar",other:"ongeveer {{count}} jaar"},xYears:{one:"1 jaar",other:"{{count}} jaar"},overXYears:{one:"meer dan 1 jaar",other:"meer dan {{count}} jaar"},almostXYears:{one:"bijna 1 jaar",other:"bijna {{count}} jaar"}};function formatDistance(e,t,r){r=r||{};var a;if(typeof formatDistanceLocale[e]==="string"){a=formatDistanceLocale[e]}else if(t===1){a=formatDistanceLocale[e].one}else{a=formatDistanceLocale[e].other.replace("{{count}}",t)}if(r.addSuffix){if(r.comparison>0){return"over "+a}else{return a+" geleden"}}return a}var dateFormats={full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd-MM-y"};var timeFormats={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"};var dateTimeFormats={full:"{{date}} 'om' {{time}}",long:"{{date}} 'om' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"};var formatLong={date:buildFormatLongFn({formats:dateFormats,defaultWidth:"full"}),time:buildFormatLongFn({formats:timeFormats,defaultWidth:"full"}),dateTime:buildFormatLongFn({formats:dateTimeFormats,defaultWidth:"full"})};var formatRelativeLocale={lastWeek:"'afgelopen' eeee 'om' p",yesterday:"'gisteren om' p",today:"'vandaag om' p",tomorrow:"'morgen om' p",nextWeek:"eeee 'om' p",other:"P"};function formatRelative(e,t,r,a){return formatRelativeLocale[e]}var eraValues={narrow:["v.C.","n.C."],abbreviated:["v.Chr.","n.Chr."],wide:["voor Christus","na Christus"]};var quarterValues={narrow:["1","2","3","4"],abbreviated:["K1","K2","K3","K4"],wide:["1e kwartaal","2e kwartaal","3e kwartaal","4e kwartaal"]};var monthValues={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["jan.","feb.","mrt.","apr.","mei","jun.","jul.","aug.","sep.","okt.","nov.","dec."],wide:["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"]};var dayValues={narrow:["Z","M","D","W","D","V","Z"],short:["zo","ma","di","wo","do","vr","za"],abbreviated:["zon","maa","din","woe","don","vri","zat"],wide:["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"]};var dayPeriodValues={narrow:{am:"AM",pm:"PM",midnight:"middernacht",noon:"het middaguur",morning:"'s ochtends",afternoon:"'s middags",evening:"'s avonds",night:"'s nachts"},abbreviated:{am:"AM",pm:"PM",midnight:"middernacht",noon:"het middaguur",morning:"'s ochtends",afternoon:"'s middags",evening:"'s avonds",night:"'s nachts"},wide:{am:"AM",pm:"PM",midnight:"middernacht",noon:"het middaguur",morning:"'s ochtends",afternoon:"'s middags",evening:"'s avonds",night:"'s nachts"}};function ordinalNumber(e){var t=Number(e);return t+"e"}var localize={ordinalNumber:ordinalNumber,era:buildLocalizeFn({values:eraValues,defaultWidth:"wide"}),quarter:buildLocalizeFn({values:quarterValues,defaultWidth:"wide",argumentCallback:function(e){return Number(e)-1}}),month:buildLocalizeFn({values:monthValues,defaultWidth:"wide"}),day:buildLocalizeFn({values:dayValues,defaultWidth:"wide"}),dayPeriod:buildLocalizeFn({values:dayPeriodValues,defaultWidth:"wide"})};var matchOrdinalNumberPattern=/^(\d+)e?/i;var parseOrdinalNumberPattern=/\d+/i;var matchEraPatterns={narrow:/^([vn]\.? ?C\.?)/,abbreviated:/^([vn]\. ?Chr\.?)/,wide:/^((voor|na) Christus)/};var parseEraPatterns={any:[/^v/,/^n/]};var matchQuarterPatterns={narrow:/^[1234]/i,abbreviated:/^K[1234]/i,wide:/^[1234]e kwartaal/i};var parseQuarterPatterns={any:[/1/i,/2/i,/3/i,/4/i]};var matchMonthPatterns={narrow:/^[jfmasond]/i,abbreviated:/^(jan.|feb.|mrt.|apr.|mei|jun.|jul.|aug.|sep.|okt.|nov.|dec.)/i,wide:/^(januari|februari|maart|april|mei|juni|juli|augustus|september|oktober|november|december)/i};var parseMonthPatterns={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^jan/i,/^feb/i,/^m(r|a)/i,/^apr/i,/^mei/i,/^jun/i,/^jul/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i]};var matchDayPatterns={narrow:/^[zmdwv]/i,short:/^(zo|ma|di|wo|do|vr|za)/i,abbreviated:/^(zon|maa|din|woe|don|vri|zat)/i,wide:/^(zondag|maandag|dinsdag|woensdag|donderdag|vrijdag|zaterdag)/i};var parseDayPatterns={narrow:[/^z/i,/^m/i,/^d/i,/^w/i,/^d/i,/^v/i,/^z/i],any:[/^zo/i,/^ma/i,/^di/i,/^wo/i,/^do/i,/^vr/i,/^za/i]};var matchDayPeriodPatterns={any:/^(am|pm|middernacht|het middaguur|'s (ochtends|middags|avonds|nachts))/i};var parseDayPeriodPatterns={any:{am:/^am/i,pm:/^pm/i,midnight:/^middernacht/i,noon:/^het middaguur/i,morning:/ochtend/i,afternoon:/middag/i,evening:/avond/i,night:/nacht/i}};var match={ordinalNumber:buildMatchPatternFn({matchPattern:matchOrdinalNumberPattern,parsePattern:parseOrdinalNumberPattern,valueCallback:function(e){return parseInt(e,10)}}),era:buildMatchFn({matchPatterns:matchEraPatterns,defaultMatchWidth:"wide",parsePatterns:parseEraPatterns,defaultParseWidth:"any"}),quarter:buildMatchFn({matchPatterns:matchQuarterPatterns,defaultMatchWidth:"wide",parsePatterns:parseQuarterPatterns,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:buildMatchFn({matchPatterns:matchMonthPatterns,defaultMatchWidth:"wide",parsePatterns:parseMonthPatterns,defaultParseWidth:"any"}),day:buildMatchFn({matchPatterns:matchDayPatterns,defaultMatchWidth:"wide",parsePatterns:parseDayPatterns,defaultParseWidth:"any"}),dayPeriod:buildMatchFn({matchPatterns:matchDayPeriodPatterns,defaultMatchWidth:"any",parsePatterns:parseDayPeriodPatterns,defaultParseWidth:"any"})};var locale={code:"nl",formatDistance:formatDistance,formatLong:formatLong,formatRelative:formatRelative,localize:localize,match:match,options:{weekStartsOn:1,firstWeekContainsDate:4}};var wrBlockMetaCss=":host{display:block}.meta-data__wrapper{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between}@media (min-width: 1024px){.meta-data__wrapper{-ms-flex-direction:row;flex-direction:row}}.meta-data__wrapper>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}@media (min-width: 1024px){.meta-data__wrapper>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(0px * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(0px * var(--tw-space-y-reverse))}}.meta-data__wrapper{width:100%;color:#ffffff;color:var(--post-text-color, #ffffff)}.meta-data__item{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.meta-data__item>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(0.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(0.5rem * var(--tw-space-y-reverse))}.meta-data__item{max-width:25ch}.meta-data__label{font-size:0.75rem;line-height:1.5rem;font-weight:700;text-transform:uppercase}.meta-data__item{font-size:1.0625rem;line-height:1.75rem;font-weight:400;text-transform:none}a.meta-data__item{text-decoration:none;color:#ffffff;color:var(--post-text-color, #ffffff)}";var WrBlockMeta=function(){function e(e){registerInstance(this,e)}e.prototype.componentWillLoad=function(){this.innerData=JSON.parse(this.items)};e.prototype.watchDidChangeHandler=function(e){this.innerData=JSON.parse(e)};e.prototype.render=function(){return h("div",{class:"meta-data__wrapper"},this.renderData())};e.prototype.renderData=function(){var e=this;return this.innerData.map((function(t){return h("div",{class:"meta-data__item"},e.renderItemTitle(t),e.renderItemValue(t))}))};e.prototype.renderItemTitle=function(e){return h("label",{class:"meta-data__label"},e.label)};e.prototype.renderItemValue=function(e){var t;try{t=new URL(e.value)}catch(e){t=false}if(t){return h("a",{href:t.href,class:"meta-data__item"},t.host.replace("www.","").replace("/",""))}if(Date.parse(e.value)&&e.value.includes("T00")){return this.renderItemWrappingElement(ucFirst(format(Date.parse(e.value),"LLLL RRRR",{locale:locale})))}return this.renderItemWrappingElement(e.value)};e.prototype.renderItemWrappingElement=function(e){return h("span",{class:"meta-data__item"},e)};Object.defineProperty(e,"watchers",{get:function(){return{items:["watchDidChangeHandler"]}},enumerable:false,configurable:true});return e}();WrBlockMeta.style=wrBlockMetaCss;var wrHighlightCss=":host{display:-ms-flexbox;display:flex;-ms-flex-align:stretch;align-items:stretch;height:100%}.highlight{position:relative;z-index:1;padding-left:3.5rem;padding-right:3.5rem;padding-top:2.5rem;padding-bottom:2.5rem;display:block;-webkit-box-shadow:0 0 1px rgba(255, 255, 255, 0.2);box-shadow:0 0 1px rgba(255, 255, 255, 0.2)}.highlight__title{margin-top:0px;margin-bottom:0px;font-size:1.75rem;line-height:2.5rem;--tw-text-opacity:1;color:rgba(255, 255, 255, var(--tw-text-opacity))}.highlight__subtitle{margin-top:0px;margin-bottom:0px;margin-top:0.5rem;font-size:1.0625rem;line-height:1.75rem;font-weight:400;--tw-text-opacity:1;color:rgba(255, 255, 255, var(--tw-text-opacity))}.highlight a{display:inline-block;margin-top:2rem}";var WrHighlight=function(){function e(e){registerInstance(this,e);this.hover=createEvent(this,"hover",7)}e.prototype.render=function(){var e=this;return h("article",{class:"highlight",onMouseOver:function(){return e.hover.emit()}},h("h4",{class:"highlight__title"},this.itemTitle),h("h5",{class:"highlight__subtitle"},this.subTitle),h("slot",{name:"link"}))};return e}();WrHighlight.style=wrHighlightCss;var isDivisible=function(e,t){e=round10(e);t=round10(t);return e%t===0};var wrHighlightGridCss=".highlight-grid{grid-template-columns:repeat(1, minmax(0, 1fr))}@media (min-width: 768px){.highlight-grid{grid-template-columns:repeat(2, minmax(0, 1fr))}}@media (min-width: 1024px){.highlight-grid{grid-template-columns:repeat(3, minmax(0, 1fr))}}.highlight-grid{display:grid;gap:1px;position:relative}.background{-webkit-transition-property:opacity;transition-property:opacity;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:linear;transition-timing-function:linear;opacity:0}.group:hover .background{opacity:1}.background{background-color:rgba(255, 255, 255, 0.05);position:absolute}";var WrHighlightGrid=function(){function e(e){registerInstance(this,e)}e.prototype.onHover=function(e){var t,r;var a=e.target.offsetLeft;var n=e.target.clientWidth;if(isDivisible(a,n)){t=e.target.offsetLeft}else{t=e.target.offsetLeft-this.host.offsetLeft}if(e.target.offsetParent===this.wrapper){r=e.target.offsetTop}else{r=e.target.offsetTop-this.host.offsetTop}var i=e.target.clientHeight;var o=e.target.clientWidth;anime({easing:"easeOutCubic",targets:this.background,left:t,top:r,width:o,height:i,duration:300})};e.prototype.componentDidLoad=function(){var e=this;this.resizeObserver=new ResizeObserver((function(){return e.calculateBackgroundSize()}));this.resizeObserver.observe(this.wrapper)};e.prototype.render=function(){var e=this;return h("section",{class:"highlight-grid group",ref:function(t){return e.wrapper=t}},h("slot",null),h("div",{class:"background",ref:function(t){return e.background=t}}))};e.prototype.calculateBackgroundSize=function(e){if(!e){e=this.host.querySelector("wr-highlight")}this.wrapper.style.setProperty("--row",e.clientHeight+"px");this.wrapper.style.setProperty("--column",e.clientWidth+"px")};Object.defineProperty(e.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();WrHighlightGrid.style=wrHighlightGridCss;var wrLogoIconCss=":host{display:block}wr-logo-icon{position:absolute;opacity:0.4}";var WrLogoIcon=function(){function e(e){registerInstance(this,e)}e.prototype.render=function(){return h(Host,null,h("svg",{width:"505",height:"509",viewBox:"0 0 505 509",fill:"none",xmlns:"http://www.w3.org/2000/svg"},h("mask",{id:"mask0","mask-type":"alpha",maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"505",height:"509"},h("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M0 0.317017H504.753V509H0V0.317017Z",fill:"#ffffff40"})),h("g",{mask:"url(#mask0)"},h("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M162.97 148.04L268.347 305.155C274.842 314.846 272.245 328.015 262.561 334.514L71.5886 462.62C63.4149 468.109 55.8007 465.107 52.9042 463.567C50.0114 462.02 43.2786 457.368 43.2786 447.52V182.962C43.2786 170.974 52.619 166.783 55.4789 165.788C58.2875 164.819 67.84 162.376 75.2238 171.065L186.419 338.544L222.471 314.608L110.687 146.241L109.612 144.76C93.1255 123.976 66.2894 116.179 41.2343 124.923C16.1865 133.649 0 156.433 0 182.962V447.52C0 470.267 12.4672 491.047 32.5413 501.751C41.6293 506.601 51.5621 509 61.4729 509C73.4391 509 85.3687 505.493 95.7001 498.559L286.669 370.456C316.171 350.664 324.074 310.556 304.285 281.05L198.912 123.932C187.341 106.685 190.277 83.9742 204.741 70.0331L180.425 33.7799C146.224 61.2633 138.083 110.949 162.97 148.04Z",fill:"#FFFFFE"}),h("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M490.228 281.698L326.86 38.1173C301.644 0.532794 251.655 -10.5593 213.046 11.8005L237.319 47.9769C255.988 38.8414 279.028 44.4843 290.918 62.2215L454.29 305.806C460.576 315.182 462.836 326.443 460.653 337.517C458.466 348.59 452.103 358.154 442.605 364.521L392.133 398.883L358.732 421.251C337.952 435.162 302.895 433.312 290.505 417.571C290.135 417.111 289.788 416.628 289.459 416.127L253.403 440.067C254.405 441.577 255.473 443.043 256.548 444.404C286.149 481.963 346.85 481.304 382.814 457.208L466.834 400.383C485.814 387.656 498.691 368.302 503.113 345.884C507.53 323.466 502.952 300.671 490.228 281.698Z",fill:"#FFFFFE40"}))))};return e}();WrLogoIcon.style=wrLogoIconCss;var wrScrollAnimationCss=":host{display:block}";var WrScrollAnimation=function(){function e(e){registerInstance(this,e);this.once=false;this.noTranslate=false;this.noFade=false;this.direction="up";this.duration=300}e.prototype.componentWillLoad=function(){var e=this;this.tl=anime({easing:"linear",targets:this.host,duration:this.duration,translateY:this.getTranslateYValue(),translateX:this.getTranslateXValue(),opacity:this.getOpacityChange(),autoplay:false});var t=new IntersectionObserver((function(r){var a=r[0];if(!a.isIntersecting){return}e.tl.play();if(e.once){t.unobserve(e.host)}}));t.observe(this.host)};e.prototype.render=function(){return h(Host,null,h("slot",null))};e.prototype.getTranslateYValue=function(){if(!["up","down"].includes(this.direction)||this.noTranslate){return["0rem","0rem"]}if(this.direction==="up"){return["2rem","0rem"]}return["-2rem","0rem"]};e.prototype.getTranslateXValue=function(){if(!["left","right"].includes(this.direction)||this.noTranslate){return["0rem","0rem"]}if(this.direction==="right"){return["2rem","0rem"]}return["-2rem","0rem"]};e.prototype.getOpacityChange=function(){if(this.noFade){return[1,1]}return[0,1]};Object.defineProperty(e.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();WrScrollAnimation.style=wrScrollAnimationCss;export{WrBlockMeta as wr_block_meta,WrHighlight as wr_highlight,WrHighlightGrid as wr_highlight_grid,WrLogoIcon as wr_logo_icon,WrScrollAnimation as wr_scroll_animation};

@@ -1,1 +0,1 @@

System.register(["./p-6e092c3e.system.js"],(function(e,o){"use strict";var t,r;return{setters:[function(e){t=e.p;r=e.b}],execute:function(){var e=function(){var e=o.meta.url;var r={};if(e!==""){r.resourcesUrl=new URL(".",e).href}return t(r)};e().then((function(e){return r([["p-e92a7846.system",[[1,"wr-block-meta",{items:[1],innerData:[32]}],[1,"wr-highlight",{itemTitle:[1,"item-title"],subTitle:[1,"sub-title"]}],[1,"wr-highlight-grid",null,[[0,"hover","onHover"]]],[0,"wr-logo-icon"],[1,"wr-scroll-animation",{once:[4],noTranslate:[4,"no-translate"],noFade:[4,"no-fade"],direction:[1],duration:[2]}]]],["p-1c90b39f.system",[[1,"wr-accordion",{accordionTitle:[1,"accordion-title"],background:[1025],open:[32],closeMe:[64],openMe:[64],calculateSizes:[64]}]]],["p-8fcb6475.system",[[1,"wr-accordion-group",{isCollapse:[4,"is-collapse"],closeChildren:[64]},[[0,"accordionOpened","accordionOpened"]]]]],["p-c35c1b26.system",[[1,"wr-big-quote",{isDark:[4,"is-dark"],quoteColor:[1,"quote-color"],authorName:[1,"author-name"],authorFunction:[1,"author-function"],authorImage:[1,"author-image"]}]]],["p-fa47142e.system",[[1,"wr-case",{caseTitle:[1,"case-title"],caseSubtitle:[1,"case-subtitle"],backgroundColor:[1,"background-color"],backgroundOpacity:[2,"background-opacity"],backgroundImage:[1,"background-image"],topLayer:[1025,"top-layer"],bottomLayer:[1025,"bottom-layer"],href:[1]}]]],["p-6bd4b539.system",[[1,"wr-case-highlight",{background:[1],backgroundX:[1,"background-x"],backgroundY:[1,"background-y"],caseTitle:[1,"case-title"],href:[1]}]]],["p-761a1d39.system",[[1,"wr-footer"]]],["p-9a31c56f.system",[[1,"wr-logo"]]],["p-4474e930.system",[[1,"wr-menu-item",{size:[1],badge:[2],href:[1],isLarge:[64]}]]],["p-1dcc5dda.system",[[1,"wr-navigation",{isOpen:[32]},[[0,"open","openNavigationListener"],[0,"close","closeNavigationListener"]]]]]],e)}))}}}));
System.register(["./p-6e092c3e.system.js"],(function(e,o){"use strict";var t,r;return{setters:[function(e){t=e.p;r=e.b}],execute:function(){var e=function(){var e=o.meta.url;var r={};if(e!==""){r.resourcesUrl=new URL(".",e).href}return t(r)};e().then((function(e){return r([["p-ae03e6bb.system",[[1,"wr-block-meta",{items:[1],innerData:[32]}],[1,"wr-highlight",{itemTitle:[1,"item-title"],subTitle:[1,"sub-title"]}],[1,"wr-highlight-grid",null,[[0,"hover","onHover"]]],[0,"wr-logo-icon"],[1,"wr-scroll-animation",{once:[4],noTranslate:[4,"no-translate"],noFade:[4,"no-fade"],direction:[1],duration:[2]}]]],["p-1c90b39f.system",[[1,"wr-accordion",{accordionTitle:[1,"accordion-title"],background:[1025],open:[32],closeMe:[64],openMe:[64],calculateSizes:[64]}]]],["p-8fcb6475.system",[[1,"wr-accordion-group",{isCollapse:[4,"is-collapse"],closeChildren:[64]},[[0,"accordionOpened","accordionOpened"]]]]],["p-c35c1b26.system",[[1,"wr-big-quote",{isDark:[4,"is-dark"],quoteColor:[1,"quote-color"],authorName:[1,"author-name"],authorFunction:[1,"author-function"],authorImage:[1,"author-image"]}]]],["p-fa47142e.system",[[1,"wr-case",{caseTitle:[1,"case-title"],caseSubtitle:[1,"case-subtitle"],backgroundColor:[1,"background-color"],backgroundOpacity:[2,"background-opacity"],backgroundImage:[1,"background-image"],topLayer:[1025,"top-layer"],bottomLayer:[1025,"bottom-layer"],href:[1]}]]],["p-6bd4b539.system",[[1,"wr-case-highlight",{background:[1],backgroundX:[1,"background-x"],backgroundY:[1,"background-y"],caseTitle:[1,"case-title"],href:[1]}]]],["p-761a1d39.system",[[1,"wr-footer"]]],["p-9a31c56f.system",[[1,"wr-logo"]]],["p-4474e930.system",[[1,"wr-menu-item",{size:[1],badge:[2],href:[1],isLarge:[64]}]]],["p-1dcc5dda.system",[[1,"wr-navigation",{isOpen:[32]},[[0,"open","openNavigationListener"],[0,"close","closeNavigationListener"]]]]]],e)}))}}}));

@@ -1,1 +0,1 @@

import{p as o,b as e}from"./p-abaf52ff.js";(()=>{const e=import.meta.url,a={};return""!==e&&(a.resourcesUrl=new URL(".",e).href),o(a)})().then((o=>e([["p-9d85a079",[[1,"wr-block-meta",{items:[1],innerData:[32]}],[1,"wr-highlight",{itemTitle:[1,"item-title"],subTitle:[1,"sub-title"]}],[1,"wr-highlight-grid",null,[[0,"hover","onHover"]]],[0,"wr-logo-icon"],[1,"wr-scroll-animation",{once:[4],noTranslate:[4,"no-translate"],noFade:[4,"no-fade"],direction:[1],duration:[2]}]]],["p-33e36473",[[1,"wr-accordion",{accordionTitle:[1,"accordion-title"],background:[1025],open:[32],closeMe:[64],openMe:[64],calculateSizes:[64]}]]],["p-50aee4b6",[[1,"wr-accordion-group",{isCollapse:[4,"is-collapse"],closeChildren:[64]},[[0,"accordionOpened","accordionOpened"]]]]],["p-8fb1a509",[[1,"wr-big-quote",{isDark:[4,"is-dark"],quoteColor:[1,"quote-color"],authorName:[1,"author-name"],authorFunction:[1,"author-function"],authorImage:[1,"author-image"]}]]],["p-dd9779d0",[[1,"wr-case",{caseTitle:[1,"case-title"],caseSubtitle:[1,"case-subtitle"],backgroundColor:[1,"background-color"],backgroundOpacity:[2,"background-opacity"],backgroundImage:[1,"background-image"],topLayer:[1025,"top-layer"],bottomLayer:[1025,"bottom-layer"],href:[1]}]]],["p-696b5b85",[[1,"wr-case-highlight",{background:[1],backgroundX:[1,"background-x"],backgroundY:[1,"background-y"],caseTitle:[1,"case-title"],href:[1]}]]],["p-1e544dab",[[1,"wr-footer"]]],["p-b488d30a",[[1,"wr-logo"]]],["p-d44158b0",[[1,"wr-menu-item",{size:[1],badge:[2],href:[1],isLarge:[64]}]]],["p-b15c4843",[[1,"wr-navigation",{isOpen:[32]},[[0,"open","openNavigationListener"],[0,"close","closeNavigationListener"]]]]]],o)));
import{p as o,b as e}from"./p-abaf52ff.js";(()=>{const e=import.meta.url,a={};return""!==e&&(a.resourcesUrl=new URL(".",e).href),o(a)})().then((o=>e([["p-4b40fb81",[[1,"wr-block-meta",{items:[1],innerData:[32]}],[1,"wr-highlight",{itemTitle:[1,"item-title"],subTitle:[1,"sub-title"]}],[1,"wr-highlight-grid",null,[[0,"hover","onHover"]]],[0,"wr-logo-icon"],[1,"wr-scroll-animation",{once:[4],noTranslate:[4,"no-translate"],noFade:[4,"no-fade"],direction:[1],duration:[2]}]]],["p-33e36473",[[1,"wr-accordion",{accordionTitle:[1,"accordion-title"],background:[1025],open:[32],closeMe:[64],openMe:[64],calculateSizes:[64]}]]],["p-50aee4b6",[[1,"wr-accordion-group",{isCollapse:[4,"is-collapse"],closeChildren:[64]},[[0,"accordionOpened","accordionOpened"]]]]],["p-8fb1a509",[[1,"wr-big-quote",{isDark:[4,"is-dark"],quoteColor:[1,"quote-color"],authorName:[1,"author-name"],authorFunction:[1,"author-function"],authorImage:[1,"author-image"]}]]],["p-dd9779d0",[[1,"wr-case",{caseTitle:[1,"case-title"],caseSubtitle:[1,"case-subtitle"],backgroundColor:[1,"background-color"],backgroundOpacity:[2,"background-opacity"],backgroundImage:[1,"background-image"],topLayer:[1025,"top-layer"],bottomLayer:[1025,"bottom-layer"],href:[1]}]]],["p-696b5b85",[[1,"wr-case-highlight",{background:[1],backgroundX:[1,"background-x"],backgroundY:[1,"background-y"],caseTitle:[1,"case-title"],href:[1]}]]],["p-1e544dab",[[1,"wr-footer"]]],["p-b488d30a",[[1,"wr-logo"]]],["p-d44158b0",[[1,"wr-menu-item",{size:[1],badge:[2],href:[1],isLarge:[64]}]]],["p-b15c4843",[[1,"wr-navigation",{isOpen:[32]},[[0,"open","openNavigationListener"],[0,"close","closeNavigationListener"]]]]]],o)));
{
"name": "@webreact/webreact-components",
"version": "0.4.41",
"version": "0.4.42",
"description": "Stencil Component Starter",

@@ -5,0 +5,0 @@ "main": "dist/index.cjs.js",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc