-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp-e101915bda8aa33517e3.js
3 lines (3 loc) · 145 KB
/
app-e101915bda8aa33517e3.js
1
2
3
/*! For license information please see app-e101915bda8aa33517e3.js.LICENSE.txt */
(self.webpackChunkghost_casper=self.webpackChunkghost_casper||[]).push([[143],{5687:function(e,t,r){"use strict";r.d(t,{kG:function(){return n}});function n(e,t,r){if(void 0===r&&(r=Error),!e)throw new r(t)}},5957:function(e,t,r){"use strict";function n(e,t){var r=t&&t.cache?t.cache:l,n=t&&t.serializer?t.serializer:c;return(t&&t.strategy?t.strategy:s)(e,{cache:r,serializer:n})}function o(e,t,r,n){var o,a=null==(o=n)||"number"==typeof o||"boolean"==typeof o?n:r(n),i=t.get(a);return void 0===i&&(i=e.call(this,n),t.set(a,i)),i}function a(e,t,r){var n=Array.prototype.slice.call(arguments,3),o=r(n),a=t.get(o);return void 0===a&&(a=e.apply(this,n),t.set(o,a)),a}function i(e,t,r,n,o){return r.bind(t,e,n,o)}function s(e,t){return i(e,this,1===e.length?o:a,t.cache.create(),t.serializer)}r.d(t,{A:function(){return h},Z:function(){return n}});var c=function(){return JSON.stringify(arguments)};function u(){this.cache=Object.create(null)}u.prototype.get=function(e){return this.cache[e]},u.prototype.set=function(e,t){this.cache[e]=t};var l={create:function(){return new u}},h={variadic:function(e,t){return i(e,this,a,t.cache.create(),t.serializer)},monadic:function(e,t){return i(e,this,o,t.cache.create(),t.serializer)}}},9943:function(e,t,r){"use strict";r.d(t,{wD:function(){return o},VG:function(){return c},rp:function(){return l},Ii:function(){return y},O4:function(){return s},uf:function(){return u},Wh:function(){return g},Jo:function(){return f},yx:function(){return d},Wi:function(){return p},HI:function(){return m},pe:function(){return h},Qc:function(){return ae}});var n,o,a,i=r(655);function s(e){return e.type===o.literal}function c(e){return e.type===o.argument}function u(e){return e.type===o.number}function l(e){return e.type===o.date}function h(e){return e.type===o.time}function p(e){return e.type===o.select}function f(e){return e.type===o.plural}function d(e){return e.type===o.pound}function m(e){return e.type===o.tag}function g(e){return!(!e||"object"!=typeof e||e.type!==a.number)}function y(e){return!(!e||"object"!=typeof e||e.type!==a.dateTime)}!function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"}(n||(n={})),function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"}(o||(o={})),function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"}(a||(a={}));var v=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,b=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function E(e){var t={};return e.replace(b,(function(e){var r=e.length;switch(e[0]){case"G":t.era=4===r?"long":5===r?"narrow":"short";break;case"y":t.year=2===r?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][r-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][r-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=4===r?"short":5===r?"narrow":"short";break;case"e":if(r<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"c":if(r<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][r-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][r-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][r-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][r-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][r-1];break;case"s":t.second=["numeric","2-digit"][r-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=r<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""})),t}var w=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;var _=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,S=/^(@+)?(\+|#+)?[rs]?$/g,T=/(\*)(0+)|(#+)(0+)|(0+)/g,P=/^(0+)$/;function R(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(S,(function(e,r,n){return"string"!=typeof n?(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length):"+"===n?t.minimumSignificantDigits=r.length:"#"===r[0]?t.maximumSignificantDigits=r.length:(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length+("string"==typeof n?n.length:0)),""})),t}function C(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function A(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var r=e.slice(0,2);if("+!"===r?(t.signDisplay="always",e=e.slice(2)):"+?"===r&&(t.signDisplay="exceptZero",e=e.slice(2)),!P.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function O(e){var t=C(e);return t||{}}function L(e){for(var t={},r=0,n=e;r<n.length;r++){var o=n[r];switch(o.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=o.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=o.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=(0,i.pi)((0,i.pi)((0,i.pi)({},t),{notation:"scientific"}),o.options.reduce((function(e,t){return(0,i.pi)((0,i.pi)({},e),O(t))}),{}));continue;case"engineering":t=(0,i.pi)((0,i.pi)((0,i.pi)({},t),{notation:"engineering"}),o.options.reduce((function(e,t){return(0,i.pi)((0,i.pi)({},e),O(t))}),{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(o.options[0]);continue;case"integer-width":if(o.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");o.options[0].replace(T,(function(e,r,n,o,a,i){if(r)t.minimumIntegerDigits=n.length;else{if(o&&a)throw new Error("We currently do not support maximum integer digits");if(i)throw new Error("We currently do not support exact integer digits")}return""}));continue}if(P.test(o.stem))t.minimumIntegerDigits=o.stem.length;else if(_.test(o.stem)){if(o.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");o.stem.replace(_,(function(e,r,n,o,a,i){return"*"===n?t.minimumFractionDigits=r.length:o&&"#"===o[0]?t.maximumFractionDigits=o.length:a&&i?(t.minimumFractionDigits=a.length,t.maximumFractionDigits=a.length+i.length):(t.minimumFractionDigits=r.length,t.maximumFractionDigits=r.length),""}));var a=o.options[0];"w"===a?t=(0,i.pi)((0,i.pi)({},t),{trailingZeroDisplay:"stripIfInteger"}):a&&(t=(0,i.pi)((0,i.pi)({},t),R(a)))}else if(S.test(o.stem))t=(0,i.pi)((0,i.pi)({},t),R(o.stem));else{var s=C(o.stem);s&&(t=(0,i.pi)((0,i.pi)({},t),s));var c=A(o.stem);c&&(t=(0,i.pi)((0,i.pi)({},t),c))}}return t}var N,H={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H"],ML:["H"],NE:["H"],RU:["H"],SE:["H"],SJ:["H"],SK:["H"],AS:["h","H"],BT:["h","H"],DJ:["h","H"],ER:["h","H"],GH:["h","H"],IN:["h","H"],LS:["h","H"],PG:["h","H"],PW:["h","H"],SO:["h","H"],TO:["h","H"],VU:["h","H"],WS:["h","H"],"001":["H","h"],AL:["h","H","hB"],TD:["h","H","hB"],"ca-ES":["H","h","hB"],CF:["H","h","hB"],CM:["H","h","hB"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],LU:["H","h","hB"],NP:["H","h","hB"],PF:["H","h","hB"],SC:["H","h","hB"],SM:["H","h","hB"],SN:["H","h","hB"],TF:["H","h","hB"],VA:["H","h","hB"],CY:["h","H","hb","hB"],GR:["h","H","hb","hB"],CO:["h","H","hB","hb"],DO:["h","H","hB","hb"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],NA:["h","H","hB","hb"],PA:["h","H","hB","hb"],PR:["h","H","hB","hb"],VE:["h","H","hB","hb"],AC:["H","h","hb","hB"],AI:["H","h","hb","hB"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CC:["H","h","hb","hB"],CK:["H","h","hb","hB"],CX:["H","h","hb","hB"],DG:["H","h","hb","hB"],FK:["H","h","hb","hB"],GB:["H","h","hb","hB"],GG:["H","h","hb","hB"],GI:["H","h","hb","hB"],IE:["H","h","hb","hB"],IM:["H","h","hb","hB"],IO:["H","h","hb","hB"],JE:["H","h","hb","hB"],LT:["H","h","hb","hB"],MK:["H","h","hb","hB"],MN:["H","h","hb","hB"],MS:["H","h","hb","hB"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],PN:["H","h","hb","hB"],SH:["H","h","hb","hB"],SX:["H","h","hb","hB"],TA:["H","h","hb","hB"],ZA:["H","h","hb","hB"],"af-ZA":["H","h","hB","hb"],AR:["H","h","hB","hb"],CL:["H","h","hB","hb"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],EA:["H","h","hB","hb"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],GT:["H","h","hB","hb"],HN:["H","h","hB","hb"],IC:["H","h","hB","hb"],KG:["H","h","hB","hb"],KM:["H","h","hB","hb"],LK:["H","h","hB","hb"],MA:["H","h","hB","hb"],MX:["H","h","hB","hb"],NI:["H","h","hB","hb"],PY:["H","h","hB","hb"],SV:["H","h","hB","hb"],UY:["H","h","hB","hb"],JP:["H","h","K"],AD:["H","hB"],AM:["H","hB"],AO:["H","hB"],AT:["H","hB"],AW:["H","hB"],BE:["H","hB"],BF:["H","hB"],BJ:["H","hB"],BL:["H","hB"],BR:["H","hB"],CG:["H","hB"],CI:["H","hB"],CV:["H","hB"],DE:["H","hB"],EE:["H","hB"],FR:["H","hB"],GA:["H","hB"],GF:["H","hB"],GN:["H","hB"],GP:["H","hB"],GW:["H","hB"],HR:["H","hB"],IL:["H","hB"],IT:["H","hB"],KZ:["H","hB"],MC:["H","hB"],MD:["H","hB"],MF:["H","hB"],MQ:["H","hB"],MZ:["H","hB"],NC:["H","hB"],NL:["H","hB"],PM:["H","hB"],PT:["H","hB"],RE:["H","hB"],RO:["H","hB"],SI:["H","hB"],SR:["H","hB"],ST:["H","hB"],TG:["H","hB"],TR:["H","hB"],WF:["H","hB"],YT:["H","hB"],BD:["h","hB","H"],PK:["h","hB","H"],AZ:["H","hB","h"],BA:["H","hB","h"],BG:["H","hB","h"],CH:["H","hB","h"],GE:["H","hB","h"],LI:["H","hB","h"],ME:["H","hB","h"],RS:["H","hB","h"],UA:["H","hB","h"],UZ:["H","hB","h"],XK:["H","hB","h"],AG:["h","hb","H","hB"],AU:["h","hb","H","hB"],BB:["h","hb","H","hB"],BM:["h","hb","H","hB"],BS:["h","hb","H","hB"],CA:["h","hb","H","hB"],DM:["h","hb","H","hB"],"en-001":["h","hb","H","hB"],FJ:["h","hb","H","hB"],FM:["h","hb","H","hB"],GD:["h","hb","H","hB"],GM:["h","hb","H","hB"],GU:["h","hb","H","hB"],GY:["h","hb","H","hB"],JM:["h","hb","H","hB"],KI:["h","hb","H","hB"],KN:["h","hb","H","hB"],KY:["h","hb","H","hB"],LC:["h","hb","H","hB"],LR:["h","hb","H","hB"],MH:["h","hb","H","hB"],MP:["h","hb","H","hB"],MW:["h","hb","H","hB"],NZ:["h","hb","H","hB"],SB:["h","hb","H","hB"],SG:["h","hb","H","hB"],SL:["h","hb","H","hB"],SS:["h","hb","H","hB"],SZ:["h","hb","H","hB"],TC:["h","hb","H","hB"],TT:["h","hb","H","hB"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],VC:["h","hb","H","hB"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],ZM:["h","hb","H","hB"],BO:["H","hB","h","hb"],EC:["H","hB","h","hb"],ES:["H","hB","h","hb"],GQ:["H","hB","h","hb"],PE:["H","hB","h","hb"],AE:["h","hB","hb","H"],"ar-001":["h","hB","hb","H"],BH:["h","hB","hb","H"],DZ:["h","hB","hb","H"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],HK:["h","hB","hb","H"],IQ:["h","hB","hb","H"],JO:["h","hB","hb","H"],KW:["h","hB","hb","H"],LB:["h","hB","hb","H"],LY:["h","hB","hb","H"],MO:["h","hB","hb","H"],MR:["h","hB","hb","H"],OM:["h","hB","hb","H"],PH:["h","hB","hb","H"],PS:["h","hB","hb","H"],QA:["h","hB","hb","H"],SA:["h","hB","hb","H"],SD:["h","hB","hb","H"],SY:["h","hB","hb","H"],TN:["h","hB","hb","H"],YE:["h","hB","hb","H"],AF:["H","hb","hB","h"],LA:["H","hb","hB","h"],CN:["H","hB","hb","h"],LV:["H","hB","hb","h"],TL:["H","hB","hb","h"],"zu-ZA":["H","hB","hb","h"],CD:["hB","H"],IR:["hB","H"],"hi-IN":["hB","h","H"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"te-IN":["hB","h","H"],KH:["hB","h","H","hb"],"ta-IN":["hB","h","hb","H"],BN:["hb","hB","h","H"],MY:["hb","hB","h","H"],ET:["hB","hb","h","H"],"gu-IN":["hB","hb","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],TW:["hB","hb","h","H"],KE:["hB","hb","H","h"],MM:["hB","hb","H","h"],TZ:["hB","hb","H","h"],UG:["hB","hb","H","h"]};function k(e){var t=e.hourCycle;if(void 0===t&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var r,n=e.language;return"root"!==n&&(r=e.maximize().region),(H[r||""]||H[n||""]||H["".concat(n,"-001")]||H["001"])[0]}var I=new RegExp("^".concat(v.source,"*")),B=new RegExp("".concat(v.source,"*$"));function D(e,t){return{start:e,end:t}}var M=!!String.prototype.startsWith,x=!!String.fromCodePoint,U=!!Object.fromEntries,F=!!String.prototype.codePointAt,j=!!String.prototype.trimStart,G=!!String.prototype.trimEnd,$=!!Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},q=!0;try{q="a"===(null===(N=Y("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===N?void 0:N[0])}catch(ie){q=!1}var W,Z=M?function(e,t,r){return e.startsWith(t,r)}:function(e,t,r){return e.slice(r,r+t.length)===t},V=x?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r,n="",o=e.length,a=0;o>a;){if((r=e[a++])>1114111)throw RangeError(r+" is not a valid code point");n+=r<65536?String.fromCharCode(r):String.fromCharCode(55296+((r-=65536)>>10),r%1024+56320)}return n},K=U?Object.fromEntries:function(e){for(var t={},r=0,n=e;r<n.length;r++){var o=n[r],a=o[0],i=o[1];t[a]=i}return t},Q=F?function(e,t){return e.codePointAt(t)}:function(e,t){var r=e.length;if(!(t<0||t>=r)){var n,o=e.charCodeAt(t);return o<55296||o>56319||t+1===r||(n=e.charCodeAt(t+1))<56320||n>57343?o:n-56320+(o-55296<<10)+65536}},X=j?function(e){return e.trimStart()}:function(e){return e.replace(I,"")},J=G?function(e){return e.trimEnd()}:function(e){return e.replace(B,"")};function Y(e,t){return new RegExp(e,t)}if(q){var z=Y("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");W=function(e,t){var r;return z.lastIndex=t,null!==(r=z.exec(e)[1])&&void 0!==r?r:""}}else W=function(e,t){for(var r=[];;){var n=Q(e,t);if(void 0===n||re(n)||ne(n))break;r.push(n),t+=n>=65536?2:1}return V.apply(void 0,r)};var ee=function(){function e(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}return e.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(e,t,r){for(var a=[];!this.isEOF();){var i=this.char();if(123===i){if((s=this.parseArgument(e,r)).err)return s;a.push(s.val)}else{if(125===i&&e>0)break;if(35!==i||"plural"!==t&&"selectordinal"!==t){if(60===i&&!this.ignoreTag&&47===this.peek()){if(r)break;return this.error(n.UNMATCHED_CLOSING_TAG,D(this.clonePosition(),this.clonePosition()))}if(60===i&&!this.ignoreTag&&te(this.peek()||0)){if((s=this.parseTag(e,t)).err)return s;a.push(s.val)}else{var s;if((s=this.parseLiteral(e,t)).err)return s;a.push(s.val)}}else{var c=this.clonePosition();this.bump(),a.push({type:o.pound,location:D(c,this.clonePosition())})}}}return{val:a,err:null}},e.prototype.parseTag=function(e,t){var r=this.clonePosition();this.bump();var a=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:o.literal,value:"<".concat(a,"/>"),location:D(r,this.clonePosition())},err:null};if(this.bumpIf(">")){var i=this.parseMessage(e+1,t,!0);if(i.err)return i;var s=i.val,c=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!te(this.char()))return this.error(n.INVALID_TAG,D(c,this.clonePosition()));var u=this.clonePosition();return a!==this.parseTagName()?this.error(n.UNMATCHED_CLOSING_TAG,D(u,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:o.tag,value:a,children:s,location:D(r,this.clonePosition())},err:null}:this.error(n.INVALID_TAG,D(c,this.clonePosition())))}return this.error(n.UNCLOSED_TAG,D(r,this.clonePosition()))}return this.error(n.INVALID_TAG,D(r,this.clonePosition()))},e.prototype.parseTagName=function(){var e,t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||e>=48&&e<=57||95===e||e>=97&&e<=122||e>=65&&e<=90||183==e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039);)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(e,t){for(var r=this.clonePosition(),n="";;){var a=this.tryParseQuote(t);if(a)n+=a;else{var i=this.tryParseUnquoted(e,t);if(i)n+=i;else{var s=this.tryParseLeftAngleBracket();if(!s)break;n+=s}}}var c=D(r,this.clonePosition());return{val:{type:o.literal,value:n,location:c},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(te(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},e.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(39===r){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(r);this.bump()}return V.apply(void 0,t)},e.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var r=this.char();return 60===r||123===r||35===r&&("plural"===t||"selectordinal"===t)||125===r&&e>0?null:(this.bump(),V(r))},e.prototype.parseArgument=function(e,t){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(n.EXPECT_ARGUMENT_CLOSING_BRACE,D(r,this.clonePosition()));if(125===this.char())return this.bump(),this.error(n.EMPTY_ARGUMENT,D(r,this.clonePosition()));var a=this.parseIdentifierIfPossible().value;if(!a)return this.error(n.MALFORMED_ARGUMENT,D(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(n.EXPECT_ARGUMENT_CLOSING_BRACE,D(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:o.argument,value:a,location:D(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(n.EXPECT_ARGUMENT_CLOSING_BRACE,D(r,this.clonePosition())):this.parseArgumentOptions(e,t,a,r);default:return this.error(n.MALFORMED_ARGUMENT,D(r,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),r=W(this.message,t),n=t+r.length;return this.bumpTo(n),{value:r,location:D(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,r,s){var c,u=this.clonePosition(),l=this.parseIdentifierIfPossible().value,h=this.clonePosition();switch(l){case"":return this.error(n.EXPECT_ARGUMENT_TYPE,D(u,h));case"number":case"date":case"time":this.bumpSpace();var p=null;if(this.bumpIf(",")){this.bumpSpace();var f=this.clonePosition();if((_=this.parseSimpleArgStyleIfPossible()).err)return _;if(0===(y=J(_.val)).length)return this.error(n.EXPECT_ARGUMENT_STYLE,D(this.clonePosition(),this.clonePosition()));p={style:y,styleLocation:D(f,this.clonePosition())}}if((S=this.tryParseArgumentClose(s)).err)return S;var d=D(s,this.clonePosition());if(p&&Z(null==p?void 0:p.style,"::",0)){var m=X(p.style.slice(2));if("number"===l)return(_=this.parseNumberSkeletonFromString(m,p.styleLocation)).err?_:{val:{type:o.number,value:r,location:d,style:_.val},err:null};if(0===m.length)return this.error(n.EXPECT_DATE_TIME_SKELETON,d);var g=m;this.locale&&(g=function(e,t){for(var r="",n=0;n<e.length;n++){var o=e.charAt(n);if("j"===o){for(var a=0;n+1<e.length&&e.charAt(n+1)===o;)a++,n++;var i=1+(1&a),s=a<2?1:3+(a>>1),c=k(t);for("H"!=c&&"k"!=c||(s=0);s-- >0;)r+="a";for(;i-- >0;)r=c+r}else r+="J"===o?"H":o}return r}(m,this.locale));var y={type:a.dateTime,pattern:g,location:p.styleLocation,parsedOptions:this.shouldParseSkeletons?E(g):{}};return{val:{type:"date"===l?o.date:o.time,value:r,location:d,style:y},err:null}}return{val:{type:"number"===l?o.number:"date"===l?o.date:o.time,value:r,location:d,style:null!==(c=null==p?void 0:p.style)&&void 0!==c?c:null},err:null};case"plural":case"selectordinal":case"select":var v=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(n.EXPECT_SELECT_ARGUMENT_OPTIONS,D(v,(0,i.pi)({},v)));this.bumpSpace();var b=this.parseIdentifierIfPossible(),w=0;if("select"!==l&&"offset"===b.value){if(!this.bumpIf(":"))return this.error(n.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,D(this.clonePosition(),this.clonePosition()));var _;if(this.bumpSpace(),(_=this.tryParseDecimalInteger(n.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,n.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return _;this.bumpSpace(),b=this.parseIdentifierIfPossible(),w=_.val}var S,T=this.tryParsePluralOrSelectOptions(e,l,t,b);if(T.err)return T;if((S=this.tryParseArgumentClose(s)).err)return S;var P=D(s,this.clonePosition());return"select"===l?{val:{type:o.select,value:r,options:K(T.val),location:P},err:null}:{val:{type:o.plural,value:r,options:K(T.val),offset:w,pluralType:"plural"===l?"cardinal":"ordinal",location:P},err:null};default:return this.error(n.INVALID_ARGUMENT_TYPE,D(u,h))}},e.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(n.EXPECT_ARGUMENT_CLOSING_BRACE,D(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();){switch(this.char()){case 39:this.bump();var r=this.clonePosition();if(!this.bumpUntil("'"))return this.error(n.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,D(r,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(e>0))return{val:this.message.slice(t.offset,this.offset()),err:null};e-=1;break;default:this.bump()}}return{val:this.message.slice(t.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(e,t){var r=[];try{r=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],r=0,n=e.split(w).filter((function(e){return e.length>0}));r<n.length;r++){var o=n[r].split("/");if(0===o.length)throw new Error("Invalid number skeleton");for(var a=o[0],i=o.slice(1),s=0,c=i;s<c.length;s++)if(0===c[s].length)throw new Error("Invalid number skeleton");t.push({stem:a,options:i})}return t}(e)}catch(o){return this.error(n.INVALID_NUMBER_SKELETON,t)}return{val:{type:a.number,tokens:r,location:t,parsedOptions:this.shouldParseSkeletons?L(r):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(e,t,r,o){for(var a,i=!1,s=[],c=new Set,u=o.value,l=o.location;;){if(0===u.length){var h=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var p=this.tryParseDecimalInteger(n.EXPECT_PLURAL_ARGUMENT_SELECTOR,n.INVALID_PLURAL_ARGUMENT_SELECTOR);if(p.err)return p;l=D(h,this.clonePosition()),u=this.message.slice(h.offset,this.offset())}if(c.has(u))return this.error("select"===t?n.DUPLICATE_SELECT_ARGUMENT_SELECTOR:n.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===u&&(i=!0),this.bumpSpace();var f=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?n.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:n.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,D(this.clonePosition(),this.clonePosition()));var d=this.parseMessage(e+1,t,r);if(d.err)return d;var m=this.tryParseArgumentClose(f);if(m.err)return m;s.push([u,{value:d.val,location:D(f,this.clonePosition())}]),c.add(u),this.bumpSpace(),u=(a=this.parseIdentifierIfPossible()).value,l=a.location}return 0===s.length?this.error("select"===t?n.EXPECT_SELECT_ARGUMENT_SELECTOR:n.EXPECT_PLURAL_ARGUMENT_SELECTOR,D(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!i?this.error(n.MISSING_OTHER_CLAUSE,D(this.clonePosition(),this.clonePosition())):{val:s,err:null}},e.prototype.tryParseDecimalInteger=function(e,t){var r=1,n=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var o=!1,a=0;!this.isEOF();){var i=this.char();if(!(i>=48&&i<=57))break;o=!0,a=10*a+(i-48),this.bump()}var s=D(n,this.clonePosition());return o?$(a*=r)?{val:a,err:null}:this.error(t,s):this.error(e,s)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=Q(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},e.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},e.prototype.bump=function(){if(!this.isEOF()){var e=this.char();10===e?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}},e.prototype.bumpIf=function(e){if(Z(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(e){var t=this.offset(),r=this.message.indexOf(e,t);return r>=0?(this.bumpTo(r),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(t>e)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&re(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),r=this.message.charCodeAt(t+(e>=65536?2:1));return null!=r?r:null},e}();function te(e){return e>=97&&e<=122||e>=65&&e<=90}function re(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}function ne(e){return e>=33&&e<=35||36===e||e>=37&&e<=39||40===e||41===e||42===e||43===e||44===e||45===e||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||91===e||92===e||93===e||94===e||96===e||123===e||124===e||125===e||126===e||161===e||e>=162&&e<=165||166===e||167===e||169===e||171===e||172===e||174===e||176===e||177===e||182===e||187===e||191===e||215===e||247===e||e>=8208&&e<=8213||e>=8214&&e<=8215||8216===e||8217===e||8218===e||e>=8219&&e<=8220||8221===e||8222===e||8223===e||e>=8224&&e<=8231||e>=8240&&e<=8248||8249===e||8250===e||e>=8251&&e<=8254||e>=8257&&e<=8259||8260===e||8261===e||8262===e||e>=8263&&e<=8273||8274===e||8275===e||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||8608===e||e>=8609&&e<=8610||8611===e||e>=8612&&e<=8613||8614===e||e>=8615&&e<=8621||8622===e||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||8658===e||8659===e||8660===e||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||8968===e||8969===e||8970===e||8971===e||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||9001===e||9002===e||e>=9003&&e<=9083||9084===e||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||9655===e||e>=9656&&e<=9664||9665===e||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||9839===e||e>=9840&&e<=10087||10088===e||10089===e||10090===e||10091===e||10092===e||10093===e||10094===e||10095===e||10096===e||10097===e||10098===e||10099===e||10100===e||10101===e||e>=10132&&e<=10175||e>=10176&&e<=10180||10181===e||10182===e||e>=10183&&e<=10213||10214===e||10215===e||10216===e||10217===e||10218===e||10219===e||10220===e||10221===e||10222===e||10223===e||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||10627===e||10628===e||10629===e||10630===e||10631===e||10632===e||10633===e||10634===e||10635===e||10636===e||10637===e||10638===e||10639===e||10640===e||10641===e||10642===e||10643===e||10644===e||10645===e||10646===e||10647===e||10648===e||e>=10649&&e<=10711||10712===e||10713===e||10714===e||10715===e||e>=10716&&e<=10747||10748===e||10749===e||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||11158===e||e>=11159&&e<=11263||e>=11776&&e<=11777||11778===e||11779===e||11780===e||11781===e||e>=11782&&e<=11784||11785===e||11786===e||11787===e||11788===e||11789===e||e>=11790&&e<=11798||11799===e||e>=11800&&e<=11801||11802===e||11803===e||11804===e||11805===e||e>=11806&&e<=11807||11808===e||11809===e||11810===e||11811===e||11812===e||11813===e||11814===e||11815===e||11816===e||11817===e||e>=11818&&e<=11822||11823===e||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||11840===e||11841===e||11842===e||e>=11843&&e<=11855||e>=11856&&e<=11857||11858===e||e>=11859&&e<=11903||e>=12289&&e<=12291||12296===e||12297===e||12298===e||12299===e||12300===e||12301===e||12302===e||12303===e||12304===e||12305===e||e>=12306&&e<=12307||12308===e||12309===e||12310===e||12311===e||12312===e||12313===e||12314===e||12315===e||12316===e||12317===e||e>=12318&&e<=12319||12320===e||12336===e||64830===e||64831===e||e>=65093&&e<=65094}function oe(e){e.forEach((function(e){if(delete e.location,p(e)||f(e))for(var t in e.options)delete e.options[t].location,oe(e.options[t].value);else u(e)&&g(e.style)||(l(e)||h(e))&&y(e.style)?delete e.style.location:m(e)&&oe(e.children)}))}function ae(e,t){void 0===t&&(t={}),t=(0,i.pi)({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new ee(e,t).parse();if(r.err){var o=SyntaxError(n[r.err.kind]);throw o.location=r.err.location,o.originalMessage=r.err.message,o}return(null==t?void 0:t.captureLocation)||oe(r.val),r.val}},5547:function(){Intl.RelativeTimeFormat&&"function"==typeof Intl.RelativeTimeFormat.__addLocaleData&&Intl.RelativeTimeFormat.__addLocaleData({data:{nu:["latn"],year:{0:"this year",1:"next year",future:{one:"in {0} year",other:"in {0} years"},past:{one:"{0} year ago",other:"{0} years ago"},"-1":"last year"},"year-short":{0:"this yr.",1:"next yr.",future:{one:"in {0} yr.",other:"in {0} yr."},past:{one:"{0} yr. ago",other:"{0} yr. ago"},"-1":"last yr."},"year-narrow":{0:"this yr.",1:"next yr.",future:{one:"in {0} yr.",other:"in {0} yr."},past:{one:"{0} yr. ago",other:"{0} yr. ago"},"-1":"last yr."},quarter:{0:"this quarter",1:"next quarter",future:{one:"in {0} quarter",other:"in {0} quarters"},past:{one:"{0} quarter ago",other:"{0} quarters ago"},"-1":"last quarter"},"quarter-short":{0:"this qtr.",1:"next qtr.",future:{one:"in {0} qtr.",other:"in {0} qtrs."},past:{one:"{0} qtr. ago",other:"{0} qtrs. ago"},"-1":"last qtr."},"quarter-narrow":{0:"this qtr.",1:"next qtr.",future:{one:"in {0} qtr.",other:"in {0} qtrs."},past:{one:"{0} qtr. ago",other:"{0} qtrs. ago"},"-1":"last qtr."},month:{0:"this month",1:"next month",future:{one:"in {0} month",other:"in {0} months"},past:{one:"{0} month ago",other:"{0} months ago"},"-1":"last month"},"month-short":{0:"this mo.",1:"next mo.",future:{one:"in {0} mo.",other:"in {0} mo."},past:{one:"{0} mo. ago",other:"{0} mo. ago"},"-1":"last mo."},"month-narrow":{0:"this mo.",1:"next mo.",future:{one:"in {0} mo.",other:"in {0} mo."},past:{one:"{0} mo. ago",other:"{0} mo. ago"},"-1":"last mo."},week:{0:"this week",1:"next week",future:{one:"in {0} week",other:"in {0} weeks"},past:{one:"{0} week ago",other:"{0} weeks ago"},"-1":"last week"},"week-short":{0:"this wk.",1:"next wk.",future:{one:"in {0} wk.",other:"in {0} wk."},past:{one:"{0} wk. ago",other:"{0} wk. ago"},"-1":"last wk."},"week-narrow":{0:"this wk.",1:"next wk.",future:{one:"in {0} wk.",other:"in {0} wk."},past:{one:"{0} wk. ago",other:"{0} wk. ago"},"-1":"last wk."},day:{0:"today",1:"tomorrow",future:{one:"in {0} day",other:"in {0} days"},past:{one:"{0} day ago",other:"{0} days ago"},"-1":"yesterday"},"day-short":{0:"today",1:"tomorrow",future:{one:"in {0} day",other:"in {0} days"},past:{one:"{0} day ago",other:"{0} days ago"},"-1":"yesterday"},"day-narrow":{0:"today",1:"tomorrow",future:{one:"in {0} day",other:"in {0} days"},past:{one:"{0} day ago",other:"{0} days ago"},"-1":"yesterday"},hour:{0:"this hour",future:{one:"in {0} hour",other:"in {0} hours"},past:{one:"{0} hour ago",other:"{0} hours ago"}},"hour-short":{0:"this hour",future:{one:"in {0} hr.",other:"in {0} hr."},past:{one:"{0} hr. ago",other:"{0} hr. ago"}},"hour-narrow":{0:"this hour",future:{one:"in {0} hr.",other:"in {0} hr."},past:{one:"{0} hr. ago",other:"{0} hr. ago"}},minute:{0:"this minute",future:{one:"in {0} minute",other:"in {0} minutes"},past:{one:"{0} minute ago",other:"{0} minutes ago"}},"minute-short":{0:"this minute",future:{one:"in {0} min.",other:"in {0} min."},past:{one:"{0} min. ago",other:"{0} min. ago"}},"minute-narrow":{0:"this minute",future:{one:"in {0} min.",other:"in {0} min."},past:{one:"{0} min. ago",other:"{0} min. ago"}},second:{0:"now",future:{one:"in {0} second",other:"in {0} seconds"},past:{one:"{0} second ago",other:"{0} seconds ago"}},"second-short":{0:"now",future:{one:"in {0} sec.",other:"in {0} sec."},past:{one:"{0} sec. ago",other:"{0} sec. ago"}},"second-narrow":{0:"now",future:{one:"in {0} sec.",other:"in {0} sec."},past:{one:"{0} sec. ago",other:"{0} sec. ago"}}},locale:"en"})},8763:function(){Intl.RelativeTimeFormat&&"function"==typeof Intl.RelativeTimeFormat.__addLocaleData&&Intl.RelativeTimeFormat.__addLocaleData({data:{nu:["arabext"],year:{0:"امسال",1:"سال آینده",future:{one:"{0} سال بعد",other:"{0} سال بعد"},past:{one:"{0} سال پیش",other:"{0} سال پیش"},"-1":"سال گذشته"},"year-short":{0:"امسال",1:"سال آینده",future:{one:"{0} سال بعد",other:"{0} سال بعد"},past:{one:"{0} سال پیش",other:"{0} سال پیش"},"-1":"سال گذشته"},"year-narrow":{0:"امسال",1:"سال آینده",future:{one:"{0} سال بعد",other:"{0} سال بعد"},past:{one:"{0} سال پیش",other:"{0} سال پیش"},"-1":"سال گذشته"},quarter:{0:"سهماههٔ کنونی",1:"سهماههٔ آینده",future:{one:"{0} سهماههٔ بعد",other:"{0} سهماههٔ بعد"},past:{one:"{0} سهماههٔ پیش",other:"{0} سهماههٔ پیش"},"-1":"سهماههٔ گذشته"},"quarter-short":{0:"سهماههٔ کنونی",1:"سهماههٔ آینده",future:{one:"{0} سهماههٔ بعد",other:"{0} سهماههٔ بعد"},past:{one:"{0} سهماههٔ پیش",other:"{0} سهماههٔ پیش"},"-1":"سهماههٔ گذشته"},"quarter-narrow":{0:"سهماههٔ کنونی",1:"سهماههٔ آینده",future:{one:"{0} سهماههٔ بعد",other:"{0} سهماههٔ بعد"},past:{one:"{0} سهماههٔ پیش",other:"{0} سهماههٔ پیش"},"-1":"سهماههٔ گذشته"},month:{0:"این ماه",1:"ماه آینده",future:{one:"{0} ماه بعد",other:"{0} ماه بعد"},past:{one:"{0} ماه پیش",other:"{0} ماه پیش"},"-1":"ماه گذشته"},"month-short":{0:"این ماه",1:"ماه آینده",future:{one:"{0} ماه بعد",other:"{0} ماه بعد"},past:{one:"{0} ماه پیش",other:"{0} ماه پیش"},"-1":"ماه گذشته"},"month-narrow":{0:"این ماه",1:"ماه آینده",future:{one:"{0} ماه بعد",other:"{0} ماه بعد"},past:{one:"{0} ماه پیش",other:"{0} ماه پیش"},"-1":"ماه گذشته"},week:{0:"این هفته",1:"هفتهٔ آینده",future:{one:"{0} هفته بعد",other:"{0} هفته بعد"},past:{one:"{0} هفته پیش",other:"{0} هفته پیش"},"-1":"هفتهٔ گذشته"},"week-short":{0:"این هفته",1:"هفتهٔ آینده",future:{one:"{0} هفته بعد",other:"{0} هفته بعد"},past:{one:"{0} هفته پیش",other:"{0} هفته پیش"},"-1":"هفتهٔ گذشته"},"week-narrow":{0:"این هفته",1:"هفتهٔ آینده",future:{one:"{0} هفته بعد",other:"{0} هفته بعد"},past:{one:"{0} هفته پیش",other:"{0} هفته پیش"},"-1":"هفتهٔ گذشته"},day:{0:"امروز",1:"فردا",2:"پسفردا",future:{one:"{0} روز بعد",other:"{0} روز بعد"},past:{one:"{0} روز پیش",other:"{0} روز پیش"},"-2":"پریروز","-1":"دیروز"},"day-short":{0:"امروز",1:"فردا",2:"پسفردا",future:{one:"{0} روز بعد",other:"{0} روز بعد"},past:{one:"{0} روز پیش",other:"{0} روز پیش"},"-2":"پریروز","-1":"دیروز"},"day-narrow":{0:"امروز",1:"فردا",2:"پسفردا",future:{one:"{0} روز بعد",other:"{0} روز بعد"},past:{one:"{0} روز پیش",other:"{0} روز پیش"},"-2":"پریروز","-1":"دیروز"},hour:{0:"همین ساعت",future:{one:"{0} ساعت بعد",other:"{0} ساعت بعد"},past:{one:"{0} ساعت پیش",other:"{0} ساعت پیش"}},"hour-short":{0:"همین ساعت",future:{one:"{0} ساعت بعد",other:"{0} ساعت بعد"},past:{one:"{0} ساعت پیش",other:"{0} ساعت پیش"}},"hour-narrow":{0:"همین ساعت",future:{one:"{0} ساعت بعد",other:"{0} ساعت بعد"},past:{one:"{0} ساعت پیش",other:"{0} ساعت پیش"}},minute:{0:"همین دقیقه",future:{one:"{0} دقیقه بعد",other:"{0} دقیقه بعد"},past:{one:"{0} دقیقه پیش",other:"{0} دقیقه پیش"}},"minute-short":{0:"همین دقیقه",future:{one:"{0} دقیقه بعد",other:"{0} دقیقه بعد"},past:{one:"{0} دقیقه پیش",other:"{0} دقیقه پیش"}},"minute-narrow":{0:"همین دقیقه",future:{one:"{0} دقیقه بعد",other:"{0} دقیقه بعد"},past:{one:"{0} دقیقه پیش",other:"{0} دقیقه پیش"}},second:{0:"اکنون",future:{one:"{0} ثانیه بعد",other:"{0} ثانیه بعد"},past:{one:"{0} ثانیه پیش",other:"{0} ثانیه پیش"}},"second-short":{0:"اکنون",future:{one:"{0} ثانیه بعد",other:"{0} ثانیه بعد"},past:{one:"{0} ثانیه پیش",other:"{0} ثانیه پیش"}},"second-narrow":{0:"اکنون",future:{one:"{0} ثانیه بعد",other:"{0} ثانیه بعد"},past:{one:"{0} ثانیه پیش",other:"{0} ثانیه پیش"}}},locale:"fa"})},8222:function(e,t,r){"use strict";r.d(t,{$6:function(){return h},OV:function(){return s},Qe:function(){return u},Rw:function(){return a},X9:function(){return l},bc:function(){return n},gb:function(){return c},wI:function(){return i}});var n,o=r(655);!function(e){e.FORMAT_ERROR="FORMAT_ERROR",e.UNSUPPORTED_FORMATTER="UNSUPPORTED_FORMATTER",e.INVALID_CONFIG="INVALID_CONFIG",e.MISSING_DATA="MISSING_DATA",e.MISSING_TRANSLATION="MISSING_TRANSLATION"}(n||(n={}));var a=function(e){function t(r,n,o){var a=this,i=o?o instanceof Error?o:new Error(String(o)):void 0;return(a=e.call(this,"[@formatjs/intl Error ".concat(r,"] ").concat(n,"\n").concat(i?"\n".concat(i.message,"\n").concat(i.stack):""))||this).code=r,"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(a,t),a}return(0,o.ZT)(t,e),t}(Error),i=function(e){function t(t,r){return e.call(this,n.UNSUPPORTED_FORMATTER,t,r)||this}return(0,o.ZT)(t,e),t}(a),s=function(e){function t(t,r){return e.call(this,n.INVALID_CONFIG,t,r)||this}return(0,o.ZT)(t,e),t}(a),c=function(e){function t(t,r){return e.call(this,n.MISSING_DATA,t,r)||this}return(0,o.ZT)(t,e),t}(a),u=function(e){function t(t,r,o){return e.call(this,n.FORMAT_ERROR,"".concat(t,"\nLocale: ").concat(r,"\n"),o)||this}return(0,o.ZT)(t,e),t}(a),l=function(e){function t(t,r,n,o){var a=e.call(this,"".concat(t,"\nMessageID: ").concat(null==n?void 0:n.id,"\nDefault Message: ").concat(null==n?void 0:n.defaultMessage,"\nDescription: ").concat(null==n?void 0:n.description,"\n"),r,o)||this;return a.descriptor=n,a}return(0,o.ZT)(t,e),t}(u),h=function(e){function t(t,r){var o=e.call(this,n.MISSING_TRANSLATION,'Missing message: "'.concat(t.id,'" for locale "').concat(r,'", using ').concat(t.defaultMessage?"default message (".concat("string"==typeof t.defaultMessage?t.defaultMessage:t.defaultMessage.map((function(e){var t;return null!==(t=e.value)&&void 0!==t?t:JSON.stringify(e)})).join(),")"):"id"," as fallback."))||this;return o.descriptor=t,o}return(0,o.ZT)(t,e),t}(a)},2644:function(e,t,r){"use strict";r.d(t,{L6:function(){return s},Sn:function(){return u},TB:function(){return p},Z0:function(){return c},ax:function(){return h}});var n=r(655),o=r(6284),a=r(5957),i=r(8222);function s(e,t,r){return void 0===r&&(r={}),t.reduce((function(t,n){return n in e?t[n]=e[n]:n in r&&(t[n]=r[n]),t}),{})}var c={formats:{},messages:{},timeZone:void 0,defaultLocale:"en",defaultFormats:{},fallbackOnEmptyString:!0,onError:function(e){0},onWarn:function(e){0}};function u(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function l(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}function h(e){void 0===e&&(e={dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}});var t=Intl.RelativeTimeFormat,r=Intl.ListFormat,i=Intl.DisplayNames,s=(0,a.Z)((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.DateTimeFormat).bind.apply(e,(0,n.ev)([void 0],t,!1)))}),{cache:l(e.dateTime),strategy:a.A.variadic}),c=(0,a.Z)((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.NumberFormat).bind.apply(e,(0,n.ev)([void 0],t,!1)))}),{cache:l(e.number),strategy:a.A.variadic}),u=(0,a.Z)((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.PluralRules).bind.apply(e,(0,n.ev)([void 0],t,!1)))}),{cache:l(e.pluralRules),strategy:a.A.variadic});return{getDateTimeFormat:s,getNumberFormat:c,getMessageFormat:(0,a.Z)((function(e,t,r,a){return new o.C(e,t,r,(0,n.pi)({formatters:{getNumberFormat:c,getDateTimeFormat:s,getPluralRules:u}},a||{}))}),{cache:l(e.message),strategy:a.A.variadic}),getRelativeTimeFormat:(0,a.Z)((function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return new(t.bind.apply(t,(0,n.ev)([void 0],e,!1)))}),{cache:l(e.relativeTime),strategy:a.A.variadic}),getPluralRules:u,getListFormat:(0,a.Z)((function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new(r.bind.apply(r,(0,n.ev)([void 0],e,!1)))}),{cache:l(e.list),strategy:a.A.variadic}),getDisplayNames:(0,a.Z)((function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new(i.bind.apply(i,(0,n.ev)([void 0],e,!1)))}),{cache:l(e.displayNames),strategy:a.A.variadic})}}function p(e,t,r,n){var o,a=e&&e[t];if(a&&(o=a[r]),o)return o;n(new i.wI("No ".concat(t," format named: ").concat(r)))}},4506:function(e,t){"use strict";t.H=void 0;t.H=(e,t="always")=>{const r=e.endsWith(".html"),n=e.endsWith(".xml"),o=e.endsWith(".pdf");return"/"===e?e:((r||n||o)&&(t="never"),"always"===t?e.endsWith("/")?e:`${e}/`:"never"===t&&e.endsWith("/")?e.slice(0,-1):e)}},9679:function(e,t,r){"use strict";t.p2=t.$C=void 0;var n=r(1432);t.$C=n.ScrollHandler;var o=r(4855);t.p2=o.useScrollRestoration},1432:function(e,t,r){"use strict";var n=r(4836);t.__esModule=!0,t.ScrollHandler=t.ScrollContext=void 0;var o=n(r(6115)),a=n(r(7867)),i=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=u(t);if(r&&r.has(e))return r.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var i=o?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(n,a,i):n[a]=e[a]}n.default=e,r&&r.set(e,n);return n}(r(7294)),s=n(r(5697)),c=r(1142);function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(u=function(e){return e?r:t})(e)}var l=i.createContext(new c.SessionStorage);t.ScrollContext=l,l.displayName="GatsbyScrollContext";var h=function(e){function t(){for(var t,r=arguments.length,n=new Array(r),a=0;a<r;a++)n[a]=arguments[a];return(t=e.call.apply(e,[this].concat(n))||this)._stateStorage=new c.SessionStorage,t._isTicking=!1,t._latestKnownScrollY=0,t.scrollListener=function(){t._latestKnownScrollY=window.scrollY,t._isTicking||(t._isTicking=!0,requestAnimationFrame(t._saveScroll.bind((0,o.default)(t))))},t.windowScroll=function(e,r){t.shouldUpdateScroll(r,t.props)&&window.scrollTo(0,e)},t.scrollToHash=function(e,r){var n=document.getElementById(e.substring(1));n&&t.shouldUpdateScroll(r,t.props)&&n.scrollIntoView()},t.shouldUpdateScroll=function(e,r){var n=t.props.shouldUpdateScroll;return!n||n.call((0,o.default)(t),e,r)},t}(0,a.default)(t,e);var r=t.prototype;return r._saveScroll=function(){var e=this.props.location.key||null;e&&this._stateStorage.save(this.props.location,e,this._latestKnownScrollY),this._isTicking=!1},r.componentDidMount=function(){var e;window.addEventListener("scroll",this.scrollListener);var t=this.props.location,r=t.key,n=t.hash;r&&(e=this._stateStorage.read(this.props.location,r)),n?this.scrollToHash(decodeURI(n),void 0):e&&this.windowScroll(e,void 0)},r.componentWillUnmount=function(){window.removeEventListener("scroll",this.scrollListener)},r.componentDidUpdate=function(e){var t,r=this.props.location,n=r.hash,o=r.key;o&&(t=this._stateStorage.read(this.props.location,o)),n?this.scrollToHash(decodeURI(n),e):this.windowScroll(t,e)},r.render=function(){return i.createElement(l.Provider,{value:this._stateStorage},this.props.children)},t}(i.Component);t.ScrollHandler=h,h.propTypes={shouldUpdateScroll:s.default.func,children:s.default.element.isRequired,location:s.default.object.isRequired}},1142:function(e,t){"use strict";t.__esModule=!0,t.SessionStorage=void 0;var r="___GATSBY_REACT_ROUTER_SCROLL",n=function(){function e(){}var t=e.prototype;return t.read=function(e,t){var n=this.getStateKey(e,t);try{var o=window.sessionStorage.getItem(n);return o?JSON.parse(o):0}catch(a){return window&&window[r]&&window[r][n]?window[r][n]:0}},t.save=function(e,t,n){var o=this.getStateKey(e,t),a=JSON.stringify(n);try{window.sessionStorage.setItem(o,a)}catch(i){window&&window[r]||(window[r]={}),window[r][o]=JSON.parse(a)}},t.getStateKey=function(e,t){var r="@@scroll|"+e.pathname;return null==t?r:r+"|"+t},e}();t.SessionStorage=n},4855:function(e,t,r){"use strict";t.__esModule=!0,t.useScrollRestoration=function(e){var t=(0,a.useLocation)(),r=(0,o.useContext)(n.ScrollContext),i=(0,o.useRef)(null);return(0,o.useLayoutEffect)((function(){if(i.current){var n=r.read(t,e);i.current.scrollTo(0,n||0)}}),[t.key]),{ref:i,onScroll:function(){i.current&&r.save(t,e,i.current.scrollTop)}}};var n=r(1432),o=r(7294),a=r(7896)},4094:function(e,t,r){"use strict";t.__esModule=!0,t.onInitialClientRender=void 0;r(3521),r(2731);t.onInitialClientRender=()=>{}},7730:function(e,t){"use strict";t.__esModule=!0,t.getForwards=function(e){return null==e?void 0:e.flatMap((e=>(null==e?void 0:e.forward)||[]))}},2731:function(e,t,r){"use strict";t.__esModule=!0,t.injectPartytownSnippet=function(e){if(!e.length)return;const t=document.querySelector("script[data-partytown]"),r=document.querySelector('iframe[src*="~partytown/partytown-sandbox-sw"]');t&&t.remove();r&&r.remove();const a=(0,o.getForwards)(e),i=document.createElement("script");i.dataset.partytown="",i.innerHTML=(0,n.partytownSnippet)({forward:a}),document.head.appendChild(i)};var n=r(2911),o=r(7730)},5418:function(e,t,r){t.components={"component---cache-caches-gatsby-plugin-offline-app-shell-js":()=>r.e(306).then(r.bind(r,1367)),"component---src-pages-404-tsx":()=>Promise.all([r.e(532),r.e(73),r.e(752),r.e(218)]).then(r.bind(r,9517)),"component---src-pages-index-tsx":()=>Promise.all([r.e(532),r.e(73),r.e(752),r.e(691)]).then(r.bind(r,3305)),"component---src-pages-samples-static-query-tsx":()=>r.e(701).then(r.bind(r,7979)),"component---src-templates-author-tsx":()=>Promise.all([r.e(532),r.e(73),r.e(752),r.e(29)]).then(r.bind(r,2607)),"component---src-templates-page-tsx-content-file-path-c-users-mohsen-desktop-dev-dev-starters-ghost-starter-www-pages-en-about-md":()=>Promise.all([r.e(532),r.e(73),r.e(805)]).then(r.bind(r,9246)),"component---src-templates-page-tsx-content-file-path-c-users-mohsen-desktop-dev-dev-starters-ghost-starter-www-pages-fa-about-md":()=>Promise.all([r.e(532),r.e(73),r.e(398)]).then(r.bind(r,3620)),"component---src-templates-post-tsx-content-file-path-c-users-mohsen-desktop-dev-dev-starters-ghost-starter-www-posts-en-a-full-style-test-mdx":()=>Promise.all([r.e(532),r.e(73),r.e(752),r.e(944)]).then(r.bind(r,7075)),"component---src-templates-post-tsx-content-file-path-c-users-mohsen-desktop-dev-dev-starters-ghost-starter-www-posts-en-emancipation-proclamation-md":()=>Promise.all([r.e(532),r.e(73),r.e(752),r.e(350)]).then(r.bind(r,9907)),"component---src-templates-post-tsx-content-file-path-c-users-mohsen-desktop-dev-dev-starters-ghost-starter-www-posts-en-gettysburg-address-md":()=>Promise.all([r.e(532),r.e(73),r.e(752),r.e(424)]).then(r.bind(r,6478)),"component---src-templates-post-tsx-content-file-path-c-users-mohsen-desktop-dev-dev-starters-ghost-starter-www-posts-en-github-link-md":()=>Promise.all([r.e(532),r.e(73),r.e(752),r.e(318)]).then(r.bind(r,9127)),"component---src-templates-post-tsx-content-file-path-c-users-mohsen-desktop-dev-dev-starters-ghost-starter-www-posts-en-hello-mdx":()=>Promise.all([r.e(532),r.e(73),r.e(752),r.e(706)]).then(r.bind(r,2880)),"component---src-templates-post-tsx-content-file-path-c-users-mohsen-desktop-dev-dev-starters-ghost-starter-www-posts-fa-purpose-of-education-md":()=>Promise.all([r.e(532),r.e(73),r.e(752),r.e(559)]).then(r.bind(r,321)),"component---src-templates-post-tsx-content-file-path-c-users-mohsen-desktop-dev-dev-starters-ghost-starter-www-posts-fa-using-the-ghost-editor-md":()=>Promise.all([r.e(532),r.e(73),r.e(752),r.e(938)]).then(r.bind(r,7147)),"component---src-templates-post-tsx-content-file-path-c-users-mohsen-desktop-dev-dev-starters-ghost-starter-www-posts-fa-welcome-md":()=>Promise.all([r.e(532),r.e(73),r.e(752),r.e(655)]).then(r.bind(r,583)),"component---src-templates-tag-tsx":()=>Promise.all([r.e(532),r.e(73),r.e(752),r.e(902)]).then(r.bind(r,5848))}},4741:function(e,t,r){e.exports=[{plugin:r(2154),options:{plugins:[]}},{plugin:r(2154),options:{plugins:[],maxWidth:650,linkImagesToOriginal:!0,showCaptions:!1,markdownCaptions:!1,backgroundColor:"white",quality:50,withWebp:!1,withAvif:!1,loading:"lazy",decoding:"async",disableBgImageOnAlpha:!1,disableBgImage:!1}},{plugin:r(9608),options:{plugins:[],name:"Ghost",short_name:"Ghost",description:"Leading Publishing Platform.",lang:"en",display:"standalone",start_url:"/",background_color:"#25415d",theme_color:"#3b5f78",icon:"static/icons/favicon.png",icons:[{src:"static/icons/favicon.png",sizes:"512x512",type:"image/png",purpose:"maskable"}],cache_busting_mode:"none",localize:[{start_url:"/fa/",lang:"fa",name:"گوست وب",short_name:"گوست",description:"پلتفرم انتشار نمونه"}],legacy:!0,theme_color_in_head:!0,crossOrigin:"anonymous",include_favicon:!0,cacheDigest:null}},{plugin:r(9684),options:{plugins:[],precachePages:["/index.html","/about","/posts/*","/fa/**"],workboxConfig:{globPatterns:["**/icons/*"]}}},{plugin:r(6052),options:{plugins:[],trackingIds:["UA-171846377-1"],gtagConfig:{cookie_flags:"SameSite=None;Secure",anonymize_ip:!0,cookie_expires:0},pluginConfig:{head:!0,respectDNT:!0}}},{plugin:r(5906),options:{plugins:[]}},{plugin:r(4094),options:{plugins:[]}}]},3092:function(e,t,r){const n=r(4741),{getResourceURLsForPathname:o,loadPage:a,loadPageSync:i}=r(1975).jN;t.h=(e,t={},r,s)=>{let c=n.map((r=>{if(!r.plugin[e])return;t.getResourceURLsForPathname=o,t.loadPage=a,t.loadPageSync=i;const n=r.plugin[e](t,r.options);return n&&s&&(t=s({args:t,result:n,plugin:r})),n}));return c=c.filter((e=>void 0!==e)),c.length>0?c:r?[r]:[]},t.I=(e,t,r)=>n.reduce(((r,n)=>n.plugin[e]?r.then((()=>n.plugin[e](t,n.options))):r),Promise.resolve())},4004:function(e,t){t.M=()=>""},8299:function(e,t,r){"use strict";r.d(t,{Z:function(){return n}});var n=function(e){return e=e||Object.create(null),{on:function(t,r){(e[t]||(e[t]=[])).push(r)},off:function(t,r){e[t]&&e[t].splice(e[t].indexOf(r)>>>0,1)},emit:function(t,r){(e[t]||[]).slice().map((function(e){e(r)})),(e["*"]||[]).slice().map((function(e){e(t,r)}))}}}()},7802:function(e,t,r){"use strict";r.d(t,{UD:function(){return p},Cj:function(){return d},GA:function(){return f},DS:function(){return h}});var n=r(7896),o=r(1505),a=e=>{if(void 0===e)return e;let[t,r=""]=e.split("?");return r&&(r="?"+r),"/"===t?"/"+r:"/"===t.charAt(t.length-1)?t.slice(0,-1)+r:t+r},i=r(6073);const s=new Map;let c=[];const u=e=>{let t=e;if(-1!==e.indexOf("?")){const[r,n]=e.split("?");t=`${r}?${encodeURIComponent(n)}`}const r=decodeURIComponent(t);return(0,o.Z)(r,decodeURIComponent("")).split("#")[0]};function l(e){return e.startsWith("/")||e.startsWith("https://")||e.startsWith("http://")?e:new URL(e,window.location.href+(window.location.href.endsWith("/")?"":"/")).pathname}const h=e=>{c=e},p=e=>{const t=m(e),r=c.map((({path:e,matchPath:t})=>({path:t,originalPath:e}))),o=(0,n.pick)(r,t);return o?a(o.route.originalPath):null},f=e=>{const t=m(e),r=c.map((({path:e,matchPath:t})=>({path:t,originalPath:e}))),o=(0,n.pick)(r,t);return o?o.params:{}},d=e=>{const t=u(l(e));if(s.has(t))return s.get(t);const r=(0,i.J)(e);if(r)return d(r.toPath);let n=p(t);return n||(n=m(e)),s.set(t,n),n},m=e=>{let t=u(l(e));return"/index.html"===t&&(t="/"),t=a(t),t}},4160:function(e,t,r){"use strict";r.r(t),r.d(t,{Link:function(){return s.rU},PageRenderer:function(){return a()},Script:function(){return b.Script},ScriptStrategy:function(){return b.ScriptStrategy},Slice:function(){return g},StaticQuery:function(){return c.i1},StaticQueryContext:function(){return c.B9},collectedScriptsByPage:function(){return b.collectedScriptsByPage},graphql:function(){return w},navigate:function(){return s.c4},parsePath:function(){return s.cP},prefetchPathname:function(){return E},scriptCache:function(){return b.scriptCache},scriptCallbackCache:function(){return b.scriptCallbackCache},useScrollRestoration:function(){return i.p2},useStaticQuery:function(){return c.K2},withAssetPrefix:function(){return s.mc},withPrefix:function(){return s.dq}});var n=r(1975),o=r(2743),a=r.n(o),i=r(9679),s=r(1562),c=r(1757),u=r(7294),l=r(4004),h=r(8995);const p=({sliceId:e,children:t})=>{const r=[u.createElement("slice-start",{id:`${e}-1`}),u.createElement("slice-end",{id:`${e}-1`})];return t&&(r.push(t),r.push(u.createElement("slice-start",{id:`${e}-2`}),u.createElement("slice-end",{id:`${e}-2`}))),r},f=({sliceName:e,allowEmpty:t,children:r,...n})=>{const o=(0,u.useContext)(h.u0),a=(0,u.useContext)(h.Db),i=o[e];if(!i){if(t)return null;throw new Error(`Slice "${i}" for "${e}" slot not found`)}const s=((e,t)=>Object.keys(t).length?`${e}-${(0,l.M)(t)}`:e)(i,n);let c=a[s];return c?r&&(c.hasChildren=!0):a[s]=c={props:n,sliceName:i,hasChildren:!!r},u.createElement(p,{sliceId:s},r)};function d(){return d=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},d.apply(this,arguments)}const m=({sliceName:e,allowEmpty:t,children:r,...n})=>{const o=(0,u.useContext)(h.u0),a=(0,u.useContext)(h.m3),i=o[e],s=a.get(i);if(!s){if(t)return null;throw new Error(`Slice "${i}" for "${e}" slot not found`)}return u.createElement(s.component,d({sliceContext:s.sliceContext,data:s.data},n),r)};function g(e){{const t={...e,sliceName:e.alias};delete t.alias,delete t.__renderedByLocation;const r=(0,u.useContext)(h.Bs),n=v(e);if(Object.keys(n).length)throw new y("browser"===r.renderEnvironment,t.sliceName,n,e.__renderedByLocation);if("server"===r.renderEnvironment)return u.createElement(f,t);if("browser"===r.renderEnvironment)return u.createElement(m,t);if("engines"===r.renderEnvironment)return u.createElement(m,t);if("slices"===r.renderEnvironment){let t="";try{t=`\n\nSlice component "${r.sliceRoot.name}" (${r.sliceRoot.componentPath}) tried to render <Slice alias="${e.alias}"/>`}catch{}throw new Error(`Nested slices are not supported.${t}\n\nSee https://gatsbyjs.com/docs/reference/built-in-components/gatsby-slice#nested-slices`)}throw new Error(`Slice context "${r.renderEnvironment}" is not supported.`)}}class y extends Error{constructor(e,t,r,n){const o=Object.entries(r).map((([e,t])=>`not serializable "${t}" type passed to "${e}" prop`)).join(", "),a="SlicePropsError";let i="",s="";if(e){const e=u.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactDebugCurrentFrame.getCurrentStack().trim().split("\n").slice(1);e[0]=e[0].trim(),i="\n"+e.join("\n"),s=`Slice "${t}" was passed props that are not serializable (${o}).`}else{s=`${a}: Slice "${t}" was passed props that are not serializable (${o}).`;i=`${s}\n${(new Error).stack.trim().split("\n").slice(2).join("\n")}`}super(s),this.name=a,i?this.stack=i:Error.captureStackTrace(this,y),n&&(this.forcedLocation={...n,functionName:"Slice"})}}const v=(e,t={},r=[],n=null)=>{for(const[o,a]of Object.entries(e)){if(null==a||!n&&"children"===o)continue;const e=n?`${n}.${o}`:o;"function"==typeof a?t[e]=typeof a:"object"==typeof a&&r.indexOf(a)<=0&&(r.push(a),v(a,t,r,e))}return t};var b=r(3521);const E=n.ZP.enqueue;function w(){throw new Error("It appears like Gatsby is misconfigured. Gatsby related `graphql` calls are supposed to only be evaluated at compile time, and then compiled away. Unfortunately, something went wrong and the query was left in the compiled code.\n\nUnless your site has a complex or custom babel/Gatsby configuration this is likely a bug in Gatsby.")}},1975:function(e,t,r){"use strict";r.d(t,{uQ:function(){return u},kL:function(){return y},ZP:function(){return w},Nt:function(){return S},hs:function(){return _},jN:function(){return E},N1:function(){return b}});var n=r(904);const o=function(e){if("undefined"==typeof document)return!1;const t=document.createElement("link");try{if(t.relList&&"function"==typeof t.relList.supports)return t.relList.supports(e)}catch(r){return!1}return!1}("prefetch")?function(e,t){return new Promise(((r,n)=>{if("undefined"==typeof document)return void n();const o=document.createElement("link");o.setAttribute("rel","prefetch"),o.setAttribute("href",e),Object.keys(t).forEach((e=>{o.setAttribute(e,t[e])})),o.onload=r,o.onerror=n;(document.getElementsByTagName("head")[0]||document.getElementsByName("script")[0].parentNode).appendChild(o)}))}:function(e){return new Promise(((t,r)=>{const n=new XMLHttpRequest;n.open("GET",e,!0),n.onload=()=>{200===n.status?t():r()},n.send(null)}))},a={};var i=function(e,t){return new Promise((r=>{a[e]?r():o(e,t).then((()=>{r(),a[e]=!0})).catch((()=>{}))}))},s=r(8299),c=r(7802);const u={Error:"error",Success:"success"},l=e=>{const[t,r]=e.split("?");var n;return`/page-data/${"/"===t?"index":(n="/"===(n=t)[0]?n.slice(1):n).endsWith("/")?n.slice(0,-1):n}/page-data.json${r?`?${r}`:""}`},h=e=>e.startsWith("//");function p(e,t="GET"){return new Promise((r=>{const n=new XMLHttpRequest;n.open(t,e,!0),n.onreadystatechange=()=>{4==n.readyState&&r(n)},n.send(null)}))}const f=/bot|crawler|spider|crawling/i,d=(e,t=null,r)=>{var n;const o={componentChunkName:e.componentChunkName,path:e.path,webpackCompilationHash:e.webpackCompilationHash,matchPath:e.matchPath,staticQueryHashes:e.staticQueryHashes,getServerDataError:e.getServerDataError,slicesMap:null!==(n=e.slicesMap)&&void 0!==n?n:{}};return{component:t,head:r,json:e.result,page:o}};function m(e){return new Promise((t=>{try{const r=e.readRoot();t(r)}catch(r){if(!Object.hasOwnProperty.call(r,"_response")||!Object.hasOwnProperty.call(r,"_status"))throw r;setTimeout((()=>{m(e).then(t)}),200)}}))}const g=e=>(window.___chunkMapping[e]||[]).map((e=>""+e));class y extends class{constructor(e,t){this.pageDb=new Map,this.inFlightDb=new Map,this.staticQueryDb={},this.pageDataDb=new Map,this.partialHydrationDb=new Map,this.slicesDataDb=new Map,this.sliceInflightDb=new Map,this.slicesDb=new Map,this.isPrefetchQueueRunning=!1,this.prefetchQueued=[],this.prefetchTriggered=new Set,this.prefetchCompleted=new Set,this.loadComponent=e,(0,c.DS)(t)}inFlightNetworkRequests=new Map;memoizedGet(e){let t=this.inFlightNetworkRequests.get(e);return t||(t=p(e,"GET"),this.inFlightNetworkRequests.set(e,t)),t.then((t=>(this.inFlightNetworkRequests.delete(e),t))).catch((t=>{throw this.inFlightNetworkRequests.delete(e),t}))}setApiRunner(e){this.apiRunner=e,this.prefetchDisabled=e("disableCorePrefetching").some((e=>e))}fetchPageDataJson(e){const{pagePath:t,retries:r=0}=e,n=l(t);return this.memoizedGet(n).then((n=>{const{status:o,responseText:a}=n;if(200===o)try{const r=JSON.parse(a);if(void 0===r.path)throw new Error("not a valid pageData response");const n=t.split("?")[1];return n&&!r.path.includes(n)&&(r.path+=`?${n}`),Object.assign(e,{status:u.Success,payload:r})}catch(i){}return 404===o||200===o?"/404.html"===t||"/500.html"===t?Object.assign(e,{status:u.Error}):this.fetchPageDataJson(Object.assign(e,{pagePath:"/404.html",notFound:!0})):500===o?this.fetchPageDataJson(Object.assign(e,{pagePath:"/500.html",internalServerError:!0})):r<3?this.fetchPageDataJson(Object.assign(e,{retries:r+1})):Object.assign(e,{status:u.Error})}))}fetchPartialHydrationJson(e){const{pagePath:t,retries:r=0}=e,n=l(t).replace(".json","-rsc.json");return this.memoizedGet(n).then((n=>{const{status:o,responseText:a}=n;if(200===o)try{return Object.assign(e,{status:u.Success,payload:a})}catch(i){}return 404===o||200===o?"/404.html"===t||"/500.html"===t?Object.assign(e,{status:u.Error}):this.fetchPartialHydrationJson(Object.assign(e,{pagePath:"/404.html",notFound:!0})):500===o?this.fetchPartialHydrationJson(Object.assign(e,{pagePath:"/500.html",internalServerError:!0})):r<3?this.fetchPartialHydrationJson(Object.assign(e,{retries:r+1})):Object.assign(e,{status:u.Error})}))}loadPageDataJson(e){const t=(0,c.Cj)(e);if(this.pageDataDb.has(t)){const e=this.pageDataDb.get(t);return Promise.resolve(e)}return this.fetchPageDataJson({pagePath:t}).then((e=>(this.pageDataDb.set(t,e),e)))}loadPartialHydrationJson(e){const t=(0,c.Cj)(e);if(this.partialHydrationDb.has(t)){const e=this.partialHydrationDb.get(t);return Promise.resolve(e)}return this.fetchPartialHydrationJson({pagePath:t}).then((e=>(this.partialHydrationDb.set(t,e),e)))}loadSliceDataJson(e){if(this.slicesDataDb.has(e)){const t=this.slicesDataDb.get(e);return Promise.resolve({sliceName:e,jsonPayload:t})}return p(`/slice-data/${e}.json`,"GET").then((t=>{const r=JSON.parse(t.responseText);return this.slicesDataDb.set(e,r),{sliceName:e,jsonPayload:r}}))}findMatchPath(e){return(0,c.UD)(e)}loadPage(e){const t=(0,c.Cj)(e);if(this.pageDb.has(t)){const e=this.pageDb.get(t);return e.error?Promise.resolve({error:e.error,status:e.status}):Promise.resolve(e.payload)}if(this.inFlightDb.has(t))return this.inFlightDb.get(t);const r=[this.loadAppData(),this.loadPageDataJson(t)];const o=Promise.all(r).then((e=>{const[r,o,a]=e;if(o.status===u.Error||(null==a?void 0:a.status)===u.Error)return{status:u.Error};let i=o.payload;const{componentChunkName:c,staticQueryHashes:l=[],slicesMap:h={}}=i,p={},f=Array.from(new Set(Object.values(h))),g=e=>{if(this.slicesDb.has(e.name))return this.slicesDb.get(e.name);if(this.sliceInflightDb.has(e.name))return this.sliceInflightDb.get(e.name);const t=this.loadComponent(e.componentChunkName).then((t=>{return{component:(r=t,r&&r.default||r),sliceContext:e.result.sliceContext,data:e.result.data};var r}));return this.sliceInflightDb.set(e.name,t),t.then((t=>{this.slicesDb.set(e.name,t),this.sliceInflightDb.delete(e.name)})),t};return Promise.all(f.map((e=>this.loadSliceDataJson(e)))).then((e=>{const h=[],f=[...l];for(const{jsonPayload:t,sliceName:r}of Object.values(e)){h.push({name:r,...t});for(const e of t.staticQueryHashes)f.includes(e)||f.push(e)}const y=[Promise.all(h.map(g)),this.loadComponent(c,"head")];y.push(this.loadComponent(c));const v=Promise.all(y).then((e=>{const[t,s,c]=e;p.createdAt=new Date;for(const r of t)(!r||r instanceof Error)&&(p.status=u.Error,p.error=r);let l;if((!c||c instanceof Error)&&(p.status=u.Error,p.error=c),p.status!==u.Error){if(p.status=u.Success,!0!==o.notFound&&!0!==(null==a?void 0:a.notFound)||(p.notFound=!0),i=Object.assign(i,{webpackCompilationHash:r?r.webpackCompilationHash:""}),"string"==typeof(null==a?void 0:a.payload)){l=d(i,null,s),l.partialHydration=a.payload;const e=new ReadableStream({start(e){const t=new TextEncoder;e.enqueue(t.encode(a.payload))},pull(e){e.close()},cancel(){}});return m((0,n.createFromReadableStream)(e)).then((e=>(l.partialHydration=e,l)))}l=d(i,c,s)}return l})),b=Promise.all(f.map((e=>{if(this.staticQueryDb[e]){const t=this.staticQueryDb[e];return{staticQueryHash:e,jsonPayload:t}}return this.memoizedGet(`/page-data/sq/d/${e}.json`).then((t=>{const r=JSON.parse(t.responseText);return{staticQueryHash:e,jsonPayload:r}})).catch((()=>{throw new Error(`We couldn't load "/page-data/sq/d/${e}.json"`)}))}))).then((e=>{const t={};return e.forEach((({staticQueryHash:e,jsonPayload:r})=>{t[e]=r,this.staticQueryDb[e]=r})),t}));return Promise.all([v,b]).then((([e,r])=>{let n;return e&&(n={...e,staticQueryResults:r},p.payload=n,s.Z.emit("onPostLoadPageResources",{page:n,pageResources:n})),this.pageDb.set(t,p),p.error?{error:p.error,status:p.status}:n})).catch((e=>({error:e,status:u.Error})))}))}));return o.then((()=>{this.inFlightDb.delete(t)})).catch((e=>{throw this.inFlightDb.delete(t),e})),this.inFlightDb.set(t,o),o}loadPageSync(e,t={}){const r=(0,c.Cj)(e);if(this.pageDb.has(r)){const e=this.pageDb.get(r);if(e.payload)return e.payload;if(null!=t&&t.withErrorDetails)return{error:e.error,status:e.status}}}shouldPrefetch(e){return!!(()=>{if("connection"in navigator&&void 0!==navigator.connection){if((navigator.connection.effectiveType||"").includes("2g"))return!1;if(navigator.connection.saveData)return!1}return!0})()&&((!navigator.userAgent||!f.test(navigator.userAgent))&&!this.pageDb.has(e))}prefetch(e){if(!this.shouldPrefetch(e))return{then:e=>e(!1),abort:()=>{}};if(this.prefetchTriggered.has(e))return{then:e=>e(!0),abort:()=>{}};const t={resolve:null,reject:null,promise:null};t.promise=new Promise(((e,r)=>{t.resolve=e,t.reject=r})),this.prefetchQueued.push([e,t]);const r=new AbortController;return r.signal.addEventListener("abort",(()=>{const t=this.prefetchQueued.findIndex((([t])=>t===e));-1!==t&&this.prefetchQueued.splice(t,1)})),this.isPrefetchQueueRunning||(this.isPrefetchQueueRunning=!0,setTimeout((()=>{this._processNextPrefetchBatch()}),3e3)),{then:(e,r)=>t.promise.then(e,r),abort:r.abort.bind(r)}}_processNextPrefetchBatch(){(window.requestIdleCallback||(e=>setTimeout(e,0)))((()=>{const e=this.prefetchQueued.splice(0,4),t=Promise.all(e.map((([e,t])=>(this.prefetchTriggered.has(e)||(this.apiRunner("onPrefetchPathname",{pathname:e}),this.prefetchTriggered.add(e)),this.prefetchDisabled?t.resolve(!1):this.doPrefetch((0,c.Cj)(e)).then((()=>{this.prefetchCompleted.has(e)||(this.apiRunner("onPostPrefetchPathname",{pathname:e}),this.prefetchCompleted.add(e)),t.resolve(!0)}))))));this.prefetchQueued.length?t.then((()=>{setTimeout((()=>{this._processNextPrefetchBatch()}),3e3)})):this.isPrefetchQueueRunning=!1}))}doPrefetch(e){const t=l(e);return i(t,{crossOrigin:"anonymous",as:"fetch"}).then((()=>this.loadPageDataJson(e)))}hovering(e){this.loadPage(e)}getResourceURLsForPathname(e){const t=(0,c.Cj)(e),r=this.pageDataDb.get(t);if(r){const e=d(r.payload);return[...g(e.page.componentChunkName),l(t)]}return null}isPageNotFound(e){const t=(0,c.Cj)(e),r=this.pageDb.get(t);return!r||r.notFound}loadAppData(e=0){return this.memoizedGet("/page-data/app-data.json").then((t=>{const{status:r,responseText:n}=t;let o;if(200!==r&&e<3)return this.loadAppData(e+1);if(200===r)try{const e=JSON.parse(n);if(void 0===e.webpackCompilationHash)throw new Error("not a valid app-data response");o=e}catch(a){}return o}))}}{constructor(e,t,r){super(((t,r="components")=>{if(!e[r="components"][t])throw new Error(`We couldn't find the correct component chunk with the name "${t}"`);return e[r][t]().catch((e=>e))}),t),r&&this.pageDataDb.set((0,c.Cj)(r.path),{pagePath:r.path,payload:r,status:"success"})}doPrefetch(e){return super.doPrefetch(e).then((e=>{if(e.status!==u.Success)return Promise.resolve();const t=e.payload,r=t.componentChunkName,n=g(r);return Promise.all(n.map(i)).then((()=>t))}))}loadPageDataJson(e){return super.loadPageDataJson(e).then((t=>t.notFound?h(e)?t:p(e,"HEAD").then((e=>200===e.status?{status:u.Error}:t)):t))}loadPartialHydrationJson(e){return super.loadPartialHydrationJson(e).then((t=>t.notFound?h(e)?t:p(e,"HEAD").then((e=>200===e.status?{status:u.Error}:t)):t))}}let v;const b=e=>{v=e},E={enqueue:e=>v.prefetch(e),getResourceURLsForPathname:e=>v.getResourceURLsForPathname(e),loadPage:e=>v.loadPage(e),loadPageSync:(e,t={})=>v.loadPageSync(e,t),prefetch:e=>v.prefetch(e),isPageNotFound:e=>v.isPageNotFound(e),hovering:e=>v.hovering(e),loadAppData:()=>v.loadAppData()};var w=E;function _(){return v?v.staticQueryDb:{}}function S(){return v?v.slicesDb:{}}},4779:function(e,t,r){"use strict";r.d(t,{Z:function(){return w}});var n=r(7294),o=r(5697),a=r.n(o),i=r(3092),s=r(7802),c=r(4160),u=r(7896),l=r(4941);function h({children:e,callback:t}){return(0,n.useEffect)((()=>{t()})),e}const p=["link","meta","style","title","base","noscript","script","html","body"];function f(e,t){if(e instanceof HTMLElement&&t instanceof HTMLElement){const r=t.getAttribute("nonce");if(r&&!e.getAttribute("nonce")){const n=t.cloneNode(!0);return n.setAttribute("nonce",""),n.nonce=r,r===e.nonce&&e.isEqualNode(n)}}return e.isEqualNode(t)}const d=document.createElement("div"),m=new Set,g=new Set,y=(e,t,r,n)=>{const o=document.getElementsByTagName(e)[0];o&&(o.setAttribute(t,r),n.add(t))},v=()=>{const e=[],t=new Map;for(const s of d.childNodes){var r,n;const a=s.nodeName.toLowerCase(),i=null===(r=s.attributes)||void 0===r||null===(n=r.id)||void 0===n?void 0:n.value;if(!p.includes(a))continue;if("html"===a){for(const e of s.attributes)y("html",e.name,e.value,m);continue}if("body"===a){for(const e of s.attributes)y("body",e.name,e.value,g);continue}let c=s.cloneNode(!0);if(c.setAttribute("data-gatsby-head",!0),"script"===c.nodeName.toLowerCase()){const e=document.createElement("script");for(const t of c.attributes)e.setAttribute(t.name,t.value);e.innerHTML=c.innerHTML,c=e}if(i){if(t.has(i)){var o;const r=t.get(i);null===(o=e[r].parentNode)||void 0===o||o.removeChild(e[r]),e[r]=c;continue}e.push(c),t.set(i,e.length-1)}else e.push(c)}const a=document.querySelectorAll("[data-gatsby-head]");if(0===a.length)return void document.head.append(...e);const i=[];!function({oldNodes:e,newNodes:t,onStale:r,onNew:n}){for(const o of e){const e=t.findIndex((e=>f(e,o)));-1===e?r(o):t.splice(e,1)}for(const o of t)n(o)}({oldNodes:a,newNodes:e,onStale:e=>e.parentNode.removeChild(e),onNew:e=>i.push(e)}),document.head.append(...i)};function b({pageComponent:e,staticQueryResults:t,pageComponentProps:r}){(0,n.useEffect)((()=>{if(null!=e&&e.Head){!function(e){if("function"!=typeof e)throw new Error(`Expected "Head" export to be a function got "${typeof e}".`)}(e.Head);const{render:a}=(0,l.U)(),i=e.Head;a(n.createElement(h,{callback:v},n.createElement(c.StaticQueryContext.Provider,{value:t},n.createElement(u.LocationProvider,null,n.createElement(i,{location:{pathname:(o=r).location.pathname},params:o.params,data:o.data||{},serverData:o.serverData,pageContext:o.pageContext})))),d)}var o;return()=>{(()=>{const e=document.querySelectorAll("[data-gatsby-head]");for(const t of e)t.parentNode.removeChild(t)})(),m.forEach((e=>{document.getElementsByTagName("html")[0].removeAttribute(e)})),g.forEach((e=>{document.getElementsByTagName("body")[0].removeAttribute(e)}))}}))}function E(e){const t={...e,params:{...(0,s.GA)(e.location.pathname),...e.pageResources.json.pageContext.__params}};let r;var o;r=e.pageResources.partialHydration?e.pageResources.partialHydration:(0,n.createElement)((o=e.pageResources.component)&&o.default||o,{...t,key:e.path||e.pageResources.page.path});b({pageComponent:e.pageResources.head,staticQueryResults:e.pageResources.staticQueryResults,pageComponentProps:t});return(0,i.h)("wrapPageElement",{element:r,props:t},r,(({result:e})=>({element:e,props:t}))).pop()}E.propTypes={location:a().object.isRequired,pageResources:a().object.isRequired,data:a().object,pageContext:a().object.isRequired};var w=E},5824:function(e,t,r){"use strict";var n=r(3092),o=r(7294),a=r(7896),i=r(9679),s=r(1757),c=r(8995),u=r(5697),l=r.n(u),h=r(1975),p=r(6073),f=r(8299);const d={id:"gatsby-announcer",style:{position:"absolute",top:0,width:1,height:1,padding:0,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",border:0},"aria-live":"assertive","aria-atomic":"true"};var m=r(1562);function g(){return g=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},g.apply(this,arguments)}function y(e){const t=(0,p.J)(e),{hash:r,search:n}=window.location;return null!=t&&(window.___replace(t.toPath+n+r),!0)}let v="";window.addEventListener("unhandledrejection",(e=>{/loading chunk \d* failed./i.test(e.reason)&&v&&(window.location.pathname=v)}));const b=(e,t)=>{y(e.pathname)||(v=e.pathname,(0,n.h)("onPreRouteUpdate",{location:e,prevLocation:t}))},E=(e,t)=>{y(e.pathname)||(0,n.h)("onRouteUpdate",{location:e,prevLocation:t})},w=(e,t={})=>{if("number"==typeof e)return void a.globalHistory.navigate(e);const{pathname:r,search:o,hash:i}=(0,m.cP)(e),s=(0,p.J)(r);if(s&&(e=s.toPath+o+i),window.___swUpdated)return void(window.location=r+o+i);const c=setTimeout((()=>{f.Z.emit("onDelayedLoadPageResources",{pathname:r}),(0,n.h)("onRouteUpdateDelayed",{location:window.location})}),1e3);h.ZP.loadPage(r+o).then((n=>{if(!n||n.status===h.uQ.Error)return window.history.replaceState({},"",location.href),window.location=r,void clearTimeout(c);n&&n.page.webpackCompilationHash!==window.___webpackCompilationHash&&("serviceWorker"in navigator&&null!==navigator.serviceWorker.controller&&"activated"===navigator.serviceWorker.controller.state&&navigator.serviceWorker.controller.postMessage({gatsbyApi:"clearPathResources"}),window.location=r+o+i),(0,a.navigate)(e,t),clearTimeout(c)}))};function _(e,{location:t}){const{pathname:r,hash:o}=t,a=(0,n.h)("shouldUpdateScroll",{prevRouterProps:e,pathname:r,routerProps:{location:t},getSavedScrollPosition:e=>[0,this._stateStorage.read(e,e.key)]});if(a.length>0)return a[a.length-1];if(e){const{location:{pathname:t}}=e;if(t===r)return o?decodeURI(o.slice(1)):[0,0]}return!0}class S extends o.Component{constructor(e){super(e),this.announcementRef=o.createRef()}componentDidUpdate(e,t){requestAnimationFrame((()=>{let e=`new page at ${this.props.location.pathname}`;document.title&&(e=document.title);const t=document.querySelectorAll("#gatsby-focus-wrapper h1");t&&t.length&&(e=t[0].textContent);const r=`Navigated to ${e}`;if(this.announcementRef.current){this.announcementRef.current.innerText!==r&&(this.announcementRef.current.innerText=r)}}))}render(){return o.createElement("div",g({},d,{ref:this.announcementRef}))}}const T=(e,t)=>{var r,n;return e.href!==t.href||(null==e||null===(r=e.state)||void 0===r?void 0:r.key)!==(null==t||null===(n=t.state)||void 0===n?void 0:n.key)};class P extends o.Component{constructor(e){super(e),b(e.location,null)}componentDidMount(){E(this.props.location,null)}shouldComponentUpdate(e){return!!T(e.location,this.props.location)&&(b(this.props.location,e.location),!0)}componentDidUpdate(e){T(e.location,this.props.location)&&E(this.props.location,e.location)}render(){return o.createElement(o.Fragment,null,this.props.children,o.createElement(S,{location:location}))}}P.propTypes={location:l().object.isRequired};var R=r(4779),C=r(5418);function A(e,t){for(var r in e)if(!(r in t))return!0;for(var n in t)if(e[n]!==t[n])return!0;return!1}class O extends o.Component{constructor(e){super();const{location:t,pageResources:r}=e;this.state={location:{...t},pageResources:r||h.ZP.loadPageSync(t.pathname+t.search,{withErrorDetails:!0})}}static getDerivedStateFromProps({location:e},t){if(t.location.href!==e.href){return{pageResources:h.ZP.loadPageSync(e.pathname+e.search,{withErrorDetails:!0}),location:{...e}}}return{location:{...e}}}loadResources(e){h.ZP.loadPage(e).then((t=>{t&&t.status!==h.uQ.Error?this.setState({location:{...window.location},pageResources:t}):(window.history.replaceState({},"",location.href),window.location=e)}))}shouldComponentUpdate(e,t){return t.pageResources?this.state.pageResources!==t.pageResources||(this.state.pageResources.component!==t.pageResources.component||(this.state.pageResources.json!==t.pageResources.json||(!(this.state.location.key===t.location.key||!t.pageResources.page||!t.pageResources.page.matchPath&&!t.pageResources.page.path)||function(e,t,r){return A(e.props,t)||A(e.state,r)}(this,e,t)))):(this.loadResources(e.location.pathname+e.location.search),!1)}render(){return this.props.children(this.state)}}var L=O,N=r(1505),H=r(4941);function k(){return k=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},k.apply(this,arguments)}const I=new h.kL(C,[],window.pageData);(0,h.N1)(I),I.setApiRunner(n.h);const{render:B,hydrate:D}=(0,H.U)();window.asyncRequires=C,window.___emitter=f.Z,window.___loader=h.jN,a.globalHistory.listen((e=>{e.location.action=e.action})),window.___push=e=>w(e,{replace:!1}),window.___replace=e=>w(e,{replace:!0}),window.___navigate=(e,t)=>w(e,t);const M="gatsby-reload-compilation-hash-match";(0,n.I)("onClientEntry").then((()=>{(0,n.h)("registerServiceWorker").filter(Boolean).length>0&&r(9939);const e=e=>o.createElement(a.BaseContext.Provider,{value:{baseuri:"/",basepath:"/"}},o.createElement(R.Z,e)),t=o.createContext({}),u={renderEnvironment:"browser"};class l extends o.Component{render(){const{children:e}=this.props;return o.createElement(a.Location,null,(({location:r})=>o.createElement(L,{location:r},(({pageResources:r,location:n})=>{const a=(0,h.hs)(),i=(0,h.Nt)();return o.createElement(s.B9.Provider,{value:a},o.createElement(c.Bs.Provider,{value:u},o.createElement(c.m3.Provider,{value:i},o.createElement(c.u0.Provider,{value:r.page.slicesMap},o.createElement(t.Provider,{value:{pageResources:r,location:n}},e)))))}))))}}class p extends o.Component{render(){return o.createElement(t.Consumer,null,(({pageResources:t,location:r})=>o.createElement(P,{location:r},o.createElement(i.$C,{location:r,shouldUpdateScroll:_},o.createElement(a.Router,{basepath:"",location:r,id:"gatsby-focus-wrapper"},o.createElement(e,k({path:"/404.html"===t.page.path||"/500.html"===t.page.path?(0,N.Z)(r.pathname,""):encodeURI((t.page.matchPath||t.page.path).split("?")[0])},this.props,{location:r,pageResources:t},t.json)))))))}}const{pagePath:f,location:d}=window;f&&""+f!==d.pathname+(f.includes("?")?d.search:"")&&!(I.findMatchPath((0,N.Z)(d.pathname,""))||f.match(/^\/(404|500)(\/?|.html)$/)||f.match(/^\/offline-plugin-app-shell-fallback\/?$/))&&(0,a.navigate)(""+f+(f.includes("?")?"":d.search)+d.hash,{replace:!0});const m=()=>{try{return sessionStorage}catch{return null}};h.jN.loadPage(d.pathname+d.search).then((e=>{var t;const r=m();if(null!=e&&null!==(t=e.page)&&void 0!==t&&t.webpackCompilationHash&&e.page.webpackCompilationHash!==window.___webpackCompilationHash&&("serviceWorker"in navigator&&null!==navigator.serviceWorker.controller&&"activated"===navigator.serviceWorker.controller.state&&navigator.serviceWorker.controller.postMessage({gatsbyApi:"clearPathResources"}),r)){if(!("1"===r.getItem(M)))return r.setItem(M,"1"),void window.location.reload(!0)}if(r&&r.removeItem(M),!e||e.status===h.uQ.Error){const t=`page resources for ${d.pathname} not found. Not rendering React`;if(e&&e.error)throw console.error(t),e.error;throw new Error(t)}const a=(0,n.h)("wrapRootElement",{element:o.createElement(p,null)},o.createElement(p,null),(({result:e})=>({element:e}))).pop(),i=function(){const e=o.useRef(!1);return o.useEffect((()=>{e.current||(e.current=!0,performance.mark&&performance.mark("onInitialClientRender"),(0,n.h)("onInitialClientRender"))}),[]),o.createElement(l,null,a)},s=document.getElementById("gatsby-focus-wrapper");let c=B;s&&s.children.length&&(c=D);const u=(0,n.h)("replaceHydrateFunction",void 0,c)[0];function f(){const e="undefined"!=typeof window?document.getElementById("___gatsby"):null;u(o.createElement(i,null),e)}const g=document;if("complete"===g.readyState||"loading"!==g.readyState&&!g.documentElement.doScroll)setTimeout((function(){f()}),0);else{const e=function(){g.removeEventListener("DOMContentLoaded",e,!1),window.removeEventListener("load",e,!1),f()};g.addEventListener("DOMContentLoaded",e,!1),window.addEventListener("load",e,!1)}}))}))},224:function(e,t,r){"use strict";r.r(t);var n=r(7294),o=r(5697),a=r.n(o),i=r(1975),s=r(4779);const c=({location:e})=>{const t=i.ZP.loadPageSync(e.pathname);return t?n.createElement(s.Z,{location:e,pageResources:t,...t.json}):null};c.propTypes={location:a().shape({pathname:a().string.isRequired}).isRequired},t.default=c},2743:function(e,t,r){var n;e.exports=(n=r(224))&&n.default||n},4941:function(e,t,r){"use strict";r.d(t,{U:function(){return o}});const n=new WeakMap;function o(){const e=r(745);return{render:(t,r)=>{let o=n.get(r);o||n.set(r,o=e.createRoot(r)),o.render(t)},hydrate:(t,r)=>e.hydrateRoot(r,t)}}},6073:function(e,t,r){"use strict";r.d(t,{J:function(){return a}});const n=new Map,o=new Map;function a(e){let t=n.get(e);return t||(t=o.get(e.toLowerCase())),t}[].forEach((e=>{e.ignoreCase?o.set(e.fromPath,e):n.set(e.fromPath,e)}))},9939:function(e,t,r){"use strict";r.r(t);var n=r(3092);"https:"!==window.location.protocol&&"localhost"!==window.location.hostname?console.error("Service workers can only be used over HTTPS, or on localhost for development"):"serviceWorker"in navigator&&navigator.serviceWorker.register("/sw.js").then((function(e){e.addEventListener("updatefound",(()=>{(0,n.h)("onServiceWorkerUpdateFound",{serviceWorker:e});const t=e.installing;console.log("installingWorker",t),t.addEventListener("statechange",(()=>{switch(t.state){case"installed":navigator.serviceWorker.controller?(window.___swUpdated=!0,(0,n.h)("onServiceWorkerUpdateReady",{serviceWorker:e}),window.___failedResources&&(console.log("resources failed, SW updated - reloading"),window.location.reload())):(console.log("Content is now available offline!"),(0,n.h)("onServiceWorkerInstalled",{serviceWorker:e}));break;case"redundant":console.error("The installing service worker became redundant."),(0,n.h)("onServiceWorkerRedundant",{serviceWorker:e});break;case"activated":(0,n.h)("onServiceWorkerActive",{serviceWorker:e})}}))}))})).catch((function(e){console.error("Error during service worker registration:",e)}))},8995:function(e,t,r){"use strict";r.d(t,{Bs:function(){return a},Db:function(){return s},m3:function(){return o},u0:function(){return i}});var n=r(7294);const o=n.createContext({}),a=n.createContext({}),i=n.createContext({}),s=n.createContext({})},1757:function(e,t,r){"use strict";r.d(t,{i1:function(){return l},B9:function(){return i},K2:function(){return h}});var n=r(7294),o=r(5697),a=r.n(o);const i=(s="StaticQuery",c={},n.createServerContext?((e,t=null)=>(globalThis.__SERVER_CONTEXT||(globalThis.__SERVER_CONTEXT={}),globalThis.__SERVER_CONTEXT[e]||(globalThis.__SERVER_CONTEXT[e]=n.createServerContext(e,t)),globalThis.__SERVER_CONTEXT[e]))(s,c):n.createContext(c));var s,c;function u({staticQueryData:e,data:t,query:r,render:o}){const a=t?t.data:e[r]&&e[r].data;return n.createElement(n.Fragment,null,a&&o(a),!a&&n.createElement("div",null,"Loading (StaticQuery)"))}const l=e=>{const{data:t,query:r,render:o,children:a}=e;return n.createElement(i.Consumer,null,(e=>n.createElement(u,{data:t,query:r,render:o||a,staticQueryData:e})))};l.propTypes={data:a().object,query:a().string.isRequired,render:a().func,children:a().func};const h=e=>{var t;n.useContext;const r=n.useContext(i);if(isNaN(Number(e)))throw new Error(`useStaticQuery was called with a string but expects to be called using \`graphql\`. Try this:\n\nimport { useStaticQuery, graphql } from 'gatsby';\n\nuseStaticQuery(graphql\`${e}\`);\n`);if(null!==(t=r[e])&&void 0!==t&&t.data)return r[e].data;throw new Error("The result of this StaticQuery could not be fetched.\n\nThis is likely a bug in Gatsby and if refreshing the page does not fix it, please open an issue in https://github.com/gatsbyjs/gatsby/issues")}},1505:function(e,t,r){"use strict";function n(e,t=""){return t?e===t?"/":e.startsWith(`${t}/`)?e.slice(t.length):e:e}r.d(t,{Z:function(){return n}})},6052:function(e,t){"use strict";t.onRouteUpdate=function(e,t){var r=e.location;if(void 0===t&&(t={}),"function"!=typeof gtag)return null;var n=t.pluginConfig||{};if(r&&void 0!==window.excludeGtagPaths&&window.excludeGtagPaths.some((function(e){return e.test(r.pathname)})))return null;var o=function(){var e=r?r.pathname+r.search+r.hash:void 0;window.gtag("event","page_view",{page_path:e})},a=n.delayOnRouteUpdate,i=void 0===a?0:a;return"requestAnimationFrame"in window?requestAnimationFrame((function(){requestAnimationFrame((function(){return setTimeout(o,i)}))})):setTimeout(o,32+i),null}},9608:function(e,t,r){"use strict";r.r(t),r.d(t,{onRouteUpdate:function(){return a}});var n=r(4160),o=r(292);const a=function(e,t){let{location:r}=e;{const{localize:e}=t,a=(0,o.Z)(r.pathname,e,!0),i=document.head.querySelector('link[rel="manifest"]');i&&i.setAttribute("href",(0,n.withPrefix)(a))}}},292:function(e,t,r){"use strict";t.Z=void 0;var n=r(4160);t.Z=function(e,t,r){void 0===r&&(r=!1);const o="manifest.webmanifest";if(!Array.isArray(t))return o;const a=t.find((t=>{let o=t.start_url;return r&&(o=(0,n.withPrefix)(o)),e.startsWith(o)}));return a?"manifest_"+a.lang+".webmanifest":o}},9684:function(e,t){"use strict";t.registerServiceWorker=function(){return"true"!=={}.GATSBY_IS_PREVIEW};var r=/^(stylesheet|preload)$/,n=[];function o(e,t){if(!window.___swUpdated&&"serviceWorker"in navigator){var r=navigator.serviceWorker;if(null===r.controller)n.push(e);else{var o=t(e);r.controller.postMessage({gatsbyApi:"setPathResources",path:e,resources:o})}}}t.onServiceWorkerActive=function(e){var t=e.getResourceURLsForPathname,o=e.serviceWorker;if("true"!=={}.GATSBY_IS_PREVIEW)if(window.___swUpdated)o.active.postMessage({gatsbyApi:"clearPathResources"});else{var a=document.querySelectorAll("\n head > script[src],\n head > link[href],\n head > style[data-href]\n "),i=[].slice.call(a).filter((function(e){return"LINK"!==e.tagName||r.test(e.getAttribute("rel"))})).map((function(e){return e.src||e.href||e.getAttribute("data-href")})),s=[];n.forEach((function(e){var r=t(e);s.push.apply(s,r),o.active.postMessage({gatsbyApi:"setPathResources",path:e,resources:r})})),[].concat(i,s).forEach((function(e){var t=document.createElement("link");t.rel="prefetch",t.href=e,t.onload=t.remove,t.onerror=t.remove,document.head.appendChild(t)}))}},t.onRouteUpdate=function(e){var t=e.location,r=e.getResourceURLsForPathname;o(t.pathname.replace("",""),r),"serviceWorker"in navigator&&null!==navigator.serviceWorker.controller&&navigator.serviceWorker.controller.postMessage({gatsbyApi:"enableOfflineShell"})},t.onPostPrefetchPathname=function(e){o(e.pathname,e.getResourceURLsForPathname)}},855:function(e,t){"use strict";t.DEFAULT_OPTIONS={maxWidth:650,wrapperStyle:"",backgroundColor:"white",linkImagesToOriginal:!0,showCaptions:!1,markdownCaptions:!1,withWebp:!1,withAvif:!1,tracedSVG:!1,loading:"lazy",decoding:"async",disableBgImageOnAlpha:!1,disableBgImage:!1},t.EMPTY_ALT="GATSBY_EMPTY_ALT",t.imageClass="gatsby-resp-image-image",t.imageWrapperClass="gatsby-resp-image-wrapper",t.imageBackgroundClass="gatsby-resp-image-background-image"},2154:function(e,t,r){"use strict";var n=r(855),o=n.DEFAULT_OPTIONS,a=n.imageClass,i=n.imageBackgroundClass,s=n.imageWrapperClass;t.onRouteUpdate=function(e,t){for(var r=Object.assign({},o,t),n=document.querySelectorAll("."+s),c=function(){var e=n[u],t=e.querySelector("."+i),o=e.querySelector("."+a),s=function(){t.style.transition="opacity 0.5s 0.5s",o.style.transition="opacity 0.5s",c()},c=function e(){t.style.opacity=0,o.style.opacity=1,o.style.color="inherit",o.style.boxShadow="inset 0px 0px 0px 400px "+r.backgroundColor,o.removeEventListener("load",s),o.removeEventListener("error",e)};o.style.opacity=0,o.addEventListener("load",s),o.addEventListener("error",c),o.complete&&c()},u=0;u<n.length;u++)c()}},5906:function(e,t,r){"use strict";r.r(t),r.d(t,{shouldUpdateScroll:function(){return u},wrapPageElement:function(){return c}});var n=r(7294),o=r(199),a=r(6863);r(5587);var i=({pageLocale:e,messages:t,children:r})=>{const i=t;return n.createElement(n.Fragment,null,n.createElement(o.Z,{pageLocale:e,messages:i},n.createElement(a.Z,null,r)))};function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},s.apply(this,arguments)}var c=({element:e,props:t})=>{const{locale:r}=t.pageContext,{messages:o}=t.pageContext.localeContext;return n.createElement(i,s({pageLocale:r,messages:o},t),e)};var u=({routerProps:{location:e},getSavedScrollPosition:t})=>{if(e.hash)return!1;if("PUSH"===e.action)window.setTimeout((()=>window.scrollTo(0,0)),20);else{const r=t(e);window.setTimeout((()=>window.scrollTo(...r||[0,0])),20)}return!1}},6274:function(e,t,r){"use strict";r.d(t,{k:function(){return n}});r(8763),r(5547);const n={en:{id:"en",default:!0,path:"",direction:"ltr",title:"English",emoji:"🇬🇧",dateFormat:"DD/MM/YYYY",regions:["en-US","en_GB"]},fa:{id:"fa",default:!1,path:"fa",direction:"rtl",title:"فارسی",emoji:"🇮🇷",dateFormat:"DD.MM.YYYY",regions:["fa_IR","fa_AF"]}}},5587:function(e,t,r){"use strict";function n(e={},t=""){return Object.keys(e).reduce(((r,o)=>{const a=e[o],i=t?`${t}.${o}`:o;return"string"==typeof a?r[i]=a:Object.assign(r,n(a,i)),r}),{})}r.d(t,{s:function(){return a}});var o={meta:{title:"Ghost",desc:"The professional publishing platform"},notFound:{title:"Page not found",goBack:"Go to the front page →"},navigation:{home:"Home",about:"About",author:"Author",tag:"Tag",subscribe:"Subscribe"},footer:{copyright:" © ",latest:"Latest Posts",facebook:"Facebook"},subscribe:{title:"Subscribe to Ghost",desc:"\tStay up to date! Get all the latest greatest posts delivered straight to your inbox",button:"Subscribe",placeholder:"[email protected]",error:"Please enter a valid email address!",success:"Great!",confirm:"Check your inbox and click the link to confirm your subscription.",subscribed:"You are already subscribed!",notification:{success:"You've successfully subscribed !",failure:"Could not sign up! Invalid sign up link."}},posts:{timeToRead:"Min Read",seperator:",",moreByAuthor:"Read more by",moreByTag:"Read more in",seeAll:"See all {num, plural, one {# post} other {# posts}} →",collection:"A collection of {num, plural, one {# post} other {# posts}} "},authors:{ghost:{title:"Ghost",bio:"Bio written for Ghost",location:"Place written for Ghost"},another:{title:"Another",bio:"Bio written for Another",location:"Place written for Another"}},tags:{speeches:{title:"Speeches",desc:"Speeches Description"},"getting-started":{title:"Getting Started",desc:"Getting Started Description"},source:{title:"Source",desc:"Source Description"}}};const a={fa:n({meta:{title:"گوست",desc:"پلتفرم انتشار"},notFound:{title:"صفحه مورد نظر پیدا نشد",goBack:"بازگشت به صفحه اصلی"},navigation:{home:"خانه",about:"دربارهما",author:"نویسنده",tag:"تگ",subscribe:"اشتراک"},footer:{copyright:" © ",latest:"آخرین پستها",facebook:"فیسبوک"},subscribe:{title:"اشتراک به گوست",desc:"\tبه روز باشید و آخرین اخبار را در ای-میل خود دریافت کنید",button:"اشتراک",placeholder:"[email protected]",error:"لطفا نشانی پست الکترونیکی خود را درست وارد نمایید!",success:"موفق! ",confirm:"پست الکترونیکی خود را چک نمایید و اشتراک خود را تایید کنید",subscribed:"شما در حال حاضر اشتراک دارید.",notification:{success:"اشتراک موفقیت آمیز بود",failure:"خطی در اشتراک"}},posts:{timeToRead:"دقیقه مطالعه",seperator:"،",moreByAuthor:"مطالب بیشتر از",moreByTag:"مطالب بیشتر درباره",seeAll:"همه\n\t\t{num, plural,\n\t\tone {# پست}\n\t\tother {# پست}}\n\t\tرا مشاهده کنید\n\t\t.",collection:"مجموعهای از\n\t\t{num, plural,\n\t\tone {# پست}\n\t\tother {# پست}}\n\t\t."},authors:{ghost:{title:"روح",bio:"بیو برای Ghost نوشته شده است",location:"مکانی که برای Ghost نوشته شده است"},another:{title:"یکی دیگر",bio:"بیو برای دیگری نوشت",location:"مکانی که برای دیگری نوشته شده است"}},tags:{speeches:{title:"سخنرانی",desc:"توضیحات سخنرانی"},"getting-started":{title:"شروع",desc:"شروع کردن توضیح"},source:{title:"سورس",desc:"توضیحات سورس"}}}),en:n(o)}},199:function(e,t,r){"use strict";r.d(t,{R:function(){return Y},Z:function(){return z}});var n=r(7294),o=r(655),a=r(4806),i=r(680),s=r(5687),c=r(6284),u=r(8222),l=r(9943);function h(e,t){return Object.keys(e).reduce((function(r,n){return r[n]=(0,o.pi)({timeZone:t},e[n]),r}),{})}function p(e,t){return Object.keys((0,o.pi)((0,o.pi)({},e),t)).reduce((function(r,n){return r[n]=(0,o.pi)((0,o.pi)({},e[n]||{}),t[n]||{}),r}),{})}function f(e,t){if(!t)return e;var r=c.C.formats;return(0,o.pi)((0,o.pi)((0,o.pi)({},r),e),{date:p(h(r.date,t),h(e.date||{},t)),time:p(h(r.time,t),h(e.time||{},t))})}var d=function(e,t,r,n,a){var i=e.locale,c=e.formats,h=e.messages,p=e.defaultLocale,d=e.defaultFormats,m=e.fallbackOnEmptyString,g=e.onError,y=e.timeZone,v=e.defaultRichTextElements;void 0===r&&(r={id:""});var b=r.id,E=r.defaultMessage;(0,s.kG)(!!b,"[@formatjs/intl] An `id` must be provided to format a message. You can either:\n1. Configure your build toolchain with [babel-plugin-formatjs](https://formatjs.io/docs/tooling/babel-plugin)\nor [@formatjs/ts-transformer](https://formatjs.io/docs/tooling/ts-transformer) OR\n2. Configure your `eslint` config to include [eslint-plugin-formatjs](https://formatjs.io/docs/tooling/linter#enforce-id)\nto autofix this issue");var w=String(b),_=h&&Object.prototype.hasOwnProperty.call(h,w)&&h[w];if(Array.isArray(_)&&1===_.length&&_[0].type===l.wD.literal)return _[0].value;if(!n&&_&&"string"==typeof _&&!v)return _.replace(/'\{(.*?)\}'/gi,"{$1}");if(n=(0,o.pi)((0,o.pi)({},v),n||{}),c=f(c,y),d=f(d,y),!_){if(!1===m&&""===_)return _;if((!E||i&&i.toLowerCase()!==p.toLowerCase())&&g(new u.$6(r,i)),E)try{return t.getMessageFormat(E,p,d,a).format(n)}catch(S){return g(new u.X9('Error formatting default message for: "'.concat(w,'", rendering default message verbatim'),i,r,S)),"string"==typeof E?E:w}return w}try{return t.getMessageFormat(_,i,c,(0,o.pi)({formatters:t},a||{})).format(n)}catch(S){g(new u.X9('Error formatting message: "'.concat(w,'", using ').concat(E?"default message":"id"," as fallback."),i,r,S))}if(E)try{return t.getMessageFormat(E,p,d,a).format(n)}catch(S){g(new u.X9('Error formatting the default message for: "'.concat(w,'", rendering message verbatim'),i,r,S))}return"string"==typeof _?_:"string"==typeof E?E:w},m=r(2644),g=["style","currency","currencyDisplay","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay","numberingSystem"];function y(e,t,r){var n=e.locale,o=e.formats,a=e.onError;void 0===r&&(r={});var i=r.format,s=i&&(0,m.TB)(o,"number",i,a)||{};return t(n,(0,m.L6)(r,g,s))}function v(e,t,r,n){void 0===n&&(n={});try{return y(e,t,n).format(r)}catch(o){e.onError(new u.Rw(u.bc.FORMAT_ERROR,"Error formatting number.",o))}return String(r)}function b(e,t,r,n){void 0===n&&(n={});try{return y(e,t,n).formatToParts(r)}catch(o){e.onError(new u.Rw(u.bc.FORMAT_ERROR,"Error formatting number.",o))}return[]}var E=r(1050),w=["numeric","style"];function _(e,t,r,n,o){void 0===o&&(o={}),n||(n="second"),Intl.RelativeTimeFormat||e.onError(new E.u_('Intl.RelativeTimeFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-relativetimeformat"\n',E.jK.MISSING_INTL_API));try{return function(e,t,r){var n=e.locale,o=e.formats,a=e.onError;void 0===r&&(r={});var i=r.format,s=!!i&&(0,m.TB)(o,"relative",i,a)||{};return t(n,(0,m.L6)(r,w,s))}(e,t,o).format(r,n)}catch(a){e.onError(new u.Qe("Error formatting relative time.",e.locale,a))}return String(r)}var S=["formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName","hourCycle","dateStyle","timeStyle","calendar","numberingSystem","fractionalSecondDigits"];function T(e,t,r,n){var a=e.locale,i=e.formats,s=e.onError,c=e.timeZone;void 0===n&&(n={});var u=n.format,l=(0,o.pi)((0,o.pi)({},c&&{timeZone:c}),u&&(0,m.TB)(i,t,u,s)),h=(0,m.L6)(n,S,l);return"time"!==t||h.hour||h.minute||h.second||h.timeStyle||h.dateStyle||(h=(0,o.pi)((0,o.pi)({},h),{hour:"numeric",minute:"numeric"})),r(a,h)}function P(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var o=r[0],a=r[1],i=void 0===a?{}:a,s="string"==typeof o?new Date(o||0):o;try{return T(e,"date",t,i).format(s)}catch(c){e.onError(new u.Rw(u.bc.FORMAT_ERROR,"Error formatting date.",c))}return String(s)}function R(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var o=r[0],a=r[1],i=void 0===a?{}:a,s="string"==typeof o?new Date(o||0):o;try{return T(e,"time",t,i).format(s)}catch(c){e.onError(new u.Rw(u.bc.FORMAT_ERROR,"Error formatting time.",c))}return String(s)}function C(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var o=r[0],a=r[1],i=r[2],s=void 0===i?{}:i,c=e.timeZone,l=e.locale,h=e.onError,p=(0,m.L6)(s,S,c?{timeZone:c}:{});try{return t(l,p).formatRange(o,a)}catch(f){h(new u.Rw(u.bc.FORMAT_ERROR,"Error formatting date time range.",f))}return String(o)}function A(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var o=r[0],a=r[1],i=void 0===a?{}:a,s="string"==typeof o?new Date(o||0):o;try{return T(e,"date",t,i).formatToParts(s)}catch(c){e.onError(new u.Rw(u.bc.FORMAT_ERROR,"Error formatting date.",c))}return[]}function O(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var o=r[0],a=r[1],i=void 0===a?{}:a,s="string"==typeof o?new Date(o||0):o;try{return T(e,"time",t,i).formatToParts(s)}catch(c){e.onError(new u.Rw(u.bc.FORMAT_ERROR,"Error formatting time.",c))}return[]}var L=["type"];function N(e,t,r,n){var o=e.locale,a=e.onError;void 0===n&&(n={}),Intl.PluralRules||a(new E.u_('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',E.jK.MISSING_INTL_API));var i=(0,m.L6)(n,L);try{return t(o,i).select(r)}catch(s){a(new u.Qe("Error formatting plural.",o,s))}return"other"}var H=["type","style"],k=Date.now();function I(e,t,r,n){void 0===n&&(n={});var o=B(e,t,r,n).reduce((function(e,t){var r=t.value;return"string"!=typeof r?e.push(r):"string"==typeof e[e.length-1]?e[e.length-1]+=r:e.push(r),e}),[]);return 1===o.length?o[0]:0===o.length?"":o}function B(e,t,r,n){var a=e.locale,i=e.onError;void 0===n&&(n={}),Intl.ListFormat||i(new E.u_('Intl.ListFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-listformat"\n',E.jK.MISSING_INTL_API));var s=(0,m.L6)(n,H);try{var c={},l=r.map((function(e,t){if("object"==typeof e){var r=function(e){return"".concat(k,"_").concat(e,"_").concat(k)}(t);return c[r]=e,r}return String(e)}));return t(a,s).formatToParts(l).map((function(e){return"literal"===e.type?e:(0,o.pi)((0,o.pi)({},e),{value:c[e.value]||e.value})}))}catch(h){i(new u.Rw(u.bc.FORMAT_ERROR,"Error formatting list.",h))}return r}var D=["style","type","fallback","languageDisplay"];function M(e,t,r,n){var o=e.locale,a=e.onError;Intl.DisplayNames||a(new E.u_('Intl.DisplayNames is not available in this environment.\nTry polyfilling it using "@formatjs/intl-displaynames"\n',E.jK.MISSING_INTL_API));var i=(0,m.L6)(n,D);try{return t(o,i).of(r)}catch(s){a(new u.Rw(u.bc.FORMAT_ERROR,"Error formatting display name.",s))}}function x(e){var t;e.onWarn&&e.defaultRichTextElements&&"string"==typeof((t=e.messages||{})?t[Object.keys(t)[0]]:void 0)&&e.onWarn('[@formatjs/intl] "defaultRichTextElements" was specified but "message" was not pre-compiled. \nPlease consider using "@formatjs/cli" to pre-compile your messages for performance.\nFor more details see https://formatjs.io/docs/getting-started/message-distribution')}var U=r(1092);function F(e){return{locale:e.locale,timeZone:e.timeZone,fallbackOnEmptyString:e.fallbackOnEmptyString,formats:e.formats,textComponent:e.textComponent,messages:e.messages,defaultLocale:e.defaultLocale,defaultFormats:e.defaultFormats,onError:e.onError,onWarn:e.onWarn,wrapRichTextChunksInFragment:e.wrapRichTextChunksInFragment,defaultRichTextElements:e.defaultRichTextElements}}function j(e){return e?Object.keys(e).reduce((function(t,r){var n=e[r];return t[r]=(0,U.Gt)(n)?(0,i.dt)(n):n,t}),{}):e}var G=function(e,t,r,a){for(var i=[],s=4;s<arguments.length;s++)i[s-4]=arguments[s];var c=j(a),u=d.apply(void 0,(0,o.ev)([e,t,r,c],i,!1));return Array.isArray(u)?n.Children.toArray(u):u},$=function(e,t){var r=e.defaultRichTextElements,n=(0,o._T)(e,["defaultRichTextElements"]),a=j(r),s=function(e,t){var r=(0,m.ax)(t),n=(0,o.pi)((0,o.pi)({},m.Z0),e),a=n.locale,i=n.defaultLocale,s=n.onError;return a?!Intl.NumberFormat.supportedLocalesOf(a).length&&s?s(new u.gb('Missing locale data for locale: "'.concat(a,'" in Intl.NumberFormat. Using default locale: "').concat(i,'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))):!Intl.DateTimeFormat.supportedLocalesOf(a).length&&s&&s(new u.gb('Missing locale data for locale: "'.concat(a,'" in Intl.DateTimeFormat. Using default locale: "').concat(i,'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))):(s&&s(new u.OV('"locale" was not configured, using "'.concat(i,'" as fallback. See https://formatjs.io/docs/react-intl/api#intlshape for more details'))),n.locale=n.defaultLocale||"en"),x(n),(0,o.pi)((0,o.pi)({},n),{formatters:r,formatNumber:v.bind(null,n,r.getNumberFormat),formatNumberToParts:b.bind(null,n,r.getNumberFormat),formatRelativeTime:_.bind(null,n,r.getRelativeTimeFormat),formatDate:P.bind(null,n,r.getDateTimeFormat),formatDateToParts:A.bind(null,n,r.getDateTimeFormat),formatTime:R.bind(null,n,r.getDateTimeFormat),formatDateTimeRange:C.bind(null,n,r.getDateTimeFormat),formatTimeToParts:O.bind(null,n,r.getDateTimeFormat),formatPlural:N.bind(null,n,r.getPluralRules),formatMessage:d.bind(null,n,r),$t:d.bind(null,n,r),formatList:I.bind(null,n,r.getListFormat),formatListToParts:B.bind(null,n,r.getListFormat),formatDisplayName:M.bind(null,n,r.getDisplayNames)})}((0,o.pi)((0,o.pi)((0,o.pi)({},i.Z0),n),{defaultRichTextElements:a}),t),c={locale:s.locale,timeZone:s.timeZone,fallbackOnEmptyString:s.fallbackOnEmptyString,formats:s.formats,defaultLocale:s.defaultLocale,defaultFormats:s.defaultFormats,messages:s.messages,onError:s.onError,defaultRichTextElements:a};return(0,o.pi)((0,o.pi)({},s),{formatMessage:G.bind(null,c,s.formatters),$t:G.bind(null,c,s.formatters)})},q=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.cache=(0,m.Sn)(),t.state={cache:t.cache,intl:$(F(t.props),t.cache),prevConfig:F(t.props)},t}return(0,o.ZT)(t,e),t.getDerivedStateFromProps=function(e,t){var r=t.prevConfig,n=t.cache,o=F(e);return(0,i.wU)(r,o)?null:{intl:$(o,n),prevConfig:o}},t.prototype.render=function(){return(0,i.lq)(this.state.intl),n.createElement(a.zt,{value:this.state.intl},this.props.children)},t.displayName="IntlProvider",t.defaultProps=i.Z0,t}(n.PureComponent),W=q,Z=r(6274),V=r(9697),K=r(3972);var Q=function(e){const t=e||"en",[r,o]=(0,V.Z)("locale",t);return e&&e!==r&&o(e),(0,n.useEffect)((()=>{const e=(0,K.getLangDir)(r);return document.documentElement.dir=e,document.documentElement.lang=r,()=>{}}),[r]),[r,o]},X=r(5587);const J={activeLocale:null,setLocale:()=>null,locales:null},Y=n.createContext(J);function z({pageLocale:e,messages:t,children:r}){const[o,a]=Q(e),i=t||X.s[o];return n.createElement(Y.Provider,{value:{activeLocale:o,setLocale:a,locales:Z.k}},n.createElement(W,{locale:o,messages:i},r))}},6863:function(e,t,r){"use strict";r.d(t,{N:function(){return c},Z:function(){return u}});var n=r(7294);const o={names:["Default","Carpet"],modes:["light","dark"],locales:["en","fa"]};var a=r(9697);var i=function(){const e="undefined"!=typeof window&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light",[t,r]=(0,a.Z)("theme",e),o=void 0!==t?t:e;return(0,n.useEffect)((()=>{const e=document.documentElement;"dark"==o?e.setAttribute("theme","dark"):e.setAttribute("theme","light")}),[o]),[o,r]};const s={theme:"light",setTheme:()=>null,themes:o},c=n.createContext(s);var u=({children:e})=>{const[t,r]=i();return n.createElement(c.Provider,{value:{theme:t,setTheme:r,themes:o}},n.createElement(n.Fragment,null,e))}},9697:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});var n=r(7294);function o(e,t){const[r,o]=(0,n.useState)((()=>{try{const r=void 0!==typeof window?window.localStorage.getItem(e):t;return r?JSON.parse(r):t}catch(r){return t}}));return[r,t=>{try{const n=t instanceof Function?t(r):t;o(n),void 0!==typeof window&&window.localStorage.setItem(e,JSON.stringify(n))}catch(n){console.log(n)}}]}},8679:function(e,t,r){"use strict";var n=r(1296),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function c(e){return n.isMemo(e)?i:s[e.$$typeof]||o}s[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[n.Memo]=i;var u=Object.defineProperty,l=Object.getOwnPropertyNames,h=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,d=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(d){var o=f(r);o&&o!==d&&e(t,o,n)}var i=l(r);h&&(i=i.concat(h(r)));for(var s=c(t),m=c(r),g=0;g<i.length;++g){var y=i[g];if(!(a[y]||n&&n[y]||m&&m[y]||s&&s[y])){var v=p(r,y);try{u(t,y,v)}catch(b){}}}}return t}},6103:function(e,t){"use strict";var r="function"==typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,i=r?Symbol.for("react.strict_mode"):60108,s=r?Symbol.for("react.profiler"):60114,c=r?Symbol.for("react.provider"):60109,u=r?Symbol.for("react.context"):60110,l=r?Symbol.for("react.async_mode"):60111,h=r?Symbol.for("react.concurrent_mode"):60111,p=r?Symbol.for("react.forward_ref"):60112,f=r?Symbol.for("react.suspense"):60113,d=r?Symbol.for("react.suspense_list"):60120,m=r?Symbol.for("react.memo"):60115,g=r?Symbol.for("react.lazy"):60116,y=r?Symbol.for("react.block"):60121,v=r?Symbol.for("react.fundamental"):60117,b=r?Symbol.for("react.responder"):60118,E=r?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case l:case h:case a:case s:case i:case f:return e;default:switch(e=e&&e.$$typeof){case u:case p:case g:case m:case c:return e;default:return t}}case o:return t}}}function _(e){return w(e)===h}t.AsyncMode=l,t.ConcurrentMode=h,t.ContextConsumer=u,t.ContextProvider=c,t.Element=n,t.ForwardRef=p,t.Fragment=a,t.Lazy=g,t.Memo=m,t.Portal=o,t.Profiler=s,t.StrictMode=i,t.Suspense=f,t.isAsyncMode=function(e){return _(e)||w(e)===l},t.isConcurrentMode=_,t.isContextConsumer=function(e){return w(e)===u},t.isContextProvider=function(e){return w(e)===c},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return w(e)===p},t.isFragment=function(e){return w(e)===a},t.isLazy=function(e){return w(e)===g},t.isMemo=function(e){return w(e)===m},t.isPortal=function(e){return w(e)===o},t.isProfiler=function(e){return w(e)===s},t.isStrictMode=function(e){return w(e)===i},t.isSuspense=function(e){return w(e)===f},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===h||e===s||e===i||e===f||e===d||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===c||e.$$typeof===u||e.$$typeof===p||e.$$typeof===v||e.$$typeof===b||e.$$typeof===E||e.$$typeof===y)},t.typeOf=w},1296:function(e,t,r){"use strict";e.exports=r(6103)},6284:function(e,t,r){"use strict";r.d(t,{C:function(){return u}});var n=r(655),o=r(9943),a=r(5957),i=r(1092);function s(e,t){return t?Object.keys(e).reduce((function(r,o){var a,i;return r[o]=(a=e[o],(i=t[o])?(0,n.pi)((0,n.pi)((0,n.pi)({},a||{}),i||{}),Object.keys(a).reduce((function(e,t){return e[t]=(0,n.pi)((0,n.pi)({},a[t]),i[t]||{}),e}),{})):a),r}),(0,n.pi)({},e)):e}function c(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}var u=function(){function e(t,r,o,u){void 0===r&&(r=e.defaultLocale);var l,h=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=h.formatToParts(e);if(1===t.length)return t[0].value;var r=t.reduce((function(e,t){return e.length&&t.type===i.du.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e}),[]);return r.length<=1?r[0]||"":r},this.formatToParts=function(e){return(0,i.FK)(h.ast,h.locales,h.formatters,h.formats,e,void 0,h.message)},this.resolvedOptions=function(){var e;return{locale:(null===(e=h.resolvedLocale)||void 0===e?void 0:e.toString())||Intl.NumberFormat.supportedLocalesOf(h.locales)[0]}},this.getAst=function(){return h.ast},this.locales=r,this.resolvedLocale=e.resolveLocale(r),"string"==typeof t){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var p=u||{},f=(p.formatters,(0,n._T)(p,["formatters"]));this.ast=e.__parse(t,(0,n.pi)((0,n.pi)({},f),{locale:this.resolvedLocale}))}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=s(e.formats,o),this.formatters=u&&u.formatters||(void 0===(l=this.formatterCache)&&(l={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:(0,a.Z)((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.NumberFormat).bind.apply(e,(0,n.ev)([void 0],t,!1)))}),{cache:c(l.number),strategy:a.A.variadic}),getDateTimeFormat:(0,a.Z)((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.DateTimeFormat).bind.apply(e,(0,n.ev)([void 0],t,!1)))}),{cache:c(l.dateTime),strategy:a.A.variadic}),getPluralRules:(0,a.Z)((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.PluralRules).bind.apply(e,(0,n.ev)([void 0],t,!1)))}),{cache:c(l.pluralRules),strategy:a.A.variadic})})}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(e){if(void 0!==Intl.Locale){var t=Intl.NumberFormat.supportedLocalesOf(e);return t.length>0?new Intl.Locale(t[0]):new Intl.Locale("string"==typeof e?e:e[0])}},e.__parse=o.Qc,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}()},1050:function(e,t,r){"use strict";r.d(t,{C8:function(){return i},HR:function(){return c},YR:function(){return s},jK:function(){return n},u_:function(){return a}});var n,o=r(655);!function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"}(n||(n={}));var a=function(e){function t(t,r,n){var o=e.call(this,t)||this;return o.code=r,o.originalMessage=n,o}return(0,o.ZT)(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),i=function(e){function t(t,r,o,a){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(r,'". Options are "').concat(Object.keys(o).join('", "'),'"'),n.INVALID_VALUE,a)||this}return(0,o.ZT)(t,e),t}(a),s=function(e){function t(t,r,o){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(r),n.INVALID_VALUE,o)||this}return(0,o.ZT)(t,e),t}(a),c=function(e){function t(t,r){return e.call(this,'The intl string context variable "'.concat(t,'" was not provided to the string "').concat(r,'"'),n.MISSING_VALUE,r)||this}return(0,o.ZT)(t,e),t}(a)},1092:function(e,t,r){"use strict";r.d(t,{FK:function(){return s},Gt:function(){return i},du:function(){return n}});var n,o=r(9943),a=r(1050);function i(e){return"function"==typeof e}function s(e,t,r,c,u,l,h){if(1===e.length&&(0,o.O4)(e[0]))return[{type:n.literal,value:e[0].value}];for(var p=[],f=0,d=e;f<d.length;f++){var m=d[f];if((0,o.O4)(m))p.push({type:n.literal,value:m.value});else if((0,o.yx)(m))"number"==typeof l&&p.push({type:n.literal,value:r.getNumberFormat(t).format(l)});else{var g=m.value;if(!u||!(g in u))throw new a.HR(g,h);var y=u[g];if((0,o.VG)(m))y&&"string"!=typeof y&&"number"!=typeof y||(y="string"==typeof y||"number"==typeof y?String(y):""),p.push({type:"string"==typeof y?n.literal:n.object,value:y});else if((0,o.rp)(m)){var v="string"==typeof m.style?c.date[m.style]:(0,o.Ii)(m.style)?m.style.parsedOptions:void 0;p.push({type:n.literal,value:r.getDateTimeFormat(t,v).format(y)})}else if((0,o.pe)(m)){v="string"==typeof m.style?c.time[m.style]:(0,o.Ii)(m.style)?m.style.parsedOptions:c.time.medium;p.push({type:n.literal,value:r.getDateTimeFormat(t,v).format(y)})}else if((0,o.uf)(m)){(v="string"==typeof m.style?c.number[m.style]:(0,o.Wh)(m.style)?m.style.parsedOptions:void 0)&&v.scale&&(y*=v.scale||1),p.push({type:n.literal,value:r.getNumberFormat(t,v).format(y)})}else{if((0,o.HI)(m)){var b=m.children,E=m.value,w=u[E];if(!i(w))throw new a.YR(E,"function",h);var _=w(s(b,t,r,c,u,l).map((function(e){return e.value})));Array.isArray(_)||(_=[_]),p.push.apply(p,_.map((function(e){return{type:"string"==typeof e?n.literal:n.object,value:e}})))}if((0,o.Wi)(m)){if(!(S=m.options[y]||m.options.other))throw new a.C8(m.value,y,Object.keys(m.options),h);p.push.apply(p,s(S.value,t,r,c,u))}else if((0,o.Jo)(m)){var S;if(!(S=m.options["=".concat(y)])){if(!Intl.PluralRules)throw new a.u_('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',a.jK.MISSING_INTL_API,h);var T=r.getPluralRules(t,{type:m.pluralType}).select(y-(m.offset||0));S=m.options[T]||m.options.other}if(!S)throw new a.C8(m.value,y,Object.keys(m.options),h);p.push.apply(p,s(S.value,t,r,c,u,y-(m.offset||0)))}else;}}}return function(e){return e.length<2?e:e.reduce((function(e,t){var r=e[e.length-1];return r&&r.type===n.literal&&t.type===n.literal?r.value+=t.value:e.push(t),e}),[])}(p)}!function(e){e[e.literal=0]="literal",e[e.object=1]="object"}(n||(n={}))},1143:function(e){"use strict";e.exports=function(e,t,r,n,o,a,i,s){if(!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[r,n,o,a,i,s],l=0;(c=new Error(t.replace(/%s/g,(function(){return u[l++]})))).name="Invariant Violation"}throw c.framesToPop=1,c}}},4806:function(e,t,r){"use strict";r.d(t,{_y:function(){return i},zt:function(){return a}});var n=r(7294);r(8679);var o=n.createContext(null),a=(o.Consumer,o.Provider),i=o},680:function(e,t,r){"use strict";r.d(t,{Z0:function(){return c},dt:function(){return u},lq:function(){return s},wU:function(){return l}});var n=r(655),o=r(7294),a=r(5687),i=r(2644);function s(e){(0,a.kG)(e,"[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.")}var c=(0,n.pi)((0,n.pi)({},i.Z0),{textComponent:o.Fragment});function u(e){return function(t){return e(o.Children.toArray(t))}}function l(e,t){if(e===t)return!0;if(!e||!t)return!1;var r=Object.keys(e),n=Object.keys(t),o=r.length;if(n.length!==o)return!1;for(var a=0;a<o;a++){var i=r[a];if(e[i]!==t[i]||!Object.prototype.hasOwnProperty.call(t,i))return!1}return!0}},9730:function(e,t,r){"use strict";var n=r(7294),o={stream:!0},a=new Map,i=Symbol.for("react.element"),s=Symbol.for("react.lazy"),c=Symbol.for("react.default_value"),u=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ContextRegistry;function l(e,t,r){this._status=e,this._value=t,this._response=r}function h(e){switch(e._status){case 3:return e._value;case 1:var t=JSON.parse(e._value,e._response._fromJSON);return e._status=3,e._value=t;case 2:for(var n=(t=e._value).chunks,o=0;o<n.length;o++){var i=a.get(n[o]);if(null!==i)throw i}return n=r(t.id),t="*"===t.name?n:""===t.name?n.__esModule?n.default:n:n[t.name],e._status=3,e._value=t;case 0:throw e;default:throw e._value}}function p(){return h(y(this,0))}function f(e,t){return new l(3,t,e)}function d(e){if(null!==e)for(var t=0;t<e.length;t++)(0,e[t])()}function m(e,t){if(0===e._status){var r=e._value;e._status=4,e._value=t,d(r)}}function g(e,t){e._chunks.forEach((function(e){m(e,t)}))}function y(e,t){var r=e._chunks,n=r.get(t);return n||(n=new l(0,null,e),r.set(t,n)),n}function v(e){g(e,Error("Connection closed."))}function b(e,t){if(""!==t){var o=t[0],i=t.indexOf(":",1),s=parseInt(t.substring(1,i),16);switch(i=t.substring(i+1),o){case"J":(o=(t=e._chunks).get(s))?0===o._status&&(e=o._value,o._status=1,o._value=i,d(e)):t.set(s,new l(1,i,e));break;case"M":o=(t=e._chunks).get(s),i=JSON.parse(i,e._fromJSON);var h=e._bundlerConfig;h=(i=h?h[i.id][i.name]:i).chunks;for(var p=0;p<h.length;p++){var g=h[p];if(void 0===a.get(g)){var y=r.e(g),v=a.set.bind(a,g,null),b=a.set.bind(a,g);y.then(v,b),a.set(g,y)}}o?0===o._status&&(e=o._value,o._status=2,o._value=i,d(e)):t.set(s,new l(2,i,e));break;case"P":e._chunks.set(s,f(e,function(e){return u[e]||(u[e]=n.createServerContext(e,c)),u[e]}(i).Provider));break;case"S":o=JSON.parse(i),e._chunks.set(s,f(e,Symbol.for(o)));break;case"E":t=JSON.parse(i),(o=Error(t.message)).stack=t.stack,(i=(t=e._chunks).get(s))?m(i,o):t.set(s,new l(4,o,e));break;default:throw Error("Error parsing the data. It's probably an error code or network corruption.")}}}function E(e){return function(t,r){return"string"==typeof r?function(e,t,r){switch(r[0]){case"$":return"$"===r?i:"$"===r[1]||"@"===r[1]?r.substring(1):h(e=y(e,parseInt(r.substring(1),16)));case"@":return e=y(e,parseInt(r.substring(1),16)),{$$typeof:s,_payload:e,_init:h}}return r}(e,0,r):"object"==typeof r&&null!==r?r[0]===i?{$$typeof:i,type:r[1],key:r[2],ref:null,props:r[3],_owner:null}:r:r}}function w(e){var t=new TextDecoder;return(e={_bundlerConfig:e,_chunks:new Map,readRoot:p,_partialRow:"",_stringDecoder:t})._fromJSON=E(e),e}function _(e,t){function r(t){g(e,t)}var n=t.getReader();n.read().then((function t(a){var i=a.value;if(!a.done){a=i,i=e._stringDecoder;for(var s=a.indexOf(10);-1<s;){var c=e._partialRow,u=a.subarray(0,s);u=i.decode(u),b(e,c+u),e._partialRow="",s=(a=a.subarray(s+1)).indexOf(10)}return e._partialRow+=i.decode(a,o),n.read().then(t,r)}v(e)}),r)}l.prototype.then=function(e){0===this._status?(null===this._value&&(this._value=[]),this._value.push(e)):e()},t.createFromReadableStream=function(e,t){return _(t=w(t&&t.moduleMap?t.moduleMap:null),e),t}},904:function(e,t,r){"use strict";e.exports=r(9730)},3972:function(e,t,r){"use strict";var n=r(6730);e.exports={isRtlLang:n.isRtlLang,getLangDir:n.getLangDir}},6730:function(e){"use strict";var t,r=t={_regexEscape:/([\.\*\+\^\$\[\]\\\(\)\|\{\}\,\-\:\?])/g,_regexParseLocale:/^([a-zA-Z]*)([_\-a-zA-Z]*)$/,_escapeRegExpPattern:function(e){return"string"!=typeof e?e:e.replace(t._regexEscape,"\\$1")},_toLowerCase:function(e,t){return"string"!=typeof e?t&&e:e.toLowerCase()},_toUpperCase:function(e,t){return"string"!=typeof e?t&&e:e.toUpperCase()},_trim:function(e,r,n){var o,a=[],i=function(e){a.push("^"+e+"+|"+e+"+$")};if("boolean"==typeof r&&(n=r,r=null),"string"!=typeof e)return n&&e;if(Array.isArray(r)&&r.map((function(e){var r=t._escapeRegExpPattern(e);i(r)})),"string"==typeof r){var s=t._escapeRegExpPattern(r);i(s)}r||i("\\s");var c="("+a.join("|")+")";for(o=new RegExp(c,"g");e.match(o);)e=e.replace(o,"");return e},_parseLocale:function(e){var r,n=t._regexParseLocale.exec(e);if(e&&n)return n[2]=t._trim(n[2],["-","_"]),{lang:t._toLowerCase(n[1]),countryCode:r=t._toUpperCase(n[2])||r}},isRtlLang:function(e){var r=t._parseLocale(e);if(r)return t._BIDI_RTL_LANGS.indexOf(r.lang)>=0},getLangDir:function(e){return t.isRtlLang(e)?"rtl":"ltr"}};Object.defineProperty(t,"_BIDI_RTL_LANGS",{value:["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"],writable:!1,enumerable:!0,configurable:!1}),e.exports=r},655:function(e,t,r){"use strict";r.d(t,{ZT:function(){return o},_T:function(){return i},ev:function(){return s},pi:function(){return a}});var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)};function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var a=function(){return a=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},a.apply(this,arguments)};function i(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r}Object.create;function s(e,t,r){if(r||2===arguments.length)for(var n,o=0,a=t.length;o<a;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))}Object.create},6115:function(e){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.__esModule=!0,e.exports.default=e.exports},7867:function(e,t,r){var n=r(6015);e.exports=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,n(e,t)},e.exports.__esModule=!0,e.exports.default=e.exports},4836:function(e){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},6015:function(e){function t(r,n){return e.exports=t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},e.exports.__esModule=!0,e.exports.default=e.exports,t(r,n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},2911:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.SCRIPT_TYPE="text/partytown",t.partytownSnippet=e=>((e,t)=>{const{forward:r=[],...n}=e||{},o=JSON.stringify(n,((e,t)=>("function"==typeof t&&(t=String(t)).startsWith(e+"(")&&(t="function "+t),t)));return["!(function(w,p,f,c){",Object.keys(n).length>0?`c=w[p]=Object.assign(w[p]||{},${o});`:"c=w[p]=w[p]||{};","c[f]=(c[f]||[])",r.length>0?`.concat(${JSON.stringify(r)})`:"","})(window,'partytown','forward');",t].join("")})(e,'/* Partytown 0.7.5 - MIT builder.io */\n!function(t,e,n,i,r,o,a,d,s,c,p,l){function u(){l||(l=1,"/"==(a=(o.lib||"/~partytown/")+(o.debug?"debug/":""))[0]&&(s=e.querySelectorAll(\'script[type="text/partytown"]\'),i!=t?i.dispatchEvent(new CustomEvent("pt1",{detail:t})):(d=setTimeout(f,1e4),e.addEventListener("pt0",w),r?h(1):n.serviceWorker?n.serviceWorker.register(a+(o.swPath||"partytown-sw.js"),{scope:a}).then((function(t){t.active?h():t.installing&&t.installing.addEventListener("statechange",(function(t){"activated"==t.target.state&&h()}))}),console.error):f())))}function h(t){c=e.createElement(t?"script":"iframe"),t||(c.setAttribute("style","display:block;width:0;height:0;border:0;visibility:hidden"),c.setAttribute("aria-hidden",!0)),c.src=a+"partytown-"+(t?"atomics.js?v=0.7.5":"sandbox-sw.html?"+Date.now()),e.body.appendChild(c)}function f(n,r){for(w(),i==t&&(o.forward||[]).map((function(e){delete t[e.split(".")[0]]})),n=0;n<s.length;n++)(r=e.createElement("script")).innerHTML=s[n].innerHTML,e.head.appendChild(r);c&&c.parentNode.removeChild(c)}function w(){clearTimeout(d)}o=t.partytown||{},i==t&&(o.forward||[]).map((function(e){p=t,e.split(".").map((function(e,n,i){p=p[i[n]]=n+1<i.length?"push"==i[n+1]?[]:p[i[n]]||{}:function(){(t._ptf=t._ptf||[]).push(i,arguments)}}))})),"complete"==e.readyState?u():(t.addEventListener("DOMContentLoaded",u),t.addEventListener("load",u))}(window,document,navigator,top,window.crossOriginIsolated);')},7896:function(e,t,r){"use strict";var n;r.r(t),r.d(t,{BaseContext:function(){return g},Link:function(){return V},Location:function(){return Y},LocationContext:function(){return y},LocationProvider:function(){return J},Match:function(){return ee},Redirect:function(){return T},Router:function(){return se},ServerLocation:function(){return z},createHistory:function(){return l},createMemorySource:function(){return h},globalHistory:function(){return f},insertParams:function(){return O},isRedirect:function(){return w},match:function(){return C},navigate:function(){return d},pick:function(){return R},redirectTo:function(){return _},resolve:function(){return A},shallowCompare:function(){return U},startsWith:function(){return P},useBaseContext:function(){return v},useLocation:function(){return ue},useLocationContext:function(){return b},useMatch:function(){return pe},useNavigate:function(){return le},useParams:function(){return he},validateRedirect:function(){return L}});var o=r(7294),a=r(5697),i=r(1143);function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},s.apply(this,arguments)}function c(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)t.indexOf(r=a[n])>=0||(o[r]=e[r]);return o}const u=e=>{const{search:t,hash:r,href:n,origin:o,protocol:a,host:i,hostname:s,port:c}=e.location;let{pathname:u}=e.location;return!u&&n&&p&&(u=new URL(n).pathname),{pathname:encodeURI(decodeURI(u)),search:t,hash:r,href:n,origin:o,protocol:a,host:i,hostname:s,port:c,state:e.history.state,key:e.history.state&&e.history.state.key||"initial"}},l=(e,t)=>{let r=[],n=u(e),o=!1,a=()=>{};return{get location(){return n},get transitioning(){return o},_onTransitionComplete(){o=!1,a()},listen(t){r.push(t);const o=()=>{n=u(e),t({location:n,action:"POP"})};return e.addEventListener("popstate",o),()=>{e.removeEventListener("popstate",o),r=r.filter((e=>e!==t))}},navigate(t,{state:i,replace:c=!1}={}){if("number"==typeof t)e.history.go(t);else{i=s({},i,{key:Date.now()+""});try{o||c?e.history.replaceState(i,null,t):e.history.pushState(i,null,t)}catch(r){e.location[c?"replace":"assign"](t)}}n=u(e),o=!0;const l=new Promise((e=>a=e));return r.forEach((e=>e({location:n,action:"PUSH"}))),l}}},h=(e="/")=>{const t=e.indexOf("?"),r={pathname:t>-1?e.substr(0,t):e,search:t>-1?e.substr(t):""};let n=0;const o=[r],a=[null];return{get location(){return o[n]},addEventListener(e,t){},removeEventListener(e,t){},history:{get entries(){return o},get index(){return n},get state(){return a[n]},pushState(e,t,r){const[i,s=""]=r.split("?");n++,o.push({pathname:i,search:s.length?`?${s}`:s}),a.push(e)},replaceState(e,t,r){const[i,s=""]=r.split("?");o[n]={pathname:i,search:s},a[n]=e},go(e){const t=n+e;t<0||t>a.length-1||(n=t)}}}},p=!("undefined"==typeof window||!window.document||!window.document.createElement),f=l(p?window:h()),{navigate:d}=f;function m(e,t){return o.createServerContext?((e,t=null)=>(globalThis.__SERVER_CONTEXT||(globalThis.__SERVER_CONTEXT={}),globalThis.__SERVER_CONTEXT[e]||(globalThis.__SERVER_CONTEXT[e]=o.createServerContext(e,t)),globalThis.__SERVER_CONTEXT[e]))(e,t):o.createContext(t)}const g=m("Base",{baseuri:"/",basepath:"/"}),y=m("Location"),v=()=>o.useContext(g),b=()=>o.useContext(y);function E(e){this.uri=e}const w=e=>e instanceof E,_=e=>{throw new E(e)};function S(e){const{to:t,replace:r=!0,state:n,noThrow:a,baseuri:i}=e;o.useEffect((()=>{Promise.resolve().then((()=>{const o=A(t,i);d(O(o,e),{replace:r,state:n})}))}),[]);const s=A(t,i);return a||_(O(s,e)),null}const T=e=>{const t=b(),{baseuri:r}=v();return o.createElement(S,s({},t,{baseuri:r},e))};T.propTypes={from:a.string,to:a.string.isRequired};const P=(e,t)=>e.substr(0,t.length)===t,R=(e,t)=>{let r,n;const[o]=t.split("?"),a=D(o),s=""===a[0],c=B(e);for(let u=0,l=c.length;u<l;u++){let e=!1;const o=c[u].route;if(o.default){n={route:o,params:{},uri:t};continue}const l=D(o.path),h={},p=Math.max(a.length,l.length);let f=0;for(;f<p;f++){const t=l[f],r=a[f];if(k(t)){h[t.slice(1)||"*"]=a.slice(f).map(decodeURIComponent).join("/");break}if(void 0===r){e=!0;break}const n=N.exec(t);if(n&&!s){const e=-1===x.indexOf(n[1]);i(e,`<Router> dynamic segment "${n[1]}" is a reserved name. Please use a different name in path "${o.path}".`);const t=decodeURIComponent(r);h[n[1]]=t}else if(t!==r){e=!0;break}}if(!e){r={route:o,params:h,uri:"/"+a.slice(0,f).join("/")};break}}return r||n||null},C=(e,t)=>R([{path:e}],t),A=(e,t)=>{if(P(e,"/"))return e;const[r,n]=e.split("?"),[o]=t.split("?"),a=D(r),i=D(o);if(""===a[0])return M(o,n);if(!P(a[0],".")){const e=i.concat(a).join("/");return M(("/"===o?"":"/")+e,n)}const s=i.concat(a),c=[];for(let u=0,l=s.length;u<l;u++){const e=s[u];".."===e?c.pop():"."!==e&&c.push(e)}return M("/"+c.join("/"),n)},O=(e,t)=>{const[r,n=""]=e.split("?");let o="/"+D(r).map((e=>{const r=N.exec(e);return r?t[r[1]]:e})).join("/");const{location:{search:a=""}={}}=t,i=a.split("?")[1]||"";return o=M(o,n,i),o},L=(e,t)=>{const r=e=>H(e);return D(e).filter(r).sort().join("/")===D(t).filter(r).sort().join("/")},N=/^:(.+)/,H=e=>N.test(e),k=e=>e&&"*"===e[0],I=(e,t)=>({route:e,score:e.default?0:D(e.path).reduce(((e,t)=>(e+=4,(e=>""===e)(t)?e+=1:H(t)?e+=2:k(t)?e-=5:e+=3,e)),0),index:t}),B=e=>e.map(I).sort(((e,t)=>e.score<t.score?1:e.score>t.score?-1:e.index-t.index)),D=e=>e.replace(/(^\/+|\/+$)/g,"").split("/"),M=(e,...t)=>e+((t=t.filter((e=>e&&e.length>0)))&&t.length>0?`?${t.join("&")}`:""),x=["uri","path"],U=(e,t)=>{const r=Object.keys(e);return r.length===Object.keys(t).length&&r.every((r=>t.hasOwnProperty(r)&&e[r]===t[r]))},F=e=>e.replace(/(^\/+|\/+$)/g,""),j=e=>t=>{if(!t)return null;if(t.type===o.Fragment&&t.props.children)return o.Children.map(t.props.children,j(e));if(i(t.props.path||t.props.default||t.type===T,`<Router>: Children of <Router> must have a \`path\` or \`default\` prop, or be a \`<Redirect>\`. None found on element type \`${t.type}\``),i(!!(t.type!==T||t.props.from&&t.props.to),`<Redirect from="${t.props.from}" to="${t.props.to}"/> requires both "from" and "to" props when inside a <Router>.`),i(!(t.type===T&&!L(t.props.from,t.props.to)),`<Redirect from="${t.props.from} to="${t.props.to}"/> has mismatched dynamic segments, ensure both paths have the exact same dynamic segments.`),t.props.default)return{value:t,default:!0};const r=t.type===T?t.props.from:t.props.path,n="/"===r?e:`${F(e)}/${F(r)}`;return{value:t,default:t.props.default,path:t.props.children?`${F(n)}/*`:n}},G=["innerRef"],$=["to","state","replace","getProps"],q=["key"];let{forwardRef:W}=n||(n=r.t(o,2));void 0===W&&(W=e=>e);const Z=()=>{},V=W(((e,t)=>{let{innerRef:r}=e,n=c(e,G);const{baseuri:a}=v(),{location:i}=b(),{to:u,state:l,replace:h,getProps:p=Z}=n,f=c(n,$),m=A(u,a),g=encodeURI(m),y=i.pathname===g,E=P(i.pathname,g);return o.createElement("a",s({ref:t||r,"aria-current":y?"page":void 0},f,p({isCurrent:y,isPartiallyCurrent:E,href:m,location:i}),{href:m,onClick:e=>{if(f.onClick&&f.onClick(e),(e=>!e.defaultPrevented&&0===e.button&&!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey))(e)){e.preventDefault();let t=h;if("boolean"!=typeof h&&y){const e=c(s({},i.state),q);t=U(s({},l),e)}d(m,{state:l,replace:t})}}}))}));V.displayName="Link",V.propTypes={to:a.string.isRequired};class K extends o.Component{constructor(...e){super(...e),this.displayName="ReactUseErrorBoundary"}componentDidCatch(...e){this.setState({}),this.props.onError(...e)}render(){return this.props.children}}const Q=o.createContext({componentDidCatch:{current:void 0},error:void 0,setError:()=>!1});function X({children:e}){const[t,r]=o.useState(),n=o.useRef(),a=o.useMemo((()=>({componentDidCatch:n,error:t,setError:r})),[t]);return o.createElement(Q.Provider,{value:a},o.createElement(K,{error:t,onError:(e,t)=>{r(e),null==n.current||n.current(e,t)}},e))}X.displayName="ReactUseErrorBoundaryContext";const J=function(e){var t,r;function n(t){return o.createElement(X,null,o.createElement(e,s({key:"WrappedComponent"},t)))}return n.displayName=`WithErrorBoundary(${null!=(t=null!=(r=e.displayName)?r:e.name)?t:"Component"})`,n}((({history:e=f,children:t})=>{const{location:r}=e,[n,a]=o.useState({location:r}),[i]=function(e){const t=o.useContext(Q);t.componentDidCatch.current=void 0;const r=o.useCallback((()=>{t.setError(void 0)}),[]);return[t.error,r]}();if(o.useEffect((()=>{e._onTransitionComplete()}),[n.location]),o.useEffect((()=>{let t=!1;const r=e.listen((({location:e})=>{Promise.resolve().then((()=>{requestAnimationFrame((()=>{t||a({location:e})}))}))}));return()=>{t=!0,r()}}),[]),i){if(!w(i))throw i;d(i.uri,{replace:!0})}return o.createElement(y.Provider,{value:n},"function"==typeof t?t(n):t||null)})),Y=({children:e})=>{const t=b();return t?e(t):o.createElement(J,null,e)},z=({url:e,children:t})=>{const r=e.indexOf("?");let n,a="";return r>-1?(n=e.substring(0,r),a=e.substring(r)):n=e,o.createElement(y.Provider,{value:{location:{pathname:n,search:a,hash:""}}},t)},ee=({path:e,children:t})=>{const{baseuri:r}=v(),{location:n}=b(),o=A(e,r),a=C(o,n.pathname);return t({location:n,match:a?s({},a.params,{uri:a.uri,path:e}):null})},te=["uri","location","component"],re=["children","style","component","uri","location"],ne=e=>{let{uri:t,location:r,component:n}=e,a=c(e,te);return o.createElement(ae,s({},a,{component:n,uri:t,location:r}))};let oe=0;const ae=e=>{let{children:t,style:r,component:n="div",uri:a,location:i}=e,u=c(e,re);const l=o.useRef(),h=o.useRef(!0),p=o.useRef(a),f=o.useRef(i.pathname),d=o.useRef(!1);o.useEffect((()=>(oe++,m(),()=>{oe--,0===oe&&(h.current=!0)})),[]),o.useEffect((()=>{let e=!1,t=!1;a!==p.current&&(p.current=a,e=!0),i.pathname!==f.current&&(f.current=i.pathname,t=!0),d.current=e||t&&i.pathname===a,d.current&&m()}),[a,i]);const m=o.useCallback((()=>{var e;h.current?h.current=!1:(e=l.current,d.current&&e&&e.focus())}),[]);return o.createElement(n,s({style:s({outline:"none"},r),tabIndex:"-1",ref:l},u),t)},ie=["location","primary","children","basepath","baseuri","component"],se=e=>{const t=v(),r=b();return o.createElement(ce,s({},t,r,e))};function ce(e){const{location:t,primary:r=!0,children:n,basepath:a,component:i="div"}=e,u=c(e,ie),l=o.Children.toArray(n).reduce(((e,t)=>{const r=j(a)(t);return e.concat(r)}),[]),{pathname:h}=t,p=R(l,h);if(p){const{params:e,uri:n,route:c,route:{value:l}}=p,h=c.default?a:c.path.replace(/\*$/,""),f=s({},e,{uri:n,location:t}),d=o.cloneElement(l,f,l.props.children?o.createElement(se,{location:t,primary:r},l.props.children):void 0),m=r?ne:i,y=r?s({uri:n,location:t,component:i},u):u;return o.createElement(g.Provider,{value:{baseuri:n,basepath:h}},o.createElement(m,y,d))}return null}const ue=()=>{const e=b();if(!e)throw new Error("useLocation hook was used but a LocationContext.Provider was not found in the parent tree. Make sure this is used in a component that is a child of Router");return e.location},le=()=>{throw new Error("useNavigate is removed. Use import { navigate } from 'gatsby' instead")},he=()=>{const e=v();if(!e)throw new Error("useParams hook was used but a LocationContext.Provider was not found in the parent tree. Make sure this is used in a component that is a child of Router");const t=ue(),r=C(e.basepath,t.pathname);return r?r.params:null},pe=e=>{if(!e)throw new Error("useMatch(path: string) requires an argument of a string to match against");const t=v();if(!t)throw new Error("useMatch hook was used but a LocationContext.Provider was not found in the parent tree. Make sure this is used in a component that is a child of Router");const r=ue(),n=A(e,t.baseuri),o=C(n,r.pathname);return o?s({},o.params,{uri:o.uri,path:e}):null}},1562:function(e,t,r){"use strict";r.d(t,{c4:function(){return w},cP:function(){return c},dq:function(){return h},mc:function(){return g},rU:function(){return E}});var n=r(5697),o=r(7294),a=r(7896),i=r(4506);function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},s.apply(this,arguments)}function c(e){let t=e||"/",r="",n="";const o=t.indexOf("#");-1!==o&&(n=t.slice(o),t=t.slice(0,o));const a=t.indexOf("?");return-1!==a&&(r=t.slice(a),t=t.slice(0,a)),{pathname:t,search:"?"===r?"":r,hash:"#"===n?"":n}}const u=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,l=e=>{if("string"==typeof e)return!(e=>u.test(e))(e)};function h(e,t=""){var r;if(!l(e))return e;if(e.startsWith("./")||e.startsWith("../"))return e;const n=null!=(r=null!=t?t:"")?r:"/";return`${null!=n&&n.endsWith("/")?n.slice(0,-1):n}${e.startsWith("/")?e:`/${e}`}`}const p=e=>null==e?void 0:e.startsWith("/");function f(e,t){const{pathname:r,search:n,hash:o}=c(e);return`${(0,i.H)(r,t)}${n}${o}`}const d=(e,t)=>"number"==typeof e?e:l(e)?p(e)?function(e){const t=h(e),r="always";return f(t,r)}(e):function(e,t){if(p(e))return e;const r="always",n=(0,a.resolve)(e,t);return f(n,r)}(e,t):e,m=["to","getProps","onClick","onMouseEnter","activeClassName","activeStyle","innerRef","partiallyActive","state","replace","_location"];function g(e){return h(e,"")}const y={activeClassName:n.string,activeStyle:n.object,partiallyActive:n.bool};function v(e){return o.createElement(a.Location,null,(({location:t})=>o.createElement(b,s({},e,{_location:t}))))}class b extends o.Component{constructor(e){super(e),this.defaultGetProps=({isPartiallyCurrent:e,isCurrent:t})=>(this.props.partiallyActive?e:t)?{className:[this.props.className,this.props.activeClassName].filter(Boolean).join(" "),style:s({},this.props.style,this.props.activeStyle)}:null;let t=!1;"undefined"!=typeof window&&window.IntersectionObserver&&(t=!0),this.state={IOSupported:t},this.abortPrefetch=null,this.handleRef=this.handleRef.bind(this)}_prefetch(){let e=window.location.pathname+window.location.search;this.props._location&&this.props._location.pathname&&(e=this.props._location.pathname+this.props._location.search);const t=c(d(this.props.to,e)),r=t.pathname+t.search;if(e!==r)return ___loader.enqueue(r)}componentWillUnmount(){if(!this.io)return;const{instance:e,el:t}=this.io;this.abortPrefetch&&this.abortPrefetch.abort(),e.unobserve(t),e.disconnect()}handleRef(e){this.props.innerRef&&Object.prototype.hasOwnProperty.call(this.props.innerRef,"current")?this.props.innerRef.current=e:this.props.innerRef&&this.props.innerRef(e),this.state.IOSupported&&e&&(this.io=((e,t)=>{const r=new window.IntersectionObserver((r=>{r.forEach((r=>{e===r.target&&t(r.isIntersecting||r.intersectionRatio>0)}))}));return r.observe(e),{instance:r,el:e}})(e,(e=>{e?this.abortPrefetch=this._prefetch():this.abortPrefetch&&this.abortPrefetch.abort()})))}render(){const e=this.props,{to:t,getProps:r=this.defaultGetProps,onClick:n,onMouseEnter:i,state:u,replace:h,_location:p}=e,f=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)t.indexOf(r=a[n])>=0||(o[r]=e[r]);return o}(e,m),g=d(t,p.pathname);return l(g)?o.createElement(a.Link,s({to:g,state:u,getProps:r,innerRef:this.handleRef,onMouseEnter:e=>{i&&i(e);const t=c(g);___loader.hovering(t.pathname+t.search)},onClick:e=>{if(n&&n(e),!(0!==e.button||this.props.target||e.defaultPrevented||e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)){e.preventDefault();let t=h;const r=encodeURI(g)===p.pathname;"boolean"!=typeof h&&r&&(t=!0),window.___navigate(g,{state:u,replace:t})}return!0}},f)):o.createElement("a",s({href:g},f))}}b.propTypes=s({},y,{onClick:n.func,to:n.string.isRequired,replace:n.bool,state:n.object});const E=o.forwardRef(((e,t)=>o.createElement(v,s({innerRef:t},e)))),w=(e,t)=>{window.___navigate(d(e,window.location.pathname),t)}},3521:function(e,t,r){"use strict";r.r(t),r.d(t,{Script:function(){return d},ScriptStrategy:function(){return u},collectedScriptsByPage:function(){return s},scriptCache:function(){return p},scriptCallbackCache:function(){return f}});var n=r(7294),o=r(7896);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a.apply(this,arguments)}const i=new Map,s={get:e=>i.get(e)||[],set(e,t){const r=i.get(e)||[];r.push(t),i.set(e,r)},delete(e){i.delete(e)}},c="undefined"!=typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){const t=Date.now();return setTimeout((function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})}),1)};var u,l;(l=u||(u={})).postHydrate="post-hydrate",l.idle="idle",l.offMainThread="off-main-thread";const h=new Set(["src","strategy","dangerouslySetInnerHTML","children","onLoad","onError"]),p=new Set,f=new Map;function d(e){return n.createElement(o.Location,null,(()=>n.createElement(m,e)))}function m(e){const{src:t,strategy:r=u.postHydrate}=e||{},{pathname:i}=(0,o.useLocation)();if((0,n.useEffect)((()=>{let t;switch(r){case u.postHydrate:t=g(e);break;case u.idle:c((()=>{t=g(e)}));break;case u.offMainThread:{const t=v(e);s.set(i,t)}}return()=>{const{script:e,loadCallback:r,errorCallback:n}=t||{};r&&(null==e||e.removeEventListener("load",r)),n&&(null==e||e.removeEventListener("error",n)),null==e||e.remove()}}),[]),r===u.offMainThread){const o=y(e),c=v(e);return"undefined"==typeof window&&s.set(i,c),n.createElement("script",o?a({type:"text/partytown","data-strategy":r,crossOrigin:"anonymous"},c,{dangerouslySetInnerHTML:{__html:y(e)}}):a({type:"text/partytown",src:b(t),"data-strategy":r,crossOrigin:"anonymous"},c))}return null}function g(e){const{id:t,src:r,strategy:n=u.postHydrate,onLoad:o,onError:i}=e||{},s=t||r,c=["load","error"],l={load:o,error:i};if(s){for(const e of c)if(null!=l&&l[e]){var h;const t=f.get(s)||{},{callbacks:r=[]}=(null==t?void 0:t[e])||{};var d,m;r.push(null==l?void 0:l[e]),null!=t&&null!=(h=t[e])&&h.event?null==l||null==(d=l[e])||d.call(l,null==t||null==(m=t[e])?void 0:m.event):f.set(s,a({},t,{[e]:{callbacks:r}}))}if(p.has(s))return null}const g=y(e),b=v(e),w=document.createElement("script");t&&(w.id=t),w.dataset.strategy=n;for(const[a,u]of Object.entries(b))w.setAttribute(a,u);g&&(w.textContent=g),r&&(w.src=r);const _={};if(s){for(const e of c){const t=t=>E(t,s,e);w.addEventListener(e,t),_[`${e}Callback`]=t}p.add(s)}return document.body.appendChild(w),{script:w,loadCallback:_.loadCallback,errorCallback:_.errorCallback}}function y(e){const{dangerouslySetInnerHTML:t,children:r=""}=e||{},{__html:n=""}=t||{};return n||r}function v(e){const t={};for(const[r,n]of Object.entries(e))h.has(r)||(t[r]=n);return t}function b(e){if(e)return`/__third-party-proxy?url=${encodeURIComponent(e)}`}function E(e,t,r){const n=f.get(t)||{};for(const a of(null==n||null==(o=n[r])?void 0:o.callbacks)||[]){var o;a(e)}f.set(t,{[r]:{event:e}})}}},function(e){e.O(0,[532,774],(function(){return t=5824,e(e.s=t);var t}));e.O()}]);
//# sourceMappingURL=app-e101915bda8aa33517e3.js.map