/*! For license information please see main.9454495f.js.LICENSE.txt */
(()=>{var e={1148:(e,t,n)=>{n(57532),e.exports=n(63246).Date.now},46742:(e,t,n)=>{n(51810),n(63246).Number.isInteger},4758:(e,t,n)=>{n(44694),e.exports=n(63246).Object.assign},92247:(e,t,n)=>{n(32183);var r=n(63246).Object;e.exports=function(e,t){return r.create(e,t)}},57879:(e,t,n)=>{n(46871),e.exports=n(63246).Object.keys},34724:(e,t,n)=>{n(8484),e.exports=n(63246).Object.setPrototypeOf},54845:(e,t,n)=>{n(29370),e.exports=n(63246).Object.values},94155:e=>{e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},38388:(e,t,n)=>{var r=n(16729);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},90376:(e,t,n)=>{var r=n(26005),i=n(41853),o=n(7229);e.exports=function(e){return function(t,n,a){var s,l=r(t),c=i(l.length),u=o(a,c);if(e&&n!=n){for(;c>u;)if((s=l[u++])!=s)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===n)return e||u||0;return!e&&-1}}},12609:e=>{var t={}.toString;e.exports=function(e){return t.call(e).slice(8,-1)}},63246:e=>{var t=e.exports={version:"2.6.12"};"number"==typeof __e&&(__e=t)},6236:(e,t,n)=>{var r=n(94155);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}},18176:e=>{e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on  "+e);return e}},81843:(e,t,n)=>{e.exports=!n(41512)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},12194:(e,t,n)=>{var r=n(16729),i=n(80438).document,o=r(i)&&r(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},91980:e=>{e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},59439:(e,t,n)=>{var r=n(80438),i=n(63246),o=n(6236),a=n(54189),s=n(28685),l="prototype",c=function(e,t,n){var u,d,p,h=e&c.F,f=e&c.G,m=e&c.S,g=e&c.P,v=e&c.B,y=e&c.W,A=f?i:i[t]||(i[t]={}),b=A[l],w=f?r:m?r[t]:(r[t]||{})[l];for(u in f&&(n=t),n)(d=!h&&w&&void 0!==w[u])&&s(A,u)||(p=d?w[u]:n[u],A[u]=f&&"function"!=typeof w[u]?n[u]:v&&d?o(p,r):y&&w[u]==p?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t[l]=e[l],t}(p):g&&"function"==typeof p?o(Function.call,p):p,g&&((A.virtual||(A.virtual={}))[u]=p,e&c.R&&b&&!b[u]&&a(b,u,p)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,e.exports=c},41512:e=>{e.exports=function(e){try{return!!e()}catch(t){return!0}}},80438:e=>{var t=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=t)},28685:e=>{var t={}.hasOwnProperty;e.exports=function(e,n){return t.call(e,n)}},54189:(e,t,n)=>{var r=n(13487),i=n(30156);e.exports=n(81843)?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},58156:(e,t,n)=>{var r=n(80438).document;e.exports=r&&r.documentElement},50716:(e,t,n)=>{e.exports=!n(81843)&&!n(41512)((function(){return 7!=Object.defineProperty(n(12194)("div"),"a",{get:function(){return 7}}).a}))},98129:(e,t,n)=>{var r=n(12609);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},85954:(e,t,n)=>{var r=n(16729),i=Math.floor;e.exports=function(e){return!r(e)&&isFinite(e)&&i(e)===e}},16729:e=>{e.exports=function(e){return"object"===typeof e?null!==e:"function"===typeof e}},78318:e=>{e.exports=!0},43326:(e,t,n)=>{"use strict";var r=n(81843),i=n(6303),o=n(1556),a=n(49745),s=n(74894),l=n(98129),c=Object.assign;e.exports=!c||n(41512)((function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach((function(e){t[e]=e})),7!=c({},e)[n]||Object.keys(c({},t)).join("")!=r}))?function(e,t){for(var n=s(e),c=arguments.length,u=1,d=o.f,p=a.f;c>u;)for(var h,f=l(arguments[u++]),m=d?i(f).concat(d(f)):i(f),g=m.length,v=0;g>v;)h=m[v++],r&&!p.call(f,h)||(n[h]=f[h]);return n}:c},42431:(e,t,n)=>{var r=n(38388),i=n(32842),o=n(91980),a=n(35950)("IE_PROTO"),s=function(){},l="prototype",c=function(){var e,t=n(12194)("iframe"),r=o.length;for(t.style.display="none",n(58156).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),c=e.F;r--;)delete c[l][o[r]];return c()};e.exports=Object.create||function(e,t){var n;return null!==e?(s[l]=r(e),n=new s,s[l]=null,n[a]=e):n=c(),void 0===t?n:i(n,t)}},13487:(e,t,n)=>{var r=n(38388),i=n(50716),o=n(9528),a=Object.defineProperty;t.f=n(81843)?Object.defineProperty:function(e,t,n){if(r(e),t=o(t,!0),r(n),i)try{return a(e,t,n)}catch(s){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},32842:(e,t,n)=>{var r=n(13487),i=n(38388),o=n(6303);e.exports=n(81843)?Object.defineProperties:function(e,t){i(e);for(var n,a=o(t),s=a.length,l=0;s>l;)r.f(e,n=a[l++],t[n]);return e}},59633:(e,t,n)=>{var r=n(49745),i=n(30156),o=n(26005),a=n(9528),s=n(28685),l=n(50716),c=Object.getOwnPropertyDescriptor;t.f=n(81843)?c:function(e,t){if(e=o(e),t=a(t,!0),l)try{return c(e,t)}catch(n){}if(s(e,t))return i(!r.f.call(e,t),e[t])}},1556:(e,t)=>{t.f=Object.getOwnPropertySymbols},83473:(e,t,n)=>{var r=n(28685),i=n(26005),o=n(90376)(!1),a=n(35950)("IE_PROTO");e.exports=function(e,t){var n,s=i(e),l=0,c=[];for(n in s)n!=a&&r(s,n)&&c.push(n);for(;t.length>l;)r(s,n=t[l++])&&(~o(c,n)||c.push(n));return c}},6303:(e,t,n)=>{var r=n(83473),i=n(91980);e.exports=Object.keys||function(e){return r(e,i)}},49745:(e,t)=>{t.f={}.propertyIsEnumerable},68203:(e,t,n)=>{var r=n(59439),i=n(63246),o=n(41512);e.exports=function(e,t){var n=(i.Object||{})[e]||Object[e],a={};a[e]=t(n),r(r.S+r.F*o((function(){n(1)})),"Object",a)}},9150:(e,t,n)=>{var r=n(81843),i=n(6303),o=n(26005),a=n(49745).f;e.exports=function(e){return function(t){for(var n,s=o(t),l=i(s),c=l.length,u=0,d=[];c>u;)n=l[u++],r&&!a.call(s,n)||d.push(e?[n,s[n]]:s[n]);return d}}},30156:e=>{e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},30882:(e,t,n)=>{var r=n(16729),i=n(38388),o=function(e,t){if(i(e),!r(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,r){try{(r=n(6236)(Function.call,n(59633).f(Object.prototype,"__proto__").set,2))(e,[]),t=!(e instanceof Array)}catch(i){t=!0}return function(e,n){return o(e,n),t?e.__proto__=n:r(e,n),e}}({},!1):void 0),check:o}},35950:(e,t,n)=>{var r=n(73948)("keys"),i=n(19439);e.exports=function(e){return r[e]||(r[e]=i(e))}},73948:(e,t,n)=>{var r=n(63246),i=n(80438),o="__core-js_shared__",a=i[o]||(i[o]={});(e.exports=function(e,t){return a[e]||(a[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n(78318)?"pure":"global",copyright:"\xa9 2020 Denis Pushkarev (zloirock.ru)"})},7229:(e,t,n)=>{var r=n(45311),i=Math.max,o=Math.min;e.exports=function(e,t){return(e=r(e))<0?i(e+t,0):o(e,t)}},45311:e=>{var t=Math.ceil,n=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?n:t)(e)}},26005:(e,t,n)=>{var r=n(98129),i=n(18176);e.exports=function(e){return r(i(e))}},41853:(e,t,n)=>{var r=n(45311),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},74894:(e,t,n)=>{var r=n(18176);e.exports=function(e){return Object(r(e))}},9528:(e,t,n)=>{var r=n(16729);e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},19439:e=>{var t=0,n=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++t+n).toString(36))}},57532:(e,t,n)=>{var r=n(59439);r(r.S,"Date",{now:function(){return(new Date).getTime()}})},51810:(e,t,n)=>{var r=n(59439);r(r.S,"Number",{isInteger:n(85954)})},44694:(e,t,n)=>{var r=n(59439);r(r.S+r.F,"Object",{assign:n(43326)})},32183:(e,t,n)=>{var r=n(59439);r(r.S,"Object",{create:n(42431)})},46871:(e,t,n)=>{var r=n(74894),i=n(6303);n(68203)("keys",(function(){return function(e){return i(r(e))}}))},8484:(e,t,n)=>{var r=n(59439);r(r.S,"Object",{setPrototypeOf:n(30882).set})},29370:(e,t,n)=>{var r=n(59439),i=n(9150)(!1);r(r.S,"Object",{values:function(e){return i(e)}})},57033:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});n(9950);const r=n.p+"static/media/no_picture.23e63ed3abb7680220933d5c4b812414.svg"},44805:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>z,ZQ:()=>R,ws:()=>Q});var r=n(96011),i=n.n(r),o=n(69435),a=n(91843),s=n(51673);let l,c,u,d,p,h,f,m,g,v,y,A,b,w,x,C,S,k,E,I,_="en";const P={order:(e,t)=>g.webOrderGetOrder(e,_,{cancelToken:t}),orders:(e,t)=>g.webOrderOrderSearch(_,e.search,e.from,e.to,e.pageSize,e.page,e.userOrderType,e.systemOrderType,{cancelToken:t}),orderPublic:e=>g.webOrderGetPublicOrder(e,_),orderPartnerOverviewOrderFilters:()=>g.webOrderGetPartnerOrderFiltersAsSeller(),orderPublicPartnerOverviewOrderFilters:(e,t)=>g.webOrderGetPartnerOrderFilters(e,t),orderPublicPartnerOverviewSearch:(e,t,n,r)=>g.webOrderGetPagedPartnerOverviewPOST(e,t,n,{cancelToken:r}),orderPublicPartnerStatsOverview:(e,t,n,r,i)=>g.webOrderGetPartnerStatsOverviewPOST(e,t,n,r,{cancelToken:i}),orderPublicStatsOverview:(e,t,n)=>g.webOrderGetStatsOverviewPOST(e,t,{cancelToken:n}),orderSetPublicOrderCommentPinned:(e,t,n)=>g.webOrderSetPublicOrderCommentPinned(e,_,t,n,{}),orderSetPublicOrderRemoveDateWarning:e=>g.webOrderRemoveDateWarningPOST(e,{}),orderPartnerOverviewSearch:(e,t,n)=>g.webOrderGetPagedPartnerOverviewAsSellerPOST(t,{cancelToken:n}),articlePublicPartnerOverviewSearch:(e,t,n,r,i,o,a,s,l,c)=>d.refinementSearchArticlesPartner(_,e,t,n,r,i,o,a,s,l,{cancelToken:c}),articlePartnerOverviewSearch:(e,t,n,r,i,o,a,s)=>d.refinementSearchArticlesSeller(_,e,t,n,r,i,o,a,{cancelToken:s}),articlePublicPartnerOverviewArticleFilters:(e,t)=>d.refinementGetFiltersPartner(_,e,t),articlePartnerOverviewArticleFilters:()=>d.refinementGetFiltersSeller(_),articlePublicPartnerGetStockQuantity:e=>d.refinementGetStockQuantity(_,e),articlePublicPartnerGetStockQuantityPartner:(e,t,n)=>d.refinementGetStockQuantityPartner(_,e,t,n),articlePublicPartnerOverviewQuantity:(e,t)=>d.refinementUpdateStockQuantityPOST(_,e,t),articlePublicPartnerOverviewQuantityWithSecret:(e,t,n,r)=>d.refinementUpdateStockQuantityPartnerPOST(_,e,t,n,r),orderPublicPartnerExist:e=>g.webOrderGetPartnerExistPOST(e),orderPublicSetStatus:(e,t)=>g.webOrderSetPublicOrderStatusPOST(e,_,t),orderPublicRejectToCustomer:(e,t)=>g.webOrderRejectToCustomerPOST(e,_,t),orderPublicSendForCustomerApproval:(e,t)=>g.webOrderSendForCustomerApprovalPOST(e,_,t),orderPublicCustomerSubmit:(e,t)=>g.webOrderCustomerSubmitPOST(e,_,t),orderPublicCustomerApprove:(e,t,n)=>g.webOrderCustomerApprovePOST(e,_,t,n),orderPublicRemoveShipment:(e,t)=>g.webOrderRemoveShipmentPOST(e,t),orderPublicAddShipment:(e,t,n)=>g.webOrderAddShipmentPOST(e,t,n),orderPublicGetDelivery:e=>g.webOrderGetDelivery(e),orderPublicSetDelivery:(e,t)=>g.webOrderSetDeliveryPOST(e,t),orderPublicSendOrderDocuments:(e,t,n)=>g.webOrderSendOrderDocumentsPOST(e,_,t,n),orderPublicSetOrderDocuments:(e,t)=>g.webOrderSetOrderDocumentPricesPOST(e,null!==t&&void 0!==t?t:_),orderPublicSetComment:(e,t,n,r)=>g.webOrderSetPublicOrderCommentPOST(e,_,n,r,t),orderPublicRemove:e=>g.webOrderRemovePOST(e),orderPublicGetRefinements:e=>g.webOrderGetRefinements(e,_),orderPubliChangeRefinement:(e,t,n,r,i,o,a)=>{const s=g;s.configuration.formDataCtor=F(t,n,i,r,a);const l=g.webOrderChangeRefinementsPOST(_,e,void 0,void 0,void 0,void 0,void 0,o,void 0);return s.configuration.formDataCtor=null,l},orderSkusFromFile:(e,t)=>g.webOrderSkusFromFilePOST(_,e,[t]),orderPublicComplete:e=>g.webOrderCompleteOrderPOST(e),orderPublicShippingCosts:e=>g.webOrderGetRefinementShippingCostsPOST(e),orderPublicCustomerInfo:e=>g.webOrderGetCustomerInfo(e),orderPublicRemoveRefinement:(e,t)=>g.webOrderRemoveRefinementPOST(_,e,t),orderPublicGetVariableText:(e,t,n,r)=>{const i=c;i.configuration.formDataCtor=F(e,void 0,void 0,t);const o=g.webOrderGetVariableTextDocumentPOST(_,r,void 0,void 0,n,{responseType:"blob"});return i.configuration.formDataCtor=null,o},orderPublicGetVariableTextData:(e,t,n,r)=>{const i=c;i.configuration.formDataCtor=F(e,void 0,void 0,t);const o=g.webOrderGetVariableTextDataPOST(_,r,void 0,void 0,n);return i.configuration.formDataCtor=null,o},orderPublicSetVariableTextData:(e,t,n,r)=>g.webOrderSetVariableTextDocumentPOST(_,r,{values:n,skus:t,refinements:e},{responseType:"blob"}),orderPublicVerifyVariableText:(e,t,n,r)=>{const i=c;i.configuration.formDataCtor=F(e,void 0,void 0,t);const o=g.webOrderVerifyVariableTextDocumentPOST(_,r,void 0,void 0,n);return i.configuration.formDataCtor=null,o},status:e=>g.webOrderGetStatusPOST(e),invoice:e=>g.webOrderGetInvoice(e,{responseType:"blob"}),orderSubscriptions:()=>g.webOrderGetOrderSubscriptions(),orderAddSubscription:e=>g.webOrderAddOrderSubscriptionPOST(e),orderDeleteSubscription:e=>g.webOrderDeleteOrderSubscriptionPOST(e),orderGetOrderXlsx:e=>g.webOrderGetXlsxOrder(e,_,{responseType:"blob"})},O="selling",T="override",D={offerUpdate:(e,t,n)=>y.offerOfferOperationsPOST(e,_,t,{signal:n}),offerGetOffer:(e,t)=>y.offerGet(e,_,{signal:t}),offerRemoveOffer:e=>y.offerRemovePOST(e,_),offerChangeOrder:(e,t)=>y.offerChangeOrderPOST(e,_,t),offerGeneratePublicUrl:e=>y.offerAddPublicUrlPOST(e,_),offerRemovePublicUrl:e=>y.offerRemovePublicUrlPOST(e,_),offerChangeDiscountMode:(e,t)=>y.offerChangeDiscountModePOST(e,t,_),offerSetName:(e,t)=>y.offerChangeNamePOST(e,t,_),offerSetCustomer:(e,t)=>y.offerChangeCustomerInfoPOST(e,_,t),offerSetSettings:(e,t)=>y.offerSetOfferPdfSettingsPOST(e,_,t),offerSetComment:(e,t,n,r)=>y.offerSetCommentPOST(e,t,null!==n&&void 0!==n?n:void 0,r,_),offerAddCost:(e,t,n)=>y.offerAddCostPOST(e,_,t,{signal:n}),offerChangeCost:(e,t,n,r)=>y.offerChangeCostPOST(e,t,_,n,{signal:r}),offerSetExpirationDate:(e,t)=>y.offerChangeExpirationDatePOST(e,t,_),offerLinkOffer:(e,t)=>y.offerLinkOfferToCustomerPOST(t,e,_),offerUnlinkOffer:e=>y.offerUnLinkOfferToCustomerPOST(e,_),offerSetDaysBeforeReminder:(e,t)=>y.offerChangeNotoficationTimePOST(e,null!==t&&void 0!==t?t:void 0,_),offerChangeRefinementQuantity:(e,t,n)=>y.offerChangeRefinementQuantityPOST(e,n,t,_),offerChangeProductOrder:(e,t)=>y.offerChangeOrderPOST(e,_,t),offerChangeRefinement:(e,t,n,r,i,o,a)=>{const s=y;s.configuration.formDataCtor=F(t,n,i,r,a);const l=y.offerChangeRefinementsPOST(e,_,void 0,void 0,void 0,void 0,void 0,o,void 0);return s.configuration.formDataCtor=null,l},offerRemoveRefinement:(e,t)=>y.offerRemoveRefinementPOST(e,t,_)},j={cartRemoveArticle:(e,t)=>c.cartRemoveSkuPOST(_,e,null===t||void 0===t?void 0:t.type,null===t||void 0===t?void 0:t.id),cartSetRequestedDispatchDate:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0;return c.cartSetSkuDispatchDatePOST(_,e,null===n||void 0===n?void 0:n.type,null===n||void 0===n?void 0:n.id,t)},cartSetSkuComment:(e,t,n)=>c.cartSetSkuCommentPOST(_,e,t,null===n||void 0===n?void 0:n.type,null===n||void 0===n?void 0:n.id),cartSetQuantity:(e,t)=>c.cartAddChangePOST(_,null===t||void 0===t?void 0:t.type,null===t||void 0===t?void 0:t.id,[e]),cartSetQuantities:(e,t)=>c.cartAddChangePOST(_,null===t||void 0===t?void 0:t.type,null===t||void 0===t?void 0:t.id,e),cartB2BResellerCheckout:(e,t)=>c.cartB2BResellerCheckoutPOST(_,null===t||void 0===t?void 0:t.type,null===t||void 0===t?void 0:t.id,e),cartB2BCheckout:(e,t)=>c.cartB2BCheckoutPOST(_,null===t||void 0===t?void 0:t.type,null===t||void 0===t?void 0:t.id,e),cartPaymentCheckout:(e,t)=>c.cartPaymentCheckoutPOST(_,null===e||void 0===e?void 0:e.type,null===e||void 0===e?void 0:e.id,t),cartLoad:e=>c.cartGet(_,null===e||void 0===e?void 0:e.type,null===e||void 0===e?void 0:e.id),cartAddOrderToCart:(e,t,n,r)=>c.cartAddOrderToCartPOST(_,e,t,null===r||void 0===r?void 0:r.type,null===r||void 0===r?void 0:r.id,n),cartAddCartToCart:(e,t)=>c.cartAddCartToCartPOST(_,e,null===t||void 0===t?void 0:t.type,null===t||void 0===t?void 0:t.id),cartAddCampaign:(e,t)=>c.cartAddCampaignPOST(_,e,null===t||void 0===t?void 0:t.type,null===t||void 0===t?void 0:t.id),cartRemoveCampaign:e=>c.cartRemoveCampaignPOST(_,null===e||void 0===e?void 0:e.type,null===e||void 0===e?void 0:e.id),cartGetCheckOut:e=>c.cartGetCheckoutInfo(_,null===e||void 0===e?void 0:e.type,null===e||void 0===e?void 0:e.id),cartSetCheckOut:(e,t)=>c.cartSetCheckoutInfoPOST(_,null===t||void 0===t?void 0:t.type,null===t||void 0===t?void 0:t.id,e),cartEmpty:e=>c.cartClearPOST(_,null===e||void 0===e?void 0:e.type,null===e||void 0===e?void 0:e.id),cartPrices:(e,t)=>c.cartGetPricesPOST(_,null===e||void 0===e?void 0:e.type,null===e||void 0===e?void 0:e.id,{cancelToken:t}),cartSetDraft:(e,t)=>c.cartSetDraftPOST(_,e,null===t||void 0===t?void 0:t.type,null===t||void 0===t?void 0:t.id),cartCreateOffer:e=>c.cartCreateOfferPOST(_,e),cartCreateDraft:e=>c.cartCreateDraftPOST(_,e),cartOrderHistory:e=>c.cartOrderHistory(_,null===e||void 0===e?void 0:e.type,null===e||void 0===e?void 0:e.id),cartGetExternalCustomers:(e,t)=>c.cartGetExternalCustomers(_,t,null===e||void 0===e?void 0:e.type,null===e||void 0===e?void 0:e.id),cartGetRefinements:e=>c.cartGetRefinements(_,null===e||void 0===e?void 0:e.type,null===e||void 0===e?void 0:e.id),cartGetVariableText:(e,t,n,r)=>{const i=c;i.configuration.formDataCtor=F(e,void 0,void 0,t);const o=c.cartGetVariableTextDocumentPOST(_,null===r||void 0===r?void 0:r.type,null===r||void 0===r?void 0:r.id,void 0,void 0,n,{responseType:"blob"});return i.configuration.formDataCtor=null,o},cartGetVariableTextData:(e,t,n,r)=>{const i=c;i.configuration.formDataCtor=F(e,void 0,void 0,t);const o=c.cartGetVariableTextDataPOST(_,null===r||void 0===r?void 0:r.type,null===r||void 0===r?void 0:r.id,void 0,void 0,n);return i.configuration.formDataCtor=null,o},cartSetVariableTextData:(e,t,n,r)=>c.cartSetVariableTextDocumentPOST(_,null===r||void 0===r?void 0:r.type,null===r||void 0===r?void 0:r.id,{values:n,skus:t,refinements:e},{responseType:"blob"}),cartVerifyVariableText:(e,t,n,r)=>{const i=c;i.configuration.formDataCtor=F(e,void 0,void 0,t);const o=c.cartVerifyVariableTextDocumentPOST(_,null===r||void 0===r?void 0:r.type,null===r||void 0===r?void 0:r.id,void 0,void 0,n);return i.configuration.formDataCtor=null,o},cartGetAvaialbleRefinement:(e,t,n,r)=>c.cartGetAvailableRefinements(_,e,t,n,null===r||void 0===r?void 0:r.type,null===r||void 0===r?void 0:r.id),cartGetRefinementServiceOptions:e=>c.cartGetRefinementServiceOptions(_,null===e||void 0===e?void 0:e.type,null===e||void 0===e?void 0:e.id),cartSetRefinementAddresses:(e,t)=>c.cartRefinementAddressesPOST(_,null===t||void 0===t?void 0:t.type,null===t||void 0===t?void 0:t.id,e),cartSetRefinementServices:(e,t)=>c.cartRefinementServicesPOST(_,null===t||void 0===t?void 0:t.type,null===t||void 0===t?void 0:t.id,e),cartChangeRefinementQuantity:(e,t,n)=>c.cartChangeRefinementQuantityPOST(_,t,e,null===n||void 0===n?void 0:n.type,null===n||void 0===n?void 0:n.id),cartAddArticle:(e,t,n,r)=>c.cartAddArticlePOST(_,e,t,n,null===r||void 0===r?void 0:r.type,null===r||void 0===r?void 0:r.id),cartAddCollection:(e,t,n)=>c.cartAddCollectionPOST(_,e,null===n||void 0===n?void 0:n.type,null===n||void 0===n?void 0:n.id,t),cartChangeRefinement:(e,t,n,r,i,o,a,s)=>{const l=c;l.configuration.formDataCtor=F(e,t,r,n,o);const u=c.cartChangeRefinementsPOST(_,s,null===a||void 0===a?void 0:a.type,null===a||void 0===a?void 0:a.id,void 0,void 0,void 0,void 0,void 0,i,void 0);return l.configuration.formDataCtor=null,u},cartRemoveRefinement:(e,t)=>c.cartRemoveRefinementPOST(_,e,null===t||void 0===t?void 0:t.type,null===t||void 0===t?void 0:t.id)},B={searchCollections:(e,t,n,r,i,o,a)=>d.refinementSearchCollectionsCustomer(_,e,t,n,r,i,o,{cancelToken:a}),getCollection:e=>d.refinementGetCollection(_,e),getCollections:e=>d.refinementGetCollectionsPOST(_,e),getCollectionProducts:e=>l.assortmentGetProductVariations(_,e),getCollectionsFilters:()=>d.refinementGetCollectionFilters(_),updateCollection:(e,t,n)=>d.refinementUpdateCollectionPOST(_,e,t,n),deleteDraftCollection:e=>d.refinementDeleteCollectionPOST(e,_),archiveCollection:(e,t)=>d.refinementArchiveCollectionPOST(e,_,t),submitDraftCollectionForApproval:()=>Promise.resolve(),getCollectionData:e=>d.refinementGetCollectionData(_,e),changeCollectionData:(e,t,n,r,i,o)=>{const a=c;a.configuration.formDataCtor=F(n,r,void 0,void 0,void 0,t);const s=d.refinementChangeCollectionPOST(_,e,void 0,void 0,void 0,i,{cancelToken:o});return a.configuration.formDataCtor=null,s}},N={getSalesboard:(e,t,n,r)=>b.salesboardGetSalesboard(e,t,n,r),getLeaderboard:(e,t,n)=>b.salesboardGetLeaderboard(e,t,n),getTopProducts:(e,t)=>b.salesboardGetTopProducts(e,t),getTopOrders:e=>b.salesboardGetTopOrders(e),getTotalOrderValue:(e,t)=>b.salesboardGetTotalOrderValue(e,t)};let M;function R(e){M=e}const L={...{getFilters:e=>{var t;return l.assortmentGetFiltersPOST(_,x,C,{...e,assortmentIds:null!==(t=e.assortmentIds)&&void 0!==t?t:I})},getPrices:e=>l.assortmentPricePOST(_,e),getSkus:(e,t)=>l.assortmentSkus(_,e,t),getVariationSkus:(e,t)=>l.assortmentGetProductVariations(_,e,t),searchProductsFull:(e,t)=>l.assortmentSearchFull(_,e.searchPhrase,e.categories?e.categories:I,e.filters,e.orderBy,e.pageSize,e.page,x,C,{cancelToken:t}),exportSearchProducts:(e,t,n)=>l.assortmentExtendedSearch(_,e.searchPhrase,e.categories?e.categories:I,e.filters,e.orderBy,t,e.pageSize,e.page,x,C,{cancelToken:n}),searchProductsSimple:(e,t)=>l.assortmentSearchSimple(_,e.searchPhrase,e.categories?e.categories:I,e.filters,e.orderBy,e.pageSize,e.page,x,C,{cancelToken:t}),getCategories:(e,t)=>window.categoryNodes&&void 0===e&&void 0===t?Promise.resolve({data:window.categoryNodes,status:200,statusText:"Ok",config:{},headers:{},request:{}}):l.assortmentGetCategories(_,e,!0,t,x,C),getProduct:(e,t)=>l.assortmentGetProduct(_,e,I,t,x,C),getProducts:(e,t)=>l.assortmentGetProducts(_,e,I,t,x,C),getAttributeProducts:(e,t,n,r)=>l.assortmentGetExtendedProducts(_,t,e,I,n,x,C,{cancelToken:r}),getImagesZip:(e,t)=>l.assortmentGetImagesZip(e,_,t,x,C,{responseType:"blob"})},...j,...{cartsGetPdfTemplates:()=>w.cartsGetPdfTemplates(_),cartsSavePdfTemplate:e=>w.cartsSaveTemplatesPOST(_,e),cartsGetDrafts:()=>w.cartsDrafts(_),cartsGetOffers:(e,t,n)=>w.cartsOffers(_,e,t,n),cartsGetOfferTerms:()=>w.cartsGetTerms(_),cartsSetPublicOfferComment:e=>w.cartsSetOfferCommentPOST(_,e),cartsCreateOffer:e=>w.cartsCreateOfferPOST(_,e),cartsGetPublicOffer:e=>w.cartsGetPublicOffer(_,e)},...{refinementsGetSpecialProducts:()=>d.refinementGetSpecialRefinementProducts(_),refinementsGetProducts:(e,t)=>d.refinementGetRefinementProducts(_,e,I,t),refinementsGetBasePreviews:(e,t,n)=>d.refinementGetRefinmentPreviews(_,e,t,{cancelToken:n}),refinementsGetPricePreviews:(e,t,n,r,i,o)=>{const a=c;a.configuration.formDataCtor=F(t,n,void 0,r);const s=d.refinementGetRefinementCostPreviewsPOST(_,e,i,void 0,void 0,void 0,{cancelToken:o});return a.configuration.formDataCtor=null,s}},...B,...{searchArticles:(e,t,n,r,i,o,a,s)=>d.refinementSearchArticlesCustomer(_,e,t,n,r,i,o,s,{cancelToken:a}),getArticle:e=>d.refinementGetArticle(_,e),getArticleDetails:e=>d.refinementGetArticleDetails(_,e),getArticlesFilters:e=>d.refinementGetFilters(_,e),archiveArticle:(e,t)=>d.refinementArchiveArticle(e,_,t),articleMonitoring:(e,t,n)=>d.refinementUpdateArticleMonitoringInfoPOST(e,_,n,t),searchCategories:e=>d.refinementSearchCategories(_,e),updateCategory:(e,t)=>d.refinementUpdateCategoryPOST(_,e,t),updateArticle:(e,t,n)=>d.refinementUpdateArticlePOST(_,e,t,n),removeTag:(e,t)=>d.refinementRemoveCategoryFromArticle(_,e,0),getMountedArticle:(e,t)=>d.refinementGetMountedArticlePOST(_,e,t),deleteDraftArticle:e=>d.refinementDeleteDraftArticle(e,_),createDraftArticle:(e,t)=>{const n=d;n.configuration.formDataCtor=F([e],[],void 0,void 0,void 0);const r=d.refinementCreateDraftArticlePOST(_,void 0,t);return n.configuration.formDataCtor=null,r},submitDraftForApproval:e=>d.refinementSendArticleForApprovalPOST(_,e),updateStatus:(e,t)=>d.refinementUpdateStatusPOST(_,e,t),updateStatusPartner:(e,t,n,r)=>d.refinementUpdateStatusPartnerPOST(_,e,t,n,r)},...{userCurrent:()=>p.userCurrentGet(),userProfilePicture:()=>p.userCurrentImage(),userUploadProfilePicture:e=>p.userCurrentUploadImagePOST(e),userRemoveProfilePicture:()=>p.userCurrentUploadImagePOST()},...{getPaymentInit:()=>h.paymentPaymentMethodsPOST(_),initiatePayment:(e,t)=>h.paymentInitiatePaymentPOST(_,null===t||void 0===t?void 0:t.type,null===t||void 0===t?void 0:t.id,e),submitPaymentDetails:(e,t)=>h.paymentSubmitAdditionalDetailsPOST(_,null===t||void 0===t?void 0:t.type,null===t||void 0===t?void 0:t.id,e),redirectCallback:(e,t)=>h.paymentRedirectCallbackPOST(_,e,null===t||void 0===t?void 0:t.type,null===t||void 0===t?void 0:t.id),cancelPayment:e=>h.paymentCancelPayment(_,null===e||void 0===e?void 0:e.type,null===e||void 0===e?void 0:e.id),getPaymentDetails:e=>h.paymentGetNotification(_,null===e||void 0===e?void 0:e.type,null===e||void 0===e?void 0:e.id)},...{getProductExportPresets:()=>f.productExportGetPresets(),saveProductExportPreset:e=>f.productExportSavePresetPOST(e),deleteProductExportPreset:e=>f.productExportDeletePresetPOST(e),getColumnTemplates:()=>f.productExportGetColumnTemplates(),getImagesPreview:(e,t,n)=>{var r;return f.productExportGetImagePreviewPOST(e,t,n.searchPhrase,null!==(r=n.categories)&&void 0!==r&&r.length?n.categories:I,n.filters,n.orderBy,n.pageSize,n.page)},generateImageExport:(e,t)=>f.productExportGenerateImageExportPOST(e,t),getProductsPreview:(e,t,n)=>{var r;return f.productExportGetPreviewPOST(e,{...t,categories:null!==(r=t.categories)&&void 0!==r&&r.length?t.categories:I},{cancelToken:n})},generateProductsExcelFile:(e,t)=>{var n;return f.productExportGenerateProductExportPOST(e,{...t,categories:null!==(n=t.categories)&&void 0!==n&&n.length?t.categories:I})},downloadProductsExcelFile:(e,t,n)=>{var r;return f.productExportDownloadProductExportPOST(e,{...t,categories:null!==(r=t.categories)&&void 0!==r&&r.length?t.categories:I},{responseType:"blob",cancelToken:n})},allowedExportRequest:e=>f.productExportAllowedExportRequest(e),getExportStatus:e=>f.productExportGetExportStatus(e),getAllExportStatuses:()=>f.productExportGetAllExportStatuses()},...{base64FromFiles:(e,t)=>m.logoApplicatorGetBase64FromFilesPOST(e,{cancelToken:t}),searchPMSColor:(e,t)=>m.logoApplicatorGetPMSSearch(e,t),getPMSColors:(e,t,n,r)=>m.logoApplicatorGetPMSFromRgb(e,t,n,null!==r&&void 0!==r?r:1),getAllMockupProducts:()=>m.logoApplicatorGetProducts(_),getMockupProductsFromVariations:e=>m.logoApplicatorGetProductsFromVariations(_,e),getMockups:e=>m.logoApplicatorGetMockups(e),getMockupData:(e,t)=>m.logoApplicatorGetMockup(e,t),updateInsertMockup:(e,t,n,r,i,o,a)=>m.logoApplicatorUpdateMockupPOST(e,t,o,a?[a]:[],n,r,i),removeMockup:(e,t)=>m.logoApplicatorRemoveMockupPOST(e,t)},...P,...{init:()=>v.appInit()},...{customerGet:()=>(k="true"===localStorage.getItem(O),E=localStorage.getItem(T),u.customerGet()),customerSetSelling:e=>(k=!0,E=null,localStorage.setItem(O,"true"),localStorage.removeItem(T),u.customerSetSellingPOST(e)),customerStopSelling:()=>(k=!1,E=null,localStorage.removeItem(O),localStorage.removeItem(T),u.customerStopSelling()),customerSetOverride:e=>{E=e,localStorage.setItem(T,e)},customerStopOverride:()=>{E=null,localStorage.removeItem(T)},customerGetFiles:()=>u.customerGetFiles(),customerUploadFiles:e=>u.customerUploadFilesPOST(e),customerRemoveFiles:e=>u.customerRemoveFilesPOST(e),customerGetBase64File:e=>u.customerGetBase64File(e),customerGetUsers:e=>u.customerGetUsers(e),addCustomerPriceList:()=>u.customerAddCustomerPriceList(_,I),getCustomerPriceList:()=>u.customerGetCustomerPriceList(_),removeCustomerPriceList:e=>u.customerDeleteCustomerPriceListPOST(_,e)},...D,...{microshopGetUnits:e=>A.microshopGetMicroshopUnits(e),microshopUpdateMicroshopUnits:(e,t,n)=>A.microshopUpdateMicroshopUnitsPOST(e,t,n),microshopValidateMicroshopUser:(e,t)=>A.microshopValidateMicroshopUserPOST(e,t),microshopUploadShopUnitUsers:e=>A.microshopUploadShopUnitUsersPOST(e),microshopImportShopUsers:(e,t)=>A.microshopImportShopUsersPOST(e,t),microshopGetShopUnitUserImportTemplate:e=>A.microshopGetShopUnitUserImportTemplate(e),microshopCreateOrUpdateUser:(e,t,n)=>A.microshopCreateOrUpdateUserPOST(e,t,n),microshopExportShopUsers:(e,t,n)=>A.microshopExportShopUsers(e,t,n),microshopFindShopUser:(e,t)=>A.microshopFindShopUserPOST(e,t),microshopGetOptions:()=>A.microshopGetMicroshopOptions(_),microshopChangeOwner:(e,t)=>A.microshopUpdateMicroshopOwnerPOST(_,t,e),microshopValidatEmail:e=>A.microshopValidateMicroshopOwnerEmailPOST(_,e),microshopGetMicroshops:e=>A.microshopGetMicroshops(_,e),microshopGetAllMicroshops:e=>A.microshopGetAllMicroshops(_,e),microshopGetCustomAssortment:e=>A.microshopGetMicroshopCustomAssortment(e),microshopSaveCustomAssortment:(e,t)=>A.microshopUpdateMicroshopAssortmentPOST(e,t),microshopAddProduct:(e,t,n,r)=>A.microshopGetProductToAdd(e,t,n,r),microshopAddProducts:(e,t)=>A.microshopGetProductsToAdd(e,t),microshopAddProductImages:(e,t)=>A.microshopAddImagesPOST(e,t),microshopProductPrice:e=>A.microshopCalcPricePOST(e),microshopCreate:(e,t,n,r,i,o,a,s)=>A.microshopCreateMicroshopPOST({name:e,uri:t,language:n,expireDate:r,copyShopId:i,variationNumbers:o,collectionId:a,type:s}),microshopDelete:e=>A.microshopDeleteMicroshopPOST(e),microshopGetMicroshop:e=>A.microshopGetMicroshop(e,_),microshopUpdate:(e,t)=>A.microshopUpdateMicroshopPOST(e,t),microshopUpdateLogotype:(e,t)=>A.microshopLogotypePOST(e,t),microshopUpdateBackgroundImage:(e,t)=>A.microshopBackgroundImagePOST(e,t),microshopGetColors:(e,t)=>A.microshopGetMicroshopColorsPOST(_,e,t),microshopGetShopsForCopy:()=>A.microshopGetMicroshopsForCopy(),microshopUploadFiles:(e,t)=>A.microshopFilesUploadPOST(e,t),microshopDeleteFiles:(e,t)=>A.microshopFilesDeletePOST(e,t),microshopUpdateFiles:(e,t)=>A.microshopFilesUpdatePOST(e,t),microshopCollectionPricesUpdate:(e,t)=>A.microshopCollectionPricesUpdatePOST(e,t),microshopUpdateAddons:(e,t)=>A.microshopAddonsUpdatePOST(e,t),microshopSearchMasterOrders:(e,t,n)=>A.microshopSearchMasterOrders(_,e,t,n),microshopSearchPendingOrders:(e,t,n)=>A.microshopSearchPendingOrders(_,e,t,n),microshopGetAllPendingOrderIds:e=>A.microshopGetAllPendingOrderIds(_,e),microshopGetOrdersXlsx:(e,t,n)=>A.microshopGetOrdersXlsxPOST(e,t,n,{responseType:"blob"}),microshopGetMicroshopsXlsx:()=>A.microshopGetCustomerShopsXlsx({responseType:"blob"}),microshopCreateMasterOrder:(e,t,n)=>A.microshopCreateMasterOrderPOST(_,e,t,n),microshopDeleteOrders:(e,t,n,r)=>A.microshopDeleteMicroshopOrdersPOST(_,e,t,n,r),microshopCancelMasterOrder:(e,t,n,r)=>A.microshopCancelMasterOrderPOST(_,e,t,n,r),microshopGetOrderInfo:function(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return A.microshopGetOrder(_,e,t,n)},microshopGetMasterOrderPdf:function(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return A.microshopGetPDfOrderPOST(_,e,t,n)},microshopUpdateOrderDeliveryAdress:(e,t,n)=>A.microshopUpdateOrderDeliveryAdressPOST(e,t,n),microshopGetShopUsers:(e,t)=>A.microshopGetShopUsers(e,t),microshopGetShopByUri:e=>A.microshopGetMicroshopsByUri(e),microshopGetSelectedOrdersForPdf:(e,t)=>A.microshopGetSelectedPDfOrdersPOST(_,e,t)},...N,setContext(e,t,n,r,x){const C=null!==r&&void 0!==r;S=n;const I={basePath:n,isJsonMime:()=>!0,baseOptions:{withCredentials:C}};C?I.accessToken=r:I.apiKey=e,i().interceptors.request.use((e=>{var t,n;e.headers&&S&&(k&&null!==(t=e.url)&&void 0!==t&&t.includes(S)&&(e.headers.Selling="true"),E&&null!==(n=e.url)&&void 0!==n&&n.includes(S)&&(e.headers.CustomerOverride=E));return e})),i().interceptors.response.use((e=>e),(async e=>{var t,n;const r=null===(t=e.response)||void 0===t||null===(n=t.config)||void 0===n?void 0:n.url;throw null!==e&&void 0!==e&&e.message&&null!==e&&void 0!==e&&e.message.includes("401")&&null!=M&&!r.includes((0,a.$)())?(s.A.log("401"),await(null===x||void 0===x?void 0:x()),e):e})),g=new o.WebOrderApi(I,void 0,i()),l=new o.AssortmentApi(I,void 0,i()),d=new o.RefinementApi(I,void 0,i()),p=new o.UserCurrentApi(I,void 0,i()),h=new o.PaymentApi(I,void 0,i()),f=new o.ProductExportApi(I,void 0,i()),c=new o.CartApi(I,void 0,i()),u=new o.CustomerApi(I,void 0,i()),m=new o.LogoApplicatorApi(I,void 0,i()),v=new o.AppApi(I,void 0,i()),y=new o.OfferApi(I,void 0,i()),A=new o.MicroshopApi(I,void 0,i()),b=new o.SalesboardApi(I,void 0,i()),w=new o.CartsApi(I,void 0,i()),_=t},setAssortmentEntryPoints(e){I=e},setCurrency(e){x=e},setMarket(e){C=e},setLanguage(e){_=e}},F=(e,t,n,r,i,o)=>{class a extends FormData{constructor(){super(),this.append("refinements",JSON.stringify(e)),t&&this.append("addons",JSON.stringify(t)),n&&this.append("services",JSON.stringify(n)),r&&this.append("skus",JSON.stringify(r)),i&&this.append("fileRefs",JSON.stringify(i)),o&&this.append("categories",JSON.stringify(o))}}return a},z=L;function Q(){return i().CancelToken.source()}},77018:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(96011),i=n.n(r);let o,a=(0,n(91843).$)();function s(e,t,n,r,a){const s={"Accept-Language":"*",...r};var l=!1;return o&&(s.Authorization=`Bearer ${o}`,l=!0),i().get(e+(t.startsWith("/")||e.endsWith("/")?"":"/")+t,{validateStatus:e=>e>=200&&e<400,maxRedirects:0,withCredentials:l,params:n,headers:s,cancelToken:a})}const l={expand:"*",currentPageUrl:window.location.pathname},c={getSiteDefinition(e){var t;return s(a,"api/content/contentroots",{},{Accept:"application/json","Accept-Language":null!==(t=null===e||void 0===e?void 0:e.name)&&void 0!==t?t:"*"})},getSiteDefinitions:e=>s(e,"api/episerver/v3.0/site/"),getSiteSettings(e,t){var n;return s(a,"api/spasitesettings/get/",{marketId:t},{Accept:"application/json","Accept-Language":null!==(n=null===e||void 0===e?void 0:e.name)&&void 0!==n?n:"*"})},getContentByContentLink:(e,t,n,r,i)=>((t="undefined"!==typeof t?t:l).expand||(t.expand="*"),n&&!t.language&&(t.language=n),s(a,`api/episerver/v3.0/content/${e}`,{...t},{"Accept-Language":n||"*",Vary:"Accept-Language",...r},i)),getContentByFriendlyUrl:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return s(a,e,{...l,...t},{Accept:"application/json"})},getContentArrayByFriendlyUrl(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return s(a,e,{...l,...t},{Accept:"application/json"})},getChildren(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=e.split("?"),r=(n[0].endsWith("/")?n[0]:n[0]+"/")+"children"+(n[1]?"?"+n[1]:"");return this.getContentArrayByFriendlyUrl(r,t)},getAncestorsByFriendlyUrl(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=e.split("?"),r=(n[0].endsWith("/")?n[0]:n[0]+"/")+"ancestors"+(n[1]?"?"+n[1]:"");return this.getContentArrayByFriendlyUrl(r,t)},getAncestors(e,t){return s(a,`/api/episerver/v3.0/content/${e}/ancestors/`,arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{"Accept-Language":t||"*"})},searchContent(){return s(a,"api/search/content",arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{"Accept-Language":(arguments.length>1?arguments[1]:void 0)||"*"})},loadNews:(e,t)=>s(a,`/api/news/${e}`,{},{"Accept-Language":t||"*"}),searchResellerAgreements:e=>s(a,`/api/resellers/agreement/${e}`),loadResellers:e=>s(a,"/api/resellers",{},{"Accept-Language":e||"*"}),loadResellersExtra:(e,t)=>s(a,`/api/resellers/${e}`,{},{"Accept-Language":t||"*"}),getSizeGuides:(e,t,n)=>s(a,`api/content/sizeguides?${n.map((e=>`brands=${encodeURIComponent(e)}`)).join("&")}`,{marketId:e},{"Accept-Language":t||"*"}),getCoverImages:(e,t,n)=>s(a,`api/content/coverimages?${n.map((e=>`brands=${e}`)).join("&")}`,{marketId:e},{"Accept-Language":t||"*"}),getAboutPages:(e,t)=>s(a,"api/content/aboutpages",{marketId:e},{"Accept-Language":t||"*"}),getSiteLogo:(e,t)=>s(a,"api/content/logo",{marketId:e},{"Accept-Language":t||"*"}),getBaseUrl:()=>a,newsletterSubscribe(e,t,n,r,o,s,l,c,u,d){var p;return i().post("/api/newsletter/subscribe",{email:e,postalCode:n,agreeTerms:t,resellerKey:r,contentGUID:s,phone:l,firstName:c,lastName:u,company:d},{baseURL:a,headers:{Accept:"application/json","Accept-Language":null!==(p=null===o||void 0===o?void 0:o.name)&&void 0!==p?p:"*"}})},setBaseUrl(e){a=e},setAuthToken(e){o=e},getAuthToken:()=>o}},83632:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(71173),i=n.n(r);const o={virtualPageView(e,t,n){const r={dataLayer:{event:"virtualPageView",pagePath:e,pageTitle:t,pageType:n}};i().dataLayer(r)},productImpressions(e,t,n){const r=[];let o=1;for(let i of e){var a,s;r.push({name:i.productName,id:i.productNumber,price:null===(a=i.price)||void 0===a||null===(s=a.customer)||void 0===s?void 0:s.num,brand:i.productBrandName,category:t,variant:n,list:"Search Results",position:o}),o++}const l=function(e,t){const n=[],r=e.length;let i=0;for(;i<r;)n.push(e.slice(i,i+=t));return n}(r,20);for(let u of l){var c;const t={dataLayer:{event:"productImpressions",ecommerce:{currencyCode:null===(c=e[0].price)||void 0===c?void 0:c.currency,impressions:u}}};i().dataLayer(t)}},productClick(e,t,n,r){var o,a;const s={dataLayer:{event:"productClick",ecommerce:{click:{products:[{name:null===e||void 0===e?void 0:e.productName,id:null===e||void 0===e?void 0:e.productNumber,price:null===e||void 0===e||null===(o=e.price)||void 0===o||null===(a=o.customer)||void 0===a?void 0:a.num,brand:null===e||void 0===e?void 0:e.productBrandName,variant:t,category:n,position:r}]}}}};i().dataLayer(s)},productDetail(e,t,n){var r,o;const a={dataLayer:{event:"productDetail",ecommerce:{detail:{products:[{name:e.productName,id:e.productNumber,price:null===(r=e.price)||void 0===r||null===(o=r.customer)||void 0===o?void 0:o.num,brand:e.productBrandName,category:t,variant:n}]}}}};i().dataLayer(a)},setCart(e){i().dataLayer({dataLayer:{cart:e}})},addToCart(e,t){const n={dataLayer:{event:"addToCart",ecommerce:{currencyCode:t,add:{products:[e]}}}};i().dataLayer(n)},removeFromCart(e){const t={dataLayer:{event:"removeFromCart",ecommerce:{remove:{products:[e]}}}};i().dataLayer(t)},checkout(e){const t={dataLayer:{event:"checkout",ecommerce:{checkout:{actionField:{step:1,option:"mailorder"},products:e}}}};i().dataLayer(t)},purchase(e,t,n,r,o){const a={dataLayer:{event:"order_complete",retailer:t,ecommerce:{purchase:{actionField:{id:n,affiliation:"Online Store",revenue:r,tax:o},products:e}}}};i().dataLayer(a)},favourite(e){const t={dataLayer:{event:"add_to_favorites",product_id:e}};i().dataLayer(t)},retailerPick(e){const t={dataLayer:{event:"retailerPick",retailer:e}};i().dataLayer(t)},formSubmit(e){const t={dataLayer:{event:"formSent",category:"Form",action:"Submit",label:e}};i().dataLayer(t)},downloadFile(e,t){const n={dataLayer:{event:"file_download",file_extension:"PDF",file_name:e,file_type:"PDP"===t?"Product Sheet":"Order list",website_section:t}};i().dataLayer(n)}}},28517:(e,t,n)=>{"use strict";n.d(t,{p_:()=>me,Ay:()=>be,fx:()=>we});class r extends Error{}function i(e){let t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw new Error("base64 string is not of the correct length")}try{return function(e){return decodeURIComponent(atob(e).replace(/(.)/g,((e,t)=>{let n=t.charCodeAt(0).toString(16).toUpperCase();return n.length<2&&(n="0"+n),"%"+n})))}(t)}catch(n){return atob(t)}}r.prototype.name="InvalidTokenError";var o,a,s,l={debug:()=>{},info:()=>{},warn:()=>{},error:()=>{}},c=(e=>(e[e.NONE=0]="NONE",e[e.ERROR=1]="ERROR",e[e.WARN=2]="WARN",e[e.INFO=3]="INFO",e[e.DEBUG=4]="DEBUG",e))(c||{});(s=c||(c={})).reset=function(){o=3,a=l},s.setLevel=function(e){if(!(0<=e&&e<=4))throw new Error("Invalid log level");o=e},s.setLogger=function(e){a=e};var u=class e{constructor(e){this._name=e}debug(){if(o>=4){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];a.debug(e._format(this._name,this._method),...n)}}info(){if(o>=3){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];a.info(e._format(this._name,this._method),...n)}}warn(){if(o>=2){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];a.warn(e._format(this._name,this._method),...n)}}error(){if(o>=1){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];a.error(e._format(this._name,this._method),...n)}}throw(e){throw this.error(e),e}create(e){const t=Object.create(this);return t._method=e,t.debug("begin"),t}static createStatic(t,n){const r=new e(`${t}.${n}`);return r.debug("begin"),r}static _format(e,t){const n=`[${e}]`;return t?`${n} ${t}:`:n}static debug(t){if(o>=4){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];a.debug(e._format(t),...r)}}static info(t){if(o>=3){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];a.info(e._format(t),...r)}}static warn(t){if(o>=2){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];a.warn(e._format(t),...r)}}static error(t){if(o>=1){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];a.error(e._format(t),...r)}}};c.reset();var d=class{static decode(e){try{return function(e,t){if("string"!==typeof e)throw new r("Invalid token specified: must be a string");t||(t={});const n=!0===t.header?0:1,o=e.split(".")[n];if("string"!==typeof o)throw new r(`Invalid token specified: missing part #${n+1}`);let a;try{a=i(o)}catch(s){throw new r(`Invalid token specified: invalid base64 for part #${n+1} (${s.message})`)}try{return JSON.parse(a)}catch(s){throw new r(`Invalid token specified: invalid json for part #${n+1} (${s.message})`)}}(e)}catch(t){throw u.error("JwtUtils.decode",t),t}}static async generateSignedJwt(e,t,n){const r=`${f.encodeBase64Url((new TextEncoder).encode(JSON.stringify(e)))}.${f.encodeBase64Url((new TextEncoder).encode(JSON.stringify(t)))}`,i=await window.crypto.subtle.sign({name:"ECDSA",hash:{name:"SHA-256"}},n,(new TextEncoder).encode(r));return`${r}.${f.encodeBase64Url(new Uint8Array(i))}`}},p=e=>btoa([...new Uint8Array(e)].map((e=>String.fromCharCode(e))).join("")),h=class e{static _randomWord(){const e=new Uint32Array(1);return crypto.getRandomValues(e),e[0]}static generateUUIDv4(){return"10000000-1000-4000-8000-100000000000".replace(/[018]/g,(t=>(+t^e._randomWord()&15>>+t/4).toString(16))).replace(/-/g,"")}static generateCodeVerifier(){return e.generateUUIDv4()+e.generateUUIDv4()+e.generateUUIDv4()}static async generateCodeChallenge(e){if(!crypto.subtle)throw new Error("Crypto.subtle is available only in secure contexts (HTTPS).");try{const t=(new TextEncoder).encode(e),n=await crypto.subtle.digest("SHA-256",t);return p(n).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}catch(t){throw u.error("CryptoUtils.generateCodeChallenge",t),t}}static generateBasicAuth(e,t){const n=(new TextEncoder).encode([e,t].join(":"));return p(n)}static async hash(e,t){const n=(new TextEncoder).encode(t),r=await crypto.subtle.digest(e,n);return new Uint8Array(r)}static async customCalculateJwkThumbprint(t){let n;switch(t.kty){case"RSA":n={e:t.e,kty:t.kty,n:t.n};break;case"EC":n={crv:t.crv,kty:t.kty,x:t.x,y:t.y};break;case"OKP":n={crv:t.crv,kty:t.kty,x:t.x};break;case"oct":n={crv:t.k,kty:t.kty};break;default:throw new Error("Unknown jwk type")}const r=await e.hash("SHA-256",JSON.stringify(n));return e.encodeBase64Url(r)}static async generateDPoPProof(t){let n,r,{url:i,accessToken:o,httpMethod:a,keyPair:s,nonce:l}=t;const c={jti:window.crypto.randomUUID(),htm:null!=a?a:"GET",htu:i,iat:Math.floor(Date.now()/1e3)};o&&(n=await e.hash("SHA-256",o),r=e.encodeBase64Url(n),c.ath=r),l&&(c.nonce=l);try{const e=await crypto.subtle.exportKey("jwk",s.publicKey),t={alg:"ES256",typ:"dpop+jwt",jwk:{crv:e.crv,kty:e.kty,x:e.x,y:e.y}};return await d.generateSignedJwt(t,c,s.privateKey)}catch(u){throw u instanceof TypeError?new Error(`Error exporting dpop public key: ${u.message}`):u}}static async generateDPoPJkt(t){try{const n=await crypto.subtle.exportKey("jwk",t.publicKey);return await e.customCalculateJwkThumbprint(n)}catch(n){throw n instanceof TypeError?new Error(`Could not retrieve dpop keys from storage: ${n.message}`):n}}static async generateDPoPKeys(){return await window.crypto.subtle.generateKey({name:"ECDSA",namedCurve:"P-256"},!1,["sign","verify"])}};h.encodeBase64Url=e=>p(e).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_");var f=h,m=class{constructor(e){this._name=e,this._callbacks=[],this._logger=new u(`Event('${this._name}')`)}addHandler(e){return this._callbacks.push(e),()=>this.removeHandler(e)}removeHandler(e){const t=this._callbacks.lastIndexOf(e);t>=0&&this._callbacks.splice(t,1)}async raise(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];this._logger.debug("raise:",...t);for(const r of this._callbacks)await r(...t)}},g=class{static center(e){let{...t}=e;var n;return null==t.width&&(t.width=null!=(n=[800,720,600,480].find((e=>e<=window.outerWidth/1.618)))?n:360),null!=t.left||(t.left=Math.max(0,Math.round(window.screenX+(window.outerWidth-t.width)/2))),null!=t.height&&(null!=t.top||(t.top=Math.max(0,Math.round(window.screenY+(window.outerHeight-t.height)/2)))),t}static serialize(e){return Object.entries(e).filter((e=>{let[,t]=e;return null!=t})).map((e=>{let[t,n]=e;return`${t}=${"boolean"!==typeof n?n:n?"yes":"no"}`})).join(",")}},v=class e extends m{constructor(){super(...arguments),this._logger=new u(`Timer('${this._name}')`),this._timerHandle=null,this._expiration=0,this._callback=()=>{const t=this._expiration-e.getEpochTime();this._logger.debug("timer completes in",t),this._expiration<=e.getEpochTime()&&(this.cancel(),super.raise())}}static getEpochTime(){return Math.floor(Date.now()/1e3)}init(t){const n=this._logger.create("init");t=Math.max(Math.floor(t),1);const r=e.getEpochTime()+t;if(this.expiration===r&&this._timerHandle)return void n.debug("skipping since already initialized for expiration at",this.expiration);this.cancel(),n.debug("using duration",t),this._expiration=r;const i=Math.min(t,5);this._timerHandle=setInterval(this._callback,1e3*i)}get expiration(){return this._expiration}cancel(){this._logger.create("cancel"),this._timerHandle&&(clearInterval(this._timerHandle),this._timerHandle=null)}},y=class{static readParams(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"query";if(!e)throw new TypeError("Invalid URL");const n=new URL(e,"http://127.0.0.1")["fragment"===t?"hash":"search"];return new URLSearchParams(n.slice(1))}},A=class extends Error{constructor(e,t){var n,r,i;if(super(e.error_description||e.error||""),this.form=t,this.name="ErrorResponse",!e.error)throw u.error("ErrorResponse","No error passed"),new Error("No error passed");this.error=e.error,this.error_description=null!=(n=e.error_description)?n:null,this.error_uri=null!=(r=e.error_uri)?r:null,this.state=e.userState,this.session_state=null!=(i=e.session_state)?i:null,this.url_state=e.url_state}},b=class extends Error{constructor(e){super(e),this.name="ErrorTimeout"}},w=class{constructor(e){this._logger=new u("AccessTokenEvents"),this._expiringTimer=new v("Access token expiring"),this._expiredTimer=new v("Access token expired"),this._expiringNotificationTimeInSeconds=e.expiringNotificationTimeInSeconds}load(e){const t=this._logger.create("load");if(e.access_token&&void 0!==e.expires_in){const n=e.expires_in;if(t.debug("access token present, remaining duration:",n),n>0){let e=n-this._expiringNotificationTimeInSeconds;e<=0&&(e=1),t.debug("registering expiring timer, raising in",e,"seconds"),this._expiringTimer.init(e)}else t.debug("canceling existing expiring timer because we're past expiration."),this._expiringTimer.cancel();const r=n+1;t.debug("registering expired timer, raising in",r,"seconds"),this._expiredTimer.init(r)}else this._expiringTimer.cancel(),this._expiredTimer.cancel()}unload(){this._logger.debug("unload: canceling existing access token timers"),this._expiringTimer.cancel(),this._expiredTimer.cancel()}addAccessTokenExpiring(e){return this._expiringTimer.addHandler(e)}removeAccessTokenExpiring(e){this._expiringTimer.removeHandler(e)}addAccessTokenExpired(e){return this._expiredTimer.addHandler(e)}removeAccessTokenExpired(e){this._expiredTimer.removeHandler(e)}},x=class{constructor(e,t,n,r,i){this._callback=e,this._client_id=t,this._intervalInSeconds=r,this._stopOnError=i,this._logger=new u("CheckSessionIFrame"),this._timer=null,this._session_state=null,this._message=e=>{e.origin===this._frame_origin&&e.source===this._frame.contentWindow&&("error"===e.data?(this._logger.error("error message from check session op iframe"),this._stopOnError&&this.stop()):"changed"===e.data?(this._logger.debug("changed message from check session op iframe"),this.stop(),this._callback()):this._logger.debug(e.data+" message from check session op iframe"))};const o=new URL(n);this._frame_origin=o.origin,this._frame=window.document.createElement("iframe"),this._frame.style.visibility="hidden",this._frame.style.position="fixed",this._frame.style.left="-1000px",this._frame.style.top="0",this._frame.width="0",this._frame.height="0",this._frame.src=o.href}load(){return new Promise((e=>{this._frame.onload=()=>{e()},window.document.body.appendChild(this._frame),window.addEventListener("message",this._message,!1)}))}start(e){if(this._session_state===e)return;this._logger.create("start"),this.stop(),this._session_state=e;const t=()=>{this._frame.contentWindow&&this._session_state&&this._frame.contentWindow.postMessage(this._client_id+" "+this._session_state,this._frame_origin)};t(),this._timer=setInterval(t,1e3*this._intervalInSeconds)}stop(){this._logger.create("stop"),this._session_state=null,this._timer&&(clearInterval(this._timer),this._timer=null)}},C=class{constructor(){this._logger=new u("InMemoryWebStorage"),this._data={}}clear(){this._logger.create("clear"),this._data={}}getItem(e){return this._logger.create(`getItem('${e}')`),this._data[e]}setItem(e,t){this._logger.create(`setItem('${e}')`),this._data[e]=t}removeItem(e){this._logger.create(`removeItem('${e}')`),delete this._data[e]}get length(){return Object.getOwnPropertyNames(this._data).length}key(e){return Object.getOwnPropertyNames(this._data)[e]}},S=class extends Error{constructor(e,t){super(t),this.name="ErrorDPoPNonce",this.nonce=e}},k=class{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this._jwtHandler=t,this._extraHeaders=n,this._logger=new u("JsonService"),this._contentTypes=[],this._contentTypes.push(...e,"application/json"),t&&this._contentTypes.push("application/jwt")}async fetchWithTimeout(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{timeoutInSeconds:n,...r}=t;if(!n)return await fetch(e,r);const i=new AbortController,o=setTimeout((()=>i.abort()),1e3*n);try{return await fetch(e,{...t,signal:i.signal})}catch(a){if(a instanceof DOMException&&"AbortError"===a.name)throw new b("Network timed out");throw a}finally{clearTimeout(o)}}async getJson(e){let{token:t,credentials:n,timeoutInSeconds:r}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const i=this._logger.create("getJson"),o={Accept:this._contentTypes.join(", ")};let a;t&&(i.debug("token passed, setting Authorization header"),o.Authorization="Bearer "+t),this.appendExtraHeaders(o);try{i.debug("url:",e),a=await this.fetchWithTimeout(e,{method:"GET",headers:o,timeoutInSeconds:r,credentials:n})}catch(c){throw i.error("Network Error"),c}i.debug("HTTP response received, status",a.status);const s=a.headers.get("Content-Type");if(s&&!this._contentTypes.find((e=>s.startsWith(e)))&&i.throw(new Error(`Invalid response Content-Type: ${null!=s?s:"undefined"}, from URL: ${e}`)),a.ok&&this._jwtHandler&&(null==s?void 0:s.startsWith("application/jwt")))return await this._jwtHandler(await a.text());let l;try{l=await a.json()}catch(c){if(i.error("Error parsing JSON response",c),a.ok)throw c;throw new Error(`${a.statusText} (${a.status})`)}if(!a.ok){if(i.error("Error from server:",l),l.error)throw new A(l);throw new Error(`${a.statusText} (${a.status}): ${JSON.stringify(l)}`)}return l}async postForm(e,t){let{body:n,basicAuth:r,timeoutInSeconds:i,initCredentials:o,extraHeaders:a}=t;const s=this._logger.create("postForm"),l={Accept:this._contentTypes.join(", "),"Content-Type":"application/x-www-form-urlencoded",...a};let c;void 0!==r&&(l.Authorization="Basic "+r),this.appendExtraHeaders(l);try{s.debug("url:",e),c=await this.fetchWithTimeout(e,{method:"POST",headers:l,body:n,timeoutInSeconds:i,credentials:o})}catch(h){throw s.error("Network error"),h}s.debug("HTTP response received, status",c.status);const u=c.headers.get("Content-Type");if(u&&!this._contentTypes.find((e=>u.startsWith(e))))throw new Error(`Invalid response Content-Type: ${null!=u?u:"undefined"}, from URL: ${e}`);const d=await c.text();let p={};if(d)try{p=JSON.parse(d)}catch(h){if(s.error("Error parsing JSON response",h),c.ok)throw h;throw new Error(`${c.statusText} (${c.status})`)}if(!c.ok){if(s.error("Error from server:",p),c.headers.has("dpop-nonce")){const e=c.headers.get("dpop-nonce");throw new S(e,`${JSON.stringify(p)}`)}if(p.error)throw new A(p,n);throw new Error(`${c.statusText} (${c.status}): ${JSON.stringify(p)}`)}return p}appendExtraHeaders(e){const t=this._logger.create("appendExtraHeaders"),n=Object.keys(this._extraHeaders),r=["authorization","accept","content-type"];0!==n.length&&n.forEach((n=>{if(r.includes(n.toLocaleLowerCase()))return void t.warn("Protected header could not be overridden",n,r);const i="function"===typeof this._extraHeaders[n]?this._extraHeaders[n]():this._extraHeaders[n];i&&""!==i&&(e[n]=i)}))}},E=class{constructor(e){this._settings=e,this._logger=new u("MetadataService"),this._signingKeys=null,this._metadata=null,this._metadataUrl=this._settings.metadataUrl,this._jsonService=new k(["application/jwk-set+json"],null,this._settings.extraHeaders),this._settings.signingKeys&&(this._logger.debug("using signingKeys from settings"),this._signingKeys=this._settings.signingKeys),this._settings.metadata&&(this._logger.debug("using metadata from settings"),this._metadata=this._settings.metadata),this._settings.fetchRequestCredentials&&(this._logger.debug("using fetchRequestCredentials from settings"),this._fetchRequestCredentials=this._settings.fetchRequestCredentials)}resetSigningKeys(){this._signingKeys=null}async getMetadata(){const e=this._logger.create("getMetadata");if(this._metadata)return e.debug("using cached values"),this._metadata;if(!this._metadataUrl)throw e.throw(new Error("No authority or metadataUrl configured on settings")),null;e.debug("getting metadata from",this._metadataUrl);const t=await this._jsonService.getJson(this._metadataUrl,{credentials:this._fetchRequestCredentials,timeoutInSeconds:this._settings.requestTimeoutInSeconds});return e.debug("merging remote JSON with seed metadata"),this._metadata=Object.assign({},this._settings.metadataSeed,t),this._metadata}getIssuer(){return this._getMetadataProperty("issuer")}getAuthorizationEndpoint(){return this._getMetadataProperty("authorization_endpoint")}getUserInfoEndpoint(){return this._getMetadataProperty("userinfo_endpoint")}getTokenEndpoint(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._getMetadataProperty("token_endpoint",e)}getCheckSessionIframe(){return this._getMetadataProperty("check_session_iframe",!0)}getEndSessionEndpoint(){return this._getMetadataProperty("end_session_endpoint",!0)}getRevocationEndpoint(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._getMetadataProperty("revocation_endpoint",e)}getKeysEndpoint(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._getMetadataProperty("jwks_uri",e)}async _getMetadataProperty(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const n=this._logger.create(`_getMetadataProperty('${e}')`),r=await this.getMetadata();if(n.debug("resolved"),void 0===r[e]){if(!0===t)return void n.warn("Metadata does not contain optional property");n.throw(new Error("Metadata does not contain property "+e))}return r[e]}async getSigningKeys(){const e=this._logger.create("getSigningKeys");if(this._signingKeys)return e.debug("returning signingKeys from cache"),this._signingKeys;const t=await this.getKeysEndpoint(!1);e.debug("got jwks_uri",t);const n=await this._jsonService.getJson(t,{timeoutInSeconds:this._settings.requestTimeoutInSeconds});if(e.debug("got key set",n),!Array.isArray(n.keys))throw e.throw(new Error("Missing keys on keyset")),null;return this._signingKeys=n.keys,this._signingKeys}},I=class{constructor(){let{prefix:e="oidc.",store:t=localStorage}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this._logger=new u("WebStorageStateStore"),this._store=t,this._prefix=e}async set(e,t){this._logger.create(`set('${e}')`),e=this._prefix+e,await this._store.setItem(e,t)}async get(e){this._logger.create(`get('${e}')`),e=this._prefix+e;return await this._store.getItem(e)}async remove(e){this._logger.create(`remove('${e}')`),e=this._prefix+e;const t=await this._store.getItem(e);return await this._store.removeItem(e),t}async getAllKeys(){this._logger.create("getAllKeys");const e=await this._store.length,t=[];for(let n=0;n<e;n++){const e=await this._store.key(n);e&&0===e.indexOf(this._prefix)&&t.push(e.substr(this._prefix.length))}return t}},_="code",P="openid",O="client_secret_post",T=900,D=class{constructor(e){let{authority:t,metadataUrl:n,metadata:r,signingKeys:i,metadataSeed:o,client_id:a,client_secret:s,response_type:l=_,scope:c=P,redirect_uri:u,post_logout_redirect_uri:d,client_authentication:p=O,prompt:h,display:f,max_age:m,ui_locales:g,acr_values:v,resource:y,response_mode:A,filterProtocolClaims:b=!0,loadUserInfo:w=!1,requestTimeoutInSeconds:x,staleStateAgeInSeconds:S=T,mergeClaimsStrategy:k={array:"replace"},disablePKCE:E=!1,stateStore:D,revokeTokenAdditionalContentTypes:j,fetchRequestCredentials:B,refreshTokenAllowedScope:N,extraQueryParams:M={},extraTokenParams:R={},extraHeaders:L={},dpop:F,omitScopeWhenRequesting:z=!1}=e;var Q;if(this.authority=t,n?this.metadataUrl=n:(this.metadataUrl=t,t&&(this.metadataUrl.endsWith("/")||(this.metadataUrl+="/"),this.metadataUrl+=".well-known/openid-configuration")),this.metadata=r,this.metadataSeed=o,this.signingKeys=i,this.client_id=a,this.client_secret=s,this.response_type=l,this.scope=c,this.redirect_uri=u,this.post_logout_redirect_uri=d,this.client_authentication=p,this.prompt=h,this.display=f,this.max_age=m,this.ui_locales=g,this.acr_values=v,this.resource=y,this.response_mode=A,this.filterProtocolClaims=null==b||b,this.loadUserInfo=!!w,this.staleStateAgeInSeconds=S,this.mergeClaimsStrategy=k,this.omitScopeWhenRequesting=z,this.disablePKCE=!!E,this.revokeTokenAdditionalContentTypes=j,this.fetchRequestCredentials=B||"same-origin",this.requestTimeoutInSeconds=x,D)this.stateStore=D;else{const e="undefined"!==typeof window?window.localStorage:new C;this.stateStore=new I({store:e})}if(this.refreshTokenAllowedScope=N,this.extraQueryParams=M,this.extraTokenParams=R,this.extraHeaders=L,this.dpop=F,this.dpop&&!(null==(Q=this.dpop)?void 0:Q.store))throw new Error("A DPoPStore is required when dpop is enabled")}},j=class{constructor(e,t){this._settings=e,this._metadataService=t,this._logger=new u("UserInfoService"),this._getClaimsFromJwt=async e=>{const t=this._logger.create("_getClaimsFromJwt");try{const n=d.decode(e);return t.debug("JWT decoding successful"),n}catch(n){throw t.error("Error parsing JWT response"),n}},this._jsonService=new k(void 0,this._getClaimsFromJwt,this._settings.extraHeaders)}async getClaims(e){const t=this._logger.create("getClaims");e||this._logger.throw(new Error("No token passed"));const n=await this._metadataService.getUserInfoEndpoint();t.debug("got userinfo url",n);const r=await this._jsonService.getJson(n,{token:e,credentials:this._settings.fetchRequestCredentials,timeoutInSeconds:this._settings.requestTimeoutInSeconds});return t.debug("got claims",r),r}},B=class{constructor(e,t){this._settings=e,this._metadataService=t,this._logger=new u("TokenClient"),this._jsonService=new k(this._settings.revokeTokenAdditionalContentTypes,null,this._settings.extraHeaders)}async exchangeCode(e){let{grant_type:t="authorization_code",redirect_uri:n=this._settings.redirect_uri,client_id:r=this._settings.client_id,client_secret:i=this._settings.client_secret,extraHeaders:o,...a}=e;const s=this._logger.create("exchangeCode");r||s.throw(new Error("A client_id is required")),n||s.throw(new Error("A redirect_uri is required")),a.code||s.throw(new Error("A code is required"));const l=new URLSearchParams({grant_type:t,redirect_uri:n});for(const[p,h]of Object.entries(a))null!=h&&l.set(p,h);let c;switch(this._settings.client_authentication){case"client_secret_basic":if(!i)throw s.throw(new Error("A client_secret is required")),null;c=f.generateBasicAuth(r,i);break;case"client_secret_post":l.append("client_id",r),i&&l.append("client_secret",i)}const u=await this._metadataService.getTokenEndpoint(!1);s.debug("got token endpoint");const d=await this._jsonService.postForm(u,{body:l,basicAuth:c,timeoutInSeconds:this._settings.requestTimeoutInSeconds,initCredentials:this._settings.fetchRequestCredentials,extraHeaders:o});return s.debug("got response"),d}async exchangeCredentials(e){let{grant_type:t="password",client_id:n=this._settings.client_id,client_secret:r=this._settings.client_secret,scope:i=this._settings.scope,...o}=e;const a=this._logger.create("exchangeCredentials");n||a.throw(new Error("A client_id is required"));const s=new URLSearchParams({grant_type:t});this._settings.omitScopeWhenRequesting||s.set("scope",i);for(const[d,p]of Object.entries(o))null!=p&&s.set(d,p);let l;switch(this._settings.client_authentication){case"client_secret_basic":if(!r)throw a.throw(new Error("A client_secret is required")),null;l=f.generateBasicAuth(n,r);break;case"client_secret_post":s.append("client_id",n),r&&s.append("client_secret",r)}const c=await this._metadataService.getTokenEndpoint(!1);a.debug("got token endpoint");const u=await this._jsonService.postForm(c,{body:s,basicAuth:l,timeoutInSeconds:this._settings.requestTimeoutInSeconds,initCredentials:this._settings.fetchRequestCredentials});return a.debug("got response"),u}async exchangeRefreshToken(e){let{grant_type:t="refresh_token",client_id:n=this._settings.client_id,client_secret:r=this._settings.client_secret,timeoutInSeconds:i,extraHeaders:o,...a}=e;const s=this._logger.create("exchangeRefreshToken");n||s.throw(new Error("A client_id is required")),a.refresh_token||s.throw(new Error("A refresh_token is required"));const l=new URLSearchParams({grant_type:t});for(const[p,h]of Object.entries(a))Array.isArray(h)?h.forEach((e=>l.append(p,e))):null!=h&&l.set(p,h);let c;switch(this._settings.client_authentication){case"client_secret_basic":if(!r)throw s.throw(new Error("A client_secret is required")),null;c=f.generateBasicAuth(n,r);break;case"client_secret_post":l.append("client_id",n),r&&l.append("client_secret",r)}const u=await this._metadataService.getTokenEndpoint(!1);s.debug("got token endpoint");const d=await this._jsonService.postForm(u,{body:l,basicAuth:c,timeoutInSeconds:i,initCredentials:this._settings.fetchRequestCredentials,extraHeaders:o});return s.debug("got response"),d}async revoke(e){var t;const n=this._logger.create("revoke");e.token||n.throw(new Error("A token is required"));const r=await this._metadataService.getRevocationEndpoint(!1);n.debug(`got revocation endpoint, revoking ${null!=(t=e.token_type_hint)?t:"default token type"}`);const i=new URLSearchParams;for(const[o,a]of Object.entries(e))null!=a&&i.set(o,a);i.set("client_id",this._settings.client_id),this._settings.client_secret&&i.set("client_secret",this._settings.client_secret),await this._jsonService.postForm(r,{body:i,timeoutInSeconds:this._settings.requestTimeoutInSeconds}),n.debug("got response")}},N=class{constructor(e,t,n){this._settings=e,this._metadataService=t,this._claimsService=n,this._logger=new u("ResponseValidator"),this._userInfoService=new j(this._settings,this._metadataService),this._tokenClient=new B(this._settings,this._metadataService)}async validateSigninResponse(e,t,n){const r=this._logger.create("validateSigninResponse");this._processSigninState(e,t),r.debug("state processed"),await this._processCode(e,t,n),r.debug("code processed"),e.isOpenId&&this._validateIdTokenAttributes(e),r.debug("tokens validated"),await this._processClaims(e,null==t?void 0:t.skipUserInfo,e.isOpenId),r.debug("claims processed")}async validateCredentialsResponse(e,t){const n=this._logger.create("validateCredentialsResponse");e.isOpenId&&e.id_token&&this._validateIdTokenAttributes(e),n.debug("tokens validated"),await this._processClaims(e,t,e.isOpenId),n.debug("claims processed")}async validateRefreshResponse(e,t){const n=this._logger.create("validateRefreshResponse");e.userState=t.data,null!=e.session_state||(e.session_state=t.session_state),null!=e.scope||(e.scope=t.scope),e.isOpenId&&e.id_token&&(this._validateIdTokenAttributes(e,t.id_token),n.debug("ID Token validated")),e.id_token||(e.id_token=t.id_token,e.profile=t.profile);const r=e.isOpenId&&!!e.id_token;await this._processClaims(e,!1,r),n.debug("claims processed")}validateSignoutResponse(e,t){const n=this._logger.create("validateSignoutResponse");if(t.id!==e.state&&n.throw(new Error("State does not match")),n.debug("state validated"),e.userState=t.data,e.error)throw n.warn("Response was error",e.error),new A(e)}_processSigninState(e,t){const n=this._logger.create("_processSigninState");if(t.id!==e.state&&n.throw(new Error("State does not match")),t.client_id||n.throw(new Error("No client_id on state")),t.authority||n.throw(new Error("No authority on state")),this._settings.authority!==t.authority&&n.throw(new Error("authority mismatch on settings vs. signin state")),this._settings.client_id&&this._settings.client_id!==t.client_id&&n.throw(new Error("client_id mismatch on settings vs. signin state")),n.debug("state validated"),e.userState=t.data,e.url_state=t.url_state,null!=e.scope||(e.scope=t.scope),e.error)throw n.warn("Response was error",e.error),new A(e);t.code_verifier&&!e.code&&n.throw(new Error("Expected code in response"))}async _processClaims(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];const r=this._logger.create("_processClaims");if(e.profile=this._claimsService.filterProtocolClaims(e.profile),t||!this._settings.loadUserInfo||!e.access_token)return void r.debug("not loading user info");r.debug("loading user info");const i=await this._userInfoService.getClaims(e.access_token);r.debug("user info claims received from user info endpoint"),n&&i.sub!==e.profile.sub&&r.throw(new Error("subject from UserInfo response does not match subject in ID Token")),e.profile=this._claimsService.mergeClaims(e.profile,this._claimsService.filterProtocolClaims(i)),r.debug("user info claims received, updated profile:",e.profile)}async _processCode(e,t,n){const r=this._logger.create("_processCode");if(e.code){r.debug("Validating code");const i=await this._tokenClient.exchangeCode({client_id:t.client_id,client_secret:t.client_secret,code:e.code,redirect_uri:t.redirect_uri,code_verifier:t.code_verifier,extraHeaders:n,...t.extraTokenParams});Object.assign(e,i)}else r.debug("No code to process")}_validateIdTokenAttributes(e,t){var n;const r=this._logger.create("_validateIdTokenAttributes");r.debug("decoding ID Token JWT");const i=d.decode(null!=(n=e.id_token)?n:"");if(i.sub||r.throw(new Error("ID Token is missing a subject claim")),t){const e=d.decode(t);i.sub!==e.sub&&r.throw(new Error("sub in id_token does not match current sub")),i.auth_time&&i.auth_time!==e.auth_time&&r.throw(new Error("auth_time in id_token does not match original auth_time")),i.azp&&i.azp!==e.azp&&r.throw(new Error("azp in id_token does not match original azp")),!i.azp&&e.azp&&r.throw(new Error("azp not in id_token, but present in original id_token"))}e.profile=i}},M=class e{constructor(e){this.id=e.id||f.generateUUIDv4(),this.data=e.data,e.created&&e.created>0?this.created=e.created:this.created=v.getEpochTime(),this.request_type=e.request_type,this.url_state=e.url_state}toStorageString(){return new u("State").create("toStorageString"),JSON.stringify({id:this.id,data:this.data,created:this.created,request_type:this.request_type,url_state:this.url_state})}static fromStorageString(t){return u.createStatic("State","fromStorageString"),Promise.resolve(new e(JSON.parse(t)))}static async clearStaleState(t,n){const r=u.createStatic("State","clearStaleState"),i=v.getEpochTime()-n,o=await t.getAllKeys();r.debug("got keys",o);for(let s=0;s<o.length;s++){const n=o[s],l=await t.get(n);let c=!1;if(l)try{const t=await e.fromStorageString(l);r.debug("got item from key:",n,t.created),t.created<=i&&(c=!0)}catch(a){r.error("Error parsing state for key:",n,a),c=!0}else r.debug("no item in storage for key:",n),c=!0;c&&(r.debug("removed item for key:",n),t.remove(n))}}},R=class e extends M{constructor(e){super(e),this.code_verifier=e.code_verifier,this.code_challenge=e.code_challenge,this.authority=e.authority,this.client_id=e.client_id,this.redirect_uri=e.redirect_uri,this.scope=e.scope,this.client_secret=e.client_secret,this.extraTokenParams=e.extraTokenParams,this.response_mode=e.response_mode,this.skipUserInfo=e.skipUserInfo}static async create(t){const n=!0===t.code_verifier?f.generateCodeVerifier():t.code_verifier||void 0,r=n?await f.generateCodeChallenge(n):void 0;return new e({...t,code_verifier:n,code_challenge:r})}toStorageString(){return new u("SigninState").create("toStorageString"),JSON.stringify({id:this.id,data:this.data,created:this.created,request_type:this.request_type,url_state:this.url_state,code_verifier:this.code_verifier,authority:this.authority,client_id:this.client_id,redirect_uri:this.redirect_uri,scope:this.scope,client_secret:this.client_secret,extraTokenParams:this.extraTokenParams,response_mode:this.response_mode,skipUserInfo:this.skipUserInfo})}static fromStorageString(t){u.createStatic("SigninState","fromStorageString");const n=JSON.parse(t);return e.create(n)}},L=class e{constructor(e){this.url=e.url,this.state=e.state}static async create(t){let{url:n,authority:r,client_id:i,redirect_uri:o,response_type:a,scope:s,state_data:l,response_mode:c,request_type:u,client_secret:d,nonce:p,url_state:h,resource:f,skipUserInfo:m,extraQueryParams:g,extraTokenParams:v,disablePKCE:y,dpopJkt:A,omitScopeWhenRequesting:b,...w}=t;if(!n)throw this._logger.error("create: No url passed"),new Error("url");if(!i)throw this._logger.error("create: No client_id passed"),new Error("client_id");if(!o)throw this._logger.error("create: No redirect_uri passed"),new Error("redirect_uri");if(!a)throw this._logger.error("create: No response_type passed"),new Error("response_type");if(!s)throw this._logger.error("create: No scope passed"),new Error("scope");if(!r)throw this._logger.error("create: No authority passed"),new Error("authority");const x=await R.create({data:l,request_type:u,url_state:h,code_verifier:!y,client_id:i,authority:r,redirect_uri:o,response_mode:c,client_secret:d,scope:s,extraTokenParams:v,skipUserInfo:m}),C=new URL(n);C.searchParams.append("client_id",i),C.searchParams.append("redirect_uri",o),C.searchParams.append("response_type",a),b||C.searchParams.append("scope",s),p&&C.searchParams.append("nonce",p),A&&C.searchParams.append("dpop_jkt",A);let S=x.id;if(h&&(S=`${S};${h}`),C.searchParams.append("state",S),x.code_challenge&&(C.searchParams.append("code_challenge",x.code_challenge),C.searchParams.append("code_challenge_method","S256")),f){(Array.isArray(f)?f:[f]).forEach((e=>C.searchParams.append("resource",e)))}for(const[e,k]of Object.entries({response_mode:c,...w,...g}))null!=k&&C.searchParams.append(e,k.toString());return new e({url:C.href,state:x})}};L._logger=new u("SigninRequest");var F=L,z=class{constructor(e){if(this.access_token="",this.token_type="",this.profile={},this.state=e.get("state"),this.session_state=e.get("session_state"),this.state){const e=decodeURIComponent(this.state).split(";");this.state=e[0],e.length>1&&(this.url_state=e.slice(1).join(";"))}this.error=e.get("error"),this.error_description=e.get("error_description"),this.error_uri=e.get("error_uri"),this.code=e.get("code")}get expires_in(){if(void 0!==this.expires_at)return this.expires_at-v.getEpochTime()}set expires_in(e){"string"===typeof e&&(e=Number(e)),void 0!==e&&e>=0&&(this.expires_at=Math.floor(e)+v.getEpochTime())}get isOpenId(){var e;return(null==(e=this.scope)?void 0:e.split(" ").includes("openid"))||!!this.id_token}},Q=class{constructor(e){let{url:t,state_data:n,id_token_hint:r,post_logout_redirect_uri:i,extraQueryParams:o,request_type:a,client_id:s}=e;if(this._logger=new u("SignoutRequest"),!t)throw this._logger.error("ctor: No url passed"),new Error("url");const l=new URL(t);r&&l.searchParams.append("id_token_hint",r),s&&l.searchParams.append("client_id",s),i&&(l.searchParams.append("post_logout_redirect_uri",i),n&&(this.state=new M({data:n,request_type:a}),l.searchParams.append("state",this.state.id)));for(const[c,u]of Object.entries({...o}))null!=u&&l.searchParams.append(c,u.toString());this.url=l.href}},U=class{constructor(e){this.state=e.get("state"),this.error=e.get("error"),this.error_description=e.get("error_description"),this.error_uri=e.get("error_uri")}},V=["nbf","jti","auth_time","nonce","acr","amr","azp","at_hash"],G=["sub","iss","aud","exp","iat"],q=class{constructor(e){this._settings=e,this._logger=new u("ClaimsService")}filterProtocolClaims(e){const t={...e};if(this._settings.filterProtocolClaims){let e;e=Array.isArray(this._settings.filterProtocolClaims)?this._settings.filterProtocolClaims:V;for(const n of e)G.includes(n)||delete t[n]}return t}mergeClaims(e,t){const n={...e};for(const[r,i]of Object.entries(t))if(n[r]!==i)if(Array.isArray(n[r])||Array.isArray(i))if("replace"==this._settings.mergeClaimsStrategy.array)n[r]=i;else{const e=Array.isArray(n[r])?n[r]:[n[r]];for(const t of Array.isArray(i)?i:[i])e.includes(t)||e.push(t);n[r]=e}else"object"===typeof n[r]&&"object"===typeof i?n[r]=this.mergeClaims(n[r],i):n[r]=i;return n}},H=class{constructor(e,t){this.keys=e,this.nonce=t}},W=class{constructor(e,t){this._logger=new u("OidcClient"),this.settings=e instanceof D?e:new D(e),this.metadataService=null!=t?t:new E(this.settings),this._claimsService=new q(this.settings),this._validator=new N(this.settings,this.metadataService,this._claimsService),this._tokenClient=new B(this.settings,this.metadataService)}async createSigninRequest(e){let{state:t,request:n,request_uri:r,request_type:i,id_token_hint:o,login_hint:a,skipUserInfo:s,nonce:l,url_state:c,response_type:u=this.settings.response_type,scope:d=this.settings.scope,redirect_uri:p=this.settings.redirect_uri,prompt:h=this.settings.prompt,display:f=this.settings.display,max_age:m=this.settings.max_age,ui_locales:g=this.settings.ui_locales,acr_values:v=this.settings.acr_values,resource:y=this.settings.resource,response_mode:A=this.settings.response_mode,extraQueryParams:b=this.settings.extraQueryParams,extraTokenParams:w=this.settings.extraTokenParams,dpopJkt:x,omitScopeWhenRequesting:C=this.settings.omitScopeWhenRequesting}=e;const S=this._logger.create("createSigninRequest");if("code"!==u)throw new Error("Only the Authorization Code flow (with PKCE) is supported");const k=await this.metadataService.getAuthorizationEndpoint();S.debug("Received authorization endpoint",k);const E=await F.create({url:k,authority:this.settings.authority,client_id:this.settings.client_id,redirect_uri:p,response_type:u,scope:d,state_data:t,url_state:c,prompt:h,display:f,max_age:m,ui_locales:g,id_token_hint:o,login_hint:a,acr_values:v,dpopJkt:x,resource:y,request:n,request_uri:r,extraQueryParams:b,extraTokenParams:w,request_type:i,response_mode:A,client_secret:this.settings.client_secret,skipUserInfo:s,nonce:l,disablePKCE:this.settings.disablePKCE,omitScopeWhenRequesting:C});await this.clearStaleState();const I=E.state;return await this.settings.stateStore.set(I.id,I.toStorageString()),E}async readSigninResponseState(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const n=this._logger.create("readSigninResponseState"),r=new z(y.readParams(e,this.settings.response_mode));if(!r.state)throw n.throw(new Error("No state in response")),null;const i=await this.settings.stateStore[t?"remove":"get"](r.state);if(!i)throw n.throw(new Error("No matching state found in storage")),null;return{state:await R.fromStorageString(i),response:r}}async processSigninResponse(e,t){const n=this._logger.create("processSigninResponse"),{state:r,response:i}=await this.readSigninResponseState(e,!0);if(n.debug("received state from storage; validating response"),this.settings.dpop&&this.settings.dpop.store){const e=await this.getDpopProof(this.settings.dpop.store);t={...t,DPoP:e}}try{await this._validator.validateSigninResponse(i,r,t)}catch(o){if(!(o instanceof S&&this.settings.dpop))throw o;{const e=await this.getDpopProof(this.settings.dpop.store,o.nonce);t.DPoP=e,await this._validator.validateSigninResponse(i,r,t)}}return i}async getDpopProof(e,t){let n,r;return(await e.getAllKeys()).includes(this.settings.client_id)?(r=await e.get(this.settings.client_id),r.nonce!==t&&t&&(r.nonce=t,await e.set(this.settings.client_id,r))):(n=await f.generateDPoPKeys(),r=new H(n,t),await e.set(this.settings.client_id,r)),await f.generateDPoPProof({url:await this.metadataService.getTokenEndpoint(!1),httpMethod:"POST",keyPair:r.keys,nonce:r.nonce})}async processResourceOwnerPasswordCredentials(e){let{username:t,password:n,skipUserInfo:r=!1,extraTokenParams:i={}}=e;const o=await this._tokenClient.exchangeCredentials({username:t,password:n,...i}),a=new z(new URLSearchParams);return Object.assign(a,o),await this._validator.validateCredentialsResponse(a,r),a}async useRefreshToken(e){let{state:t,redirect_uri:n,resource:r,timeoutInSeconds:i,extraHeaders:o,extraTokenParams:a}=e;var s;const l=this._logger.create("useRefreshToken");let c,u;if(void 0===this.settings.refreshTokenAllowedScope)c=t.scope;else{const e=this.settings.refreshTokenAllowedScope.split(" ");c=((null==(s=t.scope)?void 0:s.split(" "))||[]).filter((t=>e.includes(t))).join(" ")}if(this.settings.dpop&&this.settings.dpop.store){const e=await this.getDpopProof(this.settings.dpop.store);o={...o,DPoP:e}}try{u=await this._tokenClient.exchangeRefreshToken({refresh_token:t.refresh_token,scope:c,redirect_uri:n,resource:r,timeoutInSeconds:i,extraHeaders:o,...a})}catch(p){if(!(p instanceof S&&this.settings.dpop))throw p;o.DPoP=await this.getDpopProof(this.settings.dpop.store,p.nonce),u=await this._tokenClient.exchangeRefreshToken({refresh_token:t.refresh_token,scope:c,redirect_uri:n,resource:r,timeoutInSeconds:i,extraHeaders:o,...a})}const d=new z(new URLSearchParams);return Object.assign(d,u),l.debug("validating response",d),await this._validator.validateRefreshResponse(d,{...t,scope:c}),d}async createSignoutRequest(){let{state:e,id_token_hint:t,client_id:n,request_type:r,post_logout_redirect_uri:i=this.settings.post_logout_redirect_uri,extraQueryParams:o=this.settings.extraQueryParams}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const a=this._logger.create("createSignoutRequest"),s=await this.metadataService.getEndSessionEndpoint();if(!s)throw a.throw(new Error("No end session endpoint")),null;a.debug("Received end session endpoint",s),n||!i||t||(n=this.settings.client_id);const l=new Q({url:s,id_token_hint:t,client_id:n,post_logout_redirect_uri:i,state_data:e,extraQueryParams:o,request_type:r});await this.clearStaleState();const c=l.state;return c&&(a.debug("Signout request has state to persist"),await this.settings.stateStore.set(c.id,c.toStorageString())),l}async readSignoutResponseState(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const n=this._logger.create("readSignoutResponseState"),r=new U(y.readParams(e,this.settings.response_mode));if(!r.state){if(n.debug("No state in response"),r.error)throw n.warn("Response was error:",r.error),new A(r);return{state:void 0,response:r}}const i=await this.settings.stateStore[t?"remove":"get"](r.state);if(!i)throw n.throw(new Error("No matching state found in storage")),null;return{state:await M.fromStorageString(i),response:r}}async processSignoutResponse(e){const t=this._logger.create("processSignoutResponse"),{state:n,response:r}=await this.readSignoutResponseState(e,!0);return n?(t.debug("Received state from storage; validating response"),this._validator.validateSignoutResponse(r,n)):t.debug("No state from storage; skipping response validation"),r}clearStaleState(){return this._logger.create("clearStaleState"),M.clearStaleState(this.settings.stateStore,this.settings.staleStateAgeInSeconds)}async revokeToken(e,t){return this._logger.create("revokeToken"),await this._tokenClient.revoke({token:e,token_type_hint:t})}},Y=class{constructor(e){this._userManager=e,this._logger=new u("SessionMonitor"),this._start=async e=>{const t=e.session_state;if(!t)return;const n=this._logger.create("_start");if(e.profile?(this._sub=e.profile.sub,n.debug("session_state",t,", sub",this._sub)):(this._sub=void 0,n.debug("session_state",t,", anonymous user")),this._checkSessionIFrame)this._checkSessionIFrame.start(t);else try{const e=await this._userManager.metadataService.getCheckSessionIframe();if(e){n.debug("initializing check session iframe");const r=this._userManager.settings.client_id,i=this._userManager.settings.checkSessionIntervalInSeconds,o=this._userManager.settings.stopCheckSessionOnError,a=new x(this._callback,r,e,i,o);await a.load(),this._checkSessionIFrame=a,a.start(t)}else n.warn("no check session iframe found in the metadata")}catch(r){n.error("Error from getCheckSessionIframe:",r instanceof Error?r.message:r)}},this._stop=()=>{const e=this._logger.create("_stop");if(this._sub=void 0,this._checkSessionIFrame&&this._checkSessionIFrame.stop(),this._userManager.settings.monitorAnonymousSession){const t=setInterval((async()=>{clearInterval(t);try{const e=await this._userManager.querySessionStatus();if(e){const t={session_state:e.session_state,profile:e.sub?{sub:e.sub}:null};this._start(t)}}catch(n){e.error("error from querySessionStatus",n instanceof Error?n.message:n)}}),1e3)}},this._callback=async()=>{const e=this._logger.create("_callback");try{const t=await this._userManager.querySessionStatus();let n=!0;t&&this._checkSessionIFrame?t.sub===this._sub?(n=!1,this._checkSessionIFrame.start(t.session_state),e.debug("same sub still logged in at OP, session state has changed, restarting check session iframe; session_state",t.session_state),await this._userManager.events._raiseUserSessionChanged()):e.debug("different subject signed into OP",t.sub):e.debug("subject no longer signed into OP"),n?this._sub?await this._userManager.events._raiseUserSignedOut():await this._userManager.events._raiseUserSignedIn():e.debug("no change in session detected, no event to raise")}catch(t){this._sub&&(e.debug("Error calling queryCurrentSigninSession; raising signed out event",t),await this._userManager.events._raiseUserSignedOut())}},e||this._logger.throw(new Error("No user manager passed")),this._userManager.events.addUserLoaded(this._start),this._userManager.events.addUserUnloaded(this._stop),this._init().catch((e=>{this._logger.error(e)}))}async _init(){this._logger.create("_init");const e=await this._userManager.getUser();if(e)this._start(e);else if(this._userManager.settings.monitorAnonymousSession){const e=await this._userManager.querySessionStatus();if(e){const t={session_state:e.session_state,profile:e.sub?{sub:e.sub}:null};this._start(t)}}}},K=class e{constructor(e){var t;this.id_token=e.id_token,this.session_state=null!=(t=e.session_state)?t:null,this.access_token=e.access_token,this.refresh_token=e.refresh_token,this.token_type=e.token_type,this.scope=e.scope,this.profile=e.profile,this.expires_at=e.expires_at,this.state=e.userState,this.url_state=e.url_state}get expires_in(){if(void 0!==this.expires_at)return this.expires_at-v.getEpochTime()}set expires_in(e){void 0!==e&&(this.expires_at=Math.floor(e)+v.getEpochTime())}get expired(){const e=this.expires_in;if(void 0!==e)return e<=0}get scopes(){var e,t;return null!=(t=null==(e=this.scope)?void 0:e.split(" "))?t:[]}toStorageString(){return new u("User").create("toStorageString"),JSON.stringify({id_token:this.id_token,session_state:this.session_state,access_token:this.access_token,refresh_token:this.refresh_token,token_type:this.token_type,scope:this.scope,profile:this.profile,expires_at:this.expires_at})}static fromStorageString(t){return u.createStatic("User","fromStorageString"),new e(JSON.parse(t))}},J="oidc-client",X=class{constructor(){this._abort=new m("Window navigation aborted"),this._disposeHandlers=new Set,this._window=null}async navigate(e){const t=this._logger.create("navigate");if(!this._window)throw new Error("Attempted to navigate on a disposed window");t.debug("setting URL in window"),this._window.location.replace(e.url);const{url:n,keepOpen:r}=await new Promise(((n,r)=>{const i=i=>{var o;const a=i.data,s=null!=(o=e.scriptOrigin)?o:window.location.origin;if(i.origin===s&&(null==a?void 0:a.source)===J){try{const n=y.readParams(a.url,e.response_mode).get("state");if(n||t.warn("no state found in response url"),i.source!==this._window&&n!==e.state)return}catch(l){this._dispose(),r(new Error("Invalid response from window"))}n(a)}};window.addEventListener("message",i,!1),this._disposeHandlers.add((()=>window.removeEventListener("message",i,!1))),this._disposeHandlers.add(this._abort.addHandler((e=>{this._dispose(),r(e)})))}));return t.debug("got response from window"),this._dispose(),r||this.close(),{url:n}}_dispose(){this._logger.create("_dispose");for(const e of this._disposeHandlers)e();this._disposeHandlers.clear()}static _notifyParent(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:window.location.origin;e.postMessage({source:J,url:t,keepOpen:n},r)}},Z={location:!1,toolbar:!1,height:640,closePopupWindowAfterInSeconds:-1},$="_blank",ee=60,te=2,ne=10,re=class extends D{constructor(e){const{popup_redirect_uri:t=e.redirect_uri,popup_post_logout_redirect_uri:n=e.post_logout_redirect_uri,popupWindowFeatures:r=Z,popupWindowTarget:i=$,redirectMethod:o="assign",redirectTarget:a="self",iframeNotifyParentOrigin:s=e.iframeNotifyParentOrigin,iframeScriptOrigin:l=e.iframeScriptOrigin,requestTimeoutInSeconds:c,silent_redirect_uri:u=e.redirect_uri,silentRequestTimeoutInSeconds:d,automaticSilentRenew:p=!0,validateSubOnSilentRenew:h=!0,includeIdTokenInSilentRenew:f=!1,monitorSession:m=!1,monitorAnonymousSession:g=!1,checkSessionIntervalInSeconds:v=te,query_status_response_type:y="code",stopCheckSessionOnError:A=!0,revokeTokenTypes:b=["access_token","refresh_token"],revokeTokensOnSignout:w=!1,includeIdTokenInSilentSignout:x=!1,accessTokenExpiringNotificationTimeInSeconds:S=ee,userStore:k}=e;if(super(e),this.popup_redirect_uri=t,this.popup_post_logout_redirect_uri=n,this.popupWindowFeatures=r,this.popupWindowTarget=i,this.redirectMethod=o,this.redirectTarget=a,this.iframeNotifyParentOrigin=s,this.iframeScriptOrigin=l,this.silent_redirect_uri=u,this.silentRequestTimeoutInSeconds=d||c||ne,this.automaticSilentRenew=p,this.validateSubOnSilentRenew=h,this.includeIdTokenInSilentRenew=f,this.monitorSession=m,this.monitorAnonymousSession=g,this.checkSessionIntervalInSeconds=v,this.stopCheckSessionOnError=A,this.query_status_response_type=y,this.revokeTokenTypes=b,this.revokeTokensOnSignout=w,this.includeIdTokenInSilentSignout=x,this.accessTokenExpiringNotificationTimeInSeconds=S,k)this.userStore=k;else{const e="undefined"!==typeof window?window.sessionStorage:new C;this.userStore=new I({store:e})}}},ie=class e extends X{constructor(t){let{silentRequestTimeoutInSeconds:n=ne}=t;super(),this._logger=new u("IFrameWindow"),this._timeoutInSeconds=n,this._frame=e.createHiddenIframe(),this._window=this._frame.contentWindow}static createHiddenIframe(){const e=window.document.createElement("iframe");return e.style.visibility="hidden",e.style.position="fixed",e.style.left="-1000px",e.style.top="0",e.width="0",e.height="0",window.document.body.appendChild(e),e}async navigate(e){this._logger.debug("navigate: Using timeout of:",this._timeoutInSeconds);const t=setTimeout((()=>{this._abort.raise(new b("IFrame timed out without a response"))}),1e3*this._timeoutInSeconds);return this._disposeHandlers.add((()=>clearTimeout(t))),await super.navigate(e)}close(){var e;this._frame&&(this._frame.parentNode&&(this._frame.addEventListener("load",(e=>{var t;const n=e.target;null==(t=n.parentNode)||t.removeChild(n),this._abort.raise(new Error("IFrame removed from DOM"))}),!0),null==(e=this._frame.contentWindow)||e.location.replace("about:blank")),this._frame=null),this._window=null}static notifyParent(e,t){return super._notifyParent(window.parent,e,!1,t)}},oe=class{constructor(e){this._settings=e,this._logger=new u("IFrameNavigator")}async prepare(e){let{silentRequestTimeoutInSeconds:t=this._settings.silentRequestTimeoutInSeconds}=e;return new ie({silentRequestTimeoutInSeconds:t})}async callback(e){this._logger.create("callback"),ie.notifyParent(e,this._settings.iframeNotifyParentOrigin)}},ae=class extends X{constructor(e){let{popupWindowTarget:t=$,popupWindowFeatures:n={},popupSignal:r}=e;super(),this._logger=new u("PopupWindow");const i=g.center({...Z,...n});this._window=window.open(void 0,t,g.serialize(i)),r&&r.addEventListener("abort",(()=>{var e;this._abort.raise(new Error(null!=(e=r.reason)?e:"Popup aborted"))})),n.closePopupWindowAfterInSeconds&&n.closePopupWindowAfterInSeconds>0&&setTimeout((()=>{this._window&&"boolean"===typeof this._window.closed&&!this._window.closed?this.close():this._abort.raise(new Error("Popup blocked by user"))}),1e3*n.closePopupWindowAfterInSeconds)}async navigate(e){var t;null==(t=this._window)||t.focus();const n=setInterval((()=>{this._window&&!this._window.closed||this._abort.raise(new Error("Popup closed by user"))}),500);return this._disposeHandlers.add((()=>clearInterval(n))),await super.navigate(e)}close(){this._window&&(this._window.closed||(this._window.close(),this._abort.raise(new Error("Popup closed")))),this._window=null}static notifyOpener(e,t){if(!window.opener)throw new Error("No window.opener. Can't complete notification.");return super._notifyParent(window.opener,e,t)}},se=class{constructor(e){this._settings=e,this._logger=new u("PopupNavigator")}async prepare(e){let{popupWindowFeatures:t=this._settings.popupWindowFeatures,popupWindowTarget:n=this._settings.popupWindowTarget,popupSignal:r}=e;return new ae({popupWindowFeatures:t,popupWindowTarget:n,popupSignal:r})}async callback(e,t){let{keepOpen:n=!1}=t;this._logger.create("callback"),ae.notifyOpener(e,n)}},le=class{constructor(e){this._settings=e,this._logger=new u("RedirectNavigator")}async prepare(e){let{redirectMethod:t=this._settings.redirectMethod,redirectTarget:n=this._settings.redirectTarget}=e;var r;this._logger.create("prepare");let i=window.self;"top"===n&&(i=null!=(r=window.top)?r:window.self);const o=i.location[t].bind(i.location);let a;return{navigate:async e=>{this._logger.create("navigate");const t=new Promise(((e,t)=>{a=t}));return o(e.url),await t},close:()=>{this._logger.create("close"),null==a||a(new Error("Redirect aborted")),i.stop()}}}async callback(){}},ce=class extends w{constructor(e){super({expiringNotificationTimeInSeconds:e.accessTokenExpiringNotificationTimeInSeconds}),this._logger=new u("UserManagerEvents"),this._userLoaded=new m("User loaded"),this._userUnloaded=new m("User unloaded"),this._silentRenewError=new m("Silent renew error"),this._userSignedIn=new m("User signed in"),this._userSignedOut=new m("User signed out"),this._userSessionChanged=new m("User session changed")}async load(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];super.load(e),t&&await this._userLoaded.raise(e)}async unload(){super.unload(),await this._userUnloaded.raise()}addUserLoaded(e){return this._userLoaded.addHandler(e)}removeUserLoaded(e){return this._userLoaded.removeHandler(e)}addUserUnloaded(e){return this._userUnloaded.addHandler(e)}removeUserUnloaded(e){return this._userUnloaded.removeHandler(e)}addSilentRenewError(e){return this._silentRenewError.addHandler(e)}removeSilentRenewError(e){return this._silentRenewError.removeHandler(e)}async _raiseSilentRenewError(e){await this._silentRenewError.raise(e)}addUserSignedIn(e){return this._userSignedIn.addHandler(e)}removeUserSignedIn(e){this._userSignedIn.removeHandler(e)}async _raiseUserSignedIn(){await this._userSignedIn.raise()}addUserSignedOut(e){return this._userSignedOut.addHandler(e)}removeUserSignedOut(e){this._userSignedOut.removeHandler(e)}async _raiseUserSignedOut(){await this._userSignedOut.raise()}addUserSessionChanged(e){return this._userSessionChanged.addHandler(e)}removeUserSessionChanged(e){this._userSessionChanged.removeHandler(e)}async _raiseUserSessionChanged(){await this._userSessionChanged.raise()}},ue=class{constructor(e){this._userManager=e,this._logger=new u("SilentRenewService"),this._isStarted=!1,this._retryTimer=new v("Retry Silent Renew"),this._tokenExpiring=async()=>{const e=this._logger.create("_tokenExpiring");try{await this._userManager.signinSilent(),e.debug("silent token renewal successful")}catch(t){if(t instanceof b)return e.warn("ErrorTimeout from signinSilent:",t,"retry in 5s"),void this._retryTimer.init(5);e.error("Error from signinSilent:",t),await this._userManager.events._raiseSilentRenewError(t)}}}async start(){const e=this._logger.create("start");if(!this._isStarted){this._isStarted=!0,this._userManager.events.addAccessTokenExpiring(this._tokenExpiring),this._retryTimer.addHandler(this._tokenExpiring);try{await this._userManager.getUser()}catch(t){e.error("getUser error",t)}}}stop(){this._isStarted&&(this._retryTimer.cancel(),this._retryTimer.removeHandler(this._tokenExpiring),this._userManager.events.removeAccessTokenExpiring(this._tokenExpiring),this._isStarted=!1)}},de=class{constructor(e){this.refresh_token=e.refresh_token,this.id_token=e.id_token,this.session_state=e.session_state,this.scope=e.scope,this.profile=e.profile,this.data=e.state}},pe=class{constructor(e,t,n,r){this._logger=new u("UserManager"),this.settings=new re(e),this._client=new W(e),this._redirectNavigator=null!=t?t:new le(this.settings),this._popupNavigator=null!=n?n:new se(this.settings),this._iframeNavigator=null!=r?r:new oe(this.settings),this._events=new ce(this.settings),this._silentRenewService=new ue(this),this.settings.automaticSilentRenew&&this.startSilentRenew(),this._sessionMonitor=null,this.settings.monitorSession&&(this._sessionMonitor=new Y(this))}get events(){return this._events}get metadataService(){return this._client.metadataService}async getUser(){const e=this._logger.create("getUser"),t=await this._loadUser();return t?(e.info("user loaded"),await this._events.load(t,!1),t):(e.info("user not found in storage"),null)}async removeUser(){const e=this._logger.create("removeUser");await this.storeUser(null),e.info("user removed from storage"),await this._events.unload()}async signinRedirect(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};var t;this._logger.create("signinRedirect");const{redirectMethod:n,...r}=e;let i;(null==(t=this.settings.dpop)?void 0:t.bind_authorization_code)&&(i=await this.generateDPoPJkt(this.settings.dpop));const o=await this._redirectNavigator.prepare({redirectMethod:n});await this._signinStart({request_type:"si:r",dpopJkt:i,...r},o)}async signinRedirectCallback(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.location.href;const t=this._logger.create("signinRedirectCallback"),n=await this._signinEnd(e);return n.profile&&n.profile.sub?t.info("success, signed in subject",n.profile.sub):t.info("no subject"),n}async signinResourceOwnerCredentials(e){let{username:t,password:n,skipUserInfo:r=!1}=e;const i=this._logger.create("signinResourceOwnerCredential"),o=await this._client.processResourceOwnerPasswordCredentials({username:t,password:n,skipUserInfo:r,extraTokenParams:this.settings.extraTokenParams});i.debug("got signin response");const a=await this._buildUser(o);return a.profile&&a.profile.sub?i.info("success, signed in subject",a.profile.sub):i.info("no subject"),a}async signinPopup(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};var t;const n=this._logger.create("signinPopup");let r;(null==(t=this.settings.dpop)?void 0:t.bind_authorization_code)&&(r=await this.generateDPoPJkt(this.settings.dpop));const{popupWindowFeatures:i,popupWindowTarget:o,popupSignal:a,...s}=e,l=this.settings.popup_redirect_uri;l||n.throw(new Error("No popup_redirect_uri configured"));const c=await this._popupNavigator.prepare({popupWindowFeatures:i,popupWindowTarget:o,popupSignal:a}),u=await this._signin({request_type:"si:p",redirect_uri:l,display:"popup",dpopJkt:r,...s},c);return u&&(u.profile&&u.profile.sub?n.info("success, signed in subject",u.profile.sub):n.info("no subject")),u}async signinPopupCallback(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.location.href,t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const n=this._logger.create("signinPopupCallback");await this._popupNavigator.callback(e,{keepOpen:t}),n.info("success")}async signinSilent(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};var t,n;const r=this._logger.create("signinSilent"),{silentRequestTimeoutInSeconds:i,...o}=e;let a,s=await this._loadUser();if(null==s?void 0:s.refresh_token){r.debug("using refresh token");const e=new de(s);return await this._useRefreshToken({state:e,redirect_uri:o.redirect_uri,resource:o.resource,extraTokenParams:o.extraTokenParams,timeoutInSeconds:i})}(null==(t=this.settings.dpop)?void 0:t.bind_authorization_code)&&(a=await this.generateDPoPJkt(this.settings.dpop));const l=this.settings.silent_redirect_uri;let c;l||r.throw(new Error("No silent_redirect_uri configured")),s&&this.settings.validateSubOnSilentRenew&&(r.debug("subject prior to silent renew:",s.profile.sub),c=s.profile.sub);const u=await this._iframeNavigator.prepare({silentRequestTimeoutInSeconds:i});return s=await this._signin({request_type:"si:s",redirect_uri:l,prompt:"none",id_token_hint:this.settings.includeIdTokenInSilentRenew?null==s?void 0:s.id_token:void 0,dpopJkt:a,...o},u,c),s&&((null==(n=s.profile)?void 0:n.sub)?r.info("success, signed in subject",s.profile.sub):r.info("no subject")),s}async _useRefreshToken(e){const t=await this._client.useRefreshToken({timeoutInSeconds:this.settings.silentRequestTimeoutInSeconds,...e}),n=new K({...e.state,...t});return await this.storeUser(n),await this._events.load(n),n}async signinSilentCallback(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.location.href;const t=this._logger.create("signinSilentCallback");await this._iframeNavigator.callback(e),t.info("success")}async signinCallback(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.location.href;const{state:t}=await this._client.readSigninResponseState(e);switch(t.request_type){case"si:r":return await this.signinRedirectCallback(e);case"si:p":await this.signinPopupCallback(e);break;case"si:s":await this.signinSilentCallback(e);break;default:throw new Error("invalid response_type in state")}}async signoutCallback(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.location.href,t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const{state:n}=await this._client.readSignoutResponseState(e);if(n)switch(n.request_type){case"so:r":return await this.signoutRedirectCallback(e);case"so:p":await this.signoutPopupCallback(e,t);break;case"so:s":await this.signoutSilentCallback(e);break;default:throw new Error("invalid response_type in state")}}async querySessionStatus(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=this._logger.create("querySessionStatus"),{silentRequestTimeoutInSeconds:n,...r}=e,i=this.settings.silent_redirect_uri;i||t.throw(new Error("No silent_redirect_uri configured"));const o=await this._loadUser(),a=await this._iframeNavigator.prepare({silentRequestTimeoutInSeconds:n}),s=await this._signinStart({request_type:"si:s",redirect_uri:i,prompt:"none",id_token_hint:this.settings.includeIdTokenInSilentRenew?null==o?void 0:o.id_token:void 0,response_type:this.settings.query_status_response_type,scope:"openid",skipUserInfo:!0,...r},a);try{const e={},n=await this._client.processSigninResponse(s.url,e);return t.debug("got signin response"),n.session_state&&n.profile.sub?(t.info("success for subject",n.profile.sub),{session_state:n.session_state,sub:n.profile.sub}):(t.info("success, user not authenticated"),null)}catch(l){if(this.settings.monitorAnonymousSession&&l instanceof A)switch(l.error){case"login_required":case"consent_required":case"interaction_required":case"account_selection_required":return t.info("success for anonymous user"),{session_state:l.session_state}}throw l}}async _signin(e,t,n){const r=await this._signinStart(e,t);return await this._signinEnd(r.url,n)}async _signinStart(e,t){const n=this._logger.create("_signinStart");try{const r=await this._client.createSigninRequest(e);return n.debug("got signin request"),await t.navigate({url:r.url,state:r.state.id,response_mode:r.state.response_mode,scriptOrigin:this.settings.iframeScriptOrigin})}catch(r){throw n.debug("error after preparing navigator, closing navigator window"),t.close(),r}}async _signinEnd(e,t){const n=this._logger.create("_signinEnd"),r=await this._client.processSigninResponse(e,{});n.debug("got signin response");return await this._buildUser(r,t)}async _buildUser(e,t){const n=this._logger.create("_buildUser"),r=new K(e);if(t){if(t!==r.profile.sub)throw n.debug("current user does not match user returned from signin. sub from signin:",r.profile.sub),new A({...e,error:"login_required"});n.debug("current user matches user returned from signin")}return await this.storeUser(r),n.debug("user stored"),await this._events.load(r),r}async signoutRedirect(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=this._logger.create("signoutRedirect"),{redirectMethod:n,...r}=e,i=await this._redirectNavigator.prepare({redirectMethod:n});await this._signoutStart({request_type:"so:r",post_logout_redirect_uri:this.settings.post_logout_redirect_uri,...r},i),t.info("success")}async signoutRedirectCallback(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.location.href;const t=this._logger.create("signoutRedirectCallback"),n=await this._signoutEnd(e);return t.info("success"),n}async signoutPopup(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=this._logger.create("signoutPopup"),{popupWindowFeatures:n,popupWindowTarget:r,popupSignal:i,...o}=e,a=this.settings.popup_post_logout_redirect_uri,s=await this._popupNavigator.prepare({popupWindowFeatures:n,popupWindowTarget:r,popupSignal:i});await this._signout({request_type:"so:p",post_logout_redirect_uri:a,state:null==a?void 0:{},...o},s),t.info("success")}async signoutPopupCallback(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.location.href,t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const n=this._logger.create("signoutPopupCallback");await this._popupNavigator.callback(e,{keepOpen:t}),n.info("success")}async _signout(e,t){const n=await this._signoutStart(e,t);return await this._signoutEnd(n.url)}async _signoutStart(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;var n;const r=this._logger.create("_signoutStart");try{const i=await this._loadUser();r.debug("loaded current user from storage"),this.settings.revokeTokensOnSignout&&await this._revokeInternal(i);const o=e.id_token_hint||i&&i.id_token;o&&(r.debug("setting id_token_hint in signout request"),e.id_token_hint=o),await this.removeUser(),r.debug("user removed, creating signout request");const a=await this._client.createSignoutRequest(e);return r.debug("got signout request"),await t.navigate({url:a.url,state:null==(n=a.state)?void 0:n.id,scriptOrigin:this.settings.iframeScriptOrigin})}catch(i){throw r.debug("error after preparing navigator, closing navigator window"),t.close(),i}}async _signoutEnd(e){const t=this._logger.create("_signoutEnd"),n=await this._client.processSignoutResponse(e);return t.debug("got signout response"),n}async signoutSilent(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};var t;const n=this._logger.create("signoutSilent"),{silentRequestTimeoutInSeconds:r,...i}=e,o=this.settings.includeIdTokenInSilentSignout?null==(t=await this._loadUser())?void 0:t.id_token:void 0,a=this.settings.popup_post_logout_redirect_uri,s=await this._iframeNavigator.prepare({silentRequestTimeoutInSeconds:r});await this._signout({request_type:"so:s",post_logout_redirect_uri:a,id_token_hint:o,...i},s),n.info("success")}async signoutSilentCallback(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.location.href;const t=this._logger.create("signoutSilentCallback");await this._iframeNavigator.callback(e),t.info("success")}async revokeTokens(e){const t=await this._loadUser();await this._revokeInternal(t,e)}async _revokeInternal(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.settings.revokeTokenTypes;const n=this._logger.create("_revokeInternal");if(!e)return;const r=t.filter((t=>"string"===typeof e[t]));if(r.length){for(const t of r)await this._client.revokeToken(e[t],t),n.info(`${t} revoked successfully`),"access_token"!==t&&(e[t]=null);await this.storeUser(e),n.debug("user stored"),await this._events.load(e)}else n.debug("no need to revoke due to no token(s)")}startSilentRenew(){this._logger.create("startSilentRenew"),this._silentRenewService.start()}stopSilentRenew(){this._silentRenewService.stop()}get _userStoreKey(){return`user:${this.settings.authority}:${this.settings.client_id}`}async _loadUser(){const e=this._logger.create("_loadUser"),t=await this.settings.userStore.get(this._userStoreKey);return t?(e.debug("user storageString loaded"),K.fromStorageString(t)):(e.debug("no user storageString"),null)}async storeUser(e){const t=this._logger.create("storeUser");if(e){t.debug("storing user");const n=e.toStorageString();await this.settings.userStore.set(this._userStoreKey,n)}else this._logger.debug("removing user"),await this.settings.userStore.remove(this._userStoreKey),this.settings.dpop&&await this.settings.dpop.store.remove(this.settings.client_id)}async clearStaleState(){await this._client.clearStaleState()}async dpopProof(e,t,n,r){var i,o;const a=await(null==(o=null==(i=this.settings.dpop)?void 0:i.store)?void 0:o.get(this.settings.client_id));if(a)return await f.generateDPoPProof({url:e,accessToken:null==t?void 0:t.access_token,httpMethod:n,keyPair:a.keys,nonce:r})}async generateDPoPJkt(e){let t=await e.store.get(this.settings.client_id);if(!t){const n=await f.generateDPoPKeys();t=new H(n),await e.store.set(this.settings.client_id,t)}return await f.generateDPoPJkt(t.keys)}},he=n(578),fe=n(51673);const me={loginCb:"authentication/login",logoutCb:"authentication/logout",silent:"silent_renew.html",login:"authentication/signin"};let ge;(0,he.A)()&&c.setLogger(console);const ve={getUserManager(){if(!ge)throw new Error("User manager not instantiated");return ge},initUserManager(e,t){fe.A.log("initUserManager - identityApi");const n=ye(),r={authority:t,client_id:"ReactJs",redirect_uri:`${n}/${me.loginCb}`,silent_redirect_uri:`${n}/${me.silent}`,post_logout_redirect_uri:`${n}/${me.logoutCb}`,response_type:"code",scope:`openid profile roles ${e.toUpperCase()} offline_access`,automaticSilentRenew:!0,monitorSession:!1,stopCheckSessionOnError:!1,loadUserInfo:!1,ui_locales:"en",userStore:new I({store:localStorage})};return ge=new pe(r),ge.clearStaleState(),ge},removeUser:()=>ge.removeUser(),getUser:()=>xe(ge.getUser()),signinRedirect(e,t){const n=e.state.returnUrl;n&&n.includes(me.login)&&(e.state.returnUrl=ye());return Object.keys(localStorage).filter((e=>e.startsWith("oidc.user:"))).forEach((e=>localStorage.removeItem(e))),ge.signinRedirect({...e,ui_locales:t,acr_values:Ae()})},signinSilent:(e,t)=>(fe.A.log("signinSilent - identityApi"),xe(ge.signinSilent({...e,ui_locales:t}))),signinCallback:e=>xe(ge.signinCallback(e)),signinSilentCallback:e=>(fe.A.log("signinSilentCallback - identityApi"),ge.signinSilentCallback(e)),signoutRedirect:e=>ge.signoutRedirect(e),signoutRedirectCallback:e=>async function(e){const t=await e;if(function(e){var t,n;return"undefined"===typeof(null===(t=e.userState)||void 0===t?void 0:t.returnUrl)||"string"===typeof(null===(n=e.userState)||void 0===n?void 0:n.returnUrl)}(t))return t;throw new Error("Asserting unknown so should not happen")}(ge.signoutRedirectCallback(e))},ye=()=>`${window.location.protocol}//${window.location.hostname}${window.location.port?`:${window.location.port}`:""}`,Ae=()=>window.location.toString().length>255||window.location.toString().includes(me.login)?ye():window.location.toString(),be=ve;function we(e){var t,n;return"undefined"===typeof(null===(t=e.state)||void 0===t?void 0:t.returnUrl)||"string"===typeof(null===(n=e.state)||void 0===n?void 0:n.returnUrl)}async function xe(e){const t=await e;if(!t)return t;if(we(t))return t;throw new Error("Asserting unknown so should not happen")}},58525:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(50039);class i extends r.uW.BaseFilter{constructor(){super(...arguments),this.disabled=!1,this.colorSources=[],this.colorDestination=void 0,this.originalPixelData=void 0}getFragmentSource(){return"\n precision highp float;\n uniform sampler2D uTexture;\n uniform vec4 uColorSource;\n uniform vec4 uColorDestination;\n varying vec2 vTexCoord;\n void main() {\n   vec4 color = texture2D(uTexture, vTexCoord);\n   vec3 delta = abs(uColorSource.rgb - color.rgb);\n   gl_FragColor = length(delta) < 0.2 ? uColorDestination.rgba : color;\n }"}withinRange(e,t){return e>=t-2&&e<=t+2}applyTo2d(e){if(this.disabled)return;const t=e.imageData.data,n=t.length,i=new r.Q1(this.colorDestination).getSource();if(this.originalPixelData)for(const o of this.colorSources){const e=new r.Q1(o).getSource();for(let r=0;r<n;r+=4)if(this.withinRange(this.originalPixelData[r],e[0])&&this.withinRange(this.originalPixelData[r+1],e[1])&&this.withinRange(this.originalPixelData[r+2],e[2])&&this.withinRange(this.originalPixelData[r+3],e[3])){const e="transparent"===this.colorDestination;t[r]=e?t[r]:i[0],t[r+1]=e?t[r+1]:i[1],t[r+2]=e?t[r+2]:i[2],t[r+3]=255*i[3]}}}}i.type="SwapColors"},95461:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>p,RZ:()=>u,de:()=>s,wv:()=>d});var r=n(11359),i=n(85913),o=n(69435);const a={[o.AddonFixedImageType.BeanieLeftSide]:"beanie-left-side",[o.AddonFixedImageType.BeanieRightSide]:"beanie-right-side",[o.AddonFixedImageType.Buttons]:"buttons",[o.AddonFixedImageType.DrawStrings]:"drawstrings",[o.AddonFixedImageType.NeckTapeCustom]:"neck-tape-custom",[o.AddonFixedImageType.NeckTapeHerringbone]:"neck-tape-herringbone",[o.AddonFixedImageType.PlacketTapeCustom]:"placket-tape-custom",[o.AddonFixedImageType.PlacketTapeStock]:"placket-tape-stock",[o.AddonFixedImageType.SideSlitInside]:"side-slit-inside",[o.AddonFixedImageType.SideSlitOutside]:"side-slit-outside",[o.AddonFixedImageType.SideTagLeft]:"side-tag-left",[o.AddonFixedImageType.SideTagRight]:"side-tag-right",[o.AddonFixedImageType.WowenHood]:"woven-hood-tag",[o.AddonFixedImageType.WowenCollar]:"wowen-collar",[o.AddonFixedImageType.WowenLeftBottom]:"wowen-left-bottom",[o.AddonFixedImageType.WowenRightBottom]:"wowen-right-bottom",[o.AddonFixedImageType.WowenLeftSleeve]:"wowen-left-sleeve",[o.AddonFixedImageType.WowenRightSleeve]:"wowen-right-sleeve",[o.AddonFixedImageType.Stoppers]:"stoppers",[o.AddonFixedImageType.Zippuller]:"zippuller",[o.AddonFixedImageType.Hangtag]:"hangtag",[o.AddonFixedImageType.Label]:"label",[o.AddonFixedImageType.None]:""};function s(e,t){const n=a[e];if(""!==n){return n&&`/clientapp/build/images/${"background"===t?"accessoryBackgrounds":"accessories"}/${n}${"background"===t?".png":".svg"}`}}const l={},c=(0,r.Z0)({name:"accessoryImageSlice",initialState:{pending:{},error:{}},reducers:{},extraReducers:e=>{e.addCase(d.pending,((e,t)=>{const n=t.meta.arg;e.pending[n]=!0})),e.addCase(d.fulfilled,((e,t)=>{const n=t.meta.arg;e.pending[n]=!1})),e.addCase(d.rejected,((e,t)=>{const n=t.meta.arg;e.pending[n]=!1,e.error[n]=t.error}))}}),u=(0,i.Mz)((e=>e.accessoryImages.pending),(e=>e.accessoryImages.error),((e,t)=>{const n=Object.values(e).some((e=>e));return{pending:e,error:t,data:l,inProgress:n}})),d=(0,r.zD)("accessoryImageSlice/getImage",(async e=>{const t=s(e,"color");let n=l[e];if(!n&&t){const r=await fetch(t);n=await r.text(),l[e]=n}})),p=c.reducer},50361:(e,t,n)=>{"use strict";n.d(t,{$G:()=>o,Ay:()=>l,Lr:()=>a,lW:()=>s,wp:()=>i});const r=(0,n(11359).Z0)({name:"alert",initialState:{alerts:[],currentAlert:null},reducers:{alertQueued(e,t){e.alerts.push(t.payload)},nextAlerted(e){e.currentAlert=e.alerts.pop()},alertHandled(e){e.currentAlert=null},clearAlerts(e){e.alerts=[]}},extraReducers:()=>{}}),{alertQueued:i,nextAlerted:o,alertHandled:a,clearAlerts:s}=r.actions,l=r.reducer},95806:(e,t,n)=>{"use strict";n.d(t,{g:()=>o,s:()=>i});var r=n(51673);function i(e,t){var n;if(!t)throw new Error("No languages! Should not happen?");const i=e.split("/").filter(Boolean),o=i.length?i[0]:null;if(o){const e=t.find((e=>e.urlSegment.toLowerCase()===o.toLowerCase()));if(e)return e.isMasterLanguage&&r.A.warn("Segment should not exist on master language"),e}return null!==(n=t.find((e=>e.isMasterLanguage)))&&void 0!==n?n:t[0]}function o(e){var t;return!!e.assortmentEntryPoint||!(null===(t=e.contentType)||void 0===t||!t.includes("AssortmentProductContentPage"))}},43418:(e,t,n)=>{"use strict";n.d(t,{Ap:()=>m,Ay:()=>A,Lt:()=>S,Ui:()=>v,dB:()=>b,yH:()=>g});var r=n(11359),i=n(85913),o=n(77018),a=n(83632),s=n(96011),l=n.n(s),c=n(1820),u=n(84238),d=n(35732),p=n(54927),h=n(51673),f=n(95806);const m=(0,r.zD)("currentPage/pageContent/updateByUrl",(async(e,t)=>{let{getState:n,dispatch:r,rejectWithValue:i}=t;const s=n().currentPage.history,c=n().authorization.authUser,u=c&&!c.expired,d=s.find((t=>t.url===e));if(d)return d;try{var p;if(!u&&window.currentPage&&window.currentPage.url===e){var h=window.currentPage;return window.currentPage=void 0,delete window.currentPage,a.A.virtualPageView(`${h.url}`,`${h.name}`,`${h.contentType}`),h}const t=await o.A.getContentByFriendlyUrl(e);if(null!==t&&void 0!==t&&null!==(p=t.headers)&&void 0!==p&&p["content-type"].startsWith("text/html")){const e=n().siteDefinition.notFoundPage;if(e){return(await o.A.getContentByFriendlyUrl(e.url)).data}}const r=t.data;return a.A.virtualPageView(`${r.url}`,`${r.name}`,`${r.contentType}`),window.currentPage=void 0,delete window.currentPage,r}catch(v){if(l().isAxiosError(v)){var f,m,g;const e=n(),t=e.siteDefinition.notFoundPage,a=e.siteDefinition.unAuthorizedPage,s=window.assortmentPath;if(404===(null===(f=v.response)||void 0===f?void 0:f.status)&&s)return r(y.actions.assortmentPathSet(s)),i("tryResolveAssortment");if(404===(null===(m=v.response)||void 0===m?void 0:m.status)&&t){return(await o.A.getContentByFriendlyUrl(t.url)).data}if(403===(null===(g=v.response)||void 0===g?void 0:g.status)&&a){return(await o.A.getContentByFriendlyUrl(a.url)).data}}return i(v instanceof Error?v:void 0)}})),g=((0,r.zD)("currentPage/pageContent/getCurrentPageByContentLink",(async(e,t)=>{let{getState:n}=t;const r=n().currentPage.history,i=(0,f.s)(window.location.pathname,n().siteDefinition.languages),s=r.find((t=>t.contentLink.id===e));if(s){const e=s;return a.A.virtualPageView(`${e.url}`,`${e.name}`,`${e.contentType}`),e}const l=(await o.A.getContentByContentLink(e,void 0,null===i||void 0===i?void 0:i.name)).data;return a.A.virtualPageView(`${l.url}`,`${l.name}`,`${l.contentType}`),l})),(0,r.zD)("currentPage/tryResolveAssortment",(async(e,t)=>{let{getState:n,dispatch:r,rejectWithValue:i}=t;const a=n(),s=a.assortment.categories,l=a.siteDefinition.assortmentPages;for(const o of l){const t=o.url+e,[n]=(0,c.qM)(s,t);if(n)return t}const d=n().siteDefinition.notFoundPage;if(d){r({type:"currentPage/pageContent/404/fulfilled",payload:(await o.A.getContentByFriendlyUrl(d.url)).data})}else r({type:"currentPage/pageContent/404/rejected",error:{message:u.A.t("error.general")}});return i("Could not find category - returning 404")}))),v=(0,r.zD)("currentPage/getAuthorByContentLink",(async e=>await o.A.getContentByFriendlyUrl(e).then((e=>e.data)))),y=(0,r.Z0)({name:"currentPage",initialState:{history:[],content:null,head:{},loaded:!1,loading:!0,error:null,currentRequestId:null,language:null,isAssortmentPage:!1,author:null},reducers:{errorCleared(e){e.error=null},assortmentPathSet(e,t){e.assortmentPath=t.payload}},extraReducers:e=>{e.addCase(g.fulfilled,((e,t)=>{e.redirect=t.payload})),e.addCase(v.fulfilled,((e,t)=>{e.author=t.payload})),e.addCase(m.rejected,((e,t)=>{e.tryResolveAssortmentPath=!0})),e.addMatcher((0,d._H)("currentPage/pageContent/"),((e,t)=>{e.loading=!0,e.currentRequestId=t.meta.requestId})),e.addMatcher((0,d.Ic)("currentPage/pageContent/"),((e,t)=>{var n,r,i,o,a;const s=t.payload,l=C(s);e.isAssortmentPage=l,e.loading=!1,e.content=s,e.language=null===(n=s.language)||void 0===n?void 0:n.name,e.head={title:null===(r=s.title)||void 0===r?void 0:r.value,metaTitle:null===(i=s.metaTitle)||void 0===i?void 0:i.value,name:null!==(o=s.name)&&void 0!==o?o:void 0,metaDescription:null===(a=s.metaDescription)||void 0===a?void 0:a.value,isAssortment:l},e.history.find((e=>e.contentLink===s.contentLink))||(e.history=[s,...e.history.slice(0,10)]),e.loaded=!0})),e.addMatcher((0,d.b5)("currentPage/pageContent/"),((e,t)=>{const{requestId:n}=t.meta;t.meta.rejectedWithValue&&"tryResolveAssortment"===t.payload?e.tryResolveAssortmentPath=!0:(e.loading&&e.currentRequestId===n&&(e.loading=!1,e.error=t.error,e.currentRequestId=null),h.A.error("ERROR",t.payload,t.error))}))}}),A=y.reducer,{errorCleared:b}=y.actions,w=e=>{var t;return null===(t=e.currentPage.content)||void 0===t?void 0:t.existingLanguages},x=(0,i.Mz)(w,(e=>e?(0,p.tO)(e):[]));function C(e){var t,n;return!(null===(t=e.contentType)||void 0===t||!t.includes("AssortmentProductContentPage"))||!(null===(n=e.contentType)||void 0===n||!n.includes("AssortmentPage"))}const S={currentLanguage:(0,i.Mz)(w,(e=>e.siteDefinition.language),((e,t)=>null===e||void 0===e?void 0:e.find((e=>e.name===(null===t||void 0===t?void 0:t.name))))),currentPageAsAssortment:e=>{var t;return null!==e&&void 0!==e&&null!==(t=e.currentPage)&&void 0!==t&&t.content&&C(e.currentPage.content)?e.currentPage.content:null},existingLanguages:w,languageOptions:x};y.actions},91935:(e,t,n)=>{"use strict";n.d(t,{y:()=>d});var r=n(11359),i=n(44805),o=n(77018),a=n(83632),s=n(96011),l=n.n(s),c=n(95806);let u;const d=(0,r.zD)("currentPage/pageContent/updateByContentLink",(async(e,t)=>{let{getState:n,rejectWithValue:r}=t;u&&u.cancel("New content, cancelling");const s=n().currentPage.history,d=(0,c.s)(window.location.pathname,n().siteDefinition.languages),p=n().authorization.authUser,h=p&&!p.expired,f=s.find((t=>{var n;return t.contentLink.id===e&&(null===(n=t.language)||void 0===n?void 0:n.name)===(null===d||void 0===d?void 0:d.name)}));if(f)return f;if(!h&&window.currentPage&&window.currentPage.contentLink.id===e){var m=window.currentPage;return window.currentPage=void 0,delete window.currentPage,a.A.virtualPageView(`${m.url}`,`${m.name}`,`${m.contentType}`),m}try{var g;const t=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.location.search;const t=new URLSearchParams(e),n={};for(let[r,i]of t.entries())n[r]=i;return n}();u=(0,i.ws)();const n=await o.A.getContentByContentLink(e,t,null===d||void 0===d?void 0:d.name,void 0,u.token),{data:r}=n;null!==r&&void 0!==r&&null!==(g=r.contentType)&&void 0!==g&&g.includes("AssortmentProductContentPage")&&(r.name=null);const s=r;return a.A.virtualPageView(`${s.url}`,`${s.name}`,`${s.contentType}`),s}catch(v){return l().isCancel(v)?r(void 0):r({message:v instanceof Error?v.toString():"Unknown error"})}}))},8218:(e,t,n)=>{"use strict";n.d(t,{Nx:()=>l,RS:()=>o,TE:()=>g,Tz:()=>c,Vt:()=>m,We:()=>s,Xv:()=>d,ee:()=>f,gR:()=>h,i7:()=>p,uT:()=>u});var r=n(11359),i=n(83632);const o=(0,r.zD)("gtm/gtmProductDetail",(async(e,t)=>{var n,r;let{getState:o}=t;const s=o();if(null==(null===(n=s.siteDefinition.gtm)||void 0===n?void 0:n.gtmId))return;const l=s.assortment;i.A.productDetail(e,null===(r=l.selectedCategory)||void 0===r?void 0:r.name,a(l.searchParams.assortmentPage.activeFilters))}));function a(e){const t=e.find((e=>"color"===e.type));return t?t.values[0].value:""}const s=(0,r.zD)("gtm/gtmProductClick",(async(e,t)=>{var n,r,o,s;let{getState:l}=t;const c=l();if(null==(null===(n=c.siteDefinition.gtm)||void 0===n?void 0:n.gtmId))return;const u=null===(r=e.category)||void 0===r||null===(o=r.products)||void 0===o?void 0:o.indexOf(e.product.productNumber);i.A.productClick(e.product,a(c.assortment.searchParams.assortmentPage.activeFilters),(null===(s=e.category)||void 0===s?void 0:s.name)||void 0,u)})),l=(0,r.zD)("gtm/gtmSetQuantityInCart",(async(e,t)=>{var n,r;let{getState:o}=t;const a=o();if(null==(null===(n=a.siteDefinition.gtm)||void 0===n?void 0:n.gtmId))return;const{currency:s,...l}=e;let c;for(let i of null===(u=a.cart.cart)||void 0===u?void 0:u.products){var u,d;if(c=null===(d=i.variations)||void 0===d?void 0:d.find((e=>e.variationNumber===l.variant)),c)break}const p=(null===(r=c)||void 0===r?void 0:r.quantity)||0;l.quantity-p>0?i.A.addToCart({...l,quantity:l.quantity-p},s):i.A.removeFromCart({...l,quantity:Math.abs(l.quantity-p)})})),c=(0,r.zD)("gtm/gtmSetCart",(async(e,t)=>{var n,r,o;let{getState:a}=t;null!=(null===(n=a().siteDefinition.gtm)||void 0===n?void 0:n.gtmId)&&i.A.setCart({quantity:e.quantity,currency:null===(r=e.total)||void 0===r?void 0:r.currency,value:null===(o=e.total)||void 0===o?void 0:o.totalCost})})),u=(0,r.zD)("gtm/gtmProductImpressions",(async(e,t)=>{var n;let{getState:r}=t;const o=r();if(null==(null===(n=o.siteDefinition.gtm)||void 0===n?void 0:n.gtmId))return;const s=o.assortment.categories[e.selectedCategory],l=s.name?s.name:"";i.A.productImpressions(e.products,l,a(o.assortment.searchParams.assortmentPage.activeFilters))})),d=(0,r.zD)("gtm/gtmCheckout",(async(e,t)=>{var n;let{getState:r}=t;const o=r();if(null==(null===(n=o.siteDefinition.gtm)||void 0===n?void 0:n.gtmId))return;const a=o.cart.cart,s=[];if(a&&a.products)for(let i of a.products)if(i.variations)for(let e of null===i||void 0===i?void 0:i.variations){var l,c;s.push({name:i.productName,id:i.productNumber,price:null===(l=e.price)||void 0===l||null===(c=l.customer)||void 0===c?void 0:c.num,brand:i.productBrandName,category:o.assortment.productCategoryMap[i.productNumber].url,variant:e.color,quantity:e.quantity})}i.A.checkout(s)})),p=(0,r.zD)("gtm/gtmPurchase",(async(e,t)=>{var n,r,o,a,s,l,c;let{getState:u}=t;const d=u();if(null==(null===(n=d.siteDefinition.gtm)||void 0===n?void 0:n.gtmId))return;const p=null===(r=d.resellers.currentReseller)||void 0===r||null===(o=r.name)||void 0===o?void 0:o.toString(),h=d.cart.cart,f=+(null===(a=d.cart.cart)||void 0===a||null===(s=a.total)||void 0===s?void 0:s.totalCost),m=+(null===(l=d.cart.cart)||void 0===l||null===(c=l.total)||void 0===c?void 0:c.vatCost),g=[];if(h&&h.products)for(let i of h.products)if(i.variations)for(let e of null===i||void 0===i?void 0:i.variations){var v,y;const t=e.skus.length>0?e.skus[0].size:"";g.push({name:i.productName,id:i.productNumber,price:null===(v=e.price)||void 0===v||null===(y=v.customer)||void 0===y?void 0:y.num,brand:i.productBrandName,category:d.assortment.productCategoryMap[i.productNumber].url,variant:e.color,dimension7:t,dimension9:!0,quantity:e.quantity})}i.A.purchase(g,p||"",e,f,m)})),h=(0,r.zD)("gtm/gtmFavourite",(async(e,t)=>{var n;let{getState:r}=t;null!=(null===(n=r().siteDefinition.gtm)||void 0===n?void 0:n.gtmId)&&i.A.favourite(e)})),f=(0,r.zD)("gtm/gtmRetailerPick",(async(e,t)=>{var n,r,o;let{getState:a}=t;const s=a();null==(null===(n=s.resellers.currentReseller)||void 0===n?void 0:n.name)?i.A.retailerPick(""):i.A.retailerPick(null===(r=s.resellers.currentReseller)||void 0===r||null===(o=r.name)||void 0===o?void 0:o.toString())})),m=(0,r.zD)("gtm/gtmFormSubmit",(async(e,t)=>{let{getState:n}=t;return i.A.formSubmit(e)})),g=(0,r.zD)("gtm/gtmDownloadFile",(async(e,t)=>{var n;let{fileName:r,sectionName:o}=e,{getState:a}=t;null!=(null===(n=a().siteDefinition.gtm)||void 0===n?void 0:n.gtmId)&&i.A.downloadFile(r,o)}))},84848:(e,t,n)=>{"use strict";n.d(t,{Ax:()=>ne,Ay:()=>G,C5:()=>re,EG:()=>te,Fu:()=>H,GO:()=>X,HV:()=>W,J7:()=>V,Mz:()=>ie,V4:()=>Z,Wn:()=>P,hY:()=>B,j:()=>q,j8:()=>J,jF:()=>se,je:()=>Y,n6:()=>R,nu:()=>z,o:()=>N,tr:()=>O,vr:()=>K,xF:()=>$,z6:()=>ee});var r,i=n(11359),o=n(85913),a=n(44805),s=n(77018),l=n(18627),c=n(44361),u=n(2090),d=n(43288),p=n(41107),h=n(58847),f=n(27825),m=n(50739),g=n(3781),v=n(74635),y=n(69435),A=n(55951),b=n(35732),w=n(45798),x=n(7827),C=n(91843),S=n(578),k=n(51673),E=n(15693),I=n(95806);const _=()=>window.siteLanguages?Promise.resolve({data:window.siteLanguages,status:200,statusText:"OK",config:{},headers:{},request:{}}):s.A.getSiteDefinition(),P=(0,i.zD)("siteDefinition/startup",(async(e,t)=>{let{getState:n,dispatch:r}=t;const i=await r(T());if(s.A.setAuthToken(void 0),T.fulfilled.match(i)){var o;const e=null===(o=i.payload)||void 0===o?void 0:o.commerceType;e!==y.CommerceType.B2B&&e!==y.CommerceType.B2BResellers||await r((0,c.Ld)())}if(null===n().siteDefinition.siteId)return;const a=n().siteDefinition.baseUrl||"/";s.A.setBaseUrl(a);const l=(await _()).data,u=(0,I.s)(window.location.pathname,l);if(window.location.pathname.includes("authentication")||window.location.pathname.includes("silent_renew.html"))r(D(u));else{const e=n().authorization.firstLogin;var d,p;if(T.fulfilled.match(i))(null===(d=i.payload)||void 0===d?void 0:d.commerceType)!==y.CommerceType.B2B&&(null===(p=i.payload)||void 0===p?void 0:p.commerceType)!==y.CommerceType.B2BResellers||e||await r((0,c.N9)());const t=n().authorization.authUser;r(j({currentLanguage:u,authUser:t}))}return l})),O=(0,i.zD)("siteDefinition/startupPublic",(async(e,t)=>{let{dispatch:n,getState:r}=t;await n(T());if(null===r().siteDefinition.siteId)return;const i=r().siteDefinition.baseUrl||"/";s.A.setBaseUrl(i);const o=(await _()).data,a=(0,I.s)(window.location.pathname,o);a&&(n(M({marketId:r().siteDefinition.marketId,lang:a.name})),n(j({currentLanguage:a,authUser:null}))),await n(N({lang:a,user:null}))})),T=(0,i.zD)("commerce/init",(async(e,t)=>{let n,{getState:r,dispatch:i}=t;n=window.commerceSettings?{data:window.commerceSettings,status:200,statusText:"OK",config:{},headers:{},request:{}}:await new y.AppApi({basePath:r().siteDefinition.commerceApiPath,apiKey:r().siteDefinition.siteId,isJsonMime:()=>!0}).appInit();const o=r().siteDefinition,{currencies:a,commerceType:s}=n.data,l=(0,g.KG)(null!==s&&void 0!==s?s:y.CommerceType.None);return i((0,g.Jf)({priceSetting:l,persistToLocalStorage:!1})),a&&i((0,h.cG)(a)),o.language&&a&&i((0,h.bN)({lang:o.language,currencies:a})),n.data})),D=(0,i.zD)("siteDefinition/init/appIframe",(async(e,t)=>{let{dispatch:n}=t;k.A.log("=== initIFRAME"),await n(N({lang:e,user:null}))})),j=(0,i.zD)("siteDefinition/init/app",(async(e,t)=>{var n;let r,{currentLanguage:i,authUser:o,currency:v}=e,{dispatch:A,getState:b,rejectWithValue:w}=t,x=o&&!o.expired;if(o&&o.expired){const e=await A((0,c.U0)(window.location.href));c.U0.fulfilled.match(e)&&(o=e.payload,x=o&&!o.expired)}await A(N({lang:i,user:x?o:null,currency:v})),window.spaSiteSettings&&!x||window.location.pathname.includes("/authentication/logout")&&window.spaSiteSettings?r={data:window.spaSiteSettings,status:200,statusText:"OK",config:{},headers:{},request:{}}:(window.spaSiteSettings=void 0,delete window.spaSiteSettings,r=await s.A.getSiteSettings(null!==i&&void 0!==i&&i.isMasterLanguage?void 0:i,b().siteDefinition.marketId));const C=null!==(n=r.data.marketPages)&&void 0!==n?n:[];if(C.length>0&&!window.location.pathname.includes("authentication")){const e=b().siteDefinition.languages,t=(0,E.MR)(C);if(t!==r.data.selectedMarketId){const n=(0,I.s)(window.location.pathname,e);r=await s.A.getSiteSettings(n,t)}}const{reseller:S,priceFormat:_,tags:P,products:O,selectedMarketId:T}=r.data;if(!r.data)return w("no site settings data");_&&A((0,h.hH)(_)),P&&A((0,f.yF)(P)),O&&A((0,f.hn)(O));const D=b().siteDefinition.commerceType;a.Ay.setMarket(T),null!==S&&void 0!==S&&S.listPage&&A((0,m.Cm)()),O.hideProductMatrix&&A((0,f.jo)(f.VK.Normal)),D!==y.CommerceType.B2B||O.hideProductMatrix||A((0,f.OL)({commerceType:y.CommerceType.B2B})),A(U(r.data));const j=x?await A((0,g.ug)(o)):void 0;let B;var M;j&&g.ug.fulfilled.match(j)&&(B=null===(M=j.payload)||void 0===M?void 0:M.identity);if(r.data.productListPages){var R;const e=null===(R=r.data.productListPages)||void 0===R?void 0:R.map((e=>e.assortmentEntryPoint)).filter((e=>e));a.Ay.setAssortmentEntryPoints(e);const t=r.data.productListPages?r.data.productListPages.filter((e=>e.displayInNavigation&&e.assortmentEntryPoint)).map((e=>e.assortmentEntryPoint)):[];A((0,l.Ix)(t)),A((0,l.S1)(r.data.productListPages)),A((0,l.u2)(r.data.products.settings)),null!==e&&void 0!==e&&e.length&&A((0,l.QU)()).then((async()=>{A(d.w9.load()),A((0,u.hb)()),D!==y.CommerceType.B2BResellers&&D!==y.CommerceType.B2C||A((0,p.Pr)("shoppingCart")({identity:B}))}))}const L=r.data.javaScript;var F,z;L&&i&&(F=L,z=i.name,null===F||void 0===F||F.map((e=>{if(!e.active)return null;if(e.body){e.body.toLowerCase().indexOf("<script>")>=0&&k.A.warn("WARNING! Invalid runtime script tag, the script should not contain <script><\/script> tags.");const t=document.createElement("script");return t.type="text/javascript",t.async=!0,t.textContent=e.body.replaceAll("<script>","").replaceAll("<\/script>",""),"head"===e.location?document.getElementsByTagName("head")[0].appendChild(t):"bodystart"===e.location?document.body.prepend(t):document.body.appendChild(t),null}if(e.url){const t=document.createElement("script");t.src=e.url.replace("{ticks}",(new Date).getTime().toString()),t.async=!0,e.attributes&&e.attributes.map((e=>{const n=document.createAttribute(e.name);return"{language}"===e.value?n.value=z:n.value=e.value,t.setAttributeNode(n),null})),"head"===e.location?document.getElementsByTagName("head")[0].appendChild(t):"bodystart"===e.location?document.body.prepend(t):document.body.appendChild(t)}return null})))})),B=(0,i.zD)("siteDefinition/reinit",(async(e,t)=>{let{authUser:n,currency:r,returnUrl:i}=e,{dispatch:o,getState:a}=t;k.A.log("Reinit app");const s=a().siteDefinition.languages;if(!s.length)throw new Error("Reinit - No languages, should not happen.");const l=(0,I.s)(null!==i&&void 0!==i?i:window.location.pathname,s);void 0===n&&(n=a().authorization.authUser),void 0===r&&(r=a().price.currency),o(j({currentLanguage:l,authUser:n,currency:r}))})),N=(0,i.zD)("siteDefinition/setContext",(async(e,t)=>{var n,r,i;let{getState:o,dispatch:l}=t;const u=o().siteDefinition,d=null!==(n=e.user)&&void 0!==n&&n.access_token?e.user.access_token:void 0;a.Ay.setContext(u.siteId,(null===(r=e.lang)||void 0===r?void 0:r.name)||"en",u.commerceApiPath,u.commerceType===y.CommerceType.B2B?d:null,(()=>l((0,c.tw)()))),a.Ay.setCurrency(e.currency);const p=o().price;return p.currencies&&null!=e.currency?l((0,h.Fv)(e.currency)):p.currencies&&e.lang&&l((0,h.bN)({lang:e.lang,currencies:p.currencies})),s.A.setAuthToken(d),v.Ay.changeLanguage((null===(i=e.lang)||void 0===i?void 0:i.name)||"en"),e.lang})),M=(0,i.zD)("siteDefinition/getEpiSiteLogo",(async e=>(await s.A.getSiteLogo(e.marketId,e.lang)).data));let R=function(e){return e[e.ShowCustomerPriceAsDiscountedPrice=0]="ShowCustomerPriceAsDiscountedPrice",e[e.ShowRegularPriceAsAdditionalPrice=1]="ShowRegularPriceAsAdditionalPrice",e}({});const L={languages:[],siteId:(()=>{const e=(0,S.q)()&&"true"!=={NODE_ENV:"production",PUBLIC_URL:"/clientapp/build",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_API:"https://b2bcommerceapi.nwg.wan",REACT_APP_APPCONTEXTID:"fa2225e0-7c06-47f3-9117-1dfb77535f27",REACT_APP_CMS:"https://newwave-se.dev.nwg.wan",REACT_APP_IDENTITY:"https://b2bidentity.nwg.wan",REACT_APP_MEDIASERVICEURL:"https://images.nwgmedia.com"}.REACT_APP_CMSLOCAL&&localStorage.getItem("spadev_selected_id")||document.getElementsByTagName("BODY")[0].getAttribute("data-context")||"fa2225e0-7c06-47f3-9117-1dfb77535f27";return e&&e.length>0?e:"unknown"})(),siteName:void 0,commerceApiPath:null!==(r=(()=>{const e=document.getElementsByTagName("BODY")[0].getAttribute("data-api");return e&&e.length>0?e:"https://b2bcommerceapi.nwg.wan"})())&&void 0!==r?r:void 0,identityAuthority:(()=>{var e;const t=document.getElementsByTagName("BODY")[0].getAttribute("data-identity");return t&&t.length>0?t:null!==(e="https://b2bidentity.nwg.wan")?e:""})(),commerceType:y.CommerceType.None,loading:!0,error:null,loadingSettings:!0,footer:null,header:null,siteTheme:w.A,reseller:null,cartPage:null,searchPage:null,notFoundPage:null,unAuthorizedPage:null,termsPage:null,assortmentPages:[],marketPages:[],marketId:void 0,javaScript:null,gtm:null,baseUrl:(0,C.$)(),paymentEnabled:!1,defaultCustomerService:null,commmerceMarkets:[],priceFormat:{pricingViewMode:R.ShowCustomerPriceAsDiscountedPrice},useCampaigns:!1},F=(0,i.Z0)({name:"siteDefinition",initialState:L,reducers:{siteSelected(e,t){e.siteId=t.payload.id,e.baseUrl=t.payload.baseUrl},authAppInitiated(e){e.loading=!1,e.loadingSettings=!1},setMarket(e,t){e.marketId=t.payload},siteSettingsSet(e,t){var n;const r=t.payload;e.error=null;const i=ae(r.productListPages);e.assortmentPages=i,e.marketPages=null!==(n=r.marketPages)&&void 0!==n?n:[],e.marketId=r.selectedMarketId,e.cartPage=r.cartPage,e.searchPage=r.searchPage,e.reseller=r.reseller,e.notFoundPage=r.notFoundPage,e.unAuthorizedPage=r.unAuthorizedPage,e.footer=r.footer,e.header=r.header,e.notification=r.notification,e.termsPage=r.termsPage,e.javaScript=r.javaScript,e.gtm=r.gtm,e.siteLogo=r.logo,e.priceFormat=r.priceFormat,e.siteTitle=r.siteTitle,e.customerServiceText=r.customerServiceText;const o=(0,x.af)(r.theme.typography.fontBody.value),a=(0,x.af)(r.theme.typography.fontHeading.value),s={f1400family:o[400],f1500family:o[500],f1700family:o[700],f2400family:a[400],f2700family:a[700]},l=oe(r.theme.colors,"colors"),c=function(e){const t={...e};for(const r in t)if(Object.prototype.hasOwnProperty.call(t,r)){const e=t[r].trim();try{"string"===typeof(0,A.a)(.2,e)&&(t[r]=e)}catch(n){delete t[r]}}return t}(l);if(c.fillMedium=(0,A.e$)(.04,c.fill||w.A.colors.fill),c.fillSecondary=c.fillSecondary||(c.fill?(0,A.e$)(.8,c.fill):w.A.colors.fillSecondary),c.fillSecondaryText=c.fillSecondaryText||w.A.colors.fillSecondaryText,l.fill){let e=.1,t=(0,A.bJ)(c.fillMedium,w.A.colors.textDisabled);for(;t<2&&e<1;)c.textDisabled=(0,A.e$)(e,w.A.colors.textDisabled),e+=.1,t=(0,A.bJ)(c.fillMedium,c.textDisabled)}e.siteTheme={...w.A,colors:{...w.A.colors,...c},typography:{...w.A.typography,...oe(r.theme.typography,"typography"),...s}},e.loadingSettings=!1}},extraReducers:e=>{e.addCase(N.fulfilled,((e,t)=>{e.language=t.payload})),e.addCase(P.pending,(e=>{e.loading=!0})),e.addCase(P.fulfilled,((e,t)=>{void 0!==t.payload&&(e.languages=t.payload,e.loading=!1)})),e.addCase(P.rejected,((e,t)=>{e.error=t.error,e.loading=!1})),e.addCase(O.pending,(e=>{e.loading=!0})),e.addCase(O.fulfilled,(e=>{e.loading=!1,e.loadingSettings=!1})),e.addCase(T.fulfilled,((e,t)=>{var n,r,i,o,a;if(void 0===t.payload)return;const s=t.payload,{customerServiceEmail:l,customerServicePhone:c,customerServiceTitle:u}=s;[l,c,u].some((e=>null!=e))&&(e.defaultCustomerService={email:l,phone:c,title:u}),e.commmerceMarkets=null!==(n=s.markets)&&void 0!==n?n:[],e.commerceType=null!==(r=s.commerceType)&&void 0!==r?r:y.CommerceType.None,e.paymentEnabled=null!==(i=s.paymentEnabled)&&void 0!==i&&i,e.siteName=null!==(o=s.name)&&void 0!==o?o:void 0,e.useCampaigns=null!==(a=s.useCampaigns)&&void 0!==a&&a,e.loading=!1})),e.addCase(D.fulfilled,(e=>{e.error=null,e.loading=!1,e.loadingSettings=!1})),e.addCase(M.fulfilled,((e,t)=>{e.siteLogo=t.payload,e.siteLogoPending=!1})),e.addCase(M.pending,(e=>{e.siteLogoPending=!0})),e.addCase(M.rejected,(e=>{e.siteLogoPending=!1})),e.addMatcher((0,b._H)("siteDefinition/init"),(e=>{e.loadingSettings=!0})),e.addMatcher((0,b.b5)("siteDefinition/init"),((e,t)=>{e.error=t.error,e.loadingSettings=!1})),e.addMatcher((0,b.b5)("siteDefinition/"),((e,t)=>{k.A.error("ERROR",t.payload,t)}))}}),{siteSelected:z,authAppInitiated:Q,siteSettingsSet:U,setMarket:V}=F.actions,G=F.reducer,q=e=>e.siteDefinition.commmerceMarkets,H=e=>e.siteDefinition.language,W=e=>e.siteDefinition.marketId,Y=e=>e.siteDefinition.marketPages,K=e=>e.siteDefinition.siteLogo,J=e=>e.siteDefinition.priceFormat.pricingViewMode,X=e=>e.siteDefinition.priceFormat,Z=e=>{var t;return null===(t=e.siteDefinition.cartPage)||void 0===t?void 0:t.url},$=e=>{var t;return null===(t=e.siteDefinition.searchPage)||void 0===t?void 0:t.url},ee=e=>e.siteDefinition.customerServiceText,te=e=>e.siteDefinition.siteName,ne=(0,o.Mz)((e=>e.siteDefinition.defaultCustomerService),W,q,((e,t,n)=>{if(t){const a=n.find((e=>e.id===t));var r,i,o;if(a)return{email:null!==(r=a.customerServiceEmail)&&void 0!==r?r:null===e||void 0===e?void 0:e.email,phone:null!==(i=a.customerServicePhone)&&void 0!==i?i:null===e||void 0===e?void 0:e.phone,title:null!==(o=a.customerServiceTitle)&&void 0!==o?o:null===e||void 0===e?void 0:e.title,company:a.name}}return e})),re=(0,o.Mz)(H,W,Y,((e,t,n)=>{if(t&&n.length>0&&e){const r=n.find((e=>e.marketId===t));if(r)return(0,E.U8)(r,e)}return"/"+(e&&!e.isMasterLanguage?e.urlSegment+"/":"")})),ie=(0,o.Mz)(H,(e=>new Intl.NumberFormat((null===e||void 0===e?void 0:e.name)||"en")));function oe(e,t){return Object.keys(w.A[t]).reduce(((t,n)=>{const r=e["priceText"===n?"price":n];return null!==r&&void 0!==r&&r.value?{...t,[n]:r.value}:t}),{})}function ae(e,t){return null!==e&&void 0!==e&&e.length?e.reduce(((e,n)=>{var r;const i={...n,url:n.url.endsWith("/")?n.url:`${n.url}/`,parent:t};return null!==(r=n.children)&&void 0!==r&&r.length?[...e,...ae(n.children,i),i]:[...e,i]}),new Array):[]}function se(e,t){localStorage.setItem("spadev_selected_id",e),localStorage.setItem("spadev_selected_cms",t)}},94612:(e,t,n)=>{"use strict";n.d(t,{A:()=>g});var r=n(22360),i=n(18627),o=n(16856),a=n(955),s=n(26681),l=n(33453),c=n(23017),u=n(9950),d=n(70030),p=n(34911),h=n(24937),f=n(27825),m=n(44414);const g=e=>{let{products:t,pending:n,morePending:h,assortmentPageInfo:g,category:A,categoryPath:b,gtm:w,context:x}=e;const{t:C}=(0,d.B)(),S=(0,c.jL)(),{quickViewProduct:k,quickView:E,quickViewVariation:I,quickViewPending:_}=(0,c.GV)((e=>{let{product:t}=e;return t})),{selectedCategoryPath:P}=(0,c.GV)((e=>{let{assortment:t}=e;return t})),[O,T]=(0,u.useState)(0),D=!(!E||!_&&!k),j=(0,c.Wr)((()=>S((0,f.hB)(!1))),D);if(n)return(0,m.jsx)(y,{children:(0,m.jsx)(p.A,{count:6,height:420})});const B=e=>{var t;const n=null===(t=e.current)||void 0===t?void 0:t.closest("[data-col]");if(!(n instanceof HTMLElement))return;const r=(null===n||void 0===n?void 0:n.clientHeight)||0,i=(null===n||void 0===n?void 0:n.offsetTop)||0;T(i+r-55)};return null!==t&&void 0!==t&&t.length?(0,m.jsxs)(m.Fragment,{children:[(0,m.jsxs)(y,{className:"position-relative",itemScope:!0,itemType:"https://schema.org/ItemList",itemProp:"itemListElement",children:[(0,m.jsx)(l.mc,{gap:"8px",children:null===t||void 0===t?void 0:t.map(((e,t)=>(0,m.jsxs)(l.fv,{xs:"6",sm:"4",lg:"3","data-col":!0,children:[(0,m.jsx)(a.A,{product:e,onBuy:B,category:A,gtm:w,categoryPath:b}),(0,m.jsx)("meta",{itemProp:"position",content:`${t}`})]},`${e.productNumber}-${t}`)))}),D&&(0,m.jsxs)(v,{ref:j,column:!0,className:"p-4 my-1 position-absolute",style:{top:O},children:[(0,m.jsxs)(l.so,{className:"ml-3 px-2 pt-2",align:"end",justify:"between",children:[k&&(0,m.jsx)(s.A,{routed:P,product:k,featuredColor:(null===I||void 0===I?void 0:I.colorCode)||void 0,onClick:()=>S((0,f.hB)(!1)),children:(0,m.jsx)(l.EY,{fontSize:18,children:null===k||void 0===k?void 0:k.productName})})||_&&(0,m.jsx)("div",{className:"mr-4 flex-grow-1",children:(0,m.jsx)(p.A,{height:34,width:"100%"})}),(0,m.jsx)(l.K0,{className:"align-self-end ml-3",icon:r.GRI,bgColor:"fillWhite",onClick:()=>S((0,f.hB)(!1))})]}),(0,m.jsx)(o.A,{product:k,variation:I,pending:_,onVariationSelected:e=>S((0,f.UV)(e)),categoryName:(null===A||void 0===A?void 0:A.name)||void 0})]})]}),h&&(0,m.jsx)(y,{children:(0,m.jsx)(p.A,{count:1,height:420})}),g&&(0,m.jsxs)("div",{children:[g.totalPages&&g.totalPages>1?(0,m.jsxs)(l.EY,{center:!0,light:!0,className:"mt-4 mb-2",children:[t.length," / ",g.totalItems," ",C("product.product",{context:1===t.length?"one":"other"})]}):null,g.hasNextPage&&(0,m.jsx)(l.so,{justify:"center",className:"w-100",children:(0,m.jsx)(l.K0,{icon:r.QLR,square:!0,large:!0,bgColor:"fillWhite",disabled:n,onClick:()=>{S((0,i.zh)({searchParams:{page:(g.currentPage||1)+1},context:x}))},children:C("general.show_more","Show more")})})]})]}):(0,m.jsx)(l.so,{justify:"center",children:(0,m.jsx)(l.EY,{className:"my-4",large:!0,color:"textFaded",children:C("search.empty","No hits")})})},v=(0,h.Ay)(l.so).withConfig({componentId:"sc-9bm1hu-0"})(["background:",";z-index:4;left:-0.8rem;right:-0.8rem;",";"],(e=>{let{theme:t}=e;return t.colors.fill}),(e=>{let{theme:t}=e;return t.shadows.high})),y=h.Ay.div.withConfig({componentId:"sc-9bm1hu-1"})(["flex-grow:1;"])},54459:(e,t,n)=>{"use strict";n.d(t,{A:()=>g});var r=n(22360),i=n(18627),o=n(16856),a=n(955),s=n(26681),l=n(33453),c=n(23017),u=n(9950),d=n(70030),p=n(34911),h=n(24937),f=n(27825),m=n(44414);const g=e=>{let{products:t,pending:n,morePending:h,assortmentPageInfo:g,category:A,gtm:b}=e;const{t:w}=(0,d.B)(),x=(0,c.jL)(),{quickViewProduct:C,quickView:S,quickViewVariation:k,quickViewPending:E}=(0,c.GV)((e=>{let{product:t}=e;return t})),[I,_]=(0,u.useState)(0),P=!(!S||!E&&!C),O=(0,c.Wr)((()=>x((0,f.hB)(!1))),P,"list-buy-ref");if(n)return(0,m.jsx)(v,{children:(0,m.jsx)(p.A,{height:420})});const T=e=>{var t;const n=null===(t=e.current)||void 0===t?void 0:t.parentElement,r=(null===n||void 0===n?void 0:n.clientHeight)||0,i=(null===n||void 0===n?void 0:n.offsetTop)||0;_(i+r-55)},D={speed:500,arrows:t.length>6,dots:t.length>6,infinite:t.length>6,slidesToShow:6,slidesToScroll:1,nextArrow:(0,m.jsx)(l.so,{align:"center",justify:"center",children:(0,m.jsx)(l.K0,{icon:r.vmR,bgColor:"fillMedium",large:!0})}),prevArrow:(0,m.jsx)(l.so,{align:"center",justify:"center",children:(0,m.jsx)(l.K0,{icon:r.Uec,bgColor:"fillMedium",large:!0})}),responsive:[{breakpoint:1200,settings:{slidesToShow:4,slidesToScroll:1,infinite:t.length>4,dots:t.length>4,arrows:t.length>4}},{breakpoint:800,settings:{slidesToShow:3,slidesToScroll:1,infinite:t.length>3,dots:t.length>3,arrows:t.length>3}},{breakpoint:600,settings:{slidesToShow:2,slidesToScroll:1,infinite:t.length>2,dots:t.length>2,arrows:t.length>2}}]};return null!==t&&void 0!==t&&t.length?(0,m.jsxs)(m.Fragment,{children:[(0,m.jsxs)(v,{className:"position-relative mx-3 mx-sm-0",children:[(0,m.jsx)(l.FN,{...D,className:"",children:null===t||void 0===t?void 0:t.map(((e,t)=>(0,m.jsxs)("div",{className:"h-100",itemScope:!0,itemType:"https://schema.org/ItemList",itemProp:"itemListElement",children:[(0,m.jsx)(a.A,{product:e,onBuy:T,category:A,gtm:b}),(0,m.jsx)("meta",{itemProp:"position",content:`${t}`})]},e.productNumber)))}),P&&(0,m.jsxs)(y,{ref:O,column:!0,className:"p-2 my-1 position-absolute list-buy-ref",style:{top:I},children:[(0,m.jsxs)(l.so,{className:"ml-3",align:"end",justify:"between",children:[C&&(0,m.jsx)(s.A,{product:C,featuredColor:(null===k||void 0===k?void 0:k.colorCode)||void 0,children:(0,m.jsx)(l.EY,{fontSize:18,children:null===C||void 0===C?void 0:C.productName})})||E&&(0,m.jsx)("div",{className:"mr-4 flex-grow-1",children:(0,m.jsx)(p.A,{height:34,width:"100%"})}),(0,m.jsx)(l.K0,{className:"align-self-end",icon:r.GRI,bgColor:"fillWhite",onClick:()=>x((0,f.hB)(!1))})]}),(0,m.jsx)(o.A,{product:C,variation:k,pending:E,onVariationSelected:e=>x((0,f.UV)(e)),categoryName:(null===A||void 0===A?void 0:A.name)||void 0})]})]}),h&&(0,m.jsx)(v,{children:(0,m.jsx)(p.A,{count:1,height:420})}),g&&(0,m.jsxs)("div",{children:[g.totalPages&&g.totalPages>1?(0,m.jsxs)(l.EY,{center:!0,light:!0,className:"mt-4 mb-2",children:[t.length," / ",g.totalItems," ",w("product.product",{context:1===t.length?"one":"other"})]}):null,g.hasNextPage&&(0,m.jsx)(l.so,{justify:"center",className:"w-100",children:(0,m.jsx)(l.K0,{icon:r.QLR,square:!0,large:!0,bgColor:"fillWhite",disabled:n,onClick:()=>{x((0,i.zh)({searchParams:{page:(g.currentPage||1)+1},context:"assortmentPage"}))},children:w("general.show_more","Show more")})})]})]}):(0,m.jsx)(l.so,{justify:"center",children:(0,m.jsx)(l.EY,{className:"my-4",large:!0,color:"textFaded",children:w("search.empty","No hits")})})},v=h.Ay.div.withConfig({componentId:"sc-9vwtw7-0"})(["flex-grow:1;"]),y=(0,h.Ay)(l.so).withConfig({componentId:"sc-9vwtw7-1"})(["background:",";z-index:4;left:1rem;right:1rem;",";"],(e=>{let{theme:t}=e;return t.colors.fill}),(e=>{let{theme:t}=e;return t.shadows.high}))},18627:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>ee,G9:()=>j,Ig:()=>re,Ix:()=>Y,Jk:()=>me,KV:()=>Z,Kd:()=>S,L7:()=>X,Lc:()=>se,Li:()=>Ce,Oj:()=>ye,Po:()=>q,Q7:()=>T,QU:()=>k,S1:()=>G,SH:()=>z,SU:()=>oe,Si:()=>ne,Sl:()=>J,Ss:()=>E,TY:()=>F,V2:()=>Q,VH:()=>Se,ZD:()=>ce,Zn:()=>I,_4:()=>he,bo:()=>B,cD:()=>D,e$:()=>_,gI:()=>K,hn:()=>$,hy:()=>be,n9:()=>H,np:()=>xe,q_:()=>ue,u:()=>ge,u1:()=>ae,u2:()=>W,v9:()=>le,vp:()=>Ae,yM:()=>we,yr:()=>ve,zQ:()=>ie,zh:()=>O});var r=n(11359),i=n(85913),o=n(44805),a=n(83632),s=n(96011),l=n.n(s),c=n(95806),u=n(91935),d=n(8218),p=n(49303),h=n(27825),f=n(34869),m=n(84238),g=n(69435),v=n(35732),y=n(96298),A=n(51673),b=n(1820);let w;const x=["categories","color","brand","gender","certification","designer","theme","season","sleeve","material","feature","activity","range","category","care","neckline","fit","outlet"],C=(0,r.zD)("assortment/getFilters",(async(e,t)=>{let{getState:n,dispatch:r}=t;const i=n(),a=i.assortment.options.filters,s=i.assortment.options.fixedFilters,l=a?a.filter((e=>e.visible)).map((e=>({filterName:e.filter,customLabel:e.customLabel,excludedValues:e.excludedValues}))):[],c=s?s.filter((e=>e.active)).map((e=>({filter:e.filter,values:e.values,active:e.active}))):[],u=await o.Ay.getFilters({assortmentIds:[e],filters:l,fixedFilters:c});return i.assortment.searchParams.assortmentPage.activeFilters.forEach((e=>{const t=(0,y.ii)(u,e);null!==t&&void 0!==t&&t.filter?e.values.forEach((n=>{var i;null!==t&&void 0!==t&&null!==(i=t.filter)&&void 0!==i&&i.some((e=>e.key===n.key))||r(X({type:e.type,value:n}))})):e.values.forEach((t=>{r(X({type:e.type,value:t}))}))})),u.data})),S=(0,r.zD)("assortment/getFiltersForSearchPage",(async(e,t)=>{let{getState:n,dispatch:r}=t;const i=n(),a=ve(i),s=function(e,t){return[...new Map(e.map((e=>[t(e),e]))).values()]}(a?Object.values(a).flatMap((e=>null!==e&&void 0!==e?e:[])):[],(e=>e.filter)),l=s?s.filter((e=>e.visible)).map((e=>({filterName:e.filter,customLabel:e.customLabel,excludedValues:e.excludedValues}))):[],c=await o.Ay.getFilters({filters:l}),u=(0,y.ns)(c.data,s);return r(M.actions.filtersSet({filters:u,activeFilters:i.assortment.searchParams.searchResultPage.activeFilters})),c.data})),k=(0,r.zD)("assortment/getAllCategories",(async(e,t)=>{let{getState:n,dispatch:r}=t;const i=await o.Ay.getCategories(),a=n().siteDefinition.assortmentPages,s=a.filter((e=>(0,c.g)(e))),l=de(i.data,s),u=function(e,t){function n(e){var r;const i=t.find((t=>t.code===e)),o=null===i||void 0===i||null===(r=i.childrenIds)||void 0===r?void 0:r.reduce(((e,t)=>[...e,...n(t)]),new Array);return[...(null===i||void 0===i?void 0:i.products)||[],...o||[]]}const r=e.reduce(((e,t)=>{var r;if(null!==(r=t.productContent)&&void 0!==r&&r.length){return{...t.productContent.reduce(((e,r)=>{var i;if(null!==(i=r.productNumbers)&&void 0!==i&&i.length){var o;null===(o=r.productNumbers)||void 0===o||o.forEach((t=>e[t]={contentId:r.contentLinkId}))}else{n(t.assortmentEntryPoint).forEach((t=>e[t]={contentId:r.contentLinkId,brand:r.productBrand}))}return e}),{}),...e}}return e}),{});return r}(s,l);return r(U(u)),r((0,f.pL)(l)),{categories:l,pages:a}})),E=(0,r.zD)("assortment/setFilterToQuery",(async(e,t)=>{let{dispatch:n,getState:r}=t;const i=r().assortment.searchParams.assortmentPage.activeFilters;if(i.length>0){e(i.reduce(((e,t)=>(t.values.length>0&&e.push(`${t.type}=${t.values.map((e=>e.key))}`),e)),[]).join("&"))}})),I=(0,r.zD)("assortment/setFilterFromQuery",(async(e,t)=>{let{dispatch:n,getState:r}=t;const i=r(),o=Array.from(e.entries(),(e=>{let[t,n]=e;return{type:t,values:n.split(",").reduce(((e,t)=>(e.push({key:t,value:t}),e)),[])}}));if(Array.from(e).length>0||i.assortment.searchParams.assortmentPage.activeFilters.length>0){const e=o.filter((e=>x.includes(e.type)));n(M.actions.activeFiltersSet({filters:e,context:"assortmentPage"})),n(O({searchParams:{},context:"assortmentPage"}))}})),_=((0,r.zD)("assortment/clearFilters",(async(e,t)=>{let{dispatch:n}=t})),(0,r.zD)("assortment/changeOrderBy",(async(e,t)=>{let{orderBy:n,context:r}=e,{dispatch:i}=t;i(M.actions.selectedOrderByChanged({orderBy:n,context:r})),i(O({searchParams:{},context:r}))}))),P={searchPhrase:"",pageSize:40,page:1,orderBy:"relevance"},O=(0,r.zD)("assortment/search_products",(async(e,t)=>{let{getState:n,dispatch:r,rejectWithValue:i}=t;const{searchParams:a,context:s}=e;w&&w.cancel("New search, cancelling"),a.page&&r(L(a.page));const c=n(),u=c.assortment.options.fixedFilters,p=u?u.filter((e=>e.active)).map((e=>({filter:e.filter,values:e.values,active:e.active}))):[],h="assortmentPage"===s?c.assortment.searchParams.assortmentPage.activeFilters:c.assortment.searchParams.searchResultPage.activeFilters,f="assortmentPage"===s?c.assortment.searchParams.assortmentPage.searchString:c.assortment.searchParams.searchResultPage.searchString,m="assortmentPage"===s?c.assortment.searchParams.assortmentPage.activeCategoryFilters:c.assortment.searchParams.searchResultPage.activeCategoryFilters,g=(0,b.UI)(h,p),v=ce(c)[s];const y={...P,searchPhrase:f,filters:g,categories:function(){var e;switch(s){case"assortmentPage":return null!==(e=c.assortment.selectedCategory)&&void 0!==e&&e.code?[c.assortment.selectedCategory.code]:null;case"searchResultPage":return m.length?m:null}}(),orderBy:v,...a};try{w=(0,o.ws)();const e=await o.Ay.searchProductsFull(y,w.token);return r((0,d.uT)({products:null===e||void 0===e?void 0:e.data.items,selectedCategory:y.categories?y.categories[0]:""})),e.data}catch(A){return l().isCancel(A)?i(void 0):i({message:A instanceof Error?A.toString():"Unknown error"})}})),T=(0,r.zD)("assortment/getListBlockProducts",(async e=>{var t;let n=[];if(e.assortmentId){const t=[e.assortmentId],r={...P,categories:t};n=(await o.Ay.searchProductsFull(r)).data.items||[]}if(null!==e&&void 0!==e&&null!==(t=e.products)&&void 0!==t&&t.length){n=[...(await o.Ay.getProducts(e.products)).data,...n]}return{contentId:e.contentId,products:n}}),{condition:(e,t)=>{let{getState:n}=t;return!n().assortment.productListBlockProductLists[e.contentId]}}),D=(0,r.zD)("assortment/getListBlockAssortment",(async(e,t)=>{let{getState:n}=t;const{categories:r}=n().assortment,i=[];if(e.assortmentId){const t=r[e.assortmentId];var o;if(t)null===t||void 0===t||null===(o=t.childrenIds)||void 0===o||o.forEach((e=>{i.push(r[e])}));else A.A.warn(`Assortment list block, invalid assortment entry point ${e.assortmentId}`)}else e.assortmentIds&&e.assortmentIds.forEach((e=>{r[e]?i.push(r[e]):A.A.warn(`Assortment list block, invalid assortment id ${e}`)}));return{contentId:e.contentId,assortment:i}}),{condition:(e,t)=>{let{getState:n}=t;return!n().assortment.assortmentListBlockAssortmentLists[e.contentId]}}),j=(0,r.zD)("assortment/resolveProduct",(async(e,t)=>{var n;let{getState:r,dispatch:i}=t;const{productSlug:o,productNumber:a}=e,s=r(),l=s.product.product,c=s.siteDefinition.language.name;(null===(n=s.currentPage.content)||void 0===n?void 0:n.contentLink.id)!==e.contentLinkId&&i((0,u.y)(e.contentLinkId)),l&&a===l.productNumber&&c===l.lang||i((0,h.oo)({pnrOrSlug:o,featuredColor:e.featuredColor}))})),B=(0,r.zD)("assortment/resolveCategory",(async(e,t)=>{var n,r,i;let{getState:o,dispatch:s}=t;const l=o(),c=null===(n=l.currentPage.content)||void 0===n||null===(r=n.contentLink)||void 0===r?void 0:r.id,d=l.assortment,p=function(e,t){var n;const r=e[t],i={...r,children:null===(n=r.childrenIds)||void 0===n?void 0:n.reduce(((t,n)=>{const r=e[n];return r?[...t,r]:t}),new Array)};return i}(o().assortment.categories,e.categoryKey),h=p.categoryPaths.get(e.pageRootUrl);if(!h)throw new Error("Route path error");var f;(a.A.virtualPageView(e.url,`${null===h||void 0===h||null===(i=h.parent)||void 0===i?void 0:i.name} ${null===h||void 0===h?void 0:h.name}`,""),null!==h&&void 0!==h&&h.url&&h.url!==e.url)&&s(Q({url:h.url,category:null!==(f=p.code)&&void 0!==f?f:void 0}));const m=d.selectedCategoryPath;return p.code&&(null===h||void 0===h?void 0:h.url)!==(null===m||void 0===m?void 0:m.url)&&(s(O({searchParams:{categories:[p.code],searchPhrase:""},context:"assortmentPage"})),s(C(p.code))),c!==e.contentLinkId&&s((0,u.y)(e.contentLinkId)),[p,h]})),N={assortmentEntryPoint:"",assortmentEntryPoints:[],categories:{},categoriesPending:!0,productCategoryMap:{},productContentMap:{},error:null,filters:[],fixedFilters:[],activeQueryFilters:null,filtersPending:!1,outlet:!1,products:[],productsPending:!1,listBlockProductsLoading:!0,productListBlockProductLists:{},assortmentListBlockAssortmentLists:{},showFilters:window.innerWidth>1024,assortmentPageInfo:{currentPage:1},options:{mapped:!1},pageRootUrl:"",showBrand:!0,searchParams:{assortmentPage:{activeFilters:[],activeCategoryFilters:[],searchString:""},searchResultPage:{activeFilters:[],activeCategoryFilters:[],searchString:""}},selectedOrderBy:{assortmentPage:void 0,searchResultPage:"relevance"},assortmentPageStatus:"pending"},M=(0,r.Z0)({name:"assortment",initialState:N,reducers:{defaultProductSettingsSet(e,t){e.defaultProductSettings=t.payload},productContentMapped(e,t){e.productContentMap=t.payload},assortmentIdUpdated(e,t){e.assortmentEntryPoint=t.payload},currentPageChanged(e,t){e.assortmentPageInfo.currentPage=t.payload},filtersCleared(e,t){e.searchParams[t.payload].searchString="",e.searchParams[t.payload].activeFilters=[],e.searchParams[t.payload].activeCategoryFilters=[]},activeFiltersSet(e,t){e.searchParams[t.payload.context].activeFilters=t.payload.filters},filtersSet(e,t){e.filters=t.payload.filters},filterToggled(e,t){const{type:n,value:r}=t.payload,i=e.searchParams.assortmentPage.activeFilters,o=(0,y.zd)(i,n);e.searchParams.assortmentPage.activeFilters=(0,y.vm)(o,{type:n,value:r},i)},searchStringUpdated(e,t){e.searchParams.searchResultPage.searchString=t.payload},redirect(e,t){e.redirectData=t.payload},showFilterToggled(e,t){e.showFilters=void 0!==t.payload?t.payload:!e.showFilters},selectedOrderByChanged(e,t){const{orderBy:n,context:r}=t.payload;e.selectedOrderBy[r]=n},categoryChanged(e,t){var n;t.payload&&(t.payload.code!==(null===(n=e.selectedCategory)||void 0===n?void 0:n.code)&&(e.selectedCategory=t.payload))},pageRootUrlSet(e,t){e.pageRootUrl=t.payload},assortmentOptionsMapped(e,t){const n=function(e){const t={},n={},r={},i={};function o(e,a,s){var l;const u=e.settings||a,d=e.filters||s||pe(),p=e.fixedFilters,h=e.sorting;t[e.contentLinkId]=u,n[e.contentLinkId]=d,r[e.contentLinkId]=p,i[e.contentLinkId]=h,null===(l=e.children)||void 0===l||l.forEach((e=>(0,c.g)(e)&&o(e,u,d)))}return null===e||void 0===e||e.forEach((e=>{o(e)})),[t,n,r,i]}(t.payload);e.settingsMap=n[0],e.filtersMap=n[1],e.fixedFiltersMap=n[2],e.orderByMap=n[3],e.options.mapped=!0;Object.keys(n[1]).find((e=>{var t;return null===(t=n[1][+e])||void 0===t?void 0:t.some((e=>"brand"===e.filter))}))||(e.showBrand=!1)},assortmentOptionsSet(e,t){var n;"number"===typeof t.payload?(e.options.settings=null!==(n=e.settingsMap&&e.settingsMap[t.payload])&&void 0!==n?n:e.defaultProductSettings,e.options.filters=e.filtersMap&&e.filtersMap[t.payload],e.options.fixedFilters=e.fixedFiltersMap&&e.fixedFiltersMap[t.payload],e.options.orderBy=e.orderByMap&&e.orderByMap[t.payload]):(e.options.settings=e.defaultProductSettings,e.options.filters=void 0,e.options.fixedFilters=void 0,e.options.orderBy=void 0)},assortmentEntryPointsSet(e,t){e.assortmentEntryPoints=t.payload},activeCategoryFiltersSet:(e,t)=>{e.searchParams.searchResultPage.activeCategoryFilters=t.payload},categoryPathSet:(e,t)=>{e.selectedCategoryPath=t.payload}},extraReducers:e=>{e.addCase(k.pending,(e=>{e.categoriesPending=!0})),e.addCase(k.fulfilled,((e,t)=>{e.categories=t.payload.categories.reduce(((e,t)=>(e[t.code]=t,e)),{}),e.productCategoryMap=function(e,t){const n=e.reduce(((e,n)=>{var r;const i=(0,b.XD)(n,t);return i&&null!==(r=n.products)&&void 0!==r&&r.length&&n.products.forEach((t=>{!e[t]&&n.code&&(e[t]={name:i.name,url:i.url,code:n.code})})),e}),{});return n}(t.payload.categories,t.payload.pages),e.categoriesPending=!1})),e.addCase(k.rejected,((e,t)=>{A.A.error("Could not load categories.")})),e.addCase(C.pending,(e=>{e.filtersPending=!0})),e.addCase(C.fulfilled,((e,t)=>{const n=e.options.filters||[],r=t.payload;e.filters=(0,y.ns)(r,n),e.filtersPending=!1})),e.addCase(T.fulfilled,((e,t)=>{e.listBlockProductsLoading=!1,e.productListBlockProductLists[t.payload.contentId]=t.payload.products})),e.addCase(T.rejected,((e,t)=>{e.productListBlockProductLists[t.meta.arg.contentId]=new Error(m.A.t("error.general","Something went wrong, please try again or contact support."))})),e.addCase(D.fulfilled,((e,t)=>{e.assortmentListBlockAssortmentLists[t.payload.contentId]=t.payload.assortment})),e.addCase(B.fulfilled,((e,t)=>{e.searchParams.assortmentPage.searchString="",e.selectedCategory=t.payload[0],e.selectedCategoryPath=t.payload[1],e.assortmentPageStatus="resolved"})),e.addCase(O.pending,(e=>{e.productsPending=!0})),e.addCase(O.fulfilled,((e,t)=>{const{items:n,currentPage:r,...i}=t.payload;e.products=r&&r>1?e.products.concat(n||[]):n||[],e.assortmentPageInfo={...i,currentPage:r||1},e.productsPending=!1})),e.addMatcher((0,v.b5)("assortment/"),((e,t)=>{A.A.error(t.error,t.payload),e.error=t.error})),e.addMatcher((0,v.Ic)(p.V),((e,t)=>{e.productListBlockProductLists={}}))}}),{assortmentIdUpdated:R,currentPageChanged:L,searchStringUpdated:F,showFilterToggled:z,redirect:Q,productContentMapped:U,categoryChanged:V,assortmentOptionsMapped:G,assortmentOptionsSet:q,pageRootUrlSet:H,defaultProductSettingsSet:W,assortmentEntryPointsSet:Y,activeFiltersSet:K,activeCategoryFiltersSet:J,filterToggled:X,categoryPathSet:Z,selectedOrderByChanged:$}=M.actions,ee=M.reducer,te=e=>e.assortment.options.orderBy,ne=e=>e.assortment.assortmentEntryPoints,re=e=>e.assortment.productCategoryMap,ie=e=>e.assortment.searchParams.assortmentPage.activeCategoryFilters,oe=e=>e.assortment.searchParams.searchResultPage.activeCategoryFilters,ae=e=>e.assortment.searchParams.searchResultPage.searchString,se=e=>e.assortment.searchParams.assortmentPage.searchString,le=(0,i.Mz)((e=>e.siteDefinition.commerceType),(e=>e.assortment.imageAspect),((e,t)=>"number"===typeof t?t:e===g.CommerceType.B2C?150:110)),ce=(0,i.Mz)((e=>e.assortment.selectedOrderBy),te,((e,t)=>{var n,r;if(null!==t&&void 0!==t&&t.length&&!t.find((t=>t.sort===e.assortmentPage))){var i;const n=t[0].sort;if("priceDesc"!==n)return{assortmentPage:n,searchResultPage:null!==(i=e.searchResultPage)&&void 0!==i?i:"relevance"}}return{assortmentPage:null!==(n=e.assortmentPage)&&void 0!==n?n:"relevance",searchResultPage:null!==(r=e.searchResultPage)&&void 0!==r?r:"relevance"}})),ue=(0,i.Mz)(te,(e=>{const t={relevance:{value:"relevance",label:m.A.t("sort.relevance","Relevance")},new:{value:"new",label:m.A.t("news.new_other","News")},name:{value:"name",label:m.A.t("product.name","Name")},number:{value:"number",label:m.A.t("product.articleNumber","Article number")}},n=Object.values(t);if(!e)return n;return e.filter((e=>e.visible&&"priceDesc"!==e.sort)).map((e=>t[e.sort]))}));function de(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return e.reduce(((e,r)=>{var i;if(!r.code)return e;const o=t.filter((e=>e.assortmentEntryPoint===r.code)),a=null===r||void 0===r?void 0:r.name,s=new Map;if(n)for(const[t,c]of n){var l,u;const e=null===o||void 0===o?void 0:o.find((e=>e.url.includes(c.url))),n=e?null===e||void 0===e?void 0:e.url:`${c.url}${r.assortmentSlug}/`;s.set(t.toLowerCase(),{name:null!==(l=null!==(u=null===e||void 0===e?void 0:e.name)&&void 0!==u?u:r.name)&&void 0!==l?l:"",parent:c,url:n.toLowerCase(),code:r.code})}if(o.length>0)for(const t of o){var d;s.set(t.url.toLowerCase(),{url:`${t.url.toLowerCase()}`,name:t.name||"",pimName:a||"",code:t.assortmentEntryPoint,parent:t.parent&&(0,c.g)(t.parent)?{name:null!==(d=t.parent.name)&&void 0!==d?d:"",url:t.parent.url.toLowerCase(),code:t.parent.assortmentEntryPoint}:null})}const{children:p,...h}=r,f=null===p||void 0===p?void 0:p.filter((e=>{var t,n;return(null===(t=e.products)||void 0===t?void 0:t.length)||(null===(n=e.children)||void 0===n?void 0:n.length)}));if(s.size>0){const n={...h,categoryPaths:s,childrenIds:null===f||void 0===f?void 0:f.map((e=>e.code))};return[...e,n,...null!==f&&void 0!==f&&f.length?de(f,t,s):[]]}return[...e,...null!==(i=r.children)&&void 0!==i&&i.length?de(r.children,t):[]]}),new Array)}const pe=()=>[{filter:"color",excludedValues:[],visible:!0},{filter:"brand",excludedValues:[],visible:!0},{filter:"gender",excludedValues:[],visible:!0}];function he(e,t){if(t){const n=e.categoryPaths.get(t.toLowerCase());if(n)return n}const[n]=e.categoryPaths.values();return n}const fe=e=>e.assortment.filters,me=e=>e.assortment.categories,ge=e=>e.assortment.categoriesPending,ve=e=>e.assortment.filtersMap,ye=(0,i.Mz)(fe,(e=>e.assortment.searchParams.assortmentPage.activeFilters),((e,t)=>t.map((t=>{let{type:n,values:r}=t;const i=null===e||void 0===e?void 0:e.flatMap((e=>e.filter)).filter((e=>(null===e||void 0===e?void 0:e.fieldName)===n));return{type:n,values:r.map((e=>{var t;const n=i.find((t=>(null===t||void 0===t?void 0:t.key)===e.key));return{...e,value:null!==(t=null===n||void 0===n?void 0:n.name)&&void 0!==t?t:""}}))}})))),Ae=(0,i.Mz)(ye,(e=>e.assortment.options.fixedFilters),((e,t)=>{const{filtersWithKind:n,filtersWithoutKind:r}=(null===t||void 0===t?void 0:t.reduce(((e,t)=>{if(t.active&&(null===t||void 0===t?void 0:t.filter)&&x.includes(t.filter)){var n;const r=(null===(n=t.values)||void 0===n?void 0:n.map((e=>({type:t.filter,values:[{key:null!==e&&void 0!==e?e:"",value:null!==e&&void 0!==e?e:""}]}))))||[];e.filtersWithKind.push(...r)}else e.filtersWithoutKind.push(t);return e}),{filtersWithKind:[],filtersWithoutKind:[]}))||{filtersWithKind:[],filtersWithoutKind:[]};return{combinedActiveFilters:[...e,...n],filtersWithoutKind:r}})),be=(0,i.Mz)(fe,(e=>e.assortment.searchParams.searchResultPage.activeFilters),((e,t)=>t.map((t=>{let{type:n,values:r}=t;const i=null===e||void 0===e?void 0:e.flatMap((e=>e.filter)).filter((e=>(null===e||void 0===e?void 0:e.fieldName)===n));return{type:n,values:r.map((e=>{var t;const n=i.find((t=>(null===t||void 0===t?void 0:t.key)===e.key));return{...e,value:null!==(t=null===n||void 0===n?void 0:n.name)&&void 0!==t?t:""}}))}})))),we=(0,i.Mz)(ye,(e=>{const t=e.reduce(((e,t)=>[...e,...t.values.map((e=>({type:t.type,value:e})))]),new Array);return 0===t.length?null:t})),xe=(0,i.Mz)(be,(e=>{const t=e.reduce(((e,t)=>[...e,...t.values.map((e=>({type:t.type,value:e})))]),new Array);return 0===t.length?null:t})),Ce=(0,i.Mz)(fe,(e=>e.assortment.selectedCategory),((e,t)=>{var n,r,i;return(null!==(n=e.flatMap((e=>e.filter)).length)&&void 0!==n?n:0)>1||(null!==(r=null===t||void 0===t||null===(i=t.children)||void 0===i?void 0:i.length)&&void 0!==r?r:0)>0})),Se=(e,t)=>{var n;if(null===e||void 0===e||!e.fieldName||null===e||void 0===e||!e.key)return t;const r=new URLSearchParams(t),i=new Set(null===(n=r.get(e.fieldName))||void 0===n?void 0:n.split(","));return i.has(e.key)?i.delete(e.key):i.add(e.key),0===i.size?r.delete(e.fieldName):r.set(e.fieldName,Array.from(i).join(",")),r.toString()?r.toString():""}},1820:(e,t,n)=>{"use strict";function r(e,t){return Object.keys(t).find((n=>{const r=t[n];for(const[,t]of r.categoryPaths)if(t.url===e)return!0;return!1}))}function i(e,t){const n=r(t,e);if(n)return[n,void 0];const i=t.split("/").filter(Boolean),o=i.pop();return[r(`/${i.join("/")}/`,e),o]}function o(e,t){let n={},r={};if((null===e||void 0===e||!e.length)&&(null===t||void 0===t||!t.length))return;e&&e.length&&(n=e.reduce(((e,t)=>t.values.length?{...e,[t.type]:t.values.map((e=>e.key))}:e),{})),t&&t.length&&(r=t.reduce(((e,t)=>{var n;return null!==t&&void 0!==t&&null!==(n=t.values)&&void 0!==n&&n.length&&null!==t&&void 0!==t&&t.filter?{...e,[t.filter]:t.values.map((e=>e))}:e}),{}));const i={...n,...r};return JSON.stringify(i)}function a(e,t,n){let r;if(n){if(r=e.categoryPaths.get(n.toLowerCase()),r)return r;const i=t.find((e=>n.includes(e.url)));if(i&&(r=e.categoryPaths.get(i.url),r))return r}for(const o of t)if(r=e.categoryPaths.get(o.url),r)return r;const[i]=e.categoryPaths.values();return i}n.d(t,{UI:()=>o,XD:()=>a,qM:()=>i})},44361:(e,t,n)=>{"use strict";n.d(t,{rv:()=>j,cF:()=>P,V_:()=>D,f2:()=>O,Ay:()=>Q,Ld:()=>w,w0:()=>M,a1:()=>T,Kc:()=>V,g6:()=>G,um:()=>z,Pm:()=>S,U0:()=>I,S6:()=>_,N9:()=>C,tw:()=>k});var r=n(11359),i=n(85913),o=n(44805),a=n(28517),s=n(50361),l=n(84848),c=n(43099),u=(n(9950),n(84238)),d=n(69435),p=n(33453),h=n(70030),f=n(23017),m=n(44414);const g=e=>{let{description:t}=e;const{t:n}=(0,h.B)(),{identityAuthority:r,siteId:i,language:o}=(0,f.GV)((e=>{let{siteDefinition:t}=e;return t}));return(0,m.jsxs)("div",{className:"py-2",children:[(0,m.jsx)("div",{children:t}),(0,m.jsx)(p.N_,{to:`${r}/Register?lang=${null===o||void 0===o?void 0:o.name}&context=${i}&returnUrl=${window.location}`,children:n("user.register","Register")})]})};var v=n(3781),y=n(35732),A=n(51673);let b=function(e){return e.Redirect="redirect",e.Success="success",e.Fail="fail",e}({});const w=(0,r.zD)("authorization/init",(async(e,t)=>{let{dispatch:n}=t;A.A.log("initAuth"),await n(x())})),x=(0,r.zD)("authorization/initUserManager",(async(e,t)=>{let{getState:n,dispatch:r}=t;const i=n().siteDefinition,o=a.Ay.initUserManager(i.siteId,i.identityAuthority);o.events.addAccessTokenExpired((()=>{A.A.log("EXPIRED"),r(I(window.location.pathname))})),o.events.addUserLoaded((async e=>{if(A.A.log("USER LOADED"),!(0,a.fx)(e))throw new Error("Type asserting unknown to undefined, so should not happen");const t=n().authorization.authUser;var i;if(r(R(e)),(null===t||void 0===t?void 0:t.profile.sub)!==e.profile.sub||null===t||null===e)r((0,l.hY)({authUser:e,returnUrl:null===(i=e.state)||void 0===i?void 0:i.returnUrl}));else if(t.expires_at&&e.expires_at&&(null===t||void 0===t?void 0:t.expires_at)<=e.expires_at){const t=n().siteDefinition.language;r((0,l.o)({user:e,lang:t}))}})),o.events.addUserUnloaded((()=>{A.A.log("UNLOADED")})),o.events.addAccessTokenExpiring((()=>{A.A.log("access token expiring")})),o.events.addSilentRenewError((async e=>{A.A.log("silent renew failed"),await r(E(" (2)"))})),o.events.addUserUnloaded((async()=>{A.A.log("User unloaded"),r(R(null))})),o.events.addUserSessionChanged((async()=>{A.A.log("User session changed")}))})),C=(0,r.zD)("authorization/tryInitUser",(async(e,t)=>{let{dispatch:n}=t;const r=await a.Ay.getUser();n(R(r))})),S=(0,r.zD)("authorization/redirect/signin",(async(e,t)=>{let{rejectWithValue:n,getState:r}=t;try{var i,o;const t=null!==(i=null===(o=r().siteDefinition.language)||void 0===o?void 0:o.name)&&void 0!==i?i:"en";await a.Ay.signinRedirect(U(e),t)}catch(s){return n({message:"string"===typeof s?s:void 0})}})),k=(0,r.zD)("authorization/tryWaitForSilentSignin",(async(e,t)=>{let{dispatch:n,getState:r}=t;A.A.log("tryWaitForSilentSignin"),r().authorization.handling401||(A.A.log("tryWaitForSilentSignin - setting handling 401"),n(F(!0)),r().authorization.silentSigninInProgress||(A.A.log("tryWaitForSilentSignin - signing in silently"),n(I(window.location.href))),setTimeout((()=>{A.A.log("tryWaitForSilentSignin - timeout/start"),r().authorization.silentSigninInProgress?(A.A.log("tryWaitForSilentSignin - timeout/userWarning"),n(E(" (1)"))):(A.A.log("tryWaitForSilentSignin - timeout/startingSilentLogin"),n((0,s.lW)()),n((0,l.hY)({}))),n(F(!1))}),1e3))})),E=(0,r.zD)("authorization/userLoggedOutWarning",((e,t)=>{let{dispatch:n,getState:r}=t;A.A.log("userLoggedOutWarning");const{authUser:i,authUserChanged:o}=r().authorization;if(i&&!i.expired)return;if(A.A.log("----- userLoggedOutWarning - authUser expired ----"),A.A.log("  expires at: "+(null===i||void 0===i?void 0:i.expires_at)),A.A.log("  refresh_token: "+(null===i||void 0===i?void 0:i.refresh_token)),A.A.log("  authUserChanged: "+o),A.A.log("-----------------------------"),null!=o&&(new Date).getTime()-o>45e5)return A.A.log("userLoggedOutWarning - authUserChanged some time ago"),void n(I(window.location.href));const a={title:u.A.t("user.refreshFailedTitle","You have been logged out."),description:u.A.t("user.refreshFailedText",'For security reasons, you were logged out after a time of inactivity. Press "Log in" to continue shopping.'),okLabel:u.A.t("user.signInAgain","Sign in again"),onOk:()=>{n((0,s.lW)()),n(S(window.location.pathname))},cancelLabel:u.A.t("general.close","Close"),onCancel:()=>{n((0,s.lW)()),n(R(null));const e=r().siteDefinition.language;n((0,l.o)({user:null,lang:e})),n((0,l.hY)({authUser:null})),n((0,c._S)(!1))}};n((0,s.wp)(a))})),I=(0,r.zD)("authorization/signinsilent",(async(e,t)=>{let{getState:n,dispatch:r,rejectWithValue:i}=t;A.A.log("signinSilent");let o=null;if(n().authorization.silentSigninInProgress)return i({message:"silent signin in progress"});r(L(!0));try{var s,l;const t=null!==(s=null===(l=n().siteDefinition.language)||void 0===l?void 0:l.name)&&void 0!==s?s:"en";o=await a.Ay.signinSilent(U(e),t);const i=n().user.userIdentity;!o||o.expired||i||r((0,v.ug)(o))}catch(c){if("string"===typeof c||c instanceof String||"string"===typeof(null===c||void 0===c?void 0:c.message)){const e=null!==c&&void 0!==c&&c.message?c.message:c;if(e.includes("Unauthorized"))A.A.log("SignInSilent CallBackError",e),r(j({anonymousMode:!0,erpStatus:d.ErpCustomerStatus.NotFound}));else if(e.toLowerCase().includes("invalid_grant")){const e=window.location.href;e===n().authorization.initUrl?r(S(e)):await r(E(" (3)"))}else A.A.log("unhandled signinSilent error",c)}}return r(L(!1)),o})),_=(0,r.zD)("authorization/redirect/signout",(async(e,t)=>{let{rejectWithValue:n}=t;try{await a.Ay.signoutRedirect(U(e))}catch(r){return n({message:"string"===typeof r?r:void 0})}})),P=(0,r.zD)("authorization/complete/signin",(async(e,t)=>{let{dispatch:n,rejectWithValue:r}=t;try{var i;const t=await a.Ay.signinCallback(e);return null===t||void 0===t||null===(i=t.state)||void 0===i?void 0:i.returnUrl}catch(o){return A.A.log("CompleteSignInCallBackError",o),n(L(!1)),n((0,l.hY)({})),r({message:"string"===typeof o?o:void 0})}})),O=(0,r.zD)("authorization/complete/silent",(async(e,t)=>{let{dispatch:n}=t;try{a.Ay.signinSilentCallback(e),n(L(!1))}catch(r){A.A.log("signinSilentCallbackError",r)}})),T=(0,r.zD)("authorization/removeUser",(async(e,t)=>{let{dispatch:n}=t;a.Ay.removeUser(),n(R(null))})),D=(0,r.zD)("authorization/complete/signout",(async(e,t)=>{let{dispatch:n}=t;try{var r,i;const t=await a.Ay.signoutRedirectCallback(e);return n((0,l.hY)({authUser:null,returnUrl:null===(r=t.userState)||void 0===r?void 0:r.returnUrl})),null===(i=t.userState)||void 0===i?void 0:i.returnUrl}catch(o){return"/"}})),j=(0,r.zD)("authorization/enterAnonymousMode",(async(e,t)=>{let{anonymousMode:n,erpStatus:r}=e,{getState:i,dispatch:a}=t;const l=i().siteDefinition;if(n){var c,p;o.Ay.setContext(l.siteId,null!==(c=null===(p=l.language)||void 0===p?void 0:p.name)&&void 0!==c?c:"en",l.commerceApiPath,null,(()=>a(k())));const e=(e=>{const t=e===d.ErpCustomerStatus.Error?u.A.t("user.customerErrorShort","Error"):e===d.ErpCustomerStatus.NotFound?u.A.t("user.customerWarningShort","Warning"):null,n=e===d.ErpCustomerStatus.Error?u.A.t("user.customerErrorLong","Error"):e===d.ErpCustomerStatus.NotFound?u.A.t("user.customerWarningLong","Warning"):null;return null!=t&&null!=n?{title:t,okLabel:u.A.t("user.proceedAsAnonymous","Proceed as anonymous"),content:(0,m.jsx)(g,{description:n}),hideCancel:!0,showCustomerServiceInfo:!0}:null})(r);e&&a((0,s.wp)(e))}return n})),B={callbacks:[],nextSubscriptionId:0,authUser:null,isAuthenticated:!1,anonymous:!1,accessToken:null,authInitiated:!1,silentSigninInProgress:!1,handling401:!1,initUrl:window.location.href,firstLogin:0===Object.keys(localStorage).filter((e=>e.startsWith("oidc.user:"))).length},N=(0,r.Z0)({name:"authorization",initialState:B,reducers:{redirectUrlCleared(e){e.redirectUrl=void 0},userLoaded(e,t){const n=t.payload;e.isAuthenticated=!(null===n||void 0===n||!n.access_token)&&!(null!==n&&void 0!==n&&n.expired),e.authUser=n,e.authUserChanged=+new Date,e.accessToken=n?n.access_token:null},setSilentSigninInProgress(e,t){e.silentSigninInProgress=t.payload},setHandling401(e,t){e.handling401=t.payload},setAnonymous(e,t){e.anonymous=t.payload}},extraReducers:e=>{e.addCase(w.fulfilled,(e=>{e.authInitiated=!0})),e.addCase(x.rejected,(()=>{A.A.error("Could not initialize user manager")})),e.addCase(P.fulfilled,((e,t)=>{e.redirectUrl=t.payload,e.authInitiated=!1})),e.addCase(P.rejected,(e=>{e.isAuthenticated=!1,e.authUser=null,e.authUserChanged=+new Date,e.accessToken=null,e.anonymous=!0,e.authInitiated=!1,e.redirectUrl="/"})),e.addCase(O.rejected,(e=>{e.isAuthenticated=!1,e.authUser=null,e.authUserChanged=+new Date,e.accessToken=null,e.authInitiated=!1})),e.addCase(D.fulfilled,((e,t)=>{e.isAuthenticated=!1,e.authUser=null,e.authUserChanged=+new Date,e.accessToken=null,e.redirectUrl=t.payload,e.authInitiated=!1})),e.addCase(D.rejected,(e=>{e.authInitiated=!1})),e.addCase(S.rejected,(e=>{})),e.addCase(j.fulfilled,((e,t)=>{e.anonymous=t.payload})),e.addMatcher((0,y.Ic)("authorization/complete"),(e=>{e.resultStatus=b.Success})),e.addMatcher((0,y.Ic)("authorization/redirect"),(e=>{e.resultStatus=b.Redirect})),e.addMatcher((0,y.b5)("authorization/"),((e,t)=>{e.resultStatus=b.Fail,e.error=t.payload,A.A.error("ERROR",t,t.error.message)}))}}),{redirectUrlCleared:M,userLoaded:R,setSilentSigninInProgress:L,setHandling401:F,setAnonymous:z}=N.actions,Q=N.reducer;function U(e){return{useReplaceToNavigate:!0,state:{returnUrl:`${e&&"/"!==e?e:"/"}`}}}const V=e=>e.authorization.isAuthenticated,G=(0,i.Mz)((e=>e.authorization),(e=>e.siteDefinition),((e,t)=>e.isAuthenticated&&t.commerceType===d.CommerceType.B2BResellers))},2090:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>c,Ue:()=>p,hb:()=>a,lD:()=>s});var r=n(11359),i=n(85913),o=n(77018);const a=(0,r.zD)("bookmarkPage/load",(async()=>{var e;const t=localStorage.getItem("bookmark")?JSON.parse(null!==(e=localStorage.getItem("bookmark"))&&void 0!==e?e:""):[];return await Promise.all(t.map((async e=>{try{const t=await o.A.getContentByFriendlyUrl(e.url,void 0);return{title:t.data.name,url:t.data.url,type:e.type,restricted:!1}}catch(t){return{title:"",url:e.url,type:e.type,restricted:!0}}}))).then((e=>e))})),s=(0,r.zD)("bookmark/pages",(async(e,t)=>{var n;let{dispatch:r,getState:i}=t,o=null!==(n=i().bookmarkPage.pages)&&void 0!==n?n:[];o=o.find((t=>t.url===e.url))?o.filter((t=>t.url!==e.url)):o.concat(e),r(l.actions.pagesBookmarkUpdated(o))})),l=(0,r.Z0)({name:"bookmarkpage",initialState:{loaded:!1,pages:[]},reducers:{pagesBookmarkUpdated(e,t){e.pages=t.payload,localStorage.setItem("bookmark",JSON.stringify(t.payload))}},extraReducers:e=>{e.addCase(a.fulfilled,((e,t)=>{e.pages=t.payload}))}}),c=l.reducer,u=e=>e.authorization.isAuthenticated,d=e=>e.bookmarkPage.pages,p=e=>(0,i.Mz)(d,u,((t,n)=>t.filter((t=>t.type===e&&(!t.restricted||n)))))},43288:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>z,Lt:()=>R,w9:()=>F,Wp:()=>L});var r=n(11359),i=n(85913),o=n(44805),a=n(8218),s=n(18627),l=n(78225),c=n(84238),u=n(69435),d=n(12180),p=n(35732),h=n(24380),f=n(57158),m=n(51673),g=n(22360),v=n(74959),y=n(33453),A=(n(9950),n(24937)),b=n(44414);const w=e=>{let{data:t}=e;const{name:n,img:r}=t;return(0,b.jsxs)(x,{justify:"between",align:"center",children:[(0,b.jsx)(I,{className:"p-2 mr-2 align-self-stretch",align:"center",justify:"center",children:(0,b.jsx)(v.g,{color:"#222",size:"lg",className:"mr-2",icon:g.qcK})}),(0,b.jsxs)(S,{className:"p-2 flex-grow-1",justify:"between",align:"center",children:[(0,b.jsx)(C,{className:"mr-2 p-1",children:r&&(0,b.jsx)(E,{src:r,alt:n||""})}),(0,b.jsx)(_,{column:!0,children:n&&(0,b.jsx)(k,{small:!0,"data-name":!0,className:"f1-500",children:n})})]})]})},x=(0,A.Ay)(y.so).withConfig({componentId:"sc-1vblo7-0"})(["min-height:85px;"]),C=A.Ay.div.withConfig({componentId:"sc-1vblo7-1"})(["margin-left:-0.5rem;width:55px;"]),S=(0,A.Ay)(y.so).withConfig({componentId:"sc-1vblo7-2"})(["font-size:12px;background:white;"]),k=(0,A.Ay)(y.EY).withConfig({componentId:"sc-1vblo7-3"})(["white-space:normal;"]),E=A.Ay.img.withConfig({componentId:"sc-1vblo7-4"})(["max-width:100%;max-height:100%;"]),I=(0,A.Ay)(y.so).withConfig({componentId:"sc-1vblo7-5"})(["background-color:",";width:80px;"],(e=>{let{theme:t}=e;return t.colors.fill})),_=(0,A.Ay)(y.so).withConfig({componentId:"sc-1vblo7-6"})(["flex-grow:2;font-size:12px;"]);let P=[];const O=(0,r.zD)("wishlist/load",(async(e,t)=>{let{getState:n}=t;const r=n(),i=N(r),a=B(r),s=await o.Ay.getProducts(i);P=s.data;const l=a.filter((e=>P.find((t=>{var n;return t.productNumber===e||(null===(n=t.variations)||void 0===n?void 0:n.find((t=>t.variationNumber===e)))}))));return localStorage.setItem("wishList",l.join(",")),l})),T=(0,r.zD)("wishlist/toggleVariation",(async(e,t)=>{var n,r;let{getState:i,rejectWithValue:o,dispatch:s}=t;const p=e.variationNumber||(null===(n=e.product.variations)||void 0===n||null===(r=n.find((e=>e.featured)))||void 0===r?void 0:r.variationNumber)||e.product.productNumber,f=B(i());if(!p||!e.product)return o(e.product);let m;const g=p.split("-")[0];if(f.includes(p)||f.includes(g))m=f.filter((e=>e!==p&&e!==g));else{var v;m=[...f,p],P=[...P.filter((e=>e.productNumber!==g)),e.product],s((0,a.gR)(g));const t=null===(v=e.product.variations)||void 0===v?void 0:v.find((e=>e.variationNumber===p)),n=(0,h.Ay)(null===t||void 0===t?void 0:t.image,h.yj.ThumbNail,u.ImageExtension.Jpg);(0,d.oR)((()=>{var t;return(0,b.jsx)(w,{data:{name:null===(t=e.product)||void 0===t?void 0:t.productName,img:n}})}),{autoClose:2500})}try{localStorage.setItem("wishList",m.join(","))}catch(y){(0,d.oR)((()=>(0,b.jsx)(l.A,{header:c.A.t("error.error"),message:c.A.t("error.general"),ok:!0})),{toastId:"wishlistError",position:"top-center",autoClose:4e3})}return m})),D={variationNumbers:(()=>{var e,t=null!==(e=localStorage.getItem("wishList"))&&void 0!==e?e:void 0;return t?t.split(","):[]})(),pending:!1,error:null},j=(0,r.Z0)({name:"wishlist",initialState:D,reducers:{},extraReducers:e=>{e.addCase(T.fulfilled,((e,t)=>{e.variationNumbers=t.payload})),e.addCase(O.pending,(e=>{e.pending=!0})),e.addCase(O.fulfilled,((e,t)=>{e.variationNumbers=t.payload,e.pending=!1})),e.addMatcher((0,p.b5)("wishlist/"),((e,t)=>{e.pending&&(e.pending=!1,e.error=t.error),m.A.error("ERROR",t.payload)}))}});const B=e=>e.wishList.variationNumbers,N=(0,i.Mz)(B,(e=>Array.from(new Set(e.map((e=>e.split("-")[0])))))),M=(0,i.Mz)(B,s.Ig,((e,t)=>e.map((e=>{const n=P.find((t=>{var n;return t.productNumber===e||(null===(n=t.variations)||void 0===n?void 0:n.find((t=>t.variationNumber===e)))})),r=function(e,t,n){var r,i,o;if(!t||!t.productNumber)return null;const a=e[t.productNumber],s=n&&t.hasVariations?null===(r=t.variations)||void 0===r?void 0:r.find((e=>e.variationNumber===n)):void 0,l=s?s.image:t.image;return{slug:t.slug,text:t.productName||"",productNumber:t.productNumber,variationNumber:t.hasVariations&&n?n:void 0,productBrandName:t.productBrandName,imgUrl:(0,h.Ay)(l,h.yj.ThumbNail,u.ImageExtension.Jpg),parentText:null===a||void 0===a?void 0:a.name,parentPath:null===a||void 0===a?void 0:a.url,variations:null!==(i=null===t||void 0===t?void 0:t.variations)&&void 0!==i?i:[],skuText:`${null!==(o=null!==n&&void 0!==n?n:null===t||void 0===t?void 0:t.productNumber)&&void 0!==o?o:""}${s?` / ${s.color}`:""}`}}(t,n,e);return r})).filter(f.A)));const R={wishList:B,items:M,productNumbers:N,pending:e=>e.wishList.pending},L={isInWishList:function(e,t){return e.some((e=>e===t||t.split("-")[0]===e))}},F={toggleVariation:T,load:O},z=j.reducer},43183:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>o,o1:()=>i});const r=(0,n(11359).Z0)({name:"bookmark",initialState:{showBookmark:!1},reducers:{bookmarkToggled(e,t){e.showBookmark=void 0!==t.payload?t.payload:!e.showBookmark}}}),i=r.actions,o=r.reducer},6265:(e,t,n)=>{"use strict";n.d(t,{b:()=>ke,A:()=>Fe});var r=n(22360),i=n(74959),o=n(8218),a=n(84848),s=n(28086),l=n(58847),c=n(36355),u=n(75081),d=n(1027),p=n(58883),h=n(5874),f=n(41103),m=n(73983),g=n(99393),v=n(81925),y=n(33453),A=n(49096),b=n(23017),w=n(7691),x=n(69435),C=n(9950),S=n(70030),k=n(28429),E=n(24937),I=n(45798),_=n(7430),P=n(55901),O=n(92414),T=n(12148),D=n(53215),j=n(50739),B=n(74459),N=n(41107),M=n(31664),R=n(44414);const L=()=>{var e,t;const{cartType:n}=(0,C.useContext)(O.A),{currentReseller:r,suggestedResellers:i}=(0,b.GV)((e=>{let{resellers:t}=e;return t})),o=(0,b.GV)(g.q),a=(0,w.T)(n).valid.reseller,s=(0,w.T)(n).delivery,l=(0,b.GV)((e=>{var t,n;let{siteDefinition:r}=e;return null!==(t=null===(n=r.reseller)||void 0===n?void 0:n.agreementsEnabled)&&void 0!==t&&t})),{t:c}=(0,S.B)(),u=(0,b.jL)();return(0,C.useEffect)((()=>{r||a!==M.H.Valid||u((0,N.VN)(n)({valid:M.H.Invalid,commerceType:o})),(!r&&a===M.H.Invalid||a===M.H.Unknown)&&u((0,j.Np)({city:null===s||void 0===s?void 0:s.city,postalCode:null===s||void 0===s?void 0:s.postalCode,companyId:null===s||void 0===s?void 0:s.companyId}))}),[r,u,a,null===s||void 0===s?void 0:s.companyId,null===s||void 0===s?void 0:s.postalCode,null===s||void 0===s?void 0:s.city,l,o,n]),a===M.H.Valid?(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(y.EY,{className:"f3-700",children:null===r||void 0===r?void 0:r.name}),(0,R.jsx)(y.gK,{onClick:()=>{u((0,N.VN)(n)({valid:M.H.Invalid,commerceType:o})),u((0,j.DR)())},className:"d-block mt-2 align",fontSize:"12px",color:"textFaded",children:c("action.change","Change")})]}):(null===i||void 0===i||!i.length)&&((null===s||void 0===s||null===(e=s.postalCode)||void 0===e?void 0:e.length)||0)<3?(0,R.jsx)("div",{children:c("reseller.suggestionInfo","Please fill in your address to find a reseller near you.")}):null!==i&&void 0!==i&&i.length||null===s||void 0===s||!s.postalCode?null!==i&&void 0!==i&&i.length?(0,R.jsxs)(R.Fragment,{children:[(0,R.jsxs)(F,{className:"ml-1",children:[(0,R.jsxs)("span",{className:"mr-1",children:[c("reseller.suggestionFrom","We have suggested reseller based on"),": "]}),(0,R.jsx)(y.EY,{extraBold:!0,children:(0,j.oA)(i)?`${c("contact.companyNumber","Company number")} - ${null===s||void 0===s?void 0:s.companyId}`:`${c("contact.address")} - ${null===s||void 0===s?void 0:s.postalCode} ${null===s||void 0===s?void 0:s.city}`})]}),(0,R.jsx)(B.A,{showLink:!1,resultList:i,onSelect:(e,t)=>{t&&u((0,j.Ri)(t)),u((0,j.Hc)(e)),u((0,N.VN)(n)({valid:M.H.Valid,commerceType:o}))}})]}):null:(0,R.jsxs)("div",{children:[c("reseller.errorNotFound","We cannot find any reseller connected to your address. Please make sure that it is correct or search reseller below."),(0,R.jsx)(D.A,{searchLabel:null!==(t=null!==s&&void 0!==s&&s.postalCode&&!Number.isNaN(parseInt(s.postalCode))?null===s||void 0===s?void 0:s.postalCode:null===s||void 0===s?void 0:s.city)&&void 0!==t?t:void 0})]})},F=(0,E.Ay)(y.so).withConfig({componentId:"sc-1vhp7eq-0"})([""]),z=e=>{var t;let{onSubmit:n,text:r,bgColor:i,color:o,borderRadius:a}=e;const{cartType:s}=(0,C.useContext)(O.A),{checkoutPending:l}=(0,w.T)(s),{isB2C:c}=(0,w.A)(g.F),u=null===(t=(0,w.A)(f.eN))||void 0===t?void 0:t.pending,d=l;return(0,R.jsxs)(Q,{b2c:c,onClick:n,className:"mt-4 f1-500",fullwidth:!0,pill:!0,attention:!0,bgColor:i||"buy",color:o||"textWhite",disabled:d||u,borderRadius:a,children:[d&&(0,R.jsx)(y.y$,{className:"mr-1"})," ",r]})},Q=(0,E.Ay)(y.$n).withConfig({componentId:"sc-1asi1pf-0"})(["",";display:flex;align-items:center;justify-content:center;border-radius:",";"],(e=>{let{b2c:t}=e;return t?"height: 50px;":"height: auto"}),(e=>{let{borderRadius:t}=e;return t||""})),U=e=>{let{successText:t,assortmentUrl:n,onContinueShopping:i}=e;const{t:o}=(0,S.B)(),a=(0,b.GV)((e=>{var t;let{siteDefinition:n}=e;return null===(t=n.cartPage)||void 0===t?void 0:t.url})),{cartType:s}=(0,C.useContext)(O.A),{confirmed:l,quantity:c}=(0,w.T)(s),{isB2C:u}=(0,b.GV)(g.F),d=(0,b.jL)();return(0,C.useEffect)((()=>()=>{d((0,N.dS)(s)())}),[d,s]),(0,R.jsxs)(V,{children:[!u&&(0,R.jsx)("h1",{children:o("order.placed","Your order has been successfully placed")}),t&&(0,R.jsx)(v.A,{name:"SuccessText",model:t,formats:null!==l&&void 0!==l&&l.orderNumber?[l.orderNumber]:[]}),"shoppingCart"===s&&(0,R.jsx)("div",{children:(0,R.jsx)(y.N_,{noStyle:!0,onClick:i,to:c>0?a:n,children:(0,R.jsx)(y.so,{align:"center",justify:"center",children:(0,R.jsxs)(y.K0,{icon:r.dmS,iconRight:!0,bgColor:"fillWhite",children:[" ",o("cart.continueShopping","Continue shopping")]})})})})]})},V=E.Ay.div.withConfig({componentId:"sc-h84ksz-0"})(["max-width:680px;margin:auto;color:",";font-size:16px;h1{color:",";margin-bottom:1.5rem;}button{margin-top:1.2rem;border-radius:2px;padding:1.3rem;}"],(e=>{let{theme:t}=e;return t.colors.text}),(e=>{let{theme:t}=e;return t.colors.accent}));var G=n(62721);const q=()=>{var e,t,n,r;const{cartType:i}=(0,C.useContext)(O.A),{t:o}=(0,S.B)(),a=(0,b.jL)(),s=(0,b.GV)(g.q),{delivery:l,cmsOptions:c}=(0,w.T)(i),u=(0,w.T)(i).valid.info,d=e=>{a((0,N.o$)(i)({[e.target.name]:e.target.value})),a((0,N.e2)(i)())};return(0,R.jsx)(H,{children:u===M.H.Valid?(0,R.jsx)(m.rD,{order:l,editable:!0,onEditClick:()=>{a((0,N.e2)(i)())}}):(0,R.jsxs)(R.Fragment,{children:[(0,R.jsxs)(y.mc,{children:[c.hidePackageLabel?null:(0,R.jsxs)(y.fv,{md:6,children:[(0,R.jsx)(y.pd,{label:o("shipment.packageLabel","Package label"),name:"packageLabel",value:null!==(e=null===l||void 0===l?void 0:l.packageLabel)&&void 0!==e?e:"",onChange:d,required:c.packageLabelRequired||!1,validate:u===M.H.Invalid,maxLength:30}),c.packageLabelDescription&&(0,R.jsx)(W,{children:c.packageLabelDescription})]}),(0,R.jsxs)(y.fv,{md:6,children:[(0,R.jsx)(y.pd,{label:o("shipment.yourReference","Your reference"),name:"reference",value:null!==(t=null===l||void 0===l?void 0:l.reference)&&void 0!==t?t:"",onChange:d,required:c.referenceRequired||!1,validate:u===M.H.Invalid,showValidateIcon:!1,maxLength:20}),c.referenceDescription&&(0,R.jsx)(W,{children:c.referenceDescription})]}),(0,R.jsxs)(y.fv,{md:6,children:[(0,R.jsx)(y.pd,{label:o("shipment.yourOrderNumber","Your ordernumber"),name:"orderReference",value:null!==(n=null===l||void 0===l?void 0:l.orderReference)&&void 0!==n?n:"",onChange:d,type:"text",required:c.yourOrderNumberRequired||!1,validate:u===M.H.Invalid,maxLength:35}),c.yourOrderNumberDescription&&(0,R.jsx)(W,{children:c.yourOrderNumberDescription})]}),(0,R.jsxs)(y.fv,{md:12,children:[(0,R.jsx)(y.pd,{label:o("general.comment","Comment"),name:"comment",value:null!==(r=null===l||void 0===l?void 0:l.comment)&&void 0!==r?r:"",onChange:d,type:"text",required:c.commentRequired||!1,validate:u===M.H.Invalid}),c.orderMessageDescription&&(0,R.jsx)(W,{className:"mt-2",children:c.orderMessageDescription})]})]}),(0,R.jsx)(y.so,{className:"mt-4",$reverse:!0,children:(0,R.jsx)(y.$n,{onClick:()=>{a((0,N.Jo)(i)({commerceType:s})),a((0,N.zm)(i)())},children:o("action.continue","Continue")})})]})})},H=E.Ay.div.withConfig({componentId:"sc-1qx0eo6-0"})([""]),W=E.Ay.div.withConfig({componentId:"sc-1qx0eo6-1"})(["font-size:12px;color:",";"],(e=>{let{theme:t}=e;return t.colors.textFaded})),Y=()=>{var e,t,n;const{cartType:r}=(0,C.useContext)(O.A),{t:i}=(0,S.B)(),o=(0,b.jL)(),a=(0,b.GV)(g.q),{orderNotification:s}=(0,w.T)(r),l=(0,w.T)(r).valid.orderNotification,c=e=>{o((0,N.S6)(r)(e))};return(0,R.jsx)(K,{children:l===M.H.Valid?(0,R.jsxs)(R.Fragment,{children:[s.email&&(s.dispatch||s.confirmation)&&(0,R.jsxs)(J,{className:"mb-2",children:[s.dispatch&&(0,R.jsx)(X,{children:i("shipment.dispatchNote","Dispatch notification")}),s.confirmation&&(0,R.jsxs)(X,{children:[" ",i("shipment.simplifiedOrderConfirm","Simplified order confirmation")]})]}),(0,R.jsx)(y.gK,{onClick:()=>{o((0,N.hG)(r)())},className:"d-block",fontSize:"12px",color:"textFaded",children:i("action.change")})]}):(0,R.jsxs)(R.Fragment,{children:[(0,R.jsxs)("div",{children:[(0,R.jsx)(y.pd,{label:i("contact.email","E-mail"),name:"email",className:"mb-1",value:null!==(e=s.email)&&void 0!==e?e:"",onChange:e=>c({email:e.target.value}),type:"text",validate:l===M.H.Invalid,errorText:l===M.H.Invalid?i("validation.email","Invalid Email"):""}),(0,R.jsx)("div",{className:"my-2",children:(0,R.jsx)(y.Sc,{name:"dispatch",bgColor:"fill",label:i("shipment.dispatchNote","Dispatch notification"),checked:null!==(t=s.dispatch)&&void 0!==t&&t,onChange:e=>c({dispatch:e.target.checked})})}),(0,R.jsx)("div",{className:"my-2",children:(0,R.jsx)(y.Sc,{name:"confirmation",bgColor:"fill",className:"mb-1",label:i("shipment.simplifiedOrderConfirm","Simplified order confirmation"),checked:null!==(n=s.confirmation)&&void 0!==n&&n,onChange:e=>c({confirmation:e.target.checked})})}),(0,R.jsx)(Z,{children:i("shipment.emailInfo","The specified email address is used to send out dispatch notification and or a simplified order confirmation (without prices)")})]}),(0,R.jsx)(y.so,{$reverse:!0,className:"mt-4",children:(0,R.jsx)(y.$n,{onClick:()=>{o((0,N.E6)(r)({commerceType:a})),o((0,N.zm)(r)())},children:i("action.continue","Continue")})})]})})},K=E.Ay.div.withConfig({componentId:"sc-bibuct-0"})([""]),J=E.Ay.div.withConfig({componentId:"sc-bibuct-1"})([""]),X=(0,E.Ay)(y.EY).withConfig({componentId:"sc-bibuct-2"})(["font-size:12px;"]),Z=E.Ay.div.withConfig({componentId:"sc-bibuct-3"})(["font-size:12px;color:",";"],(e=>{let{theme:t}=e;return t.colors.textFaded}));var $=n(47518);const ee=e=>{let{options:t,onChange:n}=e;const{cartType:r}=(0,C.useContext)(O.A),{deliveryType:i}=(0,b.Ty)(r),o=(0,b.Ty)(r).valid.deliveryType,a=(0,b.jL)(),{t:s}=(0,S.B)();return(0,C.useEffect)((()=>{const e=t.find((e=>!0===e.selected));a((0,N.TE)(r)(null!==e&&void 0!==e?e:t[0]))}),[t,a,r]),o===M.H.Valid?1!==(null===t||void 0===t?void 0:t.length)?(0,R.jsx)(y.gK,{onClick:()=>{a((0,N.KQ)(r)())},fontSize:"12px",color:"textFaded",children:s("action.change","Change")}):(0,R.jsx)(re,{children:null===i||void 0===i?void 0:i.description}):(0,R.jsx)(te,{className:"mt-3",children:null===t||void 0===t?void 0:t.map((e=>(0,R.jsxs)("div",{className:"mb-2",children:[(0,R.jsx)(y.sx,{bgColor:"fill",checked:e.id===(null===i||void 0===i?void 0:i.id),name:"agreement",onClick:()=>a((0,N.TE)(r)(e)),onChange:()=>e.id&&n(e.id),label:e.name||""}),e.description&&(0,R.jsx)(ne,{children:e.description})]},e.id)))})},te=E.Ay.div.withConfig({componentId:"sc-1j71mbm-0"})([""]),ne=E.Ay.div.withConfig({componentId:"sc-1j71mbm-1"})(["font-size:12px;color:",";margin-left:calc(1rem + 30px);margin-top:-4px;"],(e=>{let{theme:t}=e;return t.colors.textFaded})),re=(0,E.Ay)(y.EY).withConfig({componentId:"sc-1j71mbm-2"})(["font-size:12px;"]),ie=()=>{const{cartType:e}=(0,C.useContext)(O.A),{t:t}=(0,S.B)(),n=(0,w.A)((0,N.c6)(e)),r=(0,w.A)(a.V4);return r&&n?(0,R.jsxs)(oe,{className:"p-3 mt-1",children:[(n.name||(null===n||void 0===n?void 0:n.email))&&(0,R.jsxs)(y.EY,{light:!0,fontSize:11,children:[n.name,n.name&&n.email&&(0,R.jsx)("span",{className:"mx-2",children:"/"}),n.email]}),(0,R.jsx)(y.N_,{className:"mt-3 w-100",to:`${r}${t("navigation.history").toLowerCase()}`,children:t("order.history","Order history")})]}):(0,R.jsx)(R.Fragment,{})},oe=E.Ay.div.withConfig({componentId:"sc-sssx04-0"})(["background-color:",";"],(e=>{let{theme:t}=e;return t.colors.fillWhite})),ae=()=>{var e;const{cartType:t}=(0,C.useContext)(O.A),n=(0,b.jL)(),r=(0,b.GV)((0,N.Rm)(t)),i=(0,b.GV)((e=>{let{currentPage:t}=e;return t.language})),o=(0,b.GV)((0,N.Vj)(t)),a=(0,b.GV)((0,N.Du)(t));return(0,b.Ty)(t).valid.orderType===M.H.Valid?(0,R.jsx)(m.ZR,{orderTypeDescription:null===a||void 0===a?void 0:a.description,editable:!0,onEditClick:()=>{n((0,N._Z)(t)())}}):(0,R.jsx)(se,{className:"mt-3",children:null===r||void 0===r||null===(e=r.orderTypes)||void 0===e?void 0:e.map(((e,r)=>{var a,s;const l=(0,N.Gf)(i,e);return(0,R.jsx)("div",{className:"mb-2",children:(0,R.jsx)(y.sx,{bgColor:"fill",checked:e.value===(null===o||void 0===o?void 0:o.value),name:"agreement",onChange:()=>{n((0,N.NK)(t)(e)),n((0,N.zm)(t)())},label:null!==(a=null===l||void 0===l?void 0:l.name)&&void 0!==a?a:"",subLabel:null!==(s=null===l||void 0===l?void 0:l.description)&&void 0!==s?s:""})},e.value)}))})},se=E.Ay.div.withConfig({componentId:"sc-2hfco6-0"})([""]);var le=n(28181),ce=n(55951);const ue=n.p+"static/media/check-solid.9949503aa0d3ed1be5e5ff2e47ee7b90.svg",de=()=>{const e=(0,b.jL)(),t=(0,C.useRef)(null),{cartType:n}=(0,C.useContext)(O.A),r=(0,b.GV)((0,N.$J)(n));return(0,C.useEffect)((()=>{t.current&&e((0,N.q5)(n)(t.current))}),[e,n,t]),r?(0,R.jsxs)("div",{children:["Error: ",r]}):(0,R.jsx)(pe,{className:"payment-container",children:(0,R.jsx)("div",{ref:t,className:"payment"})})},pe=E.Ay.div.withConfig({componentId:"sc-39qlr2-0"})([".adyen-checkout__payment-method__radio{width:30px;height:30px;background:",";border:none;display:block;&:hover{box-shadow:none;background:",";}&--selected{background:",";&:hover{background:",";}&::after{content:url(",");height:1em;width:1em;}}}.adyen-checkout__payment-method:hover:not(.adyen-checkout__payment-method--selected) .adyen-checkout__payment-method__radio{box-shadow:none;border:none;}.adyen-checkout__payment-method__header{padding-left:4rem;}.adyen-checkout__payment-method--selected{background:",";border:1px solid ",";}.adyen-checkout__payment-method{border-radius:0 !important;}.adyen-checkout__qr-loader{border-radius:0 !important;}.adyen-checkout__label--focused{color:green;}.adyen-checkout__payment-method{border:1px solid ",";}.adyen-checkout__input{border:1px solid ",";border-radius:0;}.adyen-checkout__label__text--error,.adyen-checkout__error-text{color:",";}.adyen-checkout-input__inline-validation--invalid{display:none;}.adyen-checkout__field--error input,.adyen-checkout__input--error{border:1px solid ",";}.adyen-checkout__payment-method{margin:0;margin-bottom:-1px;}.adyen-checkout__input--focus,.adyen-checkout__input--focus:hover,.adyen-checkout__input:active,.adyen-checkout__input:active:hover,.adyen-checkout__input:focus,.adyen-checkout__input:focus:hover{box-shadow:none;border:1px solid ",";}.adyen-checkout__button--pay{border-radius:2px;height:35px;background-color:",";&:hover{background-color:",";box-shadow:none;}}"],(e=>{let{theme:t}=e;return t.colors.fill}),(e=>{let{theme:t}=e;return(0,ce.Qw)(.03,t.colors.fill)}),(e=>{let{theme:t}=e;return t.colors.fillWhite}),(e=>{let{theme:t}=e;return(0,ce.Qw)(.03,t.colors.fillWhite)}),ue,(e=>{let{theme:t}=e;return t.colors.fill}),(e=>{let{theme:t}=e;return t.colors.border}),(e=>{let{theme:t}=e;return t.colors.borderLight}),(e=>{let{theme:t}=e;return t.colors.borderLight}),(e=>{let{theme:t}=e;return t.colors.error}),(e=>{let{theme:t}=e;return t.colors.error}),(e=>{let{theme:t}=e;return t.colors.border}),(e=>{let{theme:t}=e;return t.colors.buy}),(e=>{let{theme:t}=e;return(0,ce.Qw)(.03,t.colors.buy)})),he=e=>{let{visible:t,handleCheckout:n}=e;const{cartType:r}=(0,C.useContext)(O.A),o=(0,b.jL)(),{t:a}=(0,S.B)(),{paymentType:s}=(0,w.T)(r),{isB2B:l}=(0,w.A)(g.F),c=l,u=()=>{o((0,N.FM)(r)()),o((0,N.ot)(r)(N.dm.B2BInvoice))},d=s===N.dm.B2BInvoice;return(0,R.jsxs)("div",{className:"mt-4",style:{display:t?"":"none"},children:[c&&(0,R.jsxs)(fe,{selected:d,onClick:u,className:"pointer",children:[(0,R.jsx)(me,{align:"center",justify:"between",children:(0,R.jsxs)(y.so,{align:"center",children:[(0,R.jsx)(y.sx,{bgColor:d?"fillWhite":"fill",defaultChecked:d,onChange:u}),(0,R.jsx)(ge,{align:"center",justify:"center",children:(0,R.jsx)(i.g,{size:"2x",icon:le.rEA})}),a("invoice.invoice_one","Invoice")]})}),d&&(0,R.jsx)(z,{text:a("cart.checkout","Place order"),onSubmit:n,borderRadius:"2px"})]}),(0,R.jsx)(de,{})]})},fe=E.Ay.div.withConfig({componentId:"sc-w20v1f-0"})(["padding:1rem;padding-left:1rem;background:",";border:1px solid ",";margin-bottom:-1px;"],(e=>{let{theme:t,selected:n}=e;return n?t.colors.fill:t.colors.fillWhite}),(e=>{let{theme:t}=e;return t.colors.borderLight})),me=(0,E.Ay)(y.so).withConfig({componentId:"sc-w20v1f-1"})([""]),ge=(0,E.Ay)(y.so).withConfig({componentId:"sc-w20v1f-2"})(["width:40px;height:26px;margin-right:8px;border-radius:3px;"]),ve=()=>{const{cartType:e}=(0,C.useContext)(O.A),{t:t}=(0,S.B)(),n=(0,b.jL)(),{splitDelivery:r,cmsOptions:i}=(0,b.Ty)(e),o=(0,b.GV)(g.q),a=(0,b.Ty)(e).valid.splitDelivery,s=t=>{n((0,N.n9)(e)({value:t,commerceType:o})),n((0,N.zm)(e)())};return a===M.H.Valid?(0,R.jsx)(y.gK,{onClick:()=>n((0,N.Au)(e)()),fontSize:"12px",color:"textFaded",children:t("action.change","Change")}):(0,R.jsxs)(R.Fragment,{children:[(0,R.jsxs)(ye,{className:"mt-3",children:[(0,R.jsx)(y.sx,{bgColor:"fill",checked:r,name:"agreement",className:"mb-2",onChange:()=>s(!0),label:t("general.yes","Yes")}),(0,R.jsx)(y.sx,{bgColor:"fill",checked:!1===r,name:"agreement",className:"mb-1",onChange:()=>s(!1),label:t("general.no","No")})]}),(0,R.jsx)(Ae,{className:"mt-3",children:i.splitOrderInfo})]})},ye=E.Ay.div.withConfig({componentId:"sc-5stfyh-0"})([""]),Ae=E.Ay.div.withConfig({componentId:"sc-5stfyh-1"})(["font-size:12px;color:",";"],(e=>{let{theme:t}=e;return t.colors.textFaded}));var be=n(81983);const we=()=>{var e,t;const{t:n}=(0,S.B)(),r=(0,b.jL)(),{cartType:i}=(0,C.useContext)(O.A),o=(0,b.GV)((e=>{var t;let{user:n}=e;return null===(t=n.userIdentity)||void 0===t?void 0:t.orderOptions})),{transportType:a}=(0,b.Ty)(i);return(0,b.Ty)(i).valid.transportType===M.H.Valid?1!==(null===o||void 0===o||null===(e=o.transportTypes)||void 0===e?void 0:e.length)?(0,R.jsx)(y.gK,{onClick:()=>{r((0,N.vK)(i)())},fontSize:"12px",color:"textFaded",children:n("action.change","Change")}):(0,R.jsx)(Se,{children:null===a||void 0===a?void 0:a.description}):(0,R.jsx)(xe,{className:"mt-3",children:null===o||void 0===o||null===(t=o.transportTypes)||void 0===t?void 0:t.map((e=>(0,R.jsxs)("div",{className:"mb-2",children:[(0,R.jsx)(y.sx,{bgColor:"fill",checked:e.value===(null===a||void 0===a?void 0:a.value),onChange:()=>{r((0,N.cw)(i)(e)),r((0,N.zm)(i)())},name:"agreement",label:e.name||""}),e.description&&(0,R.jsx)(Ce,{children:e.description})]},e.value)))})},xe=E.Ay.div.withConfig({componentId:"sc-15tavz-0"})([""]),Ce=E.Ay.div.withConfig({componentId:"sc-15tavz-1"})(["font-size:12px;color:",";margin-left:calc(1rem + 30px);margin-top:-4px;"],(e=>{let{theme:t}=e;return t.colors.textFaded})),Se=(0,E.Ay)(y.EY).withConfig({componentId:"sc-15tavz-2"})(["font-size:12px;"]),ke=e=>{var t,n;let{newAddressInfoHeader:i,newAddressInfoText:o,hideDeliveryOptionAndUseDefault:a}=e;const s=(0,b.jL)(),{t:l}=(0,S.B)(),{cartType:c}=(0,C.useContext)(O.A),{isB2BReseller:u,isB2B:d,commerceType:p}=(0,b.GV)(g.F),{valid:h,deliveryType:f,splitDelivery:v,orderNotification:A}=(0,w.T)(c),x=(0,b.GV)((0,N.As)(c)),k=(0,b.GV)((e=>{var t;let{siteDefinition:n}=e;return(null===(t=n.reseller)||void 0===t?void 0:t.selectorEnabled)&&u})),E=(0,b.GV)((0,N.WM)(c)),I=(0,b.GV)((0,N.Oo)(c)),_=(0,b.GV)((0,N.Ni)(c)),P=(0,b.GV)((0,N.Mk)(c)),T=(0,b.GV)((0,N.vQ)(c)),D=(0,b.GV)((0,N.ZD)(c)),j=(0,b.GV)((0,N.Rm)(c)),B=(0,b.GV)((0,N.Du)(c)),M=(0,b.GV)((0,N.gQ)(c)),F=(e,t)=>{const n=P.reduce(((e,n)=>t&&t===n.id?n.selected?e:[...e,n.id]:n.selected&&n.id?[...e,n.id]:e),new Array);s((0,N.Ff)(c)({options:{deliveryOption:null!==e&&void 0!==e?e:null===f||void 0===f?void 0:f.id,optionals:n}}))},z=e=>{s((0,N.JI)(c)(e)),s((0,N.G3)(c)({commerceType:p})),s((0,N.dj)(c)(D))};return(0,R.jsxs)(R.Fragment,{children:[E&&_.length>0&&(0,R.jsx)(m.iv,{header:l("shipment.deliveryType","Shipment type"),headerIcon:r.ZMv,validate:!0,valid:h.deliveryType,validText:null===f||void 0===f?void 0:f.name,errorText:l("validation.required","Required"),children:(0,R.jsx)(ee,{options:_,onChange:e=>F(e)})}),!E&&null!==j&&void 0!==j&&null!==(t=j.transportTypes)&&void 0!==t&&t.length&&j.transportTypes.length>1?(0,R.jsx)(m.iv,{header:l("shipment.transportType","Transport type"),headerIcon:r.ZMv,validate:!0,valid:h.transportType,validText:null===M||void 0===M?void 0:M.name,errorText:l("validation.required","Required"),children:(0,R.jsx)(we,{})}):null,x&&(0,R.jsx)(m.iv,{header:l("shipment.address","Delivery address"),headerIcon:r.WWd,validate:!0,valid:T?h.splittedAddresses:h.address,children:I?(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)(y.sx,{id:"use-multiple-shipments",bgColor:"fill",label:l("shipment.sendTo_one","Send to one address"),addRightMargin:!1,checked:!T,onChange:()=>z(!1)}),!T&&(0,R.jsx)(De,{children:(0,R.jsx)(G.Ay,{className:"mt-2",newAddressInfoText:o,newAddressInfoHeader:i,onEditAddress:()=>s((0,N.s8)(c)())})}),(0,R.jsx)(y.sx,{id:"use-splitted-shipments",bgColor:"fill",label:l("shipment.sendTo_other","Send to multiple addresses"),className:"mt-3",addRightMargin:!1,checked:T,onChange:()=>z(!0)}),T&&D&&(0,R.jsx)($.A,{isB2B:d})]}):(0,R.jsx)(G.Ay,{newAddressInfoText:o,newAddressInfoHeader:i,onEditAddress:()=>s((0,N.s8)(c)())})}),d?(0,R.jsx)(m.iv,{header:l("shipment.info","Shipment information"),headerIcon:r.DX_,validate:!0,valid:h.info,children:(0,R.jsx)(q,{})}):null,!E&&null!==j&&void 0!==j&&null!==(n=j.orderTypes)&&void 0!==n&&n.length&&j.orderTypes.length>1?(0,R.jsx)(m.iv,{header:l("order.type","Order type"),headerIcon:r.Inp,validate:!0,valid:h.orderType,validText:null===B||void 0===B?void 0:B.name,errorText:l("validation.required","Required"),children:(0,R.jsx)(ae,{})}):null,!E&&d&&null!==j&&void 0!==j&&j.acceptSplitDelivery&&!a?(0,R.jsx)(m.iv,{header:(0,R.jsxs)(R.Fragment,{children:[l("cart.allowSplit","Allow split order?"),(0,R.jsx)(m.aj,{className:"ml-2",icon:r.Inp})]}),validate:!0,valid:h.splitDelivery,validText:v?l("general.yes","Yes"):l("general.no","No"),errorText:l("validation.required","Required"),children:(0,R.jsx)(ve,{})}):null,E&&(null===P||void 0===P?void 0:P.length)>0&&(0,R.jsx)(m.iv,{header:l("shipment.deliveryOptional_other"),headerIcon:r.OKC,children:P.map((e=>{var t,n;return(0,R.jsx)(y.Sc,{id:`service_option_${e.id}`,bgColor:"fill",className:"mt-2",label:e.name,subLabel:null!==(t=e.description)&&void 0!==t?t:void 0,checked:null!==(n=e.selected)&&void 0!==n&&n,onChange:t=>{"number"===typeof e.id&&F(void 0,e.id)}},`service_option_${e.id}`)}))}),d&&!E&&(0,R.jsx)(m.iv,{header:l("general.notifications","Notifications"),headerIcon:r.isI,validate:!0,valid:h.orderNotification,validText:A.email&&(A.dispatch||A.confirmation)?A.email:l("general.no","No"),errorText:l("error.general","Something went wrong, please try again or contact support."),children:(0,R.jsx)(Y,{})}),k&&(0,R.jsx)(m.iv,{header:l("reseller.reseller_one","Reseller"),headerIcon:r.hod,validate:!0,valid:h.reseller,errorText:l("cart.errorSelectReseller","Please select reseller"),children:(0,R.jsx)(L,{})})]})},Ee="41px",Ie=(0,E.Ay)(y.so).withConfig({componentId:"sc-udlslm-0"})(["font-size:13px;margin-left:-20px;margin-right:-20px;"]),_e=(0,E.Ay)(i.g).withConfig({componentId:"sc-udlslm-1"})(["color:",";"],(e=>{let{theme:t}=e;return t.colors.accent})),Pe=(0,E.Ay)(y.so).withConfig({componentId:"sc-udlslm-2"})(["font-size:13px;"]),Oe=E.Ay.h4.withConfig({componentId:"sc-udlslm-3"})(["font-size:22px;height:",";margin:0;"],Ee),Te=E.Ay.aside.withConfig({componentId:"sc-udlslm-4"})(["background:",";h2{margin-bottom:0;}"],(e=>{let{theme:t}=e;return t.colors.fillWhite})),De=E.Ay.div.withConfig({componentId:"sc-udlslm-5"})(["margin-left:46px;"]),je=(0,E.Ay)(y.fv).withConfig({componentId:"sc-udlslm-6"})(["","{position:sticky;height:fit-content;transition:top 0.2s ease;top:20px;padding-top:",";","}"],(e=>{let{theme:t}=e;return t.media.lg}),(e=>{let{isB2B:t}=e;return t?Ee:0}),(e=>{let{$stuck:t}=e;return t&&"\n        top: 83px;\n        transition-duration: 0.5s;\n      "})),Be=E.Ay.div.withConfig({componentId:"sc-udlslm-7"})([""]),Ne=(0,E.Ay)(y.pd).withConfig({componentId:"sc-udlslm-8"})(["border-radius:calc((1.5em + 0.75rem + 2px) / 2);"]),Me=E.Ay.div.withConfig({componentId:"sc-udlslm-9"})(["padding-left:1rem;font-size:14px;",";"],(e=>{let{theme:t,valid:n}=e;return n!==M.H.Unknown&&`color: ${n===M.H.Valid?t.colors.success:t.colors.error};`})),Re=(0,E.Ay)(y.yP).withConfig({componentId:"sc-udlslm-10"})(["font-size:14px;line-height:1.2;"]),Le=E.Ay.div.withConfig({componentId:"sc-udlslm-11"})(["background:",";padding:3rem;padding-right:3.5rem;"],(e=>{let{theme:t}=e;return t.colors.fill})),Fe=e=>{var t,n,E,D,j,B,L;const F=(0,b.jL)(),{cartType:Q,cartHeader:V}=(0,C.useContext)(O.A),{t:G}=(0,S.B)(),{confirmed:q,delivery:H,quantity:W,cart:Y,isCartAvailable:K,campaign:J,campaignPending:X,minDate:Z,canSetDates:$,paymentInititated:ee,pending:te}=(0,w.T)(Q),ne=(0,b.GV)((0,N.KR)(Q)),re=(0,b.GV)(a.C5),{showHeader:oe}=(0,b.GV)((e=>{let{navigation:t}=e;return t})),{assortmentPages:ae,useCampaigns:se}=(0,b.GV)((e=>{let{siteDefinition:t}=e;return t})),{isB2BReseller:le,isB2B:ce,isB2C:ue}=(0,b.GV)(g.F),de=(0,b.GV)(f.eN),pe=(0,b.GV)(f.IV),fe=(0,b.GV)((0,N.IG)(Q)),me=(0,b.GV)(f.GY).has("ExternalCustomers"),ge=(0,b.GV)(u.vW),ve=(0,b.GV)((0,N._O)(Q)),ye=(0,b.GV)((0,N.wU)(Q)),Ae=(0,b.GV)((0,N.t8)(Q)),we=(0,b.GV)((0,N.dt)(Q)),xe=(0,b.GV)((0,N.Cp)(Q)),Ce=(0,b.GV)(p.Lt.externalCustomerNames),Se=(0,b.GV)((0,N.Xu)(Q)),Ee=(0,b.GV)((0,N.QB)(Q)),De=(0,b.GV)((0,N.zW)(Q)),Fe=(0,b.GV)(l.Bm),ze=(0,b.GV)((0,N.WM)(Q)),{refinementPolicies:Qe,termsAndConditionsPage:Ue,refinementOrderInformationMessage:Ve}=(0,b.GV)(N.u5),Ge=null!==ae&&void 0!==ae&&ae.length?ae.find((e=>void 0===e.parent)):null,[qe,He]=(0,C.useState)(!1),[We,Ye]=(0,C.useState)(!1),[Ke,Je]=(0,C.useState)(!1),Xe=(null===q||void 0===q?void 0:q.success)===x.CheckoutResult.Success;(0,C.useEffect)((()=>(0,_.eG)()),[qe,We]),(0,C.useEffect)((()=>{Ee&&F((0,N.u9)(Q)())}),[Ee,F,Q]),(0,C.useEffect)((()=>{K&&"uninitialized"===fe&&(F((0,N.O3)(Q)()),F((0,o.Xv)()))}),[F,Q,fe,K]),(0,C.useEffect)((()=>{"Authorised"!==(null===ne||void 0===ne?void 0:ne.resultCode)&&(null===q||void 0===q?void 0:q.success)!==x.CheckoutResult.Success||Ye(!0)}),[ne,We,q]),(0,C.useEffect)((()=>{ne&&!ee&&F((0,N.HY)(Q)())}),[ne,ee,F,Q]),(0,C.useEffect)((()=>{Xe&&!qe&&He(!0)}),[Xe,qe]);const Ze=e=>{var t;F((0,N.o$)(Q)({refinementPolicies:{...null!==(t=null===H||void 0===H?void 0:H.refinementPolicies)&&void 0!==t?t:{},[e.target.name]:e.target.checked}}))},$e=e=>{e.preventDefault(),F((0,N.Pt)(Q)(!1))},et=(0,b.d7)((e=>{F((0,N.Uy)(Q)(e||""))}),300);if(!K)return null;const tt=te;return(0,R.jsxs)(y.mc,{grid:!1,className:"px-3",children:[(0,R.jsx)(k.sv,{}),e.topContent&&(0,R.jsx)(v.A,{name:"TopContent",model:e.topContent}),(0,R.jsxs)("div",{children:[!Xe&&!qe&&(0,R.jsx)(y.zY,{className:"f1-700",children:V}),(0,R.jsx)(y.mc,{className:"py-4 f3-400",children:!Xe&&!qe&&(0,R.jsxs)(R.Fragment,{children:[(W>0||tt)&&(0,R.jsxs)(R.Fragment,{children:[(0,R.jsxs)(je,{id:"cartitems",$stuck:!!oe,lg:"7",isB2B:ce,children:[(0,R.jsxs)(y.so,{justify:"end",className:"mb-3",$wrap:!0,gap:"6px",children:[(0,R.jsx)(s.i,{productNumbers:null===Y||void 0===Y||null===(t=Y.products)||void 0===t?void 0:t.map((e=>{var t;return null!==(t=e.productNumber)&&void 0!==t?t:""})),refinements:null===Y||void 0===Y?void 0:Y.refinements,variationNumbers:(0,N.Uz)(null===Y||void 0===Y?void 0:Y.products),pdfCartVariations:null===Y||void 0===Y||null===(n=Y.products)||void 0===n?void 0:n.flatMap((e=>{var t,n;return null!==(t=null===(n=e.variations)||void 0===n?void 0:n.filter((e=>!0!==e.refinementProduct)))&&void 0!==t?t:[]})),origin:"cart",selectedTab:"pdf",square:!0}),ce&&(0,R.jsx)(y.so,{align:"center",children:$&&ce&&(0,R.jsx)(y.so,{children:(0,R.jsx)(y.t1,{minDate:Z,customInput:(0,R.jsx)(y.K0,{icon:r.BEE,bgColor:"fillWhite",large:!0,square:!0,children:G("shipment.requestDateChange","Do you want to change dispatch date?")}),onChange:e=>e instanceof Date&&F((0,N.Lv)(Q)(e)),header:G("shipment.requestDate","Request dispatch date")})})})]}),Se===x.CartPriceMode.Error&&(0,R.jsx)(y.EY,{bold:!0,center:!0,color:"error",small:!0,children:G("cart.errorCouldNotCalculateRow")}),(0,R.jsx)(T.A,{})]}),(0,R.jsxs)(y.fv,{lg:"5",className:"mt-4 mt-lg-0",children:[(0,R.jsx)(Oe,{className:"f1-700",children:G("general.summary","Summary")}),(0,R.jsxs)(Te,{children:[ce&&(null===pe||void 0===pe?void 0:pe.invoiceAdress)&&(0,R.jsx)(m.iv,{header:`${G("invoice.address","Billing address")} (${G("general.cantChange","Cannot be changed")})`,locked:!0,children:(0,R.jsxs)("div",{children:[pe.invoiceAdress.street,", ",pe.invoiceAdress.zipCode,","," ",pe.invoiceAdress.city]})}),(0,R.jsx)(ke,{hideDeliveryOptionAndUseDefault:e.hideDeliveryOptionAndUseDefault,newAddressInfoHeader:e.newAddressInfoHeader,newAddressInfoText:e.newAddressInfoText}),(0,R.jsxs)(m.e8,{children:[Fe&&(0,R.jsx)(be.A,{className:"f3-700"}),se&&(0,R.jsxs)(Be,{className:"mt-4 mb-4",children:[(0,R.jsx)(Ne,{label:G("campaign.code","Campaign code"),name:"Campaign",type:"text",error:!(X||null===J||void 0===J||!J.code||J.valid)||void 0,loading:X,defaultValue:(null===J||void 0===J?void 0:J.code)||"",onChange:e=>et(e.target.value)}),!X&&(null===J||void 0===J?void 0:J.code)&&(0,R.jsx)(Me,{className:"mt-1",valid:J.valid?M.H.Valid:M.H.Invalid,children:J.valid?`${G("campaign.code","Campaign code")} ${J.discount}`:G("campaign.error","Invalid code")})]}),(null===(E=e.orderInformationMessage)||void 0===E?void 0:E.value)&&(0,R.jsxs)(Ie,{className:"p-3 py-4",children:[(0,R.jsx)(_e,{size:"2x",className:"mr-3",icon:r.iW_}),(0,R.jsx)(v.A,{name:"orderInformationMessage",model:e.orderInformationMessage})]}),ze&&(null===Ve||void 0===Ve?void 0:Ve.value)&&(0,R.jsxs)(Ie,{className:"p-3 py-4",children:[(0,R.jsx)(_e,{size:"2x",className:"mr-3",icon:r.iW_}),(0,R.jsx)(v.A,{name:"refinementOrderInformationMessage",model:Ve})]}),ze&&null!==Qe&&void 0!==Qe&&Qe.value&&(null===Qe||void 0===Qe||null===(D=Qe.value)||void 0===D?void 0:D.length)>0?(0,R.jsx)(y.so,{className:"mt-4",column:!0,gap:"10px",children:Qe.value.map((e=>{var t;return(0,R.jsx)(y.so,{justify:"start",children:(0,R.jsx)(y.Sc,{required:!0,type:"checkbox",name:e.key,onChange:Ze,checked:!(null===H||void 0===H||null===(t=H.refinementPolicies)||void 0===t||!t[e.key]),validate:De.terms===M.H.Invalid,bgColor:"fill",id:e.key,label:(0,R.jsx)(v.A,{name:`refinementPolicy${e.key}`,model:{propertyDataType:"PropertyXhtmlString",value:e.text}})})},`policy_${e.key}`)}))}):!!Ue&&!Ae&&(0,R.jsx)(y.so,{className:"mt-5",justify:"start",children:(0,R.jsx)(y.Sc,{type:"checkbox",name:"agreement",onChange:e=>{F((0,N.o$)(Q)({[e.target.name]:e.target.checked}))},checked:!(null===H||void 0===H||!H.agreement),required:!0,validate:De.terms===M.H.Invalid,bgColor:"fill",id:"agreement",label:(0,R.jsxs)(R.Fragment,{children:[`${G("general.agreeTo","Agree to")} `,(0,R.jsx)(y.N_,{to:Ue,children:(0,P.PX)(G("general.terms","Terms and conditions"))})]})})}),de&&"offerCart"!==Q&&(0,R.jsx)(h.A,{className:"mt-2",small:!0}),(null===ve||void 0===ve?void 0:ve.customer)&&(0,R.jsx)(Re,{className:"my-3",color:"attentionText",bgColor:"attention",children:(0,R.jsxs)("div",{className:"text-center",children:[(0,R.jsxs)(y.EY,{color:"attentionText",extraBold:!0,uppercase:!0,children:[ve.customer.customerCode," ",null!==(j=ve.customer.customerName)&&void 0!==j?j:G("seller.customer")]}),(0,R.jsx)(y.EY,{color:"attentionText",children:ve.customer.fullName}),(0,R.jsx)(y.EY,{color:"attentionText",children:ve.customer.email})]})}),me&&!(null!==ve&&void 0!==ve&&ve.customer)&&(0,R.jsxs)(Re,{className:"my-3",color:"text",bgColor:null!==H&&void 0!==H&&H.companyId?"accent":"error",children:[null!==H&&void 0!==H&&H.companyId?(0,R.jsx)(y.EY,{color:"accentText",extraBold:!0,children:null!==(B=null!==(L=Ce[H.companyId])&&void 0!==L?L:H.companyId)&&void 0!==B?B:G("seller.customer")}):(0,R.jsx)(y.EY,{color:"attentionText",children:G("offer.warnExternalCustomerMissing","Missing customer reference!")}),(0,R.jsx)(y.K0,{className:"ml-3",icon:r.USd,square:!0,small:!0,onClick:()=>Je(!0),children:G("seller.selectCustomer")}),Ke&&(0,R.jsx)(A.lG,{blur:!0,tint:!0,closeOutside:!0,maxHeight:"90%",onClose:()=>{Je(!1)},children:(0,R.jsx)(Le,{children:(0,R.jsx)(d.bO,{onSelect:async e=>{Je(!1),ge&&F((0,u.nP)({id:ge,customer:{customerCode:e.customerCode,customerName:e.customerName,email:void 0,fullName:void 0}}));const t=e.address?{addressId:999,...e.address,companyId:e.id,company:e.customerName}:{companyId:e.id,company:e.customerName};F((0,N.o$)(Q)(t)),F((0,N.zm)(Q)())},selectedId:null===H||void 0===H?void 0:H.companyId})})})]}),ye&&(0,R.jsx)(Re,{className:"my-3",color:"text",bgColor:"fillMedium",children:(0,R.jsxs)(Pe,{className:"p-2",align:"center",children:[(0,R.jsx)(_e,{size:"2x",className:"mr-3",icon:r.iW_}),(0,R.jsx)(y.EY,{fontSize:14,bold:!0,children:ye})]})}),Ae&&(0,R.jsxs)(Re,{className:"my-3",color:"text",bgColor:"fillMedium",children:[(0,R.jsxs)(Pe,{className:"p-2",align:"center",children:[(0,R.jsx)(i.g,{size:"2x",className:"mr-3",icon:r.tUE,color:I.A.colors.error}),(0,R.jsx)(y.EY,{fontSize:14,bold:!0,children:Ae})]}),(0,R.jsx)(c.A,{hideTitle:!0,className:"text-center w-100"})]}),Ae?null:xe?(0,R.jsx)(he,{visible:!0,handleCheckout:$e}):(0,R.jsx)(z,{borderRadius:ue?"2px":void 0,onSubmit:xe?e=>{e.preventDefault(),F((0,N.wM)(Q)())}:$e,text:xe?`${G("action.select")} ${G("cart.payment","Payment").toLowerCase()}`:G("cart.checkout",{defaultValue:"Place order",context:le?"request":""}),bgColor:De.all===M.H.Invalid?"error":xe?"accent":"buy",color:xe&&De.all!==M.H.Invalid?"buyText":"textWhite"})]})]}),!ce&&we&&(0,R.jsx)(ie,{})]})]}),0===W&&!te&&(0,R.jsx)(y.fv,{children:(0,R.jsx)(y.so,{justify:"center",className:"my-5",children:(0,R.jsxs)("div",{children:[(0,R.jsx)(y.EY,{large:!0,light:!0,children:G("cart.empty","Your cart is empty")}),(0,R.jsx)("div",{className:"text-right mt-2 f1-500",children:(0,R.jsx)(y.N_,{noStyle:!0,to:(null===Ge||void 0===Ge?void 0:Ge.url)||re,children:(0,R.jsxs)(y.so,{justify:"between",align:"center",children:[(0,R.jsx)(y.EY,{large:!0,light:!0,className:"mr-3",children:G("cart.continueShopping","Continue shopping")}),(0,R.jsx)(y.K0,{icon:r.dmS,bgColor:"fillWhite"})]})})})]})})})]})}),(0,R.jsx)("div",{className:"py-5 mb-5",children:(Xe||qe)&&(0,R.jsx)(U,{successText:e.successText,assortmentUrl:(null===Ge||void 0===Ge?void 0:Ge.url)||re,onContinueShopping:()=>He(!1)})})]})]})}},92414:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});const r={cartType:"shoppingCart",cartHeader:"Cart"},i=n(9950).createContext(r)},12148:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});var r=n(33453),i=n(7691),o=n(9950),a=n(70030),s=n(24937),l=n(92414),c=n(41107),u=n(46027),d=n(93522),p=n(4448),h=n(44414);const f=e=>{var t,n,s,f;let{forceSize:g,onLink:v}=e;const{cartType:y}=(0,o.useContext)(l.A),A=(0,i.T)(y).cart,b=(0,i.A)((0,c.T9)(y)),w=(0,i.A)((0,c.gq)(y)),{t:x}=(0,a.B)(),C=null!==(t=b.get("articles"))&&void 0!==t?t:[],S=null!==(n=b.get("refinements"))&&void 0!==n?n:[];if(!A)return null;const k=!(null===(s=A.products)||void 0===s||!s.find((e=>{var t;return null===(t=e.variations)||void 0===t?void 0:t.find((e=>e.invalid))})));return(0,h.jsxs)(m,{className:"f1-500 w-100",children:[k&&(0,h.jsx)(r.Qx,{className:"mb-2",children:x("cart.errorInvalidProducts","Some products are not compatible in the same order. The invalid products will remain in the cart but not included in the current order.")}),w.map(((e,t)=>(0,h.jsxs)(r.Qx,{className:"mb-2",children:[e,":"," ",x("cart.warnNoStockAfterTransaction","Article will have no stock left after transaction. Note that cart quantity is modified accordingly.")]},t))),null===(f=A.products)||void 0===f?void 0:f.map(((e,t)=>{var n;return null!==(n=e.variations)&&void 0!==n&&n[0].refinementProduct?(0,h.jsx)(d.A,{product:e,refinements:C,forceSize:g,onLink:v},`${e.productNumber}_${t}`):(0,h.jsx)(u.A,{product:e,forceSize:g,onLink:v,refinements:S},`${e.productNumber}_${t}`)})),S.length>0&&(0,h.jsx)(h.Fragment,{children:(0,h.jsx)(p.A,{refinements:S,forceSize:g,cartType:y})})]})},m=s.Ay.div.withConfig({componentId:"sc-1ltmuoh-0"})(["font-size:12px;"])},8268:(e,t,n)=>{"use strict";n.d(t,{A:()=>E});var r=n(22360),i=n(28181),o=n(74959),a=n(73983),s=n(99393),l=n(63211),c=n(58847),u=n(27825),d=n(7436),p=n(78225),h=n(33453),f=n(23017),m=n(55951),g=n(9950),v=n(70030),y=n(34911),A=n(12180),b=n(24937),w=n(24872),x=n(92414),C=n(41107),S=n(97383),k=n(44414);const E=e=>{var t,n,o,m,y,b,E,D,B;let{addonIndex:Q,addonIds:U,addons:V,img:G,imgAlt:Z,name:$,sku:ee,product:te,quantity:ne,info:re,colors:ie,colorChange:oe,price:ae,priceRegular:se,total:le,variationNumber:ce,invalidVariation:ue,onQtyChange:de,onEditRefinements:pe,onRemoveColor:he,files:fe,stockOperations:me,articleDate:ge,options:ve}=e;const{t:ye}=(0,v.B)(),Ae=(0,f.cb)(null===ve||void 0===ve?void 0:ve.forceSize),{cartType:be}=(0,g.useContext)(x.A),{localCart:we}=(0,f.Ty)(be),{isB2B:xe,isB2C:Ce}=(0,f.GV)(s.F),Se=!(0,f.GV)(c.Bm),ke=(0,f.GV)(l.Xw),Ee=(0,f.GV)(u.iZ),Ie=(0,f.GV)((0,C.oM)(be)),_e=(0,f.GV)(C.u5),Pe=(0,f.GV)((0,C.aq)(be)),Oe=we[ce],[Te,De]=(0,g.useState)(!1),[je,Be]=(0,g.useState)(void 0),[Ne,Me]=(0,g.useState)(null!==ee&&void 0!==ee&&ee.sku&&(null===Oe||void 0===Oe?void 0:Oe.skus[ee.sku].comment)||""),Re=null!==ee&&void 0!==ee&&ee.sku?null===Oe||void 0===Oe?void 0:Oe.skus[ee.sku].date:void 0,[Le,Fe]=(0,g.useState)(null===Re||void 0===Re?void 0:Re.date),ze=(0,f.jL)();(0,g.useEffect)((()=>{Fe(null===Re||void 0===Re?void 0:Re.date)}),[Re]);const Qe=()=>{"number"===typeof Q?ze((0,C.my)(be)(Q)):Ue(0,!0)},Ue=(e,t)=>{if(!de||Number.isNaN(e)||null===ee||void 0===ee||!ee.sku)return;const n=ee.sku,r=Oe.skus[n].qty,i=(Oe.minQty||1)-(Oe.variationQty-r);!(r===Oe.variationQty&&0===e)&&e<i?((0,A.oR)((()=>(0,k.jsx)(p.A,{header:`${ye("cart.minOrderQty","Minimum order quantity")}: ${Oe.minQty}`,message:`${ye("cart.minOrderQtyInfo","If you want to change to a lower quantity, you need to first add more to another size.")}`,actionText:ye("cart.removeVariation","Remove variation"),onAction:()=>{he&&he()},ok:!0})),{toastId:"cartQuantityError"+ce,position:"top-center",autoClose:8e3}),de(n,i,t)):de(n,e,t)},Ve=e=>{(null===ee||void 0===ee?void 0:ee.sku)&&ce&&ze((0,C.xE)(be)({variation:ce,sku:ee.sku,comment:e}))},Ge=e=>{e instanceof Date&&((null===ee||void 0===ee?void 0:ee.sku)&&ce&&ze((0,C.Wm)(be)({variation:ce,sku:ee.sku,date:e})),Fe(e))};if("number"!==typeof Q&&(!ee||!Oe))return null;const qe=()=>!Re||Re.unknown?_e.unknownTextSummary?(0,k.jsx)(K,{fontSize:"10px",className:"f3-400",onClick:()=>Be(_e.unknownTextSummary),children:_e.unknownText}):(0,k.jsx)(Y,{className:"f3-400",children:_e.unknownText}):(0,k.jsxs)(H,{children:[(0,k.jsx)(q,{bgColor:Re.requested||Re.note?"warning":void 0,minDate:null!==ee&&void 0!==ee&&ee.dispatchDate?new Date(ee.dispatchDate):void 0,selectedDate:Le,onChange:Ge,header:ye("shipment.requestDate","Request dispatch date")}),Re.note&&(0,k.jsx)(W,{className:"f3-400",children:Re.note})]}),He=Ae.smBelow||"sm"===(null===ve||void 0===ve?void 0:ve.forceSize),We=Ae.xsBelow||"xs"===(null===ve||void 0===ve?void 0:ve.forceSize),Ye=!1===(null===ee||void 0===ee?void 0:ee.valid),Ke=!!Ce||Ye,Je=Ye||ue,Xe=U&&U.length>0;return(0,k.jsxs)(k.Fragment,{children:[me&&(0,k.jsx)(d.A,{...me,date:ge}),(0,k.jsxs)(j,{className:"px-2 pt-2 pb-1 f3-500",invalid:Je,hovered:"number"===typeof ke&&Q===ke,children:[(0,k.jsx)(a.LT,{comment:Ne,addonIndex:Q,editingComment:Te,info:re,colors:ie,colorChange:oe,name:$,productNumber:null!==(t=null===te||void 0===te?void 0:te.productNumber)&&void 0!==t?t:"",files:fe,img:G,imgAlt:Z,invalid:Ye,invalidVariation:Je,setEditingComment:De,onEditRefinements:pe,variationNumber:ce,options:{image:null===ve||void 0===ve?void 0:ve.image,tinyIcon:Ae.smBelow,hide:{comment:Ke}}}),!(null!==ve&&void 0!==ve&&null!==(n=ve.hide)&&void 0!==n&&n.qty)&&(0,k.jsxs)(M,{children:[null!==ve&&void 0!==ve&&null!==(o=ve.viewOnly)&&void 0!==o&&o.qty?(0,k.jsx)(z,{children:null!==ne&&void 0!==ne?ne:""}):null!==ee&&void 0!==ee&&ee.sku&&te&&ce?(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(I,{pending:Ie,onQtyChange:e=>Ue(+e.target.value),quantity:Oe.skus[ee.sku].qty,disabled:Ye}),(null===(m=ee.price)||void 0===m?void 0:m.inboxItems)&&ee.price.inboxItems>1&&ee.quantity&&(0,k.jsxs)(z,{children:["(",ee.price.inboxItems*ee.quantity," ",ye("stock.pcs","pcs"),")"]})]}):de&&ne&&"number"===typeof Q?(0,k.jsx)(I,{pending:Ie,onQtyChange:e=>de(Q,+e.target.value),quantity:ne}):`${null!==ne&&void 0!==ne?ne:""} `,!(null!==ve&&void 0!==ve&&null!==(y=ve.hide)&&void 0!==y&&y.date)&&We&&xe&&(Xe&&Le?(0,k.jsx)(K,{fontSize:"13px",className:"f3-400 mt-2",onClick:()=>{Be(_e.refinementDeliveryDateTextSummary)},children:(0,w.t7)(new Date(Le))}):!Xe&&!Je&&(0,k.jsx)(qe,{})),!Se&&He&&(0,k.jsx)(O,{valid:!Je,total:le,regular:se}),We&&!(null!==ve&&void 0!==ve&&null!==(b=ve.hide)&&void 0!==b&&b.remove)&&(ee||"number"===typeof Q)&&(0,k.jsx)(h.gK,{fontSize:"13px",className:"f3-400 d-block mt-1",onClick:()=>!Ie&&Qe(),children:ye("action.remove","Remove")})]}),!Se&&!(null!==ve&&void 0!==ve&&null!==(E=ve.hide)&&void 0!==E&&E.customerPrices)&&!He&&!We&&(0,k.jsxs)(k.Fragment,{children:[(0,k.jsxs)(N,{className:"position-relative",children:[Pe&&(0,k.jsx)(_,{}),!Je&&(0,k.jsx)(P,{price:ae,regular:se})]}),(0,k.jsxs)(N,{className:"position-relative",children:[Pe&&(0,k.jsx)(_,{}),!Je&&(0,k.jsx)(T,{total:le,regular:se})]})]}),null!==ve&&void 0!==ve&&null!==(D=ve.hide)&&void 0!==D&&D.date||We||!xe?null:(0,k.jsx)(R,{children:Xe&&Le?(0,k.jsx)(K,{fontSize:"12px",className:"f3-400",onClick:()=>{Be(_e.refinementDeliveryDateTextSummary)},children:(0,w.t7)(new Date(Le))}):!Xe&&!Je&&(0,k.jsx)(qe,{})}),!We&&!(null!==ve&&void 0!==ve&&null!==(B=ve.hide)&&void 0!==B&&B.remove)&&(ee||"number"===typeof Q)&&(0,k.jsx)(L,{children:(0,k.jsx)(h.K0,{className:"flex-shrink-0",icon:r.GRI,onClick:Qe,disabled:Ie})}),(null===ve||void 0===ve?void 0:ve.additionalCell)&&(0,k.jsx)(N,{children:null===ve||void 0===ve?void 0:ve.additionalCell})]}),Te&&(0,k.jsx)(F,{className:"p-2",children:(0,k.jsx)(h.pd,{autoFocus:!0,maxLength:null===_e||void 0===_e?void 0:_e.productCommentMaxLength,placeholder:`${ye("general.commentSet","Set comment")} (${null!==_e&&void 0!==_e&&_e.productCommentMaxLength?ye("validation.maxLength",{defaultValue:"max {{max}} character",max:null===_e||void 0===_e?void 0:_e.productCommentMaxLength,context:1===_e.productCommentMaxLength?"one":"other"}):""})`,value:Ne,onKeyUp:e=>{"Enter"===e.key&&(Ve(e.currentTarget.value),De(!1))},onChange:e=>Me(e.currentTarget.value),onBlur:e=>{Ve(e.currentTarget.value),setTimeout((()=>De(!1)),150)}})}),Ee&&"number"!==typeof Q&&ce&&(0,k.jsx)(S.A,{className:"p-2 s",variationNumber:ce,refinements:V||[],sku:null===ee||void 0===ee?void 0:ee.sku,fontSize:12,origin:be}),je&&(0,k.jsxs)(J,{className:"p-2",align:"center",justify:"between",children:[(0,k.jsxs)(h.so,{align:"center",children:[(0,k.jsx)(X,{icon:i.iW_,className:"ml-2 mr-3"}),je]}),(0,k.jsx)(h.K0,{className:"flex-shrink-0",icon:r.EZy,onClick:()=>Be(void 0)})]})]})},I=e=>{let{onQtyChange:t,quantity:n,pending:r,disabled:i}=e;return(0,k.jsx)(h.pd,{disabled:i||r,type:"number",value:(null!==n&&void 0!==n?n:"").toString(),onChange:t})},_=()=>{const e=(0,b.DP)();return(0,k.jsx)(y.z,{baseColor:(0,m.a)(.25,null===e||void 0===e?void 0:e.colors.accent),highlightColor:null===e||void 0===e?void 0:e.colors.accent,children:(0,k.jsx)(G,{height:3,width:20})})},P=e=>{let{price:t,regular:n}=e;return n?(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(Q,{children:n}),(0,k.jsx)(U,{children:t})]}):(0,k.jsx)(V,{children:"loading..."===t?(0,k.jsx)(y.A,{width:50,height:"1.2em"}):t})},O=e=>{let{total:t,regular:n,valid:r}=e;return n?(0,k.jsx)(k.Fragment,{children:(0,k.jsx)(U,{className:"mt-2",children:r&&t})}):(0,k.jsx)(V,{className:"mt-2",children:r&&t})},T=e=>{let{total:t,regular:n}=e;return n?(0,k.jsx)(k.Fragment,{children:(0,k.jsx)(U,{children:t})}):(0,k.jsx)(V,{children:t})},D=(0,b.Ay)(h.so).withConfig({componentId:"sc-115o3mv-0"})(["font-size:12px;align-items:center;"]),j=(0,b.Ay)(D).withConfig({componentId:"sc-115o3mv-1"})(["background:white;min-height:59px;margin-bottom:2px;justify-content:flex-end;flex-wrap:wrap;transition:background-color 0.2s linear;"," ","{flex-wrap:nowrap;}",""],(e=>{let{hovered:t,theme:n}=e;return t&&`background: ${n.colors.fillMedium};`}),(e=>{let{theme:t}=e;return t.media.sm}),(e=>{let{invalid:t}=e;return t&&"opacity: 0.6;"})),B=b.Ay.div.withConfig({componentId:"sc-115o3mv-2"})(["flex-shrink:0;"]),N=(0,b.Ay)(B).withConfig({componentId:"sc-115o3mv-3"})(["text-align:right;width:85px;"]),M=(0,b.Ay)(N).withConfig({componentId:"sc-115o3mv-4"})(["width:90px;display:flex;flex-direction:column;align-items:flex-end;align-self:center;justify-content:stretch;gap:4px;> *:nth-child(2){line-height:1;}"]),R=(0,b.Ay)(N).withConfig({componentId:"sc-115o3mv-5"})(["padding-left:25px;width:113px;@supports (-webkit-overflow-scrolling:touch){padding-left:10px;width:117px;}"]),L=(0,b.Ay)(N).withConfig({componentId:"sc-115o3mv-6"})(["display:flex;justify-content:end;align-self:center;width:calc(34px + 0.8rem);"]),F=(0,b.Ay)(B).withConfig({componentId:"sc-115o3mv-7"})(["background:white;"]),z=b.Ay.div.withConfig({componentId:"sc-115o3mv-8"})(["color:",";"],(e=>{let{theme:t}=e;return t.colors.textLight})),Q=(0,b.Ay)(z).withConfig({componentId:"sc-115o3mv-9"})(["color:",";text-decoration:line-through;"],(e=>{let{theme:t}=e;return t.colors.text})),U=(0,b.Ay)(z).withConfig({componentId:"sc-115o3mv-10"})(["color:",";"],(e=>{let{theme:t}=e;return t.colors.attention})),V=(0,b.Ay)(z).withConfig({componentId:"sc-115o3mv-11"})(["color:",";"],(e=>{let{theme:t}=e;return t.colors.priceText})),G=(0,b.Ay)(y.A).withConfig({componentId:"sc-115o3mv-12"})(["position:absolute;top:100%;right:0;"]),q=(0,b.Ay)(h.t1).withConfig({componentId:"sc-115o3mv-13"})(["width:100%;input{text-align:right;}"]),H=b.Ay.div.withConfig({componentId:"sc-115o3mv-14"})(["position:relative;padding-bottom:12px;","{padding-bottom:0px;}"],(e=>{let{theme:t}=e;return t.media.xs})),W=b.Ay.div.withConfig({componentId:"sc-115o3mv-15"})(["font-size:10px;color:",";margin-top:1px;white-space:break-spaces;position:absolute;bottom:-2px;right:0;","{bottom:auto;top:100%;}"],(e=>{let{theme:t}=e;return t.colors.textLight}),(e=>{let{theme:t}=e;return t.media.xs})),Y=b.Ay.div.withConfig({componentId:"sc-115o3mv-16"})(["max-width:100px;font-size:10px;white-space:break-spaces;display:inline-block;"]),K=(0,b.Ay)(h.gK).withConfig({componentId:"sc-115o3mv-17"})(["",""],Y),J=(0,b.Ay)(h.so).withConfig({componentId:"sc-115o3mv-18"})(["white-space:normal;"]),X=(0,b.Ay)(o.g).withConfig({componentId:"sc-115o3mv-19"})(["font-size:16px;"])},72727:(e,t,n)=>{"use strict";n.d(t,{A:()=>h});var r=n(74959),i=n(26681),o=n(58847),a=n(99393),s=n(33453),l=n(23017),c=(n(9950),n(70030)),u=n(24937),d=n(44414);const p=e=>{let{name:t,product:n,onLink:o,icon:a}=e;return n?(0,d.jsxs)(i.A,{onClick:()=>o&&o(),product:n,children:[a&&(0,d.jsx)(r.g,{icon:a,className:"mr-2"}),null!==t&&void 0!==t?t:n.productNumber]}):(0,d.jsxs)(s.EY,{children:[a&&(0,d.jsx)(r.g,{icon:a,className:"mr-2"}),t]})},h=e=>{var t,n,r,i;let{name:s,onLink:u,product:h,icon:f,options:m,isBox:C}=e;const{t:S}=(0,c.B)(),k=(0,l.cb)(null===m||void 0===m?void 0:m.size),{isB2B:E}=(0,l.GV)(a.F),I=E&&!(null!==m&&void 0!==m&&null!==(t=m.hide)&&void 0!==t&&t.date),_=!(0,l.GV)(o.Bm);return(0,d.jsxs)(v,{className:"mb-1 px-2 f1-500",children:[(0,d.jsx)(w,{children:!(null!==m&&void 0!==m&&null!==(n=m.hide)&&void 0!==n&&n.name)&&(0,d.jsx)(p,{name:s,product:h,onLink:u,icon:f})}),null!==m&&void 0!==m&&null!==(r=m.hide)&&void 0!==r&&r.tableHeaders?null:(0,d.jsxs)(d.Fragment,{children:[!(null!==m&&void 0!==m&&null!==(i=m.hide)&&void 0!==i&&i.qty)&&(0,d.jsxs)(y,{children:[S("cart.quantity","Quantity")," ",x(S,h)]}),!_&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)(g,{hide:k.smBelow,children:[S("price.price","Price"),C&&` / ${S("stock.box")}`]}),(0,d.jsx)(g,{hide:k.smBelow,children:S("general.total")})]}),I&&(0,d.jsx)(A,{hide:k.xsBelow,children:S("shipment.date","Dispatch date")}),(0,d.jsx)(b,{hide:k.xsBelow})]})]})},f=u.Ay.div.withConfig({componentId:"sc-1ku37w6-0"})(["flex-shrink:0;",""],(e=>{let{hide:t}=e;return t&&"display: none;"})),m=(0,u.Ay)(f).withConfig({componentId:"sc-1ku37w6-1"})(["text-align:right;width:85px;"]),g=(0,u.Ay)(m).withConfig({componentId:"sc-1ku37w6-2"})(["font-weight:500;color:",";"],(e=>{let{theme:t}=e;return t.colors.textLight})),v=(0,u.Ay)(s.so).withConfig({componentId:"sc-1ku37w6-3"})(["align-items:flex-end;"]),y=(0,u.Ay)(g).withConfig({componentId:"sc-1ku37w6-4"})(["width:90px;"]),A=(0,u.Ay)(g).withConfig({componentId:"sc-1ku37w6-5"})(["width:113px;@supports (-webkit-overflow-scrolling:touch){width:117px;}"]),b=(0,u.Ay)(m).withConfig({componentId:"sc-1ku37w6-6"})(["width:calc(34px + 0.8rem);"]),w=(0,u.Ay)(g).withConfig({componentId:"sc-1ku37w6-7"})(["font-size:14px;color:",";text-align:left;flex-grow:2;flex-shrink:2;white-space:pre-line;a:hover{text-decoration:underline;}"],(e=>{let{theme:t}=e;return t.colors.text}));function x(e,t){var n,r,i;if(!t)return e("stock.pcs","pcs");if(null===(n=t.variations)||void 0===n||!n.length||null===(r=t.variations[0].skus)||void 0===r||!r.length)return"price.pieces";const o=null===(i=t.variations[0].skus[0].price)||void 0===i?void 0:i.inboxItems;return o&&o>1?`${e("stock.box","box")}`:e("stock.pcs","pcs")}},46027:(e,t,n)=>{"use strict";n.d(t,{A:()=>g});var r=n(41107),i=n(23017),o=n(64267),a=n.n(o),s=n(69435),l=n(9950),c=n(24937),u=n(24380),d=n(92414),p=n(8268),h=n(72727),f=n(44414);const m=e=>{var t;let{variation:n,product:o,forceSize:c,refinementImage:h,addons:m}=e;const g=(0,i.jL)(),{cartType:A}=(0,l.useContext)(d.A),b=(0,i.GV)((0,r.Xu)(A)),w=(e,t,i)=>{Number.isNaN(t)||"string"!==typeof e||(g((0,r.AL)(A)([{variation:n.variationNumber,sku:e,qty:Math.round(t)}])),i?x():((0,r.vd)(),C()))},x=(0,l.useCallback)((()=>g((0,r.tE)(A)((0,r.Tl)(o,[n])))),[o,n,g,A]),C=(0,l.useMemo)((()=>a()(x,600)),[x]),S=h||(0,u.Ay)(null===n||void 0===n?void 0:n.image,u.yj.ThumbNail,s.ImageExtension.Jpg);return(0,f.jsx)(f.Fragment,{children:null===(t=n.skus)||void 0===t?void 0:t.map(((e,t)=>{var i,a,l;const u=v(e.price),d=b!==s.CartPriceMode.Valid&&0===(null===u||void 0===u?void 0:u.num)?b===s.CartPriceMode.Error?"-":"loading...":null===(i=v(e.price))||void 0===i?void 0:i.str;return(0,f.jsx)(p.A,{invalidVariation:n.invalid,img:S,imgAlt:(null===o||void 0===o?void 0:o.productName)||o.productNumber,name:`${n.color||""}${n.color&&e.size?" / ":""}${e.size||""}`,info:[e.sku],sku:e,product:o,price:d,priceRegular:null===(a=y(e.price))||void 0===a?void 0:a.str,total:e.subTotal||"",onQtyChange:w,variationNumber:n.variationNumber,onRemoveColor:()=>{return e=function(e,t,n){var r;const i=n||t,o=v(i.price);return{article:"sku"in i?i.sku:"variationNumber"in i?i.variationNumber:"",name:e.productName||void 0,productNumber:e.productNumber,price:null===o||void 0===o?void 0:o.num,currency:(null===(r=i.price)||void 0===r?void 0:r.currency)||void 0,variationNumber:t.variationNumber||void 0,isVariation:!n}}(o,n),e&&g((0,r.LD)(A)(e));var e},addonIds:null!==(l=null===n||void 0===n?void 0:n.addons)&&void 0!==l?l:void 0,addons:m,options:{forceSize:c}},`${e.sku}-${t}`)}))})},g=e=>{var t,n;let{forceSize:i,onLink:o,product:a,hideName:s,refinements:l}=e;const c=null===(t=a.variations)||void 0===t?void 0:t[0].price,u=!!c&&!!(c.inboxItems&&c.inboxItems>1);return(0,f.jsxs)(A,{className:"mb-4",children:[(0,f.jsx)(h.A,{name:a.productName,onLink:o,product:a,options:{size:i,hide:{name:s,date:"sm"===i||"xs"===i}},isBox:u}),null===(n=a.variations)||void 0===n?void 0:n.map(((e,t)=>{const n=l&&e.addons&&e.variationNumber?(0,r.$L)(l,e.addons,e.variationNumber):void 0;return(0,f.jsx)(m,{refinementImage:null===n||void 0===n?void 0:n.image,forceSize:i,product:a,variation:e,addons:null===n||void 0===n?void 0:n.cartRowRefinements},`${e.variationNumber}${t}`)}))]})};function v(e){var t;if(!e)return;return e.inboxItems&&e.inboxItems>1&&e.box?null===(t=e.box)||void 0===t?void 0:t.customer:e.customer}function y(e){var t;if(!e)return;return e.inboxItems&&e.inboxItems>1&&e.box?null===(t=e.box)||void 0===t?void 0:t.regular:e.regular}const A=c.Ay.div.withConfig({componentId:"sc-1x8k58u-0"})([""])},97383:(e,t,n)=>{"use strict";n.d(t,{A:()=>m});var r=n(22360),i=n(74959),o=n(63211),a=n(27825),s=n(39695),l=n(86875),c=n(33453),u=n(23017),d=n(70030),p=n(24937),h=n(41107),f=n(44414);const m=e=>{let{variationNumber:t,sku:n,refinements:p,origin:m="shoppingCart",fontSize:A=14,publicOrderId:b,className:w,editable:x=!0}=e;const{t:C}=(0,d.B)(),S=(0,u.jL)();if(!p.length&&!x)return null;const k=p&&(0,h.pC)(p,null!==n&&void 0!==n?n:t,!n);return(0,f.jsx)(g,{fontSize:A,className:`${w||""} f3-400`,columns:{base:"minmax(min-content, max-content)"},children:(0,f.jsxs)(c.so,{children:[(0,f.jsx)(i.g,{icon:r.hiR,className:"mr-2 mt-1"}),(0,f.jsxs)("div",{children:[(0,a.IO)(t.split("-")[0])&&x&&(0,f.jsx)(c.gK,{fontSize:`${A}px`,className:"f3-400 mb-1",onClick:()=>S((0,s.Gf)({type:"refinement",publicOrderId:b,origin:m,create:{variationNumber:t}})),children:C("refinement.add","Add refinement")}),k&&k.size>0?Array.from(k.entries()).sort(((e,t)=>e[0]===l.vt?1:t[0]===l.vt||e[0]<t[0]?-1:1)).map((e=>{var n;let[r,i]=e;return(0,f.jsxs)(v,{className:"mb-2",children:[(0,f.jsxs)(y,{justify:"between",children:[(0,f.jsx)(c.EY,{fontSize:12,uppercase:!0,light:!0,children:r===l.vt?k.size>1?C("part.all"):"":r}),r!==l.vt&&(null===(n=i[0])||void 0===n?void 0:n.quantity)&&(0,f.jsxs)(c.EY,{fontSize:12,light:!0,children:[i[0].quantity," ",C("stock.pcs")]})]}),i.map(((e,n)=>(0,f.jsx)(c.so,{justify:"between",className:"w-100",children:x?(0,f.jsx)(c.gK,{fontSize:`${A}px`,className:"f3-400",onMouseEnter:()=>"shoppingCart"===m&&S((0,o.dF)(e.index)),onMouseLeave:()=>"shoppingCart"===m&&S((0,o.dF)()),onClick:()=>S((0,s.Gf)({type:"refinement",origin:m,publicOrderId:b,edit:{variationNumber:t,angle:e.angle,split:e.split,refinementIndex:e.index,type:e.type}})),children:e.name}):(0,f.jsx)(c.EY,{fontSize:13,children:e.name})},`${e.name}-${n}`)))]},r)})):null]})]})})},g=(0,p.Ay)(c.xA).withConfig({componentId:"sc-s10dvz-0"})(["font-size:","px;background:",";margin-top:-1px;margin-bottom:1px;"],(e=>{let{fontSize:t}=e;return t}),(e=>{let{theme:t}=e;return t.colors.white})),v=p.Ay.div.withConfig({componentId:"sc-s10dvz-1"})(["min-width:176px;"]),y=(0,p.Ay)(c.so).withConfig({componentId:"sc-s10dvz-2"})(["margin-top:4px;"])},93522:(e,t,n)=>{"use strict";n.d(t,{A:()=>v});var r=n(39695),i=n(73983),o=n(23017),a=n(64267),s=n.n(a),l=n(69435),c=n(9950),u=n(24380),d=n(52327),p=n(92414),h=n(41107),f=n(8268),m=n(72727),g=n(44414);const v=e=>{var t,n;let{children:a,forceSize:v,onLink:y,product:A,refinements:b,hideName:w}=e;const[x,C]=(0,c.useState)({}),[S,k]=(0,c.useState)(),{cartType:E}=(0,c.useContext)(p.A),I=null===(t=(0,o.Ty)(E).cart)||void 0===t?void 0:t.articleStock,_=(0,o.jL)();(0,c.useEffect)((()=>{if(!S)return;const e=S.refinementVariations.reduce(((e,t)=>({...e,[t.index]:t.quantity})),{});C(e)}),[S]),(0,c.useEffect)((()=>{var e,t,n;A&&null!==b&&void 0!==b&&b.length&&k({...A,refinementVariations:(null!==(e=null===(t=A.variations)||void 0===t||null===(n=t[0].addons)||void 0===n?void 0:n.map((e=>b.find((t=>t.index===e)))))&&void 0!==e?e:[]).filter((e=>!!e))})}),[A,b]);const P=(0,c.useMemo)((()=>s()(((e,t)=>{_((0,h.Pd)(E)({index:t,qty:e}))}),400)),[_,E]),O=(e,t)=>{Number.isNaN(t)||"number"!==typeof e||(C({...x,[e]:t}),(0,h.vd)(),P(t,e))};return S?(0,g.jsxs)("div",{className:"mb-4",children:[(0,g.jsx)(m.A,{name:S.productName,product:S,onLink:y,options:{size:v,hide:{date:!0,name:w}}}),null===(n=S.refinementVariations)||void 0===n?void 0:n.map((e=>{var t,n,o;const a=null===(t=e.files)||void 0===t?void 0:t.find((e=>{var t,n,r;return(0,d.A)(null!==(t=e.fileExtension)&&void 0!==t?t:"")&&((null===(n=e.fileName)||void 0===n?void 0:n.includes("preview"))||(null===(r=e.fileName)||void 0===r?void 0:r.includes("converted")))})),s=e.type===l.ShopCartRefinementType.TextProduct?(0,u.Ay)(S.image,u.yj.ThumbNail):null!==(n=null===a||void 0===a?void 0:a.url)&&void 0!==n?n:void 0;return(0,g.jsx)(f.A,{addonIndex:e.index,name:(0,h.GX)(e),img:s,info:e.inputs&&e.inputs.length>0?[...e.inputs.map((e=>(0,h._7)(e)))]:[],colors:e.colors,articleDate:A.variations[0].skus[0].dispatchDate,price:e.price||"",quantity:x[e.index],total:e.total||"",onEditRefinements:e.editable?()=>{_((0,r.Gf)({type:"article",origin:E,edit:{type:e.type,refinementIndex:e.index}}))}:void 0,files:(0,i.J8)(e),stockOperations:e.stockOperation?{stockOperation:e.stockOperation,stockOperationSummary:null===I||void 0===I||null===(o=I.stock)||void 0===o?void 0:o.find((t=>{var n;return null===(n=t.index)||void 0===n?void 0:n.includes(e.index)}))}:void 0,options:{image:{darkBackground:null===a||void 0===a?void 0:a.darkBg},hide:{date:!0},viewOnly:{qty:e.type===l.ShopCartRefinementType.TextProduct},forceSize:v},onQtyChange:O},`addon_${e.index}`)})),a]}):null}},4448:(e,t,n)=>{"use strict";n.d(t,{A:()=>h});var r=n(22360),i=n(39695),o=n(73983),a=n(32452),s=n(23017),l=n(69435),c=n(70030),u=n(8268),d=n(72727),p=n(44414);const h=e=>{var t;let{activeProductNumber:n,refinements:h,forceSize:f,cartType:m}=e;const{t:g}=(0,c.B)(),v=(0,s.jL)(),y=null===(t=(0,s.Ty)(m).cart)||void 0===t?void 0:t.articleStock;return(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(d.A,{icon:r.qIE,name:g("refinement.refinement_other"),options:{size:f,hide:{date:!0}}}),h.map((e=>{var t,r,s,c,d,h;const g=null!=n&&(null===(t=e.positions)||void 0===t?void 0:t.find((e=>{var t;return null===(t=e.variationNumber)||void 0===t?void 0:t.startsWith(n+"-")})))||(null===(r=e.positions)||void 0===r?void 0:r[0]),A=null===(s=e.files)||void 0===s?void 0:s.find((e=>e.fileName===(null===g||void 0===g?void 0:g.sample))),b=e.type===l.ShopCartRefinementType.Mounting,w=(null===(c=e.inputs)||void 0===c||c.filter((e=>e.type!==l.ShopCartRefinementInputType.ColorChange)),null===(d=e.inputs)||void 0===d?void 0:d.filter((e=>e.type===l.ShopCartRefinementInputType.ColorChange)).map((e=>({name:e.label,hex:e.value}))));return(0,p.jsx)(u.A,{addonIndex:e.index,name:`${e.index+1}. ${(0,a.vV)(e)}`,info:(0,a.d2)(e.inputs),colors:e.colors,colorChange:w,price:e.price||"",quantity:e.quantity,total:e.total||"",img:(null===A||void 0===A?void 0:A.url)||void 0,onEditRefinements:e.editable?()=>{v((0,i.Gf)({type:"refinement",origin:m,edit:{variationNumber:null===g||void 0===g?void 0:g.variationNumber,angle:null===g||void 0===g?void 0:g.angle,split:null===g||void 0===g?void 0:g.split,refinementIndex:e.index,type:e.type}}))}:void 0,files:(0,o.J8)(e),stockOperations:b&&e.stockOperation?{mounting:!0,stockOperation:e.stockOperation,stockOperationSummary:null===y||void 0===y||null===(h=y.stock)||void 0===h?void 0:h.find((t=>{var n;return null===(n=t.index)||void 0===n?void 0:n.includes(e.index)}))}:void 0,options:{forceSize:f,hide:{date:!0},image:{darkBackground:null===A||void 0===A?void 0:A.darkBg}}},e.index)}))]})}},62721:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>b,jv:()=>w,rw:()=>C});var r=n(22360),i=n(74959),o=n(99393),a=n(41107),s=n(81925),l=n(33453),c=n(23017),u=n(7691),d=n(64267),p=n.n(d),h=n(9950),f=n(70030),m=n(34911),g=n(24937),v=n(92414),y=n(31664),A=n(44414);const b=e=>{var t;let{newAddressInfoText:n,newAddressInfoHeader:i,onEditAddress:d,...p}=e;const{t:m}=(0,f.B)(),g=(0,c.jL)(),{cartType:b}=(0,h.useContext)(v.A),{delivery:k}=(0,u.T)(b),{isB2B:E}=(0,c.GV)(o.F),I=(0,c.GV)((0,a.Rm)(b)),_=(0,u.T)(b).valid.address,T=(0,h.useRef)(null),D=(0,c.GV)((0,a.i6)(b)),[j,B]=(0,h.useState)(999===(null===k||void 0===k?void 0:k.addressId)),N=e=>{B(999===e),g((0,a.o$)(b)({addressId:e}))};return(0,A.jsx)(S,{ref:T,...p,children:_===y.H.Valid||null==d?(0,A.jsx)(w,{address:D,onEditAddress:d}):null!=d&&(0,A.jsxs)(A.Fragment,{children:[E&&!j?(0,A.jsx)(x,{className:"mb-3",addresses:null!==(t=null===I||void 0===I?void 0:I.deliveryAddresses)&&void 0!==t?t:[],selectedAddress:null===k||void 0===k?void 0:k.addressId,onAddressSelect:e=>N(+e.id)}):(0,A.jsx)(C,{populateFields:!0,showAgreementInfo:!0,onTextDelivery:e=>{g((0,a.o$)(b)({[e.target.name]:e.target.value})),null===d||void 0===d||d()},onCountryDelivery:(e,t)=>{g((0,a.o$)(b)({[e]:null===t||void 0===t?void 0:t.value})),null===d||void 0===d||d()}}),(0,A.jsxs)("div",{className:"mt-4",children:[j&&((null===n||void 0===n?void 0:n.value)||(null===i||void 0===i?void 0:i.value))&&(0,A.jsxs)(P,{className:"p-3 py-4 mb-2",children:[(0,A.jsx)(O,{size:"2x",className:"mr-3",icon:r.iW_}),(0,A.jsxs)("div",{children:[(null===i||void 0===i?void 0:i.value)&&(0,A.jsx)("div",{className:"mb-2 f3-700",children:null===i||void 0===i?void 0:i.value}),(null===n||void 0===n?void 0:n.value)&&(0,A.jsx)("div",{className:"mb-2",children:(0,A.jsx)(s.A,{name:"newAddressInfoText",model:n})})]})]}),(0,A.jsxs)(l.so,{$reverse:!0,children:[(0,A.jsx)(l.$n,{onClick:()=>{if(g((0,a.jl)(b)()),g((0,a.zm)(b)()),"shoppingCart"===b&&T.current){const e=T.current.getBoundingClientRect().top+window.scrollY;window.scroll({top:e-150,behavior:"smooth"})}},children:m("action.continue","Continue")}),j&&(0,A.jsxs)(l.K0,{className:"mr-2",icon:r.rCU,square:!0,onClick:()=>{var e;return(null===I||void 0===I||null===(e=I.deliveryAddresses)||void 0===e?void 0:e.length)&&I.deliveryAddresses[0].id&&N(+I.deliveryAddresses[0].id)},children:[m("action.undo","Undo")," ",(0,A.jsx)("span",{className:"text-lowercase",children:m("shipment.new","New address")})]})]})]})]})})},w=e=>{var t,n,r;let{address:i,onEditAddress:o,fontSize:a=15}=e;const{t:s}=(0,f.B)(),c=null!==(t=i.street1)&&void 0!==t?t:i.addressLine1,u=null!==(n=i.street2)&&void 0!==n?n:i.addressLine2,d=i.street3,p=`${c?`${c}, `:""}${u?`${u}, `:""}${d?`${d}, `:""}`;return(0,A.jsxs)(A.Fragment,{children:[(0,A.jsx)(k,{fontSize:a,uppercase:!0,className:"f3-700",children:null===i||void 0===i?void 0:i.name}),(null===i||void 0===i?void 0:i.recip)&&(0,A.jsx)(l.EY,{fontSize:a,children:null===i||void 0===i?void 0:i.recip}),(0,A.jsxs)(k,{light:!0,fontSize:a,children:[p,null!==(r=null===i||void 0===i?void 0:i.zip)&&void 0!==r?r:null===i||void 0===i?void 0:i.postalCode," ",null===i||void 0===i?void 0:i.city,(null===i||void 0===i?void 0:i.country)&&` ${i.country}`]}),null!=o&&(0,A.jsx)(l.gK,{onClick:()=>o(),className:"d-block mt-2 align",fontSize:"12px",color:"textFaded",children:s("action.change","Change")})]})},x=e=>{let{onAddressSelect:t,useSelectedAddress:n=!0,addresses:i,selectedAddress:o,className:a}=e;const{t:s}=(0,f.B)();return(0,A.jsxs)(A.Fragment,{children:[(0,A.jsx)(_,{icon:r.ygW,square:!0,onClick:()=>t({id:999}),children:s("shipment.new","New address")}),null===i||void 0===i?void 0:i.map((e=>(0,A.jsxs)(E,{align:"center",className:"mb-3",onClick:()=>t(e),children:[(0,A.jsx)(l.sx,{bgColor:"fill",defaultChecked:!!n&&e.id===(null===o||void 0===o?void 0:o.toString()),name:"agreement",className:"mb-1",onChange:()=>null}),(0,A.jsxs)(I,{children:[(0,A.jsx)(l.EY,{fontSize:14,className:"f3-700",children:e.name}),(0,A.jsx)(l.EY,{fontSize:14,children:e.street}),e.street2&&(0,A.jsx)(l.EY,{fontSize:14,children:e.street2}),(0,A.jsx)(l.EY,{fontSize:14,children:e.city}),(0,A.jsx)(l.EY,{fontSize:14,children:e.country})]})]},"address_"+e.id)))]})},C=e=>{var t,n,r,i,s,d;let{showAgreementInfo:g,populateFields:b,onTextDelivery:w,onCountryDelivery:x,...C}=e;const{t:S}=(0,f.B)(),{cartType:k}=(0,h.useContext)(v.A),{delivery:E,cmsOptions:I}=(0,u.T)(k),_=(0,c.GV)((0,a.Rm)(k)),{isB2B:P,isB2C:O,isB2BReseller:T}=(0,c.GV)(o.F),D=(0,u.T)(k).valid.address,j=(0,c.GV)((0,a.IG)(k)),B=(0,h.useMemo)((()=>P&&_&&_.deliveryCountries?_.deliveryCountries.map((e=>{var t,n;return{label:null!==(t=e.name)&&void 0!==t?t:"",value:null!==(n=e.code)&&void 0!==n?n:""}})):[]),[P,_]),[N,M]=(0,h.useState)();if((0,h.useEffect)((()=>{if(E&&E.country){const e=B.find((e=>e.value===E.country));e&&M({label:e.label,value:e.value})}}),[E,B,P]),"error"===j)return(0,A.jsx)("div",{children:S("error.general")});if("initialized"!==j)return(0,A.jsx)(m.A,{height:64,count:5});const R=O&&(null!==(t=null===E||void 0===E||null===(n=E.firstName)||void 0===n?void 0:n.length)&&void 0!==t?t:0)+(null!==(r=null===E||void 0===E||null===(i=E.lastName)||void 0===i?void 0:i.length)&&void 0!==r?r:0)>29?S("validation.fullNameMaxCharLimit","First name + Last name must not exceed {{maxLength}} characters.",{maxLength:29}):"";return(0,A.jsx)("div",{...C,children:(0,A.jsxs)(l.mc,{gap:"1rem",children:[!O&&(0,A.jsx)(l.fv,{md:P?12:6,children:(0,A.jsx)(l.pd,{label:S("contact.company","Company"),name:"company",defaultValue:b&&(null===E||void 0===E?void 0:E.company)||"",onChange:p()((e=>w(e)),500),type:"text",required:P||I.companyRequired,validate:D===y.H.Invalid,maxLength:30,minLength:2})}),T&&(0,A.jsx)(l.fv,{md:"6",children:(0,A.jsx)(l.pd,{label:S("contact.companyNumber","Company number"),name:"companyId",defaultValue:b&&(null===E||void 0===E?void 0:E.companyId)||"",onChange:p()((e=>w(e)),500),type:"text",validate:D===y.H.Invalid,maxLength:50,required:I.companyNumberRequired})}),!P&&(0,A.jsxs)(A.Fragment,{children:[(0,A.jsx)(l.fv,{md:"6",children:(0,A.jsx)(l.pd,{label:S("contact.firstName","First name"),name:"firstName",defaultValue:b&&(null===E||void 0===E?void 0:E.firstName)||"",onChange:p()((e=>w(e)),500),type:"text",required:!0,validate:D===y.H.Invalid,maxLength:30,errorText:R})}),(0,A.jsx)(l.fv,{md:"6",children:(0,A.jsx)(l.pd,{label:S("contact.lastName","Last name"),name:"lastName",defaultValue:b&&(null===E||void 0===E?void 0:E.lastName)||"",onChange:p()((e=>w(e)),500),type:"text",required:!0,validate:D===y.H.Invalid,maxLength:30,errorText:R})})]}),!P&&(0,A.jsxs)(A.Fragment,{children:[(0,A.jsx)(l.fv,{md:"6",children:(0,A.jsx)(l.pd,{label:S("contact.email","E-mail"),name:"email",defaultValue:b&&(null===E||void 0===E?void 0:E.email)||"",onChange:p()((e=>w(e)),500),type:"email",required:!0,validate:D===y.H.Invalid,maxLength:50})}),(0,A.jsx)(l.fv,{md:"6",children:(0,A.jsx)(l.pd,{label:S("contact.phone","Phone number"),name:"phone",defaultValue:b&&(null===E||void 0===E?void 0:E.phone)||"",onChange:p()((e=>w(e)),500),type:"phone",required:!0,validate:D===y.H.Invalid,maxLength:15})})]}),(0,A.jsx)(l.fv,{children:(0,A.jsx)(l.pd,{label:S("contact.address","Address"),name:"address1",defaultValue:b&&(null===E||void 0===E?void 0:E.address1)||"",onChange:p()((e=>w(e)),500),type:"text",required:!0,validate:D===y.H.Invalid,maxLength:35})}),P&&(0,A.jsx)(l.fv,{children:(0,A.jsx)(l.pd,{label:null!==(s=null===I||void 0===I?void 0:I.secondAddressTitle)&&void 0!==s?s:"",name:"address2",defaultValue:b&&(null===E||void 0===E?void 0:E.address2)||"",onChange:p()((e=>w(e)),500),type:"text",validate:D===y.H.Invalid,maxLength:35})}),(0,A.jsxs)(A.Fragment,{children:[(0,A.jsx)(l.fv,{md:"6",children:(0,A.jsx)(l.pd,{label:S("contact.postalCode","Postal code"),name:"postalCode",defaultValue:b&&(null===E||void 0===E?void 0:E.postalCode)||"",onChange:p()((e=>w(e)),500),type:"text",required:!0,validate:D===y.H.Invalid,maxLength:16})}),(0,A.jsx)(l.fv,{md:"6",children:(0,A.jsx)(l.pd,{label:S("contact.city","City"),name:"city",defaultValue:b&&(null===E||void 0===E?void 0:E.city)||"",onChange:p()((e=>w(e)),500),type:"text",id:"city",required:!0,validate:D===y.H.Invalid,maxLength:35})}),B.length>1&&(0,A.jsx)(l.fv,{md:"6",children:(0,A.jsx)(l.l6,{id:"country",name:"country",label:`${S("contact.country","Country")}`,placeholder:null===B||void 0===B?void 0:B[0].label,required:!0,value:N,options:B,isMulti:!1,onChange:e=>{var t;M(null!==(t=e)&&void 0!==t?t:void 0),x("country",e)}},"country")}),1===B.length&&(0,A.jsx)(l.fv,{md:"6",children:(0,A.jsx)(l.pd,{readOnly:!0,label:`${S("contact.country","Country")} (${S("general.cantChange","Cannot be changed")})`,name:"country",defaultValue:null!==(d=B[0].label)&&void 0!==d?d:"",type:"text",id:"country"})})]}),!P&&!O&&(0,A.jsx)(l.fv,{className:"mt-3",children:(0,A.jsx)(l.Lz,{label:S("general.comment","Comment"),name:"comment",defaultValue:b&&(null===E||void 0===E?void 0:E.comment)||"",onChange:p()((e=>w(e)),500)})}),g&&(0,A.jsx)(l.fv,{md:"8",children:(0,A.jsx)(l.EY,{small:!0,light:!0,children:S("cart.agreementInfo","We will never share your email, address or any other personal information with anyone else.")})})]})})},S=g.Ay.div.withConfig({componentId:"sc-ovb7la-0"})(["max-width:100%;"]),k=(0,g.Ay)(l.EY).withConfig({componentId:"sc-ovb7la-1"})(["white-space:break-spaces;"]),E=(0,g.Ay)(l.so).withConfig({componentId:"sc-ovb7la-2"})(["cursor:pointer;"]),I=g.Ay.div.withConfig({componentId:"sc-ovb7la-3"})([""]),_=(0,g.Ay)(l.K0).withConfig({componentId:"sc-ovb7la-4"})(["margin:20px 0;"]),P=(0,g.Ay)(l.so).withConfig({componentId:"sc-ovb7la-5"})(["font-size:13px;margin-left:-20px;margin-right:-20px;"]),O=(0,g.Ay)(i.g).withConfig({componentId:"sc-ovb7la-6"})(["color:",";"],(e=>{let{theme:t}=e;return t.colors.accent}))},47518:(e,t,n)=>{"use strict";n.d(t,{A:()=>g,Z:()=>E});var r=n(22360),i=n(99393),o=n(62721),a=n(33453),s=n(23017),l=n(9950),c=n(70030),u=n(24937),d=n(92414),p=n(41107),h=n(31664),f=n(78735),m=n(44414);const g=e=>{let{isB2B:t,addNewAddressEnabled:n=!0}=e;const{cartType:u}=(0,l.useContext)(d.A),g=(0,s.GV)((0,p.AM)(u)),C=(0,s.GV)((0,p.ZD)(u)),I=(0,s.GV)((0,p.EV)(u)),[_,P]=(0,l.useState)(!!n&&!g&&0===C.length),O=(0,s.GV)((0,p.dP)(u)),T=(0,s.GV)((0,p.zW)(u)),[D,j]=(0,l.useState)(!1),B=(0,s.GV)(i.q),N=(0,s.jL)(),{t:M}=(0,c.B)(),R=(0,s.GV)((0,p.tK)(u));return I?(0,m.jsxs)(v,{children:[n&&(_?(0,m.jsxs)(b,{onSubmit:async e=>{e.preventDefault();const n=e.currentTarget.elements,r={index:+(C.length>0?C.reduce(((e,t)=>t.index>e?t.index:e),0):-1)+1,name:t?n.company.value:`${n.firstName.value} ${n.lastName.value}`,adressLine1:n.address1.value,adressLine2:n.address2.value,postalCode:n.postalCode.value,city:n.city.value,skus:[]},i=[...C,r];N((0,p.vL)(u)(i)),await N((0,p.dj)(u)(i)),N((0,p.G3)(u)({commerceType:B})),P(!1)},children:[(0,m.jsx)(o.rw,{className:"mt-3",onTextDelivery:()=>null,onCountryDelivery:()=>null}),(0,m.jsxs)(a.so,{justify:"end",className:"mt-4",children:[(0,m.jsx)(a.$n,{className:"mr-2",onClick:()=>P(!1),children:M("action.cancel")}),(0,m.jsx)(a.$n,{disabled:g,type:"submit",children:M("action.add")})]})]}):(0,m.jsx)(a.K0,{icon:r.ygW,square:!0,className:"mt-3",onClick:()=>P(!0),children:M("shipment.new")})),g&&(0,m.jsx)(a.y$,{className:"mt-3"}),C.length>0&&R.map(((e,t)=>{var n;return null===(n=e.skus)||void 0===n?void 0:n.map((t=>{const n=C.reduce(((e,n)=>{var r,i;const o=null!==(r=null===(i=n.skus)||void 0===i?void 0:i.reduce(((e,n)=>n.sku!==t.sku?e:n.quantity?e+n.quantity:e),0))&&void 0!==r?r:0;return e+o}),0),i=C.map((e=>{var n,i,s;const l=null!==(n=null===(i=e.skus)||void 0===i||null===(s=i.find((e=>e.sku===t.sku)))||void 0===s?void 0:s.quantity)&&void 0!==n?n:0;return{thin:!0,cells:[{el:(0,m.jsxs)(w,{children:[(0,m.jsx)(a.K0,{icon:r.GRI,className:"mr-3",onClick:()=>(e=>{const t=C.filter((t=>t.index!==e));N((0,p.dj)(u)(t)),N((0,p.vL)(u)(t))})(e.index)}),(0,m.jsx)(x,{children:(0,m.jsx)(o.jv,{address:e})})]})},{align:"right",el:(0,m.jsx)(E,{sku:t,addresses:C,address:e,value:l,validationError:!(T.splittedAddresses!==h.H.Invalid||!t.sku)&&!(null===O||void 0===O||!O.has(t.sku)),onChange:n=>{var r;((e,t,n)=>{var r,i,o;j(!1);const a=C.map((e=>{var t,n;return{...e,skus:null!==(t=null===e||void 0===e||null===(n=e.skus)||void 0===n?void 0:n.map((e=>e)))&&void 0!==t?t:[]}})),s=null!==(r=null===(i=a[e])||void 0===i||null===(o=i.skus)||void 0===o?void 0:o.findIndex((e=>e.sku===t)))&&void 0!==r?r:-1;s>=0?a[e].skus[s]={sku:t,quantity:n}:a[e].skus.push({sku:t,quantity:n}),N((0,p.vL)(u)(a)),N((0,p.G3)(u)({commerceType:B}))})(null!==(r=null===e||void 0===e?void 0:e.index)&&void 0!==r?r:-1,null===t||void 0===t?void 0:t.sku,n)}})}]}}));return(0,m.jsx)(A,{headers:[(0,m.jsxs)(a.so,{children:[e.color,"/",t.size,", ",t.sku,(0,m.jsx)(f.A,{className:"ml-2",valid:T.splittedAddresses===h.H.Invalid&&O&&t.sku?O.get(t.sku)?1:2:0})]},`header-name-${e.variationNumber}`),(0,m.jsx)(S,{children:M("cart.quantity","Quantity")},`header-qty-${e.variationNumber}`)],rows:T.splittedAddresses===h.H.Invalid&&t.sku&&null!==O&&void 0!==O&&O.get(t.sku)?[{fillWidth:!0,cells:[{el:(0,m.jsx)(a.EY,{small:!0,className:"mt-2",color:"error",children:O.get(t.sku)})}]},...i]:i,footers:{fillWidth:!0,cells:[{align:"right",el:(0,m.jsx)(m.Fragment,{children:(0,m.jsxs)(k,{children:[(0,m.jsx)("strong",{children:M("cart.totalSkus","Total")}),n," / ",t.quantity]})})}]},cols:2},`product-row-${t.sku}`)}))})),C.length>0&&(0,m.jsxs)(m.Fragment,{children:[D&&(0,m.jsx)(a.EY,{color:"error",className:"text-center",children:M("error.general","Something went wrong, please try again or contact support.")}),(0,m.jsx)(a.so,{$reverse:!0,className:"mt-4",children:(0,m.jsx)(a.$n,{disabled:g,onClick:async()=>{if(N((0,p.G3)(u)({valid:O?h.H.Invalid:h.H.Valid,commerceType:B})),O)return;const e=await N((0,p.dj)(u)(C));(0,p.dj)(u).fulfilled.match(e)?N((0,p.O0)(u)(!1)):j(!0)},children:M("action.continue","Continue")})})]})]}):(0,m.jsxs)(y,{children:[(0,m.jsx)(a.gK,{onClick:()=>N((0,p.O0)(u)(!0)),fontSize:"12px",children:M("action.change","Change")}),", ",C.length," ",M("cart.addressSelected",{context:1===C.length?"one":"other"})]})},v=u.Ay.div.withConfig({componentId:"sc-1ypmyl7-0"})(["max-width:100%;"]),y=u.Ay.div.withConfig({componentId:"sc-1ypmyl7-1"})(["display:flex;flex-direction:row;margin-left:47px;font-size:12px;"]),A=(0,u.Ay)(a.XI).withConfig({componentId:"sc-1ypmyl7-2"})(["margin-top:50px;> *:nth-child(3){margin-bottom:10px;}"]),b=u.Ay.form.withConfig({componentId:"sc-1ypmyl7-3"})([""]),w=u.Ay.div.withConfig({componentId:"sc-1ypmyl7-4"})(["display:flex;flex-direction:row;align-items:center;"]),x=u.Ay.div.withConfig({componentId:"sc-1ypmyl7-5"})(["display:flex;flex-direction:column;"]),C=(0,u.Ay)(a.pd).withConfig({componentId:"sc-1ypmyl7-6"})(["text-align:center;width:70px;"]),S=(0,u.Ay)(a.EY).withConfig({componentId:"sc-1ypmyl7-7"})(["text-align:right;"]),k=(0,u.Ay)(a.EY).withConfig({componentId:"sc-1ypmyl7-8"})(["text-align:right;font-weight:400;> strong{font-weight:500;margin-right:20px;}"]),E=e=>{let{id:t,addresses:n,sku:r,address:i,validationError:o,onChange:a,value:s,maxValue:l,minValue:c=0,...u}=e;const d=null!==s&&void 0!==s?s:void 0,p=n.reduce(((e,t)=>{var n,i,o,a;return e+(null!==(n=null===t||void 0===t||null===(i=t.skus)||void 0===i||null===(o=i.filter((e=>e.sku===r.sku)))||void 0===o||null===(a=o.map((e=>e.quantity)))||void 0===a?void 0:a.reduce(((e,t)=>e+t),0))&&void 0!==n?n:0)}),0);return(0,m.jsx)(C,{...u,id:t,name:"amount",type:"number",min:c,max:null!==l&&void 0!==l?l:p>=(null===r||void 0===r?void 0:r.quantity)?d:r.quantity,error:o,value:s,onChange:e=>a(+e.target.value)})}},81983:(e,t,n)=>{"use strict";n.d(t,{A:()=>m});var r=n(99393),i=n(33453),o=n(27761),a=n(23017),s=n(69435),l=n(9950),c=n(70030),u=n(34911),d=n(24937),p=n(92414),h=n(41107),f=n(44414);const m=e=>{var t;let{className:n}=e;const{t:d}=(0,c.B)(),{isB2C:m}=(0,a.GV)(r.F),{cartType:v}=(0,l.useContext)(p.A),y=null===(t=(0,a.Ty)(v).cart)||void 0===t?void 0:t.total,A=(0,a.Ty)(v).isCartLoading,b=(0,a.GV)((0,h.Xu)(v));return b===s.CartPriceMode.InValid?(0,f.jsx)("div",{className:n,children:(0,f.jsx)(u.A,{height:85})}):(0,f.jsxs)(g,{className:n,children:[b===s.CartPriceMode.Error&&(0,f.jsx)(i.EY,{color:"error",small:!0,children:d("cart.errorCouldNotCalculateTotal")}),(0,f.jsx)(o.Ay,{total:null===y||void 0===y?void 0:y.total,pending:A,children:(0,f.jsxs)(f.Fragment,{children:[(null===y||void 0===y?void 0:y.additionalCosts)&&y.additionalCosts.map(((e,t)=>(0,f.jsx)(o.Q3,{label:e.name,value:e.total,pending:A},t))),(0,f.jsx)(o.Q3,{label:d("cartFee.shipping","Shipping Cost"),value:null===y||void 0===y?void 0:y.freight,pending:A}),(0,f.jsx)(o.Q3,{label:d("cart.discount","Discount"),value:null===y||void 0===y?void 0:y.discount,pending:A}),(0,f.jsx)(o.Q3,{label:d("cartFee.admin","Admin. fee"),value:null===y||void 0===y?void 0:y.fees,pending:A}),(0,f.jsx)(o.Q3,{label:d(m?"price.vatConsumer":"price.vat","VAT"),value:null===y||void 0===y?void 0:y.vat,pending:A}),!m&&(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(o.Q3,{label:d("price.amountIncVat","Amount (inc. vat)"),value:null===y||void 0===y?void 0:y.incVat,pending:A}),(0,f.jsx)(o.Q3,{label:d("price.total_exVat","Total (ex VAT)"),value:null===y||void 0===y?void 0:y.exVat,pending:A})]})]})})]})},g=d.Ay.div.withConfig({componentId:"sc-p4e1zc-0"})(["background-color:",";"],(e=>{let{theme:t}=e;return t.colors.fillWhite}))},78735:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(33453),i=n(31664),o=n(44414);const a=e=>{let{valid:t,errorText:n,validText:a,...s}=e;return(0,o.jsxs)(r.so,{align:"center",...s,children:[t===i.H.Invalid&&n&&(0,o.jsx)(r.EY,{className:"mr-2",small:!0,color:"error",children:n}),t===i.H.Valid&&a&&(0,o.jsx)(r.EY,{className:"f3-700 mr-2",children:a}),(0,o.jsx)(r.IZ,{valid:t})]})}},41107:(e,t,n)=>{"use strict";n.d(t,{dm:()=>VA,ZC:()=>yb,NH:()=>bb,dF:()=>vb,Nz:()=>wb,s8:()=>Lb,vL:()=>Fb,HY:()=>$A,vd:()=>GA,$h:()=>Qb,AZ:()=>Ab,Pd:()=>sb,Pt:()=>pb,bY:()=>Eb,t7:()=>Cw,mq:()=>Ob,Ay:()=>Sw,o$:()=>Wb,KQ:()=>Gb,TE:()=>Vb,FM:()=>ZA,a_:()=>Ib,UN:()=>Sx,Vp:()=>Pb,_7:()=>Nx,GX:()=>Rx,Gf:()=>Bx,Tl:()=>kx,ky:()=>Tx,Uz:()=>jx,e2:()=>Kb,Jo:()=>Yb,Pr:()=>Sb,O3:()=>Cb,q5:()=>YA,BG:()=>Dx,Bb:()=>hb,FB:()=>mb,AL:()=>Jb,$L:()=>Px,pC:()=>Ox,JI:()=>$b,dS:()=>ew,hG:()=>ow,S6:()=>aw,E6:()=>iw,_Z:()=>nw,NK:()=>tw,ot:()=>lw,fJ:()=>uw,MG:()=>XA,LD:()=>nb,my:()=>rb,VN:()=>dw,iR:()=>pw,ZD:()=>Fw,AM:()=>zw,u5:()=>Ow,FH:()=>jw,Rm:()=>tx,_O:()=>Vw,IG:()=>Bw,oM:()=>Xw,Xu:()=>Mw,aq:()=>Zw,UE:()=>cx,y5:()=>wx,qs:()=>hx,T9:()=>fx,rk:()=>Iw,zW:()=>nx,Mk:()=>Ax,Ni:()=>yx,c6:()=>ux,gq:()=>mx,dt:()=>Gw,eT:()=>_w,tm:()=>Pw,Oo:()=>gx,WM:()=>px,t8:()=>ix,Vj:()=>Uw,Du:()=>sx,Ht:()=>Yw,jq:()=>Ww,Cp:()=>qw,$J:()=>Kw,KR:()=>Hw,wU:()=>ox,I4:()=>Tw,i6:()=>ax,QB:()=>$w,As:()=>bx,lR:()=>xx,EV:()=>Jw,dP:()=>rx,gQ:()=>lx,vQ:()=>Lw,tK:()=>vx,dj:()=>ab,zm:()=>ob,Rt:()=>kb,Ff:()=>ib,xE:()=>Db,Wm:()=>jb,Lv:()=>Bb,tE:()=>lb,Au:()=>fw,n9:()=>hw,O0:()=>vw,G3:()=>gw,vK:()=>bw,cw:()=>Aw,Uy:()=>tb,u9:()=>_b,jl:()=>Tb,wM:()=>cb,pr:()=>gb});var r,i,o,a,s,l,c,u,d,p,h,f={},m=[],g=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,v=Array.isArray;function y(e,t){for(var n in t)e[n]=t[n];return e}function A(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function b(e,t,n){var i,o,a,s={};for(a in t)"key"==a?i=t[a]:"ref"==a?o=t[a]:s[a]=t[a];if(arguments.length>2&&(s.children=arguments.length>3?r.call(arguments,2):n),"function"==typeof e&&null!=e.defaultProps)for(a in e.defaultProps)void 0===s[a]&&(s[a]=e.defaultProps[a]);return w(e,s,i,o,null)}function w(e,t,n,r,a){var s={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:null==a?++o:a,__i:-1,__u:0};return null==a&&null!=i.vnode&&i.vnode(s),s}function x(e){return e.children}function C(e,t){this.props=e,this.context=t}function S(e,t){if(null==t)return e.__?S(e.__,e.__i+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?S(e):null}function k(e){var t,n;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e){e.__e=e.__c.base=n.__e;break}return k(e)}}function E(e){(!e.__d&&(e.__d=!0)&&a.push(e)&&!I.__r++||s!==i.debounceRendering)&&((s=i.debounceRendering)||l)(I)}function I(){var e,t,n,r,o,s,l,u;for(a.sort(c);e=a.shift();)e.__d&&(t=a.length,r=void 0,s=(o=(n=e).__v).__e,l=[],u=[],n.__P&&((r=y({},o)).__v=o.__v+1,i.vnode&&i.vnode(r),M(n.__P,r,o,n.__n,n.__P.namespaceURI,32&o.__u?[s]:null,l,null==s?S(o):s,!!(32&o.__u),u),r.__v=o.__v,r.__.__k[r.__i]=r,R(l,r,u),r.__e!=s&&k(r)),a.length>t&&a.sort(c));I.__r=0}function _(e,t,n,r,i,o,a,s,l,c,u){var d,p,h,g,v,y=r&&r.__k||m,A=t.length;for(n.__d=l,P(n,t,y),l=n.__d,d=0;d<A;d++)null!=(h=n.__k[d])&&(p=-1===h.__i?f:y[h.__i]||f,h.__i=d,M(e,h,p,i,o,a,s,l,c,u),g=h.__e,h.ref&&p.ref!=h.ref&&(p.ref&&F(p.ref,null,h),u.push(h.ref,h.__c||g,h)),null==v&&null!=g&&(v=g),65536&h.__u||p.__k===h.__k?l=O(h,l,e):"function"==typeof h.type&&void 0!==h.__d?l=h.__d:g&&(l=g.nextSibling),h.__d=void 0,h.__u&=-196609);n.__d=l,n.__e=v}function P(e,t,n){var r,i,o,a,s,l=t.length,c=n.length,u=c,d=0;for(e.__k=[],r=0;r<l;r++)null!=(i=t[r])&&"boolean"!=typeof i&&"function"!=typeof i?(a=r+d,(i=e.__k[r]="string"==typeof i||"number"==typeof i||"bigint"==typeof i||i.constructor==String?w(null,i,null,null,null):v(i)?w(x,{children:i},null,null,null):void 0===i.constructor&&i.__b>0?w(i.type,i.props,i.key,i.ref?i.ref:null,i.__v):i).__=e,i.__b=e.__b+1,o=null,-1!==(s=i.__i=D(i,n,a,u))&&(u--,(o=n[s])&&(o.__u|=131072)),null==o||null===o.__v?(-1==s&&d--,"function"!=typeof i.type&&(i.__u|=65536)):s!==a&&(s==a-1?d--:s==a+1?d++:(s>a?d--:d++,i.__u|=65536))):i=e.__k[r]=null;if(u)for(r=0;r<c;r++)null!=(o=n[r])&&0==(131072&o.__u)&&(o.__e==e.__d&&(e.__d=S(o)),z(o,o))}function O(e,t,n){var r,i;if("function"==typeof e.type){for(r=e.__k,i=0;r&&i<r.length;i++)r[i]&&(r[i].__=e,t=O(r[i],t,n));return t}e.__e!=t&&(t&&e.type&&!n.contains(t)&&(t=S(e)),n.insertBefore(e.__e,t||null),t=e.__e);do{t=t&&t.nextSibling}while(null!=t&&8===t.nodeType);return t}function T(e,t){return t=t||[],null==e||"boolean"==typeof e||(v(e)?e.some((function(e){T(e,t)})):t.push(e)),t}function D(e,t,n,r){var i=e.key,o=e.type,a=n-1,s=n+1,l=t[n];if(null===l||l&&i==l.key&&o===l.type&&0==(131072&l.__u))return n;if(r>(null!=l&&0==(131072&l.__u)?1:0))for(;a>=0||s<t.length;){if(a>=0){if((l=t[a])&&0==(131072&l.__u)&&i==l.key&&o===l.type)return a;a--}if(s<t.length){if((l=t[s])&&0==(131072&l.__u)&&i==l.key&&o===l.type)return s;s++}}return-1}function j(e,t,n){"-"===t[0]?e.setProperty(t,null==n?"":n):e[t]=null==n?"":"number"!=typeof n||g.test(t)?n:n+"px"}function B(e,t,n,r,i){var o;e:if("style"===t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof r&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||j(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||j(e.style,t,n[t])}else if("o"===t[0]&&"n"===t[1])o=t!==(t=t.replace(/(PointerCapture)$|Capture$/i,"$1")),t=t.toLowerCase()in e||"onFocusOut"===t||"onFocusIn"===t?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+o]=n,n?r?n.u=r.u:(n.u=u,e.addEventListener(t,o?p:d,o)):e.removeEventListener(t,o?p:d,o);else{if("http://www.w3.org/2000/svg"==i)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!=t&&"height"!=t&&"href"!=t&&"list"!=t&&"form"!=t&&"tabIndex"!=t&&"download"!=t&&"rowSpan"!=t&&"colSpan"!=t&&"role"!=t&&"popover"!=t&&t in e)try{e[t]=null==n?"":n;break e}catch(e){}"function"==typeof n||(null==n||!1===n&&"-"!==t[4]?e.removeAttribute(t):e.setAttribute(t,"popover"==t&&1==n?"":n))}}function N(e){return function(t){if(this.l){var n=this.l[t.type+e];if(null==t.t)t.t=u++;else if(t.t<n.u)return;return n(i.event?i.event(t):t)}}}function M(e,t,n,r,o,a,s,l,c,u){var d,p,h,f,m,g,A,b,w,S,k,E,I,P,O,T,D=t.type;if(void 0!==t.constructor)return null;128&n.__u&&(c=!!(32&n.__u),a=[l=t.__e=n.__e]),(d=i.__b)&&d(t);e:if("function"==typeof D)try{if(b=t.props,w="prototype"in D&&D.prototype.render,S=(d=D.contextType)&&r[d.__c],k=d?S?S.props.value:d.__:r,n.__c?A=(p=t.__c=n.__c).__=p.__E:(w?t.__c=p=new D(b,k):(t.__c=p=new C(b,k),p.constructor=D,p.render=Q),S&&S.sub(p),p.props=b,p.state||(p.state={}),p.context=k,p.__n=r,h=p.__d=!0,p.__h=[],p._sb=[]),w&&null==p.__s&&(p.__s=p.state),w&&null!=D.getDerivedStateFromProps&&(p.__s==p.state&&(p.__s=y({},p.__s)),y(p.__s,D.getDerivedStateFromProps(b,p.__s))),f=p.props,m=p.state,p.__v=t,h)w&&null==D.getDerivedStateFromProps&&null!=p.componentWillMount&&p.componentWillMount(),w&&null!=p.componentDidMount&&p.__h.push(p.componentDidMount);else{if(w&&null==D.getDerivedStateFromProps&&b!==f&&null!=p.componentWillReceiveProps&&p.componentWillReceiveProps(b,k),!p.__e&&(null!=p.shouldComponentUpdate&&!1===p.shouldComponentUpdate(b,p.__s,k)||t.__v===n.__v)){for(t.__v!==n.__v&&(p.props=b,p.state=p.__s,p.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.some((function(e){e&&(e.__=t)})),E=0;E<p._sb.length;E++)p.__h.push(p._sb[E]);p._sb=[],p.__h.length&&s.push(p);break e}null!=p.componentWillUpdate&&p.componentWillUpdate(b,p.__s,k),w&&null!=p.componentDidUpdate&&p.__h.push((function(){p.componentDidUpdate(f,m,g)}))}if(p.context=k,p.props=b,p.__P=e,p.__e=!1,I=i.__r,P=0,w){for(p.state=p.__s,p.__d=!1,I&&I(t),d=p.render(p.props,p.state,p.context),O=0;O<p._sb.length;O++)p.__h.push(p._sb[O]);p._sb=[]}else do{p.__d=!1,I&&I(t),d=p.render(p.props,p.state,p.context),p.state=p.__s}while(p.__d&&++P<25);p.state=p.__s,null!=p.getChildContext&&(r=y(y({},r),p.getChildContext())),w&&!h&&null!=p.getSnapshotBeforeUpdate&&(g=p.getSnapshotBeforeUpdate(f,m)),_(e,v(T=null!=d&&d.type===x&&null==d.key?d.props.children:d)?T:[T],t,n,r,o,a,s,l,c,u),p.base=t.__e,t.__u&=-161,p.__h.length&&s.push(p),A&&(p.__E=p.__=null)}catch(e){if(t.__v=null,c||null!=a){for(t.__u|=c?160:128;l&&8===l.nodeType&&l.nextSibling;)l=l.nextSibling;a[a.indexOf(l)]=null,t.__e=l}else t.__e=n.__e,t.__k=n.__k;i.__e(e,t,n)}else null==a&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=L(n.__e,t,n,r,o,a,s,c,u);(d=i.diffed)&&d(t)}function R(e,t,n){t.__d=void 0;for(var r=0;r<n.length;r++)F(n[r],n[++r],n[++r]);i.__c&&i.__c(t,e),e.some((function(t){try{e=t.__h,t.__h=[],e.some((function(e){e.call(t)}))}catch(e){i.__e(e,t.__v)}}))}function L(e,t,n,o,a,s,l,c,u){var d,p,h,m,g,y,b,w=n.props,x=t.props,C=t.type;if("svg"===C?a="http://www.w3.org/2000/svg":"math"===C?a="http://www.w3.org/1998/Math/MathML":a||(a="http://www.w3.org/1999/xhtml"),null!=s)for(d=0;d<s.length;d++)if((g=s[d])&&"setAttribute"in g==!!C&&(C?g.localName===C:3===g.nodeType)){e=g,s[d]=null;break}if(null==e){if(null===C)return document.createTextNode(x);e=document.createElementNS(a,C,x.is&&x),c&&(i.__m&&i.__m(t,s),c=!1),s=null}if(null===C)w===x||c&&e.data===x||(e.data=x);else{if(s=s&&r.call(e.childNodes),w=n.props||f,!c&&null!=s)for(w={},d=0;d<e.attributes.length;d++)w[(g=e.attributes[d]).name]=g.value;for(d in w)if(g=w[d],"children"==d);else if("dangerouslySetInnerHTML"==d)h=g;else if(!(d in x)){if("value"==d&&"defaultValue"in x||"checked"==d&&"defaultChecked"in x)continue;B(e,d,null,g,a)}for(d in x)g=x[d],"children"==d?m=g:"dangerouslySetInnerHTML"==d?p=g:"value"==d?y=g:"checked"==d?b=g:c&&"function"!=typeof g||w[d]===g||B(e,d,g,w[d],a);if(p)c||h&&(p.__html===h.__html||p.__html===e.innerHTML)||(e.innerHTML=p.__html),t.__k=[];else if(h&&(e.innerHTML=""),_(e,v(m)?m:[m],t,n,o,"foreignObject"===C?"http://www.w3.org/1999/xhtml":a,s,l,s?s[0]:n.__k&&S(n,0),c,u),null!=s)for(d=s.length;d--;)A(s[d]);c||(d="value","progress"===C&&null==y?e.removeAttribute("value"):void 0!==y&&(y!==e[d]||"progress"===C&&!y||"option"===C&&y!==w[d])&&B(e,d,y,w[d],a),d="checked",void 0!==b&&b!==e[d]&&B(e,d,b,w[d],a))}return e}function F(e,t,n){try{if("function"==typeof e){var r="function"==typeof e.__u;r&&e.__u(),r&&null==t||(e.__u=e(t))}else e.current=t}catch(e){i.__e(e,n)}}function z(e,t,n){var r,o;if(i.unmount&&i.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||F(r,null,t)),null!=(r=e.__c)){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(e){i.__e(e,t)}r.base=r.__P=null}if(r=e.__k)for(o=0;o<r.length;o++)r[o]&&z(r[o],t,n||"function"!=typeof e.type);n||A(e.__e),e.__c=e.__=e.__e=e.__d=void 0}function Q(e,t,n){return this.constructor(e,n)}function U(e,t,n){var o,a,s,l;i.__&&i.__(e,t),a=(o="function"==typeof n)?null:n&&n.__k||t.__k,s=[],l=[],M(t,e=(!o&&n||t).__k=b(x,null,[e]),a||f,f,t.namespaceURI,!o&&n?[n]:a?null:t.firstChild?r.call(t.childNodes):null,s,!o&&n?n:a?a.__e:t.firstChild,o,l),R(s,e,l)}function V(e,t,n){var i,o,a,s,l=y({},e.props);for(a in e.type&&e.type.defaultProps&&(s=e.type.defaultProps),t)"key"==a?i=t[a]:"ref"==a?o=t[a]:l[a]=void 0===t[a]&&void 0!==s?s[a]:t[a];return arguments.length>2&&(l.children=arguments.length>3?r.call(arguments,2):n),w(e.type,l,i||e.key,o||e.ref,null)}r=m.slice,i={__e:function(e,t,n,r){for(var i,o,a;t=t.__;)if((i=t.__c)&&!i.__)try{if((o=i.constructor)&&null!=o.getDerivedStateFromError&&(i.setState(o.getDerivedStateFromError(e)),a=i.__d),null!=i.componentDidCatch&&(i.componentDidCatch(e,r||{}),a=i.__d),a)return i.__E=i}catch(t){e=t}throw e}},o=0,C.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=y({},this.state),"function"==typeof e&&(e=e(y({},n),this.props)),e&&y(n,e),null!=e&&this.__v&&(t&&this._sb.push(t),E(this))},C.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),E(this))},C.prototype.render=x,a=[],l="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,c=function(e,t){return e.__v.__b-t.__v.__b},I.__r=0,u=0,d=N(!1),p=N(!0),h=0;var G=n(48738),q=n.n(G),H="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof n.g?n.g:"undefined"!=typeof self?self:{},W=function(e){return e&&e.Math==Math&&e},Y=W("object"==typeof globalThis&&globalThis)||W("object"==typeof window&&window)||W("object"==typeof self&&self)||W("object"==typeof H&&H)||function(){return this}()||Function("return this")(),K={},J=function(e){try{return!!e()}catch(e){return!0}},X=!J((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),Z={},$={}.propertyIsEnumerable,ee=Object.getOwnPropertyDescriptor,te=ee&&!$.call({1:2},1);Z.f=te?function(e){var t=ee(this,e);return!!t&&t.enumerable}:$;var ne,re,ie=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},oe={}.toString,ae=function(e){return oe.call(e).slice(8,-1)},se=ae,le="".split,ce=J((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==se(e)?le.call(e,""):Object(e)}:Object,ue=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},de=ce,pe=ue,he=function(e){return de(pe(e))},fe=function(e){return"function"==typeof e},me=fe,ge=function(e){return"object"==typeof e?null!==e:me(e)},ve=Y,ye=fe,Ae=function(e,t){return arguments.length<2?function(e){return ye(e)?e:void 0}(ve[e]):ve[e]&&ve[e][t]},be=Ae("navigator","userAgent")||"",we=Y,xe=be,Ce=we.process,Se=we.Deno,ke=Ce&&Ce.versions||Se&&Se.version,Ee=ke&&ke.v8;Ee?re=(ne=Ee.split("."))[0]<4?1:ne[0]+ne[1]:xe&&(!(ne=xe.match(/Edge\/(\d+)/))||ne[1]>=74)&&(ne=xe.match(/Chrome\/(\d+)/))&&(re=ne[1]);var Ie=re&&+re,_e=Ie,Pe=J,Oe=!!Object.getOwnPropertySymbols&&!Pe((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&_e&&_e<41})),Te=Oe&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,De=fe,je=Ae,Be=Te?function(e){return"symbol"==typeof e}:function(e){var t=je("Symbol");return De(t)&&Object(e)instanceof t},Ne=function(e){try{return String(e)}catch(e){return"Object"}},Me=fe,Re=Ne,Le=function(e){if(Me(e))return e;throw TypeError(Re(e)+" is not a function")},Fe=Le,ze=function(e,t){var n=e[t];return null==n?void 0:Fe(n)},Qe=fe,Ue=ge,Ve={exports:{}},Ge=Y,qe=function(e,t){try{Object.defineProperty(Ge,e,{value:t,configurable:!0,writable:!0})}catch(r){Ge[e]=t}return t},He=qe,We=Y["__core-js_shared__"]||He("__core-js_shared__",{}),Ye=We;(Ve.exports=function(e,t){return Ye[e]||(Ye[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.18.1",mode:"global",copyright:"\xa9 2021 Denis Pushkarev (zloirock.ru)"});var Ke=ue,Je=function(e){return Object(Ke(e))},Xe=Je,Ze={}.hasOwnProperty,$e=Object.hasOwn||function(e,t){return Ze.call(Xe(e),t)},et=0,tt=Math.random(),nt=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++et+tt).toString(36)},rt=Y,it=Ve.exports,ot=$e,at=nt,st=Oe,lt=Te,ct=it("wks"),ut=rt.Symbol,dt=lt?ut:ut&&ut.withoutSetter||at,pt=function(e){return ot(ct,e)&&(st||"string"==typeof ct[e])||(st&&ot(ut,e)?ct[e]=ut[e]:ct[e]=dt("Symbol."+e)),ct[e]},ht=ge,ft=Be,mt=ze,gt=pt("toPrimitive"),vt=function(e,t){if(!ht(e)||ft(e))return e;var n,r=mt(e,gt);if(r){if(void 0===t&&(t="default"),n=r.call(e,t),!ht(n)||ft(n))return n;throw TypeError("Can't convert object to primitive value")}return void 0===t&&(t="number"),function(e,t){var n,r;if("string"===t&&Qe(n=e.toString)&&!Ue(r=n.call(e)))return r;if(Qe(n=e.valueOf)&&!Ue(r=n.call(e)))return r;if("string"!==t&&Qe(n=e.toString)&&!Ue(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")}(e,t)},yt=Be,At=function(e){var t=vt(e,"string");return yt(t)?t:String(t)},bt=ge,wt=Y.document,xt=bt(wt)&&bt(wt.createElement),Ct=function(e){return xt?wt.createElement(e):{}},St=Ct,kt=!X&&!J((function(){return 7!=Object.defineProperty(St("div"),"a",{get:function(){return 7}}).a})),Et=X,It=Z,_t=ie,Pt=he,Ot=At,Tt=$e,Dt=kt,jt=Object.getOwnPropertyDescriptor;K.f=Et?jt:function(e,t){if(e=Pt(e),t=Ot(t),Dt)try{return jt(e,t)}catch(e){}if(Tt(e,t))return _t(!It.f.call(e,t),e[t])};var Bt={},Nt=ge,Mt=function(e){if(Nt(e))return e;throw TypeError(String(e)+" is not an object")},Rt=X,Lt=kt,Ft=Mt,zt=At,Qt=Object.defineProperty;Bt.f=Rt?Qt:function(e,t,n){if(Ft(e),t=zt(t),Ft(n),Lt)try{return Qt(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e};var Ut=Bt,Vt=ie,Gt=X?function(e,t,n){return Ut.f(e,t,Vt(1,n))}:function(e,t,n){return e[t]=n,e},qt={exports:{}},Ht=fe,Wt=We,Yt=Function.toString;Ht(Wt.inspectSource)||(Wt.inspectSource=function(e){return Yt.call(e)});var Kt,Jt,Xt,Zt=Wt.inspectSource,$t=fe,en=Zt,tn=Y.WeakMap,nn=$t(tn)&&/native code/.test(en(tn)),rn=Ve.exports,on=nt,an=rn("keys"),sn=function(e){return an[e]||(an[e]=on(e))},ln={},cn=nn,un=ge,dn=Gt,pn=$e,hn=We,fn=sn,mn=ln,gn=Y.WeakMap;if(cn||hn.state){var vn=hn.state||(hn.state=new gn),yn=vn.get,An=vn.has,bn=vn.set;Kt=function(e,t){if(An.call(vn,e))throw new TypeError("Object already initialized");return t.facade=e,bn.call(vn,e,t),t},Jt=function(e){return yn.call(vn,e)||{}},Xt=function(e){return An.call(vn,e)}}else{var wn=fn("state");mn[wn]=!0,Kt=function(e,t){if(pn(e,wn))throw new TypeError("Object already initialized");return t.facade=e,dn(e,wn,t),t},Jt=function(e){return pn(e,wn)?e[wn]:{}},Xt=function(e){return pn(e,wn)}}var xn={set:Kt,get:Jt,has:Xt,enforce:function(e){return Xt(e)?Jt(e):Kt(e,{})},getterFor:function(e){return function(t){var n;if(!un(t)||(n=Jt(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}},Cn=X,Sn=$e,kn=Function.prototype,En=Cn&&Object.getOwnPropertyDescriptor,In=Sn(kn,"name"),_n={EXISTS:In,PROPER:In&&"something"===function(){}.name,CONFIGURABLE:In&&(!Cn||Cn&&En(kn,"name").configurable)},Pn=Y,On=fe,Tn=$e,Dn=Gt,jn=qe,Bn=Zt,Nn=_n.CONFIGURABLE,Mn=xn.get,Rn=xn.enforce,Ln=String(String).split("String");(qt.exports=function(e,t,n,r){var i,o=!!r&&!!r.unsafe,a=!!r&&!!r.enumerable,s=!!r&&!!r.noTargetGet,l=r&&void 0!==r.name?r.name:t;On(n)&&("Symbol("===String(l).slice(0,7)&&(l="["+String(l).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!Tn(n,"name")||Nn&&n.name!==l)&&Dn(n,"name",l),(i=Rn(n)).source||(i.source=Ln.join("string"==typeof l?l:""))),e!==Pn?(o?!s&&e[t]&&(a=!0):delete e[t],a?e[t]=n:Dn(e,t,n)):a?e[t]=n:jn(t,n)})(Function.prototype,"toString",(function(){return On(this)&&Mn(this).source||Bn(this)}));var Fn={},zn=Math.ceil,Qn=Math.floor,Un=function(e){return isNaN(e=+e)?0:(e>0?Qn:zn)(e)},Vn=Un,Gn=Math.min,qn=function(e){return e>0?Gn(Vn(e),9007199254740991):0},Hn=Un,Wn=Math.max,Yn=Math.min,Kn=he,Jn=qn,Xn=function(e){return function(t,n,r){var i,o=Kn(t),a=Jn(o.length),s=function(e,t){var n=Hn(e);return n<0?Wn(n+t,0):Yn(n,t)}(r,a);if(e&&n!=n){for(;a>s;)if((i=o[s++])!=i)return!0}else for(;a>s;s++)if((e||s in o)&&o[s]===n)return e||s||0;return!e&&-1}},Zn={includes:Xn(!0),indexOf:Xn(!1)},$n=$e,er=he,tr=Zn.indexOf,nr=ln,rr=function(e,t){var n,r=er(e),i=0,o=[];for(n in r)!$n(nr,n)&&$n(r,n)&&o.push(n);for(;t.length>i;)$n(r,n=t[i++])&&(~tr(o,n)||o.push(n));return o},ir=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],or=rr,ar=ir.concat("length","prototype");Fn.f=Object.getOwnPropertyNames||function(e){return or(e,ar)};var sr={};sr.f=Object.getOwnPropertySymbols;var lr=Fn,cr=sr,ur=Mt,dr=Ae("Reflect","ownKeys")||function(e){var t=lr.f(ur(e)),n=cr.f;return n?t.concat(n(e)):t},pr=$e,hr=dr,fr=K,mr=Bt,gr=J,vr=fe,yr=/#|\.prototype\./,Ar=function(e,t){var n=wr[br(e)];return n==Cr||n!=xr&&(vr(t)?gr(t):!!t)},br=Ar.normalize=function(e){return String(e).replace(yr,".").toLowerCase()},wr=Ar.data={},xr=Ar.NATIVE="N",Cr=Ar.POLYFILL="P",Sr=Ar,kr=Y,Er=K.f,Ir=Gt,_r=qt.exports,Pr=qe,Or=function(e,t){for(var n=hr(t),r=mr.f,i=fr.f,o=0;o<n.length;o++){var a=n[o];pr(e,a)||r(e,a,i(t,a))}},Tr=Sr,Dr=function(e,t){var n,r,i,o,a,s=e.target,l=e.global,c=e.stat;if(n=l?kr:c?kr[s]||Pr(s,{}):(kr[s]||{}).prototype)for(r in t){if(o=t[r],i=e.noTargetGet?(a=Er(n,r))&&a.value:n[r],!Tr(l?r:s+(c?".":"#")+r,e.forced)&&void 0!==i){if(typeof o==typeof i)continue;Or(o,i)}(e.sham||i&&i.sham)&&Ir(o,"sham",!0),_r(n,r,o,e)}},jr=rr,Br=ir,Nr=Object.keys||function(e){return jr(e,Br)},Mr=X,Rr=J,Lr=Nr,Fr=sr,zr=Z,Qr=Je,Ur=ce,Vr=Object.assign,Gr=Object.defineProperty,qr=!Vr||Rr((function(){if(Mr&&1!==Vr({b:1},Vr(Gr({},"a",{enumerable:!0,get:function(){Gr(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach((function(e){t[e]=e})),7!=Vr({},e)[n]||Lr(Vr({},t)).join("")!=r}))?function(e,t){for(var n=Qr(e),r=arguments.length,i=1,o=Fr.f,a=zr.f;r>i;)for(var s,l=Ur(arguments[i++]),c=o?Lr(l).concat(o(l)):Lr(l),u=c.length,d=0;u>d;)s=c[d++],Mr&&!a.call(l,s)||(n[s]=l[s]);return n}:Vr;Dr({target:"Object",stat:!0,forced:Object.assign!==qr},{assign:qr});var Hr=Y;Hr.Object.assign;var Wr=Je,Yr=Nr;Dr({target:"Object",stat:!0,forced:J((function(){Yr(1)}))},{keys:function(e){return Yr(Wr(e))}}),Hr.Object.keys;var Kr,Jr=Bt,Xr=Mt,Zr=Nr,$r=X?Object.defineProperties:function(e,t){Xr(e);for(var n,r=Zr(t),i=r.length,o=0;i>o;)Jr.f(e,n=r[o++],t[n]);return e},ei=Ae("document","documentElement"),ti=Mt,ni=$r,ri=ir,ii=ln,oi=ei,ai=Ct,si=sn("IE_PROTO"),li=function(){},ci=function(e){return"<script>"+e+"<\/script>"},ui=function(e){e.write(ci("")),e.close();var t=e.parentWindow.Object;return e=null,t},di=function(){try{Kr=new ActiveXObject("htmlfile")}catch(e){}var e,t;di="undefined"!=typeof document?document.domain&&Kr?ui(Kr):((t=ai("iframe")).style.display="none",oi.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(ci("document.F=Object")),e.close(),e.F):ui(Kr);for(var n=ri.length;n--;)delete di.prototype[ri[n]];return di()};ii[si]=!0;var pi=Object.create||function(e,t){var n;return null!==e?(li.prototype=ti(e),n=new li,li.prototype=null,n[si]=e):n=di(),void 0===t?n:ni(n,t)},hi=pi,fi=Bt,mi=pt("unscopables"),gi=Array.prototype;null==gi[mi]&&fi.f(gi,mi,{configurable:!0,value:hi(null)});var vi=function(e){gi[mi][e]=!0},yi=Zn.includes,Ai=vi;Dr({target:"Array",proto:!0},{includes:function(e){return yi(this,e,arguments.length>1?arguments[1]:void 0)}}),Ai("includes");var bi=Le,wi=function(e,t,n){if(bi(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}},xi=Y,Ci=wi,Si=Function.call,ki=function(e,t,n){return Ci(Si,xi[e].prototype[t],n)};ki("Array","includes");var Ei=ae,Ii=Array.isArray||function(e){return"Array"==Ei(e)},_i={};_i[pt("toStringTag")]="z";var Pi="[object z]"===String(_i),Oi=Pi,Ti=fe,Di=ae,ji=pt("toStringTag"),Bi="Arguments"==Di(function(){return arguments}()),Ni=Oi?Di:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),ji))?n:Bi?Di(t):"Object"==(r=Di(t))&&Ti(t.callee)?"Arguments":r},Mi=J,Ri=fe,Li=Ni,Fi=Zt,zi=[],Qi=Ae("Reflect","construct"),Ui=/^\s*(?:class|function)\b/,Vi=Ui.exec,Gi=!Ui.exec((function(){})),qi=function(e){if(!Ri(e))return!1;try{return Qi(Object,zi,e),!0}catch(e){return!1}},Hi=!Qi||Mi((function(){var e;return qi(qi.call)||!qi(Object)||!qi((function(){e=!0}))||e}))?function(e){if(!Ri(e))return!1;switch(Li(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return Gi||!!Vi.call(Ui,Fi(e))}:qi,Wi=Ii,Yi=Hi,Ki=ge,Ji=pt("species"),Xi=wi,Zi=ce,$i=Je,eo=qn,to=function(e,t){return new(function(e){var t;return Wi(e)&&(t=e.constructor,(Yi(t)&&(t===Array||Wi(t.prototype))||Ki(t)&&null===(t=t[Ji]))&&(t=void 0)),void 0===t?Array:t}(e))(0===t?0:t)},no=[].push,ro=function(e){var t=1==e,n=2==e,r=3==e,i=4==e,o=6==e,a=7==e,s=5==e||o;return function(l,c,u,d){for(var p,h,f=$i(l),m=Zi(f),g=Xi(c,u,3),v=eo(m.length),y=0,A=d||to,b=t?A(l,v):n||a?A(l,0):void 0;v>y;y++)if((s||y in m)&&(h=g(p=m[y],y,f),e))if(t)b[y]=h;else if(h)switch(e){case 3:return!0;case 5:return p;case 6:return y;case 2:no.call(b,p)}else switch(e){case 4:return!1;case 7:no.call(b,p)}return o?-1:r||i?i:b}},io={forEach:ro(0),map:ro(1),filter:ro(2),some:ro(3),every:ro(4),find:ro(5),findIndex:ro(6),filterReject:ro(7)},oo=Dr,ao=io.find,so=vi,lo=!0;"find"in[]&&Array(1).find((function(){lo=!1})),oo({target:"Array",proto:!0,forced:lo},{find:function(e){return ao(this,e,arguments.length>1?arguments[1]:void 0)}}),so("find"),ki("Array","find");var co=Dr,uo=io.findIndex,po=vi,ho=!0;"findIndex"in[]&&Array(1).findIndex((function(){ho=!1})),co({target:"Array",proto:!0,forced:ho},{findIndex:function(e){return uo(this,e,arguments.length>1?arguments[1]:void 0)}}),po("findIndex"),ki("Array","findIndex");var fo=!J((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),mo=$e,go=fe,vo=Je,yo=fo,Ao=sn("IE_PROTO"),bo=Object.prototype,wo=yo?Object.getPrototypeOf:function(e){var t=vo(e);if(mo(t,Ao))return t[Ao];var n=t.constructor;return go(n)&&t instanceof n?n.prototype:t instanceof Object?bo:null},xo=fe,Co=Mt,So=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return Co(n),function(e){if("object"==typeof e||xo(e))return e;throw TypeError("Can't set "+String(e)+" as a prototype")}(r),t?e.call(n,r):n.__proto__=r,n}}():void 0),ko=ge,Eo=Gt,Io={},_o=Io,Po=pt("iterator"),Oo=Array.prototype,To=Ni,Do=ze,jo=Io,Bo=pt("iterator"),No=function(e){if(null!=e)return Do(e,Bo)||Do(e,"@@iterator")||jo[To(e)]},Mo=Le,Ro=Mt,Lo=No,Fo=Mt,zo=ze,Qo=Mt,Uo=qn,Vo=wi,Go=No,qo=function(e,t,n){var r,i;Fo(e);try{if(!(r=zo(e,"return"))){if("throw"===t)throw n;return n}r=r.call(e)}catch(e){i=!0,r=e}if("throw"===t)throw n;if(i)throw r;return Fo(r),n},Ho=function(e,t){this.stopped=e,this.result=t},Wo=function(e,t,n){var r,i,o,a,s,l,c,u=n&&n.that,d=!(!n||!n.AS_ENTRIES),p=!(!n||!n.IS_ITERATOR),h=!(!n||!n.INTERRUPTED),f=Vo(t,u,1+d+h),m=function(e){return r&&qo(r,"normal",e),new Ho(!0,e)},g=function(e){return d?(Qo(e),h?f(e[0],e[1],m):f(e[0],e[1])):h?f(e,m):f(e)};if(p)r=e;else{if(!(i=Go(e)))throw TypeError(String(e)+" is not iterable");if(function(e){return void 0!==e&&(_o.Array===e||Oo[Po]===e)}(i)){for(o=0,a=Uo(e.length);a>o;o++)if((s=g(e[o]))&&s instanceof Ho)return s;return new Ho(!1)}r=function(e,t){var n=arguments.length<2?Lo(e):t;if(Mo(n))return Ro(n.call(e));throw TypeError(String(e)+" is not iterable")}(e,i)}for(l=r.next;!(c=l.call(r)).done;){try{s=g(c.value)}catch(e){qo(r,"throw",e)}if("object"==typeof s&&s&&s instanceof Ho)return s}return new Ho(!1)},Yo=Ni,Ko=function(e){if("Symbol"===Yo(e))throw TypeError("Cannot convert a Symbol value to a string");return String(e)},Jo=Dr,Xo=wo,Zo=So,$o=pi,ea=Gt,ta=ie,na=Wo,ra=Ko,ia=function(e,t){var n=this;if(!(n instanceof ia))return new ia(e,t);Zo&&(n=Zo(new Error(void 0),Xo(n))),void 0!==t&&ea(n,"message",ra(t)),arguments.length>2&&function(e,t){ko(t)&&"cause"in t&&Eo(e,"cause",e.cause)}(n,arguments[2]);var r=[];return na(e,r.push,{that:r}),ea(n,"errors",r),n};ia.prototype=$o(Error.prototype,{constructor:ta(5,ia),message:ta(5,""),name:ta(5,"AggregateError")}),Jo({global:!0},{AggregateError:ia});var oa,aa,sa,la=J,ca=fe,ua=wo,da=qt.exports,pa=pt("iterator"),ha=!1;[].keys&&("next"in(sa=[].keys())?(aa=ua(ua(sa)))!==Object.prototype&&(oa=aa):ha=!0),(null==oa||la((function(){var e={};return oa[pa].call(e)!==e})))&&(oa={}),ca(oa[pa])||da(oa,pa,(function(){return this}));var fa={IteratorPrototype:oa,BUGGY_SAFARI_ITERATORS:ha},ma=Bt.f,ga=$e,va=pt("toStringTag"),ya=function(e,t,n){e&&!ga(e=n?e:e.prototype,va)&&ma(e,va,{configurable:!0,value:t})},Aa=fa.IteratorPrototype,ba=pi,wa=ie,xa=ya,Ca=Io,Sa=function(){return this},ka=Dr,Ea=_n,Ia=fe,_a=wo,Pa=So,Oa=ya,Ta=Gt,Da=qt.exports,ja=Io,Ba=Ea.PROPER,Na=Ea.CONFIGURABLE,Ma=fa.IteratorPrototype,Ra=fa.BUGGY_SAFARI_ITERATORS,La=pt("iterator"),Fa=function(){return this},za=function(e,t,n,r,i,o,a){!function(e,t,n){var r=t+" Iterator";e.prototype=ba(Aa,{next:wa(1,n)}),xa(e,r,!1),Ca[r]=Sa}(n,t,r);var s,l,c,u=function(e){if(e===i&&m)return m;if(!Ra&&e in h)return h[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},d=t+" Iterator",p=!1,h=e.prototype,f=h[La]||h["@@iterator"]||i&&h[i],m=!Ra&&f||u(i),g="Array"==t&&h.entries||f;if(g&&(s=_a(g.call(new e)))!==Object.prototype&&s.next&&(_a(s)!==Ma&&(Pa?Pa(s,Ma):Ia(s[La])||Da(s,La,Fa)),Oa(s,d,!0)),Ba&&"values"==i&&f&&"values"!==f.name&&(Na?Ta(h,"name","values"):(p=!0,m=function(){return f.call(this)})),i)if(l={values:u("values"),keys:o?m:u("keys"),entries:u("entries")},a)for(c in l)(Ra||p||!(c in h))&&Da(h,c,l[c]);else ka({target:t,proto:!0,forced:Ra||p},l);return h[La]!==m&&Da(h,La,m,{name:i}),ja[t]=m,l},Qa=he,Ua=vi,Va=Io,Ga=xn,qa=za,Ha=Ga.set,Wa=Ga.getterFor("Array Iterator");qa(Array,"Array",(function(e,t){Ha(this,{type:"Array Iterator",target:Qa(e),index:0,kind:t})}),(function(){var e=Wa(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),"values"),Va.Arguments=Va.Array,Ua("keys"),Ua("values"),Ua("entries");var Ya=Ni,Ka=Pi?{}.toString:function(){return"[object "+Ya(this)+"]"},Ja=Pi,Xa=qt.exports,Za=Ka;Ja||Xa(Object.prototype,"toString",Za,{unsafe:!0});var $a=Y.Promise,es=qt.exports,ts=Ae,ns=Bt,rs=X,is=pt("species"),os=pt("iterator"),as=!1;try{var ss=0,ls={next:function(){return{done:!!ss++}},return:function(){as=!0}};ls[os]=function(){return this},Array.from(ls,(function(){throw 2}))}catch(Gh){}var cs,us,ds,ps,hs=Hi,fs=Ne,ms=Mt,gs=pt("species"),vs=function(e,t){var n,r=ms(e).constructor;return void 0===r||null==(n=ms(r)[gs])?t:function(e){if(hs(e))return e;throw TypeError(fs(e)+" is not a constructor")}(n)},ys=/(?:ipad|iphone|ipod).*applewebkit/i.test(be),As="process"==ae(Y.process),bs=Y,ws=fe,xs=J,Cs=wi,Ss=ei,ks=Ct,Es=ys,Is=As,_s=bs.setImmediate,Ps=bs.clearImmediate,Os=bs.process,Ts=bs.MessageChannel,Ds=bs.Dispatch,js=0,Bs={};try{cs=bs.location}catch(Gh){}var Ns=function(e){if(Bs.hasOwnProperty(e)){var t=Bs[e];delete Bs[e],t()}},Ms=function(e){return function(){Ns(e)}},Rs=function(e){Ns(e.data)},Ls=function(e){bs.postMessage(String(e),cs.protocol+"//"+cs.host)};_s&&Ps||(_s=function(e){for(var t=[],n=arguments.length,r=1;n>r;)t.push(arguments[r++]);return Bs[++js]=function(){(ws(e)?e:Function(e)).apply(void 0,t)},us(js),js},Ps=function(e){delete Bs[e]},Is?us=function(e){Os.nextTick(Ms(e))}:Ds&&Ds.now?us=function(e){Ds.now(Ms(e))}:Ts&&!Es?(ps=(ds=new Ts).port2,ds.port1.onmessage=Rs,us=Cs(ps.postMessage,ps,1)):bs.addEventListener&&ws(bs.postMessage)&&!bs.importScripts&&cs&&"file:"!==cs.protocol&&!xs(Ls)?(us=Ls,bs.addEventListener("message",Rs,!1)):us="onreadystatechange"in ks("script")?function(e){Ss.appendChild(ks("script")).onreadystatechange=function(){Ss.removeChild(this),Ns(e)}}:function(e){setTimeout(Ms(e),0)});var Fs,zs,Qs,Us,Vs,Gs,qs,Hs,Ws={set:_s,clear:Ps},Ys=Y,Ks=/ipad|iphone|ipod/i.test(be)&&void 0!==Ys.Pebble,Js=/web0s(?!.*chrome)/i.test(be),Xs=Y,Zs=K.f,$s=Ws.set,el=ys,tl=Ks,nl=Js,rl=As,il=Xs.MutationObserver||Xs.WebKitMutationObserver,ol=Xs.document,al=Xs.process,sl=Xs.Promise,ll=Zs(Xs,"queueMicrotask"),cl=ll&&ll.value;cl||(Fs=function(){var e,t;for(rl&&(e=al.domain)&&e.exit();zs;){t=zs.fn,zs=zs.next;try{t()}catch(e){throw zs?Us():Qs=void 0,e}}Qs=void 0,e&&e.enter()},el||rl||nl||!il||!ol?!tl&&sl&&sl.resolve?((qs=sl.resolve(void 0)).constructor=sl,Hs=qs.then,Us=function(){Hs.call(qs,Fs)}):Us=rl?function(){al.nextTick(Fs)}:function(){$s.call(Xs,Fs)}:(Vs=!0,Gs=ol.createTextNode(""),new il(Fs).observe(Gs,{characterData:!0}),Us=function(){Gs.data=Vs=!Vs}));var ul=cl||function(e){var t={fn:e,next:void 0};Qs&&(Qs.next=t),zs||(zs=t,Us()),Qs=t},dl={},pl=Le,hl=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=pl(t),this.reject=pl(n)};dl.f=function(e){return new hl(e)};var fl,ml,gl,vl,yl=Mt,Al=ge,bl=dl,wl=function(e,t){if(yl(e),Al(t)&&t.constructor===e)return t;var n=bl.f(e);return(0,n.resolve)(t),n.promise},xl=Y,Cl=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}},Sl="object"==typeof window,kl=Dr,El=Y,Il=Ae,_l=$a,Pl=qt.exports,Ol=So,Tl=ya,Dl=Le,jl=fe,Bl=ge,Nl=Zt,Ml=Wo,Rl=vs,Ll=Ws.set,Fl=ul,zl=wl,Ql=dl,Ul=Cl,Vl=xn,Gl=Sr,ql=Sl,Hl=As,Wl=Ie,Yl=pt("species"),Kl="Promise",Jl=Vl.get,Xl=Vl.set,Zl=Vl.getterFor(Kl),$l=_l&&_l.prototype,ec=_l,tc=$l,nc=El.TypeError,rc=El.document,ic=El.process,oc=Ql.f,ac=oc,sc=!!(rc&&rc.createEvent&&El.dispatchEvent),lc=jl(El.PromiseRejectionEvent),cc=!1,uc=Gl(Kl,(function(){var e=Nl(ec),t=e!==String(ec);if(!t&&66===Wl)return!0;if(Wl>=51&&/native code/.test(e))return!1;var n=new ec((function(e){e(1)})),r=function(e){e((function(){}),(function(){}))};return(n.constructor={})[Yl]=r,!(cc=n.then((function(){}))instanceof r)||!t&&ql&&!lc})),dc=uc||!function(e,t){if(!t&&!as)return!1;var n=!1;try{var r={};r[os]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch(e){}return n}((function(e){ec.all(e).catch((function(){}))})),pc=function(e){var t;return!(!Bl(e)||!jl(t=e.then))&&t},hc=function(e,t){if(!e.notified){e.notified=!0;var n=e.reactions;Fl((function(){for(var r=e.value,i=1==e.state,o=0;n.length>o;){var a,s,l,c=n[o++],u=i?c.ok:c.fail,d=c.resolve,p=c.reject,h=c.domain;try{u?(i||(2===e.rejection&&vc(e),e.rejection=1),!0===u?a=r:(h&&h.enter(),a=u(r),h&&(h.exit(),l=!0)),a===c.promise?p(nc("Promise-chain cycle")):(s=pc(a))?s.call(a,d,p):d(a)):p(r)}catch(e){h&&!l&&h.exit(),p(e)}}e.reactions=[],e.notified=!1,t&&!e.rejection&&mc(e)}))}},fc=function(e,t,n){var r,i;sc?((r=rc.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),El.dispatchEvent(r)):r={promise:t,reason:n},!lc&&(i=El["on"+e])?i(r):"unhandledrejection"===e&&function(e,t){var n=xl.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))}("Unhandled promise rejection",n)},mc=function(e){Ll.call(El,(function(){var t,n=e.facade,r=e.value;if(gc(e)&&(t=Ul((function(){Hl?ic.emit("unhandledRejection",r,n):fc("unhandledrejection",n,r)})),e.rejection=Hl||gc(e)?2:1,t.error))throw t.value}))},gc=function(e){return 1!==e.rejection&&!e.parent},vc=function(e){Ll.call(El,(function(){var t=e.facade;Hl?ic.emit("rejectionHandled",t):fc("rejectionhandled",t,e.value)}))},yc=function(e,t,n){return function(r){e(t,r,n)}},Ac=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,hc(e,!0))},bc=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw nc("Promise can't be resolved itself");var r=pc(t);r?Fl((function(){var n={done:!1};try{r.call(t,yc(bc,n,e),yc(Ac,n,e))}catch(t){Ac(n,t,e)}})):(e.value=t,e.state=1,hc(e,!1))}catch(t){Ac({done:!1},t,e)}}};if(uc&&(tc=(ec=function(e){(function(e,t,n){if(e instanceof t)return e;throw TypeError("Incorrect "+(n?n+" ":"")+"invocation")})(this,ec,Kl),Dl(e),fl.call(this);var t=Jl(this);try{e(yc(bc,t),yc(Ac,t))}catch(e){Ac(t,e)}}).prototype,(fl=function(e){Xl(this,{type:Kl,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=function(e,t,n){for(var r in t)es(e,r,t[r],n);return e}(tc,{then:function(e,t){var n=Zl(this),r=oc(Rl(this,ec));return r.ok=!jl(e)||e,r.fail=jl(t)&&t,r.domain=Hl?ic.domain:void 0,n.parent=!0,n.reactions.push(r),0!=n.state&&hc(n,!1),r.promise},catch:function(e){return this.then(void 0,e)}}),ml=function(){var e=new fl,t=Jl(e);this.promise=e,this.resolve=yc(bc,t),this.reject=yc(Ac,t)},Ql.f=oc=function(e){return e===ec||e===gl?new ml(e):ac(e)},jl(_l)&&$l!==Object.prototype)){vl=$l.then,cc||(Pl($l,"then",(function(e,t){var n=this;return new ec((function(e,t){vl.call(n,e,t)})).then(e,t)}),{unsafe:!0}),Pl($l,"catch",tc.catch,{unsafe:!0}));try{delete $l.constructor}catch(Gh){}Ol&&Ol($l,tc)}kl({global:!0,wrap:!0,forced:uc},{Promise:ec}),Tl(ec,Kl,!1),function(e){var t=ts(e),n=ns.f;rs&&t&&!t[is]&&n(t,is,{configurable:!0,get:function(){return this}})}(Kl),gl=Il(Kl),kl({target:Kl,stat:!0,forced:uc},{reject:function(e){var t=oc(this);return t.reject.call(void 0,e),t.promise}}),kl({target:Kl,stat:!0,forced:uc},{resolve:function(e){return zl(this,e)}}),kl({target:Kl,stat:!0,forced:dc},{all:function(e){var t=this,n=oc(t),r=n.resolve,i=n.reject,o=Ul((function(){var n=Dl(t.resolve),o=[],a=0,s=1;Ml(e,(function(e){var l=a++,c=!1;o.push(void 0),s++,n.call(t,e).then((function(e){c||(c=!0,o[l]=e,--s||r(o))}),i)})),--s||r(o)}));return o.error&&i(o.value),n.promise},race:function(e){var t=this,n=oc(t),r=n.reject,i=Ul((function(){var i=Dl(t.resolve);Ml(e,(function(e){i.call(t,e).then(n.resolve,r)}))}));return i.error&&r(i.value),n.promise}});var wc=Le,xc=dl,Cc=Cl,Sc=Wo;Dr({target:"Promise",stat:!0},{allSettled:function(e){var t=this,n=xc.f(t),r=n.resolve,i=n.reject,o=Cc((function(){var n=wc(t.resolve),i=[],o=0,a=1;Sc(e,(function(e){var s=o++,l=!1;i.push(void 0),a++,n.call(t,e).then((function(e){l||(l=!0,i[s]={status:"fulfilled",value:e},--a||r(i))}),(function(e){l||(l=!0,i[s]={status:"rejected",reason:e},--a||r(i))}))})),--a||r(i)}));return o.error&&i(o.value),n.promise}});var kc=Le,Ec=Ae,Ic=dl,_c=Cl,Pc=Wo;Dr({target:"Promise",stat:!0},{any:function(e){var t=this,n=Ic.f(t),r=n.resolve,i=n.reject,o=_c((function(){var n=kc(t.resolve),o=[],a=0,s=1,l=!1;Pc(e,(function(e){var c=a++,u=!1;o.push(void 0),s++,n.call(t,e).then((function(e){u||l||(l=!0,r(e))}),(function(e){u||l||(u=!0,o[c]=e,--s||i(new(Ec("AggregateError"))(o,"No one promise resolved")))}))})),--s||i(new(Ec("AggregateError"))(o,"No one promise resolved"))}));return o.error&&i(o.value),n.promise}});var Oc=Dr,Tc=$a,Dc=J,jc=Ae,Bc=fe,Nc=vs,Mc=wl,Rc=qt.exports;if(Oc({target:"Promise",proto:!0,real:!0,forced:!!Tc&&Dc((function(){Tc.prototype.finally.call({then:function(){}},(function(){}))}))},{finally:function(e){var t=Nc(this,jc("Promise")),n=Bc(e);return this.then(n?function(n){return Mc(t,e()).then((function(){return n}))}:e,n?function(n){return Mc(t,e()).then((function(){throw n}))}:e)}}),Bc(Tc)){var Lc=jc("Promise").prototype.finally;Tc.prototype.finally!==Lc&&Rc(Tc.prototype,"finally",Lc,{unsafe:!0})}var Fc=Un,zc=Ko,Qc=ue,Uc=function(e){return function(t,n){var r,i,o=zc(Qc(t)),a=Fc(n),s=o.length;return a<0||a>=s?e?"":void 0:(r=o.charCodeAt(a))<55296||r>56319||a+1===s||(i=o.charCodeAt(a+1))<56320||i>57343?e?o.charAt(a):r:e?o.slice(a,a+2):i-56320+(r-55296<<10)+65536}},Vc=(Uc(!1),Uc(!0)),Gc=Ko,qc=xn,Hc=za,Wc=qc.set,Yc=qc.getterFor("String Iterator");Hc(String,"String",(function(e){Wc(this,{type:"String Iterator",string:Gc(e),index:0})}),(function(){var e,t=Yc(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=Vc(n,r),t.index+=e.length,{value:e,done:!1})})),Hr.Promise,[Element.prototype,CharacterData.prototype,DocumentType.prototype].forEach((function(e){e.hasOwnProperty("remove")||Object.defineProperty(e,"remove",{configurable:!0,enumerable:!0,writable:!0,value:function(){null!==this.parentNode&&this.parentNode.removeChild(this)}})}));var Kc=function(e,t){return(Kc=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function Jc(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}Kc(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var Xc=function(){return(Xc=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function Zc(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}function $c(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((r=r.apply(e,t||[])).next())}))}function eu(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}}function tu(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}var nu={payButton:"Pay","payButton.redirecting":"Redirecting...",storeDetails:"Save for my next payment","creditCard.holderName":"Name on card","creditCard.holderName.placeholder":"J. Smith","creditCard.holderName.invalid":"Invalid cardholder name","creditCard.numberField.title":"Card number","creditCard.numberField.placeholder":"1234 5678 9012 3456","creditCard.expiryDateField.title":"Expiry date","creditCard.expiryDateField.placeholder":"MM/YY","creditCard.expiryDateField.month":"Month","creditCard.expiryDateField.month.placeholder":"MM","creditCard.expiryDateField.year.placeholder":"YY","creditCard.expiryDateField.year":"Year","creditCard.cvcField.title":"CVC / CVV","creditCard.cvcField.placeholder":"123","creditCard.storeDetailsButton":"Remember for next time","creditCard.cvcField.placeholder.4digits":"4 digits","creditCard.cvcField.placeholder.3digits":"3 digits","creditCard.taxNumber.placeholder":"YYMMDD / 0123456789",installments:"Number of installments",installmentOption:"%{times}x %{partialValue}",installmentOptionMonths:"%{times} months","installments.oneTime":"One time payment","installments.installments":"Installments payment","installments.revolving":"Revolving payment","sepaDirectDebit.ibanField.invalid":"Invalid account number","sepaDirectDebit.nameField.placeholder":"J. Smith","sepa.ownerName":"Holder Name","sepa.ibanNumber":"Account Number (IBAN)","error.title":"Error","error.subtitle.redirect":"Redirect failed","error.subtitle.payment":"Payment failed","error.subtitle.refused":"Payment refused","error.message.unknown":"An unknown error occurred","idealIssuer.selectField.title":"Bank","idealIssuer.selectField.placeholder":"Select your bank","creditCard.success":"Payment Successful",loading:"Loading\u2026",continue:"Continue",continueTo:"Continue to","wechatpay.timetopay":"You have %@ to pay","wechatpay.scanqrcode":"Scan QR code",personalDetails:"Personal details",companyDetails:"Company details","companyDetails.name":"Company name","companyDetails.registrationNumber":"Registration number",socialSecurityNumber:"Social security number",firstName:"First name",infix:"Prefix",lastName:"Last name",mobileNumber:"Mobile number","mobileNumber.invalid":"Invalid mobile number",city:"City",postalCode:"Postal code",countryCode:"Country Code",telephoneNumber:"Telephone number",dateOfBirth:"Date of birth",shopperEmail:"Email address",gender:"Gender",male:"Male",female:"Female",billingAddress:"Billing address",street:"Street",stateOrProvince:"State or province",country:"Country",houseNumberOrName:"House number",separateDeliveryAddress:"Specify a separate delivery address",deliveryAddress:"Delivery Address",zipCode:"Zip code",apartmentSuite:"Apartment / Suite",provinceOrTerritory:"Province or Territory",cityTown:"City / Town",address:"Address",state:"State","field.title.optional":"(optional)","creditCard.cvcField.title.optional":"CVC / CVV (optional)","issuerList.wallet.placeholder":"Select your wallet",privacyPolicy:"Privacy policy","afterPay.agreement":"I agree with the %@ of AfterPay",paymentConditions:"payment conditions",openApp:"Open the app","voucher.readInstructions":"Read instructions","voucher.introduction":"Thank you for your purchase, please use the following coupon to complete your payment.","voucher.expirationDate":"Expiration Date","voucher.alternativeReference":"Alternative Reference","dragonpay.voucher.non.bank.selectField.placeholder":"Select your provider","dragonpay.voucher.bank.selectField.placeholder":"Select your bank","voucher.paymentReferenceLabel":"Payment Reference","voucher.surcharge":"Incl. %@ surcharge","voucher.introduction.doku":"Thank you for your purchase, please use the following information to complete your payment.","voucher.shopperName":"Shopper Name","voucher.merchantName":"Merchant","voucher.introduction.econtext":"Thank you for your purchase, please use the following information to complete your payment.","voucher.telephoneNumber":"Phone Number","voucher.shopperReference":"Shopper Reference","voucher.collectionInstitutionNumber":"Collection Institution Number","voucher.econtext.telephoneNumber.invalid":"Telephone number must be 10 or 11 digits long","boletobancario.btnLabel":"Generate Boleto","boleto.sendCopyToEmail":"Send a copy to my email","button.copy":"Copy","button.download":"Download","boleto.socialSecurityNumber":"CPF/CNPJ","creditCard.storedCard.description.ariaLabel":"Stored card ends in %@","voucher.entity":"Entity",donateButton:"Donate",notNowButton:"Not now",thanksForYourSupport:"Thanks for your support!",preauthorizeWith:"Preauthorize with",confirmPreauthorization:"Confirm preauthorization",confirmPurchase:"Confirm purchase",applyGiftcard:"Redeem",giftcardBalance:"Gift card balance",deductedBalance:"Deducted balance","creditCard.pin.title":"Pin","creditCard.encryptedPassword.label":"First 2 digits of card password","creditCard.encryptedPassword.placeholder":"12","creditCard.encryptedPassword.invalid":"Invalid password","creditCard.taxNumber.label":"Cardholder birthdate (YYMMDD) or Corporate registration number (10 digits)","creditCard.taxNumber.labelAlt":"Corporate registration number (10 digits)","creditCard.taxNumber.invalid":"Invalid Cardholder birthdate or Corporate registration number","storedPaymentMethod.disable.button":"Remove","storedPaymentMethod.disable.confirmation":"Remove stored payment method","storedPaymentMethod.disable.confirmButton":"Yes, remove","storedPaymentMethod.disable.cancelButton":"Cancel","ach.bankAccount":"Bank account","ach.accountHolderNameField.title":"Account holder name","ach.accountHolderNameField.placeholder":"J. Smith","ach.accountHolderNameField.invalid":"Invalid account holder name","ach.accountNumberField.title":"Account number","ach.accountNumberField.invalid":"Invalid account number","ach.accountLocationField.title":"ABA routing number","ach.accountLocationField.invalid":"Invalid ABA routing number","select.state":"Select state","select.stateOrProvince":"Select state or province","select.provinceOrTerritory":"Select province or territory","select.country":"Select country","select.noOptionsFound":"No options found","select.filter.placeholder":"Search...","telephoneNumber.invalid":"Invalid telephone number",qrCodeOrApp:"or","paypal.processingPayment":"Processing payment...",generateQRCode:"Generate QR code","await.waitForConfirmation":"Waiting for confirmation","mbway.confirmPayment":"Confirm your payment on the MB WAY app","shopperEmail.invalid":"Invalid email address","dateOfBirth.format":"DD/MM/YYYY","dateOfBirth.invalid":"You must be at least 18 years old","blik.confirmPayment":"Open your banking app to confirm the payment.","blik.invalid":"Enter 6 numbers","blik.code":"6-digit code","blik.help":"Get the code from your banking app.","swish.pendingMessage":"After you scan, the status can be pending for up to 10 minutes. Attempting to pay again within this time may result in multiple charges.","error.va.gen.01":"Incomplete field","error.va.gen.02":"Field not valid","error.va.sf-cc-num.01":"Invalid card number","error.va.sf-cc-num.03":"Unsupported card entered","error.va.sf-cc-dat.01":"Card too old","error.va.sf-cc-dat.02":"Date too far in the future","error.va.sf-cc-dat.03":"Your card expires before check out date","error.va.sf-ach-num.01":"Invalid account number","error.va.sf-ach-loc.01":"Invalid ABA routing number","error.va.sf-kcp-pwd.01":"Invalid password","error.giftcard.no-balance":"This gift card has zero balance","error.giftcard.card-error":"In our records we have no gift card with this number","error.giftcard.currency-error":"Gift cards are only valid in the currency they were issued in","amazonpay.signout":"Sign out from Amazon","amazonpay.changePaymentDetails":"Change payment details","partialPayment.warning":"Select another payment method to pay the remaining","partialPayment.remainingBalance":"Remaining balance will be %{amount}","bankTransfer.beneficiary":"Beneficiary","bankTransfer.iban":"IBAN","bankTransfer.bic":"BIC","bankTransfer.reference":"Reference","bankTransfer.introduction":"Continue to create a new bank transfer payment. You can use the details in the following screen to finalize this payment.","bankTransfer.instructions":"Thank you for your purchase, please use the following information to complete your payment.","bacs.accountHolderName":"Bank account holder name","bacs.accountHolderName.invalid":"Invalid bank account holder name","bacs.accountNumber":"Bank account number","bacs.accountNumber.invalid":"Invalid bank account number","bacs.bankLocationId":"Sort code","bacs.bankLocationId.invalid":"Invalid sort code","bacs.consent.amount":"I agree that the above amount will be deducted from my bank account.","bacs.consent.account":"I confirm the account is in my name and I am the only signatory required to authorise the Direct Debit on this account.",edit:"Edit","bacs.confirm":"Confirm and pay","bacs.result.introduction":"Download your Direct Debit Instruction (DDI / Mandate)","download.pdf":"Download PDF","creditCard.encryptedCardNumber.aria.iframeTitle":"Iframe for secured card number","creditCard.encryptedCardNumber.aria.label":"Card number field","creditCard.encryptedExpiryDate.aria.iframeTitle":"Iframe for secured card expiry date","creditCard.encryptedExpiryDate.aria.label":"Expiry date field","creditCard.encryptedExpiryMonth.aria.iframeTitle":"Iframe for secured card expiry month","creditCard.encryptedExpiryMonth.aria.label":"Expiry month field","creditCard.encryptedExpiryYear.aria.iframeTitle":"Iframe for secured card expiry year","creditCard.encryptedExpiryYear.aria.label":"Expiry year field","creditCard.encryptedSecurityCode.aria.iframeTitle":"Iframe for secured card security code","creditCard.encryptedSecurityCode.aria.label":"Security code field","giftcard.encryptedCardNumber.aria.iframeTitle":"Iframe for secured gift card number","giftcard.encryptedCardNumber.aria.label":"Gift card number field","giftcard.encryptedSecurityCode.aria.iframeTitle":"Iframe for secured gift card security code","giftcard.encryptedSecurityCode.aria.label":"Gift card security code field",giftcardTransactionLimit:"Max. %{amount} allowed per transaction on this gift card","ach.encryptedBankAccountNumber.aria.iframeTitle":"Iframe for secured bank account number","ach.encryptedBankAccountNumber.aria.label":"Bank account field","ach.encryptedBankLocationId.aria.iframeTitle":"Iframe for secured bank routing number","ach.encryptedBankLocationId.aria.label":"Bank routing number field","pix.instructions":"Open the app with the PIX registered key, choose Pay with PIX and scan the QR Code or copy and paste the code","twint.saved":"saved"},ru=Object.freeze({__proto__:null,default:nu}),iu=nu,ou={ar:function(){return n.e(1106).then(n.bind(n,71106))},"cs-CZ":function(){return n.e(2589).then(n.bind(n,62589))},"da-DK":function(){return n.e(6426).then(n.bind(n,86426))},"de-DE":function(){return n.e(2480).then(n.bind(n,52480))},"el-GR":function(){return n.e(8052).then(n.bind(n,48052))},"en-US":function(){return Promise.resolve().then((function(){return ru}))},"es-ES":function(){return n.e(4834).then(n.bind(n,44834))},"fi-FI":function(){return n.e(2952).then(n.bind(n,12952))},"fr-FR":function(){return n.e(9042).then(n.bind(n,99042))},"hr-HR":function(){return n.e(4754).then(n.bind(n,44754))},"hu-HU":function(){return n.e(9776).then(n.bind(n,39776))},"it-IT":function(){return n.e(2504).then(n.bind(n,52504))},"ja-JP":function(){return n.e(8863).then(n.bind(n,8863))},"ko-KR":function(){return n.e(5705).then(n.bind(n,15705))},"nl-NL":function(){return n.e(8038).then(n.bind(n,88038))},"no-NO":function(){return n.e(2112).then(n.bind(n,52112))},"pl-PL":function(){return n.e(1710).then(n.bind(n,91710))},"pt-BR":function(){return n.e(4474).then(n.bind(n,84474))},"ro-RO":function(){return n.e(5544).then(n.bind(n,55544))},"ru-RU":function(){return n.e(6488).then(n.bind(n,66488))},"sk-SK":function(){return n.e(9830).then(n.bind(n,59830))},"sl-SI":function(){return n.e(3023).then(n.bind(n,23023))},"sv-SE":function(){return n.e(2369).then(n.bind(n,22369))},"zh-CN":function(){return n.e(9681).then(n.bind(n,19681))},"zh-TW":function(){return n.e(6709).then(n.bind(n,6709))}},au=function(e){return e.toLowerCase().substring(0,2)};function su(e){var t=e.replace("_","-");if(new RegExp("([a-z]{2})([-])([A-Z]{2})").test(t))return t;var n=t.split("-"),r=n[0],i=n[1];if(!r||!i)return null;var o=[r.toLowerCase(),i.toUpperCase()].join("-");return 5===o.length?o:null}function lu(e,t){if(void 0===t&&(t=[]),!e||e.length<1||e.length>5)return"en-US";var n=su(e);return t.indexOf(n)>-1?n:function(e,t){return e&&"string"==typeof e&&t.find((function(t){return au(t)===au(e)}))||null}(n||e,t)}var cu=function(e,t){return e.replace(/%{(\w+)}/g,(function(e,n){return t[n]||""}))},uu={IDR:1,JPY:1,KRW:1,VND:1,BYR:1,CVE:1,DJF:1,GHC:1,GNF:1,KMF:1,PYG:1,RWF:1,UGX:1,VUV:1,XAF:1,XOF:1,XPF:1,MRO:10,BHD:1e3,IQD:1e3,JOD:1e3,KWD:1e3,OMR:1e3,LYD:1e3,TND:1e3},du=function(e,t){var n=function(e){return uu[e]||100}(t);return parseInt(String(e),10)/n},pu=function(){function e(e,t){var n=this;void 0===e&&(e="en-US"),void 0===t&&(t={}),this.translations=iu;var r=Object.keys(ou);this.customTranslations=function(e,t){return void 0===e&&(e={}),Object.keys(e).reduce((function(n,r){var i=su(r)||lu(r,t);return i&&(n[i]=e[r]),n}),{})}(t,r);var i=Object.keys(this.customTranslations);this.supportedLocales=tu(tu([],r),i).filter((function(e,t,n){return n.indexOf(e)===t})),this.locale=su(e)||lu(e,this.supportedLocales)||"en-US";var o=this.locale.split("-")[0];this.languageCode=o,this.loaded=function(e,t){return void 0===t&&(t={}),$c(void 0,void 0,void 0,(function(){var n,r;return eu(this,(function(i){switch(i.label){case 0:return n=lu(e,Object.keys(ou))||"en-US",[4,ou[n]()];case 1:return r=i.sent(),[2,Xc(Xc(Xc({},iu),r.default),!!t[e]&&t[e])]}}))}))}(this.locale,this.customTranslations).then((function(e){n.translations=e}))}return e.prototype.get=function(e,t){var n=function(e,t,n){void 0===n&&(n={values:{},count:0});var r=t+"__plural",i=function(e){return t+"__"+e};return Object.prototype.hasOwnProperty.call(e,i(n.count))?cu(e[i(n.count)],n.values):Object.prototype.hasOwnProperty.call(e,r)&&n.count>1?cu(e[r],n.values):Object.prototype.hasOwnProperty.call(e,t)?cu(e[t],n.values):null}(this.translations,e,t);return null!==n?n:e},e.prototype.amount=function(e,t,n){return function(e,t,n,r){void 0===r&&(r={});var i=e.toString(),o=du(i,n),a=t.replace("_","-"),s=Xc({style:"currency",currency:n,currencyDisplay:"symbol"},r);try{return o.toLocaleString(a,s)}catch(e){return i}}(e,this.locale,t,n)},e.prototype.date=function(e,t){void 0===t&&(t={});var n=Xc({year:"numeric",month:"2-digit",day:"2-digit"},t);return new Date(e).toLocaleDateString(this.locale,n)},e}(),hu=function(e,t){return t.split(".").reduce((function(e,t){return e&&e[t]?e[t]:void 0}),e)},fu=function(){var e=this;this.events={},this.on=function(t,n){e.events[t]=e.events[t]||[],e.events[t].push(n)},this.off=function(t,n){e.events[t]&&(e.events[t]=e.events[t].reduce((function(e,t){return t!==n&&e.push(t),e}),[]))},this.emit=function(t,n){e.events[t]&&e.events[t].forEach((function(e){e(n)}))}};function mu(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)}))}var gu,vu,yu,Au=function(){function e(e){this._id=this.constructor.type+"-"+mu(),this.eventEmitter=new fu,this.props=this.formatProps(Xc(Xc({},this.constructor.defaultProps),e)),this._parentInstance=this.props._parentInstance,this._node=null,this.state={}}return e.prototype.formatProps=function(e){return e},e.prototype.formatData=function(){return{}},e.prototype.setState=function(e){this.state=Xc(Xc({},this.state),e)},Object.defineProperty(e.prototype,"data",{get:function(){var e=hu(this.props,"modules.risk.data"),t=hu(this.props,"modules.analytics.checkoutAttemptId"),n=this.state.order||this.props.order;return Xc(Xc(Xc(Xc(Xc({},e&&{riskData:{clientData:e}}),t&&{checkoutAttemptId:t}),n&&{order:{orderData:n.orderData,pspReference:n.pspReference}}),this.formatData()),{clientStateDataIndicator:!0})},enumerable:!1,configurable:!0}),e.prototype.render=function(){throw new Error("Payment method cannot be rendered.")},e.prototype.mount=function(e){var t,n="string"==typeof e?document.querySelector(e):e;if(!n)throw new Error("Component could not mount. Root node was not found.");if(this._node)throw new Error("Component is already mounted.");return this._node=n,this._component=this.render(),U(this._component,n),this.props.modules&&this.props.modules.analytics&&!this.props.isDropin&&this.props.modules.analytics.send({containerWidth:this._node&&this._node.offsetWidth,component:null!==(t=this.constructor.analyticsType)&&void 0!==t?t:this.constructor.type,flavor:"components"}),this},e.prototype.update=function(e){return this.props=this.formatProps(Xc(Xc({},this.props),e)),this.state={},this.unmount().remount()},e.prototype.remount=function(e){if(!this._node)throw new Error("Component is not mounted.");return U(e||this.render(),this._node,null),this},e.prototype.unmount=function(){return this._node&&U(null,this._node),this},e.prototype.remove=function(){this.unmount(),this._parentInstance&&this._parentInstance.remove(this)},e.defaultProps={},e}(),bu="https://checkoutshopper-live.adyen.com/checkoutshopper/",wu=["amount","countryCode","environment","loadingContext","i18n","modules","order","clientKey","showPayButton","installmentOptions","onSubmit","onAdditionalDetails","onCancel","onChange","onError","onBalanceCheck","onOrderRequest","setStatusAutomatically"],xu=function(e){var t=e.loadingContext,n=void 0===t?bu:t,r=e.extension,i=void 0===r?"svg":r,o=Zc(e,["loadingContext","extension"]);return function(e){return function(e){var t=e.name,n=e.loadingContext,r=e.imageFolder,i=void 0===r?"":r,o=e.parentFolder,a=void 0===o?"":o,s=e.extension,l=e.size,c=void 0===l?"":l,u=e.subFolder;return n+"images/"+i+(void 0===u?"":u)+a+t+c+"."+s}(Xc({extension:i,loadingContext:n,imageFolder:"logos/",parentFolder:"",name:e},o))}},Cu=function(e){var t=e.inline,n=void 0!==t&&t,r=e.size;return b("div",{className:"adyen-checkout__spinner__wrapper "+(n?"adyen-checkout__spinner__wrapper--inline":"")},b("div",{className:"adyen-checkout__spinner adyen-checkout__spinner--"+(void 0===r?"large":r)}))},Su=0,ku=[],Eu=i.__b,Iu=i.__r,_u=i.diffed,Pu=i.__c,Ou=i.unmount;function Tu(e,t){i.__h&&i.__h(vu,e,Su||t),Su=0;var n=vu.__H||(vu.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function Du(e){return Su=1,ju(Gu,e)}function ju(e,t,n){var r=Tu(gu++,2);return r.t=e,r.__c||(r.__=[n?n(t):Gu(void 0,t),function(e){var t=r.t(r.__[0],e);r.__[0]!==t&&(r.__=[t,r.__[1]],r.__c.setState({}))}],r.__c=vu),r.__}function Bu(e,t){var n=Tu(gu++,3);!i.__s&&Vu(n.__H,t)&&(n.__=e,n.__H=t,vu.__H.__h.push(n))}function Nu(e,t){var n=Tu(gu++,4);!i.__s&&Vu(n.__H,t)&&(n.__=e,n.__H=t,vu.__h.push(n))}function Mu(e){return Su=5,Ru((function(){return{current:e}}),[])}function Ru(e,t){var n=Tu(gu++,7);return Vu(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function Lu(e,t){return Su=8,Ru((function(){return e}),t)}function Fu(){ku.forEach((function(e){if(e.__P)try{e.__H.__h.forEach(Qu),e.__H.__h.forEach(Uu),e.__H.__h=[]}catch(t){e.__H.__h=[],i.__e(t,e.__v)}})),ku=[]}i.__b=function(e){vu=null,Eu&&Eu(e)},i.__r=function(e){Iu&&Iu(e),gu=0;var t=(vu=e.__c).__H;t&&(t.__h.forEach(Qu),t.__h.forEach(Uu),t.__h=[])},i.diffed=function(e){_u&&_u(e);var t=e.__c;t&&t.__H&&t.__H.__h.length&&(1!==ku.push(t)&&yu===i.requestAnimationFrame||((yu=i.requestAnimationFrame)||function(e){var t,n=function(){clearTimeout(r),zu&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);zu&&(t=requestAnimationFrame(n))})(Fu)),vu=void 0},i.__c=function(e,t){t.some((function(e){try{e.__h.forEach(Qu),e.__h=e.__h.filter((function(e){return!e.__||Uu(e)}))}catch(l){t.some((function(e){e.__h&&(e.__h=[])})),t=[],i.__e(l,e.__v)}})),Pu&&Pu(e,t)},i.unmount=function(e){Ou&&Ou(e);var t=e.__c;if(t&&t.__H)try{t.__H.__.forEach(Qu)}catch(e){i.__e(e,t.__v)}};var zu="function"==typeof requestAnimationFrame;function Qu(e){var t=vu;"function"==typeof e.__c&&e.__c(),vu=t}function Uu(e){var t=vu;e.__c=e.__(),vu=t}function Vu(e,t){return!e||e.length!==t.length||t.some((function(t,n){return t!==e[n]}))}function Gu(e,t){return"function"==typeof t?t(e):t}var qu=function(e,t){var n={__c:t="__cC"+h++,__:e,Consumer:function(e,t){return e.children(t)},Provider:function(e){var n,r;return this.getChildContext||(n=new Set,(r={})[t]=this,this.getChildContext=function(){return r},this.componentWillUnmount=function(){n=null},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&n.forEach((function(e){e.__e=!0,E(e)}))},this.sub=function(e){n.add(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n&&n.delete(e),t&&t.call(e)}}),e.children}};return n.Provider.__=n.Consumer.contextType=n}({i18n:new pu,loadingContext:""});function Hu(){return function(e){var t=vu.context[e.__c],n=Tu(gu++,9);return n.__c=e,t?(null==n.__&&(n.__=!0,t.sub(vu)),t.props.value):e.__}(qu)}var Wu=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.onClick=function(e){e.preventDefault(),t.props.disabled||t.props.onClick(e,{complete:t.complete})},t.complete=function(e){void 0===e&&(e=1e3),t.setState({completed:!0}),setTimeout((function(){t.setState({completed:!1})}),e)},t}return Jc(t,e),t.prototype.render=function(e,t){var n=e.classNameModifiers,r=void 0===n?[]:n,i=e.disabled,o=e.href,a=e.icon,s=e.secondary,l=e.inline,c=e.label,u=e.status,d=t.completed,p=Hu().i18n,h=a?b("img",{className:"adyen-checkout__button__icon",src:a,alt:"","aria-hidden":"true"}):"",f=tu(tu(tu(tu(tu([],r),l?["inline"]:[]),d?["completed"]:[]),s?["secondary"]:[]),"loading"===u||"redirect"===u?["loading"]:[]),m=q()(tu(["adyen-checkout__button"],f.map((function(e){return"adyen-checkout__button--"+e})))),g={loading:b(Cu,{size:"medium"}),redirect:b("span",{className:"adyen-checkout__button__content"},b(Cu,{size:"small",inline:!0}),p.get("payButton.redirecting")),default:b("span",{className:"adyen-checkout__button__content"},h,b("span",{className:"adyen-checkout__button__text"},c))},v=g[u]||g.default;return o?b("a",{className:m,href:o,disabled:i,target:this.props.target,rel:this.props.rel},v):b("button",{className:m,type:"button",disabled:i,onClick:this.onClick},v)},t.defaultProps={status:"default",disabled:!1,label:"",secondary:!1,inline:!1,target:"_self",onClick:function(){}},t}(C),Yu=function(e,t){return e.get("payButton")+" "+((null==t?void 0:t.value)&&(null==t?void 0:t.currency)?e.amount(t.value,t.currency):"")},Ku=function(e){var t=e.amount,n=e.classNameModifiers,r=void 0===n?[]:n,i=e.label,o=Zc(e,["amount","classNameModifiers","label"]),a=Hu().i18n,s=t&&{}.hasOwnProperty.call(t,"value")&&0===t.value?a.get("confirmPreauthorization"):Yu(a,t);return b(Wu,Xc({},o,{disabled:"loading"===o.status,classNameModifiers:tu(tu([],r),["pay"]),label:i||s}))},Ju=function(e){function t(t){var n=e.call(this,t)||this;return n.payButton=function(e){return b(Ku,Xc({},e,{amount:n.props.amount,onClick:n.submit}))},n.submit=n.submit.bind(n),n.setState=n.setState.bind(n),n.onValid=n.onValid.bind(n),n.onComplete=n.onComplete.bind(n),n.handleAction=n.handleAction.bind(n),n.elementRef=t&&t.elementRef||n,n}return Jc(t,e),t.prototype.setState=function(e){this.state=Xc(Xc({},this.state),e),this.onChange()},t.prototype.onChange=function(){var e=this.isValid,t={data:this.data,errors:this.state.errors,valid:this.state.valid,isValid:e};return this.props.onChange&&this.props.onChange(t,this.elementRef),e&&this.onValid(),t},t.prototype.onValid=function(){var e={data:this.data};return this.props.onValid&&this.props.onValid(e,this.elementRef),e},t.prototype.startPayment=function(){return Promise.resolve(!0)},t.prototype.submit=function(){var e=this,t=this.props,n=t.onError,r=void 0===n?function(){}:n,i=t.onSubmit,o=void 0===i?function(){}:i;this.startPayment().then((function(){var t=e,n=t.data,r=t.isValid;return r?(!1!==e.props.setStatusAutomatically&&e.setStatus("loading"),o({data:n,isValid:r},e.elementRef)):(e.showValidation(),!1)})).catch((function(e){return r(e)}))},t.prototype.onComplete=function(e){this.props.onComplete&&this.props.onComplete(e,this.elementRef)},t.prototype.showValidation=function(){return this.componentRef&&this.componentRef.showValidation&&this.componentRef.showValidation(),this},t.prototype.setStatus=function(e){return this.componentRef&&this.componentRef.setStatus&&this.componentRef.setStatus(e),this},t.prototype.handleAction=function(e,t){var n=this;if(void 0===t&&(t={}),!e||!e.type)throw new Error("Invalid Action");var r=this.props._parentInstance.createFromAction(e,Xc(Xc({},t),{onAdditionalDetails:function(e){return n.props.onAdditionalDetails(e,n.elementRef)}}));return r?(this.unmount(),r.mount(this._node),r):null},Object.defineProperty(t.prototype,"isValid",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"icon",{get:function(){var e;return null!==(e=this.props.icon)&&void 0!==e?e:xu({loadingContext:this.props.loadingContext})(this.constructor.type)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"displayName",{get:function(){return this.props.name||this.constructor.type},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"accessibleName",{get:function(){return this.displayName},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"type",{get:function(){return this.props.type||this.constructor.type},enumerable:!1,configurable:!0}),t}(Au),Xu=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Jc(t,e),t.prototype.iframeOnLoad=function(){this.props.callback&&"function"==typeof this.props.callback&&this.props.callback(this.iframeEl.contentWindow)},t.prototype.componentDidMount=function(){this.iframeEl.addEventListener?this.iframeEl.addEventListener("load",this.iframeOnLoad.bind(this),!1):this.iframeEl.attachEvent?this.iframeEl.attachEvent("onload",this.iframeOnLoad.bind(this)):this.iframeEl.onload=this.iframeOnLoad.bind(this)},t.prototype.componentWillUnmount=function(){this.iframeEl.removeEventListener?this.iframeEl.removeEventListener("load",this.iframeOnLoad.bind(this),!1):this.iframeEl.detachEvent?this.iframeEl.detachEvent("onload",this.iframeOnLoad.bind(this)):this.iframeEl.onload=null},t.prototype.render=function(e){var t=this,n=e.name,r=e.src,i=e.width,o=e.height,a=e.minWidth,s=e.minHeight,l=e.border;return b("iframe",{ref:function(e){t.iframeEl=e},allow:e.allow,className:"adyen-checkout__iframe adyen-checkout__iframe--"+n,name:n,src:r,width:i,height:o,"min-width":a,"min-height":s,border:l,style:{border:0},frameBorder:"0",title:e.title,referrerpolicy:"origin"})},t.defaultProps={width:"0",height:"0",minWidth:"0",minHeight:"0",border:"0",src:null,allow:null,title:"components iframe"},t}(C),Zu=function(e,t,n){var r;return{promise:new Promise((function(i,o){r=setTimeout((function(){o(n)}),e),t.then((function(e){clearTimeout(r),i(e)})).catch((function(e){clearTimeout(r),o(e)}))})),cancel:function(){clearTimeout(r)}}},$u={result:{type:"deviceFingerprint",value:"df-timedOut"},errorCode:"timeout"},ed={result:{type:"deviceFingerprint",value:"df-failed"}},td={timeout:"iframe loading timed out",wrongOrigin:"Result did not come from the expected origin",wrongDataType:"Result data was not of the expected type",missingProperty:"Result data did not contain the expected properties",unknownError:"An unknown error occurred"},nd=function(e,t,n,r,i){return function(o){var a=Xc({},r);if((o.origin||o.originalEvent.origin)!==e)return"Message was not sent from the expected domain";if("string"!=typeof o.data)return"Event data was not of type string";if(!o.data.length)return"Invalid event data string";try{var s=JSON.parse(o.data);if(!Object.prototype.hasOwnProperty.call(s,"type")||s.type!==i)return"Event data was not of expected type";t(s)}catch(e){return n(a),!1}return!0}},rd=function(e){var t=/^(?:([A-Za-z]+):)?(\/{0,3})([0-9.\-A-Za-z]+)(?::(\d+))?(?:\/([^?#]*))?(?:\?([^#]*))?(?:#(.*))?$/.exec(e);if(!t)return null;var n=t[1],r=t[2],i=t[3],o=t[4];return n&&r&&i?n+":"+r+i+(o?":"+o:""):null},id=function(e){function t(t){var n=e.call(this,t)||this;return n.postMessageDomain=rd(n.props.loadingContext)||n.props.loadingContext,n}return Jc(t,e),t.prototype.getDfpPromise=function(){var e=this;return new Promise((function(t,n){e.processMessageHandler=nd(e.postMessageDomain,t,n,ed,"deviceFingerprint"),window.addEventListener("message",e.processMessageHandler)}))},t.prototype.componentDidMount=function(){var e=this;this.deviceFingerPrintPromise=Zu(2e4,this.getDfpPromise(),$u),this.deviceFingerPrintPromise.promise.then((function(t){e.props.onCompleteFingerprint(t),window.removeEventListener("message",e.processMessageHandler)})).catch((function(t){e.props.onErrorFingerprint(t),window.removeEventListener("message",e.processMessageHandler)}))},t.prototype.render=function(e){var t=e.dfpURL;return b("div",{className:"adyen-checkout-risk__device-fingerprint"},b(Xu,{name:"dfIframe",src:t,allow:"geolocation; microphone; camera;",title:"devicefingerprinting iframe"}))},t}(C),od=function(e){function t(t){var n=e.call(this,t)||this;return t.clientKey&&(n.state={status:"retrievingFingerPrint",dfpURL:n.props.loadingContext+"assets/html/"+t.clientKey+"/dfp.1.0.0.html"}),n}return Jc(t,e),t.prototype.setStatusComplete=function(e){var t=this;this.setState({status:"complete"},(function(){t.props.onComplete(e)}))},t.prototype.render=function(e,t){var n=this,r=e.loadingContext,i=t.dfpURL;return"retrievingFingerPrint"===this.state.status?b("div",{className:"adyen-checkout-risk__device-fingerprint--wrapper",style:{position:"absolute",width:0,height:0}},b(id,{loadingContext:r,dfpURL:i,onCompleteFingerprint:function(e){n.setStatusComplete(e)},onErrorFingerprint:function(e){var t;n.props.onError({errorCode:t=e.errorCode,message:td[t]||td.unknownError,type:"deviceFingerprint"}),n.setStatusComplete(e.result)}})):null},t.defaultProps={onComplete:function(){},onError:function(){}},t}(C),ad=window.atob,sd=window.btoa,ld={decode:function(e){return!!ld.isBase64(e)&&!!ld.isBase64(e)&&(t=e,decodeURIComponent(Array.prototype.map.call(ad(t),(function(e){return"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)})).join("")));var t},encode:function(e){return sd(e)},isBase64:function(e){return!!e&&!(e.length%4)&&sd(ad(e))===e}},cd=function(e){function t(t){var n,r=e.call(this,t)||this;r.nodeRiskContainer=null,r.onComplete=function(e){var t,n=Xc(Xc({},r.state.data),((t={})[e.type]=e.value,t.persistentCookie=e.persistentCookie,t.components=e.components,t));r.setState({data:n,isValid:!0}),r.props.risk.onComplete(r.data),r.cleanUp()},r.onError=function(e){r.props.risk.onError(e),r.cleanUp()},r.cleanUp=function(){r.nodeRiskContainer&&r.nodeRiskContainer.remove()};var i=((n={}).deviceFingerprint=null,n);return r.setState({data:i}),!0===r.props.risk.enabled&&(document.querySelector(r.props.risk.node)?(r.nodeRiskContainer=document.createElement("div"),document.querySelector(r.props.risk.node).appendChild(r.nodeRiskContainer),r.mount(r.nodeRiskContainer)):r.onError({message:"RiskModule node was not found"})),r}return Jc(t,e),t.prototype.formatProps=function(e){return Xc(Xc({},e),{risk:Xc(Xc({},t.defaultProps.risk),e.risk)})},Object.defineProperty(t.prototype,"isValid",{get:function(){return this.state.isValid},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"data",{get:function(){if(this.isValid){var e=Xc({version:"1.0.0"},this.state.data);return ld.encode(JSON.stringify(e))}return!1},enumerable:!1,configurable:!0}),t.prototype.componentWillUnmount=function(){this.cleanUp()},t.prototype.render=function(){return b(od,Xc({},this.props,{loadingContext:this.props.loadingContext,onComplete:this.onComplete,onError:this.onError}))},t.type="risk",t.defaultProps={risk:{enabled:!0,onComplete:function(){},onError:function(){},node:"body"}},t}(Au);function ud(e){var t=e.children,n=e.classNameModifiers,r=void 0===n?[]:n,i=e.label,o=e.readonly,a=void 0!==o&&o,s=Hu().i18n;return b("div",{className:q()(tu(tu(["adyen-checkout__fieldset"],r.map((function(e){return"adyen-checkout__fieldset--"+e}))),[{"adyen-checkout__fieldset--readonly":a}]))},i&&b("div",{className:"adyen-checkout__fieldset__title"},s.get(i)),b("div",{className:"adyen-checkout__fieldset__fields"},t))}var dd,pd=function(e){var t=e.type,n=e.className,r=void 0===n?"":n,i=Hu().loadingContext,o=xu({loadingContext:i,imageFolder:"components/"})(t);return b("img",{className:q()("adyen-checkout__icon",r),alt:t,src:o})},hd=Date.now(),fd=function(e){return void 0===e&&(e="field"),e+"-"+(hd+=1)},md=((dd={})["incomplete field"]="error.va.gen.01",dd["field not valid"]="error.va.gen.02",dd["luhn check failed"]="error.va.sf-cc-num.01",dd["Card too old"]="error.va.sf-cc-dat.01",dd["Date too far in future"]="error.va.sf-cc-dat.02",dd["Your card expires before check out date"]="error.va.sf-cc-dat.03",dd["Unsupported card entered"]="error.va.sf-cc-num.03",dd),gd=md["incomplete field"],vd=function(e){function t(t){var n=e.call(this,t)||this;return n.state={focused:!1},n.onFocus=n.onFocus.bind(n),n.onBlur=n.onBlur.bind(n),n.uniqueId=fd("adyen-checkout-"+n.props.name),n}return Jc(t,e),t.prototype.onFocus=function(e){var t=this;this.setState({focused:!0},(function(){t.props.onFocus&&t.props.onFocus(e)}))},t.prototype.onBlur=function(e){var t=this;this.setState({focused:!1},(function(){t.props.onBlur&&t.props.onBlur(e),t.props.onFieldBlur&&t.props.onFieldBlur(e)}))},t.getDerivedStateFromProps=function(e,t){return void 0!==e.focused&&e.focused!==t.focused?{focused:e.focused}:void 0!==e.filled&&e.filled!==t.filled?{filled:e.filled}:null},t.prototype.render=function(e){var t=this,n=e.className,r=void 0===n?"":n,i=e.classNameModifiers,o=void 0===i?[]:i,a=e.children,s=e.errorMessage,l=e.helper,c=e.inputWrapperModifiers,u=void 0===c?[]:c,d=e.isLoading,p=e.isValid,h=e.label,f=e.dualBrandingElements,m=e.dir,g=e.name,v=e.showValidIcon;return b("div",{className:q()("adyen-checkout__field",r,o.map((function(e){return"adyen-checkout__field--"+e})),{"adyen-checkout__field--error":s,"adyen-checkout__field--valid":p})},b("label",{onClick:this.props.onFocusField,className:q()({"adyen-checkout__label":!0,"adyen-checkout__label--focused":this.state.focused,"adyen-checkout__label--filled":this.state.filled,"adyen-checkout__label--disabled":this.props.disabled}),htmlFor:g&&this.uniqueId},"string"==typeof h&&b("span",{className:q()({"adyen-checkout__label__text":!0,"adyen-checkout__label__text--error":s})},h),"function"==typeof h&&h(),l&&b("span",{className:"adyen-checkout__helper-text"},l),b("div",{className:q()(tu(["adyen-checkout__input-wrapper"],u.map((function(e){return"adyen-checkout__input-wrapper--"+e})))),dir:m},T(a).map((function(e){return V(e,Xc({isValid:p,onFocus:t.onFocus,onBlur:t.onBlur,isInvalid:!!s},g&&{uniqueId:t.uniqueId}))})),d&&b("span",{className:"adyen-checkout-input__inline-validation adyen-checkout-input__inline-validation--loading"},b(Cu,{size:"small"})),p&&!1!==v&&!f&&b("span",{className:"adyen-checkout-input__inline-validation adyen-checkout-input__inline-validation--valid"},b(pd,{type:"checkmark"})),s&&b("span",{className:"adyen-checkout-input__inline-validation adyen-checkout-input__inline-validation--invalid"},b(pd,{type:"field_error"}))),s&&s.length&&b("span",{className:"adyen-checkout__error-text","aria-live":"polite",id:this.uniqueId+"-ariaError"},s)))},t}(C),yd=function(e){var t=e.data,n=t.name,r=t.registrationNumber;return b(ud,{classNameModifiers:["companyDetails"],label:"companyDetails",readonly:!0},n&&n+" ",r&&r+" ")};function Ad(e){var t=e.autoCorrect,n=e.classNameModifiers,r=e.isInvalid,i=e.isValid,o=e.readonly,a=void 0===o?null:o,s=e.spellCheck,l=e.type,c=e.uniqueId,u=Du(!1),d=u[0],p=u[1],h=q()("adyen-checkout__input",["adyen-checkout__input--"+l],e.className,{"adyen-checkout__input--invalid":r,"adyen-checkout__input--valid":i},n.map((function(e){return"adyen-checkout__input--"+e})));e.classNameModifiers,e.uniqueId;var f=Zc(e,["classNameModifiers","uniqueId"]);return b("input",Xc({id:c},f,{type:l,className:h,onInput:function(t){t.target.value=t.target.value.replace(/[\uff01-\uff5e]/g,(function(e){return String.fromCharCode(e.charCodeAt(0)-65248)})),e.onInput(t)},readOnly:a,spellCheck:s,autoCorrect:t,"aria-describedby":c+"-ariaError",onChange:function(t){var n;p(!0),null===(n=null==e?void 0:e.onChange)||void 0===n||n.call(e,t)},onBlur:function(t){var n,r;d||null===(n=null==e?void 0:e.onChange)||void 0===n||n.call(e,t),p(!1),null===(r=null==e?void 0:e.onBlur)||void 0===r||r.call(e,t)}}))}function bd(e){return b(Ad,Xc({classNameModifiers:["large"]},e,{"aria-required":e.required,type:"text"}))}Ad.defaultProps={type:"text",classNameModifiers:[]};var wd=function(){var e=document.createElement("input");return e.setAttribute("type","date"),"date"===e.type},xd=function(e){if(void 0===e&&(e=""),-1===e.indexOf("/"))return e;var t=e.split("/"),n=t[0],r=void 0===n?"":n,i=t[1],o=void 0===i?"":i,a=t[2],s=void 0===a?"":a;return r&&o&&s?s+"-"+o+"-"+r:null};function Cd(e){var t=Ru(wd,[]);return b(Ad,Xc({},e,t?{type:"date"}:{onInput:function(t){var n=t.target.value;t.target.value=function(e){var t=e.replace(/\D|\s/g,"").replace(/^(00)(.*)?/,"01$2").replace(/^(3[2-9])(.*)?/,"0$1$2").replace(/^([4-9])(.*)?/,"0$1").replace(/^([0-9]{2})(00)(.*)?/,"$101").replace(/^(3[01])(02)(.*)?/,"29$2").replace(/^([0-9]{2})([2-9]|1[3-9])(.*)?/,"$10$2").replace(/^([0-9]{2})([0-9]{2})([0-9])/,"$1/$2/$3").replace(/^([0-9]{2})([0-9])/,"$1/$2"),n=t.split("/"),r=n[0],i=void 0===r?"":r,o=n[1],a=void 0===o?"":o,s=n[2],l=void 0===s?"":s;return 4===l.length&&"29"===i&&"02"===a&&(Number(l)%4!=0||"00"===l.substr(2,2)&&Number(l)%400!=0)?t.replace(/^29/,"28"):t}(n),e.onInput(t)},maxLength:10}))}function Sd(e){return b(Ad,Xc({},e,{type:"tel"}))}function kd(e){return b(Ad,Xc({},e,{type:"email",autoCapitalize:"off"}))}function Ed(e){var t=e.items,n=e.i18n,r=e.name,i=e.onChange,o=e.value,a=e.isInvalid,s=e.uniqueId,l=null==s?void 0:s.replace(/[0-9]/g,"").substring(0,s.lastIndexOf("-"));return b("div",{className:"adyen-checkout__radio_group"},t.map((function(t){var s=fd(l);return b("div",{key:t.id,className:"adyen-checkout__radio_group__input-wrapper"},b("input",{id:s,type:"radio",checked:o===t.id,className:"adyen-checkout__radio_group__input",name:r,onChange:i,onClick:i,value:t.id}),b("label",{className:q()(["adyen-checkout__label__text","adyen-checkout__radio_group__label",e.className,{"adyen-checkout__radio_group__label--invalid":a}]),htmlFor:s},n.get(t.name)))})))}function Id(e){var t=e.classNameModifiers,n=void 0===t?[]:t,r=e.label,i=e.isInvalid,o=e.onChange,a=Zc(e,["classNameModifiers","label","isInvalid","onChange"]);return b("label",{className:"adyen-checkout__checkbox"},b("input",Xc({},a,{className:q()(["adyen-checkout__checkbox__input",[a.className],{"adyen-checkout__checkbox__input--invalid":i},n.map((function(e){return"adyen-checkout__input--"+e}))]),type:"checkbox",onChange:o})),b("span",{className:"adyen-checkout__checkbox__label"},r))}Ed.defaultProps={onChange:function(){},items:[]},Id.defaultProps={onChange:function(){}};function _d(e){var t=e.backgroundUrl,n=void 0===t?"":t,r=e.className,i=void 0===r?"":r,o=e.classNameModifiers,a=void 0===o?[]:o,s=e.src,l=void 0===s?"":s,c=e.alt,u=void 0===c?"":c,d=e.showOnError,p=void 0!==d&&d,h=Du(!1),f=h[0],m=h[1],g=Mu(null),v=function(){m(!0)},y=q().apply(void 0,tu([[i],"adyen-checkout__image",{"adyen-checkout__image--loaded":f}],a.map((function(e){return"adyen-checkout__image--"+e}))));return Bu((function(){var e=n?new Image:g.current;e.src=n||l,e.onload=v,m(!!e.complete)}),[]),n?b("div",Xc({style:{backgroundUrl:n}},e,{className:y})):b("img",Xc({},e,{alt:u,ref:g,className:y,onError:function(){m(p)}}))}function Pd(e){var t=e.filterable,n=e.toggleButtonRef,r=Zc(e,["filterable","toggleButtonRef"]);return b(t?"div":"button",Xc({},r,{ref:n}))}function Od(e){var t,n=Hu().i18n,r=e.active,i=e.readonly,o=e.showList;return b(Pd,{"aria-disabled":i,"aria-expanded":o,"aria-haspopup":"listbox",className:q()((t={"adyen-checkout__dropdown__button":!0},t["Select-module_adyen-checkout__dropdown__button__waz0I"]=!0,t["adyen-checkout__dropdown__button--readonly"]=i,t["adyen-checkout__dropdown__button--active"]=o,t["Select-module_adyen-checkout__dropdown__button--active__1EqeU"]=o,t["adyen-checkout__dropdown__button--invalid"]=e.isInvalid,t["adyen-checkout__dropdown__button--valid"]=e.isValid,t)),filterable:e.filterable,onClick:i?null:e.toggleList,onKeyDown:i?null:e.onButtonKeyDown,role:e.filterable?"button":null,tabIndex:"0",title:r.name||e.placeholder,toggleButtonRef:e.toggleButtonRef,type:e.filterable?null:"button","aria-describedby":e.ariaDescribedBy,id:e.id},o&&e.filterable?b("input",{"aria-autocomplete":"list","aria-controls":e.selectListId,"aria-expanded":o,"aria-owns":e.selectListId,autoComplete:"off",className:q()("adyen-checkout__filter-input",["Select-module_adyen-checkout__filter-input__HMjy5"]),onInput:e.onInput,placeholder:n.get("select.filter.placeholder"),ref:e.filterInputRef,role:"combobox",type:"text"}):b(x,null,b("span",{className:"adyen-checkout__dropdown__button__text"},r.selectedOptionName||r.name||e.placeholder),r.icon&&b(_d,{className:"adyen-checkout__dropdown__button__icon",src:r.icon,alt:r.name})))}var Td=function(e){var t=e.item,n=e.selected,r=Zc(e,["item","selected"]);return b("li",{"aria-disabled":!!t.disabled,"aria-selected":n,className:q()(["adyen-checkout__dropdown__element","Select-module_adyen-checkout__dropdown__element__3nIQR",{"adyen-checkout__dropdown__element--active":n,"adyen-checkout__dropdown__element--disabled":!!t.disabled}]),"data-disabled":!!t.disabled,"data-value":t.id,onClick:r.onSelect,onKeyDown:r.onKeyDown,role:"option",tabIndex:-1},b("span",null,t.name),t.icon&&b(_d,{className:"adyen-checkout__dropdown__element__icon",alt:t.name,src:t.icon}))};function Dd(e){var t,n=e.active,r=e.items,i=e.showList,o=e.textFilter,a=Zc(e,["active","items","showList","textFilter"]),s=Hu().i18n,l=r.filter((function(e){return!o||e.name.toLowerCase().includes(o)}));return b("ul",{className:q()((t={test:!0,"adyen-checkout__dropdown__list":!0},t["Select-module_adyen-checkout__dropdown__list__2UxAp"]=!0,t["adyen-checkout__dropdown__list--active"]=i,t["Select-module_adyen-checkout__dropdown__list--active__Mlt8t"]=i,t)),id:a.selectListId,ref:a.selectListRef,role:"listbox"},l.length?l.map((function(e){return b(Td,{item:e,key:e.id,onKeyDown:a.onKeyDown,onSelect:a.onSelect,selected:e.id===n.id})})):b("div",{className:"adyen-checkout__dropdown__element adyen-checkout__dropdown__element--no-options"},s.get("select.noOptionsFound")))}var jd={arrowDown:"ArrowDown",arrowUp:"ArrowUp",enter:"Enter",escape:"Escape",space:" ",tab:"Tab"};function Bd(e){var t=e.items,n=void 0===t?[]:t,r=e.className,i=void 0===r?"":r,o=e.classNameModifiers,a=void 0===o?[]:o,s=e.filterable,l=void 0===s||s,c=e.readonly,u=void 0!==c&&c,d=e.onChange,p=void 0===d?function(){}:d,h=e.selected,f=e.name,m=e.isInvalid,g=e.isValid,v=e.placeholder,y=e.uniqueId,A=Mu(null),w=Mu(null),x=Mu(null),C=Mu(null),S=Du(null),k=S[0],E=S[1],I=Du(!1),_=I[0],P=I[1],O=Ru((function(){return"select-"+mu()}),[]),T=n.find((function(e){return e.id===h}))||{},D=function(){E(null),P(!1),x.current&&x.current.focus()},j=function(e){e.preventDefault();var t=C.current.contains(e.currentTarget)?e.currentTarget:C.current.firstElementChild;if(!t.getAttribute("data-disabled")){D();var n=t.getAttribute("data-value");p({target:{value:n,name:f}})}},B=function(e){(e.composedPath?!e.composedPath().includes(w.current):!w.current.contains(e.target))&&P(!1)};return Bu((function(){_&&l&&A.current&&A.current.focus()}),[_]),Bu((function(){return document.addEventListener("click",B,!1),function(){document.removeEventListener("click",B,!1)}}),[]),b("div",{className:q()(tu(["adyen-checkout__dropdown","Select-module_adyen-checkout__dropdown__2kGp2",i],a.map((function(e){return"adyen-checkout__dropdown--"+e})))),ref:w},b(Od,{id:null!=y?y:null,active:T,filterInputRef:A,filterable:l,isInvalid:m,isValid:g,onButtonKeyDown:function(e){var t;e.key===jd.enter&&l&&_&&k?j(e):e.key===jd.escape?D():![jd.arrowUp,jd.arrowDown,jd.enter].includes(e.key)&&(e.key!==jd.space||l&&_)?(e.shiftKey&&e.key===jd.tab||e.key===jd.tab)&&D():(e.preventDefault(),P(!0),(null===(t=C.current)||void 0===t?void 0:t.firstElementChild)&&C.current.firstElementChild.focus())},onInput:function(e){var t=e.target.value;E(t.toLowerCase())},placeholder:v,readonly:u,selectListId:O,showList:_,toggleButtonRef:x,toggleList:function(e){e.preventDefault(),P(!_)},ariaDescribedBy:y?y+"-ariaError":null}),b(Dd,{active:T,items:n,onKeyDown:function(e){var t=e.target;switch(e.key){case jd.escape:e.preventDefault(),D();break;case jd.space:case jd.enter:j(e);break;case jd.arrowDown:e.preventDefault(),t.nextElementSibling&&t.nextElementSibling.focus();break;case jd.arrowUp:e.preventDefault(),t.previousElementSibling?t.previousElementSibling.focus():l&&A.current&&A.current.focus();break;case jd.tab:D()}},onSelect:j,selectListId:O,selectListRef:C,showList:_,textFilter:k}))}Bd.defaultProps={className:"",classNameModifiers:[],filterable:!0,items:[],readonly:!1,onChange:function(){}};var Nd=function(e,t){var n={boolean:Id,date:Cd,emailAddress:kd,radio:Ed,select:Bd,tel:Sd,text:bd,default:bd};return b(n[e]||n.default,Xc({},t))},Md=/^\s*[\w\-+_]+(\.[\w\-+_]+)*@[\w\-+_]+\.[\w\-+_]+(\.[\w-+_]+)*\s*$/,Rd=/^[+]*[(]{0,1}[0-9]{1,3}[)]{0,1}[-\s./0-9]*$/,Ld=function(){function e(e,t,n,r){this.shouldValidate=e.modes.includes(n),this.isValid=e.validate(t,r),this.errorMessage=e.errorMessage}return e.prototype.hasError=function(){return!this.isValid&&this.shouldValidate},e}(),Fd=function(){function e(e){this.validationResults=e}return Object.defineProperty(e.prototype,"isValid",{get:function(){return this.validationResults.every((function(e){return e.isValid}))},enumerable:!1,configurable:!0}),e.prototype.hasError=function(){return Boolean(this.getError())},e.prototype.getError=function(){return this.validationResults.find((function(e){return e.hasError()}))},e.prototype.getAllErrors=function(){return this.validationResults.filter((function(e){return e.hasError()}))},e}(),zd=function(){function e(e){void 0===e&&(e={}),this.rules={shopperEmail:{validate:function(e){return Md.test(e)},errorMessage:"error.va.gen.01",modes:["blur"]},default:{validate:function(){return!0},modes:["blur","input"]}},this.setRules(e)}return e.prototype.setRules=function(e){this.rules=Xc(Xc({},this.rules),e)},e.prototype.getRulesFor=function(e){var t,n=null!==(t=this.rules[e])&&void 0!==t?t:this.rules.default;return Array.isArray(n)||(n=[n]),n},e.prototype.validate=function(e,t){var n=e.key,r=e.value,i=e.mode,o=void 0===i?"blur":i,a=this.getRulesFor(n).map((function(e){return new Ld(e,r,o,t)}));return new Fd(a)},e}(),Qd=function(e,t){return Object.keys(e).filter((function(e){return!t.includes(e)})).reduce((function(t,n){return t[n]=e[n],t}),{})},Ud=function(e,t,n,r){return t.reduce((function(e,t){var i,o,a;return Xc(Xc({},e),((i={})[t]=null!==(a=null!==(o=e[t])&&void 0!==o?o:r[t])&&void 0!==a?a:n,i))}),e)};function Vd(e){var t=e.schema,n=e.defaultData,r=e.processField,i=t.reduce((function(e,t){var i,o,a,s=function(e){var t;if(void 0===n[e])return{valid:!1,errors:null,data:null};var i=r({key:e,value:n[e],mode:"blur"},{state:{data:n}}),o=i[0],a=i[1];return{valid:null!==(t=a.isValid)&&void 0!==t&&t,errors:a.hasError()?a.getError():null,data:o}}(t),l=s.valid,c=s.errors,u=s.data;return{valid:Xc(Xc({},e.valid),(i={},i[t]=l,i)),errors:Xc(Xc({},e.errors),(o={},o[t]=c,o)),data:Xc(Xc({},e.data),(a={},a[t]=u,a))}}),{data:{},valid:{},errors:{}});return{schema:t,data:i.data,valid:i.valid,errors:i.errors}}function Gd(e){var t,n=e.rules,r=void 0===n?{}:n,i=e.formatters,o=void 0===i?{}:i,a=e.defaultData,s=void 0===a?{}:a,l=Ru((function(){return new zd(r)}),[]),c=function(e,t){var n=e.key,r=e.value,i=e.mode,a=o[n]?o[n](null!=r?r:""):r;return[a,l.validate({key:n,value:a,mode:i},t)]},u=ju(function(e){return function(t,n){var r,i,o,a,s,l,c,u=n.type,d=n.key,p=n.value,h=n.mode,f=n.defaultData,m=n.schema;switch(u){case"setData":return Xc(Xc({},t),{data:Xc(Xc({},t.data),(r={},r[d]=p,r))});case"setValid":return Xc(Xc({},t),{valid:Xc(Xc({},t.valid),(i={},i[d]=p,i))});case"setErrors":return Xc(Xc({},t),{errors:Xc(Xc({},t.errors),(o={},o[d]=p,o))});case"updateField":var g=e({key:d,value:p,mode:h},{state:t}),v=g[0],y=g[1];return Xc(Xc({},t),{data:Xc(Xc({},t.data),(a={},a[d]=v,a)),errors:Xc(Xc({},t.errors),(s={},s[d]=y.hasError()?y.getError():null,s)),valid:Xc(Xc({},t.valid),(l={},l[d]=null!==(c=y.isValid)&&void 0!==c&&c,l))});case"setSchema":var A=Vd({schema:m,defaultData:f,processField:e}),b=t.schema.filter((function(e){return!m.includes(e)})),w=m.filter((function(e){return!t.schema.includes(e)})),x=Ud(Qd(t.data,b),w,null,A.data),C=Ud(Qd(t.valid,b),w,!1,A.valid),S=Ud(Qd(t.errors,b),w,null,A.errors);return Xc(Xc({},t),{schema:m,data:x,valid:C,errors:S});case"validateForm":var k=t.schema.reduce((function(n,r){var i,o,a,s=e({key:r,value:t.data[r],mode:"blur"},{state:t})[1];return{valid:Xc(Xc({},n.valid),(i={},i[r]=null!==(a=s.isValid)&&void 0!==a&&a,i)),errors:Xc(Xc({},n.errors),(o={},o[r]=s.hasError()?s.getError():null,o))}}),{valid:t.valid,errors:t.errors});return Xc(Xc({},t),{valid:k.valid,errors:k.errors});default:throw new Error("Undefined useForm action")}}}(c),{defaultData:s,schema:null!==(t=e.schema)&&void 0!==t?t:[],processField:c},Vd),d=u[0],p=u[1],h=Ru((function(){return d.schema.every((function(e){return d.valid[e]}))}),[d.schema,d.valid]),f=Lu((function(){p({type:"validateForm"})}),[]),m=Lu((function(e,t){return p({type:"setErrors",key:e,value:t})}),[]),g=Lu((function(e,t){return p({type:"setValid",key:e,value:t})}),[]),v=Lu((function(e,t){return p({type:"setData",key:e,value:t})}),[]);return{handleChangeFor:function(e,t){return void 0===t&&(t="blur"),function(n){var r=function(e,t){return t.target?"checkbox"===t.target.type?!d.data[e]:t.target.value:t}(e,n);p({type:"updateField",key:e,value:r,mode:t})}},triggerValidation:f,setSchema:Lu((function(e){return p({type:"setSchema",schema:e,defaultData:s})}),[d.schema]),setData:v,setValid:g,setErrors:m,isValid:h,schema:d.schema,valid:d.valid,errors:d.errors,data:d.data}}function qd(e){var t=e.label,n=void 0===t?"":t,r=e.namePrefix,i=e.requiredFields,o=e.visibility,a=Hu().i18n,s=Gd({schema:i,rules:e.validationRules,defaultData:e.data}),l=s.handleChangeFor,c=s.triggerValidation,u=s.data,d=s.valid,p=s.errors,h=s.isValid,f=function(e){return(r?r+".":"")+e},m=function(e){return function(t){var n=t.target.name.split(r+".").pop();l(n,e)(t)}};return Bu((function(){var t=function(e){var t=e.name,n=e.registrationNumber;return Xc({},(t||n)&&{company:Xc(Xc({},t&&{name:t}),n&&{registrationNumber:n})})}(u);e.onChange({data:t,valid:d,errors:p,isValid:h})}),[u,d,p,h]),this.showValidation=c,"hidden"===o?null:"readOnly"===o?b(yd,Xc({},e,{data:u})):b(ud,{classNameModifiers:[n],label:n},i.includes("name")&&b(vd,{label:a.get("companyDetails.name"),classNameModifiers:["name"],errorMessage:!!p.name},Nd("text",{name:f("name"),value:u.name,classNameModifiers:["name"],onInput:m("input"),onChange:m("blur"),spellCheck:!1})),i.includes("registrationNumber")&&b(vd,{label:a.get("companyDetails.registrationNumber"),classNameModifiers:["registrationNumber"],errorMessage:!!p.registrationNumber},Nd("text",{name:f("registrationNumber"),value:u.registrationNumber,classNameModifiers:["registrationNumber"],onInput:m("input"),onChange:m("blur"),spellCheck:!1})))}qd.defaultProps={data:{},onChange:function(){},visibility:"editable",requiredFields:["name","registrationNumber"],validationRules:{default:{validate:function(e){return e&&e.length>0},modes:["blur"]}}};var Hd,Wd,Yd,Kd,Jd,Xd,Zd,$d,ep,tp=function(e){var t=e.data,n=t.firstName,r=t.lastName,i=t.shopperEmail,o=t.telephoneNumber;return b(ud,{classNameModifiers:["personalDetails"],label:"personalDetails",readonly:!0},n&&n+" ",r&&r+" ",i&&b(x,null,b("br",null),i),o&&b(x,null,b("br",null),o))},np={default:{validate:function(e){return e&&e.length>0},modes:["blur"]},dateOfBirth:{validate:function(e){return function(e){if(!e)return!1;var t=xd(e),n=Date.now()-Date.parse(t);return new Date(n).getFullYear()-1970>=18}(e)},errorMessage:"dateOfBirth.invalid",modes:["blur"]},telephoneNumber:{validate:function(e){return Rd.test(e)},modes:["blur"]},shopperEmail:{validate:function(e){return Md.test(e)},modes:["blur"]}};function rp(e){var t=e.label,n=void 0===t?"":t,r=e.namePrefix,i=e.placeholders,o=e.requiredFields,a=e.visibility,s=Hu().i18n,l=Ru(wd,[]),c=Gd({schema:o,rules:e.validationRules,defaultData:e.data}),u=c.handleChangeFor,d=c.triggerValidation,p=c.data,h=c.valid,f=c.errors,m=c.isValid,g=function(e){return function(t){var n=t.target.name.split(r+".").pop();u(n,e)(t)}},v=function(e){return(r?r+".":"")+e},y=function(e){return e&&e.errorMessage?s.get(e.errorMessage):!!e};return Bu((function(){var t=function(e){var t=e.firstName,n=e.lastName,r=e.gender,i=e.dateOfBirth,o=e.shopperEmail,a=e.telephoneNumber;return Xc(Xc(Xc(Xc({},(t||n)&&{shopperName:Xc(Xc(Xc({},t&&{firstName:t}),n&&{lastName:n}),r&&{gender:r})}),i&&{dateOfBirth:xd(i)}),o&&{shopperEmail:o}),a&&{telephoneNumber:a})}(p);e.onChange({data:t,valid:h,errors:f,isValid:m})}),[p,h,f,m]),this.showValidation=d,"hidden"===a?null:"readOnly"===a?b(tp,Xc({},e,{data:p})):b(ud,{classNameModifiers:["personalDetails"],label:n},o.includes("firstName")&&b(vd,{label:s.get("firstName"),classNameModifiers:["col-50","firstName"],errorMessage:!!f.firstName,name:"firstName"},Nd("text",{name:v("firstName"),value:p.firstName,classNameModifiers:["firstName"],onInput:g("input"),onChange:g("blur"),placeholder:i.firstName,spellCheck:!1})),o.includes("lastName")&&b(vd,{label:s.get("lastName"),classNameModifiers:["col-50","lastName"],errorMessage:!!f.lastName,name:"lastName"},Nd("text",{name:v("lastName"),value:p.lastName,classNameModifiers:["lastName"],onInput:g("input"),onChange:g("blur"),placeholder:i.lastName,spellCheck:!1})),o.includes("gender")&&b(vd,{errorMessage:!!f.gender,classNameModifiers:["gender"],name:"gender"},Nd("radio",{i18n:s,name:v("gender"),value:p.gender,items:[{id:"MALE",name:"male"},{id:"FEMALE",name:"female"}],classNameModifiers:["gender"],onInput:g("input"),onChange:g("blur")})),o.includes("dateOfBirth")&&b(vd,{label:s.get("dateOfBirth"),classNameModifiers:["col-50","lastName"],errorMessage:y(f.dateOfBirth),helper:l?null:s.get("dateOfBirth.format"),name:"dateOfBirth"},Nd("date",{name:v("dateOfBirth"),value:p.dateOfBirth,classNameModifiers:["dateOfBirth"],onInput:g("input"),onChange:g("blur"),placeholder:i.dateOfBirth})),o.includes("shopperEmail")&&b(vd,{label:s.get("shopperEmail"),classNameModifiers:["shopperEmail"],errorMessage:y(f.shopperEmail),dir:"ltr",name:"emailAddress"},Nd("emailAddress",{name:v("shopperEmail"),value:p.shopperEmail,classNameModifiers:["shopperEmail"],onInput:g("input"),onChange:g("blur"),placeholder:i.shopperEmail})),o.includes("telephoneNumber")&&b(vd,{label:s.get("telephoneNumber"),classNameModifiers:["telephoneNumber"],errorMessage:y(f.telephoneNumber),dir:"ltr",name:"telephoneNumber"},Nd("tel",{name:v("telephoneNumber"),value:p.telephoneNumber,classNameModifiers:["telephoneNumber"],onInput:g("input"),onChange:g("blur"),placeholder:i.telephoneNumber})))}rp.defaultProps={data:{},onChange:function(){},placeholders:{},requiredFields:["firstName","lastName","gender","dateOfBirth","shopperEmail","telephoneNumber"],validationRules:np,visibility:"editable"};var ip=["street","houseNumberOrName","postalCode","city","stateOrProvince","country"],op=ip[0],ap=ip[1],sp=ip[2],lp=ip[3],cp=ip[4],up=ip[5],dp={AU:{hasDataset:!0,labels:(Hd={},Hd[ap]="apartmentSuite",Hd[cp]="state",Hd[op]="address",Hd),optionalFields:[ap],placeholders:(Wd={},Wd[cp]="select.state",Wd),schema:[up,op,ap,lp,[[cp,50],[sp,50]]]},BR:{hasDataset:!0,labels:(Yd={},Yd[cp]="state",Yd),placeholders:(Kd={},Kd[cp]="select.state",Kd)},CA:{hasDataset:!0,labels:(Jd={},Jd[ap]="apartmentSuite",Jd[cp]="provinceOrTerritory",Jd[op]="address",Jd),optionalFields:[ap],schema:[up,op,ap,[[lp,70],[sp,30]],cp]},GB:{labels:(Xd={},Xd[lp]="cityTown",Xd),schema:[up,[[ap,30],[op,70]],[[lp,70],[sp,30]],cp]},US:{hasDataset:!0,labels:(Zd={},Zd[sp]="zipCode",Zd[ap]="apartmentSuite",Zd[cp]="state",Zd[op]="address",Zd),optionalFields:[ap],placeholders:($d={},$d[cp]="select.state",$d),schema:[up,op,ap,lp,[[cp,50],[sp,50]]]},default:{optionalFields:[],placeholders:(ep={},ep[cp]="select.provinceOrTerritory",ep),schema:[up,[[op,70],[ap,30]],[[sp,30],[lp,70]],cp]}},pp=function(e){var t=e.data,n=e.label,r=t.street,i=t.houseNumberOrName,o=t.city,a=t.postalCode,s=t.stateOrProvince,l=t.country;return b(ud,{classNameModifiers:[n],label:n,readonly:!0},!!r&&r,i&&", "+i+",",b("br",null),a&&""+a,o&&", "+o,s&&"N/A"!==s&&", "+s,l&&", "+l+" ")},hp=function(e){return{houseNumberOrName:{validate:function(t,n){var r,i,o=null===(i=null===(r=n.state)||void 0===r?void 0:r.data)||void 0===i?void 0:i.country;return o&&e.countryHasOptionalField(o,"houseNumberOrName")||(null==t?void 0:t.length)>0},modes:["blur"]},default:{validate:function(e){return(null==e?void 0:e.length)>0},modes:["blur"],errorMessage:md["incomplete field"]}}},fp="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==fp&&fp,mp="URLSearchParams"in fp,gp="Symbol"in fp&&"iterator"in Symbol,vp="FileReader"in fp&&"Blob"in fp&&function(){try{return new Blob,!0}catch(u){return!1}}(),yp="FormData"in fp,Ap="ArrayBuffer"in fp;if(Ap)var bp=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],wp=ArrayBuffer.isView||function(e){return e&&bp.indexOf(Object.prototype.toString.call(e))>-1};function xp(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function Cp(e){return"string"!=typeof e&&(e=String(e)),e}function Sp(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return gp&&(t[Symbol.iterator]=function(){return t}),t}function kp(e){this.map={},e instanceof kp?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function Ep(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function Ip(e){return new Promise((function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}}))}function _p(e){var t=new FileReader,n=Ip(t);return t.readAsArrayBuffer(e),n}function Pp(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function Op(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:vp&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:yp&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:mp&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():Ap&&vp&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=Pp(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):Ap&&(ArrayBuffer.prototype.isPrototypeOf(e)||wp(e))?this._bodyArrayBuffer=Pp(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):mp&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},vp&&(this.blob=function(){var e=Ep(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?Ep(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer)):this.blob().then(_p)}),this.text=function(){var e=Ep(this);if(e)return e;if(this._bodyBlob)return function(e){var t=new FileReader,n=Ip(t);return t.readAsText(e),n}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r<t.length;r++)n[r]=String.fromCharCode(t[r]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},yp&&(this.formData=function(){return this.text().then(jp)}),this.json=function(){return this.text().then(JSON.parse)},this}kp.prototype.append=function(e,t){e=xp(e),t=Cp(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},kp.prototype.delete=function(e){delete this.map[xp(e)]},kp.prototype.get=function(e){return e=xp(e),this.has(e)?this.map[e]:null},kp.prototype.has=function(e){return this.map.hasOwnProperty(xp(e))},kp.prototype.set=function(e,t){this.map[xp(e)]=Cp(t)},kp.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},kp.prototype.keys=function(){var e=[];return this.forEach((function(t,n){e.push(n)})),Sp(e)},kp.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),Sp(e)},kp.prototype.entries=function(){var e=[];return this.forEach((function(t,n){e.push([n,t])})),Sp(e)},gp&&(kp.prototype[Symbol.iterator]=kp.prototype.entries);var Tp=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function Dp(e,t){if(!(this instanceof Dp))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var n=(t=t||{}).body;if(e instanceof Dp){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new kp(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,n||null==e._bodyInit||(n=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new kp(t.headers)),this.method=function(e){var t=e.toUpperCase();return Tp.indexOf(t)>-1?t:e}(t.method||this.method||"GET"),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(n),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache)){var r=/([?&])_=[^&]*/;r.test(this.url)?this.url=this.url.replace(r,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}function jp(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),i=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(i))}})),t}function Bp(e,t){if(!(this instanceof Bp))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new kp(t.headers),this.url=t.url||"",this._initBody(e)}Dp.prototype.clone=function(){return new Dp(this,{body:this._bodyInit})},Op.call(Dp.prototype),Op.call(Bp.prototype),Bp.prototype.clone=function(){return new Bp(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new kp(this.headers),url:this.url})},Bp.error=function(){var e=new Bp(null,{status:0,statusText:""});return e.type="error",e};var Np=[301,302,303,307,308];Bp.redirect=function(e,t){if(-1===Np.indexOf(t))throw new RangeError("Invalid status code");return new Bp(null,{status:t,headers:{location:e}})};var Mp=fp.DOMException;try{new Mp}catch(u){(Mp=function(e,t){this.message=e,this.name=t;var n=Error(e);this.stack=n.stack}).prototype=Object.create(Error.prototype),Mp.prototype.constructor=Mp}function Rp(e,t){return new Promise((function(n,r){var i=new Dp(e,t);if(i.signal&&i.signal.aborted)return r(new Mp("Aborted","AbortError"));var o=new XMLHttpRequest;function a(){o.abort()}o.onload=function(){var e,t,r={status:o.status,statusText:o.statusText,headers:(e=o.getAllResponseHeaders()||"",t=new kp,e.replace(/\r?\n[\t ]+/g," ").split("\r").map((function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e})).forEach((function(e){var n=e.split(":"),r=n.shift().trim();if(r){var i=n.join(":").trim();t.append(r,i)}})),t)};r.url="responseURL"in o?o.responseURL:r.headers.get("X-Request-URL");var i="response"in o?o.response:o.responseText;setTimeout((function(){n(new Bp(i,r))}),0)},o.onerror=function(){setTimeout((function(){r(new TypeError("Network request failed"))}),0)},o.ontimeout=function(){setTimeout((function(){r(new TypeError("Network request failed"))}),0)},o.onabort=function(){setTimeout((function(){r(new Mp("Aborted","AbortError"))}),0)},o.open(i.method,function(e){try{return""===e&&fp.location.href?fp.location.href:e}catch(t){return e}}(i.url),!0),"include"===i.credentials?o.withCredentials=!0:"omit"===i.credentials&&(o.withCredentials=!1),"responseType"in o&&(vp?o.responseType="blob":Ap&&i.headers.get("Content-Type")&&-1!==i.headers.get("Content-Type").indexOf("application/octet-stream")&&(o.responseType="arraybuffer")),!t||"object"!=typeof t.headers||t.headers instanceof kp?i.headers.forEach((function(e,t){o.setRequestHeader(t,e)})):Object.getOwnPropertyNames(t.headers).forEach((function(e){o.setRequestHeader(e,Cp(t.headers[e]))})),i.signal&&(i.signal.addEventListener("abort",a),o.onreadystatechange=function(){4===o.readyState&&i.signal.removeEventListener("abort",a)}),o.send(void 0===i._bodyInit?null:i._bodyInit)}))}Rp.polyfill=!0,fp.fetch||(fp.fetch=Rp,fp.Headers=kp,fp.Request=Dp,fp.Response=Bp);var Lp="fetch"in window?window.fetch:Rp;function Fp(e,t){var n=e.headers,r=void 0===n?[]:n,i=e.errorLevel,o=void 0===i?"warn":i,a=e.loadingContext,s=void 0===a?bu:a,l=e.method,c=void 0===l?"GET":l,u=e.path,d=Xc({method:c,mode:"cors",cache:"default",credentials:"same-origin",headers:Xc({Accept:"application/json, text/plain, */*","Content-Type":"POST"===c?"application/json":"text/plain"},r),redirect:"follow",referrerPolicy:"no-referrer-when-downgrade"},t&&{body:JSON.stringify(t)}),p=""+s+u;return Lp(p,d).then((function(t){return t.ok?t.json():zp(e.errorMessage||"Service at "+p+" is not available",o)})).catch((function(t){return zp(e.errorMessage||"Call to "+p+" failed. Error= "+t,o)}))}function zp(e,t){switch(t){case"silent":return null;case"info":case"warn":case"error":return console[t](e);default:throw new Error(e)}}var Qp=function(e,t){return Fp(Xc(Xc({},e),{method:"POST"}),t)};function Up(e,t,n){return function(e){return Fp(Xc(Xc({},e),{method:"GET"}),void 0)}({loadingContext:t,errorLevel:"warn",errorMessage:"Dataset "+e+" is not available",path:"datasets/"+e+"/"+n+".json"})}function Vp(e){var t=e.classNameModifiers,n=e.label,r=e.onDropdownChange,i=e.readOnly,o=e.selectedCountry,a=e.specifications,s=e.value,l=Hu(),c=l.i18n,u=l.loadingContext,d=Du([]),p=d[0],h=d[1],f=Du(!1),m=f[0],g=f[1],v=a.getPlaceholderKeyForField("stateOrProvince",o);return Nu((function(){if(!o||!a.countryHasDataset(o))return h([]),void g(!0);Up("states/"+o,u,c.locale).then((function(e){var t=e&&e.length?e:[];h(t),g(!0)})).catch((function(){h([]),g(!0)}))}),[o]),m&&p.length?b(vd,{label:n,classNameModifiers:t,errorMessage:e.errorMessage,isValid:!!s,showValidIcon:!1,name:"stateOrProvince"},Nd("select",{name:"stateOrProvince",onChange:r,selected:s,placeholder:c.get(v),items:p,readonly:i&&!!s})):null}function Gp(e){var t=e.allowedCountries,n=void 0===t?[]:t,r=e.classNameModifiers,i=void 0===r?[]:r,o=e.errorMessage,a=e.onDropdownChange,s=e.value,l=Hu(),c=l.i18n,u=l.loadingContext,d=Du([]),p=d[0],h=d[1],f=Du(!1),m=f[0],g=f[1],v=Du(e.readOnly),y=v[0],A=v[1];return Nu((function(){Up("countries",u,c.locale).then((function(e){var t=n.length?e.filter((function(e){return n.includes(e.id)})):e;h(t||[]),A(1===t.length||y),g(!0)})).catch((function(e){console.error(e),h([]),g(!0)}))}),[]),m?b(vd,{name:"country",label:c.get("country"),errorMessage:o,classNameModifiers:i,isValid:!!s,showValidIcon:!1},Nd("select",{onChange:a,name:"country",placeholder:c.get("select.country"),selected:s,items:p,readonly:y&&!!s})):null}function qp(e){var t,n=Hu().i18n,r=e.classNameModifiers,i=void 0===r?[]:r,o=e.data,a=e.errors,s=e.valid,l=e.fieldName,c=e.onInput,u=e.onChange,d=n.get(null===(t=a[l])||void 0===t?void 0:t.errorMessage)||!!a[l],p=o[l],h=o.country,f=e.specifications.countryHasOptionalField(h,l),m=e.specifications.getKeyForField(l,h),g=f?" "+n.get("field.title.optional"):"",v=""+n.get(m)+g;switch(l){case"country":return b(Gp,{allowedCountries:e.allowedCountries,classNameModifiers:i,label:v,errorMessage:d,onDropdownChange:e.onDropdownChange,value:p});case"stateOrProvince":return b(Vp,{classNameModifiers:i,label:v,errorMessage:d,onDropdownChange:e.onDropdownChange,selectedCountry:h,specifications:e.specifications,value:p});default:return b(vd,{label:v,classNameModifiers:i,errorMessage:d,isValid:s[l],name:l},Nd("text",{classNameModifiers:i,name:l,value:p,onInput:c,onChange:u}))}}var Hp=function(){function e(e){this.specifications=Xc(Xc({},dp),e)}return e.prototype.countryHasDataset=function(e){var t,n;return!!(null===(n=null===(t=this.specifications)||void 0===t?void 0:t[e])||void 0===n?void 0:n.hasDataset)},e.prototype.countryHasOptionalField=function(e,t){var n,r,i;return!!(null===(i=null===(r=null===(n=this.specifications)||void 0===n?void 0:n[e])||void 0===r?void 0:r.optionalFields)||void 0===i?void 0:i.includes(t))},e.prototype.getAddressSchemaForCountry=function(e){var t,n;return(null===(n=null===(t=this.specifications)||void 0===t?void 0:t[e])||void 0===n?void 0:n.schema)||this.specifications.default.schema},e.prototype.getOptionalFieldsForCountry=function(e){var t,n,r;return(null===(n=null===(t=this.specifications)||void 0===t?void 0:t[e])||void 0===n?void 0:n.optionalFields)||(null===(r=this.specifications.default)||void 0===r?void 0:r.optionalFields)||[]},e.prototype.getKeyForField=function(e,t){var n,r,i;return(null===(i=null===(r=null===(n=this.specifications)||void 0===n?void 0:n[t])||void 0===r?void 0:r.labels)||void 0===i?void 0:i[e])||e},e.prototype.getPlaceholderKeyForField=function(e,t){var n,r,i,o,a,s;return(null===(i=null===(r=null===(n=this.specifications)||void 0===n?void 0:n[t])||void 0===r?void 0:r.placeholders)||void 0===i?void 0:i[e])||(null===(s=null===(a=null===(o=this.specifications)||void 0===o?void 0:o.default)||void 0===a?void 0:a.placeholders)||void 0===s?void 0:s[e])},e}();function Wp(e){var t=e.label,n=void 0===t?"":t,r=e.requiredFields,i=e.visibility,o=Ru((function(){return new Hp(e.specifications)}),[e.specifications]),a=Gd({schema:r,defaultData:e.data,rules:e.validationRules||hp(o)}),s=a.data,l=a.errors,c=a.valid,u=a.isValid,d=a.handleChangeFor,p=a.triggerValidation;if(Bu((function(){var e=o.countryHasDataset(s.country)?"":"N/A",t=Xc(Xc({},s),{stateOrProvince:e});r.forEach((function(e){var n;d(e,"input")(null!==(n=t[e])&&void 0!==n?n:"")}))}),[s.country]),Bu((function(){var e=r.includes("stateOrProvince"),t=s.country&&o.countryHasDataset(s.country),n=e&&t,i=s.stateOrProvince||(n?"":"N/A");d("stateOrProvince","input")(i)}),[]),Bu((function(){var t=o.getOptionalFieldsForCountry(s.country),n=ip.reduce((function(n,i){var o=t.includes(i),a=r.includes(i),l=s[i],c=e.data[i],u=o&&!l||!a?a||l||!c?"N/A":c:l;return(null==u?void 0:u.length)&&(n[i]=u),n}),{});e.onChange({data:n,valid:c,errors:l,isValid:u})}),[s,c,l,u]),this.showValidation=p,"hidden"===i)return null;if("readOnly"===i)return b(pp,{data:s,label:n});var h=function(t,n){var i=n.classNameModifiers,a=void 0===i?[]:i;return r.includes(t)?b(qp,{key:t,allowedCountries:e.allowedCountries,classNameModifiers:tu(tu([],a),[t]),data:s,errors:l,valid:c,fieldName:t,onInput:d(t,"input"),onChange:d(t,"blur"),onDropdownChange:d(t,"blur"),specifications:o}):null};return b(ud,{classNameModifiers:[n],label:n},o.getAddressSchemaForCountry(s.country).map((function(e){return e instanceof Array?b("div",{className:"adyen-checkout__field-group"},e.map((function(e){var t=e[0],n=e[1];return h(t,{classNameModifiers:["col-"+n]})}))):h(e,{})})))}function Yp(e){var t,n,r=e.errorMessage,i=e.label,o=e.onChange,a=Zc(e,["errorMessage","label","onChange"]);return b(vd,{classNameModifiers:["consentCheckbox"],errorMessage:r},b(Id,{name:"consentCheckbox",classNameModifiers:tu(tu([],null!==(t=a.classNameModifiers)&&void 0!==t?t:a.classNameModifiers=[]),["consentCheckbox"]),onInput:o,value:null===(n=null==a?void 0:a.data)||void 0===n?void 0:n.consentCheckbox,label:i,checked:a.checked}))}Wp.defaultProps={countryCode:null,data:{},onChange:function(){},visibility:"editable",requiredFields:ip,specifications:{}};var Kp=["companyDetails","personalDetails","billingAddress","deliveryAddress"];function Jp(e){var t=e.countryCode,n=e.visibility,r=Hu().i18n,i=Du(function(e,t){return void 0===t&&(t={}),Kp.reduce((function(n,r){var i,o="hidden"!==e[r],a="deliveryAddress"===r,s="hidden"===(null==e?void 0:e.billingAddress);return n[r]=o&&(!a||s||(void 0===(i=t[r])&&(i={}),Object.keys(i).length>1)),n}),{})}(n,e.data)),o=i[0],a=i[1],s=Kp.reduce((function(e,t){return e[t]={current:null},e}),{}),l=!!e.consentCheckboxLabel,c=!l&&Object.keys(o).every((function(e){return!o[e]})),u="editable"===n.deliveryAddress&&"hidden"!==n.billingAddress,d=Du(Xc(Xc({},e.data),l&&{consentCheckbox:!1})),p=d[0],h=d[1],f=Du({}),m=f[0],g=f[1],v=Du({}),y=v[0],A=v[1],w=Du("ready"),x=w[0],C=w[1];this.setStatus=C,Bu((function(){var t=Object.keys(o).every((function(e){return!o[e]||!!y[e]})),n=!l||!!y.consentCheckbox,r=t&&n,i=function(e,t){return Object.keys(t).filter((function(t){return e[t]})).reduce((function(e,n){return e[n]=t[n],e}),{})}(o,p);e.onChange({data:i,errors:m,valid:y,isValid:r})}),[p,o]);var S=function(e){return function(t){h((function(n){var r;return Xc(Xc({},n),((r={})[e]=t.data,r))})),A((function(n){var r;return Xc(Xc({},n),((r={})[e]=t.isValid,r))})),g((function(n){var r;return Xc(Xc({},n),((r={})[e]=t.errors,r))}))}};return this.showValidation=function(){Kp.forEach((function(e){s[e].current&&s[e].current.showValidation()})),g(Xc({},l&&{consentCheckbox:!p.consentCheckbox}))},b("div",{className:"adyen-checkout__open-invoice"},o.companyDetails&&b(qd,{data:e.data.companyDetails,label:"companyDetails",onChange:S("companyDetails"),ref:s.companyDetails,visibility:n.companyDetails}),o.personalDetails&&b(rp,{data:e.data.personalDetails,requiredFields:e.personalDetailsRequiredFields,label:"personalDetails",onChange:S("personalDetails"),ref:s.personalDetails,visibility:n.personalDetails}),o.billingAddress&&b(Wp,{allowedCountries:e.allowedCountries,countryCode:t,data:p.billingAddress,label:"billingAddress",onChange:S("billingAddress"),ref:s.billingAddress,visibility:n.billingAddress}),u&&b(Id,{label:r.get("separateDeliveryAddress"),checked:o.deliveryAddress,classNameModifiers:["separateDeliveryAddress"],name:"separateDeliveryAddress",onChange:function(){a((function(e){return Xc(Xc({},e),{deliveryAddress:!o.deliveryAddress})}))}}),o.deliveryAddress&&b(Wp,{allowedCountries:e.allowedCountries,countryCode:t,data:p.deliveryAddress,label:"deliveryAddress",onChange:S("deliveryAddress"),ref:s.deliveryAddress,visibility:n.deliveryAddress}),l&&b(Yp,{data:p,errorMessage:!!m.consentCheckbox,label:e.consentCheckboxLabel,onChange:function(e){var t=e.target.checked;h((function(e){return Xc(Xc({},e),{consentCheckbox:t})})),A((function(e){return Xc(Xc({},e),{consentCheckbox:t})})),g((function(e){return Xc(Xc({},e),{consentCheckbox:!t})}))}}),e.showPayButton&&e.payButton({status:x,classNameModifiers:tu([],c?["standalone"]:[]),label:r.get("confirmPurchase")}))}var Xp=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={loaded:!1},t}return Jc(t,e),t.prototype.componentDidMount=function(){var e=this;this.props.i18n?this.props.i18n.loaded.then((function(){e.setState({loaded:!0})})):this.setState({loaded:!0})},t.prototype.render=function(e){var t=e.children;return this.state.loaded?b(qu.Provider,{value:{i18n:this.props.i18n,loadingContext:this.props.loadingContext}},T(t)):null},t}(C),Zp=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Jc(t,e),Object.defineProperty(t.prototype,"isValid",{get:function(){return!!this.state.isValid},enumerable:!1,configurable:!0}),t.prototype.formatProps=function(e){var n,r,i=e.countryCode||(null===(r=null===(n=e.data)||void 0===n?void 0:n.billingAddress)||void 0===r?void 0:r.countryCode);return Xc(Xc({},e),{allowedCountries:[i],visibility:Xc(Xc({},t.defaultProps.visibility),e.visibility),data:Xc(Xc({},e.data),{billingAddress:Xc(Xc({},e.data.billingAddress),{country:i}),deliveryAddress:Xc(Xc({},e.data.deliveryAddress),{country:i})})})},t.prototype.formatData=function(){var e=this.state.data,t=void 0===e?{}:e,n=t.companyDetails,r=void 0===n?{}:n,i=t.personalDetails,o=void 0===i?{}:i,a=t.billingAddress,s=t.deliveryAddress;return Xc(Xc(Xc(Xc({paymentMethod:{type:this.constructor.type}},o),r),a&&{billingAddress:a}),(s||a)&&{deliveryAddress:s||a})},t.prototype.render=function(){var e=this;return b(Xp,{i18n:this.props.i18n,loadingContext:this.props.loadingContext},b(Jp,Xc({ref:function(t){e.componentRef=t}},this.props,this.state,{consentCheckbox:this.props.consentCheckbox,onChange:this.setState,onSubmit:this.submit,payButton:this.payButton})))},t.defaultProps={onChange:function(){},data:{companyDetails:{},personalDetails:{},billingAddress:{},deliveryAddress:{}},visibility:{companyDetails:"hidden",personalDetails:"editable",billingAddress:"editable",deliveryAddress:"editable"}},t}(Ju);function $p(e){var t=Hu().i18n,n=t.get("paymentConditions"),r=t.get("afterPay.agreement").split("%@"),i=r[0],o=r[1];return i&&o?b(x,null,i,b("a",{className:"adyen-checkout__link",target:"_blank",rel:"noopener noreferrer",href:e.url},n),o):b("span",{className:"adyen-checkout__checkbox__label"},t.get("privacyPolicy"))}var eh=["BE","NL"],th=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Jc(t,e),t.prototype.formatProps=function(t){var n,r,i;return Xc(Xc({},e.prototype.formatProps.call(this,t)),{allowedCountries:t.countryCode?[t.countryCode]:eh,consentCheckboxLabel:b($p,{url:(r=t.countryCode,i=null===(n=t.i18n)||void 0===n?void 0:n.locale,"en"===(null==i?void 0:i.toLowerCase().slice(0,2))?"https://www.afterpay.nl/en/algemeen/pay-with-afterpay/payment-conditions":"be"===(null==r?void 0:r.toLowerCase())?"https://www.afterpay.be/be/footer/betalen-met-afterpay/betalingsvoorwaarden":"https://www.afterpay.nl/nl/algemeen/betalen-met-afterpay/betalingsvoorwaarden")})})},t.type="afterpay_default",t}(Zp),nh=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Jc(t,e),t.prototype.formatProps=function(t){return Xc(Xc({},e.prototype.formatProps.call(this,t)),{allowedCountries:t.countryCode?[t.countryCode]:eh,consentCheckboxLabel:b($p,{url:"https://www.afterpay.nl/nl/algemeen/zakelijke-partners/betalingsvoorwaarden-zakelijk"})})},t.type="afterpay_b2b",t.defaultProps={onChange:function(){},data:{companyDetails:{},personalDetails:{},billingAddress:{},deliveryAddress:{}},visibility:{companyDetails:"editable",personalDetails:"editable",billingAddress:"editable",deliveryAddress:"editable"}},t}(Zp);function rh(){var e=hu(window,"screen.colorDepth")||"",t=!!hu(window,"navigator.javaEnabled")&&window.navigator.javaEnabled(),n=hu(window,"screen.height")||"",r=hu(window,"screen.width")||"",i=hu(window,"navigator.userAgent")||"";return{acceptHeader:"*/*",colorDepth:e,language:hu(window,"navigator.language")||hu(window,"navigator.browserLanguage")||"en",javaEnabled:t,screenHeight:n,screenWidth:r,userAgent:i,timeZoneOffset:(new Date).getTimezoneOffset()}}var ih={EU:"EUR",UK:"GBP",US:"USD"},oh=["en_GB","de_DE","fr_FR","it_IT","es_ES"],ah=["en_US"];function sh(e,t){return function(e){return"US"===e?ah:oh}(t).includes(e)?e:function(e){return"US"===e?"en_US":"en_GB"}(t)}function lh(e){return"noTagline"===e?"C0001":null}function ch(e,t,n){return Qp({loadingContext:e,path:"v1/AmazonPayUtility/getCheckoutDetails?clientKey="+t},n)}function uh(e){var t=this,n=Hu().loadingContext,r=e.amazonRef,i=e.configuration,o=void 0===i?{}:i,a=Du(null),s=a[0],l=a[1],c=function(e){var t=e.addressDetails,n=e.cancelUrl,r=e.checkoutMode,i=e.deliverySpecifications,o=e.returnUrl,a=e.merchantMetadata,s=e.configuration.storeId,l="ProcessOrder"===r,c=l?function(e){return{amount:String(du(e.value,e.currency)),currencyCode:e.currency}}(e.amount):null;return Xc(Xc(Xc(Xc({storeId:s,webCheckoutDetails:Xc(Xc(Xc({},l?{checkoutResultReturnUrl:o}:{checkoutReviewReturnUrl:o}),n&&{checkoutCancelUrl:n}),l&&{checkoutMode:r})},l&&{paymentDetails:{chargeAmount:c,paymentIntent:"Confirm",presentmentCurrency:c.currencyCode,totalOrderAmount:c}}),a&&{merchantMetadata:a}),i&&{deliverySpecifications:i}),t&&{addressDetails:t})}(e),u=function(e){var t;return Xc(Xc(Xc({},e.buttonColor&&{buttonColor:e.buttonColor}),e.design&&{design:lh(e.design)}),{checkoutLanguage:sh(e.locale,e.region),ledgerCurrency:ih[e.configuration.region]||e.currency||(null===(t=e.amount)||void 0===t?void 0:t.currency),merchantId:e.configuration.merchantId,productType:e.productType,placement:e.placement,sandbox:"TEST"===e.environment})}(e),d=function(){new Promise(e.onClick).then(t.initCheckout).catch((function(n){e.onError&&e.onError(n,t.componentRef)}))};return this.initCheckout=function(){var e={payloadJSON:JSON.stringify(c),publicKeyId:o.publicKeyId,signature:s};r.Pay.initCheckout(Xc(Xc({},u),{createCheckoutSessionConfig:e}))},Bu((function(){var i=e.clientKey;(function(e,t,n){var r={loadingContext:e,path:"v1/AmazonPayUtility/signString?clientKey="+t},i={stringToSign:JSON.stringify(n)};return Qp(r,i)})(n,i,c).then((function(t){if(!(null==t?void 0:t.signature))return console.error("Could not get AmazonPay signature");l(t.signature),e.showPayButton&&r.Pay.renderButton("#amazonPayButton",u).onClick(d)})).catch((function(n){console.error(n),e.onError&&e.onError(n,t.componentRef)}))}),[]),e.showPayButton?b("div",{className:"adyen-checkout__amazonpay__button",id:"amazonPayButton"}):null}function dh(e){var t=Hu().i18n,n=e.amazonRef,r=e.amazonCheckoutSessionId;return Bu((function(){var e={amazonCheckoutSessionId:r,changeAction:"changeAddress"};n.Pay.bindChangeAction(".adyen-checkout__amazonpay__button--changeAddress",e)}),[]),b("button",{type:"button",className:"adyen-checkout__button adyen-checkout__button--ghost adyen-checkout__amazonpay__button--changeAddress"},t.get("amazonpay.changePaymentDetails"))}function ph(e){var t=this,n=Hu(),r=n.i18n,i=n.loadingContext;return this.createOrder=function(){var n=e.amazonCheckoutSessionId,r=e.amount,o=e.clientKey,a=e.publicKeyId,s=e.region,l=e.returnUrl;(function(e,t,n){return Qp({loadingContext:e,path:"v1/AmazonPayUtility/updateCheckoutSession?clientKey="+t},n)})(i,o,{amount:r,checkoutResultReturnUrl:l,checkoutSessionId:n,publicKeyId:a,region:s}).then((function(e){var t;if(!(null===(t=null==e?void 0:e.action)||void 0===t?void 0:t.type))return console.error(e.errorMessage||"Could not get the AmazonPay URL");"redirect"===e.action.type&&window.location.assign(e.action.url)})).catch((function(n){e.onError&&e.onError(n,t.componentRef)}))},b(Wu,{classNameModifiers:["standalone","pay"],label:r.get("confirmPurchase"),onClick:this.createOrder})}function hh(e){return b("button",{type:"button",className:"adyen-checkout__button  adyen-checkout__button--ghost adyen-checkout__amazonpay__button--signOut",onClick:function(){new Promise(e.onSignOut).then((function(){e.amazonRef.Pay.signout()})).catch(console.error)}},Hu().i18n.get("amazonpay.signout"))}var fh=function(e,t){var n=this;void 0===t&&(t="body"),this.load=function(){return new Promise((function(e,t){n.script.src=n.src,n.script.async=!0,n.script.onload=e,n.script.onerror=function(){n.remove(),t(new Error("Unable to load script "+n.src))};var r=document.querySelector(n.node),i=r.querySelector('script[src="'+n.src+'"]');i?i.addEventListener("load",e):r.appendChild(n.script)}))},this.remove=function(){return n.script.remove()},this.script=document.createElement("script"),this.src=e,this.node=t};function mh(e){var t,n,r=Du("pending"),i=r[0],o=r[1],a=Mu(null),s=Mu(null),l=function(){o("ready")};return this.submit=function(){return a.current&&a.current.initCheckout?a.current.initCheckout():s.current&&s.current.createOrder?s.current.createOrder():void 0},Bu((function(){var t="US"===e.region?"https://static-na.payments-amazon.com/checkout.js":"https://static-eu.payments-amazon.com/checkout.js",n=new fh(t);return window.amazon?l():n.load().then(l),function(){n.remove()}}),[]),"pending"===i?b("div",{className:"adyen-checkout__amazonpay"},b("div",{className:"adyen-checkout__amazonpay__status adyen-checkout__amazonpay__status--pending"},b(Cu,null))):e.showSignOutButton?b("div",{className:"adyen-checkout__amazonpay"},b(hh,{amazonRef:window.amazon,onSignOut:e.onSignOut})):e.amazonCheckoutSessionId?b("div",{className:"adyen-checkout__amazonpay"},e.showOrderButton&&b(ph,{amazonCheckoutSessionId:e.amazonCheckoutSessionId,amount:e.amount,clientKey:e.clientKey,onError:e.onError,publicKeyId:null===(t=e.configuration)||void 0===t?void 0:t.publicKeyId,region:null===(n=e.configuration)||void 0===n?void 0:n.region,returnUrl:e.returnUrl,ref:s}),e.showChangePaymentDetailsButton&&b(dh,{amazonCheckoutSessionId:e.amazonCheckoutSessionId,amazonRef:window.amazon})):b("div",{className:"adyen-checkout__amazonpay"},b(uh,Xc({},e,{amazonRef:window.amazon,ref:a})))}var gh={cancelUrl:window.location.href,configuration:{},environment:"TEST",locale:"en_GB",placement:"Cart",productType:"PayAndShip",region:"EU",returnUrl:window.location.href,showOrderButton:!0,showChangePaymentDetailsButton:!1,showSignOutButton:!1,showPayButton:!0,onClick:function(e){return e()},onSignOut:function(e){return e()}},vh=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Jc(t,e),t.prototype.formatProps=function(e){return Xc(Xc({},e),{checkoutMode:e.isDropin?"ProcessOrder":e.checkoutMode,environment:e.environment.toUpperCase(),locale:e.locale.replace("-","_"),productType:e.isDropin&&!e.addressDetails?"PayOnly":e.productType,region:e.region.toUpperCase()})},t.prototype.formatData=function(){var e=this.props.amazonCheckoutSessionId;return{paymentMethod:Xc({type:t.type},e&&{checkoutSessionId:e}),browserInfo:this.browserInfo}},t.prototype.getShopperDetails=function(){var e=this.props,t=e.amazonCheckoutSessionId,n=e.configuration,r=void 0===n?{}:n,i=e.loadingContext,o=e.clientKey;return t?ch(i,o,{checkoutSessionId:t,getDeliveryAddress:!0,publicKeyId:r.publicKeyId,region:r.region}):console.error("Could not shopper details. Missing checkoutSessionId.")},t.prototype.handleDeclineFlow=function(){var e=this,t=this.props,n=t.amazonCheckoutSessionId,r=t.configuration,i=void 0===r?{}:r,o=t.loadingContext,a=t.clientKey;if(!n)return console.error("Could handle the decline flow. Missing checkoutSessionId.");ch(o,a,{checkoutSessionId:n,getDeclineFlowUrl:!0,publicKeyId:i.publicKeyId,region:i.region}).then((function(e){if(void 0===e&&(e={}),!(null==e?void 0:e.declineFlowUrl))throw e;window.location.assign(e.declineFlowUrl)})).catch((function(t){e.props.onError&&e.props.onError(t,e.componentRef)}))},Object.defineProperty(t.prototype,"isValid",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"browserInfo",{get:function(){return rh()},enumerable:!1,configurable:!0}),t.prototype.submit=function(){var e=this.data,t=this.isValid,n=this.props.onSubmit,r=void 0===n?function(){}:n;return this.componentRef&&this.componentRef.submit?this.componentRef.submit():r({data:e,isValid:t},this)},t.prototype.render=function(){var e=this;return b(Xp,{i18n:this.props.i18n,loadingContext:this.props.loadingContext},b(mh,Xc({ref:function(t){e.componentRef=t}},this.props)))},t.type="amazonpay",t.defaultProps=gh,t}(Ju),yh={"apple-pay-button":"ApplePayButton-module_apple-pay-button__26P3-","apple-pay-button-black":"ApplePayButton-module_apple-pay-button-black__3Ml54","apple-pay-button-white":"ApplePayButton-module_apple-pay-button-white__1qE8A","apple-pay-button-white-with-line":"ApplePayButton-module_apple-pay-button-white-with-line__j9FE5","apple-pay-button--type-plain":"ApplePayButton-module_apple-pay-button--type-plain__2mnnX","apple-pay-button--type-buy":"ApplePayButton-module_apple-pay-button--type-buy__eMnIy","apple-pay-button--type-donate":"ApplePayButton-module_apple-pay-button--type-donate__3zvI8","apple-pay-button--type-check-out":"ApplePayButton-module_apple-pay-button--type-check-out__ipg0J","apple-pay-button--type-book":"ApplePayButton-module_apple-pay-button--type-book__155Xs","apple-pay-button--type-subscribe":"ApplePayButton-module_apple-pay-button--type-subscribe__3uPJ5","apple-pay-button--type-add-money":"ApplePayButton-module_apple-pay-button--type-add-money__xmCaj","apple-pay-button--type-contribute":"ApplePayButton-module_apple-pay-button--type-contribute__RCq2P","apple-pay-button--type-order":"ApplePayButton-module_apple-pay-button--type-order__f5tpZ","apple-pay-button--type-reload":"ApplePayButton-module_apple-pay-button--type-reload__1P53C","apple-pay-button--type-rent":"ApplePayButton-module_apple-pay-button--type-rent__2J4wk","apple-pay-button--type-support":"ApplePayButton-module_apple-pay-button--type-support__3-p0R","apple-pay-button--type-tip":"ApplePayButton-module_apple-pay-button--type-tip__2-gCt","apple-pay-button--type-top-up":"ApplePayButton-module_apple-pay-button--type-top-up__9UKXI"},Ah=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Jc(t,e),t.prototype.render=function(e){var t=e.buttonColor,n=e.buttonType;return b("button",{type:"button","aria-label":this.props.i18n.get("payButton"),lang:this.props.i18n.languageCode,className:q()("adyen-checkout__applepay__button","adyen-checkout__applepay__button--"+t,"adyen-checkout__applepay__button--"+n,[yh["apple-pay-button"]],[yh["apple-pay-button-"+t]],[yh["apple-pay-button--type-"+n]]),onClick:this.props.onClick})},t.defaultProps={onClick:function(){},buttonColor:"black",buttonType:"plain"},t}(C),bh=function(){function e(e,t){var n=this;this.session=new ApplePaySession(t.version,e),this.session.onvalidatemerchant=function(e){return n.onvalidatemerchant(e,t.onValidateMerchant)},this.session.onpaymentauthorized=function(e){return n.onpaymentauthorized(e,t.onPaymentAuthorized)},this.session.oncancel=function(e){return n.oncancel(e,t.onCancel)},"function"==typeof t.onPaymentMethodSelected&&(this.session.onpaymentmethodselected=function(e){return n.onpaymentmethodselected(e,t.onPaymentMethodSelected)}),"function"==typeof t.onShippingContactSelected&&(this.session.onshippingcontactselected=function(e){return n.onshippingcontactselected(e,t.onShippingContactSelected)}),"function"==typeof t.onShippingMethodSelected&&(this.session.onshippingmethodselected=function(e){return n.onshippingmethodselected(e,t.onShippingMethodSelected)})}return e.prototype.begin=function(){return this.session.begin()},e.prototype.onvalidatemerchant=function(e,t){var n=this;new Promise((function(n,r){return t(n,r,e.validationURL)})).then((function(e){n.session.completeMerchantValidation(e)})).catch((function(e){console.error(e),n.session.abort()}))},e.prototype.onpaymentauthorized=function(e,t){var n=this;return new Promise((function(n,r){return t(n,r,e)})).then((function(){n.session.completePayment(ApplePaySession.STATUS_SUCCESS)})).catch((function(){n.session.completePayment(ApplePaySession.STATUS_FAILURE)}))},e.prototype.onpaymentmethodselected=function(e,t){var n=this;return new Promise((function(n,r){return t(n,r,e)})).then((function(e){n.session.completePaymentMethodSelection(e)})).catch((function(e){n.session.completePaymentMethodSelection(e)}))},e.prototype.onshippingcontactselected=function(e,t){var n=this;return new Promise((function(n,r){return t(n,r,e)})).then((function(e){n.session.completeShippingContactSelection(e)})).catch((function(e){n.session.completeShippingContactSelection(e)}))},e.prototype.onshippingmethodselected=function(e,t){var n=this;return new Promise((function(n,r){return t(n,r,e)})).then((function(e){n.session.completeShippingMethodSelection(e)})).catch((function(e){n.session.completeShippingMethodSelection(e)}))},e.prototype.oncancel=function(e,t){return t(e)},e}(),wh={amount:{currency:"USD",value:0},countryCode:"US",totalPriceStatus:"final",totalPriceLabel:void 0,configuration:{merchantName:"",merchantId:""},initiative:"web",lineItems:void 0,merchantCapabilities:["supports3DS"],shippingMethods:void 0,shippingType:void 0,supportedCountries:void 0,supportedNetworks:["amex","discover","masterCard","visa"],requiredBillingContactFields:void 0,requiredShippingContactFields:void 0,billingContact:void 0,shippingContact:void 0,applicationData:void 0,onClick:function(e){return e()},onSubmit:function(){},onError:function(){},onAuthorized:function(e){return e()},onPaymentMethodSelected:null,onShippingContactSelected:null,onShippingMethodSelected:null,buttonType:"plain",buttonColor:"black",showPayButton:!0},xh=function(e){function t(t){var n=e.call(this,t)||this;return n.startSession=n.startSession.bind(n),n.submit=n.submit.bind(n),n.validateMerchant=n.validateMerchant.bind(n),n}return Jc(t,e),t.prototype.formatProps=function(e){var t,n,r,i,o=e.version||function(){for(var e=[],t=11;t>0;t--)e.push(t);return e.find((function(e){return e&&window.ApplePaySession&&ApplePaySession.supportsVersion(e)}))}(),a=(null===(t=e.brands)||void 0===t?void 0:t.length)?(r=e.brands,i={mc:"masterCard",amex:"amex",visa:"visa",elodebit:"elo",elo:"elo",interac:"interac",discover:"discover",jcb:"jcb",electron:"electron",maestro:"maestro",girocard:"girocard",cartebancaire:"cartesBancaires"},r.reduce((function(e,t){return i[t]&&!e.includes(i[t])&&e.push(i[t]),e}),[])):e.supportedNetworks;return Xc(Xc({},e),{configuration:e.configuration,supportedNetworks:a,version:o,totalPriceLabel:e.totalPriceLabel||(null===(n=e.configuration)||void 0===n?void 0:n.merchantName),onCancel:function(t){return e.onError(t)}})},t.prototype.formatData=function(){return{paymentMethod:Xc({type:t.type},this.state)}},t.prototype.submit=function(){var e=this;this.startSession((function(t,n,r){e.props.onSubmit&&e.props.onSubmit({data:e.data,isValid:e.isValid},e.elementRef),e.props.onAuthorized(t,n,r)}))},t.prototype.startPayment=function(){var e=this;return new Promise((function(t){e.startSession((function(n,r,i){return e.props.onAuthorized(n,r,i),t(!0)}))}))},t.prototype.startSession=function(e){var t=this,n=this.props,r=n.version,i=n.onValidateMerchant,o=n.onCancel,a=n.onPaymentMethodSelected,s=n.onShippingMethodSelected,l=n.onShippingContactSelected;return new Promise((function(e,n){return t.props.onClick(e,n)})).then((function(){var n=function(e){var t=e.countryCode;e.companyName;var n=e.amount,r=Zc(e,["countryCode","companyName","amount"]),i=function(e){return String(du(e.value,e.currency))}(n);return{countryCode:t,currencyCode:n.currency,total:{label:r.totalPriceLabel,amount:i,type:r.totalPriceStatus},lineItems:r.lineItems,shippingMethods:r.shippingMethods,shippingType:r.shippingType,merchantCapabilities:r.merchantCapabilities,supportedCountries:r.supportedCountries,supportedNetworks:r.supportedNetworks,requiredShippingContactFields:r.requiredShippingContactFields,requiredBillingContactFields:r.requiredBillingContactFields,billingContact:r.billingContact,shippingContact:r.shippingContact,applicationData:r.applicationData}}(Xc({companyName:t.props.configuration.merchantName},t.props));new bh(n,{version:r,onCancel:o,onPaymentMethodSelected:a,onShippingMethodSelected:s,onShippingContactSelected:l,onValidateMerchant:i||t.validateMerchant,onPaymentAuthorized:function(n,r,i){i.payment.token&&i.payment.token.paymentData&&t.setState({applePayToken:btoa(JSON.stringify(i.payment.token.paymentData))}),e(n,r,i)}}).begin()}))},t.prototype.validateMerchant=function(e,t){return $c(this,void 0,void 0,(function(){var n,r,i,o,a,s,l,c,u,d,p,h,f;return eu(this,(function(m){switch(m.label){case 0:n=window.location.hostname,r=this.props,i=r.clientKey,o=r.configuration,a=r.loadingContext,s=r.initiative,l=o.merchantName,c=o.merchantId,u={loadingContext:a,path:"v1/applePay/sessions?clientKey="+i},d={displayName:l,domainName:n,initiative:s,merchantIdentifier:c},m.label=1;case 1:return m.trys.push([1,3,,4]),[4,Qp(u,d)];case 2:return p=m.sent(),(h=ld.decode(p.data))||t("Could not decode Apple Pay session"),f=JSON.parse(h),e(f),[3,4];case 3:return m.sent(),t("Could not get Apple Pay session"),[3,4];case 4:return[2]}}))}))},Object.defineProperty(t.prototype,"isValid",{get:function(){return!0},enumerable:!1,configurable:!0}),t.prototype.isAvailable=function(){return"https:"!==document.location.protocol?Promise.reject(new Error("Trying to start an Apple Pay session from an insecure document")):this.props.onValidateMerchant||this.props.clientKey?window.ApplePaySession&&ApplePaySession.canMakePayments()&&ApplePaySession.supportsVersion(this.props.version)?Promise.resolve(!0):Promise.reject(new Error("Apple Pay is not available on this device")):Promise.reject(new Error("clientKey was not provided"))},t.prototype.render=function(){var e=this;return this.props.showPayButton?b(Ah,{i18n:this.props.i18n,buttonColor:this.props.buttonColor,buttonType:this.props.buttonType,onClick:function(t){t.preventDefault(),e.submit()}}):null},t.type="applepay",t.defaultProps=wh,t}(Ju),Ch=function(e,t){var n,r=e.issuer,i=null===(n=e.items.find((function(e){return e.id===r})))||void 0===n?void 0:n.name;return r&&i?t.get("continueTo")+" "+i:t.get("continue")},Sh=["issuer"],kh={issuer:{validate:function(e){return!!e&&e.length>0},modes:["blur"]}};function Eh(e){var t=e.items,n=e.placeholder,r=e.issuer,i=Zc(e,["items","placeholder","issuer"]),o=Hu().i18n,a=Gd({schema:Sh,defaultData:{issuer:r},rules:kh}),s=a.handleChangeFor,l=a.triggerValidation,c=a.data,u=a.valid,d=a.errors,p=a.isValid,h=Du("ready"),f=h[0],m=h[1];return this.setStatus=function(e){m(e)},Bu((function(){i.onChange({data:c,valid:u,errors:d,isValid:p})}),[c,u,d,p]),this.showValidation=function(){l()},b("div",{className:"adyen-checkout__issuer-list"},b(vd,{errorMessage:!!d.issuer,classNameModifiers:["issuer-list"]},Nd("select",{items:t,selected:c.issuer,placeholder:o.get(n),name:"issuer",className:"adyen-checkout__issuer-list__dropdown",onChange:s("issuer")})),i.showPayButton&&i.payButton({status:f,label:Ch({issuer:c.issuer,items:t},o)}))}Eh.defaultProps={onChange:function(){},placeholder:"idealIssuer.selectField.placeholder"};var Ih=function(e,t){return function(n){if(!n)return null;var r=Xc({parentFolder:n?t+"/":"",type:n||t},e);return xu(r)(n)}},_h=function(e){function t(t){var n=e.call(this,t)||this;if(n.props.showImage){var r=Ih({loadingContext:n.props.loadingContext},n.constructor.type);n.props.issuers=n.props.issuers.map((function(e){return Xc(Xc({},e),{icon:r(e.id)})}))}return n}return Jc(t,e),t.prototype.formatProps=function(e){var t=e.details&&e.details.length&&(e.details.find((function(e){return"issuer"===e.key}))||{}).items||e.issuers||[];return Xc(Xc({},e),{issuers:t})},t.prototype.formatData=function(){var e,t;return{paymentMethod:{type:this.constructor.type,issuer:null===(t=null===(e=this.state)||void 0===e?void 0:e.data)||void 0===t?void 0:t.issuer}}},Object.defineProperty(t.prototype,"isValid",{get:function(){var e;return!!(null===(e=this.state)||void 0===e?void 0:e.isValid)},enumerable:!1,configurable:!0}),t.prototype.render=function(){var e=this;return b(Xp,{i18n:this.props.i18n,loadingContext:this.props.loadingContext},b(Eh,Xc({ref:function(t){e.componentRef=t},items:this.props.issuers},this.props,this.state,{onChange:this.setState,onSubmit:this.submit,payButton:this.payButton})))},t.defaultProps={showImage:!0,onValid:function(){},issuers:[],loadingContext:bu},t}(Ju),Ph=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Jc(t,e),t.prototype.formatProps=function(t){return Xc(Xc({},e.prototype.formatProps.call(this,t)),{showImage:!1})},t.type="billdesk_online",t}(_h),Oh=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Jc(t,e),t.prototype.formatProps=function(t){return Xc(Xc({},e.prototype.formatProps.call(this,t)),{showImage:!1,placeholder:"issuerList.wallet.placeholder"})},t.type="billdesk_wallet",t}(_h),Th=["amex","mc","visa"],Dh=["sepa","sepadirectdebit","ach","giftcard"],jh=function(e,t){return"encryptedExpiryDate"===t?(e.encryptedExpiryMonth=!1,e.encryptedExpiryYear=!1):e[t]=!1,e},Bh=function(e,t){var n="card"===e?"nocard":e||"nocard";return xu({type:n,extension:"svg",loadingContext:t})(n)};function Nh(e){return"object"==typeof e&&null!==e&&"[object Array]"===Object.prototype.toString.call(e)}function Mh(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=Nh(e[0])?e[0]:e;return{from:function(e){return n.map((function(t){var n;return t in e?((n={})[t]=e[t],n):{}})).reduce((function(e,t){return Xc(Xc({},e),t)}),{})}}}function Rh(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=Nh(e[0])?e[0]:e;return{from:function(e){var t=Object.keys(e).filter((function(e){return!n.includes(e)}));return Mh.apply(void 0,t).from(e)}}}var Lh=Object.prototype.toString;function Fh(e){return"object"==typeof e&&null!==e&&"[object Array]"===Object.prototype.toString.call(e)}function zh(e){return null!=e}function Qh(e){return!1!==e&&zh(e)}function Uh(e){return!!e&&"object"==typeof e}function Vh(e,t){void 0===e&&(e={}),void 0===t&&(t={});var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var i=0,o=n;i<o.length;i++){var a=o[i];if(Uh(e[a])&&!Vh(e[a],t[a]))return!1;if(e[a]!==t[a])return!1}return!0}var Gh=window.console&&window.console.error&&window.console.error.bind(window.console);window.console&&window.console.info&&window.console.info.bind(window.console);var qh=window.console&&window.console.log&&window.console.log.bind(window.console),Hh=window.console&&window.console.warn&&window.console.warn.bind(window.console);function Wh(){var e;this.config.cardGroupTypes=Fh(e=this.props.cardGroupTypes)&&e.length?e:Th;var t=this.props.loadingContext;if(t){var n;this.config.loadingContext="/"===(n=t).charAt(n.length-1)?t:t+"/",this.config.isCreditCardType=!1===Dh.includes(this.props.type),this.config.iframeUIConfig=this.props.iframeUIConfig,this.config.allowedDOMAccess=!(!1===this.props.allowedDOMAccess||"false"===this.props.allowedDOMAccess),this.config.autoFocus=!(!1===this.props.autoFocus||"false"===this.props.autoFocus),this.config.showWarnings=!0===this.props.showWarnings||"true"===this.props.showWarnings,this.config.trimTrailingSeparator=!(!1===this.props.trimTrailingSeparator||"false"===this.props.trimTrailingSeparator),this.config.keypadFix=!(!1===this.props.keypadFix||"false"===this.props.keypadFix),this.config.legacyInputMode=this.props.legacyInputMode||null,this.config.minimumExpiryDate=this.props.minimumExpiryDate||null,this.config.implementationType=this.props.implementationType,this.config.sfLogAtStart=!0===this.props._b$dl;var r=this.config.isCreditCardType?"card":this.props.type;r.indexOf("sepa")>-1&&(r="iban");var i=btoa(window.location.origin);this.config.iframeSrc=this.config.loadingContext+"securedfields/"+this.props.clientKey+"/3.5.4/securedFields.html?type="+r+"&d="+i}else Hh("WARNING Config :: no loadingContext has been specified!")}var Yh=function(){};function Kh(e){void 0===e&&(e={}),this.callbacks.onLoad=e.onLoad?e.onLoad:Yh,this.callbacks.onConfigSuccess=e.onConfigSuccess?e.onConfigSuccess:Yh,this.callbacks.onFieldValid=e.onFieldValid?e.onFieldValid:Yh,this.callbacks.onAllValid=e.onAllValid?e.onAllValid:Yh,this.callbacks.onBrand=e.onBrand?e.onBrand:Yh,this.callbacks.onError=e.onError?e.onError:Yh,this.callbacks.onFocus=e.onFocus?e.onFocus:Yh,this.callbacks.onBinValue=e.onBinValue?e.onBinValue:Yh,this.callbacks.onAutoComplete=e.onAutoComplete?e.onAutoComplete:Yh,this.callbacks.onAdditionalSFConfig=e.onAdditionalSFConfig?e.onAdditionalSFConfig:Yh,this.callbacks.onAdditionalSFRemoved=e.onAdditionalSFRemoved?e.onAdditionalSFRemoved:Yh}var Jh=function(e,t,n){if(t){var r=JSON.stringify(e);t.postMessage(r,n)}},Xh=function(e,t){return!Vh(e,t)};function Zh(e){if("encryptedCardNumber"===e.fieldType){var t={brand:e.brand,cvcPolicy:e.cvcPolicy,showSocialSecurityNumber:e.showSocialSecurityNumber},n=Xh(t,this.state.brand);if(!n)return null;var r="card"===this.state.type||"bcmc"===this.state.type;if(r&&n&&(this.state.brand=t,Object.prototype.hasOwnProperty.call(this.state.securedFields,"encryptedSecurityCode"))){var i={txVariant:this.state.type,brand:t.brand,fieldType:"encryptedSecurityCode",cvcPolicy:e.cvcPolicy,numKey:this.state.securedFields.encryptedSecurityCode.numKey};Jh(i,this.getIframeContentWin("encryptedSecurityCode"),this.config.loadingContext)}var o=r?Mh(["brand","cvcPolicy","cvcText","datePolicy","showSocialSecurityNumber"]).from(e):null;if(o&&o.brand){var a=o;a.type=this.state.type,a.rootNode=this.props.rootNode,this.callbacks.onBrand(a)}return!0}return!1}var $h=function(e){return{fieldType:e.fieldType,encryptedFieldName:e.encryptedFieldName,uid:e.uuid,valid:e.isValid,type:e.txVariant,rootNode:e.rootNode}},ef=function(e,t){var n=[];return e&&"function"==typeof e.querySelectorAll&&(n=[].slice.call(e.querySelectorAll(t))),n},tf=function(e,t){if(e)return e.querySelector(t)},nf=function(e,t){if(e)return e.getAttribute(t)},rf=function(e,t,n,r){if("function"!=typeof e.addEventListener){if(!e.attachEvent)throw new Error(": Unable to bind "+t+"-event");e.attachEvent("on"+t,n)}else e.addEventListener(t,n,r)},of=function(e,t,n,r){if("function"==typeof e.addEventListener)e.removeEventListener(t,n,r);else{if(!e.attachEvent)throw new Error(": Unable to unbind "+t+"-event");e.detachEvent("on"+t,n)}},af=function(e,t,n,r,i){if(!Object.prototype.hasOwnProperty.call(e,"error"))return null;var o=t,a={rootNode:r,fieldType:e.fieldType,error:null,type:null},s=""!==e.error;return s||o.hasError?o.errorType===md["Unsupported card entered"]?null:(a.error=s?e.error:"",a.type=n,o.hasError=s,o.errorType=a.error,i(a),a):null};function sf(e){var t,n,r,i,o=e.fieldType;if("card"===this.state.type&&Object.prototype.hasOwnProperty.call(e,"cvcPolicy")&&zh(e.cvcPolicy)&&Object.prototype.hasOwnProperty.call(this.state.securedFields,"encryptedSecurityCode")&&(this.state.securedFields.encryptedSecurityCode.cvcPolicy=e.cvcPolicy),af(e,this.state.securedFields[o],this.state.type,this.props.rootNode,this.callbacks.onError),this.state.securedFields[o].isEncrypted){t=function(e){var t,n,r=e.fieldType,i=e.txVariant,o=e.rootNode,a="encryptedExpiryDate"===r,s=[],l=["encryptedExpiryMonth","encryptedExpiryYear"],c=a?2:1;for(t=0;t<c;t+=1){n=a?l[t]:r;var u=$h({fieldType:r,encryptedFieldName:a?n:r,uuid:i+"-encrypted-"+n,isValid:!1,txVariant:i,rootNode:o});s.push(u)}return s}({fieldType:o,txVariant:this.state.type,rootNode:this.props.rootNode}),"encryptedCardNumber"===o&&(t[0].endDigits="");for(var a=0,s=t.length;a<s;a+=1)this.config.allowedDOMAccess&&(n=this.props.rootNode,r=t[a].uid,void 0,(i=tf(n,"#"+r))&&n.removeChild(i)),this.callbacks.onFieldValid(t[a]);this.state.securedFields[o].isEncrypted=!1}this.assessFormValidity(),Object.prototype.hasOwnProperty.call(e,"brand")&&this.processBrand(e)}function lf(e){var t,n,r=e.fieldType;this.config.autoFocus&&("year"!==e.type&&"encryptedExpiryYear"!==r||this.setFocusOnFrame("encryptedSecurityCode"),"encryptedExpiryMonth"===r&&this.setFocusOnFrame("encryptedExpiryYear"));var i=e[r];this.state.securedFields[r].isEncrypted=!0,this.config.allowedDOMAccess&&function(e,t,n){var r,i,o,a,s,l,c,u;for(r=0;r<e.length;r+=1){var d=e[r];i=t+"-encrypted-"+(o=d.encryptedFieldName),s=o,l=d.blob,u=void 0,(u=tf(a=n,"#"+(c=i)))||((u=document.createElement("input")).type="hidden",u.name=s,u.id=c,a.appendChild(u)),u.setAttribute("value",l)}}(i,this.state.type,this.props.rootNode),af({error:"",fieldType:r},this.state.securedFields[r],this.state.type,this.props.rootNode,this.callbacks.onError);var o=function(e){var t,n,r,i,o,a=e.fieldType,s=e.txVariant,l=e.rootNode,c=e.encryptedObjArr,u=[];for(t=0;t<c.length;t+=1){n=s+"-encrypted-"+(i=(r=c[t]).encryptedFieldName),o=r.blob;var d=$h({fieldType:a,encryptedFieldName:i,uuid:n,isValid:!0,txVariant:s,rootNode:l});d.blob=o,u.push(d)}return u}({fieldType:r,txVariant:this.state.type,rootNode:this.props.rootNode,encryptedObjArr:i});if("encryptedExpiryMonth"===r&&Object.prototype.hasOwnProperty.call(this.state.securedFields,"encryptedExpiryYear")){var a={txVariant:this.state.type,code:e.code,blob:i[0].blob,fieldType:"encryptedExpiryYear",numKey:this.state.securedFields.encryptedExpiryYear.numKey};Jh(a,this.getIframeContentWin("encryptedExpiryYear"),this.config.loadingContext)}for("encryptedCardNumber"===r&&Qh(e.endDigits)&&(o[0].endDigits=e.endDigits),t=0,n=o.length;t<n;t+=1)this.callbacks.onFieldValid(o[t]);this.assessFormValidity()}var cf={__NO_BRAND:"noBrand",cards:[]};cf.cards.push({cardType:"mc",startingRules:[51,52,53,54,55,22,23,24,25,26,27],permittedLengths:[16],pattern:/^(5[1-5][0-9]{0,14}|2[2-7][0-9]{0,14})$/,securityCode:"CVC"}),cf.cards.push({cardType:"visadankort",startingRules:[4571],permittedLengths:[16],pattern:/^(4571)[0-9]{0,12}$/}),cf.cards.push({cardType:"visa",startingRules:[4],permittedLengths:[13,16,19],pattern:/^4[0-9]{0,18}$/,securityCode:"CVV"}),cf.cards.push({cardType:"amex",startingRules:[34,37],permittedLengths:[15],pattern:/^3[47][0-9]{0,13}$/,securityCode:"CID"}),cf.cards.push({cardType:"diners",startingRules:[36],permittedLengths:[14],pattern:/^(36)[0-9]{0,12}$/}),cf.cards.push({cardType:"maestrouk",startingRules:[6759],permittedLengths:[16,18,19],pattern:/^(6759)[0-9]{0,15}$/}),cf.cards.push({cardType:"solo",startingRules:[6767],permittedLengths:[16,18,19],pattern:/^(6767)[0-9]{0,15}$/}),cf.cards.push({cardType:"laser",startingRules:[6304,6706,677117,677120],permittedLengths:[16,17,18,19],pattern:/^(6304|6706|6709|6771)[0-9]{0,15}$/,cvcPolicy:"optional"}),cf.cards.push({cardType:"discover",startingRules:[6011,644,645,646,647,648,649,65],permittedLengths:[16],pattern:/^(6011[0-9]{0,12}|(644|645|646|647|648|649)[0-9]{0,13}|65[0-9]{0,14})$/}),cf.cards.push({cardType:"jcb",startingRules:[3528,3529,353,354,355,356,357,358],permittedLengths:[16,19],pattern:/^(352[8,9]{1}[0-9]{0,15}|35[4-8]{1}[0-9]{0,16})$/,securityCode:"CAV"}),cf.cards.push({cardType:"bcmc",startingRules:[6703,479658,606005],permittedLengths:[16,17,18,19],pattern:/^((6703)[0-9]{0,15}|(479658|606005)[0-9]{0,13})$/,cvcPolicy:"hidden"}),cf.cards.push({cardType:"bijcard",startingRules:[5100081],permittedLengths:[16],pattern:/^(5100081)[0-9]{0,9}$/}),cf.cards.push({cardType:"dankort",startingRules:[5019],permittedLengths:[16],pattern:/^(5019)[0-9]{0,12}$/}),cf.cards.push({cardType:"hipercard",startingRules:[606282],permittedLengths:[16],pattern:/^(606282)[0-9]{0,10}$/}),cf.cards.push({cardType:"cup",startingRules:[62,81],permittedLengths:[14,15,16,17,18,19],pattern:/^(62|81)[0-9]{0,17}$/}),cf.cards.push({cardType:"maestro",startingRules:[50,56,57,58,6],permittedLengths:[16,17,18,19],pattern:/^(5[0|6-8][0-9]{0,17}|6[0-9]{0,18})$/,cvcPolicy:"optional"}),cf.cards.push({cardType:"elo",startingRules:[506699,50670,50671,50672,50673,50674,50675,50676,506770,506771,506772,506773,506774,506775,506776,506777,506778,401178,438935,451416,457631,457632,504175,627780,636297,636368],permittedLengths:[16],pattern:/^((((506699)|(506770)|(506771)|(506772)|(506773)|(506774)|(506775)|(506776)|(506777)|(506778)|(401178)|(438935)|(451416)|(457631)|(457632)|(504175)|(627780)|(636368)|(636297))[0-9]{0,10})|((50676)|(50675)|(50674)|(50673)|(50672)|(50671)|(50670))[0-9]{0,11})$/}),cf.cards.push({cardType:"uatp",startingRules:[1],permittedLengths:[15],pattern:/^1[0-9]{0,14}$/,cvcPolicy:"optional"}),cf.cards.push({cardType:"cartebancaire",startingRules:[4,5,6],permittedLengths:[16],pattern:/^[4-6][0-9]{0,15}$/}),cf.cards.push({cardType:"visaalphabankbonus",startingRules:[450903],permittedLengths:[16],pattern:/^(450903)[0-9]{0,10}$/}),cf.cards.push({cardType:"mcalphabankbonus",startingRules:[510099],permittedLengths:[16],pattern:/^(510099)[0-9]{0,10}$/}),cf.cards.push({cardType:"hiper",startingRules:[637095,637568,637599,637609,637612],permittedLengths:[16],pattern:/^(637095|637568|637599|637609|637612)[0-9]{0,10}$/}),cf.cards.push({cardType:"oasis",startingRules:[982616],permittedLengths:[16],pattern:/^(982616)[0-9]{0,10}$/,cvcPolicy:"optional"}),cf.cards.push({cardType:"karenmillen",startingRules:[98261465],permittedLengths:[16],pattern:/^(98261465)[0-9]{0,8}$/,cvcPolicy:"optional"}),cf.cards.push({cardType:"warehouse",startingRules:[982633],permittedLengths:[16],pattern:/^(982633)[0-9]{0,10}$/,cvcPolicy:"optional"}),cf.cards.push({cardType:"mir",startingRules:[220],permittedLengths:[16,17,18,19],pattern:/^(220)[0-9]{0,16}$/}),cf.cards.push({cardType:"codensa",startingRules:[590712],permittedLengths:[16],pattern:/^(590712)[0-9]{0,10}$/}),cf.cards.push({cardType:"naranja",startingRules:[377798,377799,402917,402918,527571,527572,589562],permittedLengths:[16,17,18,19],pattern:/^(37|40|5[28])([279])\d*$/}),cf.cards.push({cardType:"cabal",startingRules:[589657,600691,603522,6042,6043,636908],permittedLengths:[16,17,18,19],pattern:/^(58|6[03])([03469])\d*$/}),cf.cards.push({cardType:"shopping",startingRules:[2799,589407,603488],permittedLengths:[16,17,18,19],pattern:/^(27|58|60)([39])\d*$/}),cf.cards.push({cardType:"argencard",startingRules:[501],permittedLengths:[16,17,18,19],pattern:/^(50)(1)\d*$/}),cf.cards.push({cardType:"troy",startingRules:[9792],permittedLengths:[16],pattern:/^(97)(9)\d*$/}),cf.cards.push({cardType:"forbrugsforeningen",startingRules:[600722],permittedLengths:[16],pattern:/^(60)(0)\d*$/}),cf.cards.push({cardType:"vpay",startingRules:[401,408,413,434,435,437,439,441,442,443,444,446,447,455,458,460,461,463,466,471,479,482,483,487],permittedLengths:[13,14,15,16,17,18,19],pattern:/^(40[1,8]|413|43[4,5]|44[1,2,3,4,6,7]|45[5,8]|46[0,1,3,6]|47[1,9]|48[2,3,7])[0-9]{0,16}$/}),cf.cards.push({cardType:"rupay",startingRules:[508528],permittedLengths:[16],pattern:/^(100003|508(2|[5-9])|60(69|[7-8])|652(1[5-9]|[2-5][0-9]|8[5-9])|65300[3-4]|8172([0-1]|[3-5]|7|9)|817(3[3-8]|40[6-9]|410)|35380([0-2]|[5-6]|9))[0-9]{0,12}$/});var uf=function(e){return cf.cards.filter((function(t){return t.cardType===e}))[0]};cf.__NO_BRAND,cf.cards;var df,pf=function(e){var t=md[e];return t||(t=Object.keys(md).find((function(t){return md[t]===e})))||e},hf=function(e){function t(t,n){var r=e.call(this)||this,i=["fieldType","iframeSrc","cvcPolicy","datePolicy","loadingContext","holderEl"],o=Rh(i).from(t);r.config=Xc(Xc(Xc({},r.config),o),{iframeUIConfig:Xc({},o.iframeUIConfig)});var a=Mh(i).from(t);return r.fieldType=a.fieldType,r.cvcPolicy=a.cvcPolicy,r.datePolicy=a.datePolicy,r.iframeSrc=a.iframeSrc,r.loadingContext=a.loadingContext,r.holderEl=a.holderEl,r.isValid=!1,r.iframeContentWindow=null,r.numKey=function(){if(!window.crypto)return 4294967296*Math.random()|0;var e=new Uint32Array(1);return window.crypto.getRandomValues(e),e[0]}(),r.isEncrypted=!1,r.hasError=!1,r.errorType="",r.init(n)}return Jc(t,e),t.prototype.init=function(e){var t=function(e,t,n){var r,i=["ach","giftcard"].includes(e.txVariant)?e.txVariant:"creditCard",o=n.get(i+"."+t+".aria.iframeTitle"),a=n.get(i+"."+t+".aria.label"),s=n.locale,l=function(e,t){var n=Xc({},e);return n.error=n.error?n.error:function(e){return Object.keys(md).reduce((function(t,n){var r=md[n];return(r.indexOf("sf-")>-1||r.indexOf("gen.01")>-1)&&(t[r]=e.get(r)),t}),{})}(t),n}({iframeTitle:o,label:a},n);return Xc(Xc({},s&&{lang:s}),((r={})[t]=l,r))}(this.config,this.fieldType,e);this.config.iframeUIConfig.ariaConfig=t;var n=function(e,t,n){var r,i,o,a=e.txVariant,s=function(e){var t;return(t={}).encryptedCardNumber=e.get&&e.get("creditCard.numberField.placeholder"),t.encryptedExpiryDate=e.get&&e.get("creditCard.expiryDateField.placeholder"),t.encryptedExpiryMonth=e.get&&e.get("creditCard.expiryDateField.month.placeholder"),t.encryptedExpiryYear=e.get&&e.get("creditCard.expiryDateField.year.placeholder"),t.encryptedSecurityCode=e.get&&e.get("creditCard.cvcField.placeholder"),t.encryptedSecurityCode3digits=e.get&&e.get("creditCard.cvcField.placeholder.3digits"),t.encryptedSecurityCode4digits=e.get&&e.get("creditCard.cvcField.placeholder.4digits"),t.encryptedPassword=e.get&&e.get("creditCard.encryptedPassword.placeholder"),t}(n);return Xc(Xc(Xc({},"encryptedSecurityCode"!==t&&((r={})[t]=s[t],r)),"encryptedSecurityCode"===t&&"giftcard"===a&&((i={})[t]=s[t],i)),"encryptedSecurityCode"===t&&"giftcard"!==a&&((o={}).encryptedSecurityCode3digits=s.encryptedSecurityCode3digits,o.encryptedSecurityCode4digits=s.encryptedSecurityCode4digits,o))}(this.config,this.fieldType,e);this.config.iframeUIConfig.placeholders=n;var r=function(e){var t=e.src,n=e.title,r=void 0===n?"iframe element":n,i=e.policy,o=void 0===i?"origin":i,a=e.styleStr,s=void 0===a?"border: none; height:100%; width:100%;":a,l=document.createElement("iframe");l.setAttribute("src",t),l.setAttribute("class","js-iframe"),l.setAttribute("title",r),l.setAttribute("frameborder","0"),l.setAttribute("scrolling","no"),l.setAttribute("allowtransparency","true"),l.setAttribute("style",s),l.setAttribute("referrerpolicy",o);var c=document.createTextNode("<p>Your browser does not support iframes.</p>");return l.appendChild(c),l}({src:this.iframeSrc,title:t[this.fieldType].iframeTitle,policy:"origin"});this.holderEl.appendChild(r);var i=tf(this.holderEl,".js-iframe");return i&&(this.iframeContentWindow=i.contentWindow,this.iframeOnLoadListener=this.iframeOnLoadListenerFn,rf(i,"load",this.iframeOnLoadListener,!1)),this},t.prototype.iframeOnLoadListenerFn=function(){of(window,"load",this.iframeOnLoadListener,!1),this.postMessageListener=this.postMessageListenerFn,rf(window,"message",this.postMessageListener,!1);var e={fieldType:this.fieldType,cvcPolicy:this.cvcPolicy,numKey:this.numKey,txVariant:this.config.txVariant,extraFieldData:this.config.extraFieldData,cardGroupTypes:this.config.cardGroupTypes,iframeUIConfig:this.config.iframeUIConfig,sfLogAtStart:this.config.sfLogAtStart,showWarnings:this.config.showWarnings,trimTrailingSeparator:this.config.trimTrailingSeparator,isCreditCardType:this.config.isCreditCardType,legacyInputMode:this.config.legacyInputMode,minimumExpiryDate:this.config.minimumExpiryDate,uid:this.config.uid,implementationType:this.config.implementationType};Jh(e,this.iframeContentWindow,this.loadingContext),this.onIframeLoadedCallback()},t.prototype.postMessageListenerFn=function(e){if(function(e,t,n){var r=e.origin,i=t.indexOf("/checkoutshopper/"),o=i>-1?t.substring(0,i):t,a=o.length-1;return"/"===o.charAt(a)&&(o=o.substring(0,a)),r===o||(n&&(Hh("WARNING postMessageValidation: postMessage listener for iframe::origin mismatch!\n Received message with origin:",r,"but the only allowed origin for messages to CSF is",o),Hh("### event.data=",e.data)),!1)}(e,this.loadingContext,this.config.showWarnings)){var t;try{t=JSON.parse(e.data)}catch(t){return function(e){return e.data&&e.data.type&&"string"==typeof e.data.type&&e.data.type.indexOf("webpack")>-1}(e)?void(this.config.showWarnings&&qh("### SecuredField::postMessageListenerFn:: PARSE FAIL - WEBPACK")):function(e){return e.data&&"string"==typeof e.data&&e.data.indexOf("cvox")>-1}(e)?void(this.config.showWarnings&&qh("### SecuredField::postMessageListenerFn:: PARSE FAIL - CHROMEVOX")):void(this.config.showWarnings&&qh("### SecuredField::postMessageListenerFn:: PARSE FAIL - UNKNOWN REASON: event.data=",e.data))}if(Object.prototype.hasOwnProperty.call(t,"action")&&Object.prototype.hasOwnProperty.call(t,"numKey"))if(this.numKey===t.numKey)switch(t.action){case"encryption":this.isValid=!0,this.onEncryptionCallback(t);break;case"config":this.onConfigCallback(t);break;case"focus":this.onFocusCallback(t);break;case"binValue":this.onBinValueCallback(t);break;case"click":this.onClickCallback(t);break;case"shifttab":this.onShiftTabCallback(t);break;case"autoComplete":this.onAutoCompleteCallback(t);break;default:this.isValid=!1,this.onValidationCallback(t)}else this.config.showWarnings&&Hh("WARNING SecuredField :: postMessage listener for iframe :: data mismatch! (Probably a message from an unrelated securedField)");else this.config.showWarnings&&Hh("WARNING SecuredField :: postMessage listener for iframe :: data mismatch!")}},t.prototype.destroy=function(){of(window,"message",this.postMessageListener,!1),this.iframeContentWindow=null,function(e){for(;e.firstChild;)e.removeChild(e.firstChild)}(this.holderEl)},t.prototype.onIframeLoaded=function(e){return this.onIframeLoadedCallback=e,this},t.prototype.onEncryption=function(e){return this.onEncryptionCallback=e,this},t.prototype.onValidation=function(e){return this.onValidationCallback=e,this},t.prototype.onConfig=function(e){return this.onConfigCallback=e,this},t.prototype.onFocus=function(e){return this.onFocusCallback=e,this},t.prototype.onBinValue=function(e){return this.onBinValueCallback=e,this},t.prototype.onClick=function(e){return this.onClickCallback=e,this},t.prototype.onShiftTab=function(e){return this.onShiftTabCallback=e,this},t.prototype.onAutoComplete=function(e){return this.onAutoCompleteCallback=e,this},Object.defineProperty(t.prototype,"errorType",{get:function(){return this._errorType},set:function(e){this._errorType=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasError",{get:function(){return this._hasError},set:function(e){this._hasError=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isValid",{get:function(){if("encryptedSecurityCode"===this.fieldType)switch(this.cvcPolicy){case"hidden":return!0;case"optional":return!this.hasError;default:return this._isValid}return"encryptedExpiryDate"===this.fieldType&&"hidden"===this.datePolicy||this._isValid},set:function(e){this._isValid=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"cvcPolicy",{get:function(){return this._cvcPolicy},set:function(e){"encryptedSecurityCode"===this.fieldType&&e!==this.cvcPolicy&&(this._cvcPolicy=e,this.hasError&&"isValidated"===this.errorType&&(this.hasError=!1))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"datePolicy",{get:function(){return this._datePolicy},set:function(e){"encryptedExpiryDate"===this.fieldType&&e!==this.datePolicy&&(this._datePolicy=e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"iframeContentWindow",{get:function(){return this._iframeContentWindow},set:function(e){this._iframeContentWindow=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isEncrypted",{get:function(){return this._isEncrypted},set:function(e){this._isEncrypted=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"numKey",{get:function(){return this._numKey},set:function(e){this._numKey=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"iframeOnLoadListener",{get:function(){return this._iframeOnLoadListener},set:function(e){this._iframeOnLoadListener=e.bind(this)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"postMessageListener",{get:function(){return this._postMessageListener},set:function(e){this._postMessageListener=e.bind(this)},enumerable:!1,configurable:!0}),t}((function(){this.config={}}));function ff(){this.encryptedAttrName="data-cse";var e=ef(this.props.rootNode,"["+this.encryptedAttrName+"]");return df="required",this.config.isCreditCardType?(this.isSingleBrandedCard=!1,this.securityCode="",this.createCardSecuredFields(e)):this.createNonCardSecuredFields(e)}function mf(e){return e.forEach(this.setupSecuredField.bind(this)),e.length}function gf(e){var t=this,n=this.state.type;if("card"===n&&1===this.config.cardGroupTypes.length&&(n=this.config.cardGroupTypes[0],this.state.type=n),this.isSingleBrandedCard="card"!==n,this.isSingleBrandedCard){var r=uf(n);zh(r)?(df=r.cvcPolicy||"required",this.securityCode=r.securityCode):this.state.type="unrecognised-single-brand"}if(e.forEach(this.setupSecuredField.bind(this)),this.isSingleBrandedCard){var i={type:this.state.type,rootNode:this.props.rootNode,brand:n,cvcPolicy:df,cvcText:this.securityCode};setTimeout((function(){t.callbacks.onBrand(i)}),0)}return e.length}function vf(e){var t=this,n=nf(e,this.encryptedAttrName);"encryptedExpiryYear"===n&&(this.state.hasSeparateDateFields=!0);var r={fieldType:n,extraFieldData:nf(e,"data-info"),uid:nf(e,"data-uid"),txVariant:this.state.type,cardGroupTypes:this.config.cardGroupTypes,iframeUIConfig:this.config.iframeUIConfig?this.config.iframeUIConfig:{},sfLogAtStart:this.config.sfLogAtStart,trimTrailingSeparator:this.config.trimTrailingSeparator,cvcPolicy:df,datePolicy:"required",isCreditCardType:this.config.isCreditCardType,iframeSrc:this.config.iframeSrc,loadingContext:this.config.loadingContext,showWarnings:this.config.showWarnings,holderEl:e,legacyInputMode:this.config.legacyInputMode,minimumExpiryDate:this.config.minimumExpiryDate,implementationType:this.config.implementationType},i=new hf(r,this.props.i18n).onIframeLoaded((function(){t.state.iframeCount+=1,t.state.iframeCount===t.state.originalNumIframes&&t.callbacks.onLoad({iframesLoaded:!0})})).onConfig((function(e){t.handleIframeConfigFeedback(e)})).onFocus((function(e){t.handleFocus(e)})).onBinValue((function(e){t.handleBinValue(e)})).onClick((function(e){t.postMessageToAllIframes({fieldType:e.fieldType,click:!0})})).onShiftTab((function(e){t.handleSFShiftTab(e.fieldType)})).onEncryption((function(e){t.handleEncryption(e)})).onValidation((function(e){t.handleValidation(e)})).onAutoComplete((function(e){t.processAutoComplete(e)}));this.state.securedFields[n]=i}function yf(e,t){if(Object.prototype.hasOwnProperty.call(this.state.securedFields,e)){var n={txVariant:this.state.type,fieldType:e,focus:!0,numKey:this.state.securedFields[e].numKey};Jh(n,this.getIframeContentWin(e),this.config.loadingContext)}}function Af(e){var t=this,n=Object.keys(e||{});n.length&&Object.keys(this.state.securedFields).forEach((function(r){var i={txVariant:t.state.type,fieldType:r,numKey:t.state.securedFields[r].numKey};n.forEach((function(t){i[t]=e[t]})),Jh(i,t.getIframeContentWin(r),t.config.loadingContext)}))}function bf(){var e=this;this.postMessageToAllIframes({destroy:!0}),Object.keys(this.state.securedFields).forEach((function(t){var n=e.state.securedFields[t];n&&n.destroy(),e.state.securedFields[t]=null})),this.destroyTouchendListener(),this.state.securedFields={}}function wf(e){var t=this;if("cc-name"===e.name){var n=Xc({},e);delete n.numKey;var r=n;this.callbacks.onAutoComplete(r)}if("cc-exp"===e.name){var i=e.value.replace(/[^0-9]/gi,"/").split("/");if(2!==i.length)return;1===i[0].length&&(i[0]="0"+i[0]);var o=i[0],a=i[1].substr(2),s=o+"/"+a;if(Object.prototype.hasOwnProperty.call(this.state.securedFields,"encryptedExpiryDate")){var l={txVariant:this.state.type,fieldType:"encryptedExpiryDate",autoComplete:s,numKey:this.state.securedFields.encryptedExpiryDate.numKey};return void Jh(l,this.getIframeContentWin("encryptedExpiryDate"),this.config.loadingContext)}Object.prototype.hasOwnProperty.call(this.state.securedFields,"encryptedExpiryMonth")&&(l={txVariant:this.state.type,fieldType:"encryptedExpiryMonth",autoComplete:o,numKey:this.state.securedFields.encryptedExpiryMonth.numKey},Jh(l,this.getIframeContentWin("encryptedExpiryMonth"),this.config.loadingContext)),Object.prototype.hasOwnProperty.call(this.state.securedFields,"encryptedExpiryYear")&&setTimeout((function(){var e={txVariant:t.state.type,fieldType:"encryptedExpiryYear",autoComplete:a,numKey:t.state.securedFields.encryptedExpiryYear.numKey};Jh(e,t.getIframeContentWin("encryptedExpiryYear"),t.config.loadingContext)}),0)}}function xf(e){var t=Xc({},e);delete t.numKey,t.rootNode=this.props.rootNode,t.type=this.state.type;var n=t.fieldType;t.focus?this.state.currentFocusObject!==n&&(this.state.currentFocusObject=n,this.state.registerFieldForIos||this.handleAdditionalFields()):this.state.currentFocusObject===n&&(this.state.currentFocusObject=null);var r=t;r.currentFocusObject=this.state.currentFocusObject,this.callbacks.onFocus(r)}function Cf(e){if(this.state.iframeConfigCount+=1,this.state.isConfigured){var t={additionalIframeConfigured:!0,fieldType:e.fieldType,type:this.state.type};this.callbacks.onAdditionalSFConfig(t)}else if(this.state.iframeConfigCount===this.state.originalNumIframes)return this.isConfigured(),!0;return!1}function Sf(){var e;this.state.isConfigured=!0;var t={iframesConfigured:!0,type:this.state.type,rootNode:this.props.rootNode};if(this.callbacks.onConfigSuccess(t),1===this.state.numIframes&&this.config.isCreditCardType){if("card"===this.state.type)return void Gh("ERROR: Payment method with a single secured field - but 'type' has not been set to a specific card brand");var n=uf(this.state.type);n&&"required"!==(null!==(e=n.cvcPolicy)&&void 0!==e?e:"required")&&this.assessFormValidity()}}function kf(){var e=function(e){for(var t=Object.keys(e),n=0,r=t.length;n<r;n+=1)if(!e[t[n]].isValid)return!1;return!0}(this.state.securedFields),t=e!==this.state.allValid;if(this.state.allValid=e,e||t){var n={allValid:e,type:this.state.type,rootNode:this.props.rootNode};this.callbacks.onAllValid(n)}}function Ef(e){var t=e.binValue,n=e.encryptedBin,r=e.uuid,i={binValue:t,type:this.state.type};n&&(i.encryptedBin=n,i.uuid=r),this.callbacks.onBinValue(i)}function If(e){if(Object.prototype.hasOwnProperty.call(this.state.securedFields,"encryptedCardNumber")){var t=Xc(Xc({txVariant:this.state.type},e),{fieldType:"encryptedCardNumber",numKey:this.state.securedFields.encryptedCardNumber.numKey});Jh(t,this.getIframeContentWin("encryptedCardNumber"),this.config.loadingContext)}}function _f(e){var t,n="card"===this.state.type;if(!e||!Object.keys(e).length)return n&&this.sendBrandToCardSF({brand:"reset"}),void("card"===this.state.type&&Object.prototype.hasOwnProperty.call(this.state.securedFields,"encryptedExpiryDate")&&(this.state.securedFields.encryptedExpiryDate.datePolicy="required"));var r=e.supportedBrands[0],i=r.brand,o=!0===r.showExpiryDate?"required":"hidden",a={brand:i,cvcPolicy:r.cvcPolicy,datePolicy:o,cvcText:"Security code",showSocialSecurityNumber:null!==(t=r.showSocialSecurityNumber)&&void 0!==t&&t,fieldType:"encryptedCardNumber"};this.processBrand(a),n&&this.sendBrandToCardSF({brand:i,enableLuhnCheck:!1!==e.supportedBrands[0].enableLuhnCheck}),Object.prototype.hasOwnProperty.call(this.state.securedFields,"encryptedSecurityCode")&&(this.state.securedFields.encryptedSecurityCode.cvcPolicy=r.cvcPolicy),Object.prototype.hasOwnProperty.call(this.state.securedFields,"encryptedExpiryDate")&&(this.state.securedFields.encryptedExpiryDate.datePolicy=o),this.assessFormValidity()}/(android)/i.test(navigator.userAgent);var Pf=function(){var e=navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);if(e.indexOf("Trident/")>0){var n=e.indexOf("rv:");return parseInt(e.substring(n+3,e.indexOf(".",n)),10)}var r=e.indexOf("Edge/");return r>0&&parseInt(e.substring(r+5,e.indexOf(".",r)),10)}(),Of=/iphone|ipod|ipad/i.test(navigator.userAgent),Tf=/(firefox)/i.test(navigator.userAgent),Df=(/(safari)/i.test(navigator.userAgent)&&/(chrome)/i.test(navigator.userAgent),{touchendListener:function(e){var t,n=e.target;if(n instanceof HTMLInputElement||HTMLTextAreaElement&&n instanceof HTMLTextAreaElement){var r=n.value,i="selectionStart"in(t=n)?t.selectionStart:0,o=!1;i===r.length&&(i-=1,o=!0),n.value=r,n.setSelectionRange&&(n.focus(),n.setSelectionRange(i,i),o&&(i+=1,setTimeout((function(){n.setSelectionRange(i,i)}),0)))}else if(this.config.keypadFix){var a=this.props.rootNode,s=document.createElement("input");s.style.width="1px",s.style.height="1px",s.style.opacity="0",s.style.fontSize="18px",a.appendChild(s),s.focus(),a.removeChild(s)}this.destroyTouchendListener(),this.state.registerFieldForIos=!1,this.postMessageToAllIframes({fieldType:"additionalField",click:!0})},handleAdditionalFields:function(){if(Of){var e=tf(document,"body");e.style.cursor="pointer",rf(e,"touchend",this.touchendListener),this.state.registerFieldForIos=!0}},destroyTouchendListener:function(){if(Of){var e=tf(document,"body");e.style.cursor="auto",of(e,"touchend",this.touchendListener)}}}),jf=function(e,t){return function(e,t){void 0===t&&(t=!0);var n=Array.prototype.slice.call(ef(document,"*[data-cse], a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), object, embed, *[tabindex], *[contenteditable]")),r=[];n.forEach((function(e){var t=e.getAttribute("tabindex"),n=!t||parseInt(t,10)>=0,i=e.getBoundingClientRect(),o=i.width>0&&i.height>0;n&&o&&r.push(e)}));var i=function(e,t){for(var n=0;n<e.length;n+=1)if(t(e[n]))return n;return-1}(r,(function(t){return t===e||e.contains(t)}));return r[i+(t?-1:1)]}(tf(t,"[data-cse="+e+"]"))},Bf=function(e){var t;switch(this.state.type){case"ach":t=function(e){var t;return"encryptedBankLocationId"===e&&(t="encryptedBankAccountNumber"),{fieldToFocus:t,additionalField:void 0}}(e);break;case"giftcard":t=function(e,t){var n,r;switch(e){case"encryptedCardNumber":n=jf("encryptedCardNumber",t);break;case"encryptedSecurityCode":r="encryptedCardNumber"}return{fieldToFocus:r,additionalField:n}}(e,this.props.rootNode);break;default:t=this.state.isKCP?function(e,t,n){var r,i;switch(e){case"encryptedCardNumber":r=jf("encryptedCardNumber",t);break;case"encryptedExpiryDate":case"encryptedExpiryMonth":i="encryptedCardNumber";break;case"encryptedExpiryYear":i="encryptedExpiryMonth";break;case"encryptedSecurityCode":i=n?"encryptedExpiryYear":"encryptedExpiryDate";break;case"encryptedPassword":case"encryptedPin":r=jf(e,t)}return{fieldToFocus:i,additionalField:r}}(e,this.props.rootNode,this.state.hasSeparateDateFields):function(e,t,n,r){var i,o;switch(e){case"encryptedCardNumber":i=jf("encryptedCardNumber",t);break;case"encryptedExpiryDate":case"encryptedExpiryMonth":o="encryptedCardNumber";break;case"encryptedExpiryYear":o="encryptedExpiryMonth";break;case"encryptedSecurityCode":1===r?i=jf("encryptedSecurityCode",t):o=n?"encryptedExpiryYear":"encryptedExpiryDate"}return{fieldToFocus:o,additionalField:i}}(e,this.props.rootNode,this.state.hasSeparateDateFields,this.state.numIframes)}var n,r=t.fieldToFocus,i=t.additionalField;r?this.setFocusOnFrame(r,!1):i&&(n=i)&&(n.focus(),n.blur(),n.focus())},Nf=function(e){(Tf||Pf&&Pf<=11)&&this.handleShiftTab(e)},Mf=function(e){void 0===e&&(e="You cannot use secured fields"),Hh(e+" - they are not yet configured. Use the 'onConfigSuccess' callback to know when this has happened.")},Rf=function(e){function t(t){var n=e.call(this,t)||this;return n.state={type:n.props.type,brand:"card"!==n.props.type?{brand:n.props.type,cvcPolicy:"required"}:{brand:null,cvcPolicy:"required"},allValid:void 0,numIframes:0,originalNumIframes:0,iframeCount:0,iframeConfigCount:0,isConfigured:!1,hasSeparateDateFields:!1,currentFocusObject:null,registerFieldForIos:!1,securedFields:{},isKCP:!1},n.configHandler=Wh,n.callbacksHandler=Kh,n.handleIframeConfigFeedback=Cf,n.isConfigured=Sf,n.assessFormValidity=kf,n.processBrand=Zh,n.handleValidation=sf,n.handleEncryption=lf,n.createSecuredFields=ff,n.createNonCardSecuredFields=mf,n.createCardSecuredFields=gf,n.setupSecuredField=vf,n.postMessageToAllIframes=Af,n.setFocusOnFrame=yf,n.handleFocus=xf,n.handleAdditionalFields=Df.handleAdditionalFields,n.touchendListener=Df.touchendListener.bind(n),n.destroyTouchendListener=Df.destroyTouchendListener,n.handleSFShiftTab=Nf,n.handleShiftTab=Bf,n.destroySecuredFields=bf,n.processAutoComplete=wf,n.handleBinValue=Ef,n.brandsFromBinLookup=_f,n.sendBrandToCardSF=If,n.init(),n}return Jc(t,e),t.prototype.init=function(){this.configHandler(),this.callbacksHandler(this.props.callbacks);var e=this.createSecuredFields();this.state.numIframes=this.state.originalNumIframes=e,this.state.isKCP=!!this.props.isKCP},t.prototype.createReturnObject=function(){var e=this;return{updateStyles:function(t){e.state.isConfigured?e.postMessageToAllIframes({styleObject:t}):Hh("You cannot update the secured fields styling - they are not yet configured. Use the 'onConfigSuccess' callback to know when this has happened.")},setFocusOnFrame:function(t){e.state.isConfigured?e.setFocusOnFrame(t):Mf("You cannot set focus on any secured field")},isValidated:function(t,n){if(e.state.isConfigured){if(Object.prototype.hasOwnProperty.call(e.state.securedFields,t)){e.state.securedFields[t].hasError=!0,""===e.state.securedFields[t].errorType&&(e.state.securedFields[t].errorType="isValidated");var r={txVariant:e.state.type,fieldType:t,externalValidation:!0,code:n,numKey:e.state.securedFields[t].numKey};Jh(r,e.getIframeContentWin(t),e.config.loadingContext)}}else Mf("You cannot set validated on any secured field")},hasUnsupportedCard:function(t,n){if(e.state.isConfigured){if(Object.prototype.hasOwnProperty.call(e.state.securedFields,t)){e.state.securedFields[t].hasError=!!n,e.state.securedFields[t].errorType=n;var r={txVariant:e.state.type,fieldType:t,unsupportedCard:!!n,code:n,numKey:e.state.securedFields[t].numKey};Jh(r,e.getIframeContentWin(t),e.config.loadingContext)}}else Mf("You cannot set hasUnsupportedCard on any secured field")},destroy:function(){e.state.isConfigured?e.destroySecuredFields():Mf("You cannot destroy secured fields")},brandsFromBinLookup:function(t){if(!e.config.isCreditCardType)return null;e.state.isConfigured?e.brandsFromBinLookup(t):Mf("You cannot set pass brands to secured fields")},addSecuredField:function(t){var n=tf(e.props.rootNode,'[data-cse="'+t+'"]');n&&(e.state.numIframes+=1,e.setupSecuredField(n))},removeSecuredField:function(t){if(e.state.securedFields[t]){e.state.securedFields[t].destroy(),delete e.state.securedFields[t],e.state.numIframes-=1;var n={additionalIframeRemoved:!0,fieldType:t,type:e.state.type};e.callbacks.onAdditionalSFRemoved(n)}},setKCPStatus:function(t){e.state.isKCP=t}}},t.prototype.getIframeContentWin=function(e){var t;return(null===(t=this.state.securedFields[e])||void 0===t?void 0:t.iframeContentWindow)||null},t}((function(e){this.props=e,this.state={},this.config={},this.callbacks={}})),Lf=function(e){if(!e)throw new Error("No securedFields configuration object defined");var t=Xc({},e),n=function(e){return void 0===e&&(e="card"),"card"===e||"scheme"===e}(t.type);if(t.type=n?"card":t.type,!Object.prototype.hasOwnProperty.call(t,"rootNode"))return Gh('ERROR: SecuredFields configuration object is missing a "rootNode" property'),null;if(function(e){return!Qh(e)||!(!("number"==typeof(t=e)||Uh(t)&&"[object Number]"===Lh.call(t))||0!==e&&!Number.isNaN(e))||!(!Fh(e)&&!function(e){return"string"==typeof e||Uh(e)&&"[object String]"===Lh.call(e)}(e)||0!==e.length)||!(!Uh(e)||0!==Object.keys(e).length);var t}(t.clientKey))return Hh('WARNING: AdyenCheckout configuration object is missing a "clientKey" property.'),null;var r=function(e){var t;return"object"==typeof e&&(t=e),"string"!=typeof e||(t=tf(document,e))?t:null}(t.rootNode);return r?(t.rootNode=r,new Rf(t).createReturnObject()):(window.console&&window.console.error&&window.console.error("ERROR: SecuredFields cannot find a valid rootNode element for",t.type),null)},Ff={handleFocus:function(e){"encryptedSecurityCode"===e.fieldType&&(this.numCharsInCVC=e.numChars),this.props.onFocus(e)},handleOnAllValid:function(e){var t=this;return!this.state.hasUnsupportedCard&&(this.setState({isSfpValid:e.allValid},(function(){t.props.onChange(t.state),t.props.onAllValid(e)})),!0)},handleOnAutoComplete:function(e){var t=this;this.setState({autoCompleteName:e.value},(function(){t.props.onChange(t.state),t.setState({autoCompleteName:null})})),this.props.onAutoComplete(e)},handleOnFieldValid:function(e){var t=this;return(!this.state.hasUnsupportedCard||"encryptedCardNumber"!==e.fieldType)&&(this.setState((function(t){var n,r,i,o;return{data:Xc(Xc({},t.data),(n={},n[e.encryptedFieldName]=e.blob,n)),valid:Xc(Xc({},t.valid),(r={},r[e.encryptedFieldName]=e.valid,r)),errors:Xc(Xc({},t.errors),(i={},i[e.fieldType]=null!==(o=t.errors[e.fieldType])&&void 0!==o&&o,i))}}),(function(){t.props.onChange(t.state),t.props.onFieldValid(e)})),!0)},handleOnLoad:function(e){var t=this;this.props.onLoad(e),this.originKeyErrorTimeout=setTimeout((function(){"ready"!==t.state.status&&(t.setState({status:"originKeyError"}),t.props.onError({error:"originKeyError",fieldType:"defaultError"}))}),this.originKeyTimeoutMS)},handleOnConfigSuccess:function(e){var t=this;clearTimeout(this.originKeyErrorTimeout),this.setState({status:"ready"},(function(){t.props.onConfigSuccess(e)}))},handleOnBrand:function(e){var t=this;this.setState((function(n){var r,i,o=("optional"!==e.cvcPolicy&&"hidden"!==e.cvcPolicy||0!==t.numCharsInCVC)&&n.errors.encryptedSecurityCode;return{brand:e.brand,cvcPolicy:null!==(i=e.cvcPolicy)&&void 0!==i?i:"required",showSocialSecurityNumber:e.showSocialSecurityNumber,errors:Xc(Xc({},n.errors),zh(o)&&(r={},r.encryptedSecurityCode=o,r)),hideDateForBrand:"hidden"===e.datePolicy}}),(function(){var n,r;t.props.onChange(t.state);var i=null!==(r=null===(n=t.props.brandsConfiguration[e.brand])||void 0===n?void 0:n.icon)&&void 0!==r?r:Bh(e.brand,t.props.loadingContext);t.props.onBrand(Xc(Xc({},e),{brandImageUrl:i}))}))},handleOnError:function(e,t){var n=this;void 0===t&&(t=null);var r=e.error;this.setState((function(n){var i,o,a;return Xc(Xc(Xc({errors:Xc(Xc({},n.errors),(i={},i[e.fieldType]=r||!1,i)),hasUnsupportedCard:null!==t&&t},t&&{data:Xc(Xc({},n.data),(o={},o.encryptedCardNumber=void 0,o))}),t&&{valid:Xc(Xc({},n.valid),(a={},a.encryptedCardNumber=!1,a))}),t&&{isSfpValid:!1})}),(function(){n.props.onChange(n.state)})),e.errorI18n=this.props.i18n.get(r);var i=pf(r);return e.errorText=""!==i?i:"error was cleared",this.props.onError(e),!0},handleOnNoDataRequired:function(){var e=this;this.setState({status:"ready"},(function(){return e.props.onChange({isSfpValid:!0})}))}},zf={type:"card",keypadFix:!0,rootNode:null,loadingContext:null,groupTypes:[],allowedDOMAccess:!1,showWarnings:!1,autoFocus:!0,trimTrailingSeparator:!0,onChange:function(){},onLoad:function(){},onConfigSuccess:function(){},onAllValid:function(){},onFieldValid:function(){},onBrand:function(){},onError:function(){},onBinValue:function(){},onFocus:function(){},onAutoComplete:function(){},placeholders:{},styles:{}},Qf=function(e){function t(t){var n=e.call(this,t)||this;n.setRootNode=function(e){n.rootNode=e};var r={status:"loading",brand:t.type,errors:{},valid:{},data:{},cvcPolicy:"required",isSfpValid:!1,hasKoreanFields:n.props.hasKoreanFields};return n.state=r,n.originKeyErrorTimeout=null,n.originKeyTimeoutMS=15e3,n.numCharsInCVC=0,n.handleOnLoad=Ff.handleOnLoad.bind(n),n.handleOnConfigSuccess=Ff.handleOnConfigSuccess.bind(n),n.handleOnFieldValid=Ff.handleOnFieldValid.bind(n),n.handleOnAllValid=Ff.handleOnAllValid.bind(n),n.handleOnBrand=Ff.handleOnBrand.bind(n),n.handleFocus=Ff.handleFocus.bind(n),n.handleOnError=Ff.handleOnError.bind(n),n.handleOnNoDataRequired=Ff.handleOnNoDataRequired.bind(n),n.handleOnAutoComplete=Ff.handleOnAutoComplete.bind(n),n.processBinLookupResponse=n.processBinLookupResponse.bind(n),n.setFocusOn=n.setFocusOn.bind(n),n.updateStyles=n.updateStyles.bind(n),n.handleUnsupportedCard=n.handleUnsupportedCard.bind(n),n.showValidation=n.showValidation.bind(n),n.destroy=n.destroy.bind(n),n}return Jc(t,e),t.prototype.componentDidMount=function(){this.props.rootNode&&this.setRootNode(this.props.rootNode);var e,t=(e=this.rootNode)?Array.prototype.slice.call(e.querySelectorAll('[data-cse*="encrypted"]')).map((function(e){return e.getAttribute("data-cse")})):[],n=t.reduce(jh,{});this.setState({valid:n}),this.numDateFields=t.filter((function(e){return e.match(/Expiry/)})).length,t.length?(this.destroy(),this.initializeCSF(this.rootNode)):this.handleOnNoDataRequired()},t.prototype.componentDidUpdate=function(){this.checkForKCPFields()},t.prototype.componentWillUnmount=function(){this.csf=null},t.prototype.initializeCSF=function(e){var t=this.props.loadingContext,n={rootNode:e,type:this.props.type,clientKey:this.props.clientKey,cardGroupTypes:this.props.groupTypes,allowedDOMAccess:this.props.allowedDOMAccess,autoFocus:this.props.autoFocus,trimTrailingSeparator:this.props.trimTrailingSeparator,loadingContext:t,keypadFix:this.props.keypadFix,showWarnings:this.props.showWarnings,iframeUIConfig:{sfStyles:this.props.styles},i18n:this.props.i18n,callbacks:{onLoad:this.handleOnLoad,onConfigSuccess:this.handleOnConfigSuccess,onFieldValid:this.handleOnFieldValid,onAllValid:this.handleOnAllValid,onBrand:this.handleOnBrand,onError:this.handleOnError,onFocus:this.handleFocus,onBinValue:this.props.onBinValue,onAutoComplete:this.handleOnAutoComplete,onAdditionalSFConfig:this.props.onAdditionalSFConfig,onAdditionalSFRemoved:this.props.onAdditionalSFRemoved},isKCP:this.state.hasKoreanFields,legacyInputMode:this.props.legacyInputMode,minimumExpiryDate:this.props.minimumExpiryDate,implementationType:this.props.implementationType||"components"};this.csf=Lf(n)},t.prototype.checkForKCPFields=function(){var e=this,t=!1;this.props.koreanAuthenticationRequired&&(t=this.issuingCountryCode?"kr"===this.issuingCountryCode:"kr"===this.props.countryCode),this.state.hasKoreanFields&&!t&&(this.setState((function(e){var t,n,r;return{data:Xc(Xc({},e.data),(t={},t.encryptedPassword=void 0,t)),valid:Xc(Xc({},e.valid),(n={},n.encryptedPassword=!1,n)),errors:Xc(Xc({},e.errors),(r={},r.encryptedPassword=!1,r)),hasKoreanFields:!1}}),(function(){e.props.onChange(e.state)})),this.csf.removeSecuredField("encryptedPassword"),this.csf.setKCPStatus(!1)),!this.state.hasKoreanFields&&t&&(this.setState((function(e){var t;return{valid:Xc(Xc({},e.valid),(t={},t.encryptedPassword=!1,t)),hasKoreanFields:!0,isSfpValid:!1}}),(function(){e.props.onChange(e.state)})),this.csf.addSecuredField("encryptedPassword"),this.csf.setKCPStatus(!0))},t.prototype.getChildContext=function(){return{i18n:this.props.i18n}},t.prototype.handleUnsupportedCard=function(e){var t=!!e.error;return e.rootNode=this.rootNode,this.handleOnError(e,t),this.csf&&this.csf.hasUnsupportedCard("encryptedCardNumber",e.error),t},t.prototype.setFocusOn=function(e){this.csf&&this.csf.setFocusOnFrame(e)},t.prototype.updateStyles=function(e){this.csf&&this.csf.updateStyles(e)},t.prototype.destroy=function(){this.csf&&this.csf.destroy()},t.prototype.showValidation=function(){var e=this,t=this.numDateFields,n=this.state;Object.keys(n.valid).reduce(function(e,t){return function(n,r){var i=!0!==t.valid[r]?function(e,t){return 1!==t||"encryptedExpiryMonth"!==e&&"encryptedExpiryYear"!==e?e:"encryptedExpiryDate"}(r,e):null;return(i=function(e,t){var n="encryptedSecurityCode"===e,r=!t.errors.encryptedSecurityCode;return("optional"===t.cvcPolicy||"hidden"===t.cvcPolicy)&&r&&n?null:e}(i,t))&&!n.includes(i)&&n.push(i),n}}(t,n),[]).forEach((function(t){var r=function(e,t,n){return{rootNode:t,fieldType:e,error:hu(n,"errors."+e)||gd,type:"card"}}(t,e.rootNode,n);e.handleOnError(r,n.hasUnsupportedCard),e.csf&&e.csf.isValidated&&e.csf.isValidated(t,r.error)}))},t.prototype.mapErrorsToValidationRuleResult=function(){var e=this;return Object.keys(this.state.errors).reduce((function(t,n){return e.state.errors[n]?t[n]={isValid:!1,errorMessage:pf(e.state.errors[n])}:t[n]=null,t}),{})},t.prototype.processBinLookupResponse=function(e,t){var n,r=this;this.state.hasUnsupportedCard&&(this.setState((function(e){var t;return{errors:Xc(Xc({},e.errors),(t={},t.encryptedCardNumber=!1,t)),hasUnsupportedCard:!1}})),this.csf&&e)&&this.handleUnsupportedCard({type:"card",fieldType:"encryptedCardNumber",error:""}),this.issuingCountryCode=null===(n=null==e?void 0:e.issuingCountryCode)||void 0===n?void 0:n.toLowerCase(),(null==t?void 0:t.brand)&&this.setState(t,(function(){r.props.onChange(r.state)})),this.csf&&this.csf.brandsFromBinLookup(e)},t.prototype.render=function(e,t){return e.render({setRootNode:this.setRootNode,setFocusOn:this.setFocusOn},t)},t.defaultProps=zf,t}(C),Uf={base:{caretColor:"#0066FF"}},Vf={"card-input__wrapper":"CardInput-module_card-input__wrapper__2tAzu","card-input__icon":"CardInput-module_card-input__icon__2Iaf5","card-input__form":"CardInput-module_card-input__form__2Ij_n","card-input__spinner":"CardInput-module_card-input__spinner__1wHzq","card-input__spinner--active":"CardInput-module_card-input__spinner--active__1Dzoe","card-input__form--loading":"CardInput-module_card-input__form--loading__3zh3Y","adyen-checkout__input":"CardInput-module_adyen-checkout__input__3Jmld","adyen-checkout__card__cvc__input--hidden":"CardInput-module_adyen-checkout__card__cvc__input--hidden__1Z1lp","adyen-checkout__card__exp-date__input--hidden":"CardInput-module_adyen-checkout__card__exp-date__input--hidden__3850Y","adyen-checkout__card__exp-cvc__exp-date__input--hidden":"CardInput-module_adyen-checkout__card__exp-cvc__exp-date__input--hidden__3wxr3","revolving-plan-installments__disabled":"CardInput-module_revolving-plan-installments__disabled__2yP53"},Gf=function(e){var t,n,r=e.children,i=e.status,o=q()("adyen-checkout__loading-input__form","LoadingWrapper-module_loading-input__form__1jpVs",((t={})["LoadingWrapper-module_loading-input__form--loading__3LDWz"]="loading"===i,t));return b("div",{style:{position:"relative"}},b("div",{className:q()(((n={})["LoadingWrapper-module_loading-input__spinner__3eCyK"]=!0,n["LoadingWrapper-module_loading-input__spinner--active__3UDtX"]="loading"===i,n))},b(Cu,null)),b("div",{className:o},r))};function qf(e){var t=e.frontCVC,n=void 0!==t&&t;return b("div",{className:q()({"adyen-checkout__card__cvc__hint__wrapper":!0,"adyen-checkout__field__cvc--front-hint":!!n,"adyen-checkout__field__cvc--back-hint":!n})},b("svg",{className:"adyen-checkout__card__cvc__hint adyen-checkout__card__cvc__hint--front",width:"27",height:"18",viewBox:"0 0 27 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b("path",{d:"M0 3C0 1.34315 1.34315 0 3 0H24C25.6569 0 27 1.34315 27 3V15C27 16.6569 25.6569 18 24 18H3C1.34315 18 0 16.6569 0 15V3Z",fill:"#E6E9EB"}),b("rect",{x:"4",y:"12",width:"19",height:"2",fill:"#B9C4C9"}),b("rect",{x:"4",y:"4",width:"4",height:"4",rx:"1",fill:"white"}),b("rect",{className:"adyen-checkout__card__cvc__hint__location",x:"16.5",y:"4.5",width:"7",height:"5",rx:"2.5",stroke:"#D10244"})),b("svg",{className:"adyen-checkout__card__cvc__hint adyen-checkout__card__cvc__hint--back",width:"27",height:"18",viewBox:"0 0 27 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b("path",{d:"M27 4.00001V3.37501C27 2.4799 26.6444 1.62146 26.0115 0.988518C25.3786 0.355581 24.5201 0 23.625 0H3.375C2.47989 0 1.62145 0.355581 0.988514 0.988518C0.355579 1.62146 0 2.4799 0 3.37501V4.00001H27Z",fill:"#E6E9EB"}),b("path",{d:"M0 6.99994V14.6666C0 15.5507 0.355579 16.3985 0.988514 17.0237C1.62145 17.6488 2.47989 18 3.375 18H23.625C24.5201 18 25.3786 17.6488 26.0115 17.0237C26.6444 16.3985 27 15.5507 27 14.6666V6.99994H0Z",fill:"#E6E9EB"}),b("rect",{y:"4.00012",width:"27",height:"3.00001",fill:"#687282"}),b("path",{d:"M4 11C4 10.4477 4.44772 10 5 10H21C22.1046 10 23 10.8954 23 12C23 13.1046 22.1046 14 21 14H5C4.44771 14 4 13.5523 4 13V11Z",fill:"white"}),b("rect",{className:"adyen-checkout__card__cvc__hint__location",x:"16.5",y:"9.5",width:"7",height:"5",rx:"2.5",stroke:"#D10244"})))}function Hf(e){var t,n=((t={})["data-cse"]=e.encryptedFieldType,t["data-info"]=e["data-info"],t["data-uid"]=e.uniqueId,t.className=e.className,t);return b("span",Xc({},n),e.children)}function Wf(e){var t,n,r=e.label,i=e.onFocusField,o=void 0===i?function(){}:i,a=e.error,s=void 0===a?"":a,l=e.className,c=void 0===l?"":l,u=e.classNameModifiers,d=void 0===u?[]:u,p=e.focused,h=e.filled,f=e.isValid,m=e.frontCVC,g=void 0!==m&&m,v=e.cvcPolicy,y=void 0===v?"required":v,A=Hu().i18n,w=q()(c,((t={"adyen-checkout__field__cvc":!0})[Vf["adyen-checkout__card__cvc__input--hidden"]]="hidden"===y,t["adyen-checkout__field__cvc--optional"]="optional"===y,t)),x=q()(((n={"adyen-checkout__input":!0,"adyen-checkout__input--small":!0,"adyen-checkout__card__cvc__input":!0,"adyen-checkout__input--error":s,"adyen-checkout__input--focus":p,"adyen-checkout__input--valid":f})[Vf["adyen-checkout__input"]]=!0,n)),C="optional"!==y?r:A.get("creditCard.cvcField.title.optional");return b(vd,{label:C,focused:p,filled:h,classNameModifiers:tu(tu([],d),["securityCode"]),onFocusField:function(){return o("encryptedSecurityCode")},className:w,errorMessage:s&&A.get(s),isValid:f,dir:"ltr",name:"encryptedSecurityCode"},b(Hf,{encryptedFieldType:"encryptedSecurityCode",className:x}),b(qf,{frontCVC:g}))}function Yf(e){var t=e.brand,n=e.hasCVC,r=e.onFocusField,i=e.errors,o=e.valid,a=Zc(e,["brand","hasCVC","onFocusField","errors","valid"]),s=Hu().i18n;return b("div",{className:"adyen-checkout__card__form adyen-checkout__card__form--oneClick","aria-label":s.get("creditCard.storedCard.description.ariaLabel").replace("%@",a.lastFour)+" "+s.get("creditCard.expiryDateField.title")+" "+a.expiryMonth+"/"+a.expiryYear},b("div",{className:"adyen-checkout__card__exp-cvc adyen-checkout__field-wrapper"},b(vd,{label:s.get("creditCard.expiryDateField.title"),className:"adyen-checkout__field--50",classNameModifiers:["storedCard"],disabled:!0},b("div",{className:"adyen-checkout__input adyen-checkout__input--disabled adyen-checkout__card__exp-date__input--oneclick",dir:"ltr"},a.expiryMonth," / ",a.expiryYear)),n&&b(Wf,{cvcPolicy:a.cvcPolicy,error:i.encryptedSecurityCode,focused:"encryptedSecurityCode"===a.focusedElement,filled:!!o.encryptedSecurityCode||!!i.encryptedSecurityCode,isValid:!!o.encryptedSecurityCode,label:s.get("creditCard.cvcField.title"),onFocusField:r,className:"adyen-checkout__field--50",classNameModifiers:["storedCard"],frontCVC:"amex"===t})))}function Kf(e){var t,n,r=Hu().i18n,i=e.amount,o=e.brand,a=e.onChange,s=e.type,l=e.installmentOptions[o]||e.installmentOptions.card,c=Du((null==l?void 0:l.preselectedValue)||(null==l?void 0:l.values[0])),u=c[0],d=c[1],p=Du("onetime"),h=p[0],f=p[1],m=null===(t=null==l?void 0:l.plans)||void 0===t?void 0:t.includes("revolving"),g=function(e){var t=e.target.value;d(Number(t))},v=function(e){var t,n,o;return"amount"===s?(t="installmentOption",n={count:e,values:{times:e,partialValue:(o=e,r.amount(i.value/o,i.currency))}}):(t="installmentOptionMonths",n={count:e,values:{times:e}}),{id:e,name:i.value?r.get(t,n):""+e}};return Bu((function(){var e,t=(null===(e=null==l?void 0:l.values)||void 0===e?void 0:e.includes(u))?u:null==l?void 0:l.values[0];d(t)}),[o]),Bu((function(){var e=Xc(Xc({value:u},m&&"revolving"===h&&{plan:h,value:1}),m&&"onetime"===h&&{value:1});a(l?e:{value:null})}),[u,l,h]),l?0===i.value?null:b("div",{className:"adyen-checkout__installments"},m?b(ud,{classNameModifiers:["revolving-plan"],label:""},b(Ed,{items:[{id:"onetime",name:"installments.oneTime"},{id:"installments",name:"installments.installments"},{id:"revolving",name:"installments.revolving"}],i18n:r,onChange:function(e){var t=e.currentTarget.getAttribute("value");f(t)},value:h}),b(vd,{className:"installments"!==h?""+Vf["revolving-plan-installments__disabled"]:""+Vf["revolving-plan-installments"],classNameModifiers:["revolving-plan-installments"]},Nd("select",{filterable:!1,items:l.values.map(v),selected:u,onChange:g,name:"installments"}))):b(vd,{label:r.get("installments"),classNameModifiers:["installments"]},Nd("select",{filterable:!1,items:l.values.map(v),selected:u,onChange:g,name:"installments",readonly:1===(null===(n=null==l?void 0:l.values)||void 0===n?void 0:n.length)}))):null}Kf.defaultProps={brand:"",amount:{},onChange:function(){}};var Jf=function(e,t){return xu({type:"card"===e?"nocard":e||"nocard",extension:"svg",loadingContext:t})(e)};function Xf(e){var t,n,r=e.brand,i=e.brandsConfiguration,o=void 0===i?{}:i,a=Hu().loadingContext,s="card"===r?"nocard":r,l=null!==(n=null===(t=o[r])||void 0===t?void 0:t.icon)&&void 0!==n?n:Jf(s,a);return b("img",{className:Vf["card-input__icon"]+" adyen-checkout__card__cardNumber__brandIcon",onError:function(e){e.target.style.cssText="display: none"},alt:r,src:l})}var Zf=function(e){var t,n,r=e.brand,i=e.onClick,o=e.dataValue,a=e.notSelected,s=e.brandsConfiguration,l=void 0===s?{}:s,c=Hu().loadingContext,u="card"===r?"nocard":r,d=null!==(n=null===(t=l[r])||void 0===t?void 0:t.icon)&&void 0!==n?n:Jf(u,c);return b("img",{className:Vf["card-input__icon"]+" "+(a?"adyen-checkout__card__cardNumber__brandIcon--not-selected":"")+" adyen-checkout__card__cardNumber__brandIcon",onError:function(e){e.target.style.cssText="display: none"},alt:r,src:d,onClick:i,"data-value":o})};function $f(e){var t,n=Hu().i18n,r=e.error,i=void 0===r?"":r,o=e.isValid,a=void 0!==o&&o,s=e.onFocusField,l=void 0===s?function(){}:s,c=e.dualBrandingElements,u=e.dualBrandingChangeHandler,d=e.dualBrandingSelected;return b(vd,{label:e.label,focused:e.focused,filled:e.filled,classNameModifiers:["cardNumber"],onFocusField:function(){return l("encryptedCardNumber")},errorMessage:i&&n.get(i),isValid:a,dualBrandingElements:c,dir:"ltr",name:"encryptedCardNumber"},b(Hf,{encryptedFieldType:"encryptedCardNumber",className:q()((t={"adyen-checkout__input":!0,"adyen-checkout__input--large":!0,"adyen-checkout__card__cardNumber__input":!0},t[Vf["adyen-checkout__input"]]=!0,t["adyen-checkout__input--error"]=i,t["adyen-checkout__input--focus"]=e.focused,t["adyen-checkout__input--valid"]=a,t["adyen-checkout__card__cardNumber__input--noBrand"]=!e.showBrandIcon,t))},e.showBrandIcon&&!c&&b(Xf,{brandsConfiguration:e.brandsConfiguration,brand:e.brand})),c&&!i&&b("div",{className:q()(["adyen-checkout__card__dual-branding__buttons",{"adyen-checkout__card__dual-branding__buttons--active":a}])},c.map((function(t){return b(Zf,{key:t.id,brand:t.id,brandsConfiguration:e.brandsConfiguration,onClick:u,dataValue:t.id,notSelected:""!==d&&d!==t.id})}))))}function em(e){var t,n=e.label,r=e.focused,i=e.filled,o=e.onFocusField,a=e.className,s=void 0===a?"":a,l=e.error,c=void 0===l?"":l,u=e.isValid,d=void 0!==u&&u,p=e.hideDateForBrand,h=void 0!==p&&p,f=Hu().i18n,m=q()(s,((t={})[Vf["adyen-checkout__card__exp-date__input--hidden"]]=h,t));return b(vd,{label:n,classNameModifiers:["expiryDate"],className:m,focused:r,filled:i,onFocusField:function(){return o("encryptedExpiryDate")},errorMessage:c&&f.get(c),isValid:d,dir:"ltr",name:"encryptedExpiryDate"},b(Hf,{encryptedFieldType:"encryptedExpiryDate",className:q()("adyen-checkout__input","adyen-checkout__input--small","adyen-checkout__card__exp-date__input",[Vf["adyen-checkout__input"]],{"adyen-checkout__input--error":c,"adyen-checkout__input--focus":r,"adyen-checkout__input--valid":d})}))}function tm(e){var t,n=e.brand,r=e.brandsConfiguration,i=e.dualBrandingElements,o=e.dualBrandingChangeHandler,a=e.dualBrandingSelected,s=e.errors,l=e.focusedElement,c=e.hasCVC,u=e.cvcPolicy,d=e.hideDateForBrand,p=e.onFocusField,h=e.showBrandIcon,f=e.valid,m=Hu().i18n;return b("div",{className:"adyen-checkout__card__form"},b($f,{brand:n,brandsConfiguration:r,error:s.encryptedCardNumber,focused:"encryptedCardNumber"===l,isValid:!!f.encryptedCardNumber,label:m.get("creditCard.numberField.title"),onFocusField:p,filled:!!s.encryptedCardNumber||!!f.encryptedCardNumber,showBrandIcon:h,dualBrandingElements:i,dualBrandingChangeHandler:o,dualBrandingSelected:a}),b("div",{className:q()("adyen-checkout__card__exp-cvc adyen-checkout__field-wrapper",(t={},t[Vf["adyen-checkout__card__exp-cvc__exp-date__input--hidden"]]=d,t))},b(em,{error:s.encryptedExpiryDate||s.encryptedExpiryYear||s.encryptedExpiryMonth,focused:"encryptedExpiryDate"===l,isValid:!!f.encryptedExpiryMonth&&!!f.encryptedExpiryYear,filled:!!s.encryptedExpiryDate||!!f.encryptedExpiryYear,label:m.get("creditCard.expiryDateField.title"),onFocusField:p,className:"adyen-checkout__field--50",hideDateForBrand:d}),c&&b(Wf,{error:s.encryptedSecurityCode,focused:"encryptedSecurityCode"===l,cvcPolicy:u,isValid:!!f.encryptedSecurityCode,filled:!!s.encryptedSecurityCode||!!f.encryptedSecurityCode,label:m.get("creditCard.cvcField.title"),onFocusField:p,className:"adyen-checkout__field--50",frontCVC:"amex"===n})))}function nm(e){var t,n=Hu().i18n,r=Ru((function(){var t;return(null===(t=e.value)||void 0===t?void 0:t.length)>6?n.get("creditCard.taxNumber.labelAlt"):n.get("creditCard.taxNumber.label")}),[e.value]);return b("div",{className:"adyen-checkout__card__kcp-authentication"},b(vd,{label:r,filled:e.filled,classNameModifiers:["kcp-taxNumber"],errorMessage:e.error&&n.get("creditCard.taxNumber.invalid"),isValid:e.isValid,dir:"ltr",name:"kcpTaxNumberOrDOB"},Nd("tel",{className:"adyen-checkout__card__kcp-taxNumber__input "+Vf["adyen-checkout__input"],placeholder:n.get("creditCard.taxNumber.placeholder"),maxLength:10,minLength:6,autoComplete:!1,value:e.value,required:!0,onChange:e.onChange,onInput:e.onInput})),b(vd,{label:n.get("creditCard.encryptedPassword.label"),focused:"encryptedPassword"===e.focusedElement,filled:e.filled,classNameModifiers:["50","koreanAuthentication-encryptedPassword"],onFocusField:function(){return e.onFocusField("encryptedPassword")},errorMessage:e.encryptedPasswordState.errors&&n.get("creditCard.encryptedPassword.invalid"),isValid:e.encryptedPasswordState.valid,dir:"ltr",name:"encryptedPassword"},b(Hf,{encryptedFieldType:"encryptedPassword",className:q()((t={"adyen-checkout__input":!0,"adyen-checkout__input--large":!0},t[Vf["adyen-checkout__input"]]=!0,t["adyen-checkout__input--error"]=e.encryptedPasswordState.errors,t["adyen-checkout__input--valid"]=e.encryptedPasswordState.valid,t["adyen-checkout__input--focus"]="encryptedPassword"===e.focusedElement,t))})))}function rm(e){var t=e.onChange,n=e.onInput,r=e.valid,i=void 0!==r&&r,o=e.error,a=void 0===o?null:o,s=e.data,l=void 0===s?"":s,c=Hu().i18n;return b(vd,{label:""+c.get("boleto.socialSecurityNumber"),classNameModifiers:["socialSecurityNumber"],errorMessage:!!a,isValid:Boolean(i)},Nd("text",{name:"socialSecurityNumber",autocorrect:"off",spellcheck:!1,value:l,maxLength:18,onInput:n,onChange:t}))}function im(e){var t=e.storeDetails,n=void 0!==t&&t,r=Zc(e,["storeDetails"]),i=Hu().i18n,o=Du(n),a=o[0],s=o[1];return Bu((function(){r.onChange(a)}),[a]),b("div",{className:"adyen-checkout__store-details"},Nd("boolean",{onChange:function(e){s(e.target.checked)},label:i.get("storeDetails"),value:a,name:"storeDetails"}))}function om(e){return e.replace(/[^0-9]/g,"").trim()}function am(e){if(void 0===e&&(e=""),"string"!=typeof e)return"";var t=om(e);return t.length>11?function(e){return e.replace(/^(\d{2})(\d{3})(\d{3})?(\d{4})?(\d{1,2})?$/g,(function(e,t,n,r,i,o){return void 0===i&&(i=""),void 0===o&&(o=""),t+"."+n+"."+r+"/"+i+(o.length?"-"+o:"")}))}(t):function(e){return e.replace(/\W/gi,"").replace(/(\d{3})(?!$)/g,"$1.").replace(/(.{11}).(\d{1,2})$/g,"$1-$2")}(t)}function sm(e){return/(^\d{3}\.\d{3}\.\d{3}-\d{2}$)|(^\d{2}\.\d{3}\.\d{3}\/\d{4}-\d{2}$)/.test(e)}var lm={socialSecurityNumber:am},cm={socialSecurityNumber:[{modes:["blur"],validate:sm}],taxNumber:[{modes:["blur"],validate:function(e){return 6===(null==e?void 0:e.length)||10===(null==e?void 0:e.length)}}],holderName:[{modes:["blur"],validate:function(e){return(null==e?void 0:e.trim().length)>0}}],default:[{modes:["blur"],validate:function(e){return!!e&&"string"==typeof e&&e.trim().length>0}}]};function um(e,t,n){var r=t.sfp,i=n.dualBrandSelectElements,o=n.setDualBrandSelectElements,a=n.setSelectedBrandValue,s=n.issuingCountryCode,l=n.setIssuingCountryCode;return{processBinLookup:function(t,n){var i,s=(null==t?void 0:t.issuingCountryCode)?t.issuingCountryCode.toLowerCase():null;if(l(s),t&&Object.keys(t).length){if(null===(i=t.supportedBrands)||void 0===i?void 0:i.length){var c=t.supportedBrands;if(c.length>1){var u=(p=(d=c)[0],h=d[1],{dualBrandSelectElements:[{id:p.brand,brandObject:p},{id:h.brand,brandObject:h}],selectedBrandValue:"",leadBrand:p});o(u.dualBrandSelectElements),a(u.selectedBrandValue),r.current.processBinLookupResponse({issuingCountryCode:t.issuingCountryCode,supportedBrands:[u.leadBrand]})}else o([]),a(""),a(c[0].brand),r.current.processBinLookupResponse({issuingCountryCode:t.issuingCountryCode,supportedBrands:c})}var d,p,h}else{o([]),a("");var f=n&&"card"!==e.type?e.type:null;r.current.processBinLookupResponse(t,{brand:f,cvcPolicy:e.cvcPolicy})}},handleDualBrandSelection:function(e){var t=e;if(e instanceof Event){var n=e.target;t=n.getAttribute("data-value")||n.getAttribute("alt")}a(t);var o=i.reduce((function(e,n){return n.brandObject.brand===t&&e.push(n.brandObject),e}),[]);r.current.processBinLookupResponse({issuingCountryCode:s,supportedBrands:o})}}}function dm(e){var t=e.onChange,n=e.onInput,r=e.placeholder,i=e.value,o=e.required,a=e.error,s=void 0!==a&&a,l=e.isValid,c=Hu().i18n;return b(vd,{label:c.get("creditCard.holderName"),className:"adyen-checkout__card__holderName",errorMessage:s&&c.get("creditCard.holderName.invalid"),isValid:!!l,name:"holderName"},Nd("text",{className:"adyen-checkout__card__holderName__input "+Vf["adyen-checkout__input"],placeholder:r||c.get("creditCard.holderName.placeholder"),value:i,required:o,onChange:t,onInput:n}))}function pm(e){var t,n,r=this,i=Mu(null),o=Mu(null),a=Du("ready"),s=a[0],l=a[1],c=Du({}),u=c[0],d=c[1],p=Du(Xc({},e.holderNameRequired&&{holderName:!1})),h=p[0],f=p[1],m=Du(Xc({},e.hasHolderName&&{holderName:null!==(t=e.data.holderName)&&void 0!==t?t:""})),g=m[0],v=m[1],y=Du(""),A=y[0],w=y[1],x=Du(!1),C=x[0],S=x[1],k=Du(!1),E=k[0],I=k[1],_=Du("required"),P=_[0],O=_[1],T=Du(null),D=T[0],j=T[1],B=Du([]),N=B[0],M=B[1],R=Du(""),L=R[0],F=R[1],z=Du(!1),Q=z[0],U=z[1],V=Du(e.billingAddressRequired?e.data.billingAddress:null),G=V[0],q=V[1],H=Du(!1),W=H[0],Y=H[1],K=Du(""),J=K[0],X=K[1],Z=Du({value:null}),$=Z[0],ee=Z[1],te=Gd({schema:[],defaultData:e.data,formatters:lm,rules:cm}),ne=te.handleChangeFor,re=te.triggerValidation,ie=te.data,oe=te.valid,ae=te.errors,se=te.setSchema,le=te.setData,ce=te.setValid,ue=te.setErrors,de=!!Object.keys(e.installmentOptions).length,pe=null===(n=e.showInstallmentAmounts)||void 0===n||n,he="kr"===(null!=D?D:e.countryCode),fe=e.configuration.koreanAuthenticationRequired&&he,me=W&&"auto"===e.configuration.socialSecurityNumberMode||"show"===e.configuration.socialSecurityNumberMode,ge=function(e){U(e)},ve=function(e){ee(e)},ye=function(e){le("billingAddress",e.data),ce("billingAddress",e.isValid),ue("billingAddress",e.errors)},Ae=Ru((function(){return um(e,{sfp:i},{dualBrandSelectElements:N,setDualBrandSelectElements:M,setSelectedBrandValue:F,issuingCountryCode:D,setIssuingCountryCode:j})}),[N,D]);this.showValidation=function(){i.current.showValidation(),re(),(null==o?void 0:o.current)&&o.current.showValidation()},this.processBinLookupResponse=function(e,t){Ae.processBinLookup(e,t)},this.setStatus=l,Bu((function(){return r.setFocusOn=i.current.setFocusOn,r.updateStyles=i.current.updateStyles,r.handleUnsupportedCard=i.current.handleUnsupportedCard,function(){i.current.destroy()}}),[]),Bu((function(){var t=tu(tu(tu(tu([],e.hasHolderName?["holderName"]:[]),me?["socialSecurityNumber"]:[]),fe?["taxNumber"]:[]),e.billingAddressRequired?["billingAddress"]:[]);se(t)}),[e.hasHolderName,me,fe]),Bu((function(){var t;v(Xc(Xc({},g),{holderName:null!==(t=ie.holderName)&&void 0!==t?t:"",taxNumber:ie.taxNumber})),X(ie.socialSecurityNumber),e.billingAddressRequired&&q(Xc({},ie.billingAddress)),f(Xc(Xc({},h),{holderName:!e.holderNameRequired||oe.holderName,socialSecurityNumber:!!oe.socialSecurityNumber&&oe.socialSecurityNumber,taxNumber:!!oe.taxNumber&&oe.taxNumber,billingAddress:!!oe.billingAddress&&oe.billingAddress})),d(Xc(Xc({},u),{holderName:e.holderNameRequired&&ae.holderName?ae.holderName:null,socialSecurityNumber:me&&ae.socialSecurityNumber?ae.socialSecurityNumber:null,taxNumber:fe&&ae.taxNumber?ae.taxNumber:null,billingAddress:e.billingAddressRequired&&ae.billingAddress?ae.billingAddress:null}))}),[ie,oe,ae]),Bu((function(){var t=h.holderName,n=C,r=!e.billingAddressRequired||h.billingAddress,o=!fe||!!h.taxNumber&&!!h.encryptedPassword,a=!me||!!h.socialSecurityNumber,s=n&&t&&r&&o&&a,l=i.current.mapErrorsToValidationRuleResult();e.onChange({data:g,valid:h,errors:Xc(Xc({},u),l),isValid:s,billingAddress:G,selectedBrandValue:L,storePaymentMethod:Q,socialSecurityNumber:J,installments:$})}),[g,h,u,L,Q,$]);var be=b(dm,{required:e.holderNameRequired,placeholder:e.placeholders.holderName,value:ie.holderName,error:!!ae.holderName&&e.holderNameRequired,isValid:!!oe.holderName,onChange:ne("holderName","blur"),onInput:ne("holderName","input")}),we=function(t){return b(Kf,{amount:e.amount,brand:t,installmentOptions:e.installmentOptions,onChange:ve,type:pe?"amount":"months"})};return b(Qf,Xc({ref:i},e,{styles:Xc(Xc({},Uf),e.styles),koreanAuthenticationRequired:e.configuration.koreanAuthenticationRequired,hasKoreanFields:!(!e.configuration.koreanAuthenticationRequired||"kr"!==e.countryCode),onChange:function(t){if(t.autoCompleteName){if(!e.hasHolderName)return;var n=("blur",cm.holderName.reduce((function(e,t){return e.length||t.modes.includes("blur")&&e.push(t.validate),e}),[])[0])(t.autoCompleteName)?t.autoCompleteName:null;n&&(le("holderName",n),ce("holderName",!0),ue("holderName",null))}else{v(Xc(Xc({},g),t.data)),d(Xc(Xc({},u),t.errors)),f(Xc(Xc({},h),t.valid)),S(t.isSfpValid),O(t.cvcPolicy),Y(t.showSocialSecurityNumber),I(t.hideDateForBrand)}},onBrand:e.onBrand,onFocus:function(t){w(t.currentFocusObject),!0===t.focus?e.onFocus(t):e.onBlur(t)},type:e.brand,render:function(t,n){var i,a=t.setRootNode,l=t.setFocusOn;return b("div",{ref:a,className:"adyen-checkout__card-input "+Vf["card-input__wrapper"]+" adyen-checkout__card-input--"+(null!==(i=e.fundingSource)&&void 0!==i?i:"credit")},e.storedPaymentMethodId?b(Gf,{status:n.status},b(Yf,Xc({},e,{errors:n.errors,brand:n.brand,hasCVC:e.hasCVC,cvcPolicy:P,onFocusField:l,focusedElement:A,status:n.status,valid:n.valid})),de&&we(n.brand)):b(Gf,{status:n.status},e.hasHolderName&&e.positionHolderNameOnTop&&be,b(tm,Xc({},e,{brand:n.brand,brandsConfiguration:r.props.brandsConfiguration,focusedElement:A,onFocusField:l,hasCVC:e.hasCVC,cvcPolicy:P,hideDateForBrand:E,errors:n.errors,valid:n.valid,dualBrandingElements:N.length>0&&N,dualBrandingChangeHandler:Ae.handleDualBrandSelection,dualBrandingSelected:L})),e.hasHolderName&&!e.positionHolderNameOnTop&&be,fe&&b(nm,{onFocusField:l,focusedElement:A,encryptedPasswordState:{data:n.encryptedPassword,valid:!!n.valid&&n.valid.encryptedPassword,errors:!!n.errors&&n.errors.encryptedPassword},value:g.taxNumber,error:!!u.taxNumber,isValid:!!h.taxNumber,onChange:ne("taxNumber","blur"),onInput:ne("taxNumber","input")}),me&&b("div",{className:"adyen-checkout__card__socialSecurityNumber"},b(rm,{onChange:ne("socialSecurityNumber","blur"),onInput:ne("socialSecurityNumber","input"),error:null==u?void 0:u.socialSecurityNumber,valid:null==h?void 0:h.socialSecurityNumber,data:J})),e.enableStoreDetails&&b(im,{onChange:ge}),de&&we(n.brand),e.billingAddressRequired&&b(Wp,{label:"billingAddress",data:G,onChange:ye,allowedCountries:e.billingAddressAllowedCountries,requiredFields:e.billingAddressRequiredFields,ref:o})),e.showPayButton&&e.payButton({status:s,icon:xu({loadingContext:e.loadingContext,imageFolder:"components/"})("lock")}))}}))}pm.defaultProps={details:[],type:"card",hasHolderName:!1,holderNameRequired:!1,enableStoreDetails:!1,hideCVC:!1,hasCVC:!0,hasStoreDetails:!1,storedDetails:null,showBrandIcon:!0,positionHolderNameOnTop:!1,billingAddressRequired:!1,billingAddressRequiredFields:["street","houseNumberOrName","postalCode","city","stateOrProvince","country"],installmentOptions:{},configuration:{koreanAuthenticationRequired:!1,socialSecurityNumberMode:"auto"},onLoad:function(){},onConfigSuccess:function(){},onAllValid:function(){},onFieldValid:function(){},onBrand:function(){},onError:function(){},onBinValue:function(){},onBlur:function(){},onFocus:function(){},onChange:function(){},data:{billingAddress:{}},styles:{},placeholders:{}};var hm=function(e){return function(t){return t.brand===e}},fm=function(e){return e.brand.includes("plcc")||e.brand.includes("cbcc")},mm=function(e){var t=null;return function(n){!1!==e.props.doBinLookup?(n.encryptedBin&&e.props.clientKey?(t=n.uuid,Qp({loadingContext:e.props.loadingContext,path:"v2/bin/binLookup?token="+e.props.clientKey},{supportedBrands:e.props.brands||Th,encryptedBin:n.encryptedBin,requestId:n.uuid}).then((function(r){var i;if((null==r?void 0:r.requestId)===t)if(null===(i=r.brands)||void 0===i?void 0:i.length){var o=(2===r.brands.length?function(e,t){var n=e.map((function(e){return Xc({},e)})),r=n.some(hm("bcmc")),i=n.some(hm("maestro")),o=n.some(hm("visa")),a=n.some(hm("cartebancaire")),s=n.some(fm);return"bcmc"===t&&r&&"bcmc"!==n[0].brand&&n.reverse(),"bcmc"===t&&r&&i&&(n[1].cvcPolicy="hidden"),"card"===t&&o&&a&&"visa"!==n[0].brand&&n.reverse(),"card"===t&&s&&(n[0].brand.includes("plcc")||n[0].brand.includes("cbcc")||n.reverse()),n}(r.brands,e.props.type):r.brands).reduce((function(e,t){return e.detectedBrands.push(t.brand),!0===t.supported?(e.supportedBrands.push(t),e):e}),{supportedBrands:[],detectedBrands:[]});if(o.supportedBrands.length)return e.processBinLookupResponse(Xc({issuingCountryCode:r.issuingCountryCode,supportedBrands:o.supportedBrands},r.showSocialSecurityNumber?{showSocialSecurityNumber:r.showSocialSecurityNumber}:{})),void e.onBinLookup({type:n.type,detectedBrands:o.detectedBrands,supportedBrands:o.supportedBrands.map((function(e){return e.brand})),supportedBrandsRaw:o.supportedBrands,brands:e.props.brands||Th});if(o.detectedBrands.length){var a={type:"card",fieldType:"encryptedCardNumber",error:pf("Unsupported card entered"),detectedBrands:o.detectedBrands};return e.handleUnsupportedCard(a),void e.onBinLookup({type:n.type,detectedBrands:o.detectedBrands,supportedBrands:null,brands:e.props.brands||Th})}}else e.onBinLookup({type:n.type,detectedBrands:null,supportedBrands:null,brands:e.props.brands||Th}),e.processBinLookupResponse({},!0);else(null==r?void 0:r.requestId)||e.props.onError(r||{errorType:"binLookup",message:"unknownError"})}))):t&&(e.processBinLookupResponse(null,!0),t=null,e.handleUnsupportedCard({type:"card",fieldType:"encryptedCardNumber",error:""}),e.onBinLookup({isReset:!0})),e.props.onBinValue&&e.props.onBinValue(n)):e.props.onBinValue&&e.props.onBinValue(n)}},gm=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.onBrand=function(e){t.eventEmitter.emit("brand",Xc(Xc({},e),{brand:"card"===e.brand?null:e.brand})),t.props.onBrand&&t.props.onBrand(e)},t.onBinValue=mm(t),t}return Jc(t,e),t.prototype.formatProps=function(e){var t,n,r,i;return Xc(Xc(Xc(Xc({},e),{holderNameRequired:!!e.hasHolderName&&e.holderNameRequired,hasCVC:!(e.brand&&"bcmc"===e.brand||e.hideCVC),billingAddressRequired:!e.storedPaymentMethodId&&e.billingAddressRequired}),e.brands&&!e.groupTypes&&{groupTypes:e.brands}),{type:"scheme"===e.type?"card":e.type,countryCode:e.countryCode?e.countryCode.toLowerCase():null,configuration:Xc(Xc({},e.configuration),{socialSecurityNumberMode:null!==(n=null===(t=e.configuration)||void 0===t?void 0:t.socialSecurityNumberMode)&&void 0!==n?n:"auto"}),brandsConfiguration:e.brandsConfiguration||(null===(r=e.configuration)||void 0===r?void 0:r.brandsConfiguration)||{},icon:e.icon||(null===(i=e.configuration)||void 0===i?void 0:i.icon)})},t.prototype.formatData=function(){var e=this.state.selectedBrandValue||this.props.brand,n=this.props.enableStoreDetails&&void 0!==this.state.storePaymentMethod;return Xc(Xc(Xc(Xc(Xc({paymentMethod:Xc(Xc(Xc(Xc({type:t.type},this.state.data),this.props.storedPaymentMethodId&&{storedPaymentMethodId:this.props.storedPaymentMethodId}),e&&{brand:e}),this.props.fundingSource&&{fundingSource:this.props.fundingSource})},this.state.billingAddress&&{billingAddress:this.state.billingAddress}),this.state.socialSecurityNumber&&{socialSecurityNumber:this.state.socialSecurityNumber}),n&&{storePaymentMethod:Boolean(this.state.storePaymentMethod)}),this.state.installments&&this.state.installments.value&&{installments:this.state.installments}),{browserInfo:this.browserInfo})},t.prototype.updateStyles=function(e){var t;return(null===(t=this.componentRef)||void 0===t?void 0:t.updateStyles)&&this.componentRef.updateStyles(e),this},t.prototype.setFocusOn=function(e){var t;return(null===(t=this.componentRef)||void 0===t?void 0:t.setFocusOn)&&this.componentRef.setFocusOn(e),this},t.prototype.processBinLookupResponse=function(e,t){var n;return void 0===t&&(t=!1),(null===(n=this.componentRef)||void 0===n?void 0:n.processBinLookupResponse)&&this.componentRef.processBinLookupResponse(e,t),this},t.prototype.handleUnsupportedCard=function(e){var t;return(null===(t=this.componentRef)||void 0===t?void 0:t.handleUnsupportedCard)&&this.componentRef.handleUnsupportedCard(e),this},t.prototype.onBinLookup=function(e){if(!e.isReset){var t=Rh("supportedBrandsRaw").from(e);this.props.onBinLookup(t)}},Object.defineProperty(t.prototype,"isValid",{get:function(){return!!this.state.isValid},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"icon",{get:function(){var e;return null!==(e=this.props.icon)&&void 0!==e?e:xu({loadingContext:this.props.loadingContext})(this.brand)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"brands",{get:function(){var e=this.props,t=e.brands,n=e.loadingContext,r=e.brandsConfiguration;return t?t.map((function(e){var t,i;return{icon:null!==(i=null===(t=r[e])||void 0===t?void 0:t.icon)&&void 0!==i?i:xu({loadingContext:n})(e),name:e}})):[]},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"brand",{get:function(){return this.props.brand||this.props.type},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"displayName",{get:function(){return this.props.storedPaymentMethodId?"\u2022\u2022\u2022\u2022 "+this.props.lastFour:this.props.name||t.type},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"accessibleName",{get:function(){return(this.props.name||t.type)+(this.props.storedPaymentMethodId?" "+this.props.i18n.get("creditCard.storedCard.description.ariaLabel").replace("%@",this.props.lastFour):"")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"browserInfo",{get:function(){return rh()},enumerable:!1,configurable:!0}),t.prototype.render=function(){var e=this;return b(Xp,{i18n:this.props.i18n,loadingContext:this.props.loadingContext},b(pm,Xc({ref:function(t){e.componentRef=t}},this.props,this.state,{onChange:this.setState,onSubmit:this.submit,payButton:this.payButton,onBrand:this.onBrand,onBinValue:this.onBinValue,brand:this.brand})))},t.type="scheme",t.defaultProps={onBinLookup:function(){}},t}(Ju),vm=function(e){function t(t){var n=e.call(this,t)||this;return n.onBrand=function(e){n.props.onBrand&&n.props.onBrand(e)},n}return Jc(t,e),t.prototype.formatProps=function(t){return Xc(Xc({},e.prototype.formatProps.call(this,t)),{brands:["bcmc","maestro","visa"],type:"bcmc",cvcPolicy:"hidden"})},t}(gm);function ym(e){var t=e.description,n=void 0===t?"":t,r=e.name,i=void 0===r?"":r,o=e.logoUrl,a=void 0===o?"":o,s=e.url,l=void 0===s?"":s,c=e.backgroundUrl,u=void 0===c?"":c;return b("div",{className:"adyen-checkout__campaign-container"},b(_d,{className:"adyen-checkout__campaign-background-image",style:{backgroundImage:"linear-gradient(0, #000, #0003), url("+u+")"},backgroundUrl:u}),b("div",{className:"adyen-checkout__campaign-content"},a&&b("img",{src:a,className:"adyen-checkout__campaign-logo",alt:i}),i&&b("div",{className:"adyen-checkout__campaign-title"},i),n&&b("div",{className:"adyen-checkout__campaign-description"},n,l&&" \u203a")))}function Am(e){var t=e.url;return b("div",{className:"adyen-checkout__campaign"},!t&&b(ym,Xc({},e)),t&&b("a",{href:t,className:"adyen-checkout__campaign-link",target:"_blank",rel:"noopener noreferrer"},b(ym,Xc({},e))))}var bm=function(e){var t=e.options,n=void 0===t?[]:t,r=e.name,i=e.onChange;return b("div",{className:"adyen-checkout__button-group"},n.map((function(e,t){var n=e.label,o=e.selected,a=e.value,s=e.disabled;return b("label",{key:""+r+t,className:q()({"adyen-checkout__button":!0,"adyen-checkout__button--selected":o,"adyen-checkout__button--disabled":s})},b("input",{type:"radio",className:"adyen-checkout__button-group__input",value:a,checked:o,onChange:i,disabled:s}),b("span",{className:"adyen-checkout__button-text"},n))})))};function wm(e){var t=e.amounts,n=e.onCancel,r=e.onDonate,i=e.showCancelButton,o=void 0===i||i,a=Hu(),s=a.i18n,l=a.loadingContext,c=t.currency,u=Du("ready"),d=u[0],p=u[1],h=Du(!1),f=h[0],m=h[1],g=Du({currency:c,value:null}),v=g[0],y=g[1];this.setStatus=function(e){p(e)};var A=function(e,t){return s.amount(e,t,{minimumFractionDigits:0,maximumFractionDigits:0})};return Bu((function(){e.onChange({data:{amount:v},isValid:f})}),[v,f]),"error"===d?b("div",{className:"adyen-checkout__adyen-giving"},b(_d,{className:"adyen-checkout__status__icon adyen-checkout__status__icon--error",src:xu({loadingContext:l,imageFolder:"components/"})("error"),alt:s.get("error.message.unknown")}),b("div",{className:"adyen-checkout__status__text"},s.get("error.message.unknown"))):"success"===d?b("div",{className:"adyen-checkout__adyen-giving"},b(_d,{className:"adyen-checkout__status__icon adyen-checkout__status__icon--success",src:xu({loadingContext:l,imageFolder:"components/"})("heart"),alt:s.get("thanksForYourSupport")}),b("div",{className:"adyen-checkout__status__text"},s.get("thanksForYourSupport"))):b("div",{className:"adyen-checkout__adyen-giving"},b(Am,Xc({},e)),b("div",{className:"adyen-checkout__adyen-giving-actions"},b("div",{className:"adyen-checkout__amounts"},b(bm,{options:t.values.map((function(e){return{value:e,label:A(e,c),disabled:"loading"===d,selected:e===v.value}})),name:"amount",onChange:function(e){var t=e.target,n=parseInt(t.value,10);m(!0),y((function(e){return Xc(Xc({},e),{value:n})}))}})),b(Wu,{classNameModifiers:["donate"],onClick:function(){p("loading"),r({data:{amount:v}})},label:s.get("donateButton"),disabled:!v.value,status:d}),o&&b(Wu,{classNameModifiers:["ghost","decline"],onClick:function(){p("loading"),n({data:{amount:v},isValid:f})},disabled:"loading"===d,label:s.get("notNowButton")+" \u203a"})))}wm.defaultProps={onCancel:function(){},onChange:function(){},onDonate:function(){},amounts:{},showCancelButton:!0};var xm=function(e){function t(t){var n=e.call(this,t)||this;return n.handleRef=function(e){n.componentRef=e},n.donate=n.donate.bind(n),n}return Jc(t,e),Object.defineProperty(t.prototype,"data",{get:function(){return this.state.data},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isValid",{get:function(){return this.state.isValid},enumerable:!1,configurable:!0}),t.prototype.setState=function(e){this.state=Xc(Xc({},this.state),e)},t.prototype.donate=function(){var e=this.data,t=this.isValid;this.props.onDonate({data:e,isValid:t},this)},t.prototype.render=function(){return b(Xp,{i18n:this.props.i18n,loadingContext:this.props.loadingContext},b(wm,Xc({},this.props,{ref:this.handleRef,onChange:this.setState,onDonate:this.donate})))},t.type="donation",t.defaultProps={onCancel:function(){},onDonate:function(){}},t}(Ju),Cm=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Jc(t,e),t.prototype.componentDidMount=function(){var e=this;new Promise((function(t,n){return e.props.beforeRedirect(t,n,e.props.url)})).then((function(){e.postForm?e.postForm.submit():window.location.assign(e.props.url)})).catch((function(){}))},t.prototype.render=function(e){var t=this,n=e.url,r=e.method,i=e.data,o=void 0===i?{}:i;return"POST"===r?b("form",{method:"post",action:n,style:{display:"none"},ref:function(e){t.postForm=e}},Object.keys(o).map((function(e){return b("input",{type:"hidden",name:e,key:e,value:o[e]})}))):null},t.defaultProps={beforeRedirect:function(e){return e()},method:"GET",data:{}},t}(C);function Sm(e){var t=e.payButton,n=e.onSubmit,r=e.amount,i=void 0===r?null:r,o=e.name,a=Zc(e,["payButton","onSubmit","amount","name"]),s=Hu().i18n,l=Du("ready"),c=l[0],u=l[1];return this.setStatus=function(e){u(e)},b(x,null,t(Xc(Xc({},a),{status:c,classNameModifiers:["standalone"],label:i&&{}.hasOwnProperty.call(i,"value")&&0===i.value?s.get("preauthorizeWith")+" "+o:s.get("continueTo")+" "+o,onClick:n})))}var km=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Jc(t,e),t.prototype.formatProps=function(e){return Xc(Xc({},e),{showButton:!!e.showPayButton})},t.prototype.formatData=function(){return{paymentMethod:{type:this.props.type}}},Object.defineProperty(t.prototype,"isValid",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"icon",{get:function(){return xu({loadingContext:this.props.loadingContext})(this.props.type)},enumerable:!1,configurable:!0}),t.prototype.render=function(){var e=this;return this.props.url&&this.props.method?b(Cm,Xc({},this.props)):this.props.showButton?b(Xp,Xc({},this.props,{loadingContext:this.props.loadingContext}),b(Sm,Xc({},this.props,{onSubmit:this.submit,payButton:this.payButton,ref:function(t){e.componentRef=t}}))):null},t.type="redirect",t.defaultProps={type:t.type,showPayButton:!0},t}(Ju),Em=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Jc(t,e),t.prototype.formatProps=function(e){var t;return Xc(Xc({},e),{showPayButton:null!==(t=e.showButton)&&void 0!==t?t:e.showPayButton})},t.prototype.formatData=function(){return{paymentMethod:{type:t.type}}},Object.defineProperty(t.prototype,"displayName",{get:function(){return this.props.name||this.constructor.type},enumerable:!1,configurable:!0}),t.prototype.render=function(){var e=this;return this.props.showPayButton?b(Xp,{i18n:this.props.i18n,loadingContext:this.props.loadingContext},b(Sm,Xc({},this.props,{name:this.displayName,onSubmit:this.submit,payButton:this.payButton,ref:function(t){e.componentRef=t}}))):null},t.type="giropay",t}(km);function Im(e){var t=e.amount,n=e.countryCode,r=void 0===n?"US":n,i=e.totalPriceStatus,o=void 0===i?"FINAL":i,a=Zc(e,["amount","countryCode","totalPriceStatus"]),s=String(du(t.value,t.currency));return Xc({countryCode:r,currencyCode:t.currency,totalPrice:s,totalPriceStatus:o},a.transactionInfo)}function _m(e){var t=e.configuration,n=Zc(e,["configuration"]);return{apiVersion:2,apiVersionMinor:0,transactionInfo:Im(n),merchantInfo:Xc({merchantId:t.merchantId,merchantName:t.merchantName},t.merchantOrigin?{merchantOrigin:t.merchantOrigin}:{}),allowedPaymentMethods:[{type:"CARD",tokenizationSpecification:{type:"PAYMENT_GATEWAY",parameters:{gateway:"adyen",gatewayMerchantId:t.gatewayMerchantId}},parameters:{allowedAuthMethods:n.allowedAuthMethods,allowedCardNetworks:n.allowedCardNetworks,allowPrepaidCards:n.allowPrepaidCards,allowCreditCards:n.allowCreditCards,billingAddressRequired:n.billingAddressRequired,billingAddressParameters:n.billingAddressParameters}}],emailRequired:n.emailRequired,shippingAddressRequired:n.shippingAddressRequired,shippingAddressParameters:n.shippingAddressParameters,shippingOptionRequired:n.shippingOptionRequired,shippingOptionParameters:n.shippingOptionParameters,callbackIntents:n.callbackIntents}}var Pm=["en","ar","bg","ca","cs","da","de","el","es","et","fi","fr","hr","id","it","ja","ko","ms","nl","no","pl","pt","ru","sk","sl","sr","sv","th","tr","uk","zh"],Om=function(){function e(e){var t=function(e){switch(void 0===e&&(e="TEST"),e.toLowerCase()){case"production":case"live":return"PRODUCTION";default:return"TEST"}}(e.environment);this.paymentsClient=this.getGooglePaymentsClient({environment:t,paymentDataCallbacks:e.paymentDataCallbacks})}return e.prototype.getGooglePaymentsClient=function(e){var t;return $c(this,void 0,void 0,(function(){return eu(this,(function(n){switch(n.label){case 0:return(null===(t=window.google)||void 0===t?void 0:t.payments)?[3,2]:[4,new fh("https://pay.google.com/gp/p/js/pay.js").load()];case 1:n.sent(),n.label=2;case 2:return[2,new google.payments.api.PaymentsClient(e)]}}))}))},e.prototype.isReadyToPay=function(e){return this.paymentsClient?this.paymentsClient.then((function(t){return t.isReadyToPay(function(e){var t=e.allowedAuthMethods,n=e.allowedCardNetworks,r=e.existingPaymentMethodRequired;return{apiVersion:2,apiVersionMinor:0,allowedPaymentMethods:[{type:"CARD",parameters:{allowedAuthMethods:t,allowedCardNetworks:n},tokenizationSpecification:{type:"PAYMENT_GATEWAY",parameters:{}}}],existingPaymentMethodRequired:void 0!==r&&r}}(e))})):Promise.reject(new Error("Google Pay is not available"))},e.prototype.prefetchPaymentData=function(e){if(!this.paymentsClient)throw new Error("Google Pay is not available");var t=_m(e);this.paymentsClient.then((function(e){return e.prefetchPaymentData(t)}))},e.prototype.initiatePayment=function(e){if(!this.paymentsClient)throw new Error("Google Pay is not available");var t=_m(e);return this.paymentsClient.then((function(e){return e.loadPaymentData(t)}))},e}(),Tm=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.clicked=!1,t.handleClick=function(e){e.preventDefault(),e.stopPropagation(),t.clicked||(t.props.onClick(e),t.clicked=!0,setTimeout((function(){t.clicked=!1}),300))},t}return Jc(t,e),t.prototype.componentDidMount=function(){var e=this,t=this.props,n=t.buttonColor,r=t.buttonType,i=t.buttonLocale,o=t.buttonSizeMode;t.paymentsClient.then((function(t){return t.createButton({onClick:e.handleClick,buttonType:r,buttonColor:n,buttonLocale:i,buttonSizeMode:o})})).then((function(t){e.paywithgoogleWrapper.appendChild(t)}))},t.prototype.render=function(){var e=this;return b("span",{className:"adyen-checkout__paywithgoogle",ref:function(t){e.paywithgoogleWrapper=t}})},t.defaultProps={buttonColor:"default",buttonType:"long",buttonSizeMode:"static"},t}(C),Dm={environment:"TEST",existingPaymentMethodRequired:!1,buttonColor:"default",buttonType:"long",buttonSizeMode:void 0,showPayButton:!0,configuration:{gatewayMerchantId:"",merchantId:"",merchantName:""},amount:{value:0,currency:"USD"},countryCode:"US",totalPriceStatus:"FINAL",onError:function(){},onAuthorized:function(e){return e},onSubmit:function(){},onClick:function(e){return e()},allowedAuthMethods:["PAN_ONLY","CRYPTOGRAM_3DS"],allowedCardNetworks:["AMEX","DISCOVER","JCB","MASTERCARD","VISA"],allowCreditCards:!0,allowPrepaidCards:!0,billingAddressRequired:!1,billingAddressParameters:void 0,emailRequired:!1,shippingAddressRequired:!1,shippingAddressParameters:void 0,shippingOptionRequired:!1,shippingOptionParameters:void 0,paymentMethods:[]},jm=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.googlePay=new Om(t.props),t.loadPayment=function(){var e=t.props.onAuthorized,n=void 0===e?function(){}:e;return new Promise((function(e,n){return t.props.onClick(e,n)})).then((function(){return t.googlePay.initiatePayment(t.props)})).then((function(e){return t.setState({googlePayToken:e.paymentMethodData.tokenizationData.token,googlePayCardNetwork:e.paymentMethodData.info.cardNetwork}),n(e)})).catch((function(e){t.props.onError&&t.props.onError(e)}))},t.submit=function(){return t.loadPayment().then((function(){t.props.onSubmit&&t.isValid&&t.props.onSubmit({data:t.data,isValid:t.isValid},t.elementRef)}))},t.startPayment=function(){return t.loadPayment()},t.isAvailable=function(){return t.isReadyToPay().then((function(e){if(!e.result)throw new Error("Google Pay is not available");if(!1===e.paymentMethodPresent)throw new Error("Google Pay - No paymentMethodPresent");return!0})).catch((function(){return!1}))},t.isReadyToPay=function(){return t.googlePay.isReadyToPay(t.props)},t.prefetch=function(){return t.googlePay.prefetchPaymentData(t.props)},t}return Jc(t,e),t.prototype.formatProps=function(e){var t,n,r,i,o,a,s=(null===(t=e.brands)||void 0===t?void 0:t.length)?(o=e.brands,a={mc:"MASTERCARD",amex:"AMEX",visa:"VISA",interac:"INTERAC",discover:"DISCOVER"},o.reduce((function(e,t){return a[t]&&!e.includes(a[t])&&e.push(a[t]),e}),[])):e.allowedCardNetworks,l=null!==(n=e.buttonSizeMode)&&void 0!==n?n:e.isDropin?"fill":"static",c=function(e){void 0===e&&(e="");var t=e.toLowerCase().substring(0,2);return Pm.includes(t)?t:null}(null!==(r=e.buttonLocale)&&void 0!==r?r:null===(i=e.i18n)||void 0===i?void 0:i.locale);return Xc(Xc({},e),{showButton:!0===e.showPayButton,configuration:e.configuration,allowedCardNetworks:s,buttonSizeMode:l,buttonLocale:c})},t.prototype.formatData=function(){var e;return{paymentMethod:Xc({type:null!==(e=this.props.type)&&void 0!==e?e:t.type},this.state),browserInfo:this.browserInfo}},Object.defineProperty(t.prototype,"isValid",{get:function(){return!!this.state.googlePayToken},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"browserInfo",{get:function(){return rh()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"icon",{get:function(){var e;return null!==(e=this.props.icon)&&void 0!==e?e:xu({loadingContext:this.props.loadingContext})("googlepay")},enumerable:!1,configurable:!0}),t.prototype.render=function(){return this.props.showPayButton?b(Tm,{buttonColor:this.props.buttonColor,buttonType:this.props.buttonType,buttonSizeMode:this.props.buttonSizeMode,buttonLocale:this.props.buttonLocale,paymentsClient:this.googlePay.paymentsClient,onClick:this.submit}):null},t.type="paywithgoogle",t.defaultProps=Dm,t}(Ju),Bm=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Jc(t,e),t.type="entercash",t}(_h),Nm={telephoneNumber:[{validate:function(e){return!!e&&e.length<=11},errorMessage:"voucher.econtext.telephoneNumber.invalid",modes:["input","blur"]},{validate:function(e){return!!e&&Rd.test(e)&&(10===e.length||11===e.length)},errorMessage:"voucher.econtext.telephoneNumber.invalid",modes:["blur"]}]};function Mm(e){var t=Mu(null),n=Hu().i18n,r=Du("ready"),i=r[0],o=r[1];return this.setStatus=o,this.showValidation=function(){t.current&&t.current.showValidation()},b("div",{className:"adyen-checkout__econtext-input__field"},b(rp,{data:e.data,requiredFields:["firstName","lastName","telephoneNumber","shopperEmail"],onChange:e.onChange,namePrefix:"econtext",ref:t,validationRules:Nm}),e.showPayButton&&e.payButton({status:i,label:n.get("confirmPurchase")}))}function Rm(e){var t,n,r=(t=e,(n=document.createElement("textArea")).readOnly=!0,n.value=t,document.body.appendChild(n),n);if(window.navigator.userAgent.match(/ipad|iphone/i)){var i=document.createRange();i.selectNodeContents(r);var o=window.getSelection();o.removeAllRanges(),o.addRange(i),r.setSelectionRange(0,999999)}else r.select();document.execCommand("copy"),document.body.removeChild(r)}function Lm(e){var t=e.voucherDetails,n=void 0===t?[]:t,r=e.className,i=void 0===r?"":r,o=Zc(e,["voucherDetails","className"]),a=Hu(),s=a.i18n,l=a.loadingContext;return b("div",{className:q()("adyen-checkout__voucher-result","adyen-checkout__voucher-result--"+o.paymentMethodType,i)},b("div",{className:"adyen-checkout__voucher-result__top"},b("div",{className:"adyen-checkout__voucher-result__image"},!!o.imageUrl&&b("span",{className:"adyen-checkout__voucher-result__image__wrapper"},b("img",{alt:o.paymentMethodType,className:"adyen-checkout__voucher-result__image__brand",src:o.imageUrl})),!!o.issuerImageUrl&&b("span",{className:"adyen-checkout__voucher-result__image__wrapper"},b("img",{alt:o.paymentMethodType,className:"adyen-checkout__voucher-result__image__issuer",src:o.issuerImageUrl}))),b("div",{className:"adyen-checkout__voucher-result__introduction"},o.introduction," ",o.instructionsUrl&&b("a",{className:"adyen-checkout__link adyen-checkout__link--voucher-result-instructions",href:o.instructionsUrl,target:"_blank",rel:"noopener noreferrer"},s.get("voucher.readInstructions")," \u203a")),o.amount&&b("div",{className:"adyen-checkout__voucher-result__amount"},o.amount,o.surcharge&&b("span",{className:"adyen-checkout__voucher-result__surcharge"},"(",s.get("voucher.surcharge").replace("%@",o.surcharge),")"))),o.reference&&b("div",{className:"adyen-checkout__voucher-result__separator"},b("div",{className:"adyen-checkout__voucher-result__separator__inner"}),b("div",{className:"adyen-checkout__voucher-result__code__label"},b("span",{className:"adyen-checkout__voucher-result__code__label__text"},s.get("voucher.paymentReferenceLabel")))),b("div",{className:"adyen-checkout__voucher-result__bottom"},o.reference&&b("div",{className:"adyen-checkout__voucher-result__code"},o.barcode&&b("img",{alt:s.get("voucher.paymentReferenceLabel"),className:"adyen-checkout__voucher-result__code__barcode",src:o.barcode}),b("span",null,o.reference)),(!!o.downloadUrl||!!o.copyBtn)&&b("ul",{className:"adyen-checkout__voucher-result__actions"},!!o.copyBtn&&b("li",{className:"adyen-checkout__voucher-result__actions__item"},b(Wu,{inline:!0,secondary:!0,onClick:function(e,t){var n=t.complete;Rm(o.reference),n()},icon:xu({loadingContext:l,imageFolder:"components/"})("copy"),label:s.get("button.copy")})),!!o.downloadUrl&&b("li",{className:"adyen-checkout__voucher-result__actions__item"},b(Wu,{inline:!0,secondary:!0,href:o.downloadUrl,icon:xu({loadingContext:l,imageFolder:"components/"})("download"),label:o.downloadButtonText||s.get("button.download"),target:"_blank",rel:"noopener noreferrer"}))),b("ul",{className:"adyen-checkout__voucher-result__details"},n.filter((function(e){var t=e.label,n=e.value;return!!t&&!!n})).map((function(e,t){var n=e.label,r=e.value;return b("li",{key:t,className:"adyen-checkout__voucher-result__details__item"},b("span",{className:"adyen-checkout__voucher-result__details__label"},n),b("span",{className:"adyen-checkout__voucher-result__details__value"},r))})))))}var Fm=function(e){var t=e.reference,n=e.totalAmount,r=e.expiresAt,i=e.paymentMethodType,o=e.maskedTelephoneNumber,a=e.instructionsUrl,s=e.collectionInstitutionNumber,l=Hu(),c=l.loadingContext,u=l.i18n;return b(Lm,{paymentMethodType:i,reference:t,introduction:u.get("voucher.introduction.econtext"),imageUrl:xu({loadingContext:c})(i),instructionsUrl:a,amount:n&&u.amount(n.value,n.currency),voucherDetails:[{label:u.get("voucher.collectionInstitutionNumber"),value:s},{label:u.get("voucher.expirationDate"),value:u.date(r)},{label:u.get("voucher.telephoneNumber"),value:o}],copyBtn:!0})},zm=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Jc(t,e),Object.defineProperty(t.prototype,"isValid",{get:function(){return!!this.state.isValid},enumerable:!1,configurable:!0}),t.prototype.formatData=function(){return Xc(Xc({},this.state.data),{paymentMethod:{type:this.props.type||t.type}})},Object.defineProperty(t.prototype,"icon",{get:function(){return xu({loadingContext:this.props.loadingContext})(this.props.type)},enumerable:!1,configurable:!0}),t.prototype.render=function(){var e=this;return b(Xp,{i18n:this.props.i18n,loadingContext:this.props.loadingContext},this.props.reference?b(Fm,Xc({ref:function(t){e.componentRef=t}},this.props)):b(Mm,Xc({ref:function(t){e.componentRef=t}},this.props,{onChange:this.setState,onSubmit:this.submit,payButton:this.payButton})))},t.type="econtext",t}(Ju),Qm=["ES","FR"],Um=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Jc(t,e),t.prototype.formatProps=function(t){return Xc(Xc({},e.prototype.formatProps.call(this,t)),{allowedCountries:t.countryCode?[t.countryCode]:Qm})},t.type="facilypay_3x",t}(Zp),Vm=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Jc(t,e),t.prototype.formatProps=function(t){return Xc(Xc({},e.prototype.formatProps.call(this,t)),{allowedCountries:t.countryCode?[t.countryCode]:Qm})},t.type="facilypay_4x",t}(Zp),Gm=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Jc(t,e),t.prototype.formatProps=function(t){return Xc(Xc({},e.prototype.formatProps.call(this,t)),{allowedCountries:t.countryCode?[t.countryCode]:Qm})},t.type="facilypay_6x",t}(Zp),qm=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Jc(t,e),t.prototype.formatProps=function(t){return Xc(Xc({},e.prototype.formatProps.call(this,t)),{allowedCountries:t.countryCode?[t.countryCode]:Qm})},t.type="facilypay_10x",t}(Zp),Hm=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Jc(t,e),t.prototype.formatProps=function(t){return Xc(Xc({},e.prototype.formatProps.call(this,t)),{allowedCountries:t.countryCode?[t.countryCode]:Qm})},t.type="facilypay_12x",t}(Zp),Wm=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Jc(t,e),t.type="ideal",t}(_h),Ym=["black","white"],Km=["en_US","en_AU","en_GB","fr_CA","es_ES","it_IT","fr_FR","de_DE","pt_BR","zh_CN","da_DK","zh_HK","id_ID","he_IL","ja_JP","ko_KR","nl_NL","no_NO","pl_PL","pt_PT","ru_RU","sv_SE","th_TH","zh_TW"],Jm=function(e,t){return void 0===t&&(t={}),"paypal"===e?Xc({},t):Object.keys(t).reduce((function(e,n){var r=t[n];return("color"!==n||Ym.includes(r))&&(e[n]=r),e}),{})};function Xm(e){var t=e.onInit,n=e.onComplete,r=e.onClick,i=e.onCancel,o=e.onError,a=e.onShippingChange,s=e.onSubmit,l=e.paypalRef,c=e.style,u=Mu(null),d=Mu(null),p=function(e,u){var d=l.Buttons({fundingSource:e,style:Jm(e,c),onInit:t,onClick:r,onCancel:i,onError:o,onShippingChange:a,createOrder:s,onApprove:n});d.isEligible()&&d.render(u.current)};return Bu((function(){var t=l.FUNDING,n=t.PAYPAL,r=t.CREDIT;p(n,u),e.blockPayPalCreditButton||p(r,d)}),[]),b("div",{className:"adyen-checkout__paypal__buttons"},b("div",{className:"adyen-checkout__paypal__button adyen-checkout__paypal__button--paypal",ref:u}),b("div",{className:"adyen-checkout__paypal__button adyen-checkout__paypal__button--credit",ref:d}))}function Zm(e){var t=Hu().i18n,n=Du("pending"),r=n[0],i=n[1];this.setStatus=function(e){i(e)};var o=function(){i("ready")};return Bu((function(){var t=function(e){var t=function(e){var t=e.amount,n=e.countryCode,r=e.debug,i=e.environment,o=void 0===i?"":i,a=e.locale,s=e.configuration,l=e.commit,c=e.vault,u=function(e){var t=e?e.replace("-","_"):null;return Km.includes(t)?t:null}(a),d=t?t.currency:null,p="test"===o.toLowerCase(),h=p?"AVzsPoGmjcm99YG02kq0iWL3KP3JedbMQJO2QUnVUc-t7aUzjkBWte7relkAC5SPUL50ovLGKmxfA674":"AU0Z-TP9t5_9196agaBN6ZD3UAwypdP1IX8ZYH3PcNNAQMXUTDQlChruXqQEhyI6-NKBKowN6ydkj477",f=s.merchantId,m=s.intent;return Xc(Xc(Xc(Xc(Xc(Xc(Xc({},f&&{"merchant-id":f}),u&&{locale:u}),n&&p&&{"buyer-country":n}),r&&p&&{debug:r}),d&&{currency:d}),m&&{intent:m}),{commit:l,vault:c,"client-id":h,"integration-date":"2020-02-01",components:"buttons,funding-eligibility"})}(e);return"https://www.paypal.com/sdk/js?"+decodeURIComponent(Object.keys(t).map((function(e){return e+"="+t[e]})).join("&"))}(e),n=new fh(t);return window.paypal?o():n.load().then(o),function(){n.remove()}}),[]),b("div",{className:"adyen-checkout__paypal"},"pending"===r?b("div",{className:"adyen-checkout__paypal__status adyen-checkout__paypal__status--pending"},b(Cu,null)):"processing"===r?b("div",{className:"adyen-checkout__paypal__status adyen-checkout__paypal__status--processing"},b(Cu,{size:"medium",inline:!0})," ",t.get("paypal.processingPayment")):b(Xm,Xc({},e,{onComplete:function(t){i("processing"),e.onComplete(t)},paypalRef:window.paypal})))}var $m={environment:"TEST",status:"loading",showPayButton:!0,merchantId:"",intent:null,commit:!0,vault:!1,style:{height:48},blockPayPalCreditButton:!1,configuration:{merchantId:"",intent:null},onSubmit:function(){},onAdditionalDetails:function(){},onInit:function(){},onClick:function(){},onCancel:function(){},onError:function(){},onShippingChange:function(){}},eg="The instance of the PayPal component being used is not the same which started the payment",tg=function(e){function t(t){var n=e.call(this,t)||this;return n.paymentData=null,n.resolve=null,n.reject=null,n.handleAction=n.handleAction.bind(n),n.updateWithAction=n.updateWithAction.bind(n),n.handleCancel=n.handleCancel.bind(n),n.handleComplete=n.handleComplete.bind(n),n.handleError=n.handleError.bind(n),n.handleSubmit=n.handleSubmit.bind(n),n.submit=n.submit.bind(n),n}return Jc(t,e),t.prototype.formatData=function(){return{paymentMethod:{type:t.type,subtype:t.subtype}}},t.prototype.handleAction=function(e){return this.updateWithAction(e)},t.prototype.updateWithAction=function(e){if(e.paymentMethodType!==this.data.paymentMethod.type)throw new Error("Invalid Action");return e.paymentData&&(this.paymentData=e.paymentData),e.sdkData&&e.sdkData.token?this.handleResolve(e.sdkData.token):this.handleReject("No token was provided"),null},Object.defineProperty(t.prototype,"isValid",{get:function(){return!0},enumerable:!1,configurable:!0}),t.prototype.handleCancel=function(e){this.props.onCancel(e,this.elementRef)},t.prototype.handleComplete=function(e){var t={data:{details:e,paymentData:this.paymentData}};this.props.onAdditionalDetails(t,this.elementRef)},t.prototype.handleError=function(e){this.props.onError(e,this.elementRef)},t.prototype.handleResolve=function(e){if(!this.resolve)return this.handleError(eg);this.resolve(e)},t.prototype.handleReject=function(e){if(!this.reject)return this.handleError(eg);this.reject(new Error(e))},t.prototype.startPayment=function(){return Promise.reject("Calling submit() is not supported for this payment method")},t.prototype.handleSubmit=function(){var e=this,t=this.data,n=this.isValid;return this.props.onSubmit&&this.props.onSubmit({data:t,isValid:n},this.elementRef),new Promise((function(t,n){e.resolve=t,e.reject=n}))},t.prototype.submit=function(){var e=this;this.startPayment().catch((function(t){e.props.onError(t,e.elementRef)}))},t.prototype.render=function(){var e=this;return this.props.showPayButton?b(Xp,{i18n:this.props.i18n,loadingContext:this.props.loadingContext},b(Zm,Xc({ref:function(t){e.componentRef=t}},this.props,{onCancel:this.handleCancel,onChange:this.setState,onComplete:this.handleComplete,onError:this.handleError,onSubmit:this.handleSubmit}))):null},t.type="paypal",t.subtype="sdk",t.defaultProps=$m,t}(Ju);function ng(e){var t,n=Hu().i18n,r=Du("ready"),i=r[0],o=r[1],a=!!(null===(t=null==e?void 0:e.items)||void 0===t?void 0:t.length),s=Gd({schema:tu(tu([],a?["phonePrefix"]:[]),["phoneNumber"]),defaultData:Xc({},a?{phonePrefix:e.selected}:{}),rules:{phoneNumber:{modes:["blur"],errorMessage:"error.va.gen.01",validate:function(e){return(null==e?void 0:e.length)>6}}}}),l=s.handleChangeFor,c=s.triggerValidation,u=s.data,d=s.valid,p=s.errors,h=s.isValid;return Bu((function(){e.onChange({data:u,valid:d,errors:p,isValid:h})}),[u,d,p,h]),this.showValidation=c,this.setStatus=o,b("div",{className:"adyen-checkout__phone-input"},b(vd,{errorMessage:!!p.phoneNumber,label:n.get(e.phoneLabel),className:q()({"adyen-checkout__input--phone-number":!0}),inputWrapperModifiers:["phoneInput"]},b("div",{className:"adyen-checkout__input-wrapper"},b("div",{className:q()({"adyen-checkout__input":!0,"adyen-checkout__input--invalid":!!p.phoneNumber})},!!a&&b(vd,{inputWrapperModifiers:["phoneInput"]},Nd("select",{className:"adyen-checkout__dropdown--small adyen-checkout__countryFlag",filterable:!1,items:e.items,name:e.prefixName,onChange:l("phonePrefix"),placeholder:n.get("infix"),selected:u.phonePrefix}),b("div",{className:"adyen-checkout__phoneNumber"},b("div",null,u.phonePrefix),b("input",{type:"tel",name:e.phoneName,value:u.phoneNumber,onInput:l("phoneNumber","input"),onChange:l("phoneNumber","blur"),placeholder:"123 456 789",className:"adyen-checkout__input adyen-checkout__input--phoneNumber",autoCorrect:"off"})))))),this.props.showPayButton&&this.props.payButton({status:i}))}ng.defaultProps={phoneLabel:"telephoneNumber"};var rg=function(e){if(!e)throw new Error("No item passed");if(!e.code||!e.id)return!1;var t=e.code.toUpperCase().replace(/./g,(function(e){return String.fromCodePoint?String.fromCodePoint(e.charCodeAt(0)+127397):""}));return Xc(Xc({},e),{name:t+" "+e.name+" ("+e.id+")",selectedOptionName:t})},ig=function(e,t){if(e&&t){var n=e.find((function(e){return e.code===t}));return!!n&&n.id}return!1},og=[{id:"+7",name:"Russian Federation",code:"RU"},{id:"+9955",name:"Georgia",code:"GE"},{id:"+507",name:"Panama",code:"PA"},{id:"+44",name:"United Kingdom",code:"GB"},{id:"+992",name:"Tajikistan",code:"TJ"},{id:"+370",name:"Lithuania",code:"LT"},{id:"+972",name:"Israel",code:"IL"},{id:"+996",name:"Kyrgyzstan",code:"KG"},{id:"+380",name:"Ukraine",code:"UA"},{id:"+84",name:"Viet Nam",code:"VN"},{id:"+90",name:"Turkey",code:"TR"},{id:"+994",name:"Azerbaijan",code:"AZ"},{id:"+374",name:"Armenia",code:"AM"},{id:"+371",name:"Latvia",code:"LV"},{id:"+91",name:"India",code:"IN"},{id:"+66",name:"Thailand",code:"TH"},{id:"+373",name:"Moldova",code:"MD"},{id:"+1",name:"United States",code:"US"},{id:"+81",name:"Japan",code:"JP"},{id:"+998",name:"Uzbekistan",code:"UZ"},{id:"+77",name:"Kazakhstan",code:"KZ"},{id:"+375",name:"Belarus",code:"BY"},{id:"+372",name:"Estonia",code:"EE"},{id:"+40",name:"Romania",code:"RO"},{id:"+82",name:"Korea",code:"KR"}],ag=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Jc(t,e),Object.defineProperty(t.prototype,"isValid",{get:function(){return!!this.state.isValid},enumerable:!1,configurable:!0}),t.prototype.formatProps=function(e){return Xc(Xc({onValid:function(){}},e),{selected:ig(e.items,e.countryCode)})},t.prototype.formatData=function(){return{paymentMethod:{type:t.type,"qiwiwallet.telephoneNumberPrefix":this.state.data?this.state.data.phonePrefix:"","qiwiwallet.telephoneNumber":this.state.data?this.state.data.phoneNumber:""}}},t.prototype.render=function(){var e=this;return b(Xp,{i18n:this.props.i18n,loadingContext:this.props.loadingContext},b(ng,Xc({ref:function(t){e.componentRef=t}},this.props,this.state,{phoneLabel:"mobileNumber",onChange:this.setState,onSubmit:this.submit,payButton:this.payButton})))},t.type="qiwiwallet",t.defaultProps={items:og.map(rg).filter((function(e){return!1!==e})),countryCode:og[0].code,prefixName:"qiwiwallet.telephoneNumberPrefix",phoneName:"qiwiwallet.telephoneNumber"},t}(Ju);function sg(e){var t=this,n=Mu(null),r=Du({}),i=r[0],o=r[1],a=Du({}),s=a[0],l=a[1],c=Du({}),u=c[0],d=c[1],p=Du(!1),h=p[0],f=p[1],m=Du(null),g=m[0],v=m[1],y=Du([]),A=y[0],w=y[1],x=Du(""),C=x[0],S=x[1],k=Ru((function(){return um(e,{sfp:n},{dualBrandSelectElements:A,setDualBrandSelectElements:w,setSelectedBrandValue:S,issuingCountryCode:g,setIssuingCountryCode:v})}),[A,g]);return this.processBinLookupResponse=function(e,t){k.processBinLookup(e,t)},this.dualBrandingChangeHandler=k.handleDualBrandSelection,Bu((function(){return t.setFocusOn=n.current.setFocusOn,t.updateStyles=n.current.updateStyles,t.showValidation=n.current.showValidation,t.handleUnsupportedCard=n.current.handleUnsupportedCard,function(){n.current.destroy()}}),[]),Bu((function(){e.onChange({data:u,valid:s,errors:i,isValid:h,selectedBrandValue:C})}),[u,s,i,C]),b(Qf,Xc({ref:n},e,{onChange:function(e){d(Xc(Xc({},u),e.data)),o(Xc(Xc({},i),e.errors)),l(Xc(Xc({},s),e.valid)),f(e.isSfpValid)},render:function(){return null}}))}sg.defaultProps={onChange:function(){},onError:function(){}};var lg=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.onBinValue=mm(t),t}return Jc(t,e),t.prototype.formatProps=function(e){return Xc(Xc(Xc({},e),{type:"scheme"===e.type?"card":e.type}),e.brands&&!e.groupTypes&&{groupTypes:e.brands})},t.prototype.formatData=function(){var e=this.state.selectedBrandValue||this.props.brand;return{paymentMethod:Xc(Xc({type:t.type},this.state.data),e&&{brand:e}),browserInfo:this.browserInfo}},t.prototype.updateStyles=function(e){var t;return(null===(t=this.componentRef)||void 0===t?void 0:t.updateStyles)&&this.componentRef.updateStyles(e),this},t.prototype.setFocusOn=function(e){var t;return(null===(t=this.componentRef)||void 0===t?void 0:t.setFocusOn)&&this.componentRef.setFocusOn(e),this},t.prototype.processBinLookupResponse=function(e){var t;return(null===(t=this.componentRef)||void 0===t?void 0:t.processBinLookupResponse)&&this.componentRef.processBinLookupResponse(e),this},t.prototype.dualBrandingChangeHandler=function(e){var t;return(null===(t=this.componentRef)||void 0===t?void 0:t.dualBrandingChangeHandler)&&this.componentRef.dualBrandingChangeHandler(e),this},t.prototype.handleUnsupportedCard=function(e){var t;return(null===(t=this.componentRef)||void 0===t?void 0:t.handleUnsupportedCard)&&this.componentRef.handleUnsupportedCard(e),this},t.prototype.onBinLookup=function(e){var t,n=this,r=Xc({},e);r.rootNode=this._node,r.isReset||(r.supportedBrandsRaw=null===(t=e.supportedBrandsRaw)||void 0===t?void 0:t.map((function(e){var t,r;return e.brandImageUrl=null!==(r=null===(t=n.props.brandsConfiguration[e.brand])||void 0===t?void 0:t.icon)&&void 0!==r?r:Bh(e.brand,n.props.loadingContext),e}))),this.props.onBinLookup(r)},Object.defineProperty(t.prototype,"isValid",{get:function(){return!!this.state.isValid},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"icon",{get:function(){return xu({loadingContext:this.props.loadingContext})(this.props.type)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"browserInfo",{get:function(){return rh()},enumerable:!1,configurable:!0}),t.prototype.render=function(){var e=this;return b(Xp,{i18n:this.props.i18n,loadingContext:this.props.loadingContext},b(sg,Xc({ref:function(t){e.componentRef=t}},this.props,this.state,{rootNode:this._node,onChange:this.setState,onBinValue:this.onBinValue,implementationType:"custom"})))},t.type="scheme",t.analyticsType="custom-scheme",t.defaultProps={onBinLookup:function(){},brandsConfiguration:{}},t}(Ju),cg={AD:{length:24,structure:"F04F04A12",example:"AD9912345678901234567890"},AE:{length:23,structure:"F03F16",example:"AE993331234567890123456"},AL:{length:28,structure:"F08A16",example:"AL47212110090000000235698741"},AT:{length:20,structure:"F05F11",example:"AT611904300234573201"},AZ:{length:28,structure:"U04A20",example:"AZ21NABZ00000000137010001944"},BA:{length:20,structure:"F03F03F08F02",example:"BA391290079401028494"},BE:{length:16,structure:"F03F07F02",example:"BE68 5390 0754 7034"},BG:{length:22,structure:"U04F04F02A08",example:"BG80BNBG96611020345678"},BH:{length:22,structure:"U04A14",example:"BH67BMAG00001299123456"},BR:{length:29,structure:"F08F05F10U01A01",example:"BR9700360305000010009795493P1"},CH:{length:21,structure:"F05A12",example:"CH9300762011623852957"},CR:{length:22,structure:"F04F14",example:"CR72012300000171549015"},CY:{length:28,structure:"F03F05A16",example:"CY17002001280000001200527600"},CZ:{length:24,structure:"F04F06F10",example:"CZ6508000000192000145399"},DE:{length:22,structure:"F08F10",example:"DE00123456789012345678"},DK:{length:18,structure:"F04F09F01",example:"DK5000400440116243"},DO:{length:28,structure:"U04F20",example:"DO28BAGR00000001212453611324"},EE:{length:20,structure:"F02F02F11F01",example:"EE382200221020145685"},ES:{length:24,structure:"F04F04F01F01F10",example:"ES9121000418450200051332"},FI:{length:18,structure:"F06F07F01",example:"FI2112345600000785"},FO:{length:18,structure:"F04F09F01",example:"FO6264600001631634"},FR:{length:27,structure:"F05F05A11F02",example:"FR1420041010050500013M02606"},GB:{length:22,structure:"U04F06F08",example:"GB29NWBK60161331926819"},GE:{length:22,structure:"U02F16",example:"GE29NB0000000101904917"},GI:{length:23,structure:"U04A15",example:"GI75NWBK000000007099453"},GL:{length:18,structure:"F04F09F01",example:"GL8964710001000206"},GR:{length:27,structure:"F03F04A16",example:"GR1601101250000000012300695"},GT:{length:28,structure:"A04A20",example:"GT82TRAJ01020000001210029690"},HR:{length:21,structure:"F07F10",example:"HR1210010051863000160"},HU:{length:28,structure:"F03F04F01F15F01",example:"HU42117730161111101800000000"},IE:{length:22,structure:"U04F06F08",example:"IE29AIBK93115212345678"},IL:{length:23,structure:"F03F03F13",example:"IL620108000000099999999"},IS:{length:26,structure:"F04F02F06F10",example:"IS140159260076545510730339"},IT:{length:27,structure:"U01F05F05A12",example:"IT60X0542811101000000123456"},KW:{length:30,structure:"U04A22",example:"KW81CBKU0000000000001234560101"},KZ:{length:20,structure:"F03A13",example:"KZ86125KZT5004100100"},LB:{length:28,structure:"F04A20",example:"LB62099900000001001901229114"},LC:{length:32,structure:"U04F24",example:"LC07HEMM000100010012001200013015"},LI:{length:21,structure:"F05A12",example:"LI21088100002324013AA"},LT:{length:20,structure:"F05F11",example:"LT121000011101001000"},LU:{length:20,structure:"F03A13",example:"LU280019400644750000"},LV:{length:21,structure:"U04A13",example:"LV80BANK0000435195001"},MC:{length:27,structure:"F05F05A11F02",example:"MC5811222000010123456789030"},MD:{length:24,structure:"U02A18",example:"MD24AG000225100013104168"},ME:{length:22,structure:"F03F13F02",example:"ME25505000012345678951"},MK:{length:19,structure:"F03A10F02",example:"MK07250120000058984"},MR:{length:27,structure:"F05F05F11F02",example:"MR1300020001010000123456753"},MT:{length:31,structure:"U04F05A18",example:"MT84MALT011000012345MTLCAST001S"},MU:{length:30,structure:"U04F02F02F12F03U03",example:"MU17BOMM0101101030300200000MUR"},NL:{length:18,structure:"U04F10",example:"NL99BANK0123456789"},NO:{length:15,structure:"F04F06F01",example:"NO9386011117947"},PK:{length:24,structure:"U04A16",example:"PK36SCBL0000001123456702"},PL:{length:28,structure:"F08F16",example:"PL00123456780912345678901234"},PS:{length:29,structure:"U04A21",example:"PS92PALS000000000400123456702"},PT:{length:25,structure:"F04F04F11F02",example:"PT50000201231234567890154"},RO:{length:24,structure:"U04A16",example:"RO49AAAA1B31007593840000"},RS:{length:22,structure:"F03F13F02",example:"RS35260005601001611379"},SA:{length:24,structure:"F02A18",example:"SA0380000000608010167519"},SE:{length:24,structure:"F03F16F01",example:"SE4550000000058398257466"},SI:{length:19,structure:"F05F08F02",example:"SI56263300012039086"},SK:{length:24,structure:"F04F06F10",example:"SK3112000000198742637541"},SM:{length:27,structure:"U01F05F05A12",example:"SM86U0322509800000000270100"},ST:{length:25,structure:"F08F11F02",example:"ST68000100010051845310112"},TL:{length:23,structure:"F03F14F02",example:"TL380080012345678910157"},TN:{length:24,structure:"F02F03F13F02",example:"TN5910006035183598478831"},TR:{length:26,structure:"F05F01A16",example:"TR330006100519786457841326"},VG:{length:24,structure:"U04F16",example:"VG96VPVG0000012345678901"},XK:{length:20,structure:"F04F10F02",example:"XK051212012345678906"},AO:{length:25,structure:"F21",example:"AO69123456789012345678901"},BF:{length:27,structure:"F23",example:"BF2312345678901234567890123"},BI:{length:16,structure:"F12",example:"BI41123456789012"},BJ:{length:28,structure:"F24",example:"BJ39123456789012345678901234"},CI:{length:28,structure:"U01F23",example:"CI17A12345678901234567890123"},CM:{length:27,structure:"F23",example:"CM9012345678901234567890123"},CV:{length:25,structure:"F21",example:"CV30123456789012345678901"},DZ:{length:24,structure:"F20",example:"DZ8612345678901234567890"},IR:{length:26,structure:"F22",example:"IR861234568790123456789012"},JO:{length:30,structure:"A04F22",example:"JO15AAAA1234567890123456789012"},MG:{length:27,structure:"F23",example:"MG1812345678901234567890123"},ML:{length:28,structure:"U01F23",example:"ML15A12345678901234567890123"},MZ:{length:25,structure:"F21",example:"MZ25123456789012345678901"},QA:{length:29,structure:"U04A21",example:"QA30AAAA123456789012345678901"},SN:{length:28,structure:"U01F23",example:"SN52A12345678901234567890123"},UA:{length:29,structure:"F25",example:"UA511234567890123456789012345"}},ug=function(e){return e.replace(/\W/gi,"").replace(/(.{4})(?!$)/g,"$1 ").trim()},dg=function(e){return e.replace(/[^a-zA-Z0-9]/g,"").toUpperCase()},pg=function(e){return void 0===e&&(e=null),e&&cg[e]&&cg[e].example?ug(cg[e].example):"AB00 1234 5678 9012 3456 7890"};function hg(e,t){void 0===t&&(t=null),this.status=e,this.code=t}var fg=function(e){var t=dg(e);return 1===function(e){for(var t,n=e;n.length>2;)t=n.slice(0,9),n=parseInt(t,10)%97+n.slice(t.length);return parseInt(n,10)%97}(function(e){var t=e,n="A".charCodeAt(0),r="Z".charCodeAt(0);return(t=(t=t.toUpperCase()).substr(4)+t.substr(0,4)).split("").map((function(e){var t=e.charCodeAt(0);return t>=n&&t<=r?t-n+10:e})).join("")}(t))&&function(e){var t=function(e,t){return function(e,t){if(null===t||!cg[t]||!cg[t].structure)return!1;var n=cg[t].structure.match(/(.{3})/g).map((function(e){var t,n=e.slice(0,1),r=parseInt(e.slice(1),10);switch(n){case"A":t="0-9A-Za-z";break;case"B":t="0-9A-Z";break;case"C":t="A-Za-z";break;case"F":t="0-9";break;case"L":t="a-z";break;case"U":t="A-Z";break;case"W":t="0-9a-z"}return"(["+t+"]{"+r+"})"}));return new RegExp("^"+n.join("")+"$")}(0,t)}(0,e.slice(0,2));return t.test&&t.test(e.slice(4))||!1}(t)},mg=function(e){var t=dg(e);if(e.length<2)return new hg("no-validate","TOO_SHORT");var n=function(e){return!(!e||!cg[e])&&cg[e]}(t.slice(0,2));return n?t.length>n.length?new hg("invalid","TOO_LONG"):t.length===n.length?fg(e)?new hg("valid","VALID"):new hg("invalid","INVALID_IBAN"):new hg("no-validate","UNKNOWN"):new hg("invalid","INVALID_COUNTRY")},gg=function(e){return!!(e&&e.length&&e.length>0)},vg=function(e){function t(t){var n,r,i=e.call(this,t)||this;if(i.setData=function(e,t,n){i.setState((function(n){var r;return{data:Xc(Xc({},n.data),(r={},r[e]=t,r))}}),n)},i.setError=function(e,t,n){i.setState((function(n){var r;return{errors:Xc(Xc({},n.errors),(r={},r[e]=t,r))}}),n)},i.setValid=function(e,t,n){i.setState((function(n){var r;return{valid:Xc(Xc({},n.valid),(r={},r[e]=t,r))}}),n)},i.handleHolderInput=function(e){i.setState((function(t){return{data:Xc(Xc({},t.data),{"sepa.ownerName":e})}}),(function(){i.setError("holder",!gg(i.state.data["sepa.ownerName"])),i.onChange()}))},i.handleIbanInput=function(e){var t=e.target.value,n=dg(t),r=ug(n),o=mg(r).status,a=e.target.selectionStart,s=i.state.data["sepa.ibanNumber"],l=function(e,t,n){if(0===e||!t.length)return 0;var r=t.length-n.length,i=r>0,o=function(e,t){return/\s/.test(e.charAt(t))},a=e-r;return i&&(o(t,a+1)||o(t,a))?e+1:!i&&o(t,e-1)?e-1:e}(a,r,s);i.setState((function(e){return{data:Xc(Xc({},e.data),{"sepa.ibanNumber":r}),errors:Xc(Xc({},e.errors),{iban:"invalid"===o?"sepaDirectDebit.ibanField.invalid":null}),valid:Xc(Xc({},e.valid),{iban:"valid"===o})}}),(function(){e.target.setSelectionRange(l,l),i.onChange()}))},i.handleIbanBlur=function(e){var t=e.target.value;if(t.length>0){var n=mg(t).status;i.setError("iban","valid"!==n?"sepaDirectDebit.ibanField.invalid":null)}},i.state={status:"ready",data:{"sepa.ownerName":(null===(n=null==t?void 0:t.data)||void 0===n?void 0:n.ownerName)||"","sepa.ibanNumber":(null===(r=null==t?void 0:t.data)||void 0===r?void 0:r.ibanNumber)||""},isValid:!1,cursor:0,errors:{},valid:{}},i.state.data["sepa.ibanNumber"]){var o=dg(i.state.data["sepa.ibanNumber"]);i.state.data["sepa.ibanNumber"]=ug(o)}if(i.state.data["sepa.ibanNumber"]||i.state.data["sepa.ownerName"]){var a=i.props.holderName?gg(i.state.data["sepa.ownerName"]):"",s=(i.state.data["sepa.ibanNumber"]?"valid"===mg(i.state.data["sepa.ibanNumber"]).status:"")&&a,l={data:i.state.data,isValid:s};i.props.onChange(l)}return i}return Jc(t,e),t.prototype.setStatus=function(e){this.setState({status:e})},t.prototype.onChange=function(){var e=this.props.holderName?gg(this.state.data["sepa.ownerName"]):"",t="valid"===mg(this.state.data["sepa.ibanNumber"]).status&&e,n={data:this.state.data,isValid:t};this.props.onChange(n)},t.prototype.showValidation=function(){var e=mg(this.state.data["sepa.ibanNumber"]).status,t=gg(this.state.data["sepa.ownerName"]);this.setError("iban","valid"!==e?"sepaDirectDebit.ibanField.invalid":null),this.setError("holder",!t||null)},t.prototype.render=function(e,t){var n=this,r=e.placeholders,i=e.countryCode,o=t.data,a=t.errors,s=t.valid,l=Hu().i18n;return b("div",{className:"adyen-checkout__iban-input"},this.props.holderName&&b(vd,{className:"adyen-checkout__field--owner-name",label:l.get("sepa.ownerName"),filled:o["sepa.ownerName"]&&o["sepa.ownerName"].length,errorMessage:!!a.holder&&l.get("creditCard.holderName.invalid"),dir:"ltr"},Nd("text",{name:"sepa.ownerName",className:"adyen-checkout__iban-input__owner-name",placeholder:"ownerName"in r?r.ownerName:l.get("sepaDirectDebit.nameField.placeholder"),value:o["sepa.ownerName"],"aria-invalid":!!this.state.errors.holder,"aria-label":l.get("sepa.ownerName"),onInput:function(e){return n.handleHolderInput(e.target.value)}})),b(vd,{className:"adyen-checkout__field--iban-number",label:l.get("sepa.ibanNumber"),errorMessage:!!a.iban&&l.get(a.iban),filled:o["sepa.ibanNumber"]&&o["sepa.ibanNumber"].length,isValid:s.iban,onBlur:this.handleIbanBlur,dir:"ltr"},Nd("text",{ref:function(e){n.ibanNumber=e},name:"sepa.ibanNumber",className:"adyen-checkout__iban-input__iban-number",classNameModifiers:["large"],placeholder:"ibanNumber"in r?r.ibanNumber:pg(i),value:o["sepa.ibanNumber"],onInput:this.handleIbanInput,"aria-invalid":!!this.state.errors.iban,"aria-label":l.get("sepa.ibanNumber"),autocorrect:"off",spellcheck:!1})),this.props.showPayButton&&this.props.payButton({status:this.state.status}))},t.defaultProps={onChange:function(){},countryCode:null,holderName:!0,placeholders:{}},t}(C),yg=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Jc(t,e),t.prototype.formatProps=function(e){return Xc({holderName:!0},e)},t.prototype.formatData=function(){return{paymentMethod:{type:t.type,iban:this.state.data["sepa.ibanNumber"],ownerName:this.state.data["sepa.ownerName"]}}},Object.defineProperty(t.prototype,"isValid",{get:function(){return!!this.state.isValid},enumerable:!1,configurable:!0}),t.prototype.render=function(){var e=this;return b(Xp,Xc({},this.props,{loadingContext:this.props.loadingContext}),b(vg,Xc({ref:function(t){e.componentRef=t}},this.props,{onChange:this.setState,onSubmit:this.submit,payButton:this.payButton})))},t.type="sepadirectdebit",t}(Ju),Ag=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Jc(t,e),t.prototype.componentDidMount=function(){this.formEl.submit()},t.prototype.render=function(e){var t=this,n=e.name,r=e.action,i=e.target,o=e.inputName,a=e.inputValue;return b("form",{ref:function(e){t.formEl=e},method:"POST",className:q()(["adyen-checkout__threeds2__form","adyen-checkout__threeds2__form--"+n]),name:n,action:r,target:i,style:{display:"none"}},b("input",{name:o,value:a}))},t}(C),bg={result:{transStatus:"U"},type:"challengeResult"},wg={result:{transStatus:"U"},type:"challengeResult",errorCode:"timeout"},xg={result:{threeDSCompInd:"N"},type:"fingerPrintResult"},Cg={result:{threeDSCompInd:"N"},type:"fingerPrintResult",errorCode:"timeout"},Sg={timeout:"ThreeDS2 timed out",wrongOrigin:"Result came in the right format but not from the expected origin",HTMLElementError:"No proper HTML element was passed",wrongDataType:"Result data was not of the expected type",missingProperty:"Result data did not contain the expected properties",unknownError:"An unknown error occurred"},kg={"01":["250px","400px"],"02":["390px","400px"],"03":["500px","600px"],"04":["600px","400px"],"05":["100%","100%"]},Eg=function(e){var t=ld.decode(e);try{return t&&JSON.parse(t)}catch(e){throw new Error("Could not decode token")}},Ig=function(e){if(!e||!Object.keys(e).length)throw new Error("No (populated) data object to encode");return ld.encode(JSON.stringify(e))},_g=function(e){var t=1===e.length?"0"+e:e;return Object.prototype.hasOwnProperty.call(kg,t)?t:"02"},Pg=function(e,t,n){var r;return{data:(r={},r[e]=Ig({threeDSCompInd:t.threeDSCompInd}),r.paymentData=n,r)}},Og=function(e,t,n){return{data:{details:{"threeds2.fingerprint":Ig(t)},paymentData:n}}},Tg=function(e,t,n){var r;return{data:{details:(r={},r[e]=Ig({transStatus:t,authorisationToken:n}),r)}}},Dg=function(e,t,n){return{data:{details:{"threeds2.challengeResult":Ig({transStatus:t})},paymentData:n}}},jg=function(e){return{errorCode:e,message:Sg[e]||Sg.unknownError}},Bg=function(e){var t=window.btoa(e).split("=")[0];return(t=t.replace(/\+/g,"-")).replace(/\//g,"_")},Ng=["elementRef"],Mg=["createFromAction","onAdditionalDetails"],Rg=function(e){function t(t){var n=e.call(this,t)||this;n.iframeCallback=function(){n.setState({status:"iframeLoaded"})};var r=JSON.stringify(n.props.cReqData),i=Bg(r);return n.state={base64URLencodedData:i},n}return Jc(t,e),t.prototype.get3DS2ChallengePromise=function(){var e=this;return new Promise((function(t,n){e.processMessageHandler=nd(e.props.postMessageDomain,t,n,bg,"challengeResult"),window.addEventListener("message",e.processMessageHandler)}))},t.prototype.componentDidMount=function(){var e=this;this.challengePromise=Zu(6e5,this.get3DS2ChallengePromise(),wg),this.challengePromise.promise.then((function(t){window.removeEventListener("message",e.processMessageHandler),e.props.onCompleteChallenge(t)})).catch((function(t){window.removeEventListener("message",e.processMessageHandler),e.props.onErrorChallenge(t)}))},t.prototype.componentWillUnmount=function(){this.challengePromise&&this.challengePromise.cancel(),window.removeEventListener("message",this.processMessageHandler)},t.prototype.render=function(e,t){var n=e.acsURL,r=e.cReqData,i=e.iframeSizeArr,o=t.base64URLencodedData,a=t.status,s=i[0],l=i[1];return b("div",{className:q()(["adyen-checkout__threeds2__challenge","adyen-checkout__threeds2__challenge--"+r.challengeWindowSize])},"iframeLoaded"!==a&&b(Cu,null),b(Xu,{name:"threeDSIframe",width:s,height:l,callback:this.iframeCallback}),b(Ag,{name:"cReqForm",action:n,target:"threeDSIframe",inputName:"creq",inputValue:o}))},t}(C),Lg=function(e){function t(t){var n=e.call(this,t)||this;if(n.props.token){var r=function(e){var t,n=e.size,r=Eg(e.token),i=r.acsTransID,o=r.acsURL,a=r.messageVersion,s=r.threeDSNotificationURL,l=r.threeDSServerTransID,c=rd(s);return{acsURL:o,cReqData:{acsTransID:i,messageVersion:a,threeDSServerTransID:l,messageType:"CReq",challengeWindowSize:_g(n)},iframeSizeArr:(t=n,kg[_g(t)]),postMessageDomain:c}}({token:n.props.token,size:n.props.challengeWindowSize||n.props.size});n.state={status:"retrievingChallengeToken",challengeData:r}}else n.state={status:"error"},n.props.onError("Missing challengeToken parameter");return n}return Jc(t,e),t.prototype.setStatusComplete=function(e){var t=this;this.setState({status:"complete"},(function(){var n=(t.props.useOriginalFlow?Dg:Tg)(t.props.dataKey,e.transStatus,t.props.paymentData);t.props.onComplete(n)}))},t.prototype.render=function(e,t){var n=this,r=t.challengeData;return"retrievingChallengeToken"===this.state.status?b(Rg,Xc({onCompleteChallenge:function(e){n.setStatusComplete(e.result)},onErrorChallenge:function(e){var t=jg(e.errorCode);n.props.onError(t),n.setStatusComplete(e.result)}},r)):null},t.defaultProps={onComplete:function(){},onError:function(){}},t}(C),Fg=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Jc(t,e),t.prototype.render=function(){return zh(this.props.paymentData)?b(Lg,Xc({},this.props,{onComplete:this.onComplete})):(this.props.onError({errorCode:"threeds2.challenge",message:"No paymentData received. Challenge cannot proceed"}),null)},t.type="threeDS2Challenge",t.defaultProps={dataKey:"threeDSResult",size:"02",type:"ChallengeShopper"},t}(Ju),zg=function(e){function t(t){var n=e.call(this,t)||this,r=n.props,i=r.threeDSServerTransID,o=r.threeDSMethodNotificationURL,a=JSON.stringify({threeDSServerTransID:i,threeDSMethodNotificationURL:o}),s=Bg(a);return n.state={base64URLencodedData:s},n}return Jc(t,e),t.prototype.get3DS2MethodPromise=function(){var e=this;return new Promise((function(t,n){e.processMessageHandler=nd(e.props.postMessageDomain,t,n,xg,"fingerPrintResult"),window.addEventListener("message",e.processMessageHandler)}))},t.prototype.componentDidMount=function(){var e=this;this.fingerPrintPromise=Zu(1e4,this.get3DS2MethodPromise(),Cg),this.fingerPrintPromise.promise.then((function(t){window.removeEventListener("message",e.processMessageHandler),e.props.onCompleteFingerprint(t)})).catch((function(t){window.removeEventListener("message",e.processMessageHandler),e.props.onErrorFingerprint(t)}))},t.prototype.componentWillUnmount=function(){this.fingerPrintPromise&&this.fingerPrintPromise.cancel(),window.removeEventListener("message",this.processMessageHandler)},t.prototype.render=function(e,t){var n=e.threeDSMethodURL,r=t.base64URLencodedData;return b("div",{className:"adyen-checkout__3ds2-device-fingerprint"},this.props.showSpinner&&b(Cu,null),b("div",{style:{display:"none"}},b(Xu,{name:"threeDSMethodIframe"}),b(Ag,{name:"threeDSMethodForm",action:n,target:"threeDSMethodIframe",inputName:"threeDSMethodData",inputValue:r})))},t.defaultProps={showSpinner:!0},t}(C),Qg=function(e){function t(t){var n=e.call(this,t)||this,r=n.props,i=r.token,o=r.notificationURL;if(i){var a=function(e){var t=e.notificationURL,n=Eg(e.token),r=n.threeDSMethodNotificationURL,i=n.threeDSMethodUrl,o=t||r;return{threeDSServerTransID:n.threeDSServerTransID,threeDSMethodURL:i,threeDSMethodNotificationURL:o,postMessageDomain:rd(o)}}({token:i,notificationURL:o});n.state={status:"init",fingerPrintData:a}}else n.state={status:"error"},n.props.onError("Missing fingerprintToken parameter");return n}return Jc(t,e),t.prototype.componentDidMount=function(){this.state.fingerPrintData&&this.state.fingerPrintData.threeDSMethodURL&&this.state.fingerPrintData.threeDSMethodURL.length?this.setState({status:"retrievingFingerPrint"}):this.setStatusComplete({threeDSCompInd:"U"})},t.prototype.setStatusComplete=function(e){var t=this;this.setState({status:"complete"},(function(){var n=(t.props.useOriginalFlow?Og:Pg)(t.props.dataKey,e,t.props.paymentData);t.props.onComplete(n)}))},t.prototype.render=function(e,t){var n=this,r=t.fingerPrintData;return"retrievingFingerPrint"===this.state.status?b(zg,Xc({onCompleteFingerprint:function(e){n.setStatusComplete(e.result)},onErrorFingerprint:function(e){var t=jg(e.errorCode);n.props.onError(t),n.setStatusComplete(e.result)},showSpinner:this.props.showSpinner},r)):null},t.type="scheme",t.defaultProps={onComplete:function(){},onError:function(){},paymentData:"",showSpinner:!0},t}(C);function Ug(e){var t=this,n=e.data;Qp({path:"v1/submitThreeDS2Fingerprint?token="+this.props.clientKey,loadingContext:this.props.loadingContext},Xc({},n)).then((function(e){var n,r,i,o=null!==(n=t.props.elementRef)&&void 0!==n?n:t;if(e.action||e.details){if("completed"===e.type){var a=e.details;return t.onComplete({data:{details:a}})}return"threeDS2"===(null===(r=e.action)||void 0===r?void 0:r.type)?o.handleAction(e.action,Mh("challengeWindowSize").from(t.props)):"redirect"===(null===(i=e.action)||void 0===i?void 0:i.type)?o.handleAction(e.action):void 0}console.error("Handled Error::callSubmit3DS2Fingerprint::FAILED:: resData=",e)}))}var Vg=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.callSubmit3DS2Fingerprint=Ug.bind(t),t}return Jc(t,e),t.prototype.render=function(){return zh(this.props.paymentData)?b(Qg,Xc({},this.props,{onComplete:this.props.useOriginalFlow?this.onComplete:this.callSubmit3DS2Fingerprint})):(this.props.onError({errorCode:t.defaultProps.dataKey,message:"No paymentData received. Fingerprinting cannot proceed"}),null)},t.type="threeDS2Fingerprint",t.defaultProps={dataKey:"fingerprintResult",type:"IdentifyShopper"},t}(Ju),Gg=function(e,t){if(void 0===t&&(t=2),0===t)return e;var n=String(e);return n.length>=t?n:("0".repeat(t)+n).slice(-1*t)},qg=function(e){function t(t){var n=e.call(this,t)||this,r=6e4*n.props.minutesFromNow,i=(new Date).getTime();return n.state={startTime:new Date(i),endTime:new Date(i+r),minutes:"-",seconds:"-"},n}return Jc(t,e),t.prototype.tick=function(){var e=function(e,t){var n=new Date,r=t.getTime()-n.getTime(),i=r/1e3,o=function(e,t,n){var r=n.getTime()-e.getTime();return 100-Math.round(100*(t.getTime()-e.getTime())/r)}(e,n,t);return{total:r,minutes:Gg(Math.floor(i/60%60)),seconds:Gg(Math.floor(i%60)),completed:r<=0,percentage:o}}(this.state.startTime,this.state.endTime);if(e.completed)return this.props.onCompleted(),this.clearInterval();var t={minutes:e.minutes,seconds:e.seconds,percentage:e.percentage};return this.setState(Xc({},t)),this.props.onTick(t),t},t.prototype.clearInterval=function(){clearInterval(this.interval),delete this.interval},t.prototype.componentDidMount=function(){var e=this;this.interval=setInterval((function(){e.tick()}),1e3)},t.prototype.componentWillUnmount=function(){this.clearInterval()},t.prototype.render=function(){return b("span",{className:"adyen-checkout__countdown"},b("span",{className:"countdown__minutes"},this.state.minutes),b("span",{className:"countdown__separator"},":"),b("span",{className:"countdown__seconds"},this.state.seconds))},t.defaultProps={onTick:function(){},onCompleted:function(){}},t}(C);function Hg(e,t,n){if(!e||!t)throw new Error("Could not check the payment status");return Qp({loadingContext:n,path:"services/PaymentInitiation/v1/status?clientKey="+t},{paymentData:e})}var Wg=function(e){switch(e.resultCode.toLowerCase()){case"refused":case"error":case"cancelled":return{type:"error",props:Xc(Xc({},e),{message:"error.subtitle.refused"})};case"unknown":return{type:"error",props:Xc(Xc({},e),{message:"error.message.unknown"})};case"pending":case"received":return{type:e.resultCode.toLowerCase(),props:e};default:return{type:"success",props:e}}},Yg=function(e){if(!e.type&&e.resultCode)return Wg(e);if(!e.type)return{type:"error",props:e};switch(e.type.toLowerCase()){case"pending":return{type:"pending",props:e};case"complete":return Wg(e);default:return{type:"error",props:e}}},Kg=function(e){function t(t){var n=e.call(this,t)||this;return n.statusInterval=function(){n.checkStatus(),n.setState({timePassed:n.state.timePassed+n.props.delay}),n.state.timePassed>=n.props.throttleTime&&n.setState({delay:n.props.throttledInterval})},n.redirectToApp=function(e,t){void 0===t&&(t=function(){}),setTimeout((function(){n.props.onError(n.props.type+" App was not found"),t()}),25),window.location.assign(e)},n.state={buttonStatus:"default",completed:!1,delay:t.delay,expired:!1,loading:!0,onError:function(){},percentage:100,timePassed:0},n.onTimeUp=n.onTimeUp.bind(n),n.onTick=n.onTick.bind(n),n.onComplete=n.onComplete.bind(n),n.onError=n.onError.bind(n),n.checkStatus=n.checkStatus.bind(n),n}return Jc(t,e),t.prototype.componentDidMount=function(){var e=this,t=this.props,n=t.shouldRedirectOnMobile,r=t.url,i=window.matchMedia("(max-width: 768px)").matches&&/Android|iPhone|iPod/.test(navigator.userAgent),o=function(){e.interval=setInterval(e.statusInterval,e.state.delay)};n&&r&&i?this.redirectToApp(r,o):o()},t.prototype.componentDidUpdate=function(e,t){t.delay!==this.state.delay&&(clearInterval(this.interval),this.interval=setInterval(this.statusInterval,this.state.delay))},t.prototype.componentWillUnmount=function(){clearInterval(this.interval)},t.prototype.onTick=function(e){this.setState({percentage:e.percentage})},t.prototype.onTimeUp=function(){return this.setState({expired:!0}),clearInterval(this.interval),this.props.onError({type:"error",props:{errorMessage:"Payment Expired"}})},t.prototype.onComplete=function(e){return clearInterval(this.interval),this.setState({completed:!0,loading:!1}),this.props.onComplete({data:{details:{payload:e.props.payload},paymentData:this.props.paymentData}}),e},t.prototype.onError=function(e){return clearInterval(this.interval),this.setState({expired:!0,loading:!1}),this.props.onComplete({data:{details:{payload:e.props.payload},paymentData:this.props.paymentData}}),e},t.prototype.checkStatus=function(){var e=this,t=this.props;return Hg(t.paymentData,t.clientKey,t.loadingContext).then(Yg).catch((function(e){return{type:"network-error",props:e}})).then((function(t){switch(t.type){case"success":return e.onComplete(t);case"error":return e.onError(t);default:e.setState({loading:!1})}return t}))},t.prototype.render=function(e,t){var n=this,r=e.amount,i=e.url,o=e.brandLogo,a=e.countdownTime,s=e.i18n,l=e.loadingContext,c=e.type,u=t.expired,d=t.completed,p=t.loading,h=this.props.qrCodeData?l+"barcode.shtml?barcodeType=qrCode&fileType=png&data="+this.props.qrCodeData:this.props.qrCodeImage,f=function(e,t){return b("div",{className:"adyen-checkout__qr-loader adyen-checkout__qr-loader--result"},b("img",{className:"adyen-checkout__qr-loader__icon adyen-checkout__qr-loader__icon--result",src:xu({loadingContext:l,imageFolder:"components/"})(e),alt:s.get(t)}),b("div",{className:"adyen-checkout__qr-loader__subtitle adyen-checkout__qr-loader__subtitle--result"},s.get(t)))};if(u)return f("error","error.subtitle.payment");if(d)return f("success","creditCard.success");if(p)return b("div",{className:"adyen-checkout__qr-loader"},o&&b("img",{alt:c,src:o,className:"adyen-checkout__qr-loader__brand-logo"}),b(Cu,null));var m=s.get("wechatpay.timetopay").split("%@");return b("div",{className:"\n                    adyen-checkout__qr-loader\n                    adyen-checkout__qr-loader--"+c+"\n                    "+this.props.classNameModifiers.map((function(e){return"adyen-checkout__qr-loader--"+e}))+"\n                "},o&&b("img",{src:o,alt:c,className:"adyen-checkout__qr-loader__brand-logo"}),b("div",{className:"adyen-checkout__qr-loader__subtitle"},s.get(this.props.introduction)),b("img",{src:h,alt:s.get("wechatpay.scanqrcode")}),r&&r.value&&r.currency&&b("div",{className:"adyen-checkout__qr-loader__payment_amount"},s.amount(r.value,r.currency)),b("div",{className:"adyen-checkout__qr-loader__progress"},b("span",{className:"adyen-checkout__qr-loader__percentage",style:{width:this.state.percentage+"%"}})),b("div",{className:"adyen-checkout__qr-loader__countdown"},m[0],"\xa0",b(qg,{minutesFromNow:a,onTick:this.onTick,onCompleted:this.onTimeUp}),"\xa0",m[1]),this.props.instructions&&b("div",{className:"adyen-checkout__qr-loader__instructions"},s.get(this.props.instructions)),this.props.copyBtn&&b("div",{className:"adyen-checkout__qr-loader__actions"},b(Wu,{inline:!0,secondary:!0,onClick:function(e,t){var r=t.complete;Rm(n.props.qrCodeData),r()},icon:xu({loadingContext:l,imageFolder:"components/"})("copy"),label:s.get("button.copy")})),i&&b("div",{className:"adyen-checkout__qr-loader__app-link"},b("span",{className:"adyen-checkout__qr-loader__separator__label"},s.get("or")),b(Wu,{classNameModifiers:["qr-loader"],onClick:function(){return n.redirectToApp(i)},label:s.get("openApp")})))},t.defaultProps={delay:2e3,countdownTime:15,onError:function(){},onComplete:function(){},throttleTime:6e4,classNameModifiers:[],throttledInterval:1e4,introduction:"wechatpay.scanqrcode"},t}(C),Jg=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Jc(t,e),t.prototype.formatData=function(){return{paymentMethod:Xc({type:this.props.type||this.constructor.type},this.state.data)}},Object.defineProperty(t.prototype,"isValid",{get:function(){return!0},enumerable:!1,configurable:!0}),t.prototype.renderQRCode=function(){var e=this;return b(Xp,{i18n:this.props.i18n,loadingContext:this.props.loadingContext},b(Kg,Xc({ref:function(t){e.componentRef=t}},this.props,{shouldRedirectOnMobile:this.props.shouldRedirectOnMobile,type:this.constructor.type,brandLogo:this.props.brandLogo||this.icon,delay:this.props.delay,onComplete:this.onComplete,countdownTime:this.props.countdownTime,instructions:this.props.instructions})))},t.prototype.render=function(){var e=this;return this.props.paymentData?this.renderQRCode():this.props.showPayButton?b(Xp,{i18n:this.props.i18n,loadingContext:this.props.loadingContext},b(Sm,{name:this.displayName,onSubmit:this.submit,payButton:this.payButton,ref:function(t){e.componentRef=t}})):null},t.defaultProps={qrCodeImage:"",amount:null,paymentData:null,onError:function(){},onComplete:function(){}},t}(Ju),Xg=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Jc(t,e),t.prototype.formatProps=function(t){return Xc({delay:2e3,countdownTime:15},e.prototype.formatProps.call(this,t))},t.type="wechatpayQR",t}(Jg),Zg=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Jc(t,e),t.prototype.formatProps=function(t){var n=window.matchMedia("(max-width: 768px)").matches&&/Android|iPhone|iPod/.test(navigator.userAgent);return Xc({delay:2e3,countdownTime:15,shouldRedirectOnMobile:!0,buttonLabel:n?"openApp":"generateQRCode"},e.prototype.formatProps.call(this,t))},t.type="bcmc_mobile",t}(Jg),$g=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Jc(t,e),t.type="molpay_ebanking_fpx_MY",t}(_h),ev=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Jc(t,e),t.type="molpay_ebanking_TH",t}(_h),tv=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Jc(t,e),t.type="molpay_ebanking_VN",t}(_h),nv=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Jc(t,e),t.type="openbanking_UK",t}(_h);function rv(e){var t=Hu().i18n,n=function(){return["dragonpay_ebanking","dragonpay_otc_banking","dragonpay_otc_non_banking"].indexOf(e.type)>-1},r=Gd({schema:tu(tu([],n()?["issuer"]:[]),["shopperEmail"]),rules:{issuer:{validate:function(e){return n()&&!!e},modes:["input","blur"]}}}),i=r.handleChangeFor,o=r.triggerValidation,a=r.data,s=r.valid,l=r.errors,c=r.isValid,u=Ih({},e.type),d=e.items.map((function(e){return Xc(Xc({},e),{icon:u(e.id&&e.id.toLowerCase())})})),p=function(e){return"dragonpay_otc_non_banking"===e?"dragonpay.voucher.non.bank.selectField.placeholder":"dragonpay.voucher.bank.selectField.placeholder"};Bu((function(){e.onChange({isValid:c,data:a,valid:s,errors:l})}),[c,a,s,l]);var h=Du("ready"),f=h[0],m=h[1];return this.setStatus=m,this.showValidation=o,b("div",{className:"adyen-checkout__dragonpay-input__field"},b(vd,{label:t.get("shopperEmail"),errorMessage:!!l.shopperEmail},Nd("emailAddress",{name:"dragonpay.shopperEmail",autoCorrect:"off",value:a.shopperEmail,className:"adyen-checkout__input--large",spellCheck:!1,onInput:i("shopperEmail","input"),onChange:i("shopperEmail","blur")})),n()&&b(vd,{label:t.get(p(e.type)),errorMessage:!!l.issuer},Nd("select",{items:d,selected:a.issuer,placeholder:t.get(p(e.type)),name:"issuer",className:"adyen-checkout__dropdown--large adyen-checkout__issuer-list__dropdown",onChange:i("issuer")})),e.showPayButton&&e.payButton({status:f,label:t.get("confirmPurchase")}))}function iv(e){var t=e.reference,n=e.totalAmount,r=e.surcharge,i=e.expiresAt,o=e.alternativeReference,a=e.instructionsUrl,s=e.icon,l=e.issuer,c=e.paymentMethodType,u=Hu(),d=u.loadingContext,p=u.i18n,h=Ih({loadingContext:d},c)(l.toLowerCase());return b(Lm,{reference:t,paymentMethodType:c,introduction:p.get("voucher.introduction"),imageUrl:s,issuerImageUrl:h,instructionsUrl:a,amount:n&&p.amount(n.value,n.currency),surcharge:r&&p.amount(r.value,r.currency),voucherDetails:[{label:p.get("voucher.expirationDate"),value:p.date(i)},{label:p.get("voucher.alternativeReference"),value:o}],copyBtn:!0})}rv.defaultProps={data:{},items:[],onChange:function(){}};var ov=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Jc(t,e),Object.defineProperty(t.prototype,"isValid",{get:function(){return!!this.state.isValid},enumerable:!1,configurable:!0}),t.prototype.formatData=function(){var e=this.state.data,n=e.issuer,r=e.shopperEmail;return Xc(Xc({},r&&{shopperEmail:r}),{paymentMethod:Xc(Xc({},n&&{issuer:n}),{type:this.props.type||t.type})})},t.prototype.formatProps=function(e){var t,n,r;return Xc(Xc({},e),{issuers:null!==(r=null===(n=null===(t=e.details)||void 0===t?void 0:t.find((function(e){return"issuer"===e.key})))||void 0===n?void 0:n.items)&&void 0!==r?r:e.issuers})},t.prototype.render=function(){var e=this;return b(Xp,{i18n:this.props.i18n,loadingContext:this.props.loadingContext},this.props.reference?b(iv,Xc({ref:function(t){e.componentRef=t},icon:this.icon},this.props)):b(rv,Xc({ref:function(t){e.componentRef=t},items:this.props.issuers},this.props,{onChange:this.setState,onSubmit:this.submit,payButton:this.payButton})))},t.type="dragonpay",t}(Ju);function av(e){var t=Mu(null),n=Hu().i18n,r=Du("ready"),i=r[0],o=r[1];return this.setStatus=o,this.showValidation=function(){t.current&&t.current.showValidation()},b("div",{className:"adyen-checkout__doku-input__field"},b(rp,{data:e.data,requiredFields:["firstName","lastName","shopperEmail"],onChange:e.onChange,namePrefix:"doku",ref:t}),e.showPayButton&&e.payButton({status:i,label:n.get("confirmPurchase")}))}var sv=function(e){var t=e.reference,n=e.expiresAt,r=e.instructionsUrl,i=e.shopperName,o=e.merchantName,a=e.totalAmount,s=e.paymentMethodType,l=Hu(),c=l.loadingContext,u=l.i18n;return b(Lm,{paymentMethodType:s,reference:t,introduction:u.get("voucher.introduction.doku"),imageUrl:xu({loadingContext:c})(s),instructionsUrl:r,amount:a&&u.amount(a.value,a.currency),voucherDetails:[{label:u.get("voucher.expirationDate"),value:u.date(n)},{label:u.get("voucher.shopperName"),value:i},{label:u.get("voucher.merchantName"),value:o}],copyBtn:!0})},lv=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Jc(t,e),Object.defineProperty(t.prototype,"isValid",{get:function(){return!!this.state.isValid},enumerable:!1,configurable:!0}),t.prototype.formatData=function(){return Xc(Xc({},this.state.data),{paymentMethod:{type:this.props.type||t.type}})},Object.defineProperty(t.prototype,"icon",{get:function(){return xu({loadingContext:this.props.loadingContext})(this.props.type)},enumerable:!1,configurable:!0}),t.prototype.render=function(){var e=this;return b(Xp,{i18n:this.props.i18n,loadingContext:this.props.loadingContext},this.props.reference?b(sv,Xc({ref:function(t){e.componentRef=t}},this.props)):b(av,Xc({ref:function(t){e.componentRef=t}},this.props,{onChange:this.setState,onSubmit:this.submit,payButton:this.payButton})))},t.type="doku",t}(Ju),cv={socialSecurityNumber:{validate:sm,errorMessage:"",modes:["blur"]},default:{validate:function(e){return!!e&&e.length>0},errorMessage:"",modes:["blur"]}},uv={socialSecurityNumber:function(e){return am(e)}};function dv(e){var t=e.errors,n=e.value,r=e.onInput,i=e.onChange,o=Hu().i18n,a=Du(!1),s=a[0],l=a[1];return b("div",{className:q()("adyen-checkout__fieldset","adyen-checkout__fieldset--sendCopyToEmail",e.classNames)},b(vd,{classNameModifiers:["sendCopyToEmail"]},Nd("boolean",{onChange:function(t){l(t.target.checked),e.onToggle(s)},label:o.get("boleto.sendCopyToEmail"),name:"sendCopyToEmail",value:s})),s&&b(vd,{label:o.get("shopperEmail"),classNameModifiers:["shopperEmail"],errorMessage:t},Nd("emailAddress",{name:"shopperEmail",autoCorrect:"off",spellCheck:!1,value:n,onInput:r,onChange:i})))}function pv(e){var t=e.i18n,n=e.data,r=e.handleChangeFor,i=e.errors,o=e.valid;return b("div",{className:"adyen-checkout__fieldset adyen-checkout__fieldset--address adyen-checkout__fieldset--personalDetails"},b("div",{className:"adyen-checkout__fieldset__title"},t.get("personalDetails")),b("div",{className:"adyen-checkout__fieldset__fields"},b(vd,{label:t.get("firstName"),classNameModifiers:["firstName","col-50"],errorMessage:!!i.firstName},Nd("text",{name:"firstName",autocorrect:"off",spellcheck:!1,value:n.firstName,onInput:r("firstName","input"),onChange:r("firstName")})),b(vd,{label:t.get("lastName"),classNameModifiers:["lastName","col-50"],errorMessage:!!i.lastName},Nd("text",{name:"lastName",autocorrect:"off",spellcheck:!1,value:n.lastName,onInput:r("lastName","input"),onChange:r("lastName")})),b(rm,{data:n.socialSecurityNumber,error:i.socialSecurityNumber,valid:o.socialSecurityNumber,onInput:r("socialSecurityNumber","input"),onChange:r("socialSecurityNumber")})))}function hv(e){var t=Hu().i18n,n=Mu(null),r=Gd({schema:["firstName","lastName","socialSecurityNumber","billingAddress","shopperEmail"],defaultData:e.data,rules:cv,formatters:uv}),i=r.handleChangeFor,o=r.triggerValidation,a=r.setSchema,s=r.setData,l=r.setValid,c=r.setErrors,u=r.data,d=r.valid,p=r.errors,h=r.isValid,f=Du(!1),m=f[0],g=f[1];Bu((function(){var t=tu(tu(tu([],e.personalDetailsRequired?["firstName","lastName","socialSecurityNumber"]:[]),e.billingAddressRequired?["billingAddress"]:[]),m?["shopperEmail"]:[]);a(t)}),[m,e.personalDetailsRequired,e.billingAddressRequired]);var v=Du("ready"),y=v[0],A=v[1];this.setStatus=A,this.showValidation=function(){o(),e.billingAddressRequired&&n.current.showValidation()},Bu((function(){var t=!e.billingAddressRequired||Boolean(d.billingAddress);e.onChange({data:u,valid:d,errors:p,isValid:h&&t})}),[u,d,p]);var w=tu([],e.personalDetailsRequired||e.billingAddressRequired||e.showEmailAddress?[]:["standalone"]);return b("div",{className:"adyen-checkout__boleto-input__field"},e.personalDetailsRequired&&b(pv,{i18n:t,data:u,handleChangeFor:i,errors:p,valid:d}),e.billingAddressRequired&&b(Wp,{allowedCountries:["BR"],label:"billingAddress",data:Xc(Xc({},e.data.billingAddress),{country:"BR"}),onChange:function(e){s("billingAddress",e.data),l("billingAddress",e.isValid),c("billingAddress",e.errors)},requiredFields:["country","street","houseNumberOrName","postalCode","city","stateOrProvince"],ref:n}),e.showEmailAddress&&b(dv,{value:u.shopperEmail,errors:p.shopperEmail,onToggle:function(){return g(!m)},onInput:i("shopperEmail","input"),onChange:i("shopperEmail")}),e.showPayButton&&e.payButton({status:y,label:t.get("boletobancario.btnLabel"),classNameModifiers:w}))}hv.defaultProps={data:{},showEmailAddress:!0,personalDetailsRequired:!0,billingAddressRequired:!0};var fv=function(e){var t=Hu(),n=t.i18n,r=t.loadingContext,i=e.reference,o=e.expiresAt,a=e.totalAmount,s=e.paymentMethodType,l=e.downloadUrl,c=i.replace(/[^\d]/g,"").replace(/^(\d{4})(\d{5})\d{1}(\d{10})\d{1}(\d{10})\d{1}(\d{15})$/,"$1$5$2$3$4");return b(Lm,{reference:i,paymentMethodType:"boletobancario",barcode:r+"barcode.shtml?data="+c+"&barcodeType=BT_Int2of5A&fileType=png",introduction:n.get("voucher.introduction"),imageUrl:xu({loadingContext:r})(s),amount:a&&n.amount(a.value,a.currency),voucherDetails:[{label:n.get("voucher.expirationDate"),value:n.date(o)}],downloadUrl:l,copyBtn:!0})},mv=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.handleRef=function(e){t.componentRef=e},t}return Jc(t,e),Object.defineProperty(t.prototype,"isValid",{get:function(){return!!this.state.isValid},enumerable:!1,configurable:!0}),t.prototype.formatData=function(){var e=this.state.data,n=void 0===e?{}:e,r=n.billingAddress,i=n.shopperEmail,o=n.firstName,a=n.lastName,s=n.socialSecurityNumber,l=void 0===s?"":s;return Xc(Xc(Xc(Xc({paymentMethod:{type:this.props.type||t.type}},r&&{billingAddress:r}),i&&{shopperEmail:i}),o&&a&&{shopperName:{firstName:o,lastName:a}}),l&&{socialSecurityNumber:om(l)})},t.prototype.render=function(){return b(Xp,{i18n:this.props.i18n,loadingContext:this.props.loadingContext},this.props.reference?b(fv,Xc({ref:this.handleRef,icon:this.icon},this.props)):b(hv,Xc({ref:this.handleRef},this.props,{onChange:this.setState,onSubmit:this.submit,payButton:this.payButton})))},t.type="boletobancario",t}(Ju),gv=function(e){var t=Hu(),n=t.i18n,r=t.loadingContext,i=e.alternativeReference,o=e.reference,a=e.expiresAt,s=e.merchantReference,l=e.totalAmount,c=e.paymentMethodType,u=e.downloadUrl,d=r+"barcode.shtml?data="+o+"&barcodeType=BT_Code128C&fileType=png",p=tu(tu(tu([],a?[{label:n.get("voucher.expirationDate"),value:n.date(a)}]:[]),s?[{label:n.get("voucher.shopperReference"),value:s}]:[]),i?[{label:n.get("voucher.alternativeReference"),value:i}]:[]);return b(Lm,{amount:l&&n.amount(l.value,l.currency),barcode:d,copyBtn:!0,downloadUrl:u,imageUrl:xu({loadingContext:r})(c),introduction:n.get("voucher.introduction"),paymentMethodType:"oxxo",reference:o,voucherDetails:p})},vv=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.handleRef=function(e){t.componentRef=e},t}return Jc(t,e),Object.defineProperty(t.prototype,"isValid",{get:function(){return!0},enumerable:!1,configurable:!0}),t.prototype.formatProps=function(e){return Xc(Xc({},e),{name:"Oxxo"})},t.prototype.formatData=function(){return{paymentMethod:{type:this.props.type||t.type}}},t.prototype.render=function(){return b(Xp,{i18n:this.props.i18n,loadingContext:this.props.loadingContext},this.props.reference?b(gv,Xc({ref:this.handleRef},this.props)):this.payButton(Xc(Xc({},this.props),{classNameModifiers:["standalone"],label:this.props.i18n.get("continueTo")+" "+this.props.name,onClick:this.submit})))},t.type="oxxo",t}(Ju),yv=function(e){var t=Hu(),n=t.i18n,r=t.loadingContext,i=e.entity,o=e.reference,a=e.expiresAt,s=e.merchantReference,l=e.totalAmount,c=e.paymentMethodType,u=e.downloadUrl,d=tu(tu(tu([],i?[{label:n.get("voucher.entity"),value:i}]:[]),a?[{label:n.get("voucher.expirationDate"),value:n.date(a)}]:[]),s?[{label:n.get("voucher.shopperReference"),value:s}]:[]);return b(Lm,{amount:l&&n.amount(l.value,l.currency),barcode:null,copyBtn:!0,downloadUrl:u,imageUrl:xu({loadingContext:r})(c),introduction:n.get("voucher.introduction"),paymentMethodType:"multibanco",reference:o,voucherDetails:d})},Av=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.handleRef=function(e){t.componentRef=e},t}return Jc(t,e),Object.defineProperty(t.prototype,"isValid",{get:function(){return!0},enumerable:!1,configurable:!0}),t.prototype.formatProps=function(e){return Xc(Xc({},e),{name:e.name||"Multibanco"})},t.prototype.formatData=function(){return{paymentMethod:{type:this.props.type||t.type}}},t.prototype.render=function(){var e=this;return this.props.reference?b(Xp,{i18n:this.props.i18n,loadingContext:this.props.loadingContext},b(yv,Xc({ref:this.handleRef},this.props))):this.props.showPayButton?b(Xp,{i18n:this.props.i18n,loadingContext:this.props.loadingContext},b(Sm,{name:this.displayName,amount:this.props.amount,payButton:this.payButton,onSubmit:this.submit,ref:function(t){e.componentRef=t}})):null},t.type="multibanco",t.defaultProps={showPayButton:!0},t}(Ju),bv=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Jc(t,e),t.type="dotpay",t}(_h),wv=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Jc(t,e),t.prototype.formatProps=function(t){return Xc(Xc({},e.prototype.formatProps.call(this,t)),{showImage:!1})},t.type="eps",t}(_h);function xv(e){var t=e.children,n=e.classNames,r=void 0===n?[]:n,i=e.type,o=void 0===i?"error":i,a=e.icon;return b("div",{className:q()("adyen-checkout__alert-message","adyen-checkout__alert-message--"+o,r)},a&&b(pd,{className:"adyen-checkout__alert-message__icon",type:a}),t)}function Cv(e){e.brand;var t=e.amount,n=e.balance,r=e.transactionLimit,i=Zc(e,["brand","amount","balance","transactionLimit"]),o=Hu().i18n,a=t.value>(null==r?void 0:r.value)?r:t,s=(null==n?void 0:n.value)-(null==a?void 0:a.value);return b("div",{className:"adyen-checkout__giftcard-result"},b("ul",{className:"adyen-checkout__giftcard-result__balance"},b("li",{className:"adyen-checkout__giftcard-result__balance__item"},b("span",{className:"adyen-checkout__giftcard-result__balance__title"},o.get("giftcardBalance")),b("span",{className:"adyen-checkout__giftcard-result__balance__value adyen-checkout__giftcard-result__balance__value--amount"},o.amount(n.value,n.currency))),r&&b("li",{className:"adyen-checkout__giftcard-result__balance__item"},b("span",{className:"adyen-checkout__giftcard-result__balance__title adyen-checkout__giftcard-result__balance__title--transactionLimit"},o.get("giftcardTransactionLimit",{values:{amount:o.amount(r.value,r.currency)}})))),this.props.showPayButton&&this.props.payButton({amount:a,status:i.status,onClick:i.onSubmit}),b("p",{className:"adyen-checkout__giftcard-result__remaining-balance"},o.get("partialPayment.remainingBalance",{values:{amount:o.amount(s,n.currency)}})))}var Sv=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={status:"ready",data:{},balance:null,transactionLimit:null,focusedElement:!1,isValid:!1},t.onChange=function(e){t.props.onChange({data:e.data,isValid:e.isSfpValid})},t.showValidation=function(){t.sfp.showValidation()},t.handleFocus=function(e){t.setState({focusedElement:e.currentFocusObject}),!0===e.focus?t.props.onFocus(e):t.props.onBlur(e)},t.setBalance=function(e){var n=e.balance,r=e.transactionLimit;t.setState({balance:n,transactionLimit:r})},t}return Jc(t,e),t.prototype.setStatus=function(e){this.setState({status:e})},t.prototype.render=function(e,t){var n,r=this,i=t.focusedElement,o=t.balance,a=t.transactionLimit,s=Hu().i18n,l=(null==a?void 0:a.value)<(null==o?void 0:o.value)?a:o,c=(null==l?void 0:l.value)>=(null===(n=this.props.amount)||void 0===n?void 0:n.value);if(l&&c)return b(Cv,Xc({balance:o,transactionLimit:a,onSubmit:e.onSubmit},e));var u=function(e){if(e.errors.encryptedCardNumber)return s.get("error.va.gen.01");switch(r.state.status){case"no-balance":return s.get("error.giftcard.no-balance");case"card-error":return s.get("error.giftcard.card-error");case"currency-error":return s.get("error.giftcard.currency-error");default:return null}};return b("div",{className:"adyen-checkout__giftcard"},"error"===this.state.status&&b(xv,{icon:"cross"},s.get("error.message.unknown")),b(Qf,Xc({},this.props,{ref:function(e){r.sfp=e},onChange:this.onChange,onFocus:this.handleFocus,type:"giftcard",render:function(t,n){var r=t.setRootNode,o=t.setFocusOn;return b("div",{ref:r,className:"adyen-checkout__field-wrapper"},b(vd,{label:s.get("creditCard.numberField.title"),classNameModifiers:tu(["number"],e.pinRequired?["70"]:["100"]),errorMessage:u(n),focused:"encryptedCardNumber"===i,onFocusField:function(){return o("encryptedCardNumber")},dir:"ltr",name:"encryptedCardNumber"},b(Hf,{encryptedFieldType:"encryptedCardNumber","data-info":'{"length":"15-32", "maskInterval":4}',className:q()({"adyen-checkout__input":!0,"adyen-checkout__input--large":!0,"adyen-checkout__card__cardNumber__input":!0,"adyen-checkout__input--error":u(n),"adyen-checkout__input--focus":"encryptedCardNumber"===i})})),e.pinRequired&&b(vd,{label:s.get("creditCard.pin.title"),classNameModifiers:["pin","30"],errorMessage:n.errors.encryptedSecurityCode&&s.get(n.errors.encryptedSecurityCode),focused:"encryptedSecurityCode"===i,onFocusField:function(){return o("encryptedSecurityCode")},dir:"ltr",name:"encryptedSecurityCode"},b(Hf,{encryptedFieldType:"encryptedSecurityCode","data-info":'{"length":"3-10", "maskInterval": 0}',className:q()({"adyen-checkout__input":!0,"adyen-checkout__input--large":!0,"adyen-checkout__card__cvc__input":!0,"adyen-checkout__input--error":n.errors.encryptedSecurityCode,"adyen-checkout__input--focus":"encryptedSecurityCode"===i})})))}})),this.props.showPayButton&&this.props.payButton({status:this.state.status,onClick:this.props.onBalanceCheck,label:s.get("applyGiftcard")}))},t.defaultProps={pinRequired:!0,onChange:function(){},onFocus:function(){},onBlur:function(){}},t}(C),kv=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.onBalanceCheck=function(){return t.props.onBalanceCheck?t.isValid?new Promise((function(e,n){t.setStatus("loading"),t.props.onBalanceCheck(e,n,t.formatData())})).then((function(e){var n,r=e.balance,i=e.transactionLimit;if(!r)throw new Error("card-error");if((null==r?void 0:r.currency)!==(null===(n=t.props.amount)||void 0===n?void 0:n.currency))throw new Error("currency-error");if((null==r?void 0:r.value)<=0)throw new Error("no-balance");if(t.componentRef.setBalance({balance:r,transactionLimit:i}),t.props.amount.value>r.value||t.props.amount.value>i.value)return t.props.order?t.submit():t.onOrderRequest(t.data)})).catch((function(e){t.setStatus((null==e?void 0:e.message)||"error"),t.props.onError&&t.props.onError(e)})):(t.showValidation(),!1):t.submit()},t.onOrderRequest=function(e){return new Promise((function(n,r){t.props.onOrderRequest(n,r,e)})).then((function(e){t.setState({order:{orderData:e.orderData,pspReference:e.pspReference}}),t.submit()}))},t.payButton=function(e){return b(Ku,Xc({},e))},t}return Jc(t,e),t.prototype.formatProps=function(e){return Xc(Xc({},null==e?void 0:e.configuration),e)},t.prototype.formatData=function(){var e,t;return{paymentMethod:{type:this.constructor.type,brand:this.props.brand,encryptedCardNumber:null===(e=this.state.data)||void 0===e?void 0:e.encryptedCardNumber,encryptedSecurityCode:null===(t=this.state.data)||void 0===t?void 0:t.encryptedSecurityCode}}},Object.defineProperty(t.prototype,"isValid",{get:function(){return!!this.state.isValid},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"icon",{get:function(){var e;return(null===(e=this.props.brandsConfiguration[this.props.brand])||void 0===e?void 0:e.icon)||this.props.icon||xu({loadingContext:this.props.loadingContext})(this.props.brand)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"displayName",{get:function(){return this.props.name},enumerable:!1,configurable:!0}),t.prototype.render=function(){var e=this;return b(Xp,{i18n:this.props.i18n,loadingContext:this.props.loadingContext},b(Sv,Xc({ref:function(t){e.componentRef=t}},this.props,{onChange:this.setState,onBalanceCheck:this.onBalanceCheck,onSubmit:this.submit,payButton:this.payButton})))},t.type="giftcard",t.defaultProps={brandsConfiguration:{}},t}(Ju),Ev=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Jc(t,e),t.type="vipps",t.defaultProps={type:t.type,showPayButton:!0,name:"Vipps"},t}(km),Iv=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Jc(t,e),t.prototype.formatProps=function(t){return Xc(Xc({},e.prototype.formatProps.call(this,t)),{showImage:!1})},t.type="payu_IN_cashcard",t}(_h),_v=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Jc(t,e),t.prototype.formatProps=function(t){return Xc(Xc({},e.prototype.formatProps.call(this,t)),{showImage:!1})},t.type="payu_IN_nb",t}(_h),Pv=["AT","CH","DE","NL"],Ov=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Jc(t,e),t.prototype.formatProps=function(t){return Xc(Xc({},e.prototype.formatProps.call(this,t)),{allowedCountries:t.countryCode?[t.countryCode]:Pv})},t.type="ratepay",t}(Zp),Tv=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Jc(t,e),t.prototype.formatProps=function(t){return Xc({shouldRedirectOnMobile:!0,delay:2e3,countdownTime:15,instructions:"swish.pendingMessage"},e.prototype.formatProps.call(this,t))},t.type="swish",t}(Jg),Dv={isDropin:!0,onReady:function(){},onComplete:function(){},onCancel:function(){},onError:function(){},onSelect:function(){},onDisableStoredPaymentMethod:null,onChange:function(){},onSubmit:function(){},onAdditionalDetails:function(){},amount:{},installmentOptions:{},paymentMethodsConfiguration:{},openFirstPaymentMethod:!0,openFirstStoredPaymentMethod:!0,showStoredPaymentMethods:!0,showPaymentMethods:!0,showRemoveStoredPaymentMethodButton:!1,showPayButton:!0},jv=function(e){var t=e.paymentMethodComponent,n=e.isLoaded;return t&&n?b("div",{className:"adyen-checkout__payment-method__details__content"},t):null},Bv={"adyen-checkout__payment-methods-list":"DropinComponent-module_adyen-checkout__payment-methods-list__2T9kQ","adyen-checkout__payment-method":"DropinComponent-module_adyen-checkout__payment-method__2ZClo","adyen-checkout__payment-method__details":"DropinComponent-module_adyen-checkout__payment-method__details__2_jFP","adyen-checkout__payment-method__image":"DropinComponent-module_adyen-checkout__payment-method__image__Fg2uw","adyen-checkout__payment-method__image__wrapper":"DropinComponent-module_adyen-checkout__payment-method__image__wrapper__pTTKr","adyen-checkout__payment-method--selected":"DropinComponent-module_adyen-checkout__payment-method--selected__1zXEA"},Nv=["googlepay","paywithgoogle"],Mv=function(e){var t=e.src,n=e.altDescription,r=e.type,i=e.disabled,o=void 0!==i&&i;return b("span",{className:q()("adyen-checkout__payment-method__image__wrapper",Bv["adyen-checkout__payment-method__image__wrapper"],{"adyen-checkout__payment-method__image__wrapper--outline":!Nv.includes(r),"adyen-checkout__payment-method__image__wrapper--disabled":!!o})},b(_d,{className:"adyen-checkout__payment-method__image "+Bv["adyen-checkout__payment-method__image"],src:t,alt:n,focusable:"false"}))},Rv=function(e){var t=e.id,n=e.open,r=e.onDisable,i=e.onCancel,o=Hu().i18n;return b("div",{id:t,"aria-hidden":!n,className:q()({"adyen-checkout__payment-method__disable-confirmation":!0,"adyen-checkout__payment-method__disable-confirmation--open":n})},b("div",{className:"adyen-checkout__payment-method__disable-confirmation__content"},o.get("storedPaymentMethod.disable.confirmation"),b("div",{className:"adyen-checkout__payment-method__disable-confirmation__buttons"},b("button",{type:"button",className:q()("adyen-checkout__button","adyen-checkout__payment-method__disable-confirmation__button","adyen-checkout__payment-method__disable-confirmation__button--remove"),disabled:!n,onClick:r},o.get("storedPaymentMethod.disable.confirmButton")),b("button",{type:"button",className:q()("adyen-checkout__button","adyen-checkout__payment-method__disable-confirmation__button","adyen-checkout__payment-method__disable-confirmation__button--cancel"),disabled:!n,onClick:i},o.get("storedPaymentMethod.disable.cancelButton")))))},Lv=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={showDisableStoredPaymentMethodConfirmation:!1},t.isMouseDown=!1,t.onFocus=function(){t.isMouseDown||t.props.onSelect()},t.onClick=function(){t.props.onSelect()},t.onMouseDown=function(){t.isMouseDown=!0},t.onMouseUp=function(){t.isMouseDown=!1},t.toggleDisableConfirmation=function(){t.setState({showDisableStoredPaymentMethodConfirmation:!t.state.showDisableStoredPaymentMethodConfirmation})},t.onDisableStoredPaymentMethod=function(){t.props.onDisableStoredPaymentMethod(t.props.paymentMethod),t.toggleDisableConfirmation()},t}return Jc(t,e),t.prototype.componentDidMount=function(){var e=this;this.props.paymentMethod.eventEmitter.on("brand",(function(t){e.setState({activeBrand:t.brand})}))},t.prototype.componentWillUnmount=function(){var e=this;this.props.paymentMethod.eventEmitter.off("brand",(function(t){e.setState({activeBrand:t.brand})}))},t.prototype.render=function(e,t){var n,r,i=e.paymentMethod,o=e.isSelected,a=e.isDisabling,s=e.isLoaded,l=e.isLoading,c=e.onSelect,u=e.standalone,d=t.activeBrand,p=void 0===d?null:d,h=Hu().i18n;if(!i)return null;var f=q()(((n={"adyen-checkout__payment-method":!0})[Bv["adyen-checkout__payment-method"]]=!0,n["adyen-checkout__payment-method--"+i.props.type]=!0,n["adyen-checkout__payment-method--"+(null!==(r=i.props.fundingSource)&&void 0!==r?r:"credit")]=!0,n["adyen-checkout__payment-method--selected"]=o,n[Bv["adyen-checkout__payment-method--selected"]]=o,n["adyen-checkout__payment-method--loading"]=l,n["adyen-checkout__payment-method--disabling"]=a,n["adyen-checkout__payment-method--confirming"]=this.state.showDisableStoredPaymentMethodConfirmation,n["adyen-checkout__payment-method--standalone"]=u,n[Bv["adyen-checkout__payment-method--loading"]]=l,n[i._id]=!0,n[this.props.className]=!0,n)),m=this.props.showRemovePaymentMethodButton&&i.props.oneClick&&o,g="remove-"+i._id,v="container-"+i._id,y="button-"+i._id,A=!i.props.oneClick&&i.brands&&i.brands.length>0;return b("li",{key:i._id,className:f,onFocus:this.onFocus,onClick:c,onMouseDown:this.onMouseDown,onMouseUp:this.onMouseUp,"aria-labelledby":y},b("div",{className:"adyen-checkout__payment-method__header"},b("button",{className:"adyen-checkout__payment-method__header__title",id:y,"aria-label":i.accessibleName,"aria-expanded":o,"aria-controls":v,onClick:c},b("span",{className:q()({"adyen-checkout__payment-method__radio":!0,"adyen-checkout__payment-method__radio--selected":o}),"aria-hidden":"true"}),b(Mv,{altDescription:i.props.name,type:i.type,src:i.icon}),b("span",{className:q()({"adyen-checkout__payment-method__name":!0,"adyen-checkout__payment-method__name--selected":o})},i.displayName)),m&&b("button",{type:"button",className:"adyen-checkout__button adyen-checkout__button--inline adyen-checkout__button--link",onClick:this.toggleDisableConfirmation,"aria-expanded":this.state.showDisableStoredPaymentMethodConfirmation,"aria-controls":g},h.get("storedPaymentMethod.disable.button")),A&&b("span",{className:"adyen-checkout__payment-method__brands"},i.brands.map((function(e){return b(Mv,{key:e.name,altDescription:e.name,type:e.name,disabled:p&&e.name!==p,src:e.icon})})))),b("div",{className:"adyen-checkout__payment-method__details "+Bv["adyen-checkout__payment-method__details"],id:v,role:"region","aria-labelledby":y},m&&b(Rv,{id:g,open:this.state.showDisableStoredPaymentMethodConfirmation,onDisable:this.onDisableStoredPaymentMethod,onCancel:this.toggleDisableConfirmation}),b(jv,{paymentMethodComponent:i.render(),isLoaded:s})))},t.defaultProps={paymentMethod:null,isSelected:!1,isLoaded:!1,isLoading:!1,showDisableStoredPaymentMethodConfirmation:!1,onSelect:function(){}},t}(C),Fv=function(e){var t,n=e.order,r=e.orderStatus,i=e.onOrderCancel,o=Hu(),a=o.loadingContext,s=o.i18n;return b("div",null,b("ul",{className:"adyen-checkout__order-payment-methods-list"},null===(t=null==r?void 0:r.paymentMethods)||void 0===t?void 0:t.map((function(e,t){return b("li",{key:e.type+"-"+t,className:"adyen-checkout__order-payment-method"},b("div",{className:"adyen-checkout__order-payment-method__header"},b("div",{className:"adyen-checkout__payment-method__header__title"},b(Mv,{altDescription:e.name,type:e.type,src:xu({loadingContext:a})(e.type)}),"\u2022\u2022\u2022\u2022 ",e.lastFour),i&&b("button",{type:"button",className:"adyen-checkout__button adyen-checkout__button--inline adyen-checkout__button--link",onClick:function(){i({order:n})}},s.get("storedPaymentMethod.disable.button"))),b("div",{className:"adyen-checkout__order-payment-method__details"},b("div",{className:"adyen-checkout__order-payment-method__deducted-amount"},b("div",{className:"adyen-checkout__order-payment-method__deducted-amount__label"},s.get("deductedBalance")),b("div",{className:"adyen-checkout__order-payment-method__deducted-amount__value"},s.amount(e.amount.value,e.amount.currency)))))}))),r.remainingAmount&&b("div",{className:"adyen-checkout__order-remaining-amount"},s.get("partialPayment.warning")," ",b("strong",null,s.amount(r.remainingAmount.value,r.remainingAmount.currency))))},zv=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.onSelect=function(e){return function(){return t.props.onSelect(e)}},t}return Jc(t,e),t.prototype.componentDidMount=function(){if(this.props.paymentMethods[0]){var e=this.props.paymentMethods[0];(this.props.openFirstStoredPaymentMethod&&!0===hu(e,"props.oneClick")||this.props.openFirstPaymentMethod)&&this.onSelect(e)()}},t.prototype.render=function(e){var t,n=this,r=e.paymentMethods,i=e.activePaymentMethod,o=e.cachedPaymentMethods,a=e.isLoading,s=q()(((t={})[Bv["adyen-checkout__payment-methods-list"]]=!0,t["adyen-checkout__payment-methods-list"]=!0,t["adyen-checkout__payment-methods-list--loading"]=a,t));return b(x,null,this.props.orderStatus&&b(Fv,{order:this.props.order,orderStatus:this.props.orderStatus,onOrderCancel:this.props.onOrderCancel}),b("ul",{className:s},r.map((function(e,t,s){var l=i&&i._id===e._id,c=e._id in o,u=i&&s[t+1]&&i._id===s[t+1]._id;return b(Lv,{className:q()({"adyen-checkout__payment-method--next-selected":u}),standalone:1===r.length,paymentMethod:e,isSelected:l,isDisabling:l&&n.props.isDisabling,isLoaded:c,isLoading:a,onSelect:n.onSelect(e),key:e._id,showRemovePaymentMethodButton:n.props.showRemovePaymentMethodButton,onDisableStoredPaymentMethod:n.props.onDisableStoredPaymentMethod})}))))},t.defaultProps={paymentMethods:[],activePaymentMethod:null,cachedPaymentMethods:{},orderStatus:null,onSelect:function(){},onDisableStoredPaymentMethod:function(){},isDisabling:!1,isLoading:!1},t}(C),Qv=function(e){var t=e.message,n=Hu(),r=n.i18n,i=n.loadingContext;return b("div",{className:"adyen-checkout__status adyen-checkout__status--success"},b(_d,{height:"88",className:"adyen-checkout__status__icon",src:xu({loadingContext:i,extension:"gif",imageFolder:"components/"})("success"),alt:r.get(t||"creditCard.success")}),b("span",{className:"adyen-checkout__status__text"},r.get(t||"creditCard.success")))},Uv=function(e){var t=e.message,n=Hu(),r=n.loadingContext,i=n.i18n;return b("div",{className:"adyen-checkout__status adyen-checkout__status--error"},b(_d,{className:"adyen-checkout__status__icon",src:xu({loadingContext:r,extension:"gif",imageFolder:"components/"})("error"),alt:i.get(t||"error.message.unknown"),height:"88"}),b("span",{className:"adyen-checkout__status__text"},i.get(t||"error.message.unknown")))};var Vv=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={elements:[],orderStatus:null,isDisabling:!1,status:{type:"loading"},activePaymentMethod:null,cachedPaymentMethods:{}},t.prepareDropinData=function(){var e=t.props,n=e.order,r=e.clientKey,i=e.loadingContext,o=t.props.onCreateElements(),a=o[0],s=o[1],l=n?function(e,t){var n={path:"v1/order/status?clientKey="+e.clientKey,loadingContext:e.loadingContext};return Qp(n,{orderData:t.orderData})}({clientKey:r,loadingContext:i},n):null;Promise.all([a,s,l]).then((function(e){var n=e[0],r=e[1],i=e[2];t.setState({elements:tu(tu([],n),r),orderStatus:i}),t.setStatus({type:"ready"}),t.props.modules.analytics&&t.props.modules.analytics.send({containerWidth:t.base&&t.base.offsetWidth,paymentMethods:r.map((function(e){return e.props.type})),component:"dropin",flavor:"dropin"})}))},t.setStatus=function(e){t.setState({status:e})},t.setActivePaymentMethod=function(e){t.setState((function(t){var n;return{activePaymentMethod:e,cachedPaymentMethods:Xc(Xc({},t.cachedPaymentMethods),(n={},n[e._id]=!0,n))}}))},t.handleOnSelectPaymentMethod=function(e){var n=t.state.activePaymentMethod;t.setActivePaymentMethod(e),(n&&n._id!==e._id||!n)&&t.props.onSelect(e)},t.handleDisableStoredPaymentMethod=function(e){t.setState({isDisabling:!0}),new Promise((function(n,r){return t.props.onDisableStoredPaymentMethod(e.props.storedPaymentMethodId,n,r)})).then((function(){t.setState((function(t){return{elements:t.elements.filter((function(t){return t._id!==e._id}))}})),t.setState({isDisabling:!1})})).catch((function(){t.setState({isDisabling:!1})}))},t}return Jc(t,e),t.prototype.componentDidMount=function(){this.prepareDropinData()},t.prototype.componentDidUpdate=function(e,t){t.status.type!==this.state.status.type&&this.state.activePaymentMethod&&this.state.activePaymentMethod.setStatus(this.state.status.type),"ready"===this.state.status.type&&"ready"!==t.status.type&&this.props.onReady&&this.props.onReady()},t.prototype.closeActivePaymentMethod=function(){this.setState({activePaymentMethod:null})},t.prototype.render=function(e,t){var n,r,i=t.elements,o=t.status,a=t.activePaymentMethod,s=t.cachedPaymentMethods,l="loading"===o.type,c="redirect"===o.type;switch(o.type){case"success":return b(Qv,{message:null===(n=o.props)||void 0===n?void 0:n.message});case"error":return b(Uv,{message:null===(r=o.props)||void 0===r?void 0:r.message});case"custom":return o.props.component.render();default:return b("div",{className:"adyen-checkout__dropin adyen-checkout__dropin--"+o.type},c&&o.props.component&&o.props.component.render(),l&&o.props&&o.props.component&&o.props.component.render(),i&&!!i.length&&b(zv,{isLoading:l||c,isDisabling:this.state.isDisabling,paymentMethods:i,activePaymentMethod:a,cachedPaymentMethods:s,order:this.props.order,orderStatus:this.state.orderStatus,onOrderCancel:this.props.onOrderCancel,onSelect:this.handleOnSelectPaymentMethod,openFirstPaymentMethod:this.props.openFirstPaymentMethod,openFirstStoredPaymentMethod:this.props.openFirstStoredPaymentMethod,onDisableStoredPaymentMethod:this.handleDisableStoredPaymentMethod,showRemovePaymentMethodButton:this.props.showRemovePaymentMethodButton}))}},t}(C),Gv=["androidpay","samsungpay"],qv=function(e){return!Gv.includes(e.constructor.type)},Hv=function(e){return!!e},Wv=function(e){if(e.isAvailable){var t=new Promise((function(e,t){return setTimeout(t,5e3)}));return Promise.race([e.isAvailable(),t])}return Promise.resolve(!!e)},Yv=function(e,t,n){void 0===e&&(e=[]);var r=e.map((function(e){return n(e,t)})).filter(Hv).filter(qv),i=r.map(Wv).map((function(e){return e.catch((function(e){return e}))}));return Promise.all(i).then((function(e){return r.filter((function(t,n){return!0===e[n]}))}))},Kv=function(e){function t(t){var n=e.call(this,t)||this;return n.dropinRef=null,n.handleSubmit=function(){var e=n.activePaymentMethod,t=e.data,r=e.isValid;return r?(!1!==n.props.setStatusAutomatically&&n.setStatus("loading"),n.props.onSubmit({data:t,isValid:r},n)):(n.showValidation(),!1)},n.handleCreate=function(){var e=n.props,t=e.paymentMethods,r=e.storedPaymentMethods,i=e.showStoredPaymentMethods,o=e.showPaymentMethods,a=e._parentInstance,s=function(e){return{elementRef:e.elementRef,showPayButton:e.showPayButton,isDropin:!0}}(Xc(Xc({},n.props),{elementRef:n.elementRef}));return[i?function(e,t,n){return void 0===e&&(e=[]),Yv(e,Xc(Xc({},t),{oneClick:!0}),n)}(r,s,null==a?void 0:a.create):[],o?Yv(t,s,null==a?void 0:a.create):[]]},n.submit=n.submit.bind(n),n}return Jc(t,e),Object.defineProperty(t.prototype,"isValid",{get:function(){return!!this.dropinRef&&!!this.dropinRef.state.activePaymentMethod&&!!this.dropinRef.state.activePaymentMethod.isValid},enumerable:!1,configurable:!0}),t.prototype.showValidation=function(){return this.dropinRef.state.activePaymentMethod&&this.dropinRef.state.activePaymentMethod.showValidation(),this},t.prototype.setStatus=function(e,t){var n;return void 0===t&&(t={}),null===(n=this.dropinRef)||void 0===n||n.setStatus({type:e,props:t}),this},Object.defineProperty(t.prototype,"activePaymentMethod",{get:function(){var e,t;return(null===(e=this.dropinRef)||void 0===e?void 0:e.state)||(null===(t=this.dropinRef)||void 0===t?void 0:t.state.activePaymentMethod)?this.dropinRef.state.activePaymentMethod:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"data",{get:function(){return this.activePaymentMethod?this.dropinRef.state.activePaymentMethod.data:null},enumerable:!1,configurable:!0}),t.prototype.submit=function(){var e=this;if(!this.activePaymentMethod)throw new Error("No active payment method.");this.activePaymentMethod.startPayment().then(this.handleSubmit).catch((function(t){return e.props.onError(t)}))},t.prototype.handleAction=function(e,t){var n,r=this;if(void 0===t&&(t={}),!e||!e.type)throw new Error("Invalid Action");if("redirect"!==e.type&&(null===(n=this.activePaymentMethod)||void 0===n?void 0:n.updateWithAction))return this.activePaymentMethod.updateWithAction(e);var i=this.props._parentInstance.createFromAction(e,Xc(Xc({},t),{elementRef:this.elementRef,onAdditionalDetails:function(e){return r.props.onAdditionalDetails(e,r.elementRef)},isDropin:!0}));return i?this.setStatus(i.props.statusType,{component:i}):null},t.prototype.closeActivePaymentMethod=function(){this.dropinRef.closeActivePaymentMethod()},t.prototype.render=function(){var e=this;return b(Xp,{i18n:this.props.i18n,loadingContext:this.props.loadingContext},b(Vv,Xc({},this.props,{onChange:this.setState,onSubmit:this.handleSubmit,elementRef:this.elementRef,onCreateElements:this.handleCreate,ref:function(t){e.dropinRef=t}})))},t.type="dropin",t.defaultProps=Dv,t}(Ju),Jv="AchInput-module_adyen-checkout__input__1SeSl",Xv=function(e){var t,n=e.id,r=e.dataInfo,i=e.className,o=void 0===i?"":i,a=e.label,s=e.focused,l=e.filled,c=e.errorMessage,u=void 0===c?"":c,d=e.isValid,p=void 0!==d&&d,h=e.onFocusField,f=e.dir,m="encrypted"+(n.charAt(0).toUpperCase()+n.slice(1));return b(vd,{label:a,focused:s,filled:l,classNameModifiers:[n],onFocusField:function(){return h(m)},errorMessage:u,isValid:p,className:o,dir:f,name:n},b(Hf,{encryptedFieldType:m,"data-info":r,className:q()((t={"adyen-checkout__input":!0,"adyen-checkout__input--large":!0},t[Jv]=!0,t["adyen-checkout__input--error"]=u.length,t["adyen-checkout__input--focus"]=s,t["adyen-checkout__input--valid"]=p,t))}))},Zv=function(e){var t=e.focusedElement,n=e.onFocusField,r=e.errors,i=e.valid,o=Hu().i18n;return b("div",{className:"adyen-checkout__ach-sf__form adyen-checkout__field-wrapper"},b(Xv,{id:"bankAccountNumber",focused:"encryptedBankAccountNumber"===t,isValid:!!i.encryptedBankAccountNumber,label:o.get("ach.accountNumberField.title"),onFocusField:n,filled:!!r.encryptedBankAccountNumber||!!i.encryptedBankAccountNumber,errorMessage:!!r.encryptedBankAccountNumber&&o.get("ach.accountNumberField.invalid"),dataInfo:'{"length":"4-17", "maskInterval": 4}',className:"adyen-checkout__field--50",dir:"ltr"}),b(Xv,{id:"bankLocationId",focused:"encryptedBankLocationId"===t,isValid:!!i.encryptedBankLocationId,label:o.get("ach.accountLocationField.title"),onFocusField:n,filled:!!r.encryptedBankLocationId||!!i.encryptedBankLocationId,errorMessage:!!r.encryptedBankLocationId&&o.get("ach.accountLocationField.invalid"),dataInfo:'{"length":9}',className:"adyen-checkout__field--50",dir:"ltr"}))},$v={base:{caretColor:"#0066FF"}};function ey(e,t){return void 0===t&&(t=!1),!t||!!e&&"string"==typeof e&&e.trim().length>0}function ty(e){var t=this,n=Hu().i18n,r=e.hasHolderName&&(e.holderName||e.data.holderName),i=Du({}),o=i[0],a=i[1],s=Du(Xc({},e.holderNameRequired&&{holderName:r})),l=s[0],c=s[1],u=Du(Xc({},e.hasHolderName&&{holderName:e.holderName||e.data.holderName})),d=u[0],p=u[1],h=Du(e.billingAddressRequired?e.data.billingAddress:null),f=h[0],m=h[1],g=Du(!1),v=g[0],y=g[1],A=Du(""),w=A[0],x=A[1],C=function(e){m(Xc(Xc({},f),e.data)),c(Xc(Xc({},l),{billingAddress:e.isValid}))},S=function(t){var n=t.target.value;p(Xc(Xc({},d),{holderName:n})),a(Xc(Xc({},o),{holderName:!!e.holderNameRequired&&!ey(n)})),c(Xc(Xc({},l),{holderName:!e.holderNameRequired||ey(n,e.holderNameRequired)}))},k=Mu(null),E=Mu(null),I=Du("ready"),_=I[0],P=I[1];return this.setStatus=function(e){P(e)},this.showValidation=function(){k.current.showValidation(),e.holderNameRequired&&!l.holderName&&a(Xc(Xc({},o),{holderName:!0})),E.current&&E.current.showValidation()},Bu((function(){return t.setFocusOn=k.current.setFocusOn,t.updateStyles=k.current.updateStyles,function(){k.current.destroy()}}),[]),Bu((function(){var t=ey(d.holderName,e.holderNameRequired),n=v,r=!e.billingAddressRequired||Boolean(l.billingAddress),i=n&&t&&r;e.onChange({data:d,isValid:i,billingAddress:f})}),[d,l,o]),b("div",{className:"adyen-checkout__ach"},b(Qf,Xc({ref:k},e,{styles:Xc(Xc({},$v),e.styles),onChange:function(t){var n=t,r=n.autoCompleteName?n.autoCompleteName:d.holderName;p(Xc(Xc(Xc({},d),n.data),{holderName:r})),a(Xc(Xc({},o),n.errors)),c(Xc(Xc(Xc({},l),n.valid),{holderName:!e.holderNameRequired||ey(r,e.holderNameRequired)})),y(n.isSfpValid)},onFocus:function(t){var n=!0===t.focus;x(t.currentFocusObject),n?e.onFocus(t):e.onBlur(t)},render:function(t,r){var i=t.setRootNode,a=t.setFocusOn;return b("div",{ref:i,className:"adyen-checkout__ach-input AchInput-module_sf-input__wrapper__1V7mk"},b(Gf,{status:r.status},b("div",{className:q()(["adyen-checkout__fieldset","adyen-checkout__fieldset--ach"])},b("div",{className:"adyen-checkout__fieldset__title"},n.get("ach.bankAccount")),e.hasHolderName&&b(vd,{label:n.get("ach.accountHolderNameField.title"),className:"adyen-checkout__pm__holderName",errorMessage:!!o.holderName&&n.get("ach.accountHolderNameField.invalid"),isValid:!!l.holderName,name:"holderName"},Nd("text",{className:"adyen-checkout__pm__holderName__input "+Jv,placeholder:e.placeholders.holderName||n.get("ach.accountHolderNameField.placeholder"),value:d.holderName,required:e.holderNameRequired,onInput:S})),b(Zv,{focusedElement:w,onFocusField:a,errors:r.errors,valid:r.valid})),e.billingAddressRequired&&b(Wp,{label:"billingAddress",data:f,onChange:C,allowedCountries:e.billingAddressAllowedCountries,requiredFields:e.billingAddressRequiredFields,ref:E})))}})),e.showPayButton&&e.payButton({status:_,label:n.get("confirmPurchase")}))}ty.defaultProps={details:[],type:"ach",hasHolderName:!0,holderNameRequired:!0,billingAddressRequired:!0,billingAddressAllowedCountries:["US","PR"],onLoad:function(){},onConfigSuccess:function(){},onAllValid:function(){},onFieldValid:function(){},onBrand:function(){},onError:function(){},onBinValue:function(){},onBlur:function(){},onFocus:function(){},onChange:function(){},holderName:"",data:{holderName:"",billingAddress:{}},styles:{},placeholders:{}};var ny=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Jc(t,e),t.prototype.formatProps=function(e){var t;return Xc(Xc({},e),{holderNameRequired:null!==(t=e.hasHolderName)&&void 0!==t?t:e.holderNameRequired})},t.prototype.formatData=function(){var e,n=Xc(Xc({type:t.type},this.state.data),{ownerName:null===(e=this.state.data)||void 0===e?void 0:e.holderName});return delete n.holderName,Xc({paymentMethod:n},this.state.billingAddress&&{billingAddress:this.state.billingAddress})},t.prototype.updateStyles=function(e){return this.componentRef&&this.componentRef.updateStyles&&this.componentRef.updateStyles(e),this},t.prototype.setFocusOn=function(e){return this.componentRef&&this.componentRef.setFocusOn&&this.componentRef.setFocusOn(e),this},Object.defineProperty(t.prototype,"isValid",{get:function(){return!!this.state.isValid},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"displayName",{get:function(){return this.props.name},enumerable:!1,configurable:!0}),t.prototype.render=function(){var e=this;return b(Xp,{i18n:this.props.i18n,loadingContext:this.props.loadingContext},b(ty,Xc({ref:function(t){e.componentRef=t}},this.props,{onChange:this.setState,onSubmit:this.submit,payButton:this.payButton})))},t.type="ach",t}(Ju),ry=/^[+]*[0-9]{1,4}[\s/0-9]*$/;function iy(e){var t=Hu().i18n,n=Gd({schema:["telephoneNumber"],defaultData:e.data,rules:{telephoneNumber:{validate:function(e){return ry.test(e)&&e.length>=7},errorMessage:"mobileNumber.invalid",modes:["blur"]}},formatters:{telephoneNumber:function(e){return e.replace(/[^0-9+\s]/g,"")}}}),r=n.handleChangeFor,i=n.triggerValidation,o=n.data,a=n.valid,s=n.errors,l=n.isValid,c=Du("ready"),u=c[0],d=c[1];return this.setStatus=d,this.showValidation=i,Bu((function(){e.onChange({data:o,valid:a,errors:s,isValid:l})}),[o,a,s,l]),b("div",{className:"adyen-checkout__mb-way"},b(vd,{errorMessage:!!s.telephoneNumber&&t.get("mobileNumber.invalid"),label:t.get("mobileNumber"),className:q()("adyen-checkout__input--phone-number"),isValid:a.telephoneNumber,dir:"ltr",name:"telephoneNumber"},Nd("tel",{value:o.telephoneNumber,className:"adyen-checkout__pm__phoneNumber__input",placeholder:e.placeholders.telephoneNumber,required:!0,autoCorrect:"off",onChange:r("telephoneNumber","blur"),onInput:r("telephoneNumber","input")})),e.showPayButton&&e.payButton({status:u,label:t.get("confirmPurchase")}))}iy.defaultProps={onChange:function(){}};function oy(e){var t=this,n=Hu(),r=n.i18n,i=n.loadingContext,o=Du(!1),a=o[0],s=o[1],l=Du(!1),c=l[0],u=l[1],d=Du(!0),p=d[0],h=d[1],f=Du(e.delay),m=f[0],g=f[1],v=Du(100),y=v[0],A=v[1],w=Du(0),x=w[0],C=w[1],S=Du(!1),k=S[0],E=S[1],I=Du(null),_=I[0],P=I[1],O=function(){Hg(e.paymentData,e.clientKey,i).then(Yg).catch((function(e){var n=e.message,r=Zc(e,["message"]);return{type:"network-error",props:Xc(Xc({},n&&{message:t.props.i18n.get(n)}),r)}})).then((function(n){switch(n.type){case"success":!function(n){s(!0);var r={data:{details:{payload:n.props.payload},paymentData:e.paymentData}};e.onComplete(r,t)}(n);break;case"error":!function(n){u(!0);var r={data:{details:{payload:n.props.payload},paymentData:e.paymentData}};e.onComplete(r,t)}(n);break;default:h(!1)}}))};Bu((function(){var n=e.shouldRedirectOnMobile,r=e.url,i=window.matchMedia("(max-width: 768px)").matches&&/Android|iPhone|iPod/.test(navigator.userAgent);return n&&r&&i?t.redirectToApp(r,O):O(),function(){clearTimeout(_)}}),[]),Bu((function(){return c||a?clearTimeout(_):void(p||P(setTimeout((function(){O();var t=x+m;C(t),t>=e.throttleTime&&!k&&(g(e.throttleInterval),E(!0))}),m)))}),[p,x,c,a]);var T=function(e,t){return b("div",{className:"adyen-checkout__await adyen-checkout__await--result"},b("img",{className:"adyen-checkout__await__icon adyen-checkout__await__icon--result",src:xu({loadingContext:i,imageFolder:"components/"})(e),alt:r.get(t)}),b("div",{className:"adyen-checkout__await__subtitle adyen-checkout__await__subtitle--result"},r.get(t)))};if(c)return T("error","error.subtitle.payment");if(a)return T("success","creditCard.success");if(p)return b("div",{className:"adyen-checkout__await"},e.brandLogo&&b("img",{src:e.brandLogo,alt:e.type,className:"adyen-checkout__await__brand-logo"}),b(Cu,{inline:!1,size:"large"}));var D=r.get("wechatpay.timetopay").split("%@");return b("div",{className:q()("adyen-checkout__await","adyen-checkout__await--"+e.type,e.classNameModifiers.map((function(e){return"adyen-checkout__await--"+e})))},e.brandLogo&&b("img",{src:e.brandLogo,alt:e.type,className:"adyen-checkout__await__brand-logo"}),b("div",{className:"adyen-checkout__await__subtitle"},e.messageText),b("div",{className:"adyen-checkout__await__indicator-holder"},b("div",{className:"adyen-checkout__await__indicator-spinner"},b(Cu,{inline:!1,size:"medium"})),b("div",{className:"adyen-checkout__await__indicator-text"},e.awaitText)),e.showCountdownTimer&&b("div",{className:"adyen-checkout__await__countdown-holder"},b("div",{className:"adyen-checkout__await__progress"},b("span",{className:"adyen-checkout__await__percentage",style:{width:y+"%"}})),b("div",{className:"adyen-checkout__await__countdown"},D[0],"\xa0",b(qg,{minutesFromNow:e.countdownTime,onTick:function(e){A(e.percentage)},onCompleted:function(){u(!0),clearTimeout(_),e.onError({type:"error",props:{errorMessage:"Payment Expired"}},t)}}),"\xa0",D[1])),e.url&&b("div",{className:"adyen-checkout__await__app-link"},b("span",{className:"adyen-checkout__await__separator__label"},r.get("or")),b(Wu,{classNameModifiers:["await"],onClick:function(){return n=e.url,void 0===r&&(r=function(){}),setTimeout((function(){var n=e.type+" App was not found";e.onError(n,t),r()}),25),void window.location.assign(n);var n,r},label:r.get("openApp")})))}oy.defaultProps={countdownTime:15,onError:function(){},onComplete:function(){},throttleTime:6e4,throttleInterval:1e4,showCountdownTimer:!0,classNameModifiers:[],shouldRedirectOnMobile:!1,url:null};var ay=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Jc(t,e),t.prototype.formatProps=function(e){var t=e.data,n=void 0===t?{}:t,r=e.placeholders,i=void 0===r?{}:r;return Xc(Xc({},e),{data:{telephoneNumber:n.telephoneNumber||n.phoneNumber},placeholders:{telephoneNumber:i.telephoneNumber||i.phoneNumber||"+351 932 123 456"}})},t.prototype.formatData=function(){var e;return{paymentMethod:Xc({type:t.type},(null===(e=this.state.data)||void 0===e?void 0:e.telephoneNumber)&&{telephoneNumber:this.state.data.telephoneNumber})}},Object.defineProperty(t.prototype,"isValid",{get:function(){return!!this.state.isValid},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"displayName",{get:function(){return this.props.name},enumerable:!1,configurable:!0}),t.prototype.render=function(){var e=this;return this.props.paymentData?b(Xp,{i18n:this.props.i18n,loadingContext:this.props.loadingContext},b(oy,{ref:function(t){e.componentRef=t},clientKey:this.props.clientKey,paymentData:this.props.paymentData,onError:this.props.onError,onComplete:this.onComplete,brandLogo:this.icon,type:"mbway",messageText:this.props.i18n.get("mbway.confirmPayment"),awaitText:this.props.i18n.get("await.waitForConfirmation"),showCountdownTimer:false,delay:2e3,countdownTime:15,throttleTime:6e4,throttleInterval:1e4})):b(Xp,{i18n:this.props.i18n,loadingContext:this.props.loadingContext},b(iy,Xc({ref:function(t){e.componentRef=t}},this.props,{onChange:this.setState,onSubmit:this.submit,payButton:this.payButton})))},t.type="mbway",t}(Ju);function sy(e){var t=this,n=Hu(),r=n.i18n,i=n.loadingContext,o=Gd({schema:["blikCode"],rules:{blikCode:{validate:function(e){return 6===(null==e?void 0:e.length)},errorMessage:"blik.invalid",modes:["blur"]}}}),a=o.handleChangeFor,s=o.triggerValidation,l=o.data,c=o.valid,u=o.errors,d=o.isValid;Bu((function(){e.onChange({data:l,errors:u,valid:c,isValid:d},t)}),[l,c,u,d]);var p=Du("ready"),h=p[0],f=p[1];return this.setStatus=f,this.showValidation=s,b("div",{className:"adyen-checkout__blik"},b("p",{className:"adyen-checkout__blik__helper"},r.get("blik.help")),b(vd,{errorMessage:!!u.blikCode&&r.get(u.blikCode.errorMessage),label:r.get("blik.code"),classNameModifiers:["blikCode","50"],isValid:c.blikCode,dir:"ltr"},Nd("text",{value:l.blikCode,name:"blikCode",spellcheck:!1,required:!0,autocorrect:"off",onInput:a("blikCode","input"),onChange:a("blikCode","blur"),placeholder:"123456",maxLength:6})),e.showPayButton&&e.payButton({status:h,icon:xu({loadingContext:i,imageFolder:"components/"})("lock")}))}sy.defaultProps={data:{blikCode:""}};var ly=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Jc(t,e),t.prototype.formatData=function(){var e=!!this.props.storedPaymentMethodId;return{paymentMethod:Xc(Xc({type:t.type},!e&&{blikCode:this.state.data.blikCode}),e&&{storedPaymentMethodId:this.props.storedPaymentMethodId})}},Object.defineProperty(t.prototype,"isValid",{get:function(){return!!this.props.storedPaymentMethodId||!!this.state.isValid},enumerable:!1,configurable:!0}),t.prototype.render=function(){var e=this;return this.props.paymentData?b(Xp,{i18n:this.props.i18n,loadingContext:this.props.loadingContext},b(oy,{ref:function(t){e.componentRef=t},clientKey:this.props.clientKey,paymentData:this.props.paymentData,onError:this.props.onError,onComplete:this.onComplete,brandLogo:this.icon,type:"blik",messageText:this.props.i18n.get("blik.confirmPayment"),awaitText:this.props.i18n.get("await.waitForConfirmation"),showCountdownTimer:false,delay:2e3,countdownTime:15,throttleTime:6e4,throttleInterval:1e4})):b(Xp,{i18n:this.props.i18n,loadingContext:this.props.loadingContext},this.props.storedPaymentMethodId?b(Sm,{name:this.displayName,amount:this.props.amount,payButton:this.payButton,onSubmit:this.submit,ref:function(t){e.componentRef=t}}):b(sy,Xc({ref:function(t){e.componentRef=t}},this.props,{onChange:this.setState,onSubmit:this.submit,payButton:this.payButton})))},t.type="blik",t}(Ju);function cy(e){var t=e.reference,n=e.totalAmount,r=e.paymentMethodType,i=Hu(),o=i.loadingContext,a=i.i18n;return b(Lm,{paymentMethodType:r,introduction:a.get("bankTransfer.instructions"),imageUrl:xu({loadingContext:o})(r),amount:n&&a.amount(n.value,n.currency),voucherDetails:[{label:a.get("bankTransfer.beneficiary"),value:e.beneficiary},{label:a.get("bankTransfer.iban"),value:e.iban},{label:a.get("bankTransfer.bic"),value:e.bic},{label:a.get("bankTransfer.reference"),value:t}]})}function uy(e){var t=Hu().i18n,n=Du(!1),r=n[0],i=n[1],o=Gd({schema:[],defaultData:e.data}),a=o.handleChangeFor,s=o.triggerValidation,l=o.data,c=o.valid,u=o.errors,d=o.isValid,p=o.setSchema;return Bu((function(){p(r?["shopperEmail"]:[])}),[r]),this.showValidation=s,Bu((function(){e.onChange({data:l,errors:u,valid:c,isValid:d})}),[l,c,u,r,d]),b("div",{className:"adyen-checkout__bankTransfer"},b("p",{className:"adyen-checkout__bankTransfer__introduction"},t.get("bankTransfer.introduction")),b(dv,{classNames:"adyen-checkout__bankTransfer__emailField",value:l.shopperEmail,errors:u.shopperEmail,onToggle:function(){return i(!r)},onInput:a("shopperEmail","input"),onChange:a("shopperEmail","blur")}))}var dy=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={isValid:!t.props.showEmailAddress,data:{}},t.handleRef=function(e){t.componentRef=e},t}return Jc(t,e),Object.defineProperty(t.prototype,"isValid",{get:function(){return!!this.state.isValid},enumerable:!1,configurable:!0}),t.prototype.formatData=function(){var e=this.state.data.shopperEmail;return Xc({paymentMethod:{type:t.type}},e&&{shopperEmail:e})},t.prototype.render=function(){return this.props.reference?b(Xp,{i18n:this.props.i18n,loadingContext:this.props.loadingContext},b(cy,Xc({ref:this.handleRef},this.props))):this.props.showPayButton?b(Xp,{i18n:this.props.i18n,loadingContext:this.props.loadingContext},this.props.showEmailAddress&&b(uy,Xc({ref:this.handleRef},this.props,{onChange:this.setState})),b(Sm,Xc({},this.props,{name:this.displayName,onSubmit:this.submit,payButton:this.payButton}))):null},t.type="bankTransfer_IBAN",t.defaultProps={showPayButton:!0,showEmailAddress:!0},t}(Ju),py=["CA","US"],hy=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Jc(t,e),t.prototype.formatProps=function(t){return Xc(Xc({},e.prototype.formatProps.call(this,t)),{allowedCountries:py,personalDetailsRequiredFields:["firstName","lastName","telephoneNumber","shopperEmail"]})},t.type="affirm",t}(Zp),fy={socialSecurityNumber:{validate:sm,errorMessage:"",modes:["blur"]},default:{validate:function(e){return!!e&&e.length>0},errorMessage:"",modes:["blur"]}},my={socialSecurityNumber:function(e){return am(e)}};function gy(e){var t=Hu().i18n,n=["firstName","lastName","socialSecurityNumber"],r=Gd({schema:n,defaultData:e.data,rules:fy,formatters:my}),i=r.handleChangeFor,o=r.triggerValidation,a=r.setSchema,s=r.data,l=r.valid,c=r.errors,u=r.isValid;Bu((function(){var t=e.personalDetailsRequired?tu([],n):[];a(t)}),[e.personalDetailsRequired]);var d=Du("ready"),p=d[0],h=d[1];this.setStatus=h,this.showValidation=function(){o()},Bu((function(){e.onChange({data:s,valid:l,errors:c,isValid:u})}),[s,l,c]);var f=e.personalDetailsRequired?[]:["standalone"];return b("div",{className:"adyen-checkout__pix-input__field"},e.personalDetailsRequired&&b(pv,{i18n:t,data:s,handleChangeFor:i,errors:c,valid:l}),e.showPayButton&&e.payButton({status:p,label:t.get("continueTo")+" "+e.name,classNameModifiers:f}))}gy.defaultProps={data:{},personalDetailsRequired:!1};var vy=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Jc(t,e),Object.defineProperty(t.prototype,"isValid",{get:function(){return!!this.state.isValid},enumerable:!1,configurable:!0}),t.prototype.formatProps=function(t){return Xc({delay:2e3,countdownTime:15,copyBtn:!0,introduction:"pix.instructions"},e.prototype.formatProps.call(this,t))},t.prototype.formatData=function(){var e=this.state.data,t=void 0===e?{}:e,n=t.firstName,r=t.lastName,i=t.socialSecurityNumber,o=void 0===i?"":i;return Xc(Xc({paymentMethod:{type:this.props.type||this.constructor.type}},n&&r&&{shopperName:{firstName:n,lastName:r}}),o&&{socialSecurityNumber:om(o)})},t.prototype.render=function(){var e=this;return this.props.paymentData?this.renderQRCode():this.props.showPayButton?b(Xp,{i18n:this.props.i18n,loadingContext:this.props.loadingContext},b(gy,Xc({ref:function(t){e.componentRef=t}},this.props,{onChange:this.setState,onSubmit:this.submit,payButton:this.payButton}))):null},t.type="pix",t.defaultProps=Xc({personalDetailsRequired:!1},Jg.defaultProps),t}(Jg),yy=/^(\d){1,8}$/,Ay=/^(\d){6}$/,by=/[^0-9]/g,wy={bankAccountNumber:{modes:["blur","input"],validate:function(e){return!!e&&yy.test(e)}},bankLocationId:[{modes:["input"],validate:function(e){return!!e&&/^(\d){1,6}$/.test(e)}},{modes:["blur"],validate:function(e){return!!e&&Ay.test(e)}}],amountConsentCheckbox:{modes:["blur"],validate:function(e){return!!e}},accountConsentCheckbox:{modes:["blur"],validate:function(e){return!!e}},default:{modes:["blur"],validate:function(e){return!!e&&e.length>0}}},xy={bankAccountNumber:function(e){return e.replace(by,"")},bankLocationId:function(e){return e.replace(by,"")}};function Cy(e){var t,n,r=this,i=Hu().i18n,o=Gd({schema:["holderName","bankAccountNumber","bankLocationId","shopperEmail","amountConsentCheckbox","accountConsentCheckbox"],defaultData:e.data,formatters:xy,rules:wy}),a=o.handleChangeFor,s=o.triggerValidation,l=o.data,c=o.valid,u=o.errors,d=o.isValid,p=Du("enter-data"),h=p[0],f=p[1];return this.setStatus=f,this.showValidation=s,Bu((function(){e.onChange({data:l,valid:c,errors:u,isValid:d})}),[l,c,u,d]),b("div",{className:q()({"adyen-checkout__bacs":!0,"adyen-checkout__bacs--confirm":"confirm-data"===h||"loading"===h})},"confirm-data"==h&&b("div",{className:q()({"adyen-checkout__bacs--edit":!0,"adyen-checkout__bacs--edit-dropin":e.isDropin})},Nd("text",{name:"bacsEdit",className:"adyen-checkout__bacs--edit-button",value:i.get("edit"),"aria-label":i.get("edit"),readonly:!0,onClick:function(){return r.setStatus("enter-data")}})),b(vd,{className:q()({"adyen-checkout__bacs--holder-name":!0,"adyen-checkout__field--inactive":"confirm-data"===h||"loading"===h}),label:i.get("bacs.accountHolderName"),errorMessage:!!u.holderName&&i.get("bacs.accountHolderName.invalid"),isValid:c.holderName,name:"accountHolderName"},Nd("text",{name:"bacs.accountHolderName",className:"adyen-checkout__bacs-input--holder-name",placeholder:e.placeholders.holderName,value:l.holderName,"aria-invalid":!c.holderName,"aria-label":i.get("bacs.accountHolderName"),"aria-required":"true",required:!0,readonly:"confirm-data"===h||"loading"===h,autocorrect:"off",onChange:a("holderName","blur"),onInput:a("holderName","input")})),b("div",{className:"adyen-checkout__bacs__num-id adyen-checkout__field-wrapper"},b(vd,{errorMessage:!!u.bankAccountNumber&&i.get("bacs.accountNumber.invalid"),label:i.get("bacs.accountNumber"),className:q()({"adyen-checkout__bacs--bank-account-number":!0,"adyen-checkout__field--inactive":"confirm-data"===h||"loading"===h}),classNameModifiers:["col-70"],isValid:c.bankAccountNumber,name:"bankAccountNumber"},Nd("text",{value:l.bankAccountNumber,className:"adyen-checkout__bacs-input--bank-account-number",placeholder:e.placeholders.bankAccountNumber,"aria-invalid":!c.bankAccountNumber,"aria-label":i.get("bacs.accountNumber"),"aria-required":"true",required:!0,readonly:"confirm-data"===h||"loading"===h,autocorrect:"off",onChange:a("bankAccountNumber","blur"),onInput:a("bankAccountNumber","input")})),b(vd,{errorMessage:!!u.bankLocationId&&i.get("bacs.bankLocationId.invalid"),label:i.get("bacs.bankLocationId"),className:q()({"adyen-checkout__bacs--bank-location-id":!0,"adyen-checkout__field--inactive":"confirm-data"===h||"loading"===h}),classNameModifiers:["col-30"],isValid:c.bankLocationId,name:"bankLocationId"},Nd("text",{value:l.bankLocationId,className:"adyen-checkout__bacs-input--bank-location-id",placeholder:e.placeholders.bankLocationId,"aria-invalid":!c.bankLocationId,"aria-label":i.get("bacs.bankLocationId"),"aria-required":"true",required:!0,readonly:"confirm-data"===h||"loading"===h,autocorrect:"off",onChange:a("bankLocationId","blur"),onInput:a("bankLocationId","input")}))),b(vd,{errorMessage:!!u.shopperEmail&&i.get("shopperEmail.invalid"),label:i.get("shopperEmail"),className:q()({"adyen-checkout__bacs--shopper-email":!0,"adyen-checkout__field--inactive":"confirm-data"===h||"loading"===h}),isValid:c.shopperEmail,name:"emailAddress"},Nd("emailAddress",{value:l.shopperEmail,name:"shopperEmail",className:"adyen-checkout__bacs-input--shopper-email",classNameModifiers:["large"],placeholder:e.placeholders.shopperEmail,spellcheck:!1,"aria-invalid":!c.shopperEmail,"aria-label":i.get("shopperEmail"),"aria-required":"true",required:!0,readonly:"confirm-data"===h||"loading"===h,autocorrect:"off",onInput:a("shopperEmail","input"),onChange:a("shopperEmail","blur")})),"enter-data"===h&&b(Yp,{classNameModifiers:["amountConsentCheckbox"],errorMessage:!!u.amountConsentCheckbox,label:i.get("bacs.consent.amount"),onChange:a("amountConsentCheckbox"),checked:!!l.amountConsentCheckbox}),"enter-data"===h&&b(Yp,{classNameModifiers:["accountConsentCheckbox"],errorMessage:!!u.accountConsentCheckbox,label:i.get("bacs.consent.account"),onChange:a("accountConsentCheckbox"),checked:!!l.accountConsentCheckbox}),e.showPayButton&&e.payButton({status:h,label:"enter-data"===h?i.get("continue"):i.get("bacs.confirm")+" "+((null===(t=e.amount)||void 0===t?void 0:t.value)&&(null===(n=e.amount)||void 0===n?void 0:n.currency)?i.amount(e.amount.value,e.amount.currency):""),icon:xu({loadingContext:e.loadingContext,imageFolder:"components/"})("lock"),onClick:function(){return d?"enter-data"===h?r.setStatus("confirm-data"):"confirm-data"===h?e.onSubmit():void 0:r.showValidation()}}))}Cy.defaultProps={data:{},placeholders:{}};var Sy=function(e){var t=Hu(),n=t.i18n,r=t.loadingContext,i=e.url,o=e.paymentMethodType;return b(Lm,{paymentMethodType:o,introduction:n.get("bacs.result.introduction"),imageUrl:xu({loadingContext:r})(o),downloadUrl:i,downloadButtonText:n.get("download.pdf")})},ky=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.payButton=function(e){return b(Ku,Xc({amount:t.props.amount,onClick:t.submit},e))},t}return Jc(t,e),t.prototype.formatData=function(){var e,n,r,i;return Xc({paymentMethod:Xc(Xc(Xc({type:t.type},(null===(e=this.state.data)||void 0===e?void 0:e.holderName)&&{holderName:this.state.data.holderName}),(null===(n=this.state.data)||void 0===n?void 0:n.bankAccountNumber)&&{bankAccountNumber:this.state.data.bankAccountNumber}),(null===(r=this.state.data)||void 0===r?void 0:r.bankLocationId)&&{bankLocationId:this.state.data.bankLocationId})},(null===(i=this.state.data)||void 0===i?void 0:i.shopperEmail)&&{shopperEmail:this.state.data.shopperEmail})},Object.defineProperty(t.prototype,"isValid",{get:function(){return!!this.state.isValid},enumerable:!1,configurable:!0}),t.prototype.render=function(){var e=this;return b(Xp,{i18n:this.props.i18n,loadingContext:this.props.loadingContext},this.props.url?b(Sy,{ref:function(t){e.componentRef=t},icon:this.icon,url:this.props.url,paymentMethodType:this.props.paymentMethodType}):b(Cy,Xc({ref:function(t){e.componentRef=t}},this.props,{onChange:this.setState,payButton:this.payButton,onSubmit:this.submit})))},t.type="directdebit_GB",t}(Ju),Ey=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Jc(t,e),Object.defineProperty(t.prototype,"data",{get:function(){return this.state.data},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isValid",{get:function(){return!!this.state.isValid},enumerable:!1,configurable:!0}),t.prototype.render=function(){var e=this;return b(Xp,{i18n:this.props.i18n,loadingContext:this.props.loadingContext},b(Wp,Xc({ref:function(t){e.componentRef=t}},this.props,{onChange:this.setState})))},t}(Ju),Iy=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Jc(t,e),Object.defineProperty(t.prototype,"data",{get:function(){return this.state.data},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isValid",{get:function(){return!!this.state.isValid},enumerable:!1,configurable:!0}),t.prototype.render=function(){var e=this;return b(Xp,{i18n:this.props.i18n,loadingContext:this.props.loadingContext},b(rp,Xc({ref:function(t){e.componentRef=t}},this.props,{onChange:this.setState})))},t}(Ju);function _y(e){var t=e.sdkData;e.paymentMethodType;var n=e.payButton,r=Zc(e,["sdkData","paymentMethodType","payButton"]),i=Mu(null),o=Du("ready"),a=o[0],s=o[1],l=function(){s("error"),r.onComplete({data:{paymentData:r.paymentData,details:{}}})};return Bu((function(){window.klarnaAsyncCallback=function(){window.Klarna.Payments.init({client_token:t.client_token}),window.Klarna.Payments.load({container:i.current,payment_method_category:t.payment_method_category},(function(e){e.show_form&&!e.error||l()}))};var e=new fh("https://x.klarnacdn.net/kp/lib/v1/api.js");return e.load(),function(){e.remove()}}),[]),"error"!==a&&"success"!==a?b("div",{className:"adyen-checkout__klarna-widget"},b("div",{ref:i}),n({status:a,disabled:"loading"===a,onClick:function(){s("loading");try{window.Klarna.Payments.authorize({payment_method_category:t.payment_method_category},(function(e){!0===e.approved&&!0===e.show_form?(s("success"),r.onComplete({data:{paymentData:r.paymentData,details:{token:e.authorization_token}}})):e.approved||!0!==e.show_form?l():(s("ready"),r.onError(e))}))}catch(e){l()}}})):null}function Py(e){var t=Du({sdkData:e.sdkData,paymentMethodType:e.paymentMethodType,paymentData:e.paymentData}),n=t[0],r=t[1],i=Du("ready"),o=i[0],a=i[1];return this.setAction=r,this.setStatus=a,n.sdkData?b(_y,{sdkData:n.sdkData,paymentMethodType:n.paymentMethodType,paymentData:n.paymentData,payButton:e.payButton,onComplete:e.onComplete,onError:e.onError}):e.showPayButton?e.payButton(Xc(Xc({},e),{status:o,disabled:"loading"===o,classNameModifiers:["standalone"],label:this.props.i18n.get("continueTo")+" "+e.displayName})):null}var Oy=function(e){function t(t){var n=e.call(this,t)||this;return n.payButton=function(e){return b(Ku,Xc({amount:n.props.amount,onClick:n.submit},e))},n.onComplete=n.onComplete.bind(n),n.updateWithAction=n.updateWithAction.bind(n),n.submit=n.submit.bind(n),n}return Jc(t,e),Object.defineProperty(t.prototype,"isValid",{get:function(){return!0},enumerable:!1,configurable:!0}),t.prototype.formatData=function(){return{paymentMethod:Xc({type:this.type},this.props.useKlarnaWidget?{subtype:"sdk"}:{})}},t.prototype.updateWithAction=function(e){if(e.paymentMethodType!==this.type)throw new Error("Invalid Action");this.componentRef.setAction(e)},t.prototype.render=function(){var e=this;return b(Xp,{i18n:this.props.i18n,loadingContext:this.props.loadingContext},b(Py,Xc({},this.props,{ref:function(t){e.componentRef=t},displayName:this.displayName,onComplete:function(t){return e.props.onAdditionalDetails(t,e.elementRef)},onError:this.props.onError,payButton:this.payButton})))},t.type="klarna",t.defaultProps={useKlarnaWidget:!1},t}(Ju),Ty={dropin:Kv,ach:ny,address:Ey,afterpay:th,afterpay_default:th,afterpay_b2b:nh,amazonpay:vh,amex:gm,applepay:xh,bankTransfer_IBAN:dy,bcmc:vm,bcmc_mobile:Zg,bcmc_mobile_QR:Zg,blik:ly,billdesk_online:Ph,billdesk_wallet:Oh,boletobancario:mv,boletobancario_bancodobrasil:mv,boletobancario_bradesco:mv,boletobancario_hsbc:mv,boletobancario_itau:mv,boletobancario_santander:mv,primeiropay_boleto:mv,card:gm,storedCard:gm,diners:gm,directdebit_GB:ky,discover:gm,doku:lv,doku_alfamart:lv,doku_permata_lite_atm:lv,doku_indomaret:lv,doku_atm_mandiri_va:lv,doku_sinarmas_va:lv,doku_mandiri_va:lv,doku_cimb_va:lv,doku_danamon_va:lv,doku_bri_va:lv,doku_bni_va:lv,doku_bca_va:lv,doku_wallet:lv,donation:xm,dotpay:bv,dragonpay_ebanking:ov,dragonpay_otc_banking:ov,dragonpay_otc_non_banking:ov,dragonpay_otc_philippines:ov,econtext_seven_eleven:zm,econtext_atm:zm,econtext_stores:zm,econtext_online:zm,entercash:Bm,eps:wv,facilypay_3x:Um,facilypay_4x:Vm,facilypay_6x:Gm,facilypay_10x:qm,facilypay_12x:Hm,giropay:Em,ideal:Wm,jcb:gm,kcp:gm,klarna:Oy,klarna_paynow:Oy,klarna_account:Oy,maestro:gm,mbway:ay,mc:gm,molpay_ebanking_fpx_MY:$g,molpay_ebanking_TH:ev,molpay_ebanking_VN:tv,openbanking_UK:nv,paypal:tg,payu_IN_cashcard:Iv,payu_IN_nb:_v,paywithgoogle:jm,personal_details:Iy,googlepay:jm,pix:vy,qiwiwallet:ag,ratepay:Ov,redirect:km,securedfields:lg,sepadirectdebit:yg,scheme:gm,threeDS2Challenge:Fg,threeDS2DeviceFingerprint:Vg,visa:gm,wechatpay:Xg,wechatpayQR:Xg,oxxo:vv,multibanco:Av,giftcard:kv,vipps:Ev,swish:Tv,affirm:hy,twint:function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.payButton=function(e){return b(Ku,Xc({},e,{label:t.payButtonLabel(),onClick:t.submit}))},t}return Jc(t,e),Object.defineProperty(t.prototype,"displayName",{get:function(){var e=this.props,t=e.i18n,n=e.name;return e.storedPaymentMethodId?n+" "+t.get("twint.saved"):n||this.constructor.type},enumerable:!1,configurable:!0}),t.prototype.payButtonLabel=function(){var e=this.props,t=e.i18n,n=e.amount,r=e.storedPaymentMethodId,i=e.name;return r?Yu(t,n):t.get("continueTo")+" "+i},t.type="twint",t.defaultProps={type:t.type,showPayButton:!0},t}(km),default:null},Dy=function(e,t){var n=Ty[e]||Ty.default;return n?new n(Xc(Xc({},t),{id:e+"-"+mu()})):null},jy=function(e,t,n){void 0===t&&(t={}),void 0===n&&(n=!1);var r=e;return"scheme"===e&&(r=n?"storedCard":"card"),t[r]||{}};function By(e){return!this.length||this.indexOf(e.type)>-1}function Ny(e){return!this.length||this.indexOf(e.type)<0}function My(e){return!!e&&!!e.supportedShopperInteractions&&e.supportedShopperInteractions.includes("Ecommerce")}var Ry=["scheme","blik","twint"];function Ly(e){return!!e&&!!e.type&&Ry.includes(e.type)}var Fy=function(e){return Xc(Xc({},e),{storedPaymentMethodId:e.id})},zy=function(){function e(e,t){void 0===t&&(t={}),this.paymentMethods=[],this.storedPaymentMethods=[],function(e){var t,n;if("string"==typeof e)throw new Error('paymentMethodsResponse was provided but of an incorrect type (should be an object but a string was provided).Try JSON.parse("{...}") your paymentMethodsResponse.');if(e instanceof Array)throw new Error("paymentMethodsResponse was provided but of an incorrect type (should be an object but an array was provided).Please check you are passing the whole response.");!e||(null===(t=null==e?void 0:e.paymentMethods)||void 0===t?void 0:t.length)||(null===(n=null==e?void 0:e.storePaymentMethods)||void 0===n?void 0:n.length)||console.warn("paymentMethodsResponse was provided but no payment methods were found.")}(e),this.paymentMethods=e?function(e,t){var n=t.allowPaymentMethods,r=void 0===n?[]:n,i=t.removePaymentMethods,o=void 0===i?[]:i;return e?e.filter(By,r).filter(Ny,o):[]}(e.paymentMethods,t):[],this.storedPaymentMethods=e?function(e,t){var n=t.allowPaymentMethods,r=void 0===n?[]:n,i=t.removePaymentMethods,o=void 0===i?[]:i;return e?e.filter(Ly).filter(By,r).filter(Ny,o).filter(My).map(Fy):[]}(e.storedPaymentMethods,t):[]}return e.prototype.has=function(e){return Boolean(this.paymentMethods.find((function(t){return t.type===e})))},e.prototype.find=function(e){return this.paymentMethods.find((function(t){return t.type===e}))},e}(),Qy=function(e){return function(t,n){return Dy(t.paymentMethodType,Xc(Xc(Xc({},t),n),{onComplete:n.onAdditionalDetails,onError:n.onError,statusType:e}))}},Uy={redirect:function(e,t){return Dy("redirect",Xc(Xc(Xc({},t),e),{statusType:"redirect"}))},threeDS2Fingerprint:function(e,t){return Dy("threeDS2DeviceFingerprint",Xc(Xc({createFromAction:t.createFromAction,token:e.token,paymentData:e.paymentData,onError:t.onError,showSpinner:!t.isDropin,isDropin:!!t.isDropin},t),{type:"IdentifyShopper",onComplete:t.onAdditionalDetails,statusType:"loading",useOriginalFlow:!0}))},threeDS2Challenge:function(e,t){var n;return Dy("threeDS2Challenge",Xc(Xc({},t),{token:e.token,paymentData:e.paymentData,onComplete:t.onAdditionalDetails,onError:t.onError,size:null!==(n=t.size)&&void 0!==n?n:"02",isDropin:!!t.isDropin,type:"ChallengeShopper",statusType:"custom",useOriginalFlow:!0}))},threeDS2:function(e,t){var n="fingerprint"===e.subtype?"threeDS2DeviceFingerprint":"threeDS2Challenge",r="fingerprint"===e.subtype?e.paymentData:e.authorisationToken,i=Xc({token:e.token,paymentData:r,onComplete:t.onAdditionalDetails,onError:t.onError,isDropin:!!t.isDropin,loadingContext:t.loadingContext,clientKey:t.clientKey,_parentInstance:t._parentInstance,paymentMethodType:t.paymentMethodType,challengeWindowSize:t.challengeWindowSize},function(e,t){if("fingerprint"===e){var n=Mh(t.elementRef?Ng:Mg).from(t);return n.showSpinner=!t.isDropin,n.statusType="loading",n}return{statusType:"custom"}}(e.subtype,t));return Dy(n,i)},voucher:Qy("custom"),qrCode:Qy("custom"),await:Qy("custom"),bankTransfer:Qy("custom"),sdk:Qy("custom")},Vy=function(){function e(){this.events=[]}return e.prototype.add=function(e){this.events.push(e)},e.prototype.run=function(e){var t=this.events.map((function(t){return t(e)}));return this.events=[],Promise.all(t)},e}(),Gy=function(){function e(t){var n=t.loadingContext,r=t.locale,i=t.clientKey,o=t.analytics;this.checkoutAttemptId=null,this.queue=new Vy,this.props=Xc(Xc({},e.defaultProps),o),this.logEvent=function(e){return function(t){var n=Xc({version:"4.9.0",payload_version:1,platform:"web",locale:e.locale},t),r=Object.keys(n).map((function(e){return encodeURIComponent(e)+"="+encodeURIComponent(n[e])})).join("&");(new Image).src=e.loadingContext+"images/analytics.png?"+r}}({loadingContext:n,locale:r}),this.logTelemetry=function(e){return function(t){if(!e.clientKey)return Promise.reject();var n={errorLevel:"silent",loadingContext:e.loadingContext,path:"v2/analytics/log?clientKey="+e.clientKey},r=Xc({version:"4.9.0",platform:"web",locale:e.locale,flavor:"components",userAgent:navigator.userAgent,referrer:window.location.href,screenWidth:window.screen.width},t);return Qp(n,r)}}({loadingContext:n,locale:r,clientKey:i}),this.collectId=function(e){var t,n=e.clientKey,r=e.experiments,i={errorLevel:"silent",loadingContext:e.loadingContext,path:"v2/analytics/id?clientKey="+n};return function(){return t||(n?t=Qp(i,{experiments:r}).then((function(e){return null==e?void 0:e.id})).catch((function(){})):Promise.reject())}}({loadingContext:n,clientKey:i,experiments:this.props.experiments});var a=this.props,s=a.conversion,l=a.enabled;!0===s&&!0===l&&this.props.checkoutAttemptId&&(this.checkoutAttemptId=this.props.checkoutAttemptId,this.queue.run(this.checkoutAttemptId))}return e.prototype.send=function(e){var t=this,n=this.props,r=n.conversion,i=n.enabled,o=n.payload,a=n.telemetry;!0===i&&(!0!==r||this.checkoutAttemptId||this.collectId().then((function(e){t.checkoutAttemptId=e,t.queue.run(t.checkoutAttemptId)})),!0===a&&(this.queue.add((function(n){return t.logTelemetry(Xc(Xc(Xc({},e),o&&Xc({},o)),{checkoutAttemptId:n})).catch((function(){}))})),r&&!this.checkoutAttemptId||this.queue.run(this.checkoutAttemptId)),this.logEvent(e))},e.defaultProps={enabled:!0,telemetry:!0,conversion:!1,checkoutAttemptId:null,experiments:[]},e}();function qy(e){return Object.keys(e).reduce((function(t,n){return wu.includes(n)&&(t[n]=e[n]),t}),{})}var Hy=function(){function e(e){var t=this;this.components=[],this.update=function(e){return void 0===e&&(e={}),t.setOptions(e),t.components.forEach((function(e){return e.update(t.getPropsForComponent(t.options))})),t},this.remove=function(e){return t.components=t.components.filter((function(t){return t._id!==e._id})),e.unmount(),t},this.setOptions=function(e){return t.options=Xc(Xc({},t.options),e),t.options.loadingContext=function(e){void 0===e&&(e="https://checkoutshopper-live.adyen.com/checkoutshopper/");var t={test:"https://checkoutshopper-test.adyen.com/checkoutshopper/",live:"https://checkoutshopper-live.adyen.com/checkoutshopper/","live-us":"https://checkoutshopper-live-us.adyen.com/checkoutshopper/","live-au":"https://checkoutshopper-live-au.adyen.com/checkoutshopper/"};return t[e]||t[e.toLowerCase()]||e}(t.options.environment),t.modules={risk:new cd(t.options),analytics:new Gy(t.options),i18n:new pu(t.options.locale,t.options.translations)},t.paymentMethodsResponse=new zy(t.options.paymentMethodsResponse,t.options),t},this.create=this.create.bind(this),this.createFromAction=this.createFromAction.bind(this),this.setOptions(e)}return e.prototype.create=function(e,t){var n=this.getPropsForComponent(t);return e?this.handleCreate(e,n):this.handleCreateError()},e.prototype.createFromAction=function(e,t){if(void 0===t&&(t={}),e.type){var n=jy(e.type,this.options.paymentMethodsConfiguration);return function(e,t){void 0===t&&(t={});var n=Uy[e.type];if(n&&"function"==typeof n)return n(e,t);throw new Error("Invalid Action")}(e,Xc(Xc(Xc({},qy(this.options)),n),this.getPropsForComponent(t)))}return this.handleCreateError()},e.prototype.getPropsForComponent=function(e){return Xc(Xc({paymentMethods:this.paymentMethodsResponse.paymentMethods,storedPaymentMethods:this.paymentMethodsResponse.storedPaymentMethods},e),{i18n:this.modules.i18n,modules:this.modules,createFromAction:this.createFromAction,_parentInstance:this})},e.prototype.handleCreate=function(e,t){if(void 0===t&&(t={}),e.prototype instanceof Ju){var n=t.supportedShopperInteractions?[]:this.paymentMethodsResponse.find(t.type),r=jy(t.type,this.options.paymentMethodsConfiguration,!!t.storedPaymentMethodId),i=qy(this.options),o=new e(Xc(Xc(Xc(Xc({},i),n),r),t));return t.isDropin||this.components.push(o),o}return"string"==typeof e&&Ty[e]?this.handleCreate(Ty[e],Xc({type:e},t)):"string"==typeof e&&this.paymentMethodsResponse.has(e)?(r=jy(e,this.options.paymentMethodsConfiguration),this.handleCreate(Ty.redirect,Xc(Xc(Xc(Xc({},qy(this.options)),this.paymentMethodsResponse.find(e)),r),t))):"object"==typeof e&&"string"==typeof e.type?(r=jy(e.type,this.options.paymentMethodsConfiguration,!!e.storedPaymentMethodId),this.handleCreate(e.type,Xc(Xc(Xc({},e),t),r))):this.handleCreateError(e)},e.prototype.handleCreateError=function(e){var t=e&&e.name?e.name:"The passed payment method";throw new Error(e?t+" is not a valid Checkout Component":"No Payment Method component was passed")},e.version={version:"4.9.0",revision:"613457b",branch:"HEAD",buildId:"@adyen/adyen-web-7f7fc758-7413-4bfe-a0f7-b832395b3a80"},e}();const Wy=Hy;var Yy=n(11359),Ky=n(85913),Jy=n(44805),Xy=n(77018),Zy=n(99393),$y=n(50361),eA=n(8218),tA=n(84848),nA=n(58847),rA=n(86875),iA=n(33453),oA=n(70030),aA=n(24937),sA=n(44414);const lA=e=>{let{type:t,text:n}=e;const{t:r}=(0,oA.B)(),i=e=>{try{sessionStorage.setItem(`toast_${t}`,e)}catch(n){}};return(0,sA.jsxs)(cA,{column:!0,justify:"between",align:"start",className:"p-3",children:[(0,sA.jsx)(iA.EY,{children:n}),(0,sA.jsxs)(iA.so,{className:"w-100 mt-3",children:[(0,sA.jsx)(uA,{className:"mr-3",onClick:()=>i("NO"),children:r("cart.toastDismissYesOption")}),(0,sA.jsx)(uA,{onClick:()=>i("YES"),children:r("cart.toastDismissNoOption")})]})]})},cA=(0,aA.Ay)(iA.so).withConfig({componentId:"sc-1t7zos3-0"})(["max-width:310px;min-height:100px;width:100%;"]),uA=(0,aA.Ay)(iA.$n).withConfig({componentId:"sc-1t7zos3-1"})(["flex:1;"]);var dA=n(78225),pA=n(43099),hA=n(75081),fA=n(58883),mA=n(41103),gA=n(84238),vA=n(74635),yA=n(69435),AA=n(73878),bA=n(12180),wA=n(45608),xA=n(35732),CA=n(24380),SA=n(54579),kA=n(27034),EA=n(15693),IA=n(72840),_A=n(55901),PA=n(22360),OA=n(74959);const TA=e=>{let{data:t}=e;const{name:n,img:r,adding:i,color:o,size:a,quantity:s,onDismiss:l}=t;return(0,sA.jsxs)(DA,{justify:"between",align:"center",onClick:l,children:[(0,sA.jsxs)(RA,{className:"p-2 mr-2 align-self-stretch",align:"center",justify:"center",children:[(0,sA.jsx)(OA.g,{color:"#222",size:"lg",className:"mr-2",icon:PA.qj_}),(0,sA.jsx)("div",{children:(0,sA.jsx)(iA.EY,{small:!0,className:"f1-500",children:i?(0,sA.jsx)(iA.y$,{}):s})})]}),(0,sA.jsxs)(BA,{className:"p-2 flex-grow-1",justify:"between",align:"center",children:[r&&(0,sA.jsx)(jA,{className:"mr-2 p-1",children:(0,sA.jsx)(MA,{src:r})}),(0,sA.jsxs)(LA,{column:!0,children:[n&&(0,sA.jsx)(NA,{small:!0,textOverflow:"225","data-name":!0,className:"f1-500",children:n}),o&&(0,sA.jsx)(FA,{className:"text-nowrap",children:o}),a&&(0,sA.jsx)(FA,{className:"text-nowrap",children:a})]})]})]})},DA=(0,aA.Ay)(iA.so).withConfig({componentId:"sc-p0sstu-0"})(["min-height:100px;"]),jA=aA.Ay.div.withConfig({componentId:"sc-p0sstu-1"})(["margin-left:-0.5rem;width:55px;"]),BA=(0,aA.Ay)(iA.so).withConfig({componentId:"sc-p0sstu-2"})(["font-size:12px;background:white;"]),NA=(0,aA.Ay)(iA.EY).withConfig({componentId:"sc-p0sstu-3"})(["white-space:normal;"]),MA=aA.Ay.img.withConfig({componentId:"sc-p0sstu-4"})(["max-width:100%;max-height:100%;"]),RA=(0,aA.Ay)(iA.so).withConfig({componentId:"sc-p0sstu-5"})(["background-color:",";width:100px;"],(e=>{let{theme:t}=e;return t.colors.fill})),LA=(0,aA.Ay)(iA.so).withConfig({componentId:"sc-p0sstu-6"})(["flex-grow:2;font-size:12px;flex-wrap:wrap;"]),FA=aA.Ay.span.withConfig({componentId:"sc-p0sstu-7"})(["color:",";"],(e=>{let{theme:t}=e;return t.colors.textLight}));var zA=n(31664);const QA={microshopCart:"microshopCart",offerCart:"offerCart",shoppingCart:"cart"};let UA,VA=function(e){return e[e.B2BInvoice=0]="B2BInvoice",e[e.Adyen=1]="Adyen",e}({});function GA(){UA&&UA.cancel()}const qA=e=>(0,Yy.zD)(e+"/cart/toastAdding",(async e=>{try{const e=sessionStorage.getItem("toast_cart");if(e&&"NO"===e)return}catch(t){}(0,bA.oR)((()=>(0,sA.jsx)(TA,{data:{...e,adding:!0}})),{autoClose:5e3,toastId:"cartAdd_"+e.id})})),HA=e=>(0,Yy.zD)(e+"/cart/toastAdded",(async e=>{bA.oR.update("cartAdd_"+e.id,{render:()=>(0,sA.jsx)(TA,{data:e}),autoClose:2500})})),WA=e=>(0,Yy.zD)(e+"/cart/toastDismissed",(async e=>{try{if(sessionStorage.getItem("toast_cart"))return}catch(t){}(0,bA.oR)((()=>(0,sA.jsx)(lA,{type:"cart",text:e.text})),{autoClose:5e3,toastId:"cartDismissed"})})),YA=e=>(0,Yy.zD)(e+"/payment/initPaymentComponent",(async(t,n)=>{var r;let{dispatch:i,getState:o}=n,a=o()[QA[e]].paymentInit;a||(a=(await Jy.Ay.getPaymentInit()).data);const s=new Wy({paymentMethodsConfiguration:{ideal:{showImage:!0},card:{hasHolderName:!0,holderNameRequired:!0}},showPayButton:!0,setStatusAutomatically:!1,clientKey:a.clientkey,environment:a.environment,locale:(null===(r=o().siteDefinition.language)||void 0===r?void 0:r.name)||"en",paymentMethodsResponse:a.methods,onAdditionalDetails:(t,n)=>{i(JA(e)(t.data)),i(xw(e)(n))},onSubmit:async(t,n)=>{n.setStatus("loading");const r=await i(cb(e)());if(cb(e).fulfilled.match(r)){r.payload&&t.isValid&&(t.data.origin=[],t.data.origin=window.location.origin,i(KA(e)(t.data)),i(xw(e)(n)))}n.setStatus("ready")}});return{component:s.create("dropin",{openFirstPaymentMethod:!1,onSelect:()=>{i(lw(e)(VA.Adyen)),i(cw(e)(!0))},onComplete:()=>{alert("test")}}).mount(t),instance:s,paymentInit:a}})),KA=e=>(0,Yy.zD)(e+"/payment/initiatePayment",(async(t,n)=>{let{getState:r,dispatch:i}=n;const o=JSON.stringify(t),{orderType:a,transportType:s,splitDelivery:l,orderNotification:c,delivery:u,paymentDropinComponent:d}=r()[QA[e]];i(cw(e)(!0));const p=(await Jy.Ay.initiatePayment({paymentData:o,delivery:u,order:{orderType:null===a||void 0===a?void 0:a.value,transportType:null===s||void 0===s?void 0:s.value,completeDelivery:!1===l,dispatchNotification:c.dispatch,confirmedNotification:c.confirmation},returnUrl:window.location.href},Sx(e,r()))).data;return null!==p&&void 0!==p&&p.action?null===d||void 0===d||d.handleAction(p.action):null!==p&&void 0!==p&&p.resultCode&&p.pspReference&&"Authorised"===p.resultCode&&await i(eb(e)()),p})),JA=e=>(0,Yy.zD)(e+"/payment/submitAdditionalDetails",(async(t,n)=>{let{getState:r,dispatch:i}=n;const o=Sx(e,r()),a=await Jy.Ay.submitPaymentDetails(t,o);return(null===a||void 0===a?void 0:a.data.resultCode)===yA.ResultCodeEnum.Authorised&&await i(eb(e)()),a.data})),XA=e=>(0,Yy.zD)(e+"/payment/redirectCallback",(async(e,t)=>{let{redirectResult:n,cartType:r}=e,{dispatch:i,getState:o}=t;return(await Jy.Ay.redirectCallback(n,Sx(r,o()))).data})),ZA=e=>(0,Yy.zD)(e+"/payment/submitAdditionalDetails",(async(t,n)=>{let{getState:r}=n;const i=r()[QA[e]].paymentDropinComponent;null===i||void 0===i||i.closeActivePaymentMethod()})),$A=e=>(0,Yy.zD)(e+"/payment/cancelPayment",(async(t,n)=>{let{getState:r,rejectWithValue:i}=n;const o=r()[QA[e]].paymentDropinInstance;if(!o)return i("something went wrong, no instance!");o.update();const a=Sx(e,r());await Jy.Ay.cancelPayment(a)})),eb=e=>(0,Yy.zD)(e+"/payment/finalizePayment",(async(t,n)=>{let{dispatch:r}=n;r(pb(e)(!0))})),tb=e=>(0,Yy.zD)(e+"/cart/cart/updateCampaignCode",(async(t,n)=>{let{getState:r}=n;const i=Sx(e,r()),o=t&&t.length?await Jy.Ay.cartAddCampaign(t,i):await Jy.Ay.cartRemoveCampaign(i);return Ew(o.data),o.data})),nb=e=>(0,Yy.zD)(e+"/cart/cart/removeArticle",(async(t,n)=>{let{dispatch:r,getState:i}=n;UA&&UA.cancel("Cancelling request - removeArticle"),"shoppingCart"===e&&(t.isVariation?r(Zb(e)(t.article)):r(Xb(e)({sku:t.article,variation:t.variationNumber})));const o=await Jy.Ay.cartRemoveArticle(t.article,Sx(e,i()));if(Ew(o.data),"shoppingCart"===e){r((0,eA.Tz)(o.data));const e={name:t.name,id:t.productNumber,quantity:0,price:t.price,currency:t.currency,category:t.category,variant:t.article};r((0,eA.Nx)(e))}return o.data})),rb=e=>(0,Yy.zD)(e+"/cart/cart/removeRefinement",(async(t,n)=>{let{dispatch:r,getState:i}=n;UA&&UA.cancel("Cancelling request - removeRefinement");const o=await Jy.Ay.cartRemoveRefinement(t,Sx(e,i()));return Ew(o.data),"shoppingCart"===e&&r((0,eA.Tz)(o.data)),o.data})),ib=e=>(0,Yy.zD)(e+"/cart/cart/services",(async(t,n)=>{let{options:r}=t,{dispatch:i,getState:o}=n;UA&&UA.cancel("Cancelling request - setServices");const a=o(),s=yx(e)(a);if("number"===typeof r.deliveryOption){const t=s.find((e=>e.id===r.deliveryOption));if(null!==t&&void 0!==t&&t.hideDeliveryAddress){var l;const t=tx(e)(a),n=(null===t||void 0===t||null===(l=t.deliveryAddresses)||void 0===l?void 0:l.length)&&(null===t||void 0===t?void 0:t.deliveryAddresses[0].id);"number"===typeof n&&i(Wb(e)({addressId:n}))}}const c=await Jy.Ay.cartSetRefinementServices(r,Sx(e,o()));return Ew(c.data),"shoppingCart"===e&&i((0,eA.Tz)(c.data)),c.data})),ob=e=>(0,Yy.zD)(e+"/cart/setCheckoutInfo",(async(t,n)=>{let{getState:r}=n;const i=r(),o=Sx(e,i),a=Cx(e)(i);await Jy.Ay.cartSetCheckOut(a,o)})),ab=e=>(0,Yy.zD)(e+"/cart/cart/setAddresses",(async(t,n)=>{let{getState:r}=n;UA&&UA.cancel("Cancelling request - setAddresses");const i=r(),o=Sx(e,i),a=Lw(e)(i)?t:[];return(await Jy.Ay.cartSetRefinementAddresses(a,o)).data}),{condition:(t,n)=>{let{getState:r}=n;const i=r(),o=Lw(e)(i),a=Fw(e)(i);return!(o&&!a.length)}}),sb=e=>(0,wA.A)(e+"/cart/cart/changeRefinementQuantity",(async(t,n)=>{let{getState:r}=n;UA&&UA.cancel("Cancelling request - setRefinementQuantity");return(await Jy.Ay.cartChangeRefinementQuantity(t.index,t.qty,Sx(e,r()))).data}),600),lb=e=>(0,Yy.zD)(e+"/cart/cart/setVariationQuantity",(async(t,n)=>{var r;let{dispatch:i,getState:o,rejectWithValue:a}=n;UA&&UA.cancel("Cancelling request - setVariationQuantity");const s=_x(e,o());let l=[];const c=[],u=[...new Map(null===(r=t.variations)||void 0===r?void 0:r.filter(Boolean).map((e=>[e.number,e]))).values()];if(null===u||void 0===u||u.forEach((n=>{var r,o,u,d;const p=s.localCart[n.number];if(!p)return a("No local variation, should not happen");const h=Object.keys(p.skus).map((e=>({sku:e,quantity:p.skus[e].qty,boxItems:p.skus[e].inboxItems}))),f=null===(r=s.cart)||void 0===r||null===(o=r.products)||void 0===o?void 0:o.find((e=>e.productNumber===t.productNumber)),m=(null===f||void 0===f||null===(u=f.variations)||void 0===u||null===(d=u.find((e=>e.variationNumber===n.number)))||void 0===d?void 0:d.skus)||[];let g=h.filter((e=>{const t=m.find((t=>t.sku===e.sku));return t?0===e.quantity||t.quantity!==e.quantity:e.quantity>0}));if(!g.length)return;const v=p.minQty&&p.variationQty<p.minQty;if(v&&(g=m.map((e=>({sku:e.sku,quantity:0,boxItems:p.skus[e.sku].inboxItems})))),l=l.concat(g),t.toast){const r={name:t.name,quantity:v?0:p.variationQty||0,color:n.color,img:n.img,id:n.number,onDismiss:Mx((()=>i(WA("shoppingCart")({text:gA.A.t("cart.toastDismissText")}))))};i(qA(e)(r)),c.push(r)}if("shoppingCart"===e){const e={name:t.name,id:t.productNumber,quantity:p.variationQty||0,brand:t.brand,price:n.price,currency:n.currency,category:t.category,variant:n.number};i((0,eA.Nx)(e))}})),!l.length)return a("no change");const d=await Jy.Ay.cartSetQuantities(l,Sx(e,o()));return Ew(d.data),"shoppingCart"===e&&i((0,eA.Tz)(d.data)),c.forEach((t=>{i(HA(e)(t))})),d.data})),cb=e=>(0,Yy.zD)(e+"/cart/validateAll",(async(t,n)=>{var r,i,o,a,s,l,c,u;let{dispatch:d,getState:p}=n;const h=p(),f=!!Ow(h).termsAndConditionsPage,m=_x(e,p()),g=h.siteDefinition.commerceType,v=(null!==(r=null===m||void 0===m||null===(i=m.cart)||void 0===i||null===(o=i.refinements)||void 0===o?void 0:o.length)&&void 0!==r?r:0)>0,y=null!==(a=null===(s=p())||void 0===s||null===(l=s.siteDefinition)||void 0===l||null===(c=l.reseller)||void 0===c?void 0:c.selectorEnabled)&&void 0!==a&&a;if(g===yA.CommerceType.B2BResellers&&d(dw(e)({valid:y?h.resellers.currentReseller?zA.H.Valid:zA.H.Invalid:zA.H.Unknown,commerceType:g})),h.siteDefinition.commerceType===yA.CommerceType.B2B){const t=tx(e)(h),n={orderTypes:null===t||void 0===t?void 0:t.orderTypes,transportTypes:null===t||void 0===t?void 0:t.transportTypes,commerceType:g};d(Yb(e)(n)),d(iw(e)({valid:zA.H.Valid,...n})),v?d(qb(e)(n)):(d(mw(e)(n)),d(rw(e)(n)),d(ww(e)(n)))}let A=!0;if(m.useMultipleShipments){const t=rx(e)(h);t&&(d(vw(e)(!0)),A=!1),d(gw(e)({valid:t?zA.H.Invalid:zA.H.Valid,commerceType:g}))}d(Rb(e)({valid:kw(m.delivery,m.cmsOptions,g),commerceType:g}));const b=m.cmsOptions.refinementPolicies,w=!(!v||null===b||void 0===b||!b.value),x=w&&b.value.every((e=>{var t,n;return!0===(null===(t=m.delivery)||void 0===t||null===(n=t.refinementPolicies)||void 0===n?void 0:n[e.key])}));d(yw(e)({valid:(w?x:null!==(u=m.delivery)&&void 0!==u&&u.agreement)||!f?zA.H.Valid:zA.H.Invalid,commerceType:g}));const C=_x(e,p()).valid;let S=!0;if((0,mA.GY)(h).has("ExternalCustomers")){const t=jw(e)(h);null!==t&&void 0!==t&&t.companyId||(S=!1)}return C.address!==zA.H.Invalid&&C.info!==zA.H.Invalid&&C.terms!==zA.H.Invalid&&C.reseller!==zA.H.Invalid&&C.orderNotification!==zA.H.Invalid&&A&&S&&(v?C.deliveryType!==zA.H.Invalid:C.splitDelivery!==zA.H.Invalid&&C.orderType!==zA.H.Invalid&&C.transportType!==zA.H.Invalid)}));async function ub(e){return await Jy.Ay.cartPaymentCheckout(Sx("shoppingCart",e),db(e))}const db=e=>{var t,n;return{mailBody:null===(t=e.cart.cmsOptions)||void 0===t?void 0:t.orderConfirmationBodyMessage,buttonText:`${vA.Ay.t("order.history","Order history")}`,buttonUrl:`${window.location.origin}${null===(n=e.siteDefinition.cartPage)||void 0===n?void 0:n.url}`}};const pb=e=>(0,Yy.zD)(e+"/cart/checkout",(async(t,n)=>{let{rejectWithValue:r,dispatch:i,getState:o}=n;const a=o(),s=_x(e,a),l=s.paymentType===VA.Adyen,c=s.delivery;if(!t){const t=await i(cb(e)());if(l&&!t.payload)return r("invalid");if(!l&&(!t.payload||!c))return r("invalid")}let u;switch(a.siteDefinition.commerceType){case yA.CommerceType.B2BResellers:u=await async function(e,t){var n,r,i,o,a,s,l;const{currentReseller:c,currentAgreement:u}=e.resellers,d={delivery:t,mailInfo:db(e),resellerContact:null!==c&&void 0!==c&&c.name?{name:c.name.toString(),email:(null===c||void 0===c||null===(n=c.details.emailOrders)||void 0===n||null===(r=n.value)||void 0===r?void 0:r.length)>0?null===c||void 0===c||null===(i=c.details.emailOrders)||void 0===i?void 0:i.value:null===c||void 0===c?void 0:c.details.email.value,logoUrl:null===c||void 0===c||null===(o=c.details.logoImage)||void 0===o||null===(a=o.value)||void 0===a?void 0:a.url,phone:null===c||void 0===c||null===(s=c.details.phone)||void 0===s?void 0:s.value,website:null===c||void 0===c||null===(l=c.details.website)||void 0===l?void 0:l.value,agreement:u}:void 0};return await Jy.Ay.cartB2BResellerCheckout(d,Sx("shoppingCart",e))}(a,c);break;case yA.CommerceType.B2C:u=await ub(a);break;case yA.CommerceType.B2B:default:u=l?await ub(a):await async function(e,t,n){const{orderType:r,transportType:i,splitDelivery:o,orderNotification:a}=e.cart,s={delivery:{...t,email:a.email},order:{orderType:null===r||void 0===r?void 0:r.value,transportType:null===i||void 0===i?void 0:i.value,completeDelivery:!1===o,dispatchNotification:a.dispatch,confirmedNotification:a.confirmation},origin:document.location.origin};return await Jy.Ay.cartB2BCheckout(s,Sx(n,e))}(a,c,e)}if(u.data.success===yA.CheckoutResult.Success){var d;if(u.data.reload&&i(hb(e)()),i((0,eA.i7)(u.data.orderNumber)),a.siteDefinition.commerceType!==yA.CommerceType.B2B&&i(mb(e)()),a.siteDefinition.commerceType===yA.CommerceType.B2B)if(s.orderType&&!s.orderType.disableUserPreferred&&localStorage.setItem("orderType",s.orderType.value),a.user.userIdentity)i(tw(e)(xb(null===(d=a.user.userIdentity)||void 0===d?void 0:d.orderOptions)));return i(Ub(e)()),u.data}if(u.data.success===yA.CheckoutResult.PaymentFailed){var p,h;let t="";var f,m;if(null!==(p=u)&&void 0!==p&&null!==(h=p.data)&&void 0!==h&&h.errors)t=null===(f=u)||void 0===f||null===(m=f.data)||void 0===m?void 0:m.errors[0];t+=`<br/><br/>${a.cart.cmsOptions.notValidText}`,i((0,$y.wp)({content:(0,sA.jsx)("span",{dangerouslySetInnerHTML:{__html:t}}),hideCancel:!0,onOk:()=>{i($A(e)())}}))}return r(u.data.errors)})),hb=e=>(0,Yy.zD)(e+"/cart/cart/loadCart",(async(t,n)=>{let{getState:r,dispatch:i}=n;await i(fb(e)());const o=await Jy.Ay.cartLoad(Sx(e,r()));return Ew(o.data),"shoppingCart"===e&&i((0,eA.Tz)(o.data)),t?{...o.data,priceMode:yA.CartPriceMode.InValid}:o.data})),fb=e=>(0,Yy.zD)(e+"/cart/loadCartPageContent",(async(e,t)=>{var n;let{getState:r,rejectWithValue:i}=t;const o=null===(n=r().siteDefinition.cartPage)||void 0===n?void 0:n.contentLinkId,a=r().currentPage.language;if(o){return(await Xy.A.getContentByContentLink(o,void 0,a)).data}return i("no cart page content link id")})),mb=e=>(0,Yy.zD)(e+"/cart/history/loadHistory",(async(t,n)=>{let{getState:r}=n;return(await Jy.Ay.cartOrderHistory(Sx(e,r()))).data})),gb=e=>(0,Yy.zD)(e+"/cart/verifyIdentifier",(async e=>{let{identifier:t}=e;if(!t)return{identifier:t,valid:!1};return{identifier:t,valid:(await Jy.Ay.cartGetCheckOut({id:t,type:"shopCart"})).data.hasOrder}})),vb=e=>(0,Yy.zD)(e+"/cart/cart/loadCart/addOrder",(async(t,n)=>{let{clientOrderId:r,orderNumber:i,skus:o}=t,{dispatch:a,getState:s}=n;const l=_x(e,s()).quantity,c=await Jy.Ay.cartAddOrderToCart(r,i,o,Sx(e,s()));Ew(c.data),"shoppingCart"===e&&a((0,eA.Tz)(c.data));const u=c.data.quantity,d="number"===typeof u?u-l:0;return d>0&&(0,bA.oR)((()=>(0,sA.jsx)(TA,{data:{quantity:d,name:vA.Ay.t("cart.add",{context:1===d?"one":"other"}),id:"orderToCart",onDismiss:Mx((()=>a(WA("shoppingCart")({text:gA.A.t("cart.toastDismissText")}))))}})),{autoClose:5e3}),c.data})),yb=e=>(0,Yy.zD)(e+"/cart/cart/loadCart/addOrder",(async(t,n)=>{let{dispatch:r,getState:i}=n;const o=await Jy.Ay.cartAddCartToCart(t,Sx(e,i()));Ew(o.data),"shoppingCart"===e&&r((0,eA.Tz)(o.data));const a=o.data.quantity;if(a){const t=a-_x(e,i()).quantity;(0,bA.oR)((()=>(0,sA.jsx)(TA,{data:{quantity:t,name:vA.Ay.t("cart.add",{context:1===t?"one":"other"}),id:"orderToCart",onDismiss:Mx((()=>r(WA("shoppingCart")({text:gA.A.t("cart.toastDismissText")}))))}})),{autoClose:5e3})}return o.data})),Ab=e=>(0,Yy.zD)(e+"/cart/cart/changeRefinement",(async(t,n)=>{var r,i;let{refinements:o,addons:a,files:s,fileRefs:l,services:c,skus:u,append:d}=t,{getState:p,dispatch:h}=n;UA&&UA.cancel("Cancelling request - changeRefinement");const f=o.reduce(((e,t)=>{var n,r;return e+(null!==(n=null===(r=t.data)||void 0===r?void 0:r.quantity)&&void 0!==n?n:0)}),0),m=o.length&&null!==(r=null===(i=o[0].articleId)||void 0===i?void 0:i.toString())&&void 0!==r?r:"",g={name:gA.A.t("refinement.refinement_other"),quantity:f,id:m,onDismiss:Mx((()=>h(WA("shoppingCart")({text:gA.A.t("cart.toastDismissText")}))))};h(qA(e)(g));const v=await Jy.Ay.cartChangeRefinement(o,a,u,c,s,l,Sx(e,p()),d);return h(HA(e)(g)),Ew(v.data),"shoppingCart"===e&&h((0,eA.Tz)(v.data)),v.data})),bb=e=>(0,Yy.zD)(e+"/cart/cart/addCollectionItemsToCart",(async(t,n)=>{let{id:r,name:i,skuQuantity:o}=t,{getState:a,dispatch:s,rejectWithValue:l}=n;const c=(0,IA.Y)(o,"quantity");try{const t={name:i,quantity:c,color:"",id:`${r}`,onDismiss:Mx((()=>s(WA("shoppingCart")({text:gA.A.t("cart.toastDismissText")}))))};s(qA("shoppingCart")(t));const n=await Jy.Ay.cartAddCollection(r,o,Sx(e,a()));return s(HA("shoppingCart")(t)),n.data}catch(u){return l({message:u instanceof Error?u.toString():"Unknown error"})}})),wb=e=>(0,Yy.zD)(e+"/cart/cart/addRefinementProduct",(async(t,n)=>{let{article:r,quantity:i,stockOperation:o}=t,{getState:a,dispatch:s,rejectWithValue:l}=n;try{var c,u;const t={name:null===r||void 0===r?void 0:r.productName,quantity:i||0,color:null===(c=r.color)||void 0===c?void 0:c.map((e=>e.name)).join(", "),id:(null===(u=r.id)||void 0===u?void 0:u.toString())||"",onDismiss:Mx((()=>s(WA("shoppingCart")({text:gA.A.t("cart.toastDismissText")}))))};s(qA("shoppingCart")(t));const n=await Jy.Ay.cartAddArticle(null===r||void 0===r?void 0:r.id,i,o,Sx(e,a()));return s(HA("shoppingCart")(t)),n.data}catch(d){return l({message:d instanceof Error?d.toString():"Unknown error"})}})),xb=(e,t)=>{var n,r,i,o,a,s;const l=null!==(n=null!==t&&void 0!==t?t:localStorage.getItem("orderType"))&&void 0!==n?n:null===e||void 0===e?void 0:e.selectedOrderType;let c=null!==(r=null===(i=e.orderTypes)||void 0===i?void 0:i.find((e=>e.value===l&&!e.disableUserPreferred)))&&void 0!==r?r:null;return c||(c=null!==(o=null===(a=e.orderTypes)||void 0===a?void 0:a.find((e=>!e.disableUserPreferred)))&&void 0!==o?o:null),c||(c=e.orderTypes&&(null===(s=e.orderTypes)||void 0===s?void 0:s.length)>0?e.orderTypes[0]:null),c},Cb=e=>(0,Yy.zD)(e+"/cart/initCartPage",(async(t,n)=>{var r,i,o,a,s,l,c,u,d,p,h;let{dispatch:f,getState:m}=n;const g=m();let v;try{v=(await Jy.Ay.cartGetCheckOut(Sx(e,g))).data}catch(P){v={}}v.overrides&&f(sw(e)(v.overrides));const y=(0,Zy.F)(g),A=y.commerceType;if(y.isB2BReseller){m().resellers.currentReseller&&f(dw(e)({valid:zA.H.Valid,commerceType:A}))}const b=tx(e)(g),w=null===(r=v.order)||void 0===r?void 0:r.transportType,x=w?null===b||void 0===b||null===(i=b.transportTypes)||void 0===i?void 0:i.find((e=>e.value===w)):null===b||void 0===b||null===(o=b.transportTypes)||void 0===o?void 0:o[0];x&&f(Aw(e)(x));const C=b&&xb(b,null===(a=v.order)||void 0===a?void 0:a.orderType);let S;if(C&&f(tw(e)(C)),S=v.delivery,(null===(s=v.delivery)||void 0===s||!s.addressId)&&null!==b&&void 0!==b&&b.deliveryAddresses&&(null===(l=b.deliveryAddresses)||void 0===l?void 0:l.length)>0&&b.selectedDeliveryAddress&&!Number.isNaN(+b.selectedDeliveryAddress)&&(S={addressId:+b.selectedDeliveryAddress}),S){f(Hb(e)(S));const t=kw(S,g.cart.cmsOptions,A);f(Rb(e)({valid:t,commerceType:A})),t===zA.H.Invalid&&f(Lb(e)(!0))}const k=!1===(null===b||void 0===b?void 0:b.acceptSplitDelivery)||(null===(c=v.order)||void 0===c?void 0:c.completeDelivery);f(hw(e)({value:"boolean"===typeof k?!k:null!==(u=null===b||void 0===b?void 0:b.defaultSplitDelivery)&&void 0!==u?u:void 0,commerceType:A}));const E=fA.Lt.externalCustomers(g);null!==(d=S)&&void 0!==d&&d.companyId&&!E.customers.find((e=>{var t;return e.id===(null===(t=S)||void 0===t?void 0:t.companyId)}))&&f(fA.w9.getExternalCustomerUsers({cartType:e,search:S.companyId}));const I=null===(p=v.order)||void 0===p?void 0:p.confirmedNotification,_=null===(h=v.order)||void 0===h?void 0:h.dispatchNotification;return"boolean"!==typeof I&&"boolean"!==typeof f||f(aw(e)({confirmation:I,dispatch:_})),v})),Sb=e=>(0,Yy.zD)(e+"/cart/initCart",(async(t,n)=>{let{dispatch:r,getState:i,rejectWithValue:o}=n;const a=t.identity,s=i(),l=(0,Zy.F)(s);if(l.isNone)return o("No Commerce site");const{marketId:c,marketPages:u}=s.siteDefinition;if(l.isB2B&&"offerCart"!==e){if(!a)return o("No B2B user");const t=a.user,n=a.market,i=a.orderOptions;if((null!==n&&void 0!==n?n:void 0)!==c&&u.length>0)return(0,EA.VL)(n,u),o("Wrong market, redirecting");const s={orderTypes:null===i||void 0===i?void 0:i.orderTypes,transportTypes:null===i||void 0===i?void 0:i.transportTypes,commerceType:l.commerceType};null!==t&&void 0!==t&&t.email&&(r(aw(e)({email:t.email})),r(iw(e)({valid:zA.H.Valid,...s})))}const d=s.authorization;(!l.isB2B||d.isAuthenticated&&!d.anonymous)&&r(hb(e)(t.forcePrice))})),kb=e=>(0,Yy.zD)(e+"/cart/cart/setDraft",(async e=>(await Jy.Ay.cartSetDraft(e)).data)),Eb=e=>(0,Yy.zD)(e+"/cart/cart/convertCartToOffer",(async(e,t)=>{let{dispatch:n,rejectWithValue:r}=t;const i=await Jy.Ay.cartCreateOffer(e);return i.data&&i.data.offer&&i.data.cart?(n((0,hA.tb)(i.data.offer)),(0,AA.vA)((()=>{n(uw("shoppingCart")(!1)),n(Qb("shoppingCart")(!1)),n((0,pA.On)("Offers"))})),i.data.cart):r(gA.A.t("error.general"))})),Ib=e=>(0,Yy.zD)(e+"/cart/cart/emptyCart",(async(t,n)=>{let{getState:r}=n;return(await Jy.Ay.cartEmpty(Sx(e,r()))).data})),_b=e=>(0,wA.A)(e+"/cart/updatePrices",(async(t,n)=>{let{getState:r,dispatch:i}=n;UA&&UA.cancel("New price request"),UA=(0,Jy.ws)();const o=await Jy.Ay.cartPrices(Sx(e,r()),UA.token);i({type:e+"/cart/cart/updatePrices/fulfilled",payload:o.data})}),400),Pb=e=>(0,Yy.zD)(e+"/cart/getDrafts",(async(t,n)=>{let{dispatch:r}=n;const i=await Jy.Ay.cartsGetDrafts();return r(zb(e)(i.data)),i.data})),Ob=e=>(0,Yy.zD)(e+"/cart/getDrafts",(async(t,n)=>{let{dispatch:r}=n;const i=await Jy.Ay.cartCreateDraft(t);return r(zb(e)(i.data)),i.data})),Tb=e=>(0,Yy.zD)(e+"/cart/validateAddress",(async(t,n)=>{let{getState:r,dispatch:i}=n;const o=_x(e,r()),a=r().siteDefinition.commerceType,s=kw(o.delivery,o.cmsOptions,a);i(Rb(e)({valid:s,commerceType:a}))})),Db=e=>(0,Yy.zD)(e+"/cart/setCartSkuComment",(async(t,n)=>{let{getState:r,dispatch:i}=n;const o=await Jy.Ay.cartSetSkuComment(t.sku,t.comment,Sx(e,r()));o&&200!==o.status&&bA.oR.error((0,sA.jsx)(dA.A,{message:vA.Ay.t("error.general","Something went wrong, please try again or contact support."),ok:!0}),{position:"top-center",autoClose:8e3}),i(Jb(e)([{variation:t.variation,sku:t.sku,comment:t.comment}]))})),jb=e=>(0,Yy.zD)(e+"/cart/setSkuDate",(async(t,n)=>{let{dispatch:r,getState:i}=n;const o=t.date.toJSON(),a=await Jy.Ay.cartSetRequestedDispatchDate(o,[t.sku],Sx(e,i()));a&&200!==a.status&&bA.oR.error((0,sA.jsx)(dA.A,{message:vA.Ay.t("error.general","Something went wrong, please try again or contact support."),ok:!0}),{position:"top-center",autoClose:8e3}),r(Jb(e)([{variation:t.variation,sku:t.sku,date:t.date}]))})),Bb=e=>(0,Yy.zD)(e+"/cart/setSkuDates",(async(t,n)=>{let{getState:r}=n;const i=await Jy.Ay.cartSetRequestedDispatchDate(t.toJSON(),void 0,Sx(e,r()));return i&&200!==i.status&&bA.oR.error((0,sA.jsx)(dA.A,{message:vA.Ay.t("error.general","Something went wrong, please try again or contact support."),ok:!0}),{position:"top-center",autoClose:8e3}),t})),Nb={cartPageStatus:"uninitialized",cartId:void 0,activated:!1,addresses:[],drafts:[],checkoutPending:!1,hasOrderHistory:!1,error:null,history:null,historyPending:!1,identifier:localStorage.getItem("cartIdentifier")||void 0,pending:!1,quantity:0,showCart:!1,showQuickAdd:!1,valid:{address:zA.H.Unknown,splittedAddresses:zA.H.Unknown,info:zA.H.Unknown,terms:zA.H.Unknown,reseller:zA.H.Unknown,orderType:zA.H.Unknown,transportType:zA.H.Unknown,deliveryType:zA.H.Unknown,splitDelivery:zA.H.Unknown,orderNotification:zA.H.Valid},localCart:{},cmsOptions:{productCommentMaxLength:100,hideDeliveryOptionAndUseDefault:!1,loaded:!1,hidePackageLabel:!1},isCartAvailable:!1,isCartLoading:!1,orderNotification:{dispatch:!1,confirmation:!1},paymentType:VA.B2BInvoice,useMultipleShipments:!1,paymentResponse:null,pricesPending:!1,showSplitAddresses:!1};function Mb(e){return t=>(0,Yy.VP)(`${t}/${e}`)}const Rb=Mb("cart/addressValidated"),Lb=Mb("cart/addressEdited"),Fb=Mb("cart/addressesSet"),zb=Mb("cart/cartDrafts"),Qb=Mb("cart/cartToggled"),Ub=Mb("cart/clearLocalCart"),Vb=Mb("cart/deliveryTypeSet"),Gb=Mb("cart/deliveryTypeEdited"),qb=Mb("cart/deliveryTypeValidated"),Hb=Mb("cart/deliverySet"),Wb=Mb("cart/deliveryEdited"),Yb=Mb("cart/infoValidated"),Kb=Mb("cart/infoEdited"),Jb=Mb("cart/localCartSkusSet"),Xb=Mb("cart/localCartSkuRemoved"),Zb=Mb("cart/localCartVariationRemoved"),$b=Mb("cart/multipleShipmentSet"),ew=Mb("cart/okConfirm"),tw=Mb("cart/orderTypeSet"),nw=Mb("cart/orderTypeEdited"),rw=Mb("cart/orderTypeValidated"),iw=Mb("cart/orderNotificationValidated"),ow=Mb("cart/orderNotificationEdited"),aw=Mb("cart/orderNotificationSet"),sw=Mb("cart/overridesSet"),lw=Mb("cart/paymentSelected"),cw=Mb("cart/paymentInitiated"),uw=Mb("cart/quickAddToggled"),dw=Mb("cart/resellerValidated"),pw=Mb("cart/resetCart"),hw=Mb("cart/splitDeliverySet"),fw=Mb("cart/splitDeliveryEdited"),mw=Mb("cart/splitDeliveryValidated"),gw=Mb("cart/splittedAddressesValidated"),vw=Mb("cart/splittedAddressesToggled"),yw=Mb("cart/termsValidated"),Aw=Mb("cart/transportTypeSet"),bw=Mb("cart/transportTypeEdited"),ww=Mb("cart/transportTypeValidated"),xw=Mb("cart/paymentComponentSet"),Cw=e=>(0,Yy.Z0)({name:e,initialState:Nb,reducers:{},extraReducers:t=>{t.addCase(YA(e).fulfilled,((e,t)=>{e.paymentDropinComponent=t.payload.component,e.paymentDropinInstance=t.payload.instance,e.paymentInit=t.payload.paymentInit})),t.addCase(xw(e),((e,t)=>{e.paymentDropinComponent=t.payload})),t.addCase(KA(e).fulfilled,((e,t)=>{e.paymentResponse=t.payload})),t.addCase(KA(e).pending,((e,t)=>{e.checkoutPending=!0})),t.addCase(KA(e).rejected,((e,t)=>{e.checkoutPending=!1})),t.addCase(eb(e).fulfilled,((e,t)=>{e.paymentResponse=null})),t.addCase($A(e).fulfilled,((e,t)=>{e.paymentResponse=null})),t.addCase(JA(e).rejected,(e=>{e.paymentDetailsLoading=!1})),t.addCase(JA(e).pending,(e=>{e.paymentDetailsLoading=!0})),t.addCase(JA(e).fulfilled,((e,t)=>{e.paymentDetails=t.payload,e.paymentDetailsLoading=!1})),t.addCase(XA(e).rejected,(e=>{e.paymentDetailsLoading=!1})),t.addCase(XA(e).pending,(e=>{e.paymentDetailsLoading=!0})),t.addCase(XA(e).fulfilled,((e,t)=>{e.paymentDetails=t.payload,e.paymentDetailsLoading=!1})),t.addCase(pw(e),((e,t)=>({...Nb}))),t.addCase($b(e),((e,t)=>{e.useMultipleShipments=t.payload})),t.addCase(Rb(e),((e,t)=>{var n;e.valid.address=null!==(n=t.payload.valid)&&void 0!==n?n:zA.H.Unknown})),t.addCase(Lb(e),((e,t)=>{t.payload||(e.valid.address=zA.H.Unknown)})),t.addCase(Fb(e),((e,t)=>{e.addresses=t.payload})),t.addCase(gw(e),((e,t)=>{var n;e.valid.splittedAddresses=null!==(n=t.payload.valid)&&void 0!==n?n:zA.H.Unknown})),t.addCase(vw(e),((e,t)=>{e.showSplitAddresses=t.payload})),t.addCase(iw(e),((e,t)=>{const n=function(e){var t;if((null!==e&&void 0!==e&&e.confirmation||null!==e&&void 0!==e&&e.dispatch)&&!e.email)return zA.H.Invalid;if(e&&e.email&&-1===(null===(t=e.email)||void 0===t?void 0:t.indexOf("@")))return zA.H.Invalid;return zA.H.Valid}(e.orderNotification);e.valid.orderNotification=n})),t.addCase(ow(e),(e=>{e.valid.orderNotification=zA.H.Unknown})),t.addCase(aw(e),((e,t)=>{e.orderNotification={...e.orderNotification,...t.payload}})),t.addCase(Yb(e),((e,t)=>{const n=function(e,t){var n,r,i;return e?t?e.packageLabel&&(null===(n=e.packageLabel)||void 0===n?void 0:n.length)>30||e.orderReference&&(null===(r=e.orderReference)||void 0===r?void 0:r.length)>35||e.reference&&(null===(i=e.reference)||void 0===i?void 0:i.length)>20?zA.H.Invalid:(t.commentRequired?e.comment:t.packageLabelRequired?e.packageLabel:t.referenceRequired?e.reference:!t.yourOrderNumberRequired||e.orderReference)?zA.H.Valid:zA.H.Invalid:zA.H.Valid:zA.H.Invalid}(e.delivery,e.cmsOptions);e.valid.info=n})),t.addCase(Kb(e),(e=>{e.valid.info=zA.H.Unknown})),t.addCase(lw(e),((e,t)=>{e.paymentType=t.payload})),t.addCase(cw(e),((e,t)=>{e.paymentInititated=t.payload})),t.addCase(dw(e),((e,t)=>{var n;e.valid.reseller=null!==(n=t.payload.valid)&&void 0!==n?n:zA.H.Unknown})),t.addCase(yw(e),((e,t)=>{var n;e.valid.terms=null!==(n=t.payload.valid)&&void 0!==n?n:zA.H.Unknown})),t.addCase(Qb(e),((e,t)=>{var n;e.showCart=null!==(n=t.payload)&&void 0!==n?n:!e.showCart})),t.addCase(uw(e),((e,t)=>{var n;e.showQuickAdd=null!==(n=t.payload)&&void 0!==n?n:!e.showQuickAdd})),t.addCase(zb(e),((e,t)=>{e.drafts=t.payload?t.payload:[]})),t.addCase(ew(e),(e=>{e.confirmed=void 0})),t.addCase(nw(e),(e=>{e.valid.orderType=zA.H.Unknown})),t.addCase(tw(e),((e,t)=>{e.orderType=t.payload,e.valid.orderType=zA.H.Valid})),t.addCase(rw(e),((e,t)=>{e.valid.orderType=e.orderType?zA.H.Valid:zA.H.Invalid})),t.addCase(sw(e),((e,t)=>{e.overrides=t.payload})),t.addCase(Aw(e),((e,t)=>{e.transportType=t.payload,e.valid.transportType=zA.H.Valid})),t.addCase(bw(e),(e=>{e.valid.transportType=zA.H.Unknown})),t.addCase(ww(e),((e,t)=>{var n,r;const i=(null===(n=t.payload.transportTypes)||void 0===n?void 0:n.length)&&(null===(r=t.payload.transportTypes)||void 0===r?void 0:r.length)>1;e.valid.transportType=e.transportType?zA.H.Valid:i?zA.H.Invalid:zA.H.Valid})),t.addCase(Vb(e),((e,t)=>{e.deliveryType=t.payload,e.valid.deliveryType=zA.H.Valid})),t.addCase(Gb(e),((e,t)=>{e.valid.deliveryType=zA.H.Unknown})),t.addCase(qb(e),((e,t)=>{e.valid.deliveryType=e.deliveryType?zA.H.Valid:zA.H.Invalid})),t.addCase(hw(e),((e,t)=>{e.splitDelivery=t.payload.value,e.valid.splitDelivery=zA.H.Valid})),t.addCase(fw(e),(e=>{e.valid.splitDelivery=zA.H.Unknown})),t.addCase(mw(e),((e,t)=>{e.valid.splitDelivery=void 0!==e.splitDelivery?zA.H.Valid:zA.H.Invalid})),t.addCase(Wb(e),((e,t)=>{void 0===e.delivery&&(e.delivery={}),e.delivery={...e.delivery,...t.payload}})),t.addCase(Hb(e),((e,t)=>{e.delivery=t.payload})),t.addCase(Ub(e),(e=>{e.localCart={}})),t.addCase(Jb(e),((e,t)=>{t.payload.forEach((t=>{var n,r,i,o,a,s;const{variation:l,min:c,sku:u,qty:d,comment:p,date:h,inboxItems:f,additive:m}=t,g=e.localCart[l]||{skus:{}},v=null===(n=g.skus[u])||void 0===n?void 0:n.qty,y="number"===typeof d?d+(m&&v?v:0):v,A={...g.skus,[u]:{qty:y,comment:"string"===typeof p?p:null===(r=g.skus[u])||void 0===r?void 0:r.comment,date:void 0!==h?Ex(h,h):null===(i=g.skus[u])||void 0===i?void 0:i.date,inboxItems:"number"===typeof f?f:null===(o=g.skus[u])||void 0===o?void 0:o.inboxItems}},b=Object.keys(A).reduce(((e,t)=>e+A[t].qty),0),w={minQty:null!==(a=null!==(s=g.minQty)&&void 0!==s?s:c)&&void 0!==a?a:0,variationQty:b,skus:A};e.localCart[l]=w}))})),t.addCase(Xb(e),((e,t)=>{const{variation:n,sku:r}=t.payload,i=e.localCart[n]||{skus:{}};delete i.skus[r];const o=Object.keys(i.skus).reduce(((e,t)=>e+i.skus[t].qty),0);e.localCart[n].variationQty=o})),t.addCase(Zb(e),((e,t)=>{delete e.localCart[t.payload]})),t.addCase(ab(e).pending,(e=>{e.addressesPending=!0})),t.addCase(ab(e).fulfilled,(e=>{e.addressesPending=!1})),t.addCase(ab(e).rejected,(e=>{e.addressesPending=!1})),t.addCase(gb(e).fulfilled,((e,t)=>{t.payload.valid?(e.identifier=t.payload.identifier,e.cart=void 0,e.activatedValid=!0):e.activatedValid=!1,e.activated=!0,e.pending=!1})),t.addCase(fb(e).fulfilled,((e,t)=>{var n,r,i,o,a,s,l,c,u,d,p,h,f,m,g,v,y,A,b,w,x,C,S,k,E,I,_;const P=t.payload,O=+((null===(n=P.productCommentMaxLength)||void 0===n?void 0:n.value)||0);O&&!Number.isNaN(O)&&(e.cmsOptions.productCommentMaxLength=O);const T=null!=(null===(r=P.showUnknownAvailabilityWhenDateExceedDays)||void 0===r?void 0:r.value)?+(null===(i=P.showUnknownAvailabilityWhenDateExceedDays)||void 0===i?void 0:i.value):null;var D,j;"number"!==typeof T||Number.isNaN(T)||(e.cmsOptions.unknownDateIfDays=T,e.cmsOptions.unknownText=null===(D=P.unknownAvailabilityText)||void 0===D?void 0:D.value,e.cmsOptions.unknownTextSummary=null===(j=P.unknownAvailabilitySummaryText)||void 0===j?void 0:j.value);e.cmsOptions.refinementOrderInformationMessage=P.refinementOrderInformationMessage,e.cmsOptions.refinementPolicies=P.refinementPolicies,e.cmsOptions.orderInformationMessage=P.orderInformationMessage,e.cmsOptions.notValidText=null===(o=P.notValidText)||void 0===o?void 0:o.value,e.cmsOptions.productCartText=P.priceSpecificationFooterText,e.cmsOptions.articlesCartText=P.articlesPriceSpecificationFooterText,e.cmsOptions.orderConfirmationBodyMessage=null===(a=P.orderConfirmationBodyMessage)||void 0===a?void 0:a.value,e.cmsOptions.termsAndConditionsPage=null===(s=P.termsAndConditionsPage)||void 0===s||null===(l=s.value)||void 0===l?void 0:l.url,e.cmsOptions.noRefinementText=null===(c=P.noRefinementText)||void 0===c?void 0:c.value,e.cmsOptions.refinementDeliveryDateTextSummary=null===(u=P.refinementDeliveryDateTextSummary)||void 0===u?void 0:u.value,e.cmsOptions.secondAddressTitle=null===(d=P.secondAddressTitle)||void 0===d?void 0:d.value,e.cmsOptions.mockupRefinementText=null===(p=P.mockupRefinementText)||void 0===p?void 0:p.value,e.cmsOptions.mockupAcceptText=null===(h=P.mockupAcceptText)||void 0===h?void 0:h.value,e.cmsOptions.splitOrderInfo=null===(f=P.splitOrderInfo)||void 0===f?void 0:f.value,e.cmsOptions.referenceRequired=null===(m=P.referenceRequired)||void 0===m?void 0:m.value,e.cmsOptions.referenceDescription=null===(g=P.referenceDescription)||void 0===g?void 0:g.value,e.cmsOptions.yourOrderNumberRequired=null===(v=P.yourOrderNumberRequired)||void 0===v?void 0:v.value,e.cmsOptions.companyRequired=null===(y=P.companyRequired)||void 0===y?void 0:y.value,e.cmsOptions.companyNumberRequired=null===(A=P.companyNumberRequired)||void 0===A?void 0:A.value,e.cmsOptions.yourOrderNumberDescription=null===(b=P.yourOrderNumberDescription)||void 0===b?void 0:b.value,e.cmsOptions.packageLabelRequired=null===(w=P.packageLabelRequired)||void 0===w?void 0:w.value,e.cmsOptions.hidePackageLabel=null!==(x=null===(C=P.hidePackageLabel)||void 0===C?void 0:C.value)&&void 0!==x&&x,e.cmsOptions.packageLabelDescription=null===(S=P.packageLabelDescription)||void 0===S?void 0:S.value,e.cmsOptions.commentRequired=null===(k=P.commentRequired)||void 0===k?void 0:k.value,e.cmsOptions.orderMessageDescription=null===(E=P.orderMessageDescription)||void 0===E?void 0:E.value,e.cmsOptions.hideDeliveryOptionAndUseDefault=null!==(I=null===(_=P.hideDeliveryOptionAndUseDefault)||void 0===_?void 0:_.value)&&void 0!==I&&I,e.cmsOptions.topContent=P.topContent,e.cmsOptions.successText=P.successText,e.cmsOptions.newAddressInfoHeader=P.newAddressInfoHeader,e.cmsOptions.newAddressInfoText=P.newAddressInfoText,e.cmsOptions.loaded=!0})),t.addCase(gb(e).rejected,(e=>{e.activatedValid=!1})),t.addCase(pb(e).pending,(e=>{e.checkoutPending=!0})),t.addCase(pb(e).fulfilled,((e,t)=>{const n=t.payload;e.paymentInititated=!1,e.cart=void 0,e.quantity=0,e.confirmed=n,e.pending=!1,e.checkoutPending=!1,e.delivery&&(e.delivery.comment=null,e.delivery.orderReference=null,e.delivery.packageLabel=null,e.delivery.reference=null,e.valid.info=zA.H.Unknown),e.cartPageStatus="uninitialized"})),t.addCase(pb(e).rejected,(e=>{e.checkoutPending=!1})),t.addCase(mb(e).pending,(e=>{e.historyPending=!0})),t.addCase(tb(e).pending,(e=>{e.campaignPending=!0})),t.addCase(tb(e).fulfilled,(e=>{e.campaignPending=!1})),t.addCase(tb(e).rejected,(e=>{e.campaignPending=!1})),t.addCase(_b(e).pending,(e=>{e.pricesPending=!0})),t.addCase(_b(e).fulfilled,(e=>{e.pricesPending=!1})),t.addCase(_b(e).rejected,(e=>{e.pricesPending=!1})),t.addCase(mb(e).fulfilled,((e,t)=>{e.history=t.payload,e.historyPending=!1})),t.addCase(mb(e).rejected,(e=>{e.historyPending=!1})),t.addCase(kb(e).pending,(e=>{e.isCartLoading=!0})),t.addCase(kb(e).fulfilled,(e=>{e.isCartLoading=!1})),t.addCase(kb(e).rejected,(e=>{e.isCartLoading=!1})),t.addCase(hb(e).pending,(e=>{e.isCartLoading=!0})),t.addCase(hb(e).fulfilled,(e=>{e.isCartLoading=!1})),t.addCase(hb(e).rejected,(e=>{e.isCartLoading=!1})),t.addCase(Bb(e).fulfilled,((e,t)=>{Object.keys(e.localCart).forEach((n=>{const r=e.localCart[n];Object.keys(r.skus).forEach((e=>{r.skus[e].date=Ex(t.payload,t.payload)}))}))})),t.addCase(Sb(e).pending,(e=>{e.isCartAvailable=!1})),t.addCase(Sb(e).fulfilled,((e,t)=>{e.confirmed=void 0,e.pending=!1})),t.addCase(Sb(e).rejected,(e=>{e.confirmed=void 0,e.isCartAvailable=!1})),t.addCase(Cb(e).pending,(e=>{e.cartPageStatus="pending"})),t.addCase(Cb(e).fulfilled,((e,t)=>{var n,r;const i=t.payload;if(!i)return;e.cartPageStatus="initialized",e.hasOrderHistory=i.hasOrder,e.paymentEnabled=i.paymentEnabled,e.services=i.services,null!==(n=i.services)&&void 0!==n&&null!==(r=n.addresses)&&void 0!==r&&r.length&&(e.addresses=i.services.addresses.map(((e,t)=>({...e,index:t}))),e.addresses.length>1&&(e.useMultipleShipments=!0));const o=t.meta.arg;o&&(e.cart={products:o})})),t.addCase(Cb(e).rejected,(e=>{e.cartPageStatus="error"})),t.addCase(ib(e).pending,((e,t)=>{var n,r;const i=t.meta.arg.options,o=i.deliveryOption,a=i.optionals;"number"===typeof o&&null!==(n=e.services)&&void 0!==n&&n.deliveryOptions&&(e.services.deliveryOptions=e.services.deliveryOptions.map((e=>({...e,selected:e.id===o})))),Array.isArray(a)&&null!==(r=e.services)&&void 0!==r&&r.optionals&&(e.services.optionals=e.services.optionals.map((e=>({...e,selected:!(!e.id||!a.includes(e.id))}))))})),t.addMatcher((t=>t.type.startsWith(e+"/cart/cart/loadCart")&&t.type.endsWith("/fulfilled")),(e=>{e.isCartAvailable=!0})),t.addMatcher((t=>t.type.startsWith(e+"/cart/cart/")&&t.type.endsWith("/fulfilled")),((e,t)=>{var n,r,i,o;if(e.cart){var a,s;const n=null===(a=e.cart.refinements)||void 0===a?void 0:a.length;(null===(s=t.payload.refinements)||void 0===s?void 0:s.length)!==n&&(e.cartPageStatus="uninitialized")}e.cart=t.payload,e.cartId=t.payload.id,e.confirmed=null,e.paymentInititated=!1,e.activatedValid=void 0,e.identifier=null!==(n=t.payload.identifier)&&void 0!==n?n:void 0,e.quantity=null!==(r=t.payload.quantity)&&void 0!==r?r:0,e.pending=!1,e.campaign=t.payload.campaign;const l={};let c,u=null;null===(i=t.payload.products)||void 0===i||i.forEach((t=>{var n;return null===(n=t.variations)||void 0===n?void 0:n.forEach((t=>{var n;if(!t.variationNumber)return;null===(n=t.skus)||void 0===n||n.forEach((n=>{var r;if(!n.sku)return;const i=n.dispatchDate&&new Date(n.dispatchDate),o=n.requestedDispatchDate?new Date(n.requestedDispatchDate):void 0;l[t.variationNumber]||(l[t.variationNumber]={skus:{},variationQty:0});const a=i?Ex(i,o,e.cmsOptions.unknownDateIfDays):void 0;l[t.variationNumber].skus[n.sku]={qty:n.quantity||0,comment:n.comment||void 0,date:a,inboxItems:null===(r=n.price)||void 0===r?void 0:r.inboxItems},a&&a.unknown&&(u=!1),a&&!a.unknown&&null===u&&(u=!0),null!==a&&void 0!==a&&a.unknown||!i||c&&!(c<i)||(c=i)}));const r=Object.keys(l[t.variationNumber].skus).reduce(((e,n)=>e+l[t.variationNumber].skus[n].qty),0);l[t.variationNumber].minQty=t.minQuantity,l[t.variationNumber].variationQty=r}))})),e.minDate=c,e.localCart=l,e.canSetDates=null!==(o=u)&&void 0!==o&&o})),t.addMatcher((0,xA.b5)(e+"/payment/"),((e,t)=>{e.paymentError=t.payload})),t.addMatcher((0,xA._H)(e+"/cart/cart/"),(e=>{e.pending=!0})),t.addMatcher((0,xA.b5)(e+"/cart/"),((e,t)=>{e.pending=!1,t.meta.rejectedWithValue||(e.error=t.error)}))}}),Sw=Cw("shoppingCart").reducer;function kw(e,t,n){var r,i,o,a,s,l,c,u,d,p,h,f,m,g,v,y;if(!e)return zA.H.Invalid;if(e.addressId&&999!==e.addressId)return zA.H.Valid;if(null!==t&&void 0!==t&&t.companyNumberRequired&&(!e.companyId||e.companyId&&(null===(r=e.companyId)||void 0===r?void 0:r.length)<2))return zA.H.Invalid;if(null!==t&&void 0!==t&&t.companyRequired&&(!e.company||e.company&&(null===(i=e.company)||void 0===i?void 0:i.length)<2))return zA.H.Invalid;if(e.company&&(null===(o=e.company)||void 0===o?void 0:o.length)>30)return zA.H.Invalid;if(e.company&&(null===(a=e.company)||void 0===a?void 0:a.length)<2)return zA.H.Invalid;if(e.address1&&(null===(s=e.address1)||void 0===s?void 0:s.length)>35)return zA.H.Invalid;if(e.postalCode&&(null===(l=e.postalCode)||void 0===l?void 0:l.length)>16)return zA.H.Invalid;if(e.city&&(null===(c=e.city)||void 0===c?void 0:c.length)>35)return zA.H.Invalid;if(e.address2&&(null===(u=e.address2)||void 0===u?void 0:u.length)>35)return zA.H.Invalid;if(n===yA.CommerceType.B2C&&(null!==(d=null===(p=e.firstName)||void 0===p?void 0:p.length)&&void 0!==d?d:0)+(null!==(h=null===(f=e.lastName)||void 0===f?void 0:f.length)&&void 0!==h?h:0)>29)return zA.H.Invalid;if(e.phone){var A;if(!(0,kA.g)(e.phone))return zA.H.Invalid;if(!(0,kA.H)(e.phone))return zA.H.Invalid;if((null===e||void 0===e||null===(A=e.phone)||void 0===A?void 0:A.length)>15)return zA.H.Invalid}return e.email&&(null===(m=e.email)||void 0===m?void 0:m.length)>50||e.email&&-1===(null===(g=e.email)||void 0===g?void 0:g.indexOf("@"))||e.companyId&&(null===(v=e.companyId)||void 0===v?void 0:v.length)>50?zA.H.Invalid:e.addressId?e.company&&e.address1&&e.postalCode&&e.city?zA.H.Valid:zA.H.Invalid:e.address1&&e.firstName&&e.lastName&&e.postalCode&&e.city&&e.phone&&-1!==(null===(y=e.email)||void 0===y?void 0:y.indexOf("@"))?zA.H.Valid:zA.H.Invalid}function Ew(e){e&&e.identifier&&localStorage.setItem("cartIdentifier",e.identifier)}const Iw=e=>{var t;return null===(t=e.cart.cart)||void 0===t?void 0:t.total},_w=e=>e.cart.isCartAvailable,Pw=e=>e.cart.isCartLoading,Ow=e=>e.cart.cmsOptions,Tw=e=>e.cart.cmsOptions.refinementPolicies,Dw=e=>t=>{var n,r;return null===(n=t[QA[e]])||void 0===n||null===(r=n.cart)||void 0===r?void 0:r.articleStock},jw=e=>t=>{var n;return null===(n=t[QA[e]])||void 0===n?void 0:n.delivery},Bw=e=>t=>{var n;return null===(n=t[QA[e]])||void 0===n?void 0:n.cartPageStatus},Nw=e=>t=>{var n;return null===(n=t[QA[e]])||void 0===n?void 0:n.services},Mw=e=>t=>{var n,r;return null===(n=t[QA[e]])||void 0===n||null===(r=n.cart)||void 0===r?void 0:r.priceMode},Rw=e=>t=>{var n,r;return null===(n=t[QA[e]])||void 0===n||null===(r=n.cart)||void 0===r?void 0:r.products},Lw=e=>t=>{var n;return null===(n=t[QA[e]])||void 0===n?void 0:n.useMultipleShipments},Fw=e=>t=>{var n;return null===(n=t[QA[e]])||void 0===n?void 0:n.addresses},zw=e=>t=>{var n;return null===(n=t[QA[e]])||void 0===n?void 0:n.addressesPending},Qw=e=>t=>{var n;return null===(n=t[QA[e]])||void 0===n?void 0:n.transportType},Uw=e=>t=>{var n;return null===(n=t[QA[e]])||void 0===n?void 0:n.orderType},Vw=e=>t=>{var n;return null===(n=t[QA[e]])||void 0===n?void 0:n.overrides},Gw=e=>t=>{var n;return null===(n=t[QA[e]])||void 0===n?void 0:n.hasOrderHistory},qw=e=>t=>{var n;return null===(n=t[QA[e]])||void 0===n?void 0:n.paymentEnabled},Hw=e=>t=>{var n;return null===(n=t[QA[e]])||void 0===n?void 0:n.paymentResponse},Ww=e=>t=>{var n;return null===(n=t[QA[e]])||void 0===n?void 0:n.paymentDetailsLoading},Yw=e=>t=>{var n;return null===(n=t[QA[e]])||void 0===n?void 0:n.paymentDetails},Kw=e=>t=>{var n;return null===(n=t[QA[e]])||void 0===n?void 0:n.paymentError},Jw=e=>t=>{var n;return null===(n=t[QA[e]])||void 0===n?void 0:n.showSplitAddresses},Xw=e=>t=>{var n,r;return(null===(n=t[QA[e]])||void 0===n?void 0:n.pending)||(null===(r=t[QA[e]])||void 0===r?void 0:r.checkoutPending)},Zw=e=>t=>{var n;return null===(n=t[QA[e]])||void 0===n?void 0:n.pricesPending},$w=e=>(0,Ky.Mz)(Mw(e),Xw(e),nA.Bm,((e,t,n)=>!t&&n&&e===yA.CartPriceMode.InValid)),ex=e=>{var t;return null===(t=e.user.userIdentity)||void 0===t?void 0:t.orderOptions},tx=e=>(0,Ky.Mz)(ex,Vw(e),((e,t)=>(null===t||void 0===t?void 0:t.orderOptions)||e)),nx=e=>(0,Ky.Mz)((e=>t=>{var n;return null===(n=t[QA[e]])||void 0===n?void 0:n.valid})(e),Ow,Zy.F,tx(e),((e,t,n,r)=>{const i=null===t||void 0===t?void 0:t.termsAndConditionsPage;let o=zA.H.Valid,a=[e.address];if(n.isB2B){var s;const t=[e.splitDelivery,e.transportType,e.deliveryType,e.info,e.orderNotification];null!==r&&void 0!==r&&null!==(s=r.orderTypes)&&void 0!==s&&s.length&&t.push(e.orderType),a=a.concat(t)}for(const c of a){if(c===zA.H.Invalid){o=zA.H.Invalid;break}c===zA.H.Unknown&&(o=zA.H.Unknown)}e.splittedAddresses===zA.H.Invalid&&(o=zA.H.Invalid);let l=o;return i&&o!==zA.H.Invalid&&(e.terms===zA.H.Unknown&&(l=zA.H.Unknown),e.terms===zA.H.Invalid&&(l=zA.H.Invalid)),{...e,all:l,allExceptTerms:o}})),rx=e=>(0,Ky.Mz)(Fw(e),vx(e),((e,t)=>{let n=0;const r=new Map;for(const o of t)if(o.skus)for(const t of o.skus){var i;const o=t.sku;if(!o)continue;const a=null!==(i=t.quantity)&&void 0!==i?i:0,s=e.reduce(((e,n)=>e+n.skus.filter((e=>e.sku===t.sku)).map((e=>e.quantity)).reduce(((e,t)=>e+t),0)),0);s!==a&&(n+=1),s>a&&r.set(o,gA.A.t("cart.validationErrorHigher","Too many products added")),s<a&&r.set(o,gA.A.t("cart.validationErrorLower","Too few products added"))}return n?r:null})),ix=e=>(0,Ky.Mz)(tx(e),(e=>{if(e)return e.orderEnabled?void 0:gA.A.t("cart.warningOrderDisabled","Order placement authorization is missing. Please contact customer service")})),ox=e=>(0,Ky.Mz)(Vw(e),(e=>{if(e)return e.priceOverrideWarning?gA.A.t("cart.warningPriceOverride","Configuration is missing to set specific sales prices. Please contact servicedesk for activation."):e.priceOverrideEnabled&&e.orderType?gA.A.t("cart.warningPriceOverrideEnabled","Note! Order will be placed with order type {{orderType}}",{orderType:e.orderType}):void 0})),ax=e=>(0,Ky.Mz)(jw(e),Zy.F,tx(e),((e,t,n)=>function(e,t,n){var r;const[i,o]=null!==e&&void 0!==e&&e.addressId&&999!==e.addressId?[null===n||void 0===n||null===(r=n.deliveryAddresses)||void 0===r?void 0:r.find((t=>{var n;return t.id===(null===e||void 0===e||null===(n=e.addressId)||void 0===n?void 0:n.toString())})),!0]:[e,!1];if(!i)return{};return o?{name:i.name,recip:void 0,street:i.street,street2:i.street2,zip:i.zipCode,city:i.city,country:i.country}:t?{name:i.company,recip:void 0,street:i.address1,street2:i.address2,zip:i.postalCode,city:i.city,country:i.country}:{name:i.company?i.company:`${i.firstName} ${i.lastName}`,recip:i.company?`${i.firstName} ${i.lastName}`:void 0,street:i.address1,street2:void 0,zip:i.postalCode,city:i.city,country:void 0}}(e,t.isB2B,n))),sx=e=>(0,Ky.Mz)(Uw(e),tA.Fu,((e,t)=>Bx(null===t||void 0===t?void 0:t.name,e))),lx=e=>(0,Ky.Mz)(Qw(e),tA.Fu,((e,t)=>Bx(null===t||void 0===t?void 0:t.name,e))),cx=(0,Ky.Mz)(Rw("shoppingCart"),((e,t)=>t),((e,t)=>null===e||void 0===e?void 0:e.find((e=>{var n;return e.productNumber===(null===t||void 0===t||null===(n=t.productNumber)||void 0===n?void 0:n.toString())})))),ux=e=>(0,Ky.Mz)(jw(e),(e=>({name:`${null===e||void 0===e?void 0:e.firstName} ${null===e||void 0===e?void 0:e.lastName}`,email:`${null===e||void 0===e?void 0:e.email}`}))),dx=e=>t=>{var n;return null===(n=t[QA[e]].cart)||void 0===n?void 0:n.refinements},px=e=>(0,Ky.Mz)(dx(e),(e=>!!e&&e.length>0)),hx=e=>(0,Ky.Mz)(dx(e),(e=>{var t;return null!==(t=null===e||void 0===e?void 0:e.map(((e,t)=>({...e,index:t}))))&&void 0!==t?t:[]})),fx=e=>(0,Ky.Mz)(hx(e),(e=>(0,SA.$)(e,(e=>Dx(e)?"articles":"refinements")))),mx=e=>(0,Ky.Mz)(Dw(e),hx(e),((e,t)=>{var n,r;return null!==(n=null===e||void 0===e||null===(r=e.stock)||void 0===r?void 0:r.filter((e=>"number"===typeof e.after&&e.after<=0)).map((e=>{var n;const r=null!==(n=e.index)&&void 0!==n&&n.length?e.index[0]:void 0,i="number"===typeof r?t.find((e=>e.index===r)):void 0;return Rx(i)})))&&void 0!==n?n:[]})),gx=e=>(0,Ky.Mz)(Nw(e),(e=>!(null===e||void 0===e||!e.addressesEnabled))),vx=e=>(0,Ky.Mz)(Rw(e),(e=>{var t;return null!==(t=null===e||void 0===e?void 0:e.flatMap((e=>{var t,n;return null!==(t=null===(n=e.variations)||void 0===n?void 0:n.filter((e=>!e.invalid)))&&void 0!==t?t:[]})))&&void 0!==t?t:[]})),yx=e=>(0,Ky.Mz)(Nw(e),(e=>{var t;return null!==(t=null===e||void 0===e?void 0:e.deliveryOptions)&&void 0!==t?t:[]})),Ax=e=>(0,Ky.Mz)(Nw(e),(e=>{var t;return null!==(t=null===e||void 0===e?void 0:e.optionals)&&void 0!==t?t:[]})),bx=e=>(0,Ky.Mz)(Dw(e),(e=>t=>{var n,r,i,o;return(null===(n=t[QA[e]])||void 0===n||null===(r=n.transportType)||void 0===r?void 0:r.hideDeliveryAddress)||(null===(i=t[QA[e]])||void 0===i||null===(o=i.orderType)||void 0===o?void 0:o.hideDeliveryAddress)})(e),(e=>(0,Ky.Mz)(yx(e),(e=>{var t,n;return null!==(t=null===(n=e.find((e=>e.selected&&e.hideDeliveryAddress)))||void 0===n?void 0:n.selected)&&void 0!==t&&t})))(e),((e,t,n)=>{const r=!e||(null===e||void 0===e?void 0:e.requireAddress);return!t&&!n&&r})),wx=(0,Ky.Mz)(Rw("shoppingCart"),(e=>{var t;return null!==(t=null===e||void 0===e?void 0:e.filter((e=>{var t;return null===(t=e.variations)||void 0===t?void 0:t[0].refinementProduct})))&&void 0!==t?t:[]})),xx=(0,Ky.Mz)(wx,hx("shoppingCart"),_w,((e,t,n)=>n&&e.length>0&&t.length>0)),Cx=e=>(0,Ky.Mz)(jw(e),(e=>t=>{var n;return null===(n=t[QA[e]])||void 0===n?void 0:n.splitDelivery})(e),Qw(e),Uw(e),(e=>t=>{var n;return null===(n=t[QA[e]])||void 0===n?void 0:n.orderNotification})(e),((e,t,n,r,i)=>({delivery:e,order:{orderType:null===r||void 0===r?void 0:r.value,transportType:null===n||void 0===n?void 0:n.value,completeDelivery:t?!t:void 0,confirmedNotification:i.dispatch,dispatchNotification:i.confirmation}}))),Sx=(e,t)=>{var n,r;if("microshopCart"===e)return{id:null===(n=t.microshops.selectedMicroshopCheckoutOrder)||void 0===n||null===(r=n.id)||void 0===r?void 0:r.toString(),type:e};if("offerCart"===e){const n=t.offers.selectedOfferId;return{id:null===n||void 0===n?void 0:n.toString(),type:e}}return{id:t.cart.identifier,type:e}};function kx(e,t,n,r){return{name:(null===e||void 0===e?void 0:e.productName)||void 0,variations:t.map((e=>{var t,n,r;return{number:null===e||void 0===e?void 0:e.variationNumber,color:(null===e||void 0===e?void 0:e.color)||void 0,img:(0,CA.Ay)(null===e||void 0===e?void 0:e.image,CA.yj.ThumbNail,yA.ImageExtension.Jpg)||void 0,price:null===(t=e.price)||void 0===t||null===(n=t.customer)||void 0===n?void 0:n.num,currency:(null===(r=e.price)||void 0===r?void 0:r.currency)||void 0}})),toast:r||!1,productNumber:null===e||void 0===e?void 0:e.productNumber,brand:(null===e||void 0===e?void 0:e.productBrandName)||void 0,category:n}}function Ex(e,t,n){const r=t?vA.Ay.t("shipment.requestedDate","Requested date"):void 0,i=(null!==t&&void 0!==t?t:e)>new Date(Date.now()+864e5)?vA.Ay.t("shipment.warningLongDelivery","Note del. date"):void 0;return{date:null!==t&&void 0!==t?t:e,requested:!!t,unknown:Ix(e,n),note:r||i}}function Ix(e,t){if("number"===typeof t){if(0===t)return!0;const n=Date.now()+864e5*t;return e>=new Date(n)}return!1}function _x(e,t){return"shoppingCart"===e?t.cart:"microshopCart"===e?t.microshopCart:t.offerCart}function Px(e,t,n){var r,i,o;const a=null===e||void 0===e?void 0:e.find((e=>e.index===t[0])),s=null!==(r=null===a||void 0===a||null===(i=a.files)||void 0===i||null===(o=i.find((e=>{var t;return n&&(null===(t=e.fileName)||void 0===t?void 0:t.includes(n))})))||void 0===o?void 0:o.url)&&void 0!==r?r:void 0,l=t.reduce(((t,n)=>{var r,i;const o=null===e||void 0===e?void 0:e.find((e=>e.index===n));if(!o)return t;const a=o.productName;return[...t,{name:a||(null===(r=o.articleId)||void 0===r?void 0:r.toString())||"error",index:n,positions:null!==(i=o.positions)&&void 0!==i?i:[],type:"type"in o?o.type:void 0}]}),new Array);return{image:s,cartRowRefinements:l}}function Ox(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=[];for(const h of e){if(!h.positions.length){r.push({index:h.index,name:`${h.index+1}. ${h.name}`,split:rA.vt});continue}const e=h.positions.filter((e=>{var n,r;return e.split&&null!==(n=e.skus)&&void 0!==n&&n.length?null===(r=e.skus)||void 0===r?void 0:r.find((e=>{var n;return(null===(n=e.sku)||void 0===n?void 0:n.includes(t))&&e.quantity})):e.variationNumber&&t.includes(e.variationNumber)}));for(const f of e){var i,o,a,s,l,c,u,d;const e=[`${h.index+1}. ${h.name}`,f.angle?(0,_A.TH)(f.angle):null,...null!==(i=null===(o=f.attribute)||void 0===o?void 0:o.split(",").map((e=>(0,_A.pY)(e.trim()))))&&void 0!==i?i:[],f.colorChange?vA.Ay.t("refinement.colorChange").toLocaleLowerCase():null].filter((e=>null!=e)).join(", ");if(!f.split||null===(a=f.skus)||void 0===a||!a.length){var p;r.push({index:h.index,name:e,split:rA.vt,angle:null!==(p=f.angle)&&void 0!==p?p:void 0,type:h.type});continue}const m=n?null===(s=f.skus)||void 0===s?void 0:s.reduce(((e,t)=>{var n;return(null!==(n=t.quantity)&&void 0!==n?n:0)+e}),0):null===(l=f.skus)||void 0===l||null===(c=l.find((e=>{var n;return null===(n=e.sku)||void 0===n?void 0:n.includes(t)})))||void 0===c?void 0:c.quantity,g={index:h.index,name:e,split:null!==(u=f.split)&&void 0!==u?u:rA.vt,angle:null!==(d=f.angle)&&void 0!==d?d:void 0,quantity:m,type:h.type};r.push(g)}}return(0,SA.$)(r,(e=>e.split))}function Tx(e,t,n){var r;let i=0,o=0,a=0;const s=e.every((e=>!1===e.visible)),l=null===n||void 0===n||null===(r=n.tags)||void 0===r?void 0:r.some((e=>e===yA.TagType.Outlet)),c=e.find((e=>"Global"===e.type)),u=t.find((e=>e.type===yA.StockType.Global)),d=(null===c||void 0===c?void 0:c.hideForOutlet)&&l,p=!(null===c||void 0===c||!c.visible)&&!d,h=p&&!0!==c.excludeFromStockAtHand;function f(e,t,n){null!==e&&void 0!==e&&e.stockLevel&&e.stockLevel>o&&!t.excludeFromStockAtHand&&!0===n&&(o=e.stockLevel),null!==e&&void 0!==e&&e.value&&((n&&!t.excludeFromStockAtHand||h)&&(i+=e.value),(n||p)&&(a+=e.value))}h&&null!==u&&void 0!==u&&u.stockLevel&&(o=u.stockLevel),p&&null!==u&&void 0!==u&&u.value&&(h&&(i+=u.value),a+=u.value);const m=t.find((e=>e.type===yA.StockType.Local)),g=e.find((e=>"Local"===e.type)),v=(null===g||void 0===g?void 0:g.visible)&&!(l&&null!==g&&void 0!==g&&g.hideForOutlet);m&&g&&f(m,g,v);const y=t.find((e=>e.type===yA.StockType.Region)),A=e.find((e=>"Region"===e.type)),b=(null===A||void 0===A?void 0:A.visible)&&!(l&&null!==A&&void 0!==A&&A.hideForOutlet);return y&&A&&f(y,A,b),{stockNumber:i,innerStockNumber:a,unknown:s,stockLevel:o}}const Dx=e=>"type"in e&&"articleId"in e&&[yA.ShopCartRefinementType.Product,yA.ShopCartRefinementType.TextProduct].includes(e.type);function jx(e){const t=null===e||void 0===e?void 0:e.flatMap((e=>{var t,n;return null!==(t=null===(n=e.variations)||void 0===n?void 0:n.filter((e=>!e.invalid)).map((e=>e.variationNumber)).filter((e=>!!e)))&&void 0!==t?t:[]}));return t}const Bx=(e,t)=>{if(null!==t&&void 0!==t&&t.languages&&t.languages.length>0){var n,r;const i=e&&e.length>2?e.substring(0,2):e;return null!==(n=null===t||void 0===t||null===(r=t.languages)||void 0===r?void 0:r.find((e=>e.language===i)))&&void 0!==n?n:null===t||void 0===t?void 0:t.languages[0]}return{}};const Nx=function(e){var t;let n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];const r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1]?e.type===yA.ShopCartRefinementInputType.ColorChange?gA.A.t("refinement.colorChange"):e.type===yA.ShopCartRefinementInputType.ColorBacking?gA.A.t("refinement.colorBacking"):e.label:"",i=e.type===yA.ShopCartRefinementInputType.TextValue?gA.A.t("stock.pcs"):"";return null!==(t=[r,n&&e.value?[e.value,i].filter(Boolean).join(" "):""].filter(Boolean).join(": "))&&void 0!==t?t:""};function Mx(e){return()=>{try{if(sessionStorage.getItem("toast_cart"))return;setTimeout((()=>{e()}),500)}catch(t){}}}function Rx(e){var t;return null!==e&&void 0!==e&&e.articleId?(null===e||void 0===e?void 0:e.articleId.toString())+" - "+(null===e||void 0===e?void 0:e.productName):null!==e&&void 0!==e&&e.productName?null===e||void 0===e?void 0:e.productName:null!==(t=function(e){var t,n;return null!==e&&void 0!==e&&e.length&&null!==(t=null===(n=e[0].fileName)||void 0===n?void 0:n.split(".")[0])&&void 0!==t?t:""}(null===e||void 0===e?void 0:e.files))&&void 0!==t?t:""}},31664:(e,t,n)=>{"use strict";n.d(t,{H:()=>r});let r=function(e){return e[e.Unknown=0]="Unknown",e[e.Invalid=1]="Invalid",e[e.Valid=2]="Valid",e}({})},9603:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>f,N$:()=>s,WO:()=>p,bV:()=>c,c7:()=>h,g7:()=>l});var r=n(11359),i=n(77018),o=n(4159),a=n.n(o);const s=(0,r.zD)("resellers/fetchEventDetailsPages",(async(e,t)=>{let{dispatch:n}=t;const r=await i.A.getChildren(e);n(d(r.data))})),l=(e,t)=>null===e||void 0===e?void 0:e.map((e=>t&&new Date(e.stopDate.value)<new Date||!t&&new Date(e.stopDate.value)>=new Date?e:void 0)).filter((e=>void 0!==e)).slice(0);function c(e,t,n){var r,i,o,s,l,c,u,d;switch(e){case"startDate closest":return a()(null===(r=t.startDate)||void 0===r?void 0:r.value).diff(a()(null===(i=n.startDate)||void 0===i?void 0:i.value));case"startDate latest":return a()(null===(o=n.startDate)||void 0===o?void 0:o.value).diff(a()(null===(s=t.startDate)||void 0===s?void 0:s.value));case"stopDate closest":return a()(null===(l=t.stopDate)||void 0===l?void 0:l.value).diff(a()(null===(c=n.stopDate)||void 0===c?void 0:c.value));case"stopDate latest":return a()(null===(u=n.stopDate)||void 0===u?void 0:u.value).diff(a()(null===(d=t.stopDate)||void 0===d?void 0:d.value));case"created latest":return a()(n.created).diff(a()(t.created))}}const u=(0,r.Z0)({name:"events",initialState:{eventDetailsPages:[],calendarSelected:!0,isCalendarAvailable:!1},reducers:{eventDetailsPagesFetched(e,t){e.eventDetailsPages=t.payload},setCalendarSelected(e,t){e.calendarSelected=t.payload},setCalendarAvailable(e,t){e.isCalendarAvailable=t.payload}},extraReducers:e=>{}}),{eventDetailsPagesFetched:d,setCalendarSelected:p,setCalendarAvailable:h}=u.actions,f=u.reducer},93366:(e,t,n)=>{"use strict";n.d(t,{$5:()=>_,Ay:()=>Me,Bo:()=>ae,DM:()=>Z,DS:()=>K,DZ:()=>Be,FC:()=>H,Fm:()=>W,G2:()=>U,Gu:()=>S,IA:()=>R,JR:()=>B,Os:()=>M,Qy:()=>le,R2:()=>ke,WI:()=>O,XN:()=>J,_5:()=>D,_l:()=>ee,_n:()=>V,_r:()=>z,c$:()=>L,d$:()=>j,fE:()=>X,k0:()=>ne,kL:()=>Y,mJ:()=>oe,n7:()=>se,nX:()=>Ee,oK:()=>te,qb:()=>F,s8:()=>k,sV:()=>P,tQ:()=>De,u7:()=>ce,uP:()=>q,vp:()=>ie});var r=n(11359),i=n(85913),o=n(44805),a=n(96011),s=n.n(a),l=n(50361),c=n(84848),u=n(1820),d=n(84238),p=n(73223),h=n.n(p),f=n(69435),m=n(12180),g=n(7430),v=n(51673),y=n(8836),A=n(60936),b=n(2728),w=n(77813),x=n(44414);let C;var S=function(e){return e[e.Pending=0]="Pending",e[e.Fullfilled=1]="Fullfilled",e[e.Rejected=2]="Rejected",e[e.None=3]="None",e}(S||{}),k=function(e){return e[e.Enabled=0]="Enabled",e[e.Waiting=1]="Waiting",e[e.Disabled=2]="Disabled",e}(k||{});function E(){return{columnTemplates:[],units:void 0,preview:void 0,previewLoading:S.None,presetLoading:S.None,presetSaving:S.None,presets:[],activePreset:void 0,defaultPreset:void 0,hideVariation:!1,downloadButtonState:k.Disabled}}const I=(0,r.Z0)({name:"ExportExcel",initialState:E(),reducers:{setPreview(e,t){e.preview=t.payload},updatePreviewHeader(e,t){var n;if(null!==(n=e.preview)&&void 0!==n&&n.headers){for(const n of null===(r=e.preview)||void 0===r?void 0:r.headers){var r;if(n.id===t.payload.id){Object.assign(n,t.payload.change);break}}void 0===t.payload.change.value&&void 0===t.payload.change.exclude||!e.activePreset||(e.activePreset.unsavedChanges=!0)}},resetPreview(e){e.previewLoading=S.None,e.preview=void 0},resetActivePreset(e){e.defaultPreset&&(e.defaultPreset.uuid=crypto.randomUUID(),e.activePreset=e.defaultPreset)},setPresets(e,t){e.presets=t.payload},setActivePreset(e,t){e.activePreset=t.payload},setActivePresetPage(e,t){var n;null!==(n=e.activePreset)&&void 0!==n&&n.exportRequest&&(e.activePreset.exportRequest.page=t.payload)},updateActivePreset(e,t){var n,r,i;const o=Object.assign({},e.activePreset,t.payload);if(o){var a,s;const e=null!==(a=t.payload.configuration)&&void 0!==a&&a.columns?t.payload.configuration.columns:o.configuration.columns,n=null!==(s=t.payload.configuration)&&void 0!==s&&s.sheetSeparator?t.payload.configuration.sheetSeparator:o.configuration.sheetSeparator;let r=!1;e&&!n||0===(null===e||void 0===e?void 0:e.length)&&n?r=!0:e&&n&&(r=!e.some((e=>e.value===(null===n||void 0===n?void 0:n.value)))),r&&(o.configuration.sheetSeparator=void 0)}void 0!==(null===(n=t.payload.configuration)||void 0===n?void 0:n.exportLevel)&&(null===(r=t.payload.configuration.exportLevel)||void 0===r?void 0:r.value)!==(null===(i=o.configuration.exportLevel)||void 0===i?void 0:i.value)&&o.configuration.columns&&(o.configuration.columns=[]),e.activePreset=o,e.activePreset.unsavedChanges=!0},addPresetToPresetList(e,t){t.payload.title&&t.payload.id&&e.presets.push(t.payload)},updatePresetList(e,t){for(let n=0;n<e.presets.length;n++)if(e.presets[n].id===t.payload.id){e.presets[n]=t.payload;break}},deletePreset(e,t){if(0===t.payload)return;const n=e.presets.findIndex((e=>e.id===t.payload));-1!==n&&e.presets.splice(n,1)},setDownloadButtonState(e,t){e.downloadButtonState=t.payload}},extraReducers:e=>{e.addCase(T.fulfilled,((e,t)=>{var n;e.columnTemplates=null!==(n=t.payload.columnDescriptions)&&void 0!==n?n:[],e.hideVariation=!t.payload.dataLevels,e.units=t.payload.units,t.payload.defaultPreset&&(e.defaultPreset=t.payload.defaultPreset)})),e.addCase(T.rejected,((e,t)=>{v.A.error("ERROR",t.payload)})),e.addCase(D.pending,(e=>{e.presetLoading=S.Pending})),e.addCase(D.fulfilled,(e=>{e.presetLoading=S.Fullfilled})),e.addCase(D.rejected,((e,t)=>{v.A.error("ERROR",t.payload),e.presetLoading=S.Rejected})),e.addCase(j.pending,(e=>{e.previewLoading=S.Pending})),e.addCase(j.fulfilled,((e,t)=>{e.preview=t.payload,e.previewLoading=S.Fullfilled,e.downloadButtonState=k.Enabled})),e.addCase(j.rejected,((e,t)=>{v.A.error("ERROR",t.payload),e.previewLoading=S.Rejected})),e.addCase(B.pending,(e=>{e.previewLoading=S.Pending,e.downloadButtonState=k.Waiting})),e.addCase(B.fulfilled,((e,t)=>{e.preview=t.payload,e.previewLoading=S.Fullfilled,e.downloadButtonState=k.Enabled})),e.addCase(B.rejected,((e,t)=>{v.A.error("ERROR",t.payload),e.previewLoading=S.Rejected,e.downloadButtonState=k.Enabled})),e.addCase(N.pending,(e=>{e.previewLoading=S.Pending,e.downloadButtonState=k.Waiting})),e.addCase(N.fulfilled,((e,t)=>{e.preview=t.payload,e.previewLoading=S.Fullfilled,e.downloadButtonState=k.Enabled})),e.addCase(N.rejected,((e,t)=>{v.A.error("ERROR",t.payload),e.previewLoading=S.Rejected,e.downloadButtonState=k.Enabled})),e.addCase(F.pending,(e=>{e.downloadButtonState=k.Waiting})),e.addCase(F.fulfilled,(e=>{e.downloadButtonState=k.Enabled})),e.addCase(F.rejected,((e,t)=>{v.A.error("ERROR",t.payload),e.downloadButtonState=k.Enabled})),e.addCase(R.pending,(e=>{e.downloadButtonState=k.Waiting})),e.addCase(R.fulfilled,(e=>{e.downloadButtonState=k.Enabled})),e.addCase(R.rejected,((e,t)=>{v.A.error("ERROR",t.payload),e.downloadButtonState=k.Enabled})),e.addCase(P.pending,(e=>{e.presetSaving=S.Pending})),e.addCase(P.fulfilled,(e=>{e.presetSaving=S.Fullfilled})),e.addCase(P.rejected,((e,t)=>{v.A.error("ERROR",t.payload),e.presetSaving=S.Rejected})),e.addCase(b.o1.exportToolClosed.type,(()=>E()))}}),_=(0,r.zD)("excelProductExport/getPresets",(async(e,t)=>{let{dispatch:n,getState:r}=t;const i=r().excelSettings,a=fe((await o.Ay.getProductExportPresets()).data,i.columnTemplates);n(Pe(a))})),P=(0,r.zD)("excelProductExport/persistPreset",(async(e,t)=>{var n;let{getState:r,dispatch:i,rejectWithValue:a}=t;const s=r(),l=s.excelSettings;if(!l.activePreset||""===(null===(n=l.activePreset)||void 0===n?void 0:n.title))return a("No active preset found, or no title assigned to it");const c=re(s),d=function(e,t,n){const r=function(e,t,n,r,i,o,a){var s,l,c,d,p,h;const f=null===(s=e.configuration.exportLevel)||void 0===s?void 0:s.value,m=ve(t,e,f),g=Ae(m,(null===n||void 0===n?void 0:n.headers)||[],e.configuration.units||[]);let v=be(e.configuration.languages);const y={name:e.title,columns:g,searchFilter:(0,u.UI)(i,o),categories:r,customerPriceDate:null===(l=e.configuration.customerPriceDate)||void 0===l?void 0:l.toISOString(),selectedExportLevel:f,sheetSeparator:null===(c=e.configuration.sheetSeparator)||void 0===c?void 0:c.value,previewOnly:null===(d=e.exportRequest)||void 0===d?void 0:d.previewOnly,languages:v,units:e.configuration.units?e.configuration.units.map((e=>e.value)):void 0,page:null===(p=e.exportRequest)||void 0===p?void 0:p.page,pageSize:null===(h=e.exportRequest)||void 0===h?void 0:h.pageSize,productNumbers:a||void 0};return y}(e,n.columns,t,n.categories,n.filters,n.fixedFilters,n.productNumbers),i={title:e.title,id:e.id,exportRequest:r};return i}(l.activePreset,l.preview,c),p=fe([(await o.Ay.saveProductExportPreset(d)).data],c.columns)[0];return i(Ie(p)),l.presets.find((e=>e.id===p.id))?i(Te(p)):i(Oe(p)),p})),O=(0,r.zD)("excelProductExport/deletePersistedPreset",(async(e,t)=>{var n,r;let{dispatch:i,getState:a}=t;if(0===e)return;const s=null!==(n=null===(r=a().excelSettings.activePreset)||void 0===r?void 0:r.id)&&void 0!==n?n:-1,c={title:"Deleting Preset",description:"Are you sure that you want to delete this preset?",okLabel:d.A.t("action.ok"),cancelLabel:d.A.t("action.cancel"),onOk:async()=>{await o.Ay.deleteProductExportPreset(e),i(je(e)),e===s&&(i(Ee()),i(j()))}};i((0,l.wp)(c))})),T=(0,r.zD)("excelProductExport/getColumnTemplates",(async(e,t)=>{let{getState:n}=t;const r=await o.Ay.getColumnTemplates(),i=n().siteDefinition.priceFormat;!function(e,t){if(!e||!t)return;e.forEach((e=>{e.level===f.ExportLevel.Price&&("CustomerPrice"===e.key&&t.prefix?e.displayName=me(t.prefix):"RetailPrice"===e.key&&t.prefixRetail?e.displayName=me(t.prefixRetail):"RegularPrice"===e.key&&t.prefixSales&&(e.displayName=me(t.prefixSales)))}))}(r.data.columnDescriptions,i);const a=re(n());return{...r.data,defaultPreset:r.data.defaultPreset?pe(r.data.defaultPreset,a):void 0}})),D=(0,r.zD)("excelProductExport/getColumnTemplatesAndDefaultPresetAndPreview",(async(e,t)=>{let{dispatch:n,getState:r}=t;await n(T());const i=r(),o=re(i);if(i.excelSettings.defaultPreset){const e=pe(i.excelSettings.defaultPreset,o);e&&n(Ie(e))}n(j())})),j=(0,r.zD)("excelProductExport/getProducts",(async(e,t)=>{var n,r,i,a,s,l,c;let{getState:d,rejectWithValue:p}=t;const h=d(),f=h.excelSettings,m=f.activePreset;if(!m)return p("No active preset found");const g=re(h);let v=be(m.configuration.languages);v=v.length>0?v:[g.language];const y=null===(n=m.configuration.exportLevel)||void 0===n?void 0:n.value,A=null!==(r=m.configuration.units)&&void 0!==r?r:[],b=f.activePreset?ve(g.columns,f.activePreset,y):[];let w=Ae(b,(null===(i=f.preview)||void 0===i?void 0:i.headers)||[],A);w=ye(w,v);const x={name:m.title,columns:w,searchFilter:(0,u.UI)(g.filters,g.fixedFilters),categories:g.categories,customerPriceDate:null===(a=m.configuration.customerPriceDate)||void 0===a?void 0:a.toISOString(),selectedExportLevel:y,sheetSeparator:(null===(s=m.configuration.sheetSeparator)||void 0===s?void 0:s.value)||void 0,previewOnly:!0,languages:v,units:A.length>0?A.map((e=>e.value)):void 0,page:null===(l=m.exportRequest)||void 0===l?void 0:l.page,pageSize:null===(c=m.exportRequest)||void 0===c?void 0:c.pageSize,search:g.search,orderBy:g.orderBy,productNumbers:g.productNumbers},C=await o.Ay.getProductsPreview(g.language,x);return ge(C.data)})),B=(0,r.zD)("excelProductExport/updateActiveConfigurationAndGetProducts",(async(e,t)=>{var n,r,i,a,s,l,c;let{getState:d,dispatch:p,rejectWithValue:f}=t;const m=d(),g=re(m);let v=m.excelSettings,y=v.activePreset;if(!y)return f("No active preset found");const A=h()(y);A.configuration=Object.assign(A.configuration,e);let b=be(y.configuration.languages),w=be(A.configuration.languages);const x=null!==(n=v.preview)&&void 0!==n&&n.headers?h()(null===(r=v.preview)||void 0===r?void 0:r.headers):void 0;(0===w.length||1===w.length&&!b.includes(w[0]))&&x&&function(e){for(const t of e)t.language&&(t.language="",t.value=void 0,t.comment=void 0)}(x),w=w.length>0?w:[g.language];const C=null===(i=A.configuration.exportLevel)||void 0===i?void 0:i.value,S=null!==(a=A.configuration.units)&&void 0!==a?a:[],k=ve(v.columnTemplates,A,C);let E=Ae(k,x||[],S);if(E=ye(E,w),A.configuration.columns){var I;const e=E.map((e=>e.key));A.configuration.columns=null===(I=A.configuration.columns)||void 0===I?void 0:I.filter((t=>e.includes(t.value)))}const _=function(e,t){if(e.some((e=>"CustomerPrice"===e.key)))return t||new Date;return}(E,A.configuration.customerPriceDate);if(A.configuration.customerPriceDate=_,p(De({configuration:A.configuration})),v=d().excelSettings,y=v.activePreset,!y)return f("No active preset found");const P={name:y.title,columns:E,searchFilter:(0,u.UI)(g.filters,g.fixedFilters),categories:g.categories,customerPriceDate:null===_||void 0===_?void 0:_.toISOString(),selectedExportLevel:C,sheetSeparator:(null===(s=y.configuration.sheetSeparator)||void 0===s?void 0:s.value)||void 0,previewOnly:!0,languages:w,units:S.length>0?S.map((e=>e.value)):void 0,page:null===(l=y.exportRequest)||void 0===l?void 0:l.page,pageSize:null===(c=y.exportRequest)||void 0===c?void 0:c.pageSize,search:g.search,orderBy:g.orderBy,productNumbers:g.productNumbers},O=await o.Ay.getProductsPreview(g.language,P);return ge(O.data)})),N=(0,r.zD)("excelProductExport/setActivePresetAndGetProducts",(async(e,t)=>{var n,r,i,a,s,l,c;let{getState:d,dispatch:p,rejectWithValue:f}=t;p(Ie(e));const m=d(),g=re(m),v=m.excelSettings,y=v.activePreset;if(!y)return f("No active preset found");const A=function(e,t){var n;const r=h()(e);if(null!==(n=r.configuration.columns)&&void 0!==n&&n.length){var i;const e=null===(i=r.exportRequest)||void 0===i?void 0:i.columns;for(let n=r.configuration.columns.length-1;n>=0;n--){const i=r.configuration.columns[n];if(!t.columnTemplates.some((e=>e.key===i.value))){if(r.configuration.columns.splice(n,1),e){const t=e.findIndex((e=>e.key===i.value));t&&t>-1&&e.splice(t,1)}r.unsavedChanges=!0;break}}}return r}(y,v);A.unsavedChanges&&p(De(A));const b=null===(n=A.configuration.exportLevel)||void 0===n?void 0:n.value,w=null!==(r=A.configuration.units)&&void 0!==r?r:[];let x=be(A.configuration.languages);x=x.length>0?x:[g.language];const C={name:e.title,columns:null===(i=A.exportRequest)||void 0===i?void 0:i.columns,searchFilter:(0,u.UI)(g.filters,g.fixedFilters),categories:g.categories,customerPriceDate:null===(a=A.configuration.customerPriceDate)||void 0===a?void 0:a.toISOString(),selectedExportLevel:b,sheetSeparator:(null===(s=A.configuration.sheetSeparator)||void 0===s?void 0:s.value)||void 0,previewOnly:!0,languages:x,units:w.length>0?w.map((e=>e.value)):void 0,page:null===(l=A.exportRequest)||void 0===l?void 0:l.page,pageSize:null===(c=A.exportRequest)||void 0===c?void 0:c.pageSize,search:g.search,orderBy:g.orderBy,productNumbers:g.productNumbers},S=await o.Ay.getProductsPreview(g.language,C);return ge(S.data)})),M=(0,r.zD)("excelProductExport/updateConfigurationColumnOrder",(async(e,t)=>{var n;let{startColumnIndex:r,dropColumnIndex:i}=e,{getState:o,dispatch:a,rejectWithValue:s}=t,l=o().excelSettings;if(!l.activePreset)return s("No active preset found");let c=null,u=null;var d,p;null!==(n=l.preview)&&void 0!==n&&n.headers&&(i>-1&&(c={...l.preview,sheets:we((null===(d=l.preview)||void 0===d?void 0:d.sheets)||[],r,i),headers:Ce(null===(p=l.preview)||void 0===p?void 0:p.headers,r,i)},l.activePreset.configuration.columns&&(u=xe(l.activePreset.configuration.columns,r,i))));if(c&&a(Be(c)),u){const e=Object.assign(h()(l.activePreset.configuration),{columns:u});a(De({configuration:e}))}})),R=(0,r.zD)("excelProductExport/requestExcelFileByEmail",(async(e,t)=>{var n,r,i,a,s;let{getState:c,dispatch:p,rejectWithValue:h}=t;const m=c(),g=re(m),v=m.excelSettings,y=v.activePreset;if(!y)return h("No active preset found");let A=be(y.configuration.languages);A=A.length>0?A:[g.language];const x=null!==(n=y.configuration.units)&&void 0!==n?n:[],C=null===(r=y.configuration.exportLevel)||void 0===r?void 0:r.value,S=ve(g.columns,y,C);let k=Ae(S,(null===(i=v.preview)||void 0===i?void 0:i.headers)||[],x);k=ye(k,A);const E={name:y.title,columns:k,searchFilter:(0,u.UI)(g.filters,g.fixedFilters),categories:g.categories,customerPriceDate:null===(a=y.configuration.customerPriceDate)||void 0===a?void 0:a.toISOString(),selectedExportLevel:C,sheetSeparator:(null===(s=y.configuration.sheetSeparator)||void 0===s?void 0:s.value)||void 0,previewOnly:!1,languages:A,units:x.length>0?x.map((e=>e.value)):void 0,search:g.search,orderBy:g.orderBy,productNumbers:g.productNumbers};try{await o.Ay.generateProductsExcelFile(g.language,E),await p(b.w9.getUserAllowedExportRequest(f.ProgressStatusSource.ProductExport)),p(Q({text:d.A.t("excel.emailExport","The file is being generated and will be sent to your email when it's ready. This may take several minutes."),type:"success"}))}catch(I){p((0,l.wp)({title:d.A.t("error.error"),description:d.A.t("error.general"),hideCancel:!0}))}finally{p(b.o1.setExportThresholdPollingActive({key:"excel",value:!0})),p((0,w.bu)())}})),L=(0,r.zD)("excelProductExport/changePreviewPage",(async(e,t)=>{let{dispatch:n}=t;n(_e(e)),n(j())})),F=((0,r.zD)("excelProductExport/cancelDownload",(async()=>{C&&C.cancel("Download was cancelled by the user")})),(0,r.zD)("excelProductExport/downloadExcelFile",(async(e,t)=>{var n,r,i,a;let{getState:c,dispatch:p,rejectWithValue:h}=t;const m=c(),v=re(m),y=m.excelSettings,A=y.activePreset;if(!A)return h("No active preset found");p(Q({text:d.A.t("excel.browserExport","The file is being generated. This may take several minutes."),type:"success"}));let w=be(A.configuration.languages);w=w.length>0?w:[v.language];const x=null===(n=A.configuration.exportLevel)||void 0===n?void 0:n.value,S=null!==(r=A.configuration.units)&&void 0!==r?r:[],k=A?ve(v.columns,A,x):[];let E=Ae(k,(null===(i=y.preview)||void 0===i?void 0:i.headers)||[],S);E=ye(E,w);const I={name:A.title,columns:E,searchFilter:(0,u.UI)(v.filters,v.fixedFilters),categories:v.categories,selectedExportLevel:x,sheetSeparator:(null===(a=A.configuration.sheetSeparator)||void 0===a?void 0:a.value)||void 0,previewOnly:!1,languages:w,units:S.length>0?S.map((e=>e.value)):void 0,search:v.search,orderBy:v.orderBy,productNumbers:v.productNumbers};try{var _;C=(0,o.ws)();const e=await o.Ay.downloadProductsExcelFile(v.language,I,C.token);(0,g.PE)(new Blob([e.data]),`${null!==(_=null===A||void 0===A?void 0:A.title)&&void 0!==_?_:"ProductData"}.xlsx`),await p(b.w9.getUserAllowedExportRequest(f.ProgressStatusSource.ProductExport))}catch(P){s().isCancel(P)?p(Q({text:d.A.t("excel.downloadCancelled","Download Cancelled."),type:void 0})):p((0,l.wp)({title:d.A.t("error.error"),description:d.A.t("error.general"),hideCancel:!0}))}finally{p(b.o1.setExportThresholdPollingActive({key:"excel",value:!0}))}}))),z=(0,r.zD)("excelProductExport/changePreviewPage",(async(e,t)=>{var n;let{getState:r,dispatch:i}=t;const o=r().excelSettings,a={title:d.A.t("unsavedWarning.title"),description:d.A.t("unsavedWarning.text"),okLabel:d.A.t("unsavedWarning.yes"),cancelLabel:d.A.t("unsavedWarning.no"),onOk:async()=>{await i(P()),s(e)},onCancel:()=>{s(e)}};function s(e){var t;e&&e.id!==(null===(t=o.activePreset)||void 0===t?void 0:t.id)?e&&i(N(e)):(i(Ee()),i(j()))}null!==(n=o.activePreset)&&void 0!==n&&n.unsavedChanges?i((0,l.wp)(a)):s(e)})),Q=(0,r.zD)("excelProductExport/addToast",(async e=>{(0,m.oR)((()=>(0,x.jsx)(y.A,{text:e.text,preset:e.type})),{autoClose:7e3,position:"bottom-center"})})),U=e=>e.excelSettings.columnTemplates,V=e=>e.excelSettings.preview,G=e=>{var t;return null===(t=e.excelSettings.preview)||void 0===t?void 0:t.headers},q=e=>e.excelSettings.presets,H=e=>e.excelSettings.activePreset,W=e=>{var t;return null===(t=e.excelSettings.activePreset)||void 0===t?void 0:t.id},Y=e=>e.excelSettings.previewLoading,K=e=>e.excelSettings.presetLoading,J=e=>e.excelSettings.presetSaving,X=e=>e.excelSettings.hideVariation,Z=e=>e.excelSettings.downloadButtonState,$=e=>{var t,n;return null!==(t=null===(n=e.excelSettings.activePreset)||void 0===n?void 0:n.configuration.columns)&&void 0!==t?t:[]},ee=e=>{var t;return null===(t=e.excelSettings.activePreset)||void 0===t?void 0:t.configuration.customerPriceDate},te=(0,i.Mz)(V,(e=>null===e||void 0===e?void 0:e.download)),ne=(0,i.Mz)(H,(e=>e&&0!==(null===e||void 0===e?void 0:e.id)?` - ${e.title}`:"")),re=(0,i.Mz)(b.Lt.parameters,c.Fu,U,((e,t,n)=>{var r;return{...e,columns:n,language:null!==(r=null===t||void 0===t?void 0:t.name)&&void 0!==r?r:"en"}})),ie=(0,i.Mz)(U,(e=>{var t,n;return null===(t=e.excelSettings.activePreset)||void 0===t||null===(n=t.configuration.exportLevel)||void 0===n?void 0:n.value}),((e,t)=>{const n=new Map;if(void 0!==t)for(const a of e){var r,i,o;if(!(t<f.ExportLevel.Sku&&null!==(r=a.key)&&void 0!==r&&r.startsWith("CustomPriceList")))if(a.key&&void 0!==a.level&&(a.level<=t||a.level===f.ExportLevel.Price||a.level===f.ExportLevel.Image))n.has(a.level)||n.set(a.level,{color:A.dR[a.level],label:A.Ft[a.level](),options:[]}),null===(i=n.get(a.level))||void 0===i||null===(o=i.options)||void 0===o||o.push({value:a.key,label:a.displayName||a.key||"",color:A.dR[a.level]})}return Array.from(n,(e=>{let[,t]=e;return{...t,options:t.options.sort(((e,t)=>e.label<t.label?-1:1))}}))})),oe=(0,i.Mz)(U,$,((e,t)=>{const n=new Set;for(const r of t){const t=e.find((e=>e.key===r.value));null!==t&&void 0!==t&&t.dataType&&n.add(t.dataType)}return n})),ae=(0,i.Mz)(U,$,G,((e,t,n)=>{const r=new Set,i=[];return null===t||void 0===t||t.forEach((t=>{if(!r.has(t.value)){const o=e.find((e=>e.key===t.value));if(o){const e=function(e,t){const n=t.filter((t=>t.key===e));if(0===n.length)return!1;return!n.find((e=>!e.exclude))}(t.value,null!==n&&void 0!==n?n:[])?"red":"number"===typeof o.level?A.dR[o.level]:void 0;i.push({value:t.value,label:o.displayName||o.key||"",color:e}),r.add(t.value)}}})),i})),se=(0,i.Mz)(ae,(e=>e.excelSettings.units),U,V,((e,t,n)=>{const r=[];if(!t)return r;if(e.find((e=>{const t=n.find((t=>t.key===e.value));return"unit"===(null===t||void 0===t?void 0:t.dataType)&&t.baseUnit})))for(const[i,o]of Object.entries(t)){const e=r.find((e=>e.label===o));e?e.options.push({value:i,label:i}):r.push({label:o,options:[{value:i,label:i}]})}return r})),le=(0,i.Mz)((e=>{var t;return null===(t=e.excelSettings.activePreset)||void 0===t?void 0:t.configuration.units}),G,((e,t)=>e?e.map((e=>({value:e.value,label:e.label,color:ue(e.value,null!==t&&void 0!==t?t:[])?"red":void 0}))):[])),ce=(0,i.Mz)((e=>{var t;return null===(t=e.excelSettings.activePreset)||void 0===t?void 0:t.configuration.languages}),G,((e,t)=>e?e.map((e=>({value:e.value,label:e.label,color:de(e.value,null!==t&&void 0!==t?t:[])?"red":void 0}))):[]));function ue(e,t){const n=t.filter((t=>t.unit===e));if(0===n.length)return!1;return!n.find((e=>!e.exclude))}function de(e,t){const n=t.filter((t=>t.language===e));if(0===n.length)return!1;return!n.find((e=>!e.exclude))}function pe(e,t){let n;const{columns:r,categories:i,filters:o,language:a,productNumbers:s}=t,l=fe([e],r);if(l.length>0){const e=h()(l[0]);e&&null!==e&&void 0!==e&&e.exportRequest&&(e.exportRequest.categories=i&&h()(i),e.exportRequest.searchFilter=JSON.stringify(o),e.exportRequest.languages=[a],e.exportRequest.productNumbers=s&&h()(s),e.configuration=he(e.exportRequest,r),n=e)}return n}function he(e,t){const n=function(e){var t,n,r,i,o;return{exportLevel:null!==(t=null===e||void 0===e?void 0:e.exportLevel)&&void 0!==t?t:{label:A.Ft[f.ExportLevel.Sku](),value:f.ExportLevel.Sku},languages:null!==(n=null===e||void 0===e?void 0:e.languages)&&void 0!==n?n:void 0,units:null!==(r=null===e||void 0===e?void 0:e.units)&&void 0!==r?r:void 0,columns:null!==(i=null===e||void 0===e?void 0:e.columns)&&void 0!==i?i:void 0,sheetSeparator:null!==(o=null===e||void 0===e?void 0:e.sheetSeparator)&&void 0!==o?o:void 0,customerPriceDate:void 0}}();return e?(n.languages=function(e,t){if(!e||0===e.length)return;return e.map((e=>{var n;return{value:e,label:null!==(n=t[e])&&void 0!==n?n:e}}))}(e.languages,A.Yj),n.columns=function(e){if(!e||0===e.length)return;return e.map((e=>({value:e.key,label:e.header})))}(e.columns),n.exportLevel=function(e){switch(e){case f.ExportLevel.Product:return{value:f.ExportLevel.Product,label:A.Ft[f.ExportLevel.Product]()};case f.ExportLevel.Variation:return{value:f.ExportLevel.Variation,label:A.Ft[f.ExportLevel.Variation]()};case f.ExportLevel.Sku:return{value:f.ExportLevel.Sku,label:A.Ft[f.ExportLevel.Sku]()};case f.ExportLevel.Price:return{value:f.ExportLevel.Price,label:A.Ft[f.ExportLevel.Price]()};default:return}}(e.selectedExportLevel),n.sheetSeparator=function(e,t){if(!e)return;const n=t.find((t=>t.key===e));return{value:(null===n||void 0===n?void 0:n.key)||e,label:(null===n||void 0===n?void 0:n.displayName)||e}}(e.sheetSeparator,null!==t&&void 0!==t?t:[]),n.units=function(e){if(!e||0===e.length)return;return e.map((e=>({value:e,label:e})))}(e.units),n.customerPriceDate=e.customerPriceDate?new Date(e.customerPriceDate):void 0,n):n}function fe(e,t){const n=[];for(const r of e){const e={uuid:crypto.randomUUID(),changed:r.changed,contextId:r.contextId,created:r.created,id:r.id,title:r.title,userId:r.userId,exportRequest:r.exportRequest,configuration:he(r.exportRequest,t),unsavedChanges:!1};n.push(e)}return n}function me(e){return e.replace(/:\s*$/,"")}const ge=e=>{let t=[];return e.headers&&(t=e.headers.map((e=>({id:crypto.randomUUID(),...e})))),{...e,headers:t}};const ve=(e,t,n)=>{const r=[];if(t.configuration.columns&&void 0!==n){const i=new Set,o=t.configuration.columns.filter((e=>!i.has(e.value)&&(i.add(e.value),!0)));for(const t of o){const i=e.find((e=>{var r;return!(e.level===f.ExportLevel.Price&&n<f.ExportLevel.Sku&&null!==(r=e.key)&&void 0!==r&&r.startsWith("CustomPriceList"))&&(e.key===t.value&&void 0!==(null===e||void 0===e?void 0:e.level)&&(e.level<=n||e.level===f.ExportLevel.Price||e.level===f.ExportLevel.Image))}));i&&r.push(i)}}return r},ye=(e,t)=>e.filter((e=>!e.language||!!t.includes(e.language))),Ae=(e,t,n)=>{const r=[];for(const i of t){const o=e.find((e=>e.key===i.key));if(o){1===t.filter((e=>e.key===i.key)).length&&o.baseUnit&&!n.find((e=>e.value===i.unit))?r.push({key:i.key,unit:o.baseUnit,header:o.displayName,dataType:i.dataType,isCvlKey:i.isCvlKey}):r.push({key:i.key,unit:i.unit,header:i.value,comment:i.comment,dataType:i.dataType,isCvlKey:i.isCvlKey,language:i.language,exclude:i.exclude})}}for(const i of e){t.find((e=>e.key===i.key))||r.push({key:i.key,unit:i.baseUnit,dataType:i.dataType,language:"translationString"===i.dataType?"":void 0,exclude:!1,header:i.displayName||void 0})}return r},be=e=>e?e.map((e=>e.value)):[],we=(e,t,n)=>{const r=h()(e);for(const i of r)if(i.rows)for(const e of i.rows){if(!e.columns)continue;const r=e.columns[t];e.columns.splice(t,1),e.columns.splice(n,0,r)}return r},xe=(e,t,n)=>{const r=h()(e);if(r[t]&&r[t]){const e=r[t];r.splice(t,1),r.splice(n,0,e)}return r},Ce=(e,t,n)=>{const r=[...e],i=r[t];return r.splice(t,1),r.splice(n,0,i),r},{resetPreview:Se,updatePreviewHeader:ke,resetActivePreset:Ee,setActivePreset:Ie,setActivePresetPage:_e,setPresets:Pe,addPresetToPresetList:Oe,updatePresetList:Te,updateActivePreset:De,deletePreset:je,setPreview:Be,setDownloadButtonState:Ne}=I.actions,Me=I.reducer},28086:(e,t,n)=>{"use strict";n.d(t,{i:()=>h});var r=n(72608),i=n(99393),o=n(8218),a=n(18627),s=n(44361),l=n(33453),c=n(23017),u=n(70030),d=n(2728),p=n(44414);const h=e=>{let{className:t="",filters:n,fixedFilters:h,categoryCode:f,search:m,orderBy:g,productNumbers:v,refinements:y,square:A,selectedTab:b,tabs:w,label:x,shrink:C=!1,disablePrice:S,variationNumbers:k,featuredVariations:E,fileName:I,origin:_="product",pdfCartVariations:P,pdfOrders:O,pdfOrderType:T,pdfSettings:D,render:j}=e;const{t:B}=(0,u.B)(),N=(0,c.cb)(),M=(0,c.jL)(),{isB2C:R,isB2BReseller:L}=(0,c.GV)(i.F),F=(0,c.GV)(s.Kc),z=L||!F,Q=(0,c.GV)(a.Si),U=x||(z||"autoDownload"===j?B("pdf.download"):B("action.export","Export"));return R?null:(0,p.jsx)(p.Fragment,{children:(0,p.jsx)(l.K0,{className:`${null!==t&&void 0!==t?t:""}`,square:A&&(!C||N.sm),icon:r.o1d,large:!0,color:"text",bgColor:"fillWhite",onClick:()=>{if(M(d.w9.exportToolOpened({origin:_,parameters:{categories:f||Q,filters:n,fixedFilters:h,search:m,orderBy:g,productNumbers:v},data:{refinements:y,featuredVariations:E,variationNumbers:k,pdfCartVariations:P,pdfOrders:O,pdfOrderType:T,pdfSettings:D},selectedTab:z?"pdf":b,options:{fileName:I,disablePrice:S,tabs:z?["pdf"]:w,render:z?"autoDownload":j},hideFilters:!f})),L){const{newFileName:e,sectionName:t}=((e,t)=>({newFileName:null!==e&&void 0!==e?e:"Products list",sectionName:"cart"===t?t:"PDP"}))(I,_);M((0,o.TE)({fileName:e,sectionName:t}))}},children:C?N.sm&&U:U})})}},77813:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>m,bu:()=>d,lk:()=>h});var r=n(11359),i=n(44805),o=n(8836),a=n(74635),s=n(12180),l=n(44414);const c={userExportStatus:[],timer:void 0},u=(0,r.Z0)({name:"exportedFilesSlice",initialState:c,reducers:{setTimer(e,t){e.timer&&clearTimeout(e.timer),e.timer=t.payload}},extraReducers:e=>{e.addCase(d.fulfilled,((e,t)=>{e.userExportStatus=t.payload})),e.addCase(d.rejected,(()=>{f(void 0)}))}}),d=(0,r.zD)("exportedFiles/pollUserExportStatus",(async(e,t)=>{let{getState:n,dispatch:r}=t;const o=await i.Ay.getAllExportStatuses(),s=n().exportedFiles.userExportStatus.filter((e=>!e.finished&&!e.isError)),l=o.data.filter((e=>!e.finished&&!e.isError));for(const i of s){if(!l.find((e=>e.requestId===i.requestId))){const e=o.data.find((e=>e.requestId===i.requestId));if(!e)continue;const t=e.isError;r(p({text:t?(0,a.t)("export.fileExportFailed","File export failed"):(0,a.t)("export.fileExportCompleted","File export completed"),type:t?"error":"success"}))}}if(l.length>0){const e=setTimeout((()=>{r(d())}),1e4);r(f(e))}return o.data})),p=(0,r.zD)("exportedFiles/addToast",(async e=>{(0,s.oR)((()=>(0,l.jsx)(o.A,{text:e.text,preset:e.type})),{autoClose:7e3,position:"bottom-center"})})),h=e=>e.exportedFiles.userExportStatus,{setTimer:f}=u.actions,m=u.reducer},66248:(e,t,n)=>{"use strict";n.d(t,{e:()=>v});var r=n(28181),i=n(26681),o=n(8836),a=n(33453),s=n(23017),l=n(69435),c=n(70030),u=n(73878),d=n(12180),p=n(24937),h=n(24380),f=n(3260),m=n(94597),g=n(44414);const v=()=>{const{t:e}=(0,c.B)(),t=(0,s.GV)(f.Lt.products),n=(0,s.GV)(f.Lt.productsLoading);return(0,g.jsxs)(b,{children:[n===f.Gu.Fullfilled&&(0,g.jsx)(g.Fragment,{children:t&&t.length>0?(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)("div",{style:{overflowY:"scroll",scrollbarWidth:"thin"},children:null===t||void 0===t?void 0:t.map((e=>(0,g.jsx)(y,{product:e},e.productNumber)))}),(0,g.jsx)(A,{})]}):(0,g.jsx)(j,{children:(0,g.jsx)(m.Nc,{t:e})})}),n===f.Gu.Pending&&(0,g.jsx)(j,{children:(0,g.jsx)(m.kt,{t:e})}),n===f.Gu.Rejected&&(0,g.jsx)(m.Kw,{t:e})]})},y=e=>{let{product:t}=e;const n=(0,u.wA)(),i=(0,s.cb)(),{t:p}=(0,c.B)(),m=(0,s.GV)((e=>e.images.cartItemProducts));return(0,g.jsxs)(w,{justify:"between",align:"center",children:[(0,g.jsx)(x,{children:(0,g.jsxs)(C,{children:[(0,g.jsx)(S,{children:(0,g.jsx)(k,{src:(0,h.Ay)(null===t||void 0===t?void 0:t.image,h.yj.ThumbNail,l.ImageExtension.Jpg)})}),(0,g.jsxs)(E,{column:!0,children:[(0,g.jsx)(_,{small:!0,"data-name":!0,textOverflow:"225",className:"f1-500",children:null===t||void 0===t?void 0:t.productName}),(0,g.jsx)(I,{className:"text-nowrap",children:null===t||void 0===t?void 0:t.productNumber}),(0,g.jsx)(I,{className:"text-nowrap",children:null===t||void 0===t?void 0:t.productBrandName})]})]})}),(0,g.jsx)(a.so,{column:!0,align:"center",justify:"center",children:t&&(null===t||void 0===t?void 0:t.productNumber)&&(0,g.jsx)(a.K0,{icon:null!==m&&void 0!==m&&m.find((e=>e.productNumber===t.productNumber))?r.iuH:r.vkJ,onClick:()=>{if(n((0,f.Sc)(t)),i.lgBelow){const e=!(null!==m&&void 0!==m&&m.find((e=>e.productNumber===t.productNumber)));(0,d.oR)((()=>(0,g.jsx)(o.A,{preset:e?"success":void 0,text:`${p(e?"export.added":"export.removed")}: ${t.productName}`,icon:e?void 0:r.iuH})),{position:"bottom-center",autoClose:2e3})}},className:"flex-shrink-0 mr-1"})})]})},A=()=>{const{currentPage:e,pageSize:t=1,totalItems:n,totalPages:r=0}=(0,s.GV)(f.Lt.paginationInfo),i=(0,u.wA)(),{t:o}=(0,c.B)(),a=(e-1)*t+1,l=(e-1)*t+t;return(0,g.jsx)(T,{children:r>0?(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(D,{children:`${a} - ${l} / ${n} ${o("product.product_other","Products")}`}),(0,g.jsxs)(P,{children:[(0,g.jsx)(O,{className:1===e?"disabled":"",onClick:()=>i((0,f.Ir)(e-1)),children:(0,g.jsx)("div",{className:"arrow left"})}),(0,g.jsx)(O,{children:e}),(0,g.jsx)("li",{style:{display:"flex",height:"32px",alignItems:"center",lineHeight:"1.43",fontSize:"13px"},children:"/"}),(0,g.jsx)(O,{children:r}),(0,g.jsx)(O,{className:e===r?"disabled":"",onClick:()=>i((0,f.Ir)(e+1)),children:(0,g.jsx)("div",{className:"arrow right"})})]})]}):null})},b=p.Ay.div.withConfig({componentId:"sc-13da903-0"})(["width:100%;padding:12px 12px 0 12px;display:flex;flex-direction:column;justify-content:space-between;"]),w=(0,p.Ay)(a.so).withConfig({componentId:"sc-13da903-1"})(["font-size:12px;margin-bottom:12px;background-color:transparent;"]),x=(0,p.Ay)(i.A).withConfig({componentId:"sc-13da903-2"})(["flex:1;"]),C=(0,p.Ay)(a.so).withConfig({componentId:"sc-13da903-3"})([""]),S=p.Ay.div.withConfig({componentId:"sc-13da903-4"})(["margin-right:6px;"]),k=(0,p.Ay)(a._V).withConfig({componentId:"sc-13da903-5"})(["width:35px;max-height:35px;object-fit:contain;"]),E=(0,p.Ay)(a.so).withConfig({componentId:"sc-13da903-6"})(["flex-grow:2;font-size:12px;"]),I=p.Ay.span.withConfig({componentId:"sc-13da903-7"})(["color:",";"],(e=>{let{theme:t}=e;return t.colors.textLight})),_=(0,p.Ay)(a.EY).withConfig({componentId:"sc-13da903-8"})([""]),P=p.Ay.ul.withConfig({componentId:"sc-13da903-9"})(["display:flex;justify-content:center;align-items:center;margin-bottom:0;padding-left:0px;list-style-type:none;justify-content:center;"]),O=p.Ay.li.withConfig({componentId:"sc-13da903-10"})(["padding:0 6px;height:32px;text-align:center;margin:auto 4px;color:rgba(0,0,0,0.87);display:flex;box-sizing:border-box;align-items:center;letter-spacing:0.01071em;line-height:1.43;font-size:13px;justify-content:center;&.dots:hover{background-color:transparent;cursor:default;}&:hover{cursor:pointer;}&.selected{background-color:rgba(0,0,0,0.08);}.arrow{&::before{position:relative;content:'';display:inline-block;width:0.4em;height:0.4em;border-right:0.12em solid rgba(0,0,0,0.87);border-top:0.12em solid rgba(0,0,0,0.87);}&.left{transform:rotate(-135deg) translate(-50%);}&.right{transform:rotate(45deg);}}&.disabled{pointer-events:none;.arrow::before{border-right:0.12em solid rgba(0,0,0,0.43);border-top:0.12em solid rgba(0,0,0,0.43);}&:hover{background-color:transparent;cursor:default;}}"]),T=p.Ay.div.withConfig({componentId:"sc-13da903-11"})(["min-height:104px;background-color:",";border-top:1px solid #eaeaea;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;"],(e=>{let{theme:t}=e;return t.colors.fill})),D=p.Ay.div.withConfig({componentId:"sc-13da903-12"})(["font-size:12px;color:",";"],(e=>{let{theme:t}=e;return t.colors.textLight})),j=p.Ay.div.withConfig({componentId:"sc-13da903-13"})(["position:absolute;bottom:50%;left:25%;right:25%;text-align:center;"])},3260:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>$,FB:()=>H,Gu:()=>g,Ir:()=>G,L4:()=>L,Lt:()=>F,MT:()=>S,Pf:()=>x,Sc:()=>X,Wy:()=>q,XG:()=>W,Xq:()=>Y,Zp:()=>E,Zu:()=>A,eo:()=>O,f5:()=>v,io:()=>U,mt:()=>z,wG:()=>Q,yP:()=>J,yj:()=>y});var r=n(11359),i=n(85913),o=n(44805),a=n(84848),s=n(1820),l=n(2728),c=n(8836),u=n(84238),d=n(69435),p=n(12180),h=n(51673),f=n(93366),m=n(44414),g=function(e){return e[e.Pending=0]="Pending",e[e.Fullfilled=1]="Fullfilled",e[e.Rejected=2]="Rejected",e[e.None=3]="None",e}(g||{});let v=function(e){return e.HighRes="highRes",e.Standard="standard",e.Preview="preview",e.ThumbNail="thumbNail",e}({}),y=function(e){return e.ProductPicture="Productpicture",e.ImagePicture="Imagepicture",e}({}),A=function(e){return e.None="none",e.Front="front",e.Right="right",e.Left="left",e.Back="back",e.CloseUp1="closeup1",e.CloseUp2="closeup2",e.CloseUp3="closeup3",e}({});function b(){return{products:void 0,productsLoading:g.None,pagination:{currentPage:1,pageSize:1,totalItems:0,totalPages:1},openProductImageSlider:!1,selectedProductId:"",selectedImageId:void 0,configuration:{imageAngles:[A.Front,A.Right,A.Left,A.Back,A.CloseUp1,A.CloseUp2,A.CloseUp3,A.None],imageTypes:[y.ProductPicture,y.ImagePicture],imageFormat:[],preferredImageFileType:d.PreferredImageFileType.Jpg},downloadButtonState:f.s8.Disabled,showFilters:!1,cartItemProducts:[],exportImagesInitialized:"uninitiated"}}const w=(0,r.Z0)({name:"ExportImages",initialState:b(),reducers:{setSelectedProductId(e,t){e.selectedProductId=t.payload},setSelectedImageId(e,t){e.selectedImageId=t.payload},setFeaturedVariation(e,t){var n,r,i;const{productNumber:o,variationNumber:a}=t.payload;const s=(null!==(n=e.cartItemProducts)&&void 0!==n&&n.length?e.cartItemProducts:null!==(r=null===(i=e.products)||void 0===i?void 0:i.items)&&void 0!==r?r:[]).find((e=>e.productNumber===o));if(null!==s&&void 0!==s&&s.variations)for(const l of s.variations)l.featured=l.variationNumber===a},setOpenProductImageSlider(e,t){e.openProductImageSlider=t.payload},setPagination(e,t){e.pagination=t.payload},setPage(e,t){e.pagination.currentPage=t.payload},setImageType(e,t){const n=t.payload;n.checked?e.configuration.imageTypes.push(n.type):e.configuration.imageTypes=e.configuration.imageTypes.filter((e=>e!==n.type))},setPreferredImageFileType(e,t){e.configuration.preferredImageFileType=t.payload},setImageAngle(e,t){const n=t.payload;n.checked?e.configuration.imageAngles.push(n.angle):e.configuration.imageAngles=e.configuration.imageAngles.filter((e=>e!==n.angle)),0===e.configuration.imageAngles.length?e.configuration.imageTypes=e.configuration.imageTypes.filter((e=>e!==y.ProductPicture)):e.configuration.imageTypes.includes(y.ProductPicture)||e.configuration.imageTypes.push(y.ProductPicture)},setImageFormat(e,t){const n=t.payload;var r,i;n.checked?null===(r=e.configuration.imageFormat)||void 0===r||r.push(n.format):e.configuration.imageFormat=null===(i=e.configuration.imageFormat)||void 0===i?void 0:i.filter((e=>e!==n.format))},setDownloadButtonState(e,t){},cartItemProductsToggle:(e,t)=>{if(!t.payload||!e.cartItemProducts)return;const n=e.cartItemProducts.some((e=>{var n;return e.productNumber===(null===(n=t.payload)||void 0===n?void 0:n.productNumber)}));e.cartItemProducts=n?e.cartItemProducts.filter((e=>{var n;return e.productNumber!==(null===(n=t.payload)||void 0===n?void 0:n.productNumber)})):[...e.cartItemProducts,t.payload]},exportImagesInitialized:(e,t)=>{e.exportImagesInitialized=t.payload}},extraReducers:e=>{e.addCase(x.pending,(e=>{e.productsLoading=g.Pending})),e.addCase(x.fulfilled,((e,t)=>{e.products=t.payload,e.productsLoading=g.Fullfilled})),e.addCase(l.o1.exportToolClosed.type,(()=>b())),e.addCase(S.pending,(e=>{e.downloadButtonState=f.s8.Waiting})),e.addCase(S.fulfilled,(e=>{e.downloadButtonState=f.s8.Disabled,e.configuration.imageFormat=[]})),e.addCase(S.rejected,((e,t)=>{h.A.error("ERROR",t),e.downloadButtonState=f.s8.Disabled})),e.addCase(C.fulfilled,((e,t)=>{e.cartItemProducts=t.payload.items}))}}),x=(0,r.zD)("exportImages/getImages",(async(e,t)=>{var n;let{dispatch:r,getState:i}=t;const a=i(),{productNumbers:l,...c}=M(a),u=c.language,d=(0,s.UI)(c.filters,c.fixedFilters),p={...c,filters:d,page:e,pageSize:40,orderBy:null!==(n=c.orderBy)&&void 0!==n?n:"relevance",searchPhrase:c.search},h=await o.Ay.getImagesPreview(u,[],p),{currentPage:f=1,totalPages:m=1,totalItems:g=0,pageSize:v=1}=(null===h||void 0===h?void 0:h.data)||{};return r(V({currentPage:f>m?1:f,totalPages:m,totalItems:g,pageSize:v})),h.data})),C=(0,r.zD)("exportImages/getCartImages",(async(e,t)=>{var n,r;let{getState:i}=t;const a=i(),{productNumbers:l,...c}=M(a),u=c.language,d=(0,s.UI)(c.filters,c.fixedFilters),p={...c,filters:d,page:1,pageSize:null!==(n=null===l||void 0===l?void 0:l.length)&&void 0!==n?n:40,orderBy:null!==(r=c.orderBy)&&void 0!==r?r:"relevance",searchPhrase:c.search};return(await o.Ay.getImagesPreview(u,null!==l&&void 0!==l?l:[],p)).data})),S=(0,r.zD)("exportImages/imagesexport",(async(e,t)=>{let{getState:n,dispatch:r,rejectWithValue:i}=t;const a=n(),{productNumbers:c,...p}=M(a),{language:f,categories:m,filters:g,fixedFilters:v,search:y,orderBy:A}=p,b=a.images.configuration,{imageTypes:w,imageAngles:x,imageFormat:C,preferredImageFileType:S}=b;let E;if(E=O(a)?{orderBy:A,productNumbers:D(a),imageAngles:x,imageFormats:C,imageTypes:w,preferredImageFileType:S}:{searchFilter:(0,s.UI)(g,v),categories:m,search:y,orderBy:A,imageFormats:C,imageAngles:x,imageTypes:w,preferredImageFileType:S},!E)return i("Oops! Something went wrong... Try again later.");try{await o.Ay.generateImageExport(f,E),await r(l.w9.getUserAllowedExportRequest(d.ProgressStatusSource.ImageExport)),r(k({text:u.A.t("pdfImages.sucessRequestSent","Request has been sent and a zip file with the images will be sent to your e-mail."),type:"success"}))}catch(I){h.A.error("ERROR: ",I),r(k({text:u.A.t("pdfImages.errorRequestSent","."),type:"error"}))}finally{r(l.o1.setExportThresholdPollingActive({key:"images",value:!0}))}})),k=(0,r.zD)("",(async e=>{(0,p.oR)((()=>(0,m.jsx)(c.A,{text:e.text,preset:e.type})),{autoClose:7e3,position:"bottom-center"})})),E=()=>(e,t)=>{const n=(0,l.S4)();if(void 0===n)return;const r=t(),i=M(r),o=_(r).currentPage;O(r)&&n&&e(x(1)),e((0,l.uO)(n)),"initiated"!==r.images.exportImagesInitialized&&(null!==i&&void 0!==i&&i.productNumbers&&i.productNumbers.length>0?e(C(o)):e(x(o)),e(w.actions.exportImagesInitialized("initiated")))},I=e=>{var t;return null===(t=e.images.products)||void 0===t?void 0:t.items},_=e=>e.images.pagination,P=e=>e.images.configuration,O=e=>{var t;return e.images.cartItemProducts&&(null===(t=e.images.cartItemProducts)||void 0===t?void 0:t.length)>0},T=e=>e.images.cartItemProducts,D=(0,i.Mz)(T,(e=>(null===e||void 0===e?void 0:e.map((e=>e.productNumber)).filter((e=>void 0!==e&&null!==e)))||[])),j=(0,i.Mz)(I,(e=>e.images.selectedProductId),((e,t)=>e&&t&&e.find((e=>e.productNumber===t))||[])),B=(0,i.Mz)(P,(e=>0===e.imageFormat.length)),N=(0,i.Mz)(P,(e=>{const{imageAngles:t,imageTypes:n}=e,r=[""],i=["Productpicture"],o=0===t.length||t.every((e=>r.includes(e))),a=0===n.length||n.every((e=>i.includes(e)));return o&&a})),M=(0,i.Mz)(l.Lt.parameters,a.Fu,((e,t)=>{var n;return{...e,language:null!==(n=null===t||void 0===t?void 0:t.name)&&void 0!==n?n:"en"}})),R=(e,t,n)=>null!==e&&void 0!==e&&e.length?e.filter((e=>!!(!t||e.type&&t.includes(e.type))&&!!(!n||e.angle&&n.includes(e.angle)))):[],L=(e,t,n)=>{var r;let i=[],o=[];const a=[...null!==(r=e.variations)&&void 0!==r?r:[]].sort(((e,t)=>e.featured?-1:1)),s=null===a||void 0===a?void 0:a.flatMap((e=>{var t;return null!==(t=e.images)&&void 0!==t?t:[]}));return t.includes(y.ProductPicture)&&(o=R(s,[y.ProductPicture],n),o.length||(o=R(e.pictures,[y.ProductPicture],n)),o=[...new Map(o.map((e=>[e.imageId,e]))).values()]),t.includes(y.ImagePicture)&&(i=R(e.pictures,[y.ImagePicture])),[i,o]},F={areImageFormatBoxesEmpty:B,areAllCheckBoxesEmpty:N,cartItemProducts:T,cartItemsProductNumbers:D,configuration:P,downloadButtonState:e=>e.images.downloadButtonState,exportParameters:M,paginationInfo:_,product:j,products:I,productsLoading:e=>e.images.productsLoading,selectedImageId:e=>e.images.selectedImageId},{setFeaturedVariation:z,setOpenProductImageSlider:Q,setSelectedProductId:U,setPagination:V,setPage:G,setImageType:q,setImageAngle:H,setImageFormat:W,setPreferredImageFileType:Y,setDownloadButtonState:K,setSelectedImageId:J,cartItemProductsToggle:X,exportImagesInitialized:Z}=w.actions,$=w.reducer},83032:(e,t,n)=>{"use strict";n.d(t,{k:()=>i});var r=n(61768);const i=(0,n(24937).Ay)(r.A).withConfig({componentId:"sc-pjn6ve-0"})(["width:100%;overflow-x:auto;flex:1;display:grid;grid-template-columns:1fr;scrollbar-width:thin;"])},94597:(e,t,n)=>{"use strict";n.d(t,{Kw:()=>c,Nc:()=>u,kt:()=>l});var r=n(61768),i=n(82002),o=n(90204),a=n(83032),s=n(44414);const l=e=>{let{t:t}=e;return(0,s.jsx)(a.k,{$grow:1,justify:"center",align:"center",width:"100%",column:!0,children:(0,s.jsxs)(r.A,{column:!0,children:[(0,s.jsx)(i.A,{className:"mb-2",center:!0,useFullHeight:!0,size:"large"}),(0,s.jsx)(r.A,{justify:"center",align:"center",gap:"1",children:(0,s.jsx)(o.A,{children:t("pdfImages.loadPreview","Loading products, please wait...")})})]})})},c=e=>{let{t:t}=e;return(0,s.jsx)(a.k,{$grow:1,justify:"center",align:"center",width:"100%",children:(0,s.jsxs)(o.A,{children:[t("pdfImages.failedLoadPreview","Failed to load images"),"..."]})})},u=e=>{let{t:t}=e;return(0,s.jsx)(a.k,{$grow:1,justify:"center",align:"center",width:"100%",children:(0,s.jsx)(o.A,{children:t("pdfImages.noProducts","No products...")})})}},562:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>Ie,Lt:()=>Se,Wp:()=>Ce,o1:()=>Ee,w9:()=>ke});var r=n(11359),i=n(85913),o=n(44805),a=n(77018),s=n(95461),l=n(50361),c=n(84848),u=n(1820),d=n(41107),p=n(2728),h=n(58847),f=n(46482),m=n(37423),g=n(8836),v=n(67857),y=n(75081),A=n(58473),b=n(41103),w=n(99393),x=n(84238),C=n(69435),S=n(12180),k=n(54579),E=n(57158),I=n(51673),_=n(39876),P=n(55628),O=n(72840),T=n(44414);const D="__pdfTemplate__",j="__lastConfig__";let B=[];const N={status:"uninitiated",settings:{},imagesPending:!1,images:{aboutPages:[],coverImages:[],sizeGuides:[]},svgs:{},settingsChanged:!1,productsPending:!1,refinements:[],terms:[]},M=(0,r.Z0)({name:"pdfSettings",initialState:N,reducers:{pdfSettingsUpdated(e,t){e.settings={...e.settings,...t.payload},e.settingsChanged=!0},pdfSettingsSet(e,t){e.settings=t.payload,e.settingsChanged=!0},previewRefreshed(e){e.settingsChanged=!1},templatesSet(e,t){e.templates=t.payload}},extraReducers:e=>{e.addCase(U.pending,(e=>{e.imagesPending=!0})),e.addCase(U.rejected,(e=>{e.imagesPending=!1})),e.addCase(U.fulfilled,((e,t)=>{e.images=t.payload,e.imagesPending=!1})),e.addCase(L.fulfilled,((e,t)=>{e.terms=t.payload})),e.addCase(z.pending,(e=>{e.productsPending=!0})),e.addCase(z.fulfilled,(e=>{e.productsPending=!1})),e.addCase(z.rejected,(e=>{e.productsPending=!1})),e.addCase(V.fulfilled,((e,t)=>{e.templates=t.payload})),e.addCase(V.rejected,(e=>{e.templates=[]})),e.addCase(R.pending,(e=>{e.status="initiating"})),e.addCase(R.fulfilled,((e,t)=>{e.settings=t.payload,e.status="ready"})),e.addCase(R.rejected,((e,t)=>{var n,r;I.A.error(null!==(n=null===(r=t.payload)||void 0===r?void 0:r.message)&&void 0!==n?n:"",t.error),e.status="error"})),e.addCase(p.o1.exportToolClosed,(()=>N)),e.addCase(p.o1.exportToolOpenedSet,((e,t)=>{var n,r,i,o,a,s,l,c,u,d;e.settings=null!==(n=null===(r=t.payload.data)||void 0===r?void 0:r.pdfSettings)&&void 0!==n?n:{},e.productNumbers=t.payload.parameters.productNumbers,e.variationNumbers=null===(i=t.payload.data)||void 0===i?void 0:i.variationNumbers,e.featuredVariations=null===(o=t.payload.data)||void 0===o?void 0:o.featuredVariations,e.refinements=null!==(a=null===(s=t.payload.data)||void 0===s?void 0:s.refinements)&&void 0!==a?a:[],e.orders=null===(l=t.payload.data)||void 0===l?void 0:l.pdfOrders,e.cartVariations=null!==(c=null===(u=t.payload.data)||void 0===u?void 0:u.pdfCartVariations)&&void 0!==c?c:void 0,e.orderType=null===(d=t.payload.data)||void 0===d?void 0:d.pdfOrderType}))}}),R=(0,r.zD)("pdfSettings/init",(async(e,t)=>{var n,r;let{getState:i,dispatch:o}=t;const a=i(),l=p.Lt.origin(a),u=p.Lt.render(a),d=$(a),m=(0,c.vr)(a),g=(0,c.Ax)(a),y=!(0,h._M)(a),A=p.Lt.priceEnabled(a),b=null===(n=p.Lt.options(a))||void 0===n?void 0:n.skipProductSearch;let w={};var x,S,k,I;(w.showSizes="offer"!==l,"order"!==l&&"microshop"!==l||(w.customerPrice=!0),"order"===l||"microshop"===l||"cart"===l)&&(w.useSeller=!0,w.useQuotationPage=!0,w.sellerLogoURL=null!==(x=null===m||void 0===m?void 0:m.url)&&void 0!==x?x:"",w.fromName="",w.fromCompany=null!==(S=null===g||void 0===g?void 0:g.company)&&void 0!==S?S:"",w.fromPhone=null!==(k=null===g||void 0===g?void 0:g.phone)&&void 0!==k?k:"",w.fromEmail=null!==(I=null===g||void 0===g?void 0:g.email)&&void 0!==I?I:"");if("product"===l||"cart"===l){w.useProductPage=!0,w.showImagePicture=!0,w.useApplicationPage=!0,w.useCompactLayout=!1;const e="tool"===u&&Y(l,!0);e&&Object.assign(w,e);const t=we(a);t&&Object.assign(w,t)}if("offer"===l&&(w.useQuotationPage=!0),"cart"===l){w.showSizes=!0,w.customerPrice=y&&A;const e=fe(i());e&&(w.useCustomer=!0,Object.assign(w,e))}w.useRefinementWarnings=!0,"refinements"===l&&(w.useApplicationPage=!0),Object.assign(w,d);const _=[];b||await o(z()),"tool"===u&&(await o((0,v.oc)()),await o(U()),"offer"===l&&_.push(o(L())));const P=a.pdfSettings.refinements.flatMap((e=>{var t,n;return null!==(t=null===(n=e.inputs)||void 0===n?void 0:n.filter((e=>e.type===C.ShopCartRefinementInputType.FixedImage)).map((e=>e.value&&!Number.isNaN(+e.value)?+e.value:C.AddonFixedImageType.None)))&&void 0!==t?t:[]}));if(P.length)for(const c of P){const e=o((0,s.wv)(c));_.push(e)}const O=a.pdfSettings.refinements.map((e=>e.id)).filter(E.A),T=o((0,f.ss)({ids:O,orderIdentifier:null===(r=a.export.options)||void 0===r?void 0:r.identifier}));return _.push(T),await Promise.all(_),w})),L=(0,r.zD)("pdfSettings/getTerms",(async e=>(await o.Ay.cartsGetOfferTerms()).data));let F=[];const z=(0,r.zD)("pdfSettings/getProducts",(async(e,t)=>{let{getState:n}=t;const r=n(),{productNumbers:i,...a}=p.Lt.parameters(r),s="product"===p.Lt.origin(r)?C.PriceViewSetting.RetailAndCustomer:C.PriceViewSetting.Retail;let l;if(i)i.length||(F=[]),l=await o.Ay.getAttributeProducts(i,s);else{var c;const e=(0,u.UI)(a.filters,a.fixedFilters);l=await o.Ay.exportSearchProducts({...a,filters:e,page:1,pageSize:40,orderBy:null!==(c=a.orderBy)&&void 0!==c?c:"relevance"},s)}F=l.data})),Q=(0,r.zD)("pdfSettings/uploadFile",(async(e,t)=>{let{getState:n,rejectWithValue:r}=t;const i=n(),a=p.Lt.options(i),s=Se.fileName(i);if(null===a||void 0===a||!a.email||null===a||void 0===a||!a.identifier)return r("No email or identifier");const l=[new File([e],s,{type:"application/pdf"})];o.Ay.orderPublicSendOrderDocuments(a.identifier,a.email,l)})),U=(0,r.zD)("pdfSettings/getAllEpiImages",(async(e,t)=>{var n,r,i;let{getState:o,dispatch:s}=t;const l=o(),c=null!==(n=null===(r=l.siteDefinition.language)||void 0===r?void 0:r.name)&&void 0!==n?n:"en",u=Array.from(new Set(null===(i=F)||void 0===i?void 0:i.map((e=>{var t;return null!==(t=e.productBrandName)&&void 0!==t?t:""})))),d="tool"===p.Lt.render(l),h=l.pdfSettings.images,{language:f,brands:m}=h,g=c!==f,v=new Set(m),y=g||(null===m||void 0===m?void 0:m.length)!==u.length||!u.every((e=>v.has(e)));let A,b,w;g&&d&&(A=a.A.getAboutPages(l.siteDefinition.marketId,c)),y&&d&&(b=a.A.getCoverImages(l.siteDefinition.marketId,c,u),w=a.A.getSizeGuides(l.siteDefinition.marketId,c,u));return{brands:u,language:c,aboutPages:A?(await A).data:h.aboutPages,coverImages:b?(await b).data:h.coverImages,sizeGuides:w?(await w).data:h.sizeGuides}})),V=(0,r.zD)("pdfSettings/getTemplates",(async e=>{const t=await o.Ay.cartsGetPdfTemplates();B=t.data;return B.map((e=>e.settings?e.name:void 0)).filter(E.A)})),G=(0,r.zD)("pdfSettings/persistTemplateToServer",(async(e,t)=>{let{dispatch:n}=t;await o.Ay.cartsSavePdfTemplate(e),(0,S.oR)((()=>(0,T.jsx)(g.A,{text:`${x.A.t("status.saved")}${e.name?` - ${e.name}`:""}`,preset:"success"})),{autoClose:3e3,delay:400,position:"bottom-center"}),B=[...B.filter((t=>t.name!==e.name)),e],n(Ee.templatesSet(B.map((e=>e.name)).filter(E.A)))})),q=(0,r.zD)("pdfSettings/saveTemplate",(async(e,t)=>{let{dispatch:n,getState:r}=t;const i=r(),o=i.pdfSettings.settings;function a(){n(G({name:e,settings:o}))}if(e){var s;(null===(s=i.pdfSettings.templates)||void 0===s?void 0:s.some((t=>t===e)))?n((0,l.wp)({title:x.A.t("action.replace","Replace"),description:x.A.t("template.warnTemplateExist","There is already a template saved with this name. This will overwrite the saved template with current configuration."),onOk:a,onCancel:()=>{}})):a()}else{const e=p.Lt.origin(i);if("product"===e||"cart"===e){var c;const t=null!==(c=K())&&void 0!==c?c:{};t[`${e}${j}`]=o,localStorage.setItem(D,JSON.stringify(t))}"offer"===e&&n((0,y.AA)(i.pdfSettings.settings))}})),H=(0,r.zD)("pdfSettings/copyTemplate",(async(e,t)=>{let{dispatch:n}=t;const r=B.find((t=>t.name===e));null!==r&&void 0!==r&&r.settings?n(Ee.pdfSettingsSet(r.settings)):(0,S.oR)((()=>(0,T.jsx)(g.A,{preset:"error",text:x.A.t("error.general")})))})),W=(0,r.zD)("pdfSettings/removeTemplate",(async(e,t)=>{let{dispatch:n}=t;B=B.filter((t=>t.name!==e)),n(Ee.templatesSet(B.map((e=>e.name)).filter(E.A)))})),Y=(e,t)=>{const n=K();if(n)return n[`${e}${t?j:""}`]};function K(){try{const e=localStorage.getItem(D);if(!e)return;return JSON.parse(e)}catch(e){(0,S.oR)((()=>(0,T.jsx)(g.A,{preset:"error",text:x.A.t("error.general")})))}}const J=e=>e.pdfSettings.images.coverImages,X=e=>e.pdfSettings.images,Z=e=>e.pdfSettings.refinements,$=e=>e.pdfSettings.settings,ee=e=>e.pdfSettings.settings.terms,te=e=>e.pdfSettings.productsPending,ne=e=>e.pdfSettings.orderType,re=(0,i.Mz)(Z,p.Lt.origin,$,((e,t,n)=>{const r="offer"===t&&n.newPrice;return"cart"===t||"offer"===t||"microshop"===t?e.map(((e,t)=>{const i=r&&e.offerPrice&&e.offerPrice.str,o=r&&e.offerPriceTotal&&e.offerPriceTotal.str,a=i||(n.customerPrice&&e.price?e.price:void 0),s=o||(n.customerPrice&&e.total?e.total:void 0);return{...e,orderLines:[{description:e.productName,price:a,quantity:e.quantity,totalExVat:s}],index:t}})):e.map(((e,t)=>({...e,index:t})))})),ie=(0,i.Mz)(p.Lt.priceEnabled,p.Lt.origin,h._M,w.F,b.eN,te,((e,t,n,r,i,o)=>{let{isB2B:a}=r;if(!e)return;function s(){return!n&&(!!a&&("product"===t||"cart"===t||"selling"===(null===i||void 0===i?void 0:i.customerRelation)))}const l=new Set;return"offer"===t&&l.add("offer"),s()&&l.add("customer"),s()&&!o&&F.find((e=>{var t,n;return(null===(t=e.price)||void 0===t||null===(n=t.box)||void 0===n?void 0:n.customer)&&e.price.inboxItems&&e.price.inboxItems>1}))&&l.add("box"),l.add("retail"),l})),oe=(0,i.Mz)((e=>e.pdfSettings.settings.aboutPages),(e=>new Set(null===e||void 0===e?void 0:e.split(",")))),ae=(0,i.Mz)((e=>e.pdfSettings.settings.sizeGuides),(e=>new Set(null===e||void 0===e?void 0:e.split(",")))),se=(0,i.Mz)(p.Lt.origin,p.Lt.priceEnabled,h._M,$,ne,((e,t,n,r,i)=>"offer"===e&&!r.newPrice||"cart"===e&&!r.customerPrice||"delivery-note"===i||!t||n)),le=(0,i.Mz)(p.Lt.origin,y.Lt.selectedOfferProducts,y.Lt.selectedOfferCosts,((e,t,n)=>{let r=[];if("offer"===e){const e=n.map((e=>{var t,n;return{name:e.description,price:null===(t=e.offerPrice)||void 0===t?void 0:t.str,totalExVat:null===(n=e.offerPriceTotal)||void 0===n?void 0:n.str,quantity:e.quantity}}));r=[...r,...e]}return r})),ce=(0,i.Mz)(te,p.Lt.origin,(e=>e.pdfSettings.productNumbers),(e=>e.pdfSettings.variationNumbers),(e=>e.pdfSettings.featuredVariations),$,(e=>e.pdfSettings.cartVariations),Z,c.Fu,((e,t,n,r,i,o,a,s,l)=>{if(e)return[];const c=(0,P.A)(null!==n&&void 0!==n?n:[],[...F],(e=>{var t;return null!==(t=e.productNumber)&&void 0!==t?t:""}),!0);if("product"===t&&o.useCompactLayout)return c.map((e=>({...e,variations:[{variationNumber:e.productNumber,price:e.price,image:e.image}]})));const u=[];for(const C of c){if(!C.variations)continue;const e=[];for(const n of C.variations){var d,p;if(null!==r&&void 0!==r&&r.length&&!r.includes(null!==(d=n.variationNumber)&&void 0!==d?d:""))continue;const c={...n};if(a){var h,f,m;const e=null===a||void 0===a?void 0:a.find((e=>e.variationNumber===n.variationNumber));let r;if(c.price=null===e||void 0===e?void 0:e.price,c.addons=null===e||void 0===e?void 0:e.addons,null!==e&&void 0!==e&&e.addons){const t=s.filter(((t,n)=>{var r;return null===(r=e.addons)||void 0===r?void 0:r.includes(n)})),n=null===t||void 0===t?void 0:t.flatMap(((e,t)=>{var n,r;return null!==(n=null===(r=e.positions)||void 0===r?void 0:r.filter((e=>e.variationNumber===c.variationNumber)).map((e=>({...e,index:t}))))&&void 0!==n?n:[]}));r=(0,k.$)(n,(e=>{var t;return null!==(t=e.split)&&void 0!==t?t:"nosplit"}))}if(r&&r.size>1){var g,v;c.splits=[];const e=null!==(g=null===(v=r.get("nosplit"))||void 0===v?void 0:v.map((e=>e.index)))&&void 0!==g?g:[];for(const[t,n]of r){if("nosplit"===t)continue;const r=Array.from((0,k.$)(n,(e=>e.index)).keys()),i={split:t,quantity:(0,O.Y)(n[0].skus,"quantity"),addons:[...r,...e],orderLines:[]};c.splits.push(i)}}const i="offer"===t&&o.newPrice&&null!==e&&void 0!==e&&null!==(h=e.price)&&void 0!==h&&null!==(f=h.special)&&void 0!==f&&f.num?e.price.special:void 0,u="offer"===t&&o.newPrice&&e&&"offerPriceTotal"in e&&(null===e||void 0===e?void 0:e.offerPriceTotal),d=i||(o.customerPrice?null===e||void 0===e||null===(m=e.price)||void 0===m?void 0:m.customer:void 0),p=u||(o.customerPrice?null===e||void 0===e?void 0:e.total:void 0);if(c.total=null!==p&&void 0!==p?p:void 0,o.showSizes){var y;const n=n=>null===n||void 0===n?void 0:n.map((n=>{var r,i,a;const s="offer"===t&&o.newPrice&&null!==(r=n.price)&&void 0!==r&&null!==(i=r.special)&&void 0!==i&&i.num?n.price.special:void 0,l="offer"===t&&o.newPrice&&"offerPriceTotal"in n&&n.offerPriceTotal,c=s||(o.customerPrice?null===e||void 0===e||null===(a=e.price)||void 0===a?void 0:a.customer:void 0),u=l||(o.customerPrice?n.subTotal:void 0);return{deliveryDate:void 0,name:n.size,price:null===c||void 0===c?void 0:c.str,priceNum:null===c||void 0===c?void 0:c.num,totalExVat:"string"===typeof u?u:void 0,quantity:n.quantity,sku:n.sku,comment:null===e||void 0===e?void 0:e.comment}}));if(c.splits)for(const t of c.splits){var A,b,w;const i=null===(A=r)||void 0===A?void 0:A.get(t.split);if(!i)continue;const o=i[0].skus,a=null===e||void 0===e||null===(b=e.price)||void 0===b?void 0:b.currency;t.orderLines=null!==(w=n(o))&&void 0!==w?w:[];const s=t.orderLines.reduce(((e,t)=>{var n,r;return e+(null!==(n=t.priceNum)&&void 0!==n?n:0)*(null!==(r=t.quantity)&&void 0!==r?r:0)}),0);null!==l&&void 0!==l&&l.name&&(t.variationPrice=(0,_.A)(s,l.name,a))}c.orderLines=null!==(y=null===e||void 0===e?void 0:e.orderLines)&&void 0!==y?y:n(null===e||void 0===e?void 0:e.skus)}else{if(c.splits)for(const t of c.splits){var x;const n=null===(x=c.price)||void 0===x?void 0:x.currency;null!==d&&void 0!==d&&d.num&&null!==l&&void 0!==l&&l.name&&t.quantity&&(t.variationPrice=(0,_.A)(d.num*t.quantity,l.name,n)),t.orderLines.push({price:null===d||void 0===d?void 0:d.str,totalExVat:t.variationPrice,quantity:t.quantity,sku:c.variationNumber,comment:null===e||void 0===e?void 0:e.comment})}c.orderLines=[{price:null===d||void 0===d?void 0:d.str,totalExVat:p,quantity:null===e||void 0===e?void 0:e.quantity,sku:c.variationNumber,comment:null===e||void 0===e?void 0:e.comment}]}}c.featured=null!==i&&void 0!==i&&i.length?null===i||void 0===i?void 0:i.includes(null!==(p=n.variationNumber)&&void 0!==p?p:""):n.featured,e.push(c)}u.push({...C,variations:e})}return u})),ue=(0,i.Mz)(p.Lt.fileName,p.Lt.origin,ce,((e,t,n)=>{if(e)return e;if("product"===t&&n.length){var r,i;const e=null!==(r=null===n||void 0===n?void 0:n[0].productNumber)&&void 0!==r?r:"Products",t=null!==(i=null===n||void 0===n?void 0:n[n.length-1].productNumber)&&void 0!==i?i:"Products";return e===t?e:`${e}-${t}`}return(new Date).toLocaleDateString()})),de=(0,i.Mz)(ce,(e=>{var t,n;const r=null!==(t=null===e||void 0===e?void 0:e.flatMap((e=>{var t,n;return null!==(t=null===(n=e.marks)||void 0===n?void 0:n.careInstructions)&&void 0!==t?t:[]})).filter(((e,t,n)=>n.findIndex((t=>t.imageKey===e.imageKey))===t)))&&void 0!==t?t:[],i=null!==(n=null===e||void 0===e?void 0:e.flatMap((e=>{var t,n;return null!==(t=null===(n=e.marks)||void 0===n?void 0:n.certifications)&&void 0!==t?t:[]})).filter(((e,t,n)=>n.findIndex((t=>t.imageKey===e.imageKey))===t)))&&void 0!==n?n:[];return{careInstructions:r,certifications:i,hasSymbols:!!r.length||!!i.length}})),pe=(0,i.Mz)($,(e=>{var t,n,r,i,o,a,s;return{name:null!==(t=e.fromName)&&void 0!==t?t:"",company:null!==(n=e.fromCompany)&&void 0!==n?n:"",email:null!==(r=e.fromEmail)&&void 0!==r?r:"",phone:null!==(i=e.fromPhone)&&void 0!==i?i:"",imageBuffer:null!==(o=e.sellerLogoBuffer)&&void 0!==o?o:"",imageRef:null!==(a=e.sellerLogoImageRef)&&void 0!==a?a:"",imageUrl:null!==(s=e.sellerLogoURL)&&void 0!==s?s:"",display:!!e.useSeller}})),he=(0,i.Mz)($,(e=>{var t,n,r,i,o,a,s,l;return{name:null!==(t=e.toName)&&void 0!==t?t:"",company:null!==(n=e.toCompany)&&void 0!==n?n:"",email:null!==(r=e.toEmail)&&void 0!==r?r:"",customerNumber:null!==(i=e.toCustomerNumber)&&void 0!==i?i:"",phone:null!==(o=e.toPhone)&&void 0!==o?o:"",imageBuffer:null!==(a=e.customerLogoBuffer)&&void 0!==a?a:"",imageRef:null!==(s=e.customerLogoImageRef)&&void 0!==s?s:"",imageUrl:null!==(l=e.customerLogoURL)&&void 0!==l?l:"",display:!!e.useCustomer}})),fe=(0,i.Mz)(b.eN,y.Lt.customer,he,p.Lt.origin,((e,t,n,r)=>{var i,o,a,s;const l="offer"===r?t:null===e||void 0===e?void 0:e.user;if(l)return l.fullName!==(null===n||void 0===n?void 0:n.name)||l.customerName!==(null===n||void 0===n?void 0:n.company)||l.email!==(null===n||void 0===n?void 0:n.email)||l.customerCode!==(null===n||void 0===n?void 0:n.customerNumber)?{toName:null!==(i=l.fullName)&&void 0!==i?i:"",toCompany:null!==(o=l.customerName)&&void 0!==o?o:"",toEmail:null!==(a=l.email)&&void 0!==a?a:"",toPhone:"",toCustomerNumber:null!==(s=l.customerCode)&&void 0!==s?s:"",customerLogoURL:"profileImageUrl"in l?l.profileImageUrl:"",customerLogoImageRef:""}:void 0})),me=(0,i.Mz)(J,(e=>e.pdfSettings.settings.coverImageRef),((e,t)=>{var n;return null===(n=e.find((e=>e.id===t)))||void 0===n?void 0:n.url})),ge=(0,i.Mz)($,(e=>{var t,n;return{available:!!e.coverTitle||!(null===e||void 0===e||!e.coverSubtitle),title:null!==(t=e.coverTitle)&&void 0!==t?t:"",subtitle:null!==(n=e.coverSubtitle)&&void 0!==n?n:""}})),ve=(0,i.Mz)(oe,X,((e,t)=>t.aboutPages.filter((t=>e.has(t.id))))),ye=(0,i.Mz)(ae,X,((e,t)=>t.sizeGuides.filter((t=>e.has(t.id))))),Ae=(0,i.Mz)((e=>e.files.files),(e=>e.filter((e=>{var t,n;return(e.fileExtension||e.fileName)&&/.png|.PNG|.jpg|.JPG|.jpeg|.JPEG/.test(null!==(t=null!==(n=e.fileExtension)&&void 0!==n?n:e.fileName)&&void 0!==t?t:"")})).map((e=>{var t,n,r,i;return{id:null!==(t=e.fileName)&&void 0!==t?t:"",name:null!==(n=null!==(r=e.name)&&void 0!==r?r:e.fileName)&&void 0!==n?n:"",url:null!==(i=e.url)&&void 0!==i?i:""}})))),be=(0,i.Mz)(Ae,c.vr,((e,t)=>[...t?[t]:[],...e])),we=(0,i.Mz)((e=>e.siteDefinition.commerceType),(e=>e.authorization.isAuthenticated),(e=>e.resellers.currentReseller),c.Ax,c.vr,((e,t,n,r,i)=>{let o;var a;e===C.CommerceType.B2BResellers&&n?o={fromCompany:"",fromName:null===n||void 0===n||null===(a=n.name)||void 0===a?void 0:a.toString(),fromPhone:null===n||void 0===n?void 0:n.details.phone.value,fromEmail:null===n||void 0===n?void 0:n.details.email.value,sellerLogoURL:null===n||void 0===n?void 0:n.details.logoImage.value.url}:t||(o={fromCompany:"",fromName:"",fromPhone:null===r||void 0===r?void 0:r.phone,fromEmail:null===r||void 0===r?void 0:r.email,sellerLogoURL:null===i||void 0===i?void 0:i.url,sellerLogoImageRef:null===i||void 0===i?void 0:i.id});return o})),xe=(0,i.Mz)(p.Lt.origin,p.Lt.fileName,y.Lt.offer,A.PE,(e=>e.pdfSettings.orders),ne,c.GO,$,me,ge,ve,ye,ee,pe,he,re,ce,de,s.RZ,le,d.rk,se,m.Lt.basePreviews,((e,t,n,r,i,o,a,s,l,c,u,d,p,h,f,m,g,v,y,A,b,w,x)=>{var C,S,k;let E;const I=g.reduce(((e,t)=>{var n;const r=null===(n=t.attributes)||void 0===n?void 0:n.applicationInfo;if(!r)return e;if(!t.variations)return e;const i={...e};for(const a of t.variations){var o;a.variationNumber&&(i[a.variationNumber]={name:null!==(o=t.productName)&&void 0!==o?o:"",warning:r.join(", ")})}return i}),{});switch(e){case"offer":E=[{...n.offer,refinements:m,products:g,additionalCosts:A}];break;case"cart":E=[{products:g,total:{...b,totalExVat:null===b||void 0===b?void 0:b.exVat,totalIncVat:null===b||void 0===b?void 0:b.incVat,fees:void 0},refinements:m}];break;case"order":E=null!==(C=null===i||void 0===i?void 0:i.map((e=>{var t;return{...e,products:null===(t=e.products)||void 0===t?void 0:t.map((e=>{var t;return null!==(t=g.find((t=>t.productNumber===e.productNumber)))&&void 0!==t?t:e}))}})))&&void 0!==C?C:[];break;case"microshop":E=null!==(S=null===i||void 0===i?void 0:i.map((e=>({...e}))))&&void 0!==S?S:[];break;default:E=[]}return{orderNumber:null===r||void 0===r?void 0:r.orderNumber,orderTables:E,orderType:o,sitePriceFormat:a,settings:s,coverImage:l,coverTitle:c,aboutPages:u,selectedSizeGuides:d,terms:p,seller:h,customer:f,allRefinements:m,products:g,symbols:v,accessoryImages:y.data,fileName:t,origin:e,hidePrice:w,isEmpty:!(s.useAboutPages||s.useApplicationPage||s.useCareInfoPage||s.useCoverPage||s.useProductPage||s.useQuotationPage||s.useSizeTablePage||s.useTableContentPage||s.useTerms),refinementWarnings:s.useRefinementWarnings?{generalRefinementWarning:null===(k=Object.values(x)[0])||void 0===k?void 0:k.generalWarning,refinementWarnings:x,articleWarnings:I}:void 0}})),Ce={getRefinementName:(e,t,n)=>{var r,i,o,a,s;const l=n&&0!==n?n:t;return e.type===C.ShopCartRefinementType.Mounting?`${t}: ${x.A.t("stock.mounting")}, ${x.A.t("product.articleNumber")}: ${null===e||void 0===e?void 0:e.articleId}`:`${l}: ${null!==(r=null!==(i=null!==(o=e.productName)&&void 0!==o?o:e.name)&&void 0!==i?i:null===(a=e.files)||void 0===a||null===(s=a.find((e=>!/-converted\.png$/.test(e.fileName))))||void 0===s?void 0:s.fileName)&&void 0!==r?r:""}`},getPrices:(e,t)=>{var n,r,i,o,a,s;const l=[];if(!t)return l;const c=e.boxPrice&&(null===t||void 0===t||null===(n=t.box)||void 0===n?void 0:n.customer)&&t.inboxItems,u=null===(r=t.retail)||void 0===r?void 0:r.str,d=null===(i=t.box)||void 0===i||null===(o=i.customer)||void 0===o?void 0:o.str,p=null===(a=t.customer)||void 0===a?void 0:a.str,h=null===(s=t.special)||void 0===s?void 0:s.str,f=c?` ${x.A.t("stock.pcs","pcs")}`:"",m=e.prefixRetail||x.A.t("pdf.recommendedPrice"),g=`${null===t||void 0===t?void 0:t.inboxItems} ${x.A.t("stock.pcs")}`,v=x.A.t("price.price");return e.retailPrice&&u&&l.push(`${m} ${u}${f}`),e.customerPrice&&p&&l.push(`${v} ${p}${f}`),c&&d&&l.push(`${g} ${d}`),e.newPrice&&h&&l.push(`${x.A.t("pdf.offerItemPrice")} ${h}`),l}},Se={allCoverImages:J,allSizeGuides:e=>e.pdfSettings.images.sizeGuides,aboutPages:ve,coverImage:me,coverTitle:ge,customer:he,customerDataMissing:fe,documentData:xe,fileName:ue,images:X,imagesPending:e=>e.pdfSettings.imagesPending,priceOptions:ie,products:ce,refinements:Z,seller:pe,sellerFiles:be,settings:$,settingsChanged:e=>e.pdfSettings.settingsChanged,settingsTerms:ee,sizeGuides:ye,status:e=>e.pdfSettings.status,symbols:de,terms:e=>e.pdfSettings.terms,userFiles:Ae,templateList:e=>e.pdfSettings.templates},ke={checkSectionOnEdit:e=>t=>{t(Ee.pdfSettingsUpdated({[e]:!0}))},init:R,saveTemplate:q,uploadFile:Q,removeTemplate:W,copyTemplate:H,getTemplates:V},Ee=M.actions,Ie=M.reducer},60936:(e,t,n)=>{"use strict";n.d(t,{Ft:()=>a,Yj:()=>o,dR:()=>s,nB:()=>l});var r=n(84238),i=n(69435);const o=Object.freeze({ca:"Catalan",cs:"Czech",da:"Danish",nl:"Dutch",en:"English",fi:"Finnish",fr:"French",frCH:"French (Swiss)",de:"German",deCH:"German (Swiss)",el:"Greek",hu:"Hungarian",is:"Icelandic",it:"Italian",no:"Norwegian",pl:"Polish",pt:"Portuguese",ru:"Russian",sl:"Slovenian",es:"Spanish",sv:"Swedish"}),a={[i.ExportLevel.Product]:()=>r.A.t("export.product","Product"),[i.ExportLevel.Variation]:()=>r.A.t("export.variation","Variation / Color"),[i.ExportLevel.Sku]:()=>r.A.t("export.sku","Article / Sku"),[i.ExportLevel.Price]:()=>r.A.t("export.price","Price"),[i.ExportLevel.Image]:()=>r.A.t("export.images","Images (select 1)")},s=Object.freeze({[i.ExportLevel.Product]:"blue",[i.ExportLevel.Variation]:"orange",[i.ExportLevel.Sku]:"purple",[i.ExportLevel.Price]:"grey",[i.ExportLevel.Image]:"grey"}),l={value:"",label:"None"}},2728:(e,t,n)=>{"use strict";n.d(t,{o1:()=>N,Ay:()=>R,p9:()=>S,lg:()=>f,S4:()=>v,Lt:()=>B,gt:()=>k,Aq:()=>I,hc:()=>m,uO:()=>g,w9:()=>M});var r=n(11359),i=n(85913),o=n(44805),a=n(69435),s=n(7430),l=n(96298);const c=(e,t)=>{if(!e.childrenNodes)return!1;let n=!1,r=!1;for(const i of e.childrenNodes)if(i.id&&t.includes(i.id)?n=!0:r=!0,n&&r)return!0;return e.childrenNodes.some((e=>c(e,t)))};let u;const d={parameters:{categories:[],filters:[],productNumbers:void 0,search:void 0,orderBy:void 0},open:!1,tab:void 0,origin:"product",status:"idle",fullScreen:function(){try{return"true"===sessionStorage.getItem("exportToolFullscreen")}catch(e){return!1}}(),showFilters:"false"!==sessionStorage.getItem("showFilter"),exportLoadingFilters:void 0,exportFilters:[],minimizeConfig:!1,categoryFilterVisible:{},activeCategoryFilters:[],hideFilters:!1,searchString:"",fileExportPanelExpanded:!1,userAllowedExportRequest:{excel:!0,images:!0},exportThresholdPollingActive:{excel:!0,images:!0}},p=(0,r.Z0)({name:"export",initialState:d,reducers:{exportToolClosed:e=>({...d,tab:e.tab,fullScreen:e.fullScreen}),setExportToolFullscreen(e,t){e.fullScreen=t.payload},setFileExportPanelExpanded(e,t){e.fileExportPanelExpanded=t.payload},setExportThresholdPollingActive(e,t){e.exportThresholdPollingActive[t.payload.key]=t.payload.value},filterToggle(e,t){const{type:n,value:r}=t.payload,i=e.parameters.filters,o=(0,l.zd)(i,n);e.parameters.filters=(0,l.vm)(o,{type:n,value:r},i)},setFilters(e,t){e.exportFilters=t.payload},configMinimized(e,t){e.minimizeConfig=t.payload},setCategoryFilterVisible:(e,t)=>{e.categoryFilterVisible=t.payload},activeCategoryFiltersSet:(e,t)=>{e.activeCategoryFilters=t.payload,e.parameters.categories=t.payload},exportToolOpenedSet:(e,t)=>{const{parameters:n,selectedTab:r,options:i,origin:o,activeCategoryFilters:a}=t.payload;e.origin=o,n.orderBy||(n.orderBy="relevance"),e.parameters=n,e.options=i,r&&(e.tab=r),e.open="none"!==(null===i||void 0===i?void 0:i.render),e.status="ready",e.activeCategoryFilters=a||[]},toggleCategoryFilterVisible:(e,t)=>{const n=t.payload;n&&(e.categoryFilterVisible[n]=!e.categoryFilterVisible[n])},hideFiltersSet:e=>{e.hideFilters=!0},searchStringSet:(e,t)=>{e.searchString=t.payload,e.parameters.search=t.payload}},extraReducers:e=>{e.addCase(m.fulfilled,((e,t)=>{e.tab=t.payload})),e.addCase(f.fulfilled,((e,t)=>{e.tab=t.payload})),e.addCase(g.fulfilled,((e,t)=>{e.showFilters=t.payload})),e.addCase(A.pending,(e=>{e.exportLoadingFilters=!0})),e.addCase(A.fulfilled,(e=>{e.exportLoadingFilters=!1})),e.addCase(y.fulfilled,((e,t)=>{e.fullScreen=t.payload})),e.addCase(h.fulfilled,((e,t)=>{e.userAllowedExportRequest[t.payload.key]=t.payload.value}))}}),h=(0,r.zD)("export/getUserAllowedExportRequest",(async e=>{const t=await o.Ay.allowedExportRequest(e),n=function(e){switch(e){case a.ProgressStatusSource.ProductExport:case a.ProgressStatusSource.ProductPriceExport:return"excel";case a.ProgressStatusSource.ImageExport:return"images"}}(e);return{key:n,value:t.data}})),f=(0,r.zD)("getSelectedTabThunk",(async(e,t)=>{let n,{getState:r,rejectWithValue:i}=t;try{n=sessionStorage.getItem("selectedTab")}catch(u){return i("Selected tab could not be fetched from sessionStorage.")}const o=r(),a=_(o),s=_(o),l=j(o.export.options,a,s);if(n){const e=n;if(l.has(e))return e}const c=l.values().next().value;return c||i("No visible tabs")})),m=(0,r.zD)("setSelectedTab",(async(e,t)=>{let{rejectWithValue:n}=t;try{return sessionStorage.setItem("selectedTab",e),e}catch(r){return n("An error occured when setting selected tab in sessionStorage.")}})),g=(0,r.zD)("showFiltersSet",(async e=>(sessionStorage.setItem("showFilter",`${e}`),e))),v=()=>"false"!==sessionStorage.getItem("showFilter"),y=(0,r.zD)("export/setFullscreenOption",(async(e,t)=>{let{rejectWithValue:n}=t;try{return sessionStorage.setItem("exportToolFullscreen",e?"true":"false"),e}catch(r){return n("An error occurred when setting selected fullscreen option in sessionStorage.")}})),A=(0,r.zD)("export/getFilters",(async(e,t)=>{var n;let{getState:r,dispatch:i}=t;const a=r(),s=E(a),c=function(e,t){return[...new Map(e.map((e=>[t(e),e]))).values()]}(s?Object.values(s).flatMap((e=>null!==e&&void 0!==e?e:[])):[],(e=>e.filter)),u=c?c.filter((e=>e.visible)).map((e=>({filterName:e.filter,customLabel:e.customLabel,excludedValues:e.excludedValues}))):[],d=await o.Ay.getFilters({filters:u});null===(n=a.export.parameters.filters)||void 0===n||n.forEach((e=>{const t=(0,l.ii)(d,e);null!==t&&void 0!==t&&t.filter?(0,l.MB)(e,t,(async t=>{i(p.actions.filterToggle({type:e.type,value:t}))})):(0,l.eW)(e,(async t=>{i(p.actions.filterToggle({type:e.type,value:t}))}))}));const h=(0,l.ns)(d.data,c);return i(p.actions.setFilters(h)),d.data})),b=e=>e.export.options,w=e=>e.assortment.categories,x=e=>e.export.activeCategoryFilters,C=(0,i.Mz)((e=>e.assortment.assortmentEntryPoints),(e=>Array.from(new Set(e)))),S=e=>{var t,n,r;if(null===e||void 0===e||!e.categoryPaths||(null===e||void 0===e||null===(t=e.categoryPaths)||void 0===t?void 0:t.size)<=1)return null===e||void 0===e?void 0:e.name;const i=null!==(n=Array.from(e.categoryPaths.values())[0])&&void 0!==n?n:"";return null!==(r=null===i||void 0===i?void 0:i.pimName)&&void 0!==r?r:e.name},k=(0,i.Mz)(C,w,x,((e,t,n)=>{const r={};function i(e,t,n){return null===t||void 0===t?void 0:t.map((t=>{var o;const a=null===e||void 0===e?void 0:e[t],s={id:null===a||void 0===a?void 0:a.code,label:null===a||void 0===a?void 0:a.name,parentId:null===a||void 0===a?void 0:a.parent,childrenNodes:i(e,null===a||void 0===a?void 0:a.childrenIds,n)};return s.indeterminate=c(s,n),r[null!==(o=a.code)&&void 0!==o?o:""]=s.indeterminate,s}))}return{categoryNodes:null===e||void 0===e?void 0:e.map((e=>{var o;const a=null===t||void 0===t?void 0:t[e],s={id:null===a||void 0===a?void 0:a.code,label:S(a),childrenNodes:i(t,null===a||void 0===a?void 0:a.childrenIds,n)};return s.indeterminate=c(s,n),r[null!==(o=s.id)&&void 0!==o?o:""]=s.indeterminate,s})),categoryIndeterminate:r}})),E=e=>e.assortment.filtersMap,I=(0,i.Mz)((e=>e.export.parameters.filters),(e=>(0,l.z6)(e))),_=e=>{var t,n;return(0,s.qe)()||(null===(t=e.user.userIdentity)||void 0===t||null===(n=t.features)||void 0===n?void 0:n.Export)},P=e=>{var t,n;return(0,s.qe)()||(null===(t=e.user.userIdentity)||void 0===t||null===(n=t.features)||void 0===n?void 0:n.ExportImages)},O=(0,i.Mz)(b,_,P,((e,t,n)=>j(e,t,n))),T=(0,i.Mz)(O,(e=>e.export.tab),((e,t)=>{var n;let r;try{r=t||sessionStorage.getitem("selectedtab")}catch(i){}return r&&e.has(r)?r:null!==(n=e.values().next().value)&&void 0!==n?n:"pdf"})),D=(0,i.Mz)(b,(e=>!0!==(null===e||void 0===e?void 0:e.disablePrice)));function j(e,t,n){var r;const i=new Set(null!==(r=null===e||void 0===e?void 0:e.tabs)&&void 0!==r?r:["excel","pdf","images"]);return t||i.delete("excel"),n||i.delete("images"),i}const B={fileName:(0,i.Mz)(b,(e=>null===e||void 0===e?void 0:e.fileName)),minimizeConfig:e=>e.export.minimizeConfig,open:e=>e.export.open,origin:e=>e.export.origin,options:b,parameters:e=>e.export.parameters,priceEnabled:D,render:e=>{var t,n;return null!==(t=null===(n=e.export.options)||void 0===n?void 0:n.render)&&void 0!==t?t:"tool"},status:e=>e.export.status,tabs:O,fullscreen:e=>e.export.fullScreen,selectedTab:T,selectActiveCategoryFilters:x,searchString:e=>e.export.parameters.search,selectAllCategoriesAsTree:k,userAllowedExportRequest:e=>e.export.userAllowedExportRequest,exportThresholdPollingActive:e=>e.export.exportThresholdPollingActive,selectAssortmentEntryPointsAsSet:C,selectCategories:w,fileExportPanelExpanded:e=>e.export.fileExportPanelExpanded,userHasExportExcelFeature:_,userHasExportImagesFeature:P,exportLoadingFilters:e=>e.export.exportLoadingFilters},N=p.actions,M={setSelectedTab:m,setCloseListener:e=>()=>{u=e},closeExportTool:()=>e=>{u&&(u(),u=void 0),e(N.exportToolClosed())},exportToolOpened:e=>t=>{const{parameters:n}=e,r=null!==n&&void 0!==n&&n.productNumbers?e:{...e,activeCategoryFilters:n.categories};t(p.actions.exportToolOpenedSet(r)),t(A())},setShowFilterToggle:g,getUserAllowedExportRequest:h},R=p.reducer},47126:(e,t,n)=>{"use strict";n.d(t,{A:()=>K});var r=n(22360),i=n(18627),o=n(81925),a=n(2728),s=n(66248),l=n(3260),c=n(45679),u=n(84647),d=n(33453),p=n(23017),h=n(7691),f=n(64267),m=n.n(f),g=n(69435),v=n(9950),y=n(70030),A=n(34911),b=n(76266),w=n(24937),x=n(44414);const C=e=>{var t;let{rows:n,invert:r}=e;const{t:o}=(0,y.B)(),a=(0,p.cb)(),s=(0,h.A)((e=>{var t,n;let{currentPage:r}=e;return null===(t=r.content)||void 0===t||null===(n=t.contentLink)||void 0===n?void 0:n.url})),l=(0,h.A)((e=>{let{assortment:t}=e;return t.selectedCategory})),[c,u]=(0,v.useState)(!1);return l?(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(d.so,{justify:"between",align:"center",children:(null===l||void 0===l?void 0:l.children)&&l.children.length>n&&(0,x.jsxs)(x.Fragment,{children:[a.width<1300&&(0,x.jsx)(R,{small:!0,children:o("assortment.category_other","Categories")}),(0,x.jsx)(I,{invert:r,toggled:c,onToggle:()=>u(!c)})]})}),(0,x.jsx)(Q,{className:"f1-500 mb-lg-4 mb-2",children:null===l||void 0===l||null===(t=l.children)||void 0===t?void 0:t.map(((e,t)=>{const o=(0,i._4)(e,s);return o.code&&(c||t<n)&&(0,x.jsx)(_,{text:o.name||o.code,url:`${o.url}`,invert:r},o.code+t)}))})]}):null},S=e=>{var t;let{expanded:n,filterOutput:r,filter:i,onToggle:o,collapse:a}=e;const{t:s}=(0,y.B)(),[l,c]=(0,v.useState)(!!n),u=null===(t=r.filter)||void 0===t?void 0:t.reduce(((e,t)=>T(t,i)?e+1:e),0);return(0,x.jsxs)(x.Fragment,{children:[(0,x.jsxs)(d.so,{justify:"between",align:"center",children:[(0,x.jsxs)(R,{small:!0,children:[s("filter.filter_color")," ",u&&u>0?` (${u})`:null]}),r.filter&&a&&(0,x.jsx)(I,{toggled:l,onToggle:()=>c(!l)})]}),(!a||l)&&(0,x.jsx)(G,{children:r.filter.map(((e,t)=>{var n;return e.key&&(0,x.jsx)(d.Sc,{circle:!0,webColor:null===(n=e.key)||void 0===n?void 0:n.toLowerCase(),iconColor:"White"===e.key?"textLight":"textWhite",name:e.name,checked:T(e,i),onChange:()=>o(e)},e.key+t)}))})]})},k=e=>{var t,n;let{expanded:i,filterOutput:o,filter:a,onToggle:s,rows:l,invert:c}=e;const{t:u}=(0,y.B)(),h=null===(t=o.filter)||void 0===t?void 0:t.reduce(((e,t)=>T(t,a)?e+1:e),0),f=(0,p.cb)(),m="color"===(g=o.fieldName)||"brand"===g||"gender"===g||"certification"===g||"designer"===g||"theme"===g||"season"===g||"sleeve"===g||"material"===g||"feature"===g||"activity"===g||"range"===g||"category"===g||"care"===g||"neckline"===g||"fit"===g||"outlet"===g?o.fieldName:void 0;var g;const[A,b]=(0,v.useState)(!!(f.width<1300&&i)),[w,C]=(0,v.useState)({show:!!(f.width>1300&&i),name:null!==m&&void 0!==m?m:""}),S=!w.show&&f.width<1300,k=o.customLabel?o.customLabel:m?u("filter.filter",{context:m}):void 0;return(0,x.jsxs)(x.Fragment,{children:[(0,x.jsxs)(d.so,{justify:"between",align:"center",children:[(0,x.jsxs)(R,{small:!0,children:[m&&k,h&&h>0?` (${h})`:null]}),f.width>1300&&(0,x.jsx)(D,{small:!0,icon:w.show&&w.name===m?r.w2A:r.Jt$,onClick:e=>{e.preventDefault(),C({show:!1,name:null!==m&&void 0!==m?m:""}),C({show:w.name!==m||!w.show,name:null!==m&&void 0!==m?m:""})}}),f.width<1300&&(0,x.jsx)(I,{invert:c,toggled:A,onToggle:()=>b(!A)})]}),null===(n=o.filter)||void 0===n?void 0:n.map(((e,t)=>e.key&&(w.show||S)&&(A||t<l)&&(0,x.jsx)(P,{text:e.name||e.key,isChecked:T(e,a),onToggle:()=>s(e),invert:c},`${e.key} + i`))),o.filter&&o.filter.length>l&&w.show&&(0,x.jsx)(I,{invert:c,toggled:A,onToggle:()=>b(!A)})]})},E=e=>{var t;let{onClick:n,filterOutput:r,filter:i}=e;const{t:o}=(0,y.B)(),a="outlet"===r.fieldName?r.fieldName:"",s=r.customLabel?r.customLabel:a?o("filter.filter",{context:a}):void 0,l=null===(t=r.filter)||void 0===t?void 0:t[0];return l?(0,x.jsx)(P,{isChecked:T(l,i),onToggle:()=>n(l),text:s||a,noBorder:!0},r.fieldName):null},I=e=>{let{onToggle:t,toggled:n,invert:i}=e;const{t:o}=(0,y.B)(),a=(0,p.cb)();return(0,x.jsx)(U,{onClick:t,className:"pointer f1-400 flex-grow-1",children:(0,x.jsxs)(d.so,{justify:"end",align:"center",children:[(0,x.jsx)(N,{light:!0,small:!0,width:a.width,children:n?o("general.show_less"):o("general.show_all","Show all")}),(0,x.jsx)(d.K0,{className:"",bgColor:a.width<1300||i?"fillWhite":"fill",icon:n?r.GF6:r.tdl})]})})},_=e=>{let{text:t,url:n,invert:i}=e;return(0,x.jsx)(V,{children:(0,x.jsx)(d.N_,{noStyle:!0,state:{noscroll:!0},to:n,children:(0,x.jsxs)(d.so,{justify:"between",align:"center",children:[(0,x.jsx)(d.EY,{large:!0,light:!0,children:t}),(0,x.jsx)(d.K0,{icon:r.dmS,bgColor:i?"fill":"fillWhite"})]})})})},P=e=>{let{noBorder:t,text:n,isChecked:r,onToggle:i,invert:o}=e;return(0,x.jsx)(V,{noBorder:null!==t&&void 0!==t&&t,onClick:i,className:"pointer",children:(0,x.jsxs)(d.so,{justify:"between",align:"center",children:[(0,x.jsx)(d.EY,{large:!0,light:!0,children:n}),(0,x.jsx)(d.Sc,{name:n,checked:r,bgColor:o?"fill":"fillWhite"})]})})},O=e=>{let{activeCategoryFilters:t,onSearchChange:n,allCategories:r,t:i,searchString:o}=e;return void 0===o?null:(0,x.jsx)(W,{children:(0,x.jsx)(d.pd,{onFocus:e=>e.target.select(),type:"text",defaultValue:o,placeholder:`${t&&1===(null===t||void 0===t?void 0:t.length)?`${i("export.search_in","Search in")} ${(0,a.p9)(r[t[0]])||i("assortment.category_one","category")}`:i("export.various_search","Search among various categories")}`,lightLabel:!0,onChange:m()((e=>n(e.target.value)),500)})})};function T(e,t){return(null===t||void 0===t?void 0:t.some((t=>t.key===e.key)))||!1}const D=(0,w.Ay)(d.K0).withConfig({componentId:"sc-1m2sdmk-0"})(["background:",";"],(e=>{let{theme:t}=e;return t.colors.fill})),j=(0,w.Ay)(b.A).withConfig({componentId:"sc-1m2sdmk-1"})(["overflow:auto;box-shadow:none;padding:0.25rem 1rem 0.25rem 2rem;margin:0 0.5rem 0 -1rem;"]),B=(0,w.Ay)(d.so).withConfig({componentId:"sc-1m2sdmk-2"})(["padding:10px;background-color:",";"],(e=>{let{theme:t}=e;return t.colors.fillWhite})),N=(0,w.Ay)(d.EY).withConfig({componentId:"sc-1m2sdmk-3"})(["display:none;",""],(e=>{let{width:t}=e;return t>1300&&"display: block;"})),M=w.Ay.h2.withConfig({componentId:"sc-1m2sdmk-4"})(["font-size:32px;"]),R=(0,w.Ay)(d.EY).withConfig({componentId:"sc-1m2sdmk-5"})(["font-size:14px;line-height:2.5rem;","{font-size:12px;line-height:initial;}"],(e=>{let{theme:t}=e;return t.media.lg})),L=(0,w.Ay)(d.so).withConfig({componentId:"sc-1m2sdmk-6"})(["background-color:",";"],(e=>{let{theme:t}=e;return t.colors.fill})),F=w.Ay.div.withConfig({componentId:"sc-1m2sdmk-7"})(["flex-shrink:0;"]),z=w.Ay.div.withConfig({componentId:"sc-1m2sdmk-8"})(["width:250px;margin-left:",";"],(e=>{let{offsetLeft:t}=e;return`${t}rem;`})),Q=w.Ay.div.withConfig({componentId:"sc-1m2sdmk-9"})([""]),U=w.Ay.div.withConfig({componentId:"sc-1m2sdmk-10"})(["padding:5px 0;"]),V=(0,w.Ay)(U).withConfig({componentId:"sc-1m2sdmk-11"})([""," a:hover{text-decoration:underline;}"],(e=>{let{noBorder:t,theme:n}=e;return!t&&`border-bottom: 1px solid ${n.colors.border};`})),G=w.Ay.div.withConfig({componentId:"sc-1m2sdmk-12"})(["display:flex;flex-wrap:wrap;margin:10px 0;> *{margin:0 5px 5px 0;}"]),q=w.Ay.div.withConfig({componentId:"sc-1m2sdmk-13"})(["max-width:280px;.col-12{padding:0 !important;}"]),H=w.Ay.div.withConfig({componentId:"sc-1m2sdmk-14"})(["width:100%;height:100%;position:relative;> *{height:600px;}"]),W=w.Ay.div.withConfig({componentId:"sc-1m2sdmk-15"})(["margin:12px 0;"]),Y=w.Ay.div.withConfig({componentId:"sc-1m2sdmk-16"})(["margin:12px 0;"]),K=e=>{var t,n;let{content:f,offsetTop:m,showFilters:b,options:w,isFiltersAvailable:_,onFilterToggled:P,filters:T,filtersPending:N,onHide:U,groupedFilters:V,selectedCategory:G,pageInfo:K,productsLoading:J,offsetLeft:X,showCategoryFilters:Z,onCategoryFilterChange:$=()=>{},onSearchChange:ee=()=>{},activeCategoryFilters:te=[],searchString:ne=""}=e;const{t:re}=(0,y.B)(),ie=(0,p.cb)(),oe=(0,h.A)(l.eo),ae=(0,h.A)((e=>e.export.tab)),[se,le]=(0,v.useState)(!0),[ce,ue]=(0,v.useState)(!1),de=null===w||void 0===w||null===(t=w.filters)||void 0===t?void 0:t.find((e=>"categories"===e.filter)),pe=null===w||void 0===w||null===(n=w.filters)||void 0===n?void 0:n.find((e=>"color"===e.filter)),he=(0,h.A)(a.gt).categoryNodes,fe=(0,h.A)(i.Jk),[me,ge]=(0,v.useState)(!0);return b&&_?ie.width>1300?(0,x.jsx)(j,{offsetTop:m,offsetBottom:8,children:(0,x.jsxs)(F,{children:[(0,x.jsxs)(z,{className:"f1-500",offsetLeft:X,children:[N&&(0,x.jsx)(A.A,{className:"d-block mb-1",height:400,count:2}),Z?(0,x.jsx)(x.Fragment,{children:(0,x.jsxs)(Y,{children:[(0,x.jsx)(W,{children:(0,x.jsx)(O,{allCategories:fe,activeCategoryFilters:te,onSearchChange:ee,t:re,searchString:ne})}),(0,x.jsxs)(d.so,{justify:"between",align:"center",children:[(0,x.jsx)(R,{small:!0,children:re("assortment.category_other")}),(0,x.jsx)(D,{small:!0,icon:me?r.w2A:r.Jt$,onClick:()=>{ge(!me)}})]}),me&&(0,x.jsx)(u.P,{tree:he,handleOnValueChange:e=>$(e),value:te})]})}):(!de||de.visible)&&(0,x.jsx)(C,{rows:40}),null===T||void 0===T?void 0:T.map((e=>{var t;return(0,x.jsx)(Q,{className:"mb-4",children:(null===(t=e.filter)||void 0===t?void 0:t.length)>0&&(e.type===g.FilterType.Color?!pe||pe.visible?(0,x.jsx)(S,{expanded:!0,filterOutput:e,filter:null===V||void 0===V?void 0:V.get(e.fieldName),onToggle:P}):null:e.type===g.FilterType.Checkbox?(0,x.jsx)(E,{onClick:P,filterOutput:e,filter:null===V||void 0===V?void 0:V.get(e.fieldName)}):(0,x.jsx)(k,{expanded:!0,rows:6,filterOutput:e,filter:null===V||void 0===V?void 0:V.get(e.fieldName),onToggle:P}))},e.fieldName)}))]}),f&&(0,x.jsx)(q,{"data-epi-edit":"FilterArea",children:(0,x.jsx)(o.A,{name:"FilterArea",model:f})})]})}):(0,x.jsx)(d.FQ,{onClose:()=>{ue(!0),setTimeout((()=>{ue(!1),U()}),200)},visible:!ce,left:!0,children:{headerLogo:(0,x.jsx)(d.d,{iconColor:"textLight",icon:r.wQq}),content:(0,x.jsxs)(L,{column:!0,className:"p-3 f1-500",children:[(0,x.jsx)(c.A,{}),(0,x.jsx)(M,{className:"f1-500",children:null===G||void 0===G?void 0:G.name}),Z?(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(O,{allCategories:fe,activeCategoryFilters:te,onSearchChange:ee,t:re,searchString:ne}),(0,x.jsxs)(d.so,{justify:"between",align:"center",children:[(0,x.jsx)(R,{small:!0,children:re("assortment.category_other")}),(0,x.jsx)(I,{toggled:me,onToggle:()=>ge(!me)})]}),me&&(0,x.jsx)(u.P,{tree:he,handleOnValueChange:e=>$(e),value:te})]}):(0,x.jsx)(C,{rows:0}),(0,x.jsxs)("div",{style:{display:"flex",flexDirection:"column"},children:[null===T||void 0===T?void 0:T.map((e=>{var t;return(0,x.jsx)(Q,{className:"mb-1",children:(null===(t=e.filter)||void 0===t?void 0:t.length)>1&&(e.type===g.FilterType.Color?(0,x.jsx)(S,{collapse:!0,expanded:!0,filterOutput:e,filter:null===V||void 0===V?void 0:V.get(e.fieldName),onToggle:P}):(0,x.jsx)(k,{expanded:!0,rows:0,filterOutput:e,filter:null===V||void 0===V?void 0:V.get(e.fieldName),onToggle:P}))},e.fieldName)})),oe&&"images"===ae&&(0,x.jsxs)(x.Fragment,{children:[(0,x.jsxs)(d.so,{justify:"between",children:[(0,x.jsx)(R,{children:re("assortment.category_other")}),(0,x.jsx)(I,{onToggle:()=>le(!se),toggled:se})]}),se&&(0,x.jsx)(H,{children:(0,x.jsx)(s.e,{})})]})]})]}),footerContent:(0,x.jsx)(B,{className:"pb-3",children:(0,x.jsxs)(d.K0,{icon:r.DX_,pending:J,type:"button",onClick:U,className:"mt-3 mb-4 w-100",children:[re("product.show","Show products"),K?` (${null===K||void 0===K?void 0:K.totalItems})`:""]})})}}):null}},8589:(e,t,n)=>{"use strict";n.d(t,{AK:()=>d,Ay:()=>C,Bi:()=>y,Tt:()=>m,ZG:()=>u});var r=n(11359),i=n(77018),o=n(8218),a=n(50739),s=n(74635),l=n(94469);const c={input:{email:void 0,postalCode:void 0,resellerKey:void 0,phone:void 0},thanksMessage:null,errorMessage:null,pending:!1,contentGUID:null},u=(0,r.zD)("newsletter/subscribe",(async(e,t)=>{let{getState:n,dispatch:r}=t;const a=n().newsletter,l=n().siteDefinition.language;if(!e.email||!e.agreeTerms)return;const c=await i.A.newsletterSubscribe(e.email,e.agreeTerms,null===a||void 0===a?void 0:a.input.postalCode,null===a||void 0===a?void 0:a.input.resellerKey,l,null===a||void 0===a?void 0:a.contentGUID,e.phone,e.firstName,e.lastName,e.company),u=null===c||void 0===c?void 0:c.data;return null!==u&&void 0!==u&&u.isSuccess||(u.errorMessage=s.Ay.t("error.general","Something went wrong, please try again or contact support.")),"string"===typeof(null===u||void 0===u?void 0:u.gtmTag)&&null!==u&&void 0!==u&&u.gtmTag?r((0,o.Vt)(null===u||void 0===u?void 0:u.gtmTag)):r((0,o.Vt)("newsletter")),u})),d=(0,r.zD)("resellers/firstSearchedReseller",(async(e,t)=>{var n,r,i;let{placeId:o,postalCode:s}=e,{getState:c,dispatch:u}=t;const d=c().resellers.resellers,p=await(0,l.y8)(o),h=await(0,a.N0)(p,d);u(v(null!==(n=null===(r=h[0])||void 0===r||null===(i=r.resellerKey)||void 0===i?void 0:i.value)&&void 0!==n?n:void 0)),u(m(null!==s&&void 0!==s?s:void 0))})),p=(0,r.Z0)({name:"newsletter",initialState:c,reducers:{handleEmail(e,t){e.input.email=t.payload},handlePhone(e,t){e.input.phone=t.payload},handlePostalCode(e,t){e.input.postalCode=t.payload},handleFirstName(e,t){e.input.firstName=t.payload},handleLastName(e,t){e.input.lastName=t.payload},handleCompany(e,t){e.input.company=t.payload},handleContentGUID(e,t){e.contentGUID=t.payload},handleAgreeTerms(e,t){e.input.agreeTerms=t.payload},handleResellerKey(e,t){e.input.resellerKey=t.payload},clearMessages(e){e.thanksMessage=null,e.errorMessage=null,e.contentGUID=null,e.input=c.input}},extraReducers:e=>{e.addCase(u.pending,(e=>{e.pending=!0})),e.addCase(u.fulfilled,((e,t)=>{e.pending=!1,e.input=c.input,e.contentGUID=null})),e.addCase(u.rejected,(e=>{e.pending=!1,e.contentGUID=null,e.input=c.input}))}}),{handleEmail:h,handleAgreeTerms:f,handlePostalCode:m,clearMessages:g,handleResellerKey:v,handleContentGUID:y,handlePhone:A,handleFirstName:b,handleLastName:w,handleCompany:x}=p.actions,C=p.reducer},13227:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(22360),i=n(33453),o=n(23017),a=n(15693),s=n(43418),l=n(84848),c=n(44414);const u=()=>{const e=(0,o.GV)(l.HV),t=(0,o.GV)(l.je),n=(0,o.GV)(s.Lt.existingLanguages),u=(0,o.GV)(s.Lt.languageOptions),d=(0,o.GV)(s.Lt.currentLanguage);(0,o.GV)((e=>{let{assortment:t}=e;return t.selectedCategory}));return null!==n&&void 0!==n&&n.length&&1!==(null===n||void 0===n?void 0:n.length)?(0,c.jsx)(i.so,{align:"center",children:(0,c.jsx)(i.l6,{tiny:!0,toggleBgColor:"fill",indicatorIcon:r.mh,isSearchable:!1,options:u,defaultValue:u.find((e=>e.value===(null===d||void 0===d?void 0:d.name))),isMulti:!1,onChange:r=>{if(!r)return;const i=n.find((e=>e.link===r.linkValue));if(d&&i&&i.name!==d.name){e&&t.length>0&&(0,a.lG)(e,i.name);const n=new RegExp(`^${d.link}(?<url>.*)`,"g").exec(window.location.pathname);if(n&&n.groups)return void(window.location.pathname=i.link+n.groups.url);window.location.pathname=i.link}}})}):null}},45679:(e,t,n)=>{"use strict";n.d(t,{A:()=>c,U:()=>h});var r=n(33453),i=n(23017),o=n(9950),a=n(24937),s=n(63211),l=n(44414);const c=e=>{let{activePageName:t,className:n}=e;const{pageBreadcrumbs:a,pageBreadcrumbsPending:c}=(0,i.GV)((e=>{let{navigation:t}=e;return t})),{language:h,head:f,isAssortmentPage:m}=(0,i.GV)((e=>{let{currentPage:t}=e;return t})),g=(0,i.GV)((e=>{var t,n;let{currentPage:r}=e;return null===(t=r.content)||void 0===t||null===(n=t.contentLink)||void 0===n?void 0:n.id})),v=(0,i.GV)((e=>{let{assortment:t}=e;return t.selectedCategoryPath})),y=(0,i.GV)((e=>{let{assortment:t}=e;return t.selectedCategory})),A=(0,i.GV)((e=>{let{product:t}=e;return t.product})),b=(0,i.jL)();return(0,o.useEffect)((()=>{g&&h&&b((0,s.av)({contentLinkId:g,language:h}))}),[g,A,y,h,b]),null!==a&&void 0!==a&&a.length?(0,l.jsx)("div",{className:`f3-400 ${null!==n&&void 0!==n?n:""}`,role:"navigation","aria-label":"Breadcrumbs",children:c?(0,l.jsx)("span",{children:"\xa0"}):(0,l.jsxs)(u,{itemScope:!0,itemType:"http://schema.org/BreadcrumbList",children:[a.map(((e,t)=>{var n;return(0,l.jsx)(p,{itemProp:"itemListElement",itemScope:!0,itemType:"http://schema.org/ListItem",children:(0,l.jsxs)(r.N_,{to:null!==(n=e.url)&&void 0!==n?n:"",itemProp:"item",noStyle:!0,children:[e.name,(0,l.jsx)("meta",{itemProp:"name",content:`${e.name}`}),(0,l.jsx)("meta",{itemProp:"position",content:`${t}`})]})},t)})),(t||!m||m&&(null===v||void 0===v?void 0:v.name))&&(0,l.jsxs)(d,{itemProp:"itemListElement",itemScope:!0,itemType:"http://schema.org/ListItem",children:[null!==t&&void 0!==t?t:m?null===v||void 0===v?void 0:v.name:f.name,(0,l.jsx)("meta",{itemProp:"name",content:m?`${null===v||void 0===v?void 0:v.name}`:`${f.name}`}),(0,l.jsx)("meta",{itemProp:"position",content:`${null===a||void 0===a?void 0:a.length}`})]})]})}):null},u=a.Ay.ol.withConfig({componentId:"sc-v4dttk-0"})(["list-style-type:none;padding-left:0;width:100%;margin:0;"]),d=a.Ay.li.withConfig({componentId:"sc-v4dttk-1"})(["position:relative;display:inline-block;font-size:13px;&{margin-right:1.5em;}a,a:visited{color:",";}a:hover{color:",";}"],(e=>{let{theme:t}=e;return t.colors.textLight}),(e=>{let{theme:t}=e;return t.colors.text})),p=(0,a.Ay)(d).withConfig({componentId:"sc-v4dttk-2"})(["&::after{content:'/';position:absolute;top:0px;left:100%;width:1.5em;display:block;text-align:center;}color:currentColor;&:hover{text-decoration:underline;}"]),h=(0,a.Ay)(r.so).withConfig({componentId:"sc-v4dttk-3"})(["border-bottom:1px solid ",";"],(e=>{let{theme:t}=e;return t.colors.borderLight}))},63211:(e,t,n)=>{"use strict";n.d(t,{A9:()=>w,Ay:()=>I,Sp:()=>b,U9:()=>A,Xg:()=>E,Xw:()=>O,av:()=>g,dF:()=>k,eg:()=>v,ew:()=>m,n9:()=>T,sV:()=>C,wh:()=>S});var r=n(11359),i=n(77018),o=n(95806),a=n(18627),s=n(35732),l=n(24380),c=n(51673);let u=100;function d(){return"ml_"+ ++u}let p=!1;const h={AssortmentProductContentPage:!0};function f(e){var t;return!(null===(t=e.contentType)||void 0===t||!t.includes("ContentPage"))}const m=(0,r.zD)("navigation/getInPageMenu",(async(e,t)=>{let{getState:n,rejectWithValue:r}=t;const o={expand:"mainContentArea",select:"url,inPageMenu,visibleInMenu,mainContentArea, parentLink"},a=await i.A.getAncestorsByFriendlyUrl(e,o);a.data.splice(-1);let s=a.data.reverse().find((e=>{var t;return!!f(e)&&(null===(t=e.inPageMenu)||void 0===t?void 0:t.value)}));if(!s){const e=n().currentPage.content;if(!e||!f(e))return r("Problem with in page menu. No current page in state.");s=e}if(!s.url)return r("Problem with in page menu. No url.");const l=await async function e(t){const n=(await i.A.getChildren(t,o)).data.filter((e=>e.visibleInMenu));let r=[];return await Promise.all(n.map((async t=>{if(t.visibleInMenu&&t.url){const n=await e(t.url);r=r.concat(n)}}))),n.concat(r)}(s.url);return[s,...l]})),g=(0,r.zD)("navigation/getPageBreadcrumbs",(async(e,t)=>{var n;let{getState:r,rejectWithValue:o}=t;const s=r().currentPage,l=s.isAssortmentPage,c=r().product.product,{categories:u,productCategoryMap:d,selectedCategory:h}=r().assortment;if(l){var f;const e=null===(f=s.content)||void 0===f?void 0:f.url;if(p=!0,c)return function(e,t,n,r){const i=t[e];if(null===i||void 0===i||!i.code)return[];const o=(0,a._4)(n[i.code],r);return P(o,[i])}(c.productNumber,d,u,e);if(h){return P((0,a._4)(h,e),[])}return[]}p=!1;const m=null===(n=(await i.A.getAncestors(e.contentLinkId,e.language)).data)||void 0===n?void 0:n.slice(0,-2).reverse().map((e=>({url:e.url||"",name:e.name})));return p?(p=!1,o(void 0)):m||[]})),v=(0,r.zD)("navigation/initMainNavigation",(async(e,t)=>{let{getState:n}=t;if(!e)return[];const r=n().siteDefinition.assortmentPages.filter((e=>(0,o.g)(e))),i=n().assortment.categories;function a(e){if(null===e||void 0===e||!e.length)return[];return e.filter((e=>!h[e.pageType])).map((e=>{const t={id:d(),url:e.href,name:e.text,children:[],isAssortment:!1,target:null===e||void 0===e?void 0:e.target};if(e.featured&&(t.featuredHeading=e.featuredHeading,e.featured.forEach((n=>{const r=n.category?i[n.category]:null,o=null===r||void 0===r?void 0:r.categoryPaths.get(e.href);if(!n.pageUrl&&(null===o||void 0===o||!o.url))return;const a={...n,pageUrl:null!==o&&void 0!==o&&o.url?o.url:n.pageUrl,pageName:null!==o&&void 0!==o&&o.url?o.name||(null===o||void 0===o?void 0:o.url):n.pageName||n.pageUrl,imageUrl:n.imageUrl||(0,l.Ay)(null===r||void 0===r?void 0:r.picture,l.yj.ThumbNail)};"image"===n.type||"imageLink"===n.type?t.featuredImageLinks=[...t.featuredImageLinks||[],a]:t.featuredLinks=[...t.featuredLinks||[],a]}))),e.href){const n=r.find((t=>t.url===e.href));if(n){t.isAssortment=!0,t.assortmentCode=n.assortmentEntryPoint;const r=i[n.assortmentEntryPoint];!n.hideSubNavigation&&r&&r.childrenIds&&(t.children=_(r.childrenIds,i,e.href))}}const n=a(e.children),o=t.children.map((e=>{const t=n.findIndex((t=>t.assortmentCode===e.assortmentCode));if(-1!==t){return n.splice(t,1)[0]}return e}));return t.children=[...o,...n],t}))}return e.reduce(((e,t)=>1===t.links.length?[...e,...a(t.links)]:[...e,{name:t.groupName,children:a(t.links),isAssortment:!1,id:d()}]),new Array)})),y=(0,r.Z0)({name:"navigation",initialState:{menu:[],topMenu:[],showCollapsedMenu:!1,showHeader:!0,menuBreadcrumbs:[],pageBreadcrumbs:[],pageBreadcrumbsPending:!1,inPageMenus:{},inPageMenuPending:!1,countryMenu:[]},reducers:{activeMenuChanged(e,t){var n,r;if(!t.payload||!t.payload.url||(null===(n=e.activeMenu)||void 0===n?void 0:n.url)!==(null===(r=t.payload)||void 0===r?void 0:r.url))if(t.payload){const n=e.activeMenu;e.activeMenu=t.payload,e.menuBreadcrumbs=n?[...e.menuBreadcrumbs,n]:e.menuBreadcrumbs}else e.activeMenu=e.menuBreadcrumbs.pop()},menuToggled(e,t){e.showCollapsedMenu=void 0!==t.payload?t.payload:!e.showCollapsedMenu},headerToggled(e,t){e.showHeader=void 0!==t.payload?t.payload:!e.showHeader},promotionLinksChanged(e,t){},initTopNavigation(e,t){t.payload&&(e.topMenu=t.payload.map((e=>({url:e.href,isAssortment:!1,children:[],name:e.text,id:d()}))))},initCountryLinks(e,t){t.payload&&(e.countryMenu=t.payload)},refinementHovered(e,t){e.refinementHovered=t.payload},showSubMenuSet(e,t){e.showSubMenu=t.payload}},extraReducers:e=>{e.addCase(v.fulfilled,((e,t)=>{e.menu=t.payload})),e.addCase(g.pending,(e=>{e.pageBreadcrumbsPending=!0})),e.addCase(g.fulfilled,((e,t)=>{e.pageBreadcrumbs=t.payload,e.pageBreadcrumbsPending=!1})),e.addCase(g.rejected,(e=>{e.pageBreadcrumbsPending=!1})),e.addCase(m.pending,(e=>{e.inPageMenuPending=!0})),e.addCase(m.fulfilled,((e,t)=>{const n=t.payload,r=function(e){var t;function n(t){const r=e.filter((e=>{var n;return(null===(n=e.parentLink)||void 0===n?void 0:n.url)===t.url})),i=[];for(const e of r){var o;const t={id:d(),children:n(e),name:"string"===typeof e.name?e.name:"",isAssortment:!1,url:null!==(o=e.url)&&void 0!==o?o:"/404"};i.push(t)}return i}const r=e[0];if(!r)return;const i={id:d(),children:n(r),name:"string"===typeof r.name?r.name:"",isAssortment:!1,url:null!==(t=r.url)&&void 0!==t?t:"/404"};return i}(n);for(const i of n)i.url&&r&&(e.inPageMenus[i.url]=r);e.inPageMenuPending=!1})),e.addCase(m.rejected,(e=>{e.inPageMenuPending=!1})),e.addMatcher((0,s.b5)("navigation/"),((e,t)=>{void 0===t.payload?c.A.warn("Breadcrumbs fetch canceled by subsequent request."):c.A.error("ERROR",t.payload,t.error)}))}}),{activeMenuChanged:A,menuToggled:b,headerToggled:w,promotionLinksChanged:x,initCountryLinks:C,initTopNavigation:S,refinementHovered:k,showSubMenuSet:E}=y.actions,I=y.reducer;function _(e,t,n){return null!==e&&void 0!==e&&e.length?e.map((e=>{const r=t[e],i=null!==r&&void 0!==r&&r.childrenIds?_(null===r||void 0===r?void 0:r.childrenIds,t,n):[],o=(0,a._4)(r,n);return{id:d(),url:o.url,name:o.name||(null===r||void 0===r?void 0:r.code),children:i,isAssortment:!0,assortmentCode:(null===r||void 0===r?void 0:r.code)||"#"}})):[]}function P(e,t){var n;if(null!==(n=e.parent)&&void 0!==n&&n.code){const n=e.parent;if(n)return P(n,[n,...t])}return t}const O=e=>e.navigation.refinementHovered,T=e=>e.navigation.showSubMenu},55759:(e,t,n)=>{"use strict";n.d(t,{A$:()=>v,Ay:()=>A,GP:()=>o,US:()=>l,aj:()=>c,bc:()=>a,ly:()=>g,nu:()=>y,yf:()=>s});var r=n(11359),i=n(77018);const o=(0,r.zD)("news",(async(e,t)=>{var n,r,o,a;let{getState:s}=t;const l=null===(n=s().siteDefinition.language)||void 0===n?void 0:n.urlSegment,c=await i.A.getContentByFriendlyUrl(e).then((e=>e.data));return(await i.A.loadNews(c.contentLink.guidValue,null!==(r=null!==l&&void 0!==l?l:null===c||void 0===c||null===(o=c.language)||void 0===o?void 0:o.name)&&void 0!==r?r:null===c||void 0===c||null===(a=c.masterLanguage)||void 0===a?void 0:a.name)).data})),a=(0,r.zD)("news/getNewsListPage",(async e=>(await i.A.getAncestorsByFriendlyUrl(e).then((e=>e.data))).find((e=>"NewsListingPage"===e.contentType[1])))),s=(0,r.zD)("news/fetchParentFilters",(async e=>await i.A.getChildren(e).then((e=>e.data)))),l=(0,r.zD)("news/fetchChildFilters",(async(e,t)=>{let{dispatch:n}=t;return await i.A.getChildren(e).then((e=>e.data))})),c=(e,t)=>{const n=e.find((e=>e===t));return e=n?e.filter((e=>e!==t)):[...e,t]},u=(0,r.zD)("news/fetchNewsContentArea",(async e=>await i.A.getContentByContentLink(e,void 0,"sv").then((e=>e.data)))),d={newsContainerParents:[],newsContainerChilds:[],newsPages:[],newsPending:!1,newsFilter:[],newsContentArea:void 0,newsListPage:void 0,total:0},p=(0,r.Z0)({name:"news",initialState:d,reducers:{newsContainerParentsFetched(e,t){e.newsContainerParents=t.payload},newsContainerChildsFetched(e,t){e.newsContainerChilds=t.payload},newsContainerChildsDeselected(e,t){e.newsContainerChilds=t.payload},newsPagesFetched(e,t){e.newsPages=t.payload},newsFilterSelected(e,t){e.newsFilter=t.payload},newsTotalUpdated(e,t){e.total=t.payload}},extraReducers:e=>{e.addCase(o.pending,(e=>{e.newsPending=!0})),e.addCase(o.fulfilled,((e,t)=>{e.newsPages=t.payload,e.newsPending=!1})),e.addCase(o.rejected,(e=>{e.newsPending=!1})),e.addCase(s.pending,(e=>{e.newsPending=!0})),e.addCase(s.fulfilled,((e,t)=>{e.newsContainerParents=t.payload,e.newsPending=!1})),e.addCase(s.rejected,(e=>{e.newsPending=!1})),e.addCase(l.pending,(e=>{e.newsPending=!0})),e.addCase(l.fulfilled,((e,t)=>{e.newsContainerChilds=t.payload,e.newsPending=!1})),e.addCase(l.rejected,(e=>{e.newsPending=!1})),e.addCase(u.pending,(e=>{e.newsPending=!0})),e.addCase(u.fulfilled,((e,t)=>{e.newsContentArea=t.payload,e.newsPending=!1})),e.addCase(u.rejected,(e=>{e.newsPending=!1})),e.addCase(a.pending,(e=>{e.newsPending=!0})),e.addCase(a.fulfilled,((e,t)=>{e.newsListPage=t.payload,e.newsPending=!1})),e.addCase(a.rejected,(e=>{e.newsPending=!1}))}}),{newsContainerParentsFetched:h,newsContainerChildsFetched:f,newsPagesFetched:m,newsFilterSelected:g,newsContainerChildsDeselected:v,newsTotalUpdated:y}=p.actions,A=p.reducer},61545:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(33453),i=n(9950),o=n(24937),a=n(44414);const s=e=>{let{handleClose:t,content:n}=e;return(0,i.useEffect)((()=>{document.body.style.overflow="hidden"}),[]),(0,a.jsx)(l,{className:"popup-box",children:(0,a.jsxs)(c,{className:"box",children:[(0,a.jsx)(u,{children:(0,a.jsx)(r.Jn,{onClose:()=>{document.body.style.overflow="unset",t()},bgColor:"fillGray"})}),n]})})},l=o.Ay.div.withConfig({componentId:"sc-rr6wxw-0"})(["position:fixed;background:#00000050;width:100%;height:100%;top:0;left:0;z-index:999;"]),c=o.Ay.div.withConfig({componentId:"sc-rr6wxw-1"})(["position:relative;margin:0 auto;height:fit-content;width:fit-content;max-height:70vh;max-width:70%;top:10%;background:#fff;border-radius:4px;padding:32px;border:1px solid #999;overflow:auto;","{max-width:80%;}","{max-width:90%;}"],(e=>{let{theme:t}=e;return t.media.mdBelow}),(e=>{let{theme:t}=e;return t.media.smBelow})),u=(0,o.Ay)(r.so).withConfig({componentId:"sc-rr6wxw-2"})(["justify-content:flex-end;"])},16856:(e,t,n)=>{"use strict";n.d(t,{A:()=>oe});var r=n(22360),i=n(74959),o=n(41107),a=n(39695),s=n(33453),l=n(23017),c=n(70030),u=n(44414);const d=e=>{var t,n,i;let{product:o}=e;const d=(0,l.jL)(),p=(0,l.cb)(),{t:h}=(0,c.B)(),f=null===(t=o.refinementProduct)||void 0===t?void 0:t.id,m=null!==(n=null===(i=o.variations)||void 0===i?void 0:i[0].variationNumber)&&void 0!==n?n:"",g=e=>{d((0,a.Gf)({draft:e,type:"article",origin:"shoppingCart",create:{refinementId:f,variationNumber:m}}))};return(0,u.jsxs)(s.so,{column:p.lgBelow,align:"stretch",justify:"start",className:"mt-3 w-100",gap:"3px",children:[(0,u.jsx)(s.K0,{large:!0,half:p.lg?"left":void 0,bgColor:"buy",color:"accentText",className:"flex-grow-1",icon:r.LFz,onClick:()=>f&&g(!0),children:h("refinement.createArticleDraft")}),(0,u.jsx)(s.K0,{large:!0,half:p.lg?"right":void 0,bgColor:"buy",color:"accentText",className:"flex-grow-1",icon:r.hiR,onClick:()=>f&&g(!1),children:h("article.configureAndAdd")})]})};var p=n(46482),h=n(37423),f=n(99393),m=n(69435),g=n(55951),v=n(9950),y=n(34911),A=n(24937);var b=n(27825),w=n(94362),x=n(50413),C=n(85821);const S=e=>{let{addToCartEnabled:t,boxText:n,cells:r,skus:i,small:a,stock:l,stockSettings:d,variation:p,className:h,onChange:f}=e;const{t:m}=(0,c.B)(),[g,y]=(0,v.useState)(),A=(0,v.useCallback)(((e,t,n)=>{y(e),f(e,1,t,n,!0)}),[f]);return(0,v.useEffect)((()=>{var e;if(1===(null===i||void 0===i?void 0:i.length)&&g!==(null===(e=i[0])||void 0===e?void 0:e.sku)){var t;const e=i[0];A(null===e||void 0===e?void 0:e.sku,p.variationNumber,null===(t=e.price)||void 0===t?void 0:t.inboxItems)}}),[A,g,i,p.variationNumber]),(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(s.so,{justify:"between",className:h,children:(0,u.jsxs)(s.EY,{className:"mb-2 f3-700",light:!0,children:[t&&m("size.size","Size")," ",n&&`(${n})`," "]})}),(0,u.jsx)(s.so,{justify:"between",children:(0,u.jsx)(O,{small:a,className:"w-100",children:null===i||void 0===i?void 0:i.map(((e,n)=>{var i;if(!e.sku||!p.variationNumber)return null;const s=r.get(e.sku)||0,c=d&&(0,o.ky)(d.stockInfo,null!==(i=e.stock)&&void 0!==i?i:[]);return(0,u.jsx)(E,{selected:e.sku===g,qty:s,leftToMinQty:l.leftToMinQty,sku:e,onSelect:()=>{var t;return A(e.sku,p.variationNumber,null===(t=e.price)||void 0===t?void 0:t.inboxItems)},singleSize:!1,addToCartEnabled:t,lowStock:l.hasLow,outStock:l.hasOut,small:a,minQuantity:l.minQuantity,stockLevel:null===c||void 0===c?void 0:c.stockLevel},`${e.sku}${n}`)}))})})]})},k=e=>{var t,n,o,a,s;let{sku:d,skuNumber:p,qty:h,leftToMinQty:g,variationNumber:v,onQtyChange:y,singleSize:A,onFocus:b,onBlur:w,addToCartEnabled:S,lowStock:k,outStock:E,small:I,minQuantity:_,disable:P,stockLevel:O}=e;const{isAuthenticated:B,anonymous:L}=(0,l.GV)((e=>{let{authorization:t}=e;return t})),{isB2C:z,isB2B:Q,isB2BReseller:U}=(0,l.GV)(f.F),{t:V}=(0,c.B)(),G=(null===d||void 0===d||null===(t=d.price)||void 0===t?void 0:t.inboxItems)&&(null===(n=d.price)||void 0===n?void 0:n.inboxItems)>1?V("stock.box","box"):V("stock.pcs","pcs"),q=!B&&!L&&Q||P||d&&(null===(o=d.stock)||void 0===o?void 0:o.every((e=>0===e.value)))&&z,H=!!h,W=A||!(null!==d&&void 0!==d&&d.name);return(0,u.jsxs)(T,{column:!0,className:"",children:[(0,u.jsxs)(D,{dirty:H,invalid:h>0&&g>0,align:"center",justify:"between",children:[S&&!q&&(0,u.jsx)(N,{tabIndex:-1,disabled:!h||q,onClick:()=>{var e;y(null!==p&&void 0!==p?p:"",h?h-1:0,v,null===d||void 0===d||null===(e=d.price)||void 0===e?void 0:e.inboxItems),b&&b()},children:(0,u.jsx)(i.g,{icon:r.EZy})}),(0,u.jsx)(R,{single:W,placeholder:`${g>=0?g:0} ${G}`,value:h||"",disabled:!S||q,className:"flex-shrink-0",onChange:e=>{var t;!q&&y(null!==p&&void 0!==p?p:"",+e.target.value,v,null===d||void 0===d||null===(t=d.price)||void 0===t?void 0:t.inboxItems)},onFocus:e=>{e.target.select(),b&&b()},onBlur:()=>w&&w()}),!W&&(0,u.jsxs)(u.Fragment,{children:[(0,u.jsxs)(j,{disabled:q,className:"f1-500",dirty:H,invalid:h>0&&g>0&&h<g,small:((null===(a=d.name)||void 0===a?void 0:a.length)||0)>6,children:[d.name," ",U&&!q&&S&&(0,u.jsx)(x.A,{className:"ml-1",size:"sm",stockLevel:null!==O&&void 0!==O?O:m.StockLevel.InStock})]}),(!S||q)&&(0,u.jsx)(j,{disabled:q,className:"f1-500",dirty:!0,invalid:h>0&&g>0&&h<g,small:((null===(s=d.name)||void 0===s?void 0:s.length)||0)>6,children:(0,u.jsx)(x.A,{stockLevel:null!==O&&void 0!==O?O:m.StockLevel.InStock})})]}),S&&!q&&(0,u.jsx)(M,{"data-testid":`${null===d||void 0===d?void 0:d.name}-qty-add`,tabIndex:-1,disabled:q,onClick:()=>{var e;const t=g>1?g:1;y(null!==p&&void 0!==p?p:"",h?h+t:t,v,null===d||void 0===d||null===(e=d.price)||void 0===e?void 0:e.inboxItems),b&&b()},children:(0,u.jsx)(i.g,{icon:r.QLR})})]}),g>0&&g!==_&&I&&(0,u.jsx)(F,{className:"mt-1",children:`${V("cart.minOrderQty","Minimum order quantity")}: ${_} (-${g})`}),(!Q||!S)&&(k||E)&&I&&(0,u.jsx)(C.A,{className:"mt-1",inStock:!1,noStock:E,lowStock:k})]})},E=e=>{let{sku:t,qty:n,leftToMinQty:r,onSelect:i,singleSize:o,addToCartEnabled:a,selected:s,lowStock:d,outStock:p,small:h,minQuantity:g,disable:v,stockLevel:y}=e;const{isAuthenticated:A,anonymous:b}=(0,l.GV)((e=>{let{authorization:t}=e;return t})),{isB2C:w,isB2B:S,isB2BReseller:k}=(0,l.GV)(f.F),{t:E}=(0,c.B)(),I=!A&&!b&&S||v||w&&y===m.StockLevel.OutOfStock,_=!!n,P=o||!(null!==t&&void 0!==t&&t.name);return(0,u.jsxs)(T,{column:!0,className:"",children:[(0,u.jsxs)(D,{dirty:_,invalid:n>0&&r>0,align:"center",justify:"between",children:[(0,u.jsx)(L,{disabled:I,selected:s,className:"flex-shrink-0 orderselectas",onClick:i}),!P&&(0,u.jsx)(u.Fragment,{children:(0,u.jsxs)(B,{disabled:I,className:"f1-500 text-uppercase",invalid:n>0&&r>0&&n<r,children:[t.name,k&&!I&&a&&(0,u.jsx)(x.A,{className:"ml-1",size:"sm",stockLevel:null!==y&&void 0!==y?y:m.StockLevel.InStock})]})})]}),r>0&&r!==g&&h&&(0,u.jsx)(F,{className:"mt-1",children:`${E("cart.minOrderQty","Minimum order quantity")}: ${g} (-${r})`}),(!S||!a)&&(d||p)&&h&&(0,u.jsx)(C.A,{className:"mt-1",inStock:!1,noStock:p,lowStock:d})]})},I=A.Ay.div.withConfig({componentId:"sc-ub7664-0"})(["float:right;text-align:right;font-size:12px;"]),_=A.Ay.table.withConfig({componentId:"sc-ub7664-1"})(["td{padding:0 0 0 15px;white-space:nowrap;}"]),P=A.Ay.div.withConfig({componentId:"sc-ub7664-2"})(["max-width:",";"],(e=>{let{small:t}=e;return t?"410px":"none"})),O=A.Ay.div.withConfig({componentId:"sc-ub7664-3"})(["display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:4px;"]),T=(0,A.Ay)(s.so).withConfig({componentId:"sc-ub7664-4"})(["","{}"],(e=>{let{theme:t}=e;return t.media.sm})),D=(0,A.Ay)(s.so).withConfig({componentId:"sc-ub7664-5"})(["border-radius:0px;position:relative;height:50px;"]),j=(0,A.Ay)(s.EY).withConfig({componentId:"sc-ub7664-6"})(["position:absolute;top:100%;left:50%;text-align:right;padding:0 2px;font-size:","px;transform:translate(-50%,-33px);transition:transform 150ms ",";"," white-space:nowrap;color:",";pointer-events:none;"],(e=>{let{small:t}=e;return t?11:14}),(e=>{let{theme:t}=e;return t.transitions.bez}),(e=>{let{dirty:t}=e;return t&&"\n    padding: 0px 10px;\n    font-size: 11px;\n    transform: translate(-50%, -50%);\n  "}),(e=>{let{theme:t,disabled:n,dirty:r,invalid:i}=e;return((e,t)=>{let{disabled:n,dirty:r,invalid:i}=t;return n?e.colors.textFaded:r?i?e.colors.error:e.colors.priceText:e.colors.textLight})(t,{disabled:n,dirty:r,invalid:i})})),B=(0,A.Ay)(s.EY).withConfig({componentId:"sc-ub7664-7"})(["color:",";position:absolute;left:0;top:0;width:100%;height:100%;display:flex;justify-content:center;align-items:center;font-size:","rem;white-space:nowrap;pointer-events:none;"],(e=>{let{theme:t,disabled:n}=e;return n?t.colors.textDisabled:t.colors.text}),(e=>{let{small:t}=e;return t?.875:1})),N=A.Ay.button.withConfig({componentId:"sc-ub7664-8"})(["background:",";border-radius:inherit;border:none;font-size:9px;outline:none;&:hover{background:",";}height:100%;width:30px;color:",";"],(e=>{let{theme:t}=e;return t.colors.fillMedium}),(e=>{let{theme:t,disabled:n}=e;return!n&&(0,g.Qw)(.03,t.colors.fillMedium)}),(e=>{let{theme:t,disabled:n}=e;return n?t.colors.textFaded:t.colors.textLight})),M=(0,A.Ay)(N).withConfig({componentId:"sc-ub7664-9"})([""]),R=A.Ay.input.withConfig({componentId:"sc-ub7664-10"})(["height:100%;width:calc(100% - 68px);text-align:center;border:none;outline:none;font-size:16px;background:",";flex-grow:2;",";&::placeholder{font-size:13px;color:",";user-select:none;}&:focus::placeholder{color:",";}&:focus ~ ","{font-size:11px;transform:translate(-50%,-50%);}"],(e=>{let{theme:t}=e;return t.colors.fillMedium}),(e=>{let{disabled:t,theme:n}=e;return t&&`color: ${n.colors.textDisabled}`}),(e=>{let{theme:t,single:n}=e;return n?t.colors.textFaded:"transparent"}),(e=>{let{theme:t}=e;return t.colors.textFaded}),j),L=A.Ay.button.withConfig({componentId:"sc-ub7664-11"})(["height:100%;width:calc(100% - 68px);outline:none;font-size:16px;flex-grow:2;cursor:",";border:",";background:",";border-radius:2px;&:hover,&:focus{","}",""],(e=>{let{disabled:t}=e;return t?"normal":"pointer"}),(e=>{let{theme:t}=e;return`1px solid ${t.colors.border};`}),(e=>{let{theme:t}=e;return t.colors.transparent}),(e=>{let{selected:t,theme:n,disabled:r}=e;return!t&&!r&&`border-color: ${(0,g.e$)(.2,n.colors.border)};`}),(e=>{let{selected:t,theme:n}=e;return t&&`border: 3px solid ${n.colors.accent}`})),F=A.Ay.div.withConfig({componentId:"sc-ub7664-12"})(["font-size:14px;color:",";"],(e=>{let{theme:t}=e;return t.colors.error})),z=e=>{var t,n,r,i,a;let{className:d,variation:p,onAddToCart:h,onQuantityChange:g,cells:y,replacementProductNr:A,addToCartEnabled:x,variationMinQts:E,stockSettings:T}=e;const{t:D}=(0,c.B)(),j=(0,l.jL)(),{isB2C:B,isB2B:N}=(0,l.GV)(f.F),{selectedSku:M}=(0,l.GV)((e=>{let{product:t}=e;return t})),R=p.skus,L=1===(null===R||void 0===R?void 0:R.length)?R[0]:void 0,[z,Q]=(0,v.useState)(!1),U=p.staffedPrice;(0,v.useEffect)((()=>{L&&(null===M||void 0===M?void 0:M.sku)!==L.sku&&j((0,b.JH)(L))}),[L,null===M||void 0===M?void 0:M.sku,j]),(0,v.useEffect)((()=>{const e=e=>{let t=e.key;z&&"Enter"===t&&M&&(e.stopPropagation(),e.preventDefault(),x&&h())};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)}),[z,h,x,M]);const V=null!==R&&void 0!==R&&R.length&&null!==(t=R[0])&&void 0!==t&&null!==(n=t.price)&&void 0!==n&&n.inboxItems&&(null===(r=R[0])||void 0===r||null===(i=r.price)||void 0===i?void 0:i.inboxItems)>1?`${R[0].price.inboxItems} ${D("stock.pcs","pcs")} / ${D("stock.box","box")}`:null,G={hasLow:!!R&&-1!==R.findIndex((e=>{var t;return null===(t=e.stock)||void 0===t?void 0:t.every((e=>e.stockLevel===m.StockLevel.LowStock))})),hasOut:!!R&&-1!==R.findIndex((e=>{var t;return null===(t=e.stock)||void 0===t?void 0:t.every((e=>e.stockLevel===m.StockLevel.OutOfStock))})),minQuantity:p.minQuantity,leftToMinQty:p.variationNumber?null!==(a=E[p.variationNumber])&&void 0!==a?a:p.minQuantity:0},q=!!R&&R.length<=1;return(0,u.jsxs)(P,{small:q,className:null!==d&&void 0!==d?d:"",children:[B&&(0,u.jsx)(S,{addToCartEnabled:x,variation:p,boxText:V,skus:R,cells:y,small:q,stock:G,onChange:g,stockSettings:T}),!B&&(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(s.so,{justify:"between",children:(0,u.jsxs)(s.EY,{className:"mb-2 f3-700",light:!0,children:[x&&D("cart.chooseQuantity","Choose quantity")," ",V&&`(${V})`," ",(0,u.jsx)("span",{className:"text-capitalize",children:p.color})]})}),(0,u.jsxs)(s.so,{justify:"between",children:[(0,u.jsx)(O,{small:q,className:"w-100",children:null===R||void 0===R?void 0:R.map(((e,t)=>{var n;if(!e.sku||!p.variationNumber)return null;const r=y.get(e.sku)||0,i=T&&(0,o.ky)(T.stockInfo,null!==(n=e.stock)&&void 0!==n?n:[]);return(0,u.jsx)(k,{qty:r,skuNumber:e.sku,leftToMinQty:G.leftToMinQty,sku:e,variationNumber:p.variationNumber,onQtyChange:g,singleSize:!!L,onFocus:()=>{j((0,b.JH)(e)),Q(!0)},onBlur:()=>Q(!1),addToCartEnabled:x,lowStock:G.hasLow,outStock:G.hasOut,small:q,minQuantity:G.minQuantity,stockLevel:null===i||void 0===i?void 0:i.stockLevel},`${e.sku}${t}`)}))}),(null===U||void 0===U?void 0:U.length)>0&&(0,u.jsxs)(I,{className:"mb-4",children:[(0,u.jsx)(s.EY,{light:!0,children:D("price.tiered","Tiered price")}),(0,u.jsx)(_,{children:(0,u.jsx)("tbody",{children:null===U||void 0===U?void 0:U.map(((e,t)=>(0,u.jsxs)("tr",{children:[(0,u.jsxs)("td",{children:[e.quantity," -"," ",t+1<U.length?U[t+1].quantity-1:""]}),(0,u.jsx)("td",{children:e.price})]},t)))})})]})]})]}),G.leftToMinQty>0&&G.leftToMinQty!==G.minQuantity&&!q&&(0,u.jsx)(F,{className:"mt-1",children:`${D("cart.minOrderQty","Minimum order quantity")}: ${G.minQuantity} (-${G.leftToMinQty})`}),(!N&&!B||!x)&&(G.hasOut||G.hasLow)&&!q&&(0,u.jsx)(C.A,{className:"mt-1",inStock:!N,noStock:G.hasOut,lowStock:G.hasLow}),N&&x&&M&&(0,u.jsx)(w.A,{className:"px-1 pt-3",largeArticle:!1,sku:M,replacementPnr:A,variation:p,single:!!L,stockSettings:T})]})};var Q=n(46027),U=n(93522),V=n(4448),G=n(81925);const q=e=>{var t,n,r,i;let{className:a,cartProduct:d}=e;const p=(0,l.GV)((e=>{var t;let{siteDefinition:n}=e;return null===(t=n.cartPage)||void 0===t?void 0:t.url})),h=(0,l.Ty)("shoppingCart").pending,f=null===(t=(0,l.Ty)("shoppingCart").cmsOptions)||void 0===t?void 0:t.productCartText,m=(0,l.GV)((0,o.T9)("shoppingCart")),g=(0,l.cb)(),{t:y}=(0,c.B)(),A=(0,l.GV)((0,o.QB)("shoppingCart")),b=(0,l.jL)();if((0,v.useEffect)((()=>{A&&b((0,o.u9)("shoppingCart")())}),[A,b]),!d)return null;const w=new Set(null===(n=d.variations)||void 0===n?void 0:n.flatMap((e=>{var t;return null!==(t=e.addons)&&void 0!==t?t:[]}))),x=null===(r=m.get("articles"))||void 0===r?void 0:r.filter((e=>w.has(e.index))),C=null===(i=m.get("refinements"))||void 0===i?void 0:i.filter((e=>w.has(e.index))),S=g.lgBelow?"xs":void 0;return(0,u.jsx)(u.Fragment,{children:(0,u.jsxs)(W,{className:a,children:[(0,u.jsxs)(s.so,{className:"mt-3 pr-4 pl-2 pl-lg-0 mb-2",align:"center",children:[(0,u.jsx)(s.EY,{className:"f3-700 mr-2",light:!0,children:y("cart.specification","Price specification")}),h&&(0,u.jsx)(s.y$,{})]}),(0,u.jsx)(K,{className:"pt-3 pb-2 f1-500",children:null!==x&&void 0!==x&&x.length?(0,u.jsx)(U.A,{product:d,refinements:x,forceSize:S,hideName:!0}):(0,u.jsx)(Q.A,{hideName:!0,forceSize:S,product:d,refinements:C})}),C&&C.length>0&&(0,u.jsx)(K,{className:"px-2 pb-4",children:(0,u.jsx)(V.A,{activeProductNumber:d.productNumber,refinements:C,forceSize:S,cartType:"shoppingCart"})}),p&&(0,u.jsx)(J,{className:"p-2",justify:"end",children:(0,u.jsx)(H,{to:p,bgColor:"accent",color:"accentText",className:"",children:y("cart.toCart","Shopping cart")})}),(null===f||void 0===f?void 0:f.value)&&(0,u.jsx)(Y,{children:(0,u.jsx)(G.A,{name:"PriceSpecificationText",model:f})})]})})},H=(0,A.Ay)(s.z9).withConfig({componentId:"sc-1usni55-0"})(["border-radius:2px !important;"]),W=A.Ay.div.withConfig({componentId:"sc-1usni55-1"})([""]),Y=A.Ay.div.withConfig({componentId:"sc-1usni55-2"})(["background-color:",";color:",";padding:20px;"],(e=>{let{theme:t}=e;return t.colors.fillSecondary}),(e=>{let{theme:t}=e;return t.colors.fillSecondaryText})),K=A.Ay.div.withConfig({componentId:"sc-1usni55-3"})(["background:",";font-size:12px;"],(e=>{let{theme:t}=e;return t.colors.fillWhite})),J=(0,A.Ay)(s.so).withConfig({componentId:"sc-1usni55-4"})(["background-color:",";"],(e=>{let{theme:t}=e;return t.colors.fillWhite}));var X=n(40716),Z=n(77738),$=n(6760),ee=n(24380),te=n(26681),ne=n(92271);const re=(0,A.Ay)(ne.A).withConfig({componentId:"sc-1k9rw0n-0"})(["",""],(e=>{let{layout:t}=e;return"images"===t?"":"min-width: 152px;"})),ie=e=>{var t,n;let{className:i,product:o,selectedVariation:a,onSelect:d,disableVariations:p,displayInCartCount:h=!0,relatedVariations:g}=e;const[y,A]=(0,v.useState)(!1),w=(0,l.cb)(),{t:x}=(0,c.B)(),{isB2C:C}=(0,l.GV)(f.F),S=(0,l.GV)(b.O5),k=(0,l.GV)(b.Oe),E=(e,t)=>(null===e||void 0===e?void 0:e.variationNumber)===t.productNumber?void 0:t;return(0,u.jsxs)(u.Fragment,{children:[C&&(0,u.jsx)(s.so,{justify:"between",className:i,children:(0,u.jsxs)(s.EY,{className:"mb-2 f3-700",light:!0,children:[x("color.color_one","Color"),": ",null!==(t=null===a||void 0===a?void 0:a.color)&&void 0!==t?t:""]})}),g&&(0,u.jsx)(s.so,{justify:"between",className:`${i}`,children:(0,u.jsxs)(s.EY,{className:"mb-2 f3-700",light:!0,children:[x("color.color_one","Color"),": ",S]})}),(0,u.jsxs)(s.xA,{align:"start",gap:"10px 6px",columns:{base:`repeat(auto-fit, ${"images"===k?"94px":"152px"})`},className:`${i||""} mb-3`,children:[g&&(null===g||void 0===g?void 0:g.map((e=>(0,u.jsx)("article",{className:"",children:(0,u.jsx)(te.A,{product:E(a,e),children:(0,u.jsx)($.A,{src:(0,ee.Ay)(null===e||void 0===e?void 0:e.image,ee.yj.ThumbNail,m.ImageExtension.Jpg),selected:(null===a||void 0===a?void 0:a.variationNumber)===e.productNumber,large:!0,className:(a?"f1-500":"f1-400")+" text-capitalize",alt:e.color||e.productNumber})})},e.productNumber)))),null===o||void 0===o||null===(n=o.variations)||void 0===n?void 0:n.map(((e,t)=>e.colorCode&&e.variationNumber!==o.productNumber?(w.lg||y||t<6)&&(0,u.jsx)(re,{compact:C,variation:e,selected:(null===a||void 0===a?void 0:a.variationNumber)===e.variationNumber,onSelect:d,className:"",hideCartBadge:!h,disabled:!!p&&!!e.variationNumber&&!!p.includes(e.variationNumber),layout:k},`${e.colorCode}${t}`):null))]}),w.lgBelow&&(null===o||void 0===o?void 0:o.variations)&&o.variations.length>6&&(0,u.jsx)(s.K0,{className:"w-100 my-2",bgColor:"fillMedium",icon:r.QLR,onClick:()=>A(!y),children:y?x("product.showLessColors","Show less colors"):o.variations.length-6+" "+x("product.colors","colors")})]})},oe=e=>{var t,n,s;let{product:g,variation:A,pending:w,onVariationSelected:x,categoryName:C,relatedVariations:S}=e;const{cartProduct:k,refinementsEnabled:E,stockSettings:I}=(0,l.GV)((e=>({cartProduct:g?(0,o.UE)(e,g):void 0,refinementsEnabled:g?(0,b.Nj)(e,g):void 0,stockSettings:g?(0,b.kX)(e,g):(0,b.kX)(e)}))),_=(0,l.GV)(b.em),P=(0,l.GV)(b.nt),O=(0,l.GV)(b.np),T=(0,l.GV)(b.JY),D=(0,l.GV)(h.Lt.basePreviews),j="number"===typeof(null===g||void 0===g||null===(t=g.refinementProduct)||void 0===t?void 0:t.id)?D[g.refinementProduct.id]:void 0,{isB2C:B}=(0,l.GV)(f.F),N=B,{isCartAvailable:M,localCart:R,pending:L}=(0,l.Ty)("shoppingCart"),[F,Q]=(0,v.useState)(!1),[U,V]=(0,v.useState)({}),[G,H]=(0,v.useState)(new Map),W=null!==g&&void 0!==g&&null!==(n=g.related)&&void 0!==n&&null!==(s=n.replacement)&&void 0!==s&&s.length?g.related.replacement[0]:void 0,Y=(0,l.jL)(),K=(0,l.cb)(),{t:J}=(0,c.B)();(0,v.useEffect)((()=>{var e,t;null!==g&&void 0!==g&&null!==(e=g.refinementProduct)&&void 0!==e&&e.id&&(null===g||void 0===g||null===(t=g.refinementProduct)||void 0===t?void 0:t.type)===m.RefinementType.Text&&Y(p.w9.getRefinementBasePreviews({ids:[g.refinementProduct.id]})).then((()=>Y((0,b.gx)())))}),[Y,null===g||void 0===g?void 0:g.refinementProduct]),(0,v.useEffect)((()=>{var e;const t=new Map;null===g||void 0===g||null===(e=g.variations)||void 0===e||e.forEach((e=>{var n;null===(n=e.skus)||void 0===n||n.forEach((e=>{e.sku&&t.set(e.sku,void 0)}))})),H(t),V({})}),[g]);const $=e=>{const t=new Map(G);e.forEach((e=>{t.set(e.sku,void 0)})),H(t)},ee=function(e,t){return t?t.refinementProduct&&t.refinementProduct.type===m.RefinementType.Text?"transferMatrix":t.refinementProduct?"transferShop":t.isQuickView||!t.hasVariations||e===b.VK.Normal?"normal":"matrix":e===b.VK.Normal?"normal":"matrix"}(T,g),te=B&&"normal"===ee,ne=(0,v.useCallback)((()=>{const e="normal"===ee?null===A||void 0===A?void 0:A.variationNumber:void 0;return[e?_.filter((t=>t.variation===e)):_,e?_.filter((t=>t.variation!==e)):[]]}),[null===A||void 0===A?void 0:A.variationNumber,_,ee]);if(!g)return null;const re=(e,t,n,r)=>{var i,o,a,s;if(Number.isNaN(t)||!e)return;F&&Q(!1);let l=[];if(!te){const n=new Map(G);n.set(e,t),H(n),l=_.filter((t=>t.sku!==e))}const c=null!==(i=null===(o=R[n])||void 0===o?void 0:o.variationQty)&&void 0!==i?i:0,u=((null===g||void 0===g||null===(a=g.variations)||void 0===a||null===(s=a.find((e=>e.variationNumber===n)))||void 0===s?void 0:s.minQuantity)||1)-c,d=l.filter((e=>e.variation===n)).reduce(((e,t)=>e+(t.qty||0)),0)+t;if(V({...U,[n]:u-(null!==d&&void 0!==d?d:u)}),t>=1){const i={variation:n,sku:e,qty:t,inboxItems:r,additive:!0};l.push(i)}Y((0,b.eS)(l))},oe=()=>{Q(!0),setTimeout((()=>{Q(!1)}),3e3)},ue=async()=>{window.document.activeElement&&window.document.activeElement.blur();const[e,t]=ne();if(!e.length)return void oe();Y((0,o.AL)("shoppingCart")(e)),$(e);const n=e.map((e=>{var t;return null===g||void 0===g||null===(t=g.variations)||void 0===t?void 0:t.find((t=>t.variationNumber===e.variation))})).filter((e=>!!e));!te&&Y((0,b.eS)(t));return await Y((0,o.tE)("shoppingCart")((0,o.Tl)(g,n,C,!0)))};if(w)return(0,u.jsx)(y.A,{height:400,width:"94%",className:"m-4"});const de=S&&(null===S||void 0===S?void 0:S.length)>1,pe=!!E;const he="normal"===ee&&!(null===A||void 0===A||!A.skus)&&(null===A||void 0===A?void 0:A.skus.length)<=1,fe=B||("matrix"===ee?!!_.length:!!_.find((e=>e.variation===(null===A||void 0===A?void 0:A.variationNumber))))&&(!Object.keys(U).find((e=>U[e]>0))||function(e){for(let t of e.entries())if(null!=t[1]&&t[1]>0)return!0;return!1}(G))||"transferMatrix"===ee&&!!P.find((e=>e.items.find((e=>{var t;return(null!==(t=e.quantity)&&void 0!==t?t:0)>0}))))&&(null===O||void 0===O?void 0:O.size)&&(null===O||void 0===O?void 0:O.font)&&(null===O||void 0===O?void 0:O.color);return(0,u.jsxs)("div",{className:"px-2 px-md-4 pt-4 mt-1 pb-4 f3-400",children:[(0,u.jsx)(ce,{className:"mb-2",disabled:!te&&L,children:(()=>{var e,t,n,r;switch(ee){case"matrix":return(0,u.jsx)(X.A,{variations:null===g||void 0===g?void 0:g.variations,selectedVariation:null===A||void 0===A?void 0:A.variationNumber,onVariationSelect:x,onAddToCart:ue,onQuantityChange:re,replacementProductNr:W,cells:G,addToCartEnabled:M,variationMinQts:U,compact:T===b.VK.MatrixCompact,stockSettings:I});case"transferMatrix":return(0,u.jsx)(Z.A,{textOptions:null===g||void 0===g||null===(e=g.refinementProduct)||void 0===e?void 0:e.textOptions,fixedColors:null===g||void 0===g||null===(t=g.refinementProduct)||void 0===t?void 0:t.fixedColors,sizeMode:null===g||void 0===g||null===(n=g.refinementProduct)||void 0===n?void 0:n.sizeMode,values:P,sizes:(null===j||void 0===j?void 0:j.sizes)||[],selectedText:O,onSelectText:e=>Y((0,b.i_)(e)),onQuantityChange:e=>Y((0,b.ZF)(e)),useValuesAsMatrix:"Namn"===(null===(r=g.refinementProduct)||void 0===r?void 0:r.name)});case"transferShop":return null;case"normal":return(0,u.jsxs)(u.Fragment,{children:[g.hasVariations?(0,u.jsx)(ie,{product:g,selectedVariation:A,onSelect:x}):de&&(0,u.jsx)(ie,{product:g,selectedVariation:A,onSelect:x,relatedVariations:S}),(null===A||void 0===A?void 0:A.skus)&&A.skus.length>=1&&(0,u.jsx)(z,{variation:A,onAddToCart:ue,onQuantityChange:re,replacementProductNr:W,cells:G,addToCartEnabled:M,variationMinQts:U,stockSettings:I})]})}})()}),!ee.includes("transferShop")&&M&&(null===A||void 0===A?void 0:A.skus)&&A.skus.length>=1&&(0,u.jsx)(ae,{align:K.xsBelow?void 0:"center",justify:"start",className:"w-100",gap:"3px",$wrap:!0,column:K.xsBelow,children:F?(0,u.jsx)(le,{className:"f1-500",fontSize:15,bold:!0,autoWidth:he,square:N,children:te?`${J("action.select")} ${J("size.size").toLowerCase()}`:J("cart.chooseQuantity")}):(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(se,{square:N,className:"flex-grow-1",half:!K.xsBelow&&pe?"left":void 0,large:!0,icon:r.qj_,color:fe?"buyText":"text",bgColor:fe?"buy":"white",onClick:"transferMatrix"===ee?async()=>{var e,t,n;if(window.document.activeElement&&window.document.activeElement.blur(),null===A||void 0===A||!A.variationNumber)return;const r=null===g||void 0===g||null===(e=g.refinementProduct)||void 0===e||null===(t=e.textOptions)||void 0===t?void 0:t.priceByCharacter,i={refinements:null!==(n=P.map((e=>{var t,n,i,o,a,s;return{variationNumbers:[A.variationNumber].filter((e=>null!==e&&void 0!==e)),data:{id:null===(t=g.refinementProduct)||void 0===t?void 0:t.id,isText:!0,isProduct:!0,isMounting:!1,width:(null===g||void 0===g||null===(n=g.refinementProduct)||void 0===n?void 0:n.sizeMode)===m.SizeMode.FixedWidths?e.size/10:void 0,height:(null===g||void 0===g||null===(i=g.refinementProduct)||void 0===i?void 0:i.sizeMode)===m.SizeMode.FixedHeights?e.size/10:void 0,size:e.size,colors:1,quantity:null===e||void 0===e?void 0:e.items.reduce(((e,t)=>{var n,i,o;return e+(null!==(n=null===t||void 0===t?void 0:t.quantity)&&void 0!==n?n:0)*(r?null!==(i=null===t||void 0===t||null===(o=t.value)||void 0===o?void 0:o.length)&&void 0!==i?i:0:1)}),0),description:null===(o=g.refinementProduct)||void 0===o?void 0:o.description},files:[],colors:[{sourceHex:null===(a=e.color)||void 0===a?void 0:a.hex,sourceName:null===(s=e.color)||void 0===s?void 0:s.name,visible:!0}],positions:[],text:{font:e.font,textValues:e.items},stockOperation:0}})))&&void 0!==n?n:[],files:[],addons:[],append:!0};Y((0,o.AZ)("shoppingCart")(i)).then((()=>{Y((0,b.ZF)([]))}))}:ue,autoWidth:he,children:J("cart.add_one")}),pe&&(0,u.jsxs)(se,{square:N,icon:r.qj_,large:!0,half:K.xsBelow?void 0:"right",color:fe?"buyText":"text",bgColor:fe?"buy":"white",onClick:async()=>{var e,t;const[n,r]=ne();if(!n.length)return void oe();Y((0,a._f)());const i=null!==(e=null===(t=n.find((e=>{var t;return!(null!==k&&void 0!==k&&null!==(t=k.variations)&&void 0!==t&&t.find((t=>{var n;return t.variationNumber===e.variation&&(null===(n=t.addons)||void 0===n?void 0:n.length)})))})))||void 0===t?void 0:t.variation)&&void 0!==e?e:n[0].variation;$(n),Y((0,a.Gf)({type:"refinement",origin:"shoppingCart",skus:n.map((e=>({sku:e.sku,quantity:e.qty}))),create:{variationNumber:i}})),!te&&Y((0,b.eS)(r))},autoWidth:he,className:"flex-grow-1",children:["+ ",(0,u.jsx)(i.g,{className:"mx-2",icon:r.qIE}),J("refinement.add","Choose process options")]})]})}),ee.includes("transferShop")&&M&&g.refinementProduct&&(0,u.jsx)(d,{product:g}),B||!g||g.isQuickView||!k?null:(0,u.jsx)(q,{cartProduct:k,className:"mt-5"})]})};const ae=(0,A.Ay)(s.so).withConfig({componentId:"sc-1xaw53m-0"})([""]),se=(0,A.Ay)(s.K0).withConfig({componentId:"sc-1xaw53m-1"})(["max-width:",";",";"],(e=>{let{autoWidth:t}=e;return t?"410px":"none"}),(e=>{let{square:t}=e;return t&&"height: 50px;"})),le=(0,A.Ay)(s.EY).withConfig({componentId:"sc-1xaw53m-2"})([""," border:1px solid ",";line-height:40px;font-size:15px;text-align:center;width:100%;max-width:",";"],(e=>{let{square:t,theme:n}=e;return t?`\n      color: ${n.colors.white};\n      background-color: ${n.colors.error};\n      height: 50px;\n      display: flex;\n      justify-content: center;\n      align-items: center;\n      border-radius: 0;\n      `:`\n      color: ${(0,g.e$)(.3,n.colors.error)};\n      height: 40px;\n      display: block;\n      border-radius: 20px;\n      `}),(e=>{let{theme:t}=e;return t.colors.error}),(e=>{let{autoWidth:t}=e;return t?"410px":"none"})),ce=A.Ay.div.withConfig({componentId:"sc-1xaw53m-3"})(["",""],(e=>{let{disabled:t}=e;return t&&"\n    pointer-events: none;\n    opacity: 0.5;\n  "}))},955:(e,t,n)=>{"use strict";n.d(t,{A:()=>U,Z:()=>_});var r=n(22360),i=n(28181),o=n(74959),a=n(8218),s=n(18627),l=n(44361),c=n(43288),u=n(27825),d=n(31938),p=n(9030),h=n(99393),f=n(33453),m=n(97589),g=n(23017),v=n(74635),y=n(69435),A=n(55951),b=n(9950),w=n(70030),x=n(24937),C=n(24380),S=n(26681),k=n(67529),E=n(58847),I=n(44414);const _=e=>{var t,n,u,v;let{product:y,onBuy:A,category:w,categoryPath:x,gtm:_,featuredColor:U,isSelected:V=!1,overrideImage:G,tags:q,rows:H,wishlist:W,priceText:Y,disableBuyButton:K,priceTypeRetailAndCustomer:J,actions:X,imgBg:Z,useQuickView:$,showPriceContainer:ee,onClick:te,buySubActions:ne,buyIcon:re}=e;const[ie,oe]=(0,b.useState)(!1),ae=(0,g.jL)(),{isB2C:se}=(0,g.GV)(h.F),le=(0,g.GV)((e=>{let{assortment:t}=e;return t.showBrand})),ce=(0,g.GV)(s.v9),ue=(0,b.useRef)(null),de=(0,g.GV)(E.nt),pe=(0,g.GV)(E.Lb),he=(0,g.GV)(l.Kc),[fe,me]=(0,b.useState)(!1);if(!y)return null;const ge=se,ve=y.hasVariations?null===(t=y.variations)||void 0===t?void 0:t.map((e=>{var t;return null===(t=e.webColors)||void 0===t?void 0:t.map((e=>e.toLocaleLowerCase()))})):[],ye=e=>{te?te(e):_&&ae((0,a.We)({product:y,category:w}))},Ae=(0,C.Un)(null===y||void 0===y||null===(n=y.image)||void 0===n?void 0:n.ext);return(0,I.jsxs)("div",{className:"position-relative h-100",children:[(0,I.jsxs)(O,{selected:V,ref:ue,className:"overflow-hidden",itemProp:"ListItem",itemScope:!0,itemType:"https://schema.org/Product",children:[(0,I.jsx)("meta",{itemProp:"productID",content:y.productNumber||""}),(0,I.jsx)(S.A,{product:y,onClick:ye,featuredColor:U,routed:x,children:(0,I.jsx)(D,{aspect:ce,imageTransparency:Ae,children:(0,I.jsx)(B,{imgBg:Z,padding:!0,children:(0,I.jsx)(N,{itemProp:"image",src:null!==G&&void 0!==G?G:(0,C.Ay)(null===y||void 0===y?void 0:y.image,C.yj.LargeThumbNail),alt:(null===y||void 0===y?void 0:y.productName)||"product"})})})}),(0,I.jsxs)(R,{justify:"between",className:"pt-3 px-3",children:[q&&(0,I.jsx)(d.A,{tags:q,className:"mr-2"}),(0,I.jsxs)(f.so,{children:[(null===W||void 0===W?void 0:W.show)&&(0,I.jsx)(f.K0,{className:"flex-shrink-0 align-self-start",bgColor:"transparent",icon:r.qcK,color:W.saved?"sale":void 0,onClick:()=>{var e;const t=null===(e=y.variations)||void 0===e?void 0:e.find((e=>e.colorCode===U));ae(c.w9.toggleVariation({product:y,variationNumber:null===t||void 0===t?void 0:t.variationNumber}))}}),X]})]}),(0,I.jsxs)(M,{column:!0,justify:"start",className:"pt-2 pb-1 flex-grow-1",children:[(0,I.jsxs)("div",{className:"px-2 flex-grow-1",children:[(0,I.jsx)(f.so,{justify:"between",children:(0,I.jsx)(T,{product:y,onClick:ye,featuredColor:U,children:(0,I.jsxs)(f.EY,{fontSize:14,itemProp:"name",large:y&&(null===(u=y.productName)||void 0===u?void 0:u.length)<30,children:[y.productName,(0,I.jsx)("meta",{itemProp:"name",content:`${y.productName}`})]})})}),(0,I.jsxs)(f.so,{children:[le&&y.productBrandName&&(0,I.jsxs)(I.Fragment,{children:[(0,I.jsxs)(f.EY,{light:!0,small:!0,children:[y.productBrandName,(0,I.jsx)("meta",{itemProp:"brand",content:`${y.productBrandName}`})]}),(0,I.jsx)(f.EY,{className:"mx-1",light:!0,small:!0,children:"/"})]}),(0,I.jsx)(f.EY,{className:"text-break",light:!0,small:!0,children:y.productInternalNumber?y.productInternalNumber:y.productNumber})]}),H&&H,(0,I.jsx)(f.so,{justify:"between",children:ve&&ve.length>0?(0,I.jsxs)(L,{align:"center",className:"my-1",children:[null===ve||void 0===ve?void 0:ve.map(((e,t)=>(ie||t<5)&&(0,I.jsxs)(F,{align:"center",itemProp:"color",className:"mr-1",children:[(0,I.jsx)(p.A,{colors:e})," "]},t))),ve&&ve.length>5&&(0,I.jsx)(F,{className:"mr-1",children:(0,I.jsx)(Q,{onClick:()=>oe(!ie),children:ie?(0,I.jsx)(o.g,{icon:r.Uec}):"+ "+(ve.length-5)})})]}):null})]}),(0,I.jsxs)("div",{className:"ml-2",children:[J&&y.price&&(0,I.jsx)(I.Fragment,{children:(0,I.jsx)(k.A,{compact:!0,price:y.price,fontSize:12,color:"textLight",showPriceType:"retail"})}),J&&(null===(v=y.price)||void 0===v?void 0:v.regular)&&de&&(0,I.jsx)(I.Fragment,{children:(0,I.jsx)(k.A,{compact:!0,price:y.price,fontSize:12,color:"textLight",showPriceType:"regular"})}),he&&pe&&y.price&&(0,I.jsx)(k.A,{compact:!0,price:y.price,showPriceType:"regular",fontSize:12,color:"textLight"})]}),ee&&(0,I.jsx)(j,{className:"px-2 mt-1 mb-1",children:K?(0,I.jsx)(P,{priceText:Y,price:null===y||void 0===y?void 0:y.price,disabled:!0}):$?(0,I.jsx)(z,{square:ge,bgColor:"fill",color:"priceText",className:"w-100",onClick:()=>{ne?me(!0):A&&A(ue)},icon:null!==re&&void 0!==re?re:i.qj_,children:(0,I.jsx)(P,{priceText:Y,price:null===y||void 0===y?void 0:y.price})}):(0,I.jsx)(T,{product:y,onClick:ye,featuredColor:U,children:(0,I.jsx)(z,{square:ge,bgColor:"fill",color:"priceText",className:"w-100",icon:null!==re&&void 0!==re?re:i.qj_,children:(0,I.jsx)(P,{priceText:Y,price:null===y||void 0===y?void 0:y.price})})})})]})]}),null!==ne&&void 0!==ne&&ne.length&&fe?(0,I.jsx)(m.A,{onClickOutside:()=>me(!1),items:ne,childrenTitleKey:"label",childrenIconKey:"icon",breakParentWidth:!0,absolutePositioned:{bottom:"1rem",left:"1rem"},onItemPress:e=>{e.onClick()}}):null]})},P=e=>{let{priceText:t,price:n,disabled:r}=e;const{t:i}=(0,w.B)(),{isNone:o}=(0,g.GV)(h.F),a=e=>o?null:(0,I.jsx)(f.EY,{color:r?"textLight":"priceText",fontSize:12,className:"f1-400",children:"string"===typeof e?e:i("cart.add_one","Add to cart")});return"string"===typeof t?a(t):n?(0,I.jsxs)(I.Fragment,{children:[(0,I.jsx)(k.A,{price:n,compact:!0,color:r?"textLight":"priceText"}),(0,I.jsx)("span",{className:"visually-hidden",children:i("cart.add_one","Add to cart")})]}):a()},O=x.Ay.div.withConfig({componentId:"sc-14jnc5p-0"})(["position:relative;flex:1;",";display:flex;flex-direction:column;justify-content:space-between;height:100%;background-color:",";"],(e=>{let{theme:t,selected:n}=e;return n?`border: ${(0,A.e$)(.1,t.colors.fillMedium)} 1px solid`:`border: ${t.colors.fill} 1px solid`}),(e=>{let{theme:t}=e;return t.colors.white})),T=(0,x.Ay)(S.A).withConfig({componentId:"sc-14jnc5p-1"})(["&:hover{color:",";}"],(e=>{let{theme:t}=e;return t.colors.text})),D=x.Ay.div.withConfig({componentId:"sc-14jnc5p-2"})(["position:relative;overflow:hidden;background-color:",";&::before{padding-bottom:","%;display:block;content:'';width:100%;}"],(e=>{let{imageTransparency:t,theme:n}=e;return t?n.colors.productCardBackgroundColor:"white"}),(e=>{let{aspect:t}=e;return t||150})),j=x.Ay.div.withConfig({componentId:"sc-14jnc5p-3"})([""]),B=x.Ay.div.withConfig({componentId:"sc-14jnc5p-4"})(["position:absolute;top:0;left:0;width:100%;height:100%;"," "," ",""],(e=>{let{padding:t}=e;return t?"padding:  18px;":""}),(e=>{let{themeBackground:t}=e;return t&&`background-color: ${t};`}),(e=>{let{theme:t,imgBg:n}=e;return n&&`background-color: ${t.colors.transparentBg};`})),N=(0,x.Ay)(f._V).withConfig({componentId:"sc-14jnc5p-5"})(["object-fit:contain;height:100%;width:100%;"]),M=(0,x.Ay)(f.so).withConfig({componentId:"sc-14jnc5p-6"})(["text-align:left;width:100%;"]),R=(0,x.Ay)(f.so).withConfig({componentId:"sc-14jnc5p-7"})(["position:absolute;top:0;left:0;width:100%;"]),L=(0,x.Ay)(f.so).withConfig({componentId:"sc-14jnc5p-8"})(["flex-wrap:wrap;"]),F=(0,x.Ay)(f.so).withConfig({componentId:"sc-14jnc5p-9"})(["height:21px;"]),z=(0,x.Ay)(f.K0).withConfig({componentId:"sc-14jnc5p-10"})(["",";min-height:34px;height:auto;"],(e=>{let{bg:t,theme:n}=e;return t?"":`border: 1px solid ${n.colors.borderLight};`})),Q=x.Ay.button.withConfig({componentId:"sc-14jnc5p-11"})(["font-size:12px;background:none;border:none;border-bottom:1px solid ",";&:hover{border-bottom:1px solid ",";}"],(e=>{let{theme:t}=e;return t.colors.transparent}),(e=>{let{theme:t}=e;return t.colors.text})),U=e=>{var t,n,r,i,o;const{product:a}=e,s=(0,g.jL)(),{quickView:l,quickViewProduct:d,quickViewVariation:p}=(0,g.GV)((e=>{let{product:t}=e;return t})),h=(0,g.GV)((e=>(0,u.$3)(e,a))),f=(0,g.GV)(u.ze),m=(0,g.GV)(c.Lt.wishList),A=null===(t=(0,g.Ty)("shoppingCart"))||void 0===t?void 0:t.isCartAvailable,b=(0,g.GV)(E.O1),w=(0,g.GV)(u.G7);if(!a)return null;const x=(null===d||void 0===d?void 0:d.productNumber)===(null===a||void 0===a?void 0:a.productNumber)&&(null===p||void 0===p?void 0:p.colorCode)||(null===a||void 0===a?void 0:a.hasVariations)&&(null===a||void 0===a||null===(n=a.variations)||void 0===n||null===(r=n.find((e=>e.featured)))||void 0===r?void 0:r.colorCode)||void 0,S=l&&a.productNumber===(null===d||void 0===d?void 0:d.productNumber),k=S?(0,C.Ay)(null===p||void 0===p?void 0:p.image,C.yj.Preview,y.ImageExtension.Jpg):void 0,P=x?null===a||void 0===a||null===(i=a.variations)||void 0===i?void 0:i.find((e=>e.colorCode===x)):void 0,O=!(null===a||void 0===a||!a.productNumber)&&c.Wp.isInWishList(m,null!==(o=null===P||void 0===P?void 0:P.variationNumber)&&void 0!==o?o:a.productNumber);return(0,I.jsx)(_,{...e,product:a,featuredColor:x,isSelected:S,overrideImage:k,onBuy:t=>{w&&s((0,u.r9)({pnrOrSlug:a.productNumber,featuredColor:x})),e.onBuy&&e.onBuy(t)},tags:h,wishlist:{show:f,saved:O},disableBuyButton:!A,priceText:"none"===b?(0,v.t)("cart.add_one"):void 0,priceTypeRetailAndCustomer:"retailAndCustomer"===b,useQuickView:w,showPriceContainer:!0})}},36855:(e,t,n)=>{"use strict";n.d(t,{WW:()=>y,Dg:()=>g,Ay:()=>S,Go:()=>k});var r=n(72608),i=n(74959),o=n(33453),a=n(23017),s=n(69435),l=n(9950),c=n(77520),u=n.n(c),d=n(24937),p=n(27825),h=n(57033),f=n(24380),m=n(44414);const g=e=>{let{onClick:t,direction:n,size:o}=e;return(0,m.jsx)(b,{onClick:t,right:"right"===n,children:(0,m.jsx)(i.g,{size:o,icon:"right"===n?r.dmS:r.CeG})})},v=d.Ay.div.withConfig({componentId:"sc-fjfbml-0"})(["position:absolute;right:0;top:0;z-index:2;text-align:right;"]),y=d.Ay.div.withConfig({componentId:"sc-fjfbml-1"})([".image-gallery-bullets{width:calc(100% - 6px);bottom:14px;right:6px;}.image-gallery-bullets-container{display:flex;justify-content:end;align-items:baseline;.image-gallery-bullet{height:12px;width:45px;border-radius:0;border:0;outline:0;margin:0;box-shadow:0 4px 0 ",";background:none !important;border:0 !important;outline:0 !important;margin:0 5px;position:relative;&.active{box-shadow:0 4px 0 ",";transform:none;}&:hover,&:active,&:focus{transform:none;}&:hover{box-shadow:0 7px 0 ",";}&::after{position:absolute;top:100%;left:0;content:'';height:10px;width:100%;}}}.image-gallery-thumbnails{padding:0;.image-gallery-thumbnails-container{display:flex;flex-wrap:wrap;text-align:left;cursor:default;background:white;border-top:2px solid "," !important;}.image-gallery-thumbnail{vertical-align:top;margin:0;padding:3px;border:0 !important;height:40px;width:40px;background:white;.image-gallery-thumbnail-inner{height:100%;width:100%;}.image-gallery-thumbnail-image{height:100%;width:100%;object-fit:contain;transition:transform 0.3s ease;}&.image-picture{.image-gallery-thumbnail-image{object-fit:cover;}}}}.image-gallery-content.fullscreen .image-gallery-thumbnail{height:80px;width:80px;}"," .image-gallery-image{","}.image-picture .image-gallery-image{padding:0;}.image-gallery-image{cursor:",";width:100%;max-height:none !important;","{max-height:calc(100vh - 150px) !important;}}"," .fullscreen .image-gallery-image{height:calc(100vh - 82px);max-height:none !important;}"],(e=>{let{theme:t}=e;return t.colors.border}),(e=>{let{theme:t}=e;return t.colors.accent}),(e=>{let{theme:t}=e;return t.colors.accent}),(e=>{let{theme:t}=e;return t.colors.fill}),(e=>{let{hideAngleThumbs:t}=e;return t&&"\n    .image-gallery-content:not(.fullscreen) .hide-thumb {\n      display: none;\n    }\n  "}),(e=>{let{layout:t}=e;return"gallery"===t?"\n          height: 68vh;\n          background: white;\n          padding: 1em;\n        ":"\n      "}),(e=>{let{isFullscreenAllowed:t}=e;return t?"crosshair":"default"}),(e=>{let{theme:t}=e;return t.media.lg}),(e=>{let{theme:t,layout:n}=e;return"grid"===n&&`${t.media.lg} {\n    .image-gallery-content:not(.fullscreen) .image-gallery-image {\n      object-position: top right;\n    }\n  }`})),A=d.Ay.button.withConfig({componentId:"sc-fjfbml-2"})(["width:40px;height:40px;text-align:center;display:flex;justify-content:center;align-items:center;border-radius:20px;border:none;outline:none;background-color:transparent;"]),b=(0,d.Ay)(A).withConfig({componentId:"sc-fjfbml-3"})(["position:absolute;top:50%;transform:translateY(-50%);z-index:1;color:",";&:hover{color:",";}",";"],(e=>e.theme.colors.border),(e=>e.theme.colors.borderLight),(e=>e.right?"\n    right: 15px;\n  ":"\n  left: 15px;")),w=(0,d.Ay)(o.so).withConfig({componentId:"sc-fjfbml-4"})(["background:#fff;padding:1rem;width:25%;height:200px;img{max-width:100%;max-height:100%;object-fit:contain;}"]),x=(0,d.Ay)(o.so).withConfig({componentId:"sc-fjfbml-5"})(["border-top:1px solid ",";background:#f8f8f8;"],(e=>{let{theme:t}=e;return t.colors.fill})),C=d.Ay.img.withConfig({componentId:"sc-fjfbml-6"})(["cursor:crosshair;"]),S=e=>{var t;let{onImageChange:n,showVariation:r,showBigImage:i=!0,pictures:c}=e;const{variation:d,product:A}=(0,a.GV)((e=>{let{product:t}=e;return t}));let b=(0,a.GV)(p.t2);null!==c&&void 0!==c&&c.length&&(b=c);const S=(0,a.GV)(p.Cu),E=(0,a.cb)(),[I,_]=(0,l.useState)(!1),P=(0,l.useRef)(null);if(null===(t=b)||void 0===t||!t.length)return(0,m.jsx)(o._V,{alt:"",src:h.A});const[O,T,D]=k(b,!!d);return(0,m.jsxs)(y,{layout:S,isFullscreenAllowed:E.md,hideAngleThumbs:T.length>1,children:[r&&d&&(0,m.jsxs)(v,{className:"py-3 px-4",children:[(0,m.jsx)(o.EY,{light:!0,itemProp:"",className:"f1-500",children:d.color||" "}),(0,m.jsx)(o.EY,{small:!0,light:!0,children:d.colorCode&&`(${null===d||void 0===d?void 0:d.colorCode})`})]}),(0,m.jsx)(u(),{disableKeyDown:!0,ref:P,showBullets:b.length>1,onScreenChange:e=>_(e),showThumbnails:I,onClick:e=>{var t;const n=null===(t=P.current)||void 0===t?void 0:t.state;var r;if(E.md&&!n.isFullscreen)null===(r=P.current)||void 0===r||r.fullScreen();else if(n.isFullscreen){var i;null===(i=P.current)||void 0===i||i.exitFullScreen()}},onBeforeSlide:e=>n?n(e):null,items:O,showFullscreenButton:!1,showPlayButton:!1,lazyLoad:!0,disableThumbnailScroll:!I,renderLeftNav:(e,t)=>{if("grid"!==S)return(0,m.jsx)(g,{onClick:e,direction:"left",size:"2x"})},renderRightNav:(e,t)=>{if("grid"!==S)return(0,m.jsx)(g,{onClick:e,direction:"right",size:"2x"})}}),T.length>1&&"gallery"===S&&(0,m.jsx)(x,{children:E.md&&T.map(((e,t)=>t<4&&e.fileName?(0,m.jsx)(w,{className:"pointer",align:"center",justify:"center",onClick:()=>(e=>{var t;null===(t=P.current)||void 0===t||t.slideToIndex(e.galleryIndex)})(e),children:(0,m.jsx)(o._V,{alt:(null===A||void 0===A?void 0:A.productName)||""+(null===d||void 0===d?void 0:d.variationNumber)||""+e.angle,src:(0,f.Ay)(e,f.yj.ThumbNail)})},e.galleryIndex):null))}),i&&E.md&&(null===D||void 0===D?void 0:D.fileName)&&(0,m.jsx)(C,{className:"w-100",alt:"Environment",onClick:()=>(e=>{var t,n;null===(t=P.current)||void 0===t||t.fullScreen(),null===(n=P.current)||void 0===n||n.slideToIndex(e.galleryIndex)})(D),src:(0,f.Ay)(D,f.yj.Preview,s.ImageExtension.Jpg)})]})};function k(e,t){const n=[],r=[];let i=null;return null===e||void 0===e||e.forEach(((e,o)=>{let a=!1;t&&"Productpicture"===e.type&&"none"!==e.angle&&r.length<4&&(a=!0,r.push({...e,galleryIndex:o})),i||"Imagepicture"!==e.type||(i={...e,galleryIndex:o});const l="Productpicture"===e.type?"product-picture":"image-picture",c={original:(0,f.Ay)(e,f.yj.Preview,s.ImageExtension.Jpg),thumbnail:(0,f.Ay)(e,f.yj.ThumbNail,s.ImageExtension.Jpg),thumbnailClass:`${l} thumbnail ${a?"hide-thumb":""}`,originalClass:`${l} ${e.angle?"angle-"+e.angle:""}`};n.push(c)})),[n,r,i||null]}},26681:(e,t,n)=>{"use strict";n.d(t,{A:()=>s,F:()=>a});n(9950);var r=n(33453),i=n(23017),o=n(44414);function a(e,t,n){if(!n||!n.productNumber)return;if(t)return`${t.url}${n.slug||n.productNumber}/`;const r=e[n.productNumber];return r?`${r.url}${n.slug||n.productNumber}/`:"404"}const s=e=>{let{product:t,children:n,featuredColor:s,onClick:l,routed:c,...u}=e;const{productCategoryMap:d}=(0,i.GV)((e=>{let{assortment:t}=e;return t}));return(0,o.jsx)(r.N_,{itemProp:"url",to:null!==t&&void 0!==t&&t.productNumber?a(d,c,t):l?"#":void 0,state:{pnr:(null===t||void 0===t?void 0:t.productNumber)||void 0,featuredColor:s,brand:(null===t||void 0===t?void 0:t.productBrandName)||void 0},onClick:l,noStyle:!0,...u,children:n})}},43045:(e,t,n)=>{"use strict";n.d(t,{A:()=>d,L:()=>u});var r=n(84848),i=n(33453),o=n(23017),a=(n(9950),n(70030)),s=n(24937),l=n(26681),c=n(44414);const u=e=>{var t,n,r;let{item:o,smallThumbnail:a,onClick:s,onRightAction:l,customActions:u,rightIcon:d,smallRightIcon:b,showBrand:C=!0,leftPadding:S=!0,goToProductPageOnClick:k=!0,parent:E,focused:I,..._}=e;return(0,c.jsxs)(m,{justify:"between",align:"center",onClick:()=>s&&s(o),showPointer:!!s,focused:I,..._,children:[(0,c.jsx)(h,{product:k?o:void 0,className:"py-2 pr-3 "+(S?"":"pl-0"),children:(0,c.jsxs)(f,{align:"center",children:[(0,c.jsxs)(g,{className:"mr-2 p-1",children:[(0,c.jsx)(v,{$small:a,src:o.imgUrl,alt:o.productBrandName||""+o.productNumber||""+o.variationNumber||""}),(0,c.jsx)("meta",{itemProp:"image",content:`${o.imgUrl}`})]}),(0,c.jsxs)(y,{column:!0,children:[(0,c.jsxs)(p,{small:!0,"data-name":!0,textOverflow:"225",className:"f1-500",children:[null===o||void 0===o?void 0:o.text,(0,c.jsx)("meta",{itemProp:"name",content:`${null===o||void 0===o?void 0:o.text}`}),(0,c.jsx)("meta",{itemProp:"description",content:`${null===o||void 0===o?void 0:o.text}`})]}),(0,c.jsxs)(A,{className:"text-nowrap",children:[null!==(t=null!==(n=o.skuText)&&void 0!==n?n:o.variationNumber)&&void 0!==t?t:o.productNumber,(0,c.jsx)("meta",{itemProp:"productID",content:`${null!==(r=o.variationNumber)&&void 0!==r?r:o.productNumber}`})]}),C&&(0,c.jsxs)(A,{className:"text-nowrap",children:[o.productBrandName,(0,c.jsx)("meta",{itemProp:"brand",content:`${o.productBrandName}`})]})]})]})}),E&&(null===o||void 0===o?void 0:o.parentPath)&&(0,c.jsx)(x,{to:o.parentPath,noStyle:!0,className:"mr-3",children:(0,c.jsx)(w,{className:"text-nowrap",children:o.parentText})}),(null===u||void 0===u?void 0:u.length)&&(0,c.jsx)(i.so,{column:!0,align:"center",justify:"center",children:u.map(((e,t)=>(0,c.jsx)(i.K0,{icon:e.icon,small:e.smallIcon,onClick:t=>((e,t)=>{e.preventDefault(),e.stopPropagation(),null===t||void 0===t||t(o)})(t,e.onClick),className:"flex-shrink-0 mr-1 "+(u[u.length-1]===e?"mt-2":"")},t)))})]})},d=e=>{let{products:t,smallThumbnail:n,onClick:s,onRightAction:l,rightIcon:d,parent:p,showBrand:h,leftPadding:f,pageInfo:m,goToProductPageOnClick:g,goToSearchPageWithParams:v,focusedItemRow:y,showAllFocused:A}=e;const w=(0,o.GV)(r.xF),x=(0,o.GV)((e=>{let{search:t}=e;return t.searchPhrase})),S=(0,o.GV)((e=>{let{assortment:t}=e;return t.showBrand})),{t:k}=(0,a.B)();return(0,c.jsxs)(b,{className:"w-100",children:[t.map(((e,t)=>(0,c.jsx)(u,{item:e,smallThumbnail:n,onClick:s,customActions:l&&d?[{icon:d,smallIcon:!1,onClick:l}]:void 0,showBrand:S&&h,leftPadding:f,goToProductPageOnClick:g,focused:y===t,parent:p},`${e.productNumber}_${t}`))),m&&m.totalItems&&(0,c.jsx)(i.N_,{to:`${w}?search=${x}`,onClick:()=>s(),children:(0,c.jsxs)(C,{ref:v,pill:!0,type:"button",bgColor:"fillWhite",className:"w-100 mb-2 mt-4",focused:A,children:[k("product.show","Show products")," (",m.totalItems,")"]})})]})},p=(0,s.Ay)(i.EY).withConfig({componentId:"sc-1v9gl5f-0"})([""]),h=(0,s.Ay)(l.A).withConfig({componentId:"sc-1v9gl5f-1"})(["flex:1;"]),f=(0,s.Ay)(i.so).withConfig({componentId:"sc-1v9gl5f-2"})([""]),m=(0,s.Ay)(i.so).withConfig({componentId:"sc-1v9gl5f-3"})(["font-size:12px;margin-bottom:2px;background:white;a:hover ","{text-decoration:underline;}",";",";"],p,(e=>{let{showPointer:t}=e;return t&&"&:hover { cursor: pointer; }"}),(e=>{let{focused:t}=e;return t&&"background: #00000010;"})),g=s.Ay.div.withConfig({componentId:"sc-1v9gl5f-4"})([""]),v=(0,s.Ay)(i._V).withConfig({componentId:"sc-1v9gl5f-5"})(["width:55px;max-height:65px;object-fit:contain;",""],(e=>{let{$small:t}=e;return t&&"\n      max-height: 35px;\n      width: 35px;\n    "})),y=(0,s.Ay)(i.so).withConfig({componentId:"sc-1v9gl5f-6"})(["flex-grow:2;font-size:12px;"]),A=s.Ay.span.withConfig({componentId:"sc-1v9gl5f-7"})(["color:",";"],(e=>{let{theme:t}=e;return t.colors.textLight})),b=s.Ay.div.withConfig({componentId:"sc-1v9gl5f-8"})([""]),w=s.Ay.span.withConfig({componentId:"sc-1v9gl5f-9"})(["color:",";border-bottom:1px solid transparent;"],(e=>{let{theme:t}=e;return t.colors.textFaded})),x=(0,s.Ay)(i.N_).withConfig({componentId:"sc-1v9gl5f-10"})(["display:flex;justify-content:center;align-items:center;&:hover ","{border-bottom:1px solid ",";}"],w,(e=>{let{theme:t}=e;return t.colors.text})),C=(0,s.Ay)(i.$n).withConfig({componentId:"sc-1v9gl5f-11"})(["",";"],(e=>{let{focused:t}=e;return t&&"border: 1px solid #00000050;"}))},40716:(e,t,n)=>{"use strict";n.d(t,{A:()=>S});var r=n(22360),i=n(28181),o=n(74959),a=n(99393),s=n(84848),l=n(44361),c=n(41107),u=n(33453),d=n(23017),p=n(64267),h=n.n(p),f=n(69435),m=n(55951),g=n(9950),v=n(70030),y=n(24937);var A=n(94362),b=n(50413),w=n(85821),x=n(92271),C=n(44414);const S=e=>{let{className:t,variations:n,replacementProductNr:r,onVariationSelect:c,selectedVariation:p,onAddToCart:m,onQuantityChange:y,cells:A,compact:b=!1,addToCartEnabled:x,variationMinQts:S,firstColCellLabel:E,stockSettings:I,rowAction:L,autoWidth:U,hideCartBadge:G,useSelect:q}=e;const W=(0,d.GV)(s.Mz),[Z,$]=(0,g.useState)(),[ee,te]=(0,g.useState)(),[ne,re]=(0,g.useState)(!1),{isB2B:ie}=(0,d.GV)(a.F),oe=(0,d.GV)(l.Kc),[ae,se]=(0,g.useState)(new Map),{t:le}=(0,v.B)(),ce=!ie,ue=(0,g.useRef)(null),de=(0,g.useRef)(null),pe=(0,g.useRef)(null),[he,fe]=(0,g.useState)({scroll:0,maxWidth:0}),[me,ge]=(0,g.useState)(),ve=(e,t,n,r)=>{te({sku:e,name:e.name,variationNr:t,skuIndex:n,ref:r})},ye=e=>{const t=Number.isNaN(+e.target.value)?0:+e.target.value,r=null===ee||void 0===ee?void 0:ee.sku.sku,i=null===ee||void 0===ee?void 0:ee.variationNr;if(r&&i){if(i!==p){const e=null===n||void 0===n?void 0:n.find((e=>e.variationNumber===i));e&&(null===c||void 0===c||c(e))}y(r,t,i,1)}},Ae=(e,t)=>!!e&&(S[e]>0&&S[e]!==t);(0,g.useEffect)((()=>{var e,t;let r=null===n||void 0===n?void 0:n.reduce(((e,t)=>{var n;return null===(n=t.skus)||void 0===n||n.forEach((t=>{"number"===typeof t.sort&&e.set(t.sort,t.name||"")})),e}),new Map);const i=["XS","S","M","L","XL","XXL","XXXL","XXS"];if(1===(null===(e=r)||void 0===e?void 0:e.size)){var o;const e=null!==(o=r.values().next().value)&&void 0!==o?o:".";if(!i.includes(e)){const e=r.keys().next().value;r=new Map([[null!==e&&void 0!==e?e:0,le("cart.quantity","Quantity")]])}}const a=r?[...null===(t=r)||void 0===t?void 0:t.entries()].sort(((e,t)=>e[0]-t[0])):[];if($(a),!a.length)return;const s=null===n||void 0===n?void 0:n.reduce(((e,t)=>{if(t.variationNumber){const n=Array(a.length).fill(void 0).map((()=>(0,g.createRef)()));e.set(t.variationNumber,n)}return e}),new Map);s&&se(s)}),[n,le]),(0,g.useEffect)((()=>{const e=e=>{let t=e.key;if(!ne||!["ArrowLeft","ArrowRight","ArrowUp","ArrowDown","Enter"].includes(t)||null===ee||void 0===ee||!ee.variationNr)return;e.stopPropagation(),e.preventDefault();let n="Enter"===t?void 0:function(e,t){switch(e){case"ArrowLeft":return"prevSku";case"ArrowRight":return"nextSku";case"ArrowUp":return t?"prevSku":"prevColor";case"ArrowDown":return t?"nextSku":"nextColor";default:return}}(t,b),r=!1;if("prevSku"===n||"nextSku"===n){let e=ee.skuIndex;const t=ae.get(ee.variationNr)||[];let i=!1;for(;e>=0&&e<t.length;){e+="prevSku"===n?-1:1;const r=t[e];if(null!==r&&void 0!==r&&r.current){r.current.focus(),i=!0;break}}!i&&b&&(n="prevSku"===n?"prevColor":"nextColor",r=!0)}if("prevColor"===n||"nextColor"===n){const e=Array.from(ae.keys());let t=e.findIndex((e=>e===ee.variationNr));if(-1===t)return;for(;t>=0&&t<e.length;){t+="prevColor"===n?-1:1;const i=e[t];if(!i)return;const o=J(ae.get(i)||[],r,n,ee.skuIndex);if(null!==o&&void 0!==o&&o.current){o.current.focus();break}}}var i;x&&"Enter"===t&&((null===(i=ee.ref)||void 0===i?void 0:i.current)&&ee.ref.current.blur(),null===m||void 0===m||m())};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)}),[ne,ee,m,ae,b,x]),(0,g.useEffect)((()=>{ue.current&&ge(ue.current.clientHeight)}),[ue,b]),(0,g.useEffect)((()=>{var e;const t=pe.current,n=()=>{t&&fe({scroll:t.scrollLeft,maxWidth:t.clientWidth})};n();const r=h()(n,150);return null===t||void 0===t||t.addEventListener("scroll",r),null===(e=window)||void 0===e||e.addEventListener("resize",r),()=>{var e;null===t||void 0===t||t.removeEventListener("scroll",r),null===(e=window)||void 0===e||e.removeEventListener("resize",r)}}),[pe]);const be=!(!x||!n)&&-1!==(null===n||void 0===n?void 0:n.flatMap((e=>e.skus)).findIndex((e=>{var t;return null===e||void 0===e||null===(t=e.stock)||void 0===t?void 0:t.every((e=>e.stockLevel===f.StockLevel.LowStock))}))),we=!(!x||!n)&&-1!==(null===n||void 0===n?void 0:n.flatMap((e=>e.skus)).findIndex((e=>{var t;return null===e||void 0===e||null===(t=e.stock)||void 0===t?void 0:t.every((e=>e.stockLevel===f.StockLevel.OutOfStock))})));return(0,C.jsxs)(_,{className:`${t} f3-400`,children:[(!ie||!oe)&&(0,C.jsx)(w.A,{className:"mb-2 align-self-end",inStock:!0,lowStock:be,noStock:we}),b?(0,C.jsxs)(u.so,{align:"start",children:[(0,C.jsx)(T,{column:!0,justify:"start",align:"start",ref:ue,minHeight:X((null===Z||void 0===Z?void 0:Z.length)||0,!!ee),children:null===n||void 0===n?void 0:n.map((e=>(0,C.jsx)(V,{hideCartBadge:!G,compact:!0,highlighted:(null===ee||void 0===ee?void 0:ee.variationNr)===e.variationNumber,variation:e,selected:p===e.variationNumber,onSelect:t=>{if(e.variationNumber){var n,r,i,o;const t=null===(n=ae.get(e.variationNumber))||void 0===n?void 0:n.find((e=>!!e.current));null===(r=de.current)||void 0===r||r.scrollTo({top:((null===t||void 0===t||null===(i=t.current)||void 0===i||null===(o=i.parentElement)||void 0===o?void 0:o.offsetTop)||44)-44,left:0,behavior:"smooth"})}null===c||void 0===c||c(t)},onFocus:()=>te(null),className:"p-2 text-center",error:Ae(e.variationNumber,e.minQuantity),layout:"dots"},`dot_${e.variationNumber}`)))}),(0,C.jsx)(O,{height:me,ref:de,minHeight:X((null===Z||void 0===Z?void 0:Z.length)||0,!!ee),children:(0,C.jsx)(D,{children:(0,C.jsx)(j,{children:null===n||void 0===n?void 0:n.map((e=>{const t=Y(ae,e.variationNumber||"",Z,e.skus);return(0,C.jsxs)(g.Fragment,{children:[(0,C.jsx)(B,{children:(0,C.jsxs)(M,{colSpan:2,className:"f3-400 px-3 text-capitalize",selected:(null===ee||void 0===ee?void 0:ee.variationNr)===e.variationNumber,dark:!0,children:[e.color||e.variationNumber,(0,C.jsx)(u.EY,{small:!0,light:!0,className:"ml-1 d-inline-block",children:e.colorCode&&(0,C.jsxs)(C.Fragment,{children:["(",e.colorCode,")"]})}),L&&(0,C.jsx)(F,{justify:"center",align:"center",onClick:t=>{t.stopPropagation(),t.preventDefault(),e.variationNumber&&L.action({id:L.id,variationNumber:e.variationNumber})},children:(0,C.jsx)(u.K0,{icon:L.icon})})]})}),e.skus&&e.skus.length>0&&e.skus.map(((n,i)=>{var o,a,s,l,c;const d=t.find((e=>K(e)&&e.sku.sku===n.sku));return d&&d.sku.sku?(0,C.jsxs)(g.Fragment,{children:[(0,C.jsx)(B,{children:(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(M,{className:"px-3 f3-700",selected:(null===ee||void 0===ee?void 0:ee.sku.sku)===d.sku.sku,children:(0,C.jsx)(u.EY,{small:!0,className:"text-capitalize",children:d.name})}),(0,C.jsx)(N,{selected:(null===ee||void 0===ee||null===(o=ee.sku)||void 0===o?void 0:o.sku)===d.sku,children:(0,C.jsxs)(C.Fragment,{children:[(null===ee||void 0===ee||null===(a=ee.sku)||void 0===a?void 0:a.sku)!==d.sku.sku&&!A.get(d.sku.sku)&&(0,C.jsx)(k,{stockRows:null!==(s=d.sku.stock)&&void 0!==s?s:[],numFormat:W,settings:null===I||void 0===I?void 0:I.stockInfo,variation:e}),(0,C.jsx)(z,{ref:d.ref,name:"selectedCell",autoComplete:"off",type:"number",step:"1",value:A.get(d.sku.sku)||"",onWheel:e=>{e.currentTarget.blur()},onChange:e=>{var t;null!==(t=d.sku.stock)&&void 0!==t&&t.every((e=>e.stockLevel===f.StockLevel.OutOfStock))&&ce||ye(e)},hide:!d.sku||(null===ee||void 0===ee||null===(l=ee.sku)||void 0===l?void 0:l.sku)!==d.sku.sku,dirty:!!A.get(d.sku.sku),min:0,selected:(null===ee||void 0===ee?void 0:ee.sku.sku)===d.sku.sku,onFocus:()=>{ve(d.sku,e.variationNumber||"",i,d.ref),re(!0)},onBlur:()=>{re(!1),I||te(null)},disabled:!x,error:Ae(e.variationNumber,e.minQuantity)})]})})]})}),I&&ee&&ee.sku.sku===(null===(c=d.sku)||void 0===c?void 0:c.sku)?(0,C.jsx)(H,{replacementProductNr:r,variation:e,selectedCell:ee,stockSettings:I,hasMinQtyError:Ae,variationMinQts:S,colSpan:2,wideInfoScroll:he,onClose:()=>te(null),addToCartEnabled:x}):null]},d.sku.sku):null}))]},`color_${e.variationNumber}`)}))})})})]}):(0,C.jsx)(P,{ref:pe,children:(0,C.jsx)(D,{autoWidth:U,children:(0,C.jsxs)(j,{children:[(0,C.jsxs)(B,{children:[(0,C.jsx)(M,{single:!!Z&&1===Z.length,as:"th",className:"f3-700",children:E&&(0,C.jsx)(u.EY,{small:!0,className:"p-2 text-capitalize",children:E})}),Z&&Z.map((e=>{let[t,n]=e;return(0,C.jsx)(R,{as:"th",selected:(null===ee||void 0===ee?void 0:ee.name)===n,children:(0,C.jsx)(u.EY,{small:!0,className:"text-capitalize",children:q?le("action.select"):n})},t)}))]}),null===n||void 0===n?void 0:n.map(((e,t)=>{var a;const s=Ae(e.variationNumber,e.minQuantity);return(0,C.jsxs)(g.Fragment,{children:[(0,C.jsxs)(B,{children:[(0,C.jsx)(M,{className:"f3-700",selected:(null===ee||void 0===ee?void 0:ee.variationNr)===e.variationNumber,children:(0,C.jsx)(V,{highlighted:(null===ee||void 0===ee?void 0:ee.variationNr)===e.variationNumber,variation:e,hideCartBadge:G,selected:p===e.variationNumber,onSelect:c,onFocus:()=>te(null),error:s,action:L?(0,C.jsx)(F,{justify:"center",align:"center",onClick:t=>{t.stopPropagation(),t.preventDefault(),e.variationNumber&&L.action({id:L.id,variationNumber:e.variationNumber})},children:(0,C.jsx)(u.K0,{icon:L.icon,bgColor:"fillMedium"})}):void 0,layout:"dots"})}),null===(a=Y(ae,e.variationNumber||"",Z,e.skus))||void 0===a?void 0:a.map(((r,a)=>{var l,u,d,h;return K(r)&&r.sku.sku?(0,C.jsx)(N,{selected:(null===ee||void 0===ee||null===(l=ee.sku)||void 0===l?void 0:l.sku)===r.sku,selectedSibling:(null===ee||void 0===ee?void 0:ee.name)===r.name||(null===ee||void 0===ee?void 0:ee.variationNr)===e.variationNumber,children:(0,C.jsxs)(C.Fragment,{children:[q&&(0,C.jsx)(Q,{align:"center",justify:"center",className:"h-100 w-100",dirty:!!A.get(r.sku.sku),children:(0,C.jsx)(o.g,{size:"xl",icon:i.e68})}),!q&&(null===ee||void 0===ee||null===(u=ee.sku)||void 0===u?void 0:u.sku)!==r.sku.sku&&!A.get(r.sku.sku)&&(0,C.jsx)(k,{stockRows:null!==(d=r.sku.stock)&&void 0!==d?d:[],numFormat:W,settings:null===I||void 0===I?void 0:I.stockInfo,variation:e}),(0,C.jsx)(z,{className:q?"pointer":"",ref:r.ref,name:"selectedCell",autoComplete:"off",readOnly:q,type:q?"text":"number",step:"1",onWheel:e=>{e.currentTarget.blur()},value:A.get(r.sku.sku)||"",onChange:e=>{var t;null!==(t=r.sku.stock)&&void 0!==t&&t.every((e=>e.stockLevel===f.StockLevel.OutOfStock))&&ce||ye(e)},hide:!r.sku||(null===ee||void 0===ee||null===(h=ee.sku)||void 0===h?void 0:h.sku)!==r.sku.sku,dirty:!!A.get(r.sku.sku),min:0,selected:(null===ee||void 0===ee?void 0:ee.sku.sku)===r.sku.sku,onFocus:()=>{ve(r.sku,e.variationNumber||"",a,r.ref),re(!0)},onBlur:()=>{I||te(null),re(!1)},onClick:()=>q&&r.sku.sku&&(e=>{const t=e?0:1,r=null===ee||void 0===ee?void 0:ee.sku.sku,i=null===ee||void 0===ee?void 0:ee.variationNr;if(r&&i){if(i!==p){const e=null===n||void 0===n?void 0:n.find((e=>e.variationNumber===i));e&&(null===c||void 0===c||c(e))}y(r,t,i,1)}})(!!A.get(r.sku.sku)),disabled:!x,error:s})]})},`${r.sku.sku}_${a}`):(0,C.jsx)(N,{inactive:!0,selectedSibling:(null===ee||void 0===ee?void 0:ee.name)===r.name||(null===ee||void 0===ee?void 0:ee.variationNr)===e.variationNumber},`inactiveSku_${t}_${a}`)}))]}),I&&ee&&ee.variationNr===e.variationNumber?(0,C.jsx)(H,{replacementProductNr:r,variation:e,selectedCell:ee,stockSettings:I,hasMinQtyError:Ae,variationMinQts:S,colSpan:((null===Z||void 0===Z?void 0:Z.length)||0)+1,wideInfoScroll:he,onClose:()=>te(null),addToCartEnabled:x}):null]},`${e.colorCode||e.variationNumber}_${t}`)}))]})})})]})},k=e=>{let{numFormat:t,stockRows:n,settings:r,variation:i}=e;const{stockNumber:o,innerStockNumber:a,stockLevel:s,unknown:l}=r?(0,c.ky)(r,n,i):{stockNumber:0,innerStockNumber:0,stockLevel:f.StockLevel.InStock,unknown:!0};return(0,C.jsx)(U,{light:!0,small:!0,className:"text-capitalize",children:o?t.format(o):a?`${t.format(a)}*`:(0,C.jsx)(b.A,{stockLevel:s,unknown:l})})},E=y.Ay.div.withConfig({componentId:"sc-1g5g79m-0"})(["position:relative;display:inline-block;left:","px;max-width:",";transition:left "," 150ms;width:100%;"],(e=>{let{left:t}=e;return t}),(e=>{let{maxWidth:t}=e;return t?`calc(${t}px - 2rem)`:"auto"}),(e=>{let{theme:t}=e;return t.transitions.bez})),I=(0,y.Ay)(A.A).withConfig({componentId:"sc-1g5g79m-1"})([""]),_=y.Ay.div.withConfig({componentId:"sc-1g5g79m-2"})(["font-size:12px;display:flex;flex-direction:column;"]),P=y.Ay.div.withConfig({componentId:"sc-1g5g79m-3"})(["overflow:auto;"]),O=(0,y.Ay)(P).withConfig({componentId:"sc-1g5g79m-4"})(["position:relative;"," ",""],(e=>{let{height:t}=e;return t&&`max-height: ${t}px;`}),(e=>{let{minHeight:t}=e;return t&&`min-height: ${t}px;`})),T=(0,y.Ay)(u.so).withConfig({componentId:"sc-1g5g79m-5"})([""," background:",";"],(e=>{let{minHeight:t}=e;return t&&`min-height: ${t}px;`}),(e=>{let{theme:t}=e;return t.colors.fillMedium})),D=y.Ay.table.withConfig({componentId:"sc-1g5g79m-6"})(["width:",";min-width:250px;table-layout:fixed;border-spacing:2px;border-collapse:separate;margin-top:-2px;"],(e=>{let{autoWidth:t}=e;return t?"auto":"100%"})),j=y.Ay.tbody.withConfig({componentId:"sc-1g5g79m-7"})(["background:",";"],(e=>{let{theme:t}=e;return t.colors.fillMedium})),B=y.Ay.tr.withConfig({componentId:"sc-1g5g79m-8"})(["position:relative;&:last-of-type{border-bottom:none;}"]),N=y.Ay.td.withConfig({componentId:"sc-1g5g79m-9"})(["position:relative;width:80px;height:42px;&:last-of-type{border-right:none;}"," ",""],(e=>{let{selectedSibling:t,theme:n}=e;return t&&`\n      background: ${n.colors.fill};\n    `}),(e=>{let{selected:t,theme:n}=e;return t&&`background: ${n.colors.fillWhite};`})),M=(0,y.Ay)(N).withConfig({componentId:"sc-1g5g79m-10"})(["width:",";",""],(e=>{let{single:t}=e;return t?"50%":"138px"}),(e=>{let{dark:t,selected:n,theme:r}=e;return(t||n)&&`background: ${(0,m.e$)(.03,r.colors.fillMedium)};`})),R=(0,y.Ay)(N).withConfig({componentId:"sc-1g5g79m-11"})(["text-align:center;",""],(e=>{let{selected:t,theme:n}=e;return t&&`\n      background: ${(0,m.e$)(.03,n.colors.fillMedium)};\n    `})),L=(0,y.Ay)(N).withConfig({componentId:"sc-1g5g79m-12"})(["background:",";"],(e=>{let{theme:t}=e;return t.colors.fillWhite})),F=(0,y.Ay)(u.so).withConfig({componentId:"sc-1g5g79m-13"})(["width:35px;cursor:pointer;"]),z=y.Ay.input.withConfig({componentId:"sc-1g5g79m-14"})(["height:100%;width:100%;text-align:center;background:white;border:none;"," "," "," &:focus{outline:1px solid ",";}"],(e=>{let{hide:t,dirty:n}=e;return t&&!n&&"opacity: 0;"}),(e=>{let{selected:t,theme:n}=e;return t&&`outline: 1px solid  ${n.colors.accent};`}),(e=>{let{dirty:t,error:n,theme:r}=e;return n&&t&&`outline: 1px solid  ${r.colors.error};`}),(e=>{let{theme:t}=e;return t.colors.accent})),Q=(0,y.Ay)(u.so).withConfig({componentId:"sc-1g5g79m-15"})(["color:",";pointer-events:none;position:absolute;left:0;top:0;background-color:",";"],(e=>{let{dirty:t,theme:n}=e;return t?n.colors.success:n.colors.textDisabled}),(e=>{let{theme:t,dirty:n}=e;return n?t.colors.fillWhite:t.colors.fillMedium})),U=(0,y.Ay)(u.EY).withConfig({componentId:"sc-1g5g79m-16"})(["position:absolute;left:0;top:0;display:flex;height:100%;width:100%;align-items:center;justify-content:center;"]),V=(0,y.Ay)(x.A).withConfig({componentId:"sc-1g5g79m-17"})(["width:100%;border:1px solid transparent;padding:0.2rem 0.45rem;"," "," &:focus{background:white;border:1px solid ",";}"],(e=>{let{highlighted:t,theme:n}=e;return t&&`\n    background: ${(0,m.e$)(.03,n.colors.fillMedium)};\n    > div {\n      color: ${n.colors.text};\n  }`}),(e=>{let{error:t,theme:n}=e;return t&&`background: ${(0,m.a)(.14,n.colors.error)};`}),(e=>{let{theme:t}=e;return t.colors.accent})),G=y.Ay.div.withConfig({componentId:"sc-1g5g79m-18"})(["font-size:14px;color:",";"],(e=>{let{theme:t}=e;return t.colors.error})),q=(0,y.Ay)(o.g).withConfig({componentId:"sc-1g5g79m-19"})(["position:absolute;font-size:16px;top:0;right:0;cursor:pointer;"]),H=e=>{let{replacementProductNr:t,variation:n,selectedCell:i,stockSettings:o,hasMinQtyError:s,variationMinQts:l,colSpan:c,wideInfoScroll:u,onClose:p,addToCartEnabled:h}=e;const{isB2B:f}=(0,d.GV)(a.F),{t:m}=(0,v.B)(),g=f&&h,y=i.variationNr&&s(i.variationNr,n.minQuantity);return y||g?(0,C.jsx)(B,{children:(0,C.jsx)(L,{className:"text-left p-3",colSpan:c,children:(0,C.jsxs)(E,{left:u.scroll,maxWidth:u.maxWidth,children:[(0,C.jsx)(q,{icon:r.Jyw,onClick:p}),g&&(0,C.jsx)(I,{replacementPnr:t,variation:n,sku:i.sku,stockSettings:o}),y&&(0,C.jsx)(G,{className:"mt-1",children:`${m("cart.minOrderQty","Minimum order quantity")}: ${n.minQuantity} (-${i.variationNr&&l[i.variationNr]})`})]})})}):null};function W(e,t,n){var r;return e&&null!==(r=t.get(e))&&void 0!==r&&r.length?t.get(e)[n]:null}function Y(e,t,n,r){if(!n)return[];return n.map(((n,i)=>{const[o,a]=n,s=null===r||void 0===r?void 0:r.find((e=>e.sort===o));return s?{name:a,sku:s,variationNr:t,skuIndex:o,ref:W(t,e,i)}:{name:a}}))}function K(e){return e.hasOwnProperty("sku")}function J(e,t,n,r){let i=r;return t&&(i="nextColor"===n?e.findIndex((e=>!!e.current)):function(e,t){let n=e.length;for(;n--;)if(t(e[n],n,e))return n;return-1}(e,(e=>!!e.current))),e[i]}function X(e,t){return 44+44*e+(t?200:0)}},67529:(e,t,n)=>{"use strict";n.d(t,{A:()=>I});var r=n(84848),i=n(33453),o=n(23017),a=n(9950),s=n(70030),l=n(24937);var c=n(58847),u=n(44414);const d=e=>{let{fontSize:t=32,color:n,price:i,hidePrefix:a,showRetailPriceOnly:s,showRetailAndCustomerPrices:l,isAuthenticated:d}=e;const p=(0,o.GV)(c.IR),h=(0,o.GV)(c.Bm),f=(0,o.GV)(r.j8),m=i.inboxItems&&i.inboxItems>1;return(0,u.jsxs)(u.Fragment,{children:[1===f&&(0,u.jsxs)(u.Fragment,{children:[(s||l)&&(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(w,{hidePrefix:a,price:i,showRetail:p,showRetailPriceOnly:s}),d&&(0,u.jsx)(C,{hidePrefix:a,price:i,showRetail:p,showCustomerPrice:h,fontSize:t,showRetailPriceOnly:s})]}),m&&(0,u.jsx)(S,{price:i}),(0,u.jsx)(x,{hidePrefix:a,price:i,showRetail:p,showCustomerPrice:h,fontSize:t})]}),0===f&&(0,u.jsx)(u.Fragment,{children:(0,u.jsx)(k,{price:i,showCustomerPrice:h,showRetail:p,fontSize:t,color:n,hidePrefix:a})})]})},p=e=>{let{fontSize:t=12,color:n,price:r,showPriceType:a,hidePrefix:s,compact:l}=e;const d=(0,o.GV)(c.O1),p=(0,o.GV)(c._M)?"retail":null!==a&&void 0!==a?a:d;return(0,u.jsx)(i.EY,{className:"d-inline-block",fontSize:t,color:n||"priceText",children:function(){switch(p){case"retail":return s?(0,u.jsx)(v,{price:r}):(0,u.jsx)(f,{price:r,compact:l});case"regular":return(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(g,{price:r,type:"secondary",compact:l}),(0,u.jsx)(A,{price:r})]});default:return s?(0,u.jsx)(y,{price:r}):(0,u.jsx)(h,{price:r})}}()})},h=e=>{let{price:t}=e;const n=(0,o.GV)((e=>(0,c.mX)(e,t))),a=(0,o.GV)((e=>(0,c.Hx)(e,t))),s=(0,o.GV)(r.j8);return a?(0,u.jsx)(i.y$,{color:"buy"}):n?(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(g,{price:t,type:"customer"}),(0,u.jsx)(y,{price:t,pricingViewMode:s})]}):(0,u.jsx)(E,{})},f=e=>{var t;let{price:n,compact:r}=e;return"number"!==typeof(null===(t=n.retail)||void 0===t?void 0:t.num)?null:0===n.retail.num?(0,u.jsx)("span",{children:"-"}):(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(g,{price:n,compact:r,type:"retail"}),(0,u.jsx)(v,{price:n})]})},m=(e,t,n,r)=>e?`${null!==t&&void 0!==t?t:""} ${n} ${r("stock.pcs","pcs")}`:t,g=e=>{let{price:t,type:n}=e;const{t:r}=(0,s.B)(),i=(0,o.GV)((e=>{let{price:t}=e;return t.priceFormat})),a=((e,t,n,r,i)=>{var o,a;switch(n){case"retail":return{prefix:null!==(o=null===e||void 0===e?void 0:e.prefixRetail)&&void 0!==o?o:i("price.rrp_short","RRP"),box:t?" / "+i("stock.pcs","pcs"):""};case"customer":return{prefix:"",box:m(t,null===e||void 0===e?void 0:e.prefix,r.inboxItems,i)};case"customerPcs":return{prefix:i("price.priceSt")};case"secondary":return{prefix:"",box:null!==e&&void 0!==e&&e.prefixSales?m(t,null===e||void 0===e?void 0:e.prefixSales,r.inboxItems,i):""};case"reseller":return{prefix:null!==(a=null===e||void 0===e?void 0:e.prefix)&&void 0!==a?a:i("price.rrp_short","RRP"),box:t?" / "+i("stock.pcs","pcs"):""};default:return{prefix:"",box:""}}})(i,(0,o.GV)((e=>(0,c.e$)(e,t))),n,t,r);return(0,u.jsxs)(D,{className:"mr-1",children:[null===a||void 0===a?void 0:a.prefix,null===a||void 0===a?void 0:a.box]})},v=e=>{var t,n,r,i;let{price:a,color:s}=e;const l=(0,o.GV)(c.nt);return null!==(t=a.retail)&&void 0!==t&&t.str?(0,u.jsxs)(j,{color:s,boldAmount:!!l,children:[null===(n=a.retail)||void 0===n?void 0:n.str,(0,u.jsx)("meta",{itemProp:"price",content:`${null===(r=a.retail)||void 0===r||null===(i=r.num)||void 0===i?void 0:i.toFixed(2)}`}),(0,u.jsx)("meta",{itemProp:"priceCurrency",content:`${a.currency}`})]}):null},y=e=>{var t,n,r,a,s,l,d;let{price:p,pricingViewMode:h}=e;const f=(0,o.GV)((e=>(0,c.mX)(e,p))),m=(0,o.GV)((e=>(0,c.Hx)(e,p))),g=(0,o.GV)((e=>(0,c.xx)(e,p))),v=(0,o.GV)((e=>(0,c.mj)(e,p)));if(m)return(0,u.jsx)(i.y$,{color:"buy"});if(!f)return(0,u.jsx)(E,{});const y=null!==(t=null===f||void 0===f||null===(n=f.discount)||void 0===n?void 0:n.regularPrice)&&void 0!==t?t:null===(r=g.regular)||void 0===r?void 0:r.str;return(0,u.jsx)(u.Fragment,{children:0===h&&v&&y?(0,u.jsxs)(u.Fragment,{children:[(0,u.jsxs)(j,{color:v?"sale":void 0,children:[null!==(a=null===f||void 0===f?void 0:f.str)&&void 0!==a?a:(0,u.jsx)(E,{}),(0,u.jsx)("meta",{itemProp:"price",content:`${null===f||void 0===f||null===(s=f.num)||void 0===s?void 0:s.toFixed(2)}`}),(0,u.jsx)("meta",{itemProp:"priceCurrency",content:`${p.currency}`})]}),(0,u.jsx)(B,{className:"f1-500 ml-1",color:"textLight",children:y})]}):(0,u.jsxs)(j,{color:v?"sale":void 0,children:[null!==(l=null===f||void 0===f?void 0:f.str)&&void 0!==l?l:(0,u.jsx)(E,{}),(0,u.jsx)("meta",{itemProp:"price",content:`${null===f||void 0===f||null===(d=f.num)||void 0===d?void 0:d.toFixed(2)}`}),(0,u.jsx)("meta",{itemProp:"priceCurrency",content:`${p.currency}`})]})})},A=e=>{var t,n,r,a,s,l,d;let{price:p}=e;const h=(0,o.GV)((e=>(0,c.mX)(e,p))),f=(0,o.GV)((e=>(0,c.Hx)(e,p))),m=(0,o.GV)((e=>(0,c.xx)(e,p))),g=(0,o.GV)((e=>(0,c.mj)(e,p)));if(f)return(0,u.jsx)(i.y$,{color:"buy"});if(!m)return(0,u.jsx)(E,{});const v=null!==(t=null===h||void 0===h||null===(n=h.discount)||void 0===n?void 0:n.regularPrice)&&void 0!==t?t:null===(r=m.regular)||void 0===r?void 0:r.str;return(0,u.jsx)(u.Fragment,{children:g&&v?(0,u.jsx)(u.Fragment,{children:(0,u.jsx)(B,{className:"f1-500",color:"textLight",children:v})}):(0,u.jsxs)(j,{color:"textLight",children:[null!==(a=null===m||void 0===m||null===(s=m.regular)||void 0===s?void 0:s.str)&&void 0!==a?a:(0,u.jsx)(E,{}),(0,u.jsx)("meta",{itemProp:"price",content:`${null===m||void 0===m||null===(l=m.regular)||void 0===l||null===(d=l.num)||void 0===d?void 0:d.toFixed(2)}`}),(0,u.jsx)("meta",{itemProp:"priceCurrency",content:`${p.currency}`})]})})},b=e=>{var t,n;let{price:r}=e;const a=(0,o.GV)((e=>(0,c.mX)(e,r))),s=(0,o.GV)((e=>(0,c.Hx)(e,r))),l=(0,o.GV)((e=>(0,c.mj)(e,r)));return s?(0,u.jsx)(i.y$,{color:"buy"}):a?(0,u.jsx)(u.Fragment,{children:(0,u.jsxs)(j,{color:l?"sale":void 0,children:[null!==(t=null===a||void 0===a?void 0:a.str)&&void 0!==t?t:(0,u.jsx)(E,{}),(0,u.jsx)("meta",{itemProp:"price",content:`${null===a||void 0===a||null===(n=a.num)||void 0===n?void 0:n.toFixed(2)}`}),(0,u.jsx)("meta",{itemProp:"priceCurrency",content:`${r.currency}`})]})}):(0,u.jsx)(E,{})},w=e=>{var t;let{hidePrefix:n,price:r,showRetail:a,showRetailPriceOnly:s}=e;const l=(0,o.GV)(c.nt);return(0,u.jsx)(u.Fragment,{children:(s||a&&"number"===typeof(null===(t=r.retail)||void 0===t?void 0:t.num))&&(0,u.jsx)("div",{className:"mb-2 f1-500",children:(0,u.jsxs)(O,{children:[!n&&(0,u.jsx)(i.EY,{small:!0,light:!0,children:(0,u.jsx)(g,{price:r,type:"retail"})}),(0,u.jsx)(i.EY,{small:!0,extraBold:!(!l&&!s),children:(0,u.jsx)(v,{price:r,color:"textLight"})})]})})})},x=e=>{let{price:t,hidePrefix:n,showCustomerPrice:r,fontSize:o,color:a}=e;return(0,u.jsx)(u.Fragment,{children:r&&(0,u.jsx)(i.so,{className:"mt-2",align:"end",children:(0,u.jsxs)(T,{children:[!n&&(0,u.jsx)(i.EY,{className:"f1-500",small:!0,light:!0,children:(0,u.jsx)(g,{price:t,type:"reseller"})}),(0,u.jsx)(i.EY,{lineheight:o,fontSize:o,color:a||"priceText",children:(0,u.jsx)(b,{price:t})})]})})})},C=e=>{let{showCustomerPrice:t,hidePrefix:n,price:r,color:o,showRetailPriceOnly:a}=e;return(0,u.jsx)(u.Fragment,{children:(t||a)&&(0,u.jsx)(i.so,{className:"mt-1",align:"end",children:(0,u.jsxs)(O,{className:"f1-500",children:[!n&&(0,u.jsx)(i.EY,{className:"f1-500",small:!0,light:!0,children:(0,u.jsx)(g,{price:r,type:"secondary"})}),(0,u.jsx)(i.EY,{small:!0,color:o||"priceText",children:(0,u.jsx)(A,{price:r})})]})})})},S=e=>{var t;let{hidePrefix:n,price:r}=e;const a=(0,o.GV)((e=>(0,c.Sv)(e,r)));return null!==a&&void 0!==a&&a.num?(0,u.jsx)("div",{className:"mb-3 f1-500",children:(0,u.jsxs)(O,{children:[!n&&(0,u.jsx)(i.EY,{small:!0,light:!0,children:(0,u.jsx)(g,{price:r,type:"customerPcs"})}),(0,u.jsx)(i.EY,{small:!0,children:(0,u.jsxs)(j,{color:"textLight",children:[null===a||void 0===a?void 0:a.str,(0,u.jsx)("meta",{itemProp:"price",content:`${null===a||void 0===a||null===(t=a.num)||void 0===t?void 0:t.toFixed(2)}`}),(0,u.jsx)("meta",{itemProp:"priceCurrency",content:`${r.currency}`})]})})]})}):null},k=e=>{var t,n;let{showRetail:r,price:a,hidePrefix:s,showCustomerPrice:l,fontSize:d,color:p}=e;const h=(0,o.GV)((e=>(0,c.mj)(e,a))),f=(0,o.GV)((e=>(0,c.mX)(e,a))),m=a.inboxItems&&a.inboxItems>1;return(0,u.jsxs)(u.Fragment,{children:[r&&"number"===typeof(null===(t=a.retail)||void 0===t?void 0:t.num)&&(0,u.jsx)("div",{className:(m?"mb-1":"mb-3")+" f1-500",children:(0,u.jsxs)(_,{children:[!s&&(0,u.jsx)(i.EY,{small:!0,light:!0,children:(0,u.jsx)(g,{price:a,type:"retail"})}),(0,u.jsx)(i.EY,{small:!0,light:!0,children:(0,u.jsx)(v,{price:a})})]})}),l&&(0,u.jsxs)(u.Fragment,{children:[m&&(0,u.jsx)(S,{price:a}),(0,u.jsxs)(i.so,{className:"mt-1",align:"end",children:[(0,u.jsxs)(O,{className:"mr-3",style:{flexDirection:"column"},children:[(0,u.jsx)(i.EY,{className:"f1-500",small:!0,light:!0,children:(0,u.jsx)(g,{price:a,type:"customer"})}),(0,u.jsx)(i.EY,{small:!0,fontSize:d,color:p||"priceText",children:(0,u.jsx)(y,{price:a})})]}),(a.regular||(null===f||void 0===f||null===(n=f.discount)||void 0===n?void 0:n.regularPrice))&&h&&(0,u.jsxs)(O,{style:{flexDirection:"column"},children:[(0,u.jsx)(i.EY,{className:"f1-500",small:!0,light:!0,children:(0,u.jsx)(g,{price:a,type:"secondary"})}),(0,u.jsx)(i.EY,{small:!0,fontSize:d,color:p||"priceText",children:(0,u.jsx)(A,{price:a})})]})]})]})]})},E=()=>{const{t:e}=(0,s.B)();return(0,u.jsx)(P,{children:e("price.noPrice","Price unavailable")})},I=e=>{let{price:t,fontSize:n,compact:r,color:i,showPriceType:s,hidePrefix:l,showRetailPriceOnly:h,showRetailAndCustomerPrices:f,isAuthenticated:m}=e;const g=(0,o.GV)(c.O1),v=(0,o.GV)((e=>(0,c.$6)(e,t))),{accessToken:y}=(0,o.GV)((e=>{let{authorization:t}=e;return t})),A=(0,a.useRef)(null),b=(0,o.jL)();return(0,a.useEffect)((()=>{let e;return A.current&&v&&(e=new IntersectionObserver((n=>n.forEach((n=>{var r;n.isIntersecting&&(b((0,c.WN)(t)),null===(r=e)||void 0===r||r.disconnect())})))),e.observe(A.current)),()=>{var t;null===(t=e)||void 0===t||t.disconnect()}}),[A,b,t,v,y]),"none"===g?null:(0,u.jsx)("div",{ref:A,itemProp:"offers",itemType:"https://schema.org/Offer",itemScope:!0,children:r?(0,u.jsx)(p,{hidePrefix:l,color:i,fontSize:n,price:t,showPriceType:s,compact:r}):(0,u.jsx)(d,{color:i,fontSize:n,price:t,hidePrefix:l,showRetailPriceOnly:h,showRetailAndCustomerPrices:f,isAuthenticated:m})})},_=l.Ay.div.withConfig({componentId:"sc-1p0g13a-0"})(["display:flex;"]),P=l.Ay.span.withConfig({componentId:"sc-1p0g13a-1"})(["color:",";"],(e=>{let{theme:t}=e;return t.colors.textLight})),O=(0,l.Ay)(_).withConfig({componentId:"sc-1p0g13a-2"})(["line-height:1;"]),T=(0,l.Ay)(_).withConfig({componentId:"sc-1p0g13a-3"})(["flex-direction:column;"]),D=l.Ay.span.withConfig({componentId:"sc-1p0g13a-4"})(["display:inline-block;"]),j=(0,l.Ay)(D).withConfig({componentId:"sc-1p0g13a-5"})([""," ",""],(e=>{let{color:t,theme:n}=e;return t&&`color: ${n.colors[t]};`}),(e=>{let{boldAmount:t}=e;return t&&"font-weight: 700;"})),B=(0,l.Ay)(j).withConfig({componentId:"sc-1p0g13a-6"})(["text-decoration:line-through;"])},22789:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var r=n(22360),i=n(44805),o=n(33453),a=n(97589),s=n(9950),l=n(70030),c=n(24937),u=n(44414);const d={searchPhrase:"",page:1,pageSize:4,orderBy:"relevance"},p=e=>{var t;let{onProductItemAdd:n,disableSubmitOnEnter:c,inputValue:p,inputRef:m,className:g,clearOnSubmit:v,productOnly:y,variationOnly:A,autoEnterOnMatch:b,suggestionsMaxHeight:w,autoFocus:x}=e;const[C,S]=(0,s.useState)([]),[k,E]=(0,s.useState)(null),[I,_]=(0,s.useState)({}),[P,O]=(0,s.useState)([]),[T,D]=(0,s.useState)(null!==p&&void 0!==p?p:""),[j,B]=(0,s.useState)([]),[N,M]=(0,s.useState)([]),[R,L]=(0,s.useState)(-1),{t:F}=(0,l.B)();(0,s.useEffect)((()=>{D(null!==p&&void 0!==p?p:""),p||B(null)}),[p]);const z=e=>{const[,t,n,r]=e.match(/(\w+)?[-]?(\d+)?[-]?(\d+)?/),i=[t,n,r].filter((e=>e));return M(i),i.join("-")},Q=async(e,t)=>{var n,r;const o=await i.Ay.getSkus(e.productNumber,null!==(n=t.variationNumber)&&void 0!==n?n:e.productNumber);E([[e.productName,t.variationColor].join(" "),t.variationNumber].join(" - "));const a=null!==(r=null===o||void 0===o?void 0:o.data)&&void 0!==r?r:[];return null===a||void 0===a?void 0:a.map((n=>{var r,i,o,a;return{sku:n.sku,productName:null!==(r=e.productName)&&void 0!==r?r:"",skuVariationName:"."!==n.name?n.name:void 0,productNumber:null!==(i=e.productNumber)&&void 0!==i?i:"",variationNumber:t.variationNumber,variationColor:t.variationColor,displaySubtitle:[n.name,n.sku].join(" - "),displaySku:null!==(o=n.sku)&&void 0!==o?o:"",inboxItems:null!==(a=n.inboxItems)&&void 0!==a?a:1}}))},U=async(e,t,n,r)=>{var o,a,s;if(D(e),e=e.trim(),B(null),L(0),""===e)return O([]);const l=null!==(o=null===(a=e.match(/-/g))||void 0===a?void 0:a.length)&&void 0!==o?o:0,c=e.split("-"),u=(null!==n&&void 0!==n?n:C).find((e=>e.productNumber===c[0]));if(y&&u)return await G({...u});const p=null===u||void 0===u?void 0:u.variations.find((e=>{var t;return null===(t=e.variationNumber)||void 0===t?void 0:t.endsWith("-"+c[1])}));if(A&&p)return await G({...u,variationNumber:p.variationNumber},!0,!!r);if(!e.endsWith("-")&&p&&(null===(s=P[0])||void 0===s||!s.sku)){const t=await Q(u,p),n=t.findIndex((t=>t.sku===e));return L(0),O(n>=0?[t[n]]:t.length>0&&t||P)}if([1,2].includes(l)&&u&&(e.endsWith("-")||t))return await G({...u,variationNumber:c[1]&&(null===u||void 0===u?void 0:u.productNumber)+"-"+c[1]},!0,!!r);const h=l>=1?P.findIndex((t=>new RegExp(`^${e}`,"i").test(t.displaySku))):-1;if(h>=0){var f;const t=P[h].displaySku.slice(e.length);if(B([null!==(f=P[h].displaySku)&&void 0!==f?f:"",e,t]),L(h),u)return}try{const t=(0,i.ws)(),r=await i.Ay.searchProductsSimple({...d,searchPhrase:e},t.token),{items:o=[]}=r.data;if(!o)return S([]);if(S(o),E(null),null==n&&l>=1)return await U(e,!1,o);const a=null===o||void 0===o?void 0:o.map(((t,n)=>{var r,i,o,a,s;if(0===n){var l;const n=null===(l=t.productNumber)||void 0===l?void 0:l.split(new RegExp(`^${e}`,"i"))[1];var c;if(n)B([null!==(c=t.productNumber)&&void 0!==c?c:"",e,n])}return{productName:null!==(r=t.productName)&&void 0!==r?r:"",productNumber:null!==(i=t.productNumber)&&void 0!==i?i:"0",variationNumber:!t.hasVariations&&t.productNumber||void 0,displayTitle:null!==(o=t.productNumber)&&void 0!==o?o:"",displaySubtitle:null!==(a=t.productName)&&void 0!==a?a:"",displaySku:null!==(s=t.productNumber)&&void 0!==s?s:""}}));if(b&&u)return;O(a||[]),L(0)}catch(m){}},V=(0,s.useCallback)((e=>{var t,r;D(v?"":null!==(t=null!==(r=e.sku)&&void 0!==r?r:e.variationNumber)&&void 0!==t?t:e.productNumber),_(e),B(null),O([]),null!=e.sku&&z(e.sku),null!=n&&n(e)}),[v,n]),G=(0,s.useCallback)((async(e,t,n)=>{const r=C.find((t=>t.productNumber===(null===e||void 0===e?void 0:e.productNumber)));if(null===r||void 0===r||!r.productNumber)return;const{hasVariations:i,variations:o}=r;if(e.sku||y&&e.productNumber||A&&e.variationNumber)return V(e);if(i&&!e.variationNumber){E([r.productName,r.productNumber].join(" - "));const e=null===o||void 0===o?void 0:o.map((e=>{var t,n,i,o,a;return{productName:null!==(t=r.productName)&&void 0!==t?t:"",productNumber:null!==(n=r.productNumber)&&void 0!==n?n:"",variationNumber:null!==(i=e.variationNumber)&&void 0!==i?i:"",variationColor:null!==(o=e.color)&&void 0!==o?o:"",displaySubtitle:[e.color,e.variationNumber].join(" - "),displaySku:null!==(a=e.variationNumber)&&void 0!==a?a:""}}));return t||(z(r.productNumber),D(r.productNumber+"-")),O(e||[])}const a=await Q(r,e);if(1===a.length&&!n)return V(a[0]);z(e.variationNumber),D(e.variationNumber+"-"),O(a||[])}),[V,y,A,C]);(0,s.useEffect)((()=>{if(b){const e=P.filter((e=>new RegExp(`^${T}`,"i").test(e.displaySku))),t=e.find((e=>new RegExp(`^${T}$`,"i").test(e.displaySku)));1===e.length&&t&&(G(t).then((e=>L(0))),B(null))}}),[P,T,b,G]);const q=F("product.searchPlaceholderProduct","Article number or name"),H=F("product.searchPlaceholder","XXXX-XX-XX, or product name");return(0,u.jsxs)(h,{className:g,children:[(0,u.jsx)("input",{id:"selected-product-sku",name:"selectedProductSkuInput",type:"hidden",value:null!==(t=null===I||void 0===I?void 0:I.sku)&&void 0!==t?t:""}),(0,u.jsx)(o.pd,{large:!0,size:13,ref:m,icon:r.MjD,value:T,placeholder:y?q:H,onChange:async e=>await U(e.target.value),autoFocus:x}),null!=j&&(0,u.jsxs)(f,{children:[(0,u.jsx)("span",{children:j[1]}),(0,u.jsx)("span",{children:j[2]})]}),(0,u.jsx)(a.A,{resultTitle:k,items:P,childrenTitleKey:"displayTitle",childrenSubtitleKey:"displaySubtitle",focusedItemRow:R,onFocusedItemRowChange:e=>L(e),onEnter:(e,t)=>{null!=c&&e.preventDefault(),G(t).then((e=>L(0))),B(null)},maxHeight:w,onBackspace:e=>{new RegExp(`[^]?${N[N.length-1]}[-]?$`).test(T)&&(e.preventDefault(),M((e=>(e=e.slice(0,-1),U(e.length>=1?e.join("-")+"-":"",!0,void 0,!0),e.filter((e=>e))))))},onItemPress:async e=>{var t;null===(t=m.current)||void 0===t||t.focus(),await G(e)}})]})},h=c.Ay.div.withConfig({componentId:"sc-1ybi6qa-0"})(["position:relative;display:flex;flex-direction:column;"]),f=c.Ay.span.withConfig({componentId:"sc-1ybi6qa-1"})(["position:absolute;top:11px;left:45px;font-size:13px;pointer-events:none;color:rgba(0,0,0,0.3);span:nth-child(1){visibility:hidden;opacity:0;}"])},47787:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(22789),i=n(33453),o=n(9950),a=n(70030),s=n(24937),l=n(44414);const c=e=>{var t,n,s;let{onProductAdded:c,className:f,buttonPlacement:m="full",suggestionsMaxHeight:g,autoFocus:v,variationOnly:y,hideQuantity:A}=e;const{t:b}=(0,a.B)(),[w,x]=(0,o.useState)(),C=(0,o.useRef)(null),S=(0,o.useRef)(null);return(0,l.jsxs)(u,{onSubmit:e=>{var t,n;e.preventDefault(),null!==w&&void 0!==w&&null!==(t=w.product)&&void 0!==t&&t.productNumber&&(c(w),x(null),null===(n=C.current)||void 0===n||n.focus())},className:f,children:[(0,l.jsxs)(d,{align:"center",gap:"4px",children:[(0,l.jsxs)(p,{column:!0,children:[(0,l.jsx)("label",{className:"f3-700",children:b("product.search","Search product")}),(0,l.jsx)(r.A,{inputRef:C,inputValue:y?null===w||void 0===w||null===(t=w.product)||void 0===t?void 0:t.variationNumber:null===w||void 0===w||null===(n=w.product)||void 0===n?void 0:n.sku,disableSubmitOnEnter:!0,onProductItemAdd:e=>{return t=e,x((e=>{var n;return{product:t,quantity:null!==(n=null===e||void 0===e?void 0:e.quantity)&&void 0!==n?n:1}})),void(!A&&S.current&&(S.current.focus(),S.current.select()));var t},suggestionsMaxHeight:g,autoFocus:v,variationOnly:y})]}),!A&&(0,l.jsxs)(h,{children:[(0,l.jsx)("label",{className:"f3-700",children:b("cart.quantity","Quantity")}),(0,l.jsx)(i.pd,{ref:S,large:!0,size:13,min:1,defaultValue:1,name:"amountInput",type:"number",placeholder:"1",bgColor:"fillWhite",onFocus:e=>e.currentTarget.select(),onChange:e=>x((t=>{var n;return{...t,quantity:null!==(n=e.target.valueAsNumber)&&void 0!==n?n:1}}))})]})]}),(0,l.jsx)(i.$n,{className:("full"===m?"w-100":"")+" mt-1",bgColor:"accent",color:"accentText",type:"submit",disabled:!(null!==w&&void 0!==w&&null!==(s=w.product)&&void 0!==s&&s.productNumber)||(null===w||void 0===w?void 0:w.quantity)<=0,children:b("product.add","Add product")})]})},u=s.Ay.form.withConfig({componentId:"sc-1d1r8ch-0"})(["display:flex;align-items:flex-end;justify-content:flex-end;flex-direction:column;max-width:630px;"]),d=(0,s.Ay)(i.so).withConfig({componentId:"sc-1d1r8ch-1"})(["align-items:center;width:100%;label{font-size:14px;}"]),p=(0,s.Ay)(i.so).withConfig({componentId:"sc-1d1r8ch-2"})(["width:100%;"]),h=s.Ay.div.withConfig({componentId:"sc-1d1r8ch-3"})(["max-width:70px;display:flex;flex-direction:column;flex-grow:0;justify-content:start;input{border:1px solid ",";max-width:70px;overflow:hidden;}"],(e=>{let{theme:t}=e;return t.colors.borderGray}))},94362:(e,t,n)=>{"use strict";n.d(t,{A:()=>I});var r=n(72608),i=n(74959),o=n(84848),a=n(33453),s=n(23017),l=n(69435),c=n(70030),u=n(24937),d=n(24380),p=n(67529),h=n(27825),f=n(9950),m=n(26681),g=n(44414);const v=e=>{let{productNumber:t}=e;const{t:n}=(0,c.B)(),{relatedProducts:o}=(0,s.GV)((e=>{let{product:t}=e;return t})),[u,v]=(0,f.useState)(),b=(0,s.jL)();return(0,f.useEffect)((()=>{b((0,h.Sz)([t]))}),[t,b]),(0,f.useEffect)((()=>{if(!u){const e=o[t];e&&v(e)}}),[t,o,u]),u?(0,g.jsxs)(a.so,{column:!0,children:[(0,g.jsxs)(a.so,{align:"center",className:"mb-2 mt-4",children:[(0,g.jsx)(i.g,{icon:r.CQO}),(0,g.jsx)(a.EY,{small:!0,className:"f3-700 ml-2 ",children:n("product.replacement","Alternative")})]}),(0,g.jsx)(m.A,{product:u,children:(0,g.jsxs)(a.so,{className:"mr-5 f3-400",children:[(0,g.jsx)(y,{src:(0,d.Ay)(u.image,d.yj.ThumbNail,l.ImageExtension.Jpg)}),(0,g.jsxs)(A,{className:"text-capitalize ml-2 mb-2",children:[(0,g.jsx)("div",{children:u.productName}),(0,g.jsx)("div",{children:u.productNumber}),u.price&&(0,g.jsx)("div",{className:"f3-700",children:(0,g.jsx)(p.A,{fontSize:13,compact:!0,price:u.price})})]})]})})]}):null},y=u.Ay.img.withConfig({componentId:"sc-okmb9n-0"})(["width:45px;"]),A=u.Ay.div.withConfig({componentId:"sc-okmb9n-1"})(["font-size:12px;"]);var b=n(22360);const w=u.Ay.table.withConfig({componentId:"sc-nyizfb-0"})([""]),x=u.Ay.tbody.withConfig({componentId:"sc-nyizfb-1"})([""]),C=u.Ay.tr.withConfig({componentId:"sc-nyizfb-2"})([""]),S=u.Ay.td.withConfig({componentId:"sc-nyizfb-3"})(["font-size:14px;padding:0;"," &:last-of-type:not(:first-of-type){text-align:right;font-size:13px;font-weight:700;}"],(e=>{let{small:t,theme:n}=e;return t&&`\n    font-size: 12px;\n    color: ${n.colors.textLight};\n  `})),k=e=>{var t,n,o,l;let{stockDetails:u,refillDate:d,className:p,stockSettings:h}=e;const{t:m}=(0,c.B)(),v=(0,s.GV)((e=>{var t;let{product:n}=e;return null===(t=n.productSettings)||void 0===t?void 0:t.hideRefillDate})),{details:y,outOfStock:A}=u;return y.length||A?(0,g.jsxs)("div",{className:`${p||""} f3-400`,children:[(0,g.jsxs)(a.so,{className:"f3-700  mb-2",align:"center",children:[(0,g.jsx)(i.g,{icon:r.T3b}),(0,g.jsx)(a.EY,{small:!0,className:"ml-2",children:m("stock.stock","Stock")})]}),(0,g.jsx)(w,{className:"mr-6 w-100",children:(0,g.jsxs)(x,{children:[y.map((e=>(0,g.jsxs)(f.Fragment,{children:[!!e.value&&(0,g.jsxs)(C,{children:[(0,g.jsx)(S,{children:e.label}),(0,g.jsxs)(S,{children:[e.value," ",m("stock.pcs","pcs")]})]}),!!e.description&&(0,g.jsx)(C,{children:(0,g.jsx)(S,{colSpan:2,small:!0,children:e.description})})]},e.label))),A&&(0,g.jsx)(g.Fragment,{children:(0,g.jsx)(C,{className:"f3-700",children:(0,g.jsxs)(S,{className:"pr-0",colSpan:12,children:[(0,g.jsx)(E,{icon:b.tUE}),(0,g.jsx)(a.EY,{color:"error",small:!0,className:"ml-1 d-inline-block",children:null!==(t=null===(n=h.outOfStockMessage)||void 0===n?void 0:n.label)&&void 0!==t?t:m("stockLevel.out","Out of stock")}),(0,g.jsx)(a.EY,{color:"textLight",fontSize:10,className:"f1-400",children:null!==(o=null===(l=h.outOfStockMessage)||void 0===l?void 0:l.description)&&void 0!==o?o:m("contact.customerContactUs","Contact customer service for more information")})]})})}),d&&d.length>0&&!v&&(0,g.jsxs)(C,{children:[(0,g.jsx)(S,{className:"",children:m("stock.estRefill","Est. refill")}),(0,g.jsx)(S,{className:"",children:d})]})]})})]}):null},E=(0,u.Ay)(i.g).withConfig({componentId:"sc-zwas5p-0"})(["color:",";"],(e=>{let{theme:t}=e;return t.colors.error})),I=e=>{var t,n;let{sku:u,variation:f,replacementPnr:m,largeArticle:y=!0,className:A,single:b,stockSettings:w}=e;const{t:x}=(0,c.B)(),C=!u.name||"."===u.name||"0"===u.name,S=`${f.color?f.color:""}${C?"":" / "+u.name}`,E=(u.inBox,u.box,(0,s.GV)(o.Mz)),I=w&&function(e,t,n,r,i,o){if(!n)return null;let a=0,s=0;const c=[],u=null===i||void 0===i?void 0:i.some((e=>e===l.TagType.Outlet)),d=r.find((e=>"Global"===e.type)),p=r.filter((e=>"Global"!==e.type));if((d?[...p,d]:p).forEach((r=>{var i,o;if(r.hideForOutlet&&u)return;const l=n.find((e=>e.type===(0,h.V3)(r.type))),d="Global"===r.type?(null!==(i=null===l||void 0===l?void 0:l.value)&&void 0!==i?i:0)+s:null!==(o=null===l||void 0===l?void 0:l.value)&&void 0!==o?o:0;var p;if(r.visible)a+=d,c.push({rawValue:d,value:t.format(d),label:null!==(p=r.label)&&void 0!==p?p:D(e,r.type),description:r.description});else if("Global"!==r.type){var f;s+=null!==(f=null===l||void 0===l?void 0:l.value)&&void 0!==f?f:0}})),o)return{details:c,outOfStock:!(!c.length||0!==a)};{const n=c.filter((e=>+e.rawValue>0));return n.length>1&&a>0&&n.push({rawValue:a,value:t.format(a),label:e("general.total")}),{details:n,outOfStock:!(!c.length||0!==a)}}}(x,E,u.stock,w.stockInfo,f.tags,null===(t=w.stockInfo[0])||void 0===t?void 0:t.showZeroStock);return(0,g.jsxs)(P,{large:y,className:`${A||""}`,children:[y?(0,g.jsxs)(a.so,{column:!0,className:"",children:[(0,g.jsxs)(a.so,{className:"f3-700 mb-2",align:"center",children:[(0,g.jsx)(i.g,{icon:r._2z}),(0,g.jsx)(a.EY,{small:!0,className:"ml-3 text-capitalize",children:x("product.article_one","Article")})]}),(0,g.jsxs)(a.so,{align:"start",className:"mr-4 f3-400",children:[(0,g.jsx)(O,{src:(0,d.Ay)(f.image,d.yj.ThumbNail,l.ImageExtension.Jpg)}),(0,g.jsxs)(T,{className:"ml-2 mb-2",children:[(0,g.jsx)("div",{className:"text-capitalize",children:S}),(0,g.jsx)("div",{children:u.sku}),u.price&&(0,g.jsx)("div",{className:"f3-700",children:(0,g.jsx)(p.A,{fontSize:14,compact:!0,price:u.price,hidePrefix:!0})})]})]}),(null===I||void 0===I?void 0:I.outOfStock)&&m&&(0,g.jsx)(v,{productNumber:m})]}):!b&&(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)("div",{children:(0,g.jsxs)(a.so,{className:"f3-700 mb-2",align:"center",justify:"between",children:[(0,g.jsxs)(a.so,{align:"center",children:[(0,g.jsx)(i.g,{icon:r._2z}),(0,g.jsx)(a.EY,{small:!0,className:"ml-3 text-capitalize",children:x("product.article_one","Article")})]}),(0,g.jsx)(a.EY,{small:!0,className:"text-capitalize",children:S})]})}),u.price&&(0,g.jsx)("div",{children:(0,g.jsxs)(a.so,{className:"f3-700 mb-2",align:"center",justify:"between",children:[(0,g.jsxs)(a.so,{align:"center",children:[(0,g.jsx)(i.g,{icon:r.pqb}),(0,g.jsx)(a.EY,{small:!0,className:"ml-3 text-capitalize",children:x("price.price","Price")})]}),(0,g.jsx)(p.A,{compact:!0,hidePrefix:!0,price:u.price})]})})]}),I&&(0,g.jsx)(k,{stockDetails:I,refillDate:null===(n=u.availableDate)||void 0===n?void 0:n.str,className:y?"mr-4":"w-100",stockSettings:w}),(0,g.jsxs)(_,{column:!0,children:[u.ean&&(0,g.jsxs)(a.so,{column:!0,children:[(0,g.jsxs)(a.so,{className:"f3-700 mb-1",align:"center",children:[(0,g.jsx)(i.g,{icon:r.m8z}),(0,g.jsx)(a.EY,{small:!0,className:"ml-2",children:"EAN"})]}),(0,g.jsx)(a.EY,{className:"mb-1",fontSize:14,children:u.ean})]}),u.box&&(0,g.jsxs)(a.so,{column:!0,children:[(0,g.jsxs)(a.so,{className:"f3-700 mb-1",align:"center",children:[(0,g.jsx)(i.g,{icon:r.LJS}),(0,g.jsx)(a.EY,{small:!0,className:"ml-2",children:x("product._packaging","Packaging")})]}),(0,g.jsx)(a.EY,{fontSize:14,children:`${u.box} ${x("stock.pcs","pcs")}${u.inBox&&u.inBox>1&&u.inBox<u.box?` (${u.box/u.inBox} ${x("stock.box","box")})`:""}`})]})]})]})},_=(0,u.Ay)(a.so).withConfig({componentId:"sc-1wjkoeq-0"})(["color:",";"],(e=>{let{theme:t}=e;return t.colors.textLight})),P=u.Ay.div.withConfig({componentId:"sc-1wjkoeq-1"})(["display:grid;grid-template-columns:1fr;gap:",";","{grid-template-columns:1fr ",";","{","}}","{grid-template-columns:1fr ",";","{grid-column:auto;}}"],(e=>{let{large:t}=e;return t?"1rem":"6px"}),(e=>{let{theme:t}=e;return t.media.lg}),(e=>{let{large:t}=e;return t&&"1fr"}),_,(e=>{let{large:t}=e;return t&&"grid-column: 2;"}),(e=>{let{theme:t}=e;return t.media.xl}),(e=>{let{large:t}=e;return t&&"1fr 1fr"}),_),O=u.Ay.img.withConfig({componentId:"sc-1wjkoeq-2"})(["width:50px;"]),T=u.Ay.div.withConfig({componentId:"sc-1wjkoeq-3"})(["font-size:14px;"]);function D(e,t){switch(t){case"Local":return e("stock.local","Local");case"Region":return e("stock.region","Region");case"Global":return e("stock.global","Global");case"General":return"general"}}},50413:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var r=n(72608),i=n(22360),o=n(74959),a=n(99393),s=n(7691),l=n(69435),c=n(24937),u=n(44414);const d=e=>{let{stockLevel:t,unknown:n,className:d,size:p}=e;const h=(0,c.DP)(),{isB2BReseller:f}=(0,s.A)(a.F);if(n)return(0,u.jsx)(o.g,{size:null!==p&&void 0!==p?p:"lg",className:d||"",color:h.colors.textFaded,icon:r.CCK});switch(t===l.StockLevel.OutOfStock&&f&&(t=l.StockLevel.LowStock),t){case l.StockLevel.InStock:return(0,u.jsx)(o.g,{size:null!==p&&void 0!==p?p:"lg",className:d||"",color:h.colors.success,icon:i.e68});case l.StockLevel.LowStock:return(0,u.jsx)(o.g,{size:null!==p&&void 0!==p?p:"lg",className:d||"",color:h.colors.warning,icon:i.e68});case l.StockLevel.OutOfStock:default:return(0,u.jsx)(o.g,{size:null!==p&&void 0!==p?p:"lg",className:d||"",color:h.colors.error,icon:i.GRI})}}},85821:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(33453),i=n(69435),o=n(70030),a=n(24937),s=n(50413),l=n(44414);const c=e=>{let{className:t,inStock:n,noStock:a,lowStock:s}=e;const{t:c}=(0,o.B)();return(0,l.jsx)(u,{className:`${t||""}`,children:(0,l.jsxs)(r.EY,{light:!0,small:!0,children:[n&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(d,{className:"mx-1",stockLevel:i.StockLevel.InStock}),"="," ",(0,l.jsx)("span",{children:c("stockLevel.in","In stock")})]}),s&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(d,{className:"mx-1",stockLevel:i.StockLevel.LowStock}),"="," ",(0,l.jsx)("span",{children:c("stockLevel.low","Low stock")})]}),a&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(d,{className:"mx-1",stockLevel:i.StockLevel.OutOfStock}),"="," ",(0,l.jsx)("span",{children:c("stockLevel.out","Out of stock")})]})]})})},u=a.Ay.div.withConfig({componentId:"sc-1nbq8w9-0"})(["*{vertical-align:middle;}"]),d=(0,a.Ay)(s.A).withConfig({componentId:"sc-1nbq8w9-1"})(["font-size:16px;&:not(:first-of-type){margin-left:12px !important;}"])},77738:(e,t,n)=>{"use strict";n.d(t,{A:()=>x});var r=n(33453),i=n(55951),o=n(9950),a=n(24937),s=n(44414);const l=e=>{let{variations:t,wrapPoint:n=10,values:i,onQuantityChange:a}=e;const[l,y]=(0,o.useState)([]),[A,b]=(0,o.useState)(null),w=(0,o.useRef)([]);(0,o.useEffect)((()=>{(()=>{const e=t.map((e=>({key:e})));y(e)})()}),[t]);const x=e=>{var t;b(e);const n=l.findIndex((t=>t.key===e));null===(t=w.current[n])||void 0===t||t.focus()},C=(e,t)=>{null===a||void 0===a||a(e,t)},S=(0,o.useCallback)(((e,t)=>{if("Tab"===e.key){e.preventDefault();const i=e.shiftKey?t-1:t+1;var n,r;if(w.current[i])null===(n=w.current[i])||void 0===n||n.focus(),b((null===(r=l[i])||void 0===r?void 0:r.key)||null)}}),[l]);return(0,s.jsx)(c,{children:(0,s.jsx)(u,{children:(0,s.jsx)(d,{children:(0,s.jsx)(p,{children:(()=>{const e=[];for(let t=0;t<l.length;t+=n){const o=l.slice(t,t+n),a=o.map(((e,n)=>{var r;const o=(null===i||void 0===i||null===(r=i.find((t=>t.value===e.key)))||void 0===r?void 0:r.quantity)||0;return(0,s.jsxs)(f,{selected:A===e.key,changed:0!==o,onClick:()=>x(e.key),children:[(0,s.jsx)(m,{ref:e=>w.current[t+n]=e,name:"selectedCell",autoComplete:"off",type:"number",step:"1",value:o||"",onChange:t=>C(e.key,parseInt(t.target.value,10)),onWheel:e=>e.currentTarget.blur(),onKeyDown:e=>S(e,t+n),min:0,error:!1,dirty:!1,selected:A===e.key,hide:A!==e.key}),A!==e.key&&(0,s.jsx)(g,{light:!0,small:!0,changed:0!==o,children:o})]},`value-${e.key}`)}));e.push((0,s.jsx)(h,{children:o.map((e=>(0,s.jsx)(v,{as:"th",selected:A===e.key,children:(0,s.jsx)(r.EY,{small:!0,children:e.key})},e.key)))},`key-row-${t}`)),e.push((0,s.jsx)(h,{children:a},`values-${t}`)),t+n<l.length&&e.push((0,s.jsx)(h,{children:(0,s.jsx)("td",{colSpan:n,style:{height:"5px"}})},`spacer-${t}`))}return e})()})})})})},c=a.Ay.div.withConfig({componentId:"sc-jaikco-0"})(["font-size:12px;display:flex;flex-direction:column;max-width:100%;overflow-x:auto;"]),u=a.Ay.div.withConfig({componentId:"sc-jaikco-1"})(["overflow:auto;"]),d=a.Ay.table.withConfig({componentId:"sc-jaikco-2"})(["width:auto;min-width:250px;table-layout:fixed;border-spacing:2px;border-collapse:separate;margin-top:-2px;"]),p=a.Ay.tbody.withConfig({componentId:"sc-jaikco-3"})([""]),h=a.Ay.tr.withConfig({componentId:"sc-jaikco-4"})(["position:relative;&:last-of-type{border-bottom:none;}"]),f=a.Ay.td.withConfig({componentId:"sc-jaikco-5"})(["position:relative;min-width:55px;height:42px;text-align:center;background:",";&:last-of-type{border-right:none;}",""],(e=>{let{selected:t,theme:n}=e;return t?(0,i.e$)(.05,n.colors.fillMedium):n.colors.fillMedium}),(e=>{let{changed:t,theme:n}=e;return t&&`background: ${(0,i.a)(.4,n.colors.fillWhite)};`})),m=a.Ay.input.withConfig({componentId:"sc-jaikco-6"})(["height:100%;width:100%;text-align:center;background:white;border:none;opacity:",";pointer-events:",";"," "," &:focus{outline:1px solid ",";}"],(e=>{let{hide:t}=e;return t?0:1}),(e=>{let{hide:t}=e;return t?"none":"auto"}),(e=>{let{selected:t,theme:n}=e;return t&&`outline: 1px solid ${n.colors.accent};`}),(e=>{let{dirty:t,error:n,theme:r}=e;return n&&t&&`outline: 1px solid ${r.colors.error};`}),(e=>{let{theme:t}=e;return t.colors.accent})),g=(0,a.Ay)(r.EY).withConfig({componentId:"sc-jaikco-7"})(["position:absolute;left:0;top:0;display:flex;height:100%;width:100%;align-items:center;justify-content:center;text-align:center;background:",";"],(e=>{let{changed:t,theme:n}=e;return t&&(0,i.a)(.4,n.colors.fillWhite)})),v=(0,a.Ay)(f).withConfig({componentId:"sc-jaikco-8"})(["text-align:center;",""],(e=>{let{selected:t,theme:n}=e;return t&&`background: ${(0,i.e$)(.03,n.colors.fillMedium)};`}));var y=n(98692),A=n(69435),b=n(70030),w=n(71751);const x=e=>{var t;let{className:n,sizeMode:i,textOptions:a,fixedColors:c,sizes:u,values:d,selectedText:p,useValuesAsMatrix:h,onSelectText:f,onQuantityChange:m}=e;const{t:g}=(0,b.B)();(0,o.useEffect)((()=>{var e,t,n;if((null===p||void 0===p||!p.size)&&u.length>0&&f({...p,size:u[0]}),(null===p||void 0===p||!p.font)&&(null!==(e=null===a||void 0===a||null===(t=a.fontCategories)||void 0===t?void 0:t.length)&&void 0!==e?e:0)>0){const e=(0,w.Yc)(null===a||void 0===a?void 0:a.fontCategories)[0];f({...p,font:e.name})}(null===p||void 0===p||!p.color)&&(null!==(n=null===c||void 0===c?void 0:c.length)&&void 0!==n?n:0)>0&&f({...p,color:null===c||void 0===c?void 0:c[0]})}),[u,a,c,p,f]);const v=(e,t,n,r,i)=>{if(Number.isNaN(t)||!e||!p)return;const o=null!==r&&void 0!==r?r:p.font,a=null!==n&&void 0!==n?n:p.size,s=null!==i&&void 0!==i?i:p.color;let l;const c=[...d],u=c.findIndex((e=>{var t;return e.font===o&&e.size===a&&(null===(t=e.color)||void 0===t?void 0:t.name)===(null===s||void 0===s?void 0:s.name)}));-1!==u?l={...c[u]}:(l={font:o,size:a,color:s,items:[]},c.push(l));const h=new Map(l.items.map((e=>[e.value,e.quantity])));0===t&&h.size>1?h.delete(e):h.set(e,t);const f=Array.from(h.entries()).map((e=>{let[t,n]=e;return{value:t,quantity:n}})),g={...l,items:f};-1!==u?c[u]=g:c[c.length-1]=g,m(c)};if(!i||!u)return null;const x=h?d.map((e=>e.items.map((e=>e.value)).filter((e=>!!e)))):(null===a||void 0===a?void 0:a.textValidation)===A.TextValidation.Integer?[Array.from({length:10},((e,t)=>t.toString()))]:(null===a||void 0===a?void 0:a.textValidation)===A.TextValidation.LettersUpper?["ABCDEFGHIJKLMNOPQRSTUVWXYZ\xc5\xc4\xd6".split("")]:[];return(0,s.jsxs)("div",{className:`${n} f3-400`,children:[(0,s.jsxs)(r.EY,{small:!0,bold:!0,children:[g(i===A.SizeMode.FixedHeights?"product._height":"product._width"),":"]}),(0,s.jsx)(r.so,{gap:"5px",$wrap:!0,className:"mt-1",children:null===u||void 0===u?void 0:u.map((e=>{const t=(null===p||void 0===p?void 0:p.size)===e;return(0,s.jsx)(r.$n,{onClick:()=>f({size:e}),color:t?"accentText":"text",bgColor:t?"accent":"fillMedium",children:e+"mm"},`transfer_size_${e}`)}))}),(0,s.jsxs)(r.EY,{bold:!0,small:!0,className:"mt-2",children:[g("general.font"),":"]}),(0,s.jsx)(r.so,{$wrap:!0,gap:"5px",className:"mt-1",children:(0,w.Yc)(null===a||void 0===a?void 0:a.fontCategories).map((e=>{const t=(null===p||void 0===p?void 0:p.font)===e.name;return(0,s.jsx)(r.$n,{onClick:()=>f({font:e.name}),color:t?"accentText":"text",bgColor:t?"accent":"fillMedium",children:e.name},`font_${e.name}`)}))}),(0,s.jsxs)(r.EY,{bold:!0,small:!0,className:"mt-2 mb-1",children:[g("color.color_one"),":"]}),(0,s.jsx)(y.Zj,{selectedColor:null===p||void 0===p||null===(t=p.color)||void 0===t?void 0:t.hex,onSelectColor:e=>f({color:e}),fixedColors:c,className:"mb-3"}),h&&(0,s.jsxs)(r.so,{as:"form",gap:"5px",className:"mb-3",align:"center",onSubmit:e=>{var t,n;e.preventDefault();const r=e.currentTarget,i=r.elements[0].value,o=d.find((e=>{var t,n;return e.font===(null===p||void 0===p?void 0:p.font)&&e.size===(null===p||void 0===p?void 0:p.size)&&(null===(t=e.color)||void 0===t?void 0:t.name)===(null===p||void 0===p||null===(n=p.color)||void 0===n?void 0:n.name)})),a=null!==(t=null===o||void 0===o||null===(n=o.items.find((e=>e.value===i)))||void 0===n?void 0:n.quantity)&&void 0!==t?t:0;v(i,a+1),r.reset();r.elements[0].focus()},children:[(0,s.jsx)(y.Tk,{value:"",textOptions:a,as:r.pd}),(0,s.jsx)(r.$n,{bgColor:"fillMedium",color:"text",type:"submit",children:g("general.add")})]}),x.map(((e,t)=>{var n,i;const{size:o,font:a,color:c,items:u}=h?d[t]:{size:null===p||void 0===p?void 0:p.size,font:null===p||void 0===p?void 0:p.font,color:null===p||void 0===p?void 0:p.color,items:null!==(n=null===d||void 0===d||null===(i=d[0])||void 0===i?void 0:i.items)&&void 0!==n?n:[]};return(0,s.jsxs)(r.so,{column:!0,children:[h&&(0,s.jsx)(r.EY,{bold:!0,small:!0,className:"mt-2 mb-1",children:[o+"mm",a,null===c||void 0===c?void 0:c.name].filter(Boolean).join(", ")}),(0,s.jsx)(l,{wrapPoint:10,variations:e,onQuantityChange:(e,t)=>v(e,t,o,a,c),values:u})]},`transfer_matrix_group_${t}`)}))]})}},92271:(e,t,n)=>{"use strict";n.d(t,{A:()=>h});var r=n(31938),i=n(9030),o=n(6760),a=n(33453),s=n(23017),l=n(69435),c=(n(9950),n(24937)),u=n(24380),d=n(27825),p=n(44414);const h=e=>{var t,n;let{variation:c,selected:h,onSelect:y,className:A,onFocus:b,compact:w,hideCartBadge:x=!1,disabled:C=!1,action:S,layout:k="dots"}=e;const E=(0,s.Ty)("shoppingCart").localCart,I=null!==c&&void 0!==c&&c.variationNumber?E[c.variationNumber]:null,_=null!==(t=null===I||void 0===I?void 0:I.variationQty)&&void 0!==t?t:0,P=(0,s.GV)((e=>(0,d.B2)(e,c))),O=(0,p.jsx)(a.so,{column:w,className:"w-100",children:(0,p.jsxs)(a.so,{column:!0,className:"position-relative "+(w?"w-100":"ml-1"),children:[!w&&(0,p.jsx)(v,{compact:!0,tags:P}),(0,p.jsx)(o.A,{selected:h,large:!0,className:(h?"f1-500":"f1-400")+" text-capitalize",src:(0,u.Ay)(c.image,u.yj.ThumbNail,l.ImageExtension.Jpg),alt:c.color||c.variationNumber,pad:!w}),!w&&(0,p.jsx)(a.so,{column:!0,className:"mt-1",children:(0,p.jsxs)(a.so,{column:!0,justify:"center",children:[(0,p.jsx)(f,{light:!h,fontSize:11,lineheight:13,className:(h?"f1-500":"f1-400")+" text-capitalize",children:c.color||c.variationNumber}),c.colorCode&&(0,p.jsxs)(f,{small:!0,lighter:!0,className:"w-100",children:["(",c.colorCode,")"]})]})})]})});return(0,p.jsx)(m,{onFocus:()=>b&&b(),onClick:()=>y(c),itemProp:"color",className:`${A} ${!C&&"pointer"} w-100`,layout:k,disabled:C,children:"images"===k?O:(0,p.jsxs)(a.so,{justify:"between",className:"w-100",children:[(0,p.jsxs)(a.so,{column:w,align:w?"center":"start",children:[(0,p.jsx)(i.A,{className:"f3-400 ",large:!0,hoverable:!C,selected:h,colors:null===(n=c.webColors)||void 0===n?void 0:n.flatMap((e=>e.toLowerCase())),children:!x&&_>0&&(0,p.jsx)(g,{itemProp:"availability",className:"f3-400",bgColor:"attention",children:_})}),(0,p.jsxs)(a.so,{column:!0,className:""+(w?"":"ml-2"),children:[(0,p.jsxs)(a.so,{column:!w,justify:"center",children:[(0,p.jsx)(f,{selected:h,light:!h,small:w,className:(h?"f1-500":"f1-400")+" text-capitalize",children:c.color||c.variationNumber}),c.colorCode&&!w&&(0,p.jsxs)(f,{small:!0,lighter:!0,className:"w-100",children:["(",c.colorCode,")"]})]}),(0,p.jsx)(r.A,{compact:!0,tags:P}),w&&S]})]}),!w&&S]})})},f=(0,c.Ay)(a.EY).withConfig({componentId:"sc-121jzbs-0"})(["",";border-bottom:1px solid transparent;",";",";"],(e=>{let{small:t,fontSize:n}=e;return n?"":`font-size: ${t?"10px":"12px"};`}),(e=>{let{selected:t}=e;return t&&"border-bottom: 1px solid black"}),(e=>{let{lighter:t}=e;return t&&"color: #a6a6a6"})),m=c.Ay.span.withConfig({componentId:"sc-121jzbs-1"})(["display:flex;padding-left:0;align-items:center;position:relative;border:0;outline:0;text-align:left;background:none;"," "," ",""],(e=>{let{layout:t}=e;return"images"===t&&"justify-content:center;"}),(e=>{let{disabled:t,layout:n}=e;return!t&&"dots"===n&&`\n      &:hover ${f}:first-child {\n        border-bottom: 1px solid black;\n      }\n    `}),(e=>{let{disabled:t}=e;return t&&"opacity: 0.6;"})),g=(0,c.Ay)(a.Ex).withConfig({componentId:"sc-121jzbs-2"})(["left:14px;top:12px;right:auto;"]),v=(0,c.Ay)(r.A).withConfig({componentId:"sc-121jzbs-3"})(["position:absolute;top:4px;margin-right:0;right:0;z-index:2;border-radius:0;> div{margin-right:0;}"])},49303:(e,t,n)=>{"use strict";n.d(t,{V:()=>r});const r="price/currency"},58847:(e,t,n)=>{"use strict";n.d(t,{$6:()=>Q,Ay:()=>w,Bm:()=>R,Fv:()=>g,Hx:()=>N,IR:()=>z,Lb:()=>F,O1:()=>B,Sv:()=>P,V2:()=>j,WN:()=>h,_M:()=>M,_s:()=>f,bN:()=>v,cG:()=>A,e$:()=>T,hH:()=>b,hI:()=>I,mX:()=>_,mj:()=>D,nt:()=>L,xx:()=>O});var r=n(11359),i=n(85913),o=n(44805),a=n(84848),s=n(3781),l=n(99393),c=n(69435),u=n(35732),d=n(49303),p=n(27825);const h=(0,r.zD)("price/customerPrice",(async(e,t)=>{let{getState:n,dispatch:r}=t;const i=n().price.customerPrices;e.sku&&i[e.sku]||r(m(e))})),f=(0,r.zD)("price/fetchTextTransferPrice",(async(e,t)=>{var n;let{getState:r}=t;const{product:i,variation:a,transferText:s}=r().product;if((null===i||void 0===i||null===(n=i.refinementProduct)||void 0===n?void 0:n.type)!==c.RefinementType.Text||null===s||void 0===s||!s.size)return null;return(await o.Ay.refinementsGetPricePreviews(!0,[{variationNumbers:[null===a||void 0===a?void 0:a.variationNumber],data:{id:i.refinementProduct.id,quantity:1,colors:1,size:null===s||void 0===s?void 0:s.size,isProduct:!0},text:{font:null===s||void 0===s?void 0:s.font,textValues:[],characters:null},positions:[]}],[],[])).data.total})),m=(0,r.zD)("price/fetchCustomerPrice",(async e=>(await o.Ay.getPrices([{sku:e.sku,inboxItems:e.inboxItems}])).data)),g=(0,r.zD)(d.V+"/selected",(async(e,t)=>{let{getState:n,dispatch:r}=t;C(e),o.Ay.setCurrency(e);const i=n().product.product,a=n().product.variation;var s;i&&i.productNumber&&r((0,p.oo)({pnrOrSlug:null===i||void 0===i?void 0:i.productNumber,featuredColor:null!==(s=null===a||void 0===a?void 0:a.colorCode)&&void 0!==s?s:void 0,forceReload:!0}));return e})),v=(0,r.zD)(d.V+"/setdefault",(async e=>{const t=x(e.lang,e.currencies);return o.Ay.setCurrency(t),t})),y=(0,r.Z0)({name:"price",initialState:{customerPrices:{},customerPricesPending:{},currencies:[]},reducers:{currenciesSet(e,t){e.currencies=t.payload},priceFormatSet(e,t){e.priceFormat=t.payload}},extraReducers:e=>{e.addCase(m.pending,((e,t)=>{const n=t.meta.arg.sku;n&&(e.customerPricesPending[n]=!0)})),e.addCase(m.fulfilled,((e,t)=>{const n=t.meta.arg.sku;if(n){const r=t.payload,i=r.length?r[0]:null;e.customerPrices[n]=i,e.customerPricesPending[n]=!1}})),e.addCase(m.rejected,((e,t)=>{const n=t.meta.arg.sku;n&&(e.customerPricesPending[n]=!1)})),e.addMatcher((0,u.Ic)(s.Qe),(e=>{e.customerPrices={}})),e.addMatcher((0,u.Ic)(s.dl),((e,t)=>{e.customerPrices={}})),e.addMatcher((0,u.Ic)(d.V),((e,t)=>{e.currency=t.payload}))}}),{currenciesSet:A,priceFormatSet:b}=y.actions,w=y.reducer,x=(e,t)=>{const n=localStorage.getItem("currency")||(e=>{switch(null===e||void 0===e?void 0:e.name){case"sv":return"SEK";case"no":return"NOK";case"da":return"DKK";default:return"EUR"}})(e);return t.find((e=>e===n))?n:t.length>0?t[0]:void 0},C=e=>localStorage.setItem("currency",e),S=e=>e.price.customerPrices,k=(e,t)=>t,E=e=>e.siteDefinition.priceFormat.pricingViewMode,I=e=>e.price.priceFormat,_=(0,i.Mz)(l.F,S,k,((e,t,n)=>{var r;const i=n.inboxItems&&n.inboxItems>1;if(e.isB2B){const e=n.sku?t[n.sku]:null;return e?i?e.box:e:null}return i?null===(r=n.box)||void 0===r?void 0:r.customer:n.customer})),P=(0,i.Mz)(l.F,S,k,((e,t,n)=>{if(e.isB2B){return n.sku?t[n.sku]:null}return n.customer})),O=(0,i.Mz)(k,(e=>!!(e.inboxItems&&e.inboxItems>1)&&e.box?e.box:e)),T=(0,i.Mz)(k,(e=>e.inboxItems&&e.inboxItems>1)),D=((0,i.Mz)(k,(e=>e.inboxItems&&e.inboxItems>1)),(0,i.Mz)(_,k,E,((e,t,n)=>{if(n===a.n6.ShowRegularPriceAsAdditionalPrice)return!1;const r=!!t.inboxItems&&t.inboxItems>1,{regular:i}=r&&t.box?t.box:t;return!(null===e||void 0===e||!e.discount)||(null===i||void 0===i?void 0:i.num)&&(null===e||void 0===e?void 0:e.num)&&i.num>(null===e||void 0===e?void 0:e.num)}))),j=e=>e.user.priceViewSetting,B=(0,i.Mz)(j,l.F,(e=>e.authorization.anonymous),((e,t,n)=>t.isB2BReseller||t.isB2C?"retailAsCustomerPrice":e===c.PriceViewSetting.None?"none":e===c.PriceViewSetting.Retail||t.isNone||t.isB2B&&n?"retail":t.isB2B&&e===c.PriceViewSetting.Customer?"customer":e===c.PriceViewSetting.RetailAndCustomer?"retailAndCustomer":"none")),N=(0,i.Mz)((e=>e.price.customerPricesPending),k,l.F,B,((e,t,n,r)=>{if(!n.isB2B||!t.sku||"retail"===r)return!1;return!e.hasOwnProperty(t.sku)||e[t.sku]})),M=(0,i.Mz)((e=>{var t;return null===(t=e.user.userIdentity)||void 0===t?void 0:t.orderOptions}),(e=>!1===(null===e||void 0===e?void 0:e.priceEnabled))),R=(0,i.Mz)(B,M,((e,t)=>!t&&("customer"===e||"retailAndCustomer"===e||"retailAsCustomerPrice"===e))),L=(0,i.Mz)(R,E,((e,t)=>t===a.n6.ShowRegularPriceAsAdditionalPrice&&e)),F=(0,i.Mz)(B,E,((e,t)=>"retail"===e&&t===a.n6.ShowRegularPriceAsAdditionalPrice)),z=(0,i.Mz)(B,(e=>"retail"===e||"retailAndCustomer"===e)),Q=(0,i.Mz)(B,M,_,k,((e,t,n,r)=>!!r.sku&&(!t&&("customer"===e||"retailAndCustomer"===e)&&!n)))},27825:(e,t,n)=>{"use strict";n.d(t,{$3:()=>re,Ay:()=>L,B2:()=>ie,Cu:()=>ee,D8:()=>X,G1:()=>K,G7:()=>$,IO:()=>ye,JH:()=>j,JY:()=>H,Nj:()=>se,O5:()=>Y,OL:()=>D,Oe:()=>ue,R$:()=>P,Rb:()=>ne,Sz:()=>v,Tb:()=>Z,Tf:()=>J,UV:()=>O,V3:()=>ge,VK:()=>g,ZF:()=>N,bW:()=>oe,eS:()=>B,em:()=>V,gx:()=>R,hB:()=>T,hn:()=>I,iZ:()=>ae,i_:()=>M,jo:()=>b,kX:()=>le,np:()=>q,nt:()=>G,oN:()=>_,oo:()=>w,r9:()=>y,t2:()=>te,yF:()=>E,zA:()=>A,ze:()=>ce});var r=n(11359),i=n(85913),o=n(44805),a=n(77018),s=n(91935),l=n(8218),c=n(1820),u=n(41103),d=n(74635),p=n(69435),h=n(35732),f=n(48329),m=n(49303);let g=function(e){return e[e.Normal=0]="Normal",e[e.Matrix=1]="Matrix",e[e.MatrixCompact=2]="MatrixCompact",e}({});const v=(0,r.zD)("product/getRelatedProducts",(async(e,t)=>{let{getState:n}=t;const r=n().product.relatedProducts,i=e.filter((e=>!r[e]));if(!i.length)return[];return(await o.Ay.getProducts(i)).data})),y=(0,r.zD)("product/toggleQuickView",(async(e,t)=>{let{dispatch:n,rejectWithValue:r}=t;const i=await n(x(e));if(x.fulfilled.match(i)){const{product:t,lang:r}=i.payload;return t.isQuickView=!0,n((0,l.RS)(t)),{product:t,featuredColor:e.featuredColor,lang:r}}return r("No product found")})),A=(0,r.zD)("product/getProductContent",(async(e,t)=>{let{getState:n,dispatch:r}=t;const i=n().product.product,o=null===i||void 0===i?void 0:i.productNumber,a=n().assortment.productContentMap;if(o){var l;const e=null===(l=n().currentPage.content)||void 0===l?void 0:l.contentLink.id,t=(c=a,u=o,d=i.productBrandName,!u||!c[u]||c[u].brand&&c[u].brand!==d?null:c[u].contentId);t&&e!==t&&r((0,s.y)(t))}var c,u,d})),b=(0,r.zD)("product/setOrderlayout",(async e=>(function(e){localStorage.setItem("order_layout",e.toString())}(e),e))),w=(0,r.zD)("product/getProduct",(async(e,t)=>{let{dispatch:n,rejectWithValue:r,getState:i}=t;const o=await n(x(e));if(x.fulfilled.match(o)){const{product:t,lang:r}=o.payload;return n((0,l.RS)(t)),n(C(t)),{product:t,featuredColor:e.featuredColor,lang:r}}return r("No product found")})),x=(0,r.zD)("product/getProductNoState",(async(e,t)=>{let{getState:n,dispatch:r,rejectWithValue:i}=t;const a=n(),s=a.siteDefinition.language.name,l=a.assortment.options.fixedFilters,u=l?l.filter((e=>e.active)).map((e=>({filter:e.filter,values:e.values,active:e.active}))):[],d=u.length?(0,c.UI)([],u):void 0,{pnrOrSlug:p,forceReload:h}=e;let f=n().product.productHistory[p+s];if(!f||h){const e=await o.Ay.getProduct(p,d);if(204===e.status)return i("No product found");f=e.data}if(f.productNumber){var m,g;const e=null===(m=f.refinementOptions)||void 0===m||null===(g=m.refinements)||void 0===g?void 0:g.find((e=>e.active));ve[f.productNumber]=!e,function(e,t){const n=Ae();t?n[e]=!0:delete n[e];localStorage.setItem("notRefinableProducts",JSON.stringify(n))}(f.productNumber,!e)}return{product:he(f,s),lang:s}})),C=(0,r.zD)("product/getSizeGuides",(async(e,t)=>{var n,r,i;let{getState:o,dispatch:s,rejectWithValue:l}=t;const c=o().siteDefinition.language.name,u=o().assortment.options.settings,d=null!==(n=null===u||void 0===u?void 0:u.find((t=>(null===t||void 0===t?void 0:t.brand)===(null===e||void 0===e?void 0:e.productBrandName))))&&void 0!==n?n:null===u||void 0===u?void 0:u.find((e=>!(null!==e&&void 0!==e&&e.brand)));if(null===d||void 0===d||null===(r=d.showProductData)||void 0===r||!r.includes("sizeGuide"))return[];const p=await a.A.getSizeGuides(o().siteDefinition.marketId,c,[null!==(i=e.productBrandName)&&void 0!==i?i:""]);return 204===p.status?l("No sizeguides found"):p.data})),S={error:null,product:void 0,pending:!1,productHistory:{},quickView:!1,quickViewPending:!1,pricePending:!1,orderLayout:de({commerceType:p.CommerceType.None}),relatedProducts:{},toOrder:[],transferToOrder:[]},k=(0,r.Z0)({name:"product",initialState:S,reducers:{tagSettingsSet(e,t){e.tagSettings=t.payload},productSettingsSet(e,t){e.productSettings=t.payload},productRemoved(e){(e.product||e.variation)&&(e.product=null,e.variation=null)},variationSelected(e,t){var n;const r=t.payload;r&&(null===(n=e.variation)||void 0===n?void 0:n.variationNumber)!==r.variationNumber&&(e.variation=r,e.selectedSku=void 0)},quickViewToggled(e,t){e.quickView=t.payload},quickVariationSelected(e,t){var n;const r=t.payload;r&&(null===(n=e.quickViewVariation)||void 0===n?void 0:n.variationNumber)!==r.variationNumber&&(e.quickViewVariation=r,e.selectedSku=void 0)},orderLayoutInitiated(e,t){const{commerceType:n}=t.payload;e.orderLayout=de({commerceType:n})},skuSelected(e,t){e.selectedSku=t.payload},toOrderSet(e,t){e.toOrder=t.payload},toTransferOrderSet(e,t){e.transferToOrder=t.payload},transferTextSelected(e,t){e.transferText={...e.transferText,...t.payload}},transferTextReset(e){e.transferText=void 0}},extraReducers:e=>{e.addCase(w.pending,(e=>{e.pending=!0})),e.addCase(w.fulfilled,((e,t)=>{e.pending=!1,e.toOrder=[];const{product:n,featuredColor:r}=t.payload;e.product=n;const i=pe(n,r);i&&(e.variation=i)})),e.addCase(x.fulfilled,((e,t)=>{const{product:n,lang:r}=t.payload;e.productHistory=function(e,t,n){Object.keys(e).length>20&&(e=Object.keys(e).reduce(((n,r,i)=>i>=10?n:{...n,[r+t]:e[r+t]}),{}));return e[n.productNumber+t]={...n,lang:t},e}(e.productHistory,r,n)})),e.addCase(w.rejected,(e=>{e.pending=!1})),e.addCase(C.fulfilled,((e,t)=>{e.sizeGuides=t.payload.map((e=>({...e,url:(0,f.x)(e.url)})))})),e.addCase(y.pending,(e=>{e.quickView=!0,e.quickViewProduct=null,e.quickViewVariation=null,e.quickViewPending=!0})),e.addCase(y.fulfilled,((e,t)=>{e.quickViewPending=!1;const{product:n,featuredColor:r}=t.payload;e.quickViewProduct=n;const i=pe(n,r);i&&(e.quickViewVariation=i),e.selectedSku=void 0})),e.addCase(y.rejected,(e=>{e.quickViewPending=!1})),e.addCase(v.fulfilled,((e,t)=>{t.payload.forEach((t=>{t.productNumber&&(e.relatedProducts[t.productNumber]=t)}))})),e.addCase(b.fulfilled,((e,t)=>{e.orderLayout=t.payload})),e.addMatcher((0,h.b5)("product/"),((e,t)=>{e.error=t.error})),e.addMatcher((0,h.Ic)(m.V),((e,t)=>{e.productHistory={}}))}}),{tagSettingsSet:E,productSettingsSet:I,productRemoved:_,variationSelected:P,quickVariationSelected:O,quickViewToggled:T,orderLayoutInitiated:D,skuSelected:j,toOrderSet:B,toTransferOrderSet:N,transferTextSelected:M,transferTextReset:R}=k.actions,L=k.reducer,F=e=>e.siteDefinition.commerceType,z=e=>e.product.product,Q=e=>e.product.tagSettings,U=e=>e.product.productSettings,V=e=>e.product.toOrder,G=e=>e.product.transferToOrder,q=e=>e.product.transferText,H=e=>e.product.orderLayout,W=(e,t)=>t,Y=(0,i.Mz)(z,(e=>{const t=null===e||void 0===e?void 0:e.attributes,n=null===e||void 0===e?void 0:e.color,r=null===t||void 0===t?void 0:t.colorComment;return r||n})),K=(0,i.Mz)(z,(e=>null!==e&&void 0!==e&&e.refinementProduct?null===e||void 0===e?void 0:e.documents:[])),J=(0,i.Mz)((e=>{var t,n;return null===(t=e.product.product)||void 0===t||null===(n=t.related)||void 0===n?void 0:n.products}),(e=>e.product.relatedProducts),((e,t)=>null===e||void 0===e?void 0:e.reduce(((e,n)=>t[n]?[...e,t[n]]:e),new Array))),X=(0,i.Mz)(J,z,((e,t)=>{const n=null===t||void 0===t?void 0:t.hasVariations,r=null===t||void 0===t?void 0:t.productName;let i=[];return!n&&e&&(i=null===e||void 0===e?void 0:e.reduce(((e,t)=>t.productName!==r?e:[...e,t]),[])),function(e,t){const n=null===t||void 0===t?void 0:t.productNumber;n&&!e.some((e=>e.productNumber===n))&&e.push(t)}(i,t),function(e){return e.sort(((e,t)=>{var n,r;return parseFloat(null!==(n=null===e||void 0===e?void 0:e.productNumber)&&void 0!==n?n:"")-parseFloat(null!==(r=null===t||void 0===t?void 0:t.productNumber)&&void 0!==r?r:"")}))}(i)}));const Z=(0,i.Mz)(V,(e=>{if(!e.length)return;const t={};for(const r of e){var n;t[r.sku]=null!==(n=r.qty)&&void 0!==n?n:1}return t})),$=(0,i.Mz)(F,(e=>e!==p.CommerceType.B2C)),ee=(0,i.Mz)(F,(e=>e!==p.CommerceType.B2C?"gallery":"grid")),te=(0,i.Mz)(z,(e=>e.product.variation),((e,t)=>{var n,r;const i=null!==e&&void 0!==e&&e.hasVariations&&t&&null!==(n=t.images)&&void 0!==n&&n.length?null===e||void 0===e||null===(r=e.pictures)||void 0===r?void 0:r.filter((e=>"Imagepicture"===e.type)):null===e||void 0===e?void 0:e.pictures;return[...(null===t||void 0===t?void 0:t.images)||[],...i||[]].filter(((e,t,n)=>n.indexOf(e)===t))})),ne=(0,i.Mz)(z,Q,((e,t)=>{var n,r,i,o,a,s;return{priceTags:null!==(n=null===e||void 0===e||null===(r=e.customTags)||void 0===r?void 0:r.filter((e=>e.position===p.TagPosition.Price)))&&void 0!==n?n:[],badgeTags:[...null!==(i=null===e||void 0===e||null===(o=e.customTags)||void 0===o?void 0:o.filter((e=>e.position===p.TagPosition.Badge)))&&void 0!==i?i:[],...null!==t&&void 0!==t&&t.disabled?[]:null!==(a=null===e||void 0===e||null===(s=e.tags)||void 0===s?void 0:s.map((e=>fe(e,t))))&&void 0!==a?a:[]]}})),re=(0,i.Mz)(((e,t)=>t),Q,((e,t)=>{var n,r,i,o,a;const s=null!==t&&void 0!==t&&t.disabled?[]:null!==(n=null===e||void 0===e||null===(r=e.tags)||void 0===r?void 0:r.map((e=>fe(e,t))))&&void 0!==n?n:[],l=null!==(i=null===e||void 0===e||null===(o=e.variations)||void 0===o?void 0:o.reduce(((e,n)=>{var r;if(null!==(r=n.tags)&&void 0!==r&&r.length&&(null===t||void 0===t||!t.disabled)){const r=n.tags.filter((t=>!s.some((e=>e.type===t))&&!e.some((e=>e.type===t))));return[...e,...r.map((e=>fe(e,t,!0)))]}return e}),new Array))&&void 0!==i?i:[];return[...null!==(a=null===e||void 0===e?void 0:e.customTags)&&void 0!==a?a:[],...s,...l]})),ie=(0,i.Mz)(((e,t)=>t),Q,((e,t)=>{var n;const r=null!==t&&void 0!==t&&t.disabled?[]:null===e||void 0===e||null===(n=e.tags)||void 0===n?void 0:n.map((e=>fe(e,t,!0)));return null!==r&&void 0!==r?r:[]})),oe=(0,i.Mz)(z,(e=>e.product.sizeGuides),(e=>e.assortment.options.settings),((e,t,n)=>{var r,i,o,a,s,l,c,u,d,p,h,f,m,g;const v=null===n||void 0===n?void 0:n.find((t=>(null===t||void 0===t?void 0:t.brand)===(null===e||void 0===e?void 0:e.productBrandName))),y=null!==v&&void 0!==v?v:null===n||void 0===n?void 0:n.find((e=>!(null!==e&&void 0!==e&&e.brand))),A=null===e||void 0===e||null===(r=e.marks)||void 0===r?void 0:r.certifications,b=null===e||void 0===e||null===(i=e.marks)||void 0===i?void 0:i.careInstructions,w=null===e||void 0===e||null===(o=e.attributes)||void 0===o||null===(a=o.certificationDescription)||void 0===a?void 0:a[0],x=null!==y&&void 0!==y&&null!==(s=y.showProductData)&&void 0!==s&&s.includes("feature")?null===e||void 0===e||null===(l=e.marks)||void 0===l?void 0:l.features:void 0,C=null!==e&&void 0!==e&&e.refinementProduct?[]:null===e||void 0===e?void 0:e.documents,S=null!==y&&void 0!==y&&null!==(c=y.showProductData)&&void 0!==c&&c.includes("applicationType")?null===e||void 0===e||null===(u=e.refinementOptions)||void 0===u?void 0:u.types:void 0,k=null!==y&&void 0!==y&&null!==(d=y.showProductData)&&void 0!==d&&d.includes("applicationArea")?null===e||void 0===e||null===(p=e.refinementOptions)||void 0===p?void 0:p.areas:void 0,E=null!==y&&void 0!==y&&null!==(h=y.showProductData)&&void 0!==h&&h.includes("applicationInfo")?null===e||void 0===e||null===(f=e.attributes)||void 0===f||null===(m=f.applicationInfo)||void 0===m?void 0:m.join(", "):void 0,I=null!==y&&void 0!==y&&null!==(g=y.showProductData)&&void 0!==g&&g.includes("sizeGuide")?t:void 0;return{attributes:null===e||void 0===e?void 0:e.attributes,certifications:A,certificationDescription:w,careInstructions:b,refinementInfo:E,refinementTypes:S,refinementAreas:k,features:x,sizeGuides:I,documents:C}})),ae=(0,i.Mz)(F,u.GY,((e,t)=>e===p.CommerceType.B2BResellers||t.has("Refinement"))),se=(0,i.Mz)(W,ae,((e,t)=>{var n,r;return!(!t||null!==e&&void 0!==e&&e.refinementProduct||null===e||void 0===e||null===(n=e.refinementOptions)||void 0===n||null===(r=n.refinements)||void 0===r||!r.length)})),le=(0,i.Mz)(W,(e=>{var t;return null===(t=e.product.productSettings)||void 0===t?void 0:t.settings}),(e=>e.assortment.options.settings),((e,t,n)=>{var r,i,o,a,s;const l=null===e||void 0===e||null===(r=e.tags)||void 0===r?void 0:r.includes(p.TagType.Outlet);let c=null===n||void 0===n?void 0:n.find((t=>t.brand===(null===e||void 0===e?void 0:e.productBrandName)));c||(c=null===n||void 0===n?void 0:n.find((e=>!e.brand)));let u=null===t||void 0===t?void 0:t.find((t=>t.brand===(null===e||void 0===e?void 0:e.productBrandName)));u||(u=null===t||void 0===t?void 0:t.find((e=>!e.brand)));const d=function(e,t,n){return[{type:"Local",visible:!0,excludeFromStockAtHand:!1,hideForOutlet:!1,showZeroStock:!1},{type:"Region",visible:!0,excludeFromStockAtHand:!1,hideForOutlet:!1,showZeroStock:!1},{type:"Global",visible:!0,excludeFromStockAtHand:!0,hideForOutlet:!1,showZeroStock:!1}].map((r=>{let i=(null===e||void 0===e?void 0:e.find((e=>e.type===r.type)))||(null===t||void 0===t?void 0:t.find((e=>e.type===r.type)));return n&&null!==i&&void 0!==i&&i.hideForOutlet?null:i||r})).filter((e=>null!==e))}(null===(i=c)||void 0===i||null===(o=i.stockInfo)||void 0===o?void 0:o.filter((e=>"General"!==e.type)),null===(a=u)||void 0===a?void 0:a.stockInfo,l);return{stockInfo:d,outOfStockMessage:null===(s=u)||void 0===s?void 0:s.outOfStockMessage}})),ce=(0,i.Mz)(U,(e=>!(null!==e&&void 0!==e&&e.hideProductWishList))),ue=(0,i.Mz)(U,F,((e,t)=>t===p.CommerceType.B2C||null!==e&&void 0!==e&&e.showImagesOfVariants?"images":"dots"));function de(e){let{commerceType:t}=e;const n=localStorage.getItem("order_layout"),r=n?Number.parseInt(n):Number.NaN;return!Number.isNaN(r)&&r in g?r:t===p.CommerceType.B2B?g.Matrix:g.Normal}function pe(e,t){var n;if(null!==(n=e.variations)&&void 0!==n&&n.length){return e.variations.find((e=>t?e.colorCode===t:e.featured))||e.variations[0]}}function he(e,t,n){var r,i;const o=null===(r=e.refinementOptions)||void 0===r||null===(i=r.refinements)||void 0===i?void 0:i.find((e=>e.isProduct));return{...e,lang:t,refinementProduct:o,isQuickView:n}}const fe=(e,t,n)=>({type:e,value:me(e,t,n),position:p.TagPosition.Badge}),me=(e,t,n)=>{var r,i,o,a,s,l;if(n)switch(e){case p.TagType.New:return null!==(r=null===t||void 0===t?void 0:t.variationNew)&&void 0!==r?r:(0,d.t)("productTag.newVariation","New Color");case p.TagType.Outlet:return null!==(i=null===t||void 0===t?void 0:t.variationOutlet)&&void 0!==i?i:(0,d.t)("productTag.outletVariation","Color on sale");case p.TagType.UpComming:return null!==(o=null===t||void 0===t?void 0:t.variationUpComing)&&void 0!==o?o:(0,d.t)("productTag.upcomingVariation","Upcoming Color");default:return""}else switch(e){case p.TagType.New:return null!==(a=null===t||void 0===t?void 0:t.productNew)&&void 0!==a?a:(0,d.t)("productTag.new","New");case p.TagType.Outlet:return null!==(s=null===t||void 0===t?void 0:t.productOutlet)&&void 0!==s?s:(0,d.t)("productTag.outlet","Outlet");case p.TagType.Sustainable:return(0,d.t)("productTag.sustainable","Sustainable");case p.TagType.UpComming:return null!==(l=null===t||void 0===t?void 0:t.productUpComming)&&void 0!==l?l:(0,d.t)("productTag.upcoming","Upcoming")}};function ge(e){switch(e){case"Local":return p.StockType.Local;case"Region":return p.StockType.Region;case"Global":return p.StockType.Global;case"General":return p.StockType.Custom}}const ve=Ae();function ye(e){return!!e&&!ve[e]}function Ae(){var e;const t=null!==(e=localStorage.getItem("notRefinableProducts"))&&void 0!==e?e:"{}";return JSON.parse(t)}},7418:(e,t,n)=>{"use strict";n.d(t,{A:()=>p,C:()=>h});var r=n(72608),i=n(50361),o=n(31664),a=n(33453),s=n(23017),l=n(70030),c=n(24937),u=n(46482),d=n(44414);const p=e=>{var t;let{children:n,title:c,validating:p,valid:A,formSection:b,hideCollapseButton:w,hideChangeButton:x,hideBorder:C,pending:S,collapsedVisibleForOpen:k,className:E,repeat:I}=e;const _=p&&A,P="boolean"===typeof p,O=!w&&!!n.collapsed&&!_&&!(p&&!A),T=!x&&!O&&_,D=!c&&!T&&!P&&!O,j=(0,s.jL)(),B=p?A?o.H.Valid:o.H.Invalid:o.H.Unknown,{t:N}=(0,l.B)(),M=null===(t=n.collapsed)||void 0===t?void 0:t.map(((e,t)=>e&&(0,d.jsx)("div",{children:(0,d.jsx)(a.EY,{className:"text-right",small:!0,bold:!0,children:e})},t))),R=_?(0,d.jsx)(d.Fragment,{children:M}):n.open,L=()=>{I?j((0,i.wp)({title:N("order.repeat"),description:N("refinement.warnRepeatChanged"),onOk:()=>{j(u.o1.repeatSet(!1)),b&&j(u.o1.sectionValidatingToggled({section:b}))}})):b&&j(u.o1.sectionValidatingToggled({section:b}))};return(0,d.jsxs)(y,{collapsed:_,onlyContent:D,hideBorder:C,className:E,children:[(0,d.jsxs)(m,{children:[(!!c||k&&!_&&M)&&(0,d.jsxs)(a.so,{justify:"between",children:[c&&(0,d.jsx)(h,{children:c}),k&&!_&&M&&(0,d.jsx)(a.EY,{className:"text-right",small:!0,bold:!0,children:M})]}),T&&(0,d.jsx)(a.gK,{onClick:L,className:"d-block mt-2 align",fontSize:"12px",color:"textFaded",children:N("action.change","Change")})]}),(0,d.jsx)(f,{color:"fill",children:R}),(0,d.jsxs)(g,{column:!0,justify:"between",align:"end",children:[S&&(0,d.jsx)("div",{children:(0,d.jsx)(a.y$,{})}),!S&&P&&(0,d.jsx)(a.IZ,{valid:B}),O&&(0,d.jsx)(v,{bgColor:"fill",onClick:L,iconRight:!0,icon:r.$sC})]})]})},h=c.Ay.h2.withConfig({componentId:"sc-1pw9ch4-0"})(["font-size:16px;font-weight:500;line-height:19px;"]),f=c.Ay.div.withConfig({componentId:"sc-1pw9ch4-1"})(["height:fit-content;"]),m=c.Ay.div.withConfig({componentId:"sc-1pw9ch4-2"})([""]),g=(0,c.Ay)(a.so).withConfig({componentId:"sc-1pw9ch4-3"})(["height:100%;"]),v=(0,c.Ay)(a.K0).withConfig({componentId:"sc-1pw9ch4-4"})(["margin-right:-6px;"]),y=c.Ay.section.withConfig({componentId:"sc-1pw9ch4-5"})(["display:grid;grid-template-columns:1fr 0 40px;grid-template-rows:min-content auto;padding:1rem;"," ",";> ","{grid-row:1;grid-column:1 / 3;",";}> ","{grid-row:2;"," ",";}> ","{grid-row:1 / -1;}"],(e=>{let{theme:t,hideBorder:n}=e;return!n&&`border-bottom: 2px solid ${t.colors.border};`}),(e=>{let{collapsed:t}=e;return t&&"grid-template-columns: auto minmax(auto, 1fr) 40px;"}),m,(e=>{let{collapsed:t}=e;return t&&"grid-column: 1 / 2;"}),f,(e=>{let{onlyContent:t}=e;return t&&"grid-column: 1 / -1;"}),(e=>{let{collapsed:t}=e;return t&&"\n      grid-row: 1;\n      justify-self: end;\n    "}),g)},98692:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>S,PQ:()=>w,Tk:()=>C,Zj:()=>x});var r=n(22360),i=n(74959),o=n(33453),a=n(63364),s=n(23017),l=n(74635),c=n(64267),u=n.n(c),d=n(69435),p=n(9950),h=n(70030),f=n(24937),m=n(71751),g=n(46482),v=n(37423),y=n(7418),A=n(52454),b=n(44414);const w=e=>{var t,n;let{fonts:a,selectedFont:s,selectedColor:l,defaultValue:c,refinementType:u,hideTextInput:f,onUpdateTextProperties:m,...g}=e;const v=null===u||void 0===u?void 0:u.textOptions,{t:y}=(0,h.B)(),A=(0,p.useMemo)((()=>{const e=[];return null!==v&&void 0!==v&&v.maxCharacters&&e.push(y("general.limitedToCharacters",{characters:null===v||void 0===v?void 0:v.maxCharacters})),(null===v||void 0===v?void 0:v.textValidation)===d.TextValidation.Letters&&e.push(y("general.limitedToLetters")),(null===v||void 0===v?void 0:v.textValidation)===d.TextValidation.LettersUpper&&e.push(y("general.limitedToLettersUpper")),(null===v||void 0===v?void 0:v.textValidation)===d.TextValidation.Integer&&e.push(y("general.limitedToInteger")),e}),[y,v]),w=null===a||void 0===a?void 0:a.map((e=>({value:e.fontName,label:e.name}))),S=null!==(t=null===(n=w.find((e=>e.label===s||e.value===s)))||void 0===n?void 0:n.label)&&void 0!==t?t:s;return(0,b.jsxs)("div",{...g,children:[(0,b.jsxs)(k,{className:"mb-2",children:[a.length>5?(0,b.jsx)(b.Fragment,{children:(0,b.jsx)(I,{children:(0,b.jsx)(o.l6,{options:w,isMulti:!1,placeholder:y("general.font"),value:w.find((e=>e.label===s)),onChange:e=>e&&m({font:e.label})})})}):(0,b.jsx)(o.so,{$wrap:!0,gap:"5px",children:w.map((e=>(0,b.jsx)(o.$n,{onClick:()=>m({font:e.label}),color:S===e.label?"accentText":"text",bgColor:S===e.label?"accent":"fillMedium",children:e.label},`font_${e.label}`)))}),(0,b.jsx)(x,{className:"ml-2",fixedColors:null===u||void 0===u?void 0:u.fixedColors,selectedColor:l,onSelectColor:e=>m({fill:{hex:e.hex,name:e.name}})})]}),!f&&(0,b.jsxs)(E,{onSubmit:void 0,className:"mb-2",children:[(0,b.jsx)(C,{as:o.pd,value:null!==c&&void 0!==c?c:"",onChange:e=>m({value:e}),textOptions:v,placeholder:(null===v||void 0===v?void 0:v.mode)===d.TextMode.Variable?y("refinement.variableTextPlaceholder"):y("refinement.fixedTextPlaceholder")}),A.length>0&&(0,b.jsxs)(o.so,{justify:"center",align:"center",className:"mt-3",children:[(0,b.jsx)(i.g,{icon:r.iW_,className:"mr-1"}),(0,b.jsx)(o.EY,{small:!0,color:"text",children:A.join(" ")})]})]})]})},x=e=>{let{fixedColors:t,selectedColor:n,onSelectColor:r,className:i}=e;return null!==t&&void 0!==t&&t.length?(0,b.jsx)(o.so,{gap:"3px",$wrap:!0,className:`${i}`,children:t.map((e=>(0,b.jsx)(a.M,{color:e.hex,selected:n===e.hex,square:!0,onClick:()=>r(e)},e.hex)))}):(0,b.jsx)(a.A,{className:i,color:{name:"",hex:null!==n&&void 0!==n?n:""},initHexColor:n,onChange:e=>e&&r(e)})},C=e=>{let{value:t,textOptions:n,onChange:r,defaultValue:i,placeholder:o,className:a,as:s="input"}=e;const l=(0,p.useRef)(null);return(0,p.useEffect)((()=>{l.current&&(l.current.value=t)}),[t]),(0,b.jsx)(s,{id:"text",type:"text",ref:l,defaultValue:i,placeholder:o,className:null!==a&&void 0!==a?a:void 0,onInput:e=>{var t,i;let o=null===(t=e.currentTarget.value)||void 0===t||null===(i=t.trimStart())||void 0===i?void 0:i.replace(/\s\s+/g," ");(null===n||void 0===n?void 0:n.textValidation)===d.TextValidation.Integer?o=o.replace(/[^0-9]/g,""):(null===n||void 0===n?void 0:n.textValidation)===d.TextValidation.Letters?o=o.replace(/[^a-zA-Z]/g,""):(null===n||void 0===n?void 0:n.textValidation)===d.TextValidation.LettersUpper&&(o=o.replace(/[^a-zA-Z]/g,"").toUpperCase()),o=null!==n&&void 0!==n&&n.maxCharacters?o.slice(0,n.maxCharacters):o,e.currentTarget.value=o,null===r||void 0===r||r(o)}})},S=()=>{var e,t,n,r,i,o,a,c,h,f;const x=(0,s.GV)(v.Lt.selectedRefinement),C=(0,s.GV)(v.Lt.selectedRefinementType),S=(0,s.GV)(v.Lt.activeCanvasFiles),k=null===(e=(0,s.GV)(v.Lt.selectedRefinementType))||void 0===e?void 0:e.textOptions,E=(0,s.GV)(v.Lt.type),I=(0,s.GV)(v.Lt.origin),_=(0,s.GV)(v.Lt.size),[P,O]=(0,p.useState)(null),T=(0,m.Yc)(null===k||void 0===k?void 0:k.fontCategories),D=(0,s.jL)(),j=(0,s.GV)(v.Lt.sectionValidating).text;(0,p.useEffect)((()=>{if(!x||!S.length)return;const e=(0,g.mU)();(async()=>{const t=t=>e.getObjects().filter((e=>{var n;return(null===(n=e.data)||void 0===n?void 0:n.guid)===t&&S.find((t=>{var n;return t.id===(null===(n=e.data)||void 0===n?void 0:n.canvasFileId)}))}));let n=t(x.guid);n||(await new Promise((e=>setTimeout(e,100))),n=t(x.guid)),O(n)})()}),[x,S]);const B=(0,p.useCallback)(((e,t,n,r,i,o,a)=>{var s,l,c,u;D((0,g.Pq)(e,void 0,t,o,a,void 0,!0));const d=null!==(s=null===i||void 0===i||null===(l=i.variations.files)||void 0===l?void 0:l.find((e=>e.endsWith("-converted.png"))))&&void 0!==s?s:`text-${(0,A.A)(null!==(c=null===i||void 0===i||null===(u=i.variations.text)||void 0===u?void 0:u.value)&&void 0!==c?c:"")}-${(new Date).getTime()}-converted.png`;r&&fetch(r).then((e=>e.blob())).then((e=>{const i=(0,g.uv)(E,!0);D((0,g.kM)({fileData:{newFile:new File([e],d,{type:"image/png"}),sampleFile:null===i||void 0===i?void 0:i.sample,convertedFile:r}})),D((0,g.Jk)({convertedFile:!0})),null===n||void 0===n||n.fire("object:modified",{target:t}),n.renderAll()})).catch((e=>{console.error("Error fetching base64 image:",e)}))}),[D,E]),N=(0,p.useRef)(u()(B,300)),M=(0,p.useCallback)((async(e,t)=>{var n;if(null===P||void 0===P||null===(n=P[0].data)||void 0===n||!n.text)return;const r=(0,g.mU)(),{text:i}=P[0].data;let o,a,s,l=!1;const c=async(e,t)=>{var n;const{value:r,font:c,fill:u}=i,p=t,h="value"===e?null!==t&&void 0!==t?t:"":r;if(!h)return;const f=await(0,g.Um)(h,{fontFamily:"font"===e?t:null!==c&&void 0!==c?c:"Arial",fill:"fill"===e?null!==(n=null===p||void 0===p?void 0:p.hex)&&void 0!==n?n:"#000000":null!==u&&void 0!==u?u:"#000000"},k);s=f.base64;for(const o of P){var m;o.set({height:f.fabricImage.height,width:f.fabricImage.width,data:{...o.data,text:{...null===(m=o.data)||void 0===m?void 0:m.text,value:"value"===e?t:i.value,font:"font"===e?t:i.font,fill:"fill"===e?null===p||void 0===p?void 0:p.hex:i.fill}}}),o.setElement(f.fabricImage.getElement())}"fill"===e?(l=!1,D((0,g.kM)({fileData:{colors:[{sourceHex:null===p||void 0===p?void 0:p.hex,sourceName:null===p||void 0===p?void 0:p.name,visible:!0}]}}))):"value"===e?(l=!0,o=(null===_||void 0===_?void 0:_.mode)===d.SizeMode.FixedHeights?_.height:void 0,a=(null===_||void 0===_?void 0:_.mode)===d.SizeMode.FixedWidths?_.width:void 0):"font"===e&&(l=!1)};for(const[u,d]of Object.entries(e))await c(u,d);if(!t)for(const u of P)l?N.current(e,u,r,s,x,o,a):B(e,u,r,s,x,o,a)}),[D,P,_,k,B]);return P?(0,b.jsx)(y.A,{title:(0,l.t)("general.text"),validating:j,valid:!0,formSection:"text",children:{open:(0,b.jsx)(w,{fonts:T,selectedFont:null!==(t=null===x||void 0===x||null===(n=x.variations.text)||void 0===n?void 0:n.font)&&void 0!==t?t:"",selectedColor:null===x||void 0===x||null===(r=x.variations.colors)||void 0===r?void 0:r[0].sourceHex,defaultValue:null===x||void 0===x||null===(i=x.variations.text)||void 0===i?void 0:i.value,onUpdateTextProperties:M,refinementType:C,hideTextInput:"CollectionTool"!==I&&(null===(o=P[0])||void 0===o||null===(a=o.data)||void 0===a||null===(c=a.text)||void 0===c?void 0:c.previewText)}),collapsed:[null!==(h=null===x||void 0===x||null===(f=x.variations.text)||void 0===f?void 0:f.value)&&void 0!==h?h:null]}}):null},k=f.Ay.div.withConfig({componentId:"sc-1u03b03-0"})(["display:flex;flex-direction:row;justify-content:space-between;align-items:center;width:100%;"]),E=f.Ay.form.withConfig({componentId:"sc-1u03b03-1"})(["display:flex;flex-direction:column;width:100%;"]),I=f.Ay.div.withConfig({componentId:"sc-1u03b03-2"})(["min-width:180px;"])},39695:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>u,Gf:()=>l,RP:()=>s,_f:()=>a,ms:()=>c,nA:()=>d});var r=n(11359);const i={status:"hide",fullscreen:!1},o=(0,r.Z0)({name:"refinementToolModal",initialState:i,reducers:{refinementToolModalClosed:()=>i,refinementToolModalPending(e){"hide"===e.status&&(e.status="pending")},refinementToolModalOpened(e,t){"show"!==e.status&&(e.status="show",e.init=t.payload,e.fullscreen=window.innerWidth<=1920)},fullscreenSet(e,t){e.fullscreen=t.payload}}}),{refinementToolModalPending:a,refinementToolModalClosed:s,refinementToolModalOpened:l,fullscreenSet:c}=o.actions,u=o.reducer,d=e=>"hide"!==e.refinementToolModal.status},86875:(e,t,n)=>{"use strict";n.d(t,{vt:()=>r,y6:()=>i});const r="noSplit",i="remainingSplit"},73887:(e,t,n)=>{"use strict";n.d(t,{Y:()=>i,g:()=>r});const r={},i={}},46482:(e,t,n)=>{"use strict";n.d(t,{NL:()=>L,he:()=>M,sI:()=>R,o1:()=>pn,rX:()=>Ue,o6:()=>je,BH:()=>Ee,to:()=>_e,w7:()=>ce,Ps:()=>Le,bE:()=>le,w_:()=>Wt,_h:()=>qe,Yo:()=>Ve,Id:()=>He,vD:()=>Ke,qe:()=>We,uO:()=>Ye,qM:()=>Je,UO:()=>Ze,uy:()=>$e,aj:()=>it,Jr:()=>rt,GZ:()=>nn,Jk:()=>at,UK:()=>Ie,Ww:()=>lt,vh:()=>st,_6:()=>ct,gY:()=>ut,Pf:()=>dt,m3:()=>Be,Um:()=>Ce,Kr:()=>pt,$3:()=>Pe,Ay:()=>Gt,es:()=>Yt,Ob:()=>V,kM:()=>gt,S1:()=>mt,VO:()=>ht,mU:()=>U,zz:()=>Se,b7:()=>ln,xe:()=>ne,LJ:()=>re,ss:()=>ie,U0:()=>Jt,P2:()=>Z,sF:()=>$,vJ:()=>q,Ts:()=>J,uV:()=>bt,PA:()=>xt,J0:()=>Ct,bF:()=>St,Vl:()=>an,YX:()=>xe,dY:()=>Et,rK:()=>kt,ok:()=>Pt,JB:()=>Ot,eL:()=>ft,Av:()=>Dt,zH:()=>jt,C3:()=>Bt,_x:()=>Nt,g1:()=>Me,XZ:()=>rn,aL:()=>De,B1:()=>oe,_u:()=>Rt,B5:()=>Mt,yT:()=>Lt,xA:()=>Re,sl:()=>fe,jO:()=>Ft,RE:()=>ge,JP:()=>tn,q:()=>ee,wT:()=>Qt,qr:()=>zt,pm:()=>he,Mt:()=>pe,F2:()=>Ut,uv:()=>$t,jJ:()=>At,w9:()=>dn,lC:()=>cn,Sm:()=>ue,Yz:()=>ye,jq:()=>be,F4:()=>Ae,Pq:()=>ve,QM:()=>Te,Wp:()=>un,R$:()=>Vt,j8:()=>te});var r=n(11359),i=n(44805),o=n(96011),a=n.n(o),s=n(58525),l=n(41107),c=n(27825),u=n(57905),d=n(79858),p=n(75081),h=n(58473),f=n(50039),m=n(55790),g=n.n(m),v=n(84238),y=n(69435),A=n(73878),b=n(35732),w=n(45798),x=n(7430),C=n(33345),S=n(24872),k=n(578),E=n(71751),I=n(24380),_=n(54579),P=n(51673),O=n(52454),T=n(86875),D=n(69877),j=n(73887),B=n(37423);const N=["selectedRefinement","selectedVariation","allRefinements"],M=".jpg,.jpeg,.png,.svg,.eps,.pdf,.ai,.dst",R="TEMP",L="refinement_tool_canvas";let F,z,Q=null;function U(){var e;return null!==(e=Q)&&void 0!==e?e:(Q=new f.Hl(L,{height:300,width:300}),Q)}function V(){var e;null===(e=Q)||void 0===e||e.dispose(),Q=null}const G={};let q,H;function W(){return"refinement_"+ ++q}function Y(){return"canvasFile_"+ ++H}const K=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"shoppingCart",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return(n,r)=>{switch(e){case"OfferTool":return{getAllRefinements:async()=>{var e,t;return(await i.Ay.cartGetRefinements({id:null===(e=r().offers.selectedOffer)||void 0===e||null===(t=e.id)||void 0===t?void 0:t.toString(),type:"offerCart"})).data},addToCart:async e=>n((0,p.It)(e))};case"PublicOrder":return{getAllRefinements:async()=>(await i.Ay.orderPublicGetRefinements(null!==t&&void 0!==t?t:"")).data,addToCart:async e=>n((0,h.ut)({identifier:t,...e}))};case"CollectionTool":return{getAllRefinements:async e=>e?(await i.Ay.getCollectionData(e)).data:{},addToCart:async e=>n((0,d.n1)(e))};default:return{getAllRefinements:async()=>(await i.Ay.cartGetRefinements((0,l.UN)(e,r()))).data,addToCart:async t=>n((0,l.AZ)(function(e){return!!e&&("OfferTool"!==e&&"PublicOrder"!==e)}(e)?e:"shoppingCart")(t))}}}},J=(0,r.zD)("refinementTool/init",(async(e,t)=>{var n,r,i,o,a,s;let{dispatch:l}=t;q=100,H=100;const c=e.draft;let u=[],d="tool",p={services:[]};const h=l(K(e.origin,e.publicOrderId)),f=await h.getAllRefinements(null===e||void 0===e||null===(n=e.edit)||void 0===n?void 0:n.collectionId),m=sn([...null!==(r=e.skus)&&void 0!==r?r:[],...null!==(i=f.skus)&&void 0!==i?i:[]]);if(f.refinements){var g,v,A;u=f.refinements.reduce(((t,n)=>{var r,i,o,a,s;const l=[];let c,u,p,h=!1;if((null===(r=n.data)||void 0===r?void 0:r.mockupType)===y.MockupType.Service&&(d="service"),null!==(i=n.positions)&&void 0!==i&&i.length){var m;const t=new Set;for(const r of n.positions){var g,v,A;!r.variationNumber&&"article"===e.type&&null!==(g=n.variationNumbers)&&void 0!==g&&g[0]&&(r.variationNumber=n.variationNumbers[0]);const i=null===r||void 0===r?void 0:r.fileConverted,o=null===r||void 0===r?void 0:r.filePreview,a=null===r||void 0===r?void 0:r.fileSample,s=null===r||void 0===r?void 0:r.fileOrg,d=o&&f.fileUrls&&f.fileUrls[o];h="string"!==typeof i,c=qt(i,f.fileUrls),u=qt(a,f.fileUrls),l.push({id:Y(),position:r,previewFile:null!==d&&void 0!==d?d:void 0,fileName:null!==s&&void 0!==s?s:void 0,fileType:(0,x.Kl)(null!==(v=r.fileOrg)&&void 0!==v?v:""),multiColor:!(null!==(A=n.colors)&&void 0!==A&&A.length),userProof:!h&&!r.x,placed:!n.text&&h}),i&&t.add(i),s&&t.add(s),o&&t.add(o),a&&t.add(a)}p=null===(m=n.files)||void 0===m?void 0:m.filter((e=>!t.has(e)))}else if(n.variationNumbers){var b,w;const e=null===(b=n.files)||void 0===b?void 0:b.find((e=>e.endsWith(".png")&&!e.includes("undefined")));p=null===(w=n.files)||void 0===w?void 0:w.filter((t=>t!==e)),c=qt(e,f.fileUrls),n.positions=[];for(const t of n.variationNumbers)l.push({id:Y(),position:{fileConverted:e,variationNumber:t},userProof:!0,placed:!1})}return[...t,{locked:null===(o=n.data)||void 0===o?void 0:o.isMounting,repeat:null===(a=n.data)||void 0===a?void 0:a.repeat,guid:W(),variations:n,preview:{},touched:!1,canvasFiles:l,newAttachments:[],attachments:null!==(s=p)&&void 0!==s?s:[],stockOperation:n.stockOperation,convertedFile:c,sampleFile:u,isAddonRefinement:h}]}),u);const t=null===(g=f.services)||void 0===g?void 0:g.find((e=>e.type===y.PartnerCostType.MockupCost));p={proofServiceEnabled:!!t,proofServicePrice:null!==(v=null===t||void 0===t?void 0:t.price)&&void 0!==v?v:void 0,services:null!==(A=f.services)&&void 0!==A?A:[]}}const b=null!==(o=f.addons)&&void 0!==o?o:[];return{refinements:u,proofType:d,options:p,draft:c,addons:b,collection:m,collectionName:null!==(a=f.name)&&void 0!==a?a:void 0,collectionCategories:null!==(s=f.categories)&&void 0!==s?s:void 0}})),X=(e,t,n)=>{let r=[];for(const i of e){const e=i.canvasFiles.map((e=>e.position)).filter((e=>!!e));if(!e.length)continue;const o=(0,D.Qe)(i,n),a=ae(i,t,o);r=[...r,{...a,positions:e}]}return r},Z=(0,r.zD)("refinementTool/getVariableTextBlob",(async(e,t)=>{let{getState:n}=t;const r=n().refinementTool,o=r.origin,a=X(r.refinements,r.proofType,r.collection),s=B.Lt.collectionSkus(n());return"PublicOrder"===o?await i.Ay.orderPublicGetVariableText(a,s,e?[e]:[],r.publicOrderId):await i.Ay.cartGetVariableText(a,s,e?[e]:[],(0,l.UN)(r.origin,n()))})),$=(0,r.zD)("refinementTool/getVariableTextData",(async(e,t)=>{let{getState:n}=t;const r=n().refinementTool,o=r.origin,a=X(r.refinements,r.proofType,r.collection),s=B.Lt.collectionSkus(n());return("PublicOrder"===o?await i.Ay.orderPublicGetVariableTextData(a,s,e?[e]:[],r.publicOrderId):await i.Ay.cartGetVariableTextData(a,s,e?[e]:[],(0,l.UN)(o,n()))).data})),ee=(0,r.zD)("refinementTool/setVariableTextData",(async(e,t)=>{let{getState:n}=t;const r=n().refinementTool,o=r.origin,a=X(r.refinements,r.proofType,r.collection),s=B.Lt.collectionSkus(n());return("PublicOrder"===o?await i.Ay.orderPublicSetVariableTextData(a,s,e,r.publicOrderId):await i.Ay.cartSetVariableTextData(a,s,e,(0,l.UN)(o,n()))).data})),te=(0,r.zD)("refinementTool/verifyVariableText",(async(e,t)=>{let{getState:n}=t;const r=n().refinementTool,o=r.origin,a=X(r.refinements,r.proofType,r.collection),s=B.Lt.collectionSkus(n());return("PublicOrder"===o?await i.Ay.orderPublicVerifyVariableText(a,s,e?[e]:void 0,r.publicOrderId):await i.Ay.cartVerifyVariableText(a,s,e?[e]:void 0,(0,l.UN)(r.origin,n()))).data})),ne=(0,r.zD)("refinementTool/getPricePreviews",(async(e,t)=>{let{getState:n,dispatch:r}=t;const o=(0,c.iZ)(n()),a=n().authorization.isAuthenticated,s=n().refinementTool.origin;if(a&&("CollectionTool"===s||!o))return{};if(!a&&"CollectionTool"===s)return{};r(_t());const l=n().refinementTool;if("article"===l.type&&!l.refinements.filter((e=>(0,D.yE)(e,"article"))).length)return{};F&&F.cancel("Fetching new price previews, cancel in flight request"),F=(0,i.ws)();const u=X(l.refinements,l.proofType,l.collection),d="refinement"===l.type?l.productAddons.filter((e=>{var t;return!(null===(t=e.positions)||void 0===t||!t.length)})):[],p=B.Lt.collectionSkus(n());return(await i.Ay.refinementsGetPricePreviews("article"===l.type,u,d,p,l.publicOrderId,F.token)).data})),re=(0,r.zD)("refinementTool/getRefinementBasePreview",(async(e,t)=>{let{getState:n,dispatch:r,rejectWithValue:i}=t;const o=n(),a=Jt(o.refinementTool.refinements,e),s=null===a||void 0===a?void 0:a.variations.data,l=null===s||void 0===s?void 0:s.id,c=o.refinementTool.publicOrderId;if("number"!==typeof l)throw new Error("No refinement type id, should not happen.");if(j.Y[l])return j.Y[l];const u=await r(ie({ids:[l],orderIdentifier:c}));if(ie.fulfilled.match(u)){const t=j.Y[l];if(!t)return i({name:e,message:"No content"});const a=n().refinementTool.selectedRefinementGuid;var d;if("number"!==typeof(null===s||void 0===s?void 0:s.quantity)&&e===a&&"article"===o.refinementTool.type)r(ye({quantity:null!==(d=t.minQuantity)&&void 0!==d?d:25}));return t}return ie.rejected.match(u)?i(u.error):void 0})),ie=(0,r.zD)("refinementTool/getRefinementBasePreviews",(async e=>{let{ids:t,orderIdentifier:n}=e;const r=t.filter((e=>!j.Y[e])),o=r.join("");if(!r.length)return;G[o]&&G[o].cancel("Fetching new preview, cancel in flight request"),G[o]=(0,i.ws)();const a=await i.Ay.refinementsGetBasePreviews(t,n,G[o].token);for(const i of a.data)i.id&&(j.Y[i.id]=i)})),oe=(0,r.zD)("refinementTool/searchPMSColor",(async(e,t)=>{let{rejectWithValue:n}=t;try{var r;const t=null===(r=await i.Ay.searchPMSColor(e.search,!!e.exactMatch))||void 0===r?void 0:r.data;return{colorIndex:e.colorIndex,colors:t}}catch(o){return n(void 0)}})),ae=(e,t,n,r)=>{var i,o,a,s;return{...e.variations,data:{...e.variations.data,colorBacking:(0,D.hk)(e,null===(i=e.variations.data)||void 0===i?void 0:i.colorBacking).value,mockupType:"service"===t?y.MockupType.Service:y.MockupType.Created,quantity:n||(null===(o=e.variations.data)||void 0===o?void 0:o.quantity),description:null!==(a=null===(s=e.variations.data)||void 0===s?void 0:s.description)&&void 0!==a?a:r,repeat:e.repeat}}},se=(e,t)=>{const n=new Set([...e.flatMap((e=>[e.filePreview,e.fileConverted,e.fileOrg,e.fileSample])),...t||[]]);return Array.from(n).filter(Boolean)},le=(0,r.zD)("refinementTool/addToCart",(async(e,t)=>{let{getState:n,dispatch:r,rejectWithValue:i}=t;const{type:o,status:a,publicOrderId:s,refinements:l,proofType:c,origin:u,collection:d,options:p,productAddons:h}=n().refinementTool;if("unknown"===o||!l)return;if("ready"!==a)return;r(Rt());const f=n(),m=B.Lt.validateSplits(f);var g;if(B.Lt.invalidVariableText(f))return r(jt(null===(g=B.Lt.variableRefinements(f).at(-1))||void 0===g?void 0:g.guid)),i();if(m)return r(Vt(m)),r(zt(T.y6)),i();let v=[];for(const y of l.values())y.touched&&((0,D.l)(y)||v.push(y.guid));const A=B.Lt.validateSubmit(f);if(v.length||!A)return v.length&&r(jt(v[0])),i(v);let b=[],w=[];const x=await r(de({refinements:l}));let C,S={};de.fulfilled.match(x)&&(S=x.payload.snapshots,C=x.payload.canvasFilesPositions);const k=B.Lt.names(f);for(const y of l){const e=await en(y,S),t=y.stockOperation,n=(0,D.Qe)(y,d),r=k[y.guid].split(":").pop(),i=ae(y,c,n,r),o=y.canvasFiles.map((e=>{var t;return(null===(t=C.find((t=>t.canvasFileId===e.id&&t.refinementId===y.guid)))||void 0===t?void 0:t.position)||e.position})).filter((e=>!!e)),a=se(o,y.attachments);b=[...b,...e],w=[...w,{...i,files:a,stockOperation:t,positions:o}]}b=b.filter(((e,t,n)=>n.findIndex((t=>t.name===e.name))===t));const E={refinements:w,files:b,services:p.servicesChanged?p.services.reduce(((e,t)=>{var n;return t.type===y.PartnerCostType.DeliveryOption&&t.selected?{...e,deliveryOption:t.id}:t.type===y.PartnerCostType.OptionalCostByQuantity&&t.selected&&t.id?{...e,optionals:[...null!==(n=e.optionals)&&void 0!==n?n:[],t.id]}:e}),{}):void 0,addons:h.filter((e=>{var t;return!(null===(t=e.positions)||void 0===t||!t.length)})),skus:B.Lt.collectionSkus(f),append:!1},I=r(K(u,s));await I.addToCart(E)})),ce=(0,r.zD)("refinementTool/addDraftToCart",(async(e,t)=>{let{callback:n}=e,{getState:r,dispatch:i}=t;const{type:o,status:a,refinements:s,proofType:l,origin:c,selectedRefinementGuid:d}=r().refinementTool,p=null===s||void 0===s?void 0:s.find((e=>{let{guid:t}=e;return t===d}));if("unknown"===o||"ready"!==a||!p)return;const{snapshots:h}=(await i(de({refinements:s}))).payload,{stockOperation:f,canvasFiles:m,attachments:g}=p,v=m.map((e=>e.position)).filter((e=>!!e)),y=se(v,g),A=await en(p,h),b=await i((0,u.g2)(c)({input:{...ae(p,l),files:y,stockOperation:f,positions:v},files:A}));return null===n||void 0===n||n(),b.payload.image.thumbNail})),ue=(0,r.zD)("refinementTool/updateCanvasObjects",(async(e,t)=>{let{measurement:n}=e,{dispatch:r,getState:i}=t;const o=i(),a=U(),s=B.Lt.activeRefinements(o),l=B.Lt.backgroundProduct(o),c=[],u=a.getObjects(),d=B.Lt.refinementTypes(o);for(const A of s){var p,h,f,m;const e=A.refinement,t=e.canvasFiles.filter((e=>{var t;return null===(t=A.canvasFileIds)||void 0===t?void 0:t.includes(e.id)})),i=e.variations.colors,o=null===(p=e.variations.data)||void 0===p?void 0:p.width,s=null===(h=e.variations.data)||void 0===h?void 0:h.height,B=null===l||void 0===l||null===(f=l.refinements)||void 0===f?void 0:f.find((t=>{var n;return t.id===(null===(n=e.variations.data)||void 0===n?void 0:n.id)})),F=(null===B||void 0===B?void 0:B.multiColor)&&!B.allowMultiColorPicker,z=null===d||void 0===d?void 0:d.refinementTypes.find((t=>{var n;return t.refinement.id===(null===(n=e.variations.data)||void 0===n?void 0:n.id)}));if(null!==t&&void 0!==t&&null!==(m=t[0])&&void 0!==m&&m.needPreviewImage){if(c.push(A),(null===z||void 0===z?void 0:z.refinement.type)===y.RefinementType.Text)for(const n of t){var g,v,b,w,x,C,S,k,E,I,_,P,O,T,j,N,M,R,L;const t=u.find((e=>{const t=e.data;return(null===t||void 0===t?void 0:t.canvasFileId)===(null===n||void 0===n?void 0:n.id)})),i=await Ce(null!==(g=null===(v=e.variations)||void 0===v||null===(b=v.text)||void 0===b?void 0:b.value)&&void 0!==g?g:"",{fontFamily:null!==(w=null===(x=e.variations)||void 0===x||null===(C=x.text)||void 0===C?void 0:C.font)&&void 0!==w?w:"Arial",fill:null!==(S=null===(k=e.variations.colors)||void 0===k||null===(E=k[0])||void 0===E?void 0:E.sourceHex)&&void 0!==S?S:"#000000"},null===z||void 0===z||null===(I=z.refinement)||void 0===I?void 0:I.textOptions);null===t||void 0===t||t.set({height:i.fabricImage.height,width:i.fabricImage.width,data:{...t.data,text:{...null===(_=t.data)||void 0===_?void 0:_.text,value:null===(P=e.variations)||void 0===P||null===(O=P.text)||void 0===O?void 0:O.value}},_element:i.fabricImage._element,_originalElement:i.fabricImage._originalElement});const o=(null!==(T=null===(j=e.variations.data)||void 0===j?void 0:j.size)&&void 0!==T?T:0)/10,a=z.refinement.sizeMode,s=[y.SizeMode.SquareCm,y.SizeMode.None].includes(a)?null===(N=e.variations.data)||void 0===N?void 0:N.height:a===y.SizeMode.FixedHeights?o:void 0,l=[y.SizeMode.SquareCm,y.SizeMode.None].includes(a)?null===(M=e.variations.data)||void 0===M?void 0:M.width:a===y.SizeMode.FixedWidths?o:void 0;r(ve({value:null===(R=e.variations)||void 0===R||null===(L=R.text)||void 0===L?void 0:L.value},e.guid,t,s,l))}if((null===z||void 0===z?void 0:z.refinement.type)===y.RefinementType.Image){if(null!==i&&void 0!==i&&i.length)for(const e of t){const t=u.find((t=>{const n=t.data;return(null===n||void 0===n?void 0:n.canvasFileId)===(null===e||void 0===e?void 0:e.id)}));t&&(t.filters=[],(0,D.kd)(0,t,!0,["rgba(0,0,0,0)"],"rgba(0,0,0,0)"),we(i,t,F))}n&&o&&(0,D.Cv)(a,a.getActiveObject(),n,o,s)}}}if(c.length){a.renderAll();const e=$t("refinement");for(const t of c){var F;null!==(F=t.canvasFileIds)&&void 0!==F&&F.length&&t.refinement.guid&&(0,A.vA)((()=>{var n;r(at({guid:t.refinement.guid,base64:null===e||void 0===e?void 0:e.preview})),null===(n=t.canvasFileIds)||void 0===n||n.forEach((e=>{r(ot({guid:t.refinement.guid,posId:e,canvasFile:{needPreviewImage:!1}}))}))}))}}})),de=(0,r.zD)("refinementTool/snapPreviewImages",(async(e,t)=>{let{refinements:n}=e,{getState:r,dispatch:i}=t;const o={},a=n.flatMap((e=>e.convertedFile?e.canvasFiles.filter((e=>e.needPreviewImage)).map((t=>{var n,r,i,o;return{file:t,convertedImg:e.convertedFile,colors:null!==(n=e.variations.colors)&&void 0!==n?n:void 0,position:t.position,width:null===(r=e.variations.data)||void 0===r?void 0:r.width,id:null===(i=e.variations.data)||void 0===i?void 0:i.id,isText:null===(o=e.variations.data)||void 0===o?void 0:o.isText,guid:e.guid}})):[])),s=U();s.off();for(const C of a){var l,c,u;const e=C.file.position,t=null===e||void 0===e?void 0:e.variationNumber,n=null===e||void 0===e?void 0:e.imageId,r=null===e||void 0===e?void 0:e.split,i=null===t||void 0===t||null===(l=t.match(/^\d+/))||void 0===l?void 0:l[0];if(!t||!n)continue;if(o[`${t}${null!==n&&void 0!==n?n:""}${null!==r&&void 0!==r?r:""}`])continue;if(!i)continue;const S=j.g[i],k=null===(c=S.variations)||void 0===c?void 0:c.find((e=>e.variationNumber===t)),E=null===k||void 0===k||null===(u=k.angles)||void 0===u?void 0:u.find((e=>e.angle===n)),_=(0,I.Ay)(E,I.yj.Preview,y.ImageExtension.Jpg);if(!_)continue;let P;const O=new Promise(((e,t)=>{const n=new Image;n.onload=function(){e(_)},n.onerror=function(){t()},n.src=_}));try{P=await O}catch(x){continue}await tn({backgroundImage:P,canvas:U()});let B=a.filter((e=>{var i;return(null===(i=e.file.position)||void 0===i?void 0:i.variationNumber)===t&&e.file.position.imageId===n&&(!e.file.position.split||e.file.position.split===T.vt||e.file.position.split===r)}));const N=s.getObjects();for(const o of N){const e=o.data;if(!e||e.angle!==n||e.vNr!==t||e.split&&e.split!==r&&e.split!==T.vt)o.visible=!1;else{var d,p;o.visible=!0,B=B.filter((t=>t.file.id!==e.canvasFileId)),(0,D.kd)(0,o,!0,["rgba(0,0,0,0)"],"rgba(0,0,0,0)");const t=null===(d=S.refinements)||void 0===d?void 0:d.find((e=>e.id===C.id)),n=(null===t||void 0===t?void 0:t.multiColor)&&!t.allowMultiColorPicker;if(null===(p=C.colors)||void 0===p||!p.length)continue;if(C.isText){var h,m,g,v,A,b,w;const n=await Ce(null!==(h=null===(m=e.text)||void 0===m?void 0:m.value)&&void 0!==h?h:"",{fontFamily:null!==(g=null===(v=e.text)||void 0===v?void 0:v.font)&&void 0!==g?g:"Arial",fill:null!==(A=null===(b=C.colors)||void 0===b||null===(w=b[0])||void 0===w?void 0:w.sourceHex)&&void 0!==A?A:"#000000"},null===t||void 0===t?void 0:t.textOptions);o.set({_element:n.fabricImage._element,_originalElement:n.fabricImage._originalElement})}else we(C.colors,o,n)}}const M=[];for(const o of B)M.push(f.Ng.fromURL(o.convertedImg,{crossOrigin:"anonymous"}));await Promise.all(M).then((e=>{for(const A of e){var r,i,o,a,l,c,u,d,p,h,f,m,g,v,y;if(!A||null==A.getElement())continue;const e=null!==(r=s.getWidth())&&void 0!==r?r:20,b=null!==(i=s.getHeight())&&void 0!==i?i:20,w={angle:null!==n&&void 0!==n?n:void 0,canvasFileId:C.file.id,vNr:t,split:null!==(o=null===(a=C.file.position)||void 0===a?void 0:a.split)&&void 0!==o?o:void 0,savePreviewOnPlace:!1};A.set({data:w});const x=C.file.position;A.set({angle:null!==(l=null===x||void 0===x?void 0:x.r)&&void 0!==l?l:0}),A.getScaledHeight()>A.getScaledWidth()?A.scaleToHeight(null!==x&&void 0!==x&&x.w?b*x.w:b/2):A.scaleToWidth(null!==x&&void 0!==x&&x.w?e*x.w:e/2);const k=null===s||void 0===s?void 0:s.backgroundImage,I=null!==(c=null===k||void 0===k?void 0:k.getScaledHeight())&&void 0!==c?c:1,_=null!==(u=null===k||void 0===k?void 0:k.getScaledWidth())&&void 0!==u?u:1,P=(null===k||void 0===k?void 0:k.top)-I/2,O=(null===k||void 0===k?void 0:k.left)-_/2;A.set({top:k?(0,D.Bt)(P,I,null!==(d=null===x||void 0===x?void 0:x.y)&&void 0!==d?d:.5):b*(null!==(p=null===x||void 0===x?void 0:x.y)&&void 0!==p?p:.5),left:k?(0,D.Bt)(O,_,null!==(h=null===x||void 0===x?void 0:x.x)&&void 0!==h?h:.5):e*(null!==(f=null===x||void 0===x?void 0:x.x)&&void 0!==f?f:.5),angle:null!==(m=null===x||void 0===x?void 0:x.r)&&void 0!==m?m:0,originX:"center",originY:"center"}),s.add(A),(0,D.kd)(0,A,!0,["rgba(0,0,0,0)"],"rgba(0,0,0,0)");const T=null===(g=S.refinements)||void 0===g?void 0:g.find((e=>e.id===C.id)),j=(null===T||void 0===T?void 0:T.multiColor)&&!T.allowMultiColorPicker;if(!C.isText&&null!==(v=C.colors)&&void 0!==v&&v.length&&we(C.colors,A,j),null!==E&&void 0!==E&&null!==(y=E.imageAreas)&&void 0!==y&&y.measurement&&C.width){(0,D.Cv)(s,A,E.imageAreas.measurement,C.width);const e=Ht(A,C.position,void 0,void 0,void 0,void 0,n,t,C.colors);C.position={...C.position,h:e.h,w:e.w}}}})),s.renderAll();const R=$t("refinement");null!==R&&void 0!==R&&R.preview&&(o[`${t}${null!==n&&void 0!==n?n:""}${null!==r&&void 0!==r?r:""}`]=R.preview)}return{snapshots:o,canvasFilesPositions:a.map((e=>({canvasFileId:e.file.id,refinementId:e.guid,position:e.position})))}})),pe=(e,t)=>(n,r)=>{const i=r(),o=U(),a=B.Lt.selectedRefinement(i);if(e===T.vt){const e=t;if(i.refinementTool.showAddons)n(Ge({split:e}));else{const t=null===o||void 0===o?void 0:o.getActiveObject(),r=B.Lt.activeCanvasFiles(i);if(!a||!r.length)return;const s=null===t||void 0===t?void 0:t.get("data");null===t||void 0===t||t.set({data:{...s,split:e}});for(const i of r){const t=i.position;n(ot({guid:a.guid,posId:i.id,canvasFile:{position:{...t,filePreview:`${null===t||void 0===t?void 0:t.variationNumber}-${null===t||void 0===t?void 0:t.imageId}-${e}-preview.jpg`,split:e}}}))}}n(zt(e))}else(0,A.vA)((()=>{n(jt(void 0)),n(zt(T.y6))}))},he=(e,t,n)=>(r,i)=>{const o=i(),a=B.Lt.selectedRefinement(o),s=U();if(e===T.vt){const e=n;if(o.refinementTool.showAddons)r(Ge({split:e,skus:t}));else{const n=null===s||void 0===s?void 0:s.getActiveObject(),i=B.Lt.activeCanvasFiles(o);if(!a||!i)return;const l=null===n||void 0===n?void 0:n.get("data");null===n||void 0===n||n.set({data:{...l,split:e}});for(const o of i){const n=o.position;r(ot({guid:a.guid,posId:o.id,canvasFile:{position:{...n,filePreview:`${null===n||void 0===n?void 0:n.variationNumber}-${null===n||void 0===n?void 0:n.imageId}-${e}-preview.jpg`,skus:t,split:e}}}))}}r(zt(e))}else{const n=B.Lt.selectedVariationNr(o);if(o.refinementTool.showAddons)r(Ge({split:e,skus:t}));else{const i=B.Lt.refinements(o).flatMap((t=>t.canvasFiles.filter((t=>{var r,i;return(null===(r=t.position)||void 0===r?void 0:r.variationNumber)===n&&(null===(i=t.position)||void 0===i?void 0:i.split)===e})).map((e=>({refinementGuid:t.guid,canvasFile:e})))));for(const n of i){const i=n.canvasFile.position;r(ot({guid:n.refinementGuid,posId:n.canvasFile.id,canvasFile:{position:{...i,skus:t,split:e}}}))}}}r(ne())},fe=(0,r.zD)("refinementTool/selectRefinementType",(async(e,t)=>{let{base64:n,refinement:r}=e,{dispatch:i}=t;(0,A.vA)((()=>{i(rt(r.id)),i(ye({id:r.id,description:r.name})),n&&i(at({base64:n}))}))})),me=(0,r.zD)("refinementTool/getRefinementProducts",(async(e,t)=>{let{getState:n}=t;const r=B.Lt.collectionProductNumbers(n());if(!r.length)return;const o=n().refinementTool.publicOrderId,a=await i.Ay.refinementsGetProducts(r,o);for(const i of a.data){var s;i.productNumber&&(null!==(s=i.refinements)&&void 0!==s&&s.find((e=>e.isProduct))||(j.g[i.productNumber]=i))}})),ge=(0,r.zD)("refinementTool/setBackgroundRefinementProduct",(async(e,t)=>{let{dispatch:n,rejectWithValue:r,getState:i}=t;return j.g[e]||await n(me()),j.g[e]?j.g[e]:r("Could not get refinement products")}),{condition:(e,t)=>{let{getState:n}=t;return!n().refinementTool.backgroundProductsError[e]}}),ve=(e,t,n,r,i,o,a)=>async(s,l)=>{var c,u,d,p,h,f,m,g;const v=t||l().refinementTool.selectedRefinementGuid,A=l().refinementTool.refinements.find((e=>e.guid===v));if(!v)return;if(s(At({text:e,guid:v})),!n)return;const{size:b,productMeasurement:w,refinementType:x}={size:B.Lt.size(l()),productMeasurement:null!==o&&void 0!==o?o:null===(c=B.Lt.backgroundImages(l()))||void 0===c||null===(u=c.imageAreas)||void 0===u?void 0:u.measurement,refinementType:B.Lt.type(l())},C=[y.SizeMode.SquareCm,y.SizeMode.FixedHeights,y.SizeMode.None].includes(null===b||void 0===b?void 0:b.mode),S=[y.SizeMode.SquareCm,y.SizeMode.FixedWidths,y.SizeMode.None].includes(null===b||void 0===b?void 0:b.mode),k=null!==r&&void 0!==r?r:C?null===A||void 0===A||null===(d=A.variations)||void 0===d||null===(p=d.data)||void 0===p?void 0:p.height:void 0,E=null!==i&&void 0!==i?i:S?null===A||void 0===A||null===(h=A.variations)||void 0===h||null===(f=h.data)||void 0===f?void 0:f.width:void 0,I=C?k:null!==E&&void 0!==E?E:0,_=C?"height":"width",P={[_]:null!==I&&void 0!==I?I:null},O=await nn(n,null!==(m=P.width)&&void 0!==m?m:null,null!==(g=P.height)&&void 0!==g?g:null,null===n||void 0===n?void 0:n.width,null===n||void 0===n?void 0:n.height,x);if(O){const{width:e,height:t}=O;(0,D.Cv)(U(),n,w,P.width,P.height),s(ye({width:e,height:t,size:e*t},v,a))}},ye=(e,t,n)=>(r,i)=>{const o=B.Lt.sizeMode(i());if("number"===typeof(null===e||void 0===e?void 0:e.quantity)){var a,s,l;const t=null===(a=B.Lt.selectedRefinement(i()))||void 0===a?void 0:a.preview.data;r(wt(!(e.quantity>=(null!==(s=null===t||void 0===t?void 0:t.minQuantity)&&void 0!==s?s:1)&&e.quantity%(null!==(l=null===t||void 0===t?void 0:t.stepQuantity)&&void 0!==l?l:1)===0)))}e.size&&[y.SizeMode.FixedHeights,y.SizeMode.FixedWidths].includes(o)&&(e.size=o===y.SizeMode.FixedHeights?10*e.height:10*e.width);const c=t||i().refinementTool.selectedRefinementGuid;c&&(r(bt({data:e,guid:c})),e.id&&r(re(c)),n||r(ne()))},Ae=e=>{let{obj:t,measurement:n}=e;return(e,r)=>{var i,o,a,s,l;const c=null===(i=t.data)||void 0===i?void 0:i.guid,u=B.Lt.refinements(r()),d=Jt(u,c),p=B.Lt.type(r());if(null===n||void 0===n||!n.lengthCm||(null!==(o=null===d||void 0===d||null===(a=d.variations)||void 0===a?void 0:a.articleId)&&void 0!==o?o:0)>0)return;const h=U(),f=null===h||void 0===h?void 0:h.backgroundImage;if(!f)return;const{width:m,height:g}=(0,D.SC)(t,f,n),v={width:null===d||void 0===d||null===(s=d.variations.data)||void 0===s?void 0:s.width,height:null===d||void 0===d||null===(l=d.variations.data)||void 0===l?void 0:l.height};if((null===v||void 0===v?void 0:v.height)!==g||(null===v||void 0===v?void 0:v.width)!==m){const t=$t(p,!1);(0,A.vA)((()=>{e(Lt("size")),e(ye({width:m,height:g,size:m*g})),e(at({size:!0,base64:t.preview}))}))}}},be=e=>{let{obj:t,whitish:n,skipPlacement:r,newPlacement:i}=e;return(e,o)=>{var a;const s=o(),l=t.data,c=Jt(B.Lt.refinements(s),null===l||void 0===l?void 0:l.guid),u=B.Lt.backgroundImages(s),d=null===c||void 0===c?void 0:c.canvasFiles.find((e=>e.id===(null===l||void 0===l?void 0:l.canvasFileId)));if(!c||null===d||void 0===d||!d.placed)return;const p=B.Lt.type(s),{variationNr:h,angle:f}=B.Lt.selectedBackground(s),m=c.newFile,g=null===m||void 0===m?void 0:m.name,v=Ht(t,d.position,g,c.newFileName,n,r,"refinement"===p?f:void 0,h,null===(a=c.variations.colors)||void 0===a?void 0:a.filter((e=>!!e.replaced))),y=function(e,t){if(!e)return{updateNeeded:!0,changes:Object.keys(t)};let n=[];t.fileOrg!==e.fileOrg&&n.push("fileOrg");t.darkBg!==e.darkBg&&n.push("darkBg");t.w!==e.w&&n.push("w");t.h!==e.h&&n.push("h");t.x!==e.x&&n.push("x");t.y!==e.y&&n.push("y");return{updateNeeded:n.length>0,changes:n}}(d.position,v);if(null!==l&&void 0!==l&&l.guid&&y.updateNeeded){var A,b,w,x;e(ot({guid:l.guid,posId:d.id,canvasFile:{fileName:null!==(A=v.fileOrg)&&void 0!==A?A:void 0,position:v}}));const n=(null===(b=c.canvasFiles)||void 0===b?void 0:b.length)>1,r=!(null===u||void 0===u||null===(w=u.imageAreas)||void 0===w||null===(x=w.measurement)||void 0===x||!x.lengthCm);!i&&n&&r&&["w","h"].some((e=>y.changes.includes(e)))&&(e(nt(!0)),setTimeout((()=>{e(nt(!1))}),8100)),t.set({data:{...l,position:{x:v.x,y:v.y,w:v.w,h:v.h}}})}}},we=(e,t,n)=>{var r,i,o,a;const s=null!==(r=e.map((e=>{var t;return(0,C.j)(null!==(t=e.sourceHex)&&void 0!==t?t:"")})))&&void 0!==r?r:[],l=null===t||void 0===t?void 0:t._element,c=null!==(i=null===l||void 0===l||null===(o=l.getContext)||void 0===o||null===(a=o.call(l,"2d"))||void 0===a?void 0:a.getImageData(0,0,l.width,l.height).data)&&void 0!==i?i:[],u=new Set,d=Array.from({length:e.length},(()=>[]));for(let h=0,f=c.length;h<f;h+=4){const e=c[h],t=c[h+1],n=c[h+2],r=c[h+3],i=`rgba(${e}, ${t}, ${n}, ${r})`;if(0===r||u.has(i))continue;const o=(0,C.kN)(s,[e,t,n]);Array.isArray(d[o])&&(d[o].push(i),u.add(i))}for(const[h,f]of d.entries()){var p;(0,D.kd)(h,t,!!n,f,null!==(p=e[h].replaced?e[h].replacedHex:e[h].sourceHex)&&void 0!==p?p:"transparent",void 0,h<d.length-1)}},xe=e=>(t,n)=>{const r=n();if("article"===r.refinementTool.type){const n=B.Lt.selectedRefinement(r);if(null!==n&&void 0!==n&&n.canvasFiles.length){const r=[null===n||void 0===n?void 0:n.canvasFiles[(null===n||void 0===n?void 0:n.canvasFiles.length)-1].id];t(ke({refinement:n,canvasFileIds:r},e))}}else{B.Lt.activeRefinements(r).forEach((n=>{t(ke(n,e))}))}t(yt(!1))},Ce=async(e,t,n)=>new Promise((r=>{const i=(0,E.Yc)(null===n||void 0===n?void 0:n.fontCategories).find((e=>e.name===t.fontFamily||e.fontName===t.fontFamily)),o=(0,E.Aj)({fontFamily:null===i||void 0===i?void 0:i.fontName,fill:t.fill},n),a=new f.X("    "+e+"    ",{fontFamily:(null===i||void 0===i?void 0:i.fontName)||(null===t||void 0===t?void 0:t.fontFamily)||"Arial",fill:t.fill||"#000000",fontSize:200,...o}).toCanvasElement(),s=a.getContext("2d"),l=null===s||void 0===s?void 0:s.getImageData(0,0,a.width,a.height).data;if(!l)return;let c={top:-1,bottom:-1,left:-1,right:-1};for(let e=0;e<a.height;e++)for(let t=0;t<a.width;t++){0!==l[4*(e*a.width+t)+3]&&(-1===c.top&&(c.top=e),(-1===c.left||t<c.left)&&(c.left=t),(-1===c.right||t>c.right)&&(c.right=t),c.bottom=e)}const u=document.createElement("canvas");u.width=c.right-c.left+1,u.height=c.bottom-c.top+1;const d=u.getContext("2d");null===d||void 0===d||d.drawImage(a,-c.left,-c.top);const p=u.toDataURL("image/png");f.Ng.fromURL(p,{crossOrigin:"anonymous"}).then((e=>{r({fabricImage:e,base64:p})}))})),Se=e=>{if(e)return{x:0,x2:1,lengthCm:e,type:"measurement"}},ke=(e,t)=>async(n,r)=>{var i;const o=r(),a=e.refinement,s=a.canvasFiles.filter((t=>{var n;return null===(n=e.canvasFileIds)||void 0===n?void 0:n.includes(t.id)})),l=B.Lt.backgroundProduct(o),c=B.Lt.selectedRefinementType(o),u="article"===o.refinementTool.type?void 0:B.Lt.selectedBackground(o),d=B.Lt.refinementTypes(o),p=null===d||void 0===d?void 0:d.refinementTypes.find((e=>{var t;return e.refinement.id===(null===(t=a.variations.data)||void 0===t?void 0:t.id)}));let h=a.convertedFile;const{mode:m,sizes:A=[]}=null!==(i=B.Lt.size(o))&&void 0!==i?i:{};for(const T of s){var b,w,x;if(T&&!h&&null!==(b=a.variations.text)&&void 0!==b&&b.value){var C,S,k,E,I,_,P,O;if(n(ot({guid:a.guid,posId:T.id,canvasFile:{placed:!0}})),null!==(C=a.variations.text)&&void 0!==C&&C.font)await new(g())(null===(O=a.variations.text)||void 0===O?void 0:O.font).load().catch((e=>null));h=null===(S=await Ce(a.variations.text.value,{fontFamily:null!==(k=null===(E=a.variations.text)||void 0===E?void 0:E.font)&&void 0!==k?k:"Arial",fill:null!==(I=null===(_=a.variations.colors)||void 0===_||null===(P=_[0])||void 0===P?void 0:P.sourceHex)&&void 0!==I?I:"#000000"},null===c||void 0===c?void 0:c.textOptions))||void 0===S?void 0:S.base64,n(gt({guid:a.guid,fileData:{convertedFile:h}})),n(at({convertedFile:!0}))}const r=null===l||void 0===l||null===(w=l.refinements)||void 0===w?void 0:w.find((e=>{var t;return e.id===(null===(t=a.variations.data)||void 0===t?void 0:t.id)})),i="article"===o.refinementTool.type?null===c||void 0===c?void 0:c.multiColor:(null===r||void 0===r?void 0:r.multiColor)&&!r.allowMultiColorPicker;if(!h||T.placed)continue;n(ot({guid:a.guid,posId:T.id,canvasFile:{placed:!0,needPreviewImage:!1,hasManipulatedSize:!1}}));const s=T.userProof,d=null!==(x=a.variations.colors)&&void 0!==x?x:[],j=T.position;f.Ng.fromURL(h,{crossOrigin:"anonymous"}).then((r=>{var l,c,h,f,g,b,w,x,C,S,k,E,I,_,P,O,B,N,M;if(null==(null===r||void 0===r?void 0:r._element))return void n(Pt({guid:a.guid,canvasFileId:T.id}));const R="article"===o.refinementTool.type||s||(null===(l=a.variations.data)||void 0===l?void 0:l.isMounting)||!a.locked,L=!1,F=a.variations.text?!([y.SizeMode.FixedHeights,y.SizeMode.FixedWidths].includes(m)&&null!==t&&void 0!==t&&t.lengthCm):!(s||null!==(c=a.variations.data)&&void 0!==c&&c.repeat||null!==t&&void 0!==t&&t.lengthCm&&(null!==(h=a.variations.articleId)&&void 0!==h?h:0)>0);r.setControlsVisibility({mtr:R,mt:L,mb:L,ml:L,mr:L,bl:F,br:F,tl:F,tr:F,pinControl:!0,unpinControl:!1,lockControl:!(null===t||void 0===t||!t.lengthCm),unlockControl:!1,objectMainColor:!1,objectChangeColor:!1});const z={angle:null!==(f=null!==(g=null===j||void 0===j?void 0:j.imageId)&&void 0!==g?g:null===u||void 0===u?void 0:u.angle)&&void 0!==f?f:void 0,guid:e.refinement.guid,canvasFileId:T.id,vNr:null!==(b=null===j||void 0===j?void 0:j.variationNumber)&&void 0!==b?b:null===u||void 0===u?void 0:u.variationNr,position:{x:null!==(w=null===j||void 0===j?void 0:j.x)&&void 0!==w?w:0,y:null!==(x=null===j||void 0===j?void 0:j.y)&&void 0!==x?x:0,w:null===j||void 0===j?void 0:j.w,h:null===j||void 0===j?void 0:j.h},split:null!==(C=null!==(S=null===j||void 0===j?void 0:j.split)&&void 0!==S?S:null===u||void 0===u?void 0:u.split)&&void 0!==C?C:void 0,autoSizeLocked:!(null===j||void 0===j||!j.w),autoPositionLocked:!0,savePreviewOnPlace:T.firstPlacement,text:(null===p||void 0===p?void 0:p.refinement.type)===y.RefinementType.Text?{value:null!==(k=null===(E=a.variations)||void 0===E||null===(I=E.text)||void 0===I?void 0:I.value)&&void 0!==k?k:"",font:null!==(_=null===(P=a.variations)||void 0===P||null===(O=P.text)||void 0===O?void 0:O.font)&&void 0!==_?_:"Arial",fill:null!==(B=null===(N=a.variations.colors)||void 0===N||null===(M=N[0])||void 0===M?void 0:M.sourceHex)&&void 0!==B?B:"#000000",previewText:!(null===j||void 0===j||!j.fileOrg)}:void 0};if(r.set({data:z}),!s){var Q,V,G,q,H,W;const e=U(),s={x:.21,x2:.79,lengthCm:54,type:"measurement"},l="refinement"===o.refinementTool.type?null!==t&&void 0!==t&&t.lengthCm?t:T.firstPlacement?s:void 0:null!==(Q=a.preview.data)&&void 0!==Q&&Q.dimensions?Se(null===(V=a.preview.data)||void 0===V||null===(G=V.dimensions)||void 0===G?void 0:G.width):void 0;if((0,D.Lq)(e,r,a,l,j,null===p||void 0===p?void 0:p.refinement.sizeMode,(()=>{n(tt(v.A.t("refinement.positionAutoAdjusted"))),setTimeout((()=>{n(tt(void 0))}),8100)})),null!==(q=a.variations.data)&&void 0!==q&&q.isText){var Y,K,J,X,Z,$;const{height:e,width:t}=(null===(Y=a.variations)||void 0===Y?void 0:Y.data)||{},i=null!==(K=null===(J=a.variations)||void 0===J||null===(X=J.text)||void 0===X?void 0:X.value)&&void 0!==K?K:"",o=!l||m!==y.SizeMode.FixedHeights||null!==j&&void 0!==j&&j.h?void 0:+(null!==(Z=null===A||void 0===A?void 0:A[0])&&void 0!==Z?Z:0)/10,s=!l||m!==y.SizeMode.FixedWidths||null!==j&&void 0!==j&&j.h?void 0:+(null!==($=null===A||void 0===A?void 0:A[0])&&void 0!==$?$:0)/10;n(ve({value:i},a.guid,r,o||e,s||t,l))}else null===l||void 0===l||!l.lengthCm||null!==(H=a.variations.data)&&void 0!==H&&H.height||n(Ae({obj:r,measurement:l}));var ee,te,ne,re,ie;if(e.add(r),a.guid===o.refinementTool.selectedRefinementGuid&&e.setActiveObject(r),e.requestRenderAll(),(0,D.kd)(0,r,!0,["rgba(0,0,0,0)"],"rgba(0,0,0,0)"),(null===(W=a.variations.data)||void 0===W||!W.isText)&&null!==d&&void 0!==d&&d.length)if(null!==j&&void 0!==j&&j.colorChange&&null!==(ee=a.variations.data)&&void 0!==ee&&null!==(te=ee.colorChangePms)&&void 0!==te&&null!==(ne=te[0])&&void 0!==ne&&ne.hex)we([{replaced:!0,replacedHex:null===(re=a.variations.data.colorChangePms)||void 0===re?void 0:re[0].hex,replacedName:null===(ie=a.variations.data.colorChangePms)||void 0===ie?void 0:ie[0].name}],r,i);else we(d,r,i)}const oe=s||"article"!==o.refinementTool.type?void 0:Yt(r.getElement());!s&&n(be({obj:r,whitish:oe,skipPlacement:!T.firstPlacement,newPlacement:!0}))}))}},Ee=e=>()=>{const t=U();for(const e of null!==(n=null===t||void 0===t?void 0:t.getObjects())&&void 0!==n?n:[]){var n;const r=e.data;null!==r&&void 0!==r&&r.areaType&&t.remove(e)}if(null!==e&&void 0!==e&&e.length){const n=(e=>{var t,n,r,i;const o=null===(t=U())||void 0===t?void 0:t.backgroundImage,a=null!==(n=null===o||void 0===o?void 0:o.getScaledHeight())&&void 0!==n?n:1,s=null!==(r=null===o||void 0===o?void 0:o.getScaledWidth())&&void 0!==r?r:1,l=(null===o||void 0===o?void 0:o.top)-a/2,c=(null===o||void 0===o?void 0:o.left)-s/2;return null!==(i=null===e||void 0===e?void 0:e.map(((e,t)=>({width:s?s*e.width:e.width,height:a?a*e.height:e.height,top:(0,D.Bt)(l,a,e.y),left:(0,D.Bt)(c,s,e.x),data:{areaIndex:t,areaType:e.type,position:{x:e.x,y:e.y}}}))))&&void 0!==i?i:[]})(e);for(const e of n)t.add(new f.rw({...e,fill:/^preff?err?ed/i.test(e.data.areaType)?"rgba(0, 128, 0, 0.2)":/^constrained/.test(e.data.areaType)?"transparent":"rgba(255, 0, 0, 0.2)",stroke:/^preff?err?ed/i.test(e.data.areaType)?"rgba(0, 128, 0, 0.5)":/^constrained/.test(e.data.areaType)?"rgba(0, 0, 0, 0.5)":"rgba(255, 0, 0, 0.5)",strokeDashArray:[5,5],strokeWidth:2,lockMovementX:!0,lockMovementY:!0,selectable:!1,hoverCursor:"default",visible:!1}))}t.requestRenderAll()},Ie=()=>()=>{const e=U();e.backgroundImage=void 0,e.requestRenderAll()},_e=(e,t,n)=>()=>{const r=U(),i=document.createElement("canvas"),o=i.getContext("2d"),a=1200,s=e.width/e.height,[l,c]=s>1?[e.width*(a/e.height),a]:[a,e.height*(a/e.width)];if(i.width=l,i.height=c,o){o.strokeStyle="#7e7e7e",o.lineWidth=8,o.setLineDash([10,10]),o.strokeRect(0,0,l,c);const a=t=>{f.Ng.fromURL(t).then((t=>{const[i,a]=[r.getWidth(),r.getHeight()],s=Math.min((i-60)/l,(a-60)/c);t.set({top:a/2,left:i/2,originX:"center",originY:"center",scaleX:s,scaleY:s}),r.backgroundImage=t,r.renderAll();if(!r.getObjects().find((e=>{var t,r;return(null===(t=e.get("data"))||void 0===t?void 0:t.guid)===n&&(null===(r=e.get("data"))||void 0===r?void 0:r.isDimensionsText)}))){const t=`${e.width} x ${e.height}`;o.font="20px Arial";const u=o.measureText(t).width,d=a/2-c*s/2-20/2,p=i/2+l*s/2-u/2,h=new f.X(t,{top:d,left:p,fontSize:20,fill:"#000",originX:"center",originY:"center",visible:!0,selectable:!1,evented:!1,hasControls:!1,hasBorders:!1,data:{guid:n,isDimensionsText:!0,position:{x:p,y:d}}});r.add(h)}r.requestRenderAll()}))};t?((e,t)=>{const n=new Image;n.crossOrigin="Anonymous",n.src=e,n.onload=()=>t(n),n.onerror=()=>P.A.error("Failed to load the image.")})(t,(e=>{o.drawImage(e,0,0,l,c),a(i.toDataURL("image/png"))})):a(i.toDataURL("image/png"))}},Pe=(0,r.zD)("refinementTool/createTextObject",(async(e,t)=>{var n;let{getState:r,dispatch:i,rejectWithValue:o}=t;const{text:a,fontFamily:s,fontPmsColor:l,textOptions:c}=e,u=r(),d=u.refinementTool.origin,p=B.Lt.selectedRefinementType(u);let h=u.refinementTool.selectedRefinementGuid;if(!h){h=i(Fe())}const f=await Ce(a,{fontFamily:null!==s&&void 0!==s?s:"Arial",fill:null!==(n=null===l||void 0===l?void 0:l.hex)&&void 0!==n?n:"#000000"},c);i(ve({value:a,font:s},h,f.fabricImage,void 0,void 0,void 0,(null===p||void 0===p?void 0:p.id)<0)),i(gt({fileData:{colors:[{sourceHex:null===l||void 0===l?void 0:l.hex,sourceName:null===l||void 0===l?void 0:l.name,visible:!0}]}}));const m=`text-${(0,O.A)(a)}-${(new Date).getTime()}.png`,g=(null===c||void 0===c?void 0:c.mode)===y.TextMode.Variable&&"CollectionTool"!==d?"Text.xlsx":void 0,v=B.Lt.selectedSplit(u);return{guid:h,data:{base64Image:f.base64,selectedSplit:v,nameOverride:m,file:{name:g}}}}));let Oe;const Te=(0,r.zD)("refinementTool/uploadFile",(async(e,t)=>{var n;let{getState:r,dispatch:o,rejectWithValue:s}=t;Oe&&Oe.cancel("New upload file. Cancel in flight request");const l=e.file,c=r();let d=null!==(n=null===e||void 0===e?void 0:e.guid)&&void 0!==n?n:c.refinementTool.selectedRefinementGuid;try{var p,h,f,m,g;Oe=(0,i.ws)();const t=14;if(l.size>1048576*t)return s({guid:d,data:{name:"processFileError",message:v.A.t("file.processFileErrorFileSize",{value:t})}});if(!d){d=o(Fe())}null!==e&&void 0!==e&&e.guid&&o(jt(e.guid));const n=await i.Ay.base64FromFiles([l],Oe.token);let{contentType:a,value:A,pmsAnalysis:b,pmsFile:w,widthCm:x,heightCm:C,width:S,height:k,isMultiColor:E}=n.data[0];const I=function(e,t,n,r,i){var o;const a=(0,u.PO)(t).data,s=t.refinementTool.backgroundProduct,l=null!==(o="article"===e?a.flatMap((e=>{var t;return null!==(t=e.refinements)&&void 0!==t?t:[]})):null===s||void 0===s?void 0:s.refinements)&&void 0!==o?o:[],c=(0,D.No)(l,{id:"mockCanvasFile",fileType:n.type,multiColor:i,userProof:r,placed:!1});return c}(c.refinementTool.type,c,l,!1,E);if(!A)return s({guid:d,data:{name:"processFileError",message:`${v.A.t("file.processFileError","Could not process file.")} ${v.A.t("file.allowedType")}: .jpg,.jpeg,.png,.svg,.eps,.pdf,.ai`}});const{sizeMode:_,dimensions:P}=null!==(p=null===(h=B.Lt.selectedRefinement(r()))||void 0===h||null===(f=h.preview)||void 0===f?void 0:f.data)&&void 0!==p?p:{};let O=null!==C&&void 0!==C?C:k,T=null!==x&&void 0!==x?x:S;if(_===y.SizeMode.FixedDimensions&&P){const e=T/O;T=Math.min(P.width,P.height*e),O=T/e}o(Ne(T,O,b));const j=`data:${a};base64,${A}`,N={base64Image:j,pmsAnalysis:b,pmsFile:w,file:l,isMultiColor:E,selectedSplit:B.Lt.selectedSplit(c)},M=null===(m=B.Lt.selectedRefinement(r()))||void 0===m||null===(g=m.variations.data)||void 0===g?void 0:g.id;return d&&M&&!I.includes(M)?(o(mt({data:N,input:e,guid:d,hasCompatible:!!I.length})),s({guid:d,data:{fileType:l.type,multiColor:!!E}})):{guid:d,data:N}}catch(A){return a().isCancel(A)?s({data:void 0}):s({message:A instanceof Error?A.toString():"Unknown error"})}})),De=(0,r.zD)("refinementTool/searchArticles",(async(e,t)=>{let{page:n,publicOrderId:r}=e,{getState:o,rejectWithValue:s}=t;z&&z.cancel("Fetching new articles, cancel in flight request");try{const e=o().refinementTool,t=e.articleSearchInputs,a=t.search,s=JSON.stringify(e.articleFilters.active),l=(0,S.t7)(t.from),c=(0,S.t7)(t.to);z=(0,i.ws)();return(await i.Ay.searchArticles(null!==a&&void 0!==a?a:"",s,t.pageSize,null!==n&&void 0!==n?n:1,l,c,z.token,r)).data}catch(l){return a().isCancel(l)?s(void 0):s({message:l instanceof Error?l.toString():"Unknown error"})}})),je=(0,r.zD)("refinementTool/addArticle",(async(e,t)=>{let{getState:n,dispatch:r}=t;const o=n(),a=B.Lt.refinements(o).find((t=>t.variations.articleId===e.id)),s=B.Lt.selectedSplit(o);if(a)r(Le(a.guid,s));else{var l,c,u,d,p,h,f,m,g,v,y,A,b,w,C,S;const t=null===(l=await i.Ay.getMountedArticle(e.id))||void 0===l?void 0:l.data,n=null===t||void 0===t||null===(c=t.data)||void 0===c||null===(u=c.positions)||void 0===u?void 0:u[0];if(!t||!n)return;r(Be({canvasFile:{fileName:null!==(d=n.fileOrg)&&void 0!==d?d:"",fileType:null!==(p=(0,x.QC)(null!==(h=null===n||void 0===n?void 0:n.fileOrg)&&void 0!==h?h:""))&&void 0!==p?p:"",multiColor:!1,userProof:!1},productId:null===(f=t.data)||void 0===f||null===(m=f.data)||void 0===m?void 0:m.id,articleId:null===t||void 0===t||null===(g=t.data)||void 0===g?void 0:g.articleId,articleStockQty:e.stockQuantity,colors:null!==(v=null===t||void 0===t||null===(y=t.data)||void 0===y?void 0:y.colors)&&void 0!==v?v:[],convertedFile:n.fileConverted?null===t||void 0===t||null===(A=t.fileUrls)||void 0===A?void 0:A[n.fileConverted]:"",incompatible:!1,width:null===(b=t.data)||void 0===b||null===(w=b.data)||void 0===w?void 0:w.width,height:null===(C=t.data)||void 0===C||null===(S=C.data)||void 0===S?void 0:S.height,position:n}))}r(ne())})),Be=e=>(t,n)=>{var r,i,o,a;const s=n(),l=e.canvasFile.fileName,c=e.colors,u=s.refinementTool.type;let d=B.Lt.selectedRefinement(s);if(d||(t(Fe(e.productId)),d=B.Lt.selectedRefinement(n())),!d)return void P.A.error("No refinement and could not create new. Should not happen.");const p=B.Lt.selectedVariationNr(s),h=B.Lt.selectedSplit(s),f=B.Lt.selectedAngle(s),m=`${l&&(0,x.WP)(l)}-converted.png`,g=(null===(r=h.split)||void 0===r?void 0:r.id)!==T.y6?null===(i=h.split)||void 0===i?void 0:i.id:h.nextId,v="article"===u?m:`${p}-${f}-${g!==T.vt?g:"0"}-preview.jpg`,y={fileConverted:m,...null!==(o=e.position)&&void 0!==o?o:{},fileOrg:l,filePreview:v,variationNumber:p,imageId:f,split:g!==T.vt?g:void 0,skus:g!==T.vt&&null!==(a=h.split)&&void 0!==a&&a.skus.length?h.split.skus:void 0},b={...e.canvasFile,id:Y(),position:y,placed:!1,firstPlacement:!0};t(Ne(e.width,e.height,null,c));const w=d.guid;(0,A.vA)((()=>{var n;t(yt(!0)),t(gt({productId:e.productId,articleId:null!==(n=e.articleId)&&void 0!==n?n:void 0,articleStockQty:e.articleStockQty,fileData:{convertedFile:e.convertedFile,newFile:e.newFile}})),t(ot({guid:w,posId:b.id,canvasFile:b})),t(zt(g))}))},Ne=(e,t,n,r)=>(i,o)=>{var a;const s=o(),l=B.Lt.selectedRefinement(s),c=B.Lt.sizeMode(s),u={},d=null===l||void 0===l||null===(a=l.preview)||void 0===a?void 0:a.data,[p,h]=c===y.SizeMode.SquareCm&&(null===d||void 0===d?void 0:d.sizes)||[],{width:f,height:m}=function(e,t,n,r){const i=e*t;if(n&&i>n){const r=+Math.sqrt(n).toFixed(1);e>=t?[e,t]=[r,+(t*(r/e)).toFixed(1)]:[t,e]=[r,+(e*(r/t)).toFixed(1)]}else if(r&&i<r){const n=+Math.sqrt(r).toFixed(1);e>=t?[e,t]=[n,+(t*(n/e)).toFixed(1)]:[t,e]=[n,+(e*(n/t)).toFixed(1)]}return{width:t,height:e}}(null!==t&&void 0!==t?t:8,null!==e&&void 0!==e?e:8,h,null!==p&&void 0!==p?p:0);let g;u.width=f?+Number(f.toFixed(1)):void 0,u.height=m?+Number(m.toFixed(1)):void 0,u.size=+(f*m).toFixed(2),n&&(g=n.map((e=>({replaced:!1,visible:!0,sourceType:e.sourceType,sourceName:e.name,sourceHex:e.hex,replacedName:void 0,replacedHex:void 0})))),r&&(g=r),g&&i(gt({fileData:{colors:g}})),u.colors=function(e){let t=[];for(const n of null!==e&&void 0!==e?e:[]){const e=n.replaced?n.replacedName:n.sourceName;e&&!t.includes(e)&&t.push(e)}return t.length}(g),i(bt({data:u}))},Me=()=>(e,t)=>{var n;const{type:r,selectedRefinementGuid:i}=t().refinementTool,o=U(),a=o.getActiveObject(),s=null!==(n=null===a||void 0===a?void 0:a.get("data"))&&void 0!==n?n:{},l=o.getObjects(),c=[];l.forEach((e=>{var n;const o=null!==(n=e.get("data"))&&void 0!==n?n:{},a="article"===r?i===o.guid:B.Lt.activeRefinements(t()).flatMap((e=>e.canvasFileIds)).includes(o.canvasFileId)&&!o.areaType;e.visible=a,a&&i===o.guid&&c.push(e)}));c.find((e=>{var t;return(null===(t=e.data)||void 0===t?void 0:t.canvasFileId)===s.canvasFileId}))||(o.discardActiveObject(),c[0]&&o.setActiveObject(c[0])),o.renderAll()},Re=(e,t)=>(n,r)=>{var i,o,a,s,l,c,u;const d=r(),p=d.refinementTool.type,h=null===(i=B.Lt.refinementArticles(d))||void 0===i?void 0:i.selectedArticle,f=B.Lt.activeCanvasFilesIsUserProof(d),m=e.article,g=e.refinement;if(!e.compatible)return;const v=(null===(o=m.variations)||void 0===o||null===(a=o[0])||void 0===a?void 0:a.variationNumber)||(null===(s=m.variations)||void 0===s||null===(l=s[0])||void 0===l?void 0:l.variationNumber);if(n(et({refinementId:null!==(c=g.id)&&void 0!==c?c:0,variationNumber:null!==v&&void 0!==v?v:void 0,proposalIndex:null!==(u=null===t||void 0===t?void 0:t.index)&&void 0!==u?u:void 0})),m.productNumber&&(null===h||void 0===h?void 0:h.productNumber)!==m.productNumber){if("boolean"===typeof g.multiColor&&!f){var y;const e=null===(y=U())||void 0===y?void 0:y.getActiveObject();if(e&&"applyFilters"in e){const t=cn(e,!!g.multiColor),r=$t(p,t);t&&null!==r&&void 0!==r&&r.sample&&n(gt({fileData:{sampleFile:r.sample}})),n(at({base64:null===r||void 0===r?void 0:r.preview}))}}v&&(0,A.vA)((()=>{n(ye({quantity:void 0,id:g.id})),n(Xe(v))}))}},Le=(e,t)=>n=>{n(It({guid:e,selectedSplit:t})),n(ne())},Fe=e=>(t,n)=>{const r=n(),i=function(e,t,n){const r="number"===typeof n,i=e.refinementType===y.RefinementType.Text;return{guid:W(),variations:{variationNumbers:e.variationNumbers,data:{id:r?n:e.refinementId,isText:i,isProduct:"article"===t,isMounting:r,width:8,height:4,size:32,colors:i?1:0,colorChange:!1,colorChangePms:void 0},files:[],colors:[],positions:[]},touched:!0,preview:{},canvasFiles:[],attachments:[],newAttachments:[],stockOperation:r?y.StockOperation.Remove:y.StockOperation.None}}(B.Lt.createData(r),r.refinementTool.type,e);return(0,A.vA)((()=>{t(Tt(i)),t(jt(i.guid)),t(Rt(!1)),t(Mt({section:"refinements",validating:!0})),t(Mt({section:"articles",validating:!0}))})),i.guid},ze={type:"unknown",dirty:!1,status:"uninitiated",config:{zoom:100,darkBg:!1,grid:!1,isPanning:!1},showModifyCollection:!1,collection:{},canvas:{filesPending:!1,updatesPending:!1,status:"ready"},pmsColorsSuggestions:{index:-1,focusedRow:-1,colors:[]},selectedRefinementGuid:void 0,refinements:[],validating:{all:!1,articles:!1,attachments:!1,canvas:!1,color:!1,customAddons:!1,nameAndTags:!1,name:!1,noFileAddons:!1,other:!1,priceTable:!1,refinements:!1,size:!1,fixedSizes:!1,userProof:!1,text:!1},submitting:!1,invalidQuantity:!1,invalidRefinements:[],invalidSplits:!1,invalidVariableText:!1,refinementsPlacementAdjusted:!1,proofType:"tool",finalProofAgreed:!1,options:{services:[]},selectedBackground:{},articles:{byId:{},allIds:[],loading:!1},articleFilters:{available:{},active:{},show:window.innerWidth>=w.A.breakpoints.lg,loading:!1},articleSearchInputs:{from:(0,S.JO)(-2),to:(0,S.JO)(0),search:void 0,pageSize:10,page:1,pages:1,total:0},showAddons:!1,productAddons:[],delayedShowAddons:!1,pricePreviews:{},basePreviewsPending:!1,activePriceTab:on(),backgroundProductsError:{},remainingName:"",createModal:{show:!1}},Qe=(0,r.Z0)({name:"refinementTool",initialState:ze,reducers:{activePriceTabSet(e,t){e.activePriceTab=t.payload},addonsSplitChanged(e,t){const{split:n,variationNr:r}=e.selectedBackground;for(const i of e.productAddons)if(i.positions)for(const e of i.positions)e.variationNumber!==r||e.split!==n&&(n!==T.vt||e.split)||(e.split=t.payload.split,e.skus=t.payload.skus)},addonsInputChanged(e,t){var n;const{split:r,variationNr:i}=e.selectedBackground,{quantity:o,input:a,id:s,selectedSplit:l,placements:c}=t.payload,u=r&&r!==T.vt?r===T.y6?null===l||void 0===l?void 0:l.nextId:r:void 0;e.dirty=!0,e.selectedBackground.split=u;const d={variationNumber:i,split:u,skus:u?null===l||void 0===l||null===(n=l.split)||void 0===n?void 0:n.skus:void 0,placements:c,inputQuantity:o},p=e.productAddons.filter((e=>e.id===s));for(const m of p){var h;m.positions&&(m.positions=null===(h=m.positions)||void 0===h?void 0:h.filter((e=>{var t;return e.variationNumber!==i||(null!==(t=e.split)&&void 0!==t?t:void 0)!==u})))}if(!a)return;const f=e.productAddons.find((e=>e.id===s&&e.input===a));f?(f.positions||(f.positions=[]),f.positions.push(d)):e.productAddons.push({id:s,input:a,positions:[d]})},addonsToggled(e,t){e.showAddons=t.payload,e.delayedShowAddons=!1,e.selectedRefinementGuid=void 0},articleFiltersSet(e,t){e.articleFilters.active=t.payload},articleFilterToggled(e,t){var n;const{filterItem:r,filterType:i}=t.payload,o=[...null!==(n=e.articleFilters.active[i])&&void 0!==n?n:[]],a=o.findIndex((e=>e===r.value));return a>-1?o.splice(a,1):o.push(r.value),{...e,articleFilters:{...e.articleFilters,active:{...e.articleFilters.active,[i]:o}}}},articleFiltersVisibilityToggled(e,t){e.articleFilters.show=void 0!==t.payload?t.payload:!e.articleFilters.show},articleInputsSet(e,t){e.articleSearchInputs={...e.articleSearchInputs,...t.payload}},angleChanged(e,t){const n=t.payload;e.selectedBackground.angle=n,e.createModal.returnRefinementGuid=void 0,e.canvas.status="pendingBackground";const r=e.selectedBackground.variationNr,i=e.selectedBackground.split,o=e.refinements;let a;const s=[];for(const l of o){l.canvasFiles.filter((e=>{var t;return(null===(t=e.position)||void 0===t?void 0:t.imageId)===n&&e.position.variationNumber===r&&((!i||i===T.vt)&&!e.position.split||i===e.position.split)})).length&&s.push(l.guid)}s.length&&(a=e.selectedRefinementGuid&&s.includes(e.selectedRefinementGuid)?e.selectedRefinementGuid:s[0]),e.selectedRefinementGuid=a},attachmentAdded(e,t){const n=Kt(e);n&&(n.touched=!0,n.attachments.push(t.payload.name),n.newAttachments.push(t.payload))},attachmentRemoved(e,t){const n=Kt(e);n&&(n.touched=!0,n.attachments=n.attachments.filter((e=>e!==t.payload)),n.newAttachments=n.newAttachments.filter((e=>e.name!==t.payload)))},toastUpdated(e,t){e.toast=t.payload},refinementsPlacementAdjustedUpdated(e,t){e.refinementsPlacementAdjusted=t.payload},backgroundRefinementUpdated(e,t){e.selectedBackground.refinementId=t.payload},backgroundImageSet(e,t){e.canvas.status=t.payload?"ready":"pendingBackground"},collectionVariationAdded(e,t){e.collection[t.payload.vnr]=t.payload.variation,e.dirty=!0},collectionVariationRemoved(e,t){var n;const r=t.payload;delete e.collection[r],e.selectedBackground.variationNr===r&&(e.selectedBackground.variationNr=null===(n=Object.keys(e.collection))||void 0===n?void 0:n[0]);for(const a of e.refinements){var i;null!==(i=a.variations.variationNumbers)&&void 0!==i&&i.includes(r)&&(a.variations.variationNumbers=a.variations.variationNumbers.filter((e=>e!==r)),a.canvasFiles=a.canvasFiles.filter((e=>{var t;return(null===(t=e.position)||void 0===t?void 0:t.variationNumber)!==r})))}for(const a of e.productAddons){var o;null!==(o=a.positions)&&void 0!==o&&o.find((e=>e.variationNumber===r))&&(a.positions=a.positions.filter((e=>e.variationNumber===r)))}e.dirty=!0},configSet(e,t){e.config={...e.config,...t.payload}},createModalSet(e,t){if(t.payload){const t=e.selectedRefinementGuid;e.createModal={show:!0,returnRefinementGuid:t},e.showAddons=!1,e.selectedRefinementGuid=void 0}else{if(e.createModal.returnRefinementGuid)e.selectedRefinementGuid=e.createModal.returnRefinementGuid;else{const t=e.refinements.find((t=>t.canvasFiles.find((t=>{var n,r,i;return(null===(n=t.position)||void 0===n?void 0:n.variationNumber)===e.selectedBackground.variationNr&&(null===(r=t.position)||void 0===r?void 0:r.imageId)===e.selectedBackground.angle&&(!(null!==(i=t.position)&&void 0!==i&&i.split)||t.position.split===T.vt||t.position.split===e.selectedBackground.split)}))));t&&(e.selectedRefinementGuid=t.guid)}e.createModal={show:!1,returnRefinementGuid:void 0}}},fileErrorAlerted(e,t){e.fileErrorAlert=t.payload},refinementToolClosed:()=>({...ze,activePriceTab:on()}),refinementSelected(e,t){if(e.showAddons=!1,e.selectedRefinementGuid=t.payload,e.createModal.show=!1,e.createModal.returnRefinementGuid=void 0,t.payload){const t=Xt(e);if(t){var n,r,i,o;const a=t.refinement,s=null===(n=a.variations.data)||void 0===n?void 0:n.id,l=(null===(r=a.canvasFiles.find((e=>{var n;return null===(n=t.canvasFileIds)||void 0===n?void 0:n.includes(e.id)})))||void 0===r?void 0:r.position)||(null===(i=a.canvasFiles[0])||void 0===i?void 0:i.position),c=null===l||void 0===l?void 0:l.variationNumber,u=null===l||void 0===l?void 0:l.imageId,d=null===l||void 0===l?void 0:l.split,p=null===(o=a.variations.data)||void 0===o?void 0:o.isMounting;s&&!p&&(e.selectedBackground.refinementId=s),c&&(e.selectedBackground.variationNr=c),u&&(e.selectedBackground.angle=u),l&&(e.selectedBackground.split=null!==d&&void 0!==d?d:void 0)}}},canvasFileChanged(e,t){const n=t.payload.canvasFile,r=t.payload.guid,i=Jt(e.refinements,r);if(i){const e=i.canvasFiles.find((e=>e.id===t.payload.posId));if(e)Object.assign(e,n);else{if(!n.id)throw new Error("should not happen");i.canvasFiles.push(n)}n.position&&(i.touched=!0)}},canvasFileManipulated(e,t){var n;const{base64:r,darkBg:i,placed:o,colors:a,convertedFile:s,guid:l,size:c,colorChange:u}=t.payload,d=Xt(e,l);if(!d)return;const p=null===d||void 0===d?void 0:d.refinement,h=e.selectedBackground.variationNr,f=e.selectedBackground.angle,m=null!==(n=e.selectedBackground.split)&&void 0!==n?n:T.vt;if("article"===e.type){var g;const t=p.canvasFiles,n=null===(g=t[0])||void 0===g?void 0:g.position;if(!t.length)throw new Error("should not happen - no canvasfiles");const o=e.refinements.flatMap((e=>e.canvasFiles.map((e=>{var t;return null===(t=e.position)||void 0===t?void 0:t.filePreview})))).filter((e=>!!e)),a=(e,t)=>{const n=`${e}_${t}-preview.jpg`;return o.find((e=>e===n))?a(e,++t):n},s=null===n||void 0===n?void 0:n.filePreview,l=null===n||void 0===n?void 0:n.fileConverted,c=null===n||void 0===n?void 0:n.fileOrg;for(const e of t)e.previewFile=r,s&&l&&s===l&&c&&(e.position={...e.position,filePreview:a((0,x.WP)(c),1)}),"boolean"===typeof i&&e.position&&(e.position.darkBg=i)}if("refinement"===e.type)for(const b of e.refinements)for(const e of b.canvasFiles){if(o&&!e.firstPlacement)continue;const t=e.position;if((null===t||void 0===t?void 0:t.variationNumber)===h&&(null===t||void 0===t?void 0:t.imageId)===f){var v;if(m!==T.vt&&null!==t&&void 0!==t&&t.split&&t.split!==m)continue;b.guid===p.guid&&(b.touched=!0),t&&b.guid===p.guid&&null!=u&&(t.colorChange=u),t&&(t.filePreview=null===(v=t.filePreview)||void 0===v?void 0:v.replace(".png",".jpg")),(m!==T.vt||null!==t&&void 0!==t&&t.split)&&m!==(null===t||void 0===t?void 0:t.split)?m===T.vt&&null!==t&&void 0!==t&&t.split&&(e.needPreviewImage=!0):e.previewFile=r}}if((c||a||s)&&p.canvasFiles.length>1)for(const b of p.canvasFiles){const t=b.position;if(null!==t&&void 0!==t&&t.variationNumber&&t.imageId&&(t.variationNumber!==h||t.imageId!==f||t.split!==m)){var y;b.needPreviewImage=!0,t.filePreview=null===(y=t.filePreview)||void 0===y?void 0:y.replace(".png",".jpg");for(const n of e.refinements)for(const e of n.canvasFiles){const n=e.position;var A;if((null===n||void 0===n?void 0:n.variationNumber)===t.variationNumber&&(null===n||void 0===n?void 0:n.imageId)===t.imageId&&(!t.split||t.split===T.vt||t.split===(null===n||void 0===n?void 0:n.split)))e.needPreviewImage=!0,n.filePreview=null===(A=n.filePreview)||void 0===A?void 0:A.replace(".png",".jpg")}}}},fileDataUpdated(e,t){var n;const r=t.payload.fileData,i=Jt(e.refinements,null!==(n=t.payload.guid)&&void 0!==n?n:e.selectedRefinementGuid);if(i){var o,a,s,l,c;if(r.colors&&(i.variations.colors=r.colors),r.newFile&&(i.newFile=r.newFile),r.orgFile&&(null===(o=i.variations.positions)||void 0===o||o.forEach((e=>({...e,fileOrg:r.orgFile})))),r.convertedFile&&(i.convertedFile=r.convertedFile),r.sampleFile){var u,d;i.sampleFile=r.sampleFile;const e=!(null===(u=r.colors)||void 0===u||!u.find((e=>e.replaced)))&&(null===(d=r.colors)||void 0===d?void 0:d.map((e=>{var t;return null!==(t=e.replacedName)&&void 0!==t?t:e.sourceName})).join(" "));for(const{position:t}of i.canvasFiles){var p;const n=null===t||void 0===t?void 0:t.fileConverted,r=null===n||void 0===n||null===(p=n.split("-converted"))||void 0===p?void 0:p[0];if(!t||!r)continue;const i=`${r}${e?`-${e}`:""}-sample.jpg`;t.fileSample=i}}t.payload.articleStockQty&&(i.articleStockQty=t.payload.articleStockQty),null!==(a=t.payload)&&void 0!==a&&a.articleId&&(i.variations.articleId=null===(s=t.payload)||void 0===s?void 0:s.articleId),null!==(l=t.payload)&&void 0!==l&&l.productId&&i.variations.data&&(i.variations.data.id=null===(c=t.payload)||void 0===c?void 0:c.productId),e.dirty=!0}},variationSelected(e,t){const n=t.payload;e.selectedBackground.variationNr=n,e.showAddons=!1,e.createModal.returnRefinementGuid=void 0;const r=Jt(e.refinements,e.selectedRefinementGuid);if(r){const{angle:t,split:a}=e.selectedBackground,s=r.canvasFiles.filter((e=>{var t;return(null===(t=e.position)||void 0===t?void 0:t.variationNumber)===n})).map((e=>e.position));if(null!==s&&void 0!==s&&s.length){var i,o;const n=s.filter((e=>(null===e||void 0===e?void 0:e.imageId)===t));let r;if(n.length){const e=n.find((e=>e.split===a||!e.split||e.split===T.vt));r=null!==e&&void 0!==e?e:n[0]}else r=s[0];e.selectedBackground.angle=null!==(i=r.imageId)&&void 0!==i?i:void 0,e.selectedBackground.split=null!==(o=r.split)&&void 0!==o?o:void 0}}const a=e.selectedBackground.angle,s=e.refinements.filter((e=>e.canvasFiles.find((e=>{var t;return(null===(t=e.position)||void 0===t?void 0:t.variationNumber)===n}))));if(s.length){var l,c,u,d,p,h;for(const i of s)for(const{position:t}of i.canvasFiles)if((null===t||void 0===t?void 0:t.imageId)===a&&(null===t||void 0===t?void 0:t.variationNumber)===n){var f,m,g;return(null===(f=i.variations.data)||void 0===f?void 0:f.isMounting)||(e.selectedBackground.refinementId=null===(m=i.variations.data)||void 0===m?void 0:m.id),e.createModal.show||(e.selectedRefinementGuid=i.guid),void(e.selectedBackground.split=null!==(g=t.split)&&void 0!==g?g:void 0)}const t=s[0],r=t.canvasFiles.find((e=>{var t;return(null===(t=e.position)||void 0===t?void 0:t.variationNumber)===n}));return(null===(l=t.variations.data)||void 0===l?void 0:l.isMounting)||(e.selectedBackground.refinementId=null===(c=t.variations.data)||void 0===c?void 0:c.id),e.selectedBackground.angle=null!==(u=null===r||void 0===r||null===(d=r.position)||void 0===d?void 0:d.imageId)&&void 0!==u?u:void 0,e.selectedBackground.split=null!==(p=null===r||void 0===r||null===(h=r.position)||void 0===h?void 0:h.split)&&void 0!==p?p:void 0,void(e.createModal.show||(e.selectedRefinementGuid=t.guid))}e.selectedRefinementGuid=void 0,e.selectedBackground.split=void 0,e.canvas.status="pendingBackground"},articleVariationUpdated(e,t){const n=Kt(e);var r;n&&(null!==(r=n.canvasFiles[0])&&void 0!==r&&r.position&&(n.canvasFiles[0].position.variationNumber=t.payload),n.variations.variationNumbers=[t.payload])},collectionNameUpdated(e,t){e.collectionName=t.payload},collectionCategoriesUpdated(e,t){e.collectionCategories=t.payload},filesUpdated(e,t){const{guid:n,data:r}=t.payload,i=n?Jt(e.refinements,n):Kt(e);i&&(i.newFile=null===r||void 0===r?void 0:r.file,i.convertedFile=null===r||void 0===r?void 0:r.base64,i.touched=!0,t.payload.data||(i.canvasFiles=[],i.variations.data&&(i.variations.data.colors=0)))},textUpdated(e,t){var n;const r=Jt(e.refinements,null!==(n=t.payload.guid)&&void 0!==n?n:e.selectedRefinementGuid);r&&(r.touched=!0,r.variations.text={...r.variations.text,...t.payload.text})},inputUpdated(e,t){var n;const r=Jt(e.refinements,null!==(n=t.payload.guid)&&void 0!==n?n:e.selectedRefinementGuid);r&&(r.touched=!0,r.variations.data={...r.variations.data,...t.payload.data})},backgroundArticleUpdated(e,t){e.selectedBackground.refinementId=t.payload.refinementId,e.selectedBackground.variationNr=t.payload.variationNumber,e.selectedBackground.proposalIndex=t.payload.proposalIndex},modifyCollectionSet(e,t){e.showModifyCollection=t.payload},splitSelected(e,t){const n=t.payload,r=e.selectedBackground.variationNr,i=e.selectedBackground.angle,o=e.refinements;if(e.createModal.returnRefinementGuid=void 0,e.selectedBackground.split=n,e.showAddons)return;const a=Jt(o,e.selectedRefinementGuid);if(n!==T.y6){if(a)for(const{position:t}of a.canvasFiles)if((null===t||void 0===t?void 0:t.variationNumber)===r&&(null===t||void 0===t||!t.split||t.split===n))return void(null!==t&&void 0!==t&&t.imageId&&t.imageId!==i&&(e.selectedBackground.angle=t.imageId));for(const t of o){if(t.canvasFiles.find((e=>{var t,o,a;return(null===(t=e.position)||void 0===t?void 0:t.imageId)===i&&(null===(o=e.position)||void 0===o?void 0:o.variationNumber)===r&&(!(null!==(a=e.position)&&void 0!==a&&a.split)||e.position.split===T.vt||e.position.split===n)})))return void(e.selectedRefinementGuid=t.guid)}e.selectedRefinementGuid=void 0}else e.selectedRefinementGuid=void 0},stockOperationUpdated(e,t){const n=Kt(e);n&&(n.touched=!0,n.stockOperation=t.payload)},sectionValidatingAllSet(e,t){for(const n in e.validating)Object.prototype.hasOwnProperty.call(e.validating,n)&&(e.validating[n]="boolean"!==typeof t.payload||t.payload)},sectionValidatingToggled(e,t){const{section:n,validating:r}=t.payload;e.validating[n]="boolean"===typeof r?r:!e.validating[n],e.validating[n]||(e.validating.all=!1)},sectionValidatingUnset(e,t){e.invalidRefinements=e.invalidRefinements.filter((t=>t!==e.selectedRefinementGuid)),e.validating[t.payload]=!1,e.validating.all=!1},invalidQuantityUpdated(e,t){e.invalidQuantity=t.payload},invalidVariableTextUpdated(e,t){e.invalidVariableText=t.payload},pmsColorsfocusedRowUpdated(e,t){e.pmsColorsSuggestions&&(e.pmsColorsSuggestions.focusedRow=t.payload)},pmsColorsSuggestionsUnset(e){e.pmsColorsSuggestions=ze.pmsColorsSuggestions},positionQuantityPrepared(e){const t=e.refinements,n=e.collection;for(const d of t)for(const e of d.canvasFiles){var r,i,o;const t=e.position;if(!t){P.A.warn("No positions, should not happen ",d.guid,e.id);continue}if((0,D.yE)(d,"article")){var a,s;t.quantity=null!==(a=null===(s=d.variations.data)||void 0===s?void 0:s.quantity)&&void 0!==a?a:25;continue}const l=(0,D.Dv)(null!==(r=t.skus)&&void 0!==r&&r.length?t.skus:null===(i=n[null!==(o=t.variationNumber)&&void 0!==o?o:""])||void 0===i?void 0:i.skus);t.quantity=l}for(const d of e.productAddons)if(d.positions)for(const e of d.positions){var l,c,u;const t=(0,D.Dv)(null!==(l=e.skus)&&void 0!==l&&l.length?e.skus:null===(c=n[null!==(u=e.variationNumber)&&void 0!==u?u:""])||void 0===c?void 0:c.skus);e.variationQuantity=t}},positionAdded(e,t){var n,r;const i=Jt(e.refinements,t.payload.guid),o=e.selectedBackground.angle,a=e.selectedBackground.variationNr,s=t.payload.selectedSplit,l=(null===(n=s.split)||void 0===n?void 0:n.id)===T.y6?s.nextId:null===(r=s.split)||void 0===r?void 0:r.id;if(i&&a&&o){var c,u;e.selectedRefinementGuid=t.payload.guid,e.selectedBackground.split=l;const n=i.canvasFiles;if(null===n||void 0===n||!n.length)throw new Error("should not happen");const{previewFile:r,placed:d,position:p,id:h,...f}=null!==(c=i.canvasFiles.find((e=>{const t=e.position;return(null===t||void 0===t?void 0:t.variationNumber)===a&&(null===t||void 0===t?void 0:t.imageId)===o&&(null===t||void 0===t?void 0:t.split)===l})))&&void 0!==c?c:i.canvasFiles[0],m={...p,x:.5,y:.5,filePreview:`${a}-${o}-${l!==T.vt?l:"0"}-preview.jpg`,imageId:o,variationNumber:a,split:l!==T.vt?l:void 0,skus:l!==T.vt&&null!==(u=s.split)&&void 0!==u&&u.skus.length?s.split.skus:void 0};i.canvasFiles.push({...f,id:Y(),position:m,placed:!1,firstPlacement:!0}),i.touched=!0,i.variations.variationNumbers=i.canvasFiles.map((e=>{var t;return null===(t=e.position)||void 0===t?void 0:t.variationNumber})).filter(((e,t,n)=>!!e&&n.indexOf(e)===t))}},objectSizeChanged(e,t){e.hasEditedObjectSize=t.payload},positionRemoved(e,t){const{guid:n,canvasFileId:r,newCanvasPreview:i}=t.payload,o=Jt(e.refinements,n);if(o&&(o.touched=!0,o.canvasFiles=r?o.canvasFiles.filter((e=>e.id!==r)):[],o.canvasFiles.length?o.variations.variationNumbers=o.canvasFiles.map((e=>{var t;return null===(t=e.position)||void 0===t?void 0:t.variationNumber})).filter(((e,t,n)=>!!e&&n.indexOf(e)===t)):e.refinements=e.refinements.filter((e=>e.guid!==n)),e.selectedRefinementGuid===n)){e.selectedRefinementGuid=void 0;const t=e.selectedBackground.variationNr,n=e.selectedBackground.angle,r=e.refinements.filter((e=>e.canvasFiles.find((e=>{var n;return(null===(n=e.position)||void 0===n?void 0:n.variationNumber)===t}))));if(r.length)for(const o of r)for(const r of o.canvasFiles){const l=r.position;if((null===l||void 0===l?void 0:l.imageId)===n&&(null===l||void 0===l?void 0:l.variationNumber)===t){var a,s;r.previewFile=i;(null===(a=o.variations.data)||void 0===a?void 0:a.isMounting)||(e.selectedBackground.refinementId=null===(s=o.variations.data)||void 0===s?void 0:s.id),e.selectedRefinementGuid=o.guid}}}},proofTypeSet(e,t){e.proofType=t.payload,e.dirty=!0},finalProofAgreedSet(e,t){e.finalProofAgreed=t.payload},refinementPoliciesSet(e,t){e.refinementPolicies=t.payload},filesPendingSet(e,t){e.canvas.filesPending=t.payload},repeatSet(e,t){const n=Jt(e.refinements,e.selectedRefinementGuid);n&&(n.repeat=!1)},refinementAdded(e,t){e.refinements.push(t.payload),e.invalidSplits=!1},refinementRemoved(e,t){const n=t.payload;e.refinements=e.refinements.filter((e=>e.guid!==n)),e.selectedRefinementGuid===n&&(e.selectedRefinementGuid=void 0)},serviceOptionChanged(e,t){const n=e.options.services.find((e=>e.id===t.payload.id));n&&(n.selected=t.payload.selected,e.options.servicesChanged=!0,e.dirty=!0,n.type===y.PartnerCostType.DeliveryOption&&(e.options.services=e.options.services.map((e=>e.type===y.PartnerCostType.DeliveryOption&&e.id!==t.payload.id?{...e,selected:!1}:e))))},splitNameChanged(e,t){var n,r;const i=t.payload;if(e.selectedBackground.split===T.vt)return;if(e.selectedBackground.split===T.y6)return void(e.remainingName=i);if(!i)return;const o=e.selectedBackground.split,a=e.selectedBackground.variationNr;if(null!==(n=e.pricePreviews.data)&&void 0!==n&&null!==(r=n.positionPrice)&&void 0!==r&&r.length)for(const c of e.pricePreviews.data.positionPrice)c.split===o&&(c.split=i);for(const c of e.refinements)for(const e of c.canvasFiles){var s,l;(null===(s=e.position)||void 0===s?void 0:s.variationNumber)===a&&(null!==(l=e.position)&&void 0!==l&&l.split&&e.position.split===o&&(e.position.split=i,e.position.filePreview=`${a}-${e.position.imageId}-${i}-preview.jpg`))}e.selectedBackground.split=i}},extraReducers:e=>{e.addCase(J.pending,(e=>{e.status="pending"})),e.addCase(J.fulfilled,((e,t)=>{var n;const r=t.payload.refinements,{type:i,edit:o,create:a,publicOrderId:s,origin:l,draft:c}=t.meta.arg;var u,d,p;(e.edit=o,e.refinements=r,e.type=i,e.proofType=t.payload.proofType,e.finalProofAgreed=!!o||r.length>=1,e.options=t.payload.options,e.collection=t.payload.collection,e.publicOrderId=s,e.origin=l,e.draft=c,e.productAddons=t.payload.addons,e.collectionName=null!==(n=t.payload.collectionName)&&void 0!==n?n:"",e.collectionCategories=t.payload.collectionCategories,o&&o.type===y.ShopCartRefinementType.Addon)&&(e.selectedBackground.variationNr=null!==(u=o.variationNumber)&&void 0!==u?u:void 0,e.selectedBackground.angle=null!==(d=o.angle)&&void 0!==d?d:void 0,e.selectedBackground.split=null!==(p=o.split)&&void 0!==p?p:void 0,e.delayedShowAddons=!0,e.showAddons=!0);if(o&&o.type!==y.ShopCartRefinementType.Addon){var h,f,m,g,v,A,b,w,x,C,S;const t="number"===typeof(null===o||void 0===o?void 0:o.refinementIndex)?r[o.refinementIndex]:null!==(h=r[0])&&void 0!==h?h:void 0;e.selectedRefinementGuid=null===t||void 0===t?void 0:t.guid;for(const r in e.validating)Object.prototype.hasOwnProperty.call(e.validating,r)&&(e.validating[r]=!0);var k;if(o.type!==y.ShopCartRefinementType.TextProduct)e.canvas.filesPending=!(null!==t&&void 0!==t&&null!==(k=t.canvasFiles)&&void 0!==k&&k[0].placed);(null===t||void 0===t||null===(f=t.variations.data)||void 0===f?void 0:f.isMounting)||(e.selectedBackground.refinementId=null===t||void 0===t||null===(m=t.variations.data)||void 0===m?void 0:m.id);const n=null===t||void 0===t||null===(g=t.canvasFiles)||void 0===g||null===(v=g[0])||void 0===v?void 0:v.position;e.selectedBackground.variationNr=null!==(A=null!==(b=o.variationNumber)&&void 0!==b?b:null===n||void 0===n?void 0:n.variationNumber)&&void 0!==A?A:void 0,e.selectedBackground.angle=null!==(w=null!==(x=o.angle)&&void 0!==x?x:null===n||void 0===n?void 0:n.imageId)&&void 0!==w?w:void 0,e.selectedBackground.split=null!==(C=null!==(S=o.split)&&void 0!==S?S:null===n||void 0===n?void 0:n.split)&&void 0!==C?C:void 0}a&&(e.selectedBackground.refinementId=a.refinementId,e.selectedBackground.variationNr=a.variationNumber,e.createModal.show=!0),"article"!==i&&0===Object.keys(e.collection).length&&(e.showModifyCollection=!0),e.status="ready",e.canvas.status="article"===i?"ready":"pendingBackground"})),e.addCase(J.rejected,(e=>{e.status="error"})),e.addCase(ne.pending,(e=>{e.pricePreviews.pending=!0})),e.addCase(ne.fulfilled,((e,t)=>{const{skus:n,...r}=t.payload;e.pricePreviews.data=r,n&&(e.collection=sn(n)),e.pricePreviews.pending=!1})),e.addCase(ne.rejected,((e,t)=>{e.pricePreviews.pending=!1,e.pricePreviews.error=t.error})),e.addCase(ie.pending,(e=>{e.basePreviewsPending=!0})),e.addCase(ie.fulfilled,(e=>{e.basePreviewsPending=!1})),e.addCase(ie.rejected,(e=>{e.basePreviewsPending=!1})),e.addCase(re.pending,((e,t)=>{const n=t.meta.arg,r=n&&Jt(e.refinements,n);r&&(r.preview.pending=!0)})),e.addCase(re.fulfilled,((e,t)=>{const n=t.meta.arg,r=n&&e.refinements.find((e=>e.guid===n));r&&(r.preview.data=t.payload,r.preview.pending=!1)})),e.addCase(re.rejected,((e,t)=>{const n=t.meta.arg&&e.refinements.find((e=>e.guid===t.meta.arg));n&&(n.preview.error=t.error,n.preview.pending=!1)})),e.addCase(De.pending,(e=>{e.articles.loading=!0})),e.addCase(De.rejected,(e=>{e.articles.loading=!1})),e.addCase(De.fulfilled,((e,t)=>{var n,r,i,o,a,s;const{payload:l}=t;e.articleSearchInputs.page=null!==(n=l.currentPage)&&void 0!==n?n:1,e.articleSearchInputs.pages=null!==(r=l.totalPages)&&void 0!==r?r:1,e.articleSearchInputs.total=null!==(i=l.totalItems)&&void 0!==i?i:0,e.articles.byId=null===(o=l.items)||void 0===o?void 0:o.reduce(((e,t)=>({...e,[t.id]:t})),{}),e.articles.allIds=null!==(a=null===(s=l.items)||void 0===s?void 0:s.map((e=>`${e.id}`)))&&void 0!==a?a:[],e.articles.loading=!1})),e.addCase(je.pending,(e=>{e.canvas.filesPending=!0})),e.addCase(je.fulfilled,(e=>{e.canvas.filesPending=!1})),e.addCase(je.rejected,((e,t)=>{e.canvas.filesPending=!1})),e.addCase(Pe.fulfilled,((e,t)=>{const n=t.payload.guid,r=e.refinements.find((e=>e.guid===n));if(r){var i,o,a,s;const n=t.payload.data.selectedSplit,l=(null===(i=n.split)||void 0===i?void 0:i.id)===T.y6?n.nextId:null===(o=n.split)||void 0===o?void 0:o.id,c={id:Y(),position:{imageId:e.selectedBackground.angle,variationNumber:e.selectedBackground.variationNr,split:l!==T.vt?l:void 0,skus:l!==T.vt&&null!==(a=n.split)&&void 0!==a&&a.skus.length?null===(s=n.split)||void 0===s?void 0:s.skus:void 0}};e.selectedBackground.split=l,c.placed=!1,c.firstPlacement=!0,r.newFile=t.payload.data.file,r.convertedFile=t.payload.data.base64Image,r.newFileName=t.payload.data.nameOverride,r.canvasFiles=[c]}})),e.addCase(Te.pending,(e=>{e.canvas.filesPending=!0,e.canvas.fileError=void 0})),e.addCase(Te.fulfilled,((e,t)=>{const n=t.payload.guid,r=t.payload.data;e.canvas.filesPending=!1;const i=e.refinements.find((e=>e.guid===n));if(i){var o,a,s,l,c,u,d,p;i.newFile=r.file,i.convertedFile=r.base64Image;const t=r.selectedSplit,n=(null===(o=t.split)||void 0===o?void 0:o.id)===T.y6?t.nextId:null===(a=t.split)||void 0===a?void 0:a.id,h={id:Y(),position:{imageId:"refinement"===e.type?e.selectedBackground.angle:void 0,variationNumber:e.selectedBackground.variationNr,split:n!==T.vt?n:void 0,skus:n!==T.vt&&null!==(s=t.split)&&void 0!==s&&s.skus.length?null===(l=t.split)||void 0===l?void 0:l.skus:void 0}};e.selectedBackground.split=n,h.pmsAnalysis=null!==(c=r.pmsAnalysis)&&void 0!==c?c:void 0,h.pmsFile=null!==(u=r.pmsFile)&&void 0!==u?u:void 0,h.placed=!1,h.fileType=r.file.type,h.multiColor=null!==(d=r.isMultiColor)&&void 0!==d&&d,h.firstPlacement=!0,i.canvasFiles=[...null!==(p=i.canvasFiles.filter((e=>e.id!==R)))&&void 0!==p?p:[],h]}})),e.addCase(Te.rejected,((e,t)=>{if(t.payload)if(e.canvas.filesPending=!1,"data"in t.payload){const n=t.payload.guid,r=t.payload.data;if(r&&"multiColor"in r){const t=n?e.refinements.find((e=>e.guid===n)):void 0;if(!t)return;const i={id:R,position:{}};i.multiColor=r.multiColor,i.fileType=r.fileType,t.canvasFiles=[i]}else e.canvas.fileError=r}else e.canvas.error=t.payload})),e.addCase(oe.fulfilled,((e,t)=>{const{colorIndex:n,colors:r}=t.payload;e.pmsColorsSuggestions={index:n,colors:r,focusedRow:0}})),e.addCase(le.pending,(e=>{e.submitting=!0})),e.addCase(le.fulfilled,(e=>{})),e.addCase(le.rejected,((e,t)=>{t.error.message&&P.A.error(t.error.message),Array.isArray(t.payload)&&(e.invalidRefinements=t.payload),t.payload||(e.invalidSplits=!0),e.submitting=!1})),e.addCase(ge.fulfilled,((e,t)=>{var n;if(e.backgroundProductsPending=!1,e.backgroundProduct=t.payload,null!==(n=e.backgroundProduct.refinements)&&void 0!==n&&n.length&&!e.backgroundProduct.refinements.some((t=>t.id===e.selectedBackground.refinementId))){var r,i;const t=null!==(r=e.selectedBackground.angle)&&void 0!==r?r:"",n=e.backgroundProduct.refinements.find((e=>{var n;return!1!==e.active&&!(null!==(n=e.disabledAngles)&&void 0!==n&&n.includes(t))}));e.selectedBackground.refinementId=n?null===n||void 0===n?void 0:n.id:null===(i=e.backgroundProduct.refinements[0])||void 0===i?void 0:i.id}})),e.addCase(ge.rejected,((e,t)=>{var n;e.backgroundProductsPending=!1,e.backgroundProductsError[t.meta.arg]=null!==(n=t.error.message)&&void 0!==n?n:"Error"})),e.addCase(ge.pending,((e,t)=>{e.backgroundProductsPending=!0})),e.addCase(ue.pending,(e=>{e.canvas.updatesPending=!0})),e.addCase(ue.fulfilled,(e=>{e.canvas.updatesPending=!1})),e.addCase(ue.rejected,(e=>{e.canvas.updatesPending=!1})),e.addMatcher((0,b.b5)("refinementTool/"),((e,t)=>{(0,k.A)()&&P.A.error(t.payload,t.error,t.meta)}))}}),{activePriceTabSet:Ue,addonsToggled:Ve,addonsSplitChanged:Ge,addonsInputChanged:qe,angleChanged:He,articleFiltersSet:We,articleFiltersVisibilityToggled:Ye,articleFilterToggled:Ke,articleInputsSet:Je,articleVariationUpdated:Xe,attachmentAdded:Ze,attachmentRemoved:$e,backgroundArticleUpdated:et,toastUpdated:tt,refinementsPlacementAdjustedUpdated:nt,backgroundRefinementUpdated:rt,backgroundImageSet:it,canvasFileChanged:ot,canvasFileManipulated:at,collectionNameUpdated:st,collectionCategoriesUpdated:lt,collectionVariationAdded:ct,collectionVariationRemoved:ut,configSet:dt,createModalSet:pt,finalProofAgreedSet:ht,refinementPoliciesSet:ft,fileErrorAlerted:mt,fileDataUpdated:gt,filesUpdated:vt,filesPendingSet:yt,textUpdated:At,inputUpdated:bt,invalidQuantityUpdated:wt,invalidVariableTextUpdated:xt,modifyCollectionSet:Ct,objectSizeChanged:St,pmsColorsfocusedRowUpdated:kt,pmsColorsSuggestionsUnset:Et,positionAdded:It,positionQuantityPrepared:_t,positionRemoved:Pt,proofTypeSet:Ot,refinementAdded:Tt,refinementRemoved:Dt,refinementSelected:jt,refinementToolClosed:Bt,repeatSet:Nt,sectionValidatingToggled:Mt,sectionValidatingAllSet:Rt,sectionValidatingUnset:Lt,serviceOptionChanged:Ft,splitSelected:zt,splitNameChanged:Qt,stockOperationUpdated:Ut,variationSelected:Vt}=Qe.actions,Gt=Qe.reducer;function qt(e,t){var n;return null!==(n=t&&e&&t[e])&&void 0!==n?n:void 0}function Ht(e,t,n,r,i,o,a,s,l){const c=U(),u=null!=(null===t||void 0===t?void 0:t.fileOrg)?{org:t.fileOrg,conv:t.fileConverted,prev:t.filePreview,samp:t.fileSample}:(()=>{var e,i;const o=(0,x.WP)(r||n||(null===t||void 0===t||null===(e=t.fileConverted)||void 0===e||null===(i=e.split("-converted"))||void 0===i?void 0:i[0])||""),c=o+"-converted.png",u=!(null===l||void 0===l||!l.find((e=>e.replaced)))&&(null===l||void 0===l?void 0:l.map((e=>{var t;return null!==(t=e.replacedName)&&void 0!==t?t:e.sourceName})).join(" ")),d=`${o}${u?`-${u}`:""}-sample.jpg`,p=a?`${s}-${a}-${null!==t&&void 0!==t&&t.split&&t.split!==T.vt?t.split:"0"}-preview.jpg`:c;return{org:n,conv:c,prev:p,samp:d}})(),d={darkBg:"boolean"===typeof i?i:!!t&&t.darkBg,fileOrg:u.org,fileConverted:u.conv,filePreview:u.prev,fileSample:u.samp,variationNumber:s};let p={};if(!o){var h,f,m,g,v,y,A,b,w,C;const n=null!==(h=null===e||void 0===e||null===(f=e.canvas)||void 0===f?void 0:f.getWidth())&&void 0!==h?h:1,r=null!==(m=null===e||void 0===e||null===(g=e.canvas)||void 0===g?void 0:g.getHeight())&&void 0!==m?m:1,i=null!==(v=null===(y=e.canvas)||void 0===y?void 0:y.getZoom())&&void 0!==v?v:1,s=null!==(A=null===(b=e.canvas)||void 0===b?void 0:b.viewportTransform)&&void 0!==A?A:[1,0,0,1,0,0],{width:l,height:u,left:d,top:x}=null!==(w=null===e||void 0===e?void 0:e.getBoundingRect())&&void 0!==w?w:{width:1,height:1,left:0,top:0},S={width:l/i,height:u/i,left:(d-s[4])/i,top:(x-s[5])/i};let[k,E]=[n,r],[I,_]=[S.left,S.top];const P=c.backgroundImage;if(P){[k,E]=[P.getScaledWidth(),P.getScaledHeight()];const[e,t]=[P.left-k/2,P.top-E/2];[I,_]=[S.left-e,S.top-t]}p=o?{}:{imageId:a,w:+(S.width/k).toFixed(2),h:+(S.height/E).toFixed(2),x:+((I+S.width/2)/k).toFixed(2),y:+((_+S.height/2)/E).toFixed(2),r:null!==(C=null===e||void 0===e?void 0:e.angle)&&void 0!==C?C:null===t||void 0===t?void 0:t.r}}return{...t,...d,...p}}function Wt(e,t){return t.length>e.length||!!e.find((e=>e.hasCosts))}function Yt(e){var t,n;const r=null===e||void 0===e||null===(t=e.getContext)||void 0===t||null===(n=t.call(e,"2d"))||void 0===n?void 0:n.getImageData(0,0,null===e||void 0===e?void 0:e.width,null===e||void 0===e?void 0:e.height),i=null===r||void 0===r?void 0:r.data;if(!i)return!1;const o=e=>(i[e]+i[e+1]+i[e+2])/3,a=e=>i[e+3]<5,s=(e,t,n,r,i)=>{for(let s=e;s!==t;s+=i){const e=4*(s*n+r);if(!a(e))return o(e)>230}return!1},l=Math.floor(e.width/2),c=Math.floor(e.height/2);return s(0,e.height-1,e.width,l,1)||s(e.height-1,0,e.width,l,-1)||s(0,e.width-1,1,c*e.width,1)||s(e.width-1,0,1,c*e.width,-1)}const Kt=e=>{let{selectedRefinementGuid:t,refinements:n}=e;return Jt(n,t)},Jt=(e,t)=>e.find((e=>e.guid===t));function Xt(e,t){const n=Jt(e.refinements,null!==t&&void 0!==t?t:e.selectedRefinementGuid);if(!n)return;const{angle:r,variationNr:i,split:o}=e.selectedBackground,a=function(e,t,n,r,i){var o;if("refinement"===t){const t=[];for(const o of e.canvasFiles){var a,s,l,c,u;if(o.userProof){if((null===(a=o.position)||void 0===a?void 0:a.variationNumber)===n)return e.canvasFiles}else(null===(s=o.position)||void 0===s?void 0:s.variationNumber)!==n||(null===(l=o.position)||void 0===l?void 0:l.imageId)!==r||(null!==(c=o.position)&&void 0!==c&&c.split||i&&i!==T.vt)&&(null===(u=o.position)||void 0===u?void 0:u.split)!==i||t.push(o)}return t}return null!==(o=e.canvasFiles.filter((e=>{var t;return(null===(t=e.position)||void 0===t?void 0:t.variationNumber)===n})))&&void 0!==o?o:e.canvasFiles}(n,e.type,i,r,o).map((e=>e.id));return{refinement:n,canvasFileIds:a}}const Zt=[1,0,0,1,0,0];function $t(e,t,n,r){var i;const o=U();if(!o.getObjects().find((e=>e.visible)))return{preview:null,sample:null};const a=(e,t,n)=>{var r,i;const o=t?w.A.colors.transparentBg:"#ffffff",a={scale:{x:e.scaleX,y:e.scaleY},bgColor:e.backgroundColor,visible:e.visible},s=(null!==(r=a.scale.x)&&void 0!==r?r:0)>(null!==(i=a.scale.y)&&void 0!==i?i:0);n&&(s?e.scaleToWidth(n):e.scaleToHeight(n)),e.set({backgroundColor:o,visible:!0});const l=e.toDataURL({format:"jpeg",quality:1});return e.set({backgroundColor:a.bgColor,scaleX:a.scale.x,scaleY:a.scale.y,visible:a.visible}),l};let s=null,l=null;const c=U().getObjects().find((e=>{var t;return(null===(t=e.get("data"))||void 0===t?void 0:t.guid)===n&&e.get("data").visible})),u=null!==(i=null!==r&&void 0!==r?r:c)&&void 0!==i?i:o.getActiveObject(),d=Yt(null===u||void 0===u?void 0:u.toCanvasElement());return o.backgroundImage?(s=((e,t)=>{const n=U();n.setViewportTransform(Zt);const r=n.backgroundColor,i=t?w.A.colors.transparentBg:"#ffffff";n.getObjects().forEach((e=>{var t;null!==(t=e.get("data"))&&void 0!==t&&t.areaType&&e.set({visible:!1})})),n.backgroundColor=i;const o=n.backgroundImage,a=o?n.toDataURL({format:"jpeg",quality:1,left:n.width/2-o.getScaledWidth()/2,top:n.height/2-o.getScaledHeight()/2,width:o.getScaledWidth(),height:o.getScaledHeight(),multiplier:1}):null;return n.backgroundColor=r,e&&n.setViewportTransform(e),a})(o.viewportTransform,d),l=t&&u?a(u,d,800):null):u&&(s=a(u,d),l=t?a(u,d,800):null),{preview:s,sample:l}}async function en(e,t){let n=e.newFile?[e.newFile]:[];const r=e.canvasFiles[0],i=r.userProof,o=!!e.newFile,a=r.position,s=e.convertedFile;if(o&&s){var l;const e=null!==(l=null===a||void 0===a?void 0:a.fileConverted)&&void 0!==l?l:"undefined-converted.png",t=await fetch(s),r=await t.blob();n.unshift(new File([r],e,{type:"image/png"}))}const c=e.newAttachments;if(n=[...n,...c],i)return n;const u=e.sampleFile;if(u){var d;const e=null!==(d=null===a||void 0===a?void 0:a.fileSample)&&void 0!==d?d:"undefined-sample.jpg",t=await fetch(u),r=await t.blob();n.push(new File([r],e,{type:"image/jpeg"}))}const p=e.canvasFiles;for(const g of p){var h;const r=g.position,i=null===r||void 0===r?void 0:r.variationNumber,o=null===r||void 0===r?void 0:r.imageId,a=null!==(h=null===r||void 0===r?void 0:r.split)&&void 0!==h?h:"",s=i&&o&&t[i+o+a]?t[i+o+a]:e.touched?g.previewFile:void 0;if(s){var f,m;const e=null!==(f=null===(m=g.position)||void 0===m?void 0:m.filePreview)&&void 0!==f?f:"undefined-preview.jpg",t=await fetch(s),r=await t.blob();n.unshift(new File([r],e,{type:"image/jpeg"}))}}return n}const tn=e=>{let{backgroundImage:t,canvas:n}=e;return new Promise(((e,r)=>{if(!t)return U().backgroundImage=void 0,n.requestRenderAll(),void e();const i=new Image;i.onload=function(){f.Ng.fromURL(t,{crossOrigin:"anonymous"}).then((t=>{const r=n.getWidth(),i=n.getHeight();t.set({top:.5*i,left:.5*r,originX:"center",originY:"center"});const o=Math.min(i,r);t.getScaledWidth()>t.getScaledHeight()?t.scaleToWidth(null!==o&&void 0!==o?o:r):t.scaleToHeight(null!==o&&void 0!==o?o:i),n.backgroundImage=t,n.requestRenderAll(),e()}))},i.onerror=function(e){r()},i.src=t}))};async function nn(e,t,n,r,i,o){var a,s;if(!e||!n&&!t)return;const l=U(),c=e.angle;e.set({angle:0}),l.renderAll();const u=null!==(a=e.getScaledWidth())&&void 0!==a?a:1,d=null!==(s=e.getScaledHeight())&&void 0!==s?s:1;let p=t?d/i:u/r;return new Promise(((r,i)=>{requestAnimationFrame((()=>{let a;if(t){const n=t*p,r=d*(n/u)/p;"article"===o&&(e.scaleToWidth(n),rn(e)),a={width:t,height:+r.toFixed(1)}}if(n){const t=n*p,r=u*(t/d)/p;"article"===o&&(e.scaleToHeight(t),rn(e)),a={width:+r.toFixed(1),height:n}}e.set({angle:c}),l.requestRenderAll(),a?r(a):i()}))}))}function rn(e){const t=U(),n=e.getScaledHeight(),r=e.getScaledWidth(),i=t.getWidth(),o=t.getHeight();if(n>r){const t=n>.65*o?.65*o:n<.15*o?.15*o:null;t&&e.scaleToHeight(t)}else{const t=r>.85*i?.85*i:r<.15*i?.15*i:null;t&&e.scaleToWidth(t)}}function on(){const e=localStorage.getItem("refinement_pricetab");return e&&(t=e,N.includes(t))?e:"allRefinements";var t}function an(e){localStorage.setItem("refinement_pricetab",e)}function sn(e){return e.reduce(((e,t)=>{if(!t.sku||!t.quantity)return e;const n=t.sku.split("-"),r=n.length>1?n[0]+"-"+n[1]:n[0],i=n[0];if(e[r]){var o;const n=(0,_.$)(e[r].skus,(e=>e.sku===t.sku?"prevSku":"skus")),i=n.get("prevSku"),s=null!==(o=n.get("skus"))&&void 0!==o?o:[];if(null!==i&&void 0!==i&&i.length){var a;const n={...i[0]};n.quantity=(null!==(a=n.quantity)&&void 0!==a?a:0)+t.quantity,n.price=null,s.push(n),e[r].skus=s}else e[r].skus.push(t)}else e[r]={skus:[t],productNumber:i};return e}),{})}function ln(){const e=U().getActiveObject(),t=null===e||void 0===e?void 0:e.data;return U().getObjects().filter((e=>!!e.data&&!!t&&e.data.guid===t.guid&&e.data.angle===t.angle&&e.data.split===t.split&&e.data.vNr===t.vNr))}const cn=(e,t)=>{const n=e.filters;if(null===n||void 0===n||!n.length)return!1;let r=!1;for(const o of n)o instanceof s.A&&o.disabled!==t&&(o.disabled=t,r=!0);var i;r&&(e.applyFilters(),null===(i=e.canvas)||void 0===i||i.renderAll());return r},un={getRefinementWarningNotes:function(e){const t=[],n=[];for(const r in e.refinementWarnings)if(Object.prototype.hasOwnProperty.call(e.refinementWarnings,r)){const n=e.refinementWarnings[r];n.warning&&t.push(`* ${n.name} - ${n.warning}`)}for(const r in e.articleWarnings)if(Object.prototype.hasOwnProperty.call(e.articleWarnings,r)){const i=e.articleWarnings[r];i.warning&&!n.includes(i.name)&&(n.push(i.name),t.push(`* ${i.name} - ${i.warning}`))}return t}},dn={getRefinementBasePreviews:ie},pn={repeatSet:Qe.actions.repeatSet,sectionValidatingToggled:Qe.actions.sectionValidatingToggled}},37423:(e,t,n)=>{"use strict";n.d(t,{AR:()=>$e,Lt:()=>At,Pl:()=>et,T7:()=>E,cG:()=>Ze,j1:()=>ge,lA:()=>Xe,ms:()=>N,sD:()=>Ge});var r=n(95461),i=n(44361),o=n(41107),a=n(27825),s=n(57905),l=n(74635),c=n(69435),u=n(85913),d=n(7430),p=n(24380),h=n(54579),f=n(57158),m=n(55901),g=n(86875),v=n(69877),y=n(73887);const A=e=>e.refinementTool.status,b=e=>e.refinementTool.canvas.status,w=e=>e.refinementTool.submitting,x=e=>e.refinementTool.type,C=e=>e.refinementTool.origin,S=e=>e.refinementTool.refinements,k=e=>e.refinementTool.selectedRefinementGuid,E=e=>e.refinementTool.validating,I=e=>e.refinementTool.canvas.fileError,_=e=>e.refinementTool.invalidVariableText,P=e=>e.refinementTool.invalidRefinements,O=e=>e.refinementTool.invalidQuantity,T=e=>e.refinementTool.canvas.filesPending,D=e=>e.refinementTool.options,j=e=>e.refinementTool.proofType,B=e=>e.refinementTool.finalProofAgreed,N=e=>e.refinementTool.refinementPolicies,M=e=>e.refinementTool.backgroundProduct,R=e=>e.refinementTool.backgroundProductsPending,L=e=>e.refinementTool.selectedBackground,F=e=>e.refinementTool.selectedBackground.refinementId,z=e=>e.refinementTool.publicOrderId,Q=e=>e.refinementTool.selectedBackground.variationNr,U=e=>e.refinementTool.selectedBackground.split,V=e=>e.refinementTool.collectionName,G=e=>e.refinementTool.collectionCategories,q=e=>e.refinementTool.collection,H=e=>e.refinementTool.draft,W=e=>e.refinementTool.invalidSplits,Y=e=>e.refinementTool.showAddons,K=e=>e.refinementTool.productAddons,J=e=>"refinement"===e.refinementTool.type?e.refinementTool.activePriceTab:"selectedRefinement",X=e=>e.refinementTool.pricePreviews,Z=e=>e.refinementTool.remainingName,$=(0,u.Mz)((e=>e.refinementTool.showModifyCollection),x,((e,t)=>"article"!==t&&e)),ee=(0,u.Mz)(S,(e=>e.refinementTool.dirty),((e,t)=>!!e.find((e=>e.touched))||t)),te=(0,u.Mz)(q,(e=>Object.entries(e).map((e=>{let[t,n]=e;return n.productNumber})))),ne=(0,u.Mz)(te,x,((e,t)=>"article"!==t&&!e.length)),re=(0,u.Mz)(q,(e=>Object.values(e).flatMap((e=>e.skus)))),ie=(0,u.Mz)(o.u5,(e=>e.mockupAcceptText||l.Ay.t("refinement.proofFinalAcceptText","I accept my original/sketch as final design proof. No proof will be sent to me on this offer."))),oe=(0,u.Mz)(K,L,((e,t)=>{let{split:n,variationNr:r}=t;return e.flatMap((e=>{const{positions:t,price:i,offerPrice:o,vat:a,...s}=e,l=null===t||void 0===t?void 0:t.filter((e=>(!e.split||e.split===n||n===g.vt)&&e.variationNumber===r));return null!==l&&void 0!==l&&l.length?l.map((e=>({...s,...e}))):[]}))})),ae=(0,u.Mz)(x,S,X,((e,t,n)=>{const r={};for(const[f,m]of t.entries()){var i,o,a,s,c,u,d,p,h;const t=m.guid,g=m.variations.articleId,v=(null!==(i=m.variations.data)&&void 0!==i&&i.isMounting||null!==(o=m.variations.data)&&void 0!==o&&o.repeat)&&g?`${g}: `:"",y=null===(a=m.variations.data)||void 0===a?void 0:a.description;if(y){r[t]=`${v}${y}`;continue}const A=null===(s=m.canvasFiles[0])||void 0===s||null===(c=s.position)||void 0===c?void 0:c.fileOrg;if("article"===e&&null!==A&&void 0!==A&&A.length){r[t]=`${v}${A}`;continue}const b=null===(u=n.data)||void 0===u||null===(d=u.refinementTotal)||void 0===d||null===(p=d.find((e=>e.index===f)))||void 0===p?void 0:p.name;b?r[t]=`${v}${b}`:null!==(h=m.preview.data)&&void 0!==h&&h.name?r[t]=`${v}${m.preview.data.name}`:r[t]=l.Ay.t("refinement.refinement_one")}return r})),se=(0,u.Mz)(q,S,K,ae,R,C,((e,t,n,r,i,o)=>{var s;const c={};if(i)return null!==(s=se.lastResult())&&void 0!==s?s:[];for(const a of t)if(a.variations.variationNumbers&&a.guid)for(const{position:e}of a.canvasFiles){if(!e)continue;const t=e.variationNumber;if(!t)continue;const n=`${r[a.guid]}, ${e.imageId&&(0,m.TH)(e.imageId,!0)}${e.split?`, ${e.split}`:""}`;Array.isArray(c[t])?c[t].push(n):c[t]=[n]}const u=n.flatMap((e=>{var t;return null!==(t=e.positions)&&void 0!==t?t:[]})),d=(0,h.$)(u,(e=>{var t;return null!==(t=e.variationNumber)&&void 0!==t?t:""}));for(const[a,p]of d.entries()){const e=(0,h.$)(p,(e=>e.split?e.split:g.vt));for(const[t,n]of e){const e=`${l.Ay.t("microshop.addons")}${t===g.vt?"":`, ${t}`}, ${n.length} ${l.Ay.t("stock.pcs")}`;Array.isArray(c[a])?c[a].push(e):c[a]=[e]}}return Object.entries(e).reduce(((e,t)=>{var n,r,i,s,l;let[u,d]=t;if("CollectionTool"!==o&&!(0,a.IO)(d.productNumber))return e;const p=y.g[d.productNumber],h=null===p||void 0===p||null===(n=p.variations)||void 0===n?void 0:n.find((e=>e.variationNumber===u));if(!h)return e;const f={...d,...h,skus:d.skus,productSkus:null!==(r=h.skus)&&void 0!==r?r:[],productName:null===p||void 0===p?void 0:p.productName,badge:{number:null!==(i=null===(s=c[u])||void 0===s?void 0:s.length)&&void 0!==i?i:0,names:c[u]},error:!(null!==(l=h.angles)&&void 0!==l&&l.length)};return[...e,f]}),new Array)})),le=(0,u.Mz)(se,(e=>e.reduce(((e,t)=>{const n=e.find((e=>e.productNumber===t.productNumber));var r;n?n.variations.push(t):e.push({productNumber:t.productNumber,name:null!==(r=t.productName)&&void 0!==r?r:"",variations:[t]});return e}),[]))),ce=(0,u.Mz)(se,Q,((e,t)=>t?e.find((e=>e.variationNumber===t)):void 0)),ue=(0,u.Mz)(q,Q,((e,t)=>t?e[t]:void 0)),de=(0,u.Mz)(ue,R,le,((e,t,n)=>{var r,i,o;if(!e)return{related:[],genderRelated:[],replacement:[]};if(t){const e=de.lastResult();return null!==e&&void 0!==e?e:{related:[],genderRelated:[],replacement:[]}}const a=y.g[e.productNumber];if(!a)return{related:[],genderRelated:[],replacement:[]};const s=e=>e.filter((e=>!(e=>n.some((t=>t.variations.some((t=>t.productNumber===e)))))(e)));return{related:s(null!==(r=a.related)&&void 0!==r?r:[]),genderRelated:s(null!==(i=a.genderRelated)&&void 0!==i?i:[]),replacement:s(null!==(o=a.replacement)&&void 0!==o?o:[])}})),pe=(0,u.Mz)((e=>e.product.relatedProducts),de,ce,R,((e,t,n,r)=>{var i;if(r)return null!==(i=pe.lastResult())&&void 0!==i?i:{categories:[]};const o=r=>{const i=null===n||void 0===n?void 0:n.colorCode;return t[r].reduce(((t,n)=>{var r,o,a,s,l,c,u;const d=e[n];if(!d)return t;const p=null!==(r=null===(o=d.variations)||void 0===o?void 0:o.find((e=>e.colorCode===i)))&&void 0!==r?r:null===(a=d.variations)||void 0===a?void 0:a[0];if(null===p||void 0===p||!p.variationNumber)return t;const h={name:null!==(s=d.productName)&&void 0!==s?s:"",color:null!==(l=p.color)&&void 0!==l?l:"",image:p.image,variationNumber:p.variationNumber,productNumber:null!==(c=d.productNumber)&&void 0!==c?c:"",gender:null!==(u=d.gender)&&void 0!==u?u:""};return[...t,h]}),[])},a=[],s=o("related"),c=o("genderRelated"),u=o("replacement");return c.forEach((e=>{let t=a.find((t=>t.label===e.gender));var n;t||(t={label:null!==(n=e.gender)&&void 0!==n?n:l.Ay.t("product.relatedGender"),products:[]},a.push(t));t.products.push(e)})),s.length>0&&a.push({label:l.Ay.t("product.related_short"),products:s}),u.length>0&&a.push({label:l.Ay.t("product.replacement"),products:u}),a})),he=(0,u.Mz)(M,(e=>null===e||void 0===e?void 0:e.info)),fe=(0,u.Mz)(x,Q,U,S,((e,t,n,r)=>{if(!t)return[];return r.filter((r=>{if(!(0,v.yE)(r,e))return!1;if("article"===e)return!r.repeat;return!!r.canvasFiles.find((e=>{var r;return(null===(r=e.position)||void 0===r?void 0:r.variationNumber)===t&&(e.position.split===n||!e.position.split)}))}))})),me=(0,u.Mz)(P,(e=>new Set(e))),ge=(0,u.Mz)(S,k,((e,t)=>e.find((e=>e.guid===t)))),ve=(0,u.Mz)(L,S,k,((e,t,n)=>{const{angle:r,variationNr:i,split:o}=e,a=[];for(const l of t){var s;const e=l.canvasFiles.find((e=>e.userProof));if(e&&(null===(s=e.position)||void 0===s?void 0:s.variationNumber)===i&&l.guid===n){a.splice(0,a.length),a.push({refinement:l,canvasFileIds:l.canvasFiles.map((e=>e.id))});break}const t=l.canvasFiles.filter((e=>{var t,n,a;return(null===(t=e.position)||void 0===t?void 0:t.variationNumber)===i&&(null===(n=e.position)||void 0===n?void 0:n.imageId)===r&&(!(null!==(a=e.position)&&void 0!==a&&a.split)||e.position.split===g.vt||e.position.split===o)}));t.length&&a.push({refinement:l,canvasFileIds:t.map((e=>e.id))})}return a})),ye=(0,u.Mz)(ue,K,S,L,W,C,((e,t,n,r,i,o)=>{var a,s;if(!e)return null;const l=r.variationNr,c=e.skus,u=n.flatMap((e=>{var t;return null!==(t=e.canvasFiles.flatMap((e=>e.position&&e.position.variationNumber===l?e.position:[])))&&void 0!==t?t:[]})),d=t.flatMap((e=>{var t,n;return null!==(t=null===(n=e.positions)||void 0===n?void 0:n.filter((e=>e.variationNumber===l)))&&void 0!==t?t:[]})),p=(0,h.$)([...u,...d],(e=>e.split?e.split:g.vt));function f(e,t){var n,r,i,o,a,s;return e.split&&null!==(n=e.skus)&&void 0!==n&&n.length?null!==(o=null===(a=e.skus)||void 0===a||null===(s=a.find((e=>e.sku===t)))||void 0===s?void 0:s.quantity)&&void 0!==o?o:0:null!==(r=null===(i=c.find((e=>e.sku===t)))||void 0===i?void 0:i.quantity)&&void 0!==r?r:0}const m=[];for(const[h,b]of p){if(h===g.vt)continue;const e="CollectionTool"===o?[]:c.map((e=>{var t;return{...e,quantity:f(b[0],null!==(t=e.sku)&&void 0!==t?t:"")}}));m.push({id:h,skus:e,totalQty:e.reduce(((e,t)=>{var n;return(null!==(n=t.quantity)&&void 0!==n?n:0)+e}),0),refinements:b.length})}const v={id:g.vt,skus:"CollectionTool"===o?[]:c,totalQty:"CollectionTool"===o?0:c.reduce(((e,t)=>{var n;return(null!==(n=t.quantity)&&void 0!==n?n:0)+e}),0),refinements:null!==(a=null===(s=p.get(g.vt))||void 0===s?void 0:s.length)&&void 0!==a?a:0},y={id:g.y6,skus:[],totalQty:0,refinements:0};if(null!==m&&void 0!==m&&m.length){const e=m.flatMap((e=>e.skus));for(const t of c){var A;const n=(null!==(A=t.quantity)&&void 0!==A?A:0)-e.filter((e=>e.sku===t.sku)).reduce(((e,t)=>{var n;return e+(null!==(n=t.quantity)&&void 0!==n?n:0)}),0);n&&y.skus.push({...t,quantity:n})}y.totalQty="CollectionTool"===o?1:y.skus.reduce(((e,t)=>{var n;return(null!==(n=t.quantity)&&void 0!==n?n:0)+e}),0)}return{splits:m,remaining:y,noSplit:v,remainingSkus:new Map(y.skus.map((e=>{var t;return[null!==(t=e.sku)&&void 0!==t?t:"",e]}))),collectionSkus:new Map(c.map((e=>{var t;return[null!==(t=e.sku)&&void 0!==t?t:"",e]}))),invalid:i,canSplit:!!m.length||!!v.refinements}})),Ae=(0,u.Mz)(ye,U,Z,((e,t,n)=>{function r(){const r=l.Ay.t("part.part");let i=t===g.y6&&n?n:r,o=t===g.y6?1:0;const a=e=>e.id===i;for(;null!==e&&void 0!==e&&e.splits.find(a)||i===l.Ay.t("part.part");)i=`${t===g.y6&&n?n:r} ${++o}`;return i}switch(t){case g.vt:case void 0:return{split:null===e||void 0===e?void 0:e.noSplit,nextId:r()};case g.y6:return{split:null===e||void 0===e?void 0:e.remaining,nextId:r()};default:return{split:null===e||void 0===e?void 0:e.splits.find((e=>e.id===t))}}})),be=(0,u.Mz)(ge,I,((e,t)=>{const n=[];return null!==e&&void 0!==e&&e.preview.error&&n.push(e.preview.error),t&&n.push(t),n})),we=(0,u.Mz)((e=>e.refinementTool.basePreviewsPending),(e=>e?we.lastResult():y.Y)),xe=((0,u.Mz)(S,k,((e,t)=>{const n=e.find((e=>e.guid===t));if(n&&"productRefinementProperty"in n)return n})),(0,u.Mz)(ge,A,((e,t)=>{if(e&&"ready"===t&&!e.preview.error&&!e.preview.pending&&!e.preview.data)return e.guid}))),Ce=(0,u.Mz)(ge,(e=>{var t,n;return null!==(t=null===e||void 0===e||null===(n=e.variations.data)||void 0===n?void 0:n.addons)&&void 0!==t?t:[]})),Se=(0,u.Mz)(ge,(e=>{var t,n,r;return null!==(t=null===e||void 0===e||null===(n=e.variations)||void 0===n||null===(r=n.data)||void 0===r?void 0:r.isMounting)&&void 0!==t&&t})),ke=(0,u.Mz)(ge,(e=>{var t;return!(null!==e&&void 0!==e&&e.locked)&&!(null!==e&&void 0!==e&&null!==(t=e.variations.data)&&void 0!==t&&t.isMounting)})),Ee=(0,u.Mz)(ge,(e=>!(null===e||void 0===e||!e.repeat))),Ie=(0,u.Mz)((e=>e.refinementTool.articles),(e=>e.allIds.map((t=>e.byId[t])))),_e=(0,u.Mz)(Ie,ve,((e,t)=>e.length?e.filter((e=>e.refinementProductId&&!t.find((t=>t.refinement.variations.articleId===e.id)))):[])),Pe=(0,u.Mz)(ge,x,s.PO,F,L,((e,t,n,r,i)=>{var o,a,s;const{data:l,pending:u,error:d}=n;if("article"!==t||d||u)return null;const p=null!==(o=null===e||void 0===e||null===(a=e.variations.data)||void 0===a?void 0:a.id)&&void 0!==o?o:r,h=null!==(s=l.find((e=>{var t,n;return(null===(t=e.refinements)||void 0===t||null===(n=t[0])||void 0===n?void 0:n.id)===p})))&&void 0!==s?s:l[0],f=i.proposalIndex,m=null===e||void 0===e?void 0:e.canvasFiles[0],g=(0,v.No)(l.flatMap((e=>{var t;return null!==(t=e.refinements)&&void 0!==t?t:[]})),m),y=e=>e.map((e=>{var t,n;const r=null!==(t=null===(n=e.refinements)||void 0===n?void 0:n[0])&&void 0!==t?t:{};return{article:e,compatible:"number"===typeof r.id&&g.includes(r.id),refinement:r}})),A=l.filter((e=>{var t,n,r;return(null===(t=e.refinements)||void 0===t?void 0:t[0].type)!==c.RefinementType.MultiImages&&null==(null===(n=e.refinements)||void 0===n||null===(r=n[0].textOptions)||void 0===r?void 0:r.mode)})),b=l.filter((e=>{var t;return(null===(t=e.refinements)||void 0===t?void 0:t[0].type)===c.RefinementType.MultiImages}));return{selectedArticle:h,selectedProposalIndex:f,refinementArticles:y(A),refinementMultiArticles:y(b)}})),Oe=(0,u.Mz)(x,Pe,M,L,((e,t,n,r)=>{var i,o,a;return"article"===e?null===t||void 0===t||null===(i=t.selectedArticle)||void 0===i||null===(o=i.refinements)||void 0===o?void 0:o.find((e=>e.id===r.refinementId)):null===n||void 0===n||null===(a=n.refinements)||void 0===a?void 0:a.find((e=>e.id===r.refinementId))})),Te=(0,u.Mz)(Oe,C,((e,t)=>!!e&&[c.RefinementType.Image,c.RefinementType.MultiImages].includes(null===e||void 0===e?void 0:e.type))),De=(0,u.Mz)(ge,M,L,((e,t,n)=>{var r,i,o,a,s,l;const c=n.angle,u=null!==(r=null===t||void 0===t||null===(i=t.refinements)||void 0===i?void 0:i.filter((e=>{var t;return c&&!(null!==(t=e.disabledAngles)&&void 0!==t&&t.includes(c))})))&&void 0!==r?r:[],d=null!==(o=null===e||void 0===e||null===(a=e.variations.data)||void 0===a?void 0:a.id)&&void 0!==o?o:n.refinementId,p=null!==(s=null!==(l=u.find((e=>e.id===d)))&&void 0!==l?l:u.find((e=>!1!==e.active)))&&void 0!==s?s:u[0],f=!(null===e||void 0===e||!e.canvasFiles.length)&&(0,h.$)(e.canvasFiles,(e=>{var t,n;return null===(t=e.position)||void 0===t||null===(n=t.variationNumber)||void 0===n?void 0:n.split("-")[0]})).size>1;let m;const g=null===e||void 0===e?void 0:e.canvasFiles[0];m=(0,v.No)(u,g);const y=u.map((e=>({refinement:e,compatible:"number"===typeof e.id&&(f?e.id===p.id:m.includes(e.id))})));return{selectedRefinementType:p,refinementTypes:y,isEmpty:void 0===e}})),je=(0,u.Mz)(ge,De,((e,t)=>{var n;if(!e)return;const r=null===t||void 0===t?void 0:t.refinementTypes.find((t=>{var n,r;return t.refinement.id===(null===e||void 0===e||null===(n=e.variations)||void 0===n||null===(r=n.data)||void 0===r?void 0:r.id)}));return null===r||void 0===r||null===(n=r.refinement)||void 0===n?void 0:n.sizeMode})),Be=(0,u.Mz)(x,ge,Te,ke,H,C,a.iZ,i.Kc,je,((e,t,n,r,i,o,a,s,l)=>{var u,d,p,h,f,m,g,v;const y=new Set(["canvas","priceTable"]),A=(null!==(u=null===t||void 0===t||null===(d=t.variations)||void 0===d||null===(p=d.text)||void 0===p||null===(h=p.textValues)||void 0===h?void 0:h.length)&&void 0!==u?u:0)>0,b=null===t||void 0===t||null===(f=t.preview.data)||void 0===f?void 0:f.enableStock;switch(!A&&null!==t&&void 0!==t&&null!==(m=t.canvasFiles[0])&&void 0!==m&&m.userProof?y.add("userProof"):n&&!i&&r&&"CollectionTool"!==o&&y.add("attachments"),e){case"article":r&&n&&t&&y.add("articles"),(A&&b||!A)&&y.add("nameAndTags");break;case"refinement":r&&n&&t&&"CollectionTool"!==o&&y.add("refinements"),s&&!a&&r&&n&&t&&"CollectionTool"===o&&y.add("name")}return null!==t&&void 0!==t&&null!==(g=t.variations)&&void 0!==g&&null!==(v=g.data)&&void 0!==v&&v.isText&&(s&&!a&&y.add("name"),y.add("text"),[c.SizeMode.SquareCm].includes(l)&&y.add("size"),[c.SizeMode.FixedHeights,c.SizeMode.FixedHeights].includes(l)&&y.add("fixedSizes")),n?(y.add("size"),y.add("color"),y.add("customAddons"),!i&&y.add("other")):y.add("noFileAddons"),y})),Ne=(0,u.Mz)(ge,Be,((e,t)=>{var n,r;const i=null===e||void 0===e?void 0:e.variations.data;var o;return t.has("name")?{name:null!==(o=null===i||void 0===i?void 0:i.description)&&void 0!==o?o:"",categories:[]}:t.has("nameAndTags")?{name:null!==(n=null===i||void 0===i?void 0:i.description)&&void 0!==n?n:"",categories:null!==(r=null===i||void 0===i?void 0:i.categories)&&void 0!==r?r:[]}:null})),Me=(0,u.Mz)(V,G,((e,t)=>({name:null!==e&&void 0!==e?e:"",categories:null!==t&&void 0!==t?t:[]}))),Re=(0,u.Mz)(ge,x,L,((e,t,n)=>{if(!e)return[];if("article"===t)return e.canvasFiles[0]?[e.canvasFiles[0]]:[];{const{angle:t,variationNr:r,split:i}=n;return e.canvasFiles.filter((e=>{var n,o,a,s;return(null===(n=e.position)||void 0===n?void 0:n.variationNumber)===r&&(e.userProof||(null===(o=e.position)||void 0===o?void 0:o.imageId)===t&&(!(null!==(a=e.position)&&void 0!==a&&a.split)||(null===(s=e.position)||void 0===s?void 0:s.split)===i))}))}})),Le=(0,u.Mz)(Re,(e=>{var t;return!(null===e||void 0===e||null===(t=e[0])||void 0===t||!t.userProof)})),Fe=(0,u.Mz)(M,L,ve,S,k,Te,R,((e,t,n,r,i,o,a)=>{var s,l,u,d,h,f,m,v,y,A,b,w,x,C,S,k,E,I,_,P;const O=n.find((e=>e.refinement.guid===i));if((null===O||void 0===O||null===(s=O.refinement.canvasFiles.find((e=>{var t;return null===(t=O.canvasFileIds)||void 0===t?void 0:t.includes(e.id)})))||void 0===s?void 0:s.userProof)&&o)return{images:[],image:{key:"userProof",src:O.refinement.convertedFile}};const T=t.variationNr,D=t.angle,j=t.split;if(a||!T||!e)return{images:[],pending:!0};const B=null===e||void 0===e||null===(l=e.variations)||void 0===l?void 0:l.find((e=>e.variationNumber===T));if(!B)return{images:[],pending:!0};const N=null!==(u=null===B||void 0===B||null===(d=B.angles)||void 0===d?void 0:d.filter((t=>function(t){var n;switch(t){case"none":case void 0:case null:return!1;default:return!(null===e||void 0===e||null===(n=e.refinements)||void 0===n?void 0:n.every((e=>{var n;return null===(n=e.disabledAngles)||void 0===n?void 0:n.includes(t)})))}}(t.angle))).map((e=>{var t,n;return{key:null!==(t=e.imageId)&&void 0!==t?t:"",src:(0,p.Ay)(e,p.yj.Preview,c.ImageExtension.Jpg),thumb:(0,p.Ay)(e,p.yj.ThumbNail,c.ImageExtension.Jpg),angle:null!==(n=e.angle)&&void 0!==n?n:void 0}})))&&void 0!==u?u:[];let M;const R=N.find((e=>e.angle===D));R?M=R:(M={key:"invalid__",invalid:!0},N.push(M));const L=null===B||void 0===B||null===(h=B.angles)||void 0===h||null===(f=h.find((e=>e.angle===D)))||void 0===f?void 0:f.imageAreas,F=r.flatMap((e=>e.canvasFiles.map((e=>{var t,n,r,i,o,a,s,l,c;return{thumb:null!==(t=null===e||void 0===e?void 0:e.previewFile)&&void 0!==t?t:void 0,src:void 0,key:null!==(n=null===(r=e.position)||void 0===r?void 0:r.filePreview)&&void 0!==n?n:"",variation:null!==(i=null===(o=e.position)||void 0===o?void 0:o.variationNumber)&&void 0!==i?i:void 0,angle:null!==(a=null===(s=e.position)||void 0===s?void 0:s.imageId)&&void 0!==a?a:void 0,split:null!==(l=null===(c=e.position)||void 0===c?void 0:c.split)&&void 0!==l?l:void 0}})))).filter((e=>!!e&&e.variation===T&&(e.split===j||!e.split&&j===g.vt))),z=N.map((e=>{var t;return null!==(t=F.find((t=>t.angle===e.angle&&t.thumb&&(j&&j!==g.vt?t.split===j:!t.split))))&&void 0!==t?t:e})).map((e=>({...e,refinements:F.filter((t=>t.angle===e.angle)).length})));return{images:z,image:M,imageAreas:L?{measurement:null!==L&&void 0!==L&&L.measurement?{...null!==(m=null===L||void 0===L?void 0:L.measurement)&&void 0!==m?m:{},x:+(null!==(v=null===L||void 0===L||null===(y=L.measurement)||void 0===y||null===(A=y.x)||void 0===A?void 0:A.toFixed(4))&&void 0!==v?v:0),x2:+(null!==(b=null===L||void 0===L||null===(w=L.measurement)||void 0===w||null===(x=w.x2)||void 0===x?void 0:x.toFixed(4))&&void 0!==b?b:0),y:+(null!==(C=null===L||void 0===L||null===(S=L.measurement)||void 0===S||null===(k=S.y)||void 0===k?void 0:k.toFixed(4))&&void 0!==C?C:0),y2:+(null!==(E=null===L||void 0===L||null===(I=L.measurement)||void 0===I||null===(_=I.y2)||void 0===_?void 0:_.toFixed(4))&&void 0!==E?E:0)}:void 0,areas:null!==(P=L.areas)&&void 0!==P?P:void 0}:void 0,error:z.length?void 0:"No angle image"}})),ze=(0,u.Mz)(ge,Re,T,Te,Y,$,ne,R,b,((e,t,n,r,i,o,a,s,l)=>{var c,u,d,p;let h=null!==(c=null===e||void 0===e?void 0:e.variations.colors)&&void 0!==c?c:[];const f=t.length?t.every((e=>e.placed)):void 0,m={placed:f,colors:h,placing:!(null===e||void 0===e||!e.convertedFile)&&!f,filesPending:n,filesEnabled:r,pending:s||"pendingBackground"===l};return m.showCreate=!m.placed&&!m.filesPending&&!m.placing&&!i&&!o&&!a,m.showTransferMatrix=(null!==(u=null===e||void 0===e||null===(d=e.variations.text)||void 0===d||null===(p=d.textValues)||void 0===p?void 0:p.length)&&void 0!==u?u:0)>0,m})),Qe=(0,u.Mz)(Re,(e=>!(null===e||void 0===e||!e.every((e=>e.placed))))),Ue=(0,u.Mz)(S,Oe,((e,t)=>(null===t||void 0===t?void 0:t.type)!==c.RefinementType.Image?[]:e.reduce(((e,n)=>{var r,i,o,a,s,l,c,u;if(null!==(r=n.variations.data)&&void 0!==r&&r.isMounting)return e;const p=n.canvasFiles[0],h=null===p||void 0===p?void 0:p.fileName;let f=!1;if(!h||e.find((e=>e.canvasFile.fileName===h)))return e;if(["Text.xlsx"].includes(h))return e;null!==t&&void 0!==t&&null!==(i=t.fileTypes)&&void 0!==i&&i.length&&!t.fileTypes.includes((0,d.Kl)(h))&&(f=!0);const m=null!==(o=null===(a=n.variations.colors)||void 0===a?void 0:a.map((e=>({...e,replaced:!1,replacedName:void 0,replacedHex:void 0,visible:!0}))))&&void 0!==o?o:[];null!==t&&void 0!==t&&t.multiColor||m.length||(f=!0);const{placed:g,previewFile:v,id:y,position:A,...b}=p,w={canvasFile:b,colors:m,incompatible:f,convertedFile:n.convertedFile,width:null!==(s=null===(l=n.variations.data)||void 0===l?void 0:l.width)&&void 0!==s?s:8,height:null!==(c=null===(u=n.variations.data)||void 0===u?void 0:u.height)&&void 0!==c?c:8,newFile:n.newFile};return f?[...e,w]:[w,...e]}),new Array))),Ve=(0,u.Mz)(Re,x,((e,t)=>{var n,r;return"article"===t&&(null===e||void 0===e||null===(n=e[0])||void 0===n||null===(r=n.position)||void 0===r?void 0:r.darkBg)})),Ge=(0,u.Mz)(ge,Qe,((e,t)=>{var n,r,i,o,a,s,l,c;const u=null===e||void 0===e?void 0:e.preview.data,d=null===e||void 0===e?void 0:e.variations.data;if(!u||!d)return null;const p=null===(n=e.variations.colors)||void 0===n?void 0:n.filter((e=>e.visible)).map((e=>e.replaced?{name:e.replacedName,hex:e.replacedHex}:{name:e.sourceName,hex:e.sourceHex})),h=[...null!==(r=u.colors)&&void 0!==r?r:[]];d.colorBacking&&h.pop();const f=null!==(i=u.colorChangeEnabled&&1===d.colors)&&void 0!==i&&i,m=(0,v.hk)(e);return{previewColorArray:h,colors:null!==(o=d.colors)&&void 0!==o?o:0,colorBackingAvailable:m.available,colorBacking:m.value,colorChangeEnabled:f,colorChange:!!d.colorChange,colorChangePms:null!==(a=d.colorChangePms)&&void 0!==a?a:void 0,hide:!t||!(null!==(s=u.colors)&&void 0!==s&&s.length)||!(null===(l=e.canvasFiles[0])||void 0===l||!l.multiColor),colorWarning:null!==(c=u.colorWarning)&&void 0!==c?c:void 0,pmsColors:p}})),qe=(0,u.Mz)(ge,De,Pe,Be,Qe,((e,t,n,r,i)=>{var o,a,s,l,u,d,p,h,f,m;const g=null===e||void 0===e?void 0:e.preview.data,v=null===e||void 0===e?void 0:e.variations.data;if(!r.has("size")&&!r.has("fixedSizes")||!v)return null;const y=null!==(o=null===g||void 0===g||null===(a=g.addons)||void 0===a?void 0:a.filter((e=>e.placement===c.AddonPlacement.Size)))&&void 0!==o?o:[],A=null!==(s=v.width)&&void 0!==s?s:0,b=null!==(l=v.height)&&void 0!==l?l:0;let w,x,C=[],S=!1;const k=A&&b?A*b:0,E=null===(u=null!==e&&void 0!==e&&null!==(d=e.variations)&&void 0!==d&&null!==(p=d.data)&&void 0!==p&&p.isProduct?null===n||void 0===n?void 0:n.refinementArticles:null===t||void 0===t?void 0:t.refinementTypes)||void 0===u?void 0:u.find((t=>{var n;return t.refinement.id===(null===(n=e.variations.data)||void 0===n?void 0:n.id)}));switch(null===E||void 0===E?void 0:E.refinement.sizeMode){case c.SizeMode.SquareCm:[w,x]=null!==g&&void 0!==g&&g.sizes?g.sizes:[],S=!(!k||!(x&&+k.toFixed(0)>x||+k.toFixed(0)<w));break;case c.SizeMode.FixedHeights:C=null!==(h=null===g||void 0===g?void 0:g.sizes)&&void 0!==h?h:[];break;case c.SizeMode.FixedWidths:C=null!==(f=null===g||void 0===g?void 0:g.sizes)&&void 0!==f?f:[]}return{addons:y,maxSize:x,minSize:w,sizes:C,width:A,height:b,size:k,warning:S,mode:null===E||void 0===E||null===(m=E.refinement)||void 0===m?void 0:m.sizeMode,dimensions:null===g||void 0===g?void 0:g.dimensions,hide:!i}})),He=(0,u.Mz)(ge,Be,((e,t)=>{var n,r,i;const o=null===e||void 0===e?void 0:e.preview.data,a=null===e||void 0===e?void 0:e.variations.data;if(!t.has("other")||!o||!a)return null;const s=null!==(n=null===o||void 0===o||null===(r=o.addons)||void 0===r?void 0:r.filter((e=>e.placement===c.AddonPlacement.Other||null==e.placement)))&&void 0!==n?n:[];return{comment:null!==(i=a.comment)&&void 0!==i?i:"",addons:s}})),We=(0,u.Mz)(ge,Be,((e,t)=>{var n,r;const i=null===e||void 0===e?void 0:e.preview.data,o=null===e||void 0===e?void 0:e.variations.data;if(!t.has("customAddons")||!i||!o)return null;let a=null!==(n=null===i||void 0===i||null===(r=i.addons)||void 0===r?void 0:r.filter((e=>e.placement===c.AddonPlacement.File)))&&void 0!==n?n:[],s=l.Ay.t("refinement.addon");return 1===a.length&&a[0].name&&(s=a[0].name,a=[{...a[0],name:null}]),{addons:a,title:s}})),Ye=(0,u.Mz)(M,(e=>null===e||void 0===e?void 0:e.addons)),Ke=(0,u.Mz)(ge,L,q,((e,t,n)=>{const{variationNr:r}=t;return(0,v.Qe)(e,n,r)})),Je=(0,u.Mz)(N,o.u5,(function(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const n=(null===(e=(arguments.length>1?arguments[1]:void 0).refinementPolicies)||void 0===e?void 0:e.value)||[];return 0===n.length||Object.keys(t).length===n.length&&Object.values(t).every((e=>e))})),Xe=(0,u.Mz)(C,ge,o.eT,w,x,j,D,B,z,Ke,O,_,ee,Je,o.I4,H,((e,t,n,r,i,o,a,s,l,c,u,d,p,h,f,m)=>{var g,v,y,A,b,w;const x=null===t||void 0===t?void 0:t.preview.data,C="article"===i&&m,S=(null!==(g=null===f||void 0===f||null===(v=f.value)||void 0===v?void 0:v.length)&&void 0!==g?g:0)>0,k=!C&&("shoppingCart"===e||"offerCart"===e)&&S,E="shoppingCart"===e||"offerCart"===e,I=!(l||n)||"CollectionTool"!==e&&(!c||c<1)||r||u||!!k&&!h;return{disable:I||!p,disableDeposit:I||c<(null!==(y=null===x||void 0===x?void 0:x.minStock)&&void 0!==y?y:0),disableQty:"refinement"===i,hideQty:(null!==(A=null===t||void 0===t||null===(b=t.variations.text)||void 0===b||null===(w=b.textValues)||void 0===w?void 0:w.length)&&void 0!==A?A:0)>0,enableStock:!(null===x||void 0===x||!x.enableStock),minQuantity:null===x||void 0===x?void 0:x.minQuantity,minStock:null===x||void 0===x?void 0:x.minStock,policiesEnabled:k,finalProofAgreed:s,finalProofEnabled:E,proofServiceEnabled:"refinement"===i&&!!a.proofServiceEnabled,proofServicePrice:a.proofServicePrice,proofType:o,quantity:c,services:a.services,stepQuantity:null===x||void 0===x?void 0:x.stepQuantity,stockOperation:"article"===i?null===t||void 0===t?void 0:t.stockOperation:void 0,submitting:r,type:i}})),Ze=(0,u.Mz)(k,L,S,Be,X,J,Y,((e,t,n,r,i,o,a)=>{var s,c,u;if(!r.has("priceTable"))return null;const{variationNr:d,split:p}=t,f=i.data,m=null!==(s=i.pending)&&void 0!==s&&s,g=n.findIndex((t=>t.guid===e)),v=null===f||void 0===f||null===(c=f.staffedPrice)||void 0===c?void 0:c.filter((e=>e.index===g)),A=[...null!==(u=null===f||void 0===f?void 0:f.positionPrice)&&void 0!==u?u:[]].sort(((e,t)=>e.variationNumber&&t.variationNumber?t.variationNumber<e.variationNumber||"front"===t.angle?1:-1:0)),b=(0,h.$)(A.map((e=>{var t,r;if("number"!==typeof e.index)return e;const i=n[e.index],o=null===i||void 0===i?void 0:i.guid,a=([null===i||void 0===i||null===(t=i.variations.data)||void 0===t?void 0:t.width,null===i||void 0===i||null===(r=i.variations.data)||void 0===r?void 0:r.height].filter((e=>(null!==e&&void 0!==e?e:0)>0)).join("x")||"0")+"cm";return{...e,refinementGuid:o,refinementSize:a}})),(e=>"number"===typeof e.index?e.index:-1)),w=e=>f&&e?e.flatMap((e=>{var t;const n=e.addonCosts;return null!==(t=null===n||void 0===n?void 0:n.filter((e=>e.price)).map((t=>{var n;return{label:`${(null!==(n=t.quantity)&&void 0!==n?n:0)>1?`${null===t||void 0===t?void 0:t.quantity} ${l.Ay.t("stock.pcs")}. `:""}${t.name}`,value:`${t.price}`,index:e.index}})))&&void 0!==t?t:[]})):[],x=e=>f&&e?e.filter((e=>e.startCost)).map((e=>({label:l.Ay.t("refinement.startCost"),value:`${e.startCost}`,index:e.index}))):[],C=e=>{if(!f||!e)return[];return e.map((e=>{var t;return{label:`${e.quantity&&e.quantity>1?`${e.quantity} ${l.Ay.t("stock.pcs")}. `:""}${e.name}, ${e.variationNumber}${e.split?`, ${e.split}`:""}`,value:null!==(t=e.price)&&void 0!==t?t:""}}))},S=e=>{if(!f||!e)return[];return e.map((e=>{var t,n,r;const i=null===(t=e.variationNumber)||void 0===t||null===(n=t.match(/^\d+/))||void 0===n?void 0:n[0],o=i?y.g[i]:void 0,a=null===o||void 0===o||null===(r=o.variations)||void 0===r?void 0:r.find((t=>t.variationNumber===e.variationNumber));return{label:`${e.quantity} ${l.Ay.t("stock.pcs")}. ${o?o.productName:e.variationNumber}${a?`, ${a.color}`:""}`,value:`${e.productPrice}`}}))};switch(o){case"allRefinements":return{pending:m,tieredPrice:v,price:f&&{total:f.total,positions:b,quantityCosts:[],startCosts:x(f.refinementTotal),addonCosts:w(f.refinementTotal),productAddonCosts:C(f.productAddonPrice),variationCosts:S(f.variationTotal)}};case"selectedVariation":{var k,E,I,_;const e=n.flatMap(((e,t)=>e.canvasFiles.map((e=>({...e.position,index:t}))))).filter((e=>(null===e||void 0===e?void 0:e.variationNumber)===d)).map((e=>e.index)),t=null===f||void 0===f||null===(k=f.variationTotal)||void 0===k?void 0:k.find((e=>e.variationNumber===d)),r=null===f||void 0===f||null===(E=f.refinementTotal)||void 0===E?void 0:E.filter((t=>"number"===typeof t.index&&e.includes(t.index))),i=null===f||void 0===f||null===(I=f.variationTotal)||void 0===I?void 0:I.filter((e=>e.variationNumber===d)),o=b&&new Map([...b].filter((e=>{let[t,n]=e;return n.find((e=>e.variationNumber===d))}))),a=o.size?new Map([...b].map((e=>{let[t,n]=e;return[t,n.filter((e=>e.variationNumber===d))]}))):void 0;return{pending:m,tieredPrice:v,price:f&&{total:null===t||void 0===t?void 0:t.price,quantityCosts:[],startCosts:x(r),addonCosts:w(r),positions:a,productAddonCosts:C(null===(_=f.productAddonPrice)||void 0===_?void 0:_.filter((e=>e.variationNumber===d))),variationCosts:S(i)}}}case"selectedRefinement":{var P,O,T,D,j,B;if(a)return{pending:m,price:f&&{startCosts:[],addonCosts:[],quantityCosts:[],productAddonCosts:C(null===(B=f.productAddonPrice)||void 0===B?void 0:B.filter((e=>e.variationNumber===d&&(!e.split||e.split===p))))}};const e=n[g];if(!e)return{pending:!1};const t=e.preview.data,r=null===f||void 0===f||null===(P=f.refinementTotal)||void 0===P?void 0:P.find((e=>e.index===g)),i=null===r||void 0===r?void 0:r.quantity,o=null!==(O=null===t||void 0===t?void 0:t.minQuantity)&&void 0!==O?O:0,s=!e.preview.pending&&"number"===typeof(null===t||void 0===t?void 0:t.minQuantity)&&0!==i&&(null!==i&&void 0!==i?i:0)<t.minQuantity,c=b&&new Map([...b].filter((e=>{let[t]=e;return t===g})));return{pending:m,minQuantityWarning:s,minQuantity:o,tieredPrice:v,price:f&&{total:null===r||void 0===r?void 0:r.price,startCosts:null!==r&&void 0!==r&&r.startCost?[{label:l.Ay.t("refinement.startCost"),value:`${null===r||void 0===r?void 0:r.startCost}`,index:null===r||void 0===r?void 0:r.index}]:[],quantityCosts:null!==(T=null===r||void 0===r?void 0:r.quantityCosts)&&void 0!==T?T:[],addonCosts:null!==(D=null===r||void 0===r||null===(j=r.addonCosts)||void 0===j?void 0:j.map((e=>{var t;return{label:`${(null!==(t=e.quantity)&&void 0!==t?t:0)>1?`${null===e||void 0===e?void 0:e.quantity} ${l.Ay.t("stock.pcs")}. `:""}${e.name}`,value:`${e.price}`,index:r.index}})))&&void 0!==D?D:[],positions:c}}}}})),$e=(0,u.Mz)(Le,ge,M,((e,t,n)=>{var r,i,o,a,s,l,c;if(!e||!t)return null;const u=null!==(r=null===n||void 0===n||null===(i=n.areas)||void 0===i?void 0:i.map(((e,t)=>{var n,r;return{value:null!==(n=e.id)&&void 0!==n?n:t.toString(),label:null!==(r=e.name)&&void 0!==r?r:""}})))&&void 0!==r?r:[];return{placement:null!==(o=null!==(a=null===(s=t.variations.data)||void 0===s?void 0:s.placement)&&void 0!==a?a:null===(l=u[0])||void 0===l?void 0:l.value)&&void 0!==o?o:"",areas:u,attachments:null!==(c=t.attachments)&&void 0!==c?c:[],guid:t.guid}})),et=(0,u.Mz)(ge,(e=>{var t;return e?(null!==(t=e.attachments)&&void 0!==t?t:[]).filter((e=>!["Text.xlsx"].includes(e))):null})),tt=(0,u.Mz)(ge,(e=>(0,v.kc)(e))),nt=(0,u.Mz)(ge,(e=>(0,v.i5)(e))),rt=(0,u.Mz)(ge,(e=>(0,v.PQ)(e))),it=(0,u.Mz)(ge,(e=>(0,v.pT)(e))),ot=(0,u.Mz)(ge,(e=>(0,v.h$)(e))),at=(0,u.Mz)(L,(e=>"number"===typeof e.refinementId)),st=(0,u.Mz)(C,j,B,((e,t,n)=>"service"===t||"shoppingCart"!==e||!0===n)),lt=(0,u.Mz)(x,S,K,q,((e,t,n,r)=>{if("article"===e)return;const i=t.flatMap((t=>(0,v.yE)(t,e)?t.canvasFiles.map((e=>e.position)):[])).concat(n.flatMap((e=>{var t;return null!==(t=e.positions)&&void 0!==t?t:[]}))).filter((e=>!!e));for(const[l,c]of Object.entries(r)){var o,a;const e=i.filter((e=>e.variationNumber===l));if(!e.length)continue;const t=(0,h.$)(e,(e=>{var t;return e.split&&null!==(t=e.skus)&&void 0!==t&&t.length?e.split:g.vt}));if(null!==(o=t.get(g.vt))&&void 0!==o&&o.length)continue;let n=[];for(const[r,i]of t)if(r!==g.vt){const e=c.skus.map((e=>{var t,n,r;return{...e,quantity:null!==(t=null===(n=i[0].skus)||void 0===n||null===(r=n.find((t=>t.sku===e.sku)))||void 0===r?void 0:r.quantity)&&void 0!==t?t:0}}));n=[...n,...e]}if(null!==(a=n)&&void 0!==a&&a.length)for(const r of c.skus){var s;if((null!==(s=r.quantity)&&void 0!==s?s:0)-n.filter((e=>e.sku===r.sku)).reduce(((e,t)=>{var n;return e+(null!==(n=t.quantity)&&void 0!==n?n:0)}),0)>0)return l}}})),ct=(0,u.Mz)(S,M,((e,t)=>{var n,r;const i=null===t||void 0===t||null===(n=t.refinements)||void 0===n||null===(r=n.filter((e=>{var t;return(null===(t=e.textOptions)||void 0===t?void 0:t.mode)===c.TextMode.Variable})))||void 0===r?void 0:r.map((e=>e.id));return!!e.some((e=>{var t;return null===i||void 0===i?void 0:i.includes(null===(t=e.variations.data)||void 0===t?void 0:t.id)}))})),ut=(0,u.Mz)(S,M,((e,t)=>{var n,r;const i=null===t||void 0===t||null===(n=t.refinements)||void 0===n||null===(r=n.filter((e=>{var t;return(null===(t=e.textOptions)||void 0===t?void 0:t.mode)===c.TextMode.Variable})))||void 0===r?void 0:r.map((e=>e.id));return e.map(((e,t)=>({...e,orgIndex:t}))).filter((e=>{var t;return null===i||void 0===i?void 0:i.includes(null===(t=e.variations.data)||void 0===t?void 0:t.id)}))})),dt=(0,u.Mz)(st,ge,((e,t)=>!!t&&((0,v.l)(t)&&e))),pt=(0,u.Mz)(L,M,((e,t)=>{var n,r;const i=e.refinementId,o=e.variationNr,a=null===t||void 0===t||null===(n=t.refinements)||void 0===n||null===(r=n.find((e=>e.id===i)))||void 0===r?void 0:r.type;if(!o)throw new Error("No variation number, should not happen");return{refinementId:i,refinementType:a,variationNumbers:[o]}})),ht=(0,u.Mz)(S,x,Pe,((e,t,n)=>{if("article"!==t)return null;return e.filter((e=>{var t;return null===n||void 0===n||null===(t=n.refinementMultiArticles)||void 0===t?void 0:t.find((t=>{var n;return t.refinement.id===(null===(n=e.variations.data)||void 0===n?void 0:n.id)}))})).map(((e,t)=>{var n,r,i,o,a,s,l,c,u,d;return{id:e.guid,refinementId:null===(n=e.variations.data)||void 0===n?void 0:n.id,index:t,name:null!==(r=null===(i=e.variations.data)||void 0===i?void 0:i.description)&&void 0!==r?r:"",img:null!==(o=null!==(a=e.sampleFile)&&void 0!==a?a:e.convertedFile)&&void 0!==o?o:"",size:null!==(s=e.variations.data)&&void 0!==s&&s.size?`${null===(l=e.variations.data.width)||void 0===l?void 0:l.toFixed(0)}x${null===(c=e.variations.data.height)||void 0===c?void 0:c.toFixed(0)}cm`:"",colors:null!==(u=null===(d=e.variations.colors)||void 0===d?void 0:d.reduce(((e,t)=>{var n;return`${e}${e.length?", ":""}${null!==(n=t.replacedName)&&void 0!==n?n:t.sourceName}`}),""))&&void 0!==u?u:"",placementCount:0}}))})),ft=(0,u.Mz)(S,x,M,L,((e,t,n,r)=>{if("article"===t)return null;const i=r.angle,o=r.variationNr;if(!i)return null;const a=new Map;if(null!==n&&void 0!==n&&n.refinements)for(const u of n.refinements){var s,l,c;null!==(s=u.disabledAngles)&&void 0!==s&&s.includes(i)||u.id&&a.set(u.id,null!==(l=null!==(c=u.name)&&void 0!==c?c:u.id.toString())&&void 0!==l?l:"")}return o&&a.size?e.reduce(((e,t,r)=>{var i,o,s,l,c,u,d,p,h,f,m,g,v;if(null===(i=t.variations.data)||void 0===i||!i.id||t.variations.data.isProduct||!a.get(t.variations.data.id)||!t.canvasFiles.find((e=>!!e.position)))return e;const y={id:t.guid,refinementId:t.variations.data.id,index:r,name:`${r+1}. ${null!==(o=null!==(s=null===n||void 0===n||null===(l=n.refinements)||void 0===l||null===(c=l.find((e=>{var n;return e.id===(null===(n=t.variations.data)||void 0===n?void 0:n.id)})))||void 0===c?void 0:c.name)&&void 0!==s?s:t.guid)&&void 0!==o?o:""}`,img:null!==(u=null!==(d=t.sampleFile)&&void 0!==d?d:t.convertedFile)&&void 0!==u?u:"",size:null!==(p=t.variations.data)&&void 0!==p&&p.size?`${null===(h=t.variations.data.width)||void 0===h?void 0:h.toFixed(0)}x${null===(f=t.variations.data.height)||void 0===f?void 0:f.toFixed(0)}cm`:"",colors:null!==(m=null===(g=t.variations.colors)||void 0===g?void 0:g.reduce(((e,t)=>{var n;return`${e}${e.length?", ":""}${null!==(n=t.replacedName)&&void 0!==n?n:t.sourceName}`}),""))&&void 0!==m?m:"",placementCount:null===(v=t.canvasFiles)||void 0===v?void 0:v.length};return[...e,y]}),new Array):null})),mt=(0,u.Mz)(ge,Re,b,((e,t,n)=>{var r,i,o;const a=null===e||void 0===e?void 0:e.preview.data,s=null===e||void 0===e?void 0:e.variations.data,l=t.every((e=>e.placed));return{place:!!t.length&&!!e&&!!a&&!!s&&(!(null===(r=e.variations.text)||void 0===r||!r.value)||!(null===e||void 0===e||!e.convertedFile))&&!l&&"pendingBackground"!==n,width:null!==(i=null===e||void 0===e||null===(o=e.variations.data)||void 0===o?void 0:o.width)&&void 0!==i?i:8}})),gt=(0,u.Mz)(r.RZ,K,X,((e,t,n)=>{const r={pending:!1,toLoad:[]};for(const u of t){var i,o,a,s,l;if(null===(i=u.positions)||void 0===i||!i.length)continue;const t=null===(o=n.data)||void 0===o||null===(a=o.productAddonTotal)||void 0===a?void 0:a.find((e=>e.id===u.id)),d=null===t||void 0===t||null===(s=t.inputs)||void 0===s||null===(l=s.find((e=>e.type===c.ShopCartRefinementInputType.FixedImage)))||void 0===l?void 0:l.value,p=d?+d:void 0;if(!p)continue;const{data:h,pending:f,error:m}=e;f[p]&&(r.pending=!0),h[p]||m[p]||f[p]||r.toLoad.push(p)}return r})),vt=(0,u.Mz)(S,K,x,H,k,X,ae,((e,t,n,r,i,o,a)=>{const s={},u=e.length>0?e.reduce(((e,t,u)=>{var d,p,h,f,m,g,y,A,b,w,x,C;if(!(0,v.yE)(t,n))return e;if(r&&i!==t.guid)return e;const S=t.variations,k=t.canvasFiles,E=S.data,I=a[t.guid].split(":").pop(),_=t.convertedFile?[{type:c.ShopCartRefinementInputType.Size,label:l.Ay.t("size.size"),value:`${null===E||void 0===E?void 0:E.width}x${null===E||void 0===E?void 0:E.height} cm`}]:[],P=null!==E&&void 0!==E&&E.comment?[{label:l.Ay.t("general.comment"),value:`${E.comment}`,type:c.ShopCartRefinementInputType.Comment}]:[],O=null!==E&&void 0!==E&&E.repeat&&E.repeatRef?[{label:l.Ay.t("order.repeat","Repeat"),value:E.repeatRef,type:c.ShopCartRefinementInputType.Repeat}]:[],T=t.variations.text?[{label:"Font",value:t.variations.text.font,type:c.ShopCartRefinementInputType.Font},...t.variations.text.value?[{label:"Text",value:t.variations.text.value,type:c.ShopCartRefinementInputType.Text}]:(null!==(d=null===(p=t.variations.text.textValues)||void 0===p?void 0:p.length)&&void 0!==d?d:0)>0&&null!==(h=null===(f=t.variations.text.textValues)||void 0===f?void 0:f.map((e=>{var t;return{label:e.value,value:(null!==(t=e.quantity)&&void 0!==t?t:0).toString(),type:c.ShopCartRefinementInputType.Text}})))&&void 0!==h?h:[]]:[],D=(null!==(m=t.canvasFiles)&&void 0!==m?m:[]).flatMap((e=>{var t;return(null!==(t=e.pmsAnalysis)&&void 0!==t?t:[]).map((e=>({name:e.name,hex:e.hex})))})),j=(null!==(g=S.colors)&&void 0!==g?g:[]).map((e=>({name:e.replaced?e.replacedName:e.sourceName,hex:e.replaced?e.replacedHex:e.sourceHex}))),B=(null!==j&&void 0!==j?j:D).filter(((e,t,n)=>n.findIndex((t=>t.hex===e.hex))===t)),N=null===t||void 0===t||null===(y=t.variations.data)||void 0===y?void 0:y.addons,M=null!==(A=null===t||void 0===t||null===(b=t.preview.data)||void 0===b?void 0:b.addons)&&void 0!==A?A:[],R=[...O,..._,...P,...(null!==N&&void 0!==N?N:[]).map((e=>{var t;const n=null===M||void 0===M?void 0:M.find((t=>t.id===e.id)),r=null===n||void 0===n||null===(t=n.costs)||void 0===t?void 0:t.find((t=>`${t.id}`===`${e.input}`));return{type:c.ShopCartRefinementInputType.Addon,label:null===n||void 0===n?void 0:n.name,value:null===r||void 0===r?void 0:r.name}})),...T],L=t.canvasFiles.reduce(((e,n)=>{var r,i,o,a,s;return(null!==(r=n.previewFile)&&void 0!==r?r:null===t||void 0===t?void 0:t.convertedFile)?(e.push({fileName:null===(i=n.position)||void 0===i?void 0:i.filePreview,url:null!==(o=n.previewFile)&&void 0!==o?o:null===t||void 0===t?void 0:t.convertedFile,fileExtension:n.fileType}),null!==(a=n.position)&&void 0!==a&&a.fileSample&&e.push({fileName:null===(s=n.position)||void 0===s?void 0:s.fileSample,url:t.sampleFile,fileExtension:".jpg"}),e):e}),[]),F=k.flatMap((e=>{var t,n,r,i,o;return{...e.position,quantity:0,angle:null===(t=e.position)||void 0===t?void 0:t.imageId,preview:null===(n=e.position)||void 0===n?void 0:n.filePreview,sample:null!==(r=e.position)&&void 0!==r&&r.fileSample?null===(i=e.position)||void 0===i?void 0:i.fileSample:null===(o=e.position)||void 0===o?void 0:o.filePreview}})),z=null!==E&&void 0!==E&&E.isProduct?c.ShopCartRefinementType.Product:null!==E&&void 0!==E&&E.isMounting?c.ShopCartRefinementType.Mounting:c.ShopCartRefinementType.Normal,Q=null===(w=o.data)||void 0===w||null===(x=w.refinementTotal)||void 0===x?void 0:x.find((e=>e.index===u));if(t.variations.variationNumbers)for(const n of t.variations.variationNumbers){var U;s[n]||(s[n]={variationNumber:n,addons:[]});const e=null!==(U=s[n].addons)&&void 0!==U?U:[];e.push(u),s[n].addons=e}return e.push({...S,name:I,productName:null===Q||void 0===Q?void 0:Q.name,inputs:R,colors:B,files:L,quantity:null!==(C=null===Q||void 0===Q?void 0:Q.quantity)&&void 0!==C?C:null===E||void 0===E?void 0:E.quantity,positions:F,type:z}),e}),[]):[],d=[],p=u.length;for(const[l,v]of t.entries()){var h,m,g,y;const e=null===(h=o.data)||void 0===h||null===(m=h.productAddonTotal)||void 0===m?void 0:m.find((e=>e.id===v.id)),t={positions:null===(g=v.positions)||void 0===g?void 0:g.map((e=>({...e,attribute:e.placements,angle:"",quantity:0}))),inputs:null===e||void 0===e?void 0:e.inputs,productName:null===e||void 0===e?void 0:e.name,quantity:null===e||void 0===e?void 0:e.quantity,type:c.ShopCartRefinementType.Addon};d.push(t);const n=null===(y=v.positions)||void 0===y?void 0:y.map((e=>e.variationNumber)).filter(f.A);if(n)for(const r of n){var A;s[r]||(s[r]={variationNumber:r,addons:[]});const e=null!==(A=s[r].addons)&&void 0!==A?A:[];e.push(p+l),s[r].addons=e}}return{refinements:u.concat(d),cartVariations:Object.values(s)}})),yt=(0,u.Mz)(M,Oe,x,C,Fe,((e,t,n,r,i)=>{var o,a;return"article"===n?!!t:!!("CollectionTool"===r||t&&null!==e&&void 0!==e&&null!==(o=e.refinements)&&void 0!==o&&o.length)&&!(null!==(a=i.image)&&void 0!==a&&a.invalid)})),At={acceptLabel:ie,accesoryImages:gt,activeCanvasFiles:Re,activeCanvasFilesIsUserProof:Le,activeRefinements:ve,activePriceTab:J,activeProductAddons:oe,articleList:_e,availableProductAddons:Ye,backgroundImages:Fe,backgroundProduct:M,backgroundProductsPending:R,backgroundProductsError:e=>e.refinementTool.backgroundProductsError,barErrors:be,basePreviews:we,canCreate:yt,canvasFileError:I,canvasStatus:b,canvasFileCopies:Ue,config:e=>e.refinementTool.config,collectionIsEmpty:ne,collectionProductNumbers:te,collectionSkus:re,collectionMatrix:le,color:Ge,updatesPending:e=>e.refinementTool.canvas.updatesPending,create:ze,createData:pt,customAddons:We,delayedShowAddonRefinements:e=>e.refinementTool.delayedShowAddons,dirty:ee,extendedCollection:se,selectedRefinementTypeOrArticle:Oe,fileErrorAlert:e=>e.refinementTool.fileErrorAlert,filesEnabled:Te,filesPending:T,finalProofAgreed:B,sizeMode:je,formSections:Be,hasFiles:Qe,hasEditedObjectSize:e=>e.refinementTool.hasEditedObjectSize,initialArticleId:F,invalidRefinements:P,invalidQuantity:O,invalidSplits:W,invalidVariableText:_,invalidRefinementSet:me,isDraft:H,isEditable:ke,isMounting:Se,isRepeat:Ee,nameAndTags:Ne,collectionNameAndTags:Me,names:ae,options:D,origin:C,other:He,pmsColorsSuggestions:e=>e.refinementTool.pmsColorsSuggestions,positionIsDarkBg:Ve,priceTable:Ze,printInfo:he,productAddons:K,proofType:j,multiImagesProposals:ht,proposals:ft,publicOrderId:z,quantity:Ke,relatedProductNumbers:de,relatedVariations:pe,remainingName:Z,refinements:S,refinementAsPDF:vt,refinementArticles:Pe,refinementTypes:De,searchInputs:e=>e.refinementTool.articleSearchInputs,selectCollectionName:V,selectCollectionCategories:G,selectedAngle:e=>e.refinementTool.selectedBackground.angle,selectedBackground:L,selectedRefinementGuid:k,selectedRefinement:ge,selectedRefinementType:Oe,selectedRefinementInputAddons:Ce,selectedSplit:Ae,selectedSplitId:U,selectedExtendedVariation:ce,selectedVariationNr:Q,sectionValidating:E,shouldPlaceObject:mt,shouldLoadPreviewForGuid:xe,showModifyCollection:$,showVariableTexts:ct,variableRefinements:ut,showFilters:e=>e.refinementTool.articleFilters.show,showProductAddons:Y,showCreateModal:e=>e.refinementTool.createModal.show,size:qe,splits:ye,status:A,submit:Xe,submitting:w,type:x,toast:e=>e.refinementTool.toast,refinementsPlacementAdjusted:e=>e.refinementTool.refinementsPlacementAdjusted,userProof:$e,validateColors:ot,validateCustomAddons:it,validateFiles:tt,validateForm:dt,validateOther:rt,validateRefinementTypeSection:at,validateSize:nt,validateSplits:lt,validateSubmit:st,visibleRefinements:fe}},69877:(e,t,n)=>{"use strict";n.d(t,{B0:()=>m,Bt:()=>f,Cv:()=>s,Dv:()=>A,Lq:()=>c,No:()=>g,PQ:()=>S,Qe:()=>v,SC:()=>l,XD:()=>P,bh:()=>p,g0:()=>d,h$:()=>C,hk:()=>h,i5:()=>x,ju:()=>u,kc:()=>b,kd:()=>_,l:()=>E,pT:()=>k,yE:()=>y});var r=n(50039),i=n(69435),o=n(58525),a=n(57158);const s=(e,t,n,r,i)=>{if(!n)return;const o=n.y===n.y2;let[a=0,s=0]=o?[n.x,n.x2]:[n.y,n.y2];s<a&&([a,s]=[s,a]);const l=s-a,c=e.backgroundImage;if(!c)return;const u=c.getScaledWidth(),d=c.getScaledHeight(),p=o?n.lengthCm*u/l:n.lengthCm*d/l,h=o?p/u:p/d,f=t.angle;if(t.set({angle:0}),t.setCoords(),r){const e=r/h*(o?u:d);t.scaleToWidth(e)}else if(i){const e=i/h*(o?u:d);t.scaleToHeight(e)}t.set({angle:f}),t.setCoords()},l=(e,t,n)=>{var r,i;if(!n||!n.lengthCm)return{width:0,height:0};const o=n.y===n.y2;let[a=0,s=0]=o?[n.x,n.x2]:[n.y,n.y2];s<a&&([a,s]=[s,a]);const l=s-a,c=n.lengthCm*(null!==(r=null===t||void 0===t?void 0:t.getScaledWidth())&&void 0!==r?r:0)/l/(null!==(i=t.getScaledWidth())&&void 0!==i?i:0),u=o?(t.getScaledHeight()-t.getScaledWidth())/t.getScaledWidth():0,d=o?0:(t.getScaledWidth()-t.getScaledHeight())/t.getScaledHeight();return{width:+(c*(e.getScaledWidth()/t.getScaledWidth())*(1+d)).toFixed(2),height:+(c*(e.getScaledHeight()/t.getScaledHeight())*(1+u)).toFixed(2)}},c=(e,t,n,r,o,a,l)=>{var c,u,d,p,h,m,g;const v=null!==(c=e.getWidth())&&void 0!==c?c:20,y=null!==(u=e.getHeight())&&void 0!==u?u:20,A=null===e||void 0===e||null===(d=e.getObjects())||void 0===d?void 0:d.find((e=>{var t;return/^preff?err?ed/i.test(null===(t=e.get("data"))||void 0===t?void 0:t.areaType)})),b=null!==e&&void 0!==e&&e.backgroundImage?e.backgroundImage:void 0,w=null!==(p=null===b||void 0===b?void 0:b.getScaledHeight())&&void 0!==p?p:0,x=null!==(h=null===b||void 0===b?void 0:b.getScaledWidth())&&void 0!==h?h:0,C=(null!==(m=null===b||void 0===b?void 0:b.top)&&void 0!==m?m:0)-w/2,S=(null!==(g=null===b||void 0===b?void 0:b.left)&&void 0!==g?g:0)-x/2;if(!A||null!==o&&void 0!==o&&o.x){var k,E,I,_,P,O,T,D;if(r&&null!==n&&void 0!==n&&null!==(k=n.variations)&&void 0!==k&&null!==(E=k.data)&&void 0!==E&&E.width)s(e,t,r,[i.SizeMode.SquareCm,i.SizeMode.FixedWidths,i.SizeMode.None].includes(a)||null==a?n.variations.data.width:void 0,[i.SizeMode.SquareCm,i.SizeMode.FixedHeights,i.SizeMode.None].includes(a)||null==a?n.variations.data.height:void 0);else t.set({angle:null!==(D=null===o||void 0===o?void 0:o.r)&&void 0!==D?D:0}),t.getScaledHeight()>t.getScaledWidth()?t.scaleToHeight(null!==o&&void 0!==o&&o.w?(w||y)*o.w:(w||y)/2):t.scaleToWidth(null!==o&&void 0!==o&&o.w?(x||v)*o.w:(x||v)/2);t.set({top:b?f(C,w,null!==(I=null===o||void 0===o?void 0:o.y)&&void 0!==I?I:.5):y*(null!==(_=null===o||void 0===o?void 0:o.y)&&void 0!==_?_:.5),left:b?f(S,x,null!==(P=null===o||void 0===o?void 0:o.x)&&void 0!==P?P:.5):v*(null!==(O=null===o||void 0===o?void 0:o.x)&&void 0!==O?O:.5),angle:null!==(T=null===o||void 0===o?void 0:o.r)&&void 0!==T?T:0,originX:"center",originY:"center"})}else{var j,B,N,M;const i=A.getBoundingRect(),{left:o,top:a,width:c,height:u}=i,d=(null!==(j=null===t||void 0===t?void 0:t.width)&&void 0!==j?j:0)/(null!==(B=null===t||void 0===t?void 0:t.height)&&void 0!==B?B:0)>(null!==c&&void 0!==c?c:0)/(null!==u&&void 0!==u?u:0);r&&null!==(N=n.variations.data)&&void 0!==N&&N.isMounting&&null!==(M=n.variations.data)&&void 0!==M&&M.width?s(e,t,r,n.variations.data.width,n.variations.data.height):t[d?"scaleToWidth":"scaleToHeight"](d?c:u),t.set({left:(null!==o&&void 0!==o?o:0)+c/2,top:(null!==a&&void 0!==a?a:0)+u/2,originX:"center",originY:"center"}),null===l||void 0===l||l()}},u=(e,t,n,i,o,a)=>new r.Ec({x:"left"===i?-.5:.5,y:"top"===n?-.5:.5,offsetY:e,offsetX:("left"===i?-18:18)+t,cursorStyle:"pointer",mouseUpHandler:(e,t,n,r)=>(a([t.target]),!0),render:(e,t,n,i,a)=>{var s;e.save(),e.translate(t,n),e.rotate(r.ZS.degreesToRadians(null!==(s=a.angle)&&void 0!==s?s:0)),e.drawImage(o,-9,-9,18,18),e.restore()}}),d=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;const n=new Image,r=e.replace("{opacity}",t.toString());return n.src=`data:image/svg+xml,${encodeURIComponent(r)}`,n},p=e=>d(`\n    <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20">\n      <circle cx="10" cy="10" r="9.5" fill="${e}" opacity="1" stroke="black" stroke-width="1" />\n    </svg>\n  `);function h(e,t){var n,r;const i=null===e||void 0===e?void 0:e.preview.data,o=null!==t&&void 0!==t&&t;if(!i||null===i||void 0===i||!i.colorBacking)return{available:"none",value:o};if(!i.colorBacking.auto)return{available:"manual",value:o};if(null===(n=i.colorBacking.autoExcludeColorCodes)||void 0===n||!n.length)return{available:"auto",value:!0};const s=e.variations.variationNumbers,l=null!==(r=null===s||void 0===s?void 0:s.map((e=>e.split("-").pop())).filter(a.A))&&void 0!==r?r:[];for(const a of l)if(!i.colorBacking.autoExcludeColorCodes.includes(a))return{available:"auto",value:!0};return{available:"auto",value:!1}}const f=(e,t,n)=>e+t*n,m=e=>{e.setCoords();const{top:t,left:n,width:r,height:i}=e.getBoundingRect(),o=e.canvas;if(!o)return;t<0&&(e.top=Math.max(e.top,e.top-t)),n<0&&(e.left=Math.max(e.left,e.left-n)),t+i>o.height&&(e.top=Math.min(e.top,o.height-i+e.top-t)),n+r>o.width&&(e.left=Math.min(e.left,o.width-r+e.left-n));const a=o.backgroundImage;if(a){const t=a.getScaledHeight(),n=a.getScaledWidth(),r=a.left-n/2,i=a.top-t/2,s=e.getScaledHeight(),l=e.getScaledWidth(),c=(e,t,n,r)=>f(e-t/2,t,n)+s/2,u=(t,n,r,i)=>{e.top<t&&(e.top=t),e.left<n&&(e.left=n),e.top>r&&(e.top=r),e.left>i&&(e.left=i)},d=o.getObjects().find((e=>{var t;return(null===(t=e.data)||void 0===t?void 0:t.areaType)&&!0===e.visible&&"constrained"===e.data.areaType}));if(d){const{top:e,left:o,width:a,height:p}=d;u(c(i,t,e,p)+s/2,c(r,n,o,a)+l/2,c(i,t,e+p,p)-s/2,c(r,n,o+a,a)-l/2)}}};function g(e,t){let n;if(!t||t.userProof)n=[...e];else{const{fileType:r,multiColor:i}=t;n=e.filter((e=>{var t;return!(r&&null!==(t=e.fileTypes)&&void 0!==t&&t.length&&!e.fileTypes.includes(r))&&(!i||e.multiColor)}))}return n.map((e=>e.id)).filter((e=>"number"===typeof e))}function v(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;if(e&&y(e,"article")){var r;const t=null===e||void 0===e?void 0:e.variations.data;return null!==(r=null===t||void 0===t?void 0:t.quantity)&&void 0!==r?r:25}{var i;const r=null!==(i=null===e||void 0===e?void 0:e.canvasFiles.map((e=>e.position)).filter((e=>!!e)))&&void 0!==i?i:[];if(!r.length){var o;return A(n?null===(o=t[n])||void 0===o?void 0:o.skus:void 0)}return r.reduce(((e,n)=>{var r,i,o;return e+A(null!==(r=n.skus)&&void 0!==r&&r.length?n.skus:null===(i=t[null!==(o=n.variationNumber)&&void 0!==o?o:""])||void 0===i?void 0:i.skus)}),0)}}function y(e,t){var n,r;return"article"===t?!(null===(n=e.variations.data)||void 0===n||!n.isProduct):!(null!==(r=e.variations.data)&&void 0!==r&&r.isProduct)}function A(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).reduce(((e,t)=>{var n;return e+(null!==(n=t.quantity)&&void 0!==n?n:0)}),0)}function b(e){if(!e)return!0;if(!e.variations.data||!e.preview.data)return!1;if(e.preview.data.type!==i.RefinementType.Image)return!0;return!!e.canvasFiles.filter((e=>!!e.position)).length}function w(e,t){var n;return null!==(n=null===e||void 0===e?void 0:e.filter((e=>e.placement===t)))&&void 0!==n?n:[]}function x(e){var t;if(null===e||void 0===e||!e.variations.data||!e.preview.data)return{value:!1,addons:!1};const n=e.variations.data,r=e.preview.data;if(r.sizeMode!==i.SizeMode.SquareCm)return{value:!0,addons:!0};const[o,a]=r.sizeMode===i.SizeMode.SquareCm&&r.sizes?r.sizes:[],s=null!==o&&void 0!==o?o:0,l=a&&a>0?a:void 0,c=I(w(r.addons,i.AddonPlacement.Size),null!==(t=null===n||void 0===n?void 0:n.addons)&&void 0!==t?t:[]);return{value:!!n.size&&(!l||n.size<=l)&&n.size>=s,addons:c.valid}}function C(e){var t;if(null===e||void 0===e||!e.variations.data||!e.preview.data)return{value:!1,addons:!1};const n=e.preview.data,r=e.variations.data;if((null===(t=n.colors)||void 0===t||!t.length)&&!n.colorChangeEnabled)return{value:!0,addons:!0};const i=n.colors;let o=!0;r.colors&&null!==i&&void 0!==i&&i.length&&(o=i.length>=r.colors);let a=!0;var s,l;n.colorChangeEnabled&&e.variations.data.colorChange&&(a=!(null===(s=e.variations.data.colorChangePms)||void 0===s||null===(l=s[0])||void 0===l||!l.name));return{value:o,addons:a}}function S(e){var t;if(null===e||void 0===e||!e.variations.data||!e.preview.data)return!1;const n=e.preview.data,r=e.variations.data;return I(w(n.addons,i.AddonPlacement.Other),null!==(t=r.addons)&&void 0!==t?t:[]).valid}function k(e){var t,n,r;if(null===e||void 0===e||!e.variations.data||!e.preview.data)return!1;if(null!==e&&void 0!==e&&null!==(t=e.variations)&&void 0!==t&&null!==(n=t.data)&&void 0!==n&&n.isMounting)return!0;const o=e.preview.data,a=e.variations.data;return I(w(o.addons,i.AddonPlacement.File),null!==(r=a.addons)&&void 0!==r?r:[]).valid}function E(e){const t=function(e){var t;return!!e&&!(null===(t=e.variations.variationNumbers)||void 0===t||!t.length)}(e),n=b(e),r=x(e),i=C(e),o=function(e){var t,n,r,i;if(null===e||void 0===e||!e.variations.data||!e.preview.data)return{valid:!1,invalidAddons:[]};const o=null!==(t=null===(n=e.preview.data)||void 0===n?void 0:n.addons)&&void 0!==t?t:[],a=null!==(r=null===(i=e.variations.data)||void 0===i?void 0:i.addons)&&void 0!==r?r:[];return I(o,a)}(e);return n&&r.value&&t&&i.value&&o.valid}function I(e,t){function n(e){var n,r;switch(e.type){case i.AddonType.RequiredCost:case i.AddonType.RequiredText:case i.AddonType.RequiredNumber:return!(null===(n=t.find((t=>t.id===e.id)))||void 0===n||!n.input);case i.AddonType.Costs:const o=t.find((t=>t.id===e.id));if(!o)return!0;const a=null===(r=e.costs)||void 0===r?void 0:r.filter((e=>e.selectType===i.AddonSelectType.OneOf));return null===a||void 0===a||!a.length||!!o.input;default:return!0}}const r=[];for(const i of e){!n(i)&&i.id&&r.push(i.id)}return{valid:0===r.length,invalidAddons:r}}const _=(e,t,n,r,i,a,s)=>{var l,c;if(!t.filters)return;if(!t._originalPixelData){const e=document.createElement("canvas"),n=e.getContext("2d");e.width=t.width,e.height=t.height,null===n||void 0===n||n.drawImage(t.getElement(),0,0),t._originalPixelData=null===n||void 0===n?void 0:n.getImageData(0,0,t.width,t.height).data}const u=t.filters[e]instanceof o.A?t.filters[e]:void 0,d=new o.A;d.colorSources=null!==(l=null!==r&&void 0!==r?r:null===u||void 0===u?void 0:u.colorSources)&&void 0!==l?l:[],d.colorDestination=a?"transparent":null!==i&&void 0!==i?i:null===u||void 0===u?void 0:u.colorDestination,d.originalPixelData=t._originalPixelData,d.disabled=n,t.filters[e]=d,s||(t.applyFilters(),null===(c=t.canvas)||void 0===c||c.renderAll())};function P(e){return!!e&&e.length>=6}},93910:(e,t,n)=>{"use strict";n.d(t,{A:()=>v});var r=n(22360),i=n(74959),o=n(8589),a=n(33453),s=n(70930),l=n(7691),c=n(55951),u=n(9950),d=n(94469),p=n(70030);var h=n(24937),f=n(50739),m=n(44414);const g=()=>(0,m.jsx)(A,{justify:"center",children:(0,m.jsx)("div",{children:(0,m.jsx)(i.g,{className:"",size:"lg",icon:r.tdl})})}),v=e=>{var t,n,r,i,a;let{whiteDropDown:v,searchType:A,searchPlaceHolder:b,className:w,isNewsLetter:x}=e;const C=(0,l.A)((e=>{let{siteDefinition:t}=e;return t.reseller})),S=(0,l.A)((e=>{let{currentPage:t}=e;return t.content})),[k,E]=(0,u.useState)(!1),[I,_]=(0,u.useState)(!1),P=(0,s.A)(),{t:O}=(0,p.B)(),T=(0,h.DP)();return(0,u.useEffect)((()=>{var e;null!==S&&void 0!==S&&null!==(e=S.contentType)&&void 0!==e&&e.find((e=>"ResellerListPage"===e))?window.google&&window.google.maps&&window.google.maps.places&&(_(!1),E(!0)):S&&(_(!0),E(!0))}),[S,window.google,null===(t=window.google)||void 0===t?void 0:t.maps,null===(n=window.google)||void 0===n||null===(r=n.maps)||void 0===r?void 0:r.places]),null!==C&&void 0!==C&&C.googleMapKey?(0,m.jsx)(m.Fragment,{children:S&&k&&(null===C||void 0===C?void 0:C.googleMapCountries)&&(0,m.jsxs)("div",{className:w,children:[(0,m.jsx)(d.Ay,{apiKey:I&&null!==(i=null===C||void 0===C?void 0:C.googleMapKey)&&void 0!==i?i:void 0,apiOptions:{language:null===S||void 0===S||null===(a=S.language)||void 0===a?void 0:a.name,region:C.googleMapCountries.join(",")},autocompletionRequest:{types:["(regions)"],componentRestrictions:{country:C.googleMapCountries.join(",")}},selectProps:{placeholder:(null!==b&&void 0!==b?b:!x)?`${O("contact.city","City")}, ${O("contact.postalCode","Postal code")}`:O("contact.postalCode","Postal code"),noOptionsMessage:()=>O("search.empty","No hits"),isClearable:!0,components:{DropdownIndicator:g},defaultMenuIsOpen:!1,styles:{input:e=>({...e}),indicatorSeparator:e=>({...e}),control:e=>({...e,boxShadow:"none",border:"0",background:v?T.colors.fillWhite:T.colors.fill,height:"45px",padding:"0 0 0 12px",borderRadius:"2px","&:hover,&:focus":{background:(0,c.Qw)(.03,T.colors.fill)}}),placeholder:e=>({...e,color:T.colors.textFaded}),menuList:e=>({...e,padding:0}),menu:e=>({...e,borderRadius:"2px",boxShadow:"0 0px 14px rgb(0 0 0 / 8%)"}),option:(e,t)=>({...e,fontSize:"16px",padding:"8px 20px",lineHeight:2.2,background:t.isFocused?T.colors.fill:T.colors.fillWhite,color:t.isSelected?T.colors.accent:T.colors.text,"&:active":{background:T.colors.accent,color:T.colors.accentText}})},onChange:e=>{if(null!==e){const{place_id:t,structured_formatting:n}=null===e||void 0===e?void 0:e.value;P(x?(0,o.AK)({placeId:t,postalCode:n.main_text}):(0,f.iQ)({searchType:A,placeId:t}))}else P((0,f.VU)(A))}}}),(0,m.jsx)("div",{className:"text-right",children:(0,m.jsx)(y,{className:"mt-1",src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJAAAAASCAYAAAC0PldrAAAIHElEQVR4Ae3ZBXDbWB7H8efglpmZGW0HlhzJDpSZmZkZ3W3s2DpmZmbmKx0zM/NdoGhotxTf9x9LHY027paW85v5bBRQopn32weqasqzk5Jw7BE9nHijHo5/Rw/HfqaHYl/keldZ8GJ7qBeqZ/6PNGlPUT5DeVKNqkyc18PJ6VDPtfEfnvUJz0dmpbwfmzMW6k5YFy96pBRTkCnL4MUDiy94oS0F+ZVZlD/5qxLLfNFkz0D0fBtfKOkpCcffrFfG6vVQ4hDUc6ypQLdDFmMdMiWIcjywaOHEB8zynPEFa1pCOWnHLw2Bej5oKtDzqEC+cGyoWZ5YaTDeGer57r4LRPLRCi40liy0QR4eVB5CG2QhU3KQneG+TM/qQhvk424L1Bwt73P22d9QoFD8bVB3KxVUWTX+gqW1mvvLtbr7Z7V+z6frNM/UlFIuKAD83I2v5y69eiL3y9dPZP/s2tdyPn39ZN7UVEq5oCz8x+WvjC/SQrEv8/u/z/O9siSUKNfC8agWSbrRaIH+p3lH1Pg976jxe38gz8JzzLM/g2QhpmIuIjCwB/0cg6HjGAxEsQQtIZmCtbBnLbY4BngZptkGaQmiMHAUhbCyEJMxCxGsh6QFltruOwIv7BmEfTAQwWwsvYMCTcMqGKat6AJJCXYjD1ZcWIdZsEdK8K50gZLroez4+l4G8j1PURlfAJWaMye7Vvd+otbvTVVr7hvVmvc/ci0YyNdAidTHVPa1EzmfuH4iN0WBbnD9H7lu8PXc10CJYDCVxanvffI8nAZvloQTNenZMXYt/YyJ5Y3tgar9nkCt5n2y4Tl073+5TprPEIYSknW2ARpkWosQOkFSiijK0BtuHME2ZGMMDLSDpBMMU29bYaIYBxfW4wBGojcmw8BIWM8Vwjq40QMubMR+231TYGAYJN1QhVUYgEHYgMgdFCiCBeiLYdiJI2iO9og6St4XBgZnKpAWjm2AsmNZO+E8jdlnqzrdvS49aO4fndWLekDVlbmHMoB/MQewAorCrDML86P6E816QD35lbyhzER/SZcouwJKq0oskd9PSX9aVnm5F1RJVbKQr13IVKCU251b7Xf/WwpcqxfMkVnngm9MW+sZ6gJeD24N1BHkwUouDmI28hDGBNjTDwZGIR9hFEOiYyu2YRIkY1GFhzAABvrCnpVYbyvQAeTAyiBHKa2sNUnmY5/jvnwcvYMCbXDMmG1QBR2SJdhu+5l52NXYMsqA7EsXI/5OKBvEhnMKK7LwtePpgYy9HIpB+lbDIGmFbihLTcAzs6FAuueDUJTkW0hdO5XrhrJc/1reTPk6BfsgZMY7iZS/KumFsmihxIFMBaoNeHxmiT/6H5+7Y41esJcl7K/pmdD9N64n4tZALYQzs7EDvTMMmgtBW7GWYyUk26DDj/1wYYHt+z7bUhixMXDMVqDFznG5zX1HIdmDGbDnTvdAGpzZhGWO/2n6ojnCKIIzDNClwQ1LRmU8ETCS3aEysU5r7FHmQckAyUD9sWJgPpSlNlA4SL7O0vJNqGtfz/6bFKX+SyofyvLk1/IGNcxAX8v9JpS8QpDfX/Ha+nwoC8vplIwFYq/TUFbN+w9Zxqr93vpq3fOFWn/BJFlioYQ1UEvgzHxsRQ8Y6NdIgY6jDBI3wugGA53QxVa+IAogeQwR9EB3h27IVGwfqjLc1xWSnZgNZ5bdQYECcGabrcgubMUCPIZjtztQWPsOZpjvPRq52A7KSatKTpV3QfxcXenL61tASUFk8M7q7gIoiywl6UF1fwBKCmLONAVQlhsn8+aYX/8AVEll4pQ8h7x7grLIRj9TgWo0z8Ppsnqv1eqeyP98hX2hZClrrEDH0QpWWuIYJiMbQcx1TNWjYWCQbY8TwQbshJXdWI+obdPdEwbGwJ7ipylQH2vZdN5nK9AMHEVzx1JUeQcF2uVY+rojimJYGY8q7MdEZIy8MGTwfmHuhf5JkTbJex/fyxJdtcpLDzNob5JNrbn/mQMl2ECvNpeKn1sDV6MVjGEz/U9zWSmFYuO82tzr/PzK6fy+UFdP5o6hNP9M742ySyFL1VJrDxSIXu4NJUunvAXPVCApCfufP5p7rg1y2pMZkeswX/u+zIawF0jtwyOmvThiK5UXBhbDgwkIY7mjVKthoBRWymE0MngLbXsrN+bbS5WhQC4sRggVjvtGQ9IWQexGMR7BfjxxBwV6AptRgBIcxU7kwkoODiOCtrhtZOZhkD52m3/KiFGs+VCAdYT3fsicAer5WIcU4DGghPzcta/nfKjhFPa13HrUybW5fBlQQk5hWmXi/fL3rNnuTk5hdX6Pl79/wTwNXrJOYbIXOh9w98atgVqAx7EPx7AUHWDPSGy2la0MOY38zCp0gZWuWNXIbJONAPYhhK0YDSsTocGZbJRmuM9KJ6zAceyHD489zYyxCGMwGYdts24LOLMWi3DHkQ0sg/QqWU5KwvEf4HPMDHseDcc6QTnJUiH7EGajz8g7GPYiH2EWKoOyk/c9vAeax6zzGcryAz5+5PrJ7DIoO37QxTufhRT0C+zLvst11FrC5JQG5f7IrJd5Pjzzx56Pzh4CJc76CnryHugVPMe3OcqfYTkLymkMCpk30RnTlG62jfQLIr5gKkf+wVY29lAWWULTM2HsMah70VSgu888bIULL4hw2pqRPhEmfiMbadmbyWzE/utqSSj2nznBVB7UvWgq0N2lLSIYhxdOWL5k+Xzq/it2mdcGAah7ZV00eQlgxvFRpNfJeyc+Bn2RK32h7sf/AesqcHB02e65AAAAAElFTkSuQmCC",alt:"Powered By Google"})})]})}):null},y=(0,h.Ay)(a._V).withConfig({componentId:"sc-ki0796-0"})(["display:inline-block;width:114px;"]),A=(0,h.Ay)(a.so).withConfig({componentId:"sc-ki0796-1"})(["margin:0 20px;cursor:pointer;"])},53215:(e,t,n)=>{"use strict";n.d(t,{A:()=>b});var r=n(99393),i=n(92414),o=n(41107),a=n(31664),s=n(33453),l=n(70930),c=n(7691),u=n(9950),d=n(70030),p=n(24937),h=n(50739),f=n(44414);const m=()=>{var e;const t=(0,c.A)((e=>{let{resellers:t}=e;return t.agreementNotFound})),n=null===(e=(0,c.T)("shoppingCart").delivery)||void 0===e?void 0:e.companyId,{t:r}=(0,d.B)(),[i,o]=(0,u.useState)(n||""),a=(0,l.A)();return(0,u.useEffect)((()=>{n&&(o(n),a((0,h.Rb)(n)))}),[n,a]),(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(s.EY,{className:"f3-500 mb-1",bold:!0,fontSize:15,children:r("reseller.searchAgreement","If you have an agreement, search by your company id")}),(0,f.jsxs)(s.so,{align:"start",justify:"between",children:[(0,f.jsxs)(g,{className:"flex-grow-1 mr-3",children:[(0,f.jsx)(s.pd,{value:i,placeholder:r("contact.companyNumber","Company number"),onChange:e=>o(e.target.value)}),t&&(0,f.jsx)("div",{className:"mt-1",children:(0,f.jsx)("span",{children:r("search.empty","No hits")})})]}),(0,f.jsx)(s.$n,{height:40,className:"d-block ",onClick:()=>{a((0,h.Rb)(i))},children:r("search.search","Search")})]})]})},g=p.Ay.div.withConfig({componentId:"sc-18p7m88-0"})([""]);var v=n(93910),y=n(74459),A=n(23017);const b=e=>{let{className:t,searchLabel:n}=e;const{agreementSearch:l,currentReseller:c}=(0,A.GV)((e=>{let{resellers:t}=e;return t})),{t:p}=(0,d.B)(),{cartType:g}=(0,u.useContext)(i.A),b=(0,A.Ty)(g).delivery,x=(0,A.GV)((e=>{var t;let{siteDefinition:n}=e;return null===(t=n.reseller)||void 0===t?void 0:t.agreementsEnabled})),C=(0,A.GV)(r.q),S=(0,A.jL)(),{matchedResellers:k}=(0,A.GV)((e=>{let{resellers:t}=e;return t})),E=e=>{S((0,h.F8)("agreement"===e)),"postal"===e&&S((0,h.SQ)({city:null===b||void 0===b?void 0:b.city,postalCode:null===b||void 0===b?void 0:b.postalCode}))};return(0,f.jsxs)(w,{className:"f3-400",children:[(0,f.jsxs)(s.so,{$wrap:!0,align:"center",justify:"between",className:`${t} mb-4 mt-3 f3-400`,children:[(0,f.jsx)(s.EY,{className:"mr-5 mb-1",children:p("search.search","Search")}),function(){if(x)return(0,f.jsxs)(s.so,{$wrap:!0,children:[(0,f.jsx)(s.sx,{bgColor:"fill",defaultChecked:!l,value:l?0:1,name:"agreement",label:p("contact.postalCode","Postal code"),className:"mb-1",onChange:()=>!0,onClick:()=>E("postal")}),(0,f.jsx)(s.sx,{bgColor:"fill",defaultChecked:l,value:l?1:0,name:"agreement",label:p("contact.companyNumber","Company number"),className:"mb-1",onChange:()=>!0,onClick:()=>E("agreement")})]})}()]}),l&&x?(0,f.jsx)(m,{}):(0,f.jsx)(v.A,{searchType:h.nX.match,searchPlaceHolder:n}),(0,f.jsx)(y.A,{showLink:!1,resultList:k,onSelect:(e,t)=>{t&&S((0,h.Ri)(t)),S((0,h.Hc)(e)),S((0,o.VN)(g)({valid:a.H.Valid,commerceType:C}))},selectedReseller:c,onClear:()=>S((0,h.DR)())})]})},w=p.Ay.div.withConfig({componentId:"sc-t5bhxs-0"})([""])},74459:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var r=n(22360),i=n(33453),o=n(23017),a=n(7691),s=(n(9950),n(70030)),l=n(24937),c=n(50739),u=n(44414);const d=e=>{var t,n,l,c,d,p;let{reseller:m,showLink:A,onToggle:b,selected:w}=e;const{t:x}=(0,s.B)(),C=(0,o.cb)(),S=(0,a.A)((e=>{var t;let{siteDefinition:n}=e;return null===(t=n.reseller)||void 0===t?void 0:t.selectorEnabled})),k=(0,a.A)((e=>{let{resellers:t}=e;return t.defaultResellerPage}));return(0,u.jsx)(f,{children:(0,u.jsxs)(i.so,{justify:"between",align:"center",className:"w-100",children:[(0,u.jsxs)(i.so,{align:"center",children:[S&&k&&!(null!==m&&void 0!==m&&null!==(t=m.supplier)&&void 0!==t&&t.value)&&(0,u.jsx)("div",{className:"mr-2",children:(0,u.jsx)(i.Sc,{bgColor:"fill",checked:w,onChange:b})}),(0,u.jsxs)("div",{children:[(0,u.jsx)(i.EY,{fontSize:16,children:m.name}),(0,u.jsx)(i.EY,{children:m.details.city.value}),(null===(n=m.externalSupplier)||void 0===n?void 0:n.value)&&(0,u.jsx)(g,{className:"mb-1 f1-400",children:x("reseller.externalSupplier","externalSupplier")}),(null===m||void 0===m||null===(l=m.tags)||void 0===l?void 0:l.value)&&(0,u.jsx)(v,{$wrap:!0,children:null===m||void 0===m||null===(c=m.tags)||void 0===c||null===(d=c.value)||void 0===d?void 0:d.map(((e,t)=>(0,u.jsx)(y,{children:e},t)))})]})]}),A&&(0,u.jsxs)(h,{to:null===(p=m.contentLink)||void 0===p?void 0:p.url,children:[(0,u.jsx)(i.EY,{light:!0,className:"d-inline-block",children:C.lg&&x("general.readMore","Read more")}),(0,u.jsx)(i.K0,{className:"ml-3",icon:r.dmS,bgColor:"fill"})]})]})})},p=e=>{let{resultList:t,onSelect:n,showLink:r,selectedReseller:i,onClear:o}=e;const a=(e,t)=>e.map((e=>(0,u.jsx)(d,{showLink:r,selected:e.contentLink.id===(null===i||void 0===i?void 0:i.contentLink.id),reseller:e,onToggle:()=>((e,t)=>{e===i?o&&o():n(e,t)})(e,null===t||void 0===t?void 0:t.agreement)},"res_"+e.contentLink.id)));return t?(0,u.jsx)("div",{className:r?"":"mt-2",children:(0,u.jsx)(m,{border:!r&&t.length>0,children:(0,c.oA)(t)?t.map((e=>a(e.resellers,e))):a(t)})}):null},h=(0,l.Ay)(i.N_).withConfig({componentId:"sc-3e4htw-0"})(["text-decoration:none;a{color:#343a40;text-decoration:none;}a:hover{text-decoration:underline;}a:visited{text-decoration:none;}a,a:visited,a:focus{text-decoration:none;}a:visited:hover{text-decoration:none;}"]),f=l.Ay.li.withConfig({componentId:"sc-3e4htw-1"})(["padding:16px 15px;background-color:",";:not(:last-child){margin-bottom:8px;}"],(e=>{let{theme:t}=e;return t.colors.fillWhite})),m=l.Ay.ul.withConfig({componentId:"sc-3e4htw-2"})(["padding-left:0;margin-bottom:0;list-style-type:none;",""],(e=>{let{border:t,theme:n}=e;return t&&`border: 1px solid ${n.colors.border};`})),g=l.Ay.div.withConfig({componentId:"sc-3e4htw-3"})(["background:",";color:",";padding:3px 6px 2px 6px;font-size:14px;line-height:17px;border-radius:2px;width:fit-content;margin-top:8px;"],(e=>{let{theme:t}=e;return t.colors.accent}),(e=>{let{theme:t}=e;return t.colors.fillWhite})),v=(0,l.Ay)(i.so).withConfig({componentId:"sc-3e4htw-4"})(["gap:4px;max-width:250px;"]),y=(0,l.Ay)(i.so).withConfig({componentId:"sc-3e4htw-5"})(["font-size:12px;color:",";border:1px solid ",";background-color:",";padding-left:0.25rem;padding-right:0.25rem;"],(e=>{let{theme:t}=e;return t.colors.textLight}),(e=>{let{theme:t}=e;return t.colors.border}),(e=>{let{theme:t}=e;return t.colors.fillGray}))},50739:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>Q,CV:()=>N,Cm:()=>h,DR:()=>C,F8:()=>B,Hc:()=>x,L7:()=>L,Lt:()=>K,N0:()=>b,Np:()=>v,RN:()=>k,Rb:()=>S,Ri:()=>j,SQ:()=>y,U$:()=>F,VU:()=>w,iQ:()=>m,kz:()=>I,nX:()=>p,oA:()=>Y,tb:()=>_,uT:()=>E,wo:()=>W});var r,i,o=n(11359),a=n(85913),s=n(77018),l=n(8218),c=n(94469),u=n(35732);const d=new Map;let p=function(e){return e[e.match=0]="match",e[e.search=1]="search",e}({});const h=(0,o.zD)("resellers",(async(e,t)=>{var n;let{getState:r}=t;return(await s.A.loadResellers(null===(n=r().siteDefinition.language)||void 0===n?void 0:n.name)).data})),f=(0,o.zD)("resellersExtra",(async(e,t)=>{var n;let{getState:r}=t;return{data:(await s.A.loadResellersExtra(e,null===(n=r().siteDefinition.language)||void 0===n?void 0:n.name)).data,contentLinkId:e}})),m=(0,o.zD)("resellers/searchResellers",(async(e,t)=>{let{searchType:n,placeId:r}=e,{getState:i,dispatch:o}=t;const a=i().resellers.resellers,s=await(0,c.y8)(r),l=await b(s,a);n===p.match&&o(T(l)),n===p.search&&o(D(l))})),g=async(e,t,n)=>{if(e||t){const r=U(n,null!==t&&void 0!==t?t:"",null!==e&&void 0!==e?e:"");if(r.length>0)return r}if(t&&t.length>0){const e=await(0,c.IU)(t).catch((()=>{}));if(e){return await b(e,n)}}return[]},v=(0,o.zD)("resellers/suggestReseller",(async(e,t)=>{var n;let{companyId:r,postalCode:i,city:o}=e,{getState:a}=t;const l=a().resellers.resellers.filter((e=>{var t;return!0!==(null===e||void 0===e||null===(t=e.supplier)||void 0===t?void 0:t.value)}));if((null===(n=a().siteDefinition.reseller)||void 0===n?void 0:n.agreementsEnabled)&&r){const e=await async function(e){if(d.has(e))return d.get(e);const t=await s.A.searchResellerAgreements(e);return d.set(e,t.data),t.data}(r);if(null!==e&&void 0!==e&&e.length)return e}if(i||o){return await g(i,o,l)}return[]})),y=(0,o.zD)("resellers/searchByAddress",(async(e,t)=>{let{postalCode:n,city:r}=e,{getState:i,dispatch:o}=t;const a=i().resellers.resellers,s=await g(n,r,a);o(T(s))})),A=e=>{const t={};if(e){var n,r,i;e.address_components.forEach((e=>{e.types.forEach((n=>{t[n]="country"===n?e.short_name:e.long_name}))}));return{country:null!==(n=t.country)&&void 0!==n?n:"",postalCode:null!==(r=t.postal_code)&&void 0!==r?r:"",city:null!==(i=t.locality||t.postal_town)&&void 0!==i?i:""}}},b=async(e,t)=>{const n=e&&e.length>0?e[0]:null,r=A(n);if(n){if(r.country.length>0){const e=U(t,"",r.postalCode,r.country);if(e.length>0)return e}const e=q(t,n);if(0===e.length){const e=await(0,c.rg)(n),r=await(0,c.ez)(e),i=A(r&&r.length>0?r[0]:null),o=U(t,"",i.postalCode,i.country);return o.length>0?o:G(t,e,3)}return e}return[]},w=(0,o.zD)("resellers/clearSearchResellers",(async(e,t)=>{let{getState:n,dispatch:r}=t;if(e===p.match&&r(T([])),e===p.search){const e=n().resellers;r(D(e.resellers))}})),x=(0,o.zD)("resellers/updateCurrentReseller",(async(e,t)=>{let{dispatch:n}=t;n(O.actions.currentResellerUpdated(e)),n((0,l.ee)())})),C=(0,o.zD)("resellers/clearCurrentReseller",(async(e,t)=>{let{dispatch:n}=t;n(O.actions.currentResellerCleared()),n(O.actions.currentAgreementCleared()),n((0,l.ee)())})),S=(0,o.zD)("resellers/searchAgreement",(async e=>(await s.A.searchResellerAgreements(e)).data)),k=(0,o.zD)("resellers/clearSearchAgreements",(async(e,t)=>{let{dispatch:n}=t;n(T([]))})),E=(0,o.zD)("resellers/fetchResellerLists",(async(e,t)=>{let{dispatch:n,getState:r}=t;const i=r().currentPage.language,o=[];if(!e)return;const a=[];var l,c,u,d;(e.map((e=>{var t;return null===(t=e.parentLink)||void 0===t?void 0:t.id})).map((e=>null==e||a.includes(e)?null:a.push(e))),a.length>0)&&(await Promise.all(a.map((async e=>{const t=await s.A.getContentByContentLink(e,void 0,i);o.push(t.data)}))),o.length>0&&(o.sort(((e,t)=>a.indexOf(e.contentLink.id)-a.indexOf(t.contentLink.id))),n(M(o)),n(N(null===(l=o[0])||void 0===l||null===(c=l.contentLink)||void 0===c?void 0:c.id)),n(I({resellers:null!==e&&void 0!==e?e:[],currentResellerList:null===(u=o[0])||void 0===u||null===(d=u.contentLink)||void 0===d?void 0:d.id}))))})),I=(0,o.zD)("resellers/getResellerFilters",((e,t)=>{let{resellers:n,currentResellerList:r}=e,{getState:i,dispatch:o}=t;const a=[];if(0!==r&&void 0!==n){const e=n.map((e=>null!==e&&void 0!==e&&e.parentLink&&e.parentLink.id===r?e:null)).filter((e=>null!==e));null===e||void 0===e||e.forEach((e=>{var t,n;null!==e&&void 0!==e&&null!==(t=e.tags)&&void 0!==t&&t.value&&(null===e||void 0===e||null===(n=e.tags)||void 0===n||n.value.forEach((e=>null==e||null!==a&&void 0!==a&&a.includes(e)?null:null===a||void 0===a?void 0:a.push(e))))})),o(R(a))}})),_=(0,o.zD)("resellers/findResellerPage",(async(e,t)=>{var n,r;let{dispatch:i,getState:o}=t;const a=null===(n=o().siteDefinition.reseller)||void 0===n||null===(r=n.listPage)||void 0===r?void 0:r.contentLinkId,s=o().resellers.resellerExtraPageId;e===a?i(z(!0)):(i(z(!1)),e!==s&&await i(f(e)))})),P={resellers:[],resellersExtra:[],resellerLists:[],resellersPending:!1,matchedResellers:void 0,searchedResellers:void 0,currentReseller:localStorage.getItem("currentReseller")?JSON.parse(null!==(r=localStorage.getItem("currentReseller"))&&void 0!==r?r:""):void 0,agreementSearch:!1,agreementNotFound:!1,currentAgreement:localStorage.getItem("currentAgreement")?JSON.parse(null!==(i=localStorage.getItem("currentAgreement"))&&void 0!==i?i:""):void 0,loaded:!1,suggestedResellers:void 0,currentResellerList:void 0,defaultResellerPage:!0,resellerExtraPageId:void 0,filters:[],filterstoggled:[]},O=(0,o.Z0)({name:"resellers",initialState:P,reducers:{currentResellerUpdated(e,t){e.currentReseller=t.payload,localStorage.setItem("currentReseller",JSON.stringify(t.payload))},currentResellerCleared(e){e.currentReseller=void 0,localStorage.removeItem("currentReseller")},resellersMatched(e,t){e.matchedResellers=t.payload},resellersSearched(e,t){e.searchedResellers=t.payload},agreementSearchToggled(e,t){e.matchedResellers=void 0,e.agreementSearch=t.payload},currentAgreementUpdated(e,t){e.currentAgreement=t.payload,localStorage.setItem("currentAgreement",JSON.stringify(t.payload))},currentAgreementCleared(e){e.currentAgreement=void 0,localStorage.removeItem("currentAgreement")},resellerListSelected(e,t){e.currentResellerList=t.payload},defaultResellerPageSelected(e,t){e.defaultResellerPage=t.payload},resellerListsFetched(e,t){e.resellerLists=t.payload},resellerFiltersFetched(e,t){e.filters=t.payload},filtersCleared(e){e.filterstoggled=[]},filterToggled(e,t){const n=e.filterstoggled;n.includes(t.payload)?e.filterstoggled=n.filter((e=>e!==t.payload)):e.filterstoggled.push(t.payload)}},extraReducers:e=>{e.addCase(h.pending,(e=>{e.resellersPending=!0})),e.addCase(h.fulfilled,((e,t)=>{e.resellers=t.payload,e.resellersPending=!1,e.loaded=!0})),e.addCase(h.rejected,(e=>{e.resellersPending=!1})),e.addCase(f.pending,(e=>{e.resellersPending=!0})),e.addCase(f.fulfilled,((e,t)=>{e.resellersExtra=t.payload.data,e.resellerExtraPageId=t.payload.contentLinkId,e.resellersPending=!1,e.loaded=!0})),e.addCase(f.rejected,(e=>{e.resellersPending=!1})),e.addCase(m.fulfilled,(e=>{e.loaded=!0})),e.addCase(v.fulfilled,((e,t)=>{e.suggestedResellers=t.payload})),e.addCase(S.fulfilled,((e,t)=>{t.payload.length>0?e.agreementNotFound=!1:e.agreementNotFound=!0,e.matchedResellers=t.payload,e.loaded=!0})),e.addMatcher((0,u.b5)("resellers/"),((e,t)=>{}))}}),{resellersMatched:T,resellersSearched:D,currentAgreementUpdated:j,agreementSearchToggled:B,resellerListSelected:N,resellerListsFetched:M,resellerFiltersFetched:R,filterToggled:L,filtersCleared:F,defaultResellerPageSelected:z}=O.actions,Q=O.reducer,U=function(e,t,n){var r;if("SE"===(arguments.length>3&&void 0!==arguments[3]?arguments[3]:"SE")&&(null===(r=n)||void 0===r?void 0:r.length)>3&&(n=n.substring(0,3)),n.length>2){const t=e.filter((e=>e.postalAreas.value.includes(n)));if(t)return t}return e.filter((e=>t.length>0&&e.details.city.value.toLowerCase()===t.toLowerCase()?e:null))},V=e=>{var t,n,r,i;return{lat:null!==(t=null===(n=e.latitude)||void 0===n?void 0:n.value)&&void 0!==t?t:0,lng:null!==(r=null===(i=e.longitude)||void 0===i?void 0:i.value)&&void 0!==r?r:0}},G=(e,t,n)=>{const r=(e,t)=>{var n=e.lat-t.lat,r=e.lng-t.lng;return Math.sqrt(n*n+r*r)};return[...e].sort(((e,n)=>{var i=r(t,V(e)),o=r(t,V(n));return isNaN(i)&&(i=1e15),isNaN(o)&&(o=1e15),o<i?1:o>i?-1:0})).slice(0,n)},q=(e,t)=>{if(!t.geometry.bounds)return[];const n=H(t.geometry.bounds);return e.filter((e=>n.contains(V(e))))},H=e=>{var t=e.getSouthWest(),n=e.getNorthEast(),r=n.lat()-t.lat()>.17?.2:.1,i=n.lng()-t.lng()>.17?.2:.1,o=new google.maps.LatLng(n.lat()+r,n.lng()+i),a=new google.maps.LatLng(t.lat()-i,t.lng()-i),s=new google.maps.LatLngBounds;return s.extend(o),s.extend(a),s},W=(e,t)=>{var n=t.getSouthWest(),r=t.getNorthEast(),i=new google.maps.LatLng(r.lat()+e,r.lng()+e),o=new google.maps.LatLng(n.lat()-e,n.lng()-e),a=new google.maps.LatLngBounds;return a.extend(i),a.extend(o),a};function Y(e){return Array.isArray(e)&&e[0]&&!!e[0].agreement&&!!e[0].resellers}const K={resellerList:(0,a.Mz)((e=>e.resellers.searchedResellers),(e=>e.resellers.defaultResellerPage),(e=>e.resellers.resellers),(e=>e.resellers.resellersExtra),(e=>e.siteDefinition.language),((e,t,n,r,i)=>[...null!==e&&void 0!==e?e:t?n:r].sort(((e,t)=>String(e.details.city.value).localeCompare(t.details.city.value,null===i||void 0===i?void 0:i.name)))))}},34869:(e,t,n)=>{"use strict";n.d(t,{pL:()=>ie,Ay:()=>he,$P:()=>oe,t3:()=>de});var r=n(11359),i=n(44805),o=n(77018),a=n(96011),s=n.n(a),l=n(1820);function c(e){return Array.isArray?Array.isArray(e):"[object Array]"===g(e)}function u(e){return"string"===typeof e}function d(e){return"number"===typeof e}function p(e){return!0===e||!1===e||function(e){return h(e)&&null!==e}(e)&&"[object Boolean]"==g(e)}function h(e){return"object"===typeof e}function f(e){return void 0!==e&&null!==e}function m(e){return!e.trim().length}function g(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const v=Object.prototype.hasOwnProperty;class y{constructor(e){this._keys=[],this._keyMap={};let t=0;e.forEach((e=>{let n=A(e);this._keys.push(n),this._keyMap[n.id]=n,t+=n.weight})),this._keys.forEach((e=>{e.weight/=t}))}get(e){return this._keyMap[e]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function A(e){let t=null,n=null,r=null,i=1,o=null;if(u(e)||c(e))r=e,t=b(e),n=w(e);else{if(!v.call(e,"name"))throw new Error((e=>`Missing ${e} property in key`)("name"));const a=e.name;if(r=a,v.call(e,"weight")&&(i=e.weight,i<=0))throw new Error((e=>`Property 'weight' in key '${e}' must be a positive integer`)(a));t=b(a),n=w(a),o=e.getFn}return{path:t,id:n,weight:i,src:r,getFn:o}}function b(e){return c(e)?e:e.split(".")}function w(e){return c(e)?e.join("."):e}var x={isCaseSensitive:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(e,t)=>e.score===t.score?e.idx<t.idx?-1:1:e.score<t.score?-1:1,includeMatches:!1,findAllMatches:!1,minMatchCharLength:1,location:0,threshold:.6,distance:100,...{useExtendedSearch:!1,getFn:function(e,t){let n=[],r=!1;const i=(e,t,o)=>{if(f(e))if(t[o]){const a=e[t[o]];if(!f(a))return;if(o===t.length-1&&(u(a)||d(a)||p(a)))n.push(function(e){return null==e?"":function(e){if("string"==typeof e)return e;let t=e+"";return"0"==t&&1/e==-1/0?"-0":t}(e)}(a));else if(c(a)){r=!0;for(let e=0,n=a.length;e<n;e+=1)i(a[e],t,o+1)}else t.length&&i(a,t,o+1)}else n.push(e)};return i(e,u(t)?t.split("."):t,0),r?n:n[0]},ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1}};const C=/[^ ]+/g;class S{constructor(){let{getFn:e=x.getFn,fieldNormWeight:t=x.fieldNormWeight}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.norm=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3;const n=new Map,r=Math.pow(10,t);return{get(t){const i=t.match(C).length;if(n.has(i))return n.get(i);const o=1/Math.pow(i,.5*e),a=parseFloat(Math.round(o*r)/r);return n.set(i,a),a},clear(){n.clear()}}}(t,3),this.getFn=e,this.isCreated=!1,this.setIndexRecords()}setSources(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.docs=e}setIndexRecords(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.records=e}setKeys(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.keys=e,this._keysMap={},e.forEach(((e,t)=>{this._keysMap[e.id]=t}))}create(){!this.isCreated&&this.docs.length&&(this.isCreated=!0,u(this.docs[0])?this.docs.forEach(((e,t)=>{this._addString(e,t)})):this.docs.forEach(((e,t)=>{this._addObject(e,t)})),this.norm.clear())}add(e){const t=this.size();u(e)?this._addString(e,t):this._addObject(e,t)}removeAt(e){this.records.splice(e,1);for(let t=e,n=this.size();t<n;t+=1)this.records[t].i-=1}getValueForItemAtKeyId(e,t){return e[this._keysMap[t]]}size(){return this.records.length}_addString(e,t){if(!f(e)||m(e))return;let n={v:e,i:t,n:this.norm.get(e)};this.records.push(n)}_addObject(e,t){let n={i:t,$:{}};this.keys.forEach(((t,r)=>{let i=t.getFn?t.getFn(e):this.getFn(e,t.path);if(f(i))if(c(i)){let e=[];const t=[{nestedArrIndex:-1,value:i}];for(;t.length;){const{nestedArrIndex:n,value:r}=t.pop();if(f(r))if(u(r)&&!m(r)){let t={v:r,i:n,n:this.norm.get(r)};e.push(t)}else c(r)&&r.forEach(((e,n)=>{t.push({nestedArrIndex:n,value:e})}))}n.$[r]=e}else if(u(i)&&!m(i)){let e={v:i,n:this.norm.get(i)};n.$[r]=e}})),this.records.push(n)}toJSON(){return{keys:this.keys,records:this.records}}}function k(e,t){let{getFn:n=x.getFn,fieldNormWeight:r=x.fieldNormWeight}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const i=new S({getFn:n,fieldNormWeight:r});return i.setKeys(e.map(A)),i.setSources(t),i.create(),i}function E(e){let{errors:t=0,currentLocation:n=0,expectedLocation:r=0,distance:i=x.distance,ignoreLocation:o=x.ignoreLocation}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const a=t/e.length;if(o)return a;const s=Math.abs(r-n);return i?a+s/i:s?1:a}const I=32;function _(e,t,n){let{location:r=x.location,distance:i=x.distance,threshold:o=x.threshold,findAllMatches:a=x.findAllMatches,minMatchCharLength:s=x.minMatchCharLength,includeMatches:l=x.includeMatches,ignoreLocation:c=x.ignoreLocation}=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(t.length>I)throw new Error(`Pattern length exceeds max of ${I}.`);const u=t.length,d=e.length,p=Math.max(0,Math.min(r,d));let h=o,f=p;const m=s>1||l,g=m?Array(d):[];let v;for(;(v=e.indexOf(t,f))>-1;){let e=E(t,{currentLocation:v,expectedLocation:p,distance:i,ignoreLocation:c});if(h=Math.min(e,h),f=v+u,m){let e=0;for(;e<u;)g[v+e]=1,e+=1}}f=-1;let y=[],A=1,b=u+d;const w=1<<u-1;for(let x=0;x<u;x+=1){let r=0,o=b;for(;r<o;){E(t,{errors:x,currentLocation:p+o,expectedLocation:p,distance:i,ignoreLocation:c})<=h?r=o:b=o,o=Math.floor((b-r)/2+r)}b=o;let s=Math.max(1,p-o+1),l=a?d:Math.min(p+o,d)+u,v=Array(l+2);v[l+1]=(1<<x)-1;for(let a=l;a>=s;a-=1){let r=a-1,o=n[e.charAt(r)];if(m&&(g[r]=+!!o),v[a]=(v[a+1]<<1|1)&o,x&&(v[a]|=(y[a+1]|y[a])<<1|1|y[a+1]),v[a]&w&&(A=E(t,{errors:x,currentLocation:r,expectedLocation:p,distance:i,ignoreLocation:c}),A<=h)){if(h=A,f=r,f<=p)break;s=Math.max(1,2*p-f)}}if(E(t,{errors:x+1,currentLocation:p,expectedLocation:p,distance:i,ignoreLocation:c})>h)break;y=v}const C={isMatch:f>=0,score:Math.max(.001,A)};if(m){const e=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:x.minMatchCharLength,n=[],r=-1,i=-1,o=0;for(let a=e.length;o<a;o+=1){let a=e[o];a&&-1===r?r=o:a||-1===r||(i=o-1,i-r+1>=t&&n.push([r,i]),r=-1)}return e[o-1]&&o-r>=t&&n.push([r,o-1]),n}(g,s);e.length?l&&(C.indices=e):C.isMatch=!1}return C}function P(e){let t={};for(let n=0,r=e.length;n<r;n+=1){const i=e.charAt(n);t[i]=(t[i]||0)|1<<r-n-1}return t}class O{constructor(e){let{location:t=x.location,threshold:n=x.threshold,distance:r=x.distance,includeMatches:i=x.includeMatches,findAllMatches:o=x.findAllMatches,minMatchCharLength:a=x.minMatchCharLength,isCaseSensitive:s=x.isCaseSensitive,ignoreLocation:l=x.ignoreLocation}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.options={location:t,threshold:n,distance:r,includeMatches:i,findAllMatches:o,minMatchCharLength:a,isCaseSensitive:s,ignoreLocation:l},this.pattern=s?e:e.toLowerCase(),this.chunks=[],!this.pattern.length)return;const c=(e,t)=>{this.chunks.push({pattern:e,alphabet:P(e),startIndex:t})},u=this.pattern.length;if(u>I){let e=0;const t=u%I,n=u-t;for(;e<n;)c(this.pattern.substr(e,I),e),e+=I;if(t){const e=u-I;c(this.pattern.substr(e),e)}}else c(this.pattern,0)}searchIn(e){const{isCaseSensitive:t,includeMatches:n}=this.options;if(t||(e=e.toLowerCase()),this.pattern===e){let t={isMatch:!0,score:0};return n&&(t.indices=[[0,e.length-1]]),t}const{location:r,distance:i,threshold:o,findAllMatches:a,minMatchCharLength:s,ignoreLocation:l}=this.options;let c=[],u=0,d=!1;this.chunks.forEach((t=>{let{pattern:p,alphabet:h,startIndex:f}=t;const{isMatch:m,score:g,indices:v}=_(e,p,h,{location:r+f,distance:i,threshold:o,findAllMatches:a,minMatchCharLength:s,includeMatches:n,ignoreLocation:l});m&&(d=!0),u+=g,m&&v&&(c=[...c,...v])}));let p={isMatch:d,score:d?u/this.chunks.length:1};return d&&n&&(p.indices=c),p}}class T{constructor(e){this.pattern=e}static isMultiMatch(e){return D(e,this.multiRegex)}static isSingleMatch(e){return D(e,this.singleRegex)}search(){}}function D(e,t){const n=e.match(t);return n?n[1]:null}class j extends T{constructor(e){let{location:t=x.location,threshold:n=x.threshold,distance:r=x.distance,includeMatches:i=x.includeMatches,findAllMatches:o=x.findAllMatches,minMatchCharLength:a=x.minMatchCharLength,isCaseSensitive:s=x.isCaseSensitive,ignoreLocation:l=x.ignoreLocation}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};super(e),this._bitapSearch=new O(e,{location:t,threshold:n,distance:r,includeMatches:i,findAllMatches:o,minMatchCharLength:a,isCaseSensitive:s,ignoreLocation:l})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(e){return this._bitapSearch.searchIn(e)}}class B extends T{constructor(e){super(e)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(e){let t,n=0;const r=[],i=this.pattern.length;for(;(t=e.indexOf(this.pattern,n))>-1;)n=t+i,r.push([t,n-1]);const o=!!r.length;return{isMatch:o,score:o?0:1,indices:r}}}const N=[class extends T{constructor(e){super(e)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(e){const t=e===this.pattern;return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}},B,class extends T{constructor(e){super(e)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(e){const t=e.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}},class extends T{constructor(e){super(e)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(e){const t=!e.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}},class extends T{constructor(e){super(e)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(e){const t=!e.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}},class extends T{constructor(e){super(e)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(e){const t=e.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[e.length-this.pattern.length,e.length-1]}}},class extends T{constructor(e){super(e)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(e){const t=-1===e.indexOf(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}},j],M=N.length,R=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/;const L=new Set([j.type,B.type]);class F{constructor(e){let{isCaseSensitive:t=x.isCaseSensitive,includeMatches:n=x.includeMatches,minMatchCharLength:r=x.minMatchCharLength,ignoreLocation:i=x.ignoreLocation,findAllMatches:o=x.findAllMatches,location:a=x.location,threshold:s=x.threshold,distance:l=x.distance}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.query=null,this.options={isCaseSensitive:t,includeMatches:n,minMatchCharLength:r,findAllMatches:o,ignoreLocation:i,location:a,threshold:s,distance:l},this.pattern=t?e:e.toLowerCase(),this.query=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e.split("|").map((e=>{let n=e.trim().split(R).filter((e=>e&&!!e.trim())),r=[];for(let i=0,o=n.length;i<o;i+=1){const e=n[i];let o=!1,a=-1;for(;!o&&++a<M;){const n=N[a];let i=n.isMultiMatch(e);i&&(r.push(new n(i,t)),o=!0)}if(!o)for(a=-1;++a<M;){const n=N[a];let i=n.isSingleMatch(e);if(i){r.push(new n(i,t));break}}}return r}))}(this.pattern,this.options)}static condition(e,t){return t.useExtendedSearch}searchIn(e){const t=this.query;if(!t)return{isMatch:!1,score:1};const{includeMatches:n,isCaseSensitive:r}=this.options;e=r?e:e.toLowerCase();let i=0,o=[],a=0;for(let s=0,l=t.length;s<l;s+=1){const r=t[s];o.length=0,i=0;for(let t=0,s=r.length;t<s;t+=1){const s=r[t],{isMatch:l,indices:c,score:u}=s.search(e);if(!l){a=0,i=0,o.length=0;break}if(i+=1,a+=u,n){const e=s.constructor.type;L.has(e)?o=[...o,...c]:o.push(c)}}if(i){let e={isMatch:!0,score:a/i};return n&&(e.indices=o),e}}return{isMatch:!1,score:1}}}const z=[];function Q(e,t){for(let n=0,r=z.length;n<r;n+=1){let r=z[n];if(r.condition(e,t))return new r(e,t)}return new O(e,t)}const U="$and",V="$or",G="$path",q="$val",H=e=>!(!e[U]&&!e[V]),W=e=>({[U]:Object.keys(e).map((t=>({[t]:e[t]})))});function Y(e,t){let{auto:n=!0}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const r=e=>{let i=Object.keys(e);const o=(e=>!!e[G])(e);if(!o&&i.length>1&&!H(e))return r(W(e));if((e=>!c(e)&&h(e)&&!H(e))(e)){const r=o?e[G]:i[0],a=o?e[q]:e[r];if(!u(a))throw new Error((e=>`Invalid value for key ${e}`)(r));const s={keyId:w(r),pattern:a};return n&&(s.searcher=Q(a,t)),s}let a={children:[],operator:i[0]};return i.forEach((t=>{const n=e[t];c(n)&&n.forEach((e=>{a.children.push(r(e))}))})),a};return H(e)||(e=W(e)),r(e)}function K(e,t){const n=e.matches;t.matches=[],f(n)&&n.forEach((e=>{if(!f(e.indices)||!e.indices.length)return;const{indices:n,value:r}=e;let i={indices:n,value:r};e.key&&(i.key=e.key.src),e.idx>-1&&(i.refIndex=e.idx),t.matches.push(i)}))}function J(e,t){t.score=e.score}class X{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;this.options={...x,...t},this.options.useExtendedSearch,this._keyStore=new y(this.options.keys),this.setCollection(e,n)}setCollection(e,t){if(this._docs=e,t&&!(t instanceof S))throw new Error("Incorrect 'index' type");this._myIndex=t||k(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(e){f(e)&&(this._docs.push(e),this._myIndex.add(e))}remove(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:()=>!1;const t=[];for(let n=0,r=this._docs.length;n<r;n+=1){const i=this._docs[n];e(i,n)&&(this.removeAt(n),n-=1,r-=1,t.push(i))}return t}removeAt(e){this._docs.splice(e,1),this._myIndex.removeAt(e)}getIndex(){return this._myIndex}search(e){let{limit:t=-1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{includeMatches:n,includeScore:r,shouldSort:i,sortFn:o,ignoreFieldNorm:a}=this.options;let s=u(e)?u(this._docs[0])?this._searchStringList(e):this._searchObjectList(e):this._searchLogical(e);return function(e,t){let{ignoreFieldNorm:n=x.ignoreFieldNorm}=t;e.forEach((e=>{let t=1;e.matches.forEach((e=>{let{key:r,norm:i,score:o}=e;const a=r?r.weight:null;t*=Math.pow(0===o&&a?Number.EPSILON:o,(a||1)*(n?1:i))})),e.score=t}))}(s,{ignoreFieldNorm:a}),i&&s.sort(o),d(t)&&t>-1&&(s=s.slice(0,t)),function(e,t){let{includeMatches:n=x.includeMatches,includeScore:r=x.includeScore}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const i=[];return n&&i.push(K),r&&i.push(J),e.map((e=>{const{idx:n}=e,r={item:t[n],refIndex:n};return i.length&&i.forEach((t=>{t(e,r)})),r}))}(s,this._docs,{includeMatches:n,includeScore:r})}_searchStringList(e){const t=Q(e,this.options),{records:n}=this._myIndex,r=[];return n.forEach((e=>{let{v:n,i:i,n:o}=e;if(!f(n))return;const{isMatch:a,score:s,indices:l}=t.searchIn(n);a&&r.push({item:n,idx:i,matches:[{score:s,value:n,norm:o,indices:l}]})})),r}_searchLogical(e){const t=Y(e,this.options),n=(e,t,r)=>{if(!e.children){const{keyId:n,searcher:i}=e,o=this._findMatches({key:this._keyStore.get(n),value:this._myIndex.getValueForItemAtKeyId(t,n),searcher:i});return o&&o.length?[{idx:r,item:t,matches:o}]:[]}const i=[];for(let o=0,a=e.children.length;o<a;o+=1){const a=e.children[o],s=n(a,t,r);if(s.length)i.push(...s);else if(e.operator===U)return[]}return i},r=this._myIndex.records,i={},o=[];return r.forEach((e=>{let{$:r,i:a}=e;if(f(r)){let e=n(t,r,a);e.length&&(i[a]||(i[a]={idx:a,item:r,matches:[]},o.push(i[a])),e.forEach((e=>{let{matches:t}=e;i[a].matches.push(...t)})))}})),o}_searchObjectList(e){const t=Q(e,this.options),{keys:n,records:r}=this._myIndex,i=[];return r.forEach((e=>{let{$:r,i:o}=e;if(!f(r))return;let a=[];n.forEach(((e,n)=>{a.push(...this._findMatches({key:e,value:r[n],searcher:t}))})),a.length&&i.push({idx:o,item:r,matches:a})})),i}_findMatches(e){let{key:t,value:n,searcher:r}=e;if(!f(n))return[];let i=[];if(c(n))n.forEach((e=>{let{v:n,i:o,n:a}=e;if(!f(n))return;const{isMatch:s,score:l,indices:c}=r.searchIn(n);s&&i.push({score:l,key:t,value:n,idx:o,norm:a,indices:c})}));else{const{v:e,n:o}=n,{isMatch:a,score:s,indices:l}=r.searchIn(e);a&&i.push({score:s,key:t,value:e,norm:o,indices:l})}return i}}X.version="7.0.0",X.createIndex=k,X.parseIndex=function(e){let{getFn:t=x.getFn,fieldNormWeight:n=x.fieldNormWeight}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{keys:r,records:i}=e,o=new S({getFn:t,fieldNormWeight:n});return o.setKeys(r),o.setIndexRecords(i),o},X.config=x,X.parseQuery=Y,function(){z.push(...arguments)}(F);var Z=n(69435),$=n(24380);let ee,te,ne;const re={searchPhrase:"",page:1,pageSize:4,orderBy:"relevance"},ie=(0,r.zD)("search/createCategoryIndex",(async e=>{const t={keys:["name"],minMatchCharLength:2,threshold:.45},n=X.createIndex(t.keys,e);ee=new X(e,t,n)})),oe=(0,r.zD)("search/search",(async(e,t)=>{let{searchPhrase:n,hasAssortments:r,location:i}=e,{dispatch:o}=t;if(o(ue(n)),n.length<2)return o(pe()),ne&&ne.cancel("Empty search phrase, cancelling"),void(te&&te.cancel("Empty search phrase, cancelling"));o(se(n)),r&&(o(ae({searchPhrase:n,location:i})),o(le(n)))})),ae=(0,r.zD)("search/searchCategories",(async(e,t)=>{let{searchPhrase:n,location:r}=e,{getState:i}=t;const o=ee.search(n).slice(0,4),a=i().siteDefinition.assortmentPages;return o.map((e=>{var t,n;let{item:i}=e;const o=(0,l.XD)(i,a,r);return{url:o.url,text:o.name||o.code||"N/A",parentText:null===(t=o.parent)||void 0===t?void 0:t.name,parentPath:null===(n=o.parent)||void 0===n?void 0:n.url}}))})),se=(0,r.zD)("search/searchContent",(async(e,t)=>{let{getState:n,rejectWithValue:r}=t;ne&&ne.cancel("New search phrase, cancelling");try{var a;ne=(0,i.ws)();return function(e){const t=[];for(let r=0;r<e.length;r++){const i=e[r];if(i&&i.url&&!fe(i)){if(!t.find((e=>e.url===i.url))){var n;const e={url:i.url,text:(null===(n=i.name)||void 0===n?void 0:n.toString())||"",parentText:null};t.push(e)}}if(t.length>3)break}return t}((await o.A.searchContent({query:e,top:3},null===(a=n().siteDefinition.language)||void 0===a?void 0:a.name)).data)}catch(l){return s().isCancel(l)?r(void 0):r({message:l instanceof Error?l.toString():"Unknown error"})}})),le=(0,r.zD)("search/searchProducts",(async(e,t)=>{let{getState:n,rejectWithValue:r}=t;te&&te.cancel("New search phrase, cancelling");try{te=(0,i.ws)();const t=await i.Ay.searchProductsSimple({...re,searchPhrase:e},te.token),{items:r,...o}=t.data,a=r.map((e=>{const t=n().assortment.productCategoryMap[e.productNumber];return{slug:e.slug,text:e.productName||e.productNumber||"N/A",parentText:null===t||void 0===t?void 0:t.name,parentPath:null===t||void 0===t?void 0:t.url,imgUrl:e.image?(0,$.Ay)(e.image,$.yj.Preview,Z.ImageExtension.Jpg):null,productNumber:e.productNumber,productBrandName:e.productBrandName}})),s=a.findIndex((t=>t.productNumber===e));return{foundProducts:a,pageInfo:o,perfectMatchProductIndex:s}}catch(o){return s().isCancel(o)?r(void 0):r({message:o instanceof Error?o.toString():"Unknown error"})}})),ce=(0,r.Z0)({name:"search",initialState:{visible:!1,searchPhrase:"",productsPending:!1,contentPending:!1,perfectMatchProductIndex:-1,pageInfo:{}},reducers:{searchVisibilityToggled(e,t){e.visible=void 0!==t.payload?t.payload:!e.visible},searchPhraseUpdated(e,t){e.searchPhrase=t.payload},searchNothing(e){e.foundCategories=null,e.foundContent=null,e.foundProducts=null}},extraReducers:e=>{e.addCase(se.pending,(e=>{e.contentPending=!0})),e.addCase(se.fulfilled,((e,t)=>{e.foundContent=t.payload,e.contentPending=!1})),e.addCase(se.rejected,((e,t)=>{e.error=t.payload,e.contentPending=!1})),e.addCase(le.pending,(e=>{e.productsPending=!0})),e.addCase(le.fulfilled,((e,t)=>{e.productsPending=!1,e.foundProducts=t.payload.foundProducts,e.perfectMatchProductIndex=t.payload.perfectMatchProductIndex,e.pageInfo=t.payload.pageInfo})),e.addCase(le.rejected,((e,t)=>{e.error=t.payload,e.productsPending=!1})),e.addCase(ae.fulfilled,((e,t)=>{e.foundCategories=t.payload})),e.addCase(ae.rejected,((e,t)=>{e.error=t.payload}))}}),{searchPhraseUpdated:ue,searchVisibilityToggled:de,searchNothing:pe}=ce.actions,he=ce.reducer;function fe(e){return e.contentType.some((e=>{return t=e,me.includes(t);var t}))}const me=["ResellerPage","AssortmentPage","AssortmentProductContentPage"]},7436:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var r=n(22360),i=n(74959),o=n(74635),a=n(69435),s=n(24937),l=n(33453),c=n(57905),u=n(44414);const d={[a.StockOperation.None]:r.c7N,[a.StockOperation.Add]:r.T8I,[a.StockOperation.Remove]:r.K3L},p=e=>{let{mounting:t,stockOperation:n,stockOperationSummary:r,date:s}=e;return(0,u.jsxs)(h,{align:"center",justify:"between",className:"p-2 w-100 f3-400",children:[(0,u.jsxs)(l.so,{align:"center",children:[(0,u.jsx)(i.g,{icon:d[n]}),t?(0,u.jsx)(l.EY,{className:"ml-2 f3-400",small:!0,children:`${(0,o.t)("stock.mounting")}, ${(0,o.t)("product.articleNumber")}: ${null===r||void 0===r?void 0:r.articleId}`}):(0,u.jsx)(l.EY,{className:"ml-2 f3-400",small:!0,children:(0,o.t)("stock.operation",{defaultValue:"*!Internal - no need to translate*",context:c.bE[n]})})]}),(0,u.jsxs)(l.EY,{small:!0,children:[s&&(0,u.jsxs)(u.Fragment,{children:[(0,o.t)("shipment.date","Dispatch date"),": ",(0,u.jsx)("b",{children:s.split("T")[0]})," "]}),n!==a.StockOperation.None&&(0,u.jsxs)(u.Fragment,{children:[(0,o.t)("stock.stockAfterTransaction","Stock after transactions"),": ",(0,u.jsx)("b",{children:null===r||void 0===r?void 0:r.after}),f(null===r||void 0===r?void 0:r.before,null===r||void 0===r?void 0:r.after)]}),n===a.StockOperation.None&&(null===r||void 0===r?void 0:r.after)&&(0,u.jsxs)(u.Fragment,{children:[(0,o.t)("stock.stock","Stock"),": ",(0,u.jsx)("b",{children:null===r||void 0===r?void 0:r.after})]})]})]})},h=(0,s.Ay)(l.so).withConfig({componentId:"sc-1in0ori-0"})(["font-size:12px;background:",";"],(e=>{let{theme:t}=e;return t.colors.fillMedium}));function f(e,t){if("number"!==typeof e||"number"!==typeof t)return"";const n=t-e;return` (${n>0?"+":""} ${n})`}},12508:(e,t,n)=>{"use strict";n.d(t,{E:()=>s});var r=n(33453),i=n(69435),o=n(24937);const a=(0,o.Ay)(r.so).withConfig({componentId:"sc-c9ygjf-0"})(["white-space:nowrap;color:",";align-self:center;padding:",";border-radius:2px;font-size:",";margin:1px 0;&:not(:last-child){margin-right:3px;}"],(e=>{let{theme:t}=e;return t.colors.text}),(e=>{let{compact:t}=e;return t?"0 3px":"2px 6px"}),(e=>{let{compact:t}=e;return t?"10px":"12px"})),s=(0,o.Ay)(a).withConfig({componentId:"sc-c9ygjf-1"})(["",""],(e=>{let{type:t,position:n,theme:r,selectable:o,selected:a}=e;if(o)return`\n      cursor: pointer;\n      color: ${r.colors.textLight};\n      border: 1px solid ${r.colors.border};\n      background-color: ${a?r.colors.fillGray:r.colors.fillHover};\n      `;if(n===i.TagPosition.Price&&0===t)return`\n        color: ${r.colors.text};\n        backdrop-filter: brightness(0.95);\n        white-space: normal;\n        border: 1px solid ${r.colors.border};\n      `;switch(t){case i.TagType.Outlet:return`\n          color: ${r.colors.sale};\n          border: 1px solid ${r.colors.sale};\n          background-color: #fff;\n          `;case i.TagType.Sustainable:return`\n          color: ${r.colors.sustainable};\n          border: 1px solid ${r.colors.sustainable};\n          background-color: #fff;\n          `;case i.TagType.Label:return`\n          color: ${r.colors.textLight};\n          border: 1px solid ${r.colors.border};\n          background-color: ${r.colors.fill};\n          `;case i.TagType.New:case i.TagType.UpComming:default:return`\n          color: ${r.colors.textWhite};\n          border: 1px solid ${r.colors.fillBlack};\n          background-color:${r.colors.fillBlack};\n          `}}))},31938:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(24937),i=n(12508),o=n(44414);const a=r.Ay.div.withConfig({componentId:"sc-1kuuwl8-0"})(["display:flex;flex-wrap:wrap;max-width:400px;& > div{margin-right:2px;}"]),s=e=>{let{tags:t,className:n,compact:r,children:s}=e;return(0,o.jsx)(a,{className:n||"",children:null===t||void 0===t?void 0:t.map(((e,t)=>(0,o.jsx)("div",{children:s?(0,o.jsx)(o.Fragment,{children:s&&s(e,t)}):(0,o.jsx)(i.E,{position:e.position,compact:r,type:e.type,children:e.value},t)},t)))})}},78225:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(22360),i=n(74959),o=n(33453),a=(n(9950),n(70030)),s=n(24937),l=n(44414);const c=e=>{let{message:t,header:n,onAction:c,actionText:v,ok:y}=e;const A=(0,s.DP)(),{t:b}=(0,a.B)();return(0,l.jsxs)(u,{justify:"between",align:"center","data-exclude-click":!0,column:!0,children:[(0,l.jsxs)(d,{children:[(0,l.jsx)(h,{className:"p-2 align-self-stretch",align:"center",justify:"center",children:(0,l.jsx)(i.g,{color:A.colors.error,size:"2x",className:"",icon:r.tUE})}),(0,l.jsx)(p,{className:"p-4 flex-grow-1",justify:"between",align:"center",children:(0,l.jsxs)(m,{column:!0,children:[n&&(0,l.jsx)(o.EY,{className:"f1-500 d-block mb-2",children:n}),t&&(0,l.jsx)(o.EY,{small:!0,className:"f1-400 d-block",children:t})]})})]}),(0,l.jsxs)(f,{className:"w-100",children:[y&&(0,l.jsx)(g,{height:45,bgColor:"fillMedium","data-exclude-click":!0,className:"f1-500",children:b("action.ok","Ok")}),c&&(0,l.jsx)(g,{height:45,bgColor:"fill",onClick:c,"data-exclude-click":!0,className:`${!y&&"w-100"} f1-500`,children:v})]})]})},u=(0,s.Ay)(o.so).withConfig({componentId:"sc-r7g98p-0"})(["min-height:100px;> *{pointer-events:none;}"]),d=(0,s.Ay)(o.so).withConfig({componentId:"sc-r7g98p-1"})(["flex-grow:1;"]),p=(0,s.Ay)(o.so).withConfig({componentId:"sc-r7g98p-2"})(["font-size:12px;background:white;"]),h=(0,s.Ay)(o.so).withConfig({componentId:"sc-r7g98p-3"})(["background-color:",";width:80px;"],(e=>{let{theme:t}=e;return t.colors.fill})),f=(0,s.Ay)(o.so).withConfig({componentId:"sc-r7g98p-4"})(["pointer-events:initial;"]),m=(0,s.Ay)(o.so).withConfig({componentId:"sc-r7g98p-5"})(["flex-grow:2;max-width:300px;"]),g=(0,s.Ay)(o.$n).withConfig({componentId:"sc-r7g98p-6"})(["border-radius:0;flex-grow:1;"])},8836:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(22360),i=n(74959),o=n(33453),a=n(24937),s=n(44414);function l(e){switch(e){case"error":return r.tUE;case"success":return r.e68;default:return r.iW_}}const c=e=>{let{text:t,iconColor:n,icon:r,preset:c}=e;const h=(0,a.DP)(),f=n?h.colors[n]:function(e,t){switch(t){case"error":return e.colors.error;case"success":return e.colors.success;default:return e.colors.text}}(h,c);return(0,s.jsxs)(u,{justify:"between",align:"center",children:[(0,s.jsx)(p,{className:"align-self-stretch",align:"center",justify:"center",children:(0,s.jsx)(i.g,{color:f,size:"2xl",icon:null!==r&&void 0!==r?r:l(c)})}),(0,s.jsx)(d,{align:"center",children:(0,s.jsx)(o.EY,{children:t})})]})},u=(0,a.Ay)(o.so).withConfig({componentId:"sc-81f7dt-0"})(["min-height:50px;"]),d=(0,a.Ay)(o.so).withConfig({componentId:"sc-81f7dt-1"})(["background:white;padding:1rem;max-width:300px;"]),p=(0,a.Ay)(o.so).withConfig({componentId:"sc-81f7dt-2"})(["background-color:",";padding:1rem;"],(e=>{let{theme:t}=e;return t.colors.fill}))},84647:(e,t,n)=>{"use strict";n.d(t,{P:()=>l});var r=n(22360),i=n(33453),o=n(9950),a=n(24937),s=n(44414);const l=e=>{let{value:t,tree:n,handleOnValueChange:a,noBorder:l=!1,bgColor:A}=e;const[b,w]=(0,o.useState)([]),[x,C]=(0,o.useState)([]),[S,k]=(0,o.useState)([]);(0,o.useEffect)((()=>{const e=JSON.parse(JSON.stringify(n));C(e),k(u(e))}),[t,n]);const E=(e,n)=>{var l,u,m;const x=c(e);d(e,t)?(e.status="checked",x.forEach((e=>{e.status="checked"}))):!p(x,t)&&h(x,t)&&(e.status="indeterminate");const C=(e,t)=>{var n;let r=[...t];const i=c(e);r=r.filter((t=>t!==e.id)),i.forEach((e=>{e.status="unchecked"}));const o=null===(n=S.find((t=>t.id===e.parent)))||void 0===n?void 0:n.childrenNodes;if((null===o||void 0===o?void 0:o.every((e=>"checked"===e.status)))&&o){r.push(...o.filter((t=>(null===t||void 0===t?void 0:t.id)!==e.id)).map((e=>e.id)).filter(Boolean));const t=S.find((t=>(null===t||void 0===t?void 0:t.id)===e.parent));if(t)return C(t,r)}return e.status="unchecked",r},k=(e,t)=>{var n;let r=[...t,e.id].filter(Boolean);c(e).forEach((e=>{e.status="checked"})),e.status="checked";const i=null===(n=S.find((t=>t.id===e.parent)))||void 0===n?void 0:n.childrenNodes;if(null===i||void 0===i?void 0:i.every((e=>"checked"===e.status))){r=r.filter((e=>i&&!i.map((e=>null===e||void 0===e?void 0:e.id)).includes(e)));const t=S.find((t=>(null===t||void 0===t?void 0:t.id)===(null===e||void 0===e?void 0:e.parent)));if(t)return k(t,r)}return r},I=e=>{switch(e.status){case"indeterminate":a(((e,t)=>{const n=c(e);return t.filter((e=>!n.map((e=>e.id)).includes(e)))})(e,t));break;case"checked":a(C(e,t));break;default:a(k(e,t))}};return(0,s.jsx)(o.Fragment,{children:(0,s.jsxs)(f,{children:[(0,s.jsxs)(g,{justify:"between",align:"center",children:[(0,s.jsxs)(v,{gap:"4px",children:[null!==e&&void 0!==e&&e.childrenNodes&&(null===e||void 0===e||null===(l=e.childrenNodes)||void 0===l?void 0:l.length)>0?(0,s.jsx)(i.K0,{onClick:()=>{null!==e&&void 0!==e&&e.id&&(b.includes(e.id)?w(b.filter((t=>t!==e.id))):w([...b,e.id]))},small:!0,icon:b.includes(null!==(u=e.id)&&void 0!==u?u:"")?r.Jt$:r.XkK,bgColor:A||"fill"}):(0,s.jsx)(y,{}),(0,s.jsx)(i.EY,{large:!0,light:!0,children:null===e||void 0===e?void 0:e.label})]}),(0,s.jsxs)(v,{justify:"end",children:[(0,s.jsx)(i.Sc,{indeterminate:"indeterminate"===e.status,checked:"checked"===e.status,onChange:()=>I(e)})," "]})]}),(0,s.jsx)("div",{style:{marginLeft:"0"},children:null===e||void 0===e||null===(m=e.childrenNodes)||void 0===m?void 0:m.map(((t,n)=>{var r,i;return b.includes(null!==(r=null===e||void 0===e?void 0:e.id)&&void 0!==r?r:"")?(0,s.jsxs)("div",{style:{marginLeft:null!==t&&void 0!==t&&t.childrenNodes&&(null===t||void 0===t||null===(i=t.childrenNodes)||void 0===i?void 0:i.length)>0?"18px":"0"},children:[" ",E(t,n)," "]},n):null}))})]})},n)};return(0,s.jsx)("div",{children:null===x||void 0===x?void 0:x.map(((e,t)=>(0,s.jsx)(m,{noBorder:l,children:E(e,t)},t)))})},c=e=>{let t=[];var n;e.childrenNodes&&(null===e||void 0===e||null===(n=e.childrenNodes)||void 0===n||n.forEach((n=>{const r=n;r.parent=e.id,t.push(r),t=t.concat(c(n))})));return t},u=e=>{let t=[];return null===e||void 0===e||e.forEach((e=>{t.push(e),null!==e&&void 0!==e&&e.childrenNodes&&(t=t.concat(u(e.childrenNodes)))})),t},d=(e,t)=>(null===e||void 0===e?void 0:e.id)&&t.includes(e.id),p=(e,t)=>e.every((e=>(null===e||void 0===e?void 0:e.id)&&t.includes(e.id))),h=(e,t)=>e.some((e=>(null===e||void 0===e?void 0:e.id)&&t.includes(e.id))),f=a.Ay.div.withConfig({componentId:"sc-81avns-0"})(["padding:2px 0;a:hover{text-decoration:underline;}"]),m=a.Ay.div.withConfig({componentId:"sc-81avns-1"})(["border-bottom:",";padding:5px 0;"],(e=>{let{theme:t,noBorder:n}=e;return!n&&`1px solid ${t.colors.border}`})),g=(0,a.Ay)(i.so).withConfig({componentId:"sc-81avns-2"})(["margin-left:",";"],(e=>{let{marginLeft:t}=e;return t})),v=(0,a.Ay)(i.so).withConfig({componentId:"sc-81avns-3"})(["margin-left:",";"],(e=>{let{marginLeft:t}=e;return t})),y=a.Ay.div.withConfig({componentId:"sc-81avns-4"})(["padding-left:24px;"])},36355:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(84848),i=n(81925),o=n(33453),a=n(23017),s=n(70030),l=n(24937),c=n(44414);const u=e=>{let{hideTitle:t,className:n}=e;const o=(0,a.GV)(r.Ax),l=(0,a.GV)(r.z6),{t:u}=(0,s.B)();if(l)return(0,c.jsx)(g,{children:(0,c.jsx)(i.A,{name:"customerServiceText",model:{propertyDataType:"PropertyXhtmlString",value:l}})});if(!o)return null;const{phone:v,email:y,title:A}=o;return(0,c.jsxs)(d,{column:!0,className:n,children:[!t&&(0,c.jsx)(p,{children:A?u("contact.customerContact","Customer service contact information"):null}),(0,c.jsxs)(m,{children:[(0,c.jsx)("div",{children:(0,c.jsx)(f,{href:"tel:"+v,children:v})}),(0,c.jsx)("div",{children:(0,c.jsx)(h,{href:"mailto:"+y,children:y})})]})]})},d=(0,l.Ay)(o.so).withConfig({componentId:"sc-u0vyi1-0"})([""]),p=l.Ay.h2.withConfig({componentId:"sc-u0vyi1-1"})(["font-size:18px;font-family:",",helvetica,sans-serif;font-weight:400;margin-bottom:8px;line-height:20px;"],(e=>{let{theme:t}=e;return t.typography.f3400family})),h=l.Ay.a.withConfig({componentId:"sc-u0vyi1-2"})(["text-decoration:none;"]),f=l.Ay.a.withConfig({componentId:"sc-u0vyi1-3"})(["text-decoration:none;"]),m=l.Ay.address.withConfig({componentId:"sc-u0vyi1-4"})(["margin-bottom:0;"]),g=l.Ay.div.withConfig({componentId:"sc-u0vyi1-5"})(["h2{font-size:18px;margin:0;font-family:Inter,helvetica,sans-serif;font-weight:400;margin-bottom:8px;line-height:20px;}address{margin:0;}"])},57905:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>J,BC:()=>B,Di:()=>ue,FB:()=>he,Go:()=>de,Gw:()=>T,HQ:()=>se,J5:()=>Z,NR:()=>fe,Oz:()=>j,PO:()=>pe,RJ:()=>b,S8:()=>te,VH:()=>Q,Vn:()=>ie,_V:()=>k,aL:()=>S,b2:()=>M,bE:()=>X,bl:()=>le,cy:()=>re,g2:()=>O,gA:()=>D,gQ:()=>oe,iP:()=>ae,iZ:()=>I,jk:()=>U,kS:()=>K,p3:()=>H,qX:()=>E,r$:()=>w,sr:()=>ne,to:()=>R,xA:()=>x,xr:()=>$,y3:()=>V,zC:()=>Y,zW:()=>ce,zo:()=>G,zq:()=>q});var r=n(11359),i=n(85913),o=n(44805),a=n(96011),s=n.n(a),l=n(50361),c=n(41107),u=n(12087),d=n(3781),p=n(84238),h=n(69435),f=n(35732),m=n(45798),g=n(24872),v=n(24380),y=n(51673);let A,b=function(e){return e.Status="status",e.Tag="category",e.Archived="archived",e.Stock="stock",e.Product="products",e}({});const w=(0,r.zD)("article/getOrder",(async e=>(await o.Ay.order(e)).data)),x=(0,r.zD)("articles/selectArticle",(async(e,t)=>{let{getState:n,dispatch:r}=t;return r(C(e)),n().articles.articles.byId[e]})),C=(0,r.zD)("articles/getArticleDetails",(async e=>(await o.Ay.getArticleDetails(e)).data)),S=(0,r.zD)("articles/search",(async(e,t)=>{let{getState:n,rejectWithValue:r}=t;A&&A.cancel("Fetching new articles, cancel in flight request");try{const t=n().articles,r=t.searchInputs,i=r.search,a=JSON.stringify(t.filters.active),s=(0,g.t7)(r.from),l=(0,g.t7)(r.to);A=(0,o.ws)();return(await o.Ay.searchArticles(null!==i&&void 0!==i?i:"",a,r.pageSize,null!==e&&void 0!==e?e:1,s,l,A.token)).data}catch(i){return s().isCancel(i)?r(void 0):r({message:i instanceof Error?i.toString():"Unknown error"})}})),k=(0,r.zD)("articles/getRefinementProducts",(async e=>(await o.Ay.refinementsGetSpecialProducts()).data),{condition:(e,t)=>{let{getState:n}=t;return!n().articles.refinementProducts.loading}}),E=(0,r.zD)("articles/getTagSuggestions",(async(e,t)=>{let{rejectWithValue:n}=t;try{return(await o.Ay.searchCategories(e)).data}catch(r){return s().isCancel(r)?n(void 0):n({message:r instanceof Error?r.toString():"Unknown error"})}})),I=(0,r.zD)("articles/updateArticle",(async(e,t)=>{let{dispatch:n}=t;n(_({id:e.id,tags:e.tags,name:e.name})),n(P({id:e.id,minQuantity:e.minQuantity,email:e.email}))})),_=(0,r.zD)("articles/updateArticleGeneral",(async(e,t)=>{let{dispatch:n}=t;const{data:r}=await o.Ay.updateArticle(e.id,e.name,e.tags);return n(D()),r})),P=(0,r.zD)("articles/setMonitoring",(async(e,t)=>{let{rejectWithValue:n,dispatch:r,getState:i}=t;try{const{id:t,minQuantity:n,email:r}=e;return await o.Ay.articleMonitoring(t,r,n),e}catch(a){return s().isCancel(a)?n(void 0):n({message:a instanceof Error?a.toString():"Unknown error"})}})),O=e=>(0,r.zD)(e+"/articles/createDraftArticle",(async e=>{let{input:t,files:n}=e;return(await o.Ay.createDraftArticle(t,n)).data})),T=(0,r.zD)("articles/editTag",(async(e,t)=>{let{dispatch:n,rejectWithValue:r}=t;try{if(null!==e&&void 0!==e&&e.save){var i,a;const{data:t}=await o.Ay.updateCategory(null!==(i=null===e||void 0===e?void 0:e.value)&&void 0!==i?i:"",null!==(a=null===e||void 0===e?void 0:e.tag)&&void 0!==a?a:"");return t&&null!==e&&void 0!==e&&e.tag&&n(Q({filterItem:{label:null===e||void 0===e?void 0:e.tag,value:null===e||void 0===e?void 0:e.tag},filterType:b.Tag})),n(D()),n(S()),{}}return e}catch(l){return s().isCancel(l)?r(void 0):r({message:l instanceof Error?l.toString():"Unknown error"})}})),D=(0,r.zD)("articles/getFilters",(async(e,t)=>{let{rejectWithValue:n}=t;try{const{data:t}=await o.Ay.getArticlesFilters(e);return t}catch(r){return s().isCancel(r)?n(void 0):n({message:r instanceof Error?r.toString():"Unknown error"})}})),j=(0,r.zD)("articles/setArchive",(async(e,t)=>{let{rejectWithValue:n}=t;try{return await o.Ay.archiveArticle(e.id,e.archive),e}catch(r){return s().isCancel(r)?n(void 0):n({message:r instanceof Error?r.toString():"Unknown error"})}})),B=(0,r.zD)("articles/deleteDraftArticleAlert",(async(e,t)=>{let{rejectWithValue:n,dispatch:r}=t;try{return r((0,l.wp)({title:p.A.t("action.remove"),description:p.A.t("article.deleteWarning",{name:e.id}),onOk:async()=>{r(N({id:e.id}))}})),e}catch(i){return s().isCancel(i)?n(void 0):n({message:i instanceof Error?i.toString():"Unknown error"})}})),N=(0,r.zD)("articles/deleteDraftArticle",(async(e,t)=>{let{rejectWithValue:n,dispatch:r}=t;try{return await o.Ay.deleteDraftArticle(e.id),r(R()),e}catch(i){return s().isCancel(i)?n(void 0):n({message:i instanceof Error?i.toString():"Unknown error"})}})),M=(0,r.zD)("articles/submitArticleForApproval",(async(e,t)=>{let{id:n,immediate:r}=e,{rejectWithValue:i}=t;try{r?await o.Ay.updateStatus(n,h.ArticleStatus.Approved):await o.Ay.submitDraftForApproval(n);const{data:e}=await o.Ay.getArticle(n);return e}catch(a){return s().isCancel(a)?i(void 0):i({message:a instanceof Error?a.toString():"Unknown error"})}})),R=(0,r.zD)("articles/goToArticles",(async(e,t)=>{let{dispatch:n}=t;n(W()),n(S())})),L={tagEdit:{edit:!1,tag:void 0,value:void 0,save:!1},filters:{available:{},active:{},show:window.innerWidth>=m.A.breakpoints.lg,loading:!1},searchInputs:{from:(0,g.JO)(-2),to:(0,g.JO)(0),search:void 0,pageSize:10,page:1,pages:1,total:0},tags:{byId:{},allIds:[],loading:!1},articles:{byId:{},allIds:[],loading:!1},quickViewArticleId:null,tagSuggestions:{loading:!1,tags:[]},refinementProducts:{loading:!1,products:void 0},selectedArticle:{loading:{fetching:!1},details:{},order:{status:"NoOrder"}}},F=(0,r.Z0)({name:"articles",initialState:L,reducers:{setFilters(e,t){e.filters.active=t.payload},toggleFilter(e,t){var n;const{filterItem:r,filterType:i}=t.payload,o=[...null!==(n=e.filters.active[i])&&void 0!==n?n:[]],a=o.findIndex((e=>e===r.value));return a>-1?o.splice(a,1):o.push(r.value),{...e,filters:{...e.filters,active:{...e.filters.active,[i]:o}}}},toggleShowFilters(e,t){e.filters.show=void 0!==t.payload?t.payload:!e.filters.show},setInputs(e,t){e.searchInputs={...e.searchInputs,...t.payload}},quickViewArticleSet(e,t){e.quickViewArticleId=t.payload},quickViewArticleClearState(e){e.quickViewArticleId=L.quickViewArticleId},emptyTagSuggestions(e){e.tagSuggestions.tags=[]},detailsClosed(e){e.selectedArticle=L.selectedArticle},orderSelected(e,t){e.selectedArticle.order.orderNumber=t.payload},orderClosed(e){e.selectedArticle.order=L.selectedArticle.order}},extraReducers:e=>{e.addCase(w.fulfilled,((e,t)=>{e.selectedArticle.order.order=t.payload,e.selectedArticle.order.status="OrderLoaded"})),e.addCase(w.pending,(e=>{e.selectedArticle.order.status="PendingOrder"})),e.addCase(w.rejected,(e=>{e.selectedArticle.order.status="Error"})),e.addCase(P.fulfilled,((e,t)=>{e.selectedArticle.article={...e.selectedArticle.article,monitoringEmail:t.payload.email,monitoringMinimumQuantity:t.payload.minQuantity}})),e.addCase(_.fulfilled,((e,t)=>{var n;const{id:r}=t.meta.arg;e.articles.byId[r]=t.payload,r===(null===(n=e.selectedArticle.article)||void 0===n?void 0:n.id)&&(e.selectedArticle.article.productName=t.payload.productName,e.selectedArticle.article.labels=t.payload.labels)})),e.addCase(T.fulfilled,((e,t)=>{e.tagEdit.edit=t.payload.edit,e.tagEdit.tag=t.payload.tag,e.tagEdit.value=t.payload.value,e.tagEdit.save=t.payload.save})),e.addCase(j.fulfilled,((e,t)=>{e.articles.byId[t.payload.id].archived=t.payload.archive,e.selectedArticle.article&&(e.selectedArticle.article.archived=t.payload.archive)})),e.addCase((0,c.Nz)("shoppingCart").fulfilled,(e=>{e.quickViewArticleId=L.quickViewArticleId})),e.addCase(S.pending,(e=>{e.articles.loading=!0})),e.addCase(S.rejected,(e=>{e.articles.loading=!1})),e.addCase(S.fulfilled,((e,t)=>{var n,r,i,o,a,s;const{payload:l}=t;e.searchInputs.page=null!==(n=l.currentPage)&&void 0!==n?n:1,e.searchInputs.pages=null!==(r=l.totalPages)&&void 0!==r?r:1,e.searchInputs.total=null!==(i=l.totalItems)&&void 0!==i?i:0,e.articles.byId=null===(o=l.items)||void 0===o?void 0:o.reduce(((e,t)=>({...e,[t.id]:t})),{}),e.articles.allIds=null!==(a=null===(s=l.items)||void 0===s?void 0:s.map((e=>`${e.id}`)))&&void 0!==a?a:[],e.articles.loading=!1})),e.addCase(E.pending,(e=>{e.tagSuggestions.loading=!0})),e.addCase(E.fulfilled,((e,t)=>{e.tagSuggestions={tags:t.payload,loading:!1}})),e.addCase(E.rejected,(e=>{e.tagSuggestions.loading=!1})),e.addCase(D.pending,(e=>{e.tags.loading=!0})),e.addCase(D.fulfilled,((e,t)=>{const{payload:n}=t;e.filters.available=n,e.filters.loading=!1})),e.addCase(k.pending,(e=>{e.refinementProducts.loading=!0})),e.addCase(k.fulfilled,((e,t)=>{e.refinementProducts.products=t.payload,e.refinementProducts.loading=!1})),e.addCase(k.rejected,((e,t)=>{e.refinementProducts.error=t.error,e.refinementProducts.loading=!1})),e.addCase(M.pending,(e=>{e.selectedArticle.loading.submittingForApproval=!0})),e.addCase(M.fulfilled,((e,t)=>{e.selectedArticle.loading.submittingForApproval=!1,e.selectedArticle.article={...e.selectedArticle.article,status:t.payload.status}})),e.addCase(M.rejected,(e=>{e.selectedArticle.loading.submittingForApproval=!1})),e.addCase(C.pending,(e=>{e.selectedArticle.details.loading=!0})),e.addCase(C.fulfilled,((e,t)=>{e.selectedArticle.details.loading=!1,e.selectedArticle.details.data=t.payload})),e.addCase(C.rejected,((e,t)=>{e.selectedArticle.details.loading=!1,e.selectedArticle.details.error=t.error})),e.addCase(x.pending,(e=>{e.selectedArticle.loading.fetching=!0})),e.addCase(x.fulfilled,((e,t)=>{e.selectedArticle.article=t.payload,e.selectedArticle.loading.fetching=!1})),e.addCase(x.rejected,((e,t)=>{e.selectedArticle.error=t.error,e.selectedArticle.loading.fetching=!1})),e.addMatcher((0,f._H)("articles/"),((e,t)=>{})),e.addMatcher((0,f.b5)("articles/"),((e,t)=>{y.A.error("ERROR",t.payload)})),e.addMatcher((0,f.Ic)(d.Qe),(e=>L))}}),{setFilters:z,toggleFilter:Q,toggleShowFilters:U,setInputs:V,quickViewArticleSet:G,quickViewArticleClearState:q,emptyTagSuggestions:H,detailsClosed:W,orderClosed:Y,orderSelected:K}=F.actions,J=F.reducer,X={[h.StockOperation.None]:"order",[h.StockOperation.Add]:"add",[h.StockOperation.Remove]:"withdraw"},Z=(e,t)=>{var n,r,i,o,a,s,l,c,d,f,m,g,y,A,b,w,x,C,S;if(!e)return{};const k=null===t||void 0===t||null===(n=t.data)||void 0===n||null===(r=n.find((t=>t.productNumber===e.specialProductNumber)))||void 0===r?void 0:r.productName;return{files:[{fileName:null!==(i=null===(o=e.image)||void 0===o?void 0:o.fileName)&&void 0!==i?i:null===(a=e.image)||void 0===a?void 0:a.imageId,url:(0,v.Ay)(e.image,v.yj.Preview),fileExtension:".png",darkBg:null!==(s=e.darkBg)&&void 0!==s&&s}],name:e.productName,productName:null!==(l=null!==(c=e.refinementProductName)&&void 0!==c?c:k)&&void 0!==l?l:p.A.t("product.article_one"),inputs:[...null!==(d=e.price)&&void 0!==d&&null!==(f=d.customer)&&void 0!==f&&f.num&&e.status!==h.ArticleStatus.Draft?[{label:p.A.t("price.latestPrice"),type:h.ShopCartRefinementInputType.Comment,value:null===e||void 0===e||null===(m=e.price)||void 0===m||null===(g=m.customer)||void 0===g?void 0:g.str}]:[],{label:p.A.t("general.status","Status"),type:h.ShopCartRefinementInputType.Comment,value:null!==(y=u.I1[e.status]())&&void 0!==y?y:""},...e.status===h.ArticleStatus.Approved?[{label:p.A.t("stock.stock","Stock"),value:`${e.stockQuantity}${p.A.t("stock.pcs","pcs")}`,type:h.ShopCartRefinementInputType.Comment}]:[],{label:p.A.t("size.size","Size"),type:h.ShopCartRefinementInputType.Size,value:`${e.width}x${e.height}cm`}],colors:e.color,articleId:null===e||void 0===e?void 0:e.id,type:h.ShopCartRefinementType.Product,positions:[{preview:null!==(A=null===(b=e.image)||void 0===b?void 0:b.fileName)&&void 0!==A?A:null===(w=e.image)||void 0===w?void 0:w.imageId,sample:null!==(x=null===(C=e.image)||void 0===C?void 0:C.fileName)&&void 0!==x?x:null===(S=e.image)||void 0===S?void 0:S.imageId,variationNumber:e.specialProductNumber}]}},$=e=>e.articles.tagEdit,ee=e=>e.articles.articles,te=e=>e.articles.searchInputs,ne=e=>e.articles.refinementProducts.products,re=e=>e.articles.filters.active,ie=e=>e.articles.filters.show,oe=e=>e.articles.selectedArticle,ae=e=>e.articles.selectedArticle.loading.submittingForApproval,se=(0,i.Mz)(ee,(e=>e.allIds.map((t=>e.byId[t])))),le=(0,i.Mz)(ee,(e=>e.articles.quickViewArticleId),((e,t)=>t?e.byId[t]:null)),ce=(0,i.Mz)(oe,(e=>{var t,n,r,i,o,a,s;return{id:null===e||void 0===e||null===(t=e.article)||void 0===t?void 0:t.id,name:null!==(n=null===e||void 0===e||null===(r=e.article)||void 0===r?void 0:r.productName)&&void 0!==n?n:"",tags:null!==(i=null===e||void 0===e||null===(o=e.article)||void 0===o?void 0:o.labels)&&void 0!==i?i:[],email:null===e||void 0===e||null===(a=e.article)||void 0===a?void 0:a.monitoringEmail,minQuantity:null===e||void 0===e||null===(s=e.article)||void 0===s?void 0:s.monitoringMinimumQuantity}})),ue=(0,i.Mz)(ee,(e=>e.loading)),de=(0,i.Mz)((e=>e.articles.filters),re,((e,t)=>{let{available:n}=e;var r=["status","stock","products","category","archived"];return Object.entries(n).sort((function(e,t){return r.indexOf(e[0])-r.indexOf(t[0])})).map((e=>{let[n,r]=e;const i=Object.entries(t).find((e=>{let[t]=e;return t===n}));return{label:n,type:n,items:null===r||void 0===r?void 0:r.map((e=>({label:e,value:e,active:null===i||void 0===i?void 0:i.includes(`${e}`)})))}}))})),pe=(0,i.Mz)(ne,(e=>e.articles.refinementProducts.loading),(e=>e.articles.refinementProducts.error),((e,t,n)=>({data:null!==e&&void 0!==e?e:[],pending:null!==t&&void 0!==t&&t,error:n,shouldLoad:!e&&!n&&!t}))),he=(0,i.Mz)(ee,pe,((e,t)=>{var n;return null!==(n=e.allIds.map((n=>Z(e.byId[n],t))))&&void 0!==n?n:[]})),fe=(0,i.Mz)(((e,t)=>t),(e=>e.articles.tagSuggestions.tags),((e,t)=>t.map((e=>e)).filter((t=>!!t&&!(null!==e&&void 0!==e&&e.includes(t))))))},1173:(e,t,n)=>{"use strict";n.d(t,{X_:()=>a,ld:()=>l,qw:()=>c,t$:()=>s});var r=n(11359),i=n(44805),o=n(73878);const a=e=>t=>{(0,o.vA)((()=>{t(s(e)),t(l(e))}))},s=(0,r.zD)("collections/getCollectionDetails",(async e=>(await i.Ay.getCollection(e.id)).data)),l=(0,r.zD)("collections/getCollectionProducts",(async(e,t)=>{var n;let{getState:r,rejectWithValue:o}=t;const a=(null!==(n=r().collections.collections.byId[e.id].variations)&&void 0!==n?n:[]).reduce(((e,t)=>(t.variationNumber&&e.push(t.variationNumber),e)),[]),s=await i.Ay.getCollectionProducts(a);return 204===s.status?o("No product found"):{products:s.data,collectionId:e.id}}),{condition:(e,t)=>{let{getState:n}=t;return!n().collections.collectionProducts.byId[e.id]}}),c=(0,r.zD)("collections/getCollections",(async e=>{let{ids:t}=e;return(await i.Ay.getCollections(t)).data}),{condition:(e,t)=>{let{ids:n}=e,{getState:r}=t;const i=Object.keys(r().collections.collectionProducts.byId),o=n.some((e=>!i.includes(e.toString())));return!!n.length&&o}})},79858:(e,t,n)=>{"use strict";n.d(t,{RJ:()=>P,sJ:()=>G,Iq:()=>q,yi:()=>V,P3:()=>Y,n1:()=>R,Lr:()=>T,Ay:()=>ae,Nk:()=>Q,L7:()=>ie,gA:()=>F,Ox:()=>_e,qX:()=>B,Hg:()=>O,Eh:()=>ne,ED:()=>Oe,u8:()=>Z,d3:()=>$,pH:()=>ee,EO:()=>D,cy:()=>de,de:()=>ke,w4:()=>ve,Ft:()=>ge,JC:()=>j,dG:()=>me,VL:()=>be,xr:()=>se,NR:()=>Ie,Go:()=>Ee,Di:()=>Ae,Vo:()=>ye,Cn:()=>fe,vb:()=>we,S8:()=>ue,ez:()=>Se,wY:()=>xe,zn:()=>Ce,Vn:()=>pe,Q5:()=>X,jk:()=>oe,Oz:()=>z,IX:()=>N,Gw:()=>L});var r=n(11359),i=n(85913),o=n(44805),a=n(96011),s=n.n(a),l=n(95461),c=n(50361),u=n(41107),d=n(3781),p=n(84238),h=n(69435),f=n(73878),m=n(35732),g=n(45798),v=n(24872),y=n(54579),A=n(57158),b=n(51673);function w(e){switch(e){case"front":return 0;case"back":return 1;case"left":return 2;case"right":return 3;default:return 4}}function x(e,t){return w(e.angle)<w(t.angle)?-1:1}var C=n(55628),S=n(43099),k=n(83907),E=n(75081),I=n(1173);let _,P=function(e){return e.Status="status",e.Tag="category",e.Archived="archived",e.Stock="stock",e}({});const O=()=>e=>{e(J()),e(D())},T=(0,r.zD)("collections/checkIfCollectionsExists",(async(e,t)=>{let{rejectWithValue:n}=t;try{var r;_=(0,o.ws)();const{data:e}=await o.Ay.searchCollections("",void 0,1,void 0,void 0,void 0,_.token);return(null!==(r=null===e||void 0===e?void 0:e.totalItems)&&void 0!==r?r:0)>0}catch(i){return s().isCancel(i)?n(void 0):n({message:i instanceof Error?i.toString():"Unknown error"})}}),{condition:(e,t)=>{let{getState:n}=t;return null===n().collections.collections.exists}}),D=(0,r.zD)("collections/search",(async(e,t)=>{let{getState:n,rejectWithValue:r}=t;_&&_.cancel("Fetching new collections, cancel in flight request");const i=n().collections;try{const e=i.searchInputs,t=JSON.stringify(i.filters.active);_=(0,o.ws)();return(await o.Ay.searchCollections(e.search,t,e.pageSize,e.page,(0,v.t7)(e.from),(0,v.t7)(e.to),_.token)).data}catch(a){return s().isCancel(a)?r(void 0):r({message:a instanceof Error?a.toString():"Unknown error"})}})),j=e=>t=>{(0,f.vA)((()=>{t((0,I.X_)(e)),t(Z()),t(K(e.id))}))},B=(0,r.zD)("collections/getTagSuggestions",(async(e,t)=>{let{rejectWithValue:n}=t;try{return(await o.Ay.searchCategories(e)).data}catch(r){return s().isCancel(r)?n(void 0):n({message:r instanceof Error?r.toString():"Unknown error"})}})),N=(0,r.zD)("collections/updateCollection",(async(e,t)=>{let{dispatch:n}=t;n(M({id:e.id,tags:e.tags,name:e.name}))})),M=(0,r.zD)("collections/updateCollectionGeneral",(async(e,t)=>{let{dispatch:n}=t;const{data:r}=await o.Ay.updateCollection(e.id,e.name,e.tags);return n(F()),r})),R=(0,r.zD)("collections/changeCollection",(async(e,t)=>{var n,r,i;let{refinements:a,addons:s,files:l}=e,{getState:c}=t;const u=null!==(n=c().refinementTool.collectionName)&&void 0!==n?n:"",d=null!==(r=c().refinementTool.collectionCategories)&&void 0!==r?r:[];return null===(i=await o.Ay.changeCollectionData(u,d,a,s,l))||void 0===i?void 0:i.data})),L=(0,r.zD)("collections/editTag",(async(e,t)=>{let{dispatch:n,rejectWithValue:r}=t;try{if(null!==e&&void 0!==e&&e.save){var i,a;const{data:t}=await o.Ay.updateCategory(null!==(i=null===e||void 0===e?void 0:e.value)&&void 0!==i?i:"",null!==(a=null===e||void 0===e?void 0:e.tag)&&void 0!==a?a:"");return t&&null!==e&&void 0!==e&&e.tag&&n(ie({filterItem:{label:null===e||void 0===e?void 0:e.tag,value:null===e||void 0===e?void 0:e.tag},filterType:P.Tag})),n(F()),n(D()),{}}return e}catch(l){return s().isCancel(l)?r(void 0):r({message:l instanceof Error?l.toString():"Unknown error"})}})),F=(0,r.zD)("collections/getFilters",(async(e,t)=>{let{rejectWithValue:n}=t;try{const{data:e}=await o.Ay.getCollectionsFilters();return e}catch(r){return s().isCancel(r)?n(void 0):n({message:r instanceof Error?r.toString():"Unknown error"})}})),z=(0,r.zD)("collections/setArchive",(async(e,t)=>{let{rejectWithValue:n}=t;try{return await o.Ay.archiveCollection(e.id,e.archive),e}catch(r){return s().isCancel(r)?n(void 0):n({message:r instanceof Error?r.toString():"Unknown error"})}})),Q=(0,r.zD)("collections/deleteDraftCollectionAlert",(async(e,t)=>{let{rejectWithValue:n,dispatch:r}=t;try{return r((0,c.wp)({title:p.A.t("action.remove"),description:p.A.t("collection.deleteWarning",{name:e.name}),onOk:async()=>{r(U({id:e.id}))}})),e}catch(i){return s().isCancel(i)?n(void 0):n({message:i instanceof Error?i.toString():"Unknown error"})}})),U=(0,r.zD)("collections/deleteDraftCollection",(async(e,t)=>{let{dispatch:n}=t;await o.Ay.deleteDraftCollection(e.id),n(O())})),V=(0,r.zD)("collections/apply/collectionOnOffer",(async(e,t)=>{let{dispatch:n,rejectWithValue:r}=t;const i=await o.Ay.cartsCreateOffer(e);if(!i.data)return r(p.A.t("error.general"));n((0,E.tb)(i.data)),n((0,S.On)("Offers"))})),G=(0,r.zD)("collections/apply/collectionOnCart",(async(e,t)=>{let{dispatch:n}=t;await n((0,u.NH)("shoppingCart")(e))})),q=(0,r.zD)("collections/apply/collectionOnMicroshop",(async(e,t)=>{let{dispatch:n}=t;n((0,k.K5)()),await n((0,k.$e)(e)),n((0,k.kb)("")),n((0,S.On)("Microshops")),n((0,k.dg)("Details"))})),H={applyType:void 0,collections:{exists:null,byId:{},allIds:[],loading:!1},collectionProducts:{byId:{},loading:!1},searchInputs:{from:(0,v.JO)(-2),to:(0,v.JO)(0),search:"",pageSize:10,page:1,pages:1,total:0},filters:{available:{},active:{},show:window.innerWidth>=g.A.breakpoints.lg,loading:!1},tags:{byId:{},allIds:[],loading:!1},tagEdit:{edit:!1,tag:void 0,value:void 0,save:!1},tagSuggestions:{loading:!1,tags:[]},matrixInputsByProductNumber:{},quickViewCollectionId:null,selectedCollection:{state:{details:"idle",savingSettings:"idle"}}},W=(0,r.Z0)({name:"collections",initialState:H,reducers:{applyTypeSet(e,t){e.applyType=t.payload},collectionSelected(e,t){e.selectedCollection.collectionId=t.payload},filtersSet(e,t){e.filters.active=t.payload},filterToggled(e,t){var n;const{filterItem:r,filterType:i}=t.payload,o=[...null!==(n=e.filters.active[i])&&void 0!==n?n:[]],a=o.findIndex((e=>e===r.value));return a>-1?o.splice(a,1):o.push(r.value),{...e,filters:{...e.filters,active:{...e.filters.active,[i]:o}}}},toggleShowFilters(e,t){e.filters.show=void 0!==t.payload?t.payload:!e.filters.show},inputsSet(e,t){e.searchInputs={...e.searchInputs,...t.payload}},quickViewCollectionSet(e,t){e.quickViewCollectionId=t.payload},quickViewCollectionCleared(e){e.quickViewCollectionId=H.quickViewCollectionId},tagSuggestionsEmptied(e){e.tagSuggestions.tags=[]},detailsClosed(e){e.selectedCollection=H.selectedCollection},matrixInputsSet(e,t){e.matrixInputsByProductNumber[t.payload.productNumber]=t.payload.newInputs},matrixInputsReset(e){e.matrixInputsByProductNumber={}}},extraReducers:e=>{e.addCase(q.fulfilled,((e,t)=>{e.collectionProducts.byId={}})),e.addCase(M.fulfilled,((e,t)=>{const{id:n}=t.meta.arg;e.collections.byId[n]=t.payload})),e.addCase(R.fulfilled,((e,t)=>{const n=t.payload;e.collections.byId[n.id]||(e.collections.allIds=[n.id,...e.collections.allIds]),e.collections.byId={...e.collections.byId,[`${n.id}`]:n},n.id&&(e.collections.exists=!0)})),e.addCase(L.fulfilled,((e,t)=>{e.tagEdit.edit=t.payload.edit,e.tagEdit.tag=t.payload.tag,e.tagEdit.value=t.payload.value,e.tagEdit.save=t.payload.save})),e.addCase(z.fulfilled,((e,t)=>{e.collections.byId[t.payload.id].archived=t.payload.archive})),e.addCase((0,u.Nz)("shoppingCart").fulfilled,(e=>{e.quickViewCollectionId=H.quickViewCollectionId})),e.addCase(T.fulfilled,((e,t)=>{e.collections.exists=t.payload})),e.addCase(D.pending,(e=>{e.collections.loading=!0})),e.addCase(D.rejected,(e=>{e.collections.loading=!1})),e.addCase(D.fulfilled,((e,t)=>{var n,r,i,o,a,s;const{payload:l}=t;e.searchInputs.page=null!==(n=l.currentPage)&&void 0!==n?n:1,e.searchInputs.pages=null!==(r=l.totalPages)&&void 0!==r?r:1,e.searchInputs.total=null!==(i=l.totalItems)&&void 0!==i?i:0,e.collections.byId=(null!==(o=l.items)&&void 0!==o?o:[]).reduce(((e,t)=>{if(t.id){const n=t.id,r=t;return{...e,[n]:r}}return e}),{}),e.collections.allIds=null!==(a=null===(s=l.items)||void 0===s?void 0:s.map((e=>e.id)))&&void 0!==a?a:[],e.collections.loading=!1})),e.addCase(B.pending,(e=>{e.tagSuggestions.loading=!0})),e.addCase(B.fulfilled,((e,t)=>{e.tagSuggestions={tags:t.payload,loading:!1}})),e.addCase(B.rejected,(e=>{e.tagSuggestions.loading=!1})),e.addCase(F.pending,(e=>{e.tags.loading=!0})),e.addCase(F.fulfilled,((e,t)=>{const{payload:n}=t;e.filters.available=n,e.filters.loading=!1})),e.addCase(I.qw.fulfilled,((e,t)=>{const n=t.payload.reduce(((e,t)=>({...e,[`${t.id}`]:t})),{});e.collections.byId={...e.collections.byId,...n}})),e.addCase(I.t$.pending,(e=>{e.selectedCollection.state.details="loading"})),e.addCase(I.t$.fulfilled,((e,t)=>{const n=t.payload;e.collections.byId={...e.collections.byId,[`${n.id}`]:n},e.selectedCollection.state.details="idle"})),e.addCase(I.t$.rejected,((e,t)=>{e.selectedCollection.state.details="error"})),e.addCase(I.ld.pending,(e=>{e.collectionProducts.loading=!0})),e.addCase(I.ld.fulfilled,((e,t)=>{const{products:n,collectionId:r}=t.payload;e.collectionProducts.loading=!1,e.collectionProducts.byId={...e.collectionProducts.byId,[`${r}`]:n}})),e.addCase(I.ld.rejected,(e=>{e.collectionProducts.loading=!1})),e.addMatcher((0,m._H)("collections/apply/"),((e,t)=>{e.applyPending=!0})),e.addMatcher((0,m.b5)("collections/apply/"),((e,t)=>{e.applyPending=!1})),e.addMatcher((0,m.Ic)("collections/apply/"),((e,t)=>{e.applyPending=!1})),e.addMatcher((0,m._H)("collections/"),((e,t)=>{})),e.addMatcher((0,m.b5)("collections/"),((e,t)=>{b.A.error("ERROR",t.payload)})),e.addMatcher((0,m.Ic)(d.Qe),(e=>H))}}),{applyTypeSet:Y,collectionSelected:K,detailsClosed:J,tagSuggestionsEmptied:X,matrixInputsReset:Z,matrixInputsSet:$,quickViewCollectionSet:ee,quickViewCollectionCleared:te,inputsSet:ne,filtersSet:re,filterToggled:ie,toggleShowFilters:oe}=W.actions,ae=W.reducer,se=(h.StockOperation.None,h.StockOperation.Add,h.StockOperation.Remove,e=>e.collections.tagEdit),le=e=>e.collections.collections,ce=e=>e.collections.collectionProducts,ue=e=>e.collections.searchInputs,de=e=>e.collections.filters.active,pe=e=>e.collections.filters.show,he=e=>e.collections.selectedCollection,fe=e=>e.collections.matrixInputsByProductNumber,me=e=>e.collections.collections.exists,ge=e=>e.collections.applyType,ve=e=>e.collections.applyPending,ye=(0,i.Mz)(fe,(e=>Object.values(e).flatMap((e=>e)))),Ae=(0,i.Mz)(le,(e=>e.loading)),be=(0,i.Mz)(he,(e=>"loading"===e.state.details)),we=(0,i.Mz)(le,ce,(e=>e.collections.quickViewCollectionId),((e,t,n)=>{if(!n)return null;const r=e.byId[n],i=Pe(t.byId[n],r);return{...r,products:i}})),xe=(0,i.Mz)(le,ce,he,((e,t)=>null!==t&&void 0!==t?t:e.collections.selectedCollection.collectionId),((e,t,n,r)=>{var i,o;if(!r)return null;const a=e.byId[r];if(!a)return null;const s=null!==(i=t.byId[r])&&void 0!==i?i:[],l=Oe(s,null!==(o=a.refinements)&&void 0!==o?o:[],a.variations);return{collectionId:r,...n,isDraft:(null===a||void 0===a?void 0:a.status)===h.CollectionStatus.Draft,collection:a,cards:l,splitProducts:Pe(s,a)}})),Ce=(0,i.Mz)(le,he,((e,t)=>{var n;if(!t.collectionId)return null;const r=e.byId[t.collectionId];return{id:null===r||void 0===r?void 0:r.id,name:null!==(n=null===r||void 0===r?void 0:r.name)&&void 0!==n?n:"",tags:null===r||void 0===r?void 0:r.labels}})),Se=(0,i.Mz)(xe,ce,((e,t)=>{var n,r,i,o;if(null===e||void 0===e||!e.collection.id)return null;return{productNumbers:null===(n=t.byId[null===e||void 0===e?void 0:e.collection.id])||void 0===n?void 0:n.map((e=>e.productNumber)).filter(A.A),refinements:null!==(r=null===(i=e.collection.refinements)||void 0===i?void 0:i.map((e=>{var t,n;return{...e,price:null===(t=e.price)||void 0===t?void 0:t.toString(),vat:null===(n=e.vat)||void 0===n?void 0:n.toString()}})))&&void 0!==r?r:[],collectionVariations:e.collection.variations,name:`${null!==(o=e.collection.name)&&void 0!==o?o:p.A.t("collection.collection_one")}`}})),ke=(0,i.Mz)(le,(e=>e.allIds.map((t=>e.byId[t])))),Ee=(0,i.Mz)((e=>e.collections.filters),de,((e,t)=>{let{available:n}=e;const r=[P.Status,P.Tag,P.Archived];return(0,C.A)(r,[...Object.entries(n)],(e=>{let[t]=e;return t})).filter((e=>{let[t]=e;return r.includes(t)})).map((e=>{let[n,r]=e;const i=Object.entries(t).find((e=>{let[t]=e;return t===n}));return{label:n,type:n,items:null===r||void 0===r?void 0:r.map((e=>({label:e,value:e,active:null===i||void 0===i?void 0:i.includes(`${e}`)})))}}))})),Ie=(0,i.Mz)(((e,t)=>t),(e=>e.collections.tagSuggestions.tags),((e,t)=>t.map((e=>e)).filter((t=>!!t&&!(null!==e&&void 0!==e&&e.includes(t))))));function _e(e,t){return t?`${e}%%${t}`:e}function Pe(e,t){var n;return null!==(n=null===e||void 0===e?void 0:e.map((e=>{var n;const r=null===(n=e.variations)||void 0===n?void 0:n.flatMap((e=>{var n,r;const i=null===(n=t.variations)||void 0===n?void 0:n.find((t=>t.variationNumber===e.variationNumber));var o;return null!==i&&void 0!==i&&null!==(r=i.splits)&&void 0!==r&&r.length?null!==(o=i.splits.map((t=>{var n;return{...e,color:`${e.color} - ${t}`,skus:null===(n=e.skus)||void 0===n?void 0:n.map((e=>({...e,sku:_e(e.sku,t)})))}})))&&void 0!==o?o:[]:e?[e]:[]}));return{...e,variations:null!==r&&void 0!==r?r:[]}})))&&void 0!==n?n:[]}function Oe(e,t,n,r,i){function o(e){return e.map((e=>{var t,n,i,o,a;const s=(0,y.$)(null!==(t=e.inputs)&&void 0!==t?t:[],(e=>{switch(e.type){case h.ShopCartRefinementInputType.Color:return"color";case h.ShopCartRefinementInputType.FixedImage:return"fixedImage";default:return"inputs"}})),c=null!==(n=null===(i=s.get("color"))||void 0===i?void 0:i.map((e=>({name:e.label,hex:e.value}))))&&void 0!==n?n:[],u=null!==c&&void 0!==c&&c.length?c[0].hex:void 0,d=null===(o=s.get("fixedImage"))||void 0===o?void 0:o[0],p=null!==d&&void 0!==d&&d.value?+d.value:void 0;return{svgString:p&&r?null===(a=r[p])||void 0===a?void 0:a.replace(/PLACEHOLDER_COLOR/,null!==u&&void 0!==u?u:""):void 0,fixedImageUrl:p?(0,l.de)(p,"background"):void 0,refinementIndex:e.index}}))}const a=[],s=t.map(((e,t)=>({...e,index:t}))),c=s.filter((e=>e.type===h.ShopCartRefinementType.Product));for(const l of c){var u,d,p,f,m;const e=`${l.articleId}`,t=[`${l.articleId||""}`,`${l.name||""}`].filter((e=>!!e)).join(": "),n=null===(u=l.positions)||void 0===u?void 0:u[0],r=null!==(d=null===n||void 0===n?void 0:n.variationNumber)&&void 0!==d?d:"",o=null===(p=l.files)||void 0===p?void 0:p.find((e=>e.fileName===(null===n||void 0===n?void 0:n.preview))),s=!!l.id&&"string"===typeof(null===i||void 0===i||null===(f=i.refinementWarnings[l.id])||void 0===f?void 0:f.warning),c=[{angle:"article",refinements:[{...l,warning:s}],image:o,variationNumber:void 0,split:""}];a.push({id:e,variationNumber:r,name:t,angles:c,description:null!==(m=l.productName)&&void 0!==m?m:"",isArticle:!0})}for(const l of e)if(l.variations)for(const e of l.variations){const t=null===n||void 0===n?void 0:n.find((t=>(null===t||void 0===t?void 0:t.variationNumber)===(null===e||void 0===e?void 0:e.variationNumber)));if(null===t||void 0===t||!t.variationNumber)continue;const r=null===s||void 0===s?void 0:s.filter((e=>{var n;return"number"===typeof e.index&&(null===t||void 0===t||null===(n=t.addons)||void 0===n?void 0:n.includes(e.index))})),c=null===r||void 0===r?void 0:r.flatMap((e=>{var t;return null!==(t=e.files)&&void 0!==t?t:[]})),u=r.flatMap((e=>{var n,r;return null!==(n=null===(r=e.positions)||void 0===r?void 0:r.filter((e=>e.variationNumber===t.variationNumber)).map((t=>({...t,refinement:e}))))&&void 0!==n?n:[]})),d=(0,y.$)(u,(e=>{var t;return null!==(t=e.split)&&void 0!==t?t:"NO_SPLIT"}));for(const[n,s]of d.entries()){if(d.size>1&&"NO_SPLIT"===n)continue;let u=s;if("NO_SPLIT"!==n){const e=d.get("NO_SPLIT");e&&(u=u.concat(e))}const p=(0,y.$)(u,(e=>{var t;return null!==(t=e.angle)&&void 0!==t?t:"NO_ANGLE"})),h=[];for(const[a,s]of p){const l=s[0];if(!l)continue;const u=null===c||void 0===c?void 0:c.find((e=>e.fileName===l.preview)),d=u?void 0:e.image,p=r.filter((e=>{var r;return null===(r=e.positions)||void 0===r?void 0:r.find((e=>e.variationNumber===t.variationNumber&&e.angle===a&&(!e.split||e.split===n)))})).map((e=>{var t;return{...e,warning:!!(e.id&&null!==i&&void 0!==i&&i.refinementWarnings&&null!==(t=i.refinementWarnings[e.id])&&void 0!==t&&t.warning)}}));h.push({angle:a,image:u,fallBackImage:d,refinements:p,split:l.split,variationNumber:l.variationNumber,accessoryImages:""===a?o(s.map((e=>e.refinement))):void 0})}a.push({id:`${t.variationNumber}${n}`,variationNumber:t.variationNumber,name:`${l.productName}${"NO_SPLIT"!==n?` -  ${n}`:""}${null!==i&&void 0!==i&&i.articleWarnings[t.variationNumber]?" *":""}`,angles:h.sort(x),description:[e.color,t.variationNumber].filter((e=>!!e)).join(", ")})}}return a}},43693:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var r=n(5874),i=n(33453),o=n(23017),a=n(9950),s=n(70030),l=n(24937),c=n(43099),u=n(53530),d=n(44414);const p=e=>{let{type:t,children:n}=e;const{options:l,component:p,topComponent:f}=n,b=(0,o.jL)(),w=(0,o.GV)(c.If),x=(0,o.cb)(),{t:C}=(0,s.B)(),S=(0,a.useCallback)((()=>{b((0,c.On)(t))}),[t,b]),k=(0,o.Wr)(S,!x.lgBelow,"exclude-click-listener",!0),E=(0,a.useRef)(null);(0,a.useEffect)((()=>{var e;return b((0,c.s4)({title:p.title,onBack:null!==(e=p.onBack)&&void 0!==e?e:S})),()=>{b((0,c.s4)())}}),[b,p.title,p.onBack,S]);const I=l.narrow?m:g;return(0,d.jsx)(h,{column:!0,ref:k,className:l.narrow?"exclude-click-listener":"",children:(0,d.jsxs)(I,{offset:w,children:[(0,d.jsxs)(v,{children:[l.sellingOrOverriding&&(0,d.jsx)(r.A,{}),l.sellingOrOverriding&&l.sellingDisabled&&(0,d.jsx)(i.yP,{bgColor:"error",color:"textWhite",children:C("seller.warnSellingDisabled","Prices and delivery information on this page are not affected by the assumed customer above. You need to connect the correct customer below.")}),f]}),(0,d.jsxs)(y,{ref:E,children:[(0,d.jsxs)(i.so,{justify:"between",align:"end",children:[x.lg&&(0,d.jsxs)(i.so,{column:!0,align:"baseline",justify:"between",children:[p.onBack&&(0,d.jsx)(i.oq,{onBack:p.onBack}),(0,d.jsx)(i.Jn,{onClose:S,topRight:!0}),(0,d.jsx)(u.d,{className:"f3-700 light-text",header:p.title,small:l.narrow,description:p.description})]}),p.actions]}),(0,d.jsx)(A,{className:l.skipMainTopMargin?"":"mt-4",children:(e=>{let{content:t,renderWidth:n,contentRefs:r}=e;return"function"!==typeof t?t:t(n||(x.lg?"wide":"mobile"),r)})({content:p.content,contentRefs:{main:E}})})]})]})})},h=(0,l.Ay)(i.so).withConfig({componentId:"sc-ye0t5w-0"})(["min-height:100vh;overscroll-behavior:contain;"]),f=l.Ay.div.withConfig({componentId:"sc-ye0t5w-1"})(["background:",";flex-grow:1;border-left:1px solid ",";"],(e=>{let{theme:t}=e;return t.colors.fill}),(e=>{let{theme:t}=e;return t.colors.border})),m=(0,l.Ay)(f).withConfig({componentId:"sc-ye0t5w-2"})([""]),g=(0,l.Ay)(f).withConfig({componentId:"sc-ye0t5w-3"})(["width:100%;max-width:2200px;transition:width 0.1s;","{width:calc(100vw - ","px);}","{width:calc(100vw - ","px);}@media screen and (min-width:2000px){width:calc(100vw - ","px);}"],(e=>{let{theme:t}=e;return t.media.lg}),(e=>{let{offset:t}=e;return t+80}),(e=>{let{theme:t}=e;return t.media.xl}),(e=>{let{offset:t}=e;return t+180}),(e=>{let{offset:t}=e;return t+300})),v=l.Ay.div.withConfig({componentId:"sc-ye0t5w-4"})([""]),y=l.Ay.section.withConfig({componentId:"sc-ye0t5w-5"})(["position:relative;padding:1rem;","{padding:5rem 1rem 2rem;}"],(e=>{let{theme:t}=e;return t.media.lg})),A=l.Ay.div.withConfig({componentId:"sc-ye0t5w-6"})([""])},53530:(e,t,n)=>{"use strict";n.d(t,{V:()=>a,d:()=>s});var r=n(33453),i=(n(9950),n(24937)),o=n(44414);const a=e=>{let{header:t,description:n,className:i,type:a="h2"}=e;return(0,o.jsxs)(l,{className:`${i||""} light-text`,children:["h2"===a?(0,o.jsx)(u,{className:"f3-400",children:t}):(0,o.jsx)(d,{className:"f3-700",children:t}),n&&(0,o.jsx)(r.EY,{fontSize:14,light:!0,children:n})]})},s=e=>{let{header:t,description:n,className:i,small:a}=e;return(0,o.jsxs)(l,{className:`${i||""} light-text`,children:[(0,o.jsx)(c,{className:"f3-400",small:a,children:t}),n&&(0,o.jsx)(r.EY,{fontSize:14,light:!0,children:n})]})},l=i.Ay.div.withConfig({componentId:"sc-1ubfjbo-0"})([""]),c=i.Ay.h1.withConfig({componentId:"sc-1ubfjbo-1"})(["font-size:","px;line-height:1em;margin-bottom:4px;"],(e=>{let{small:t}=e;return t?22:65})),u=i.Ay.h2.withConfig({componentId:"sc-1ubfjbo-2"})(["line-height:2em;font-size:32px;margin-bottom:0;"]),d=i.Ay.h3.withConfig({componentId:"sc-1ubfjbo-3"})(["font-size:16px;margin-bottom:0;"])},43099:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>v,If:()=>x,N2:()=>w,Oe:()=>y,On:()=>p,P:()=>b,Q:()=>A,Yp:()=>f,_S:()=>h,s4:()=>g,tc:()=>m});var r=n(11359),i=n(85913),o=n(41103),a=n(45798);const s=["Orders","Articles","Offers","Microshops","Files","Collections"],l=["OrderMonitoring","CustomerSelector","CustomerMicroshops","PartnersOverview","Salesboard","ExportedFiles"],c=["PriceSettings"],u=((0,r.zD)("controlPanel/popBreadcrumb",(async e=>e)),{show:window.innerWidth>=a.A.breakpoints.lg,minimized:window.innerWidth<2138,scrollTop:!1}),d=(0,r.Z0)({name:"controlPanel",initialState:u,reducers:{mobileHeaderSet(e,t){e.mobileHeader=t.payload},scrollTopSet(e,t){e.scrollTop=t.payload},controlPanelToggled(e,t){e.show="boolean"===typeof t.payload?t.payload:!e.show},controlPanelMinimizeToggled(e,t){e.minimized="boolean"===typeof t.payload?t.payload:!e.minimized},activeComponentToggled(e,t){t.payload?"PriceSettings"===t.payload||"CustomerSelector"===t.payload?e.activeNarrowMenuItem=e.activeNarrowMenuItem===t.payload?void 0:t.payload:e.activeMenuItem=e.activeMenuItem===t.payload?void 0:t.payload:(e.activeMenuItem=void 0,e.activeNarrowMenuItem=void 0)}},extraReducers:e=>{}}),{activeComponentToggled:p,controlPanelToggled:h,controlPanelMinimizeToggled:f,scrollTopSet:m,mobileHeaderSet:g}=d.actions,v=d.reducer,y=e=>e.controlPanel.minimized,A=(0,i.Mz)(o.tO,o.GY,((e,t)=>{const n=s.filter((e=>{switch(e){case"Microshops":return t.has("MicroShop");case"Offers":return t.has("Offer");case"Articles":return t.has("Articles");default:return!0}}));let r=[];e&&(r=l.filter((e=>{switch(e){case"CustomerMicroshops":return t.has("MicroShop");case"Salesboard":return t.has("Salesboard");case"PartnersOverview":return t.has("Refinement");case"ExportedFiles":return t.has("Export")||t.has("ExportImages");default:return!0}})));return{main:n,seller:r,settings:[...c]}})),b=(0,i.Mz)((e=>e.controlPanel.activeMenuItem),(e=>e.controlPanel.activeNarrowMenuItem),((e,t)=>({component:e,narrowComponent:t,mobileComponent:t||e,isActive:!!e||!!t}))),w=(0,i.Mz)((e=>e.authorization.anonymous),(e=>e.authorization.isAuthenticated),(e=>e.controlPanel.show),((e,t,n)=>t&&!e&&n)),x=(0,i.Mz)(y,(e=>e?54:214))},67857:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>h,WS:()=>d,Zn:()=>u,oc:()=>c});var r=n(11359),i=n(44805),o=n(3781),a=n(69435),s=n(35732),l=n(51673);const c=(0,r.zD)("files/getFiles",(async(e,t)=>{let{getState:n}=t;const r=n(),o=r.siteDefinition.commerceType,s=r.authorization.isAuthenticated;if(o!==a.CommerceType.B2B)return[];if(!s)return[];return(await i.Ay.customerGetFiles()).data}),{condition:(e,t)=>{let{getState:n}=t;if("uninitiated"!==n().files.status)return!1}}),u=(0,r.zD)("files/uploadFiles",(async e=>(await i.Ay.customerUploadFiles(e)).data)),d=(0,r.zD)("files/removeFiles",(async e=>(await i.Ay.customerRemoveFiles(e)).data)),p={status:"uninitiated",loading:!0,files:[]},h=(0,r.Z0)({name:"files",initialState:p,reducers:{},extraReducers:e=>{e.addCase(c.pending,(e=>{e.status="initiating"})),e.addCase(c.fulfilled,((e,t)=>{e.status="initiated",e.files=t.payload})),e.addCase(c.rejected,(e=>{e.status="uninitiated",e.files=[]})),e.addCase(u.fulfilled,((e,t)=>{var n;e.files=null!==(n=t.payload)&&void 0!==n?n:[]})),e.addCase(d.fulfilled,((e,t)=>{var n;e.files=null!==(n=t.payload)&&void 0!==n?n:[]})),e.addMatcher((0,s._H)("files/"),(e=>{e.loading=!0})),e.addMatcher((0,s.Ic)("files/"),(e=>{e.loading=!1})),e.addMatcher((0,s.b5)("files/"),((e,t)=>{void 0!==t.error&&l.A.error("ERROR",t.payload)})),e.addMatcher((0,s.Ic)(o.Qe),(()=>p))}}).reducer},83907:(e,t,n)=>{"use strict";n.d(t,{Km:()=>V,Bj:()=>ce,kD:()=>le,oi:()=>nt,c6:()=>q,Ay:()=>X,yf:()=>$e,fd:()=>it,wv:()=>te,IF:()=>ie,uB:()=>ne,Wg:()=>ee,MS:()=>re,Mn:()=>ae,D3:()=>$,jT:()=>Z,Wk:()=>Ue,ZZ:()=>Je,k$:()=>he,bJ:()=>Ve,rP:()=>He,YU:()=>Ge,dg:()=>_,eg:()=>et,XS:()=>R,Di:()=>fe,_s:()=>P,z8:()=>O,go:()=>T,Vm:()=>xe,qJ:()=>st,Io:()=>F,k:()=>z,L:()=>B,K5:()=>N,$e:()=>me,Vz:()=>Ee,EC:()=>Ae,q9:()=>be,aJ:()=>we,bZ:()=>pe,ND:()=>Q,lW:()=>Qe,AG:()=>ge,kb:()=>de,fr:()=>ue,zI:()=>Oe,D9:()=>Te,kU:()=>Fe,Sj:()=>K,WH:()=>ke,lp:()=>ve,fb:()=>L,UY:()=>Be,ej:()=>De,Fq:()=>U,LF:()=>G,Z_:()=>j,Po:()=>M,wd:()=>W,Q0:()=>qe,aC:()=>Pe,Ce:()=>Me,xH:()=>Y,ek:()=>oe,is:()=>at,PE:()=>D,ss:()=>H,cV:()=>ze,vk:()=>We,vc:()=>se});var r=n(48664),i=n(4306),o=n(11359),a=n(44805),s=n(96011),l=n.n(s),c=n(50361),u=n(8836),d=n(3781),p=n(84238),h=n(74635),f=n(1474),m=n.n(f),g=n(69435),v=n(12180),y=n(35732),A=n(7430),b=n(24872),w=n(74012),x=n(1173),C=n(37411),S=n(73027),k=n(44414);const E={selectedPage:"List",selectedTab:"general",formUrl:{},microshops:[],microshopsLoading:!0,selectMicroshopOrderVatIncluded:!1,selectedMicroshopOrders:null,selectedMicroshopOrdersLoading:!1,selectedMicroshopOrder:null,selectedMicroshopMasterOrders:null,selectedMicroshopMasterOrdersLoading:!1,selectedMicroshop:null,selectedMicroshopId:null,selectedMicroshopLoading:!1,selectedMicroshopSaving:!1,selectedMicroshopDeletedFileNames:[],selectedMicroshopUpdated:null,selectedMicroshopUpdates:[],selectedMicroshopDirty:!1,selectedMicroshopInvalid:!1,selectedMicroshopCustomAssortment:null,selectedMicroshopCustomAssortmentInitial:null,selectedMicroshopCustomAssortmentSelectedFolderId:null,selectedMicroshopCustomAssortmentStatus:"uninitiated",selectedMicroshopFullAssortmentCategoriesToggled:[],selectedMicroshopAssortmentFilterSelected:[],selectedMicroshopAssortmentFilterSelectedInitial:[],selectedProducts:null,options:null,collections:[],collectionsReferences:{},assortmentEntryPointList:[],assortmentFilterList:[],toast:"",changeOwnerState:{resultMessage:null,successful:!1,email:null,pending:!1},customImagesRefs:{},selectedMicroshopSelectedOrders:[],masterOrdersSearchInputs:{from:(0,b.JO)(-2),to:(0,b.JO)(0),search:void 0,pageSize:10,page:1,pages:1,total:0},pendingOrdersSearchInputs:{from:(0,b.JO)(-2),to:(0,b.JO)(0),search:void 0,pageSize:10,page:1,pages:1,total:0},shopsForCopy:void 0,units:{selectedUnitId:null,units:[],loading:!1,validation:[],unitAssortment:null},selectedMicroshopUsersNew:{users:void 0,userToEdit:void 0}},I=(0,o.Z0)({name:"microshops",initialState:E,reducers:{setMasterOrdersInputs(e,t){e.masterOrdersSearchInputs={...e.masterOrdersSearchInputs,...t.payload}},setPendingOrdersInputs(e,t){e.pendingOrdersSearchInputs={...e.pendingOrdersSearchInputs,...t.payload}},customImagesRefsSet(e,t){e.customImagesRefs={...e.customImagesRefs,...t.payload}},goToPage(e,t){e.selectedPage=t.payload,"List"===e.selectedPage&&(e.selectedMicroshopOrders=null,e.selectedMicroshopMasterOrders=null,e.selectedMicroshop=null,e.selectedMicroshopOrder=null,e.selectedMicroshopOrderId=null,e.selectedMicroshopMasterOrder=null,e.selectedMicroshopCheckoutOrder=null,e.selectedMicroshopUsers=null,e.selectedMicroshopSelectedOrders=[],e.units.units=[],e.units.selectedUnitId=null,e.units.validation=[],e.selectedMicroshopUsersNew.users=void 0,e.selectedMicroshopUsersNew.userToEdit=void 0,e.masterOrdersSearchInputs={from:(0,b.JO)(-2),to:(0,b.JO)(0),search:void 0,pageSize:10,page:1,pages:1,total:0},e.pendingOrdersSearchInputs={from:(0,b.JO)(-2),to:(0,b.JO)(0),search:void 0,pageSize:10,page:1,pages:1,total:0}),"OrderList"===e.selectedPage&&(e.selectedMicroshopOrder=null),"Create"===e.selectedPage&&(e.formUrl.host=void 0,e.formUrl.url=void 0),e.selectedMicroshopInvalid=!1,e.selectedMicroshopFullAssortmentCategoriesToggled=[],e.selectedMicroshopAssortmentFilterSelected=[]},selectOrder(e,t){e.selectedMicroshopOrderId=t.payload[0],e.selectedMicroshopMasterOrder=t.payload[1],e.selectedMicroshopOrder=null},selectTab(e,t){e.selectedTab=t.payload},microShopCheckOutMasterOrder(e,t){e.selectedMicroshopCheckoutOrder=t.payload},microshopClearUpdates(e){var t,n;e.selectedMicroshopUpdates=[],e.selectedMicroshopUpdated=e.selectedMicroshop,e.selectedMicroshopDirty=!1,e.formUrl.url=void 0,e.formUrl.host=void 0,e.selectedMicroshopInvalid=!1,e.selectedMicroshopFullAssortmentCategoriesToggled=[],e.selectedMicroshopOrders=null,e.selectedMicroshopMasterOrders=null,e.selectedMicroshopAssortmentFilterSelected=null!==(t=null===(n=e.selectedMicroshop)||void 0===n?void 0:n.assortmentFilters)&&void 0!==t?t:[],e.selectedMicroshopDeletedFileNames=[],e.selectedMicroshopCustomAssortment=null,e.selectedMicroshopCustomAssortmentInitial=null,e.selectedMicroshopAssortmentFilterSelectedInitial=[]},microshopAddUpdate(e,t){if(e.selectedMicroshopUpdates=[...e.selectedMicroshopUpdates,t.payload],e.selectedMicroshop){e.selectedMicroshopUpdated=(0,S.$s)(e.selectedMicroshop,e.selectedMicroshopUpdates);let t=!1;!!(0,S.dc)(e.selectedMicroshopUpdated,e.selectedTab)&&e.formUrl.url&&(t=!0),e.selectedMicroshopInvalid=!t,e.selectedMicroshopDirty=!0}},microshopAddProductUpdate(e,t){var n;e.selectedProducts=null!==(n=t.payload)&&void 0!==n?n:[]},microshopAddUpdateDeleteFile(e,t){const n=e.selectedMicroshopDeletedFileNames.findIndex((e=>e===t.payload));n>=0?(e.selectedMicroshopDeletedFileNames.splice(n,1),e.selectedMicroshopDirty=e.selectedMicroshopDeletedFileNames.length>0||e.selectedMicroshopUpdates.length>0):(e.selectedMicroshopDeletedFileNames=[...e.selectedMicroshopDeletedFileNames,t.payload],e.selectedMicroshopDirty=!0)},microshopRemoveOrders(e,t){var n,r;e.selectedMicroshopOrders=null!==(n=null===(r=e.selectedMicroshopOrders)||void 0===r?void 0:r.filter((e=>{var n;return!t.payload.includes(null!==(n=e.id)&&void 0!==n?n:-1)})))&&void 0!==n?n:null},microshopToggleCategory(e,t){const n=e.selectedMicroshopFullAssortmentCategoriesToggled,r=t.payload;n.some((e=>e.assortment===t.payload.code&&e.title===t.payload.name))?e.selectedMicroshopFullAssortmentCategoriesToggled=n.filter((e=>!(e.title===t.payload.name&&e.assortment===t.payload.code))):e.selectedMicroshopFullAssortmentCategoriesToggled.push({assortment:r.code,title:r.name})},microshopSelectAssortmentFilter(e,t){let n=e.selectedMicroshopAssortmentFilterSelected;n.includes(t.payload)?e.selectedMicroshopAssortmentFilterSelected=n.filter((e=>e!==t.payload)):e.selectedMicroshopAssortmentFilterSelected.push(t.payload)},microshopShowToast(e,t){e.toast=t.payload},microshopClearToast(e){e.toast=""},microshopChangeOwnerEmail(e,t){e.changeOwnerState.email=t.payload},microshopChangeOwnerResultMessage(e,t){e.changeOwnerState.resultMessage=t.payload.resultMessage,e.changeOwnerState.successful=t.payload.successful},microshopGetAssortmentFilterList(e,t){const n=[];Object.values(t.payload).forEach((e=>{e&&e.forEach((e=>{if(e.visible){n.find((t=>t.filter===e.filter))||n.push(e)}}))})),e.assortmentFilterList=n.map((e=>e.filter))},microshopSetSelectedFolderId(e,t){e.selectedMicroshopCustomAssortmentSelectedFolderId=t.payload},VatTypeToggled(e,t){"undefined"===typeof t.payload?e.selectMicroshopOrderVatIncluded=!e.selectMicroshopOrderVatIncluded:e.selectMicroshopOrderVatIncluded=t.payload},microshopSetSelectedOrders(e,t){e.selectedMicroshopSelectedOrders=t.payload},selectedUnitSet(e,t){e.units.selectedUnitId=t.payload,e.units.validation=[]},microshopUnitEmailValidationSet(e,t){e.units.validation=t.payload},microshopUserToEditSet(e,t){e.selectedMicroshopUsersNew.userToEdit=t.payload},microshopResetSelectedTab(e){e.selectedTab="general"},setUsers(e,t){e.selectedMicroshopUsers=t.payload}},extraReducers:e=>{e.addCase(he.fulfilled,((e,t)=>{e.shopsForCopy=t.payload,e.shopsForCopyPending=!1})),e.addCase(he.pending,(e=>{e.shopsForCopy=void 0,e.shopsForCopyPending=!0})),e.addCase(he.rejected,(e=>{e.shopsForCopy=[],e.shopsForCopyPending=!1})),e.addCase(Qe.fulfilled,((e,t)=>{e.assortmentEntryPointList=t.payload})),e.addCase(ye.pending,((e,t)=>{e.selectedMicroshopLoading=!0,e.selectedTab=t.meta.arg.resetSelectedTab?"general":e.selectedTab})),e.addCase(ye.fulfilled,((e,t)=>{var n,r,i,o,a,s,l,c,u,d,p,h,f,m;e.selectedMicroshopLoading=!1,e.selectedMicroshopId=null!==(n=null===(r=t.payload)||void 0===r?void 0:r.summary.id)&&void 0!==n?n:null,e.selectedMicroshop=null!==(i=null===(o=t.payload)||void 0===o?void 0:o.summary)&&void 0!==i?i:null,e.selectedMicroshopUpdated=null!==(a=null===(s=t.payload)||void 0===s?void 0:s.summary)&&void 0!==a?a:null,e.selectedMicroshopUsers=null===(l=t.payload)||void 0===l?void 0:l.users,e.selectedTab=null!==(c=t.payload)&&void 0!==c&&c.resetSelectedTab?"general":e.selectedTab,e.formUrl=lt(null===(u=t.payload)||void 0===u?void 0:u.summary),e.selectedMicroshopAssortmentFilterSelected=null!==(d=t.payload)&&void 0!==d&&d.summary.assortmentFilters?null===(p=t.payload)||void 0===p?void 0:p.summary.assortmentFilters:[],e.productSizeDisplay=null===(h=t.payload)||void 0===h?void 0:h.summary.productSizeDisplay,e.shopType=null===(f=t.payload)||void 0===f?void 0:f.summary.type,e.budgetAndAttest=null===(m=t.payload)||void 0===m?void 0:m.summary.budgetAndAttest})),e.addCase(ge.pending,(e=>{e.selectedMicroshopMasterOrdersLoading=!0})),e.addCase(ge.fulfilled,((e,t)=>{var n,r,i,o,a;e.masterOrdersSearchInputs.page=null!==(n=t.payload.currentPage)&&void 0!==n?n:1,e.masterOrdersSearchInputs.pages=null!==(r=t.payload.totalPages)&&void 0!==r?r:1,e.masterOrdersSearchInputs.total=null!==(i=t.payload.totalItems)&&void 0!==i?i:0,e.selectedMicroshopMasterOrders=null!==(o=null===(a=t.payload)||void 0===a?void 0:a.items)&&void 0!==o?o:[],e.selectedMicroshopMasterOrdersLoading=!1})),e.addCase(Ee.pending,((e,t)=>{e.selectedMicroshopMasterOrdersLoading=!0})),e.addCase(Ee.fulfilled,((e,t)=>{e.selectedMicroshopMasterOrdersLoading=!1})),e.addCase(je.fulfilled,((e,t)=>{var n,r;e.selectedMicroshopOrders=null!==(n=t.payload.orders)&&void 0!==n?n:null,e.selectedMicroshopMasterOrders=null!==(r=t.payload.masterOrders)&&void 0!==r?r:null})),e.addCase(ze.fulfilled,((e,t)=>{e.formUrl=t.payload,e.formUrl.pending=!1})),e.addCase(ze.pending,((e,t)=>{e.formUrl={...e.formUrl,...t.meta.arg},e.formUrl.pending=!0})),e.addCase(ze.rejected,((e,t)=>{e.formUrl.url=void 0,e.formUrl.pending=!1})),e.addCase(ue.fulfilled,((e,t)=>{e.options=t.payload,e.optionsPending=!1,e.optionsLoaded=!0,!e.formUrl.domain&&e.options.defaultDomains&&(e.formUrl.domain=e.options.defaultDomains[0])})),e.addCase(ue.pending,((e,t)=>{e.optionsPending=!0})),e.addCase(ue.rejected,((e,t)=>{e.optionsPending=!1,e.optionsLoaded=!0})),e.addCase(ve.pending,(e=>{e.selectedMicroshopCustomAssortmentSelectedFolderId="uninitiated",e.selectedMicroshopCustomAssortment=null})),e.addCase(ke.pending,(e=>{e.selectedMicroshopSaving=!0})),e.addCase(ke.fulfilled,((e,t)=>{e.selectedMicroshop=t.payload,e.selectedMicroshopUpdated=t.payload,e.selectedMicroshopUpdates=[],e.selectedMicroshopDirty=!1,e.selectedMicroshopSaving=!1,e.selectedMicroshopDeletedFileNames=[]})),e.addCase(ke.rejected,(e=>{e.selectedMicroshopSaving=!1})),e.addCase(Le.fulfilled,((e,t)=>{e.selectedMicroshop&&(e.selectedMicroshop.backgroundImage=t.payload),e.selectedMicroshopUpdated&&(e.selectedMicroshopUpdated.backgroundImage=t.payload)})),e.addCase(Re.fulfilled,((e,t)=>{e.selectedMicroshop&&(e.selectedMicroshop.logoType=t.payload),e.selectedMicroshopUpdated&&(e.selectedMicroshopUpdated.logoType=t.payload)})),e.addCase(Fe.fulfilled,((e,t)=>{e.selectedMicroshopThemeColors=t.payload})),e.addCase(Me.fulfilled,((e,t)=>{var n;e.selectedMicroshop&&(e.selectedMicroshop.files=null!==(n=t.payload)&&void 0!==n?n:[],e.selectedMicroshopUpdated=e.selectedMicroshop)})),e.addCase(Ie.fulfilled,((e,t)=>{e.selectedMicroshopOrders=t.payload})),e.addCase(Oe.fulfilled,((e,t)=>{e.selectedMicroshopOrder=t.payload})),e.addCase(Te.pending,(e=>{e.selectedMicroshopOrdersLoading=!0})),e.addCase(Te.fulfilled,((e,t)=>{var n,r,i,o;e.pendingOrdersSearchInputs.page=null!==(n=t.payload.currentPage)&&void 0!==n?n:1,e.pendingOrdersSearchInputs.pages=null!==(r=t.payload.totalPages)&&void 0!==r?r:1,e.pendingOrdersSearchInputs.total=null!==(i=t.payload.totalItems)&&void 0!==i?i:0,e.selectedMicroshopOrders=null!==(o=t.payload.items)&&void 0!==o?o:[],e.selectedMicroshopOrdersLoading=!1})),e.addCase(Ge.pending,(e=>{e.units.loading=!0})),e.addCase(Ve.fulfilled,((e,t)=>{e.units.unitAssortment=t.payload})),e.addCase(Ge.fulfilled,((e,t)=>{e.units.loading=!1,e.units.units=t.payload})),e.addCase(Ze.fulfilled,((e,t)=>{e.units.loading=!1,t.payload&&(e.units.units=t.payload)})),e.addCase(We.fulfilled,((e,t)=>{e.units.loading=!1,e.units.units=t.payload.data,t.payload.newlyCreatedUnit&&(e.units.selectedUnitId=t.payload.newlyCreatedUnit)})),e.addCase(Je.fulfilled,((e,t)=>{e.selectedMicroshopUsersNew.users=t.payload})),e.addCase(Pe.fulfilled,((e,t)=>{e.selectedMicroshopOrder&&e.selectedMicroshopOrder.delivery&&t.payload&&(e.selectedMicroshopOrder.delivery={...e.selectedMicroshopOrder.delivery,...t.payload})})),e.addMatcher((0,y._H)("microshops/custom/assortment/action"),(e=>{e.selectedMicroshopCustomAssortmentStatus="pending"})),e.addMatcher((0,y.Ic)("microshops/custom/assortment/action"),((e,t)=>{var n,r,i;const o=t.payload.customAssortment,a=t.payload.collectionPrices,s=null!==(n=Object.keys(o.items).find((e=>{var t;return!(null===(t=o.items[e])||void 0===t||!t.data.name)&&(0,S.lQ)(o.items[e])})))&&void 0!==n?n:null;e.selectedMicroshopCustomAssortmentInitial=o,e.selectedMicroshopAssortmentFilterSelectedInitial=null!==(r=null===(i=e.selectedMicroshop)||void 0===i?void 0:i.assortmentFilters)&&void 0!==r?r:[],e.selectedMicroshopCustomAssortmentSelectedFolderId=s,e.selectedMicroshopCustomAssortmentStatus="ready",e.selectedMicroshop={...e.selectedMicroshop,collectionPrices:a}})),e.addMatcher((0,y.b5)("microshops/custom/assortment/action"),(e=>{e.selectedMicroshopCustomAssortmentStatus="error"})),e.addMatcher((0,y.Ic)("microshops/custom/assortment"),((e,t)=>{const n=t.payload.customAssortment;e.selectedMicroshopCustomAssortment=n})),e.addMatcher((0,y._H)("microshops/list"),(e=>{e.microshopsLoading=!0})),e.addMatcher((0,y.Ic)("microshops/list"),((e,t)=>{e.microshops=t.payload,e.microshopsLoading=!1})),e.addMatcher((0,y.Ic)("microshops/data"),((e,t)=>{e.selectedMicroshop=t.payload,e.selectedMicroshopUpdated=t.payload,e.selectedMicroshopDirty=!1,e.formUrl=lt(t.payload)})),e.addMatcher((0,y.Ic)(d.Qe),(e=>{e.selectedPage="List",e.selectedMicroshopOrders=null,e.selectedMicroshopMasterOrders=null,e.selectedMicroshop=null,e.selectedMicroshopOrder=null,e.selectedMicroshopOrderId=null,e.selectedMicroshopMasterOrder=null,e.selectedMicroshopCheckoutOrder=null,e.selectedMicroshopUsers=null,e.selectedMicroshopSelectedOrders=[],e.masterOrdersSearchInputs={from:(0,b.JO)(-2),to:(0,b.JO)(0),search:void 0,pageSize:10,page:1,pages:1,total:0},e.pendingOrdersSearchInputs={from:(0,b.JO)(-2),to:(0,b.JO)(0),search:void 0,pageSize:10,page:1,pages:1,total:0}}))}}),{goToPage:_,microshopAddProductUpdate:P,microshopAddUpdate:O,microshopAddUpdateDeleteFile:T,selectOrder:D,microshopShowToast:j,microshopClearToast:B,microshopClearUpdates:N,microshopToggleCategory:M,microShopCheckOutMasterOrder:R,microshopSelectAssortmentFilter:L,microshopChangeOwnerEmail:F,microshopChangeOwnerResultMessage:z,microshopGetAssortmentFilterList:Q,microshopSetSelectedFolderId:U,VatTypeToggled:V,microshopSetSelectedOrders:G,customImagesRefsSet:q,selectedUnitSet:H,microshopUnitEmailValidationSet:W,microshopUserToEditSet:Y,microshopResetSelectedTab:K,setUsers:J}=I.actions,X=I.reducer,Z=e=>async(t,n)=>{const r=null!==e&&void 0!==e?e:(0,C.ji)(n()),i=await t((0,x.qw)({ids:r}));if(x.qw.fulfilled.match(i)){const e=i.payload,n=[];for(const r of e)r.id&&n.push(t((0,x.ld)({id:r.id})));await Promise.all(n)}},$=(0,o.zD)("microshops/custom/assortment/folder/toggle",(async(e,t)=>{let{id:n,type:i}=e,{rejectWithValue:o,dispatch:a,getState:s}=t;const l=s().microshops.selectedMicroshopCustomAssortment;return l?{customAssortment:(0,r.r)(l,n,{isExpanded:"expand"===i})}:null})),ee=(0,o.zD)("microshops/custom/assortment/folder/move",(async(e,t)=>{let{source:n,destination:r}=e,{dispatch:o,getState:a}=t;const s=a().microshops.selectedMicroshopCustomAssortment;if(!s)return null;const{items:l}=s,c=l[n.parentId].children[n.index];if(!r||!(0,S.lQ)(l[r.parentId]))return{customAssortment:s};const u=l[null===r||void 0===r?void 0:r.parentId].children,d=l[c];if(u.some((e=>l[e].data.name.toLocaleLowerCase()===d.data.name.toLocaleLowerCase()))&&n.parentId!==r.parentId)return{customAssortment:s};const p=function(e,t,n){var r=(0,i.Cb)(e,t),o=r.tree,a=r.itemRemoved;return(0,i.af)(o,n,a)}(s,n,r);return p.items[r.parentId].isExpanded=!0,{customAssortment:p}})),te=(0,o.zD)("microshops/custom/assortment/folder/add",(async(e,t)=>{let{name:n}=e,{rejectWithValue:i,dispatch:o,getState:a}=t;const s=a().microshops,l=s.selectedMicroshop,c=s.selectedMicroshopCustomAssortment,u=s.selectedMicroshopCustomAssortmentSelectedFolderId;if(!c)return null;const{items:d}=c,p=null!==u&&void 0!==u?u:null===l||void 0===l?void 0:l.id,h=d[p].children;if(h.some((e=>d[e].data.name===n)))return i({code:"SAME_NAME_EXISTS"});const f=m()("new-category-"),g={id:f,children:[],data:{assortmentSlug:n,id:f,name:n}};return{customAssortment:(0,r.r)({...c,items:{...d,[g.id]:g}},p,{isExpanded:!0,children:[...h,g.id]})}})),ne=(0,o.zD)("microshops/custom/assortment/folder/delete",(async(e,t)=>{let{dispatch:n,getState:i}=t;const o=i().microshops,a=o.selectedMicroshopCustomAssortment,s=o.selectedMicroshopCustomAssortmentSelectedFolderId;if(!a)return null;const{items:l}=a,c=Object.keys(l).find((e=>{var t;return(null!==(t=l[e].children)&&void 0!==t?t:[]).includes(s)}));if(c){var u,d;const e=[...(null!==(u=null===(d=l[c])||void 0===d?void 0:d.children)&&void 0!==u?u:[]).filter((e=>e!==s))];n(I.actions.microshopSetSelectedFolderId(c));const t={...a,items:(0,w.A)(l,s)};return{customAssortment:(0,r.r)({...t},c,{isExpanded:!0,children:[...e]})}}return{customAssortment:a}})),re=(0,o.zD)("microshops/custom/assortment/folder/modify",(async(e,t)=>{var n;let{name:i}=e,{rejectWithValue:o,getState:a}=t;const s=a().microshops,l=s.selectedMicroshop,c=s.selectedMicroshopCustomAssortment,u=s.selectedMicroshopCustomAssortmentSelectedFolderId,d=null===c||void 0===c?void 0:c.items[u];if(!c||!d)return{customAssortment:c};const{items:p}=c,h=null!==(n=Object.keys(p).find((e=>{var t;return(null!==(t=p[e].children)&&void 0!==t?t:[]).includes(u)})))&&void 0!==n?n:null===l||void 0===l?void 0:l.id;return p[h].children.some((e=>p[e].data.name.toLocaleLowerCase()===i.toLocaleLowerCase()))?o({code:"SAME_NAME_EXISTS"}):{customAssortment:(0,r.r)(c,u,{data:{...d.data,name:i}})}})),ie=(0,o.zD)("microshops/custom/assortment/product/arrange",(async(e,t)=>{var n;let{from:i,to:o}=e,{rejectWithValue:a,dispatch:s,getState:l}=t;const c=l().microshops,u=c.selectedMicroshopCustomAssortment,d=c.selectedMicroshopCustomAssortmentSelectedFolderId;if(!u)return null;const{items:p}=u,h={...p[d]},f=[...new Set(null===h||void 0===h||null===(n=h.data)||void 0===n?void 0:n.products)];return f.splice(o,0,f.splice(i,1)[0]),{customAssortment:(0,r.r)(u,h.id,{data:{...h.data,products:[...f]}})}})),oe=(0,o.zD)("microshops/custom/assortment/product/collection/remove",(async(e,t)=>{let{folderId:n,productNumber:i,collectionId:o}=e,{getState:a}=t;const s=a().microshops,l=s.selectedMicroshopCustomAssortment,c=s.selectedMicroshopCustomAssortmentSelectedFolderId;if(!l||c!==n)return null;const{items:u}=l,d=u[i].data;if(n&&i){return{customAssortment:(0,r.r)(l,i,{data:{...d,variations:d.variations.map((e=>{var t;return null!==(t=e.collectionIds)&&void 0!==t&&t.includes(o)?{...e,collectionIds:e.collectionIds.filter((e=>e!==o))}:e}))}})}}return null})),ae=(0,o.zD)("microshops/custom/assortment/product/remove",(async(e,t)=>{let{folderId:n,productNumber:i,variationNumber:o,collectionIds:a}=e,{getState:s}=t;const l=s().microshops,c=l.selectedMicroshopCustomAssortment,u=l.selectedMicroshopCustomAssortmentSelectedFolderId;if(!c||u!==n)return null;const{items:d}=c,p=d[n].data;if(n&&i){const e=d[i].data,t=e.variations.filter((e=>e.variationNumber!==o)),a=t.length<1||!o;let s=(0,r.r)(c,i,{data:{...e,variations:t}});return a&&(s=(0,r.r)(s,n,{data:{...p,products:p.products.filter((e=>e!==i))}})),a&&(s={...s,items:(0,w.A)(Object.keys(d).reduce(((e,t)=>{const n=d[t],r=n.data;return{...e,[t]:{...n,data:{...r,...r.products?{products:r.products.filter((e=>e!==i))}:{}}}}}),{}),i)}),{customAssortment:s}}return null})),se=(0,o.zD)("microshops/custom/assortment/product/update",(async(e,t)=>{var n,i;let{productNumber:o,updateType:s,data:l}=e,{getState:c}=t;const u=c().microshops.selectedMicroshopCustomAssortment;if(!u)return null;let d=JSON.parse(JSON.stringify(u.items[o]));if(!d)return null;switch(s){case"images":const{variationNumber:e,images:t}=l,r=d.data.variations;d.data.variations=r.map((n=>{var r;return n.variationNumber===e?{...n,customImages:(null!==(r=null===t||void 0===t?void 0:t.length)&&void 0!==r?r:0)>0?t:null}:n}));break;case"name":d.data.customName=l.customName===d.data.productName?null:l.customName||null;break;case"description":d.data.customDescription=l.description===d.data.description?null:l.description||null;break;case"textMode":d.data.textMode=l.textMode;break;case"addons":let o=null!==(n=null===(i=d.data.addOns)||void 0===i?void 0:i.indexOf(l.addonId))&&void 0!==n?n:-1;var p;if(-1===o&&l.checked)null===(p=d.data.addOns)||void 0===p||p.push(l.addonId);else if(-1!==o){var h;null===(h=d.data.addOns)||void 0===h||h.splice(o,1)}break;case"price":const{type:s,value:c}=l,u={...d.data.price,priceType:null!==s&&void 0!==s?s:d.data.priceType,priceFixed:s===g.ShopPriceModelType.Fixed?Math.abs(parseFloat(c)||0):void 0,priceModifier:s===g.ShopPriceModelType.Retail?Math.abs(parseFloat(c)||100)/100:void 0},f=await a.Ay.microshopProductPrice(u);f&&f.data&&(d.data.price=f.data);break;default:throw new Error("Unsupported update type")}return{customAssortment:(0,r.r)(u,d.id,d)}})),le=(0,o.zD)("microshops/custom/assortment/products/add",(async(e,t)=>{let{rejectWithValue:n,getState:r,dispatch:i}=t;const o=(0,C.rZ)(r()),s=r().microshops,c=s.selectedMicroshopCustomAssortment,u=s.selectedMicroshopCustomAssortmentSelectedFolderId;if(e.length>0)try{const{data:t}=await a.Ay.microshopAddProducts(o,e);let n=c;return t.forEach((e=>{var t,r,i;if(null===(t=e)||void 0===t||!t.productNumber||!n)return null;const{items:a}=n,s=e.productNumber,l=null!==(r=a[u])&&void 0!==r?r:a[o],c=a[s];if(c){var d,p,h,f;const t=c.data,n=null===(d=t.variations)||void 0===d?void 0:d.map((e=>e.variationNumber)),r=null!==(p=null===(h=e.variations)||void 0===h?void 0:h.filter((e=>!(null!==n&&void 0!==n&&n.includes(e.variationNumber)))))&&void 0!==p?p:[];e={...t,variations:[...r,...null!==(f=null===t||void 0===t?void 0:t.variations)&&void 0!==f?f:[]]},r.length}n={...n,items:{...a,[`${e.productNumber}`]:{id:s,data:e,hasChildren:!1},[l.id]:{...l,data:{...l.data,products:[...new Set([...null!==(i=l.data.products)&&void 0!==i?i:[],e.productNumber])]}}}}})),{customAssortment:n}}catch(d){return l().isCancel(d)?n(void 0):n({message:d instanceof Error?d.toString():"Unknown error"})}return null})),ce=(0,o.zD)("microshops/custom/assortment/product/add",(async(e,t)=>{let{product:n}=e,{rejectWithValue:r,getState:i,dispatch:o}=t;const s=(0,C.rZ)(i()),c=i().microshops,u=c.selectedMicroshopCustomAssortment,d=c.selectedMicroshopCustomAssortmentSelectedFolderId;if(n.collectionId&&o(Z([n.collectionId])),n.variationNumbers)try{var h,f,m;const{data:e}=await a.Ay.microshopAddProduct(s,n.productNumber,n.variationNumbers,n.collectionId);let t=e;if(null===(h=t)||void 0===h||!h.productNumber||!u)return null;const{items:r}=u,i=t.productNumber,l=null!==(f=r[d])&&void 0!==f?f:r[s],c=r[i];if(c){var g,v,y,A,b;const e=c.data,n=null===(g=e.variations)||void 0===g?void 0:g.map((e=>e.variationNumber)),r=null!==(v=null===(y=t.variations)||void 0===y?void 0:y.filter((e=>!(null!==n&&void 0!==n&&n.includes(e.variationNumber)))))&&void 0!==v?v:[];let i=!1;const a=null!==(A=null===(b=e.variations)||void 0===b?void 0:b.map((e=>{var n,r,o;const a=null===(n=t.variations)||void 0===n?void 0:n.find((t=>t.variationNumber===e.variationNumber));if(!a)return e;const s=null!==(r=null===a||void 0===a?void 0:a.collectionIds)&&void 0!==r?r:[],l=(null!==(o=e.collectionIds)&&void 0!==o?o:[]).sort(),c=s.length?[...new Set([...l,...s])].sort():[],u=s.length?c:null;return JSON.stringify(l)!==JSON.stringify(c)&&(i=!0),{...e,collectionIds:u}})))&&void 0!==A?A:[];t={...e,variations:[...a,...r]},i&&o(I.actions.microshopShowToast(p.A.t("microshop.variationExists","The product already exists")))}return{customAssortment:{...u,items:{...r,[`${t.productNumber}`]:{id:i,data:t,hasChildren:!1},[l.id]:{...l,data:{...l.data,products:[...new Set([...null!==(m=l.data.products)&&void 0!==m?m:[],t.productNumber])]}}}}}}catch(w){return l().isCancel(w)?r(void 0):r({message:w instanceof Error?w.toString():"Unknown error"})}return null})),ue=(0,o.zD)("microshops/getOptions",(async(e,t)=>{let{rejectWithValue:n}=t;try{return(await a.Ay.microshopGetOptions()).data}catch(r){return l().isCancel(r)?n(void 0):n({message:r instanceof Error?r.toString():"Unknown error"})}}),{condition:(e,t)=>{let{getState:n}=t;const r=n().microshops;return!r.optionsPending&&!r.optionsLoaded}}),de=(0,o.zD)("microshops/list/getMicroshops",(async(e,t)=>{let{rejectWithValue:n}=t;try{return(await a.Ay.microshopGetMicroshops(e)).data}catch(r){return l().isCancel(r)?n(void 0):n({message:r instanceof Error?r.toString():"Unknown error"})}})),pe=(0,o.zD)("microshops/list/getAllMicroshops",(async(e,t)=>{let{rejectWithValue:n}=t;try{return(await a.Ay.microshopGetAllMicroshops(e)).data}catch(r){return l().isCancel(r)?n(void 0):n({message:r instanceof Error?r.toString():"Unknown error"})}})),he=(0,o.zD)("microshops/getMicroshopsForCopy",(async e=>(await a.Ay.microshopGetShopsForCopy()).data)),fe=(0,o.zD)("microshops/microshopAddProductImages",(async(e,t)=>{let{rejectWithValue:n,getState:r}=t;try{const t=(0,C.rZ)(r());return(await a.Ay.microshopAddProductImages(t,e)).data}catch(i){return l().isCancel(i)?n(void 0):n({message:i instanceof Error?i.toString():"Unknown error"})}})),me=(0,o.zD)("microshops/data/create",(async(e,t)=>{let{name:n,expires:r,language:i,uri:o,copyShopId:s,variationNumbers:c,collectionId:u,type:d}=e,{rejectWithValue:p}=t;try{return(await a.Ay.microshopCreate(n,o,i,r,s,c,u,d)).data}catch(h){return l().isCancel(h)?p(void 0):p({message:h instanceof Error?h.toString():"Unknown error"})}})),ge=(0,o.zD)("microshops/masterorders/get",(async(e,t)=>{let{rejectWithValue:n,getState:r}=t;try{const t=(0,C.rZ)(r()),n=r().microshops.masterOrdersSearchInputs;return(await a.Ay.microshopSearchMasterOrders(t,n.pageSize,null!==e&&void 0!==e?e:1)).data}catch(i){return l().isCancel(i)?n(void 0):n({message:i instanceof Error?i.toString():"Unknown error"})}})),ve=(0,o.zD)("microshops/select",(async(e,t)=>{let{rejectWithValue:n,getState:r,dispatch:i}=t;try{var o,a,s;const t=r().user.userIdentity,n=!(null===t||void 0===t||!t.actingAs),l=n&&null!=(null===(o=t.actingAs)||void 0===o?void 0:o.email)&&t.actingAs.email!==e.email,u=n&&(null===(a=t.user)||void 0===a?void 0:a.email)===e.email,h=e.email!==(null===t||void 0===t||null===(s=t.user)||void 0===s?void 0:s.email);if(u)await i((0,d.Hi)()),i(ye(e));else if(l||!n&&h){const t={title:p.A.t("seller.openAs"),description:`${p.A.t("seller.openAs")} ${e.customerName} - ${e.email}`,onOk:async()=>{var t;await i((0,d.zd)(null!==(t=e.email)&&void 0!==t?t:"")),i(ye(e))}};i((0,c.wp)(t))}else i(ye(e))}catch(u){return l().isCancel(u)?n(void 0):n({message:u instanceof Error?u.toString():"Unknown error"})}})),ye=(0,o.zD)("microshops/doSelect",(async(e,t)=>{let{resetSelectedTab:n=!0,...r}=e,{rejectWithValue:i,getState:o,dispatch:s}=t;try{var c,u,d;const e=await a.Ay.microshopGetMicroshop(null!==(c=r.id)&&void 0!==c?c:""),t=await a.Ay.microshopGetShopUsers(null!==(u=e.data.language)&&void 0!==u?u:"",null!==(d=r.id)&&void 0!==d?d:"");var p;if(s(_("Details")),s(N()),(0,A.qe)())s(Ge(null!==(p=null===r||void 0===r?void 0:r.id)&&void 0!==p?p:void 0));return{summary:e.data,users:t.data,resetSelectedTab:n}}catch(h){return l().isCancel(h)?i(void 0):i({message:h instanceof Error?h.toString():"Unknown error"})}})),Ae=(0,o.zD)("microshops/delete/alert",((e,t)=>{let{id:n,name:r,t:i}=e,{dispatch:o}=t;o((0,c.wp)({title:`${p.A.t("action.remove")} ${i("microshop.microshop").toLocaleLowerCase()}`,description:p.A.t("microshop.deleteWarning","Are you sure you want to delete the microshop {{name}}",{name:r}),okLabel:p.A.t("action.remove"),onOk:()=>o(Ce(n))}))})),be=(0,o.zD)("microshops/order/delete/alert",((e,t)=>{let{dispatch:n}=t;n((0,c.wp)({title:p.A.t("action.remove"),description:p.A.t("microshop.ordersDeleteWarning","Are you sure you want to delete the selected orders"),onOk:()=>n(Ie(e))}))})),we=(0,o.zD)("microshops/order/delete/alert",((e,t)=>{let{dispatch:n}=t;n((0,c.wp)({title:p.A.t("action.remove"),description:p.A.t("microshop.orderDeleteWarning","Are you sure you want to delete this order"),onOk:()=>n(_e(e))}))})),xe=(0,o.zD)("microshops/order/delete/alert",((e,t)=>{let{masterOrderId:n,orderNumber:r}=e,{dispatch:i}=t;i((0,c.wp)({title:p.A.t("action.remove"),description:p.A.t("microshop.cancelMasterOrderWarning","Are you sure you want to cancel master order {{masterOrder}}",{masterOrder:r}),onOk:()=>i(je(n))}))})),Ce=(0,o.zD)("microshops/list/delete",(async(e,t)=>{let{rejectWithValue:n}=t;try{return(await a.Ay.microshopDelete(e)).data}catch(r){return l().isCancel(r)?n(void 0):n({message:r instanceof Error?r.toString():"Unknown error"})}})),Se=(0,o.zD)("microshops/perform_outcasts_actions",(async(e,t)=>{var n,r,i,o;let{rejectWithValue:a,getState:s,dispatch:l}=t;const c=null!==(n=null===(r=e.find((e=>"updateLogoType"===e.outcast.type)))||void 0===r?void 0:r.outcast)&&void 0!==n?n:null,u=null!==(i=null===(o=e.find((e=>"updateBackgroundImage"===e.outcast.type)))||void 0===o?void 0:o.outcast)&&void 0!==i?i:null;c&&await l(Re([new File([c.value],"logo_"+c.value.name)])),u&&await l(Le([new File([u.value],"bg_"+u.value.name)]))})),ke=(0,o.zD)("microshops/data/update",(async(e,t)=>{let{getState:n,dispatch:r,rejectWithValue:i}=t;try{var o,s,c,u;const e=n().microshops,{selectedMicroshopUpdates:t,selectedMicroshop:i,selectedMicroshopUpdated:l}=n().microshops,b=null!==(o=null===i||void 0===i?void 0:i.id)&&void 0!==o?o:"";await r(Se(t.filter((e=>e.outcast))));const w=(0,S.$s)({assortmentType:null===i||void 0===i?void 0:i.assortmentType,defaultPriceModel:null===i||void 0===i?void 0:i.defaultPriceModel,orderNotificationType:null===i||void 0===i?void 0:i.orderNotificationType,type:null===i||void 0===i?void 0:i.type},t.filter((e=>!e.outcast)));e.selectedMicroshopDeletedFileNames.length>0&&await a.Ay.microshopDeleteFiles(b,e.selectedMicroshopDeletedFileNames);const{files:x,addons:C,categories:k,...E}=null!==w&&void 0!==w?w:{},I=await a.Ay.microshopUpdate(b,E),_=x&&x.length>0?(await a.Ay.microshopUpdateFiles(b,null!==x&&void 0!==x?x:void 0)).data:null;let P=null;var d,p;if(t.some((e=>{var t;return null===(t=e.addons)||void 0===t?void 0:t.length})))P=null===(d=await a.Ay.microshopUpdateAddons(b,null===l||void 0===l||null===(p=l.addons)||void 0===p?void 0:p.filter((e=>e.action!==g.MicroshopUpdateAction.Delete))))||void 0===d?void 0:d.data;let O=null;if(t.some((e=>{var t;return null===(t=e.collectionPrices)||void 0===t?void 0:t.length}))){var f,m,v,y,A;const t=null!==(f=null===(m=e.selectedMicroshop)||void 0===m?void 0:m.id)&&void 0!==f?f:"",n=null!==(v=null===(y=e.selectedMicroshopUpdated)||void 0===y?void 0:y.collectionPrices)&&void 0!==v?v:[];O=null===(A=await a.Ay.microshopCollectionPricesUpdate(t,n))||void 0===A?void 0:A.data}return r(tt({text:(0,h.t)("microshop.saved","Your changes have been saved"),type:"success"})),{...I.data,files:null!==_&&void 0!==_?_:I.data.files,addons:null!==(s=P)&&void 0!==s?s:I.data.addons,collectionPrices:null!==(c=null!==(u=O)&&void 0!==u?u:I.data.collectionPrices)&&void 0!==c?c:null}}catch(b){return l().isCancel(b)?i(void 0):(r(tt({text:(0,h.t)("status.save_error","An error occurred while saving"),type:"error"})),i({message:b instanceof Error?b.toString():"Unknown error"}))}})),Ee=(0,o.zD)("microshops/masterorder/create",(async(e,t)=>{let{rejectWithValue:n,dispatch:r,getState:i}=t;try{const t=(0,C.rZ)(i());await a.Ay.microshopCreateMasterOrder(t,e.orderIds,e.hasAddress),r(I.actions.microshopRemoveOrders(e.orderIds)),r(G([])),r(de(""))}catch(o){return l().isCancel(o)?n(void 0):n({message:o instanceof Error?o.toString():"Unknown error"})}})),Ie=(0,o.zD)("microshops/orders/delete",(async(e,t)=>{let{rejectWithValue:n,getState:r,dispatch:i}=t;try{var o,s,c,u,d,p,h;const t=(0,C.rZ)(r()),n=null===(o=r())||void 0===o||null===(s=o.microshops)||void 0===s||null===(c=s.pendingOrdersSearchInputs)||void 0===c?void 0:c.pageSize,l=null===(u=r())||void 0===u||null===(d=u.microshops)||void 0===d||null===(p=d.pendingOrdersSearchInputs)||void 0===p?void 0:p.page,f=await a.Ay.microshopDeleteOrders(t,e,n,l);return i(G([])),null!==(h=f.data.items)&&void 0!==h?h:[]}catch(f){return l().isCancel(f)?n(void 0):n({message:f instanceof Error?f.toString():"Unknown error"})}})),_e=(0,o.zD)("microshops/order/delete",(async(e,t)=>{let{rejectWithValue:n,getState:r,dispatch:i}=t;try{var o,s,c,u,d,p,h;const t=(0,C.rZ)(r()),n=null===(o=r())||void 0===o||null===(s=o.microshops)||void 0===s||null===(c=s.pendingOrdersSearchInputs)||void 0===c?void 0:c.pageSize,l=null===(u=r())||void 0===u||null===(d=u.microshops)||void 0===d||null===(p=d.pendingOrdersSearchInputs)||void 0===p?void 0:p.page,f=await a.Ay.microshopDeleteOrders(t,[e],n,l),m=r().microshops.selectedMicroshopSelectedOrders.filter((t=>t!==e));return i(G(m)),null!==(h=f.data.items)&&void 0!==h?h:[]}catch(f){return l().isCancel(f)?n(void 0):n({message:f instanceof Error?f.toString():"Unknown error"})}})),Pe=(0,o.zD)("microshops/order/updateDeliveryAdress",(async(e,t)=>{var n;let{getState:r}=t;const i=(0,C.rZ)(r()),o=null===(n=(0,C.s3)(r()))||void 0===n?void 0:n.id;if(!o)return;const{data:s}=await a.Ay.microshopUpdateOrderDeliveryAdress(i,o,e);return s?e:void 0})),Oe=(0,o.zD)("microshops/order",(async(e,t)=>{let{rejectWithValue:n,getState:r}=t;try{var i;const t=(0,C.rZ)(r()),n=null!==(i=r().microshops.selectedMicroshopMasterOrder)&&void 0!==i&&i;return(await a.Ay.microshopGetOrderInfo(t,e,n)).data}catch(o){return l().isCancel(o)?n(void 0):n({message:o instanceof Error?o.toString():"Unknown error"})}})),Te=(0,o.zD)("microshops/orders/get",(async(e,t)=>{let{rejectWithValue:n,getState:r}=t;try{const t=(0,C.rZ)(r()),n=r().microshops.pendingOrdersSearchInputs;return(await a.Ay.microshopSearchPendingOrders(t,n.pageSize,null!==e&&void 0!==e?e:1)).data}catch(i){return l().isCancel(i)?n(void 0):n({message:i instanceof Error?i.toString():"Unknown error"})}})),De=(0,o.zD)("microshops/pendingorders/select/all",(async(e,t)=>{var n;let{getState:r,dispatch:i}=t;const o=(0,C.rZ)(r()),s=await a.Ay.microshopGetAllPendingOrderIds(o);i(G(null!==(n=s.data)&&void 0!==n?n:[]))})),je=(0,o.zD)("microshops/masterorder/cancel",(async(e,t)=>{let{rejectWithValue:n,dispatch:r,getState:i}=t;try{var o,s,c,u,d,p;const t=(0,C.rZ)(i()),n=null===(o=i())||void 0===o||null===(s=o.microshops)||void 0===s||null===(c=s.masterOrdersSearchInputs)||void 0===c?void 0:c.pageSize,l=null===(u=i())||void 0===u||null===(d=u.microshops)||void 0===d||null===(p=d.masterOrdersSearchInputs)||void 0===p?void 0:p.page,h=await a.Ay.microshopCancelMasterOrder(t,e,n,l);return r(de("")),h.data}catch(h){return l().isCancel(h)?n(void 0):n({message:h instanceof Error?h.toString():"Unknown error"})}})),Be=(0,o.zD)("microshops/selectTab",(async(e,t)=>{let{getState:n,dispatch:r}=t;const i=(0,C.CN)(n());n().microshops.selectedMicroshopDirty||i?await r(Ne(e)):r(I.actions.selectTab(e))})),Ne=(0,o.zD)("microshops/saveWarning",((e,t)=>{let{dispatch:n}=t;const r={title:p.A.t("action.saveWarningTitle","Save changes?"),description:p.A.t("action.saveWarningText","You need to save changes before you proceed."),okLabel:p.A.t("action.continueWithoutSaving","Continue without saving"),onOk(){n(N()),n(I.actions.selectTab(e))}};n((0,c.wp)(r))})),Me=(0,o.zD)("microshops/updateFiles",(async(e,t)=>{let{getState:n}=t;const r=(0,C.rZ)(n());return(await a.Ay.microshopUploadFiles(r,e)).data})),Re=(0,o.zD)("microshops/updateLogotype",(async(e,t)=>{var n;let{getState:r}=t;const i=null===(n=r().microshops.selectedMicroshopUpdated)||void 0===n?void 0:n.id;if(i){return(await a.Ay.microshopUpdateLogotype(i,e)).data}})),Le=(0,o.zD)("microshops/updateBackgroundImage",(async(e,t)=>{var n;let{getState:r}=t;const i=null===(n=r().microshops.selectedMicroshopUpdated)||void 0===n?void 0:n.id;if(i){return(await a.Ay.microshopUpdateBackgroundImage(i,e)).data}})),Fe=(0,o.zD)("microshops/getThemePreviewColors",(async e=>{const{shopId:t,...n}=e;return(await a.Ay.microshopGetColors(t,n)).data})),ze=(0,o.zD)("microshops/setUrl",(async(e,t)=>{var n,r,i;let{getState:o,rejectWithValue:s}=t;const l={...o().microshops.formUrl,...e};if(l.domain&&(l.domain=l.domain.replace(/^\.+/,"")),!l.host||!l.domain||l.host.includes(".")||!/^[\w-]+$/.test(l.host))return s("Missing host, domain or containing invalid characters.");const c=await a.Ay.microshopGetShopByUri(`${l.host}.${l.domain}`);return null!==c&&void 0!==c&&null!==(n=c.data)&&void 0!==n&&n.uri&&(null===c||void 0===c||null===(r=c.data)||void 0===r?void 0:r.uri)!==(null===(i=o().microshops.selectedMicroshop)||void 0===i?void 0:i.uri)?s("Invalid url"):(l.url=`${l.host}.${l.domain}`,l)})),Qe=(0,o.zD)("microshops/getAssortmentList",(async(e,t)=>{let{getState:n}=t;const r=n().siteDefinition.assortmentPages.filter((e=>!e.parent));return await Promise.all(r.map((async e=>({...(await a.Ay.getCategories(e.assortmentEntryPoint,!0)).data[0],name:e.name,displayInNavigation:e.displayInNavigation,assortmentSlug:null})),[]))})),Ue=(0,o.zD)("microshops/custom/assortment/action/get",(async(e,t)=>{let{getState:n,dispatch:r,rejectWithValue:i}=t;try{var o,s,c;const e=(0,C.rZ)(n()),{data:t}=await a.Ay.microshopGetCustomAssortment(e);r(Z());return{customAssortment:{rootId:e,items:(0,S.Ue)(null===t.id?{...t,id:null!==(o=t.id)&&void 0!==o?o:e,nodes:null!==(s=t.nodes)&&void 0!==s?s:[]}:t)},collectionPrices:null!==(c=t.collectionPrices)&&void 0!==c?c:[]}}catch(u){return l().isCancel(u)?i(void 0):i({message:u instanceof Error?u.toString():"Unknown error"})}})),Ve=(0,o.zD)("microshop/units/assortment",(async(e,t)=>{let{getState:n}=t;const r=(0,C.rZ)(n()),{data:i}=await a.Ay.microshopGetCustomAssortment(r);return i})),Ge=(0,o.zD)("microshop/units/action/get",(async(e,t)=>{var n;let{getState:r,dispatch:i}=t;const o=null!==e&&void 0!==e?e:(0,C.rZ)(r()),{data:s}=await a.Ay.microshopGetUnits(o),l=null===s||void 0===s||null===(n=s[0])||void 0===n?void 0:n.id,c=(0,C.i9)(r());return l&&!c&&s.length>0&&i(H(l)),s})),qe=(0,o.zD)("microshop/units/microshopUnitUsersUpload",(async(e,t)=>{let{file:n}=e,{dispatch:r,rejectWithValue:i}=t;if(n){"csv"===(0,A.QC)(n.name)&&"text/csv"!==n.type&&(n=new File([n],n.name,{type:"text/csv"}));const{data:e}=await a.Ay.microshopUploadShopUnitUsers([n]);return e}})),He=(0,o.zD)("microshop/units/action/getTemplate",(async e=>{const{data:t}=await a.Ay.microshopGetShopUnitUserImportTemplate({responseType:"blob"}),n=t;if(n){const e=new File([n],"Text.xlsx",{type:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"}),t=window.URL.createObjectURL(n),r=document.createElement("a");r.href=t,r.setAttribute("download",e.name),document.body.appendChild(r),r.click(),document.body.removeChild(r),window.URL.revokeObjectURL(t)}})),We=(0,o.zD)("microshop/units/action/update",(async(e,t)=>{let{getState:n,dispatch:r,rejectWithValue:i}=t;try{var o;const{payload:t}=await r(Ke(e));if(t)return i("Email is not valid");const s=n(),l=(0,C.rZ)(s),{units:c}=(0,C.PX)(s),u=[...c.filter((t=>t.id!==e.id)),e],{data:d}=await a.Ay.microshopUpdateMicroshopUnits(l,u);r(tt({text:(0,h.t)("microshop.saved","Your changes have been saved"),type:"success"}));const p=null===e.id?null===(o=d.find((e=>!c.some((t=>t.id===e.id)))))||void 0===o?void 0:o.id:null;return{data:d,newlyCreatedUnit:p}}catch(s){return r(tt({text:(0,h.t)("status.save_error","An error occurred while saving"),type:"error"})),i("An error occured when saving the selected unit")}})),Ye=async e=>{if(e){const{data:t}=await a.Ay.microshopValidateMicroshopUser(e,{});return t}return!0},Ke=(0,o.zD)("microshops/validateMicroshopUser",(async(e,t)=>{let{dispatch:n,rejectWithValue:r}=t;try{var i,o;const t=await Ye(null===(i=e.manager)||void 0===i?void 0:i.email),a=await Ye(null===(o=e.manager)||void 0===o?void 0:o.alternativeManager),s=[];if(t||s.push("email"),a||s.push("alternativeManager"),e.name||s.push("name"),s.length>0)return n(W(s)),r({emailValid:t,alternativeManagerValid:a})}catch(a){return r("An error occured when saving the selected unit")}})),Je=(0,o.zD)("microshops/getMicroshopUsers",(async(e,t)=>{let{getState:n}=t;return[{addressLine1:"lalala 123",addressLine2:"lalala asdasd",city:"Stockholm",country:"Sweden",email:"john.doe@nwg.se",firstName:"John",lastName:"Doe",postalCode:"12345",phoneNumber:"0729118890",shopUsers:[{budget:1e3,isAttestent:!1,manageBudget:!1,shopUnitName:"Ocab G\xf6teborg 2ia",role:g.ShopUserType.ShopManager,requiresAttestation:!1},{budget:1e3,isAttestent:!1,manageBudget:!1,shopUnitName:"wewerewff",role:g.ShopUserType.ShopManager,requiresAttestation:!1}]},{addressLine1:"lalala 123",addressLine2:"lalala asdasd",city:"Stockholm",country:"Sweden",email:"jane.doe@nwg.se",firstName:"Jane",lastName:"Doe",postalCode:"12345",phoneNumber:"0700982253",shopUsers:[{budget:1e3,isAttestent:!1,manageBudget:!1,shopUnitName:"Enhet 2",role:g.ShopUserType.User,requiresAttestation:!1}]}]})),Xe=(e,t)=>e.reduce(((n,r)=>r.parentId===t&&r.id?[...n,r.id,...Xe(e,r.id)]:n),[]),Ze=(0,o.zD)("microshop/units/action/delete",(async(e,t)=>{var n;let{getState:r,dispatch:i}=t;const o=r().microshops.units,{selectedUnitId:s,units:l}=o;if(!l||l.length<=1)return;const c=null===l||void 0===l?void 0:l.filter((e=>!e.parentId));if(1===(null===c||void 0===c?void 0:c.length)&&s===c[0].id)return;if(!s)return;const u=[...Xe(l,s),s],d=l.filter((e=>{var t;return!u.includes(null!==(t=e.id)&&void 0!==t?t:"")})),p=null===(n=d[0])||void 0===n?void 0:n.id,{data:h}=await a.Ay.microshopUpdateMicroshopUnits((0,C.rZ)(r()),d);return i(H(null!==p&&void 0!==p?p:null)),h})),$e=(0,o.zD)("microshops/units/alert",((e,t)=>{var n;let{dispatch:r,getState:i}=t;const{units:o,selectedUnitId:a}=i().microshops.units,s=o.some((e=>e.parentId===a)),l=null===(n=o.find((e=>e.id===a)))||void 0===n?void 0:n.name;r(s?(0,c.wp)({title:p.A.t("microshop.confirmDelete","Confirm deletion"),description:p.A.t("microshop.unitWithChildrenDeleteWarning","You are about to erase the unit {{unitName}} and all underlying units. This action cannot be undone. Do you want to proceed with the removal?",{unitName:l}),onOk:()=>r(Ze()),okLabel:p.A.t("general.yes"),cancelLabel:p.A.t("general.no")}):(0,c.wp)({title:p.A.t("action.remove"),description:p.A.t("microshop.unitDeleteWarning","Are you sure you want to delete the selected unit"),onOk:()=>r(Ze())}))})),et=(0,o.zD)("microshop/units/importShopUsers",(async(e,t)=>{let{getState:n,dispatch:r}=t;const i=n(),o=(0,C.rZ)(i),s=await a.Ay.microshopImportShopUsers(o,e);return s.data.isSuccessful&&r(tt({text:"Importen \xe4r slutf\xf6rd",type:"success"})),s.data})),tt=(0,o.zD)("",(async e=>{var t;(0,v.oR)((()=>(0,k.jsx)(u.A,{text:e.text,preset:e.type})),{autoClose:null!==(t=e.autoClose)&&void 0!==t?t:2500,position:"bottom-center",hideProgressBar:!1,closeOnClick:!0,transition:v.br})})),nt=(0,o.zD)("microshop/users/createOrUpdate",(async(e,t)=>{var n,r;let{getState:i,dispatch:o}=t;const s=i(),l=null===(n=s.microshops.selectedMicroshop)||void 0===n?void 0:n.id,c=null===(r=s.microshops.selectedMicroshop)||void 0===r?void 0:r.language;if(!l)return;const{data:u}=await a.Ay.microshopCreateOrUpdateUser(l,null!==c&&void 0!==c?c:void 0,e),{errors:d,isSuccessful:h,user:f}=u;if(!h){const e=null===d||void 0===d?void 0:d[0],t=null===e||void 0===e?void 0:e.errorCode,n=null===e||void 0===e?void 0:e.value;if(null!==t&&void 0!==t)return void o(tt({text:`${rt[t](p.A.t).label}. ${null!==n&&void 0!==n?n:""}`,type:"error",autoClose:5e3}))}o(_("UserList"));const m=await a.Ay.microshopGetShopUsers(null!==c&&void 0!==c?c:"",null!==l&&void 0!==l?l:"");return o(J(m.data)),o(tt({text:`${p.A.t("status.saved")}`,type:"success"})),f})),rt={[g.UserUpsertErrorCode.DatabaseError]:e=>({label:e("microshop.databaseError","Database error")}),[g.UserUpsertErrorCode.MissingEmail]:e=>({label:e("microshop.missingEmail","Email is missing")}),[g.UserUpsertErrorCode.MissingMicroshop]:e=>({label:e("microshop.missingMicroshop","Microshop is missing")}),[g.UserUpsertErrorCode.MissingShopUnitName]:e=>({label:e("microshop.missingShopUnitName","ShopUnitName is missing")}),[g.UserUpsertErrorCode.MissingUsers]:e=>({label:e("microshop.missingUser","Users are missing")})},it=(0,o.zD)("microshop/users/export",(async(e,t)=>{let{getState:n,dispatch:r}=t;const i=(0,C.rZ)(n()),{data:o}=await a.Ay.microshopExportShopUsers(i,e,{responseType:"blob"}),s=o;if(s){const e=new File([s],"Text.xlsx",{type:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"}),t=window.URL.createObjectURL(s),n=document.createElement("a");n.href=t,n.setAttribute("download",e.name),document.body.appendChild(n),n.click(),document.body.removeChild(n),window.URL.revokeObjectURL(t)}})),ot=((0,o.zD)("microshop/users/find",(async(e,t)=>{let{getState:n,dispatch:r}=t;const i=(0,C.rZ)(n());return(await a.Ay.microshopFindShopUser(i,e)).data})),(0,o.zD)("microshops/custom/assortment/action/save",(async(e,t)=>{let{getState:n,rejectWithValue:r,dispatch:i}=t;try{var o,s,c;const e=(0,C.rZ)(n()),t=n().microshops.selectedMicroshopCustomAssortment,l=(0,S.Iz)(t,e);if(null===l)return r(void 0);const{data:u}=await a.Ay.microshopSaveCustomAssortment(e,l);i(Z());return{customAssortment:{rootId:e,items:(0,S.Ue)(null===u.id?{...u,id:null!==(o=u.id)&&void 0!==o?o:e,nodes:null!==(s=u.nodes)&&void 0!==s?s:[]}:u)},collectionPrices:null!==(c=u.collectionPrices)&&void 0!==c?c:[]}}catch(u){return l().isCancel(u)?r(void 0):r({message:u instanceof Error?u.toString():"Unknown error"})}}))),at=()=>(e,t)=>{var n;(null===(n=t().microshops.selectedMicroshop)||void 0===n?void 0:n.assortmentType)!==g.ShopAssortmentType.Full&&e(ot())},st=((0,o.zD)("microshops/validateEmail",(async(e,t)=>{let{rejectWithValue:n,dispatch:r}=t;try{if(!e)return!1;return!!(await a.Ay.microshopValidatEmail(e)).data}catch(i){return l().isCancel(i)?n(void 0):n({message:i instanceof Error?i.toString():"Unknown error"})}})),(0,o.zD)("microshops/changeOwner",(async(e,t)=>{let{getState:n,rejectWithValue:r,dispatch:i}=t;try{const t=(0,C.rZ)(n());if(!t)return void i(z({resultMessage:p.A.t("microshop.noMicroshopFound","No microshop could be found"),successful:!1}));if(!e)return void i(z({resultMessage:p.A.t("validation.email","Invalid email"),successful:!1}));if(!(await a.Ay.microshopValidatEmail(e)).data)return void i(z({resultMessage:p.A.t("validation.noEmailFound","No email could be found"),successful:!1}));return(await a.Ay.microshopChangeOwner(e,t)).data?void i(z({resultMessage:p.A.t("general.updated","Updated"),successful:!0})):void i(z({resultMessage:p.A.t("error.general","Something went wrong, please try again or contact support."),successful:!1}))}catch(o){return l().isCancel(o)?r(void 0):r({message:o instanceof Error?o.toString():p.A.t("error.error","Error")})}})));function lt(e){var t,n,r,i,o;const a=null===e||void 0===e||null===(t=e.uri)||void 0===t?void 0:t.substring(0,null===e||void 0===e||null===(n=e.uri)||void 0===n?void 0:n.indexOf("."));return{domain:null===e||void 0===e||null===(r=e.uri)||void 0===r?void 0:r.substring((null===e||void 0===e||null===(i=e.uri)||void 0===i?void 0:i.indexOf("."))+1),host:a,url:null!==(o=null===e||void 0===e?void 0:e.uri)&&void 0!==o?o:void 0}}},37411:(e,t,n)=>{"use strict";n.d(t,{A1:()=>v,Ap:()=>J,CN:()=>me,D3:()=>pe,Er:()=>le,Et:()=>U,G6:()=>D,GK:()=>u,Hc:()=>j,Hj:()=>C,Hv:()=>O,Iq:()=>X,Kg:()=>f,Kq:()=>m,L1:()=>he,Lg:()=>q,Lu:()=>ae,Nh:()=>c,Nr:()=>F,O_:()=>p,PX:()=>Z,Ps:()=>$,RO:()=>V,Rx:()=>k,T$:()=>x,TX:()=>ie,VR:()=>K,Vf:()=>R,Vj:()=>G,Vu:()=>re,Y2:()=>ee,Y_:()=>ge,_s:()=>L,bU:()=>H,bf:()=>M,bu:()=>P,eW:()=>ve,i9:()=>ue,ig:()=>d,jJ:()=>b,ji:()=>I,jy:()=>T,lP:()=>w,ld:()=>ne,ls:()=>Q,mT:()=>oe,nO:()=>Y,nP:()=>de,nz:()=>E,oq:()=>fe,p5:()=>l,q_:()=>z,rZ:()=>g,rs:()=>ce,s3:()=>B,th:()=>ye,uc:()=>h,wk:()=>S,wo:()=>_,yX:()=>y,z3:()=>se,zR:()=>N,zi:()=>W});var r=n(85913),i=n(74635),o=n(69435),a=n(74012);const s=e=>e.collections.collections,l=e=>e.microshops.selectedPage,c=e=>e.microshops.selectedTab,u=e=>e.microshops.toast,d=e=>{var t;return null!==(t=e.microshops.microshops)&&void 0!==t?t:[]},p=e=>d(e).length>0,h=e=>e.microshops.microshopsLoading,f=e=>e.microshops.formUrl,m=e=>e.microshops.selectedMicroshop,g=e=>{var t,n;return null!==(t=null===(n=e.microshops.selectedMicroshop)||void 0===n?void 0:n.id)&&void 0!==t?t:""},v=e=>{var t;return null!==(t=e.microshops.selectedMicroshopLoading)&&void 0!==t?t:[]},y=e=>e.microshops.selectedMicroshopSaving,A=e=>e.microshops.selectedMicroshopDirty,b=e=>!A(e)||y(e)||(e=>e.microshops.selectedMicroshopInvalid)(e)||!f(e).url,w=e=>e.microshops.selectedMicroshopUpdated,x=e=>e.microshops.selectedMicroshopThemeColors,C=e=>e.microshops.selectedMicroshopDeletedFileNames,S=e=>!A(e)||y(e)||v(e),k=e=>e.microshops.selectedMicroshopCustomAssortment,E=e=>{var t;return null===(t=e.microshops.selectedMicroshop)||void 0===t?void 0:t.collectionPrices},I=e=>{var t,n,r;return[...new Set(null!==(t=null===(n=e.microshops.selectedMicroshop)||void 0===n||null===(r=n.collectionPrices)||void 0===r?void 0:r.map((e=>e.id)))&&void 0!==t?t:[])].sort()},_=e=>{var t;return null!==(t=e.microshops.selectedMicroshopOrders)&&void 0!==t?t:[]},P=e=>{var t;return null!==(t=e.microshops.selectedMicroshopMasterOrders)&&void 0!==t?t:[]},O=e=>e.microshops.selectedMicroshopMasterOrdersLoading,T=e=>P(e).length>0,D=e=>{var t;return null===(t=e.microshops.selectedMicroshop)||void 0===t?void 0:t.vatMode},j=e=>e.microshops.selectMicroshopOrderVatIncluded,B=e=>e.microshops.selectedMicroshopOrder,N=e=>e.microshops.selectedMicroshopOrderId,M=e=>{var t;return null!==(t=e.microshops.selectedMicroshopOrders)&&void 0!==t?t:[]},R=e=>e.microshops.selectedMicroshopSelectedOrders,L=e=>e.microshops.selectedMicroshopCheckoutOrder,F=e=>e.microshops.masterOrdersSearchInputs,z=e=>e.microshops.pendingOrdersSearchInputs,Q=e=>e.microshops.options,U=e=>{var t;return null!==(t=e.microshops.selectedProducts)&&void 0!==t?t:[]},V=e=>e.microshops.changeOwnerState,G=e=>e.microshops.assortmentEntryPointList,q=e=>e.microshops.assortmentFilterList,H=e=>e.microshops.selectedMicroshopAssortmentFilterSelected,W=e=>e.microshops.selectedMicroshopFullAssortmentCategoriesToggled,Y=e=>{var t,n;return null!==(t=null===(n=e.microshops.selectedMicroshop)||void 0===n?void 0:n.assortmentEntryPoint)&&void 0!==t?t:[]},K=e=>{var t,n,r,i,o,a;return{anonymous:null!==(t=null===(n=e.microshops.selectedMicroshopUsers)||void 0===n?void 0:n.filter((e=>e.anonymous)))&&void 0!==t?t:[],registered:null!==(r=null===(i=e.microshops.selectedMicroshopUsers)||void 0===i?void 0:i.filter((e=>!e.anonymous)))&&void 0!==r?r:[],users:null!==(o=null===(a=e.microshops.selectedMicroshopUsers)||void 0===a?void 0:a.filter((e=>!e.anonymous)))&&void 0!==o?o:[]}},J=e=>e.microshops.shopsForCopy,X=e=>e.microshops.shopsForCopyPending,Z=e=>e.microshops.units,$=e=>e.microshops.units.unitAssortment,ee=e=>e.microshops.selectedMicroshopUsersNew,te=(e,t)=>({id:e.id,label:e.name,parentId:t,indeterminate:!1,childrenNodes:(null===e||void 0===e?void 0:e.nodes)&&(null===e||void 0===e?void 0:e.nodes.map((t=>te(t,e.id))))}),ne=(0,r.Mz)($,(e=>{var t;return null===e||void 0===e||null===(t=e.nodes)||void 0===t?void 0:t.map((e=>te(e,null)))})),re=e=>[{label:(0,i.t)("microshop.many_size_products","Many sizes per product"),value:o.ShopProductSizeDisplayType.ManySizeAndQuantity},{label:(0,i.t)("microshop.one_size_product","One size per product"),value:o.ShopProductSizeDisplayType.OneSizePerProduct}],ie=e=>[{label:(0,i.t)("microshop.disable_units","Disable units"),value:o.ShopType.Individual},{label:(0,i.t)("microshop.activate_units","Activate units"),value:o.ShopType.Units}],oe=e=>[{label:(0,i.t)("microshop.budget"),value:"budget"},{label:(0,i.t)("microshop.approval"),value:"attest"}],ae=e=>[{label:(0,i.t)("microshop.main_orders","Main orders"),value:o.ShopOrderProcessType.MainOrders},{label:(0,i.t)("microshop.direct_orders","Direct orders"),value:o.ShopOrderProcessType.DirectOrders}],se=e=>[{label:(0,i.t)("general.custom","Custom"),type:o.ShopAssortmentType.Custom},{label:(0,i.t)("general.full","Full"),type:o.ShopAssortmentType.Full}],le=e=>({isPending:"pending"===e.microshops.selectedMicroshopCustomAssortmentStatus,isReady:"ready"===e.microshops.selectedMicroshopCustomAssortmentStatus,isError:"error"===e.microshops.selectedMicroshopCustomAssortmentStatus,isEmpty:!e.microshops.selectedMicroshopCustomAssortment&&"ready"===e.microshops.selectedMicroshopCustomAssortmentStatus}),ce=e=>e.microshops.selectedMicroshopUsers,ue=(0,r.Mz)(Z,(e=>{let{units:t,selectedUnitId:n}=e;return null===t||void 0===t?void 0:t.find((e=>e.id===n))})),de=(0,r.Mz)(w,(e=>{var t,n,r,i;return{uri:null===e||void 0===e||null===(t=e.uri)||void 0===t?void 0:t.substring(0,null===e||void 0===e||null===(n=e.uri)||void 0===n?void 0:n.indexOf(".")),domain:null===e||void 0===e||null===(r=e.uri)||void 0===r?void 0:r.substring((null===e||void 0===e||null===(i=e.uri)||void 0===i?void 0:i.indexOf("."))+1)}})),pe=(0,r.Mz)(d,g,((e,t)=>{var n,r;return{pending:null===(n=e.find((e=>e.id===t)))||void 0===n?void 0:n.pendingOrderCount,master:null===(r=e.find((e=>e.id===t)))||void 0===r?void 0:r.masterOrderCount}})),he=(0,r.Mz)(k,(e=>e.microshops.selectedMicroshopCustomAssortmentSelectedFolderId),((e,t)=>{var n,r;const i=null!==(n=null===e||void 0===e?void 0:e.items)&&void 0!==n?n:{},o=null!==t&&void 0!==t?t:"";return{id:o,name:null===i||void 0===i||null===(r=i[o])||void 0===r?void 0:r.data.name}})),fe=(0,r.Mz)(H,(e=>e.microshops.selectedMicroshopAssortmentFilterSelectedInitial),y,((e,t,n)=>JSON.stringify([...e].sort())!==JSON.stringify([...t].sort())&&!n)),me=(0,r.Mz)(k,(e=>e.microshops.selectedMicroshopCustomAssortmentInitial),y,((e,t,n)=>{const r=e=>e?{...e,items:Object.keys(null===e||void 0===e?void 0:e.items).reduce(((t,n)=>({...t,[n]:(0,a.A)(null===e||void 0===e?void 0:e.items[n],"isExpanded")})),{})}:null,i=r(e),o=r(t);return JSON.stringify(i)!==JSON.stringify(o)&&!n})),ge=e=>(0,r.Mz)(s,(t=>{var n,r;return null!==(n=null===(r=t.byId[e])||void 0===r?void 0:r.name)&&void 0!==n?n:e.toString()})),ve=(0,r.Mz)(k,he,((e,t)=>{var n,r,i;const o=null!==(n=null===e||void 0===e?void 0:e.items)&&void 0!==n?n:{};return(null!==(r=null===o||void 0===o||null===(i=o[t.id])||void 0===i?void 0:i.data.products)&&void 0!==r?r:[]).map((e=>o[e])).filter((e=>e&&void 0!==e.id))})),ye=(0,r.Mz)(g,he,((e,t)=>t.id&&t.id!==e))},73027:(e,t,n)=>{"use strict";n.d(t,{$s:()=>i,Iz:()=>a,Ue:()=>u,dc:()=>o,lQ:()=>c,uO:()=>l});var r=n(69435);function i(e,t){if(!e)return null;let n={...e};return t.forEach((t=>{var i,o,a;if(null!==t&&void 0!==t&&t.type||(n.type=e.type),null!==t&&void 0!==t&&t.orderNotificationType||(n.orderNotificationType=e.orderNotificationType),null!==t&&void 0!==t&&t.assortmentType||(n.assortmentType=e.assortmentType),null!==t&&void 0!==t&&t.defaultPriceModel||(null===t||void 0===t?void 0:t.assortmentType)!==r.ShopAssortmentType.Full||(null===(i=n)||void 0===i||null===(o=i.defaultPriceModel)||void 0===o?void 0:o.type)===r.ShopPriceModelType.Retail||(null===(a=n)||void 0===a?void 0:a.assortmentType)!==r.ShopAssortmentType.Custom||(n=Object.assign(n,{defaultPriceModel:{type:2,priceModifier:1}})),t.files&&t.files.length>0){var s;const e=null!==(s=n.files)&&void 0!==s?s:[];return t.files.forEach((t=>{const n=null===e||void 0===e?void 0:e.findIndex((e=>e.fileName===t.fileName));n>=0?null===e||void 0===e||e.splice(n,1,t):e.push(t)})),void(n.files=e)}if(t.addons&&t.addons.length>0){var l;const e=[...null!==(l=n.addons)&&void 0!==l?l:[]];return t.addons.forEach((t=>{const n=null===e||void 0===e?void 0:e.findIndex((e=>e.id===t.id));n>=0?null===e||void 0===e||e.splice(n,1,t):e.push(t)})),void(n.addons=[...e])}if(t.categories&&t.categories.length>0){var c;const e=null!==(c=n.categories)&&void 0!==c?c:[];return t.categories.forEach((t=>{const n=e.findIndex((e=>e.id===t.id));n>=0?null===e||void 0===e||e.splice(n,1,t):e.push(t)})),void(n.categories=e)}n={...n,...t}})),n}const o=(e,t)=>{const n=!(null!==e&&void 0!==e&&e.uri);if("other"===t){var i,o;return!(null!==(i=null===e||void 0===e||null===(o=e.addons)||void 0===o?void 0:o.some((e=>{var t;return e.action!==r.MicroshopUpdateAction.Delete&&""===(null!==(t=e.productName)&&void 0!==t?t:"")})))&&void 0!==i&&i)&&!n}return!n},a=(e,t)=>{var n;const r=null!==(n=e.items)&&void 0!==n?n:e;if(!t)return null;const i=r[t];return{id:null===i||void 0===i?void 0:i.id,...s(r,null===i||void 0===i?void 0:i.children,(e=>c(e)))}},s=function(e){let t=arguments.length>2?arguments[2]:void 0,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];return{nodes:(arguments.length>1&&void 0!==arguments[1]?arguments[1]:[]).reduce(((r,i)=>{const o=e[i];var a,l,u,d;o&&t(o)&&r.push({assortmentSlug:null===o||void 0===o||null===(a=o.data)||void 0===a?void 0:a.assortmentSlug,name:null===o||void 0===o?void 0:o.data.name,id:null!==o&&void 0!==o&&o.data.id.includes("new-category-")?null:null===o||void 0===o?void 0:o.data.id,nodes:s(e,null!==(l=null===o||void 0===o?void 0:o.children)&&void 0!==l?l:[],t,n).nodes,productNumbers:(null!==(u=null===o||void 0===o||null===(d=o.data)||void 0===d?void 0:d.products)&&void 0!==u?u:[]).reduce(((t,r)=>{const i=null===e||void 0===e?void 0:e[r];return i&&!c(i)&&(t.push(r),n.findIndex((e=>e.productNumber===i.data.productNumber))<0&&n.push({...i.data})),t}),[])});return r}),[]),products:n}},l=(e,t)=>null!=t.find((t=>t===e)),c=e=>!(null===e||void 0===e||!e.children)||(null===e||void 0===e?void 0:e.hasChildren),u=e=>{var t;const n=null===(t=e.products)||void 0===t?void 0:t.reduce(((e,t)=>t.productNumber?{...e,[t.productNumber]:{id:t.productNumber,data:t,hasChildren:!1}}:e),{}),r=(e,t)=>{var n,i,o,a;const s={...e,[t.id]:{id:t.id,isExpanded:!0,children:[...(null!==(n=t.nodes)&&void 0!==n?n:[]).map((e=>e.id))],data:{assortmentSlug:t.assortmentSlug,name:t.name,id:t.id,products:[...null!==(i=t.productNumbers)&&void 0!==i?i:[]]}}};return(null!==(o=null===(a=t.nodes)||void 0===a?void 0:a.length)&&void 0!==o?o:0)>0?{...s,...t.nodes.reduce(r,e)}:s};return r(n,e)}},86136:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var r=n(72608),i=n(84848),o=n(41103),a=n(33453),s=n(23017),l=n(70030),c=n(43099),u=n(75081),d=n(44414);const p=e=>{let{offerItems:t,productNumber:n,name:p,className:h="",square:f,colored:m,onCreated:g}=e;const{t:v}=(0,l.B)(),y=(0,s.GV)(u.bj),A=(0,s.GV)(o.I),b=(0,s.jL)(),w=(0,s.GV)(i.Fu);if(!A)return null;return(0,d.jsx)(a.K0,{className:`f1-400 ${h}`,icon:r.DO5,onClick:async()=>{var e,r;const i=new Date,o={name:`${p||`${i.toLocaleDateString(null!==(e=null===w||void 0===w?void 0:w.name)&&void 0!==e?e:"en")} ${i.toLocaleTimeString(null!==(r=null===w||void 0===w?void 0:w.name)&&void 0!==r?r:"en")}`}`,items:null!==t&&void 0!==t?t:n?{[n]:1}:void 0};await b((0,u.ts)(o)),b((0,c.On)("Offers")),null===g||void 0===g||g()},large:!0,square:f,fontSize:"14px",color:m?"buyText":"text",bgColor:m?"buy":"fillWhite",disabled:y,children:(0,d.jsxs)(a.so,{align:"center",children:[v("cart.createOffer","Create offer"),y&&(0,d.jsx)(a.y$,{className:"ml-2"})]})})}},75081:(e,t,n)=>{"use strict";n.d(t,{$4:()=>W,AA:()=>T,Ay:()=>ae,Co:()=>Ae,DP:()=>_e,Dz:()=>pe,EF:()=>D,EO:()=>L,FU:()=>S,FW:()=>F,GB:()=>K,Gz:()=>C,HV:()=>U,It:()=>Q,JR:()=>x,LF:()=>Pe,Lt:()=>Me,OB:()=>V,PE:()=>Y,QN:()=>j,S4:()=>w,Sw:()=>A,Sz:()=>ie,XE:()=>v,YL:()=>$,_D:()=>M,bj:()=>ce,fv:()=>Z,hQ:()=>ye,jb:()=>O,k0:()=>N,l4:()=>B,nP:()=>R,o1:()=>Le,p5:()=>ve,rM:()=>re,tL:()=>oe,tP:()=>b,tb:()=>P,ts:()=>_,vW:()=>de,w9:()=>Re,y9:()=>ue,yL:()=>he});var r=n(11359),i=n(85913),o=n(44805),a=n(96011),s=n.n(a),l=n(41107),c=n(58847),u=n(41103),d=n(84238),p=n(69435),h=n(45608),f=n(35732),m=n(51673),g=n(55628);const v=(0,r.zD)("offers/initOfferDelivery",(async(e,t)=>{let{getState:n,dispatch:r}=t;const i=fe(n());r((0,l.O3)("offerCart")(null!==i&&void 0!==i?i:[]))}));let y;const A=(0,r.zD)("offers/getOffers",(async(e,t)=>{let{page:n,search:r}=e,{getState:i}=t;const a=i().offers;return(await o.Ay.cartsGetOffers(null!==r&&void 0!==r?r:a.pagination.search,a.pagination.pageSize,n)).data}),{condition:(e,t)=>{let{getState:n}=t;const r=n().offers;if(r.offersLoading)return!1;const i=r.pagination;if("number"===typeof i.total){if(!e)return!1;if(i.page===e)return!1}}}),b=(0,r.zD)("offers/details/getOffer",(async(e,t)=>{let{offerId:n}=e,{dispatch:r,rejectWithValue:i}=t;(y||0===n)&&y.abort(),r((0,l.iR)("offerCart")());try{var a,c;y=new AbortController;const e=(await o.Ay.offerGetOffer(n,y.signal)).data;return r(D(null!==(a=null===(c=e.products)||void 0===c?void 0:c.map((e=>null===e||void 0===e?void 0:e.productNumber)))&&void 0!==a?a:[])),e}catch(u){return s().isCancel(u)?i(void 0):i({message:u instanceof Error?u.toString():"Unknown error"})}}),{condition:(e,t)=>{var n;let{offerId:r,force:i}=e,{getState:o}=t;if(i)return!0;return(null===(n=o().offers.selectedOffer)||void 0===n?void 0:n.id)!==r}}),w=(0,r.zD)("offers/public/getPublicOffer",(async(e,t)=>{let{rejectWithValue:n}=t;try{return(await o.Ay.cartsGetPublicOffer(e)).data}catch(r){return s().isCancel(r)?n(void 0):n({message:r instanceof Error?r.toString():"Unknown error"})}})),x=(0,r.zD)("offers/comment",(async(e,t)=>{var n;let{variationNumber:r,comment:i,create:a}=e,{getState:s,rejectWithValue:l}=t;const c=null===(n=s().offers.selectedOffer)||void 0===n?void 0:n.id;if(!c)return l("No offer id, should not happen");await o.Ay.offerSetComment(c,r,i,!!a)})),C=e=>{let{operation:t,send:n,debounce:r}=e;return e=>{e(J(t)),n&&e(r?k():S())}},S=(0,r.zD)("offers/details/sendOfferOperations",(async(e,t)=>{var n;let{getState:r,rejectWithValue:i,signal:a}=t;const s=r().offers,l=null===(n=s.selectedOffer)||void 0===n?void 0:n.id;if(!s.operations.length&&s.selectedOffer)return s.selectedOffer;if(!l)return i("No offer id, should not happen");return(await o.Ay.offerUpdate(l,s.operations,a)).data})),k=(0,h.A)("offers/sendOfferOperationsDebounced",(async(e,t)=>{let{dispatch:n}=t;n(S())}),1300),E=(0,r.zD)("offers/addCostDescription",(async(e,t)=>{var n;let{costId:r,description:i}=e,{getState:a,rejectWithValue:s}=t;const l=a(),c=null===(n=l.offers.selectedOffer)||void 0===n?void 0:n.id;if(I=new AbortController,!c)return s("No offer id, should not happen");if(r){var u,p;const e=null===(u=l.offers.selectedOffer)||void 0===u||null===(p=u.costs)||void 0===p?void 0:p.find((e=>e.id===r));if(!e)return s("Could not find cost with id:"+r);return await o.Ay.offerChangeCost(c,r,null!==i&&void 0!==i?i:"",I.signal)?{...e,description:i}:e}return(await o.Ay.offerAddCost(c,null!==i&&void 0!==i?i:d.A.t("general.description"),I.signal)).data}));let I;const _=(0,r.zD)("offers/createOffer",(async(e,t)=>{let{dispatch:n}=t;const r=await o.Ay.cartsCreateOffer(e);n((0,l.iR)("offerCart")()),n(P(r.data))})),P=(0,r.zD)("offers/details/openConvertedOffer",(async(e,t)=>{var n,r;let{dispatch:i,getState:o}=t;const a=o(),s=(0,u.tO)(a);return"unset"===o().offers.percentType&&i(X(s?"discount":"margin")),i(K("OfferDetails")),i(ne(e)),i(D(null!==(n=null===(r=e.products)||void 0===r?void 0:r.map((e=>null===e||void 0===e?void 0:e.productNumber)))&&void 0!==n?n:[])),e})),O=(0,r.zD)("offers/removeOffer",(async(e,t)=>{let{getState:n,dispatch:r}=t;const i=n().offers.selectedOffer;i&&i.id===e&&r(ne(void 0)),await o.Ay.offerRemoveOffer(e)})),T=(0,r.zD)("offers/setOfferPdfSettings",(async(e,t)=>{let{getState:n,rejectWithValue:r}=t;const i=n().offers.selectedOffer;if(null===i||void 0===i||!i.id)return r("No offer id, should not happen");await o.Ay.offerSetSettings(i.id,e)})),D=(0,r.zD)("offers/getVariationsAndSkus",(async(e,t)=>{let{getState:n}=t;const r=new Set(Object.keys(n().offers.availableVariations)),i=e.filter((e=>!r.has(e)));return(await o.Ay.getAttributeProducts(i,p.PriceViewSetting.None)).data}),{condition:(e,t)=>{let{getState:n}=t;const r=new Set(Object.keys(n().offers.availableVariations));return!!e.filter((e=>!r.has(e))).length}}),j=(0,r.zD)("offers/generatePublicUrl",(async(e,t)=>{var n;let{getState:r,rejectWithValue:i}=t;const a=null===(n=r().offers.selectedOffer)||void 0===n?void 0:n.id;return a?(await o.Ay.offerGeneratePublicUrl(a)).data:i("No offerId, should not happen")})),B=(0,r.zD)("offers/removePublicUrl",(async(e,t)=>{var n;let{getState:r,rejectWithValue:i}=t;const a=null===(n=r().offers.selectedOffer)||void 0===n?void 0:n.id;if(!a)return i("No offerId, should not happen");await o.Ay.offerRemovePublicUrl(a)})),N=(0,r.zD)("offers/public/updateStatusForPublicOffer",(async e=>(await o.Ay.cartsSetPublicOfferComment(e)).data)),M=(0,r.zD)("offers/changeName",(async e=>{let{id:t,name:n}=e;await o.Ay.offerSetName(t,n)})),R=(0,h.A)("offers/changeCustomer",(async e=>{let{id:t,customer:n}=e;await o.Ay.offerSetCustomer(t,n)}),1500),L=(0,r.zD)("offers/setOfferExpirationDate",(async(e,t)=>{var n;let{getState:r,rejectWithValue:i}=t;const a=null===(n=r().offers.selectedOffer)||void 0===n?void 0:n.id;return a?(await o.Ay.offerSetExpirationDate(a,e)).data:i("No offerId, should not happen")})),F=(0,r.zD)("offers/setDaysBeforeReminder",(async(e,t)=>{var n;let{getState:r,rejectWithValue:i}=t;const a=null===(n=r().offers.selectedOffer)||void 0===n?void 0:n.id;if(!a)return i("No offerId, should not happen");await o.Ay.offerSetDaysBeforeReminder(a,e)})),z=(0,r.zD)("offers/products/sorting",(async(e,t)=>{var n,r,i,a,s;let{getState:l,rejectWithValue:c,dispatch:u}=t;const d=l().offers.selectedOfferId;if(!d)return c("No offerId, should not happen");const p=null!==(n=null===(r=l().offers.selectedOffer)||void 0===r||null===(i=r.products)||void 0===i?void 0:i.map((e=>{var t;return null!==(t=e.productNumber)&&void 0!==t?t:""})))&&void 0!==n?n:[],h=(0,g.A)(null!==(a=l().offers.selectedOfferProductOrder)&&void 0!==a?a:[],[...p],(e=>e),!0),f=(null!==(s=l().offers.selectedOfferProductOrder)&&void 0!==s?s:[]).length>0,m=(null===h||void 0===h?void 0:h.join(","))===(null===p||void 0===p?void 0:p.join(","));if(f)return m||await o.Ay.offerChangeProductOrder(d,h),await u(te(h)),void u(Z(void 0));u(Z(p))})),Q=(0,r.zD)("offers/details/offerChangeRefinement",(async(e,t)=>{var n;let{refinements:r,addons:i,files:a,fileRefs:l,services:c,skus:u}=e,{rejectWithValue:d,getState:p}=t;const h=null===(n=p().offers.selectedOffer)||void 0===n?void 0:n.id;if(!h)return d("No offerId, should not happen");try{return(await o.Ay.offerChangeRefinement(h,r,i,u,c,a,l)).data}catch(f){return s().isCancel(f)?d(void 0):d({message:f instanceof Error?f.toString():"Unknown error"})}})),U=e=>async(t,n)=>{var r;const i=n(),o=i.offers.offers.find((t=>t.id===e));if(null===o||void 0===o||!o.id)return;const a=null===(r=i.user.userIdentity)||void 0===r?void 0:r.isSeller;"unset"===i.offers.percentType&&t(X(a?"discount":"margin")),t(K("OfferDetails")),t(ne(o)),t(b({offerId:o.id}))},V=(0,r.zD)("offers/details/offerLinkUser",(async(e,t)=>{let{email:n,offerId:r}=e,{dispatch:i,rejectWithValue:a}=t,s=null;return s=n?await o.Ay.offerLinkOffer(r,n):await o.Ay.offerUnlinkOffer(r),i(ne(s.data)),s.data})),G=(0,r.zD)("offers/details/offerLinkUser",(async(e,t)=>{var n;let{getState:r,rejectWithValue:i}=t;const a=null===(n=r().offers.selectedOffer)||void 0===n?void 0:n.id;if(!a)return i("No offer id, should not happen");return(await o.Ay.offerChangeDiscountMode(a,e)).data})),q={selectedPage:"AllOffers",offers:[],offersLoading:!1,offersUpdatePending:!1,selectedOfferPending:!1,selectedOfferUpdatePending:!1,operations:[],publicOfferLoading:!1,publicOfferUpdatePending:!1,pdfLoading:!1,pdfData:"",refinementsProposals:[],selectedOffer:void 0,availableVariations:{},changingName:!1,pagination:{page:1,pageSize:10},percentType:"unset",detailsSerialNumber:0,showModifyProducts:!1,matrixToggleLevel:"variation",localProducts:[]},H=(0,r.Z0)({name:"offers",initialState:q,reducers:{cancelLocalChanges(e){var t,n;e.operations=[],e.localProducts=null!==(t=null===(n=e.selectedOffer)||void 0===n?void 0:n.products)&&void 0!==t?t:[]},customerDataSet(e,t){e.selectedOffer&&(e.selectedOffer.customer=t.payload)},selectedOfferSet(e,t){const n=t.payload;e.selectedOfferId=null===n||void 0===n?void 0:n.id},publicOfferFormSet(e,t){e.publicOfferForm=t.payload},offerPageSet(e,t){e.selectedPage=t.payload},setChangingOfferName(e,t){e.changingName=t.payload},offerUpdated(e,t){const n=t.payload;function r(t,r){var i,o,a,s;const l=null===(i=e.availableVariations[t].find((e=>e.variationNumber===r.variationNumber)))||void 0===i?void 0:i.skus;return null!==(o=null!==(a=null===l||void 0===l?void 0:l.find((e=>e.sku===n.skuPattern)))&&void 0!==a?a:null===(s=r.skus)||void 0===s?void 0:s[0])&&void 0!==o?o:null===l||void 0===l?void 0:l[0]}if(n.type===p.OfferOperationType.Set&&"number"===typeof n.quantity){if(e.operations=e.operations.filter((e=>e.skuPattern!==n.skuPattern||!(e.type===p.OfferOperationType.Set||e.type===p.OfferOperationType.Remove))),!e.localProducts)return;e:for(const t of e.localProducts)if(t.productNumber&&t.variations)for(const e of t.variations){if(e.variationNumber===n.skuPattern){e.quantity=n.quantity;break e}if(!e.skus)continue;for(const t of e.skus)if(t.sku===n.skuPattern){t.quantity=n.quantity;break e}const i=r(t.productNumber,e);e.skus.push({...i,quantity:n.quantity})}}e.operations.push(n)},percentTypeToggled(e,t){"undefined"===typeof t.payload?e.percentType="margin"===e.percentType?"discount":"margin":e.percentType=t.payload},productSortOrderUpdate(e,t){var n;e.selectedOfferProductOrder=null===(n=t.payload)||void 0===n?void 0:n.filter((e=>e))},setProductOrder(e,t){var n,r;e.selectedOffer&&null!==(n=e.selectedOffer)&&void 0!==n&&n.products&&(e.selectedOffer.products=(0,g.A)(t.payload,[...null===(r=e.selectedOffer)||void 0===r?void 0:r.products],(e=>e.productNumber),!0))},showModifyProductsSet(e,t){e.showModifyProducts=t.payload},selectedVariationSet(e,t){e.selectedVariation=t.payload},toggleLevelSet(e,t){e.matrixToggleLevel=t.payload}},extraReducers:e=>{e.addCase(E.pending,((e,t)=>{e.selectedOfferUpdatePending=!0})),e.addCase(E.rejected,((e,t)=>{e.selectedOfferUpdatePending=!1})),e.addCase(E.fulfilled,((e,t)=>{var n;if(!e.selectedOffer)return;null!==(n=e.selectedOffer)&&void 0!==n&&n.costs||(e.selectedOffer.costs=[]);e.selectedOffer.costs.some((e=>e.id===t.payload.id))?e.selectedOffer.costs=e.selectedOffer.costs.map((e=>e.id===t.payload.id?t.payload:e)):e.selectedOffer.costs.push(t.payload),e.selectedOfferUpdatePending=!1})),e.addCase(A.pending,((e,t)=>{e.offersLoading=!0,e.pagination.search=t.meta.arg.search})),e.addCase(A.rejected,((e,t)=>{e.offersLoading=!1})),e.addCase(A.fulfilled,((e,t)=>{var n,r,i;e.offersLoading=!1,e.pagination.pages=t.payload.totalPages,e.pagination.page=null!==(n=t.payload.currentPage)&&void 0!==n?n:1,e.pagination.total=t.payload.totalItems,e.offers=null!==(r=null===(i=t.payload.items)||void 0===i?void 0:i.map((e=>({...e}))))&&void 0!==r?r:e.offers})),e.addCase(b.pending,((e,t)=>{e.selectedOfferPending=!0,e.selectedOffer=void 0,e.selectedOfferProductOrder=void 0})),e.addCase(b.fulfilled,((e,t)=>{e.selectedOfferPending=!1})),e.addCase(b.rejected,((e,t)=>{e.selectedPage="AllOffers",e.selectedOfferPending=!1,e.selectedOfferId=void 0,e.selectedOffer=void 0})),e.addCase(w.pending,((e,t)=>{e.publicOfferLoading=!0})),e.addCase(w.fulfilled,((e,t)=>{e.selectedOffer=t.payload,e.selectedOfferId=t.payload.id,e.selectedOffer.id&&(e.publicOfferForm={id:e.selectedOffer.id,status:e.selectedOffer.status||0,comment:e.selectedOffer.comment||""}),e.publicOfferLoading=!1})),e.addCase(w.rejected,((e,t)=>{e.publicOfferLoading=!1})),e.addCase(j.pending,(e=>{})),e.addCase(j.fulfilled,((e,t)=>{e.selectedOffer&&(e.selectedOffer.publicIdentifier=t.payload);const n=e.offers.find((t=>{var n;return t.id===(null===(n=e.selectedOffer)||void 0===n?void 0:n.id)}));n&&(n.status=0,n.publicIdentifier=t.payload)})),e.addCase(j.rejected,(()=>{})),e.addCase(B.pending,(e=>{})),e.addCase(B.fulfilled,(e=>{e.selectedOffer&&(e.selectedOffer.publicIdentifier=void 0);const t=e.offers.find((t=>{var n;return t.id===(null===(n=e.selectedOffer)||void 0===n?void 0:n.id)}));t&&(t.status=void 0,t.publicIdentifier=void 0)})),e.addCase(B.rejected,(()=>{})),e.addCase(_.pending,((e,t)=>{e.selectedOfferPending=!0})),e.addCase(_.fulfilled,((e,t)=>{e.selectedOfferPending=!1})),e.addCase(_.rejected,((e,t)=>{e.selectedOfferPending=!1})),e.addCase(P.fulfilled,((e,t)=>{var n;const r=t.payload,i={id:r.id,name:r.name,created:r.created,expirationDate:r.expirationDate,value:null===(n=r.total)||void 0===n?void 0:n.totalExVat,customer:r.customer,sellerOffer:r.sellerOffer};e.offers=[i,...e.offers]})),e.addCase(O.pending,((e,t)=>{e.offersUpdatePending=!0})),e.addCase(O.fulfilled,((e,t)=>{e.offers=e.offers.filter((e=>e.id!==t.meta.arg)),e.offersUpdatePending=!1})),e.addCase(O.rejected,((e,t)=>{e.offersUpdatePending=!1})),e.addCase(M.pending,((e,t)=>{e.selectedOffer&&(e.selectedOffer.name=t.meta.arg.name);const n=t.meta.arg.id,r=e.offers.find((e=>e.id===n));r&&(r.name=t.meta.arg.name)})),e.addCase(M.rejected,(()=>{})),e.addCase(R.pending,((e,t)=>{const n=t.meta.arg.id,r=e.offers.find((e=>e.id===n));r&&(r.customer=t.meta.arg.customer)})),e.addCase(R.rejected,(()=>{})),e.addCase(L.fulfilled,((e,t)=>{const n=e.offers.find((t=>{var n;return t.id===(null===(n=e.selectedOffer)||void 0===n?void 0:n.id)}));n&&(n.expirationDate=t.payload),e.selectedOffer&&(e.selectedOffer.expirationDate=t.payload)})),e.addCase(F.fulfilled,((e,t)=>{e.selectedOffer&&(e.selectedOffer.daysBeforeReminder=t.meta.arg)})),e.addCase(x.pending,((e,t)=>{var n;e.offersUpdatePending=!0;const{variationNumber:r,comment:i}=t.meta.arg,o=function(e,t){if(!t)return;for(const n of t)if(n.variations)for(const t of n.variations)if(t.variationNumber===e)return t}(r,null===(n=e.selectedOffer)||void 0===n?void 0:n.products);o&&(o.comment=i)})),e.addCase(x.fulfilled,(e=>{e.offersUpdatePending=!1})),e.addCase(x.rejected,(e=>{e.offersUpdatePending=!1})),e.addCase(D.fulfilled,((e,t)=>{const n=t.payload.reduce(((e,t)=>{var n,r;t.productNumber&&(e[`${t.productNumber}`]=null!==(n=null===(r=t.variations)||void 0===r?void 0:r.map((e=>{var n,r,i,o,a,s;return{...e,related:{related:null!==(n=null===(r=t.related)||void 0===r?void 0:r.products)&&void 0!==n?n:[],genderRelated:null!==(i=null===(o=t.related)||void 0===o?void 0:o.gender)&&void 0!==i?i:[],replacement:null!==(a=null===(s=t.related)||void 0===s?void 0:s.replacement)&&void 0!==a?a:[]}}})))&&void 0!==n?n:[]);return e}),{});e.availableVariations={...e.availableVariations,...n}})),e.addCase(N.pending,(e=>{e.publicOfferUpdatePending=!0})),e.addCase(N.fulfilled,(e=>{e.publicOfferUpdatePending=!1})),e.addCase(V.fulfilled,((e,t)=>{const n=e.offers.find((e=>e.id===t.payload.id));n&&(n.sellerOffer=t.payload.sellerOffer,n.sellerOffer&&(n.customer=t.payload.customer))})),e.addCase(S.rejected,((e,t)=>{e.operations=[]})),e.addCase(T.pending,((e,t)=>{e.selectedOffer&&(e.selectedOffer.settings=t.meta.arg)})),e.addCase(G.pending,((e,t)=>{e.selectedOffer&&(e.selectedOffer.discountMode=t.meta.arg)})),e.addMatcher((0,f.Ic)("offers/details/"),((e,t)=>{var n,r;e.selectedOffer=null!==(n=t.payload)&&void 0!==n?n:e.selectedOffer,e.detailsSerialNumber=++e.detailsSerialNumber;const i=t.payload;e.offers=e.offers.map((e=>{var t;return e.id===i.id?{...e,expirationDate:i.expirationDate,value:null===(t=i.total)||void 0===t?void 0:t.totalExVat,status:i.status}:e})),e.selectedOfferUpdatePending=!1,e.operations=[],e.localProducts=null!==(r=t.payload.products)&&void 0!==r?r:[]})),e.addMatcher((0,f._H)("offers/details/"),(e=>{e.selectedOfferUpdatePending=!0})),e.addMatcher((0,f.b5)("offers/details/"),((e,t)=>{e.selectedOfferUpdatePending=!1})),e.addMatcher((0,f.Ic)("offers/products/"),((e,t)=>{e.selectedOfferUpdatePending=!1})),e.addMatcher((0,f._H)("offers/products/"),(e=>{e.selectedOfferUpdatePending=!0})),e.addMatcher((0,f.b5)("offers/products/"),((e,t)=>{e.selectedOfferUpdatePending=!1})),e.addMatcher((0,f.Ic)("offers/"),(e=>{})),e.addMatcher((0,f.b5)("offers/"),((e,t)=>{m.A.error("ERROR",t.payload)}))}}),{cancelLocalChanges:W,customerDataSet:Y,offerPageSet:K,offerUpdated:J,percentTypeToggled:X,productSortOrderUpdate:Z,publicOfferFormSet:$,setChangingOfferName:ee,setProductOrder:te,selectedOfferSet:ne,selectedVariationSet:re,showModifyProductsSet:ie,toggleLevelSet:oe}=H.actions,ae=H.reducer,se=e=>e.offers.offers,le=e=>e.offers.selectedOffer,ce=e=>e.offers.selectedOfferPending,ue=e=>e.offers.selectedOfferUpdatePending,de=e=>e.offers.selectedOfferId,pe=e=>e.offers.pagination,he=e=>e.offers.percentType,fe=e=>{var t;return null===(t=e.offers.selectedOffer)||void 0===t?void 0:t.products},me=e=>e.offers.availableVariations,ge=e=>e.offers.operations,ve=e=>e.offers.selectedPage,ye=e=>{var t;return null===(t=e.offers.selectedOffer)||void 0===t?void 0:t.customer},Ae=e=>{var t;return null===(t=e.offers.selectedOffer)||void 0===t?void 0:t.sellerOffer},be=e=>e.offers.selectedVariation,we=(0,i.Mz)(ge,(e=>e.filter((e=>e.type===p.OfferOperationType.Set)))),xe=(0,i.Mz)(le,(e=>!(!e||e.status!==p.OfferStatus.OrderCreated&&e.status!==p.OfferStatus.OrderPlaced))),Ce=(0,i.Mz)(fe,(e=>null!==e&&void 0!==e?e:[])),Se=(0,i.Mz)(le,(e=>{var t;return null!==(t=null===e||void 0===e?void 0:e.refinements)&&void 0!==t?t:[]})),ke=(0,i.Mz)((e=>{var t;return null===(t=e.offers.selectedOffer)||void 0===t?void 0:t.costs}),(e=>null!==e&&void 0!==e?e:[])),Ee=(0,i.Mz)(Ce,(e=>e.offers.selectedOfferProductOrder),((e,t)=>t?(0,g.A)(t,[...e],(e=>e.productNumber),!0):e)),Ie=(0,i.Mz)(Ce,c.hI,c.V2,((e,t,n)=>{var r,i,o,a;const s=n===p.PriceViewSetting.Customer||n===p.PriceViewSetting.RetailAndCustomer,l=n===p.PriceViewSetting.Retail||n===p.PriceViewSetting.RetailAndCustomer,c=e.some((e=>{var t;return null===(t=e.variations)||void 0===t?void 0:t.some((e=>{var t;return!(null===(t=e.price)||void 0===t||!t.regular)}))}));return[...s?[{value:p.DiscountMode.CustomerPrice,label:null!==(r=d.A.t("price.customer"))&&void 0!==r?r:""}]:[],...l?[{value:p.DiscountMode.Retail,label:null!==(i=d.A.t("price.rrp_short"))&&void 0!==i?i:""}]:[],...c?[{value:p.DiscountMode.Secondary,label:null!==(o=null!==(a=null===t||void 0===t?void 0:t.prefixSales)&&void 0!==a?a:d.A.t("price.regular_short"))&&void 0!==o?o:""}]:[]]})),_e=(0,i.Mz)(se,(e=>e.offers.offersLoading),(e=>e.offers.offersUpdatePending),((e,t,n)=>({offers:e,pending:t,updatePending:n}))),Pe=(0,i.Mz)(le,se,de,ce,ue,((e,t,n,r,i)=>{var o;const a=(null===e||void 0===e?void 0:e.id)===n?e:t.find((e=>e.id===n)),s=null===a||void 0===a||null===(o=a.refinements)||void 0===o?void 0:o.map(((e,t)=>({...e,someId:t})));return{offer:{...a,refinements:s},pending:r,updatePending:i}})),Oe=(0,i.Mz)(ge,(e=>e.filter((e=>e.type===p.OfferOperationType.Add&&"string"===typeof e.skuPattern)).map((e=>e.skuPattern)))),Te=(0,i.Mz)((e=>e.offers.localProducts),me,((e,t)=>{const n=[];for(const i of e){var r;const e={...i,variations:null===(r=i.variations)||void 0===r?void 0:r.map((e=>{var n,r,o,a;if(!i.productNumber)return e;const s=null===(n=t[i.productNumber])||void 0===n?void 0:n.find((t=>t.variationNumber===e.variationNumber));if(!s)return e;const l=null!==(r=null!==(o=null===(a=s.skus)||void 0===a?void 0:a.map((t=>{var n,r,i;return{...t,quantity:null!==(n=null===(r=e.skus)||void 0===r||null===(i=r.find((e=>e.sku===t.sku)))||void 0===i?void 0:i.quantity)&&void 0!==n?n:0}})))&&void 0!==o?o:e.skus)&&void 0!==r?r:[];return{...e,skus:l,colorCode:s.colorCode,related:s.related}}))};n.push(e)}return n})),De=((0,i.Mz)(me,Oe,fe,((e,t,n)=>{const r=Object.fromEntries(Object.entries(e).map((e=>{let[r,i]=e;return[r,i.map((e=>{return{...e,disabled:(r=e.variationNumber,!r||!!t.find((e=>e===r))||!(null===n||void 0===n||!n.find((e=>{var t;return null===(t=e.variations)||void 0===t?void 0:t.find((e=>e.variationNumber===r))}))))};var r}))]})));return r})),(0,i.Mz)(Te,be,((e,t)=>{if(t)return e.flatMap((e=>e.variations)).find((e=>(null===e||void 0===e?void 0:e.variationNumber)===t));{var n;const t=e[0];return null===t||void 0===t||null===(n=t.variations)||void 0===n?void 0:n[0]}}))),je=(0,i.Mz)(De,me,Te,((e,t,n)=>{var r,i;const o=null===e||void 0===e||null===(r=e.variationNumber)||void 0===r||null===(i=r.split("-"))||void 0===i?void 0:i[0];if(!o||!t[o])return[];const a=t[o],s=n.find((e=>e.productNumber===o));return a.filter((e=>{var t,n;return!(null!==s&&void 0!==s&&null!==(t=s.variations)&&void 0!==t&&null!==(n=t.map((e=>e.variationNumber)))&&void 0!==n&&n.includes(e.variationNumber))})).map((e=>{var t,n,r,i;return{color:null!==(t=e.color)&&void 0!==t?t:"",name:null!==(n=null===s||void 0===s?void 0:s.productName)&&void 0!==n?n:"",productNumber:null!==(r=null===s||void 0===s?void 0:s.productNumber)&&void 0!==r?r:"",variationNumber:null!==(i=e.variationNumber)&&void 0!==i?i:"",image:e.image}}))})),Be=(0,i.Mz)(De,(e=>null===e||void 0===e?void 0:e.related)),Ne=(0,i.Mz)((e=>e.product.relatedProducts),Be,De,Te,((e,t,n,r)=>{const i=r.find((e=>{var t;return null===(t=e.variations)||void 0===t?void 0:t.find((e=>e.variationNumber===(null===n||void 0===n?void 0:n.variationNumber)))}));if(!t||!i||!n)return[];const o=r=>{const i=null===n||void 0===n?void 0:n.colorCode;return t[r].reduce(((t,n)=>{var r,o,a,s,l,c,u;const d=e[n];if(!d)return t;const p=null!==(r=null===(o=d.variations)||void 0===o?void 0:o.find((e=>e.colorCode===i)))&&void 0!==r?r:null===(a=d.variations)||void 0===a?void 0:a[0];if(null===p||void 0===p||!p.variationNumber)return t;const h={name:null!==(s=d.productName)&&void 0!==s?s:"",color:null!==(l=p.color)&&void 0!==l?l:"",image:p.image,variationNumber:p.variationNumber,productNumber:null!==(c=d.productNumber)&&void 0!==c?c:"",gender:null!==(u=d.gender)&&void 0!==u?u:""};return[...t,h]}),[])},a=[],s=o("related"),l=o("genderRelated"),c=o("replacement");return c.length>0&&a.push({label:d.A.t("product.replacement"),products:c}),l.forEach((e=>{let t=a.find((t=>t.label===e.gender));var n;t||(t={label:null!==(n=e.gender)&&void 0!==n?n:d.A.t("product.relatedGender"),products:[]},a.push(t));t.products.push(e)})),s.length>0&&a.push({label:d.A.t("product.related_short"),products:s}),a}));const Me={customer:ye,detailsSerialNr:e=>e.offers.detailsSerialNumber,discountMode:e=>{var t;return null===(t=e.offers.selectedOffer)||void 0===t?void 0:t.discountMode},discountModeOptions:Ie,isOfferOrder:xe,isSellerOffer:Ae,matrixOperations:we,matrixSkuLevel:e=>e.offers.matrixToggleLevel,offer:Pe,offerMatrixProducts:Te,operations:ge,percentType:he,relatedProductNumbers:Be,relatedVariations:Ne,selectedOfferCosts:ke,selectedOfferProducts:Ce,selectedOfferRefinements:Se,selectedOfferUpdatePending:ue,selectedOfferOrderedProduct:Ee,selectedOfferSortingActive:e=>void 0!==e.offers.selectedOfferProductOrder&&e.offers.selectedOfferProductOrder.length>0,selectedVariationColors:je,selectedVariationNumber:be,showModifyProducts:e=>e.offers.showModifyProducts},Re={addCostDescription:E,createOffer:_,sendOfferOperations:S,setDiscountMode:G,toggleSorting:z},Le=H.actions},41665:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(33453),i=(n(9950),n(24937)),o=n(44414);const a=e=>{var t;let{page:n,pages:i,pageSize:a,itemCount:c,itemsTotal:u,label:d,setPage:p}=e;const h=(e,t)=>{let n=t-e+1;return Array.from({length:n},((t,n)=>n+e))},f=null!==(t=(()=>{if(6>=i)return h(1,i);const e=Math.max(n-1,1),t=Math.min(n+1,i),r=e>2,o=t<i-2,a=i;if(!r&&o){return[...h(1,5),-1,i]}if(r&&!o){return[1,-1,...h(i-5+1,i)]}if(r&&o){return[1,-1,...h(e,t),-1,a]}})())&&void 0!==t?t:[];if(0===n||f.length<2)return null;const m=f[f.length-1],g=(n-1)*a+1,v=(n-1)*a+c;return(0,o.jsxs)(o.Fragment,{children:[d&&(0,o.jsx)(r.EY,{small:!0,center:!0,children:`${g}-${v} / ${u} ${d}`}),(0,o.jsxs)(s,{children:[(0,o.jsx)(l,{className:1===n?"disabled":"",onClick:()=>p(n-1),children:(0,o.jsx)("div",{className:"arrow left"})}),f.map(((e,t)=>-1===e?(0,o.jsx)(l,{className:"dot disabled",children:"\u2026"},t):(0,o.jsx)(l,{className:n===e?"selected":"",onClick:()=>p(e),children:e},t))),(0,o.jsx)(l,{className:n===m?"disabled":"",onClick:()=>p(n+1),children:(0,o.jsx)("div",{className:"arrow right"})})]})]})},s=i.Ay.ul.withConfig({componentId:"sc-un0f8i-0"})(["display:flex;padding-top:20px;padding-left:0px;list-style-type:none;justify-content:center;"]),l=i.Ay.li.withConfig({componentId:"sc-un0f8i-1"})(["padding:0 12px;min-width:25px;height:32px;text-align:center;margin:auto 4px;color:rgba(0,0,0,0.87);display:flex;box-sizing:border-box;align-items:center;letter-spacing:0.01071em;border-radius:16px;line-height:1.43;font-size:13px;justify-content:center;&.dots:hover{background-color:transparent;cursor:default;}&:hover{background-color:rgba(0,0,0,0.04);cursor:pointer;}&.selected{background-color:rgba(0,0,0,0.08);}.arrow{&::before{position:relative;content:'';display:inline-block;width:0.4em;height:0.4em;border-right:0.12em solid rgba(0,0,0,0.87);border-top:0.12em solid rgba(0,0,0,0.87);}&.left{transform:rotate(-135deg) translate(-50%);}&.right{transform:rotate(45deg);}}&.disabled{pointer-events:none;.arrow::before{border-right:0.12em solid rgba(0,0,0,0.43);border-top:0.12em solid rgba(0,0,0,0.43);}&:hover{background-color:transparent;cursor:default;}}"])},58473:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>Y,Dz:()=>k,H4:()=>T,KU:()=>$,Lt:()=>ye,Mb:()=>se,Mm:()=>Q,PA:()=>ee,PE:()=>K,Pj:()=>b,Qn:()=>A,TM:()=>U,Tp:()=>he,VB:()=>O,VQ:()=>P,WF:()=>C,YA:()=>W,ZM:()=>fe,ZU:()=>H,_9:()=>de,aj:()=>pe,b4:()=>me,bD:()=>ce,db:()=>F,dj:()=>z,gt:()=>I,h:()=>x,mW:()=>ue,mz:()=>M,n9:()=>ge,nD:()=>R,nK:()=>D,r$:()=>w,sA:()=>E,tY:()=>N,ut:()=>S,v8:()=>_,w8:()=>ve,xD:()=>L,xc:()=>B,y3:()=>q,z5:()=>j});var r=n(11359),i=n(85913),o=n(44805),a=n(96011),s=n.n(a),l=n(84848),c=n(58847),u=n(3781),d=n(84238),p=n(69435),h=n(35732),f=n(7430),m=n(24872),g=n(51673);let v,y;const A=(0,r.zD)("orders/setOrderListColumns",(async e=>{var t;return t=e,localStorage.setItem("orders_columns",JSON.stringify(t)),e})),b=(0,r.zD)("orders/closeOrder",(async()=>{v&&v.cancel("Order request cancelled")})),w=(0,r.zD)("orders/getOrder",(async(e,t)=>{let{rejectWithValue:n}=t;if((0,f.qe)())try{const e=await fetch("./test_order.json"),t=await e.json();if(t.orderNumber)return t}catch(r){}v&&v.cancel("Fetching new order, cancel in flight request");try{v=(0,o.ws)();return(await o.Ay.order(e,v.token)).data}catch(r){return s().isCancel(r)?n(void 0):n({message:r instanceof Error?r.toString():"Unknown error"})}})),x=(0,r.zD)("orders/getStatuses",(async(e,t)=>{let{getState:n}=t;const r=n().orders.webOrderStatuses,i=e.map((e=>({orderNumber:e.orderNumber,clientOrderId:e.clientOrderId,type:e.type}))).filter((e=>{var t;return!Object.keys(r).includes(null!==(t=e.orderNumber)&&void 0!==t?t:"")}));if(i.length){return(await o.Ay.status(i)).data}return[]})),C=(0,r.zD)("orders/load/getOrders",(async(e,t)=>{let{dispatch:n,getState:r,rejectWithValue:i}=t;y&&y.cancel("Fetching new orders, cancel in flight request");try{var a,l;const t=r().orders,i=t.searchInputs,s=(0,m.t7)(i.from),c=(0,m.t7)(i.to),u="string"!==typeof t.filter.orderType&&null!==(a=t.filter.orderType)&&void 0!==a?a:void 0,d="string"===typeof t.filter.orderType?t.filter.orderType:void 0;y=(0,o.ws)();const p=await o.Ay.orders({from:s,to:c,search:i.search,pageSize:t.pageSize,page:e,systemOrderType:u,userOrderType:d},y.token);return n(x(null!==(l=p.data.items)&&void 0!==l?l:[])),p.data}catch(c){return s().isCancel(c)?(g.A.error(c.message),i(void 0)):i({message:c instanceof Error?c.toString():"Unknown error"})}})),S=(0,r.zD)("order/orderChangeRefinement",(async(e,t)=>{let{identifier:n,refinements:r,addons:i,files:a,fileRefs:l,services:c,skus:u}=e,{rejectWithValue:d}=t;try{var p;return null===(p=await o.Ay.orderPubliChangeRefinement(n,r,i,u,c,a,l))||void 0===p?void 0:p.data}catch(h){return s().isCancel(h)?d(void 0):d({message:h instanceof Error?h.toString():"Unknown error"})}})),k=(0,r.zD)("order/public/updatePublicOrderRefinement",(async(e,t)=>{let{identifier:n,index:r}=e,{rejectWithValue:i}=t;try{return(await o.Ay.orderPublicRemoveRefinement(n,r)).data}catch(a){return s().isCancel(a)?i(void 0):i({message:a instanceof Error?a.toString():"Unknown error"})}})),E=(0,r.zD)("order/public/getPublicOrder",(async(e,t)=>{var n;let r,{rejectWithValue:i,dispatch:a,getState:c}=t;if((0,f.qe)())try{var u;const e=await fetch("./test_order.json");r=await e.json(),null!==(u=r)&&void 0!==u&&u.orderNumber||(r=void 0)}catch(g){}if(!r)try{r=(await o.Ay.orderPublic(e)).data}catch(g){return s().isCancel(g)?i(void 0):i({message:g instanceof Error?g.toString():"Unknown error"})}if(!r)return i({message:"No order data"});const p=new URL(window.location.href).searchParams.get("lang"),h=d.A.language,m=null!==(n=null!==p&&void 0!==p?p:r.language)&&void 0!==n?n:h;return m!==h&&(o.Ay.setLanguage(m),d.A.changeLanguage(m)),r.marketId&&(o.Ay.setMarket(r.marketId),a((0,l.J7)(r.marketId))),r})),I=(0,r.zD)("order/public/setPublicOrderStatus",(async(e,t)=>{let{identifier:n,status:r}=e,{rejectWithValue:i}=t;try{return(await o.Ay.orderPublicSetStatus(n,r)).data}catch(a){return s().isCancel(a)?i(void 0):i({message:a instanceof Error?a.toString():"Unknown error"})}})),_=(0,r.zD)("order/public/rejectToCustomer",(async(e,t)=>{let{identifier:n,status:r}=e,{rejectWithValue:i}=t;try{return(await o.Ay.orderPublicRejectToCustomer(n,r)).data}catch(a){return s().isCancel(a)?i(void 0):i({message:a instanceof Error?a.toString():"Unknown error"})}})),P=(0,r.zD)("order/public/sendForCustomerApproval",(async(e,t)=>{let{identifier:n,status:r}=e,{rejectWithValue:i}=t;try{return(await o.Ay.orderPublicSendForCustomerApproval(n,r)).data}catch(a){return s().isCancel(a)?i(void 0):i({message:a instanceof Error?a.toString():"Unknown error"})}})),O=(0,r.zD)("order/public/setPublicOrderComment",(async(e,t)=>{let{identifier:n,comment:r,internalStatus:i,external:a}=e,{rejectWithValue:l}=t;try{return(await o.Ay.orderPublicSetComment(n,r,i,a)).data}catch(c){return s().isCancel(c)?l(void 0):l({message:c instanceof Error?c.toString():"Unknown error"})}})),T=(0,r.zD)("order/public/setPublicOrderCompleted",(async(e,t)=>{let{identifier:n}=e,{rejectWithValue:r}=t;try{return(await o.Ay.orderPublicComplete(n)).data}catch(i){return s().isCancel(i)?r(void 0):r({message:i instanceof Error?i.toString():"Unknown error"})}})),D=(0,r.zD)("order/public/updatePublicOrderRefinement",(async(e,t)=>{let{text:n,file:r}=e,{rejectWithValue:i}=t;try{r&&"csv"===(0,f.QC)(r.name)&&"text/csv"!==r.type&&(r=new File([r],r.name,{type:"text/csv"}));return(await o.Ay.orderSkusFromFile(n,r)).data}catch(a){return s().isCancel(a)?i(void 0):i({message:a instanceof Error?a.toString():"Unknown error"})}})),j=(0,r.zD)("order/public/setDelivery",(async(e,t)=>{let{identifier:n,deliveryAddresses:r}=e,{rejectWithValue:i}=t;try{var a;return null===(a=await o.Ay.orderPublicSetDelivery(n,r))||void 0===a?void 0:a.data}catch(l){return s().isCancel(l)?i(void 0):i({message:l instanceof Error?l.toString():"Unknown error"})}})),B=(0,r.zD)("order/public/getDelivery",(async(e,t)=>{let{identifier:n}=e,{rejectWithValue:r}=t;try{var i;return null===(i=await o.Ay.orderPublicGetDelivery(n))||void 0===i?void 0:i.data}catch(a){return s().isCancel(a)?r(void 0):r({message:a instanceof Error?a.toString():"Unknown error"})}})),N=(0,r.zD)("order/public/getOrderCustomerInfo",(async(e,t)=>{let{identifier:n}=e,{rejectWithValue:r}=t;try{var i;return null===(i=await o.Ay.orderPublicCustomerInfo(n))||void 0===i?void 0:i.data}catch(a){return s().isCancel(a)?r(void 0):r({message:a instanceof Error?a.toString():"Unknown error"})}})),M=(0,r.zD)("order/public/addOrderShipment",(async(e,t)=>{let{identifier:n,quantity:r,shipments:i}=e,{rejectWithValue:a}=t;try{var l;return null===(l=await o.Ay.orderPublicAddShipment(n,r,i))||void 0===l?void 0:l.data}catch(c){return s().isCancel(c)?a(void 0):a({message:c instanceof Error?c.toString():"Unknown error"})}})),R=(0,r.zD)("order/public/orderRemoveShipment",(async(e,t)=>{let{identifier:n,shipment:r}=e,{rejectWithValue:i}=t;try{var a;return null===(a=await o.Ay.orderPublicRemoveShipment(n,r))||void 0===a?void 0:a.data}catch(l){return s().isCancel(l)?i(void 0):i({message:l instanceof Error?l.toString():"Unknown error"})}})),L=(0,r.zD)("order/public/getOrderShippingCosts",(async(e,t)=>{let{rejectWithValue:n}=t;try{return(await o.Ay.orderPublicShippingCosts(e)).data}catch(r){return s().isCancel(r)?n(void 0):n({message:r instanceof Error?r.toString():"Unknown error"})}})),F=(0,r.zD)("order/public/toggleLogItemPinStatus",(async(e,t)=>{let{identifier:n,id:r,pinned:i}=e,{rejectWithValue:a}=t;try{return await o.Ay.orderSetPublicOrderCommentPinned(n,r,i),{id:r,pinned:i}}catch(l){return s().isCancel(l)?a(void 0):a({message:l instanceof Error?l.toString():"Unknown error"})}})),z=(0,r.zD)("order/public/removeDateWarning",(async(e,t)=>{let{rejectWithValue:n}=t;try{return(await o.Ay.orderSetPublicOrderRemoveDateWarning(e)).data}catch(r){return s().isCancel(r)?n(void 0):n({message:r instanceof Error?r.toString():"Unknown error"})}})),Q=(0,r.zD)("order/public/getOrderPublicPartnerStatsOverview",(async(e,t)=>{let{partner:n,secret:r}=e,{rejectWithValue:i}=t;try{const{data:e}=r?await o.Ay.orderPublicPartnerStatsOverview(n,r):await o.Ay.orderPublicStatsOverview();if(e)return e;throw new Error}catch(a){return s().isCancel(a)?i(void 0):i({message:a instanceof Error?a.toString():"Unknown error"})}})),U=(0,r.zD)("orders/public/orderPublicCustomerApprove",(async(e,t)=>{let{identifier:n,approved:r,comment:i}=e,{rejectWithValue:a}=t;try{await o.Ay.orderPublicCustomerApprove(n,r,i)}catch(l){return s().isCancel(l)?a(void 0):a({message:l instanceof Error?l.toString():"Unknown error"})}})),V={page:1,pages:0,pageSize:10,totalOrders:0,searchInputs:{from:(0,m.JO)(-2),to:(0,m.JO)(0),search:void 0},ordersStatus:"Initiating",orderStatus:"NoOrder",webOrderStatusesPending:!1,orders:[],webOrderStatuses:{},order:void 0,selectedColumns:function(){const e=localStorage.getItem("orders_columns");if(e){const t=JSON.parse(e);if(Array.isArray(t))return t}return["DateCreated","YourRef","OrderRef","TotalExVat","TotalIncVat","PackageLabel"]}(),publicOrder:{loading:!1,loaded:!1,updating:!1,inProgressOrder:{deliveryAddresses:[],tracking:[]}},filter:{orderType:null},publicOrderShippingCosts:[],publicOrderCustomerInfo:void 0,publicPartnerStats:[]},G=(0,r.Z0)({name:"orders",initialState:V,reducers:{setInputs(e,t){e.searchInputs=t.payload},setOrderType(e,t){e.filter.orderType=t.payload},setShowHandleTool(e,t){e.publicOrder.inProgressOrder&&(e.publicOrder.inProgressOrder.show=t.payload)}},extraReducers:e=>{e.addCase(A.fulfilled,((e,t)=>{e.selectedColumns=t.payload})),e.addCase(b.fulfilled,(e=>{e.order=void 0,e.orderStatus="NoOrder"})),e.addCase(x.pending,(e=>{e.webOrderStatusesPending=!0})),e.addCase(x.fulfilled,((e,t)=>{t.payload.forEach((t=>{t.orderNumber&&void 0!==t.status&&(e.webOrderStatuses[t.orderNumber]=t.status)})),e.webOrderStatusesPending=!1})),e.addCase(x.rejected,((e,t)=>{e.webOrderStatusesPending=!1})),e.addCase(w.pending,((e,t)=>{e.order={orderNumber:t.meta.arg},e.orderStatus="PendingOrder"})),e.addCase(w.fulfilled,((e,t)=>{const n={...e.orders.find((e=>e.orderNumber===t.payload.orderNumber)),...t.payload};e.order=n,e.orderStatus="OrderLoaded"})),e.addCase(w.rejected,((e,t)=>{t.payload&&(g.A.error("ERROR",t),e.orderStatus="Error")})),e.addCase(S.pending,((e,t)=>{e.publicOrder.updating=!0})),e.addCase(S.fulfilled,((e,t)=>{e.publicOrder.updating=!1,e.publicOrder.order=t.payload})),e.addCase(I.pending,(e=>{e.publicOrder.updating=!0})),e.addCase(I.fulfilled,((e,t)=>{e.publicOrder.updating=!1,e.publicOrder.order=t.payload})),e.addCase(O.pending,(e=>{e.publicOrder.updating=!0})),e.addCase(O.fulfilled,((e,t)=>{e.publicOrder.updating=!1,e.publicOrder.order=t.payload})),e.addCase(_.pending,(e=>{e.publicOrder.updating=!0})),e.addCase(_.fulfilled,((e,t)=>{e.publicOrder.updating=!1,e.publicOrder.order=t.payload})),e.addCase(P.pending,(e=>{e.publicOrder.updating=!0})),e.addCase(P.fulfilled,((e,t)=>{e.publicOrder.updating=!1,e.publicOrder.order=t.payload})),e.addCase(L.fulfilled,((e,t)=>{e.publicOrder.updating=!1,e.publicOrderShippingCosts=t.payload})),e.addCase(B.fulfilled,((e,t)=>{var n,r;e.publicOrder.inProgressOrder&&(e.publicOrder.inProgressOrder.deliveryAddresses=null!==(n=t.payload.deliveryAdresses)&&void 0!==n?n:[],e.publicOrder.inProgressOrder.tracking=null!==(r=t.payload.shipments)&&void 0!==r?r:[])})),e.addCase(N.fulfilled,((e,t)=>{e.publicOrder.inProgressOrder&&(e.publicOrderCustomerInfo=t.payload)})),e.addCase(M.pending,(e=>{var t;null!==(t=e.publicOrder)&&void 0!==t&&t.inProgressOrder&&(e.publicOrder.inProgressOrder.updatingShipment=!0)})),e.addCase(M.fulfilled,((e,t)=>{var n,r;e.publicOrder.inProgressOrder&&(e.publicOrder.inProgressOrder.deliveryAddresses=null!==(n=t.payload.deliveryAdresses)&&void 0!==n?n:[],e.publicOrder.inProgressOrder.tracking=null!==(r=t.payload.shipments)&&void 0!==r?r:[],e.publicOrder.inProgressOrder.updatingShipment=!1)})),e.addCase(R.fulfilled,((e,t)=>{var n,r;e.publicOrder.inProgressOrder&&(e.publicOrder.inProgressOrder.deliveryAddresses=null!==(n=t.payload.deliveryAdresses)&&void 0!==n?n:[],e.publicOrder.inProgressOrder.tracking=null!==(r=t.payload.shipments)&&void 0!==r?r:[],e.publicOrder.inProgressOrder.updatingShipment=!1)})),e.addCase(j.pending,(e=>{var t;null!==(t=e.publicOrder)&&void 0!==t&&t.inProgressOrder&&(e.publicOrder.inProgressOrder.updatingAddresses=!0)})),e.addCase(j.fulfilled,((e,t)=>{var n,r;e.publicOrder.inProgressOrder&&(e.publicOrder.inProgressOrder.deliveryAddresses=null!==(n=t.payload.deliveryAdresses)&&void 0!==n?n:[],e.publicOrder.inProgressOrder.tracking=null!==(r=t.payload.shipments)&&void 0!==r?r:[],e.publicOrder.inProgressOrder.updatingAddresses=!1)})),e.addCase(F.fulfilled,((e,t)=>{var n,r,i,o,a;t.payload&&null!==(n=e.publicOrder.order)&&void 0!==n&&null!==(r=n.refinementStatus)&&void 0!==r&&r.log&&(e.publicOrder.order.refinementStatus.log=null===(i=e.publicOrder.order)||void 0===i||null===(o=i.refinementStatus)||void 0===o||null===(a=o.log)||void 0===a?void 0:a.map((e=>e.id===t.payload.id?{...e,pinned:!e.pinned}:e)))})),e.addCase(Q.fulfilled,((e,t)=>{e.publicPartnerStats=t.payload})),e.addMatcher((0,h._H)("order/public"),((e,t)=>{t.type.startsWith("order/public/getDelivery")||t.type.startsWith("order/public/getOrderCustomerInfo")||t.type.startsWith("order/public/setDelivery")||t.type.startsWith("order/public/addOrderShipment")||t.type.startsWith("order/public/orderRemoveShipment")||t.type.startsWith("order/public/setPublicOrderStatus")||t.type.startsWith("order/public/setPublicOrderComment")||t.type.startsWith("order/public/getOrderShippingCosts")||t.type.startsWith("order/public/rejectToCustomer")||t.type.startsWith("order/public/toggleLogItemPinStatus")||t.type.startsWith("order/public/sendForCustomerApproval")||(e.publicOrder.loading=!0,e.publicOrder.loaded=!1,e.publicOrder.error=void 0,e.publicOrder.order=void 0)})),e.addMatcher((0,h.Ic)("order/public"),((e,t)=>{var n;t.type.startsWith("order/public/getDelivery")||t.type.startsWith("order/public/getOrderCustomerInfo")||t.type.startsWith("order/public/setDelivery")||t.type.startsWith("order/public/addOrderShipment")||t.type.startsWith("order/public/orderRemoveShipment")||t.type.startsWith("order/public/setPublicOrderStatus")||t.type.startsWith("order/public/setPublicOrderComment")||t.type.startsWith("order/public/getOrderShippingCosts")||t.type.startsWith("order/public/rejectToCustomer")||t.type.startsWith("order/public/toggleLogItemPinStatus")||t.type.startsWith("order/public/sendForCustomerApproval")||(e.publicOrder.loading=!1,e.publicOrder.loaded=!0,e.publicOrder.error=void 0,e.publicOrder.order={...t.payload,tracking:null!==(n=t.payload.tracking)&&void 0!==n?n:[]})})),e.addMatcher((0,h.b5)("order/public"),((e,t)=>{t.payload&&(g.A.error("ERROR",t),e.publicOrder.loading=!1,e.publicOrder.loaded=!0,e.publicOrder.error=t.payload.message,e.publicOrder.order=void 0)})),e.addMatcher((0,h._H)("orders/load"),(e=>{e.ordersStatus="PendingOrders"})),e.addMatcher((0,h.Ic)("orders/load"),((e,t)=>{var n,r,i,o;const a=t.payload;e.orders=null!==(n=a.items)&&void 0!==n?n:[],e.pages=null!==(r=a.totalPages)&&void 0!==r?r:0,e.page=null!==(i=a.currentPage)&&void 0!==i?i:0,e.totalOrders=null!==(o=a.totalItems)&&void 0!==o?o:0,e.ordersStatus="OrdersLoaded"})),e.addMatcher((0,h.b5)("orders/load"),((e,t)=>{t.payload&&(g.A.error("ERROR",t),e.ordersStatus="Error")})),e.addMatcher((0,h.Ic)(u.Qe),(e=>{e.orderStatus="NoOrder",e.order=void 0,e.ordersStatus="Initiating",e.orders=[]}))}}),{setInputs:q,setOrderType:H,setShowHandleTool:W}=G.actions,Y=G.reducer,K=e=>{var t;return null!==(t=e.orders.publicOrder.order)&&void 0!==t?t:e.orders.order},J=e=>e.orders.publicOrder.order,X=e=>e.orders.publicOrder.inProgressOrder,Z=e=>e.orders.publicOrderCustomerInfo,$=new Set(["TotalExVat","TotalIncVat"]),ee=(0,i.Mz)(c._M,(e=>e.orders.selectedColumns),((e,t)=>t.filter((t=>!e||!$.has(t))))),te=(0,i.Mz)(J,(e=>{var t;return null!==(t=null===e||void 0===e?void 0:e.products)&&void 0!==t?t:[]})),ne=(0,i.Mz)(Z,(e=>{var t,n;return null!==(t=null===e||void 0===e||null===(n=e.deliveryCountries)||void 0===n?void 0:n.map((e=>{var t,n;return{value:null!==(t=e.code)&&void 0!==t?t:"",label:null!==(n=e.name)&&void 0!==n?n:""}})))&&void 0!==t?t:[]})),re=(0,i.Mz)(J,(e=>{var t;return null!==(t=null===e||void 0===e?void 0:e.refinements)&&void 0!==t?t:[]})),ie=(0,i.Mz)(re,(e=>{var t,n;return null!==(t=null===e||void 0===e||null===(n=e.filter((e=>e.type===p.ShopCartRefinementType.Product&&e.stockOperation!==p.StockOperation.Add)))||void 0===n?void 0:n.map((e=>{var t,n,r;return{variationNumber:null===(t=e.articleId)||void 0===t?void 0:t.toString(),productName:`${e.name?`${e.name} (${e.productName})`:e.productName}`,skus:[{sku:null===(n=e.articleId)||void 0===n?void 0:n.toString(),quantity:null!==(r=e.quantity)&&void 0!==r?r:0}]}})))&&void 0!==t?t:[]})),oe=(0,i.Mz)(te,ie,((e,t)=>{var n;return[...null!==(n=null===e||void 0===e?void 0:e.flatMap((e=>{var t,n;return null!==(t=null===(n=e.variations)||void 0===n?void 0:n.filter((e=>{var t;return null===(t=e.orderLines)||void 0===t?void 0:t.length})).map((t=>{var n,r,i;return{variationNumber:null!==(n=t.variationNumber)&&void 0!==n?n:void 0,skus:null!==(r=t.orderLines)&&void 0!==r?r:void 0,productName:null!==(i=e.productName)&&void 0!==i?i:""}})))&&void 0!==t?t:[]})))&&void 0!==n?n:[],...t]})),ae=(0,i.Mz)(X,(e=>{var t;return null!==(t=null===e||void 0===e?void 0:e.tracking)&&void 0!==t?t:[]})),se=(0,i.Mz)(ae,(e=>{const t={};for(const r of e){const e=r.addressId;if(!e)continue;t[e]||(t[e]={});const i=r.skus||[];for(const r of i){var n;const i=null===r||void 0===r?void 0:r.sku;i&&(t[e][i]=(t[e][i]||0)+(null!==(n=r.quantity)&&void 0!==n?n:0))}}return t})),le=(0,i.Mz)(X,(e=>{var t;return null!==(t=null===e||void 0===e?void 0:e.deliveryAddresses)&&void 0!==t?t:[]})),ce=(0,i.Mz)(le,te,((e,t)=>{var n;const r=null!==(n=null===t||void 0===t?void 0:t.flatMap((e=>{var t;return null===(t=e.variations)||void 0===t?void 0:t.flatMap((e=>{var t;return null===(t=e.orderLines)||void 0===t?void 0:t.map((e=>{var t,n;return{sku:null!==(t=e.sku)&&void 0!==t?t:"",quantity:null!==(n=e.quantity)&&void 0!==n?n:0}}))}))})))&&void 0!==n?n:[],i=e.flatMap((e=>{var t;return null!==(t=e.skus)&&void 0!==t?t:[]})).reduce(((e,t)=>{let{sku:n,quantity:r=0}=t;const i=e.find((e=>e.sku===n));return i?i.quantity+=r:null!=n&&e.push({sku:n,quantity:r}),e}),[]);return r.map((e=>{var t;const n=i.find((t=>t.sku===(null===e||void 0===e?void 0:e.sku)));return{sku:null===e||void 0===e?void 0:e.sku,quantity:(null!==(t=null===e||void 0===e?void 0:e.quantity)&&void 0!==t?t:0)-((null===n||void 0===n?void 0:n.quantity)||0)}}))})),ue=(0,i.Mz)(te,re,((e,t)=>{var n,r,i;const o=e=>e.reduce(((e,t)=>{var n;return e+(null!==(n=null===t||void 0===t?void 0:t.quantity)&&void 0!==n?n:0)}),0);return o(null!==(n=null===e||void 0===e?void 0:e.flatMap((e=>{var t,n;return null!==(t=null===(n=e.variations)||void 0===n?void 0:n.flatMap((e=>{var t;return null===(t=e.orderLines)||void 0===t?void 0:t.map((e=>{var t;return{quantity:null!==(t=e.quantity)&&void 0!==t?t:0}}))})))&&void 0!==t?t:[]})))&&void 0!==n?n:[])+o(null!==(r=null===t||void 0===t||null===(i=t.filter((e=>e.type===p.ShopCartRefinementType.Product&&e.stockOperation!==p.StockOperation.Add)))||void 0===i?void 0:i.map((e=>{var t;return{quantity:null!==(t=e.quantity)&&void 0!==t?t:0}})))&&void 0!==r?r:[])})),de=(0,i.Mz)(le,ae,((e,t)=>{const n={};for(const r of e){const e=r.id,i=new Map;for(const t of r.skus||[])+(null===t||void 0===t?void 0:t.quantity)>0&&i.set(t.sku,t.quantity);t.filter((t=>t.addressId===e)).reduce(((e,t)=>{for(const n of t.skus||[])if(e.has(n.sku)){const t=e.get(n.sku)-(null===n||void 0===n?void 0:n.quantity);t<=0?e.delete(n.sku):e.set(n.sku,t)}return e}),i),n[e]=0===i.size}return n})),pe=(0,i.Mz)(X,K,((e,t)=>{var n;const r=null!==e&&void 0!==e&&e.show?null===e||void 0===e?void 0:e.tracking:null===t||void 0===t?void 0:t.tracking;return null!==(n=null===r||void 0===r?void 0:r.reduce(((e,t,n)=>{const r={...t,index:n},i=e.find((e=>e.providerId===t.masterShipment));return i?i.children?i.children.push(r):i.children=[r]:e.push(r),e}),[]))&&void 0!==n?n:[]})),he=(0,i.Mz)(K,X,te,pe,((e,t,n,r)=>{var i,o,a;const s=null!==t&&void 0!==t&&t.show?null===t||void 0===t?void 0:t.deliveryAddresses:null===e||void 0===e?void 0:e.deliveryAdresses,l=null===e||void 0===e||null===(i=e.refinements)||void 0===i?void 0:i.flatMap(((e,t)=>{var n;return null===e||void 0===e||null===(n=e.positions)||void 0===n?void 0:n.flatMap(((e,n)=>e.skus?e.skus.map((e=>({sku:e.sku,detail:{quantity:e.quantity,refinementIndex:t,positionIndex:n}}))):[]))})).filter((e=>null===e||void 0===e?void 0:e.sku)).reduce(((e,t)=>{let{sku:n,detail:r}=t;return{...e,[n]:e[n]?[...e[n],r]:[r]}}),{});return null!==(o=null===r||void 0===r||null===(a=r.filter((e=>{var t;return null===(t=e.skus)||void 0===t?void 0:t.length})))||void 0===a?void 0:a.map((t=>(t=>{var r,i,o;const a={},c={};return null===t||void 0===t||null===(r=t.skus)||void 0===r||r.forEach((e=>{n.forEach((t=>{var n,r,i;const o=null!==(n=null===(r=t.productNumber)||void 0===r?void 0:r.toString())&&void 0!==n?n:"";null===t||void 0===t||null===(i=t.variations)||void 0===i||i.forEach((n=>{var r;null===(r=n.orderLines)||void 0===r||r.forEach((r=>{var i,s;r.sku===e.sku&&(a[o]||(a[o]={...t,variations:[]}),a[o].variations.push({...n,orderLines:[{...r,quantity:null!==(i=e.quantity)&&void 0!==i?i:0}]}),null!==l&&void 0!==l&&l[null===r||void 0===r?void 0:r.sku]?l[null===r||void 0===r?void 0:r.sku].forEach((e=>{var t;const n=e.refinementIndex;c[n]={quantity:((null===(t=c[n])||void 0===t?void 0:t.quantity)||0)+e.quantity}})):(null!==(s=n.addons)&&void 0!==s?s:[]).forEach((t=>{var n,r;c[t]={quantity:((null===(n=c[t])||void 0===n?void 0:n.quantity)||0)+(null!==(r=e.quantity)&&void 0!==r?r:0)}})))}))}))}))})),{orderNumber:null!==(i=null===e||void 0===e?void 0:e.orderNumber)&&void 0!==i?i:"",deliveryAdresses:1===(null===s||void 0===s?void 0:s.length)?s:[(null===s||void 0===s?void 0:s.find((e=>e.id===t.addressId)))||{}],tracking:[t],refinements:null===e||void 0===e||null===(o=e.refinements)||void 0===o?void 0:o.map(((e,n)=>{var r,i,o,a;return{...e,quantity:null!==(r=null===(i=c[n])||void 0===i?void 0:i.quantity)&&void 0!==r?r:null===(o=t.skus)||void 0===o||null===(a=o.find((t=>{var n;return t.sku===(null===(n=e.articleId)||void 0===n?void 0:n.toString())})))||void 0===a?void 0:a.quantity}})),products:Object.values(a)}})(t))))&&void 0!==o?o:[]}));const fe={[p.RefinementOrderStatus.Pending]:e=>({label:e("status.unconfirmed","Unconfirmed"),color:"#ADD2DE"}),[p.RefinementOrderStatus.Registred]:e=>({label:e("status.confirmed","Confirmed"),color:"#5A70BD"}),[p.RefinementOrderStatus.Approved]:e=>({label:e("status.approved","Approved"),color:"#5A70BD"}),[p.RefinementOrderStatus.Rejected]:e=>({label:e("refinement.rejected","Rejected"),color:"#DF5252"}),[p.RefinementOrderStatus.InProgress]:e=>({label:e("refinement.inProgress","In progress"),color:"#5A70BD"}),[p.RefinementOrderStatus.AwaitingDelivery]:e=>({label:e("refinement.awaitingDelivery","Waiting for products"),color:"#EABD49"}),[p.RefinementOrderStatus.InProduction]:e=>({label:e("refinement.delivered","Products dispatched"),color:"#EABD49"}),[p.RefinementOrderStatus.Completed]:e=>({label:e("refinement.completed","Products processed"),color:"#3BBD2F"}),[p.RefinementOrderStatus.ReadyForInvoice]:e=>({label:e("refinement.readyForInvoice","Ready for invoice"),color:"#3BBD2F"}),[p.RefinementOrderStatus.Invoiced]:e=>({label:e("status.invoiced","Invoiced"),color:"#3BBD2F"})},me={[p.RefinementOrderStatus.Pending]:e=>({label:e("status.unconfirmedAction","Unconfirmed"),color:"#ADD2DE"}),[p.RefinementOrderStatus.Registred]:e=>({label:e("status.confirmedAction","Confirmed"),color:"#5A70BD"}),[p.RefinementOrderStatus.Approved]:e=>({label:e("status.approvedAction","Approved"),color:"#5A70BD"}),[p.RefinementOrderStatus.Rejected]:e=>({label:e("refinement.rejectedAction","Rejected"),color:"#DF5252"}),[p.RefinementOrderStatus.InProgress]:e=>({label:e("refinement.inProgress","In progress"),color:"#5A70BD"}),[p.RefinementOrderStatus.AwaitingDelivery]:e=>({label:e("refinement.awaitingDeliveryAction","Waiting for products"),color:"#EABD49"}),[p.RefinementOrderStatus.InProduction]:e=>({label:e("refinement.deliveredAction","Products dispatched"),color:"#EABD49"}),[p.RefinementOrderStatus.Completed]:e=>({label:e("refinement.completedAction","Products processed"),color:"#3BBD2F"}),[p.RefinementOrderStatus.ReadyForInvoice]:e=>({label:e("refinement.readyForInvoice","Ready for invoice"),color:"#3BBD2F"}),[p.RefinementOrderStatus.Invoiced]:e=>({label:e("status.invoiced","Invoiced"),color:"#3BBD2F"})};function ge(e,t){switch(e){case"Id":return t("order.order_one");case"Status":return t("general.status");case"YourRef":return t("shipment.yourReference");case"OrderRef":return t("shipment.yourOrderNumber");case"DateCreated":return t("general.created");case"TotalExVat":return t("price.total_exVat");case"TotalIncVat":return t("price.total_incVat");case"PackageLabel":return t("order.packageLabel","Package label");default:throw new Error("Unknown key, should not happen")}}function ve(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";switch(e){case p.WebErpOrderType.Credit:return t("order.creditType","Creditorder");case p.WebErpOrderType.PaymentOrder:return t("order.paymentType","Payment order");case p.WebErpOrderType.RefinmentOrder:return t("order.refinementType","Refinement order");default:return n||"Name for ordertype missing"}}const ye={publicOrder:J,publicOrderProducts:te,publicOrderRefinementArticles:ie,publicOrderCustomerInfo:Z,publicOrderCustomerCountryOptions:ne,selectPublicOrderValidVariations:oe}},1027:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>y,C1:()=>A,bO:()=>b});var r=n(22360),i=n(92414),o=n(3781),a=n(33453),s=n(23017),l=n(64267),c=n.n(l),u=n(9950),d=n(70030),p=n(73878),h=n(24937),f=n(43693),m=n(43099),g=n(58883),v=n(44414);const y=()=>{const{t:e}=(0,d.B)(),t=(0,p.wA)(),n=(0,s.GV)((e=>{var t;let{user:n}=e;return null===(t=n.userIdentity)||void 0===t?void 0:t.actingAs}));return(0,v.jsx)(f.A,{type:"CustomerSelector",children:{options:{narrow:!0},component:{title:e("seller.selectCustomer","Select customer"),content:(0,v.jsx)(A,{selected:null===n||void 0===n?void 0:n.email,onSelect:e=>{e.email&&(t((0,o.zd)(e.email)),t((0,m.On)("CustomerSelector")))}})}}})},A=e=>{let{onSelect:t,selected:n}=e;const{t:i}=(0,d.B)(),l=(0,p.wA)(),h=(0,s.GV)(o.PY);(0,u.useEffect)((()=>{"uninitialized"===h.state&&l((0,o.JC)(h.searchString))}),[l,h]);const f=c()((e=>{l((0,o.JC)(e||void 0))}),300),m="error"!==h.state&&h.users.length>0;return(0,v.jsxs)(v.Fragment,{children:["error"===h.state&&(0,v.jsx)("div",{children:i("error.general")}),(0,v.jsx)(a.pd,{placeholder:i("search.search","Search"),name:"customer-search",type:"text",icon:r.MjD,defaultValue:h.searchString,rightSidedIcon:!0,onChange:e=>f(e.target.value),loading:"pending"===h.state,autoFocus:!0}),m&&(0,v.jsx)(w,{className:"pt-3",children:h.users.map((e=>{var r,i,o;return(0,v.jsxs)(x,{as:"li",className:"py-2",onClick:()=>t(e),justify:"between",align:"center",children:[(0,v.jsxs)("div",{className:"pr-2",children:[(0,v.jsx)(C,{className:"pl-2 f3-300",children:e.customerCode}),(0,v.jsx)(C,{className:"pl-2 f3-300",children:(null===(o=e.fullName)||void 0===o?void 0:o.trim())||e.email}),e.market&&(0,v.jsx)(S,{className:"pl-2 f3-300",children:e.market})]}),(0,v.jsx)(a.Sc,{defaultChecked:n===e.email})]},(null!==(r=e.customerCode)&&void 0!==r?r:"")+(null!==(i=e.email)&&void 0!==i?i:""))}))})]})},b=e=>{let{onSelect:t,selectedId:n}=e;const{t:o}=(0,d.B)(),l=(0,p.wA)(),h=(0,s.GV)(g.Lt.externalCustomers),{cartType:f}=(0,u.useContext)(i.A),m=c()((e=>{l(g.w9.getExternalCustomerUsers({cartType:f,search:e}))}),300),y=!h.rejected&&h.customers.length>0;return(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)(a.pd,{placeholder:o("search.search","Search"),name:"external-search",type:"text",icon:r.MjD,defaultValue:h.searchString,rightSidedIcon:!0,onChange:e=>m(e.target.value||void 0),loading:h.pending,autoFocus:!0}),y&&(0,v.jsx)(w,{className:"pt-3",children:h.customers.map((e=>(0,v.jsxs)(x,{as:"li",className:"py-2",onClick:()=>t(e),justify:"between",align:"center",children:[(0,v.jsxs)("div",{className:"pr-2",children:[(0,v.jsx)(C,{className:"pl-2 f3-300",children:e.customerCode}),(0,v.jsx)(C,{className:"pl-2 f3-300",children:e.customerName})]}),(0,v.jsx)(a.Sc,{defaultChecked:n===e.id})]},e.id)))})]})},w=h.Ay.ul.withConfig({componentId:"sc-5q1hqx-0"})(["margin:0;padding:0;"]),x=(0,h.Ay)(a.so).withConfig({componentId:"sc-5q1hqx-1"})(["cursor:pointer;margin:0 -1.5rem;padding:0 1.5rem;&:hover{background:",";}"],(e=>{let{theme:t}=e;return t.colors.fillHover})),C=h.Ay.span.withConfig({componentId:"sc-5q1hqx-2"})(["font-size:14px;"]),S=h.Ay.span.withConfig({componentId:"sc-5q1hqx-3"})(["font-size:10px;font-style:italic;text-transform:uppercase;"])},58883:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>f,Lt:()=>h,w9:()=>p});var r=n(11359),i=n(85913),o=n(44805),a=n(41107);const s=(0,r.Z0)({name:"customerSelectorSlice",initialState:{externalCustomers:{pending:!1,customers:[]}},reducers:{},extraReducers:e=>{e.addCase(c.pending,((e,t)=>{e.externalCustomers.pending=!0,e.externalCustomers.searchString=t.meta.arg.search})),e.addCase(c.fulfilled,((e,t)=>{e.externalCustomers.pending=!1,e.externalCustomers.customers=t.payload,e.externalCustomers.searchString=""})),e.addCase(c.rejected,((e,t)=>{e.externalCustomers.pending=!1,e.externalCustomers.rejected=!0}))}}),l={},c=(0,r.zD)("customerSelector/getExternalCustomers",(async(e,t)=>{let{search:n,cartType:r}=e,{getState:i}=t;const s=await o.Ay.cartGetExternalCustomers((0,a.UN)(r,i()),n);for(const o of s.data)o.id&&o.customerName&&(l[o.id]=`${o.customerName} ${o.customerCode}`);return s.data})),u=e=>e.customerSelector.externalCustomers,d=(0,i.Mz)(u,(e=>l)),p={getExternalCustomerUsers:c},h={externalCustomers:u,externalCustomerNames:d},f=s.reducer},43538:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(23017),i=n(55951),o=(n(9950),n(24937)),a=n(44414);const s=e=>{var t,n,i,o;const[s,u,d]=(0,r.GV)((e=>{var t,n,r;let{user:i}=e;return[null===(t=i.userIdentity)||void 0===t?void 0:t.user,null===(n=i.userIdentity)||void 0===n?void 0:n.actingAs,null===(r=i.userIdentity)||void 0===r?void 0:r.isSelling]}));let p,h="";var f;e.user?(p=e.user,h=e.user.profileImageUrl):(p=d?u:s,h=null===(f=p)||void 0===f?void 0:f.profileImageUrl);const m=!h&&[null===(t=p)||void 0===t||null===(n=t.firstName)||void 0===n?void 0:n.slice(0,1),null===(i=p)||void 0===i||null===(o=i.lastName)||void 0===o?void 0:o.slice(0,1)].filter((e=>e));return h?(0,a.jsx)(l,{bgColor:"accent",src:h,alt:"profile image",...e}):(0,a.jsx)(c,{...e,children:m})},l=o.Ay.img.withConfig({componentId:"sc-51qqfk-0"})(["width:100%;height:100%;object-fit:cover;background-color:",";"],(e=>{let{theme:t,bgColor:n}=e;return n?t.colors[n]:(0,i.J1)(t.colors.main)>.95?(0,i.Qw)(.03,t.colors.main):(0,i.a)(.08,t.colors.main)})),c=o.Ay.div.withConfig({componentId:"sc-51qqfk-1"})(["letter-spacing:2px;"])},78247:(e,t,n)=>{"use strict";n.d(t,{A:()=>w});var r=n(22360),i=n(74959),o=n(99393),a=n(44361),s=n(33453),l=n(43099),c=n(23017),u=n(69435),d=(n(9950),n(70030)),p=n(34911),h=n(28429),f=n(24937),m=n(36355),g=n(43538),v=n(4930),y=n(3781),A=n(41103),b=n(44414);const w=e=>{var t,n,r,i,p,f,g;let{className:v,onClose:w,detached:k}=e;const{isAuthenticated:E,anonymous:I}=(0,c.GV)((e=>{let{authorization:t}=e;return t})),P=(0,c.GV)(A.mB),O=(0,c.GV)(A.eN),{identityAuthority:T,siteId:D,language:j}=(0,c.GV)((e=>{let{siteDefinition:t}=e;return t})),{isB2B:N}=(0,c.GV)(o.F),M=(0,c.GV)((e=>{let{controlPanel:t}=e;return t.show})),{t:R}=(0,d.B)(),L=(0,c.jL)(),F=(0,h.zy)(),z=(0,c.Wr)((()=>null!=w&&w()));return(0,b.jsxs)(S,{ref:z,"data-testid":"user-card",className:`${k?"position-absolute":""} ${v||""}`,children:["selling"===(null===O||void 0===O?void 0:O.customerRelation)&&(0,b.jsx)(x,{user:O.user,customer:O.customer,customerRelation:O.customerRelation,pending:O.pending,customerNumbers:"selling"===(null===O||void 0===O?void 0:O.customerRelation)?null===P||void 0===P||null===(t=P.orderOptions)||void 0===t?void 0:t.customerNumbers:void 0}),E&&(null===P||void 0===P?void 0:P.user)&&(0,b.jsx)(x,{customerNumbers:"selling"===(null===O||void 0===O?void 0:O.customerRelation)||null===(n=P.orderOptions)||void 0===n?void 0:n.customerNumbers,customer:null===P||void 0===P?void 0:P.customer,user:P.user,validCustomer:!I,salesContact:null===(r=P.customer)||void 0===r?void 0:r.salesContact}),E&&I&&N&&(0,b.jsx)(C,{status:null!==(i=null===P||void 0===P||null===(p=P.customer)||void 0===p?void 0:p.erpStatus)&&void 0!==i?i:u.ErpCustomerStatus.Error}),!E&&I&&N&&(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(C,{status:null!==(f=null===P||void 0===P||null===(g=P.customer)||void 0===g?void 0:g.erpStatus)&&void 0!==f?f:u.ErpCustomerStatus.Error}),(0,b.jsx)(s.N_,{className:"py-2 pl-2",to:`${T}/Register?lang=${null===j||void 0===j?void 0:j.name}&context=${D}&returnUrl=${window.location}`,children:R("user.register","Register")})]}),!E&&(0,b.jsx)(x,{user:null}),N&&(0,b.jsx)(B,{className:"p-3 pl-4",children:(0,b.jsx)(m.A,{})}),(0,b.jsxs)(s.so,{children:[k&&E&&N&&(0,b.jsxs)(_,{disabled:I,className:"","data-testid":"view-control-panel",onClick:()=>L((0,l._S)()),children:[M?R("general.hide","Hide"):R("general.show","Show")," ",R("general.tools","tools")]}),E||I?null!==P&&void 0!==P&&P.isSelling?(0,b.jsx)(_,{onClick:()=>L((0,y.Hi)()),children:R("seller.signOutCustomer","Sign out customer")}):(0,b.jsx)(_,{onClick:()=>L((0,a.S6)(F.pathname)),children:R("user.signOut","Sign out")}):(0,b.jsx)(_,{className:"w-100",onClick:async()=>await L((0,a.Pm)(F.pathname)),children:R("user.signIn","Sign in")})]})]})},x=e=>{var t;let{user:n,customer:i,customerRelation:a,validCustomer:l=!0,salesContact:u,className:h,customerNumbers:f,pending:m,hideUser:y}=e;const{identityAuthority:A,siteId:w,siteName:x,language:C}=(0,c.GV)((e=>{let{siteDefinition:t}=e;return t})),{isB2B:S}=(0,c.GV)(o.F),{t:k}=(0,d.B)();return m?(0,b.jsx)("div",{children:(0,b.jsx)(p.A,{height:100})}):(0,b.jsxs)(E,{customerRelation:a,className:`p-3 ${h}`,children:[l&&n&&(0,b.jsxs)(D,{justify:"between",align:"center",className:"text-nowrap",children:[x,(0,b.jsx)("div",{className:"visually-hidden",children:`${k("user.customerNumber","Customer no.")}: `}),(0,b.jsx)(v.A,{user:n,customerNumbers:null!==f&&void 0!==f?f:[],selectedCustomerCode:null!==(t=null===i||void 0===i?void 0:i.code)&&void 0!==t?t:void 0})]}),!y&&(0,b.jsxs)(s.so,{align:"center",className:"mt-3",children:[n&&(0,b.jsx)(P,{className:"mr-4 f3-400",align:"center",justify:"center",children:(0,b.jsx)(g.A,{user:n})}),!n&&(0,b.jsx)(P,{className:"mr-4 f3-400",align:"center",justify:"center",children:(0,b.jsx)(s.d,{icon:r.X46,iconColor:"fillSecondaryText",small:!0})}),(0,b.jsxs)(I,{children:["selling"===a&&(0,b.jsx)(j,{className:"mb-0 f3-400",children:k("seller.loggedInAs","Logged in as")}),n&&(0,b.jsx)(O,{children:n.fullName}),n&&(0,b.jsx)("div",{children:n.email}),!n&&(0,b.jsx)("div",{children:k("user.notLoggedIn")}),u&&S&&(0,b.jsxs)(s.so,{align:"center",children:[(0,b.jsx)("span",{className:"pr-1",children:`${k("user.salesContact","Sales contact")}: `}),(0,b.jsx)("span",{children:u})]}),!a&&n&&(0,b.jsx)(s.N_,{to:`${A}/Profile?lang=${null===C||void 0===C?void 0:C.name}&context=${w}&returnUrl=${window.location}`,children:k("user.viewAccount","View account")})]})]})]})},C=e=>{let{status:t}=e;const{t:n}=(0,d.B)(),i=n("user.customerWarningShort","Warning"),o=n("user.customerErrorShort","Error"),a=t===u.ErpCustomerStatus.Error?o:i;return t===u.ErpCustomerStatus.Success?null:(0,b.jsxs)(k,{className:"py-2",align:"center",children:[(0,b.jsx)(T,{size:"lg",className:"mx-2",icon:r.tUE,color:"warning"}),(0,b.jsx)("span",{children:a})]})},S=f.Ay.div.withConfig({componentId:"sc-bo35fr-0"})(["min-width:350px;"]),k=(0,f.Ay)(s.so).withConfig({componentId:"sc-bo35fr-1"})(["min-width:185px;"]),E=f.Ay.div.withConfig({componentId:"sc-bo35fr-2"})(["",""],(e=>{let{theme:t,customerRelation:n}=e;switch(n){case"selling":return`\n          color: ${t.colors.attentionText};\n          background: ${t.colors.attention};\n        `;case"override":return`\n          color: ${t.colors.accentText};\n          background: ${t.colors.accent};\n        `}})),I=f.Ay.div.withConfig({componentId:"sc-bo35fr-3"})(["white-space:nowrap;"]),_=(0,f.Ay)(s.$n).withConfig({componentId:"sc-bo35fr-4"})(["width:100%;height:45px;"]),P=(0,f.Ay)(s.so).withConfig({componentId:"sc-bo35fr-5"})(["height:60px;width:60px;flex-shrink:0;background:",";border-radius:30px;font-size:20px;color:",";overflow:hidden;"],(e=>{let{theme:t}=e;return t.colors.fillSecondary}),(e=>{let{theme:t}=e;return t.colors.fillSecondaryText})),O=f.Ay.div.withConfig({componentId:"sc-bo35fr-6"})(["font-family:",",helvetica,sans-serif;font-weight:700;margin-bottom:0;font-size:18px;"],(e=>{let{theme:t}=e;return t.typography.f3400family})),T=(0,f.Ay)(i.g).withConfig({componentId:"sc-bo35fr-7"})(["color:",";"],(e=>{let{theme:t}=e;return t.colors.warning})),D=(0,f.Ay)(s.so).withConfig({componentId:"sc-bo35fr-8"})(["font-size:12px;"]),j=f.Ay.label.withConfig({componentId:"sc-bo35fr-9"})(["font-size:14px;"]),B=f.Ay.div.withConfig({componentId:"sc-bo35fr-10"})(["border-top:1px solid ",";"],(e=>{let{theme:t}=e;return t.colors.borderGray}))},5874:(e,t,n)=>{"use strict";n.d(t,{A:()=>m});var r=n(72608),i=n(50361),o=n(33453),a=n(21202),s=n(23017),l=n(7691),c=n(70030),u=n(24937),d=n(4930),p=n(3781),h=n(41103),f=n(44414);const m=e=>{var t;let{small:n,className:u}=e;const m=(0,l.A)(h.eN),y=(0,l.A)(h.q_),A=(0,s.jL)(),{t:b}=(0,c.B)();if(!m)return null;const{customer:w,pending:x,customerRelation:C,user:S}=m,k="selling"===C?"attentionText":n?"accentText":"text";return(0,f.jsx)(a.A,{pending:x,className:u,color:k,bgColor:"selling"===C?"attention":n?"accent":"fillMedium",children:(0,f.jsxs)(f.Fragment,{children:[!x&&w&&S&&(0,f.jsx)(f.Fragment,{children:(0,f.jsxs)(o.so,{gap:"8px",column:n,className:n?"w-100":"",children:[(0,f.jsxs)(g,{justify:"center",small:n,children:[(0,f.jsx)(o.EY,{color:k,children:b("seller.loggedInAs","Logged in as")}),"selling"===C?(0,f.jsx)(o.EY,{color:k,bold:!0,className:"ml-1",children:S.email}):null]}),(0,f.jsx)(d.A,{customerNumbers:y,user:S,selectedCustomerCode:null!==(t=null===w||void 0===w?void 0:w.code)&&void 0!==t?t:void 0})]})}),!n&&"selling"===C&&(0,f.jsx)(v,{className:"mx-2",disableFont:!0,small:!0,bgColor:"white",icon:r.GRI,onClick:()=>{if("selling"===C){const e={stretchButtons:!0,title:b("seller.signOutCustomer","Sign out customer"),onOk:()=>{A((0,p.bc)(C))}};A((0,i.wp)(e))}else C&&A((0,p.bc)(C))},children:"selling"===C?b("seller.signOutCustomer","Sign out customer"):b("action.remove","Remove")})]})})},g=(0,u.Ay)(o.so).withConfig({componentId:"sc-u7p936-0"})([""," width:fit-content;margin-bottom:0;"],(e=>{let{small:t}=e;return t&&"font-size: 12px;"})),v=(0,u.Ay)(o.K0).withConfig({componentId:"sc-u7p936-1"})([""])},4930:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(33453),i=n(23017),o=n(24937),a=n(3781),s=n(41103),l=n(44414);const c=e=>{let{customerNumbers:t,selectedCustomerCode:n,user:o}=e;const c=(0,i.GV)(s.r5),d=(0,i.jL)(),p=null===t||void 0===t?void 0:t.map((e=>({value:e.code,label:`${e.code} ${e.name}`})));return null!==p&&void 0!==p&&p.length?(0,l.jsx)(u,{children:(0,l.jsx)(r.l6,{tiny:!0,isDisabled:c,isSearchable:!1,isMulti:!1,value:p.find((e=>e.value===n)),options:p,onChange:e=>{e&&d((0,a.r_)(e.value))}})}):(0,l.jsxs)(l.Fragment,{children:[o.customerCode," ",o.customerName]})},u=o.Ay.div.withConfig({componentId:"sc-1u2aaaj-0"})(["color:",";"],(e=>{let{theme:t}=e;return t.colors.text}))},3781:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>T,Ck:()=>x,Hi:()=>g,JC:()=>y,Jf:()=>k,KG:()=>P,PY:()=>D,Qe:()=>u,Te:()=>b,Xt:()=>A,b5:()=>w,bc:()=>f,dg:()=>S,dl:()=>p,r_:()=>v,ug:()=>h,zd:()=>m});var r=n(11359),i=n(44805),o=n(44361),a=n(41107),s=n(69435),l=n(35732),c=n(41103);const u="user/info",d="customer",p="user/price",h=(0,r.zD)(u+"/get",(async(e,t)=>{let{getState:n,dispatch:r}=t;if(!e)return null;const l=n(),c=l.siteDefinition;if(l.siteDefinition.commerceType===s.CommerceType.B2B){var u,d,p,h;const e=await i.Ay.customerGet(),t=O(c.commerceType,null!==(u=null===(d=e.data.customer)||void 0===d?void 0:d.erpStatus)&&void 0!==u?u:s.ErpCustomerStatus.Success),n=null!==(p=null===(h=e.data.customer)||void 0===h?void 0:h.erpStatus)&&void 0!==p?p:s.ErpCustomerStatus.Success,l=n===s.ErpCustomerStatus.Success;return r((0,o.rv)({anonymousMode:!l,erpStatus:n})),r((0,a.Pr)("shoppingCart")({identity:e.data})),{identity:e.data,priceViewSetting:t}}{r((0,o.um)(!0));const t=new s.CustomerApi({basePath:l.siteDefinition.commerceApiPath,isJsonMime:()=>!0,accessToken:e.access_token,baseOptions:{withCredentials:!0}});return{identity:(await t.customerGet()).data,priceViewSetting:s.PriceViewSetting.None}}})),f=e=>t=>{switch(e){case"selling":t(g());break;case"override":t(v())}},m=(0,r.zD)(`${u}/${d}/setSelling`,(async(e,t)=>{var n,r;let{getState:o,dispatch:l}=t;const c=o().siteDefinition,u=await i.Ay.customerSetSelling(e),d=O(c.commerceType,null!==(n=null===(r=u.data.customer)||void 0===r?void 0:r.erpStatus)&&void 0!==n?n:s.ErpCustomerStatus.Success);return l((0,a.Pr)("shoppingCart")({identity:u.data,forcePrice:!0})),{identity:u.data,priceViewSetting:d}})),g=(0,r.zD)(`${u}/${d}/stopSelling`,(async(e,t)=>{var n,r;let{getState:o,dispatch:l}=t;const c=o().siteDefinition,u=await i.Ay.customerStopSelling(),d=O(c.commerceType,null!==(n=null===(r=u.data.customer)||void 0===r?void 0:r.erpStatus)&&void 0!==n?n:s.ErpCustomerStatus.Success);return l((0,a.Pr)("shoppingCart")({identity:u.data,forcePrice:!0})),{identity:u.data,priceViewSetting:d}})),v=(0,r.zD)(`${u}/${d}/setCustomerOverride`,(async(e,t)=>{var n,r,o,l;let{getState:u,dispatch:d}=t;const p=null===(n=(0,c.mB)(u()))||void 0===n||null===(r=n.user)||void 0===r?void 0:r.customerCode;e&&p!==e?i.Ay.customerSetOverride(e):i.Ay.customerStopOverride();const h=(await i.Ay.customerGet()).data,f=O(u().siteDefinition.commerceType,null!==(o=null===(l=h.customer)||void 0===l?void 0:l.erpStatus)&&void 0!==o?o:s.ErpCustomerStatus.Success);return d((0,a.Pr)("shoppingCart")({identity:h,forcePrice:!0})),{identity:h,priceViewSetting:f}})),y=(0,r.zD)("user/customer/getUsers",(async e=>(await i.Ay.customerGetUsers(e)).data),{condition:(e,t)=>{let{getState:n}=t;const r=D(n());return!r.users.length||r.searchString!==e}}),A=(0,r.zD)("user/order/getOrderSubscriptions",(async()=>(await i.Ay.orderSubscriptions()).data)),b=(0,r.zD)("user/order/orderAddSubscription",(async e=>(await i.Ay.orderAddSubscription(e)).data)),w=(0,r.zD)("user/order/orderDeleteSubscription",(async e=>(await i.Ay.orderDeleteSubscription(e)).data)),x=(0,r.zD)("customerpricelist/GetCustomerPriceList",(async()=>(await i.Ay.getCustomerPriceList()).data)),C=(0,r.zD)("customerpricelist/DeleteCustomerPriceList",(async e=>(await i.Ay.removeCustomerPriceList(e)).data)),S=(0,r.zD)("customerpricelist/AddPriceList",(async()=>(await i.Ay.addCustomerPriceList()).data)),k=(0,r.zD)(p+"/setPriceViewSetting",(async e=>{let{priceSetting:t,persistToLocalStorage:n}=e;return n&&function(e){localStorage.setItem("user_price_view_setting",e.toString())}(t),t})),E={pending:!1,customerPending:!1,priceViewSetting:s.PriceViewSetting.Retail,successfullyAuthenticated:!1,priceLists:[],customerUsers:{state:"uninitialized",users:[]},orderSubscriptions:{loading:!1,subscriptions:[]}},I=(0,r.Z0)({name:"user",initialState:E,reducers:{},extraReducers:e=>{e.addCase(y.pending,((e,t)=>{e.customerUsers.searchString=t.meta.arg,e.customerUsers.state="pending"})),e.addCase(y.fulfilled,((e,t)=>{e.customerUsers.users=t.payload,e.customerUsers.state="loaded"})),e.addCase(y.rejected,((e,t)=>{e.customerUsers.errorMsg=t.error.message,e.customerUsers.state="error"})),e.addCase(x.fulfilled,((e,t)=>{var n;e.priceLists=null!==(n=t.payload)&&void 0!==n?n:[]})),e.addCase(C.fulfilled,((e,t)=>{var n;e.priceLists=null!==(n=t.payload)&&void 0!==n?n:[]})),e.addCase(S.fulfilled,((e,t)=>{var n;e.priceLists=null!==(n=t.payload)&&void 0!==n?n:[]})),e.addCase(A.pending,(e=>{e.orderSubscriptions.loading=!0})),e.addCase(A.fulfilled,((e,t)=>{e.orderSubscriptions.subscriptions=t.payload,e.orderSubscriptions.loading=!1,e.orderSubscriptions.rejected=!1})),e.addCase(A.rejected,((e,t)=>{e.orderSubscriptions.rejected=!0,e.orderSubscriptions.loading=!1})),e.addCase(b.fulfilled,((e,t)=>{e.orderSubscriptions.subscriptions=t.payload,e.orderSubscriptions.loading=!1,e.orderSubscriptions.rejected=!1})),e.addCase(b.rejected,((e,t)=>{e.orderSubscriptions.rejected=!0,e.orderSubscriptions.loading=!1})),e.addCase(w.fulfilled,((e,t)=>{e.orderSubscriptions.subscriptions=t.payload,e.orderSubscriptions.loading=!1,e.orderSubscriptions.rejected=!1})),e.addCase(w.rejected,((e,t)=>{e.orderSubscriptions.rejected=!0,e.orderSubscriptions.loading=!1})),e.addMatcher((0,l.Ic)(`${u}/${d}`),(e=>{e.customerPending=!1})),e.addMatcher((0,l.b5)(`${u}/${d}`),(e=>{e.customerPending=!1})),e.addMatcher((0,l._H)(`${u}/${d}`),(e=>{e.customerPending=!0})),e.addMatcher((0,l._H)(u),(e=>{e.pending=!0})),e.addMatcher(_,((e,t)=>{var n;const{identity:r,priceViewSetting:i}=t.payload;e.userIdentity=r,!1!==(null===(n=r.orderOptions)||void 0===n?void 0:n.priceEnabled)||i!==s.PriceViewSetting.Customer&&i!==s.PriceViewSetting.RetailAndCustomer?e.priceViewSetting=i:e.priceViewSetting=s.PriceViewSetting.Retail,e.pending=!1})),e.addMatcher((0,l.b5)(u),(e=>{e.pending=!1})),e.addMatcher((0,l.Ic)(p),((e,t)=>{e.priceViewSetting=t.payload}))}}),_=e=>(0,l.Ic)(u)(e)&&e.payload&&"priceViewSetting"in e.payload&&"identity"in e.payload;function P(e){return O(e,null,!1)}function O(e,t){let n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(t!==s.ErpCustomerStatus.Success&&null!=t)return s.PriceViewSetting.Retail;if(n){var r;switch(parseInt(null!==(r=localStorage.getItem("user_price_view_setting"))&&void 0!==r?r:"0")){case 0:return s.PriceViewSetting.Customer;case 1:return s.PriceViewSetting.Retail;case 2:return s.PriceViewSetting.RetailAndCustomer;case 3:return s.PriceViewSetting.None}}return e===s.CommerceType.B2B?null!=t?s.PriceViewSetting.Customer:s.PriceViewSetting.Retail:[s.CommerceType.B2BResellers,s.CommerceType.B2C].includes(e)?s.PriceViewSetting.Customer:s.PriceViewSetting.Retail}const T=I.reducer,D=e=>e.user.customerUsers},41103:(e,t,n)=>{"use strict";n.d(t,{GY:()=>d,I:()=>g,IV:()=>l,N0:()=>m,Np:()=>h,eN:()=>c,mB:()=>a,q_:()=>f,r5:()=>s,tO:()=>p});var r=n(85913),i=n(69435),o=n(7430);const a=e=>e.user.userIdentity,s=e=>e.user.customerPending,l=e=>{var t;return null===(t=e.user.userIdentity)||void 0===t?void 0:t.orderOptions},c=(0,r.Mz)(a,s,((e,t)=>{var n,r,i;if(t)return{pending:!0};if(!e)return;const o=null===e||void 0===e||null===(n=e.user)||void 0===n?void 0:n.customerCode,a=null===e||void 0===e||null===(r=e.orderOptions)||void 0===r?void 0:r.customerNumbers,s=null===e||void 0===e||null===(i=e.customer)||void 0===i?void 0:i.code;return e.isSelling&&!!e.actingAs?{customerRelation:"selling",user:e.actingAs,customer:e.customer,customerNumbers:a}:null!==a&&void 0!==a&&a.length?s!==o?{customerRelation:"override",user:e.user,customer:e.customer,customerNumbers:a}:{user:e.user,customer:e.customer,customerNumbers:a}:void 0})),u=["Offer","MicroShop","Refinement","Salesboard","Articles","Export","ExportImages","ExternalCustomers"];const d=(0,r.Mz)(a,(e=>{const t=new Set;return null!==e&&void 0!==e&&e.features?(Object.entries(e.features).reduce(((e,t)=>{const[n,r]=t;var i;return r&&(i=n,u.includes(i))&&e.add(n),e}),t),t):t})),p=(0,r.Mz)(a,(e=>(null===e||void 0===e?void 0:e.isSeller)||!1)),h=(0,r.Mz)(a,(e=>(null===e||void 0===e?void 0:e.isSelling)||!1)),f=(0,r.Mz)(a,(e=>{var t,n;return null!==(t=null===e||void 0===e||null===(n=e.orderOptions)||void 0===n?void 0:n.customerNumbers)&&void 0!==t?t:[]})),m=((0,r.Mz)(d,a,((e,t)=>!!(0,o.qe)()||!(null===t||void 0===t||!t.isSeller)&&e.has("Export"))),(0,r.Mz)(d,(e=>!!(0,o.qe)()||e.has("ExportImages")))),g=(0,r.Mz)(d,(e=>e.authorization.isAuthenticated),(e=>e.siteDefinition.commerceType),((e,t,n)=>e.has("Offer")&&t&&n===i.CommerceType.B2B))},9030:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(24937).Ay.div.withConfig({componentId:"sc-1yoyry0-0"})(["position:relative;width:","px;height:","px;border-radius:","px;flex-shrink:0;"," "," "," "," border:1px solid ",";border-width:","px;",""],(e=>{let{large:t,medium:n}=e;return n?20:t?24:14}),(e=>{let{large:t,medium:n}=e;return n?20:t?24:14}),(e=>{let{large:t,medium:n}=e;return n?10:t?12:7}),(e=>{let{theme:t,colors:n,hex:r}=e;return!(null!==n&&void 0!==n&&n.length)&&!(null!==r&&void 0!==r&&r.length)&&`background-color: ${t.colors.fill};`}),(e=>{var t;let{theme:n,colors:r,hex:i}=e;return(1===(null===r||void 0===r?void 0:r.length)||1===(null===i||void 0===i?void 0:i.length))&&`background-color: ${null!==(t=n.webColors[null===r||void 0===r?void 0:r[0]])&&void 0!==t?t:null===i||void 0===i?void 0:i[0]};`}),(e=>{var t,n;let{theme:r,colors:i,hex:o}=e;return(2===(null===i||void 0===i?void 0:i.length)||2===(null===o||void 0===o?void 0:o.length))&&`background: linear-gradient(45deg, ${null!==(t=r.webColors[null===i||void 0===i?void 0:i[0]])&&void 0!==t?t:null===o||void 0===o?void 0:o[0]} 49% , ${null!==(n=r.webColors[null===i||void 0===i?void 0:i[1]])&&void 0!==n?n:null===o||void 0===o?void 0:o[1]} 51%);`}),(e=>{let{colors:t,theme:n,hex:r}=e;return(t&&t.length>2||r&&r.length>2)&&`\n      background-image:\n        radial-gradient(\n          white,\n          rgba(255, 255, 255, 0) 0%\n        ),\n        \n        \n        conic-gradient(\n          \n          ${t?t.map(((e,r)=>`${n.webColors[e]} ${360/t.length*r}deg ${360/t.length*(r+1)-3}deg`)):r.map(((e,n)=>`${e} ${360/r.length*n}deg ${360/t.length*(n+1)-3}deg`))}\n        \n        \n        )\n      ;\n    `}),(e=>{let{theme:t,border:n}=e;return`${null!==n&&void 0!==n?n:t.colors.fillMedium}`}),(e=>{let{colors:t,large:n}=e;return null===t||void 0===t||!t.length||null!==t&&void 0!==t&&t.some((e=>"white"===e))?2:n?0:1}),(e=>{let{hoverable:t}=e;return t&&"\n    transition: filter 0.2s linear;\n    &:hover {\n      > div:first-of-type {\n        filter: brightness(90%);\n        transition: filter 0.2s linear;\n      }\n    }\n  "}))},6760:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(24937).Ay.img.withConfig({componentId:"sc-lqoe7h-0"})(["position:relative;background:white;width:100%;height:",";object-fit:contain;border-bottom:3px solid ",";padding:",";&:hover,&:focus{","}"],(e=>{let{pad:t}=e;return t?"120px":"auto"}),(e=>{let{selected:t,theme:n}=e;return t?`${n.colors.accent}`:"transparent"}),(e=>{let{pad:t}=e;return t?"6px":"0"}),(e=>{let{selected:t}=e;return!t&&"border-color: initial;"}))},32452:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>y,J8:()=>f,d2:()=>g,vV:()=>v});var r=n(72608),i=n(22360),o=n(28181),a=n(74959),s=n(41107),l=n(33453),c=n(69435),u=n(9950),d=n(70030),p=n(24937),h=n(44414);function f(e){var t,n;return null===(t=e.files)||void 0===t||null===(n=t.filter((e=>{var t;return!/-(converted|preview|sample)\./.test(null!==(t=e.fileName)&&void 0!==t?t:"")})))||void 0===n?void 0:n.map(((e,t)=>(0,h.jsx)("div",{children:(0,h.jsx)(T,{className:"f3-400",target:"_blank",rel:"noreferrer",href:null===e||void 0===e?void 0:e.url,children:null===e||void 0===e?void 0:e.fileName})},t)))}const m=new Set([c.ShopCartRefinementInputType.Color,c.ShopCartRefinementInputType.Addon,c.ShopCartRefinementInputType.ColorBacking,c.ShopCartRefinementInputType.Font,c.ShopCartRefinementInputType.Repeat]);function g(e){if(!e)return[];return e.filter((e=>e.type&&m.has(e.type))).map(((e,t)=>e.type===c.ShopCartRefinementInputType.Color&&e.value&&CSS.supports("color",e.value)?(0,h.jsx)(l.so,{align:"center",children:(0,h.jsx)(j,{color:e.value,className:"mr-1"})},t):(0,s._7)(e)))}function v(e){var t,n;const r=null===(t=e.inputs)||void 0===t||null===(n=t.find((e=>e.type===c.ShopCartRefinementInputType.Size)))||void 0===n?void 0:n.value;return`${e.productName}${r?" - ":""}${null!==r&&void 0!==r?r:""}`}const y=e=>{var t,n,s,p,f,m,g,v,y,A,T;const{t:B}=(0,d.B)(),N=!!e.img||!(null!==(t=e.options)&&void 0!==t&&t.tinyIcon),M=e.showDetailedColors&&(null===(n=e.colors)||void 0===n?void 0:n.some((e=>{var t;return(null!==(t=null===e||void 0===e?void 0:e.source)&&void 0!==t?t:0)>0})));return(0,h.jsx)(b,{className:e.className,children:(0,h.jsxs)(l.so,{align:"center",children:[(0,h.jsx)(l.g6,{portal:null===(s=e.options)||void 0===s||null===(p=s.image)||void 0===p?void 0:p.modalPortal,disabled:!e.img,renderTrigger:t=>{var n,o;return(0,h.jsx)(x,{onClick:t,className:"mr-2 p-1",as:e.img?"button":void 0,darkBg:null===(n=e.options)||void 0===n||null===(o=n.image)||void 0===o?void 0:o.darkBackground,children:e.img?(0,h.jsx)(C,{src:e.img,alt:e.imgAlt}):(0,h.jsx)(S,{justify:"center",children:(0,h.jsx)(a.g,{size:"2x",icon:"number"===typeof e.addonIndex?r.qIE:e.invalid?i.Dfk:i.EvL})})})},children:(0,h.jsx)(w,{darkBg:null===(f=e.options)||void 0===f||null===(m=f.image)||void 0===m?void 0:m.darkBackground,children:(0,h.jsx)("img",{src:e.img,alt:e.imgAlt})})}),(0,h.jsxs)(k,{column:!0,$grow:1,children:[(0,h.jsxs)("span",{className:"f1-500",children:[e.invalidVariation&&(0,h.jsx)(E,{color:"red",icon:o.zpE,className:"mr-2"}),!N&&(0,h.jsx)(E,{icon:"number"===typeof e.addonIndex?r.qIE:e.invalid?i.Dfk:i.EvL,className:"mr-2"}),(0,h.jsx)(l.EY,{bold:!0,small:!(null!==(g=e.options)&&void 0!==g&&g.largeName),children:null!=e.name&&e.name})]}),null===(v=e.info)||void 0===v?void 0:v.map(((e,t)=>(0,h.jsx)(I,{className:"f3-400",children:e},`addon_${t}`))),e.colors&&e.colors.length>0&&(0,h.jsx)(_,{className:"f3-400",asColumn:M,children:e.colors.map(((t,n,r)=>{const o=M?t.name:`${t.name}${n+1<r.length?",":""}`,s=t.source&&B("refinement.sourceInfo",{context:c.PMSColorSource[t.source]});return t.hex&&CSS.supports("color",t.hex)?(0,h.jsxs)(l.so,{className:"mr-1",align:"center",title:!e.showDetailedColors&&s||void 0,children:[(0,h.jsx)(j,{color:t.hex,className:"mr-1"}),(0,h.jsx)(l.EY,{fontSize:12,nowrap:!0,children:o}),M&&(null===t||void 0===t?void 0:t.source)!==c.PMSColorSource.None&&(0,h.jsxs)(l.so,{className:"ml-1",align:"center",children:[(0,h.jsx)(a.g,{icon:i.iW_,className:"mr-1"}),(0,h.jsx)(l.EY,{fontSize:12,nowrap:!0,children:s})]})]},n):o}))}),e.colorChange&&e.colorChange.length>0&&(0,h.jsx)(_,{className:"f3-400",asColumn:M,children:e.colorChange.map(((e,t,n)=>{const r=M?e.name:`${e.name}${t+1<n.length?",":""}`;return e.hex&&CSS.supports("color",e.hex)?(0,h.jsxs)(l.so,{className:"mr-1",align:"center",gap:"0.25rem",children:[(0,h.jsxs)(I,{children:[B("refinement.colorChange"),":"]}),(0,h.jsx)(j,{color:e.hex}),(0,h.jsx)(I,{children:e.name})]},t):r}))}),null===(y=e.files)||void 0===y?void 0:y.map(((e,t)=>(0,h.jsx)(u.Fragment,{children:e},`file${t}`))),e.invalid&&(0,h.jsx)(P,{children:B("cart.errorInvalidSku","Invalid: Article does not exist.")}),"number"!==typeof e.addonIndex&&!(null!==(A=e.options)&&void 0!==A&&null!==(T=A.hide)&&void 0!==T&&T.comment)&&e.setEditingComment&&(0,h.jsxs)(O,{align:"center",className:"pointer f3-400",onClick:()=>{var t;return null===(t=e.setEditingComment)||void 0===t?void 0:t.call(e,!0)},children:[(0,h.jsx)(a.g,{size:"1x",className:"mr-1",icon:i.G7W}),!e.editingComment&&e.comment]}),"number"===typeof e.addonIndex&&((null===e||void 0===e?void 0:e.onEditRefinements)||(null===e||void 0===e?void 0:e.onRemoveRefinements))&&(0,h.jsxs)(D,{className:"mt-1",children:[(null===e||void 0===e?void 0:e.onEditRefinements)&&(0,h.jsx)(l.gK,{fontSize:"13px",className:"f3-400 d-block",onClick:e.onEditRefinements,children:B("action.edit","Edit")}),(null===e||void 0===e?void 0:e.onRemoveRefinements)&&(0,h.jsx)(l.gK,{fontSize:"13px",className:"f3-400 d-block",onClick:e.onRemoveRefinements,children:B("action.remove","Remove")})]})]})]})})},A=p.Ay.div.withConfig({componentId:"sc-1j9h6ww-0"})(["flex-shrink:0;"]),b=(0,p.Ay)(A).withConfig({componentId:"sc-1j9h6ww-1"})(["flex-grow:2;flex-shrink:2;"]),w=p.Ay.div.withConfig({componentId:"sc-1j9h6ww-2"})(["position:relative;padding:2rem;background-color:",";> img{max-width:100%;max-height:100%;}"],(e=>{let{theme:t,darkBg:n}=e;return n?t.colors.transparentBg:"white"})),x=p.Ay.div.withConfig({componentId:"sc-1j9h6ww-3"})(["width:56px;min-width:56px;",";",""],(e=>{let{as:t}=e;return"button"===t&&"\n      border: none;\n      background-color: transparent;\n    "}),(e=>{let{darkBg:t,theme:n}=e;return t&&`background:  ${n.colors.transparentBg};`})),C=p.Ay.img.withConfig({componentId:"sc-1j9h6ww-4"})(["width:48px;max-height:60px;object-fit:contain;"]),S=(0,p.Ay)(l.so).withConfig({componentId:"sc-1j9h6ww-5"})(["width:48px;"]),k=(0,p.Ay)(l.so).withConfig({componentId:"sc-1j9h6ww-6"})(["font-size:12px;"]),E=(0,p.Ay)(a.g).withConfig({componentId:"sc-1j9h6ww-7"})(["font-size:16px;"]),I=p.Ay.div.withConfig({componentId:"sc-1j9h6ww-8"})(["color:",";"],(e=>{let{theme:t}=e;return t.colors.textLight})),_=(0,p.Ay)(I).withConfig({componentId:"sc-1j9h6ww-9"})(["display:flex;flex-wrap:wrap;flex-direction:",";"],(e=>{let{asColumn:t}=e;return t?"column":"row"})),P=(0,p.Ay)(I).withConfig({componentId:"sc-1j9h6ww-10"})(["color:",";"],(e=>{let{theme:t}=e;return t.colors.error})),O=(0,p.Ay)(l.so).withConfig({componentId:"sc-1j9h6ww-11"})(["min-height:18px;white-space:normal;word-break:break-word;color:",";"],(e=>{let{theme:t}=e;return t.colors.textLight})),T=p.Ay.a.withConfig({componentId:"sc-1j9h6ww-12"})(["color:",";text-decoration:none;"],(e=>{let{theme:t}=e;return t.colors.textLight})),D=(0,p.Ay)(l.so).withConfig({componentId:"sc-1j9h6ww-13"})(["> *:not(:last-child){margin-right:10px;}"]),j=p.Ay.div.withConfig({componentId:"sc-1j9h6ww-14"})(["height:10px;width:10px;border-radius:5px;background-color:",";border:1px solid gray;"],(e=>{let{color:t}=e;return t}))},57730:(e,t,n)=>{"use strict";n.d(t,{A:()=>l,M:()=>c});var r=n(33453),i=n(23017),o=(n(9950),n(70030)),a=n(99393),s=n(44414);const l=e=>{let{delivery:t,email:n,cartOptions:l,changeable:c,onChangeClick:u}=e;const{t:d}=(0,o.B)(),{isB2B:p}=(0,i.GV)(a.F),h=function(e,t,n){var r;const i=null!==e&&void 0!==e&&e.addressId&&999!==e.addressId?null===n||void 0===n||null===(r=n.deliveryAddresses)||void 0===r?void 0:r.find((t=>{var n;return t.id===(null===e||void 0===e||null===(n=e.addressId)||void 0===n?void 0:n.toString())})):e;if(!i)return{};return function(e){return!!e&&e.hasOwnProperty("name")}(i)?{name:i.name,recip:void 0,street:i.street,street2:i.street2,zip:i.zipCode,city:i.city,country:i.country}:t?{name:i.company,recip:void 0,street:i.address1,street2:i.address2,zip:i.postalCode,city:i.city,country:void 0}:{name:i.company?i.company:`${i.firstName} ${i.lastName}`,recip:i.company?`${i.firstName} ${i.lastName}`:void 0,street:i.address1,street2:void 0,zip:i.postalCode,city:i.city,country:void 0}}(t,p,l);return(0,s.jsxs)("div",{children:[(0,s.jsx)(r.EY,{uppercase:!0,className:"f3-700",children:null===h||void 0===h?void 0:h.name}),(null===h||void 0===h?void 0:h.recip)&&(0,s.jsx)(r.EY,{children:null===h||void 0===h?void 0:h.recip}),(0,s.jsx)(r.EY,{light:!0,children:null===h||void 0===h?void 0:h.street}),(null===h||void 0===h?void 0:h.street2)&&(0,s.jsx)(r.EY,{children:null===h||void 0===h?void 0:h.street2}),(0,s.jsxs)(r.EY,{light:!0,className:"mb-2",children:[null===h||void 0===h?void 0:h.zip," ",null===h||void 0===h?void 0:h.city]}),n&&(0,s.jsxs)(r.so,{children:[(0,s.jsxs)(r.EY,{className:"f3-700 mr-1",children:[d("contact.email"),":"]}),(0,s.jsx)(r.EY,{children:n})]}),(null===t||void 0===t?void 0:t.phone)&&(0,s.jsxs)(r.so,{children:[(0,s.jsxs)(r.EY,{className:"f3-700 mr-1",children:[d("contact.phone"),":"]}),(0,s.jsx)(r.EY,{children:null===t||void 0===t?void 0:t.phone})]}),c&&(0,s.jsx)(r.gK,{onClick:u,className:"d-block mt-2 align",fontSize:"12px",color:"textFaded",children:d("action.change","Change")})]})};function c(e,t){return{company:e.name,address1:e.adressLine1,address2:e.adressLine2,city:e.city,country:e.country,postalCode:e.postalCode,packageLabel:null===t||void 0===t?void 0:t.packageLabel,reference:null===t||void 0===t?void 0:t.reference,orderReference:null===t||void 0===t?void 0:t.orderReference,phone:e.phone,comment:null===t||void 0===t?void 0:t.comment}}},73983:(e,t,n)=>{"use strict";n.d(t,{LT:()=>r.Ay,iv:()=>u,vM:()=>m.A,rD:()=>v,ZR:()=>w,aj:()=>d,e8:()=>p,J8:()=>r.J8});var r=n(32452),i=n(74959),o=n(31664),a=n(78735),s=n(33453),l=(n(9950),n(24937)),c=n(44414);const u=e=>{var t;let{header:n,headerIcon:r,validate:i,valid:s,children:l,validText:u,errorText:m,locked:g,headerLink:v,align:y,className:A}=e;return(0,c.jsxs)(p,{locked:g,className:A,children:[(null!==(t=null!==n&&void 0!==n?n:r)&&void 0!==t?t:i)&&(0,c.jsxs)(h,{className:(null!==g&&void 0!==g?g:s===o.H.Valid&&u)?"":s===o.H.Valid?"mb-2":"mb-4",justify:"between",align:y,children:[(0,c.jsxs)(f,{locked:g,className:"f3-700",children:[n,r&&(0,c.jsx)(d,{className:"ml-2",icon:r})]}),i&&(0,c.jsx)(a.A,{valid:s,errorText:m,validText:u}),v&&v]}),l]})},d=(0,l.Ay)(i.g).withConfig({componentId:"sc-qghcij-0"})(["font-size:16px;"]),p=l.Ay.div.withConfig({componentId:"sc-qghcij-1"})([""," border-bottom:2px solid ",";padding:20px;",""],(e=>{let{hidden:t}=e;return t&&"visibility: hidden;"}),(e=>{let{theme:t}=e;return t.colors.fill}),(e=>{let{theme:t,locked:n}=e;return n&&`\n      background-color: ${t.colors.fillMedium};\n      color: ${t.colors.textFaded};\n      `})),h=(0,l.Ay)(s.so).withConfig({componentId:"sc-qghcij-2"})([""]),f=l.Ay.h2.withConfig({componentId:"sc-qghcij-3"})(["font-size:16px;line-height:22px;",""],(e=>{let{theme:t,locked:n}=e;return n&&`\n      color: ${t.colors.text};\n    `}));var m=n(57730),g=n(70030);const v=e=>{let{order:t,editable:n,onEditClick:r}=e;const{t:i}=(0,g.B)();return(0,c.jsxs)(c.Fragment,{children:[((null===t||void 0===t?void 0:t.packageLabel)||(null===t||void 0===t?void 0:t.reference)||(null===t||void 0===t?void 0:t.orderReference)||(null===t||void 0===t?void 0:t.comment))&&(0,c.jsxs)("div",{className:"mb-2",children:[t.deliveryType&&(0,c.jsxs)(y,{children:[(0,c.jsx)(A,{className:"f3-700",children:i("shipment.deliveryType","Delivery type")}),(0,c.jsx)(b,{children:t.deliveryType})]}),t.packageLabel&&(0,c.jsxs)(y,{children:[(0,c.jsx)(A,{className:"f3-700",children:i("shipment.packageLabel","Package label")}),(0,c.jsx)(b,{children:t.packageLabel})]}),t.reference&&(0,c.jsxs)(y,{children:[(0,c.jsx)(A,{className:"f3-700",children:i("shipment.yourReference","Your reference")}),(0,c.jsx)(b,{children:t.reference})]}),t.orderReference&&(0,c.jsxs)(y,{children:[(0,c.jsx)(A,{className:"f3-700",children:i("shipment.yourOrderNumber","Your ordernumber")}),(0,c.jsx)(b,{children:t.orderReference})]}),t.comment&&(0,c.jsxs)(y,{children:[(0,c.jsx)(A,{className:"f3-700",children:i("general.comment","Comment")}),(0,c.jsx)(b,{children:t.comment})]})]}),n&&(0,c.jsx)(s.gK,{onClick:r,className:"d-block align",fontSize:"12px",color:"textFaded",children:i("action.change","Change")})]})},y=l.Ay.div.withConfig({componentId:"sc-17su9dd-0"})([""]),A=(0,l.Ay)(s.EY).withConfig({componentId:"sc-17su9dd-1"})(["display:inline-block;font-size:14px;margin-right:0.5em;"]),b=(0,l.Ay)(A).withConfig({componentId:"sc-17su9dd-2"})([""]),w=e=>{let{orderTypeDescription:t,editable:n,onEditClick:r}=e;const{t:i}=(0,g.B)();return n?(0,c.jsx)(s.gK,{onClick:r,className:"d-blocks align",fontSize:"12px",color:"textFaded",children:i("action.change","Change")}):(0,c.jsx)(x,{children:t})},x=(0,l.Ay)(s.EY).withConfig({componentId:"sc-7ybqdw-0"})(["font-size:14px;"])},99393:(e,t,n)=>{"use strict";n.d(t,{F:()=>a,q:()=>o});var r=n(85913),i=n(69435);const o=e=>e.siteDefinition.commerceType,a=(0,r.Mz)(o,(e=>({isNone:e===i.CommerceType.None,isB2B:e===i.CommerceType.B2B,isB2C:e===i.CommerceType.B2C,isB2BReseller:e===i.CommerceType.B2BResellers,commerceType:e})))},60231:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(10025);const i=e=>{let{content:t,displayOption:n}=e;return(0,r.A)(t,n)}},8795:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Contact:()=>l,default:()=>c});var r=n(72608),i=n(74959),o=n(33453),a=(n(9950),n(24937)),s=n(44414);const l=e=>{let{firstName:t,lastName:n,phone:i,title:a,email:l,image:c,displayRow:u,url:f,displayNoRadiusOnImage:m}=e;const g=t&&n&&[null===t||void 0===t?void 0:t.slice(0,1),null===n||void 0===n?void 0:n.slice(0,1)].filter((e=>e));return(0,s.jsxs)(o.so,{$wrap:!0,align:m&&u?"start":"center",column:u,children:[c?(0,s.jsx)(d,{src:c,displayRow:u,displayNoRadiusOnImage:m}):(0,s.jsx)(p,{displayNoRadiusOnImage:m,className:"f3-500",children:g}),(0,s.jsxs)(o.so,{column:!0,className:"p-2",children:[(0,s.jsx)(o.N_,{to:null!==f&&void 0!==f?f:"",children:(0,s.jsx)(o.EY,{fontSize:16,lineheight:18,bold:!0,className:"f1-500 p-1",underline:void 0!==f&&(null===f||void 0===f?void 0:f.length)>0,children:`${t} ${n}`})}),a&&(0,s.jsx)(o.EY,{fontSize:14,lineheight:18,className:"f1-400 p-1",children:a}),l&&(0,s.jsxs)(o.EY,{fontSize:14,lineheight:18,className:"f1-400 p-1",children:[(0,s.jsx)(h,{icon:r.Hzw,className:"pr-1"}),l]}),i&&(0,s.jsxs)(o.EY,{fontSize:14,lineheight:18,className:"f1-400 p-1",children:[(0,s.jsx)(h,{icon:r.GrJ,className:"pr-1"}),i]})]})]})},c=e=>{var t,n,r,i,o,a,c;return(0,s.jsx)(u,{column:!0,className:"w-100",children:(0,s.jsx)(l,{firstName:null===e||void 0===e||null===(t=e.firstName)||void 0===t?void 0:t.value,lastName:null===e||void 0===e||null===(n=e.lastName)||void 0===n?void 0:n.value,email:null===e||void 0===e||null===(r=e.email)||void 0===r?void 0:r.value,phone:null===e||void 0===e||null===(i=e.phone)||void 0===i?void 0:i.value,title:null===e||void 0===e||null===(o=e.title)||void 0===o?void 0:o.value,image:null===e||void 0===e||null===(a=e.image)||void 0===a||null===(c=a.url)||void 0===c?void 0:c.value})})},u=(0,a.Ay)(o.so).withConfig({componentId:"sc-1nvkcca-0"})(["background:",";padding:54px;"],(e=>{let{theme:t}=e;return t.colors.fillWhite})),d=a.Ay.img.withConfig({componentId:"sc-1nvkcca-1"})(["width:",";height:",";object-fit:cover;border-radius:",";"],(e=>{let{displayRow:t}=e;return t?"250px !important":"38px !important"}),(e=>{let{displayRow:t}=e;return t?"250px !important":"38px !important"}),(e=>{let{displayNoRadiusOnImage:t}=e;return t?"none":"100%"})),p=a.Ay.div.withConfig({componentId:"sc-1nvkcca-2"})(["width:38px;height:38px;border-radius:",";background:",";text-align:center;letter-spacing:2px;line-height:38px;color:",";"],(e=>{let{displayNoRadiusOnImage:t}=e;return t?"none":"100%"}),(e=>{let{theme:t}=e;return t.colors.accent}),(e=>{let{theme:t}=e;return t.colors.fillWhite})),h=(0,a.Ay)(i.g).withConfig({componentId:"sc-1nvkcca-3"})(["color:",";"],(e=>{let{theme:t}=e;return t.colors.accent}))},10025:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(13227),i=n(9950),o=n(23017),a=n(44414);const s=e=>{let{url:t}=e;const{loaded:n}=(0,o.lK)(t);return n&&t?(0,a.jsx)("div",{className:"ImageFile",children:(0,a.jsx)("img",{rel:"preload",className:"img-fluid",src:t,alt:t})}):null},l={CartPage:(0,i.lazy)((()=>n.e(2174).then(n.bind(n,42174)))),GeneralErrorPage:(0,i.lazy)((()=>Promise.resolve().then(n.bind(n,32445)))),ContentPage:(0,i.lazy)((()=>n.e(5210).then(n.bind(n,15210)))),NewsListingPage:(0,i.lazy)((()=>n.e(2750).then(n.bind(n,22750)))),NewsListPage:(0,i.lazy)((()=>n.e(2750).then(n.bind(n,22750)))),NewsSpaPage:(0,i.lazy)((()=>n.e(6860).then(n.bind(n,76860)))),ResellerPage:(0,i.lazy)((()=>n.e(5349).then(n.bind(n,95349)))),ResellerListPage:(0,i.lazy)((()=>Promise.all([n.e(9286),n.e(1017)]).then(n.bind(n,1017)))),SpaStartPage:(0,i.lazy)((()=>n.e(681).then(n.bind(n,50681)))),PageNotFoundPage:(0,i.lazy)((()=>n.e(7619).then(n.bind(n,77619)))),UnAuthorizedPage:(0,i.lazy)((()=>n.e(5009).then(n.bind(n,45009)))),StandardPage:(0,i.lazy)((()=>n.e(968).then(n.bind(n,20968)))),EventsPage:(0,i.lazy)((()=>Promise.all([n.e(6132),n.e(7285)]).then(n.bind(n,41359)))),EventDetailsPage:(0,i.lazy)((()=>n.e(7441).then(n.bind(n,7441)))),ContactDetailsPage:(0,i.lazy)((()=>n.e(9749).then(n.bind(n,39749)))),ToolsOverviewPage:(0,i.lazy)((()=>n.e(1798).then(n.bind(n,31798)))),SearchResultPage:(0,i.lazy)((()=>Promise.resolve().then(n.bind(n,12520)))),StartPage:(0,i.lazy)((()=>n.e(681).then(n.bind(n,50681)))),AssortmentListBlock:(0,i.lazy)((()=>n.e(5640).then(n.bind(n,65640)))),BreadCrumbBlock:(0,i.lazy)((()=>n.e(3104).then(n.bind(n,83104)))),ButtonBlock:(0,i.lazy)((()=>n.e(3265).then(n.bind(n,73265)))),CardBlock:(0,i.lazy)((()=>n.e(2654).then(n.bind(n,10273)))),CardQuoteBlock:(0,i.lazy)((()=>n.e(7025).then(n.bind(n,17025)))),ContentAreaBlock:(0,i.lazy)((()=>n.e(3991).then(n.bind(n,13991)))),ContentSpaBlock:(0,i.lazy)((()=>n.e(435).then(n.bind(n,40435)))),FAQBlock:(0,i.lazy)((()=>n.e(4107).then(n.bind(n,94107)))),FooterBlock:(0,i.lazy)((()=>Promise.all([n.e(5491),n.e(7158)]).then(n.bind(n,67158)))),FormContainerBlock:(0,i.lazy)((()=>n.e(3614).then(n.bind(n,43614)))),HeaderBlock:(0,i.lazy)((()=>Promise.all([n.e(8115),n.e(6522)]).then(n.bind(n,66522)))),HeroImageSpaBlock:(0,i.lazy)((()=>n.e(8504).then(n.bind(n,88504)))),HeroVideoSpaBlock:(0,i.lazy)((()=>n.e(4314).then(n.bind(n,24314)))),ImageBlock:(0,i.lazy)((()=>n.e(3358).then(n.bind(n,93358)))),ImageContentBlock:(0,i.lazy)((()=>n.e(6315).then(n.bind(n,86315)))),MarketSelectorBlock:(0,i.lazy)((()=>n.e(8320).then(n.bind(n,98320)))),ProductListSpaBlock:(0,i.lazy)((()=>n.e(8686).then(n.bind(n,8686)))),QuickNavigationBlock:(0,i.lazy)((()=>n.e(8674).then(n.bind(n,98674)))),ResellerContactBlock:(0,i.lazy)((()=>n.e(5).then(n.bind(n,40005)))),TeaserSpaBlock:(0,i.lazy)((()=>n.e(1515).then(n.bind(n,61515)))),TextSpaBlock:(0,i.lazy)((()=>n.e(9952).then(n.bind(n,19952)))),TopNavigationBlock:(0,i.lazy)((()=>Promise.all([n.e(8115),n.e(1930)]).then(n.bind(n,21930)))),UnknownBlock:(0,i.lazy)((()=>n.e(441).then(n.bind(n,70441)))),USPBlock:(0,i.lazy)((()=>n.e(7291).then(n.bind(n,37291)))),USPBlockItem:(0,i.lazy)((()=>Promise.all([n.e(5491),n.e(5018)]).then(n.bind(n,35018)))),SlideshowBlock:(0,i.lazy)((()=>n.e(8267).then(n.bind(n,88267)))),TeaserNewSpaBlock:(0,i.lazy)((()=>n.e(9597).then(n.bind(n,29597)))),DateBlock:(0,i.lazy)((()=>n.e(6537).then(n.bind(n,6537)))),EventListBlock:(0,i.lazy)((()=>n.e(7495).then(n.bind(n,27495)))),NewsListBlock:(0,i.lazy)((()=>n.e(7054).then(n.bind(n,47054)))),ContactBlock:(0,i.lazy)((()=>Promise.resolve().then(n.bind(n,8795)))),ContactListBlock:(0,i.lazy)((()=>n.e(1075).then(n.bind(n,41075)))),PersonalToolsBlock:(0,i.lazy)((()=>n.e(1312).then(n.bind(n,61312)))),SiteMapBlock:(0,i.lazy)((()=>n.e(9340).then(n.bind(n,59340)))),NewsLetterApiBlock:(0,i.lazy)((()=>Promise.all([n.e(5491),n.e(4506)]).then(n.bind(n,84506)))),CatalogBlock:(0,i.lazy)((()=>n.e(1339).then(n.bind(n,41339)))),ContentBlock:(0,i.lazy)((()=>n.e(3033).then(n.bind(n,13033)))),HeadingBlock:(0,i.lazy)((()=>n.e(1118).then(n.bind(n,61118)))),HeroBlock:(0,i.lazy)((()=>n.e(6032).then(n.bind(n,16032)))),TeaserBlock:(0,i.lazy)((()=>n.e(5068).then(n.bind(n,5068)))),TextBlock:(0,i.lazy)((()=>n.e(7347).then(n.bind(n,57347)))),VideoPlayerBlock:(0,i.lazy)((()=>n.e(5746).then(n.bind(n,15746)))),ProductListBlock:(0,i.lazy)((()=>n.e(8867).then(n.bind(n,28867)))),ContentArea:(0,i.lazy)((()=>Promise.resolve().then(n.bind(n,46734)))),LanguageSelector:r.A,Image:s};function c(e,t){const n=e.contentType&&l[e.contentType.find((e=>e in l))||"UnknownBlock"];return n?(0,a.jsx)(i.Suspense,{fallback:(0,a.jsx)(a.Fragment,{}),children:(0,a.jsx)(n,{...e,displayOption:t})}):null}},6716:(e,t,n)=>{"use strict";n.d(t,{Xs:()=>T,b7:()=>S,X2:()=>I,nL:()=>E,Ay:()=>Q});var r=n(22360),i=n(18627),o=n(72608),a=n(33453),s=n(23017),l=n(44414);const c=e=>{let{context:t}=e;const n=(0,s.GV)(i.ZD)[t],r=(0,s.GV)(i.q_),c=(0,s.jL)();return r.length<2?null:(0,l.jsx)(l.Fragment,{children:(0,l.jsx)(a.l6,{indicatorIcon:o.OM7,className:"p-1",isSearchable:!1,defaultValue:r.find((e=>e.value===n)),isMulti:!1,options:r,onChange:e=>{e&&n!==e.value&&c((0,i.e$)({orderBy:e.value,context:t}))}})})};var u=n(94612),d=n(96298),p=n(47126);const h=e=>{let{content:t,offsetTop:n}=e;const{filters:r,filtersPending:o,showFilters:a,assortmentPageInfo:c,productsPending:u,selectedCategory:h,options:f}=(0,s.GV)((e=>{let{assortment:t}=e;return t})),m=(0,s.GV)(i.Oj),g=(0,s.GV)(i.Li),v=(0,s.GV)(i.zQ),y=(0,s.jL)(),A=(0,d.z6)(m);return(0,l.jsx)(p.A,{isFiltersAvailable:g,showFilters:a,content:t,options:f,offsetTop:n,filtersPending:o,filters:r,selectedCategory:h,onFilterToggled:e=>{y((0,i.L7)({value:{key:e.key,value:e.name||e.name},type:e.fieldName}))},onHide:()=>y((0,i.SH)(!1)),groupedFilters:A,pageInfo:c,productsLoading:u,showCategoryFilters:!1,activeCategoryFilters:v})};var f=n(28086),m=n(2728),g=n(45679),v=n(69435),y=n(9950),A=n(70030),b=n(42074),w=n(28429),x=n(24937),C=n(24380);const S=e=>{var t,n,o;let{activeFilters:u,searchString:d,flatFilters:p,activeCategoryFilters:h,context:m,fixedFilters:g}=e;const{showHeader:v}=(0,s.GV)((e=>{let{navigation:t}=e;return t})),{productsPending:y,showFilters:b,assortmentPageInfo:w,selectedCategory:x,selectedOrderBy:C,searchParams:S}=(0,s.GV)((e=>{let{assortment:t}=e;return t})),E=(0,s.GV)(i.Li),I=null!==(t=null===w||void 0===w?void 0:w.totalItems)&&void 0!==t?t:null,T=(0,s.jL)(),D=(0,s.cb)(),{t:j}=(0,A.B)();return(0,l.jsxs)(_,{stuck:v,children:[(0,l.jsxs)(a.so,{align:"center",justify:"between",$wrap:!0,children:[E&&(0,l.jsxs)(a.K0,{large:!0,bgColor:"transparent",onClick:()=>T((0,i.SH)()),className:"pointer f1-400",icon:r.wQq,square:!0,children:[j(b?"general.hide":"general.show")," ",j("filter.filters").toLowerCase()]}),(0,l.jsxs)(P,{align:"center",justify:"end",children:[(0,l.jsx)(O,{light:!0,className:"",children:y?(0,l.jsx)(a.y$,{}):null!=I&&`${I} ${j("product.product_other","Products").toLowerCase()}`}),(0,l.jsx)(c,{context:m}),(0,l.jsx)(f.i,{categoryCode:"assortmentPage"===m?null!==x&&void 0!==x&&x.code?[x.code]:[]:null!==(n=null===S||void 0===S||null===(o=S.searchResultPage)||void 0===o?void 0:o.activeCategoryFilters)&&void 0!==n?n:[],search:d,orderBy:C[m],filters:u,fixedFilters:g,square:D.sm,shrink:!0})]})]}),(0,l.jsx)(k,{flatFilters:p,searchString:d,activeCategoryFilters:h})]})},k=e=>{var t,n;let{flatFilters:r,activeCategoryFilters:o,searchString:c}=e;const[u,d]=(0,b.ok)(),p=(0,w.zy)(),h=(0,s.GV)(i.Jk),f=(0,s.jL)(),{t:g}=(0,A.B)();if(null===r&&""===c&&(null===o||0===o.length))return null;const v=(null!==(t=null===r||void 0===r?void 0:r.length)&&void 0!==t?t:0)+(null!==(n=null===o||void 0===o?void 0:o.length)&&void 0!==n?n:0)+(c?1:0)>1,x=null===o||void 0===o?void 0:o.reduce(((e,t)=>({...e,[t]:(0,m.p9)(h[t])})),{});return(0,l.jsxs)(L,{children:[(0,l.jsx)(z,{align:"left"}),(0,l.jsxs)(F,{children:[c&&(0,l.jsx)(a.S6,{text:c,onRemove:()=>{u.delete("search"),d(u),f((0,i.TY)("")),f((0,i.zh)({searchParams:{searchPhrase:""},context:"searchResultPage"}))}}),null===r||void 0===r?void 0:r.map(((e,t)=>(0,l.jsx)(a.S6,{text:""!==e.value.value?e.value.value:`${e.value.key}`,onRemove:()=>{f((0,i.L7)(e));const t=(0,i.VH)({name:e.value.value,fieldName:e.type,key:e.value.key},p.search);d(t)}},t))),Object.entries(x).map(((e,t)=>{let[n,r]=e;return(0,l.jsx)(y.Fragment,{children:Object.keys(h).length>0?(0,l.jsx)(a.S6,{text:null!==r&&void 0!==r?r:`${n} (nonexisting filter)`,onRemove:()=>{const e=(0,i.VH)({fieldName:"categories",key:n},p.search);d(e)}}):null},t)})),v&&(0,l.jsx)(M,{className:"f1-500",text:`${g("action.clear","Clear")} ${g("filter.filters","Filters").toLowerCase()}`,onRemove:()=>{d("")}})]}),(0,l.jsx)(z,{align:"right"})]})},E=e=>{let{category:t,categoryPath:n,context:r}=e;const{products:i,productsPending:o,assortmentPageInfo:a}=(0,s.GV)((e=>{let{assortment:t}=e;return t})),c=o&&1===a.currentPage;return(0,l.jsx)(u.A,{products:i,pending:c,morePending:o,assortmentPageInfo:a,category:t,categoryPath:n,gtm:!0,context:r})},I=x.Ay.div.withConfig({componentId:"sc-1nutdej-0"})(["flex-grow:1;max-width:",";"],(e=>{let{showFilters:t,width:n}=e;return t&&n>1300?"calc(100% - 275px)":"100%"})),_=x.Ay.div.withConfig({componentId:"sc-1nutdej-1"})(["position:sticky;top:-150px;transition:top 0.2s ease;background-color:",";padding-top:4px;padding-bottom:4px;margin:1px;z-index:5;",""],(e=>{let{theme:t}=e;return t.colors.fill}),(e=>{let{stuck:t,theme:n}=e;return t&&`\n      top: 71px;\n      transition-duration: 0.5s;\n\n      ${n.media.lg} {\n        top: 81px;\n      }\n    `})),P=(0,x.Ay)(a.so).withConfig({componentId:"sc-1nutdej-2"})(["flex-grow:1;gap:8px;"]),O=(0,x.Ay)(a.EY).withConfig({componentId:"sc-1nutdej-3"})(["@media screen and (max-width:450px){display:none;}"]),T=(0,x.Ay)(a.mc).withConfig({componentId:"sc-1nutdej-4"})(["background-color:",";"],(e=>{let{theme:t}=e;return t.colors.fill})),D=x.Ay.div.withConfig({componentId:"sc-1nutdej-5"})([""]),j=(0,x.Ay)(a.so).withConfig({componentId:"sc-1nutdej-6"})(["max-width:100%;"]),B=x.Ay.div.withConfig({componentId:"sc-1nutdej-7"})(["overflow:hidden;"]),N=x.Ay.h1.withConfig({componentId:"sc-1nutdej-8"})(["font-size:32px;"]),M=(0,x.Ay)(a.S6).withConfig({componentId:"sc-1nutdej-9"})(["margin-left:12px;"]),R=(0,x.Ay)(a.VI).withConfig({componentId:"sc-1nutdej-10"})(["width:110px;height:110px;object-fit:cover;flex-shrink:0;"]),L=(0,x.Ay)(a.so).withConfig({componentId:"sc-1nutdej-11"})(["background-color:",";margin-top:4px;"],(e=>{let{theme:t}=e;return t.colors.fillMedium})),F=x.Ay.div.withConfig({componentId:"sc-1nutdej-12"})(["position:relative;display:flex;flex-direction:row;overflow:auto;white-space:nowrap;max-width:100%;padding:0 15px;padding:2px 15px 2px 15px;margin:0 -15px 0 -15px;"]),z=x.Ay.div.withConfig({componentId:"sc-1nutdej-13"})(["position:relative;height:35px;background:",";min-width:15px;width:15px;z-index:1;"],(e=>{let{theme:t,align:n}=e;return`linear-gradient(to ${n}, rgba(255, 255, 255, 0), ${t.colors.fillMedium})`})),Q=e=>{var t;let{filterArea:n}=e;const r=(0,s.jL)(),{t:o}=(0,A.B)(),{selectedCategory:c,showFilters:u,selectedCategoryPath:d}=(0,s.GV)((e=>{let{assortment:t}=e;return t})),p=(0,s.GV)(i.Lc),{showHeader:f}=(0,s.GV)((e=>{let{navigation:t}=e;return t})),{currency:m}=(0,s.GV)((e=>{let{price:t}=e;return t})),[w,x]=(0,y.useState)(m),k=(0,s.cb)(),_=(0,s.GV)(i.Oj),P=(0,s.GV)((e=>{let{assortment:t}=e;return t.options.fixedFilters})),O=(0,s.GV)(i.yM),M=(0,s.GV)(i.zQ),[L,F]=(0,b.ok)(),z=(0,s.GV)(i.Li),{combinedActiveFilters:Q,filtersWithoutKind:U}=(0,s.GV)(i.vp);return(0,s.RV)(),(0,y.useEffect)((()=>{p||r((0,i.Zn)(L))}),[r,L,p]),(0,y.useEffect)((()=>{r((0,i.Ss)(F))}),[r,F,_]),(0,y.useEffect)((()=>{w!==m&&(x(m),r((0,i.zh)({searchParams:{},context:"assortmentPage"})))}),[r,m,w]),(0,l.jsxs)(T,{grid:!1,className:"px-1 px-sm-3",children:[(0,l.jsx)(D,{className:"f1-700 mt-3 mt-sm-5 mb-2",children:(0,l.jsxs)(j,{children:[k.sm&&null!==c&&void 0!==c&&null!==(t=c.picture)&&void 0!==t&&t.fileName?(0,l.jsx)(R,{className:"mr-4 mt-2 mb-2 mb-sm-0",imageUrl:(0,C.Ay)(c.picture,C.yj.ThumbNail,v.ImageExtension.Jpg),altText:c.name||"selected category"}):null,(0,l.jsxs)(B,{children:[(0,l.jsx)(g.A,{className:"mb-2"}),(0,l.jsx)(N,{className:"f1-700",children:(null===d||void 0===d?void 0:d.name)||(null===c||void 0===c?void 0:c.name)||o("product.products","Products")}),null!==c&&void 0!==c&&c.text?(0,l.jsx)(a.a6,{text:c.text,charLimitDesktop:500,charLimitPhone:100},null===c||void 0===c?void 0:c.name):null]})]})}),(0,l.jsxs)(a.so,{className:"py-3 py-lg-5",align:"start",children:[(0,l.jsx)(h,{content:n,offsetTop:f?91:10}),(0,l.jsxs)(I,{showFilters:u&&z,width:k.width,children:[(0,l.jsx)(S,{activeFilters:P&&P.length>0?Q:_,fixedFilters:P&&P.length>0?U:void 0,searchString:p,flatFilters:O,activeCategoryFilters:M,context:"assortmentPage"}),(0,l.jsx)(E,{category:c||void 0,categoryPath:d,context:"assortmentPage"})]})]})]})}},32445:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var r=n(22360),i=n(43418),o=n(84848),a=n(33453),s=n(23017),l=n(9950),c=n(70030),u=n(28429),d=n(24937),p=n(44414);const h=e=>{let{title:t,error:n}=e;const d=(0,s.jL)(),h=(0,s.GV)(o.C5),{pathname:m}=(0,u.zy)(),[g]=(0,l.useState)(m),{t:v}=(0,c.B)();return(0,l.useEffect)((()=>{g!==m&&d((0,i.dB)())}),[m,g,d]),n||t?(0,p.jsxs)(f,{children:[(0,p.jsx)("h1",{children:null!==t&&void 0!==t?t:v("error.error","Error!")}),n&&(0,p.jsx)("p",{children:n}),(0,p.jsxs)(a.so,{className:n?"":"mt-5",children:[(0,p.jsx)(a.N_,{to:h,noStyle:!0,className:"mx-3",children:(0,p.jsx)(a.K0,{bgColor:"fillWhite",icon:r.v02,square:!0,large:!0,children:v("navigation.start","Start page")})}),(0,p.jsx)(a.N_,{to:"/authentication/signin",noStyle:!0,className:"mx-3",children:(0,p.jsx)(a.K0,{bgColor:"fillWhite",icon:r.X46,square:!0,large:!0,children:v("user.signIn","Sign in")})})]})]}):null},f=d.Ay.div.withConfig({componentId:"sc-14tm55y-0"})(["height:100vh;display:flex;flex-direction:column;justify-content:center;align-items:center;"])},12520:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>v});var r=n(43418),i=n(18627),o=n(47126),a=n(33453),s=n(23017),l=n(9950),c=n(73878),u=n(28429),d=n(42074),p=n(24937),h=n(96298),f=n(81925),m=n(6716),g=n(44414);const v=()=>{const e=(0,s.jL)(),{filters:t,filtersPending:n,showFilters:p,assortmentPageInfo:v,productsPending:C,selectedCategory:S,options:k,selectedCategoryPath:E}=(0,s.GV)((e=>{let{assortment:t}=e;return t})),{showHeader:I}=(0,s.GV)((e=>{let{navigation:t}=e;return t})),{content:_}=(0,s.GV)((e=>{let{currentPage:t}=e;return t})),P=(0,u.zy)(),O=(0,s.GV)(i.hy),[T,D]=(0,d.ok)(),j=(0,s.GV)(i.Li),B=(0,h.z6)(O),N=(0,s.GV)(i.hy),M=(0,s.GV)(i.SU),R=(0,s.GV)(i.np),L=(0,s.cb)(),F=(0,s.GV)(i.u1),z=(0,s.GV)(i.Si),[Q,U]=(0,l.useState)(!1);(0,l.useEffect)((()=>{z.length&&(e((0,i.Kd)()),e((0,i.Po)(void 0)))}),[e,z]),(0,l.useEffect)((()=>{P.pathname!==(null===_||void 0===_?void 0:_.url)&&e((0,r.Ap)(P.pathname))}),[P.pathname,null===_||void 0===_?void 0:_.url,e]),(0,l.useEffect)((()=>{var t;if(null===z||void 0===z||!z.length)return;const n=new URLSearchParams(T.toString()),r=n.get("search"),o=y(n),a=null===(t=n.get("categories"))||void 0===t?void 0:t.split(",");(0,c.vA)((()=>{e((0,i.gI)({filters:o,context:"searchResultPage"})),e((0,i.TY)(null!==r&&void 0!==r?r:"")),e((0,i.Sl)(null!==a&&void 0!==a?a:[])),e((0,i.zh)({searchParams:{},context:"searchResultPage"})),e((0,i.KV)(void 0))})),U(!0)}),[e,T,z]);return(0,g.jsx)(g.Fragment,{children:(0,g.jsxs)(m.Xs,{grid:!1,className:"px-1 px-sm-3",children:[(0,g.jsx)(A,{className:"f1-700 mt-3 mt-sm-5 mb-2",children:(0,g.jsx)(w,{children:(0,g.jsx)(x,{children:(0,g.jsx)(b,{className:"f1-700",children:(null===_||void 0===_?void 0:_.title)&&(null===_||void 0===_?void 0:_.name)&&(0,g.jsx)(f.A,{model:_.title,name:"Title"})})})})}),(0,g.jsxs)(a.so,{className:"py-3 py-lg-5",align:"start",children:[Q&&(0,g.jsx)(o.A,{isFiltersAvailable:j,showFilters:p,options:k,content:void 0,offsetTop:I?91:10,filtersPending:n,filters:t,selectedCategory:S,onFilterToggled:e=>{const t=(0,i.VH)(e,P.search);D(t)},onHide:()=>e((0,i.SH)(!1)),groupedFilters:B,pageInfo:v,productsLoading:C,showCategoryFilters:!0,onCategoryFilterChange:e=>{const t=new URLSearchParams(P.search);0===e.length?t.delete("categories"):t.set("categories",e.join(",")),D(t)},onSearchChange:e=>{const t=new URLSearchParams(P.search);t.set("search",e),""===e&&t.delete("search"),D(t.toString())},activeCategoryFilters:M,searchString:F}),(0,g.jsx)(m.X2,{showFilters:p&&j,width:L.width,children:(0,g.jsxs)("div",{style:{width:"100%"},children:[(0,g.jsx)(m.b7,{activeCategoryFilters:M,activeFilters:N,flatFilters:R,searchString:F,context:"searchResultPage"}),(0,g.jsx)(m.nL,{category:S||void 0,categoryPath:E,context:"searchResultPage"})]})})]})]})})},y=e=>Array.from(e.entries()).filter((e=>{let[t]=e;return"search"!==t&&"categories"!==t})).map((e=>{let[t,n]=e;return{type:t,values:n.split(",").map((e=>({key:e,value:e})))}})),A=p.Ay.div.withConfig({componentId:"sc-15pu4w9-0"})([""]),b=p.Ay.h1.withConfig({componentId:"sc-15pu4w9-1"})(["font-size:32px;"]),w=(0,p.Ay)(a.so).withConfig({componentId:"sc-15pu4w9-2"})(["max-width:100%;"]),x=p.Ay.div.withConfig({componentId:"sc-15pu4w9-3"})([""])},46734:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>c});var r=n(60231),i=n(33453),o=n(24937),a=n(44414);const s=e=>{let{block:t}=e;return(0,a.jsx)(r.A,{content:t,displayOption:t.displayOption})},l=e=>{let{blocks:t}=e;return t.length>0?(0,a.jsx)(u,{"data-container":!0,children:t.map(((e,t)=>(0,a.jsx)(i.Jq,{displayOption:e.displayOption,children:(0,a.jsx)(r.A,{content:e,displayOption:e.displayOption})},`${e.contentLink.id}_${t}`)))}):null},c=e=>{let{value:t,expandedValue:n}=e;if(!t||!n)return null;const r=[];return t.forEach(((e,t)=>{var i,o,a;const s=(null===(i=n[t])||void 0===i||null===(o=i.contentLink)||void 0===o?void 0:o.id)===(null===e||void 0===e||null===(a=e.contentLink)||void 0===a?void 0:a.id)?n[t]:n.find((t=>t.contentLink.id===e.contentLink.id));if(s){const t=function(e,t){if(""===e){switch(t[t.length-1]){case"HeaderBlock":case"FooterBlock":case"TopNavigationBlock":case"QuickNavigationBlock":case"USPBlock":case"USPBlockItem":case"HeroImageSpaBlock":case"HeadingBlock":case"HeroBlock":case"HeroVideoSpaBlock":case"SlideshowBlock":case"ContentBlock":return"fullscreen";case"ContentSpaBlock":case"FormContainerBlock":case"ImageBlock":case"ImageContentBlock":return"centered";case"CatalogBlock":return"quarter";default:return"full"}}return e}(e.displayOption,s.contentType);"fullscreen"===t?r.push({block:{...s,displayOption:t}}):((0===r.length||r[r.length-1].block)&&r.push({blocks:[]}),r[r.length-1].blocks=[...r[r.length-1].blocks||[],{...s,displayOption:t}])}})),(0,a.jsx)(a.Fragment,{children:r.map(((e,t)=>e.block?(0,a.jsx)(s,{block:e.block},t):(0,a.jsx)(l,{blocks:e.blocks},t)))})};const u=(0,o.Ay)(i.mc).withConfig({componentId:"sc-bh11ij-0"})(["margin-top:1.5rem;margin-bottom:1.5rem;padding-left:0rem;padding-right:0rem;","{padding-left:1rem;padding-right:1rem;}[data-container]{margin-top:0 !important;margin-bottom:0 !important;padding-left:0 !important;padding-right:0 !important;}"],(e=>{let{theme:t}=e;return t.media.sm}))},81925:(e,t,n)=>{"use strict";n.d(t,{A:()=>M});var r=n(9950),i=n(23017),o=n(578),a=n(33453),s=n(24937),l=n(8795),c=n(44414);const u=e=>{var t;let{heading:n,intro:r,authors:i}=e;return(0,c.jsxs)(d,{column:!0,children:[(0,c.jsx)(a.EY,{className:"f1-500",fontSize:20,lineheight:30,children:null===n||void 0===n?void 0:n.value}),(0,c.jsx)(a.EY,{className:"f1-400",fontSize:15,lineheight:50,children:null===r||void 0===r?void 0:r.value}),(null===i||void 0===i||null===(t=i.value)||void 0===t?void 0:t.length)>0&&(null===i||void 0===i?void 0:i.value.map(((e,t)=>(0,c.jsx)("div",{children:(0,c.jsx)(l.Contact,{firstName:null===e||void 0===e?void 0:e.givenName,lastName:null===e||void 0===e?void 0:e.surName,email:null===e||void 0===e?void 0:e.email,phone:null===e||void 0===e?void 0:e.phone,title:null===e||void 0===e?void 0:e.jobbTitle,image:null===e||void 0===e?void 0:e.imageUrl,url:null===e||void 0===e?void 0:e.url})},t))))]})},d=(0,s.Ay)(a.so).withConfig({componentId:"sc-1wjji7g-0"})(["padding:54px;"]);var p=n(72608),h=n(74959),f=n(4159),m=n.n(f),g=n(70030);const v=e=>{var t;let{heading:n,documents:r,showFileInformation:i}=e;const{t:o}=(0,g.B)();return(0,c.jsx)(c.Fragment,{children:(0,c.jsxs)(y,{children:[(0,c.jsx)(A,{fontSize:20,className:"f1-500",children:n.value&&(0,c.jsx)(c.Fragment,{children:n.value})}),null===r||void 0===r||null===(t=r.value)||void 0===t?void 0:t.map(((e,t)=>{var n,r;return(0,c.jsxs)(a.so,{column:!0,className:"p-2",children:[(0,c.jsxs)(a.so,{align:"center",children:[(0,c.jsx)(b,{icon:p.O_q,size:"2x"}),(0,c.jsx)(a.N_,{to:null!==(n=null===e||void 0===e?void 0:e.url)&&void 0!==n?n:"",target:"_Blank",children:(0,c.jsx)(a.EY,{fontSize:15,children:null!==(r=e.name)&&void 0!==r?r:""})})]}),(0,c.jsxs)(a.so,{className:"pt-1",children:[(0,c.jsx)(a.EY,{fontSize:10,className:"pr-1 f1-700",children:`${o("general.changed","Changed")}:`}),(0,c.jsx)(a.EY,{fontSize:10,className:"f1-400 pr-5",children:m()(null===e||void 0===e?void 0:e.modified).format("DD MMMM YYYY")}),(null===i||void 0===i?void 0:i.value)&&(null===e||void 0===e?void 0:e.fileSize)&&(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(a.EY,{fontSize:10,className:"pr-1 f1-700",children:`${o("size.size","Size")}:`}),(0,c.jsx)(a.EY,{fontSize:10,className:"f1-400",children:null===e||void 0===e?void 0:e.fileSize})]})]})]},t)}))]})})},y=s.Ay.div.withConfig({componentId:"sc-t0b14b-0"})(["padding:54px 54px 54px 54px;"]),A=(0,s.Ay)(a.EY).withConfig({componentId:"sc-t0b14b-1"})([""]),b=(0,s.Ay)(h.g).withConfig({componentId:"sc-t0b14b-2"})(["color:",";height:16px;width:12px;padding-right:12px;"],(e=>{let{theme:t}=e;return t.colors.accent}));var w=n(82471);const x=e=>{let{picture:t,url:n,scaling:r,alternativeText:o,focalPoint:a}=e;const s=(0,i.GV)((e=>{let{siteDefinition:t}=e;return t.baseUrl}));if(null===n||void 0===n||!n.value)return null;const l="/"===s?n.value:new URL(n.value,s),u=l.search.toString(),d=new URLSearchParams(u);a&&null!==a.value&&d.append("rxy",a.value);const p=l.toString().replace(u,"")+(0===[...d].length?"":"?"+d.toString());return(0,c.jsx)(w.A,{scaling:r,imageUrl:p,picture:t,altText:null===o||void 0===o?void 0:o.value})},C=e=>{var t;let{url:n,text:r,openLinkIn:i}=e;const[o,s]=n.value.split("?"),[,l]=n.value.split("#");return(0,c.jsx)(a.N_,{to:{pathname:o,search:s,hash:l},target:null!==(t=null===i||void 0===i?void 0:i.value)&&void 0!==t?t:"_self",noStyle:!0,children:null===r||void 0===r?void 0:r.value})},S=e=>{var t,n;let{url:r,playerAttributes:o}=e;const a=(0,i.GV)((e=>{let{siteDefinition:t}=e;return t.baseUrl}));if(null===r||void 0===r||!r.value)return null;const s=("/"===a?r.value:new URL(r.value,a))+"#t=0.001",l=(null!==(t=null===(n=r.value.match(/.(mp4|webm|ogv|ogg)/)||[])||void 0===n?void 0:n[1])&&void 0!==t?t:"").replace("ogv","ogg");return o.value.includes("autoplay")&&!o.value.includes("muted")&&(o.value+=" muted"),(0,c.jsx)(k,{dangerouslySetInnerHTML:{__html:`\n      <video ${o.value} playsinline>\n          <source src=${s} type=${"video/"+l} />\n      </video>\n    `}})},k=s.Ay.div.withConfig({componentId:"sc-13zphp9-0"})(["height:100%;> video{display:block;object-fit:cover;height:100%;width:100%;}"]),E=e=>{let{playerAttributes:t,youtubeID:n}=e;if(null===n||void 0===n||!n.value)return null;const r=null!==t&&void 0!==t&&t.value.includes("controls")?"1":"0",i=null!==t&&void 0!==t&&t.value.includes("autoplay")?"1":"0",o=null!==t&&void 0!==t&&t.value.includes("loop")?"1":"0",a=null!==t&&void 0!==t&&t.value.includes("muted")?"1":"0";return(0,c.jsx)(I,{children:(0,c.jsx)("iframe",{title:"youtube",src:`https://www.youtube.com/embed/${n.value}?rel=0&amp;modestbranding=1&amp;controls=${r}&amp;showinfo=0&loop=${o}&autoplay=${i}&mute=${i||a}`,allowFullScreen:!0})})},I=s.Ay.div.withConfig({componentId:"sc-sjc13k-0"})(["position:relative;width:100%;height:0;padding-bottom:56.25%;> iframe,video{max-height:95vh;}> video{display:block;max-width:100%;margin:0 auto;height:auto;}> iframe{position:absolute;top:0;left:0;width:100%;height:100%;border:none;}"]);var _=n(46734);const P=e=>{let{value:t,expandedValue:n,alternativeText:r}=e;const a=(0,i.GV)((e=>{let{siteDefinition:t}=e;return t.baseUrl}));if(!t||!n)return null;if(n.contentType.includes("Image")){var s;const e=n,i=e.url||t.url;if(!i)return null;const o="/"===a?i:new URL(i,a);return(0,c.jsx)(O,{src:o.toString(),alt:(null===r||void 0===r?void 0:r.value)||(null===(s=e.description)||void 0===s?void 0:s.value)})}return(0,o.A)()?(0,c.jsx)("strong",{style:{color:"red"},children:n.contentType.join(",")+" is not implemented"}):null},O=s.Ay.img.withConfig({componentId:"sc-16x8itn-0"})(["max-width:100%;"]),T=e=>{let{value:t}=e;return(0,c.jsx)(c.Fragment,{children:t})},D=e=>{let{propertyDataType:t}=e;return(0,c.jsx)(c.Fragment,{})};var j=n(86746),B=n(13284);const N={PropertyContentArea:_.default,PropertyContentReference:P,PropertyLongString:T,PropertyXhtmlString:j.A,PropertyBlockMP4Video:S,PropertyBlockYoutubeVideo:E,PropertyBlockImage:x,PropertyBlockLink:C,PropertyBlockAuthorList:u,PropertyBlockFileList:v},M=e=>{var t,n;let{model:a,name:s,propertyDataType:l=null,dataTarget:u,contentLink:d,...p}=e;const h=(0,i.jL)(),{lazyExpandedModel:f,pending:m}=(0,i.GV)((e=>{let{property:t}=e;return t})),{language:g,loading:v}=(0,i.GV)((e=>{let{currentPage:t}=e;return t}));if((0,r.useEffect)((()=>{var e;const t=null===d||void 0===d?void 0:d.id;null!==(e=a)&&void 0!==e&&e.expandedValue&&Object.keys(a.expandedValue).length||!t||!g||m[t+g]||h((0,B.W)({contentId:t,language:g}))}),[null===d||void 0===d?void 0:d.id,null===(t=a)||void 0===t?void 0:t.expandedValue,m,h,g,v]),void 0===a)return(0,o.A)()?(0,c.jsx)("strong",{style:{color:"red"},children:(null!==s&&void 0!==s?s:"Property")+" is undefined"}):null;null!==(n=a)&&void 0!==n&&n.expandedValue&&Object.keys(a.expandedValue)||!d||!g||!f[d.id+g]||(a=f[d.id+g]);const y=a.propertyBlockType&&N[a.propertyBlockType]||a.propertyDataType&&N[a.propertyDataType]||l&&N[l]||D;return y?(0,c.jsx)(y,{"data-target":u,"data-epi-edit":s,...a,...p}):null}},86746:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(24937),i=n(44414);const o=e=>{let{value:t,formats:n,propertyDataType:r,...o}=e;return(0,i.jsx)(a,{...o,dangerouslySetInnerHTML:{__html:null!==n&&void 0!==n&&n.length?(s=t,l=n,l.reduce(((e,t,n)=>e.replace(`{${n}}`,t)),s)):t}});var s,l},a=r.Ay.div.withConfig({componentId:"sc-7hzf51-0"})(["img{height:auto;max-height:100%;object-fit:cover;max-width:100%;}"])},13284:(e,t,n)=>{"use strict";n.d(t,{A:()=>s,W:()=>a});var r=n(11359),i=n(77018),o=n(51673);const a=(0,r.zD)("property/getExpandedContentByContentId",(async e=>(await i.A.getContentByContentLink(e.contentId,void 0,e.language,{"Cache-Control":"no-cache",Pragma:"no-cache",Expires:"0"})).data)),s=(0,r.Z0)({name:"property",initialState:{lazyExpandedModel:{},loading:!0,pending:{},error:{}},reducers:{},extraReducers:e=>{e.addCase(a.pending,((e,t)=>{e.loading=!0,e.pending[t.meta.arg.contentId+t.meta.arg.language]=!0})),e.addCase(a.fulfilled,((e,t)=>{e.loading=!1,t.meta.arg.genericLoad?e.lazyExpandedModel[t.meta.arg.contentId+t.meta.arg.language]=t.payload:e.lazyExpandedModel[t.meta.arg.contentId+t.meta.arg.language]=t.payload.mainContentArea||t.payload.contentArea||t.payload.slideshowContent})),e.addCase(a.rejected,((e,t)=>{o.A.error("ERROR",t.payload),e.error[t.meta.arg.contentId+t.meta.arg.language]=t.error}))}}).reducer},21202:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(55951),i=(n(9950),n(34911)),o=n(24937),a=n(61768),s=n(44414);const l=e=>{let{className:t,color:n="text",bgColor:a="fillMedium",children:l,pending:d}=e;const p=(0,o.DP)();return d?(0,s.jsx)(u,{className:`z-context ${t||""}`,children:(0,s.jsx)(i.z,{baseColor:null===p||void 0===p?void 0:p.colors[a],highlightColor:(0,r.a)(.04,null===p||void 0===p?void 0:p.colors[a]),children:(0,s.jsx)(i.A,{height:"40px",width:"100%"})})}):(0,s.jsx)(c,{justify:"center",align:"center",color:n,bgColor:a,className:`f1-400 ${t||""} p-2`,$wrap:!0,gap:"4px",children:l})},c=(0,o.Ay)(a.A).withConfig({componentId:"sc-ikuay7-0"})(["background-color:",";color:",";"],(e=>{let{theme:t,bgColor:n}=e;return t.colors[n]}),(e=>{let{theme:t,color:n}=e;return t.colors[n]})),u=o.Ay.div.withConfig({componentId:"sc-ikuay7-1"})(["background-color:",";font-size:0;span{border-radius:0;}"],(e=>{let{theme:t}=e;return t.colors.fillMedium}))},49940:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(22360),i=n(35969),o=(n(9950),n(24937)),a=n(44414);const s=e=>{let{onClose:t,className:n,bgColor:i="fillWhite",topRight:o=!1}=e;return(0,a.jsx)(l,{topRight:o,shadow:!0,bgColor:i,className:`${n||""}`,onClick:()=>t(),icon:r.GRI})},l=(0,o.Ay)(i.A).withConfig({componentId:"sc-xe1lz9-0"})(["",""],(e=>{let{topRight:t}=e;return t&&"\n    position: absolute;\n    top: 1rem;\n    right: 1rem;\n  "}))},35969:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var r=n(74959),i=n(55951),o=n(9950),a=n(24937),s=n(61768),l=n(82002),c=n(44414);const u=a.Ay.button.withConfig({componentId:"sc-1bca7xv-0"})(["display:flex;flex-shrink:0;justify-content:",";align-items:center;"," height:","px;border-radius:","px;",";background-color:",";",";text-align:center;border:0;font-size:",";padding:",";white-space:nowrap;color:",";"," transition:background-color 0.2s linear;&:focus-within{outline:0;}&:focus-visible{outline:1px solid black;}"],(e=>{let{flexJustify:t}=e;return null!=t?t:"center"}),(e=>{let{large:t,small:n,hasText:r}=e;return!0!==r&&`width: ${t?40:n?24:34}px;`}),(e=>{let{large:t,small:n}=e;return t?40:n?24:34}),(e=>{let{square:t,large:n,small:r}=e;return t?0:n?20:17}),(e=>{let{half:t}=e;return`\n      ${"left"===t?"\n        border-top-right-radius: 0;\n        border-bottom-right-radius: 0;\n      ":""}\n      ${"right"===t?"\n        border-top-left-radius: 0;\n        border-bottom-left-radius: 0;\n      ":""}\n  `}),(e=>{let{bgColor:t,theme:n,disabled:r,dark:o}=e;const a=r?n.colors.disabled:t?n.colors[t]:n.colors.fill;return o?(0,i.Qw)(o,a):a}),(e=>{let{theme:t,shadow:n}=e;return n?t.shadows.soft:""}),(e=>{let{hasText:t,theme:n}=e;return t?n.typography.fontSize:"16px"}),(e=>{let{hasText:t}=e;return t?"0 1em":0}),(e=>{let{theme:t,color:n,disabled:r}=e;return r?t.colors.textDisabled:n?t.colors[n]:t.colors.text}),(e=>{let{disabled:t,bgColor:n,theme:r,dark:o}=e;return t?"":`\n    &:hover {\n      background-color: ${(0,i.Qw)(o?o+.03:.03,r.colors[n&&"transparent"!==n?n:"fill"])}\n    }\n  `})),d=(0,o.forwardRef)(((e,t)=>{let{icon:n,color:i,bgColor:o,large:d,square:h,shadow:f,disabled:m,iconRight:g,disableFont:v,fontSize:y,iconContent:A,flexJustify:b,children:w,iconSize:x,pending:C,...S}=e;const k=(0,a.DP)(),E=w?(0,c.jsx)(p,{fontSize:y,className:(v?"":"f1-500")+" mr-2",large:d,noPadding:g,children:w}):(0,c.jsx)(c.Fragment,{}),I=A||(0,c.jsx)(r.g,{size:null!==x&&void 0!==x?x:"1x",icon:n,color:m?k.colors.textDisabled:i?k.colors[i]:k.colors.textLight});return(0,c.jsx)(u,{as:S.href?"a":"button",color:i,large:d,bgColor:o,square:h,hasText:!!w,shadow:f,disabled:m,flexJustify:b,ref:t,...S,children:(0,c.jsxs)(s.A,{align:"center",$reverse:g,children:[C?(0,c.jsx)(l.A,{}):I,E]})})})),p=a.Ay.span.withConfig({componentId:"sc-1bca7xv-1"})(["padding-left:","px;font-size:",";",""],(e=>{let{large:t}=e;return t?12:10}),(e=>{let{fontSize:t}=e;return t||"14px"}),(e=>{let{noPadding:t}=e;return t?"padding-left:0;px;":""}))},27761:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>c,Q3:()=>l});var r=n(70030),i=n(34911),o=n(24937),a=n(61768),s=n(44414);const l=e=>{let{label:t,value:n,pending:r,bold:o,className:a}=e;return n?(0,s.jsxs)(h,{justify:"between",gap:"1rem",className:a,children:[(0,s.jsx)(d,{children:t}),(0,s.jsx)(f,{bold:o,children:r?(0,s.jsx)(i.A,{width:50}):n})]}):null},c=e=>{let{label:t,total:n,children:o,pending:a,sumColor:l="text"}=e;const{t:c}=(0,r.B)();return(0,s.jsxs)(s.Fragment,{children:[n&&(0,s.jsxs)(u,{gap:"1rem",justify:"between",className:"f1-500 mb-1",color:l,children:[(0,s.jsx)(d,{children:null!==t&&void 0!==t?t:c("price.amount")}),(0,s.jsx)(p,{className:"f1-700",children:a?(0,s.jsx)(i.A,{width:90}):n})]}),o]})},u=(0,o.Ay)(a.A).withConfig({componentId:"sc-vjrxzs-0"})(["font-size:18px;color:",";"],(e=>{let{theme:t,color:n}=e;return t.colors[n]})),d=o.Ay.span.withConfig({componentId:"sc-vjrxzs-1"})(["white-space:nowrap;text-overflow:ellipsis;overflow:hidden;"]),p=o.Ay.span.withConfig({componentId:"sc-vjrxzs-2"})(["color:",";"],(e=>{let{theme:t}=e;return t.colors.priceText})),h=(0,o.Ay)(a.A).withConfig({componentId:"sc-vjrxzs-3"})(["flex-grow:1;font-size:12px;"]),f=o.Ay.span.withConfig({componentId:"sc-vjrxzs-4"})(["white-space:nowrap;margin-left:2px;font-weight:",";"],(e=>{let{bold:t}=e;return t?700:400}))},61768:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(24937);const i={between:"space-between",around:"space-around",evenly:"space-evenly",start:"flex-start",end:"flex-end",center:"center",stretch:"stretch",baseline:"baseline"},o=r.Ay.div.withConfig({componentId:"sc-1krq3xt-0"})(["display:flex;"," "," ",";",";",";",";",";",";",";"],(e=>{let{column:t,$reverse:n}=e;return(t||n)&&`flex-direction: ${t?n?"column-reverse":"column":"row-reverse"};`}),(e=>{let{align:t}=e;return t&&`align-items: ${i[t]};`}),(e=>{let{justify:t}=e;return t&&`justify-content: ${i[t]}`}),(e=>{let{$wrap:t}=e;return t&&"flex-wrap: wrap"}),(e=>{let{$grow:t}=e;return t&&`flex-grow: ${t}`}),(e=>{let{$shrink:t}=e;return t&&`flex-shrink: ${t}`}),(e=>{let{gap:t}=e;return t&&`gap: ${t}`}),(e=>{let{height:t}=e;return t&&`height: ${t}`}),(e=>{let{width:t}=e;return t&&`width: ${t}`}))},24394:(e,t,n)=>{"use strict";n.d(t,{$:()=>s,A:()=>l});var r=n(24937),i=n(44414);const o=r.Ay.div.withConfig({componentId:"sc-b8db83-0"})(["width:",";display:grid;grid-template-columns:1fr;"," ",""],(e=>{let{width:t}=e;return t||"100%"}),(e=>{let{gap:t}=e;return t&&`gap: ${t};`}),(e=>{let{onlyChild:t}=e;return t&&"\n      > :only-child {\n        grid-column: 1/-1; \n      }\n  "})),a=(0,r.Ay)(o).withConfig({componentId:"sc-b8db83-1"})([""," ","{","}","{","}","{","}","{","}align-items:",";"],(e=>{let{columns:t}=e;return(null===t||void 0===t?void 0:t.base)&&`grid-template-columns: ${t.base};`}),(e=>{let{theme:t}=e;return t.media.sm}),(e=>{let{columns:t}=e;return(null===t||void 0===t?void 0:t.sm)&&`grid-template-columns: ${t.sm};`}),(e=>{let{theme:t}=e;return t.media.md}),(e=>{let{columns:t}=e;return(null===t||void 0===t?void 0:t.md)&&`grid-template-columns: ${t.md};`}),(e=>{let{theme:t}=e;return t.media.lg}),(e=>{let{columns:t}=e;return(null===t||void 0===t?void 0:t.lg)&&`grid-template-columns: ${t.lg};`}),(e=>{let{theme:t}=e;return t.media.xl}),(e=>{let{columns:t}=e;return(null===t||void 0===t?void 0:t.xl)&&`grid-template-columns: ${t.xl};`}),(e=>{let{align:t}=e;return t})),s=e=>{let{children:t,gap:n,...r}=e;return(0,i.jsx)(a,{...r,gap:n,columns:{base:"1fr",lg:"1fr 300px",xl:"1fr 350px"},children:t})},l=a},47237:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});n(9950);var r=n(24937),i=n(44414);const o=e=>{let{color:t,size:n,className:r,border:o,children:s}=e;return(0,i.jsx)(a,{className:r||"",color:t,size:n,border:o,children:s})},a=r.Ay.div.withConfig({componentId:"sc-1byhqf7-0"})(["display:flex;align-self:center;height:","px;width:","px;background-color:",";border-radius:50%;display:inline-block;",""],(e=>{let{size:t}=e;return t||12}),(e=>{let{size:t}=e;return t||12}),(e=>{let{color:t}=e;return t}),(e=>{let{border:t}=e;return t&&"border: 2px solid white;"}))},10599:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(74959),i=(n(9950),n(24937)),o=n(44414);const a=(e,t)=>t||(e?"1x":"2x"),s=e=>{let{icon:t,iconColor:n,small:s,size:l,style:c,...u}=e;const d=(0,i.DP)();return(0,o.jsx)(r.g,{style:c,size:a(s,l),icon:t,color:n?d.colors[n]:d.colors.accent,...u})}},98380:(e,t,n)=>{"use strict";n.d(t,{A:()=>m,J:()=>x});var r=n(22360),i=n(74959),o=n(74635),a=n(1474),s=n.n(a),l=n(55951),c=n(9950),u=n(24937),d=n(27034),p=n(82002),h=n(90204),f=n(44414);const m=c.forwardRef(((e,t)=>{var n,i;let{icon:a,showValidationError:l=!0,validate:u,valid:m,useBottomBorder:I,boldBottomBorder:_,centered:P,bgColor:O,large:T,className:D,value:j,defaultValue:B,onChange:N,type:M="text",errorText:R,label:L,lightLabel:F,smallLabel:z=!0,usePlaceHolderAsLabel:Q,showValidateIcon:U,placeholder:V,warning:G,loading:q,rightSidedIcon:H,paddingRight:W,suffix:Y,size:K,lightness:J,list:X,...Z}=e;const[$]=(0,c.useState)(null!==(n=Z.id)&&void 0!==n?n:s()(`${Z.name}-`)),[ee,te]=(0,c.useState)(null===(i=j||B)||void 0===i?void 0:i.toString()),ne=!!u&&function(e,t,n,r,i,a,s){if(n&&s&&!s.some((e=>n.startsWith(e))))return`${o.Ay.t("validation.mustStartWith","Value must start with one of the following:")} ${s.join(", ")}`;if(a)return" ";var l,c;if(n&&r&&n.length<r)return null!==(l=o.Ay.t("validation.minCharacterLength","Input is shorter than the allowed minlength of {{minLength}} characters",{minLength:r}))&&void 0!==l?l:void 0;if(n&&i&&n.length>i)return null!==(c=o.Ay.t("validation.maxCharacterLength","Input is longer than the allowed maxlength of {{maxLength}} characters",{maxLength:i}))&&void 0!==c?c:void 0;if(!t)return;if(t&&(null===n||void 0===n||!n.trim()))return o.Ay.t("validation.required","Required");if("email"===e&&(!n||-1===n.indexOf("@")))return o.Ay.t("validation.email","Invalid email");if("phone"===e&&n){if(!(0,d.g)(n))return o.Ay.t("validation.phoneInvalid","Invalid telephone number");if(!(0,d.H)(n))return o.Ay.t("validation.phoneLength","Telephone number must be 8 or 16 digits long")}return}(M,Z.required,ee,Z.minLength,Z.maxLength,G,Z.mustStartWith),re=!L&&Q&&V;return(0,f.jsxs)(C,{className:null!==D&&void 0!==D?D:void 0,children:[!re&&L&&(0,f.jsxs)(x,{htmlFor:$,className:F?void 0:"f3-700",light:F,smallLabel:z,children:[L,Z.required&&(0,f.jsx)(h.A,{small:!0,className:"d-inline",color:"textFaded",children:" *"})]}),(0,f.jsxs)(S,{hasIcon:!!a&&!H,bottomBorder:I,boldBottomBorder:_,valid:!l||!ne&&!R,paddingRight:W,large:T,children:[!H&&a&&(0,f.jsx)(A,{icon:a}),U&&u&&(0,f.jsx)(w,{icon:!1===m?r.s0Q:r.SGM,$valid:m}),re&&(0,f.jsx)(x,{asPlaceholder:!0,hasValue:!!ee,light:!0,smallLabel:z,children:re}),(0,f.jsx)(g,{id:$,ref:t,value:j,centered:P,type:M,fontSize:K,list:X,defaultValue:B?B.toString():void 0,placeholder:Q?void 0:V,bgColor:I&&!O?"transparent":O,onChange:e=>{te(e.target.value),null===N||void 0===N||N(e)},warning:G,lightness:J,...Z}),H&&(q||a)&&(0,f.jsx)(v,{children:q?(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(y,{}),(0,f.jsx)(p.A,{className:"ml-2"})]}):a?(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(y,{}),(0,f.jsx)(b,{icon:a})]}):null}),Y&&j&&(0,f.jsx)(k,{"data-suffix":Y,fontSize:K,centered:P,children:j})]}),l&&ne&&(0,f.jsx)(E,{children:ne}),R&&(0,f.jsx)(E,{children:R})]})})),g=u.Ay.input.withConfig({componentId:"sc-yjwzgg-0"})(["border-radius:0;transition:border-color 0.15s ease-in-out;",";background-color:",";outline:none;width:100%;line-height:26px;"," "," &:focus-within{border:1px s;}"],(e=>{let{fontSize:t}=e;return t&&`font-size ${t}px;`}),(e=>{let{theme:t,bgColor:n,lightness:r}=e;return n?r?(0,l.iv)(r,t.colors[n]):t.colors[n]:"#FFF"}),(e=>{let{centered:t}=e;return t&&"text-align: center;"}),(e=>{let{theme:t,warning:n}=e;return n&&`color: ${t.colors.error};`})),v=u.Ay.div.withConfig({componentId:"sc-yjwzgg-1"})(["position:absolute;right:15px;top:50%;transform:translateY(-50%);display:flex;justify-content:space-between;width:30px;"]),y=u.Ay.div.withConfig({componentId:"sc-yjwzgg-2"})(["height:1.3em;width:0;border-left:1px solid ",";"],(e=>{let{theme:t}=e;return t.colors.border})),A=(0,u.Ay)(i.g).withConfig({componentId:"sc-yjwzgg-3"})(["position:absolute;top:50%;left:10px;transform:translateY(-50%);pointer-events:none;font-size:16px;color:",";"],(e=>{let{theme:t}=e;return t.colors.textLight})),b=(0,u.Ay)(i.g).withConfig({componentId:"sc-yjwzgg-4"})(["color:",";font-size:16px;"],(e=>{let{theme:t}=e;return t.colors.textLight})),w=(0,u.Ay)(i.g).withConfig({componentId:"sc-yjwzgg-5"})(["position:absolute;top:50%;right:10px;transform:translateY(-50%);pointer-events:none;color:",";"],(e=>{let{theme:t,$valid:n}=e;return!0===n?t.colors.success:!1===n?t.colors.error:t.colors.textDisabled})),x=u.Ay.label.withConfig({componentId:"sc-yjwzgg-6"})(["width:100%;padding-top:3px;padding-bottom:3px;font-size:","px;letter-spacing:0.5px;color:",";transition:all 0.3s ease-in-out;margin-bottom:0;",""],(e=>{let{smallLabel:t}=e;return t?12:15}),(e=>{let{light:t,theme:n}=e;return t?n.colors.textLight:n.colors.text}),(e=>{let{asPlaceholder:t,hasValue:n,smallLabel:r,theme:i}=e;return t&&`\n      font-size: 14px;\n      pointer-events: none;\n      position: absolute;\n      z-index: 1;\n      color: ${i.colors.textFaded};\n      left: 10px;\n      top: 6px;\n      ${n&&`\n          top: -20px;\n          font-size: 12px;\n          color: ${i.colors.text};\n          left: 6px;\n          ${r&&"\n            width: auto;\n              top: -8px;\n              background: white;\n              padding: 0 3px;\n            "}\n        `}\n    `})),C=u.Ay.div.withConfig({componentId:"sc-yjwzgg-7"})(["position:relative;"]),S=u.Ay.div.withConfig({componentId:"sc-yjwzgg-8"})(["position:relative;width:100%;",""],(e=>{let{theme:t,bottomBorder:n,boldBottomBorder:r,hasIcon:i,large:o,valid:a,paddingRight:s}=e;return n?`\n        padding-bottom: ${r?12:2}px;\n        ${r?t.borders.underline2:t.borders.underline1};\n        ${g} {\n          border: 0;\n          ${o?"padding: 8px 15px;":""}\n          ${i?"padding-left: 34px;":""}\n        }\n      `:`\n        ${g} {\n          border: 1px solid ${a?t.colors.borderLight:t.colors.error};\n          padding: 6px 8px;\n          padding-right: ${s||""};\n          ${i?"padding-left: 34px;":""}\n\n          &:focus {\n            border: 1px solid ${t.colors.border};\n            box-shadow: none;\n          }\n        }\n      `})),k=u.Ay.span.withConfig({componentId:"sc-yjwzgg-9"})(["position:absolute;top:50%;left:0;color:transparent;padding:0 8px;width:100%;pointer-events:none;transform:translateY(-50%);",";",";&::after{position:absolute;content:attr(data-suffix);color:black;opacity:0.7;margin-left:3px;}"],(e=>{let{fontSize:t}=e;return t&&`font-size ${t}px;`}),(e=>{let{centered:t}=e;return t&&"text-align: center;"})),E=u.Ay.span.withConfig({componentId:"sc-yjwzgg-10"})(["display:block;color:",";font-size:11px;right:0;line-height:normal;margin-top:5px;"],(e=>{let{theme:t}=e;return t.colors.error}))},97589:(e,t,n)=>{"use strict";n.d(t,{A:()=>v,k:()=>y});var r=n(74959),i=n(23017),o=n(9950),a=n(24937),s=n(32833),l=n(82002),c=n(44414);const u=(0,a.Ay)(s.Ul).withConfig({componentId:"sc-oiodlh-0"})(["background-color:white;transition:opacity 0.2s ease,visibility 0.2s ease,transform 0.2s ease-in-out;width:",";",";"," ",""],(e=>{let{breakParentWidth:t}=e;return t?"max-content":"100%"}),(e=>{let{absolutePositioned:t}=e;return t?`\n          position: absolute;\n          ${t.top&&`top: ${t.top};`};\n          ${t.bottom&&`bottom: ${t.bottom};`};\n          ${t.left&&`left: ${t.left};`};\n          ${t.right&&`right: ${t.right};`};\n          box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.16);\n          z-index: 1000;\n        `:"\n          position: relative;\n        "}),(e=>{let{maxHeight:t}=e;return t&&`\n      max-height: ${t}px;\n      overflow: auto;\n    `}),(e=>{let{show:t}=e;return t?"\n        opacity: 1;\n        visibility: visible;\n        transform: none;":"\n        opacity: 0;\n        visibility: hidden;\n        transform: translateY(-20px);\n        transition-duration: 0.05s;\n      "})),d=a.Ay.span.withConfig({componentId:"sc-oiodlh-1"})(["display:block;padding:15px 15px 10px;"]),p=a.Ay.div.withConfig({componentId:"sc-oiodlh-2"})(["display:flex;flex-direction:row;align-items:center;> *:nth-child(2){margin-left:10px;}"]),h=a.Ay.button.withConfig({componentId:"sc-oiodlh-3"})(["display:flex;flex-direction:column;padding:7px 15px;border:0;width:100%;background-color:transparent;transition:background-color 0.2s ease;text-align:left;padding:",";",";&:hover,&:active{background:rgb(244,244,244);}&:focus-within{outline:0;}&:focus-visible{outline:1px solid black;}"],(e=>{let{thin:t}=e;return t?"5px":"7px 15px"}),(e=>{let{focused:t}=e;return t&&"background: rgb(244, 244, 244);"})),f=a.Ay.span.withConfig({componentId:"sc-oiodlh-4"})(["font-size:15px;"]),m=a.Ay.span.withConfig({componentId:"sc-oiodlh-5"})(["font-size:13px;"]),g=a.Ay.span.withConfig({componentId:"sc-oiodlh-6"})(["display:block;height:15px;width:15px;border-radius:50%;background:",";border:1px rgba(0,0,0,0.2) solid;"],(e=>{let{color:t}=e;return t})),v=e=>{let{items:t,thin:n,maxHeight:a,resultTitle:s,childrenTitleKey:v,childrenSubtitleKey:y,childrenIconKey:A,showColorDotFromHex:b,absolutePositioned:w={top:"100%",left:"0"},colorKey:x,focusedItemRow:C=-1,onFocusedItemRowChange:S,onEnter:k,onBackspace:E,onItemPress:I,onClickOutside:_,pending:P,breakParentWidth:O,...T}=e;const D=(0,i.Wr)((()=>null===_||void 0===_?void 0:_()));return(0,o.useEffect)((()=>{if(t.length<1)return;const e=e=>{const n=e.key;switch(n){case"ArrowUp":case"ArrowDown":if(e.preventDefault(),"ArrowDown"===n&&C>=t.length-1?null===S||void 0===S||S(0):"ArrowUp"===n&&0===C?null===S||void 0===S||S(t.length-1):null===S||void 0===S||S(C+("ArrowUp"===n?-1:1)),a){var r,i,o,s;const e=null===D||void 0===D||null===(r=D.current)||void 0===r?void 0:r.getBoundingClientRect(),a=null===D||void 0===D||null===(i=D.current)||void 0===i||null===(o=i.children)||void 0===o||null===(s=o[C])||void 0===s?void 0:s.getBoundingClientRect();var l,c;if(null!=e&&null!=a)if("ArrowUp"===n&&0===C)null===D||void 0===D||null===(l=D.current)||void 0===l||l.scrollTo(0,null===D||void 0===D||null===(c=D.current)||void 0===c?void 0:c.scrollHeight);else if("ArrowDown"===n&&C>=t.length-1){var u;null===D||void 0===D||null===(u=D.current)||void 0===u||u.scrollTo(0,0)}else if("ArrowDown"===n&&a.bottom+a.height>e.bottom){var d,p;null===D||void 0===D||null===(d=D.current)||void 0===d||d.scrollTo(0,(null===D||void 0===D||null===(p=D.current)||void 0===p?void 0:p.scrollTop)+(null===a||void 0===a?void 0:a.height))}else if("ArrowUp"===n&&a.top-a.height<e.top){var h,f;null===D||void 0===D||null===(h=D.current)||void 0===h||h.scrollTo(0,(null===D||void 0===D||null===(f=D.current)||void 0===f?void 0:f.scrollTop)-(null===a||void 0===a?void 0:a.height))}}break;case"Enter":null===k||void 0===k||k(e,t[C]);break;case"Backspace":null===E||void 0===E||E(e)}};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)}),[t,C,a,k,E,S,D]),(0,c.jsxs)(u,{breakParentWidth:O,ref:D,show:t.length>=1||P,role:"menu",maxHeight:a,absolutePositioned:w,...T,children:[s&&(0,c.jsx)(d,{className:"f1-500",children:s}),t.map(((e,t)=>{const i=b&&x&&"string"===typeof e[x]&&e[x];return(0,c.jsxs)(h,{tabIndex:0,role:"menuitem",type:"button",thin:n,onClick:t=>{t.stopPropagation(),t.preventDefault(),I(e)},focused:C===t,onMouseEnter:()=>null===S||void 0===S?void 0:S(t),children:[v&&e[v]&&(0,c.jsxs)(p,{children:[i&&(0,c.jsx)(g,{color:i}),A&&e[A]&&(0,c.jsx)(r.g,{icon:e[A]}),(0,c.jsx)(f,{children:e[v]})]}),y&&e[y]&&(0,c.jsx)(m,{children:e[y]}),"string"===typeof e&&e]},`items-list-item-${t}`)})),P&&(0,c.jsx)("div",{className:"p-1",children:(0,c.jsx)(l.A,{})})]})},y=a.Ay.div.withConfig({componentId:"sc-oiodlh-7"})(["position:absolute;left:25px;right:auto;bottom:-15px;z-index:200;"," ","{right:25px;left:auto;}"],(e=>{let{theme:t}=e;return t.shadows.high}),(e=>{let{theme:t}=e;return t.media.lg}))},32833:(e,t,n)=>{"use strict";n.d(t,{Ul:()=>i});var r=n(24937);const i=r.Ay.ul.withConfig({componentId:"sc-1wia2wk-0"})(["list-style-type:none;margin:0;padding:0;"]);r.Ay.ol.withConfig({componentId:"sc-1wia2wk-1"})(["margin:0;padding:0;"])},49096:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>m,lG:()=>f,sC:()=>C});var r=n(72608),i=n(28646),o=n(23017),a=n(9950),s=n(17119),l=n(24937),c=n(49940),u=n(35969),d=n(61768),p=n(90204),h=n(44414);const f=e=>{let{children:t,onClose:n,onFullscreen:l,closeOutside:u,blur:d,tint:f,width:m,height:g,maxWidth:v,maxHeight:b,portal:w=!1,header:x,additionalActions:C,overFlow:_="auto",startFullscreen:P=!1}=e;const O=(0,o.Wr)((()=>null===n||void 0===n?void 0:n()),null!==u&&void 0!==u&&u),[T,D]=(0,a.useState)(P),j=(0,a.useCallback)((e=>{null!==e&&(0,i.mh)(e)}),[]);(0,a.useEffect)((()=>()=>(0,i.qY)()),[]);const B=(0,h.jsx)(y,{className:"exclude-click-listener",tint:f,blur:d,ref:j,align:"center",justify:"center",children:(0,h.jsxs)(A,{fullscreen:T,ref:O,width:m,height:g,maxWidth:v,maxHeight:b,overFlow:_,children:[x&&(0,h.jsx)(S,{className:"mx-3",children:(0,h.jsx)(p.A,{fontSize:20,bold:!0,children:x})}),(0,h.jsxs)(k,{children:[C&&C.map(((e,t)=>(0,h.jsx)(I,{id:e.id,icon:e.icon,onClick:e.onClick,color:"text",bgColor:"fillWhite",className:"mr-2",title:e.title,disabled:e.disabled,children:e.label},t))),l&&(0,h.jsx)(E,{className:"mr-2",onClick:()=>{l(!T),D(!T)},icon:T?r.iOf:r.QsD,color:"text",bgColor:"fillWhite"}),n&&(0,h.jsx)(c.A,{onClose:()=>n()})]}),t]})});return w?(0,s.createPortal)(B,document.body):B},m=a.forwardRef(((e,t)=>{let{show:n,blur:r=!1,tint:i=!1,children:o,portal:a=!1,...l}=e;const c=(0,h.jsxs)(g,{children:[(0,h.jsx)(b,{show:n,...l,ref:t,children:o}),(0,h.jsx)(w,{tint:n&&i}),(0,h.jsx)(x,{blur:n&&r})]});return a?(0,s.createPortal)(c,document.body):c})),g=l.Ay.div.withConfig({componentId:"sc-1eq4pu2-0"})(["overscroll-behavior:contain;"]),v=(0,l.AH)(["position:fixed;top:0;left:0;display:flex;justify-content:center;align-items:center;height:100%;width:100%;z-index:9998;transition:opacity 0.2s ease,visibility 0.2s ease;"]),y=(0,l.Ay)(d.A).withConfig({componentId:"sc-1eq4pu2-1"})([""," ",""],v,(e=>{let{blur:t,tint:n}=e;return(t||n)&&`backdrop-filter: ${t?"blur(3px)":""} ${n?"brightness(0.5)":""};`})),A=l.Ay.div.withConfig({componentId:"sc-1eq4pu2-2"})(["position:relative;background:",";overflow:",";height:100%;width:100%;","{","}"],(e=>{let{theme:t}=e;return t.colors.fillWhite}),(e=>{let{overFlow:t}=e;return null!==t&&void 0!==t?t:"auto"}),(e=>{let{theme:t}=e;return t.media.lg}),(e=>{let{fullscreen:t,width:n,height:r,maxWidth:i,maxHeight:o}=e;return!t&&`\n        width: ${null!==n&&void 0!==n?n:"auto"};\n        height: ${null!==r&&void 0!==r?r:"auto"};\n        max-width: ${null!==i&&void 0!==i?i:"none"};\n        max-height: ${null!==o&&void 0!==o?o:"none"};\n      `})),b=l.Ay.div.withConfig({componentId:"sc-1eq4pu2-3"})([""," pointer-events:",";",""],v,(e=>{let{show:t}=e;return t?"all":"none"}),(e=>{let{show:t}=e;return!t&&"\n    opacity: 0;\n    visibility: hidden;\n  "})),w=l.Ay.div.withConfig({componentId:"sc-1eq4pu2-4"})(["width:100%;height:100%;opacity:",";transition:opacity 0.5s ease;position:fixed;top:0;left:0;bottom:0;right:0;background-color:#00000081;z-index:104;pointer-events:none;"],(e=>{let{tint:t}=e;return t?.5:0})),x=l.Ay.div.withConfig({componentId:"sc-1eq4pu2-5"})(["width:100%;height:100%;opacity:",";transition:opacity 0.5s ease;position:fixed;top:0;left:0;bottom:0;right:0;backdrop-filter:blur(3px);background-color:#00000081;z-index:104;pointer-events:none;"],(e=>{let{blur:t}=e;return t?1:0})),C=l.Ay.div.withConfig({componentId:"sc-1eq4pu2-6"})(["display:flex;overflow-y:auto;flex-direction:column;align-items:center;background:white;max-height:100%;max-width:max-content;padding:50px 40px;box-shadow:0px 6px 15px 5px rgba(163,163,163,0.19);"]),S=l.Ay.div.withConfig({componentId:"sc-1eq4pu2-7"})(["z-index:2;top:8px;left:0;line-height:34px;position:absolute;width:auto;"]),k=(0,l.Ay)(d.A).withConfig({componentId:"sc-1eq4pu2-8"})(["position:absolute;right:0.5rem;top:0.5rem;z-index:2;"]),E=(0,l.Ay)(u.A).withConfig({componentId:"sc-1eq4pu2-9"})(["","{display:none;}"],(e=>{let{theme:t}=e;return t.media.lgBelow})),I=(0,l.Ay)(u.A).withConfig({componentId:"sc-1eq4pu2-10"})(["","{span{display:none;}}"],(e=>{let{theme:t}=e;return t.media.lgBelow}))},63364:(e,t,n)=>{"use strict";n.d(t,{M:()=>W,A:()=>G});var r=n(22360),i=n(74959),o=n(44805),a=n(33453),s=n(23017),l=n(64267),c=n.n(l),u=n(69435),d=n(9950);function p(){return(p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function h(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)t.indexOf(n=o[r])>=0||(i[n]=e[n]);return i}function f(e){var t=(0,d.useRef)(e),n=(0,d.useRef)((function(e){t.current&&t.current(e)}));return t.current=e,n.current}var m=function(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=1),e>n?n:e<t?t:e},g=function(e){return"touches"in e},v=function(e){return e&&e.ownerDocument.defaultView||self},y=function(e,t,n){var r=e.getBoundingClientRect(),i=g(t)?function(e,t){for(var n=0;n<e.length;n++)if(e[n].identifier===t)return e[n];return e[0]}(t.touches,n):t;return{left:m((i.pageX-(r.left+v(e).pageXOffset))/r.width),top:m((i.pageY-(r.top+v(e).pageYOffset))/r.height)}},A=function(e){!g(e)&&e.preventDefault()},b=d.memo((function(e){var t=e.onMove,n=e.onKey,r=h(e,["onMove","onKey"]),i=(0,d.useRef)(null),o=f(t),a=f(n),s=(0,d.useRef)(null),l=(0,d.useRef)(!1),c=(0,d.useMemo)((function(){var e=function(e){A(e),(g(e)?e.touches.length>0:e.buttons>0)&&i.current?o(y(i.current,e,s.current)):n(!1)},t=function(){return n(!1)};function n(n){var r=l.current,o=v(i.current),a=n?o.addEventListener:o.removeEventListener;a(r?"touchmove":"mousemove",e),a(r?"touchend":"mouseup",t)}return[function(e){var t=e.nativeEvent,r=i.current;if(r&&(A(t),!function(e,t){return t&&!g(e)}(t,l.current)&&r)){if(g(t)){l.current=!0;var a=t.changedTouches||[];a.length&&(s.current=a[0].identifier)}r.focus(),o(y(r,t,s.current)),n(!0)}},function(e){var t=e.which||e.keyCode;t<37||t>40||(e.preventDefault(),a({left:39===t?.05:37===t?-.05:0,top:40===t?.05:38===t?-.05:0}))},n]}),[a,o]),u=c[0],m=c[1],b=c[2];return(0,d.useEffect)((function(){return b}),[b]),d.createElement("div",p({},r,{onTouchStart:u,onMouseDown:u,className:"react-colorful__interactive",ref:i,onKeyDown:m,tabIndex:0,role:"slider"}))})),w=function(e){return e.filter(Boolean).join(" ")},x=function(e){var t=e.color,n=e.left,r=e.top,i=void 0===r?.5:r,o=w(["react-colorful__pointer",e.className]);return d.createElement("div",{className:o,style:{top:100*i+"%",left:100*n+"%"}},d.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:t}}))},C=function(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=Math.pow(10,t)),Math.round(n*e)/n},S=(Math.PI,function(e){var t=e.s,n=e.v,r=e.a,i=(200-t)*n/100;return{h:C(e.h),s:C(i>0&&i<200?t*n/100/(i<=100?i:200-i)*100:0),l:C(i/2),a:C(r,2)}}),k=function(e){var t=S(e);return"hsl("+t.h+", "+t.s+"%, "+t.l+"%)"},E=function(e){var t=e.h,n=e.s,r=e.v,i=e.a;t=t/360*6,n/=100,r/=100;var o=Math.floor(t),a=r*(1-n),s=r*(1-(t-o)*n),l=r*(1-(1-t+o)*n),c=o%6;return{r:C(255*[r,s,a,a,l,r][c]),g:C(255*[l,r,r,s,a,a][c]),b:C(255*[a,a,l,r,r,s][c]),a:C(i,2)}},I=function(e){var t=e.r,n=e.g,r=e.b,i=e.a,o=Math.max(t,n,r),a=o-Math.min(t,n,r),s=a?o===t?(n-r)/a:o===n?2+(r-t)/a:4+(t-n)/a:0;return{h:C(60*(s<0?s+6:s)),s:C(o?a/o*100:0),v:C(o/255*100),a:i}},_=d.memo((function(e){var t=e.hue,n=e.onChange,r=w(["react-colorful__hue",e.className]);return d.createElement("div",{className:r},d.createElement(b,{onMove:function(e){n({h:360*e.left})},onKey:function(e){n({h:m(t+360*e.left,0,360)})},"aria-label":"Hue","aria-valuenow":C(t),"aria-valuemax":"360","aria-valuemin":"0"},d.createElement(x,{className:"react-colorful__hue-pointer",left:t/360,color:k({h:t,s:100,v:100,a:1})})))})),P=d.memo((function(e){var t=e.hsva,n=e.onChange,r={backgroundColor:k({h:t.h,s:100,v:100,a:1})};return d.createElement("div",{className:"react-colorful__saturation",style:r},d.createElement(b,{onMove:function(e){n({s:100*e.left,v:100-100*e.top})},onKey:function(e){n({s:m(t.s+100*e.left,0,100),v:m(t.v-100*e.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+C(t.s)+"%, Brightness "+C(t.v)+"%"},d.createElement(x,{className:"react-colorful__saturation-pointer",top:1-t.v/100,left:t.s/100,color:k(t)})))})),O=function(e,t){if(e===t)return!0;for(var n in e)if(e[n]!==t[n])return!1;return!0};function T(e,t,n){var r=f(n),i=(0,d.useState)((function(){return e.toHsva(t)})),o=i[0],a=i[1],s=(0,d.useRef)({color:t,hsva:o});(0,d.useEffect)((function(){if(!e.equal(t,s.current.color)){var n=e.toHsva(t);s.current={hsva:n,color:t},a(n)}}),[t,e]),(0,d.useEffect)((function(){var t;O(o,s.current.hsva)||e.equal(t=e.fromHsva(o),s.current.color)||(s.current={hsva:o,color:t},r(t))}),[o,e,r]);var l=(0,d.useCallback)((function(e){a((function(t){return Object.assign({},t,e)}))}),[]);return[o,l]}var D,j="undefined"!=typeof window?d.useLayoutEffect:d.useEffect,B=new Map,N=function(e){j((function(){var t=e.current?e.current.ownerDocument:document;if(void 0!==t&&!B.has(t)){var r=t.createElement("style");r.innerHTML='.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url(\'data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill-opacity=".05"><path d="M8 0h8v8H8zM0 8h8v8H0z"/></svg>\')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}',B.set(t,r);var i=D||n.nc;i&&r.setAttribute("nonce",i),t.head.appendChild(r)}}),[])},M=function(e){var t=e.className,n=e.colorModel,r=e.color,i=void 0===r?n.defaultColor:r,o=e.onChange,a=h(e,["className","colorModel","color","onChange"]),s=(0,d.useRef)(null);N(s);var l=T(n,i,o),c=l[0],u=l[1],f=w(["react-colorful",t]);return d.createElement("div",p({},a,{ref:s,className:f}),d.createElement(P,{hsva:c,onChange:u}),d.createElement(_,{hue:c.h,onChange:u,className:"react-colorful__last-control"}))},R={defaultColor:{r:0,g:0,b:0},toHsva:function(e){return I({r:e.r,g:e.g,b:e.b,a:1})},fromHsva:function(e){return{r:(t=E(e)).r,g:t.g,b:t.b};var t},equal:O},L=function(e){return d.createElement(M,p({},e,{colorModel:R}))},F=n(17119),z=n(70030),Q=n(24937),U=n(33345),V=n(44414);const G=e=>{var t,n,l,p;let{color:h,leftAligned:f,initRGBColor:m,initHexColor:g,initPmsColor:v,colorList:y,allowColorToBeDisabled:A,colorIsDisabled:b,onChange:w,onStaticChange:x,onShow:C,...S}=e;const[k]=(0,d.useState)(null!==v&&void 0!==v?v:null),[E,I]=(0,d.useState)([]),[_,P]=(0,d.useState)(null),[O,T]=(0,d.useState)((null!==m&&void 0!==m?m:null!=g)?(0,U.E2)(null!==g&&void 0!==g?g:""):null),D=(0,s.lW)(),j=(0,d.useRef)(null),{t:B}=(0,z.B)(),[N,M]=(0,d.useState)(),R=(0,d.useCallback)((function(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];null!=w&&(null===w||void 0===w||w(e),t&&document.activeElement.blur())}),[w]),Q=(0,d.useCallback)((async(e,t,n)=>{var r,i,o,a;t||R(null!=e?{hex:null!==(r=null===e||void 0===e?void 0:e.hex)&&void 0!==r?r:"",rgb:(0,U.E2)(null!==(i=null===e||void 0===e?void 0:e.hex)&&void 0!==i?i:""),name:null!==(o=null===e||void 0===e?void 0:e.name)&&void 0!==o?o:"",source:null!==(a=null===e||void 0===e?void 0:e.source)&&void 0!==a?a:"",sourceType:null===e||void 0===e?void 0:e.sourceType,enabled:!0}:null,n)}),[R]),G=e=>{var t,n,r;R({hex:null!==(t=null===e||void 0===e?void 0:e.hex)&&void 0!==t?t:"",rgb:(0,U.E2)(null!==(n=null===e||void 0===e?void 0:e.hex)&&void 0!==n?n:""),name:null!==(r=null===e||void 0===e?void 0:e.name)&&void 0!==r?r:"",sourceType:e.sourceType,enabled:!0})},Y=(0,d.useCallback)((async(e,t,n)=>{var r,i;T(e);const a=null===(r=await o.Ay.getPMSColors(e.r,e.g,e.b,2))||void 0===r?void 0:r.data;Q(null===a||void 0===a?void 0:a[0],t,n),I(a),null!=x&&null!=(null===a||void 0===a||null===(i=a[0])||void 0===i?void 0:i.hex)&&x(a[0])}),[Q,x]),J=(0,d.useCallback)((async e=>{var t,n,r;if(!e)return;const i=null===(t=await o.Ay.searchPMSColor(e,!0))||void 0===t?void 0:t.data;T((0,U.E2)(null!==(n=null===i||void 0===i||null===(r=i[0])||void 0===r?void 0:r.hex)&&void 0!==n?n:"")),null===x||void 0===x||x(null===i||void 0===i?void 0:i[0])}),[T]);(0,d.useEffect)((()=>{null!==E&&void 0!==E&&E.length||null==h||I([{name:h.name,hex:null===h||void 0===h?void 0:h.hex}])}),[h,E]),(0,d.useEffect)((()=>{k&&J(k)}),[k,J]),(0,d.useEffect)((()=>{null!=O&&null==E&&Y(O,!0)}),[O,E,Y]);const $=e=>{var t,n,r,i,o,a;null===(t=j.current)||void 0===t||null===(n=t.focus)||void 0===n||n.call(t),null===C||void 0===C||C();const s=e.currentTarget.getBoundingClientRect(),l={left:s.left+10,top:s.top+10},c=null!==(r=null===(i=j.current)||void 0===i?void 0:i.clientWidth)&&void 0!==r?r:0,u=null!==(o=null===(a=j.current)||void 0===a?void 0:a.clientHeight)&&void 0!==o?o:0;s.left+10+c>D.width&&(l.right=10,l.left="auto"),s.top+10+u>D.height&&(l.bottom=10,l.top="auto"),M(l)};return(0,V.jsxs)(H,{...S,children:[b?(0,V.jsx)(K,{color:"transparent",onClick:$}):(0,V.jsx)(W,{color:null!==(t=null===h||void 0===h?void 0:h.hex)&&void 0!==t?t:"",onClick:e=>$(e)}),(0,F.createPortal)((0,V.jsxs)(X,{ref:j,tabIndex:-1,style:N,children:[(0,V.jsx)(a.so,{column:!0,children:(0,V.jsx)(L,{color:null!==(n=null!==O&&void 0!==O?O:null===h||void 0===h?void 0:h.rgb)&&void 0!==n?n:{r:0,g:0,b:0},onChange:c()((async e=>{await Y(e,!1,!1)}),200)})}),(0,V.jsxs)(Z,{column:!0,children:[(0,V.jsx)(a.pd,{name:"Search",icon:r.MjD,rightSidedIcon:!0,placeholder:B("pmsColorPicker.searchPlaceHolder","PMS color"),onChange:c()((async e=>await(async e=>{var t;if(""===e)return P(null);const n=null===(t=await o.Ay.searchPMSColor(e,!1))||void 0===t?void 0:t.data;P(null!==n&&void 0!==n?n:[])})(e.target.value)),500),className:"mb-2 mr-1"}),null!=_&&0===(null===_||void 0===_?void 0:_.length)&&(0,V.jsx)(a.EY,{fontSize:14,className:"mb-1 mr-1",children:B("pmsColorPicker.searchZeroContent")}),[null!==h&&void 0!==h&&h.name?[h]:[],...[null!==_&&void 0!==_?_:[],E,[...A?[{name:"inactivate",hex:null}]:[],...null!==(l=null===y||void 0===y?void 0:y.used)&&void 0!==l?l:[]],null!==(p=null===y||void 0===y?void 0:y.inFile)&&void 0!==p?p:[]].map((e=>e.filter((e=>e.hex!==(null===h||void 0===h?void 0:h.hex)))))].map(((e,t)=>e.length>0?(0,V.jsx)(a.so,{$wrap:!0,className:"mb-1",children:e.map(((e,n)=>e.hex||"inactivate"===e.name?(0,V.jsxs)(a.so,{align:"center",children:[(0,V.jsx)(q,{color:e,selected:(null===h||void 0===h?void 0:h.hex)===e.hex,onClick:async()=>"inactivate"===e.name?await Q(null):G(e)}),(null===h||void 0===h?void 0:h.hex)===e.hex&&e.sourceType?(0,V.jsxs)(a.so,{className:"ml-1",align:"center",children:[(0,V.jsx)(i.g,{icon:r.iW_,className:"mr-1",fontSize:14}),(0,V.jsx)(a.EY,{fontSize:12,nowrap:!0,small:!0,children:B("refinement.sourceInfo",{context:u.PMSColorSource[e.sourceType]})})]}):null]},`pms-color-${t}-${n}-${e.hex}`):null))},`pms-color-row-${t}`):null))]})]}),document.body)]})},q=e=>{var t;let{color:n,selected:r,onClick:i}=e;const{t:o}=(0,z.B)(),s="inactivate"===n.name?J:Y;return(0,V.jsxs)($,{small:!0,selected:r,onClick:()=>i(n),children:[(0,V.jsx)(s,{as:"div",color:null!==(t=n.hex)&&void 0!==t?t:"",small:!0}),(0,V.jsx)(a.EY,{className:"ml-1",fontSize:12,children:"inactivate"===n.name?o("pmsColorPicker.inactivateColor"):n.name})]},`file-pms-color-${n.hex}`)},H=Q.Ay.div.withConfig({componentId:"sc-s6f8pj-0"})(["position:relative;"]),W=Q.Ay.button.withConfig({componentId:"sc-s6f8pj-1"})(["background-color:",";border:"," solid #707070;border-radius:",";",";"],(e=>{let{color:t}=e;return t}),(e=>{let{selected:t}=e;return t?"2px":"1px"}),(e=>{let{square:t}=e;return t?"2px":"50%"}),(e=>{let{small:t}=e;return t?"\n        height: 15px;\n        width: 15px;\n     ":"\n        height: 24px;\n        width: 24px;\n    "})),Y=(0,Q.Ay)(W).withConfig({componentId:"sc-s6f8pj-2"})(["border-radius:0;"]),K=(0,Q.Ay)(W).withConfig({componentId:"sc-s6f8pj-3"})(["background-size:cover;background-repeat:no-repeat;background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none'%3E%3Cpath fill='%23000' fill-opacity='.07' d='M0 0h8v8H0zM16 0h8v8h-8zM0 16h8v8H0zM16 16h8v8h-8zM8 8h8v8H8z'/%3E%3C/svg%3E\");"]),J=(0,Q.Ay)(K).withConfig({componentId:"sc-s6f8pj-4"})(["background-size:cover;background-repeat:no-repeat;background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none'%3E%3Cpath fill='%23000' fill-opacity='.07' d='M0 0h8v8H0zM16 0h8v8h-8zM0 16h8v8H0zM16 16h8v8h-8zM8 8h8v8H8z'/%3E%3C/svg%3E\");border-radius:0;"]),X=Q.Ay.div.withConfig({componentId:"sc-s6f8pj-5"})(["display:flex;flex-direction:Row;position:absolute;top:0;left:0;padding:5px;box-shadow:0px 4px 4px rgba(0,0,0,0.16);background-color:white;transition:opacity 0.1s ease,transform 0.1s ease,max-height 0.1s ease;max-height:0px;overflow:hidden;opacity:0;transform:scale(0.9);pointer-events:none;z-index:9999;&:focus-within,&:focus{opacity:1;transform:none;max-height:500px;overflow:visible;pointer-events:all;}"]),Z=(0,Q.Ay)(a.so).withConfig({componentId:"sc-s6f8pj-6"})(["width:260px;overflow:auto;padding:5px 0 15px 20px;"]),$=Q.Ay.button.withConfig({componentId:"sc-s6f8pj-7"})(["display:flex;flex-direction:row;justify-content:center;align-items:center;background-color:transparent;border:1px solid #00000020;margin:5px 5px 0 0px;padding:",";"," &:hover{background-color:#00000005;}"],(e=>{let{small:t}=e;return t?"4px 6px":"6px"}),(e=>{let{selected:t}=e;return t&&"\n      background-color: #00000010;\n      border-color: #00000050;\n    "}))},82471:(e,t,n)=>{"use strict";n.d(t,{A:()=>l,F:()=>o});var r=n(24937),i=n(44414);class o{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{width:1696,quality:80,rxy:"0.5,0.5"},n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];this.scaling=!0,this.dimensionsDefault={},this.dimensions=[],this.dimensionsDefault={...this.dimensionsDefault,...t},this.dimensions=e,this.scaling=n}}class a{constructor(){this.srcSet=void 0,this.srcSetLowQuality=void 0,this.srcSetWebp=void 0,this.srcSetWebpLowQuality=void 0,this.imgSrc=void 0,this.imgSrcLowQuality=void 0,this.altText=void 0,this.srcSet=[],this.srcSetLowQuality=[],this.srcSetWebp=[],this.srcSetWebpLowQuality=[],this.imgSrc="",this.imgSrcLowQuality="",this.altText=""}}const s=r.Ay.picture.withConfig({componentId:"sc-1y04xr5-0"})(["all:inherit;"]),l=e=>{var t,n;let{imageUrl:r,altText:a,className:l,picture:u=new o([{width:639,quality:80},{width:767,quality:80},{width:1024,quality:80},{width:1696,quality:80}]),scaling:d=!0}=e;const p=c.GetPictureData(r,u,!1,d),h=null!==(t=[...null!==(n=null===p||void 0===p?void 0:p.srcSet)&&void 0!==n?n:[]].pop())&&void 0!==t?t:r;return(0,i.jsxs)(s,{children:[d&&p&&p.srcSet.map(((e,t)=>(0,i.jsx)("source",{media:`(max-width: ${u.dimensions[t].width}px)`,srcSet:e},t))),(0,i.jsx)("img",{src:h,alt:a,className:l})]})};class c{static GetPictureData(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3?arguments[3]:void 0;const i=new a,o=c.GetFormatFromExtension(e);return null!==t.dimensions&&(i.srcSet=c.BuildSrcSet(e,t,o,!1,r),i.imgSrc=c.BuildQueryString(e,t,t.dimensionsDefault,o,0,r),"jpg"===o&&(i.srcSetWebp=c.BuildSrcSet(e,t,"webp"),n&&(i.srcSetWebpLowQuality=c.BuildSrcSet(e,t,"webp",!0)))),i}static BuildSizeAttribute(e){return e.dimensions.map((e=>`(max-width: ${e}px) ${e}px`)).join(", ")}static BuildSrcSet(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=!(arguments.length>4&&void 0!==arguments[4])||arguments[4];const o="webp"===n?1:t.dimensionsDefault.quality,a="png"===n?"png8":n,s=[];for(const l of t.dimensions)r?s.push(c.BuildQueryString(e,t,l,a,o,i)):s.push(c.BuildQueryString(e,t,l,n,0,i));return s}static GetFormatFromExtension(e){var t,n,r,i;let o=null===e||void 0===e||null===(t=e.split(/[#?]/)[0])||void 0===t||null===(n=t.split("."))||void 0===n||null===(r=n.pop())||void 0===r?void 0:r.trim();return"jpeg"===o&&(o="jpg"),null!==(i=o)&&void 0!==i?i:""}static BuildQueryString(e,t,n,r,i,o){var a;let s=null;if(!e)return"";s=e.startsWith("/")?new URL(e,window.location.protocol+window.location.hostname):new URL(e);const l=s.searchParams;if("webp"===r&&l.append("format",r),"png"!==r&&"png8"!==r||l.append("format","webp"),i>0)l.append("quality",i.toString());else if(!l.get("quality")&&null!==n&&void 0!==n&&n.quality){var c;l.append("quality",null===n||void 0===n||null===(c=n.quality)||void 0===c?void 0:c.toString())}else if(null!==(a=t.dimensionsDefault)&&void 0!==a&&a.quality){var u;l.append("quality",null===(u=t.dimensionsDefault)||void 0===u?void 0:u.quality.toString())}var d;(o&&n.width&&(l.append("width",n.width.toString()),n.height&&l.append("height",n.height.toString())),o&&n.height&&!l.get("rxy")&&t.dimensionsDefault.rxy)&&l.append("rxy",null===(d=t.dimensionsDefault.rxy)||void 0===d?void 0:d.toString());return s.toString()}}},44634:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(82002),i=n(24937),o=n(44414);const a=()=>(0,o.jsx)(s,{children:(0,o.jsx)(r.A,{className:"mx-1"})}),s=i.Ay.div.withConfig({componentId:"sc-s6oo6y-0"})(["height:100vh;display:flex;flex-direction:column;justify-content:center;align-items:center;font-size:40px;"])},82002:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(24937),i=n(61768),o=n(44414);const a={small:"1.2em",medium:"2.5em",large:"4em"},s={small:"1px",medium:"2px",large:"3px"},l=r.Ay.span.withConfig({componentId:"sc-1hkz6es-0"})(["width:",";height:",";border-radius:50%;position:relative;animation:rotate 1s linear infinite;&::before,&::after{content:'';box-sizing:border-box;position:absolute;inset:0px;border-radius:50%;border-style:solid;border-color:#b1b1b1;border-width:",";animation:prixClipFix 3s alternate infinite;}&::after{inset:4px;border-color:",";animation:prixClipFix 3.5s alternate infinite,rotate 0.5s linear infinite reverse;}@keyframes rotate{0%{transform:rotate(0deg);}100%{transform:rotate(360deg);}}@keyframes prixClipFix{0%{clip-path:polygon(50% 50%,0 0,0 0,0 0,0 0,0 0);}25%{clip-path:polygon(50% 50%,0 0,100% 0,100% 0,100% 0,100% 0);}50%{clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,100% 100%,100% 100%);}75%{clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,0 100%,0 100%);}100%{clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,0 100%,0 0);}}"],(e=>{let{size:t}=e;return t?a[t]:a.small}),(e=>{let{size:t}=e;return t?a[t]:a.small}),(e=>{let{size:t}=e;return t?s[t]:s.small}),(e=>{let{theme:t,color:n}=e;return t.colors?n?t.colors[n]:t.colors.attention:"#ff3d00"})),c=e=>{let{className:t,color:n,useFullHeight:r=!0,center:a,size:s}=e;return(0,o.jsx)(i.A,{className:r?"h-100":void 0,align:"center",justify:a?"center":"start",children:(0,o.jsx)(l,{color:n,className:t||void 0,size:s})})}},12087:(e,t,n)=>{"use strict";n.d(t,{I1:()=>h,Ay:()=>g});var r=n(84238),i=n(69435),o=n(24937),a=n(61768),s=n(47237),l=n(44414);const c=(0,o.Ay)(a.A).withConfig({componentId:"sc-14oopt6-0"})(["text-align:right;"]),u=e=>{var t,n,r;let{colorScheme:i,labelScheme:o,status:a,className:u,reverse:d,hideLabel:p}=e;return(0,l.jsxs)(c,{align:"center",$reverse:d,className:u||"",children:[(0,l.jsx)(s.A,{className:p?"":d?"ml-1":"mr-1",color:null!==(t=i[`${a}`])&&void 0!==t?t:""})," ",!p&&(null!==(n=null===(r=o[`${a}`])||void 0===r?void 0:r.call(o))&&void 0!==n?n:"")]})};var d=n(45798);const p={[i.ArticleStatus.Pending]:d.A.colors.pending,[i.ArticleStatus.Approved]:d.A.colors.approved,[i.ArticleStatus.Rejected]:d.A.colors.rejected,[i.ArticleStatus.Draft]:"#FD5200"},h={[i.ArticleStatus.Pending]:()=>r.A.t("status.processing","Processing"),[i.ArticleStatus.Approved]:()=>r.A.t("status.approved","Confirmed"),[i.ArticleStatus.Rejected]:()=>r.A.t("status.rejected","Rejected"),[i.ArticleStatus.Draft]:()=>r.A.t("status.draft","Draft")},f={[i.RefinementInternalStatus.Pending]:"#EABD49",[i.RefinementInternalStatus.Ok]:"#3BBD2F",[i.RefinementInternalStatus.OnHold]:"#eb623f"},m={[i.RefinementInternalStatus.Ok]:()=>r.A.t("status.ok","Ok"),[i.RefinementInternalStatus.Pending]:()=>r.A.t("action.pending","Pending"),[i.RefinementInternalStatus.OnHold]:()=>r.A.t("status.onhold","On Hold")},g=e=>{let{type:t="Status",status:n,className:r,hideLabel:i,reverse:o=!1}=e;const a=(e=>"RefinementInternalStatus"===e?{colors:f,labels:m}:{colors:p,labels:h})(t);return(0,l.jsx)(u,{status:n,className:r||"",colorScheme:a.colors,labelScheme:a.labels,reverse:o,hideLabel:i})}},90204:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(24937);const i=r.Ay.div.withConfig({componentId:"sc-s31epd-0"})(["color:",";font-size:",";white-space:",";"," "," "," "," "," "," "," "," "," "," "," "," ",""],(e=>{let{light:t,theme:n}=e;return t?n.colors.textLight:n.colors.text}),(e=>{let{large:t,small:n,theme:r}=e;return t?"16px":n?"12px":r.typography.fontSize}),(e=>{let{nowrap:t}=e;return t?"nowrap":"pre-line"}),(e=>{let{theme:t,color:n}=e;return n&&`color: ${t.colors[n]};`}),(e=>{let{bold:t}=e;return t&&"font-weight: 500;"}),(e=>{let{extraBold:t}=e;return t&&"font-weight: 700;"}),(e=>{let{italic:t}=e;return t&&"font-style: italic;"}),(e=>{let{underline:t}=e;return t&&"text-decoration: underline;"}),(e=>{let{strike:t}=e;return t&&"text-decoration: line-through;"}),(e=>{let{fontSize:t}=e;return t&&`font-size: ${t}px;`}),(e=>{let{lineheight:t}=e;return t&&`line-height: ${t}px;`}),(e=>{let{pointer:t}=e;return t&&"cursor: pointer;"}),(e=>{let{uppercase:t}=e;return t&&"text-transform: uppercase;"}),(e=>{let{center:t}=e;return t&&"text-align: center;"}),(e=>{let{right:t}=e;return t&&"text-align: right;"}),(e=>{let{textOverflow:t}=e;return t&&`\n      text-overflow: ellipsis;\n      overflow: hidden;\n      max-width: ${t}px;\n    `})),o=((0,r.Ay)(i).withConfig({componentId:"sc-s31epd-1"})(["padding:10px 15px;background-color:",";"],(e=>{let{theme:t}=e;return t.colors.fill})),i)},74383:(e,t,n)=>{"use strict";n.d(t,{A:()=>s,k:()=>a});var r=n(24937),i=n(61768),o=n(44414);const a=e=>{let{options:t,checked:n,onClick:r,small:a=!0,className:s,...p}=e;return(0,o.jsxs)(i.A,{column:!0,className:(s?`${s} `:"")+" position-relative",children:[(0,o.jsx)(c,{cols:t.length,className:"f3-500",children:t.map(((e,i)=>(0,o.jsx)(d,{small:a,active:n===e.value,onClick:()=>{if(n===e.value){const e=i+1<t.length?i+1:0,n=t[e];r(n.value)}else r(e.value)},children:e.label},i)))}),(0,o.jsx)(u,{small:a,checked:t.findIndex((e=>e.value===n)),...p,cols:t.length,children:(0,o.jsx)(l,{cols:t.length})})]})},s=e=>{let{valueLabelLeft:t,valueLabelRight:n,checked:r,onClick:a,small:s=!0,className:p,...h}=e;return(0,o.jsxs)(i.A,{column:!0,className:(p?`${p} `:"")+" position-relative",children:[(0,o.jsxs)(c,{className:"f3-500",onClick:()=>a(!r),cols:2,children:[(0,o.jsx)(d,{small:s,active:!r,children:t}),(0,o.jsx)(d,{small:s,active:!!r,children:n})]}),(0,o.jsx)(u,{small:s,checked:r,...h,children:(0,o.jsx)(l,{cols:2})})]})},l=r.Ay.span.withConfig({componentId:"sc-11wwdad-0"})(["position:absolute;top:2px;left:2px;display:block;height:calc(100% - 4px);width:calc(","% - 6px);background:",";transition:left 0.2s ease-in-out;"],(e=>{let{cols:t}=e;return 100/t}),(e=>{let{theme:t}=e;return t.colors.fillWhite})),c=r.Ay.button.withConfig({componentId:"sc-11wwdad-1"})(["display:grid;grid-template-columns:repeat(",",1fr);border-radius:1px;border:0;padding:0;gap:2px;"],(e=>{let{cols:t}=e;return t})),u=r.Ay.div.withConfig({componentId:"sc-11wwdad-2"})(["position:absolute;top:0;width:100%;height:",";background:",";border-radius:1px;z-index:1;padding:2px;"," ",""],(e=>{let{small:t}=e;return t?"32px":"36px"}),(e=>{let{theme:t}=e;return t.colors.fillMedium}),(e=>{let{checked:t}=e;return t&&"boolean"===typeof t&&`\n      ${l} {\n        left: calc(50% + 4px);\n        box-shadow: unset;\n      }\n    `}),(e=>{let{checked:t,cols:n}=e;return t&&n&&"number"===typeof t&&t>=1&&`\n      ${l} {\n        left: calc(${100/n*t}% + 4px);\n        box-shadow: unset;\n      }\n    `})),d=r.Ay.label.withConfig({componentId:"sc-11wwdad-3"})(["color:",";padding:0 1rem;width:100%;height:",";line-height:",";margin:0;font-size:",";text-align:center;z-index:2;cursor:pointer;white-space:nowrap;"],(e=>{let{theme:t,active:n}=e;return n?t.colors.accent:t.colors.textDisabled}),(e=>{let{small:t}=e;return t?"32px":"36px"}),(e=>{let{small:t}=e;return t?"32px":"36px"}),(e=>{let{small:t}=e;return t?"12px":"13px"}))},33453:(e,t,n)=>{"use strict";n.d(t,{L0:()=>st,nD:()=>d,n9:()=>A,oq:()=>I,Ex:()=>w,yP:()=>x.A,$n:()=>j,FN:()=>K,Sc:()=>ae,Jn:()=>B.A,fv:()=>$e,a6:()=>le,mc:()=>Ze,tk:()=>it.A,t1:()=>be,Jq:()=>ut,BS:()=>Ie,qU:()=>je,VU:()=>Re,ef:()=>Ge,S6:()=>We,so:()=>l.A,Lz:()=>Je,dN:()=>Ye,xA:()=>Xe.A,$K:()=>Xe.$,d:()=>N.A,v$:()=>R,K0:()=>s.A,_$:()=>z,_V:()=>ot,pd:()=>me.A,N_:()=>ft,z9:()=>gt,ej:()=>yt,gK:()=>bt,IU:()=>U,pe:()=>Et,aF:()=>It.Ay,g6:()=>_t,Qx:()=>Pt,zY:()=>Da,VI:()=>Dt.A,AM:()=>jt,sx:()=>Ut,l6:()=>Ro,M4:()=>Uo.A,FQ:()=>ma,y$:()=>S.A,XI:()=>va,tU:()=>Pa,EY:()=>se.A,VO:()=>ja.A,m_:()=>as,PA:()=>us,Ul:()=>xt.Ul,IZ:()=>gs});var r=n(22360),i=n(9950),o=n.t(i,2),a=n(24937),s=n(35969),l=n(61768),c=n(44414);const u=e=>{let{click:t,content:n,header:o,open:a,scrollToOpenItem:s}=e;const l=(0,i.useRef)(null),[u,d]=(0,i.useState)(a||!1),p=(0,i.useRef)(!1);(0,i.useEffect)((()=>{a&&s&&(d(a),p.current=!0)}),[a,s]),(0,i.useLayoutEffect)((()=>{if(l.current&&p.current){p.current=!1;const e=l.current.getBoundingClientRect().top+window.scrollY;window.scroll({top:e-25,behavior:"smooth"})}}));return(0,c.jsxs)(h,{ref:l,children:[(0,c.jsxs)(f,{justify:"between",align:"center",isOpen:u,className:"pb-3 f1-700",onClick:()=>{null===t||void 0===t||t(u),d(!u)},children:[o,(0,c.jsx)(g,{small:!0,icon:u?r.w2A:r.Jt$})]}),(0,c.jsx)(m,{isOpen:u,children:n})]})},d=e=>{let{items:t,scrollToOpenItem:n,className:r}=e;return(0,c.jsx)(p,{className:r,children:null===t||void 0===t?void 0:t.map((e=>(0,c.jsx)(u,{content:null===e||void 0===e?void 0:e.content,header:null===e||void 0===e?void 0:e.header,open:null===e||void 0===e?void 0:e.open,click:null===e||void 0===e?void 0:e.click,scrollToOpenItem:n},null===e||void 0===e?void 0:e.header)))})},p=a.Ay.div.withConfig({componentId:"sc-9wckgl-0"})(["width:100%;"]),h=a.Ay.div.withConfig({componentId:"sc-9wckgl-1"})(["height:auto;"]),f=(0,a.Ay)(l.A).withConfig({componentId:"sc-9wckgl-2"})(["width:100%;padding:1rem 0.6rem 1rem 0.6rem;gap:4px;border:none;text-align:left;cursor:pointer;border-bottom:1px solid #cfcec8;color:",";background-color:transparent;"],(e=>{let{theme:t,isOpen:n}=e;return n?t.colors.text:t.colors.textLight})),m=a.Ay.div.withConfig({componentId:"sc-9wckgl-3"})(["height:",";opacity:",";overflow:hidden;transition:all 0.2s ease;padding-top:",";padding-bottom:",";padding-left:0.6rem;padding-right:0.6rem;"],(e=>{let{isOpen:t}=e;return t?"auto":"0"}),(e=>{let{isOpen:t}=e;return t?"1":"0"}),(e=>{let{isOpen:t}=e;return t?"1rem":"0"}),(e=>{let{isOpen:t}=e;return t?"1rem":"0"})),g=(0,a.Ay)(s.A).withConfig({componentId:"sc-9wckgl-4"})(["background:",";"],(e=>{let{theme:t}=e;return t.colors.fill}));var v=n(55951);const y=a.Ay.div.withConfig({componentId:"sc-1oamcfk-0"})(["max-width:",";width:100%;"," "," color:",";transition:opacity 0.3s ease,background-color 0.3s ease;h1{color:",";}h2{color:",";}p{font-size:",";}img{height:auto;max-height:100%;object-fit:cover;max-width:100%;}video{max-width:100%;}> *:not(:last-child){margin-bottom:1.5rem;}"],(e=>{let{displayOption:t}=e;return"centered"===t?"680px":"none"}),(e=>{let{displayOption:t}=e;return"centered"===t&&"margin-left:  auto;"}),(e=>{let{displayOption:t}=e;return"centered"===t&&"margin-right: auto;"}),(e=>{let{theme:t}=e;return t.colors.text}),(e=>{let{theme:t}=e;return(0,v.a)(.1,t.colors.text)}),(e=>{let{theme:t}=e;return t.colors.accent}),(e=>{let{theme:t}=e;return t.typography.fontSize})),A=y,b=a.Ay.span.withConfig({componentId:"sc-1o02bp7-0"})(["min-width:17px;height:17px;line-height:17px;border-radius:9px;background-color:",";color:",";text-align:center;font-size:12px;position:absolute;right:-6px;bottom:0px;pointer-events:none;padding:0 4px;"],(e=>{let{theme:t,bgColor:n}=e;return n?t.colors[n]:t.colors.attention}),(e=>{let{theme:t,color:n}=e;return n?t.colors[n]:t.colors.attentionText})),w=b;var x=n(21202),C=n(23017),S=n(82002);a.Ay.div.withConfig({componentId:"sc-xhtik0-0"})(["position:relative;"]),(0,a.Ay)(l.A).withConfig({componentId:"sc-xhtik0-1"})(["padding:16px;"]);const k=(0,a.Ay)(s.A).withConfig({componentId:"sc-xhtik0-2"})(["background-color:",";"],(e=>{let{theme:t}=e;return t.colors.fillWhite}));(0,a.Ay)(k).withConfig({componentId:"sc-xhtik0-3"})([""," ",""],(e=>{let{theme:t}=e;return t.shadows.soft}),(e=>{let{renderMobile:t}=e;return t&&"\n    width: 100%;\n  "})),a.Ay.div.withConfig({componentId:"sc-xhtik0-4"})(["background-color:",";position:absolute;top:calc(50% - 9px);right:calc(100% + 10px);"],(e=>{let{theme:t}=e;return t.colors.fillWhite})),(0,a.Ay)(l.A).withConfig({componentId:"sc-xhtik0-5"})(["background:",";position:absolute;right:0;top:0;margin-top:36px;z-index:2000;"," ",""],(e=>{let{theme:t}=e;return t.colors.fillWhite}),(e=>{let{theme:t}=e;return t.shadows.high}),(e=>{let{renderMobile:t}=e;return t&&"\n    left: 0;\n    margin-top: 34px;\n  "}));var E=n(70030);const I=e=>{let{onBack:t,label:n,testId:i}=e;const{t:o}=(0,E.B)();return(0,c.jsxs)(O,{children:[(0,c.jsx)(P,{"data-testid":i,onClick:t,icon:r.CeG}),(0,c.jsx)(_,{children:null!==n&&void 0!==n?n:o("action.back","Back")})]})},_=a.Ay.div.withConfig({componentId:"sc-ulukqm-0"})(["padding:7px;"]),P=(0,a.Ay)(s.A).withConfig({componentId:"sc-ulukqm-1"})(["background-color:",";box-shadow:0px 4px 16px rgba(0,0,0,0.04);"],(e=>{let{theme:t}=e;return t.colors.fillWhite})),O=a.Ay.div.withConfig({componentId:"sc-ulukqm-2"})(["display:flex;justify-content:center;position:absolute;left:1rem;top:1rem;border-radius:10px;"]),T=a.Ay.button.withConfig({componentId:"sc-183ovnd-0"})(["position:relative;border:0;font-size:",";text-transform:",";width:",";padding:0 15px;white-space:nowrap;transition:opacity 0.3s ease,background-color 0.3s ease;height:",";line-height:",";color:"," !important;background-color:",";border-radius:",";> a{color:#fff;}&:disabled{color:"," !important;}",""],(e=>{let{fontSize:t}=e;return t||"15px"}),(e=>{let{uppercase:t}=e;return t?"uppercase":"inherit"}),(e=>{let{fullwidth:t}=e;return t?"100%":"auto"}),(e=>{let{height:t}=e;return t?t+"px":"35px"}),(e=>{let{height:t}=e;return t?t+"px":"35px"}),(e=>{let{theme:t,main:n,accent:r,attention:i,color:o,disabled:a}=e;return a?t.colors.textDisabled:o?t.colors[o]:i?t.colors.attentionText:r?t.colors.accentText:n?t.colors.mainText:t.colors.text}),(e=>D(e,e.theme.colors)),(e=>{let{pill:t,height:n}=e;return t?`${n?n/2:"17.5"}px;`:"2px"}),(e=>{let{theme:t}=e;return t.colors.textDisabled}),(e=>e.disabled?"":`\n    &:hover {\n      background-color: ${(0,v.Qw)(.03,D(e,e.theme.colors))};\n    }\n  `));function D(e,t){const{bgColor:n,attention:r,accent:i,main:o,disabled:a}=e;return a?t.disabled:n?t[n]:r?t.attention:i?t.accent:o?t.main:t.fill}const j=T;var B=n(49940),N=n(10599);const M=a.Ay.button.withConfig({componentId:"sc-1tl73ed-0"})(["width:38px;height:38px;line-height:38px;border-radius:19px;background-color:",";text-align:center;font-size:inherit;aria-label:inherit;padding:0;border:0;display:flex;align-items:center;justify-content:center;overflow:hidden;"],(e=>{let{theme:t,bgColor:n}=e;return n?t.colors[n]:(0,v.J1)(t.colors.main)>.95?(0,v.Qw)(.03,t.colors.main):(0,v.a)(.08,t.colors.main)})),R=e=>{let{icon:t,iconColor:n,bgColor:r,small:i,children:o,...a}=e;return(0,c.jsxs)(M,{bgColor:r,...a,children:[t&&(0,c.jsx)(N.A,{small:i,icon:t,iconColor:n||"mainText"}),o]})};var L=n(50361),F=n(7430);const z=e=>{let{apiCall:t,fileName:n,...r}=e;const o=(0,i.useRef)(null),[a,l]=(0,i.useState)(!1),{t:u}=(0,E.B)(),d=(0,C.jL)(),p=e=>{d((0,L.wp)({title:u("error.error","Error!"),description:u("error.general","Something went wrong, please try again or contact support."),hideCancel:!0}))};return(0,c.jsx)("div",{className:"text-center",ref:o,children:a?(0,c.jsx)(s.A,{iconContent:(0,c.jsx)(Q,{}),...r}):(0,c.jsx)(s.A,{onClick:e=>{l(!0),t().then((e=>e)).then((e=>{200===e.status?(0,F.PE)(new Blob([e.data]),n,o):p(e.status.toString()),l(!1)})).catch((e=>{p()}))},...r})})},Q=(0,a.Ay)(S.A).withConfig({componentId:"sc-qklc7k-0"})(["width:12px;height:12px;"]),U=e=>{let{icon:t,children:n,label:r,className:o,square:a,background:s,clickOutside:l}=e;const[u,d]=(0,i.useState)(!1),p=(0,i.useCallback)((()=>d((e=>!e))),[d]),h=(0,C.Wr)((()=>{p(),null===l||void 0===l||l()}),u);return(0,c.jsxs)(V,{justify:"end",className:o,children:[(0,c.jsx)(q,{background:s,disableFont:!0,square:a,icon:t,onClick:p,children:r}),u&&(0,c.jsx)(H,{ref:h,children:(0,c.jsx)(G,{children:n(p)})})]})},V=(0,a.Ay)(l.A).withConfig({componentId:"sc-glvk0m-0"})(["margin-bottom:0;position:relative;"]),G=a.Ay.div.withConfig({componentId:"sc-glvk0m-1"})(["padding:16px;"]),q=(0,a.Ay)(s.A).withConfig({componentId:"sc-glvk0m-2"})(["background-color:",";"],(e=>{let{background:t}=e;return"white"===t?"#fff":""})),H=(0,a.Ay)(l.A).withConfig({componentId:"sc-glvk0m-3"})(["background:",";position:absolute;right:0;top:0;margin-top:36px;z-index:2000;",""],(e=>{let{theme:t}=e;return t.colors.fillWhite}),(e=>{let{theme:t}=e;return t.shadows.high}));var W=n(81131);const Y=(0,a.Ay)(W.A).withConfig({componentId:"sc-4ejyf0-0"})([".slick-loading .slick-list{background:#fff url('./ajax-loader.gif') center center no-repeat;}.slick-prev,.slick-next{position:absolute;top:50%;-webkit-transform:translate(0,-50%);-ms-transform:translate(0,-50%);transform:translate(0,-50%);}.slick-prev.slick-disabled::before,.slick-next.slick-disabled::before{opacity:0.25;}.slick-prev{left:-15px;z-index:1;}[dir='rtl'] .slick-prev{right:-25px;left:auto;}.slick-next{right:-15px;}[dir='rtl'] .slick-next{right:auto;left:-25px;}.slick-dotted.slick-slider{margin-bottom:30px;}ul.slick-dots{","{display:none !important;}}.slick-dots{width:100%;padding:0;margin:12px 0 0;list-style:none;text-align:right;display:flex;flex-wrap:wrap;flex-direction:row-reverse;}.slick-dots li{position:relative;display:inline-block;margin:0 5px;padding:0 15px;cursor:pointer;padding-top:12px;}.slick-dots li button{font-size:0;line-height:0;display:block;cursor:pointer;color:transparent;border:0;outline:none;background:transparent;}.slick-dots li button:hover,.slick-dots li button:focus{outline:none;}.slick-dots li button:hover::before,.slick-dots li button:focus::before{opacity:1;background:",";}.slick-dots li button::before{position:absolute;top:0;left:0;width:45px;height:6px;content:'';text-align:center;opacity:0.25;background:",";-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;}.slick-dots li.slick-active button::before{opacity:1;background:",";}position:relative;display:block;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:auto;-webkit-touch-callout:none;-khtml-user-select:none;-ms-touch-action:pan-y;touch-action:pan-y;-webkit-tap-highlight-color:transparent;.slick-list{position:relative;display:block;overflow:hidden;margin:0;padding:0;}.slick-list:focus{outline:none;}.slick-list.dragging{cursor:pointer;cursor:hand;}.slick-track,.slick-list{-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);-o-transform:translate3d(0,0,0);transform:translate3d(0,0,0);}.slick-track{position:relative;top:0;left:0;display:flex;margin:auto;}.slick-track::before,.slick-track::after{display:table;content:'';}.slick-track::after{clear:both;}.slick-loading .slick-track{visibility:hidden;}.slick-slide{display:none;float:left;min-height:1px;}.slick-slide > div{height:100%;}[dir='rtl'] .slick-slide{float:right;}.slick-slide img{display:block;}.slick-slide.slick-loading img{display:none;}.slick-slide.dragging img{pointer-events:none;}.slick-slide{display:block;}.slick-loading .slick-slide{visibility:hidden;}.slick-vertical .slick-slide{display:block;height:auto;border:1px solid transparent;}.slick-arrow.slick-hidden{display:none;}"],(e=>{let{theme:t}=e;return t.media.lgBelow}),(e=>{let{theme:t}=e;return t.colors.accent}),(e=>{let{theme:t}=e;return t.colors.fillBlack}),(e=>{let{theme:t}=e;return t.colors.accent})),K=Y;var J=n(74959),X=n(1474),Z=n.n(X);const $=(0,i.forwardRef)(((e,t)=>{var n,o;let{name:s,label:l,circle:u,bgColor:d,webColor:p,iconColor:h,disabled:f,checked:m,defaultChecked:g,validate:v,required:y,className:A,small:b,indeterminate:w,onChange:x,...C}=e;const S=(0,a.DP)(),[k]=(0,i.useState)(null!==(n=C.id)&&void 0!==n?n:Z()(`${s}-`)),[I,_]=(0,i.useState)(!0===m||!0===g),P=void 0!==m?m:I,O=!v||y&&m,{t:T}=(0,E.B)();return(0,c.jsxs)(ee,{align:"center",className:A||"",children:[(0,c.jsx)(te,{bgColor:d,webColor:p,type:null!==(o=null===C||void 0===C?void 0:C.type)&&void 0!==o?o:"checkbox",id:k,name:s,ref:t,checked:P,disabled:f,onChange:e=>(e=>{_(e.target.checked),null===x||void 0===x||x(e)})(e),...C}),(0,c.jsxs)(re,{className:"flex-shrink-0",small:b,disabled:f,circle:u,bgColor:d,webColor:p,valid:O,children:[P&&!w&&(0,c.jsx)(J.g,{fontSize:15,icon:r.e68,color:f?S.colors.textDisabled:h?S.colors[h]:S.colors.textLight}),w&&(0,c.jsx)(J.g,{fontSize:15,icon:r.CCK,color:f?S.colors.textDisabled:h?S.colors[h]:S.colors.textLight})]}),l&&(0,c.jsxs)(ie,{disabled:f,className:"ml-3",htmlFor:k,children:[l,C.subLabel&&(0,c.jsx)(ne,{children:C.subLabel}),!O&&(0,c.jsx)(oe,{children:T("validation.requiredAccept","Please accept")})]})]})})),ee=(0,a.Ay)(l.A).withConfig({componentId:"sc-1j14gvl-0"})(["position:relative;"]),te=a.Ay.input.withConfig({componentId:"sc-1j14gvl-1"})(["position:absolute;opacity:0;width:30px;height:30px;cursor:",";&:focus-visible:not([disabled]) + div{border:2px solid ",";}&:hover ~ div{background-color:",";}"],(e=>{let{disabled:t}=e;return t?"normal":"pointer"}),(e=>{let{theme:t}=e;return t.colors.accent}),(e=>{let{bgColor:t,theme:n,webColor:r,disabled:i}=e;return i?n.colors.disabled:r&&n.webColors[r]?(0,v.Qw)(.03,n.webColors[r]):t&&n.colors[t]?(0,v.Qw)(.03,n.colors[t]):(0,v.Qw)(.03,n.colors.fillWhite)})),ne=a.Ay.p.withConfig({componentId:"sc-1j14gvl-2"})(["font-size:12px;color:",";margin-bottom:0;"],(e=>{let{theme:t}=e;return t.colors.textFaded})),re=a.Ay.div.withConfig({componentId:"sc-1j14gvl-3"})(["display:flex;width:","px;height:","px;align-items:center;justify-content:center;box-sizing:border-box;transition:all 150ms;border:",";",";"," background-color:",";"],(e=>{let{small:t}=e;return t?22:30}),(e=>{let{small:t}=e;return t?22:30}),(e=>{let{theme:t,valid:n,disabled:r}=e;return`1px solid ${r?t.colors.disabled:n?t.colors.borderLight:t.colors.error}`}),(e=>{let{circle:t}=e;return t&&"border-radius: 15px"}),(e=>{let{disabled:t,theme:n}=e;return t&&`color: ${n.colors.textDisabled};`}),(e=>{let{bgColor:t,webColor:n,theme:r,disabled:i}=e;return i?r.colors.disabled:n&&r.webColors[n]?r.webColors[n]:t&&r.colors[t]?r.colors[t]:r.colors.fillWhite})),ie=a.Ay.label.withConfig({componentId:"sc-1j14gvl-4"})(["width:100%;margin-bottom:0;"," &::first-letter{text-transform:uppercase;}"],(e=>{let{disabled:t,theme:n}=e;return t&&`color: ${n.colors.textDisabled};`})),oe=a.Ay.span.withConfig({componentId:"sc-1j14gvl-5"})(["color:",";font-size:11px;line-height:0.8em;display:block;"],(e=>{let{theme:t}=e;return t.colors.error})),ae=$;var se=n(90204);const le=e=>{let{text:t,charLimitDesktop:n=400,charLimitPhone:o=100}=e;const{smBelow:a}=(0,C.cb)(),[s,l]=(0,i.useState)(!1),u=a?o:n,d=t.length>u,p=(0,c.jsx)(ue,{className:"f1-400",light:!0,$isTextTruncated:d,$showFullText:s,children:t});return(0,c.jsxs)(ce,{children:[p,d&&(0,c.jsx)(de,{toggleShowFullText:s,square:!0,iconRight:!0,icon:r.tdl,bgColor:"transparent",onClick:()=>l(!s)})]})},ce=a.Ay.div.withConfig({componentId:"sc-5igzqi-0"})(["display:flex;justify-content:center;"]),ue=(0,a.Ay)(se.A).withConfig({componentId:"sc-5igzqi-1"})(["white-space:normal;line-height:1.6;font-size:14px;",""],(e=>{let{$isTextTruncated:t,$showFullText:n}=e;return t&&!n&&"\n    text-overflow: ellipsis;\n    overflow: hidden;\n    white-space: nowrap;\n    max-width: 100%;\n    display: block; \n  "})),de=(0,a.Ay)(s.A).withConfig({componentId:"sc-5igzqi-2"})(["display:flex;align-items:baseline;margin-top:0.25rem;color:",";svg{color:",";transform:",";transition:transform 0.05s linear;}&:hover{color:",";background-color:transparent;svg{color:",";}}"],(e=>{let{theme:t}=e;return t.colors.text}),(e=>{let{theme:t}=e;return t.colors.text}),(e=>{let{toggleShowFullText:t}=e;return t?"rotate(180deg); ":""}),(e=>{let{theme:t}=e;return t.colors.textLight}),(e=>{let{theme:t}=e;return t.colors.textLight}));var pe=n(72608),he=n(72348),fe=n.n(he),me=n(98380);function ge(e){if(e&&"None"!==e)return"Weekdays"===e?ve:"History"===e?Ae:"Future"===e?ye:void 0}const ve=e=>{const t=e.getDay();return 0!==t&&6!==t},ye=e=>new Date<e,Ae=e=>new Date>e,be=e=>{let{startDate:t,endDate:n,selectedDate:r,onChange:o,header:a,customInput:s,className:l,bgColor:u,showIcon:d,filter:p="Weekdays",autofocus:h,minDate:f,name:m}=e;const g=(0,i.forwardRef)(((e,t)=>(0,c.jsxs)(we,{children:[(0,c.jsx)(Se,{name:m,ref:t,autoFocus:h,onClick:e.onClick,bgColor:u,lightness:.8,className:`${e.className} ${d?"text-left":""}`,value:"string"===typeof e.value?e.value:"",onChange:e.onChange}),d&&(0,c.jsx)(xe,{onClick:e.onClick,children:(0,c.jsx)(Ce,{icon:pe.BEE})})]})));return(0,c.jsx)(fe(),{className:l,calendarContainer:a?e=>{let{className:t,children:n}=e;return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(ke,{className:"f1-400 mb-1",children:a}),(0,c.jsx)(he.CalendarContainer,{className:t,children:n})]})}:he.CalendarContainer,filterDate:ge(p),selected:r,startDate:t,endDate:n,dateFormat:"P",minDate:f,customInput:s?(0,c.jsx)(Ee,{children:s}):(0,c.jsx)(g,{}),onChange:o,showPopperArrow:!1,popperPlacement:"bottom-end"})},we=a.Ay.div.withConfig({componentId:"sc-11v3aj4-0"})(["left:200px;"]),xe=a.Ay.div.withConfig({componentId:"sc-11v3aj4-1"})(["position:absolute;right:15px;width:14px;display:flex;top:0;height:calc(100% - 2px);align-items:center;justify-content:center;cursor:pointer;"]),Ce=(0,a.Ay)(J.g).withConfig({componentId:"sc-11v3aj4-2"})(["color:",";font-size:16px;"],(e=>{let{theme:t}=e;return t.colors.textLight})),Se=(0,a.Ay)(me.A).withConfig({componentId:"sc-11v3aj4-3"})(["width:100%;"]),ke=a.Ay.div.withConfig({componentId:"sc-11v3aj4-4"})(["background:",";color:",";text-align:center;font-size:13px;padding:1rem;",";"],(e=>{let{theme:t}=e;return t.colors.fillWhite}),(e=>{let{theme:t}=e;return t.colors.text}),(e=>{let{theme:t}=e;return t.shadows.soft})),Ee=a.Ay.div.withConfig({componentId:"sc-11v3aj4-5"})([""]),Ie=e=>{let{onDrop:t,onPastedText:n,getDataFromClipboardEnabled:r,clipboardImageEnabled:o=!0,hoverFontSize:a,disabled:s,children:l,singleFile:u,...d}=e;const[p,h]=(0,i.useState)(!1),f=(0,i.useRef)(null),{t:m}=(0,E.B)();return(0,i.useEffect)((()=>{if(!r)return;const e=e=>{var r,i,a;if(!["INPUT"].includes(null===e||void 0===e||null===(r=e.target)||void 0===r?void 0:r.nodeName)&&null!==e&&void 0!==e&&e.clipboardData)if((null===e||void 0===e||null===(i=e.clipboardData)||void 0===i||null===(a=i.files)||void 0===a?void 0:a.length)>0&&(o||!e.clipboardData.files[0].type.startsWith("image/")))t(e.clipboardData.files);else if(null!=n){var s;const t=null===e||void 0===e||null===(s=e.clipboardData)||void 0===s?void 0:s.getData("Text");t&&n(t)}};return window.addEventListener("paste",e),()=>window.removeEventListener("paste",e)}),[r,o,n,t]),(0,i.useEffect)((()=>{let e=0;const n=t=>{var n;null!=t.dataTransfer&&(null===(n=t.dataTransfer.files)||void 0===n?void 0:n.length)>0&&(t.dataTransfer.clearData(),e=0)},r=e=>{e.preventDefault(),e.stopPropagation()},i=t=>{var n,r;t.preventDefault(),t.stopPropagation(),e++,null!=t.dataTransfer&&(null===t||void 0===t||null===(n=t.dataTransfer)||void 0===n||null===(r=n.items)||void 0===r?void 0:r.length)>0&&h(!0)},o=t=>{t.preventDefault(),t.stopPropagation(),e--,0===e&&h(!1)},a=e=>{var n;e.preventDefault(),e.stopPropagation(),h(!1),null!=e.dataTransfer&&(null===(n=e.dataTransfer.files)||void 0===n?void 0:n.length)>0&&t(e.dataTransfer.files)},s=null===f||void 0===f?void 0:f.current;if(null!=s)return s.addEventListener("dragstart",n),s.addEventListener("dragenter",i),s.addEventListener("dragleave",o),s.addEventListener("dragover",r),s.addEventListener("drop",a),()=>{s.removeEventListener("dragstart",n),s.removeEventListener("dragenter",i),s.removeEventListener("dragleave",o),s.removeEventListener("dragover",r),s.removeEventListener("drop",a)}}),[t]),(0,c.jsxs)(_e,{ref:f,isDragging:!!p,disabled:s,children:[(0,c.jsx)(Pe,{show:p,fontSize:a,...d,children:m(u?"file.draggingSingleText":"file.draggingText")}),l]})},_e=a.Ay.div.withConfig({componentId:"sc-xan02l-0"})(["position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;height:100%;width:100%;z-index:",";",";"],(e=>{let{isDragging:t}=e;return t?9999:0}),(e=>{let{disabled:t}=e;return t&&"pointer-events: none;"})),Pe=a.Ay.div.withConfig({componentId:"sc-xan02l-1"})(["display:flex;justify-content:center;align-items:center;position:absolute;top:0;left:0;font-size:","px;text-align:center;padding:15px;background-color:rgba(255,255,255,0.95);transition:opacity 0.2s ease,visibility 0.2s ease;height:inherit;width:inherit;visibility:hidden;opacity:0;",""],(e=>{let{fontSize:t}=e;return null!==t&&void 0!==t?t:18}),(e=>{let{show:t}=e;return t&&"opacity: 1; visibility: visible;"})),Oe=["TEXTAREA","INPUT"],Te=(e,t)=>{if(!e)return{x:0,y:0};const n=e.getBoundingClientRect();return{x:t?n.x+n.width/2:n.x+n.width,y:t?n.y+n.height/2:n.y+n.height}},De=(e,t)=>{const n=e.x-t.x,r=e.y-t.y;return Math.sqrt(n*n+r*r)},je=e=>{let{children:t,onChange:n,onDrop:r,offsetRight:o,dragToListEnabled:a,onDragToListChange:s,onDraggingListPosition:l,className:u,firstTopMargin:d,...p}=e;const[h,f]=(0,i.useState)(!1),m=(0,i.useRef)(null);return(0,i.useEffect)((()=>{let e,t,i,s,c=0,u=0,p=0;const h={x:0,y:0};if(null==(null===m||void 0===m?void 0:m.current))return()=>{};const g=Array.from(m.current.querySelectorAll("[data-draggable]")),v=e=>g.map(((n,r)=>({i:r,...Te(n===t?i:n,e)}))),y=n=>{var r;if("mousedown"===n.type&&0!==n.button||(e=>{do{var t,n,r,i;const o=null===(t=e)||void 0===t||null===(n=t.tagName)||void 0===n?void 0:n.toUpperCase();if(null!==(r=e)&&void 0!==r&&null!==(i=r.dataset)&&void 0!==i&&i.ignoreDrag)return!0;if(Oe.includes(o))return!0;e=e.parentNode}while(null!=e);return!1})(n.target))return;t=n.currentTarget,u=g.findIndex((e=>e===t)),c=u;const{clientX:s,clientY:l}=(null===n||void 0===n||null===(r=n.touches)||void 0===r?void 0:r.length)>0?n.touches[0]:n;for(const e of Array.from(document.getElementsByClassName("dragToListEnabled")))a||e.classList.contains("isDraggingToList")||e.classList.add("isDraggingToList");const d=t.getBoundingClientRect();i=document.createElement("div"),i.classList.add("dragging-placeholder"),i.style.width=d.width-(null!==o&&void 0!==o?o:0)+"px",i.style.height=`${d.height}px`,h.x=d.x-s,h.y=d.y-l,e=!1,t.style.width=`${d.width}px`,t.style.height=`${d.height}px`,window.addEventListener("mousemove",b),window.addEventListener("mouseup",A),window.addEventListener("touchmove",b,{passive:!1}),window.addEventListener("touchend",A),window.addEventListener("touchcancel",A)},A=o=>{var a,l,d;const{clientX:p,clientY:h}=(null===o||void 0===o||null===(a=o.touches)||void 0===a?void 0:a.length)>0?o.touches[0]:o;t.style.top="",t.style.left="",t.style.width="",t.style.height="",t.classList.remove("dragging-element"),window.removeEventListener("mouseup",A),window.removeEventListener("touchmove",b),window.removeEventListener("touchend",A),window.removeEventListener("touchcancel",A),null===(l=i)||void 0===l||l.remove(),i=null,null===(d=s)||void 0===d||d.remove(),s=null,e=!1;for(const e of Array.from(document.getElementsByClassName("dragToListEnabled")))e.classList.contains("isDraggingToList")&&e.classList.remove("isDraggingToList");var f,m;null!=r&&r({clientX:p,clientY:h,item:null!==(f=t)&&void 0!==f&&null!==(m=f.dataset)&&void 0!==m&&m.item?JSON.parse(t.dataset.item):null});null!=n&&n(c,u)},b=r=>{var o,a;const{clientX:s,clientY:l}=(null===r||void 0===r||null===(o=r.touches)||void 0===o?void 0:o.length)>0?r.touches[0]:r;var c;(r.preventDefault(),e||null==i||null==(null===(a=t)||void 0===a?void 0:a.parentNode))||(t.classList.add("dragging-element"),null===(c=t)||void 0===c||c.parentNode.insertBefore(i,t),e=!0,f(!0));if(!1===e)return;t.style.top=`${l+h.y}px`,t.style.left=`${s+h.x}px`;const p=Te(t,!0),m=v(!0);let y=1/0,A=-1;for(let e=0;e<m.length;e++){const t=De(p,m[e]);var b;if(t<y)y=t,A=e,A===m.length-1&&p.y>(null===(b=m[e])||void 0===b?void 0:b.y)&&(A=m.length)}if(i&&d&&(i.style.marginTop=0===A?`${d}px`:"0px"),null!=n&&A!==u){var w;const e=A>u;var x;if(A>=m.length||null!=e&&null==g[A].nextSibling)g[m.length-1].parentNode.appendChild(g[u]);else null===(x=g[A])||void 0===x||x.parentNode.insertBefore(g[u],e?g[A].nextSibling:g[A]);null!=(null===(w=t)||void 0===w?void 0:w.parentNode)&&null!=i&&t.parentNode.insertBefore(i,t),g.splice(A,0,g.splice(u,1)[0]),u=Math.min(m.length-1,A)}},w=e=>{var t;return e?"true"===(null===e||void 0===e||null===(t=e.dataset)||void 0===t?void 0:t.draggable)?e:w(e.parentElement):null},x=e=>{var t,n,r,i;const{clientY:a}=(null===e||void 0===e||null===(t=e.touches)||void 0===t?void 0:t.length)>0?e.touches[0]:e,c=w(e.target);if(c&&!s){const e=c.getBoundingClientRect();s=document.createElement("div"),s.classList.add("dragging-placeholder-drag-to"),s.style.width=e.width-(null!==o&&void 0!==o?o:0)+"px",s.style.height="50px"}const u=v();var d=[{i:-1,y:null!==(n=null===g||void 0===g||null===(r=g[0])||void 0===r||null===(i=r.getBoundingClientRect())||void 0===i?void 0:i.y)&&void 0!==n?n:0},...u].reduce((function(e,t){return Math.abs(t.y-a)<Math.abs(e.y-a)?t:e}));if(p!==(null===d||void 0===d?void 0:d.i)){try{var h;null===(h=g[null===d||void 0===d?void 0:d.i])||void 0===h||h.parentNode.insertBefore(s,-1!==(null===d||void 0===d?void 0:d.i)?g[null===d||void 0===d?void 0:d.i].nextSibling:g[null===d||void 0===d?void 0:d.i])}catch(f){}p=null===d||void 0===d?void 0:d.i,null===l||void 0===l||l(null===d||void 0===d?void 0:d.i)}};a&&null!=(null===m||void 0===m?void 0:m.current)&&(m.current.addEventListener("mouseover",x),m.current.addEventListener("touchmove",x),m.current.addEventListener("mousedown",x)),null!=r&&window.removeEventListener("mouseup",A);for(const n of g)n.addEventListener("mousedown",y),n.addEventListener("touchstart",y,{passive:!1});return()=>{window.removeEventListener("mousemove",b),window.removeEventListener("mouseup",A),window.removeEventListener("touchmove",b),window.removeEventListener("touchend",A),window.removeEventListener("touchcancel",A),a&&null!==m&&void 0!==m&&m.current&&(m.current.removeEventListener("mouseover",x),m.current.removeEventListener("touchmove",x),m.current.removeEventListener("mousedown",x),null!=s&&s.remove()),null!=i&&i.remove();for(const e of g)e.style.top=null,e.style.left=null,e.style.width=null,e.style.height=null,e.removeEventListener("mousedown",y),e.removeEventListener("touchstart",y),e.classList.remove("dragging-element")}}),[t,o,n,r,a,l,d]),(0,c.jsx)(Be,{className:""+((null!==u&&void 0!==u?u:"")+(a?" dragToListEnabled":"")),ref:m,hasBeenDragged:h,...p,children:t})},Be=a.Ay.div.withConfig({componentId:"sc-3agdo4-0"})(["> [data-draggable]{cursor:grab;}"," &.isDraggingToList >.dragging-placeholder-drag-to{display:block;}> .dragging-element{pointer-events:none;cursor:grabbing;position:fixed;z-index:999;}> .dragging-placeholder{border:1px dashed #d4d1db;}> .dragging-placeholder-drag-to{border:1px dashed #d4d1db;display:none;}"],(e=>{let{hasBeenDragged:t}=e;return t&&"\n      * {\n        animation-duration: 0s !important;\n        animation-delay: 0s !important;\n      }\n    "}));var Ne=n(7691);var Me=n(28181);const Re=e=>{let{label:t,labelColor:n,actionButtons:r,defaultOpen:o=!1,children:a,icon:s}=e;const[u,d]=(0,i.useState)(o),p=(0,i.useCallback)((()=>{d((e=>!e))}),[]);return(0,c.jsxs)(l.A,{column:!0,children:[(0,c.jsxs)(l.A,{align:"center",justify:"between",className:"w-100",children:[s?(0,c.jsxs)(l.A,{gap:"6px",align:"center",children:[(0,c.jsx)(J.g,{icon:s}),(0,c.jsx)(se.A,{color:n,children:t})]}):(0,c.jsx)(se.A,{color:n,children:t}),(0,c.jsxs)(l.A,{align:"center",justify:"end",children:[null===r||void 0===r?void 0:r.map(((e,t)=>(0,c.jsx)(i.Fragment,{children:e},t))),(0,c.jsx)(Le,{icon:u?Me.GF6:Me.tdl,onClick:p})]})]}),(0,c.jsx)(Fe,{$expanded:u,children:a})]})},Le=(0,a.Ay)(s.A).withConfig({componentId:"sc-1pnj9dl-0"})(["background-color:transparent;"]),Fe=a.Ay.div.withConfig({componentId:"sc-1pnj9dl-1"})(["overflow:hidden;max-height:0px;transition:max-height 0.125s cubic-bezier(0,1,0,1);",""],(e=>{let{$expanded:t}=e;return t&&"\n    max-height: 3000px;\n    transition: max-height 0.25s ease-in-out;\n    margin-bottom: 1rem;\n    "})),ze=a.Ay.div.withConfig({componentId:"sc-16widnt-0"})(["width:100%;height:100%;color:#003775;border:1px dashed ",";box-sizing:border-box;border-radius:4px;text-align:center;cursor:pointer;",";"],(e=>{let{theme:t,notValid:n}=e;return n?t.colors.error:t.colors.textLight}),(e=>{let{disabled:t}=e;return t&&"pointer-events: none;"})),Qe=(0,a.Ay)(N.A).withConfig({componentId:"sc-16widnt-1"})(["width:16px;"]),Ue=a.Ay.input.withConfig({componentId:"sc-16widnt-2"})(["display:none;"]),Ve=a.Ay.a.withConfig({componentId:"sc-16widnt-3"})(["pointer-events:all;border:none;padding:0;font-size:","px;color:",";"],(e=>{let{fontSize:t}=e;return t||16}),(e=>{let{theme:t}=e;return t.colors.text})),Ge=e=>{let{handleDrop:t,uploadFiles:n,cancelUpload:o,handlePastedText:a,getDataFromClipboardEnabled:s,clipboardImageEnabled:u,fileInputRef:d,allowedFiletypes:p,notValid:h,multiple:f,small:m,hoverFontSize:g,fontSize:v=13,icon:y,...A}=e;const[b,w]=(0,i.useState)(!1),{t:x}=(0,E.B)();return(0,c.jsx)(ze,{disabled:b,onClick:()=>b?null:(()=>{var e;null===d||void 0===d||null===(e=d.current)||void 0===e||e.click()})(),...A,notValid:h,children:(0,c.jsxs)(Ie,{hoverFontSize:g,onDrop:async e=>{w(!0),t(e).finally((()=>{w(!1)}))},onPastedText:a,getDataFromClipboardEnabled:s,clipboardImageEnabled:u,disabled:b,children:[b?(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(S.A,{useFullHeight:!1}),(0,c.jsxs)(l.A,{className:"mt-1",column:!0,children:[(0,c.jsx)(se.A,{className:"f1-200",fontSize:v,color:"textLight",children:x("file.processingFileUpload")}),(0,c.jsx)(Ve,{className:"f1-200",fontSize:v,onClick:()=>{null===o||void 0===o||o(),w(!1)},children:x("action.cancel")})]})]}):(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(Qe,{icon:null!==y&&void 0!==y?y:r.QLR,iconColor:"textLight"}),(0,c.jsx)(se.A,{className:"f1-200 mt-1",fontSize:v,color:"textLight",children:(0,c.jsx)("span",{dangerouslySetInnerHTML:{__html:x("file.dragAndDropOrBrowse","Drag and drop or <u>browse</u>")}})}),p&&(0,c.jsxs)(se.A,{className:"f1-200 mt-1",fontSize:v,color:"textLight",children:[x("file.allowedType","Allowed file types"),": ",p]})]}),(0,c.jsx)(Ue,{multiple:f,id:"customer-file-upload",type:"file",ref:d,onChange:async e=>{w(!0),n(e).finally((()=>{w(!1)}))}})]})})},qe=a.Ay.button.withConfig({componentId:"sc-2i9zpv-0"})(["border:none;background-color:",";transition:background-color 0.2s ease;&:hover{background-color:",";}display:flex;align-items:center;"],(e=>{let{theme:t}=e;return t.colors.transparent}),(e=>e.theme.colors.fill)),He=a.Ay.span.withConfig({componentId:"sc-2i9zpv-1"})(["font-size:12px;color:",";"],(e=>{let{theme:t}=e;return t.colors.textLight})),We=e=>{let{text:t,onRemove:n,className:i}=e;const o=(0,a.DP)();return(0,c.jsxs)(qe,{className:`px-2 py-1 mr-1 ${i}`,onClick:n,children:[(0,c.jsx)(He,{children:t}),(0,c.jsx)(J.g,{className:"ml-2",size:"sm",fontSize:14,icon:r.GRI,color:o.colors.textLight})]})},Ye=a.Ay.label.withConfig({componentId:"sc-1xzmxar-0"})(["width:100%;padding-top:3px;margin-bottom:3px;font-size:12px;letter-spacing:0.5px;"]),Ke=a.Ay.textarea.withConfig({componentId:"sc-b67i43-0"})(["border:1px solid ",";border-radius:0;width:100%;padding:6px 8px;&:focus{outline:none;border:1px solid ",";box-shadow:none;}"],(e=>{let{theme:t}=e;return t.colors.borderLight}),(e=>{let{theme:t}=e;return t.colors.border})),Je=e=>{let{value:t,className:n,name:r,onChange:i,label:o,defaultValue:a,...s}=e;return(0,c.jsxs)(c.Fragment,{children:[o&&(0,c.jsx)(Ye,{className:"f3-700",children:o}),(0,c.jsx)(Ke,{name:r,value:t,className:n,onChange:i,defaultValue:a,...s})]})};var Xe=n(24394);const Ze=e=>{let{children:t,grid:n=!0,gap:r="1.5rem",...i}=e;return!1===n?(0,c.jsx)(tt,{className:i.className,...i,children:t}):(0,c.jsx)(nt,{...i,gap:r,columns:{base:"repeat(12, 1fr)"},children:t})},$e=e=>{let{children:t,xs:n=12,...r}=e;return(0,c.jsx)(rt,{xs:n,...r,children:t})},et=(0,a.AH)(["width:100%;max-width:","px;margin-left:auto;margin-right:auto;"],(e=>{let{theme:t}=e;return t.breakpoints.xl})),tt=a.Ay.div.withConfig({componentId:"sc-120bbrj-0"})(["",""],et),nt=(0,a.Ay)(Xe.A).withConfig({componentId:"sc-120bbrj-1"})(["",""],et),rt=a.Ay.div.withConfig({componentId:"sc-120bbrj-2"})(["position:relative;grid-column:span ",";","{",";}","{",";}","{",";}","{",";}"],(e=>{let{xs:t}=e;return t}),(e=>{let{theme:t}=e;return t.media.sm}),(e=>{let{sm:t}=e;return t&&`grid-column: span ${t}`}),(e=>{let{theme:t}=e;return t.media.md}),(e=>{let{md:t}=e;return t&&`grid-column: span ${t}`}),(e=>{let{theme:t}=e;return t.media.lg}),(e=>{let{lg:t}=e;return t&&`grid-column: span ${t}`}),(e=>{let{theme:t}=e;return t.media.xl}),(e=>{let{xl:t}=e;return t&&`grid-column: span ${t}`}));var it=n(47237);const ot=e=>{let{alt:t,...n}=e;const{loaded:r}=(0,C.lK)(n.src||"");return r?(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("meta",{itemProp:"image",content:n.src}),(0,c.jsx)("img",{alt:t||"",...n})]}):null},at=a.Ay.div.withConfig({componentId:"sc-mr5ffp-0"})(["position:absolute;top:",";right:",";",""],(e=>{let{top:t}=e;return t||"1rem"}),(e=>{let{right:t,left:n}=e;return t||(n?"auto":"1rem")}),(e=>{let{left:t}=e;return t&&`left: ${t};`})),st=at,lt={"":12,centered:12,full:12,fullscreen:12,half:6,twothirds:8,quarter:3,onethird:4,threequarters:9},ct={"":12,centered:12,fullscreen:12,full:12,half:6,twothirds:8,quarter:6,onethird:4,threequarters:9};const ut=e=>{let{displayOption:t,children:n}=e;const r=function(e){return{sm:"quarter"===e?6:12,md:ct[e],lg:lt[e],xl:lt[e]}}(t);return(0,c.jsx)(dt,{xs:12,sm:r.sm,md:r.md,lg:r.lg,xl:r.xl,children:n})},dt=(0,a.Ay)($e).withConfig({componentId:"sc-43g4ph-0"})(["display:flex;flex-wrap:wrap;"]);var pt=n(42074);const ht=(0,a.Ay)((e=>{let{className:t,to:n,children:r,target:o,noStyle:a,pill:s,attention:l,bgColor:u,color:d,state:p,rel:h,...f}=e;const m=(0,Ne.A)((e=>{let{epiContext:t}=e;return t.inEditMode})),g=function(e){return"object"===typeof e&&"pathname"in e}(n)?n.pathname:n;return n?m||"string"===typeof g&&g.match(/^(http(s)?|ftp|mailto|tel):\/\//)?(0,c.jsx)("a",{href:g,className:`EPiLink ${t}`,...f,target:o||"_self",children:r}):(0,c.jsx)(pt.N_,{to:n,rel:h||"",state:p,className:`${t||""}`,...f,target:o||"_self",children:r}):(0,c.jsx)(i.Fragment,{children:r})})).withConfig({componentId:"sc-q2dfk9-0"})(["color:",";text-decoration:",";&:hover,&:focus,&:visited{color:",";","}"],(e=>{let{theme:t,noStyle:n}=e;return n?"inherit":t.colors.text}),(e=>{let{noStyle:t}=e;return t?"none":"underline"}),(e=>{let{theme:t,noStyle:n}=e;return n?"inherit":t.colors.text}),(e=>{let{noStyle:t}=e;return t&&"text-decoration: none;"})),ft=ht,mt=(0,a.Ay)((e=>{let{children:t,...n}=e;return(0,c.jsx)(j,{as:ft,...n,children:t})})).withConfig({componentId:"sc-1ryuhjp-0"})(["text-decoration:none;text-align:center;&:hover,&:focus,&:visited{text-decoration:none;color:inherit;}&[disabled]{pointer-events:none;background-color:",";color:"," !important;}"],(e=>{let{theme:t}=e;return t.colors.fill}),(e=>{let{theme:t}=e;return t.colors.textDisabled})),gt=mt,vt=a.Ay.div.withConfig({componentId:"sc-zna8v7-0"})(["margin-top:auto;"," ",""],(e=>{let{center:t}=e;return t?"margin:0 auto;":""}),(e=>{let{link:t,theme:n,color:r,center:i,borderColor:o}=e;return t?`\n        a,\n        a:visited {\n          color: ${r||n.colors.text};\n          border: 2px solid ${o||n.colors.accent};\n          padding: 10px 20px;\n          margin-top: 10px;\n          display: inline-block;\n          border-radius: 4px;\n          text-decoration: none;\n          transition: background 0.5s linear;\n          width: fit-content;\n          ${i?"text-align:center;":""}\n        }\n        a:hover,\n        a:focus {\n          color: ${n.colors.text};\n          background: ${(0,v.a)(.35,n.colors.accent)};\n        }`:`\n        color: ${r||n.colors.text};\n        border: 2px solid ${o||n.colors.accent};\n        padding: 10px 20px;\n        margin-top: 10px;\n        display: inline-block;\n        border-radius: 4px;\n        text-decoration: none;\n        transition: background 0.5s linear;\n        width: fit-content;\n        ${i?"text-align:center;":""}\n        \n        &:hover,\n        &:focus {\n          color: ${n.colors.text};\n          background: ${(0,v.a)(.35,n.colors.accent)};\n        }`})),yt=e=>{let{className:t,children:n,...r}=e;return(0,c.jsx)(vt,{className:t,...r,children:n})},At=a.Ay.span.withConfig({componentId:"sc-1p6vox2-0"})(["text-decoration:underline;color:",";font-size:",";cursor:pointer;&:hover,&:focus{color:",";}"],(e=>{let{theme:t,color:n}=e;return n?t.colors[n]:t.colors.text}),(e=>{let{fontSize:t}=e;return t||"initial"}),(e=>{let{theme:t,color:n}=e;return(0,v.a)(.25,n?t.colors[n]:t.colors.text)})),bt=At;var wt,xt=n(32833);const Ct=(0,i.forwardRef)(((e,t)=>{var n;const[r,o]=(0,i.useState)(!1);return(0,i.useEffect)((()=>{var t;e.show&&(o(!0),e.disableAutoClose||(wt=setTimeout((()=>{var t;o(!1),null===(t=e.onClose)||void 0===t||t.call(e)}),null!==(t=e.hideDelayInMs)&&void 0!==t?t:2e3)));return()=>{wt&&clearTimeout(wt)}}),[e.show,e.hideDelayInMs,e.onClose]),(0,c.jsx)(St,{ref:t,show:r&&!!e.message,top:e.top,right:e.right,disableTransition:e.disableTransition,children:r&&(0,c.jsxs)(c.Fragment,{children:[e.icon&&(0,c.jsx)(kt,{icon:e.icon,col:null!==(n=e.iconColor)&&void 0!==n?n:"success"}),(0,c.jsx)("span",{children:e.message})]})})})),St=a.Ay.div.withConfig({componentId:"sc-17wrieu-0"})(["position:absolute;top:",";bottom:",";right:",";left:",";display:block;background-color:#2f2f2f;padding:8px 10px;color:white;font-size:14px;text-align:left;height:auto;opacity:0;visibility:hidden;",";border-radius:2px;line-height:1.1;max-width:285px;z-index:10;",""],(e=>{let{top:t}=e;return null!==t&&void 0!==t?t:""}),(e=>{let{bottom:t}=e;return null!==t&&void 0!==t?t:""}),(e=>{let{right:t}=e;return t||"25px"}),(e=>{let{left:t}=e;return t||""}),(e=>{let{disableTransition:t}=e;return!t&&"transition: opacity 0.2s ease, visibility 0.2s ease, margin 0.2s ease;"}),(e=>{let{show:t,disableTransition:n}=e;return n?"\n        opacity: 1;\n        visibility: visible;\n        ":t&&"\n        opacity: 1;\n        visibility: visible;\n        transition-delay: 0.3s;\n        transition-duration: 0.2s;\n        "})),kt=(0,a.Ay)(J.g).withConfig({componentId:"sc-17wrieu-1"})([""," margin-right:8px;"],(e=>{let{col:t,theme:n}=e;return t&&`color: ${n.colors[t]};`})),Et=Ct;var It=n(49096);const _t=e=>{let{renderTrigger:t,children:n,disabled:r,portal:o=!0}=e;const[a,s]=(0,i.useState)(!1),l=(0,i.cloneElement)(n,{closeModal:()=>s(!1)});return(0,c.jsxs)(c.Fragment,{children:[a&&(0,c.jsx)(It.lG,{portal:o,blur:!0,tint:!0,onClose:()=>s(!1),closeOutside:!0,width:"auto",height:"auto",maxHeight:"100vh",children:l}),t((()=>!r&&s(!0)))]})},Pt=e=>{let{color:t="error",icon:n="warning",children:r,className:i=""}=e;const o=(0,a.DP)();return(0,c.jsxs)(Ot,{color:t,className:`${i} p-3`,align:"center",children:[(0,c.jsx)(J.g,{size:"lg",color:o.colors[t],icon:Tt(n),className:"ml-2 mr-3"}),(0,c.jsx)(se.A,{fontSize:12,children:r})]})},Ot=(0,a.Ay)(l.A).withConfig({componentId:"sc-14hak8w-0"})(["background-color:",";border:1px solid ",";border-radius:",";"],(e=>{let{theme:t,color:n}=e;return(0,v.a)(.2,t.colors[n])}),(e=>{let{theme:t,color:n}=e;return t.colors[n]}),(e=>{let{theme:t}=e;return t.borders.radius}));function Tt(e){switch(e){case"warning":return r.tUE;case"success":return r.e68;case"info":return r.iW_}}var Dt=n(82471);const jt=e=>{let{label:t,buttonIcon:n,showPopover:r,onClick:o,children:a,onClickOutside:l}=e;const u=(0,i.useRef)(null),d=(0,i.useRef)(null),[p,h]=(0,i.useState)(!1),[f,m]=(0,i.useState)(!1),g=(0,C.Wr)((()=>l()),r);return(0,i.useEffect)((()=>{if(null===d||void 0===d||!d.current)return;const e=d.current.getBoundingClientRect();h(e.top<.4*window.innerHeight),m(e.right>.6*window.innerWidth)}),[r]),(0,c.jsxs)("div",{ref:g,children:[(0,c.jsx)(s.A,{bgColor:"transparent",icon:n,small:!0,iconSize:"xs",style:{position:"relative"},ref:d,onClick:()=>{o&&o()}}),r&&(0,c.jsxs)("div",{ref:u,style:{position:"absolute",right:f?"0":void 0,transform:""+(p?"translateY(0)":"translateY(-120%)"),background:"white",width:"fit-content",boxShadow:"0px 0px 24px 0 rgba(0,0,0,0.16)",zIndex:9999,minWidth:"200px",minHeight:"100px"},children:[t&&(0,c.jsx)(Nt,{bold:!0,children:t}),(0,c.jsx)(Bt,{children:a})]})]})},Bt=a.Ay.div.withConfig({componentId:"sc-n1otic-0"})(["padding:0 16px;max-height:240px;overflow:auto;scrollbar-width:thin;"]),Nt=(0,a.Ay)(se.A).withConfig({componentId:"sc-n1otic-1"})(["padding:6px 16px;border-bottom:1px solid #e9e9e9;"]),Mt=(0,i.forwardRef)(((e,t)=>{var n;const o=(0,a.DP)(),{name:s,label:l,bgColor:u,addRightMargin:d=!0,iconColor:p,className:h,checked:f,defaultChecked:m,disabled:g,small:v=!1,...y}=e,[A]=(0,i.useState)(null!==(n=y.id)&&void 0!==n?n:Z()(`${s}-`));return(0,c.jsxs)(Rt,{align:"center",className:`${h} ${d?"mr-3":""}`,disabled:g,children:[(0,c.jsx)(Lt,{checked:f,bgColor:u,disabled:g,type:"radio",id:A,name:s,ref:t,...y}),(0,c.jsx)(zt,{disabled:g,bgColor:u,children:(f||m)&&(0,c.jsx)(J.g,{fontSize:15,icon:r.e68,color:p||o.colors.textLight})}),l&&(0,c.jsxs)(Ft,{disabled:g,htmlFor:A,className:"m-0 "+(v?"ml-2":"ml-3"),children:[l,y.subLabel&&(0,c.jsx)(Qt,{children:y.subLabel})]})]})})),Rt=(0,a.Ay)(l.A).withConfig({componentId:"sc-ltzntq-0"})(["position:relative;> *{cursor:pointer;}",""],(e=>{let{disabled:t,theme:n}=e;return t&&`\n      color: ${n.colors.textDisabled};\n      cursor: unset;\n    `})),Lt=a.Ay.input.withConfig({componentId:"sc-ltzntq-1"})(["position:absolute;opacity:0;width:30px;height:30px;cursor:"," !important;&:focus-visible:not([disabled]) + div{border:2px solid ",";}&:hover ~ div{background-color:",";}"],(e=>{let{disabled:t}=e;return t?"unset":"pointer"}),(e=>{let{theme:t}=e;return t.colors.accent}),(e=>{let{bgColor:t,theme:n,disabled:r}=e;return r?n.colors.disabled:t?(0,v.Qw)(.03,{...n.colors,...n.webColors}[t]):(0,v.Qw)(.03,n.colors.fillWhite)})),Ft=a.Ay.label.withConfig({componentId:"sc-ltzntq-2"})(["",""],(e=>{let{disabled:t}=e;return t&&"cursor: default;"})),zt=a.Ay.div.withConfig({componentId:"sc-ltzntq-3"})(["display:flex;width:30px;height:30px;background-color:",";align-items:center;justify-content:center;box-sizing:border-box;transition:all 150ms;border:1px solid ",";border-radius:15px;flex-shrink:0;",""],(e=>{let{theme:t,bgColor:n}=e;return n?{...t.colors,...t.webColors}[n]:t.colors.fillWhite}),(e=>{let{theme:t}=e;return t.colors.borderLight}),(e=>{let{disabled:t,theme:n}=e;return t&&`\n    background-color: ${n.colors.disabled};\n    cursor: unset;\n  `})),Qt=a.Ay.p.withConfig({componentId:"sc-ltzntq-4"})(["font-size:12px;color:",";margin-bottom:0;"],(e=>{let{theme:t}=e;return t.colors.textFaded})),Ut=Mt;var Vt=n(89379),Gt=n(58168);var qt=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(r){}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)})),this.tags=[],this.ctr=0},e}(),Ht=Math.abs,Wt=String.fromCharCode,Yt=Object.assign;function Kt(e){return e.trim()}function Jt(e,t,n){return e.replace(t,n)}function Xt(e,t){return e.indexOf(t)}function Zt(e,t){return 0|e.charCodeAt(t)}function $t(e,t,n){return e.slice(t,n)}function en(e){return e.length}function tn(e){return e.length}function nn(e,t){return t.push(e),e}var rn=1,on=1,an=0,sn=0,ln=0,cn="";function un(e,t,n,r,i,o,a){return{value:e,root:t,parent:n,type:r,props:i,children:o,line:rn,column:on,length:a,return:""}}function dn(e,t){return Yt(un("",null,null,"",null,null,0),e,{length:-e.length},t)}function pn(){return ln=sn>0?Zt(cn,--sn):0,on--,10===ln&&(on=1,rn--),ln}function hn(){return ln=sn<an?Zt(cn,sn++):0,on++,10===ln&&(on=1,rn++),ln}function fn(){return Zt(cn,sn)}function mn(){return sn}function gn(e,t){return $t(cn,e,t)}function vn(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function yn(e){return rn=on=1,an=en(cn=e),sn=0,[]}function An(e){return cn="",e}function bn(e){return Kt(gn(sn-1,Cn(91===e?e+2:40===e?e+1:e)))}function wn(e){for(;(ln=fn())&&ln<33;)hn();return vn(e)>2||vn(ln)>3?"":" "}function xn(e,t){for(;--t&&hn()&&!(ln<48||ln>102||ln>57&&ln<65||ln>70&&ln<97););return gn(e,mn()+(t<6&&32==fn()&&32==hn()))}function Cn(e){for(;hn();)switch(ln){case e:return sn;case 34:case 39:34!==e&&39!==e&&Cn(ln);break;case 40:41===e&&Cn(e);break;case 92:hn()}return sn}function Sn(e,t){for(;hn()&&e+ln!==57&&(e+ln!==84||47!==fn()););return"/*"+gn(t,sn-1)+"*"+Wt(47===e?e:hn())}function kn(e){for(;!vn(fn());)hn();return gn(e,sn)}var En="-ms-",In="-moz-",_n="-webkit-",Pn="comm",On="rule",Tn="decl",Dn="@keyframes";function jn(e,t){for(var n="",r=tn(e),i=0;i<r;i++)n+=t(e[i],i,e,t)||"";return n}function Bn(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case Tn:return e.return=e.return||e.value;case Pn:return"";case Dn:return e.return=e.value+"{"+jn(e.children,r)+"}";case On:e.value=e.props.join(",")}return en(n=jn(e.children,r))?e.return=e.value+"{"+n+"}":""}function Nn(e){return An(Mn("",null,null,null,[""],e=yn(e),0,[0],e))}function Mn(e,t,n,r,i,o,a,s,l){for(var c=0,u=0,d=a,p=0,h=0,f=0,m=1,g=1,v=1,y=0,A="",b=i,w=o,x=r,C=A;g;)switch(f=y,y=hn()){case 40:if(108!=f&&58==Zt(C,d-1)){-1!=Xt(C+=Jt(bn(y),"&","&\f"),"&\f")&&(v=-1);break}case 34:case 39:case 91:C+=bn(y);break;case 9:case 10:case 13:case 32:C+=wn(f);break;case 92:C+=xn(mn()-1,7);continue;case 47:switch(fn()){case 42:case 47:nn(Ln(Sn(hn(),mn()),t,n),l);break;default:C+="/"}break;case 123*m:s[c++]=en(C)*v;case 125*m:case 59:case 0:switch(y){case 0:case 125:g=0;case 59+u:-1==v&&(C=Jt(C,/\f/g,"")),h>0&&en(C)-d&&nn(h>32?Fn(C+";",r,n,d-1):Fn(Jt(C," ","")+";",r,n,d-2),l);break;case 59:C+=";";default:if(nn(x=Rn(C,t,n,c,u,i,s,A,b=[],w=[],d),o),123===y)if(0===u)Mn(C,t,x,x,b,o,d,s,w);else switch(99===p&&110===Zt(C,3)?100:p){case 100:case 108:case 109:case 115:Mn(e,x,x,r&&nn(Rn(e,x,x,0,0,i,s,A,i,b=[],d),w),i,w,d,s,r?b:w);break;default:Mn(C,x,x,x,[""],w,0,s,w)}}c=u=h=0,m=v=1,A=C="",d=a;break;case 58:d=1+en(C),h=f;default:if(m<1)if(123==y)--m;else if(125==y&&0==m++&&125==pn())continue;switch(C+=Wt(y),y*m){case 38:v=u>0?1:(C+="\f",-1);break;case 44:s[c++]=(en(C)-1)*v,v=1;break;case 64:45===fn()&&(C+=bn(hn())),p=fn(),u=d=en(A=C+=kn(mn())),y++;break;case 45:45===f&&2==en(C)&&(m=0)}}return o}function Rn(e,t,n,r,i,o,a,s,l,c,u){for(var d=i-1,p=0===i?o:[""],h=tn(p),f=0,m=0,g=0;f<r;++f)for(var v=0,y=$t(e,d+1,d=Ht(m=a[f])),A=e;v<h;++v)(A=Kt(m>0?p[v]+" "+y:Jt(y,/&\f/g,p[v])))&&(l[g++]=A);return un(e,t,n,0===i?On:s,l,c,u)}function Ln(e,t,n){return un(e,t,n,Pn,Wt(ln),$t(e,2,-2),0)}function Fn(e,t,n,r){return un(e,t,n,Tn,$t(e,0,r),$t(e,r+1,-1),r)}var zn=function(e,t,n){for(var r=0,i=0;r=i,i=fn(),38===r&&12===i&&(t[n]=1),!vn(i);)hn();return gn(e,sn)},Qn=function(e,t){return An(function(e,t){var n=-1,r=44;do{switch(vn(r)){case 0:38===r&&12===fn()&&(t[n]=1),e[n]+=zn(sn-1,t,n);break;case 2:e[n]+=bn(r);break;case 4:if(44===r){e[++n]=58===fn()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=Wt(r)}}while(r=hn());return e}(yn(e),t))},Un=new WeakMap,Vn=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||Un.get(n))&&!r){Un.set(e,!0);for(var i=[],o=Qn(t,i),a=n.props,s=0,l=0;s<o.length;s++)for(var c=0;c<a.length;c++,l++)e.props[l]=i[s]?o[s].replace(/&\f/g,a[c]):a[c]+" "+o[s]}}},Gn=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function qn(e,t){switch(function(e,t){return 45^Zt(e,0)?(((t<<2^Zt(e,0))<<2^Zt(e,1))<<2^Zt(e,2))<<2^Zt(e,3):0}(e,t)){case 5103:return _n+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return _n+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return _n+e+In+e+En+e+e;case 6828:case 4268:return _n+e+En+e+e;case 6165:return _n+e+En+"flex-"+e+e;case 5187:return _n+e+Jt(e,/(\w+).+(:[^]+)/,_n+"box-$1$2"+En+"flex-$1$2")+e;case 5443:return _n+e+En+"flex-item-"+Jt(e,/flex-|-self/,"")+e;case 4675:return _n+e+En+"flex-line-pack"+Jt(e,/align-content|flex-|-self/,"")+e;case 5548:return _n+e+En+Jt(e,"shrink","negative")+e;case 5292:return _n+e+En+Jt(e,"basis","preferred-size")+e;case 6060:return _n+"box-"+Jt(e,"-grow","")+_n+e+En+Jt(e,"grow","positive")+e;case 4554:return _n+Jt(e,/([^-])(transform)/g,"$1"+_n+"$2")+e;case 6187:return Jt(Jt(Jt(e,/(zoom-|grab)/,_n+"$1"),/(image-set)/,_n+"$1"),e,"")+e;case 5495:case 3959:return Jt(e,/(image-set\([^]*)/,_n+"$1$`$1");case 4968:return Jt(Jt(e,/(.+:)(flex-)?(.*)/,_n+"box-pack:$3"+En+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+_n+e+e;case 4095:case 3583:case 4068:case 2532:return Jt(e,/(.+)-inline(.+)/,_n+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(en(e)-1-t>6)switch(Zt(e,t+1)){case 109:if(45!==Zt(e,t+4))break;case 102:return Jt(e,/(.+:)(.+)-([^]+)/,"$1"+_n+"$2-$3$1"+In+(108==Zt(e,t+3)?"$3":"$2-$3"))+e;case 115:return~Xt(e,"stretch")?qn(Jt(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==Zt(e,t+1))break;case 6444:switch(Zt(e,en(e)-3-(~Xt(e,"!important")&&10))){case 107:return Jt(e,":",":"+_n)+e;case 101:return Jt(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+_n+(45===Zt(e,14)?"inline-":"")+"box$3$1"+_n+"$2$3$1"+En+"$2box$3")+e}break;case 5936:switch(Zt(e,t+11)){case 114:return _n+e+En+Jt(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return _n+e+En+Jt(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return _n+e+En+Jt(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return _n+e+En+e+e}return e}var Hn=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case Tn:e.return=qn(e.value,e.length);break;case Dn:return jn([dn(e,{value:Jt(e.value,"@","@"+_n)})],r);case On:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return jn([dn(e,{props:[Jt(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return jn([dn(e,{props:[Jt(t,/:(plac\w+)/,":"+_n+"input-$1")]}),dn(e,{props:[Jt(t,/:(plac\w+)/,":-moz-$1")]}),dn(e,{props:[Jt(t,/:(plac\w+)/,En+"input-$1")]})],r)}return""}))}}],Wn=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var r,i,o=e.stylisPlugins||Hn,a={},s=[];r=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)a[t[n]]=!0;s.push(e)}));var l,c,u=[Bn,(c=function(e){l.insert(e)},function(e){e.root||(e=e.return)&&c(e)})],d=function(e){var t=tn(e);return function(n,r,i,o){for(var a="",s=0;s<t;s++)a+=e[s](n,r,i,o)||"";return a}}([Vn,Gn].concat(o,u));i=function(e,t,n,r){l=n,jn(Nn(e?e+"{"+t.styles+"}":t.styles),d),r&&(p.inserted[t.name]=!0)};var p={key:t,sheet:new qt({key:t,container:r,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:i};return p.sheet.hydrate(s),p};var Yn=function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)};var Kn={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Jn=n(57923),Xn=/[A-Z]|^ms/g,Zn=/_EMO_([^_]+?)_([^]*?)_EMO_/g,$n=function(e){return 45===e.charCodeAt(1)},er=function(e){return null!=e&&"boolean"!==typeof e},tr=(0,Jn.A)((function(e){return $n(e)?e:e.replace(Xn,"-$&").toLowerCase()})),nr=function(e,t){switch(e){case"animation":case"animationName":if("string"===typeof t)return t.replace(Zn,(function(e,t,n){return ir={name:t,styles:n,next:ir},t}))}return 1===Kn[e]||$n(e)||"number"!==typeof t||0===t?t:t+"px"};function rr(e,t,n){if(null==n)return"";var r=n;if(void 0!==r.__emotion_styles)return r;switch(typeof n){case"boolean":return"";case"object":var i=n;if(1===i.anim)return ir={name:i.name,styles:i.styles,next:ir},i.name;var o=n;if(void 0!==o.styles){var a=o.next;if(void 0!==a)for(;void 0!==a;)ir={name:a.name,styles:a.styles,next:ir},a=a.next;return o.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=rr(e,t,n[i])+";";else for(var o in n){var a=n[o];if("object"!==typeof a){var s=a;null!=t&&void 0!==t[s]?r+=o+"{"+t[s]+"}":er(s)&&(r+=tr(o)+":"+nr(o,s)+";")}else if(!Array.isArray(a)||"string"!==typeof a[0]||null!=t&&void 0!==t[a[0]]){var l=rr(e,t,a);switch(o){case"animation":case"animationName":r+=tr(o)+":"+l+";";break;default:r+=o+"{"+l+"}"}}else for(var c=0;c<a.length;c++)er(a[c])&&(r+=tr(o)+":"+nr(o,a[c])+";")}return r}(e,t,n);case"function":if(void 0!==e){var s=ir,l=n(e);return ir=s,rr(e,t,l)}}var c=n;if(null==t)return c;var u=t[c];return void 0!==u?u:c}var ir,or=/label:\s*([^\s;{]+)\s*(;|$)/g;function ar(e,t,n){if(1===e.length&&"object"===typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,i="";ir=void 0;var o=e[0];null==o||void 0===o.raw?(r=!1,i+=rr(n,t,o)):i+=o[0];for(var a=1;a<e.length;a++){if(i+=rr(n,t,e[a]),r)i+=o[a]}or.lastIndex=0;for(var s,l="";null!==(s=or.exec(i));)l+="-"+s[1];var c=function(e){for(var t,n=0,r=0,i=e.length;i>=4;++r,i-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(i){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(i)+l;return{name:c,styles:i,next:ir}}var sr=!!o.useInsertionEffect&&o.useInsertionEffect,lr=sr||function(e){return e()},cr=(sr||i.useLayoutEffect,i.createContext("undefined"!==typeof HTMLElement?Wn({key:"css"}):null)),ur=(cr.Provider,function(e){return(0,i.forwardRef)((function(t,n){var r=(0,i.useContext)(cr);return e(t,r,n)}))}),dr=i.createContext({});var pr={}.hasOwnProperty,hr="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",fr=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return Yn(t,n,r),lr((function(){return function(e,t,n){Yn(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var i=t;do{e.insert(t===i?"."+r:"",i,e.sheet,!0),i=i.next}while(void 0!==i)}}(t,n,r)})),null},mr=ur((function(e,t,n){var r=e.css;"string"===typeof r&&void 0!==t.registered[r]&&(r=t.registered[r]);var o=e[hr],a=[r],s="";"string"===typeof e.className?s=function(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):n&&(r+=n+" ")})),r}(t.registered,a,e.className):null!=e.className&&(s=e.className+" ");var l=ar(a,void 0,i.useContext(dr));s+=t.key+"-"+l.name;var c={};for(var u in e)pr.call(e,u)&&"css"!==u&&u!==hr&&(c[u]=e[u]);return c.className=s,n&&(c.ref=n),i.createElement(i.Fragment,null,i.createElement(fr,{cache:t,serialized:l,isStringTag:"string"===typeof o}),i.createElement(o,c))})),gr=mr,vr=(n(23876),function(e,t){var n=arguments;if(null==t||!pr.call(t,"css"))return i.createElement.apply(void 0,n);var r=n.length,o=new Array(r);o[0]=gr,o[1]=function(e,t){var n={};for(var r in t)pr.call(t,r)&&(n[r]=t[r]);return n[hr]=e,n}(e,t);for(var a=2;a<r;a++)o[a]=n[a];return i.createElement.apply(null,o)});function yr(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return ar(t)}var Ar=n(5544),br=n(80045),wr=n(82284);var xr=n(64467),Cr=n(17119),Sr=n(3133);const kr=i.useLayoutEffect;var Er=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],Ir=function(){};function _r(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function Pr(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];var o=[].concat(r);if(t&&e)for(var a in t)t.hasOwnProperty(a)&&t[a]&&o.push("".concat(_r(e,a)));return o.filter((function(e){return e})).map((function(e){return String(e).trim()})).join(" ")}var Or=function(e){return t=e,Array.isArray(t)?e.filter(Boolean):"object"===(0,wr.A)(e)&&null!==e?[e]:[];var t},Tr=function(e){e.className,e.clearValue,e.cx,e.getStyles,e.getClassNames,e.getValue,e.hasValue,e.isMulti,e.isRtl,e.options,e.selectOption,e.selectProps,e.setValue,e.theme;var t=(0,br.A)(e,Er);return(0,Vt.A)({},t)},Dr=function(e,t,n){var r=e.cx,i=e.getStyles,o=e.getClassNames,a=e.className;return{css:i(t,e),className:r(null!==n&&void 0!==n?n:{},o(t,e),a)}};function jr(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function Br(e){return jr(e)?window.pageYOffset:e.scrollTop}function Nr(e,t){jr(e)?window.scrollTo(0,t):e.scrollTop=t}function Mr(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Ir,i=Br(e),o=t-i,a=0;!function t(){var s=function(e,t,n,r){return n*((e=e/r-1)*e*e+1)+t}(a+=10,i,o,n);Nr(e,s),a<n?window.requestAnimationFrame(t):r(e)}()}function Rr(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),i=t.offsetHeight/3;r.bottom+i>n.bottom?Nr(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+i,e.scrollHeight)):r.top-i<n.top&&Nr(e,Math.max(t.offsetTop-i,0))}function Lr(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}var Fr=!1,zr={get passive(){return Fr=!0}},Qr="undefined"!==typeof window?window:{};Qr.addEventListener&&Qr.removeEventListener&&(Qr.addEventListener("p",Ir,zr),Qr.removeEventListener("p",Ir,!1));var Ur=Fr;function Vr(e){return null!=e}function Gr(e,t,n){return e?t:n}var qr=["children","innerProps"],Hr=["children","innerProps"];function Wr(e){var t=e.maxHeight,n=e.menuEl,r=e.minHeight,i=e.placement,o=e.shouldScroll,a=e.isFixedPosition,s=e.controlHeight,l=function(e){var t=getComputedStyle(e),n="absolute"===t.position,r=/(auto|scroll)/;if("fixed"===t.position)return document.documentElement;for(var i=e;i=i.parentElement;)if(t=getComputedStyle(i),(!n||"static"!==t.position)&&r.test(t.overflow+t.overflowY+t.overflowX))return i;return document.documentElement}(n),c={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return c;var u,d=l.getBoundingClientRect().height,p=n.getBoundingClientRect(),h=p.bottom,f=p.height,m=p.top,g=n.offsetParent.getBoundingClientRect().top,v=a?window.innerHeight:jr(u=l)?window.innerHeight:u.clientHeight,y=Br(l),A=parseInt(getComputedStyle(n).marginBottom,10),b=parseInt(getComputedStyle(n).marginTop,10),w=g-b,x=v-m,C=w+y,S=d-y-m,k=h-v+y+A,E=y+m-b,I=160;switch(i){case"auto":case"bottom":if(x>=f)return{placement:"bottom",maxHeight:t};if(S>=f&&!a)return o&&Mr(l,k,I),{placement:"bottom",maxHeight:t};if(!a&&S>=r||a&&x>=r)return o&&Mr(l,k,I),{placement:"bottom",maxHeight:a?x-A:S-A};if("auto"===i||a){var _=t,P=a?w:C;return P>=r&&(_=Math.min(P-A-s,t)),{placement:"top",maxHeight:_}}if("bottom"===i)return o&&Nr(l,k),{placement:"bottom",maxHeight:t};break;case"top":if(w>=f)return{placement:"top",maxHeight:t};if(C>=f&&!a)return o&&Mr(l,E,I),{placement:"top",maxHeight:t};if(!a&&C>=r||a&&w>=r){var O=t;return(!a&&C>=r||a&&w>=r)&&(O=a?w-b:C-b),o&&Mr(l,E,I),{placement:"top",maxHeight:O}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(i,'".'))}return c}var Yr,Kr=function(e){return"auto"===e?"bottom":e},Jr=(0,i.createContext)(null),Xr=function(e){var t=e.children,n=e.minMenuHeight,r=e.maxMenuHeight,o=e.menuPlacement,a=e.menuPosition,s=e.menuShouldScrollIntoView,l=e.theme,c=((0,i.useContext)(Jr)||{}).setPortalPlacement,u=(0,i.useRef)(null),d=(0,i.useState)(r),p=(0,Ar.A)(d,2),h=p[0],f=p[1],m=(0,i.useState)(null),g=(0,Ar.A)(m,2),v=g[0],y=g[1],A=l.spacing.controlHeight;return kr((function(){var e=u.current;if(e){var t="fixed"===a,i=Wr({maxHeight:r,menuEl:e,minHeight:n,placement:o,shouldScroll:s&&!t,isFixedPosition:t,controlHeight:A});f(i.maxHeight),y(i.placement),null===c||void 0===c||c(i.placement)}}),[r,o,a,s,n,c,A]),t({ref:u,placerProps:(0,Vt.A)((0,Vt.A)({},e),{},{placement:v||Kr(o),maxHeight:h})})},Zr=function(e){var t=e.children,n=e.innerRef,r=e.innerProps;return vr("div",(0,Gt.A)({},Dr(e,"menu",{menu:!0}),{ref:n},r),t)},$r=function(e,t){var n=e.theme,r=n.spacing.baseUnit,i=n.colors;return(0,Vt.A)({textAlign:"center"},t?{}:{color:i.neutral40,padding:"".concat(2*r,"px ").concat(3*r,"px")})},ei=$r,ti=$r,ni=["size"],ri=["innerProps","isRtl","size"];var ii={name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"},oi=function(e){var t=e.size,n=(0,br.A)(e,ni);return vr("svg",(0,Gt.A)({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:ii},n))},ai=function(e){return vr(oi,(0,Gt.A)({size:20},e),vr("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},si=function(e){return vr(oi,(0,Gt.A)({size:20},e),vr("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},li=function(e,t){var n=e.isFocused,r=e.theme,i=r.spacing.baseUnit,o=r.colors;return(0,Vt.A)({label:"indicatorContainer",display:"flex",transition:"color 150ms"},t?{}:{color:n?o.neutral60:o.neutral20,padding:2*i,":hover":{color:n?o.neutral80:o.neutral40}})},ci=li,ui=li,di=function(){var e=yr.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}(Yr||(Yr=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(["\n  0%, 80%, 100% { opacity: 0; }\n  40% { opacity: 1; }\n"]))),pi=function(e){var t=e.delay,n=e.offset;return vr("span",{css:yr({animation:"".concat(di," 1s ease-in-out ").concat(t,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:n?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},"","")})},hi=function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,i=e.innerRef,o=e.innerProps,a=e.menuIsOpen;return vr("div",(0,Gt.A)({ref:i},Dr(e,"control",{control:!0,"control--is-disabled":n,"control--is-focused":r,"control--menu-is-open":a}),o,{"aria-disabled":n||void 0}),t)},fi=["data"],mi=function(e){var t=e.children,n=e.cx,r=e.getStyles,i=e.getClassNames,o=e.Heading,a=e.headingProps,s=e.innerProps,l=e.label,c=e.theme,u=e.selectProps;return vr("div",(0,Gt.A)({},Dr(e,"group",{group:!0}),s),vr(o,(0,Gt.A)({},a,{selectProps:u,theme:c,getStyles:r,getClassNames:i,cx:n}),l),vr("div",null,t))},gi=["innerRef","isDisabled","isHidden","inputClassName"],vi={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},yi={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":(0,Vt.A)({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},vi)},Ai=function(e){return(0,Vt.A)({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},vi)},bi=function(e){var t=e.children,n=e.innerProps;return vr("div",n,t)};var wi=function(e){var t=e.children,n=e.components,r=e.data,i=e.innerProps,o=e.isDisabled,a=e.removeProps,s=e.selectProps,l=n.Container,c=n.Label,u=n.Remove;return vr(l,{data:r,innerProps:(0,Vt.A)((0,Vt.A)({},Dr(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":o})),i),selectProps:s},vr(c,{data:r,innerProps:(0,Vt.A)({},Dr(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:s},t),vr(u,{data:r,innerProps:(0,Vt.A)((0,Vt.A)({},Dr(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(t||"option")},a),selectProps:s}))},xi={ClearIndicator:function(e){var t=e.children,n=e.innerProps;return vr("div",(0,Gt.A)({},Dr(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),n),t||vr(ai,null))},Control:hi,DropdownIndicator:function(e){var t=e.children,n=e.innerProps;return vr("div",(0,Gt.A)({},Dr(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),n),t||vr(si,null))},DownChevron:si,CrossIcon:ai,Group:mi,GroupHeading:function(e){var t=Tr(e);t.data;var n=(0,br.A)(t,fi);return vr("div",(0,Gt.A)({},Dr(e,"groupHeading",{"group-heading":!0}),n))},IndicatorsContainer:function(e){var t=e.children,n=e.innerProps;return vr("div",(0,Gt.A)({},Dr(e,"indicatorsContainer",{indicators:!0}),n),t)},IndicatorSeparator:function(e){var t=e.innerProps;return vr("span",(0,Gt.A)({},t,Dr(e,"indicatorSeparator",{"indicator-separator":!0})))},Input:function(e){var t=e.cx,n=e.value,r=Tr(e),i=r.innerRef,o=r.isDisabled,a=r.isHidden,s=r.inputClassName,l=(0,br.A)(r,gi);return vr("div",(0,Gt.A)({},Dr(e,"input",{"input-container":!0}),{"data-value":n||""}),vr("input",(0,Gt.A)({className:t({input:!0},s),ref:i,style:Ai(a),disabled:o},l)))},LoadingIndicator:function(e){var t=e.innerProps,n=e.isRtl,r=e.size,i=void 0===r?4:r,o=(0,br.A)(e,ri);return vr("div",(0,Gt.A)({},Dr((0,Vt.A)((0,Vt.A)({},o),{},{innerProps:t,isRtl:n,size:i}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),t),vr(pi,{delay:0,offset:n}),vr(pi,{delay:160,offset:!0}),vr(pi,{delay:320,offset:!n}))},Menu:Zr,MenuList:function(e){var t=e.children,n=e.innerProps,r=e.innerRef,i=e.isMulti;return vr("div",(0,Gt.A)({},Dr(e,"menuList",{"menu-list":!0,"menu-list--is-multi":i}),{ref:r},n),t)},MenuPortal:function(e){var t=e.appendTo,n=e.children,r=e.controlElement,o=e.innerProps,a=e.menuPlacement,s=e.menuPosition,l=(0,i.useRef)(null),c=(0,i.useRef)(null),u=(0,i.useState)(Kr(a)),d=(0,Ar.A)(u,2),p=d[0],h=d[1],f=(0,i.useMemo)((function(){return{setPortalPlacement:h}}),[]),m=(0,i.useState)(null),g=(0,Ar.A)(m,2),v=g[0],y=g[1],A=(0,i.useCallback)((function(){if(r){var e=function(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}(r),t="fixed"===s?0:window.pageYOffset,n=e[p]+t;n===(null===v||void 0===v?void 0:v.offset)&&e.left===(null===v||void 0===v?void 0:v.rect.left)&&e.width===(null===v||void 0===v?void 0:v.rect.width)||y({offset:n,rect:e})}}),[r,s,p,null===v||void 0===v?void 0:v.offset,null===v||void 0===v?void 0:v.rect.left,null===v||void 0===v?void 0:v.rect.width]);kr((function(){A()}),[A]);var b=(0,i.useCallback)((function(){"function"===typeof c.current&&(c.current(),c.current=null),r&&l.current&&(c.current=(0,Sr.ll)(r,l.current,A,{elementResize:"ResizeObserver"in window}))}),[r,A]);kr((function(){b()}),[b]);var w=(0,i.useCallback)((function(e){l.current=e,b()}),[b]);if(!t&&"fixed"!==s||!v)return null;var x=vr("div",(0,Gt.A)({ref:w},Dr((0,Vt.A)((0,Vt.A)({},e),{},{offset:v.offset,position:s,rect:v.rect}),"menuPortal",{"menu-portal":!0}),o),n);return vr(Jr.Provider,{value:f},t?(0,Cr.createPortal)(x,t):x)},LoadingMessage:function(e){var t=e.children,n=void 0===t?"Loading...":t,r=e.innerProps,i=(0,br.A)(e,Hr);return vr("div",(0,Gt.A)({},Dr((0,Vt.A)((0,Vt.A)({},i),{},{children:n,innerProps:r}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),r),n)},NoOptionsMessage:function(e){var t=e.children,n=void 0===t?"No options":t,r=e.innerProps,i=(0,br.A)(e,qr);return vr("div",(0,Gt.A)({},Dr((0,Vt.A)((0,Vt.A)({},i),{},{children:n,innerProps:r}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),r),n)},MultiValue:wi,MultiValueContainer:bi,MultiValueLabel:bi,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return vr("div",(0,Gt.A)({role:"button"},n),t||vr(ai,{size:14}))},Option:function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,i=e.isSelected,o=e.innerRef,a=e.innerProps;return vr("div",(0,Gt.A)({},Dr(e,"option",{option:!0,"option--is-disabled":n,"option--is-focused":r,"option--is-selected":i}),{ref:o,"aria-disabled":n},a),t)},Placeholder:function(e){var t=e.children,n=e.innerProps;return vr("div",(0,Gt.A)({},Dr(e,"placeholder",{placeholder:!0}),n),t)},SelectContainer:function(e){var t=e.children,n=e.innerProps,r=e.isDisabled,i=e.isRtl;return vr("div",(0,Gt.A)({},Dr(e,"container",{"--is-disabled":r,"--is-rtl":i}),n),t)},SingleValue:function(e){var t=e.children,n=e.isDisabled,r=e.innerProps;return vr("div",(0,Gt.A)({},Dr(e,"singleValue",{"single-value":!0,"single-value--is-disabled":n}),r),t)},ValueContainer:function(e){var t=e.children,n=e.innerProps,r=e.isMulti,i=e.hasValue;return vr("div",(0,Gt.A)({},Dr(e,"valueContainer",{"value-container":!0,"value-container--is-multi":r,"value-container--has-value":i}),n),t)}},Ci=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];var Si=n(23029),ki=n(92901),Ei=n(85501),Ii=n(53954),_i=n(52176),Pi=n(56822);var Oi=n(60436),Ti=Number.isNaN||function(e){return"number"===typeof e&&e!==e};function Di(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(r=e[n],i=t[n],!(r===i||Ti(r)&&Ti(i)))return!1;var r,i;return!0}for(var ji={name:"7pg0cj-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap"},Bi=function(e){return vr("span",(0,Gt.A)({css:ji},e))},Ni={guidance:function(e){var t=e.isSearchable,n=e.isMulti,r=e.tabSelectsValue,i=e.context,o=e.isInitialFocus;switch(i){case"menu":return"Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu".concat(r?", press Tab to select the option and exit the menu":"",".");case"input":return o?"".concat(e["aria-label"]||"Select"," is focused ").concat(t?",type to refine list":"",", press Down to open the menu, ").concat(n?" press left to focus selected values":""):"";case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(e){var t=e.action,n=e.label,r=void 0===n?"":n,i=e.labels,o=e.isDisabled;switch(t){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(r,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(i.length>1?"s":""," ").concat(i.join(","),", selected.");case"select-option":return"option ".concat(r,o?" is disabled. Select another option.":", selected.");default:return""}},onFocus:function(e){var t=e.context,n=e.focused,r=e.options,i=e.label,o=void 0===i?"":i,a=e.selectValue,s=e.isDisabled,l=e.isSelected,c=e.isAppleDevice,u=function(e,t){return e&&e.length?"".concat(e.indexOf(t)+1," of ").concat(e.length):""};if("value"===t&&a)return"value ".concat(o," focused, ").concat(u(a,n),".");if("menu"===t&&c){var d=s?" disabled":"",p="".concat(l?" selected":"").concat(d);return"".concat(o).concat(p,", ").concat(u(r,n),".")}return""},onFilter:function(e){var t=e.inputValue,n=e.resultsMessage;return"".concat(n).concat(t?" for search term "+t:"",".")}},Mi=function(e){var t=e.ariaSelection,n=e.focusedOption,r=e.focusedValue,o=e.focusableOptions,a=e.isFocused,s=e.selectValue,l=e.selectProps,c=e.id,u=e.isAppleDevice,d=l.ariaLiveMessages,p=l.getOptionLabel,h=l.inputValue,f=l.isMulti,m=l.isOptionDisabled,g=l.isSearchable,v=l.menuIsOpen,y=l.options,A=l.screenReaderStatus,b=l.tabSelectsValue,w=l.isLoading,x=l["aria-label"],C=l["aria-live"],S=(0,i.useMemo)((function(){return(0,Vt.A)((0,Vt.A)({},Ni),d||{})}),[d]),k=(0,i.useMemo)((function(){var e,n="";if(t&&S.onChange){var r=t.option,i=t.options,o=t.removedValue,a=t.removedValues,l=t.value,c=o||r||(e=l,Array.isArray(e)?null:e),u=c?p(c):"",d=i||a||void 0,h=d?d.map(p):[],f=(0,Vt.A)({isDisabled:c&&m(c,s),label:u,labels:h},t);n=S.onChange(f)}return n}),[t,S,m,s,p]),E=(0,i.useMemo)((function(){var e="",t=n||r,i=!!(n&&s&&s.includes(n));if(t&&S.onFocus){var a={focused:t,label:p(t),isDisabled:m(t,s),isSelected:i,options:o,context:t===n?"menu":"value",selectValue:s,isAppleDevice:u};e=S.onFocus(a)}return e}),[n,r,p,m,S,o,s,u]),I=(0,i.useMemo)((function(){var e="";if(v&&y.length&&!w&&S.onFilter){var t=A({count:o.length});e=S.onFilter({inputValue:h,resultsMessage:t})}return e}),[o,h,v,S,y,A,w]),_="initial-input-focus"===(null===t||void 0===t?void 0:t.action),P=(0,i.useMemo)((function(){var e="";if(S.guidance){var t=r?"value":v?"menu":"input";e=S.guidance({"aria-label":x,context:t,isDisabled:n&&m(n,s),isMulti:f,isSearchable:g,tabSelectsValue:b,isInitialFocus:_})}return e}),[x,n,r,f,m,g,v,S,s,b,_]),O=vr(i.Fragment,null,vr("span",{id:"aria-selection"},k),vr("span",{id:"aria-focused"},E),vr("span",{id:"aria-results"},I),vr("span",{id:"aria-guidance"},P));return vr(i.Fragment,null,vr(Bi,{id:c},_&&O),vr(Bi,{"aria-live":C,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},a&&!_&&O))},Ri=[{base:"A",letters:"A\u24b6\uff21\xc0\xc1\xc2\u1ea6\u1ea4\u1eaa\u1ea8\xc3\u0100\u0102\u1eb0\u1eae\u1eb4\u1eb2\u0226\u01e0\xc4\u01de\u1ea2\xc5\u01fa\u01cd\u0200\u0202\u1ea0\u1eac\u1eb6\u1e00\u0104\u023a\u2c6f"},{base:"AA",letters:"\ua732"},{base:"AE",letters:"\xc6\u01fc\u01e2"},{base:"AO",letters:"\ua734"},{base:"AU",letters:"\ua736"},{base:"AV",letters:"\ua738\ua73a"},{base:"AY",letters:"\ua73c"},{base:"B",letters:"B\u24b7\uff22\u1e02\u1e04\u1e06\u0243\u0182\u0181"},{base:"C",letters:"C\u24b8\uff23\u0106\u0108\u010a\u010c\xc7\u1e08\u0187\u023b\ua73e"},{base:"D",letters:"D\u24b9\uff24\u1e0a\u010e\u1e0c\u1e10\u1e12\u1e0e\u0110\u018b\u018a\u0189\ua779"},{base:"DZ",letters:"\u01f1\u01c4"},{base:"Dz",letters:"\u01f2\u01c5"},{base:"E",letters:"E\u24ba\uff25\xc8\xc9\xca\u1ec0\u1ebe\u1ec4\u1ec2\u1ebc\u0112\u1e14\u1e16\u0114\u0116\xcb\u1eba\u011a\u0204\u0206\u1eb8\u1ec6\u0228\u1e1c\u0118\u1e18\u1e1a\u0190\u018e"},{base:"F",letters:"F\u24bb\uff26\u1e1e\u0191\ua77b"},{base:"G",letters:"G\u24bc\uff27\u01f4\u011c\u1e20\u011e\u0120\u01e6\u0122\u01e4\u0193\ua7a0\ua77d\ua77e"},{base:"H",letters:"H\u24bd\uff28\u0124\u1e22\u1e26\u021e\u1e24\u1e28\u1e2a\u0126\u2c67\u2c75\ua78d"},{base:"I",letters:"I\u24be\uff29\xcc\xcd\xce\u0128\u012a\u012c\u0130\xcf\u1e2e\u1ec8\u01cf\u0208\u020a\u1eca\u012e\u1e2c\u0197"},{base:"J",letters:"J\u24bf\uff2a\u0134\u0248"},{base:"K",letters:"K\u24c0\uff2b\u1e30\u01e8\u1e32\u0136\u1e34\u0198\u2c69\ua740\ua742\ua744\ua7a2"},{base:"L",letters:"L\u24c1\uff2c\u013f\u0139\u013d\u1e36\u1e38\u013b\u1e3c\u1e3a\u0141\u023d\u2c62\u2c60\ua748\ua746\ua780"},{base:"LJ",letters:"\u01c7"},{base:"Lj",letters:"\u01c8"},{base:"M",letters:"M\u24c2\uff2d\u1e3e\u1e40\u1e42\u2c6e\u019c"},{base:"N",letters:"N\u24c3\uff2e\u01f8\u0143\xd1\u1e44\u0147\u1e46\u0145\u1e4a\u1e48\u0220\u019d\ua790\ua7a4"},{base:"NJ",letters:"\u01ca"},{base:"Nj",letters:"\u01cb"},{base:"O",letters:"O\u24c4\uff2f\xd2\xd3\xd4\u1ed2\u1ed0\u1ed6\u1ed4\xd5\u1e4c\u022c\u1e4e\u014c\u1e50\u1e52\u014e\u022e\u0230\xd6\u022a\u1ece\u0150\u01d1\u020c\u020e\u01a0\u1edc\u1eda\u1ee0\u1ede\u1ee2\u1ecc\u1ed8\u01ea\u01ec\xd8\u01fe\u0186\u019f\ua74a\ua74c"},{base:"OI",letters:"\u01a2"},{base:"OO",letters:"\ua74e"},{base:"OU",letters:"\u0222"},{base:"P",letters:"P\u24c5\uff30\u1e54\u1e56\u01a4\u2c63\ua750\ua752\ua754"},{base:"Q",letters:"Q\u24c6\uff31\ua756\ua758\u024a"},{base:"R",letters:"R\u24c7\uff32\u0154\u1e58\u0158\u0210\u0212\u1e5a\u1e5c\u0156\u1e5e\u024c\u2c64\ua75a\ua7a6\ua782"},{base:"S",letters:"S\u24c8\uff33\u1e9e\u015a\u1e64\u015c\u1e60\u0160\u1e66\u1e62\u1e68\u0218\u015e\u2c7e\ua7a8\ua784"},{base:"T",letters:"T\u24c9\uff34\u1e6a\u0164\u1e6c\u021a\u0162\u1e70\u1e6e\u0166\u01ac\u01ae\u023e\ua786"},{base:"TZ",letters:"\ua728"},{base:"U",letters:"U\u24ca\uff35\xd9\xda\xdb\u0168\u1e78\u016a\u1e7a\u016c\xdc\u01db\u01d7\u01d5\u01d9\u1ee6\u016e\u0170\u01d3\u0214\u0216\u01af\u1eea\u1ee8\u1eee\u1eec\u1ef0\u1ee4\u1e72\u0172\u1e76\u1e74\u0244"},{base:"V",letters:"V\u24cb\uff36\u1e7c\u1e7e\u01b2\ua75e\u0245"},{base:"VY",letters:"\ua760"},{base:"W",letters:"W\u24cc\uff37\u1e80\u1e82\u0174\u1e86\u1e84\u1e88\u2c72"},{base:"X",letters:"X\u24cd\uff38\u1e8a\u1e8c"},{base:"Y",letters:"Y\u24ce\uff39\u1ef2\xdd\u0176\u1ef8\u0232\u1e8e\u0178\u1ef6\u1ef4\u01b3\u024e\u1efe"},{base:"Z",letters:"Z\u24cf\uff3a\u0179\u1e90\u017b\u017d\u1e92\u1e94\u01b5\u0224\u2c7f\u2c6b\ua762"},{base:"a",letters:"a\u24d0\uff41\u1e9a\xe0\xe1\xe2\u1ea7\u1ea5\u1eab\u1ea9\xe3\u0101\u0103\u1eb1\u1eaf\u1eb5\u1eb3\u0227\u01e1\xe4\u01df\u1ea3\xe5\u01fb\u01ce\u0201\u0203\u1ea1\u1ead\u1eb7\u1e01\u0105\u2c65\u0250"},{base:"aa",letters:"\ua733"},{base:"ae",letters:"\xe6\u01fd\u01e3"},{base:"ao",letters:"\ua735"},{base:"au",letters:"\ua737"},{base:"av",letters:"\ua739\ua73b"},{base:"ay",letters:"\ua73d"},{base:"b",letters:"b\u24d1\uff42\u1e03\u1e05\u1e07\u0180\u0183\u0253"},{base:"c",letters:"c\u24d2\uff43\u0107\u0109\u010b\u010d\xe7\u1e09\u0188\u023c\ua73f\u2184"},{base:"d",letters:"d\u24d3\uff44\u1e0b\u010f\u1e0d\u1e11\u1e13\u1e0f\u0111\u018c\u0256\u0257\ua77a"},{base:"dz",letters:"\u01f3\u01c6"},{base:"e",letters:"e\u24d4\uff45\xe8\xe9\xea\u1ec1\u1ebf\u1ec5\u1ec3\u1ebd\u0113\u1e15\u1e17\u0115\u0117\xeb\u1ebb\u011b\u0205\u0207\u1eb9\u1ec7\u0229\u1e1d\u0119\u1e19\u1e1b\u0247\u025b\u01dd"},{base:"f",letters:"f\u24d5\uff46\u1e1f\u0192\ua77c"},{base:"g",letters:"g\u24d6\uff47\u01f5\u011d\u1e21\u011f\u0121\u01e7\u0123\u01e5\u0260\ua7a1\u1d79\ua77f"},{base:"h",letters:"h\u24d7\uff48\u0125\u1e23\u1e27\u021f\u1e25\u1e29\u1e2b\u1e96\u0127\u2c68\u2c76\u0265"},{base:"hv",letters:"\u0195"},{base:"i",letters:"i\u24d8\uff49\xec\xed\xee\u0129\u012b\u012d\xef\u1e2f\u1ec9\u01d0\u0209\u020b\u1ecb\u012f\u1e2d\u0268\u0131"},{base:"j",letters:"j\u24d9\uff4a\u0135\u01f0\u0249"},{base:"k",letters:"k\u24da\uff4b\u1e31\u01e9\u1e33\u0137\u1e35\u0199\u2c6a\ua741\ua743\ua745\ua7a3"},{base:"l",letters:"l\u24db\uff4c\u0140\u013a\u013e\u1e37\u1e39\u013c\u1e3d\u1e3b\u017f\u0142\u019a\u026b\u2c61\ua749\ua781\ua747"},{base:"lj",letters:"\u01c9"},{base:"m",letters:"m\u24dc\uff4d\u1e3f\u1e41\u1e43\u0271\u026f"},{base:"n",letters:"n\u24dd\uff4e\u01f9\u0144\xf1\u1e45\u0148\u1e47\u0146\u1e4b\u1e49\u019e\u0272\u0149\ua791\ua7a5"},{base:"nj",letters:"\u01cc"},{base:"o",letters:"o\u24de\uff4f\xf2\xf3\xf4\u1ed3\u1ed1\u1ed7\u1ed5\xf5\u1e4d\u022d\u1e4f\u014d\u1e51\u1e53\u014f\u022f\u0231\xf6\u022b\u1ecf\u0151\u01d2\u020d\u020f\u01a1\u1edd\u1edb\u1ee1\u1edf\u1ee3\u1ecd\u1ed9\u01eb\u01ed\xf8\u01ff\u0254\ua74b\ua74d\u0275"},{base:"oi",letters:"\u01a3"},{base:"ou",letters:"\u0223"},{base:"oo",letters:"\ua74f"},{base:"p",letters:"p\u24df\uff50\u1e55\u1e57\u01a5\u1d7d\ua751\ua753\ua755"},{base:"q",letters:"q\u24e0\uff51\u024b\ua757\ua759"},{base:"r",letters:"r\u24e1\uff52\u0155\u1e59\u0159\u0211\u0213\u1e5b\u1e5d\u0157\u1e5f\u024d\u027d\ua75b\ua7a7\ua783"},{base:"s",letters:"s\u24e2\uff53\xdf\u015b\u1e65\u015d\u1e61\u0161\u1e67\u1e63\u1e69\u0219\u015f\u023f\ua7a9\ua785\u1e9b"},{base:"t",letters:"t\u24e3\uff54\u1e6b\u1e97\u0165\u1e6d\u021b\u0163\u1e71\u1e6f\u0167\u01ad\u0288\u2c66\ua787"},{base:"tz",letters:"\ua729"},{base:"u",letters:"u\u24e4\uff55\xf9\xfa\xfb\u0169\u1e79\u016b\u1e7b\u016d\xfc\u01dc\u01d8\u01d6\u01da\u1ee7\u016f\u0171\u01d4\u0215\u0217\u01b0\u1eeb\u1ee9\u1eef\u1eed\u1ef1\u1ee5\u1e73\u0173\u1e77\u1e75\u0289"},{base:"v",letters:"v\u24e5\uff56\u1e7d\u1e7f\u028b\ua75f\u028c"},{base:"vy",letters:"\ua761"},{base:"w",letters:"w\u24e6\uff57\u1e81\u1e83\u0175\u1e87\u1e85\u1e98\u1e89\u2c73"},{base:"x",letters:"x\u24e7\uff58\u1e8b\u1e8d"},{base:"y",letters:"y\u24e8\uff59\u1ef3\xfd\u0177\u1ef9\u0233\u1e8f\xff\u1ef7\u1e99\u1ef5\u01b4\u024f\u1eff"},{base:"z",letters:"z\u24e9\uff5a\u017a\u1e91\u017c\u017e\u1e93\u1e95\u01b6\u0225\u0240\u2c6c\ua763"}],Li=new RegExp("["+Ri.map((function(e){return e.letters})).join("")+"]","g"),Fi={},zi=0;zi<Ri.length;zi++)for(var Qi=Ri[zi],Ui=0;Ui<Qi.letters.length;Ui++)Fi[Qi.letters[Ui]]=Qi.base;var Vi=function(e){return e.replace(Li,(function(e){return Fi[e]}))},Gi=function(e,t){void 0===t&&(t=Di);var n=null;function r(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];if(n&&n.lastThis===this&&t(r,n.lastArgs))return n.lastResult;var o=e.apply(this,r);return n={lastResult:o,lastArgs:r,lastThis:this},o}return r.clear=function(){n=null},r}(Vi),qi=function(e){return e.replace(/^\s+|\s+$/g,"")},Hi=function(e){return"".concat(e.label," ").concat(e.value)},Wi=["innerRef"];function Yi(e){var t=e.innerRef,n=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var i=Object.entries(e).filter((function(e){var t=(0,Ar.A)(e,1)[0];return!n.includes(t)}));return i.reduce((function(e,t){var n=(0,Ar.A)(t,2),r=n[0],i=n[1];return e[r]=i,e}),{})}((0,br.A)(e,Wi),"onExited","in","enter","exit","appear");return vr("input",(0,Gt.A)({ref:t},n,{css:yr({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},"","")}))}var Ki=["boxSizing","height","overflow","paddingRight","position"],Ji={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function Xi(e){e.preventDefault()}function Zi(e){e.stopPropagation()}function $i(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function eo(){return"ontouchstart"in window||navigator.maxTouchPoints}var to=!("undefined"===typeof window||!window.document||!window.document.createElement),no=0,ro={capture:!1,passive:!1};var io=function(e){var t=e.target;return t.ownerDocument.activeElement&&t.ownerDocument.activeElement.blur()},oo={name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"};function ao(e){var t=e.children,n=e.lockEnabled,r=e.captureEnabled,o=function(e){var t=e.isEnabled,n=e.onBottomArrive,r=e.onBottomLeave,o=e.onTopArrive,a=e.onTopLeave,s=(0,i.useRef)(!1),l=(0,i.useRef)(!1),c=(0,i.useRef)(0),u=(0,i.useRef)(null),d=(0,i.useCallback)((function(e,t){if(null!==u.current){var i=u.current,c=i.scrollTop,d=i.scrollHeight,p=i.clientHeight,h=u.current,f=t>0,m=d-p-c,g=!1;m>t&&s.current&&(r&&r(e),s.current=!1),f&&l.current&&(a&&a(e),l.current=!1),f&&t>m?(n&&!s.current&&n(e),h.scrollTop=d,g=!0,s.current=!0):!f&&-t>c&&(o&&!l.current&&o(e),h.scrollTop=0,g=!0,l.current=!0),g&&function(e){e.cancelable&&e.preventDefault(),e.stopPropagation()}(e)}}),[n,r,o,a]),p=(0,i.useCallback)((function(e){d(e,e.deltaY)}),[d]),h=(0,i.useCallback)((function(e){c.current=e.changedTouches[0].clientY}),[]),f=(0,i.useCallback)((function(e){var t=c.current-e.changedTouches[0].clientY;d(e,t)}),[d]),m=(0,i.useCallback)((function(e){if(e){var t=!!Ur&&{passive:!1};e.addEventListener("wheel",p,t),e.addEventListener("touchstart",h,t),e.addEventListener("touchmove",f,t)}}),[f,h,p]),g=(0,i.useCallback)((function(e){e&&(e.removeEventListener("wheel",p,!1),e.removeEventListener("touchstart",h,!1),e.removeEventListener("touchmove",f,!1))}),[f,h,p]);return(0,i.useEffect)((function(){if(t){var e=u.current;return m(e),function(){g(e)}}}),[t,m,g]),function(e){u.current=e}}({isEnabled:void 0===r||r,onBottomArrive:e.onBottomArrive,onBottomLeave:e.onBottomLeave,onTopArrive:e.onTopArrive,onTopLeave:e.onTopLeave}),a=function(e){var t=e.isEnabled,n=e.accountForScrollbars,r=void 0===n||n,o=(0,i.useRef)({}),a=(0,i.useRef)(null),s=(0,i.useCallback)((function(e){if(to){var t=document.body,n=t&&t.style;if(r&&Ki.forEach((function(e){var t=n&&n[e];o.current[e]=t})),r&&no<1){var i=parseInt(o.current.paddingRight,10)||0,a=document.body?document.body.clientWidth:0,s=window.innerWidth-a+i||0;Object.keys(Ji).forEach((function(e){var t=Ji[e];n&&(n[e]=t)})),n&&(n.paddingRight="".concat(s,"px"))}t&&eo()&&(t.addEventListener("touchmove",Xi,ro),e&&(e.addEventListener("touchstart",$i,ro),e.addEventListener("touchmove",Zi,ro))),no+=1}}),[r]),l=(0,i.useCallback)((function(e){if(to){var t=document.body,n=t&&t.style;no=Math.max(no-1,0),r&&no<1&&Ki.forEach((function(e){var t=o.current[e];n&&(n[e]=t)})),t&&eo()&&(t.removeEventListener("touchmove",Xi,ro),e&&(e.removeEventListener("touchstart",$i,ro),e.removeEventListener("touchmove",Zi,ro)))}}),[r]);return(0,i.useEffect)((function(){if(t){var e=a.current;return s(e),function(){l(e)}}}),[t,s,l]),function(e){a.current=e}}({isEnabled:n});return vr(i.Fragment,null,n&&vr("div",{onClick:io,css:oo}),t((function(e){o(e),a(e)})))}var so={name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"},lo=function(e){var t=e.name,n=e.onFocus;return vr("input",{required:!0,name:t,tabIndex:-1,"aria-hidden":"true",onFocus:n,css:so,value:"",onChange:function(){}})};function co(e){var t;return"undefined"!==typeof window&&null!=window.navigator&&e.test((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.platform)||window.navigator.platform)}function uo(){return co(/^Mac/i)}function po(){return co(/^iPhone/i)||co(/^iPad/i)||uo()&&navigator.maxTouchPoints>1}var ho={clearIndicator:ui,container:function(e){var t=e.isDisabled;return{label:"container",direction:e.isRtl?"rtl":void 0,pointerEvents:t?"none":void 0,position:"relative"}},control:function(e,t){var n=e.isDisabled,r=e.isFocused,i=e.theme,o=i.colors,a=i.borderRadius,s=i.spacing;return(0,Vt.A)({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:s.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},t?{}:{backgroundColor:n?o.neutral5:o.neutral0,borderColor:n?o.neutral10:r?o.primary:o.neutral20,borderRadius:a,borderStyle:"solid",borderWidth:1,boxShadow:r?"0 0 0 1px ".concat(o.primary):void 0,"&:hover":{borderColor:r?o.primary:o.neutral30}})},dropdownIndicator:ci,group:function(e,t){var n=e.theme.spacing;return t?{}:{paddingBottom:2*n.baseUnit,paddingTop:2*n.baseUnit}},groupHeading:function(e,t){var n=e.theme,r=n.colors,i=n.spacing;return(0,Vt.A)({label:"group",cursor:"default",display:"block"},t?{}:{color:r.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:3*i.baseUnit,paddingRight:3*i.baseUnit,textTransform:"uppercase"})},indicatorsContainer:function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},indicatorSeparator:function(e,t){var n=e.isDisabled,r=e.theme,i=r.spacing.baseUnit,o=r.colors;return(0,Vt.A)({label:"indicatorSeparator",alignSelf:"stretch",width:1},t?{}:{backgroundColor:n?o.neutral10:o.neutral20,marginBottom:2*i,marginTop:2*i})},input:function(e,t){var n=e.isDisabled,r=e.value,i=e.theme,o=i.spacing,a=i.colors;return(0,Vt.A)((0,Vt.A)({visibility:n?"hidden":"visible",transform:r?"translateZ(0)":""},yi),t?{}:{margin:o.baseUnit/2,paddingBottom:o.baseUnit/2,paddingTop:o.baseUnit/2,color:a.neutral80})},loadingIndicator:function(e,t){var n=e.isFocused,r=e.size,i=e.theme,o=i.colors,a=i.spacing.baseUnit;return(0,Vt.A)({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:r,lineHeight:1,marginRight:r,textAlign:"center",verticalAlign:"middle"},t?{}:{color:n?o.neutral60:o.neutral20,padding:2*a})},loadingMessage:ti,menu:function(e,t){var n,r=e.placement,i=e.theme,o=i.borderRadius,a=i.spacing,s=i.colors;return(0,Vt.A)((n={label:"menu"},(0,xr.A)(n,function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(r),"100%"),(0,xr.A)(n,"position","absolute"),(0,xr.A)(n,"width","100%"),(0,xr.A)(n,"zIndex",1),n),t?{}:{backgroundColor:s.neutral0,borderRadius:o,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:a.menuGutter,marginTop:a.menuGutter})},menuList:function(e,t){var n=e.maxHeight,r=e.theme.spacing.baseUnit;return(0,Vt.A)({maxHeight:n,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},t?{}:{paddingBottom:r,paddingTop:r})},menuPortal:function(e){var t=e.rect,n=e.offset,r=e.position;return{left:t.left,position:r,top:n,width:t.width,zIndex:1}},multiValue:function(e,t){var n=e.theme,r=n.spacing,i=n.borderRadius,o=n.colors;return(0,Vt.A)({label:"multiValue",display:"flex",minWidth:0},t?{}:{backgroundColor:o.neutral10,borderRadius:i/2,margin:r.baseUnit/2})},multiValueLabel:function(e,t){var n=e.theme,r=n.borderRadius,i=n.colors,o=e.cropWithEllipsis;return(0,Vt.A)({overflow:"hidden",textOverflow:o||void 0===o?"ellipsis":void 0,whiteSpace:"nowrap"},t?{}:{borderRadius:r/2,color:i.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},multiValueRemove:function(e,t){var n=e.theme,r=n.spacing,i=n.borderRadius,o=n.colors,a=e.isFocused;return(0,Vt.A)({alignItems:"center",display:"flex"},t?{}:{borderRadius:i/2,backgroundColor:a?o.dangerLight:void 0,paddingLeft:r.baseUnit,paddingRight:r.baseUnit,":hover":{backgroundColor:o.dangerLight,color:o.danger}})},noOptionsMessage:ei,option:function(e,t){var n=e.isDisabled,r=e.isFocused,i=e.isSelected,o=e.theme,a=o.spacing,s=o.colors;return(0,Vt.A)({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},t?{}:{backgroundColor:i?s.primary:r?s.primary25:"transparent",color:n?s.neutral20:i?s.neutral0:"inherit",padding:"".concat(2*a.baseUnit,"px ").concat(3*a.baseUnit,"px"),":active":{backgroundColor:n?void 0:i?s.primary:s.primary50}})},placeholder:function(e,t){var n=e.theme,r=n.spacing,i=n.colors;return(0,Vt.A)({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},t?{}:{color:i.neutral50,marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2})},singleValue:function(e,t){var n=e.isDisabled,r=e.theme,i=r.spacing,o=r.colors;return(0,Vt.A)({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t?{}:{color:n?o.neutral40:o.neutral80,marginLeft:i.baseUnit/2,marginRight:i.baseUnit/2})},valueContainer:function(e,t){var n=e.theme.spacing,r=e.isMulti,i=e.hasValue,o=e.selectProps.controlShouldRenderValue;return(0,Vt.A)({alignItems:"center",display:r&&i&&o?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},t?{}:{padding:"".concat(n.baseUnit/2,"px ").concat(2*n.baseUnit,"px")})}};var fo={borderRadius:4,colors:{primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},spacing:{baseUnit:4,controlHeight:38,menuGutter:8}},mo={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:Lr(),captureMenuScroll:!Lr(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:function(e){return function(t,n){if(t.data.__isNew__)return!0;var r=(0,Vt.A)({ignoreCase:!0,ignoreAccents:!0,stringify:Hi,trim:!0,matchFrom:"any"},e),i=r.ignoreCase,o=r.ignoreAccents,a=r.stringify,s=r.trim,l=r.matchFrom,c=s?qi(n):n,u=s?qi(a(t)):a(t);return i&&(c=c.toLowerCase(),u=u.toLowerCase()),o&&(c=Gi(c),u=Vi(u)),"start"===l?u.substr(0,c.length)===c:u.indexOf(c)>-1}}(),formatGroupLabel:function(e){return e.label},getOptionLabel:function(e){return e.label},getOptionValue:function(e){return e.value},isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:function(e){return!!e.isDisabled},loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!function(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch(e){return!1}}(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(e){var t=e.count;return"".concat(t," result").concat(1!==t?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function go(e,t,n,r){return{type:"option",data:t,isDisabled:So(e,t,n),isSelected:ko(e,t,n),label:xo(e,t),value:Co(e,t),index:r}}function vo(e,t){return e.options.map((function(n,r){if("options"in n){var i=n.options.map((function(n,r){return go(e,n,t,r)})).filter((function(t){return bo(e,t)}));return i.length>0?{type:"group",data:n,options:i,index:r}:void 0}var o=go(e,n,t,r);return bo(e,o)?o:void 0})).filter(Vr)}function yo(e){return e.reduce((function(e,t){return"group"===t.type?e.push.apply(e,(0,Oi.A)(t.options.map((function(e){return e.data})))):e.push(t.data),e}),[])}function Ao(e,t){return e.reduce((function(e,n){return"group"===n.type?e.push.apply(e,(0,Oi.A)(n.options.map((function(e){return{data:e.data,id:"".concat(t,"-").concat(n.index,"-").concat(e.index)}})))):e.push({data:n.data,id:"".concat(t,"-").concat(n.index)}),e}),[])}function bo(e,t){var n=e.inputValue,r=void 0===n?"":n,i=t.data,o=t.isSelected,a=t.label,s=t.value;return(!Io(e)||!o)&&Eo(e,{label:a,value:s,data:i},r)}var wo=function(e,t){var n;return(null===(n=e.find((function(e){return e.data===t})))||void 0===n?void 0:n.id)||null},xo=function(e,t){return e.getOptionLabel(t)},Co=function(e,t){return e.getOptionValue(t)};function So(e,t,n){return"function"===typeof e.isOptionDisabled&&e.isOptionDisabled(t,n)}function ko(e,t,n){if(n.indexOf(t)>-1)return!0;if("function"===typeof e.isOptionSelected)return e.isOptionSelected(t,n);var r=Co(e,t);return n.some((function(t){return Co(e,t)===r}))}function Eo(e,t,n){return!e.filterOption||e.filterOption(t,n)}var Io=function(e){var t=e.hideSelectedOptions,n=e.isMulti;return void 0===t?n:t},_o=1,Po=function(e){(0,Ei.A)(n,e);var t=function(e){var t=(0,_i.A)();return function(){var n,r=(0,Ii.A)(e);if(t){var i=(0,Ii.A)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,Pi.A)(this,n)}}(n);function n(e){var r;if((0,Si.A)(this,n),(r=t.call(this,e)).state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:""},r.blockOptionHover=!1,r.isComposing=!1,r.commonProps=void 0,r.initialTouchX=0,r.initialTouchY=0,r.openAfterFocus=!1,r.scrollToFocusedOptionOnUpdate=!1,r.userIsDragging=void 0,r.isAppleDevice=uo()||po(),r.controlRef=null,r.getControlRef=function(e){r.controlRef=e},r.focusedOptionRef=null,r.getFocusedOptionRef=function(e){r.focusedOptionRef=e},r.menuListRef=null,r.getMenuListRef=function(e){r.menuListRef=e},r.inputRef=null,r.getInputRef=function(e){r.inputRef=e},r.focus=r.focusInput,r.blur=r.blurInput,r.onChange=function(e,t){var n=r.props,i=n.onChange,o=n.name;t.name=o,r.ariaOnChange(e,t),i(e,t)},r.setValue=function(e,t,n){var i=r.props,o=i.closeMenuOnSelect,a=i.isMulti,s=i.inputValue;r.onInputChange("",{action:"set-value",prevInputValue:s}),o&&(r.setState({inputIsHiddenAfterUpdate:!a}),r.onMenuClose()),r.setState({clearFocusValueOnUpdate:!0}),r.onChange(e,{action:t,option:n})},r.selectOption=function(e){var t=r.props,n=t.blurInputOnSelect,i=t.isMulti,o=t.name,a=r.state.selectValue,s=i&&r.isOptionSelected(e,a),l=r.isOptionDisabled(e,a);if(s){var c=r.getOptionValue(e);r.setValue(a.filter((function(e){return r.getOptionValue(e)!==c})),"deselect-option",e)}else{if(l)return void r.ariaOnChange(e,{action:"select-option",option:e,name:o});i?r.setValue([].concat((0,Oi.A)(a),[e]),"select-option",e):r.setValue(e,"select-option")}n&&r.blurInput()},r.removeValue=function(e){var t=r.props.isMulti,n=r.state.selectValue,i=r.getOptionValue(e),o=n.filter((function(e){return r.getOptionValue(e)!==i})),a=Gr(t,o,o[0]||null);r.onChange(a,{action:"remove-value",removedValue:e}),r.focusInput()},r.clearValue=function(){var e=r.state.selectValue;r.onChange(Gr(r.props.isMulti,[],null),{action:"clear",removedValues:e})},r.popValue=function(){var e=r.props.isMulti,t=r.state.selectValue,n=t[t.length-1],i=t.slice(0,t.length-1),o=Gr(e,i,i[0]||null);n&&r.onChange(o,{action:"pop-value",removedValue:n})},r.getFocusedOptionId=function(e){return wo(r.state.focusableOptionsWithIds,e)},r.getFocusableOptionsWithIds=function(){return Ao(vo(r.props,r.state.selectValue),r.getElementId("option"))},r.getValue=function(){return r.state.selectValue},r.cx=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Pr.apply(void 0,[r.props.classNamePrefix].concat(t))},r.getOptionLabel=function(e){return xo(r.props,e)},r.getOptionValue=function(e){return Co(r.props,e)},r.getStyles=function(e,t){var n=r.props.unstyled,i=ho[e](t,n);i.boxSizing="border-box";var o=r.props.styles[e];return o?o(i,t):i},r.getClassNames=function(e,t){var n,i;return null===(n=(i=r.props.classNames)[e])||void 0===n?void 0:n.call(i,t)},r.getElementId=function(e){return"".concat(r.state.instancePrefix,"-").concat(e)},r.getComponents=function(){return e=r.props,(0,Vt.A)((0,Vt.A)({},xi),e.components);var e},r.buildCategorizedOptions=function(){return vo(r.props,r.state.selectValue)},r.getCategorizedOptions=function(){return r.props.menuIsOpen?r.buildCategorizedOptions():[]},r.buildFocusableOptions=function(){return yo(r.buildCategorizedOptions())},r.getFocusableOptions=function(){return r.props.menuIsOpen?r.buildFocusableOptions():[]},r.ariaOnChange=function(e,t){r.setState({ariaSelection:(0,Vt.A)({value:e},t)})},r.onMenuMouseDown=function(e){0===e.button&&(e.stopPropagation(),e.preventDefault(),r.focusInput())},r.onMenuMouseMove=function(e){r.blockOptionHover=!1},r.onControlMouseDown=function(e){if(!e.defaultPrevented){var t=r.props.openMenuOnClick;r.state.isFocused?r.props.menuIsOpen?"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&r.onMenuClose():t&&r.openMenu("first"):(t&&(r.openAfterFocus=!0),r.focusInput()),"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&e.preventDefault()}},r.onDropdownIndicatorMouseDown=function(e){if((!e||"mousedown"!==e.type||0===e.button)&&!r.props.isDisabled){var t=r.props,n=t.isMulti,i=t.menuIsOpen;r.focusInput(),i?(r.setState({inputIsHiddenAfterUpdate:!n}),r.onMenuClose()):r.openMenu("first"),e.preventDefault()}},r.onClearIndicatorMouseDown=function(e){e&&"mousedown"===e.type&&0!==e.button||(r.clearValue(),e.preventDefault(),r.openAfterFocus=!1,"touchend"===e.type?r.focusInput():setTimeout((function(){return r.focusInput()})))},r.onScroll=function(e){"boolean"===typeof r.props.closeMenuOnScroll?e.target instanceof HTMLElement&&jr(e.target)&&r.props.onMenuClose():"function"===typeof r.props.closeMenuOnScroll&&r.props.closeMenuOnScroll(e)&&r.props.onMenuClose()},r.onCompositionStart=function(){r.isComposing=!0},r.onCompositionEnd=function(){r.isComposing=!1},r.onTouchStart=function(e){var t=e.touches,n=t&&t.item(0);n&&(r.initialTouchX=n.clientX,r.initialTouchY=n.clientY,r.userIsDragging=!1)},r.onTouchMove=function(e){var t=e.touches,n=t&&t.item(0);if(n){var i=Math.abs(n.clientX-r.initialTouchX),o=Math.abs(n.clientY-r.initialTouchY);r.userIsDragging=i>5||o>5}},r.onTouchEnd=function(e){r.userIsDragging||(r.controlRef&&!r.controlRef.contains(e.target)&&r.menuListRef&&!r.menuListRef.contains(e.target)&&r.blurInput(),r.initialTouchX=0,r.initialTouchY=0)},r.onControlTouchEnd=function(e){r.userIsDragging||r.onControlMouseDown(e)},r.onClearIndicatorTouchEnd=function(e){r.userIsDragging||r.onClearIndicatorMouseDown(e)},r.onDropdownIndicatorTouchEnd=function(e){r.userIsDragging||r.onDropdownIndicatorMouseDown(e)},r.handleInputChange=function(e){var t=r.props.inputValue,n=e.currentTarget.value;r.setState({inputIsHiddenAfterUpdate:!1}),r.onInputChange(n,{action:"input-change",prevInputValue:t}),r.props.menuIsOpen||r.onMenuOpen()},r.onInputFocus=function(e){r.props.onFocus&&r.props.onFocus(e),r.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(r.openAfterFocus||r.props.openMenuOnFocus)&&r.openMenu("first"),r.openAfterFocus=!1},r.onInputBlur=function(e){var t=r.props.inputValue;r.menuListRef&&r.menuListRef.contains(document.activeElement)?r.inputRef.focus():(r.props.onBlur&&r.props.onBlur(e),r.onInputChange("",{action:"input-blur",prevInputValue:t}),r.onMenuClose(),r.setState({focusedValue:null,isFocused:!1}))},r.onOptionHover=function(e){if(!r.blockOptionHover&&r.state.focusedOption!==e){var t=r.getFocusableOptions().indexOf(e);r.setState({focusedOption:e,focusedOptionId:t>-1?r.getFocusedOptionId(e):null})}},r.shouldHideSelectedOptions=function(){return Io(r.props)},r.onValueInputFocus=function(e){e.preventDefault(),e.stopPropagation(),r.focus()},r.onKeyDown=function(e){var t=r.props,n=t.isMulti,i=t.backspaceRemovesValue,o=t.escapeClearsValue,a=t.inputValue,s=t.isClearable,l=t.isDisabled,c=t.menuIsOpen,u=t.onKeyDown,d=t.tabSelectsValue,p=t.openMenuOnFocus,h=r.state,f=h.focusedOption,m=h.focusedValue,g=h.selectValue;if(!l&&("function"!==typeof u||(u(e),!e.defaultPrevented))){switch(r.blockOptionHover=!0,e.key){case"ArrowLeft":if(!n||a)return;r.focusValue("previous");break;case"ArrowRight":if(!n||a)return;r.focusValue("next");break;case"Delete":case"Backspace":if(a)return;if(m)r.removeValue(m);else{if(!i)return;n?r.popValue():s&&r.clearValue()}break;case"Tab":if(r.isComposing)return;if(e.shiftKey||!c||!d||!f||p&&r.isOptionSelected(f,g))return;r.selectOption(f);break;case"Enter":if(229===e.keyCode)break;if(c){if(!f)return;if(r.isComposing)return;r.selectOption(f);break}return;case"Escape":c?(r.setState({inputIsHiddenAfterUpdate:!1}),r.onInputChange("",{action:"menu-close",prevInputValue:a}),r.onMenuClose()):s&&o&&r.clearValue();break;case" ":if(a)return;if(!c){r.openMenu("first");break}if(!f)return;r.selectOption(f);break;case"ArrowUp":c?r.focusOption("up"):r.openMenu("last");break;case"ArrowDown":c?r.focusOption("down"):r.openMenu("first");break;case"PageUp":if(!c)return;r.focusOption("pageup");break;case"PageDown":if(!c)return;r.focusOption("pagedown");break;case"Home":if(!c)return;r.focusOption("first");break;case"End":if(!c)return;r.focusOption("last");break;default:return}e.preventDefault()}},r.state.instancePrefix="react-select-"+(r.props.instanceId||++_o),r.state.selectValue=Or(e.value),e.menuIsOpen&&r.state.selectValue.length){var i=r.getFocusableOptionsWithIds(),o=r.buildFocusableOptions(),a=o.indexOf(r.state.selectValue[0]);r.state.focusableOptionsWithIds=i,r.state.focusedOption=o[a],r.state.focusedOptionId=wo(i,o[a])}return r}return(0,ki.A)(n,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&Rr(this.menuListRef,this.focusedOptionRef)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isDisabled,r=t.menuIsOpen,i=this.state.isFocused;(i&&!n&&e.isDisabled||i&&r&&!e.menuIsOpen)&&this.focusInput(),i&&n&&!e.isDisabled?this.setState({isFocused:!1},this.onMenuClose):i||n||!e.isDisabled||this.inputRef!==document.activeElement||this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(Rr(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(e,t){this.props.onInputChange(e,t)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(e){var t=this,n=this.state,r=n.selectValue,i=n.isFocused,o=this.buildFocusableOptions(),a="first"===e?0:o.length-1;if(!this.props.isMulti){var s=o.indexOf(r[0]);s>-1&&(a=s)}this.scrollToFocusedOptionOnUpdate=!(i&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:o[a],focusedOptionId:this.getFocusedOptionId(o[a])},(function(){return t.onMenuOpen()}))}},{key:"focusValue",value:function(e){var t=this.state,n=t.selectValue,r=t.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var i=n.indexOf(r);r||(i=-1);var o=n.length-1,a=-1;if(n.length){switch(e){case"previous":a=0===i?0:-1===i?o:i-1;break;case"next":i>-1&&i<o&&(a=i+1)}this.setState({inputIsHidden:-1!==a,focusedValue:n[a]})}}}},{key:"focusOption",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"first",t=this.props.pageSize,n=this.state.focusedOption,r=this.getFocusableOptions();if(r.length){var i=0,o=r.indexOf(n);n||(o=-1),"up"===e?i=o>0?o-1:r.length-1:"down"===e?i=(o+1)%r.length:"pageup"===e?(i=o-t)<0&&(i=0):"pagedown"===e?(i=o+t)>r.length-1&&(i=r.length-1):"last"===e&&(i=r.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:r[i],focusedValue:null,focusedOptionId:this.getFocusedOptionId(r[i])})}}},{key:"getTheme",value:function(){return this.props.theme?"function"===typeof this.props.theme?this.props.theme(fo):(0,Vt.A)((0,Vt.A)({},fo),this.props.theme):fo}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.cx,n=this.getStyles,r=this.getClassNames,i=this.getValue,o=this.selectOption,a=this.setValue,s=this.props,l=s.isMulti,c=s.isRtl,u=s.options;return{clearValue:e,cx:t,getStyles:n,getClassNames:r,getValue:i,hasValue:this.hasValue(),isMulti:l,isRtl:c,options:u,selectOption:o,selectProps:s,setValue:a,theme:this.getTheme()}}},{key:"hasValue",value:function(){return this.state.selectValue.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var e=this.props,t=e.isClearable,n=e.isMulti;return void 0===t?n:t}},{key:"isOptionDisabled",value:function(e,t){return So(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return ko(this.props,e,t)}},{key:"filterOption",value:function(e,t){return Eo(this.props,e,t)}},{key:"formatOptionLabel",value:function(e,t){if("function"===typeof this.props.formatOptionLabel){var n=this.props.inputValue,r=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:n,selectValue:r})}return this.getOptionLabel(e)}},{key:"formatGroupLabel",value:function(e){return this.props.formatGroupLabel(e)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var e=this.props,t=e.isDisabled,n=e.isSearchable,r=e.inputId,o=e.inputValue,a=e.tabIndex,s=e.form,l=e.menuIsOpen,c=e.required,u=this.getComponents().Input,d=this.state,p=d.inputIsHidden,h=d.ariaSelection,f=this.commonProps,m=r||this.getElementId("input"),g=(0,Vt.A)((0,Vt.A)((0,Vt.A)({"aria-autocomplete":"list","aria-expanded":l,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":c,role:"combobox","aria-activedescendant":this.isAppleDevice?void 0:this.state.focusedOptionId||""},l&&{"aria-controls":this.getElementId("listbox")}),!n&&{"aria-readonly":!0}),this.hasValue()?"initial-input-focus"===(null===h||void 0===h?void 0:h.action)&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return n?i.createElement(u,(0,Gt.A)({},f,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:m,innerRef:this.getInputRef,isDisabled:t,isHidden:p,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:a,form:s,type:"text",value:o},g)):i.createElement(Yi,(0,Gt.A)({id:m,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:Ir,onFocus:this.onInputFocus,disabled:t,tabIndex:a,inputMode:"none",form:s,value:""},g))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,t=this.getComponents(),n=t.MultiValue,r=t.MultiValueContainer,o=t.MultiValueLabel,a=t.MultiValueRemove,s=t.SingleValue,l=t.Placeholder,c=this.commonProps,u=this.props,d=u.controlShouldRenderValue,p=u.isDisabled,h=u.isMulti,f=u.inputValue,m=u.placeholder,g=this.state,v=g.selectValue,y=g.focusedValue,A=g.isFocused;if(!this.hasValue()||!d)return f?null:i.createElement(l,(0,Gt.A)({},c,{key:"placeholder",isDisabled:p,isFocused:A,innerProps:{id:this.getElementId("placeholder")}}),m);if(h)return v.map((function(t,s){var l=t===y,u="".concat(e.getOptionLabel(t),"-").concat(e.getOptionValue(t));return i.createElement(n,(0,Gt.A)({},c,{components:{Container:r,Label:o,Remove:a},isFocused:l,isDisabled:p,key:u,index:s,removeProps:{onClick:function(){return e.removeValue(t)},onTouchEnd:function(){return e.removeValue(t)},onMouseDown:function(e){e.preventDefault()}},data:t}),e.formatOptionLabel(t,"value"))}));if(f)return null;var b=v[0];return i.createElement(s,(0,Gt.A)({},c,{data:b,isDisabled:p}),this.formatOptionLabel(b,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.getComponents().ClearIndicator,t=this.commonProps,n=this.props,r=n.isDisabled,o=n.isLoading,a=this.state.isFocused;if(!this.isClearable()||!e||r||!this.hasValue()||o)return null;var s={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return i.createElement(e,(0,Gt.A)({},t,{innerProps:s,isFocused:a}))}},{key:"renderLoadingIndicator",value:function(){var e=this.getComponents().LoadingIndicator,t=this.commonProps,n=this.props,r=n.isDisabled,o=n.isLoading,a=this.state.isFocused;if(!e||!o)return null;return i.createElement(e,(0,Gt.A)({},t,{innerProps:{"aria-hidden":"true"},isDisabled:r,isFocused:a}))}},{key:"renderIndicatorSeparator",value:function(){var e=this.getComponents(),t=e.DropdownIndicator,n=e.IndicatorSeparator;if(!t||!n)return null;var r=this.commonProps,o=this.props.isDisabled,a=this.state.isFocused;return i.createElement(n,(0,Gt.A)({},r,{isDisabled:o,isFocused:a}))}},{key:"renderDropdownIndicator",value:function(){var e=this.getComponents().DropdownIndicator;if(!e)return null;var t=this.commonProps,n=this.props.isDisabled,r=this.state.isFocused,o={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return i.createElement(e,(0,Gt.A)({},t,{innerProps:o,isDisabled:n,isFocused:r}))}},{key:"renderMenu",value:function(){var e=this,t=this.getComponents(),n=t.Group,r=t.GroupHeading,o=t.Menu,a=t.MenuList,s=t.MenuPortal,l=t.LoadingMessage,c=t.NoOptionsMessage,u=t.Option,d=this.commonProps,p=this.state.focusedOption,h=this.props,f=h.captureMenuScroll,m=h.inputValue,g=h.isLoading,v=h.loadingMessage,y=h.minMenuHeight,A=h.maxMenuHeight,b=h.menuIsOpen,w=h.menuPlacement,x=h.menuPosition,C=h.menuPortalTarget,S=h.menuShouldBlockScroll,k=h.menuShouldScrollIntoView,E=h.noOptionsMessage,I=h.onMenuScrollToTop,_=h.onMenuScrollToBottom;if(!b)return null;var P,O=function(t,n){var r=t.type,o=t.data,a=t.isDisabled,s=t.isSelected,l=t.label,c=t.value,h=p===o,f=a?void 0:function(){return e.onOptionHover(o)},m=a?void 0:function(){return e.selectOption(o)},g="".concat(e.getElementId("option"),"-").concat(n),v={id:g,onClick:m,onMouseMove:f,onMouseOver:f,tabIndex:-1,role:"option","aria-selected":e.isAppleDevice?void 0:s};return i.createElement(u,(0,Gt.A)({},d,{innerProps:v,data:o,isDisabled:a,isSelected:s,key:g,label:l,type:r,value:c,isFocused:h,innerRef:h?e.getFocusedOptionRef:void 0}),e.formatOptionLabel(t.data,"menu"))};if(this.hasOptions())P=this.getCategorizedOptions().map((function(t){if("group"===t.type){var o=t.data,a=t.options,s=t.index,l="".concat(e.getElementId("group"),"-").concat(s),c="".concat(l,"-heading");return i.createElement(n,(0,Gt.A)({},d,{key:l,data:o,options:a,Heading:r,headingProps:{id:c,data:t.data},label:e.formatGroupLabel(t.data)}),t.options.map((function(e){return O(e,"".concat(s,"-").concat(e.index))})))}if("option"===t.type)return O(t,"".concat(t.index))}));else if(g){var T=v({inputValue:m});if(null===T)return null;P=i.createElement(l,d,T)}else{var D=E({inputValue:m});if(null===D)return null;P=i.createElement(c,d,D)}var j={minMenuHeight:y,maxMenuHeight:A,menuPlacement:w,menuPosition:x,menuShouldScrollIntoView:k},B=i.createElement(Xr,(0,Gt.A)({},d,j),(function(t){var n=t.ref,r=t.placerProps,s=r.placement,l=r.maxHeight;return i.createElement(o,(0,Gt.A)({},d,j,{innerRef:n,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove},isLoading:g,placement:s}),i.createElement(ao,{captureEnabled:f,onTopArrive:I,onBottomArrive:_,lockEnabled:S},(function(t){return i.createElement(a,(0,Gt.A)({},d,{innerRef:function(n){e.getMenuListRef(n),t(n)},innerProps:{role:"listbox","aria-multiselectable":d.isMulti,id:e.getElementId("listbox")},isLoading:g,maxHeight:l,focusedOption:p}),P)})))}));return C||"fixed"===x?i.createElement(s,(0,Gt.A)({},d,{appendTo:C,controlElement:this.controlRef,menuPlacement:w,menuPosition:x}),B):B}},{key:"renderFormField",value:function(){var e=this,t=this.props,n=t.delimiter,r=t.isDisabled,o=t.isMulti,a=t.name,s=t.required,l=this.state.selectValue;if(s&&!this.hasValue()&&!r)return i.createElement(lo,{name:a,onFocus:this.onValueInputFocus});if(a&&!r){if(o){if(n){var c=l.map((function(t){return e.getOptionValue(t)})).join(n);return i.createElement("input",{name:a,type:"hidden",value:c})}var u=l.length>0?l.map((function(t,n){return i.createElement("input",{key:"i-".concat(n),name:a,type:"hidden",value:e.getOptionValue(t)})})):i.createElement("input",{name:a,type:"hidden",value:""});return i.createElement("div",null,u)}var d=l[0]?this.getOptionValue(l[0]):"";return i.createElement("input",{name:a,type:"hidden",value:d})}}},{key:"renderLiveRegion",value:function(){var e=this.commonProps,t=this.state,n=t.ariaSelection,r=t.focusedOption,o=t.focusedValue,a=t.isFocused,s=t.selectValue,l=this.getFocusableOptions();return i.createElement(Mi,(0,Gt.A)({},e,{id:this.getElementId("live-region"),ariaSelection:n,focusedOption:r,focusedValue:o,isFocused:a,selectValue:s,focusableOptions:l,isAppleDevice:this.isAppleDevice}))}},{key:"render",value:function(){var e=this.getComponents(),t=e.Control,n=e.IndicatorsContainer,r=e.SelectContainer,o=e.ValueContainer,a=this.props,s=a.className,l=a.id,c=a.isDisabled,u=a.menuIsOpen,d=this.state.isFocused,p=this.commonProps=this.getCommonProps();return i.createElement(r,(0,Gt.A)({},p,{className:s,innerProps:{id:l,onKeyDown:this.onKeyDown},isDisabled:c,isFocused:d}),this.renderLiveRegion(),i.createElement(t,(0,Gt.A)({},p,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:c,isFocused:d,menuIsOpen:u}),i.createElement(o,(0,Gt.A)({},p,{isDisabled:c}),this.renderPlaceholderOrValue(),this.renderInput()),i.createElement(n,(0,Gt.A)({},p,{isDisabled:c}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps,r=t.clearFocusValueOnUpdate,i=t.inputIsHiddenAfterUpdate,o=t.ariaSelection,a=t.isFocused,s=t.prevWasFocused,l=t.instancePrefix,c=e.options,u=e.value,d=e.menuIsOpen,p=e.inputValue,h=e.isMulti,f=Or(u),m={};if(n&&(u!==n.value||c!==n.options||d!==n.menuIsOpen||p!==n.inputValue)){var g=d?function(e,t){return yo(vo(e,t))}(e,f):[],v=d?Ao(vo(e,f),"".concat(l,"-option")):[],y=r?function(e,t){var n=e.focusedValue,r=e.selectValue.indexOf(n);if(r>-1){if(t.indexOf(n)>-1)return n;if(r<t.length)return t[r]}return null}(t,f):null,A=function(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}(t,g);m={selectValue:f,focusedOption:A,focusedOptionId:wo(v,A),focusableOptionsWithIds:v,focusedValue:y,clearFocusValueOnUpdate:!1}}var b=null!=i&&e!==n?{inputIsHidden:i,inputIsHiddenAfterUpdate:void 0}:{},w=o,x=a&&s;return a&&!x&&(w={value:Gr(h,f,f[0]||null),options:f,action:"initial-input-focus"},x=!s),"initial-input-focus"===(null===o||void 0===o?void 0:o.action)&&(w=null),(0,Vt.A)((0,Vt.A)((0,Vt.A)({},m),b),{},{prevProps:e,ariaSelection:w,prevWasFocused:x})}}]),n}(i.Component);Po.defaultProps=mo;var Oo=(0,i.forwardRef)((function(e,t){var n=function(e){var t=e.defaultInputValue,n=void 0===t?"":t,r=e.defaultMenuIsOpen,o=void 0!==r&&r,a=e.defaultValue,s=void 0===a?null:a,l=e.inputValue,c=e.menuIsOpen,u=e.onChange,d=e.onInputChange,p=e.onMenuClose,h=e.onMenuOpen,f=e.value,m=(0,br.A)(e,Ci),g=(0,i.useState)(void 0!==l?l:n),v=(0,Ar.A)(g,2),y=v[0],A=v[1],b=(0,i.useState)(void 0!==c?c:o),w=(0,Ar.A)(b,2),x=w[0],C=w[1],S=(0,i.useState)(void 0!==f?f:s),k=(0,Ar.A)(S,2),E=k[0],I=k[1],_=(0,i.useCallback)((function(e,t){"function"===typeof u&&u(e,t),I(e)}),[u]),P=(0,i.useCallback)((function(e,t){var n;"function"===typeof d&&(n=d(e,t)),A(void 0!==n?n:e)}),[d]),O=(0,i.useCallback)((function(){"function"===typeof h&&h(),C(!0)}),[h]),T=(0,i.useCallback)((function(){"function"===typeof p&&p(),C(!1)}),[p]),D=void 0!==l?l:y,j=void 0!==c?c:x,B=void 0!==f?f:E;return(0,Vt.A)((0,Vt.A)({},m),{},{inputValue:D,menuIsOpen:j,onChange:_,onInputChange:P,onMenuClose:T,onMenuOpen:O,value:B})}(e);return i.createElement(Po,(0,Gt.A)({ref:t},n))})),To=Oo;const Do=e=>{const t=e.data.icon,n=e.data.iconDefinition,r=e.data.iconSrc,i=e.data.value,o=e.data.link,a=(0,c.jsxs)(l.A,{align:"center",children:[t&&(0,c.jsxs)("div",{className:"mr-2",children:[t&&(0,c.jsx)(zo,{children:t}),r&&(0,c.jsx)(Qo,{src:r}),n&&(0,c.jsx)(J.g,{icon:n})]}),e.children]});return(0,c.jsx)(xi.Option,{...e,isMulti:!0,children:o&&("string"===typeof i||i instanceof Location)?(0,c.jsx)(ft,{to:i,noStyle:!0,children:a}):a})},jo=e=>{const t=e.getValue(),n=e.options.flatMap((e=>"options"in e?e.options:e)).filter((e=>!t.some((t=>t.value===e.value)))),r=t&&n.length;return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(xi.MenuList,{...e,isMulti:!0,children:e.children}),(0,c.jsx)(l.A,{justify:"end",className:"p-1",children:(0,c.jsx)(bt,{onClick:()=>{r?e.setValue([...t,...n],"select-option"):e.setValue([],"deselect-option")},className:"pointer mr-2",children:r?"Select All":"Select None"})})]})},Bo=e=>{var t;return(0,c.jsx)(xi.DropdownIndicator,{...e,children:(0,c.jsx)(Fo,{size:"1x",icon:null!==(t=e.selectProps.indicatorIcon)&&void 0!==t?t:r.tdl})})},No=e=>(0,c.jsx)(xi.ClearIndicator,{...e,children:(0,c.jsx)(Fo,{fontSize:18,icon:r.GRI})}),Mo=e=>(0,c.jsx)(xi.MultiValueRemove,{...e,children:(0,c.jsx)(Fo,{fontSize:12,icon:r.GRI})}),Ro=e=>{var t;let{isMulti:n,label:r=null,selectAll:i=!1,lightLabel:o=!1,smallLabel:s=!1,isSearchable:l=!0,tiny:u=!1,toggleBgColor:d,...p}=e;const h=(0,a.DP)(),{t:f}=(0,E.B)(),m={input:e=>({...e}),dropdownIndicator:e=>({...e,color:l?e.color:h.colors.text,padding:u?"0 10px 0 0":e.padding,":hover":l?e[":hover"]:{color:h.colors.text}}),indicatorSeparator:e=>({...e,display:u?"none":e.display}),control:e=>({...e,border:l?`1px solid ${h.colors.borderLight}`:"none",cursor:l?e.cursor:"pointer",boxShadow:"none",minHeight:u?"auto":"40px",backgroundColor:d?h.colors[d]:e.backgroundColor,transition:"all 0.15s linear",textAlign:l?"initial":"center",":hover":{borderColor:h.colors.border,backgroundColor:d?(0,v.Qw)(.03,h.colors[d]):l?e.backgroundColor:(0,v.Qw)(.03,"white")}}),menuList:e=>({...e,padding:0}),menu:e=>({...e,width:"max-content",minWidth:"100%"}),groupHeading:(e,t)=>({...e,color:t.data.color?{...h.colors,...h.webColors}[t.data.color]:h.colors.textLight,borderLeft:t.data.color?`3px solid ${{...h.colors,...h.webColors}[t.data.color]}`:e.borderLeft,margin:0,height:"2em"}),multiValue:(e,t)=>({...e,backgroundColor:t.data.color?(0,v.No)(.65,{...h.colors,...h.webColors}[t.data.color]):e.backgroundColor}),option:(e,t)=>({...e,borderLeft:t.data.color?`3px solid ${{...h.colors,...h.webColors}[t.data.color]}`:e.borderLeft,cursor:"pointer"})},g={DropdownIndicator:Bo,ClearIndicator:No,MultiValueRemove:Mo,MenuList:i&&n?jo:xi.MenuList,Option:Do};return(0,c.jsxs)(c.Fragment,{children:[r&&(0,c.jsxs)(Lo,{htmlFor:p.id,className:o?void 0:"f3-700",lightLabel:o,smallLabel:s,children:[r,p.required&&(0,c.jsx)(se.A,{small:!0,className:"d-inline",color:"textFaded",children:" *"})]}),(0,c.jsx)(To,{...p,isMulti:n,isSearchable:l,styles:m,theme:e=>({...e,borderRadius:2,colors:{...e.colors,primary:(0,v.No)(.2,h.colors.accent),primary50:(0,v.No)(.6,h.colors.accent),primary25:(0,v.No)(.8,h.colors.accent)}}),noOptionsMessage:e=>f("search.empty"),components:g,placeholder:null!==(t=p.placeholder)&&void 0!==t?t:f("action.select")})]})},Lo=a.Ay.label.withConfig({componentId:"sc-1k321pl-0"})(["width:100%;padding-top:3px;padding-bottom:3px;font-size:","px;letter-spacing:0.5px;color:",";transition:all 0.3s ease-in-out;margin-bottom:0;"],(e=>{let{smallLabel:t}=e;return t?12:15}),(e=>{let{lightLabel:t,theme:n}=e;return t?n.colors.textLight:n.colors.text})),Fo=(0,a.Ay)(J.g).withConfig({componentId:"sc-1k321pl-1"})(["width:20px;cursor:pointer;"]),zo=a.Ay.div.withConfig({componentId:"sc-1k321pl-2"})(["width:20px;max-height:1em;"]),Qo=a.Ay.img.withConfig({componentId:"sc-1k321pl-3"})(["height:1em;"]);var Uo=n(44634),Vo=n(2728),Go=n(39695),qo=n(98587),Ho=n(77387),Wo=n(11445),Yo=n(72373);const Ko=!1,Jo=i.createContext(null);var Xo=function(e){return e.scrollTop},Zo="unmounted",$o="exited",ea="entering",ta="entered",na="exiting",ra=function(e){function t(t,n){var r;r=e.call(this,t,n)||this;var i,o=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?o?(i=$o,r.appearStatus=ea):i=ta:i=t.unmountOnExit||t.mountOnEnter?Zo:$o,r.state={status:i},r.nextCallback=null,r}(0,Ho.A)(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===Zo?{status:$o}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==ea&&n!==ta&&(t=ea):n!==ea&&n!==ta||(t=na)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!==typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===ea){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:Cr.findDOMNode(this);n&&Xo(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===$o&&this.setState({status:Zo})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,i=this.props.nodeRef?[r]:[Cr.findDOMNode(this),r],o=i[0],a=i[1],s=this.getTimeouts(),l=r?s.appear:s.enter;!e&&!n||Ko?this.safeSetState({status:ta},(function(){t.props.onEntered(o)})):(this.props.onEnter(o,a),this.safeSetState({status:ea},(function(){t.props.onEntering(o,a),t.onTransitionEnd(l,(function(){t.safeSetState({status:ta},(function(){t.props.onEntered(o,a)}))}))})))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:Cr.findDOMNode(this);t&&!Ko?(this.props.onExit(r),this.safeSetState({status:na},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:$o},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:$o},(function(){e.props.onExited(r)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:Cr.findDOMNode(this),r=null==e&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var i=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],o=i[0],a=i[1];this.props.addEndListener(o,a)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===Zo)return null;var t=this.props,n=t.children,r=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,(0,qo.A)(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return i.createElement(Jo.Provider,{value:null},"function"===typeof n?n(e,r):i.cloneElement(i.Children.only(n),r))},t}(i.Component);function ia(){}ra.contextType=Jo,ra.propTypes={},ra.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:ia,onEntering:ia,onEntered:ia,onExit:ia,onExiting:ia,onExited:ia},ra.UNMOUNTED=Zo,ra.EXITED=$o,ra.ENTERING=ea,ra.ENTERED=ta,ra.EXITING=na;const oa=ra;var aa=function(e,t){return e&&t&&t.split(" ").forEach((function(t){return(0,Yo.A)(e,t)}))},sa=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).appliedClasses={appear:{},enter:{},exit:{}},t.onEnter=function(e,n){var r=t.resolveArguments(e,n),i=r[0],o=r[1];t.removeClasses(i,"exit"),t.addClass(i,o?"appear":"enter","base"),t.props.onEnter&&t.props.onEnter(e,n)},t.onEntering=function(e,n){var r=t.resolveArguments(e,n),i=r[0],o=r[1]?"appear":"enter";t.addClass(i,o,"active"),t.props.onEntering&&t.props.onEntering(e,n)},t.onEntered=function(e,n){var r=t.resolveArguments(e,n),i=r[0],o=r[1]?"appear":"enter";t.removeClasses(i,o),t.addClass(i,o,"done"),t.props.onEntered&&t.props.onEntered(e,n)},t.onExit=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,"appear"),t.removeClasses(n,"enter"),t.addClass(n,"exit","base"),t.props.onExit&&t.props.onExit(e)},t.onExiting=function(e){var n=t.resolveArguments(e)[0];t.addClass(n,"exit","active"),t.props.onExiting&&t.props.onExiting(e)},t.onExited=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,"exit"),t.addClass(n,"exit","done"),t.props.onExited&&t.props.onExited(e)},t.resolveArguments=function(e,n){return t.props.nodeRef?[t.props.nodeRef.current,e]:[e,n]},t.getClassNames=function(e){var n=t.props.classNames,r="string"===typeof n,i=r?""+(r&&n?n+"-":"")+e:n[e];return{baseClassName:i,activeClassName:r?i+"-active":n[e+"Active"],doneClassName:r?i+"-done":n[e+"Done"]}},t}(0,Ho.A)(t,e);var n=t.prototype;return n.addClass=function(e,t,n){var r=this.getClassNames(t)[n+"ClassName"],i=this.getClassNames("enter").doneClassName;"appear"===t&&"done"===n&&i&&(r+=" "+i),"active"===n&&e&&Xo(e),r&&(this.appliedClasses[t][n]=r,function(e,t){e&&t&&t.split(" ").forEach((function(t){return(0,Wo.A)(e,t)}))}(e,r))},n.removeClasses=function(e,t){var n=this.appliedClasses[t],r=n.base,i=n.active,o=n.done;this.appliedClasses[t]={},r&&aa(e,r),i&&aa(e,i),o&&aa(e,o)},n.render=function(){var e=this.props,t=(e.classNames,(0,qo.A)(e,["classNames"]));return i.createElement(oa,(0,Gt.A)({},t,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},t}(i.Component);sa.defaultProps={classNames:""},sa.propTypes={};const la=sa,ca=150,ua=(0,a.Ay)(l.A).withConfig({componentId:"sc-x73cka-0"})(["position:fixed;width:100%;height:100%;top:0;"," overflow:auto;overscroll-behavior:contain;background-color:",";z-index:",";opacity:0;visibility:hidden;",";transition:opacity ","ms ease,transform ","ms ease-in-out,visibility ","ms ease;","{",";border-radius:4px;width:420px;height:calc(100vh - 4rem);top:2rem;right:",";z-index:",";}"],(e=>{let{left:t}=e;return t?"\n      left: 0; \n    ":"\n      right: 0; \n    "}),(e=>{let{theme:t}=e;return t.colors.fillWhite}),(e=>{let{childSlideIn:t}=e;return t?1001:1e3}),(e=>{let{transitionState:t,mounted:n,left:r}=e;switch(t){case"entering":case"entered":return n?"\n          opacity: 1;\n          transform: none;\n          visibility: visible;\n        ":"";default:return`\n          opacity: 0;\n          transform: translateX(${r?"-":""}220px);\n          visibility: hidden;\n        `}}),ca,ca,ca,(e=>{let{theme:t}=e;return t.media.lg}),(e=>{let{theme:t}=e;return t.shadows.soft}),(e=>{let{childSlideIn:t}=e;return t?"26rem":"0rem"}),(e=>{let{childSlideIn:t}=e;return t?1e3:1001})),da=(0,a.Ay)(l.A).withConfig({componentId:"sc-x73cka-1"})(["background-color:",";",""],(e=>{let{theme:t,bgColor:n}=e;return n?t.colors[n]:t.colors.fillWhite}),(e=>{let{theme:t}=e;return`${t.borders.underline1} ${t.colors.fill};`})),pa=(0,a.Ay)(R).withConfig({componentId:"sc-x73cka-2"})([""]),ha=(0,a.Ay)(l.A).withConfig({componentId:"sc-x73cka-3"})(["flex-grow:1;color:",";background-color:",";-webkit-overflow-scrolling:touch;overscroll-behavior:contain;overflow:auto;"],(e=>e.theme.colors.text),(e=>{let{theme:t}=e;return t.colors.fillWhite})),fa=a.Ay.div.withConfig({componentId:"sc-x73cka-4"})(["border-top:1px solid ",";"],(e=>{let{theme:t}=e;return t.colors.fill})),ma=e=>{let{left:t=!1,children:n,onClose:r,headerColor:o,visible:a,childSlideIn:s,closeIconColor:l}=e;const u=(0,C.GV)(Go.nA),d=(0,C.GV)(Vo.Lt.open),p=(0,C.Wr)(r,a&&!u&&!d,"slide-in-wrapper"),h=(0,i.useRef)(null),[f,m]=(0,i.useState)(!1),g=function(e){return e&&"fillWhite"!==e?l||"mainText":"text"};return(0,c.jsx)(la,{appear:!0,mountOnEnter:!0,in:a,onEntering:()=>!f&&m(!0),timeout:ca,nodeRef:p,children:e=>(0,c.jsxs)(ua,{mounted:f,transitionState:e,column:!0,ref:p,childSlideIn:s,className:"slide-in-wrapper",left:t,children:[(0,c.jsxs)(da,{className:"p-3",justify:"between",align:"center",bgColor:o,children:[n.headerLogo?n.headerLogo:null,n.headerContent?n.headerContent:null,(0,c.jsx)(pa,{onClick:r,icon:pe.GRI,iconColor:g(o),bgColor:o||"fillWhite"})]}),(0,c.jsx)(ha,{column:!0,ref:h,children:n.content}),0!==n.footerContent&&(0,c.jsx)(fa,{children:n.footerContent})]})})},ga=e=>{let{onClick:t,cells:n,arrow:o,border:a=!1,faded:s=!1,bgColor:l,headers:u,tintOdd:d,hideCompactPadding:p}=e;return(0,c.jsxs)(Sa,{faded:s,className:p?"":"p-3",onClick:()=>null===t||void 0===t?void 0:t(),clickable:!!t,border:a,bgColor:l,tintOdd:d,children:[n.map(((e,t)=>e.hide?null:(0,c.jsxs)(i.Fragment,{children:[!e.hideCompactHeader&&(null===u||void 0===u?void 0:u[t])&&(0,c.jsx)(ka,{className:e.header?"f3-700":"",overflow:e.overflow,children:(0,c.jsx)(se.A,{small:!0,bold:!0,nowrap:!0,children:u[t]})}),(0,c.jsx)(ka,{className:e.header?"f3-500":"",overflow:e.overflow,$span:null!==u&&void 0!==u&&u[t]&&!e.hideCompactHeader?1:2,children:e.small?(0,c.jsx)(se.A,{small:!0,light:!0,nowrap:!0,children:e.el}):e.el})]},`cell_${t}`))),o&&(0,c.jsx)(Ea,{children:(0,c.jsx)(Ia,{icon:r.dmS})})]})},va=e=>{var t;let{compact:n,headers:o,footers:a,rows:s,cols:l=0,className:u,arrow:d,tintOddRows:p=!1,colLayout:h,rowLayout:f,useCellBorder:m,showCellReferencing:g,bgColor:v}=e;if(n)return(0,c.jsx)("div",{className:u||"",children:s.map(((e,t)=>(0,c.jsx)(ga,{onClick:e.onClick,cells:e.cells,arrow:d,border:e.border,faded:e.faded,headers:o,tintOdd:p,bgColor:v,hideCompactPadding:e.hideCompactPadding},e.key||`row_${t}`)))});const y=!!v;return(0,c.jsxs)(ya,{gap:y,className:u||"",cols:l,arrow:d,colLayout:h,rowLayout:f,children:[g&&Array.from({length:l}).map(((e,t)=>(0,c.jsx)(xa,{className:"f3-500 ",centered:!0,children:0===t?"":String.fromCharCode(t-1+65)},`cell_ref_${t}`))),null===o||void 0===o?void 0:o.map(((e,t)=>(0,c.jsxs)(i.Fragment,{children:[0===t&&g&&(0,c.jsx)(_a,{children:"1"}),(0,c.jsx)(xa,{className:"f3-500",children:e},t)]},`table_header_${t}`))),d&&(0,c.jsx)(xa,{}),s.map(((e,t)=>(0,c.jsxs)(wa,{onClick:()=>{var t;return null===(t=e.onClick)||void 0===t?void 0:t.call(e)},clickable:!!e.onClick,cols:e.fillWidth?l:void 0,faded:e.faded,tintOdd:p,bgColor:v,removeGap:y&&e.removeGap,children:[g&&(0,c.jsx)(_a,{children:t+(o?2:1)}),e.cells.map(((n,r)=>n.hide?null:(0,c.jsx)(Ca,{padding:n.padding,vPadding:v?10:8,start:n.start,span:n.span,justify:n.align,overflow:n.overflow,useBorder:m,children:n.el},`${e.key||t}_${r}`))),d&&(0,c.jsx)(Ca,{useBorder:m,children:(0,c.jsx)(Aa,{icon:r.dmS,bgColor:"transparent"})})]},`${e.key?e.key:t}`))),a&&(0,c.jsx)(wa,{className:"f3-500",cols:a.fillWidth?l:void 0,children:null===(t=a.cells)||void 0===t?void 0:t.map(((e,t)=>(0,c.jsx)(ba,{start:e.start,span:e.span,useBorder:m,children:e.el},t)))})]})},ya=a.Ay.div.withConfig({componentId:"sc-pbu746-0"})(["overflow-x:auto;display:grid;grid-template-columns:",";grid-template-rows:minmax(20px,auto) ",";"," ",""],(e=>{let{cols:t,arrow:n,colLayout:r}=e;return`${null!==r&&void 0!==r?r:`repeat(${t}, minmax(80px, auto))`}${n?" min-content":""}`}),(e=>{let{rowLayout:t}=e;return t||"auto"}),(e=>{let{expandedWidth:t}=e;return t&&"width: calc(100% + 20px); margin-left: -10px;"}),(e=>{let{gap:t}=e;return t&&"gap: 3px 0;"})),Aa=(0,a.Ay)(s.A).withConfig({componentId:"sc-pbu746-1"})([""]),ba=a.Ay.div.withConfig({componentId:"sc-pbu746-2"})(["font-size:15px;padding:",";"," "," "," "," ",""],(e=>{let{vPadding:t}=e;return`${t||8}px 6px`}),(e=>{let{padding:t}=e;return t&&`padding: ${t};`}),(e=>{let{start:t}=e;return t&&`grid-column-start: ${t};`}),(e=>{let{span:t}=e;return t&&`\n    grid-column-end: span ${t};\n  `}),(e=>{let{useBorder:t}=e;return t&&"border: 0.5px solid #D3D3D3;"}),(e=>{let{centered:t}=e;return t&&"text-align: center;"})),wa=a.Ay.div.withConfig({componentId:"sc-pbu746-3"})(["display:contents;cursor:",";","{"," "," transition:all 0.1s linear;"," ","}"," &:hover ","{",";}"],(e=>{let{clickable:t}=e;return t?"pointer":"normal"}),ba,(e=>{let{removeGap:t}=e;return t&&"\n      margin-top: -3px;\n      height: calc(100% + 3px);\n    "}),(e=>{let{faded:t}=e;return t?"opacity: 0.5;":""}),(e=>e.cols&&`grid-column: span ${e.cols};`),(e=>{let{bgColor:t,theme:n}=e;return t&&`background-color: ${n.colors[t]};`}),(e=>{let{tintOdd:t}=e;return t&&`\n      &:nth-child(2n) {\n        ${ba} {\n          background-color: rgba(00,00,00,0.025);\n        }\n      }\n    `}),ba,(e=>{let{clickable:t,tintOdd:n}=e;return t&&`background-color: ${n?"rgba(00,00,00,0.05)":"rgba(00,00,00,0.025)"};`})),xa=(0,a.Ay)(ba).withConfig({componentId:"sc-pbu746-4"})(["font-size:14px;align-self:baseline;padding:0px 6px;"]),Ca=(0,a.Ay)(ba).withConfig({componentId:"sc-pbu746-5"})(["text-overflow:ellipsis;display:flex;"," white-space:pre-line;height:100%;align-items:center;",""],(e=>{let{overflow:t}=e;return t?`overflow: ${t};`:"overflow: hidden;"}),(e=>{let{justify:t}=e;return t?`justify-content: ${t};`:void 0})),Sa=a.Ay.div.withConfig({componentId:"sc-pbu746-6"})([""," transition:background-color 0.1s linear;cursor:",";border-top:",";display:grid;grid-template-columns:min-content 1fr;gap:6px 1rem;position:relative;"," "," &:hover{",";}",""],(e=>{let{faded:t}=e;return t?"opacity: 0.5;":""}),(e=>{let{clickable:t}=e;return t?"pointer":"normal"}),(e=>{let{theme:t,border:n}=e;return n?`1px solid ${t.colors.borderLight};`:""}),(e=>{let{bgColor:t,theme:n}=e;return t&&`\n    background-color: ${n.colors[t]};\n    margin-bottom: 3px;\n  `}),(e=>{let{tintOdd:t}=e;return t&&"\n      &:nth-child(2n) {\n        background-color: rgba(00,00,00,0.025);\n      }\n    "}),(e=>{let{clickable:t,tintOdd:n}=e;return t&&`background-color: ${n?"rgba(00,00,00,0.05)":"rgba(00,00,00,0.025)"};`}),(e=>{let{selected:t}=e;return t?"background-color:rgba(00,00,00,0.06);":""})),ka=a.Ay.div.withConfig({componentId:"sc-pbu746-7"})(["font-size:14px;text-overflow:ellipsis;"," white-space:nowrap;",""],(e=>{let{overflow:t}=e;return t?`overflow: ${t};`:"overflow: hidden;"}),(e=>{let{$span:t}=e;return t&&`grid-column: span ${t};`})),Ea=a.Ay.div.withConfig({componentId:"sc-pbu746-8"})(["position:absolute;right:12px;top:8px;"]),Ia=(0,a.Ay)(J.g).withConfig({componentId:"sc-pbu746-9"})(["color:",";"],(e=>{let{theme:t}=e;return t.colors.textLight})),_a=a.Ay.div.withConfig({componentId:"sc-pbu746-10"})(["display:flex;align-items:center;justify-content:start;font-size:14px;"]),Pa=e=>{var t;let{active:n,options:r,onChange:i,fill:o,height:a,...s}=e;return(0,c.jsx)(Oa,{...s,children:null===r||void 0===r||null===(t=r.filter((e=>!e.hidden)))||void 0===t?void 0:t.map((e=>(0,c.jsx)(Ta,{className:n===e.id?"active":"",active:n===e.id,onClick:e.customOnClick?e.customOnClick:()=>i(e.id),height:a,fill:o,children:e.label},`tab_${e.id}`)))})},Oa=a.Ay.div.withConfig({componentId:"sc-1n9hqry-0"})(["display:inline-flex;position:relative;z-index:0;&::before{content:'';display:block;position:absolute;bottom:0;left:0;height:1px;width:100%;background-color:#636363;opacity:0.22;z-index:-1;}"]),Ta=a.Ay.button.withConfig({componentId:"sc-1n9hqry-1"})(["background-color:transparent;padding:0 12px;min-height:","px;border:none;border-bottom:1px solid transparent;"," "," ",""],(e=>{let{height:t=30}=e;return t}),(e=>{let{active:t}=e;return t&&"border-bottom: 1px solid #636363;"}),(e=>{let{active:t}=e;return t&&"font-weight: 500;"}),(e=>{let{fill:t}=e;return t&&"flex-grow: 1;"})),Da=a.Ay.h1.withConfig({componentId:"sc-1xhf7dp-0"})(["font-size:32px;font-variant:capitalize;margin-top:5rem;margin-bottom:3rem;"]);a.Ay.div.withConfig({componentId:"sc-1wq0gaw-0"})(["[data-target='contentSpaBlock']{max-width:","px;width:100%;padding:50px 15px 50px;margin:auto;}"],(e=>{let{theme:t}=e;return t.breakpoints.xl}));var ja=n(74383),Ba=n(89154),Na=n(4025),Ma=n(64325),Ra=n(77892),La=n(66586),Fa=n(76103);const za={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},i=t.elements[e];(0,Fa.sb)(i)&&(0,La.A)(i)&&(Object.assign(i.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?i.removeAttribute(e):i.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],i=t.attributes[e]||{},o=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});(0,Fa.sb)(r)&&(0,La.A)(r)&&(Object.assign(r.style,o),Object.keys(i).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]};var Qa=n(75836),Ua=n(2739),Va=n(33322),Ga=n(78566),qa=n(42499),Ha=[Na.A,Ma.A,Ra.A,za,Qa.A,Ua.A,Va.A,Ga.A,qa.A],Wa=(0,Ba.UD)({defaultModifiers:Ha}),Ya=n(24901),Ka=n.n(Ya),Ja=function(e){return e.reduce((function(e,t){var n=t[0],r=t[1];return e[n]=r,e}),{})},Xa="undefined"!==typeof window&&window.document&&window.document.createElement?i.useLayoutEffect:i.useEffect,Za=[];function $a(e){var t=i.useRef(e);return t.current=e,i.useCallback((function(){return t.current}),[])}var es=function(){};function ts(e,t){return void 0===e&&(e=0),void 0===t&&(t=0),function(){return{width:0,height:0,top:t,right:e,bottom:t,left:e,x:0,y:0,toJSON:function(){return null}}}}var ns=["styles","attributes"],rs={getBoundingClientRect:ts()},is={closeOnOutsideClick:!0,closeOnTriggerHidden:!1,defaultVisible:!1,delayHide:0,delayShow:0,followCursor:!1,interactive:!1,mutationObserverOptions:{attributes:!0,childList:!0,subtree:!0},offset:[0,6],trigger:"hover"};function os(e,t){var n,r,o;void 0===e&&(e={}),void 0===t&&(t={});var a=Object.keys(is).reduce((function(e,t){var n;return(0,Gt.A)({},e,((n={})[t]=void 0!==e[t]?e[t]:is[t],n))}),e),s=i.useMemo((function(){return[{name:"offset",options:{offset:a.offset}}]}),Array.isArray(a.offset)?a.offset:[]),l=(0,Gt.A)({},t,{placement:t.placement||a.placement,modifiers:t.modifiers||s}),c=i.useState(null),u=c[0],d=c[1],p=i.useState(null),h=p[0],f=p[1],m=function(e){var t=e.initial,n=e.value,r=e.onChange,o=void 0===r?es:r;if(void 0===t&&void 0===n)throw new TypeError('Either "value" or "initial" variable must be set. Now both are undefined');var a=i.useState(t),s=a[0],l=a[1],c=$a(s),u=i.useCallback((function(e){var t=c(),n="function"===typeof e?e(t):e;"function"===typeof n.persist&&n.persist(),l(n),"function"===typeof o&&o(n)}),[c,o]),d=void 0!==n;return[d?n:s,d?o:u]}({initial:a.defaultVisible,value:a.visible,onChange:a.onVisibleChange}),g=m[0],v=m[1],y=i.useRef();i.useEffect((function(){return function(){return clearTimeout(y.current)}}),[]);var A=function(e,t,n){void 0===n&&(n={});var r=i.useRef(null),o={onFirstUpdate:n.onFirstUpdate,placement:n.placement||"bottom",strategy:n.strategy||"absolute",modifiers:n.modifiers||Za},a=i.useState({styles:{popper:{position:o.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),s=a[0],l=a[1],c=i.useMemo((function(){return{name:"updateState",enabled:!0,phase:"write",fn:function(e){var t=e.state,n=Object.keys(t.elements);Cr.flushSync((function(){l({styles:Ja(n.map((function(e){return[e,t.styles[e]||{}]}))),attributes:Ja(n.map((function(e){return[e,t.attributes[e]]})))})}))},requires:["computeStyles"]}}),[]),u=i.useMemo((function(){var e={onFirstUpdate:o.onFirstUpdate,placement:o.placement,strategy:o.strategy,modifiers:[].concat(o.modifiers,[c,{name:"applyStyles",enabled:!1}])};return Ka()(r.current,e)?r.current||e:(r.current=e,e)}),[o.onFirstUpdate,o.placement,o.strategy,o.modifiers,c]),d=i.useRef();return Xa((function(){d.current&&d.current.setOptions(u)}),[u]),Xa((function(){if(null!=e&&null!=t){var r=(n.createPopper||Wa)(e,t,u);return d.current=r,function(){r.destroy(),d.current=null}}}),[e,t,n.createPopper]),{state:d.current?d.current.state:null,styles:s.styles,attributes:s.attributes,update:d.current?d.current.update:null,forceUpdate:d.current?d.current.forceUpdate:null}}(a.followCursor?rs:u,h,l),b=A.styles,w=A.attributes,x=(0,qo.A)(A,ns),C=x.update,S=$a({visible:g,triggerRef:u,tooltipRef:h,finalConfig:a}),k=i.useCallback((function(e){return Array.isArray(a.trigger)?a.trigger.includes(e):a.trigger===e}),Array.isArray(a.trigger)?a.trigger:[a.trigger]),E=i.useCallback((function(){clearTimeout(y.current),y.current=window.setTimeout((function(){return v(!1)}),a.delayHide)}),[a.delayHide,v]),I=i.useCallback((function(){clearTimeout(y.current),y.current=window.setTimeout((function(){return v(!0)}),a.delayShow)}),[a.delayShow,v]),_=i.useCallback((function(){S().visible?E():I()}),[S,E,I]);i.useEffect((function(){if(S().finalConfig.closeOnOutsideClick){var e=function(e){var t,n=S(),r=n.tooltipRef,i=n.triggerRef,o=(null==e.composedPath||null==(t=e.composedPath())?void 0:t[0])||e.target;o instanceof Node&&(null==r||null==i||r.contains(o)||i.contains(o)||E())};return document.addEventListener("mousedown",e),function(){return document.removeEventListener("mousedown",e)}}}),[S,E]),i.useEffect((function(){if(null!=u&&k("click"))return u.addEventListener("click",_),function(){return u.removeEventListener("click",_)}}),[u,k,_]),i.useEffect((function(){if(null!=u&&k("double-click"))return u.addEventListener("dblclick",_),function(){return u.removeEventListener("dblclick",_)}}),[u,k,_]),i.useEffect((function(){if(null!=u&&k("right-click")){var e=function(e){e.preventDefault(),_()};return u.addEventListener("contextmenu",e),function(){return u.removeEventListener("contextmenu",e)}}}),[u,k,_]),i.useEffect((function(){if(null!=u&&k("focus"))return u.addEventListener("focus",I),u.addEventListener("blur",E),function(){u.removeEventListener("focus",I),u.removeEventListener("blur",E)}}),[u,k,I,E]),i.useEffect((function(){if(null!=u&&k("hover"))return u.addEventListener("mouseenter",I),u.addEventListener("mouseleave",E),function(){u.removeEventListener("mouseenter",I),u.removeEventListener("mouseleave",E)}}),[u,k,I,E]),i.useEffect((function(){if(null!=h&&k("hover")&&S().finalConfig.interactive)return h.addEventListener("mouseenter",I),h.addEventListener("mouseleave",E),function(){h.removeEventListener("mouseenter",I),h.removeEventListener("mouseleave",E)}}),[h,k,I,E,S]);var P=null==x||null==(n=x.state)||null==(r=n.modifiersData)||null==(o=r.hide)?void 0:o.isReferenceHidden;i.useEffect((function(){a.closeOnTriggerHidden&&P&&E()}),[a.closeOnTriggerHidden,E,P]),i.useEffect((function(){if(a.followCursor&&null!=u)return u.addEventListener("mousemove",e),function(){return u.removeEventListener("mousemove",e)};function e(e){var t=e.clientX,n=e.clientY;rs.getBoundingClientRect=ts(t,n),null==C||C()}}),[a.followCursor,u,C]),i.useEffect((function(){if(null!=h&&null!=C&&null!=a.mutationObserverOptions){var e=new MutationObserver(C);return e.observe(h,a.mutationObserverOptions),function(){return e.disconnect()}}}),[a.mutationObserverOptions,h,C]);return(0,Gt.A)({getArrowProps:function(e){return void 0===e&&(e={}),(0,Gt.A)({},e,w.arrow,{style:(0,Gt.A)({},e.style,b.arrow),"data-popper-arrow":!0})},getTooltipProps:function(e){return void 0===e&&(e={}),(0,Gt.A)({},e,{style:(0,Gt.A)({},e.style,b.popper)},w.popper,{"data-popper-interactive":a.interactive})},setTooltipRef:f,setTriggerRef:d,tooltipRef:h,triggerRef:u,visible:g},x)}const as=e=>{let{children:t,placement:n,tooltip:r,disabled:i,offset:o}=e;const{getArrowProps:a,getTooltipProps:s,setTooltipRef:l,setTriggerRef:u,visible:d}=os({placement:n,offset:o,mutationObserverOptions:null});return i?(0,c.jsx)(c.Fragment,{children:t}):(0,c.jsxs)(ss,{children:[(0,c.jsx)("span",{ref:u,children:t}),d&&(0,c.jsxs)(ls,{ref:l,...s({className:"tooltip-container f3-400"}),children:[(0,c.jsx)(cs,{...a({className:"tooltip-arrow"})}),r]})]})},ss=a.Ay.span.withConfig({componentId:"sc-1gfyern-0"})([".tooltip-container{--tooltipBackground:",";--tooltipBorder:",";--tooltipColor:",";background-color:var(--tooltipBackground);border-radius:3px;border:1px solid var(--tooltipBorder);box-shadow:0 2px 4px rgba(0,0,0,0.18);color:var(--tooltipColor);display:flex;flex-direction:column;padding:0.4rem;transition:opacity 0.3s;z-index:9999;}.tooltip-container[data-popper-interactive='false']{pointer-events:none;}.tooltip-arrow{height:1rem;position:absolute;width:1rem;pointer-events:none;}.tooltip-arrow&::before{border-style:solid;content:'';display:block;height:0;margin:auto;width:0;}.tooltip-arrow:::after{border-style:solid;content:'';display:block;height:0;margin:auto;position:absolute;width:0;}.tooltip-container[data-popper-placement*='bottom'] .tooltip-arrow{left:0;margin-top:-0.3rem;top:0;}.tooltip-container[data-popper-placement*='bottom'] .tooltip-arrow::before{border-color:transparent transparent var(--tooltipBorder) transparent;border-width:0 0.5rem 0.4rem 0.5rem;position:absolute;top:-1px;}.tooltip-container[data-popper-placement*='bottom'] .tooltip-arrow::after{border-color:transparent transparent var(--tooltipBackground) transparent;border-width:0 0.5rem 0.4rem 0.5rem;}.tooltip-container[data-popper-placement*='top'] .tooltip-arrow{bottom:0;left:0;margin-bottom:-1rem;}.tooltip-container[data-popper-placement*='top'] .tooltip-arrow::before{border-color:var(--tooltipBorder) transparent transparent transparent;border-width:0.4rem 0.5rem 0 0.5rem;position:absolute;top:1px;}.tooltip-container[data-popper-placement*='top'] .tooltip-arrow::after{border-color:var(--tooltipBackground) transparent transparent transparent;border-width:0.4rem 0.5rem 0 0.5rem;}.tooltip-container[data-popper-placement*='right'] .tooltip-arrow{left:0;margin-left:-0.7rem;}.tooltip-container[data-popper-placement*='right'] .tooltip-arrow::before{border-color:transparent var(--tooltipBorder) transparent transparent;border-width:0.5rem 0.4rem 0.5rem 0;}.tooltip-container[data-popper-placement*='right'] .tooltip-arrow::after{border-color:transparent var(--tooltipBackground) transparent transparent;border-width:0.5rem 0.4rem 0.5rem 0;left:6px;top:0;}.tooltip-container[data-popper-placement*='left'] .tooltip-arrow{margin-right:-0.7rem;right:0;}.tooltip-container[data-popper-placement*='left'] .tooltip-arrow::before{border-color:transparent transparent transparent var(--tooltipBorder);border-width:0.5rem 0 0.5rem 0.4rem;}.tooltip-container[data-popper-placement*='left'] .tooltip-arrow::after{border-color:transparent transparent transparent var(--tooltipBackground);border-width:0.5rem 0 0.5rem 0.4rem;left:3px;top:0;}"],(e=>{let{theme:t}=e;return t.colors.fillSecondary}),(e=>{let{theme:t}=e;return t.colors.fillSecondary}),(e=>{let{theme:t}=e;return t.colors.fillSecondaryText})),ls=a.Ay.div.withConfig({componentId:"sc-1gfyern-1"})(["color:",";padding:6px;border-radius:3px;font-size:11px;"],(e=>{let{theme:t}=e;return t.colors.fillSecondaryText})),cs=a.Ay.div.withConfig({componentId:"sc-1gfyern-2"})([""]),us=e=>{let{children:t}=e;const{t:n}=(0,E.B)(),[o,a]=(0,i.useState)(!0),[s,l]=(0,i.useState)(void 0),u=()=>a((e=>!e)),d=(0,i.useRef)(null);if((0,i.useEffect)((()=>{var e;const t=(null===d||void 0===d||null===(e=d.current)||void 0===e?void 0:e.getBoundingClientRect().height)||0;l(t>170)}),[d]),!t)return null;if(!1===s)return t;{const e=s?ds:"div";return(0,c.jsxs)(e,{ref:d,children:[void 0!==s&&o?t.slice(0,400):t,(0,c.jsx)(ps,{children:(0,c.jsx)(fs,{showFade:o,children:(0,c.jsx)(hs,{onClick:u,square:!0,iconRight:!0,flipArrow:o,icon:r.GF6,bgColor:"fillMedium",children:n("general.show",{context:o?"more":"less"})})})})]})}},ds=a.Ay.div.withConfig({componentId:"sc-fj5wti-0"})(["position:relative;margin-bottom:50px;"]),ps=a.Ay.div.withConfig({componentId:"sc-fj5wti-1"})(["border:none;background:none;position:absolute;bottom:-3.6em;width:100%;"]),hs=(0,a.Ay)(s.A).withConfig({componentId:"sc-fj5wti-2"})(["position:absolute;bottom:1em;left:-1em;svg{transform:",";transition:transform 0.05s linear;}"],(e=>{let{flipArrow:t}=e;return t?"rotate(180deg); ":""})),fs=a.Ay.span.withConfig({componentId:"sc-fj5wti-3"})(["",""],(e=>{let{theme:t,showFade:n}=e;return n&&`\n    &::before {\n      position: absolute;\n      content: '';\n      bottom: 3.5em;\n      right: 0;\n      left: 0;\n      background: linear-gradient(to top, ${t.colors.fillMedium} 18%, ${(0,v.No)(.3,t.colors.fillMedium)} 90%);\n      width: 100%;\n      height: 5em;\n    `}));var ms=n(31664);const gs=e=>{let{valid:t}=e;return(0,c.jsx)(vs,{$valid:t,color:"",icon:t===ms.H.Invalid?r.s0Q:r.SGM})},vs=(0,a.Ay)(J.g).withConfig({componentId:"sc-14olu8z-0"})(["font-size:20px;color:",";"],(e=>{let{theme:t,$valid:n}=e;switch(n){case ms.H.Valid:return t.colors.success;case ms.H.Invalid:return t.colors.error;case ms.H.Unknown:default:return t.colors.textDisabled}}))},23017:(e,t,n)=>{"use strict";n.d(t,{jL:()=>r.A,GV:()=>i.A,cb:()=>l,Ty:()=>i.T,d7:()=>u.A,RZ:()=>p,lK:()=>h,Wr:()=>f,Mq:()=>v,RV:()=>y,lW:()=>s});var r=n(70930),i=n(7691),o=n(9950),a=n(45798);function s(){const[e,t]=(0,o.useState)({width:window.innerWidth,height:window.innerHeight});return(0,o.useEffect)((()=>{function e(){t({width:window.innerWidth,height:window.innerHeight})}return window.addEventListener("resize",e),e(),()=>window.removeEventListener("resize",e)}),[]),e}function l(e){const t=s(),[n,r]=(0,o.useState)(c(window.innerWidth,e));return(0,o.useEffect)((()=>{const t=c(window.innerWidth,e);JSON.stringify(t)!==JSON.stringify(n)&&r(t)}),[e,t,n]),n}function c(e,t){const n=function(e,t){const n=a.A.breakpoints;return t&&e>n[t]?n[t]:e}(e,t),r=a.A.breakpoints;return{min:!0,xs:n>=r.xs,sm:n>=r.sm,md:n>=r.md,lg:n>=r.lg,xl:n>=r.xl,xsBelow:n<r.xs,smBelow:n<r.sm,mdBelow:n<r.md,lgBelow:n<r.lg,xlBelow:n<r.xl,width:e}}var u=n(63236);var d=n(77018);function p(e,t){const[n,r]=(0,o.useState)(null),[i,a]=(0,o.useState)();return(0,o.useEffect)((()=>{e&&e!==i&&(a(e),r(null),d.A.getChildren(e).then((e=>{r(e.data?e.data:[])})))}),[e,i,t,n]),[null!==n&&void 0!==n?n:[],null===n]}const h=e=>{const t=(0,o.useRef)(!0),[n,r]=(0,o.useState)(!1),[i,a]=(0,o.useState)(!1),[s,l]=(0,o.useState)({width:0,height:0});return(0,o.useEffect)((()=>{const n=window,{Image:i}=n;if(!e||!i)return;const o=new i;o.onload=e=>{if(t.current&&function(e){return e&&void 0!==e.width&&void 0!==e.height}(e.target)){const{width:t,height:n}=e.target;r(!0),l({width:t,height:n})}},o.onerror=()=>{t.current&&(r(!1),a(!0))},o.src=e}),[e]),(0,o.useEffect)((()=>()=>{t.current=!1}),[]),{loaded:n,failed:i,dimensions:s}},f=function(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0;const i=(0,o.useRef)(null);return(0,o.useEffect)((()=>{if(!t)return;const o=i.current,a=t=>{"Escape"!==t.key||r||e()},s=t=>{function r(e,t){return[...document.querySelectorAll(t)].some((t=>t!==e&&t.contains(e)))}null!==o&&void 0!==o&&o.contains(t.target)||r(t.target,"[data-exclude-click]")||n&&r(t.target,`.${n}`)||e()};return document.addEventListener("keydown",a,!0),document.addEventListener("click",s,!0),()=>{document.removeEventListener("keydown",a,!0),document.removeEventListener("click",s,!0)}}),[e,t,n,r]),i};var m=n(51673);let g=!1;const v=(e,t,n,r)=>{const i=(0,o.useRef)(null),a=(0,o.useRef)("");(0,o.useLayoutEffect)((()=>{const t=()=>{const t=(e=>{try{var t,n;return{x:null!==(t=e.scrollX)&&void 0!==t?t:e.scrollLeft,y:null!==(n=e.scrollY)&&void 0!==n?n:e.scrollTop}}catch(r){return m.A.error("getScrollPosition err:",r instanceof Error?r.message:"unknown error"),{x:0,y:0}}})(null!==r&&void 0!==r?r:window),n=a.current.y>t.y?"up":"down";e({position:t,direction:n}),i.current=null,a.current=t},o=()=>{n&&null==i.current?i.current=setTimeout(t,n):n||t()};try{(null!==r&&void 0!==r?r:window).addEventListener("scroll",o),g=!0}catch(s){m.A.error("useScrollPosition err:",s instanceof Error?s.message:"unknown error")}return()=>{g&&(null!==r&&void 0!==r?r:window).removeEventListener("scroll",o)}}),[t,n,e,r])},y=()=>{(0,o.useEffect)((()=>{const e=()=>{sessionStorage.setItem("scrollPos",window.scrollY.toString())};window.addEventListener("scroll",e),"scrollRestoration"in window.history&&(window.history.scrollRestoration="manual");const t=sessionStorage.getItem("scrollPos");return t&&window.scrollTo(0,parseInt(t)),()=>{window.removeEventListener("scroll",e),"scrollRestoration"in window.history&&(window.history.scrollRestoration="auto")}}),[])}},70930:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(73878);const i=()=>(0,r.wA)()},7691:(e,t,n)=>{"use strict";n.d(t,{A:()=>o,T:()=>i});const r=n(73878).d4,i=e=>{const{offerCart:t,cart:n,microshopCart:i}=r((e=>e));return"offerCart"===e?t:"microshopCart"===e?i:n},o=r},63236:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(9950),i=n(64267),o=n.n(i);function a(e,t){return(0,r.useMemo)((()=>o()((t=>e(t)),t)),[t,e])}},84238:(e,t,n)=>{"use strict";n.d(t,{A:()=>y});var r=n(74635),i=n(6955);const o=JSON.parse('{"action":{"actions":"Handlinger","add":"Tilf\xf8j","apply":"Anvend","back":"Tilbage","cancel":"Annuller","change":"\xc6ndre","change_one":"","change_other":"","clear":"Ryd","configure":"Konfigurer","continue":"Forts\xe6t","continueWithoutSaving":"Forts\xe6t uden at gemme","copy":"Kopier","create":"Skab","download":"Download","duplicate":"Dupliker","edit":"Redigere","export":"Eksporter","fullScreen":"","message":"","ok":"OK","open":"\xc5bn","pending":"Afventer","published":"","rearrangeBoxes":"","refresh":"Opdater","remove":"Fjern","rename":"Omd\xf8b","replace":"Erstat","save":"Gem","saveWarningText":"","saveWarningTitle":"","select":"V\xe6lg","selectOne":"V\xe6lg en","showBoxes":"","sort":"Sort","submitChanges":"","submitQuestionComment":"","undo":"Fortryd"},"angle":{"":"","_back":"Bag","_closeup1":"N\xe6rbillede 1","_closeup2":"N\xe6rbillede 2","_closeup3":"N\xe6rbillede 3","_front":"Foran","_left":"Venstre","_other":"Andet","_right":"H\xf8jre"},"archived":{"archive":"","archived":"","articleArchived":"","collectionArchived":"","notArchived":"","remove":""},"article":{"articleMonitoring":"","configureAndAdd":"","deleteWarning":"Er du sikker p\xe5, at du vil fjerne artiklen {{name}}?","description":"","filters":"","filters_archived":"","filters_category":"","filters_products":"","filters_status":"","filters_stock":"","new":"","noHitsContent":"","noHitsHeader":"","notDefined":"","orderMonitoringMinNum":"","show":"","submitApproval":""},"assortment":{"category_one":"Kategori","category_other":"Kategorier"},"bookmark":{"noPages":"Ingen sider tilf\xf8jet endnu","pages":"Sider","pagesAndTools":"Sider & V\xe6rkt\xf8j","saveAsFavorite":"Gem som favorit","tools":"V\xe6rkt\xf8j"},"brightness":{"dark":"","light":""},"calendar":{"agenda":"","allDay":"","date":"","day":"","event":"","events":"","importantDates":"","month":"","next":"","noEventsInRange":"","previous":"","previousEvents":"","previousYear":"","showAsCalendar":"","showAsList":"","time":"","today":"","tomorrow":"","week":"","workWeek":"","year":"","yesterday":""},"campaign":{"code":"Kampagnekode","error":"Ugyldig kode"},"cart":{"addVariation":"","add_one":"Tilf\xf8j til indk\xf8bskurven","add_other":"Tilf\xf8j produkter til indk\xf8bskurven","addressSelected_one":"","addressSelected_other":"","agreementInfo":"Vi deler aldrig din e-mail, adresse eller andre personlige oplysninger med andre.","allowSplit":"Tillad dellevering?","cart":"Indk\xf8bskurv","checkout":"Placer ordre","checkout_request":"Placer ordreanmodning","chooseQuantity":"V\xe6lg antal","configureCheckout":"","continueShopping":"Forts\xe6t med at handle","createOffer":"Opret tilbud","created":"Indk\xf8bskurv oprettet","depositToStock":"Tilf\xf8j til lager","depositToStockMinText":"minimum m\xe6ngde {{minStock}}","discount":"Rabat","doPayment":"Udf\xf8relse af betaling","empty":"Din indk\xf8bskurv er tom.","emptyDo":"Tom indk\xf8bskurv","emptyFavourite":"Hold sty p\xe5 dine favorit produkter her ved at klikke p\xe5 ","errorCouldNotCalculateRow":"Der opstod et problem under bekr\xe6ftelsen af dine unikke priser. Viser sidst kendte produktpris, hvis tilg\xe6ngelig.","errorCouldNotCalculateTotal":"Der var et problem med at bekr\xe6fte dine unikke priser og det samlede ordrebel\xf8b. Du kan stadig afgive en ordre, og du vil finde dine priser p\xe5 din ordrebekr\xe6ftelse.","errorInvalidProducts":"","errorInvalidSku":"Artiklen findes ikke.","errorSelectReseller":"V\xe6lg venligst forhandler","favourite":"Dine favoritter","minAmount":"","minOrderQty":"Minimum ordrem\xe6ngde","minOrderQtyInfo":"Hvis du vil \xe6ndre til et lavere antal, skal du f\xf8rst tilf\xf8je mere til en anden st\xf8rrelse.","new":"Ny indk\xf8bskurv","noFavourite":"Ingen favoritter endnu","orderAndDelivery":"","payment":"Betaling","paymentCancelled":"","paymentError":"","paymentrefused":"","qtyAdjustedByArticleQuantity":"Bem\xe6rk! Antallet af monteringer overstiger artiklens lagerbeholdning, og indk\xf8bskurven vil blive justeret.","quantity":"Antal","quickAdd":"Hurtig bestilling","removeVariation":"Fjern variant","saveToArticles":"Gem som artikel","saveToCart":"Gem i indk\xf8bskurv","specification":"Prisspecifikation","startShopping":"Begynd at shoppe eller brug den hurtig bestilling nedenfor og tilf\xf8j produkter.","swishButton":"","swishInfo":"For at gennemf\xf8re din bestilling skal du scanne QR-koden i swish-appen.","toCart":"Til indk\xf8bskurv","toastDismissNoOption":"Nej tak","toastDismissText":"Vil du deaktivere meddelelser, n\xe5r indk\xf8bskurven \xe6ndres?","toastDismissYesOption":"Ja, deaktiver","totalSkus":"","validationErrorHigher":"","validationErrorLower":"","warnNoStockAfterTransaction":"","warningCancelPayment":"Betaling annulleret. Pr\xf8v igen.","warningOrderDisabled":"Ordreplaceringstilladelse mangler. Kontakt venligst kundeservice.","warningPriceOverride":"","warningPriceOverrideEnabled":""},"cartFee":{"admin":"Admin. omk.","freight":"Forsendelsesgebyr","insurance":"Forsikringsomkostninger","invoice":"Fakturagebyr","postage":"Porto","shipping":"Leveringsomk."},"collection":{"collection_one":"Samling","collection_other":"Samlinger","deleteWarning":"Er du sikker p\xe5, at du vil slette samlingen {{navn}}?","description":"Her er dine samlinger af for\xe6dlede produkter.","noContent":"Begynd at for\xe6dle produkter!","noHitsContent":"Ingen samlinger kunne findes med aktuelle s\xf8gekriterier","noSkuWarning":"F\xf8lgende varer mangler kvantitet og vil blive fjernet: ","refinementsRemovedWarning":"F\xf8lgende for\xe6dlingsmuligheder er kun placeret p\xe5 denne vare og vil ogs\xe5 blive fjernet: ","show":"Vis samlinger","upgrade_product":"Forfine produkt","variations_one":"Variation","variations_other":"Variationer"},"color":{"color_one":"Farve","color_other":"Farver","errorNotEnough":"V\xe6lg mindst \xe9n farve.","errorTooMany":"For mange farver til den valgte finish. Fjern/sammens\xe6t farver eller v\xe6lg en finish-type, der underst\xf8tter flere farver.","interpretedByTool":"fortolket af v\xe6rkt\xf8jet","interpretedFromFile":"fra din fil","interpretedTitle":"Valgte PMS-farver","toolInterpretedColors":"V\xe6rkt\xf8jet har valgt f\xf8lgende farver:","warnInterpreted":"Bem\xe6rk! Billedets farver er valgt af v\xe6rkt\xf8jet og kan se anderledes ud p\xe5 forskellige sk\xe6rme. Kontroller, at farvekoderne stemmer n\xf8je overens.","warningAutoBackingColorApplied":"","warningAutoBackingColorNone":""},"colors":{"amber":"Rav","blue":"Bl\xe5","blueGrey":"Bl\xe5-gr\xe5","brown":"Brun","cyan":"Cyan","deepOrange":"Dyb orange","deepPurple":"M\xf8rke lilla","green":"Gr\xf8n","grey":"Gr\xe5","indigo":"Indigo","lightBlue":"Lysebl\xe5","lightGreen":"Lysegr\xf8n","lime":"Lime","orange":"Orange","pink":"Lyser\xf8d","purple":"Lilla","red":"R\xd8D","teal":"Bl\xe5gr\xf8n","yellow":"Gul"},"confirmation":{"remove":""},"contact":{"address":"Adresse","city":"By","company":"Firma","companyNumber":"CVR nr","companyText":"Virksomhedsbeskrivelse","contactName":"","contactUs":"Kontakt os","country":"Land","customerContact":"Kundeservice kontaktoplysninger","customerContactUs":"","customerSupport":"","email":"E-mail","firstName":"Fornavn","lastName":"Efternavn","name":"Navn","phone":"Telefonnummer","postalCode":"Postnummer"},"error":{"cellRowCol":"R\xe6kke {{row}}, kolonne ({{col}}):","code":"","code_InvalidFormat":"Ugyldigt format.","code_NoValue":"Ingen v\xe6rdi angivet.","code_ToLong":"Input for lang.","error":"Fejl!","general":"Noget gik galt. Pr\xf8v venligst igen, eller kontakt support."},"excel":{"activeConfiguration":"Aktiv konfiguration","browserExport":"Filen bliver genereret. Dette kan tage flere minutter afh\xe6ngigt af, hvor mange data der eksporteres.","columnRemovalDescription":"Nogle kolonner vil blive fjernet ved skift til et lavere eksportniveau. Vil du forts\xe6tte?","columnRemovalNo":"Nej, behold kolonner","columnRemovalTitle":"Skift eksportniveau","columnRemovalYes":"Ja, fjern kolonner","columns":"Kolonner","customerPriceDate":"","download":"Download Excel-fil","downloadCancelled":"Download annulleret.","emailExport":"Filen bliver genereret og sendes til din e-mail, n\xe5r den er klar. Dette kan tage flere minutter afh\xe6ngigt af, hvor mange data der eksporteres.","excel":"Excel","exportLevel":"Eksportniveau","failedLoadPreset":"Fejl ved indl\xe6sning af forudindstilling","failedLoadPreview":"Fejl ved indl\xe6sning af forh\xe5ndsvisningsdata","generate":"Send Excel-fil til e-mail","languages":"Sprog","name":"Navn","noConfigurations":"Der er ingen gemte konfigurationer","noLanguage":"Dit standardsprog vil blive brugt","savedConfiguration_one":"Gemt konfiguration","savedConfiguration_other":"Gemte konfigurationer","tabs":"Grupp\xe9r i Excel-faner efter kolonne","toggleConfiguration":"Klik p\xe5 en konfiguration for at sl\xe5 den til og fra","units":"Enheder"},"export":{"added":"Tilf\xf8jet til eksport","chosen_product":"Valgt produkt til eksport","chosen_products":"Valgte produkter til eksport","fileExportCompleted":"","fileExportFailed":"","images":"Billeder","price":"Pris","product":"Produkt","removed":"Fjernet fra eksport","search_in":"S\xf8g i","sku":"Artikel / SKU","thresholdWarning":"","variation":"Variation / Farve","various_search":"S\xf8g i flere kategorier"},"file":{"allowedType":"Tilladte filtyper","attachments":"Vedh\xe6ftede filer","dragAndDropOrBrowse":"Tr\xe6k og slip eller <u>gennemse</u>","draggingSingleText":"Slip en fil her for at uploade","draggingText":"Frigiv filer her for at uploade","file_other":"Filer","filename":"Filnavn","none":"Ingen filer er blevet uploadet endnu. Tilf\xf8j nogle filer!","processFileError":"Kunne ikke behandle fil.","processFileErrorFileSize":"Filen kan ikke uploades; den er for stor. Maksimal filst\xf8rrelse er {{value}}MB.","processingFileUpload":"Behandler filupload...","supported":".jpg, .jpeg, .png, .gif, .pdf and .svg. Max. 5MB."},"filter":{"filter":"Filter","filter_accessories":"Tilbeh\xf8r","filter_activity":"Aktivitet","filter_brand":"Brand","filter_care":"Plejeinstruktioner","filter_category":"Kategori","filter_certification":"Certificering","filter_color":"Farve","filter_designer":"Designer","filter_feature":"Funktion","filter_female":"Kvinde","filter_fit":"Pasform","filter_gender":"K\xf8n","filter_male":"Mand","filter_material":"Materiale","filter_neckline":"Halsudsk\xe6ring","filter_other":"Filtre","filter_outlet":"Outlet","filter_range":"St\xf8rrelser","filter_retail":"","filter_season":"Retail s\xe6son","filter_sleeve":"\xe6rmetype","filter_theme":"Tema","filters":"Filtre"},"general":{"add":"Gem","agreeTo":"Godkendelse af","all":"alle","auto":"Automatisk","basis":"","cantChange":"Kan ikke \xe6ndres","changed":"","close":"","collapseAll":"Kollapse alle","columns":"Kolonner","comment":"Kommentar","commentSet":"S\xe6t kommentar","compact":"Kompakt","created":"Oprettet","custom":"","description":"Beskrivelse","dontShowAgain":"Vis ikke igen","email":"","endDate":"Slutdato","enterPassword":"Indtast adgangskoden for at forts\xe6tte.","expand":"Udvide","expandAll":"Udvide alle","expires":"","favourites":"","font":"","full":"","hide":"Skjul","hideAllPages":"Skjul alle sider","language":"Srog","limitedToCharacters":"Begr\xe6nset til {{characters}} tegn.","limitedToInteger":"Begr\xe6nset til tal.","limitedToLetters":"Begr\xe6nset til bogstaver.","limitedToLettersUpper":"Begr\xe6nset til store bogstaver.","log":"","logotype":"Logotype","maintenance":"Vigtig information! P\xe5 grund af planlagt vedligeholdelse vil vores forretningssystem v\xe6re utilg\xe6ngeligt fra cirka kl. 8:00 den 13. april. Vi beklager eventuelle gener og informerer dig om, at hjemmesiden ikke vil fungere normalt i denne periode. Vi forventer at vende tilbage til normal drift inden for f\xe5 timer og v\xe6rds\xe6tter din t\xe5lmodighed.","mandatory":"P\xe5kr\xe6vet","minimize":"Minimer","name":"Navn","new":"Ny","no":"Nej","none":"Ingen","notifications":"Underretninger","password":"Adgangskode","readMore":"L\xe6s mere","safety":"","saveAndClose":"","selected":"Valgt","settings":"","show":"Vis","showAllPages":"Vis alle sider","show_all":"Vis alle","show_less":"Vis mindre","show_more":"Vis mere","skipToContent":"","standard":"Standard","startDate":"Startdato","status":"Status","subTitle":"Undertekst","summary":"Oversigt","tag_one":"M\xe6rkat","tag_other":"M\xe6rkater","terms":"Vilk\xe5r","text":"Tekst","text_other":"Tekster","thankYou":"Tak","title":"Titel","to":"Til","tools":"v\xe6rkt\xf8jer","total":"Total","type":"","updated":"","url":"","view":"Vis","weOffer":"Vi tilbyder","yes":"Ja"},"image":{"angle_one":"","angle_other":"","environment":"Milj\xf8","image_one":"Billede","image_other":"Billeder"},"invoice":{"address":"Fakturaadresse","credit":"Kredit ordre","invoice_one":"Faktura","invoice_other":"Fakturaer"},"logoAppTools":{"asset":"Tilf\xf8j nyt materiale"},"microshop":{"CustomerNumberSecurityInfo":"Sikkerhedsindstilling skal aktiveres.","accentColor":"Accent farve","activate_units":"","addAddon":"Tilf\xf8j muligheder","addCategory":"Tilf\xf8j kategori","addMasterDeliveryAddress":"","addNewUsers":"Tilf\xf8j nye brugere","addUnit":"Tilf\xf8j enhed","addons":"Valgfri","administrator":"Administrator","agreement":"Aftale","allProducts":"Alle produkter","alternativeUnitCertifier":"Alternativ certificerende","approval":"","assortment":"Udvalg","assortmentAvailableVariationsAdded":"Alle mulige variationer er tilf\xf8jet til sortimentet","backgroundImage":"Baggrundsbillede","bodyFont":"Br\xf8dtekst skrifttype","budget":"","budget_approval":"","cancelMasterOrderWarning":"Er du sikker p\xe5, at du vil annullere hovedordren","cantDeleteWarning":"Indeholder afventende ordrer og/eller hovedordrer og kan derfor ikke slettes","categoryExists":"En kategori med det navn findes allerede, v\xe6lg venligst et andet navn","changeOwner":"Skift ejer","changeTo":"Skift til","column":"Kolonne","confirmDelete":"Bekr\xe6ft sletning","confirmMasterOrder":"Bekr\xe6ft hovedordren","content":"Indhold","copyShop":"Kopier indstillinger fra eksisterende butik","create":"Opret ny mikroshop","createMasterOrder":"Opret masterordre fra udvalgte ordrer","createUser":"Opret ny bruger","currency":"Valuta","currentOwner":"Nuv\xe6rende ejer","custom":"tilpasset","customerInputNone":"Ingen","customerInputNumber":"Nummer","customerInputText":"Tekst","customerInputType":"Kunde input","databaseError":"Databasefejl","deleteProduct":"Fjern produktet","deleteSelectedOrder":"Fjern markerede ordrer","deleteUnit":"Slet enhed","deleteUnitWarning":"Sletning af din konto vil permanent fjerne alle dine data, herunder alle brugere, dine indstillinger og alt det indhold, du har oprettet. Denne handling kan ikke fortrydes.","deleteWarning":"Er du sikker p\xe5, at du vil fjerne mikroshoppen {{name}}?","departmentUnit":"afdeling/enhed","descOptionCombine":"Kombineret","descOptionDefault":"Standard","direct_orders":"","disable_units":"","displayOptions":"","emailWarning":"Ugyldig e-mail. Kontroller for sl\xe5fejl, stavefejl, og at e-mailen findes p\xe5 den valgte mikrobiks.","emptyAssortments":"Intet sortiment at v\xe6lge fra","emptyProducts":"Ingen produkter fundet","error":"Der er opst\xe5et en fejl!","excelTemplate":"Excel-skabelon","excelTemplateDescription":"Du kan downloade det vedh\xe6ftede eksempel og bruge det som udgangspunkt for din egen fil.","files":"Filer","filesUploaded":"Fil(er) uploadet og gemt","footColor":"Fodfarve","footer":"Sidefod","freeShipping":"Gratis fragt over bel\xf8b","general":"Generel","handleProductsSettings":"Administrer priser, tilf\xf8jelser og kategorier","headerFont":"Overskrift skrifttype","import":"Import","individual":"Individuel (SEK)","input":"Indtastning","invalidUrl":"URL er allerede taget eller indeholder et punktum, v\xe6lg en anden URL","legalNotice":"Juridisk meddelelse","lightnessColor":"Lysstyrke","logotype":"Logo","look":"Tema","mainColor":"Hovedfarve","main_orders":"","many_size_products":"","masterOrder":"","microshop":"Butik","microshop_other":"Butikker","missingEmail":"Email mangler","missingMicroshop":"Microshop mangler","missingShopUnitName":"ShopUnitName mangler","missingUser":"Brugere mangler","new_unit":"Ny Enhed","noFilters":"Ingen filtre at v\xe6lge imellem","noHitsContent":"Ingen butikker kunne findes med aktuelle s\xf8gekriterier","noMicroshopFound":"Ingen mikroshop kunne findes","noOrders":"Ingen ordrer","noOrdersExplanation":"Din butik indeholder ingen {{orderText}}.","noUserDescription":"Opret nye brugere her, eller importer!","noUsers":"Ingen brugere endnu","notificationOptionDaily":"Daglig oversigt","notificationOptionInstant":"Straks","notificationOptionNone":"Ingen","notificationsTitle":"Kundeordremeddelelser","one_size_product":"","orderDeleteWarning":"Er du sikker p\xe5, at du vil slette denne ordre?","orderPrices":"Ordrer og priser","order_flow":"","ordered":"Bestilt","orderrNotificationExplanation":"E-mailbesked sendes til {{email}}.","ordersDeleteWarning":"Er du sikker p\xe5, at du vil slette de valgte ordrer?","pendingOrders":"Afventende ordrer","points":"point","priceModel":"Prismodel","priceOptionFixed":"Fast pris","priceOptionNone":"Ingen pris","priceOptionRetail":"Vejl. udsalgspris","privacyPolicy":"Fortrolighedspolitik","productAddImages":"Tilf\xf8j billeder","productName":"Produktnavn","productNumber":"Produktnummer","productQuantity":"Produktm\xe6ngde","readyForImport":"Filen er klar til import. Forts\xe6t ved at klikke p\xe5 \'Import\'.","refinementsAndAddons":"Forbedringer & valgfri","requiresattestation":"Kr\xe6ver attestation","retailModifier":"Detailprisforhold","retailPrice":"Butikspris","retailPriceExplanation":"Produktets pris er beregnet ud fra vejl. udsalgspris ex. moms og ganget med det angivne forhold.","role":"Rolle","row":"R\xe6kke","saved":"Dine \xe6ndringer er blevet gemt","securityOptionNone":"Ingen sikkerhed","securityOptionRegister":"Registrering","securityOptionSecregAndRegister":"Registrering og generel adgangskode","securityOptionSecret":"Generel adgangskode","security_protection":"","settings":"Indstillinger","standard":"standard","standardPrice":"Prisberegningsstandard","totalCustomer":"Samlede omkostninger, kunde","unit":"Enhed","unitBudgetDepartment":"Afdeling (SEK)","unitCertifier":"Certificerende","unitDeleteWarning":"Er du sikker p\xe5, at du vil slette den valgte enhed?","unitName":"Navn","unitWithChildrenDeleteWarning":"Du er ved at slette enheden \'{{unitName}}\' og alle underliggende enheder. Denne handling kan ikke fortrydes. Vil du forts\xe6tte med at fjerne enheden?","units":"Enheder","units_other":"","uploadDone":"Upload er fuldf\xf8rt!","uploadedFile":"Uploadet fil","userInformation":"Information","value":"V\xe6rdi","variationExists":"Produkt(er) eksisterer allerede","vatExcluded":"","vatIncluded":"","vatIsIncluded":"Moms er inkluderet i priser","vatNotIncluded":"Moms er ekskluderet fra priser","visitShop":"Bes\xf8g butikken","welcomeMessage":"Velkomstbesked","zeroContentAddons":"Der er ingen tilf\xf8jelser for shoppen, opret tilf\xf8jelser under fanen \\"{{- tab}}\\".","zeroContentText":"S\xf8g efter produkter eller v\xe6lg mellem kategorier og favoritter for at tilf\xf8je produkter til dit sortiment.","zeroContentTitle":"Ingen udvalgte produkter endnu."},"microshopUploadErrorCodes":{"databaseError":"","invalidEmailFormat":"Ugyldigt emailformat","invalidIsAttestantValue":"Ugyldig isAttestant-v\xe6rdi","invalidManageBudgetValue":"Ugyldig manageBudget-v\xe6rdi","invalidRequiresAttestationValue":"Ugyldig requiresAttestation-v\xe6rdi","invalidRoleValue":"Ugyldig rolle-v\xe6rdi","missingMicroshop":"Mangler mikroshop","missingOrIncorrectHeaders":"Manglende eller forkerte overskrifter","missingShopUnits":"Mangler butiks-enheder","missingUsers":"Mangler brugere","noDataInFile":"Ingen data i filen","noFileSelected":"Ingen fil valgt","noRowsInFile":"Ingen r\xe6kker i filen"},"navigation":{"allIn":"Vis alle i","history":"Historik","onThisPage":"P\xe5 denne side","page":"Side","promoted":"Udvalgte","start":"Startside","toTop":"Til top"},"news":{"new_one":"Nyhed","new_other":"Nyheder","showAll":"Vis alle nyheder"},"newsletter":{"subscribed":"Tilmeldt!"},"offer":{"additionalCost":"Ekstra omkostninger","additionalCosts":"Ekstra omkostninger","confirmOffer":"Bekr\xe6ft tilbud","daysBeforeReminder":"Dage f\xf8r p\xe5mindelse","discount":"Rabat","discountInfo":"Alle produkter tilf\xf8jes en rabat i procent","editName":"Omd\xf8b","expires":"Udl\xf8bsdato","margin":"Margin","marginInfo":"Alle produkter tilf\xf8jes en margin i procent.","noProductInfo":"Start ved at tilf\xf8je produkter over.","offerPage":"Tilbudsside","offerPrice":"Tilbudspris","offer_one":"Tilbud","offer_other":"Tilbud","otherTerms":"Vilk\xe5r fra andre citater","publicOffer":"","remove":"Fjern citat","removeConfirmation":"Er du sikker p\xe5, at du vil fjerne tilbuddet","removePublicUrlAlert":"Vil du slette dit offentlige citat?","removePublicUrlAlertConfirm":"Ja, fjern","removePublicUrlAlertContent":"Vil du fjerne dit offentlige citat fra citatet {{name}}","shareOffer":"Del tilbud","visitors":"Bes\xf8gende","warnExternalCustomerMissing":""},"order":{"addNewAddress":"Tilf\xf8j ny adresse","adjustment":"Justering","allOrdersLast30Days":"","createDelivery_one":"Opret levering","createDelivery_other":"Opret leveringer","createOrder":"","createRepeatOrder":"","createdDeliveries":"Oprettede leveringer","creditType":"","customerDetails":"","deleteWarning":"Er du sikker p\xe5, at du vil fjerne ordre {{name}}?","deliveryAsc":"Stigende leveringsdato","deliveryDate":"","deliveryDesc":"Faldende leveringsdato","deliveryNote":"Fragtbrev","deliveryNoteNumber":"Fragtbrevsnummer","deliveryType":"Leveringstype","downloadDeliveryNote":"Download fragtbrev","downloadExcel":"Download Excel","entire":"","entirePartnerOrders":"F.eks. ordrenummer, leveringsnavn, e-mail etc.","handleAddresses":"H\xe5ndter adresser","handleAddressesAndDeliveries":"H\xe5ndter adresser og leveringer","history":"Ordrehistorik","infoMessage_boxDesign_partnerOverview":"","lastOrder":"Sidste ordre","masterOrder_other":"Hovedordrer","noHitsContent":"","noHitsHeader":"","noOrdersLast30Days":"","notes":"","orderNumber":"","order_one":"Ordre","order_other":"Ordrer","packageLabel":"","partner_one":"","paymentType":"","placed":"Tak for din ordre !","placedBy":"Placeret af","reference":"Ordrereference","refinementType":"","removeAddressText":"Vil du fjerne adressen og dens forsendelser?","removeAddressTitle":"Fjern adresse og forsendelser?","removeAddressYesOption":"Fjern adresse","repeat":"Tilbagevendende","sendOrderDocument":"","setPublicOrderAsCompletedDescription":"Dette klarmarkerer ordren og yderligere forsendelser kan ikke l\xe6ngere tilf\xf8jes. En meddelelse vil blive sendt til kunden.","setPublicOrderAsCompletedTitle":"Er du sikker p\xe5, at du vil f\xe6rdigstille?","setPublicOrderAsCompletedYesOption":"Ja, klarmark\xe9r ordren","showEditArticles":"Vis/rediger artikler ({{count}})","skuEditorDisabledTitle":"En ordre kan kun indeholde forsendelser, hvis den er sat i produktion. I denne tilstand kan kun leveringsadresserne \xe6ndres.","status":"","statusCreated":"Oprettet","statusFailed":"Mislykket","statusPlaced":"Modtaget","system":"","table":"Ordretabel","thankYou_message_customerApproval":"Vi har modtaget dit svar og vender tilbage inden for 24 timer. Hvis du har sp\xf8rgsm\xe5l, s\xe5 send os venligst en besked ovenfor!","thankYou_message_rejectToCustomer":"Vi har modtaget din opdatering og vender tilbage inden for 24 timer. Hvis du har sp\xf8rgsm\xe5l, s\xe5 send os venligst en besked ovenfor!","track":"Spor","type":"Ordretype","viewOrders":"Se og administrer ordrer.","wrongPasswordTryAgain":"Den adgangskode, du indtastede, er forkert. Pr\xf8v venligst igen."},"orderstatuses":{"approved":"Godkendt","awaitingCustomer":"Afventer kunde","customerChanges":"Kunde\xe6ndringer","customerRejected":"","deliveryChanged":"Leverings\xe6ndring","expressOrder":"Hasteordre","inProduction":"I produktion","pinned":"Fastgjort","rejected":"Afvist","unhandled":"Ubehandlet"},"orientation":{"landscape":"Landskab","orientation":"Retning","portrait":"St\xe5ende"},"part":{"all":"","part":"","partQty":"","partSizes":""},"pdf":{"aboutUsPage":"Om os","careCertPage":"Plejevejledning / Certificeringer","careInstructions":"Plejeanvisning","certifications":"Certifikater","content":"Indhold","coverPage":"Forside","description":"Beskrivelse","download":"Download PDF","fabrics":"Materiale","fullPage":"Hel side","offerItemPrice":"Tilbudspris","offertPage":"Tilbud","pdf":"","pdfLoading":"Vent venligst mens vi udarbejder dit dokument","preview":"Forh\xe5ndsvisning","productPage":"Produkter","quantity":"Antal","recommendedPrice":"Vejl. udsalgspris","refinementPage":"Forbedringer","sizeGuides":"St\xf8rrelsesguide","tableOfContent":"Indholdsfortegnelse","terms":"Vilk\xe5r","termsTitle":"Vilk\xe5r","titlePage":"Titelside","warnCareWithRefinement":"N\xe5r dit t\xf8j er personligt tilpasset, g\xe6lder de originale vaskeanvisninger ikke l\xe6ngere!","weight":"V\xe6gt"},"pdfImages":{"environmentImages":"Milj\xf8billeder","errorRequestSent":"Der er opst\xe5et en teknisk fejl, og vi kan ikke forberede billederne til download. Kontakt kundeservice.","failedLoadPreview":"Mislykkedes at indl\xe6se produkter","highResolution":"4000px (H\xf8j opl\xf8sning)","imageAltText":"","imageResolution":"Billedopl\xf8sning","loadPreview":"Indl\xe6ser produkter...","noProducts":"Ingen produkter","preferredFileType":"","preview":"1000px (Forh\xe5ndsvisning)","productImages":"Produktbilleder","sendEmail":"Send e-mail","showAll":"Vis alle","standardResolution":"","sucessRequestSent":"Vi forbereder billederne til en zip-fil og sender dem til din mail, det kan tage flere minutter","thumbnail":"200px (Miniaturebillede)","webpInfo":""},"placement":{"":"","_Button1":"","_Button2":"","_Button3":"","_Button4":"","_Button5":"","_ChestPocketLeft":"","_ChestPocketRight":"","_Front":"","_Generic":"","_InnerSide":"","_Left":"","_OuterSide":"","_Right":"","_SidePocketLeft":"","_SidePocketRight":"","_SleeveLeft":"","_SleeveRight":""},"pmsColorPicker":{"inactivateColor":"Deaktiver farve","searchPlaceHolder":"PMS-farve","searchZeroContent":"Ingen PMS-farve matcher s\xf8geforesp\xf8rgslen"},"price":{"amount":"Bel\xf8b","amountIncVat":"Bel\xf8b (eks. fragt, inkl. moms)","applyCustomer":"Anvend kundepris","customer":"Kundepris","customerPrice":"","latestPrice":"","noPrice":"Pris ikke tilg\xe6ngelig","orderpricelist":"Bestille prisliste","price":"Pris","priceSt":"Pris / stk","priceSuggestion":"Prisforslag","pricelists":"Prislister","prices":"Priser","purchasePrice":"","regular_short":"Norm.pris","retail":"Vejledende udsalgspris","retailAndCustomer":"Vejledende udsalgspris og Kundepris","rrp_long":"Vejledende udsalgspris","rrp_short":"Vejl. udsalgspris","selectedArticle":"","selectedRefinement":"","showNoPrice":"","subTotal":"","tiered":"Prisinterval","totalCart":"","totalValue":"","total_exVat":"Total ekskl. moms","total_incVat":"Total inkl. moms","vat":"Moms","vatConsumer":"Moms"},"product":{"_capacity":"Kapacitet","_closure":"","_colorComment":"Farve kommentar","_country":"","_designer":"Designer","_diameter":"Diameter","_fabrics":"Materiale","_gender":"K\xf8n","_height":"H\xf8jde","_hoodDetails":"","_length":"L\xe6ngde","_limitedEdition":"Limited edition","_measure":"M\xe5l","_neckline":"","_packaging":"Pakning","_pockets":"Lommer","_presentationDate":"Lanceringsdato","_printCode":"Tryk kode","_sleeve":"","_techniqueComment":"Teknisk kommentar","_volume":"Volume","_weight":"V\xe6gt","_width":"Bredde","add":"Tilf\xf8j produkt","addRemove":"Tilf\xf8j/fjern artikel","approveArticles":"Godkend artikler","articleNumber":"Artikelnummer","article_one":"Artikel","article_other":"Artikler","care":"Plejeanvisninger","certificates":"Certifikater","colors":"farver","composition":"Produktinformation","document":"Dokument","downloadImage":"","downloadImages":"Download billeder","features":"Funktioner","info":"Produktinformation","missingSkus":"Manglende artikler","name":"Navn","noProducts":"Ingen produkter","orderDifference":"Bestillingsforskel","pdfDownload":"Download PDF","product_one":"Produkt","product_other":"Produkter","products":"Produkter","related":"Relaterede produkter","relatedGender":"Se ogs\xe5","related_short":"Relaterede","replacement":"Alternativ","search":"S\xf8g produkt","searchPlaceholder":"F. eks. artikelnummer, navn, reference mm","searchPlaceholderProduct":"For eks. produktnummer, navn, reference mm","show":"Vis produkter","showLessColors":"Vis f\xe6rre farver","transfer":"Transfer","unwantedSkus":"Ukendte artikler"},"productAddImagesAfter":"","productTag":{"new":"Nyhed","newVariation":"","outlet":"Outlet","outletVariation":"","sustainable":"B\xe6redygtig","upcoming":"Kommende","upcomingVariation":""},"production":{"refinement_one":"Forbedring"},"proof":{"proof":"korrektur","proof_one":"Skitse","proof_other":"Skitser","service":""},"refinement":{"add":"Tilf\xf8j raffinement","addon":"Tilf\xf8jelse","addonVariations":"variationer","articleAddedToDraftInfo":"Artiklen er gemt som kladde. Dine artikler kan findes i kontrolpanelet til venstre, under \\"Artikler\\".","articleDraftSuggestionInfo":"En artikel vil blive gemt og opbevaret som kladde i \\"Artikler\\"-sektionen, tilg\xe6ngelig til senere bestilling. Prisen er kun vejledende.","autoAdjustedPlacements":"Bem\xe6rk, at andre placeringer er blevet justeret automatisk.","awaitingDelivery":"Venter p\xe5 produkter","awaitingDeliveryAction":"Venter p\xe5 produkter","choose":"V\xe6lg for\xe6dlingstype","colorBacking":"","colorChange":"Farve\xe6ndring","colorChangeColor":"Farve skifter farve","commentDescription":"Andre anmodninger","completed":"Produkter behandlet","completedAction":"Produkter behandlet","create":"Skab raffinement","createArticleDraft":"Opret artikel som kladde","createTextElement":"Opret tekstelement","customerPublicOrderConfirmSubmit":"Tak! Kundeservice vil nu gennemg\xe5 din ordre og en besked vil blive sendt, n\xe5r ordren er godkendt.","customerPublicOrderInstructions":"L\xe6s beskeden fra kundeservice i den tilh\xf8rende log. Klik nedenfor for at \xe5bne konfiguratoren, \xe6ndre og gemme. N\xe5r du er f\xe6rdig. Klik p\xe5 send og vedh\xe6ft gerne en kommentar. Hvis du har yderligere sp\xf8rgsm\xe5l til ordren eller mangler instruktioner, s\xe5 send blot en kommentar. Kundeservice vil hurtigt gennemg\xe5 dine \xe6ndringer og du vil blive underrettet, n\xe5r ordren er godkendt.","customerPublicOrderPriceWarning":"Bem\xe6rk! Varerne i ordren er \xe6ndret og en ny ordrebekr\xe6ftelse vil blive sendt ud.","deliverNowAndOnwards":"Nu och l\xf6pande","deliverWhenInStock":"N\xe4r allt i lager","delivered":"Produkter afsendt","deliveredAction":"Produkter afsendt","downloadPreviewImage":"Download preview billede","errorNoAvailableRefinements":"Dette produkt kan i \xf8jeblikket ikke behandles.","expected":"Forventet levering","fixedTextPlaceholder":"Din tekst her","inProgress":"I produktion","invalidTransferAmount":"Ongeldig aantal voor overboekingsopdracht! Voer a.u.b. een correct aantal in met even stappen van {{stepQuantity}}. Pas uw invoer aan en probeer het opnieuw.","latest":"Seneste","message":"meddelelse","messages":"Beskeder","minQuantityWarning":"Bem\xe6rk! Minimumsafgiften er for {{minQuantity}} {{articles}} og det f\xf8rer derfor til en h\xf8jere enhedspris for det valgte antal.","mountings":"","nameAndTags":"Navn og etiketter","new":"Ny forbedring","noSplitPlaceInfo":"","objectSizeChangedWarning":"Objektets st\xf8rrelse er \xe6ndret, kontroller venligst, at st\xf8rrelsen ovenfor er korrekt.","otherInformation":"Diverse","pin":"Fastg\xf8r","placementDescription":"Her angiver du, hvordan din forbedring skal anvendes. Hvis du \xf8nsker flere overflader og steder, skal du oprette yderligere forbedringer.","placement_one":"Placering","placement_other":"Placeringer","positionAutoAdjusted":"Billedet er automatisk justeret til en overflade. Brug piletasterne til at justere, eller klik p\xe5 magneten for at deaktivere.","proofFinalAcceptText":"Jeg accepterer min originale/skitse som den endelige designgodkendelse. Der sendes ingen beviser til mig for dette tilbud.","readyForInvoice":"","refinement_one":"Forbedring","refinement_other":"Forbedringer","reject":"Afvis","rejected":"Afvist","rejectedAction":"Afvist","review_proof":"\xc5bn og gennemg\xe5 dit korrektur nedenfor","send":"Send","sendForReviewApprove":"","sender":"Afsender","sourceInfo":"","sourceInfo_Analysis":"Systemet har fortolket farven.","sourceInfo_Custom":"Kunden har selv valgt farve.","sourceInfo_File":"Filen har defineret farven.","startCost":"Startomk.","uploadFile":"Upload fil","userProof":"Brugerbevis","variableTextPlaceholder":"Din eksempeltekst her","warnRepeatChanged":"Dette er en gentagen forbedring. Hvis du gemmer \xe6ndringer, vil det ikke l\xe6ngere v\xe6re en gentaget ordre, og priserne kan \xe6ndre sig."},"refinementsSelector":{"errorIncompatible":"","errorNoCompatible":"","title":"Vil du tilf\xf8je en allerede oprettet forfining?"},"reseller":{"change":"\xc6ndre forhandler","errorNotFound":"Vi kan ikke finde en forhandler forbundet med din adresse. Venligst sikker dig at adressen er korrekt eller s\xf8g forhandler nedenfor","externalSupplier":"","openHours":"\xc5bningstider","reseller_one":"Forhandler","reseller_other":"Forhandlere","search":"Find forhandler","searchAgreement":"Hvis du har en aftale, s\xf8g p\xe5 dit kundenummer","showAllResellers":"Vis alle forhandlere","suggestionFrom":"Vi har foresl\xe5et forhandler baseret p\xe5","suggestionInfo":"Venligst udfyld din adresse for at finde en forhandler t\xe6t p\xe5 dig"},"salesBoard":{"salesBoard":"","section":"","section_budget":"","section_compare":"","section_leaderboard":"","section_topOrders":"","section_topProducts":"","section_totalValue":"","section_visits":""},"search":{"empty":"Ingen resultater","search":"S\xf8g"},"seller":{"customer":"Kunde","customerShops":"Kunde Mikroshops","customers":"","erpNumber":"","exportedFiles":"","loggedInAs":"Logget ind som","noCustomers":"","openAs":"\xc5ben som","orderMonitoring":"F\xf8lg ordre","orderMonitoringEmpty":"","orderMonitoringInfo":"","orderMonitoringNotificationInfo":"","orderMonitoringRemoved":"Customer {{sub.customerName}}({{sub.customerCode}}) will no longer be monitored.","partnerOverview":"Partner oversigt","selectCustomer":"V\xe6lg kunde","seller":"S\xe6lger","signOutCustomer":"Log kunden af","warnSellingDisabled":""},"shipment":{"address":"Leveringsadresse","addressesAndShipmentsTitle":"Adresser og forsendelser","date":"Leveringsdato","deliveryOptional_other":"Yderligere tjenester","deliveryQuantity":"Leveringsm\xe6ngde","deliveryType":"Leveringsm\xe5de","delivery_one":"Forsendelse","delivery_other":"Forsendelser","dispatchNote":"Forsendelsesnotifikation","emailInfo":"Den angivne e-mail adresse bruges til at sende forsendelsesinformation og/eller en simplificeret ordrebekr\xe6ftelse (uden priser)","info":"Forsendelsesinformation","manualDelivery":"Manuel levering","new":"Ny adresse","packageLabel":"Pakkelabel","qtyArticles":"","qtyShipments":"{{count}} forsendelser","receiver":"","requestDate":"Anmod om leveringsdato","requestDateChange":"","requestedDate":"\xd8nsket leveringsdato","sendTo_one":"Sende til \xe9n adresse","sendTo_other":"Sende til flere adresser","shipment":"Forsendelser","simplifiedOrderConfirm":"Simple ordrebekr\xe6ftelse","tracking":"Spor din forsendelse","trackingCarrier":"","trackingNumber":"","trackingService":"","trackingUrl":"","transportType":"Transportm\xe5de","warningLongDelivery":"Bem\xe6rk leveringsdato","yourOrderNumber":"Dit ordrenummer","yourReference":"Din reference"},"size":{"allowedMinMax":"Tilladt st\xf8rrelse: {{min}}-{{max}}","large":"Stor","size":"St\xf8rrelse","sizeguide":"St\xf8rrelsesguide","small":"Lille"},"sort":{"relevance":"Relevans"},"status":{"accepted":"","approved":"","approvedAction":"","cancelled":"","completed":"","confirmed":"","confirmedAction":"","draft":"","inproduction":"","inprogress":"","invoiced":"","ok":"","onhold":"","processing":"","rejected":"","save_error":"Der opstod en fejl under gemningen","saved":"Gemt","unconfirmed":"","unconfirmedAction":"","waiting":""},"stock":{"box":"Colli","enterQuantity":"Indtast m\xe6ngde","estRefill":"Forventet hjemkomst","global":"Global","local":"Lokal","min":"","mounting":"","operation":"","operation_add":"Add to stock","operation_order":"Order direct","operation_withdraw":"Withdraw from stock","pcs":"Stk.","region":"Region","rest":"","stock":"Lager","stockAfterTransaction":""},"stockLevel":{"in":"P\xe5 lager","low":"Lav lagerbeh.","no":"","out":"Ikke p\xe5 lager"},"template":{"copy":"Kopier fra skabelon","copyDescription":"Kopier konfiguration fra gemt skabelon. Dette vil erstatte din nuv\xe6rende konfiguration.","save":"Gem som skabelon","saveDescription":"Gem den nuv\xe6rende konfiguration som en skabelon til fremtidig brug i andre dokumenter.","template_one":"Skabelon","warnRemove":"Er du sikker p\xe5, at du vil fjerne skabelonen?","warnTemplateExist":"Der er allerede en skabelon gemt med dette navn. Dette vil overskrive den gemte skabelon med den nuv\xe6rende konfiguration."},"tool":{"noToolsOrServices":"","toolsAndServices":""},"unsavedWarning":{"no":"Nej, slet \xe6ndringer","text":"\xc6ndringer der ikke er gemt slettes. \xd8nsker du at gemme?","title":"Gem \xe6ndringer?","yes":"Ja, gem"},"user":{"anonymousUsers":"Anonyme brugere","customerErrorLong":"Kundeoplysninger for brugeren kunne ikke indl\xe6ses. Pr\xf8v igen.","customerErrorShort":"Brugeren mangler gyldig kundeinformation","customerNumber":"Kundenummer","customerNumberError":"Indtast det fulde kontonummer","customerWarningLong":"Kunden tilknyttet bruger eksisterer ikke, eller oplysninger om kunden mangler helt fra brugeren.","customerWarningShort":"Ingen gyldig kunde knyttet til bruger","notLoggedIn":"Ingen bruger logget ind","proceedAsAnonymous":"Forts\xe6t som anonym","refreshFailedText":"Af sikkerhedsm\xe6ssige \xe5rsager bliver du logget ud efter en periode med inaktivitet.\\nTryk p\xe5 \\"Log ind igen\\" for at forts\xe6tte med at handle.","refreshFailedTitle":"Du er blevet logget ud.","register":"Tilmeld","registeredUsers":"Registrerede brugere","salesContact":"Salgskontakt","signIn":"Log ind","signInAgain":"Log ind igen","signInToOrder":"Log ind for at bestille","signOut":"Log af","user_other":"Brugere","viewAccount":"Vis konto"},"validation":{"allRequiredFields":"Udfyld venligst alle obligatoriske felter","email":"Ugyldig e-mail adresse","fullNameMaxCharLimit":"Fornavn + Efternavn m\xe5 ikke overstige {{maxLength}} tegn","maxCharacterLength":"Indtastning er l\xe6ngere end den tilladte maksimale l\xe6ngde p\xe5 {{maxLength}} tegn","maxLength_one":"Max {{max}} character","maxLength_other":"Max {{max}} characters","minCharacterLength":"Indtastning er kortere end den tilladte minimale l\xe6ngde p\xe5 {{minLength}} tegn","mustStartWith":"V\xe6rdien skal starte med et af f\xf8lgende:","noEmailFound":"","phoneInvalid":"Ugyldigt telefonnummer","phoneLength":"Telefonnummer skal v\xe6re 8 eller 16 cifre lang","required":"P\xe5kr\xe6vet","requiredAccept":"Venligst godkend"},"variableText":{"inputDataUpdated":"","refinementRowTitle":"","refinementRowTitle_plural":"","validateErrorDesc":"Den uploadede fil indeholder fejlbeh\xe6ftede r\xe6kker. Ret disse og pr\xf8v igen.","validateErrorTitle":"{{count}} valideringsfejl","validateErrorTitle_plural":"","validateSuccessDesc":"","validateSuccessTitle":""},"warning":{"attention":"Bem\xe6rk!","changesPartlyDisabled":"","note":"","refinementWarnings":"","showWarningTexts":""}}'),a=JSON.parse('{"action":{"actions":"Aktionen","add":"Hinzuf\xfcgen","apply":"Anwenden","back":"Zur\xfcck","cancel":"Abbrechen","change":"\xc4ndern","change_one":"","change_other":"","clear":"L\xf6schen","configure":"Konfigurieren","continue":"Fortsetzen","continueWithoutSaving":"Ohne speichern fortsetzen","copy":"Duplizieren","create":"Erstellen","download":"Herunterladen","duplicate":"Duplizieren","edit":"Bearbeiten","export":"Export","fullScreen":"Vollbild","message":"Nachricht","ok":"Ok","open":"\xd6ffnen","pending":"Ausstehend","published":"Publiziert","rearrangeBoxes":"","refresh":"Aktualisierung","remove":"Entfernen","rename":"Umbenennen","replace":"Ersetzen","save":"Speichern","saveWarningText":"M\xf6chtest du die \xc4nderungen speichern?","saveWarningTitle":"\xc4nderungen speichern?","select":"Ausw\xe4hlen","selectOne":"W\xe4hlen Sie eins","showBoxes":"","sort":"Sortieren","submitChanges":"","submitQuestionComment":"","undo":"Zur\xfccksetzen"},"angle":{"":"","_back":"Hinten","_closeup1":"Nahaufnahme 1","_closeup2":"Nahaufnahme 2","_closeup3":"Nahaufnahme 3","_front":"Vorne","_left":"Links","_other":"Andere","_right":"Rechts"},"archived":{"archive":"Archiv","archived":"Archiviert","articleArchived":"Artikel Archiviert","collectionArchived":"","notArchived":"nicht Archiviert","remove":"Entfernen"},"article":{"articleMonitoring":"","configureAndAdd":"Konfigurieren und hinzuf\xfcgen","deleteWarning":"Bist du sicher, dass du den Artikel {{name}} l\xf6schen m\xf6chtest?","description":"Beschreibung","filters":"Filtern","filters_archived":"Filtern_Archiviert","filters_category":"Filter Stichw\xf6rter","filters_products":"Filtern_Produkte","filters_status":"Filtern_Status","filters_stock":"Filtern_Bestand","new":"Neuer Artikel","noHitsContent":"","noHitsHeader":"","notDefined":"","orderMonitoringMinNum":"","show":"Zeigen","submitApproval":""},"assortment":{"category_one":"Kategorie","category_other":"Kategorien"},"bookmark":{"noPages":"Noch keine Seiten hinzugef\xfcgt","pages":"Seiten","pagesAndTools":"Seiten & Tools","saveAsFavorite":"ApeichernAlsFavorit","tools":"Tools"},"brightness":{"dark":"Dunkel","light":"Hell"},"calendar":{"agenda":"Agenda","allDay":"Ganzer Tag","date":"Daten","day":"Tag","event":"Veranstaltung","events":"Veranstaltungen","importantDates":"Wichtige Daten","month":"Monat ","next":"N\xe4chste","noEventsInRange":"keine Veranstaltungen im Zeitraum","previous":"Vorherige","previousEvents":"Vorherige Veranstaltungen","previousYear":"Vorheriges Jahr","showAsCalendar":"Als Kalender anzeigen","showAsList":"Als Liste anzeigen","time":"Uhrzeit","today":"Heute","tomorrow":"Morgen","week":"Woche","workWeek":"Arbeitswoche","year":"Jahr","yesterday":"gestern"},"campaign":{"code":"Aktionscode","error":"Ung\xfcltiger Aktionscode"},"cart":{"addVariation":"Variation hinzuf\xfcgen","add_one":"In den Warenkorb legen","add_other":"Produkte in den Warenkorb legen","addressSelected_one":"adressSelected_one_DE","addressSelected_other":"adressSelected_other_DE","agreementInfo":"Wir werden Deine E-Mail Adresse oder sonstige pers\xf6nliche Daten nicht an Dritte weiterleiten.","allowSplit":"Auftrag teilliefern?","cart":"Warenkorb","checkout":"Bestellung absenden","checkout_request":"Bestellanfrage stellen","chooseQuantity":"Menge w\xe4hlen","configureCheckout":"","continueShopping":"Weiter einkaufen","createOffer":"Angebot erstellen","created":"Warenkorb erstellt","depositToStock":"","depositToStockMinText":"","discount":"Rabatt","doPayment":"Zahlung zu autorisieren","empty":"Dein Warenkorb ist leer","emptyDo":"Warenkorb l\xf6schen","emptyFavourite":"Verfolge deine Lieblingsprodukte - klicke auf das","errorCouldNotCalculateRow":"Es gab ein Problem bei der Best\xe4tigung Ihrer individuellen Preise. Es wird der letzte bekannte Produktpreis angezeigt, sofern verf\xfcgbar.","errorCouldNotCalculateTotal":"Es gab ein Problem bei der Best\xe4tigung Ihrer individuellen Preise und des Gesamtbestellbetrags. Sie k\xf6nnen dennoch eine Bestellung aufgeben und finden Ihre Preise auf der Bestellbest\xe4tigung.","errorInvalidProducts":"Einige Artikel k\xf6nnen nicht in einer Lieferung zusammengefasst werden. Diese Produkte bleiben im Warenkorb, werden aber nicht in die aktuelle Bestellung mit aufgenommen.","errorInvalidSku":"Falsche SKU: Artikel existiert nicht.","errorSelectReseller":"H\xe4ndler ausw\xe4hlen","favourite":"Favoriten","minAmount":"Mindestmenge","minOrderQty":"Mindestbestellmenge","minOrderQtyInfo":"Wenn Sie auf eine kleinere Menge umsteigen m\xf6chten, m\xfcssen Sie zun\xe4chst mehr in einer anderen Gr\xf6\xdfe hinzuf\xfcgen.","new":"Neuer Warenkorb","noFavourite":"Keine Favoriten vorhanden.","orderAndDelivery":"Bestellung und Lieferung","payment":"Bezahlung","paymentCancelled":"Die Bezahlung wurde storniert","paymentError":"Bezahlung fehlgeschlagen","paymentrefused":"Zahlung wurde abgelehnt","qtyAdjustedByArticleQuantity":"Achtung! Die Anzahl der Montagen \xfcberschreitet den Lagerbestand des Artikels und der Warenkorb wird angepasst.","quantity":"Menge","quickAdd":"Direkt bestellen","removeVariation":"Variation entfernen","saveToArticles":"","saveToCart":"In den Warenkorb legen","specification":"Preisanzeige","startShopping":"Beginne mit deinem Einkauf oder nutze die Schnelleingabe unten \xfcber Direkt bestellen","swishButton":"","swishInfo":"","toCart":"Zum Warenkorb","toastDismissNoOption":"Nein Danke","toastDismissText":"M\xf6chtest du die Benachrichtigungen bei \xc4nderungen des Warenkorbs deaktivieren?","toastDismissYesOption":"Ja, deaktivieren","totalSkus":"Total","validationErrorHigher":"Zu viele Produkte hinzugef\xfcgt","validationErrorLower":"Zu wenig Produkte hinzugef\xfcgt","warnNoStockAfterTransaction":"","warningCancelPayment":"Zahlung abgebrochen, bitte versuchen Sie es erneut","warningOrderDisabled":"Die Bestellungsplatzierungsberechtigung fehlt. Bitte kontaktieren Sie den Kundenservice.","warningPriceOverride":"","warningPriceOverrideEnabled":""},"cartFee":{"admin":"Bearbeitungsgeb\xfchr","freight":"Frachtkosten","insurance":"Versicherungsgeb\xfchren","invoice":"Rechnungsgeb\xfchren","postage":"Portogeb\xfchren","shipping":"Frachtkosten"},"collection":{"collection_one":"Kollektion","collection_other":"Eigene Kollektionen","deleteWarning":"Sind Sie sicher, dass Sie die Sammlung {{name}} l\xf6schen m\xf6chten?","description":"Ihre eigenen Kollektionen sind hier gespeichert.","noContent":"Erstellen Sie Ihre erste Kollektion!","noHitsContent":"Mit den aktuellen Suchkriterien konnten keine Kollektionen gefunden werden","noSkuWarning":"Die folgenden Artikel haben keine Menge und werden entfernt: ","refinementsRemovedWarning":"Die folgenden Veredelungen sind nur auf diesen Artikel angewendet und werden ebenfalls entfernt: ","show":"Sammlungen anzeigen","upgrade_product":"Produkt veredeln","variations_one":"Variation","variations_other":"Variationen"},"color":{"color_one":"Farbe","color_other":"Farben","errorNotEnough":"W\xe4hlen Sie mindestens eine Farbe.","errorTooMany":"Zu viele Farben f\xfcr die gew\xe4hlte Veredelung. Entfernen/verbinden Sie Farben oder w\xe4hlen Sie einen Veredelungstyp, der mehr Farben unterst\xfctzt.","interpretedByTool":"interpretiert vom Werkzeug","interpretedFromFile":"aus Ihrer Datei","interpretedTitle":"Ausgew\xe4hlte PMS-Farben","toolInterpretedColors":"Das Werkzeug hat die folgenden Farben ausgew\xe4hlt:","warnInterpreted":"Hinweis! Die Farben des Bildes werden vom Tool ausgew\xe4hlt und k\xf6nnen auf verschiedenen Bildschirmen unterschiedlich aussehen. Stellen Sie sicher, dass die Farbcodes genau \xfcbereinstimmen.","warningAutoBackingColorApplied":"Auf einem nicht wei\xdfen Kleidungsst\xfcck platziert. Hintergrundfarbe angewendet.","warningAutoBackingColorNone":"Keine Hintergrundfarbe."},"colors":{"amber":"Amber","blue":"Blau","blueGrey":"BlauGrau","brown":"Braun","cyan":"Cyan","deepOrange":"dunkelorange","deepPurple":"Dunkelviolett","green":"Gr\xfcn","grey":"Grau","indigo":"Indigo","lightBlue":"Hellblau","lightGreen":"Hellgr\xfcnjaune ","lime":"Zitronengelb","orange":"Orange","pink":"Rosa","purple":"Lila","red":"Rot","teal":"Blau/Gr\xfcn","yellow":"Gelb"},"confirmation":{"remove":"Entfernen"},"contact":{"address":"Adresse","city":"Ort","company":"Firma","companyNumber":"Nummer der Firma","companyText":"Firmenbeschreibung","contactName":"Kontakt Name","contactUs":"","country":"Land","customerContact":"Kundendienst Kontakt","customerContactUs":"","customerSupport":"","email":"E-mail","firstName":"Vorname","lastName":"Nachname","name":"Name","phone":"Telefonnummer","postalCode":"Postleitzahl"},"error":{"cellRowCol":"Zeile {{row}}, Spalte ({{col}}):","code":"","code_InvalidFormat":"Ung\xfcltiges Format.","code_NoValue":"Kein Wert angegeben.","code_ToLong":"Eingabe zu lang.","error":"Error!","general":"Etwas hat nicht funktioniert, bitte versuche es erneut oder kontaktiere unseren Innendienst."},"excel":{"activeConfiguration":"","browserExport":"","columnRemovalDescription":"","columnRemovalNo":"","columnRemovalTitle":"","columnRemovalYes":"","columns":"","customerPriceDate":"","download":"","downloadCancelled":"","emailExport":"","excel":"","exportLevel":"","failedLoadPreset":"","failedLoadPreview":"","generate":"","languages":"","name":"","noConfigurations":"","noLanguage":"","savedConfiguration_one":"","savedConfiguration_other":"","tabs":"","toggleConfiguration":"","units":""},"export":{"added":"","chosen_product":"","chosen_products":"","fileExportCompleted":"","fileExportFailed":"","images":"","price":"","product":"","removed":"","search_in":"","sku":"","thresholdWarning":"","variation":"","various_search":""},"file":{"allowedType":"Zul\xe4ssige Dateiformate","attachments":"Anh\xe4nge","dragAndDropOrBrowse":"Ziehen und ablegen oder Datei ausw\xe4hlen","draggingSingleText":"Datei hier ablegen zum Hochladen","draggingText":"Dateien hier zum Upload freigeben","file_other":"Dateien","filename":"Dateiname","none":"Es wurden noch keine Dateien hochgeladen. F\xfcge Dateien hinzu.","processFileError":"Datei konnte nicht verarbeitet werden.","processFileErrorFileSize":"Die Datei kann nicht hochgeladen werden; sie \xfcberschreitet die maximal zul\xe4ssige Gr\xf6\xdfe von {{value}}MB.","processingFileUpload":"Datei-Upload wird bearbeitet...","supported":".jpg, .jpeg, .png, .gif, .pdf and .svg. Max 5Mb."},"filter":{"filter":"Filter","filter_accessories":"Zubeh\xf6r","filter_activity":"Aktivit\xe4t","filter_brand":"Marke","filter_care":"Pflegehinweise","filter_category":"Kategorie","filter_certification":"Zertifizierung","filter_color":"Farbe","filter_designer":"Designer","filter_feature":"Feature","filter_female":"Damen","filter_fit":"Passform","filter_gender":"Geschlecht","filter_male":"Herren","filter_material":"Material","filter_neckline":"Kragenform","filter_other":"Filter","filter_outlet":"Outlet","filter_range":"Range","filter_retail":"","filter_season":"Saison","filter_sleeve":"\xc4rmeltyp","filter_theme":"Thema","filters":"Filter"},"general":{"add":"Hinzuf\xfcgen","agreeTo":"Gesch\xe4ftsbedingungen","all":"Alle","auto":"Automatisch","basis":"","cantChange":"\xc4nderung nicht m\xf6glich","changed":"\xc4ndert","close":"Schlie\xdfen","collapseAll":"Ansicht reduzieren","columns":"Spalten","comment":"Kommentar","commentSet":"Kommentar einf\xfcgen","compact":"Kompakt","created":"Erstellt","custom":"Personalisiert","description":"Beschreibung","dontShowAgain":"Nicht wieder anzeigen","email":"Email","endDate":"Ablaufdatum","enterPassword":"Geben Sie das Passwort ein, um fortzufahren.","expand":"Expandieren","expandAll":"Alles anzeigen","expires":"","favourites":"Favoriten","font":"","full":"Komplettes Sortiments","hide":"Ausblenden","hideAllPages":"Alle Seiten ausblenden","language":"Sprache","limitedToCharacters":"Begr\xe4nsad auf {{characters}} Zeichen.","limitedToInteger":"Begr\xe4nsad auf Zahlen.","limitedToLetters":"Begr\xe4nsad auf Buchstaben.","limitedToLettersUpper":"Begr\xe4nsad auf Gro\xdfbuchstaben.","log":"Log","logotype":"Logotyp","maintenance":"Wichtige Information! Aufgrund planm\xe4\xdfiger Wartungsarbeiten wird unser Gesch\xe4ftssystem ab etwa 8:00 Uhr am 13. April nicht verf\xfcgbar sein. Wir entschuldigen uns f\xfcr eventuelle Unannehmlichkeiten und informieren Sie dar\xfcber, dass die Website w\xe4hrend dieses Zeitraums nicht normal funktionieren wird. Wir erwarten, dass der Betrieb innerhalb weniger Stunden wieder normal l\xe4uft, und danken Ihnen f\xfcr Ihre Geduld.","mandatory":"Pflichtfeld","minimize":"Minimieren","name":"Name","new":"Neu","no":"Nein","none":"Keine","notifications":"Benachrichtigungen","password":"Passwort","readMore":"Mehr lesen","safety":"Sicherheit","saveAndClose":"","selected":"Ausgew\xe4hlt","settings":"","show":"Zeigen","showAllPages":"Alle Seiten anzeigen","show_all":"Alles zeigen","show_less":"Weniger anzeigen","show_more":"Mehr anzeigen","skipToContent":"","standard":"Standard","startDate":"Anfangsdatum","status":"Status","subTitle":"Untertitel","summary":"Zusammenfassung","tag_one":"Etikett","tag_other":"Etiketten","terms":"Zustimmen","text":"Text","text_other":"Texte","thankYou":"Danke","title":"Titel","to":"","tools":"Tools","total":"Gesamt","type":"","updated":"Aktualisiert","url":"Url","view":"ansehen","weOffer":"Wir bieten","yes":"Ja"},"image":{"angle_one":"","angle_other":"Ansicht","environment":"Umwelt","image_one":"Bild","image_other":"Bilder"},"invoice":{"address":"Rechnungsadresse","credit":"Kreditauftrag","invoice_one":"Rechnung","invoice_other":"Rechnungen"},"logoAppTools":{"asset":"Neues Bild oder Logo hinzuf\xfcgen"},"microshop":{"CustomerNumberSecurityInfo":"Sicherheitsoption muss aktiviert werden.","accentColor":"Akzentfarbe","activate_units":"","addAddon":"Zusatz","addCategory":"Kategorie hinzuf\xfcgen","addMasterDeliveryAddress":"","addNewUsers":"Neue Benutzer hinzuf\xfcgen","addUnit":"Neue Einheit hinzuf\xfcgen","addons":"Zusatz","administrator":"Administrator","agreement":"Vereinbarungen","allProducts":"Alle Produkte","alternativeUnitCertifier":"Alternativer Zertifizierer","approval":"","assortment":"Sortiment","assortmentAvailableVariationsAdded":"Alle verf\xfcgbaren Varianten wurden zum Sortiment hinzugef\xfcgt","backgroundImage":"Hintergrundbild","bodyFont":"Schriftart","budget":"Budget","budget_approval":"","cancelMasterOrderWarning":"Bist du sicher, dass du den Hauptauftrag stornieren m\xf6chtest? {{masterOrder}}","cantDeleteWarning":"Du hast offene Auftr\xe4ge und/oder Hauptauftr\xe4ge k\xf6nnen nicht gel\xf6scht werden.","categoryExists":"Kategorie Existiert","changeOwner":"Eigent\xfcmer wechseln","changeTo":"\xc4ndern zu","column":"Spalte","confirmDelete":"L\xf6schung best\xe4tigen","confirmMasterOrder":"Hauptauftrag best\xe4tigen","content":"Inhalt","copyShop":"Kopieren Sie die Einstellungen aus dem bestehenden Shop","create":"Neuen Microshop erstellen","createMasterOrder":"Hauptauftrag aus den gew\xe4hlten Auftr\xe4gen erstellen","createUser":"Neuen Benutzer erstellen","currency":"W\xe4hrung","currentOwner":"Aktueller Eigent\xfcmer","custom":"benutzerdefiniert","customerInputNone":"Keine","customerInputNumber":"Nummer","customerInputText":"Text","customerInputType":"Kundeneingabe","databaseError":"Datenbankfehler","deleteProduct":"Artikel l\xf6schen","deleteSelectedOrder":"Ausgew\xe4hlte Auftr\xe4ge l\xf6schen","deleteUnit":"Einheit l\xf6schen","deleteUnitWarning":"Das L\xf6schen Ihres Kontos wird alle Ihre Daten dauerhaft entfernen, einschlie\xdflich aller Benutzer, Ihrer Einstellungen und aller von Ihnen erstellten Inhalte. Diese Aktion kann nicht r\xfcckg\xe4ngig gemacht werden.","deleteWarning":"Bist du sicher, dass du den Mcroshop {{name}} l\xf6schen m\xf6chtest?","departmentUnit":"Abteilung/Einheit","descOptionCombine":"Kombinieren","descOptionDefault":"Standard","direct_orders":"","disable_units":"","displayOptions":"","emailWarning":"Ung\xfcltige E-Mail. Bitte \xfcberpr\xfcfen Sie auf Tippfehler, Rechtschreibfehler und dass die E-Mail im ausgew\xe4hlten Mikroshop existiert.","emptyAssortments":"Kein Sortiment verf\xfcgbar","emptyProducts":"Keine Produkte gefunden","error":"Es ist ein Fehler aufgetreten!","excelTemplate":"Excel-Vorlage","excelTemplateDescription":"Sie k\xf6nnen das beigef\xfcgte Beispiel herunterladen und als Ausgangspunkt f\xfcr Ihre eigene Datei verwenden.","files":"Dateien","filesUploaded":"Datei(en) hochgeladen und gespeichert","footColor":"Fusszeilenfarbe","footer":"Fusszeile","freeShipping":"Kostenloser Versand ab","general":"Allgemein","handleProductsSettings":"Preise, Zus\xe4tze und Kategorien verwalten","headerFont":"Schriftart der Kopfzeile","import":"Import","individual":"Individuell (SEK)","input":"Eingabe","invalidUrl":"URL ung\xfcltig","legalNotice":"Impressum","lightnessColor":"Helligkeit","logotype":"Logo","look":"Design","mainColor":"Hauptfarbe","main_orders":"","many_size_products":"","masterOrder":"","microshop":"Microshop","microshop_other":"Microshops","missingEmail":"E-Mail fehlt","missingMicroshop":"Microshop fehlt","missingShopUnitName":"ShopUnitName fehlt","missingUser":"Benutzer fehlen","new_unit":"Neue Einheit","noFilters":"Keine Filter","noHitsContent":"Zu den aktuellen Suchkriterien konnten keine Microshops gefunden werden","noMicroshopFound":"Kein Microshop gefunden","noOrders":"Keine Auftr\xe4ge","noOrdersExplanation":"Dein Shop enth\xe4lt keinen {{orderText}}.","noUserDescription":"Erstellen Sie hier neue Benutzer oder importieren Sie!","noUsers":"noUsers","notificationOptionDaily":"Tages\xfcbersicht","notificationOptionInstant":"Sofortige E-Mail","notificationOptionNone":"Keine","notificationsTitle":"Auftragsbenachrichtigungen","one_size_product":"","orderDeleteWarning":"Sind Sie sicher, dass Sie diese Bestellung l\xf6schen m\xf6chten?","orderPrices":"Benachrichtigungen & Preise","order_flow":"","ordered":"Bestellt","orderrNotificationExplanation":"Benachrichtigungen werden an {{email}} gesendet","ordersDeleteWarning":"M\xf6chtest du wirklich die ausgew\xe4hlten Auftr\xe4ge l\xf6schen?","pendingOrders":"Offene Auftr\xe4ge","points":"Punkte","priceModel":"Preismodell","priceOptionFixed":"Festpreis","priceOptionNone":"Keine","priceOptionRetail":"Basierend auf dem empfohlenen Verkaufspreis","privacyPolicy":"Datenschutzrichtlinie","productAddImages":"Bilder hinzuf\xfcgen","productName":"Produktbezeichnung","productNumber":"Artikelnummer","productQuantity":"Artikelmenge","readyForImport":"Die Datei ist bereit f\xfcr den Import. Fahren Sie fort, indem Sie auf \'Import\' klicken.","refinementsAndAddons":"Veredelung & Zus\xe4tze","requiresattestation":"Erfordert Attestation","retailModifier":"Preisverh\xe4ltnis","retailPrice":"EVP","retailPriceExplanation":"Jeder Artikel der dem Shop hinzugef\xfcgt wird, erh\xe4lt den auf dem EVP basierenden Preis.\\n Der Preis wird mit der Preisverh\xe4ltnis eingegebenen Zahl multipliziert","role":"Rolle","row":"Zeile","saved":"Ihre \xc4nderungen wurden gespeichert","securityOptionNone":"Keine","securityOptionRegister":"Registrierung mit Account","securityOptionSecregAndRegister":"Registrierung und Passwort","securityOptionSecret":"Passwort","security_protection":"","settings":"Einstellungen","standard":"Standard","standardPrice":"Standardpreisberechnung","totalCustomer":"Gesamtkosten, Kunde","unit":"Einheit","unitBudgetDepartment":"Abteilung (SEK)","unitCertifier":"Zertifizierer","unitDeleteWarning":"Sind Sie sicher, dass Sie die ausgew\xe4hlte Einheit l\xf6schen m\xf6chten?","unitName":"Name","unitWithChildrenDeleteWarning":"Sie sind dabei, die Einheit \'{{unitName}}\' und alle darunter liegenden Einheiten zu l\xf6schen. Diese Aktion kann nicht r\xfcckg\xe4ngig gemacht werden. M\xf6chten Sie mit dem Entfernen fortfahren?","units":"Einheiten","units_other":"","uploadDone":"Der Upload ist abgeschlossen!","uploadedFile":"Hochgeladene Datei","userInformation":"Information","value":"Wert","variationExists":"Die Produktvariante existiert bereits","vatExcluded":"","vatIncluded":"","vatIsIncluded":"MwSt. ist im Preis inbegriffen","vatNotIncluded":"MwSt. ist nicht im Preis inbegriffen","visitShop":"Shop ansehen","welcomeMessage":"Willkommensnachricht","zeroContentAddons":"Es gibt keinen Zusatz f\xfcr den Shop. Erstellen Sie einen Zusatz auf der Registerkarte \\"{{- tab}}\\".","zeroContentText":"Suche nach bestimmten Artikeln oder w\xe4hle zwischen Kategorien und Favoriten, um Artikel zu deinem Sortiment hinzuzuf\xfcgen.","zeroContentTitle":"Keine Artikel ausgew\xe4hlt."},"microshopUploadErrorCodes":{"databaseError":"","invalidEmailFormat":"Ung\xfcltiges E-Mail-Format","invalidIsAttestantValue":"Ung\xfcltiger isAttestant-Wert","invalidManageBudgetValue":"Ung\xfcltiger manageBudget-Wert","invalidRequiresAttestationValue":"Ung\xfcltiger requiresAttestation-Wert","invalidRoleValue":"Ung\xfcltiger Rollenwert","missingMicroshop":"Fehlende Microshop","missingOrIncorrectHeaders":"Fehlende oder falsche Kopfzeilen","missingShopUnits":"Fehlende Gesch\xe4ftseinheiten","missingUsers":"Fehlende Benutzer","noDataInFile":"Keine Daten in der Datei","noFileSelected":"Keine Datei ausgew\xe4hlt","noRowsInFile":"Keine Zeilen in der Datei"},"navigation":{"allIn":"Alles anzeigen","history":"Verlauf","onThisPage":"Auf dieser Seite","page":"Seite","promoted":"Ausgew\xe4hlt","start":"Startseite","toTop":"Nach oben"},"news":{"new_one":"News","new_other":"News","showAll":"Alle News anzeigen"},"newsletter":{"subscribed":"Abonniert!"},"offer":{"additionalCost":"Zus\xe4tzliche Kosten","additionalCosts":"Zus\xe4tzliche Kosten","confirmOffer":"Angebot best\xe4tigen","daysBeforeReminder":"Benachrichtigung vor Ablauf (Tage) ","discount":"Rabatt","discountInfo":"Alle Artikel erhalten einen Rabatt in Prozent.","editName":"Name bearbeiten","expires":"Ablaufdatum","margin":"Marge","marginInfo":"Alle Artikel erhalten eine Marge in Prozent.","noProductInfo":"Beginne mit dem Hinzuf\xfcgen der oben genannten Artikel.","offerPage":"Angebotsseite","offerPrice":"Angebotspreis","offer_one":"Angebot","offer_other":"Angebote","otherTerms":"Bedingungen aus anderen Angeboten","publicOffer":"Angebot ver\xf6ffentlichen","remove":"Angebot l\xf6schen","removeConfirmation":"Bist du sicher da\xdf du das Angebot l\xf6schen m\xf6chtest?","removePublicUrlAlert":"Ver\xf6ffentlichung entfernen?","removePublicUrlAlertConfirm":"Ja, entfernen.","removePublicUrlAlertContent":"M\xf6chtest du dein \xf6ffentliches Angebot entfernen aus {{name}}?","shareOffer":"Angebot teilen","visitors":"Besucher","warnExternalCustomerMissing":""},"order":{"addNewAddress":"Neue Adresse hinzuf\xfcgen","adjustment":"Anpassung","allOrdersLast30Days":"","createDelivery_one":"Lieferung erstellen","createDelivery_other":"Lieferungen erstellen","createOrder":"Auftrag erstellen","createRepeatOrder":"Neue Bestellung aus Auftrag erstellen","createdDeliveries":"Erstellte Lieferungen","creditType":"Kreditauftrag","customerDetails":"Kundeninformationen","deleteWarning":"Bist du sicher, dass du den bestellen {{name}} l\xf6schen m\xf6chtest?","deliveryAsc":"Aufsteigendes Lieferdatum","deliveryDate":"Lieferdatum","deliveryDesc":"Absteigendes Lieferdatum","deliveryNote":"Lieferschein","deliveryNoteNumber":"Lieferscheinnummer","deliveryType":"Lieferart","downloadDeliveryNote":"Lieferschein herunterladen","downloadExcel":"Excel herunterladen","entire":"z.B. Auftragsnummer, Referenz etc.","entirePartnerOrders":"z.B. Bestellnummer, Liefername, E-Mail etc.","handleAddresses":"Adressen verwalten","handleAddressesAndDeliveries":"Adressen und Lieferungen verwalten","history":"Auftragsverlauf","infoMessage_boxDesign_partnerOverview":"","lastOrder":"Letzte Bestellung","masterOrder_other":"Hauptauftr\xe4ge","noHitsContent":"Denke daran, dass du nach einer vollst\xe4ndigen Bestellnummer suchen musst","noHitsHeader":"Keine Ergebnisse","noOrdersLast30Days":"","notes":"","orderNumber":"Auftragsnummer","order_one":"Auftrag","order_other":"Auftr\xe4ge","packageLabel":"Paketaufkleber","partner_one":"","paymentType":"Zahlung","placed":"Vielen Dank f\xfcr Ihre Bestellung.","placedBy":"Platziert durch","reference":"Auftragsreferenz","refinementType":"Veredelungsauftrag","removeAddressText":"M\xf6chtest du die Adresse und die Lieferungen entfernen?","removeAddressTitle":"Adresse und Lieferungen entfernen?","removeAddressYesOption":"Adresse entfernen","repeat":"Wiederkehrend","sendOrderDocument":"","setPublicOrderAsCompletedDescription":"Dieser Auftrag wird als abgeschlossen markiert und weitere Lieferungen k\xf6nnen nicht hinzugef\xfcgt werden. Eine Benachrichtigung wird an den Kunden gesendet.","setPublicOrderAsCompletedTitle":"Bist du sicher, dass du den Auftrag als abgeschlossen markieren m\xf6chtest?","setPublicOrderAsCompletedYesOption":"Ja, markiere als abgeschlossen","showEditArticles":"Artikel anzeigen/bearbeiten","skuEditorDisabledTitle":"Eine Bestellung kann nur Lieferungen enthalten, wenn sie in Produktion gesetzt wurde. In diesem Modus k\xf6nnen nur Lieferadressen ge\xe4ndert werden.","status":"Auftragsstatus","statusCreated":"Erstellt","statusFailed":"Fehler","statusPlaced":"erteilt","system":"","table":"Bestelltisch","thankYou_message_customerApproval":"Wir haben Ihre Antwort erhalten und melden uns innerhalb von 24 Stunden. Bei Fragen senden Sie uns bitte eine Nachricht oben!","thankYou_message_rejectToCustomer":"Wir haben Ihre Erg\xe4nzung erhalten und melden uns innerhalb von 24 Stunden. Bei Fragen senden Sie uns bitte eine Nachricht oben!","track":"Auftrag verfolgen","type":"Auftragsart","viewOrders":"Bestellungen einsehen und verwalten.","wrongPasswordTryAgain":"Das von Ihnen eingegebene Passwort ist falsch. Bitte versuchen Sie es erneut."},"orderstatuses":{"approved":"Genehmigt","awaitingCustomer":"Wartet auf Kunde","customerChanges":"Kunden\xe4nderungen","customerRejected":"","deliveryChanged":"Liefer\xe4nderung","expressOrder":"Eilauftrag","inProduction":"In Produktion","pinned":"Fixiert","rejected":"Abgelehnt","unhandled":"Unbearbeitet"},"orientation":{"landscape":"Querformat","orientation":"Ausrichtung","portrait":"Hochformat"},"part":{"all":"","part":"","partQty":"","partSizes":"Artikel aufteilen"},"pdf":{"aboutUsPage":"","careCertPage":"","careInstructions":"Pflegehinweise","certifications":"Zertifizierungen","content":"Inhalt","coverPage":"Deckblatt","description":"Beschreibung","download":"PDF herunterladen","fabrics":"Material","fullPage":"Vollseite","offerItemPrice":"Angebotspreis","offertPage":"","pdf":"","pdfLoading":"Bitte warten Sie, w\xe4hrend wir Ihr Dokument erstellen","preview":"Vorschau","productPage":"Produkte","quantity":"Menge","recommendedPrice":"Empfohlener Preis","refinementPage":"Verfeinerungen","sizeGuides":"Gr\xf6ssentabelle","tableOfContent":"Inhaltsangabe","terms":"Bedingungen","termsTitle":"Bedingungen","titlePage":"Titelseite","warnCareWithRefinement":"Sobald Ihr Kleidungsst\xfcck personalisiert ist, gelten die originalen Waschanweisungen nicht mehr!","weight":"Gewicht"},"pdfImages":{"environmentImages":"Imagebilder","errorRequestSent":"Ein technischer Fehler ist aufgetreten, und wir k\xf6nnen die Bilder nicht zum Download vorbereiten. Bitte kontaktieren Sie den Kundenservice.","failedLoadPreview":"Fehler beim Laden von Bildern","highResolution":"4000px (Hohe Aufl\xf6sung)","imageAltText":"","imageResolution":"Aufl\xf6sung der Bilder","loadPreview":"L\xe4dt Produkte...","noProducts":"Keine Artikel","preferredFileType":"","preview":"1000px (Vorschau)","productImages":"Produktbilder","sendEmail":"E-Mail senden","showAll":"Mehr Bilder anzeigen","standardResolution":"","sucessRequestSent":"Wir bereiten die Bilder in einer Zip-Datei vor und senden sie an Ihre E-Mail, dies kann einige Minuten dauern.","thumbnail":"200px (Miniaturansicht)","webpInfo":""},"placement":{"":"","_Button1":"Knopf 1","_Button2":"Knopf 2","_Button3":"Knopf 3","_Button4":"Knopf 4","_Button5":"Knopf 5","_ChestPocketLeft":"Brusttasche links","_ChestPocketRight":"Brusttasche rechts","_Front":"Vorne","_Generic":"Allgemein","_InnerSide":"Innenseite","_Left":"Links","_OuterSide":"Au\xdfenseite","_Right":"Rechts","_SidePocketLeft":"Seitentasche links","_SidePocketRight":"Seitentasche rechts","_SleeveLeft":"Linker \xc4rmel","_SleeveRight":"Rechter \xc4rmel"},"pmsColorPicker":{"inactivateColor":"Farbe deaktivieren","searchPlaceHolder":"PMS-Farbe","searchZeroContent":"Keine PMS-Farbe entspricht der Suchanfrage"},"price":{"amount":"Betrag","amountIncVat":"Betrag (inkl. MwSt.)","applyCustomer":"Kundenpreis anwenden","customer":"Kundenpreis","customerPrice":"","latestPrice":"","noPrice":"Kein Preis verf\xfcgbar","orderpricelist":"","price":"Preis","priceSt":"Preis / St\xfcck","priceSuggestion":"Preisvorschlag","pricelists":"Preisliste","prices":"Preise","purchasePrice":"","regular_short":"Reg. Preis","retail":"Einzelhandel","retailAndCustomer":"Einzelhandel und Kunden","rrp_long":"Empfohlener Preis","rrp_short":"UVP","selectedArticle":"Ausgew\xe4hlte Artikel","selectedRefinement":"Ausgew\xe4hlte Veredelung","showNoPrice":"Keinen Preis anzeigen","subTotal":"","tiered":"Gestaffelte Preise","totalCart":"Zusammenfassung","totalValue":"","total_exVat":"Gesamt (netto)","total_incVat":"Gesamt (inkl. MwSt.)","vat":"MwSt.","vatConsumer":"MwSt."},"product":{"_capacity":"Kapazit\xe4t","_closure":"Verschluss","_colorComment":"Farbhinweis","_country":"","_designer":"Designer","_diameter":"Durchmesser","_fabrics":"Material","_gender":"Geschlecht","_height":"Gr\xf6\xdfe","_hoodDetails":"Kapuzendetails","_length":"L\xe4nge","_limitedEdition":"Limited Edition","_measure":"Ma\xdfe","_neckline":"Kragenform","_packaging":"Verpackung","_pockets":"Taschen","_presentationDate":"Ver\xf6ffentlichungsdatum","_printCode":"Code drucken","_sleeve":"\xc4rmel","_techniqueComment":"Technik Kommentar","_volume":"Volumen","_weight":"Gewicht","_width":"Breite","add":"Artikel hinzuf\xfcgen","addRemove":"Hinzuf\xfcgen / Entfernen Artikel","approveArticles":"Artikel genehmigen","articleNumber":"Artikelnummer","article_one":"Artikel","article_other":"Artikel","care":"Pflegehinweise","certificates":"Zertifikate","colors":"Farben","composition":"Zusammensetzung","document":"Dokument","downloadImage":"","downloadImages":"Alle Bilder herunterladen","features":"Eigenschaften","info":"Produktdatenblatt","missingSkus":"Fehlende Artikel","name":"Name","noProducts":"Keine Artikel","orderDifference":"Auftragsdifferenz","pdfDownload":"PDF herunterladen","product_one":"Produkt","product_other":"Produkte","products":"Produkte","related":"\xc4hnliche Produkte","relatedGender":"Auch erh\xe4ltlich als","related_short":"Verwandt","replacement":"Alternative","search":"Artikelsuche","searchPlaceholder":"z.B. Produktnummer oder Bezeichnung","searchPlaceholderProduct":"z.B. Produktnummer oder Bezeichnung","show":"Produkte anzeigen","showLessColors":"Weniger Farben anzeigen","transfer":"Transfer","unwantedSkus":"Unbekannter Artikel"},"productAddImagesAfter":"{{added}}/{{max}} (optional)","productTag":{"new":"Neu","newVariation":"","outlet":"Outlet","outletVariation":"","sustainable":"Auf Nachhaltigkeit bedacht","upcoming":"Demn\xe4chst","upcomingVariation":""},"production":{"refinement_one":"Veredelung"},"proof":{"proof":"Korrektur","proof_one":"Design","proof_other":"Designs","service":""},"refinement":{"add":"Verarbeitungsoptionen hinzuf\xfcgen","addon":"Bild","addonVariations":"Variationen","articleAddedToDraftInfo":"","articleDraftSuggestionInfo":"","autoAdjustedPlacements":"Hinweis: Andere Platzierungen wurden automatisch angepasst.","awaitingDelivery":"Warten auf Produkte","awaitingDeliveryAction":"Auftragslieferung","choose":"Prozess-Optionen w\xe4hlen","colorBacking":"Hintergrundfarbe","colorChange":"Farbe \xe4ndern","colorChangeColor":"","commentDescription":"Sonstige Anfragen","completed":"Verarbeitete Produkte","completedAction":"Verareitung abgeschlossen","create":"Erstellen Veredelung","createArticleDraft":"Artikel als Entwurf speichern","createTextElement":"Textelement erstellen","customerPublicOrderConfirmSubmit":"Vielen Dank! Der Kundenservice wird Ihre Bestellung nun pr\xfcfen und Sie werden benachrichtigt, sobald die Bestellung best\xe4tigt wurde.","customerPublicOrderInstructions":"Lesen Sie die Nachricht vom Kundenservice im zugeh\xf6rigen Log. Klicken Sie unten, um den Konfigurator zu \xf6ffnen, zu \xe4ndern und zu speichern. Wenn Sie fertig sind, klicken Sie auf Senden und f\xfcgen Sie einen Kommentar hinzu. Wenn Sie weitere Fragen zur Bestellung haben oder Anweisungen fehlen, senden Sie einfach einen Kommentar. Der Kundenservice wird Ihre \xc4nderungen schnell \xfcberpr\xfcfen und Sie werden benachrichtigt, wenn die Bestellung genehmigt wurde.","customerPublicOrderPriceWarning":"Hinweis! Die Artikel in der Bestellung haben sich ge\xe4ndert und eine neue Auftragsbest\xe4tigung wird versendet.","deliverNowAndOnwards":"Now and ongoing","deliverWhenInStock":"When all in stock","delivered":"Versendete Artikel","deliveredAction":"Versand von Artikeln","downloadPreviewImage":"Vorschau herunterladen","errorNoAvailableRefinements":"","expected":"Voraussichtlicher Liefertermin","fixedTextPlaceholder":"Ihr Text hier","inProgress":"In Bearbeitung","invalidTransferAmount":"","latest":"Neueste","message":"Nachricht","messages":"Nachrichten","minQuantityWarning":"Hinweis! Der Mindestpreis gilt f\xfcr {{minQuantity}} {{articles}} und f\xfchrt daher zu einem h\xf6heren St\xfcckpreis f\xfcr die gew\xe4hlte Anzahl.","mountings":"","nameAndTags":"Dateiname","new":"Neu Veredelung","noSplitPlaceInfo":"","objectSizeChangedWarning":"","otherInformation":"Sonstiges","pin":"Anheften","placementDescription":"Hier geben Sie an, wie Ihre Verbesserung angewendet werden soll. Wenn Sie mehr Oberfl\xe4chen und Standorte w\xfcnschen, m\xfcssen Sie zus\xe4tzliche Verfeinerungen erstellen.","placement_one":"Platzierung","placement_other":"Platzierungen","positionAutoAdjusted":"","proofFinalAcceptText":"Ich akzeptiere meinen urspr\xfcnglichen/skizzierten Entwurf als endg\xfcltigen Designnachweis. F\xfcr dieses Angebot wird kein Nachweis an mich gesendet.","readyForInvoice":"","refinement_one":"Veredelung","refinement_other":"Veredelung","reject":"Ablehnen","rejected":"Abgelehnt","rejectedAction":"Ablehnen","review_proof":"\xd6ffnen und \xfcberpr\xfcfen Sie Ihr Korrektur unten","send":"Senden","sendForReviewApprove":"","sender":"Absender","sourceInfo":"","sourceInfo_Analysis":"Das System hat die Farbe interpretiert.","sourceInfo_Custom":"Der Kunde hat die Farbe selbst gew\xe4hlt.","sourceInfo_File":"Die Datei hat die Farbe definiert.","startCost":"Startkosten","uploadFile":"Datei hochladen","userProof":"Benutzernachweis","variableTextPlaceholder":"Ihr Beispieltext hier","warnRepeatChanged":"Dies ist eine wiederholte Verfeinerung. Wenn Sie \xc4nderungen speichern, wird es keine wiederholte Bestellung mehr sein und die Preise k\xf6nnten sich \xe4ndern."},"refinementsSelector":{"errorIncompatible":"","errorNoCompatible":"","title":"M\xf6chten Sie eine bereits erstellte Veredelung hinzuf\xfcgen?"},"reseller":{"change":"Wiederverk\xe4ufer \xe4ndern","errorNotFound":"Wir k\xf6nnen keinen Wiederverk\xe4ufer finden, der mit deiner Adresse verbunden ist. Bitte vergewissere dich, dass die Adresse korekt ist, oder suche unten nach einem Wiederverk\xe4ufer.","externalSupplier":"","openHours":"\xd6ffnungszeiten","reseller_one":"Wiederverk\xe4ufer","reseller_other":"Wiederverk\xe4ufer","search":"Wiederverk\xe4ufer w\xe4hlen","searchAgreement":"Wenn du eine Vereinbarung hast, suche \xfcber deine Firmennummer","showAllResellers":"Alle H\xe4ndler anzeigen","suggestionFrom":"Wir haben Wiederverk\xe4ufer vorgeschlagen, basierend auf","suggestionInfo":"Bitte gib deine Adresse ein, um einen Fachh\xe4ndler in deiner N\xe4he zu finden."},"salesBoard":{"salesBoard":"","section":"","section_budget":"","section_compare":"","section_leaderboard":"","section_topOrders":"","section_topProducts":"","section_totalValue":"","section_visits":""},"search":{"empty":"Keine Treffer","search":"Suchen"},"seller":{"customer":"Kunde","customerShops":"Kunden-Microshops","customers":"Kunden","erpNumber":"Kundennummer","exportedFiles":"","loggedInAs":"Angemeldet als","noCustomers":"Keine Kunden hinzugef\xfcgt","openAs":"\xd6ffnen als","orderMonitoring":"Auftragsverfolgung","orderMonitoringEmpty":"Es sind noch keine Kunden f\xfcr die Auftragsverfolgung ausgew\xe4hlt. Bitte gib die Kundennummer ein um die Auftragsverfolgung zu starten.","orderMonitoringInfo":"Hier kannst du die Bestellungen deiner Kunden verfolgen. Jedes Mal, wennn ein Kunde eine Bestellung aufgibt, erh\xe4ltst du eine Benachrichtigung an deine E-Mail Adresse.","orderMonitoringNotificationInfo":"Benachrichtigungen werden gesendet an: ","orderMonitoringRemoved":"Customer {{sub.customerName}}({{sub.customerCode}}) will no longer be monitored.","partnerOverview":"Partner \xdcbersicht","selectCustomer":"Kunde ausw\xe4hlen","seller":"H\xe4ndler","signOutCustomer":"Kunde abmelden","warnSellingDisabled":""},"shipment":{"address":"Lieferadresse","addressesAndShipmentsTitle":"Adressen und Lieferungen","date":"Lieferdatum","deliveryOptional_other":"Lieferoptionen","deliveryQuantity":"Liefermenge","deliveryType":"Lieferart","delivery_one":"Lieferung","delivery_other":"Lieferungen","dispatchNote":"Versandbenachrichtigung","emailInfo":"An diese E-Mail-Adresse wird eine vereinfachte Versandbenachrichtigung / Auftragsbest\xe4tigung gesendet (ohne Preise). ","info":"Versandinformation","manualDelivery":"Manuelle Lieferung","new":"Neue Adresse","packageLabel":"Versandetikett","qtyArticles":"{{count}} artikel","qtyShipments":"{{count}} f\xf6rs\xe4ndelse","receiver":"","requestDate":"Liefertermin anfragen","requestDateChange":"","requestedDate":"Datum anfragen","sendTo_one":"An eine Adresse senden","sendTo_other":"An mehrere Adressen senden","shipment":"Sendungen","simplifiedOrderConfirm":"Vereinfachte Auftragsbest\xe4tigung","tracking":"Sendung verfolgen","trackingCarrier":"Zusteller","trackingNumber":"Tracking-Nummer","trackingService":"Service","trackingUrl":"Tracking url","transportType":"Transportart","warningLongDelivery":"Auftragsbest\xe4tigung beachten","yourOrderNumber":"Deine Auftragsnummer","yourReference":"Deine Referenz"},"size":{"allowedMinMax":"","large":"Gro\xdf","size":"Gr\xf6\xdfe","sizeguide":"Gr\xf6\xdfentabellen","small":"Klein"},"sort":{"relevance":"Relevanz"},"status":{"accepted":"Aktzeptiert","approved":"Offen","approvedAction":"Best\xe4tigen","cancelled":"Storniert","completed":"Versand abgeschlossen","confirmed":"Offen","confirmedAction":"Best\xe4tigen","draft":"Entwurf","inproduction":"In Produktion","inprogress":"Versand wird vorbereitet","invoiced":"Fakturiert","ok":"","onhold":"","processing":"Verarbeitung","rejected":"Abgelehnt","save_error":"Beim Speichern ist ein Fehler aufgetreten","saved":"Gespeichert","unconfirmed":"Nicht best\xe4tigt","unconfirmedAction":"Nicht best\xe4tigt","waiting":"Warten"},"stock":{"box":"box","enterQuantity":"Menge eingeben","estRefill":"Voraussichtlich verf\xfcgbar","global":"Global","local":"Lokal","min":"","mounting":"","operation":"","operation_add":"Add to stock","operation_order":"Order direct","operation_withdraw":"Withdraw from stock","pcs":"St\xfcck","region":"Region","rest":"","stock":"Lager","stockAfterTransaction":""},"stockLevel":{"in":"Auf Lager","low":"Niedriger Bestand","no":"","out":"Nicht auf Lager"},"template":{"copy":"Aus Vorlage kopieren","copyDescription":"Konfiguration aus gespeicherter Vorlage kopieren. Dies wird Ihre aktuelle Konfiguration ersetzen.","save":"Als Vorlage speichern","saveDescription":"Aktuelle Konfiguration als Vorlage f\xfcr zuk\xfcnftige Verwendung in anderen Dokumenten speichern.","template_one":"Vorlage","warnRemove":"Sind Sie sicher, dass Sie die Vorlage entfernen m\xf6chten?","warnTemplateExist":"Es ist bereits eine Vorlage mit diesem Namen gespeichert. Dies wird die gespeicherte Vorlage mit der aktuellen Konfiguration \xfcberschreiben."},"tool":{"noToolsOrServices":"","toolsAndServices":""},"unsavedWarning":{"no":"","text":"","title":"","yes":""},"user":{"anonymousUsers":"","customerErrorLong":"Es konnten keine Informationen f\xfcr den Benutzer geladen werden. Bitte versuche es erneut.","customerErrorShort":"Zu diesem Benutzer fehlen Informationen","customerNumber":"Kundennummer","customerNumberError":"Bitte ganze Kundennummer eingeben","customerWarningLong":"Der Kunde, der diesem Benutzer zugeordnet ist, existiert nicht oder die Informationen \xfcber den Kunden fehlen.","customerWarningShort":"Kein g\xfcltiger Kunde mit dem Benutzer verkn\xfcpft","notLoggedIn":"Kein Benutzer angemeldet","proceedAsAnonymous":"Anonym fortfahren","refreshFailedText":"Aus Sicherheitsgr\xfcnden wurdest du nach einer gewissen inaktiven Zeit abgemeldet.\\nPress \\"Erneut anmelden\\" um deinen Einkauf fortzusetzen.","refreshFailedTitle":"Du bist jetzt abgemeldet.","register":"Registrieren","registeredUsers":"","salesContact":"Ansprechpartner","signIn":"Anmelden","signInAgain":"Erneut anmelden","signInToOrder":"Zum Bestellen bitte anmelden","signOut":"Abmelden","user_other":"Benutzer","viewAccount":"Mein Konto"},"validation":{"allRequiredFields":"","email":"Ung\xfcltige E-Mail Adresse","fullNameMaxCharLimit":"Vorname + Nachname d\xfcrfen nicht mehr als {{maxLength}} Zeichen haben","maxCharacterLength":"Die Eingabe \xfcberschreitet die maximale Anzahl von {{maxLength}} Zeichen","maxLength_one":"Max {{max}} Zeichen","maxLength_other":"Max {{max}} Zeichen","minCharacterLength":"Die Eingabe ist kleiner als das Minimum von {{minLength}} Zeichen","mustStartWith":"Der Wert muss mit einem der folgenden beginnen:","noEmailFound":"","phoneInvalid":"Ung\xfcltige Telefonnummer","phoneLength":"Telefonnummer muss 8 oder 16 Ziffern lang sein","required":"Erforderlich","requiredAccept":"Bitte best\xe4tigen"},"variableText":{"inputDataUpdated":"","refinementRowTitle":"","refinementRowTitle_plural":"","validateErrorDesc":"Die hochgeladene Datei enth\xe4lt fehlerhafte Zeilen. Bitte korrigieren Sie diese und versuchen Sie es erneut.","validateErrorTitle":"{{count}} Validierungsfehler","validateErrorTitle_plural":"","validateSuccessDesc":"","validateSuccessTitle":""},"warning":{"attention":"Achtung!","changesPartlyDisabled":"","note":"","refinementWarnings":"","showWarningTexts":""}}'),s=JSON.parse('{"action":{"actions":"Actions","add":"Add","apply":"Apply","back":"Back","cancel":"Cancel","change":"Change","change_one":"","change_other":"","clear":"Clear","configure":"Configure","continue":"Continue","continueWithoutSaving":"Continue without saving","copy":"Copy","create":"Create","download":"Download","duplicate":"Duplicate","edit":"Edit","export":"Export","fullScreen":"Full screen","message":"Message","ok":"Ok","open":"Open","pending":"Pending","published":"Published","rearrangeBoxes":"Rearrange boxes","refresh":"Refresh","remove":"Remove","rename":"Rename","replace":"Replace","save":"Save","saveWarningText":"You need to save changes before you proceed. Do you want to save?","saveWarningTitle":"Save changes?","select":"Select","selectOne":"Select one","showBoxes":"Show boxes","sort":"Sort","submitChanges":"Submit changes","submitQuestionComment":"Submit Question/Comment","undo":"Undo"},"angle":{"":"","_back":"Back","_closeup1":"Close-up 1","_closeup2":"Close-up 2","_closeup3":"Close-up 3","_front":"Front","_left":"Left","_other":"Other","_right":"Right"},"archived":{"archive":"Archive","archived":"Archived","articleArchived":"This article is archived","collectionArchived":"This collection is archived","notArchived":"Not archived","remove":"Remove archive"},"article":{"articleMonitoring":"Order point","configureAndAdd":"Configure and add to cart","deleteWarning":"Are you sure you want to delete the article {{name}}?","description":"Here you can access your items that you have bought in the transfer shop","filters":"","filters_archived":"Archived","filters_category":"Category","filters_products":"Products","filters_status":"Status","filters_stock":"Stock","new":"New article","noHitsContent":"No articles could be found with current search criteria","noHitsHeader":"No hits","notDefined":"Not defined","orderMonitoringMinNum":"Min. inventory balance","show":"Show articles","submitApproval":"Submit draft for approval"},"assortment":{"category_one":"Category","category_other":"Categories"},"bookmark":{"noPages":"No pages added","pages":"Pages","pagesAndTools":"Pages & Tools","saveAsFavorite":"Save as favorite","tools":"Tools"},"brightness":{"dark":"Dark","light":"Light"},"calendar":{"agenda":"Agenda","allDay":"All Day","date":"Date","day":"Day","event":"Event","events":"Events","importantDates":"Important Dates","month":"Month","next":"Next","noEventsInRange":"There are no events in this range.","previous":"Back","previousEvents":"Previous Events","previousYear":"Previous Year","showAsCalendar":"Show as calendar","showAsList":"Show as list","time":"Time","today":"Today","tomorrow":"Tomorrow","week":"Week","workWeek":"Work Week","year":"Year","yesterday":"Yesterday"},"campaign":{"code":"Campaign code","error":"Invalid code"},"cart":{"addVariation":"Add variation","add_one":"Add to cart","add_other":"Add products to cart","addressSelected_one":"Address selected","addressSelected_other":"Addresses selected","agreementInfo":"We will never share your email, address or any other personal information with anyone else.","allowSplit":"Allow split order?","cart":"Shopping cart","checkout":"Place order","checkout_request":"Place order request","chooseQuantity":"Choose quantity","configureCheckout":"Configure checkout","continueShopping":"Continue shopping","createOffer":"Create offer","created":"Cart created","depositToStock":"Deposit to stock","depositToStockMinText":"minimum quantity {{minStock}}","discount":"Discount","doPayment":"Authorize payment","empty":"Your cart is empty","emptyDo":"Empty cart","emptyFavourite":"Keep track of your favourite products here by clicking the ","errorCouldNotCalculateRow":"Could not calculate customer unique prices at the moment. Showing last known price if available.","errorCouldNotCalculateTotal":"Der var et problem med at bekr\xe6fte dine unikke priser og det samlede ordrebel\xf8b. Du kan stadig afgive en ordre, og du vil finde dine priser p\xe5 din ordrebekr\xe6ftelse.","errorInvalidProducts":"Some products are not compatible in the same order. The invalid products will remain in the cart but not included in the current order.","errorInvalidSku":"Invalid: Article does not exist.","errorSelectReseller":"Please select reseller","favourite":"Your favourites","minAmount":"Requires a minimum amount of 40 dollar.","minOrderQty":"Minimum order quantity","minOrderQtyInfo":"If you want to change to a lower quantity, you need to first add more to another size.","new":"New cart","noFavourite":"No favourite yet.","orderAndDelivery":"Order & delivery","payment":"Payment","paymentCancelled":"Payment was cancelled, Try again or select diffrent paymentmethod","paymentError":"Payment Error, Try again or select diffrent paymentmethod","paymentrefused":"Payment was refused, Try choose diffrent paymentmethod","qtyAdjustedByArticleQuantity":"Obs! Antalet monteringar \xf6verskrider artikelns lagersaldo och kundvagnen kommer justeras.","quantity":"Quantity","quickAdd":"Fast order","removeVariation":"Remove variation","saveToArticles":"Save to articles","saveToCart":"Save to cart","specification":"Price specification","startShopping":"Start shopping or use the quick add below and add products.","swishButton":"Open swish","swishInfo":"To complete your order, scan the QR code in the swish app.","toCart":"To shopping cart","toastDismissNoOption":"No thanks","toastDismissText":"Do you want to disable notifications when the shopping cart changes?","toastDismissYesOption":"Yes, disable","totalSkus":"Total","validationErrorHigher":"Too many products added","validationErrorLower":"Too few products added","warnNoStockAfterTransaction":"Article will have no stock left after transaction. Note that cart quantity is modified accordingly.","warningCancelPayment":"Payment cancelled. Please try again.","warningOrderDisabled":"Order placement authorization is missing. Please contact customer service","warningPriceOverride":"Configuration is missing to set specific sales prices. Please contact servicedesk for activation.","warningPriceOverrideEnabled":"Note! Order will be placed with order type {{orderType}}"},"cartFee":{"admin":"Admin. fee","freight":"Freight fees","insurance":"Insurance fees","invoice":"Invoice fees","postage":"Postage fees","shipping":"Shipping Cost"},"collection":{"collection_one":"Collection","collection_other":"Collections","deleteWarning":"Are you sure you want to delete the collection {{name}}?","description":"Here are your collections of upgraded products.","noContent":"Start upgrading products!","noHitsContent":"No collections could be found with current search criteria","noSkuWarning":"The following articles have no selected quantities and will be removed: ","refinementsRemovedWarning":"The following refinements will also be removed: ","show":"Show collections","upgrade_product":"Upgrade product","variations_one":"Variation","variations_other":"Variations"},"color":{"color_one":"Color","color_other":"Colors","errorNotEnough":"You need to select a color","errorTooMany":"Too many colors for selected process option. Remove / combine colors or choose a refinement that supports more colors.","interpretedByTool":"interpreted by the tool","interpretedFromFile":"from your file","interpretedTitle":"Selected PMS colors","toolInterpretedColors":"The tool has chosen the following colors:","warnInterpreted":"Note! The colors of the image are chosen by the tool and may look different on different screens. Make sure the color codes match closely.","warningAutoBackingColorApplied":"Placed on non-white garment. Backing color applied.","warningAutoBackingColorNone":"No backing color."},"colors":{"amber":"Amber","blue":"Blue","blueGrey":"Blue grey","brown":"Brown","cyan":"Cyan","deepOrange":"Deep orange","deepPurple":"Deep purple","green":"Green","grey":"Grey","indigo":"Indigo","lightBlue":"Light blue","lightGreen":"Light green","lime":"Lime","orange":"Orange","pink":"Pink","purple":"Purple","red":"Red","teal":"Teal","yellow":"Yellow"},"confirmation":{"remove":"Yes, remove"},"contact":{"address":"Address","city":"City","company":"Company","companyNumber":"Company number","companyText":"Company text","contactName":"Contact name","contactUs":"Contact us","country":"Country","customerContact":"Customer service contact information","customerContactUs":"Contact customer service for more information!","customerSupport":"Customer Support","email":"E-mail","firstName":"First name","lastName":"Last name","name":"Name","phone":"Phone number","postalCode":"Postal code"},"error":{"cellRowCol":"Row {{row}}, column ({{col}}):","code":"","code_InvalidFormat":"","code_NoValue":"","code_ToLong":"","error":"Error!","general":"Something went wrong, please try again or contact support."},"excel":{"activeConfiguration":"Active configuration","browserExport":"The file is being generated. This may take several minutes depending on how much data is being exported.","columnRemovalDescription":"Some columns will be removed when changing to a lower export level. Do you want to continue?","columnRemovalNo":"No, keep columns","columnRemovalTitle":"Change export level","columnRemovalYes":"Yes, remove columns","columns":"Columns","customerPriceDate":"Customer price date","download":"Download Excel file","downloadCancelled":"Download Cancelled.","emailExport":"The file is being generated and will be sent to your email when it\'s ready. This may take several minutes depending on how much data is being exported.","excel":"Excel","exportLevel":"Export level","failedLoadPreset":"Failed to load preset","failedLoadPreview":"Failed to load preview data","generate":"Send Excel file to email","languages":"Languages","name":"Name","noConfigurations":"There are no saved configurations","noLanguage":"Your default language will be used","savedConfiguration_one":"Saved configuration","savedConfiguration_other":"Saved configurations","tabs":"Group in Excel tabs by column","toggleConfiguration":"Click on a configuration to toggle it on and off","units":"Units"},"export":{"added":"Added to export","chosen_product":"Chosen product for export","chosen_products":"Chosen products for export","fileExportCompleted":"File export completed","fileExportFailed":"File export failed","images":"Images","price":"Price","product":"Product","removed":"Removed from export","search_in":"Search in","sku":"Article / Sku","thresholdWarning":"Please wait for all files to be generated before downloading more.","variation":"Variation / Color","various_search":"Search among various categories"},"file":{"allowedType":"Allowed file types","attachments":"Attachments","dragAndDropOrBrowse":"Drag and drop or <u>browse</u>","draggingSingleText":"Release a file here to upload","draggingText":"Release files here to upload","file_other":"Files","filename":"Filename","none":"No files have been uploaded yet. Add some files!","processFileError":"Could not process file.","processFileErrorFileSize":"The file cannot be uploaded; it exceeds the maximum allowed size of {{value}}MB.","processingFileUpload":"Processing file upload...","supported":".jpg, .jpeg, .png, .gif, .pdf and .svg. Max 5Mb."},"filter":{"filter":"Filter","filter_accessories":"Accessories","filter_activity":"Activity","filter_brand":"Brand","filter_care":"Care instructions","filter_category":"Category","filter_certification":"Certification","filter_color":"Color","filter_designer":"Designer","filter_feature":"Feature","filter_female":"Female","filter_fit":"Fit","filter_gender":"Gender","filter_male":"Male","filter_material":"Material Technique","filter_neckline":"Neckline","filter_other":"Filters","filter_outlet":"Outlet","filter_range":"Range","filter_retail":"","filter_season":"Season","filter_sleeve":"Sleeve Type","filter_theme":"Theme","filters":"Filters"},"general":{"add":"Add","agreeTo":"Agree to","all":"All","auto":"Automatic","basis":"Basis","cantChange":"Cannot be changed","changed":"Changed","close":"Close","collapseAll":"Collapse all","columns":"Columns","comment":"Comment","commentSet":"Set comment","compact":"Compact","created":"Created","custom":"Custom","description":"Description","dontShowAgain":"Do not show again","email":"Email","endDate":"End date","enterPassword":"Enter the password to continue.","expand":"Expand","expandAll":"Expand all","expires":"Expires","favourites":"Favourites","font":"Font","full":"Full","hide":"Hide","hideAllPages":"Hide all pages","language":"Language","limitedToCharacters":"Limited to {{characters}} characters.","limitedToInteger":"Limited to numbers.","limitedToLetters":"Limited to letters.","limitedToLettersUpper":"Limited to uppercase letters","log":"Log","logotype":"Logotype","maintenance":"Important information! Due to scheduled maintenance, our business system will be unavailable from approximately 8:00 AM on April 13. We apologize for any inconvenience and inform you that the website will not function normally during this period. We expect to return to normal operation within a few hours and appreciate your patience.","mandatory":"Mandatory","minimize":"Minimize","name":"Name","new":"New","no":"No","none":"None","notifications":"Notifications","password":"Password","readMore":"Read more","safety":"Safety","saveAndClose":"Save and close","selected":"Selected","settings":"Settings","show":"Show","showAllPages":"Show all pages","show_all":"Show all","show_less":"Show less","show_more":"Show more","skipToContent":"Skip to content","standard":"Standard","startDate":"Start date","status":"Status","subTitle":"Subtitle","summary":"Summary","tag_one":"Label","tag_other":"Labels","terms":"Terms and conditions","text":"Text","text_other":"Texts","thankYou":"Thank you","title":"Title","to":"To","tools":"tools","total":"Total","type":"Type","updated":"Updated","url":"Url","view":"View","weOffer":"We offer","yes":"Yes"},"image":{"angle_one":"Angle","angle_other":"Angles","environment":"Environment","image_one":"Image","image_other":"Images"},"invoice":{"address":"Billing address","credit":"Credit order","invoice_one":"Invoice","invoice_other":"Invoices"},"logoAppTools":{"asset":"Add new asset"},"microshop":{"CustomerNumberSecurityInfo":"Security option has to be activated.","accentColor":"Accent color","activate_units":"Activate units","addAddon":"Add addon","addCategory":"Add category","addMasterDeliveryAddress":"Do you want to have a set delivery address to this masterorder?","addNewUsers":"Add new Users","addUnit":"Add new unit","addons":"Addons","administrator":"Administrator","agreement":"Agreement","allProducts":"All products","alternativeUnitCertifier":"Alternative certifier","approval":"","assortment":"Assortment","assortmentAvailableVariationsAdded":"All possible variations has been added to the assortment","backgroundImage":"Background image","bodyFont":"Body font","budget":"Budget","budget_approval":"Budget & Approval","cancelMasterOrderWarning":"Are you sure you want to cancel master order {{masterOrder}}","cantDeleteWarning":"Have pending orders and/or master orders and cannot be deleted.","categoryExists":"A category with that name already exists, please pick name","changeOwner":"Change owner","changeTo":"Change to","column":"Column","confirmDelete":"Confirm deletion","confirmMasterOrder":"Confirm master order","content":"Content","copyShop":"Copy settings from existing shop","create":"Create new microshop","createMasterOrder":"Create master order from selected orders","createUser":"Create new user","currency":"Currency","currentOwner":"Current owner","custom":"Custom","customerInputNone":"None","customerInputNumber":"Number","customerInputText":"Text","customerInputType":"Customer input","databaseError":"Database error","deleteProduct":"Delete product","deleteSelectedOrder":"Remove selected orders","deleteUnit":"Delete unit","deleteUnitWarning":"Deleting your account will permanently remove all your data, including all users, your settings, and all the content you have created. This action cannot be undone.","deleteWarning":"Are you sure you want to delete the microshop {{name}}?","departmentUnit":"department/ unit","descOptionCombine":"Combine","descOptionDefault":"Default","direct_orders":"Direct orders","disable_units":"Disable units","displayOptions":"Display options for size and quantity","emailWarning":"Invalid email. Please check for typos, spelling errors and that the email exist on the selected microshop.","emptyAssortments":"No assortment to choose from","emptyProducts":"No products found","error":"An error has occurred!","excelTemplate":"Exceltemplate","excelTemplateDescription":"You can download the attached example and use it as a starting point for your own file.","files":"Files","filesUploaded":"File(s) uploaded and saved","footColor":"Foot color","footer":"Footer","freeShipping":"Free shipping above amount","general":"General","handleProductsSettings":"Manage prices, addons and categories","headerFont":"Header font","import":"Import","individual":"Individual","input":"Input","invalidUrl":"Url is already taken or contains a dot, choose a diffrent url","legalNotice":"Legal notice","lightnessColor":"Lightness","logotype":"Logotype","look":"Look & feel","mainColor":"Main color","main_orders":"Main orders","many_size_products":"Many sizes per product","masterOrder":"Master order","microshop":"Microshop","microshop_other":"Microshops","missingEmail":"Email is missing","missingMicroshop":"Microshop is missing","missingShopUnitName":"ShopUnitName is missing","missingUser":"Users are missing","new_unit":"New unit","noFilters":"No filters to choose from","noHitsContent":"No microshops could be found with current search criteria","noMicroshopFound":"No microshop could be found","noOrders":"No orders","noOrdersExplanation":"Your shop contains no {{orderText}}.","noUserDescription":"Crate new users here, or import!.","noUsers":"No users yet","notificationOptionDaily":"Daily overview","notificationOptionInstant":"Instant e-mail","notificationOptionNone":"None","notificationsTitle":"Order notifications","one_size_product":"One size per product","orderDeleteWarning":"Are you sure you want to delete this order","orderPrices":"Order & Prices","order_flow":"","ordered":"Ordered","orderrNotificationExplanation":"Email notification is sent to {{email}}","ordersDeleteWarning":"Are you sure you want to delete the selected orders","pendingOrders":"Pending orders","points":"Points","priceModel":"Price Model","priceOptionFixed":"Fixed price","priceOptionNone":"None","priceOptionRetail":"Based on retail price","privacyPolicy":"Privacy policy","productAddImages":"Add images","productName":"Product name","productNumber":"Productnumber","productQuantity":"Product quantity","readyForImport":"The file is ready for import. Continue by clicking \\"Import\\".","refinementsAndAddons":"Refinements & addons","requiresattestation":"Requires attestation","retailModifier":"Retail price ratio","retailPrice":"Retail price","retailPriceExplanation":"Each product that\'s added to the shop will get a price based on the retail price of the product.\\nThe price is multiplied by the number given below","role":"Role","row":"Row","saved":"Your changes have been saved","securityOptionNone":"No security","securityOptionRegister":"Registration","securityOptionSecregAndRegister":"Register and general password","securityOptionSecret":"General secret","security_protection":"Registration & Protection","settings":"Settings","standard":"Standard","standardPrice":"Standard pricecalculation","totalCustomer":"Total cost, customer","unit":"Unit","unitBudgetDepartment":"Department (SEK)","unitCertifier":"Certifier","unitDeleteWarning":"Are you sure you want to delete the selected unit","unitName":"Name","unitWithChildrenDeleteWarning":"You are about to erase the unit \'{{unitName}}\' and all underlying units. This action cannot be undone. Do you want to proceed with the removal?","units":"Units","units_other":"Units","uploadDone":"Upload is complete!","uploadedFile":"Uploaded file","userInformation":"Information","value":"Value","variationExists":"The product(s) already exists","vatExcluded":"VAT Excluded","vatIncluded":"VAT Included","vatIsIncluded":"VAT is included in prices","vatNotIncluded":"VAT is excluded from prices","visitShop":"Visit shop","welcomeMessage":"Welcome message","zeroContentAddons":"There are no addons for the shop, create addons under the \\"{{- tab}}\\" tab.","zeroContentText":"Search for products or choose between categories and favorites to add products to your assortment.","zeroContentTitle":"No selected products yet."},"microshopUploadErrorCodes":{"databaseError":"Database error occured","invalidEmailFormat":"Invalid email format","invalidIsAttestantValue":"Invalid isAttestant value","invalidManageBudgetValue":"Invalid manageBudget value","invalidRequiresAttestationValue":"Invalid requiresAttestation value","invalidRoleValue":"Invalid role value","missingMicroshop":"Missing microshop","missingOrIncorrectHeaders":"Missing or incorrect headers","missingShopUnits":"Missing shop units","missingUsers":"Missing users","noDataInFile":"No data in file","noFileSelected":"No file selected","noRowsInFile":"No rows in file"},"navigation":{"allIn":"Show all in","history":"History","onThisPage":"On this page","page":"Page","promoted":"Selected","start":"Start page","toTop":"To top"},"news":{"new_one":"New","new_other":"News","showAll":"Show all news"},"newsletter":{"subscribed":"Subscribed!"},"offer":{"additionalCost":"Additional cost","additionalCosts":"Additional costs","confirmOffer":"Confirm offer","daysBeforeReminder":"Reminder - days before expiration","discount":"Discount","discountInfo":"All products receives a discount in percentage.","editName":"Edit name","expires":"Expiration date","margin":"Margin","marginInfo":"All products receives a margin in percentage.","noProductInfo":"Start by adding products above.","offerPage":"Offer page","offerPrice":"Offer price","offer_one":"Offer","offer_other":"Offers","otherTerms":"Terms from other offers","publicOffer":"Public offer","remove":"Remove offer","removeConfirmation":"Are you sure you want to remove offer","removePublicUrlAlert":"Remove your public offer?","removePublicUrlAlertConfirm":"Yes, remove.","removePublicUrlAlertContent":"Do you want to remove your public offer from offer {{name}}?","shareOffer":"Share offer","visitors":"Visitors","warnExternalCustomerMissing":"Missing customer reference!"},"order":{"addNewAddress":"Add new address","adjustment":"Adjustment","allOrdersLast30Days":"All orders last 30 days","createDelivery_one":"Create delivery","createDelivery_other":"Create deliveries","createOrder":"Create order","createRepeatOrder":"Create repeat order","createdDeliveries":"Created deliveries","creditType":"Creditorder","customerDetails":"Customer details","deleteWarning":"Are you sure you want to delete the order {{name}}?","deliveryAsc":"Ascending delivery date","deliveryDate":"Delivery date","deliveryDesc":"Ascending delivery date","deliveryNote":"Delivery Note","deliveryNoteNumber":"Delivery note number","deliveryType":"Delivery type","downloadDeliveryNote":"Download delivery note","downloadExcel":"Download Excel","entire":"Order number, reference etc.","entirePartnerOrders":"Order number, deliveryname, e-mail etc.","handleAddresses":"Handle addresses","handleAddressesAndDeliveries":"Handle addresses and deliveries","history":"Order history","infoMessage_boxDesign_partnerOverview":"Selected boxes are always displayed. If no selection is made, boxes that havve a value is displayed.","lastOrder":"Last order","masterOrder_other":"Master orders","noHitsContent":"Remember you have to search by a complete order number","noHitsHeader":"No hits","noOrdersLast30Days":"No orders last 30 days","notes":"My notes","orderNumber":"Order number","order_one":"Order","order_other":"Orders","packageLabel":"Package label","partner_one":"production","paymentType":"Payment order","placed":"Your order has been successfully placed","placedBy":"Placed by","reference":"Order reference","refinementType":"Refinement order","removeAddressText":"Do you want to remove the address and its shipments?","removeAddressTitle":"Remove address and shipments?","removeAddressYesOption":"Remove address","repeat":"Repeat","sendOrderDocument":"Send order document","setPublicOrderAsCompletedDescription":"This will mark the order as completed and no further deliveries can be added. A message will be sent to the customer.","setPublicOrderAsCompletedTitle":"Are you sure you want to complete the order?","setPublicOrderAsCompletedYesOption":"Yes, mark order as completed","showEditArticles":"Show/edit articles ({{count}})","skuEditorDisabledTitle":"An order can only contain shipments if it has been put into production. In this mode, only the delivery addresses can be changed.","status":"Order status","statusCreated":"Created","statusFailed":"Failed","statusPlaced":"Placed","system":"System","table":"Order table","thankYou_message_customerApproval":"We have received your response and will get back to you within 24 hours. If you have any questions, please send us a message above!","thankYou_message_rejectToCustomer":"We have received your update and will get back to you within 24 hours. If you have any questions, please send us a message above!","track":"Track","type":"Order type","viewOrders":"View and manage orders.","wrongPasswordTryAgain":"The password you entered is incorrect. Please try again."},"orderstatuses":{"approved":"Approved","awaitingCustomer":"Awaiting Customer","customerChanges":"Customer Changes","customerRejected":"Rejected by customer","deliveryChanged":"Delivery Changed","expressOrder":"Express Order","inProduction":"In Production","pinned":"Pinned","rejected":"Rejected to {{siteName}}","unhandled":"Unhandled"},"orientation":{"landscape":"Landscape","orientation":"Orientation","portrait":"Portrait"},"part":{"all":"All subparts","part":"Part","partQty":"Qty in part","partSizes":"Split article"},"pdf":{"aboutUsPage":"About us","careCertPage":"Care instructions / Certifications","careInstructions":"Care instructions","certifications":"Certifications","content":"Content","coverPage":"Cover page","description":"Description","download":"Download PDF","fabrics":"Material","fullPage":"Full page","offerItemPrice":"Offer price","offertPage":"Offer","pdf":"PDF","pdfLoading":"Please wait while we prepare your document","preview":"Preview","productPage":"Products","quantity":"Quantity","recommendedPrice":"Recommended price","refinementPage":"Refinements","sizeGuides":"Size guides","tableOfContent":"Table of content","terms":"Terms","termsTitle":"Terms","titlePage":"Title page","warnCareWithRefinement":"Once your garment is personalized, the original washing instructions no longer apply!","weight":"Weight"},"pdfImages":{"environmentImages":"Environment images","errorRequestSent":".","failedLoadPreview":"Failed to load images","highResolution":"4000px (High resolution)","imageAltText":"","imageResolution":"Image resolutions","loadPreview":"Loading products, please wait...","noProducts":"No products...","preferredFileType":"Preferred file type","preview":"1000px (Preview)","productImages":"Product images","sendEmail":"Send e-mail","showAll":"Show all images","standardResolution":"2000px (Standard resolution)","sucessRequestSent":"Request has been sent and a zip file with the images will be sent to your e-mail.","thumbnail":"200px (Thumbnail)","webpInfo":"WebP will be used where available to preserve transparency"},"placement":{"":"","_Button1":"Button 1","_Button2":"Button 2","_Button3":"Button 3","_Button4":"Button 4","_Button5":"Button 5","_ChestPocketLeft":"Chest Pocket Left","_ChestPocketRight":"Chest Pocket Right","_Front":"Front","_Generic":"Generic","_InnerSide":"Inner Side","_Left":"Left","_OuterSide":"Outer Side","_Right":"Right","_SidePocketLeft":"Side Pocket Left","_SidePocketRight":"Side Pocket Right","_SleeveLeft":"Sleeve Left","_SleeveRight":"Sleeve Right"},"pmsColorPicker":{"inactivateColor":"Inactivate color","searchPlaceHolder":"PMS color","searchZeroContent":"No PMS color matches search query"},"price":{"amount":"Amount","amountIncVat":"Amount (inc. vat)","applyCustomer":"Apply partner price","customer":"Partner price","customerPrice":"Customer price","latestPrice":"Latest price","noPrice":"Price unavailable","orderpricelist":"Order pricelist","price":"Price","priceSt":"Price / pc","priceSuggestion":"Price suggestion","pricelists":"Pricelists","prices":"Prices","purchasePrice":"Purchase price","regular_short":"Reg. price","retail":"Retail","retailAndCustomer":"Retail and customer","rrp_long":"Recommended price","rrp_short":"RRP","selectedArticle":"Selected article price","selectedRefinement":"Selected refinement price","showNoPrice":"No prices","subTotal":"Subtotal","tiered":"Tiered price","totalCart":"Cart summary","totalValue":"Total Value","total_exVat":"Total (excl. VAT)","total_incVat":"Total (incl. VAT)","vat":"VAT","vatConsumer":"VAT"},"product":{"_capacity":"Capacity","_closure":"Closure","_colorComment":"Color comment","_country":"Country of origin","_designer":"Designer","_diameter":"Diameter","_fabrics":"Material","_gender":"Gender","_height":"Height","_hoodDetails":"Hood details","_length":"Length","_limitedEdition":"Limited Edition","_measure":"Measurements","_neckline":"Neckline","_packaging":"Packaging","_pockets":"Pockets","_presentationDate":"Presentation date","_printCode":"Print Code","_sleeve":"Sleeve","_techniqueComment":"Technique comment","_volume":"Volume","_weight":"Weight","_width":"Width","add":"Add product","addRemove":"Add / Remove articles","approveArticles":"Approve Articles","articleNumber":"Article number","article_one":"Article","article_other":"Articles","care":"Care instructions","certificates":"Certificates","colors":"colors","composition":"Composition","document":"Document","downloadImage":"Download image","downloadImages":"Download images","features":"Features","info":"Product information","missingSkus":"Missing articles","name":"Name","noProducts":"No products","orderDifference":"Order difference","pdfDownload":"Download PDF","product_one":"Product","product_other":"Products","products":"Products","related":"Related products","relatedGender":"Also available as","related_short":"Related","replacement":"Alternative","search":"Search product","searchPlaceholder":"Eg productnumber or name","searchPlaceholderProduct":"Eg productnumber or name","show":"Show products","showLessColors":"Show less colors","transfer":"Transfer","unwantedSkus":"Unknown articles"},"productAddImagesAfter":"{{added}}/{{max}} (optional)","productTag":{"new":"New","newVariation":"New Color","outlet":"Outlet","outletVariation":"Color on sale","sustainable":"Sustainable","upcoming":"Upcoming","upcomingVariation":"Upcoming Color"},"production":{"refinement_one":"Handling"},"proof":{"proof":"Proof","proof_one":"Design","proof_other":"Designs","service":"We create a design proof for you"},"refinement":{"add":"Add process options","addon":"Addon","addonVariations":"variations","articleAddedToDraftInfo":"The article has been saved as a draft. Your articles can be found in the control panel on the left, under the \\"Articles\\" section.","articleDraftSuggestionInfo":"An article will be saved and stored as a draft in the \\"Articles\\" section, available for later order. The price stated is only indicative.","autoAdjustedPlacements":"Please note that other placements have been adjusted automatically..","awaitingDelivery":"Waiting for products","awaitingDeliveryAction":"Waiting for products","choose":"Choose process options","colorBacking":"Backing color","colorChange":"Color change","colorChangeColor":"","commentDescription":"Other requests","completed":"Products processed","completedAction":"Products processed","create":"Create refinement","createArticleDraft":"Create article draft","createTextElement":"Create text element","customerPublicOrderConfirmSubmit":"Thanks! Customer service will now review your order and a message will be sent when the order is approved.","customerPublicOrderInstructions":"Read the message from customer service in the associated log. Click below to open the configurator, change and save. When you are done. Click send and feel free to attach a comment. If you have further questions about the order or lack instructions, just send a comment. Customer service will quickly review your changes and you will be notified when the order is approved.","customerPublicOrderPriceWarning":"Note! The items in the order have changed and a new order confirmation will be sent out.","deliverNowAndOnwards":"Now and ongoing","deliverWhenInStock":"When all in stock","delivered":"Products dispatched","deliveredAction":"Products dispatched","downloadPreviewImage":"Download preview image","errorNoAvailableRefinements":"This product is currently not possible to process.","expected":"Expected delivery","fixedTextPlaceholder":"Your text here","inProgress":"In progress","invalidTransferAmount":"Invalid number for transfer order! Please enter a correct amount in even steps of {{stepQuantity}}. Adjust your input and try again.","latest":"Latest","message":"Message","messages":"Messages","minQuantityWarning":"Note! The minimum charge is for {{minQuantity}} {{articles}} and it therefore leads to a higher unit price for the selected number.","mountings":"mountings","nameAndTags":"Name and labels","new":"New refinement","noSplitPlaceInfo":"Add refinements here that should be placed on all sizes of the variant/angle.","objectSizeChangedWarning":"The size of the object has changed, please check that the size above is correct.","otherInformation":"Miscellaneous","pin":"Pin","placementDescription":"Here you specify how your enhancement should be applied. If you want more surfaces and locations, you need to create additional refinements.","placement_one":"Placement","placement_other":"Placements","positionAutoAdjusted":"The image has been automatically adjusted to a surface. Use the arrow keys to adjust, or click the magnet to disable.","proofFinalAcceptText":"I accept my original/sketch as final design proof. No proof will be sent to me on this offer.","readyForInvoice":"Ready for invoice","refinement_one":"Refinement","refinement_other":"Refinements","reject":"Reject","rejected":"Rejected","rejectedAction":"Rejected","review_proof":"Open and review your proof below","send":"Send","sendForReviewApprove":"Send for customer approval","sender":"Sender","sourceInfo":"","sourceInfo_Analysis":"The system has interpreted the color.","sourceInfo_Custom":"The customer has chosen the color themselves.","sourceInfo_File":"The file has defined the color.","startCost":"Start cost","uploadFile":"Upload file","userProof":"User proof","variableTextPlaceholder":"Your example text here","warnRepeatChanged":"This is a repeat refinement. If you save any changes, it will no longer be a repeat order and prices might change."},"refinementsSelector":{"errorIncompatible":"The file cannot be handled by selected type: {{selectedProduct}}. Do you want to change process option?","errorNoCompatible":"Your selected file cannot be applied on any of the refinements on this product. Please select another file or contact us for more help!","title":"Add an already created refinement"},"reseller":{"change":"Change reseller","errorNotFound":"We cannot find any reseller connected to your address. Please make sure that it is correct or search reseller below.","externalSupplier":"External supplier","openHours":"Opening hours","reseller_one":"Reseller","reseller_other":"Resellers","search":"Find your reseller","searchAgreement":"If you have an agreement, search by your company id","showAllResellers":"Show all resellers","suggestionFrom":"We have suggested reseller based on","suggestionInfo":"Please fill in your address to find a reseller near you."},"salesBoard":{"salesBoard":"Sales board","section":"","section_budget":"Budget","section_compare":"Previous period","section_leaderboard":"Leaderboard","section_topOrders":"Top Orders","section_topProducts":"Top Products","section_totalValue":"Total Value","section_visits":"Visits"},"search":{"empty":"No hits","search":"Search"},"seller":{"customer":"Customer","customerShops":"Customer Microshops","customers":"Customers","erpNumber":"Customer number","exportedFiles":"Exported files","loggedInAs":"Logged in as","noCustomers":"No customers added","openAs":"Open as","orderMonitoring":"Order monitoring","orderMonitoringEmpty":"You have not added any customers to monitor their orders yet. Enter customer number below to start monitoring.","orderMonitoringInfo":"Here you can follow your customer\'s orders. Every time a customer makes an order, you will receive a notification to your e-mail.","orderMonitoringNotificationInfo":"Notifications are sent to: ","orderMonitoringRemoved":"Customer {{sub.customerName}} ({{sub.customerCode}}) will no longer be monitored.","partnerOverview":"Partner overview","selectCustomer":"Select customer","seller":"Seller","signOutCustomer":"Sign out customer","warnSellingDisabled":"Prices and delivery information on this page are not affected by the assumed customer above. You can connect the customer below."},"shipment":{"address":"Delivery address","addressesAndShipmentsTitle":"Addresses and shipments","date":"Dispatch date","deliveryOptional_other":"Additional Services","deliveryQuantity":"Delivery quantity","deliveryType":"Delivery type","delivery_one":"Delivery","delivery_other":"Deliveries","dispatchNote":"Dispatch notification","emailInfo":"The specified email address is used to send out dispatch notification and or a simplified order confirmation (without prices)","info":"Shipment information","manualDelivery":"Manual delivery","new":"New address","packageLabel":"Package label","qtyArticles":"{{count}} articles","qtyShipments":"{{count}} shipments","receiver":"Receiver","requestDate":"Request dispatch date","requestDateChange":"Do you want to change dispatch date?","requestedDate":"Requested date","sendTo_one":"Send to one address","sendTo_other":"Send to multiple addresses","shipment":"Shipments","simplifiedOrderConfirm":"Simplified order confirmation","tracking":"Track your order","trackingCarrier":"Carrier","trackingNumber":"Tracking number","trackingService":"Service","trackingUrl":"Tracking url","transportType":"Transport type","warningLongDelivery":"Note del. date","yourOrderNumber":"Your ordernumber","yourReference":"Your reference"},"size":{"allowedMinMax":"Allowed size: {{min}}-{{max}}","large":"Large","size":"Size","sizeguide":"Size guide","small":"Small"},"sort":{"relevance":"Relevance"},"status":{"accepted":"Accepted","approved":"Approved","approvedAction":"Approved","cancelled":"Cancelled","completed":"Completed shipping","confirmed":"Confirmed","confirmedAction":"Confirmed","draft":"Draft","inproduction":"In production","inprogress":"Shipping in progress","invoiced":"Invoiced","ok":"Ok","onhold":"On Hold","processing":"Processing","rejected":"Rejected","save_error":"An error occurred while saving","saved":"Saved","unconfirmed":"Unconfirmed","unconfirmedAction":"Unconfirmed","waiting":"Waiting"},"stock":{"box":"box","enterQuantity":"Enter quantity","estRefill":"Est. refill","global":"Global","local":"Local","min":"Min:","mounting":"Mounting","operation":"*!Internal - no need to translate*","operation_add":"Add to stock","operation_order":"Order directly","operation_withdraw":"Withdraw from stock","pcs":"pcs","region":"Region","rest":"Rest","stock":"Stock","stockAfterTransaction":"Stock after transactions"},"stockLevel":{"in":"In stock","low":"Low stock","no":"No stock","out":"Out of stock"},"template":{"copy":"Copy from template","copyDescription":"Copy configuration from saved template. This will replace your current configuration","save":"Save as template","saveDescription":"Save current configuration as a template for future use in other documents.","template_one":"Template","warnRemove":"Are you sure that you want to remove the template?","warnTemplateExist":"There is already a template saved with this name. This will overwrite the saved template with current configuration."},"tool":{"noToolsOrServices":"No tools or services added yet","toolsAndServices":"My tools and services"},"unsavedWarning":{"no":"No, discard changes","text":"Your unsaved changes will be discarded. Do you want to save?","title":"Save changes?","yes":"Yes, save"},"user":{"anonymousUsers":"Anonymous users","customerErrorLong":"Could not load customer information for the user. Please try again.","customerErrorShort":"User missing valid customer information","customerNumber":"Customer no.","customerNumberError":"Enter the entire customer number","customerWarningLong":"The customer associated with user does not exist, or information about customer is missing from the user entirely.","customerWarningShort":"No valid customer associatied with user","notLoggedIn":"No user logged in","proceedAsAnonymous":"Proceed as anonymous","refreshFailedText":"For security reasons, you were logged out after a time of inactivity.\\nPress \\"Sign in again\\" to continue shopping.","refreshFailedTitle":"You have been logged out.","register":"Register","registeredUsers":"Registered users","salesContact":"Sales contact","signIn":"Sign in","signInAgain":"Sign in again","signInToOrder":"Sign in to order","signOut":"Sign out","user_other":"Users","viewAccount":"View account"},"validation":{"allRequiredFields":"Please fill out all required fields","email":"Invalid email","fullNameMaxCharLimit":"First name + Last name must not exceed {{maxLength}} characters","maxCharacterLength":"Input is longer than the allowed maxlength of {{maxLength}} characters","maxLength_one":"Max {{max}} character","maxLength_other":"Max {{max}} character","minCharacterLength":"Input is shorter than the allowed minlength of {{minLength}} characters","mustStartWith":"Value must start with one of the following:","noEmailFound":"No email could be found","phoneInvalid":"Invalid telephone number","phoneLength":"Telephone number must be 8 or 16 digits long","required":"Please select","requiredAccept":"Please accept"},"variableText":{"inputDataUpdated":"Input data has been updated, please download the Excel template and upload it filled.","refinementRowTitle":"Showing {{count}} options of a total of {{of}} loaded","refinementRowTitle_plural":"","validateErrorDesc":"The uploaded file contains incorrect rows. Please correct these and try again.","validateErrorTitle":"{{count}} Validation Errors","validateErrorTitle_plural":"","validateSuccessDesc":"Click to change preview.","validateSuccessTitle":"Texts verified"},"warning":{"attention":"Attention!","changesPartlyDisabled":"Further changes partly disabled","note":"Note!","refinementWarnings":"General, color and article refinement warnings where applicable.","showWarningTexts":"Show warning texts"}}'),l=JSON.parse('{"action":{"actions":"Acciones","add":"A\xf1adir","apply":"Aplicar","back":"Retroceder","cancel":"Cancelar","change":"Cambiar","change_one":"","change_other":"","clear":"Limpiar","configure":"Configurar","continue":"Continuar","continueWithoutSaving":"Continuar sin guardar","copy":"Copiar","create":"Crear","download":"Descargar","duplicate":"Duplicar","edit":"Editar","export":"Exportar","fullScreen":"Pantalla Completa","message":"Mensaje","ok":"Ok","open":"Abrir","pending":"Pendiente","published":"Publicado","rearrangeBoxes":"","refresh":"Actualizar","remove":"Quitar","rename":"Renombrar","replace":"Reemplazar","save":"Guardar","saveWarningText":"Tiene que guardar los cambios antes de continuar. \xbfDesea guardar?","saveWarningTitle":"\xbfGuardar cambios?","select":"Seleccionar","selectOne":"Selecciona uno","showBoxes":"","sort":"Ordenar","submitChanges":"Guardar los cambios","submitQuestionComment":"","undo":"Deshacer"},"angle":{"":"","_back":"Atr\xe1s","_closeup1":"Primer plano 1","_closeup2":"Primer plano 2","_closeup3":"Primer plano 3","_front":"Frente","_left":"Izquierda","_other":"Otro","_right":"Derecha"},"archived":{"archive":"Archivar","archived":"Archivado","articleArchived":"El articulo ha sido archivado","collectionArchived":"Colecci\xf3n archivada","notArchived":"No archivado","remove":"Quitar del archivo"},"article":{"articleMonitoring":"","configureAndAdd":"Configurar y a\xf1adir al carro","deleteWarning":"","description":"Aqu\xed puede acceder a sus art\xedculos que ha comprado","filters":"","filters_archived":"Archivado","filters_category":"Categor\xeda","filters_products":"Productos","filters_status":"Estatus","filters_stock":"Stock","new":"","noHitsContent":"No se encontraron art\xedculos con los criterios de b\xfasqueda introducidos","noHitsHeader":"Sin resultados","notDefined":"","orderMonitoringMinNum":"","show":"Mostrar art\xedculos","submitApproval":""},"assortment":{"category_one":"Categor\xeda","category_other":"Categor\xedas"},"bookmark":{"noPages":"A\xfan no se han agregado p\xe1ginas","pages":"p\xe1ginas","pagesAndTools":"P\xe1ginas y herramientas","saveAsFavorite":"Guardar favoritos","tools":"herramientas"},"brightness":{"dark":"","light":""},"calendar":{"agenda":"Agenda","allDay":"Todo el d\xeda","date":"Fecha","day":"D\xeda","event":"Evento","events":"Eventos","importantDates":"Fechas importantes","month":"Mes","next":"Siguiente","noEventsInRange":"No hay eventos en este rango de fechas.","previous":"Atr\xe1s","previousEvents":"Eventos anteriores","previousYear":"A\xf1o anterior","showAsCalendar":"Mostrar como calendario","showAsList":"Mostrar como lista","time":"Tiempo","today":"Hoy","tomorrow":"Ma\xf1ana","week":"Semana","workWeek":"Semana laboral","year":"A\xf1o","yesterday":"Ayer"},"campaign":{"code":"C\xf3digo de campa\xf1a","error":"C\xf3digo de campa\xf1a inv\xe1lido"},"cart":{"addVariation":"A\xf1adir variaci\xf3n","add_one":"A\xf1adir a la cesta","add_other":"A\xf1adir productos a la cesta","addressSelected_one":"","addressSelected_other":"","agreementInfo":"Nunca compartiremos su correo electr\xf3nico, direcci\xf3n o cualquier otra informaci\xf3n personal con nadie.","allowSplit":"\xbfAcepta la entrega parcial?","cart":"Cesta de la compra","checkout":"Realizar pedido","checkout_request":"Realizar solicitud de pedido","chooseQuantity":"Elija la cantidad","configureCheckout":"","continueShopping":"Seguir comprando","createOffer":"Crear oferta","created":"Cesta de compra creada","depositToStock":"","depositToStockMinText":"","discount":"Descuento","doPayment":"Autorice pago","empty":"Su cesta est\xe1 vac\xeda","emptyDo":"Vaciar cesta","emptyFavourite":"Mantenga un registro de sus productos favoritos aqu\xed haciendo clic en el ","errorCouldNotCalculateRow":"Hubo un problema al confirmar sus precios \xfanicos. Se muestra el \xfaltimo precio conocido del producto, si est\xe1 disponible.","errorCouldNotCalculateTotal":"Hubo un problema al confirmar sus precios \xfanicos y el importe total del pedido. A\xfan puede realizar el pedido y encontrar\xe1 sus precios en la confirmaci\xf3n del pedido.","errorInvalidProducts":"Algunos productos no son compatibles en el mismo pedido. Los productos no v\xe1lidos permanecer\xe1n en el carrito, pero no se incluir\xe1n en el pedido actual.","errorInvalidSku":"Inv\xe1lido: el art\xedculo no existe.","errorSelectReseller":"Por favor seleccione el distribuidor","favourite":"Favoritos","minAmount":"Requiere una cantidad m\xednima de 40 Euros.","minOrderQty":"Cantidad m\xednima de pedido","minOrderQtyInfo":"Si desea cambiar a una cantidad m\xednima, primero debe agregar m\xe1s a unidades al otro tama\xf1o.","new":"Nueva cesta","noFavourite":"Ning\xfan favorito todav\xeda.","orderAndDelivery":"","payment":"Pago","paymentCancelled":"Se cancel\xf3 el pago, intente nuevamente o seleccione un m\xe9todo de pago diferente ","paymentError":"Error de pago, intente nuevamente o seleccione un m\xe9todo de pago diferente","paymentrefused":"El pago fue rechazado, int\xe9ntelo con otro m\xe9todo de pago","qtyAdjustedByArticleQuantity":"\xa1Atenci\xf3n! La cantidad de montaje excede el saldo de stock del art\xedculo y el carrito se ajustar\xe1.","quantity":"Cantidad","quickAdd":"A\xf1adido r\xe1pido (.CSV)","removeVariation":"Quitar variaci\xf3n","saveToArticles":"","saveToCart":"","specification":"Especificaci\xf3n de precio","startShopping":"Comience a comprar o use el a\xf1adido r\xe1pido y agregue art\xedculos.","swishButton":"Abrir la aplcaci\xf3n swish","swishInfo":" Para completar su pedido, escanee el c\xf3digo QR en la aplicaci\xf3n swish.","toCart":"Confirmar la cesta de la compra","toastDismissNoOption":"No gracias","toastDismissText":"\xbfQuieres deshabilitar las notificaciones cuando cambie la cesta de la compra?","toastDismissYesOption":"Si, deshabilitar","totalSkus":"Total","validationErrorHigher":"Se han a\xf1adido demasiados productos","validationErrorLower":"Se han a\xf1adido pocos productos","warnNoStockAfterTransaction":"","warningCancelPayment":"Pago cancelado. Int\xe9ntalo de nuevo.","warningOrderDisabled":"Falta autorizaci\xf3n para realizar el pedido. Por favor, contacte con el servicio de atenci\xf3n al cliente.","warningPriceOverride":"","warningPriceOverrideEnabled":""},"cartFee":{"admin":"Gastos administrativos","freight":"Gastos de transporte","insurance":"Gastos de seguro","invoice":"Gastos de factura","postage":"Gastos de env\xedo","shipping":"Gastos de env\xedo "},"collection":{"collection_one":"Colecci\xf3n","collection_other":"Colecciones","deleteWarning":"\xbfEst\xe1s seguro de que quieres eliminar la colecci\xf3n {{name}}?","description":"Aqu\xed tienes las colecciones de productos con dise\xf1os personalizados.","noContent":"\xa1Comienza a A\xf1adir dise\xf1os!","noHitsContent":"No se encontraron colecciones con los t\xe9rminos de b\xfasqueda introducidos","noSkuWarning":"Los siguientes art\xedculos no tienen disponibilidad y se eliminar\xe1n: ","refinementsRemovedWarning":"Los siguientes dise\xf1os solo se aplican a este art\xedculo y tambi\xe9n se eliminar\xe1n: ","show":"Mostrar colecciones","upgrade_product":"A\xf1adir un dise\xf1o","variations_one":"Variante","variations_other":"Variantes"},"color":{"color_one":"Color","color_other":"Colores","errorNotEnough":"Seleccione al menos un color.","errorTooMany":"Demasiados colores para el acabado elegido. Elimine/combine colores o elija un tipo de acabado que admita m\xe1s colores.","interpretedByTool":"interpretado por la herramienta","interpretedFromFile":"desde tu archivo","interpretedTitle":"Colores PMS seleccionados","toolInterpretedColors":"La herramienta ha elegido los siguientes colores:","warnInterpreted":"\xa1Atenci\xf3n! Los colores de la imagen son seleccionados por la herramienta y pueden verse diferentes en diferentes pantallas. Aseg\xfarese de que los c\xf3digos de color coincidan correctamente.","warningAutoBackingColorApplied":"","warningAutoBackingColorNone":""},"colors":{"amber":"Ambar","blue":"Azul","blueGrey":"Gris azulado","brown":"Marr\xf3n","cyan":"Azul cian","deepOrange":"Naranja oscuro","deepPurple":"Morado oscuro","green":"Verde","grey":"Gris","indigo":"\xcdndigo","lightBlue":"Azul claro","lightGreen":"Verde claro","lime":"Lima","orange":"Naranja","pink":"Rosa","purple":"Morado","red":"Rojo","teal":"Verde azulado","yellow":"Amarillo"},"confirmation":{"remove":"Si, quitar"},"contact":{"address":"Direcci\xf3n","city":"Poblaci\xf3n","company":"Empresa","companyNumber":"CIF de la empresa","companyText":"Texto libre","contactName":"Nombre de contacto","contactUs":"Cont\xe1ctenos","country":"Pa\xeds","customerContact":"Informaci\xf3n de contacto del servicio de atenci\xf3n al cliente","customerContactUs":"\xa1P\xf3ngase en contacto con el servicio de atenci\xf3n al cliente para obtener m\xe1s informaci\xf3n!","customerSupport":"Atenci\xf3n al cliente","email":"E-mail","firstName":"Primer apellido","lastName":"Segundo apellido","name":"Nombre","phone":"N\xfamero de telefono","postalCode":"C\xf3digo postal"},"error":{"cellRowCol":"Fila {{row}}, columna ({{col}}):","code":"","code_InvalidFormat":"Formato inv\xe1lido.","code_NoValue":"\xa1Campo obligatorio!","code_ToLong":"\xa1Demasiado largo!","error":"\xa1Error!","general":"Algo sali\xf3 mal, int\xe9ntalo de nuevo o ponte en contacto con atenci\xf3n al cliente."},"excel":{"activeConfiguration":"Configuraci\xf3n activa","browserExport":"El archivo se est\xe1 generando. Esto puede tardar varios minutos seg\xfan la cantidad de datos que se est\xe9n exportando.","columnRemovalDescription":"Al cambiar a un nivel de exportaci\xf3n inferior, se eliminar\xe1n algunas columnas. \xbfDesea continuar?","columnRemovalNo":"No, mantener columnas","columnRemovalTitle":"Cambiar nivel de exportaci\xf3n","columnRemovalYes":"S\xed, quitar columnas","columns":"Columnas","customerPriceDate":"","download":"Descargar archivo de Excel","downloadCancelled":"Descarga cancelada.","emailExport":"El archivo se est\xe1 generando y se enviar\xe1 a su correo electr\xf3nico cuando est\xe9 listo. Esto puede tardar varios minutos seg\xfan la cantidad de datos que se est\xe9n exportando.","excel":"Excel","exportLevel":"Nivel de exportaci\xf3n","failedLoadPreset":"Error al cargar la configuraci\xf3n preestablecida","failedLoadPreview":"Error al cargar los datos de vista previa","generate":"Enviar archivo de Excel por correo electr\xf3nico","languages":"Idiomas","name":"Nombre","noConfigurations":"No hay configuraciones guardadas","noLanguage":"Se utilizar\xe1 su idioma predeterminado","savedConfiguration_one":"Configuraci\xf3n guardada","savedConfiguration_other":"Configuraciones guardadas","tabs":"Agrupar en pesta\xf1as de Excel por columna","toggleConfiguration":"Haga clic en una configuraci\xf3n para activarla o desactivarla","units":"Unidades"},"export":{"added":"A\xf1adido a la exportaci\xf3n","chosen_product":"Producto elegido para exportaci\xf3n","chosen_products":"Productos elegidos para exportaci\xf3n","fileExportCompleted":"","fileExportFailed":"","images":"Im\xe1genes","price":"Precio","product":"Producto","removed":"Eliminado de la exportaci\xf3n","search_in":"Buscar en","sku":"Art\xedculo / SKU","thresholdWarning":"","variation":"Variante / Color","various_search":"Buscar en varias categor\xedas"},"file":{"allowedType":"Tipos de archivo permitidos","attachments":"Archivos adjuntos","dragAndDropOrBrowse":"Arrastre y suelte o <u>explore</u>","draggingSingleText":"Suelte un archivo aqu\xed para cargar","draggingText":"Suelte archivos aqu\xed para cargar","file_other":"Archivos","filename":"Nombre del archivo","none":"A\xfan no se ha subido ning\xfan archivo. \xa1Agregue algunos archivos!","processFileError":"No se pudo procesar el archivo.","processFileErrorFileSize":"El archivo no se puede cargar; excede el tama\xf1o m\xe1ximo permitido de {{value}}MB.","processingFileUpload":"Procesando carga de archivo...","supported":".jpg, .jpeg, .png, .gif, .pdf and .svg. Max 5Mb."},"filter":{"filter":"Filtro","filter_accessories":"Accesorios","filter_activity":"Actividad","filter_brand":"Marca","filter_care":"Instrucciones de lavado","filter_category":"Categor\xeda","filter_certification":"Certificaciones","filter_color":"Color","filter_designer":"Dise\xf1ador","filter_feature":"Caracter\xedsticas","filter_female":"Mujer","filter_fit":"Fit","filter_gender":"G\xe9nero","filter_male":"Hombre","filter_material":"Material T\xe9cnico","filter_neckline":"Tipo de cuello","filter_other":"Filtros","filter_outlet":"Outlet","filter_range":"Rango","filter_retail":"","filter_season":"Temporada","filter_sleeve":"Tipo de manga","filter_theme":"Tema","filters":"Filtros"},"general":{"add":"A\xf1adir","agreeTo":"De acuerdo con","all":"Todo","auto":"Automatico","basis":"","cantChange":"No puede ser cambiado","changed":"Cambiado","close":"Cerrar","collapseAll":"Colapsar todo","columns":"Columnas","comment":"Comentario","commentSet":"fijar comentario","compact":"Compactar","created":"Creado","custom":"","description":"Descripci\xf3n","dontShowAgain":"No mostrar de nuevo","email":"Email","endDate":"Fecha final","enterPassword":"Ingrese la contrase\xf1a para continuar.","expand":"Expandir","expandAll":"Expandir todo","expires":"","favourites":"Favoritos","font":"","full":"","hide":"Ocultar","hideAllPages":"Ocultar todas las p\xe1ginas","language":"Idioma","limitedToCharacters":"Limitado a {{characters}} caracteres.","limitedToInteger":"Limitado a n\xfameros.","limitedToLetters":"Limitado a letras.","limitedToLettersUpper":"Limitado a letras may\xfasculas.","log":"Acceder","logotype":"","maintenance":"\xa1Informaci\xf3n importante! Debido a mantenimiento programado, nuestro sistema comercial estar\xe1 no disponible aproximadamente desde las 8:00 AM del 13 de abril. Pedimos disculpas por cualquier inconveniente e informamos que el sitio web no funcionar\xe1 normalmente durante este per\xedodo. Esperamos volver a la operaci\xf3n normal en unas pocas horas y apreciamos su paciencia.","mandatory":"Obligatorio","minimize":"Minimizar","name":"Nombre","new":"Nuevo","no":"No","none":"Ninguno","notifications":"Notificaciones","password":"Contrase\xf1a","readMore":"Leer m\xe1s","safety":"Seguridad","saveAndClose":"","selected":"Seleccionado","settings":"","show":"Mostrar","showAllPages":"Mostrar todas las p\xe1ginas","show_all":"Mostrar ","show_less":"Mostrar menos","show_more":"Mostrar m\xe1s","skipToContent":"","standard":"Est\xe1ndar","startDate":"Fecha inicio","status":"Estado","subTitle":"Subtitulo","summary":"Resumen","tag_one":"Etiqueta","tag_other":"Etiquetas","terms":"T\xe9rminos y condiciones","text":"Texto","text_other":"Textos","thankYou":"Gracias","title":"T\xedtulo","to":"","tools":"Herramientas","total":"Total","type":"","updated":"Actualizado","url":"Url","view":"Vista","weOffer":"Oferta","yes":"Si"},"image":{"angle_one":"","angle_other":"","environment":"Entorno","image_one":"Imagen","image_other":"Im\xe1genes"},"invoice":{"address":"Direcci\xf3n de facturaci\xf3n","credit":"Orden de cr\xe9dito","invoice_one":"Factura","invoice_other":"Facturas"},"logoAppTools":{"asset":"A\xf1adir nuevo recurso"},"microshop":{"CustomerNumberSecurityInfo":"La opci\xf3n de seguridad debe estar activada.","accentColor":"Color Detalles","activate_units":"","addAddon":"A\xf1adir complemento","addCategory":"A\xf1adir categor\xeda","addMasterDeliveryAddress":"","addNewUsers":"Agregar nuevos usuarios","addUnit":"Agregar nueva unidad","addons":"Complementos","administrator":"Administrador","agreement":"Agradecimientos","allProducts":"Todos los productos","alternativeUnitCertifier":"Certificador alternativo","approval":"","assortment":"Surtido","assortmentAvailableVariationsAdded":"","backgroundImage":"Imagen de fondo","bodyFont":"Fuente del cuerpo","budget":"Presupuesto","budget_approval":"","cancelMasterOrderWarning":"\xbfEst\xe1s seguro de que deseas cancelar el pedido maestro? {{masterOrder}}","cantDeleteWarning":"Tiene pedidos y/o pedidos maestros y no se pueden eliminar.","categoryExists":"Ya existe una categor\xeda con ese nombre, elija otro nombre","changeOwner":"Cambiar propietario","changeTo":"Cambiar a","column":"Columna","confirmDelete":"Confirmar eliminaci\xf3n","confirmMasterOrder":"Confirmar pedido maestro","content":"Contenido","copyShop":"Copiar datos de una tienda existente","create":"Crear nueva microtienda","createMasterOrder":"Crear pedido maestro a partir de los pedidos seleccionados","createUser":"Crear nuevo usuario","currency":"Moneda","currentOwner":"Propietario actual","custom":"personalizado","customerInputNone":"Ninguno","customerInputNumber":"N\xfamero","customerInputText":"Texto","customerInputType":"Nueva entrada de cliente","databaseError":"Error de base de datos","deleteProduct":"Eliminar producto","deleteSelectedOrder":"Eliminar los pedidos selecionados","deleteUnit":"Eliminar unidad","deleteUnitWarning":"Eliminar tu cuenta eliminar\xe1 permanentemente todos tus datos, incluidos todos los usuarios, tus configuraciones y todo el contenido que has creado. Esta acci\xf3n no se puede deshacer.","deleteWarning":"\xbfEst\xe1 seguro de que desea eliminar la microtienda? {{name}}","departmentUnit":"departamento/unidad","descOptionCombine":"Combinar","descOptionDefault":"Por defecto","direct_orders":"","disable_units":"","displayOptions":"","emailWarning":"Correo electr\xf3nico no v\xe1lido. Por favor, revise errores tipogr\xe1ficos, de ortograf\xeda y que el correo electr\xf3nico exista en la microtienda seleccionada.","emptyAssortments":"No hay surtidos disponibles","emptyProducts":"No se encontraron productos","error":"\xa1Ha ocurrido un error!","excelTemplate":"Plantilla de Excel","excelTemplateDescription":"Puede descargar el ejemplo adjunto y utilizarlo como punto de partida para su propio archivo.","files":"Archivos","filesUploaded":"File(s) Archivos cargados y guardados","footColor":"Color pie de p\xe1gina","footer":"Pie de p\xe1gina","freeShipping":"Env\xedo gratuito por encima del importe","general":"General","handleProductsSettings":"Administrar precios, complementos y categor\xedas.","headerFont":"Fuente del encabezado","import":"Importar","individual":"Individual (SEK)","input":"Entrada","invalidUrl":"La URL ya est\xe1 en uso o contiene un punto, elija una URL diferente","legalNotice":"Aviso legal","lightnessColor":"Brillo","logotype":"Logotipo","look":"Aspecto","mainColor":"Color principal","main_orders":"","many_size_products":"","masterOrder":"","microshop":"Microtienda","microshop_other":"Microtiendas","missingEmail":"Falta el correo electr\xf3nico","missingMicroshop":"Falta la microtienda","missingShopUnitName":"Falta el nombre de la unidad de tienda","missingUser":"Faltan usuarios","new_unit":"Nueva Unidad","noFilters":"No hay filtros disponibles","noHitsContent":"No se encontraron microtiendas con los criterios de b\xfasqueda Introducidos","noMicroshopFound":"No se encontr\xf3 la microtienda","noOrders":"Sin pedidos","noOrdersExplanation":"Tu tienda no contiene {{orderText}}.","noUserDescription":"Cree nuevos usuarios aqu\xed, o importe!","noUsers":"No hay usuarios a\xfan","notificationOptionDaily":"Resumen diario","notificationOptionInstant":"Correo electr\xf3nico instant\xe1neo","notificationOptionNone":"Ninguno","notificationsTitle":"Notificaciones de pedido","one_size_product":"","orderDeleteWarning":"\xbfEst\xe1s seguro de que quieres eliminar este pedido?","orderPrices":"Pedidos y Precios","order_flow":"","ordered":"Pedido creado","orderrNotificationExplanation":"La notificaci\xf3n por correo electr\xf3nico se env\xeda a {{email}}","ordersDeleteWarning":"\xbfEst\xe1 seguro de que desea eliminar los pedidos seleccionados?","pendingOrders":"Pedidos pendientes","points":"puntos","priceModel":"precio del modelo","priceOptionFixed":"Precio fijo","priceOptionNone":"Ninguno","priceOptionRetail":"Basado en precio Recomendado","privacyPolicy":"Pol\xedtica de privacidad","productAddImages":"A\xf1adir im\xe1genes","productName":"Nombre del producto","productNumber":"N\xfamero de producto","productQuantity":"Cantidad por producto","readyForImport":"El archivo est\xe1 listo para importarse. Contin\xfae haciendo clic en \'Importar\'.","refinementsAndAddons":"Marcajes & complementos","requiresattestation":"Requiere atestaci\xf3n","retailModifier":"Margen PVP","retailPrice":"Precio Recomendado","retailPriceExplanation":"Cada producto que se agregue a la tienda obtendr\xe1 un precio basado en el precio recomendado del producto. El precio se multiplica por el n\xfamero que se indica a continuaci\xf3n","role":"Rol","row":"Fila","saved":"Tus cambios han sido guardados","securityOptionNone":"Sin contrase\xf1a","securityOptionRegister":"El comprador debe crear una cuenta","securityOptionSecregAndRegister":"Registro de cuenta y contrase\xf1a","securityOptionSecret":"Contrase\xf1a secreta","security_protection":"","settings":"Configuraci\xf3n","standard":"est\xe1ndar","standardPrice":"C\xe1lculo de precio est\xe1ndar","totalCustomer":"Costo total, cliente","unit":"Unidad","unitBudgetDepartment":"Departamento (SEK)","unitCertifier":"Certificador","unitDeleteWarning":"\xbfEst\xe1s seguro de que deseas eliminar la unidad seleccionada?","unitName":"Nombre","unitWithChildrenDeleteWarning":"Est\xe1s a punto de borrar la unidad \'{{unitName}}\' y todas las unidades subyacentes. Esta acci\xf3n no se puede deshacer. \xbfQuieres proceder con la eliminaci\xf3n?","units":"Unidades","units_other":"","uploadDone":"\xa1La carga est\xe1 completa!","uploadedFile":"Archivo subido","userInformation":"Informaci\xf3n","value":"Valor","variationExists":"La variaci\xf3n del producto ya existe","vatExcluded":"","vatIncluded":"","vatIsIncluded":"El IVA est\xe1 incluido en los precios","vatNotIncluded":"El IVA no est\xe1 incluido en los precios","visitShop":"Visitar tienda","welcomeMessage":"Mensaje de bienvenida","zeroContentAddons":"No hay complementos para la tienda, cree complementos en la pesta\xf1a \\"{{- tab}}\\".","zeroContentText":"Busque productos o elija entre categor\xedas y favoritos para agregar productos a su surtido.","zeroContentTitle":"A\xfan no hay productos seleccionados."},"microshopUploadErrorCodes":{"databaseError":"","invalidEmailFormat":"Formato de correo electr\xf3nico no v\xe1lido","invalidIsAttestantValue":"Valor de isAttestant no v\xe1lido","invalidManageBudgetValue":"Valor de manageBudget no v\xe1lido","invalidRequiresAttestationValue":"Valor de requiresAttestation no v\xe1lido","invalidRoleValue":"Valor de rol no v\xe1lido","missingMicroshop":"Falta microshop","missingOrIncorrectHeaders":"Faltan o son incorrectos los encabezados","missingShopUnits":"Faltan unidades de tienda","missingUsers":"Faltan usuarios","noDataInFile":"No hay datos en el archivo","noFileSelected":"No se ha seleccionado un archivo","noRowsInFile":"No hay filas en el archivo"},"navigation":{"allIn":"Mostrar","history":"Historial","onThisPage":"En esta p\xe1gina","page":"P\xe1gina","promoted":"Selecionado","start":"P\xe1gina de inicio","toTop":"Volver arriba"},"news":{"new_one":"Nuevo","new_other":"Nuevos","showAll":"Mostrar todos los nuevos"},"newsletter":{"subscribed":"\xa1Suscrito!"},"offer":{"additionalCost":"Coste adicional","additionalCosts":"Costes adicionales","confirmOffer":"Confirmar oferta","daysBeforeReminder":"D\xedas antes del recordatorio","discount":"Descuento","discountInfo":"Todos los productos reciben un descuento en porcentaje.","editName":"Editar nombre","expires":"Fecha de expiraci\xf3n","margin":"Margen","marginInfo":"Todos los productos reciben un margen en porcentaje.","noProductInfo":"Comience agregando productos arriba.","offerPage":"P\xe1gina de la oferta","offerPrice":"Precio de la oferta","offer_one":"","offer_other":"Ofertas","otherTerms":"T\xe9rminos de otras ofertas","publicOffer":"Oferta p\xfablica","remove":"Eliminar oferta","removeConfirmation":"\xbfEst\xe1s seguro de que desea eliminar la oferta?","removePublicUrlAlert":"\xbfDesea eliminar su oferta p\xfablica?","removePublicUrlAlertConfirm":"Si, eliminar.","removePublicUrlAlertContent":"\xbfDesea eliminar tu oferta p\xfablica de la oferta {{name}}?","shareOffer":"Compartir oferta","visitors":"Visitantes","warnExternalCustomerMissing":""},"order":{"addNewAddress":"A\xf1adir nueva direcci\xf3n","adjustment":"Ajuste","allOrdersLast30Days":"","createDelivery_one":"Crear entrega","createDelivery_other":"Crear entregas","createOrder":"Crear pedido","createRepeatOrder":"Crear repetici\xf3n de pedido","createdDeliveries":"Entregas creadas","creditType":"Orden de cr\xe9dito","customerDetails":"Detalles del cliente","deleteWarning":"","deliveryAsc":"","deliveryDate":"","deliveryDesc":"","deliveryNote":"Nota de entrega","deliveryNoteNumber":"N\xfamero de nota de entrega","deliveryType":"Tipo de entrega","downloadDeliveryNote":"Descargar nota de entrega","downloadExcel":"Descargar Excel","entire":"P.ej. n\xfamero de pedido, referencia, etc.","entirePartnerOrders":"","handleAddresses":"Seleccionar direcciones","handleAddressesAndDeliveries":"Seleccionar direcciones y entregas","history":"Historial de pedidos","infoMessage_boxDesign_partnerOverview":"","lastOrder":"Ultimo pedido","masterOrder_other":"Pedidos maestros","noHitsContent":"Recuerde que tiene que buscar por n\xfamero de pedido completo","noHitsHeader":"Sin resultados","noOrdersLast30Days":"","notes":"Mis notas","orderNumber":"N\xfamero de pedido","order_one":"Pedido","order_other":"Pedidos","packageLabel":"Etiqueta del paquete","partner_one":"","paymentType":"Orden de pago","placed":"Su pedido ha sido creado correctamente","placedBy":"Creado por","reference":"Referencia del pedido","refinementType":"Pedido del marcaje","removeAddressText":"\xbfDesea eliminar la direcci\xf3n y sus env\xedos?","removeAddressTitle":"\xbfEliminar direcci\xf3n?","removeAddressYesOption":"Si, eliminar direcci\xf3n","repeat":"","sendOrderDocument":"","setPublicOrderAsCompletedDescription":"Esto marcar\xe1 el pedido como completado y no se podr\xe1n agregar m\xe1s entregas. Se enviar\xe1 un mensaje al cliente.","setPublicOrderAsCompletedTitle":"\xbfEst\xe1 seguro de que desea completar?","setPublicOrderAsCompletedYesOption":"Si, completar pedido","showEditArticles":"Mostrar/editar art\xedculos ({{count}})","skuEditorDisabledTitle":"Un pedido solo puede contener entregas si se ha puesto en producci\xf3n. En este modo, solo se pueden cambiar las direcciones de entrega.","status":"Estado del pedido","statusCreated":"Creado","statusFailed":"Fallido","statusPlaced":"Creado","system":"","table":"Resumen del pedido","thankYou_message_customerApproval":"Hemos recibido su respuesta y nos pondremos en contacto con usted dentro de 24 horas. Si tiene alguna pregunta, por favor env\xedenos un mensaje arriba!","thankYou_message_rejectToCustomer":"Hemos recibido su actualizaci\xf3n y nos pondremos en contacto con usted dentro de 24 horas. Si tiene alguna pregunta, por favor env\xedenos un mensaje arriba!","track":"Seguimiento","type":"Tipo de pedido","viewOrders":"Ver y gestionar pedidos.","wrongPasswordTryAgain":"La contrase\xf1a que ha introducido es incorrecta. Por favor int\xe9ntelo de nuevo."},"orderstatuses":{"approved":"Aprobado","awaitingCustomer":"Esperando al cliente","customerChanges":"Cambios del cliente","customerRejected":"","deliveryChanged":"Cambio de entrega","expressOrder":"Orden express","inProduction":"En producci\xf3n","pinned":"Fijado","rejected":"Rechazado","unhandled":"No manejado"},"orientation":{"landscape":"Horizontal","orientation":"Orientaci\xf3n","portrait":"Vertical"},"part":{"all":"","part":"","partQty":"","partSizes":""},"pdf":{"aboutUsPage":"Acerca de nosotros","careCertPage":"Instrucciones de lavado / Certificaciones","careInstructions":"Instrucciones de lavado","certifications":"Certificationes","content":"Contenido","coverPage":"Portada","description":"Descripci\xf3n","download":"Descargar PDF","fabrics":"Material de fabricaci\xf3n","fullPage":"P\xe1gina completa","offerItemPrice":"Precio de oferta","offertPage":"Oferta","pdf":"","pdfLoading":"Espere mientras preparamos su documento","preview":"Avance","productPage":"Productos","quantity":"Cantidad","recommendedPrice":"precio recomendado","refinementPage":"Marcaje","sizeGuides":"Gu\xeda de tallas","tableOfContent":"Tabla de contenido","terms":"T\xe9rminos","termsTitle":"T\xe9rminos","titlePage":"Titulo de p\xe1gina","warnCareWithRefinement":"Una vez que su prenda est\xe9 personalizada, las instrucciones de lavado originales ya no se aplican.","weight":"Gramaje"},"pdfImages":{"environmentImages":"Im\xe1genes con modelo","errorRequestSent":"Ha ocurrido un error t\xe9cnico y no podemos preparar las im\xe1genes para su descarga. Por favor, p\xf3ngase en contacto con el servicio de atenci\xf3n al cliente.","failedLoadPreview":"Error al cargar las im\xe1genes","highResolution":"4000px (Alta resoluci\xf3n)","imageAltText":"","imageResolution":"Resoluci\xf3n de im\xe1genes","loadPreview":"Cargando productos...","noProducts":"Sin productos","preferredFileType":"","preview":"1000px (Vista previa)","productImages":"Im\xe1genes de productos","sendEmail":"Enviar al correo electr\xf3nico","showAll":"Mostrar m\xe1s im\xe1genes","standardResolution":"","sucessRequestSent":"Estamos preparando las im\xe1genes en un archivo zip y las enviaremos a tu correo electr\xf3nico, puede tomar varios minutos.","thumbnail":"200px (Miniatura)","webpInfo":""},"placement":{"":"","_Button1":"","_Button2":"","_Button3":"","_Button4":"","_Button5":"","_ChestPocketLeft":"","_ChestPocketRight":"","_Front":"","_Generic":"","_InnerSide":"","_Left":"","_OuterSide":"","_Right":"","_SidePocketLeft":"","_SidePocketRight":"","_SleeveLeft":"","_SleeveRight":""},"pmsColorPicker":{"inactivateColor":"","searchPlaceHolder":"","searchZeroContent":""},"price":{"amount":"Importe","amountIncVat":"Importe (Incl. IVA)","applyCustomer":"Aplicar precio al cliente","customer":"Precio confidencial","customerPrice":"","latestPrice":"","noPrice":"Precio no disponible","orderpricelist":"Ordenar lista de precios","price":"Precio","priceSt":"Precio / ud","priceSuggestion":"Precio sugerido","pricelists":"Lista de precios","prices":"Precios","purchasePrice":"Precio de compra","regular_short":"Precio reg.","retail":"Precio recomendado","retailAndCustomer":"Precio confidencial y recomendado","rrp_long":"Precio recomendado","rrp_short":"Recomendado","selectedArticle":"","selectedRefinement":"","showNoPrice":"Sin precios","subTotal":"Subtotal","tiered":"precio del personal","totalCart":"","totalValue":"Valor total","total_exVat":"Total (Excl. IVA)","total_incVat":"Total (Incl. IVA)","vat":"IVA","vatConsumer":""},"product":{"_capacity":"Capacidad","_closure":"","_colorComment":"Color comment","_country":"","_designer":"Dise\xf1ador","_diameter":"Di\xe1metro","_fabrics":"Material","_gender":"G\xe9nero","_height":"Largo","_hoodDetails":"","_length":"Longitud","_limitedEdition":"Edici\xf3n limitada","_measure":"Medidas","_neckline":"","_packaging":"Embalaje","_pockets":"Bolsillos","_presentationDate":"Fecha de presentaci\xf3n","_printCode":"C\xf3digo de impresi\xf3n","_sleeve":"","_techniqueComment":"Comentario t\xe9cnico","_volume":"Volumen","_weight":"Gramaje","_width":"Ancho","add":"A\xf1adir producto","addRemove":"Agregar/eliminar art\xedculo","approveArticles":"Aprobar art\xedculos","articleNumber":"N\xfamero de art\xedculo","article_one":"Art\xedculo","article_other":"Art\xedculos","care":"Instrucciones de lavado","certificates":"Certificados","colors":"colores","composition":"Composici\xf3n","document":"Tallaje/ Certificado","downloadImage":"","downloadImages":"Descargar im\xe1genes","features":"Caracter\xedsticas","info":"Informaci\xf3n del Producto","missingSkus":"Art\xedculos faltantes","name":"Nombre","noProducts":"Sin productos","orderDifference":"Diferencia de pedido","pdfDownload":"Descargar PDF","product_one":"Producto","product_other":"Productos","products":"Productos","related":"Productos relacionados","relatedGender":"Tambi\xe9n disponible en versi\xf3n","related_short":"Relacionada","replacement":"Alternativa","search":"Buscar producto","searchPlaceholder":"Por ejemplo, n\xfamero de producto o nombre","searchPlaceholderProduct":"Por ejemplo, n\xfamero de producto o nombre","show":"Mostrar productos","showLessColors":"Mostrar menos colores","transfer":"Transfer","unwantedSkus":"art\xedculos desconocidos"},"productAddImagesAfter":"{{added}}/{{max}} (optional)","productTag":{"new":"Novedad","newVariation":"Nuevo color","outlet":"Outlet","outletVariation":"Color en oferta","sustainable":"Ecol\xf3gico","upcoming":"Pr\xf3ximamente","upcomingVariation":"Pr\xf3ximamente nuevo color"},"production":{"refinement_one":"Marcajes"},"proof":{"proof":"Correcci\xf3n","proof_one":"Dise\xf1o","proof_other":"Dise\xf1os","service":""},"refinement":{"add":"Agregar opciones de proceso","addon":"Datos adicionales","addonVariations":"variaciones","articleAddedToDraftInfo":"","articleDraftSuggestionInfo":"","autoAdjustedPlacements":"Tenga en cuenta que otras ubicaciones se han ajustado autom\xe1ticamente.","awaitingDelivery":"Esperando productos","awaitingDeliveryAction":"Esperando productos","choose":"Elegir opciones de proceso","colorBacking":"","colorChange":"Cambio de color","colorChangeColor":"","commentDescription":"Otras solicitudes","completed":"Productos procesados","completedAction":"Productos procesados","create":"","createArticleDraft":"Crear borrador de art\xedculo","createTextElement":"Crear elemento de texto","customerPublicOrderConfirmSubmit":"\xa1Gracias! El servicio al cliente revisar\xe1 su pedido y se le enviar\xe1 un mensaje cuando se apruebe el pedido.","customerPublicOrderInstructions":"Lea el mensaje del servicio al cliente en el registro asociado. Haga clic a continuaci\xf3n para abrir el configurador, cambiar y guardar. Cuando haya terminado. Haga clic en enviar y no dude en adjuntar un comentario. Si tiene m\xe1s preguntas sobre el pedido o falta de instrucciones, simplemente env\xede un comentario. El servicio al cliente revisar\xe1 r\xe1pidamente sus cambios y se le notificar\xe1 cuando se apruebe el pedido.","customerPublicOrderPriceWarning":"\xa1Nota! Los art\xedculos del pedido han cambiado y se enviar\xe1 una nueva confirmaci\xf3n de pedido.","deliverNowAndOnwards":"Now and ongoing","deliverWhenInStock":"When all in stock","delivered":"Productos enviados","deliveredAction":"Productos enviados","downloadPreviewImage":"Descargar imagen de vista previa","errorNoAvailableRefinements":"","expected":"Fecha estimada de entrega","fixedTextPlaceholder":"Su texto aqu\xed","inProgress":"","invalidTransferAmount":"","latest":"\xdaltimo","message":"Mensaje","messages":"Mensajes","minQuantityWarning":"\xa1Nota! El cargo m\xednimo es por {{minQuantity}} {{articles}} y, por lo tanto, conduce a un precio unitario m\xe1s alto para el n\xfamero seleccionado.","mountings":"","nameAndTags":"Nombre y etiquetas","new":"Nueavo marcaje","noSplitPlaceInfo":"","objectSizeChangedWarning":"","otherInformation":"Miscel\xe1nea","pin":"Fijar","placementDescription":"Especifique aqu\xed c\xf3mo se debe aplicar su marcaje. Si desea m\xe1s superficies y ubicaciones, debe crear marcajes adicionales.","placement_one":"Ubicaci\xf3n","placement_other":"Ubicaciones","positionAutoAdjusted":"La imagen se ha ajustado autom\xe1ticamente a una superficie. Utilice las teclas de flecha para ajustar o haga clic en el im\xe1n para desactivar.","proofFinalAcceptText":"Acepto mi dise\xf1o original/boceto como prueba de dise\xf1o final. No se me enviar\xe1 ninguna prueba para esta oferta.","readyForInvoice":"","refinement_one":"Marcaje","refinement_other":"Marcajes","reject":"Rechazar","rejected":"Rechazado","rejectedAction":"Rechazado","review_proof":"Abre y revisa tu prueba a continuaci\xf3n","send":"Enviar","sendForReviewApprove":"","sender":"Remitente","sourceInfo":"","sourceInfo_Analysis":"El sistema ha interpretado el color.","sourceInfo_Custom":"El cliente ha elegido el color por s\xed mismo.","sourceInfo_File":"El archivo ha definido el color.","startCost":"Precio base","uploadFile":"Cargar archivo","userProof":"Prueba de usuario","variableTextPlaceholder":"Su texto de ejemplo aqu\xed","warnRepeatChanged":"Esta es una refinaci\xf3n repetida. Si guarda alg\xfan cambio, ya no ser\xe1 un pedido repetido y los precios podr\xedan cambiar."},"refinementsSelector":{"errorIncompatible":"El archivo no puede ser procesado por el producto seleccionado: {{selectedProduct}}. \xbfDesea cambiar la opci\xf3n de proceso?","errorNoCompatible":"","title":"\xbfDesea agregar un marcaje ya creado?"},"reseller":{"change":"Cambiar distribuidor","errorNotFound":"No podemos encontrar ning\xfan distribuidor asociado a su direcci\xf3n. Aseg\xfarese de que sea correcto o busque un distribuidor a continuaci\xf3n.","externalSupplier":"Proveedor externo","openHours":"Horario de apertura","reseller_one":"Distribuidor","reseller_other":"","search":"Ecuentre su distribuidor","searchAgreement":"Si tiene un acuerdo, busque por su identificaci\xf3n de empresa","showAllResellers":"Mostrar todos los distribuidores","suggestionFrom":"Hemos sugerido distribuidor basado en","suggestionInfo":"Complete su direcci\xf3n para encontrar un distribuidor cerca de usted."},"salesBoard":{"salesBoard":"Tablero de ventas","section":"","section_budget":"Presupuesto","section_compare":"Periodo anterior","section_leaderboard":"Tabla de clasificaci\xf3n","section_topOrders":"Pedidos principales","section_topProducts":"Productos principales","section_totalValue":"Valor total","section_visits":"Visitas"},"search":{"empty":"Sin resultados","search":"Buscar"},"seller":{"customer":"Cliente","customerShops":"Microtiendas de clientes","customers":"Clientes","erpNumber":"N\xfamero de cliente","exportedFiles":"","loggedInAs":"Registrado como","noCustomers":"No se han a\xf1adido clientes","openAs":"Abierto como","orderMonitoring":"Seguimiento de pedidos","orderMonitoringEmpty":"A\xfan no ha a\xf1adido ning\xfan cliente para monitorizar sus pedidos. Indique el n\xfamero de cliente a continuaci\xf3n para comenzar a monitorizar.","orderMonitoringInfo":"Aqu\xed puede realizar un seguimiento de los pedidos de sus clientes. Cada vez que un cliente realice un pedido, recibir\xe1 una notificaci\xf3n en su e-mail.","orderMonitoringNotificationInfo":"Las notificaciones se enviar\xe1n a:","orderMonitoringRemoved":"El cliente {{sub.customerName}} ({{sub.customerCode}}) ya no ser\xe1 monitoreado.","partnerOverview":"Resumen de socios","selectCustomer":"Seleccionar cliente","seller":"Distribuidor","signOutCustomer":"Salir del cliente","warnSellingDisabled":""},"shipment":{"address":"Direcci\xf3n de entrega","addressesAndShipmentsTitle":"Direcciones y env\xedos","date":"Fecha de entrega","deliveryOptional_other":"Servicios adicionales","deliveryQuantity":"Cantidad de entrega","deliveryType":"Tipo de entrega","delivery_one":"Entrega","delivery_other":"Entregas","dispatchNote":"Notificaci\xf3n de despacho","emailInfo":"La direcci\xf3n de correo electr\xf3nico especificada se utiliza para enviar una notificaci\xf3n de env\xedo o una confirmaci\xf3n de pedido simplificada (sin precios)","info":"Informaci\xf3n de env\xedo","manualDelivery":"Entrega manual","new":"Nueva direcci\xf3n","packageLabel":"Etiqueta del paquete","qtyArticles":"{{count}} art\xedculos","qtyShipments":"{{count}} entregas","receiver":"","requestDate":"Solicitar fecha de entrega","requestDateChange":"\xbfDesea cambiar la fecha de entrega?","requestedDate":"Fecha solicitada","sendTo_one":"Enviar a una direcci\xf3n","sendTo_other":"Enviar a varias direcciones","shipment":"Env\xedos","simplifiedOrderConfirm":"Confirmaci\xf3n de pedido simplificada","tracking":"Seguimiento del pedido","trackingCarrier":"Empresa de transporte","trackingNumber":"El n\xfamero de seguimiento","trackingService":"Servicio de seguimiento","trackingUrl":"Tracking url","transportType":"Tipo de transporte","warningLongDelivery":"Note del. date","yourOrderNumber":"Su n\xfamero de pedido","yourReference":"Su referencia"},"size":{"allowedMinMax":"","large":"Grande","size":"Talla","sizeguide":"Gu\xeda de tallas","small":"Peque\xf1o"},"sort":{"relevance":"Relevancia"},"status":{"accepted":"Aceptado","approved":"Aprovado","approvedAction":"Aprovado","cancelled":"Cancelado","completed":"Enviado","confirmed":"Confirmado","confirmedAction":"Confirmado","draft":"","inproduction":"En producci\xf3n","inprogress":"En preparaci\xf3n","invoiced":"Facturado","ok":"","onhold":"","processing":"Procesando","rejected":"Rechazado","save_error":"Ocurri\xf3 un error al guardar","saved":"Guardado","unconfirmed":"Pendiente de confirmar","unconfirmedAction":"Pendiente de confirmar","waiting":"En espera"},"stock":{"box":"Casilla","enterQuantity":"","estRefill":"Fecha entrada prevista","global":"Almac\xe9n Global","local":"Almac\xe9n Local","min":"Min:","mounting":"","operation":"*!Internal - no need to translate*","operation_add":"Add to stock","operation_order":"Order directly","operation_withdraw":"Withdraw from stock","pcs":"pcs","region":"Almac\xe9n Regional","rest":"","stock":"Stock","stockAfterTransaction":"Stock after transactions"},"stockLevel":{"in":"En stock","low":"Stock bajo","no":"Sin stock","out":"Sin stock"},"template":{"copy":"Copiar de una plantilla","copyDescription":"Copiar la configuraci\xf3n de una plantilla guardada. Esto reemplazar\xe1 su configuraci\xf3n actual.","save":"Guardar como plantilla","saveDescription":"Guardar la configuraci\xf3n actual como una plantilla para uso futuro en otros documentos.","template_one":"Plantilla","warnRemove":"\xbfEst\xe1 seguro de que desea eliminar la plantilla?","warnTemplateExist":"Ya hay una plantilla guardada con este nombre. Esto sobrescribir\xe1 la plantilla guardada con la configuraci\xf3n actual."},"tool":{"noToolsOrServices":"A\xfan no se han agregado herramientas ni servicios","toolsAndServices":"Mis herramientas y servicios"},"unsavedWarning":{"no":"No, descartar cambios","text":"Los cambios no guardados se descartar\xe1n. \xbfDesea guardar?","title":"\xbfGuardar cambios?","yes":"Si, guardar"},"user":{"anonymousUsers":"Usuarios an\xf3nimos","customerErrorLong":"No se pudo cargar la informaci\xf3n del cliente para el usuario. Int\xe9ntalo de nuevo.","customerErrorShort":"Usuario al que le falta informaci\xf3n de cliente v\xe1lida","customerNumber":"N\xfamero de Cliente","customerNumberError":"Introduzca el n\xfamero de cliente completo","customerWarningLong":"El cliente asociado con el usuario no existe, o la informaci\xf3n sobre el cliente falta por completo en el usuario.","customerWarningShort":"Ning\xfan cliente v\xe1lido asociado con el usuario","notLoggedIn":"Ning\xfan usuario ha iniciado sesi\xf3n","proceedAsAnonymous":"Proceder como an\xf3nimo","refreshFailedText":"Por motivos de seguridad, tu sesi\xf3n se cerr\xf3 despu\xe9s de un tiempo de inactividad.\\nPresiona \\"Iniciar sesi\xf3n de nuevo\\" para continuar comprando.","refreshFailedTitle":"su sesi\xf3n se ha cerrado.","register":"Registrar","registeredUsers":"Usuarios registrados","salesContact":"Contacto de ventas","signIn":"Iniciar sesi\xf3n","signInAgain":"Iniciar sesi\xf3n de nuevo","signInToOrder":"Inicie sesi\xf3n para realizar el pedido","signOut":"Cerrar sesi\xf3n","user_other":"Usuarios","viewAccount":"Ver cuenta"},"validation":{"allRequiredFields":"","email":"Email inv\xe1lido","fullNameMaxCharLimit":"El nombre + apellido no deben exceder de {{maxLength}} caracteres","maxCharacterLength":"Los caracteres introducidos superan la longitud m\xe1xima permitida de {{maxLength}} caracteres","maxLength_one":"Caracteres {{max}} permitidos ","maxLength_other":"Caracter {{max}} permitido","minCharacterLength":"Los caracteres introducidos no superan longitud m\xednima permitida de {{minLength}} caracteres","mustStartWith":"El valor debe comenzar con uno de los siguientes:","noEmailFound":"","phoneInvalid":"N\xfamero de telefono inv\xe1lido","phoneLength":"El n\xfamero de tel\xe9fono debe tener 8 o 16 d\xedgitos","required":"Requerido","requiredAccept":"Por favor acepte"},"variableText":{"inputDataUpdated":"","refinementRowTitle":"","refinementRowTitle_plural":"","validateErrorDesc":"El archivo cargado contiene filas incorrectas. Corr\xedjalas e int\xe9ntelo de nuevo.","validateErrorTitle":"{{count}} errores de validaci\xf3n","validateErrorTitle_plural":"","validateSuccessDesc":"","validateSuccessTitle":""},"warning":{"attention":"\xa1Atenci\xf3n!","changesPartlyDisabled":"","note":"","refinementWarnings":"","showWarningTexts":""}}'),c=JSON.parse('{"action":{"actions":"Toiminnot","add":"Lis\xe4\xe4","apply":"Lis\xe4\xe4","back":"Takaisin","cancel":"Peruuta","change":"Vaihda","change_one":"","change_other":"","clear":"Tyhjenn\xe4","configure":"M\xe4\xe4rit\xe4","continue":"Jatka","continueWithoutSaving":"Jatka ilman tallennusta","copy":"Kopioi","create":"Luo","download":"Lataa","duplicate":"Kopioi","edit":"Muokata","export":"Lataa tuotetiedot (pdf)","fullScreen":"Koko n\xe4ytt\xf6","message":"Viesti","ok":"Ok","open":"Avaa","pending":"Vireill\xe4","published":"Julkaistu","rearrangeBoxes":"","refresh":"Virkist\xe4\xe4","remove":"Poista","rename":"Nime\xe4 uudelleen","replace":"Korvaa","save":"Tallenna","saveWarningText":"Sinun on tallennettava muutoksesi ennen kuin jatkat. Haluatko tallentaa?","saveWarningTitle":"Tallenna muutokset?","select":"Valitse","selectOne":"Valitse yksi","showBoxes":"","sort":"Lajitella","submitChanges":"Tallenna muutokset","submitQuestionComment":"L\xe4het\xe4 kysymys/kommentti","undo":"Kumoa"},"angle":{"":"","_back":"Takaa","_closeup1":"L\xe4hikuva 1","_closeup2":"L\xe4hikuva 2","_closeup3":"L\xe4hikuva 3","_front":"Edest\xe4","_left":"Vasen","_other":"Muu","_right":"Oikea"},"archived":{"archive":"Arkistoi","archived":"Arkistoitu","articleArchived":"T\xe4m\xe4 artikkeli on arkistoitu","collectionArchived":"","notArchived":"Ei arkistoitu","remove":"Poista arkistoinnista"},"article":{"articleMonitoring":"Tilauseuranta","configureAndAdd":"M\xe4\xe4rit\xe4 ja lis\xe4\xe4 koriin","deleteWarning":"Haluatko varmasti poistaa artikkelin {{name}}?","description":"T\xe4\xe4lt\xe4 p\xe4\xe4set k\xe4siksi artikkeleihin, jotka olet ostanut siirtokaupasta","filters":"Suodattimet","filters_archived":"Arkistoitu","filters_category":"Kategoriat","filters_products":"Tuotteet","filters_status":"Tila","filters_stock":"Varasto","new":"","noHitsContent":"Artikkeleita ei l\xf6ytynyt nykyisell\xe4 hakutermeill\xe4","noHitsHeader":"Ei osumia","notDefined":"Ei m\xe4\xe4ritelty","orderMonitoringMinNum":"Min. varastosaldo","show":"N\xe4yt\xe4 artikkelit","submitApproval":"L\xe4het\xe4 hyv\xe4ksytt\xe4v\xe4ksi"},"assortment":{"category_one":"kategoria","category_other":"Kategoriat"},"bookmark":{"noPages":"Sivuja ei ole viel\xe4 lis\xe4tty","pages":"Sivut","pagesAndTools":"Sivut ja ty\xf6kalut","saveAsFavorite":"Tallenna suosikkeihin","tools":"Ty\xf6kalut"},"brightness":{"dark":"Tumma","light":"Vaalea"},"calendar":{"agenda":"Agenda","allDay":"Koko p\xe4iv\xe4","date":"P\xe4iv\xe4m\xe4\xe4r\xe4","day":"P\xe4iv\xe4","event":"Tapahtuma","events":"Tapahtumat","importantDates":"T\xe4rke\xe4t p\xe4iv\xe4m\xe4\xe4r\xe4t","month":"Kuukausi","next":"Seuraava","noEventsInRange":"Ei tapahtumia t\xe4ll\xe4 aikav\xe4lill\xe4.","previous":"Edellinen","previousEvents":"Aiemmat tapahtumat","previousYear":"Viime vuosi","showAsCalendar":"N\xe4yt\xe4 kalenterina","showAsList":"N\xe4yt\xe4 listana","time":"Aika","today":"T\xe4n\xe4\xe4n","tomorrow":"Huomenna","week":"Viikko","workWeek":"Ty\xf6viikko","year":"Vuosi","yesterday":"Eilen"},"campaign":{"code":"Kampanja koodi","error":"V\xe4\xe4r\xe4 koodi"},"cart":{"addVariation":"Lis\xe4\xe4 vaihtoehto","add_one":"Lis\xe4\xe4 koriin","add_other":"Lis\xe4\xe4 tuotteet koriin","addressSelected_one":"osoite valittu.","addressSelected_other":"osoitteita valittu.","agreementInfo":"Voit t\xe4ytt\xe4\xe4 yll\xe4 olevaan kentt\xe4\xe4n mahdolliset lis\xe4kysymykset tai kertoa meille tarkemmin tarjouspyynn\xf6st\xe4si ja siihen liittyvist\xe4 asioista.","allowSplit":"Salli j\xe4lkitoimitus","cart":"Ostoskori","checkout":"Tee tilaus","checkout_request":"Tee tarjouspyynt\xf6","chooseQuantity":"Valitse m\xe4\xe4r\xe4","configureCheckout":"","continueShopping":"Jatka tuotteiden etsint\xe4\xe4","createOffer":"Tee tarjous","created":"Ostoskori luotu","depositToStock":"","depositToStockMinText":"","discount":"Alennus","doPayment":"Maksun suorittaminen","empty":"Ostoskorisi on tyhj\xe4.","emptyDo":"Tyhjenn\xe4 ostoskori","emptyFavourite":"Lis\xe4\xe4 suosikkituotteesi napsauttamalla ","errorCouldNotCalculateRow":"Hintojesi vahvistamisessa oli ongelma. N\xe4ytet\xe4\xe4n viimeisin tunnettu tuotteen hinta, jos saatavilla.","errorCouldNotCalculateTotal":"Hintojesi ja tilauksen kokonaissumman vahvistamisessa oli ongelma. Voit silti tehd\xe4 tilauksen ja l\xf6yd\xe4t hintasi tilausvahvistuksesta.","errorInvalidProducts":"Jotkin tuotteet eiv\xe4t ole yhteensopivia samassa tilauksessa. Tuotteet pysyv\xe4t ostoskorissa, mutta eiv\xe4t sis\xe4lly nykyiseen tilaukseen","errorInvalidSku":"Virhe: Tuotetta ei ole olemassa","errorSelectReseller":"Valitse j\xe4lleenmyyj\xe4","favourite":"Voit lis\xe4t\xe4 suosikkituotteesi ostoskoriin syd\xe4nkuvakkeella.","minAmount":"","minOrderQty":"Minimi tilausm\xe4\xe4r\xe4","minOrderQtyInfo":"Jos haluat pienemm\xe4n m\xe4\xe4r\xe4n, lis\xe4\xe4 ensiksi toista kokoa ","new":"Uusi kori","noFavourite":"Ei suosikkeja viel\xe4.","orderAndDelivery":"","payment":"Maksu","paymentCancelled":"Maksu peruutettiin, yrit\xe4 uudelleen tai valitse toinen maksutapa","paymentError":"Maksuvirhe, yrit\xe4 uudelleen tai valitse toinen maksutapa","paymentrefused":"Maksu hyl\xe4ttiin, kokeile valita toinen maksutapa","qtyAdjustedByArticleQuantity":"Huom! M\xe4\xe4r\xe4 ylitt\xe4\xe4 tuotteen varastosaldon ja ostoskoria muokataan.","quantity":"M\xe4\xe4r\xe4","quickAdd":"Nopea tilaus","removeVariation":"Poista vaihtoehto","saveToArticles":"","saveToCart":"","specification":"Hintatiedot","startShopping":"Jatka tuotteiden selaamista. Voit lis\xe4t\xe4 tuotteita koriin painamalla nopea tilaus.","swishButton":"","swishInfo":"Viimeistele tilauksesi skannaamalla QR-koodi swish-sovelluksessa.","toCart":"Siirry ostoskoriin t\xe4st\xe4","toastDismissNoOption":"Ei kiitos","toastDismissText":"Haluatko poistaa ilmoitukset k\xe4yt\xf6st\xe4, kun ostoskori muuttuu?","toastDismissYesOption":"Kyll\xe4, poista k\xe4yt\xf6st\xe4","totalSkus":"Yhteens\xe4","validationErrorHigher":"Liian monta tuotetta lis\xe4tty","validationErrorLower":"Liian v\xe4h\xe4n tuotteita lis\xe4tty","warnNoStockAfterTransaction":"","warningCancelPayment":"Maksu peruutettu. Yrit\xe4 uudelleen.","warningOrderDisabled":"","warningPriceOverride":"","warningPriceOverrideEnabled":""},"cartFee":{"admin":"K\xe4sittelykulu","freight":"Kuljetusmaksu","insurance":"Vakuutus","invoice":"Laskutusmaksu","postage":"Postikulut","shipping":"Toimituskulut"},"collection":{"collection_one":"Kokoelma","collection_other":"Kokoelmat","deleteWarning":"Oletko varma, ett\xe4 haluat poistaa kokoelman {{name}}?","description":"T\xe4ss\xe4 ovat jalostettujen tuotteidesi kokoelmat.","noContent":"Aloita tuotteiden jalostaminen!","noHitsContent":"Ei l\xf6ytynyt kokoelmia nykyisill\xe4 hakuehdoilla","noSkuWarning":"Seuraavat tuotteet eiv\xe4t sis\xe4ll\xe4 m\xe4\xe4r\xe4\xe4 ja ne poistetaan: ","refinementsRemovedWarning":"Seuraavat jalostukset ovat vain t\xe4ss\xe4 tuotteessa ja ne poistetaan my\xf6s: ","show":"N\xe4yt\xe4 kokoelmat","upgrade_product":"Viimeistele tuote","variations_one":"Variantti","variations_other":"Variantit"},"color":{"color_one":"V\xe4ri","color_other":"V\xe4rit","errorNotEnough":"Valitse v\xe4hint\xe4\xe4n yksi v\xe4ri.","errorTooMany":"Liian monta v\xe4ri\xe4 valitulle viimeistelylle. Poista/yll\xe4 v\xe4rit tai valitse viimeistelytyyppi, joka tukee useampia v\xe4rej\xe4.","interpretedByTool":"ty\xf6kalun tulkinta","interpretedFromFile":"tiedostostasi","interpretedTitle":"Valitut PMS-v\xe4rit","toolInterpretedColors":"Ty\xf6kalu on valinnut seuraavat v\xe4rit:","warnInterpreted":"Huomio! Kuvan v\xe4rit on valittu ty\xf6kalulla ja ne saattavat n\xe4ytt\xe4\xe4 erilaisilta eri n\xe4yt\xf6ill\xe4. Varmista, ett\xe4 v\xe4rikoodit t\xe4sm\xe4\xe4v\xe4t tarkasti.","warningAutoBackingColorApplied":"","warningAutoBackingColorNone":""},"colors":{"amber":"Keltainen","blue":"Sininen","blueGrey":"Siniharmaa","brown":"Ruskea","cyan":"Syaani","deepOrange":"Syv\xe4 oranssi","deepPurple":"Syv\xe4 violetti","green":"Vihre\xe4","grey":"Harmaa","indigo":"Indigo","lightBlue":"Vaaleansininen","lightGreen":"Vaaleanvihre\xe4","lime":"Lime","orange":"Oranssi","pink":"Vaaleanpunainen","purple":"Violetti","red":"PUNAINEN","teal":"Sinivihre\xe4","yellow":"Keltainen"},"confirmation":{"remove":"Kyll\xe4, poista"},"contact":{"address":"Osoite","city":"Kaupunki","company":"Yritys","companyNumber":"Yrityksen tunnus","companyText":"Yritysteksti","contactName":"Yhteystieto kauppaan","contactUs":"Ota yhteytt\xe4","country":"Maa","customerContact":"Asiakaspalvelu","customerContactUs":"Ota yhteytt\xe4 asiakaspalveluun saadaksesi lis\xe4tietoja","customerSupport":"Asiakastuki","email":"S\xe4hk\xf6posti","firstName":"Etunimi","lastName":"Sukunimi","name":"Nimi","phone":"Puhelinnumero","postalCode":"Postinumero"},"error":{"cellRowCol":"Rivi {{row}}, sarake ({{col}}):","code":"","code_InvalidFormat":"Virheellinen muoto.","code_NoValue":"Ei arvoa.","code_ToLong":"Sy\xf6te on liian pitk\xe4.","error":"Virhe","general":"Jotain meni pieleen,yrit\xe4 uudelleen tai ota yhteytt\xe4 asiakaspalveluun"},"excel":{"activeConfiguration":"Aktiivinen konfiguraatio","browserExport":"Tiedostoa luodaan. T\xe4m\xe4 voi kest\xe4\xe4 useita minuutteja riippuen siit\xe4, kuinka paljon tietoa vientiin sis\xe4ltyy.","columnRemovalDescription":"Jotkut sarakkeet poistetaan siirrytt\xe4ess\xe4 alemmalle vientitasolle. Haluatko jatkaa?","columnRemovalNo":"Ei, s\xe4ilyt\xe4 sarakkeet","columnRemovalTitle":"Vaihda vientitasoa","columnRemovalYes":"Kyll\xe4, poista sarakkeet","columns":"Sarakkeet","customerPriceDate":"","download":"Lataa Excel-tiedosto","downloadCancelled":"Lataus peruttu.","emailExport":"Tiedostoa luodaan ja se l\xe4hetet\xe4\xe4n s\xe4hk\xf6postiisi, kun se on valmis. T\xe4m\xe4 voi kest\xe4\xe4 useita minuutteja riippuen siit\xe4, kuinka paljon tietoa vientiin sis\xe4ltyy.","excel":"Excel","exportLevel":"Vientitaso","failedLoadPreset":"Virhe ladattaessa esiasetusta","failedLoadPreview":"Esikatseludatan lataus ep\xe4onnistui","generate":"L\xe4het\xe4 Excel-tiedosto s\xe4hk\xf6postiin","languages":"Kielet","name":"Nimi","noConfigurations":"Ei tallennettuja konfiguraatioita","noLanguage":"K\xe4ytet\xe4\xe4n oletuskielt\xe4si","savedConfiguration_one":"Tallennettu konfiguraatio","savedConfiguration_other":"Tallennettuja konfiguraatioita","tabs":"Ryhmittele Excel-v\xe4lilehdet sarakkeen mukaan","toggleConfiguration":"Napsauta konfiguraatiota kytke\xe4ksesi sen p\xe4\xe4lle tai pois p\xe4\xe4lt\xe4","units":"Yksik\xf6t"},"export":{"added":"Lis\xe4tty vientiin","chosen_product":"Valittu tuote vientiin","chosen_products":"Valitut tuotteet vientiin","fileExportCompleted":"","fileExportFailed":"","images":"Kuvat","price":"Hinta","product":"Tuote","removed":"Poistettu viennist\xe4","search_in":"Etsi","sku":"Artikkeli / SKU","thresholdWarning":"","variation":"Vaihtelu / V\xe4ri","various_search":"Etsi useista kategorioista"},"file":{"allowedType":"Hyv\xe4ksytyt tiedostomuodot","attachments":"Liitteet","dragAndDropOrBrowse":"Ved\xe4 ja pudota tai <u>selaa</u>","draggingSingleText":"Ved\xe4 tiedosto t\xe4h\xe4n ladattavaksi","draggingText":"Julkaise tiedostot t\xe4st\xe4 ladattavaksi","file_other":"Tiedostot","filename":"Tiedoston nimi","none":"Yht\xe4\xe4n tiedostoa ei ole ladattu. Lis\xe4\xe4 tiedosto.","processFileError":"Tiedostoa ei voi k\xe4sitell\xe4.","processFileErrorFileSize":"Tiedosto on liian suuri. Maksimikoko on {{value}}MB.","processingFileUpload":"Tiedoston lataaminen k\xe4sitell\xe4\xe4n...","supported":"jpg, .jpeg, .png, .gif, .pdf and .svg. Max 5Mb."},"filter":{"filter":"Suodatin","filter_accessories":"Tarvikkeet","filter_activity":"Aktiviteetti","filter_brand":"Br\xe4ndi","filter_care":"Hoito-ohjeet","filter_category":"Kategoria","filter_certification":"Sertifikaatti","filter_color":"V\xe4ri","filter_designer":"Suunnittelija","filter_feature":"Ominaisuus","filter_female":"Nainen","filter_fit":"Istuvuus","filter_gender":"Sukupuoli","filter_male":"Mies","filter_material":"Materiaali","filter_neckline":"P\xe4\xe4ntie","filter_other":"Suodattimet","filter_outlet":"Outlet","filter_range":"Valikoima","filter_retail":"","filter_season":"Sesonki","filter_sleeve":"Hihan tyyppi","filter_theme":"Teema","filters":"Suodattimet"},"general":{"add":"Lis\xe4\xe4","agreeTo":"Hyv\xe4ksy","all":"Kaikki","auto":"Automaattinen","basis":"Peruste","cantChange":"Ei voi vaihtaa","changed":"Muutettu","close":"Sulje","collapseAll":"Piilota Kaikki","columns":"Kolumni","comment":"Kommentti","commentSet":"Lis\xe4\xe4 kommentti","compact":"Kompakti","created":"Luotu","custom":"Mukautettu","description":"Kuvaus","dontShowAgain":"\xc4l\xe4 n\xe4yt\xe4 uudelleen","email":"S\xe4hk\xf6posti","endDate":"P\xe4\xe4ttymisaika","enterPassword":"Anna salasana jatkaaksesi.","expand":"Laajentaa","expandAll":"Laajentaa Kaikki","expires":"","favourites":"suosikkisi","font":"","full":"T\xe4ysi","hide":"Piilota","hideAllPages":"Piilota kaikki sivut","language":"Kieliversio","limitedToCharacters":"Rajoitettu {{characters}} merkkiin.","limitedToInteger":"Rajoitettu kokonaislukuihin.","limitedToLetters":"Rajoitettu kirjaimiin.","limitedToLettersUpper":"Rajoitettu isoiksi kirjaimiksi.","log":"Loki","logotype":"Logotyyppi","maintenance":"T\xe4rke\xe4\xe4 tietoa! Suunnitellun huollon vuoksi yritysj\xe4rjestelm\xe4mme ei ole k\xe4ytett\xe4viss\xe4 noin klo 8:00 alkaen 13. huhtikuuta. Pahoittelemme mahdollisia haittoja ja ilmoitamme, ett\xe4 verkkosivusto ei toimi normaalisti t\xe4n\xe4 aikana. Odottaa paluuta normaaliin toimintaan muutaman tunnin kuluessa ja arvostamme k\xe4rsiv\xe4llisyytt\xe4nne.","mandatory":"Pakollinen","minimize":"Minimoi","name":"Nimi","new":"Uusi","no":"Ei","none":"Ei hintaa","notifications":"Ilmoitukset","password":"Salasana","readMore":"Lue lis\xe4\xe4","safety":"Turvallisuus","saveAndClose":"Tallenna ja sulje","selected":"Valittu","settings":"Asetukset","show":"N\xe4yt\xe4","showAllPages":"N\xe4yt\xe4 kaikki sivut","show_all":"N\xe4yt\xe4 kaikki","show_less":"N\xe4yt\xe4 v\xe4hemm\xe4n","show_more":"N\xe4yt\xe4 lis\xe4\xe4","skipToContent":"Siirry suoraan sis\xe4lt\xf6\xf6n","standard":"Standardi","startDate":"Alkamisaika","status":"Tila","subTitle":"Alaotsikko","summary":"Yhteenveto","tag_one":"Tunniste","tag_other":"Tunnisteet","terms":"K\xe4ytt\xf6ehdot","text":"Teksti","text_other":"Tekstit","thankYou":"Kiitos","title":"Otsikko","to":"Kohti","tools":"ty\xf6kalut","total":"Yhteens\xe4","type":"","updated":"P\xe4ivitetty","url":"URL","view":"N\xe4yt\xe4","weOffer":"Me tarjoamme","yes":"Kyll\xe4"},"image":{"angle_one":"Kulma","angle_other":"Kulmat","environment":"Ymp\xe4rist\xf6","image_one":"Kuva","image_other":"Kuvat"},"invoice":{"address":"Laskutusosoite","credit":"Hyvitys tilaus","invoice_one":"Lasku","invoice_other":"Laskut"},"logoAppTools":{"asset":"Lis\xe4\xe4 uusi sis\xe4lt\xf6 "},"microshop":{"CustomerNumberSecurityInfo":"Turvallisuusasetus on oltava aktivoitu.","accentColor":"Korostusv\xe4ri","activate_units":"","addAddon":"Lis\xe4\xe4 vaihtoehtoja","addCategory":"Lis\xe4\xe4 kategoria","addMasterDeliveryAddress":"","addNewUsers":"Lis\xe4\xe4 uusia k\xe4ytt\xe4ji\xe4","addUnit":"Lis\xe4\xe4 uusi yksikk\xf6","addons":"Valinnainen","administrator":"J\xe4rjestelm\xe4nvalvoja","agreement":"K\xe4ytt\xf6ehdot","allProducts":"Kaikki tuotteet","alternativeUnitCertifier":"Vaihtoehtoinen sertifioija","approval":"","assortment":"Valikoima","assortmentAvailableVariationsAdded":"Kaikki mahdolliset variaatiot on lis\xe4tty valikoimaan","backgroundImage":"Taustakuva","bodyFont":"Fontti","budget":"Budjetti","budget_approval":"","cancelMasterOrderWarning":"Haluatko varmasti peruuttaa yleistilauksen {{masterOrder}}","cantDeleteWarning":"Sis\xe4lt\xe4\xe4 vireill\xe4 olevia tilauksia ja/tai p\xe4\xe4tilauksia, joten sit\xe4 ei voida poistaa","categoryExists":"Samanniminen kategoria on jo olemassa, valitse toinen nimi","changeOwner":"Vaihda omistajaa","changeTo":"Vaihda kohteeseen","column":"Sarake","confirmDelete":"Vahvista poistaminen","confirmMasterOrder":"Vahvista p\xe4\xe4tilaus","content":"Sis\xe4lt\xf6","copyShop":"Kopioi asetukset olemassa olevasta kaupasta","create":"Luo uusi mikrokauppa","createMasterOrder":"Luo p\xe4\xe4tilaus valituista tilauksista","createUser":"Luo uusi k\xe4ytt\xe4j\xe4","currency":"Valuutta","currentOwner":"Nykyinen omistaja","custom":"mukautettu","customerInputNone":"Ei","customerInputNumber":"Numero","customerInputText":"Teksti","customerInputType":"Painatus","databaseError":"Tietokantavirhe","deleteProduct":"Poista tuote","deleteSelectedOrder":"Poista merkityt tilaukset","deleteUnit":"Poista yksikk\xf6","deleteUnitWarning":"Tilisi poistaminen poistaa pysyv\xe4sti kaikki tietosi, mukaan lukien kaikki k\xe4ytt\xe4j\xe4t, asetuksesi ja luomasi sis\xe4ll\xf6n. T\xe4t\xe4 toimintoa ei voi peruuttaa.","deleteWarning":"Haluatko varmasti poistaa mikroshopin {{name}}?","departmentUnit":"osasto/yksikk\xf6","descOptionCombine":"Yhdist\xe4","descOptionDefault":"Oletus","direct_orders":"","disable_units":"","displayOptions":"","emailWarning":"Virheellinen s\xe4hk\xf6posti. Tarkista kirjoitusvirheet, oikeinkirjoitus ja ett\xe4 s\xe4hk\xf6posti on olemassa valitussa mikroliikkeess\xe4.","emptyAssortments":"Ei valikoimaa valittavaksi","emptyProducts":"Tuotteita ei l\xf6ytynyt","error":"Tapahtui virhe!","excelTemplate":"Excel-malli","excelTemplateDescription":"Voit ladata liitteen\xe4 olevan esimerkin ja k\xe4ytt\xe4\xe4 sit\xe4 oman tiedostosi pohjana.","files":"Tiedostot","filesUploaded":"Tiedosto(t) ladattu ja tallennettu","footColor":"Alatunniste","footer":"Alatunniste","freeShipping":"Ilmainen toimitus yli summan","general":"Yleisesti","handleProductsSettings":"Hallitse hintoja, lis\xe4yksi\xe4 ja luokkia","headerFont":"Otsikkofontti","import":"Tuo","individual":"Yksil\xf6llinen (SEK)","input":"Sy\xf6te","invalidUrl":"URL on joko jo k\xe4yt\xf6ss\xe4 tai sis\xe4lt\xe4\xe4 kelpaamattomia merkkej\xe4 kuten \xe5\xe4\xf6., ole hyv\xe4 ja vaihda URL","legalNotice":"Oikeudellinen huomautus","lightnessColor":"Kirkkaus","logotype":"Logotyyppi","look":"Ulkomuoto","mainColor":"P\xe4\xe4v\xe4ri","main_orders":"","many_size_products":"","masterOrder":"","microshop":"Myym\xe4l\xe4","microshop_other":"Mikrokaupat","missingEmail":"S\xe4hk\xf6posti puuttuu","missingMicroshop":"Microshop puuttuu","missingShopUnitName":"ShopUnitName puuttuu","missingUser":"K\xe4ytt\xe4j\xe4t puuttuvat","new_unit":"Uusi Yksikk\xf6","noFilters":"Suodattimia ei ole saatavilla","noHitsContent":"Nykyisell\xe4 hakutermill\xe4 ei l\xf6ytynyt mikrokauppoja","noMicroshopFound":"Mikrokauppaa ei l\xf6ytynyt","noOrders":"Ei tilauksia","noOrdersExplanation":"Kaupassasi ei ole {{orderText}}.","noUserDescription":"Luo uusia k\xe4ytt\xe4ji\xe4 t\xe4\xe4ll\xe4 tai tuo!","noUsers":"Ei k\xe4ytt\xe4ji\xe4 viel\xe4","notificationOptionDaily":"P\xe4ivitt\xe4inen yleiskatsaus","notificationOptionInstant":"Heti","notificationOptionNone":"Ei","notificationsTitle":"Asiakkaan tilausilmoitukset","one_size_product":"","orderDeleteWarning":"Haluatko varmasti poistaa t\xe4m\xe4n tilauksen?","orderPrices":"Tilaukset ja hinnat","order_flow":"","ordered":"Tilattu","orderrNotificationExplanation":"S\xe4hk\xf6posti-ilmoitus l\xe4hetet\xe4\xe4n osoitteeseen {{email}}.","ordersDeleteWarning":"Haluatko varmasti poistaa valitut tilaukset?","pendingOrders":"Odottavat tilaukset","points":"pisteet","priceModel":"Hinta malli","priceOptionFixed":"Kiinte\xe4 hinta","priceOptionNone":"Ei hintaa","priceOptionRetail":"V\xe4hitt\xe4ismyyntihinnan perusteella","privacyPolicy":"Tietosuojak\xe4yt\xe4nt\xf6","productAddImages":"Lis\xe4\xe4 kuvia","productName":"Tuotteen nimi","productNumber":"Tuotenumero","productQuantity":"Tuotteen m\xe4\xe4r\xe4","readyForImport":"Tiedosto on valmis tuotavaksi. Jatka napsauttamalla \'Tuo\'.","refinementsAndAddons":"Viimeistelyt & valinnainen","requiresattestation":"Vaatii todistuksen","retailModifier":"V\xe4hitt\xe4ismyyntihintasuhde","retailPrice":"V\xe4hitt\xe4ismyyntihinta","retailPriceExplanation":"Tuotteen hinta on laskettu rek. myyntihinta ja kerrottuna m\xe4\xe4ritetyll\xe4 suhteella.","role":"Rooli","row":"Rivi","saved":"Muutoksesi on tallennettu","securityOptionNone":"Ei turvallisuutta","securityOptionRegister":"Rekister\xf6ityminen tilill\xe4","securityOptionSecregAndRegister":"Rekister\xf6inti ja yleinen salasana","securityOptionSecret":"Yleinen salasana","security_protection":"","settings":"Asetukset","standard":"standardi","standardPrice":"Hinnanlaskentastandardi","totalCustomer":"Kokonaiskustannukset, asiakas","unit":"Yksikk\xf6","unitBudgetDepartment":"Osasto (SEK)","unitCertifier":"Sertifioija","unitDeleteWarning":"Oletko varma, ett\xe4 haluat poistaa valitun yksik\xf6n?","unitName":"Nimi","unitWithChildrenDeleteWarning":"Olet poistamassa yksikk\xf6\xe4 \'{{unitName}}\' ja kaikkia sen alaisia yksik\xf6it\xe4. T\xe4t\xe4 toimintoa ei voi peruuttaa. Haluatko jatkaa poistamista?","units":"Yksik\xf6t","units_other":"","uploadDone":"Lataus on valmis!","uploadedFile":"Ladattu tiedosto","userInformation":"Tiedot","value":"Arvo","variationExists":"Tuote(t) on jo olemassa","vatExcluded":"","vatIncluded":"","vatIsIncluded":"ALV sis\xe4ltyy hintaan","vatNotIncluded":"ALV ei sis\xe4lly hintaan","visitShop":"Vieraile kaupassa","welcomeMessage":"Tervetuloviesti","zeroContentAddons":"Kaupassa ei ole lis\xe4osia, luo lis\xe4osat \\"{{- tab}}\\" -v\xe4lilehdell\xe4.","zeroContentText":"Etsi tuotteita tai valitse luokista ja suosikeista lis\xe4t\xe4ksesi tuotteita valikoimaasi.","zeroContentTitle":"Ei valittuja tuotteita viel\xe4."},"microshopUploadErrorCodes":{"databaseError":"","invalidEmailFormat":"Virheellinen s\xe4hk\xf6postimuoto","invalidIsAttestantValue":"Virheellinen isAttestant-arvo","invalidManageBudgetValue":"Virheellinen manageBudget-arvo","invalidRequiresAttestationValue":"Virheellinen requiresAttestation-arvo","invalidRoleValue":"Virheellinen rooliarvo","missingMicroshop":"Mikroshop puuttuu","missingOrIncorrectHeaders":"Puuttuvat tai virheelliset otsikot","missingShopUnits":"Puuttuvat myym\xe4l\xe4yksik\xf6t","missingUsers":"K\xe4ytt\xe4j\xe4t puuttuvat","noDataInFile":"Ei tietoja tiedostossa","noFileSelected":"Ei tiedostoa valittu","noRowsInFile":"Ei rivej\xe4 tiedostossa"},"navigation":{"allIn":"N\xe4yt\xe4 kaikki","history":"Historia","onThisPage":"T\xe4ll\xe4 sivulla","page":"sivu","promoted":"Valitut","start":"Aloitussivu","toTop":"Huipulle"},"news":{"new_one":"Uutuus","new_other":"Uutuudet","showAll":"N\xe4yt\xe4 kaikki uutuudet"},"newsletter":{"subscribed":"Tilattu!"},"offer":{"additionalCost":"Lis\xe4maksu","additionalCosts":"Lis\xe4kustannukset","confirmOffer":"","daysBeforeReminder":"P\xe4ivi\xe4 ennen muistutusta","discount":"Alennus","discountInfo":"Kaikki tuotteet saavat alennuksen prosentteina.","editName":"Nime\xe4 uudelleen","expires":"Kaupan voimassaolop\xe4iva","margin":"Marginaali","marginInfo":"Kaikkien tuotteiden marginaali prosenteissa","noProductInfo":"Aloita lis\xe4\xe4m\xe4ll\xe4 tuotteet yll\xe4.","offerPage":"Tarjoussivu","offerPrice":"Tarjoushinta","offer_one":"Tarjous","offer_other":"Tarjoukset","otherTerms":"Termit muista lainauksista","publicOffer":"Julkinen tarjous","remove":"Poista tarjous","removeConfirmation":"Haluatko varmasti poistaa tarjouksen","removePublicUrlAlert":"Poistetaanko julkinen lainaus?","removePublicUrlAlertConfirm":"Kyll\xe4, poista","removePublicUrlAlertContent":"Haluatko poistaa julkisen lainauksesi lainauksesta {{name}}?","shareOffer":"L\xe4het\xe4 tarjous","visitors":"Vierailijat","warnExternalCustomerMissing":""},"order":{"addNewAddress":"Lis\xe4\xe4 uusi osoite","adjustment":"S\xe4\xe4t\xf6","allOrdersLast30Days":"","createDelivery_one":"Luo toimitus","createDelivery_other":"Luo toimitukset","createOrder":"Luo tilaus t\xe4st\xe4 tilauksesta","createRepeatOrder":"Luo toistuva tilaus","createdDeliveries":"Luodut toimitukset","creditType":"Luottom\xe4\xe4r\xe4ys","customerDetails":"Asiakkaan tiedot","deleteWarning":"Haluatko varmasti poistaa tilaus {{name}}?","deliveryAsc":"Nouseva toimitusp\xe4iv\xe4","deliveryDate":"Toimitusp\xe4iv\xe4m\xe4\xe4r\xe4","deliveryDesc":"Laskeva toimitusp\xe4iv\xe4m\xe4\xe4r\xe4","deliveryNote":"Toimitusilmoitus","deliveryNoteNumber":"Toimitusilmoitusnumero","deliveryType":"Toimitustapa","downloadDeliveryNote":"Lataa toimitusilmoitus","downloadExcel":"Lataa Excel","entire":"Tilausnumero, viite, rahtikirjamerkint\xe4 jne.","entirePartnerOrders":"Esim. tilausnumero, toimitusnimi, s\xe4hk\xf6posti jne.","handleAddresses":"K\xe4sittele osoitteita","handleAddressesAndDeliveries":"K\xe4sittele osoitteita ja toimituksia","history":"Tilaushistoria","infoMessage_boxDesign_partnerOverview":"","lastOrder":"Viimeisin tilaus","masterOrder_other":"Tilausten hallinta","noHitsContent":"Muista, ett\xe4 sinun on annettava koko tilausnumero tilausta etsiess\xe4si.","noHitsHeader":"Ei osumia","noOrdersLast30Days":"","notes":"Omat muistiinpanot","orderNumber":"Tilausnumero","order_one":"Tilaus","order_other":"Tilaukset","packageLabel":"Rahtikirjamerkint\xe4","partner_one":"Yhteisty\xf6kumppani","paymentType":"Maksum\xe4\xe4r\xe4ys","placed":"","placedBy":"Tekij\xe4","reference":"Viitteenne","refinementType":"Tarkennusj\xe4rjestys","removeAddressText":"Haluatko varmasti poistaa osoitteen ja sen toimitukset?","removeAddressTitle":"Poista osoite ja toimitukset?","removeAddressYesOption":"Poista osoite","repeat":"","sendOrderDocument":"","setPublicOrderAsCompletedDescription":"T\xe4m\xe4 merkitsee tilauksen valmiiksi ja lis\xe4toimituksia ei voida lis\xe4t\xe4. Asiakkaalle l\xe4hetet\xe4\xe4n ilmoitus.","setPublicOrderAsCompletedTitle":"Haluatko varmasti merkit\xe4 tilauksen valmiiksi?","setPublicOrderAsCompletedYesOption":"Kyll\xe4, merkitse tilaus valmiiksi","showEditArticles":"N\xe4yt\xe4/muokkaa artikkeleita ({{count}})","skuEditorDisabledTitle":"Tilaus voidaan muuttaa vain, jos se on tuotannossa. T\xe4ss\xe4 tilassa vain toimitusosoitteita voidaan muuttaa.","status":"Tilauksen tila","statusCreated":"Luotu","statusFailed":"Ep\xe4onnistunut","statusPlaced":"Vastaanotettu","system":"","table":"","thankYou_message_customerApproval":"Olemme vastaanottaneet vastauksesi ja otamme sinuun yhteytt\xe4 24 tunnin kuluessa. Jos sinulla on kysytt\xe4v\xe4\xe4, l\xe4het\xe4 meille viesti yll\xe4!","thankYou_message_rejectToCustomer":"Olemme vastaanottaneet t\xe4ydennyksesi ja otamme sinuun yhteytt\xe4 24 tunnin kuluessa. Jos sinulla on kysytt\xe4v\xe4\xe4, l\xe4het\xe4 meille viesti yll\xe4!","track":"Seuraa","type":"Tilaustyyppi","viewOrders":"Tarkastele ja hallinnoi tilauksia.","wrongPasswordTryAgain":"Antamasi salasana on v\xe4\xe4r\xe4. Yrit\xe4 uudelleen."},"orderstatuses":{"approved":"Hyv\xe4ksytty","awaitingCustomer":"Odottaa asiakasta","customerChanges":"Asiakasmuutokset","customerRejected":"","deliveryChanged":"Toimitusmuutos","expressOrder":"Pika-tilaus","inProduction":"Tuotannossa","pinned":"Kiinnitetty","rejected":"Hyl\xe4tty","unhandled":"K\xe4sittelem\xe4t\xf6n"},"orientation":{"landscape":"Pystysuora","orientation":"Suunta","portrait":"Vaakasuora"},"part":{"all":"","part":"","partQty":"","partSizes":""},"pdf":{"aboutUsPage":"Meist\xe4","careCertPage":"Hoito-ohjeet / Sertifikaatit","careInstructions":"Hoito-ohjeet","certifications":"Sertifikaatit","content":"Sis\xe4lt\xf6","coverPage":"Etusivu","description":"Kuvaus","download":"Lataa tuotetiedot (pdf)","fabrics":"Kankaat","fullPage":"Koko sivu","offerItemPrice":"Tarjoushinta kpl","offertPage":"Tarjous","pdf":"","pdfLoading":"Odota, kun valmistelemme asiakirja","preview":"Esikatselu","productPage":"Tuotteet","quantity":"M\xe4\xe4r\xe4","recommendedPrice":"Suositushinta","refinementPage":"Hienos\xe4\xe4d\xf6t","sizeGuides":"Kokotaulukko","tableOfContent":"Sis\xe4llysluettelo","terms":"Ehdot","termsTitle":"Toimitusehdot","titlePage":"Otsikko sivu","warnCareWithRefinement":"","weight":"Paino"},"pdfImages":{"environmentImages":"Fiiliskuvat","errorRequestSent":"Tekninen virhe on tapahtunut, emmek\xe4 pysty valmistelemaan kuvia lataamista varten. Ota yhteytt\xe4 asiakaspalveluun.","failedLoadPreview":"Esikatseludatan lataus ep\xe4onnistui","highResolution":"4000px (Korkea resoluutio)","imageAltText":"","imageResolution":"Kuvan resoluutio","loadPreview":"Ladataan tuotteita, odota...","noProducts":"Ei tuotteita","preferredFileType":"","preview":"1000px (Esikatselu)","productImages":"Tuotekuvat","sendEmail":"L\xe4het\xe4 s\xe4hk\xf6posti","showAll":"N\xe4yt\xe4 lis\xe4\xe4 kuvia","standardResolution":"","sucessRequestSent":"Valmistelemme kuvat zip-tiedostoon ja l\xe4het\xe4mme ne s\xe4hk\xf6postiisi, t\xe4m\xe4 voi kest\xe4\xe4 muutaman minuutin.","thumbnail":"200px (Pikkukuva)","webpInfo":""},"placement":{"":"","_Button1":"","_Button2":"","_Button3":"","_Button4":"","_Button5":"","_ChestPocketLeft":"","_ChestPocketRight":"","_Front":"","_Generic":"","_InnerSide":"","_Left":"","_OuterSide":"","_Right":"","_SidePocketLeft":"","_SidePocketRight":"","_SleeveLeft":"","_SleeveRight":""},"pmsColorPicker":{"inactivateColor":"Passivoi v\xe4ri","searchPlaceHolder":"PMS-v\xe4ri","searchZeroContent":"Ei PMS-v\xe4ri vastaa hakuehtoa"},"price":{"amount":"Summa","amountIncVat":"Summa (sis. Alv)","applyCustomer":"K\xe4yt\xe4 asiakashintaa","customer":"J\xe4lleenmyyj\xe4n hinta","customerPrice":"","latestPrice":"Viimeisin hinta","noPrice":"Hinta ei saatavilla","orderpricelist":"Tilaushinnasto","price":"Hinta","priceSt":"Hinta / kpl","priceSuggestion":"Hintaehdotus","pricelists":"Hinnastot","prices":"Hinnat","purchasePrice":"Ostohinta","regular_short":"Normaalihinta","retail":"Ohjev\xe4hitt\xe4ishinta","retailAndCustomer":"Ohjev\xe4hitt\xe4ishinta ja Asiakkaan hinta","rrp_long":"Suositushinta","rrp_short":"Suositusv\xe4h.hinta","selectedArticle":"","selectedRefinement":"","showNoPrice":"Ei hintoja","subTotal":"V\xe4lisumma","tiered":"Hintataulukko hinta","totalCart":"","totalValue":"Kokonaisarvo","total_exVat":"Yhteens\xe4 (Alv.0 %)","total_incVat":"Yhteens\xe4 (sis Alv)","vat":"Alv","vatConsumer":"Alv"},"product":{"_capacity":"","_closure":"","_colorComment":"V\xe4ri kommentti","_country":"","_designer":"Suunnittelija","_diameter":"Halkaisija","_fabrics":"Materiaali","_gender":"Malli","_height":"Korkeus","_hoodDetails":"Hupun tiedot","_length":"Pituus","_limitedEdition":"Limited edition","_measure":"Mitat","_neckline":"Kaula-aukko","_packaging":"Pakkaus","_pockets":"Taskut","_presentationDate":"Esityksen p\xe4iv\xe4m\xe4\xe4r\xe4","_printCode":"Painatuskoodi","_sleeve":"Hiha","_techniqueComment":"Tekninen kommentti","_volume":"","_weight":"Paino","_width":"Leveys","add":"Lis\xe4\xe4 tuote","addRemove":"Lis\xe4\xe4 / poista artikkeli","approveArticles":"Hyv\xe4ksy artikkelit","articleNumber":"Tuotenumero","article_one":"Tuote","article_other":"Artikkelit","care":"Hoito-ohjeet","certificates":"Sertifikaatit","colors":"V\xe4rit","composition":"Materiaali","document":"Asiakirja","downloadImage":"Lataa kuva","downloadImages":"Lataa kaikki kuvat","features":"Ominaisuudet","info":"Tuotetiedot","missingSkus":"Puuttuvat artikkelit","name":"Nimi","noProducts":"Ei tuotteita","orderDifference":"Tilausero","pdfDownload":"Lataa tuotetiedot (PDF)","product_one":"Tuote","product_other":"Tuotteet","products":"Tuotetta","related":"Lis\xe4\xe4 ostoskoriin","relatedGender":"Saatavana my\xf6s","related_short":"Liittyv\xe4t","replacement":"Korvaava tuote","search":"Etsi tuotetta","searchPlaceholder":"Esim. artikkelinumero, nimi, viite jne","searchPlaceholderProduct":"Esim. tuotenumero, nimi, viite jne","show":"Hae tuotetta","showLessColors":"N\xe4yt\xe4 v\xe4hemm\xe4n v\xe4rej\xe4","transfer":"Transfer","unwantedSkus":"Tuntemattomia artikkeleita"},"productAddImagesAfter":"{{added}}/{{max}} (valinnainen)","productTag":{"new":"Uusi","newVariation":"Uusi v\xe4ri","outlet":"Outlet","outletVariation":"Outlet-v\xe4ri","sustainable":"Kest\xe4v\xe4","upcoming":"Tulossa","upcomingVariation":"Tuleva v\xe4ri"},"production":{"refinement_one":"Viimeistelyt"},"proof":{"proof":"Korjausvedos","proof_one":"Luonnos","proof_other":"Luonnokset","service":""},"refinement":{"add":"Lis\xe4\xe4 tarkennusta","addon":"Lis\xe4osat","addonVariations":"variaatiot","articleAddedToDraftInfo":"","articleDraftSuggestionInfo":"","autoAdjustedPlacements":"Huomaa, ett\xe4 muita sijoituksia on s\xe4\xe4detty automaattisesti.","awaitingDelivery":"Odotetaan tuotteita","awaitingDeliveryAction":"Odotetaan tuotteita","choose":"Valitse merkkaustapa","colorBacking":"Taustav\xe4ri","colorChange":"Vaihda v\xe4ri","colorChangeColor":"V\xe4ri vaihtaa v\xe4ri\xe4","commentDescription":"Muut pyynn\xf6t","completed":"Tuotteet k\xe4sitelty","completedAction":"Tuotteet k\xe4sitelty","create":"","createArticleDraft":"Luo artikkeliluonnos","createTextElement":"Luo tekstielementti","customerPublicOrderConfirmSubmit":"Kiitos! Asiakaspalvelu k\xe4sittelee tilauksesi ja l\xe4het\xe4mme sinulle viestin, kun tilaus on hyv\xe4ksytty.","customerPublicOrderInstructions":"Lue viesti asiakaspalvelusta liittyv\xe4st\xe4 lokista. Napsauta alla avataksesi konfiguraattorin, muuta ja tallenna. Kun olet valmis. Napsauta l\xe4het\xe4 ja liit\xe4 kommentti. Jos sinulla on lis\xe4kysymyksi\xe4 tilauksesta tai puuttuvista ohjeista, l\xe4het\xe4 vain kommentti. Asiakaspalvelu tarkistaa muutoksesi nopeasti ja ilmoitamme sinulle, kun tilaus on hyv\xe4ksytty.","customerPublicOrderPriceWarning":"Merkint\xe4! Tilauksen tuotteet ovat muuttuneet ja uusi tilausvahvistus l\xe4hetet\xe4\xe4n.","deliverNowAndOnwards":"","deliverWhenInStock":"","delivered":"Tuotteet l\xe4hetetty","deliveredAction":"Tuotteet l\xe4hetetty","downloadPreviewImage":"Lataa esikatselukuva","errorNoAvailableRefinements":"T\xe4m\xe4 tuote ei t\xe4ll\xe4 hetkell\xe4 sovellu jalostukseen.","expected":"Odotettavissa oleva toimitus","fixedTextPlaceholder":"Kirjoita teksti t\xe4h\xe4n","inProgress":"","invalidTransferAmount":"","latest":"","message":"Ilmoitus","messages":"Viestit","minQuantityWarning":"Merkint\xe4! V\xe4himm\xe4ismaksu on {{minQuantity}} {{articles}} ja se johtaa siten korkeampaan yksikk\xf6hintaan valitulle numerolle.","mountings":"kiinnitykset","nameAndTags":"Nimi ja tunnisteet","new":"","noSplitPlaceInfo":"","objectSizeChangedWarning":"","otherInformation":"Muuta tietoa","pin":"","placementDescription":"T\xe4ss\xe4 m\xe4\xe4rit\xe4t, miten parannuksesi tulisi toteuttaa. Jos haluat lis\xe4\xe4 pintoja ja sijainteja, sinun on luotava lis\xe4parannuksia.","placement_one":"Sijoitus","placement_other":"Sijoitukset","positionAutoAdjusted":"Kuva on automaattisesti sijoitettu pinnalle. K\xe4yt\xe4 nuolin\xe4pp\xe4imi\xe4 s\xe4\xe4t\xe4\xe4ksesi tai napsauta magneettia poistaaksesi.","proofFinalAcceptText":"Hyv\xe4ksyn alkuper\xe4isen / luonnokseni lopullisena oikolukuna. T\xe4m\xe4n tarjouksen yhteydess\xe4 ei l\xe4hetet\xe4 lis\xe4oikolukuja.","readyForInvoice":"","refinement_one":"Viimeistely","refinement_other":"Viimeistelyt","reject":"Hyl\xe4t\xe4","rejected":"Hyl\xe4tty","rejectedAction":"Hyl\xe4t\xe4","review_proof":"Avaa ja tarkista vedoksesi alla","send":"L\xe4het\xe4","sendForReviewApprove":"","sender":"L\xe4hett\xe4j\xe4","sourceInfo":"","sourceInfo_Analysis":"J\xe4rjestelm\xe4 on tulkinnut v\xe4rin.","sourceInfo_Custom":"Asiakas on itse valinnut v\xe4rin.","sourceInfo_File":"Tiedosto on m\xe4\xe4ritellyt v\xe4rin.","startCost":"Aloituskustannus","uploadFile":"Lataa tiedosto","userProof":"K\xe4ytt\xe4j\xe4n todiste","variableTextPlaceholder":"Kirjoita teksti t\xe4h\xe4n","warnRepeatChanged":"T\xe4m\xe4 on toistuva tarkennus. Jos tallennat muutoksia, se ei en\xe4\xe4 ole toistuva tilaus ja hinnat saattavat muuttua."},"refinementsSelector":{"errorIncompatible":"Tiedostoa ei voida k\xe4sitell\xe4 valitun tyypin mukaan: {{selectedProduct}}. Haluatko vaihtaa prosessin valintaa?","errorNoCompatible":"Valittua tiedostoa ei voida soveltaa mihink\xe4\xe4n t\xe4m\xe4n tuotteen jalostuksiin. Valitse toinen tiedosto tai ota meihin yhteytt\xe4 saadaksesi lis\xe4apua!","title":"Haluatko lis\xe4t\xe4 jo luodun tarkennuksen?"},"reseller":{"change":"Vaihda j\xe4lleenmyyj\xe4\xe4","errorNotFound":"Emme l\xf6yd\xe4 osoitteeseesi liitetty\xe4 j\xe4lleenmyyj\xe4\xe4. Varmista, ett\xe4 se on oikein, tai etsi alta j\xe4lleenmyyj\xe4\xe4.","externalSupplier":"Ulkoinen toimittaja","openHours":"Aukioloajat","reseller_one":"J\xe4lleenmyyj\xe4","reseller_other":"","search":"L\xf6yd\xe4 j\xe4lleenmyyj\xe4si","searchAgreement":"Jos sinulla on sopimus, etsi yrityksesi tunnuksella","showAllResellers":"N\xe4yt\xe4 kaikki j\xe4lleenmyyj\xe4t","suggestionFrom":"Suosittelemme j\xe4lleenmyyj\xe4\xe4 perustuen","suggestionInfo":"T\xe4yt\xe4 osoitteesi l\xf6yt\xe4\xe4ksesi l\xe4himm\xe4n j\xe4lleenmyyj\xe4n"},"salesBoard":{"salesBoard":"Myyntitaulu","section":"","section_budget":"Budjetti","section_compare":"Vertaa ajanjaksoa","section_leaderboard":"Myyntitilastot","section_topOrders":"Tilauksien k\xe4rkilista","section_topProducts":"Tuotteiden k\xe4rkilista","section_totalValue":"Tilausten kokonaisarvo","section_visits":"Vierailut"},"search":{"empty":"Ei osumia","search":"Hae"},"seller":{"customer":"Asiakas","customerShops":"Asiakkaan microshopit","customers":"Asiakkaat","erpNumber":"Asiakasnumero","exportedFiles":"","loggedInAs":"Kirjautuneena sis\xe4\xe4n nimell\xe4","noCustomers":"Ei lis\xe4ttyj\xe4 asiakkaita","openAs":"Auki nimell\xe4","orderMonitoring":"Tilauksen seuranta","orderMonitoringEmpty":"Et ole lis\xe4nnyt viel\xe4 asiakkaita valvottavaksi. Aloita valvonta sy\xf6tt\xe4m\xe4ll\xe4 asiakasnumero alla.","orderMonitoringInfo":"T\xe4\xe4lt\xe4 voit seurata asiakkaiden tilauksia. Aina kun listan asiakas tekee tilauksen, l\xe4hetet\xe4\xe4n ilmoitus s\xe4hk\xf6postiisi","orderMonitoringNotificationInfo":"Ilmoitukset l\xe4hetet\xe4\xe4n osoitteeseen:","orderMonitoringRemoved":"Customer {{sub.customerName}}({{sub.customerCode}}) will no longer be monitored.","partnerOverview":"Kumppanien yleiskatsaus","selectCustomer":"Valitse asiakas","seller":"Myyj\xe4","signOutCustomer":"Kirjaudu ulos","warnSellingDisabled":""},"shipment":{"address":"Toimitusosoite","addressesAndShipmentsTitle":"Osoitteet ja toimitukset","date":"Arvioitu toimitusaika","deliveryOptional_other":"Lis\xe4palvelut","deliveryQuantity":"Toimitusm\xe4\xe4r\xe4","deliveryType":"Toimitustapa","delivery_one":"Toimitus","delivery_other":"Toimitukset","dispatchNote":"L\xe4hetysilmoitus","emailInfo":"Ilmoitettua s\xe4hk\xf6postiosoitetta k\xe4ytet\xe4\xe4n l\xe4hetysilmoituksen ja/tai tilausvahvistuksen ( ilmanhintoja) l\xe4hett\xe4miseen","info":"L\xe4hetyksen tiedot","manualDelivery":"Manuaalinen toimitus","new":"Uusi osoite","packageLabel":"Pakettikortti","qtyArticles":"{{count}} artikkelia","qtyShipments":"{{count}} toimituksia","receiver":"Vastaanottaja","requestDate":"Pyydetty toimitusp\xe4iv\xe4","requestDateChange":"Haluatko muuttaa toimitusaikaa?","requestedDate":"Pyydetty p\xe4iv\xe4m\xe4\xe4r\xe4","sendTo_one":"L\xe4het\xe4 yhteen osoitteeseen","sendTo_other":"L\xe4het\xe4 useisiin osoitteisiin","shipment":"L\xe4hetykset","simplifiedOrderConfirm":"Yksinkertaistettu tilausvahvistus","tracking":"Seuraa l\xe4hetyst\xe4si","trackingCarrier":"Kuljetusliike","trackingNumber":"Seurantanumero","trackingService":"Seurantapalvelu","trackingUrl":"Seurantalinkki","transportType":"Kuljetustyyppi","warningLongDelivery":"Huom toim.pvm","yourOrderNumber":"Tilauksenne","yourReference":"Viitteenne"},"size":{"allowedMinMax":"","large":"Suuri","size":"Koko","sizeguide":"Asiakirja","small":"Pieni"},"sort":{"relevance":"Vastaavuus"},"status":{"accepted":"","approved":"","approvedAction":"","cancelled":"","completed":"L\xe4hetys valmis","confirmed":"Vahvistettu","confirmedAction":"","draft":"","inproduction":"","inprogress":"L\xe4hetys k\xe4ynniss\xe4","invoiced":"Laskutettu","ok":"","onhold":"","processing":"","rejected":"","save_error":"Tallennuksen aikana tapahtui virhe","saved":"tallennettu","unconfirmed":"Ei vahvistettu","unconfirmedAction":"","waiting":""},"stock":{"box":"laatikko","enterQuantity":"Sy\xf6t\xe4 m\xe4\xe4r\xe4","estRefill":"Arvioitu t\xe4ytt\xf6","global":"Kaikki","local":"Suomen","min":"Min:","mounting":"Asennus","operation":"","operation_add":"Add to stock","operation_order":"Order direct","operation_withdraw":"Withdraw from stock","pcs":"kpl","region":"Alue","rest":"Loput","stock":"Varastossa","stockAfterTransaction":"Varasto transaktion j\xe4lkeen"},"stockLevel":{"in":"Varastossa","low":"V\xe4h\xe4n j\xe4ljell\xe4","no":"Ei varastossa","out":"Tilap\xe4isesti loppunut"},"template":{"copy":"Kopioi mallipohjasta","copyDescription":"Kopioi kokoonpano tallennetusta mallista. T\xe4m\xe4 korvaa nykyisen kokoonpanosi.","save":"Tallenna mallina","saveDescription":"Tallenna nykyinen kokoonpano malliksi tulevaa k\xe4ytt\xf6\xe4 varten muissa asiakirjoissa.","template_one":"Malli","warnRemove":"Oletko varma, ett\xe4 haluat poistaa mallipohjan?","warnTemplateExist":"Mallipohja on jo tallennettu t\xe4ll\xe4 nimell\xe4. T\xe4m\xe4 korvaa tallennetun mallipohjan nykyisell\xe4 kokoonpanolla."},"tool":{"noToolsOrServices":"Ei lis\xe4ttyj\xe4 ty\xf6kaluja tai palveluita","toolsAndServices":"Omat ty\xf6kalut ja palvelut"},"unsavedWarning":{"no":"Ei,hylk\xe4\xe4 muutokset","text":"Tallentamattomat muutokset menetet\xe4\xe4n. Haluatko tallentaa muutokset","title":"Tallenna muutokset","yes":"Kyll\xe4, tallenna"},"user":{"anonymousUsers":"Anonyymit k\xe4ytt\xe4j\xe4t","customerErrorLong":"K\xe4ytt\xe4j\xe4n asiakastietoja ei voitu ladata. Yrit\xe4 uudelleen.","customerErrorShort":"K\xe4ytt\xe4j\xe4ll\xe4 ei ole kelvollisia asiakastietoja","customerNumber":"Asiakasnumero","customerNumberError":"Sy\xf6t\xe4 koko asiakasnumero","customerWarningLong":"K\xe4ytt\xe4j\xe4\xe4n yhteydess\xe4 olevaa asiakasta ei ole olemassa tai tiedot asiakkaasta puuttuvat k\xe4ytt\xe4j\xe4lt\xe4 kokonaan.","customerWarningShort":"Ei kelvollista k\xe4ytt\xe4j\xe4\xe4 yhdistettyn\xe4 k\xe4ytt\xe4j\xe4\xe4n","notLoggedIn":"Et ole viel\xe4 kirjautunut sis\xe4\xe4n.","proceedAsAnonymous":"Jatka nimett\xf6m\xe4n\xe4","refreshFailedText":"Turvallisuussyist\xe4 sinut kirjataan ulos, kun olet ollut k\xe4ytt\xe4m\xe4tt\xf6m\xe4n\xe4.\\nPaina \\"Kirjaudu uudelleen\\" jatkaaksesi ostoksia.","refreshFailedTitle":"Olet kirjautunut ulos.","register":"Rekister\xf6idy","registeredUsers":"Rekister\xf6ityneet k\xe4ytt\xe4j\xe4t","salesContact":"Myynti yhteyshenkil\xf6","signIn":"Kirjaudu","signInAgain":"Kirjaudu uudelleen","signInToOrder":"Kirjaudu sis\xe4\xe4n tilataksesi","signOut":"Kirjaudu ulos","user_other":"K\xe4ytt\xe4j\xe4t","viewAccount":"N\xe4yt\xe4 tili"},"validation":{"allRequiredFields":"","email":"Virheellinen s\xe4hk\xf6postiosoite","fullNameMaxCharLimit":"Etunimi + Sukunimi eiv\xe4t saa ylitt\xe4\xe4 {{maxLength}} merkki\xe4","maxCharacterLength":"Sy\xf6te on pidempi kuin sallittu enimm\xe4ispituus {{maxLength}} merkki\xe4","maxLength_one":"Max {{max}} merkki","maxLength_other":"Max {{max}} merkki\xe4","minCharacterLength":"Sy\xf6te on lyhyempi kuin sallittu v\xe4himm\xe4ispituus {{minLength}} merkki\xe4","mustStartWith":"Arvon on alettava jollakin seuraavista:","noEmailFound":"","phoneInvalid":"Virheellinen puhelinnumero","phoneLength":"Puhelinnumeron tulee olla 8 tai 16 merkki\xe4 pitk\xe4","required":"Vaadittu","requiredAccept":"Hyv\xe4ksy"},"variableText":{"inputDataUpdated":"","refinementRowTitle":"","refinementRowTitle_plural":"","validateErrorDesc":"Lataamasi tiedosto sis\xe4lt\xe4\xe4 virheellisi\xe4 rivej\xe4. Korjaa n\xe4m\xe4 ja yrit\xe4 uudelleen.","validateErrorTitle":"{{count}} validointivirhett\xe4","validateErrorTitle_plural":"","validateSuccessDesc":"","validateSuccessTitle":""},"warning":{"attention":"","changesPartlyDisabled":"","note":"","refinementWarnings":"","showWarningTexts":""}}'),u=JSON.parse('{"action":{"actions":"Actions","add":"Ajouter","apply":"Appliquer","back":"Retour","cancel":"Annuler","change":"Changer","change_one":"","change_other":"","clear":"Effacer","configure":"Configurer","continue":"Continuer","continueWithoutSaving":"Continuer sans sauvegarder","copy":"Copie","create":"Cr\xe9er","download":"T\xe9l\xe9charger","duplicate":"Dupliquer","edit":"Editer","export":"Exporter","fullScreen":"Pleine \xe9cran","message":"Message","ok":"Ok","open":"Ouvrir","pending":"En attente","published":"Publi\xe9","rearrangeBoxes":"","refresh":"Rafra\xeechir","remove":"Supprimer","rename":"Renommer","replace":"Remplacer","save":"Sauvegarder","saveWarningText":"Vous devez enregistrer les modifications avant de continuer. Voulez-vous sauvegarder?","saveWarningTitle":"Enregistrer les changements ?","select":"Selectionner","selectOne":"S\xe9lectionnez une","showBoxes":"","sort":"Trier","submitChanges":"","submitQuestionComment":"","undo":"Revenir un arri\xe8re"},"angle":{"":"","_back":"Dos","_closeup1":"Gros plan 1","_closeup2":"Gros plan 2","_closeup3":"Gros plan 3","_front":"Face avant","_left":"Gauche","_other":"Autre","_right":"Droite"},"archived":{"archive":"Archive","archived":"Archiv\xe9","articleArchived":"Article archiv\xe9","collectionArchived":"","notArchived":"Pas archiv\xe9","remove":"Supprimer"},"article":{"articleMonitoring":"","configureAndAdd":"Configurer et ajouter","deleteWarning":"\xcates-vous s\xfbr de vouloir supprimer l\'article {{name}} ?","description":"Description","filters":"Filtres","filters_archived":"Filtres_Archiv\xe9","filters_category":"Filtres_Cat\xe9gorie","filters_products":"Filtres_Produits","filters_status":"Filtres_Status","filters_stock":"Filtres_Stock","new":"","noHitsContent":"","noHitsHeader":"","notDefined":"","orderMonitoringMinNum":"","show":"Montrer","submitApproval":""},"assortment":{"category_one":"Cat\xe9gorie","category_other":"Cat\xe9gories"},"bookmark":{"noPages":"Pas encore de pages ajout\xe9es","pages":"Pages","pagesAndTools":"Pages et outils","saveAsFavorite":"Enregsitr\xe9 en tant que favoris","tools":"Outils"},"brightness":{"dark":"Fonc\xe9","light":"Clair"},"calendar":{"agenda":"Agenda","allDay":"Toute la journ\xe9e","date":"Date","day":"Jour","event":"\xc9v\xe9nement","events":"\xc9v\xe9nements","importantDates":"Dates importantes","month":"Mois","next":"Suivant","noEventsInRange":"Il n\'y a pas d\'\xe9v\xe9nements dans cette plage.","previous":"Retour","previousEvents":"\xc9v\xe9nements pr\xe9c\xe9dents","previousYear":"Ann\xe9e pr\xe9c\xe9dente","showAsCalendar":"Afficher sous forme de calendrier","showAsList":"Afficher sous forme de liste","time":"Horaire","today":"Aujourd\'hui","tomorrow":"Demain","week":"Semaine","workWeek":"Semaine de travail","year":"Ann\xe9e","yesterday":"Hier"},"campaign":{"code":"Code promotionnel","error":"Code invalide"},"cart":{"addVariation":"Ajouter les variations","add_one":"Ajouter au panier","add_other":"Ajouter au panier","addressSelected_one":"","addressSelected_other":"","agreementInfo":"Nous ne partagerons jamais votre e-mail, votre adresse ou toute autre information personnelle avec qui que ce soit.","allowSplit":"Livraison partielle?","cart":"Panier","checkout":"Valider d\xe9finitivement la commande","checkout_request":"Passer une commande","chooseQuantity":"Choisir les quantit\xe9s","configureCheckout":"","continueShopping":"Continuer les achats","createOffer":"Cr\xe9er une offre","created":"Panier cr\xe9\xe9","depositToStock":"","depositToStockMinText":"","discount":"Remise","doPayment":"Autoriser le paiement","empty":"Votre panier est vide","emptyDo":"Vider le panier","emptyFavourite":"Gardez la trace de vos produits pr\xe9f\xe9r\xe9s ici en cliquant sur le bouton ","errorCouldNotCalculateRow":"Il y a eu un probl\xe8me lors de la confirmation de vos prix uniques. Affichage du dernier prix connu du produit s\'il est disponible.","errorCouldNotCalculateTotal":"Il y a eu un probl\xe8me lors de la confirmation de vos prix uniques et du montant total de la commande. Vous pouvez toujours passer commande et vous trouverez vos prix sur la confirmation de commande.","errorInvalidProducts":"Certains produits ne sont pas compatibles dans une m\xeame commande. Les produits invalides resteront dans le panier mais ne seront pas inclus dans la commande en cours.","errorInvalidSku":"Non valide: l\'article n\'existe pas.","errorSelectReseller":"Veuillez s\xe9lectionner un revendeur","favourite":"Vos favoris","minAmount":"Quantit\xe9 minimum","minOrderQty":"Quantit\xe9 minimum d\'achat","minOrderQtyInfo":"Si vous souhaitez passer \xe0 une quantit\xe9 inf\xe9rieure, vous devez d\'abord en ajouter plus \xe0 une autre taille.","new":"Nouveau panier","noFavourite":"Pas encore de favori.","orderAndDelivery":"Commande et livraison","payment":"Paiement","paymentCancelled":"Le paiement a \xe9t\xe9 annul\xe9, r\xe9essayez ou s\xe9lectionnez un autre mode de paiement","paymentError":"Erreur de paiement, r\xe9essayez ou s\xe9lectionnez un autre mode de paiement","paymentrefused":"Le paiement a \xe9t\xe9 refus\xe9, essayez de choisir un autre mode de paiement","qtyAdjustedByArticleQuantity":"Attention! Le nombre de montages d\xe9passe le stock de l\'article et le panier sera ajust\xe9.","quantity":"Quantit\xe9","quickAdd":"Ajout rapide au panier","removeVariation":"Supprimer la variante","saveToArticles":"","saveToCart":"Sauvegardez votre panier","specification":"Sp\xe9cification de prix","startShopping":"Commencer votre shopping ou utiliser l\'ajout rapide ci-dessous et ajouter des produits","swishButton":"Open swish","swishInfo":"Pour compl\xe9ter votre commande, scannez le code QR dans l\'application Swish.","toCart":"au panier","toastDismissNoOption":"Non merci","toastDismissText":"Voulez-vous d\xe9sactiver les notifications lorsque le panier change\xa0?","toastDismissYesOption":"Oui, d\xe9sactiver","totalSkus":"Total","validationErrorHigher":"Trop de produits ajout\xe9s","validationErrorLower":"Trop peu de produits ajout\xe9s","warnNoStockAfterTransaction":"","warningCancelPayment":"Paiement annul\xe9, veuillez essayer \xe0 nouveau s\'il vous pla\xeet","warningOrderDisabled":"L\'autorisation de passer commande est manquante. Veuillez contacter le service client.","warningPriceOverride":"","warningPriceOverrideEnabled":""},"cartFee":{"admin":"Frais d\'admin.","freight":"Frais de transport","insurance":"Frais d\'assurance","invoice":"Frais de facturation","postage":"Frais de port","shipping":"Frais de port"},"collection":{"collection_one":"Collection","collection_other":"Collections","deleteWarning":"\xcates-vous s\xfbr de vouloir supprimer la collection {{name}}?","description":"Voici vos collections de produits raffin\xe9s.","noContent":"Commencez \xe0 raffiner les produits!","noHitsContent":"Aucune collection trouv\xe9e avec les termes de recherche actuels","noSkuWarning":"Les articles suivants n\'ont pas de quantit\xe9 et seront supprim\xe9s : ","refinementsRemovedWarning":"Les affinements suivants ne s\'appliquent qu\'\xe0 cet article et seront \xe9galement supprim\xe9s : ","show":"Afficher les collections","upgrade_product":"Affiner le produit","variations_one":"Variante","variations_other":"Variantes"},"color":{"color_one":"Couleur","color_other":"Couleurs","errorNotEnough":"S\xe9lectionnez au moins une couleur.","errorTooMany":"Trop de couleurs pour la finition choisie. Supprimez/combiner les couleurs ou choisissez un type de finition qui prend en charge plus de couleurs.","interpretedByTool":"interpr\xe9t\xe9 par l\'outil","interpretedFromFile":"\xe0 partir de votre fichier","interpretedTitle":"Couleurs PMS s\xe9lectionn\xe9es","toolInterpretedColors":"L\'outil a choisi les couleurs suivantes:","warnInterpreted":"Attention ! Les couleurs de l\'image sont choisis par l\'outil et peuvent appara\xeetre diff\xe9remment sur diff\xe9rents \xe9crans. Assurez-vous que les codes couleur correspondent \xe9troitement.","warningAutoBackingColorApplied":"Plac\xe9 sur un v\xeatement non blanc. Couleur de fond appliqu\xe9e.","warningAutoBackingColorNone":"Aucune couleur de fond."},"colors":{"amber":"Ambre","blue":"Bleu","blueGrey":"Bleu gris","brown":"Marron","cyan":"Cyan","deepOrange":"Orange fonc\xe9","deepPurple":"Violet fonc\xe9","green":"Vert","grey":"Gris","indigo":"Indigo","lightBlue":"Bleu clair","lightGreen":"Vert clair","lime":"Jaune citron","orange":"Orange","pink":"Rose","purple":"Violet","red":"Rouge","teal":"Bleu/vert","yellow":"Jaune"},"confirmation":{"remove":"Supprimer"},"contact":{"address":"Adresse","city":"Ville","company":"Entreprise","companyNumber":"Num\xe9ro d\'entreprise","companyText":"Texte de l\'entreprise","contactName":"Nom du contact","contactUs":"","country":"Pays","customerContact":"Contact Service Client","customerContactUs":"","customerSupport":"","email":"E-mail","firstName":"Pr\xe9nom","lastName":"Nom","name":"Nom","phone":"Num\xe9ro de t\xe9l\xe9phone","postalCode":"Code postal"},"error":{"cellRowCol":"Ligne {{row}}, colonne ({{col}}):","code":"","code_InvalidFormat":"Format invalide.","code_NoValue":"Aucune valeur fournie.","code_ToLong":"Entr\xe9e trop longue.","error":"Erreur!","general":"Quelque chose s\'est mal pass\xe9, veuillez r\xe9essayer ou contacter service client."},"excel":{"activeConfiguration":"Configuration active","browserExport":"Le fichier est en cours de g\xe9n\xe9ration. Cela peut prendre plusieurs minutes en fonction de la quantit\xe9 de donn\xe9es export\xe9es.","columnRemovalDescription":"Certaines colonnes seront supprim\xe9es en passant \xe0 un niveau d\'exportation inf\xe9rieur. Voulez-vous continuer?","columnRemovalNo":"Non, conserver les colonnes","columnRemovalTitle":"Changer le niveau d\'exportation","columnRemovalYes":"Oui, supprimer les colonnes","columns":"Colonnes","customerPriceDate":"","download":"T\xe9l\xe9charger le fichier Excel","downloadCancelled":"T\xe9l\xe9chargement annul\xe9.","emailExport":"Le fichier est en cours de g\xe9n\xe9ration et vous sera envoy\xe9 par e-mail lorsqu\'il sera pr\xeat. Cela peut prendre plusieurs minutes en fonction de la quantit\xe9 de donn\xe9es export\xe9es.","excel":"Excel","exportLevel":"Niveau d\'exportation","failedLoadPreset":"\xc9chec du chargement du pr\xe9r\xe9glage","failedLoadPreview":"\xc9chec du chargement des donn\xe9es de pr\xe9visualisation","generate":"Envoyer le fichier Excel par e-mail","languages":"Langues","name":"Nom","noConfigurations":"Il n\'y a pas de configurations enregistr\xe9es","noLanguage":"Votre langue par d\xe9faut sera utilis\xe9e","savedConfiguration_one":"Configuration enregistr\xe9e","savedConfiguration_other":"Configurations enregistr\xe9es","tabs":"Regrouper dans les onglets Excel par colonne","toggleConfiguration":"Cliquez sur une configuration pour l\'activer ou la d\xe9sactiver","units":"Unit\xe9s"},"export":{"added":"Ajout\xe9 \xe0 l\'exportation","chosen_product":"Produit choisi pour l\'exportation","chosen_products":"Produits choisis pour l\'exportation","fileExportCompleted":"","fileExportFailed":"","images":"Images","price":"Prix","product":"Produit","removed":"Retir\xe9 de l\'exportation","search_in":"Chercher dans","sku":"Article / SKU","thresholdWarning":"","variation":"Variation / Couleur","various_search":"Chercher dans plusieurs cat\xe9gories"},"file":{"allowedType":"Types de fichiers autoris\xe9s","attachments":"Pi\xe8ces jointes","dragAndDropOrBrowse":"Glisser-d\xe9poser ou parcourir","draggingSingleText":"Rel\xe2chez un fichier ici pour le t\xe9l\xe9charger","draggingText":"Poser les fichiers ici pour les t\xe9l\xe9charger","file_other":"Fichiers","filename":"Nom du fichier","none":"Aucun fichier n\'a encore \xe9t\xe9 t\xe9l\xe9charg\xe9. Ajouter des fichiers\xa0!","processFileError":"Impossible de traiter le fichier.","processFileErrorFileSize":"Le fichier ne peut pas \xeatre t\xe9l\xe9charg\xe9; il d\xe9passe la taille maximale autoris\xe9e de {{value}}MB.","processingFileUpload":"Traitement de t\xe9l\xe9chargement de fichier...","supported":".jpg, .jpeg, .png, .gif, .pdf and .svg. Max 5Mb."},"filter":{"filter":"Filtre","filter_accessories":"Accessoires","filter_activity":"Activit\xe9","filter_brand":"Marque","filter_care":"Instructions d\'entretien","filter_category":"Categorie","filter_certification":"Certification","filter_color":"Couleur","filter_designer":"Designer","filter_feature":"Fonctionnalit\xe9","filter_female":"Femme","filter_fit":"Coupe","filter_gender":"Genre","filter_male":"Homme","filter_material":"Materiel Technique","filter_neckline":"Col","filter_other":"autre","filter_outlet":"Outlet","filter_range":"Gamme","filter_retail":"","filter_season":"Saison","filter_sleeve":"Type de manches","filter_theme":"Theme","filters":"Filtres"},"general":{"add":"Ajouter","agreeTo":"Accepter","all":"Tout","auto":"Automatique","basis":"","cantChange":"Ne peut pas \xeatre chang\xe9","changed":"Chang\xe9","close":"Fermer","collapseAll":"Effondrement tout","columns":"Colonnes","comment":"Commentaire","commentSet":"Ajouter un commentaire","compact":"Compact","created":"Cr\xe9\xe9","custom":"Personalis\xe9","description":"Description","dontShowAgain":"Ne plus afficher","email":"Email","endDate":"Date  de fin","enterPassword":"Entrez le mot de passe pour continuer.","expand":"D\xe9velopper","expandAll":"D\xe9velopper tout","expires":"","favourites":"Favouris","font":"","full":"Assortiment complet","hide":"Cacher","hideAllPages":"Cacher toutes les pages","language":"Langue","limitedToCharacters":"Limit\xe9 \xe0 {{characters}} caract\xe8res.","limitedToInteger":"Limit\xe9 \xe0 des chiffres.","limitedToLetters":"Limit\xe9 \xe0 des lettres.","limitedToLettersUpper":"Limit\xe9 \xe0 des lettres majuscules.","log":"Enregistrer","logotype":"Logotype","maintenance":"Information importante ! En raison d\'une maintenance planifi\xe9e, notre syst\xe8me commercial sera indisponible \xe0 partir d\'environ 8h00 le 13 avril. Nous nous excusons pour tout inconv\xe9nient et vous informons que le site ne fonctionnera pas normalement pendant cette p\xe9riode. Nous pr\xe9voyons de revenir \xe0 un fonctionnement normal dans quelques heures et vous remercions de votre patience.","mandatory":"Obligatoire","minimize":"Minimiser","name":"Nom","new":"Nouveau","no":"Non","none":"Aucun","notifications":"Notifications","password":"Mot de passe","readMore":"En savoir plus","safety":"S\xe9curit\xe9","saveAndClose":"","selected":"Selectionn\xe9","settings":"","show":"Montrer","showAllPages":"Afficher toutes les pages","show_all":"Tout montrer","show_less":"En voir moins","show_more":"En voir plus","skipToContent":"","standard":"Standard","startDate":"Date de d\xe9but","status":"Statut","subTitle":"Sous-titre","summary":"Sommaire","tag_one":"\xc9tiquette","tag_other":"\xc9tiquettes","terms":"CGV","text":"Texte","text_other":"Textes","thankYou":"Merci","title":"Titre","to":"","tools":"Outils","total":"Total","type":"","updated":"Actualis\xe9","url":"Url","view":"Vue","weOffer":"Nous offrons","yes":"Oui"},"image":{"angle_one":"","angle_other":"Vues produit","environment":"Environnement","image_one":"Image","image_other":"Images"},"invoice":{"address":"Adresse de facturation","credit":"note de cr\xe9dit","invoice_one":"Facture","invoice_other":"Factures (duplicata)"},"logoAppTools":{"asset":"T\xe9l\xe9chargez votre logo"},"microshop":{"CustomerNumberSecurityInfo":"L\'option de s\xe9curit\xe9 doit \xeatre activ\xe9e.","accentColor":"Couleur d\'accentuation","activate_units":"","addAddon":"Ajouter un module compl\xe9mentaire","addCategory":"Ajouter une cat\xe9gorie","addMasterDeliveryAddress":"","addNewUsers":"Ajouter de nouveaux utilisateurs","addUnit":"Ajouter une nouvelle unit\xe9","addons":"Ajout accessoires","administrator":"Administrateur","agreement":"Accord","allProducts":"Tous les produits","alternativeUnitCertifier":"Certificateur alternatif","approval":"","assortment":"Assortiment","assortmentAvailableVariationsAdded":"Toutes les variations disponibles ont \xe9t\xe9 ajout\xe9es \xe0 l\'assortiment","backgroundImage":"Image de fond","bodyFont":"Police d\'\xe9criture","budget":"Budget","budget_approval":"","cancelMasterOrderWarning":"Voulez-vous vraiment annuler la commande principale {{masterOrder}}","cantDeleteWarning":"Avoir des commandes en attente et/ou des commandes principales et ne peut pas \xeatre supprim\xe9.","categoryExists":"La cat\xe9gorie existe","changeOwner":"Changer de propri\xe9taire","changeTo":"Changer pour","column":"Colonne","confirmDelete":"Confirmer la suppression","confirmMasterOrder":"Confirmer la commande principale","content":"Contenu","copyShop":"Copier les param\xe8tres de la boutique existante","create":"Cr\xe9er une nouvelle microboutique","createMasterOrder":"Cr\xe9er une commande principale \xe0 partir des commandes s\xe9lectionn\xe9es","createUser":"Cr\xe9er un nouvel utilisateur","currency":"Devise","currentOwner":"Propri\xe9taire actuel","custom":"personnalis\xe9","customerInputNone":"Aucun","customerInputNumber":"Num\xe9ro","customerInputText":"Texte","customerInputType":"Entr\xe9e client","databaseError":"Erreur de base de donn\xe9es","deleteProduct":"Supprimer le produit","deleteSelectedOrder":"Supprimer les commandes s\xe9lectionn\xe9es","deleteUnit":"Supprimer l\'unit\xe9","deleteUnitWarning":"La suppression de votre compte supprimera d\xe9finitivement toutes vos donn\xe9es, y compris tous les utilisateurs, vos param\xe8tres et tout le contenu que vous avez cr\xe9\xe9. Cette action est irr\xe9versible.","deleteWarning":"\xcates-vous s\xfbr de vouloir supprimer microshop {{name}}","departmentUnit":"d\xe9partement/unit\xe9","descOptionCombine":"Combiner","descOptionDefault":"D\xe9faut","direct_orders":"","disable_units":"","displayOptions":"","emailWarning":"Email invalide. Veuillez v\xe9rifier les fautes de frappe, d\'orthographe et que l\'email existe dans la microboutique s\xe9lectionn\xe9e.","emptyAssortments":"Aucun assortiment disponible","emptyProducts":"Aucun produit trouv\xe9","error":"Une erreur est survenue !","excelTemplate":"Mod\xe8le Excel","excelTemplateDescription":"Vous pouvez t\xe9l\xe9charger l\'exemple ci-joint et l\'utiliser comme point de d\xe9part pour votre propre fichier.","files":"Fichiers","filesUploaded":"Fichier(s) t\xe9l\xe9charg\xe9(s) et enregistr\xe9(s)","footColor":"Couleur pied de page","footer":"Bas de page","freeShipping":"Livraison gratuite au dessus du montant","general":"G\xe9n\xe9ral","handleProductsSettings":"G\xe9rer les prix, les compl\xe9ments et les cat\xe9gories","headerFont":"Police en-t\xeate","import":"Importer","individual":"Individuel (SEK)","input":"Saisie","invalidUrl":"URL invalide","legalNotice":"Mention l\xe9gale","lightnessColor":"Claret\xe9","logotype":"Logo","look":"Aper\xe7u du projet","mainColor":"Couleur principale","main_orders":"","many_size_products":"","masterOrder":"","microshop":"Microshop","microshop_other":"Microshops","missingEmail":"L\'email est manquant","missingMicroshop":"Le microshop est manquant","missingShopUnitName":"Le nom de l\'unit\xe9 de magasin est manquant","missingUser":"Les utilisateurs sont manquants","new_unit":"Nouvelle Unit\xe9","noFilters":"Pas de filtre","noHitsContent":"Aucune microshop n\'a pu \xeatre trouv\xe9e avec les crit\xe8res de recherche actuels","noMicroshopFound":"Aucune microboutique trouv\xe9e","noOrders":"Pas de commande","noOrdersExplanation":"Votre boutique ne contient pas {{orderText}}.","noUserDescription":"Cr\xe9ez de nouveaux utilisateurs ici, ou importez !","noUsers":"Pas encore d\'utilisateurs","notificationOptionDaily":"Aper\xe7u quotidien","notificationOptionInstant":"E-mail instantan\xe9","notificationOptionNone":"Aucun","notificationsTitle":"Notification de commande","one_size_product":"","orderDeleteWarning":"\xcates-vous s\xfbr de vouloir supprimer cette commande ?","orderPrices":"Commande & Prix","order_flow":"","ordered":"Command\xe9","orderrNotificationExplanation":"La notification par e-mail est envoy\xe9e \xe0 {{email}}","ordersDeleteWarning":"\xcates-vous s\xfbr de vouloir supprimer les commandes s\xe9lectionn\xe9es","pendingOrders":"Les commandes en attente","points":"points","priceModel":"Mod\xe8le de prix","priceOptionFixed":"Prix \u200b\u200bfixe","priceOptionNone":"Aucun","priceOptionRetail":"Bas\xe9 sur le prix de d\xe9tail","privacyPolicy":"Politique de confidentialit\xe9","productAddImages":"Ajouter des images","productName":"Nom du produit","productNumber":"R\xe9f\xe9rence du produit","productQuantity":"La quantit\xe9 de produit","readyForImport":"Le fichier est pr\xeat \xe0 \xeatre import\xe9. Continuez en cliquant sur \'Importer\'.","refinementsAndAddons":"Marquages & accessoires","requiresattestation":"Exige attestation","retailModifier":"Rapport de prix de vente recommand\xe9","retailPrice":"Prix \u200b\u200bde vente recommand\xe9","retailPriceExplanation":"Chaque produit ajout\xe9 \xe0 la boutique recevra un prix bas\xe9 sur le prix de vente recommand\xe9l du produit.\\nLe prix est multipli\xe9 par le nombre indiqu\xe9 ci-dessous","role":"R\xf4le","row":"Ligne","saved":"Vos modifications ont \xe9t\xe9 enregistr\xe9es","securityOptionNone":"Pas de s\xe9curit\xe9","securityOptionRegister":"Se connecter avec un compte","securityOptionSecregAndRegister":"Inscription et mot de passe g\xe9n\xe9ral","securityOptionSecret":"Mot de passe","security_protection":"","settings":"Param\xe8tres","standard":"standard","standardPrice":"Calcul du prix standard","totalCustomer":"Co\xfbt total, client","unit":"Unit\xe9","unitBudgetDepartment":"D\xe9partement (SEK)","unitCertifier":"Certificateur","unitDeleteWarning":"\xcates-vous s\xfbr de vouloir supprimer l\'unit\xe9 s\xe9lectionn\xe9e?","unitName":"Nom","unitWithChildrenDeleteWarning":"Vous \xeates sur le point de supprimer l\'unit\xe9 \'{{unitName}}\' et toutes les unit\xe9s sous-jacentes. Cette action est irr\xe9versible. Voulez-vous continuer la suppression?","units":"Unit\xe9s","units_other":"","uploadDone":"Le t\xe9l\xe9chargement est termin\xe9 !","uploadedFile":"Fichier t\xe9l\xe9charg\xe9","userInformation":"Informations","value":"Valeur","variationExists":"La variation existe d\xe9j\xe0","vatExcluded":"","vatIncluded":"","vatIsIncluded":"La TVA est incluse dans les prix","vatNotIncluded":"La TVA n\'est pas incluse dans les prix","visitShop":"Voir la boutique","welcomeMessage":"Message de bienvenue","zeroContentAddons":"Il n\'y a pas des accessoires pour la boutique, cr\xe9ez des accessoires sous l\'onglet \\"{{- tab}}\\".","zeroContentText":"Recherchez des produits ou choisissez entre des cat\xe9gories et des favoris pour ajouter des produits \xe0 votre assortiment.","zeroContentTitle":"Aucun produit s\xe9lectionn\xe9 pour le moment."},"microshopUploadErrorCodes":{"databaseError":"","invalidEmailFormat":"Format d\'e-mail invalide","invalidIsAttestantValue":"Valeur isAttestant invalide","invalidManageBudgetValue":"Valeur manageBudget invalide","invalidRequiresAttestationValue":"Valeur requiresAttestation invalide","invalidRoleValue":"Valeur de r\xf4le invalide","missingMicroshop":"Microshop manquant","missingOrIncorrectHeaders":"En-t\xeates manquants ou incorrects","missingShopUnits":"Unit\xe9s de magasin manquantes","missingUsers":"Utilisateurs manquants","noDataInFile":"Aucune donn\xe9e dans le fichier","noFileSelected":"Aucun fichier s\xe9lectionn\xe9","noRowsInFile":"Aucune ligne dans le fichier"},"navigation":{"allIn":"Afficher tout dans","history":"Historique","onThisPage":"Sur cette page","page":"Page","promoted":"Selectionn\xe9","start":"Page de d\xe9marrage","toTop":"En haut"},"news":{"new_one":"News","new_other":"News","showAll":"Afficher tous les articles"},"newsletter":{"subscribed":"S\'abonner"},"offer":{"additionalCost":"Co\xfbt suppl\xe9mentaire","additionalCosts":"Co\xfbts suppl\xe9mentaires","confirmOffer":"Confirmer l\'offre","daysBeforeReminder":"Jours avant le rappel","discount":"Remise","discountInfo":"Tous les produits b\xe9n\xe9ficient d\'une remise en pourcentage.","editName":"Modifier le nom","expires":"Date d\'expiration","margin":"Marge","marginInfo":"Tous les produits re\xe7oivent une marge en pourcentage.","noProductInfo":"Commencez par ajouter des produits ci-dessus.","offerPage":"Page de l\'offre","offerPrice":"Prix \u200b\u200bde l\'offre","offer_one":"Offre","offer_other":"Offres","otherTerms":"Conditions d\'autres offres","publicOffer":"Offre publique","remove":"Supprimer l\'offre","removeConfirmation":"Voulez-vous vraiment supprimer l\'offre\xa0?","removePublicUrlAlert":"Supprimer votre offre publique\xa0?","removePublicUrlAlertConfirm":"Oui, supprimer.","removePublicUrlAlertContent":"Voulez-vous retirer votre offre publique de l\'offre {{name}}?","shareOffer":"Partager l\'offre","visitors":"Visiteurs","warnExternalCustomerMissing":""},"order":{"addNewAddress":"Ajouter une nouvelle adresse","adjustment":"Ajustement","allOrdersLast30Days":"","createDelivery_one":"Cr\xe9er une livraison","createDelivery_other":"Cr\xe9er des livraisons","createOrder":"Cr\xe9er une commande","createRepeatOrder":"Cr\xe9er une commande r\xe9currente","createdDeliveries":"Livraisons cr\xe9\xe9es","creditType":"Ordre de cr\xe9dit","customerDetails":"D\xe9tails du client","deleteWarning":"\xcates-vous s\xfbr de vouloir supprimer commande {{name}}?","deliveryAsc":"Date de livraison croissante","deliveryDate":"Date de livraison","deliveryDesc":"Date de livraison d\xe9croissante","deliveryNote":"Bordereau de livraison","deliveryNoteNumber":"Num\xe9ro de bordereau de livraison","deliveryType":"Type de livraison","downloadDeliveryNote":"T\xe9l\xe9charger le bordereau de livraison","downloadExcel":"T\xe9l\xe9charger Excel","entire":"Par exemple. num\xe9ro de commande, r\xe9f\xe9rence etc.","entirePartnerOrders":"Par exemple. num\xe9ro de commande, nom de livraison, e-mail, etc.","handleAddresses":"G\xe9rer les adresses","handleAddressesAndDeliveries":"G\xe9rer les adresses et les livraisons","history":"Historique des commandes","infoMessage_boxDesign_partnerOverview":"","lastOrder":"Derni\xe8re commande","masterOrder_other":"Commandes principales","noHitsContent":"N\'oubliez pas que vous devez rechercher par un num\xe9ro de commande complet","noHitsHeader":"Aucun r\xe9sultat","noOrdersLast30Days":"","notes":"","orderNumber":"Num\xe9ro de commande","order_one":"Commande","order_other":"Commandes","packageLabel":"\xc9tiquette de l\'emballage","partner_one":"","paymentType":"Paiement","placed":"Merci pour votre commande","placedBy":"Command\xe9e par","reference":"R\xe9f\xe9rence de l\'achat","refinementType":"Refinement order","removeAddressText":"Voulez-vous supprimer l\'adresse et ses livraisons?","removeAddressTitle":"Supprimer l\'adresse et les livraisons?","removeAddressYesOption":"Supprimer l\'adresse","repeat":"","sendOrderDocument":"","setPublicOrderAsCompletedDescription":"Cela marquera la commande comme termin\xe9e et aucune livraison suppl\xe9mentaire ne pourra \xeatre ajout\xe9e. Un message sera envoy\xe9 au client.","setPublicOrderAsCompletedTitle":"\xcates-vous s\xfbr de vouloir terminer?","setPublicOrderAsCompletedYesOption":"Oui, terminer la commande","showEditArticles":"Afficher/\xe9diter les articles ({{count}})","skuEditorDisabledTitle":"Une commande ne peut contenir de livraisons que si elle a \xe9t\xe9 plac\xe9e en production. Dans ce mode, seules les adresses de livraison peuvent \xeatre modifi\xe9es.","status":"Statut de la commande","statusCreated":"Cr\xe9e","statusFailed":"Erreur","statusPlaced":"Pass\xe9e","system":"","table":"Table de commande","thankYou_message_customerApproval":"Nous avons re\xe7u votre r\xe9ponse et nous vous contacterons dans les 24 heures. Si vous avez des questions, veuillez nous envoyer un message ci-dessus!","thankYou_message_rejectToCustomer":"Nous avons re\xe7u votre mise \xe0 jour et nous vous contacterons dans les 24 heures. Si vous avez des questions, veuillez nous envoyer un message ci-dessus!","track":"Suivre la commande","type":"Type de commande","viewOrders":"Afficher et g\xe9rer les commandes.","wrongPasswordTryAgain":"Le mot de passe que vous avez entr\xe9 est incorrect. Veuillez r\xe9essayer."},"orderstatuses":{"approved":"Approuv\xe9","awaitingCustomer":"En attente du client","customerChanges":"Modifications client","customerRejected":"","deliveryChanged":"Changement de livraison","expressOrder":"Commande express","inProduction":"En production","pinned":"\xc9pingl\xe9","rejected":"Rejet\xe9","unhandled":"Non trait\xe9"},"orientation":{"landscape":"Paysage","orientation":"Orientation","portrait":"Portrait"},"part":{"all":"","part":"","partQty":"","partSizes":"Marquage par article diff\xe9rent"},"pdf":{"aboutUsPage":"","careCertPage":"","careInstructions":"Instructions de lavage","certifications":"Certificats","content":"Contenu","coverPage":"Page de Couverture","description":"Description","download":"T\xe9l\xe9charger le PDF","fabrics":"Composition","fullPage":"Page enti\xe8re","offerItemPrice":"Prix de l\'offre","offertPage":"Offre","pdf":"","pdfLoading":"Veuillez patienter pendant que nous pr\xe9parons votre document","preview":"Aper\xe7u maquette","productPage":"Produits","quantity":"Quantit\xe9","recommendedPrice":"Prix recommand\xe9","refinementPage":"Personnalisation","sizeGuides":"Guides des tailles","tableOfContent":"Sommaire","terms":"CGV","termsTitle":"CGV","titlePage":"Titre","warnCareWithRefinement":"Une fois que votre v\xeatement est personnalis\xe9, les instructions de lavage originales ne s\'appliquent plus!","weight":"Poids"},"pdfImages":{"environmentImages":"Images d\'ambiance","errorRequestSent":"Une erreur technique s\'est produite et nous ne pouvons pas pr\xe9parer les images pour le t\xe9l\xe9chargement. Veuillez contacter le service client.","failedLoadPreview":"\xc9chec du chargement des images","highResolution":"4000px (Haute r\xe9solution)","imageAltText":"","imageResolution":"R\xe9solution de l\'image","loadPreview":"Chargement des produits...","noProducts":"Pas de produit","preferredFileType":"","preview":"1000px (Aper\xe7u)","productImages":"Images produit","sendEmail":"Envoyer un email","showAll":"Montrer plus d\'images","standardResolution":"","sucessRequestSent":"Nous pr\xe9parons les images dans un fichier zip et les enverrons \xe0 votre adresse e-mail, cela peut prendre plusieurs minutes.","thumbnail":"200px (Miniature)","webpInfo":""},"placement":{"":"","_Button1":"Bouton 1","_Button2":"Bouton 2","_Button3":"Bouton 3","_Button4":"Bouton 4","_Button5":"Bouton 5","_ChestPocketLeft":"Poche poitrine gauche","_ChestPocketRight":"Poche poitrine droite","_Front":"Devant","_Generic":"G\xe9n\xe9rique","_InnerSide":"C\xf4t\xe9 int\xe9rieur","_Left":"Gauche","_OuterSide":"C\xf4t\xe9 ext\xe9rieur","_Right":"Droite","_SidePocketLeft":"Poche lat\xe9rale gauche","_SidePocketRight":"Poche lat\xe9rale droite","_SleeveLeft":"Manche gauche","_SleeveRight":"Manche droite"},"pmsColorPicker":{"inactivateColor":"D\xe9sactiver la couleur","searchPlaceHolder":"Couleur PMS","searchZeroContent":"Aucune couleur PMS ne correspond \xe0 la requ\xeate de recherche"},"price":{"amount":"Montant","amountIncVat":"Montant TTC","applyCustomer":"Appliquer mes prix","customer":"Prix client","customerPrice":"","latestPrice":"","noPrice":"Prix indisponible","orderpricelist":"","price":"Prix","priceSt":"Prix / pc","priceSuggestion":"Prix sugg\xe9r\xe9","pricelists":"Listes de prix","prices":"Prix","purchasePrice":"Prix \u200b\u200bd\'achat","regular_short":"Prix \u200b\u200bhabituel","retail":"Retail","retailAndCustomer":"Retail et client","rrp_long":"Prix de vente conseill\xe9","rrp_short":"PVC","selectedArticle":"Prix personnalisation + prix du produit","selectedRefinement":"Prix personnalisation article","showNoPrice":"Pas de prix","subTotal":"","tiered":"Prix \xe9chelonn\xe9s","totalCart":"Montant total du panier","totalValue":"","total_exVat":"Total HT","total_incVat":"Total TTC","vat":"TVA","vatConsumer":"TVA"},"product":{"_capacity":"Capacit\xe9","_closure":"Fermeture","_colorComment":"Couleur","_country":"","_designer":"Designer","_diameter":"Diametre","_fabrics":"Composition","_gender":"Genre","_height":"Hauteur","_hoodDetails":"Capuche","_length":"Longueur","_limitedEdition":"Edition limit\xe9e","_measure":"Mesures","_neckline":"Forme du col","_packaging":"Emballage","_pockets":"Poches","_presentationDate":"Date de sortie","_printCode":"Code d\'impression","_sleeve":"Manches","_techniqueComment":"Commentaire technique","_volume":"Volume","_weight":"Poids","_width":"Largeur","add":"Ajouter un produit","addRemove":"Ajouter/supprimer articles","approveArticles":"Approuver les articles","articleNumber":"Num\xe9ro de l\'article","article_one":"Article","article_other":"Articles","care":"Entretien","certificates":"Certificats","colors":"Couleurs","composition":"Composition","document":"Document","downloadImage":"","downloadImages":"T\xe9l\xe9charger les images","features":"Caract\xe9ristiques","info":"Information du produit","missingSkus":"Articles manquants","name":"Nom","noProducts":"Pas de produit","orderDifference":"Diff\xe9rence de commande","pdfDownload":"T\xe9l\xe9charger le pdf","product_one":"Produit","product_other":"Produits","products":"Produits","related":"Produits en lien","relatedGender":"\xc9galement disponible en","related_short":"Li\xe9 \xe0","replacement":"Alternative","search":"Rechercher un produit","searchPlaceholder":"Par exemple, le num\xe9ro ou le nom du produit","searchPlaceholderProduct":"Par exemple, le num\xe9ro ou le nom du produit","show":"Afficher les produits","showLessColors":"Afficher moins de couleurs","transfer":"Transfer","unwantedSkus":"Articles inconnus"},"productAddImagesAfter":"{{added}}/{{max}} (optional)","productTag":{"new":"Nouveau","newVariation":"","outlet":"Outlet","outletVariation":"","sustainable":"Eco responsable","upcoming":"A venir","upcomingVariation":""},"production":{"refinement_one":"Techniques"},"proof":{"proof":"Correction","proof_one":"Maquette","proof_other":"Maquettes","service":""},"refinement":{"add":"Ajouter une personnalisation","addon":"Ajout accessoires","addonVariations":"variations","articleAddedToDraftInfo":"","articleDraftSuggestionInfo":"","autoAdjustedPlacements":"Notez que d\'autres placements ont \xe9t\xe9 ajust\xe9s automatiquement.","awaitingDelivery":"En attente de produits","awaitingDeliveryAction":"Livraison de la commande","choose":"Choix du type de marquage","colorBacking":"","colorChange":"Changement de couleur","colorChangeColor":"","commentDescription":"Autres demandes","completed":"Compl\xe9t\xe9","completedAction":"Process products","create":"Choisissez votre type de marquage","createArticleDraft":"Cr\xe9er un brouillon d\'article","createTextElement":"Cr\xe9er un \xe9l\xe9ment de texte","customerPublicOrderConfirmSubmit":"Merci ! Le service client va maintenant v\xe9rifier votre commande et un message sera envoy\xe9 lorsque la commande sera approuv\xe9e.","customerPublicOrderInstructions":"Lisez le message du service client dans le journal associ\xe9. Cliquez ci-dessous pour ouvrir le configurateur, changez et enregistrez. Lorsque vous avez termin\xe9. Cliquez sur envoyer et n\'h\xe9sitez pas \xe0 joindre un commentaire. Si vous avez d\'autres questions sur la commande ou si vous manquez d\'instructions, envoyez simplement un commentaire. Le service client examinera rapidement vos modifications et vous serez inform\xe9 lorsque la commande sera approuv\xe9e.","customerPublicOrderPriceWarning":"Note! Les articles de la commande ont chang\xe9 et une nouvelle confirmation de commande sera envoy\xe9e.","deliverNowAndOnwards":"Now and ongoing","deliverWhenInStock":"When all in stock","delivered":"Produits exp\xe9di\xe9s","deliveredAction":"Exp\xe9dier des produits","downloadPreviewImage":"T\xe9l\xe9charger image","errorNoAvailableRefinements":"","expected":"Livraison pr\xe9vue","fixedTextPlaceholder":"Votre texte ici","inProgress":"","invalidTransferAmount":"","latest":"","message":"Message","messages":"Messages","minQuantityWarning":"Note! The minimum charge is for {{minQuantity}} {{articles}} and it therefore leads to a higher unit price for the selected number.","mountings":"","nameAndTags":"Nom et balises","new":"Ajout marquage","noSplitPlaceInfo":"","objectSizeChangedWarning":"","otherInformation":"Commentaires","pin":"","placementDescription":"Here you specify how your enhancement should be applied. If you want more surfaces and locations, you need to create additional refinements.","placement_one":"Placement","placement_other":"Placements","positionAutoAdjusted":"L\'image a \xe9t\xe9 automatiquement ajust\xe9e \xe0 une surface. Utilisez les touches fl\xe9ch\xe9es pour ajuster ou cliquez sur l\'aimant pour d\xe9sactiver.","proofFinalAcceptText":"J\'accepte mon original/esquisse comme preuve finale de conception. Aucune preuve ne me sera envoy\xe9e pour cette offre.","readyForInvoice":"","refinement_one":"Technique","refinement_other":"Techniques","reject":"Rejeter","rejected":"Rejet\xe9","rejectedAction":"Rejeter","review_proof":"Ouvrez et examinez votre \xe9preuve ci-dessous","send":"Envoyer","sendForReviewApprove":"","sender":"Exp\xe9diteur","sourceInfo":"","sourceInfo_Analysis":"Le syst\xe8me a interpr\xe9t\xe9 la couleur.","sourceInfo_Custom":"Le client a choisi la couleur lui-m\xeame.","sourceInfo_File":"Le fichier a d\xe9fini la couleur.","startCost":"Co\xfbt de d\xe9part","uploadFile":"Choisissez votre nouveau type de marquage","userProof":"Preuve de l\'utilisateur","variableTextPlaceholder":"Votre texte ici","warnRepeatChanged":"Il s\'agit d\'un affinage r\xe9p\xe9t\xe9. Si vous enregistrez des modifications, il ne s\'agira plus d\'une commande r\xe9p\xe9t\xe9e et les prix pourraient changer."},"refinementsSelector":{"errorIncompatible":"","errorNoCompatible":"","title":"Souhaitez-vous r\xe9utiliser ce logo/dimensions et type de marquage ?"},"reseller":{"change":"Changer de revendeur","errorNotFound":"Nous ne trouvons aucun revendeur connect\xe9 \xe0 votre adresse. Veuillez vous assurer qu\'il est correct ou rechercher un revendeur ci-dessous.","externalSupplier":"","openHours":"Horaires d\'ouverture","reseller_one":"Revendeur","reseller_other":"","search":"Trouver votre revendeur","searchAgreement":"Si vous avez un accord, effectuez une recherche par identifiant d\'entreprise","showAllResellers":"Afficher tous les revendeurs","suggestionFrom":"Nous avons sugg\xe9r\xe9 un revendeur bas\xe9 sur","suggestionInfo":"Veuillez renseigner votre adresse pour trouver un revendeur pr\xe8s de chez vous."},"salesBoard":{"salesBoard":"Conseil de vente","section":"","section_budget":"","section_compare":"","section_leaderboard":"","section_topOrders":"","section_topProducts":"","section_totalValue":"","section_visits":""},"search":{"empty":"Aucun r\xe9sultat","search":"Rechercher"},"seller":{"customer":"Client","customerShops":"Microshops client","customers":"Clients","erpNumber":"Num\xe9ro de client","exportedFiles":"","loggedInAs":"Connect\xe9 en tant que","noCustomers":"Aucun client ajout\xe9","openAs":"Ouvrir comme","orderMonitoring":"Suivi des commandes","orderMonitoringEmpty":"Vous n\'avez pas encore ajout\xe9 de clients pour suivre leurs commandes. Entrez le num\xe9ro de client ci-dessous pour commencer le suivi.","orderMonitoringInfo":"Ici, vous pouvez suivre les commandes de vos clients. Chaque fois qu\'un client passe une commande, vous recevrez une notification par e-mail.","orderMonitoringNotificationInfo":"Les notifications sont envoy\xe9es \xe0\xa0:","orderMonitoringRemoved":"Customer {{sub.customerName}}({{sub.customerCode}}) will no longer be monitored.","partnerOverview":"Pr\xe9sentation des partenaires","selectCustomer":"S\xe9lectionnez le client","seller":"Vendeur","signOutCustomer":"D\xe9connecter le client","warnSellingDisabled":""},"shipment":{"address":"Adresse de livraison","addressesAndShipmentsTitle":"Adresses et livraisons","date":"Date d\'exp\xe9dition","deliveryOptional_other":"Services additionnels","deliveryQuantity":"Quantit\xe9 de livraison","deliveryType":"Type de livraison","delivery_one":"Livraison","delivery_other":"Livraisons","dispatchNote":"Avis d\'exp\xe9dition","emailInfo":"L\'adresse e-mail indiqu\xe9e est utilis\xe9e pour envoyer une notification d\'exp\xe9dition et/ou une confirmation de commande simplifi\xe9e (sans prix)","info":"Informations d\'exp\xe9dition","manualDelivery":"","new":"Nouvelle adresse","packageLabel":"\xc9tiquette de l\'emballage","qtyArticles":"{{count}} article","qtyShipments":"{{count}} livraison","receiver":"","requestDate":"Demander la date de livraison","requestDateChange":"Voulez-vous modifier la date de livraison?","requestedDate":"Date demand\xe9e","sendTo_one":"Envoyer \xe0 une adresse","sendTo_other":"Envoyer \xe0 plusieurs adresses","shipment":"Exp\xe9ditions","simplifiedOrderConfirm":"Confirmation de commande simplifi\xe9e","tracking":"Suivre votre commande","trackingCarrier":"Transporteur","trackingNumber":"Num\xe9ro de suivi","trackingService":"Service","trackingUrl":"URL de suivi","transportType":"Type de transport","warningLongDelivery":"Attention retard de livraison","yourOrderNumber":"Votre num\xe9ro de commande","yourReference":"Votre r\xe9f\xe9rence"},"size":{"allowedMinMax":"Tailles mini/maxi autoris\xe9es: {{min}}-{{max}}","large":"Grand","size":"Dimensions","sizeguide":"Guide des tailles","small":"Petit"},"sort":{"relevance":"Pertinence"},"status":{"accepted":"Accept\xe9","approved":"Approuv\xe9","approvedAction":"Approver","cancelled":"Supprimer","completed":"Transmis au transporteur","confirmed":"Confirm\xe9","confirmedAction":"Confirmer","draft":"","inproduction":"En production","inprogress":"Pr\xe9paration en cours","invoiced":"Factur\xe9","ok":"","onhold":"","processing":"En traitement","rejected":"Rejet\xe9","save_error":"Une erreur s\'est produite lors de l\'enregistrement","saved":"enregistr\xe9-e","unconfirmed":"Non confirm\xe9","unconfirmedAction":"Non confirm\xe9","waiting":"En attente"},"stock":{"box":"carton","enterQuantity":"Entrer la quantit\xe9","estRefill":"Date de r\xe9appro estim\xe9e","global":"Global","local":"Local","min":"","mounting":"","operation":"","operation_add":"Add to stock","operation_order":"Order direct","operation_withdraw":"Withdraw from stock","pcs":"pcs","region":"R\xe9gion","rest":"","stock":"Stock","stockAfterTransaction":""},"stockLevel":{"in":"En stock","low":"Stock faible","no":"","out":"Rupture de stock"},"template":{"copy":"Copier depuis le mod\xe8le","copyDescription":"Copier la configuration \xe0 partir du mod\xe8le enregistr\xe9. Cela remplacera votre configuration actuelle.","save":"Enregistrer comme gabarit","saveDescription":"Enregistrer la configuration actuelle en tant que mod\xe8le pour une utilisation future dans d\'autres documents.","template_one":"Gabarit","warnRemove":"\xcates-vous s\xfbr de vouloir supprimer le mod\xe8le?","warnTemplateExist":"Un mod\xe8le est d\xe9j\xe0 enregistr\xe9 sous ce nom. Cela \xe9crasera le mod\xe8le enregistr\xe9 avec la configuration actuelle."},"tool":{"noToolsOrServices":"","toolsAndServices":""},"unsavedWarning":{"no":"Non, ignorer les modifications","text":"Vos modifications non enregistr\xe9es seront supprim\xe9es. Voulez-vous enregistrer\xa0?","title":"Sauvegarder les modifications?","yes":"Oui, sauvegarder"},"user":{"anonymousUsers":"Utilisateurs anonymes","customerErrorLong":"Impossible de charger les informations client pour l\'utilisateur. Veuillez r\xe9essayer.","customerErrorShort":"Informations client manquantes pour l\'utilisateur","customerNumber":"N\xb0 de client","customerNumberError":"Entrez le num\xe9ro de client complet","customerWarningLong":"Le client associ\xe9 \xe0 l\'utilisateur n\'existe pas, ou les informations sur le client sont totalement absentes de l\'utilisateur.","customerWarningShort":"Aucun client valide associ\xe9 \xe0 l\'utilisateur","notLoggedIn":"Aucun utilisateur connect\xe9","proceedAsAnonymous":"Proc\xe9der en anonyme","refreshFailedText":"Pour des raisons de s\xe9curit\xe9, vous avez \xe9t\xe9 d\xe9connect\xe9 apr\xe8s un certain temps d\'inactivit\xe9.\\nAppuyez sur \\"Se reconnecter\\" pour continuer vos achats.","refreshFailedTitle":"Vous avez \xe9t\xe9 d\xe9connect\xe9.","register":"S\'inscrire","registeredUsers":"Utilisateurs enregistr\xe9s","salesContact":"Contact commercial","signIn":"Se connecter","signInAgain":"Connectez-vous \xe0 nouveau","signInToOrder":"Connectez-vous pour commander","signOut":"Se d\xe9connecter","user_other":"Utilisateurs","viewAccount":"Voir le compte"},"validation":{"allRequiredFields":"","email":"Email invalid","fullNameMaxCharLimit":"Le pr\xe9nom + le nom ne doivent pas d\xe9passer {{maxLength}} caract\xe8res","maxCharacterLength":"L\'entr\xe9e est plus longue que la longueur maximale autoris\xe9e de {{maxLength}} caract\xe8res","maxLength_one":"Max {{max}} character","maxLength_other":"Max {{max}} characters","minCharacterLength":"L\'entr\xe9e est plus courte que la longueur minimale autoris\xe9e de {{minLength}} caract\xe8res","mustStartWith":"La valeur doit commencer par l\'un des \xe9l\xe9ments suivants :","noEmailFound":"","phoneInvalid":"Num\xe9ro de t\xe9l\xe9phone invalide","phoneLength":"Le num\xe9ro de t\xe9l\xe9phone doit comporter 8 ou 16 chiffres","required":"Obligatoire","requiredAccept":"Merci d\'accepter"},"variableText":{"inputDataUpdated":"","refinementRowTitle":"","refinementRowTitle_plural":"","validateErrorDesc":"","validateErrorTitle":"","validateErrorTitle_plural":"","validateSuccessDesc":"","validateSuccessTitle":""},"warning":{"attention":"Attention!","changesPartlyDisabled":"","note":"","refinementWarnings":"","showWarningTexts":""}}'),d=JSON.parse('{"action":{"actions":"","add":"","apply":"","back":"Retour","cancel":"","change":"","change_one":"","change_other":"","clear":"","configure":"Stilla","continue":"","continueWithoutSaving":"","copy":"","create":"","download":"","duplicate":"","edit":"","export":"\xdatflutningur","fullScreen":"","message":"","ok":"","open":"","pending":"","published":"","rearrangeBoxes":"","refresh":"Endurn\xfdja","remove":"","rename":"","replace":"","save":"","saveWarningText":"","saveWarningTitle":"","select":"","selectOne":"Veldu einn","showBoxes":"","sort":"Ra\xf0a","submitChanges":"","submitQuestionComment":"","undo":""},"angle":{"":"","_back":"","_closeup1":"","_closeup2":"","_closeup3":"","_front":"","_left":"","_other":"","_right":""},"archived":{"archive":"","archived":"","articleArchived":"","collectionArchived":"","notArchived":"","remove":""},"article":{"articleMonitoring":"","configureAndAdd":"","deleteWarning":"","description":"","filters":"","filters_archived":"","filters_category":"","filters_products":"","filters_status":"","filters_stock":"","new":"","noHitsContent":"","noHitsHeader":"","notDefined":"","orderMonitoringMinNum":"","show":"","submitApproval":""},"assortment":{"category_one":"","category_other":""},"bookmark":{"noPages":"","pages":"","pagesAndTools":"","saveAsFavorite":"","tools":""},"brightness":{"dark":"","light":""},"calendar":{"agenda":"","allDay":"","date":"","day":"","event":"","events":"","importantDates":"","month":"","next":"","noEventsInRange":"","previous":"","previousEvents":"","previousYear":"","showAsCalendar":"","showAsList":"","time":"","today":"","tomorrow":"","week":"","workWeek":"","year":"","yesterday":""},"campaign":{"code":"","error":""},"cart":{"addVariation":"","add_one":"","add_other":"","addressSelected_one":"","addressSelected_other":"","agreementInfo":"","allowSplit":"","cart":"","checkout":"","checkout_request":"","chooseQuantity":"","configureCheckout":"","continueShopping":"","createOffer":"","created":"","depositToStock":"","depositToStockMinText":"","discount":"","doPayment":"","empty":"","emptyDo":"","emptyFavourite":"","errorCouldNotCalculateRow":"","errorCouldNotCalculateTotal":"","errorInvalidProducts":"","errorInvalidSku":"","errorSelectReseller":"","favourite":"","minAmount":"","minOrderQty":"","minOrderQtyInfo":"","new":"","noFavourite":"","orderAndDelivery":"","payment":"","paymentCancelled":"","paymentError":"","paymentrefused":"","qtyAdjustedByArticleQuantity":"","quantity":"","quickAdd":"","removeVariation":"","saveToArticles":"","saveToCart":"","specification":"","startShopping":"","swishButton":"","swishInfo":"","toCart":"","toastDismissNoOption":"","toastDismissText":"","toastDismissYesOption":"","totalSkus":"","validationErrorHigher":"","validationErrorLower":"","warnNoStockAfterTransaction":"","warningCancelPayment":"","warningOrderDisabled":"","warningPriceOverride":"","warningPriceOverrideEnabled":""},"cartFee":{"admin":"","freight":"","insurance":"","invoice":"","postage":"","shipping":""},"collection":{"collection_one":"Safn","collection_other":"S\xf6fn","deleteWarning":"Ertu viss um a\xf0 \xfe\xfa viljir ey\xf0a safni\xf0 {{name}}?","description":"H\xe9r eru safn \xfe\xedn af endurvunnum v\xf6rum.","noContent":"Byrja\xf0u \xe1 endurvinnslu v\xf6rum!","noHitsContent":"Engin s\xf6fn fundust me\xf0 n\xfaverandi leitaror\xf0um","noSkuWarning":"Eftirfarandi hlutir vantar magn og ver\xf0a fjarl\xe6g\xf0ir: ","refinementsRemovedWarning":"Eftirfarandi endurvinnsluvirkni gildir a\xf0eins \xfeessari v\xf6ru og ver\xf0ur einnig fjarl\xe6gd: ","show":"S\xfdna s\xf6fn","upgrade_product":"Endurn\xfdja v\xf6ru","variations_one":"Breyting","variations_other":"Breytingar"},"color":{"color_one":"Litur","color_other":"Litir","errorNotEnough":"Veldu a\xf0 minnsta kosti einn lit.","errorTooMany":"Of margir litir fyrir valinn kl\xe1run. Fjarl\xe6g\xf0u/sameina\xf0u liti e\xf0a veldu kl\xe1rungsger\xf0 sem sty\xf0ur fleiri liti.","interpretedByTool":"t\xfalka\xf0 af t\xf3lum","interpretedFromFile":"\xfar skr\xe1nni \xfeinni","interpretedTitle":"Valin PMS litir","toolInterpretedColors":"T\xf3li\xf0 hefur vali\xf0 eftirfarandi liti:","warnInterpreted":"Athuga\xf0u! Litirnir \xe1 myndinni eru valdir af t\xf3lunni og g\xe6tu liti\xf0 mismunandi \xfat \xe1 mismunandi skj\xe1m. Gakktu \xfar skugga um a\xf0 litak\xf3\xf0arnir s\xe9u n\xe1kv\xe6mir.","warningAutoBackingColorApplied":"","warningAutoBackingColorNone":""},"colors":{"amber":"","blue":"","blueGrey":"","brown":"","cyan":"","deepOrange":"","deepPurple":"","green":"","grey":"","indigo":"","lightBlue":"","lightGreen":"","lime":"","orange":"","pink":"","purple":"","red":"","teal":"","yellow":""},"confirmation":{"remove":""},"contact":{"address":"","city":"","company":"","companyNumber":"","companyText":"","contactName":"","contactUs":"","country":"","customerContact":"","customerContactUs":"","customerSupport":"","email":"","firstName":"","lastName":"","name":"","phone":"","postalCode":""},"error":{"cellRowCol":"","code":"","code_InvalidFormat":"","code_NoValue":"","code_ToLong":"","error":"","general":""},"excel":{"activeConfiguration":"","browserExport":"","columnRemovalDescription":"","columnRemovalNo":"","columnRemovalTitle":"","columnRemovalYes":"","columns":"","customerPriceDate":"","download":"","downloadCancelled":"","emailExport":"","excel":"","exportLevel":"","failedLoadPreset":"","failedLoadPreview":"","generate":"","languages":"","name":"","noConfigurations":"","noLanguage":"","savedConfiguration_one":"","savedConfiguration_other":"","tabs":"","toggleConfiguration":"","units":""},"export":{"added":"","chosen_product":"","chosen_products":"","fileExportCompleted":"","fileExportFailed":"","images":"","price":"","product":"","removed":"","search_in":"","sku":"","thresholdWarning":"","variation":"","various_search":""},"file":{"allowedType":"","attachments":"","dragAndDropOrBrowse":"","draggingSingleText":"","draggingText":"","file_other":"","filename":"","none":"","processFileError":"","processFileErrorFileSize":"","processingFileUpload":"","supported":""},"filter":{"filter":"","filter_accessories":"","filter_activity":"","filter_brand":"","filter_care":"","filter_category":"","filter_certification":"","filter_color":"","filter_designer":"","filter_feature":"","filter_female":"","filter_fit":"","filter_gender":"","filter_male":"","filter_material":"","filter_neckline":"","filter_other":"","filter_outlet":"","filter_range":"","filter_retail":"","filter_season":"","filter_sleeve":"","filter_theme":"","filters":""},"general":{"add":"","agreeTo":"","all":"","auto":"","basis":"","cantChange":"","changed":"","close":"","collapseAll":"","columns":"","comment":"","commentSet":"","compact":"","created":"","custom":"","description":"","dontShowAgain":"Ekki s\xfdna aftur","email":"","endDate":"","enterPassword":"Sl\xe1\xf0u inn lykilor\xf0i\xf0 til a\xf0 halda \xe1fram.","expand":"St\xe6kka\xf0u","expandAll":"","expires":"","favourites":"","font":"","full":"","hide":"","hideAllPages":"Fela allar s\xed\xf0ur","language":"","limitedToCharacters":"Begr\xe6nset til {{characters}} tegn.","limitedToInteger":"Tilgreindu heilt\xf6lu.","limitedToLetters":"Tilgreindu b\xf3kstafi.","limitedToLettersUpper":"Tilgreindu h\xe1stafi.","log":"","logotype":"","maintenance":"Mikilv\xe6g uppl\xfdsingar! Vegna \xe1\xe6tla\xf0rar vi\xf0haldsverkfr\xe6\xf0i mun okkar vi\xf0skiptakerfi ekki vera tilt\xe6kt fr\xe1 um klukkan 8:00 \xe1 13. apr\xedl. Vi\xf0 bi\xf0jumst afs\xf6kunar fyrir \xf6ll \xf3\xfe\xe6gindi og l\xe1ta \xfeig vita a\xf0 vefs\xed\xf0an mun ekki virka venjulega \xe1 \xfeessum t\xedma. Vi\xf0 b\xfaumst vi\xf0 a\xf0 sn\xfaa aftur \xed venjulegt starf \xed l\xf6ngum stundum og \xfeakka \xfe\xe9r \xfeolinm\xe6\xf0i \xfe\xednu.","mandatory":"","minimize":"","name":"","new":"","no":"","none":"","notifications":"","password":"Lykilor\xf0","readMore":"","safety":"","saveAndClose":"","selected":"","settings":"","show":"","showAllPages":"S\xfdna allar s\xed\xf0ur","show_all":"","show_less":"","show_more":"","skipToContent":"","standard":"Venjulegt","startDate":"","status":"","subTitle":"","summary":"","tag_one":"","tag_other":"","terms":"","text":"","text_other":"","thankYou":"\xdeakka \xfe\xe9r","title":"","to":"Til","tools":"","total":"","type":"","updated":"","url":"","view":"","weOffer":"","yes":""},"image":{"angle_one":"","angle_other":"","environment":"Umhverfi","image_one":"Mynd","image_other":""},"invoice":{"address":"","credit":"","invoice_one":"","invoice_other":""},"logoAppTools":{"asset":""},"microshop":{"CustomerNumberSecurityInfo":"","accentColor":"","activate_units":"","addAddon":"","addCategory":"","addMasterDeliveryAddress":"","addNewUsers":"B\xe6ta vi\xf0 n\xfdjum notendum","addUnit":"B\xe6ta vi\xf0 n\xfdrri einingu","addons":"","administrator":"Stj\xf3rnandi","agreement":"","allProducts":"Allar v\xf6rur","alternativeUnitCertifier":"Valkostavottari","approval":"","assortment":"","assortmentAvailableVariationsAdded":"","backgroundImage":"","bodyFont":"","budget":"Fj\xe1rhags\xe1\xe6tlun","budget_approval":"","cancelMasterOrderWarning":"","cantDeleteWarning":"","categoryExists":"","changeOwner":"","changeTo":"","column":"D\xe1lkur","confirmDelete":"Sta\xf0festa ey\xf0ingu","confirmMasterOrder":"","content":"","copyShop":"","create":"","createMasterOrder":"","createUser":"B\xfaa til n\xfdjan notanda","currency":"Gjaldmi\xf0ill","currentOwner":"","custom":"s\xe9rsni\xf0i\xf0","customerInputNone":"","customerInputNumber":"","customerInputText":"","customerInputType":"","databaseError":"","deleteProduct":"","deleteSelectedOrder":"","deleteUnit":"Ey\xf0a einingu","deleteUnitWarning":"Ey\xf0ing \xe1 reikningnum \xfe\xednum mun varanlega fjarl\xe6gja \xf6ll g\xf6gnin \xfe\xedn, \xfear \xe1 me\xf0al alla notendur, stillingarnar \xfe\xednar og allt efni\xf0 sem \xfe\xfa hefur b\xfai\xf0 til. Ekki er h\xe6gt a\xf0 afturkalla \xfeessa a\xf0ger\xf0.","deleteWarning":"","departmentUnit":"deild/eining","descOptionCombine":"","descOptionDefault":"","direct_orders":"","disable_units":"","displayOptions":"","emailWarning":"\xd3gilt netfang. Vinsamlegast athuga\xf0u villur og stafsetningarvillur og a\xf0 netfangi\xf0 s\xe9 til \xe1 valinni \xf6rverslun.","emptyAssortments":"","emptyProducts":"","error":"Villa hefur komi\xf0 upp!","excelTemplate":"Excel sni\xf0m\xe1t","excelTemplateDescription":"\xde\xfa getur hla\xf0i\xf0 ni\xf0ur me\xf0fylgjandi d\xe6mi og nota\xf0 \xfea\xf0 sem grunn fyrir \xfe\xedna eigin skr\xe1.","files":"","filesUploaded":"","footColor":"","footer":"","freeShipping":"","general":"","handleProductsSettings":"","headerFont":"","import":"Flytja inn","individual":"Einstaklingur (SEK)","input":"","invalidUrl":"","legalNotice":"","lightnessColor":"","logotype":"","look":"","mainColor":"","main_orders":"","many_size_products":"","masterOrder":"","microshop":"","microshop_other":"","missingEmail":"","missingMicroshop":"","missingShopUnitName":"","missingUser":"","new_unit":"N\xfd Eining","noFilters":"","noHitsContent":"","noMicroshopFound":"","noOrders":"","noOrdersExplanation":"","noUserDescription":"B\xfa\xf0u til n\xfdja notendur h\xe9r e\xf0a flytja inn!","noUsers":"Engir notendur enn","notificationOptionDaily":"","notificationOptionInstant":"","notificationOptionNone":"","notificationsTitle":"","one_size_product":"","orderDeleteWarning":"Ertu viss um a\xf0 \xfe\xfa viljir ey\xf0a \xfeessari p\xf6ntun?","orderPrices":"","order_flow":"","ordered":"","orderrNotificationExplanation":"","ordersDeleteWarning":"","pendingOrders":"","points":"stig","priceModel":"","priceOptionFixed":"","priceOptionNone":"","priceOptionRetail":"","privacyPolicy":"","productAddImages":"","productName":"","productNumber":"","productQuantity":"","readyForImport":"Skr\xe1in er tilb\xfain til innflutnings. Haltu \xe1fram me\xf0 \xfev\xed a\xf0 smella \xe1 \'Flytja inn\'.","refinementsAndAddons":"","requiresattestation":"Krefst sta\xf0festingar","retailModifier":"","retailPrice":"","retailPriceExplanation":"","role":"Hlutverk","row":"L\xedna","saved":"Breytingarnar \xfe\xednar hafa veri\xf0 vista\xf0ar","securityOptionNone":"","securityOptionRegister":"","securityOptionSecregAndRegister":"","securityOptionSecret":"","security_protection":"","settings":"Stillingar","standard":"sta\xf0all","standardPrice":"","totalCustomer":"","unit":"Eining","unitBudgetDepartment":"Deild (SEK)","unitCertifier":"Vottari","unitDeleteWarning":"Ertu viss um a\xf0 \xfe\xfa viljir ey\xf0a valinni einingu?","unitName":"Nafn","unitWithChildrenDeleteWarning":"\xde\xfa ert a\xf0 fara a\xf0 ey\xf0a einingunni \'{{unitName}}\' og \xf6llum undirliggjandi einingum. Ekki er h\xe6gt a\xf0 afturkalla \xfeessa a\xf0ger\xf0. Viltu halda \xe1fram me\xf0 ey\xf0ingu?","units":"Einingar","units_other":"","uploadDone":"Hle\xf0sla er loki\xf0!","uploadedFile":"Upphla\xf0in skr\xe1","userInformation":"Uppl\xfdsingar","value":"Gildi","variationExists":"","vatExcluded":"","vatIncluded":"","vatIsIncluded":"VSK er innifalinn \xed ver\xf0i","vatNotIncluded":"VSK er ekki innifalinn \xed ver\xf0i","visitShop":"","welcomeMessage":"","zeroContentAddons":"","zeroContentText":"","zeroContentTitle":""},"microshopUploadErrorCodes":{"databaseError":"","invalidEmailFormat":"\xd3gilt sni\xf0 netfangs","invalidIsAttestantValue":"\xd3gilt gildi isAttestant","invalidManageBudgetValue":"\xd3gilt gildi manageBudget","invalidRequiresAttestationValue":"\xd3gilt gildi requiresAttestation","invalidRoleValue":"\xd3gilt hlutverk","missingMicroshop":"Vantar microshop","missingOrIncorrectHeaders":"Vantar e\xf0a rangar hausar","missingShopUnits":"Vantar b\xfa\xf0areiningar","missingUsers":"Vantar notendur","noDataInFile":"Engin g\xf6gn \xed skr\xe1","noFileSelected":"Engin skr\xe1 valin","noRowsInFile":"Engar l\xednur \xed skr\xe1"},"navigation":{"allIn":"","history":"l\'histoire","onThisPage":"\xc1 \xfeessari s\xed\xf0u","page":"","promoted":"","start":"","toTop":""},"news":{"new_one":"","new_other":"","showAll":""},"newsletter":{"subscribed":""},"offer":{"additionalCost":"","additionalCosts":"","confirmOffer":"","daysBeforeReminder":"","discount":"","discountInfo":"","editName":"","expires":"","margin":"","marginInfo":"","noProductInfo":"","offerPage":"","offerPrice":"","offer_one":"","offer_other":"","otherTerms":"","publicOffer":"","remove":"","removeConfirmation":"","removePublicUrlAlert":"","removePublicUrlAlertConfirm":"","removePublicUrlAlertContent":"","shareOffer":"","visitors":"","warnExternalCustomerMissing":""},"order":{"addNewAddress":"B\xe6ta vi\xf0 n\xfdju heimilisfangi","adjustment":"A\xf0l\xf6gun","allOrdersLast30Days":"","createDelivery_one":"B\xfaa til sendingu","createDelivery_other":"B\xfaa til sendingar","createOrder":"","createRepeatOrder":"","createdDeliveries":"","creditType":"","customerDetails":"","deleteWarning":"","deliveryAsc":"","deliveryDate":"","deliveryDesc":"","deliveryNote":"Sendingarbr\xe9f","deliveryNoteNumber":"","deliveryType":"","downloadDeliveryNote":"S\xe6kja sendingarbr\xe9f","downloadExcel":"Download Excel","entire":"","entirePartnerOrders":"","handleAddresses":"","handleAddressesAndDeliveries":"","history":"","infoMessage_boxDesign_partnerOverview":"","lastOrder":"","masterOrder_other":"","noHitsContent":"","noHitsHeader":"","noOrdersLast30Days":"","notes":"","orderNumber":"","order_one":"","order_other":"","packageLabel":"","partner_one":"","paymentType":"","placed":"","placedBy":"","reference":"","refinementType":"","removeAddressText":"","removeAddressTitle":"","removeAddressYesOption":"Fjarl\xe6gja heimilisfang","repeat":"","sendOrderDocument":"","setPublicOrderAsCompletedDescription":"\xdeetta klarmarkerar p\xf6ntunina og vi\xf0skiptavinurinn ver\xf0ur tilkynntur um a\xf0 p\xf6ntunin s\xe9 tilb\xfain.","setPublicOrderAsCompletedTitle":"Ertu viss um a\xf0 \xfe\xfa viljir kl\xe1ra p\xf6ntunina?","setPublicOrderAsCompletedYesOption":"J\xe1, kl\xe1ra p\xf6ntunina","showEditArticles":"S\xfdna/breyta v\xf6rum ({{count}})","skuEditorDisabledTitle":"P\xf6ntun getur a\xf0eins innihaldi\xf0 sendingar ef h\xfan er \xed framlei\xf0slu. \xcd \xfeessu stigi er a\xf0eins h\xe6gt a\xf0 breyta heimilisf\xf6ngum.","status":"","statusCreated":"","statusFailed":"","statusPlaced":"","system":"","table":"","thankYou_message_customerApproval":"Vi\xf0 h\xf6fum m\xf3tteki\xf0 svar \xfeitt og munum hafa samband innan 24 klukkustunda. Ef \xfe\xfa hefur einhverjar spurningar, vinsamlegast sendu okkur skilabo\xf0 h\xe9r a\xf0 ofan!","thankYou_message_rejectToCustomer":"Vi\xf0 h\xf6fum m\xf3tteki\xf0 vi\xf0b\xf3tina \xfe\xedna og munum hafa samband innan 24 klukkustunda. Ef \xfe\xfa hefur einhverjar spurningar, vinsamlegast sendu okkur skilabo\xf0 h\xe9r a\xf0 ofan!","track":"Sj\xe1 sendingarlei\xf0beiningar","type":"","viewOrders":"Sko\xf0a og hafa umsj\xf3n me\xf0 p\xf6ntunum.","wrongPasswordTryAgain":"Lykilor\xf0i\xf0 sem \xfe\xfa sl\xf3st inn er rangt. Vinsamlegast reyndu aftur."},"orderstatuses":{"approved":"Sam\xfeykkt","awaitingCustomer":"B\xed\xf0ur eftir vi\xf0skiptavini","customerChanges":"Breytingar vi\xf0skiptavina","customerRejected":"","deliveryChanged":"Breyting \xe1 afhendingu","expressOrder":"Tafarlaus p\xf6ntun","inProduction":"\xcd framlei\xf0slu","pinned":"Fastur","rejected":"Hafna\xf0","unhandled":"\xd3unnin"},"orientation":{"landscape":"","orientation":"","portrait":""},"part":{"all":"","part":"","partQty":"","partSizes":""},"pdf":{"aboutUsPage":"","careCertPage":"","careInstructions":"","certifications":"","content":"","coverPage":"","description":"","download":"","fabrics":"","fullPage":"","offerItemPrice":"","offertPage":"","pdf":"","pdfLoading":"","preview":"","productPage":"","quantity":"","recommendedPrice":"","refinementPage":"","sizeGuides":"","tableOfContent":"","terms":"","termsTitle":"","titlePage":"","warnCareWithRefinement":"","weight":""},"pdfImages":{"environmentImages":"","errorRequestSent":"","failedLoadPreview":"","highResolution":"","imageAltText":"","imageResolution":"","loadPreview":"","noProducts":"","preferredFileType":"","preview":"","productImages":"","sendEmail":"","showAll":"","standardResolution":"","sucessRequestSent":"","thumbnail":"","webpInfo":""},"placement":{"":"","_Button1":"","_Button2":"","_Button3":"","_Button4":"","_Button5":"","_ChestPocketLeft":"","_ChestPocketRight":"","_Front":"","_Generic":"","_InnerSide":"","_Left":"","_OuterSide":"","_Right":"","_SidePocketLeft":"","_SidePocketRight":"","_SleeveLeft":"","_SleeveRight":""},"pmsColorPicker":{"inactivateColor":"","searchPlaceHolder":"","searchZeroContent":""},"price":{"amount":"","amountIncVat":"","applyCustomer":"","customer":"","customerPrice":"","latestPrice":"","noPrice":"","orderpricelist":"","price":"","priceSt":"","priceSuggestion":"","pricelists":"","prices":"","purchasePrice":"","regular_short":"","retail":"","retailAndCustomer":"","rrp_long":"","rrp_short":"","selectedArticle":"","selectedRefinement":"","showNoPrice":"","subTotal":"","tiered":"","totalCart":"","totalValue":"","total_exVat":"","total_incVat":"","vat":"","vatConsumer":""},"product":{"_capacity":"","_closure":"","_colorComment":"","_country":"","_designer":"","_diameter":"","_fabrics":"","_gender":"","_height":"","_hoodDetails":"","_length":"","_limitedEdition":"","_measure":"","_neckline":"","_packaging":"","_pockets":"","_presentationDate":"","_printCode":"","_sleeve":"","_techniqueComment":"","_volume":"","_weight":"","_width":"","add":"","addRemove":"","approveArticles":"","articleNumber":"","article_one":"","article_other":"","care":"","certificates":"","colors":"","composition":"","document":"","downloadImage":"","downloadImages":"","features":"","info":"","missingSkus":"","name":"","noProducts":"","orderDifference":"","pdfDownload":"","product_one":"","product_other":"","products":"","related":"","relatedGender":"","related_short":"","replacement":"","search":"","searchPlaceholder":"","searchPlaceholderProduct":"","show":"","showLessColors":"","transfer":"Transfer","unwantedSkus":""},"productAddImagesAfter":"","productTag":{"new":"","newVariation":"","outlet":"","outletVariation":"","sustainable":"","upcoming":"","upcomingVariation":""},"production":{"refinement_one":"Endurn\xfdjunar"},"proof":{"proof":"Pr\xf3farkalestur","proof_one":"","proof_other":"","service":""},"refinement":{"add":"B\xe6ta vi\xf0 ferli m\xf6guleika","addon":"Vi\xf0b\xf3t","addonVariations":"breytingar","articleAddedToDraftInfo":"","articleDraftSuggestionInfo":"","autoAdjustedPlacements":"Athuga\xf0u a\xf0 \xf6nnur pl\xe1ss hafa veri\xf0 sj\xe1lfvirklega stillt.","awaitingDelivery":"B\xed\xf0a eftir v\xf6rum","awaitingDeliveryAction":"B\xed\xf0a eftir v\xf6rum","choose":"Veldu ferli m\xf6guleika","colorBacking":"","colorChange":"Litur breyttur","colorChangeColor":"","commentDescription":"\xd6nnur bei\xf0nir","completed":"V\xf6rur unnar","completedAction":"V\xf6rur unnar","create":"","createArticleDraft":"B\xfaa til v\xf6ruforsko\xf0un","createTextElement":"B\xfaa til textaeiningu","customerPublicOrderConfirmSubmit":"Takk! \xdej\xf3nusta vi\xf0skiptavina mun n\xfa sko\xf0a p\xf6ntun \xfe\xedna og skilabo\xf0 ver\xf0a send \xfeegar p\xf6ntun er sam\xfeykkt.","customerPublicOrderInstructions":"Lesi\xf0 skilabo\xf0 fr\xe1 \xfej\xf3nustu vi\xf0skiptavina \xed tengdum skr\xe1. Smelli\xf0 h\xe9r fyrir ne\xf0an til a\xf0 opna stillimann, breyta og vista. \xdeegar \xfe\xfa ert b\xfainn. Smelltu \xe1 senda og hengdu vi\xf0 athugasemd. Ef \xfe\xfa hefur frekari spurningar um p\xf6ntunina e\xf0a vantar lei\xf0beiningar, sendu bara athugasemd. \xdej\xf3nusta vi\xf0skiptavina mun flj\xf3tlega sko\xf0a breytingarnar \xfe\xednar og \xfe\xfa ver\xf0ur tilkynnt \xfeegar p\xf6ntunin er sam\xfeykkt.","customerPublicOrderPriceWarning":"Athuga\xf0u! V\xf6rurnar \xed p\xf6ntuninni hafa breyst og n\xfd p\xf6ntunarsamningur ver\xf0ur sendur \xfat.","deliverNowAndOnwards":"Now and ongoing","deliverWhenInStock":"When all in stock","delivered":"V\xf6rur afhentar","deliveredAction":"V\xf6rur afhentar","downloadPreviewImage":"S\xe6kja fors\xfdnilega mynd","errorNoAvailableRefinements":"","expected":"V\xe6ntanleg afhending","fixedTextPlaceholder":"Sl\xe1\xf0u inn texta h\xe9r","inProgress":"","invalidTransferAmount":"","latest":"","message":"Skilabo\xf0","messages":"Skilabo\xf0","minQuantityWarning":"Athuga\xf0u! Minnstukostna\xf0ur er fyrir {{minQuantity}} {{articles}} og lei\xf0ir \xfev\xed til h\xe6rri einingarver\xf0s fyrir valda t\xf6lu.","mountings":"","nameAndTags":"Nafn og merkimi\xf0ar","new":"","noSplitPlaceInfo":"","objectSizeChangedWarning":"","otherInformation":"\xddmislegt","pin":"","placementDescription":"H\xe9r tilgreinir \xfe\xfa hvernig a\xf0b\xf3tin \xe1 a\xf0 vera sett \xe1. Ef \xfe\xfa vilt fleiri yfirbor\xf0 og sta\xf0i, \xfearftu a\xf0 b\xfaa til frekari endurn\xfdjun.","placement_one":"Pl\xe1ss","placement_other":"Pl\xe1ss","positionAutoAdjusted":"Myndin hefur veri\xf0 sj\xe1lfvirklega stillt \xe1 yfirbor\xf0. Nota\xf0u \xf6rvatakkana til a\xf0 stilla, e\xf0a smelltu \xe1 segulinn til a\xf0 sl\xf6kkva \xe1 sj\xe1lfvirkri stillingu.","proofFinalAcceptText":"\xc9g sam\xfeykki upphaflegt/skissu\xf0 h\xf6nnunard\xe6mi sem endanlegt sam\xfeykki. Engin s\xf6nnun ver\xf0ur send til m\xedn um \xfeetta tilbo\xf0.","readyForInvoice":"","refinement_one":"Endurn\xfdjun","refinement_other":"Endurn\xfdjunar","reject":"Hafna","rejected":"Hafna\xf0","rejectedAction":"Hafna\xf0","review_proof":"Opna\xf0u og sko\xf0a\xf0u pr\xf3f\xf6rkina \xfe\xedna h\xe9r a\xf0 ne\xf0an","send":"Senda","sendForReviewApprove":"","sender":"Sendandi","sourceInfo":"","sourceInfo_Analysis":"Kerfi\xf0 hefur t\xfalka\xf0 litinn.","sourceInfo_Custom":"Vi\xf0skiptavinur valdi litinn sj\xe1lfur.","sourceInfo_File":"Skr\xe1in hefur skilgreint litinn.","startCost":"Upphafskostna\xf0ur","uploadFile":"Hla\xf0a upp skr\xe1","userProof":"Notandas\xf6nnun","variableTextPlaceholder":"Sl\xe1\xf0u inn texta h\xe9r","warnRepeatChanged":""},"refinementsSelector":{"errorIncompatible":"","errorNoCompatible":"","title":"Viltu b\xe6ta vi\xf0 \xfeegar \xfe\xfa hefur n\xfa \xfeegar b\xfai\xf0 til finnslust\xf6\xf0un?"},"reseller":{"change":"","errorNotFound":"","externalSupplier":"","openHours":"","reseller_one":"","reseller_other":"","search":"","searchAgreement":"","showAllResellers":"S\xfdna alla s\xf6lua\xf0ila","suggestionFrom":"","suggestionInfo":""},"salesBoard":{"salesBoard":"","section":"","section_budget":"","section_compare":"","section_leaderboard":"","section_topOrders":"","section_topProducts":"","section_totalValue":"","section_visits":""},"search":{"empty":"","search":""},"seller":{"customer":"","customerShops":"","customers":"","erpNumber":"","exportedFiles":"","loggedInAs":"","noCustomers":"","openAs":"","orderMonitoring":"","orderMonitoringEmpty":"","orderMonitoringInfo":"","orderMonitoringNotificationInfo":"","orderMonitoringRemoved":"Customer {{sub.customerName}}({{sub.customerCode}}) will no longer be monitored.","partnerOverview":"","selectCustomer":"","seller":"","signOutCustomer":"","warnSellingDisabled":""},"shipment":{"address":"","addressesAndShipmentsTitle":"","date":"","deliveryOptional_other":"","deliveryQuantity":"","deliveryType":"","delivery_one":"","delivery_other":"","dispatchNote":"","emailInfo":"","info":"","manualDelivery":"","new":"","packageLabel":"","qtyArticles":"{{count}} st v\xf6rur","qtyShipments":"{{count}} st sendingar","receiver":"","requestDate":"","requestDateChange":"","requestedDate":"","sendTo_one":"","sendTo_other":"","shipment":"","simplifiedOrderConfirm":"","tracking":"","trackingCarrier":"","trackingNumber":"","trackingService":"","trackingUrl":"","transportType":"","warningLongDelivery":"","yourOrderNumber":"","yourReference":""},"size":{"allowedMinMax":"","large":"","size":"St\xe6r\xf0","sizeguide":"","small":""},"sort":{"relevance":""},"status":{"accepted":"","approved":"","approvedAction":"","cancelled":"","completed":"","confirmed":"","confirmedAction":"","draft":"","inproduction":"","inprogress":"","invoiced":"","ok":"","onhold":"","processing":"","rejected":"","save_error":"Villa kom upp vi\xf0 a\xf0 vista","saved":"","unconfirmed":"","unconfirmedAction":"","waiting":""},"stock":{"box":"","enterQuantity":"","estRefill":"","global":"","local":"","min":"","mounting":"","operation":"","operation_add":"Add to stock","operation_order":"Order direct","operation_withdraw":"Withdraw from stock","pcs":"","region":"","rest":"","stock":"","stockAfterTransaction":""},"stockLevel":{"in":"","low":"","no":"","out":""},"template":{"copy":"","copyDescription":"","save":"","saveDescription":"","template_one":"","warnRemove":"","warnTemplateExist":""},"tool":{"noToolsOrServices":"","toolsAndServices":""},"unsavedWarning":{"no":"","text":"","title":"","yes":""},"user":{"anonymousUsers":"","customerErrorLong":"","customerErrorShort":"","customerNumber":"","customerNumberError":"","customerWarningLong":"","customerWarningShort":"","notLoggedIn":"","proceedAsAnonymous":"","refreshFailedText":"","refreshFailedTitle":"","register":"","registeredUsers":"","salesContact":"","signIn":"","signInAgain":"","signInToOrder":"","signOut":"","user_other":"","viewAccount":""},"validation":{"allRequiredFields":"","email":"","fullNameMaxCharLimit":"Fornafn + Eftirnafn m\xe1 ekki vera lengra en {{maxLength}} stafir","maxCharacterLength":"","maxLength_one":"Max {{max}} character","maxLength_other":"Max {{max}} characters","minCharacterLength":"","mustStartWith":"Gildi\xf0 ver\xf0ur a\xf0 byrja \xe1 einu af eftirfarandi:","noEmailFound":"","phoneInvalid":"","phoneLength":"","required":"","requiredAccept":""},"variableText":{"inputDataUpdated":"","refinementRowTitle":"","refinementRowTitle_plural":"","validateErrorDesc":"","validateErrorTitle":"r","validateErrorTitle_plural":"","validateSuccessDesc":"","validateSuccessTitle":""},"warning":{"attention":"","changesPartlyDisabled":"","note":"","refinementWarnings":"","showWarningTexts":""}}'),p=JSON.parse('{"action":{"actions":"Azioni","add":"Aggiungere","apply":"Applicare","back":"Indietro","cancel":"Cancella","change":"Cambia","change_one":"","change_other":"","clear":"Pulisci","configure":"Configura","continue":"Continua","continueWithoutSaving":"Continua senza salvare","copy":"Copia","create":"Crea","download":"Download","duplicate":"Duplicare","edit":"Modifica","export":"Esportare","fullScreen":"A schermo intero","message":"Messaggio","ok":"Ok","open":"Apri","pending":"In sospeso","published":"Pubblicato","rearrangeBoxes":"","refresh":"Clicca QUI per aggiornare","remove":"Rimuovi","rename":"Rinomina","replace":"Sostituire","save":"Salva","saveWarningText":"\xc8 necessario salvare le modifiche prima di procedere. Vuoi salvare?","saveWarningTitle":"Salvare le modifiche?","select":"Seleziona","selectOne":"Seleziona uno","showBoxes":"","sort":"Ordinare","submitChanges":"Invia modifiche","submitQuestionComment":"Invia Domanda/Commento","undo":"Annulla"},"angle":{"":"","_back":"Dietro","_closeup1":"Primo Piano1","_closeup2":"Primo Piano2","_closeup3":"Primo Piano3","_front":"Fronte","_left":"Sinistra","_other":"Altro","_right":"Destra"},"archived":{"archive":"Archivia","archived":"Archiviato","articleArchived":"Questo articolo \xe8 archiviato","collectionArchived":"Questa collezione \xe8 archiviata","notArchived":"Non archiviato","remove":"Rimuovi archivio"},"article":{"articleMonitoring":"Punto d\'ordine","configureAndAdd":"Configura e aggiungi al carrello","deleteWarning":"Sei sicuro di voler eliminare l\'articolo {{name}}?","description":"Qui puoi accedere ai tuoi articoli che hai acquistato nel Transfershop","filters":"","filters_archived":"Archiviato","filters_category":"Categoria","filters_products":"Prodotti","filters_status":"Stato","filters_stock":"Stock","new":"","noHitsContent":"Non \xe8 stato possibile trovare articoli con i criteri di ricerca correnti","noHitsHeader":"No hits","notDefined":"Non definito","orderMonitoringMinNum":"Min. saldo inventario","show":"Mostra articoli","submitApproval":"Invia bozza per approvazione"},"assortment":{"category_one":"Categoria","category_other":"Categorie"},"bookmark":{"noPages":"Nessuna pagina ancora aggiunta","pages":"Pagine","pagesAndTools":"Pagine e strumenti","saveAsFavorite":"Salva come preferito","tools":"Strumenti"},"brightness":{"dark":"Scuro","light":"Chiaro"},"calendar":{"agenda":"Calendario","allDay":"Tutto il giorno","date":"Data","day":"Giorno","event":"Evento","events":"Eventi","importantDates":"Date importanti","month":"Mese","next":"Prossimo","noEventsInRange":"Non ci sono eventi in questo intervallo.","previous":"Indietro","previousEvents":"Eventi precedenti","previousYear":"Anno precedente","showAsCalendar":"Mostra come calendario","showAsList":"Mostra come elenco","time":"Ora","today":"Oggi","tomorrow":"Domani","week":"Settimana","workWeek":"Settimana lavorativa","year":"Anno","yesterday":"Ieri"},"campaign":{"code":"Codice Coupon","error":"Codice non valido"},"cart":{"addVariation":"Aggiungi variazione","add_one":"Aggiungi al carrello","add_other":"Aggiungi il prodotto al carrello","addressSelected_one":"Indirizzo selezionato","addressSelected_other":"Indirizzi selezionati","agreementInfo":"Non condivideremo mai la tua e-mail, indirizzo o qualsiasi altra informazione personale con nessun altro.","allowSplit":"Consenti ordine diviso?","cart":"Carrello","checkout":"Invia ordine","checkout_request":"Effettuare la richiesta d\'ordine","chooseQuantity":"Scegli la quantit\xe0","configureCheckout":"","continueShopping":"Continua i tuoi acquisti","createOffer":"Crea un\'offerta","created":"Carrello creato","depositToStock":"","depositToStockMinText":"","discount":"Sconto","doPayment":"Autorizza il pagamento","empty":"Il tuo carrello \xe8 vuoto","emptyDo":"SVUOTA IL CARRELLO","emptyFavourite":"Tieni traccia dei tuoi prodotti preferiti qui facendo clic su ","errorCouldNotCalculateRow":"C\'\xe8 stato un problema nella conferma dei tuoi prezzi unici. Viene mostrato l\'ultimo prezzo conosciuto del prodotto, se disponibile.","errorCouldNotCalculateTotal":"C\'\xe8 stato un problema nella conferma dei tuoi prezzi unici e dell\'importo totale dell\'ordine. Puoi comunque effettuare l\'ordine e troverai i tuoi prezzi nella conferma dell\'ordine.","errorInvalidProducts":"Alcuni prodotti non sono compatibili nello stesso ordine. I prodotti non validi rimarranno nel carrello ma non verranno inclusi nell\'ordine in corso.","errorInvalidSku":"Errore: l\'articolo non esiste.","errorSelectReseller":"Seleziona il rivenditore","favourite":"Il tuo preferito","minAmount":"Requires a minimum amount of 40 dollar.","minOrderQty":"Quantit\xe0 di ordine minimo","minOrderQtyInfo":"Se desideri passare a una quantit\xe0 inferiore, devi prima aggiungerne a un\'altra taglia.","new":"Nuovo carrello","noFavourite":"Non ci sono preferiti.","orderAndDelivery":"","payment":"Pagamento","paymentCancelled":"Il pagamento \xe8 stato annullato, riprova o seleziona un altro metodo di pagamento","paymentError":"Errore di pagamento, riprova o seleziona un metodo di pagamento diverso","paymentrefused":"Il pagamento \xe8 stato rifiutato, prova a scegliere un metodo di pagamento diverso","qtyAdjustedByArticleQuantity":"Attenzione! La quantit\xe0 di articoli \xe8 stata modificata per soddisfare i requisiti minimi di ordine.","quantity":"Quantit\xe0","quickAdd":"Ordine rapido","removeVariation":"Rimuovi variazione","saveToArticles":"","saveToCart":"","specification":"Specifica di prezzo","startShopping":"Inizia a fare acquisti o usa l\'aggiunta rapida qui sotto e aggiungi i prodotti.","swishButton":"Open swish","swishInfo":"Per completare il tuo ordine, scansiona il codice QR nell\'app swish.","toCart":"Vai al carrello","toastDismissNoOption":"No grazie","toastDismissText":"Vuoi disattivare le notifiche quando il carrello viene modificato?","toastDismissYesOption":"Si, disattiva","totalSkus":"Totale","validationErrorHigher":"Troppi prodotti aggiunti","validationErrorLower":"Troppi pochi prodotti aggiunti","warnNoStockAfterTransaction":"","warningCancelPayment":"Pagamento annullato. Per favore riprova.","warningOrderDisabled":"Autorizzazione di inserimento ordine mancante. Si prega di contattare il servizio clienti.","warningPriceOverride":"","warningPriceOverrideEnabled":""},"cartFee":{"admin":"Admin. fee","freight":"Spese di trasporto","insurance":"Spese di assicurazione","invoice":"Spese di fatturazione","postage":"Spese postali","shipping":"Spese di spedizione"},"collection":{"collection_one":"Collezione","collection_other":"Collezioni","deleteWarning":"Sei sicuro di voler eliminare la collezione {{name}}?","description":"Ecco le tue collezioni di prodotti raffinati.","noContent":"Inizia a raffinare i prodotti!","noHitsContent":"Nessuna collezione trovata con i criteri di ricerca attuali","noSkuWarning":"I seguenti articoli sono privi di quantit\xe0 e verranno rimossi: ","refinementsRemovedWarning":"Le seguenti raffinature sono applicate solo a questo articolo e verranno anch\'esse rimosse: ","show":"Mostra collezioni","upgrade_product":"Raffina prodotto","variations_one":"Variante","variations_other":"Varianti"},"color":{"color_one":"Colore","color_other":"Colori","errorNotEnough":"Devi selezionare un colore","errorTooMany":"Troppi opzioni selezionate per questa elaborazione. Rimuovi/combina i colori o scegli una configurazione che supporti pi\xf9 colori.","interpretedByTool":"interpretato dallo strumento","interpretedFromFile":"dal tuo file","interpretedTitle":"Colori PMS selezionati","toolInterpretedColors":"Lo strumento ha scelto i seguenti colori:","warnInterpreted":"Nota! I colori dell\'immagine vengono interpretati. Verificare che i codici colore corrispondano accuratamente.","warningAutoBackingColorApplied":"","warningAutoBackingColorNone":""},"colors":{"amber":"Ambra","blue":"Blu","blueGrey":"Grigio blu","brown":"Marrone","cyan":"Ciano","deepOrange":"Arancione intenso","deepPurple":"Viola intenso","green":"Verde","grey":"Grigio","indigo":"Indigo","lightBlue":"Blu chiaro","lightGreen":"Verde chiaro","lime":"Lime","orange":"Arancione","pink":"Rosa","purple":"Viola","red":"Rosso","teal":"Verde acqua","yellow":"Giallo"},"confirmation":{"remove":"Si, rimuovi"},"contact":{"address":"Persona di riferimento","city":"Citt\xe0","company":"Azienda","companyNumber":"Codice Cliente","companyText":"Descrizione dell\'azienda","contactName":"Nome del contatto","contactUs":"Contattaci","country":"Paese","customerContact":"Informazioni di contatto del servizio clienti","customerContactUs":"Contatta il servizio clienti per maggiori informazioni.","customerSupport":"Servizio Clienti","email":"E-mail","firstName":"Nome","lastName":"Cognome","name":"Nome","phone":"Numero di telefono","postalCode":"Codice postale"},"error":{"cellRowCol":"Riga {{row}}, colonna ({{col}}):","code":"","code_InvalidFormat":"Formato non valido.","code_NoValue":"Nessun valore fornito.","code_ToLong":"Input troppo lungo.","error":"Errore!","general":"Qualcosa non ha funzionato, riprova o contatta l\'assistenza."},"excel":{"activeConfiguration":"Configurazione attiva","browserExport":"Il file \xe8 in fase di generazione. Ci\xf2 potrebbe richiedere diversi minuti a seconda della quantit\xe0 di dati esportati.","columnRemovalDescription":"Alcune colonne verranno rimosse passando a un livello di esportazione pi\xf9 basso. Vuoi continuare?","columnRemovalNo":"No, mantieni colonne","columnRemovalTitle":"Cambia livello di esportazione","columnRemovalYes":"S\xec, rimuovi colonne","columns":"Colonne","customerPriceDate":"","download":"Scarica file Excel","downloadCancelled":"Download annullato.","emailExport":"Il file \xe8 in fase di generazione e ti verr\xe0 inviato via email quando sar\xe0 pronto. Ci\xf2 potrebbe richiedere diversi minuti a seconda della quantit\xe0 di dati esportati.","excel":"Excel","exportLevel":"Livello di esportazione","failedLoadPreset":"Impossibile caricare il preset","failedLoadPreview":"Impossibile caricare i dati di anteprima","generate":"Invia file Excel via email","languages":"Lingue","name":"Nome","noConfigurations":"Non ci sono configurazioni salvate","noLanguage":"Verr\xe0 utilizzata la lingua predefinita","savedConfiguration_one":"Configurazione salvata","savedConfiguration_other":"Configurazioni salvate","tabs":"Raggruppa in schede Excel per colonna","toggleConfiguration":"Fai clic su una configurazione per attivarla o disattivarla","units":"Unit\xe0"},"export":{"added":"Aggiunto all\'esportazione","chosen_product":"Prodotto scelto per l\'esportazione","chosen_products":"Prodotti scelti per l\'esportazione","fileExportCompleted":"","fileExportFailed":"","images":"Immagini","price":"Prezzo","product":"Prodotto","removed":"Rimosso dall\'esportazione","search_in":"Cerca in","sku":"Articolo / SKU","thresholdWarning":"","variation":"Variante / Colore","various_search":"Cerca in pi\xf9 categorie"},"file":{"allowedType":"Tipi di file consentiti","attachments":"Allegati","dragAndDropOrBrowse":"Trascina e rilascia o <u>sfoglia</u>","draggingSingleText":"Rilascia un file qui per caricare","draggingText":"Rilascia qui i file da caricare","file_other":"Files","filename":"Nome del file","none":"Nessun file \xe8 stato ancora caricato. Aggiungi un file.","processFileError":"Impossibile elaborare il file.","processFileErrorFileSize":"","processingFileUpload":"Elaborazione del caricamento del file...","supported":".jpg, .jpeg, .png, .gif, .pdf and .svg. Massimo 5Mb."},"filter":{"filter":"Filtro","filter_accessories":"Accessori","filter_activity":"Attivit\xe0","filter_brand":"Marchio","filter_care":"Istruzioni di lavaggio","filter_category":"Categoria","filter_certification":"Certificazioni","filter_color":"Colore","filter_designer":"Marchio","filter_feature":"Caratteristiche","filter_female":"Donna","filter_fit":"Vestibilit\xe0","filter_gender":"Sesso","filter_male":"Uomo","filter_material":"Materiali","filter_neckline":"Scollatura","filter_other":"Filtri","filter_outlet":"Outlet","filter_range":"Range","filter_retail":"","filter_season":"Stagione","filter_sleeve":"Tipo di manica","filter_theme":"Tema","filters":"Filtri"},"general":{"add":"Aggiungi","agreeTo":"Accetta","all":"Tutti","auto":"Automatico","basis":"Base","cantChange":"Non pu\xf2 essere cambiato","changed":"Cambiato","close":"Chiuso","collapseAll":"Crollo tutti","columns":"Colonne","comment":"Commento","commentSet":"Imposta commento","compact":"Compatto","created":"Creato","custom":"Personalizzato","description":"Descrizione","dontShowAgain":"","email":"Email","endDate":"Data di fine","enterPassword":"Inserisci la password per continuare.","expand":"Espandere","expandAll":"Espandere tutti","expires":"","favourites":"Preferiti","font":"","full":"Completo","hide":"Nascondi","hideAllPages":"","language":"Lingua","limitedToCharacters":"Limitato a {{characters}} caratteri.","limitedToInteger":"Limitato a numeri.","limitedToLetters":"Limitato a lettere.","limitedToLettersUpper":"Limitato a lettere maiuscole.","log":"Log","logotype":"Logotipo","maintenance":"Informazione importante! A causa di una manutenzione programmata, il nostro sistema aziendale non sar\xe0 disponibile dalle ore 8:00 circa del 13 aprile. Ci scusiamo per eventuali inconvenienti e ti informiamo che il sito web non funzioner\xe0 normalmente durante questo periodo. Ci aspettiamo di tornare a un funzionamento normale entro poche ore e apprezziamo la tua pazienza.","mandatory":"Obbligatorio","minimize":"Riduci","name":"Nome","new":"Nuovo","no":"No","none":"Nessuno","notifications":"Notifiche","password":"Password","readMore":"Leggi di pi\xf9","safety":"Sicurezza","saveAndClose":"Salva e chiudi","selected":"Selezionato","settings":"Impostazioni","show":"Mostra","showAllPages":"Mostra tutte le pagine","show_all":"Mostra tutti","show_less":"Mostra meno","show_more":"Mostra di pi\xf9","skipToContent":"Salta al contenuto","standard":"Standard","startDate":"Data di inizio","status":"Stato","subTitle":"Sottotitolo","summary":"Riepilogo","tag_one":"Etichetta","tag_other":"Etichette","terms":"Termini e condizioni","text":"Testo","text_other":"Testi","thankYou":"Grazie","title":"Titolo","to":"","tools":"strumenti","total":"Totale","type":"","updated":"Aggiornato","url":"Url","view":"Visualizzazione","weOffer":"Noi offriamo","yes":"Si"},"image":{"angle_one":"Angolo","angle_other":"Angoli","environment":"Ambiente","image_one":"Immagine","image_other":"Immagini"},"invoice":{"address":"Indirizzo di fatturazione","credit":"Credito ordine","invoice_one":"Fattura","invoice_other":"Fatture"},"logoAppTools":{"asset":"Aggiungi nuova risorsa"},"microshop":{"CustomerNumberSecurityInfo":"L\'opzione di sicurezza deve essere attivata.","accentColor":"Colore d\'accento","activate_units":"","addAddon":"Inserisci componente aggiuntivo","addCategory":"Aggiungi categoria","addMasterDeliveryAddress":"","addNewUsers":"Aggiungi nuovi utenti","addUnit":"Aggiungi nuova unit\xe0","addons":"componenti aggiuntivi","administrator":"Amministratore","agreement":"Accordo","allProducts":"Tutti i prodotti","alternativeUnitCertifier":"Certificatore alternativo","approval":"","assortment":"Assortimento","assortmentAvailableVariationsAdded":"","backgroundImage":"Immagine di background","bodyFont":"Carattere del corpo","budget":"Budget","budget_approval":"","cancelMasterOrderWarning":"Sei sicuro di voler annullare l\'ordine principale {{masterOrder}}","cantDeleteWarning":"Hanno ordini in sospeso e/o ordini principali e non possono essere eliminati.","categoryExists":"Una categoria con quel nome esiste gi\xe0, si prega di scegliere un altro nome","changeOwner":"Cambia proprietario","changeTo":"Cambia in","column":"Colonna","confirmDelete":"Conferma eliminazione","confirmMasterOrder":"Conferma l\'ordine principale","content":"Contenuto","copyShop":"Copia le impostazioni dal negozio esistente","create":"Crea un nuovo microshop","createMasterOrder":"Crea ordine principale dagli ordini selezionati","createUser":"Crea nuovo utente","currency":"Valuta","currentOwner":"Proprietario attuale","custom":"personalizzato","customerInputNone":"Nessuno","customerInputNumber":"Numero","customerInputText":"Testo","customerInputType":"Input del cliente","databaseError":"Errore del database","deleteProduct":"Cancella prodotto","deleteSelectedOrder":"Rimuovi gli ordini selezionati","deleteUnit":"Elimina unit\xe0","deleteUnitWarning":"Eliminando il tuo account, rimuoverai definitivamente tutti i tuoi dati, inclusi tutti gli utenti, le tue impostazioni e tutti i contenuti che hai creato. Questa azione non pu\xf2 essere annullata.","deleteWarning":"Sei sicuro di voler eliminare il microshop {{name}}?","departmentUnit":"dipartimento/unit\xe0","descOptionCombine":"Combinare","descOptionDefault":"Predefinito","direct_orders":"","disable_units":"","displayOptions":"","emailWarning":"Email non valida. Si prega di controllare errori di battitura, ortografici e che l\'email esista nel microshop selezionato.","emptyAssortments":"Nessun assortimento da scegliere","emptyProducts":"Nessun prodotto trovato","error":"Si \xe8 verificato un errore!","excelTemplate":"Modello Excel","excelTemplateDescription":"Puoi scaricare l\'esempio allegato e utilizzarlo come punto di partenza per il tuo file.","files":"Scheda prodotto","filesUploaded":"Documento/i caricati e salvati","footColor":"Colore del Footer","footer":"Footer","freeShipping":"Spedizione gratuita per ordini superiori a","general":"Generale","handleProductsSettings":"Gestisci prezzi, componenti aggiuntivi e categorie","headerFont":"Carattere dell\'intestazione","import":"Importa","individual":"Individuale (SEK)","input":"Input","invalidUrl":"L\'URL \xe8 gi\xe0 utilizzato o contiene un punto, scegline un altro","legalNotice":"Note legali","lightnessColor":"Leggerezza","logotype":"Logotipo","look":"Aspetto","mainColor":"Colore principale","main_orders":"","many_size_products":"","masterOrder":"","microshop":"Microshop","microshop_other":"Microshops","missingEmail":"Manca l\'email","missingMicroshop":"Microshop mancante","missingShopUnitName":"Nome dell\'unit\xe0 del negozio mancante","missingUser":"Mancano gli utenti","new_unit":"Nuova Unit\xe0","noFilters":"Nessun filtro da scegliere","noHitsContent":"Non \xe8 stato possibile trovare microshop con i criteri di ricerca attuali","noMicroshopFound":"Nessun microshop trovato","noOrders":"Nessun ordine","noOrdersExplanation":"Il tuo negozio non contiene {{orderText}}.","noUserDescription":"Crea nuovi utenti qui, oppure importa!","noUsers":"Nessun utente ancora","notificationOptionDaily":"Panoramica giornaliera","notificationOptionInstant":"E-mail istantanea","notificationOptionNone":"Nessuno","notificationsTitle":"Notifiche d\'ordine","one_size_product":"","orderDeleteWarning":"Sei sicuro di voler eliminare questo ordine?","orderPrices":"Ordine e prezzi","order_flow":"","ordered":"Ordinato","orderrNotificationExplanation":"La notifica via email viene inviata a {{email}}","ordersDeleteWarning":"Sei sicuro di voler eliminare gli ordini selezionati","pendingOrders":"Ordini in attesa","points":"punti","priceModel":"Tipo di prezzo","priceOptionFixed":"Prezzo fisso","priceOptionNone":"None","priceOptionRetail":"Sulla base del al prezzo al dettaglio","privacyPolicy":"Privacy policy","productAddImages":"Aggiungi immagini","productName":"Nome prodotto","productNumber":"Codice prodotto","productQuantity":"Quantit\xe0 del prodotto","readyForImport":"Il file \xe8 pronto per l\'importazione. Continua facendo clic su \'Importa\'.","refinementsAndAddons":"Lavorazioni & componenti aggiuntivi","requiresattestation":"Richiede attestazione","retailModifier":"Rapporto con il prezzo al dettaglio","retailPrice":"Prezzo al dettaglio","retailPriceExplanation":"Ogni prodotto che viene aggiunto al negozio avr\xe0 un prezzo basato sul prezzo al dettaglio del prodotto.\\nIl prezzo viene moltiplicato per il numero indicato di seguito","role":"Ruolo","row":"Riga","saved":"Le tue modifiche sono state salvate","securityOptionNone":"Nessuna sicurezza","securityOptionRegister":"Registrati con un account","securityOptionSecregAndRegister":"Registrati e password generale","securityOptionSecret":"Segreto generale","security_protection":"","settings":"Impostazioni","standard":"standard","standardPrice":"Calcolo del prezzo standard","totalCustomer":"Costo totale, cliente","unit":"Unit\xe0","unitBudgetDepartment":"Dipartimento (SEK)","unitCertifier":"Certificatore","unitDeleteWarning":"Sei sicuro di voler eliminare l\'unit\xe0 selezionata?","unitName":"Nome","unitWithChildrenDeleteWarning":"Stai per cancellare l\'unit\xe0 \'{{unitName}}\' e tutte le unit\xe0 sottostanti. Questa azione non pu\xf2 essere annullata. Vuoi procedere con la rimozione?","units":"Unit\xe0","units_other":"","uploadDone":"Il caricamento \xe8 completato!","uploadedFile":"File caricato","userInformation":"Informazioni","value":"Valore","variationExists":"","vatExcluded":"","vatIncluded":"","vatIsIncluded":"L\'IVA \xe8 inclusa nei prezzi","vatNotIncluded":"L\'IVA non \xe8 inclusa nei prezzi","visitShop":"Visualizza lo shop","welcomeMessage":"Messaggio di benvenuto","zeroContentAddons":"Non ci sono componenti aggiuntivi per il negozio, crea componenti aggiuntivi nella scheda \\"{{- tab}}\\".","zeroContentText":"Cerca i prodotti o scegli tra categorie e preferiti per aggiungere prodotti al tuo assortimento.","zeroContentTitle":"Non ci sono ancora prodotti selezionati."},"microshopUploadErrorCodes":{"databaseError":"","invalidEmailFormat":"Formato email non valido","invalidIsAttestantValue":"Valore isAttestant non valido","invalidManageBudgetValue":"Valore manageBudget non valido","invalidRequiresAttestationValue":"Valore requiresAttestation non valido","invalidRoleValue":"Valore del ruolo non valido","missingMicroshop":"Microshop mancante","missingOrIncorrectHeaders":"Intestazioni mancanti o errate","missingShopUnits":"Unit\xe0 del negozio mancanti","missingUsers":"Utenti mancanti","noDataInFile":"Nessun dato nel file","noFileSelected":"Nessun file selezionato","noRowsInFile":"Nessuna riga nel file"},"navigation":{"allIn":"Mostra tutti","history":"Storico","onThisPage":"Su questa pagina","page":"Pagina","promoted":"Selezionato","start":"Pagina iniziale","toTop":"Vai all\'inizio"},"news":{"new_one":"Nuovo","new_other":"Nuovi","showAll":"Mostra tutte le novit\xe0"},"newsletter":{"subscribed":"Sottoscritto!"},"offer":{"additionalCost":"Costo aggiuntivo","additionalCosts":"Costi aggiuntivi","confirmOffer":"Conferma offerta","daysBeforeReminder":"Giorni prima del promemoria","discount":"Sconto","discountInfo":"Tutti i prodotti ricevono uno sconto in percentuale.","editName":"Modifica nome","expires":"Data di scadenza","margin":"Margine","marginInfo":"Tutti i prodotti ricevono un margine in percentuale.","noProductInfo":"Inizia aggiungendo i prodotti sopra.","offerPage":"Pagina delle offerte","offerPrice":"Prezzo di offerta","offer_one":"Offerta","offer_other":"Offerte","otherTerms":"Condizioni da altre offerte","publicOffer":"Offerta pubblica","remove":"Rimuovi l\'offerta","removeConfirmation":"Sei sicuro di voler rimuovere l\'offerta","removePublicUrlAlert":"Rimuovere la tua offerta pubblica?","removePublicUrlAlertConfirm":"Si, rimuovi.","removePublicUrlAlertContent":"Vuoi rimuovere la tua offerta pubblica dall\'offerta {{name}}?","shareOffer":"Condividi l\'offerta","visitors":"Visitatori","warnExternalCustomerMissing":""},"order":{"addNewAddress":"Aggiungi nuovo indirizzo","adjustment":"Regolazione","allOrdersLast30Days":"","createDelivery_one":"Crea consegna","createDelivery_other":"Crea consegne","createOrder":"Crea ordine","createRepeatOrder":"Crea un ordine di ripetizione","createdDeliveries":"Consegne create","creditType":"Ordine di credito","customerDetails":"Dettagli cliente","deleteWarning":"Sei sicuro di voler eliminare il ordine {{name}}?","deliveryAsc":"Data di consegna ascendenti","deliveryDate":"Data di consegna","deliveryDesc":"Data di consegna decrescenti","deliveryNote":"Bolla di consegna","deliveryNoteNumber":"Numero bolla di consegna","deliveryType":"Tipo di consegna","downloadDeliveryNote":"Scarica bolla di consegna","downloadExcel":"Download Excel","entire":"Es: numero d\'ordine, riferimento ecc.","entirePartnerOrders":"E.g. order number, deliveryname, e-mail etc.","handleAddresses":"Gestisci indirizzi","handleAddressesAndDeliveries":"Gestisci indirizzi e consegne","history":"Storico ordini","infoMessage_boxDesign_partnerOverview":"","lastOrder":"Ultimo ordine","masterOrder_other":"Ordini principali","noHitsContent":"Ricorda che devi cercare per numero d\'ordine completo","noHitsHeader":"Nessun risultato","noOrdersLast30Days":"","notes":"Le mie note","orderNumber":"Numero d\'ordine","order_one":"Ordine","order_other":"Ordini","packageLabel":"Etichetta del pacco","partner_one":"production","paymentType":"Ordine di pagamento","placed":"Il tuo ordine \xe8 stato effettuato con successo","placedBy":"Inviato da","reference":"Riferimento dell\'ordine","refinementType":"Rifinitura dell\'ordine","removeAddressText":"Vuoi rimuovere l\'indirizzo?","removeAddressTitle":"Rimuovi l\'indirizzo?","removeAddressYesOption":"Rimuovi indirizzo","repeat":"","sendOrderDocument":"","setPublicOrderAsCompletedDescription":"Questo chiude l\'ordine e non \xe8 possibile aggiungere ulteriori consegne. Un messaggio verr\xe0 inviato al cliente.","setPublicOrderAsCompletedTitle":"Sei sicuro di voler completare?","setPublicOrderAsCompletedYesOption":"S\xec, completa l\'ordine","showEditArticles":"Mostra/modifica articoli ({{count}})","skuEditorDisabledTitle":"Un ordine pu\xf2 contenere solo consegne se \xe8 stato impostato in produzione. In questo stato, solo gli indirizzi di consegna possono essere modificati.","status":"Stato dell\'ordine","statusCreated":"Creato","statusFailed":"Fallito","statusPlaced":"Effettuato","system":"","table":"Tavolo degli ordini","thankYou_message_customerApproval":"Abbiamo ricevuto la tua risposta e ti contatteremo entro 24 ore. Se hai domande, per favore inviaci un messaggio sopra!","thankYou_message_rejectToCustomer":"Abbiamo ricevuto la tua integrazione e ti contatteremo entro 24 ore. Se hai domande, per favore inviaci un messaggio sopra!","track":"Traccia","type":"Tipo di ordine","viewOrders":"Visualizza e gestisci gli ordini.","wrongPasswordTryAgain":"La password inserita non \xe8 corretta. Per favore riprova."},"orderstatuses":{"approved":"Approvato","awaitingCustomer":"In attesa del cliente","customerChanges":"Modifiche del cliente","customerRejected":"","deliveryChanged":"Consegna modificata","expressOrder":"Ordine espresso","inProduction":"In produzione","pinned":"Bloccato","rejected":"Rifiutato","unhandled":"Non gestito"},"orientation":{"landscape":"Orizzontale","orientation":"Orientamento","portrait":"Verticale"},"part":{"all":"Tutte le sottoparti","part":"Parte","partQty":"Quantit\xe0 nella parte","partSizes":"Articolo suddiviso"},"pdf":{"aboutUsPage":"Chi siamo","careCertPage":"Istruzioni di lavaggio / Certificazioni","careInstructions":"Istruzioni di lavaggio","certifications":"Certificazioni","content":"Contenuto","coverPage":"Copertina","description":"Descrizione","download":"Scarica PDF","fabrics":"Materiali","fullPage":"Pagina intera","offerItemPrice":"Prezzo di offerta","offertPage":"Offerta","pdf":"PDF","pdfLoading":"Ti preghiamo di attendere mentre prepariamo il vostro documento","preview":"Anteprima","productPage":"Prodotti","quantity":"Quantit\xe0","recommendedPrice":"Prezzo consigliato","refinementPage":"Perfezionamenti","sizeGuides":"Guida alle taglie","tableOfContent":"Tabella dei contenuti","terms":"Termini","termsTitle":"Termini","titlePage":"Titolo della pagina","warnCareWithRefinement":"Una volta personalizzato il vostro capo, le istruzioni di lavaggio originali non si applicano pi\xf9!","weight":"Peso"},"pdfImages":{"environmentImages":"Immagini ambientate","errorRequestSent":"Si \xe8 verificato un errore tecnico e non siamo in grado di preparare le immagini per il download. Si prega di contattare il servizio clienti.","failedLoadPreview":"Impossibile caricare le immagini","highResolution":"4000px (Alta risoluzione)","imageAltText":"","imageResolution":"Risoluzione dell\'immagine","loadPreview":"Caricamento dei prodotti...","noProducts":"Nessun prodotto","preferredFileType":"","preview":"1000px (Anteprima)","productImages":"Immagini prodotto","sendEmail":"Inviare e-mail","showAll":"Mostra altre immagini","standardResolution":"","sucessRequestSent":"Stiamo preparando le immagini in un file zip e le invieremo alla tua email, potrebbe richiedere alcuni minuti.","thumbnail":"200px (Miniatura)","webpInfo":""},"placement":{"":"","_Button1":"","_Button2":"","_Button3":"","_Button4":"","_Button5":"","_ChestPocketLeft":"","_ChestPocketRight":"","_Front":"","_Generic":"","_InnerSide":"","_Left":"","_OuterSide":"","_Right":"","_SidePocketLeft":"","_SidePocketRight":"","_SleeveLeft":"","_SleeveRight":""},"pmsColorPicker":{"inactivateColor":"Disattivare il colore","searchPlaceHolder":"Colore PMS","searchZeroContent":"Nessun colore PMS corrisponde alla query di ricerca"},"price":{"amount":"Importo","amountIncVat":"Importo (IVA inclusa)","applyCustomer":"Applicare il prezzo del cliente","customer":"Prezzo netto rivenditore","customerPrice":"","latestPrice":"Prezzo pi\xf9 recente","noPrice":"Prezzo non disponibile","orderpricelist":"Listino ordini","price":"Prezzo","priceSt":"Prezzo / pc","priceSuggestion":"Prezzo suggerito","pricelists":"Listino prezzi","prices":"Prezzi","purchasePrice":"Prezzo d\'acquisto","regular_short":"Prezzo reg.","retail":"Prezzo shop","retailAndCustomer":"Rivenditore e Shop","rrp_long":"Prezzo consigliato","rrp_short":"RRP","selectedArticle":"","selectedRefinement":"","showNoPrice":"Nessuno","subTotal":"Subtotale","tiered":"Prezzo riservato","totalCart":"","totalValue":"Valore complessivo","total_exVat":"Totale (IVA esclusa)","total_incVat":"Totale (IVA inclusa)","vat":"IVA","vatConsumer":"IVA"},"product":{"_capacity":"Capacit\xe0","_closure":"Chiusura","_colorComment":"Indicazione colore","_country":"Paese d\'origine","_designer":"Marchio","_diameter":"Diametro","_fabrics":"Materiali","_gender":"Sesso","_height":"Altezza","_hoodDetails":"Dettagli del cappuccio","_length":"Lunghezza","_limitedEdition":"Edizione limitata","_measure":"Misure","_neckline":"","_packaging":"Confezione","_pockets":"Tasche","_presentationDate":"Data di presentazione","_printCode":"Stampa Codice","_sleeve":"Manica","_techniqueComment":"Indicazioni tecniche","_volume":"Volumen","_weight":"Peso","_width":"Larghezza","add":"Aggiungi prodotto","addRemove":"Aggiungi/rimuovi articolo","approveArticles":"Approva articoli","articleNumber":"Codice articolo","article_one":"Articolo","article_other":"Articoli","care":"Istruzioni di lavaggio","certificates":"Certificazioni","colors":"colori","composition":"Composizione","document":"Documento","downloadImage":"Scarica immagine","downloadImages":"Scarica imagini","features":"Caratteristiche","info":"Informazioni prodotto","missingSkus":"Articoli mancanti","name":"Nome","noProducts":"Nessun prodotto","orderDifference":"Differenza d\'ordine","pdfDownload":"Scarica PDF","product_one":"Prodotto","product_other":"Prodotti","products":"Prodotti","related":"Prodotti correlati","relatedGender":"Disponibile anche in versione","related_short":"Imparentato","replacement":"Alternativa","search":"Cerca prodotto","searchPlaceholder":"Es: codice articolo o nome","searchPlaceholderProduct":"Es: codice articolo o nome","show":"Mostra prodotti","showLessColors":"Mostra meno colori","transfer":"Transfer","unwantedSkus":"Articoli sconosciuti"},"productAddImagesAfter":"{{added}}/{{max}} (optional)","productTag":{"new":"Novit\xe0","newVariation":"Nuovo colore","outlet":"Outlet","outletVariation":"Colore in Outlet","sustainable":"Sostenibile","upcoming":"In arrivo","upcomingVariation":"Colore in arrivo"},"production":{"refinement_one":"Lavorazioni"},"proof":{"proof":"Correzione","proof_one":"Grafica","proof_other":"Grafiche","service":""},"refinement":{"add":"Opzioni di aggiunta","addon":"Aggiungi","addonVariations":"variazioni","articleAddedToDraftInfo":"","articleDraftSuggestionInfo":"","autoAdjustedPlacements":"Nota che altre posizioni sono state regolate automaticamente.","awaitingDelivery":"In attesa dei prodotti","awaitingDeliveryAction":"In attesa dei prodotti","choose":"Scegli le opzioni di processo","colorBacking":"Colore di supporto","colorChange":"Cambio di colore","colorChangeColor":"","commentDescription":"Altre richieste","completed":"Prodotti processati","completedAction":"Prodotti processati","create":"Crea un nuovo Aggiungi","createArticleDraft":"Salva come bozza","createTextElement":"Crea un nuovo elemento di testo","customerPublicOrderConfirmSubmit":"Grazie! Il servizio clienti verificher\xe0 ora il tuo ordine e verr\xe0 inviato un messaggio quando l\'ordine verr\xe0 approvato.","customerPublicOrderInstructions":"Leggi il messaggio del servizio clienti nel registro associato. Fai clic qui sotto per aprire il configuratore, modificare e salvare. Quando hai finito. Fai clic su Invia e sentiti libero di allegare un commento. Se hai ulteriori domande sull\'ordine o manca istruzioni, invia semplicemente un commento. Il servizio clienti esaminer\xe0 rapidamente le tue modifiche e verrai avvisato quando l\'ordine verr\xe0 approvato.","customerPublicOrderPriceWarning":"Nota! Gli articoli nell\'ordine sono cambiati e verr\xe0 inviata una nuova conferma d\'ordine.","deliverNowAndOnwards":"Now and ongoing","deliverWhenInStock":"When all in stock","delivered":"Prodotti spediti","deliveredAction":"Prodotti spediti","downloadPreviewImage":"Scarica immagine di anteprima","errorNoAvailableRefinements":"","expected":"consegna prevista","fixedTextPlaceholder":"Il tuo testo qui","inProgress":"In corso","invalidTransferAmount":"","latest":"","message":"Messaggio","messages":"Messaggi","minQuantityWarning":"Nota! L\'addebito minimo \xe8 per {{minQuantity}} {{articles}} e comporta quindi un prezzo unitario pi\xf9 elevato per il numero selezionato.","mountings":"montaggi","nameAndTags":"Nome ed etichette","new":"Nuova lavorazione","noSplitPlaceInfo":"Aggiungi qui le rifiniture che devono essere applicate a tutte le dimensioni della variante/angolo.","objectSizeChangedWarning":"","otherInformation":"Varie","pin":"","placementDescription":"","placement_one":"Posizionamento","placement_other":"Posizionamenti","positionAutoAdjusted":"La posizione \xe8 stata automaticamente regolata per adattarsi alla superficie. Usa i tasti freccia per regolare o fai clic sul magnete per disattivare.","proofFinalAcceptText":"Accetto il mio originale/bozza come prova finale di design. Nessuna prova verr\xe0 inviata a me su questa offerta.","readyForInvoice":"Pronto per fattura","refinement_one":"Lavorazione","refinement_other":"Lavorazioni","reject":"Rifiutare","rejected":"Respinto","rejectedAction":"Respinto","review_proof":"Apri e rivedi la tua bozza qui sotto","send":"Invia","sendForReviewApprove":"","sender":"Mittente","sourceInfo":"","sourceInfo_Analysis":"Il sistema ha interpretato il colore.","sourceInfo_Custom":"Il cliente ha scelto il colore da solo.","sourceInfo_File":"Il file ha definito il colore.","startCost":"Costo iniziale","uploadFile":"Carica file","userProof":"Prova utente","variableTextPlaceholder":"Il tuo testo di esempio qui","warnRepeatChanged":"Questa \xe8 una modifica ripetuta. Se salvi le modifiche, non sar\xe0 pi\xf9 un ordine ripetuto e i prezzi potrebbero cambiare."},"refinementsSelector":{"errorIncompatible":"Il file non pu\xf2 essere gestito dal prodotto selezionato: {{selectedProduct}}. Vuoi cambiare l\'opzione?","errorNoCompatible":"Il file selezionato non pu\xf2 essere applicato su nessuna delle rifiniture di questo prodotto. Si prega di selezionare un altro file o contattarci per ulteriore assistenza!","title":"Vuoi aggiungere una lavorazione gi\xe0 creata?"},"reseller":{"change":"Cambia rivenditore","errorNotFound":"Non riusciamo a trovare nessun rivenditore collegato al tuo indirizzo. Assicurati che sia corretto o cerca il rivenditore qui sotto.","externalSupplier":"Fornitore esterno","openHours":"Orari di apertura","reseller_one":"Rivenditore","reseller_other":"","search":"Trova il tuo rivenditore","searchAgreement":"Se hai un accordo, cerca utilizzando il tuo numero cliente","showAllResellers":"Mostra tutti i rivenditori","suggestionFrom":"Abbiamo suggerito un rivenditore basandoci su","suggestionInfo":"Inserisci il tuo indirizzo per trovare un rivenditore vicino a te."},"salesBoard":{"salesBoard":"Consiglio di vendita","section":"","section_budget":"Budget","section_compare":"Periodo precedente","section_leaderboard":"Classifica","section_topOrders":"I migliori ordini","section_topProducts":"I migliori prodotti","section_totalValue":"Valore complessivo","section_visits":"Visite"},"search":{"empty":"Nessun risultato","search":"Ricerca"},"seller":{"customer":"Cliente","customerShops":"Clienti Microshops","customers":"Clienti","erpNumber":"Codice cliente","exportedFiles":"","loggedInAs":"Accesso effettuato come","noCustomers":"Nessun cliente aggiunto","openAs":"Aperto come","orderMonitoring":"Monitoraggio dell\'ordine","orderMonitoringEmpty":"Non hai ancora aggiunto clienti per monitorare i loro ordini. Inserisci il codice cliente qui sotto per iniziare il monitoraggio.","orderMonitoringInfo":"Qui puoi seguire gli ordini dei tuoi clienti. Ogni volta che un cliente effettua un ordine, riceverai una notifica sulla tua e-mail.","orderMonitoringNotificationInfo":"Le notifiche vengono inviate a: ","orderMonitoringRemoved":"Il cliente {{sub.customerName}} ({{sub.customerCode}}) non sar\xe0 pi\xf9 monitorato.","partnerOverview":"Panoramica dei partner","selectCustomer":"Seleziona un cliente","seller":"Venditore","signOutCustomer":"Esci dal cliente","warnSellingDisabled":""},"shipment":{"address":"Indirizzo di consegna","addressesAndShipmentsTitle":"Indirizzi e spedizioni","date":"Data di consegna","deliveryOptional_other":"Servizi aggiuntivi","deliveryQuantity":"","deliveryType":"Tipo di consegna","delivery_one":"Consegna","delivery_other":"Consegne","dispatchNote":"Avviso di spedizione","emailInfo":"L\'indirizzo e-mail specificato viene utilizzato per inviare la notifica di spedizione e/o una conferma d\'ordine semplificata (senza prezzi)","info":"Informazioni di spedizione","manualDelivery":"","new":"Nuovo indirizzo","packageLabel":"Etichetta del pacco","qtyArticles":"{{count}} articolo","qtyShipments":"{{count}} spedizione","receiver":"","requestDate":"Richiedi la data di consegna","requestDateChange":"Vuoi modificare la data di consegna?","requestedDate":"Data richiesta","sendTo_one":"Invia a un indirizzo","sendTo_other":"Invia a pi\xf9 indirizzi","shipment":"Spedizioni","simplifiedOrderConfirm":"Conferma d\'ordine semplificata","tracking":"Rintraccia il tuo ordine","trackingCarrier":"Vettore","trackingNumber":"Numero di tracciamento","trackingService":"Servizio","trackingUrl":"URL di tracciamento","transportType":"Tipo di trasporto","warningLongDelivery":"Nota del. data","yourOrderNumber":"Il tuo numero d\'ordine","yourReference":"Il tuoi riferimenti"},"size":{"allowedMinMax":"","large":"Grande","size":"Taglia","sizeguide":"Guida alle taglie","small":"Piccolo"},"sort":{"relevance":"Rilevanza"},"status":{"accepted":"Accettato","approved":"Approvato","approvedAction":"Approvato","cancelled":"Cancellato","completed":"Spedizione completata","confirmed":"Confermato","confirmedAction":"Confermato","draft":"Bozza","inproduction":"In produzione","inprogress":"Spedizione in corso","invoiced":"Fatturato","ok":"Ok","onhold":"In Attesa","processing":"in lavorazione","rejected":"Respinto","save_error":"Si \xe8 verificato un errore durante il salvataggio","saved":"Salvato","unconfirmed":"Non confermato","unconfirmedAction":"Non confermato","waiting":"In attesa"},"stock":{"box":"scatola","enterQuantity":"Inserisci la quantit\xe0","estRefill":"Est. refill","global":"Extra-EU","local":"Italia","min":"Minimo:","mounting":"Montaggio","operation":"*!Internal - no need to translate*","operation_add":"Aggiungi allo stock","operation_order":"Ordina direttamente","operation_withdraw":"Ritiro dal magazzino","pcs":"pcs","region":"Europa","rest":"Resto","stock":"Stock","stockAfterTransaction":"Magazzino dopo le transazioni"},"stockLevel":{"in":"Disponibile","low":"Stock basso","no":"Non disponibile","out":"Esaurito"},"template":{"copy":"Copia dal modello","copyDescription":"Copia la configurazione dal modello salvato. Questo sostituir\xe0 la tua configurazione attuale.","save":"Salva come modello","saveDescription":"Salva la configurazione attuale come modello per uso futuro in altri documenti.","template_one":"Modello","warnRemove":"Sei sicuro di voler rimuovere il modello?","warnTemplateExist":"Esiste gi\xe0 un modello salvato con questo nome. Questo sovrascriver\xe0 il modello salvato con la configurazione attuale."},"tool":{"noToolsOrServices":"Nessuno strumento o servizio \xe8 stato ancora aggiunto","toolsAndServices":"I miei strumenti e servizi"},"unsavedWarning":{"no":"No, annulla le modifiche","text":"Le modifiche non salvate verranno eliminate. Vuoi salvare?","title":"Salvare le modifiche?","yes":"Si, salva"},"user":{"anonymousUsers":"Utenti anonimi","customerErrorLong":"Impossibile caricare le informazioni sul cliente per l\'utente. Per favore riprova.","customerErrorShort":"All\'utente mancano informazioni valide sul cliente","customerNumber":"Cliente n.","customerNumberError":"Inserire l\'intero codice cliente","customerWarningLong":"Il cliente associato all\'utente non esiste o le informazioni sul cliente sono completamente assenti nell\'utente.","customerWarningShort":"Nessun cliente valido \xe8 associato all\'utente","notLoggedIn":"Nessun utente ha effettuato l\'accesso","proceedAsAnonymous":"Procedi come anonimo","refreshFailedText":"Per motivi di sicurezza, sei stato disconnesso dopo un periodo di inattivit\xe0.\\nPremi \\"Accedi di nuovo\\" per continuare i tuoi acquisti.","refreshFailedTitle":"Sei stato disconnesso.","register":"Registrati","registeredUsers":"Utente registrato","salesContact":"Contatto commerciale","signIn":"Accedi","signInAgain":"Accedi nuovamente","signInToOrder":"Accedi per ordinare","signOut":"Esci","user_other":"Utenti","viewAccount":"Vedi l\'account"},"validation":{"allRequiredFields":"","email":"E-mail non valida","fullNameMaxCharLimit":"Il nome + cognome non devono superare i {{maxLength}} caratteri","maxCharacterLength":"Quanto inserito \xe8 pi\xf9 lungo della lunghezza massima consentita di {{maxLength}} caratteri","maxLength_one":"Massimo {{max}} caratteri","maxLength_other":"Massimo {{max}} caratteri","minCharacterLength":"Quanto inserito \xe8 pi\xf9 breve della lunghezza minima consentita di {{minLength}} caratteri","mustStartWith":"Il valore deve iniziare con uno dei seguenti:","noEmailFound":"Nessuna email trovata","phoneInvalid":"Numero di telefono non valido","phoneLength":"Il numero di telefono deve essere composto da 8 o 16 cifre","required":"Obbligatorio","requiredAccept":"Per continuare devi accettare"},"variableText":{"inputDataUpdated":"","refinementRowTitle":"","refinementRowTitle_plural":"","validateErrorDesc":"Il file caricato contiene righe errate. Correggi e riprova.","validateErrorTitle":"{{count}} Errori di validazione","validateErrorTitle_plural":"","validateSuccessDesc":"","validateSuccessTitle":""},"warning":{"attention":"Attanzione!","changesPartlyDisabled":"","note":"Nota!","refinementWarnings":"","showWarningTexts":""}}'),h=JSON.parse('{"action":{"actions":"Acties","add":"Toevoegen","apply":"Toepassen","back":"Terug","cancel":"Annuleren","change":"Wijzigen","change_one":"","change_other":"","clear":"Leegmaken","configure":"Configureren","continue":"Doorgaan","continueWithoutSaving":"Doorgaan zonder wijzigingen op te slaan","copy":"Kopi\xebren","create":"Aanmaken","download":"Download","duplicate":"Dupliceren","edit":"Bewerken","export":"Exporteren","fullScreen":"Volledig scherm","message":"Bericht","ok":"Ok","open":"Openen","pending":"Lopend","published":"Gepubliceerd","rearrangeBoxes":"","refresh":"Vernieuwen","remove":"Verwijderen","rename":"Naam wijzigen","replace":"Vervang","save":"Opslaan","saveWarningText":"Voordat je doorgaat, dien je eventuele wijzigingen op te slaan. Wil je deze wijzigingen opslaan?","saveWarningTitle":"Wijzigingen opslaan?","select":"Selecteren","selectOne":"Selecteer \xe9\xe9n","showBoxes":"","sort":"Sorteren","submitChanges":"Wijzigingen doorvoeren","submitQuestionComment":"Verzend vraag/opmerking","undo":"Ongedaan maken"},"angle":{"":"","_back":"Achter","_closeup1":"Close-up 1","_closeup2":"Close-up 2","_closeup3":"Close-up 3","_front":"Voor","_left":"Links","_other":"Anders","_right":"Rechts"},"archived":{"archive":"Archiveren","archived":"Gearchiveerd","articleArchived":"Dit artikel is gearchiveerd","collectionArchived":"De collectie werd gearchiveerd","notArchived":"Niet gearchiveerd","remove":"Verwijder uit archief"},"article":{"articleMonitoring":"Bestelpunt","configureAndAdd":"Configureren en toevoegen aan winkelwagen","deleteWarning":"Weet je zeker dat je het artikel {{name}} wilt verwijderen?","description":"Hier kun je bij je items die je hebt gekocht in de transferwinkel","filters":"","filters_archived":"Gearchiveerd","filters_category":"Categorie","filters_products":"Producten","filters_status":"Status","filters_stock":"Voorraad","new":"Nieuw artikel","noHitsContent":"Geen artikelen gevonden met de huidige zoekcriteria","noHitsHeader":"Geen resultaten gevonden","notDefined":"Niet gedefinieerd","orderMonitoringMinNum":"Min. voorraadsaldo","show":"Toon artikelen","submitApproval":"Indienen voor goedkeuring"},"assortment":{"category_one":"Categorie","category_other":"Categorie\xebn"},"bookmark":{"noPages":"Momenteel zijn er geen pagina\'s toegevoegd","pages":"Pagina\'s","pagesAndTools":"Pagina\'s & Tools","saveAsFavorite":"Opslaan als favoriet","tools":"Tools"},"brightness":{"dark":"Donker","light":"Licht"},"calendar":{"agenda":"Agenda","allDay":"Hele dag","date":"Datum","day":"Dag","event":"Gebeurtenis","events":"Gebeurtenissen","importantDates":"Belangrijke Data","month":"Maand","next":"Volgende","noEventsInRange":"Er zijn geen gebeurtenissen in dit bereik.","previous":"Terug","previousEvents":"Vorige Gebeurtenissen","previousYear":"Vorig Jaar","showAsCalendar":"Weergeven als kalender","showAsList":"Weergeven als lijst","time":"Tijd","today":"Vandaag","tomorrow":"Morgen","week":"Week","workWeek":"Werkweek","year":"Jaar","yesterday":"Gisteren"},"campaign":{"code":"Campagne code","error":"Ongeldige code"},"cart":{"addVariation":"Andere kleur toevoegen","add_one":"Toevoegen aan winkelmandje","add_other":"Producten aan winkelmandje toevoegen","addressSelected_one":"","addressSelected_other":"","agreementInfo":"We delen nooit je e-maildres of andere persoonlijke informatie met derden.","allowSplit":"Deellevering toestaan?","cart":"Winkelmandje","checkout":"Bestelling plaatsen","checkout_request":"Aanvraag voor bestelling indienen","chooseQuantity":"Kies aantal","configureCheckout":"","continueShopping":"Verder winkelen","createOffer":"Maak Offerte","created":"Winkelmandje aangemaakt","depositToStock":"","depositToStockMinText":"","discount":"Korting","doPayment":"Betaling autoriseren","empty":"Je winkelmandje is leeg","emptyDo":"Winkelmandje leegmaken","emptyFavourite":"Favoriete producten weergeven","errorCouldNotCalculateRow":"Er was een probleem bij het bevestigen van uw unieke prijzen. Als beschikbaar, wordt de laatst bekende productprijs weergegeven.","errorCouldNotCalculateTotal":"Er was een probleem bij het bevestigen van uw unieke prijzen en het totale orderbedrag. U kunt nog steeds een bestelling plaatsen en uw prijzen zullen op uw orderbevestiging staan.","errorInvalidProducts":"Sommige producten zijn niet compatibel in dezelfde bestelling. De ongeldige producten blijven in het winkelmandje maar worden niet opgenomen in de huidige bestelling.","errorInvalidSku":"FOUTMELDING: dit artikel bestaat niet.","errorSelectReseller":"Gelieve een doorverkooppunt te selecteren","favourite":"Jouw favoriet","minAmount":"","minOrderQty":"Minimale bestelhoeveelheid","minOrderQtyInfo":"Als je het aantal wilt verlagen, moet je eerst meer toevoegen aan een andere maat.","new":"Nieuw winkelmandje","noFavourite":"Geen favorieten","orderAndDelivery":"Bestelling en levering","payment":"Betaling","paymentCancelled":"De betaling werd geannuleerd","paymentError":"Fout bij betalen","paymentrefused":"Betaling werd geweigerd","qtyAdjustedByArticleQuantity":"Let op! Het aantal overschrijdt de voorraad van het artikel en het winkelmandje wordt aangepast.","quantity":"Hoeveelheid","quickAdd":"Snel bestellen","removeVariation":"Kleur verwijderen","saveToArticles":"","saveToCart":"Opslaan in winkelmandje","specification":"Prijs specificatie","startShopping":"Begin met bestellen of gebruik de snelle toevoeging hieronder om producten toe te voegen.","swishButton":"Open Swish","swishInfo":"Om je bestelling te voltooien, scan de QR-code in de Swish-app.","toCart":"Naar winkelmandje","toastDismissNoOption":"Nee","toastDismissText":"Wil je meldingen uitschakelen wanneer je winkelmandje wijzigt?","toastDismissYesOption":"Ja, uitshakelen","totalSkus":"Totaal","validationErrorHigher":"Te veel producten toegevoegd","validationErrorLower":"Te weinig producten toegevoegd","warnNoStockAfterTransaction":"","warningCancelPayment":"Betaling geannuleerd. Probeer het opnieuw.","warningOrderDisabled":"Orderplaatsingsautorisatie ontbreekt. Neem contact op met de klantenservice.","warningPriceOverride":"","warningPriceOverrideEnabled":""},"cartFee":{"admin":"Admin.kosten","freight":"Transportkosten","insurance":"Verzekeringskosten","invoice":"Factuurkosten","postage":"Verzending","shipping":"Verzendkosten"},"collection":{"collection_one":"Collectie","collection_other":"Collecties","deleteWarning":"Weet je zeker dat je de collectie {{name}} wilt verwijderen?","description":"Hier zijn je collecties van verfijnde producten.","noContent":"Begin met het verfijnen van producten!","noHitsContent":"Geen collecties gevonden met de huidige zoektermen","noSkuWarning":"De volgende items hebben geen hoeveelheid en worden verwijderd: ","refinementsRemovedWarning":"De volgende verfijningen worden alleen toegepast op dit item en worden ook verwijderd: ","show":"Toon collecties","upgrade_product":"Verfijn product","variations_one":"Variant","variations_other":"Varianten"},"color":{"color_one":"Kleur","color_other":"Kleuren","errorNotEnough":"Selecteer minimaal \xe9\xe9n kleur.","errorTooMany":"Te veel kleuren voor de geselecteerde decoratietechniek. Verwijder / combineer kleuren of kies een decoratietechniek die meer kleuren ondersteunt.","interpretedByTool":"ge\xefnterpreteerd door de tool","interpretedFromFile":"uit uw bestand","interpretedTitle":"Geselecteerde PMS-kleuren","toolInterpretedColors":"De tool heeft de volgende kleuren gedetecteerd:","warnInterpreted":"Let op! De kleuren in de afbeelding zijn automatisch door de tool gedetecteerd en kunnen vari\xebren op verschillende schermen. Controleer zorgvuldig of de kleurcodes correct zijn ingesteld.","warningAutoBackingColorApplied":"Geplaatst op een niet-wit kledingstuk. Achtergrondkleur toegepast.","warningAutoBackingColorNone":"Geen achtergrondkleur."},"colors":{"amber":"Amber","blue":"Blauw","blueGrey":"Grijsblauw","brown":"Bruin","cyan":"Cyaanblauw","deepOrange":"Diep oranje","deepPurple":"Dieppaars","green":"Groen","grey":"Grijs","indigo":"Indigo","lightBlue":"Lichtblauw","lightGreen":"Lichtgroen","lime":"Lime","orange":"Oranje","pink":"Roze","purple":"Paars","red":"Rood","teal":"Teal","yellow":"Geel"},"confirmation":{"remove":"Verwijderen"},"contact":{"address":"Adres","city":"Stad","company":"Bedrijf","companyNumber":"Bedrijfsidentificatienummer","companyText":"Bedrijfstekst","contactName":"Naam contactpersoon","contactUs":"Contacteer ons","country":"Land","customerContact":"Contactinformatie Customer Support","customerContactUs":"Contacteer ons","customerSupport":"Customer Support","email":"E-mail","firstName":"Voornaam","lastName":"Familienaam","name":"Naam","phone":"Telefoonnummer","postalCode":"Postcode"},"error":{"cellRowCol":"Rij {{row}}, kolom ({{col}}):","code":"","code_InvalidFormat":"Ongeldig formaat.","code_NoValue":"Geen waarde opgegeven.","code_ToLong":"Invoer te lang.","error":"Foutmelding!","general":"Er ging iets mis. Probeer opnieuw of contacteer onze Customer Support."},"excel":{"activeConfiguration":"Actieve configuratie","browserExport":"Het bestand wordt gegenereerd. Dit kan enkele minuten duren, afhankelijk van de hoeveelheid te exporteren data.","columnRemovalDescription":"Bij overschakeling naar een lager exportniveau worden sommige kolommen verwijderd. Wilt u doorgaan?","columnRemovalNo":"Nee, behoud kolommen","columnRemovalTitle":"Exportniveau wijzigen","columnRemovalYes":"Ja, verwijder kolommen","columns":"Kolommen","customerPriceDate":"","download":"Download Excel-bestand","downloadCancelled":"Download geannuleerd","emailExport":"Het bestand wordt gegenereerd en wordt naar uw e-mail verzonden zodra het klaar is. Dit kan enkele minuten duren, afhankelijk van de hoeveelheid te exporteren data.","excel":"Excel","exportLevel":"Exportniveau","failedLoadPreset":"Laden van voorinstelling mislukt","failedLoadPreview":"Laden van voorbeeldgegevens mislukt","generate":"Stuur Excel-bestand naar e-mail","languages":"Talen","name":"Naam","noConfigurations":"Er zijn geen opgeslagen configuraties","noLanguage":"Uw standaardtaal zal worden gebruikt","savedConfiguration_one":"Opgeslagen configuratie","savedConfiguration_other":"Opgeslagen configuraties","tabs":"Groeperen in Excel-tabbladen per kolom","toggleConfiguration":"Klik op een configuratie om deze in- of uit te schakelen","units":"Eenheden"},"export":{"added":"Toegevoegd aan export","chosen_product":"Gekozen product voor export","chosen_products":"Gekozen producten voor export","fileExportCompleted":"","fileExportFailed":"","images":"Afbeeldingen","price":"Prijs","product":"Product","removed":"Verwijderd uit export","search_in":"Zoeken in","sku":"SKU","thresholdWarning":"","variation":"Kleuren","various_search":"Zoeken in meerdere categorie\xebn"},"file":{"allowedType":"Toegelaten bestandstypes","attachments":"Bijlagen","dragAndDropOrBrowse":"","draggingSingleText":"Sleep een bestand hier om het te uploaden","draggingText":"Sleep uw bestanden hier om ze op te laden.","file_other":"Bestanden","filename":"Bestandsnaam","none":"Er werden nog geen bestanden opgeladen. Laad een bestand op!","processFileError":"Kon het bestand niet verwerken.","processFileErrorFileSize":"Het bestand kan niet worden ge\xfcpload; het overschrijdt de maximale toegestane grootte van {{value}}MB.","processingFileUpload":"Bestand wordt verwerkt...","supported":".jpg, .jpeg, .png, .gif, .pdf en .svg. Max 5Mb."},"filter":{"filter":"Filter","filter_accessories":"Accessoires","filter_activity":"Activiteit","filter_brand":"Merk","filter_care":"Wasvoorschriften","filter_category":"Categorie","filter_certification":"Certificatie","filter_color":"Kleur","filter_designer":"Ontwerper","filter_feature":"Feature","filter_female":"Dames","filter_fit":"Pasvorm","filter_gender":"Gender","filter_male":"Heren","filter_material":"Materiaal","filter_neckline":"Type Hals","filter_other":"Filters","filter_outlet":"Outlet","filter_range":"Range","filter_retail":"","filter_season":"Seizoen","filter_sleeve":"Type Mouw","filter_theme":"Thema","filters":"Filters"},"general":{"add":"Toevoegen","agreeTo":"Ik ga akkoord met","all":"Alle","auto":"Automatisch","basis":"Basis","cantChange":"Kan niet worden gewijzigd","changed":"Gewijzigd","close":"Sluiten","collapseAll":"Samenvouwen alle","columns":"Kolommen","comment":"Opmerking","commentSet":"Opmerking toevoegen","compact":"Compact","created":"Aangemaakt","custom":"Aangepast","description":"Beschrijving","dontShowAgain":"Niet opnieuw tonen","email":"E-mail","endDate":"Einddatum","enterPassword":"Voer het wachtwoord in om door te gaan.","expand":"Uitvouwen","expandAll":"Uitvouwen alle","expires":"","favourites":"Favorieten","font":"","full":"Volledig","hide":"Verbergen","hideAllPages":"Alle pagina\'s verbergen","language":"Taal","limitedToCharacters":"Beperkt tot {{characters}} tekens.","limitedToInteger":"Beperkt tot getallen.","limitedToLetters":"Beperkt tot letters.","limitedToLettersUpper":"Beperkt tot hoofdletters.","log":"Logboek","logotype":"Logotype","maintenance":"Belangrijke informatie! Vanwege gepland onderhoud zal ons bedrijfssysteem vanaf ongeveer 8:00 uur op 13 april niet beschikbaar zijn. We verontschuldigen ons voor eventuele ongemakken en informeren u dat de website tijdens deze periode niet normaal zal functioneren. We verwachten binnen enkele uren terug te keren naar normale bedrijfsvoering en waarderen uw geduld.","mandatory":"Verplicht","minimize":"Minimaliseren","name":"Naam","new":"Nieuw","no":"Nee","none":"Geen","notifications":"Meldingen","password":"Wachtwoord","readMore":"Lees meer","safety":"Veiligheid","saveAndClose":"Opslaan en sluiten","selected":"Geselecteerd","settings":"Instellingen","show":"Weergeven","showAllPages":"Alle pagina\'s weergeven","show_all":"Alles weergeven","show_less":"Minder weergeven","show_more":"Meer weergeven","skipToContent":"Naar inhoud gaan","standard":"Standaard","startDate":"Startdatum","status":"Status","subTitle":"Ondertitel","summary":"Samenvatting","tag_one":"Label","tag_other":"Labels","terms":"Algemene voorwaarden","text":"Tekst","text_other":"Teksten","thankYou":"Dank je","title":"Titel","to":"Naar","tools":"Tools","total":"Totaal","type":"","updated":"Bijgewerkt","url":"Url","view":"Bekijken","weOffer":"Wij bieden","yes":"Ja"},"image":{"angle_one":"Aanzicht","angle_other":"Aanzichten","environment":"Omgeving","image_one":"Afbeelding","image_other":"Afbeeldingen"},"invoice":{"address":"Facturatieadres","credit":"Creditnota","invoice_one":"Factuur","invoice_other":"Facturen"},"logoAppTools":{"asset":"Bestand opladen"},"microshop":{"CustomerNumberSecurityInfo":"Beveiligingsoptie moet worden geactiveerd.","accentColor":"Accentkleur","activate_units":"","addAddon":"Accessoires toevoegen","addCategory":"Categorie toevoegen","addMasterDeliveryAddress":"","addNewUsers":"Nieuwe gebruikers toevoegen","addUnit":"Nieuwe eenheid toevoegen","addons":"Accessoires","administrator":"Beheerder","agreement":"Overeenkomst","allProducts":"Alle producten","alternativeUnitCertifier":"Alternatieve certificeerder","approval":"","assortment":"Assortiment","assortmentAvailableVariationsAdded":"","backgroundImage":"Achtergrondafbeelding","bodyFont":"Lettertype hoofdtekst","budget":"Budget","budget_approval":"","cancelMasterOrderWarning":"Weet je zeker dat je de hoofdbestelling {{masterOrder}} wilt annuleren?","cantDeleteWarning":"Je hebt lopende bestellingen en/of hoofdbestellingen deze kunnen niet worden verwijderd.","categoryExists":"Er bestaat al een categorie met die naam, kies een andere naam","changeOwner":"Eigenaar wijzigen","changeTo":"Wijzigen naar","column":"Kolom","confirmDelete":"Bevestig verwijdering","confirmMasterOrder":"Bevestig hoofdbestelling","content":"Inhoud","copyShop":"Instellingen kopi\xebren van bestaande microshop","create":"Nieuwe microshop maken","createMasterOrder":"Maak hoofdbestelling aan van geselecteerde bestellingen","createUser":"Nieuwe gebruiker aanmaken","currency":"Valuta","currentOwner":"Huidige eigenaar","custom":"aangepast","customerInputNone":"Geen","customerInputNumber":"Getal","customerInputText":"Tekst","customerInputType":"Input klant","databaseError":"Databasefout","deleteProduct":"Product verwijderen","deleteSelectedOrder":"Geselecteerde bestellingen verwijderen","deleteUnit":"Eenheid verwijderen","deleteUnitWarning":"Als je je account verwijdert, worden al je gegevens permanent verwijderd, inclusief alle gebruikers, je instellingen en alle door jou gemaakte content. Deze actie kan niet ongedaan worden gemaakt.","deleteWarning":"Weet je zeker dat je de microshop {{name}} wilt verwijderen?","departmentUnit":"afdeling/eenheid","descOptionCombine":"Combineer","descOptionDefault":"Standaard","direct_orders":"","disable_units":"","displayOptions":"","emailWarning":"Ongeldig e-mailadres. Controleer op typefouten, spelfouten en of het e-mailadres bestaat in de geselecteerde microshop.","emptyAssortments":"Geen assortiment om uit te kiezen","emptyProducts":"Geen producten gevonden","error":"Er is een fout opgetreden!","excelTemplate":"Excel-sjabloon","excelTemplateDescription":"U kunt het bijgevoegde voorbeeld downloaden en gebruiken als uitgangspunt voor uw eigen bestand.","files":"Bestanden","filesUploaded":"Bestand(en) ge\xfcpload en opgeslagen","footColor":"Kleur voetregel","footer":"Voettekst","freeShipping":"Gratis verzending boven bedrag","general":"Algemeen","handleProductsSettings":"Beheer prijzen, extra\'s en categorie\xebn","headerFont":"Lettertype koptekst","import":"Importeren","individual":"Individueel (SEK)","input":"Invoer","invalidUrl":"Url is al in gebruik of bevat een punt, kies een andere url","legalNotice":"Juridische kennisgeving","lightnessColor":"Lichtheid","logotype":"Logotype","look":"Look & feel","mainColor":"Hoofdkleur","main_orders":"","many_size_products":"","masterOrder":"","microshop":"Microshop","microshop_other":"Microshops","missingEmail":"E-mail ontbreekt","missingMicroshop":"Microshop ontbreekt","missingShopUnitName":"ShopUnitName ontbreekt","missingUser":"Gebruikers ontbreken","new_unit":"Nieuwe Eenheid","noFilters":"Geen filters om uit te kiezen","noHitsContent":"Er werden geen microshops gevonden op basis van de huidige zoekcriteria","noMicroshopFound":"Geen microshop gevonden","noOrders":"Geen bestellingen","noOrdersExplanation":"Je shop bevat geen {{orderText}}.","noUserDescription":"Maak hier nieuwe gebruikers aan of importeer!","noUsers":"Nog geen gebruikers","notificationOptionDaily":"Dagelijks overzicht","notificationOptionInstant":"Directe e-mail","notificationOptionNone":"Geen","notificationsTitle":"Meldingen bij bestellingen","one_size_product":"","orderDeleteWarning":"Weet je zeker dat je deze bestelling wilt verwijderen?","orderPrices":"Bestellen & prijzen","order_flow":"","ordered":"Besteld","orderrNotificationExplanation":"E-mail wordt verzonden naar {{email}}","ordersDeleteWarning":"Weet je zeker dat je de geselecteerde bestellingen wilt verwijderen?","pendingOrders":"Lopende bestellingen","points":"punten","priceModel":"Prijsmodel","priceOptionFixed":"Vaste prijs","priceOptionNone":"geen","priceOptionRetail":"Gebaseerd op de retailprijs","privacyPolicy":"Privacybeleid","productAddImages":"Afbeeldingen toevoegen","productName":"Productnaam","productNumber":"Productnummer","productQuantity":"Aantal","readyForImport":"Het bestand is klaar voor import. Ga verder door op \'Importeren\' te klikken.","refinementsAndAddons":"Decoratietechnieken & accessoires","requiresattestation":"Vereist attestatie","retailModifier":"Retail prijs ratio","retailPrice":"Retail prijs","retailPriceExplanation":"Elk product dat aan de shop wordt toegevoegd, krijgt een prijs op basis van de retailprijs van het product. De prijs wordt vermenigvuldigd met het hieronder opgegeven aantal.","role":"Rol","row":"Rij","saved":"Je wijzigingen zijn opgeslagen","securityOptionNone":"Geen beveiliging","securityOptionRegister":"Registreren met account","securityOptionSecregAndRegister":"Registreren en algemeen wachtwoord","securityOptionSecret":"Algemeen wachtwoord","security_protection":"","settings":"Instellingen","standard":"standaard","standardPrice":"Standaard prijsberekening","totalCustomer":"Totale kosten, klant","unit":"Eenheid","unitBudgetDepartment":"Afdeling (SEK)","unitCertifier":"Certificeerder","unitDeleteWarning":"Weet je zeker dat je de geselecteerde eenheid wilt verwijderen?","unitName":"Naam","unitWithChildrenDeleteWarning":"Je staat op het punt om de eenheid \'{{unitName}}\' en alle onderliggende eenheden te wissen. Deze actie kan niet ongedaan worden gemaakt. Wil je doorgaan met de verwijdering?","units":"Eenheden","units_other":"","uploadDone":"Upload is voltooid!","uploadedFile":"Ge\xfcpload bestand","userInformation":"Informatie","value":"Waarde","variationExists":"","vatExcluded":"","vatIncluded":"","vatIsIncluded":"BTW is inbegrepen in de prijzen","vatNotIncluded":"BTW is niet inbegrepen in de prijzen","visitShop":"Bezoek de shop","welcomeMessage":"Welkomstbericht","zeroContentAddons":"Er zijn geen accessoires voor de shop, maak add-ons aan onder het tabblad \\"Bestellingen en prijzen\\".","zeroContentText":"Zoek producten of kies een categorie om producten toe te voegen aan jouw assortiment.","zeroContentTitle":"Geen geselecteerde producten."},"microshopUploadErrorCodes":{"databaseError":"","invalidEmailFormat":"Ongeldig e-mailformaat","invalidIsAttestantValue":"Ongeldige isAttestant-waarde","invalidManageBudgetValue":"Ongeldige manageBudget-waarde","invalidRequiresAttestationValue":"Ongeldige requiresAttestation-waarde","invalidRoleValue":"Ongeldige rolwaarde","missingMicroshop":"Ontbrekende microshop","missingOrIncorrectHeaders":"Ontbrekende of onjuiste headers","missingShopUnits":"Ontbrekende winkeleenheden","missingUsers":"Ontbrekende gebruikers","noDataInFile":"Geen gegevens in bestand","noFileSelected":"Geen bestand geselecteerd","noRowsInFile":"Geen rijen in bestand"},"navigation":{"allIn":"Toon alles in","history":"Geschiedenis","onThisPage":"Op deze pagina","page":"Pagina","promoted":"Geselcteerd","start":"Startpagina","toTop":"Naar boven"},"news":{"new_one":"Nieuw","new_other":"Nieuws","showAll":"Toon alle nieuwsberichten"},"newsletter":{"subscribed":"Ingeschreven!"},"offer":{"additionalCost":"Bijkomende kosten","additionalCosts":"Bijkomende kosten","confirmOffer":"Bevestig offerte","daysBeforeReminder":"Aantal dagen voor herinnering","discount":"Korting","discountInfo":"Biedt de mogelijkheid om een procentuele korting in te stellen.","editName":"Naam wijzigen","expires":"Vervaldatum","margin":"Marge","marginInfo":"Biedt de mogelijkheid om een procentuele marge in te stellen.","noProductInfo":"Voeg producten toe","offerPage":"Offerte pagina","offerPrice":"Offerteprijs","offer_one":"Offerte","offer_other":"Offertes","otherTerms":"Voorwaarden van andere offertes","publicOffer":"Openbare offerte","remove":"Offerte verwijderen","removeConfirmation":"Weet je zeker dat je deze offerte wilt verwijderen?","removePublicUrlAlert":"Openbare offerte verwijderen?","removePublicUrlAlertConfirm":"Ja, verwijder.","removePublicUrlAlertContent":"Wil je de openbare link voor offerte {{name}} verwijderen?","shareOffer":"Offerte delen","visitors":"Bezoekers","warnExternalCustomerMissing":""},"order":{"addNewAddress":"Nieuw adres toevoegen","adjustment":"Aanpassing","allOrdersLast30Days":"","createDelivery_one":"Levering aanmaken","createDelivery_other":"Leveringen aanmaken","createOrder":"Bestelling invoeren","createRepeatOrder":"Nabestelling invoeren","createdDeliveries":"Aangemaakte leveringen","creditType":"Creditorder","customerDetails":"Klantgegevens","deleteWarning":"Weet je zeker dat je de bestelling {{name}} wilt verwijderen?","deliveryAsc":"Oplopende verzenddatum","deliveryDate":"Verzenddatum","deliveryDesc":"Aflopende verzenddatum","deliveryNote":"Afleveringsbon","deliveryNoteNumber":"Afleveringsbon nummer","deliveryType":"Levering type","downloadDeliveryNote":"Download afleveringsbon","downloadExcel":"Download Excelbestand","entire":"Bv ordernummer, referentie e.d","entirePartnerOrders":"Bijv. ordernummer, leveringsnaam, e-mail, etc.","handleAddresses":"Adressen beheren","handleAddressesAndDeliveries":"Adressen en leveringen beheren","history":"Bestelgeschiedenis","infoMessage_boxDesign_partnerOverview":"","lastOrder":"Laatste bestelling","masterOrder_other":"Hoofdbestellingen","noHitsContent":"Opgelet: geef je volledige ordernummer in om te zoeken!","noHitsHeader":"Geen resultaten","noOrdersLast30Days":"","notes":"Mijn aantekeningen","orderNumber":"Ordernummer","order_one":"Partner","order_other":"Bestellingen","packageLabel":"Verpakkingslabel","partner_one":"","paymentType":"Betaling","placed":"Je bestelling is met succes geplaatst.","placedBy":"Geplaatst door","reference":"Order referentie","refinementType":"Upgrading order","removeAddressText":"Wil je het adres en de bijbehorende leveringen verwijderen?","removeAddressTitle":"Verwijder adres en leveringen?","removeAddressYesOption":"Ja, verwijder adres","repeat":"R\xe9current","sendOrderDocument":"","setPublicOrderAsCompletedDescription":"Dit bevestigd de bestelling en er kunnen geen extra leveringen worden toegevoegd. Er wordt een bericht verzonden naar de klant.","setPublicOrderAsCompletedTitle":"Ben je zeker dat je de order wilt bevestigen?","setPublicOrderAsCompletedYesOption":"Ja, bevestigen","showEditArticles":"Toon/wijzig artikelen ({{count}})","skuEditorDisabledTitle":"Een order kan enkel leveringen bevatten als het in productie is. In deze modus kunnen enkel afleveradressen worden gewijzigd.","status":"Orderstatus","statusCreated":"Aangemaakt","statusFailed":"Mislukt","statusPlaced":"Geplaatst","system":"","table":"Bestellingstafel","thankYou_message_customerApproval":"We hebben uw antwoord ontvangen en nemen binnen 24 uur contact met u op. Als u vragen heeft, stuur ons dan hierboven een bericht!","thankYou_message_rejectToCustomer":"We hebben uw aanvulling ontvangen en nemen binnen 24 uur contact met u op. Als u vragen heeft, stuur ons dan hierboven een bericht!","track":"Volg je bestelling","type":"Ordertype","viewOrders":"Bekijk en beheer bestellingen.","wrongPasswordTryAgain":"Het door u ingevoerde wachtwoord is onjuist. Probeer het opnieuw."},"orderstatuses":{"approved":"Goedgekeurd","awaitingCustomer":"In afwachting van klant","customerChanges":"Klantwijzigingen","customerRejected":"","deliveryChanged":"Levering gewijzigd","expressOrder":"Spoedbestelling","inProduction":"In productie","pinned":"Vastgezet","rejected":"Afgewezen","unhandled":"Niet afgehandeld"},"orientation":{"landscape":"Liggend","orientation":"Beeldori\xebntatie","portrait":"Staand"},"part":{"all":"Alle onderverdelingen","part":"Deel","partQty":"Aantal in deel","partSizes":"Maak onderverdeling"},"pdf":{"aboutUsPage":"Over ons","careCertPage":"Legende: Wasvoorschriften / Certificaties","careInstructions":"Wasvoorschriften","certifications":"Certificaties","content":"Inhoud","coverPage":"Omslagpagina","description":"Omschrijving","download":"Download PDF","fabrics":"Materialen","fullPage":"Volledige pagina","offerItemPrice":"Offerteprijs","offertPage":"Offerte","pdf":"PDF","pdfLoading":"Een ogenblik geduld terwijl we je document voorbereiden","preview":"Voorbeeld","productPage":"Producten","quantity":"Aantal","recommendedPrice":"Adviesprijs","refinementPage":"Personalisatiepagina","sizeGuides":"Maattabellen","tableOfContent":"Inhoudstabel","terms":"Voorwaarden","termsTitle":"Voorwaarden","titlePage":"Titelpagina","warnCareWithRefinement":"Van zodra een artikel gepersonaliseerd wordt, zijn de originele wasvoorschriften niet meer van toepassing!","weight":"Gewicht"},"pdfImages":{"environmentImages":"Omgevingsbeelden","errorRequestSent":"Er is een technische fout opgetreden en we kunnen de afbeeldingen niet voor download klaarmaken. Neem contact op met de klantenservice.","failedLoadPreview":"Kon voorbeeldgegevens niet laden","highResolution":"4000px (Hoge resolutie)","imageAltText":"","imageResolution":"Beeldresolutie","loadPreview":"Producten laden, even geduld...","noProducts":"Geen producten","preferredFileType":"","preview":"1000px (Voorbeeld)","productImages":"Productafbeeldingen","sendEmail":"E-mail versturen","showAll":"Alle afbeeldingen weergeven","standardResolution":"","sucessRequestSent":"We bereiden de afbeeldingen voor in een zip-bestand en sturen deze naar uw e-mail, dit kan enkele minuten duren.","thumbnail":"200px (Miniatuur)","webpInfo":""},"placement":{"":"","_Button1":"Knoop 1","_Button2":"Knoop 2","_Button3":"Knoop 3","_Button4":"Knoop 4","_Button5":"Knoop 5","_ChestPocketLeft":"Borstzak links","_ChestPocketRight":"Borstzak rechts","_Front":"Vooraan","_Generic":"Algemeen","_InnerSide":"Binnenkant","_Left":"Links","_OuterSide":"Buitenkant","_Right":"Rechts","_SidePocketLeft":"Zijzak links","_SidePocketRight":"Zijzak rechts","_SleeveLeft":"Linkermouw","_SleeveRight":"Rechtermouw"},"pmsColorPicker":{"inactivateColor":"Kleur deactiveren","searchPlaceHolder":"PMS-kleur","searchZeroContent":"Geen PMS-kleur gevonden voor deze zoekopdracht"},"price":{"amount":"Bedrag","amountIncVat":"Bedrag (incl. btw)","applyCustomer":"Toepassen partnerprijs","customer":"Partnerprijs","customerPrice":"","latestPrice":"Laatste prijs","noPrice":"Prijs niet beschikbaar","orderpricelist":"Prijslijst bestelling","price":"Prijs","priceSt":"Prijs / stuk","priceSuggestion":"Prijsvoorstel","pricelists":"Prijslijsten","prices":"Prijzen","purchasePrice":"Aankoopprijs","regular_short":"Prijs","retail":"Retailprijs","retailAndCustomer":"Retailprijs & Partnerprijs","rrp_long":"Aanbevolen prijs","rrp_short":"Adviesprijs","selectedArticle":"Geselecteerd product","selectedRefinement":"Geselecteerde decoratietechniek","showNoPrice":"Geen prijzen tonen","subTotal":"Subtotaal","tiered":"Staffelprijs","totalCart":"Samenvatting","totalValue":"Totale waarde","total_exVat":"Totaal (excl. BTW)","total_incVat":"Totaal (incl. BTW)","vat":"BTW","vatConsumer":"BTW"},"product":{"_capacity":"Capaciteit","_closure":"Type sluiting","_colorComment":"Kleur informatie","_country":"Land","_designer":"Ontwerper","_diameter":"Diameter","_fabrics":"Materiaal","_gender":"Geslacht","_height":"Hoogte","_hoodDetails":"Capuchondetails","_length":"Lengte","_limitedEdition":"Limited Edition","_measure":"Maten","_neckline":"Halslijn","_packaging":"Verpakking","_pockets":"Zakken","_presentationDate":"Presentatiedatum","_printCode":"Printcode","_sleeve":"Mouw","_techniqueComment":"Techniek informatie","_volume":"Volume","_weight":"Gewicht","_width":"Breedte","add":"Product toevoegen","addRemove":"Producten toevoegen/verwijderen","approveArticles":"Artikelen goedkeuren","articleNumber":"Artikelnummer","article_one":"Artikel","article_other":"Artikels","care":"Wasvoorschriften","certificates":"Certificaten","colors":"kleuren","composition":"Samenstelling","document":"Document","downloadImage":"Afbeelding downloaden","downloadImages":"Alle afbeeldingen downloaden","features":"Kenmerken","info":"Productinformatie","missingSkus":"Ontbrekende artikelen","name":"Naam","noProducts":"Geen producten","orderDifference":"Order verschil","pdfDownload":"Downloaden als PDF","product_one":"Product","product_other":"Producten","products":"Producten","related":"Gerelateerde producten","relatedGender":"Ook beschikbaar als","related_short":"Verwant","replacement":"Alternatief","search":"Zoek product","searchPlaceholder":"Bijv. productnummer of naam","searchPlaceholderProduct":"Bijv. productnummer of naam","show":"Producten weergeven","showLessColors":"Minder kleuren weergeven","transfer":"Overdragen","unwantedSkus":"Onbekende artikelen"},"productAddImagesAfter":"{{added}}/{{max}} (optioneel)","productTag":{"new":"Nieuw","newVariation":"Nieuwe kleur","outlet":"Outlet","outletVariation":"Kleur in uitverkoop","sustainable":"Duurzaam","upcoming":"Verwacht","upcomingVariation":"Nieuwe kleur verwacht"},"production":{"refinement_one":"Decoratietechnieken"},"proof":{"proof":"Correctie","proof_one":"Ontwerpvoorbeeld","proof_other":"Ontwerpvoorbeelden","service":""},"refinement":{"add":"Personalisatie toevoegen","addon":"Accessoires","addonVariations":"Variaties","articleAddedToDraftInfo":"","articleDraftSuggestionInfo":"","autoAdjustedPlacements":"Opgelet! De decoratietechniek werd ook op andere producten/aanzichten gewijzigd","awaitingDelivery":"Wachten op producten","awaitingDeliveryAction":"Levering","choose":"Kies decoratietechniek","colorBacking":"Achtergrond kleur","colorChange":"Kleur wijzigen","colorChangeColor":"","commentDescription":"Overige wensen","completed":"Producten verwerkt","completedAction":"Producten verwerkt","create":"Aanmaken decoratietechniek","createArticleDraft":"Cre\xeber artikel concept","createTextElement":"Tekstelement aanmaken","customerPublicOrderConfirmSubmit":"Bedankt! Customer Support zal nu je bestelling bekijken en een bericht sturen wanneer de deze is goedgekeurd.","customerPublicOrderInstructions":"Lees het bericht van Customer Support in het bijbehorende logboek. Klik hieronder om de configurator te openen, wijzigingen aan te brengen en op te slaan. Wanneer je klaar bent, klik je op verzenden en voeg je een opmerking toe. Als je verdere vragen hebt over de order of instructies mist, plaats dan gewoon een opmerking. Customer Support zal je wijzigingen snel bekijken en je wordt op de hoogte gebracht wanneer de order is goedgekeurd.","customerPublicOrderPriceWarning":"Opgelet! De items in het order zijn gewijzigd en er wordt een nieuwe orderbevestiging verzonden.","deliverNowAndOnwards":"Now and ongoing","deliverWhenInStock":"When all in stock","delivered":"Producten verzonden","deliveredAction":"Verzend producten","downloadPreviewImage":"Afbeelding downloaden","errorNoAvailableRefinements":"Geen decoratietechnieken mogelijk","expected":"Verwachte levering","fixedTextPlaceholder":"Uw tekst hier","inProgress":"In behandeling","invalidTransferAmount":"","latest":"","message":"Bericht","messages":"Berichten","minQuantityWarning":"Opgelet! Er geldt een minimum order van {{minQuantity}} {{articles}} om je reguliere prijs te zien. Daarom staat er een hogere stukprijs voor het geselecteerde aantal items.","mountings":"Aantal gebruikt","nameAndTags":"Naam en labels","new":"Aanmaken decoratietechniek","noSplitPlaceInfo":"","objectSizeChangedWarning":"De grootte van het object werd gewijzigd, controleer of de bovenstaande afmetingen correct zijn.","otherInformation":"Diversen","pin":"","placementDescription":"Hier specificeert u hoe uw personalisatie moet worden toegepast. Als u meer oppervlakken en locaties wilt zien, moet u extra personalisaties cre\xebren.","placement_one":"Positie","placement_other":"Posities","positionAutoAdjusted":"De afbeelding is automatisch aangepast aan een oppervlak. Klik op de magneet om deze functie uit te schakelen of gebruik de pijltjestoetsen om de afbeelding te verplaatsen.","proofFinalAcceptText":"Ik accepteer deze schets als definitief ontwerpbewijs. Er wordt geen extra bewijs naar mij verzonden voor deze offerte.","readyForInvoice":"Klaar voor facturatie","refinement_one":"Decoratietechniek","refinement_other":"Decoratietechnieken","reject":"Weigeren","rejected":"Geweigerd","rejectedAction":"Weigeren","review_proof":"Open en bekijk je proef hieronder","send":"Versturen","sendForReviewApprove":"","sender":"Afzender","sourceInfo":"","sourceInfo_Analysis":"Het systeem heeft de kleur ge\xefnterpreteerd.","sourceInfo_Custom":"De klant heeft de kleur zelf gekozen.","sourceInfo_File":"Het bestand heeft de kleur gedefinieerd.","startCost":"Startkosten","uploadFile":"Bestand opladen","userProof":"Gebruikersbewijs","variableTextPlaceholder":"Uw voorbeeldtekst hier","warnRepeatChanged":"Dit is een herhaalde decoratietechniek. Als u wijzigingen opslaat, is het geen herhaalbestelling meer en kunnen de prijzen veranderen."},"refinementsSelector":{"errorIncompatible":"Het bestand voldoet niet aan de vereisten voor de gekozen decoratietechniek: {{selectedProduct}}. Wil je de decoratietechniek wijzigen?","errorNoCompatible":"Het bestand voldoet niet aan de vereisten voor de toepasbare decoratietechnieken op dit artikel. Gebruik een ander bestand of neem contact met ons op voor meer hulp!","title":"Reeds gebruikte decoratietechniek toevoegen"},"reseller":{"change":"Wijzig dealer","errorNotFound":"We vinden geen dealer terug bij jou in de buurt. Kijk na of je adres klopt of zoek hieronder naar een dealer.","externalSupplier":"Externe leverancier","openHours":"Openingstijden","reseller_one":"Dealer","reseller_other":"","search":"Vind een dealer","searchAgreement":"Als je een samenwerking met ons hebt, zoek dan op basis van jouw bedrijfs-ID","showAllResellers":"Toon alle resellers","suggestionFrom":"We hebben een dealer voorgesteld op basis van","suggestionInfo":"Geef je adres in om een dealer bij jou in de buurt te vinden."},"salesBoard":{"salesBoard":"Salesboard","section":"Sectie","section_budget":"Budget","section_compare":"Vorige periode","section_leaderboard":"Leaderboard","section_topOrders":"Topbestellingen","section_topProducts":"Topproducten","section_totalValue":"Totale waarde","section_visits":"Bezoeken"},"search":{"empty":"Geen resultaten","search":"Zoeken"},"seller":{"customer":"Klant","customerShops":"Microshops klanten","customers":"Klanten","erpNumber":"Klantnummer","exportedFiles":"Ge\xebxporteerde bestanden","loggedInAs":"Aangemeld als","noCustomers":"Geen klanten toegevoegd","openAs":"Openen als","orderMonitoring":"Bestellingen volgen","orderMonitoringEmpty":"Je hebt nog geen klanten toegevoegd van wie je de bestellingen wilt opvolgen. Voeg hieronder klantennummers toe om deze te volgen.","orderMonitoringInfo":"Hier kan je de bestellingen van je klanten volgen. Telkens wanneer een klant een bestelling plaatst, ontvang je een melding via e-mail.","orderMonitoringNotificationInfo":"Meldingen worden verzonden naar: ","orderMonitoringRemoved":"Klant {{sub.customerName}}({{sub.customerCode}}) wordt niet langer opgevolgd.","partnerOverview":"Partner overzicht","selectCustomer":"Selecteer klant","seller":"Verkoper","signOutCustomer":"Klant afmelden","warnSellingDisabled":""},"shipment":{"address":"Afleveradres","addressesAndShipmentsTitle":"Afleveradressen en leveringen","date":"Verzenddatum","deliveryOptional_other":"Extra opties","deliveryQuantity":"Aantal leveringen","deliveryType":"Type levering","delivery_one":"Levering","delivery_other":"Leveringen","dispatchNote":"Verzendbevestiging","emailInfo":"Het opgegeven e-mailadres wordt gebruikt om de verzendbevestiging en/of een vereenvoudigde orderbevestiging (zonder prijzen) te versturen","info":"Verzendingsinfo","manualDelivery":"Handmatige levering","new":"Nieuw adres","packageLabel":"Verpakkingslabel","qtyArticles":"{{count}} artikelen","qtyShipments":"{{count}} leveringen","receiver":"Ontvanger","requestDate":"Geef de verzenddatum aan","requestDateChange":"Wil je de verzenddatum wijzigen?","requestedDate":"Gevraagde verzenddatum","sendTo_one":"Verzenden naar \xe9\xe9n adres","sendTo_other":"Verzenden naar meerdere adressen","shipment":"Zending","simplifiedOrderConfirm":"Vereenvoudigde orderbevestiging","tracking":"Volg je bestelling","trackingCarrier":"Vervoerder","trackingNumber":"Tracking nummer","trackingService":"Dienst","trackingUrl":"Tracking url","transportType":"Transportwijze","warningLongDelivery":"Opgelet: latere verzenddatum","yourOrderNumber":"Je ordernummer","yourReference":"Je referentie"},"size":{"allowedMinMax":"Toegestane grootte: {{min}}-{{max}}","large":"Groot","size":"Afmetingen","sizeguide":"Maattabel","small":"Klein"},"sort":{"relevance":"Relevantie"},"status":{"accepted":"Geaccepteerd","approved":"Goedgekeurd","approvedAction":"Goedkeuren","cancelled":"Geannuleerd","completed":"Bestelling afgewerkt","confirmed":"Bevestigd","confirmedAction":"Bevestigen","draft":"Concept","inproduction":"In productie","inprogress":"Onderweg","invoiced":"Gefactureerd","ok":"Ok","onhold":"In afwachting","processing":"In behandeling","rejected":"Geweigerd","save_error":"Er is een fout opgetreden bij het opslaan","saved":"Bewaard","unconfirmed":"Onbevestigd","unconfirmedAction":"Onbevestigd","waiting":"In afwachting"},"stock":{"box":"doos","enterQuantity":"Voer hoeveelheid in","estRefill":"Stockaanvulling verwacht op","global":"Wereldwijd","local":"Lokaal","min":"Min:","mounting":"Gebruiken","operation":"","operation_add":"Toevoegen aan voorraad","operation_order":"Direct bestellen","operation_withdraw":"Opnemen uit voorraad","pcs":"stuks","region":"Regio","rest":"Rest","stock":"Voorraad","stockAfterTransaction":"Voorraad na transacties"},"stockLevel":{"in":"Op voorraad","low":"Lage voorraad","no":"Geen voorraad","out":"Uit voorraad"},"template":{"copy":"Kopi\xebren van sjabloon","copyDescription":"Configuratie kopi\xebren van opgeslagen sjabloon. Dit vervangt uw huidige configuratie.","save":"Opslaan als sjabloon","saveDescription":"Huidige configuratie opslaan als sjabloon voor toekomstig gebruik in andere documenten.","template_one":"Sjabloon","warnRemove":"Weet u zeker dat u het sjabloon wilt verwijderen?","warnTemplateExist":"Er is al een sjabloon opgeslagen met deze naam. Dit zal het opgeslagen sjabloon overschrijven met de huidige configuratie."},"tool":{"noToolsOrServices":"Nog geen tools of services toegevoegd","toolsAndServices":"Mijn tools en services"},"unsavedWarning":{"no":"Nee, wijzigingen negeren","text":"Uw niet-opgeslagen wijzigingen worden genegeerd. Wilt u opslaan?","title":"Wijzigingen opslaan?","yes":"Ja, opslaan"},"user":{"anonymousUsers":"Anonieme gebruikers","customerErrorLong":"De klanteninformatie kan niet worden geladen. Probeer opnieuw.","customerErrorShort":"Er mist belangrijke informatie voor deze gebruiker","customerNumber":"Klantnummer","customerNumberError":"Voer het volledige klantnummer in","customerWarningLong":"De klant, gelinkt aan deze gebruiker, bestaat niet, of er mist belangrijke informatie over de gebruiker.","customerWarningShort":"Er is geen klant gelinkt aan deze gebruiker","notLoggedIn":"Geen gebruiker ingelogd","proceedAsAnonymous":"Anoniem verdergaan","refreshFailedText":"Om veiligheidsredenen bent u uitgelogd na een periode van inactiviteit.\\nDruk op \\"Opnieuw inloggen\\" om verder te gaan.","refreshFailedTitle":"Je bent niet langer ingelogd.","register":"Registreren","registeredUsers":"Geregistreerde gebruikers","salesContact":"Sales contact","signIn":"Inloggen","signInAgain":"Opnieuw inloggen","signInToOrder":"Log in om te bestellen","signOut":"Uitloggen","user_other":"Gebruikers","viewAccount":"Profiel bekijken"},"validation":{"allRequiredFields":"","email":"Ongeldig e-mailadres","fullNameMaxCharLimit":"Voornaam + Achternaam mogen niet meer dan {{maxLength}} tekens bevatten","maxCharacterLength":"Deze invoer overschrijdt de maximale limiet van {{maxLength}} tekens","maxLength_one":"Max {{max}} teken","maxLength_other":"Max {{max}} tekens","minCharacterLength":"Deze invoer is korter dan het vereiste minimum van {{minLength}} tekens","mustStartWith":"Waarde moet beginnen met een van de volgende:","noEmailFound":"Geen e-mail gevonden","phoneInvalid":"Ongeldig telefoonnummer","phoneLength":"Het telefoonnummer moet 8 of 16 cijfers lang zijn","required":"Verplicht","requiredAccept":"Gelieve te accepteren"},"variableText":{"inputDataUpdated":"","refinementRowTitle":"","refinementRowTitle_plural":"","validateErrorDesc":"De ge\xfcploade bestanden bevatten fouten. Corrigeer deze en probeer opnieuw.","validateErrorTitle":"{{count}} validatiefouten","validateErrorTitle_plural":"","validateSuccessDesc":"","validateSuccessTitle":""},"warning":{"attention":"Opgelet!","changesPartlyDisabled":"","note":"Let op!","refinementWarnings":"","showWarningTexts":""}}'),f=JSON.parse('{"action":{"actions":"Handlinger","add":"Legg til","apply":"S\xf8k","back":"Tilbake","cancel":"Kanseller","change":"Endre","change_one":"","change_other":"","clear":"T\xf8m","configure":"Konfigurer","continue":"Fortsett","continueWithoutSaving":"Fortsett uten \xe5 lagre","copy":"Kopier","create":"Opprett","download":"Last ned","duplicate":"Duplisere","edit":"Rediger","export":"Eksport","fullScreen":"Fullskjerm","message":"Beskjed","ok":"Ok","open":"\xc5pne","pending":"Venter","published":"Publisert","rearrangeBoxes":"","refresh":"Oppdater","remove":"Fjern","rename":"Gi nytt navn","replace":"Erstatt","save":"Lagre","saveWarningText":"Du m\xe5 lagre endringer f\xf8r du fortsetter. Vil du lagre?","saveWarningTitle":"Lagre endringer?","select":"Velg","selectOne":"Velg en","showBoxes":"","sort":"Sortere","submitChanges":"Bekreft endring","submitQuestionComment":"Bekreft sp\xf8rsm\xe5l/kommentar.","undo":"Angre"},"angle":{"":"","_back":"Bakside","_closeup1":"Closeup1","_closeup2":"Closeup2","_closeup3":"Closeup3","_front":"Fremside","_left":"Venstre","_other":"Annen","_right":"H\xf8yre"},"archived":{"archive":"Arkiv","archived":"Arkivert","articleArchived":"Denne siden er arkivert","collectionArchived":"","notArchived":"Ikke arkivert","remove":"Fjern arkiv"},"article":{"articleMonitoring":"Bestillingspunkt","configureAndAdd":"Konfigurerer og legg til handlekurv","deleteWarning":"Er du sikker p\xe5 at du vil slette artikkelen {{name}}?","description":"Her f\xe5r du tilgang til varene dine som du har kj\xf8pt i transferbutikken","filters":"Filter","filters_archived":"Arkivert","filters_category":"Kategori","filters_products":"Produkter","filters_status":"Status","filters_stock":"Lager","new":"","noHitsContent":"Ingen artikler ble funnet med gjeldende s\xf8kekriterier","noHitsHeader":"Ingen treff","notDefined":"Ikke definert","orderMonitoringMinNum":"Min. lagersaldo","show":"Vis artikler","submitApproval":"Send utkast til godkjenning"},"assortment":{"category_one":"Kategori","category_other":"Kategorier"},"bookmark":{"noPages":"Ingen sider lagt til enda","pages":"Sider","pagesAndTools":"Sider og verkt\xf8y","saveAsFavorite":"Lagre som favoritt","tools":"Verkt\xf8y"},"brightness":{"dark":"M\xf8rk","light":"Lys"},"calendar":{"agenda":"Agenda","allDay":"Hele dagen","date":"Dato","day":"Dag","event":"Arrangement","events":"Arrangementer","importantDates":"Viktige datoer","month":"M\xe5ned","next":"Neste","noEventsInRange":"Det er ingen hendelser i dette tidsrommet.","previous":"Forrige","previousEvents":"Tidligere arrangement","previousYear":"Tidligere \xe5r","showAsCalendar":"Vis som kalender","showAsList":"Vis som liste","time":"Tid","today":"I dag","tomorrow":"I morgen","week":"Uke","workWeek":"Arbeidsuke","year":"\xc5r","yesterday":"I g\xe5r"},"campaign":{"code":"Kampanjekode","error":"Ugyldig kode"},"cart":{"addVariation":"Legg til variant","add_one":"Legg produktet i handlevognen","add_other":"Legg produktene i handlevognen","addressSelected_one":"","addressSelected_other":"","agreementInfo":"Vi deler aldri din e-postadresse, adresse eller annen personlig informasjon med noen andre.","allowSplit":"Tillat dellevering","cart":"Handlevogn","checkout":"Bekreft bestilling","checkout_request":"Plasser bestillingsforesp\xf8rsel","chooseQuantity":"Velg antall","configureCheckout":"","continueShopping":"Fortsette \xe5 handle","createOffer":"Lag tilbud","created":"Handlevogn opprettet","depositToStock":"","depositToStockMinText":"","discount":"Rabatt","doPayment":"Godkjenn betaling","empty":"Handlevognen din er tom","emptyDo":"T\xf8m handlevogn","emptyFavourite":"For \xe5 legge til favorittproduktene dine, klikk ","errorCouldNotCalculateRow":"Det oppsto et problem med \xe5 bekrefte dine unike priser. Viser siste kjente produktpris hvis tilgjengelig.","errorCouldNotCalculateTotal":"Det oppsto et problem med \xe5 bekrefte dine unike priser og totalbel\xf8pet for bestillingen. Du kan fortsatt legge inn bestillingen, og prisene dine vil bli oppgitt p\xe5 ordrebekreftelsen.","errorInvalidProducts":"Noen produkter er ikke kompatible i samme ordre. De ugyldige produktene vil forbli i handlevognen, men ikke bli inkludert i gjeldende bestilling.","errorInvalidSku":"Ugyldig: Artikkelen eksisterer ikke.","errorSelectReseller":"Velg forhandler","favourite":"Favoritter","minAmount":"Krever et minimumbel\xf8p","minOrderQty":"Minimumsantall:","minOrderQtyInfo":"Hvis du vil bytte til et lavere antall, m\xe5 du f\xf8rst legge til flere i en annen st\xf8rrelse.","new":"Ny handlevogn","noFavourite":"Ingen favoritter enda.","orderAndDelivery":"","payment":"Betaling","paymentCancelled":"Betaling kansellert. Pr\xf8v igjen, eller velg en annen betalingsmetode","paymentError":"Betalingsfeil, pr\xf8v igjen eller velg en annen betalingsm\xe5te","paymentrefused":"Betaling feilet. Pr\xf8v en annen betalingsmetode","qtyAdjustedByArticleQuantity":"Obs! Antall monteringer overskrider artikkelens lagerbeholdning og handlevognen vil bli justert.","quantity":"Antall","quickAdd":"Hurtigbestilling","removeVariation":"Fjern varianten","saveToArticles":"","saveToCart":"","specification":"Prisspesifikasjon","startShopping":"Begynn \xe5 handle eller bruk hurtigbestilling nedenfor og legg til produkter.","swishButton":"","swishInfo":"","toCart":"Til handlevogn","toastDismissNoOption":"Nei takk","toastDismissText":"Vil du deaktivere varsler n\xe5r handlevognen endres?","toastDismissYesOption":"Ja, deaktiver","totalSkus":"Totalt","validationErrorHigher":"For mange produkter er lagt til","validationErrorLower":"For f\xe5 produkter er lagt til","warnNoStockAfterTransaction":"","warningCancelPayment":"Betaling kanselleret. Vennligst pr\xf8v igjen.","warningOrderDisabled":"Bestillingsplasseringsautorisasjon mangler. Vennligst kontakt kundeservice.","warningPriceOverride":"","warningPriceOverrideEnabled":""},"cartFee":{"admin":"Administrative avgifter","freight":"Frakt","insurance":"Forsikringsavgift","invoice":"Fakturagebyr","postage":"Porto","shipping":"Fraktkostnad"},"collection":{"collection_one":"Kolleksjon","collection_other":"Kolleksjoner","deleteWarning":"Er du sikker p\xe5 at du vil slette kolleksjonen {{name}}?","description":"Her er kolleksjonene dine av redigerte produkter.","noContent":"Start redigering av produkter!","noHitsContent":"Ingen kolleksjoner funnet med gjeldende s\xf8kebegrep","noSkuWarning":"F\xf8lgende varer mangler kvantitet og vil bli fjernet: ","refinementsRemovedWarning":"F\xf8lgende redigeringer gjelder bare for denne varen og vil ogs\xe5 bli fjernet: ","show":"Vis kolleksjoner","upgrade_product":"Sett p\xe5 logo","variations_one":"Variant","variations_other":"Varianter"},"color":{"color_one":"Farge","color_other":"Farger","errorNotEnough":"Du m\xe5 velge en farge.","errorTooMany":"For mange farger. Fjern/kombiner farger eller velg en som st\xf8tter flere farger.","interpretedByTool":"tolket av verkt\xf8yet","interpretedFromFile":"fra filen din","interpretedTitle":"Valgte PMS-farger","toolInterpretedColors":"Verkt\xf8yet har valgt f\xf8lgende farger:","warnInterpreted":"Merk! Fargene p\xe5 bildet er valgt av verkt\xf8yet og kan se forskjellige ut p\xe5 ulike skjermer. Sjekk at fargekodene stemmer overens.","warningAutoBackingColorApplied":"","warningAutoBackingColorNone":""},"colors":{"amber":"Amber","blue":"Blue","blueGrey":"Blue grey","brown":"Brown","cyan":"Cyan","deepOrange":"Deep orange","deepPurple":"Deep purple","green":"Green","grey":"Grey","indigo":"Indigo","lightBlue":"Light blue","lightGreen":"Light green","lime":"Lime","orange":"Orange","pink":"Pink","purple":"Purple","red":"Red","teal":"Teal","yellow":"Yellow"},"confirmation":{"remove":"Ja, ta bort"},"contact":{"address":"Adresse","city":"By","company":"Firma","companyNumber":"Kundenummer","companyText":"Firmatekst","contactName":"Kontaktperson","contactUs":"Kontakt oss","country":"Land","customerContact":"Kontaktinformasjon support","customerContactUs":"Kontakt support for mer informasjon","customerSupport":"Support","email":"E-post","firstName":"Fornavn","lastName":"Etternavn","name":"Navn","phone":"Telefonnummer","postalCode":"Postnummer"},"error":{"cellRowCol":"Rad {{row}}, kolonne ({{col}}):","code":"","code_InvalidFormat":"Ugyldig format.","code_NoValue":"Ingen verdi gitt.","code_ToLong":"Inndata for lang.","error":"Feil!","general":"Noe gikk galt. Pr\xf8v igjen eller kontakt support."},"excel":{"activeConfiguration":"Aktiv konfigurasjon","browserExport":"Filen blir generert. Dette kan ta flere minutter avhengig av hvor mye data som eksporteres.","columnRemovalDescription":"Noen kolonner vil bli fjernet n\xe5r du endrer til et lavere eksportniv\xe5. Vil du fortsette?","columnRemovalNo":"Nei, behold kolonner","columnRemovalTitle":"Endre eksportniv\xe5","columnRemovalYes":"Ja, fjern kolonner","columns":"Kolonner","customerPriceDate":"","download":"Last ned Excel-fil","downloadCancelled":"Nedlasting avbrutt.","emailExport":"Filen blir generert og sendt til e-posten din n\xe5r den er klar. Dette kan ta flere minutter avhengig av hvor mye data som eksporteres.","excel":"Excel","exportLevel":"Eksportniv\xe5","failedLoadPreset":"Kunne ikke laste inn forh\xe5ndsinnstilling","failedLoadPreview":"Kunne ikke laste inn forh\xe5ndsvisningsdata","generate":"Send Excel-fil til e-post","languages":"Spr\xe5k","name":"Navn","noConfigurations":"Det er ingen lagrede konfigurasjoner","noLanguage":"Standard spr\xe5k vil bli brukt","savedConfiguration_one":"Lagret konfigurasjon","savedConfiguration_other":"Lagrede konfigurasjoner","tabs":"Grupper i Excel-ark med kolonne","toggleConfiguration":"Klikk p\xe5 en konfigurasjon for \xe5 veksle den av og p\xe5","units":"Enheter"},"export":{"added":"Lagt til eksport","chosen_product":"Valgt produkt for eksport","chosen_products":"Valgte produkter for eksport","fileExportCompleted":"","fileExportFailed":"","images":"Bilder","price":"Pris","product":"Produkt","removed":"Fjernet fra eksport","search_in":"S\xf8k i","sku":"Artikkel / SKU","thresholdWarning":"","variation":"Variant / Farge","various_search":"S\xf8k i flere kategorier"},"file":{"allowedType":"Tillatte filtyper","attachments":"Vedlegg","dragAndDropOrBrowse":"Dra og slipp eller <u>s\xf8k</u>","draggingSingleText":"Slipp en fil her for \xe5 laste opp","draggingText":"Slipp filer her for \xe5 laste opp","file_other":"Filer","filename":"Filnavn","none":"Ingen filer er lastet opp enda. Legg til filer!","processFileError":"Kunne ikke behandle filen.","processFileErrorFileSize":"Filen kan ikke lastes opp; den er for stor. Maksimal st\xf8rrelse er {{value}}MB.","processingFileUpload":"Behandler filopplasting...","supported":".jpg, .jpeg, .png, .gif, .pdf og .svg. Maks 5 MB."},"filter":{"filter":"Filter","filter_accessories":"Tilbeh\xf8r","filter_activity":"Aktivitet","filter_brand":"Varemerke","filter_care":"Vedlikeholdsinstruksjoner","filter_category":"Kategori","filter_certification":"Sertifisering","filter_color":"Farge","filter_designer":"Designer","filter_feature":"Egenskap","filter_female":"Dame","filter_fit":"Passform","filter_gender":"Kj\xf8nn","filter_male":"Herre","filter_material":"Materiale","filter_neckline":"Type hals","filter_other":"Annet","filter_outlet":"Outlet","filter_range":"Omr\xe5de","filter_retail":"","filter_season":"Sesong","filter_sleeve":"Type erme","filter_theme":"Tema","filters":"Filtre"},"general":{"add":"Legg til","agreeTo":"Godta","all":"Alle","auto":"Automatisk","basis":"Basis","cantChange":"Kan ikke endres","changed":"Endret","close":"Lukk","collapseAll":"Lukk alle","columns":"Kolonner","comment":"Kommentar","commentSet":"Angi kommentar","compact":"Kompakt","created":"Opprettet","custom":"Tilpasset","description":"Beskrivelse","dontShowAgain":"Ikke vis igjen","email":"E-post","endDate":"Sluttdato","enterPassword":"Skriv inn passordet for \xe5 fortsette.","expand":"Utvide","expandAll":"Utvide alle","expires":"","favourites":"Favoritter","font":"","full":"Alle produkter","hide":"Skjul","hideAllPages":"Skjul alle sider","language":"Spr\xe5k","limitedToCharacters":"Begrenset til {{characters}} tegn.","limitedToInteger":"Begrenset til tall.","limitedToLetters":"Begrenset til bokstaver.","limitedToLettersUpper":"Begrenset til store bokstaver.","log":"Logg","logotype":"Logo","maintenance":"Viktig informasjon! P\xe5 grunn av planlagt vedlikehold vil v\xe5rt forretningssystem v\xe6re utilgjengelig fra cirka kl. x:xx den xx. xxx. Vi beklager eventuelle ulemper og informerer deg om at nettstedet ikke vil fungere normalt i denne perioden. Vi forventer \xe5 returnere til normal drift innen f\xe5 timer og setter pris p\xe5 din t\xe5lmodighet.","mandatory":"Obligatorisk","minimize":"Minimer","name":"Navn","new":"Ny","no":"Nei","none":"Ingen","notifications":"Varsler","password":"Passord","readMore":"Les mer","safety":"Sikkerhet","saveAndClose":"Lagre og lukk","selected":"Valgt","settings":"Innstillinger","show":"Vis","showAllPages":"Vis alle sider","show_all":"Vis alt","show_less":"Vis mindre","show_more":"Vis mer","skipToContent":"Hopp til innholdet","standard":"Standard","startDate":"Startdato","status":"Status","subTitle":"Undertekst","summary":"Sammendrag","tag_one":"Etikett","tag_other":"Etiketter","terms":"Vilk\xe5r og betingelser","text":"Tekst","text_other":"Tekster","thankYou":"Takk","title":"Tittel","to":"Til","tools":"Verkt\xf8y","total":"Total","type":"","updated":"Oppdatert","url":"Url","view":"Se","weOffer":"Vi tilbyr","yes":"Ja"},"image":{"angle_one":"Vinkel","angle_other":"Vinkler","environment":"Milj\xf8","image_one":"Bilde","image_other":"Bilder"},"invoice":{"address":"Fakturaadresse","credit":"Kredittordre","invoice_one":"Faktura","invoice_other":"Fakturaer"},"logoAppTools":{"asset":"Legg til ny ressurs"},"microshop":{"CustomerNumberSecurityInfo":"Sikkerhetsalternativet m\xe5 aktiveres.","accentColor":"Aksent farge","activate_units":"","addAddon":"Legg til tillegg","addCategory":"Legg til kategori","addMasterDeliveryAddress":"","addNewUsers":"Legg til nye brukere","addUnit":"Legg til ny enhet","addons":"Tillegg","administrator":"Administrator","agreement":"Avtale","allProducts":"Alle produkter","alternativeUnitCertifier":"Alternativ sertifis\xf8r","approval":"","assortment":"Sortiment","assortmentAvailableVariationsAdded":"Alle mulige variasjoner er lagt til i sortimentet","backgroundImage":"Bakgrunnsbilde","bodyFont":"Br\xf8dskrift","budget":"Budsjett","budget_approval":"","cancelMasterOrderWarning":"Er du sikker p\xe5 at du vil kansellere hovedordre? {{masterOrder}}","cantDeleteWarning":"Har ventende bestillinger og/eller hovedordre og kan ikke slettes.","categoryExists":"En kategori med det dette navnet eksisterer allerede, velg annet navn","changeOwner":"Endre eier","changeTo":"Endre til","column":"Kolonne","confirmDelete":"Bekreft sletting","confirmMasterOrder":"Bekreft hovedordre","content":"Innhold","copyShop":"Kopier innstillinger fra eksisterende shop","create":"Opprett ny mikroshop","createMasterOrder":"Opprett hovedordre fra utvalgte bestillinger","createUser":"Opprett ny bruker","currency":"Valuta","currentOwner":"N\xe5v\xe6rende eier","custom":"tilpasset","customerInputNone":"Ingen","customerInputNumber":"Nummer","customerInputText":"Tekst","customerInputType":"Kundeinnspill","databaseError":"Databasefeil","deleteProduct":"Slett produkt","deleteSelectedOrder":"Slett valgte ordre","deleteUnit":"Slett enhet","deleteUnitWarning":"Sletting av kontoen din vil permanent fjerne alle dine data, inkludert alle brukere, innstillingene dine og alt innholdet du har opprettet. Denne handlingen kan ikke angres.","deleteWarning":"Er du sikker p\xe5 at du vil slette mikroshopen {{name}}?","departmentUnit":"avdeling/enhet","descOptionCombine":"Kombiner","descOptionDefault":"Standard","direct_orders":"","disable_units":"","displayOptions":"","emailWarning":"Ugyldig e-post. Vennligst sjekk for skrivefeil, stavefeil og at e-posten eksisterer i den valgte mikrobutikken.","emptyAssortments":"Ikke noe utvalg \xe5 velge mellom","emptyProducts":"Ingen produkter funnet","error":"Det har oppst\xe5tt en feil!","excelTemplate":"Excel-mal","excelTemplateDescription":"Du kan laste ned vedlagt eksempel og bruke det som utgangspunkt for din egen fil.","files":"Filer","filesUploaded":"Filer lastet opp og lagert","footColor":"Bunnfarge","footer":"Bunntekst","freeShipping":"Gratis frakt over bel\xf8p","general":"Generelt","handleProductsSettings":"Administrer priser, tillegg og kategorier","headerFont":"Overskrift","import":"Importere","individual":"Individuell (SEK)","input":"Input","invalidUrl":"Nettadressen er allerede tatt eller inneholder et ugyldig tegn. Velg en annen nettadresse","legalNotice":"Juridisk varsel","lightnessColor":"Lyshet","logotype":"Logotype","look":"Utseende og uttrykk","mainColor":"Hovedfarge","main_orders":"","many_size_products":"","masterOrder":"","microshop":"Mikroshop","microshop_other":"Mikroshopper","missingEmail":"E-post mangler","missingMicroshop":"Microshop mangler","missingShopUnitName":"ShopUnitName mangler","missingUser":"Brukere mangler","new_unit":"Ny Enhet","noFilters":"Ingen filtre \xe5 velge ifra","noHitsContent":"Ingen mikroshopper ble funnet med gjeldende s\xf8kekriterier","noMicroshopFound":"Ingen mikroshop funnet","noOrders":"Ingen bestillinger","noOrdersExplanation":"Butikken din inneholder ingen {{orderText}}.","noUserDescription":"Opprett nye brukere her, eller importer!","noUsers":"Ingen brukere enn\xe5","notificationOptionDaily":"Daglig oversikt","notificationOptionInstant":"\xd8yeblikkelig e-post","notificationOptionNone":"Ingen","notificationsTitle":"Bestillingsvarsler","one_size_product":"","orderDeleteWarning":"Er du sikker p\xe5 at du vil slette denne bestillingen?","orderPrices":"Bestillinger & Priser","order_flow":"","ordered":"Bestilt","orderrNotificationExplanation":"E-postvarsel er sendt til {{email}}","ordersDeleteWarning":"Er du sikker p\xe5 at du vil slette de valgte bestillingene","pendingOrders":"Ventende bestillinger","points":"poeng","priceModel":"Prismodell","priceOptionFixed":"Fastpris","priceOptionNone":"Ingen","priceOptionRetail":"Basert p\xe5 utsalgspris","privacyPolicy":"Personvernerkl\xe6ring","productAddImages":"Legg til bilder","productName":"Produktnavn","productNumber":"Produktnummer","productQuantity":"Antall produkter","readyForImport":"Filen er klar for import. Fortsett ved \xe5 klikke p\xe5 \'Importere\'.","refinementsAndAddons":"Skisser & tillegg","requiresattestation":"Krever attestasjon","retailModifier":"Veil. pris forhold","retailPrice":"Veil. pris","retailPriceExplanation":"Hvert produkt som legges til i shoppen vil f\xe5 en pris basert p\xe5 veil. pris p\xe5 produktet.\\nPrisen multipliseres med tallet nedenfor","role":"Rolle","row":"Rad","saved":"Endringene dine har blitt lagret","securityOptionNone":"Ingen sikkerhet","securityOptionRegister":"Registrer med konto","securityOptionSecregAndRegister":"Registrering og passord","securityOptionSecret":"Passord","security_protection":"","settings":"Innstillinger","standard":"standard","standardPrice":"Standard priskalkulasjon","totalCustomer":"Totalkostnad, kunde","unit":"Enhet","unitBudgetDepartment":"Avdeling (SEK)","unitCertifier":"Sertifis\xf8r","unitDeleteWarning":"Er du sikker p\xe5 at du vil slette den valgte enheten?","unitName":"Navn","unitWithChildrenDeleteWarning":"Du er i ferd med \xe5 slette enheten \'{{unitName}}\' og alle underliggende enheter. Denne handlingen kan ikke angres. Vil du fortsette med slettingen?","units":"Enheter","units_other":"","uploadDone":"Opplastingen er fullf\xf8rt!","uploadedFile":"Opplastet fil","userInformation":"Informasjon","value":"Verdi","variationExists":"Produktet/produktene finnes allerede","vatExcluded":"","vatIncluded":"","vatIsIncluded":"Mva er inkludert i prisene","vatNotIncluded":"Mva er ikke inkludert i prisene","visitShop":"G\xe5 til shop","welcomeMessage":"Velkomstmelding","zeroContentAddons":"Det er ingen tillegg for shoppen, opprett tillegg under fanen \\"{{- tab}}\\".","zeroContentText":"S\xf8k etter produkter eller velg mellom kategorier og favoritter for \xe5 legge til produkter i sortimentet ditt.","zeroContentTitle":"Ingen valgte produkter enda"},"microshopUploadErrorCodes":{"databaseError":"","invalidEmailFormat":"Ugyldig e-postformat","invalidIsAttestantValue":"Ugyldig isAttestant-verdi","invalidManageBudgetValue":"Ugyldig manageBudget-verdi","invalidRequiresAttestationValue":"Ugyldig requiresAttestation-verdi","invalidRoleValue":"Ugyldig rolle-verdi","missingMicroshop":"Mangler microshop","missingOrIncorrectHeaders":"Mangler eller feilaktige overskrifter","missingShopUnits":"Mangler butikk-enheter","missingUsers":"Mangler brukere","noDataInFile":"Ingen data i filen","noFileSelected":"Ingen fil valgt","noRowsInFile":"Ingen rader i filen"},"navigation":{"allIn":"Vis alle","history":"Historie","onThisPage":"P\xe5 denne siden","page":"Side","promoted":"Valgt","start":"Startside","toTop":"Til toppen"},"news":{"new_one":"Nyhet","new_other":"Nyheter","showAll":"Vis alle nyheter"},"newsletter":{"subscribed":"Abonnert!"},"offer":{"additionalCost":"Ekstrakostnader","additionalCosts":"Ekstrakostnader","confirmOffer":"Bekreft tilbud","daysBeforeReminder":"P\xe5minnelse - dager f\xf8r p\xe5minnelse","discount":"Rabatt","discountInfo":"Alle produkter f\xe5r rabatt i prosent","editName":"Rediger navn","expires":"Utl\xf8psdato","margin":"Margin","marginInfo":"Alle produkter f\xe5r en margin i prosent","noProductInfo":"Start med \xe5 legge til produkter ovenfor.","offerPage":"Tilbudsside","offerPrice":"Tilbudspris","offer_one":"Tilbud","offer_other":"Tilbud","otherTerms":"Vilk\xe5r fra andre tilbud","publicOffer":"Offentlig tilbud","remove":"Fjern tilbudet","removeConfirmation":"Er du sikker p\xe5 at du vil fjerne tilbudet?","removePublicUrlAlert":"Er du sikker p\xe5 at du vil fjerne det offentlige tilbudet?","removePublicUrlAlertConfirm":"Ja, fjern tilbudet","removePublicUrlAlertContent":"Vil du fjerne det offentlige tilbudet ditt fra tilbudet {{name}}?","shareOffer":"Del tilbud","visitors":"Bes\xf8kende","warnExternalCustomerMissing":""},"order":{"addNewAddress":"Legg til ny adresse","adjustment":"Justering","allOrdersLast30Days":"","createDelivery_one":"Legg til adresse","createDelivery_other":"Opprett leveringer","createOrder":"Opprett ordre","createRepeatOrder":"Opprett gjentagende-ordre","createdDeliveries":"Leveringer opprettet","creditType":"Kreditordre","customerDetails":"Kundedetaljer","deleteWarning":"Er du sikker p\xe5 at du vil slette ordre {{name}}?","deliveryAsc":"Stigende leveringsdato","deliveryDate":"Leveringsdato","deliveryDesc":"Synkende leveringsdato","deliveryNote":"Leveringsnotat","deliveryNoteNumber":"F\xf8lgeseddelnummer","deliveryType":"Leveringstype","downloadDeliveryNote":"Last ned leveringsnotat","downloadExcel":"Last ned Excel","entire":"f.eks. ordrenummer, referanse etc.","entirePartnerOrders":"f.eks. ordrenummer, leveringsnavn, e-post etc.","handleAddresses":"Behandle adresser","handleAddressesAndDeliveries":"Behandle adresser og leveringer","history":"Ordrehistorikk","infoMessage_boxDesign_partnerOverview":"","lastOrder":"Siste ordre","masterOrder_other":"Hovedordre","noHitsContent":"Husk at du m\xe5 s\xf8ke p\xe5 et fullstendig ordrenummer","noHitsHeader":"Ingen treff","noOrdersLast30Days":"","notes":"Min notater","orderNumber":"Ordrenummer","order_one":"Ordre","order_other":"Ordre","packageLabel":"F\xf8lgeseddel","partner_one":"production","paymentType":"Betalingsm\xe5te","placed":"Bestillingen din er vellykket","placedBy":"Bestilt av","reference":"Ordrereferanse","refinementType":"Avgrensningsrekkef\xf8lge","removeAddressText":"Vil du fjerne adressen og dens leveringer?","removeAddressTitle":"Fjern adresse og leveringer?","removeAddressYesOption":"Fjern adresse","repeat":"Tilbakevendende","sendOrderDocument":"","setPublicOrderAsCompletedDescription":"Dette vil klarmarkere ordren og ytterligere frakter vil ikke kunne legges til. En melding vil bli sendt til kunden.","setPublicOrderAsCompletedTitle":"Er du sikker p\xe5 at du vil klarmarkere?","setPublicOrderAsCompletedYesOption":"Ja, klarmarkere ordren","showEditArticles":"Vis/rediger artikler ({{count}})","skuEditorDisabledTitle":"En ordre kan bare inneholde forsendelser n\xe5r den er satt i produksjon. I denne modusen kan bare leveringsadressene endres.","status":"Status","statusCreated":"Opprettet","statusFailed":"Feilet","statusPlaced":"Lagt","system":"","table":"Ordrebord","thankYou_message_customerApproval":"Vi har mottatt svaret ditt og vil kontakte deg innen 24 timer. Hvis du har sp\xf8rsm\xe5l, vennligst send oss en melding ovenfor!","thankYou_message_rejectToCustomer":"Vi har mottatt din oppdatering og vil kontakte deg innen 24 timer. Hvis du har sp\xf8rsm\xe5l, vennligst send oss en melding ovenfor!","track":"Spor","type":"Ordretype","viewOrders":"Se og administrer bestillinger.","wrongPasswordTryAgain":"Passordet du skrev inn er feil. Vennligst pr\xf8v igjen."},"orderstatuses":{"approved":"Godkjent","awaitingCustomer":"Venter p\xe5 kunde","customerChanges":"Kundeendringer","customerRejected":"","deliveryChanged":"Levering endret","expressOrder":"Ekspressordre","inProduction":"I produksjon","pinned":"Festet","rejected":"Avvist","unhandled":"Ubehandlet"},"orientation":{"landscape":"Liggende","orientation":"Retning","portrait":"St\xe5ende"},"part":{"all":"","part":"","partQty":"","partSizes":""},"pdf":{"aboutUsPage":"Om oss","careCertPage":"Vasker\xe5d / Sertifiseringer","careInstructions":"Vasker\xe5d","certifications":"Sertifiseringer","content":"Innhold","coverPage":"Forside","description":"Beskrivelse","download":"Last ned pdf","fabrics":"Materiale","fullPage":"Helside","offerItemPrice":"Tilbudspris","offertPage":"Tilbud","pdf":"","pdfLoading":"Vennligst vent mens vi utarbeider dokumentet ditt","preview":"Forh\xe5ndsvisning","productPage":"Produkter","quantity":"Antall","recommendedPrice":"Veiledende pris","refinementPage":"Skisser","sizeGuides":"St\xf8rrelsesguide","tableOfContent":"Innholdsfortegnelse","terms":"Vilk\xe5r","termsTitle":"Vilk\xe5r","titlePage":"Tittelside","warnCareWithRefinement":"N\xe5r plagget ditt er personliggjort, gjelder ikke de opprinnelige vaskeinstruksjonene lenger!","weight":"Vekt"},"pdfImages":{"environmentImages":"Milj\xf8bilder","errorRequestSent":"Det har oppst\xe5tt en teknisk feil, og vi kan ikke forberede bildene for nedlasting. Vennligst kontakt kundeservice.","failedLoadPreview":"Klarte ikke \xe5 laste forh\xe5ndsvisningsdata","highResolution":"4000px (H\xf8y oppl\xf8sning)","imageAltText":"","imageResolution":"Bildeppl\xf8sning","loadPreview":"Laster produkter, vennligst vent...","noProducts":"Ingen produkter","preferredFileType":"","preview":"1000px (Forh\xe5ndsvisning)","productImages":"Produktbilder","sendEmail":"Send e-post","showAll":"Vis alle bilder","standardResolution":"","sucessRequestSent":"Vi forbereder bildene til en zip-fil og sender dem til din e-post, det kan ta flere minutter.","thumbnail":"200px (Miniatyrbilde)","webpInfo":""},"placement":{"":"","_Button1":"","_Button2":"","_Button3":"","_Button4":"","_Button5":"","_ChestPocketLeft":"","_ChestPocketRight":"","_Front":"","_Generic":"","_InnerSide":"","_Left":"","_OuterSide":"","_Right":"","_SidePocketLeft":"","_SidePocketRight":"","_SleeveLeft":"","_SleeveRight":""},"pmsColorPicker":{"inactivateColor":"Deaktiver farge","searchPlaceHolder":"PMS-farge","searchZeroContent":"Ingen PMS-farge samsvarer med s\xf8ket"},"price":{"amount":"Bel\xf8p","amountIncVat":"Bel\xf8p inkl. Mva","applyCustomer":"Bruk kundepris","customer":"Din pris","customerPrice":"","latestPrice":"Siste pris","noPrice":"Pris ikke tilgjengelig","orderpricelist":"Bestill prisliste","price":"Pris","priceSt":"Pris / stk","priceSuggestion":"Prisforslag","pricelists":"Prislister","prices":"Priser","purchasePrice":"Kj\xf8pesum","regular_short":"Ord. premie","retail":"Veil. pris","retailAndCustomer":"Veil. pris og Din pris","rrp_long":"Veiledende pris","rrp_short":"Stk","selectedArticle":"","selectedRefinement":"","showNoPrice":"Ingen","subTotal":"Delsum","tiered":"Prisstaffling","totalCart":"","totalValue":"Totalsum","total_exVat":"Totalt (ekskl. MVA)","total_incVat":"Totalt (inkl MVA)","vat":"MVA","vatConsumer":"MVA"},"product":{"_capacity":"Kapasitet","_closure":"","_colorComment":"Fargekommentar","_country":"","_designer":"Designer","_diameter":"Diameter","_fabrics":"Materiale","_gender":"Kj\xf8nn","_height":"H\xf8yde","_hoodDetails":"Hettedetaljer","_length":"Lengde","_limitedEdition":"Begrenset opplag","_measure":"M\xe5l","_neckline":"Halskant","_packaging":"Emballasje","_pockets":"Lommer","_presentationDate":"Presentasjonsdato","_printCode":"Trykkode","_sleeve":"Erme","_techniqueComment":"Teknisk kommentar","_volume":"Volum","_weight":"Vekt","_width":"Bredde","add":"Legg til produkter","addRemove":"Legg til / fjern artikkel","approveArticles":"Godkjenn artikler","articleNumber":"Artikkelnummer","article_one":"Artikkel","article_other":"Artikler","care":"Vasker\xe5d","certificates":"Sertifiseringer","colors":"Farger","composition":"Komposisjon","document":"Dokument","downloadImage":"Last ned bilde","downloadImages":"Last ned alle bilder","features":"Egenskaper","info":"Produktinformasjon","missingSkus":"Manglende artikler","name":"Navn","noProducts":"Ingen produkter","orderDifference":"Differanse","pdfDownload":"Last ned som pdf","product_one":"Produkt","product_other":"Produkter","products":"Produkter","related":"Relaterte produkter","relatedGender":"Ogs\xe5 tilgjengelig som","related_short":"","replacement":"Alternative produkter","search":"S\xf8k produkt","searchPlaceholder":"For eksempel produktnummer eller navn","searchPlaceholderProduct":"For eksempel produktnummer eller navn","show":"Vis produkter","showLessColors":"Vis f\xe6rre farger","transfer":"Transfer","unwantedSkus":"Ukjente artikler"},"productAddImagesAfter":"{{added}}/{{max}} (valgfritt)","productTag":{"new":"Ny","newVariation":"Ny farge","outlet":"Salg","outletVariation":"Farge p\xe5 salg","sustainable":"B\xe6rekraftig","upcoming":"Kommer","upcomingVariation":"Kommende farge"},"production":{"refinement_one":"Skisse"},"proof":{"proof":"Korrektur","proof_one":"Design","proof_other":"Design","service":"Vi lager et utkast for deg"},"refinement":{"add":"Legg til prosessalternativer","addon":"Tillegg","addonVariations":"Variasjoner","articleAddedToDraftInfo":"","articleDraftSuggestionInfo":"","autoAdjustedPlacements":"Merk at andre plasseringer har blitt justert automatisk.","awaitingDelivery":"Venter p\xe5 produkter","awaitingDeliveryAction":"Venter p\xe5 produkter","choose":"Velg prosessalternativer","colorBacking":"","colorChange":"Endre farge","colorChangeColor":"Endre farge","commentDescription":"Andre foresp\xf8rsler","completed":"Produkter behandlet","completedAction":"Produkter behandlet","create":"Opprett prosessalternativer","createArticleDraft":"Lagre som utkast","createTextElement":"Lag tekstelement","customerPublicOrderConfirmSubmit":"Takk! Kundeservice vil n\xe5 gjennomg\xe5 bestillingen din og en melding vil bli sendt n\xe5r bestillingen er godkjent.","customerPublicOrderInstructions":"Les meldingen fra kundeservice i den tilknyttede loggen. Klikk nedenfor for \xe5 \xe5pne konfiguratoren, endre og lagre. N\xe5r du er ferdig. Klikk send og legg gjerne ved en kommentar. Hvis du har ytterligere sp\xf8rsm\xe5l om bestillingen eller mangler instruksjoner, bare send en kommentar. Kundeservice vil raskt gjennomg\xe5 endringene dine og du vil bli varslet n\xe5r bestillingen er godkjent.","customerPublicOrderPriceWarning":"OBS! Varene i bestillingen har endret seg og en ny ordrebekreftelse vil bli sendt ut.","deliverNowAndOnwards":"Now and ongoing","deliverWhenInStock":"When all in stock","delivered":"Produkter sendt","deliveredAction":"Produkter sendt","downloadPreviewImage":"Last ned forh\xe5ndsvisningsbilde","errorNoAvailableRefinements":"","expected":"Forventet levering","fixedTextPlaceholder":"Din tekst her","inProgress":"Under behandling","invalidTransferAmount":"","latest":"","message":"Melding","messages":"Meldinger","minQuantityWarning":"OBS! Minimumsavgiften er for {{minQuantity}} {{artikler}} og det f\xf8rer derfor til en h\xf8yere enhetspris for det valgte antallet.","mountings":"","nameAndTags":"Navn og merkelapper","new":"Ny skisse","noSplitPlaceInfo":"","objectSizeChangedWarning":"","otherInformation":"Diverse","pin":"","placementDescription":"Her spesifiserer du hvordan skissen din skal brukes. Hvis du vil ha flere overflater og steder, m\xe5 du lage ytterligere skisser","placement_one":"Plassering","placement_other":"Plasseringer","positionAutoAdjusted":"Bildet har automatisk justert til en overflate. Bruk piltastene for \xe5 justere, eller klikk p\xe5 magneten for \xe5 deaktivere.","proofFinalAcceptText":"Jeg aksepterer mitt opprinnelige/skisse som endelig designbevis. Ingen bevis vil bli sendt til meg for dette tilbudet.","readyForInvoice":"","refinement_one":"Skisse","refinement_other":"Skisser","reject":"Avvis","rejected":"Avvist","rejectedAction":"Avvist","review_proof":"\xc5pne og gjennomg\xe5 korrekturen din nedenfor","send":"Send","sendForReviewApprove":"","sender":"Avsender","sourceInfo":"","sourceInfo_Analysis":"Systemet har tolket fargen.","sourceInfo_Custom":"Kunden har valgt fargen selv.","sourceInfo_File":"Filen har definert fargen.","startCost":"Startkostnad","uploadFile":"Last opp fil","userProof":"Brukerbevis","variableTextPlaceholder":"Din eksemp","warnRepeatChanged":"Dette er en gjentatt justering. Hvis du lagrer endringer, vil det ikke lenger v\xe6re en gjentatt bestilling, og prisene kan endres."},"refinementsSelector":{"errorIncompatible":"Filen kan ikke h\xe5ndteres av valgt type: {{selectedProduct}}. Vil du endre prosessalternativ?","errorNoCompatible":"Den valgte filen kan ikke brukes p\xe5 noen av skissene p\xe5 dette produktet. Velg en annen fil eller kontakt oss for mer hjelp!","title":"Vil du legge til en allerede opprettet avgrensning?"},"reseller":{"change":"Bytt forhandler","errorNotFound":"Vi kan ikke finne noen forhandler knyttet til adressen din. Kontroller at adressen er riktig eller s\xf8k forhandler nedenfor.","externalSupplier":"Ekstern leverand\xf8r","openHours":"\xc5pningstider","reseller_one":"Forhandler","reseller_other":"Forhandlere","search":"Finn din forhandler","searchAgreement":"Hvis du har en avtale, s\xf8k etter firma-ID","showAllResellers":"Vis alle forhandlere","suggestionFrom":"Vi har foresl\xe5tt forhandler basert p\xe5","suggestionInfo":"Fyll inn adressen din for \xe5 finne en forhandler n\xe6r deg"},"salesBoard":{"salesBoard":"Salesboard","section":"Seksjon","section_budget":"Budsjett","section_compare":"Forrige periode","section_leaderboard":"Ledertavle","section_topOrders":"Topp ordre","section_topProducts":"Topprodukter","section_totalValue":"Totalsum","section_visits":"Bes\xf8k"},"search":{"empty":"Ingen treff","search":"S\xf8k"},"seller":{"customer":"Kunde","customerShops":"Kunde Mikroshop","customers":"Kunder","erpNumber":"Kundenummer","exportedFiles":"","loggedInAs":"logget inn som","noCustomers":"Ingen kunder lagt til","openAs":"\xc5pne som","orderMonitoring":"Ordreoverv\xe5king","orderMonitoringEmpty":"Du har ikke lagt til noen kunder for \xe5 overv\xe5ke bestillingene deres enn\xe5. Skriv inn kundenummer nedenfor for \xe5 starte overv\xe5king","orderMonitoringInfo":"Her kan du f\xf8lge kundens bestillinger. Hver gang en kunde bestiller, vil du motta et varsel p\xe5 e-post.","orderMonitoringNotificationInfo":"Varsler sendes til:","orderMonitoringRemoved":"Kunde {{sub.customerName}} ({{sub.customerCode}}) vil ikke lenger bli overv\xe5ket.","partnerOverview":"Partneroversikt","selectCustomer":"Velg kunde","seller":"Selger","signOutCustomer":"Logg av kunde","warnSellingDisabled":""},"shipment":{"address":"Leveringsadresse","addressesAndShipmentsTitle":"Adresser og forsendelser","date":"Leveringsdato","deliveryOptional_other":"Tilleggstjenester","deliveryQuantity":"Leveringsantall","deliveryType":"Leveringstype","delivery_one":"Forsendelse","delivery_other":"Forsendelser","dispatchNote":"Utsendelsesvarsel","emailInfo":"Den angitte e-postadressen brukes til \xe5 sende ut forsendelsesvarsel og eller en forenklet ordrebekreftelse (uten priser)","info":"Forsendelsesinformasjon","manualDelivery":"Manuell levering","new":"Ny adresse","packageLabel":"F\xf8lgeseddel","qtyArticles":"{{count}} st artikler","qtyShipments":"{{count}} st forsendelser","receiver":"Mottaker","requestDate":"Be om leveringsdato","requestDateChange":"Vil du endre leveringsdatoen?","requestedDate":"Forespurt dato","sendTo_one":"Send til en adresse","sendTo_other":"Send til flere adresser","shipment":"Forsendelser","simplifiedOrderConfirm":"Forenklet ordrebekreftelse","tracking":"Spor din bestilling","trackingCarrier":"Transport\xf8r","trackingNumber":"Sporingsnummer","trackingService":"Service","trackingUrl":"Sporings URL","transportType":"Transporttype","warningLongDelivery":"Legg merke til leveringsdato","yourOrderNumber":"Ditt ordrenummer","yourReference":"Din referanse"},"size":{"allowedMinMax":"","large":"Stor","size":"St\xf8rrelse","sizeguide":"M\xe5leskjema","small":"Liten"},"sort":{"relevance":"Relevanse"},"status":{"accepted":"Akseptert","approved":"Godkjent","approvedAction":"Godkjent","cancelled":"Kansellert","completed":"Sendt","confirmed":"Bekreftet","confirmedAction":"Bekreftet","draft":"Klass","inproduction":"I produksjon","inprogress":"Behandles","invoiced":"Fakturert","ok":"","onhold":"","processing":"Behandler","rejected":"Avvist","save_error":"En feil oppsto under lagring","saved":"Lagre","unconfirmed":"Ubekreftet","unconfirmedAction":"Ubekreftet","waiting":"Ventende"},"stock":{"box":"Eske","enterQuantity":"Skriv inn mengde","estRefill":"Estimert p\xe5fylling","global":"Global","local":"Lokalt","min":"Min","mounting":"Montering","operation":"*!Internal - no need to translate*","operation_add":"Legg til lager","operation_order":"Bestill direkte","operation_withdraw":"Trekk fra lager","pcs":"Stk","region":"Region","rest":"Rest","stock":"Lager","stockAfterTransaction":"Lager etter transaksjoner"},"stockLevel":{"in":"P\xe5 lager","low":"Lite p\xe5 lager","no":"Ingen lager","out":"Utsolgt"},"template":{"copy":"Kopiere fra mal","copyDescription":"Kopiere konfigurasjon fra lagret mal. Dette vil erstatte gjeldende konfigurasjon.","save":"Lagre som mal","saveDescription":"Lagre gjeldende konfigurasjon som en mal for fremtidig bruk i andre dokumenter.","template_one":"Mal","warnRemove":"Er du sikker p\xe5 at du vil fjerne malen?","warnTemplateExist":"Det er allerede lagret en mal med dette navnet. Dette vil overskrive den lagrede malen med gjeldende konfigurasjon."},"tool":{"noToolsOrServices":"Ingen verkt\xf8y eller tjenester lagt til enda","toolsAndServices":"Mine verkt\xf8y og tjenester"},"unsavedWarning":{"no":"Nei, forkast endringer","text":"Dine ulagrede endringer vil bli forkastet. Vil du lagre?","title":"Lagre endringer?","yes":"Ja, lagre"},"user":{"anonymousUsers":"Anonyme brukere","customerErrorLong":"Kunne ikke laste inn kundeinformasjon for brukeren. Pr\xf8v p\xe5 nytt.","customerErrorShort":"Bruker mangler kundeinformasjon","customerNumber":"Kundenummer","customerNumberError":"Skriv inn hele kundenummeret","customerWarningLong":"Kunden knyttet til bruker eksisterer ikke, eller informasjon om kunden mangler fra brukeren.","customerWarningShort":"Ingen aktiv kunde knyttet til brukeren","notLoggedIn":"Ingen bruker logget inn","proceedAsAnonymous":"Fortsett som anonym","refreshFailedText":"Av sikkerhetsmessige \xe5rsaker blir du logget ut etter en periode med inaktivitet.\\nTrykk \\"Logg inn igjen\\" for \xe5 fortsette \xe5 handle.","refreshFailedTitle":"Du har blitt logget ut.","register":"Registrere","registeredUsers":"Registrerte brukere","salesContact":"Salgskontakt","signIn":"Logg inn","signInAgain":"Logg inn igjen","signInToOrder":"Logg inn for \xe5 bestille","signOut":"Logg ut","user_other":"Brukere","viewAccount":"Se konto"},"validation":{"allRequiredFields":"","email":"Ugyldig e-post","fullNameMaxCharLimit":"Fornavn + Etternavn m\xe5 ikke overstige {{maxLength}} tegn","maxCharacterLength":"Inndata er lengre enn tillatt makslengde p\xe5 {{maxLength}} tegn","maxLength_one":"Maks {{maks}} tegn","maxLength_other":"Maks {{maks}} tegn","minCharacterLength":"Inndata er kortere enn tillatt minimum p\xe5 {{minLength}} tegn","mustStartWith":"Verdien m\xe5 starte med en av f\xf8lgende:","noEmailFound":"","phoneInvalid":"Ugyldig telefonnummer","phoneLength":"Telefonnummer m\xe5 v\xe6re 8 eller 16 siffer langt","required":"Obligatorisk","requiredAccept":"Vennligst godta"},"variableText":{"inputDataUpdated":"","refinementRowTitle":"","refinementRowTitle_plural":"","validateErrorDesc":"Den opplastede filen inneholder feilaktige rader. Korrigere disse og pr\xf8v igjen.","validateErrorTitle":"{{count}} valideringsfeil","validateErrorTitle_plural":"","validateSuccessDesc":"","validateSuccessTitle":""},"warning":{"attention":"Advarsel!","changesPartlyDisabled":"","note":"","refinementWarnings":"","showWarningTexts":""}}'),m=JSON.parse('{"action":{"actions":"A\xe7\xf5es","add":"Adicionar","apply":"Aplicar","back":"Voltar","cancel":"Cancelar","change":"Mudar","change_one":"","change_other":"","clear":"Limpar","configure":"Configurar","continue":"Continue","continueWithoutSaving":"Continuar sem salvar","copy":"","create":"Criar","download":"Download","duplicate":"Duplicar","edit":"Editar","export":"Eksport","fullScreen":"Tela cheia","message":"Mensagem","ok":"Ok","open":"Abrir","pending":"Pendente","published":"Publicado","rearrangeBoxes":"","refresh":"Atualizar","remove":"Remover","rename":"Renomear","replace":"Substituir","save":"Salvar","saveWarningText":"Voc\xea precisa salvar as altera\xe7\xf5es antes de prosseguir. Deseja salvar?","saveWarningTitle":"Salvar altera\xe7\xf5es?","select":"Selecionar","selectOne":"Selecione um","showBoxes":"","sort":"Ordenar","submitChanges":"","submitQuestionComment":"","undo":"Desfazer"},"angle":{"":"","_back":"Atr\xe1s","_closeup1":"Close-up 1","_closeup2":"Close-up 2","_closeup3":"Close-up 3","_front":"Frente","_left":"Esquerda","_other":"Outro","_right":"Direita"},"archived":{"archive":"Arquivo","archived":"Arquivado","articleArchived":"Este artigo est\xe1 arquivado","collectionArchived":"","notArchived":"N\xe3o arquivado","remove":"Remover arquivo"},"article":{"articleMonitoring":"","configureAndAdd":"Configurar e adicionar ao carrinho","deleteWarning":"Tem certeza de que deseja excluir o artigo {{name}}?","description":"Aqui voc\xea pode acessar seus itens que comprou na loja de transfer\xeancias","filters":"Filtros","filters_archived":"Arquvido","filters_category":"Categoria","filters_products":"Produtos","filters_status":"Status","filters_stock":"Estoque","new":"","noHitsContent":"N\xe3o foi poss\xedvel encontrar artigos com os crit\xe9rios de pesquisa atuais","noHitsHeader":"Sem acessos","notDefined":"","orderMonitoringMinNum":"","show":"Mostrar artigos","submitApproval":""},"assortment":{"category_one":"Categoria","category_other":"Categorias"},"bookmark":{"noPages":"Nenhuma p\xe1gina adicionada","pages":"P\xe1ginas","pagesAndTools":"P\xe1ginas e ferramentas","saveAsFavorite":"","tools":"Ferramenta"},"brightness":{"dark":"","light":""},"calendar":{"agenda":"Agenda","allDay":"Todo dia","date":"Data","day":"Dia","event":"Evento","events":"Eventos","importantDates":"Datas importantes","month":"M\xeas","next":"Pr\xf3ximo","noEventsInRange":"N\xe3o h\xe1 eventos neste intervalo.","previous":"Voltar","previousEvents":"Eventos Anteriores","previousYear":"Ano anterior","showAsCalendar":"Mostrar como calend\xe1rio","showAsList":"Mostrar como lista","time":"Tempo","today":"Hoje","tomorrow":"Amanh\xe3","week":"Semana","workWeek":"Semana de trabalho","year":"Ano","yesterday":"Ontem"},"campaign":{"code":"C\xf3digo da campanha","error":"C\xf3digo inv\xe1lido"},"cart":{"addVariation":"Adicionar variante","add_one":"Adicionar ao carrinho","add_other":"Adicionar produtos ao carrinho","addressSelected_one":"","addressSelected_other":"","agreementInfo":"Nunca compartilharemos seu e-mail, endere\xe7o ou qualquer outra informa\xe7\xe3o pessoal com mais ningu\xe9m.","allowSplit":"Permitir dividir pedido?","cart":"Carrinho de compras","checkout":"Fa\xe7a a encomenda","checkout_request":"Pedido de encomenda","chooseQuantity":" Selecionar a quantidade ","configureCheckout":"","continueShopping":"Continuar comprando","createOffer":"Criar oferta","created":"Carrinho criado","depositToStock":"","depositToStockMinText":"","discount":"Desconto","doPayment":"Autorizar pagamento","empty":"Seu carrinho esta vaz\xedo","emptyDo":"Carrinho vazio","emptyFavourite":"Acompanhe seus produtos favoritos clicando aqui","errorCouldNotCalculateRow":"Houve um problema ao confirmar seus pre\xe7os \xfanicos. Mostrando o \xfaltimo pre\xe7o conhecido do produto, se dispon\xedvel.","errorCouldNotCalculateTotal":"Houve um problema ao confirmar seus pre\xe7os \xfanicos e o valor total do pedido. Voc\xea ainda pode fazer o pedido e encontrar\xe1 seus pre\xe7os na confirma\xe7\xe3o do pedido.","errorInvalidProducts":"Alguns produtos n\xe3o s\xe3o compat\xedveis no mesmo pedido. Os produtos inv\xe1lidos permanecer\xe3o no carrinho, mas n\xe3o ser\xe3o inclu\xeddos no pedido atual.","errorInvalidSku":"Inv\xe1lido: o artigo n\xe3o existe.","errorSelectReseller":"Selecione o revendedor","favourite":"Seu favorito","minAmount":"Requer um valor m\xednimo de 40 euros.","minOrderQty":"Quantidade m\xednima de pedido","minOrderQtyInfo":"Caso queira alterar para uma quantidade menor, primeiro \xe9 necess\xe1rio adicionar mais para outro tamanho.","new":"Novo carrinho","noFavourite":"Nenhum favorito ainda.","orderAndDelivery":"","payment":"Pagamento","paymentCancelled":"O pagamento foi cancelado, tente novamente ou selecione outro m\xe9todo de pagamento","paymentError":"Erro de pagamento, tente novamente ou selecione um m\xe9todo de pagamento diferente","paymentrefused":" O pagamento foi recusado, tente escolher um m\xe9todo de pagamento diferente ","qtyAdjustedByArticleQuantity":"Observa\xe7\xe3o! O n\xfamero de montagens excede o saldo de estoque do item e o carrinho de compras ser\xe1 ajustado.","quantity":"Quantidade","quickAdd":"Pedido r\xe1pido","removeVariation":"Remover varia\xe7\xe3o","saveToArticles":"","saveToCart":"","specification":"Especifica\xe7\xe3o de pre\xe7o","startShopping":"Comece a comprar ou use a adi\xe7\xe3o r\xe1pida abaixo e adicione produtos.","swishButton":"Abrir swish","swishInfo":"Para concluir seu pedido, digitalize o c\xf3digo QR no aplicativo swish.","toCart":"Para o carrinho de compras","toastDismissNoOption":"N\xe3o, obrigado","toastDismissText":"Deseja desativar as notifica\xe7\xf5es quando o carrinho de compras for alterado?","toastDismissYesOption":"Sim, desativar","totalSkus":"Total","validationErrorHigher":"Muitos produtos adicionados","validationErrorLower":"Poucos produtos adicionados","warnNoStockAfterTransaction":"","warningCancelPayment":"Pagamento cancelado. Por favor, tente novamente.","warningOrderDisabled":"","warningPriceOverride":"","warningPriceOverrideEnabled":""},"cartFee":{"admin":"Admin. taxa","freight":"Taxas de frete","insurance":"Taxas de seguro","invoice":"Taxas de fatura","postage":"Taxas de postagem","shipping":"Frete"},"collection":{"collection_one":"Cole\xe7\xe3o","collection_other":"Cole\xe7\xf5es","deleteWarning":"Tem certeza de que deseja excluir a cole\xe7\xe3o {{name}}?","description":"Aqui est\xe3o suas cole\xe7\xf5es de produtos refinados.","noContent":"Comece a refinar produtos!","noHitsContent":"Nenhuma cole\xe7\xe3o encontrada com os termos de pesquisa atuais","noSkuWarning":"Os seguintes itens est\xe3o sem quantidade e ser\xe3o removidos: ","refinementsRemovedWarning":"As seguintes refinamentos s\xe3o aplicadas apenas a este item e tamb\xe9m ser\xe3o removidas: ","show":"Mostrar cole\xe7\xf5es","upgrade_product":"Refinar produto","variations_one":"Variante","variations_other":"Variantes"},"color":{"color_one":"Cor","color_other":"Cores","errorNotEnough":"Selecione pelo menos uma cor.","errorTooMany":"Muitas cores para o acabamento escolhido. Remova/ troque cores ou escolha um tipo de acabamento que suporte mais cores.","interpretedByTool":"Interpretado pela ferramenta","interpretedFromFile":"Do seu arquivo","interpretedTitle":"Cores PMS selecionadas","toolInterpretedColors":"A ferramenta escolheu as seguintes cores:","warnInterpreted":"Aten\xe7\xe3o! As cores da imagem s\xe3o escolhidas pela ferramenta e podem parecer diferentes em diferentes telas. Certifique-se de que os c\xf3digos de cores correspondam.","warningAutoBackingColorApplied":"","warningAutoBackingColorNone":""},"colors":{"amber":"\xc2mbar","blue":"Azul","blueGrey":"Azul acinzentado","brown":"Marrom","cyan":"Ciano","deepOrange":"Laranja escuro","deepPurple":"Roxo escuro","green":"Verde","grey":"Cinza","indigo":"Indigo","lightBlue":"Azul claro","lightGreen":"Verde claro","lime":"Lima","orange":"Laranja","pink":"Rosa","purple":"Roxo","red":"Vermelho","teal":"Verde-azulado","yellow":"Amarelo"},"confirmation":{"remove":"Sim, remover"},"contact":{"address":"Morada","city":"Cidade","company":"Empresa","companyNumber":"N\xfamero da empresa","companyText":"Texto da empresa","contactName":"Nome de contato","contactUs":"Contate-nos","country":"Pa\xeds","customerContact":"Informa\xe7\xf5es de contato do servi\xe7o ao cliente","customerContactUs":"Entre em contato com o atendimento ao cliente para mais informa\xe7\xf5es","customerSupport":"Suporte ao cliente","email":"E-mail","firstName":"Primeiro nome","lastName":"Sobrenome","name":"Nome","phone":"N\xfamero de telefone","postalCode":"C\xf3digo postal"},"error":{"cellRowCol":"Linha {{row}}, coluna ({{col}}):","code":"","code_InvalidFormat":"Formato inv\xe1lido.","code_NoValue":"Nenhum valor fornecido.","code_ToLong":"Entrada muito longa.","error":"Erro!","general":"Algo deu errado, tente novamente ou entre em contato com o suporte."},"excel":{"activeConfiguration":"Configura\xe7\xe3o ativa","browserExport":"O arquivo est\xe1 sendo gerado. Isso pode levar v\xe1rios minutos, dependendo da quantidade de dados sendo exportados.","columnRemovalDescription":"Algumas colunas ser\xe3o removidas ao mudar para um n\xedvel de exporta\xe7\xe3o mais baixo. Deseja continuar?","columnRemovalNo":"N\xe3o, manter colunas","columnRemovalTitle":"Alterar n\xedvel de exporta\xe7\xe3o","columnRemovalYes":"Sim, remover colunas","columns":"Colunas","customerPriceDate":"","download":"Baixar arquivo do Excel","downloadCancelled":"Download Cancelado.","emailExport":"O arquivo est\xe1 sendo gerado e ser\xe1 enviado para o seu e-mail quando estiver pronto. Isso pode levar v\xe1rios minutos, dependendo da quantidade de dados sendo exportados.","excel":"Excel","exportLevel":"N\xedvel de exporta\xe7\xe3o","failedLoadPreset":"Falha ao carregar a configura\xe7\xe3o pr\xe9-definida","failedLoadPreview":"Falha ao carregar os dados de visualiza\xe7\xe3o","generate":"Enviar arquivo Excel por e-mail","languages":"Idiomas","name":"Nome","noConfigurations":"N\xe3o h\xe1 configura\xe7\xf5es salvas","noLanguage":"Ser\xe1 usada a linguagem padr\xe3o","savedConfiguration_one":"Configura\xe7\xe3o salva","savedConfiguration_other":"Configura\xe7\xf5es salvas","tabs":"Agrupar em abas do Excel por coluna","toggleConfiguration":"Clique em uma configura\xe7\xe3o para ativ\xe1-la ou desativ\xe1-la","units":"Unidades"},"export":{"added":"Adicionado \xe0 exporta\xe7\xe3o","chosen_product":"Produto escolhido para exporta\xe7\xe3o","chosen_products":"Produtos escolhidos para exporta\xe7\xe3o","fileExportCompleted":"","fileExportFailed":"","images":"Imagens","price":"Pre\xe7o","product":"Produto","removed":"Removido da exporta\xe7\xe3o","search_in":"Pesquisar em","sku":"Artigo / SKU","thresholdWarning":"","variation":"Varia\xe7\xe3o / Cor","various_search":"Pesquisar em v\xe1rias categorias"},"file":{"allowedType":"Tipos de arquivo permitidos","attachments":"Anexos","dragAndDropOrBrowse":"Arraste e solte ou <u>busque</u>","draggingSingleText":"Solte um arquivo aqui para fazer upload","draggingText":"Slolte os arquivos aqui para upload","file_other":"Arquivos","filename":"Nome do arquivo","none":"Nenhum arquivo foi carregado at\xe9 o momento. Adicione algum arquivo!","processFileError":"N\xe3o foi poss\xedvel processar o arquivo.","processFileErrorFileSize":"O arquivo n\xe3o pode ser carregado; excede o tamanho m\xe1ximo permitido de {{value}}MB.","processingFileUpload":"Processando upload de arquivo...","supported":".jpg, .jpeg, .png, .gif, .pdf and .svg. Max 5Mb."},"filter":{"filter":"Filtro","filter_accessories":"Acess\xf3rios","filter_activity":"Actividade","filter_brand":"Marca","filter_care":"Instru\xe7\xf5es de uso","filter_category":"Categoria","filter_certification":"Certifica\xe7\xe3o","filter_color":"Cor","filter_designer":"Designer","filter_feature":"Designer","filter_female":"Feminino","filter_fit":"Fit","filter_gender":"G\xe9nero","filter_male":"Masculino","filter_material":"Marterial t\xe9cnico","filter_neckline":"Decote","filter_other":" Filtros","filter_outlet":"Outlet","filter_range":"Intervalo ","filter_retail":"Venda a retalho","filter_season":"","filter_sleeve":"Tipo de manga","filter_theme":"Assunto","filters":"Filtros"},"general":{"add":"Add","agreeTo":"Concordar com","all":"Todos","auto":"Autom\xe1tico","basis":"","cantChange":"N\xe3o pode ser alterado","changed":"Alterado","close":"Fechar","collapseAll":"Colapso todos","columns":"Colunas","comment":"Coment\xe1rio","commentSet":"Configurar coment\xe1rio","compact":"Compacto","created":"Criado","custom":"","description":"Descri\xe7\xe3o","dontShowAgain":"N\xe3o mostrar novamente","email":"Email","endDate":"Data final","enterPassword":"Digite a senha para continuar.","expand":"Expandir","expandAll":"Expandir todos","expires":"","favourites":"Favoritos","font":"","full":"","hide":"Ocultar","hideAllPages":"Ocultar todas as p\xe1ginas","language":"Linguagem","limitedToCharacters":"Limitado a {{characters}} caracteres.","limitedToInteger":"Limitado a n\xfameros.","limitedToLetters":"Limitado a letras.","limitedToLettersUpper":"Limitado a letras mai\xfasculas.","log":"Registro","logotype":"","maintenance":"Informa\xe7\xe3o importante! Devido a manuten\xe7\xe3o agendada, nosso sistema empresarial estar\xe1 indispon\xedvel a partir das 8:00 AM de 13 de abril. Pedimos desculpas por qualquer inconveniente e informamos que o site n\xe3o funcionar\xe1 normalmente durante este per\xedodo. Esperamos retornar \xe0 opera\xe7\xe3o normal dentro de algumas horas e agradecemos sua paci\xeancia.","mandatory":"Obrigat\xf3rio","minimize":"Minimizar","name":"Nome","new":"Novo","no":"N\xe3o","none":"Nenhum","notifications":"Notifica\xe7\xf5es","password":"Senha","readMore":"Consulte mais informa\xe7\xf5es","safety":"Seguran\xe7a","saveAndClose":"","selected":"Selecionado","settings":"","show":"Mostrar","showAllPages":"Mostrar todas as p\xe1ginas","show_all":"Mostrar tudo","show_less":"Mostrar menos","show_more":" Mostrar mais ","skipToContent":"","standard":"Padr\xe3o","startDate":"Data de in\xedcio","status":"Status","subTitle":"Legenda","summary":"Resumo","tag_one":"Etiqueta","tag_other":"Etiquetas","terms":"Termos e Condi\xe7\xf5es","text":"Texto","text_other":"Textos","thankYou":"Obrigado","title":"T\xedtulo","to":"Para","tools":"Ferramentas","total":"Total","type":"","updated":"Atualizado","url":"Url","view":"Visualizar","weOffer":"Oferecemos","yes":"Sim"},"image":{"angle_one":"","angle_other":"","environment":"Ambiente","image_one":"Imagem","image_other":"Imagens"},"invoice":{"address":" Morada para faturamento","credit":"Ordem de cr\xe9dito","invoice_one":"Fatura","invoice_other":"Faturas"},"logoAppTools":{"asset":"Adicionar novo recurso"},"microshop":{"CustomerNumberSecurityInfo":"A op\xe7\xe3o de seguran\xe7a do n\xfamero do cliente deve ser ativada.","accentColor":"Cor destacada","activate_units":"","addAddon":"Adicionar complemento","addCategory":"Adicionar categoria","addMasterDeliveryAddress":"","addNewUsers":"Adicionar novos usu\xe1rios","addUnit":"Adicionar nova unidade","addons":"Complementos","administrator":"Administrador","agreement":"Aceito","allProducts":"Todos os produtos","alternativeUnitCertifier":"Certificador alternativo","approval":"","assortment":"Variedade","assortmentAvailableVariationsAdded":"","backgroundImage":"Imagem de fundo","bodyFont":"Fonte do corpo do texto","budget":"Or\xe7amento","budget_approval":"","cancelMasterOrderWarning":"Tem certeza que deseja cancelar o pedido principal {{masterOrder}}","cantDeleteWarning":"Possui pedidos pendentes e/ou pedido principal e n\xe3o pode ser deletado.","categoryExists":"Uma categoria com esse nome j\xe1 existe, por favor escolha outro nome","changeOwner":"","changeTo":"","column":"Coluna","confirmDelete":"Confirmar exclus\xe3o","confirmMasterOrder":"Confirmar pedido principal","content":"Conte\xfado","copyShop":"Copiar configura\xe7\xf5es da loja existente","create":"Criar nova microloja","createMasterOrder":"Criar pedido principal a partir de pedidos selecionados","createUser":"Criar novo usu\xe1rio","currency":"Moeda","currentOwner":"Propriet\xe1rio atual","custom":"personalizado","customerInputNone":"Nenhum","customerInputNumber":"N\xfamero","customerInputText":"Texto","customerInputType":"Dados do cliente","databaseError":"Erro de banco de dados","deleteProduct":"Excluir produto","deleteSelectedOrder":"Remover pedidos selecionados","deleteUnit":"Excluir unidade","deleteUnitWarning":"Excluir sua conta remover\xe1 permanent todos os seus dados, incluindo todos os usu\xe1rios, suas configura\xe7\xf5es e todo o conte\xfado que voc\xea criou. Esta a\xe7\xe3o n\xe3o pode ser desfeita.","deleteWarning":"Tem certeza de que deseja excluir a microloja {{name}}?","departmentUnit":"departamento/unidade","descOptionCombine":"Combinar","descOptionDefault":"Padr\xe3o","direct_orders":"","disable_units":"","displayOptions":"","emailWarning":"E-mail inv\xe1lido. Verifique se h\xe1 erros de digita\xe7\xe3o, ortogr\xe1ficos e se o e-mail existe na microloja selecionada.","emptyAssortments":"Sem variedades dispon\xedveis","emptyProducts":"Nenhum produto encontrado","error":"Ocorreu um erro!","excelTemplate":"Modelo Excel","excelTemplateDescription":"Voc\xea pode baixar o exemplo em anexo e us\xe1-lo como ponto de partida para o seu pr\xf3prio arquivo.","files":"arquivos","filesUploaded":"Arquivo(s) carregado(s) e salvo(s)","footColor":"Cor do rodap\xe9","footer":"Rodap\xe9","freeShipping":"Frete gr\xe1tis acima do valor","general":"Geral","handleProductsSettings":"Gerencie pre\xe7os, complementos e categorias","headerFont":"Fonte do cabe\xe7alho","import":"Importar","individual":"Individual (SEK)","input":"Entrada","invalidUrl":"URL inv\xe1lida ou j\xe1 em uso, escolha outra URL","legalNotice":"Not\xedcia legal","lightnessColor":"Lightness","logotype":"Logotipo","look":"Look & feel","mainColor":"Cor Principal","main_orders":"","many_size_products":"","masterOrder":"","microshop":"Microloja","microshop_other":"Microlojas","missingEmail":"Falta o email","missingMicroshop":"Falta a microshop","missingShopUnitName":"Falta o nome da unidade de loja","missingUser":"Faltam usu\xe1rios","new_unit":"Nova Unidade","noFilters":"Sem filtros dispon\xedveis","noHitsContent":"Nenhuma microloja foi encontrada com os crit\xe9rios de pesquisa atuais","noMicroshopFound":"Nenhuma microloja encontrada","noOrders":"Sem pedidos","noOrdersExplanation":"Sua loja n\xe3o cont\xe9m {{orderText}}.","noUserDescription":"Crie novos usu\xe1rios aqui, ou importe!","noUsers":"Ainda n\xe3o h\xe1 usu\xe1rios","notificationOptionDaily":"Vis\xe3o geral di\xe1ria","notificationOptionInstant":"E-mail instant\xe2neo","notificationOptionNone":"Nenhum","notificationsTitle":"Notifica\xe7\xf5es de pedidos","one_size_product":"","orderDeleteWarning":"Tem certeza de que deseja excluir este pedido?","orderPrices":"Pedido e Pre\xe7os","order_flow":"","ordered":"Ordenado","orderrNotificationExplanation":"A notifica\xe7\xe3o por e-mail foi enviada para {{email}}","ordersDeleteWarning":"Tem certeza que deseja deletar os pedidos selecionados","pendingOrders":"Pedidos pendentes","points":"pontos","priceModel":"Modelo de pre\xe7o","priceOptionFixed":"Pre\xe7o fixo","priceOptionNone":"Nenhum","priceOptionRetail":"Com base no pre\xe7o de custo","privacyPolicy":"Pol\xedtica de Privacidade","productAddImages":"Adicionar imagens","productName":"Nome do Produto","productNumber":"N\xfamero de produto","productQuantity":"Quantidade de produto","readyForImport":"O arquivo est\xe1 pronto para ser importado. Continue clicando em \'Importar\'.","refinementsAndAddons":"Marca\xe7\xf5es & complementos","requiresattestation":"Requer atesta\xe7\xe3o","retailModifier":"Taxa de pre\xe7o de custo","retailPrice":"Pre\xe7o de custo","retailPriceExplanation":"Cada produto adicionado \xe0 loja ter\xe1 um pre\xe7o baseado no pre\xe7o de custo do produto.\\nO pre\xe7o \xe9 multiplicado pelo n\xfamero fornecido abaixo","role":"Papel","row":"Linha","saved":"As suas altera\xe7\xf5es foram salvas","securityOptionNone":"Inseguro","securityOptionRegister":"Registrar com conta","securityOptionSecregAndRegister":"Cadastro e senha geral","securityOptionSecret":"Segredo geral","security_protection":"","settings":"Configura\xe7\xf5es","standard":"padr\xe3o","standardPrice":"C\xe1lculo de pre\xe7o padr\xe3o","totalCustomer":"Custo total, cliente","unit":"Unidade","unitBudgetDepartment":"Departamento (SEK)","unitCertifier":"Certificador","unitDeleteWarning":"Tem certeza de que deseja excluir a unidade selecionada?","unitName":"Nome","unitWithChildrenDeleteWarning":"Voc\xea est\xe1 prestes a apagar a unidade \'{{unitName}}\' e todas as unidades subjacentes. Esta a\xe7\xe3o n\xe3o pode ser desfeita. Deseja continuar com a remo\xe7\xe3o?","units":"Unidades","units_other":"","uploadDone":"Upload completo!","uploadedFile":"Arquivo carregado","userInformation":"Informa\xe7\xe3o","value":"Valor","variationExists":"A varia\xe7\xe3o j\xe1 existe","vatExcluded":"","vatIncluded":"","vatIsIncluded":"O IVA est\xe1 inclu\xeddo nos pre\xe7os","vatNotIncluded":"O IVA n\xe3o est\xe1 inclu\xeddo nos pre\xe7os","visitShop":"Visite a loja","welcomeMessage":"Mensagem de boas-vindas","zeroContentAddons":"N\xe3o h\xe1 complementos para a loja, crie complementos na aba \\"{{- tab}}\\".","zeroContentText":"Pesquise produtos ou escolha entre categorias e favoritos para adicionar produtos \xe0 sua sele\xe7\xe3o.","zeroContentTitle":"Ainda n\xe3o h\xe1 produtos selecionados."},"microshopUploadErrorCodes":{"databaseError":"","invalidEmailFormat":"Formato de e-mail inv\xe1lido","invalidIsAttestantValue":"Valor isAttestant inv\xe1lido","invalidManageBudgetValue":"Valor manageBudget inv\xe1lido","invalidRequiresAttestationValue":"Valor requiresAttestation inv\xe1lido","invalidRoleValue":"Valor de fun\xe7\xe3o inv\xe1lido","missingMicroshop":"Microshop ausente","missingOrIncorrectHeaders":"Cabe\xe7alhos ausentes ou incorretos","missingShopUnits":"Unidades de loja ausentes","missingUsers":"Usu\xe1rios ausentes","noDataInFile":"Nenhum dado no arquivo","noFileSelected":"Nenhum arquivo selecionado","noRowsInFile":"Nenhuma linha no arquivo"},"navigation":{"allIn":"Mostrar tudo em","history":"Hist\xf3rico","onThisPage":"Nesta p\xe1gina","page":"P\xe1gina","promoted":"Selecionado","start":"P\xe1gina inicial","toTop":"Para cima"},"news":{"new_one":"Novo","new_other":"Novos","showAll":"Mostrar todas as novidades"},"newsletter":{"subscribed":"Subscrito!"},"offer":{"additionalCost":"Custo adicional","additionalCosts":"Custos adicionais","confirmOffer":"","daysBeforeReminder":"Dias antes do lembrete","discount":"Desconto","discountInfo":"Todos os produtos recebem um desconto percentual.","editName":"Editar nome","expires":"Data de validade","margin":"Margem","marginInfo":"Todos os produtos recebem uma margem em porcentagem.","noProductInfo":"Comece adicionando os produtos acima.","offerPage":"P\xe1gina de ofertas","offerPrice":"Pre\xe7o de oferta","offer_one":"","offer_other":"Ofertas","otherTerms":"Termos de outras ofertas","publicOffer":"Oferta p\xfablica","remove":"Remover oferta","removeConfirmation":"Tem certeza de que deseja remover a oferta","removePublicUrlAlert":"Remover sua oferta p\xfablica?","removePublicUrlAlertConfirm":"Sim, remover.","removePublicUrlAlertContent":"Deseja remover sua oferta p\xfablica da oferta {{name}}?","shareOffer":"Oferta de compartilhamento","visitors":"Visitantes","warnExternalCustomerMissing":""},"order":{"addNewAddress":"Adicionar novo endere\xe7o","adjustment":"Ajuste","allOrdersLast30Days":"","createDelivery_one":"Criar entrega","createDelivery_other":"Criar entregas","createOrder":"Criar pedido","createRepeatOrder":"Criar pedido repetido","createdDeliveries":"Entregas criadas","creditType":"Ordem de cr\xe9dito","customerDetails":"Detalhes do cliente","deleteWarning":"Tem certeza de que deseja excluir a perdido {{name}}?","deliveryAsc":"","deliveryDate":"","deliveryDesc":"","deliveryNote":"Nota de entrega","deliveryNoteNumber":"N\xfamero da nota de entrega","deliveryType":"Tipo de entrega","downloadDeliveryNote":"Download de nota de entrega","downloadExcel":"Download Excel","entire":"Ex. n\xfamero do pedido, refer\xeancia etc.","entirePartnerOrders":"","handleAddresses":"Gerenciar endere\xe7os","handleAddressesAndDeliveries":"Gerenciar endere\xe7os e entregas","history":"Hist\xf3rico de pedidos","infoMessage_boxDesign_partnerOverview":"","lastOrder":"\xdaltimo pedido","masterOrder_other":"Pedidos principais","noHitsContent":"Lembre-se de que voc\xea deve pesquisar por um n\xfamero de pedido completo","noHitsHeader":"Sem acessos","noOrdersLast30Days":"","notes":"Minhas anota\xe7\xf5es","orderNumber":"N\xfamero do pedido","order_one":"Pedido","order_other":"Pedidos","packageLabel":"Etiqueta da embalagem","partner_one":"","paymentType":"Ordem de pagamento","placed":"Seu pedido foi feito com sucesso","placedBy":"Colocado por","reference":"Refer\xeancia do pedido","refinementType":"Pedido de marcagem","removeAddressText":"Deseja remover o endere\xe7o e suas entregas?","removeAddressTitle":"Remover endere\xe7o e entregas? ","removeAddressYesOption":"Remover endere\xe7o","repeat":"","sendOrderDocument":"","setPublicOrderAsCompletedDescription":"Isso marcar\xe1 o pedido como conclu\xeddo e n\xe3o ser\xe1 poss\xedvel adicionar mais entregas. Uma mensagem ser\xe1 enviada ao cliente.","setPublicOrderAsCompletedTitle":"Tem certeza de que deseja concluir?","setPublicOrderAsCompletedYesOption":"Sim, conclua o pedido","showEditArticles":"Mostrar/editar artigos ({{count}})","skuEditorDisabledTitle":"Um pedido s\xf3 pode conter entregas se for colocado em produ\xe7\xe3o. Nesse modo, apenas os endere\xe7os de entrega podem ser alterados.","status":"Status do pedido","statusCreated":"Criado","statusFailed":"Reprovado","statusPlaced":"Indroduzido","system":"","table":"","thankYou_message_customerApproval":"Recebemos sua resposta e entraremos em contato dentro de 24 horas. Se voc\xea tiver alguma d\xfavida, por favor, envie-nos uma mensagem acima!","thankYou_message_rejectToCustomer":"Recebemos sua atualiza\xe7\xe3o e entraremos em contato dentro de 24 horas. Se voc\xea tiver alguma d\xfavida, por favor, envie-nos uma mensagem acima!","track":"Rastrear","type":"Tipo de pedido","viewOrders":"Visualize e gerencie pedidos.","wrongPasswordTryAgain":"A senha que voc\xea digitou est\xe1 incorreta. Por favor, tente novamente."},"orderstatuses":{"approved":"Aprovado","awaitingCustomer":"Aguardando cliente","customerChanges":"Altera\xe7\xf5es do cliente","customerRejected":"","deliveryChanged":"Entrega alterada","expressOrder":"Pedido expresso","inProduction":"Em produ\xe7\xe3o","pinned":"Fixado","rejected":"Rejeitado","unhandled":"N\xe3o tratado"},"orientation":{"landscape":"","orientation":"","portrait":""},"part":{"all":"","part":"","partQty":"","partSizes":""},"pdf":{"aboutUsPage":"Sobre n\xf3s","careCertPage":"Instru\xe7\xf5es de lavado / Certifica\xe7\xf5es","careInstructions":"Instru\xe7\xf5es de lavado","certifications":"Certifica\xe7\xf5es","content":"Conte\xfado","coverPage":"P\xe1gina de in\xedcio","description":"Descri\xe7\xe3o","download":"Download PDF","fabrics":"Material","fullPage":"P\xe1gina inteira","offerItemPrice":"Pre\xe7o da oferta","offertPage":"Oferta","pdf":"","pdfLoading":"Por favor, aguarde enquanto preparamos o seu documento","preview":"Visualiza\xe7\xe3o","productPage":"Produtos","quantity":"Quantidade","recommendedPrice":"Pre\xe7o recomendado","refinementPage":"Marca\xe7\xe3o","sizeGuides":"Guias de tamanhos","tableOfContent":"Tabela de conte\xfados","terms":"Termos","termsTitle":"Termos","titlePage":" Denomina\xe7\xe3o da p\xe1gina ","warnCareWithRefinement":"","weight":"Peso"},"pdfImages":{"environmentImages":"Imagens com modelo","errorRequestSent":"Ocorreu um erro t\xe9cnico e n\xe3o conseguimos preparar as imagens para download. Por favor, entre em contato com o servi\xe7o de atendimento ao cliente.","failedLoadPreview":"Falha ao carregar a pr\xe9-visualiza\xe7\xe3o","highResolution":"4000px (Alta resolu\xe7\xe3o)","imageAltText":"","imageResolution":"Resolu\xe7\xe3o da imagem","loadPreview":"Carregando produtos, por favor, aguarde","noProducts":"Sem Produtos","preferredFileType":"","preview":"1000px (Pr\xe9-visualiza\xe7\xe3o)","productImages":"Imagens do Produto","sendEmail":"Enviar e-mail","showAll":"Mostrar todas as imagens","standardResolution":"","sucessRequestSent":"Estamos preparando as imagens em um arquivo zip e enviaremos para o seu e-mail, pode levar alguns minutos.","thumbnail":"200px (Miniatura)","webpInfo":""},"placement":{"":"","_Button1":"","_Button2":"","_Button3":"","_Button4":"","_Button5":"","_ChestPocketLeft":"","_ChestPocketRight":"","_Front":"","_Generic":"","_InnerSide":"","_Left":"","_OuterSide":"","_Right":"","_SidePocketLeft":"","_SidePocketRight":"","_SleeveLeft":"","_SleeveRight":""},"pmsColorPicker":{"inactivateColor":"","searchPlaceHolder":"","searchZeroContent":""},"price":{"amount":"Quantidade","amountIncVat":"Valor (incluindo IVA)","applyCustomer":"Aplicar pre\xe7o ao cliente","customer":"Pre\xe7o de custo","customerPrice":"","latestPrice":"","noPrice":"Pre\xe7o indispon\xedvel","orderpricelist":"Lista de pre\xe7os do pedido","price":"Pre\xe7o","priceSt":"Pre\xe7o / unid.","priceSuggestion":"Pre\xe7o sugerido","pricelists":"Lista de pre\xe7os","prices":"Pre\xe7os","purchasePrice":"Pre\xe7o de compra","regular_short":"Pr\xeamio comum","retail":"Pre\xe7o recomendado","retailAndCustomer":"Pre\xe7o recomendado e Pre\xe7o de custo","rrp_long":"Pre\xe7o de custo","rrp_short":" Pre\xe7o de custo ","selectedArticle":"","selectedRefinement":"","showNoPrice":"Sem pre\xe7o","subTotal":"Subtotal","tiered":"Pre\xe7o pessoal","totalCart":"","totalValue":"Valor total","total_exVat":"Total (sem IVA)","total_incVat":"Total (incluindo IVA)","vat":"IVA","vatConsumer":""},"product":{"_capacity":"","_closure":"","_colorComment":"Coment\xe1rio de cor","_country":"","_designer":"Designer","_diameter":"Di\xe2metro","_fabrics":"Material","_gender":"G\xeanero","_height":"Altura","_hoodDetails":"","_length":"Comprimento","_limitedEdition":"Edi\xe7\xe3o limitada","_measure":"Medidas","_neckline":"","_packaging":"Embalagem","_pockets":"Bolsos","_presentationDate":"Data de apresenta\xe7\xe3o","_printCode":"C\xf3digo de impress\xe3o","_sleeve":"","_techniqueComment":"Coment\xe1rio t\xe9cnico","_volume":"","_weight":"Peso","_width":"Largura","add":"Adicionar produto","addRemove":"","approveArticles":"Aprovar artigos","articleNumber":"N\xfamero do artigo","article_one":"Artigo","article_other":"Artigos","care":"Instru\xe7\xf5es de lavado","certificates":"certificados","colors":"cores","composition":"Composi\xe7\xe3o","document":"Documento","downloadImage":"","downloadImages":"Download imagens","features":"Caracter\xedsticas","info":"Informa\xe7\xf5es do produto","missingSkus":"Artigos inesistentes","name":"Nome","noProducts":"Nenhum produto","orderDifference":"Diferen\xe7a de pedido","pdfDownload":"Download PDF","product_one":"Produto","product_other":"Produtos","products":"Produtos","related":"Produtos relacionados","relatedGender":"Tamb\xe9m dispon\xedvel como","related_short":"Relacionado","replacement":"Alternativo","search":"Pesquisar produto","searchPlaceholder":"Ex., n\xfamero ou nome do produto","searchPlaceholderProduct":"Ex., n\xfamero ou nome do produto","show":"Mostrar produtos","showLessColors":"Mostrar menos cores","transfer":"Trasnferir","unwantedSkus":"Artigos desconhecidos"},"productAddImagesAfter":"{{added}}/{{max}} (optional)","productTag":{"new":"Novo","newVariation":"Nova cor","outlet":"Outlet","outletVariation":"Cor em promo\xe7\xe3o","sustainable":"Sustent\xe1vel.","upcoming":"Em breve","upcomingVariation":"Pr\xf3xima cor"},"production":{"refinement_one":" Marca\xe7\xf5es"},"proof":{"proof":"Corre\xe7\xe3o","proof_one":"Desenho","proof_other":" Desenhos","service":""},"refinement":{"add":"Adicionar op\xe7\xf5es de processo","addon":"Adicionar","addonVariations":"Varia\xe7\xf5es","articleAddedToDraftInfo":"","articleDraftSuggestionInfo":"","autoAdjustedPlacements":"Observe que outras marca\xe7\xf5es foram ajustadas automaticamente.","awaitingDelivery":"Aguardando produtos","awaitingDeliveryAction":"Aguardando produtos","choose":"Escolha as op\xe7\xf5es do processo","colorBacking":"","colorChange":"Mudan\xe7a de cor","colorChangeColor":"","commentDescription":"Outras solicita\xe7\xf5es","completed":"Produtos transformados","completedAction":"Produtos transformados","create":"","createArticleDraft":"Criar rascunho de artigo","createTextElement":"Criar elemento de texto","customerPublicOrderConfirmSubmit":"Obrigado! O servi\xe7o ao cliente agora revisar\xe1 seu pedido e uma mensagem ser\xe1 enviada quando o pedido for aprovado.","customerPublicOrderInstructions":"Leia a mensagem do servi\xe7o ao cliente no log associado. Clique abaixo para abrir o configurador, alterar e salvar. Quando terminar. Clique em enviar e sinta-se \xe0 vontade para anexar um coment\xe1rio. Se voc\xea tiver mais perguntas sobre o pedido ou a falta de instru\xe7\xf5es, basta enviar um coment\xe1rio. O servi\xe7o ao cliente revisar\xe1 rapidamente suas altera\xe7\xf5es e voc\xea ser\xe1 notificado quando o pedido for aprovado.","customerPublicOrderPriceWarning":"Nota! Os itens do pedido foram alterados e uma nova confirma\xe7\xe3o de pedido ser\xe1 enviada.","deliverNowAndOnwards":"Now and ongoing","deliverWhenInStock":"When all in stock","delivered":"Produtos enviados","deliveredAction":"Produtos enviados","downloadPreviewImage":"Baixar imagem de visualiza\xe7\xe3o","errorNoAvailableRefinements":"","expected":"Entrega prevista","fixedTextPlaceholder":"Seu texto aqui","inProgress":"","invalidTransferAmount":"","latest":"","message":"Mensagem","messages":"Mensagens","minQuantityWarning":"Observa\xe7\xe3o! A cobran\xe7a m\xednima \xe9 para {{minQuantity}} {{articles}} e, portanto, leva a um pre\xe7o unit\xe1rio mais alto para o n\xfamero selecionado.","mountings":"","nameAndTags":"Nome e r\xf3tulos","new":"","noSplitPlaceInfo":"","objectSizeChangedWarning":"","otherInformation":"Diversos","pin":"","placementDescription":"Aqui voc\xea especifica como sua busca deve ser aplicada. Se voc\xea quiser mais superf\xedcies e localiza\xe7\xf5es, precisar\xe1 criar marca\xe7\xf5es adicionais.","placement_one":"Posicionamento","placement_other":"Posicionamentos","positionAutoAdjusted":"A posi\xe7\xe3o da imagem foi ajustada automaticamente para uma superf\xedcie. Use as teclas de seta para ajustar ou clique no \xedm\xe3 para desativar.","proofFinalAcceptText":"Eu aceito minha original/ esbo\xe7o como prova final de design. Nenhuma prova ser\xe1 enviada para mim nesta oferta.","readyForInvoice":"","refinement_one":"Marca\xe7\xf5es","refinement_other":" Marca\xe7\xf5es","reject":"Rejeitado","rejected":" Marca\xe7\xf5es","rejectedAction":"Rejeitado","review_proof":"Abra e reveja sua prova abaixo","send":"Enviar","sendForReviewApprove":"","sender":"Remetente","sourceInfo":"","sourceInfo_Analysis":"O sistema interpretou a cor.","sourceInfo_Custom":"O cliente escolheu a cor por conta pr\xf3pria.","sourceInfo_File":"O arquivo definiu a cor.","startCost":"Custo inicial","uploadFile":"Subir arquivo","userProof":"Prova do usu\xe1rio","variableTextPlaceholder":"Seu texto de exemplo aqui","warnRepeatChanged":"Esta \xe9 uma refinamento repetido. Se voc\xea salvar quaisquer altera\xe7\xf5es, n\xe3o ser\xe1 mais um pedido repetido e os pre\xe7os podem mudar."},"refinementsSelector":{"errorIncompatible":"O arquivo n\xe3o pode ser manipulado pelo produto selecionado: {{selectedProduct}}. Deseja alterar a op\xe7\xe3o do processo?","errorNoCompatible":"","title":"Deseja adicionar uma marca\xe7\xe3o j\xe1 criada?"},"reseller":{"change":"Alterar revendedor","errorNotFound":"N\xe3o encontramos nenhum revendedor conectado ao seu endere\xe7o. Certifique-se de que est\xe1 correto ou procure o revendedor abaixo.","externalSupplier":"Fornecedor externo","openHours":"Hor\xe1rio de funcionamento","reseller_one":"Revendedor","reseller_other":"","search":"Encontre seu revendedor","searchAgreement":"Se voc\xea possui um conv\xeanio, pesquise pelo ID da sua empresa","showAllResellers":"Mostrar todos os revendedores","suggestionFrom":"Sugerimos revendedor com base em","suggestionInfo":"Por favor, preencha seu endere\xe7o para encontrar um revendedor perto de voc\xea."},"salesBoard":{"salesBoard":"Quadro de vendas","section":"","section_budget":"Or\xe7amento","section_compare":"Per\xedodo anterior","section_leaderboard":"Entre os melhores","section_topOrders":"Principais pedidos","section_topProducts":"Principais produtos","section_totalValue":"Valor total","section_visits":"Visitas"},"search":{"empty":"Sem acessos","search":"Procurar"},"seller":{"customer":"Cliente","customerShops":"Microlojas de Clientes","customers":"Clientes","erpNumber":"N\xfamero de cliente","exportedFiles":"","loggedInAs":"Logado como","noCustomers":"Nenhum cliente adicionado","openAs":"Abrir como","orderMonitoring":"Monitoramento de pedidos","orderMonitoringEmpty":"Voc\xea ainda n\xe3o adicionou nenhum cliente para monitorar seus pedidos. Digite o n\xfamero de cliente abaixo para iniciar o monitoramento.","orderMonitoringInfo":"Aqui voc\xea pode acompanhar os pedidos dos seus clientes. Sempre que um cliente fizer um pedido, voc\xea receber\xe1 uma notifica\xe7\xe3o em seu e-mail.","orderMonitoringNotificationInfo":"As notifica\xe7\xf5es ser\xe3o enviadas para: ","orderMonitoringRemoved":"O cliente {{sub.customerName}} ({{sub.customerCode}}) n\xe3o ser\xe1 mais monitorado.","partnerOverview":"Vis\xe3o geral do parceiro","selectCustomer":"Selecione o cliente","seller":"Vendedor","signOutCustomer":"Sair do cliente","warnSellingDisabled":""},"shipment":{"address":"Endere\xe7o de entrega","addressesAndShipmentsTitle":"Endere\xe7os e entregas","date":"Data de entrega","deliveryOptional_other":"Servi\xe7os adicionais","deliveryQuantity":"Quantidade de entrega","deliveryType":"Tipo de entrega","delivery_one":"Entrega","delivery_other":"Entregas","dispatchNote":"Notifica\xe7\xe3o de envio","emailInfo":"O endere\xe7o de e-mail especificado \xe9 usado para enviar notifica\xe7\xe3o de envio e/ou uma confirma\xe7\xe3o simplificada do pedido (sem pre\xe7os)","info":"Informa\xe7\xf5es de envio","manualDelivery":"Entrega manual","new":"Novo endere\xe7o","packageLabel":"Etiqueta da embalagem","qtyArticles":"{{count}} artigo","qtyShipments":"{{count}} entrega","receiver":"","requestDate":"Solicitar data de entrega","requestDateChange":"Deseja alterar a data de entrega?","requestedDate":"Data solicitada","sendTo_one":"Enviar para um endere\xe7o","sendTo_other":"Enviar para v\xe1rios endere\xe7os","shipment":"Remessas","simplifiedOrderConfirm":"Confirma\xe7\xe3o simplificada de pedidos","tracking":"Acompanhe seu pedido","trackingCarrier":"Operador","trackingNumber":"Numero de rastreio","trackingService":"Servi\xe7o","trackingUrl":"URL de acompanhamento","transportType":"Tipo de transporte","warningLongDelivery":"Data de entrega","yourOrderNumber":"Seu n\xfamero de pedido","yourReference":"Sua refer\xeancia"},"size":{"allowedMinMax":"","large":"Grande","size":"Tamanho","sizeguide":"Guia de tamanho","small":"Pequeno"},"sort":{"relevance":"Relev\xe2ncia"},"status":{"accepted":"Aceito","approved":"Aprovado","approvedAction":"Aprovado","cancelled":"Cancelado","completed":"Envio conclu\xeddo","confirmed":"Confirmado","confirmedAction":"Confirmado","draft":"","inproduction":"Em produ\xe7\xe3o","inprogress":"Envio em andamento","invoiced":"Facturado","ok":"","onhold":"","processing":"Em processamento","rejected":"Rejeitado","save_error":"Ocorreu um erro ao salvar","saved":"Guardado","unconfirmed":"N\xe3o confirmado","unconfirmedAction":"N\xe3o confirmado","waiting":"Esperando"},"stock":{"box":"Caixa","enterQuantity":"","estRefill":"Data estimada de reposi\xe7\xe3o de estoque","global":"Global","local":"Local","min":"Min:","mounting":"","operation":"*!Internal - no need to translate*","operation_add":"Adicionar ao estoque","operation_order":"Pe\xe7a diretamente","operation_withdraw":"Retirar do estoque","pcs":"Pe\xe7as","region":"Regi\xe3o","rest":"","stock":"Estoque","stockAfterTransaction":"Stock ap\xf3s transac\xe7\xf5es"},"stockLevel":{"in":"Em estoque","low":"Estoque baixo","no":"Sem estoque","out":"Fora de estoque"},"template":{"copy":"Copiar do modelo","copyDescription":"Copiar configura\xe7\xe3o do modelo salvo. Isso substituir\xe1 sua configura\xe7\xe3o atual.","save":"Salvar como modelo","saveDescription":"Salvar a configura\xe7\xe3o atual como um modelo para uso futuro em outros documentos.","template_one":"Modelo","warnRemove":"Tem certeza de que deseja remover o modelo?","warnTemplateExist":"J\xe1 existe um modelo salvo com este nome. Isso substituir\xe1 o modelo salvo com a configura\xe7\xe3o atual."},"tool":{"noToolsOrServices":"Nenhuma ferramenta ou servi\xe7o adicionado ainda","toolsAndServices":"Minhas ferramentas e servi\xe7os"},"unsavedWarning":{"no":"N\xe3o, descartar altera\xe7\xf5es","text":"Suas altera\xe7\xf5es n\xe3o salvas ser\xe3o descartadas. Deseja salvar?","title":"Salvar altera\xe7\xf5es?","yes":"Sim, salvar"},"user":{"anonymousUsers":"Usu\xe1rios an\xf4nimos","customerErrorLong":"N\xe3o foi poss\xedvel carregar as informa\xe7\xf5es do cliente para o usu\xe1rio. Por favor, tente novamente.","customerErrorShort":"O usu\xe1rio n\xe3o possui informa\xe7\xf5es v\xe1lidas do cliente","customerNumber":"N\xe3o cliente.","customerNumberError":"Insira o n\xfamero completo do cliente","customerWarningLong":"O cliente associado ao usu\xe1rio n\xe3o existe ou as informa\xe7\xf5es sobre o cliente est\xe3o sem usu\xe1rio.","customerWarningShort":"Nenhum cliente v\xe1lido associado ao usu\xe1rio","notLoggedIn":"Nenhum usu\xe1rio logado","proceedAsAnonymous":"Prossiga como an\xf4nimo","refreshFailedText":"Por motivos de seguran\xe7a, voc\xea foi desconectado ap\xf3s um per\xedodo de inatividade.\\nPressione \\"Fazer login novamente\\" para continuar comprando.","refreshFailedTitle":"Voc\xea foi desconectado.","register":"Registro","registeredUsers":"Usu\xe1rios registrados","salesContact":"Contato de vendas","signIn":"Entrar","signInAgain":"Entrar novamente","signInToOrder":"Fa\xe7a login para fazer o pedido","signOut":"Sair","user_other":"Usu\xe1rios","viewAccount":"Visualizar conta"},"validation":{"allRequiredFields":"","email":"E-mail inv\xe1lido","fullNameMaxCharLimit":"O primeiro nome + sobrenome n\xe3o devem exceder {{maxLength}} caracteres","maxCharacterLength":"A entrada \xe9 maior que o comprimento m\xe1ximo permitido de {{maxLength}} caracteres","maxLength_one":"M\xe1ximo {{max}} caracteres","maxLength_other":"M\xe1ximo {{max}} caracteres","minCharacterLength":"A entrada \xe9 menor que o comprimento m\xednimo permitido de {{minLength}} caracteres","mustStartWith":"O valor deve come\xe7ar com um dos seguintes:","noEmailFound":"","phoneInvalid":"N\xfamero de telefone inv\xe1lido","phoneLength":"O n\xfamero de telefone deve ter 8 ou 16 d\xedgitos","required":" Obrigat\xf3rio","requiredAccept":"Por favor aceite"},"variableText":{"inputDataUpdated":"","refinementRowTitle":"","refinementRowTitle_plural":"","validateErrorDesc":"O arquivo carregado cont\xe9m linhas incorretas. Corrija-os e tente novamente.","validateErrorTitle":"{{count}} Erros de valida\xe7\xe3o","validateErrorTitle_plural":"","validateSuccessDesc":"","validateSuccessTitle":""},"warning":{"attention":"","changesPartlyDisabled":"","note":"","refinementWarnings":"","showWarningTexts":""}}'),g=JSON.parse('{"action":{"actions":"Dejanja","add":"Dodaj","apply":"Uporabi","back":"Nazaj","cancel":"Prekli\u010di","change":"Spremeni","change_one":"","change_other":"","clear":"Po\u010disti","configure":"Konfiguriraj","continue":"Nadaljuj","continueWithoutSaving":"Nadaljuj brez shranjevanja","copy":"Kopiraj","create":"Ustvari","download":"Prenesi","duplicate":"","edit":"Uredi","export":"Izvozi","fullScreen":"Celozaslonski na\u010din","message":"Sporo\u010dilo","ok":"V redu","open":"Odpri","pending":"V teku","published":"Objavljeno","rearrangeBoxes":"","refresh":"Osve\u017ei","remove":"Odstrani","rename":"Preimenuj","replace":"Zamenjaj","save":"Shrani","saveWarningText":"Pred nadaljevanjem morate shraniti spremembe. \u017delite shraniti?","saveWarningTitle":"Shranite spremembe?","select":"Izberi","selectOne":"Izberite eno","showBoxes":"","sort":"Razvrstiti","submitChanges":"Po\u0161lji spremembe","submitQuestionComment":"Po\u0161lji vpra\u0161anje/komentar","undo":"Razveljavi"},"angle":{"":"","_back":"Nazaj","_closeup1":"Pribli\u017eek 1","_closeup2":"Pribli\u017eek 2","_closeup3":"Pribli\u017eek 3","_front":"Spredaj","_left":"Levo","_other":"","_right":"Desno"},"archived":{"archive":"Arhiv","archived":"Arhivirano","articleArchived":"Ta \u010dlanek je arhiviran","collectionArchived":"","notArchived":"Ni arhivirano","remove":"Odstrani arhiv"},"article":{"articleMonitoring":"To\u010dka naro\u010dila","configureAndAdd":"Konfiguriraj in dodaj v ko\u0161arico","deleteWarning":"Ste prepri\u010dani, da \u017eelite izbrisati \u010dlanek {{name}}?","description":"Tukaj lahko dostopate do svojih izdelkov, ki ste jih kupili v trgovini za prenose","filters":"","filters_archived":"Arhivirano","filters_category":"Kategorija","filters_products":"Izdelki","filters_status":"Stanje","filters_stock":"Zaloge","new":"","noHitsContent":"Za trenutne iskalne kriterije ni mogo\u010de najti \u010dlankov","noHitsHeader":"Ni zadetkov","notDefined":"Ni dolo\u010deno","orderMonitoringMinNum":"Najmanj\u0161a zaloga","show":"Prika\u017ei \u010dlanke","submitApproval":"Po\u0161lji osnutek v odobritev"},"assortment":{"category_one":"Kategorija","category_other":"Kategorije"},"bookmark":{"noPages":"Trenutno ni dodanih strani","pages":"Strani","pagesAndTools":"Strani in orodja","saveAsFavorite":"Shrani kot priljubljeno","tools":"Orodja"},"brightness":{"dark":"Temno","light":"Svetlo"},"calendar":{"agenda":"Dnevni red","allDay":"Ves dan","date":"Datum","day":"Dan","event":"Dogodek","events":"Dogodki","importantDates":"Pomembni datumi","month":"Mesec","next":"Naslednji","noEventsInRange":"V tem obdobju ni dogodkov.","previous":"Nazaj","previousEvents":"Prej\u0161nji dogodki","previousYear":"Prej\u0161nje leto","showAsCalendar":"Prika\u017ei kot koledar","showAsList":"Prika\u017ei kot seznam","time":"\u010cas","today":"Danes","tomorrow":"Jutri","week":"Teden","workWeek":"Delovni teden","year":"Leto","yesterday":"V\u010deraj"},"campaign":{"code":"Koda kampanje","error":"Neveljavna koda"},"cart":{"addVariation":"Dodaj razli\u010dico","add_one":"Dodaj v ko\u0161arico","add_other":"Dodaj izdelke v ko\u0161arico","addressSelected_one":"","addressSelected_other":"","agreementInfo":"Va\u0161ega e-po\u0161tnega naslova, naslova ali drugih osebnih podatkov nikoli ne bomo delili z drugimi.","allowSplit":"Dovolite razdelitev naro\u010dila?","cart":"Nakupovalna ko\u0161arica","checkout":"Oddaj naro\u010dilo","checkout_request":"Oddaj zahtevek za naro\u010dilo","chooseQuantity":"Izberite koli\u010dino","configureCheckout":"","continueShopping":"Nadaljujte z nakupovanjem","createOffer":"Ustvari ponudbo","created":"Ko\u0161arica ustvarjena","depositToStock":"","depositToStockMinText":"","discount":"Popust","doPayment":"Avtoriziraj pla\u010dilo","empty":"Va\u0161a ko\u0161arica je prazna","emptyDo":"Izprazni ko\u0161arico","emptyFavourite":"Tukaj lahko spremljate svoje najljub\u0161e izdelke s klikom na ","errorCouldNotCalculateRow":"","errorCouldNotCalculateTotal":"","errorInvalidProducts":"Nekateri izdelki niso zdru\u017eljivi v istem naro\u010dilu. Neveljavni izdelki bodo ostali v ko\u0161arici, vendar ne bodo vklju\u010deni v trenutno naro\u010dilo.","errorInvalidSku":"Neveljavno: Izdelek ne obstaja.","errorSelectReseller":"Prosimo, izberite prodajalca","favourite":"Va\u0161i najljub\u0161i izdelki","minAmount":"Zahteva minimalno vrednost 40 dolarjev.","minOrderQty":"Minimalna koli\u010dina naro\u010dila","minOrderQtyInfo":"\u010ce \u017eelite zmanj\u0161ati koli\u010dino, morate najprej dodati ve\u010dje velikosti.","new":"Nova ko\u0161arica","noFavourite":"\u0160e ni priljubljenih izdelkov.","orderAndDelivery":"","payment":"Pla\u010dilo","paymentCancelled":"Pla\u010dilo je bilo preklicano. Poskusite znova ali izberite drugo mo\u017enost pla\u010dila.","paymentError":"Napaka pri pla\u010dilu. Poskusite znova ali izberite drugo mo\u017enost pla\u010dila.","paymentrefused":"Pla\u010dilo je bilo zavrnjeno. Poskusite izbrati drugo mo\u017enost pla\u010dila.","qtyAdjustedByArticleQuantity":"Opozorilo! \u0160tevilo monta\u017e presega zalogo izdelka, in ko\u0161arica bo prilagojena.","quantity":"Koli\u010dina","quickAdd":"Hitro naro\u010dilo","removeVariation":"Odstrani razli\u010dico","saveToArticles":"","saveToCart":"","specification":"Specifikacija cene","startShopping":"Za\u010dnite nakupovanje ali uporabite hitro dodajanje spodaj in dodajte izdelke.","swishButton":"Odpri Swish","swishInfo":"Za dokon\u010danje naro\u010dila preberite QR kodo v aplikaciji Swish.","toCart":"V nakupovalno ko\u0161arico","toastDismissNoOption":"Ne, hvala","toastDismissText":"Ali \u017eelite onemogo\u010diti obvestila, ko se spremeni vsebina nakupovalne ko\u0161arice?","toastDismissYesOption":"Da, onemogo\u010di","totalSkus":"Skupaj","validationErrorHigher":"Dodanih je preve\u010d izdelkov","validationErrorLower":"Dodanih je premalo izdelkov","warnNoStockAfterTransaction":"","warningCancelPayment":"Pla\u010dilo je preklicano. Poskusite znova.","warningOrderDisabled":"","warningPriceOverride":"","warningPriceOverrideEnabled":""},"cartFee":{"admin":"Upravna pristojbina","freight":"Prispevki za prevoz","insurance":"Prispevki za zavarovanje","invoice":"Prispevki za ra\u010dun","postage":"Prispevki za po\u0161tnino","shipping":"Stro\u0161ki po\u0161iljanja"},"collection":{"collection_one":"Zbirka","collection_other":"Zbirke","deleteWarning":"Ste prepri\u010dani, da \u017eelite izbrisati zbirko {{name}}?","description":"Tukaj so va\u0161e zbirke prefinjenih izdelkov.","noContent":"Za\u010dnite s prefinjevanjem izdelkov!","noHitsContent":"Ni bilo mogo\u010de najti zbirk z aktualnimi iskalnimi izrazi","noSkuWarning":"Naslednji izdelki nimajo koli\u010dine in bodo odstranjeni: ","refinementsRemovedWarning":"Naslednje prefinitve se nana\u0161ajo le na ta izdelek in bodo prav tako odstranjene: ","show":"Prika\u017ei zbirke","upgrade_product":"Prefini izdelek","variations_one":"Varianta","variations_other":"Variante"},"color":{"color_one":"Barva","color_other":"Barve","errorNotEnough":"Izbrati morate barvo","errorTooMany":"Preve\u010d barv za izbrano mo\u017enost procesiranja. Odstranite / zdru\u017eite barve ali izberite obdelavo, ki podpira ve\u010d barv.","interpretedByTool":"razlagano s pomo\u010djo orodja","interpretedFromFile":"iz va\u0161e datoteke","interpretedTitle":"Izbrane barve PMS","toolInterpretedColors":"Orodje je izbralo naslednje barve:","warnInterpreted":"Opomba! Barve slike so izbrane s pomo\u010djo orodja in se lahko na razli\u010dnih zaslonih razlikujejo. Poskrbite, da se barvne kode ujemajo \u010dim natan\u010dneje.","warningAutoBackingColorApplied":"","warningAutoBackingColorNone":""},"colors":{"amber":"Jantar","blue":"Modra","blueGrey":"Modro siva","brown":"Rjava","cyan":"Cijan","deepOrange":"Globoko oran\u017ena","deepPurple":"Globoko vijoli\u010dna","green":"Zelena","grey":"Siva","indigo":"Indigo","lightBlue":"Svetlo modra","lightGreen":"Svetlo zelena","lime":"Limeta","orange":"Oran\u017ena","pink":"Roza","purple":"Vijoli\u010dna","red":"Rde\u010da","teal":"Modrozelena","yellow":"Rumena"},"confirmation":{"remove":"Da, odstrani"},"contact":{"address":"Naslov","city":"Mesto","company":"Podjetje","companyNumber":"Mati\u010dna \u0161tevilka podjetja","companyText":"Besedilo podjetja","contactName":"Ime stika","contactUs":"Stopite v stik z nami","country":"Dr\u017eava","customerContact":"Kontaktni podatki za storitev za stranke","customerContactUs":"Za ve\u010d informacij stopite v stik s slu\u017ebo za podporo strankam","customerSupport":"Podpora strankam","email":"E-po\u0161ta","firstName":"Ime","lastName":"Priimek","name":"Ime","phone":"Telefonska \u0161tevilka","postalCode":"Po\u0161tna \u0161tevilka"},"error":{"cellRowCol":"Vrstica {{row}}, stolpec ({{col}}):","code":"","code_InvalidFormat":"Neveljaven format.","code_NoValue":"Ni vrednosti.","code_ToLong":"Preve\u010d znakov.","error":"Napaka!","general":"Nekaj je \u0161lo narobe, poskusite znova ali se obrnite na podporo."},"excel":{"activeConfiguration":"Aktivna konfiguracija","browserExport":"Datoteka se generira. To lahko traja nekaj minut glede na koli\u010dino izva\u017eanih podatkov.","columnRemovalDescription":"Nekatere stolpce bomo odstranili ob preklopu na ni\u017ejo stopnjo izvoza. \u017delite nadaljevati?","columnRemovalNo":"Ne, ohrani stolpce","columnRemovalTitle":"Spremeni stopnjo izvoza","columnRemovalYes":"Da, odstrani stolpce","columns":"Stolpci","customerPriceDate":"","download":"Prenesi datoteko Excel","downloadCancelled":"Prenos preklican.","emailExport":"Datoteka se generira in bo poslana na va\u0161 e-po\u0161tni naslov, ko bo pripravljena. To lahko traja nekaj minut glede na koli\u010dino izva\u017eanih podatkov.","excel":"Excel","exportLevel":"Stopnja izvoza","failedLoadPreset":"Nalaganje prednastavitve ni uspelo","failedLoadPreview":"Nalaganje predoglednih podatkov ni uspelo","generate":"Po\u0161lji datoteko Excel na e-po\u0161to","languages":"Jeziki","name":"Ime","noConfigurations":"Ni shranjenih konfiguracij","noLanguage":"Uporabljal se bo privzeti jezik","savedConfiguration_one":"Shranjena konfiguracija","savedConfiguration_other":"Shranjene konfiguracije","tabs":"Skupina v zavihke Excel po stolpcu","toggleConfiguration":"Kliknite na konfiguracijo, da jo vklopite ali izklopite","units":"Enote"},"export":{"added":"Dodano v izvoz","chosen_product":"Izbran izdelek za izvoz","chosen_products":"Izbrani izdelki za izvoz","fileExportCompleted":"","fileExportFailed":"","images":"Slike","price":"Cena","product":"Izdelek","removed":"Odstranjeno iz izvoza","search_in":"Iskanje v","sku":"\u010clanek / SKU","thresholdWarning":"","variation":"Variacija / Barva","various_search":"Iskanje v ve\u010d kategorijah"},"file":{"allowedType":"Dovoljeni tipi datotek","attachments":"Priloge","dragAndDropOrBrowse":"Povlecite in spustite ali <u>brskajte</u>","draggingSingleText":"Spustite datoteko tukaj za nalaganje","draggingText":"Spustite datoteke tukaj za nalaganje","file_other":"Datoteke","filename":"Ime datoteke","none":"Ni \u0161e nalo\u017eenih datotek. Dodajte nekaj datotek!","processFileError":"Datoteke ni mogo\u010de obdelati.","processFileErrorFileSize":"Datoteka ne more biti nalo\u017eena; presega najve\u010djo dovoljeno velikost {{value}}MB.","processingFileUpload":"Obdelava nalaganja datoteke...","supported":".jpg, .jpeg, .png, .gif, .pdf in .svg. Najve\u010d 5 MB."},"filter":{"filter":"Filter","filter_accessories":"Dodatki","filter_activity":"Aktivnost","filter_brand":"Znamka","filter_care":"Navodila za nego","filter_category":"Kategorija","filter_certification":"Certifikat","filter_color":"Barva","filter_designer":"Oblikovalec","filter_feature":"Zna\u010dilnost","filter_female":"\u017denski","filter_fit":"Prileganje","filter_gender":"Spol","filter_male":"Mo\u0161ki","filter_material":"Tehnika materiala","filter_neckline":"Izrez","filter_other":"Filtri","filter_outlet":"Izstop","filter_range":"Obseg","filter_retail":"","filter_season":"Sezona trgovine","filter_sleeve":"Vrsta rokava","filter_theme":"Tema","filters":"Filtri"},"general":{"add":"Dodaj","agreeTo":"Sogla\u0161am z","all":"Vse","auto":"","basis":"Osnova","cantChange":"Ni mogo\u010de spremeniti","changed":"Spremenjeno","close":"Zapri","collapseAll":"Strni vse","columns":"Stolpci","comment":"Komentar","commentSet":"Nastavi komentar","compact":"","created":"Ustvarjeno","custom":"Po meri","description":"Opis","dontShowAgain":"Ne prika\u017ei ve\u010d","email":"E-po\u0161ta","endDate":"Kon\u010dni datum","enterPassword":"Za nadaljevanje vnesite geslo.","expand":"Raz\u0161iri","expandAll":"Raz\u0161iri vse","expires":"","favourites":"Priljubljeno","font":"","full":"Polno","hide":"Skrij","hideAllPages":"Skrij vse strani","language":"Jezik","limitedToCharacters":"Omejeno na {{characters}} znakov.","limitedToInteger":"Omejeno na \u0161tevilke.","limitedToLetters":"Omejeno na \u010drke.","limitedToLettersUpper":"Omejeno na velike \u010drke.","log":"Dnevnik","logotype":"Logotip","maintenance":"Pomembne informacije! Zaradi na\u010drtovanih vzdr\u017eevalnih del na\u0161 poslovni sistem ne bo na voljo pribli\u017eno od 8:00 13. aprila dalje. Opravi\u010dujemo se za morebitne nev\u0161e\u010dnosti in vas obve\u0161\u010damo, da spletna stran v tem \u010dasu ne bo delovala normalno. Pri\u010dakujemo, da se bo delovanje vrnilo v normalno stanje v nekaj urah in cenimo va\u0161e potrpljenje.","mandatory":"Obvezno","minimize":"Pomanj\u0161aj","name":"Ime","new":"Novo","no":"Ne","none":"Brez","notifications":"Obvestila","password":"Geslo","readMore":"Preberi ve\u010d","safety":"Varnost","saveAndClose":"","selected":"Izbrano","settings":"Nastavitve","show":"Poka\u017ei","showAllPages":"Poka\u017ei vse strani","show_all":"Poka\u017ei vse","show_less":"Poka\u017ei manj","show_more":"Poka\u017ei ve\u010d","skipToContent":"Pojdi na vsebino","standard":"Standard","startDate":"Za\u010detni datum","status":"Stanje","subTitle":"Podnaslov","summary":"Povzetek","tag_one":"Oznaka","tag_other":"Oznake","terms":"Pogoji in dolo\u010dila","text":"Besedilo","text_other":"Besedila","thankYou":"Hvala","title":"Naziv","to":"Do","tools":"Orodja","total":"Skupaj","type":"","updated":"Posodobljeno","url":"URL","view":"Poglej","weOffer":"Ponujamo","yes":"Da"},"image":{"angle_one":"Kot","angle_other":"Koti","environment":"","image_one":"","image_other":""},"invoice":{"address":"Naslov za ra\u010dun","credit":"Kreditno naro\u010dilo","invoice_one":"Ra\u010dun","invoice_other":"Ra\u010duni"},"logoAppTools":{"asset":"Dodaj novo sredstvo"},"microshop":{"CustomerNumberSecurityInfo":"Varnostna mo\u017enost mora biti aktivirana.","accentColor":"Barva poudarka","activate_units":"","addAddon":"Dodaj dodatek","addCategory":"Dodaj kategorijo","addMasterDeliveryAddress":"","addNewUsers":"Dodaj nove uporabnike","addUnit":"Dodaj novo enoto","addons":"Dodatki","administrator":"Skrbnik","agreement":"Soglasje","allProducts":"Vsi izdelki","alternativeUnitCertifier":"Alternativni certifikator","approval":"","assortment":"Asortiman","assortmentAvailableVariationsAdded":"Vse mo\u017ene variacije so bile dodane v asortiman","backgroundImage":"Slika ozadja","bodyFont":"Pisava telesa","budget":"Prora\u010dun","budget_approval":"","cancelMasterOrderWarning":"Ste prepri\u010dani, da \u017eelite preklicati glavno naro\u010dilo {{masterOrder}}","cantDeleteWarning":"Imate neposredna naro\u010dila in/ali glavna naro\u010dila in jih ni mogo\u010de izbrisati.","categoryExists":"Kategorija s tem imenom \u017ee obstaja, izberite drugo ime","changeOwner":"Spremeni lastnika","changeTo":"Spremeni v","column":"Stolpec","confirmDelete":"Potrdi brisanje","confirmMasterOrder":"Potrdi glavno naro\u010dilo","content":"Vsebina","copyShop":"Kopirajte nastavitve iz obstoje\u010de trgovine","create":"Ustvari novo mikrotrgovino","createMasterOrder":"Ustvarite glavno naro\u010dilo izbranih naro\u010dil","createUser":"Ustvari novega uporabnika","currency":"Valuta","currentOwner":"","custom":"po meri","customerInputNone":"Brez","customerInputNumber":"\u0160tevilka","customerInputText":"Besedilo","customerInputType":"Vnos stranke","databaseError":"Napaka v zbirki podatkov","deleteProduct":"Izbri\u0161i izdelek","deleteSelectedOrder":"Odstrani izbrana naro\u010dila","deleteUnit":"Izbri\u0161i enoto","deleteUnitWarning":"Brisanje ra\u010duna bo trajno odstranilo vse va\u0161e podatke, vklju\u010dno z vsemi uporabniki, nastavitvami in vso ustvarjeno vsebino. Tega dejanja ni mogo\u010de razveljaviti.","deleteWarning":"Ste prepri\u010dani, da \u017eelite izbrisati mikrotrgovino {{name}}?","departmentUnit":"oddelek/enota","descOptionCombine":"Kombiniraj","descOptionDefault":"Privzeto","direct_orders":"","disable_units":"","displayOptions":"","emailWarning":"Neveljaven e-po\u0161tni naslov. Preverite \u010drkovalne napake, slovni\u010dne napake in ali e-po\u0161ta obstaja v izbrani mikrotrgovini.","emptyAssortments":"Ni asortimana za izbiro","emptyProducts":"Ni najdenih izdelkov","error":"Pri\u0161lo je do napake!","excelTemplate":"Excel predloga","excelTemplateDescription":"Prenesete lahko prilo\u017een primer in ga uporabite kot izhodi\u0161\u010de za svojo datoteko.","files":"Datoteke","filesUploaded":"Datoteka/e je/si nalo\u017eena/e in shranjena/e","footColor":"Barva noge","footer":"Noga strani","freeShipping":"Brezpla\u010dna dostava nad zneskom","general":"Splo\u0161no","handleProductsSettings":"Upravljanje cen, dodatkov in kategorij","headerFont":"Pisava glave","import":"Uvozi","individual":"Posameznik (SEK)","input":"Vnos","invalidUrl":"URL \u017ee obstaja ali vsebuje piko, izberite drug URL","legalNotice":"Pravno obvestilo","lightnessColor":"Svetlost","logotype":"Logotip","look":"Izgled in ob\u010dutek","mainColor":"Glavna barva","main_orders":"","many_size_products":"","masterOrder":"","microshop":"Mikrotrgovina","microshop_other":"Mikrotrgovine","missingEmail":"Manjka e-po\u0161ta","missingMicroshop":"Manjka Microshop","missingShopUnitName":"Manjka ime enote trgovine","missingUser":"Manjkajo uporabniki","new_unit":"Nova Enota","noFilters":"Ni filtrov za izbiro","noHitsContent":"Z aktualnimi iskalnimi kriteriji ni mogo\u010de najti mikrotrgovin","noMicroshopFound":"Mikrotrgovina ni bila najdena","noOrders":"Ni naro\u010dil","noOrdersExplanation":"Va\u0161a trgovina ne vsebuje {{orderText}}.","noUserDescription":"Ustvarite nove uporabnike tukaj ali uvozite!","noUsers":"\u0160e ni uporabnikov","notificationOptionDaily":"Dnevni pregled","notificationOptionInstant":"Takoj\u0161nje obvestilo prek e-po\u0161te","notificationOptionNone":"Brez","notificationsTitle":"Obvestila o naro\u010dilih","one_size_product":"","orderDeleteWarning":"Ste prepri\u010dani, da \u017eelite izbrisati to naro\u010dilo?","orderPrices":"Naro\u010dilo in cene","order_flow":"","ordered":"Naro\u010deno","orderrNotificationExplanation":"Obvestilo prek e-po\u0161te je bilo poslano na {{email}}","ordersDeleteWarning":"Ste prepri\u010dani, da \u017eelite izbrisati izbrana naro\u010dila","pendingOrders":"Neposredna naro\u010dila","points":"to\u010dke","priceModel":"Model cen","priceOptionFixed":"Fiksna cena","priceOptionNone":"Brez","priceOptionRetail":"Na osnovi maloprodajne cene","privacyPolicy":"Politika zasebnosti","productAddImages":"Dodaj slike","productName":"Ime izdelka","productNumber":"\u0160tevilka izdelka","productQuantity":"Koli\u010dina izdelka","readyForImport":"Datoteka je pripravljena za uvoz. Nadaljujte s klikom na \'Uvozi\'.","refinementsAndAddons":"Izbolj\u0161ave & dodatki","requiresattestation":"Zahteva overitev","retailModifier":"Razmerje maloprodajne cene","retailPrice":"Maloprodajna cena","retailPriceExplanation":"Vsak izdelek, ki je dodan v trgovino, bo imel ceno na osnovi maloprodajne cene izdelka.\\nCeno pomno\u017eimo z dano \u0161tevilko spodaj","role":"Vloga","row":"Vrstica","saved":"Va\u0161e spremembe so bile shranjene","securityOptionNone":"Brez varnosti","securityOptionRegister":"Registracija s ra\u010dunom","securityOptionSecregAndRegister":"Registracija in splo\u0161no geslo","securityOptionSecret":"Splo\u0161na skrivnost","security_protection":"","settings":"Nastavitve","standard":"standard","standardPrice":"Standardni izra\u010dun cene","totalCustomer":"Skupni stro\u0161ek za stranko","unit":"Enota","unitBudgetDepartment":"Oddelek (SEK)","unitCertifier":"Certifikator","unitDeleteWarning":"Ali ste prepri\u010dani, da \u017eelite izbrisati izbrano enoto?","unitName":"Ime","unitWithChildrenDeleteWarning":"Ste na tem, da izbri\u0161ete enoto \'{{unitName}}\' in vse osnovne enote. Tega dejanja ni mogo\u010de razveljaviti. Ali \u017eelite nadaljevati z odstranitvijo?","units":"Enote","units_other":"","uploadDone":"Nalaganje je kon\u010dano!","uploadedFile":"Nalo\u017eena datoteka","userInformation":"Informacije","value":"Vrednost","variationExists":"Variacija \u017ee obstaja","vatExcluded":"","vatIncluded":"","vatIsIncluded":"DDV je vklju\u010den v cene","vatNotIncluded":"DDV ni vklju\u010den v cene","visitShop":"Obi\u0161\u010dite trgovino","welcomeMessage":"Sporo\u010dilo dobrodo\u0161lice","zeroContentAddons":"Za trgovino ni dodatkov, ustvarite jih v zavihku \\"{{- tab}}\\".","zeroContentText":"I\u0161\u010dite izdelke ali izbirajte med kategorijami in priljubljenimi za dodajanje izdelkov v svoj asortiman.","zeroContentTitle":"\u0160e ni izbranih izdelkov."},"microshopUploadErrorCodes":{"databaseError":"","invalidEmailFormat":"Neveljaven e-po\u0161tni format","invalidIsAttestantValue":"Neveljavna vrednost isAttestant","invalidManageBudgetValue":"Neveljavna vrednost manageBudget","invalidRequiresAttestationValue":"Neveljavna vrednost requiresAttestation","invalidRoleValue":"Neveljavna vrednost vloge","missingMicroshop":"Manjka mikroshop","missingOrIncorrectHeaders":"Manjkajo\u010de ali napa\u010dne glave","missingShopUnits":"Manjkajo\u010de trgovske enote","missingUsers":"Manjkajo uporabniki","noDataInFile":"Ni podatkov v datoteki","noFileSelected":"Nobena datoteka ni izbrana","noRowsInFile":"Ni vrstic v datoteki"},"navigation":{"allIn":"Prika\u017ei vse v","history":"Zgodovina","onThisPage":"Na tej strani","page":"Stran","promoted":"Izbrano","start":"Za\u010detna stran","toTop":"Na vrh"},"news":{"new_one":"Novica","new_other":"Novice","showAll":"Poka\u017ei vse novice"},"newsletter":{"subscribed":"Naro\u010deno!"},"offer":{"additionalCost":"Dodatni stro\u0161ek","additionalCosts":"Dodatni stro\u0161ki","confirmOffer":"","daysBeforeReminder":"Opomnik - dni pred potekom","discount":"Popust","discountInfo":"Vsem izdelkom je dodeljen popust v odstotkih.","editName":"Uredi ime","expires":"Datum poteka","margin":"Mar\u017ea","marginInfo":"Vsem izdelkom je dodeljena mar\u017ea v odstotkih.","noProductInfo":"Za\u010dnite z dodajanjem izdelkov zgoraj.","offerPage":"Stran s ponudbo","offerPrice":"Cena ponudbe","offer_one":"Ponudba","offer_other":"Ponudbe","otherTerms":"Pogoji iz drugih ponudb","publicOffer":"Javna ponudba","remove":"Odstrani ponudbo","removeConfirmation":"Ste prepri\u010dani, da \u017eelite odstraniti ponudbo","removePublicUrlAlert":"Odstranite svojo javno ponudbo?","removePublicUrlAlertConfirm":"Da, odstrani.","removePublicUrlAlertContent":"Ali \u017eelite odstraniti svojo javno ponudbo iz ponudbe {{name}}?","shareOffer":"Deli ponudbo","visitors":"Obiskovalci","warnExternalCustomerMissing":""},"order":{"addNewAddress":"Dodaj nov naslov","adjustment":"Prilagoditev","allOrdersLast30Days":"","createDelivery_one":"Ustvari dostavo","createDelivery_other":"Ustvari dostave","createOrder":"Ustvari naro\u010dilo","createRepeatOrder":"Ustvari ponavljajo\u010de se naro\u010dilo","createdDeliveries":"Ustvarjene dostave","creditType":"Naro\u010dilo na kredit","customerDetails":"Podatki o stranki","deleteWarning":"Ste prepri\u010dani, da \u017eelite izbrisati naro\u010dilo {{name}}?","deliveryAsc":"Nara\u0161\u010dajo\u010d datum dostave","deliveryDate":"Datum dostave","deliveryDesc":"Padajo\u010d datum dostave","deliveryNote":"Opomba k dostavi","deliveryNoteNumber":"\u0160tevilka dostavnice","deliveryType":"Vrsta dostave","downloadDeliveryNote":"Prenos dostavnice","downloadExcel":"Prenos Excela","entire":"Npr. \u0161tevilka naro\u010dila, referenca itd.","entirePartnerOrders":"Npr. \u0161tevilka naro\u010dila, ime dostave, e-po\u0161ta itd.","handleAddresses":"Upravljanje naslovov","handleAddressesAndDeliveries":"Upravljanje naslovov in dostav","history":"Zgodovina naro\u010dila","infoMessage_boxDesign_partnerOverview":"","lastOrder":"Zadnje naro\u010dilo","masterOrder_other":"Glavna naro\u010dila","noHitsContent":"Pomnite, da morate iskati po celotni \u0161tevilki naro\u010dila","noHitsHeader":"Brez rezultatov","noOrdersLast30Days":"","notes":"Moje opombe","orderNumber":"\u0160tevilka naro\u010dila","order_one":"Naro\u010dilo","order_other":"Naro\u010dila","packageLabel":"Oznaka paketa","partner_one":"production","paymentType":"Naro\u010dilo za pla\u010dilo","placed":"Va\u0161e naro\u010dilo je bilo uspe\u0161no oddano","placedBy":"Oddano s strani","reference":"Sklic naro\u010dila","refinementType":"Naro\u010dilo za dodelavo","removeAddressText":"Ali \u017eelite odstraniti naslov in njegove dostave?","removeAddressTitle":"Odstrani naslov in dostave?","removeAddressYesOption":"Da, odstrani naslov","repeat":"","sendOrderDocument":"","setPublicOrderAsCompletedDescription":"To bo ozna\u010dilo naro\u010dilo kot kon\u010dano in dodatne dostave ne bodo mogle biti dodane. Stranka bo prejela obvestilo.","setPublicOrderAsCompletedTitle":"Ste prepri\u010dani, da \u017eelite ozna\u010diti kot kon\u010dano?","setPublicOrderAsCompletedYesOption":"Da, ozna\u010di kot kon\u010dano","showEditArticles":"Prika\u017ei/uredi \u010dlanke ({{count}})","skuEditorDisabledTitle":"Naro\u010dilo lahko vsebuje samo dostave, \u010de je v proizvodnji. V tem na\u010dinu lahko spremenite samo naslove dostave.","status":"Stanje naro\u010dila","statusCreated":"Ustvarjeno","statusFailed":"Neuspe\u0161no","statusPlaced":"Oddano","system":"","table":"","thankYou_message_customerApproval":"Prejeli smo va\u0161 odgovor in se vam bomo oglasili v roku 24 ur. \u010ce imate kakr\u0161nakoli vpra\u0161anja, nam prosim po\u0161ljite sporo\u010dilo zgoraj!","thankYou_message_rejectToCustomer":"Prejeli smo va\u0161o dopolnitev in se vam bomo oglasili v roku 24 ur. \u010ce imate kakr\u0161nakoli vpra\u0161anja, nam prosim po\u0161ljite sporo\u010dilo zgoraj!","track":"Sledi naro\u010dilu","type":"Vrsta naro\u010dila","viewOrders":"Ogled in upravljanje naro\u010dil.","wrongPasswordTryAgain":"Geslo, ki ste ga vnesli, ni pravilno. prosim poskusite ponovno"},"orderstatuses":{"approved":"Odobreno","awaitingCustomer":"\u010cakajo\u010d stranko","customerChanges":"Spremembe stranke","customerRejected":"","deliveryChanged":"Spremenjena dostava","expressOrder":"Nujno naro\u010dilo","inProduction":"V proizvodnji","pinned":"Pripeto","rejected":"Zavrnjeno","unhandled":"Neobdelano"},"orientation":{"landscape":"","orientation":"","portrait":""},"part":{"all":"","part":"","partQty":"","partSizes":""},"pdf":{"aboutUsPage":"O nas","careCertPage":"Navodila za nego / Certifikati","careInstructions":"Navodila za nego","certifications":"Certifikati","content":"Vsebina","coverPage":"Naslovnica","description":"Opis","download":"Prenos PDF","fabrics":"Material","fullPage":"","offerItemPrice":"Cena ponudbe","offertPage":"Ponudba","pdf":"","pdfLoading":"Po\u010dakajte, da pripravimo va\u0161o ponudbo","preview":"Predogled","productPage":"Izdelki","quantity":"Koli\u010dina","recommendedPrice":"Priporo\u010dena cena","refinementPage":"Dodelave","sizeGuides":"Vodniki za velikost","tableOfContent":"Kazalo","terms":"Pogoji","termsTitle":"Pogoji","titlePage":"Naslovna stran","warnCareWithRefinement":"","weight":"Te\u017ea"},"pdfImages":{"environmentImages":"","errorRequestSent":"","failedLoadPreview":"","highResolution":"","imageAltText":"","imageResolution":"","loadPreview":"","noProducts":"","preferredFileType":"","preview":"","productImages":"","sendEmail":"","showAll":"","standardResolution":"","sucessRequestSent":"","thumbnail":"","webpInfo":""},"placement":{"":"","_Button1":"","_Button2":"","_Button3":"","_Button4":"","_Button5":"","_ChestPocketLeft":"","_ChestPocketRight":"","_Front":"","_Generic":"","_InnerSide":"","_Left":"","_OuterSide":"","_Right":"","_SidePocketLeft":"","_SidePocketRight":"","_SleeveLeft":"","_SleeveRight":""},"pmsColorPicker":{"inactivateColor":"Onemogo\u010di barvo","searchPlaceHolder":"PMS barva","searchZeroContent":"Ni ujemanj za iskalni poizvedbi PMS barve"},"price":{"amount":"Koli\u010dina","amountIncVat":"Koli\u010dina (z DDV)","applyCustomer":"","customer":"Cena za stranke","customerPrice":"","latestPrice":"Najnovej\u0161a cena","noPrice":"Cena ni na voljo","orderpricelist":"Cenik naro\u010dil","price":"Cena","priceSt":"Cena / kos","priceSuggestion":"Predlog cene","pricelists":"Ceniki","prices":"Cene","purchasePrice":"Nakupna cena","regular_short":"Navadna nagrada","retail":"Prodajna cena","retailAndCustomer":"Prodajna in cenik za stranke","rrp_long":"Priporo\u010dena cena","rrp_short":"Priporo\u010dena cena","selectedArticle":"","selectedRefinement":"","showNoPrice":"Brez cene","subTotal":"Skupna cena","tiered":"Cena za osebje","totalCart":"","totalValue":"Skupna vrednost","total_exVat":"Skupno (brez DDV)","total_incVat":"Skupno (z DDV)","vat":"DDV","vatConsumer":"DDV"},"product":{"_capacity":"","_closure":"Zapiranje","_colorComment":"Komentar barve","_country":"","_designer":"Oblikovalec","_diameter":"Premer","_fabrics":"Material","_gender":"Spol","_height":"Vi\u0161ina","_hoodDetails":"Podrobnosti kapuce","_length":"Dol\u017eina","_limitedEdition":"Omejena izdaja","_measure":"Meritve","_neckline":"Izrez","_packaging":"Embala\u017ea","_pockets":"\u017depi","_presentationDate":"Datum predstavitve","_printCode":"Koda tiska","_sleeve":"Rokav","_techniqueComment":"Komentar tehnike","_volume":"","_weight":"Te\u017ea","_width":"\u0160irina","add":"Dodaj izdelek","addRemove":"","approveArticles":"Odobri \u010dlanke","articleNumber":"\u0160tevilka artikla","article_one":"\u010clanek","article_other":"\u010clanki","care":"Navodila za nego","certificates":"Certifikati","colors":"barve","composition":"Sestava","document":"Dokument","downloadImage":"","downloadImages":"Prenos slik","features":"Zna\u010dilnosti","info":"Informacije o izdelku","missingSkus":"Manjkajo\u010di \u010dlanki","name":"Ime","noProducts":"Ni izdelkov","orderDifference":"Razlika v naro\u010dilu","pdfDownload":"Prenos kot PDF","product_one":"Izdelek","product_other":"Izdelki","products":"Izdelki","related":"Povezani izdelki","relatedGender":"Na voljo tudi kot","related_short":"Povezano","replacement":"Alternativa","search":"Iskanje izdelka","searchPlaceholder":"Npr. \u0161tevilka izdelka ali ime","searchPlaceholderProduct":"Npr. \u0161tevilka izdelka ali ime","show":"Prika\u017ei izdelke","showLessColors":"Poka\u017ei manj barv","transfer":"Prenos","unwantedSkus":"Neznani \u010dlanki"},"productAddImagesAfter":"{{added}}/{{max}} (izbirno)","productTag":{"new":"Novo","newVariation":"Nova barva","outlet":"Outlet","outletVariation":"Barva na razprodaji","sustainable":"Trajnostno","upcoming":"Prihajajo\u010de","upcomingVariation":"Prihajajo\u010da barva"},"production":{"refinement_one":"Izbolj\u0161ave"},"proof":{"proof":"Korektura","proof_one":"Dokaz oblikovanja","proof_other":"Dokazi oblikovanja","service":""},"refinement":{"add":"Dodaj mo\u017enosti postopka","addon":"Dodatki","addonVariations":"variante","articleAddedToDraftInfo":"","articleDraftSuggestionInfo":"","autoAdjustedPlacements":"Opomba: druge postavitve so bile samodejno prilagojene.","awaitingDelivery":"\u010cakanje na izdelke","awaitingDeliveryAction":"\u010cakanje na izdelke","choose":"Izberite mo\u017enosti postopka","colorBacking":"Barvna podlaga","colorChange":"Sprememba barve","colorChangeColor":"","commentDescription":"Druge zahteve","completed":"Obdelani izdelki","completedAction":"Obdelani izdelki","create":"","createArticleDraft":"Ustvarite osnutek \u010dlanka","createTextElement":"Ustvari besedilni element","customerPublicOrderConfirmSubmit":"Hvala! Slu\u017eba za stranke bo zdaj pregledala va\u0161e naro\u010dilo in ko bo odobreno, bo poslano sporo\u010dilo.","customerPublicOrderInstructions":"Preberite sporo\u010dilo od slu\u017ebe za stranke v povezanem dnevniku. Kliknite spodaj, da odprete konfigurator, spremenite in shranite. Ko kon\u010date, kliknite Po\u0161lji in prilo\u017eite komentar. \u010ce imate nadaljnja vpra\u0161anja o naro\u010dilu ali pomanjkanju navodil, preprosto po\u0161ljite komentar. Slu\u017eba za stranke bo hitro pregledala va\u0161e spremembe in obvestili vas bodo, ko bo naro\u010dilo odobreno.","customerPublicOrderPriceWarning":"Opomba! Predmeti v naro\u010dilu so se spremenili in bo poslano novo potrdilo o naro\u010dilu.","deliverNowAndOnwards":"Now and ongoing","deliverWhenInStock":"When all in stock","delivered":"Izdelki dostavljeni","deliveredAction":"Izdelki dostavljeni","downloadPreviewImage":"Prenos predogleda","errorNoAvailableRefinements":"","expected":"Pri\u010dakovana dostava","fixedTextPlaceholder":"Va\u0161e besedilo tukaj","inProgress":"","invalidTransferAmount":"","latest":"","message":"Sporo\u010dilo","messages":"Sporo\u010dila","minQuantityWarning":"Opomba! Minimalni znesek zna\u0161a {{minQuantity}} {{articles}}, kar vodi v vi\u0161jo enotno ceno za izbrano \u0161tevilo.","mountings":"monta\u017ee","nameAndTags":"Ime in oznake","new":"","noSplitPlaceInfo":"Tukaj dodajte izbolj\u0161ave, ki jih je treba postaviti na vse velikosti variante/kota.","objectSizeChangedWarning":"","otherInformation":"Razno","pin":"","placementDescription":"Tu navedite, kako \u017eelite uporabiti svoje izbolj\u0161ave. \u010ce \u017eelite ve\u010d povr\u0161in in lokacij, morate ustvariti dodatne izbolj\u0161ave.","placement_one":"Postavitev","placement_other":"Postavitve","positionAutoAdjusted":"Slika je bila samodejno prilagojena povr\u0161ini. Uporabite pu\u0161\u010dice za prilagajanje ali kliknite magnet, da ga onemogo\u010dite.","proofFinalAcceptText":"Sprejemam svoj izvirnik/skico kot dokon\u010dni dokaz oblikovanja. Na tem naro\u010dilu mi ne bo poslan dokaz.","readyForInvoice":"","refinement_one":"Izbolj\u0161ava","refinement_other":"Izbolj\u0161ave","reject":"Zavrni","rejected":"Zavrnjeno","rejectedAction":"Zavrnjeno","review_proof":"Odprite in preglejte svoj popravek spodaj","send":"Po\u0161lji","sendForReviewApprove":"","sender":"Po\u0161iljatelj","sourceInfo":"","sourceInfo_Analysis":"Sistem je interpretiral barvo.","sourceInfo_Custom":"Stranka je sama izbrala barvo.","sourceInfo_File":"Datoteka je dolo\u010dila barvo.","startCost":"Za\u010detni stro\u0161ek","uploadFile":"Nalo\u017ei datoteko","userProof":"Uporabni\u0161ki dokaz","variableTextPlaceholder":"Va\u0161e besedilo tukaj","warnRepeatChanged":""},"refinementsSelector":{"errorIncompatible":"Datoteke ni mogo\u010de obdelati s izbrano vrsto: {{selectedProduct}}. \u017delite spremeniti mo\u017enost postopka?","errorNoCompatible":"Va\u0161e izbrane datoteke ni mogo\u010de uporabiti za nobeno izbolj\u0161avo na tem izdelku. Prosimo, izberite drugo datoteko ali nas kontaktirajte za ve\u010d pomo\u010di!","title":"\u017delite dodati \u017ee ustvarjeno izbolj\u0161avo?"},"reseller":{"change":"Spremeni prodajalca","errorNotFound":"Ne moremo najti nobenega prodajalca, povezanega s va\u0161im naslovom. Prepri\u010dajte se, da je pravilen ali poi\u0161\u010dite prodajalca spodaj.","externalSupplier":"Zunanji dobavitelj","openHours":"Odpiralni \u010dasi","reseller_one":"Prodajalec","reseller_other":"","search":"Poi\u0161\u010dite svojega prodajalca","searchAgreement":"\u010ce imate sporazum, i\u0161\u010dite po svojem identifikacijskem \u0161tevilu podjetja","showAllResellers":"Prika\u017ei vse prodajalce","suggestionFrom":"Predlagali smo prodajalca na podlagi","suggestionInfo":"Prosim, izpolnite svoj naslov, da najdete prodajalca v svoji bli\u017eini."},"salesBoard":{"salesBoard":"Prodajna deska","section":"","section_budget":"Prora\u010dun","section_compare":"Prej\u0161nje obdobje","section_leaderboard":"Leaderboard","section_topOrders":"Najbolj\u0161a naro\u010dila","section_topProducts":"Najbolj\u0161i izdelki","section_totalValue":"Skupna vrednost","section_visits":"Obiski"},"search":{"empty":"Ni zadetkov","search":"Iskanje"},"seller":{"customer":"Stranka","customerShops":"Mikrotrgovine za stranke","customers":"Stranke","erpNumber":"\u0160tevilka stranke","exportedFiles":"","loggedInAs":"Prijavljen kot","noCustomers":"Ni dodanih strank","openAs":"Odpri kot","orderMonitoring":"Spremljanje naro\u010dil","orderMonitoringEmpty":"\u0160e niste dodali nobene stranke za spremljanje njihovih naro\u010dil. Vnesite \u0161tevilko stranke spodaj, da za\u010dnete s spremljanjem.","orderMonitoringInfo":"Tukaj lahko spremljate naro\u010dila svojih strank. Vsaki\u010d, ko stranka odda naro\u010dilo, boste prejeli obvestilo na svoj e-po\u0161tni naslov.","orderMonitoringNotificationInfo":"Obvestila se po\u0161iljajo na: ","orderMonitoringRemoved":"Stranko {{sub.customerName}} ({{sub.customerCode}}) ne bomo ve\u010d spremljali.","partnerOverview":"Pregled partnerjev","selectCustomer":"Izberite stranko","seller":"Prodajalec","signOutCustomer":"Odjava stranke","warnSellingDisabled":""},"shipment":{"address":"Naslov za dostavo","addressesAndShipmentsTitle":"Naslovi in dostave","date":"Datum odpreme","deliveryOptional_other":"Dodatne storitve","deliveryQuantity":"Koli\u010dina dostave","deliveryType":"Vrsta dostave","delivery_one":"Dostavo","delivery_other":"Dostave","dispatchNote":"Obvestilo o odpremi","emailInfo":"Navedeni e-po\u0161tni naslov se uporablja za po\u0161iljanje obvestila o odpremi in/ali poenostavljenega potrdila o naro\u010dilu (brez cen)","info":"Informacije o po\u0161iljki","manualDelivery":"Ro\u010dna dostava","new":"Nov naslov","packageLabel":"Oznaka paketa","qtyArticles":"{{count}} st artikli","qtyShipments":"{{count}} st dostave","receiver":"Prejemnik","requestDate":"Datum zahteve za odpremo","requestDateChange":"Ali \u017eelite spremeniti datum odpreme?","requestedDate":"Zahtevani datum","sendTo_one":"Po\u0161lji na en naslov","sendTo_other":"Po\u0161lji na ve\u010d naslovov","shipment":"Po\u0161iljke","simplifiedOrderConfirm":"Poenostavljeno potrdilo o naro\u010dilu","tracking":"Sledite svojemu naro\u010dilu","trackingCarrier":"Prevoznik","trackingNumber":"\u0160tevilka za sledenje","trackingService":"Storitev","trackingUrl":"URL sledenja","transportType":"Vrsta prevoza","warningLongDelivery":"Opomba o datumu dostave","yourOrderNumber":"Va\u0161 \u0161tevilka naro\u010dila","yourReference":"Va\u0161a referenca"},"size":{"allowedMinMax":"","large":"","size":"","sizeguide":"Vodnik za velikosti","small":""},"sort":{"relevance":"Relevantnost"},"status":{"accepted":"Sprejeto","approved":"Odobreno","approvedAction":"Odobreno","cancelled":"Preklicano","completed":"Dostava zaklju\u010dena","confirmed":"Potrjeno","confirmedAction":"Potrjeno","draft":"Osnutek","inproduction":"V proizvodnji","inprogress":"Dostava v teku","invoiced":"Fakturirano","ok":"","onhold":"","processing":"Obdelava","rejected":"Zavrnjeno","save_error":"Pri shranjevanju je pri\u0161lo do napake","saved":"Shranjeno","unconfirmed":"Nepotrjeno","unconfirmedAction":"Nepotrjeno","waiting":"\u010cakanje"},"stock":{"box":"\u0161katla","enterQuantity":"Vnesite koli\u010dino","estRefill":"Predvidena dopolnitev","global":"Globalno","local":"Lokalno","min":"Min:","mounting":"Monta\u017ea","operation":"*!Notranje - ni treba prevajati*","operation_add":"Dodaj v zaloge","operation_order":"Naro\u010di neposredno","operation_withdraw":"Umakni iz zalog","pcs":"kos","region":"Regija","rest":"Ostanek","stock":"Zaloge","stockAfterTransaction":"Zaloge po transakcijah"},"stockLevel":{"in":"Na zalogi","low":"Nizka zaloga","no":"Ni zaloge","out":"Zmanjkalo zaloge"},"template":{"copy":"","copyDescription":"","save":"","saveDescription":"","template_one":"","warnRemove":"","warnTemplateExist":""},"tool":{"noToolsOrServices":"\u0160e ni dodanih orodij ali storitev","toolsAndServices":"Moja orodja in storitve"},"unsavedWarning":{"no":"Ne, zavrzi spremembe","text":"Va\u0161e neshranjene spremembe bodo zavr\u017eene. \u017delite shraniti?","title":"Shranite spremembe?","yes":"Da, shrani"},"user":{"anonymousUsers":"Anonimni uporabniki","customerErrorLong":"Informacij o stranki za uporabnika ni bilo mogo\u010de nalo\u017eiti. Poskusite znova.","customerErrorShort":"Uporabniku manjka veljavna informacija o stranki","customerNumber":"\u0160tevilka stranke","customerNumberError":"Vnesite celotno \u0161tevilko stranke","customerWarningLong":"Stranka, povezana z uporabnikom, ne obstaja, ali informacije o stranki manjkajo popolnoma.","customerWarningShort":"Ni veljavne stranke, povezane z uporabnikom","notLoggedIn":"Nih\u010de ni prijavljen","proceedAsAnonymous":"Nadaljujte kot anonimni","refreshFailedText":"Iz varnostnih razlogov ste bili odjavljeni po \u010dasu neaktivnosti. Pritisnite \xbbPonovno se prijavite\xab, da nadaljujete s nakupovanjem.","refreshFailedTitle":"Odjavljeni ste bili.","register":"Registrirajte se","registeredUsers":"Registrirani uporabniki","salesContact":"Kontakt za prodajo","signIn":"Prijava","signInAgain":"Ponovno se prijavite","signInToOrder":"Prijavite se za naro\u010dilo","signOut":"Odjava","user_other":"Uporabniki","viewAccount":"Ogled ra\u010duna"},"validation":{"allRequiredFields":"","email":"Neveljaven e-po\u0161tni naslov","fullNameMaxCharLimit":"Ime + Priimek ne smeta presegati {{maxLength}} znakov","maxCharacterLength":"Vnos je dalj\u0161i od dovoljene najve\u010dje dol\u017eine {{maxLength}} znakov","maxLength_one":"Najve\u010d {{max}} znak","maxLength_other":"Najve\u010d {{max}} znakov","minCharacterLength":"Vnos je kraj\u0161i od dovoljene najmanj\u0161e dol\u017eine {{minLength}} znakov","mustStartWith":"Vrednost se mora za\u010deti z enim od naslednjih:","noEmailFound":"","phoneInvalid":"Neveljavna telefonska \u0161tevilka","phoneLength":"Telefonska \u0161tevilka mora imeti 8 ali 16 \u0161tevk","required":"Izberite prosim","requiredAccept":"Sprejmite prosim"},"variableText":{"inputDataUpdated":"","refinementRowTitle_0":"","refinementRowTitle_1":"","refinementRowTitle_2":"","refinementRowTitle_3":"","validateErrorDesc":"Nalo\u017eena datoteka vsebuje napa\u010dne vrstice. Popravite jih in poskusite znova.","validateErrorTitle_0":"","validateErrorTitle_1":"","validateErrorTitle_2":"","validateErrorTitle_3":"","validateSuccessDesc":"","validateSuccessTitle":""},"warning":{"attention":"","changesPartlyDisabled":"","note":"","refinementWarnings":"","showWarningTexts":""}}'),v={da:{translation:o},de:{translation:a},en:{translation:s},fi:{translation:c},is:{translation:d},sv:{translation:JSON.parse('{"action":{"actions":"\xc5tg\xe4rder","add":"L\xe4gg till","apply":"Anv\xe4nd","back":"Tillbaka","cancel":"Avbryt","change":"\xc4ndra","change_one":"","change_other":"","clear":"Rensa","configure":"Konfigurera","continue":"Forts\xe4tt","continueWithoutSaving":"Forts\xe4tt utan att spara","copy":"Kopiera","create":"Skapa","download":"Ladda ned","duplicate":"Duplicera","edit":"Redigera","export":"Exportera","fullScreen":"Fullsk\xe4rm","message":"Meddela","ok":"Ok","open":"\xd6ppna","pending":"P\xe5g\xe5ende","published":"Publicerad","rearrangeBoxes":"\xc4ndra boxar","refresh":"Uppdatera","remove":"Ta bort","rename":"Byt namn","replace":"Ers\xe4tt","save":"Spara","saveWarningText":"Du beh\xf6ver spara dina \xe4ndringar innan du g\xe5r vidare. Vill du spara?","saveWarningTitle":"Spara \xe4ndringar?","select":"V\xe4lj","selectOne":"V\xe4lj en","showBoxes":"Visa boxar","sort":"Sortera","submitChanges":"Skicka in \xe4ndringar","submitQuestionComment":"Skicka fr\xe5ga/kommentar","undo":"\xc5ngra"},"angle":{"":"","_back":"Bak","_closeup1":"N\xe4rbild 1","_closeup2":"N\xe4rbild 2","_closeup3":"N\xe4rbild 3","_front":"Fram","_left":"V\xe4nster","_other":"\xd6vrigt","_right":"H\xf6ger"},"archived":{"archive":"Arkivera","archived":"Arkiverat","articleArchived":"Denna artikeln \xe4r arkiverad","collectionArchived":"Denna kollektion \xe4r arkiverad","notArchived":"Inte arkiverat","remove":"Ta bort arkivering"},"article":{"articleMonitoring":"Best\xe4llningspunkt","configureAndAdd":"Skapa och l\xe4gg i varukorgen","deleteWarning":"\xc4r du s\xe4ker p\xe5 att du vill ta bort artikeln {{name}}?","description":"H\xe4r kommer du \xe5t dina artiklar som du har k\xf6pt i transfershoppen","filters":"Filter","filters_archived":"Arkiverat","filters_category":"Kategorier","filters_products":"Produkter","filters_status":"Status","filters_stock":"Lager","new":"Ny artikel","noHitsContent":"Inga artiklar hittades med nuvarande s\xf6kbegrepp","noHitsHeader":"Inga tr\xe4ffar","notDefined":"Ej angivet","orderMonitoringMinNum":"Min. lagersaldo","show":"Visa artiklar","submitApproval":"Skicka in f\xf6r godk\xe4nnande"},"assortment":{"category_one":"kategori","category_other":"Kategorier"},"bookmark":{"noPages":"Inga sidor tillagda","pages":"Sidor","pagesAndTools":"Sidor & Verktyg","saveAsFavorite":"Spara som favoriter","tools":"Verktyg"},"brightness":{"dark":"M\xf6rk","light":"Ljus"},"calendar":{"agenda":"Agenda","allDay":"Alla dagar","date":"Datum","day":"Dag","event":"Evenemang","events":"Evenemang","importantDates":"Viktiga datum","month":"M\xe5nad","next":"N\xe4sta","noEventsInRange":"Det finns inga h\xe4ndelser i det h\xe4r intervallet.","previous":"tillbaka","previousEvents":"Tidigare evenemang","previousYear":"F\xf6rra \xe5ret","showAsCalendar":"Visa som kalender","showAsList":"Visa som lista","time":"Tid","today":"Idag","tomorrow":"Imorgon","week":"Vecka","workWeek":"Arbetsvecka","year":"\xc5r","yesterday":"Ig\xe5r"},"campaign":{"code":"Kampanjkod","error":"Ogiltig kod"},"cart":{"addVariation":"L\xe4gg till variation","add_one":"L\xe4gg i varukorgen","add_other":"L\xe4gg produkter i varukorgen","addressSelected_one":"adress vald.","addressSelected_other":"adresser valda.","agreementInfo":"Vi kommer aldrig att dela din e-postadress, adress eller n\xe5gon annan personlig information med n\xe5gon annan.","allowSplit":"Till\xe5t restorder?","cart":"Varukorg","checkout":"Slutf\xf6r order","checkout_request":"Skicka f\xf6rfr\xe5gan","chooseQuantity":"V\xe4lj antal","configureCheckout":"Konfigurera checkout","continueShopping":"Forts\xe4tt handla","createOffer":"Skapa offert","created":"Varukorg skapad","depositToStock":"L\xe4gg p\xe5 lager","depositToStockMinText":"minimum antal {{minStock}}","discount":"Rabatt","doPayment":"Genomf\xf6r betalning","empty":"Din varukorg \xe4r tom.","emptyDo":"T\xf6m varukorg","emptyFavourite":"F\xf6r att l\xe4gga till dina favoritprodukter, klicka p\xe5 ","errorCouldNotCalculateRow":"Det uppstod ett problem n\xe4r dina unika priser skulle bekr\xe4ftas. Visar senast k\xe4nda produktpris om tillg\xe4ngligt.","errorCouldNotCalculateTotal":"Det uppstod ett problem n\xe4r dina unika priser och orderns totala belopp skulle bekr\xe4ftas. Du kan fortfarande g\xf6ra en best\xe4llning och du hittar dina priser p\xe5 din orderbekr\xe4ftelse.","errorInvalidProducts":"N\xe5gra produkter \xe4r inte kompatibla i samma order. Produkterna kvarst\xe5r i kundvagnen men kommer inte ing\xe5 i nuvarande order","errorInvalidSku":"Fel: Artikel existerar inte.","errorSelectReseller":"V\xe4lj lokal butik","favourite":"Dina favoriter","minAmount":"Kr\xe4ver ett minsta belopp p\xe5 435 sek.","minOrderQty":"Minsta orderkvantitet:","minOrderQtyInfo":"Om du vill s\xe4nka till en l\xe4gre kvantitet m\xe5ste du f\xf6rst l\xe4gga till fler av en annan storlek.","new":"Ny varukorg","noFavourite":"Inga favoriter \xe4nnu.","orderAndDelivery":"Order & leverans","payment":"Betalning","paymentCancelled":"Betalningen avbr\xf6ts, f\xf6rs\xf6k igen eller v\xe4lj en annan betalningsmetod","paymentError":"Betalningsfel, f\xf6rs\xf6k igen eller v\xe4lj en annan betalningsmetod","paymentrefused":"Betalning nekades, prova att v\xe4lja annan betalningsmetod","qtyAdjustedByArticleQuantity":"Obs! Antalet monteringar \xf6verskrider artikelns lagersaldo och kundvagnen kommer justeras.","quantity":"Antal","quickAdd":"Snabborder","removeVariation":"Ta bort variation","saveToArticles":"Spara till artiklar","saveToCart":"Spara till varukorg","specification":"Prisspecifikation","startShopping":"B\xf6rja shoppa eller anv\xe4nd snabborder nedan och l\xe4gg till produkter.","swishButton":"\xd6ppna Swish","swishInfo":"F\xf6r att slutf\xf6ra din best\xe4llning, skanna QR-koden i swish-appen.","toCart":"Till varukorgen","toastDismissNoOption":"Nej tack","toastDismissText":"Vill du inaktivera notifikationer n\xe4r varukorgen f\xf6r\xe4ndras?","toastDismissYesOption":"Ja, inaktivera","totalSkus":"Totalt","validationErrorHigher":"F\xf6r m\xe5nga produkter har lagts till","validationErrorLower":"F\xf6r f\xe5 produkter har lagts till","warnNoStockAfterTransaction":"Artikeln kommer inte att ha n\xe5got lagersaldo efter transaktion. Observer att kundvagnens kvantitet justeras d\xe4refter.","warningCancelPayment":"Betalning avbruten. Var v\xe4nlig f\xf6rs\xf6k igen.","warningOrderDisabled":"Orderl\xe4ggningsbeh\xf6righet saknas. V\xe4nligen kontaka kundtj\xe4nst","warningPriceOverride":"","warningPriceOverrideEnabled":""},"cartFee":{"admin":"Adm. Avgift","freight":"Fraktavgift","insurance":"F\xf6rs\xe4kringskostnad","invoice":"Fakturaavgift","postage":"Porto","shipping":"Leveranskostnad"},"collection":{"collection_one":"Kollektion","collection_other":"Kollektioner","deleteWarning":"\xc4r du s\xe4ker p\xe5 att du vill ta bort kollektionen {{name}}?","description":"H\xe4r \xe4r dina samlingar av f\xf6r\xe4dlade produkter.","noContent":"B\xf6rja f\xf6r\xe4dla produkter!","noHitsContent":"Inga kollektioer hittades med nuvarande s\xf6kbegrepp","noSkuWarning":"F\xf6ljande artiklar saknar kvantitet och kommer att tas bort: ","refinementsRemovedWarning":"F\xf6ljande f\xf6r\xe4dlingar \xe4r bara placerade p\xe5 den h\xe4r artikeln och kommer ocks\xe5 att tas bort: ","show":"Visa kollektioner","upgrade_product":"F\xf6r\xe4dla produkt","variations_one":"Variant","variations_other":"Varianter"},"color":{"color_one":"F\xe4rg","color_other":"F\xe4rger","errorNotEnough":"V\xe4lj minst en f\xe4rg.","errorTooMany":"F\xf6r m\xe5nga f\xe4rger f\xf6r vald f\xf6r\xe4dling. Ta bort / kombinera f\xe4rger eller v\xe4lj en f\xf6r\xe4dlingstyp som st\xf6djer fler f\xe4rger.","interpretedByTool":"tolkat av verktyget","interpretedFromFile":"fr\xe5n din fil","interpretedTitle":"Valda PMS-f\xe4rger","toolInterpretedColors":"Verktyget har valt f\xf6ljande f\xe4rger:","warnInterpreted":"Obs! Bildens f\xe4rger \xe4r valda av verktyget och kan se olika ut p\xe5 olika sk\xe4rmar. Kontrollera s\xe5 att f\xe4rgkoderna st\xe4mmer noga.","warningAutoBackingColorApplied":"Placerad p\xe5 ett icke-vitt plagg. Bakgrundsf\xe4rg applicerad.","warningAutoBackingColorNone":"Ingen bakgrundsf\xe4rg."},"colors":{"amber":"B\xe4rnsten","blue":"Bl\xe5","blueGrey":"Bl\xe5gr\xe5","brown":"Brun","cyan":"Cyan","deepOrange":"Djup orange","deepPurple":"Djup lila","green":"Gr\xf6n","grey":"Gr\xe5","indigo":"Indigo","lightBlue":"Ljusbl\xe5","lightGreen":"Ljusgr\xf6n","lime":"Lime","orange":"Orange","pink":"Rosa","purple":"Lila","red":"R\xf6d","teal":"Bl\xe5gr\xf6n","yellow":"Gul"},"confirmation":{"remove":"Ja, ta bort"},"contact":{"address":"Adress","city":"Stad","company":"F\xf6retag","companyNumber":"Organisationsnummer","companyText":"F\xf6retagsbeskrivning","contactName":"Kontaktnamn","contactUs":"Kontakta oss","country":"Land","customerContact":"Kundservice","customerContactUs":"Kontakta kundtj\xe4nst f\xf6r mer information","customerSupport":"Kundtj\xe4nst","email":"E-post","firstName":"F\xf6rnamn","lastName":"Efternamn","name":"Namn","phone":"Telefonnummer","postalCode":"Postnummer"},"error":{"cellRowCol":"Rad {{row}}, kolumn ({{col}}):","code":"","code_InvalidFormat":"Felaktigt format.","code_NoValue":"Ingen inmatning.","code_ToLong":"Inmatning f\xf6r l\xe5ng.","error":"Fel!","general":"N\xe5got gick fel, var god f\xf6rs\xf6k igen eller kontakta support."},"excel":{"activeConfiguration":"Aktiv konfiguration","browserExport":"Filen f\xf6rbereds. Detta kan ta flera minuter.","columnRemovalDescription":"Vissa kolumner kommer att tas bort vid byte till en l\xe4gre exportniv\xe5. Vill du forts\xe4tta?","columnRemovalNo":"Nej, beh\xe5ll kolumnerna","columnRemovalTitle":"Byt exportniv\xe5","columnRemovalYes":"Ja, ta bort kolumnerna","columns":"Kolumner","customerPriceDate":"Kundprisdatum","download":"Ladda ner Excelfil","downloadCancelled":"Nedladdning avbruten","emailExport":"Filen f\xf6rbereds och kommer att skickas till din mejladress n\xe4r den \xe4r redo. Detta kan ta flera minuter.","excel":"Excel","exportLevel":"Exportniv\xe5","failedLoadPreset":"Laddnig av konfiguration misslyckades","failedLoadPreview":"Laddning av f\xf6rhandsvisning misslyckades","generate":"Skicka Excelfil via mejl","languages":"Spr\xe5k","name":"Namn","noConfigurations":"Det finns inga sparade konfigurationer","noLanguage":"Ditt standardspr\xe5k kommer att anv\xe4ndas","savedConfiguration_one":"Sparad konfiguration","savedConfiguration_other":"Sparade konfigurationer","tabs":"Gruppera i Excelflikar efter kolumn","toggleConfiguration":"Klicka p\xe5 en konfiguation f\xf6r att aktivera eller inaktivera den","units":"M\xe5tt"},"export":{"added":"Tillagd f\xf6r export","chosen_product":"Vald produkt f\xf6r export","chosen_products":"Valda produkter f\xf6r export","fileExportCompleted":"Filexport klar","fileExportFailed":"Filexport misslyckades","images":"Bilder","price":"Pris","product":"Produkt","removed":"Borttagen fr\xe5n export","search_in":"S\xf6k i","sku":"Artikel / Sku","thresholdWarning":"V\xe4nligen v\xe4nta p\xe5 att alla filer skapats innan du laddar ner mer.","variation":"Variation / F\xe4rg","various_search":"S\xf6k bland flera kategorier"},"file":{"allowedType":"Till\xe5tna filtyper","attachments":"Bilagor","dragAndDropOrBrowse":"Drag och sl\xe4pp eller <u>bl\xe4ddra</u>","draggingSingleText":"Sl\xe4pp en fil h\xe4r f\xf6r att ladda upp","draggingText":"Sl\xe4pp filer h\xe4r f\xf6r att ladda upp","file_other":"Filer","filename":"Filnamn","none":"Inga filer har laddats upp \xe4nnu.","processFileError":"Kan inte hantera fil.","processFileErrorFileSize":"Filen kan inte laddas upp; den \xf6verskrider den maximala till\xe5tna storleken p\xe5 {{value}}MB.","processingFileUpload":"Bearbetar filuppladdning...","supported":".jpg, .jpeg, .png, .gif, .pdf and .svg. Max 5Mb."},"filter":{"filter":"","filter_accessories":"Tillbeh\xf6r","filter_activity":"Aktivitet","filter_brand":"Varum\xe4rke","filter_care":"V\xe5rd","filter_category":"Kategori","filter_certification":"Certifiering","filter_color":"F\xe4rg","filter_designer":"Designer","filter_feature":"Funktion","filter_female":"Kvinna","filter_fit":"Fit","filter_gender":"K\xf6n","filter_male":"Man","filter_material":"Materialteknik","filter_neckline":"Halsringning","filter_other":"Filter","filter_outlet":"Rea","filter_range":"Sortiment","filter_retail":"S\xe4song","filter_season":"","filter_sleeve":"\xc4rm","filter_theme":"Tema","filters":"Filter"},"general":{"add":"L\xe4gg till","agreeTo":"Acceptera","all":"Alla","auto":"Automatisk","basis":"Underlag","cantChange":"Kan inte \xe4ndras","changed":"F\xf6r\xe4ndrad","close":"St\xe4ng","collapseAll":"Kollapsa alla","columns":"Kolumner","comment":"Kommentar","commentSet":"Egna noteringar","compact":"Kompakt","created":"Skapad","custom":"Anpassad","description":"Beskrivning","dontShowAgain":"Visa inte igen","email":"E-post","endDate":"Slutdatum","enterPassword":"Ange l\xf6senordet f\xf6r att g\xe5 vidare.","expand":"Expandera","expandAll":"Expandera alla","expires":"Utg\xe5r","favourites":"Favoriter","font":"Typsnitt","full":"Full","hide":"G\xf6m","hideAllPages":"D\xf6lj alla sidor","language":"Spr\xe5k","limitedToCharacters":"Begr\xe4nsad till {{characters}} tecken.","limitedToInteger":"Begr\xe4nsad till siffror.","limitedToLetters":"Begr\xe4nsad till bokst\xe4ver.","limitedToLettersUpper":"Begr\xe4nsad till stora bokst\xe4ver.","log":"Logg","logotype":"Logotyp","maintenance":"Viktig information! P\xe5 grund av planerat underh\xe5ll kommer v\xe5rt aff\xe4rssystem att vara otillg\xe4ngligt fr\xe5n cirka kl. 8:00 den 13 april. Vi ber om urs\xe4kt f\xf6r eventuella ol\xe4genheter och informerar dig om att webbplatsen inte kommer att fungera normalt under denna period. Vi f\xf6rv\xe4ntar oss att \xe5terg\xe5 till normal drift inom n\xe5gra timmar och uppskattar ditt t\xe5lamod.","mandatory":"Tvingande","minimize":"Minimera","name":"Namn","new":"Ny","no":"Nej","none":"Ingen","notifications":"Notifikationer","password":"L\xf6senord","readMore":"L\xe4s mer","safety":"S\xe4kerhet","saveAndClose":"Spara och st\xe4ng","selected":"Vald","settings":"Inst\xe4llningar","show":"Visa","showAllPages":"Visa alla sidor","show_all":"Visa allt","show_less":"Visa mindre","show_more":"Visa mer","skipToContent":"G\xe5 direkt till textinneh\xe5llet","standard":"Standard","startDate":"Startdatum","status":"Status","subTitle":"Underrubrik","summary":"Summering","tag_one":"Etikett","tag_other":"Etiketter","terms":"Villkor","text":"Text","text_other":"Texter","thankYou":"Tack","title":"Titel","to":"Till","tools":"Verktyg","total":"Totalt","type":"Typ","updated":"Uppdaterad","url":"Url","view":"Visa","weOffer":"Vi erbjuder","yes":"Ja"},"image":{"angle_one":"Vinkel","angle_other":"Vinklar","environment":"Milj\xf6","image_one":"Bild","image_other":"Bilder"},"invoice":{"address":"Fakturaadress","credit":"Kreditorder","invoice_one":"Faktura","invoice_other":"Fakturor"},"logoAppTools":{"asset":"L\xe4gg till nytt underlag"},"microshop":{"CustomerNumberSecurityInfo":"S\xe4kerhetsalternativet m\xe5ste vara aktiverat.","accentColor":"Accentf\xe4rg","activate_units":"Aktivera enheter","addAddon":"L\xe4gg till tillval","addCategory":"L\xe4gg till kategori","addMasterDeliveryAddress":"","addNewUsers":"L\xe4gg till nya anv\xe4ndare","addUnit":"L\xe4gg till ny enhet","addons":"Tillval","administrator":"Administrat\xf6r","agreement":"Avtal","allProducts":"Alla produkter","alternativeUnitCertifier":"Alternativ attestant","approval":"Attest","assortment":"Sortiment","assortmentAvailableVariationsAdded":"Alla m\xf6jliga varianter tillagda i sortimentet.","backgroundImage":"Bakgrundsbild","bodyFont":"Br\xf6dtextstil","budget":"Budget","budget_approval":"Budget & Attestering","cancelMasterOrderWarning":"\xc4r du s\xe4ker p\xe5 att du vill avbryta huvudorder {{masterOrder}}","cantDeleteWarning":"Inneh\xe5ller v\xe4ntande ordrar och/eller huvudordrar och kan d\xe4rf\xf6r inte tas bort","categoryExists":"En kategori med det namnet existerar redan, var v\xe4nlig v\xe4lj ett annat namn","changeOwner":"Byt \xe4gare","changeTo":"\xc4ndra till","column":"Kolumn","confirmDelete":"Bekr\xe4fta radering","confirmMasterOrder":"Bekr\xe4fta huvudorder","content":"Inneh\xe5ll","copyShop":"Kopiera inst\xe4llningar fr\xe5n befintlig shop","create":"Skapa ny microshop","createMasterOrder":"Skapa huvudorder fr\xe5n markerade ordrar","createUser":"Skapa ny anv\xe4ndare","currency":"Valuta","currentOwner":"Nuvarande \xe4gare","custom":"anpassad","customerInputNone":"Ingen","customerInputNumber":"Tal/Nummer","customerInputText":"Text","customerInputType":"Kund input","databaseError":"Databasfel","deleteProduct":"Ta bort produkt","deleteSelectedOrder":"Ta bort markerade ordrar","deleteUnit":"Ta bort enhet","deleteUnitWarning":"Om du raderar ditt konto kommer all din data att tas bort permanent, inklusive alla anv\xe4ndare, dina inst\xe4llningar och allt inneh\xe5ll du har skapat. Denna \xe5tg\xe4rd kan inte \xe5ngras.","deleteWarning":"\xc4r du s\xe4ker p\xe5 att du vill ta bort microshopen {{name}}?","departmentUnit":"avdelning/enhet","descOptionCombine":"Kombinera","descOptionDefault":"Standard","direct_orders":"Direktorder","disable_units":"Inaktivera enheter","displayOptions":"Visningsalternativ f\xf6r storlek och kvantitet","emailWarning":"Ogiltig e-post. Kontrollera skrivfel, stavfel och att e-posten finns p\xe5 den valda mikroskopbutiken.","emptyAssortments":"Inget sortiment att v\xe4lja mellan","emptyProducts":"Inga produkter hittades","error":"Ett fel har intr\xe4ffat!","excelTemplate":"Excel-mall","excelTemplateDescription":"Du kan ladda ner det bifogade exemplet och anv\xe4nda det som utg\xe5ngspunkt f\xf6r din egen fil.","files":"Filer","filesUploaded":"Fil(er) uppladdade och sparade.","footColor":"Sidfot f\xe4rg","footer":"Sidfot","freeShipping":"Fri frakt \xf6ver belopp","general":"Allm\xe4nt","handleProductsSettings":"Hantera priser, tillval","headerFont":"Rubrikstil","import":"Importera","individual":"Individ (SEK)","input":"Input","invalidUrl":"URL \xe4r antingen redan upptagen eller inneh\xe5ller ogiltiga tecken som t.ex. \xe5\xe4\xf6., v\xe4nligen \xe4ndra url","legalNotice":"R\xe4ttsligt meddelande","lightnessColor":"Ljushet","logotype":"Logotyp","look":"Tema","mainColor":"Huvudf\xe4rg","main_orders":"Huvudordrar","many_size_products":"Flera storlekar och antal samtidigt","masterOrder":"","microshop":"Shop","microshop_other":"Microshopar","missingEmail":"E-post saknas","missingMicroshop":"Microshop saknas","missingShopUnitName":"ShopUnitName saknas","missingUser":"Anv\xe4ndare saknas","new_unit":"Ny Enhet","noFilters":"Inga filter att v\xe4lja mellan","noHitsContent":"Inga microshopar hittades med nuvarande s\xf6kbegrepp","noMicroshopFound":"Ingen microshop hittades","noOrders":"Inga ordrar","noOrdersExplanation":"Din shop inneh\xe5ller inga {{orderText}}.","noUserDescription":"Skapa nya anv\xe4ndare h\xe4r, eller importera!","noUsers":"Inga anv\xe4ndare \xe4nnu","notificationOptionDaily":"Daglig \xf6versikt","notificationOptionInstant":"Direkt","notificationOptionNone":"Ingen","notificationsTitle":"Kundbest\xe4llningsaviseringar","one_size_product":"En storlek i taget per produkt","orderDeleteWarning":"\xc4r du s\xe4ker p\xe5 att du vill ta bort denna order?","orderPrices":"Ordrar och priser","order_flow":"Orderfl\xf6de","ordered":"Best\xe4lld","orderrNotificationExplanation":"E-postavsiering skickas till {{email}}.","ordersDeleteWarning":"\xc4r du s\xe4ker p\xe5 att du vill ta bort de valda ordrarna?","pendingOrders":"V\xe4ntande ordrar","points":"po\xe4ng","priceModel":"Prismodell","priceOptionFixed":"Fast pris","priceOptionNone":"Inget pris","priceOptionRetail":"Baserat p\xe5 rek. pris","privacyPolicy":"Integritetspolicy","productAddImages":"L\xe4gg till bilder","productName":"Produktnamn","productNumber":"Produktnummer","productQuantity":"Produktantal","readyForImport":"Filen \xe4r klar f\xf6r import. Forts\xe4tt genom att klicka p\xe5 \'Importera\'.","refinementsAndAddons":"F\xf6r\xe4dlingar & tillval","requiresattestation":"Kr\xe4ver attestering","retailModifier":"Rek. pris ratio","retailPrice":"Rek. pris","retailPriceExplanation":"Produktens pris ber\xe4knas utifr\xe5n rek. utf\xf6rs\xe4ljningspris och multipliceras med angiven ratio.","role":"Roll","row":"Rad","saved":"Dina \xe4ndringar har sparats","securityOptionNone":"Ingen s\xe4kerhet","securityOptionRegister":"Registrering","securityOptionSecregAndRegister":"Registrering och generellt l\xf6senord","securityOptionSecret":"L\xf6senordskyddad","security_protection":"","settings":"Inst\xe4llningar","standard":"standard","standardPrice":"Prisber\xe4kningsstandard","totalCustomer":"Totalkostnad, kund","unit":"Enhet","unitBudgetDepartment":"Avdelning (SEK)","unitCertifier":"Attestant","unitDeleteWarning":"\xc4r du s\xe4ker p\xe5 att du vill radera den valda enheten?","unitName":"Namn","unitWithChildrenDeleteWarning":"Du h\xe5ller p\xe5 att radera enheten \'{{unitName}}\' och alla underliggande enheter. Denna \xe5tg\xe4rd kan inte \xe5ngras. Vill du forts\xe4tta med borttagningen?","units":"Enheter","units_other":"","uploadDone":"Uppladdningen \xe4r klar!","uploadedFile":"Uppladdad fil","userInformation":"Information","value":"V\xe4rde","variationExists":"Variationen finns redan","vatExcluded":"","vatIncluded":"","vatIsIncluded":"Moms \xe4r inkluderat i priser","vatNotIncluded":"Moms \xe4r exkluderat fr\xe5n priser","visitShop":"Bes\xf6k shop","welcomeMessage":"V\xe4lkomstmeddelande","zeroContentAddons":"Det finns inga tillval f\xf6r shopen, skapa tillval under fliken \\"{{- tab}}\\".","zeroContentText":"S\xf6k produkter eller v\xe4lj mellan kategorier och favoriter f\xf6r att l\xe4gga till produkter i ditt sortiment.","zeroContentTitle":"Inga valda produkter \xe4n."},"microshopUploadErrorCodes":{"databaseError":"","invalidEmailFormat":"Ogiltigt e-postformat","invalidIsAttestantValue":"Ogiltigt isAttestant-v\xe4rde","invalidManageBudgetValue":"Ogiltigt manageBudget-v\xe4rde","invalidRequiresAttestationValue":"Ogiltigt requiresAttestation-v\xe4rde","invalidRoleValue":"Ogiltigt role-v\xe4rde","missingMicroshop":"Saknad mikroshop","missingOrIncorrectHeaders":"Saknade eller felaktiga rubriker","missingShopUnits":"Saknade shoppenheter","missingUsers":"Saknade anv\xe4ndare","noDataInFile":"Inga data i filen","noFileSelected":"Ingen fil vald","noRowsInFile":"Inga rader i filen"},"navigation":{"allIn":"Visa allt inom","history":"Historik","onThisPage":"P\xe5 denna sida","page":"sida","promoted":"Utvalt","start":"Startsida","toTop":"Till toppen"},"news":{"new_one":"Nyhet","new_other":"Nyheter","showAll":"Visa alla nyheter"},"newsletter":{"subscribed":"Anm\xe4ld!"},"offer":{"additionalCost":"Till\xe4ggskostnad","additionalCosts":"Till\xe4ggskostnader","confirmOffer":"Bekr\xe4fta offert","daysBeforeReminder":"P\xe5minnelse - dagar f\xf6re utg\xe5ngsdatum.","discount":"Rabatt","discountInfo":"Alla produkter f\xe5r en rabatt angivet i procent.","editName":"Redigera namn","expires":"Utg\xe5ngsdatum","margin":"Marginal","marginInfo":"Alla produkter f\xe5r en marginal angivet i procent","noProductInfo":"B\xf6rja med att l\xe4gga till produkter ovan.","offerPage":"Offertsida","offerPrice":"Offertpris","offer_one":"Offert","offer_other":"Offerter","otherTerms":"Villkor fr\xe5n andra offerter","publicOffer":"Publik offert","remove":"Ta bort offert","removeConfirmation":"\xc4r du s\xe4ker p\xe5 att du vill ta bort offert","removePublicUrlAlert":"Ta bort din publika offert?","removePublicUrlAlertConfirm":"Ja, ta bort.","removePublicUrlAlertContent":"Vill du ta bort din publika offert fr\xe5n offert {{name}}?","shareOffer":"Dela offert","visitors":"Bes\xf6kare","warnExternalCustomerMissing":"Kundreferens saknas!"},"order":{"addNewAddress":"L\xe4gg till ny adress","adjustment":"Justering","allOrdersLast30Days":"Alla ordrar senaste 30 dagar","createDelivery_one":"Skapa f\xf6rs\xe4ndelse","createDelivery_other":"Skapa f\xf6rs\xe4ndelser","createOrder":"Skapa Repeat-order","createRepeatOrder":"Skapa Repeat-order","createdDeliveries":"Befintliga f\xf6rs\xe4ndelser","creditType":"Kreditorder","customerDetails":"Kunddetaljer","deleteWarning":"\xc4r du s\xe4ker p\xe5 att du vill ta bort ordern {{name}}?","deliveryAsc":"Stigande leveransdatum","deliveryDate":"Leveransdatum","deliveryDesc":"Fallande leveransdatum","deliveryNote":"F\xf6ljesedel","deliveryNoteNumber":"F\xf6ljesedelnummer","deliveryType":"F\xf6rs\xe4ndelsetyp","downloadDeliveryNote":"Ladda ned f\xf6ljesedel","downloadExcel":"Ladda ner Excel","entire":"Ordernummer, referens, godsm\xe4rkning etc.","entirePartnerOrders":"Ordernummer, leveransnamn, e-post etc.","handleAddresses":"Hantera adresser","handleAddressesAndDeliveries":"Hantera adresser och f\xf6rs\xe4ndelser","history":"Orderhistorik","infoMessage_boxDesign_partnerOverview":"Valda boxar visas alltid. Om inga val g\xf6rs visas boxar som har ett v\xe4rde.","lastOrder":"Senaste order","masterOrder_other":"Huvudordrar","noHitsContent":"Kom ih\xe5g att du beh\xf6ver ange hela ordernumret f\xf6r att s\xf6ka p\xe5 ordernummer.","noHitsHeader":"Inga tr\xe4ffar","noOrdersLast30Days":"Inga ordrar senaste 30 dagarna","notes":"Mina noteringar","orderNumber":"Ordernummer","order_one":"Order","order_other":"Ordrar","packageLabel":"Godsm\xe4rkning","partner_one":"production","paymentType":"Betalningsorder","placed":"Din best\xe4llning har mottagits","placedBy":"Skapad av","reference":"Referens","refinementType":"F\xf6r\xe4dlingsorder","removeAddressText":"Ta bort adress och f\xf6rs\xe4ndelser?","removeAddressTitle":"Vill du ta bort adressen och medf\xf6ljande f\xf6rs\xe4ndelser?","removeAddressYesOption":"Radera adress","repeat":"\xc5terkommande","sendOrderDocument":"Skicka orderunderlag","setPublicOrderAsCompletedDescription":"Detta klarmarkerar ordern och ytterligare frakter kommer inte att kunna l\xe4ggas till. Ett meddelande kommer att skickas till kunden.","setPublicOrderAsCompletedTitle":"\xc4r du s\xe4ker p\xe5 att du vill f\xe4rdigst\xe4lla?","setPublicOrderAsCompletedYesOption":"Ja, klarmarkera ordern","showEditArticles":"Visa/redigera artiklar ({{count}})","skuEditorDisabledTitle":"En order kan endast inneh\xe5lla f\xf6rs\xe4ndelser om den har satts i produktion. I detta l\xe4ge kan endast leveransadresserna \xe4ndras.","status":"Orderstatus","statusCreated":"Skapad","statusFailed":"Misslyckad","statusPlaced":"Mottagen","system":"System","table":"Ordertabell","thankYou_message_customerApproval":"Vi har tagit emot ditt svar och h\xf6r av oss inom 24 timmar. Vid fr\xe5gor, v\xe4nligen skicka oss ett meddelande ovan!","thankYou_message_rejectToCustomer":"Vi har tagit emot din komplettering och h\xf6r av oss inom 24 timmar. Vid fr\xe5gor, v\xe4nligen skicka oss ett meddelande ovan!","track":"Sp\xe5ra","type":"Ordertyp","viewOrders":"Visa och hantera ordrar.","wrongPasswordTryAgain":"L\xf6senordet du angav \xe4r felaktigt. V\xe4nligen f\xf6rs\xf6k igen."},"orderstatuses":{"approved":"Godk\xe4nd","awaitingCustomer":"V\xe4ntar p\xe5 kund","customerChanges":"Kund\xe4ndringar","customerRejected":"Avvisad fr\xe5n kund","deliveryChanged":"Datum\xe4ndring","expressOrder":"Expressorder","inProduction":"I produktion","pinned":"F\xe4st","rejected":"Avvisad till \\n{{siteName}}","unhandled":"Ej hanterad"},"orientation":{"landscape":"Liggande","orientation":"Format","portrait":"St\xe5ende"},"part":{"all":"Alla subdelar","part":"Del","partQty":"Antal i del","partSizes":"Dela artikel"},"pdf":{"aboutUsPage":"Om oss","careCertPage":"Sk\xf6tselr\xe5d / Certifieringar","careInstructions":"Sk\xf6tselr\xe5d","certifications":"Certifieringar","content":"Inneh\xe5ll","coverPage":"F\xf6rs\xe4ttsblad","description":"Beskrivning","download":"Ladda ner PDF","fabrics":"Material","fullPage":"Helsida","offerItemPrice":"Offertpris st","offertPage":"Offert","pdf":"PDF","pdfLoading":"V\xe4nligen v\xe4nta medan vi f\xf6rbereder ditt dokument.","preview":"F\xf6rhandsgranska","productPage":"Produkter","quantity":"Antal","recommendedPrice":"Rek ut pris","refinementPage":"F\xf6r\xe4dlingar","sizeGuides":"Storlekstabell","tableOfContent":"Inneh\xe5llsf\xf6rteckning","terms":"Villkor","termsTitle":"Villkor","titlePage":"Titelsida","warnCareWithRefinement":"N\xe4r ditt plagg \xe4r f\xf6r\xe4dlat g\xe4ller inte de ursprungliga tv\xe4ttr\xe5den l\xe4ngre!","weight":"Vikt"},"pdfImages":{"environmentImages":"Milj\xf6bilder","errorRequestSent":"Ett tekniskt fel har intr\xe4ffat och vi kan inte f\xf6rbereda bilderna f\xf6r nedladdning. Kontakta kundtj\xe4nst.","failedLoadPreview":"Laddning av f\xf6rhandsvisning misslyckades","highResolution":"4000px (H\xf6g uppl\xf6sning)","imageAltText":"","imageResolution":"Bilduppl\xf6sning","loadPreview":"Laddar produkter, v\xe4nligen v\xe4nta","noProducts":"Inga Produkter","preferredFileType":"\xd6nskv\xe4rd filtyp","preview":"1000px (F\xf6rhandsvisning)","productImages":"Produktbilder","sendEmail":"Skicka fil","showAll":"Visa alla bilder","standardResolution":"2000px (Standard uppl\xf6sning)","sucessRequestSent":"Vi f\xf6rbereder bilderna till en zip-fil och skickar till din mejl, det kan ta flera minuter.","thumbnail":"200px (Miniatyr)","webpInfo":"WebP kommer att anv\xe4ndas d\xe4r det \xe4r tillg\xe4ngligt, f\xf6r att bevara transparens"},"placement":{"":"","_Button1":"Knapp 1","_Button2":"Knapp 2","_Button3":"Knapp 3","_Button4":"Knapp 4","_Button5":"Knapp 5","_ChestPocketLeft":"Br\xf6stficka v\xe4nster","_ChestPocketRight":"Br\xf6stficka h\xf6ger","_Front":"Fram","_Generic":"Generisk","_InnerSide":"Innersida","_Left":"V\xe4nster","_OuterSide":"Yttersida","_Right":"H\xf6ger","_SidePocketLeft":"Sidficka v\xe4nster","_SidePocketRight":"Sidficka h\xf6ger","_SleeveLeft":"\xc4rm v\xe4nster","_SleeveRight":"\xc4rm h\xf6ger"},"pmsColorPicker":{"inactivateColor":"Inaktivera f\xe4rg","searchPlaceHolder":"PMS-f\xe4rg","searchZeroContent":"Ingen PMS-f\xe4rg matchar s\xf6kfr\xe5gan"},"price":{"amount":"Summa","amountIncVat":"Totalt (inkl. moms)","applyCustomer":"Anv\xe4nd \xc5F-pris","customer":"\xc5F-pris","customerPrice":"Kundpris","latestPrice":"Senaste pris","noPrice":"Pris ej tillg\xe4ngligt","orderpricelist":"Best\xe4ll prislista","price":"Pris","priceSt":"Pris / st","priceSuggestion":"Prisf\xf6rslag","pricelists":"Prislistor","prices":"Priser","purchasePrice":"Ink\xf6pspris","regular_short":"Ord. pris","retail":"Rek. ut","retailAndCustomer":"Rek. ut och \xc5F-priser","rrp_long":"Rekommenderat pris","rrp_short":"Rek. utpris","selectedArticle":"Vald artikel","selectedRefinement":"Vald f\xf6r\xe4dling","showNoPrice":"Inga priser","subTotal":"Subtotal","tiered":"Prisstaffling","totalCart":"Summa","totalValue":"Totalt v\xe4rde","total_exVat":"Totalt (exkl. moms)","total_incVat":"Totalt (inkl. moms)","vat":"Moms","vatConsumer":"Varav moms"},"product":{"_capacity":"Kapacitet","_closure":"St\xe4ngning","_colorComment":"F\xe4rgkommentar","_country":"Tillverkningsland","_designer":"Designer","_diameter":"Diameter","_fabrics":"Material","_gender":"K\xf6n","_height":"H\xf6jd","_hoodDetails":"Huva","_length":"L\xe4ngd","_limitedEdition":"Limited Edition","_measure":"M\xe5tt","_neckline":"Hals","_packaging":"Paketering","_pockets":"Fickor","_presentationDate":"Presentations\xe5r","_printCode":"Print Code","_sleeve":"\xc4rm","_techniqueComment":"Teknikkommentar","_volume":"Volym","_weight":"Vikt","_width":"Bredd","add":"L\xe4gg till produkt","addRemove":"L\xe4gg till / ta bort artiklar","approveArticles":"Godk\xe4nn artiklar","articleNumber":"Artikelnummer","article_one":"Artikel","article_other":"Artiklar","care":"Sk\xf6tselr\xe5d","certificates":"Certifikat","colors":"f\xe4rger","composition":"Komposition","document":"Dokument","downloadImage":"Ladda ner bild","downloadImages":"Ladda ner alla bilder","features":"Funktioner","info":"Produktinformation","missingSkus":"Rader att l\xe4gga till","name":"Namn","noProducts":"Inga Produkter","orderDifference":"Orderdifferens","pdfDownload":"Ladda ner PDF","product_one":"Produkt","product_other":"Produkter","products":"Produkter","related":"Relaterade produkter","relatedGender":"Finns \xe4ven som","related_short":"Relaterade","replacement":"Alternativ","search":"S\xf6k produkt","searchPlaceholder":"Artikelnummer eller namn","searchPlaceholderProduct":"Produktnummer eller namn","show":"Visa produkter","showLessColors":"Visa f\xe4rre f\xe4rger","transfer":"Transfer","unwantedSkus":"Rader att ta bort"},"productAddImagesAfter":"{{added}}/{{max}} (valfritt)","productTag":{"new":"Nyhet","newVariation":"Ny f\xe4rg","outlet":"Rea","outletVariation":"Rea p\xe5 f\xe4rg","sustainable":"H\xe5llbarhet","upcoming":"Inkommande","upcomingVariation":"Inkommande f\xe4rg"},"production":{"refinement_one":"F\xf6r\xe4dling"},"proof":{"proof":"Korrektur","proof_one":"Design","proof_other":"Designer","service":"Vi skapar ett korrektur \xe5t er"},"refinement":{"add":"L\xe4gg till f\xf6r\xe4dling","addon":"Till\xe4gg","addonVariations":"varianter","articleAddedToDraftInfo":"Artikeln har sparats som ett utkast. Dina artiklar kan hittas i kontrollpanelen till v\xe4nster, under avsnittet \\"Artiklar\\".","articleDraftSuggestionInfo":"En artikel kommer att sparas och f\xf6rvaras som utkast i \\"Artiklar\\"-avsnittet, tillg\xe4nglig f\xf6r senare best\xe4llning. Priset som anges \xe4r endast v\xe4gledande.","autoAdjustedPlacements":"Observera att andra placeringar har justerats automatiskt.","awaitingDelivery":"Inv\xe4ntar leverans","awaitingDeliveryAction":"Beg\xe4r leverans","choose":"V\xe4lj f\xf6r\xe4dlingstyp","colorBacking":"Bakgrundsf\xe4rg","colorChange":"F\xe4rgbyte","colorChangeColor":"F\xe4rgbytes f\xe4rg","commentDescription":"\xd6vriga \xf6nskem\xe5l.","completed":"F\xe4rdigst\xe4lld","completedAction":"F\xe4rdigst\xe4ll","create":"Skapa f\xf6r\xe4dling","createArticleDraft":"Skapa artikelutkast","createTextElement":"Skapa textelement","customerPublicOrderConfirmSubmit":"Tack! Kundtj\xe4nst kommer nu granska din order och ett meddelande kommer skickas n\xe4r ordern \xe4r godk\xe4nd.","customerPublicOrderInstructions":"L\xe4s meddelandet fr\xe5n kundtj\xe4nst i den tillh\xf6rande loggen. Klicka nedan f\xf6r att \xf6ppna konfiguratorn, \xe4ndra och spara. N\xe4r du \xe4r klar. Klicka p\xe5 skicka och bifoga g\xe4rna en kommentar. Om du har ytterliggare fr\xe5gor om ordern eller saknar instruktioner, skicka enbart en kommentar. Kundtj\xe4nst kommer skyndsamt granska dina \xe4ndringar och du blir meddelad n\xe4r ordern \xe4r godk\xe4nd.","customerPublicOrderPriceWarning":"Obs! Orderns artiklar \xe4r f\xf6r\xe4ndrade och en ny orderbekr\xe4ftelse kommer skickas ut.","deliverNowAndOnwards":"Nu och l\xf6pande","deliverWhenInStock":"N\xe4r allt i lager","delivered":"I produktion","deliveredAction":"Leverera","downloadPreviewImage":"Ladda ner f\xf6rhandsvisningsbild","errorNoAvailableRefinements":"Den h\xe4r produkten \xe4r f\xf6r tillf\xe4llet inte m\xf6jlig att f\xf6r\xe4dla.","expected":"F\xf6rv\xe4ntad utleverans","fixedTextPlaceholder":"Din text h\xe4r","inProgress":"P\xe5g\xe5ende","invalidTransferAmount":"Ogiltigt antal f\xf6r transferbest\xe4llning! V\xe4nligen ange ett korrekt antal i j\xe4mna steg om {{stepQuantity}}. Justera din inmatning och f\xf6rs\xf6k igen.","latest":"Senaste","message":"Meddelande","messages":"Meddelanden","minQuantityWarning":"Obs! Minimum debitering \xe4r f\xf6r {{minQuantity}} {{articles}} och det leder d\xe4rf\xf6r till ett h\xf6gre styckpris f\xf6r valt antal.","mountings":"monteringar","nameAndTags":"Namn och etiketter","new":"Ny f\xf6r\xe4dling","noSplitPlaceInfo":"L\xe4gg till f\xf6r\xe4dlingar h\xe4r som ska placeras p\xe5 alla storlekar av varianten/vinkeln.","objectSizeChangedWarning":"Storleken p\xe5 objektet har \xe4ndrats, kontrollera att storleken ovan \xe4r korrekt.","otherInformation":"\xd6vrigt","pin":"F\xe4st","placementDescription":"H\xe4r anger du hur din f\xf6r\xe4dling ska appliceras. Vill du ha fler ytor och placeringar beh\xf6ver du skapa ytterligare f\xf6r\xe4dlingar.","placement_one":"Placering","placement_other":"Placeringar","positionAutoAdjusted":"Bilden har automatiskt justerats till en yta. Anv\xe4nd piltangenter f\xf6r att justera, eller klicka p\xe5 magneten f\xf6r att avaktivera.","proofFinalAcceptText":"Jag godk\xe4nner mitt original/skiss som slutkorrektur. Inget korrektur kommer att skickas ut p\xe5 detta erbjudande.","readyForInvoice":"Fakturering","refinement_one":"F\xf6r\xe4dling","refinement_other":"F\xf6r\xe4dlingar","reject":"Avvisa","rejected":"Avvisad","rejectedAction":"Avvisa","review_proof":"\xd6ppna och granska ditt korrektur nedan","send":"Skicka","sendForReviewApprove":"Skicka f\xf6r kundgodk\xe4nnande","sender":"Avs\xe4ndare","sourceInfo":"","sourceInfo_Analysis":"F\xe4rganalys.","sourceInfo_Custom":"Eget val.","sourceInfo_File":"Fr\xe5n fil.","startCost":"Startkostnad","uploadFile":"Ladda upp fil","userProof":"Anv\xe4ndarkorrektur","variableTextPlaceholder":"Din exempeltext h\xe4r","warnRepeatChanged":"Detta \xe4r en \xe5terkommande f\xf6r\xe4dling. Om du sparar \xe4ndringar kommer det inte l\xe4ngre vara en \xe5terkommande best\xe4llning och priserna kan \xe4ndras."},"refinementsSelector":{"errorIncompatible":"Filen kan inte hanteras av vald typ: {{selectedProduct}}. Vill du byta processval?","errorNoCompatible":"Din valda fil kan inte appliceras p\xe5 n\xe5gon av f\xf6r\xe4dlingarna p\xe5 den h\xe4r produkten. V\xe4lj en annan fil eller kontakta oss f\xf6r mer hj\xe4lp!","title":"L\xe4gg till en redan skapad f\xf6r\xe4dling"},"reseller":{"change":"Byt butik","errorNotFound":"Vi kan inte hitta n\xe5gon butik kopplad till din adress. V\xe4nligen kontrollera att den st\xe4mmer eller s\xf6k nedan.","externalSupplier":"Extern leverant\xf6r","openHours":"\xd6ppettider","reseller_one":"Lokal butik","reseller_other":"Butiker","search":"Hitta din lokala butik","searchAgreement":"Har du avtal s\xf6k via ditt organisationsnummer","showAllResellers":"Visa alla Butiker","suggestionFrom":"Vi har f\xf6reslagit butik baserat p\xe5","suggestionInfo":"Fyll i din adress ovan f\xf6r att hitta din n\xe4rmaste lokala butik som hanterar och skickar ut din best\xe4llning efter lagd orderf\xf6rfr\xe5gan och godk\xe4nt korrektur."},"salesBoard":{"salesBoard":"S\xe4ljtavla","section":"Sektion","section_budget":"Budget","section_compare":"J\xe4mf\xf6r period","section_leaderboard":"Topplista s\xe4lj","section_topOrders":"Topplista order","section_topProducts":"Topplista produkter","section_totalValue":"Totalt orderv\xe4rde","section_visits":"Bes\xf6k"},"search":{"empty":"Inga tr\xe4ffar","search":"S\xf6k"},"seller":{"customer":"Kund","customerShops":"Microshopar kund","customers":"Kunder","erpNumber":"Kundnummer","exportedFiles":"Exporterade filer","loggedInAs":"Inloggad som","noCustomers":"Inga kunder tillagda","openAs":"\xd6ppna som","orderMonitoring":"Orderbevakning","orderMonitoringEmpty":"Du har inte lagt till n\xe5gra kunder f\xf6r att \xf6vervaka deras best\xe4llningar \xe4n. Ange kundnummer nedan f\xf6r att b\xf6rja bevaka.","orderMonitoringInfo":"H\xe4r kan du f\xf6lja kunders ordrar. Varje g\xe5ng en kund p\xe5 listan l\xe4gger en order skickas en notifikation till din e-post","orderMonitoringNotificationInfo":"Notifieringar skickas till:","orderMonitoringRemoved":"Kund {{sub.customerName}}({{sub.customerCode}}) kommer inte l\xe4ngre f\xf6ljas.","partnerOverview":"Partner\xf6versikt","selectCustomer":"V\xe4lj kund","seller":"S\xe4ljare","signOutCustomer":"Logga ut kund","warnSellingDisabled":"Priser och leveransinformation p\xe5 den h\xe4r sidan p\xe5verkas inte av den valda kunden ovan. Du kan koppla kunden nedan."},"shipment":{"address":"Leveransadress","addressesAndShipmentsTitle":"Adresser och f\xf6rs\xe4ndelser","date":"Datum f\xf6r utleverans","deliveryOptional_other":"Till\xe4ggstj\xe4nster","deliveryQuantity":"Antal f\xf6rs\xe4ndelser","deliveryType":"Leveranss\xe4tt","delivery_one":"F\xf6rs\xe4ndelse","delivery_other":"F\xf6rs\xe4ndelser","dispatchNote":"Leveransavisering","emailInfo":"Den angivna e-postadressen anv\xe4nds f\xf6r att skicka ut leveransavisering och eller en f\xf6renklad orderbekr\xe4ftelse (utan priser)","info":"Fraktinformation","manualDelivery":"Manuell f\xf6rs\xe4ndelse","new":"Ny adress","packageLabel":"Godsm\xe4rkning","qtyArticles":"{{count}} st artiklar","qtyShipments":"{{count}} st f\xf6rs\xe4ndelser","receiver":"Mottagare","requestDate":"\xd6nskat utleveransdatum","requestDateChange":"Vill du byta utleveransdatum?","requestedDate":"\xd6nskat datum","sendTo_one":"Skicka till en adress","sendTo_other":"Skicka till flera adresser","shipment":"Frakt","simplifiedOrderConfirm":"F\xf6renklad orderbekr\xe4ftelse","tracking":"F\xf6lj din order","trackingCarrier":"Leverant\xf6r","trackingNumber":"Sp\xe5rningsnummer","trackingService":"Service","trackingUrl":"Sp\xe5rningsl\xe4nk","transportType":"Transporttyp","warningLongDelivery":"Notera lev.datum","yourOrderNumber":"Ditt ordernummer","yourReference":"Referens"},"size":{"allowedMinMax":"Till\xe5ten storlek: {{min}}-{{max}}","large":"Stor","size":"Storlek","sizeguide":"Storlekstabell","small":"Liten"},"sort":{"relevance":"Relevans"},"status":{"accepted":"Accepterad","approved":"Godk\xe4nd","approvedAction":"Godk\xe4nn","cancelled":"Makulerad","completed":"Skickad","confirmed":"Bekr\xe4ftad","confirmedAction":"Bekr\xe4fta","draft":"Utkast","inproduction":"Produceras","inprogress":"Leverans p\xe5g\xe5r","invoiced":"Fakturerad","ok":"","onhold":"Avvaktar","processing":"Behandlas","rejected":"Avvisad","save_error":"Ett fel intr\xe4ffade vid sparandet","saved":"Sparad","unconfirmed":"Mottagen","unconfirmedAction":"Obekr\xe4ftad","waiting":"V\xe4ntande"},"stock":{"box":"paket","enterQuantity":"Ange antal","estRefill":"\xc5ter i lager","global":"Globalt","local":"Lokalt","min":"Min:","mounting":"Montering","operation":"","operation_add":"L\xe4gg p\xe5 lager","operation_order":"Best\xe4ll direkt","operation_withdraw":"Uttag fr\xe5n lager","pcs":"st","region":"Centralt","rest":"Rest","stock":"Lagersaldo","stockAfterTransaction":"Lager efter transaktion"},"stockLevel":{"in":"I lager","low":"F\xe5 kvar","no":"Inget lager","out":"Tillf\xe4lligt slut"},"template":{"copy":"Kopiera fr\xe5n mall","copyDescription":"Kopiera konfiguration fr\xe5n sparad mall. Detta kommer att ers\xe4tta din nuvarande konfiguration.","save":"Spara som mall","saveDescription":"Spara nuvarande konfiguration som en mall f\xf6r framtida anv\xe4ndning i andra dokument.","template_one":"Mall","warnRemove":"\xc4r du s\xe4ker p\xe5 att du vill ta bort mallen?","warnTemplateExist":"Det finns redan en mall sparad med detta namn. Detta kommer att skriva \xf6ver den sparade mallen med aktuell konfiguration."},"tool":{"noToolsOrServices":"Inga verktyg eller tj\xe4nster tillagda","toolsAndServices":"Mina verktyg och tj\xe4nster"},"unsavedWarning":{"no":"Nej, sl\xe4ng \xe4ndringarna","text":"Dina osparade \xe4ndringar kommer f\xf6rsvinna. Vill du spara?","title":"Spara \xe4ndringar?","yes":"Ja, spara"},"user":{"anonymousUsers":"Anonyma anv\xe4ndare","customerErrorLong":"Kunde inte ladda kundinformation f\xf6r anv\xe4ndaren. Var god f\xf6rs\xf6k igen.","customerErrorShort":"Anv\xe4ndaren saknar giltig kundinformation","customerNumber":"Kundnummer","customerNumberError":"Ange hela kundnumret","customerWarningLong":"Kunden som \xe4r kopplad till anv\xe4ndaren finns inte, eller s\xe5 saknas information om kunden helt fr\xe5n anv\xe4ndaren.","customerWarningShort":"Ingen giltig kund kopplad till anv\xe4ndaren","notLoggedIn":"Ingen anv\xe4ndare inloggad","proceedAsAnonymous":"Forts\xe4tt som anonym","refreshFailedText":"Av s\xe4kerhetssk\xe4l loggas du ut efter en tids inaktivitet.\\nTryck p\xe5 \\"Logga in igen\\" f\xf6r att forts\xe4tta att handla.","refreshFailedTitle":"Du har blivit utloggad.","register":"Registrera","registeredUsers":"Registrerade anv\xe4ndare","salesContact":"S\xe4ljkontakt","signIn":"Logga in","signInAgain":"Logga in igen","signInToOrder":"Logga in f\xf6r att best\xe4lla","signOut":"Logga ut","user_other":"Anv\xe4ndare","viewAccount":"Visa konto"},"validation":{"allRequiredFields":"V\xe4nligen fyll i alla obligatoriska f\xe4lt","email":"Ogiltig email","fullNameMaxCharLimit":"F\xf6rnamn + Efternamn f\xe5r inte \xf6verstiga {{maxLength}} tecken","maxCharacterLength":"Inmatningen \xe4r l\xe4ngre \xe4n den till\xe5tna maxl\xe4ngden p\xe5 {{maxLength}} tecken","maxLength_one":"Max {{max}} tecken","maxLength_other":"Max {{max}} tecken","minCharacterLength":"Inmatningen \xe4r kortare \xe4n den till\xe5tna minl\xe4ngden p\xe5 {{minLength}} tecken","mustStartWith":"V\xe4rdet m\xe5ste b\xf6rja med ett av f\xf6ljande:","noEmailFound":"Ingen e-post kunde hittas","phoneInvalid":"Ogiltigt telefonnummer","phoneLength":"Telefonnumret m\xe5ste vara 8 eller 16 siffror l\xe5ngt","required":"Beh\xf6ver v\xe4ljas","requiredAccept":"Beh\xf6ver accepteras"},"variableText":{"inputDataUpdated":"En f\xf6r\xe4ndrig har skett, v\xe4nligen uppdatera ditt underlag.","refinementRowTitle":"Visar {{count}} alternativ av totalt {{of}} inl\xe4sta","refinementRowTitle_plural":"","validateErrorDesc":"Den uppladdade filen inneh\xe5ller felaktiga rader. Korrigera dessa och f\xf6rs\xf6k igen.","validateErrorTitle":"{{count}} Valideringsfel","validateErrorTitle_plural":"","validateSuccessDesc":"Klicka f\xf6r att \xe4ndra f\xf6rhandsvisning.","validateSuccessTitle":"Texter verifierade"},"warning":{"attention":"Varning!","changesPartlyDisabled":"Ytterligare \xe4ndringar delvis inaktiverade.","note":"Obs!","refinementWarnings":"Generella, f\xe4rg- samt artikelrelaterade varningar om till\xe4mpligt.","showWarningTexts":"Visa varningstexter"}}')},no:{translation:f},fr:{translation:u},nl:{translation:h},pt:{translation:m},es:{translation:l},it:{translation:p},sl:{translation:g}};r.Ay.use(i.r9).init({resources:v,lng:"en",fallbackLng:"en",returnEmptyString:!1});const y=r.Ay},45608:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(11359);const i=(e,t,n,i)=>{const{maxWait:o=0,leading:a=!1}=null!==i&&void 0!==i?i:{};let s,l=0,c=0;const u=()=>{window.clearTimeout(c),c=0,s&&(s(!0),s=void 0)};return(0,r.zD)(e,t,{condition(){const e=a&&!l;return window.clearTimeout(l),l=window.setTimeout((()=>{u(),l=0}),n),!!e||(s&&(s(!1),s=void 0),o&&!c&&(c=window.setTimeout(u,o)),new Promise((e=>{s=e})))}})}},35732:(e,t,n)=>{"use strict";n.d(t,{Ic:()=>a,_H:()=>i,b5:()=>o});const r=(e,t)=>e.type.startsWith(t),i=e=>t=>r(t,e)&&(e=>e.type.endsWith("/pending"))(t),o=e=>t=>r(t,e)&&(e=>e.type.endsWith("/rejected"))(t),a=e=>t=>r(t,e)&&(e=>e.type.endsWith("/fulfilled"))(t)},45798:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r={typography:{fontSize:"0.938rem",fontBody:"urw-form",fontHeading:"urw-din-semi-condensed",f1400family:"urw-form",f1500family:"urw-form",f1700family:"urw-form",f2400family:"urw-din-semi-condensed",f2700family:"urw-din-semi-condensed",f3300family:"Inter",f3400family:"Inter",f3500family:"Inter",f3700family:"Inter"},colors:{main:"#231F20",mainText:"#fcfcfc",accent:"#BC9B6A",accentText:"#FFF",attention:"#648F78",attentionText:"#FFF",productCardBackgroundColor:"#fff",text:"#2f2f2f",textLight:"#757575",textWhite:"#fcfcfc",textFaded:"#9E9B97",textDisabled:"#cfcecc",fill:"#F4F4F4",fillMedium:"#EAEAEA",fillWhite:"#fff",fillBlack:"#231F20",fillSecondary:"#231F20",fillSecondaryText:"#F4F4F4",fillHover:"#f5f5f5",fillGray:"#e9e9e9",transparent:"transparent",transparentBg:"#dce2ed",border:"#CFCEC8",borderLight:"#e9e9e9",borderGray:"#ececec",borderDark:"#e2e2e2",success:"#7acf8b",error:"#ff6e6e",warning:"#eed447",pending:"#ADD2DE",approved:"#A7C3A4",rejected:"#DF5252",sale:"#ff6e6e",buy:"#648F78",buyText:"#FFFFFF",priceText:"#648F78",sustainable:"#648F78",disabled:"#EFEFEF",socialMedia:"#BC9B6A",white:"#fff"},webColors:{beige:"#fde3a7",black:"#000",blue:"#3e94cf",brown:"#ba7e4a",gold:"#e0d7b0",green:"#3ead6c",grey:"#bdc3c7",navyblue:"#405870",orange:"#f29d3a",pink:"#f1a9a0",purple:"#a6589d",red:"#eb4b3b",silver:"#d2d7d3",white:"#ffffff",yellow:"#fff270"},shadows:{soft:"box-shadow: 0 0px 14px rgb(0 0 0 / 6%);",medium:"box-shadow: 0px 0px 16px 0 rgba(0,0,0,0.12);",high:"box-shadow: 0px 0px 24px 0 rgba(0,0,0,0.16);"},media:{xs:"@media screen and (min-width: 480px)",xsBelow:"@media screen and (max-width: 479px)",sm:"@media screen and (min-width: 640px)",smBelow:"@media screen and (max-width: 639px)",md:"@media screen and (min-width: 768px)",mdBelow:"@media screen and (max-width: 767px)",lg:"@media screen and (min-width: 1025px)",lgBelow:"@media screen and (max-width: 1024px)",xl:"@media screen and (min-width: 1696px)",xlBelow:"@media screen and (max-width: 1696px)"},borders:{underline1:"border-bottom: 1px solid",underline2:"border-bottom: 2px solid",radius:"4px"},transitions:{bez:"cubic-bezier(0.55, 0.085, 0.68, 0.53)"},breakpoints:{min:0,xs:480,sm:640,md:768,lg:1025,xl:1696}}},7827:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>te,af:()=>$,km:()=>Z,Jv:()=>ee});var r=n(24937);const i=n.p+"static/media/barclays-premier-league-regular.73cb30ceaf0cafa8ff7f.ttf",o={400:{woff:void 0,woff2:void 0,ttf:i,otf:void 0},500:{woff:void 0,woff2:void 0,ttf:i,otf:void 0},700:{woff:void 0,woff2:void 0,ttf:i,otf:void 0}},a=n.p+"static/media/BebasNeue-Regular.31d6cfe0d16ae931b73c.ttf",s={400:{woff:void 0,woff2:void 0,ttf:a,otf:void 0},500:{woff:void 0,woff2:void 0,ttf:a,otf:void 0},700:{woff:void 0,woff2:void 0,ttf:a,otf:void 0}},l=n.p+"static/media/CraftSans-Bold.95c4f2ea64103d9035a3.otf",c={400:{woff:void 0,woff2:void 0,ttf:void 0,otf:n.p+"static/media/CraftSans-Light.526c5c23e217b1b0650c.otf"},500:{woff:void 0,woff2:void 0,ttf:void 0,otf:n.p+"static/media/CraftSans-Regular.6712fd9ea9bfcd14a7a9.otf"},700:{woff:void 0,woff2:void 0,ttf:void 0,otf:l}},u=n.p+"static/media/Exo-Bold.262e5bf42773e5ddb032.ttf",d={400:{woff:void 0,woff2:void 0,ttf:n.p+"static/media/Exo-Light.6f4a1dea002b370d4e78.ttf",otf:void 0},500:{woff:void 0,woff2:void 0,ttf:n.p+"static/media/Exo-Regular.71beb31d81ad501875c4.ttf",otf:void 0},700:{woff:void 0,woff2:void 0,ttf:u,otf:void 0}},p=n.p+"static/media/FuturaBQBook_0.455e53346ec082aabd0f.otf",h=n.p+"static/media/futurabqbook.ce1f0e0780fad57d12da.woff",f=n.p+"static/media/futurabqbook.22613c9e5519601dd406.woff2",m={400:{woff:h,woff2:f,ttf:void 0,otf:p},500:{woff:h,woff2:f,ttf:void 0,otf:p},700:{woff:h,woff2:f,ttf:void 0,otf:p}},g=n.p+"static/media/Gotham-Bold.f9a5c9247af2c80333f4.otf",v={400:{woff:void 0,woff2:void 0,ttf:void 0,otf:n.p+"static/media/Gotham-Book.d946fc4006181ac4e1c7.otf"},500:{woff:void 0,woff2:void 0,ttf:void 0,otf:n.p+"static/media/Gotham-Medium.cfa2f4873c9cdda41f77.otf"},700:{woff:void 0,woff2:void 0,ttf:void 0,otf:g}},y=n.p+"static/media/HelveticaNeueLTStd-Bd.14a13a5415b0d3b6ca0b.otf",A=n.p+"static/media/HelveticaNeueLTStd-Roman.41833cf0d2ff7ab2a686.otf",b={400:{woff:void 0,woff2:void 0,ttf:void 0,otf:n.p+"static/media/HelveticaNeueLTStd-Th.0d35570b1c68eb758576.otf"},500:{woff:void 0,woff2:void 0,ttf:void 0,otf:A},700:{woff:void 0,woff2:void 0,ttf:void 0,otf:y}},w=n.p+"static/media/inter-400.9ba6f9c489a7031fe88e.ttf",x=n.p+"static/media/inter-400.817c4274293e221c5076.woff",C=n.p+"static/media/inter-400.be7cb18dc7caf47cf7e9.woff2",S=n.p+"static/media/inter-500.c381d5332b4e00ac2c97.ttf",k=n.p+"static/media/inter-500.2e89c7eec639d70f9770.woff",E=n.p+"static/media/inter-500.c72c72b70c82b1f4bacf.woff2",I=n.p+"static/media/inter-700.1a8ee2b437a5aa448647.ttf",_={400:{woff:x,woff2:C,ttf:w,otf:void 0},500:{woff:k,woff2:E,ttf:S,otf:void 0},700:{woff:n.p+"static/media/inter-700.7ad0df5561cc0933cead.woff",woff2:n.p+"static/media/inter-700.54321e26b8bf4739a16d.woff2",ttf:I,otf:void 0}},P=n.p+"static/media/libre-franklin-400.b4e34587778222282f1c.ttf",O=n.p+"static/media/libre-franklin-400.c7aec61a3881eddd117f.woff",T=n.p+"static/media/libre-franklin-400.878654d386bd1ec3a2c1.woff2",D=n.p+"static/media/libre-franklin-500.83932bb9e80accaa6459.ttf",j=n.p+"static/media/libre-franklin-500.678b5e50c3aba29b3b69.woff",B=n.p+"static/media/libre-franklin-500.0a4fa89acf5145773a5a.woff2",N=n.p+"static/media/libre-franklin-700.9e2d96a61814f385c1bc.ttf",M={400:{woff:O,woff2:T,ttf:P,otf:void 0},500:{woff:j,woff2:B,ttf:D,otf:void 0},700:{woff:n.p+"static/media/libre-franklin-700.d9daa48aef199cbda7af.woff",woff2:n.p+"static/media/libre-franklin-700.c5a414115a5de0900e1c.woff2",ttf:N,otf:void 0}},R={400:{woff:void 0,woff2:void 0,ttf:n.p+"static/media/lora-400.1a662fb4f602b5400e3f.ttf",otf:void 0},500:{woff:void 0,woff2:void 0,ttf:n.p+"static/media/lora-500.7cf7e60abc1dce6d19ee.ttf",otf:void 0},700:{woff:void 0,woff2:void 0,ttf:n.p+"static/media/lora-700.c27317484b1d2ac06532.ttf",otf:void 0}},L={400:{woff:void 0,woff2:void 0,ttf:n.p+"static/media/mulish-400.d3d302e1573fb1c8db5b.ttf",otf:void 0},500:{woff:void 0,woff2:void 0,ttf:n.p+"static/media/mulish-500.8bdb52a1df8fba9da3ef.ttf",otf:void 0},700:{woff:void 0,woff2:void 0,ttf:n.p+"static/media/mulish-700.6cb68186a91bb3fcb0b7.ttf",otf:void 0}},F=n.p+"static/media/recife-display-medium-italic.7fa6bba2303cd709b4e5.otf",z={400:{woff:void 0,woff2:void 0,ttf:void 0,otf:n.p+"static/media/recife-display-regular.79a6740998d057825f32.otf"},500:{woff:void 0,woff2:void 0,ttf:void 0,otf:F},700:{woff:void 0,woff2:void 0,ttf:void 0,otf:F}},Q=(n.p,n.p,n.p,n.p+"static/media/roboto-400.6b1ef4e4ab8eafee13c1.ttf"),U=n.p+"static/media/roboto-400.f1e2a76794cb86b2aa8e.woff",V=n.p+"static/media/roboto-400.b009a76ad6afe4ebd301.woff2",G=n.p+"static/media/roboto-500.e65e3463169db5a1a55f.ttf",q=n.p+"static/media/roboto-500.48af7707fe9e6494d6a5.woff",H=n.p+"static/media/roboto-500.f25d774ecfe0996f8eb5.woff2",W=n.p+"static/media/roboto-700.5e5b76f0fae3cf2ef7cc.ttf",Y={400:{woff:U,woff2:V,ttf:Q,otf:void 0},500:{woff:q,woff2:H,ttf:G,otf:void 0},700:{woff:n.p+"static/media/roboto-700.77ecb942e56f9b036426.woff",woff2:n.p+"static/media/roboto-700.227c93190fe7f82de3f8.woff2",ttf:W,otf:void 0}},K=n.p+"static/media/value-sans-medium-italic-pro.2023469574c565939c07.ttf",J={400:{woff:void 0,woff2:void 0,ttf:n.p+"static/media/value-sans-regular-pro.99ebc7dc336bdb469849.ttf",otf:void 0},500:{woff:void 0,woff2:void 0,ttf:K,otf:void 0},700:{woff:void 0,woff2:void 0,ttf:K,otf:void 0}};var X=n(44414);function Z(e){switch(e){case"Antenna Ex Cond":case"Antenna":return(0,X.jsx)("link",{href:"//cloud.typenetwork.com/projects/5402/fontface.css/",rel:"stylesheet",type:"text/css"});case"urw-din-semi-condensed":return(0,X.jsx)("link",{href:"https://use.typekit.net/ejk4rne.css",rel:"stylesheet"});case"Inter":case"Roboto":case"Premier League":case"Libre Franklin":case"Craft Sans":case"Exo":case"Recife Display":case"Value Sans":case"Helvetica":case"Bebas Neue":case"Gotham":case"Mulish":case"Lora":case"Futura":return"";default:return(0,X.jsx)("link",{href:"https://use.typekit.net/obe0xuy.css",rel:"stylesheet"})}}function $(e){switch(e){case"Antenna":return{400:"Antenna Reg",500:"Antenna Med",700:"Antenna Bd"};case"Antenna Ex Cond":return{400:"Antenna Ex Cond Med",500:"Antenna Ex Cond Med",700:"Antenna Ex Cond Med"};case"Inter":return{400:"Inter",500:"Inter",700:"Inter"};case"Craft Sans":return{400:"Craft Sans",500:"Craft Sans",700:"Craft Sans"};case"Exo":return{400:"Exo",500:"Exo",700:"Exo"};case"URW Din Semi Condensed":return{400:"urw-din-semi-condensed",500:"urw-din-semi-condensed",700:"urw-din-semi-condensed"};case"Roboto":return{400:"Roboto",500:"Roboto",700:"Roboto"};case"Premier League":return{400:"Premier League",500:"Premier League",700:"Premier League"};case"Libre Franklin":return{400:"Libre Franklin",500:"Libre Franklin",700:"Libre Franklin"};case"Recife Display":return{400:"Recife Display",500:"Recife Display",700:"Recife Display"};case"Value Sans":return{400:"Value Sans",500:"Value Sans",700:"Value Sans"};case"Helvetica":return{400:"Helvetica",500:"Helvetica",700:"Helvetica"};case"Bebas Neue":return{400:"Bebas Neue",500:"Bebas Neue",700:"Bebas Neue"};case"Gotham":return{400:"Gotham",500:"Gotham",700:"Gotham"};case"Mulish":return{400:"Mulish",500:"Mulish",700:"Mulish"};case"Lora":return{400:"Lora",500:"Lora",700:"Lora"};case"Futura":return{400:"Futura",500:"Futura",700:"Futura"};default:return{400:"urw-form",500:"urw-form",700:"urw-form"}}}function ee(e,t){var n,r,i;e.clear();const a=function(e){const t=_;switch(e){case"Inter":default:return t;case"Craft Sans":return c;case"Exo":return d;case"Roboto":return Y;case"Libre Franklin":return M;case"Recife Display":return z;case"Value Sans":return J;case"Helvetica":return b;case"Bebas Neue":return s;case"Premier League":return o;case"Gotham":return v;case"Mulish":return L;case"Lora":return R;case"Futura":return m}}(t);e.register({family:"PDF Font",src:null!==(n=a[400].ttf)&&void 0!==n?n:a[400].otf}),e.register({family:"PDF Font SemiBold",src:null!==(r=a[500].ttf)&&void 0!==r?r:a[500].otf}),e.register({family:"PDF Font Bold",src:null!==(i=a[700].ttf)&&void 0!==i?i:a[700].otf})}const te=(0,r.DU)(["body{font-size:",";font-family:",",helvetica,sans-serif;}h1,h2,h3{font-family:",",helvetica,sans-serif;font-weight:700;}h3{font-family:",",helvetica,sans-serif;font-weight:700;}h4{font-family:",",helvetica,sans-serif;font-weight:500;}.f1-400{font-family:",",helvetica,sans-serif;font-weight:400;}.f1-500{font-family:",",helvetica,sans-serif;font-weight:500;}.f1-700{font-family:",",helvetica,sans-serif;font-weight:700;}.f2-400{font-family:",",helvetica,sans-serif;font-weight:400;}.f2-700{font-family:",",helvetica,sans-serif;font-weight:700;}.f3-300{font-family:",",helvetica,sans-serif;font-weight:300;}.f3-400{font-family:",",helvetica,sans-serif;font-weight:400;}.f3-500{font-family:",",helvetica,sans-serif;font-weight:500;}.f3-700{font-family:",",helvetica,sans-serif;font-weight:700;}"],(e=>{let{theme:t}=e;return t.typography.fontSize}),(e=>{let{theme:t}=e;return t.typography.f1400family}),(e=>{let{theme:t}=e;return t.typography.f2700family}),(e=>{let{theme:t}=e;return t.typography.f1700family}),(e=>{let{theme:t}=e;return t.typography.f1500family}),(e=>{let{theme:t}=e;return t.typography.f1400family}),(e=>{let{theme:t}=e;return t.typography.f1500family}),(e=>{let{theme:t}=e;return t.typography.f1700family}),(e=>{let{theme:t}=e;return t.typography.f2400family}),(e=>{let{theme:t}=e;return t.typography.f2700family}),(e=>{let{theme:t}=e;return t.typography.f3300family}),(e=>{let{theme:t}=e;return t.typography.f3400family}),(e=>{let{theme:t}=e;return t.typography.f3500family}),(e=>{let{theme:t}=e;return t.typography.f3700family}))},91843:(e,t,n)=>{"use strict";n.d(t,{$:()=>i});var r=n(7430);const i=()=>{if({NODE_ENV:"production",PUBLIC_URL:"/clientapp/build",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_API:"https://b2bcommerceapi.nwg.wan",REACT_APP_APPCONTEXTID:"fa2225e0-7c06-47f3-9117-1dfb77535f27",REACT_APP_CMS:"https://newwave-se.dev.nwg.wan",REACT_APP_IDENTITY:"https://b2bidentity.nwg.wan",REACT_APP_MEDIASERVICEURL:"https://images.nwgmedia.com"}.REACT_APP_PROD_BUILD_TEST)return"https://newwave-se.dev.nwg.wan";return((0,r.qe)()?"true"!=={NODE_ENV:"production",PUBLIC_URL:"/clientapp/build",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_API:"https://b2bcommerceapi.nwg.wan",REACT_APP_APPCONTEXTID:"fa2225e0-7c06-47f3-9117-1dfb77535f27",REACT_APP_CMS:"https://newwave-se.dev.nwg.wan",REACT_APP_IDENTITY:"https://b2bidentity.nwg.wan",REACT_APP_MEDIASERVICEURL:"https://images.nwgmedia.com"}.REACT_APP_CMSLOCAL&&localStorage.getItem("spadev_selected_cms")||"https://newwave-se.dev.nwg.wan":null)||window.location.protocol+"//"+window.location.host}},94780:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=e=>{var t;return(null===e||void 0===e||null===(t=e[0])||void 0===t?void 0:t.toUpperCase())+(null===e||void 0===e?void 0:e.slice(1,e.length).toLowerCase())}},33345:(e,t,n)=>{"use strict";n.d(t,{E2:()=>i,j:()=>r,kN:()=>o});const r=e=>{var t,n;return null!==(t=null===(n=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e))||void 0===n?void 0:n.slice(1).map((e=>parseInt(e,16))))&&void 0!==t?t:[]},i=e=>{const t=r(e);return{r:t[0],g:t[1],b:t[2]}},o=(e,t)=>{let n=0,r=Number.MAX_VALUE;for(let i=0;i<e.length;i++){const o=Math.sqrt((e[i][0]-t[0])**2+(e[i][1]-t[1])**2+(e[i][2]-t[2])**2);o<r&&(n=i,r=o)}return n}},24872:(e,t,n)=>{"use strict";function r(e){return`${e.getFullYear()}-${`0${e.getMonth()+1}`.slice(-2)}-${`0${e.getDate()}`.slice(-2)}`}function i(e,t){let n=new Date(Date.now()+864e5);return n.setFullYear(n.getFullYear()+e),t&&n.setMonth(n.getMonth()+t),n}function o(e,t){return i(e,t).toISOString()}n.d(t,{JO:()=>i,aC:()=>o,t7:()=>r})},38187:(e,t,n)=>{"use strict";n.d(t,{K:()=>i,P:()=>r});const r=(e,t,n,r)=>{var i;const o=window.URL.createObjectURL(e),a=document.createElement("a");a.href=o,a.target="_blank",a.setAttribute("download",t),a.setAttribute("style","display:none"),null!==n&&void 0!==n&&n.current&&n.current.appendChild(a),a.click(),null===a||void 0===a||null===(i=a.parentNode)||void 0===i||i.removeChild(a),r&&r()},i=(e,t,n,r)=>{var i;const o=document.createElement("a");o.href=e,o.target="_blank",o.setAttribute("download",t),o.setAttribute("style","display:none"),null!==n&&void 0!==n&&n.current&&n.current.appendChild(o),o.click(),null===o||void 0===o||null===(i=o.parentNode)||void 0===i||i.removeChild(o),r&&r()}},578:(e,t,n)=>{"use strict";n.d(t,{A:()=>i,q:()=>o});const r=!1;function i(){return r}function o(){return i()&&"localhost"===window.location.hostname}},48329:(e,t,n)=>{"use strict";n.d(t,{x:()=>o});var r=n(77018),i=n(578);const o=e=>e&&e.startsWith("/")&&(e.includes("contentassets")||e.includes("globalassets"))?`${r.A.getBaseUrl()}${e}${(0,i.q)()?`${e.includes("?")?"&":"?"}noCache=${Date.now()}`:""}`:e},96298:(e,t,n)=>{"use strict";function r(e,t){return e.reduce(((e,n)=>{var r;const i=t.find((e=>e.filter===n.fieldName));var o;null!==i&&void 0!==i&&null!==(r=i.excludedValues)&&void 0!==r&&r.length&&(n.filter=null===(o=n.filter)||void 0===o?void 0:o.filter((e=>{var t;return e.key&&!(null!==(t=i.excludedValues)&&void 0!==t&&t.includes(e.key))})));return[...e,n]}),new Array)}function i(e){if(!e)return new Map([]);return e.reduce(((e,t)=>e.set(t.type,t.values)),new Map)}function o(e,t){return e.data.find((e=>e.fieldName===t.type))}function a(e,t){e.values.forEach((async e=>{await t(e)}))}function s(e,t,n){e.values.forEach((async e=>{var r;null!==t&&void 0!==t&&null!==(r=t.filter)&&void 0!==r&&r.some((t=>t.key===e.key))||await n(e)}))}function l(e,t){return null===e||void 0===e?void 0:e.find((e=>e.type===t))}function c(e,t,n){let r,{type:i,value:o}=t;if(e){var a;if(null!==e&&void 0!==e&&e.values.find((e=>e.key===o.key)))return r=null!==n&&void 0!==n?n:[],[...null!==(a=r.filter((e=>e.type!==i)))&&void 0!==a?a:[],{...e,values:e.values.filter((e=>e.key!==o.key))}];r=null!==n&&void 0!==n?n:[];return[...r.filter((e=>e.type!==i)),{...e,values:[...e.values,o]}]}return[...null!==n&&void 0!==n?n:[],{type:i,values:[o]}]}n.d(t,{MB:()=>s,eW:()=>a,ii:()=>o,ns:()=>r,vm:()=>c,z6:()=>i,zd:()=>l})},71751:(e,t,n)=>{"use strict";n.d(t,{Aj:()=>o,Yc:()=>i});var r=n(74635);["Name 1","Numbers 1","Letters 1","Fixed Text"].slice();const i=e=>{if(!e)return[];const t=e.flatMap((e=>(e=>{switch(e){case"Name 1":return[{name:(0,r.t)("general.standard"),fontName:"Helvetica"}];case"Numbers 1":return[{name:(0,r.t)("general.standard"),fontName:"Custom Numbers"},{name:"Premier League",fontName:"Custom Numbers 2"}];case"Letters 1":return[{name:(0,r.t)("general.standard"),fontName:"Custom Letters"}];default:return[{name:"Arial"},{name:"Arial Narrow"},{name:"Brush Script"},{name:"Calibri"},{name:"Cambria"},{name:"Candara"},{name:"Copperplate"},{name:"Courier"},{name:"Courier New"},{name:"Didot"},{name:"Garamond"},{name:"Geneva"},{name:"Helvetica"},{name:"Lucida Bright"},{name:"Monaco"},{name:"Optima"},{name:"Perpetua"},{name:"Times"},{name:"Times New Roman"},{name:"Verdana"}]}})(e)));return Array.from(new Set(t))},o=(e,t)=>{var n;const r={fontWeight:"normal",scaleY:1,stroke:void 0,strokeWidth:void 0,charSpacing:void 0,paintFirst:void 0};var i;(["Custom Numbers","Custom Numbers 2","Custom Letters"].includes(e.fontFamily)&&(r.charSpacing=100),null!==t&&void 0!==t&&null!==(n=t.fontCategories)&&void 0!==n&&n.includes("Numbers 1")&&["Custom Numbers 2"].includes(null===e||void 0===e?void 0:e.fontFamily))&&(r.stroke="#ffffff"===(null===(i=e.fill)||void 0===i?void 0:i.toLowerCase())?"#000000":"#ffffff",r.strokeWidth=6);return Object.fromEntries(Object.entries(r).filter((e=>{let[t,n]=e;return void 0!==n})))}},24380:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>p,Un:()=>s,VG:()=>a,_E:()=>u,yj:()=>l});var r=n(69435),i=n(44344),o=n(57033);function a(e,t,n){var r;if(e&&e.customUrl&&(null===e||void 0===e||null===(r=e.customUrl)||void 0===r?void 0:r.length)>0)return e.customUrl;if(!e||void 0===(null===e||void 0===e?void 0:e.ext)||null===(null===e||void 0===e?void 0:e.ext))return;const i=u[null!==n&&void 0!==n?n:e.ext];return`https://images.nwgmedia.com/${c[t]}/${e.imageId}/${e.fileName}${i}`}function s(e){switch(e){case r.ImageExtension.Psd:case r.ImageExtension.Png:case r.ImageExtension.Webp:return!0;default:return!1}}let l=function(e){return e[e.Pdf=0]="Pdf",e[e.HighRes=1]="HighRes",e[e.Preview=2]="Preview",e[e.LargeThumbNail=3]="LargeThumbNail",e[e.ThumbNail=4]="ThumbNail",e[e.Original=5]="Original",e}({});const c={[l.Pdf]:"pdf",[l.HighRes]:"highres",[l.Preview]:"preview",[l.LargeThumbNail]:"largethumbnail",[l.ThumbNail]:"thumbnail",[l.Original]:"original"},u={[r.ImageExtension.Psd]:".webp",[r.ImageExtension.Svg]:".svg",[r.ImageExtension.Png]:".png",[r.ImageExtension.Jpg]:".jpg",[r.ImageExtension.Webp]:".webp",[r.ImageExtension.Jpeg]:".jpeg"},d={[r.ImageExtension.Psd]:i,[r.ImageExtension.Svg]:o.A,[r.ImageExtension.Png]:i,[r.ImageExtension.Jpg]:i,[r.ImageExtension.Webp]:i,[r.ImageExtension.Jpeg]:i},p=function(e,t,n){var r;if(e&&e.customUrl&&(null===e||void 0===e||null===(r=e.customUrl)||void 0===r?void 0:r.length)>0)return e.customUrl;if(!e||void 0===(null===e||void 0===e?void 0:e.ext)||null===(null===e||void 0===e?void 0:e.ext))return n?d[n]:o.A;const i=u[null!==n&&void 0!==n?n:e.ext];return`https://images.nwgmedia.com/${c[t]}/${e.imageId}/${e.fileName}${i}`}},54579:(e,t,n)=>{"use strict";function r(e,t){return e.reduce(((e,n,r,i)=>{var o,a;const s=t(n,r,i);return null!==(o=null===(a=e.get(s))||void 0===a?void 0:a.push(n))&&void 0!==o||e.set(s,[n]),e}),new Map)}n.d(t,{$:()=>r})},7430:(e,t,n)=>{"use strict";n.d(t,{ZH:()=>i.Z,PE:()=>a.P,HL:()=>l,Kl:()=>c,QC:()=>d,WP:()=>u,xK:()=>s.xK,qe:()=>r.q,eG:()=>o});var r=n(578),i=n(94780);const o=()=>window.scrollTo(0,0);var a=n(38187),s=(n(51673),n(54927));const l=e=>Object.keys(e).map((t=>e[t]));function c(e){return e.replace(u(e),"")}function u(e){return e.replace(/\.[\w\d_-]+$/i,"")}function d(e){return e.split("?")[0].split(".").pop()||null}},27034:(e,t,n)=>{"use strict";function r(e){if(!e)return!1;return/^(\+)?(?:[0-9]?){6,15}[0-9]$/.test(e)}function i(e){return!!e&&(e.length<=16&&e.length>=8)}n.d(t,{H:()=>i,g:()=>r})},52327:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=e=>/.(jpg|jpeg|png|gif|bmp|svg)/i.test(e)},57158:(e,t,n)=>{"use strict";function r(e){return null!==e&&void 0!==e}n.d(t,{A:()=>r})},54927:(e,t,n)=>{"use strict";n.d(t,{tO:()=>i,xK:()=>o});var r=n(94780);const i=e=>e.map((e=>{const t=o(e.name,e.displayName);return{value:e.name,label:(0,r.Z)(t),linkValue:e.link}})),o=(e,t)=>{let n;if("de-CH"===e)n="Deutsch (Schweiz)";else if("fr-CH"===e)n="Fran\xe7ais (Suisse)";else try{n=new Intl.DisplayNames([e],{type:"language"}).of(e)}catch(r){return t}return n||t}},51673:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=new class{async log(e){console.log(e,(new Date).toString())}async warn(e){}async error(e){}}},15693:(e,t,n)=>{"use strict";function r(e){if(null===e||void 0===e||!e.length)return null;const t=window.location.pathname.toLowerCase();let n=null;return e.forEach((e=>{n||e.languages.forEach((r=>{const i=a(e,r);t.startsWith(i)&&(n=e.marketId)}))})),n}function i(e,t,n){const r=t.find((t=>t.marketId===e));if(r){var i;const e=null!==(i=r.languages.find((e=>e.name===n)))&&void 0!==i?i:r.languages[0];return o(r.marketId,e.name),void(document.location=a(r,e))}}function o(e,t){let n=new Date;n.setTime(n.getTime()+2592e6),document.cookie="market="+e+":"+t+";Path=/; Domain="+s()+"; Expires="+n.toUTCString()+"; SameSite=Strict;Secure"}function a(e,t){return`${t.isMasterLanguage?"":"/"+t.urlSegment}/${e.urlSegment}`}n.d(t,{MR:()=>r,U8:()=>a,VL:()=>i,cs:()=>l,lG:()=>o});const s=()=>"localhost"===window.location.hostname?window.location.hostname:window.location.host;function l(){document.cookie="market=; Path=/;  Domain="+s()+"; Expires=Thu, 01 Jan 1970 00:00:01 GMT; SameSite=Strict;Secure",document.location="/"}},39876:(e,t,n)=>{"use strict";function r(e,t,n){if(!n)return"No currency";return new Intl.NumberFormat(t,{style:"currency",currency:n}).format(e)}n.d(t,{A:()=>r})},74012:(e,t,n)=>{"use strict";n.d(t,{A:()=>o,l:()=>i});const r=(e,t)=>{let{[t]:n,...r}=e;return r},i=(e,t)=>t.reduce(((e,t)=>r(e,t)),e),o=r},52454:(e,t,n)=>{"use strict";function r(e){if(!e)return;const t="\xe0\xe1\xe4\xe2\xe3\xe5\u0103\xe6\u0105\xe7\u0107\u010d\u0111\u010f\xe8\xe9\u011b\u0117\xeb\xea\u0119\u011f\u01f5\u1e27\xec\xed\xef\xee\u012f\u0142\u1e3f\u01f9\u0144\u0148\xf1\xf2\xf3\xf6\xf4\u0153\xf8\u1e55\u0155\u0159\xdf\u015f\u015b\u0161\u0219\u0165\u021b\xf9\xfa\xfc\xfb\u01d8\u016f\u0171\u016b\u0173\u1e83\u1e8d\xff\xfd\u017a\u017e\u017c\xb7/_,:;",n=new RegExp(t.split("").join("|"),"g");return e.toString().toLowerCase().replace(/\s+/g,"-").replace(/\$/g,"s").replace(n,(e=>"aaaaaaaaacccddeeeeeeegghiiiiilmnnnnooooooprrsssssttuuuuuuuuuwxyyzzz------".charAt(t.indexOf(e)))).replace(/&/g,"-and-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"")}n.d(t,{A:()=>r})},55628:(e,t,n)=>{"use strict";function r(e,t,n,r){const i=e=>r?e>>>0:e;return t.sort(((t,r)=>n(t)&&n(r)?i(e.indexOf(n(t)))-i(e.indexOf(n(r))):0))}n.d(t,{A:()=>r})},72840:(e,t,n)=>{"use strict";function r(e,t){var n;return null!==(n=null===e||void 0===e?void 0:e.reduce(((e,n)=>{var r;return e+(null!==(r=n[t])&&void 0!==r?r:0)}),0))&&void 0!==n?n:0}n.d(t,{Y:()=>r})},55901:(e,t,n)=>{"use strict";n.d(t,{PX:()=>a,TH:()=>o,pY:()=>i});var r=n(84238);function i(e){return r.A.t("placement.",{context:e})}function o(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(""===e)return"";const n=r.A.t("angle.",{context:e});return t?n.toLowerCase():n}function a(e){return"de"===r.A.language?e:e.toLowerCase()}},69167:function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},i.apply(this,arguments)},o=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{l(r.next(e))}catch(t){o(t)}}function s(e){try{l(r.throw(e))}catch(t){o(t)}}function l(e){e.done?i(e.value):function(e){return e instanceof n?e:new n((function(t){t(e)}))}(e.value).then(a,s)}l((r=r.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.WebOrderApi=t.WebOrderApiFactory=t.WebOrderApiFp=t.WebOrderApiAxiosParamCreator=t.UserCurrentApi=t.UserCurrentApiFactory=t.UserCurrentApiFp=t.UserCurrentApiAxiosParamCreator=t.SalesboardApi=t.SalesboardApiFactory=t.SalesboardApiFp=t.SalesboardApiAxiosParamCreator=t.RefinementApi=t.RefinementApiFactory=t.RefinementApiFp=t.RefinementApiAxiosParamCreator=t.ProductExportApi=t.ProductExportApiFactory=t.ProductExportApiFp=t.ProductExportApiAxiosParamCreator=t.PaymentApi=t.PaymentApiFactory=t.PaymentApiFp=t.PaymentApiAxiosParamCreator=t.OfferApi=t.OfferApiFactory=t.OfferApiFp=t.OfferApiAxiosParamCreator=t.MicroshopApi=t.MicroshopApiFactory=t.MicroshopApiFp=t.MicroshopApiAxiosParamCreator=t.LogoApplicatorApi=t.LogoApplicatorApiFactory=t.LogoApplicatorApiFp=t.LogoApplicatorApiAxiosParamCreator=t.HomeApi=t.HomeApiFactory=t.HomeApiFp=t.HomeApiAxiosParamCreator=t.CustomerApi=t.CustomerApiFactory=t.CustomerApiFp=t.CustomerApiAxiosParamCreator=t.CartsApi=t.CartsApiFactory=t.CartsApiFp=t.CartsApiAxiosParamCreator=t.CartApi=t.CartApiFactory=t.CartApiFp=t.CartApiAxiosParamCreator=t.AssortmentApi=t.AssortmentApiFactory=t.AssortmentApiFp=t.AssortmentApiAxiosParamCreator=t.AppApi=t.AppApiFactory=t.AppApiFp=t.AppApiAxiosParamCreator=t.WebOrderStatus=t.WebErpOrderType=t.WebErpOrderSourceType=t.UserUpsertErrorCode=t.UploadErrorCode=t.TextValidation=t.TextTableValidationErrorType=t.TextStyle=t.TextMode=t.TagType=t.TagPosition=t.StockType=t.StockOperation=t.StockLevel=t.State=t.SortOption=t.SizeMode=t.ShopVatMode=t.ShopUserType=t.ShopUnitOrderProcessType=t.ShopUnitCurrencyType=t.ShopType=t.ShopSecurityType=t.ShopProductSizeDisplayType=t.ShopProductAddOnType=t.ShopProductAddOnInputType=t.ShopPriceModelType=t.ShopOrderProcessType=t.ShopOrderNotificationType=t.ShopCartRefinementType=t.ShopCartRefinementInputType=t.ShopAssortmentType=t.ResultCodeEnum=t.RefinementType=t.RefinementOrderStatusCreator=t.RefinementOrderStatus=t.RefinementOrderAction=t.RefinementInternalStatus=t.RefinementCustomerStatus=t.RefinementCostType=t.ProgressStatusSource=t.PriceViewSetting=t.PreferredImageFileType=t.PartnerOrderStatisticType=t.PartnerCostType=t.PMSColorSource=t.OrderStatus=t.OfferStatus=t.OfferOperationType=t.MockupType=t.MicroshopUpdateAction=t.MicroshopOrderType=t.ImageExtension=t.IdentifierType=t.FundingSourceEnum=t.FilterType=t.ExportLevel=t.ErpCustomerStatus=t.ElasticMicroshopProductTextMode=t.DiscountMode=t.CustomerStatus=t.CommerceType=t.ColorCategory=t.CollectionStatus=t.CheckoutResult=t.ChangeStatus=t.CartPriceMode=t.ArticleStatus=t.AppContextOrderRestrictionType=t.AddonType=t.AddonSelectType=t.AddonPlacement=t.AddonLinkType=t.AddonFixedImageType=void 0;var s=n(96011),l=n(57602),c=n(57206);!function(e){e[e.None=0]="None",e[e.BeanieLeftSide=1]="BeanieLeftSide",e[e.BeanieRightSide=2]="BeanieRightSide",e[e.NeckTapeCustom=3]="NeckTapeCustom",e[e.NeckTapeHerringbone=4]="NeckTapeHerringbone",e[e.PlacketTapeCustom=5]="PlacketTapeCustom",e[e.PlacketTapeStock=6]="PlacketTapeStock",e[e.SideSlitInside=7]="SideSlitInside",e[e.SideSlitOutside=8]="SideSlitOutside",e[e.SideTagLeft=9]="SideTagLeft",e[e.SideTagRight=10]="SideTagRight",e[e.WowenCollar=11]="WowenCollar",e[e.WowenHood=12]="WowenHood",e[e.WowenLeftBottom=13]="WowenLeftBottom",e[e.WowenRightBottom=14]="WowenRightBottom",e[e.WowenLeftSleeve=15]="WowenLeftSleeve",e[e.WowenRightSleeve=16]="WowenRightSleeve",e[e.Stoppers=17]="Stoppers",e[e.DrawStrings=18]="DrawStrings",e[e.Buttons=19]="Buttons",e[e.Zippuller=20]="Zippuller",e[e.Hangtag=21]="Hangtag",e[e.Label=22]="Label"}(t.AddonFixedImageType||(t.AddonFixedImageType={})),function(e){e[e.Placements=0]="Placements",e[e.Quantity=1]="Quantity"}(t.AddonLinkType||(t.AddonLinkType={})),function(e){e[e.File=0]="File",e[e.Placement=1]="Placement",e[e.Size=2]="Size",e[e.Color=3]="Color",e[e.Other=4]="Other"}(t.AddonPlacement||(t.AddonPlacement={})),function(e){e[e.Optional=0]="Optional",e[e.Mandatory=1]="Mandatory",e[e.OneOf=2]="OneOf"}(t.AddonSelectType||(t.AddonSelectType={})),function(e){e[e.Costs=0]="Costs",e[e.RequiredText=1]="RequiredText",e[e.OptionalText=2]="OptionalText",e[e.RequiredNumber=3]="RequiredNumber",e[e.OptionalNumber=4]="OptionalNumber",e[e.RequiredTextByColor=5]="RequiredTextByColor",e[e.RequiredCost=6]="RequiredCost",e[e.RequiredPMSByColor=7]="RequiredPMSByColor"}(t.AddonType||(t.AddonType={})),function(e){e[e.None=0]="None",e[e.MinOrderAmount=1]="MinOrderAmount",e[e.CantPlaceOrder=2]="CantPlaceOrder",e[e.B2CShippingFee=3]="B2CShippingFee"}(t.AppContextOrderRestrictionType||(t.AppContextOrderRestrictionType={})),function(e){e[e.Pending=0]="Pending",e[e.Approved=1]="Approved",e[e.Rejected=2]="Rejected",e[e.Draft=3]="Draft"}(t.ArticleStatus||(t.ArticleStatus={})),function(e){e[e.InValid=0]="InValid",e[e.Valid=1]="Valid",e[e.Error=2]="Error"}(t.CartPriceMode||(t.CartPriceMode={})),function(e){e[e.None=0]="None",e[e.Changed=1]="Changed",e[e.Deleted=2]="Deleted"}(t.ChangeStatus||(t.ChangeStatus={})),function(e){e[e.Success=1]="Success",e[e.Failed=2]="Failed",e[e.PaymentFailed=3]="PaymentFailed"}(t.CheckoutResult||(t.CheckoutResult={})),function(e){e[e.Pending=0]="Pending",e[e.Approved=1]="Approved",e[e.Rejected=2]="Rejected",e[e.Draft=3]="Draft"}(t.CollectionStatus||(t.CollectionStatus={})),function(e){e[e.BlackWhite=0]="BlackWhite",e[e.BlackWhiteRedBlue=1]="BlackWhiteRedBlue"}(t.ColorCategory||(t.ColorCategory={})),function(e){e[e.None=0]="None",e[e.B2C=1]="B2C",e[e.B2B=2]="B2B",e[e.B2BResellers=3]="B2BResellers"}(t.CommerceType||(t.CommerceType={})),function(e){e[e.Active=0]="Active",e[e.BlockedInvalidCredit=1]="BlockedInvalidCredit",e[e.BlockedInactive=2]="BlockedInactive",e[e.Unknown=3]="Unknown"}(t.CustomerStatus||(t.CustomerStatus={})),function(e){e[e.Default=0]="Default",e[e.CustomerPrice=1]="CustomerPrice",e[e.Retail=2]="Retail",e[e.Secondary=3]="Secondary"}(t.DiscountMode||(t.DiscountMode={})),function(e){e[e.Default=0]="Default",e[e.Replace=1]="Replace",e[e.Combine=2]="Combine"}(t.ElasticMicroshopProductTextMode||(t.ElasticMicroshopProductTextMode={})),function(e){e[e.NotFound=0]="NotFound",e[e.Error=1]="Error",e[e.Success=2]="Success"}(t.ErpCustomerStatus||(t.ErpCustomerStatus={})),function(e){e[e.Product=0]="Product",e[e.Variation=1]="Variation",e[e.Sku=2]="Sku",e[e.Price=3]="Price",e[e.Image=4]="Image"}(t.ExportLevel||(t.ExportLevel={})),function(e){e[e.Normal=0]="Normal",e[e.Color=1]="Color",e[e.Checkbox=2]="Checkbox"}(t.FilterType||(t.FilterType={})),function(e){e[e.Debit=1]="Debit"}(t.FundingSourceEnum||(t.FundingSourceEnum={})),function(e){e[e.Seller=0]="Seller",e[e.Partner=1]="Partner",e[e.Customer=2]="Customer"}(t.IdentifierType||(t.IdentifierType={})),function(e){e[e.Psd=0]="Psd",e[e.Svg=1]="Svg",e[e.Png=2]="Png",e[e.Jpg=3]="Jpg",e[e.Webp=4]="Webp",e[e.Jpeg=5]="Jpeg"}(t.ImageExtension||(t.ImageExtension={})),function(e){e[e.Master=0]="Master",e[e.Pending=1]="Pending",e[e.Sub=2]="Sub"}(t.MicroshopOrderType||(t.MicroshopOrderType={})),function(e){e[e.Update=0]="Update",e[e.Add=1]="Add",e[e.Delete=2]="Delete"}(t.MicroshopUpdateAction||(t.MicroshopUpdateAction={})),function(e){e[e.Created=0]="Created",e[e.File=1]="File",e[e.Service=2]="Service"}(t.MockupType||(t.MockupType={})),function(e){e[e.Remove=0]="Remove",e[e.Set=1]="Set",e[e.Add=2]="Add",e[e.Price=3]="Price",e[e.Discount=4]="Discount",e[e.Margin=5]="Margin"}(t.OfferOperationType||(t.OfferOperationType={})),function(e){e[e.Waiting=0]="Waiting",e[e.Accepted=1]="Accepted",e[e.Rejected=2]="Rejected",e[e.OrderCreated=3]="OrderCreated",e[e.OrderPlaced=4]="OrderPlaced"}(t.OfferStatus||(t.OfferStatus={})),function(e){e[e.Failed=0]="Failed",e[e.Created=1]="Created",e[e.Placed=2]="Placed",e[e.Confirmed=3]="Confirmed"}(t.OrderStatus||(t.OrderStatus={})),function(e){e[e.None=0]="None",e[e.File=1]="File",e[e.Analysis=2]="Analysis",e[e.Custom=3]="Custom"}(t.PMSColorSource||(t.PMSColorSource={})),function(e){e[e.DeliveryOption=0]="DeliveryOption",e[e.MandatoryCostByQuantity=1]="MandatoryCostByQuantity",e[e.OptionalCostByQuantity=2]="OptionalCostByQuantity",e[e.MultipleShipmentsCost=3]="MultipleShipmentsCost",e[e.ShippingCost=4]="ShippingCost",e[e.MockupCost=5]="MockupCost",e[e.StockTransactionCost=6]="StockTransactionCost",e[e.MinQuantityUpChargeCost=7]="MinQuantityUpChargeCost",e[e.MandatoryCostByQuantityProducts=8]="MandatoryCostByQuantityProducts",e[e.MandatoryCostByQuantityGroupMissing=9]="MandatoryCostByQuantityGroupMissing"}(t.PartnerCostType||(t.PartnerCostType={})),function(e){e[e.NoType=0]="NoType",e[e.Unhandled=1]="Unhandled",e[e.AwaitingCustomer=2]="AwaitingCustomer",e[e.CustomerChanges=3]="CustomerChanges",e[e.Rejected=4]="Rejected",e[e.Approved=5]="Approved",e[e.InProduction=6]="InProduction",e[e.DeliveryChanged=7]="DeliveryChanged",e[e.ExpressOrder=8]="ExpressOrder",e[e.Pinned=9]="Pinned",e[e.CustomerRejected=10]="CustomerRejected"}(t.PartnerOrderStatisticType||(t.PartnerOrderStatisticType={})),function(e){e[e.Jpg=0]="Jpg",e[e.Webp=1]="Webp"}(t.PreferredImageFileType||(t.PreferredImageFileType={})),function(e){e[e.Customer=0]="Customer",e[e.Retail=1]="Retail",e[e.RetailAndCustomer=2]="RetailAndCustomer",e[e.None=3]="None"}(t.PriceViewSetting||(t.PriceViewSetting={})),function(e){e[e.ProductExport=0]="ProductExport",e[e.ProductPriceExport=1]="ProductPriceExport",e[e.ImageExport=2]="ImageExport"}(t.ProgressStatusSource||(t.ProgressStatusSource={})),function(e){e[e.StartCost=0]="StartCost",e[e.CostPerQuantity=1]="CostPerQuantity",e[e.StartCostPerColor=2]="StartCostPerColor",e[e.ColorChange=3]="ColorChange",e[e.CostPerCharacter=4]="CostPerCharacter",e[e.Mounting=5]="Mounting"}(t.RefinementCostType||(t.RefinementCostType={})),function(e){e[e.None=0]="None",e[e.CustomerApproval=1]="CustomerApproval",e[e.CustomerApproved=2]="CustomerApproved",e[e.CustomerRejected=3]="CustomerRejected",e[e.RejectToCustomer=4]="RejectToCustomer",e[e.CustomerSubmittedChanges=5]="CustomerSubmittedChanges"}(t.RefinementCustomerStatus||(t.RefinementCustomerStatus={})),function(e){e[e.Pending=0]="Pending",e[e.Ok=1]="Ok",e[e.OnHold=2]="OnHold"}(t.RefinementInternalStatus||(t.RefinementInternalStatus={})),function(e){e[e.None=0]="None",e[e.Edited=1]="Edited",e[e.InternalComment=2]="InternalComment",e[e.ExternalComment=3]="ExternalComment"}(t.RefinementOrderAction||(t.RefinementOrderAction={})),function(e){e[e.Pending=0]="Pending",e[e.Registred=1]="Registred",e[e.Rejected=2]="Rejected",e[e.Approved=3]="Approved",e[e.AwaitingDelivery=4]="AwaitingDelivery",e[e.InProduction=5]="InProduction",e[e.InProgress=6]="InProgress",e[e.Completed=7]="Completed",e[e.ReadyForInvoice=8]="ReadyForInvoice",e[e.Invoiced=9]="Invoiced"}(t.RefinementOrderStatus||(t.RefinementOrderStatus={})),function(e){e[e.None=0]="None",e[e.System=1]="System",e[e.User=2]="User",e[e.Partner=3]="Partner",e[e.Customer=4]="Customer"}(t.RefinementOrderStatusCreator||(t.RefinementOrderStatusCreator={})),function(e){e[e.Image=0]="Image",e[e.Text=1]="Text",e[e.MultiImages=2]="MultiImages"}(t.RefinementType||(t.RefinementType={})),function(e){e[e.AuthenticationFinished=1]="AuthenticationFinished",e[e.Authorised=2]="Authorised",e[e.Cancelled=3]="Cancelled",e[e.ChallengeShopper=4]="ChallengeShopper",e[e.Error=5]="Error",e[e.IdentifyShopper=6]="IdentifyShopper",e[e.Pending=7]="Pending",e[e.PresentToShopper=8]="PresentToShopper",e[e.Received=9]="Received",e[e.RedirectShopper=10]="RedirectShopper",e[e.Refused=11]="Refused",e[e.Success=12]="Success"}(t.ResultCodeEnum||(t.ResultCodeEnum={})),function(e){e[e.Custom=0]="Custom",e[e.Full=1]="Full"}(t.ShopAssortmentType||(t.ShopAssortmentType={})),function(e){e[e.Comment=0]="Comment",e[e.Placement=1]="Placement",e[e.Repeat=2]="Repeat",e[e.Size=3]="Size",e[e.Cost=4]="Cost",e[e.Addon=5]="Addon",e[e.ColorChange=6]="ColorChange",e[e.Colors=7]="Colors",e[e.Color=8]="Color",e[e.ColorBacking=9]="ColorBacking",e[e.FixedImage=10]="FixedImage",e[e.Font=11]="Font",e[e.Text=12]="Text",e[e.Styles=13]="Styles",e[e.TextValue=14]="TextValue"}(t.ShopCartRefinementInputType||(t.ShopCartRefinementInputType={})),function(e){e[e.Normal=0]="Normal",e[e.Product=1]="Product",e[e.Mounting=2]="Mounting",e[e.Addon=3]="Addon",e[e.TextProduct=4]="TextProduct"}(t.ShopCartRefinementType||(t.ShopCartRefinementType={})),function(e){e[e.None=0]="None",e[e.InstantEmail=1]="InstantEmail",e[e.DailyEmail=2]="DailyEmail"}(t.ShopOrderNotificationType||(t.ShopOrderNotificationType={})),function(e){e[e.MainOrders=0]="MainOrders",e[e.DirectOrders=1]="DirectOrders"}(t.ShopOrderProcessType||(t.ShopOrderProcessType={})),function(e){e[e.None=0]="None",e[e.Default=1]="Default",e[e.Retail=2]="Retail",e[e.Fixed=3]="Fixed"}(t.ShopPriceModelType||(t.ShopPriceModelType={})),function(e){e[e.None=0]="None",e[e.Text=1]="Text",e[e.Number=2]="Number"}(t.ShopProductAddOnInputType||(t.ShopProductAddOnInputType={})),function(e){e[e.Optional=0]="Optional",e[e.Mandatory=1]="Mandatory"}(t.ShopProductAddOnType||(t.ShopProductAddOnType={})),function(e){e[e.ManySizeAndQuantity=0]="ManySizeAndQuantity",e[e.OneSizePerProduct=1]="OneSizePerProduct"}(t.ShopProductSizeDisplayType||(t.ShopProductSizeDisplayType={})),function(e){e[e.None=0]="None",e[e.Secret=1]="Secret",e[e.Register=2]="Register",e[e.SecretAndRegister=3]="SecretAndRegister"}(t.ShopSecurityType||(t.ShopSecurityType={})),function(e){e[e.Individual=0]="Individual",e[e.Units=1]="Units"}(t.ShopType||(t.ShopType={})),function(e){e[e.Standard=0]="Standard",e[e.Points=1]="Points",e[e.Custom=2]="Custom"}(t.ShopUnitCurrencyType||(t.ShopUnitCurrencyType={})),function(e){e[e.DirectOrder=0]="DirectOrder",e[e.MasterOrder=1]="MasterOrder"}(t.ShopUnitOrderProcessType||(t.ShopUnitOrderProcessType={})),function(e){e[e.User=0]="User",e[e.ShopManager=1]="ShopManager"}(t.ShopUserType||(t.ShopUserType={})),function(e){e[e.None=0]="None",e[e.Included=1]="Included",e[e.Excluded=2]="Excluded"}(t.ShopVatMode||(t.ShopVatMode={})),function(e){e[e.None=0]="None",e[e.SquareCm=1]="SquareCm",e[e.FixedHeights=2]="FixedHeights",e[e.FixedWidths=3]="FixedWidths",e[e.FixedDimensions=4]="FixedDimensions"}(t.SizeMode||(t.SizeMode={})),function(e){e[e.Created=0]="Created",e[e.Expected=1]="Expected"}(t.SortOption||(t.SortOption={})),function(e){e[e.Ordered=0]="Ordered",e[e.Processing=1]="Processing",e[e.Done=2]="Done"}(t.State||(t.State={})),function(e){e[e.OutOfStock=0]="OutOfStock",e[e.LowStock=1]="LowStock",e[e.InStock=2]="InStock"}(t.StockLevel||(t.StockLevel={})),function(e){e[e.None=0]="None",e[e.Add=1]="Add",e[e.Remove=2]="Remove"}(t.StockOperation||(t.StockOperation={})),function(e){e[e.Local=0]="Local",e[e.Region=1]="Region",e[e.Global=2]="Global",e[e.Custom=3]="Custom"}(t.StockType||(t.StockType={})),function(e){e[e.Badge=0]="Badge",e[e.Price=1]="Price"}(t.TagPosition||(t.TagPosition={})),function(e){e[e.New=0]="New",e[e.Outlet=1]="Outlet",e[e.Sustainable=2]="Sustainable",e[e.UpComming=3]="UpComming",e[e.Label=4]="Label"}(t.TagType||(t.TagType={})),function(e){e[e.Fixed=0]="Fixed",e[e.Variable=1]="Variable"}(t.TextMode||(t.TextMode={})),function(e){e[e.None=0]="None",e[e.Bold=1]="Bold",e[e.Italic=2]="Italic"}(t.TextStyle||(t.TextStyle={})),function(e){e[e.None=0]="None",e[e.NoValue=1]="NoValue",e[e.InvalidFormat=2]="InvalidFormat",e[e.ToLong=3]="ToLong"}(t.TextTableValidationErrorType||(t.TextTableValidationErrorType={})),function(e){e[e.None=0]="None",e[e.Integer=1]="Integer",e[e.Letters=2]="Letters",e[e.LettersUpper=3]="LettersUpper"}(t.TextValidation||(t.TextValidation={})),function(e){e[e.NoFileSelected=0]="NoFileSelected",e[e.NoDataInFile=1]="NoDataInFile",e[e.NoRowsInFile=2]="NoRowsInFile",e[e.MissingOrIncorrectHeaders=3]="MissingOrIncorrectHeaders",e[e.InvalidEmailFormat=4]="InvalidEmailFormat",e[e.InvalidRoleValue=5]="InvalidRoleValue",e[e.InvalidIsAttestantValue=6]="InvalidIsAttestantValue",e[e.InvalidManageBudgetValue=7]="InvalidManageBudgetValue",e[e.InvalidRequiresAttestationValue=8]="InvalidRequiresAttestationValue",e[e.MissingShopUnits=9]="MissingShopUnits",e[e.MissingMicroshop=10]="MissingMicroshop",e[e.MissingUsers=11]="MissingUsers",e[e.DatabaseError=12]="DatabaseError"}(t.UploadErrorCode||(t.UploadErrorCode={})),function(e){e[e.DatabaseError=0]="DatabaseError",e[e.MissingMicroshop=1]="MissingMicroshop",e[e.MissingUsers=2]="MissingUsers",e[e.MissingEmail=3]="MissingEmail",e[e.MissingShopUnitName=4]="MissingShopUnitName"}(t.UserUpsertErrorCode||(t.UserUpsertErrorCode={})),function(e){e[e.Offer=0]="Offer",e[e.MasterOrder=1]="MasterOrder"}(t.WebErpOrderSourceType||(t.WebErpOrderSourceType={})),function(e){e[e.Order=0]="Order",e[e.WebOrder=1]="WebOrder",e[e.RefinmentOrder=2]="RefinmentOrder",e[e.Credit=3]="Credit",e[e.PaymentOrder=4]="PaymentOrder"}(t.WebErpOrderType||(t.WebErpOrderType={})),function(e){e[e.UnConfirmed=0]="UnConfirmed",e[e.Confirmed=1]="Confirmed",e[e.Approved=2]="Approved",e[e.Processing=3]="Processing",e[e.InProduction=4]="InProduction",e[e.InProgress=5]="InProgress",e[e.Completed=6]="Completed",e[e.Invoiced=7]="Invoiced",e[e.Cancelled=8]="Cancelled"}(t.WebOrderStatus||(t.WebOrderStatus={})),t.AppApiAxiosParamCreator=function(e){var t=this;return{appInit:function(n){return void 0===n&&(n={}),o(t,void 0,void 0,(function(){var t,r,o,s,c,u;return a(this,(function(a){switch(a.label){case 0:return t=new URL("/commerce",l.DUMMY_BASE_URL),e&&(r=e.baseOptions),o=i(i({method:"GET"},r),n),s={},c={},[4,l.setApiKeyToObject(s,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(s,e)];case 2:return a.sent(),l.setSearchParams(t,c,n.query),u=r&&r.headers?r.headers:{},o.headers=i(i(i({},s),u),n.headers),[2,{url:l.toPathString(t),options:o}]}}))}))}}},t.AppApiFp=function(e){var n=t.AppApiAxiosParamCreator(e);return{appInit:function(t){return o(this,void 0,void 0,(function(){var r;return a(this,(function(i){switch(i.label){case 0:return[4,n.appInit(t)];case 1:return r=i.sent(),[2,l.createRequestFunction(r,s.default,c.BASE_PATH,e)]}}))}))}}},t.AppApiFactory=function(e,n,r){var i=t.AppApiFp(e);return{appInit:function(e){return i.appInit(e).then((function(e){return e(r,n)}))}}};var u=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return r(n,e),n.prototype.appInit=function(e){var n=this;return t.AppApiFp(this.configuration).appInit(e).then((function(e){return e(n.axios,n.basePath)}))},n}(c.BaseAPI);t.AppApi=u,t.AssortmentApiAxiosParamCreator=function(e){var t=this;return{assortmentExtendedSearch:function(n,r,s,c,u,d,p,h,f,m,g){return void 0===g&&(g={}),o(t,void 0,void 0,(function(){var t,o,v,y,A,b,w;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("assortmentExtendedSearch","lang",n),t="/assortment/{lang}/products/extended/search".replace("{lang}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(v=e.baseOptions),y=i(i({method:"GET"},v),g),A={},b={},[4,l.setApiKeyToObject(A,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(A,e)];case 2:return a.sent(),void 0!==r&&(b.searchPhrase=r),s&&(b.categories=s),void 0!==c&&(b.filters=c),void 0!==u&&(b.orderBy=u),void 0!==d&&(b.priceView=d),void 0!==p&&(b.pageSize=p),void 0!==h&&(b.page=h),void 0!==f&&(b.currency=f),void 0!==m&&(b.market=m),l.setSearchParams(o,b,g.query),w=v&&v.headers?v.headers:{},y.headers=i(i(i({},A),w),g.headers),[2,{url:l.toPathString(o),options:y}]}}))}))},assortmentGetCategories:function(n,r,s,c,u,d,p){return void 0===p&&(p={}),o(t,void 0,void 0,(function(){var t,o,h,f,m,g,v;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("assortmentGetCategories","lang",n),t="/assortment/{lang}/categories".replace("{lang}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(h=e.baseOptions),f=i(i({method:"GET"},h),p),m={},g={},[4,l.setApiKeyToObject(m,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(m,e)];case 2:return a.sent(),void 0!==r&&(g.assortmentEntryPoint=r),void 0!==s&&(g.includeProducts=s),void 0!==c&&(g.includeAssortment=c),void 0!==u&&(g.currency=u),void 0!==d&&(g.market=d),l.setSearchParams(o,g,p.query),v=h&&h.headers?h.headers:{},f.headers=i(i(i({},m),v),p.headers),[2,{url:l.toPathString(o),options:f}]}}))}))},assortmentGetExtendedProducts:function(n,r,s,c,u,d,p,h){return void 0===h&&(h={}),o(t,void 0,void 0,(function(){var t,o,f,m,g,v,y;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("assortmentGetExtendedProducts","lang",n),t="/assortment/{lang}/products/extended".replace("{lang}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(f=e.baseOptions),m=i(i({method:"GET"},f),h),g={},v={},[4,l.setApiKeyToObject(g,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(g,e)];case 2:return a.sent(),void 0!==r&&(v.priceView=r),s&&(v.products=s),c&&(v.assortmentIds=c),void 0!==u&&(v.filters=u),void 0!==d&&(v.currency=d),void 0!==p&&(v.market=p),l.setSearchParams(o,v,h.query),y=f&&f.headers?f.headers:{},m.headers=i(i(i({},g),y),h.headers),[2,{url:l.toPathString(o),options:m}]}}))}))},assortmentGetFiltersPOST:function(n,r,s,c,u){return void 0===u&&(u={}),o(t,void 0,void 0,(function(){var t,o,d,p,h,f,m;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("assortmentGetFiltersPOST","lang",n),t="/assortment/{lang}/filters".replace("{lang}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(d=e.baseOptions),p=i(i({method:"POST"},d),u),h={},f={},[4,l.setApiKeyToObject(h,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(h,e)];case 2:return a.sent(),void 0!==r&&(f.currency=r),void 0!==s&&(f.market=s),h["Content-Type"]="application/json",l.setSearchParams(o,f,u.query),m=d&&d.headers?d.headers:{},p.headers=i(i(i({},h),m),u.headers),p.data=l.serializeDataIfNeeded(c,p,e),[2,{url:l.toPathString(o),options:p}]}}))}))},assortmentGetImagesZip:function(n,r,s,c,u,d){return void 0===d&&(d={}),o(t,void 0,void 0,(function(){var t,o,p,h,f,m,g;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("assortmentGetImagesZip","product",n),l.assertParamExists("assortmentGetImagesZip","lang",r),t="/assortment/{lang}/product/{product}/ImagesZip".replace("{product}",encodeURIComponent(String(n))).replace("{lang}",encodeURIComponent(String(r))),o=new URL(t,l.DUMMY_BASE_URL),e&&(p=e.baseOptions),h=i(i({method:"GET"},p),d),f={},m={},[4,l.setApiKeyToObject(f,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(f,e)];case 2:return a.sent(),void 0!==s&&(m.filters=s),void 0!==c&&(m.currency=c),void 0!==u&&(m.market=u),l.setSearchParams(o,m,d.query),g=p&&p.headers?p.headers:{},h.headers=i(i(i({},f),g),d.headers),[2,{url:l.toPathString(o),options:h}]}}))}))},assortmentGetMetaDataProducts:function(n,r,s,c,u,d){return void 0===d&&(d={}),o(t,void 0,void 0,(function(){var t,o,p,h,f,m,g;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("assortmentGetMetaDataProducts","lang",n),t="/assortment/{lang}/products/metadata".replace("{lang}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(p=e.baseOptions),h=i(i({method:"GET"},p),d),f={},m={},[4,l.setApiKeyToObject(f,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(f,e)];case 2:return a.sent(),r&&(m.products=r),s&&(m.assortmentIds=s),void 0!==c&&(m.currency=c),void 0!==u&&(m.market=u),l.setSearchParams(o,m,d.query),g=p&&p.headers?p.headers:{},h.headers=i(i(i({},f),g),d.headers),[2,{url:l.toPathString(o),options:h}]}}))}))},assortmentGetProduct:function(n,r,s,c,u,d,p){return void 0===p&&(p={}),o(t,void 0,void 0,(function(){var t,o,h,f,m,g,v;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("assortmentGetProduct","lang",n),l.assertParamExists("assortmentGetProduct","product",r),t="/assortment/{lang}/product/{product}".replace("{lang}",encodeURIComponent(String(n))).replace("{product}",encodeURIComponent(String(r))),o=new URL(t,l.DUMMY_BASE_URL),e&&(h=e.baseOptions),f=i(i({method:"GET"},h),p),m={},g={},[4,l.setApiKeyToObject(m,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(m,e)];case 2:return a.sent(),s&&(g.assortmentIds=s),void 0!==c&&(g.filters=c),void 0!==u&&(g.currency=u),void 0!==d&&(g.market=d),l.setSearchParams(o,g,p.query),v=h&&h.headers?h.headers:{},f.headers=i(i(i({},m),v),p.headers),[2,{url:l.toPathString(o),options:f}]}}))}))},assortmentGetProductVariations:function(n,r,s,c){return void 0===c&&(c={}),o(t,void 0,void 0,(function(){var t,o,u,d,p,h,f;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("assortmentGetProductVariations","lang",n),t="/assortment/{lang}/products/skus/variations".replace("{lang}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(u=e.baseOptions),d=i(i({method:"GET"},u),c),p={},h={},[4,l.setApiKeyToObject(p,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(p,e)];case 2:return a.sent(),r&&(h.variationNumbers=r),s&&(h.assortmentIds=s),l.setSearchParams(o,h,c.query),f=u&&u.headers?u.headers:{},d.headers=i(i(i({},p),f),c.headers),[2,{url:l.toPathString(o),options:d}]}}))}))},assortmentGetProducts:function(n,r,s,c,u,d,p){return void 0===p&&(p={}),o(t,void 0,void 0,(function(){var t,o,h,f,m,g,v;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("assortmentGetProducts","lang",n),t="/assortment/{lang}/products".replace("{lang}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(h=e.baseOptions),f=i(i({method:"GET"},h),p),m={},g={},[4,l.setApiKeyToObject(m,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(m,e)];case 2:return a.sent(),r&&(g.products=r),s&&(g.assortmentIds=s),void 0!==c&&(g.filters=c),void 0!==u&&(g.currency=u),void 0!==d&&(g.market=d),l.setSearchParams(o,g,p.query),v=h&&h.headers?h.headers:{},f.headers=i(i(i({},m),v),p.headers),[2,{url:l.toPathString(o),options:f}]}}))}))},assortmentPricePOST:function(n,r,s){return void 0===s&&(s={}),o(t,void 0,void 0,(function(){var t,o,c,u,d,p,h;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("assortmentPricePOST","lang",n),t="/assortment/{lang}/customerprice".replace("{lang}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(c=e.baseOptions),u=i(i({method:"POST"},c),s),d={},p={},[4,l.setApiKeyToObject(d,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(d,e)];case 2:return a.sent(),d["Content-Type"]="application/json",l.setSearchParams(o,p,s.query),h=c&&c.headers?c.headers:{},u.headers=i(i(i({},d),h),s.headers),u.data=l.serializeDataIfNeeded(r,u,e),[2,{url:l.toPathString(o),options:u}]}}))}))},assortmentSearchFull:function(n,r,s,c,u,d,p,h,f,m){return void 0===m&&(m={}),o(t,void 0,void 0,(function(){var t,o,g,v,y,A,b;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("assortmentSearchFull","lang",n),t="/assortment/{lang}/search".replace("{lang}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(g=e.baseOptions),v=i(i({method:"GET"},g),m),y={},A={},[4,l.setApiKeyToObject(y,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(y,e)];case 2:return a.sent(),void 0!==r&&(A.search=r),s&&(A.categories=s),void 0!==c&&(A.selectedFilters=c),void 0!==u&&(A.orderBy=u),void 0!==d&&(A.pageSize=d),void 0!==p&&(A.page=p),void 0!==h&&(A.currency=h),void 0!==f&&(A.market=f),l.setSearchParams(o,A,m.query),b=g&&g.headers?g.headers:{},v.headers=i(i(i({},y),b),m.headers),[2,{url:l.toPathString(o),options:v}]}}))}))},assortmentSearchSimple:function(n,r,s,c,u,d,p,h,f,m){return void 0===m&&(m={}),o(t,void 0,void 0,(function(){var t,o,g,v,y,A,b;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("assortmentSearchSimple","lang",n),t="/assortment/{lang}/search/simple".replace("{lang}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(g=e.baseOptions),v=i(i({method:"GET"},g),m),y={},A={},[4,l.setApiKeyToObject(y,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(y,e)];case 2:return a.sent(),void 0!==r&&(A.searchPhrase=r),s&&(A.categories=s),void 0!==c&&(A.selectedFilters=c),void 0!==u&&(A.orderBy=u),void 0!==d&&(A.pageSize=d),void 0!==p&&(A.page=p),void 0!==h&&(A.currency=h),void 0!==f&&(A.market=f),l.setSearchParams(o,A,m.query),b=g&&g.headers?g.headers:{},v.headers=i(i(i({},y),b),m.headers),[2,{url:l.toPathString(o),options:v}]}}))}))},assortmentSkus:function(n,r,s,c){return void 0===c&&(c={}),o(t,void 0,void 0,(function(){var t,o,u,d,p,h,f;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("assortmentSkus","lang",n),t="/assortment/{lang}/skus".replace("{lang}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(u=e.baseOptions),d=i(i({method:"GET"},u),c),p={},h={},[4,l.setApiKeyToObject(p,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(p,e)];case 2:return a.sent(),void 0!==r&&(h.product=r),void 0!==s&&(h.variationNumber=s),l.setSearchParams(o,h,c.query),f=u&&u.headers?u.headers:{},d.headers=i(i(i({},p),f),c.headers),[2,{url:l.toPathString(o),options:d}]}}))}))}}},t.AssortmentApiFp=function(e){var n=t.AssortmentApiAxiosParamCreator(e);return{assortmentExtendedSearch:function(t,r,i,u,d,p,h,f,m,g,v){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.assortmentExtendedSearch(t,r,i,u,d,p,h,f,m,g,v)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},assortmentGetCategories:function(t,r,i,u,d,p,h){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.assortmentGetCategories(t,r,i,u,d,p,h)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},assortmentGetExtendedProducts:function(t,r,i,u,d,p,h,f){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.assortmentGetExtendedProducts(t,r,i,u,d,p,h,f)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},assortmentGetFiltersPOST:function(t,r,i,u,d){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.assortmentGetFiltersPOST(t,r,i,u,d)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},assortmentGetImagesZip:function(t,r,i,u,d,p){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.assortmentGetImagesZip(t,r,i,u,d,p)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},assortmentGetMetaDataProducts:function(t,r,i,u,d,p){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.assortmentGetMetaDataProducts(t,r,i,u,d,p)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},assortmentGetProduct:function(t,r,i,u,d,p,h){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.assortmentGetProduct(t,r,i,u,d,p,h)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},assortmentGetProductVariations:function(t,r,i,u){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.assortmentGetProductVariations(t,r,i,u)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},assortmentGetProducts:function(t,r,i,u,d,p,h){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.assortmentGetProducts(t,r,i,u,d,p,h)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},assortmentPricePOST:function(t,r,i){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.assortmentPricePOST(t,r,i)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},assortmentSearchFull:function(t,r,i,u,d,p,h,f,m,g){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.assortmentSearchFull(t,r,i,u,d,p,h,f,m,g)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},assortmentSearchSimple:function(t,r,i,u,d,p,h,f,m,g){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.assortmentSearchSimple(t,r,i,u,d,p,h,f,m,g)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},assortmentSkus:function(t,r,i,u){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.assortmentSkus(t,r,i,u)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))}}},t.AssortmentApiFactory=function(e,n,r){var i=t.AssortmentApiFp(e);return{assortmentExtendedSearch:function(e,t,o,a,s,l,c,u,d,p,h){return i.assortmentExtendedSearch(e,t,o,a,s,l,c,u,d,p,h).then((function(e){return e(r,n)}))},assortmentGetCategories:function(e,t,o,a,s,l,c){return i.assortmentGetCategories(e,t,o,a,s,l,c).then((function(e){return e(r,n)}))},assortmentGetExtendedProducts:function(e,t,o,a,s,l,c,u){return i.assortmentGetExtendedProducts(e,t,o,a,s,l,c,u).then((function(e){return e(r,n)}))},assortmentGetFiltersPOST:function(e,t,o,a,s){return i.assortmentGetFiltersPOST(e,t,o,a,s).then((function(e){return e(r,n)}))},assortmentGetImagesZip:function(e,t,o,a,s,l){return i.assortmentGetImagesZip(e,t,o,a,s,l).then((function(e){return e(r,n)}))},assortmentGetMetaDataProducts:function(e,t,o,a,s,l){return i.assortmentGetMetaDataProducts(e,t,o,a,s,l).then((function(e){return e(r,n)}))},assortmentGetProduct:function(e,t,o,a,s,l,c){return i.assortmentGetProduct(e,t,o,a,s,l,c).then((function(e){return e(r,n)}))},assortmentGetProductVariations:function(e,t,o,a){return i.assortmentGetProductVariations(e,t,o,a).then((function(e){return e(r,n)}))},assortmentGetProducts:function(e,t,o,a,s,l,c){return i.assortmentGetProducts(e,t,o,a,s,l,c).then((function(e){return e(r,n)}))},assortmentPricePOST:function(e,t,o){return i.assortmentPricePOST(e,t,o).then((function(e){return e(r,n)}))},assortmentSearchFull:function(e,t,o,a,s,l,c,u,d,p){return i.assortmentSearchFull(e,t,o,a,s,l,c,u,d,p).then((function(e){return e(r,n)}))},assortmentSearchSimple:function(e,t,o,a,s,l,c,u,d,p){return i.assortmentSearchSimple(e,t,o,a,s,l,c,u,d,p).then((function(e){return e(r,n)}))},assortmentSkus:function(e,t,o,a){return i.assortmentSkus(e,t,o,a).then((function(e){return e(r,n)}))}}};var d=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return r(n,e),n.prototype.assortmentExtendedSearch=function(e,n,r,i,o,a,s,l,c,u,d){var p=this;return t.AssortmentApiFp(this.configuration).assortmentExtendedSearch(e,n,r,i,o,a,s,l,c,u,d).then((function(e){return e(p.axios,p.basePath)}))},n.prototype.assortmentGetCategories=function(e,n,r,i,o,a,s){var l=this;return t.AssortmentApiFp(this.configuration).assortmentGetCategories(e,n,r,i,o,a,s).then((function(e){return e(l.axios,l.basePath)}))},n.prototype.assortmentGetExtendedProducts=function(e,n,r,i,o,a,s,l){var c=this;return t.AssortmentApiFp(this.configuration).assortmentGetExtendedProducts(e,n,r,i,o,a,s,l).then((function(e){return e(c.axios,c.basePath)}))},n.prototype.assortmentGetFiltersPOST=function(e,n,r,i,o){var a=this;return t.AssortmentApiFp(this.configuration).assortmentGetFiltersPOST(e,n,r,i,o).then((function(e){return e(a.axios,a.basePath)}))},n.prototype.assortmentGetImagesZip=function(e,n,r,i,o,a){var s=this;return t.AssortmentApiFp(this.configuration).assortmentGetImagesZip(e,n,r,i,o,a).then((function(e){return e(s.axios,s.basePath)}))},n.prototype.assortmentGetMetaDataProducts=function(e,n,r,i,o,a){var s=this;return t.AssortmentApiFp(this.configuration).assortmentGetMetaDataProducts(e,n,r,i,o,a).then((function(e){return e(s.axios,s.basePath)}))},n.prototype.assortmentGetProduct=function(e,n,r,i,o,a,s){var l=this;return t.AssortmentApiFp(this.configuration).assortmentGetProduct(e,n,r,i,o,a,s).then((function(e){return e(l.axios,l.basePath)}))},n.prototype.assortmentGetProductVariations=function(e,n,r,i){var o=this;return t.AssortmentApiFp(this.configuration).assortmentGetProductVariations(e,n,r,i).then((function(e){return e(o.axios,o.basePath)}))},n.prototype.assortmentGetProducts=function(e,n,r,i,o,a,s){var l=this;return t.AssortmentApiFp(this.configuration).assortmentGetProducts(e,n,r,i,o,a,s).then((function(e){return e(l.axios,l.basePath)}))},n.prototype.assortmentPricePOST=function(e,n,r){var i=this;return t.AssortmentApiFp(this.configuration).assortmentPricePOST(e,n,r).then((function(e){return e(i.axios,i.basePath)}))},n.prototype.assortmentSearchFull=function(e,n,r,i,o,a,s,l,c,u){var d=this;return t.AssortmentApiFp(this.configuration).assortmentSearchFull(e,n,r,i,o,a,s,l,c,u).then((function(e){return e(d.axios,d.basePath)}))},n.prototype.assortmentSearchSimple=function(e,n,r,i,o,a,s,l,c,u){var d=this;return t.AssortmentApiFp(this.configuration).assortmentSearchSimple(e,n,r,i,o,a,s,l,c,u).then((function(e){return e(d.axios,d.basePath)}))},n.prototype.assortmentSkus=function(e,n,r,i){var o=this;return t.AssortmentApiFp(this.configuration).assortmentSkus(e,n,r,i).then((function(e){return e(o.axios,o.basePath)}))},n}(c.BaseAPI);t.AssortmentApi=d,t.CartApiAxiosParamCreator=function(e){var t=this;return{cartAddArticlePOST:function(n,r,s,c,u,d,p){return void 0===p&&(p={}),o(t,void 0,void 0,(function(){var t,o,h,f,m,g,v;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("cartAddArticlePOST","lang",n),t="/cart/{lang}/article/add".replace("{lang}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(h=e.baseOptions),f=i(i({method:"POST"},h),p),m={},g={},[4,l.setApiKeyToObject(m,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(m,e)];case 2:return a.sent(),void 0!==r&&(g.articleId=r),void 0!==s&&(g.quantity=s),void 0!==c&&(g.operation=c),void 0!==u&&null!==u&&(m.type=String(u)),void 0!==d&&null!==d&&(m.identifier=String(d)),l.setSearchParams(o,g,p.query),v=h&&h.headers?h.headers:{},f.headers=i(i(i({},m),v),p.headers),[2,{url:l.toPathString(o),options:f}]}}))}))},cartAddCampaignPOST:function(n,r,s,c,u){return void 0===u&&(u={}),o(t,void 0,void 0,(function(){var t,o,d,p,h,f,m;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("cartAddCampaignPOST","lang",n),t="/cart/{lang}/campaign/add".replace("{lang}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(d=e.baseOptions),p=i(i({method:"POST"},d),u),h={},f={},[4,l.setApiKeyToObject(h,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(h,e)];case 2:return a.sent(),void 0!==r&&(f.code=r),void 0!==s&&null!==s&&(h.type=String(s)),void 0!==c&&null!==c&&(h.identifier=String(c)),l.setSearchParams(o,f,u.query),m=d&&d.headers?d.headers:{},p.headers=i(i(i({},h),m),u.headers),[2,{url:l.toPathString(o),options:p}]}}))}))},cartAddCartToCartPOST:function(n,r,s,c,u){return void 0===u&&(u={}),o(t,void 0,void 0,(function(){var t,o,d,p,h,f,m;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("cartAddCartToCartPOST","lang",n),t="/cart/{lang}/carttocart".replace("{lang}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(d=e.baseOptions),p=i(i({method:"POST"},d),u),h={},f={},[4,l.setApiKeyToObject(h,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(h,e)];case 2:return a.sent(),void 0!==r&&(f.offerId=r),void 0!==s&&null!==s&&(h.type=String(s)),void 0!==c&&null!==c&&(h.identifier=String(c)),l.setSearchParams(o,f,u.query),m=d&&d.headers?d.headers:{},p.headers=i(i(i({},h),m),u.headers),[2,{url:l.toPathString(o),options:p}]}}))}))},cartAddChangePOST:function(n,r,s,c,u){return void 0===u&&(u={}),o(t,void 0,void 0,(function(){var t,o,d,p,h,f,m;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("cartAddChangePOST","lang",n),t="/cart/{lang}/skus/addchange".replace("{lang}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(d=e.baseOptions),p=i(i({method:"POST"},d),u),h={},f={},[4,l.setApiKeyToObject(h,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(h,e)];case 2:return a.sent(),void 0!==r&&null!==r&&(h.type=String(r)),void 0!==s&&null!==s&&(h.identifier=String(s)),h["Content-Type"]="application/json",l.setSearchParams(o,f,u.query),m=d&&d.headers?d.headers:{},p.headers=i(i(i({},h),m),u.headers),p.data=l.serializeDataIfNeeded(c,p,e),[2,{url:l.toPathString(o),options:p}]}}))}))},cartAddCollectionPOST:function(n,r,s,c,u,d){return void 0===d&&(d={}),o(t,void 0,void 0,(function(){var t,o,p,h,f,m,g;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("cartAddCollectionPOST","lang",n),t="/cart/{lang}/collection/add".replace("{lang}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(p=e.baseOptions),h=i(i({method:"POST"},p),d),f={},m={},[4,l.setApiKeyToObject(f,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(f,e)];case 2:return a.sent(),void 0!==r&&(m.collectionId=r),void 0!==s&&null!==s&&(f.type=String(s)),void 0!==c&&null!==c&&(f.identifier=String(c)),f["Content-Type"]="application/json",l.setSearchParams(o,m,d.query),g=p&&p.headers?p.headers:{},h.headers=i(i(i({},f),g),d.headers),h.data=l.serializeDataIfNeeded(u,h,e),[2,{url:l.toPathString(o),options:h}]}}))}))},cartAddOrderToCartPOST:function(n,r,s,c,u,d,p){return void 0===p&&(p={}),o(t,void 0,void 0,(function(){var t,o,h,f,m,g,v;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("cartAddOrderToCartPOST","lang",n),t="/cart/{lang}/ordertocart".replace("{lang}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(h=e.baseOptions),f=i(i({method:"POST"},h),p),m={},g={},[4,l.setApiKeyToObject(m,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(m,e)];case 2:return a.sent(),void 0!==r&&(g.clientOrderId=r),void 0!==s&&(g.orderNumber=s),void 0!==c&&null!==c&&(m.type=String(c)),void 0!==u&&null!==u&&(m.identifier=String(u)),m["Content-Type"]="application/json",l.setSearchParams(o,g,p.query),v=h&&h.headers?h.headers:{},f.headers=i(i(i({},m),v),p.headers),f.data=l.serializeDataIfNeeded(d,f,e),[2,{url:l.toPathString(o),options:f}]}}))}))},cartAddPOST:function(n,r,s,c,u){return void 0===u&&(u={}),o(t,void 0,void 0,(function(){var t,o,d,p,h,f,m;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("cartAddPOST","lang",n),t="/cart/{lang}/skus/add".replace("{lang}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(d=e.baseOptions),p=i(i({method:"POST"},d),u),h={},f={},[4,l.setApiKeyToObject(h,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(h,e)];case 2:return a.sent(),void 0!==r&&null!==r&&(h.type=String(r)),void 0!==s&&null!==s&&(h.identifier=String(s)),h["Content-Type"]="application/json",l.setSearchParams(o,f,u.query),m=d&&d.headers?d.headers:{},p.headers=i(i(i({},h),m),u.headers),p.data=l.serializeDataIfNeeded(c,p,e),[2,{url:l.toPathString(o),options:p}]}}))}))},cartB2BCheckoutPOST:function(n,r,s,c,u){return void 0===u&&(u={}),o(t,void 0,void 0,(function(){var t,o,d,p,h,f,m;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("cartB2BCheckoutPOST","lang",n),t="/cart/{lang}/checkout/b2b".replace("{lang}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(d=e.baseOptions),p=i(i({method:"POST"},d),u),h={},f={},[4,l.setApiKeyToObject(h,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(h,e)];case 2:return a.sent(),void 0!==r&&null!==r&&(h.type=String(r)),void 0!==s&&null!==s&&(h.identifier=String(s)),h["Content-Type"]="application/json",l.setSearchParams(o,f,u.query),m=d&&d.headers?d.headers:{},p.headers=i(i(i({},h),m),u.headers),p.data=l.serializeDataIfNeeded(c,p,e),[2,{url:l.toPathString(o),options:p}]}}))}))},cartB2BResellerCheckoutPOST:function(n,r,s,c,u){return void 0===u&&(u={}),o(t,void 0,void 0,(function(){var t,o,d,p,h,f,m;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("cartB2BResellerCheckoutPOST","lang",n),t="/cart/{lang}/checkout/b2breseller".replace("{lang}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(d=e.baseOptions),p=i(i({method:"POST"},d),u),h={},f={},[4,l.setApiKeyToObject(h,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(h,e)];case 2:return a.sent(),void 0!==r&&null!==r&&(h.type=String(r)),void 0!==s&&null!==s&&(h.identifier=String(s)),h["Content-Type"]="application/json",l.setSearchParams(o,f,u.query),m=d&&d.headers?d.headers:{},p.headers=i(i(i({},h),m),u.headers),p.data=l.serializeDataIfNeeded(c,p,e),[2,{url:l.toPathString(o),options:p}]}}))}))},cartChangeRefinementQuantityPOST:function(n,r,s,c,u,d){return void 0===d&&(d={}),o(t,void 0,void 0,(function(){var t,o,p,h,f,m,g;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("cartChangeRefinementQuantityPOST","lang",n),t="/cart/{lang}/refinement/quantity".replace("{lang}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(p=e.baseOptions),h=i(i({method:"POST"},p),d),f={},m={},[4,l.setApiKeyToObject(f,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(f,e)];case 2:return a.sent(),void 0!==r&&(m.quantity=r),void 0!==s&&(m.index=s),void 0!==c&&null!==c&&(f.type=String(c)),void 0!==u&&null!==u&&(f.identifier=String(u)),l.setSearchParams(o,m,d.query),g=p&&p.headers?p.headers:{},h.headers=i(i(i({},f),g),d.headers),[2,{url:l.toPathString(o),options:h}]}}))}))},cartChangeRefinementsPOST:function(n,r,s,u,d,p,h,f,m,g,v,y){return void 0===y&&(y={}),o(t,void 0,void 0,(function(){var t,o,A,b,w,x,C,S;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("cartChangeRefinementsPOST","lang",n),t="/cart/{lang}/refinement/change".replace("{lang}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(A=e.baseOptions),b=i(i({method:"POST"},A),y),w={},x={},C=new(e&&e.formDataCtor||FormData),[4,l.setApiKeyToObject(w,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(w,e)];case 2:return a.sent(),void 0!==r&&(x.append=r),void 0!==s&&null!==s&&(w.type=String(s)),void 0!==u&&null!==u&&(w.identifier=String(u)),d&&C.append(d.join(c.COLLECTION_FORMATS.csv)),p&&C.append(p.join(c.COLLECTION_FORMATS.csv)),h&&C.append(h.join(c.COLLECTION_FORMATS.csv)),f&&C.append(f.join(c.COLLECTION_FORMATS.csv)),void 0!==m&&C.append("DeliveryOption",m),g&&g.forEach((function(e){C.append("files",e)})),v&&C.append(v.join(c.COLLECTION_FORMATS.csv)),w["Content-Type"]="multipart/form-data",l.setSearchParams(o,x,y.query),S=A&&A.headers?A.headers:{},b.headers=i(i(i({},w),S),y.headers),b.data=C,[2,{url:l.toPathString(o),options:b}]}}))}))},cartClearPOST:function(n,r,s,c){return void 0===c&&(c={}),o(t,void 0,void 0,(function(){var t,o,u,d,p,h,f;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("cartClearPOST","lang",n),t="/cart/{lang}/clear".replace("{lang}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(u=e.baseOptions),d=i(i({method:"POST"},u),c),p={},h={},[4,l.setApiKeyToObject(p,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(p,e)];case 2:return a.sent(),void 0!==r&&null!==r&&(p.type=String(r)),void 0!==s&&null!==s&&(p.identifier=String(s)),l.setSearchParams(o,h,c.query),f=u&&u.headers?u.headers:{},d.headers=i(i(i({},p),f),c.headers),[2,{url:l.toPathString(o),options:d}]}}))}))},cartCreateDraftPOST:function(n,r,s,c,u){return void 0===u&&(u={}),o(t,void 0,void 0,(function(){var t,o,d,p,h,f,m;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("cartCreateDraftPOST","lang",n),t="/cart/{lang}/draft/create".replace("{lang}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(d=e.baseOptions),p=i(i({method:"POST"},d),u),h={},f={},[4,l.setApiKeyToObject(h,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(h,e)];case 2:return a.sent(),void 0!==r&&(f.name=r),void 0!==s&&null!==s&&(h.type=String(s)),void 0!==c&&null!==c&&(h.identifier=String(c)),l.setSearchParams(o,f,u.query),m=d&&d.headers?d.headers:{},p.headers=i(i(i({},h),m),u.headers),[2,{url:l.toPathString(o),options:p}]}}))}))},cartCreateOfferPOST:function(n,r,s,c,u){return void 0===u&&(u={}),o(t,void 0,void 0,(function(){var t,o,d,p,h,f,m;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("cartCreateOfferPOST","lang",n),t="/cart/{lang}/offer/create".replace("{lang}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(d=e.baseOptions),p=i(i({method:"POST"},d),u),h={},f={},[4,l.setApiKeyToObject(h,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(h,e)];case 2:return a.sent(),void 0!==r&&(f.name=r),void 0!==s&&null!==s&&(h.type=String(s)),void 0!==c&&null!==c&&(h.identifier=String(c)),l.setSearchParams(o,f,u.query),m=d&&d.headers?d.headers:{},p.headers=i(i(i({},h),m),u.headers),[2,{url:l.toPathString(o),options:p}]}}))}))},cartGet:function(n,r,s,c){return void 0===c&&(c={}),o(t,void 0,void 0,(function(){var t,o,u,d,p,h,f;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("cartGet","lang",n),t="/cart/{lang}".replace("{lang}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(u=e.baseOptions),d=i(i({method:"GET"},u),c),p={},h={},[4,l.setApiKeyToObject(p,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(p,e)];case 2:return a.sent(),void 0!==r&&null!==r&&(p.type=String(r)),void 0!==s&&null!==s&&(p.identifier=String(s)),l.setSearchParams(o,h,c.query),f=u&&u.headers?u.headers:{},d.headers=i(i(i({},p),f),c.headers),[2,{url:l.toPathString(o),options:d}]}}))}))},cartGetAvailableRefinements:function(n,r,s,c,u,d,p){return void 0===p&&(p={}),o(t,void 0,void 0,(function(){var t,o,h,f,m,g,v;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("cartGetAvailableRefinements","lang",n),t="/cart/{lang}/refinement/available".replace("{lang}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(h=e.baseOptions),f=i(i({method:"GET"},h),p),m={},g={},[4,l.setApiKeyToObject(m,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(m,e)];case 2:return a.sent(),r&&(g.types=r),void 0!==s&&(g.brandName=s),void 0!==c&&(g.productNumber=c),void 0!==u&&null!==u&&(m.type=String(u)),void 0!==d&&null!==d&&(m.identifier=String(d)),l.setSearchParams(o,g,p.query),v=h&&h.headers?h.headers:{},f.headers=i(i(i({},m),v),p.headers),[2,{url:l.toPathString(o),options:f}]}}))}))},cartGetCheckoutInfo:function(n,r,s,c){return void 0===c&&(c={}),o(t,void 0,void 0,(function(){var t,o,u,d,p,h,f;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("cartGetCheckoutInfo","lang",n),t="/cart/{lang}/checkoutinfo".replace("{lang}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(u=e.baseOptions),d=i(i({method:"GET"},u),c),p={},h={},[4,l.setApiKeyToObject(p,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(p,e)];case 2:return a.sent(),void 0!==r&&null!==r&&(p.type=String(r)),void 0!==s&&null!==s&&(p.identifier=String(s)),l.setSearchParams(o,h,c.query),f=u&&u.headers?u.headers:{},d.headers=i(i(i({},p),f),c.headers),[2,{url:l.toPathString(o),options:d}]}}))}))},cartGetExternalCustomers:function(n,r,s,c,u){return void 0===u&&(u={}),o(t,void 0,void 0,(function(){var t,o,d,p,h,f,m;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("cartGetExternalCustomers","lang",n),t="/cart/{lang}/external/customers".replace("{lang}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(d=e.baseOptions),p=i(i({method:"GET"},d),u),h={},f={},[4,l.setApiKeyToObject(h,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(h,e)];case 2:return a.sent(),void 0!==r&&(f.search=r),void 0!==s&&null!==s&&(h.type=String(s)),void 0!==c&&null!==c&&(h.identifier=String(c)),l.setSearchParams(o,f,u.query),m=d&&d.headers?d.headers:{},p.headers=i(i(i({},h),m),u.headers),[2,{url:l.toPathString(o),options:p}]}}))}))},cartGetFileRef:function(n,r,s,c){return void 0===c&&(c={}),o(t,void 0,void 0,(function(){var t,o,u,d,p,h,f;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("cartGetFileRef","lang",n),t="/cart/{lang}/fileRef".replace("{lang}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(u=e.baseOptions),d=i(i({method:"GET"},u),c),p={},h={},[4,l.setApiKeyToObject(p,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(p,e)];case 2:return a.sent(),void 0!==r&&null!==r&&(p.type=String(r)),void 0!==s&&null!==s&&(p.identifier=String(s)),l.setSearchParams(o,h,c.query),f=u&&u.headers?u.headers:{},d.headers=i(i(i({},p),f),c.headers),[2,{url:l.toPathString(o),options:d}]}}))}))},cartGetMountedArticlePOST:function(n,r,s,c,u){return void 0===u&&(u={}),o(t,void 0,void 0,(function(){var t,o,d,p,h,f,m;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("cartGetMountedArticlePOST","lang",n),t="/cart/{lang}/article/get".replace("{lang}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(d=e.baseOptions),p=i(i({method:"POST"},d),u),h={},f={},[4,l.setApiKeyToObject(h,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(h,e)];case 2:return a.sent(),void 0!==r&&(f.articleId=r),void 0!==s&&null!==s&&(h.type=String(s)),void 0!==c&&null!==c&&(h.identifier=String(c)),l.setSearchParams(o,f,u.query),m=d&&d.headers?d.headers:{},p.headers=i(i(i({},h),m),u.headers),[2,{url:l.toPathString(o),options:p}]}}))}))},cartGetPricesPOST:function(n,r,s,c){return void 0===c&&(c={}),o(t,void 0,void 0,(function(){var t,o,u,d,p,h,f;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("cartGetPricesPOST","lang",n),t="/cart/{lang}/prices".replace("{lang}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(u=e.baseOptions),d=i(i({method:"POST"},u),c),p={},h={},[4,l.setApiKeyToObject(p,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(p,e)];case 2:return a.sent(),void 0!==r&&null!==r&&(p.type=String(r)),void 0!==s&&null!==s&&(p.identifier=String(s)),l.setSearchParams(o,h,c.query),f=u&&u.headers?u.headers:{},d.headers=i(i(i({},p),f),c.headers),[2,{url:l.toPathString(o),options:d}]}}))}))},cartGetRefinementServiceOptions:function(n,r,s,c){return void 0===c&&(c={}),o(t,void 0,void 0,(function(){var t,o,u,d,p,h,f;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("cartGetRefinementServiceOptions","lang",n),t="/cart/{lang}/refinement/options".replace("{lang}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(u=e.baseOptions),d=i(i({method:"GET"},u),c),p={},h={},[4,l.setApiKeyToObject(p,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(p,e)];case 2:return a.sent(),void 0!==r&&null!==r&&(p.type=String(r)),void 0!==s&&null!==s&&(p.identifier=String(s)),l.setSearchParams(o,h,c.query),f=u&&u.headers?u.headers:{},d.headers=i(i(i({},p),f),c.headers),[2,{url:l.toPathString(o),options:d}]}}))}))},cartGetRefinements:function(n,r,s,c){return void 0===c&&(c={}),o(t,void 0,void 0,(function(){var t,o,u,d,p,h,f;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("cartGetRefinements","lang",n),t="/cart/{lang}/refinement/getall".replace("{lang}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(u=e.baseOptions),d=i(i({method:"GET"},u),c),p={},h={},[4,l.setApiKeyToObject(p,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(p,e)];case 2:return a.sent(),void 0!==r&&null!==r&&(p.type=String(r)),void 0!==s&&null!==s&&(p.identifier=String(s)),l.setSearchParams(o,h,c.query),f=u&&u.headers?u.headers:{},d.headers=i(i(i({},p),f),c.headers),[2,{url:l.toPathString(o),options:d}]}}))}))},cartGetVariableTextDataPOST:function(n,r,s,u,d,p,h){return void 0===h&&(h={}),o(t,void 0,void 0,(function(){var t,o,f,m,g,v,y,A;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("cartGetVariableTextDataPOST","lang",n),t="/cart/{lang}/refinement/textdata".replace("{lang}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(f=e.baseOptions),m=i(i({method:"POST"},f),h),g={},v={},y=new(e&&e.formDataCtor||FormData),[4,l.setApiKeyToObject(g,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(g,e)];case 2:return a.sent(),void 0!==r&&null!==r&&(g.type=String(r)),void 0!==s&&null!==s&&(g.identifier=String(s)),u&&y.append(u.join(c.COLLECTION_FORMATS.csv)),d&&y.append(d.join(c.COLLECTION_FORMATS.csv)),p&&p.forEach((function(e){y.append("files",e)})),g["Content-Type"]="multipart/form-data",l.setSearchParams(o,v,h.query),A=f&&f.headers?f.headers:{},m.headers=i(i(i({},g),A),h.headers),m.data=y,[2,{url:l.toPathString(o),options:m}]}}))}))},cartGetVariableTextDocumentPOST:function(n,r,s,u,d,p,h){return void 0===h&&(h={}),o(t,void 0,void 0,(function(){var t,o,f,m,g,v,y,A;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("cartGetVariableTextDocumentPOST","lang",n),t="/cart/{lang}/refinement/texts".replace("{lang}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(f=e.baseOptions),m=i(i({method:"POST"},f),h),g={},v={},y=new(e&&e.formDataCtor||FormData),[4,l.setApiKeyToObject(g,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(g,e)];case 2:return a.sent(),void 0!==r&&null!==r&&(g.type=String(r)),void 0!==s&&null!==s&&(g.identifier=String(s)),u&&y.append(u.join(c.COLLECTION_FORMATS.csv)),d&&y.append(d.join(c.COLLECTION_FORMATS.csv)),p&&p.forEach((function(e){y.append("files",e)})),g["Content-Type"]="multipart/form-data",l.setSearchParams(o,v,h.query),A=f&&f.headers?f.headers:{},m.headers=i(i(i({},g),A),h.headers),m.data=y,[2,{url:l.toPathString(o),options:m}]}}))}))},cartInit:function(n,r,s,c){return void 0===c&&(c={}),o(t,void 0,void 0,(function(){var t,o,u,d,p,h,f;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("cartInit","lang",n),t="/cart/{lang}/init".replace("{lang}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(u=e.baseOptions),d=i(i({method:"GET"},u),c),p={},h={},[4,l.setApiKeyToObject(p,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(p,e)];case 2:return a.sent(),void 0!==r&&null!==r&&(p.type=String(r)),void 0!==s&&null!==s&&(p.identifier=String(s)),l.setSearchParams(o,h,c.query),f=u&&u.headers?u.headers:{},d.headers=i(i(i({},p),f),c.headers),[2,{url:l.toPathString(o),options:d}]}}))}))},cartOrderHistory:function(n,r,s,c){return void 0===c&&(c={}),o(t,void 0,void 0,(function(){var t,o,u,d,p,h,f;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("cartOrderHistory","lang",n),t="/cart/{lang}/orders".replace("{lang}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(u=e.baseOptions),d=i(i({method:"GET"},u),c),p={},h={},[4,l.setApiKeyToObject(p,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(p,e)];case 2:return a.sent(),void 0!==r&&null!==r&&(p.type=String(r)),void 0!==s&&null!==s&&(p.identifier=String(s)),l.setSearchParams(o,h,c.query),f=u&&u.headers?u.headers:{},d.headers=i(i(i({},p),f),c.headers),[2,{url:l.toPathString(o),options:d}]}}))}))},cartPaymentCheckoutPOST:function(n,r,s,c,u){return void 0===u&&(u={}),o(t,void 0,void 0,(function(){var t,o,d,p,h,f,m;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("cartPaymentCheckoutPOST","lang",n),t="/cart/{lang}/checkout/payment".replace("{lang}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(d=e.baseOptions),p=i(i({method:"POST"},d),u),h={},f={},[4,l.setApiKeyToObject(h,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(h,e)];case 2:return a.sent(),void 0!==r&&null!==r&&(h.type=String(r)),void 0!==s&&null!==s&&(h.identifier=String(s)),h["Content-Type"]="application/json",l.setSearchParams(o,f,u.query),m=d&&d.headers?d.headers:{},p.headers=i(i(i({},h),m),u.headers),p.data=l.serializeDataIfNeeded(c,p,e),[2,{url:l.toPathString(o),options:p}]}}))}))},cartRefinementAddressesPOST:function(n,r,s,c,u){return void 0===u&&(u={}),o(t,void 0,void 0,(function(){var t,o,d,p,h,f,m;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("cartRefinementAddressesPOST","lang",n),t="/cart/{lang}/refinement/options/adresses".replace("{lang}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(d=e.baseOptions),p=i(i({method:"POST"},d),u),h={},f={},[4,l.setApiKeyToObject(h,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(h,e)];case 2:return a.sent(),void 0!==r&&null!==r&&(h.type=String(r)),void 0!==s&&null!==s&&(h.identifier=String(s)),h["Content-Type"]="application/json",l.setSearchParams(o,f,u.query),m=d&&d.headers?d.headers:{},p.headers=i(i(i({},h),m),u.headers),p.data=l.serializeDataIfNeeded(c,p,e),[2,{url:l.toPathString(o),options:p}]}}))}))},cartRefinementServicesPOST:function(n,r,s,c,u){return void 0===u&&(u={}),o(t,void 0,void 0,(function(){var t,o,d,p,h,f,m;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("cartRefinementServicesPOST","lang",n),t="/cart/{lang}/refinement/options/services".replace("{lang}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(d=e.baseOptions),p=i(i({method:"POST"},d),u),h={},f={},[4,l.setApiKeyToObject(h,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(h,e)];case 2:return a.sent(),void 0!==r&&null!==r&&(h.type=String(r)),void 0!==s&&null!==s&&(h.identifier=String(s)),h["Content-Type"]="application/json",l.setSearchParams(o,f,u.query),m=d&&d.headers?d.headers:{},p.headers=i(i(i({},h),m),u.headers),p.data=l.serializeDataIfNeeded(c,p,e),[2,{url:l.toPathString(o),options:p}]}}))}))},cartRemoveCampaignPOST:function(n,r,s,c){return void 0===c&&(c={}),o(t,void 0,void 0,(function(){var t,o,u,d,p,h,f;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("cartRemoveCampaignPOST","lang",n),t="/cart/{lang}/campaign/remove".replace("{lang}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(u=e.baseOptions),d=i(i({method:"POST"},u),c),p={},h={},[4,l.setApiKeyToObject(p,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(p,e)];case 2:return a.sent(),void 0!==r&&null!==r&&(p.type=String(r)),void 0!==s&&null!==s&&(p.identifier=String(s)),l.setSearchParams(o,h,c.query),f=u&&u.headers?u.headers:{},d.headers=i(i(i({},p),f),c.headers),[2,{url:l.toPathString(o),options:d}]}}))}))},cartRemoveRefinementPOST:function(n,r,s,c,u){return void 0===u&&(u={}),o(t,void 0,void 0,(function(){var t,o,d,p,h,f,m;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("cartRemoveRefinementPOST","lang",n),t="/cart/{lang}/refinement/remove".replace("{lang}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(d=e.baseOptions),p=i(i({method:"POST"},d),u),h={},f={},[4,l.setApiKeyToObject(h,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(h,e)];case 2:return a.sent(),void 0!==r&&(f.index=r),void 0!==s&&null!==s&&(h.type=String(s)),void 0!==c&&null!==c&&(h.identifier=String(c)),l.setSearchParams(o,f,u.query),m=d&&d.headers?d.headers:{},p.headers=i(i(i({},h),m),u.headers),[2,{url:l.toPathString(o),options:p}]}}))}))},cartRemoveSkuPOST:function(n,r,s,c,u){return void 0===u&&(u={}),o(t,void 0,void 0,(function(){var t,o,d,p,h,f,m;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("cartRemoveSkuPOST","lang",n),t="/cart/{lang}/skus/remove".replace("{lang}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(d=e.baseOptions),p=i(i({method:"POST"},d),u),h={},f={},[4,l.setApiKeyToObject(h,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(h,e)];case 2:return a.sent(),void 0!==r&&(f.sku=r),void 0!==s&&null!==s&&(h.type=String(s)),void 0!==c&&null!==c&&(h.identifier=String(c)),l.setSearchParams(o,f,u.query),m=d&&d.headers?d.headers:{},p.headers=i(i(i({},h),m),u.headers),[2,{url:l.toPathString(o),options:p}]}}))}))},cartSetCheckoutInfoPOST:function(n,r,s,c,u){return void 0===u&&(u={}),o(t,void 0,void 0,(function(){var t,o,d,p,h,f,m;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("cartSetCheckoutInfoPOST","lang",n),t="/cart/{lang}/checkoutinfo".replace("{lang}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(d=e.baseOptions),p=i(i({method:"POST"},d),u),h={},f={},[4,l.setApiKeyToObject(h,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(h,e)];case 2:return a.sent(),void 0!==r&&null!==r&&(h.type=String(r)),void 0!==s&&null!==s&&(h.identifier=String(s)),h["Content-Type"]="application/json",l.setSearchParams(o,f,u.query),m=d&&d.headers?d.headers:{},p.headers=i(i(i({},h),m),u.headers),p.data=l.serializeDataIfNeeded(c,p,e),[2,{url:l.toPathString(o),options:p}]}}))}))},cartSetDraftPOST:function(n,r,s,c,u){return void 0===u&&(u={}),o(t,void 0,void 0,(function(){var t,o,d,p,h,f,m;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("cartSetDraftPOST","lang",n),t="/cart/{lang}/draft/setcart".replace("{lang}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(d=e.baseOptions),p=i(i({method:"POST"},d),u),h={},f={},[4,l.setApiKeyToObject(h,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(h,e)];case 2:return a.sent(),void 0!==r&&(f.draft=r),void 0!==s&&null!==s&&(h.type=String(s)),void 0!==c&&null!==c&&(h.identifier=String(c)),l.setSearchParams(o,f,u.query),m=d&&d.headers?d.headers:{},p.headers=i(i(i({},h),m),u.headers),[2,{url:l.toPathString(o),options:p}]}}))}))},cartSetSkuCommentPOST:function(n,r,s,c,u,d){return void 0===d&&(d={}),o(t,void 0,void 0,(function(){var t,o,p,h,f,m,g;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("cartSetSkuCommentPOST","lang",n),t="/cart/{lang}/skus/comment".replace("{lang}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(p=e.baseOptions),h=i(i({method:"POST"},p),d),f={},m={},[4,l.setApiKeyToObject(f,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(f,e)];case 2:return a.sent(),void 0!==r&&(m.sku=r),void 0!==s&&(m.comment=s),void 0!==c&&null!==c&&(f.type=String(c)),void 0!==u&&null!==u&&(f.identifier=String(u)),l.setSearchParams(o,m,d.query),g=p&&p.headers?p.headers:{},h.headers=i(i(i({},f),g),d.headers),[2,{url:l.toPathString(o),options:h}]}}))}))},cartSetSkuDispatchDatePOST:function(n,r,s,c,u,d){return void 0===d&&(d={}),o(t,void 0,void 0,(function(){var t,o,p,h,f,m,g;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("cartSetSkuDispatchDatePOST","lang",n),t="/cart/{lang}/skus/requesedDispatchdate".replace("{lang}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(p=e.baseOptions),h=i(i({method:"POST"},p),d),f={},m={},[4,l.setApiKeyToObject(f,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(f,e)];case 2:return a.sent(),void 0!==r&&(m.date=r instanceof Date?r.toISOString():r),void 0!==s&&null!==s&&(f.type=String(s)),void 0!==c&&null!==c&&(f.identifier=String(c)),f["Content-Type"]="application/json",l.setSearchParams(o,m,d.query),g=p&&p.headers?p.headers:{},h.headers=i(i(i({},f),g),d.headers),h.data=l.serializeDataIfNeeded(u,h,e),[2,{url:l.toPathString(o),options:h}]}}))}))},cartSetVariableTextDocumentPOST:function(n,r,s,c,u){return void 0===u&&(u={}),o(t,void 0,void 0,(function(){var t,o,d,p,h,f,m;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("cartSetVariableTextDocumentPOST","lang",n),t="/cart/{lang}/refinement/textssetdata".replace("{lang}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(d=e.baseOptions),p=i(i({method:"POST"},d),u),h={},f={},[4,l.setApiKeyToObject(h,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(h,e)];case 2:return a.sent(),void 0!==r&&null!==r&&(h.type=String(r)),void 0!==s&&null!==s&&(h.identifier=String(s)),h["Content-Type"]="application/json",l.setSearchParams(o,f,u.query),m=d&&d.headers?d.headers:{},p.headers=i(i(i({},h),m),u.headers),p.data=l.serializeDataIfNeeded(c,p,e),[2,{url:l.toPathString(o),options:p}]}}))}))},cartVerifyVariableTextDocumentPOST:function(n,r,s,u,d,p,h){return void 0===h&&(h={}),o(t,void 0,void 0,(function(){var t,o,f,m,g,v,y,A;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("cartVerifyVariableTextDocumentPOST","lang",n),t="/cart/{lang}/refinement/textsverify".replace("{lang}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(f=e.baseOptions),m=i(i({method:"POST"},f),h),g={},v={},y=new(e&&e.formDataCtor||FormData),[4,l.setApiKeyToObject(g,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(g,e)];case 2:return a.sent(),void 0!==r&&null!==r&&(g.type=String(r)),void 0!==s&&null!==s&&(g.identifier=String(s)),u&&y.append(u.join(c.COLLECTION_FORMATS.csv)),d&&y.append(d.join(c.COLLECTION_FORMATS.csv)),p&&p.forEach((function(e){y.append("files",e)})),g["Content-Type"]="multipart/form-data",l.setSearchParams(o,v,h.query),A=f&&f.headers?f.headers:{},m.headers=i(i(i({},g),A),h.headers),m.data=y,[2,{url:l.toPathString(o),options:m}]}}))}))}}},t.CartApiFp=function(e){var n=t.CartApiAxiosParamCreator(e);return{cartAddArticlePOST:function(t,r,i,u,d,p,h){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.cartAddArticlePOST(t,r,i,u,d,p,h)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},cartAddCampaignPOST:function(t,r,i,u,d){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.cartAddCampaignPOST(t,r,i,u,d)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},cartAddCartToCartPOST:function(t,r,i,u,d){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.cartAddCartToCartPOST(t,r,i,u,d)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},cartAddChangePOST:function(t,r,i,u,d){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.cartAddChangePOST(t,r,i,u,d)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},cartAddCollectionPOST:function(t,r,i,u,d,p){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.cartAddCollectionPOST(t,r,i,u,d,p)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},cartAddOrderToCartPOST:function(t,r,i,u,d,p,h){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.cartAddOrderToCartPOST(t,r,i,u,d,p,h)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},cartAddPOST:function(t,r,i,u,d){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.cartAddPOST(t,r,i,u,d)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},cartB2BCheckoutPOST:function(t,r,i,u,d){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.cartB2BCheckoutPOST(t,r,i,u,d)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},cartB2BResellerCheckoutPOST:function(t,r,i,u,d){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.cartB2BResellerCheckoutPOST(t,r,i,u,d)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},cartChangeRefinementQuantityPOST:function(t,r,i,u,d,p){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.cartChangeRefinementQuantityPOST(t,r,i,u,d,p)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},cartChangeRefinementsPOST:function(t,r,i,u,d,p,h,f,m,g,v,y){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.cartChangeRefinementsPOST(t,r,i,u,d,p,h,f,m,g,v,y)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},cartClearPOST:function(t,r,i,u){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.cartClearPOST(t,r,i,u)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},cartCreateDraftPOST:function(t,r,i,u,d){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.cartCreateDraftPOST(t,r,i,u,d)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},cartCreateOfferPOST:function(t,r,i,u,d){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.cartCreateOfferPOST(t,r,i,u,d)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},cartGet:function(t,r,i,u){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.cartGet(t,r,i,u)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},cartGetAvailableRefinements:function(t,r,i,u,d,p,h){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.cartGetAvailableRefinements(t,r,i,u,d,p,h)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},cartGetCheckoutInfo:function(t,r,i,u){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.cartGetCheckoutInfo(t,r,i,u)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},cartGetExternalCustomers:function(t,r,i,u,d){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.cartGetExternalCustomers(t,r,i,u,d)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},cartGetFileRef:function(t,r,i,u){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.cartGetFileRef(t,r,i,u)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},cartGetMountedArticlePOST:function(t,r,i,u,d){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.cartGetMountedArticlePOST(t,r,i,u,d)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},cartGetPricesPOST:function(t,r,i,u){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.cartGetPricesPOST(t,r,i,u)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},cartGetRefinementServiceOptions:function(t,r,i,u){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.cartGetRefinementServiceOptions(t,r,i,u)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},cartGetRefinements:function(t,r,i,u){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.cartGetRefinements(t,r,i,u)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},cartGetVariableTextDataPOST:function(t,r,i,u,d,p,h){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.cartGetVariableTextDataPOST(t,r,i,u,d,p,h)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},cartGetVariableTextDocumentPOST:function(t,r,i,u,d,p,h){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.cartGetVariableTextDocumentPOST(t,r,i,u,d,p,h)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},cartInit:function(t,r,i,u){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.cartInit(t,r,i,u)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},cartOrderHistory:function(t,r,i,u){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.cartOrderHistory(t,r,i,u)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},cartPaymentCheckoutPOST:function(t,r,i,u,d){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.cartPaymentCheckoutPOST(t,r,i,u,d)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},cartRefinementAddressesPOST:function(t,r,i,u,d){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.cartRefinementAddressesPOST(t,r,i,u,d)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},cartRefinementServicesPOST:function(t,r,i,u,d){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.cartRefinementServicesPOST(t,r,i,u,d)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},cartRemoveCampaignPOST:function(t,r,i,u){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.cartRemoveCampaignPOST(t,r,i,u)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},cartRemoveRefinementPOST:function(t,r,i,u,d){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.cartRemoveRefinementPOST(t,r,i,u,d)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},cartRemoveSkuPOST:function(t,r,i,u,d){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.cartRemoveSkuPOST(t,r,i,u,d)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},cartSetCheckoutInfoPOST:function(t,r,i,u,d){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.cartSetCheckoutInfoPOST(t,r,i,u,d)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},cartSetDraftPOST:function(t,r,i,u,d){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.cartSetDraftPOST(t,r,i,u,d)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},cartSetSkuCommentPOST:function(t,r,i,u,d,p){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.cartSetSkuCommentPOST(t,r,i,u,d,p)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},cartSetSkuDispatchDatePOST:function(t,r,i,u,d,p){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.cartSetSkuDispatchDatePOST(t,r,i,u,d,p)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},cartSetVariableTextDocumentPOST:function(t,r,i,u,d){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.cartSetVariableTextDocumentPOST(t,r,i,u,d)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},cartVerifyVariableTextDocumentPOST:function(t,r,i,u,d,p,h){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.cartVerifyVariableTextDocumentPOST(t,r,i,u,d,p,h)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))}}},t.CartApiFactory=function(e,n,r){var i=t.CartApiFp(e);return{cartAddArticlePOST:function(e,t,o,a,s,l,c){return i.cartAddArticlePOST(e,t,o,a,s,l,c).then((function(e){return e(r,n)}))},cartAddCampaignPOST:function(e,t,o,a,s){return i.cartAddCampaignPOST(e,t,o,a,s).then((function(e){return e(r,n)}))},cartAddCartToCartPOST:function(e,t,o,a,s){return i.cartAddCartToCartPOST(e,t,o,a,s).then((function(e){return e(r,n)}))},cartAddChangePOST:function(e,t,o,a,s){return i.cartAddChangePOST(e,t,o,a,s).then((function(e){return e(r,n)}))},cartAddCollectionPOST:function(e,t,o,a,s,l){return i.cartAddCollectionPOST(e,t,o,a,s,l).then((function(e){return e(r,n)}))},cartAddOrderToCartPOST:function(e,t,o,a,s,l,c){return i.cartAddOrderToCartPOST(e,t,o,a,s,l,c).then((function(e){return e(r,n)}))},cartAddPOST:function(e,t,o,a,s){return i.cartAddPOST(e,t,o,a,s).then((function(e){return e(r,n)}))},cartB2BCheckoutPOST:function(e,t,o,a,s){return i.cartB2BCheckoutPOST(e,t,o,a,s).then((function(e){return e(r,n)}))},cartB2BResellerCheckoutPOST:function(e,t,o,a,s){return i.cartB2BResellerCheckoutPOST(e,t,o,a,s).then((function(e){return e(r,n)}))},cartChangeRefinementQuantityPOST:function(e,t,o,a,s,l){return i.cartChangeRefinementQuantityPOST(e,t,o,a,s,l).then((function(e){return e(r,n)}))},cartChangeRefinementsPOST:function(e,t,o,a,s,l,c,u,d,p,h,f){return i.cartChangeRefinementsPOST(e,t,o,a,s,l,c,u,d,p,h,f).then((function(e){return e(r,n)}))},cartClearPOST:function(e,t,o,a){return i.cartClearPOST(e,t,o,a).then((function(e){return e(r,n)}))},cartCreateDraftPOST:function(e,t,o,a,s){return i.cartCreateDraftPOST(e,t,o,a,s).then((function(e){return e(r,n)}))},cartCreateOfferPOST:function(e,t,o,a,s){return i.cartCreateOfferPOST(e,t,o,a,s).then((function(e){return e(r,n)}))},cartGet:function(e,t,o,a){return i.cartGet(e,t,o,a).then((function(e){return e(r,n)}))},cartGetAvailableRefinements:function(e,t,o,a,s,l,c){return i.cartGetAvailableRefinements(e,t,o,a,s,l,c).then((function(e){return e(r,n)}))},cartGetCheckoutInfo:function(e,t,o,a){return i.cartGetCheckoutInfo(e,t,o,a).then((function(e){return e(r,n)}))},cartGetExternalCustomers:function(e,t,o,a,s){return i.cartGetExternalCustomers(e,t,o,a,s).then((function(e){return e(r,n)}))},cartGetFileRef:function(e,t,o,a){return i.cartGetFileRef(e,t,o,a).then((function(e){return e(r,n)}))},cartGetMountedArticlePOST:function(e,t,o,a,s){return i.cartGetMountedArticlePOST(e,t,o,a,s).then((function(e){return e(r,n)}))},cartGetPricesPOST:function(e,t,o,a){return i.cartGetPricesPOST(e,t,o,a).then((function(e){return e(r,n)}))},cartGetRefinementServiceOptions:function(e,t,o,a){return i.cartGetRefinementServiceOptions(e,t,o,a).then((function(e){return e(r,n)}))},cartGetRefinements:function(e,t,o,a){return i.cartGetRefinements(e,t,o,a).then((function(e){return e(r,n)}))},cartGetVariableTextDataPOST:function(e,t,o,a,s,l,c){return i.cartGetVariableTextDataPOST(e,t,o,a,s,l,c).then((function(e){return e(r,n)}))},cartGetVariableTextDocumentPOST:function(e,t,o,a,s,l,c){return i.cartGetVariableTextDocumentPOST(e,t,o,a,s,l,c).then((function(e){return e(r,n)}))},cartInit:function(e,t,o,a){return i.cartInit(e,t,o,a).then((function(e){return e(r,n)}))},cartOrderHistory:function(e,t,o,a){return i.cartOrderHistory(e,t,o,a).then((function(e){return e(r,n)}))},cartPaymentCheckoutPOST:function(e,t,o,a,s){return i.cartPaymentCheckoutPOST(e,t,o,a,s).then((function(e){return e(r,n)}))},cartRefinementAddressesPOST:function(e,t,o,a,s){return i.cartRefinementAddressesPOST(e,t,o,a,s).then((function(e){return e(r,n)}))},cartRefinementServicesPOST:function(e,t,o,a,s){return i.cartRefinementServicesPOST(e,t,o,a,s).then((function(e){return e(r,n)}))},cartRemoveCampaignPOST:function(e,t,o,a){return i.cartRemoveCampaignPOST(e,t,o,a).then((function(e){return e(r,n)}))},cartRemoveRefinementPOST:function(e,t,o,a,s){return i.cartRemoveRefinementPOST(e,t,o,a,s).then((function(e){return e(r,n)}))},cartRemoveSkuPOST:function(e,t,o,a,s){return i.cartRemoveSkuPOST(e,t,o,a,s).then((function(e){return e(r,n)}))},cartSetCheckoutInfoPOST:function(e,t,o,a,s){return i.cartSetCheckoutInfoPOST(e,t,o,a,s).then((function(e){return e(r,n)}))},cartSetDraftPOST:function(e,t,o,a,s){return i.cartSetDraftPOST(e,t,o,a,s).then((function(e){return e(r,n)}))},cartSetSkuCommentPOST:function(e,t,o,a,s,l){return i.cartSetSkuCommentPOST(e,t,o,a,s,l).then((function(e){return e(r,n)}))},cartSetSkuDispatchDatePOST:function(e,t,o,a,s,l){return i.cartSetSkuDispatchDatePOST(e,t,o,a,s,l).then((function(e){return e(r,n)}))},cartSetVariableTextDocumentPOST:function(e,t,o,a,s){return i.cartSetVariableTextDocumentPOST(e,t,o,a,s).then((function(e){return e(r,n)}))},cartVerifyVariableTextDocumentPOST:function(e,t,o,a,s,l,c){return i.cartVerifyVariableTextDocumentPOST(e,t,o,a,s,l,c).then((function(e){return e(r,n)}))}}};var p=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return r(n,e),n.prototype.cartAddArticlePOST=function(e,n,r,i,o,a,s){var l=this;return t.CartApiFp(this.configuration).cartAddArticlePOST(e,n,r,i,o,a,s).then((function(e){return e(l.axios,l.basePath)}))},n.prototype.cartAddCampaignPOST=function(e,n,r,i,o){var a=this;return t.CartApiFp(this.configuration).cartAddCampaignPOST(e,n,r,i,o).then((function(e){return e(a.axios,a.basePath)}))},n.prototype.cartAddCartToCartPOST=function(e,n,r,i,o){var a=this;return t.CartApiFp(this.configuration).cartAddCartToCartPOST(e,n,r,i,o).then((function(e){return e(a.axios,a.basePath)}))},n.prototype.cartAddChangePOST=function(e,n,r,i,o){var a=this;return t.CartApiFp(this.configuration).cartAddChangePOST(e,n,r,i,o).then((function(e){return e(a.axios,a.basePath)}))},n.prototype.cartAddCollectionPOST=function(e,n,r,i,o,a){var s=this;return t.CartApiFp(this.configuration).cartAddCollectionPOST(e,n,r,i,o,a).then((function(e){return e(s.axios,s.basePath)}))},n.prototype.cartAddOrderToCartPOST=function(e,n,r,i,o,a,s){var l=this;return t.CartApiFp(this.configuration).cartAddOrderToCartPOST(e,n,r,i,o,a,s).then((function(e){return e(l.axios,l.basePath)}))},n.prototype.cartAddPOST=function(e,n,r,i,o){var a=this;return t.CartApiFp(this.configuration).cartAddPOST(e,n,r,i,o).then((function(e){return e(a.axios,a.basePath)}))},n.prototype.cartB2BCheckoutPOST=function(e,n,r,i,o){var a=this;return t.CartApiFp(this.configuration).cartB2BCheckoutPOST(e,n,r,i,o).then((function(e){return e(a.axios,a.basePath)}))},n.prototype.cartB2BResellerCheckoutPOST=function(e,n,r,i,o){var a=this;return t.CartApiFp(this.configuration).cartB2BResellerCheckoutPOST(e,n,r,i,o).then((function(e){return e(a.axios,a.basePath)}))},n.prototype.cartChangeRefinementQuantityPOST=function(e,n,r,i,o,a){var s=this;return t.CartApiFp(this.configuration).cartChangeRefinementQuantityPOST(e,n,r,i,o,a).then((function(e){return e(s.axios,s.basePath)}))},n.prototype.cartChangeRefinementsPOST=function(e,n,r,i,o,a,s,l,c,u,d,p){var h=this;return t.CartApiFp(this.configuration).cartChangeRefinementsPOST(e,n,r,i,o,a,s,l,c,u,d,p).then((function(e){return e(h.axios,h.basePath)}))},n.prototype.cartClearPOST=function(e,n,r,i){var o=this;return t.CartApiFp(this.configuration).cartClearPOST(e,n,r,i).then((function(e){return e(o.axios,o.basePath)}))},n.prototype.cartCreateDraftPOST=function(e,n,r,i,o){var a=this;return t.CartApiFp(this.configuration).cartCreateDraftPOST(e,n,r,i,o).then((function(e){return e(a.axios,a.basePath)}))},n.prototype.cartCreateOfferPOST=function(e,n,r,i,o){var a=this;return t.CartApiFp(this.configuration).cartCreateOfferPOST(e,n,r,i,o).then((function(e){return e(a.axios,a.basePath)}))},n.prototype.cartGet=function(e,n,r,i){var o=this;return t.CartApiFp(this.configuration).cartGet(e,n,r,i).then((function(e){return e(o.axios,o.basePath)}))},n.prototype.cartGetAvailableRefinements=function(e,n,r,i,o,a,s){var l=this;return t.CartApiFp(this.configuration).cartGetAvailableRefinements(e,n,r,i,o,a,s).then((function(e){return e(l.axios,l.basePath)}))},n.prototype.cartGetCheckoutInfo=function(e,n,r,i){var o=this;return t.CartApiFp(this.configuration).cartGetCheckoutInfo(e,n,r,i).then((function(e){return e(o.axios,o.basePath)}))},n.prototype.cartGetExternalCustomers=function(e,n,r,i,o){var a=this;return t.CartApiFp(this.configuration).cartGetExternalCustomers(e,n,r,i,o).then((function(e){return e(a.axios,a.basePath)}))},n.prototype.cartGetFileRef=function(e,n,r,i){var o=this;return t.CartApiFp(this.configuration).cartGetFileRef(e,n,r,i).then((function(e){return e(o.axios,o.basePath)}))},n.prototype.cartGetMountedArticlePOST=function(e,n,r,i,o){var a=this;return t.CartApiFp(this.configuration).cartGetMountedArticlePOST(e,n,r,i,o).then((function(e){return e(a.axios,a.basePath)}))},n.prototype.cartGetPricesPOST=function(e,n,r,i){var o=this;return t.CartApiFp(this.configuration).cartGetPricesPOST(e,n,r,i).then((function(e){return e(o.axios,o.basePath)}))},n.prototype.cartGetRefinementServiceOptions=function(e,n,r,i){var o=this;return t.CartApiFp(this.configuration).cartGetRefinementServiceOptions(e,n,r,i).then((function(e){return e(o.axios,o.basePath)}))},n.prototype.cartGetRefinements=function(e,n,r,i){var o=this;return t.CartApiFp(this.configuration).cartGetRefinements(e,n,r,i).then((function(e){return e(o.axios,o.basePath)}))},n.prototype.cartGetVariableTextDataPOST=function(e,n,r,i,o,a,s){var l=this;return t.CartApiFp(this.configuration).cartGetVariableTextDataPOST(e,n,r,i,o,a,s).then((function(e){return e(l.axios,l.basePath)}))},n.prototype.cartGetVariableTextDocumentPOST=function(e,n,r,i,o,a,s){var l=this;return t.CartApiFp(this.configuration).cartGetVariableTextDocumentPOST(e,n,r,i,o,a,s).then((function(e){return e(l.axios,l.basePath)}))},n.prototype.cartInit=function(e,n,r,i){var o=this;return t.CartApiFp(this.configuration).cartInit(e,n,r,i).then((function(e){return e(o.axios,o.basePath)}))},n.prototype.cartOrderHistory=function(e,n,r,i){var o=this;return t.CartApiFp(this.configuration).cartOrderHistory(e,n,r,i).then((function(e){return e(o.axios,o.basePath)}))},n.prototype.cartPaymentCheckoutPOST=function(e,n,r,i,o){var a=this;return t.CartApiFp(this.configuration).cartPaymentCheckoutPOST(e,n,r,i,o).then((function(e){return e(a.axios,a.basePath)}))},n.prototype.cartRefinementAddressesPOST=function(e,n,r,i,o){var a=this;return t.CartApiFp(this.configuration).cartRefinementAddressesPOST(e,n,r,i,o).then((function(e){return e(a.axios,a.basePath)}))},n.prototype.cartRefinementServicesPOST=function(e,n,r,i,o){var a=this;return t.CartApiFp(this.configuration).cartRefinementServicesPOST(e,n,r,i,o).then((function(e){return e(a.axios,a.basePath)}))},n.prototype.cartRemoveCampaignPOST=function(e,n,r,i){var o=this;return t.CartApiFp(this.configuration).cartRemoveCampaignPOST(e,n,r,i).then((function(e){return e(o.axios,o.basePath)}))},n.prototype.cartRemoveRefinementPOST=function(e,n,r,i,o){var a=this;return t.CartApiFp(this.configuration).cartRemoveRefinementPOST(e,n,r,i,o).then((function(e){return e(a.axios,a.basePath)}))},n.prototype.cartRemoveSkuPOST=function(e,n,r,i,o){var a=this;return t.CartApiFp(this.configuration).cartRemoveSkuPOST(e,n,r,i,o).then((function(e){return e(a.axios,a.basePath)}))},n.prototype.cartSetCheckoutInfoPOST=function(e,n,r,i,o){var a=this;return t.CartApiFp(this.configuration).cartSetCheckoutInfoPOST(e,n,r,i,o).then((function(e){return e(a.axios,a.basePath)}))},n.prototype.cartSetDraftPOST=function(e,n,r,i,o){var a=this;return t.CartApiFp(this.configuration).cartSetDraftPOST(e,n,r,i,o).then((function(e){return e(a.axios,a.basePath)}))},n.prototype.cartSetSkuCommentPOST=function(e,n,r,i,o,a){var s=this;return t.CartApiFp(this.configuration).cartSetSkuCommentPOST(e,n,r,i,o,a).then((function(e){return e(s.axios,s.basePath)}))},n.prototype.cartSetSkuDispatchDatePOST=function(e,n,r,i,o,a){var s=this;return t.CartApiFp(this.configuration).cartSetSkuDispatchDatePOST(e,n,r,i,o,a).then((function(e){return e(s.axios,s.basePath)}))},n.prototype.cartSetVariableTextDocumentPOST=function(e,n,r,i,o){var a=this;return t.CartApiFp(this.configuration).cartSetVariableTextDocumentPOST(e,n,r,i,o).then((function(e){return e(a.axios,a.basePath)}))},n.prototype.cartVerifyVariableTextDocumentPOST=function(e,n,r,i,o,a,s){var l=this;return t.CartApiFp(this.configuration).cartVerifyVariableTextDocumentPOST(e,n,r,i,o,a,s).then((function(e){return e(l.axios,l.basePath)}))},n}(c.BaseAPI);t.CartApi=p,t.CartsApiAxiosParamCreator=function(e){var t=this;return{cartsCreateOfferPOST:function(n,r,s){return void 0===s&&(s={}),o(t,void 0,void 0,(function(){var t,o,c,u,d,p,h;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("cartsCreateOfferPOST","lang",n),t="/cart/{lang}/offers/addoffer".replace("{lang}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(c=e.baseOptions),u=i(i({method:"POST"},c),s),d={},p={},[4,l.setApiKeyToObject(d,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(d,e)];case 2:return a.sent(),d["Content-Type"]="application/json",l.setSearchParams(o,p,s.query),h=c&&c.headers?c.headers:{},u.headers=i(i(i({},d),h),s.headers),u.data=l.serializeDataIfNeeded(r,u,e),[2,{url:l.toPathString(o),options:u}]}}))}))},cartsDrafts:function(n,r){return void 0===r&&(r={}),o(t,void 0,void 0,(function(){var t,o,s,c,u,d,p;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("cartsDrafts","lang",n),t="/cart/{lang}/drafts".replace("{lang}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(s=e.baseOptions),c=i(i({method:"GET"},s),r),u={},d={},[4,l.setApiKeyToObject(u,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(u,e)];case 2:return a.sent(),l.setSearchParams(o,d,r.query),p=s&&s.headers?s.headers:{},c.headers=i(i(i({},u),p),r.headers),[2,{url:l.toPathString(o),options:c}]}}))}))},cartsGetPdfTemplates:function(n,r){return void 0===r&&(r={}),o(t,void 0,void 0,(function(){var t,o,s,c,u,d,p;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("cartsGetPdfTemplates","lang",n),t="/cart/{lang}/pdf/templates".replace("{lang}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(s=e.baseOptions),c=i(i({method:"GET"},s),r),u={},d={},[4,l.setApiKeyToObject(u,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(u,e)];case 2:return a.sent(),l.setSearchParams(o,d,r.query),p=s&&s.headers?s.headers:{},c.headers=i(i(i({},u),p),r.headers),[2,{url:l.toPathString(o),options:c}]}}))}))},cartsGetPublicOffer:function(n,r,s){return void 0===s&&(s={}),o(t,void 0,void 0,(function(){var t,o,c,u,d,p,h;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("cartsGetPublicOffer","lang",n),t="/cart/{lang}/offers/public".replace("{lang}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(c=e.baseOptions),u=i(i({method:"GET"},c),s),d={},p={},[4,l.setApiKeyToObject(d,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(d,e)];case 2:return a.sent(),void 0!==r&&(p.publicIdentifier=r),l.setSearchParams(o,p,s.query),h=c&&c.headers?c.headers:{},u.headers=i(i(i({},d),h),s.headers),[2,{url:l.toPathString(o),options:u}]}}))}))},cartsGetTerms:function(n,r){return void 0===r&&(r={}),o(t,void 0,void 0,(function(){var t,o,s,c,u,d,p;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("cartsGetTerms","lang",n),t="/cart/{lang}/offers/terms".replace("{lang}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(s=e.baseOptions),c=i(i({method:"GET"},s),r),u={},d={},[4,l.setApiKeyToObject(u,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(u,e)];case 2:return a.sent(),l.setSearchParams(o,d,r.query),p=s&&s.headers?s.headers:{},c.headers=i(i(i({},u),p),r.headers),[2,{url:l.toPathString(o),options:c}]}}))}))},cartsOffers:function(n,r,s,c,u){return void 0===u&&(u={}),o(t,void 0,void 0,(function(){var t,o,d,p,h,f,m;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("cartsOffers","lang",n),t="/cart/{lang}/offers".replace("{lang}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(d=e.baseOptions),p=i(i({method:"GET"},d),u),h={},f={},[4,l.setApiKeyToObject(h,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(h,e)];case 2:return a.sent(),void 0!==r&&(f.search=r),void 0!==s&&(f.pageSize=s),void 0!==c&&(f.page=c),l.setSearchParams(o,f,u.query),m=d&&d.headers?d.headers:{},p.headers=i(i(i({},h),m),u.headers),[2,{url:l.toPathString(o),options:p}]}}))}))},cartsSaveTemplatesPOST:function(n,r,s){return void 0===s&&(s={}),o(t,void 0,void 0,(function(){var t,o,c,u,d,p,h;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("cartsSaveTemplatesPOST","lang",n),t="/cart/{lang}/pdf/template".replace("{lang}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(c=e.baseOptions),u=i(i({method:"POST"},c),s),d={},p={},[4,l.setApiKeyToObject(d,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(d,e)];case 2:return a.sent(),d["Content-Type"]="application/json",l.setSearchParams(o,p,s.query),h=c&&c.headers?c.headers:{},u.headers=i(i(i({},d),h),s.headers),u.data=l.serializeDataIfNeeded(r,u,e),[2,{url:l.toPathString(o),options:u}]}}))}))},cartsSetOfferCommentPOST:function(n,r,s){return void 0===s&&(s={}),o(t,void 0,void 0,(function(){var t,o,c,u,d,p,h;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("cartsSetOfferCommentPOST","lang",n),t="/cart/{lang}/offers/public/comment".replace("{lang}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(c=e.baseOptions),u=i(i({method:"POST"},c),s),d={},p={},[4,l.setApiKeyToObject(d,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(d,e)];case 2:return a.sent(),d["Content-Type"]="application/json",l.setSearchParams(o,p,s.query),h=c&&c.headers?c.headers:{},u.headers=i(i(i({},d),h),s.headers),u.data=l.serializeDataIfNeeded(r,u,e),[2,{url:l.toPathString(o),options:u}]}}))}))}}},t.CartsApiFp=function(e){var n=t.CartsApiAxiosParamCreator(e);return{cartsCreateOfferPOST:function(t,r,i){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.cartsCreateOfferPOST(t,r,i)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},cartsDrafts:function(t,r){return o(this,void 0,void 0,(function(){var i;return a(this,(function(o){switch(o.label){case 0:return[4,n.cartsDrafts(t,r)];case 1:return i=o.sent(),[2,l.createRequestFunction(i,s.default,c.BASE_PATH,e)]}}))}))},cartsGetPdfTemplates:function(t,r){return o(this,void 0,void 0,(function(){var i;return a(this,(function(o){switch(o.label){case 0:return[4,n.cartsGetPdfTemplates(t,r)];case 1:return i=o.sent(),[2,l.createRequestFunction(i,s.default,c.BASE_PATH,e)]}}))}))},cartsGetPublicOffer:function(t,r,i){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.cartsGetPublicOffer(t,r,i)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},cartsGetTerms:function(t,r){return o(this,void 0,void 0,(function(){var i;return a(this,(function(o){switch(o.label){case 0:return[4,n.cartsGetTerms(t,r)];case 1:return i=o.sent(),[2,l.createRequestFunction(i,s.default,c.BASE_PATH,e)]}}))}))},cartsOffers:function(t,r,i,u,d){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.cartsOffers(t,r,i,u,d)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},cartsSaveTemplatesPOST:function(t,r,i){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.cartsSaveTemplatesPOST(t,r,i)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},cartsSetOfferCommentPOST:function(t,r,i){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.cartsSetOfferCommentPOST(t,r,i)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))}}},t.CartsApiFactory=function(e,n,r){var i=t.CartsApiFp(e);return{cartsCreateOfferPOST:function(e,t,o){return i.cartsCreateOfferPOST(e,t,o).then((function(e){return e(r,n)}))},cartsDrafts:function(e,t){return i.cartsDrafts(e,t).then((function(e){return e(r,n)}))},cartsGetPdfTemplates:function(e,t){return i.cartsGetPdfTemplates(e,t).then((function(e){return e(r,n)}))},cartsGetPublicOffer:function(e,t,o){return i.cartsGetPublicOffer(e,t,o).then((function(e){return e(r,n)}))},cartsGetTerms:function(e,t){return i.cartsGetTerms(e,t).then((function(e){return e(r,n)}))},cartsOffers:function(e,t,o,a,s){return i.cartsOffers(e,t,o,a,s).then((function(e){return e(r,n)}))},cartsSaveTemplatesPOST:function(e,t,o){return i.cartsSaveTemplatesPOST(e,t,o).then((function(e){return e(r,n)}))},cartsSetOfferCommentPOST:function(e,t,o){return i.cartsSetOfferCommentPOST(e,t,o).then((function(e){return e(r,n)}))}}};var h=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return r(n,e),n.prototype.cartsCreateOfferPOST=function(e,n,r){var i=this;return t.CartsApiFp(this.configuration).cartsCreateOfferPOST(e,n,r).then((function(e){return e(i.axios,i.basePath)}))},n.prototype.cartsDrafts=function(e,n){var r=this;return t.CartsApiFp(this.configuration).cartsDrafts(e,n).then((function(e){return e(r.axios,r.basePath)}))},n.prototype.cartsGetPdfTemplates=function(e,n){var r=this;return t.CartsApiFp(this.configuration).cartsGetPdfTemplates(e,n).then((function(e){return e(r.axios,r.basePath)}))},n.prototype.cartsGetPublicOffer=function(e,n,r){var i=this;return t.CartsApiFp(this.configuration).cartsGetPublicOffer(e,n,r).then((function(e){return e(i.axios,i.basePath)}))},n.prototype.cartsGetTerms=function(e,n){var r=this;return t.CartsApiFp(this.configuration).cartsGetTerms(e,n).then((function(e){return e(r.axios,r.basePath)}))},n.prototype.cartsOffers=function(e,n,r,i,o){var a=this;return t.CartsApiFp(this.configuration).cartsOffers(e,n,r,i,o).then((function(e){return e(a.axios,a.basePath)}))},n.prototype.cartsSaveTemplatesPOST=function(e,n,r){var i=this;return t.CartsApiFp(this.configuration).cartsSaveTemplatesPOST(e,n,r).then((function(e){return e(i.axios,i.basePath)}))},n.prototype.cartsSetOfferCommentPOST=function(e,n,r){var i=this;return t.CartsApiFp(this.configuration).cartsSetOfferCommentPOST(e,n,r).then((function(e){return e(i.axios,i.basePath)}))},n}(c.BaseAPI);t.CartsApi=h,t.CustomerApiAxiosParamCreator=function(e){var t=this;return{customerAddCustomerPriceList:function(n,r,s){return void 0===s&&(s={}),o(t,void 0,void 0,(function(){var t,o,c,u,d,p;return a(this,(function(a){switch(a.label){case 0:return t=new URL("/customer/customerpricelist/add",l.DUMMY_BASE_URL),e&&(o=e.baseOptions),c=i(i({method:"GET"},o),s),u={},d={},[4,l.setApiKeyToObject(u,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(u,e)];case 2:return a.sent(),void 0!==n&&(d.lang=n),r&&(d.categories=r),l.setSearchParams(t,d,s.query),p=o&&o.headers?o.headers:{},c.headers=i(i(i({},u),p),s.headers),[2,{url:l.toPathString(t),options:c}]}}))}))},customerDeleteCustomerPriceListPOST:function(n,r,s){return void 0===s&&(s={}),o(t,void 0,void 0,(function(){var t,o,c,u,d,p;return a(this,(function(a){switch(a.label){case 0:return t=new URL("/customer/customerpricelist/delete",l.DUMMY_BASE_URL),e&&(o=e.baseOptions),c=i(i({method:"POST"},o),s),u={},d={},[4,l.setApiKeyToObject(u,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(u,e)];case 2:return a.sent(),void 0!==n&&(d.lang=n),u["Content-Type"]="application/json",l.setSearchParams(t,d,s.query),p=o&&o.headers?o.headers:{},c.headers=i(i(i({},u),p),s.headers),c.data=l.serializeDataIfNeeded(r,c,e),[2,{url:l.toPathString(t),options:c}]}}))}))},customerGet:function(n){return void 0===n&&(n={}),o(t,void 0,void 0,(function(){var t,r,o,s,c,u;return a(this,(function(a){switch(a.label){case 0:return t=new URL("/customer",l.DUMMY_BASE_URL),e&&(r=e.baseOptions),o=i(i({method:"GET"},r),n),s={},c={},[4,l.setApiKeyToObject(s,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(s,e)];case 2:return a.sent(),l.setSearchParams(t,c,n.query),u=r&&r.headers?r.headers:{},o.headers=i(i(i({},s),u),n.headers),[2,{url:l.toPathString(t),options:o}]}}))}))},customerGetBase64File:function(n,r){return void 0===r&&(r={}),o(t,void 0,void 0,(function(){var t,o,s,c,u,d;return a(this,(function(a){switch(a.label){case 0:return t=new URL("/customer/file/base64",l.DUMMY_BASE_URL),e&&(o=e.baseOptions),s=i(i({method:"GET"},o),r),c={},u={},[4,l.setApiKeyToObject(c,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(c,e)];case 2:return a.sent(),void 0!==n&&(u.fileName=n),l.setSearchParams(t,u,r.query),d=o&&o.headers?o.headers:{},s.headers=i(i(i({},c),d),r.headers),[2,{url:l.toPathString(t),options:s}]}}))}))},customerGetCustomerPriceList:function(n,r){return void 0===r&&(r={}),o(t,void 0,void 0,(function(){var t,o,s,c,u,d;return a(this,(function(a){switch(a.label){case 0:return t=new URL("/customer/customerpricelist/get",l.DUMMY_BASE_URL),e&&(o=e.baseOptions),s=i(i({method:"GET"},o),r),c={},u={},[4,l.setApiKeyToObject(c,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(c,e)];case 2:return a.sent(),void 0!==n&&(u.lang=n),l.setSearchParams(t,u,r.query),d=o&&o.headers?o.headers:{},s.headers=i(i(i({},c),d),r.headers),[2,{url:l.toPathString(t),options:s}]}}))}))},customerGetFiles:function(n){return void 0===n&&(n={}),o(t,void 0,void 0,(function(){var t,r,o,s,c,u;return a(this,(function(a){switch(a.label){case 0:return t=new URL("/customer/files",l.DUMMY_BASE_URL),e&&(r=e.baseOptions),o=i(i({method:"GET"},r),n),s={},c={},[4,l.setApiKeyToObject(s,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(s,e)];case 2:return a.sent(),l.setSearchParams(t,c,n.query),u=r&&r.headers?r.headers:{},o.headers=i(i(i({},s),u),n.headers),[2,{url:l.toPathString(t),options:o}]}}))}))},customerGetUsers:function(n,r){return void 0===r&&(r={}),o(t,void 0,void 0,(function(){var t,o,s,c,u,d;return a(this,(function(a){switch(a.label){case 0:return t=new URL("/customer/users",l.DUMMY_BASE_URL),e&&(o=e.baseOptions),s=i(i({method:"GET"},o),r),c={},u={},[4,l.setApiKeyToObject(c,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(c,e)];case 2:return a.sent(),void 0!==n&&(u.search=n),l.setSearchParams(t,u,r.query),d=o&&o.headers?o.headers:{},s.headers=i(i(i({},c),d),r.headers),[2,{url:l.toPathString(t),options:s}]}}))}))},customerRemoveFilesPOST:function(n,r){return void 0===r&&(r={}),o(t,void 0,void 0,(function(){var t,o,s,c,u,d;return a(this,(function(a){switch(a.label){case 0:return t=new URL("/customer/files/remove",l.DUMMY_BASE_URL),e&&(o=e.baseOptions),s=i(i({method:"POST"},o),r),c={},u={},[4,l.setApiKeyToObject(c,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(c,e)];case 2:return a.sent(),c["Content-Type"]="application/json",l.setSearchParams(t,u,r.query),d=o&&o.headers?o.headers:{},s.headers=i(i(i({},c),d),r.headers),s.data=l.serializeDataIfNeeded(n,s,e),[2,{url:l.toPathString(t),options:s}]}}))}))},customerSetSellingPOST:function(n,r){return void 0===r&&(r={}),o(t,void 0,void 0,(function(){var t,o,s,c,u,d;return a(this,(function(a){switch(a.label){case 0:return t=new URL("/customer/setselling",l.DUMMY_BASE_URL),e&&(o=e.baseOptions),s=i(i({method:"POST"},o),r),c={},u={},[4,l.setApiKeyToObject(c,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(c,e)];case 2:return a.sent(),c["Content-Type"]="application/json",l.setSearchParams(t,u,r.query),d=o&&o.headers?o.headers:{},s.headers=i(i(i({},c),d),r.headers),s.data=l.serializeDataIfNeeded(n,s,e),[2,{url:l.toPathString(t),options:s}]}}))}))},customerStopSelling:function(n){return void 0===n&&(n={}),o(t,void 0,void 0,(function(){var t,r,o,s,c,u;return a(this,(function(a){switch(a.label){case 0:return t=new URL("/customer/stopselling",l.DUMMY_BASE_URL),e&&(r=e.baseOptions),o=i(i({method:"GET"},r),n),s={},c={},[4,l.setApiKeyToObject(s,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(s,e)];case 2:return a.sent(),l.setSearchParams(t,c,n.query),u=r&&r.headers?r.headers:{},o.headers=i(i(i({},s),u),n.headers),[2,{url:l.toPathString(t),options:o}]}}))}))},customerUploadFilesPOST:function(n,r){return void 0===r&&(r={}),o(t,void 0,void 0,(function(){var t,o,s,c,u,d,p;return a(this,(function(a){switch(a.label){case 0:return t=new URL("/customer/files/upload",l.DUMMY_BASE_URL),e&&(o=e.baseOptions),s=i(i({method:"POST"},o),r),c={},u={},d=new(e&&e.formDataCtor||FormData),[4,l.setApiKeyToObject(c,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(c,e)];case 2:return a.sent(),n&&n.forEach((function(e){d.append("files",e)})),c["Content-Type"]="multipart/form-data",l.setSearchParams(t,u,r.query),p=o&&o.headers?o.headers:{},s.headers=i(i(i({},c),p),r.headers),s.data=d,[2,{url:l.toPathString(t),options:s}]}}))}))}}},t.CustomerApiFp=function(e){var n=t.CustomerApiAxiosParamCreator(e);return{customerAddCustomerPriceList:function(t,r,i){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.customerAddCustomerPriceList(t,r,i)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},customerDeleteCustomerPriceListPOST:function(t,r,i){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.customerDeleteCustomerPriceListPOST(t,r,i)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},customerGet:function(t){return o(this,void 0,void 0,(function(){var r;return a(this,(function(i){switch(i.label){case 0:return[4,n.customerGet(t)];case 1:return r=i.sent(),[2,l.createRequestFunction(r,s.default,c.BASE_PATH,e)]}}))}))},customerGetBase64File:function(t,r){return o(this,void 0,void 0,(function(){var i;return a(this,(function(o){switch(o.label){case 0:return[4,n.customerGetBase64File(t,r)];case 1:return i=o.sent(),[2,l.createRequestFunction(i,s.default,c.BASE_PATH,e)]}}))}))},customerGetCustomerPriceList:function(t,r){return o(this,void 0,void 0,(function(){var i;return a(this,(function(o){switch(o.label){case 0:return[4,n.customerGetCustomerPriceList(t,r)];case 1:return i=o.sent(),[2,l.createRequestFunction(i,s.default,c.BASE_PATH,e)]}}))}))},customerGetFiles:function(t){return o(this,void 0,void 0,(function(){var r;return a(this,(function(i){switch(i.label){case 0:return[4,n.customerGetFiles(t)];case 1:return r=i.sent(),[2,l.createRequestFunction(r,s.default,c.BASE_PATH,e)]}}))}))},customerGetUsers:function(t,r){return o(this,void 0,void 0,(function(){var i;return a(this,(function(o){switch(o.label){case 0:return[4,n.customerGetUsers(t,r)];case 1:return i=o.sent(),[2,l.createRequestFunction(i,s.default,c.BASE_PATH,e)]}}))}))},customerRemoveFilesPOST:function(t,r){return o(this,void 0,void 0,(function(){var i;return a(this,(function(o){switch(o.label){case 0:return[4,n.customerRemoveFilesPOST(t,r)];case 1:return i=o.sent(),[2,l.createRequestFunction(i,s.default,c.BASE_PATH,e)]}}))}))},customerSetSellingPOST:function(t,r){return o(this,void 0,void 0,(function(){var i;return a(this,(function(o){switch(o.label){case 0:return[4,n.customerSetSellingPOST(t,r)];case 1:return i=o.sent(),[2,l.createRequestFunction(i,s.default,c.BASE_PATH,e)]}}))}))},customerStopSelling:function(t){return o(this,void 0,void 0,(function(){var r;return a(this,(function(i){switch(i.label){case 0:return[4,n.customerStopSelling(t)];case 1:return r=i.sent(),[2,l.createRequestFunction(r,s.default,c.BASE_PATH,e)]}}))}))},customerUploadFilesPOST:function(t,r){return o(this,void 0,void 0,(function(){var i;return a(this,(function(o){switch(o.label){case 0:return[4,n.customerUploadFilesPOST(t,r)];case 1:return i=o.sent(),[2,l.createRequestFunction(i,s.default,c.BASE_PATH,e)]}}))}))}}},t.CustomerApiFactory=function(e,n,r){var i=t.CustomerApiFp(e);return{customerAddCustomerPriceList:function(e,t,o){return i.customerAddCustomerPriceList(e,t,o).then((function(e){return e(r,n)}))},customerDeleteCustomerPriceListPOST:function(e,t,o){return i.customerDeleteCustomerPriceListPOST(e,t,o).then((function(e){return e(r,n)}))},customerGet:function(e){return i.customerGet(e).then((function(e){return e(r,n)}))},customerGetBase64File:function(e,t){return i.customerGetBase64File(e,t).then((function(e){return e(r,n)}))},customerGetCustomerPriceList:function(e,t){return i.customerGetCustomerPriceList(e,t).then((function(e){return e(r,n)}))},customerGetFiles:function(e){return i.customerGetFiles(e).then((function(e){return e(r,n)}))},customerGetUsers:function(e,t){return i.customerGetUsers(e,t).then((function(e){return e(r,n)}))},customerRemoveFilesPOST:function(e,t){return i.customerRemoveFilesPOST(e,t).then((function(e){return e(r,n)}))},customerSetSellingPOST:function(e,t){return i.customerSetSellingPOST(e,t).then((function(e){return e(r,n)}))},customerStopSelling:function(e){return i.customerStopSelling(e).then((function(e){return e(r,n)}))},customerUploadFilesPOST:function(e,t){return i.customerUploadFilesPOST(e,t).then((function(e){return e(r,n)}))}}};var f=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return r(n,e),n.prototype.customerAddCustomerPriceList=function(e,n,r){var i=this;return t.CustomerApiFp(this.configuration).customerAddCustomerPriceList(e,n,r).then((function(e){return e(i.axios,i.basePath)}))},n.prototype.customerDeleteCustomerPriceListPOST=function(e,n,r){var i=this;return t.CustomerApiFp(this.configuration).customerDeleteCustomerPriceListPOST(e,n,r).then((function(e){return e(i.axios,i.basePath)}))},n.prototype.customerGet=function(e){var n=this;return t.CustomerApiFp(this.configuration).customerGet(e).then((function(e){return e(n.axios,n.basePath)}))},n.prototype.customerGetBase64File=function(e,n){var r=this;return t.CustomerApiFp(this.configuration).customerGetBase64File(e,n).then((function(e){return e(r.axios,r.basePath)}))},n.prototype.customerGetCustomerPriceList=function(e,n){var r=this;return t.CustomerApiFp(this.configuration).customerGetCustomerPriceList(e,n).then((function(e){return e(r.axios,r.basePath)}))},n.prototype.customerGetFiles=function(e){var n=this;return t.CustomerApiFp(this.configuration).customerGetFiles(e).then((function(e){return e(n.axios,n.basePath)}))},n.prototype.customerGetUsers=function(e,n){var r=this;return t.CustomerApiFp(this.configuration).customerGetUsers(e,n).then((function(e){return e(r.axios,r.basePath)}))},n.prototype.customerRemoveFilesPOST=function(e,n){var r=this;return t.CustomerApiFp(this.configuration).customerRemoveFilesPOST(e,n).then((function(e){return e(r.axios,r.basePath)}))},n.prototype.customerSetSellingPOST=function(e,n){var r=this;return t.CustomerApiFp(this.configuration).customerSetSellingPOST(e,n).then((function(e){return e(r.axios,r.basePath)}))},n.prototype.customerStopSelling=function(e){var n=this;return t.CustomerApiFp(this.configuration).customerStopSelling(e).then((function(e){return e(n.axios,n.basePath)}))},n.prototype.customerUploadFilesPOST=function(e,n){var r=this;return t.CustomerApiFp(this.configuration).customerUploadFilesPOST(e,n).then((function(e){return e(r.axios,r.basePath)}))},n}(c.BaseAPI);t.CustomerApi=f,t.HomeApiAxiosParamCreator=function(e){var t=this;return{homeAdminHostPingCheckPOST:function(n){return void 0===n&&(n={}),o(t,void 0,void 0,(function(){var t,r,o,s,c,u;return a(this,(function(a){switch(a.label){case 0:return t=new URL("/admin/host/ping",l.DUMMY_BASE_URL),e&&(r=e.baseOptions),o=i(i({method:"POST"},r),n),s={},c={},[4,l.setApiKeyToObject(s,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(s,e)];case 2:return a.sent(),l.setSearchParams(t,c,n.query),u=r&&r.headers?r.headers:{},o.headers=i(i(i({},s),u),n.headers),[2,{url:l.toPathString(t),options:o}]}}))}))},homeGet:function(n){return void 0===n&&(n={}),o(t,void 0,void 0,(function(){var t,r,o,s,c,u;return a(this,(function(a){switch(a.label){case 0:return t=new URL("/",l.DUMMY_BASE_URL),e&&(r=e.baseOptions),o=i(i({method:"GET"},r),n),s={},c={},[4,l.setApiKeyToObject(s,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(s,e)];case 2:return a.sent(),l.setSearchParams(t,c,n.query),u=r&&r.headers?r.headers:{},o.headers=i(i(i({},s),u),n.headers),[2,{url:l.toPathString(t),options:o}]}}))}))}}},t.HomeApiFp=function(e){var n=t.HomeApiAxiosParamCreator(e);return{homeAdminHostPingCheckPOST:function(t){return o(this,void 0,void 0,(function(){var r;return a(this,(function(i){switch(i.label){case 0:return[4,n.homeAdminHostPingCheckPOST(t)];case 1:return r=i.sent(),[2,l.createRequestFunction(r,s.default,c.BASE_PATH,e)]}}))}))},homeGet:function(t){return o(this,void 0,void 0,(function(){var r;return a(this,(function(i){switch(i.label){case 0:return[4,n.homeGet(t)];case 1:return r=i.sent(),[2,l.createRequestFunction(r,s.default,c.BASE_PATH,e)]}}))}))}}},t.HomeApiFactory=function(e,n,r){var i=t.HomeApiFp(e);return{homeAdminHostPingCheckPOST:function(e){return i.homeAdminHostPingCheckPOST(e).then((function(e){return e(r,n)}))},homeGet:function(e){return i.homeGet(e).then((function(e){return e(r,n)}))}}};var m=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return r(n,e),n.prototype.homeAdminHostPingCheckPOST=function(e){var n=this;return t.HomeApiFp(this.configuration).homeAdminHostPingCheckPOST(e).then((function(e){return e(n.axios,n.basePath)}))},n.prototype.homeGet=function(e){var n=this;return t.HomeApiFp(this.configuration).homeGet(e).then((function(e){return e(n.axios,n.basePath)}))},n}(c.BaseAPI);t.HomeApi=m,t.LogoApplicatorApiAxiosParamCreator=function(e){var t=this;return{logoApplicatorGetBase64FromFilesPOST:function(n,r){return void 0===r&&(r={}),o(t,void 0,void 0,(function(){var t,o,s,c,u,d,p;return a(this,(function(a){switch(a.label){case 0:return t=new URL("/logoapplicator/base64/files",l.DUMMY_BASE_URL),e&&(o=e.baseOptions),s=i(i({method:"POST"},o),r),c={},u={},d=new(e&&e.formDataCtor||FormData),[4,l.setApiKeyToObject(c,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(c,e)];case 2:return a.sent(),n&&n.forEach((function(e){d.append("files",e)})),c["Content-Type"]="multipart/form-data",l.setSearchParams(t,u,r.query),p=o&&o.headers?o.headers:{},s.headers=i(i(i({},c),p),r.headers),s.data=d,[2,{url:l.toPathString(t),options:s}]}}))}))},logoApplicatorGetMockup:function(n,r,s){return void 0===s&&(s={}),o(t,void 0,void 0,(function(){var t,o,c,u,d,p;return a(this,(function(a){switch(a.label){case 0:return t=new URL("/logoapplicator/mockup",l.DUMMY_BASE_URL),e&&(o=e.baseOptions),c=i(i({method:"GET"},o),s),u={},d={},[4,l.setApiKeyToObject(u,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(u,e)];case 2:return a.sent(),void 0!==n&&(d.variationNumber=n),void 0!==r&&(d.fileId=r),l.setSearchParams(t,d,s.query),p=o&&o.headers?o.headers:{},c.headers=i(i(i({},u),p),s.headers),[2,{url:l.toPathString(t),options:c}]}}))}))},logoApplicatorGetMockups:function(n,r){return void 0===r&&(r={}),o(t,void 0,void 0,(function(){var t,o,s,c,u,d;return a(this,(function(a){switch(a.label){case 0:return t=new URL("/logoapplicator/mockups",l.DUMMY_BASE_URL),e&&(o=e.baseOptions),s=i(i({method:"GET"},o),r),c={},u={},[4,l.setApiKeyToObject(c,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(c,e)];case 2:return a.sent(),n&&(u.variationNumbers=n),l.setSearchParams(t,u,r.query),d=o&&o.headers?o.headers:{},s.headers=i(i(i({},c),d),r.headers),[2,{url:l.toPathString(t),options:s}]}}))}))},logoApplicatorGetPMSFromRgb:function(n,r,s,c,u){return void 0===u&&(u={}),o(t,void 0,void 0,(function(){var t,o,d,p,h,f;return a(this,(function(a){switch(a.label){case 0:return t=new URL("/logoapplicator/pms",l.DUMMY_BASE_URL),e&&(o=e.baseOptions),d=i(i({method:"GET"},o),u),p={},h={},[4,l.setApiKeyToObject(p,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(p,e)];case 2:return a.sent(),void 0!==n&&(h.r=n),void 0!==r&&(h.g=r),void 0!==s&&(h.b=s),void 0!==c&&(h.colors=c),l.setSearchParams(t,h,u.query),f=o&&o.headers?o.headers:{},d.headers=i(i(i({},p),f),u.headers),[2,{url:l.toPathString(t),options:d}]}}))}))},logoApplicatorGetPMSSearch:function(n,r,s){return void 0===s&&(s={}),o(t,void 0,void 0,(function(){var t,o,c,u,d,p;return a(this,(function(a){switch(a.label){case 0:return t=new URL("/logoapplicator/pms/search",l.DUMMY_BASE_URL),e&&(o=e.baseOptions),c=i(i({method:"GET"},o),s),u={},d={},[4,l.setApiKeyToObject(u,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(u,e)];case 2:return a.sent(),void 0!==n&&(d.search=n),void 0!==r&&(d.exactMatch=r),l.setSearchParams(t,d,s.query),p=o&&o.headers?o.headers:{},c.headers=i(i(i({},u),p),s.headers),[2,{url:l.toPathString(t),options:c}]}}))}))},logoApplicatorGetProducts:function(n,r){return void 0===r&&(r={}),o(t,void 0,void 0,(function(){var t,o,s,c,u,d;return a(this,(function(a){switch(a.label){case 0:return t=new URL("/logoapplicator/mockups/all",l.DUMMY_BASE_URL),e&&(o=e.baseOptions),s=i(i({method:"GET"},o),r),c={},u={},[4,l.setApiKeyToObject(c,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(c,e)];case 2:return a.sent(),void 0!==n&&(u.lang=n),l.setSearchParams(t,u,r.query),d=o&&o.headers?o.headers:{},s.headers=i(i(i({},c),d),r.headers),[2,{url:l.toPathString(t),options:s}]}}))}))},logoApplicatorGetProductsFromVariations:function(n,r,s){return void 0===s&&(s={}),o(t,void 0,void 0,(function(){var t,o,c,u,d,p;return a(this,(function(a){switch(a.label){case 0:return t=new URL("/logoapplicator/mockups/variations",l.DUMMY_BASE_URL),e&&(o=e.baseOptions),c=i(i({method:"GET"},o),s),u={},d={},[4,l.setApiKeyToObject(u,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(u,e)];case 2:return a.sent(),void 0!==n&&(d.lang=n),r&&(d.variationNumbers=r),l.setSearchParams(t,d,s.query),p=o&&o.headers?o.headers:{},c.headers=i(i(i({},u),p),s.headers),[2,{url:l.toPathString(t),options:c}]}}))}))},logoApplicatorRemoveMockupPOST:function(n,r,s){return void 0===s&&(s={}),o(t,void 0,void 0,(function(){var t,o,c,u,d,p;return a(this,(function(a){switch(a.label){case 0:return t=new URL("/logoapplicator/mockup/remove",l.DUMMY_BASE_URL),e&&(o=e.baseOptions),c=i(i({method:"POST"},o),s),u={},d={},[4,l.setApiKeyToObject(u,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(u,e)];case 2:return a.sent(),void 0!==n&&(d.variationNumber=n),void 0!==r&&(d.fileId=r),l.setSearchParams(t,d,s.query),p=o&&o.headers?o.headers:{},c.headers=i(i(i({},u),p),s.headers),[2,{url:l.toPathString(t),options:c}]}}))}))},logoApplicatorUpdateMockupPOST:function(n,r,s,c,u,d,p,h){return void 0===h&&(h={}),o(t,void 0,void 0,(function(){var t,o,f,m,g,v,y;return a(this,(function(a){switch(a.label){case 0:return t=new URL("/logoapplicator/mockup/update",l.DUMMY_BASE_URL),e&&(o=e.baseOptions),f=i(i({method:"POST"},o),h),m={},g={},v=new(e&&e.formDataCtor||FormData),[4,l.setApiKeyToObject(m,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(m,e)];case 2:return a.sent(),void 0!==n&&(g.variationNumber=n),void 0!==r&&(g.fileId=r),void 0!==s&&v.append("Name",s),c&&c.forEach((function(e){v.append("Files",e)})),void 0!==u&&v.append("CanvasData",u),void 0!==d&&v.append("ThumbNailBase64",d),void 0!==p&&v.append("ImageBase64",p),m["Content-Type"]="multipart/form-data",l.setSearchParams(t,g,h.query),y=o&&o.headers?o.headers:{},f.headers=i(i(i({},m),y),h.headers),f.data=v,[2,{url:l.toPathString(t),options:f}]}}))}))}}},t.LogoApplicatorApiFp=function(e){var n=t.LogoApplicatorApiAxiosParamCreator(e);return{logoApplicatorGetBase64FromFilesPOST:function(t,r){return o(this,void 0,void 0,(function(){var i;return a(this,(function(o){switch(o.label){case 0:return[4,n.logoApplicatorGetBase64FromFilesPOST(t,r)];case 1:return i=o.sent(),[2,l.createRequestFunction(i,s.default,c.BASE_PATH,e)]}}))}))},logoApplicatorGetMockup:function(t,r,i){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.logoApplicatorGetMockup(t,r,i)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},logoApplicatorGetMockups:function(t,r){return o(this,void 0,void 0,(function(){var i;return a(this,(function(o){switch(o.label){case 0:return[4,n.logoApplicatorGetMockups(t,r)];case 1:return i=o.sent(),[2,l.createRequestFunction(i,s.default,c.BASE_PATH,e)]}}))}))},logoApplicatorGetPMSFromRgb:function(t,r,i,u,d){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.logoApplicatorGetPMSFromRgb(t,r,i,u,d)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},logoApplicatorGetPMSSearch:function(t,r,i){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.logoApplicatorGetPMSSearch(t,r,i)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},logoApplicatorGetProducts:function(t,r){return o(this,void 0,void 0,(function(){var i;return a(this,(function(o){switch(o.label){case 0:return[4,n.logoApplicatorGetProducts(t,r)];case 1:return i=o.sent(),[2,l.createRequestFunction(i,s.default,c.BASE_PATH,e)]}}))}))},logoApplicatorGetProductsFromVariations:function(t,r,i){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.logoApplicatorGetProductsFromVariations(t,r,i)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},logoApplicatorRemoveMockupPOST:function(t,r,i){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.logoApplicatorRemoveMockupPOST(t,r,i)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},logoApplicatorUpdateMockupPOST:function(t,r,i,u,d,p,h,f){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.logoApplicatorUpdateMockupPOST(t,r,i,u,d,p,h,f)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))}}},t.LogoApplicatorApiFactory=function(e,n,r){var i=t.LogoApplicatorApiFp(e);return{logoApplicatorGetBase64FromFilesPOST:function(e,t){return i.logoApplicatorGetBase64FromFilesPOST(e,t).then((function(e){return e(r,n)}))},logoApplicatorGetMockup:function(e,t,o){return i.logoApplicatorGetMockup(e,t,o).then((function(e){return e(r,n)}))},logoApplicatorGetMockups:function(e,t){return i.logoApplicatorGetMockups(e,t).then((function(e){return e(r,n)}))},logoApplicatorGetPMSFromRgb:function(e,t,o,a,s){return i.logoApplicatorGetPMSFromRgb(e,t,o,a,s).then((function(e){return e(r,n)}))},logoApplicatorGetPMSSearch:function(e,t,o){return i.logoApplicatorGetPMSSearch(e,t,o).then((function(e){return e(r,n)}))},logoApplicatorGetProducts:function(e,t){return i.logoApplicatorGetProducts(e,t).then((function(e){return e(r,n)}))},logoApplicatorGetProductsFromVariations:function(e,t,o){return i.logoApplicatorGetProductsFromVariations(e,t,o).then((function(e){return e(r,n)}))},logoApplicatorRemoveMockupPOST:function(e,t,o){return i.logoApplicatorRemoveMockupPOST(e,t,o).then((function(e){return e(r,n)}))},logoApplicatorUpdateMockupPOST:function(e,t,o,a,s,l,c,u){return i.logoApplicatorUpdateMockupPOST(e,t,o,a,s,l,c,u).then((function(e){return e(r,n)}))}}};var g=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return r(n,e),n.prototype.logoApplicatorGetBase64FromFilesPOST=function(e,n){var r=this;return t.LogoApplicatorApiFp(this.configuration).logoApplicatorGetBase64FromFilesPOST(e,n).then((function(e){return e(r.axios,r.basePath)}))},n.prototype.logoApplicatorGetMockup=function(e,n,r){var i=this;return t.LogoApplicatorApiFp(this.configuration).logoApplicatorGetMockup(e,n,r).then((function(e){return e(i.axios,i.basePath)}))},n.prototype.logoApplicatorGetMockups=function(e,n){var r=this;return t.LogoApplicatorApiFp(this.configuration).logoApplicatorGetMockups(e,n).then((function(e){return e(r.axios,r.basePath)}))},n.prototype.logoApplicatorGetPMSFromRgb=function(e,n,r,i,o){var a=this;return t.LogoApplicatorApiFp(this.configuration).logoApplicatorGetPMSFromRgb(e,n,r,i,o).then((function(e){return e(a.axios,a.basePath)}))},n.prototype.logoApplicatorGetPMSSearch=function(e,n,r){var i=this;return t.LogoApplicatorApiFp(this.configuration).logoApplicatorGetPMSSearch(e,n,r).then((function(e){return e(i.axios,i.basePath)}))},n.prototype.logoApplicatorGetProducts=function(e,n){var r=this;return t.LogoApplicatorApiFp(this.configuration).logoApplicatorGetProducts(e,n).then((function(e){return e(r.axios,r.basePath)}))},n.prototype.logoApplicatorGetProductsFromVariations=function(e,n,r){var i=this;return t.LogoApplicatorApiFp(this.configuration).logoApplicatorGetProductsFromVariations(e,n,r).then((function(e){return e(i.axios,i.basePath)}))},n.prototype.logoApplicatorRemoveMockupPOST=function(e,n,r){var i=this;return t.LogoApplicatorApiFp(this.configuration).logoApplicatorRemoveMockupPOST(e,n,r).then((function(e){return e(i.axios,i.basePath)}))},n.prototype.logoApplicatorUpdateMockupPOST=function(e,n,r,i,o,a,s,l){var c=this;return t.LogoApplicatorApiFp(this.configuration).logoApplicatorUpdateMockupPOST(e,n,r,i,o,a,s,l).then((function(e){return e(c.axios,c.basePath)}))},n}(c.BaseAPI);t.LogoApplicatorApi=g,t.MicroshopApiAxiosParamCreator=function(e){var t=this;return{microshopAddImagesPOST:function(n,r,s){return void 0===s&&(s={}),o(t,void 0,void 0,(function(){var t,o,c,u,d,p,h;return a(this,(function(a){switch(a.label){case 0:return t=new URL("/microshop/products/addimages",l.DUMMY_BASE_URL),e&&(o=e.baseOptions),c=i(i({method:"POST"},o),s),u={},d={},p=new(e&&e.formDataCtor||FormData),[4,l.setApiKeyToObject(u,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(u,e)];case 2:return a.sent(),void 0!==n&&(d.shopId=n),r&&r.forEach((function(e){p.append("files",e)})),u["Content-Type"]="multipart/form-data",l.setSearchParams(t,d,s.query),h=o&&o.headers?o.headers:{},c.headers=i(i(i({},u),h),s.headers),c.data=p,[2,{url:l.toPathString(t),options:c}]}}))}))},microshopAddonsUpdatePOST:function(n,r,s){return void 0===s&&(s={}),o(t,void 0,void 0,(function(){var t,o,c,u,d,p;return a(this,(function(a){switch(a.label){case 0:return t=new URL("/microshop/addons/update",l.DUMMY_BASE_URL),e&&(o=e.baseOptions),c=i(i({method:"POST"},o),s),u={},d={},[4,l.setApiKeyToObject(u,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(u,e)];case 2:return a.sent(),void 0!==n&&(d.shopId=n),u["Content-Type"]="application/json",l.setSearchParams(t,d,s.query),p=o&&o.headers?o.headers:{},c.headers=i(i(i({},u),p),s.headers),c.data=l.serializeDataIfNeeded(r,c,e),[2,{url:l.toPathString(t),options:c}]}}))}))},microshopBackgroundImagePOST:function(n,r,s){return void 0===s&&(s={}),o(t,void 0,void 0,(function(){var t,o,c,u,d,p,h;return a(this,(function(a){switch(a.label){case 0:return t=new URL("/microshop/files/backgroundImage",l.DUMMY_BASE_URL),e&&(o=e.baseOptions),c=i(i({method:"POST"},o),s),u={},d={},p=new(e&&e.formDataCtor||FormData),[4,l.setApiKeyToObject(u,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(u,e)];case 2:return a.sent(),void 0!==n&&(d.shopId=n),r&&r.forEach((function(e){p.append("files",e)})),u["Content-Type"]="multipart/form-data",l.setSearchParams(t,d,s.query),h=o&&o.headers?o.headers:{},c.headers=i(i(i({},u),h),s.headers),c.data=p,[2,{url:l.toPathString(t),options:c}]}}))}))},microshopCalcPricePOST:function(n,r){return void 0===r&&(r={}),o(t,void 0,void 0,(function(){var t,o,s,c,u,d;return a(this,(function(a){switch(a.label){case 0:return t=new URL("/microshop/products/price",l.DUMMY_BASE_URL),e&&(o=e.baseOptions),s=i(i({method:"POST"},o),r),c={},u={},[4,l.setApiKeyToObject(c,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(c,e)];case 2:return a.sent(),c["Content-Type"]="application/json",l.setSearchParams(t,u,r.query),d=o&&o.headers?o.headers:{},s.headers=i(i(i({},c),d),r.headers),s.data=l.serializeDataIfNeeded(n,s,e),[2,{url:l.toPathString(t),options:s}]}}))}))},microshopCancelMasterOrderPOST:function(n,r,s,c,u,d){return void 0===d&&(d={}),o(t,void 0,void 0,(function(){var t,o,p,h,f,m;return a(this,(function(a){switch(a.label){case 0:return t=new URL("/microshop/masterorder/cancel",l.DUMMY_BASE_URL),e&&(o=e.baseOptions),p=i(i({method:"POST"},o),d),h={},f={},[4,l.setApiKeyToObject(h,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(h,e)];case 2:return a.sent(),void 0!==n&&(f.lang=n),void 0!==r&&(f.shopId=r),void 0!==s&&(f.masterOrderId=s),void 0!==c&&(f.pageSize=c),void 0!==u&&(f.page=u),l.setSearchParams(t,f,d.query),m=o&&o.headers?o.headers:{},p.headers=i(i(i({},h),m),d.headers),[2,{url:l.toPathString(t),options:p}]}}))}))},microshopCollectionPricesUpdatePOST:function(n,r,s){return void 0===s&&(s={}),o(t,void 0,void 0,(function(){var t,o,c,u,d,p;return a(this,(function(a){switch(a.label){case 0:return t=new URL("/microshop/collectionprices/update",l.DUMMY_BASE_URL),e&&(o=e.baseOptions),c=i(i({method:"POST"},o),s),u={},d={},[4,l.setApiKeyToObject(u,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(u,e)];case 2:return a.sent(),void 0!==n&&(d.shopId=n),u["Content-Type"]="application/json",l.setSearchParams(t,d,s.query),p=o&&o.headers?o.headers:{},c.headers=i(i(i({},u),p),s.headers),c.data=l.serializeDataIfNeeded(r,c,e),[2,{url:l.toPathString(t),options:c}]}}))}))},microshopCreateMasterOrderPOST:function(n,r,s,c,u){return void 0===u&&(u={}),o(t,void 0,void 0,(function(){var t,o,d,p,h,f;return a(this,(function(a){switch(a.label){case 0:return t=new URL("/microshop/masterorder/create",l.DUMMY_BASE_URL),e&&(o=e.baseOptions),d=i(i({method:"POST"},o),u),p={},h={},[4,l.setApiKeyToObject(p,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(p,e)];case 2:return a.sent(),void 0!==n&&(h.lang=n),void 0!==r&&(h.shopId=r),s&&(h.userOrders=s),void 0!==c&&(h.hasAddress=c),l.setSearchParams(t,h,u.query),f=o&&o.headers?o.headers:{},d.headers=i(i(i({},p),f),u.headers),[2,{url:l.toPathString(t),options:d}]}}))}))},microshopCreateMicroshopPOST:function(n,r){return void 0===r&&(r={}),o(t,void 0,void 0,(function(){var t,o,s,c,u,d;return a(this,(function(a){switch(a.label){case 0:return t=new URL("/microshop/create",l.DUMMY_BASE_URL),e&&(o=e.baseOptions),s=i(i({method:"POST"},o),r),c={},u={},[4,l.setApiKeyToObject(c,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(c,e)];case 2:return a.sent(),c["Content-Type"]="application/json",l.setSearchParams(t,u,r.query),d=o&&o.headers?o.headers:{},s.headers=i(i(i({},c),d),r.headers),s.data=l.serializeDataIfNeeded(n,s,e),[2,{url:l.toPathString(t),options:s}]}}))}))},microshopCreateOrUpdateUserPOST:function(n,r,s,c){return void 0===c&&(c={}),o(t,void 0,void 0,(function(){var t,o,u,d,p,h;return a(this,(function(a){switch(a.label){case 0:return t=new URL("/microshop/user/upsert",l.DUMMY_BASE_URL),e&&(o=e.baseOptions),u=i(i({method:"POST"},o),c),d={},p={},[4,l.setApiKeyToObject(d,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(d,e)];case 2:return a.sent(),void 0!==n&&(p.microshopId=n),void 0!==r&&(p.language=r),d["Content-Type"]="application/json",l.setSearchParams(t,p,c.query),h=o&&o.headers?o.headers:{},u.headers=i(i(i({},d),h),c.headers),u.data=l.serializeDataIfNeeded(s,u,e),[2,{url:l.toPathString(t),options:u}]}}))}))},microshopDeleteMicroshopOrdersPOST:function(n,r,s,c,u,d){return void 0===d&&(d={}),o(t,void 0,void 0,(function(){var t,o,p,h,f,m,g;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("microshopDeleteMicroshopOrdersPOST","lang",n),t="/microshop/orders/delete".replace("{lang}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(p=e.baseOptions),h=i(i({method:"POST"},p),d),f={},m={},[4,l.setApiKeyToObject(f,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(f,e)];case 2:return a.sent(),void 0!==r&&(m.shopId=r),s&&(m.orderIds=s),void 0!==c&&(m.pageSize=c),void 0!==u&&(m.page=u),l.setSearchParams(o,m,d.query),g=p&&p.headers?p.headers:{},h.headers=i(i(i({},f),g),d.headers),[2,{url:l.toPathString(o),options:h}]}}))}))},microshopDeleteMicroshopPOST:function(n,r){return void 0===r&&(r={}),o(t,void 0,void 0,(function(){var t,o,s,c,u,d;return a(this,(function(a){switch(a.label){case 0:return t=new URL("/microshop/delete",l.DUMMY_BASE_URL),e&&(o=e.baseOptions),s=i(i({method:"POST"},o),r),c={},u={},[4,l.setApiKeyToObject(c,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(c,e)];case 2:return a.sent(),void 0!==n&&(u.shopId=n),l.setSearchParams(t,u,r.query),d=o&&o.headers?o.headers:{},s.headers=i(i(i({},c),d),r.headers),[2,{url:l.toPathString(t),options:s}]}}))}))},microshopExportShopUsers:function(n,r,s){return void 0===s&&(s={}),o(t,void 0,void 0,(function(){var t,o,c,u,d,p;return a(this,(function(a){switch(a.label){case 0:return t=new URL("/microshop/unit/users/export",l.DUMMY_BASE_URL),e&&(o=e.baseOptions),c=i(i({method:"GET"},o),s),u={},d={},[4,l.setApiKeyToObject(u,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(u,e)];case 2:return a.sent(),void 0!==n&&(d.microshopId=n),void 0!==r&&(d.shopUnitId=r),l.setSearchParams(t,d,s.query),p=o&&o.headers?o.headers:{},c.headers=i(i(i({},u),p),s.headers),[2,{url:l.toPathString(t),options:c}]}}))}))},microshopFilesDeletePOST:function(n,r,s){return void 0===s&&(s={}),o(t,void 0,void 0,(function(){var t,o,c,u,d,p;return a(this,(function(a){switch(a.label){case 0:return t=new URL("/microshop/files/delete",l.DUMMY_BASE_URL),e&&(o=e.baseOptions),c=i(i({method:"POST"},o),s),u={},d={},[4,l.setApiKeyToObject(u,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(u,e)];case 2:return a.sent(),void 0!==n&&(d.shopId=n),u["Content-Type"]="application/json",l.setSearchParams(t,d,s.query),p=o&&o.headers?o.headers:{},c.headers=i(i(i({},u),p),s.headers),c.data=l.serializeDataIfNeeded(r,c,e),[2,{url:l.toPathString(t),options:c}]}}))}))},microshopFilesUpdatePOST:function(n,r,s){return void 0===s&&(s={}),o(t,void 0,void 0,(function(){var t,o,c,u,d,p;return a(this,(function(a){switch(a.label){case 0:return t=new URL("/microshop/file/update",l.DUMMY_BASE_URL),e&&(o=e.baseOptions),c=i(i({method:"POST"},o),s),u={},d={},[4,l.setApiKeyToObject(u,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(u,e)];case 2:return a.sent(),void 0!==n&&(d.shopId=n),u["Content-Type"]="application/json",l.setSearchParams(t,d,s.query),p=o&&o.headers?o.headers:{},c.headers=i(i(i({},u),p),s.headers),c.data=l.serializeDataIfNeeded(r,c,e),[2,{url:l.toPathString(t),options:c}]}}))}))},microshopFilesUploadPOST:function(n,r,s){return void 0===s&&(s={}),o(t,void 0,void 0,(function(){var t,o,c,u,d,p,h;return a(this,(function(a){switch(a.label){case 0:return t=new URL("/microshop/files/upload",l.DUMMY_BASE_URL),e&&(o=e.baseOptions),c=i(i({method:"POST"},o),s),u={},d={},p=new(e&&e.formDataCtor||FormData),[4,l.setApiKeyToObject(u,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(u,e)];case 2:return a.sent(),void 0!==n&&(d.shopId=n),r&&r.forEach((function(e){p.append("files",e)})),u["Content-Type"]="multipart/form-data",l.setSearchParams(t,d,s.query),h=o&&o.headers?o.headers:{},c.headers=i(i(i({},u),h),s.headers),c.data=p,[2,{url:l.toPathString(t),options:c}]}}))}))},microshopFindShopUserPOST:function(n,r,s){return void 0===s&&(s={}),o(t,void 0,void 0,(function(){var t,o,c,u,d,p;return a(this,(function(a){switch(a.label){case 0:return t=new URL("/microshop/user/find/email",l.DUMMY_BASE_URL),e&&(o=e.baseOptions),c=i(i({method:"POST"},o),s),u={},d={},[4,l.setApiKeyToObject(u,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(u,e)];case 2:return a.sent(),void 0!==n&&(d.microshopId=n),void 0!==r&&(d.email=r),l.setSearchParams(t,d,s.query),p=o&&o.headers?o.headers:{},c.headers=i(i(i({},u),p),s.headers),[2,{url:l.toPathString(t),options:c}]}}))}))},microshopGetAllMicroshops:function(n,r,s){return void 0===s&&(s={}),o(t,void 0,void 0,(function(){var t,o,c,u,d,p;return a(this,(function(a){switch(a.label){case 0:return t=new URL("/microshop/all",l.DUMMY_BASE_URL),e&&(o=e.baseOptions),c=i(i({method:"GET"},o),s),u={},d={},[4,l.setApiKeyToObject(u,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(u,e)];case 2:return a.sent(),void 0!==n&&(d.lang=n),void 0!==r&&(d.search=r),l.setSearchParams(t,d,s.query),p=o&&o.headers?o.headers:{},c.headers=i(i(i({},u),p),s.headers),[2,{url:l.toPathString(t),options:c}]}}))}))},microshopGetAllPendingOrderIds:function(n,r,s){return void 0===s&&(s={}),o(t,void 0,void 0,(function(){var t,o,c,u,d,p;return a(this,(function(a){switch(a.label){case 0:return t=new URL("/microshop/pendingOrderIds/all",l.DUMMY_BASE_URL),e&&(o=e.baseOptions),c=i(i({method:"GET"},o),s),u={},d={},[4,l.setApiKeyToObject(u,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(u,e)];case 2:return a.sent(),void 0!==n&&(d.lang=n),void 0!==r&&(d.shopId=r),l.setSearchParams(t,d,s.query),p=o&&o.headers?o.headers:{},c.headers=i(i(i({},u),p),s.headers),[2,{url:l.toPathString(t),options:c}]}}))}))},microshopGetCustomerShopsXlsx:function(n){return void 0===n&&(n={}),o(t,void 0,void 0,(function(){var t,r,o,s,c,u;return a(this,(function(a){switch(a.label){case 0:return t=new URL("/microshop/customers/download",l.DUMMY_BASE_URL),e&&(r=e.baseOptions),o=i(i({method:"GET"},r),n),s={},c={},[4,l.setApiKeyToObject(s,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(s,e)];case 2:return a.sent(),l.setSearchParams(t,c,n.query),u=r&&r.headers?r.headers:{},o.headers=i(i(i({},s),u),n.headers),[2,{url:l.toPathString(t),options:o}]}}))}))},microshopGetMicroshop:function(n,r,s){return void 0===s&&(s={}),o(t,void 0,void 0,(function(){var t,o,c,u,d,p,h;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("microshopGetMicroshop","shopId",n),t="/microshop/{shopId}".replace("{shopId}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(c=e.baseOptions),u=i(i({method:"GET"},c),s),d={},p={},[4,l.setApiKeyToObject(d,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(d,e)];case 2:return a.sent(),void 0!==r&&(p.lang=r),l.setSearchParams(o,p,s.query),h=c&&c.headers?c.headers:{},u.headers=i(i(i({},d),h),s.headers),[2,{url:l.toPathString(o),options:u}]}}))}))},microshopGetMicroshopColorsPOST:function(n,r,s,c){return void 0===c&&(c={}),o(t,void 0,void 0,(function(){var t,o,u,d,p,h;return a(this,(function(a){switch(a.label){case 0:return t=new URL("/microshop/colors",l.DUMMY_BASE_URL),e&&(o=e.baseOptions),u=i(i({method:"POST"},o),c),d={},p={},[4,l.setApiKeyToObject(d,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(d,e)];case 2:return a.sent(),void 0!==n&&(p.lang=n),void 0!==r&&(p.shopId=r),d["Content-Type"]="application/json",l.setSearchParams(t,p,c.query),h=o&&o.headers?o.headers:{},u.headers=i(i(i({},d),h),c.headers),u.data=l.serializeDataIfNeeded(s,u,e),[2,{url:l.toPathString(t),options:u}]}}))}))},microshopGetMicroshopCustomAssortment:function(n,r){return void 0===r&&(r={}),o(t,void 0,void 0,(function(){var t,o,s,c,u,d,p;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("microshopGetMicroshopCustomAssortment","shopId",n),t="/microshop/assortment/custom/{shopId}".replace("{shopId}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(s=e.baseOptions),c=i(i({method:"GET"},s),r),u={},d={},[4,l.setApiKeyToObject(u,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(u,e)];case 2:return a.sent(),l.setSearchParams(o,d,r.query),p=s&&s.headers?s.headers:{},c.headers=i(i(i({},u),p),r.headers),[2,{url:l.toPathString(o),options:c}]}}))}))},microshopGetMicroshopFullAssortment:function(n,r){return void 0===r&&(r={}),o(t,void 0,void 0,(function(){var t,o,s,c,u,d,p;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("microshopGetMicroshopFullAssortment","shopId",n),t="/microshop/assortment/full/{shopId}".replace("{shopId}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(s=e.baseOptions),c=i(i({method:"GET"},s),r),u={},d={},[4,l.setApiKeyToObject(u,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(u,e)];case 2:return a.sent(),l.setSearchParams(o,d,r.query),p=s&&s.headers?s.headers:{},c.headers=i(i(i({},u),p),r.headers),[2,{url:l.toPathString(o),options:c}]}}))}))},microshopGetMicroshopOptions:function(n,r){return void 0===r&&(r={}),o(t,void 0,void 0,(function(){var t,o,s,c,u,d;return a(this,(function(a){switch(a.label){case 0:return t=new URL("/microshop/options",l.DUMMY_BASE_URL),e&&(o=e.baseOptions),s=i(i({method:"GET"},o),r),c={},u={},[4,l.setApiKeyToObject(c,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(c,e)];case 2:return a.sent(),void 0!==n&&(u.lang=n),l.setSearchParams(t,u,r.query),d=o&&o.headers?o.headers:{},s.headers=i(i(i({},c),d),r.headers),[2,{url:l.toPathString(t),options:s}]}}))}))},microshopGetMicroshopUnits:function(n,r){return void 0===r&&(r={}),o(t,void 0,void 0,(function(){var t,o,s,c,u,d,p;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("microshopGetMicroshopUnits","shopId",n),t="/microshop/units/{shopId}".replace("{shopId}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(s=e.baseOptions),c=i(i({method:"GET"},s),r),u={},d={},[4,l.setApiKeyToObject(u,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(u,e)];case 2:return a.sent(),l.setSearchParams(o,d,r.query),p=s&&s.headers?s.headers:{},c.headers=i(i(i({},u),p),r.headers),[2,{url:l.toPathString(o),options:c}]}}))}))},microshopGetMicroshops:function(n,r,s){return void 0===s&&(s={}),o(t,void 0,void 0,(function(){var t,o,c,u,d,p;return a(this,(function(a){switch(a.label){case 0:return t=new URL("/microshop",l.DUMMY_BASE_URL),e&&(o=e.baseOptions),c=i(i({method:"GET"},o),s),u={},d={},[4,l.setApiKeyToObject(u,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(u,e)];case 2:return a.sent(),void 0!==n&&(d.lang=n),void 0!==r&&(d.search=r),l.setSearchParams(t,d,s.query),p=o&&o.headers?o.headers:{},c.headers=i(i(i({},u),p),s.headers),[2,{url:l.toPathString(t),options:c}]}}))}))},microshopGetMicroshopsByUri:function(n,r){return void 0===r&&(r={}),o(t,void 0,void 0,(function(){var t,o,s,c,u,d;return a(this,(function(a){switch(a.label){case 0:return t=new URL("/microshop/shop/uri",l.DUMMY_BASE_URL),e&&(o=e.baseOptions),s=i(i({method:"GET"},o),r),c={},u={},[4,l.setApiKeyToObject(c,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(c,e)];case 2:return a.sent(),void 0!==n&&(u.uri=n),l.setSearchParams(t,u,r.query),d=o&&o.headers?o.headers:{},s.headers=i(i(i({},c),d),r.headers),[2,{url:l.toPathString(t),options:s}]}}))}))},microshopGetMicroshopsForCopy:function(n){return void 0===n&&(n={}),o(t,void 0,void 0,(function(){var t,r,o,s,c,u;return a(this,(function(a){switch(a.label){case 0:return t=new URL("/microshop/copyshops",l.DUMMY_BASE_URL),e&&(r=e.baseOptions),o=i(i({method:"GET"},r),n),s={},c={},[4,l.setApiKeyToObject(s,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(s,e)];case 2:return a.sent(),l.setSearchParams(t,c,n.query),u=r&&r.headers?r.headers:{},o.headers=i(i(i({},s),u),n.headers),[2,{url:l.toPathString(t),options:o}]}}))}))},microshopGetOrder:function(n,r,s,c,u){return void 0===u&&(u={}),o(t,void 0,void 0,(function(){var t,o,d,p,h,f;return a(this,(function(a){switch(a.label){case 0:return t=new URL("/microshop/order",l.DUMMY_BASE_URL),e&&(o=e.baseOptions),d=i(i({method:"GET"},o),u),p={},h={},[4,l.setApiKeyToObject(p,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(p,e)];case 2:return a.sent(),void 0!==n&&(h.lang=n),void 0!==r&&(h.shopId=r),void 0!==s&&(h.orderId=s),void 0!==c&&(h.isMasterOrder=c),l.setSearchParams(t,h,u.query),f=o&&o.headers?o.headers:{},d.headers=i(i(i({},p),f),u.headers),[2,{url:l.toPathString(t),options:d}]}}))}))},microshopGetOrdersXlsxPOST:function(n,r,s,c){return void 0===c&&(c={}),o(t,void 0,void 0,(function(){var t,o,u,d,p,h;return a(this,(function(a){switch(a.label){case 0:return t=new URL("/microshop/orders/download",l.DUMMY_BASE_URL),e&&(o=e.baseOptions),u=i(i({method:"POST"},o),c),d={},p={},[4,l.setApiKeyToObject(d,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(d,e)];case 2:return a.sent(),void 0!==n&&(p.shopId=n),void 0!==r&&(p.isMasterOrder=r),d["Content-Type"]="application/json",l.setSearchParams(t,p,c.query),h=o&&o.headers?o.headers:{},u.headers=i(i(i({},d),h),c.headers),u.data=l.serializeDataIfNeeded(s,u,e),[2,{url:l.toPathString(t),options:u}]}}))}))},microshopGetPDfOrderPOST:function(n,r,s,c,u){return void 0===u&&(u={}),o(t,void 0,void 0,(function(){var t,o,d,p,h,f;return a(this,(function(a){switch(a.label){case 0:return t=new URL("/microshop/order/pdf",l.DUMMY_BASE_URL),e&&(o=e.baseOptions),d=i(i({method:"POST"},o),u),p={},h={},[4,l.setApiKeyToObject(p,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(p,e)];case 2:return a.sent(),void 0!==n&&(h.lang=n),void 0!==r&&(h.shopId=r),void 0!==s&&(h.orderId=s),void 0!==c&&(h.isMasterOrder=c),l.setSearchParams(t,h,u.query),f=o&&o.headers?o.headers:{},d.headers=i(i(i({},p),f),u.headers),[2,{url:l.toPathString(t),options:d}]}}))}))},microshopGetProductToAdd:function(n,r,s,c,u){return void 0===u&&(u={}),o(t,void 0,void 0,(function(){var t,o,d,p,h,f;return a(this,(function(a){switch(a.label){case 0:return t=new URL("/microshop/products/toAdd",l.DUMMY_BASE_URL),e&&(o=e.baseOptions),d=i(i({method:"GET"},o),u),p={},h={},[4,l.setApiKeyToObject(p,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(p,e)];case 2:return a.sent(),void 0!==n&&(h.shopId=n),void 0!==r&&(h.productNumber=r),s&&(h.variationNumbers=s),void 0!==c&&(h.collectionId=c),l.setSearchParams(t,h,u.query),f=o&&o.headers?o.headers:{},d.headers=i(i(i({},p),f),u.headers),[2,{url:l.toPathString(t),options:d}]}}))}))},microshopGetProductsToAdd:function(n,r,s){return void 0===s&&(s={}),o(t,void 0,void 0,(function(){var t,o,c,u,d,p;return a(this,(function(a){switch(a.label){case 0:return t=new URL("/microshop/products/toAddAll",l.DUMMY_BASE_URL),e&&(o=e.baseOptions),c=i(i({method:"GET"},o),s),u={},d={},[4,l.setApiKeyToObject(u,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(u,e)];case 2:return a.sent(),void 0!==n&&(d.shopId=n),r&&(d.products=r),l.setSearchParams(t,d,s.query),p=o&&o.headers?o.headers:{},c.headers=i(i(i({},u),p),s.headers),[2,{url:l.toPathString(t),options:c}]}}))}))},microshopGetSelectedPDfOrdersPOST:function(n,r,s,c){return void 0===c&&(c={}),o(t,void 0,void 0,(function(){var t,o,u,d,p,h;return a(this,(function(a){switch(a.label){case 0:return t=new URL("/microshop/selected/orders/pdf",l.DUMMY_BASE_URL),e&&(o=e.baseOptions),u=i(i({method:"POST"},o),c),d={},p={},[4,l.setApiKeyToObject(d,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(d,e)];case 2:return a.sent(),void 0!==n&&(p.lang=n),void 0!==r&&(p.shopId=r),d["Content-Type"]="application/json",l.setSearchParams(t,p,c.query),h=o&&o.headers?o.headers:{},u.headers=i(i(i({},d),h),c.headers),u.data=l.serializeDataIfNeeded(s,u,e),[2,{url:l.toPathString(t),options:u}]}}))}))},microshopGetShopUnitUserImportTemplate:function(n){return void 0===n&&(n={}),o(t,void 0,void 0,(function(){var t,r,o,s,c,u;return a(this,(function(a){switch(a.label){case 0:return t=new URL("/microshop/unit/users/importTemplate",l.DUMMY_BASE_URL),e&&(r=e.baseOptions),o=i(i({method:"GET"},r),n),s={},c={},[4,l.setApiKeyToObject(s,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(s,e)];case 2:return a.sent(),l.setSearchParams(t,c,n.query),u=r&&r.headers?r.headers:{},o.headers=i(i(i({},s),u),n.headers),[2,{url:l.toPathString(t),options:o}]}}))}))},microshopGetShopUsers:function(n,r,s){return void 0===s&&(s={}),o(t,void 0,void 0,(function(){var t,o,c,u,d,p;return a(this,(function(a){switch(a.label){case 0:return t=new URL("/microshop/users",l.DUMMY_BASE_URL),e&&(o=e.baseOptions),c=i(i({method:"GET"},o),s),u={},d={},[4,l.setApiKeyToObject(u,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(u,e)];case 2:return a.sent(),void 0!==n&&(d.lang=n),void 0!==r&&(d.shopId=r),l.setSearchParams(t,d,s.query),p=o&&o.headers?o.headers:{},c.headers=i(i(i({},u),p),s.headers),[2,{url:l.toPathString(t),options:c}]}}))}))},microshopImportShopUsersPOST:function(n,r,s){return void 0===s&&(s={}),o(t,void 0,void 0,(function(){var t,o,c,u,d,p;return a(this,(function(a){switch(a.label){case 0:return t=new URL("/microshop/unit/users/import",l.DUMMY_BASE_URL),e&&(o=e.baseOptions),c=i(i({method:"POST"},o),s),u={},d={},[4,l.setApiKeyToObject(u,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(u,e)];case 2:return a.sent(),void 0!==n&&(d.microshopId=n),u["Content-Type"]="application/json",l.setSearchParams(t,d,s.query),p=o&&o.headers?o.headers:{},c.headers=i(i(i({},u),p),s.headers),c.data=l.serializeDataIfNeeded(r,c,e),[2,{url:l.toPathString(t),options:c}]}}))}))},microshopLogotypePOST:function(n,r,s){return void 0===s&&(s={}),o(t,void 0,void 0,(function(){var t,o,c,u,d,p,h;return a(this,(function(a){switch(a.label){case 0:return t=new URL("/microshop/files/logotype",l.DUMMY_BASE_URL),e&&(o=e.baseOptions),c=i(i({method:"POST"},o),s),u={},d={},p=new(e&&e.formDataCtor||FormData),[4,l.setApiKeyToObject(u,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(u,e)];case 2:return a.sent(),void 0!==n&&(d.shopId=n),r&&r.forEach((function(e){p.append("files",e)})),u["Content-Type"]="multipart/form-data",l.setSearchParams(t,d,s.query),h=o&&o.headers?o.headers:{},c.headers=i(i(i({},u),h),s.headers),c.data=p,[2,{url:l.toPathString(t),options:c}]}}))}))},microshopSearchMasterOrders:function(n,r,s,c,u){return void 0===u&&(u={}),o(t,void 0,void 0,(function(){var t,o,d,p,h,f,m;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("microshopSearchMasterOrders","lang",n),t="/microshop/masterorders/search".replace("{lang}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(d=e.baseOptions),p=i(i({method:"GET"},d),u),h={},f={},[4,l.setApiKeyToObject(h,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(h,e)];case 2:return a.sent(),void 0!==r&&(f.shopId=r),void 0!==s&&(f.pageSize=s),void 0!==c&&(f.page=c),l.setSearchParams(o,f,u.query),m=d&&d.headers?d.headers:{},p.headers=i(i(i({},h),m),u.headers),[2,{url:l.toPathString(o),options:p}]}}))}))},microshopSearchPendingOrders:function(n,r,s,c,u){return void 0===u&&(u={}),o(t,void 0,void 0,(function(){var t,o,d,p,h,f;return a(this,(function(a){switch(a.label){case 0:return t=new URL("/microshop/orders",l.DUMMY_BASE_URL),e&&(o=e.baseOptions),d=i(i({method:"GET"},o),u),p={},h={},[4,l.setApiKeyToObject(p,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(p,e)];case 2:return a.sent(),void 0!==n&&(h.lang=n),void 0!==r&&(h.shopId=r),void 0!==s&&(h.pageSize=s),void 0!==c&&(h.page=c),l.setSearchParams(t,h,u.query),f=o&&o.headers?o.headers:{},d.headers=i(i(i({},p),f),u.headers),[2,{url:l.toPathString(t),options:d}]}}))}))},microshopUpdateMicroshopAssortmentPOST:function(n,r,s){return void 0===s&&(s={}),o(t,void 0,void 0,(function(){var t,o,c,u,d,p,h;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("microshopUpdateMicroshopAssortmentPOST","shopId",n),t="/microshop/assortment/update/{shopId}".replace("{shopId}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(c=e.baseOptions),u=i(i({method:"POST"},c),s),d={},p={},[4,l.setApiKeyToObject(d,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(d,e)];case 2:return a.sent(),d["Content-Type"]="application/json",l.setSearchParams(o,p,s.query),h=c&&c.headers?c.headers:{},u.headers=i(i(i({},d),h),s.headers),u.data=l.serializeDataIfNeeded(r,u,e),[2,{url:l.toPathString(o),options:u}]}}))}))},microshopUpdateMicroshopOwnerPOST:function(n,r,s,c){return void 0===c&&(c={}),o(t,void 0,void 0,(function(){var t,o,u,d,p,h;return a(this,(function(a){switch(a.label){case 0:return t=new URL("/microshop/changeowner",l.DUMMY_BASE_URL),e&&(o=e.baseOptions),u=i(i({method:"POST"},o),c),d={},p={},[4,l.setApiKeyToObject(d,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(d,e)];case 2:return a.sent(),void 0!==n&&(p.lang=n),void 0!==r&&(p.shopId=r),void 0!==s&&(p.email=s),l.setSearchParams(t,p,c.query),h=o&&o.headers?o.headers:{},u.headers=i(i(i({},d),h),c.headers),[2,{url:l.toPathString(t),options:u}]}}))}))},microshopUpdateMicroshopPOST:function(n,r,s){return void 0===s&&(s={}),o(t,void 0,void 0,(function(){var t,o,c,u,d,p,h;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("microshopUpdateMicroshopPOST","shopId",n),t="/microshop/update/{shopId}".replace("{shopId}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(c=e.baseOptions),u=i(i({method:"POST"},c),s),d={},p={},[4,l.setApiKeyToObject(d,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(d,e)];case 2:return a.sent(),d["Content-Type"]="application/json",l.setSearchParams(o,p,s.query),h=c&&c.headers?c.headers:{},u.headers=i(i(i({},d),h),s.headers),u.data=l.serializeDataIfNeeded(r,u,e),[2,{url:l.toPathString(o),options:u}]}}))}))},microshopUpdateMicroshopUnitsPOST:function(n,r,s){return void 0===s&&(s={}),o(t,void 0,void 0,(function(){var t,o,c,u,d,p,h;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("microshopUpdateMicroshopUnitsPOST","shopId",n),t="/microshop/units/update/{shopId}".replace("{shopId}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(c=e.baseOptions),u=i(i({method:"POST"},c),s),d={},p={},[4,l.setApiKeyToObject(d,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(d,e)];case 2:return a.sent(),d["Content-Type"]="application/json",l.setSearchParams(o,p,s.query),h=c&&c.headers?c.headers:{},u.headers=i(i(i({},d),h),s.headers),u.data=l.serializeDataIfNeeded(r,u,e),[2,{url:l.toPathString(o),options:u}]}}))}))},microshopUpdateOrderDeliveryAdressPOST:function(n,r,s,c){return void 0===c&&(c={}),o(t,void 0,void 0,(function(){var t,o,u,d,p,h;return a(this,(function(a){switch(a.label){case 0:return t=new URL("/microshop/order/deliveryAdress/update",l.DUMMY_BASE_URL),e&&(o=e.baseOptions),u=i(i({method:"POST"},o),c),d={},p={},[4,l.setApiKeyToObject(d,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(d,e)];case 2:return a.sent(),void 0!==n&&(p.shopId=n),void 0!==r&&(p.orderId=r),d["Content-Type"]="application/json",l.setSearchParams(t,p,c.query),h=o&&o.headers?o.headers:{},u.headers=i(i(i({},d),h),c.headers),u.data=l.serializeDataIfNeeded(s,u,e),[2,{url:l.toPathString(t),options:u}]}}))}))},microshopUploadShopUnitUsersPOST:function(n,r){return void 0===r&&(r={}),o(t,void 0,void 0,(function(){var t,o,s,c,u,d,p;return a(this,(function(a){switch(a.label){case 0:return t=new URL("/microshop/unit/users/upload",l.DUMMY_BASE_URL),e&&(o=e.baseOptions),s=i(i({method:"POST"},o),r),c={},u={},d=new(e&&e.formDataCtor||FormData),[4,l.setApiKeyToObject(c,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(c,e)];case 2:return a.sent(),n&&n.forEach((function(e){d.append("files",e)})),c["Content-Type"]="multipart/form-data",l.setSearchParams(t,u,r.query),p=o&&o.headers?o.headers:{},s.headers=i(i(i({},c),p),r.headers),s.data=d,[2,{url:l.toPathString(t),options:s}]}}))}))},microshopValidateMicroshopOwnerEmailPOST:function(n,r,s){return void 0===s&&(s={}),o(t,void 0,void 0,(function(){var t,o,c,u,d,p;return a(this,(function(a){switch(a.label){case 0:return t=new URL("/microshop/validate/email",l.DUMMY_BASE_URL),e&&(o=e.baseOptions),c=i(i({method:"POST"},o),s),u={},d={},[4,l.setApiKeyToObject(u,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(u,e)];case 2:return a.sent(),void 0!==n&&(d.lang=n),void 0!==r&&(d.email=r),l.setSearchParams(t,d,s.query),p=o&&o.headers?o.headers:{},c.headers=i(i(i({},u),p),s.headers),[2,{url:l.toPathString(t),options:c}]}}))}))},microshopValidateMicroshopUserPOST:function(n,r){return void 0===r&&(r={}),o(t,void 0,void 0,(function(){var t,o,s,c,u,d;return a(this,(function(a){switch(a.label){case 0:return t=new URL("/microshop/validate/user",l.DUMMY_BASE_URL),e&&(o=e.baseOptions),s=i(i({method:"POST"},o),r),c={},u={},[4,l.setApiKeyToObject(c,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(c,e)];case 2:return a.sent(),void 0!==n&&(u.email=n),l.setSearchParams(t,u,r.query),d=o&&o.headers?o.headers:{},s.headers=i(i(i({},c),d),r.headers),[2,{url:l.toPathString(t),options:s}]}}))}))}}},t.MicroshopApiFp=function(e){var n=t.MicroshopApiAxiosParamCreator(e);return{microshopAddImagesPOST:function(t,r,i){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.microshopAddImagesPOST(t,r,i)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},microshopAddonsUpdatePOST:function(t,r,i){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.microshopAddonsUpdatePOST(t,r,i)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},microshopBackgroundImagePOST:function(t,r,i){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.microshopBackgroundImagePOST(t,r,i)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},microshopCalcPricePOST:function(t,r){return o(this,void 0,void 0,(function(){var i;return a(this,(function(o){switch(o.label){case 0:return[4,n.microshopCalcPricePOST(t,r)];case 1:return i=o.sent(),[2,l.createRequestFunction(i,s.default,c.BASE_PATH,e)]}}))}))},microshopCancelMasterOrderPOST:function(t,r,i,u,d,p){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.microshopCancelMasterOrderPOST(t,r,i,u,d,p)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},microshopCollectionPricesUpdatePOST:function(t,r,i){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.microshopCollectionPricesUpdatePOST(t,r,i)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},microshopCreateMasterOrderPOST:function(t,r,i,u,d){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.microshopCreateMasterOrderPOST(t,r,i,u,d)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},microshopCreateMicroshopPOST:function(t,r){return o(this,void 0,void 0,(function(){var i;return a(this,(function(o){switch(o.label){case 0:return[4,n.microshopCreateMicroshopPOST(t,r)];case 1:return i=o.sent(),[2,l.createRequestFunction(i,s.default,c.BASE_PATH,e)]}}))}))},microshopCreateOrUpdateUserPOST:function(t,r,i,u){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.microshopCreateOrUpdateUserPOST(t,r,i,u)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},microshopDeleteMicroshopOrdersPOST:function(t,r,i,u,d,p){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.microshopDeleteMicroshopOrdersPOST(t,r,i,u,d,p)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},microshopDeleteMicroshopPOST:function(t,r){return o(this,void 0,void 0,(function(){var i;return a(this,(function(o){switch(o.label){case 0:return[4,n.microshopDeleteMicroshopPOST(t,r)];case 1:return i=o.sent(),[2,l.createRequestFunction(i,s.default,c.BASE_PATH,e)]}}))}))},microshopExportShopUsers:function(t,r,i){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.microshopExportShopUsers(t,r,i)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},microshopFilesDeletePOST:function(t,r,i){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.microshopFilesDeletePOST(t,r,i)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},microshopFilesUpdatePOST:function(t,r,i){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.microshopFilesUpdatePOST(t,r,i)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},microshopFilesUploadPOST:function(t,r,i){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.microshopFilesUploadPOST(t,r,i)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},microshopFindShopUserPOST:function(t,r,i){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.microshopFindShopUserPOST(t,r,i)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},microshopGetAllMicroshops:function(t,r,i){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.microshopGetAllMicroshops(t,r,i)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},microshopGetAllPendingOrderIds:function(t,r,i){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.microshopGetAllPendingOrderIds(t,r,i)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},microshopGetCustomerShopsXlsx:function(t){return o(this,void 0,void 0,(function(){var r;return a(this,(function(i){switch(i.label){case 0:return[4,n.microshopGetCustomerShopsXlsx(t)];case 1:return r=i.sent(),[2,l.createRequestFunction(r,s.default,c.BASE_PATH,e)]}}))}))},microshopGetMicroshop:function(t,r,i){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.microshopGetMicroshop(t,r,i)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},microshopGetMicroshopColorsPOST:function(t,r,i,u){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.microshopGetMicroshopColorsPOST(t,r,i,u)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},microshopGetMicroshopCustomAssortment:function(t,r){return o(this,void 0,void 0,(function(){var i;return a(this,(function(o){switch(o.label){case 0:return[4,n.microshopGetMicroshopCustomAssortment(t,r)];case 1:return i=o.sent(),[2,l.createRequestFunction(i,s.default,c.BASE_PATH,e)]}}))}))},microshopGetMicroshopFullAssortment:function(t,r){return o(this,void 0,void 0,(function(){var i;return a(this,(function(o){switch(o.label){case 0:return[4,n.microshopGetMicroshopFullAssortment(t,r)];case 1:return i=o.sent(),[2,l.createRequestFunction(i,s.default,c.BASE_PATH,e)]}}))}))},microshopGetMicroshopOptions:function(t,r){return o(this,void 0,void 0,(function(){var i;return a(this,(function(o){switch(o.label){case 0:return[4,n.microshopGetMicroshopOptions(t,r)];case 1:return i=o.sent(),[2,l.createRequestFunction(i,s.default,c.BASE_PATH,e)]}}))}))},microshopGetMicroshopUnits:function(t,r){return o(this,void 0,void 0,(function(){var i;return a(this,(function(o){switch(o.label){case 0:return[4,n.microshopGetMicroshopUnits(t,r)];case 1:return i=o.sent(),[2,l.createRequestFunction(i,s.default,c.BASE_PATH,e)]}}))}))},microshopGetMicroshops:function(t,r,i){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.microshopGetMicroshops(t,r,i)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},microshopGetMicroshopsByUri:function(t,r){return o(this,void 0,void 0,(function(){var i;return a(this,(function(o){switch(o.label){case 0:return[4,n.microshopGetMicroshopsByUri(t,r)];case 1:return i=o.sent(),[2,l.createRequestFunction(i,s.default,c.BASE_PATH,e)]}}))}))},microshopGetMicroshopsForCopy:function(t){return o(this,void 0,void 0,(function(){var r;return a(this,(function(i){switch(i.label){case 0:return[4,n.microshopGetMicroshopsForCopy(t)];case 1:return r=i.sent(),[2,l.createRequestFunction(r,s.default,c.BASE_PATH,e)]}}))}))},microshopGetOrder:function(t,r,i,u,d){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.microshopGetOrder(t,r,i,u,d)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},microshopGetOrdersXlsxPOST:function(t,r,i,u){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.microshopGetOrdersXlsxPOST(t,r,i,u)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},microshopGetPDfOrderPOST:function(t,r,i,u,d){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.microshopGetPDfOrderPOST(t,r,i,u,d)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},microshopGetProductToAdd:function(t,r,i,u,d){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.microshopGetProductToAdd(t,r,i,u,d)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},microshopGetProductsToAdd:function(t,r,i){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.microshopGetProductsToAdd(t,r,i)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},microshopGetSelectedPDfOrdersPOST:function(t,r,i,u){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.microshopGetSelectedPDfOrdersPOST(t,r,i,u)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},microshopGetShopUnitUserImportTemplate:function(t){return o(this,void 0,void 0,(function(){var r;return a(this,(function(i){switch(i.label){case 0:return[4,n.microshopGetShopUnitUserImportTemplate(t)];case 1:return r=i.sent(),[2,l.createRequestFunction(r,s.default,c.BASE_PATH,e)]}}))}))},microshopGetShopUsers:function(t,r,i){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.microshopGetShopUsers(t,r,i)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},microshopImportShopUsersPOST:function(t,r,i){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.microshopImportShopUsersPOST(t,r,i)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},microshopLogotypePOST:function(t,r,i){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.microshopLogotypePOST(t,r,i)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},microshopSearchMasterOrders:function(t,r,i,u,d){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.microshopSearchMasterOrders(t,r,i,u,d)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},microshopSearchPendingOrders:function(t,r,i,u,d){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.microshopSearchPendingOrders(t,r,i,u,d)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},microshopUpdateMicroshopAssortmentPOST:function(t,r,i){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.microshopUpdateMicroshopAssortmentPOST(t,r,i)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},microshopUpdateMicroshopOwnerPOST:function(t,r,i,u){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.microshopUpdateMicroshopOwnerPOST(t,r,i,u)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},microshopUpdateMicroshopPOST:function(t,r,i){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.microshopUpdateMicroshopPOST(t,r,i)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},microshopUpdateMicroshopUnitsPOST:function(t,r,i){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.microshopUpdateMicroshopUnitsPOST(t,r,i)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},microshopUpdateOrderDeliveryAdressPOST:function(t,r,i,u){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.microshopUpdateOrderDeliveryAdressPOST(t,r,i,u)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},microshopUploadShopUnitUsersPOST:function(t,r){return o(this,void 0,void 0,(function(){var i;return a(this,(function(o){switch(o.label){case 0:return[4,n.microshopUploadShopUnitUsersPOST(t,r)];case 1:return i=o.sent(),[2,l.createRequestFunction(i,s.default,c.BASE_PATH,e)]}}))}))},microshopValidateMicroshopOwnerEmailPOST:function(t,r,i){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.microshopValidateMicroshopOwnerEmailPOST(t,r,i)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},microshopValidateMicroshopUserPOST:function(t,r){return o(this,void 0,void 0,(function(){var i;return a(this,(function(o){switch(o.label){case 0:return[4,n.microshopValidateMicroshopUserPOST(t,r)];case 1:return i=o.sent(),[2,l.createRequestFunction(i,s.default,c.BASE_PATH,e)]}}))}))}}},t.MicroshopApiFactory=function(e,n,r){var i=t.MicroshopApiFp(e);return{microshopAddImagesPOST:function(e,t,o){return i.microshopAddImagesPOST(e,t,o).then((function(e){return e(r,n)}))},microshopAddonsUpdatePOST:function(e,t,o){return i.microshopAddonsUpdatePOST(e,t,o).then((function(e){return e(r,n)}))},microshopBackgroundImagePOST:function(e,t,o){return i.microshopBackgroundImagePOST(e,t,o).then((function(e){return e(r,n)}))},microshopCalcPricePOST:function(e,t){return i.microshopCalcPricePOST(e,t).then((function(e){return e(r,n)}))},microshopCancelMasterOrderPOST:function(e,t,o,a,s,l){return i.microshopCancelMasterOrderPOST(e,t,o,a,s,l).then((function(e){return e(r,n)}))},microshopCollectionPricesUpdatePOST:function(e,t,o){return i.microshopCollectionPricesUpdatePOST(e,t,o).then((function(e){return e(r,n)}))},microshopCreateMasterOrderPOST:function(e,t,o,a,s){return i.microshopCreateMasterOrderPOST(e,t,o,a,s).then((function(e){return e(r,n)}))},microshopCreateMicroshopPOST:function(e,t){return i.microshopCreateMicroshopPOST(e,t).then((function(e){return e(r,n)}))},microshopCreateOrUpdateUserPOST:function(e,t,o,a){return i.microshopCreateOrUpdateUserPOST(e,t,o,a).then((function(e){return e(r,n)}))},microshopDeleteMicroshopOrdersPOST:function(e,t,o,a,s,l){return i.microshopDeleteMicroshopOrdersPOST(e,t,o,a,s,l).then((function(e){return e(r,n)}))},microshopDeleteMicroshopPOST:function(e,t){return i.microshopDeleteMicroshopPOST(e,t).then((function(e){return e(r,n)}))},microshopExportShopUsers:function(e,t,o){return i.microshopExportShopUsers(e,t,o).then((function(e){return e(r,n)}))},microshopFilesDeletePOST:function(e,t,o){return i.microshopFilesDeletePOST(e,t,o).then((function(e){return e(r,n)}))},microshopFilesUpdatePOST:function(e,t,o){return i.microshopFilesUpdatePOST(e,t,o).then((function(e){return e(r,n)}))},microshopFilesUploadPOST:function(e,t,o){return i.microshopFilesUploadPOST(e,t,o).then((function(e){return e(r,n)}))},microshopFindShopUserPOST:function(e,t,o){return i.microshopFindShopUserPOST(e,t,o).then((function(e){return e(r,n)}))},microshopGetAllMicroshops:function(e,t,o){return i.microshopGetAllMicroshops(e,t,o).then((function(e){return e(r,n)}))},microshopGetAllPendingOrderIds:function(e,t,o){return i.microshopGetAllPendingOrderIds(e,t,o).then((function(e){return e(r,n)}))},microshopGetCustomerShopsXlsx:function(e){return i.microshopGetCustomerShopsXlsx(e).then((function(e){return e(r,n)}))},microshopGetMicroshop:function(e,t,o){return i.microshopGetMicroshop(e,t,o).then((function(e){return e(r,n)}))},microshopGetMicroshopColorsPOST:function(e,t,o,a){return i.microshopGetMicroshopColorsPOST(e,t,o,a).then((function(e){return e(r,n)}))},microshopGetMicroshopCustomAssortment:function(e,t){return i.microshopGetMicroshopCustomAssortment(e,t).then((function(e){return e(r,n)}))},microshopGetMicroshopFullAssortment:function(e,t){return i.microshopGetMicroshopFullAssortment(e,t).then((function(e){return e(r,n)}))},microshopGetMicroshopOptions:function(e,t){return i.microshopGetMicroshopOptions(e,t).then((function(e){return e(r,n)}))},microshopGetMicroshopUnits:function(e,t){return i.microshopGetMicroshopUnits(e,t).then((function(e){return e(r,n)}))},microshopGetMicroshops:function(e,t,o){return i.microshopGetMicroshops(e,t,o).then((function(e){return e(r,n)}))},microshopGetMicroshopsByUri:function(e,t){return i.microshopGetMicroshopsByUri(e,t).then((function(e){return e(r,n)}))},microshopGetMicroshopsForCopy:function(e){return i.microshopGetMicroshopsForCopy(e).then((function(e){return e(r,n)}))},microshopGetOrder:function(e,t,o,a,s){return i.microshopGetOrder(e,t,o,a,s).then((function(e){return e(r,n)}))},microshopGetOrdersXlsxPOST:function(e,t,o,a){return i.microshopGetOrdersXlsxPOST(e,t,o,a).then((function(e){return e(r,n)}))},microshopGetPDfOrderPOST:function(e,t,o,a,s){return i.microshopGetPDfOrderPOST(e,t,o,a,s).then((function(e){return e(r,n)}))},microshopGetProductToAdd:function(e,t,o,a,s){return i.microshopGetProductToAdd(e,t,o,a,s).then((function(e){return e(r,n)}))},microshopGetProductsToAdd:function(e,t,o){return i.microshopGetProductsToAdd(e,t,o).then((function(e){return e(r,n)}))},microshopGetSelectedPDfOrdersPOST:function(e,t,o,a){return i.microshopGetSelectedPDfOrdersPOST(e,t,o,a).then((function(e){return e(r,n)}))},microshopGetShopUnitUserImportTemplate:function(e){return i.microshopGetShopUnitUserImportTemplate(e).then((function(e){return e(r,n)}))},microshopGetShopUsers:function(e,t,o){return i.microshopGetShopUsers(e,t,o).then((function(e){return e(r,n)}))},microshopImportShopUsersPOST:function(e,t,o){return i.microshopImportShopUsersPOST(e,t,o).then((function(e){return e(r,n)}))},microshopLogotypePOST:function(e,t,o){return i.microshopLogotypePOST(e,t,o).then((function(e){return e(r,n)}))},microshopSearchMasterOrders:function(e,t,o,a,s){return i.microshopSearchMasterOrders(e,t,o,a,s).then((function(e){return e(r,n)}))},microshopSearchPendingOrders:function(e,t,o,a,s){return i.microshopSearchPendingOrders(e,t,o,a,s).then((function(e){return e(r,n)}))},microshopUpdateMicroshopAssortmentPOST:function(e,t,o){return i.microshopUpdateMicroshopAssortmentPOST(e,t,o).then((function(e){return e(r,n)}))},microshopUpdateMicroshopOwnerPOST:function(e,t,o,a){return i.microshopUpdateMicroshopOwnerPOST(e,t,o,a).then((function(e){return e(r,n)}))},microshopUpdateMicroshopPOST:function(e,t,o){return i.microshopUpdateMicroshopPOST(e,t,o).then((function(e){return e(r,n)}))},microshopUpdateMicroshopUnitsPOST:function(e,t,o){return i.microshopUpdateMicroshopUnitsPOST(e,t,o).then((function(e){return e(r,n)}))},microshopUpdateOrderDeliveryAdressPOST:function(e,t,o,a){return i.microshopUpdateOrderDeliveryAdressPOST(e,t,o,a).then((function(e){return e(r,n)}))},microshopUploadShopUnitUsersPOST:function(e,t){return i.microshopUploadShopUnitUsersPOST(e,t).then((function(e){return e(r,n)}))},microshopValidateMicroshopOwnerEmailPOST:function(e,t,o){return i.microshopValidateMicroshopOwnerEmailPOST(e,t,o).then((function(e){return e(r,n)}))},microshopValidateMicroshopUserPOST:function(e,t){return i.microshopValidateMicroshopUserPOST(e,t).then((function(e){return e(r,n)}))}}};var v=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return r(n,e),n.prototype.microshopAddImagesPOST=function(e,n,r){var i=this;return t.MicroshopApiFp(this.configuration).microshopAddImagesPOST(e,n,r).then((function(e){return e(i.axios,i.basePath)}))},n.prototype.microshopAddonsUpdatePOST=function(e,n,r){var i=this;return t.MicroshopApiFp(this.configuration).microshopAddonsUpdatePOST(e,n,r).then((function(e){return e(i.axios,i.basePath)}))},n.prototype.microshopBackgroundImagePOST=function(e,n,r){var i=this;return t.MicroshopApiFp(this.configuration).microshopBackgroundImagePOST(e,n,r).then((function(e){return e(i.axios,i.basePath)}))},n.prototype.microshopCalcPricePOST=function(e,n){var r=this;return t.MicroshopApiFp(this.configuration).microshopCalcPricePOST(e,n).then((function(e){return e(r.axios,r.basePath)}))},n.prototype.microshopCancelMasterOrderPOST=function(e,n,r,i,o,a){var s=this;return t.MicroshopApiFp(this.configuration).microshopCancelMasterOrderPOST(e,n,r,i,o,a).then((function(e){return e(s.axios,s.basePath)}))},n.prototype.microshopCollectionPricesUpdatePOST=function(e,n,r){var i=this;return t.MicroshopApiFp(this.configuration).microshopCollectionPricesUpdatePOST(e,n,r).then((function(e){return e(i.axios,i.basePath)}))},n.prototype.microshopCreateMasterOrderPOST=function(e,n,r,i,o){var a=this;return t.MicroshopApiFp(this.configuration).microshopCreateMasterOrderPOST(e,n,r,i,o).then((function(e){return e(a.axios,a.basePath)}))},n.prototype.microshopCreateMicroshopPOST=function(e,n){var r=this;return t.MicroshopApiFp(this.configuration).microshopCreateMicroshopPOST(e,n).then((function(e){return e(r.axios,r.basePath)}))},n.prototype.microshopCreateOrUpdateUserPOST=function(e,n,r,i){var o=this;return t.MicroshopApiFp(this.configuration).microshopCreateOrUpdateUserPOST(e,n,r,i).then((function(e){return e(o.axios,o.basePath)}))},n.prototype.microshopDeleteMicroshopOrdersPOST=function(e,n,r,i,o,a){var s=this;return t.MicroshopApiFp(this.configuration).microshopDeleteMicroshopOrdersPOST(e,n,r,i,o,a).then((function(e){return e(s.axios,s.basePath)}))},n.prototype.microshopDeleteMicroshopPOST=function(e,n){var r=this;return t.MicroshopApiFp(this.configuration).microshopDeleteMicroshopPOST(e,n).then((function(e){return e(r.axios,r.basePath)}))},n.prototype.microshopExportShopUsers=function(e,n,r){var i=this;return t.MicroshopApiFp(this.configuration).microshopExportShopUsers(e,n,r).then((function(e){return e(i.axios,i.basePath)}))},n.prototype.microshopFilesDeletePOST=function(e,n,r){var i=this;return t.MicroshopApiFp(this.configuration).microshopFilesDeletePOST(e,n,r).then((function(e){return e(i.axios,i.basePath)}))},n.prototype.microshopFilesUpdatePOST=function(e,n,r){var i=this;return t.MicroshopApiFp(this.configuration).microshopFilesUpdatePOST(e,n,r).then((function(e){return e(i.axios,i.basePath)}))},n.prototype.microshopFilesUploadPOST=function(e,n,r){var i=this;return t.MicroshopApiFp(this.configuration).microshopFilesUploadPOST(e,n,r).then((function(e){return e(i.axios,i.basePath)}))},n.prototype.microshopFindShopUserPOST=function(e,n,r){var i=this;return t.MicroshopApiFp(this.configuration).microshopFindShopUserPOST(e,n,r).then((function(e){return e(i.axios,i.basePath)}))},n.prototype.microshopGetAllMicroshops=function(e,n,r){var i=this;return t.MicroshopApiFp(this.configuration).microshopGetAllMicroshops(e,n,r).then((function(e){return e(i.axios,i.basePath)}))},n.prototype.microshopGetAllPendingOrderIds=function(e,n,r){var i=this;return t.MicroshopApiFp(this.configuration).microshopGetAllPendingOrderIds(e,n,r).then((function(e){return e(i.axios,i.basePath)}))},n.prototype.microshopGetCustomerShopsXlsx=function(e){var n=this;return t.MicroshopApiFp(this.configuration).microshopGetCustomerShopsXlsx(e).then((function(e){return e(n.axios,n.basePath)}))},n.prototype.microshopGetMicroshop=function(e,n,r){var i=this;return t.MicroshopApiFp(this.configuration).microshopGetMicroshop(e,n,r).then((function(e){return e(i.axios,i.basePath)}))},n.prototype.microshopGetMicroshopColorsPOST=function(e,n,r,i){var o=this;return t.MicroshopApiFp(this.configuration).microshopGetMicroshopColorsPOST(e,n,r,i).then((function(e){return e(o.axios,o.basePath)}))},n.prototype.microshopGetMicroshopCustomAssortment=function(e,n){var r=this;return t.MicroshopApiFp(this.configuration).microshopGetMicroshopCustomAssortment(e,n).then((function(e){return e(r.axios,r.basePath)}))},n.prototype.microshopGetMicroshopFullAssortment=function(e,n){var r=this;return t.MicroshopApiFp(this.configuration).microshopGetMicroshopFullAssortment(e,n).then((function(e){return e(r.axios,r.basePath)}))},n.prototype.microshopGetMicroshopOptions=function(e,n){var r=this;return t.MicroshopApiFp(this.configuration).microshopGetMicroshopOptions(e,n).then((function(e){return e(r.axios,r.basePath)}))},n.prototype.microshopGetMicroshopUnits=function(e,n){var r=this;return t.MicroshopApiFp(this.configuration).microshopGetMicroshopUnits(e,n).then((function(e){return e(r.axios,r.basePath)}))},n.prototype.microshopGetMicroshops=function(e,n,r){var i=this;return t.MicroshopApiFp(this.configuration).microshopGetMicroshops(e,n,r).then((function(e){return e(i.axios,i.basePath)}))},n.prototype.microshopGetMicroshopsByUri=function(e,n){var r=this;return t.MicroshopApiFp(this.configuration).microshopGetMicroshopsByUri(e,n).then((function(e){return e(r.axios,r.basePath)}))},n.prototype.microshopGetMicroshopsForCopy=function(e){var n=this;return t.MicroshopApiFp(this.configuration).microshopGetMicroshopsForCopy(e).then((function(e){return e(n.axios,n.basePath)}))},n.prototype.microshopGetOrder=function(e,n,r,i,o){var a=this;return t.MicroshopApiFp(this.configuration).microshopGetOrder(e,n,r,i,o).then((function(e){return e(a.axios,a.basePath)}))},n.prototype.microshopGetOrdersXlsxPOST=function(e,n,r,i){var o=this;return t.MicroshopApiFp(this.configuration).microshopGetOrdersXlsxPOST(e,n,r,i).then((function(e){return e(o.axios,o.basePath)}))},n.prototype.microshopGetPDfOrderPOST=function(e,n,r,i,o){var a=this;return t.MicroshopApiFp(this.configuration).microshopGetPDfOrderPOST(e,n,r,i,o).then((function(e){return e(a.axios,a.basePath)}))},n.prototype.microshopGetProductToAdd=function(e,n,r,i,o){var a=this;return t.MicroshopApiFp(this.configuration).microshopGetProductToAdd(e,n,r,i,o).then((function(e){return e(a.axios,a.basePath)}))},n.prototype.microshopGetProductsToAdd=function(e,n,r){var i=this;return t.MicroshopApiFp(this.configuration).microshopGetProductsToAdd(e,n,r).then((function(e){return e(i.axios,i.basePath)}))},n.prototype.microshopGetSelectedPDfOrdersPOST=function(e,n,r,i){var o=this;return t.MicroshopApiFp(this.configuration).microshopGetSelectedPDfOrdersPOST(e,n,r,i).then((function(e){return e(o.axios,o.basePath)}))},n.prototype.microshopGetShopUnitUserImportTemplate=function(e){var n=this;return t.MicroshopApiFp(this.configuration).microshopGetShopUnitUserImportTemplate(e).then((function(e){return e(n.axios,n.basePath)}))},n.prototype.microshopGetShopUsers=function(e,n,r){var i=this;return t.MicroshopApiFp(this.configuration).microshopGetShopUsers(e,n,r).then((function(e){return e(i.axios,i.basePath)}))},n.prototype.microshopImportShopUsersPOST=function(e,n,r){var i=this;return t.MicroshopApiFp(this.configuration).microshopImportShopUsersPOST(e,n,r).then((function(e){return e(i.axios,i.basePath)}))},n.prototype.microshopLogotypePOST=function(e,n,r){var i=this;return t.MicroshopApiFp(this.configuration).microshopLogotypePOST(e,n,r).then((function(e){return e(i.axios,i.basePath)}))},n.prototype.microshopSearchMasterOrders=function(e,n,r,i,o){var a=this;return t.MicroshopApiFp(this.configuration).microshopSearchMasterOrders(e,n,r,i,o).then((function(e){return e(a.axios,a.basePath)}))},n.prototype.microshopSearchPendingOrders=function(e,n,r,i,o){var a=this;return t.MicroshopApiFp(this.configuration).microshopSearchPendingOrders(e,n,r,i,o).then((function(e){return e(a.axios,a.basePath)}))},n.prototype.microshopUpdateMicroshopAssortmentPOST=function(e,n,r){var i=this;return t.MicroshopApiFp(this.configuration).microshopUpdateMicroshopAssortmentPOST(e,n,r).then((function(e){return e(i.axios,i.basePath)}))},n.prototype.microshopUpdateMicroshopOwnerPOST=function(e,n,r,i){var o=this;return t.MicroshopApiFp(this.configuration).microshopUpdateMicroshopOwnerPOST(e,n,r,i).then((function(e){return e(o.axios,o.basePath)}))},n.prototype.microshopUpdateMicroshopPOST=function(e,n,r){var i=this;return t.MicroshopApiFp(this.configuration).microshopUpdateMicroshopPOST(e,n,r).then((function(e){return e(i.axios,i.basePath)}))},n.prototype.microshopUpdateMicroshopUnitsPOST=function(e,n,r){var i=this;return t.MicroshopApiFp(this.configuration).microshopUpdateMicroshopUnitsPOST(e,n,r).then((function(e){return e(i.axios,i.basePath)}))},n.prototype.microshopUpdateOrderDeliveryAdressPOST=function(e,n,r,i){var o=this;return t.MicroshopApiFp(this.configuration).microshopUpdateOrderDeliveryAdressPOST(e,n,r,i).then((function(e){return e(o.axios,o.basePath)}))},n.prototype.microshopUploadShopUnitUsersPOST=function(e,n){var r=this;return t.MicroshopApiFp(this.configuration).microshopUploadShopUnitUsersPOST(e,n).then((function(e){return e(r.axios,r.basePath)}))},n.prototype.microshopValidateMicroshopOwnerEmailPOST=function(e,n,r){var i=this;return t.MicroshopApiFp(this.configuration).microshopValidateMicroshopOwnerEmailPOST(e,n,r).then((function(e){return e(i.axios,i.basePath)}))},n.prototype.microshopValidateMicroshopUserPOST=function(e,n){var r=this;return t.MicroshopApiFp(this.configuration).microshopValidateMicroshopUserPOST(e,n).then((function(e){return e(r.axios,r.basePath)}))},n}(c.BaseAPI);t.MicroshopApi=v,t.OfferApiAxiosParamCreator=function(e){var t=this;return{offerAddCostPOST:function(n,r,s,c){return void 0===c&&(c={}),o(t,void 0,void 0,(function(){var t,o,u,d,p,h;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("offerAddCostPOST","id",n),t=new URL("/offer/costs/add",l.DUMMY_BASE_URL),e&&(o=e.baseOptions),u=i(i({method:"POST"},o),c),d={},p={},[4,l.setApiKeyToObject(d,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(d,e)];case 2:return a.sent(),void 0!==r&&null!==r&&(d.lang=String(r)),void 0!==n&&null!==n&&(d.id=String(JSON.stringify(n))),d["Content-Type"]="application/json",l.setSearchParams(t,p,c.query),h=o&&o.headers?o.headers:{},u.headers=i(i(i({},d),h),c.headers),u.data=l.serializeDataIfNeeded(s,u,e),[2,{url:l.toPathString(t),options:u}]}}))}))},offerAddPublicUrlPOST:function(n,r,s){return void 0===s&&(s={}),o(t,void 0,void 0,(function(){var t,o,c,u,d,p;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("offerAddPublicUrlPOST","id",n),t=new URL("/offer/addpublicurl",l.DUMMY_BASE_URL),e&&(o=e.baseOptions),c=i(i({method:"POST"},o),s),u={},d={},[4,l.setApiKeyToObject(u,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(u,e)];case 2:return a.sent(),void 0!==r&&null!==r&&(u.lang=String(r)),void 0!==n&&null!==n&&(u.id=String(JSON.stringify(n))),l.setSearchParams(t,d,s.query),p=o&&o.headers?o.headers:{},c.headers=i(i(i({},u),p),s.headers),[2,{url:l.toPathString(t),options:c}]}}))}))},offerChangeCostPOST:function(n,r,s,c,u){return void 0===u&&(u={}),o(t,void 0,void 0,(function(){var t,o,d,p,h,f;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("offerChangeCostPOST","id",n),t=new URL("/offer/costs/change",l.DUMMY_BASE_URL),e&&(o=e.baseOptions),d=i(i({method:"POST"},o),u),p={},h={},[4,l.setApiKeyToObject(p,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(p,e)];case 2:return a.sent(),void 0!==r&&(h.costId=r),void 0!==s&&null!==s&&(p.lang=String(s)),void 0!==n&&null!==n&&(p.id=String(JSON.stringify(n))),p["Content-Type"]="application/json",l.setSearchParams(t,h,u.query),f=o&&o.headers?o.headers:{},d.headers=i(i(i({},p),f),u.headers),d.data=l.serializeDataIfNeeded(c,d,e),[2,{url:l.toPathString(t),options:d}]}}))}))},offerChangeCustomerInfoPOST:function(n,r,s,c){return void 0===c&&(c={}),o(t,void 0,void 0,(function(){var t,o,u,d,p,h;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("offerChangeCustomerInfoPOST","id",n),t=new URL("/offer/changecustomer",l.DUMMY_BASE_URL),e&&(o=e.baseOptions),u=i(i({method:"POST"},o),c),d={},p={},[4,l.setApiKeyToObject(d,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(d,e)];case 2:return a.sent(),void 0!==r&&null!==r&&(d.lang=String(r)),void 0!==n&&null!==n&&(d.id=String(JSON.stringify(n))),d["Content-Type"]="application/json",l.setSearchParams(t,p,c.query),h=o&&o.headers?o.headers:{},u.headers=i(i(i({},d),h),c.headers),u.data=l.serializeDataIfNeeded(s,u,e),[2,{url:l.toPathString(t),options:u}]}}))}))},offerChangeDiscountModePOST:function(n,r,s,c){return void 0===c&&(c={}),o(t,void 0,void 0,(function(){var t,o,u,d,p,h;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("offerChangeDiscountModePOST","id",n),t=new URL("/offer/changediscountmode",l.DUMMY_BASE_URL),e&&(o=e.baseOptions),u=i(i({method:"POST"},o),c),d={},p={},[4,l.setApiKeyToObject(d,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(d,e)];case 2:return a.sent(),void 0!==r&&(p.discountMode=r),void 0!==s&&null!==s&&(d.lang=String(s)),void 0!==n&&null!==n&&(d.id=String(JSON.stringify(n))),l.setSearchParams(t,p,c.query),h=o&&o.headers?o.headers:{},u.headers=i(i(i({},d),h),c.headers),[2,{url:l.toPathString(t),options:u}]}}))}))},offerChangeExpirationDatePOST:function(n,r,s,c){return void 0===c&&(c={}),o(t,void 0,void 0,(function(){var t,o,u,d,p,h;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("offerChangeExpirationDatePOST","id",n),t=new URL("/offer/changeexpirationdate",l.DUMMY_BASE_URL),e&&(o=e.baseOptions),u=i(i({method:"POST"},o),c),d={},p={},[4,l.setApiKeyToObject(d,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(d,e)];case 2:return a.sent(),void 0!==r&&(p.date=r instanceof Date?r.toISOString():r),void 0!==s&&null!==s&&(d.lang=String(s)),void 0!==n&&null!==n&&(d.id=String(JSON.stringify(n))),l.setSearchParams(t,p,c.query),h=o&&o.headers?o.headers:{},u.headers=i(i(i({},d),h),c.headers),[2,{url:l.toPathString(t),options:u}]}}))}))},offerChangeNamePOST:function(n,r,s,c){return void 0===c&&(c={}),o(t,void 0,void 0,(function(){var t,o,u,d,p,h;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("offerChangeNamePOST","id",n),t=new URL("/offer/changename",l.DUMMY_BASE_URL),e&&(o=e.baseOptions),u=i(i({method:"POST"},o),c),d={},p={},[4,l.setApiKeyToObject(d,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(d,e)];case 2:return a.sent(),void 0!==r&&(p.name=r),void 0!==s&&null!==s&&(d.lang=String(s)),void 0!==n&&null!==n&&(d.id=String(JSON.stringify(n))),l.setSearchParams(t,p,c.query),h=o&&o.headers?o.headers:{},u.headers=i(i(i({},d),h),c.headers),[2,{url:l.toPathString(t),options:u}]}}))}))},offerChangeNotoficationTimePOST:function(n,r,s,c){return void 0===c&&(c={}),o(t,void 0,void 0,(function(){var t,o,u,d,p,h;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("offerChangeNotoficationTimePOST","id",n),t=new URL("/offer/changenotificationtime",l.DUMMY_BASE_URL),e&&(o=e.baseOptions),u=i(i({method:"POST"},o),c),d={},p={},[4,l.setApiKeyToObject(d,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(d,e)];case 2:return a.sent(),void 0!==r&&(p.daysBeforeReminder=r),void 0!==s&&null!==s&&(d.lang=String(s)),void 0!==n&&null!==n&&(d.id=String(JSON.stringify(n))),l.setSearchParams(t,p,c.query),h=o&&o.headers?o.headers:{},u.headers=i(i(i({},d),h),c.headers),[2,{url:l.toPathString(t),options:u}]}}))}))},offerChangeOrderPOST:function(n,r,s,c){return void 0===c&&(c={}),o(t,void 0,void 0,(function(){var t,o,u,d,p,h;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("offerChangeOrderPOST","id",n),t=new URL("/offer/changeorder",l.DUMMY_BASE_URL),e&&(o=e.baseOptions),u=i(i({method:"POST"},o),c),d={},p={},[4,l.setApiKeyToObject(d,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(d,e)];case 2:return a.sent(),void 0!==r&&null!==r&&(d.lang=String(r)),void 0!==n&&null!==n&&(d.id=String(JSON.stringify(n))),d["Content-Type"]="application/json",l.setSearchParams(t,p,c.query),h=o&&o.headers?o.headers:{},u.headers=i(i(i({},d),h),c.headers),u.data=l.serializeDataIfNeeded(s,u,e),[2,{url:l.toPathString(t),options:u}]}}))}))},offerChangeRefinementQuantityPOST:function(n,r,s,c,u){return void 0===u&&(u={}),o(t,void 0,void 0,(function(){var t,o,d,p,h,f;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("offerChangeRefinementQuantityPOST","id",n),t=new URL("/offer/refinement/quantity",l.DUMMY_BASE_URL),e&&(o=e.baseOptions),d=i(i({method:"POST"},o),u),p={},h={},[4,l.setApiKeyToObject(p,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(p,e)];case 2:return a.sent(),void 0!==r&&(h.quantity=r),void 0!==s&&(h.index=s),void 0!==c&&null!==c&&(p.lang=String(c)),void 0!==n&&null!==n&&(p.id=String(JSON.stringify(n))),l.setSearchParams(t,h,u.query),f=o&&o.headers?o.headers:{},d.headers=i(i(i({},p),f),u.headers),[2,{url:l.toPathString(t),options:d}]}}))}))},offerChangeRefinementsPOST:function(n,r,s,u,d,p,h,f,m,g){return void 0===g&&(g={}),o(t,void 0,void 0,(function(){var t,o,v,y,A,b,w;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("offerChangeRefinementsPOST","id",n),t=new URL("/offer/refinement/change",l.DUMMY_BASE_URL),e&&(o=e.baseOptions),v=i(i({method:"POST"},o),g),y={},A={},b=new(e&&e.formDataCtor||FormData),[4,l.setApiKeyToObject(y,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(y,e)];case 2:return a.sent(),void 0!==r&&null!==r&&(y.lang=String(r)),void 0!==n&&null!==n&&(y.id=String(JSON.stringify(n))),s&&b.append(s.join(c.COLLECTION_FORMATS.csv)),u&&b.append(u.join(c.COLLECTION_FORMATS.csv)),d&&b.append(d.join(c.COLLECTION_FORMATS.csv)),p&&b.append(p.join(c.COLLECTION_FORMATS.csv)),void 0!==h&&b.append("DeliveryOption",h),f&&f.forEach((function(e){b.append("files",e)})),m&&b.append(m.join(c.COLLECTION_FORMATS.csv)),y["Content-Type"]="multipart/form-data",l.setSearchParams(t,A,g.query),w=o&&o.headers?o.headers:{},v.headers=i(i(i({},y),w),g.headers),v.data=b,[2,{url:l.toPathString(t),options:v}]}}))}))},offerGet:function(n,r,s){return void 0===s&&(s={}),o(t,void 0,void 0,(function(){var t,o,c,u,d,p;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("offerGet","id",n),t=new URL("/offer",l.DUMMY_BASE_URL),e&&(o=e.baseOptions),c=i(i({method:"GET"},o),s),u={},d={},[4,l.setApiKeyToObject(u,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(u,e)];case 2:return a.sent(),void 0!==r&&null!==r&&(u.lang=String(r)),void 0!==n&&null!==n&&(u.id=String(JSON.stringify(n))),l.setSearchParams(t,d,s.query),p=o&&o.headers?o.headers:{},c.headers=i(i(i({},u),p),s.headers),[2,{url:l.toPathString(t),options:c}]}}))}))},offerLinkOfferToCustomerPOST:function(n,r,s,c){return void 0===c&&(c={}),o(t,void 0,void 0,(function(){var t,o,u,d,p,h,f;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("offerLinkOfferToCustomerPOST","email",n),l.assertParamExists("offerLinkOfferToCustomerPOST","id",r),t="/offer/link/{email}".replace("{email}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(u=e.baseOptions),d=i(i({method:"POST"},u),c),p={},h={},[4,l.setApiKeyToObject(p,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(p,e)];case 2:return a.sent(),void 0!==s&&null!==s&&(p.lang=String(s)),void 0!==r&&null!==r&&(p.id=String(JSON.stringify(r))),l.setSearchParams(o,h,c.query),f=u&&u.headers?u.headers:{},d.headers=i(i(i({},p),f),c.headers),[2,{url:l.toPathString(o),options:d}]}}))}))},offerOfferOperationsPOST:function(n,r,s,c){return void 0===c&&(c={}),o(t,void 0,void 0,(function(){var t,o,u,d,p,h;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("offerOfferOperationsPOST","id",n),t=new URL("/offer/operations",l.DUMMY_BASE_URL),e&&(o=e.baseOptions),u=i(i({method:"POST"},o),c),d={},p={},[4,l.setApiKeyToObject(d,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(d,e)];case 2:return a.sent(),void 0!==r&&null!==r&&(d.lang=String(r)),void 0!==n&&null!==n&&(d.id=String(JSON.stringify(n))),d["Content-Type"]="application/json",l.setSearchParams(t,p,c.query),h=o&&o.headers?o.headers:{},u.headers=i(i(i({},d),h),c.headers),u.data=l.serializeDataIfNeeded(s,u,e),[2,{url:l.toPathString(t),options:u}]}}))}))},offerRemovePOST:function(n,r,s){return void 0===s&&(s={}),o(t,void 0,void 0,(function(){var t,o,c,u,d,p;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("offerRemovePOST","id",n),t=new URL("/offer/remove",l.DUMMY_BASE_URL),e&&(o=e.baseOptions),c=i(i({method:"POST"},o),s),u={},d={},[4,l.setApiKeyToObject(u,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(u,e)];case 2:return a.sent(),void 0!==r&&null!==r&&(u.lang=String(r)),void 0!==n&&null!==n&&(u.id=String(JSON.stringify(n))),l.setSearchParams(t,d,s.query),p=o&&o.headers?o.headers:{},c.headers=i(i(i({},u),p),s.headers),[2,{url:l.toPathString(t),options:c}]}}))}))},offerRemovePublicUrlPOST:function(n,r,s){return void 0===s&&(s={}),o(t,void 0,void 0,(function(){var t,o,c,u,d,p;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("offerRemovePublicUrlPOST","id",n),t=new URL("/offer/removepublicurl",l.DUMMY_BASE_URL),e&&(o=e.baseOptions),c=i(i({method:"POST"},o),s),u={},d={},[4,l.setApiKeyToObject(u,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(u,e)];case 2:return a.sent(),void 0!==r&&null!==r&&(u.lang=String(r)),void 0!==n&&null!==n&&(u.id=String(JSON.stringify(n))),l.setSearchParams(t,d,s.query),p=o&&o.headers?o.headers:{},c.headers=i(i(i({},u),p),s.headers),[2,{url:l.toPathString(t),options:c}]}}))}))},offerRemoveRefinementPOST:function(n,r,s,c){return void 0===c&&(c={}),o(t,void 0,void 0,(function(){var t,o,u,d,p,h;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("offerRemoveRefinementPOST","id",n),t=new URL("/offer/refinement/remove",l.DUMMY_BASE_URL),e&&(o=e.baseOptions),u=i(i({method:"POST"},o),c),d={},p={},[4,l.setApiKeyToObject(d,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(d,e)];case 2:return a.sent(),void 0!==r&&(p.index=r),void 0!==s&&null!==s&&(d.lang=String(s)),void 0!==n&&null!==n&&(d.id=String(JSON.stringify(n))),l.setSearchParams(t,p,c.query),h=o&&o.headers?o.headers:{},u.headers=i(i(i({},d),h),c.headers),[2,{url:l.toPathString(t),options:u}]}}))}))},offerSetCommentPOST:function(n,r,s,c,u,d){return void 0===d&&(d={}),o(t,void 0,void 0,(function(){var t,o,p,h,f,m;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("offerSetCommentPOST","id",n),t=new URL("/offer/comment",l.DUMMY_BASE_URL),e&&(o=e.baseOptions),p=i(i({method:"POST"},o),d),h={},f={},[4,l.setApiKeyToObject(h,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(h,e)];case 2:return a.sent(),void 0!==r&&(f.variationNumber=r),void 0!==s&&(f.comment=s),void 0!==c&&(f.create=c),void 0!==u&&null!==u&&(h.lang=String(u)),void 0!==n&&null!==n&&(h.id=String(JSON.stringify(n))),l.setSearchParams(t,f,d.query),m=o&&o.headers?o.headers:{},p.headers=i(i(i({},h),m),d.headers),[2,{url:l.toPathString(t),options:p}]}}))}))},offerSetOfferPdfSettingsPOST:function(n,r,s,c){return void 0===c&&(c={}),o(t,void 0,void 0,(function(){var t,o,u,d,p,h;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("offerSetOfferPdfSettingsPOST","id",n),t=new URL("/offer/settings",l.DUMMY_BASE_URL),e&&(o=e.baseOptions),u=i(i({method:"POST"},o),c),d={},p={},[4,l.setApiKeyToObject(d,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(d,e)];case 2:return a.sent(),void 0!==r&&null!==r&&(d.lang=String(r)),void 0!==n&&null!==n&&(d.id=String(JSON.stringify(n))),d["Content-Type"]="application/json",l.setSearchParams(t,p,c.query),h=o&&o.headers?o.headers:{},u.headers=i(i(i({},d),h),c.headers),u.data=l.serializeDataIfNeeded(s,u,e),[2,{url:l.toPathString(t),options:u}]}}))}))},offerUnLinkOfferToCustomerPOST:function(n,r,s){return void 0===s&&(s={}),o(t,void 0,void 0,(function(){var t,o,c,u,d,p;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("offerUnLinkOfferToCustomerPOST","id",n),t=new URL("/offer/unlink",l.DUMMY_BASE_URL),e&&(o=e.baseOptions),c=i(i({method:"POST"},o),s),u={},d={},[4,l.setApiKeyToObject(u,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(u,e)];case 2:return a.sent(),void 0!==r&&null!==r&&(u.lang=String(r)),void 0!==n&&null!==n&&(u.id=String(JSON.stringify(n))),l.setSearchParams(t,d,s.query),p=o&&o.headers?o.headers:{},c.headers=i(i(i({},u),p),s.headers),[2,{url:l.toPathString(t),options:c}]}}))}))}}},t.OfferApiFp=function(e){var n=t.OfferApiAxiosParamCreator(e);return{offerAddCostPOST:function(t,r,i,u){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.offerAddCostPOST(t,r,i,u)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},offerAddPublicUrlPOST:function(t,r,i){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.offerAddPublicUrlPOST(t,r,i)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},offerChangeCostPOST:function(t,r,i,u,d){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.offerChangeCostPOST(t,r,i,u,d)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},offerChangeCustomerInfoPOST:function(t,r,i,u){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.offerChangeCustomerInfoPOST(t,r,i,u)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},offerChangeDiscountModePOST:function(t,r,i,u){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.offerChangeDiscountModePOST(t,r,i,u)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},offerChangeExpirationDatePOST:function(t,r,i,u){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.offerChangeExpirationDatePOST(t,r,i,u)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},offerChangeNamePOST:function(t,r,i,u){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.offerChangeNamePOST(t,r,i,u)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},offerChangeNotoficationTimePOST:function(t,r,i,u){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.offerChangeNotoficationTimePOST(t,r,i,u)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},offerChangeOrderPOST:function(t,r,i,u){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.offerChangeOrderPOST(t,r,i,u)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},offerChangeRefinementQuantityPOST:function(t,r,i,u,d){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.offerChangeRefinementQuantityPOST(t,r,i,u,d)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},offerChangeRefinementsPOST:function(t,r,i,u,d,p,h,f,m,g){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.offerChangeRefinementsPOST(t,r,i,u,d,p,h,f,m,g)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},offerGet:function(t,r,i){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.offerGet(t,r,i)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},offerLinkOfferToCustomerPOST:function(t,r,i,u){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.offerLinkOfferToCustomerPOST(t,r,i,u)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},offerOfferOperationsPOST:function(t,r,i,u){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.offerOfferOperationsPOST(t,r,i,u)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},offerRemovePOST:function(t,r,i){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.offerRemovePOST(t,r,i)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},offerRemovePublicUrlPOST:function(t,r,i){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.offerRemovePublicUrlPOST(t,r,i)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},offerRemoveRefinementPOST:function(t,r,i,u){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.offerRemoveRefinementPOST(t,r,i,u)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},offerSetCommentPOST:function(t,r,i,u,d,p){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.offerSetCommentPOST(t,r,i,u,d,p)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},offerSetOfferPdfSettingsPOST:function(t,r,i,u){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.offerSetOfferPdfSettingsPOST(t,r,i,u)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},offerUnLinkOfferToCustomerPOST:function(t,r,i){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.offerUnLinkOfferToCustomerPOST(t,r,i)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))}}},t.OfferApiFactory=function(e,n,r){var i=t.OfferApiFp(e);return{offerAddCostPOST:function(e,t,o,a){return i.offerAddCostPOST(e,t,o,a).then((function(e){return e(r,n)}))},offerAddPublicUrlPOST:function(e,t,o){return i.offerAddPublicUrlPOST(e,t,o).then((function(e){return e(r,n)}))},offerChangeCostPOST:function(e,t,o,a,s){return i.offerChangeCostPOST(e,t,o,a,s).then((function(e){return e(r,n)}))},offerChangeCustomerInfoPOST:function(e,t,o,a){return i.offerChangeCustomerInfoPOST(e,t,o,a).then((function(e){return e(r,n)}))},offerChangeDiscountModePOST:function(e,t,o,a){return i.offerChangeDiscountModePOST(e,t,o,a).then((function(e){return e(r,n)}))},offerChangeExpirationDatePOST:function(e,t,o,a){return i.offerChangeExpirationDatePOST(e,t,o,a).then((function(e){return e(r,n)}))},offerChangeNamePOST:function(e,t,o,a){return i.offerChangeNamePOST(e,t,o,a).then((function(e){return e(r,n)}))},offerChangeNotoficationTimePOST:function(e,t,o,a){return i.offerChangeNotoficationTimePOST(e,t,o,a).then((function(e){return e(r,n)}))},offerChangeOrderPOST:function(e,t,o,a){return i.offerChangeOrderPOST(e,t,o,a).then((function(e){return e(r,n)}))},offerChangeRefinementQuantityPOST:function(e,t,o,a,s){return i.offerChangeRefinementQuantityPOST(e,t,o,a,s).then((function(e){return e(r,n)}))},offerChangeRefinementsPOST:function(e,t,o,a,s,l,c,u,d,p){return i.offerChangeRefinementsPOST(e,t,o,a,s,l,c,u,d,p).then((function(e){return e(r,n)}))},offerGet:function(e,t,o){return i.offerGet(e,t,o).then((function(e){return e(r,n)}))},offerLinkOfferToCustomerPOST:function(e,t,o,a){return i.offerLinkOfferToCustomerPOST(e,t,o,a).then((function(e){return e(r,n)}))},offerOfferOperationsPOST:function(e,t,o,a){return i.offerOfferOperationsPOST(e,t,o,a).then((function(e){return e(r,n)}))},offerRemovePOST:function(e,t,o){return i.offerRemovePOST(e,t,o).then((function(e){return e(r,n)}))},offerRemovePublicUrlPOST:function(e,t,o){return i.offerRemovePublicUrlPOST(e,t,o).then((function(e){return e(r,n)}))},offerRemoveRefinementPOST:function(e,t,o,a){return i.offerRemoveRefinementPOST(e,t,o,a).then((function(e){return e(r,n)}))},offerSetCommentPOST:function(e,t,o,a,s,l){return i.offerSetCommentPOST(e,t,o,a,s,l).then((function(e){return e(r,n)}))},offerSetOfferPdfSettingsPOST:function(e,t,o,a){return i.offerSetOfferPdfSettingsPOST(e,t,o,a).then((function(e){return e(r,n)}))},offerUnLinkOfferToCustomerPOST:function(e,t,o){return i.offerUnLinkOfferToCustomerPOST(e,t,o).then((function(e){return e(r,n)}))}}};var y=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return r(n,e),n.prototype.offerAddCostPOST=function(e,n,r,i){var o=this;return t.OfferApiFp(this.configuration).offerAddCostPOST(e,n,r,i).then((function(e){return e(o.axios,o.basePath)}))},n.prototype.offerAddPublicUrlPOST=function(e,n,r){var i=this;return t.OfferApiFp(this.configuration).offerAddPublicUrlPOST(e,n,r).then((function(e){return e(i.axios,i.basePath)}))},n.prototype.offerChangeCostPOST=function(e,n,r,i,o){var a=this;return t.OfferApiFp(this.configuration).offerChangeCostPOST(e,n,r,i,o).then((function(e){return e(a.axios,a.basePath)}))},n.prototype.offerChangeCustomerInfoPOST=function(e,n,r,i){var o=this;return t.OfferApiFp(this.configuration).offerChangeCustomerInfoPOST(e,n,r,i).then((function(e){return e(o.axios,o.basePath)}))},n.prototype.offerChangeDiscountModePOST=function(e,n,r,i){var o=this;return t.OfferApiFp(this.configuration).offerChangeDiscountModePOST(e,n,r,i).then((function(e){return e(o.axios,o.basePath)}))},n.prototype.offerChangeExpirationDatePOST=function(e,n,r,i){var o=this;return t.OfferApiFp(this.configuration).offerChangeExpirationDatePOST(e,n,r,i).then((function(e){return e(o.axios,o.basePath)}))},n.prototype.offerChangeNamePOST=function(e,n,r,i){var o=this;return t.OfferApiFp(this.configuration).offerChangeNamePOST(e,n,r,i).then((function(e){return e(o.axios,o.basePath)}))},n.prototype.offerChangeNotoficationTimePOST=function(e,n,r,i){var o=this;return t.OfferApiFp(this.configuration).offerChangeNotoficationTimePOST(e,n,r,i).then((function(e){return e(o.axios,o.basePath)}))},n.prototype.offerChangeOrderPOST=function(e,n,r,i){var o=this;return t.OfferApiFp(this.configuration).offerChangeOrderPOST(e,n,r,i).then((function(e){return e(o.axios,o.basePath)}))},n.prototype.offerChangeRefinementQuantityPOST=function(e,n,r,i,o){var a=this;return t.OfferApiFp(this.configuration).offerChangeRefinementQuantityPOST(e,n,r,i,o).then((function(e){return e(a.axios,a.basePath)}))},n.prototype.offerChangeRefinementsPOST=function(e,n,r,i,o,a,s,l,c,u){var d=this;return t.OfferApiFp(this.configuration).offerChangeRefinementsPOST(e,n,r,i,o,a,s,l,c,u).then((function(e){return e(d.axios,d.basePath)}))},n.prototype.offerGet=function(e,n,r){var i=this;return t.OfferApiFp(this.configuration).offerGet(e,n,r).then((function(e){return e(i.axios,i.basePath)}))},n.prototype.offerLinkOfferToCustomerPOST=function(e,n,r,i){var o=this;return t.OfferApiFp(this.configuration).offerLinkOfferToCustomerPOST(e,n,r,i).then((function(e){return e(o.axios,o.basePath)}))},n.prototype.offerOfferOperationsPOST=function(e,n,r,i){var o=this;return t.OfferApiFp(this.configuration).offerOfferOperationsPOST(e,n,r,i).then((function(e){return e(o.axios,o.basePath)}))},n.prototype.offerRemovePOST=function(e,n,r){var i=this;return t.OfferApiFp(this.configuration).offerRemovePOST(e,n,r).then((function(e){return e(i.axios,i.basePath)}))},n.prototype.offerRemovePublicUrlPOST=function(e,n,r){var i=this;return t.OfferApiFp(this.configuration).offerRemovePublicUrlPOST(e,n,r).then((function(e){return e(i.axios,i.basePath)}))},n.prototype.offerRemoveRefinementPOST=function(e,n,r,i){var o=this;return t.OfferApiFp(this.configuration).offerRemoveRefinementPOST(e,n,r,i).then((function(e){return e(o.axios,o.basePath)}))},n.prototype.offerSetCommentPOST=function(e,n,r,i,o,a){var s=this;return t.OfferApiFp(this.configuration).offerSetCommentPOST(e,n,r,i,o,a).then((function(e){return e(s.axios,s.basePath)}))},n.prototype.offerSetOfferPdfSettingsPOST=function(e,n,r,i){var o=this;return t.OfferApiFp(this.configuration).offerSetOfferPdfSettingsPOST(e,n,r,i).then((function(e){return e(o.axios,o.basePath)}))},n.prototype.offerUnLinkOfferToCustomerPOST=function(e,n,r){var i=this;return t.OfferApiFp(this.configuration).offerUnLinkOfferToCustomerPOST(e,n,r).then((function(e){return e(i.axios,i.basePath)}))},n}(c.BaseAPI);t.OfferApi=y,t.PaymentApiAxiosParamCreator=function(e){var t=this;return{paymentCancelPayment:function(n,r,s,c){return void 0===c&&(c={}),o(t,void 0,void 0,(function(){var t,o,u,d,p,h,f;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("paymentCancelPayment","lang",n),t="/payment/{lang}/cancel".replace("{lang}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(u=e.baseOptions),d=i(i({method:"GET"},u),c),p={},h={},[4,l.setApiKeyToObject(p,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(p,e)];case 2:return a.sent(),void 0!==r&&null!==r&&(p.type=String(r)),void 0!==s&&null!==s&&(p.identifier=String(s)),l.setSearchParams(o,h,c.query),f=u&&u.headers?u.headers:{},d.headers=i(i(i({},p),f),c.headers),[2,{url:l.toPathString(o),options:d}]}}))}))},paymentGetNotification:function(n,r,s,c){return void 0===c&&(c={}),o(t,void 0,void 0,(function(){var t,o,u,d,p,h,f;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("paymentGetNotification","lang",n),t="/payment/{lang}/notification".replace("{lang}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(u=e.baseOptions),d=i(i({method:"GET"},u),c),p={},h={},[4,l.setApiKeyToObject(p,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(p,e)];case 2:return a.sent(),void 0!==r&&null!==r&&(p.type=String(r)),void 0!==s&&null!==s&&(p.identifier=String(s)),l.setSearchParams(o,h,c.query),f=u&&u.headers?u.headers:{},d.headers=i(i(i({},p),f),c.headers),[2,{url:l.toPathString(o),options:d}]}}))}))},paymentInitiatePaymentPOST:function(n,r,s,c,u){return void 0===u&&(u={}),o(t,void 0,void 0,(function(){var t,o,d,p,h,f,m;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("paymentInitiatePaymentPOST","lang",n),t="/payment/{lang}/initiate".replace("{lang}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(d=e.baseOptions),p=i(i({method:"POST"},d),u),h={},f={},[4,l.setApiKeyToObject(h,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(h,e)];case 2:return a.sent(),void 0!==r&&null!==r&&(h.type=String(r)),void 0!==s&&null!==s&&(h.identifier=String(s)),h["Content-Type"]="application/json",l.setSearchParams(o,f,u.query),m=d&&d.headers?d.headers:{},p.headers=i(i(i({},h),m),u.headers),p.data=l.serializeDataIfNeeded(c,p,e),[2,{url:l.toPathString(o),options:p}]}}))}))},paymentPaymentMethodsPOST:function(n,r,s,c){return void 0===c&&(c={}),o(t,void 0,void 0,(function(){var t,o,u,d,p,h,f;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("paymentPaymentMethodsPOST","lang",n),t="/payment/{lang}/methods".replace("{lang}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(u=e.baseOptions),d=i(i({method:"POST"},u),c),p={},h={},[4,l.setApiKeyToObject(p,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(p,e)];case 2:return a.sent(),void 0!==r&&null!==r&&(p.type=String(r)),void 0!==s&&null!==s&&(p.identifier=String(s)),l.setSearchParams(o,h,c.query),f=u&&u.headers?u.headers:{},d.headers=i(i(i({},p),f),c.headers),[2,{url:l.toPathString(o),options:d}]}}))}))},paymentRedirectCallbackPOST:function(n,r,s,c,u){return void 0===u&&(u={}),o(t,void 0,void 0,(function(){var t,o,d,p,h,f,m;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("paymentRedirectCallbackPOST","lang",n),t="/payment/{lang}/redirectcallback".replace("{lang}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(d=e.baseOptions),p=i(i({method:"POST"},d),u),h={},f={},[4,l.setApiKeyToObject(h,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(h,e)];case 2:return a.sent(),void 0!==r&&(f.redirectResult=r),void 0!==s&&null!==s&&(h.type=String(s)),void 0!==c&&null!==c&&(h.identifier=String(c)),l.setSearchParams(o,f,u.query),m=d&&d.headers?d.headers:{},p.headers=i(i(i({},h),m),u.headers),[2,{url:l.toPathString(o),options:p}]}}))}))},paymentSubmitAdditionalDetailsPOST:function(n,r,s,c,u){return void 0===u&&(u={}),o(t,void 0,void 0,(function(){var t,o,d,p,h,f,m;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("paymentSubmitAdditionalDetailsPOST","lang",n),t="/payment/{lang}/submitdetails".replace("{lang}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(d=e.baseOptions),p=i(i({method:"POST"},d),u),h={},f={},[4,l.setApiKeyToObject(h,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(h,e)];case 2:return a.sent(),void 0!==r&&null!==r&&(h.type=String(r)),void 0!==s&&null!==s&&(h.identifier=String(s)),h["Content-Type"]="application/json",l.setSearchParams(o,f,u.query),m=d&&d.headers?d.headers:{},p.headers=i(i(i({},h),m),u.headers),p.data=l.serializeDataIfNeeded(c,p,e),[2,{url:l.toPathString(o),options:p}]}}))}))}}},t.PaymentApiFp=function(e){var n=t.PaymentApiAxiosParamCreator(e);return{paymentCancelPayment:function(t,r,i,u){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.paymentCancelPayment(t,r,i,u)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},paymentGetNotification:function(t,r,i,u){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.paymentGetNotification(t,r,i,u)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},paymentInitiatePaymentPOST:function(t,r,i,u,d){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.paymentInitiatePaymentPOST(t,r,i,u,d)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},paymentPaymentMethodsPOST:function(t,r,i,u){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.paymentPaymentMethodsPOST(t,r,i,u)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},paymentRedirectCallbackPOST:function(t,r,i,u,d){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.paymentRedirectCallbackPOST(t,r,i,u,d)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},paymentSubmitAdditionalDetailsPOST:function(t,r,i,u,d){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.paymentSubmitAdditionalDetailsPOST(t,r,i,u,d)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))}}},t.PaymentApiFactory=function(e,n,r){var i=t.PaymentApiFp(e);return{paymentCancelPayment:function(e,t,o,a){return i.paymentCancelPayment(e,t,o,a).then((function(e){return e(r,n)}))},paymentGetNotification:function(e,t,o,a){return i.paymentGetNotification(e,t,o,a).then((function(e){return e(r,n)}))},paymentInitiatePaymentPOST:function(e,t,o,a,s){return i.paymentInitiatePaymentPOST(e,t,o,a,s).then((function(e){return e(r,n)}))},paymentPaymentMethodsPOST:function(e,t,o,a){return i.paymentPaymentMethodsPOST(e,t,o,a).then((function(e){return e(r,n)}))},paymentRedirectCallbackPOST:function(e,t,o,a,s){return i.paymentRedirectCallbackPOST(e,t,o,a,s).then((function(e){return e(r,n)}))},paymentSubmitAdditionalDetailsPOST:function(e,t,o,a,s){return i.paymentSubmitAdditionalDetailsPOST(e,t,o,a,s).then((function(e){return e(r,n)}))}}};var A=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return r(n,e),n.prototype.paymentCancelPayment=function(e,n,r,i){var o=this;return t.PaymentApiFp(this.configuration).paymentCancelPayment(e,n,r,i).then((function(e){return e(o.axios,o.basePath)}))},n.prototype.paymentGetNotification=function(e,n,r,i){var o=this;return t.PaymentApiFp(this.configuration).paymentGetNotification(e,n,r,i).then((function(e){return e(o.axios,o.basePath)}))},n.prototype.paymentInitiatePaymentPOST=function(e,n,r,i,o){var a=this;return t.PaymentApiFp(this.configuration).paymentInitiatePaymentPOST(e,n,r,i,o).then((function(e){return e(a.axios,a.basePath)}))},n.prototype.paymentPaymentMethodsPOST=function(e,n,r,i){var o=this;return t.PaymentApiFp(this.configuration).paymentPaymentMethodsPOST(e,n,r,i).then((function(e){return e(o.axios,o.basePath)}))},n.prototype.paymentRedirectCallbackPOST=function(e,n,r,i,o){var a=this;return t.PaymentApiFp(this.configuration).paymentRedirectCallbackPOST(e,n,r,i,o).then((function(e){return e(a.axios,a.basePath)}))},n.prototype.paymentSubmitAdditionalDetailsPOST=function(e,n,r,i,o){var a=this;return t.PaymentApiFp(this.configuration).paymentSubmitAdditionalDetailsPOST(e,n,r,i,o).then((function(e){return e(a.axios,a.basePath)}))},n}(c.BaseAPI);t.PaymentApi=A,t.ProductExportApiAxiosParamCreator=function(e){var t=this;return{productExportAllowedExportRequest:function(n,r){return void 0===r&&(r={}),o(t,void 0,void 0,(function(){var t,o,s,c,u,d,p;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("productExportAllowedExportRequest","source",n),t="/export/allowedexportrequest/{source}".replace("{source}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(s=e.baseOptions),c=i(i({method:"GET"},s),r),u={},d={},[4,l.setApiKeyToObject(u,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(u,e)];case 2:return a.sent(),l.setSearchParams(o,d,r.query),p=s&&s.headers?s.headers:{},c.headers=i(i(i({},u),p),r.headers),[2,{url:l.toPathString(o),options:c}]}}))}))},productExportDeletePresetPOST:function(n,r){return void 0===r&&(r={}),o(t,void 0,void 0,(function(){var t,o,s,c,u,d,p;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("productExportDeletePresetPOST","id",n),t="/export/preset/{id}".replace("{id}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(s=e.baseOptions),c=i(i({method:"POST"},s),r),u={},d={},[4,l.setApiKeyToObject(u,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(u,e)];case 2:return a.sent(),l.setSearchParams(o,d,r.query),p=s&&s.headers?s.headers:{},c.headers=i(i(i({},u),p),r.headers),[2,{url:l.toPathString(o),options:c}]}}))}))},productExportDownloadProductExportPOST:function(n,r,s){return void 0===s&&(s={}),o(t,void 0,void 0,(function(){var t,o,c,u,d,p;return a(this,(function(a){switch(a.label){case 0:return t=new URL("/export/download",l.DUMMY_BASE_URL),e&&(o=e.baseOptions),c=i(i({method:"POST"},o),s),u={},d={},[4,l.setApiKeyToObject(u,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(u,e)];case 2:return a.sent(),void 0!==n&&(d.language=n),u["Content-Type"]="application/json",l.setSearchParams(t,d,s.query),p=o&&o.headers?o.headers:{},c.headers=i(i(i({},u),p),s.headers),c.data=l.serializeDataIfNeeded(r,c,e),[2,{url:l.toPathString(t),options:c}]}}))}))},productExportGenerateImageExportPOST:function(n,r,s){return void 0===s&&(s={}),o(t,void 0,void 0,(function(){var t,o,c,u,d,p,h;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("productExportGenerateImageExportPOST","lang",n),t="/export/imagesexport/{lang}".replace("{lang}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(c=e.baseOptions),u=i(i({method:"POST"},c),s),d={},p={},[4,l.setApiKeyToObject(d,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(d,e)];case 2:return a.sent(),d["Content-Type"]="application/json",l.setSearchParams(o,p,s.query),h=c&&c.headers?c.headers:{},u.headers=i(i(i({},d),h),s.headers),u.data=l.serializeDataIfNeeded(r,u,e),[2,{url:l.toPathString(o),options:u}]}}))}))},productExportGenerateProductExportPOST:function(n,r,s){return void 0===s&&(s={}),o(t,void 0,void 0,(function(){var t,o,c,u,d,p;return a(this,(function(a){switch(a.label){case 0:return t=new URL("/export/generate",l.DUMMY_BASE_URL),e&&(o=e.baseOptions),c=i(i({method:"POST"},o),s),u={},d={},[4,l.setApiKeyToObject(u,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(u,e)];case 2:return a.sent(),void 0!==n&&(d.language=n),u["Content-Type"]="application/json",l.setSearchParams(t,d,s.query),p=o&&o.headers?o.headers:{},c.headers=i(i(i({},u),p),s.headers),c.data=l.serializeDataIfNeeded(r,c,e),[2,{url:l.toPathString(t),options:c}]}}))}))},productExportGetAllExportStatuses:function(n){return void 0===n&&(n={}),o(t,void 0,void 0,(function(){var t,r,o,s,c,u;return a(this,(function(a){switch(a.label){case 0:return t=new URL("/export/getexportstatus",l.DUMMY_BASE_URL),e&&(r=e.baseOptions),o=i(i({method:"GET"},r),n),s={},c={},[4,l.setApiKeyToObject(s,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(s,e)];case 2:return a.sent(),l.setSearchParams(t,c,n.query),u=r&&r.headers?r.headers:{},o.headers=i(i(i({},s),u),n.headers),[2,{url:l.toPathString(t),options:o}]}}))}))},productExportGetAllUnits:function(n){return void 0===n&&(n={}),o(t,void 0,void 0,(function(){var t,r,o,s,c,u;return a(this,(function(a){switch(a.label){case 0:return t=new URL("/export/allunits",l.DUMMY_BASE_URL),e&&(r=e.baseOptions),o=i(i({method:"GET"},r),n),s={},c={},[4,l.setApiKeyToObject(s,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(s,e)];case 2:return a.sent(),l.setSearchParams(t,c,n.query),u=r&&r.headers?r.headers:{},o.headers=i(i(i({},s),u),n.headers),[2,{url:l.toPathString(t),options:o}]}}))}))},productExportGetColumnTemplates:function(n,r){return void 0===r&&(r={}),o(t,void 0,void 0,(function(){var t,o,s,c,u,d;return a(this,(function(a){switch(a.label){case 0:return t=new URL("/export/columntemplates",l.DUMMY_BASE_URL),e&&(o=e.baseOptions),s=i(i({method:"GET"},o),r),c={},u={},[4,l.setApiKeyToObject(c,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(c,e)];case 2:return a.sent(),void 0!==n&&(u.lang=n),l.setSearchParams(t,u,r.query),d=o&&o.headers?o.headers:{},s.headers=i(i(i({},c),d),r.headers),[2,{url:l.toPathString(t),options:s}]}}))}))},productExportGetExportStatus:function(n,r){return void 0===r&&(r={}),o(t,void 0,void 0,(function(){var t,o,s,c,u,d,p;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("productExportGetExportStatus","source",n),t="/export/getexportstatus/{source}".replace("{source}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(s=e.baseOptions),c=i(i({method:"GET"},s),r),u={},d={},[4,l.setApiKeyToObject(u,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(u,e)];case 2:return a.sent(),l.setSearchParams(o,d,r.query),p=s&&s.headers?s.headers:{},c.headers=i(i(i({},u),p),r.headers),[2,{url:l.toPathString(o),options:c}]}}))}))},productExportGetImageDataTemplate:function(n){return void 0===n&&(n={}),o(t,void 0,void 0,(function(){var t,r,o,s,c,u;return a(this,(function(a){switch(a.label){case 0:return t=new URL("/export/imagedatatemplate",l.DUMMY_BASE_URL),e&&(r=e.baseOptions),o=i(i({method:"GET"},r),n),s={},c={},[4,l.setApiKeyToObject(s,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(s,e)];case 2:return a.sent(),l.setSearchParams(t,c,n.query),u=r&&r.headers?r.headers:{},o.headers=i(i(i({},s),u),n.headers),[2,{url:l.toPathString(t),options:o}]}}))}))},productExportGetImagePreviewPOST:function(n,r,s,c,u,d,p,h,f){return void 0===f&&(f={}),o(t,void 0,void 0,(function(){var t,o,m,g,v,y,A;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("productExportGetImagePreviewPOST","language",n),t="/export/imagepreview/{language}".replace("{language}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(m=e.baseOptions),g=i(i({method:"POST"},m),f),v={},y={},[4,l.setApiKeyToObject(v,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(v,e)];case 2:return a.sent(),r&&(y.productNumbers=r),void 0!==s&&(y.searchPhrase=s),c&&(y.categories=c),void 0!==u&&(y.selectedFilters=u),void 0!==d&&(y.orderBy=d),void 0!==p&&(y.pageSize=p),void 0!==h&&(y.page=h),l.setSearchParams(o,y,f.query),A=m&&m.headers?m.headers:{},g.headers=i(i(i({},v),A),f.headers),[2,{url:l.toPathString(o),options:g}]}}))}))},productExportGetPresets:function(n){return void 0===n&&(n={}),o(t,void 0,void 0,(function(){var t,r,o,s,c,u;return a(this,(function(a){switch(a.label){case 0:return t=new URL("/export/presets",l.DUMMY_BASE_URL),e&&(r=e.baseOptions),o=i(i({method:"GET"},r),n),s={},c={},[4,l.setApiKeyToObject(s,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(s,e)];case 2:return a.sent(),l.setSearchParams(t,c,n.query),u=r&&r.headers?r.headers:{},o.headers=i(i(i({},s),u),n.headers),[2,{url:l.toPathString(t),options:o}]}}))}))},productExportGetPreviewPOST:function(n,r,s){return void 0===s&&(s={}),o(t,void 0,void 0,(function(){var t,o,c,u,d,p;return a(this,(function(a){switch(a.label){case 0:return t=new URL("/export/preview",l.DUMMY_BASE_URL),e&&(o=e.baseOptions),c=i(i({method:"POST"},o),s),u={},d={},[4,l.setApiKeyToObject(u,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(u,e)];case 2:return a.sent(),void 0!==n&&(d.language=n),u["Content-Type"]="application/json",l.setSearchParams(t,d,s.query),p=o&&o.headers?o.headers:{},c.headers=i(i(i({},u),p),s.headers),c.data=l.serializeDataIfNeeded(r,c,e),[2,{url:l.toPathString(t),options:c}]}}))}))},productExportGetUnits:function(n){return void 0===n&&(n={}),o(t,void 0,void 0,(function(){var t,r,o,s,c,u;return a(this,(function(a){switch(a.label){case 0:return t=new URL("/export/units",l.DUMMY_BASE_URL),e&&(r=e.baseOptions),o=i(i({method:"GET"},r),n),s={},c={},[4,l.setApiKeyToObject(s,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(s,e)];case 2:return a.sent(),l.setSearchParams(t,c,n.query),u=r&&r.headers?r.headers:{},o.headers=i(i(i({},s),u),n.headers),[2,{url:l.toPathString(t),options:o}]}}))}))},productExportSavePresetPOST:function(n,r){return void 0===r&&(r={}),o(t,void 0,void 0,(function(){var t,o,s,c,u,d;return a(this,(function(a){switch(a.label){case 0:return t=new URL("/export/preset",l.DUMMY_BASE_URL),e&&(o=e.baseOptions),s=i(i({method:"POST"},o),r),c={},u={},[4,l.setApiKeyToObject(c,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(c,e)];case 2:return a.sent(),c["Content-Type"]="application/json",l.setSearchParams(t,u,r.query),d=o&&o.headers?o.headers:{},s.headers=i(i(i({},c),d),r.headers),s.data=l.serializeDataIfNeeded(n,s,e),[2,{url:l.toPathString(t),options:s}]}}))}))}}},t.ProductExportApiFp=function(e){var n=t.ProductExportApiAxiosParamCreator(e);return{productExportAllowedExportRequest:function(t,r){return o(this,void 0,void 0,(function(){var i;return a(this,(function(o){switch(o.label){case 0:return[4,n.productExportAllowedExportRequest(t,r)];case 1:return i=o.sent(),[2,l.createRequestFunction(i,s.default,c.BASE_PATH,e)]}}))}))},productExportDeletePresetPOST:function(t,r){return o(this,void 0,void 0,(function(){var i;return a(this,(function(o){switch(o.label){case 0:return[4,n.productExportDeletePresetPOST(t,r)];case 1:return i=o.sent(),[2,l.createRequestFunction(i,s.default,c.BASE_PATH,e)]}}))}))},productExportDownloadProductExportPOST:function(t,r,i){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.productExportDownloadProductExportPOST(t,r,i)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},productExportGenerateImageExportPOST:function(t,r,i){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.productExportGenerateImageExportPOST(t,r,i)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},productExportGenerateProductExportPOST:function(t,r,i){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.productExportGenerateProductExportPOST(t,r,i)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},productExportGetAllExportStatuses:function(t){return o(this,void 0,void 0,(function(){var r;return a(this,(function(i){switch(i.label){case 0:return[4,n.productExportGetAllExportStatuses(t)];case 1:return r=i.sent(),[2,l.createRequestFunction(r,s.default,c.BASE_PATH,e)]}}))}))},productExportGetAllUnits:function(t){return o(this,void 0,void 0,(function(){var r;return a(this,(function(i){switch(i.label){case 0:return[4,n.productExportGetAllUnits(t)];case 1:return r=i.sent(),[2,l.createRequestFunction(r,s.default,c.BASE_PATH,e)]}}))}))},productExportGetColumnTemplates:function(t,r){return o(this,void 0,void 0,(function(){var i;return a(this,(function(o){switch(o.label){case 0:return[4,n.productExportGetColumnTemplates(t,r)];case 1:return i=o.sent(),[2,l.createRequestFunction(i,s.default,c.BASE_PATH,e)]}}))}))},productExportGetExportStatus:function(t,r){return o(this,void 0,void 0,(function(){var i;return a(this,(function(o){switch(o.label){case 0:return[4,n.productExportGetExportStatus(t,r)];case 1:return i=o.sent(),[2,l.createRequestFunction(i,s.default,c.BASE_PATH,e)]}}))}))},productExportGetImageDataTemplate:function(t){return o(this,void 0,void 0,(function(){var r;return a(this,(function(i){switch(i.label){case 0:return[4,n.productExportGetImageDataTemplate(t)];case 1:return r=i.sent(),[2,l.createRequestFunction(r,s.default,c.BASE_PATH,e)]}}))}))},productExportGetImagePreviewPOST:function(t,r,i,u,d,p,h,f,m){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.productExportGetImagePreviewPOST(t,r,i,u,d,p,h,f,m)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},productExportGetPresets:function(t){return o(this,void 0,void 0,(function(){var r;return a(this,(function(i){switch(i.label){case 0:return[4,n.productExportGetPresets(t)];case 1:return r=i.sent(),[2,l.createRequestFunction(r,s.default,c.BASE_PATH,e)]}}))}))},productExportGetPreviewPOST:function(t,r,i){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.productExportGetPreviewPOST(t,r,i)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},productExportGetUnits:function(t){return o(this,void 0,void 0,(function(){var r;return a(this,(function(i){switch(i.label){case 0:return[4,n.productExportGetUnits(t)];case 1:return r=i.sent(),[2,l.createRequestFunction(r,s.default,c.BASE_PATH,e)]}}))}))},productExportSavePresetPOST:function(t,r){return o(this,void 0,void 0,(function(){var i;return a(this,(function(o){switch(o.label){case 0:return[4,n.productExportSavePresetPOST(t,r)];case 1:return i=o.sent(),[2,l.createRequestFunction(i,s.default,c.BASE_PATH,e)]}}))}))}}},t.ProductExportApiFactory=function(e,n,r){var i=t.ProductExportApiFp(e);return{productExportAllowedExportRequest:function(e,t){return i.productExportAllowedExportRequest(e,t).then((function(e){return e(r,n)}))},productExportDeletePresetPOST:function(e,t){return i.productExportDeletePresetPOST(e,t).then((function(e){return e(r,n)}))},productExportDownloadProductExportPOST:function(e,t,o){return i.productExportDownloadProductExportPOST(e,t,o).then((function(e){return e(r,n)}))},productExportGenerateImageExportPOST:function(e,t,o){return i.productExportGenerateImageExportPOST(e,t,o).then((function(e){return e(r,n)}))},productExportGenerateProductExportPOST:function(e,t,o){return i.productExportGenerateProductExportPOST(e,t,o).then((function(e){return e(r,n)}))},productExportGetAllExportStatuses:function(e){return i.productExportGetAllExportStatuses(e).then((function(e){return e(r,n)}))},productExportGetAllUnits:function(e){return i.productExportGetAllUnits(e).then((function(e){return e(r,n)}))},productExportGetColumnTemplates:function(e,t){return i.productExportGetColumnTemplates(e,t).then((function(e){return e(r,n)}))},productExportGetExportStatus:function(e,t){return i.productExportGetExportStatus(e,t).then((function(e){return e(r,n)}))},productExportGetImageDataTemplate:function(e){return i.productExportGetImageDataTemplate(e).then((function(e){return e(r,n)}))},productExportGetImagePreviewPOST:function(e,t,o,a,s,l,c,u,d){return i.productExportGetImagePreviewPOST(e,t,o,a,s,l,c,u,d).then((function(e){return e(r,n)}))},productExportGetPresets:function(e){return i.productExportGetPresets(e).then((function(e){return e(r,n)}))},productExportGetPreviewPOST:function(e,t,o){return i.productExportGetPreviewPOST(e,t,o).then((function(e){return e(r,n)}))},productExportGetUnits:function(e){return i.productExportGetUnits(e).then((function(e){return e(r,n)}))},productExportSavePresetPOST:function(e,t){return i.productExportSavePresetPOST(e,t).then((function(e){return e(r,n)}))}}};var b=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return r(n,e),n.prototype.productExportAllowedExportRequest=function(e,n){var r=this;return t.ProductExportApiFp(this.configuration).productExportAllowedExportRequest(e,n).then((function(e){return e(r.axios,r.basePath)}))},n.prototype.productExportDeletePresetPOST=function(e,n){var r=this;return t.ProductExportApiFp(this.configuration).productExportDeletePresetPOST(e,n).then((function(e){return e(r.axios,r.basePath)}))},n.prototype.productExportDownloadProductExportPOST=function(e,n,r){var i=this;return t.ProductExportApiFp(this.configuration).productExportDownloadProductExportPOST(e,n,r).then((function(e){return e(i.axios,i.basePath)}))},n.prototype.productExportGenerateImageExportPOST=function(e,n,r){var i=this;return t.ProductExportApiFp(this.configuration).productExportGenerateImageExportPOST(e,n,r).then((function(e){return e(i.axios,i.basePath)}))},n.prototype.productExportGenerateProductExportPOST=function(e,n,r){var i=this;return t.ProductExportApiFp(this.configuration).productExportGenerateProductExportPOST(e,n,r).then((function(e){return e(i.axios,i.basePath)}))},n.prototype.productExportGetAllExportStatuses=function(e){var n=this;return t.ProductExportApiFp(this.configuration).productExportGetAllExportStatuses(e).then((function(e){return e(n.axios,n.basePath)}))},n.prototype.productExportGetAllUnits=function(e){var n=this;return t.ProductExportApiFp(this.configuration).productExportGetAllUnits(e).then((function(e){return e(n.axios,n.basePath)}))},n.prototype.productExportGetColumnTemplates=function(e,n){var r=this;return t.ProductExportApiFp(this.configuration).productExportGetColumnTemplates(e,n).then((function(e){return e(r.axios,r.basePath)}))},n.prototype.productExportGetExportStatus=function(e,n){var r=this;return t.ProductExportApiFp(this.configuration).productExportGetExportStatus(e,n).then((function(e){return e(r.axios,r.basePath)}))},n.prototype.productExportGetImageDataTemplate=function(e){var n=this;return t.ProductExportApiFp(this.configuration).productExportGetImageDataTemplate(e).then((function(e){return e(n.axios,n.basePath)}))},n.prototype.productExportGetImagePreviewPOST=function(e,n,r,i,o,a,s,l,c){var u=this;return t.ProductExportApiFp(this.configuration).productExportGetImagePreviewPOST(e,n,r,i,o,a,s,l,c).then((function(e){return e(u.axios,u.basePath)}))},n.prototype.productExportGetPresets=function(e){var n=this;return t.ProductExportApiFp(this.configuration).productExportGetPresets(e).then((function(e){return e(n.axios,n.basePath)}))},n.prototype.productExportGetPreviewPOST=function(e,n,r){var i=this;return t.ProductExportApiFp(this.configuration).productExportGetPreviewPOST(e,n,r).then((function(e){return e(i.axios,i.basePath)}))},n.prototype.productExportGetUnits=function(e){var n=this;return t.ProductExportApiFp(this.configuration).productExportGetUnits(e).then((function(e){return e(n.axios,n.basePath)}))},n.prototype.productExportSavePresetPOST=function(e,n){var r=this;return t.ProductExportApiFp(this.configuration).productExportSavePresetPOST(e,n).then((function(e){return e(r.axios,r.basePath)}))},n}(c.BaseAPI);t.ProductExportApi=b,t.RefinementApiAxiosParamCreator=function(e){var t=this;return{refinementAddCategoryToArticlePOST:function(n,r,s,c){return void 0===c&&(c={}),o(t,void 0,void 0,(function(){var t,o,u,d,p,h,f;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("refinementAddCategoryToArticlePOST","lang",n),l.assertParamExists("refinementAddCategoryToArticlePOST","articleId",r),t="/refinement/{lang}/articles/{articleId}/categories/add".replace("{lang}",encodeURIComponent(String(n))).replace("{articleId}",encodeURIComponent(String(r))),o=new URL(t,l.DUMMY_BASE_URL),e&&(u=e.baseOptions),d=i(i({method:"POST"},u),c),p={},h={},[4,l.setApiKeyToObject(p,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(p,e)];case 2:return a.sent(),p["Content-Type"]="application/json",l.setSearchParams(o,h,c.query),f=u&&u.headers?u.headers:{},d.headers=i(i(i({},p),f),c.headers),d.data=l.serializeDataIfNeeded(s,d,e),[2,{url:l.toPathString(o),options:d}]}}))}))},refinementAddCategoryToCollectionPOST:function(n,r,s,c){return void 0===c&&(c={}),o(t,void 0,void 0,(function(){var t,o,u,d,p,h,f;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("refinementAddCategoryToCollectionPOST","lang",n),l.assertParamExists("refinementAddCategoryToCollectionPOST","collectionId",r),t="/refinement/{lang}/collections/{collectionId}/categories/add".replace("{lang}",encodeURIComponent(String(n))).replace("{collectionId}",encodeURIComponent(String(r))),o=new URL(t,l.DUMMY_BASE_URL),e&&(u=e.baseOptions),d=i(i({method:"POST"},u),c),p={},h={},[4,l.setApiKeyToObject(p,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(p,e)];case 2:return a.sent(),p["Content-Type"]="application/json",l.setSearchParams(o,h,c.query),f=u&&u.headers?u.headers:{},d.headers=i(i(i({},p),f),c.headers),d.data=l.serializeDataIfNeeded(s,d,e),[2,{url:l.toPathString(o),options:d}]}}))}))},refinementArchiveArticle:function(n,r,s,c){return void 0===c&&(c={}),o(t,void 0,void 0,(function(){var t,o,u,d,p,h,f;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("refinementArchiveArticle","articleId",n),l.assertParamExists("refinementArchiveArticle","lang",r),t="/refinement/{lang}/articles/{articleId}/archive".replace("{articleId}",encodeURIComponent(String(n))).replace("{lang}",encodeURIComponent(String(r))),o=new URL(t,l.DUMMY_BASE_URL),e&&(u=e.baseOptions),d=i(i({method:"GET"},u),c),p={},h={},[4,l.setApiKeyToObject(p,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(p,e)];case 2:return a.sent(),void 0!==s&&(h.archive=s),l.setSearchParams(o,h,c.query),f=u&&u.headers?u.headers:{},d.headers=i(i(i({},p),f),c.headers),[2,{url:l.toPathString(o),options:d}]}}))}))},refinementArchiveCollectionPOST:function(n,r,s,c){return void 0===c&&(c={}),o(t,void 0,void 0,(function(){var t,o,u,d,p,h,f;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("refinementArchiveCollectionPOST","collectionId",n),l.assertParamExists("refinementArchiveCollectionPOST","lang",r),t="/refinement/{lang}/collections/{collectionId}/archive".replace("{collectionId}",encodeURIComponent(String(n))).replace("{lang}",encodeURIComponent(String(r))),o=new URL(t,l.DUMMY_BASE_URL),e&&(u=e.baseOptions),d=i(i({method:"POST"},u),c),p={},h={},[4,l.setApiKeyToObject(p,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(p,e)];case 2:return a.sent(),void 0!==s&&(h.archive=s),l.setSearchParams(o,h,c.query),f=u&&u.headers?u.headers:{},d.headers=i(i(i({},p),f),c.headers),[2,{url:l.toPathString(o),options:d}]}}))}))},refinementChangeCollectionPOST:function(n,r,s,u,d,p,h){return void 0===h&&(h={}),o(t,void 0,void 0,(function(){var t,o,f,m,g,v,y,A;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("refinementChangeCollectionPOST","lang",n),t="/refinement/{lang}/collections/change".replace("{lang}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(f=e.baseOptions),m=i(i({method:"POST"},f),h),g={},v={},y=new(e&&e.formDataCtor||FormData),[4,l.setApiKeyToObject(g,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(g,e)];case 2:return a.sent(),void 0!==r&&y.append("name",r),s&&y.append(s.join(c.COLLECTION_FORMATS.csv)),u&&y.append(u.join(c.COLLECTION_FORMATS.csv)),d&&y.append(d.join(c.COLLECTION_FORMATS.csv)),p&&p.forEach((function(e){y.append("files",e)})),g["Content-Type"]="multipart/form-data",l.setSearchParams(o,v,h.query),A=f&&f.headers?f.headers:{},m.headers=i(i(i({},g),A),h.headers),m.data=y,[2,{url:l.toPathString(o),options:m}]}}))}))},refinementCreateDraftArticlePOST:function(n,r,s,u){return void 0===u&&(u={}),o(t,void 0,void 0,(function(){var t,o,d,p,h,f,m,g;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("refinementCreateDraftArticlePOST","lang",n),t="/refinement/{lang}/articles/draft/create".replace("{lang}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(d=e.baseOptions),p=i(i({method:"POST"},d),u),h={},f={},m=new(e&&e.formDataCtor||FormData),[4,l.setApiKeyToObject(h,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(h,e)];case 2:return a.sent(),r&&m.append(r.join(c.COLLECTION_FORMATS.csv)),s&&s.forEach((function(e){m.append("files",e)})),h["Content-Type"]="multipart/form-data",l.setSearchParams(o,f,u.query),g=d&&d.headers?d.headers:{},p.headers=i(i(i({},h),g),u.headers),p.data=m,[2,{url:l.toPathString(o),options:p}]}}))}))},refinementDeleteCollectionPOST:function(n,r,s){return void 0===s&&(s={}),o(t,void 0,void 0,(function(){var t,o,c,u,d,p,h;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("refinementDeleteCollectionPOST","collectionId",n),l.assertParamExists("refinementDeleteCollectionPOST","lang",r),t="/refinement/{lang}/collections/{collectionId}/delete".replace("{collectionId}",encodeURIComponent(String(n))).replace("{lang}",encodeURIComponent(String(r))),o=new URL(t,l.DUMMY_BASE_URL),e&&(c=e.baseOptions),u=i(i({method:"POST"},c),s),d={},p={},[4,l.setApiKeyToObject(d,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(d,e)];case 2:return a.sent(),l.setSearchParams(o,p,s.query),h=c&&c.headers?c.headers:{},u.headers=i(i(i({},d),h),s.headers),[2,{url:l.toPathString(o),options:u}]}}))}))},refinementDeleteDraftArticle:function(n,r,s){return void 0===s&&(s={}),o(t,void 0,void 0,(function(){var t,o,c,u,d,p,h;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("refinementDeleteDraftArticle","articleId",n),l.assertParamExists("refinementDeleteDraftArticle","lang",r),t="/refinement/{lang}/articles/{articleId}/delete".replace("{articleId}",encodeURIComponent(String(n))).replace("{lang}",encodeURIComponent(String(r))),o=new URL(t,l.DUMMY_BASE_URL),e&&(c=e.baseOptions),u=i(i({method:"GET"},c),s),d={},p={},[4,l.setApiKeyToObject(d,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(d,e)];case 2:return a.sent(),l.setSearchParams(o,p,s.query),h=c&&c.headers?c.headers:{},u.headers=i(i(i({},d),h),s.headers),[2,{url:l.toPathString(o),options:u}]}}))}))},refinementGetArticle:function(n,r,s){return void 0===s&&(s={}),o(t,void 0,void 0,(function(){var t,o,c,u,d,p,h;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("refinementGetArticle","lang",n),l.assertParamExists("refinementGetArticle","articleId",r),t="/refinement/{lang}/articles/{articleId}".replace("{lang}",encodeURIComponent(String(n))).replace("{articleId}",encodeURIComponent(String(r))),o=new URL(t,l.DUMMY_BASE_URL),e&&(c=e.baseOptions),u=i(i({method:"GET"},c),s),d={},p={},[4,l.setApiKeyToObject(d,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(d,e)];case 2:return a.sent(),l.setSearchParams(o,p,s.query),h=c&&c.headers?c.headers:{},u.headers=i(i(i({},d),h),s.headers),[2,{url:l.toPathString(o),options:u}]}}))}))},refinementGetArticleDetails:function(n,r,s){return void 0===s&&(s={}),o(t,void 0,void 0,(function(){var t,o,c,u,d,p,h;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("refinementGetArticleDetails","lang",n),l.assertParamExists("refinementGetArticleDetails","articleId",r),t="/refinement/{lang}/articles/{articleId}/details".replace("{lang}",encodeURIComponent(String(n))).replace("{articleId}",encodeURIComponent(String(r))),o=new URL(t,l.DUMMY_BASE_URL),e&&(c=e.baseOptions),u=i(i({method:"GET"},c),s),d={},p={},[4,l.setApiKeyToObject(d,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(d,e)];case 2:return a.sent(),l.setSearchParams(o,p,s.query),h=c&&c.headers?c.headers:{},u.headers=i(i(i({},d),h),s.headers),[2,{url:l.toPathString(o),options:u}]}}))}))},refinementGetCollection:function(n,r,s){return void 0===s&&(s={}),o(t,void 0,void 0,(function(){var t,o,c,u,d,p,h;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("refinementGetCollection","lang",n),l.assertParamExists("refinementGetCollection","collectionId",r),t="/refinement/{lang}/collections/{collectionId}".replace("{lang}",encodeURIComponent(String(n))).replace("{collectionId}",encodeURIComponent(String(r))),o=new URL(t,l.DUMMY_BASE_URL),e&&(c=e.baseOptions),u=i(i({method:"GET"},c),s),d={},p={},[4,l.setApiKeyToObject(d,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(d,e)];case 2:return a.sent(),l.setSearchParams(o,p,s.query),h=c&&c.headers?c.headers:{},u.headers=i(i(i({},d),h),s.headers),[2,{url:l.toPathString(o),options:u}]}}))}))},refinementGetCollectionData:function(n,r,s){return void 0===s&&(s={}),o(t,void 0,void 0,(function(){var t,o,c,u,d,p,h;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("refinementGetCollectionData","lang",n),t="/refinement/{lang}/collections/get".replace("{lang}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(c=e.baseOptions),u=i(i({method:"GET"},c),s),d={},p={},[4,l.setApiKeyToObject(d,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(d,e)];case 2:return a.sent(),void 0!==r&&(p.collectionId=r),l.setSearchParams(o,p,s.query),h=c&&c.headers?c.headers:{},u.headers=i(i(i({},d),h),s.headers),[2,{url:l.toPathString(o),options:u}]}}))}))},refinementGetCollectionDetails:function(n,r,s){return void 0===s&&(s={}),o(t,void 0,void 0,(function(){var t,o,c,u,d,p,h;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("refinementGetCollectionDetails","lang",n),l.assertParamExists("refinementGetCollectionDetails","collectionId",r),t="/refinement/{lang}/collections/{collectionId}/details".replace("{lang}",encodeURIComponent(String(n))).replace("{collectionId}",encodeURIComponent(String(r))),o=new URL(t,l.DUMMY_BASE_URL),e&&(c=e.baseOptions),u=i(i({method:"GET"},c),s),d={},p={},[4,l.setApiKeyToObject(d,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(d,e)];case 2:return a.sent(),l.setSearchParams(o,p,s.query),h=c&&c.headers?c.headers:{},u.headers=i(i(i({},d),h),s.headers),[2,{url:l.toPathString(o),options:u}]}}))}))},refinementGetCollectionFilters:function(n,r){return void 0===r&&(r={}),o(t,void 0,void 0,(function(){var t,o,s,c,u,d,p;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("refinementGetCollectionFilters","lang",n),t="/refinement/{lang}/collections/filters".replace("{lang}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(s=e.baseOptions),c=i(i({method:"GET"},s),r),u={},d={},[4,l.setApiKeyToObject(u,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(u,e)];case 2:return a.sent(),l.setSearchParams(o,d,r.query),p=s&&s.headers?s.headers:{},c.headers=i(i(i({},u),p),r.headers),[2,{url:l.toPathString(o),options:c}]}}))}))},refinementGetCollectionsPOST:function(n,r,s){return void 0===s&&(s={}),o(t,void 0,void 0,(function(){var t,o,c,u,d,p,h;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("refinementGetCollectionsPOST","lang",n),t="/refinement/{lang}/collections".replace("{lang}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(c=e.baseOptions),u=i(i({method:"POST"},c),s),d={},p={},[4,l.setApiKeyToObject(d,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(d,e)];case 2:return a.sent(),d["Content-Type"]="application/json",l.setSearchParams(o,p,s.query),h=c&&c.headers?c.headers:{},u.headers=i(i(i({},d),h),s.headers),u.data=l.serializeDataIfNeeded(r,u,e),[2,{url:l.toPathString(o),options:u}]}}))}))},refinementGetFilters:function(n,r,s){return void 0===s&&(s={}),o(t,void 0,void 0,(function(){var t,o,c,u,d,p,h;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("refinementGetFilters","lang",n),t="/refinement/{lang}/articles/filters".replace("{lang}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(c=e.baseOptions),u=i(i({method:"GET"},c),s),d={},p={},[4,l.setApiKeyToObject(d,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(d,e)];case 2:return a.sent(),void 0!==r&&(p.orderIdentifier=r),l.setSearchParams(o,p,s.query),h=c&&c.headers?c.headers:{},u.headers=i(i(i({},d),h),s.headers),[2,{url:l.toPathString(o),options:u}]}}))}))},refinementGetFiltersPartner:function(n,r,s,c){return void 0===c&&(c={}),o(t,void 0,void 0,(function(){var t,o,u,d,p,h,f;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("refinementGetFiltersPartner","lang",n),t="/refinement/{lang}/articles/partner/filters".replace("{lang}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(u=e.baseOptions),d=i(i({method:"GET"},u),c),p={},h={},[4,l.setApiKeyToObject(p,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(p,e)];case 2:return a.sent(),void 0!==r&&(h.partner=r),void 0!==s&&(h.secret=s),l.setSearchParams(o,h,c.query),f=u&&u.headers?u.headers:{},d.headers=i(i(i({},p),f),c.headers),[2,{url:l.toPathString(o),options:d}]}}))}))},refinementGetFiltersSeller:function(n,r){return void 0===r&&(r={}),o(t,void 0,void 0,(function(){var t,o,s,c,u,d,p;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("refinementGetFiltersSeller","lang",n),t="/refinement/{lang}/articles/seller/filters".replace("{lang}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(s=e.baseOptions),c=i(i({method:"GET"},s),r),u={},d={},[4,l.setApiKeyToObject(u,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(u,e)];case 2:return a.sent(),l.setSearchParams(o,d,r.query),p=s&&s.headers?s.headers:{},c.headers=i(i(i({},u),p),r.headers),[2,{url:l.toPathString(o),options:c}]}}))}))},refinementGetMountedArticlePOST:function(n,r,s,c){return void 0===c&&(c={}),o(t,void 0,void 0,(function(){var t,o,u,d,p,h,f;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("refinementGetMountedArticlePOST","lang",n),t="/refinement/{lang}/article/get".replace("{lang}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(u=e.baseOptions),d=i(i({method:"POST"},u),c),p={},h={},[4,l.setApiKeyToObject(p,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(p,e)];case 2:return a.sent(),void 0!==r&&(h.articleId=r),void 0!==s&&(h.orderIdentifier=s),l.setSearchParams(o,h,c.query),f=u&&u.headers?u.headers:{},d.headers=i(i(i({},p),f),c.headers),[2,{url:l.toPathString(o),options:d}]}}))}))},refinementGetRefinementCostPreviewsPOST:function(n,r,s,u,d,p,h){return void 0===h&&(h={}),o(t,void 0,void 0,(function(){var t,o,f,m,g,v,y,A;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("refinementGetRefinementCostPreviewsPOST","lang",n),t="/refinement/{lang}/costpreview".replace("{lang}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(f=e.baseOptions),m=i(i({method:"POST"},f),h),g={},v={},y=new(e&&e.formDataCtor||FormData),[4,l.setApiKeyToObject(g,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(g,e)];case 2:return a.sent(),void 0!==r&&(v.isProduct=r),void 0!==s&&(v.orderIdentifier=s),u&&y.append(u.join(c.COLLECTION_FORMATS.csv)),d&&y.append(d.join(c.COLLECTION_FORMATS.csv)),p&&y.append(p.join(c.COLLECTION_FORMATS.csv)),g["Content-Type"]="multipart/form-data",l.setSearchParams(o,v,h.query),A=f&&f.headers?f.headers:{},m.headers=i(i(i({},g),A),h.headers),m.data=y,[2,{url:l.toPathString(o),options:m}]}}))}))},refinementGetRefinementProducts:function(n,r,s,c,u){return void 0===u&&(u={}),o(t,void 0,void 0,(function(){var t,o,d,p,h,f,m;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("refinementGetRefinementProducts","lang",n),t="/refinement/{lang}/products/refinement".replace("{lang}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(d=e.baseOptions),p=i(i({method:"GET"},d),u),h={},f={},[4,l.setApiKeyToObject(h,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(h,e)];case 2:return a.sent(),r&&(f.products=r),s&&(f.assortmentIds=s),void 0!==c&&(f.orderIdentifier=c),l.setSearchParams(o,f,u.query),m=d&&d.headers?d.headers:{},p.headers=i(i(i({},h),m),u.headers),[2,{url:l.toPathString(o),options:p}]}}))}))},refinementGetRefinmentPreviews:function(n,r,s,c){return void 0===c&&(c={}),o(t,void 0,void 0,(function(){var t,o,u,d,p,h,f;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("refinementGetRefinmentPreviews","lang",n),t="/refinement/{lang}/get".replace("{lang}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(u=e.baseOptions),d=i(i({method:"GET"},u),c),p={},h={},[4,l.setApiKeyToObject(p,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(p,e)];case 2:return a.sent(),r&&(h.ids=r),void 0!==s&&(h.orderIdentifier=s),l.setSearchParams(o,h,c.query),f=u&&u.headers?u.headers:{},d.headers=i(i(i({},p),f),c.headers),[2,{url:l.toPathString(o),options:d}]}}))}))},refinementGetSpecialRefinementProducts:function(n,r){return void 0===r&&(r={}),o(t,void 0,void 0,(function(){var t,o,s,c,u,d,p;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("refinementGetSpecialRefinementProducts","lang",n),t="/refinement/{lang}/products/special".replace("{lang}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(s=e.baseOptions),c=i(i({method:"GET"},s),r),u={},d={},[4,l.setApiKeyToObject(u,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(u,e)];case 2:return a.sent(),l.setSearchParams(o,d,r.query),p=s&&s.headers?s.headers:{},c.headers=i(i(i({},u),p),r.headers),[2,{url:l.toPathString(o),options:c}]}}))}))},refinementGetStockQuantity:function(n,r,s){return void 0===s&&(s={}),o(t,void 0,void 0,(function(){var t,o,c,u,d,p,h;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("refinementGetStockQuantity","lang",n),t="/refinement/{lang}/articles/stockquantity".replace("{lang}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(c=e.baseOptions),u=i(i({method:"GET"},c),s),d={},p={},[4,l.setApiKeyToObject(d,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(d,e)];case 2:return a.sent(),void 0!==r&&(p.articleId=r),l.setSearchParams(o,p,s.query),h=c&&c.headers?c.headers:{},u.headers=i(i(i({},d),h),s.headers),[2,{url:l.toPathString(o),options:u}]}}))}))},refinementGetStockQuantityPartner:function(n,r,s,c,u){return void 0===u&&(u={}),o(t,void 0,void 0,(function(){var t,o,d,p,h,f,m;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("refinementGetStockQuantityPartner","lang",n),t="/refinement/{lang}/articles/partner/stockquantity".replace("{lang}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(d=e.baseOptions),p=i(i({method:"GET"},d),u),h={},f={},[4,l.setApiKeyToObject(h,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(h,e)];case 2:return a.sent(),void 0!==r&&(f.partner=r),void 0!==s&&(f.secret=s),void 0!==c&&(f.articleId=c),l.setSearchParams(o,f,u.query),m=d&&d.headers?d.headers:{},p.headers=i(i(i({},h),m),u.headers),[2,{url:l.toPathString(o),options:p}]}}))}))},refinementRemoveCategoryFromArticle:function(n,r,s,c){return void 0===c&&(c={}),o(t,void 0,void 0,(function(){var t,o,u,d,p,h,f;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("refinementRemoveCategoryFromArticle","lang",n),l.assertParamExists("refinementRemoveCategoryFromArticle","articleId",r),l.assertParamExists("refinementRemoveCategoryFromArticle","categoryId",s),t="/refinement/{lang}/articles/{articleId}/{categoryId}/delete".replace("{lang}",encodeURIComponent(String(n))).replace("{articleId}",encodeURIComponent(String(r))).replace("{categoryId}",encodeURIComponent(String(s))),o=new URL(t,l.DUMMY_BASE_URL),e&&(u=e.baseOptions),d=i(i({method:"GET"},u),c),p={},h={},[4,l.setApiKeyToObject(p,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(p,e)];case 2:return a.sent(),l.setSearchParams(o,h,c.query),f=u&&u.headers?u.headers:{},d.headers=i(i(i({},p),f),c.headers),[2,{url:l.toPathString(o),options:d}]}}))}))},refinementRemoveCategoryFromCollection:function(n,r,s,c){return void 0===c&&(c={}),o(t,void 0,void 0,(function(){var t,o,u,d,p,h,f;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("refinementRemoveCategoryFromCollection","lang",n),l.assertParamExists("refinementRemoveCategoryFromCollection","collectionId",r),l.assertParamExists("refinementRemoveCategoryFromCollection","categoryId",s),t="/refinement/{lang}/collections/{collectionId}/{categoryId}/delete".replace("{lang}",encodeURIComponent(String(n))).replace("{collectionId}",encodeURIComponent(String(r))).replace("{categoryId}",encodeURIComponent(String(s))),o=new URL(t,l.DUMMY_BASE_URL),e&&(u=e.baseOptions),d=i(i({method:"GET"},u),c),p={},h={},[4,l.setApiKeyToObject(p,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(p,e)];case 2:return a.sent(),l.setSearchParams(o,h,c.query),f=u&&u.headers?u.headers:{},d.headers=i(i(i({},p),f),c.headers),[2,{url:l.toPathString(o),options:d}]}}))}))},refinementSearchArticlesCustomer:function(n,r,s,c,u,d,p,h,f){return void 0===f&&(f={}),o(t,void 0,void 0,(function(){var t,o,m,g,v,y,A;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("refinementSearchArticlesCustomer","lang",n),t="/refinement/{lang}/articles/search".replace("{lang}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(m=e.baseOptions),g=i(i({method:"GET"},m),f),v={},y={},[4,l.setApiKeyToObject(v,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(v,e)];case 2:return a.sent(),void 0!==r&&(y.searchPhrase=r),void 0!==s&&(y.selectedFilters=s),void 0!==c&&(y.pageSize=c),void 0!==u&&(y.page=u),void 0!==d&&(y.from=d instanceof Date?d.toISOString():d),void 0!==p&&(y.to=p instanceof Date?p.toISOString():p),void 0!==h&&(y.orderIdentifier=h),l.setSearchParams(o,y,f.query),A=m&&m.headers?m.headers:{},g.headers=i(i(i({},v),A),f.headers),[2,{url:l.toPathString(o),options:g}]}}))}))},refinementSearchArticlesPartner:function(n,r,s,c,u,d,p,h,f,m,g){return void 0===g&&(g={}),o(t,void 0,void 0,(function(){var t,o,v,y,A,b,w;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("refinementSearchArticlesPartner","lang",n),t="/refinement/{lang}/articles/partner/search".replace("{lang}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(v=e.baseOptions),y=i(i({method:"GET"},v),g),A={},b={},[4,l.setApiKeyToObject(A,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(A,e)];case 2:return a.sent(),void 0!==r&&(b.partner=r),void 0!==s&&(b.secret=s),void 0!==c&&(b.searchPhrase=c),void 0!==u&&(b.selectedFilters=u),void 0!==d&&(b.pageSize=d),void 0!==p&&(b.page=p),void 0!==h&&(b.from=h instanceof Date?h.toISOString():h),void 0!==f&&(b.to=f instanceof Date?f.toISOString():f),void 0!==m&&(b.onlyApproval=m),l.setSearchParams(o,b,g.query),w=v&&v.headers?v.headers:{},y.headers=i(i(i({},A),w),g.headers),[2,{url:l.toPathString(o),options:y}]}}))}))},refinementSearchArticlesSeller:function(n,r,s,c,u,d,p,h,f){return void 0===f&&(f={}),o(t,void 0,void 0,(function(){var t,o,m,g,v,y,A;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("refinementSearchArticlesSeller","lang",n),t="/refinement/{lang}/articles/includeproductname/search".replace("{lang}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(m=e.baseOptions),g=i(i({method:"GET"},m),f),v={},y={},[4,l.setApiKeyToObject(v,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(v,e)];case 2:return a.sent(),void 0!==r&&(y.searchPhrase=r),void 0!==s&&(y.selectedFilters=s),void 0!==c&&(y.pageSize=c),void 0!==u&&(y.page=u),void 0!==d&&(y.from=d instanceof Date?d.toISOString():d),void 0!==p&&(y.to=p instanceof Date?p.toISOString():p),void 0!==h&&(y.onlyApproval=h),l.setSearchParams(o,y,f.query),A=m&&m.headers?m.headers:{},g.headers=i(i(i({},v),A),f.headers),[2,{url:l.toPathString(o),options:g}]}}))}))},refinementSearchCategories:function(n,r,s){return void 0===s&&(s={}),o(t,void 0,void 0,(function(){var t,o,c,u,d,p,h;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("refinementSearchCategories","lang",n),t="/refinement/{lang}/articles/categories/search".replace("{lang}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(c=e.baseOptions),u=i(i({method:"GET"},c),s),d={},p={},[4,l.setApiKeyToObject(d,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(d,e)];case 2:return a.sent(),void 0!==r&&(p.searchPhrase=r),l.setSearchParams(o,p,s.query),h=c&&c.headers?c.headers:{},u.headers=i(i(i({},d),h),s.headers),[2,{url:l.toPathString(o),options:u}]}}))}))},refinementSearchCollectionCategories:function(n,r,s){return void 0===s&&(s={}),o(t,void 0,void 0,(function(){var t,o,c,u,d,p,h;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("refinementSearchCollectionCategories","lang",n),t="/refinement/{lang}/collections/categories/search".replace("{lang}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(c=e.baseOptions),u=i(i({method:"GET"},c),s),d={},p={},[4,l.setApiKeyToObject(d,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(d,e)];case 2:return a.sent(),void 0!==r&&(p.searchPhrase=r),l.setSearchParams(o,p,s.query),h=c&&c.headers?c.headers:{},u.headers=i(i(i({},d),h),s.headers),[2,{url:l.toPathString(o),options:u}]}}))}))},refinementSearchCollectionsCustomer:function(n,r,s,c,u,d,p,h){return void 0===h&&(h={}),o(t,void 0,void 0,(function(){var t,o,f,m,g,v,y;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("refinementSearchCollectionsCustomer","lang",n),t="/refinement/{lang}/collections/search".replace("{lang}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(f=e.baseOptions),m=i(i({method:"GET"},f),h),g={},v={},[4,l.setApiKeyToObject(g,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(g,e)];case 2:return a.sent(),void 0!==r&&(v.searchPhrase=r),void 0!==s&&(v.selectedFilters=s),void 0!==c&&(v.pageSize=c),void 0!==u&&(v.page=u),void 0!==d&&(v.from=d instanceof Date?d.toISOString():d),void 0!==p&&(v.to=p instanceof Date?p.toISOString():p),l.setSearchParams(o,v,h.query),y=f&&f.headers?f.headers:{},m.headers=i(i(i({},g),y),h.headers),[2,{url:l.toPathString(o),options:m}]}}))}))},refinementSendArticleForApprovalPOST:function(n,r,s){return void 0===s&&(s={}),o(t,void 0,void 0,(function(){var t,o,c,u,d,p,h;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("refinementSendArticleForApprovalPOST","lang",n),l.assertParamExists("refinementSendArticleForApprovalPOST","articleId",r),t="/refinement/{lang}/articles/{articleId}/approval".replace("{lang}",encodeURIComponent(String(n))).replace("{articleId}",encodeURIComponent(String(r))),o=new URL(t,l.DUMMY_BASE_URL),e&&(c=e.baseOptions),u=i(i({method:"POST"},c),s),d={},p={},[4,l.setApiKeyToObject(d,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(d,e)];case 2:return a.sent(),l.setSearchParams(o,p,s.query),h=c&&c.headers?c.headers:{},u.headers=i(i(i({},d),h),s.headers),[2,{url:l.toPathString(o),options:u}]}}))}))},refinementSendCollectionForApprovalPOST:function(n,r,s){return void 0===s&&(s={}),o(t,void 0,void 0,(function(){var t,o,c,u,d,p,h;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("refinementSendCollectionForApprovalPOST","lang",n),l.assertParamExists("refinementSendCollectionForApprovalPOST","collectionId",r),t="/refinement/{lang}/collections/{collectionId}/approval".replace("{lang}",encodeURIComponent(String(n))).replace("{collectionId}",encodeURIComponent(String(r))),o=new URL(t,l.DUMMY_BASE_URL),e&&(c=e.baseOptions),u=i(i({method:"POST"},c),s),d={},p={},[4,l.setApiKeyToObject(d,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(d,e)];case 2:return a.sent(),l.setSearchParams(o,p,s.query),h=c&&c.headers?c.headers:{},u.headers=i(i(i({},d),h),s.headers),[2,{url:l.toPathString(o),options:u}]}}))}))},refinementUpdateArticleMonitoringInfoPOST:function(n,r,s,c,u){return void 0===u&&(u={}),o(t,void 0,void 0,(function(){var t,o,d,p,h,f,m;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("refinementUpdateArticleMonitoringInfoPOST","articleId",n),l.assertParamExists("refinementUpdateArticleMonitoringInfoPOST","lang",r),t="/refinement/{lang}/articles/monitoring/{articleId}".replace("{articleId}",encodeURIComponent(String(n))).replace("{lang}",encodeURIComponent(String(r))),o=new URL(t,l.DUMMY_BASE_URL),e&&(d=e.baseOptions),p=i(i({method:"POST"},d),u),h={},f={},[4,l.setApiKeyToObject(h,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(h,e)];case 2:return a.sent(),void 0!==s&&(f.minimumQuantity=s),void 0!==c&&(f.email=c),l.setSearchParams(o,f,u.query),m=d&&d.headers?d.headers:{},p.headers=i(i(i({},h),m),u.headers),[2,{url:l.toPathString(o),options:p}]}}))}))},refinementUpdateArticlePOST:function(n,r,s,c,u){return void 0===u&&(u={}),o(t,void 0,void 0,(function(){var t,o,d,p,h,f,m;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("refinementUpdateArticlePOST","lang",n),l.assertParamExists("refinementUpdateArticlePOST","articleId",r),t="/refinement/{lang}/articles/{articleId}/update".replace("{lang}",encodeURIComponent(String(n))).replace("{articleId}",encodeURIComponent(String(r))),o=new URL(t,l.DUMMY_BASE_URL),e&&(d=e.baseOptions),p=i(i({method:"POST"},d),u),h={},f={},[4,l.setApiKeyToObject(h,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(h,e)];case 2:return a.sent(),void 0!==s&&(f.articleName=s),h["Content-Type"]="application/json",l.setSearchParams(o,f,u.query),m=d&&d.headers?d.headers:{},p.headers=i(i(i({},h),m),u.headers),p.data=l.serializeDataIfNeeded(c,p,e),[2,{url:l.toPathString(o),options:p}]}}))}))},refinementUpdateCategoryPOST:function(n,r,s,c){return void 0===c&&(c={}),o(t,void 0,void 0,(function(){var t,o,u,d,p,h,f;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("refinementUpdateCategoryPOST","lang",n),t="/refinement/{lang}/articles/category/update".replace("{lang}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(u=e.baseOptions),d=i(i({method:"POST"},u),c),p={},h={},[4,l.setApiKeyToObject(p,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(p,e)];case 2:return a.sent(),void 0!==r&&(h.newCategory=r),void 0!==s&&(h.oldCategory=s),l.setSearchParams(o,h,c.query),f=u&&u.headers?u.headers:{},d.headers=i(i(i({},p),f),c.headers),[2,{url:l.toPathString(o),options:d}]}}))}))},refinementUpdateCollectionCategoryPOST:function(n,r,s,c){return void 0===c&&(c={}),o(t,void 0,void 0,(function(){var t,o,u,d,p,h,f;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("refinementUpdateCollectionCategoryPOST","lang",n),t="/refinement/{lang}/collections/category/update".replace("{lang}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(u=e.baseOptions),d=i(i({method:"POST"},u),c),p={},h={},[4,l.setApiKeyToObject(p,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(p,e)];case 2:return a.sent(),void 0!==r&&(h.newCategory=r),void 0!==s&&(h.oldCategory=s),l.setSearchParams(o,h,c.query),f=u&&u.headers?u.headers:{},d.headers=i(i(i({},p),f),c.headers),[2,{url:l.toPathString(o),options:d}]}}))}))},refinementUpdateCollectionPOST:function(n,r,s,c,u){return void 0===u&&(u={}),o(t,void 0,void 0,(function(){var t,o,d,p,h,f,m;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("refinementUpdateCollectionPOST","lang",n),l.assertParamExists("refinementUpdateCollectionPOST","collectionId",r),t="/refinement/{lang}/collections/{collectionId}/update".replace("{lang}",encodeURIComponent(String(n))).replace("{collectionId}",encodeURIComponent(String(r))),o=new URL(t,l.DUMMY_BASE_URL),e&&(d=e.baseOptions),p=i(i({method:"POST"},d),u),h={},f={},[4,l.setApiKeyToObject(h,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(h,e)];case 2:return a.sent(),void 0!==s&&(f.collectionName=s),h["Content-Type"]="application/json",l.setSearchParams(o,f,u.query),m=d&&d.headers?d.headers:{},p.headers=i(i(i({},h),m),u.headers),p.data=l.serializeDataIfNeeded(c,p,e),[2,{url:l.toPathString(o),options:p}]}}))}))},refinementUpdateCollectionStatusPOST:function(n,r,s,c){return void 0===c&&(c={}),o(t,void 0,void 0,(function(){var t,o,u,d,p,h,f;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("refinementUpdateCollectionStatusPOST","lang",n),t="/refinement/{lang}/collections/status/update".replace("{lang}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(u=e.baseOptions),d=i(i({method:"POST"},u),c),p={},h={},[4,l.setApiKeyToObject(p,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(p,e)];case 2:return a.sent(),void 0!==r&&(h.collectionId=r),void 0!==s&&(h.status=s),l.setSearchParams(o,h,c.query),f=u&&u.headers?u.headers:{},d.headers=i(i(i({},p),f),c.headers),[2,{url:l.toPathString(o),options:d}]}}))}))},refinementUpdateStatusPOST:function(n,r,s,c){return void 0===c&&(c={}),o(t,void 0,void 0,(function(){var t,o,u,d,p,h,f;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("refinementUpdateStatusPOST","lang",n),t="/refinement/{lang}/articles/status/update".replace("{lang}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(u=e.baseOptions),d=i(i({method:"POST"},u),c),p={},h={},[4,l.setApiKeyToObject(p,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(p,e)];case 2:return a.sent(),void 0!==r&&(h.articleId=r),void 0!==s&&(h.status=s),l.setSearchParams(o,h,c.query),f=u&&u.headers?u.headers:{},d.headers=i(i(i({},p),f),c.headers),[2,{url:l.toPathString(o),options:d}]}}))}))},refinementUpdateStatusPartnerPOST:function(n,r,s,c,u,d){return void 0===d&&(d={}),o(t,void 0,void 0,(function(){var t,o,p,h,f,m,g;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("refinementUpdateStatusPartnerPOST","lang",n),t="/refinement/{lang}/articles/partner/status/update".replace("{lang}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(p=e.baseOptions),h=i(i({method:"POST"},p),d),f={},m={},[4,l.setApiKeyToObject(f,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(f,e)];case 2:return a.sent(),void 0!==r&&(m.partner=r),void 0!==s&&(m.secret=s),void 0!==c&&(m.articleId=c),void 0!==u&&(m.status=u),l.setSearchParams(o,m,d.query),g=p&&p.headers?p.headers:{},h.headers=i(i(i({},f),g),d.headers),[2,{url:l.toPathString(o),options:h}]}}))}))},refinementUpdateStockQuantityPOST:function(n,r,s,c){return void 0===c&&(c={}),o(t,void 0,void 0,(function(){var t,o,u,d,p,h,f;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("refinementUpdateStockQuantityPOST","lang",n),t="/refinement/{lang}/articles/stockquantity/update".replace("{lang}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(u=e.baseOptions),d=i(i({method:"POST"},u),c),p={},h={},[4,l.setApiKeyToObject(p,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(p,e)];case 2:return a.sent(),void 0!==r&&(h.articleId=r),void 0!==s&&(h.quantity=s),l.setSearchParams(o,h,c.query),f=u&&u.headers?u.headers:{},d.headers=i(i(i({},p),f),c.headers),[2,{url:l.toPathString(o),options:d}]}}))}))},refinementUpdateStockQuantityPartnerPOST:function(n,r,s,c,u,d){return void 0===d&&(d={}),o(t,void 0,void 0,(function(){var t,o,p,h,f,m,g;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("refinementUpdateStockQuantityPartnerPOST","lang",n),t="/refinement/{lang}/articles/partner/stockquantity/update".replace("{lang}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(p=e.baseOptions),h=i(i({method:"POST"},p),d),f={},m={},[4,l.setApiKeyToObject(f,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(f,e)];case 2:return a.sent(),void 0!==r&&(m.partner=r),void 0!==s&&(m.secret=s),void 0!==c&&(m.articleId=c),void 0!==u&&(m.quantity=u),l.setSearchParams(o,m,d.query),g=p&&p.headers?p.headers:{},h.headers=i(i(i({},f),g),d.headers),[2,{url:l.toPathString(o),options:h}]}}))}))}}},t.RefinementApiFp=function(e){var n=t.RefinementApiAxiosParamCreator(e);return{refinementAddCategoryToArticlePOST:function(t,r,i,u){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.refinementAddCategoryToArticlePOST(t,r,i,u)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},refinementAddCategoryToCollectionPOST:function(t,r,i,u){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.refinementAddCategoryToCollectionPOST(t,r,i,u)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},refinementArchiveArticle:function(t,r,i,u){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.refinementArchiveArticle(t,r,i,u)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},refinementArchiveCollectionPOST:function(t,r,i,u){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.refinementArchiveCollectionPOST(t,r,i,u)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},refinementChangeCollectionPOST:function(t,r,i,u,d,p,h){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.refinementChangeCollectionPOST(t,r,i,u,d,p,h)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},refinementCreateDraftArticlePOST:function(t,r,i,u){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.refinementCreateDraftArticlePOST(t,r,i,u)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},refinementDeleteCollectionPOST:function(t,r,i){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.refinementDeleteCollectionPOST(t,r,i)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},refinementDeleteDraftArticle:function(t,r,i){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.refinementDeleteDraftArticle(t,r,i)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},refinementGetArticle:function(t,r,i){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.refinementGetArticle(t,r,i)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},refinementGetArticleDetails:function(t,r,i){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.refinementGetArticleDetails(t,r,i)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},refinementGetCollection:function(t,r,i){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.refinementGetCollection(t,r,i)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},refinementGetCollectionData:function(t,r,i){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.refinementGetCollectionData(t,r,i)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},refinementGetCollectionDetails:function(t,r,i){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.refinementGetCollectionDetails(t,r,i)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},refinementGetCollectionFilters:function(t,r){return o(this,void 0,void 0,(function(){var i;return a(this,(function(o){switch(o.label){case 0:return[4,n.refinementGetCollectionFilters(t,r)];case 1:return i=o.sent(),[2,l.createRequestFunction(i,s.default,c.BASE_PATH,e)]}}))}))},refinementGetCollectionsPOST:function(t,r,i){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.refinementGetCollectionsPOST(t,r,i)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},refinementGetFilters:function(t,r,i){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.refinementGetFilters(t,r,i)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},refinementGetFiltersPartner:function(t,r,i,u){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.refinementGetFiltersPartner(t,r,i,u)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},refinementGetFiltersSeller:function(t,r){return o(this,void 0,void 0,(function(){var i;return a(this,(function(o){switch(o.label){case 0:return[4,n.refinementGetFiltersSeller(t,r)];case 1:return i=o.sent(),[2,l.createRequestFunction(i,s.default,c.BASE_PATH,e)]}}))}))},refinementGetMountedArticlePOST:function(t,r,i,u){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.refinementGetMountedArticlePOST(t,r,i,u)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},refinementGetRefinementCostPreviewsPOST:function(t,r,i,u,d,p,h){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.refinementGetRefinementCostPreviewsPOST(t,r,i,u,d,p,h)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},refinementGetRefinementProducts:function(t,r,i,u,d){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.refinementGetRefinementProducts(t,r,i,u,d)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},refinementGetRefinmentPreviews:function(t,r,i,u){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.refinementGetRefinmentPreviews(t,r,i,u)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},refinementGetSpecialRefinementProducts:function(t,r){return o(this,void 0,void 0,(function(){var i;return a(this,(function(o){switch(o.label){case 0:return[4,n.refinementGetSpecialRefinementProducts(t,r)];case 1:return i=o.sent(),[2,l.createRequestFunction(i,s.default,c.BASE_PATH,e)]}}))}))},refinementGetStockQuantity:function(t,r,i){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.refinementGetStockQuantity(t,r,i)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},refinementGetStockQuantityPartner:function(t,r,i,u,d){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.refinementGetStockQuantityPartner(t,r,i,u,d)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},refinementRemoveCategoryFromArticle:function(t,r,i,u){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.refinementRemoveCategoryFromArticle(t,r,i,u)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},refinementRemoveCategoryFromCollection:function(t,r,i,u){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.refinementRemoveCategoryFromCollection(t,r,i,u)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},refinementSearchArticlesCustomer:function(t,r,i,u,d,p,h,f,m){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.refinementSearchArticlesCustomer(t,r,i,u,d,p,h,f,m)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},refinementSearchArticlesPartner:function(t,r,i,u,d,p,h,f,m,g,v){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.refinementSearchArticlesPartner(t,r,i,u,d,p,h,f,m,g,v)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},refinementSearchArticlesSeller:function(t,r,i,u,d,p,h,f,m){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.refinementSearchArticlesSeller(t,r,i,u,d,p,h,f,m)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},refinementSearchCategories:function(t,r,i){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.refinementSearchCategories(t,r,i)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},refinementSearchCollectionCategories:function(t,r,i){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.refinementSearchCollectionCategories(t,r,i)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},refinementSearchCollectionsCustomer:function(t,r,i,u,d,p,h,f){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.refinementSearchCollectionsCustomer(t,r,i,u,d,p,h,f)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},refinementSendArticleForApprovalPOST:function(t,r,i){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.refinementSendArticleForApprovalPOST(t,r,i)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},refinementSendCollectionForApprovalPOST:function(t,r,i){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.refinementSendCollectionForApprovalPOST(t,r,i)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},refinementUpdateArticleMonitoringInfoPOST:function(t,r,i,u,d){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.refinementUpdateArticleMonitoringInfoPOST(t,r,i,u,d)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},refinementUpdateArticlePOST:function(t,r,i,u,d){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.refinementUpdateArticlePOST(t,r,i,u,d)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},refinementUpdateCategoryPOST:function(t,r,i,u){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.refinementUpdateCategoryPOST(t,r,i,u)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},refinementUpdateCollectionCategoryPOST:function(t,r,i,u){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.refinementUpdateCollectionCategoryPOST(t,r,i,u)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},refinementUpdateCollectionPOST:function(t,r,i,u,d){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.refinementUpdateCollectionPOST(t,r,i,u,d)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},refinementUpdateCollectionStatusPOST:function(t,r,i,u){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.refinementUpdateCollectionStatusPOST(t,r,i,u)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},refinementUpdateStatusPOST:function(t,r,i,u){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.refinementUpdateStatusPOST(t,r,i,u)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},refinementUpdateStatusPartnerPOST:function(t,r,i,u,d,p){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.refinementUpdateStatusPartnerPOST(t,r,i,u,d,p)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},refinementUpdateStockQuantityPOST:function(t,r,i,u){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.refinementUpdateStockQuantityPOST(t,r,i,u)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},refinementUpdateStockQuantityPartnerPOST:function(t,r,i,u,d,p){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.refinementUpdateStockQuantityPartnerPOST(t,r,i,u,d,p)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))}}},t.RefinementApiFactory=function(e,n,r){var i=t.RefinementApiFp(e);return{refinementAddCategoryToArticlePOST:function(e,t,o,a){return i.refinementAddCategoryToArticlePOST(e,t,o,a).then((function(e){return e(r,n)}))},refinementAddCategoryToCollectionPOST:function(e,t,o,a){return i.refinementAddCategoryToCollectionPOST(e,t,o,a).then((function(e){return e(r,n)}))},refinementArchiveArticle:function(e,t,o,a){return i.refinementArchiveArticle(e,t,o,a).then((function(e){return e(r,n)}))},refinementArchiveCollectionPOST:function(e,t,o,a){return i.refinementArchiveCollectionPOST(e,t,o,a).then((function(e){return e(r,n)}))},refinementChangeCollectionPOST:function(e,t,o,a,s,l,c){return i.refinementChangeCollectionPOST(e,t,o,a,s,l,c).then((function(e){return e(r,n)}))},refinementCreateDraftArticlePOST:function(e,t,o,a){return i.refinementCreateDraftArticlePOST(e,t,o,a).then((function(e){return e(r,n)}))},refinementDeleteCollectionPOST:function(e,t,o){return i.refinementDeleteCollectionPOST(e,t,o).then((function(e){return e(r,n)}))},refinementDeleteDraftArticle:function(e,t,o){return i.refinementDeleteDraftArticle(e,t,o).then((function(e){return e(r,n)}))},refinementGetArticle:function(e,t,o){return i.refinementGetArticle(e,t,o).then((function(e){return e(r,n)}))},refinementGetArticleDetails:function(e,t,o){return i.refinementGetArticleDetails(e,t,o).then((function(e){return e(r,n)}))},refinementGetCollection:function(e,t,o){return i.refinementGetCollection(e,t,o).then((function(e){return e(r,n)}))},refinementGetCollectionData:function(e,t,o){return i.refinementGetCollectionData(e,t,o).then((function(e){return e(r,n)}))},refinementGetCollectionDetails:function(e,t,o){return i.refinementGetCollectionDetails(e,t,o).then((function(e){return e(r,n)}))},refinementGetCollectionFilters:function(e,t){return i.refinementGetCollectionFilters(e,t).then((function(e){return e(r,n)}))},refinementGetCollectionsPOST:function(e,t,o){return i.refinementGetCollectionsPOST(e,t,o).then((function(e){return e(r,n)}))},refinementGetFilters:function(e,t,o){return i.refinementGetFilters(e,t,o).then((function(e){return e(r,n)}))},refinementGetFiltersPartner:function(e,t,o,a){return i.refinementGetFiltersPartner(e,t,o,a).then((function(e){return e(r,n)}))},refinementGetFiltersSeller:function(e,t){return i.refinementGetFiltersSeller(e,t).then((function(e){return e(r,n)}))},refinementGetMountedArticlePOST:function(e,t,o,a){return i.refinementGetMountedArticlePOST(e,t,o,a).then((function(e){return e(r,n)}))},refinementGetRefinementCostPreviewsPOST:function(e,t,o,a,s,l,c){return i.refinementGetRefinementCostPreviewsPOST(e,t,o,a,s,l,c).then((function(e){return e(r,n)}))},refinementGetRefinementProducts:function(e,t,o,a,s){return i.refinementGetRefinementProducts(e,t,o,a,s).then((function(e){return e(r,n)}))},refinementGetRefinmentPreviews:function(e,t,o,a){return i.refinementGetRefinmentPreviews(e,t,o,a).then((function(e){return e(r,n)}))},refinementGetSpecialRefinementProducts:function(e,t){return i.refinementGetSpecialRefinementProducts(e,t).then((function(e){return e(r,n)}))},refinementGetStockQuantity:function(e,t,o){return i.refinementGetStockQuantity(e,t,o).then((function(e){return e(r,n)}))},refinementGetStockQuantityPartner:function(e,t,o,a,s){return i.refinementGetStockQuantityPartner(e,t,o,a,s).then((function(e){return e(r,n)}))},refinementRemoveCategoryFromArticle:function(e,t,o,a){return i.refinementRemoveCategoryFromArticle(e,t,o,a).then((function(e){return e(r,n)}))},refinementRemoveCategoryFromCollection:function(e,t,o,a){return i.refinementRemoveCategoryFromCollection(e,t,o,a).then((function(e){return e(r,n)}))},refinementSearchArticlesCustomer:function(e,t,o,a,s,l,c,u,d){return i.refinementSearchArticlesCustomer(e,t,o,a,s,l,c,u,d).then((function(e){return e(r,n)}))},refinementSearchArticlesPartner:function(e,t,o,a,s,l,c,u,d,p,h){return i.refinementSearchArticlesPartner(e,t,o,a,s,l,c,u,d,p,h).then((function(e){return e(r,n)}))},refinementSearchArticlesSeller:function(e,t,o,a,s,l,c,u,d){return i.refinementSearchArticlesSeller(e,t,o,a,s,l,c,u,d).then((function(e){return e(r,n)}))},refinementSearchCategories:function(e,t,o){return i.refinementSearchCategories(e,t,o).then((function(e){return e(r,n)}))},refinementSearchCollectionCategories:function(e,t,o){return i.refinementSearchCollectionCategories(e,t,o).then((function(e){return e(r,n)}))},refinementSearchCollectionsCustomer:function(e,t,o,a,s,l,c,u){return i.refinementSearchCollectionsCustomer(e,t,o,a,s,l,c,u).then((function(e){return e(r,n)}))},refinementSendArticleForApprovalPOST:function(e,t,o){return i.refinementSendArticleForApprovalPOST(e,t,o).then((function(e){return e(r,n)}))},refinementSendCollectionForApprovalPOST:function(e,t,o){return i.refinementSendCollectionForApprovalPOST(e,t,o).then((function(e){return e(r,n)}))},refinementUpdateArticleMonitoringInfoPOST:function(e,t,o,a,s){return i.refinementUpdateArticleMonitoringInfoPOST(e,t,o,a,s).then((function(e){return e(r,n)}))},refinementUpdateArticlePOST:function(e,t,o,a,s){return i.refinementUpdateArticlePOST(e,t,o,a,s).then((function(e){return e(r,n)}))},refinementUpdateCategoryPOST:function(e,t,o,a){return i.refinementUpdateCategoryPOST(e,t,o,a).then((function(e){return e(r,n)}))},refinementUpdateCollectionCategoryPOST:function(e,t,o,a){return i.refinementUpdateCollectionCategoryPOST(e,t,o,a).then((function(e){return e(r,n)}))},refinementUpdateCollectionPOST:function(e,t,o,a,s){return i.refinementUpdateCollectionPOST(e,t,o,a,s).then((function(e){return e(r,n)}))},refinementUpdateCollectionStatusPOST:function(e,t,o,a){return i.refinementUpdateCollectionStatusPOST(e,t,o,a).then((function(e){return e(r,n)}))},refinementUpdateStatusPOST:function(e,t,o,a){return i.refinementUpdateStatusPOST(e,t,o,a).then((function(e){return e(r,n)}))},refinementUpdateStatusPartnerPOST:function(e,t,o,a,s,l){return i.refinementUpdateStatusPartnerPOST(e,t,o,a,s,l).then((function(e){return e(r,n)}))},refinementUpdateStockQuantityPOST:function(e,t,o,a){return i.refinementUpdateStockQuantityPOST(e,t,o,a).then((function(e){return e(r,n)}))},refinementUpdateStockQuantityPartnerPOST:function(e,t,o,a,s,l){return i.refinementUpdateStockQuantityPartnerPOST(e,t,o,a,s,l).then((function(e){return e(r,n)}))}}};var w=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return r(n,e),n.prototype.refinementAddCategoryToArticlePOST=function(e,n,r,i){var o=this;return t.RefinementApiFp(this.configuration).refinementAddCategoryToArticlePOST(e,n,r,i).then((function(e){return e(o.axios,o.basePath)}))},n.prototype.refinementAddCategoryToCollectionPOST=function(e,n,r,i){var o=this;return t.RefinementApiFp(this.configuration).refinementAddCategoryToCollectionPOST(e,n,r,i).then((function(e){return e(o.axios,o.basePath)}))},n.prototype.refinementArchiveArticle=function(e,n,r,i){var o=this;return t.RefinementApiFp(this.configuration).refinementArchiveArticle(e,n,r,i).then((function(e){return e(o.axios,o.basePath)}))},n.prototype.refinementArchiveCollectionPOST=function(e,n,r,i){var o=this;return t.RefinementApiFp(this.configuration).refinementArchiveCollectionPOST(e,n,r,i).then((function(e){return e(o.axios,o.basePath)}))},n.prototype.refinementChangeCollectionPOST=function(e,n,r,i,o,a,s){var l=this;return t.RefinementApiFp(this.configuration).refinementChangeCollectionPOST(e,n,r,i,o,a,s).then((function(e){return e(l.axios,l.basePath)}))},n.prototype.refinementCreateDraftArticlePOST=function(e,n,r,i){var o=this;return t.RefinementApiFp(this.configuration).refinementCreateDraftArticlePOST(e,n,r,i).then((function(e){return e(o.axios,o.basePath)}))},n.prototype.refinementDeleteCollectionPOST=function(e,n,r){var i=this;return t.RefinementApiFp(this.configuration).refinementDeleteCollectionPOST(e,n,r).then((function(e){return e(i.axios,i.basePath)}))},n.prototype.refinementDeleteDraftArticle=function(e,n,r){var i=this;return t.RefinementApiFp(this.configuration).refinementDeleteDraftArticle(e,n,r).then((function(e){return e(i.axios,i.basePath)}))},n.prototype.refinementGetArticle=function(e,n,r){var i=this;return t.RefinementApiFp(this.configuration).refinementGetArticle(e,n,r).then((function(e){return e(i.axios,i.basePath)}))},n.prototype.refinementGetArticleDetails=function(e,n,r){var i=this;return t.RefinementApiFp(this.configuration).refinementGetArticleDetails(e,n,r).then((function(e){return e(i.axios,i.basePath)}))},n.prototype.refinementGetCollection=function(e,n,r){var i=this;return t.RefinementApiFp(this.configuration).refinementGetCollection(e,n,r).then((function(e){return e(i.axios,i.basePath)}))},n.prototype.refinementGetCollectionData=function(e,n,r){var i=this;return t.RefinementApiFp(this.configuration).refinementGetCollectionData(e,n,r).then((function(e){return e(i.axios,i.basePath)}))},n.prototype.refinementGetCollectionDetails=function(e,n,r){var i=this;return t.RefinementApiFp(this.configuration).refinementGetCollectionDetails(e,n,r).then((function(e){return e(i.axios,i.basePath)}))},n.prototype.refinementGetCollectionFilters=function(e,n){var r=this;return t.RefinementApiFp(this.configuration).refinementGetCollectionFilters(e,n).then((function(e){return e(r.axios,r.basePath)}))},n.prototype.refinementGetCollectionsPOST=function(e,n,r){var i=this;return t.RefinementApiFp(this.configuration).refinementGetCollectionsPOST(e,n,r).then((function(e){return e(i.axios,i.basePath)}))},n.prototype.refinementGetFilters=function(e,n,r){var i=this;return t.RefinementApiFp(this.configuration).refinementGetFilters(e,n,r).then((function(e){return e(i.axios,i.basePath)}))},n.prototype.refinementGetFiltersPartner=function(e,n,r,i){var o=this;return t.RefinementApiFp(this.configuration).refinementGetFiltersPartner(e,n,r,i).then((function(e){return e(o.axios,o.basePath)}))},n.prototype.refinementGetFiltersSeller=function(e,n){var r=this;return t.RefinementApiFp(this.configuration).refinementGetFiltersSeller(e,n).then((function(e){return e(r.axios,r.basePath)}))},n.prototype.refinementGetMountedArticlePOST=function(e,n,r,i){var o=this;return t.RefinementApiFp(this.configuration).refinementGetMountedArticlePOST(e,n,r,i).then((function(e){return e(o.axios,o.basePath)}))},n.prototype.refinementGetRefinementCostPreviewsPOST=function(e,n,r,i,o,a,s){var l=this;return t.RefinementApiFp(this.configuration).refinementGetRefinementCostPreviewsPOST(e,n,r,i,o,a,s).then((function(e){return e(l.axios,l.basePath)}))},n.prototype.refinementGetRefinementProducts=function(e,n,r,i,o){var a=this;return t.RefinementApiFp(this.configuration).refinementGetRefinementProducts(e,n,r,i,o).then((function(e){return e(a.axios,a.basePath)}))},n.prototype.refinementGetRefinmentPreviews=function(e,n,r,i){var o=this;return t.RefinementApiFp(this.configuration).refinementGetRefinmentPreviews(e,n,r,i).then((function(e){return e(o.axios,o.basePath)}))},n.prototype.refinementGetSpecialRefinementProducts=function(e,n){var r=this;return t.RefinementApiFp(this.configuration).refinementGetSpecialRefinementProducts(e,n).then((function(e){return e(r.axios,r.basePath)}))},n.prototype.refinementGetStockQuantity=function(e,n,r){var i=this;return t.RefinementApiFp(this.configuration).refinementGetStockQuantity(e,n,r).then((function(e){return e(i.axios,i.basePath)}))},n.prototype.refinementGetStockQuantityPartner=function(e,n,r,i,o){var a=this;return t.RefinementApiFp(this.configuration).refinementGetStockQuantityPartner(e,n,r,i,o).then((function(e){return e(a.axios,a.basePath)}))},n.prototype.refinementRemoveCategoryFromArticle=function(e,n,r,i){var o=this;return t.RefinementApiFp(this.configuration).refinementRemoveCategoryFromArticle(e,n,r,i).then((function(e){return e(o.axios,o.basePath)}))},n.prototype.refinementRemoveCategoryFromCollection=function(e,n,r,i){var o=this;return t.RefinementApiFp(this.configuration).refinementRemoveCategoryFromCollection(e,n,r,i).then((function(e){return e(o.axios,o.basePath)}))},n.prototype.refinementSearchArticlesCustomer=function(e,n,r,i,o,a,s,l,c){var u=this;return t.RefinementApiFp(this.configuration).refinementSearchArticlesCustomer(e,n,r,i,o,a,s,l,c).then((function(e){return e(u.axios,u.basePath)}))},n.prototype.refinementSearchArticlesPartner=function(e,n,r,i,o,a,s,l,c,u,d){var p=this;return t.RefinementApiFp(this.configuration).refinementSearchArticlesPartner(e,n,r,i,o,a,s,l,c,u,d).then((function(e){return e(p.axios,p.basePath)}))},n.prototype.refinementSearchArticlesSeller=function(e,n,r,i,o,a,s,l,c){var u=this;return t.RefinementApiFp(this.configuration).refinementSearchArticlesSeller(e,n,r,i,o,a,s,l,c).then((function(e){return e(u.axios,u.basePath)}))},n.prototype.refinementSearchCategories=function(e,n,r){var i=this;return t.RefinementApiFp(this.configuration).refinementSearchCategories(e,n,r).then((function(e){return e(i.axios,i.basePath)}))},n.prototype.refinementSearchCollectionCategories=function(e,n,r){var i=this;return t.RefinementApiFp(this.configuration).refinementSearchCollectionCategories(e,n,r).then((function(e){return e(i.axios,i.basePath)}))},n.prototype.refinementSearchCollectionsCustomer=function(e,n,r,i,o,a,s,l){var c=this;return t.RefinementApiFp(this.configuration).refinementSearchCollectionsCustomer(e,n,r,i,o,a,s,l).then((function(e){return e(c.axios,c.basePath)}))},n.prototype.refinementSendArticleForApprovalPOST=function(e,n,r){var i=this;return t.RefinementApiFp(this.configuration).refinementSendArticleForApprovalPOST(e,n,r).then((function(e){return e(i.axios,i.basePath)}))},n.prototype.refinementSendCollectionForApprovalPOST=function(e,n,r){var i=this;return t.RefinementApiFp(this.configuration).refinementSendCollectionForApprovalPOST(e,n,r).then((function(e){return e(i.axios,i.basePath)}))},n.prototype.refinementUpdateArticleMonitoringInfoPOST=function(e,n,r,i,o){var a=this;return t.RefinementApiFp(this.configuration).refinementUpdateArticleMonitoringInfoPOST(e,n,r,i,o).then((function(e){return e(a.axios,a.basePath)}))},n.prototype.refinementUpdateArticlePOST=function(e,n,r,i,o){var a=this;return t.RefinementApiFp(this.configuration).refinementUpdateArticlePOST(e,n,r,i,o).then((function(e){return e(a.axios,a.basePath)}))},n.prototype.refinementUpdateCategoryPOST=function(e,n,r,i){var o=this;return t.RefinementApiFp(this.configuration).refinementUpdateCategoryPOST(e,n,r,i).then((function(e){return e(o.axios,o.basePath)}))},n.prototype.refinementUpdateCollectionCategoryPOST=function(e,n,r,i){var o=this;return t.RefinementApiFp(this.configuration).refinementUpdateCollectionCategoryPOST(e,n,r,i).then((function(e){return e(o.axios,o.basePath)}))},n.prototype.refinementUpdateCollectionPOST=function(e,n,r,i,o){var a=this;return t.RefinementApiFp(this.configuration).refinementUpdateCollectionPOST(e,n,r,i,o).then((function(e){return e(a.axios,a.basePath)}))},n.prototype.refinementUpdateCollectionStatusPOST=function(e,n,r,i){var o=this;return t.RefinementApiFp(this.configuration).refinementUpdateCollectionStatusPOST(e,n,r,i).then((function(e){return e(o.axios,o.basePath)}))},n.prototype.refinementUpdateStatusPOST=function(e,n,r,i){var o=this;return t.RefinementApiFp(this.configuration).refinementUpdateStatusPOST(e,n,r,i).then((function(e){return e(o.axios,o.basePath)}))},n.prototype.refinementUpdateStatusPartnerPOST=function(e,n,r,i,o,a){var s=this;return t.RefinementApiFp(this.configuration).refinementUpdateStatusPartnerPOST(e,n,r,i,o,a).then((function(e){return e(s.axios,s.basePath)}))},n.prototype.refinementUpdateStockQuantityPOST=function(e,n,r,i){var o=this;return t.RefinementApiFp(this.configuration).refinementUpdateStockQuantityPOST(e,n,r,i).then((function(e){return e(o.axios,o.basePath)}))},n.prototype.refinementUpdateStockQuantityPartnerPOST=function(e,n,r,i,o,a){var s=this;return t.RefinementApiFp(this.configuration).refinementUpdateStockQuantityPartnerPOST(e,n,r,i,o,a).then((function(e){return e(s.axios,s.basePath)}))},n}(c.BaseAPI);t.RefinementApi=w,t.SalesboardApiAxiosParamCreator=function(e){var t=this;return{salesboardGetLeaderboard:function(n,r,s,c){return void 0===c&&(c={}),o(t,void 0,void 0,(function(){var t,o,u,d,p,h;return a(this,(function(a){switch(a.label){case 0:return t=new URL("/salesboard/leaderboard",l.DUMMY_BASE_URL),e&&(o=e.baseOptions),u=i(i({method:"GET"},o),c),d={},p={},[4,l.setApiKeyToObject(d,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(d,e)];case 2:return a.sent(),void 0!==n&&(p.period=n),void 0!==r&&(p.visits=r),void 0!==s&&(p.includePreviousPeriod=s),l.setSearchParams(t,p,c.query),h=o&&o.headers?o.headers:{},u.headers=i(i(i({},d),h),c.headers),[2,{url:l.toPathString(t),options:u}]}}))}))},salesboardGetSalesboard:function(n,r,s,c,u){return void 0===u&&(u={}),o(t,void 0,void 0,(function(){var t,o,d,p,h,f;return a(this,(function(a){switch(a.label){case 0:return t=new URL("/salesboard/board",l.DUMMY_BASE_URL),e&&(o=e.baseOptions),d=i(i({method:"GET"},o),u),p={},h={},[4,l.setApiKeyToObject(p,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(p,e)];case 2:return a.sent(),void 0!==n&&(h.lang=n),void 0!==r&&(h.period=r),void 0!==s&&(h.visits=s),void 0!==c&&(h.includePreviousPeriod=c),l.setSearchParams(t,h,u.query),f=o&&o.headers?o.headers:{},d.headers=i(i(i({},p),f),u.headers),[2,{url:l.toPathString(t),options:d}]}}))}))},salesboardGetTopOrders:function(n,r){return void 0===r&&(r={}),o(t,void 0,void 0,(function(){var t,o,s,c,u,d;return a(this,(function(a){switch(a.label){case 0:return t=new URL("/salesboard/toporders",l.DUMMY_BASE_URL),e&&(o=e.baseOptions),s=i(i({method:"GET"},o),r),c={},u={},[4,l.setApiKeyToObject(c,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(c,e)];case 2:return a.sent(),void 0!==n&&(u.period=n),l.setSearchParams(t,u,r.query),d=o&&o.headers?o.headers:{},s.headers=i(i(i({},c),d),r.headers),[2,{url:l.toPathString(t),options:s}]}}))}))},salesboardGetTopProducts:function(n,r,s){return void 0===s&&(s={}),o(t,void 0,void 0,(function(){var t,o,c,u,d,p;return a(this,(function(a){switch(a.label){case 0:return t=new URL("/salesboard/topproducts",l.DUMMY_BASE_URL),e&&(o=e.baseOptions),c=i(i({method:"GET"},o),s),u={},d={},[4,l.setApiKeyToObject(u,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(u,e)];case 2:return a.sent(),void 0!==n&&(d.lang=n),void 0!==r&&(d.period=r),l.setSearchParams(t,d,s.query),p=o&&o.headers?o.headers:{},c.headers=i(i(i({},u),p),s.headers),[2,{url:l.toPathString(t),options:c}]}}))}))},salesboardGetTotalOrderValue:function(n,r,s){return void 0===s&&(s={}),o(t,void 0,void 0,(function(){var t,o,c,u,d,p;return a(this,(function(a){switch(a.label){case 0:return t=new URL("/salesboard/totalordervalue",l.DUMMY_BASE_URL),e&&(o=e.baseOptions),c=i(i({method:"GET"},o),s),u={},d={},[4,l.setApiKeyToObject(u,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(u,e)];case 2:return a.sent(),void 0!==n&&(d.period=n),void 0!==r&&(d.includePreviousPeriod=r),l.setSearchParams(t,d,s.query),p=o&&o.headers?o.headers:{},c.headers=i(i(i({},u),p),s.headers),[2,{url:l.toPathString(t),options:c}]}}))}))}}},t.SalesboardApiFp=function(e){var n=t.SalesboardApiAxiosParamCreator(e);return{salesboardGetLeaderboard:function(t,r,i,u){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.salesboardGetLeaderboard(t,r,i,u)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},salesboardGetSalesboard:function(t,r,i,u,d){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.salesboardGetSalesboard(t,r,i,u,d)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},salesboardGetTopOrders:function(t,r){return o(this,void 0,void 0,(function(){var i;return a(this,(function(o){switch(o.label){case 0:return[4,n.salesboardGetTopOrders(t,r)];case 1:return i=o.sent(),[2,l.createRequestFunction(i,s.default,c.BASE_PATH,e)]}}))}))},salesboardGetTopProducts:function(t,r,i){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.salesboardGetTopProducts(t,r,i)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},salesboardGetTotalOrderValue:function(t,r,i){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.salesboardGetTotalOrderValue(t,r,i)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))}}},t.SalesboardApiFactory=function(e,n,r){var i=t.SalesboardApiFp(e);return{salesboardGetLeaderboard:function(e,t,o,a){return i.salesboardGetLeaderboard(e,t,o,a).then((function(e){return e(r,n)}))},salesboardGetSalesboard:function(e,t,o,a,s){return i.salesboardGetSalesboard(e,t,o,a,s).then((function(e){return e(r,n)}))},salesboardGetTopOrders:function(e,t){return i.salesboardGetTopOrders(e,t).then((function(e){return e(r,n)}))},salesboardGetTopProducts:function(e,t,o){return i.salesboardGetTopProducts(e,t,o).then((function(e){return e(r,n)}))},salesboardGetTotalOrderValue:function(e,t,o){return i.salesboardGetTotalOrderValue(e,t,o).then((function(e){return e(r,n)}))}}};var x=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return r(n,e),n.prototype.salesboardGetLeaderboard=function(e,n,r,i){var o=this;return t.SalesboardApiFp(this.configuration).salesboardGetLeaderboard(e,n,r,i).then((function(e){return e(o.axios,o.basePath)}))},n.prototype.salesboardGetSalesboard=function(e,n,r,i,o){var a=this;return t.SalesboardApiFp(this.configuration).salesboardGetSalesboard(e,n,r,i,o).then((function(e){return e(a.axios,a.basePath)}))},n.prototype.salesboardGetTopOrders=function(e,n){var r=this;return t.SalesboardApiFp(this.configuration).salesboardGetTopOrders(e,n).then((function(e){return e(r.axios,r.basePath)}))},n.prototype.salesboardGetTopProducts=function(e,n,r){var i=this;return t.SalesboardApiFp(this.configuration).salesboardGetTopProducts(e,n,r).then((function(e){return e(i.axios,i.basePath)}))},n.prototype.salesboardGetTotalOrderValue=function(e,n,r){var i=this;return t.SalesboardApiFp(this.configuration).salesboardGetTotalOrderValue(e,n,r).then((function(e){return e(i.axios,i.basePath)}))},n}(c.BaseAPI);t.SalesboardApi=x,t.UserCurrentApiAxiosParamCreator=function(e){var t=this;return{userCurrentGet:function(n){return void 0===n&&(n={}),o(t,void 0,void 0,(function(){var t,r,o,s,c,u;return a(this,(function(a){switch(a.label){case 0:return t=new URL("/user/current",l.DUMMY_BASE_URL),e&&(r=e.baseOptions),o=i(i({method:"GET"},r),n),s={},c={},[4,l.setApiKeyToObject(s,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(s,e)];case 2:return a.sent(),l.setSearchParams(t,c,n.query),u=r&&r.headers?r.headers:{},o.headers=i(i(i({},s),u),n.headers),[2,{url:l.toPathString(t),options:o}]}}))}))},userCurrentImage:function(n){return void 0===n&&(n={}),o(t,void 0,void 0,(function(){var t,r,o,s,c,u;return a(this,(function(a){switch(a.label){case 0:return t=new URL("/user/current/image",l.DUMMY_BASE_URL),e&&(r=e.baseOptions),o=i(i({method:"GET"},r),n),s={},c={},[4,l.setApiKeyToObject(s,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(s,e)];case 2:return a.sent(),l.setSearchParams(t,c,n.query),u=r&&r.headers?r.headers:{},o.headers=i(i(i({},s),u),n.headers),[2,{url:l.toPathString(t),options:o}]}}))}))},userCurrentRemoveImagePOST:function(n){return void 0===n&&(n={}),o(t,void 0,void 0,(function(){var t,r,o,s,c,u;return a(this,(function(a){switch(a.label){case 0:return t=new URL("/user/current/image/remove",l.DUMMY_BASE_URL),e&&(r=e.baseOptions),o=i(i({method:"POST"},r),n),s={},c={},[4,l.setApiKeyToObject(s,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(s,e)];case 2:return a.sent(),l.setSearchParams(t,c,n.query),u=r&&r.headers?r.headers:{},o.headers=i(i(i({},s),u),n.headers),[2,{url:l.toPathString(t),options:o}]}}))}))},userCurrentUploadImagePOST:function(n,r,s,c,u,d){return void 0===d&&(d={}),o(t,void 0,void 0,(function(){var t,o,p,h,f,m,g;return a(this,(function(a){switch(a.label){case 0:return t=new URL("/user/current/image/upload",l.DUMMY_BASE_URL),e&&(o=e.baseOptions),p=i(i({method:"POST"},o),d),h={},f={},m=new(e&&e.formDataCtor||FormData),[4,l.setApiKeyToObject(h,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(h,e)];case 2:return a.sent(),void 0!==n&&m.append("ContentType",n),void 0!==r&&m.append("ContentDisposition",r),void 0!==s&&m.append("Length",s),void 0!==c&&m.append("Name",c),void 0!==u&&m.append("FileName",u),h["Content-Type"]="multipart/form-data",l.setSearchParams(t,f,d.query),g=o&&o.headers?o.headers:{},p.headers=i(i(i({},h),g),d.headers),p.data=m,[2,{url:l.toPathString(t),options:p}]}}))}))}}},t.UserCurrentApiFp=function(e){var n=t.UserCurrentApiAxiosParamCreator(e);return{userCurrentGet:function(t){return o(this,void 0,void 0,(function(){var r;return a(this,(function(i){switch(i.label){case 0:return[4,n.userCurrentGet(t)];case 1:return r=i.sent(),[2,l.createRequestFunction(r,s.default,c.BASE_PATH,e)]}}))}))},userCurrentImage:function(t){return o(this,void 0,void 0,(function(){var r;return a(this,(function(i){switch(i.label){case 0:return[4,n.userCurrentImage(t)];case 1:return r=i.sent(),[2,l.createRequestFunction(r,s.default,c.BASE_PATH,e)]}}))}))},userCurrentRemoveImagePOST:function(t){return o(this,void 0,void 0,(function(){var r;return a(this,(function(i){switch(i.label){case 0:return[4,n.userCurrentRemoveImagePOST(t)];case 1:return r=i.sent(),[2,l.createRequestFunction(r,s.default,c.BASE_PATH,e)]}}))}))},userCurrentUploadImagePOST:function(t,r,i,u,d,p){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.userCurrentUploadImagePOST(t,r,i,u,d,p)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))}}},t.UserCurrentApiFactory=function(e,n,r){var i=t.UserCurrentApiFp(e);return{userCurrentGet:function(e){return i.userCurrentGet(e).then((function(e){return e(r,n)}))},userCurrentImage:function(e){return i.userCurrentImage(e).then((function(e){return e(r,n)}))},userCurrentRemoveImagePOST:function(e){return i.userCurrentRemoveImagePOST(e).then((function(e){return e(r,n)}))},userCurrentUploadImagePOST:function(e,t,o,a,s,l){return i.userCurrentUploadImagePOST(e,t,o,a,s,l).then((function(e){return e(r,n)}))}}};var C=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return r(n,e),n.prototype.userCurrentGet=function(e){var n=this;return t.UserCurrentApiFp(this.configuration).userCurrentGet(e).then((function(e){return e(n.axios,n.basePath)}))},n.prototype.userCurrentImage=function(e){var n=this;return t.UserCurrentApiFp(this.configuration).userCurrentImage(e).then((function(e){return e(n.axios,n.basePath)}))},n.prototype.userCurrentRemoveImagePOST=function(e){var n=this;return t.UserCurrentApiFp(this.configuration).userCurrentRemoveImagePOST(e).then((function(e){return e(n.axios,n.basePath)}))},n.prototype.userCurrentUploadImagePOST=function(e,n,r,i,o,a){var s=this;return t.UserCurrentApiFp(this.configuration).userCurrentUploadImagePOST(e,n,r,i,o,a).then((function(e){return e(s.axios,s.basePath)}))},n}(c.BaseAPI);t.UserCurrentApi=C,t.WebOrderApiAxiosParamCreator=function(e){var t=this;return{webOrderAddOrderSubscriptionPOST:function(n,r){return void 0===r&&(r={}),o(t,void 0,void 0,(function(){var t,o,s,c,u,d,p;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("webOrderAddOrderSubscriptionPOST","customerCode",n),t="/weborder/addOrderSubscription/{customerCode}".replace("{customerCode}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(s=e.baseOptions),c=i(i({method:"POST"},s),r),u={},d={},[4,l.setApiKeyToObject(u,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(u,e)];case 2:return a.sent(),l.setSearchParams(o,d,r.query),p=s&&s.headers?s.headers:{},c.headers=i(i(i({},u),p),r.headers),[2,{url:l.toPathString(o),options:c}]}}))}))},webOrderAddShipmentPOST:function(n,r,s,c){return void 0===c&&(c={}),o(t,void 0,void 0,(function(){var t,o,u,d,p,h,f;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("webOrderAddShipmentPOST","identifier",n),t="/weborder/public/{identifier}/delivery/add".replace("{identifier}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(u=e.baseOptions),d=i(i({method:"POST"},u),c),p={},h={},[4,l.setApiKeyToObject(p,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(p,e)];case 2:return a.sent(),void 0!==r&&(h.quantity=r),p["Content-Type"]="application/json",l.setSearchParams(o,h,c.query),f=u&&u.headers?u.headers:{},d.headers=i(i(i({},p),f),c.headers),d.data=l.serializeDataIfNeeded(s,d,e),[2,{url:l.toPathString(o),options:d}]}}))}))},webOrderChangeRefinementsPOST:function(n,r,s,u,d,p,h,f,m){return void 0===m&&(m={}),o(t,void 0,void 0,(function(){var t,o,g,v,y,A,b;return a(this,(function(a){switch(a.label){case 0:return t=new URL("/weborder/refinement/change",l.DUMMY_BASE_URL),e&&(o=e.baseOptions),g=i(i({method:"POST"},o),m),v={},y={},A=new(e&&e.formDataCtor||FormData),[4,l.setApiKeyToObject(v,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(v,e)];case 2:return a.sent(),void 0!==n&&(y.lang=n),void 0!==r&&(y.identifier=r),s&&A.append(s.join(c.COLLECTION_FORMATS.csv)),u&&A.append(u.join(c.COLLECTION_FORMATS.csv)),d&&A.append(d.join(c.COLLECTION_FORMATS.csv)),p&&A.append(p.join(c.COLLECTION_FORMATS.csv)),void 0!==h&&A.append("DeliveryOption",h),f&&f.forEach((function(e){A.append("files",e)})),v["Content-Type"]="multipart/form-data",l.setSearchParams(t,y,m.query),b=o&&o.headers?o.headers:{},g.headers=i(i(i({},v),b),m.headers),g.data=A,[2,{url:l.toPathString(t),options:g}]}}))}))},webOrderCompleteOrderPOST:function(n,r){return void 0===r&&(r={}),o(t,void 0,void 0,(function(){var t,o,s,c,u,d,p;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("webOrderCompleteOrderPOST","identifier",n),t="/weborder/public/{identifier}/complete".replace("{identifier}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(s=e.baseOptions),c=i(i({method:"POST"},s),r),u={},d={},[4,l.setApiKeyToObject(u,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(u,e)];case 2:return a.sent(),l.setSearchParams(o,d,r.query),p=s&&s.headers?s.headers:{},c.headers=i(i(i({},u),p),r.headers),[2,{url:l.toPathString(o),options:c}]}}))}))},webOrderCustomerApprovePOST:function(n,r,s,c,u){return void 0===u&&(u={}),o(t,void 0,void 0,(function(){var t,o,d,p,h,f,m;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("webOrderCustomerApprovePOST","identifier",n),t="/weborder/public/{identifier}/approve".replace("{identifier}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(d=e.baseOptions),p=i(i({method:"POST"},d),u),h={},f={},[4,l.setApiKeyToObject(h,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(h,e)];case 2:return a.sent(),void 0!==r&&(f.language=r),void 0!==s&&(f.approve=s),h["Content-Type"]="application/json",l.setSearchParams(o,f,u.query),m=d&&d.headers?d.headers:{},p.headers=i(i(i({},h),m),u.headers),p.data=l.serializeDataIfNeeded(c,p,e),[2,{url:l.toPathString(o),options:p}]}}))}))},webOrderCustomerSubmitPOST:function(n,r,s,c){return void 0===c&&(c={}),o(t,void 0,void 0,(function(){var t,o,u,d,p,h,f;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("webOrderCustomerSubmitPOST","identifier",n),t="/weborder/public/{identifier}/submit".replace("{identifier}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(u=e.baseOptions),d=i(i({method:"POST"},u),c),p={},h={},[4,l.setApiKeyToObject(p,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(p,e)];case 2:return a.sent(),void 0!==r&&(h.language=r),p["Content-Type"]="application/json",l.setSearchParams(o,h,c.query),f=u&&u.headers?u.headers:{},d.headers=i(i(i({},p),f),c.headers),d.data=l.serializeDataIfNeeded(s,d,e),[2,{url:l.toPathString(o),options:d}]}}))}))},webOrderDeleteOrderSubscriptionPOST:function(n,r){return void 0===r&&(r={}),o(t,void 0,void 0,(function(){var t,o,s,c,u,d,p;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("webOrderDeleteOrderSubscriptionPOST","id",n),t="/weborder/deleteOrderSubscription/{id}".replace("{id}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(s=e.baseOptions),c=i(i({method:"POST"},s),r),u={},d={},[4,l.setApiKeyToObject(u,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(u,e)];case 2:return a.sent(),l.setSearchParams(o,d,r.query),p=s&&s.headers?s.headers:{},c.headers=i(i(i({},u),p),r.headers),[2,{url:l.toPathString(o),options:c}]}}))}))},webOrderGetCustomerInfo:function(n,r){return void 0===r&&(r={}),o(t,void 0,void 0,(function(){var t,o,s,c,u,d,p;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("webOrderGetCustomerInfo","identifier",n),t="/weborder/public/{identifier}/customer".replace("{identifier}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(s=e.baseOptions),c=i(i({method:"GET"},s),r),u={},d={},[4,l.setApiKeyToObject(u,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(u,e)];case 2:return a.sent(),l.setSearchParams(o,d,r.query),p=s&&s.headers?s.headers:{},c.headers=i(i(i({},u),p),r.headers),[2,{url:l.toPathString(o),options:c}]}}))}))},webOrderGetDelivery:function(n,r){return void 0===r&&(r={}),o(t,void 0,void 0,(function(){var t,o,s,c,u,d,p;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("webOrderGetDelivery","identifier",n),t="/weborder/public/{identifier}/delivery".replace("{identifier}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(s=e.baseOptions),c=i(i({method:"GET"},s),r),u={},d={},[4,l.setApiKeyToObject(u,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(u,e)];case 2:return a.sent(),l.setSearchParams(o,d,r.query),p=s&&s.headers?s.headers:{},c.headers=i(i(i({},u),p),r.headers),[2,{url:l.toPathString(o),options:c}]}}))}))},webOrderGetInvoice:function(n,r){return void 0===r&&(r={}),o(t,void 0,void 0,(function(){var t,o,s,c,u,d,p;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("webOrderGetInvoice","invoiceNumber",n),t="/weborder/invoice/{invoiceNumber}".replace("{invoiceNumber}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(s=e.baseOptions),c=i(i({method:"GET"},s),r),u={},d={},[4,l.setApiKeyToObject(u,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(u,e)];case 2:return a.sent(),l.setSearchParams(o,d,r.query),p=s&&s.headers?s.headers:{},c.headers=i(i(i({},u),p),r.headers),[2,{url:l.toPathString(o),options:c}]}}))}))},webOrderGetOrder:function(n,r,s){return void 0===s&&(s={}),o(t,void 0,void 0,(function(){var t,o,c,u,d,p,h;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("webOrderGetOrder","orderNumber",n),t="/weborder/{orderNumber}".replace("{orderNumber}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(c=e.baseOptions),u=i(i({method:"GET"},c),s),d={},p={},[4,l.setApiKeyToObject(d,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(d,e)];case 2:return a.sent(),void 0!==r&&(p.language=r),l.setSearchParams(o,p,s.query),h=c&&c.headers?c.headers:{},u.headers=i(i(i({},d),h),s.headers),[2,{url:l.toPathString(o),options:u}]}}))}))},webOrderGetOrderSubscriptions:function(n){return void 0===n&&(n={}),o(t,void 0,void 0,(function(){var t,r,o,s,c,u;return a(this,(function(a){switch(a.label){case 0:return t=new URL("/weborder/getOrderSubscriptions",l.DUMMY_BASE_URL),e&&(r=e.baseOptions),o=i(i({method:"GET"},r),n),s={},c={},[4,l.setApiKeyToObject(s,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(s,e)];case 2:return a.sent(),l.setSearchParams(t,c,n.query),u=r&&r.headers?r.headers:{},o.headers=i(i(i({},s),u),n.headers),[2,{url:l.toPathString(t),options:o}]}}))}))},webOrderGetPagedPartnerOverviewAsSellerPOST:function(n,r){return void 0===r&&(r={}),o(t,void 0,void 0,(function(){var t,o,s,c,u,d;return a(this,(function(a){switch(a.label){case 0:return t=new URL("/weborder/refinement/pagedoverview",l.DUMMY_BASE_URL),e&&(o=e.baseOptions),s=i(i({method:"POST"},o),r),c={},u={},[4,l.setApiKeyToObject(c,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(c,e)];case 2:return a.sent(),c["Content-Type"]="application/json",l.setSearchParams(t,u,r.query),d=o&&o.headers?o.headers:{},s.headers=i(i(i({},c),d),r.headers),s.data=l.serializeDataIfNeeded(n,s,e),[2,{url:l.toPathString(t),options:s}]}}))}))},webOrderGetPagedPartnerOverviewPOST:function(n,r,s,c){return void 0===c&&(c={}),o(t,void 0,void 0,(function(){var t,o,u,d,p,h;return a(this,(function(a){switch(a.label){case 0:return t=new URL("/weborder/refinement/partner/pagedoverview",l.DUMMY_BASE_URL),e&&(o=e.baseOptions),u=i(i({method:"POST"},o),c),d={},p={},[4,l.setApiKeyToObject(d,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(d,e)];case 2:return a.sent(),void 0!==n&&(p.partner=n),void 0!==r&&(p.secret=r),d["Content-Type"]="application/json",l.setSearchParams(t,p,c.query),h=o&&o.headers?o.headers:{},u.headers=i(i(i({},d),h),c.headers),u.data=l.serializeDataIfNeeded(s,u,e),[2,{url:l.toPathString(t),options:u}]}}))}))},webOrderGetPartnerExistPOST:function(n,r){return void 0===r&&(r={}),o(t,void 0,void 0,(function(){var t,o,s,c,u,d;return a(this,(function(a){switch(a.label){case 0:return t=new URL("/weborder/refinement/partner/exist",l.DUMMY_BASE_URL),e&&(o=e.baseOptions),s=i(i({method:"POST"},o),r),c={},u={},[4,l.setApiKeyToObject(c,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(c,e)];case 2:return a.sent(),void 0!==n&&(u.partner=n),l.setSearchParams(t,u,r.query),d=o&&o.headers?o.headers:{},s.headers=i(i(i({},c),d),r.headers),[2,{url:l.toPathString(t),options:s}]}}))}))},webOrderGetPartnerOrderFilters:function(n,r,s){return void 0===s&&(s={}),o(t,void 0,void 0,(function(){var t,o,c,u,d,p;return a(this,(function(a){switch(a.label){case 0:return t=new URL("/weborder/refinement/partner/filters",l.DUMMY_BASE_URL),e&&(o=e.baseOptions),c=i(i({method:"GET"},o),s),u={},d={},[4,l.setApiKeyToObject(u,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(u,e)];case 2:return a.sent(),void 0!==n&&(d.partner=n),void 0!==r&&(d.secret=r),l.setSearchParams(t,d,s.query),p=o&&o.headers?o.headers:{},c.headers=i(i(i({},u),p),s.headers),[2,{url:l.toPathString(t),options:c}]}}))}))},webOrderGetPartnerOrderFiltersAsSeller:function(n){return void 0===n&&(n={}),o(t,void 0,void 0,(function(){var t,r,o,s,c,u;return a(this,(function(a){switch(a.label){case 0:return t=new URL("/weborder/refinement/filters",l.DUMMY_BASE_URL),e&&(r=e.baseOptions),o=i(i({method:"GET"},r),n),s={},c={},[4,l.setApiKeyToObject(s,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(s,e)];case 2:return a.sent(),l.setSearchParams(t,c,n.query),u=r&&r.headers?r.headers:{},o.headers=i(i(i({},s),u),n.headers),[2,{url:l.toPathString(t),options:o}]}}))}))},webOrderGetPartnerStatsOverviewPOST:function(n,r,s,c,u){return void 0===u&&(u={}),o(t,void 0,void 0,(function(){var t,o,d,p,h,f;return a(this,(function(a){switch(a.label){case 0:return t=new URL("/weborder/refinement/partner/statsoverview",l.DUMMY_BASE_URL),e&&(o=e.baseOptions),d=i(i({method:"POST"},o),u),p={},h={},[4,l.setApiKeyToObject(p,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(p,e)];case 2:return a.sent(),void 0!==n&&(h.partner=n),void 0!==r&&(h.secret=r),void 0!==s&&(h.from=s instanceof Date?s.toISOString():s),void 0!==c&&(h.to=c instanceof Date?c.toISOString():c),l.setSearchParams(t,h,u.query),f=o&&o.headers?o.headers:{},d.headers=i(i(i({},p),f),u.headers),[2,{url:l.toPathString(t),options:d}]}}))}))},webOrderGetPublicOrder:function(n,r,s){return void 0===s&&(s={}),o(t,void 0,void 0,(function(){var t,o,c,u,d,p,h;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("webOrderGetPublicOrder","identifier",n),t="/weborder/public/{identifier}".replace("{identifier}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(c=e.baseOptions),u=i(i({method:"GET"},c),s),d={},p={},[4,l.setApiKeyToObject(d,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(d,e)];case 2:return a.sent(),void 0!==r&&(p.language=r),l.setSearchParams(o,p,s.query),h=c&&c.headers?c.headers:{},u.headers=i(i(i({},d),h),s.headers),[2,{url:l.toPathString(o),options:u}]}}))}))},webOrderGetRefinementShippingCostsPOST:function(n,r){return void 0===r&&(r={}),o(t,void 0,void 0,(function(){var t,o,s,c,u,d,p;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("webOrderGetRefinementShippingCostsPOST","identifier",n),t="/weborder/public/{identifier}/shippingcosts".replace("{identifier}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(s=e.baseOptions),c=i(i({method:"POST"},s),r),u={},d={},[4,l.setApiKeyToObject(u,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(u,e)];case 2:return a.sent(),l.setSearchParams(o,d,r.query),p=s&&s.headers?s.headers:{},c.headers=i(i(i({},u),p),r.headers),[2,{url:l.toPathString(o),options:c}]}}))}))},webOrderGetRefinements:function(n,r){return void 0===r&&(r={}),o(t,void 0,void 0,(function(){var t,o,s,c,u,d;return a(this,(function(a){switch(a.label){case 0:return t=new URL("/weborder/refinement/getall",l.DUMMY_BASE_URL),e&&(o=e.baseOptions),s=i(i({method:"GET"},o),r),c={},u={},[4,l.setApiKeyToObject(c,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(c,e)];case 2:return a.sent(),void 0!==n&&(u.identifier=n),l.setSearchParams(t,u,r.query),d=o&&o.headers?o.headers:{},s.headers=i(i(i({},c),d),r.headers),[2,{url:l.toPathString(t),options:s}]}}))}))},webOrderGetStatsOverviewPOST:function(n,r,s){return void 0===s&&(s={}),o(t,void 0,void 0,(function(){var t,o,c,u,d,p;return a(this,(function(a){switch(a.label){case 0:return t=new URL("/weborder/refinement/statsoverview",l.DUMMY_BASE_URL),e&&(o=e.baseOptions),c=i(i({method:"POST"},o),s),u={},d={},[4,l.setApiKeyToObject(u,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(u,e)];case 2:return a.sent(),void 0!==n&&(d.from=n instanceof Date?n.toISOString():n),void 0!==r&&(d.to=r instanceof Date?r.toISOString():r),l.setSearchParams(t,d,s.query),p=o&&o.headers?o.headers:{},c.headers=i(i(i({},u),p),s.headers),[2,{url:l.toPathString(t),options:c}]}}))}))},webOrderGetStatusPOST:function(n,r){return void 0===r&&(r={}),o(t,void 0,void 0,(function(){var t,o,s,c,u,d;return a(this,(function(a){switch(a.label){case 0:return t=new URL("/weborder/orderstatus",l.DUMMY_BASE_URL),e&&(o=e.baseOptions),s=i(i({method:"POST"},o),r),c={},u={},[4,l.setApiKeyToObject(c,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(c,e)];case 2:return a.sent(),c["Content-Type"]="application/json",l.setSearchParams(t,u,r.query),d=o&&o.headers?o.headers:{},s.headers=i(i(i({},c),d),r.headers),s.data=l.serializeDataIfNeeded(n,s,e),[2,{url:l.toPathString(t),options:s}]}}))}))},webOrderGetVariableTextDataPOST:function(n,r,s,u,d,p){return void 0===p&&(p={}),o(t,void 0,void 0,(function(){var t,o,h,f,m,g,v;return a(this,(function(a){switch(a.label){case 0:return t=new URL("/weborder/refinement/textdata",l.DUMMY_BASE_URL),e&&(o=e.baseOptions),h=i(i({method:"POST"},o),p),f={},m={},g=new(e&&e.formDataCtor||FormData),[4,l.setApiKeyToObject(f,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(f,e)];case 2:return a.sent(),void 0!==n&&(m.lang=n),void 0!==r&&(m.identifier=r),s&&g.append(s.join(c.COLLECTION_FORMATS.csv)),u&&g.append(u.join(c.COLLECTION_FORMATS.csv)),d&&d.forEach((function(e){g.append("files",e)})),f["Content-Type"]="multipart/form-data",l.setSearchParams(t,m,p.query),v=o&&o.headers?o.headers:{},h.headers=i(i(i({},f),v),p.headers),h.data=g,[2,{url:l.toPathString(t),options:h}]}}))}))},webOrderGetVariableTextDocumentPOST:function(n,r,s,u,d,p){return void 0===p&&(p={}),o(t,void 0,void 0,(function(){var t,o,h,f,m,g,v;return a(this,(function(a){switch(a.label){case 0:return t=new URL("/weborder/refinement/texts",l.DUMMY_BASE_URL),e&&(o=e.baseOptions),h=i(i({method:"POST"},o),p),f={},m={},g=new(e&&e.formDataCtor||FormData),[4,l.setApiKeyToObject(f,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(f,e)];case 2:return a.sent(),void 0!==n&&(m.lang=n),void 0!==r&&(m.identifier=r),s&&g.append(s.join(c.COLLECTION_FORMATS.csv)),u&&g.append(u.join(c.COLLECTION_FORMATS.csv)),d&&d.forEach((function(e){g.append("files",e)})),f["Content-Type"]="multipart/form-data",l.setSearchParams(t,m,p.query),v=o&&o.headers?o.headers:{},h.headers=i(i(i({},f),v),p.headers),h.data=g,[2,{url:l.toPathString(t),options:h}]}}))}))},webOrderGetXlsxOrder:function(n,r,s){return void 0===s&&(s={}),o(t,void 0,void 0,(function(){var t,o,c,u,d,p,h;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("webOrderGetXlsxOrder","orderNumber",n),t="/weborder/getXlsxOrder/{orderNumber}".replace("{orderNumber}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(c=e.baseOptions),u=i(i({method:"GET"},c),s),d={},p={},[4,l.setApiKeyToObject(d,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(d,e)];case 2:return a.sent(),void 0!==r&&(p.language=r),l.setSearchParams(o,p,s.query),h=c&&c.headers?c.headers:{},u.headers=i(i(i({},d),h),s.headers),[2,{url:l.toPathString(o),options:u}]}}))}))},webOrderOrderSearch:function(n,r,s,c,u,d,p,h,f){return void 0===f&&(f={}),o(t,void 0,void 0,(function(){var t,o,m,g,v,y;return a(this,(function(a){switch(a.label){case 0:return t=new URL("/weborder",l.DUMMY_BASE_URL),e&&(o=e.baseOptions),m=i(i({method:"GET"},o),f),g={},v={},[4,l.setApiKeyToObject(g,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(g,e)];case 2:return a.sent(),void 0!==n&&(v.language=n),void 0!==r&&(v.search=r),void 0!==s&&(v.from=s instanceof Date?s.toISOString():s),void 0!==c&&(v.to=c instanceof Date?c.toISOString():c),void 0!==u&&(v.pageSize=u),void 0!==d&&(v.page=d),void 0!==p&&(v.userOrderType=p),void 0!==h&&(v.systemOrderType=h),l.setSearchParams(t,v,f.query),y=o&&o.headers?o.headers:{},m.headers=i(i(i({},g),y),f.headers),[2,{url:l.toPathString(t),options:m}]}}))}))},webOrderRejectToCustomerPOST:function(n,r,s,c){return void 0===c&&(c={}),o(t,void 0,void 0,(function(){var t,o,u,d,p,h,f;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("webOrderRejectToCustomerPOST","identifier",n),t="/weborder/public/{identifier}/reject".replace("{identifier}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(u=e.baseOptions),d=i(i({method:"POST"},u),c),p={},h={},[4,l.setApiKeyToObject(p,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(p,e)];case 2:return a.sent(),void 0!==r&&(h.language=r),p["Content-Type"]="application/json",l.setSearchParams(o,h,c.query),f=u&&u.headers?u.headers:{},d.headers=i(i(i({},p),f),c.headers),d.data=l.serializeDataIfNeeded(s,d,e),[2,{url:l.toPathString(o),options:d}]}}))}))},webOrderRemoveDateWarningPOST:function(n,r){return void 0===r&&(r={}),o(t,void 0,void 0,(function(){var t,o,s,c,u,d,p;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("webOrderRemoveDateWarningPOST","identifier",n),t="/weborder/public/{identifier}/removewarning".replace("{identifier}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(s=e.baseOptions),c=i(i({method:"POST"},s),r),u={},d={},[4,l.setApiKeyToObject(u,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(u,e)];case 2:return a.sent(),l.setSearchParams(o,d,r.query),p=s&&s.headers?s.headers:{},c.headers=i(i(i({},u),p),r.headers),[2,{url:l.toPathString(o),options:c}]}}))}))},webOrderRemovePOST:function(n,r){return void 0===r&&(r={}),o(t,void 0,void 0,(function(){var t,o,s,c,u,d;return a(this,(function(a){switch(a.label){case 0:return t=new URL("/weborder/refinement/overview/remove",l.DUMMY_BASE_URL),e&&(o=e.baseOptions),s=i(i({method:"POST"},o),r),c={},u={},[4,l.setApiKeyToObject(c,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(c,e)];case 2:return a.sent(),void 0!==n&&(u.identifier=n),l.setSearchParams(t,u,r.query),d=o&&o.headers?o.headers:{},s.headers=i(i(i({},c),d),r.headers),[2,{url:l.toPathString(t),options:s}]}}))}))},webOrderRemoveRefinementPOST:function(n,r,s,c){return void 0===c&&(c={}),o(t,void 0,void 0,(function(){var t,o,u,d,p,h;return a(this,(function(a){switch(a.label){case 0:return t=new URL("/weborder/refinement/remove",l.DUMMY_BASE_URL),e&&(o=e.baseOptions),u=i(i({method:"POST"},o),c),d={},p={},[4,l.setApiKeyToObject(d,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(d,e)];case 2:return a.sent(),void 0!==n&&(p.lang=n),void 0!==r&&(p.identifier=r),void 0!==s&&(p.index=s),l.setSearchParams(t,p,c.query),h=o&&o.headers?o.headers:{},u.headers=i(i(i({},d),h),c.headers),[2,{url:l.toPathString(t),options:u}]}}))}))},webOrderRemoveShipmentPOST:function(n,r,s){return void 0===s&&(s={}),o(t,void 0,void 0,(function(){var t,o,c,u,d,p,h;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("webOrderRemoveShipmentPOST","identifier",n),t="/weborder/public/{identifier}/delivery/remove".replace("{identifier}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(c=e.baseOptions),u=i(i({method:"POST"},c),s),d={},p={},[4,l.setApiKeyToObject(d,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(d,e)];case 2:return a.sent(),d["Content-Type"]="application/json",l.setSearchParams(o,p,s.query),h=c&&c.headers?c.headers:{},u.headers=i(i(i({},d),h),s.headers),u.data=l.serializeDataIfNeeded(r,u,e),[2,{url:l.toPathString(o),options:u}]}}))}))},webOrderSendForCustomerApprovalPOST:function(n,r,s,c){return void 0===c&&(c={}),o(t,void 0,void 0,(function(){var t,o,u,d,p,h,f;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("webOrderSendForCustomerApprovalPOST","identifier",n),t="/weborder/public/{identifier}/approval".replace("{identifier}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(u=e.baseOptions),d=i(i({method:"POST"},u),c),p={},h={},[4,l.setApiKeyToObject(p,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(p,e)];case 2:return a.sent(),void 0!==r&&(h.language=r),p["Content-Type"]="application/json",l.setSearchParams(o,h,c.query),f=u&&u.headers?u.headers:{},d.headers=i(i(i({},p),f),c.headers),d.data=l.serializeDataIfNeeded(s,d,e),[2,{url:l.toPathString(o),options:d}]}}))}))},webOrderSendOrderDocumentsPOST:function(n,r,s,c,u){return void 0===u&&(u={}),o(t,void 0,void 0,(function(){var t,o,d,p,h,f,m,g;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("webOrderSendOrderDocumentsPOST","identifier",n),t="/weborder/public/{identifier}/orderdocuments".replace("{identifier}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(d=e.baseOptions),p=i(i({method:"POST"},d),u),h={},f={},m=new(e&&e.formDataCtor||FormData),[4,l.setApiKeyToObject(h,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(h,e)];case 2:return a.sent(),void 0!==r&&(f.language=r),void 0!==s&&(f.email=s),c&&c.forEach((function(e){m.append("files",e)})),h["Content-Type"]="multipart/form-data",l.setSearchParams(o,f,u.query),g=d&&d.headers?d.headers:{},p.headers=i(i(i({},h),g),u.headers),p.data=m,[2,{url:l.toPathString(o),options:p}]}}))}))},webOrderSetDeliveryPOST:function(n,r,s){return void 0===s&&(s={}),o(t,void 0,void 0,(function(){var t,o,c,u,d,p,h;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("webOrderSetDeliveryPOST","identifier",n),t="/weborder/public/{identifier}/delivery".replace("{identifier}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(c=e.baseOptions),u=i(i({method:"POST"},c),s),d={},p={},[4,l.setApiKeyToObject(d,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(d,e)];case 2:return a.sent(),d["Content-Type"]="application/json",l.setSearchParams(o,p,s.query),h=c&&c.headers?c.headers:{},u.headers=i(i(i({},d),h),s.headers),u.data=l.serializeDataIfNeeded(r,u,e),[2,{url:l.toPathString(o),options:u}]}}))}))},webOrderSetOrderDocumentPricesPOST:function(n,r,s){return void 0===s&&(s={}),o(t,void 0,void 0,(function(){var t,o,c,u,d,p,h;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("webOrderSetOrderDocumentPricesPOST","identifier",n),t="/weborder/public/{identifier}/orderprices".replace("{identifier}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(c=e.baseOptions),u=i(i({method:"POST"},c),s),d={},p={},[4,l.setApiKeyToObject(d,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(d,e)];case 2:return a.sent(),void 0!==r&&(p.language=r),l.setSearchParams(o,p,s.query),h=c&&c.headers?c.headers:{},u.headers=i(i(i({},d),h),s.headers),[2,{url:l.toPathString(o),options:u}]}}))}))},webOrderSetPublicOrderCommentPOST:function(n,r,s,c,u,d){return void 0===d&&(d={}),o(t,void 0,void 0,(function(){var t,o,p,h,f,m,g;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("webOrderSetPublicOrderCommentPOST","identifier",n),t="/weborder/public/{identifier}/comment".replace("{identifier}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(p=e.baseOptions),h=i(i({method:"POST"},p),d),f={},m={},[4,l.setApiKeyToObject(f,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(f,e)];case 2:return a.sent(),void 0!==r&&(m.language=r),void 0!==s&&(m.status=s),void 0!==c&&(m.external=c),f["Content-Type"]="application/json",l.setSearchParams(o,m,d.query),g=p&&p.headers?p.headers:{},h.headers=i(i(i({},f),g),d.headers),h.data=l.serializeDataIfNeeded(u,h,e),[2,{url:l.toPathString(o),options:h}]}}))}))},webOrderSetPublicOrderCommentPinned:function(n,r,s,c,u){return void 0===u&&(u={}),o(t,void 0,void 0,(function(){var t,o,d,p,h,f,m;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("webOrderSetPublicOrderCommentPinned","identifier",n),t="/weborder/public/{identifier}/pinned".replace("{identifier}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(d=e.baseOptions),p=i(i({method:"GET"},d),u),h={},f={},[4,l.setApiKeyToObject(h,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(h,e)];case 2:return a.sent(),void 0!==r&&(f.language=r),void 0!==s&&(f.id=s),void 0!==c&&(f.pinned=c),l.setSearchParams(o,f,u.query),m=d&&d.headers?d.headers:{},p.headers=i(i(i({},h),m),u.headers),[2,{url:l.toPathString(o),options:p}]}}))}))},webOrderSetPublicOrderStatusPOST:function(n,r,s,c){return void 0===c&&(c={}),o(t,void 0,void 0,(function(){var t,o,u,d,p,h,f;return a(this,(function(a){switch(a.label){case 0:return l.assertParamExists("webOrderSetPublicOrderStatusPOST","identifier",n),t="/weborder/public/{identifier}/statusupdate".replace("{identifier}",encodeURIComponent(String(n))),o=new URL(t,l.DUMMY_BASE_URL),e&&(u=e.baseOptions),d=i(i({method:"POST"},u),c),p={},h={},[4,l.setApiKeyToObject(p,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(p,e)];case 2:return a.sent(),void 0!==r&&(h.language=r),p["Content-Type"]="application/json",l.setSearchParams(o,h,c.query),f=u&&u.headers?u.headers:{},d.headers=i(i(i({},p),f),c.headers),d.data=l.serializeDataIfNeeded(s,d,e),[2,{url:l.toPathString(o),options:d}]}}))}))},webOrderSetVariableTextDocumentPOST:function(n,r,s,c){return void 0===c&&(c={}),o(t,void 0,void 0,(function(){var t,o,u,d,p,h;return a(this,(function(a){switch(a.label){case 0:return t=new URL("/weborder/refinement/textssetdata",l.DUMMY_BASE_URL),e&&(o=e.baseOptions),u=i(i({method:"POST"},o),c),d={},p={},[4,l.setApiKeyToObject(d,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(d,e)];case 2:return a.sent(),void 0!==n&&(p.lang=n),void 0!==r&&(p.identifier=r),d["Content-Type"]="application/json",l.setSearchParams(t,p,c.query),h=o&&o.headers?o.headers:{},u.headers=i(i(i({},d),h),c.headers),u.data=l.serializeDataIfNeeded(s,u,e),[2,{url:l.toPathString(t),options:u}]}}))}))},webOrderSkusFromFilePOST:function(n,r,s,c){return void 0===c&&(c={}),o(t,void 0,void 0,(function(){var t,o,u,d,p,h,f;return a(this,(function(a){switch(a.label){case 0:return t=new URL("/weborder/skus/file",l.DUMMY_BASE_URL),e&&(o=e.baseOptions),u=i(i({method:"POST"},o),c),d={},p={},h=new(e&&e.formDataCtor||FormData),[4,l.setApiKeyToObject(d,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(d,e)];case 2:return a.sent(),void 0!==n&&(p.lang=n),void 0!==r&&h.append("data",r),s&&s.forEach((function(e){h.append("files",e)})),d["Content-Type"]="multipart/form-data",l.setSearchParams(t,p,c.query),f=o&&o.headers?o.headers:{},u.headers=i(i(i({},d),f),c.headers),u.data=h,[2,{url:l.toPathString(t),options:u}]}}))}))},webOrderVerifyVariableTextDocumentPOST:function(n,r,s,u,d,p){return void 0===p&&(p={}),o(t,void 0,void 0,(function(){var t,o,h,f,m,g,v;return a(this,(function(a){switch(a.label){case 0:return t=new URL("/weborder/refinement/textsverify",l.DUMMY_BASE_URL),e&&(o=e.baseOptions),h=i(i({method:"POST"},o),p),f={},m={},g=new(e&&e.formDataCtor||FormData),[4,l.setApiKeyToObject(f,"contextid",e)];case 1:return a.sent(),[4,l.setBearerAuthToObject(f,e)];case 2:return a.sent(),void 0!==n&&(m.lang=n),void 0!==r&&(m.identifier=r),s&&g.append(s.join(c.COLLECTION_FORMATS.csv)),u&&g.append(u.join(c.COLLECTION_FORMATS.csv)),d&&d.forEach((function(e){g.append("files",e)})),f["Content-Type"]="multipart/form-data",l.setSearchParams(t,m,p.query),v=o&&o.headers?o.headers:{},h.headers=i(i(i({},f),v),p.headers),h.data=g,[2,{url:l.toPathString(t),options:h}]}}))}))}}},t.WebOrderApiFp=function(e){var n=t.WebOrderApiAxiosParamCreator(e);return{webOrderAddOrderSubscriptionPOST:function(t,r){return o(this,void 0,void 0,(function(){var i;return a(this,(function(o){switch(o.label){case 0:return[4,n.webOrderAddOrderSubscriptionPOST(t,r)];case 1:return i=o.sent(),[2,l.createRequestFunction(i,s.default,c.BASE_PATH,e)]}}))}))},webOrderAddShipmentPOST:function(t,r,i,u){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.webOrderAddShipmentPOST(t,r,i,u)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},webOrderChangeRefinementsPOST:function(t,r,i,u,d,p,h,f,m){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.webOrderChangeRefinementsPOST(t,r,i,u,d,p,h,f,m)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},webOrderCompleteOrderPOST:function(t,r){return o(this,void 0,void 0,(function(){var i;return a(this,(function(o){switch(o.label){case 0:return[4,n.webOrderCompleteOrderPOST(t,r)];case 1:return i=o.sent(),[2,l.createRequestFunction(i,s.default,c.BASE_PATH,e)]}}))}))},webOrderCustomerApprovePOST:function(t,r,i,u,d){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.webOrderCustomerApprovePOST(t,r,i,u,d)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},webOrderCustomerSubmitPOST:function(t,r,i,u){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.webOrderCustomerSubmitPOST(t,r,i,u)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},webOrderDeleteOrderSubscriptionPOST:function(t,r){return o(this,void 0,void 0,(function(){var i;return a(this,(function(o){switch(o.label){case 0:return[4,n.webOrderDeleteOrderSubscriptionPOST(t,r)];case 1:return i=o.sent(),[2,l.createRequestFunction(i,s.default,c.BASE_PATH,e)]}}))}))},webOrderGetCustomerInfo:function(t,r){return o(this,void 0,void 0,(function(){var i;return a(this,(function(o){switch(o.label){case 0:return[4,n.webOrderGetCustomerInfo(t,r)];case 1:return i=o.sent(),[2,l.createRequestFunction(i,s.default,c.BASE_PATH,e)]}}))}))},webOrderGetDelivery:function(t,r){return o(this,void 0,void 0,(function(){var i;return a(this,(function(o){switch(o.label){case 0:return[4,n.webOrderGetDelivery(t,r)];case 1:return i=o.sent(),[2,l.createRequestFunction(i,s.default,c.BASE_PATH,e)]}}))}))},webOrderGetInvoice:function(t,r){return o(this,void 0,void 0,(function(){var i;return a(this,(function(o){switch(o.label){case 0:return[4,n.webOrderGetInvoice(t,r)];case 1:return i=o.sent(),[2,l.createRequestFunction(i,s.default,c.BASE_PATH,e)]}}))}))},webOrderGetOrder:function(t,r,i){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.webOrderGetOrder(t,r,i)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},webOrderGetOrderSubscriptions:function(t){return o(this,void 0,void 0,(function(){var r;return a(this,(function(i){switch(i.label){case 0:return[4,n.webOrderGetOrderSubscriptions(t)];case 1:return r=i.sent(),[2,l.createRequestFunction(r,s.default,c.BASE_PATH,e)]}}))}))},webOrderGetPagedPartnerOverviewAsSellerPOST:function(t,r){return o(this,void 0,void 0,(function(){var i;return a(this,(function(o){switch(o.label){case 0:return[4,n.webOrderGetPagedPartnerOverviewAsSellerPOST(t,r)];case 1:return i=o.sent(),[2,l.createRequestFunction(i,s.default,c.BASE_PATH,e)]}}))}))},webOrderGetPagedPartnerOverviewPOST:function(t,r,i,u){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.webOrderGetPagedPartnerOverviewPOST(t,r,i,u)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},webOrderGetPartnerExistPOST:function(t,r){return o(this,void 0,void 0,(function(){var i;return a(this,(function(o){switch(o.label){case 0:return[4,n.webOrderGetPartnerExistPOST(t,r)];case 1:return i=o.sent(),[2,l.createRequestFunction(i,s.default,c.BASE_PATH,e)]}}))}))},webOrderGetPartnerOrderFilters:function(t,r,i){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.webOrderGetPartnerOrderFilters(t,r,i)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},webOrderGetPartnerOrderFiltersAsSeller:function(t){return o(this,void 0,void 0,(function(){var r;return a(this,(function(i){switch(i.label){case 0:return[4,n.webOrderGetPartnerOrderFiltersAsSeller(t)];case 1:return r=i.sent(),[2,l.createRequestFunction(r,s.default,c.BASE_PATH,e)]}}))}))},webOrderGetPartnerStatsOverviewPOST:function(t,r,i,u,d){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.webOrderGetPartnerStatsOverviewPOST(t,r,i,u,d)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},webOrderGetPublicOrder:function(t,r,i){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.webOrderGetPublicOrder(t,r,i)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},webOrderGetRefinementShippingCostsPOST:function(t,r){return o(this,void 0,void 0,(function(){var i;return a(this,(function(o){switch(o.label){case 0:return[4,n.webOrderGetRefinementShippingCostsPOST(t,r)];case 1:return i=o.sent(),[2,l.createRequestFunction(i,s.default,c.BASE_PATH,e)]}}))}))},webOrderGetRefinements:function(t,r){return o(this,void 0,void 0,(function(){var i;return a(this,(function(o){switch(o.label){case 0:return[4,n.webOrderGetRefinements(t,r)];case 1:return i=o.sent(),[2,l.createRequestFunction(i,s.default,c.BASE_PATH,e)]}}))}))},webOrderGetStatsOverviewPOST:function(t,r,i){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.webOrderGetStatsOverviewPOST(t,r,i)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},webOrderGetStatusPOST:function(t,r){return o(this,void 0,void 0,(function(){var i;return a(this,(function(o){switch(o.label){case 0:return[4,n.webOrderGetStatusPOST(t,r)];case 1:return i=o.sent(),[2,l.createRequestFunction(i,s.default,c.BASE_PATH,e)]}}))}))},webOrderGetVariableTextDataPOST:function(t,r,i,u,d,p){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.webOrderGetVariableTextDataPOST(t,r,i,u,d,p)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},webOrderGetVariableTextDocumentPOST:function(t,r,i,u,d,p){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.webOrderGetVariableTextDocumentPOST(t,r,i,u,d,p)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},webOrderGetXlsxOrder:function(t,r,i){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.webOrderGetXlsxOrder(t,r,i)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},webOrderOrderSearch:function(t,r,i,u,d,p,h,f,m){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.webOrderOrderSearch(t,r,i,u,d,p,h,f,m)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},webOrderRejectToCustomerPOST:function(t,r,i,u){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.webOrderRejectToCustomerPOST(t,r,i,u)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},webOrderRemoveDateWarningPOST:function(t,r){return o(this,void 0,void 0,(function(){var i;return a(this,(function(o){switch(o.label){case 0:return[4,n.webOrderRemoveDateWarningPOST(t,r)];case 1:return i=o.sent(),[2,l.createRequestFunction(i,s.default,c.BASE_PATH,e)]}}))}))},webOrderRemovePOST:function(t,r){return o(this,void 0,void 0,(function(){var i;return a(this,(function(o){switch(o.label){case 0:return[4,n.webOrderRemovePOST(t,r)];case 1:return i=o.sent(),[2,l.createRequestFunction(i,s.default,c.BASE_PATH,e)]}}))}))},webOrderRemoveRefinementPOST:function(t,r,i,u){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.webOrderRemoveRefinementPOST(t,r,i,u)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},webOrderRemoveShipmentPOST:function(t,r,i){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.webOrderRemoveShipmentPOST(t,r,i)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},webOrderSendForCustomerApprovalPOST:function(t,r,i,u){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.webOrderSendForCustomerApprovalPOST(t,r,i,u)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},webOrderSendOrderDocumentsPOST:function(t,r,i,u,d){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.webOrderSendOrderDocumentsPOST(t,r,i,u,d)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},webOrderSetDeliveryPOST:function(t,r,i){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.webOrderSetDeliveryPOST(t,r,i)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},webOrderSetOrderDocumentPricesPOST:function(t,r,i){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.webOrderSetOrderDocumentPricesPOST(t,r,i)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},webOrderSetPublicOrderCommentPOST:function(t,r,i,u,d,p){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.webOrderSetPublicOrderCommentPOST(t,r,i,u,d,p)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},webOrderSetPublicOrderCommentPinned:function(t,r,i,u,d){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.webOrderSetPublicOrderCommentPinned(t,r,i,u,d)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},webOrderSetPublicOrderStatusPOST:function(t,r,i,u){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.webOrderSetPublicOrderStatusPOST(t,r,i,u)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},webOrderSetVariableTextDocumentPOST:function(t,r,i,u){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.webOrderSetVariableTextDocumentPOST(t,r,i,u)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},webOrderSkusFromFilePOST:function(t,r,i,u){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.webOrderSkusFromFilePOST(t,r,i,u)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))},webOrderVerifyVariableTextDocumentPOST:function(t,r,i,u,d,p){return o(this,void 0,void 0,(function(){var o;return a(this,(function(a){switch(a.label){case 0:return[4,n.webOrderVerifyVariableTextDocumentPOST(t,r,i,u,d,p)];case 1:return o=a.sent(),[2,l.createRequestFunction(o,s.default,c.BASE_PATH,e)]}}))}))}}},t.WebOrderApiFactory=function(e,n,r){var i=t.WebOrderApiFp(e);return{webOrderAddOrderSubscriptionPOST:function(e,t){return i.webOrderAddOrderSubscriptionPOST(e,t).then((function(e){return e(r,n)}))},webOrderAddShipmentPOST:function(e,t,o,a){return i.webOrderAddShipmentPOST(e,t,o,a).then((function(e){return e(r,n)}))},webOrderChangeRefinementsPOST:function(e,t,o,a,s,l,c,u,d){return i.webOrderChangeRefinementsPOST(e,t,o,a,s,l,c,u,d).then((function(e){return e(r,n)}))},webOrderCompleteOrderPOST:function(e,t){return i.webOrderCompleteOrderPOST(e,t).then((function(e){return e(r,n)}))},webOrderCustomerApprovePOST:function(e,t,o,a,s){return i.webOrderCustomerApprovePOST(e,t,o,a,s).then((function(e){return e(r,n)}))},webOrderCustomerSubmitPOST:function(e,t,o,a){return i.webOrderCustomerSubmitPOST(e,t,o,a).then((function(e){return e(r,n)}))},webOrderDeleteOrderSubscriptionPOST:function(e,t){return i.webOrderDeleteOrderSubscriptionPOST(e,t).then((function(e){return e(r,n)}))},webOrderGetCustomerInfo:function(e,t){return i.webOrderGetCustomerInfo(e,t).then((function(e){return e(r,n)}))},webOrderGetDelivery:function(e,t){return i.webOrderGetDelivery(e,t).then((function(e){return e(r,n)}))},webOrderGetInvoice:function(e,t){return i.webOrderGetInvoice(e,t).then((function(e){return e(r,n)}))},webOrderGetOrder:function(e,t,o){return i.webOrderGetOrder(e,t,o).then((function(e){return e(r,n)}))},webOrderGetOrderSubscriptions:function(e){return i.webOrderGetOrderSubscriptions(e).then((function(e){return e(r,n)}))},webOrderGetPagedPartnerOverviewAsSellerPOST:function(e,t){return i.webOrderGetPagedPartnerOverviewAsSellerPOST(e,t).then((function(e){return e(r,n)}))},webOrderGetPagedPartnerOverviewPOST:function(e,t,o,a){return i.webOrderGetPagedPartnerOverviewPOST(e,t,o,a).then((function(e){return e(r,n)}))},webOrderGetPartnerExistPOST:function(e,t){return i.webOrderGetPartnerExistPOST(e,t).then((function(e){return e(r,n)}))},webOrderGetPartnerOrderFilters:function(e,t,o){return i.webOrderGetPartnerOrderFilters(e,t,o).then((function(e){return e(r,n)}))},webOrderGetPartnerOrderFiltersAsSeller:function(e){return i.webOrderGetPartnerOrderFiltersAsSeller(e).then((function(e){return e(r,n)}))},webOrderGetPartnerStatsOverviewPOST:function(e,t,o,a,s){return i.webOrderGetPartnerStatsOverviewPOST(e,t,o,a,s).then((function(e){return e(r,n)}))},webOrderGetPublicOrder:function(e,t,o){return i.webOrderGetPublicOrder(e,t,o).then((function(e){return e(r,n)}))},webOrderGetRefinementShippingCostsPOST:function(e,t){return i.webOrderGetRefinementShippingCostsPOST(e,t).then((function(e){return e(r,n)}))},webOrderGetRefinements:function(e,t){return i.webOrderGetRefinements(e,t).then((function(e){return e(r,n)}))},webOrderGetStatsOverviewPOST:function(e,t,o){return i.webOrderGetStatsOverviewPOST(e,t,o).then((function(e){return e(r,n)}))},webOrderGetStatusPOST:function(e,t){return i.webOrderGetStatusPOST(e,t).then((function(e){return e(r,n)}))},webOrderGetVariableTextDataPOST:function(e,t,o,a,s,l){return i.webOrderGetVariableTextDataPOST(e,t,o,a,s,l).then((function(e){return e(r,n)}))},webOrderGetVariableTextDocumentPOST:function(e,t,o,a,s,l){return i.webOrderGetVariableTextDocumentPOST(e,t,o,a,s,l).then((function(e){return e(r,n)}))},webOrderGetXlsxOrder:function(e,t,o){return i.webOrderGetXlsxOrder(e,t,o).then((function(e){return e(r,n)}))},webOrderOrderSearch:function(e,t,o,a,s,l,c,u,d){return i.webOrderOrderSearch(e,t,o,a,s,l,c,u,d).then((function(e){return e(r,n)}))},webOrderRejectToCustomerPOST:function(e,t,o,a){return i.webOrderRejectToCustomerPOST(e,t,o,a).then((function(e){return e(r,n)}))},webOrderRemoveDateWarningPOST:function(e,t){return i.webOrderRemoveDateWarningPOST(e,t).then((function(e){return e(r,n)}))},webOrderRemovePOST:function(e,t){return i.webOrderRemovePOST(e,t).then((function(e){return e(r,n)}))},webOrderRemoveRefinementPOST:function(e,t,o,a){return i.webOrderRemoveRefinementPOST(e,t,o,a).then((function(e){return e(r,n)}))},webOrderRemoveShipmentPOST:function(e,t,o){return i.webOrderRemoveShipmentPOST(e,t,o).then((function(e){return e(r,n)}))},webOrderSendForCustomerApprovalPOST:function(e,t,o,a){return i.webOrderSendForCustomerApprovalPOST(e,t,o,a).then((function(e){return e(r,n)}))},webOrderSendOrderDocumentsPOST:function(e,t,o,a,s){return i.webOrderSendOrderDocumentsPOST(e,t,o,a,s).then((function(e){return e(r,n)}))},webOrderSetDeliveryPOST:function(e,t,o){return i.webOrderSetDeliveryPOST(e,t,o).then((function(e){return e(r,n)}))},webOrderSetOrderDocumentPricesPOST:function(e,t,o){return i.webOrderSetOrderDocumentPricesPOST(e,t,o).then((function(e){return e(r,n)}))},webOrderSetPublicOrderCommentPOST:function(e,t,o,a,s,l){return i.webOrderSetPublicOrderCommentPOST(e,t,o,a,s,l).then((function(e){return e(r,n)}))},webOrderSetPublicOrderCommentPinned:function(e,t,o,a,s){return i.webOrderSetPublicOrderCommentPinned(e,t,o,a,s).then((function(e){return e(r,n)}))},webOrderSetPublicOrderStatusPOST:function(e,t,o,a){return i.webOrderSetPublicOrderStatusPOST(e,t,o,a).then((function(e){return e(r,n)}))},webOrderSetVariableTextDocumentPOST:function(e,t,o,a){return i.webOrderSetVariableTextDocumentPOST(e,t,o,a).then((function(e){return e(r,n)}))},webOrderSkusFromFilePOST:function(e,t,o,a){return i.webOrderSkusFromFilePOST(e,t,o,a).then((function(e){return e(r,n)}))},webOrderVerifyVariableTextDocumentPOST:function(e,t,o,a,s,l){return i.webOrderVerifyVariableTextDocumentPOST(e,t,o,a,s,l).then((function(e){return e(r,n)}))}}};var S=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return r(n,e),n.prototype.webOrderAddOrderSubscriptionPOST=function(e,n){var r=this;return t.WebOrderApiFp(this.configuration).webOrderAddOrderSubscriptionPOST(e,n).then((function(e){return e(r.axios,r.basePath)}))},n.prototype.webOrderAddShipmentPOST=function(e,n,r,i){var o=this;return t.WebOrderApiFp(this.configuration).webOrderAddShipmentPOST(e,n,r,i).then((function(e){return e(o.axios,o.basePath)}))},n.prototype.webOrderChangeRefinementsPOST=function(e,n,r,i,o,a,s,l,c){var u=this;return t.WebOrderApiFp(this.configuration).webOrderChangeRefinementsPOST(e,n,r,i,o,a,s,l,c).then((function(e){return e(u.axios,u.basePath)}))},n.prototype.webOrderCompleteOrderPOST=function(e,n){var r=this;return t.WebOrderApiFp(this.configuration).webOrderCompleteOrderPOST(e,n).then((function(e){return e(r.axios,r.basePath)}))},n.prototype.webOrderCustomerApprovePOST=function(e,n,r,i,o){var a=this;return t.WebOrderApiFp(this.configuration).webOrderCustomerApprovePOST(e,n,r,i,o).then((function(e){return e(a.axios,a.basePath)}))},n.prototype.webOrderCustomerSubmitPOST=function(e,n,r,i){var o=this;return t.WebOrderApiFp(this.configuration).webOrderCustomerSubmitPOST(e,n,r,i).then((function(e){return e(o.axios,o.basePath)}))},n.prototype.webOrderDeleteOrderSubscriptionPOST=function(e,n){var r=this;return t.WebOrderApiFp(this.configuration).webOrderDeleteOrderSubscriptionPOST(e,n).then((function(e){return e(r.axios,r.basePath)}))},n.prototype.webOrderGetCustomerInfo=function(e,n){var r=this;return t.WebOrderApiFp(this.configuration).webOrderGetCustomerInfo(e,n).then((function(e){return e(r.axios,r.basePath)}))},n.prototype.webOrderGetDelivery=function(e,n){var r=this;return t.WebOrderApiFp(this.configuration).webOrderGetDelivery(e,n).then((function(e){return e(r.axios,r.basePath)}))},n.prototype.webOrderGetInvoice=function(e,n){var r=this;return t.WebOrderApiFp(this.configuration).webOrderGetInvoice(e,n).then((function(e){return e(r.axios,r.basePath)}))},n.prototype.webOrderGetOrder=function(e,n,r){var i=this;return t.WebOrderApiFp(this.configuration).webOrderGetOrder(e,n,r).then((function(e){return e(i.axios,i.basePath)}))},n.prototype.webOrderGetOrderSubscriptions=function(e){var n=this;return t.WebOrderApiFp(this.configuration).webOrderGetOrderSubscriptions(e).then((function(e){return e(n.axios,n.basePath)}))},n.prototype.webOrderGetPagedPartnerOverviewAsSellerPOST=function(e,n){var r=this;return t.WebOrderApiFp(this.configuration).webOrderGetPagedPartnerOverviewAsSellerPOST(e,n).then((function(e){return e(r.axios,r.basePath)}))},n.prototype.webOrderGetPagedPartnerOverviewPOST=function(e,n,r,i){var o=this;return t.WebOrderApiFp(this.configuration).webOrderGetPagedPartnerOverviewPOST(e,n,r,i).then((function(e){return e(o.axios,o.basePath)}))},n.prototype.webOrderGetPartnerExistPOST=function(e,n){var r=this;return t.WebOrderApiFp(this.configuration).webOrderGetPartnerExistPOST(e,n).then((function(e){return e(r.axios,r.basePath)}))},n.prototype.webOrderGetPartnerOrderFilters=function(e,n,r){var i=this;return t.WebOrderApiFp(this.configuration).webOrderGetPartnerOrderFilters(e,n,r).then((function(e){return e(i.axios,i.basePath)}))},n.prototype.webOrderGetPartnerOrderFiltersAsSeller=function(e){var n=this;return t.WebOrderApiFp(this.configuration).webOrderGetPartnerOrderFiltersAsSeller(e).then((function(e){return e(n.axios,n.basePath)}))},n.prototype.webOrderGetPartnerStatsOverviewPOST=function(e,n,r,i,o){var a=this;return t.WebOrderApiFp(this.configuration).webOrderGetPartnerStatsOverviewPOST(e,n,r,i,o).then((function(e){return e(a.axios,a.basePath)}))},n.prototype.webOrderGetPublicOrder=function(e,n,r){var i=this;return t.WebOrderApiFp(this.configuration).webOrderGetPublicOrder(e,n,r).then((function(e){return e(i.axios,i.basePath)}))},n.prototype.webOrderGetRefinementShippingCostsPOST=function(e,n){var r=this;return t.WebOrderApiFp(this.configuration).webOrderGetRefinementShippingCostsPOST(e,n).then((function(e){return e(r.axios,r.basePath)}))},n.prototype.webOrderGetRefinements=function(e,n){var r=this;return t.WebOrderApiFp(this.configuration).webOrderGetRefinements(e,n).then((function(e){return e(r.axios,r.basePath)}))},n.prototype.webOrderGetStatsOverviewPOST=function(e,n,r){var i=this;return t.WebOrderApiFp(this.configuration).webOrderGetStatsOverviewPOST(e,n,r).then((function(e){return e(i.axios,i.basePath)}))},n.prototype.webOrderGetStatusPOST=function(e,n){var r=this;return t.WebOrderApiFp(this.configuration).webOrderGetStatusPOST(e,n).then((function(e){return e(r.axios,r.basePath)}))},n.prototype.webOrderGetVariableTextDataPOST=function(e,n,r,i,o,a){var s=this;return t.WebOrderApiFp(this.configuration).webOrderGetVariableTextDataPOST(e,n,r,i,o,a).then((function(e){return e(s.axios,s.basePath)}))},n.prototype.webOrderGetVariableTextDocumentPOST=function(e,n,r,i,o,a){var s=this;return t.WebOrderApiFp(this.configuration).webOrderGetVariableTextDocumentPOST(e,n,r,i,o,a).then((function(e){return e(s.axios,s.basePath)}))},n.prototype.webOrderGetXlsxOrder=function(e,n,r){var i=this;return t.WebOrderApiFp(this.configuration).webOrderGetXlsxOrder(e,n,r).then((function(e){return e(i.axios,i.basePath)}))},n.prototype.webOrderOrderSearch=function(e,n,r,i,o,a,s,l,c){var u=this;return t.WebOrderApiFp(this.configuration).webOrderOrderSearch(e,n,r,i,o,a,s,l,c).then((function(e){return e(u.axios,u.basePath)}))},n.prototype.webOrderRejectToCustomerPOST=function(e,n,r,i){var o=this;return t.WebOrderApiFp(this.configuration).webOrderRejectToCustomerPOST(e,n,r,i).then((function(e){return e(o.axios,o.basePath)}))},n.prototype.webOrderRemoveDateWarningPOST=function(e,n){var r=this;return t.WebOrderApiFp(this.configuration).webOrderRemoveDateWarningPOST(e,n).then((function(e){return e(r.axios,r.basePath)}))},n.prototype.webOrderRemovePOST=function(e,n){var r=this;return t.WebOrderApiFp(this.configuration).webOrderRemovePOST(e,n).then((function(e){return e(r.axios,r.basePath)}))},n.prototype.webOrderRemoveRefinementPOST=function(e,n,r,i){var o=this;return t.WebOrderApiFp(this.configuration).webOrderRemoveRefinementPOST(e,n,r,i).then((function(e){return e(o.axios,o.basePath)}))},n.prototype.webOrderRemoveShipmentPOST=function(e,n,r){var i=this;return t.WebOrderApiFp(this.configuration).webOrderRemoveShipmentPOST(e,n,r).then((function(e){return e(i.axios,i.basePath)}))},n.prototype.webOrderSendForCustomerApprovalPOST=function(e,n,r,i){var o=this;return t.WebOrderApiFp(this.configuration).webOrderSendForCustomerApprovalPOST(e,n,r,i).then((function(e){return e(o.axios,o.basePath)}))},n.prototype.webOrderSendOrderDocumentsPOST=function(e,n,r,i,o){var a=this;return t.WebOrderApiFp(this.configuration).webOrderSendOrderDocumentsPOST(e,n,r,i,o).then((function(e){return e(a.axios,a.basePath)}))},n.prototype.webOrderSetDeliveryPOST=function(e,n,r){var i=this;return t.WebOrderApiFp(this.configuration).webOrderSetDeliveryPOST(e,n,r).then((function(e){return e(i.axios,i.basePath)}))},n.prototype.webOrderSetOrderDocumentPricesPOST=function(e,n,r){var i=this;return t.WebOrderApiFp(this.configuration).webOrderSetOrderDocumentPricesPOST(e,n,r).then((function(e){return e(i.axios,i.basePath)}))},n.prototype.webOrderSetPublicOrderCommentPOST=function(e,n,r,i,o,a){var s=this;return t.WebOrderApiFp(this.configuration).webOrderSetPublicOrderCommentPOST(e,n,r,i,o,a).then((function(e){return e(s.axios,s.basePath)}))},n.prototype.webOrderSetPublicOrderCommentPinned=function(e,n,r,i,o){var a=this;return t.WebOrderApiFp(this.configuration).webOrderSetPublicOrderCommentPinned(e,n,r,i,o).then((function(e){return e(a.axios,a.basePath)}))},n.prototype.webOrderSetPublicOrderStatusPOST=function(e,n,r,i){var o=this;return t.WebOrderApiFp(this.configuration).webOrderSetPublicOrderStatusPOST(e,n,r,i).then((function(e){return e(o.axios,o.basePath)}))},n.prototype.webOrderSetVariableTextDocumentPOST=function(e,n,r,i){var o=this;return t.WebOrderApiFp(this.configuration).webOrderSetVariableTextDocumentPOST(e,n,r,i).then((function(e){return e(o.axios,o.basePath)}))},n.prototype.webOrderSkusFromFilePOST=function(e,n,r,i){var o=this;return t.WebOrderApiFp(this.configuration).webOrderSkusFromFilePOST(e,n,r,i).then((function(e){return e(o.axios,o.basePath)}))},n.prototype.webOrderVerifyVariableTextDocumentPOST=function(e,n,r,i,o,a){var s=this;return t.WebOrderApiFp(this.configuration).webOrderVerifyVariableTextDocumentPOST(e,n,r,i,o,a).then((function(e){return e(s.axios,s.basePath)}))},n}(c.BaseAPI);t.WebOrderApi=S},57206:function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0}),t.RequiredError=t.BaseAPI=t.COLLECTION_FORMATS=t.BASE_PATH=void 0;var i=n(96011);t.BASE_PATH="http://localhost".replace(/\/+$/,""),t.COLLECTION_FORMATS={csv:",",ssv:" ",tsv:"\t",pipes:"|"};var o=function(e,n,r){void 0===n&&(n=t.BASE_PATH),void 0===r&&(r=i.default),this.basePath=n,this.axios=r,e&&(this.configuration=e,this.basePath=e.basePath||this.basePath)};t.BaseAPI=o;var a=function(e){function t(t,n){var r=e.call(this,n)||this;return r.field=t,r.name="RequiredError",r}return r(t,e),t}(Error);t.RequiredError=a},57602:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},r.apply(this,arguments)},i=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{l(r.next(e))}catch(t){o(t)}}function s(e){try{l(r.throw(e))}catch(t){o(t)}}function l(e){e.done?i(e.value):function(e){return e instanceof n?e:new n((function(t){t(e)}))}(e.value).then(a,s)}l((r=r.apply(e,t||[])).next())}))},o=this&&this.__generator||function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.createRequestFunction=t.toPathString=t.serializeDataIfNeeded=t.setSearchParams=t.setOAuthToObject=t.setBearerAuthToObject=t.setBasicAuthToObject=t.setApiKeyToObject=t.assertParamExists=t.DUMMY_BASE_URL=void 0;var a=n(57206);t.DUMMY_BASE_URL="https://example.com",t.assertParamExists=function(e,t,n){if(null===n||void 0===n)throw new a.RequiredError(t,"Required parameter "+t+" was null or undefined when calling "+e+".")},t.setApiKeyToObject=function(e,t,n){return i(this,void 0,void 0,(function(){var r,i;return o(this,(function(o){switch(o.label){case 0:return n&&n.apiKey?"function"!==typeof n.apiKey?[3,2]:[4,n.apiKey(t)]:[3,5];case 1:return i=o.sent(),[3,4];case 2:return[4,n.apiKey];case 3:i=o.sent(),o.label=4;case 4:r=i,e[t]=r,o.label=5;case 5:return[2]}}))}))},t.setBasicAuthToObject=function(e,t){t&&(t.username||t.password)&&(e.auth={username:t.username,password:t.password})},t.setBearerAuthToObject=function(e,t){return i(this,void 0,void 0,(function(){var n,r;return o(this,(function(i){switch(i.label){case 0:return t&&t.accessToken?"function"!==typeof t.accessToken?[3,2]:[4,t.accessToken()]:[3,5];case 1:return r=i.sent(),[3,4];case 2:return[4,t.accessToken];case 3:r=i.sent(),i.label=4;case 4:n=r,e.Authorization="Bearer "+n,i.label=5;case 5:return[2]}}))}))},t.setOAuthToObject=function(e,t,n,r){return i(this,void 0,void 0,(function(){var i,a;return o(this,(function(o){switch(o.label){case 0:return r&&r.accessToken?"function"!==typeof r.accessToken?[3,2]:[4,r.accessToken(t,n)]:[3,5];case 1:return a=o.sent(),[3,4];case 2:return[4,r.accessToken];case 3:a=o.sent(),o.label=4;case 4:i=a,e.Authorization="Bearer "+i,o.label=5;case 5:return[2]}}))}))},t.setSearchParams=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=new URLSearchParams(e.search),i=0,o=t;i<o.length;i++){var a=o[i];for(var s in a)if(Array.isArray(a[s])){r.delete(s);for(var l=0,c=a[s];l<c.length;l++){var u=c[l];r.append(s,u)}}else r.set(s,a[s])}e.search=r.toString()},t.serializeDataIfNeeded=function(e,t,n){var r="string"!==typeof e;return(r&&n&&n.isJsonMime?n.isJsonMime(t.headers["Content-Type"]):r)?JSON.stringify(void 0!==e?e:{}):e||""},t.toPathString=function(e){return e.pathname+e.search+e.hash},t.createRequestFunction=function(e,t,n,i){return function(o,a){void 0===o&&(o=t),void 0===a&&(a=n);var s=r(r({},e.options),{url:((null===i||void 0===i?void 0:i.basePath)||a)+e.url});return o.request(s)}}},92293:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Configuration=void 0;var n=function(){function e(e){void 0===e&&(e={}),this.apiKey=e.apiKey,this.username=e.username,this.password=e.password,this.accessToken=e.accessToken,this.basePath=e.basePath,this.baseOptions=e.baseOptions,this.formDataCtor=e.formDataCtor}return e.prototype.isJsonMime=function(e){var t=new RegExp("^(application/json|[^;/ \t]+/[^;/ \t]+[+]json)[ \t]*(;.*)?$","i");return null!==e&&(t.test(e)||"application/json-patch+json"===e.toLowerCase())},e}();t.Configuration=n},69435:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||t.hasOwnProperty(n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(69167),t),i(n(92293),t)},48664:(e,t,n)=>{"use strict";n.d(t,{r:()=>a});var r=n(64467);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){(0,r.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var a=function(e,t,n){var i=e.items[t];return i?{rootId:e.rootId,items:o(o({},e.items),{},(0,r.A)({},t,o(o({},i),n)))}:e}},79517:(e,t,n)=>{"use strict";n.d(t,{BA:()=>s,Nk:()=>u,_6:()=>a,ds:()=>o,tI:()=>d,uo:()=>c,ys:()=>i});var r=n(60436),i=function(e,t){return e===t||e.length===t.length&&e.every((function(e,n){return e===t[n]}))},o=function(e,t){return i(a(e),a(t))},a=function(e){return e.slice(0,e.length-1)},s=function(e,t){return!t||l(t,e)},l=function(e,t){return i(e,a(t))},c=function(e){return e[e.length-1]},u=function(e,t){return e.slice(0,t)},d=function(e,t){var n=(0,r.A)(e);return p(n,t)||(n[n.length-1]+=1),n},p=function(e,t){return o(e,t)&&c(e)>c(t)}},4306:(e,t,n)=>{"use strict";n.d(t,{Cb:()=>h,Ge:()=>p,af:()=>f,dG:()=>l});var r=n(60436),i=n(79517),o=n(48664);function a(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return s(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?s(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){l=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(l)throw o}}}}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var l=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return e.items[e.rootId]?e.items[e.rootId].children.reduce((function(n,i,o){var a=e.items[i],s=[].concat((0,r.A)(t),[o]),l=c(a,s),d=u(e,a,s);return[].concat((0,r.A)(n),[l],(0,r.A)(d))}),[]):[]},c=function(e,t){return{item:e,path:t}},u=function(e,t,n){return t.isExpanded?l({rootId:t.id,items:e.items},n):[]},d=function(e,t){return function(e,t){var n,r=e.items[e.rootId],i=a(t);try{for(i.s();!(n=i.n()).done;){var o=n.value;r=e.items[r.children[o]]}}catch(s){i.e(s)}finally{i.f()}return r}(e,(0,i._6)(t))},p=function(e,t){var n=d(e,t),r=(0,i.uo)(t);return{parentId:n.id,index:r}},h=function(e,t){var n=e.items[t.parentId],i=(0,r.A)(n.children),a=i.splice(t.index,1)[0];return{tree:(0,o.r)(e,t.parentId,{children:i,hasChildren:i.length>0,isExpanded:i.length>0&&n.isExpanded}),itemRemoved:a}},f=function(e,t,n){var i=e.items[t.parentId],a=(0,r.A)(i.children);return"undefined"===typeof t.index?(function(e){return!!e.hasChildren&&e.children.length>0}(i)||function(e){return!e.hasChildren}(i))&&a.push(n):a.splice(t.index,0,n),(0,o.r)(e,t.parentId,{children:a,hasChildren:!0})}},57923:(e,t,n)=>{"use strict";function r(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}n.d(t,{A:()=>r})},82954:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Composite:()=>Le,CompositeItem:()=>Fe,FloatingArrow:()=>qe,FloatingDelayGroup:()=>lt,FloatingFocusManager:()=>Qt,FloatingList:()=>Te,FloatingNode:()=>Ze,FloatingOverlay:()=>Gt,FloatingPortal:()=>Dt,FloatingTree:()=>$e,arrow:()=>se,autoPlacement:()=>ie,autoUpdate:()=>H.ll,computePosition:()=>H.rD,detectOverflow:()=>H.__,flip:()=>ne,getOverflowAncestors:()=>o.v9,hide:()=>oe,inline:()=>ae,inner:()=>xn,limitShift:()=>te,offset:()=>$,platform:()=>H.iD,safePolygon:()=>kn,shift:()=>ee,size:()=>re,useClick:()=>Wt,useClientPoint:()=>Kt,useDelayGroup:()=>ct,useDelayGroupContext:()=>st,useDismiss:()=>$t,useFloating:()=>tn,useFloatingNodeId:()=>Xe,useFloatingParentNodeId:()=>Ke,useFloatingPortalNode:()=>Tt,useFloatingRootContext:()=>en,useFloatingTree:()=>Je,useFocus:()=>nn,useHover:()=>it,useId:()=>Ge,useInnerOffset:()=>Cn,useInteractions:()=>sn,useListItem:()=>De,useListNavigation:()=>hn,useMergeRefs:()=>le,useRole:()=>mn,useTransitionStatus:()=>yn,useTransitionStyles:()=>An,useTypeahead:()=>bn});var r=n(9950),i=n.t(r,2),o=n(97339);function a(e){let t=e.activeElement;for(;null!=(null==(n=t)||null==(n=n.shadowRoot)?void 0:n.activeElement);){var n;t=t.shadowRoot.activeElement}return t}function s(e,t){if(!e||!t)return!1;const n=null==t.getRootNode?void 0:t.getRootNode();if(e.contains(t))return!0;if(n&&(0,o.Ng)(n)){let n=t;for(;n;){if(e===n)return!0;n=n.parentNode||n.host}}return!1}function l(){const e=navigator.userAgentData;return null!=e&&e.platform?e.platform:navigator.platform}function c(){const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map((e=>{let{brand:t,version:n}=e;return t+"/"+n})).join(" "):navigator.userAgent}function u(e){return!(0!==e.mozInputSource||!e.isTrusted)||(h()&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType)}function d(e){return!c().includes("jsdom/")&&(!h()&&0===e.width&&0===e.height||h()&&1===e.width&&1===e.height&&0===e.pressure&&0===e.detail&&"mouse"===e.pointerType||e.width<1&&e.height<1&&0===e.pressure&&0===e.detail&&"touch"===e.pointerType)}function p(){return/apple/i.test(navigator.vendor)}function h(){const e=/android/i;return e.test(l())||e.test(c())}function f(){return l().toLowerCase().startsWith("mac")&&!navigator.maxTouchPoints}function m(e,t){const n=["mouse","pen"];return t||n.push("",void 0),n.includes(e)}function g(e){return(null==e?void 0:e.ownerDocument)||document}function v(e,t){if(null==t)return!1;if("composedPath"in e)return e.composedPath().includes(t);const n=e;return null!=n.target&&t.contains(n.target)}function y(e){return"composedPath"in e?e.composedPath()[0]:e.target}const A="input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])";function b(e){return(0,o.sb)(e)&&e.matches(A)}function w(e){e.preventDefault(),e.stopPropagation()}function x(e){return!!e&&("combobox"===e.getAttribute("role")&&b(e))}var C=n(1881),S=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],k=S.join(","),E="undefined"===typeof Element,I=E?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,_=!E&&Element.prototype.getRootNode?function(e){var t;return null===e||void 0===e||null===(t=e.getRootNode)||void 0===t?void 0:t.call(e)}:function(e){return null===e||void 0===e?void 0:e.ownerDocument},P=function e(t,n){var r;void 0===n&&(n=!0);var i=null===t||void 0===t||null===(r=t.getAttribute)||void 0===r?void 0:r.call(t,"inert");return""===i||"true"===i||n&&t&&e(t.parentNode)},O=function(e,t,n){if(P(e))return[];var r=Array.prototype.slice.apply(e.querySelectorAll(k));return t&&I.call(e,k)&&r.unshift(e),r=r.filter(n)},T=function e(t,n,r){for(var i=[],o=Array.from(t);o.length;){var a=o.shift();if(!P(a,!1))if("SLOT"===a.tagName){var s=a.assignedElements(),l=e(s.length?s:a.children,!0,r);r.flatten?i.push.apply(i,l):i.push({scopeParent:a,candidates:l})}else{I.call(a,k)&&r.filter(a)&&(n||!t.includes(a))&&i.push(a);var c=a.shadowRoot||"function"===typeof r.getShadowRoot&&r.getShadowRoot(a),u=!P(c,!1)&&(!r.shadowRootFilter||r.shadowRootFilter(a));if(c&&u){var d=e(!0===c?a.children:c.children,!0,r);r.flatten?i.push.apply(i,d):i.push({scopeParent:a,candidates:d})}else o.unshift.apply(o,a.children)}}return i},D=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},j=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||function(e){var t,n=null===e||void 0===e||null===(t=e.getAttribute)||void 0===t?void 0:t.call(e,"contenteditable");return""===n||"true"===n}(e))&&!D(e)?0:e.tabIndex},B=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},N=function(e){return"INPUT"===e.tagName},M=function(e){return function(e){return N(e)&&"radio"===e.type}(e)&&!function(e){if(!e.name)return!0;var t,n=e.form||_(e),r=function(e){return n.querySelectorAll('input[type="radio"][name="'+e+'"]')};if("undefined"!==typeof window&&"undefined"!==typeof window.CSS&&"function"===typeof window.CSS.escape)t=r(window.CSS.escape(e.name));else try{t=r(e.name)}catch(o){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",o.message),!1}var i=function(e,t){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]}(t,e.form);return!i||i===e}(e)},R=function(e){var t=e.getBoundingClientRect(),n=t.width,r=t.height;return 0===n&&0===r},L=function(e,t){var n=t.displayCheck,r=t.getShadowRoot;if("hidden"===getComputedStyle(e).visibility)return!0;var i=I.call(e,"details>summary:first-of-type")?e.parentElement:e;if(I.call(i,"details:not([open]) *"))return!0;if(n&&"full"!==n&&"legacy-full"!==n){if("non-zero-area"===n)return R(e)}else{if("function"===typeof r){for(var o=e;e;){var a=e.parentElement,s=_(e);if(a&&!a.shadowRoot&&!0===r(a))return R(e);e=e.assignedSlot?e.assignedSlot:a||s===e.ownerDocument?a:s.host}e=o}if(function(e){var t,n,r,i,o=e&&_(e),a=null===(t=o)||void 0===t?void 0:t.host,s=!1;if(o&&o!==e)for(s=!!(null!==(n=a)&&void 0!==n&&null!==(r=n.ownerDocument)&&void 0!==r&&r.contains(a)||null!==e&&void 0!==e&&null!==(i=e.ownerDocument)&&void 0!==i&&i.contains(e));!s&&a;){var l,c,u;s=!(null===(c=a=null===(l=o=_(a))||void 0===l?void 0:l.host)||void 0===c||null===(u=c.ownerDocument)||void 0===u||!u.contains(a))}return s}(e))return!e.getClientRects().length;if("legacy-full"!==n)return!0}return!1},F=function(e,t){return!(t.disabled||P(t)||function(e){return N(e)&&"hidden"===e.type}(t)||L(t,e)||function(e){return"DETAILS"===e.tagName&&Array.prototype.slice.apply(e.children).some((function(e){return"SUMMARY"===e.tagName}))}(t)||function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var n=0;n<t.children.length;n++){var r=t.children.item(n);if("LEGEND"===r.tagName)return!!I.call(t,"fieldset[disabled] *")||!r.contains(e)}return!0}t=t.parentElement}return!1}(t))},z=function(e,t){return!(M(t)||j(t)<0||!F(e,t))},Q=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},U=function e(t){var n=[],r=[];return t.forEach((function(t,i){var o=!!t.scopeParent,a=o?t.scopeParent:t,s=function(e,t){var n=j(e);return n<0&&t&&!D(e)?0:n}(a,o),l=o?e(t.candidates):a;0===s?o?n.push.apply(n,l):n.push(a):r.push({documentOrder:i,tabIndex:s,item:t,isScope:o,content:l})})),r.sort(B).reduce((function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e}),[]).concat(n)},V=function(e,t){var n;return n=(t=t||{}).getShadowRoot?T([e],t.includeContainer,{filter:z.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:Q}):O(e,t.includeContainer,z.bind(null,t)),U(n)},G=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==I.call(e,k)&&z(t,e)},q=n(17119),H=n(3133),W="undefined"!==typeof document?r.useLayoutEffect:r.useEffect;function Y(e,t){if(e===t)return!0;if(typeof e!==typeof t)return!1;if("function"===typeof e&&e.toString()===t.toString())return!0;let n,r,i;if(e&&t&&"object"===typeof e){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;0!==r--;)if(!Y(e[r],t[r]))return!1;return!0}if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;0!==r--;)if(!{}.hasOwnProperty.call(t,i[r]))return!1;for(r=n;0!==r--;){const n=i[r];if(("_owner"!==n||!e.$$typeof)&&!Y(e[n],t[n]))return!1}return!0}return e!==e&&t!==t}function K(e){if("undefined"===typeof window)return 1;return(e.ownerDocument.defaultView||window).devicePixelRatio||1}function J(e,t){const n=K(e);return Math.round(t*n)/n}function X(e){const t=r.useRef(e);return W((()=>{t.current=e})),t}const Z=e=>({name:"arrow",options:e,fn(t){const{element:n,padding:r}="function"===typeof e?e(t):e;return n&&function(e){return{}.hasOwnProperty.call(e,"current")}(n)?null!=n.current?(0,H.UE)({element:n.current,padding:r}).fn(t):{}:n?(0,H.UE)({element:n,padding:r}).fn(t):{}}}),$=(e,t)=>({...(0,H.cY)(e),options:[e,t]}),ee=(e,t)=>({...(0,H.BN)(e),options:[e,t]}),te=(e,t)=>({...(0,H.ER)(e),options:[e,t]}),ne=(e,t)=>({...(0,H.UU)(e),options:[e,t]}),re=(e,t)=>({...(0,H.Ej)(e),options:[e,t]}),ie=(e,t)=>({...(0,H.RK)(e),options:[e,t]}),oe=(e,t)=>({...(0,H.jD)(e),options:[e,t]}),ae=(e,t)=>({...(0,H.mG)(e),options:[e,t]}),se=(e,t)=>({...Z(e),options:[e,t]});function le(e){return r.useMemo((()=>e.every((e=>null==e))?null:t=>{e.forEach((e=>{"function"===typeof e?e(t):null!=e&&(e.current=t)}))}),e)}const ce={...i},ue=ce.useInsertionEffect||(e=>e());function de(e){const t=r.useRef((()=>{0}));return ue((()=>{t.current=e})),r.useCallback((function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return null==t.current?void 0:t.current(...n)}),[])}const pe="ArrowUp",he="ArrowDown",fe="ArrowLeft",me="ArrowRight";function ge(e,t,n){return Math.floor(e/t)!==n}function ve(e,t){return t<0||t>=e.current.length}function ye(e,t){return be(e,{disabledIndices:t})}function Ae(e,t){return be(e,{decrement:!0,startingIndex:e.current.length,disabledIndices:t})}function be(e,t){let{startingIndex:n=-1,decrement:r=!1,disabledIndices:i,amount:o=1}=void 0===t?{}:t;const a=e.current;let s=n;do{s+=r?-o:o}while(s>=0&&s<=a.length-1&&ke(a,s,i));return s}function we(e,t){let{event:n,orientation:r,loop:i,cols:o,disabledIndices:a,minIndex:s,maxIndex:l,prevIndex:c,stopEvent:u=!1}=t,d=c;if(n.key===pe){if(u&&w(n),-1===c)d=l;else if(d=be(e,{startingIndex:d,amount:o,decrement:!0,disabledIndices:a}),i&&(c-o<s||d<0)){const e=c%o,t=l%o,n=l-(t-e);d=t===e?l:t>e?n:n-o}ve(e,d)&&(d=c)}if(n.key===he&&(u&&w(n),-1===c?d=s:(d=be(e,{startingIndex:c,amount:o,disabledIndices:a}),i&&c+o>l&&(d=be(e,{startingIndex:c%o-o,amount:o,disabledIndices:a}))),ve(e,d)&&(d=c)),"both"===r){const t=(0,C.RI)(c/o);n.key===me&&(u&&w(n),c%o!==o-1?(d=be(e,{startingIndex:c,disabledIndices:a}),i&&ge(d,o,t)&&(d=be(e,{startingIndex:c-c%o-1,disabledIndices:a}))):i&&(d=be(e,{startingIndex:c-c%o-1,disabledIndices:a})),ge(d,o,t)&&(d=c)),n.key===fe&&(u&&w(n),c%o!==0?(d=be(e,{startingIndex:c,decrement:!0,disabledIndices:a}),i&&ge(d,o,t)&&(d=be(e,{startingIndex:c+(o-c%o),decrement:!0,disabledIndices:a}))):i&&(d=be(e,{startingIndex:c+(o-c%o),decrement:!0,disabledIndices:a})),ge(d,o,t)&&(d=c));const r=(0,C.RI)(l/o)===t;ve(e,d)&&(d=i&&r?n.key===fe?l:be(e,{startingIndex:c-c%o-1,disabledIndices:a}):c)}return d}function xe(e,t,n){const r=[];let i=0;return e.forEach(((e,o)=>{let{width:a,height:s}=e,l=!1;for(n&&(i=0);!l;){const e=[];for(let n=0;n<a;n++)for(let r=0;r<s;r++)e.push(i+n+r*t);i%t+a<=t&&e.every((e=>null==r[e]))?(e.forEach((e=>{r[e]=o})),l=!0):i++}})),[...r]}function Ce(e,t,n,r,i){if(-1===e)return-1;const o=n.indexOf(e),a=t[e];switch(i){case"tl":return o;case"tr":return a?o+a.width-1:o;case"bl":return a?o+(a.height-1)*r:o;case"br":return n.lastIndexOf(e)}}function Se(e,t){return t.flatMap(((t,n)=>e.includes(t)?[n]:[]))}function ke(e,t,n){if(n)return n.includes(t);const r=e[t];return null==r||r.hasAttribute("disabled")||"true"===r.getAttribute("aria-disabled")}let Ee=0;function Ie(e,t){void 0===t&&(t={});const{preventScroll:n=!1,cancelPrevious:r=!0,sync:i=!1}=t;r&&cancelAnimationFrame(Ee);const o=()=>null==e?void 0:e.focus({preventScroll:n});i?o():Ee=requestAnimationFrame(o)}var _e="undefined"!==typeof document?r.useLayoutEffect:r.useEffect;function Pe(e,t){const n=e.compareDocumentPosition(t);return n&Node.DOCUMENT_POSITION_FOLLOWING||n&Node.DOCUMENT_POSITION_CONTAINED_BY?-1:n&Node.DOCUMENT_POSITION_PRECEDING||n&Node.DOCUMENT_POSITION_CONTAINS?1:0}const Oe=r.createContext({register:()=>{},unregister:()=>{},map:new Map,elementsRef:{current:[]}});function Te(e){const{children:t,elementsRef:n,labelsRef:i}=e,[o,a]=r.useState((()=>new Map)),s=r.useCallback((e=>{a((t=>new Map(t).set(e,null)))}),[]),l=r.useCallback((e=>{a((t=>{const n=new Map(t);return n.delete(e),n}))}),[]);return _e((()=>{const e=new Map(o);Array.from(e.keys()).sort(Pe).forEach(((t,n)=>{e.set(t,n)})),function(e,t){if(e.size!==t.size)return!1;for(const[n,r]of e.entries())if(r!==t.get(n))return!1;return!0}(o,e)||a(e)}),[o]),r.createElement(Oe.Provider,{value:r.useMemo((()=>({register:s,unregister:l,map:o,elementsRef:n,labelsRef:i})),[s,l,o,n,i])},t)}function De(e){void 0===e&&(e={});const{label:t}=e,{register:n,unregister:i,map:o,elementsRef:a,labelsRef:s}=r.useContext(Oe),[l,c]=r.useState(null),u=r.useRef(null),d=r.useCallback((e=>{if(u.current=e,null!==l&&(a.current[l]=e,s)){var n;const r=void 0!==t;s.current[l]=r?t:null!=(n=null==e?void 0:e.textContent)?n:null}}),[l,a,s,t]);return _e((()=>{const e=u.current;if(e)return n(e),()=>{i(e)}}),[n,i]),_e((()=>{const e=u.current?o.get(u.current):null;null!=e&&c(e)}),[o]),r.useMemo((()=>({ref:d,index:null==l?-1:l})),[l,d])}function je(e,t){return"function"===typeof e?e(t):e?r.cloneElement(e,t):r.createElement("div",t)}const Be=r.createContext({activeIndex:0,onNavigate:()=>{}}),Ne=[fe,me],Me=[pe,he],Re=[...Ne,...Me],Le=r.forwardRef((function(e,t){const{render:n,orientation:i="both",loop:o=!0,cols:a=1,disabledIndices:s,activeIndex:l,onNavigate:c,itemSizes:u,dense:d=!1,...p}=e,[h,f]=r.useState(0),m=null!=l?l:h,g=de(null!=c?c:f),v=r.useRef([]),y=n&&"function"!==typeof n?n.props:{},A=r.useMemo((()=>({activeIndex:m,onNavigate:g})),[m,g]),b=a>1;const w={...p,...y,ref:t,"aria-orientation":"both"===i?void 0:i,onKeyDown(e){null==p.onKeyDown||p.onKeyDown(e),null==y.onKeyDown||y.onKeyDown(e),function(e){if(!Re.includes(e.key))return;let t=m;const n=ye(v,s),r=Ae(v,s);if(b){const l=u||Array.from({length:v.current.length},(()=>({width:1,height:1}))),c=xe(l,a,d),p=c.findIndex((e=>null!=e&&!ke(v.current,e,s))),h=c.reduce(((e,t,n)=>null==t||ke(v.current,t,s)?e:n),-1),f=c[we({current:c.map((e=>e?v.current[e]:null))},{event:e,orientation:i,loop:o,cols:a,disabledIndices:Se([...s||v.current.map(((e,t)=>ke(v.current,t)?t:void 0)),void 0],c),minIndex:p,maxIndex:h,prevIndex:Ce(m>r?n:m,l,c,a,e.key===he?"bl":e.key===me?"tr":"tl")})];null!=f&&(t=f)}const l={horizontal:[me],vertical:[he],both:[me,he]}[i],c={horizontal:[fe],vertical:[pe],both:[fe,pe]}[i],p=b?Re:{horizontal:Ne,vertical:Me,both:Re}[i];t===m&&[...l,...c].includes(e.key)&&(t=o&&t===r&&l.includes(e.key)?n:o&&t===n&&c.includes(e.key)?r:be(v,{startingIndex:t,decrement:c.includes(e.key),disabledIndices:s})),t===m||ve(v,t)||(e.stopPropagation(),p.includes(e.key)&&e.preventDefault(),g(t),queueMicrotask((()=>{Ie(v.current[t])})))}(e)}};return r.createElement(Be.Provider,{value:A},r.createElement(Te,{elementsRef:v},je(n,w)))})),Fe=r.forwardRef((function(e,t){const{render:n,...i}=e,o=n&&"function"!==typeof n?n.props:{},{activeIndex:a,onNavigate:s}=r.useContext(Be),{ref:l,index:c}=De(),u=le([l,t,o.ref]),d=a===c;return je(n,{...i,...o,ref:u,tabIndex:d?0:-1,"data-active":d?"":void 0,onFocus(e){null==i.onFocus||i.onFocus(e),null==o.onFocus||o.onFocus(e),s(c)}})}));function ze(){return ze=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ze.apply(this,arguments)}let Qe=!1,Ue=0;const Ve=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+Ue++;const Ge=ce.useId||function(){const[e,t]=r.useState((()=>Qe?Ve():void 0));return _e((()=>{null==e&&t(Ve())}),[]),r.useEffect((()=>{Qe=!0}),[]),e};const qe=r.forwardRef((function(e,t){const{context:{placement:n,elements:{floating:i},middlewareData:{arrow:a,shift:s}},width:l=14,height:c=7,tipRadius:u=0,strokeWidth:d=0,staticOffset:p,stroke:h,d:f,style:{transform:m,...g}={},...v}=e;const y=Ge(),[A,b]=r.useState(!1);if(_e((()=>{if(!i)return;"rtl"===(0,o.L9)(i).direction&&b(!0)}),[i]),!i)return null;const[w,x]=n.split("-"),C="top"===w||"bottom"===w;let S=p;(C&&null!=s&&s.x||!C&&null!=s&&s.y)&&(S=null);const k=2*d,E=k/2,I=l/2*(u/-8+1),_=c/2*u/4,P=!!f,O=S&&"end"===x?"bottom":"top";let T=S&&"end"===x?"right":"left";S&&A&&(T="end"===x?"left":"right");const D=null!=(null==a?void 0:a.x)?S||a.x:"",j=null!=(null==a?void 0:a.y)?S||a.y:"",B=f||"M0,0 H"+l+" L"+(l-I)+","+(c-_)+" Q"+l/2+","+c+" "+I+","+(c-_)+" Z",N={top:P?"rotate(180deg)":"",left:P?"rotate(90deg)":"rotate(-90deg)",bottom:P?"":"rotate(180deg)",right:P?"rotate(-90deg)":"rotate(90deg)"}[w];return r.createElement("svg",ze({},v,{"aria-hidden":!0,ref:t,width:P?l:l+k,height:l,viewBox:"0 0 "+l+" "+(c>l?c:l),style:{position:"absolute",pointerEvents:"none",[T]:D,[O]:j,[w]:C||P?"100%":"calc(100% - "+k/2+"px)",transform:[N,m].filter((e=>!!e)).join(" "),...g}}),k>0&&r.createElement("path",{clipPath:"url(#"+y+")",fill:"none",stroke:h,strokeWidth:k+(f?0:1),d:B}),r.createElement("path",{stroke:k&&!f?v.fill:"none",d:B}),r.createElement("clipPath",{id:y},r.createElement("rect",{x:-E,y:E*(P?-1:1),width:l+k,height:l})))}));function He(){const e=new Map;return{emit(t,n){var r;null==(r=e.get(t))||r.forEach((e=>e(n)))},on(t,n){e.set(t,[...e.get(t)||[],n])},off(t,n){var r;e.set(t,(null==(r=e.get(t))?void 0:r.filter((e=>e!==n)))||[])}}}const We=r.createContext(null),Ye=r.createContext(null),Ke=()=>{var e;return(null==(e=r.useContext(We))?void 0:e.id)||null},Je=()=>r.useContext(Ye);function Xe(e){const t=Ge(),n=Je(),r=Ke(),i=e||r;return _e((()=>{const e={id:t,parentId:i};return null==n||n.addNode(e),()=>{null==n||n.removeNode(e)}}),[n,t,i]),t}function Ze(e){const{children:t,id:n}=e,i=Ke();return r.createElement(We.Provider,{value:r.useMemo((()=>({id:n,parentId:i})),[n,i])},t)}function $e(e){const{children:t}=e,n=r.useRef([]),i=r.useCallback((e=>{n.current=[...n.current,e]}),[]),o=r.useCallback((e=>{n.current=n.current.filter((t=>t!==e))}),[]),a=r.useState((()=>He()))[0];return r.createElement(Ye.Provider,{value:r.useMemo((()=>({nodesRef:n,addNode:i,removeNode:o,events:a})),[i,o,a])},t)}function et(e){return"data-floating-ui-"+e}function tt(e){const t=(0,r.useRef)(e);return _e((()=>{t.current=e})),t}const nt=et("safe-polygon");function rt(e,t,n){return n&&!m(n)?0:"number"===typeof e?e:null==e?void 0:e[t]}function it(e,t){void 0===t&&(t={});const{open:n,onOpenChange:i,dataRef:a,events:l,elements:c}=e,{enabled:u=!0,delay:d=0,handleClose:p=null,mouseOnly:h=!1,restMs:f=0,move:v=!0}=t,y=Je(),A=Ke(),b=tt(p),w=tt(d),x=tt(n),C=r.useRef(),S=r.useRef(-1),k=r.useRef(),E=r.useRef(-1),I=r.useRef(!0),_=r.useRef(!1),P=r.useRef((()=>{})),O=r.useRef(!1),T=r.useCallback((()=>{var e;const t=null==(e=a.current.openEvent)?void 0:e.type;return(null==t?void 0:t.includes("mouse"))&&"mousedown"!==t}),[a]);r.useEffect((()=>{if(u)return l.on("openchange",e),()=>{l.off("openchange",e)};function e(e){let{open:t}=e;t||(clearTimeout(S.current),clearTimeout(E.current),I.current=!0,O.current=!1)}}),[u,l]),r.useEffect((()=>{if(!u)return;if(!b.current)return;if(!n)return;function e(e){T()&&i(!1,e,"hover")}const t=g(c.floating).documentElement;return t.addEventListener("mouseleave",e),()=>{t.removeEventListener("mouseleave",e)}}),[c.floating,n,i,u,b,T]);const D=r.useCallback((function(e,t,n){void 0===t&&(t=!0),void 0===n&&(n="hover");const r=rt(w.current,"close",C.current);r&&!k.current?(clearTimeout(S.current),S.current=window.setTimeout((()=>i(!1,e,n)),r)):t&&(clearTimeout(S.current),i(!1,e,n))}),[w,i]),j=de((()=>{P.current(),k.current=void 0})),B=de((()=>{if(_.current){const e=g(c.floating).body;e.style.pointerEvents="",e.removeAttribute(nt),_.current=!1}}));r.useEffect((()=>{if(u&&(0,o.vq)(c.domReference)){var e;const t=c.domReference;return n&&t.addEventListener("mouseleave",d),null==(e=c.floating)||e.addEventListener("mouseleave",d),v&&t.addEventListener("mousemove",r,{once:!0}),t.addEventListener("mouseenter",r),t.addEventListener("mouseleave",l),()=>{var e;n&&t.removeEventListener("mouseleave",d),null==(e=c.floating)||e.removeEventListener("mouseleave",d),v&&t.removeEventListener("mousemove",r),t.removeEventListener("mouseenter",r),t.removeEventListener("mouseleave",l)}}function t(){return!!a.current.openEvent&&["click","mousedown"].includes(a.current.openEvent.type)}function r(e){if(clearTimeout(S.current),I.current=!1,h&&!m(C.current)||f>0&&!rt(w.current,"open"))return;const t=rt(w.current,"open",C.current);t?S.current=window.setTimeout((()=>{x.current||i(!0,e,"hover")}),t):i(!0,e,"hover")}function l(e){if(t())return;P.current();const r=g(c.floating);if(clearTimeout(E.current),O.current=!1,b.current&&a.current.floatingContext){n||clearTimeout(S.current),k.current=b.current({...a.current.floatingContext,tree:y,x:e.clientX,y:e.clientY,onClose(){B(),j(),D(e,!0,"safe-polygon")}});const t=k.current;return r.addEventListener("mousemove",t),void(P.current=()=>{r.removeEventListener("mousemove",t)})}("touch"!==C.current||!s(c.floating,e.relatedTarget))&&D(e)}function d(e){t()||a.current.floatingContext&&(null==b.current||b.current({...a.current.floatingContext,tree:y,x:e.clientX,y:e.clientY,onClose(){B(),j(),D(e)}})(e))}}),[c,u,e,h,f,v,D,j,B,i,n,x,y,w,b,a]),_e((()=>{var e;if(u&&n&&null!=(e=b.current)&&e.__options.blockPointerEvents&&T()){_.current=!0;const e=c.floating;if((0,o.vq)(c.domReference)&&e){var t;const n=g(c.floating).body;n.setAttribute(nt,"");const r=c.domReference,i=null==y||null==(t=y.nodesRef.current.find((e=>e.id===A)))||null==(t=t.context)?void 0:t.elements.floating;return i&&(i.style.pointerEvents=""),n.style.pointerEvents="none",r.style.pointerEvents="auto",e.style.pointerEvents="auto",()=>{n.style.pointerEvents="",r.style.pointerEvents="",e.style.pointerEvents=""}}}}),[u,n,A,c,y,b,T]),_e((()=>{n||(C.current=void 0,O.current=!1,j(),B())}),[n,j,B]),r.useEffect((()=>()=>{j(),clearTimeout(S.current),clearTimeout(E.current),B()}),[u,c.domReference,j,B]);const N=r.useMemo((()=>{function e(e){C.current=e.pointerType}return{onPointerDown:e,onPointerEnter:e,onMouseMove(e){const{nativeEvent:t}=e;function r(){I.current||x.current||i(!0,t,"hover")}h&&!m(C.current)||n||0===f||O.current&&e.movementX**2+e.movementY**2<2||(clearTimeout(E.current),"touch"===C.current?r():(O.current=!0,E.current=window.setTimeout(r,f)))}}}),[h,i,n,x,f]),M=r.useMemo((()=>({onMouseEnter(){clearTimeout(S.current)},onMouseLeave(e){D(e.nativeEvent,!1)}})),[D]);return r.useMemo((()=>u?{reference:N,floating:M}:{}),[u,N,M])}const ot=()=>{},at=r.createContext({delay:0,initialDelay:0,timeoutMs:0,currentId:null,setCurrentId:ot,setState:ot,isInstantPhase:!1}),st=()=>r.useContext(at);function lt(e){const{children:t,delay:n,timeoutMs:i=0}=e,[o,a]=r.useReducer(((e,t)=>({...e,...t})),{delay:n,timeoutMs:i,initialDelay:n,currentId:null,isInstantPhase:!1}),s=r.useRef(null),l=r.useCallback((e=>{a({currentId:e})}),[]);return _e((()=>{o.currentId?null===s.current?s.current=o.currentId:o.isInstantPhase||a({isInstantPhase:!0}):(o.isInstantPhase&&a({isInstantPhase:!1}),s.current=null)}),[o.currentId,o.isInstantPhase]),r.createElement(at.Provider,{value:r.useMemo((()=>({...o,setState:a,setCurrentId:l})),[o,l])},t)}function ct(e,t){void 0===t&&(t={});const{open:n,onOpenChange:r,floatingId:i}=e,{id:o,enabled:a=!0}=t,s=null!=o?o:i,l=st(),{currentId:c,setCurrentId:u,initialDelay:d,setState:p,timeoutMs:h}=l;return _e((()=>{a&&c&&(p({delay:{open:1,close:rt(d,"close")}}),c!==s&&r(!1))}),[a,s,r,p,c,d]),_e((()=>{function e(){r(!1),p({delay:d,currentId:null})}if(a&&c&&!n&&c===s){if(h){const t=window.setTimeout(e,h);return()=>{clearTimeout(t)}}e()}}),[a,n,p,c,s,r,d,h]),_e((()=>{a&&u!==ot&&n&&u(s)}),[a,n,u,s]),l}function ut(e,t){let n=e.filter((e=>{var n;return e.parentId===t&&(null==(n=e.context)?void 0:n.open)})),r=n;for(;r.length;)r=e.filter((e=>{var t;return null==(t=r)?void 0:t.some((t=>{var n;return e.parentId===t.id&&(null==(n=e.context)?void 0:n.open)}))})),n=n.concat(r);return n}let dt=new WeakMap,pt=new WeakSet,ht={},ft=0;const mt=()=>"undefined"!==typeof HTMLElement&&"inert"in HTMLElement.prototype,gt=e=>e&&(e.host||gt(e.parentNode)),vt=(e,t)=>t.map((t=>{if(e.contains(t))return t;const n=gt(t);return e.contains(n)?n:null})).filter((e=>null!=e));function yt(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);const r=g(e[0]).body;return function(e,t,n,r){const i="data-floating-ui-inert",a=r?"inert":n?"aria-hidden":null,s=vt(t,e),l=new Set,c=new Set(s),u=[];ht[i]||(ht[i]=new WeakMap);const d=ht[i];return s.forEach((function e(t){t&&!l.has(t)&&(l.add(t),t.parentNode&&e(t.parentNode))})),function e(t){t&&!c.has(t)&&[].forEach.call(t.children,(t=>{if("script"!==(0,o.mq)(t))if(l.has(t))e(t);else{const e=a?t.getAttribute(a):null,n=null!==e&&"false"!==e,r=(dt.get(t)||0)+1,o=(d.get(t)||0)+1;dt.set(t,r),d.set(t,o),u.push(t),1===r&&n&&pt.add(t),1===o&&t.setAttribute(i,""),!n&&a&&t.setAttribute(a,"true")}}))}(t),l.clear(),ft++,()=>{u.forEach((e=>{const t=(dt.get(e)||0)-1,n=(d.get(e)||0)-1;dt.set(e,t),d.set(e,n),t||(!pt.has(e)&&a&&e.removeAttribute(a),pt.delete(e)),n||e.removeAttribute(i)})),ft--,ft||(dt=new WeakMap,dt=new WeakMap,pt=new WeakSet,ht={})}}(e.concat(Array.from(r.querySelectorAll("[aria-live]"))),r,t,n)}const At=()=>({getShadowRoot:!0,displayCheck:"function"===typeof ResizeObserver&&ResizeObserver.toString().includes("[native code]")?"full":"none"});function bt(e,t){const n=V(e,At());"prev"===t&&n.reverse();const r=n.indexOf(a(g(e)));return n.slice(r+1)[0]}function wt(){return bt(document.body,"next")}function xt(){return bt(document.body,"prev")}function Ct(e,t){const n=t||e.currentTarget,r=e.relatedTarget;return!r||!s(n,r)}function St(e){V(e,At()).forEach((e=>{e.dataset.tabindex=e.getAttribute("tabindex")||"",e.setAttribute("tabindex","-1")}))}function kt(e){e.querySelectorAll("[data-tabindex]").forEach((e=>{const t=e.dataset.tabindex;delete e.dataset.tabindex,t?e.setAttribute("tabindex",t):e.removeAttribute("tabindex")}))}const Et={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"fixed",whiteSpace:"nowrap",width:"1px",top:0,left:0};function It(e){"Tab"===e.key&&(e.target,clearTimeout(undefined))}const _t=r.forwardRef((function(e,t){const[n,i]=r.useState();_e((()=>(p()&&i("button"),document.addEventListener("keydown",It),()=>{document.removeEventListener("keydown",It)})),[]);const o={ref:t,tabIndex:0,role:n,"aria-hidden":!n||void 0,[et("focus-guard")]:"",style:Et};return r.createElement("span",ze({},e,o))})),Pt=r.createContext(null),Ot=et("portal");function Tt(e){void 0===e&&(e={});const{id:t,root:n}=e,i=Ge(),a=jt(),[s,l]=r.useState(null),c=r.useRef(null);return _e((()=>()=>{null==s||s.remove(),queueMicrotask((()=>{c.current=null}))}),[s]),_e((()=>{if(!i)return;if(c.current)return;const e=t?document.getElementById(t):null;if(!e)return;const n=document.createElement("div");n.id=i,n.setAttribute(Ot,""),e.appendChild(n),c.current=n,l(n)}),[t,i]),_e((()=>{if(!i)return;if(c.current)return;let e=n||(null==a?void 0:a.portalNode);e&&!(0,o.vq)(e)&&(e=e.current),e=e||document.body;let r=null;t&&(r=document.createElement("div"),r.id=t,e.appendChild(r));const s=document.createElement("div");s.id=i,s.setAttribute(Ot,""),e=r||e,e.appendChild(s),c.current=s,l(s)}),[t,n,i,a]),s}function Dt(e){const{children:t,id:n,root:i=null,preserveTabOrder:o=!0}=e,a=Tt({id:n,root:i}),[s,l]=r.useState(null),c=r.useRef(null),u=r.useRef(null),d=r.useRef(null),p=r.useRef(null),h=null==s?void 0:s.modal,f=null==s?void 0:s.open,m=!!s&&!s.modal&&s.open&&o&&!(!i&&!a);return r.useEffect((()=>{if(a&&o&&!h)return a.addEventListener("focusin",e,!0),a.addEventListener("focusout",e,!0),()=>{a.removeEventListener("focusin",e,!0),a.removeEventListener("focusout",e,!0)};function e(e){if(a&&Ct(e)){("focusin"===e.type?kt:St)(a)}}}),[a,o,h]),r.useEffect((()=>{a&&(f||kt(a))}),[f,a]),r.createElement(Pt.Provider,{value:r.useMemo((()=>({preserveTabOrder:o,beforeOutsideRef:c,afterOutsideRef:u,beforeInsideRef:d,afterInsideRef:p,portalNode:a,setFocusManagerState:l})),[o,a])},m&&a&&r.createElement(_t,{"data-type":"outside",ref:c,onFocus:e=>{if(Ct(e,a)){var t;null==(t=d.current)||t.focus()}else{const e=xt()||(null==s?void 0:s.refs.domReference.current);null==e||e.focus()}}}),m&&a&&r.createElement("span",{"aria-owns":a.id,style:Et}),a&&q.createPortal(t,a),m&&a&&r.createElement(_t,{"data-type":"outside",ref:u,onFocus:e=>{if(Ct(e,a)){var t;null==(t=p.current)||t.focus()}else{const t=wt()||(null==s?void 0:s.refs.domReference.current);null==t||t.focus(),(null==s?void 0:s.closeOnFocusOut)&&(null==s||s.onOpenChange(!1,e.nativeEvent,"focus-out"))}}}))}const jt=()=>r.useContext(Pt),Bt="data-floating-ui-focusable";function Nt(e){return e?e.hasAttribute(Bt)?e:e.querySelector("["+Bt+"]")||e:null}const Mt=20;let Rt=[];function Lt(e){Rt=Rt.filter((e=>e.isConnected));let t=e;if(t&&"body"!==(0,o.mq)(t)){if(!G(t,At())){const e=V(t,At())[0];e&&(t=e)}Rt.push(t),Rt.length>Mt&&(Rt=Rt.slice(-Mt))}}function Ft(){return Rt.slice().reverse().find((e=>e.isConnected))}const zt=r.forwardRef((function(e,t){return r.createElement("button",ze({},e,{type:"button",ref:t,tabIndex:-1,style:Et}))}));function Qt(e){const{context:t,children:n,disabled:i=!1,order:l=["content"],guards:c=!0,initialFocus:p=0,returnFocus:h=!0,restoreFocus:f=!1,modal:m=!0,visuallyHiddenDismiss:v=!1,closeOnFocusOut:A=!0}=e,{open:b,refs:C,nodeId:S,onOpenChange:k,events:E,dataRef:I,floatingId:_,elements:{domReference:P,floating:O}}=t,T="number"===typeof p&&p<0,D=x(P)&&T,j=!mt()||c,B=tt(l),N=tt(p),M=tt(h),R=Je(),L=jt(),F=r.useRef(null),z=r.useRef(null),Q=r.useRef(!1),U=r.useRef(!1),G=r.useRef(-1),q=null!=L,H=Nt(O),W=de((function(e){return void 0===e&&(e=H),e?V(e,At()):[]})),Y=de((e=>{const t=W(e);return B.current.map((e=>P&&"reference"===e?P:H&&"floating"===e?H:t)).filter(Boolean).flat()}));function K(e){return!i&&v&&m?r.createElement(zt,{ref:"start"===e?F:z,onClick:e=>k(!1,e.nativeEvent)},"string"===typeof v?v:"Dismiss"):null}r.useEffect((()=>{Q.current=!1}),[i]),r.useEffect((()=>{if(i)return;if(!m)return;function e(e){if("Tab"===e.key){s(H,a(g(H)))&&0===W().length&&!D&&w(e);const t=Y(),n=y(e);"reference"===B.current[0]&&n===P&&(w(e),e.shiftKey?Ie(t[t.length-1]):Ie(t[1])),"floating"===B.current[1]&&n===H&&e.shiftKey&&(w(e),Ie(t[0]))}}const t=g(H);return t.addEventListener("keydown",e),()=>{t.removeEventListener("keydown",e)}}),[i,P,H,m,B,D,W,Y]),r.useEffect((()=>{if(!i&&O)return O.addEventListener("focusin",e),()=>{O.removeEventListener("focusin",e)};function e(e){const t=y(e),n=W().indexOf(t);-1!==n&&(G.current=n)}}),[i,O,W]),r.useEffect((()=>{if(!i&&A)return O&&(0,o.sb)(P)?(P.addEventListener("focusout",t),P.addEventListener("pointerdown",e),O.addEventListener("focusout",t),()=>{P.removeEventListener("focusout",t),P.removeEventListener("pointerdown",e),O.removeEventListener("focusout",t)}):void 0;function e(){U.current=!0,setTimeout((()=>{U.current=!1}))}function t(e){const t=e.relatedTarget;queueMicrotask((()=>{const n=!(s(P,t)||s(O,t)||s(t,O)||s(null==L?void 0:L.portalNode,t)||null!=t&&t.hasAttribute(et("focus-guard"))||R&&(ut(R.nodesRef.current,S).find((e=>{var n,r;return s(null==(n=e.context)?void 0:n.elements.floating,t)||s(null==(r=e.context)?void 0:r.elements.domReference,t)}))||function(e,t){var n;let r=[],i=null==(n=e.find((e=>e.id===t)))?void 0:n.parentId;for(;i;){const t=e.find((e=>e.id===i));i=null==t?void 0:t.parentId,t&&(r=r.concat(t))}return r}(R.nodesRef.current,S).find((e=>{var n,r;return(null==(n=e.context)?void 0:n.elements.floating)===t||(null==(r=e.context)?void 0:r.elements.domReference)===t}))));if(f&&n&&a(g(H))===g(H).body){(0,o.sb)(H)&&H.focus();const e=G.current,t=W(),n=t[e]||t[t.length-1]||H;(0,o.sb)(n)&&n.focus()}!D&&m||!t||!n||U.current||t===Ft()||(Q.current=!0,k(!1,e,"focus-out"))}))}}),[i,P,O,H,m,S,R,L,k,A,f,W,D]),r.useEffect((()=>{var e;if(i)return;const t=Array.from((null==L||null==(e=L.portalNode)?void 0:e.querySelectorAll("["+et("portal")+"]"))||[]);if(O){const e=[O,...t,F.current,z.current,B.current.includes("reference")||D?P:null].filter((e=>null!=e)),n=m||D?yt(e,j,!j):yt(e);return()=>{n()}}}),[i,P,O,m,B,L,D,j]),_e((()=>{if(i||!(0,o.sb)(H))return;const e=a(g(H));queueMicrotask((()=>{const t=Y(H),n=N.current,r=("number"===typeof n?t[n]:n.current)||H,i=s(H,e);T||i||!b||Ie(r,{preventScroll:r===H})}))}),[i,b,H,T,Y,N]),_e((()=>{if(i||!H)return;let e=!1;const t=g(H),n=a(t);let r=I.current.openEvent;function l(t){let{open:n,reason:i,event:o,nested:a}=t;n&&(r=o),"escape-key"===i&&C.domReference.current&&Lt(C.domReference.current),"hover"===i&&"mouseleave"===o.type&&(Q.current=!0),"outside-press"===i&&(a?(Q.current=!1,e=!0):Q.current=!(u(o)||d(o)))}Lt(n),E.on("openchange",l);const c=t.createElement("span");return c.setAttribute("tabindex","-1"),c.setAttribute("aria-hidden","true"),Object.assign(c.style,Et),q&&P&&P.insertAdjacentElement("afterend",c),()=>{E.off("openchange",l);const n=a(t),i=s(O,n)||R&&ut(R.nodesRef.current,S).some((e=>{var t;return s(null==(t=e.context)?void 0:t.elements.floating,n)}));(i||r&&["click","mousedown"].includes(r.type))&&C.domReference.current&&Lt(C.domReference.current);const u=Ft()||c;queueMicrotask((()=>{M.current&&!Q.current&&(0,o.sb)(u)&&(u===n||n===t.body||i)&&u.focus({preventScroll:e}),c.remove()}))}}),[i,O,H,M,I,C,E,R,S,q,P]),_e((()=>{if(!i&&L)return L.setFocusManagerState({modal:m,closeOnFocusOut:A,open:b,onOpenChange:k,refs:C}),()=>{L.setFocusManagerState(null)}}),[i,L,m,b,k,C,A]),_e((()=>{if(i)return;if(!H)return;if("function"!==typeof MutationObserver)return;if(T)return;const e=()=>{const e=H.getAttribute("tabindex"),t=W(),n=a(g(O)),r=t.indexOf(n);-1!==r&&(G.current=r),B.current.includes("floating")||n!==C.domReference.current&&0===t.length?"0"!==e&&H.setAttribute("tabindex","0"):"-1"!==e&&H.setAttribute("tabindex","-1")};e();const t=new MutationObserver(e);return t.observe(H,{childList:!0,subtree:!0,attributes:!0}),()=>{t.disconnect()}}),[i,O,H,C,B,W,T]);const J=!i&&j&&(!m||!D)&&(q||m);return r.createElement(r.Fragment,null,J&&r.createElement(_t,{"data-type":"inside",ref:null==L?void 0:L.beforeInsideRef,onFocus:e=>{if(m){const e=Y();Ie("reference"===l[0]?e[0]:e[e.length-1])}else if(null!=L&&L.preserveTabOrder&&L.portalNode)if(Q.current=!1,Ct(e,L.portalNode)){const e=wt()||P;null==e||e.focus()}else{var t;null==(t=L.beforeOutsideRef.current)||t.focus()}}}),!D&&K("start"),n,K("end"),J&&r.createElement(_t,{"data-type":"inside",ref:null==L?void 0:L.afterInsideRef,onFocus:e=>{if(m)Ie(Y()[0]);else if(null!=L&&L.preserveTabOrder&&L.portalNode)if(A&&(Q.current=!0),Ct(e,L.portalNode)){const e=xt()||P;null==e||e.focus()}else{var t;null==(t=L.afterOutsideRef.current)||t.focus()}}}))}let Ut=0;let Vt=()=>{};const Gt=r.forwardRef((function(e,t){const{lockScroll:n=!1,...i}=e;return _e((()=>{if(n)return Ut++,1===Ut&&(Vt=function(){const e=/iP(hone|ad|od)|iOS/.test(l()),t=document.body.style,n=Math.round(document.documentElement.getBoundingClientRect().left)+document.documentElement.scrollLeft?"paddingLeft":"paddingRight",r=window.innerWidth-document.documentElement.clientWidth,i=t.left?parseFloat(t.left):window.scrollX,o=t.top?parseFloat(t.top):window.scrollY;if(t.overflow="hidden",r&&(t[n]=r+"px"),e){var a,s;const e=(null==(a=window.visualViewport)?void 0:a.offsetLeft)||0,n=(null==(s=window.visualViewport)?void 0:s.offsetTop)||0;Object.assign(t,{position:"fixed",top:-(o-Math.floor(n))+"px",left:-(i-Math.floor(e))+"px",right:"0"})}return()=>{Object.assign(t,{overflow:"",[n]:""}),e&&(Object.assign(t,{position:"",top:"",left:"",right:""}),window.scrollTo(i,o))}}()),()=>{Ut--,0===Ut&&Vt()}}),[n]),r.createElement("div",ze({ref:t},i,{style:{position:"fixed",overflow:"auto",top:0,right:0,bottom:0,left:0,...i.style}}))}));function qt(e){return(0,o.sb)(e.target)&&"BUTTON"===e.target.tagName}function Ht(e){return b(e)}function Wt(e,t){void 0===t&&(t={});const{open:n,onOpenChange:i,dataRef:o,elements:{domReference:a}}=e,{enabled:s=!0,event:l="click",toggle:c=!0,ignoreMouse:u=!1,keyboardHandlers:d=!0}=t,p=r.useRef(),h=r.useRef(!1),f=r.useMemo((()=>({onPointerDown(e){p.current=e.pointerType},onMouseDown(e){const t=p.current;0===e.button&&"click"!==l&&(m(t,!0)&&u||(!n||!c||o.current.openEvent&&"mousedown"!==o.current.openEvent.type?(e.preventDefault(),i(!0,e.nativeEvent,"click")):i(!1,e.nativeEvent,"click")))},onClick(e){const t=p.current;"mousedown"===l&&p.current?p.current=void 0:m(t,!0)&&u||(!n||!c||o.current.openEvent&&"click"!==o.current.openEvent.type?i(!0,e.nativeEvent,"click"):i(!1,e.nativeEvent,"click"))},onKeyDown(e){p.current=void 0,e.defaultPrevented||!d||qt(e)||(" "!==e.key||Ht(a)||(e.preventDefault(),h.current=!0),"Enter"===e.key&&i(!n||!c,e.nativeEvent,"click"))},onKeyUp(e){e.defaultPrevented||!d||qt(e)||Ht(a)||" "===e.key&&h.current&&(h.current=!1,i(!n||!c,e.nativeEvent,"click"))}})),[o,a,l,u,d,i,n,c]);return r.useMemo((()=>s?{reference:f}:{}),[s,f])}function Yt(e){return null!=e&&null!=e.clientX}function Kt(e,t){void 0===t&&(t={});const{open:n,dataRef:i,elements:{floating:a,domReference:l},refs:c}=e,{enabled:u=!0,axis:d="both",x:p=null,y:h=null}=t,f=r.useRef(!1),g=r.useRef(null),[v,A]=r.useState(),[b,w]=r.useState([]),x=de(((e,t)=>{f.current||i.current.openEvent&&!Yt(i.current.openEvent)||c.setPositionReference(function(e,t){let n=null,r=null,i=!1;return{contextElement:e||void 0,getBoundingClientRect(){var o;const a=(null==e?void 0:e.getBoundingClientRect())||{width:0,height:0,x:0,y:0},s="x"===t.axis||"both"===t.axis,l="y"===t.axis||"both"===t.axis,c=["mouseenter","mousemove"].includes((null==(o=t.dataRef.current.openEvent)?void 0:o.type)||"")&&"touch"!==t.pointerType;let u=a.width,d=a.height,p=a.x,h=a.y;return null==n&&t.x&&s&&(n=a.x-t.x),null==r&&t.y&&l&&(r=a.y-t.y),p-=n||0,h-=r||0,u=0,d=0,!i||c?(u="y"===t.axis?a.width:0,d="x"===t.axis?a.height:0,p=s&&null!=t.x?t.x:p,h=l&&null!=t.y?t.y:h):i&&!c&&(d="x"===t.axis?a.height:d,u="y"===t.axis?a.width:u),i=!0,{width:u,height:d,x:p,y:h,top:h,right:p+u,bottom:h+d,left:p}}}}(l,{x:e,y:t,axis:d,dataRef:i,pointerType:v}))})),C=de((e=>{null==p&&null==h&&(n?g.current||w([]):x(e.clientX,e.clientY))})),S=m(v)?a:n,k=r.useCallback((()=>{if(!S||!u||null!=p||null!=h)return;const e=(0,o.zk)(a);function t(n){const r=y(n);s(a,r)?(e.removeEventListener("mousemove",t),g.current=null):x(n.clientX,n.clientY)}if(!i.current.openEvent||Yt(i.current.openEvent)){e.addEventListener("mousemove",t);const n=()=>{e.removeEventListener("mousemove",t),g.current=null};return g.current=n,n}c.setPositionReference(l)}),[S,u,p,h,a,i,c,l,x]);r.useEffect((()=>k()),[k,b]),r.useEffect((()=>{u&&!a&&(f.current=!1)}),[u,a]),r.useEffect((()=>{!u&&n&&(f.current=!0)}),[u,n]),_e((()=>{!u||null==p&&null==h||(f.current=!1,x(p,h))}),[u,p,h,x]);const E=r.useMemo((()=>{function e(e){let{pointerType:t}=e;A(t)}return{onPointerDown:e,onPointerEnter:e,onMouseMove:C,onMouseEnter:C}}),[C]);return r.useMemo((()=>u?{reference:E}:{}),[u,E])}const Jt={pointerdown:"onPointerDown",mousedown:"onMouseDown",click:"onClick"},Xt={pointerdown:"onPointerDownCapture",mousedown:"onMouseDownCapture",click:"onClickCapture"},Zt=e=>{var t,n;return{escapeKey:"boolean"===typeof e?e:null!=(t=null==e?void 0:e.escapeKey)&&t,outsidePress:"boolean"===typeof e?e:null==(n=null==e?void 0:e.outsidePress)||n}};function $t(e,t){void 0===t&&(t={});const{open:n,onOpenChange:i,elements:a,dataRef:l}=e,{enabled:c=!0,escapeKey:u=!0,outsidePress:d=!0,outsidePressEvent:p="pointerdown",referencePress:h=!1,referencePressEvent:f="pointerdown",ancestorScroll:m=!1,bubbles:A,capture:b}=t,w=Je(),x=de("function"===typeof d?d:()=>!1),C="function"===typeof d?x:d,S=r.useRef(!1),k=r.useRef(!1),{escapeKey:E,outsidePress:I}=Zt(A),{escapeKey:_,outsidePress:P}=Zt(b),O=r.useRef(!1),T=de((e=>{var t;if(!n||!c||!u||"Escape"!==e.key)return;if(O.current)return;const r=null==(t=l.current.floatingContext)?void 0:t.nodeId,o=w?ut(w.nodesRef.current,r):[];if(!E&&(e.stopPropagation(),o.length>0)){let e=!0;if(o.forEach((t=>{var n;null==(n=t.context)||!n.open||t.context.dataRef.current.__escapeKeyBubbles||(e=!1)})),!e)return}i(!1,function(e){return"nativeEvent"in e}(e)?e.nativeEvent:e,"escape-key")})),D=de((e=>{var t;const n=()=>{var t;T(e),null==(t=y(e))||t.removeEventListener("keydown",n)};null==(t=y(e))||t.addEventListener("keydown",n)})),j=de((e=>{var t;const n=S.current;S.current=!1;const r=k.current;if(k.current=!1,"click"===p&&r)return;if(n)return;if("function"===typeof C&&!C(e))return;const c=y(e),u="["+et("inert")+"]",d=g(a.floating).querySelectorAll(u);let h=(0,o.vq)(c)?c:null;for(;h&&!(0,o.eu)(h);){const e=(0,o.$4)(h);if((0,o.eu)(e)||!(0,o.vq)(e))break;h=e}if(d.length&&(0,o.vq)(c)&&!c.matches("html,body")&&!s(c,a.floating)&&Array.from(d).every((e=>!s(h,e))))return;if((0,o.sb)(c)&&M){const t=c.clientWidth>0&&c.scrollWidth>c.clientWidth,n=c.clientHeight>0&&c.scrollHeight>c.clientHeight;let r=n&&e.offsetX>c.clientWidth;if(n){"rtl"===(0,o.L9)(c).direction&&(r=e.offsetX<=c.offsetWidth-c.clientWidth)}if(r||t&&e.offsetY>c.clientHeight)return}const f=null==(t=l.current.floatingContext)?void 0:t.nodeId,m=w&&ut(w.nodesRef.current,f).some((t=>{var n;return v(e,null==(n=t.context)?void 0:n.elements.floating)}));if(v(e,a.floating)||v(e,a.domReference)||m)return;const A=w?ut(w.nodesRef.current,f):[];if(A.length>0){let e=!0;if(A.forEach((t=>{var n;null==(n=t.context)||!n.open||t.context.dataRef.current.__outsidePressBubbles||(e=!1)})),!e)return}i(!1,e,"outside-press")})),B=de((e=>{var t;const n=()=>{var t;j(e),null==(t=y(e))||t.removeEventListener(p,n)};null==(t=y(e))||t.addEventListener(p,n)}));r.useEffect((()=>{if(!n||!c)return;l.current.__escapeKeyBubbles=E,l.current.__outsidePressBubbles=I;let e=-1;function t(e){i(!1,e,"ancestor-scroll")}function r(){window.clearTimeout(e),O.current=!0}function s(){e=window.setTimeout((()=>{O.current=!1}),(0,o.Tc)()?5:0)}const d=g(a.floating);u&&(d.addEventListener("keydown",_?D:T,_),d.addEventListener("compositionstart",r),d.addEventListener("compositionend",s)),C&&d.addEventListener(p,P?B:j,P);let h=[];return m&&((0,o.vq)(a.domReference)&&(h=(0,o.v9)(a.domReference)),(0,o.vq)(a.floating)&&(h=h.concat((0,o.v9)(a.floating))),!(0,o.vq)(a.reference)&&a.reference&&a.reference.contextElement&&(h=h.concat((0,o.v9)(a.reference.contextElement)))),h=h.filter((e=>{var t;return e!==(null==(t=d.defaultView)?void 0:t.visualViewport)})),h.forEach((e=>{e.addEventListener("scroll",t,{passive:!0})})),()=>{u&&(d.removeEventListener("keydown",_?D:T,_),d.removeEventListener("compositionstart",r),d.removeEventListener("compositionend",s)),C&&d.removeEventListener(p,P?B:j,P),h.forEach((e=>{e.removeEventListener("scroll",t)})),window.clearTimeout(e)}}),[l,a,u,C,p,n,i,m,c,E,I,T,_,D,j,P,B]),r.useEffect((()=>{S.current=!1}),[C,p]);const N=r.useMemo((()=>({onKeyDown:T,[Jt[f]]:e=>{h&&i(!1,e.nativeEvent,"reference-press")}})),[T,i,h,f]),M=r.useMemo((()=>({onKeyDown:T,onMouseDown(){k.current=!0},onMouseUp(){k.current=!0},[Xt[p]]:()=>{S.current=!0}})),[T,p]);return r.useMemo((()=>c?{reference:N,floating:M}:{}),[c,N,M])}function en(e){const{open:t=!1,onOpenChange:n,elements:i}=e,o=Ge(),a=r.useRef({}),[s]=r.useState((()=>He())),l=null!=Ke();const[c,u]=r.useState(i.reference),d=de(((e,t,r)=>{a.current.openEvent=e?t:void 0,s.emit("openchange",{open:e,event:t,reason:r,nested:l}),null==n||n(e,t,r)})),p=r.useMemo((()=>({setPositionReference:u})),[]),h=r.useMemo((()=>({reference:c||i.reference||null,floating:i.floating||null,domReference:i.reference})),[c,i.reference,i.floating]);return r.useMemo((()=>({dataRef:a,open:t,onOpenChange:d,elements:h,events:s,floatingId:o,refs:p})),[t,d,h,s,o,p])}function tn(e){void 0===e&&(e={});const{nodeId:t}=e,n=en({...e,elements:{reference:null,floating:null,...e.elements}}),i=e.rootContext||n,a=i.elements,[s,l]=r.useState(null),[c,u]=r.useState(null),d=(null==a?void 0:a.reference)||s,p=r.useRef(null),h=Je();_e((()=>{d&&(p.current=d)}),[d]);const f=function(e){void 0===e&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:i=[],platform:o,elements:{reference:a,floating:s}={},transform:l=!0,whileElementsMounted:c,open:u}=e,[d,p]=r.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[h,f]=r.useState(i);Y(h,i)||f(i);const[m,g]=r.useState(null),[v,y]=r.useState(null),A=r.useCallback((e=>{e!==C.current&&(C.current=e,g(e))}),[]),b=r.useCallback((e=>{e!==S.current&&(S.current=e,y(e))}),[]),w=a||m,x=s||v,C=r.useRef(null),S=r.useRef(null),k=r.useRef(d),E=null!=c,I=X(c),_=X(o),P=X(u),O=r.useCallback((()=>{if(!C.current||!S.current)return;const e={placement:t,strategy:n,middleware:h};_.current&&(e.platform=_.current),(0,H.rD)(C.current,S.current,e).then((e=>{const t={...e,isPositioned:!1!==P.current};T.current&&!Y(k.current,t)&&(k.current=t,q.flushSync((()=>{p(t)})))}))}),[h,t,n,_,P]);W((()=>{!1===u&&k.current.isPositioned&&(k.current.isPositioned=!1,p((e=>({...e,isPositioned:!1}))))}),[u]);const T=r.useRef(!1);W((()=>(T.current=!0,()=>{T.current=!1})),[]),W((()=>{if(w&&(C.current=w),x&&(S.current=x),w&&x){if(I.current)return I.current(w,x,O);O()}}),[w,x,O,I,E]);const D=r.useMemo((()=>({reference:C,floating:S,setReference:A,setFloating:b})),[A,b]),j=r.useMemo((()=>({reference:w,floating:x})),[w,x]),B=r.useMemo((()=>{const e={position:n,left:0,top:0};if(!j.floating)return e;const t=J(j.floating,d.x),r=J(j.floating,d.y);return l?{...e,transform:"translate("+t+"px, "+r+"px)",...K(j.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}}),[n,l,j.floating,d.x,d.y]);return r.useMemo((()=>({...d,update:O,refs:D,elements:j,floatingStyles:B})),[d,O,D,j,B])}({...e,elements:{...a,...c&&{reference:c}}}),m=r.useCallback((e=>{const t=(0,o.vq)(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),contextElement:e}:e;u(t),f.refs.setReference(t)}),[f.refs]),g=r.useCallback((e=>{((0,o.vq)(e)||null===e)&&(p.current=e,l(e)),((0,o.vq)(f.refs.reference.current)||null===f.refs.reference.current||null!==e&&!(0,o.vq)(e))&&f.refs.setReference(e)}),[f.refs]),v=r.useMemo((()=>({...f.refs,setReference:g,setPositionReference:m,domReference:p})),[f.refs,g,m]),y=r.useMemo((()=>({...f.elements,domReference:d})),[f.elements,d]),A=r.useMemo((()=>({...f,...i,refs:v,elements:y,nodeId:t})),[f,v,y,t,i]);return _e((()=>{i.dataRef.current.floatingContext=A;const e=null==h?void 0:h.nodesRef.current.find((e=>e.id===t));e&&(e.context=A)})),r.useMemo((()=>({...f,context:A,refs:v,elements:y})),[f,v,y,A])}function nn(e,t){void 0===t&&(t={});const{open:n,onOpenChange:i,events:l,dataRef:c,elements:u}=e,{enabled:h=!0,visibleOnly:m=!0}=t,v=r.useRef(!1),A=r.useRef(),w=r.useRef(!0);r.useEffect((()=>{if(!h)return;const e=(0,o.zk)(u.domReference);function t(){!n&&(0,o.sb)(u.domReference)&&u.domReference===a(g(u.domReference))&&(v.current=!0)}function r(){w.current=!0}return e.addEventListener("blur",t),e.addEventListener("keydown",r,!0),()=>{e.removeEventListener("blur",t),e.removeEventListener("keydown",r,!0)}}),[u.domReference,n,h]),r.useEffect((()=>{if(h)return l.on("openchange",e),()=>{l.off("openchange",e)};function e(e){let{reason:t}=e;"reference-press"!==t&&"escape-key"!==t||(v.current=!0)}}),[l,h]),r.useEffect((()=>()=>{clearTimeout(A.current)}),[]);const x=r.useMemo((()=>({onPointerDown(e){d(e.nativeEvent)||(w.current=!1)},onMouseLeave(){v.current=!1},onFocus(e){if(v.current)return;const t=y(e.nativeEvent);if(m&&(0,o.vq)(t))try{if(p()&&f())throw Error();if(!t.matches(":focus-visible"))return}catch(n){if(!w.current&&!b(t))return}i(!0,e.nativeEvent,"focus")},onBlur(e){v.current=!1;const t=e.relatedTarget,n=e.nativeEvent,r=(0,o.vq)(t)&&t.hasAttribute(et("focus-guard"))&&"outside"===t.getAttribute("data-type");A.current=window.setTimeout((()=>{var e;const o=a(u.domReference?u.domReference.ownerDocument:document);(t||o!==u.domReference)&&(s(null==(e=c.current.floatingContext)?void 0:e.refs.floating.current,o)||s(u.domReference,o)||r||i(!1,n,"focus"))}))}})),[c,u.domReference,i,m]);return r.useMemo((()=>h?{reference:x}:{}),[h,x])}const rn="active",on="selected";function an(e,t,n){const r=new Map,i="item"===n;let o=e;if(i&&e){const{[rn]:t,[on]:n,...r}=e;o=r}return{..."floating"===n&&{tabIndex:-1,[Bt]:""},...o,...t.map((t=>{const r=t?t[n]:null;return"function"===typeof r?e?r(e):null:r})).concat(e).reduce(((e,t)=>t?(Object.entries(t).forEach((t=>{let[n,o]=t;var a;i&&[rn,on].includes(n)||(0===n.indexOf("on")?(r.has(n)||r.set(n,[]),"function"===typeof o&&(null==(a=r.get(n))||a.push(o),e[n]=function(){for(var e,t=arguments.length,i=new Array(t),o=0;o<t;o++)i[o]=arguments[o];return null==(e=r.get(n))?void 0:e.map((e=>e(...i))).find((e=>void 0!==e))})):e[n]=o)})),e):e),{})}}function sn(e){void 0===e&&(e=[]);const t=e.map((e=>null==e?void 0:e.reference)),n=e.map((e=>null==e?void 0:e.floating)),i=e.map((e=>null==e?void 0:e.item)),o=r.useCallback((t=>an(t,e,"reference")),t),a=r.useCallback((t=>an(t,e,"floating")),n),s=r.useCallback((t=>an(t,e,"item")),i);return r.useMemo((()=>({getReferenceProps:o,getFloatingProps:a,getItemProps:s})),[o,a,s])}let ln=!1;function cn(e,t,n){switch(e){case"vertical":return t;case"horizontal":return n;default:return t||n}}function un(e,t){return cn(t,e===pe||e===he,e===fe||e===me)}function dn(e,t,n){return cn(t,e===he,n?e===fe:e===me)||"Enter"===e||" "===e||""===e}function pn(e,t,n){return cn(t,n?e===me:e===fe,e===pe)}function hn(e,t){const{open:n,onOpenChange:i,elements:l}=e,{listRef:c,activeIndex:h,onNavigate:m=()=>{},enabled:v=!0,selectedIndex:y=null,allowEscape:A=!1,loop:b=!1,nested:C=!1,rtl:S=!1,virtual:k=!1,focusItemOnOpen:E="auto",focusItemOnHover:I=!0,openOnArrowKeyDown:_=!0,disabledIndices:P,orientation:O="vertical",cols:T=1,scrollItemIntoView:D=!0,virtualItemRef:j,itemSizes:B,dense:N=!1}=t;const M=tt(Nt(l.floating)),R=Ke(),L=Je(),F=de(m),z=r.useRef(E),Q=r.useRef(null!=y?y:-1),U=r.useRef(null),V=r.useRef(!0),G=r.useRef(F),q=r.useRef(!!l.floating),H=r.useRef(n),W=r.useRef(!1),Y=r.useRef(!1),K=tt(P),J=tt(n),X=tt(D),Z=tt(y),[$,ee]=r.useState(),[te,ne]=r.useState(),re=de((function(e,t,n){function r(e){k?(ee(e.id),null==L||L.events.emit("virtualfocus",e),j&&(j.current=e)):Ie(e,{preventScroll:!0,sync:!(!f()||!p())&&(ln||W.current)})}void 0===n&&(n=!1);const i=e.current[t.current];i&&r(i),requestAnimationFrame((()=>{const o=e.current[t.current]||i;if(!o)return;i||r(o);const a=X.current;a&&oe&&(n||!V.current)&&(null==o.scrollIntoView||o.scrollIntoView("boolean"===typeof a?{block:"nearest",inline:"nearest"}:a))}))}));_e((()=>{document.createElement("div").focus({get preventScroll(){return ln=!0,!1}})}),[]),_e((()=>{v&&(n&&l.floating?z.current&&null!=y&&(Y.current=!0,Q.current=y,F(y)):q.current&&(Q.current=-1,G.current(null)))}),[v,n,l.floating,y,F]),_e((()=>{if(v&&n&&l.floating)if(null==h){if(W.current=!1,null!=Z.current)return;if(q.current&&(Q.current=-1,re(c,Q)),(!H.current||!q.current)&&z.current&&(null!=U.current||!0===z.current&&null==U.current)){let e=0;const t=()=>{if(null==c.current[0]){if(e<2){(e?requestAnimationFrame:queueMicrotask)(t)}e++}else Q.current=null==U.current||dn(U.current,O,S)||C?ye(c,K.current):Ae(c,K.current),U.current=null,F(Q.current)};t()}}else ve(c,h)||(Q.current=h,re(c,Q,Y.current),Y.current=!1)}),[v,n,l.floating,h,Z,C,c,O,S,F,re,K]),_e((()=>{var e;if(!v||l.floating||!L||k||!q.current)return;const t=L.nodesRef.current,n=null==(e=t.find((e=>e.id===R)))||null==(e=e.context)?void 0:e.elements.floating,r=a(g(l.floating)),i=t.some((e=>e.context&&s(e.context.elements.floating,r)));n&&!i&&V.current&&n.focus({preventScroll:!0})}),[v,l.floating,L,R,k]),_e((()=>{if(v&&L&&k&&!R)return L.events.on("virtualfocus",e),()=>{L.events.off("virtualfocus",e)};function e(e){ne(e.id),j&&(j.current=e)}}),[v,L,k,R,j]),_e((()=>{G.current=F,q.current=!!l.floating})),_e((()=>{n||(U.current=null)}),[n]),_e((()=>{H.current=n}),[n]);const ie=null!=h,oe=r.useMemo((()=>{function e(e){if(!n)return;const t=c.current.indexOf(e);-1!==t&&F(t)}return{onFocus(t){let{currentTarget:n}=t;e(n)},onClick:e=>{let{currentTarget:t}=e;return t.focus({preventScroll:!0})},...I&&{onMouseMove(t){let{currentTarget:n}=t;e(n)},onPointerLeave(e){let{pointerType:t}=e;V.current&&"touch"!==t&&(Q.current=-1,re(c,Q),F(null),k||Ie(M.current,{preventScroll:!0}))}}}}),[n,M,re,I,c,F,k]),ae=de((e=>{if(V.current=!1,W.current=!0,229===e.which)return;if(!J.current&&e.currentTarget===M.current)return;if(C&&pn(e.key,O,S))return w(e),i(!1,e.nativeEvent,"list-navigation"),void((0,o.sb)(l.domReference)&&!k&&l.domReference.focus());const t=Q.current,r=ye(c,P),s=Ae(c,P);if("Home"===e.key&&(w(e),Q.current=r,F(Q.current)),"End"===e.key&&(w(e),Q.current=s,F(Q.current)),T>1){const t=B||Array.from({length:c.current.length},(()=>({width:1,height:1}))),n=xe(t,T,N),i=n.findIndex((e=>null!=e&&!ke(c.current,e,P))),o=n.reduce(((e,t,n)=>null==t||ke(c.current,t,P)?e:n),-1),a=n[we({current:n.map((e=>null!=e?c.current[e]:null))},{event:e,orientation:O,loop:b,cols:T,disabledIndices:Se([...P||c.current.map(((e,t)=>ke(c.current,t)?t:void 0)),void 0],n),minIndex:i,maxIndex:o,prevIndex:Ce(Q.current>s?r:Q.current,t,n,T,e.key===he?"bl":e.key===me?"tr":"tl"),stopEvent:!0})];if(null!=a&&(Q.current=a,F(Q.current)),"both"===O)return}if(un(e.key,O)){if(w(e),n&&!k&&a(e.currentTarget.ownerDocument)===e.currentTarget)return Q.current=dn(e.key,O,S)?r:s,void F(Q.current);dn(e.key,O,S)?Q.current=b?t>=s?A&&t!==c.current.length?-1:r:be(c,{startingIndex:t,disabledIndices:P}):Math.min(s,be(c,{startingIndex:t,disabledIndices:P})):Q.current=b?t<=r?A&&-1!==t?c.current.length:s:be(c,{startingIndex:t,decrement:!0,disabledIndices:P}):Math.max(r,be(c,{startingIndex:t,decrement:!0,disabledIndices:P})),ve(c,Q.current)?F(null):F(Q.current)}})),se=r.useMemo((()=>k&&n&&ie&&{"aria-activedescendant":te||$}),[k,n,ie,te,$]),le=r.useMemo((()=>({"aria-orientation":"both"===O?void 0:O,...!x(l.domReference)&&se,onKeyDown:ae,onPointerMove(){V.current=!0}})),[se,ae,l.domReference,O]),ce=r.useMemo((()=>{function e(e){"auto"===E&&u(e.nativeEvent)&&(z.current=!0)}return{...se,onKeyDown(e){V.current=!1;const t=e.key.startsWith("Arrow"),r=["Home","End"].includes(e.key),o=t||r,a=function(e,t,n){return cn(t,n?e===fe:e===me,e===he)}(e.key,O,S),s=pn(e.key,O,S),l=un(e.key,O),u=(C?a:l)||"Enter"===e.key||""===e.key.trim();if(k&&n){const t=null==L?void 0:L.nodesRef.current.find((e=>null==e.parentId)),n=L&&t?function(e,t){let n,r=-1;return function t(i,o){o>r&&(n=i,r=o),ut(e,i).forEach((e=>{t(e.id,o+1)}))}(t,0),e.find((e=>e.id===n))}(L.nodesRef.current,t.id):null;if(o&&n&&j){const t=new KeyboardEvent("keydown",{key:e.key,bubbles:!0});if(a||s){var d,p;const r=(null==(d=n.context)?void 0:d.elements.domReference)===e.currentTarget,i=s&&!r?null==(p=n.context)?void 0:p.elements.domReference:a?c.current.find((e=>(null==e?void 0:e.id)===$)):null;i&&(w(e),i.dispatchEvent(t),ne(void 0))}var h;if((l||r)&&n.context)if(n.context.open&&n.parentId&&e.currentTarget!==n.context.elements.domReference)return w(e),void(null==(h=n.context.elements.domReference)||h.dispatchEvent(t))}return ae(e)}(n||_||!t)&&(u&&(U.current=C&&l?null:e.key),C?a&&(w(e),n?(Q.current=ye(c,K.current),F(Q.current)):i(!0,e.nativeEvent,"list-navigation")):l&&(null!=y&&(Q.current=y),w(e),!n&&_?i(!0,e.nativeEvent,"list-navigation"):ae(e),n&&F(Q.current)))},onFocus(){n&&!k&&F(null)},onPointerDown:function(e){z.current=E,"auto"===E&&d(e.nativeEvent)&&(z.current=!0)},onMouseDown:e,onClick:e}}),[$,se,ae,K,E,c,C,F,i,n,_,O,S,y,L,k,j]);return r.useMemo((()=>v?{reference:ce,floating:le,item:oe}:{}),[v,ce,le,oe])}const fn=new Map([["select","listbox"],["combobox","listbox"],["label",!1]]);function mn(e,t){var n;void 0===t&&(t={});const{open:i,floatingId:o}=e,{enabled:a=!0,role:s="dialog"}=t,l=null!=(n=fn.get(s))?n:s,c=Ge(),u=null!=Ke(),d=r.useMemo((()=>"tooltip"===l||"label"===s?{["aria-"+("label"===s?"labelledby":"describedby")]:i?o:void 0}:{"aria-expanded":i?"true":"false","aria-haspopup":"alertdialog"===l?"dialog":l,"aria-controls":i?o:void 0,..."listbox"===l&&{role:"combobox"},..."menu"===l&&{id:c},..."menu"===l&&u&&{role:"menuitem"},..."select"===s&&{"aria-autocomplete":"none"},..."combobox"===s&&{"aria-autocomplete":"list"}}),[l,o,u,i,c,s]),p=r.useMemo((()=>{const e={id:o,...l&&{role:l}};return"tooltip"===l||"label"===s?e:{...e,..."menu"===l&&{"aria-labelledby":c}}}),[l,o,c,s]),h=r.useCallback((e=>{let{active:t,selected:n}=e;const r={role:"option",...t&&{id:o+"-option"}};switch(s){case"select":return{...r,"aria-selected":t&&n};case"combobox":return{...r,...t&&{"aria-selected":!0}}}return{}}),[o,s]);return r.useMemo((()=>a?{reference:d,floating:p,item:h}:{}),[a,d,p,h])}const gn=e=>e.replace(/[A-Z]+(?![a-z])|[A-Z]/g,((e,t)=>(t?"-":"")+e.toLowerCase()));function vn(e,t){return"function"===typeof e?e(t):e}function yn(e,t){void 0===t&&(t={});const{open:n,elements:{floating:i}}=e,{duration:o=250}=t,a=("number"===typeof o?o:o.close)||0,[s,l]=r.useState("unmounted"),c=function(e,t){const[n,i]=r.useState(e);return e&&!n&&i(!0),r.useEffect((()=>{if(!e&&n){const e=setTimeout((()=>i(!1)),t);return()=>clearTimeout(e)}}),[e,n,t]),n}(n,a);return c||"close"!==s||l("unmounted"),_e((()=>{if(i){if(n){l("initial");const e=requestAnimationFrame((()=>{l("open")}));return()=>{cancelAnimationFrame(e)}}l("close")}}),[n,i]),{isMounted:c,status:s}}function An(e,t){void 0===t&&(t={});const{initial:n={opacity:0},open:i,close:o,common:a,duration:s=250}=t,l=e.placement,c=l.split("-")[0],u=r.useMemo((()=>({side:c,placement:l})),[c,l]),d="number"===typeof s,p=(d?s:s.open)||0,h=(d?s:s.close)||0,[f,m]=r.useState((()=>({...vn(a,u),...vn(n,u)}))),{isMounted:g,status:v}=yn(e,{duration:s}),y=tt(n),A=tt(i),b=tt(o),w=tt(a);return _e((()=>{const e=vn(y.current,u),t=vn(b.current,u),n=vn(w.current,u),r=vn(A.current,u)||Object.keys(e).reduce(((e,t)=>(e[t]="",e)),{});if("initial"===v&&m((t=>({transitionProperty:t.transitionProperty,...n,...e}))),"open"===v&&m({transitionProperty:Object.keys(r).map(gn).join(","),transitionDuration:p+"ms",...n,...r}),"close"===v){const r=t||e;m({transitionProperty:Object.keys(r).map(gn).join(","),transitionDuration:h+"ms",...n,...r})}}),[h,b,y,A,w,p,v,u]),{isMounted:g,styles:f}}function bn(e,t){var n;const{open:i,dataRef:o}=e,{listRef:a,activeIndex:s,onMatch:l,onTypingChange:c,enabled:u=!0,findMatch:d=null,resetMs:p=750,ignoreKeys:h=[],selectedIndex:f=null}=t,m=r.useRef(),g=r.useRef(""),v=r.useRef(null!=(n=null!=f?f:s)?n:-1),y=r.useRef(null),A=de(l),b=de(c),x=tt(d),C=tt(h);_e((()=>{i&&(clearTimeout(m.current),y.current=null,g.current="")}),[i]),_e((()=>{var e;i&&""===g.current&&(v.current=null!=(e=null!=f?f:s)?e:-1)}),[i,f,s]);const S=de((e=>{e?o.current.typing||(o.current.typing=e,b(e)):o.current.typing&&(o.current.typing=e,b(e))})),k=de((e=>{function t(e,t,n){const r=x.current?x.current(t,n):t.find((e=>0===(null==e?void 0:e.toLocaleLowerCase().indexOf(n.toLocaleLowerCase()))));return r?e.indexOf(r):-1}const n=a.current;if(g.current.length>0&&" "!==g.current[0]&&(-1===t(n,n,g.current)?S(!1):" "===e.key&&w(e)),null==n||C.current.includes(e.key)||1!==e.key.length||e.ctrlKey||e.metaKey||e.altKey)return;i&&" "!==e.key&&(w(e),S(!0));n.every((e=>{var t,n;return!e||(null==(t=e[0])?void 0:t.toLocaleLowerCase())!==(null==(n=e[1])?void 0:n.toLocaleLowerCase())}))&&g.current===e.key&&(g.current="",v.current=y.current),g.current+=e.key,clearTimeout(m.current),m.current=setTimeout((()=>{g.current="",v.current=y.current,S(!1)}),p);const r=v.current,o=t(n,[...n.slice((r||0)+1),...n.slice(0,(r||0)+1)],g.current);-1!==o?(A(o),y.current=o):" "!==e.key&&(g.current="",S(!1))})),E=r.useMemo((()=>({onKeyDown:k})),[k]),I=r.useMemo((()=>({onKeyDown:k,onKeyUp(e){" "===e.key&&S(!1)}})),[k,S]);return r.useMemo((()=>u?{reference:E,floating:I}:{}),[u,E,I])}function wn(e,t){return{...e,rects:{...e.rects,floating:{...e.rects.floating,height:t}}}}const xn=e=>({name:"inner",options:e,async fn(t){const{listRef:n,overflowRef:r,onFallbackChange:i,offset:o=0,index:a=0,minItemsVisible:s=4,referenceOverflowThreshold:l=0,scrollRef:c,...u}=(0,C._3)(e,t),{rects:d,elements:{floating:p}}=t,h=n.current[a],f=(null==c?void 0:c.current)||p,m=p.clientTop||f.clientTop,g=0!==p.clientTop,v=0!==f.clientTop,y=p===f;if(!h)return{};const A={...t,...await $(-h.offsetTop-p.clientTop-d.reference.height/2-h.offsetHeight/2-o).fn(t)},b=await(0,H.__)(wn(A,f.scrollHeight+m+p.clientTop),u),w=await(0,H.__)(A,{...u,elementContext:"reference"}),x=(0,C.T9)(0,b.top),S=A.y+x,k=f.scrollHeight>f.clientHeight,E=(k?e=>e:C.LI)((0,C.T9)(0,f.scrollHeight+(g&&y||v?2*m:0)-x-(0,C.T9)(0,b.bottom)));if(f.style.maxHeight=E+"px",f.scrollTop=x,i){const e=k&&f.offsetHeight<h.offsetHeight*s-1||w.top>=-l||w.bottom>=-l;q.flushSync((()=>i(e)))}return r&&(r.current=await(0,H.__)(wn({...A,y:S},f.offsetHeight+m+p.clientTop),u)),{y:S}}});function Cn(e,t){const{open:n,elements:i}=e,{enabled:o=!0,overflowRef:a,scrollRef:s,onChange:l}=t,u=de(l),d=r.useRef(!1),p=r.useRef(null),h=r.useRef(null);r.useEffect((()=>{if(!o)return;function e(e){if(e.ctrlKey||!t||null==a.current)return;const n=e.deltaY,r=a.current.top>=-.5,i=a.current.bottom>=-.5,o=t.scrollHeight-t.clientHeight,s=n<0?-1:1,l=n<0?"max":"min";t.scrollHeight<=t.clientHeight||(!r&&n>0||!i&&n<0?(e.preventDefault(),q.flushSync((()=>{u((e=>e+Math[l](n,o*s)))}))):/firefox/i.test(c())&&(t.scrollTop+=n))}const t=(null==s?void 0:s.current)||i.floating;return n&&t?(t.addEventListener("wheel",e),requestAnimationFrame((()=>{p.current=t.scrollTop,null!=a.current&&(h.current={...a.current})})),()=>{p.current=null,h.current=null,t.removeEventListener("wheel",e)}):void 0}),[o,n,i.floating,a,s,u]);const f=r.useMemo((()=>({onKeyDown(){d.current=!0},onWheel(){d.current=!1},onPointerMove(){d.current=!1},onScroll(){const e=(null==s?void 0:s.current)||i.floating;if(a.current&&e&&d.current){if(null!==p.current){const t=e.scrollTop-p.current;(a.current.bottom<-.5&&t<-1||a.current.top<-.5&&t>1)&&q.flushSync((()=>u((e=>e+t))))}requestAnimationFrame((()=>{p.current=e.scrollTop}))}}})),[i.floating,u,a,s]);return r.useMemo((()=>o?{floating:f}:{}),[o,f])}function Sn(e,t){const[n,r]=e;let i=!1;const o=t.length;for(let a=0,s=o-1;a<o;s=a++){const[e,o]=t[a]||[0,0],[l,c]=t[s]||[0,0];o>=r!==c>=r&&n<=(l-e)*(r-o)/(c-o)+e&&(i=!i)}return i}function kn(e){void 0===e&&(e={});const{buffer:t=.5,blockPointerEvents:n=!1,requireIntent:r=!0}=e;let i,a=!1,l=null,c=null,u=performance.now();const d=e=>{let{x:n,y:d,placement:p,elements:h,onClose:f,nodeId:m,tree:g}=e;return function(e){function v(){clearTimeout(i),f()}if(clearTimeout(i),!h.domReference||!h.floating||null==p||null==n||null==d)return;const{clientX:A,clientY:b}=e,w=[A,b],x=y(e),C="mouseleave"===e.type,S=s(h.floating,x),k=s(h.domReference,x),E=h.domReference.getBoundingClientRect(),I=h.floating.getBoundingClientRect(),_=p.split("-")[0],P=n>I.right-I.width/2,O=d>I.bottom-I.height/2,T=function(e,t){return e[0]>=t.x&&e[0]<=t.x+t.width&&e[1]>=t.y&&e[1]<=t.y+t.height}(w,E),D=I.width>E.width,j=I.height>E.height,B=(D?E:I).left,N=(D?E:I).right,M=(j?E:I).top,R=(j?E:I).bottom;if(S&&(a=!0,!C))return;if(k&&(a=!1),k&&!C)return void(a=!0);if(C&&(0,o.vq)(e.relatedTarget)&&s(h.floating,e.relatedTarget))return;if(g&&ut(g.nodesRef.current,m).some((e=>{let{context:t}=e;return null==t?void 0:t.open})))return;if("top"===_&&d>=E.bottom-1||"bottom"===_&&d<=E.top+1||"left"===_&&n>=E.right-1||"right"===_&&n<=E.left+1)return v();let L=[];switch(_){case"top":L=[[B,E.top+1],[B,I.bottom-1],[N,I.bottom-1],[N,E.top+1]];break;case"bottom":L=[[B,I.top+1],[B,E.bottom-1],[N,E.bottom-1],[N,I.top+1]];break;case"left":L=[[I.right-1,R],[I.right-1,M],[E.left+1,M],[E.left+1,R]];break;case"right":L=[[E.right-1,R],[E.right-1,M],[I.left+1,M],[I.left+1,R]]}if(!Sn([A,b],L)){if(a&&!T)return v();if(!C&&r){const t=function(e,t){const n=performance.now(),r=n-u;if(null===l||null===c||0===r)return l=e,c=t,u=n,null;const i=e-l,o=t-c,a=Math.sqrt(i*i+o*o);return l=e,c=t,u=n,a/r}(e.clientX,e.clientY);if(null!==t&&t<.1)return v()}Sn([A,b],function(e){let[n,r]=e;switch(_){case"top":return[[D?n+t/2:P?n+4*t:n-4*t,r+t+1],[D?n-t/2:P?n+4*t:n-4*t,r+t+1],...[[I.left,P||D?I.bottom-t:I.top],[I.right,P?D?I.bottom-t:I.top:I.bottom-t]]];case"bottom":return[[D?n+t/2:P?n+4*t:n-4*t,r-t],[D?n-t/2:P?n+4*t:n-4*t,r-t],...[[I.left,P||D?I.top+t:I.bottom],[I.right,P?D?I.top+t:I.bottom:I.top+t]]];case"left":{const e=[n+t+1,j?r+t/2:O?r+4*t:r-4*t],i=[n+t+1,j?r-t/2:O?r+4*t:r-4*t];return[...[[O||j?I.right-t:I.left,I.top],[O?j?I.right-t:I.left:I.right-t,I.bottom]],e,i]}case"right":return[[n-t,j?r+t/2:O?r+4*t:r-4*t],[n-t,j?r-t/2:O?r+4*t:r-4*t],...[[O||j?I.left+t:I.right,I.top],[O?j?I.left+t:I.right:I.left+t,I.bottom]]]}}([n,d]))?!a&&r&&(i=window.setTimeout(v,40)):v()}}};return d.__options={blockPointerEvents:n},d}},74959:(e,t,n)=>{"use strict";n.d(t,{g:()=>Pn});const r=()=>{};let i={},o={},a=null,s={mark:r,measure:r};try{"undefined"!==typeof window&&(i=window),"undefined"!==typeof document&&(o=document),"undefined"!==typeof MutationObserver&&(a=MutationObserver),"undefined"!==typeof performance&&(s=performance)}catch(Tn){}const{userAgent:l=""}=i.navigator||{},c=i,u=o,d=a,p=s,h=(c.document,!!u.documentElement&&!!u.head&&"function"===typeof u.addEventListener&&"function"===typeof u.createElement),f=~l.indexOf("MSIE")||~l.indexOf("Trident/");var m="classic",g="duotone",v="sharp",y="sharp-duotone",A=[m,g,v,y],b={fak:"kit","fa-kit":"kit"},w={fakd:"kit-duotone","fa-kit-duotone":"kit-duotone"},x={classic:{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fad:"duotone","fa-duotone":"duotone",fab:"brands","fa-brands":"brands"},sharp:{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light",fast:"thin","fa-thin":"thin"},"sharp-duotone":{fa:"solid",fasds:"solid","fa-solid":"solid"}},C=[1,2,3,4,5,6,7,8,9,10],S=C.concat([11,12,13,14,15,16,17,18,19,20]),k={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},E=[...Object.keys({classic:["fas","far","fal","fat"],sharp:["fass","fasr","fasl","fast"],"sharp-duotone":["fasds"]}),"solid","regular","light","thin","duotone","brands","2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","fw","inverse","layers-counter","layers-text","layers","li","pull-left","pull-right","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul",k.GROUP,k.SWAP_OPACITY,k.PRIMARY,k.SECONDARY].concat(C.map((e=>"".concat(e,"x")))).concat(S.map((e=>"w-".concat(e)))),I={kit:"fak"},_={"kit-duotone":"fakd"};const P="___FONT_AWESOME___",O=16,T="svg-inline--fa",D="data-fa-i2svg",j="data-fa-pseudo-element",B="data-prefix",N="data-icon",M="fontawesome-i2svg",R=["HTML","HEAD","STYLE","SCRIPT"],L=(()=>{try{return!0}catch(e){return!1}})(),F=[m,v,y];function z(e){return new Proxy(e,{get:(e,t)=>t in e?e[t]:e[m]})}const Q={...x};Q[m]={...x[m],...b,...w};const U=z(Q),V={classic:{solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab"},sharp:{solid:"fass",regular:"fasr",light:"fasl",thin:"fast"},"sharp-duotone":{solid:"fasds"}};V[m]={...V[m],...I,..._};const G=z(V),q={classic:{fab:"fa-brands",fad:"fa-duotone",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"},sharp:{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light",fast:"fa-thin"},"sharp-duotone":{fasds:"fa-solid"}};q[m]={...q[m],fak:"fa-kit"};const H=z(q),W={classic:{"fa-brands":"fab","fa-duotone":"fad","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"},sharp:{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl","fa-thin":"fast"},"sharp-duotone":{"fa-solid":"fasds"}};W[m]={...W[m],"fa-kit":"fak"};const Y=z(W),K=/fa(s|r|l|t|d|b|k|kd|ss|sr|sl|st|sds)?[\-\ ]/,J="fa-layers-text",X=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp Duotone|Sharp|Kit)?.*/i,Z=(z({classic:{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},sharp:{900:"fass",400:"fasr",300:"fasl",100:"fast"},"sharp-duotone":{900:"fasds"}}),["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"]),$=k,ee=new Set;Object.keys(G[m]).map(ee.add.bind(ee)),Object.keys(G[v]).map(ee.add.bind(ee)),Object.keys(G[y]).map(ee.add.bind(ee));const te=["kit",...E],ne=c.FontAwesomeConfig||{};if(u&&"function"===typeof u.querySelector){[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach((e=>{let[t,n]=e;const r=function(e){return""===e||"false"!==e&&("true"===e||e)}(function(e){var t=u.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}(t));void 0!==r&&null!==r&&(ne[n]=r)}))}const re={styleDefault:"solid",familyDefault:"classic",cssPrefix:"fa",replacementClass:T,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};ne.familyPrefix&&(ne.cssPrefix=ne.familyPrefix);const ie={...re,...ne};ie.autoReplaceSvg||(ie.observeMutations=!1);const oe={};Object.keys(re).forEach((e=>{Object.defineProperty(oe,e,{enumerable:!0,set:function(t){ie[e]=t,ae.forEach((e=>e(oe)))},get:function(){return ie[e]}})})),Object.defineProperty(oe,"familyPrefix",{enumerable:!0,set:function(e){ie.cssPrefix=e,ae.forEach((e=>e(oe)))},get:function(){return ie.cssPrefix}}),c.FontAwesomeConfig=oe;const ae=[];const se=O,le={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function ce(){let e=12,t="";for(;e-- >0;)t+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[62*Math.random()|0];return t}function ue(e){const t=[];for(let n=(e||[]).length>>>0;n--;)t[n]=e[n];return t}function de(e){return e.classList?ue(e.classList):(e.getAttribute("class")||"").split(" ").filter((e=>e))}function pe(e){return"".concat(e).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function he(e){return Object.keys(e||{}).reduce(((t,n)=>t+"".concat(n,": ").concat(e[n].trim(),";")),"")}function fe(e){return e.size!==le.size||e.x!==le.x||e.y!==le.y||e.rotate!==le.rotate||e.flipX||e.flipY}function me(){const e="fa",t=T,n=oe.cssPrefix,r=oe.replacementClass;let i=':root, :host {\n  --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Free";\n  --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Free";\n  --fa-font-light: normal 300 1em/1 "Font Awesome 6 Pro";\n  --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Pro";\n  --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone";\n  --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";\n  --fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 6 Sharp";\n  --fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 6 Sharp";\n  --fa-font-sharp-light: normal 300 1em/1 "Font Awesome 6 Sharp";\n  --fa-font-sharp-thin: normal 100 1em/1 "Font Awesome 6 Sharp";\n  --fa-font-sharp-duotone-solid: normal 900 1em/1 "Font Awesome 6 Sharp Duotone";\n}\n\nsvg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {\n  overflow: visible;\n  box-sizing: content-box;\n}\n\n.svg-inline--fa {\n  display: var(--fa-display, inline-block);\n  height: 1em;\n  overflow: visible;\n  vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-2xs {\n  vertical-align: 0.1em;\n}\n.svg-inline--fa.fa-xs {\n  vertical-align: 0em;\n}\n.svg-inline--fa.fa-sm {\n  vertical-align: -0.0714285705em;\n}\n.svg-inline--fa.fa-lg {\n  vertical-align: -0.2em;\n}\n.svg-inline--fa.fa-xl {\n  vertical-align: -0.25em;\n}\n.svg-inline--fa.fa-2xl {\n  vertical-align: -0.3125em;\n}\n.svg-inline--fa.fa-pull-left {\n  margin-right: var(--fa-pull-margin, 0.3em);\n  width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n  margin-left: var(--fa-pull-margin, 0.3em);\n  width: auto;\n}\n.svg-inline--fa.fa-li {\n  width: var(--fa-li-width, 2em);\n  top: 0.25em;\n}\n.svg-inline--fa.fa-fw {\n  width: var(--fa-fw-width, 1.25em);\n}\n\n.fa-layers svg.svg-inline--fa {\n  bottom: 0;\n  left: 0;\n  margin: auto;\n  position: absolute;\n  right: 0;\n  top: 0;\n}\n\n.fa-layers-counter, .fa-layers-text {\n  display: inline-block;\n  position: absolute;\n  text-align: center;\n}\n\n.fa-layers {\n  display: inline-block;\n  height: 1em;\n  position: relative;\n  text-align: center;\n  vertical-align: -0.125em;\n  width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n  transform-origin: center center;\n}\n\n.fa-layers-text {\n  left: 50%;\n  top: 50%;\n  transform: translate(-50%, -50%);\n  transform-origin: center center;\n}\n\n.fa-layers-counter {\n  background-color: var(--fa-counter-background-color, #ff253a);\n  border-radius: var(--fa-counter-border-radius, 1em);\n  box-sizing: border-box;\n  color: var(--fa-inverse, #fff);\n  line-height: var(--fa-counter-line-height, 1);\n  max-width: var(--fa-counter-max-width, 5em);\n  min-width: var(--fa-counter-min-width, 1.5em);\n  overflow: hidden;\n  padding: var(--fa-counter-padding, 0.25em 0.5em);\n  right: var(--fa-right, 0);\n  text-overflow: ellipsis;\n  top: var(--fa-top, 0);\n  transform: scale(var(--fa-counter-scale, 0.25));\n  transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n  bottom: var(--fa-bottom, 0);\n  right: var(--fa-right, 0);\n  top: auto;\n  transform: scale(var(--fa-layers-scale, 0.25));\n  transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n  bottom: var(--fa-bottom, 0);\n  left: var(--fa-left, 0);\n  right: auto;\n  top: auto;\n  transform: scale(var(--fa-layers-scale, 0.25));\n  transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n  top: var(--fa-top, 0);\n  right: var(--fa-right, 0);\n  transform: scale(var(--fa-layers-scale, 0.25));\n  transform-origin: top right;\n}\n\n.fa-layers-top-left {\n  left: var(--fa-left, 0);\n  right: auto;\n  top: var(--fa-top, 0);\n  transform: scale(var(--fa-layers-scale, 0.25));\n  transform-origin: top left;\n}\n\n.fa-1x {\n  font-size: 1em;\n}\n\n.fa-2x {\n  font-size: 2em;\n}\n\n.fa-3x {\n  font-size: 3em;\n}\n\n.fa-4x {\n  font-size: 4em;\n}\n\n.fa-5x {\n  font-size: 5em;\n}\n\n.fa-6x {\n  font-size: 6em;\n}\n\n.fa-7x {\n  font-size: 7em;\n}\n\n.fa-8x {\n  font-size: 8em;\n}\n\n.fa-9x {\n  font-size: 9em;\n}\n\n.fa-10x {\n  font-size: 10em;\n}\n\n.fa-2xs {\n  font-size: 0.625em;\n  line-height: 0.1em;\n  vertical-align: 0.225em;\n}\n\n.fa-xs {\n  font-size: 0.75em;\n  line-height: 0.0833333337em;\n  vertical-align: 0.125em;\n}\n\n.fa-sm {\n  font-size: 0.875em;\n  line-height: 0.0714285718em;\n  vertical-align: 0.0535714295em;\n}\n\n.fa-lg {\n  font-size: 1.25em;\n  line-height: 0.05em;\n  vertical-align: -0.075em;\n}\n\n.fa-xl {\n  font-size: 1.5em;\n  line-height: 0.0416666682em;\n  vertical-align: -0.125em;\n}\n\n.fa-2xl {\n  font-size: 2em;\n  line-height: 0.03125em;\n  vertical-align: -0.1875em;\n}\n\n.fa-fw {\n  text-align: center;\n  width: 1.25em;\n}\n\n.fa-ul {\n  list-style-type: none;\n  margin-left: var(--fa-li-margin, 2.5em);\n  padding-left: 0;\n}\n.fa-ul > li {\n  position: relative;\n}\n\n.fa-li {\n  left: calc(-1 * var(--fa-li-width, 2em));\n  position: absolute;\n  text-align: center;\n  width: var(--fa-li-width, 2em);\n  line-height: inherit;\n}\n\n.fa-border {\n  border-color: var(--fa-border-color, #eee);\n  border-radius: var(--fa-border-radius, 0.1em);\n  border-style: var(--fa-border-style, solid);\n  border-width: var(--fa-border-width, 0.08em);\n  padding: var(--fa-border-padding, 0.2em 0.25em 0.15em);\n}\n\n.fa-pull-left {\n  float: left;\n  margin-right: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-pull-right {\n  float: right;\n  margin-left: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-beat {\n  animation-name: fa-beat;\n  animation-delay: var(--fa-animation-delay, 0s);\n  animation-direction: var(--fa-animation-direction, normal);\n  animation-duration: var(--fa-animation-duration, 1s);\n  animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-bounce {\n  animation-name: fa-bounce;\n  animation-delay: var(--fa-animation-delay, 0s);\n  animation-direction: var(--fa-animation-direction, normal);\n  animation-duration: var(--fa-animation-duration, 1s);\n  animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n}\n\n.fa-fade {\n  animation-name: fa-fade;\n  animation-delay: var(--fa-animation-delay, 0s);\n  animation-direction: var(--fa-animation-direction, normal);\n  animation-duration: var(--fa-animation-duration, 1s);\n  animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-beat-fade {\n  animation-name: fa-beat-fade;\n  animation-delay: var(--fa-animation-delay, 0s);\n  animation-direction: var(--fa-animation-direction, normal);\n  animation-duration: var(--fa-animation-duration, 1s);\n  animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-flip {\n  animation-name: fa-flip;\n  animation-delay: var(--fa-animation-delay, 0s);\n  animation-direction: var(--fa-animation-direction, normal);\n  animation-duration: var(--fa-animation-duration, 1s);\n  animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-shake {\n  animation-name: fa-shake;\n  animation-delay: var(--fa-animation-delay, 0s);\n  animation-direction: var(--fa-animation-direction, normal);\n  animation-duration: var(--fa-animation-duration, 1s);\n  animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin {\n  animation-name: fa-spin;\n  animation-delay: var(--fa-animation-delay, 0s);\n  animation-direction: var(--fa-animation-direction, normal);\n  animation-duration: var(--fa-animation-duration, 2s);\n  animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin-reverse {\n  --fa-animation-direction: reverse;\n}\n\n.fa-pulse,\n.fa-spin-pulse {\n  animation-name: fa-spin;\n  animation-direction: var(--fa-animation-direction, normal);\n  animation-duration: var(--fa-animation-duration, 1s);\n  animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  animation-timing-function: var(--fa-animation-timing, steps(8));\n}\n\n@media (prefers-reduced-motion: reduce) {\n  .fa-beat,\n.fa-bounce,\n.fa-fade,\n.fa-beat-fade,\n.fa-flip,\n.fa-pulse,\n.fa-shake,\n.fa-spin,\n.fa-spin-pulse {\n    animation-delay: -1ms;\n    animation-duration: 1ms;\n    animation-iteration-count: 1;\n    transition-delay: 0s;\n    transition-duration: 0s;\n  }\n}\n@keyframes fa-beat {\n  0%, 90% {\n    transform: scale(1);\n  }\n  45% {\n    transform: scale(var(--fa-beat-scale, 1.25));\n  }\n}\n@keyframes fa-bounce {\n  0% {\n    transform: scale(1, 1) translateY(0);\n  }\n  10% {\n    transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n  }\n  30% {\n    transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n  }\n  50% {\n    transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n  }\n  57% {\n    transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n  }\n  64% {\n    transform: scale(1, 1) translateY(0);\n  }\n  100% {\n    transform: scale(1, 1) translateY(0);\n  }\n}\n@keyframes fa-fade {\n  50% {\n    opacity: var(--fa-fade-opacity, 0.4);\n  }\n}\n@keyframes fa-beat-fade {\n  0%, 100% {\n    opacity: var(--fa-beat-fade-opacity, 0.4);\n    transform: scale(1);\n  }\n  50% {\n    opacity: 1;\n    transform: scale(var(--fa-beat-fade-scale, 1.125));\n  }\n}\n@keyframes fa-flip {\n  50% {\n    transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n  }\n}\n@keyframes fa-shake {\n  0% {\n    transform: rotate(-15deg);\n  }\n  4% {\n    transform: rotate(15deg);\n  }\n  8%, 24% {\n    transform: rotate(-18deg);\n  }\n  12%, 28% {\n    transform: rotate(18deg);\n  }\n  16% {\n    transform: rotate(-22deg);\n  }\n  20% {\n    transform: rotate(22deg);\n  }\n  32% {\n    transform: rotate(-12deg);\n  }\n  36% {\n    transform: rotate(12deg);\n  }\n  40%, 100% {\n    transform: rotate(0deg);\n  }\n}\n@keyframes fa-spin {\n  0% {\n    transform: rotate(0deg);\n  }\n  100% {\n    transform: rotate(360deg);\n  }\n}\n.fa-rotate-90 {\n  transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n  transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n  transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n  transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n  transform: scale(1, -1);\n}\n\n.fa-flip-both,\n.fa-flip-horizontal.fa-flip-vertical {\n  transform: scale(-1, -1);\n}\n\n.fa-rotate-by {\n  transform: rotate(var(--fa-rotate-angle, 0));\n}\n\n.fa-stack {\n  display: inline-block;\n  vertical-align: middle;\n  height: 2em;\n  position: relative;\n  width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n  bottom: 0;\n  left: 0;\n  margin: auto;\n  position: absolute;\n  right: 0;\n  top: 0;\n  z-index: var(--fa-stack-z-index, auto);\n}\n\n.svg-inline--fa.fa-stack-1x {\n  height: 1em;\n  width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n  height: 2em;\n  width: 2.5em;\n}\n\n.fa-inverse {\n  color: var(--fa-inverse, #fff);\n}\n\n.sr-only,\n.fa-sr-only {\n  position: absolute;\n  width: 1px;\n  height: 1px;\n  padding: 0;\n  margin: -1px;\n  overflow: hidden;\n  clip: rect(0, 0, 0, 0);\n  white-space: nowrap;\n  border-width: 0;\n}\n\n.sr-only-focusable:not(:focus),\n.fa-sr-only-focusable:not(:focus) {\n  position: absolute;\n  width: 1px;\n  height: 1px;\n  padding: 0;\n  margin: -1px;\n  overflow: hidden;\n  clip: rect(0, 0, 0, 0);\n  white-space: nowrap;\n  border-width: 0;\n}\n\n.svg-inline--fa .fa-primary {\n  fill: var(--fa-primary-color, currentColor);\n  opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n  fill: var(--fa-secondary-color, currentColor);\n  opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n  opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n  opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n  fill: black;\n}\n\n.fad.fa-inverse,\n.fa-duotone.fa-inverse {\n  color: var(--fa-inverse, #fff);\n}';if(n!==e||r!==t){const o=new RegExp("\\.".concat(e,"\\-"),"g"),a=new RegExp("\\--".concat(e,"\\-"),"g"),s=new RegExp("\\.".concat(t),"g");i=i.replace(o,".".concat(n,"-")).replace(a,"--".concat(n,"-")).replace(s,".".concat(r))}return i}let ge=!1;function ve(){oe.autoAddCss&&!ge&&(!function(e){if(!e||!h)return;const t=u.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;const n=u.head.childNodes;let r=null;for(let i=n.length-1;i>-1;i--){const e=n[i],t=(e.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(t)>-1&&(r=e)}u.head.insertBefore(t,r)}(me()),ge=!0)}var ye={mixout:()=>({dom:{css:me,insertCss:ve}}),hooks:()=>({beforeDOMElementCreation(){ve()},beforeI2svg(){ve()}})};const Ae=c||{};Ae[P]||(Ae[P]={}),Ae[P].styles||(Ae[P].styles={}),Ae[P].hooks||(Ae[P].hooks={}),Ae[P].shims||(Ae[P].shims=[]);var be=Ae[P];const we=[],xe=function(){u.removeEventListener("DOMContentLoaded",xe),Ce=1,we.map((e=>e()))};let Ce=!1;function Se(e){const{tag:t,attributes:n={},children:r=[]}=e;return"string"===typeof e?pe(e):"<".concat(t," ").concat(function(e){return Object.keys(e||{}).reduce(((t,n)=>t+"".concat(n,'="').concat(pe(e[n]),'" ')),"").trim()}(n),">").concat(r.map(Se).join(""),"</").concat(t,">")}function ke(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}h&&(Ce=(u.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(u.readyState),Ce||u.addEventListener("DOMContentLoaded",xe));var Ee=function(e,t,n,r){var i,o,a,s=Object.keys(e),l=s.length,c=void 0!==r?function(e,t){return function(n,r,i,o){return e.call(t,n,r,i,o)}}(t,r):t;for(void 0===n?(i=1,a=e[s[0]]):(i=0,a=n);i<l;i++)a=c(a,e[o=s[i]],o,e);return a};function Ie(e){const t=function(e){const t=[];let n=0;const r=e.length;for(;n<r;){const i=e.charCodeAt(n++);if(i>=55296&&i<=56319&&n<r){const r=e.charCodeAt(n++);56320==(64512&r)?t.push(((1023&i)<<10)+(1023&r)+65536):(t.push(i),n--)}else t.push(i)}return t}(e);return 1===t.length?t[0].toString(16):null}function _e(e){return Object.keys(e).reduce(((t,n)=>{const r=e[n];return!!r.icon?t[r.iconName]=r.icon:t[n]=r,t}),{})}function Pe(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const{skipHooks:r=!1}=n,i=_e(t);"function"!==typeof be.hooks.addPack||r?be.styles[e]={...be.styles[e]||{},...i}:be.hooks.addPack(e,_e(t)),"fas"===e&&Pe("fa",t)}const{styles:Oe,shims:Te}=be,De={[m]:Object.values(H[m]),[v]:Object.values(H[v]),[y]:Object.values(H[y])};let je=null,Be={},Ne={},Me={},Re={},Le={};const Fe={[m]:Object.keys(U[m]),[v]:Object.keys(U[v]),[y]:Object.keys(U[y])};function ze(e,t){const n=t.split("-"),r=n[0],i=n.slice(1).join("-");return r!==e||""===i||(o=i,~te.indexOf(o))?null:i;var o}const Qe=()=>{const e=e=>Ee(Oe,((t,n,r)=>(t[r]=Ee(n,e,{}),t)),{});Be=e(((e,t,n)=>{if(t[3]&&(e[t[3]]=n),t[2]){t[2].filter((e=>"number"===typeof e)).forEach((t=>{e[t.toString(16)]=n}))}return e})),Ne=e(((e,t,n)=>{if(e[n]=n,t[2]){t[2].filter((e=>"string"===typeof e)).forEach((t=>{e[t]=n}))}return e})),Le=e(((e,t,n)=>{const r=t[2];return e[n]=n,r.forEach((t=>{e[t]=n})),e}));const t="far"in Oe||oe.autoFetchSvg,n=Ee(Te,((e,n)=>{const r=n[0];let i=n[1];const o=n[2];return"far"!==i||t||(i="fas"),"string"===typeof r&&(e.names[r]={prefix:i,iconName:o}),"number"===typeof r&&(e.unicodes[r.toString(16)]={prefix:i,iconName:o}),e}),{names:{},unicodes:{}});Me=n.names,Re=n.unicodes,je=We(oe.styleDefault,{family:oe.familyDefault})};var Ue;function Ve(e,t){return(Be[e]||{})[t]}function Ge(e,t){return(Le[e]||{})[t]}function qe(e){return Me[e]||{prefix:null,iconName:null}}function He(){return je}Ue=e=>{je=We(e.styleDefault,{family:oe.familyDefault})},ae.push(Ue),Qe();function We(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{family:n=m}=t,r=U[n][e],i=G[n][e]||G[n][r],o=e in be.styles?e:null;return i||o||null}const Ye={[m]:Object.keys(H[m]),[v]:Object.keys(H[v]),[y]:Object.keys(H[y])};function Ke(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{skipLookups:n=!1}=t,r={[m]:"".concat(oe.cssPrefix,"-").concat(m),[v]:"".concat(oe.cssPrefix,"-").concat(v),[y]:"".concat(oe.cssPrefix,"-").concat(y)};let i=null,o=m;const a=A.filter((e=>e!==g));a.forEach((t=>{(e.includes(r[t])||e.some((e=>Ye[t].includes(e))))&&(o=t)}));const s=e.reduce(((e,t)=>{const s=ze(oe.cssPrefix,t);if(Oe[t]?(t=De[o].includes(t)?Y[o][t]:t,i=t,e.prefix=t):Fe[o].indexOf(t)>-1?(i=t,e.prefix=We(t,{family:o})):s?e.iconName=s:t===oe.replacementClass||a.some((e=>t===r[e]))||e.rest.push(t),!n&&e.prefix&&e.iconName){const t="fa"===i?qe(e.iconName):{},n=Ge(e.prefix,e.iconName);t.prefix&&(i=null),e.iconName=t.iconName||n||e.iconName,e.prefix=t.prefix||e.prefix,"far"!==e.prefix||Oe.far||!Oe.fas||oe.autoFetchSvg||(e.prefix="fas")}return e}),{prefix:null,iconName:null,rest:[]});return(e.includes("fa-brands")||e.includes("fab"))&&(s.prefix="fab"),(e.includes("fa-duotone")||e.includes("fad"))&&(s.prefix="fad"),s.prefix||o!==v||!Oe.fass&&!oe.autoFetchSvg||(s.prefix="fass",s.iconName=Ge(s.prefix,s.iconName)||s.iconName),s.prefix||o!==y||!Oe.fasds&&!oe.autoFetchSvg||(s.prefix="fasds",s.iconName=Ge(s.prefix,s.iconName)||s.iconName),"fa"!==s.prefix&&"fa"!==i||(s.prefix=He()||"fas"),s}let Je=[],Xe={};const Ze={},$e=Object.keys(Ze);function et(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];return(Xe[e]||[]).forEach((e=>{t=e.apply(null,[t,...r])})),t}function tt(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];(Xe[e]||[]).forEach((e=>{e.apply(null,n)}))}function nt(){const e=arguments[0],t=Array.prototype.slice.call(arguments,1);return Ze[e]?Ze[e].apply(null,t):void 0}function rt(e){"fa"===e.prefix&&(e.prefix="fas");let{iconName:t}=e;const n=e.prefix||He();if(t)return t=Ge(n,t)||t,ke(it.definitions,n,t)||ke(be.styles,n,t)}const it=new class{constructor(){this.definitions={}}add(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const r=t.reduce(this._pullDefinitions,{});Object.keys(r).forEach((e=>{this.definitions[e]={...this.definitions[e]||{},...r[e]},Pe(e,r[e]);const t=H[m][e];t&&Pe(t,r[e]),Qe()}))}reset(){this.definitions={}}_pullDefinitions(e,t){const n=t.prefix&&t.iconName&&t.icon?{0:t}:t;return Object.keys(n).map((t=>{const{prefix:r,iconName:i,icon:o}=n[t],a=o[2];e[r]||(e[r]={}),a.length>0&&a.forEach((t=>{"string"===typeof t&&(e[r][t]=o)})),e[r][i]=o})),e}},ot={i2svg:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return h?(tt("beforeI2svg",e),nt("pseudoElements2svg",e),nt("i2svg",e)):Promise.reject(new Error("Operation requires a DOM of some kind."))},watch:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{autoReplaceSvgRoot:t}=e;var n;!1===oe.autoReplaceSvg&&(oe.autoReplaceSvg=!0),oe.observeMutations=!0,n=()=>{lt({autoReplaceSvgRoot:t}),tt("watch",e)},h&&(Ce?setTimeout(n,0):we.push(n))}},at={icon:e=>{if(null===e)return null;if("object"===typeof e&&e.prefix&&e.iconName)return{prefix:e.prefix,iconName:Ge(e.prefix,e.iconName)||e.iconName};if(Array.isArray(e)&&2===e.length){const t=0===e[1].indexOf("fa-")?e[1].slice(3):e[1],n=We(e[0]);return{prefix:n,iconName:Ge(n,t)||t}}if("string"===typeof e&&(e.indexOf("".concat(oe.cssPrefix,"-"))>-1||e.match(K))){const t=Ke(e.split(" "),{skipLookups:!0});return{prefix:t.prefix||He(),iconName:Ge(t.prefix,t.iconName)||t.iconName}}if("string"===typeof e){const t=He();return{prefix:t,iconName:Ge(t,e)||e}}}},st={noAuto:()=>{oe.autoReplaceSvg=!1,oe.observeMutations=!1,tt("noAuto")},config:oe,dom:ot,parse:at,library:it,findIconDefinition:rt,toHtml:Se},lt=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{autoReplaceSvgRoot:t=u}=e;(Object.keys(be.styles).length>0||oe.autoFetchSvg)&&h&&oe.autoReplaceSvg&&st.dom.i2svg({node:t})};function ct(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map((e=>Se(e)))}}),Object.defineProperty(e,"node",{get:function(){if(!h)return;const t=u.createElement("div");return t.innerHTML=e.html,t.children}}),e}function ut(e){const{icons:{main:t,mask:n},prefix:r,iconName:i,transform:o,symbol:a,title:s,maskId:l,titleId:c,extra:u,watchable:d=!1}=e,{width:p,height:h}=n.found?n:t,f="fak"===r,m=[oe.replacementClass,i?"".concat(oe.cssPrefix,"-").concat(i):""].filter((e=>-1===u.classes.indexOf(e))).filter((e=>""!==e||!!e)).concat(u.classes).join(" ");let g={children:[],attributes:{...u.attributes,"data-prefix":r,"data-icon":i,class:m,role:u.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(p," ").concat(h)}};const v=f&&!~u.classes.indexOf("fa-fw")?{width:"".concat(p/h*16*.0625,"em")}:{};d&&(g.attributes[D]=""),s&&(g.children.push({tag:"title",attributes:{id:g.attributes["aria-labelledby"]||"title-".concat(c||ce())},children:[s]}),delete g.attributes.title);const y={...g,prefix:r,iconName:i,main:t,mask:n,maskId:l,transform:o,symbol:a,styles:{...v,...u.styles}},{children:A,attributes:b}=n.found&&t.found?nt("generateAbstractMask",y)||{children:[],attributes:{}}:nt("generateAbstractIcon",y)||{children:[],attributes:{}};return y.children=A,y.attributes=b,a?function(e){let{prefix:t,iconName:n,children:r,attributes:i,symbol:o}=e;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:{...i,id:!0===o?"".concat(t,"-").concat(oe.cssPrefix,"-").concat(n):o},children:r}]}]}(y):function(e){let{children:t,main:n,mask:r,attributes:i,styles:o,transform:a}=e;if(fe(a)&&n.found&&!r.found){const{width:e,height:t}=n,r={x:e/t/2,y:.5};i.style=he({...o,"transform-origin":"".concat(r.x+a.x/16,"em ").concat(r.y+a.y/16,"em")})}return[{tag:"svg",attributes:i,children:t}]}(y)}function dt(e){const{content:t,width:n,height:r,transform:i,title:o,extra:a,watchable:s=!1}=e,l={...a.attributes,...o?{title:o}:{},class:a.classes.join(" ")};s&&(l[D]="");const c={...a.styles};fe(i)&&(c.transform=function(e){let{transform:t,width:n=O,height:r=O,startCentered:i=!1}=e,o="";return o+=i&&f?"translate(".concat(t.x/se-n/2,"em, ").concat(t.y/se-r/2,"em) "):i?"translate(calc(-50% + ".concat(t.x/se,"em), calc(-50% + ").concat(t.y/se,"em)) "):"translate(".concat(t.x/se,"em, ").concat(t.y/se,"em) "),o+="scale(".concat(t.size/se*(t.flipX?-1:1),", ").concat(t.size/se*(t.flipY?-1:1),") "),o+="rotate(".concat(t.rotate,"deg) "),o}({transform:i,startCentered:!0,width:n,height:r}),c["-webkit-transform"]=c.transform);const u=he(c);u.length>0&&(l.style=u);const d=[];return d.push({tag:"span",attributes:l,children:[t]}),o&&d.push({tag:"span",attributes:{class:"sr-only"},children:[o]}),d}const{styles:pt}=be;function ht(e){const t=e[0],n=e[1],[r]=e.slice(4);let i=null;return i=Array.isArray(r)?{tag:"g",attributes:{class:"".concat(oe.cssPrefix,"-").concat($.GROUP)},children:[{tag:"path",attributes:{class:"".concat(oe.cssPrefix,"-").concat($.SECONDARY),fill:"currentColor",d:r[0]}},{tag:"path",attributes:{class:"".concat(oe.cssPrefix,"-").concat($.PRIMARY),fill:"currentColor",d:r[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:r}},{found:!0,width:t,height:n,icon:i}}const ft={found:!1,width:512,height:512};function mt(e,t){let n=t;return"fa"===t&&null!==oe.styleDefault&&(t=He()),new Promise(((r,i)=>{if("fa"===n){const n=qe(e)||{};e=n.iconName||e,t=n.prefix||t}if(e&&t&&pt[t]&&pt[t][e]){return r(ht(pt[t][e]))}!function(e,t){L||oe.showMissingIcons||!e||console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}(e,t),r({...ft,icon:oe.showMissingIcons&&e&&nt("missingIconAbstract")||{}})}))}const gt=()=>{},vt=oe.measurePerformance&&p&&p.mark&&p.measure?p:{mark:gt,measure:gt},yt='FA "6.6.0"',At=e=>{vt.mark("".concat(yt," ").concat(e," ends")),vt.measure("".concat(yt," ").concat(e),"".concat(yt," ").concat(e," begins"),"".concat(yt," ").concat(e," ends"))};var bt=e=>(vt.mark("".concat(yt," ").concat(e," begins")),()=>At(e));const wt=()=>{};function xt(e){return"string"===typeof(e.getAttribute?e.getAttribute(D):null)}function Ct(e){return u.createElementNS("http://www.w3.org/2000/svg",e)}function St(e){return u.createElement(e)}function kt(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{ceFn:n=("svg"===e.tag?Ct:St)}=t;if("string"===typeof e)return u.createTextNode(e);const r=n(e.tag);Object.keys(e.attributes||[]).forEach((function(t){r.setAttribute(t,e.attributes[t])}));return(e.children||[]).forEach((function(e){r.appendChild(kt(e,{ceFn:n}))})),r}const Et={replace:function(e){const t=e[0];if(t.parentNode)if(e[1].forEach((e=>{t.parentNode.insertBefore(kt(e),t)})),null===t.getAttribute(D)&&oe.keepOriginalSource){let e=u.createComment(function(e){let t=" ".concat(e.outerHTML," ");return t="".concat(t,"Font Awesome fontawesome.com "),t}(t));t.parentNode.replaceChild(e,t)}else t.remove()},nest:function(e){const t=e[0],n=e[1];if(~de(t).indexOf(oe.replacementClass))return Et.replace(e);const r=new RegExp("".concat(oe.cssPrefix,"-.*"));if(delete n[0].attributes.id,n[0].attributes.class){const e=n[0].attributes.class.split(" ").reduce(((e,t)=>(t===oe.replacementClass||t.match(r)?e.toSvg.push(t):e.toNode.push(t),e)),{toNode:[],toSvg:[]});n[0].attributes.class=e.toSvg.join(" "),0===e.toNode.length?t.removeAttribute("class"):t.setAttribute("class",e.toNode.join(" "))}const i=n.map((e=>Se(e))).join("\n");t.setAttribute(D,""),t.innerHTML=i}};function It(e){e()}function _t(e,t){const n="function"===typeof t?t:wt;if(0===e.length)n();else{let t=It;"async"===oe.mutateApproach&&(t=c.requestAnimationFrame||It),t((()=>{const t=!0===oe.autoReplaceSvg?Et.replace:Et[oe.autoReplaceSvg]||Et.replace,r=bt("mutate");e.map(t),r(),n()}))}}let Pt=!1;function Ot(){Pt=!0}function Tt(){Pt=!1}let Dt=null;function jt(e){if(!d)return;if(!oe.observeMutations)return;const{treeCallback:t=wt,nodeCallback:n=wt,pseudoElementsCallback:r=wt,observeMutationsRoot:i=u}=e;Dt=new d((e=>{if(Pt)return;const i=He();ue(e).forEach((e=>{if("childList"===e.type&&e.addedNodes.length>0&&!xt(e.addedNodes[0])&&(oe.searchPseudoElements&&r(e.target),t(e.target)),"attributes"===e.type&&e.target.parentNode&&oe.searchPseudoElements&&r(e.target.parentNode),"attributes"===e.type&&xt(e.target)&&~Z.indexOf(e.attributeName))if("class"===e.attributeName&&function(e){const t=e.getAttribute?e.getAttribute(B):null,n=e.getAttribute?e.getAttribute(N):null;return t&&n}(e.target)){const{prefix:t,iconName:n}=Ke(de(e.target));e.target.setAttribute(B,t||i),n&&e.target.setAttribute(N,n)}else(o=e.target)&&o.classList&&o.classList.contains&&o.classList.contains(oe.replacementClass)&&n(e.target);var o}))})),h&&Dt.observe(i,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}function Bt(e){const t=e.getAttribute("data-prefix"),n=e.getAttribute("data-icon"),r=void 0!==e.innerText?e.innerText.trim():"";let i=Ke(de(e));return i.prefix||(i.prefix=He()),t&&n&&(i.prefix=t,i.iconName=n),i.iconName&&i.prefix||(i.prefix&&r.length>0&&(i.iconName=function(e,t){return(Ne[e]||{})[t]}(i.prefix,e.innerText)||Ve(i.prefix,Ie(e.innerText))),!i.iconName&&oe.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(i.iconName=e.firstChild.data)),i}function Nt(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{styleParser:!0};const{iconName:n,prefix:r,rest:i}=Bt(e),o=function(e){const t=ue(e.attributes).reduce(((e,t)=>("class"!==e.name&&"style"!==e.name&&(e[t.name]=t.value),e)),{}),n=e.getAttribute("title"),r=e.getAttribute("data-fa-title-id");return oe.autoA11y&&(n?t["aria-labelledby"]="".concat(oe.replacementClass,"-title-").concat(r||ce()):(t["aria-hidden"]="true",t.focusable="false")),t}(e),a=et("parseNodeAttributes",{},e);let s=t.styleParser?function(e){const t=e.getAttribute("style");let n=[];return t&&(n=t.split(";").reduce(((e,t)=>{const n=t.split(":"),r=n[0],i=n.slice(1);return r&&i.length>0&&(e[r]=i.join(":").trim()),e}),{})),n}(e):[];return{iconName:n,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:r,transform:le,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:i,styles:s,attributes:o},...a}}const{styles:Mt}=be;function Rt(e){const t="nest"===oe.autoReplaceSvg?Nt(e,{styleParser:!1}):Nt(e);return~t.extra.classes.indexOf(J)?nt("generateLayersText",e,t):nt("generateSvgReplacementMutation",e,t)}let Lt=new Set;function Ft(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!h)return Promise.resolve();const n=u.documentElement.classList,r=e=>n.add("".concat(M,"-").concat(e)),i=e=>n.remove("".concat(M,"-").concat(e)),o=oe.autoFetchSvg?Lt:F.map((e=>"fa-".concat(e))).concat(Object.keys(Mt));o.includes("fa")||o.push("fa");const a=[".".concat(J,":not([").concat(D,"])")].concat(o.map((e=>".".concat(e,":not([").concat(D,"])")))).join(", ");if(0===a.length)return Promise.resolve();let s=[];try{s=ue(e.querySelectorAll(a))}catch(d){}if(!(s.length>0))return Promise.resolve();r("pending"),i("complete");const l=bt("onTree"),c=s.reduce(((e,t)=>{try{const n=Rt(t);n&&e.push(n)}catch(d){L||"MissingIcon"===d.name&&console.error(d)}return e}),[]);return new Promise(((e,n)=>{Promise.all(c).then((n=>{_t(n,(()=>{r("active"),r("complete"),i("pending"),"function"===typeof t&&t(),l(),e()}))})).catch((e=>{l(),n(e)}))}))}function zt(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;Rt(e).then((e=>{e&&_t([e],t)}))}F.map((e=>{Lt.add("fa-".concat(e))})),Object.keys(U[m]).map(Lt.add.bind(Lt)),Object.keys(U[v]).map(Lt.add.bind(Lt)),Object.keys(U[y]).map(Lt.add.bind(Lt)),Lt=[...Lt];const Qt=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{transform:n=le,symbol:r=!1,mask:i=null,maskId:o=null,title:a=null,titleId:s=null,classes:l=[],attributes:c={},styles:u={}}=t;if(!e)return;const{prefix:d,iconName:p,icon:h}=e;return ct({type:"icon",...e},(()=>(tt("beforeDOMElementCreation",{iconDefinition:e,params:t}),oe.autoA11y&&(a?c["aria-labelledby"]="".concat(oe.replacementClass,"-title-").concat(s||ce()):(c["aria-hidden"]="true",c.focusable="false")),ut({icons:{main:ht(h),mask:i?ht(i.icon):{found:!1,width:null,height:null,icon:{}}},prefix:d,iconName:p,transform:{...le,...n},symbol:r,title:a,maskId:o,titleId:s,extra:{attributes:c,styles:u,classes:l}}))))};var Ut={mixout(){return{icon:(e=Qt,function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=(t||{}).icon?t:rt(t||{});let{mask:i}=n;return i&&(i=(i||{}).icon?i:rt(i||{})),e(r,{...n,mask:i})})};var e},hooks:()=>({mutationObserverCallbacks:e=>(e.treeCallback=Ft,e.nodeCallback=zt,e)}),provides(e){e.i2svg=function(e){const{node:t=u,callback:n=()=>{}}=e;return Ft(t,n)},e.generateSvgReplacementMutation=function(e,t){const{iconName:n,title:r,titleId:i,prefix:o,transform:a,symbol:s,mask:l,maskId:c,extra:u}=t;return new Promise(((t,d)=>{Promise.all([mt(n,o),l.iconName?mt(l.iconName,l.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then((l=>{let[d,p]=l;t([e,ut({icons:{main:d,mask:p},prefix:o,iconName:n,transform:a,symbol:s,maskId:c,title:r,titleId:i,extra:u,watchable:!0})])})).catch(d)}))},e.generateAbstractIcon=function(e){let{children:t,attributes:n,main:r,transform:i,styles:o}=e;const a=he(o);let s;return a.length>0&&(n.style=a),fe(i)&&(s=nt("generateAbstractTransformGrouping",{main:r,transform:i,containerWidth:r.width,iconWidth:r.width})),t.push(s||r.icon),{children:t,attributes:n}}}},Vt={mixout:()=>({layer(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{classes:n=[]}=t;return ct({type:"layer"},(()=>{tt("beforeDOMElementCreation",{assembler:e,params:t});let r=[];return e((e=>{Array.isArray(e)?e.map((e=>{r=r.concat(e.abstract)})):r=r.concat(e.abstract)})),[{tag:"span",attributes:{class:["".concat(oe.cssPrefix,"-layers"),...n].join(" ")},children:r}]}))}})},Gt={mixout:()=>({counter(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{title:n=null,classes:r=[],attributes:i={},styles:o={}}=t;return ct({type:"counter",content:e},(()=>(tt("beforeDOMElementCreation",{content:e,params:t}),function(e){const{content:t,title:n,extra:r}=e,i={...r.attributes,...n?{title:n}:{},class:r.classes.join(" ")},o=he(r.styles);o.length>0&&(i.style=o);const a=[];return a.push({tag:"span",attributes:i,children:[t]}),n&&a.push({tag:"span",attributes:{class:"sr-only"},children:[n]}),a}({content:e.toString(),title:n,extra:{attributes:i,styles:o,classes:["".concat(oe.cssPrefix,"-layers-counter"),...r]}}))))}})},qt={mixout:()=>({text(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{transform:n=le,title:r=null,classes:i=[],attributes:o={},styles:a={}}=t;return ct({type:"text",content:e},(()=>(tt("beforeDOMElementCreation",{content:e,params:t}),dt({content:e,transform:{...le,...n},title:r,extra:{attributes:o,styles:a,classes:["".concat(oe.cssPrefix,"-layers-text"),...i]}}))))}}),provides(e){e.generateLayersText=function(e,t){const{title:n,transform:r,extra:i}=t;let o=null,a=null;if(f){const t=parseInt(getComputedStyle(e).fontSize,10),n=e.getBoundingClientRect();o=n.width/t,a=n.height/t}return oe.autoA11y&&!n&&(i.attributes["aria-hidden"]="true"),Promise.resolve([e,dt({content:e.innerHTML,width:o,height:a,transform:r,title:n,extra:i,watchable:!0})])}}};const Ht=new RegExp('"',"ug"),Wt=[1105920,1112319],Yt={FontAwesome:{normal:"fas",400:"fas"},"Font Awesome 6 Free":{900:"fas",400:"far"},"Font Awesome 6 Pro":{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},"Font Awesome 6 Brands":{400:"fab",normal:"fab"},"Font Awesome 6 Duotone":{900:"fad"},"Font Awesome 6 Sharp":{900:"fass",400:"fasr",normal:"fasr",300:"fasl",100:"fast"},"Font Awesome 6 Sharp Duotone":{900:"fasds"},"Font Awesome 5 Free":{900:"fas",400:"far"},"Font Awesome 5 Pro":{900:"fas",400:"far",normal:"far",300:"fal"},"Font Awesome 5 Brands":{400:"fab",normal:"fab"},"Font Awesome 5 Duotone":{900:"fad"},"Font Awesome Kit":{400:"fak",normal:"fak"},"Font Awesome Kit Duotone":{400:"fakd",normal:"fakd"}},Kt=Object.keys(Yt).reduce(((e,t)=>(e[t.toLowerCase()]=Yt[t],e)),{}),Jt=Object.keys(Kt).reduce(((e,t)=>{const n=Kt[t];return e[t]=n[900]||[...Object.entries(n)][0][1],e}),{});function Xt(e,t){const n="".concat("data-fa-pseudo-element-pending").concat(t.replace(":","-"));return new Promise(((r,i)=>{if(null!==e.getAttribute(n))return r();const o=ue(e.children).filter((e=>e.getAttribute(j)===t))[0],a=c.getComputedStyle(e,t),s=a.getPropertyValue("font-family"),l=s.match(X),d=a.getPropertyValue("font-weight"),p=a.getPropertyValue("content");if(o&&!l)return e.removeChild(o),r();if(l&&"none"!==p&&""!==p){const c=a.getPropertyValue("content");let p=function(e,t){const n=e.replace(/^['"]|['"]$/g,"").toLowerCase(),r=parseInt(t),i=isNaN(r)?"normal":r;return(Kt[n]||{})[i]||Jt[n]}(s,d);const{value:h,isSecondary:f}=function(e){const t=e.replace(Ht,""),n=function(e,t){const n=e.length;let r,i=e.charCodeAt(t);return i>=55296&&i<=56319&&n>t+1&&(r=e.charCodeAt(t+1),r>=56320&&r<=57343)?1024*(i-55296)+r-56320+65536:i}(t,0),r=n>=Wt[0]&&n<=Wt[1],i=2===t.length&&t[0]===t[1];return{value:Ie(i?t[0]:t),isSecondary:r||i}}(c),m=l[0].startsWith("FontAwesome");let g=Ve(p,h),v=g;if(m){const e=function(e){const t=Re[e],n=Ve("fas",e);return t||(n?{prefix:"fas",iconName:n}:null)||{prefix:null,iconName:null}}(h);e.iconName&&e.prefix&&(g=e.iconName,p=e.prefix)}if(!g||f||o&&o.getAttribute(B)===p&&o.getAttribute(N)===v)r();else{e.setAttribute(n,v),o&&e.removeChild(o);const a={iconName:null,title:null,titleId:null,prefix:null,transform:le,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}},{extra:s}=a;s.attributes[j]=t,mt(g,p).then((i=>{const o=ut({...a,icons:{main:i,mask:{prefix:null,iconName:null,rest:[]}},prefix:p,iconName:v,extra:s,watchable:!0}),l=u.createElementNS("http://www.w3.org/2000/svg","svg");"::before"===t?e.insertBefore(l,e.firstChild):e.appendChild(l),l.outerHTML=o.map((e=>Se(e))).join("\n"),e.removeAttribute(n),r()})).catch(i)}}else r()}))}function Zt(e){return Promise.all([Xt(e,"::before"),Xt(e,"::after")])}function $t(e){return e.parentNode!==document.head&&!~R.indexOf(e.tagName.toUpperCase())&&!e.getAttribute(j)&&(!e.parentNode||"svg"!==e.parentNode.tagName)}function en(e){if(h)return new Promise(((t,n)=>{const r=ue(e.querySelectorAll("*")).filter($t).map(Zt),i=bt("searchPseudoElements");Ot(),Promise.all(r).then((()=>{i(),Tt(),t()})).catch((()=>{i(),Tt(),n()}))}))}var tn={hooks:()=>({mutationObserverCallbacks:e=>(e.pseudoElementsCallback=en,e)}),provides(e){e.pseudoElements2svg=function(e){const{node:t=u}=e;oe.searchPseudoElements&&en(t)}}};let nn=!1;var rn={mixout:()=>({dom:{unwatch(){Ot(),nn=!0}}}),hooks:()=>({bootstrap(){jt(et("mutationObserverCallbacks",{}))},noAuto(){Dt&&Dt.disconnect()},watch(e){const{observeMutationsRoot:t}=e;nn?Tt():jt(et("mutationObserverCallbacks",{observeMutationsRoot:t}))}})};const on=e=>e.toLowerCase().split(" ").reduce(((e,t)=>{const n=t.toLowerCase().split("-"),r=n[0];let i=n.slice(1).join("-");if(r&&"h"===i)return e.flipX=!0,e;if(r&&"v"===i)return e.flipY=!0,e;if(i=parseFloat(i),isNaN(i))return e;switch(r){case"grow":e.size=e.size+i;break;case"shrink":e.size=e.size-i;break;case"left":e.x=e.x-i;break;case"right":e.x=e.x+i;break;case"up":e.y=e.y-i;break;case"down":e.y=e.y+i;break;case"rotate":e.rotate=e.rotate+i}return e}),{size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0});var an={mixout:()=>({parse:{transform:e=>on(e)}}),hooks:()=>({parseNodeAttributes(e,t){const n=t.getAttribute("data-fa-transform");return n&&(e.transform=on(n)),e}}),provides(e){e.generateAbstractTransformGrouping=function(e){let{main:t,transform:n,containerWidth:r,iconWidth:i}=e;const o={transform:"translate(".concat(r/2," 256)")},a="translate(".concat(32*n.x,", ").concat(32*n.y,") "),s="scale(".concat(n.size/16*(n.flipX?-1:1),", ").concat(n.size/16*(n.flipY?-1:1),") "),l="rotate(".concat(n.rotate," 0 0)"),c={transform:"".concat(a," ").concat(s," ").concat(l)},u={transform:"translate(".concat(i/2*-1," -256)")};return{tag:"g",attributes:{...o},children:[{tag:"g",attributes:{...c},children:[{tag:t.icon.tag,children:t.icon.children,attributes:{...t.icon.attributes,...u}}]}]}}}};const sn={x:0,y:0,width:"100%",height:"100%"};function ln(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}var cn={hooks:()=>({parseNodeAttributes(e,t){const n=t.getAttribute("data-fa-mask"),r=n?Ke(n.split(" ").map((e=>e.trim()))):{prefix:null,iconName:null,rest:[]};return r.prefix||(r.prefix=He()),e.mask=r,e.maskId=t.getAttribute("data-fa-mask-id"),e}}),provides(e){e.generateAbstractMask=function(e){let{children:t,attributes:n,main:r,mask:i,maskId:o,transform:a}=e;const{width:s,icon:l}=r,{width:c,icon:u}=i,d=function(e){let{transform:t,containerWidth:n,iconWidth:r}=e;const i={transform:"translate(".concat(n/2," 256)")},o="translate(".concat(32*t.x,", ").concat(32*t.y,") "),a="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),s="rotate(".concat(t.rotate," 0 0)");return{outer:i,inner:{transform:"".concat(o," ").concat(a," ").concat(s)},path:{transform:"translate(".concat(r/2*-1," -256)")}}}({transform:a,containerWidth:c,iconWidth:s}),p={tag:"rect",attributes:{...sn,fill:"white"}},h=l.children?{children:l.children.map(ln)}:{},f={tag:"g",attributes:{...d.inner},children:[ln({tag:l.tag,attributes:{...l.attributes,...d.path},...h})]},m={tag:"g",attributes:{...d.outer},children:[f]},g="mask-".concat(o||ce()),v="clip-".concat(o||ce()),y={tag:"mask",attributes:{...sn,id:g,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"},children:[p,m]},A={tag:"defs",children:[{tag:"clipPath",attributes:{id:v},children:(b=u,"g"===b.tag?b.children:[b])},y]};var b;return t.push(A,{tag:"rect",attributes:{fill:"currentColor","clip-path":"url(#".concat(v,")"),mask:"url(#".concat(g,")"),...sn}}),{children:t,attributes:n}}}},un={provides(e){let t=!1;c.matchMedia&&(t=c.matchMedia("(prefers-reduced-motion: reduce)").matches),e.missingIconAbstract=function(){const e=[],n={fill:"currentColor"},r={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};e.push({tag:"path",attributes:{...n,d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"}});const i={...r,attributeName:"opacity"},o={tag:"circle",attributes:{...n,cx:"256",cy:"364",r:"28"},children:[]};return t||o.children.push({tag:"animate",attributes:{...r,attributeName:"r",values:"28;14;28;28;14;28;"}},{tag:"animate",attributes:{...i,values:"1;0;1;1;0;1;"}}),e.push(o),e.push({tag:"path",attributes:{...n,opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"},children:t?[]:[{tag:"animate",attributes:{...i,values:"1;0;0;0;0;1;"}}]}),t||e.push({tag:"path",attributes:{...n,opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"},children:[{tag:"animate",attributes:{...i,values:"0;0;1;1;0;0;"}}]}),{tag:"g",attributes:{class:"missing"},children:e}}}};!function(e,t){let{mixoutsTo:n}=t;Je=e,Xe={},Object.keys(Ze).forEach((e=>{-1===$e.indexOf(e)&&delete Ze[e]})),Je.forEach((e=>{const t=e.mixout?e.mixout():{};if(Object.keys(t).forEach((e=>{"function"===typeof t[e]&&(n[e]=t[e]),"object"===typeof t[e]&&Object.keys(t[e]).forEach((r=>{n[e]||(n[e]={}),n[e][r]=t[e][r]}))})),e.hooks){const t=e.hooks();Object.keys(t).forEach((e=>{Xe[e]||(Xe[e]=[]),Xe[e].push(t[e])}))}e.provides&&e.provides(Ze)}))}([ye,Ut,Vt,Gt,qt,tn,rn,an,cn,un,{hooks:()=>({parseNodeAttributes(e,t){const n=t.getAttribute("data-fa-symbol"),r=null!==n&&(""===n||n);return e.symbol=r,e}})}],{mixoutsTo:st});const dn=st.parse,pn=st.icon;var hn=n(11942),fn=n.n(hn),mn=n(9950);function gn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function vn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?gn(Object(n),!0).forEach((function(t){An(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):gn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function yn(e){return yn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},yn(e)}function An(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function bn(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function wn(e){return function(e){if(Array.isArray(e))return xn(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"===typeof e)return xn(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return xn(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function xn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Cn(e){return t=e,(t-=0)===t?e:(e=e.replace(/[\-_\s]+(.)?/g,(function(e,t){return t?t.toUpperCase():""}))).substr(0,1).toLowerCase()+e.substr(1);var t}var Sn=["style"];var kn=!1;try{kn=!0}catch(Tn){}function En(e){return e&&"object"===yn(e)&&e.prefix&&e.iconName&&e.icon?e:dn.icon?dn.icon(e):null===e?null:e&&"object"===yn(e)&&e.prefix&&e.iconName?e:Array.isArray(e)&&2===e.length?{prefix:e[0],iconName:e[1]}:"string"===typeof e?{prefix:"fas",iconName:e}:void 0}function In(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?An({},e,t):{}}var _n={border:!1,className:"",mask:null,maskId:null,fixedWidth:!1,inverse:!1,flip:!1,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,spinPulse:!1,spinReverse:!1,beat:!1,fade:!1,beatFade:!1,bounce:!1,shake:!1,symbol:!1,title:"",titleId:null,transform:null,swapOpacity:!1},Pn=mn.forwardRef((function(e,t){var n=vn(vn({},_n),e),r=n.icon,i=n.mask,o=n.symbol,a=n.className,s=n.title,l=n.titleId,c=n.maskId,u=En(r),d=In("classes",[].concat(wn(function(e){var t,n=e.beat,r=e.fade,i=e.beatFade,o=e.bounce,a=e.shake,s=e.flash,l=e.spin,c=e.spinPulse,u=e.spinReverse,d=e.pulse,p=e.fixedWidth,h=e.inverse,f=e.border,m=e.listItem,g=e.flip,v=e.size,y=e.rotation,A=e.pull,b=(An(t={"fa-beat":n,"fa-fade":r,"fa-beat-fade":i,"fa-bounce":o,"fa-shake":a,"fa-flash":s,"fa-spin":l,"fa-spin-reverse":u,"fa-spin-pulse":c,"fa-pulse":d,"fa-fw":p,"fa-inverse":h,"fa-border":f,"fa-li":m,"fa-flip":!0===g,"fa-flip-horizontal":"horizontal"===g||"both"===g,"fa-flip-vertical":"vertical"===g||"both"===g},"fa-".concat(v),"undefined"!==typeof v&&null!==v),An(t,"fa-rotate-".concat(y),"undefined"!==typeof y&&null!==y&&0!==y),An(t,"fa-pull-".concat(A),"undefined"!==typeof A&&null!==A),An(t,"fa-swap-opacity",e.swapOpacity),t);return Object.keys(b).map((function(e){return b[e]?e:null})).filter((function(e){return e}))}(n)),wn((a||"").split(" ")))),p=In("transform","string"===typeof n.transform?dn.transform(n.transform):n.transform),h=In("mask",En(i)),f=pn(u,vn(vn(vn(vn({},d),p),h),{},{symbol:o,title:s,titleId:l,maskId:c}));if(!f)return function(){var e;!kn&&console&&"function"===typeof console.error&&(e=console).error.apply(e,arguments)}("Could not find icon",u),null;var m=f.abstract,g={ref:t};return Object.keys(n).forEach((function(e){_n.hasOwnProperty(e)||(g[e]=n[e])})),On(m[0],g)}));Pn.displayName="FontAwesomeIcon",Pn.propTypes={beat:fn().bool,border:fn().bool,beatFade:fn().bool,bounce:fn().bool,className:fn().string,fade:fn().bool,flash:fn().bool,mask:fn().oneOfType([fn().object,fn().array,fn().string]),maskId:fn().string,fixedWidth:fn().bool,inverse:fn().bool,flip:fn().oneOf([!0,!1,"horizontal","vertical","both"]),icon:fn().oneOfType([fn().object,fn().array,fn().string]),listItem:fn().bool,pull:fn().oneOf(["right","left"]),pulse:fn().bool,rotation:fn().oneOf([0,90,180,270]),shake:fn().bool,size:fn().oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:fn().bool,spinPulse:fn().bool,spinReverse:fn().bool,symbol:fn().oneOfType([fn().bool,fn().string]),title:fn().string,titleId:fn().string,transform:fn().oneOfType([fn().string,fn().object]),swapOpacity:fn().bool};var On=function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"===typeof n)return n;var i=(n.children||[]).map((function(n){return e(t,n)})),o=Object.keys(n.attributes||{}).reduce((function(e,t){var r=n.attributes[t];switch(t){case"class":e.attrs.className=r,delete n.attributes.class;break;case"style":e.attrs.style=r.split(";").map((function(e){return e.trim()})).filter((function(e){return e})).reduce((function(e,t){var n,r=t.indexOf(":"),i=Cn(t.slice(0,r)),o=t.slice(r+1).trim();return i.startsWith("webkit")?e[(n=i,n.charAt(0).toUpperCase()+n.slice(1))]=o:e[i]=o,e}),{});break;default:0===t.indexOf("aria-")||0===t.indexOf("data-")?e.attrs[t.toLowerCase()]=r:e.attrs[Cn(t)]=r}return e}),{attrs:{}}),a=r.style,s=void 0===a?{}:a,l=bn(r,Sn);return o.attrs.style=vn(vn({},o.attrs.style),s),t.apply(void 0,[n.tag,vn(vn({},o.attrs),l)].concat(wn(i)))}.bind(null,mn.createElement)},89154:(e,t,n)=>{"use strict";n.d(t,{UD:()=>w});var r=n(64091),i=n(65896),o=n(23189),a=n(76103);var s=n(66586),l=n(59043),c=n(8278),u=n(74380),d=n(60720);function p(e,t,n){void 0===n&&(n=!1);var p=(0,a.sb)(t),h=(0,a.sb)(t)&&function(e){var t=e.getBoundingClientRect(),n=(0,d.LI)(t.width)/e.offsetWidth||1,r=(0,d.LI)(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),f=(0,c.A)(t),m=(0,r.A)(e,h,n),g={scrollLeft:0,scrollTop:0},v={x:0,y:0};return(p||!p&&!n)&&(("body"!==(0,s.A)(t)||(0,u.A)(f))&&(g=function(e){return e!==(0,o.A)(e)&&(0,a.sb)(e)?{scrollLeft:(t=e).scrollLeft,scrollTop:t.scrollTop}:(0,i.A)(e);var t}(t)),(0,a.sb)(t)?((v=(0,r.A)(t,!0)).x+=t.clientLeft,v.y+=t.clientTop):f&&(v.x=(0,l.A)(f))),{x:m.left+g.scrollLeft-v.x,y:m.top+g.scrollTop-v.y,width:m.width,height:m.height}}var h=n(63817),f=n(92102),m=n(26951),g=n(64896);function v(e){var t=new Map,n=new Set,r=[];function i(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&i(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||i(e)})),r}function y(e){var t;return function(){return t||(t=new Promise((function(n){Promise.resolve().then((function(){t=void 0,n(e())}))}))),t}}var A={placement:"bottom",modifiers:[],strategy:"absolute"};function b(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"===typeof e.getBoundingClientRect)}))}function w(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,i=t.defaultOptions,o=void 0===i?A:i;return function(e,t,n){void 0===n&&(n=o);var i={placement:"bottom",orderedModifiers:[],options:Object.assign({},A,o),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},s=[],l=!1,c={state:i,setOptions:function(n){var l="function"===typeof n?n(i.options):n;u(),i.options=Object.assign({},o,i.options,l),i.scrollParents={reference:(0,a.vq)(e)?(0,f.A)(e):e.contextElement?(0,f.A)(e.contextElement):[],popper:(0,f.A)(t)};var d=function(e){var t=v(e);return g.GM.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}(function(e){var t=e.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{});return Object.keys(t).map((function(e){return t[e]}))}([].concat(r,i.options.modifiers)));return i.orderedModifiers=d.filter((function(e){return e.enabled})),i.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,o=e.effect;if("function"===typeof o){var a=o({state:i,name:t,instance:c,options:r}),l=function(){};s.push(a||l)}})),c.update()},forceUpdate:function(){if(!l){var e=i.elements,t=e.reference,n=e.popper;if(b(t,n)){i.rects={reference:p(t,(0,m.A)(n),"fixed"===i.options.strategy),popper:(0,h.A)(n)},i.reset=!1,i.placement=i.options.placement,i.orderedModifiers.forEach((function(e){return i.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0;r<i.orderedModifiers.length;r++)if(!0!==i.reset){var o=i.orderedModifiers[r],a=o.fn,s=o.options,u=void 0===s?{}:s,d=o.name;"function"===typeof a&&(i=a({state:i,options:u,name:d,instance:c})||i)}else i.reset=!1,r=-1}}},update:y((function(){return new Promise((function(e){c.forceUpdate(),e(i)}))})),destroy:function(){u(),l=!0}};if(!b(e,t))return c;function u(){s.forEach((function(e){return e()})),s=[]}return c.setOptions(n).then((function(e){!l&&n.onFirstUpdate&&n.onFirstUpdate(e)})),c}}},1188:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(76103);function i(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&(0,r.Ng)(n)){var i=t;do{if(i&&e.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}},64091:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(76103),i=n(60720),o=n(23189),a=n(92869);function s(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var s=e.getBoundingClientRect(),l=1,c=1;t&&(0,r.sb)(e)&&(l=e.offsetWidth>0&&(0,i.LI)(s.width)/e.offsetWidth||1,c=e.offsetHeight>0&&(0,i.LI)(s.height)/e.offsetHeight||1);var u=((0,r.vq)(e)?(0,o.A)(e):window).visualViewport,d=!(0,a.A)()&&n,p=(s.left+(d&&u?u.offsetLeft:0))/l,h=(s.top+(d&&u?u.offsetTop:0))/c,f=s.width/l,m=s.height/c;return{width:f,height:m,top:h,right:p+f,bottom:h+m,left:p,x:p,y:h}}},49529:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(23189);function i(e){return(0,r.A)(e).getComputedStyle(e)}},8278:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(76103);function i(e){return(((0,r.vq)(e)?e.ownerDocument:e.document)||window.document).documentElement}},63817:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(64091);function i(e){var t=(0,r.A)(e),n=e.offsetWidth,i=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-i)<=1&&(i=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:i}}},66586:(e,t,n)=>{"use strict";function r(e){return e?(e.nodeName||"").toLowerCase():null}n.d(t,{A:()=>r})},26951:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var r=n(23189),i=n(66586),o=n(49529),a=n(76103);function s(e){return["table","td","th"].indexOf((0,i.A)(e))>=0}var l=n(54205),c=n(16200);function u(e){return(0,a.sb)(e)&&"fixed"!==(0,o.A)(e).position?e.offsetParent:null}function d(e){for(var t=(0,r.A)(e),n=u(e);n&&s(n)&&"static"===(0,o.A)(n).position;)n=u(n);return n&&("html"===(0,i.A)(n)||"body"===(0,i.A)(n)&&"static"===(0,o.A)(n).position)?t:n||function(e){var t=/firefox/i.test((0,c.A)());if(/Trident/i.test((0,c.A)())&&(0,a.sb)(e)&&"fixed"===(0,o.A)(e).position)return null;var n=(0,l.A)(e);for((0,a.Ng)(n)&&(n=n.host);(0,a.sb)(n)&&["html","body"].indexOf((0,i.A)(n))<0;){var r=(0,o.A)(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}},54205:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(66586),i=n(8278),o=n(76103);function a(e){return"html"===(0,r.A)(e)?e:e.assignedSlot||e.parentNode||((0,o.Ng)(e)?e.host:null)||(0,i.A)(e)}},23189:(e,t,n)=>{"use strict";function r(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}n.d(t,{A:()=>r})},65896:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(23189);function i(e){var t=(0,r.A)(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}},59043:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(64091),i=n(8278),o=n(65896);function a(e){return(0,r.A)((0,i.A)(e)).left+(0,o.A)(e).scrollLeft}},76103:(e,t,n)=>{"use strict";n.d(t,{Ng:()=>a,sb:()=>o,vq:()=>i});var r=n(23189);function i(e){return e instanceof(0,r.A)(e).Element||e instanceof Element}function o(e){return e instanceof(0,r.A)(e).HTMLElement||e instanceof HTMLElement}function a(e){return"undefined"!==typeof ShadowRoot&&(e instanceof(0,r.A)(e).ShadowRoot||e instanceof ShadowRoot)}},92869:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(16200);function i(){return!/^((?!chrome|android).)*safari/i.test((0,r.A)())}},74380:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(49529);function i(e){var t=(0,r.A)(e),n=t.overflow,i=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+i)}},92102:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(54205),i=n(74380),o=n(66586),a=n(76103);function s(e){return["html","body","#document"].indexOf((0,o.A)(e))>=0?e.ownerDocument.body:(0,a.sb)(e)&&(0,i.A)(e)?e:s((0,r.A)(e))}var l=n(23189);function c(e,t){var n;void 0===t&&(t=[]);var o=s(e),a=o===(null==(n=e.ownerDocument)?void 0:n.body),u=(0,l.A)(o),d=a?[u].concat(u.visualViewport||[],(0,i.A)(o)?o:[]):o,p=t.concat(d);return a?p:p.concat(c((0,r.A)(d)))}},64896:(e,t,n)=>{"use strict";n.d(t,{DD:()=>g,GM:()=>v,Mn:()=>r,OM:()=>l,Ol:()=>m,R9:()=>p,WY:()=>d,_N:()=>u,ir:()=>f,kb:()=>a,ni:()=>c,pG:()=>o,qZ:()=>s,sQ:()=>i,xf:()=>h});var r="top",i="bottom",o="right",a="left",s="auto",l=[r,i,o,a],c="start",u="end",d="clippingParents",p="viewport",h="popper",f="reference",m=l.reduce((function(e,t){return e.concat([t+"-"+c,t+"-"+u])}),[]),g=[].concat(l,[s]).reduce((function(e,t){return e.concat([t,t+"-"+c,t+"-"+u])}),[]),v=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"]},78566:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var r=n(94050),i=n(63817),o=n(1188),a=n(26951),s=n(81221),l=n(22929),c=n(51148),u=n(32069),d=n(64896);const p={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,o=e.name,p=e.options,h=n.elements.arrow,f=n.modifiersData.popperOffsets,m=(0,r.A)(n.placement),g=(0,s.A)(m),v=[d.kb,d.pG].indexOf(m)>=0?"height":"width";if(h&&f){var y=function(e,t){return e="function"===typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e,(0,c.A)("number"!==typeof e?e:(0,u.A)(e,d.OM))}(p.padding,n),A=(0,i.A)(h),b="y"===g?d.Mn:d.kb,w="y"===g?d.sQ:d.pG,x=n.rects.reference[v]+n.rects.reference[g]-f[g]-n.rects.popper[v],C=f[g]-n.rects.reference[g],S=(0,a.A)(h),k=S?"y"===g?S.clientHeight||0:S.clientWidth||0:0,E=x/2-C/2,I=y[b],_=k-A[v]-y[w],P=k/2-A[v]/2+E,O=(0,l.u)(I,P,_),T=g;n.modifiersData[o]=((t={})[T]=O,t.centerOffset=O-P,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!==typeof r||(r=t.elements.popper.querySelector(r)))&&(0,o.A)(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]}},77892:(e,t,n)=>{"use strict";n.d(t,{A:()=>h});var r=n(64896),i=n(26951),o=n(23189),a=n(8278),s=n(49529),l=n(94050),c=n(92207),u=n(60720),d={top:"auto",right:"auto",bottom:"auto",left:"auto"};function p(e){var t,n=e.popper,l=e.popperRect,c=e.placement,p=e.variation,h=e.offsets,f=e.position,m=e.gpuAcceleration,g=e.adaptive,v=e.roundOffsets,y=e.isFixed,A=h.x,b=void 0===A?0:A,w=h.y,x=void 0===w?0:w,C="function"===typeof v?v({x:b,y:x}):{x:b,y:x};b=C.x,x=C.y;var S=h.hasOwnProperty("x"),k=h.hasOwnProperty("y"),E=r.kb,I=r.Mn,_=window;if(g){var P=(0,i.A)(n),O="clientHeight",T="clientWidth";if(P===(0,o.A)(n)&&(P=(0,a.A)(n),"static"!==(0,s.A)(P).position&&"absolute"===f&&(O="scrollHeight",T="scrollWidth")),c===r.Mn||(c===r.kb||c===r.pG)&&p===r._N)I=r.sQ,x-=(y&&P===_&&_.visualViewport?_.visualViewport.height:P[O])-l.height,x*=m?1:-1;if(c===r.kb||(c===r.Mn||c===r.sQ)&&p===r._N)E=r.pG,b-=(y&&P===_&&_.visualViewport?_.visualViewport.width:P[T])-l.width,b*=m?1:-1}var D,j=Object.assign({position:f},g&&d),B=!0===v?function(e,t){var n=e.x,r=e.y,i=t.devicePixelRatio||1;return{x:(0,u.LI)(n*i)/i||0,y:(0,u.LI)(r*i)/i||0}}({x:b,y:x},(0,o.A)(n)):{x:b,y:x};return b=B.x,x=B.y,m?Object.assign({},j,((D={})[I]=k?"0":"",D[E]=S?"0":"",D.transform=(_.devicePixelRatio||1)<=1?"translate("+b+"px, "+x+"px)":"translate3d("+b+"px, "+x+"px, 0)",D)):Object.assign({},j,((t={})[I]=k?x+"px":"",t[E]=S?b+"px":"",t.transform="",t))}const h={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,i=void 0===r||r,o=n.adaptive,a=void 0===o||o,s=n.roundOffsets,u=void 0===s||s,d={placement:(0,l.A)(t.placement),variation:(0,c.A)(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,p(Object.assign({},d,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:u})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,p(Object.assign({},d,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}}},4025:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(23189),i={passive:!0};const o={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,o=e.options,a=o.scroll,s=void 0===a||a,l=o.resize,c=void 0===l||l,u=(0,r.A)(t.elements.popper),d=[].concat(t.scrollParents.reference,t.scrollParents.popper);return s&&d.forEach((function(e){e.addEventListener("scroll",n.update,i)})),c&&u.addEventListener("resize",n.update,i),function(){s&&d.forEach((function(e){e.removeEventListener("scroll",n.update,i)})),c&&u.removeEventListener("resize",n.update,i)}},data:{}}},2739:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var r={left:"right",right:"left",bottom:"top",top:"bottom"};function i(e){return e.replace(/left|right|bottom|top/g,(function(e){return r[e]}))}var o=n(94050),a={start:"end",end:"start"};function s(e){return e.replace(/start|end/g,(function(e){return a[e]}))}var l=n(61881),c=n(92207),u=n(64896);const d={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var a=n.mainAxis,d=void 0===a||a,p=n.altAxis,h=void 0===p||p,f=n.fallbackPlacements,m=n.padding,g=n.boundary,v=n.rootBoundary,y=n.altBoundary,A=n.flipVariations,b=void 0===A||A,w=n.allowedAutoPlacements,x=t.options.placement,C=(0,o.A)(x),S=f||(C===x||!b?[i(x)]:function(e){if((0,o.A)(e)===u.qZ)return[];var t=i(e);return[s(e),t,s(t)]}(x)),k=[x].concat(S).reduce((function(e,n){return e.concat((0,o.A)(n)===u.qZ?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,i=n.boundary,a=n.rootBoundary,s=n.padding,d=n.flipVariations,p=n.allowedAutoPlacements,h=void 0===p?u.DD:p,f=(0,c.A)(r),m=f?d?u.Ol:u.Ol.filter((function(e){return(0,c.A)(e)===f})):u.OM,g=m.filter((function(e){return h.indexOf(e)>=0}));0===g.length&&(g=m);var v=g.reduce((function(t,n){return t[n]=(0,l.A)(e,{placement:n,boundary:i,rootBoundary:a,padding:s})[(0,o.A)(n)],t}),{});return Object.keys(v).sort((function(e,t){return v[e]-v[t]}))}(t,{placement:n,boundary:g,rootBoundary:v,padding:m,flipVariations:b,allowedAutoPlacements:w}):n)}),[]),E=t.rects.reference,I=t.rects.popper,_=new Map,P=!0,O=k[0],T=0;T<k.length;T++){var D=k[T],j=(0,o.A)(D),B=(0,c.A)(D)===u.ni,N=[u.Mn,u.sQ].indexOf(j)>=0,M=N?"width":"height",R=(0,l.A)(t,{placement:D,boundary:g,rootBoundary:v,altBoundary:y,padding:m}),L=N?B?u.pG:u.kb:B?u.sQ:u.Mn;E[M]>I[M]&&(L=i(L));var F=i(L),z=[];if(d&&z.push(R[j]<=0),h&&z.push(R[L]<=0,R[F]<=0),z.every((function(e){return e}))){O=D,P=!1;break}_.set(D,z)}if(P)for(var Q=function(e){var t=k.find((function(t){var n=_.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return O=t,"break"},U=b?3:1;U>0;U--){if("break"===Q(U))break}t.placement!==O&&(t.modifiersData[r]._skip=!0,t.placement=O,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}}},42499:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(64896),i=n(61881);function o(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function a(e){return[r.Mn,r.pG,r.sQ,r.kb].some((function(t){return e[t]>=0}))}const s={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,s=t.rects.popper,l=t.modifiersData.preventOverflow,c=(0,i.A)(t,{elementContext:"reference"}),u=(0,i.A)(t,{altBoundary:!0}),d=o(c,r),p=o(u,s,l),h=a(d),f=a(p);t.modifiersData[n]={referenceClippingOffsets:d,popperEscapeOffsets:p,isReferenceHidden:h,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":h,"data-popper-escaped":f})}}},75836:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(94050),i=n(64896);const o={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,o=e.name,a=n.offset,s=void 0===a?[0,0]:a,l=i.DD.reduce((function(e,n){return e[n]=function(e,t,n){var o=(0,r.A)(e),a=[i.kb,i.Mn].indexOf(o)>=0?-1:1,s="function"===typeof n?n(Object.assign({},t,{placement:e})):n,l=s[0],c=s[1];return l=l||0,c=(c||0)*a,[i.kb,i.pG].indexOf(o)>=0?{x:c,y:l}:{x:l,y:c}}(n,t.rects,s),e}),{}),c=l[t.placement],u=c.x,d=c.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=u,t.modifiersData.popperOffsets.y+=d),t.modifiersData[o]=l}}},64325:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(97905);const i={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=(0,r.A)({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}}},33322:(e,t,n)=>{"use strict";n.d(t,{A:()=>h});var r=n(64896),i=n(94050),o=n(81221);var a=n(22929),s=n(63817),l=n(26951),c=n(61881),u=n(92207),d=n(22878),p=n(60720);const h={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,h=e.name,f=n.mainAxis,m=void 0===f||f,g=n.altAxis,v=void 0!==g&&g,y=n.boundary,A=n.rootBoundary,b=n.altBoundary,w=n.padding,x=n.tether,C=void 0===x||x,S=n.tetherOffset,k=void 0===S?0:S,E=(0,c.A)(t,{boundary:y,rootBoundary:A,padding:w,altBoundary:b}),I=(0,i.A)(t.placement),_=(0,u.A)(t.placement),P=!_,O=(0,o.A)(I),T="x"===O?"y":"x",D=t.modifiersData.popperOffsets,j=t.rects.reference,B=t.rects.popper,N="function"===typeof k?k(Object.assign({},t.rects,{placement:t.placement})):k,M="number"===typeof N?{mainAxis:N,altAxis:N}:Object.assign({mainAxis:0,altAxis:0},N),R=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,L={x:0,y:0};if(D){if(m){var F,z="y"===O?r.Mn:r.kb,Q="y"===O?r.sQ:r.pG,U="y"===O?"height":"width",V=D[O],G=V+E[z],q=V-E[Q],H=C?-B[U]/2:0,W=_===r.ni?j[U]:B[U],Y=_===r.ni?-B[U]:-j[U],K=t.elements.arrow,J=C&&K?(0,s.A)(K):{width:0,height:0},X=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:(0,d.A)(),Z=X[z],$=X[Q],ee=(0,a.u)(0,j[U],J[U]),te=P?j[U]/2-H-ee-Z-M.mainAxis:W-ee-Z-M.mainAxis,ne=P?-j[U]/2+H+ee+$+M.mainAxis:Y+ee+$+M.mainAxis,re=t.elements.arrow&&(0,l.A)(t.elements.arrow),ie=re?"y"===O?re.clientTop||0:re.clientLeft||0:0,oe=null!=(F=null==R?void 0:R[O])?F:0,ae=V+te-oe-ie,se=V+ne-oe,le=(0,a.u)(C?(0,p.jk)(G,ae):G,V,C?(0,p.T9)(q,se):q);D[O]=le,L[O]=le-V}if(v){var ce,ue="x"===O?r.Mn:r.kb,de="x"===O?r.sQ:r.pG,pe=D[T],he="y"===T?"height":"width",fe=pe+E[ue],me=pe-E[de],ge=-1!==[r.Mn,r.kb].indexOf(I),ve=null!=(ce=null==R?void 0:R[T])?ce:0,ye=ge?fe:pe-j[he]-B[he]-ve+M.altAxis,Ae=ge?pe+j[he]+B[he]-ve-M.altAxis:me,be=C&&ge?(0,a.P)(ye,pe,Ae):(0,a.u)(C?ye:fe,pe,C?Ae:me);D[T]=be,L[T]=be-pe}t.modifiersData[h]=L}},requiresIfExists:["offset"]}},97905:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(94050),i=n(92207),o=n(81221),a=n(64896);function s(e){var t,n=e.reference,s=e.element,l=e.placement,c=l?(0,r.A)(l):null,u=l?(0,i.A)(l):null,d=n.x+n.width/2-s.width/2,p=n.y+n.height/2-s.height/2;switch(c){case a.Mn:t={x:d,y:n.y-s.height};break;case a.sQ:t={x:d,y:n.y+n.height};break;case a.pG:t={x:n.x+n.width,y:p};break;case a.kb:t={x:n.x-s.width,y:p};break;default:t={x:n.x,y:n.y}}var h=c?(0,o.A)(c):null;if(null!=h){var f="y"===h?"height":"width";switch(u){case a.ni:t[h]=t[h]-(n[f]/2-s[f]/2);break;case a._N:t[h]=t[h]+(n[f]/2-s[f]/2)}}return t}},61881:(e,t,n)=>{"use strict";n.d(t,{A:()=>S});var r=n(64896),i=n(23189),o=n(8278),a=n(59043),s=n(92869);var l=n(49529),c=n(65896),u=n(60720);var d=n(92102),p=n(26951),h=n(76103),f=n(64091),m=n(54205),g=n(1188),v=n(66586);function y(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function A(e,t,n){return t===r.R9?y(function(e,t){var n=(0,i.A)(e),r=(0,o.A)(e),l=n.visualViewport,c=r.clientWidth,u=r.clientHeight,d=0,p=0;if(l){c=l.width,u=l.height;var h=(0,s.A)();(h||!h&&"fixed"===t)&&(d=l.offsetLeft,p=l.offsetTop)}return{width:c,height:u,x:d+(0,a.A)(e),y:p}}(e,n)):(0,h.vq)(t)?function(e,t){var n=(0,f.A)(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):y(function(e){var t,n=(0,o.A)(e),r=(0,c.A)(e),i=null==(t=e.ownerDocument)?void 0:t.body,s=(0,u.T9)(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),d=(0,u.T9)(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),p=-r.scrollLeft+(0,a.A)(e),h=-r.scrollTop;return"rtl"===(0,l.A)(i||n).direction&&(p+=(0,u.T9)(n.clientWidth,i?i.clientWidth:0)-s),{width:s,height:d,x:p,y:h}}((0,o.A)(e)))}function b(e,t,n,r){var i="clippingParents"===t?function(e){var t=(0,d.A)((0,m.A)(e)),n=["absolute","fixed"].indexOf((0,l.A)(e).position)>=0&&(0,h.sb)(e)?(0,p.A)(e):e;return(0,h.vq)(n)?t.filter((function(e){return(0,h.vq)(e)&&(0,g.A)(e,n)&&"body"!==(0,v.A)(e)})):[]}(e):[].concat(t),o=[].concat(i,[n]),a=o[0],s=o.reduce((function(t,n){var i=A(e,n,r);return t.top=(0,u.T9)(i.top,t.top),t.right=(0,u.jk)(i.right,t.right),t.bottom=(0,u.jk)(i.bottom,t.bottom),t.left=(0,u.T9)(i.left,t.left),t}),A(e,a,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}var w=n(97905),x=n(51148),C=n(32069);function S(e,t){void 0===t&&(t={});var n=t,i=n.placement,a=void 0===i?e.placement:i,s=n.strategy,l=void 0===s?e.strategy:s,c=n.boundary,u=void 0===c?r.WY:c,d=n.rootBoundary,p=void 0===d?r.R9:d,m=n.elementContext,g=void 0===m?r.xf:m,v=n.altBoundary,A=void 0!==v&&v,S=n.padding,k=void 0===S?0:S,E=(0,x.A)("number"!==typeof k?k:(0,C.A)(k,r.OM)),I=g===r.xf?r.ir:r.xf,_=e.rects.popper,P=e.elements[A?I:g],O=b((0,h.vq)(P)?P:P.contextElement||(0,o.A)(e.elements.popper),u,p,l),T=(0,f.A)(e.elements.reference),D=(0,w.A)({reference:T,element:_,strategy:"absolute",placement:a}),j=y(Object.assign({},_,D)),B=g===r.xf?j:T,N={top:O.top-B.top+E.top,bottom:B.bottom-O.bottom+E.bottom,left:O.left-B.left+E.left,right:B.right-O.right+E.right},M=e.modifiersData.offset;if(g===r.xf&&M){var R=M[a];Object.keys(N).forEach((function(e){var t=[r.pG,r.sQ].indexOf(e)>=0?1:-1,n=[r.Mn,r.sQ].indexOf(e)>=0?"y":"x";N[e]+=R[n]*t}))}return N}},32069:(e,t,n)=>{"use strict";function r(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}n.d(t,{A:()=>r})},94050:(e,t,n)=>{"use strict";function r(e){return e.split("-")[0]}n.d(t,{A:()=>r})},22878:(e,t,n)=>{"use strict";function r(){return{top:0,right:0,bottom:0,left:0}}n.d(t,{A:()=>r})},81221:(e,t,n)=>{"use strict";function r(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}n.d(t,{A:()=>r})},92207:(e,t,n)=>{"use strict";function r(e){return e.split("-")[1]}n.d(t,{A:()=>r})},60720:(e,t,n)=>{"use strict";n.d(t,{LI:()=>o,T9:()=>r,jk:()=>i});var r=Math.max,i=Math.min,o=Math.round},51148:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(22878);function i(e){return Object.assign({},(0,r.A)(),e)}},16200:(e,t,n)=>{"use strict";function r(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}n.d(t,{A:()=>r})},22929:(e,t,n)=>{"use strict";n.d(t,{P:()=>o,u:()=>i});var r=n(60720);function i(e,t,n){return(0,r.T9)(e,(0,r.jk)(t,n))}function o(e,t,n){var r=i(e,t,n);return r>n?n:r}},11359:(e,t,n)=>{"use strict";function r(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+e+(n.length?" "+n.map((function(e){return"'"+e+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function i(e){return!!e&&!!e[W]}function o(e){var t;return!!e&&(function(e){if(!e||"object"!=typeof e)return!1;var t=Object.getPrototypeOf(e);if(null===t)return!0;var n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return n===Object||"function"==typeof n&&Function.toString.call(n)===Y}(e)||Array.isArray(e)||!!e[H]||!!(null===(t=e.constructor)||void 0===t?void 0:t[H])||p(e)||h(e))}function a(e,t,n){void 0===n&&(n=!1),0===s(e)?(n?Object.keys:K)(e).forEach((function(r){n&&"symbol"==typeof r||t(r,e[r],e)})):e.forEach((function(n,r){return t(r,n,e)}))}function s(e){var t=e[W];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:p(e)?2:h(e)?3:0}function l(e,t){return 2===s(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function c(e,t){return 2===s(e)?e.get(t):e[t]}function u(e,t,n){var r=s(e);2===r?e.set(t,n):3===r?e.add(n):e[t]=n}function d(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function p(e){return U&&e instanceof Map}function h(e){return V&&e instanceof Set}function f(e){return e.o||e.t}function m(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=J(e);delete t[W];for(var n=K(t),r=0;r<n.length;r++){var i=n[r],o=t[i];!1===o.writable&&(o.writable=!0,o.configurable=!0),(o.get||o.set)&&(t[i]={configurable:!0,writable:!0,enumerable:o.enumerable,value:e[i]})}return Object.create(Object.getPrototypeOf(e),t)}function g(e,t){return void 0===t&&(t=!1),y(e)||i(e)||!o(e)||(s(e)>1&&(e.set=e.add=e.clear=e.delete=v),Object.freeze(e),t&&a(e,(function(e,t){return g(t,!0)}),!0)),e}function v(){r(2)}function y(e){return null==e||"object"!=typeof e||Object.isFrozen(e)}function A(e){var t=X[e];return t||r(18,e),t}function b(e,t){X[e]||(X[e]=t)}function w(){return z}function x(e,t){t&&(A("Patches"),e.u=[],e.s=[],e.v=t)}function C(e){S(e),e.p.forEach(E),e.p=null}function S(e){e===z&&(z=e.l)}function k(e){return z={p:[],l:z,h:e,m:!0,_:0}}function E(e){var t=e[W];0===t.i||1===t.i?t.j():t.g=!0}function I(e,t){t._=t.p.length;var n=t.p[0],i=void 0!==e&&e!==n;return t.h.O||A("ES5").S(t,e,i),i?(n[W].P&&(C(t),r(4)),o(e)&&(e=_(t,e),t.l||O(t,e)),t.u&&A("Patches").M(n[W].t,e,t.u,t.s)):e=_(t,n,[]),C(t),t.u&&t.v(t.u,t.s),e!==q?e:void 0}function _(e,t,n){if(y(t))return t;var r=t[W];if(!r)return a(t,(function(i,o){return P(e,r,t,i,o,n)}),!0),t;if(r.A!==e)return t;if(!r.P)return O(e,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var i=4===r.i||5===r.i?r.o=m(r.k):r.o,o=i,s=!1;3===r.i&&(o=new Set(i),i.clear(),s=!0),a(o,(function(t,o){return P(e,r,i,t,o,n,s)})),O(e,i,!1),n&&e.u&&A("Patches").N(r,n,e.u,e.s)}return r.o}function P(e,t,n,r,a,s,c){if(i(a)){var d=_(e,a,s&&t&&3!==t.i&&!l(t.R,r)?s.concat(r):void 0);if(u(n,r,d),!i(d))return;e.m=!1}else c&&n.add(a);if(o(a)&&!y(a)){if(!e.h.D&&e._<1)return;_(e,a),t&&t.A.l||O(e,a)}}function O(e,t,n){void 0===n&&(n=!1),!e.l&&e.h.D&&e.m&&g(t,n)}function T(e,t){var n=e[W];return(n?f(n):e)[t]}function D(e,t){if(t in e)for(var n=Object.getPrototypeOf(e);n;){var r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=Object.getPrototypeOf(n)}}function j(e){e.P||(e.P=!0,e.l&&j(e.l))}function B(e){e.o||(e.o=m(e.t))}function N(e,t,n){var r=p(t)?A("MapSet").F(t,n):h(t)?A("MapSet").T(t,n):e.O?function(e,t){var n=Array.isArray(e),r={i:n?1:0,A:t?t.A:w(),P:!1,I:!1,R:{},l:t,t:e,k:null,o:null,j:null,C:!1},i=r,o=Z;n&&(i=[r],o=$);var a=Proxy.revocable(i,o),s=a.revoke,l=a.proxy;return r.k=l,r.j=s,l}(t,n):A("ES5").J(t,n);return(n?n.A:w()).p.push(r),r}function M(e){return i(e)||r(22,e),function e(t){if(!o(t))return t;var n,r=t[W],i=s(t);if(r){if(!r.P&&(r.i<4||!A("ES5").K(r)))return r.t;r.I=!0,n=R(t,i),r.I=!1}else n=R(t,i);return a(n,(function(t,i){r&&c(r.t,t)===i||u(n,t,e(i))})),3===i?new Set(n):n}(e)}function R(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return m(e)}function L(){function e(e,t){var n=o[e];return n?n.enumerable=t:o[e]=n={configurable:!0,enumerable:t,get:function(){var t=this[W];return Z.get(t,e)},set:function(t){var n=this[W];Z.set(n,e,t)}},n}function t(e){for(var t=e.length-1;t>=0;t--){var i=e[t][W];if(!i.P)switch(i.i){case 5:r(i)&&j(i);break;case 4:n(i)&&j(i)}}}function n(e){for(var t=e.t,n=e.k,r=K(n),i=r.length-1;i>=0;i--){var o=r[i];if(o!==W){var a=t[o];if(void 0===a&&!l(t,o))return!0;var s=n[o],c=s&&s[W];if(c?c.t!==a:!d(s,a))return!0}}var u=!!t[W];return r.length!==K(t).length+(u?0:1)}function r(e){var t=e.k;if(t.length!==e.t.length)return!0;var n=Object.getOwnPropertyDescriptor(t,t.length-1);if(n&&!n.get)return!0;for(var r=0;r<t.length;r++)if(!t.hasOwnProperty(r))return!0;return!1}var o={};b("ES5",{J:function(t,n){var r=Array.isArray(t),i=function(t,n){if(t){for(var r=Array(n.length),i=0;i<n.length;i++)Object.defineProperty(r,""+i,e(i,!0));return r}var o=J(n);delete o[W];for(var a=K(o),s=0;s<a.length;s++){var l=a[s];o[l]=e(l,t||!!o[l].enumerable)}return Object.create(Object.getPrototypeOf(n),o)}(r,t),o={i:r?5:4,A:n?n.A:w(),P:!1,I:!1,R:{},l:n,t:t,k:i,o:null,g:!1,C:!1};return Object.defineProperty(i,W,{value:o,writable:!0}),i},S:function(e,n,o){o?i(n)&&n[W].A===e&&t(e.p):(e.u&&function e(t){if(t&&"object"==typeof t){var n=t[W];if(n){var i=n.t,o=n.k,s=n.R,c=n.i;if(4===c)a(o,(function(t){t!==W&&(void 0!==i[t]||l(i,t)?s[t]||e(o[t]):(s[t]=!0,j(n)))})),a(i,(function(e){void 0!==o[e]||l(o,e)||(s[e]=!1,j(n))}));else if(5===c){if(r(n)&&(j(n),s.length=!0),o.length<i.length)for(var u=o.length;u<i.length;u++)s[u]=!1;else for(var d=i.length;d<o.length;d++)s[d]=!0;for(var p=Math.min(o.length,i.length),h=0;h<p;h++)o.hasOwnProperty(h)||(s[h]=!0),void 0===s[h]&&e(o[h])}}}}(e.p[0]),t(e.p))},K:function(e){return 4===e.i?n(e):r(e)}})}n.d(t,{U1:()=>Pe,VP:()=>Ce,zD:()=>Re,Z0:()=>Te});var F,z,Q="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),U="undefined"!=typeof Map,V="undefined"!=typeof Set,G="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,q=Q?Symbol.for("immer-nothing"):((F={})["immer-nothing"]=!0,F),H=Q?Symbol.for("immer-draftable"):"__$immer_draftable",W=Q?Symbol.for("immer-state"):"__$immer_state",Y=("undefined"!=typeof Symbol&&Symbol.iterator,""+Object.prototype.constructor),K="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,J=Object.getOwnPropertyDescriptors||function(e){var t={};return K(e).forEach((function(n){t[n]=Object.getOwnPropertyDescriptor(e,n)})),t},X={},Z={get:function(e,t){if(t===W)return e;var n=f(e);if(!l(n,t))return function(e,t,n){var r,i=D(t,n);return i?"value"in i?i.value:null===(r=i.get)||void 0===r?void 0:r.call(e.k):void 0}(e,n,t);var r=n[t];return e.I||!o(r)?r:r===T(e.t,t)?(B(e),e.o[t]=N(e.A.h,r,e)):r},has:function(e,t){return t in f(e)},ownKeys:function(e){return Reflect.ownKeys(f(e))},set:function(e,t,n){var r=D(f(e),t);if(null==r?void 0:r.set)return r.set.call(e.k,n),!0;if(!e.P){var i=T(f(e),t),o=null==i?void 0:i[W];if(o&&o.t===n)return e.o[t]=n,e.R[t]=!1,!0;if(d(n,i)&&(void 0!==n||l(e.t,t)))return!0;B(e),j(e)}return e.o[t]===n&&(void 0!==n||t in e.o)||Number.isNaN(n)&&Number.isNaN(e.o[t])||(e.o[t]=n,e.R[t]=!0),!0},deleteProperty:function(e,t){return void 0!==T(e.t,t)||t in e.t?(e.R[t]=!1,B(e),j(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var n=f(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r?{writable:!0,configurable:1!==e.i||"length"!==t,enumerable:r.enumerable,value:n[t]}:r},defineProperty:function(){r(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){r(12)}},$={};a(Z,(function(e,t){$[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}})),$.deleteProperty=function(e,t){return $.set.call(this,e,t,void 0)},$.set=function(e,t,n){return Z.set.call(this,e[0],t,n,e[0])};var ee=function(){function e(e){var t=this;this.O=G,this.D=!0,this.produce=function(e,n,i){if("function"==typeof e&&"function"!=typeof n){var a=n;n=e;var s=t;return function(e){var t=this;void 0===e&&(e=a);for(var r=arguments.length,i=Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];return s.produce(e,(function(e){var r;return(r=n).call.apply(r,[t,e].concat(i))}))}}var l;if("function"!=typeof n&&r(6),void 0!==i&&"function"!=typeof i&&r(7),o(e)){var c=k(t),u=N(t,e,void 0),d=!0;try{l=n(u),d=!1}finally{d?C(c):S(c)}return"undefined"!=typeof Promise&&l instanceof Promise?l.then((function(e){return x(c,i),I(e,c)}),(function(e){throw C(c),e})):(x(c,i),I(l,c))}if(!e||"object"!=typeof e){if(void 0===(l=n(e))&&(l=e),l===q&&(l=void 0),t.D&&g(l,!0),i){var p=[],h=[];A("Patches").M(e,l,p,h),i(p,h)}return l}r(21,e)},this.produceWithPatches=function(e,n){if("function"==typeof e)return function(n){for(var r=arguments.length,i=Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];return t.produceWithPatches(n,(function(t){return e.apply(void 0,[t].concat(i))}))};var r,i,o=t.produce(e,n,(function(e,t){r=e,i=t}));return"undefined"!=typeof Promise&&o instanceof Promise?o.then((function(e){return[e,r,i]})):[o,r,i]},"boolean"==typeof(null==e?void 0:e.useProxies)&&this.setUseProxies(e.useProxies),"boolean"==typeof(null==e?void 0:e.autoFreeze)&&this.setAutoFreeze(e.autoFreeze)}var t=e.prototype;return t.createDraft=function(e){o(e)||r(8),i(e)&&(e=M(e));var t=k(this),n=N(this,e,void 0);return n[W].C=!0,S(t),n},t.finishDraft=function(e,t){var n=(e&&e[W]).A;return x(n,t),I(void 0,n)},t.setAutoFreeze=function(e){this.D=e},t.setUseProxies=function(e){e&&!G&&r(20),this.O=e},t.applyPatches=function(e,t){var n;for(n=t.length-1;n>=0;n--){var r=t[n];if(0===r.path.length&&"replace"===r.op){e=r.value;break}}n>-1&&(t=t.slice(n+1));var o=A("Patches").$;return i(e)?o(e,t):this.produce(e,(function(e){return o(e,t)}))},e}(),te=new ee,ne=te.produce;te.produceWithPatches.bind(te),te.setAutoFreeze.bind(te),te.setUseProxies.bind(te),te.applyPatches.bind(te),te.createDraft.bind(te),te.finishDraft.bind(te);const re=ne;var ie=n(58522);function oe(e){return function(t){var n=t.dispatch,r=t.getState;return function(t){return function(i){return"function"===typeof i?i(n,r,e):t(i)}}}}var ae=oe();ae.withExtraArgument=oe;const se=ae;var le=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),ce=function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}},ue=function(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e},de=Object.defineProperty,pe=Object.defineProperties,he=Object.getOwnPropertyDescriptors,fe=Object.getOwnPropertySymbols,me=Object.prototype.hasOwnProperty,ge=Object.prototype.propertyIsEnumerable,ve=function(e,t,n){return t in e?de(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n},ye=function(e,t){for(var n in t||(t={}))me.call(t,n)&&ve(e,n,t[n]);if(fe)for(var r=0,i=fe(t);r<i.length;r++){n=i[r];ge.call(t,n)&&ve(e,n,t[n])}return e},Ae=function(e,t){return pe(e,he(t))},be=function(e,t,n){return new Promise((function(r,i){var o=function(e){try{s(n.next(e))}catch(t){i(t)}},a=function(e){try{s(n.throw(e))}catch(t){i(t)}},s=function(e){return e.done?r(e.value):Promise.resolve(e.value).then(o,a)};s((n=n.apply(e,t)).next())}))},we="undefined"!==typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"===typeof arguments[0]?ie.Zz:ie.Zz.apply(null,arguments)};"undefined"!==typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__&&window.__REDUX_DEVTOOLS_EXTENSION__;function xe(e){if("object"!==typeof e||null===e)return!1;var t=Object.getPrototypeOf(e);if(null===t)return!0;for(var n=t;null!==Object.getPrototypeOf(n);)n=Object.getPrototypeOf(n);return t===n}function Ce(e,t){function n(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];if(t){var i=t.apply(void 0,n);if(!i)throw new Error("prepareAction did not return an object");return ye(ye({type:e,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:e,payload:n[0]}}return n.toString=function(){return""+e},n.type=e,n.match=function(t){return t.type===e},n}var Se=function(e){function t(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var i=e.apply(this,n)||this;return Object.setPrototypeOf(i,t.prototype),i}return le(t,e),Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.prototype.concat.apply(this,t)},t.prototype.prepend=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return 1===e.length&&Array.isArray(e[0])?new(t.bind.apply(t,ue([void 0],e[0].concat(this)))):new(t.bind.apply(t,ue([void 0],e.concat(this))))},t}(Array),ke=function(e){function t(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var i=e.apply(this,n)||this;return Object.setPrototypeOf(i,t.prototype),i}return le(t,e),Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.prototype.concat.apply(this,t)},t.prototype.prepend=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return 1===e.length&&Array.isArray(e[0])?new(t.bind.apply(t,ue([void 0],e[0].concat(this)))):new(t.bind.apply(t,ue([void 0],e.concat(this))))},t}(Array);function Ee(e){return o(e)?re(e,(function(){})):e}function Ie(){return function(e){return function(e){void 0===e&&(e={});var t=e.thunk,n=void 0===t||t,r=(e.immutableCheck,e.serializableCheck,e.actionCreatorCheck,new Se);n&&(!function(e){return"boolean"===typeof e}(n)?r.push(se.withExtraArgument(n.extraArgument)):r.push(se));0;return r}(e)}}var _e=!0;function Pe(e){var t,n=Ie(),r=e||{},i=r.reducer,o=void 0===i?void 0:i,a=r.middleware,s=void 0===a?n():a,l=r.devTools,c=void 0===l||l,u=r.preloadedState,d=void 0===u?void 0:u,p=r.enhancers,h=void 0===p?void 0:p;if("function"===typeof o)t=o;else{if(!xe(o))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');t=(0,ie.HY)(o)}var f=s;if("function"===typeof f&&(f=f(n),!_e&&!Array.isArray(f)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!_e&&f.some((function(e){return"function"!==typeof e})))throw new Error("each middleware provided to configureStore must be a function");var m=ie.Tw.apply(void 0,f),g=ie.Zz;c&&(g=we(ye({trace:!_e},"object"===typeof c&&c)));var v=new ke(m),y=v;Array.isArray(h)?y=ue([m],h):"function"===typeof h&&(y=h(v));var A=g.apply(void 0,y);return(0,ie.y$)(t,d,A)}function Oe(e){var t,n={},r=[],i={addCase:function(e,t){var r="string"===typeof e?e:e.type;if(!r)throw new Error("`builder.addCase` cannot be called with an empty action type");if(r in n)throw new Error("`builder.addCase` cannot be called with two reducers for the same action type");return n[r]=t,i},addMatcher:function(e,t){return r.push({matcher:e,reducer:t}),i},addDefaultCase:function(e){return t=e,i}};return e(i),[n,r,t]}function Te(e){var t=e.name;if(!t)throw new Error("`name` is a required option for createSlice");var n,r="function"==typeof e.initialState?e.initialState:Ee(e.initialState),a=e.reducers||{},s=Object.keys(a),l={},c={},u={};function d(){var t="function"===typeof e.extraReducers?Oe(e.extraReducers):[e.extraReducers],n=t[0],a=void 0===n?{}:n,s=t[1],l=void 0===s?[]:s,u=t[2],d=void 0===u?void 0:u,p=ye(ye({},a),c);return function(e,t,n,r){void 0===n&&(n=[]);var a,s="function"===typeof t?Oe(t):[t,n,r],l=s[0],c=s[1],u=s[2];if(function(e){return"function"===typeof e}(e))a=function(){return Ee(e())};else{var d=Ee(e);a=function(){return d}}function p(e,t){void 0===e&&(e=a());var n=ue([l[t.type]],c.filter((function(e){return(0,e.matcher)(t)})).map((function(e){return e.reducer})));return 0===n.filter((function(e){return!!e})).length&&(n=[u]),n.reduce((function(e,n){if(n){var r;if(i(e))return void 0===(r=n(e,t))?e:r;if(o(e))return re(e,(function(e){return n(e,t)}));if(void 0===(r=n(e,t))){if(null===e)return e;throw Error("A case reducer on a non-draftable value must not return undefined")}return r}return e}),e)}return p.getInitialState=a,p}(r,(function(e){for(var t in p)e.addCase(t,p[t]);for(var n=0,r=l;n<r.length;n++){var i=r[n];e.addMatcher(i.matcher,i.reducer)}d&&e.addDefaultCase(d)}))}return s.forEach((function(e){var n,r,i=a[e],o=t+"/"+e;"reducer"in i?(n=i.reducer,r=i.prepare):n=i,l[e]=n,c[o]=n,u[e]=r?Ce(o,r):Ce(o)})),{name:t,reducer:function(e,t){return n||(n=d()),n(e,t)},actions:u,caseReducers:l,getInitialState:function(){return n||(n=d()),n.getInitialState()}}}var De=function(e){void 0===e&&(e=21);for(var t="",n=e;n--;)t+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return t},je=["name","message","stack","code"],Be=function(e,t){this.payload=e,this.meta=t},Ne=function(e,t){this.payload=e,this.meta=t},Me=function(e){if("object"===typeof e&&null!==e){for(var t={},n=0,r=je;n<r.length;n++){var i=r[n];"string"===typeof e[i]&&(t[i]=e[i])}return t}return{message:String(e)}},Re=function(){function e(e,t,n){var r=Ce(e+"/fulfilled",(function(e,t,n,r){return{payload:e,meta:Ae(ye({},r||{}),{arg:n,requestId:t,requestStatus:"fulfilled"})}})),i=Ce(e+"/pending",(function(e,t,n){return{payload:void 0,meta:Ae(ye({},n||{}),{arg:t,requestId:e,requestStatus:"pending"})}})),o=Ce(e+"/rejected",(function(e,t,r,i,o){return{payload:i,error:(n&&n.serializeError||Me)(e||"Rejected"),meta:Ae(ye({},o||{}),{arg:r,requestId:t,rejectedWithValue:!!i,requestStatus:"rejected",aborted:"AbortError"===(null==e?void 0:e.name),condition:"ConditionError"===(null==e?void 0:e.name)})}})),a="undefined"!==typeof AbortController?AbortController:function(){function e(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return e.prototype.abort=function(){0},e}();return Object.assign((function(e){return function(s,l,c){var u,d=(null==n?void 0:n.idGenerator)?n.idGenerator(e):De(),p=new a;function h(e){u=e,p.abort()}var f=function(){return be(this,null,(function(){var a,f,m,g,v,y;return ce(this,(function(A){switch(A.label){case 0:return A.trys.push([0,4,,5]),function(e){return null!==e&&"object"===typeof e&&"function"===typeof e.then}(g=null==(a=null==n?void 0:n.condition)?void 0:a.call(n,e,{getState:l,extra:c}))?[4,g]:[3,2];case 1:g=A.sent(),A.label=2;case 2:if(!1===g||p.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return v=new Promise((function(e,t){return p.signal.addEventListener("abort",(function(){return t({name:"AbortError",message:u||"Aborted"})}))})),s(i(d,e,null==(f=null==n?void 0:n.getPendingMeta)?void 0:f.call(n,{requestId:d,arg:e},{getState:l,extra:c}))),[4,Promise.race([v,Promise.resolve(t(e,{dispatch:s,getState:l,extra:c,requestId:d,signal:p.signal,abort:h,rejectWithValue:function(e,t){return new Be(e,t)},fulfillWithValue:function(e,t){return new Ne(e,t)}})).then((function(t){if(t instanceof Be)throw t;return t instanceof Ne?r(t.payload,d,e,t.meta):r(t,d,e)}))])];case 3:return m=A.sent(),[3,5];case 4:return y=A.sent(),m=y instanceof Be?o(null,d,e,y.payload,y.meta):o(y,d,e),[3,5];case 5:return n&&!n.dispatchConditionRejection&&o.match(m)&&m.meta.condition||s(m),[2,m]}}))}))}();return Object.assign(f,{abort:h,requestId:d,arg:e,unwrap:function(){return f.then(Le)}})}}),{pending:i,rejected:o,fulfilled:r,typePrefix:e})}return e.withTypes=function(){return e},e}();function Le(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}Object.assign;var Fe="listenerMiddleware";Ce(Fe+"/add"),Ce(Fe+"/removeAll"),Ce(Fe+"/remove");"function"===typeof queueMicrotask&&queueMicrotask.bind("undefined"!==typeof window?window:"undefined"!==typeof n.g?n.g:globalThis);var ze,Qe=function(e){return function(t){setTimeout(t,e)}};"undefined"!==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame:Qe(10);L()},1018:(e,t,n)=>{"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}var i;n.d(t,{AO:()=>d,B6:()=>_,Gh:()=>B,HS:()=>N,Oi:()=>s,Rr:()=>p,pX:()=>z,pb:()=>O,rc:()=>i,tH:()=>F,ue:()=>m,yD:()=>j,zR:()=>a}),function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"}(i||(i={}));const o="popstate";function a(e){return void 0===e&&(e={}),h((function(e,t){let{pathname:n,search:r,hash:i}=e.location;return u("",{pathname:n,search:r,hash:i},t.state&&t.state.usr||null,t.state&&t.state.key||"default")}),(function(e,t){return"string"===typeof t?t:d(t)}),null,e)}function s(e,t){if(!1===e||null===e||"undefined"===typeof e)throw new Error(t)}function l(e,t){if(!e){"undefined"!==typeof console&&console.warn(t);try{throw new Error(t)}catch(n){}}}function c(e,t){return{usr:e.state,key:e.key,idx:t}}function u(e,t,n,i){return void 0===n&&(n=null),r({pathname:"string"===typeof e?e:e.pathname,search:"",hash:""},"string"===typeof t?p(t):t,{state:n,key:t&&t.key||i||Math.random().toString(36).substr(2,8)})}function d(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&"?"!==n&&(t+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(t+="#"===r.charAt(0)?r:"#"+r),t}function p(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function h(e,t,n,a){void 0===a&&(a={});let{window:l=document.defaultView,v5Compat:p=!1}=a,h=l.history,f=i.Pop,m=null,g=v();function v(){return(h.state||{idx:null}).idx}function y(){f=i.Pop;let e=v(),t=null==e?null:e-g;g=e,m&&m({action:f,location:b.location,delta:t})}function A(e){let t="null"!==l.location.origin?l.location.origin:l.location.href,n="string"===typeof e?e:d(e);return n=n.replace(/ $/,"%20"),s(t,"No window.location.(origin|href) available to create URL for href: "+n),new URL(n,t)}null==g&&(g=0,h.replaceState(r({},h.state,{idx:g}),""));let b={get action(){return f},get location(){return e(l,h)},listen(e){if(m)throw new Error("A history only accepts one active listener");return l.addEventListener(o,y),m=e,()=>{l.removeEventListener(o,y),m=null}},createHref:e=>t(l,e),createURL:A,encodeLocation(e){let t=A(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,t){f=i.Push;let r=u(b.location,e,t);n&&n(r,e),g=v()+1;let o=c(r,g),a=b.createHref(r);try{h.pushState(o,"",a)}catch(s){if(s instanceof DOMException&&"DataCloneError"===s.name)throw s;l.location.assign(a)}p&&m&&m({action:f,location:b.location,delta:1})},replace:function(e,t){f=i.Replace;let r=u(b.location,e,t);n&&n(r,e),g=v();let o=c(r,g),a=b.createHref(r);h.replaceState(o,"",a),p&&m&&m({action:f,location:b.location,delta:0})},go:e=>h.go(e)};return b}var f;!function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(f||(f={}));new Set(["lazy","caseSensitive","path","id","index","children"]);function m(e,t,n){return void 0===n&&(n="/"),g(e,t,n,!1)}function g(e,t,n,r){let i=O(("string"===typeof t?p(t):t).pathname||"/",n);if(null==i)return null;let o=v(e);!function(e){e.sort(((e,t)=>e.score!==t.score?t.score-e.score:function(e,t){let n=e.length===t.length&&e.slice(0,-1).every(((e,n)=>e===t[n]));return n?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map((e=>e.childrenIndex)),t.routesMeta.map((e=>e.childrenIndex)))))}(o);let a=null;for(let s=0;null==a&&s<o.length;++s){let e=P(i);a=I(o[s],e,r)}return a}function v(e,t,n,r){void 0===t&&(t=[]),void 0===n&&(n=[]),void 0===r&&(r="");let i=(e,i,o)=>{let a={relativePath:void 0===o?e.path||"":o,caseSensitive:!0===e.caseSensitive,childrenIndex:i,route:e};a.relativePath.startsWith("/")&&(s(a.relativePath.startsWith(r),'Absolute route path "'+a.relativePath+'" nested under path "'+r+'" is not valid. An absolute child route path must start with the combined path of all its parent routes.'),a.relativePath=a.relativePath.slice(r.length));let l=N([r,a.relativePath]),c=n.concat(a);e.children&&e.children.length>0&&(s(!0!==e.index,'Index routes must not have child routes. Please remove all child routes from route path "'+l+'".'),v(e.children,t,c,l)),(null!=e.path||e.index)&&t.push({path:l,score:E(l,e.index),routesMeta:c})};return e.forEach(((e,t)=>{var n;if(""!==e.path&&null!=(n=e.path)&&n.includes("?"))for(let r of y(e.path))i(e,t,r);else i(e,t)})),t}function y(e){let t=e.split("/");if(0===t.length)return[];let[n,...r]=t,i=n.endsWith("?"),o=n.replace(/\?$/,"");if(0===r.length)return i?[o,""]:[o];let a=y(r.join("/")),s=[];return s.push(...a.map((e=>""===e?o:[o,e].join("/")))),i&&s.push(...a),s.map((t=>e.startsWith("/")&&""===t?"/":t))}const A=/^:[\w-]+$/,b=3,w=2,x=1,C=10,S=-2,k=e=>"*"===e;function E(e,t){let n=e.split("/"),r=n.length;return n.some(k)&&(r+=S),t&&(r+=w),n.filter((e=>!k(e))).reduce(((e,t)=>e+(A.test(t)?b:""===t?x:C)),r)}function I(e,t,n){void 0===n&&(n=!1);let{routesMeta:r}=e,i={},o="/",a=[];for(let s=0;s<r.length;++s){let e=r[s],l=s===r.length-1,c="/"===o?t:t.slice(o.length)||"/",u=_({path:e.relativePath,caseSensitive:e.caseSensitive,end:l},c),d=e.route;if(!u&&l&&n&&!r[r.length-1].route.index&&(u=_({path:e.relativePath,caseSensitive:e.caseSensitive,end:!1},c)),!u)return null;Object.assign(i,u.params),a.push({params:i,pathname:N([o,u.pathname]),pathnameBase:M(N([o,u.pathnameBase])),route:d}),"/"!==u.pathnameBase&&(o=N([o,u.pathnameBase]))}return a}function _(e,t){"string"===typeof e&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=function(e,t,n){void 0===t&&(t=!1);void 0===n&&(n=!0);l("*"===e||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were "'+e.replace(/\*$/,"/*")+'" because the `*` character must always follow a `/` in the pattern. To get rid of this warning, please change the route path to "'+e.replace(/\*$/,"/*")+'".');let r=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,((e,t,n)=>(r.push({paramName:t,isOptional:null!=n}),n?"/?([^\\/]+)?":"/([^\\/]+)")));e.endsWith("*")?(r.push({paramName:"*"}),i+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":""!==e&&"/"!==e&&(i+="(?:(?=\\/|$))");let o=new RegExp(i,t?void 0:"i");return[o,r]}(e.path,e.caseSensitive,e.end),i=t.match(n);if(!i)return null;let o=i[0],a=o.replace(/(.)\/+$/,"$1"),s=i.slice(1);return{params:r.reduce(((e,t,n)=>{let{paramName:r,isOptional:i}=t;if("*"===r){let e=s[n]||"";a=o.slice(0,o.length-e.length).replace(/(.)\/+$/,"$1")}const l=s[n];return e[r]=i&&!l?void 0:(l||"").replace(/%2F/g,"/"),e}),{}),pathname:o,pathnameBase:a,pattern:e}}function P(e){try{return e.split("/").map((e=>decodeURIComponent(e).replace(/\//g,"%2F"))).join("/")}catch(t){return l(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent encoding ('+t+")."),e}}function O(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&"/"!==r?null:e.slice(n)||"/"}function T(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified `to."+t+"` field ["+JSON.stringify(r)+"].  Please separate it out to the `to."+n+'` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.'}function D(e){return e.filter(((e,t)=>0===t||e.route.path&&e.route.path.length>0))}function j(e,t){let n=D(e);return t?n.map(((e,t)=>t===n.length-1?e.pathname:e.pathnameBase)):n.map((e=>e.pathnameBase))}function B(e,t,n,i){let o;void 0===i&&(i=!1),"string"===typeof e?o=p(e):(o=r({},e),s(!o.pathname||!o.pathname.includes("?"),T("?","pathname","search",o)),s(!o.pathname||!o.pathname.includes("#"),T("#","pathname","hash",o)),s(!o.search||!o.search.includes("#"),T("#","search","hash",o)));let a,l=""===e||""===o.pathname,c=l?"/":o.pathname;if(null==c)a=n;else{let e=t.length-1;if(!i&&c.startsWith("..")){let t=c.split("/");for(;".."===t[0];)t.shift(),e-=1;o.pathname=t.join("/")}a=e>=0?t[e]:"/"}let u=function(e,t){void 0===t&&(t="/");let{pathname:n,search:r="",hash:i=""}="string"===typeof e?p(e):e,o=n?n.startsWith("/")?n:function(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach((e=>{".."===e?n.length>1&&n.pop():"."!==e&&n.push(e)})),n.length>1?n.join("/"):"/"}(n,t):t;return{pathname:o,search:R(r),hash:L(i)}}(o,a),d=c&&"/"!==c&&c.endsWith("/"),h=(l||"."===c)&&n.endsWith("/");return u.pathname.endsWith("/")||!d&&!h||(u.pathname+="/"),u}const N=e=>e.join("/").replace(/\/\/+/g,"/"),M=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),R=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",L=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"";class F extends Error{}function z(e){return null!=e&&"number"===typeof e.status&&"string"===typeof e.statusText&&"boolean"===typeof e.internal&&"data"in e}const Q=["post","put","patch","delete"],U=(new Set(Q),["get",...Q]);new Set(U),new Set([301,302,303,307,308]),new Set([307,308]);Symbol("deferred")},99738:e=>{e.exports=function(e){var t=0,n=0,r=0,i=0;return e.map((function(e){var o=(e=e.slice())[0],a=o.toUpperCase();if(o!=a)switch(e[0]=a,o){case"a":e[6]+=r,e[7]+=i;break;case"v":e[1]+=i;break;case"h":e[1]+=r;break;default:for(var s=1;s<e.length;)e[s++]+=r,e[s++]+=i}switch(a){case"Z":r=t,i=n;break;case"H":r=e[1];break;case"V":i=e[1];break;case"M":r=t=e[1],i=n=e[2];break;default:r=e[e.length-2],i=e[e.length-1]}return e}))}},96011:(e,t,n)=>{e.exports=n(66429)},98394:(e,t,n)=>{"use strict";var r=n(14950),i=n(33244),o=n(18090),a=n(5704),s=n(8801),l=n(35850),c=n(55216),u=n(59645);e.exports=function(e){return new Promise((function(t,n){var d=e.data,p=e.headers,h=e.responseType;r.isFormData(d)&&delete p["Content-Type"];var f=new XMLHttpRequest;if(e.auth){var m=e.auth.username||"",g=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";p.Authorization="Basic "+btoa(m+":"+g)}var v=s(e.baseURL,e.url);function y(){if(f){var r="getAllResponseHeaders"in f?l(f.getAllResponseHeaders()):null,o={data:h&&"text"!==h&&"json"!==h?f.response:f.responseText,status:f.status,statusText:f.statusText,headers:r,config:e,request:f};i(t,n,o),f=null}}if(f.open(e.method.toUpperCase(),a(v,e.params,e.paramsSerializer),!0),f.timeout=e.timeout,"onloadend"in f?f.onloadend=y:f.onreadystatechange=function(){f&&4===f.readyState&&(0!==f.status||f.responseURL&&0===f.responseURL.indexOf("file:"))&&setTimeout(y)},f.onabort=function(){f&&(n(u("Request aborted",e,"ECONNABORTED",f)),f=null)},f.onerror=function(){n(u("Network Error",e,null,f)),f=null},f.ontimeout=function(){var t="timeout of "+e.timeout+"ms exceeded";e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(u(t,e,e.transitional&&e.transitional.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",f)),f=null},r.isStandardBrowserEnv()){var A=(e.withCredentials||c(v))&&e.xsrfCookieName?o.read(e.xsrfCookieName):void 0;A&&(p[e.xsrfHeaderName]=A)}"setRequestHeader"in f&&r.forEach(p,(function(e,t){"undefined"===typeof d&&"content-type"===t.toLowerCase()?delete p[t]:f.setRequestHeader(t,e)})),r.isUndefined(e.withCredentials)||(f.withCredentials=!!e.withCredentials),h&&"json"!==h&&(f.responseType=e.responseType),"function"===typeof e.onDownloadProgress&&f.addEventListener("progress",e.onDownloadProgress),"function"===typeof e.onUploadProgress&&f.upload&&f.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then((function(e){f&&(f.abort(),n(e),f=null)})),d||(d=null),f.send(d)}))}},66429:(e,t,n)=>{"use strict";var r=n(14950),i=n(62498),o=n(83213),a=n(57549);function s(e){var t=new o(e),n=i(o.prototype.request,t);return r.extend(n,o.prototype,t),r.extend(n,t),n}var l=s(n(62869));l.Axios=o,l.create=function(e){return s(a(l.defaults,e))},l.Cancel=n(82938),l.CancelToken=n(3209),l.isCancel=n(14638),l.all=function(e){return Promise.all(e)},l.spread=n(20650),l.isAxiosError=n(75509),e.exports=l,e.exports.default=l},82938:e=>{"use strict";function t(e){this.message=e}t.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},t.prototype.__CANCEL__=!0,e.exports=t},3209:(e,t,n)=>{"use strict";var r=n(82938);function i(e){if("function"!==typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var n=this;e((function(e){n.reason||(n.reason=new r(e),t(n.reason))}))}i.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},i.source=function(){var e;return{token:new i((function(t){e=t})),cancel:e}},e.exports=i},14638:e=>{"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},83213:(e,t,n)=>{"use strict";var r=n(14950),i=n(5704),o=n(17805),a=n(14012),s=n(57549),l=n(3807),c=l.validators;function u(e){this.defaults=e,this.interceptors={request:new o,response:new o}}u.prototype.request=function(e){"string"===typeof e?(e=arguments[1]||{}).url=arguments[0]:e=e||{},(e=s(this.defaults,e)).method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var t=e.transitional;void 0!==t&&l.assertOptions(t,{silentJSONParsing:c.transitional(c.boolean,"1.0.0"),forcedJSONParsing:c.transitional(c.boolean,"1.0.0"),clarifyTimeoutError:c.transitional(c.boolean,"1.0.0")},!1);var n=[],r=!0;this.interceptors.request.forEach((function(t){"function"===typeof t.runWhen&&!1===t.runWhen(e)||(r=r&&t.synchronous,n.unshift(t.fulfilled,t.rejected))}));var i,o=[];if(this.interceptors.response.forEach((function(e){o.push(e.fulfilled,e.rejected)})),!r){var u=[a,void 0];for(Array.prototype.unshift.apply(u,n),u=u.concat(o),i=Promise.resolve(e);u.length;)i=i.then(u.shift(),u.shift());return i}for(var d=e;n.length;){var p=n.shift(),h=n.shift();try{d=p(d)}catch(f){h(f);break}}try{i=a(d)}catch(f){return Promise.reject(f)}for(;o.length;)i=i.then(o.shift(),o.shift());return i},u.prototype.getUri=function(e){return e=s(this.defaults,e),i(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(e){u.prototype[e]=function(t,n){return this.request(s(n||{},{method:e,url:t,data:(n||{}).data}))}})),r.forEach(["post","put","patch"],(function(e){u.prototype[e]=function(t,n,r){return this.request(s(r||{},{method:e,url:t,data:n}))}})),e.exports=u},17805:(e,t,n)=>{"use strict";var r=n(14950);function i(){this.handlers=[]}i.prototype.use=function(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},i.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},i.prototype.forEach=function(e){r.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=i},8801:(e,t,n)=>{"use strict";var r=n(31831),i=n(18066);e.exports=function(e,t){return e&&!r(t)?i(e,t):t}},59645:(e,t,n)=>{"use strict";var r=n(19531);e.exports=function(e,t,n,i,o){var a=new Error(e);return r(a,t,n,i,o)}},14012:(e,t,n)=>{"use strict";var r=n(14950),i=n(82115),o=n(14638),a=n(62869);function s(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(e){return s(e),e.headers=e.headers||{},e.data=i.call(e,e.data,e.headers,e.transformRequest),e.headers=r.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||a.adapter)(e).then((function(t){return s(e),t.data=i.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return o(t)||(s(e),t&&t.response&&(t.response.data=i.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},19531:e=>{"use strict";e.exports=function(e,t,n,r,i){return e.config=t,n&&(e.code=n),e.request=r,e.response=i,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},e}},57549:(e,t,n)=>{"use strict";var r=n(14950);e.exports=function(e,t){t=t||{};var n={},i=["url","method","data"],o=["headers","auth","proxy","params"],a=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],s=["validateStatus"];function l(e,t){return r.isPlainObject(e)&&r.isPlainObject(t)?r.merge(e,t):r.isPlainObject(t)?r.merge({},t):r.isArray(t)?t.slice():t}function c(i){r.isUndefined(t[i])?r.isUndefined(e[i])||(n[i]=l(void 0,e[i])):n[i]=l(e[i],t[i])}r.forEach(i,(function(e){r.isUndefined(t[e])||(n[e]=l(void 0,t[e]))})),r.forEach(o,c),r.forEach(a,(function(i){r.isUndefined(t[i])?r.isUndefined(e[i])||(n[i]=l(void 0,e[i])):n[i]=l(void 0,t[i])})),r.forEach(s,(function(r){r in t?n[r]=l(e[r],t[r]):r in e&&(n[r]=l(void 0,e[r]))}));var u=i.concat(o).concat(a).concat(s),d=Object.keys(e).concat(Object.keys(t)).filter((function(e){return-1===u.indexOf(e)}));return r.forEach(d,c),n}},33244:(e,t,n)=>{"use strict";var r=n(59645);e.exports=function(e,t,n){var i=n.config.validateStatus;n.status&&i&&!i(n.status)?t(r("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},82115:(e,t,n)=>{"use strict";var r=n(14950),i=n(62869);e.exports=function(e,t,n){var o=this||i;return r.forEach(n,(function(n){e=n.call(o,e,t)})),e}},62869:(e,t,n)=>{"use strict";var r=n(14950),i=n(5180),o=n(19531),a={"Content-Type":"application/x-www-form-urlencoded"};function s(e,t){!r.isUndefined(e)&&r.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var l={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:function(){var e;return("undefined"!==typeof XMLHttpRequest||"undefined"!==typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(e=n(98394)),e}(),transformRequest:[function(e,t){return i(t,"Accept"),i(t,"Content-Type"),r.isFormData(e)||r.isArrayBuffer(e)||r.isBuffer(e)||r.isStream(e)||r.isFile(e)||r.isBlob(e)?e:r.isArrayBufferView(e)?e.buffer:r.isURLSearchParams(e)?(s(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):r.isObject(e)||t&&"application/json"===t["Content-Type"]?(s(t,"application/json"),function(e,t,n){if(r.isString(e))try{return(t||JSON.parse)(e),r.trim(e)}catch(i){if("SyntaxError"!==i.name)throw i}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional,n=t&&t.silentJSONParsing,i=t&&t.forcedJSONParsing,a=!n&&"json"===this.responseType;if(a||i&&r.isString(e)&&e.length)try{return JSON.parse(e)}catch(s){if(a){if("SyntaxError"===s.name)throw o(s,this,"E_JSON_PARSE");throw s}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],(function(e){l.headers[e]={}})),r.forEach(["post","put","patch"],(function(e){l.headers[e]=r.merge(a)})),e.exports=l},62498:e=>{"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return e.apply(t,n)}}},5704:(e,t,n)=>{"use strict";var r=n(14950);function i(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var o;if(n)o=n(t);else if(r.isURLSearchParams(t))o=t.toString();else{var a=[];r.forEach(t,(function(e,t){null!==e&&"undefined"!==typeof e&&(r.isArray(e)?t+="[]":e=[e],r.forEach(e,(function(e){r.isDate(e)?e=e.toISOString():r.isObject(e)&&(e=JSON.stringify(e)),a.push(i(t)+"="+i(e))})))})),o=a.join("&")}if(o){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}},18066:e=>{"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},18090:(e,t,n)=>{"use strict";var r=n(14950);e.exports=r.isStandardBrowserEnv()?{write:function(e,t,n,i,o,a){var s=[];s.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(i)&&s.push("path="+i),r.isString(o)&&s.push("domain="+o),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},31831:e=>{"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},75509:e=>{"use strict";e.exports=function(e){return"object"===typeof e&&!0===e.isAxiosError}},55216:(e,t,n)=>{"use strict";var r=n(14950);e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function i(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=i(window.location.href),function(t){var n=r.isString(t)?i(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}},5180:(e,t,n)=>{"use strict";var r=n(14950);e.exports=function(e,t){r.forEach(e,(function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])}))}},35850:(e,t,n)=>{"use strict";var r=n(14950),i=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,n,o,a={};return e?(r.forEach(e.split("\n"),(function(e){if(o=e.indexOf(":"),t=r.trim(e.substr(0,o)).toLowerCase(),n=r.trim(e.substr(o+1)),t){if(a[t]&&i.indexOf(t)>=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([n]):a[t]?a[t]+", "+n:n}})),a):a}},20650:e=>{"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},3807:(e,t,n)=>{"use strict";var r=n(64198),i={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){i[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));var o={},a=r.version.split(".");function s(e,t){for(var n=t?t.split("."):a,r=e.split("."),i=0;i<3;i++){if(n[i]>r[i])return!0;if(n[i]<r[i])return!1}return!1}i.transitional=function(e,t,n){var i=t&&s(t);function a(e,t){return"[Axios v"+r.version+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return function(n,r,s){if(!1===e)throw new Error(a(r," has been removed in "+t));return i&&!o[r]&&(o[r]=!0,console.warn(a(r," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,r,s)}},e.exports={isOlderVersion:s,assertOptions:function(e,t,n){if("object"!==typeof e)throw new TypeError("options must be an object");for(var r=Object.keys(e),i=r.length;i-- >0;){var o=r[i],a=t[o];if(a){var s=e[o],l=void 0===s||a(s,o,e);if(!0!==l)throw new TypeError("option "+o+" must be "+l)}else if(!0!==n)throw Error("Unknown option "+o)}},validators:i}},14950:(e,t,n)=>{"use strict";var r=n(62498),i=Object.prototype.toString;function o(e){return"[object Array]"===i.call(e)}function a(e){return"undefined"===typeof e}function s(e){return null!==e&&"object"===typeof e}function l(e){if("[object Object]"!==i.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function c(e){return"[object Function]"===i.call(e)}function u(e,t){if(null!==e&&"undefined"!==typeof e)if("object"!==typeof e&&(e=[e]),o(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.call(null,e[i],i,e)}e.exports={isArray:o,isArrayBuffer:function(e){return"[object ArrayBuffer]"===i.call(e)},isBuffer:function(e){return null!==e&&!a(e)&&null!==e.constructor&&!a(e.constructor)&&"function"===typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){return"undefined"!==typeof FormData&&e instanceof FormData},isArrayBufferView:function(e){return"undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer},isString:function(e){return"string"===typeof e},isNumber:function(e){return"number"===typeof e},isObject:s,isPlainObject:l,isUndefined:a,isDate:function(e){return"[object Date]"===i.call(e)},isFile:function(e){return"[object File]"===i.call(e)},isBlob:function(e){return"[object Blob]"===i.call(e)},isFunction:c,isStream:function(e){return s(e)&&c(e.pipe)},isURLSearchParams:function(e){return"undefined"!==typeof URLSearchParams&&e instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"===typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!==typeof window&&"undefined"!==typeof document)},forEach:u,merge:function e(){var t={};function n(n,r){l(t[r])&&l(n)?t[r]=e(t[r],n):l(n)?t[r]=e({},n):o(n)?t[r]=n.slice():t[r]=n}for(var r=0,i=arguments.length;r<i;r++)u(arguments[r],n);return t},extend:function(e,t,n){return u(t,(function(t,i){e[i]=n&&"function"===typeof t?r(t,n):t})),e},trim:function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e}}},46676:(e,t)=>{"use strict";t.byteLength=function(e){var t=s(e),n=t[0],r=t[1];return 3*(n+r)/4-r},t.toByteArray=function(e){var t,n,o=s(e),a=o[0],l=o[1],c=new i(function(e,t,n){return 3*(t+n)/4-n}(0,a,l)),u=0,d=l>0?a-4:a;for(n=0;n<d;n+=4)t=r[e.charCodeAt(n)]<<18|r[e.charCodeAt(n+1)]<<12|r[e.charCodeAt(n+2)]<<6|r[e.charCodeAt(n+3)],c[u++]=t>>16&255,c[u++]=t>>8&255,c[u++]=255&t;2===l&&(t=r[e.charCodeAt(n)]<<2|r[e.charCodeAt(n+1)]>>4,c[u++]=255&t);1===l&&(t=r[e.charCodeAt(n)]<<10|r[e.charCodeAt(n+1)]<<4|r[e.charCodeAt(n+2)]>>2,c[u++]=t>>8&255,c[u++]=255&t);return c},t.fromByteArray=function(e){for(var t,r=e.length,i=r%3,o=[],a=16383,s=0,c=r-i;s<c;s+=a)o.push(l(e,s,s+a>c?c:s+a));1===i?(t=e[r-1],o.push(n[t>>2]+n[t<<4&63]+"==")):2===i&&(t=(e[r-2]<<8)+e[r-1],o.push(n[t>>10]+n[t>>4&63]+n[t<<2&63]+"="));return o.join("")};for(var n=[],r=[],i="undefined"!==typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0;a<64;++a)n[a]=o[a],r[o.charCodeAt(a)]=a;function s(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function l(e,t,r){for(var i,o,a=[],s=t;s<r;s+=3)i=(e[s]<<16&16711680)+(e[s+1]<<8&65280)+(255&e[s+2]),a.push(n[(o=i)>>18&63]+n[o>>12&63]+n[o>>6&63]+n[63&o]);return a.join("")}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},28646:(e,t,n)=>{"use strict";n.d(t,{fY:()=>g,mh:()=>f,qY:()=>m});var r=!1;if("undefined"!==typeof window){var i={get passive(){r=!0}};window.addEventListener("testPassive",null,i),window.removeEventListener("testPassive",null,i)}var o="undefined"!==typeof window&&window.navigator&&window.navigator.platform&&(/iP(ad|hone|od)/.test(window.navigator.platform)||"MacIntel"===window.navigator.platform&&window.navigator.maxTouchPoints>1),a=[],s=!1,l=-1,c=void 0,u=void 0,d=function(e){return a.some((function(t){return!(!t.options.allowTouchMove||!t.options.allowTouchMove(e))}))},p=function(e){var t=e||window.event;return!!d(t.target)||(t.touches.length>1||(t.preventDefault&&t.preventDefault(),!1))},h=function(){void 0!==u&&(document.body.style.paddingRight=u,u=void 0),void 0!==c&&(document.body.style.overflow=c,c=void 0)},f=function(e,t){if(e){if(!a.some((function(t){return t.targetElement===e}))){var n={targetElement:e,options:t||{}};a=[].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(a),[n]),o?(e.ontouchstart=function(e){1===e.targetTouches.length&&(l=e.targetTouches[0].clientY)},e.ontouchmove=function(t){1===t.targetTouches.length&&function(e,t){var n=e.targetTouches[0].clientY-l;!d(e.target)&&(t&&0===t.scrollTop&&n>0||function(e){return!!e&&e.scrollHeight-e.scrollTop<=e.clientHeight}(t)&&n<0?p(e):e.stopPropagation())}(t,e)},s||(document.addEventListener("touchmove",p,r?{passive:!1}:void 0),s=!0)):function(e){if(void 0===u){var t=!!e&&!0===e.reserveScrollBarGap,n=window.innerWidth-document.documentElement.clientWidth;t&&n>0&&(u=document.body.style.paddingRight,document.body.style.paddingRight=n+"px")}void 0===c&&(c=document.body.style.overflow,document.body.style.overflow="hidden")}(t)}}else console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.")},m=function(){o?(a.forEach((function(e){e.targetElement.ontouchstart=null,e.targetElement.ontouchmove=null})),s&&(document.removeEventListener("touchmove",p,r?{passive:!1}:void 0),s=!1),l=-1):h(),a=[]},g=function(e){e?(a=a.filter((function(t){return t.targetElement!==e})),o?(e.ontouchstart=null,e.ontouchmove=null,s&&0===a.length&&(document.removeEventListener("touchmove",p,r?{passive:!1}:void 0),s=!1)):a.length||h()):console.error("enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS devices.")}},84429:e=>{var t=4096,n=new Uint32Array([0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215]);function r(e){this.buf_=new Uint8Array(8224),this.input_=e,this.reset()}r.READ_SIZE=t,r.IBUF_MASK=8191,r.prototype.reset=function(){this.buf_ptr_=0,this.val_=0,this.pos_=0,this.bit_pos_=0,this.bit_end_pos_=0,this.eos_=0,this.readMoreInput();for(var e=0;e<4;e++)this.val_|=this.buf_[this.pos_]<<8*e,++this.pos_;return this.bit_end_pos_>0},r.prototype.readMoreInput=function(){if(!(this.bit_end_pos_>256))if(this.eos_){if(this.bit_pos_>this.bit_end_pos_)throw new Error("Unexpected end of input "+this.bit_pos_+" "+this.bit_end_pos_)}else{var e=this.buf_ptr_,n=this.input_.read(this.buf_,e,t);if(n<0)throw new Error("Unexpected end of input");if(n<t){this.eos_=1;for(var r=0;r<32;r++)this.buf_[e+n+r]=0}if(0===e){for(r=0;r<32;r++)this.buf_[8192+r]=this.buf_[r];this.buf_ptr_=t}else this.buf_ptr_=0;this.bit_end_pos_+=n<<3}},r.prototype.fillBitWindow=function(){for(;this.bit_pos_>=8;)this.val_>>>=8,this.val_|=this.buf_[8191&this.pos_]<<24,++this.pos_,this.bit_pos_=this.bit_pos_-8>>>0,this.bit_end_pos_=this.bit_end_pos_-8>>>0},r.prototype.readBits=function(e){32-this.bit_pos_<e&&this.fillBitWindow();var t=this.val_>>>this.bit_pos_&n[e];return this.bit_pos_+=e,t},e.exports=r},54423:(e,t)=>{t.lookup=new Uint8Array([0,0,0,0,0,0,0,0,0,4,4,0,0,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8,12,16,12,12,20,12,16,24,28,12,12,32,12,36,12,44,44,44,44,44,44,44,44,44,44,32,32,24,40,28,12,12,48,52,52,52,48,52,52,52,48,52,52,52,52,52,48,52,52,52,52,52,48,52,52,52,52,52,24,12,28,12,12,12,56,60,60,60,56,60,60,60,56,60,60,60,60,60,56,60,60,60,60,60,56,60,60,60,60,60,24,12,28,12,0,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,0,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,40,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,56,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,6,6,6,6,7,7,7,7,8,8,8,8,9,9,9,9,10,10,10,10,11,11,11,11,12,12,12,12,13,13,13,13,14,14,14,14,15,15,15,15,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,22,22,22,22,23,23,23,23,24,24,24,24,25,25,25,25,26,26,26,26,27,27,27,27,28,28,28,28,29,29,29,29,30,30,30,30,31,31,31,31,32,32,32,32,33,33,33,33,34,34,34,34,35,35,35,35,36,36,36,36,37,37,37,37,38,38,38,38,39,39,39,39,40,40,40,40,41,41,41,41,42,42,42,42,43,43,43,43,44,44,44,44,45,45,45,45,46,46,46,46,47,47,47,47,48,48,48,48,49,49,49,49,50,50,50,50,51,51,51,51,52,52,52,52,53,53,53,53,54,54,54,54,55,55,55,55,56,56,56,56,57,57,57,57,58,58,58,58,59,59,59,59,60,60,60,60,61,61,61,61,62,62,62,62,63,63,63,63,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),t.lookupOffsets=new Uint16Array([1024,1536,1280,1536,0,256,768,512])},7760:(e,t,n)=>{var r=n(47161).z,i=n(47161).y,o=n(84429),a=n(82010),s=n(1789).z,l=n(1789).u,c=n(54423),u=n(71318),d=n(72036),p=1080,h=new Uint8Array([1,2,3,4,0,5,17,6,16,7,8,9,10,11,12,13,14,15]),f=new Uint8Array([3,2,1,0,3,3,3,3,3,3,2,2,2,2,2,2]),m=new Int8Array([0,0,0,0,-1,1,-2,2,-3,3,-1,1,-2,2,-3,3]),g=new Uint16Array([256,402,436,468,500,534,566,598,630,662,694,726,758,790,822,854,886,920,952,984,1016,1048,1080]);function v(e){var t;return 0===e.readBits(1)?16:(t=e.readBits(3))>0?17+t:(t=e.readBits(3))>0?8+t:17}function y(e){if(e.readBits(1)){var t=e.readBits(3);return 0===t?1:e.readBits(t)+(1<<t)}return 0}function A(){this.meta_block_length=0,this.input_end=0,this.is_uncompressed=0,this.is_metadata=!1}function b(e){var t,n,r,i=new A;if(i.input_end=e.readBits(1),i.input_end&&e.readBits(1))return i;if(7===(t=e.readBits(2)+4)){if(i.is_metadata=!0,0!==e.readBits(1))throw new Error("Invalid reserved bit");if(0===(n=e.readBits(2)))return i;for(r=0;r<n;r++){var o=e.readBits(8);if(r+1===n&&n>1&&0===o)throw new Error("Invalid size byte");i.meta_block_length|=o<<8*r}}else for(r=0;r<t;++r){var a=e.readBits(4);if(r+1===t&&t>4&&0===a)throw new Error("Invalid size nibble");i.meta_block_length|=a<<4*r}return++i.meta_block_length,i.input_end||i.is_metadata||(i.is_uncompressed=e.readBits(1)),i}function w(e,t,n){var r;return n.fillBitWindow(),(r=e[t+=n.val_>>>n.bit_pos_&255].bits-8)>0&&(n.bit_pos_+=8,t+=e[t].value,t+=n.val_>>>n.bit_pos_&(1<<r)-1),n.bit_pos_+=e[t].bits,e[t].value}function x(e,t,n,r){var i,o,a=new Uint8Array(e);if(r.readMoreInput(),1===(o=r.readBits(2))){for(var c=e-1,u=0,d=new Int32Array(4),p=r.readBits(2)+1;c;)c>>=1,++u;for(f=0;f<p;++f)d[f]=r.readBits(u)%e,a[d[f]]=2;switch(a[d[0]]=1,p){case 1:break;case 3:if(d[0]===d[1]||d[0]===d[2]||d[1]===d[2])throw new Error("[ReadHuffmanCode] invalid symbols");break;case 2:if(d[0]===d[1])throw new Error("[ReadHuffmanCode] invalid symbols");a[d[1]]=1;break;case 4:if(d[0]===d[1]||d[0]===d[2]||d[0]===d[3]||d[1]===d[2]||d[1]===d[3]||d[2]===d[3])throw new Error("[ReadHuffmanCode] invalid symbols");r.readBits(1)?(a[d[2]]=3,a[d[3]]=3):a[d[0]]=2}}else{var f,m=new Uint8Array(18),g=32,v=0,y=[new s(2,0),new s(2,4),new s(2,3),new s(3,2),new s(2,0),new s(2,4),new s(2,3),new s(4,1),new s(2,0),new s(2,4),new s(2,3),new s(3,2),new s(2,0),new s(2,4),new s(2,3),new s(4,5)];for(f=o;f<18&&g>0;++f){var A,b=h[f],w=0;r.fillBitWindow(),w+=r.val_>>>r.bit_pos_&15,r.bit_pos_+=y[w].bits,A=y[w].value,m[b]=A,0!==A&&(g-=32>>A,++v)}if(1!==v&&0!==g)throw new Error("[ReadHuffmanCode] invalid num_codes or space");!function(e,t,n,r){for(var i=0,o=8,a=0,c=0,u=32768,d=[],p=0;p<32;p++)d.push(new s(0,0));for(l(d,0,5,e,18);i<t&&u>0;){var h,f=0;if(r.readMoreInput(),r.fillBitWindow(),f+=r.val_>>>r.bit_pos_&31,r.bit_pos_+=d[f].bits,(h=255&d[f].value)<16)a=0,n[i++]=h,0!==h&&(o=h,u-=32768>>h);else{var m,g,v=h-14,y=0;if(16===h&&(y=o),c!==y&&(a=0,c=y),m=a,a>0&&(a-=2,a<<=v),i+(g=(a+=r.readBits(v)+3)-m)>t)throw new Error("[ReadHuffmanCodeLengths] symbol + repeat_delta > num_symbols");for(var A=0;A<g;A++)n[i+A]=c;i+=g,0!==c&&(u-=g<<15-c)}}if(0!==u)throw new Error("[ReadHuffmanCodeLengths] space = "+u);for(;i<t;i++)n[i]=0}(m,e,a,r)}if(0===(i=l(t,n,8,a,e)))throw new Error("[ReadHuffmanCode] BuildHuffmanTable failed: ");return i}function C(e,t,n){var r,i;return r=w(e,t,n),i=u.kBlockLengthPrefixCode[r].nbits,u.kBlockLengthPrefixCode[r].offset+n.readBits(i)}function S(e,t,n){var r;return e<16?(n+=f[e],r=t[n&=3]+m[e]):r=e-16+1,r}function k(e,t){for(var n=e[t],r=t;r;--r)e[r]=e[r-1];e[0]=n}function E(e,t){this.alphabet_size=e,this.num_htrees=t,this.codes=new Array(t+t*g[e+31>>>5]),this.htrees=new Uint32Array(t)}function I(e,t){var n,r,i={num_htrees:null,context_map:null},o=0;t.readMoreInput();var a=i.num_htrees=y(t)+1,l=i.context_map=new Uint8Array(e);if(a<=1)return i;for(t.readBits(1)&&(o=t.readBits(4)+1),n=[],r=0;r<p;r++)n[r]=new s(0,0);for(x(a+o,n,0,t),r=0;r<e;){var c;if(t.readMoreInput(),0===(c=w(n,0,t)))l[r]=0,++r;else if(c<=o)for(var u=1+(1<<c)+t.readBits(c);--u;){if(r>=e)throw new Error("[DecodeContextMap] i >= context_map_size");l[r]=0,++r}else l[r]=c-o,++r}return t.readBits(1)&&function(e,t){var n,r=new Uint8Array(256);for(n=0;n<256;++n)r[n]=n;for(n=0;n<t;++n){var i=e[n];e[n]=r[i],i&&k(r,i)}}(l,e),i}function _(e,t,n,r,i,o,a){var s,l=2*n,c=n,u=w(t,n*p,a);(s=0===u?i[l+(1&o[c])]:1===u?i[l+(o[c]-1&1)]+1:u-2)>=e&&(s-=e),r[n]=s,i[l+(1&o[c])]=s,++o[c]}function P(e,t,n,r,i,a){var s,l=i+1,c=n&i,u=a.pos_&o.IBUF_MASK;if(t<8||a.bit_pos_+(t<<3)<a.bit_end_pos_)for(;t-- >0;)a.readMoreInput(),r[c++]=a.readBits(8),c===l&&(e.write(r,l),c=0);else{if(a.bit_end_pos_<32)throw new Error("[CopyUncompressedBlockToOutput] br.bit_end_pos_ < 32");for(;a.bit_pos_<32;)r[c]=a.val_>>>a.bit_pos_,a.bit_pos_+=8,++c,--t;if(u+(s=a.bit_end_pos_-a.bit_pos_>>3)>o.IBUF_MASK){for(var d=o.IBUF_MASK+1-u,p=0;p<d;p++)r[c+p]=a.buf_[u+p];s-=d,c+=d,t-=d,u=0}for(p=0;p<s;p++)r[c+p]=a.buf_[u+p];if(t-=s,(c+=s)>=l){e.write(r,l),c-=l;for(p=0;p<c;p++)r[p]=r[l+p]}for(;c+t>=l;){if(s=l-c,a.input_.read(r,c,s)<s)throw new Error("[CopyUncompressedBlockToOutput] not enough bytes");e.write(r,l),t-=s,c=0}if(a.input_.read(r,c,t)<t)throw new Error("[CopyUncompressedBlockToOutput] not enough bytes");a.reset()}}function O(e){var t=e.bit_pos_+7&-8;return 0==e.readBits(t-e.bit_pos_)}function T(e){var t=new r(e),n=new o(t);return v(n),b(n).meta_block_length}function D(e,t){var n,r,i,l,h,f,m,g,A,k,T=0,D=0,j=0,B=[16,15,11,4],N=0,M=0,R=0,L=[new E(0,0),new E(0,0),new E(0,0)],F=128+o.READ_SIZE;i=(1<<(r=v(k=new o(e))))-16,h=(l=1<<r)-1,f=new Uint8Array(l+F+a.maxDictionaryWordLength),m=l,g=[],A=[];for(var z=0;z<3240;z++)g[z]=new s(0,0),A[z]=new s(0,0);for(;!D;){var Q,U,V,G,q,H,W,Y,K,J,X,Z=0,$=[1<<28,1<<28,1<<28],ee=[0],te=[1,1,1],ne=[0,1,0,1,0,1],re=[0],ie=null,oe=null,ae=0,se=null,le=0,ce=0,ue=0;for(n=0;n<3;++n)L[n].codes=null,L[n].htrees=null;k.readMoreInput();var de=b(k);if(T+(Z=de.meta_block_length)>t.buffer.length){var pe=new Uint8Array(T+Z);pe.set(t.buffer),t.buffer=pe}if(D=de.input_end,Q=de.is_uncompressed,de.is_metadata)for(O(k);Z>0;--Z)k.readMoreInput(),k.readBits(8);else if(0!==Z)if(Q)k.bit_pos_=k.bit_pos_+7&-8,P(t,Z,T,f,h,k),T+=Z;else{for(n=0;n<3;++n)te[n]=y(k)+1,te[n]>=2&&(x(te[n]+2,g,n*p,k),x(26,A,n*p,k),$[n]=C(A,n*p,k),re[n]=1);for(k.readMoreInput(),G=(1<<(U=k.readBits(2)))-1,q=(V=16+(k.readBits(4)<<U))+(48<<U),ie=new Uint8Array(te[0]),n=0;n<te[0];++n)k.readMoreInput(),ie[n]=k.readBits(2)<<1;var he=I(te[0]<<6,k);W=he.num_htrees,H=he.context_map;var fe=I(te[2]<<2,k);for(K=fe.num_htrees,Y=fe.context_map,L[0]=new E(256,W),L[1]=new E(704,te[1]),L[2]=new E(q,K),n=0;n<3;++n)L[n].decode(k);for(oe=0,se=0,J=ie[ee[0]],ce=c.lookupOffsets[J],ue=c.lookupOffsets[J+1],X=L[1].htrees[0];Z>0;){var me,ge,ve,ye,Ae,be,we,xe,Ce,Se,ke,Ee;for(k.readMoreInput(),0===$[1]&&(_(te[1],g,1,ee,ne,re,k),$[1]=C(A,p,k),X=L[1].htrees[ee[1]]),--$[1],(ge=(me=w(L[1].codes,X,k))>>6)>=2?(ge-=2,we=-1):we=0,ve=u.kInsertRangeLut[ge]+(me>>3&7),ye=u.kCopyRangeLut[ge]+(7&me),Ae=u.kInsertLengthPrefixCode[ve].offset+k.readBits(u.kInsertLengthPrefixCode[ve].nbits),be=u.kCopyLengthPrefixCode[ye].offset+k.readBits(u.kCopyLengthPrefixCode[ye].nbits),M=f[T-1&h],R=f[T-2&h],Ce=0;Ce<Ae;++Ce)k.readMoreInput(),0===$[0]&&(_(te[0],g,0,ee,ne,re,k),$[0]=C(A,0,k),oe=ee[0]<<6,J=ie[ee[0]],ce=c.lookupOffsets[J],ue=c.lookupOffsets[J+1]),ae=H[oe+(c.lookup[ce+M]|c.lookup[ue+R])],--$[0],R=M,M=w(L[0].codes,L[0].htrees[ae],k),f[T&h]=M,(T&h)===h&&t.write(f,l),++T;if((Z-=Ae)<=0)break;if(we<0)if(k.readMoreInput(),0===$[2]&&(_(te[2],g,2,ee,ne,re,k),$[2]=C(A,2160,k),se=ee[2]<<2),--$[2],le=Y[se+(255&(be>4?3:be-2))],(we=w(L[2].codes,L[2].htrees[le],k))>=V)Ee=(we-=V)&G,we=V+((Ie=(2+(1&(we>>=U))<<(ke=1+(we>>1)))-4)+k.readBits(ke)<<U)+Ee;if((xe=S(we,B,N))<0)throw new Error("[BrotliDecompress] invalid distance");if(Se=T&h,xe>(j=T<i&&j!==i?T:i)){if(!(be>=a.minDictionaryWordLength&&be<=a.maxDictionaryWordLength))throw new Error("Invalid backward reference. pos: "+T+" distance: "+xe+" len: "+be+" bytes left: "+Z);var Ie=a.offsetsByLength[be],_e=xe-j-1,Pe=a.sizeBitsByLength[be],Oe=_e>>Pe;if(Ie+=(_e&(1<<Pe)-1)*be,!(Oe<d.kNumTransforms))throw new Error("Invalid backward reference. pos: "+T+" distance: "+xe+" len: "+be+" bytes left: "+Z);var Te=d.transformDictionaryWord(f,Se,Ie,be,Oe);if(T+=Te,Z-=Te,(Se+=Te)>=m){t.write(f,l);for(var De=0;De<Se-m;De++)f[De]=f[m+De]}}else{if(we>0&&(B[3&N]=xe,++N),be>Z)throw new Error("Invalid backward reference. pos: "+T+" distance: "+xe+" len: "+be+" bytes left: "+Z);for(Ce=0;Ce<be;++Ce)f[T&h]=f[T-xe&h],(T&h)===h&&t.write(f,l),++T,--Z}M=f[T-1&h],R=f[T-2&h]}T&=1073741823}}t.write(f,T&h)}E.prototype.decode=function(e){var t,n=0;for(t=0;t<this.num_htrees;++t)this.htrees[t]=n,n+=x(this.alphabet_size,this.codes,n,e)},t.BrotliDecompressBuffer=function(e,t){var n=new r(e);null==t&&(t=T(e));var o=new Uint8Array(t),a=new i(o);return D(n,a),a.pos<a.buffer.length&&(a.buffer=a.buffer.subarray(0,a.pos)),a.buffer},a.init()},78211:(e,t,n)=>{var r=n(46676);t.init=function(){return(0,n(7760).BrotliDecompressBuffer)(r.toByteArray(n(41105)))}},41105:e=>{e.exports="W5/fcQLn5gKf2XUbAiQ1XULX+TZz6ADToDsgqk6qVfeC0e4m6OO2wcQ1J76ZBVRV1fRkEsdu//62zQsFEZWSTCnMhcsQKlS2qOhuVYYMGCkV0fXWEoMFbESXrKEZ9wdUEsyw9g4bJlEt1Y6oVMxMRTEVbCIwZzJzboK5j8m4YH02qgXYhv1V+PM435sLVxyHJihaJREEhZGqL03txGFQLm76caGO/ovxKvzCby/3vMTtX/459f0igi7WutnKiMQ6wODSoRh/8Lx1V3Q99MvKtwB6bHdERYRY0hStJoMjNeTsNX7bn+Y7e4EQ3bf8xBc7L0BsyfFPK43dGSXpL6clYC/I328h54/VYrQ5i0648FgbGtl837svJ35L3Mot/+nPlNpWgKx1gGXQYqX6n+bbZ7wuyCHKcUok12Xjqub7NXZGzqBx0SD+uziNf87t7ve42jxSKQoW3nyxVrWIGlFShhCKxjpZZ5MeGna0+lBkk+kaN8F9qFBAFgEogyMBdcX/T1W/WnMOi/7ycWUQloEBKGeC48MkiwqJkJO+12eQiOFHMmck6q/IjWW3RZlany23TBm+cNr/84/oi5GGmGBZWrZ6j+zykVozz5fT/QH/Da6WTbZYYPynVNO7kxzuNN2kxKKWche5WveitPKAecB8YcAHz/+zXLjcLzkdDSktNIDwZE9J9X+tto43oJy65wApM3mDzYtCwX9lM+N5VR3kXYo0Z3t0TtXfgBFg7gU8oN0Dgl7fZlUbhNll+0uuohRVKjrEd8egrSndy5/Tgd2gqjA4CAVuC7ESUmL3DZoGnfhQV8uwnpi8EGvAVVsowNRxPudck7+oqAUDkwZopWqFnW1riss0t1z6iCISVKreYGNvQcXv+1L9+jbP8cd/dPUiqBso2q+7ZyFBvENCkkVr44iyPbtOoOoCecWsiuqMSML5lv+vN5MzUr+Dnh73G7Q1YnRYJVYXHRJaNAOByiaK6CusgFdBPE40r0rvqXV7tksKO2DrHYXBTv8P5ysqxEx8VDXUDDqkPH6NNOV/a2WH8zlkXRELSa8P+heNyJBBP7PgsG1EtWtNef6/i+lcayzQwQCsduidpbKfhWUDgAEmyhGu/zVTacI6RS0zTABrOYueemnVa19u9fT23N/Ta6RvTpof5DWygqreCqrDAgM4LID1+1T/taU6yTFVLqXOv+/MuQOFnaF8vLMKD7tKWDoBdALgxF33zQccCcdHx8fKIVdW69O7qHtXpeGr9jbbpFA+qRMWr5hp0s67FPc7HAiLV0g0/peZlW7hJPYEhZyhpSwahnf93/tZgfqZWXFdmdXBzqxGHLrQKxoAY6fRoBhgCRPmmGueYZ5JexTVDKUIXzkG/fqp/0U3hAgQdJ9zumutK6nqWbaqvm1pgu03IYR+G+8s0jDBBz8cApZFSBeuWasyqo2OMDKAZCozS+GWSvL/HsE9rHxooe17U3s/lTE+VZAk4j3dp6uIGaC0JMiqR5CUsabPyM0dOYDR7Ea7ip4USZlya38YfPtvrX/tBlhHilj55nZ1nfN24AOAi9BVtz/Mbn8AEDJCqJgsVUa6nQnSxv2Fs7l/NlCzpfYEjmPrNyib/+t0ei2eEMjvNhLkHCZlci4WhBe7ePZTmzYqlY9+1pxtS4GB+5lM1BHT9tS270EWUDYFq1I0yY/fNiAk4bk9yBgmef/f2k6AlYQZHsNFnW8wBQxCd68iWv7/35bXfz3JZmfGligWAKRjIs3IpzxQ27vAglHSiOzCYzJ9L9A1CdiyFvyR66ucA4jKifu5ehwER26yV7HjKqn5Mfozo7Coxxt8LWWPT47BeMxX8p0Pjb7hZn+6bw7z3Lw+7653j5sI8CLu5kThpMlj1m4c2ch3jGcP1FsT13vuK3qjecKTZk2kHcOZY40UX+qdaxstZqsqQqgXz+QGF99ZJLqr3VYu4aecl1Ab5GmqS8k/GV5b95zxQ5d4EfXUJ6kTS/CXF/aiqKDOT1T7Jz5z0PwDUcwr9clLN1OJGCiKfqvah+h3XzrBOiLOW8wvn8gW6qE8vPxi+Efv+UH55T7PQFVMh6cZ1pZQlzJpKZ7P7uWvwPGJ6DTlR6wbyj3Iv2HyefnRo/dv7dNx+qaa0N38iBsR++Uil7Wd4afwDNsrzDAK4fXZwvEY/jdKuIKXlfrQd2C39dW7ntnRbIp9OtGy9pPBn/V2ASoi/2UJZfS+xuGLH8bnLuPlzdTNS6zdyk8Dt/h6sfOW5myxh1f+zf3zZ3MX/mO9cQPp5pOx967ZA6/pqHvclNfnUFF+rq+Vd7alKr6KWPcIDhpn6v2K6NlUu6LrKo8b/pYpU/Gazfvtwhn7tEOUuXht5rUJdSf6sLjYf0VTYDgwJ81yaqKTUYej/tbHckSRb/HZicwGJqh1mAHB/IuNs9dc9yuvF3D5Xocm3elWFdq5oEy70dYFit79yaLiNjPj5UUcVmZUVhQEhW5V2Z6Cm4HVH/R8qlamRYwBileuh07CbEce3TXa2JmXWBf+ozt319psboobeZhVnwhMZzOeQJzhpTDbP71Tv8HuZxxUI/+ma3XW6DFDDs4+qmpERwHGBd2edxwUKlODRdUWZ/g0GOezrbzOZauFMai4QU6GVHV6aPNBiBndHSsV4IzpvUiiYyg6OyyrL4Dj5q/Lw3N5kAwftEVl9rNd7Jk5PDij2hTH6wIXnsyXkKePxbmHYgC8A6an5Fob/KH5GtC0l4eFso+VpxedtJHdHpNm+Bvy4C79yVOkrZsLrQ3OHCeB0Ra+kBIRldUGlDCEmq2RwXnfyh6Dz+alk6eftI2n6sastRrGwbwszBeDRS/Fa/KwRJkCzTsLr/JCs5hOPE/MPLYdZ1F1fv7D+VmysX6NpOC8aU9F4Qs6HvDyUy9PvFGDKZ/P5101TYHFl8pjj6wm/qyS75etZhhfg0UEL4OYmHk6m6dO192AzoIyPSV9QedDA4Ml23rRbqxMPMxf7FJnDc5FTElVS/PyqgePzmwVZ26NWhRDQ+oaT7ly7ell4s3DypS1s0g+tOr7XHrrkZj9+x/mJBttrLx98lFIaRZzHz4aC7r52/JQ4VjHahY2/YVXZn/QC2ztQb/sY3uRlyc5vQS8nLPGT/n27495i8HPA152z7Fh5aFpyn1GPJKHuPL8Iw94DuW3KjkURAWZXn4EQy89xiKEHN1mk/tkM4gYDBxwNoYvRfE6LFqsxWJtPrDGbsnLMap3Ka3MUoytW0cvieozOmdERmhcqzG+3HmZv2yZeiIeQTKGdRT4HHNxekm1tY+/n06rGmFleqLscSERzctTKM6G9P0Pc1RmVvrascIxaO1CQCiYPE15bD7c3xSeW7gXxYjgxcrUlcbIvO0r+Yplhx0kTt3qafDOmFyMjgGxXu73rddMHpV1wMubyAGcf/v5dLr5P72Ta9lBF+fzMJrMycwv+9vnU3ANIl1cH9tfW7af8u0/HG0vV47jNFXzFTtaha1xvze/s8KMtCYucXc1nzfd/MQydUXn/b72RBt5wO/3jRcMH9BdhC/yctKBIveRYPrNpDWqBsO8VMmP+WvRaOcA4zRMR1PvSoO92rS7pYEv+fZfEfTMzEdM+6X5tLlyxExhqLRkms5EuLovLfx66de5fL2/yX02H52FPVwahrPqmN/E0oVXnsCKhbi/yRxX83nRbUKWhzYceXOntfuXn51NszJ6MO73pQf5Pl4in3ec4JU8hF7ppV34+mm9r1LY0ee/i1O1wpd8+zfLztE0cqBxggiBi5Bu95v9l3r9r/U5hweLn+TbfxowrWDqdJauKd8+q/dH8sbPkc9ttuyO94f7/XK/nHX46MPFLEb5qQlNPvhJ50/59t9ft3LXu7uVaWaO2bDrDCnRSzZyWvFKxO1+vT8MwwunR3bX0CkfPjqb4K9O19tn5X50PvmYpEwHtiW9WtzuV/s76B1zvLLNkViNd8ySxIl/3orfqP90TyTGaf7/rx8jQzeHJXdmh/N6YDvbvmTBwCdxfEQ1NcL6wNMdSIXNq7b1EUzRy1/Axsyk5p22GMG1b+GxFgbHErZh92wuvco0AuOLXct9hvw2nw/LqIcDRRmJmmZzcgUa7JpM/WV/S9IUfbF56TL2orzqwebdRD8nIYNJ41D/hz37Fo11p2Y21wzPcn713qVGhqtevStYfGH4n69OEJtPvbbLYWvscDqc3Hgnu166+tAyLnxrX0Y5zoYjV++1sI7t5kMr02KT/+uwtkc+rZLOf/qn/s3nYCf13Dg8/sB2diJgjGqjQ+TLhxbzyue2Ob7X6/9lUwW7a+lbznHzOYy8LKW1C/uRPbQY3KW/0gO9LXunHLvPL97afba9bFtc9hmz7GAttjVYlCvQAiOwAk/gC5+hkLEs6tr3AZKxLJtOEwk2dLxTYWsIB/j/ToWtIWzo906FrSG8iaqqqqqqiIiIiAgzMzMzNz+AyK+01/zi8n8S+Y1MjoRaQ80WU/G8MBlO+53VPXANrWm4wzGUVZUjjBJZVdhpcfkjsmcWaO+UEldXi1e+zq+HOsCpknYshuh8pOLISJun7TN0EIGW2xTnlOImeecnoGW4raxe2G1T3HEvfYUYMhG+gAFOAwh5nK8mZhwJMmN7r224QVsNFvZ87Z0qatvknklyPDK3Hy45PgVKXji52Wen4d4PlFVVYGnNap+fSpFbK90rYnhUc6n91Q3AY9E0tJOFrcfZtm/491XbcG/jsViUPPX76qmeuiz+qY1Hk7/1VPM405zWVuoheLUimpWYdVzCmUdKHebMdzgrYrb8mL2eeLSnRWHdonfZa8RsOU9F37w+591l5FLYHiOqWeHtE/lWrBHcRKp3uhtr8yXm8LU/5ms+NM6ZKsqu90cFZ4o58+k4rdrtB97NADFbwmEG7lXqvirhOTOqU14xuUF2myIjURcPHrPOQ4lmM3PeMg7bUuk0nnZi67bXsU6H8lhqIo8TaOrEafCO1ARK9PjC0QOoq2BxmMdgYB9G/lIb9++fqNJ2s7BHGFyBNmZAR8J3KCo012ikaSP8BCrf6VI0X5xdnbhHIO+B5rbOyB54zXkzfObyJ4ecwxfqBJMLFc7m59rNcw7hoHnFZ0b00zee+gTqvjm61Pb4xn0kcDX4jvHM0rBXZypG3DCKnD/Waa/ZtHmtFPgO5eETx+k7RrVg3aSwm2YoNXnCs3XPQDhNn+Fia6IlOOuIG6VJH7TP6ava26ehKHQa2T4N0tcZ9dPCGo3ZdnNltsHQbeYt5vPnJezV/cAeNypdml1vCHI8M81nSRP5Qi2+mI8v/sxiZru9187nRtp3f/42NemcONa+4eVC3PCZzc88aZh851CqSsshe70uPxeN/dmYwlwb3trwMrN1Gq8jbnApcVDx/yDPeYs5/7r62tsQ6lLg+DiFXTEhzR9dHqv0iT4tgj825W+H3XiRUNUZT2kR9Ri0+lp+UM3iQtS8uOE23Ly4KYtvqH13jghUntJRAewuzNLDXp8RxdcaA3cMY6TO2IeSFRXezeWIjCqyhsUdMYuCgYTZSKpBype1zRfq8FshvfBPc6BAQWl7/QxIDp3VGo1J3vn42OEs3qznws+YLRXbymyB19a9XBx6n/owcyxlEYyFWCi+kG9F+EyD/4yn80+agaZ9P7ay2Dny99aK2o91FkfEOY8hBwyfi5uwx2y5SaHmG+oq/zl1FX/8irOf8Y3vAcX/6uLP6A6nvMO24edSGPjQc827Rw2atX+z2bKq0CmW9mOtYnr5/AfDa1ZfPaXnKtlWborup7QYx+Or2uWb+N3N//2+yDcXMqIJdf55xl7/vsj4WoPPlxLxtVrkJ4w/tTe3mLdATOOYwxcq52w5Wxz5MbPdVs5O8/lhfE7dPj0bIiPQ3QV0iqm4m3YX8hRfc6jQ3fWepevMqUDJd86Z4vwM40CWHnn+WphsGHfieF02D3tmZvpWD+kBpNCFcLnZhcmmrhpGzzbdA+sQ1ar18OJD87IOKOFoRNznaHPNHUfUNhvY1iU+uhvEvpKHaUn3qK3exVVyX4joipp3um7FmYJWmA+WbIDshRpbVRx5/nqstCgy87FGbfVB8yDGCqS+2qCsnRwnSAN6zgzxfdB2nBT/vZ4/6uxb6oH8b4VBRxiIB93wLa47hG3w2SL/2Z27yOXJFwZpSJaBYyvajA7vRRYNKqljXKpt/CFD/tSMr18DKKbwB0xggBePatl1nki0yvqW5zchlyZmJ0OTxJ3D+fsYJs/mxYN5+Le5oagtcl+YsVvy8kSjI2YGvGjvmpkRS9W2dtXqWnVuxUhURm1lKtou/hdEq19VBp9OjGvHEQSmrpuf2R24mXGheil8KeiANY8fW1VERUfBImb64j12caBZmRViZHbeVMjCrPDg9A90IXrtnsYCuZtRQ0PyrKDjBNOsPfKsg1pA02gHlVr0OXiFhtp6nJqXVzcbfM0KnzC3ggOENPE9VBdmHKN6LYaijb4wXxJn5A0FSDF5j+h1ooZx885Jt3ZKzO5n7Z5WfNEOtyyPqQEnn7WLv5Fis3PdgMshjF1FRydbNyeBbyKI1oN1TRVrVK7kgsb/zjX4NDPIRMctVeaxVB38Vh1x5KbeJbU138AM5KzmZu3uny0ErygxiJF7GVXUrPzFxrlx1uFdAaZFDN9cvIb74qD9tzBMo7L7WIEYK+sla1DVMHpF0F7b3+Y6S+zjvLeDMCpapmJo1weBWuxKF3rOocih1gun4BoJh1kWnV/Jmiq6uOhK3VfKxEHEkafjLgK3oujaPzY6SXg8phhL4TNR1xvJd1Wa0aYFfPUMLrNBDCh4AuGRTbtKMc6Z1Udj8evY/ZpCuMAUefdo69DZUngoqE1P9A3PJfOf7WixCEj+Y6t7fYeHbbxUAoFV3M89cCKfma3fc1+jKRe7MFWEbQqEfyzO2x/wrO2VYH7iYdQ9BkPyI8/3kXBpLaCpU7eC0Yv/am/tEDu7HZpqg0EvHo0nf/R/gRzUWy33/HXMJQeu1GylKmOkXzlCfGFruAcPPhaGqZOtu19zsJ1SO2Jz4Ztth5cBX6mRQwWmDwryG9FUMlZzNckMdK+IoMJv1rOWnBamS2w2KHiaPMPLC15hCZm4KTpoZyj4E2TqC/P6r7/EhnDMhKicZZ1ZwxuC7DPzDGs53q8gXaI9kFTK+2LTq7bhwsTbrMV8Rsfua5lMS0FwbTitUVnVa1yTb5IX51mmYnUcP9wPr8Ji1tiYJeJV9GZTrQhF7vvdU2OTU42ogJ9FDwhmycI2LIg++03C6scYhUyUuMV5tkw6kGUoL+mjNC38+wMdWNljn6tGPpRES7veqrSn5TRuv+dh6JVL/iDHU1db4c9WK3++OrH3PqziF916UMUKn8G67nN60GfWiHrXYhUG3yVWmyYak59NHj8t1smG4UDiWz2rPHNrKnN4Zo1LBbr2/eF9YZ0n0blx2nG4X+EKFxvS3W28JESD+FWk61VCD3z/URGHiJl++7TdBwkCj6tGOH3qDb0QqcOF9Kzpj0HUb/KyFW3Yhj2VMKJqGZleFBH7vqvf7WqLC3XMuHV8q8a4sTFuxUtkD/6JIBvKaVjv96ndgruKZ1k/BHzqf2K9fLk7HGXANyLDd1vxkK/i055pnzl+zw6zLnwXlVYVtfmacJgEpRP1hbGgrYPVN6v2lG+idQNGmwcKXu/8xEj/P6qe/sB2WmwNp6pp8jaISMkwdleFXYK55NHWLTTbutSUqjBfDGWo/Yg918qQ+8BRZSAHZbfuNZz2O0sov1Ue4CWlVg3rFhM3Kljj9ksGd/NUhk4nH+a5UN2+1i8+NM3vRNp7uQ6sqexSCukEVlVZriHNqFi5rLm9TMWa4qm3idJqppQACol2l4VSuvWLfta4JcXy3bROPNbXOgdOhG47LC0CwW/dMlSx4Jf17aEU3yA1x9p+Yc0jupXgcMuYNku64iYOkGToVDuJvlbEKlJqsmiHbvNrIVZEH+yFdF8DbleZ6iNiWwMqvtMp/mSpwx5KxRrT9p3MAPTHGtMbfvdFhyj9vhaKcn3At8Lc16Ai+vBcSp1ztXi7rCJZx/ql7TXcclq6Q76UeKWDy9boS0WHIjUuWhPG8LBmW5y2rhuTpM5vsLt+HOLh1Yf0DqXa9tsfC+kaKt2htA0ai/L2i7RKoNjEwztkmRU0GfgW1TxUvPFhg0V7DdfWJk5gfrccpYv+MA9M0dkGTLECeYwUixRzjRFdmjG7zdZIl3XKB9YliNKI31lfa7i2JG5C8Ss+rHe0D7Z696/V3DEAOWHnQ9yNahMUl5kENWS6pHKKp2D1BaSrrHdE1w2qNxIztpXgUIrF0bm15YML4b6V1k+GpNysTahKMVrrS85lTVo9OGJ96I47eAy5rYWpRf/mIzeoYU1DKaQCTUVwrhHeyNoDqHel+lLxr9WKzhSYw7vrR6+V5q0pfi2k3L1zqkubY6rrd9ZLvSuWNf0uqnkY+FpTvFzSW9Fp0b9l8JA7THV9eCi/PY/SCZIUYx3BU2alj7Cm3VV6eYpios4b6WuNOJdYXUK3zTqj5CVG2FqYM4Z7CuIU0qO05XR0d71FHM0YhZmJmTRfLlXEumN82BGtzdX0S19t1e+bUieK8zRmqpa4Qc5TSjifmaQsY2ETLjhI36gMR1+7qpjdXXHiceUekfBaucHShAOiFXmv3sNmGQyU5iVgnoocuonQXEPTFwslHtS8R+A47StI9wj0iSrtbi5rMysczFiImsQ+bdFClnFjjpXXwMy6O7qfjOr8Fb0a7ODItisjnn3EQO16+ypd1cwyaAW5Yzxz5QknfMO7643fXW/I9y3U2xH27Oapqr56Z/tEzglj6IbT6HEHjopiXqeRbe5mQQvxtcbDOVverN0ZgMdzqRYRjaXtMRd56Q4cZSmdPvZJdSrhJ1D9zNXPqAEqPIavPdfubt5oke2kmv0dztIszSv2VYuoyf1UuopbsYb+uX9h6WpwjpgtZ6fNNawNJ4q8O3CFoSbioAaOSZMx2GYaPYB+rEb6qjQiNRFQ76TvwNFVKD+BhH9VhcKGsXzmMI7BptU/CNWolM7YzROvpFAntsiWJp6eR2d3GarcYShVYSUqhmYOWj5E96NK2WvmYNTeY7Zs4RUEdv9h9QT4EseKt6LzLrqEOs3hxAY1MaNWpSa6zZx8F3YOVeCYMS88W+CYHDuWe4yoc6YK+djDuEOrBR5lvh0r+Q9uM88lrjx9x9AtgpQVNE8r+3O6Gvw59D+kBF/UMXyhliYUtPjmvXGY6Dk3x+kEOW+GtdMVC4EZTqoS/jmR0P0LS75DOc/w2vnri97M4SdbZ8qeU7gg8DVbERkU5geaMQO3mYrSYyAngeUQqrN0C0/vsFmcgWNXNeidsTAj7/4MncJR0caaBUpbLK1yBCBNRjEv6KvuVSdpPnEMJdsRRtqJ+U8tN1gXA4ePHc6ZT0eviI73UOJF0fEZ8YaneAQqQdGphNvwM4nIqPnXxV0xA0fnCT+oAhJuyw/q8jO0y8CjSteZExwBpIN6SvNp6A5G/abi6egeND/1GTguhuNjaUbbnSbGd4L8937Ezm34Eyi6n1maeOBxh3PI0jzJDf5mh/BsLD7F2GOKvlA/5gtvxI3/eV4sLfKW5Wy+oio+es/u6T8UU+nsofy57Icb/JlZHPFtCgd/x+bwt3ZT+xXTtTtTrGAb4QehC6X9G+8YT+ozcLxDsdCjsuOqwPFnrdLYaFc92Ui0m4fr39lYmlCaqTit7G6O/3kWDkgtXjNH4BiEm/+jegQnihOtfffn33WxsFjhfMd48HT+f6o6X65j7XR8WLSHMFkxbvOYsrRsF1bowDuSQ18Mkxk4qz2zoGPL5fu9h2Hqmt1asl3Q3Yu3szOc+spiCmX4AETBM3pLoTYSp3sVxahyhL8eC4mPN9k2x3o0xkiixIzM3CZFzf5oR4mecQ5+ax2wCah3/crmnHoqR0+KMaOPxRif1oEFRFOO/kTPPmtww+NfMXxEK6gn6iU32U6fFruIz8Q4WgljtnaCVTBgWx7diUdshC9ZEa5yKpRBBeW12r/iNc/+EgNqmhswNB8SBoihHXeDF7rrWDLcmt3V8GYYN7pXRy4DZjj4DJuUBL5iC3DQAaoo4vkftqVTYRGLS3mHZ7gdmdTTqbgNN/PTdTCOTgXolc88MhXAEUMdX0iy1JMuk5wLsgeu0QUYlz2S4skTWwJz6pOm/8ihrmgGfFgri+ZWUK2gAPHgbWa8jaocdSuM4FJYoKicYX/ZSENkg9Q1ZzJfwScfVnR2DegOGwCvmogaWJCLQepv9WNlU6QgsmOwICquU28Mlk3d9W5E81lU/5Ez0LcX6lwKMWDNluNKfBDUy/phJgBcMnfkh9iRxrdOzgs08JdPB85Lwo+GUSb4t3nC+0byqMZtO2fQJ4U2zGIr49t/28qmmGv2RanDD7a3FEcdtutkW8twwwlUSpb8QalodddbBfNHKDQ828BdE7OBgFdiKYohLawFYqpybQoxATZrheLhdI7+0Zlu9Q1myRcd15r9UIm8K2LGJxqTegntqNVMKnf1a8zQiyUR1rxoqjiFxeHxqFcYUTHfDu7rhbWng6qOxOsI+5A1p9mRyEPdVkTlE24vY54W7bWc6jMgZvNXdfC9/9q7408KDsbdL7Utz7QFSDetz2picArzrdpL8OaCHC9V26RroemtDZ5yNM/KGkWMyTmfnInEvwtSD23UcFcjhaE3VKzkoaEMKGBft4XbIO6forTY1lmGQwVmKicBCiArDzE+1oIxE08fWeviIOD5TznqH+OoHadvoOP20drMPe5Irg3XBQziW2XDuHYzjqQQ4wySssjXUs5H+t3FWYMHppUnBHMx/nYIT5d7OmjDbgD9F6na3m4l7KdkeSO3kTEPXafiWinogag7b52taiZhL1TSvBFmEZafFq2H8khQaZXuitCewT5FBgVtPK0j4xUHPfUz3Q28eac1Z139DAP23dgki94EC8vbDPTQC97HPPSWjUNG5tWKMsaxAEMKC0665Xvo1Ntd07wCLNf8Q56mrEPVpCxlIMVlQlWRxM3oAfpgIc+8KC3rEXUog5g06vt7zgXY8grH7hhwVSaeuvC06YYRAwpbyk/Unzj9hLEZNs2oxPQB9yc+GnL6zTgq7rI++KDJwX2SP8Sd6YzTuw5lV/kU6eQxRD12omfQAW6caTR4LikYkBB1CMOrvgRr/VY75+NSB40Cni6bADAtaK+vyxVWpf9NeKJxN2KYQ8Q2xPB3K1s7fuhvWbr2XpgW044VD6DRs0qXoqKf1NFsaGvKJc47leUV3pppP/5VTKFhaGuol4Esfjf5zyCyUHmHthChcYh4hYLQF+AFWsuq4t0wJyWgdwQVOZiV0efRHPoK5+E1vjz9wTJmVkITC9oEstAsyZSgE/dbicwKr89YUxKZI+owD205Tm5lnnmDRuP/JnzxX3gMtlrcX0UesZdxyQqYQuEW4R51vmQ5xOZteUd8SJruMlTUzhtVw/Nq7eUBcqN2/HVotgfngif60yKEtoUx3WYOZlVJuJOh8u59fzSDPFYtQgqDUAGyGhQOAvKroXMcOYY0qjnStJR/G3aP+Jt1sLVlGV8POwr/6OGsqetnyF3TmTqZjENfnXh51oxe9qVUw2M78EzAJ+IM8lZ1MBPQ9ZWSVc4J3mWSrLKrMHReA5qdGoz0ODRsaA+vwxXA2cAM4qlfzBJA6581m4hzxItQw5dxrrBL3Y6kCbUcFxo1S8jyV44q//+7ASNNudZ6xeaNOSIUffqMn4A9lIjFctYn2gpEPAb3f7p3iIBN8H14FUGQ9ct2hPsL+cEsTgUrR47uJVN4n4wt/wgfwwHuOnLd4yobkofy8JvxSQTA7rMpDIc608SlZFJfZYcmbT0tAHpPE8MrtQ42siTUNWxqvWZOmvu9f0JPoQmg+6l7sZWwyfi6PXkxJnwBraUG0MYG4zYHQz3igy/XsFkx5tNQxw43qvI9dU3f0DdhOUlHKjmi1VAr2Kiy0HZwD8VeEbhh0OiDdMYspolQsYdSwjCcjeowIXNZVUPmL2wwIkYhmXKhGozdCJ4lRKbsf4NBh/XnQoS92NJEWOVOFs2YhN8c5QZFeK0pRdAG40hqvLbmoSA8xQmzOOEc7wLcme9JOsjPCEgpCwUs9E2DohMHRhUeyGIN6TFvrbny8nDuilsDpzrH5mS76APoIEJmItS67sQJ+nfwddzmjPxcBEBBCw0kWDwd0EZCkNeOD7NNQhtBm7KHL9mRxj6U1yWU2puzlIDtpYxdH4ZPeXBJkTGAJfUr/oTCz/iypY6uXaR2V1doPxJYlrw2ghH0D5gbrhFcIxzYwi4a/4hqVdf2DdxBp6vGYDjavxMAAoy+1+3aiO6S3W/QAKNVXagDtvsNtx7Ks+HKgo6U21B+QSZgIogV5Bt+BnXisdVfy9VyXV+2P5fMuvdpAjM1o/K9Z+XnE4EOCrue+kcdYHqAQ0/Y/OmNlQ6OI33jH/uD1RalPaHpJAm2av0/xtpqdXVKNDrc9F2izo23Wu7firgbURFDNX9eGGeYBhiypyXZft2j3hTvzE6PMWKsod//rEILDkzBXfi7xh0eFkfb3/1zzPK/PI5Nk3FbZyTl4mq5BfBoVoqiPHO4Q4QKZAlrQ3MdNfi3oxIjvsM3kAFv3fdufurqYR3PSwX/mpGy/GFI/B2MNPiNdOppWVbs/gjF3YH+QA9jMhlAbhvasAHstB0IJew09iAkmXHl1/TEj+jvHOpOGrPRQXbPADM+Ig2/OEcUcpgPTItMtW4DdqgfYVI/+4hAFWYjUGpOP/UwNuB7+BbKOcALbjobdgzeBQfjgNSp2GOpxzGLj70Vvq5cw2AoYENwKLUtJUX8sGRox4dVa/TN4xKwaKcl9XawQR/uNus700Hf17pyNnezrUgaY9e4MADhEDBpsJT6y1gDJs1q6wlwGhuUzGR7C8kgpjPyHWwsvrf3yn1zJEIRa5eSxoLAZOCR9xbuztxFRJW9ZmMYfCFJ0evm9F2fVnuje92Rc4Pl6A8bluN8MZyyJGZ0+sNSb//DvAFxC2BqlEsFwccWeAl6CyBcQV1bx4mQMBP1Jxqk1EUADNLeieS2dUFbQ/c/kvwItbZ7tx0st16viqd53WsRmPTKv2AD8CUnhtPWg5aUegNpsYgasaw2+EVooeNKmrW3MFtj76bYHJm5K9gpAXZXsE5U8DM8XmVOSJ1F1WnLy6nQup+jx52bAb+rCq6y9WXl2B2oZDhfDkW7H3oYfT/4xx5VncBuxMXP2lNfhUVQjSSzSRbuZFE4vFawlzveXxaYKVs8LpvAb8IRYF3ZHiRnm0ADeNPWocwxSzNseG7NrSEVZoHdKWqaGEBz1N8Pt7kFbqh3LYmAbm9i1IChIpLpM5AS6mr6OAPHMwwznVy61YpBYX8xZDN/a+lt7n+x5j4bNOVteZ8lj3hpAHSx1VR8vZHec4AHO9XFCdjZ9eRkSV65ljMmZVzaej2qFn/qt1lvWzNZEfHxK3qOJrHL6crr0CRzMox5f2e8ALBB4UGFZKA3tN6F6IXd32GTJXGQ7DTi9j/dNcLF9jCbDcWGKxoKTYblIwbLDReL00LRcDPMcQuXLMh5YzgtfjkFK1DP1iDzzYYVZz5M/kWYRlRpig1htVRjVCknm+h1M5LiEDXOyHREhvzCGpFZjHS0RsK27o2avgdilrJkalWqPW3D9gmwV37HKmfM3F8YZj2ar+vHFvf3B8CRoH4kDHIK9mrAg+owiEwNjjd9V+FsQKYR8czJrUkf7Qoi2YaW6EVDZp5zYlqiYtuXOTHk4fAcZ7qBbdLDiJq0WNV1l2+Hntk1mMWvxrYmc8kIx8G3rW36J6Ra4lLrTOCgiOihmow+YnzUT19jbV2B3RWqSHyxkhmgsBqMYWvOcUom1jDQ436+fcbu3xf2bbeqU/ca+C4DOKE+e3qvmeMqW3AxejfzBRFVcwVYPq4L0APSWWoJu+5UYX4qg5U6YTioqQGPG9XrnuZ/BkxuYpe6Li87+18EskyQW/uA+uk2rpHpr6hut2TlVbKgWkFpx+AZffweiw2+VittkEyf/ifinS/0ItRL2Jq3tQOcxPaWO2xrG68GdFoUpZgFXaP2wYVtRc6xYCfI1CaBqyWpg4bx8OHBQwsV4XWMibZZ0LYjWEy2IxQ1mZrf1/UNbYCJplWu3nZ4WpodIGVA05d+RWSS+ET9tH3RfGGmNI1cIY7evZZq7o+a0bjjygpmR3mVfalkT/SZGT27Q8QGalwGlDOS9VHCyFAIL0a1Q7JiW3saz9gqY8lqKynFrPCzxkU4SIfLc9VfCI5edgRhDXs0edO992nhTKHriREP1NJC6SROMgQ0xO5kNNZOhMOIT99AUElbxqeZF8A3xrfDJsWtDnUenAHdYWSwAbYjFqQZ+D5gi3hNK8CSxU9i6f6ClL9IGlj1OPMQAsr84YG6ijsJpCaGWj75c3yOZKBB9mNpQNPUKkK0D6wgLH8MGoyRxTX6Y05Q4AnYNXMZwXM4eij/9WpsM/9CoRnFQXGR6MEaY+FXvXEO3RO0JaStk6OXuHVATHJE+1W+TU3bSZ2ksMtqjO0zfSJCdBv7y2d8DMx6TfVme3q0ZpTKMMu4YL/t7ciTNtdDkwPogh3Cnjx7qk08SHwf+dksZ7M2vCOlfsF0hQ6J4ehPCaHTNrM/zBSOqD83dBEBCW/F/LEmeh0nOHd7oVl3/Qo/9GUDkkbj7yz+9cvvu+dDAtx8NzCDTP4iKdZvk9MWiizvtILLepysflSvTLFBZ37RLwiriqyRxYv/zrgFd/9XVHh/OmzBvDX4mitMR/lUavs2Vx6cR94lzAkplm3IRNy4TFfu47tuYs9EQPIPVta4P64tV+sZ7n3ued3cgEx2YK+QL5+xms6osk8qQbTyuKVGdaX9FQqk6qfDnT5ykxk0VK7KZ62b6DNDUfQlqGHxSMKv1P0XN5BqMeKG1P4Wp5QfZDUCEldppoX0U6ss2jIko2XpURKCIhfaOqLPfShdtS37ZrT+jFRSH2xYVV1rmT/MBtRQhxiO4MQ3iAGlaZi+9PWBEIXOVnu9jN1f921lWLZky9bqbM3J2MAAI9jmuAx3gyoEUa6P2ivs0EeNv/OR+AX6q5SW6l5HaoFuS6jr6yg9limu+P0KYKzfMXWcQSfTXzpOzKEKpwI3YGXZpSSy2LTlMgfmFA3CF6R5c9xWEtRuCg2ZPUQ2Nb6dRFTNd4TfGHrnEWSKHPuRyiJSDAZ+KX0VxmSHjGPbQTLVpqixia2uyhQ394gBMt7C3ZAmxn/DJS+l1fBsAo2Eir/C0jG9csd4+/tp12pPc/BVJGaK9mfvr7M/CeztrmCO5qY06Edi4xAGtiEhnWAbzLy2VEyazE1J5nPmgU4RpW4Sa0TnOT6w5lgt3/tMpROigHHmexBGAMY0mdcDbDxWIz41NgdD6oxgHsJRgr5RnT6wZAkTOcStU4NMOQNemSO7gxGahdEsC+NRVGxMUhQmmM0llWRbbmFGHzEqLM4Iw0H7577Kyo+Zf+2cUFIOw93gEY171vQaM0HLwpjpdRR6Jz7V0ckE7XzYJ0TmY9znLdzkva0vNrAGGT5SUZ5uaHDkcGvI0ySpwkasEgZPMseYcu85w8HPdSNi+4T6A83iAwDbxgeFcB1ZM2iGXzFcEOUlYVrEckaOyodfvaYSQ7GuB4ISE0nYJc15X/1ciDTPbPCgYJK55VkEor4LvzL9S2WDy4xj+6FOqVyTAC2ZNowheeeSI5hA/02l8UYkv4nk9iaVn+kCVEUstgk5Hyq+gJm6R9vG3rhuM904he/hFmNQaUIATB1y3vw+OmxP4X5Yi6A5I5jJufHCjF9+AGNwnEllZjUco6XhsO5T5+R3yxz5yLVOnAn0zuS+6zdj0nTJbEZCbXJdtpfYZfCeCOqJHoE2vPPFS6eRLjIJlG69X93nfR0mxSFXzp1Zc0lt/VafDaImhUMtbnqWVb9M4nGNQLN68BHP7AR8Il9dkcxzmBv8PCZlw9guY0lurbBsmNYlwJZsA/B15/HfkbjbwPddaVecls/elmDHNW2r4crAx43feNkfRwsaNq/yyJ0d/p5hZ6AZajz7DBfUok0ZU62gCzz7x8eVfJTKA8IWn45vINLSM1q+HF9CV9qF3zP6Ml21kPPL3CXzkuYUlnSqT+Ij4tI/od5KwIs+tDajDs64owN7tOAd6eucGz+KfO26iNcBFpbWA5732bBNWO4kHNpr9D955L61bvHCF/mwSrz6eQaDjfDEANqGMkFc+NGxpKZzCD2sj/JrHd+zlPQ8Iz7Q+2JVIiVCuCKoK/hlAEHzvk/Piq3mRL1rT/fEh9hoT5GJmeYswg1otiKydizJ/fS2SeKHVu6Z3JEHjiW8NaTQgP5xdBli8nC57XiN9hrquBu99hn9zqwo92+PM2JXtpeVZS0PdqR5mDyDreMMtEws+CpwaRyyzoYtfcvt9PJIW0fJVNNi/FFyRsea7peLvJrL+5b4GOXJ8tAr+ATk9f8KmiIsRhqRy0vFzwRV3Z5dZ3QqIU8JQ/uQpkJbjMUMFj2F9sCFeaBjI4+fL/oN3+LQgjI4zuAfQ+3IPIPFQBccf0clJpsfpnBxD84atwtupkGqKvrH7cGNl/QcWcSi6wcVDML6ljOgYbo+2BOAWNNjlUBPiyitUAwbnhFvLbnqw42kR3Yp2kv2dMeDdcGOX5kT4S6M44KHEB/SpCfl7xgsUvs+JNY9G3O2X/6FEt9FyAn57lrbiu+tl83sCymSvq9eZbe9mchL7MTf/Ta78e80zSf0hYY5eUU7+ff14jv7Xy8qjzfzzzvaJnrIdvFb5BLWKcWGy5/w7+vV2cvIfwHqdTB+RuJK5oj9mbt0Hy94AmjMjjwYNZlNS6uiyxNnwNyt3gdreLb64p/3+08nXkb92LTkkRgFOwk1oGEVllcOj5lv1hfAZywDows0944U8vUFw+A/nuVq/UCygsrmWIBnHyU01d0XJPwriEOvx/ISK6Pk4y2w0gmojZs7lU8TtakBAdne4v/aNxmMpK4VcGMp7si0yqsiolXRuOi1Z1P7SqD3Zmp0CWcyK4Ubmp2SXiXuI5nGLCieFHKHNRIlcY3Pys2dwMTYCaqlyWSITwr2oGXvyU3h1Pf8eQ3w1bnD7ilocVjYDkcXR3Oo1BXgMLTUjNw2xMVwjtp99NhSVc5aIWrDQT5DHPKtCtheBP4zHcw4dz2eRdTMamhlHhtfgqJJHI7NGDUw1XL8vsSeSHyKqDtqoAmrQqsYwvwi7HW3ojWyhIa5oz5xJTaq14NAzFLjVLR12rRNUQ6xohDnrWFb5bG9yf8aCD8d5phoackcNJp+Dw3Due3RM+5Rid7EuIgsnwgpX0rUWh/nqPtByMhMZZ69NpgvRTKZ62ViZ+Q7Dp5r4K0d7EfJuiy06KuIYauRh5Ecrhdt2QpTS1k1AscEHvapNbU3HL1F2TFyR33Wxb5MvH5iZsrn3SDcsxlnnshO8PLwmdGN+paWnQuORtZGX37uhFT64SeuPsx8UOokY6ON85WdQ1dki5zErsJGazcBOddWJEKqNPiJpsMD1GrVLrVY+AOdPWQneTyyP1hRX/lMM4ZogGGOhYuAdr7F/DOiAoc++cn5vlf0zkMUJ40Z1rlgv9BelPqVOpxKeOpzKdF8maK+1Vv23MO9k/8+qpLoxrIGH2EDQlnGmH8CD31G8QqlyQIcpmR5bwmSVw9/Ns6IHgulCRehvZ/+VrM60Cu/r3AontFfrljew74skYe2uyn7JKQtFQBQRJ9ryGic/zQOsbS4scUBctA8cPToQ3x6ZBQu6DPu5m1bnCtP8TllLYA0UTQNVqza5nfew3Mopy1GPUwG5jsl0OVXniPmAcmLqO5HG8Hv3nSLecE9oOjPDXcsTxoCBxYyzBdj4wmnyEV4kvFDunipS8SSkvdaMnTBN9brHUR8xdmmEAp/Pdqk9uextp1t+JrtXwpN/MG2w/qhRMpSNxQ1uhg/kKO30eQ/FyHUDkWHT8V6gGRU4DhDMxZu7xXij9Ui6jlpWmQCqJg3FkOTq3WKneCRYZxBXMNAVLQgHXSCGSqNdjebY94oyIpVjMYehAiFx/tqzBXFHZaL5PeeD74rW5OysFoUXY8sebUZleFTUa/+zBKVTFDopTReXNuZq47QjkWnxjirCommO4L/GrFtVV21EpMyw8wyThL5Y59d88xtlx1g1ttSICDwnof6lt/6zliPzgVUL8jWBjC0o2D6Kg+jNuThkAlaDJsq/AG2aKA//A76avw2KNqtv223P+Wq3StRDDNKFFgtsFukYt1GFDWooFVXitaNhb3RCyJi4cMeNjROiPEDb4k+G3+hD8tsg+5hhmSc/8t2JTSwYoCzAI75doq8QTHe+E/Tw0RQSUDlU+6uBeNN3h6jJGX/mH8oj0i3caCNsjvTnoh73BtyZpsflHLq6AfwJNCDX4S98h4+pCOhGKDhV3rtkKHMa3EG4J9y8zFWI4UsfNzC/Rl5midNn7gwoN9j23HGCQQ+OAZpTTPMdiVow740gIyuEtd0qVxMyNXhHcnuXRKdw5wDUSL358ktjMXmAkvIB73BLa1vfF9BAUZInPYJiwxqFWQQBVk7gQH4ojfUQ/KEjn+A/WR6EEe4CtbpoLe1mzHkajgTIoE0SLDHVauKhrq12zrAXBGbPPWKCt4DGedq3JyGRbmPFW32bE7T20+73BatV/qQhhBWfWBFHfhYWXjALts38FemnoT+9bn1jDBMcUMmYgSc0e7GQjv2MUBwLU8ionCpgV+Qrhg7iUIfUY6JFxR0Y+ZTCPM+rVuq0GNLyJXX6nrUTt8HzFBRY1E/FIm2EeVA9NcXrj7S6YYIChVQCWr/m2fYUjC4j0XLkzZ8GCSLfmkW3PB/xq+nlXsKVBOj7vTvqKCOMq7Ztqr3cQ+N8gBnPaAps+oGwWOkbuxnRYj/x/WjiDclVrs22xMK4qArE1Ztk1456kiJriw6abkNeRHogaPRBgbgF9Z8i/tbzWELN4CvbqtrqV9TtGSnmPS2F9kqOIBaazHYaJ9bi3AoDBvlZasMluxt0BDXfhp02Jn411aVt6S4TUB8ZgFDkI6TP6gwPY85w+oUQSsjIeXVminrwIdK2ZAawb8Se6XOJbOaliQxHSrnAeONDLuCnFejIbp4YDtBcQCwMsYiRZfHefuEJqJcwKTTJ8sx5hjHmJI1sPFHOr6W9AhZ2NAod38mnLQk1gOz2LCAohoQbgMbUK9RMEA3LkiF7Sr9tLZp6lkciIGhE2V546w3Mam53VtVkGbB9w0Yk2XiRnCmbpxmHr2k4eSC0RuNbjNsUfDIfc8DZvRvgUDe1IlKdZTzcT4ZGEb53dp8VtsoZlyXzLHOdAbsp1LPTVaHvLA0GYDFMbAW/WUBfUAdHwqLFAV+3uHvYWrCfhUOR2i89qvCBoOb48usAGdcF2M4aKn79k/43WzBZ+xR1L0uZfia70XP9soQReeuhZiUnXFDG1T8/OXNmssTSnYO+3kVLAgeiY719uDwL9FQycgLPessNihMZbAKG7qwPZyG11G1+ZA3jAX2yddpYfmaKBlmfcK/V0mwIRUDC0nJSOPUl2KB8h13F4dlVZiRhdGY5farwN+f9hEb1cRi41ZcGDn6Xe9MMSTOY81ULJyXIHSWFIQHstVYLiJEiUjktlHiGjntN5/btB8Fu+vp28zl2fZXN+dJDyN6EXhS+0yzqpl/LSJNEUVxmu7BsNdjAY0jVsAhkNuuY0E1G48ej25mSt+00yPbQ4SRCVkIwb6ISvYtmJRPz9Zt5dk76blf+lJwAPH5KDF+vHAmACLoCdG2Adii6dOHnNJnTmZtoOGO8Q1jy1veMw6gbLFToQmfJa7nT7Al89mRbRkZZQxJTKgK5Kc9INzmTJFp0tpAPzNmyL/F08bX3nhCumM/cR/2RPn9emZ3VljokttZD1zVWXlUIqEU7SLk5I0lFRU0AcENXBYazNaVzsVHA/sD3o9hm42wbHIRb/BBQTKzAi8s3+bMtpOOZgLdQzCYPfX3UUxKd1WYVkGH7lh/RBBgMZZwXzU9+GYxdBqlGs0LP+DZ5g2BWNh6FAcR944B+K/JTWI3t9YyVyRhlP4CCoUk/mmF7+r2pilVBjxXBHFaBfBtr9hbVn2zDuI0kEOG3kBx8CGdPOjX1ph1POOZJUO1JEGG0jzUy2tK4X0CgVNYhmkqqQysRNtKuPdCJqK3WW57kaV17vXgiyPrl4KEEWgiGF1euI4QkSFHFf0TDroQiLNKJiLbdhH0YBhriRNCHPxSqJmNNoketaioohqMglh6wLtEGWSM1EZbQg72h0UJAIPVFCAJOThpQGGdKfFovcwEeiBuZHN2Ob4uVM7+gwZLz1D9E7ta4RmMZ24OBBAg7Eh6dLXGofZ4U2TFOCQMKjwhVckjrydRS+YaqCw1kYt6UexuzbNEDyYLTZnrY1PzsHZJT4U+awO2xlqTSYu6n/U29O2wPXgGOEKDMSq+zTUtyc8+6iLp0ivav4FKx+xxVy4FxhIF/pucVDqpsVe2jFOfdZhTzLz2QjtzvsTCvDPU7bzDH2eXVKUV9TZ+qFtaSSxnYgYdXKwVreIgvWhT9eGDB2OvnWyPLfIIIfNnfIxU8nW7MbcH05nhlsYtaW9EZRsxWcKdEqInq1DiZPKCz7iGmAU9/ccnnQud2pNgIGFYOTAWjhIrd63aPDgfj8/sdlD4l+UTlcxTI9jbaMqqN0gQxSHs60IAcW3cH4p3V1aSciTKB29L1tz2eUQhRiTgTvmqc+sGtBNh4ky0mQJGsdycBREP+fAaSs1EREDVo5gvgi5+aCN7NECw30owbCc1mSpjiahyNVwJd1jiGgzSwfTpzf2c5XJvG/g1n0fH88KHNnf+u7ZiRMlXueSIsloJBUtW9ezvsx9grfsX/FNxnbxU1Lvg0hLxixypHKGFAaPu0xCD8oDTeFSyfRT6s8109GMUZL8m2xXp8X2dpPCWWdX84iga4BrTlOfqox4shqEgh/Ht4qRst52cA1xOIUuOxgfUivp6v5f8IVyaryEdpVk72ERAwdT4aoY1usBgmP+0m06Q216H/nubtNYxHaOIYjcach3A8Ez/zc0KcShhel0HCYjFsA0FjYqyJ5ZUH1aZw3+zWC0hLpM6GDfcAdn9fq2orPmZbW6XXrf+Krc9RtvII5jeD3dFoT1KwZJwxfUMvc5KLfn8rROW23Jw89sJ2a5dpB3qWDUBWF2iX8OCuKprHosJ2mflBR+Wqs86VvgI/XMnsqb97+VlKdPVysczPj8Jhzf+WCvGBHijAqYlavbF60soMWlHbvKT+ScvhprgeTln51xX0sF+Eadc/l2s2a5BgkVbHYyz0E85p0LstqH+gEGiR84nBRRFIn8hLSZrGwqjZ3E29cuGi+5Z5bp7EM8MWFa9ssS/vy4VrDfECSv7DSU84DaP0sXI3Ap4lWznQ65nQoTKRWU30gd7Nn8ZowUvGIx4aqyXGwmA/PB4qN8msJUODezUHEl0VP9uo+cZ8vPFodSIB4C7lQYjEFj8yu49C2KIV3qxMFYTevG8KqAr0TPlkbzHHnTpDpvpzziAiNFh8xiT7C/TiyH0EguUw4vxAgpnE27WIypV+uFN2zW7xniF/n75trs9IJ5amB1zXXZ1LFkJ6GbS/dFokzl4cc2mamVwhL4XU0Av5gDWAl+aEWhAP7t2VIwU+EpvfOPDcLASX7H7lZpXA2XQfbSlD4qU18NffNPoAKMNSccBfO9YVVgmlW4RydBqfHAV7+hrZ84WJGho6bNT0YMhxxLdOx/dwGj0oyak9aAkNJ8lRJzUuA8sR+fPyiyTgUHio5+Pp+YaKlHrhR41jY5NESPS3x+zTMe0S2HnLOKCOQPpdxKyviBvdHrCDRqO+l96HhhNBLXWv4yEMuEUYo8kXnYJM8oIgVM4XJ+xXOev4YbWeqsvgq0lmw4/PiYr9sYLt+W5EAuYSFnJEan8CwJwbtASBfLBBpJZiRPor/aCJBZsM+MhvS7ZepyHvU8m5WSmaZnxuLts8ojl6KkS8oSAHkq5GWlCB/NgJ5W3rO2Cj1MK7ahxsCrbTT3a0V/QQH+sErxV4XUWDHx0kkFy25bPmBMBQ6BU3HoHhhYcJB9JhP6NXUWKxnE0raXHB6U9KHpWdQCQI72qevp5fMzcm+AvC85rsynVQhruDA9fp9COe7N56cg1UKGSas89vrN+WlGLYTwi5W+0xYdKEGtGCeNJwXKDU0XqU5uQYnWsMwTENLGtbQMvoGjIFIEMzCRal4rnBAg7D/CSn8MsCvS+FDJJAzoiioJEhZJgAp9n2+1Yznr7H+6eT4YkJ9Mpj60ImcW4i4iHDLn9RydB8dx3QYm3rsX6n4VRrZDsYK6DCGwkwd5n3/INFEpk16fYpP6JtMQpqEMzcOfQGAHXBTEGzuLJ03GYQL9bmV2/7ExDlRf+Uvf1sM2frRtCWmal12pMgtonvSCtR4n1CLUZRdTHDHP1Otwqd+rcdlavnKjUB/OYXQHUJzpNyFoKpQK+2OgrEKpGyIgIBgn2y9QHnTJihZOpEvOKIoHAMGAXHmj21Lym39Mbiow4IF+77xNuewziNVBxr6KD5e+9HzZSBIlUa/AmsDFJFXeyrQakR3FwowTGcADJHcEfhGkXYNGSYo4dh4bxwLM+28xjiqkdn0/3R4UEkvcBrBfn/SzBc1XhKM2VPlJgKSorjDac96V2UnQYXl1/yZPT4DVelgO+soMjexXwYO58VLl5xInQUZI8jc3H2CPnCNb9X05nOxIy4MlecasTqGK6s2az4RjpF2cQP2G28R+7wDPsZDZC/kWtjdoHC7SpdPmqQrUAhMwKVuxCmYTiD9q/O7GHtZvPSN0CAUQN/rymXZNniYLlJDE70bsk6Xxsh4kDOdxe7A2wo7P9F5YvqqRDI6brf79yPCSp4I0jVoO4YnLYtX5nzspR5WB4AKOYtR1ujXbOQpPyYDvfRE3FN5zw0i7reehdi7yV0YDRKRllGCGRk5Yz+Uv1fYl2ZwrnGsqsjgAVo0xEUba8ohjaNMJNwTwZA/wBDWFSCpg1eUH8MYL2zdioxRTqgGQrDZxQyNzyBJPXZF0+oxITJAbj7oNC5JwgDMUJaM5GqlGCWc//KCIrI+aclEe4IA0uzv7cuj6GCdaJONpi13O544vbtIHBF+A+JeDFUQNy61Gki3rtyQ4aUywn6ru314/dkGiP8Iwjo0J/2Txs49ZkwEl4mx+iYUUO55I6pJzU4P+7RRs+DXZkyKUYZqVWrPF4I94m4Wx1tXeE74o9GuX977yvJ/jkdak8+AmoHVjI15V+WwBdARFV2IPirJgVMdsg1Pez2VNHqa7EHWdTkl3XTcyjG9BiueWFvQfXI8aWSkuuRmqi/HUuzqyvLJfNfs0txMqldYYflWB1BS31WkuPJGGwXUCpjiQSktkuBMWwHjSkQxeehqw1Kgz0Trzm7QbtgxiEPDVmWCNCAeCfROTphd1ZNOhzLy6XfJyG6Xgd5MCAZw4xie0Sj5AnY1/akDgNS9YFl3Y06vd6FAsg2gVQJtzG7LVq1OH2frbXNHWH/NY89NNZ4QUSJqL2yEcGADbT38X0bGdukqYlSoliKOcsSTuqhcaemUeYLLoI8+MZor2RxXTRThF1LrHfqf/5LcLAjdl4EERgUysYS2geE+yFdasU91UgUDsc2cSQ1ZoT9+uLOwdgAmifwQqF028INc2IQEDfTmUw3eZxvz7Ud1z3xc1PQfeCvfKsB9jOhRj7rFyb9XcDWLcYj0bByosychMezMLVkFiYcdBBQtvI6K0KRuOZQH2kBsYHJaXTkup8F0eIhO1/GcIwWKpr2mouB7g5TUDJNvORXPXa/mU8bh27TAZYBe2sKx4NSv5OjnHIWD2RuysCzBlUfeNXhDd2jxnHoUlheJ3jBApzURy0fwm2FwwsSU0caQGl0Kv8hopRQE211NnvtLRsmCNrhhpEDoNiZEzD2QdJWKbRRWnaFedXHAELSN0t0bfsCsMf0ktfBoXBoNA+nZN9+pSlmuzspFevmsqqcMllzzvkyXrzoA+Ryo1ePXpdGOoJvhyru+EBRsmOp7MXZ0vNUMUqHLUoKglg1p73sWeZmPc+KAw0pE2zIsFFE5H4192KwDvDxdxEYoDBDNZjbg2bmADTeUKK57IPD4fTYF4c6EnXx/teYMORBDtIhPJneiZny7Nv/zG+YmekIKCoxr6kauE2bZtBLufetNG0BtBY7f+/ImUypMBvdWu/Q7vTMRzw5aQGZWuc1V0HEsItFYMIBnoKGZ0xcarba/TYZq50kCaflFysYjA4EDKHqGdpYWdKYmm+a7TADmW35yfnOYpZYrkpVEtiqF0EujI00aeplNs2k+qyFZNeE3CDPL9P6b4PQ/kataHkVpLSEVGK7EX6rAa7IVNrvZtFvOA6okKvBgMtFDAGZOx88MeBcJ8AR3AgUUeIznAN6tjCUipGDZONm1FjWJp4A3QIzSaIOmZ7DvF/ysYYbM/fFDOV0jntAjRdapxJxL0eThpEhKOjCDDq2ks+3GrwxqIFKLe1WdOzII8XIOPGnwy6LKXVfpSDOTEfaRsGujhpS4hBIsMOqHbl16PJxc4EkaVu9wpEYlF/84NSv5Zum4drMfp9yXbzzAOJqqS4YkI4cBrFrC7bMPiCfgI3nNZAqkk3QOZqR+yyqx+nDQKBBBZ7QKrfGMCL+XpqFaBJU0wpkBdAhbR4hJsmT5aynlvkouoxm/NjD5oe6BzVIO9uktM+/5dEC5P7vZvarmuO/lKXz4sBabVPIATuKTrwbJP8XUkdM6uEctHKXICUJGjaZIWRbZp8czquQYfY6ynBUCfIU+gG6wqSIBmYIm9pZpXdaL121V7q0VjDjmQnXvMe7ysoEZnZL15B0SpxS1jjd83uNIOKZwu5MPzg2NhOx3xMOPYwEn2CUzbSrwAs5OAtrz3GAaUkJOU74XwjaYUmGJdZBS1NJVkGYrToINLKDjxcuIlyfVsKQSG/G4DyiO2SlQvJ0d0Ot1uOG5IFSAkq+PRVMgVMDvOIJMdqjeCFKUGRWBW9wigYvcbU7CQL/7meF2KZAaWl+4y9uhowAX7elogAvItAAxo2+SFxGRsHGEW9BnhlTuWigYxRcnVUBRQHV41LV+Fr5CJYV7sHfeywswx4XMtUx6EkBhR+q8AXXUA8uPJ73Pb49i9KG9fOljvXeyFj9ixgbo6CcbAJ7WHWqKHy/h+YjBwp6VcN7M89FGzQ04qbrQtgrOFybg3gQRTYG5xn73ArkfQWjCJROwy3J38Dx/D7jOa6BBNsitEw1wGq780EEioOeD+ZGp2J66ADiVGMayiHYucMk8nTK2zzT9CnEraAk95kQjy4k0GRElLL5YAKLQErJ5rp1eay9O4Fb6yJGm9U4FaMwPGxtKD6odIIHKoWnhKo1U8KIpFC+MVn59ZXmc7ZTBZfsg6FQ8W10YfTr4u0nYrpHZbZ1jXiLmooF0cOm0+mPnJBXQtepc7n0BqOipNCqI6yyloTeRShNKH04FIo0gcMk0H/xThyN4pPAWjDDkEp3lNNPRNVfpMI44CWRlRgViP64eK0JSRp0WUvCWYumlW/c58Vcz/yMwVcW5oYb9+26TEhwvbxiNg48hl1VI1UXTU//Eta+BMKnGUivctfL5wINDD0giQL1ipt6U7C9cd4+lgqY2lMUZ02Uv6Prs+ZEZer7ZfWBXVghlfOOrClwsoOFKzWEfz6RZu1eCs+K8fLvkts5+BX0gyrFYve0C3qHrn5U/Oh6D/CihmWIrY7HUZRhJaxde+tldu6adYJ+LeXupQw0XExC36RETdNFxcq9glMu4cNQSX9cqR/GQYp+IxUkIcNGWVU7ZtGa6P3XAyodRt0XeS3Tp01AnCh0ZbUh4VrSZeV9RWfSoWyxnY3hzcZ30G/InDq4wxRrEejreBxnhIQbkxenxkaxl+k7eLUQkUR6vKJ2iDFNGX3WmVA1yaOH+mvhBd+sE6vacQzFobwY5BqEAFmejwW5ne7HtVNolOUgJc8CsUxmc/LBi8N5mu9VsIA5HyErnS6zeCz7VLI9+n/hbT6hTokMXTVyXJRKSG2hd2labXTbtmK4fNH3IZBPreSA4FMeVouVN3zG5x9CiGpLw/3pceo4qGqp+rVp+z+7yQ98oEf+nyH4F3+J9IheDBa94Wi63zJbLBCIZm7P0asHGpIJt3PzE3m0S4YIWyXBCVXGikj8MudDPB/6Nm2v4IxJ5gU0ii0guy5SUHqGUYzTP0jIJU5E82RHUXtX4lDdrihBLdP1YaG1AGUC12rQKuIaGvCpMjZC9bWSCYnjDlvpWbkdXMTNeBHLKiuoozMGIvkczmP0aRJSJ8PYnLCVNhKHXBNckH79e8Z8Kc2wUej4sQZoH8qDRGkg86maW/ZQWGNnLcXmq3FlXM6ssR/3P6E/bHMvm6HLrv1yRixit25JsH3/IOr2UV4BWJhxXW5BJ6Xdr07n9kF3ZNAk6/Xpc5MSFmYJ2R7bdL8Kk7q1OU9Elg/tCxJ8giT27wSTySF0GOxg4PbYJdi/Nyia9Nn89CGDulfJemm1aiEr/eleGSN+5MRrVJ4K6lgyTTIW3i9cQ0dAi6FHt0YMbH3wDSAtGLSAccezzxHitt1QdhW36CQgPcA8vIIBh3/JNjf/Obmc2yzpk8edSlS4lVdwgW5vzbYEyFoF4GCBBby1keVNueHAH+evi+H7oOVfS3XuPQSNTXOONAbzJeSb5stwdQHl1ZjrGoE49I8+A9j3t+ahhQj74FCSWpZrj7wRSFJJnnwi1T9HL5qrCFW/JZq6P62XkMWTb+u4lGpKfmmwiJWx178GOG7KbrZGqyWwmuyKWPkNswkZ1q8uptUlviIi+AXh2bOOTOLsrtNkfqbQJeh24reebkINLkjut5r4d9GR/r8CBa9SU0UQhsnZp5cP+RqWCixRm7i4YRFbtZ4EAkhtNa6jHb6gPYQv7MKqkPLRmX3dFsK8XsRLVZ6IEVrCbmNDc8o5mqsogjAQfoC9Bc7R6gfw03m+lQpv6kTfhxscDIX6s0w+fBxtkhjXAXr10UouWCx3C/p/FYwJRS/AXRKkjOb5CLmK4XRe0+xeDDwVkJPZau52bzLEDHCqV0f44pPgKOkYKgTZJ33fmk3Tu8SdxJ02SHM8Fem5SMsWqRyi2F1ynfRJszcFKykdWlNqgDA/L9lKYBmc7Zu/q9ii1FPF47VJkqhirUob53zoiJtVVRVwMR34gV9iqcBaHbRu9kkvqk3yMpfRFG49pKKjIiq7h/VpRwPGTHoY4cg05X5028iHsLvUW/uz+kjPyIEhhcKUwCkJAwbR9pIEGOn8z6svAO8i89sJ3dL5qDWFYbS+HGPRMxYwJItFQN86YESeJQhn2urGiLRffQeLptDl8dAgb+Tp47UQPxWOw17OeChLN1WnzlkPL1T5O+O3Menpn4C3IY5LEepHpnPeZHbvuWfeVtPlkH4LZjPbBrkJT3NoRJzBt86CO0Xq59oQ+8dsm0ymRcmQyn8w71mhmcuEI5byuF+C88VPYly2sEzjlzAQ3vdn/1+Hzguw6qFNNbqenhZGbdiG6RwZaTG7jTA2X9RdXjDN9yj1uQpyO4Lx8KRAcZcbZMafp4wPOd5MdXoFY52V1A8M9hi3sso93+uprE0qYNMjkE22CvK4HuUxqN7oIz5pWuETq1lQAjqlSlqdD2Rnr/ggp/TVkQYjn9lMfYelk2sH5HPdopYo7MHwlV1or9Bxf+QCyLzm92vzG2wjiIjC/ZHEJzeroJl6bdFPTpZho5MV2U86fLQqxNlGIMqCGy+9WYhJ8ob1r0+Whxde9L2PdysETv97O+xVw+VNN1TZSQN5I6l9m5Ip6pLIqLm4a1B1ffH6gHyqT9p82NOjntRWGIofO3bJz5GhkvSWbsXueTAMaJDou99kGLqDlhwBZNEQ4mKPuDvVwSK4WmLluHyhA97pZiVe8g+JxmnJF8IkV/tCs4Jq/HgOoAEGR9tCDsDbDmi3OviUQpG5D8XmKcSAUaFLRXb2lmJTNYdhtYyfjBYZQmN5qT5CNuaD3BVnlkCk7bsMW3AtXkNMMTuW4HjUERSJnVQ0vsBGa1wo3Qh7115XGeTF3NTz8w0440AgU7c3bSXO/KMINaIWXd0oLpoq/0/QJxCQSJ9XnYy1W7TYLBJpHsVWD1ahsA7FjNvRd6mxCiHsm8g6Z0pnzqIpF1dHUtP2ITU5Z1hZHbu+L3BEEStBbL9XYvGfEakv1bmf+bOZGnoiuHEdlBnaChxYKNzB23b8sw8YyT7Ajxfk49eJIAvdbVkdFCe2J0gMefhQ0bIZxhx3fzMIysQNiN8PgOUKxOMur10LduigREDRMZyP4oGWrP1GFY4t6groASsZ421os48wAdnrbovNhLt7ScNULkwZ5AIZJTrbaKYTLjA1oJ3sIuN/aYocm/9uoQHEIlacF1s/TM1fLcPTL38O9fOsjMEIwoPKfvt7opuI9G2Hf/PR4aCLDQ7wNmIdEuXJ/QNL72k5q4NejAldPfe3UVVqzkys8YZ/jYOGOp6c+YzRCrCuq0M11y7TiN6qk7YXRMn/gukxrEimbMQjr3jwRM6dKVZ4RUfWQr8noPXLJq6yh5R3EH1IVOHESst/LItbG2D2vRsZRkAObzvQAAD3mb3/G4NzopI0FAiHfbpq0X72adg6SRj+8OHMShtFxxLZlf/nLgRLbClwl5WmaYSs+yEjkq48tY7Z2bE0N91mJwt+ua0NlRJIDh0HikF4UvSVorFj2YVu9YeS5tfvlVjPSoNu/Zu6dEUfBOT555hahBdN3Sa5Xuj2Rvau1lQNIaC944y0RWj9UiNDskAK1WoL+EfXcC6IbBXFRyVfX/WKXxPAwUyIAGW8ggZ08hcijKTt1YKnUO6QPvcrmDVAb0FCLIXn5id4fD/Jx4tw/gbXs7WF9b2RgXtPhLBG9vF5FEkdHAKrQHZAJC/HWvk7nvzzDzIXZlfFTJoC3JpGgLPBY7SQTjGlUvG577yNutZ1hTfs9/1nkSXK9zzKLRZ3VODeKUovJe0WCq1zVMYxCJMenmNzPIU2S8TA4E7wWmbNkxq9rI2dd6v0VpcAPVMxnDsvWTWFayyqvKZO7Z08a62i/oH2/jxf8rpmfO64in3FLiL1GX8IGtVE9M23yGsIqJbxDTy+LtaMWDaPqkymb5VrQdzOvqldeU0SUi6IirG8UZ3jcpRbwHa1C0Dww9G/SFX3gPvTJQE+kyz+g1BeMILKKO+olcHzctOWgzxYHnOD7dpCRtuZEXACjgqesZMasoPgnuDC4nUviAAxDc5pngjoAITIkvhKwg5d608pdrZcA+qn5TMT6Uo/QzBaOxBCLTJX3Mgk85rMfsnWx86oLxf7p2PX5ONqieTa/qM3tPw4ZXvlAp83NSD8F7+ZgctK1TpoYwtiU2h02HCGioH5tkVCqNVTMH5p00sRy2JU1qyDBP2CII/Dg4WDsIl+zgeX7589srx6YORRQMBfKbodbB743Tl4WLKOEnwWUVBsm94SOlCracU72MSyj068wdpYjyz1FwC2bjQnxnB6Mp/pZ+yyZXtguEaYB+kqhjQ6UUmwSFazOb+rhYjLaoiM+aN9/8KKn0zaCTFpN9eKwWy7/u4EHzO46TdFSNjMfn2iPSJwDPCFHc0I1+vjdAZw5ZjqR/uzi9Zn20oAa5JnLEk/EA3VRWE7J/XrupfFJPtCUuqHPpnlL7ISJtRpSVcB8qsZCm2QEkWoROtCKKxUh3yEcMbWYJwk6DlEBG0bZP6eg06FL3v6RPb7odGuwm7FN8fG4woqtB8e7M5klPpo97GoObNwt+ludTAmxyC5hmcFx+dIvEZKI6igFKHqLH01iY1o7903VzG9QGetyVx5RNmBYUU+zIuSva/yIcECUi4pRmE3VkF2avqulQEUY4yZ/wmNboBzPmAPey3+dSYtBZUjeWWT0pPwCz4Vozxp9xeClIU60qvEFMQCaPvPaA70WlOP9f/ey39macvpGCVa+zfa8gO44wbxpJUlC8GN/pRMTQtzY8Z8/hiNrU+Zq64ZfFGIkdj7m7abcK1EBtws1X4J/hnqvasPvvDSDYWN+QcQVGMqXalkDtTad5rYY0TIR1Eqox3czwPMjKPvF5sFv17Thujr1IZ1Ytl4VX1J0vjXKmLY4lmXipRAro0qVGEcXxEVMMEl54jQMd4J7RjgomU0j1ptjyxY+cLiSyXPfiEcIS2lWDK3ISAy6UZ3Hb5vnPncA94411jcy75ay6B6DSTzK6UTCZR9uDANtPBrvIDgjsfarMiwoax2OlLxaSoYn4iRgkpEGqEkwox5tyI8aKkLlfZ12lO11TxsqRMY89j5JaO55XfPJPDL1LGSnC88Re9Ai+Nu5bZjtwRrvFITUFHPR4ZmxGslQMecgbZO7nHk32qHxYkdvWpup07ojcMCaVrpFAyFZJJbNvBpZfdf39Hdo2kPtT7v0/f8R/B5Nz4f1t9/3zNM/7n6SUHfcWk5dfQFJvcJMgPolGCpOFb/WC0FGWU2asuQyT+rm88ZKZ78Cei/CAh939CH0JYbpZIPtxc2ufXqjS3pHH9lnWK4iJ7OjR/EESpCo2R3MYKyE7rHfhTvWho4cL1QdN4jFTyR6syMwFm124TVDDRXMNveI1Dp/ntwdz8k8kxw7iFSx6+Yx6O+1LzMVrN0BBzziZi9kneZSzgollBnVwBh6oSOPHXrglrOj+QmR/AESrhDpKrWT+8/AiMDxS/5wwRNuGQPLlJ9ovomhJWn8sMLVItQ8N/7IXvtD8kdOoHaw+vBSbFImQsv/OCAIui99E+YSIOMlMvBXkAt+NAZK8wB9Jf8CPtB+TOUOR+z71d/AFXpPBT6+A5FLjxMjLIEoJzrQfquvxEIi+WoUzGR1IzQFNvbYOnxb2PyQ0kGdyXKzW2axQL8lNAXPk6NEjqrRD1oZtKLlFoofrXw0dCNWASHzy+7PSzOUJ3XtaPZsxLDjr+o41fKuKWNmjiZtfkOzItvlV2MDGSheGF0ma04qE3TUEfqJMrXFm7DpK+27DSvCUVf7rbNoljPhha5W7KBqVq0ShUSTbRmuqPtQreVWH4JET5yMhuqMoSd4r/N8sDmeQiQQvi1tcZv7Moc7dT5X5AtCD6kNEGZOzVcNYlpX4AbTsLgSYYliiPyVoniuYYySxsBy5cgb3pD+EK0Gpb0wJg031dPgaL8JZt6sIvzNPEHfVPOjXmaXj4bd4voXzpZ5GApMhILgMbCEWZ2zwgdeQgjNHLbPIt+KqxRwWPLTN6HwZ0Ouijj4UF+Sg0Au8XuIKW0WxlexdrFrDcZJ8Shauat3X0XmHygqgL1nAu2hrJFb4wZXkcS+i36KMyU1yFvYv23bQUJi/3yQpqr/naUOoiEWOxckyq/gq43dFou1DVDaYMZK9tho7+IXXokBCs5GRfOcBK7g3A+jXQ39K4YA8PBRW4m5+yR0ZAxWJncjRVbITvIAPHYRt1EJ3YLiUbqIvoKHtzHKtUy1ddRUQ0AUO41vonZDUOW+mrszw+SW/6Q/IUgNpcXFjkM7F4CSSQ2ExZg85otsMs7kqsQD4OxYeBNDcSpifjMoLb7GEbGWTwasVObmB/bfPcUlq0wYhXCYEDWRW02TP5bBrYsKTGWjnWDDJ1F7zWai0zW/2XsCuvBQjPFcTYaQX3tSXRSm8hsAoDdjArK/OFp6vcWYOE7lizP0Yc+8p16i7/NiXIiiQTp7c7Xus925VEtlKAjUdFhyaiLT7VxDagprMFwix4wZ05u0qj7cDWFd0W9OYHIu3JbJKMXRJ1aYNovugg+QqRN7fNHSi26VSgBpn+JfMuPo3aeqPWik/wI5Rz3BWarPQX4i5+dM0npwVOsX+KsOhC7vDg+OJsz4Q5zlnIeflUWL6QYMbf9WDfLmosLF4Qev3mJiOuHjoor/dMeBpA9iKDkMjYBNbRo414HCxjsHrB4EXNbHzNMDHCLuNBG6Sf+J4MZ/ElVsDSLxjIiGsTPhw8BPjxbfQtskj+dyNMKOOcUYIRBEIqbazz3lmjlRQhplxq673VklMMY6597vu+d89ec/zq7Mi4gQvh87ehYbpOuZEXj5g/Q7S7BFDAAB9DzG35SC853xtWVcnZQoH54jeOqYLR9NDuwxsVthTV7V99n/B7HSbAytbEyVTz/5NhJ8gGIjG0E5j3griULUd5Rg7tQR+90hJgNQKQH2btbSfPcaTOfIexc1db1BxUOhM1vWCpLaYuKr3FdNTt/T3PWCpEUWDKEtzYrjpzlL/wri3MITKsFvtF8QVV/NhVo97aKIBgdliNc10dWdXVDpVtsNn+2UIolrgqdWA4EY8so0YvB4a+aLzMXiMAuOHQrXY0tr+CL10JbvZzgjJJuB1cRkdT7DUqTvnswVUp5kkUSFVtIIFYK05+tQxT6992HHNWVhWxUsD1PkceIrlXuUVRogwmfdhyrf6zzaL8+c0L7GXMZOteAhAVQVwdJh+7nrX7x4LaIIfz2F2v7Dg/uDfz2Fa+4gFm2zHAor8UqimJG3VTJtZEoFXhnDYXvxMJFc6ku2bhbCxzij2z5UNuK0jmp1mnvkVNUfR+SEmj1Lr94Lym75PO7Fs0MIr3GdsWXRXSfgLTVY0FLqba97u1In8NAcY7IC6TjWLigwKEIm43NxTdaVTv9mcKkzuzBkKd8x/xt1p/9BbP7Wyb4bpo1K1gnOpbLvKz58pWl3B55RJ/Z5mRDLPtNQg14jdOEs9+h/V5UVpwrAI8kGbX8KPVPDIMfIqKDjJD9UyDOPhjZ3vFAyecwyq4akUE9mDOtJEK1hpDyi6Ae87sWAClXGTiwPwN7PXWwjxaR79ArHRIPeYKTunVW24sPr/3HPz2IwH8oKH4OlWEmt4BLM6W5g4kMcYbLwj2usodD1088stZA7VOsUSpEVl4w7NMb1EUHMRxAxLF0CIV+0L3iZb+ekB1vSDSFjAZ3hfLJf7gFaXrOKn+mhR+rWw/eTXIcAgl4HvFuBg1LOmOAwJH3eoVEjjwheKA4icbrQCmvAtpQ0mXG0agYp5mj4Rb6mdQ+RV4QBPbxMqh9C7o8nP0Wko2ocnCHeRGhN1XVyT2b9ACsL+6ylUy+yC3QEnaKRIJK91YtaoSrcWZMMwxuM0E9J68Z+YyjA0g8p1PfHAAIROy6Sa04VXOuT6A351FOWhKfTGsFJ3RTJGWYPoLk5FVK4OaYR9hkJvezwF9vQN1126r6isMGXWTqFW+3HL3I/jurlIdDWIVvYY+s6yq7lrFSPAGRdnU7PVwY/SvWbZGpXzy3BQ2LmAJlrONUsZs4oGkly0V267xbD5KMY8woNNsmWG1VVgLCra8aQBBcI4DP2BlNwxhiCtHlaz6OWFoCW0vMR3ErrG7JyMjTSCnvRcsEHgmPnwA6iNpJ2DrFb4gLlhKJyZGaWkA97H6FFdwEcLT6DRQQL++fOkVC4cYGW1TG/3iK5dShRSuiBulmihqgjR45Vi03o2RbQbP3sxt90VxQ6vzdlGfkXmmKmjOi080JSHkLntjvsBJnv7gKscOaTOkEaRQqAnCA4HWtB4XnMtOhpRmH2FH8tTXrIjAGNWEmudQLCkcVlGTQ965Kh0H6ixXbgImQP6b42B49sO5C8pc7iRlgyvSYvcnH9FgQ3azLbQG2cUW96SDojTQStxkOJyOuDGTHAnnWkz29aEwN9FT8EJ4yhXOg+jLTrCPKeEoJ9a7lDXOjEr8AgX4BmnMQ668oW0zYPyQiVMPxKRHtpfnEEyaKhdzNVThlxxDQNdrHeZiUFb6NoY2KwvSb7BnRcpJy+/g/zAYx3fYSN5QEaVD2Y1VsNWxB0BSO12MRsRY8JLfAezRMz5lURuLUnG1ToKk6Q30FughqWN6gBNcFxP/nY/iv+iaUQOa+2Nuym46wtI/DvSfzSp1jEi4SdYBE7YhTiVV5cX9gwboVDMVgZp5YBQlHOQvaDNfcCoCJuYhf5kz5kwiIKPjzgpcRJHPbOhJajeoeRL53cuMahhV8Z7IRr6M4hW0JzT7mzaMUzQpm866zwM7Cs07fJYXuWvjAMkbe5O6V4bu71sOG6JQ4oL8zIeXHheFVavzxmlIyBkgc9IZlEDplMPr8xlcyss4pVUdwK1e7CK2kTsSdq7g5SHRAl3pYUB9Ko4fsh4qleOyJv1z3KFSTSvwEcRO/Ew8ozEDYZSqpfoVW9uhJfYrNAXR0Z3VmeoAD+rVWtwP/13sE/3ICX3HhDG3CMc476dEEC0K3umSAD4j+ZQLVdFOsWL2C1TH5+4KiSWH+lMibo+B55hR3Gq40G1n25sGcN0mEcoU2wN9FCVyQLBhYOu9aHVLWjEKx2JIUZi5ySoHUAI9b8hGzaLMxCZDMLhv8MkcpTqEwz9KFDpCpqQhVmsGQN8m24wyB82FAKNmjgfKRsXRmsSESovAwXjBIoMKSG51p6Um8b3i7GISs7kjTq/PZoioCfJzfKdJTN0Q45kQEQuh9H88M3yEs3DbtRTKALraM0YC8laiMiOOe6ADmTcCiREeAWZelBaEXRaSuj2lx0xHaRYqF65O0Lo5OCFU18A8cMDE4MLYm9w2QSr9NgQAIcRxZsNpA7UJR0e71JL+VU+ISWFk5I97lra8uGg7GlQYhGd4Gc6rxsLFRiIeGO4abP4S4ekQ1fiqDCy87GZHd52fn5aaDGuvOmIofrzpVwMvtbreZ/855OaXTRcNiNE0wzGZSxbjg26v8ko8L537v/XCCWP2MFaArJpvnkep0pA+O86MWjRAZPQRfznZiSIaTppy6m3p6HrNSsY7fDtz7Cl4V/DJAjQDoyiL2uwf1UHVd2AIrzBUSlJaTj4k6NL97a/GqhWKU9RUmjnYKpm2r+JYUcrkCuZKvcYvrg8pDoUKQywY9GDWg03DUFSirlUXBS5SWn/KAntnf0IdHGL/7mwXqDG+LZYjbEdQmqUqq4y54TNmWUP7IgcAw5816YBzwiNIJiE9M4lPCzeI/FGBeYy3p6IAmH4AjXXmvQ4Iy0Y82NTobcAggT2Cdqz6Mx4TdGoq9fn2etrWKUNFyatAHydQTVUQ2S5OWVUlugcNvoUrlA8cJJz9MqOa/W3iVno4zDHfE7zhoY5f5lRTVZDhrQbR8LS4eRLz8iPMyBL6o4PiLlp89FjdokQLaSBmKHUwWp0na5fE3v9zny2YcDXG/jfI9sctulHRbdkI5a4GOPJx4oAJQzVZ/yYAado8KNZUdEFs9ZPiBsausotXMNebEgr0dyopuqfScFJ3ODNPHgclACPdccwv0YJGQdsN2lhoV4HVGBxcEUeUX/alr4nqpcc1CCR3vR7g40zteQg/JvWmFlUE4mAiTpHlYGrB7w+U2KdSwQz2QJKBe/5eiixWipmfP15AFWrK8Sh1GBBYLgzki1wTMhGQmagXqJ2+FuqJ8f0XzXCVJFHQdMAw8xco11HhM347alrAu+wmX3pDFABOvkC+WPX0Uhg1Z5MVHKNROxaR84YV3s12UcM+70cJ460SzEaKLyh472vOMD3XnaK7zxZcXlWqenEvcjmgGNR2OKbI1s8U+iwiW+HotHalp3e1MGDy6BMVIvajnAzkFHbeVsgjmJUkrP9OAwnEHYXVBqYx3q7LvXjoVR0mY8h+ZaOnh053pdsGkmbqhyryN01eVHySr+CkDYkSMeZ1xjPNVM+gVLTDKu2VGsMUJqWO4TwPDP0VOg2/8ITbAUaMGb4LjL7L+Pi11lEVMXTYIlAZ/QHmTENjyx3kDkBdfcvvQt6tKk6jYFM4EG5UXDTaF5+1ZjRz6W7MdJPC+wTkbDUim4p5QQH3b9kGk2Bkilyeur8Bc20wm5uJSBO95GfYDI1EZipoRaH7uVveneqz43tlTZGRQ4a7CNmMHgXyOQQOL6WQkgMUTQDT8vh21aSdz7ERiZT1jK9F+v6wgFvuEmGngSvIUR2CJkc5tx1QygfZnAruONobB1idCLB1FCfO7N1ZdRocT8/Wye+EnDiO9pzqIpnLDl4bkaRKW+ekBVwHn46Shw1X0tclt/0ROijuUB4kIInrVJU4buWf4YITJtjOJ6iKdr1u+flgQeFH70GxKjhdgt/MrwfB4K/sXczQ+9zYcrD4dhY6qZhZ010rrxggWA8JaZyg2pYij8ieYEg1aZJkZK9O1Re7sB0iouf60rK0Gd+AYlp7soqCBCDGwfKeUQhCBn0E0o0GS6PdmjLi0TtCYZeqazqwN+yNINIA8Lk3iPDnWUiIPLGNcHmZDxfeK0iAdxm/T7LnN+gemRL61hHIc0NCAZaiYJR+OHnLWSe8sLrK905B5eEJHNlWq4RmEXIaFTmo49f8w61+NwfEUyuJAwVqZCLFcyHBKAcIVj3sNzfEOXzVKIndxHw+AR93owhbCxUZf6Gs8cz6/1VdrFEPrv330+9s6BtMVPJ3zl/Uf9rUi0Z/opexfdL3ykF76e999GPfVv8fJv/Y/+/5hEMon1tqNFyVRevV9y9/uIvsG3dbB8GRRrgaEXfhx+2xeOFt+cEn3RZanNxdEe2+B6MHpNbrRE53PlDifPvFcp4kO78ILR0T4xyW/WGPyBsqGdoA7zJJCu1TKbGfhnqgnRbxbB2B3UZoeQ2bz2sTVnUwokTcTU21RxN1PYPS3Sar7T0eRIsyCNowr9amwoMU/od9s2APtiKNL6ENOlyKADstAEWKA+sdKDhrJ6BOhRJmZ+QJbAaZ3/5Fq0/lumCgEzGEbu3yi0Y4I4EgVAjqxh4HbuQn0GrRhOWyAfsglQJAVL1y/6yezS2k8RE2MstJLh92NOB3GCYgFXznF4d25qiP4ZCyI4RYGesut6FXK6GwPpKK8WHEkhYui0AyEmr5Ml3uBFtPFdnioI8RiCooa7Z1G1WuyIi3nSNglutc+xY8BkeW3JJXPK6jd2VIMpaSxpVtFq+R+ySK9J6WG5Qvt+C+QH1hyYUOVK7857nFmyDBYgZ/o+AnibzNVqyYCJQvyDXDTK+iXdkA71bY7TL3bvuLxLBQ8kbTvTEY9aqkQ3+MiLWbEgjLzOH+lXgco1ERgzd80rDCymlpaRQbOYnKG/ODoFl46lzT0cjM5FYVvv0qLUbD5lyJtMUaC1pFlTkNONx6lliaX9o0i/1vws5bNKn5OuENQEKmLlcP4o2ZmJjD4zzd3Fk32uQ4uRWkPSUqb4LBe3EXHdORNB2BWsws5daRnMfNVX7isPSb1hMQdAJi1/qmDMfRUlCU74pmnzjbXfL8PVG8NsW6IQM2Ne23iCPIpryJjYbVnm5hCvKpMa7HLViNiNc+xTfDIaKm3jctViD8A1M9YPJNk003VVr4Zo2MuGW8vil8SLaGpPXqG7I4DLdtl8a4Rbx1Lt4w5Huqaa1XzZBtj208EJVGcmKYEuaeN27zT9EE6a09JerXdEbpaNgNqYJdhP1NdqiPKsbDRUi86XvvNC7rME5mrSQtrzAZVndtSjCMqd8BmaeGR4l4YFULGRBeXIV9Y4yxLFdyoUNpiy2IhePSWzBofYPP0eIa2q5JP4j9G8at/AqoSsLAUuRXtvgsqX/zYwsE+of6oSDbUOo4RMJw+DOUTJq+hnqwKim9Yy/napyZNTc2rCq6V9jHtJbxGPDwlzWj/Sk3zF/BHOlT/fSjSq7FqlPI1q6J+ru8Aku008SFINXZfOfnZNOvGPMtEmn2gLPt+H4QLA+/SYe4j398auzhKIp2Pok3mPC5q1IN1HgR+mnEfc4NeeHYwd2/kpszR3cBn7ni9NbIqhtSWFW8xbUJuUPVOeeXu3j0IGZmFNiwaNZ6rH4/zQ2ODz6tFxRLsUYZu1bfd1uIvfQDt4YD/efKYv8VF8bHGDgK22w2Wqwpi43vNCOXFJZCGMqWiPbL8mil6tsmOTXAWCyMCw73e2rADZj2IK6rqksM3EXF2cbLb4vjB14wa/yXK5vwU+05MzERJ5nXsXsW21o7M+gO0js2OyKciP5uF2iXyb2DiptwQeHeqygkrNsqVCSlldxBMpwHi1vfc8RKpP/4L3Lmpq6DZcvhDDfxTCE3splacTcOtXdK2g303dIWBVe2wD/Gvja1cClFQ67gw0t1ZUttsUgQ1Veky8oOpS6ksYEc4bqseCbZy766SvL3FodmnahlWJRgVCNjPxhL/fk2wyvlKhITH/VQCipOI0dNcRa5B1M5HmOBjTLeZQJy237e2mobwmDyJNHePhdDmiknvLKaDbShL+Is1XTCJuLQd2wmdJL7+mKvs294whXQD+vtd88KKk0DXP8B1Xu9J+xo69VOuFgexgTrcvI6SyltuLix9OPuE6/iRJYoBMEXxU4shQMf4Fjqwf1PtnJ/wWSZd29rhZjRmTGgiGTAUQqRz+nCdjeMfYhsBD5Lv60KILWEvNEHfmsDs2L0A252351eUoYxAysVaCJVLdH9QFWAmqJDCODUcdoo12+gd6bW2boY0pBVHWL6LQDK5bYWh1V8vFvi0cRpfwv7cJiMX3AZNJuTddHehTIdU0YQ/sQ1dLoF2xQPcCuHKiuCWOY30DHe1OwcClLAhqAKyqlnIbH/8u9ScJpcS4kgp6HKDUdiOgRaRGSiUCRBjzI5gSksMZKqy7Sd51aeg0tgJ+x0TH9YH2Mgsap9N7ENZdEB0bey2DMTrBA1hn56SErNHf3tKtqyL9b6yXEP97/rc+jgD2N1LNUH6RM9AzP3kSipr06RkKOolR7HO768jjWiH1X92jA7dkg7gcNcjqsZCgfqWw0tPXdLg20cF6vnQypg7gLtkazrHAodyYfENPQZsdfnjMZiNu4nJO97D1/sQE+3vNFzrSDOKw+keLECYf7RJwVHeP/j79833oZ0egonYB2FlFE5qj02B/LVOMJQlsB8uNg3Leg4qtZwntsOSNidR0abbZmAK4sCzvt8Yiuz2yrNCJoH5O8XvX/vLeR/BBYTWj0sOPYM/jyxRd5+/JziKAABaPcw/34UA3aj/gLZxZgRCWN6m4m3demanNgsx0P237/Q+Ew5VYnJPkyCY0cIVHoFn2Ay/e7U4P19APbPFXEHX94N6KhEMPG7iwB3+I+O1jd5n6VSgHegxgaSawO6iQCYFgDsPSMsNOcUj4q3sF6KzGaH/0u5PQoAj/8zq6Uc9MoNrGqhYeb2jQo0WlGlXjxtanZLS24/OIN5Gx/2g684BPDQpwlqnkFcxpmP/osnOXrFuu4PqifouQH0eF5qCkvITQbJw/Zvy5mAHWC9oU+cTiYhJmSfKsCyt1cGVxisKu+NymEQIAyaCgud/V09qT3nk/9s/SWsYtha7yNpzBIMM40rCSGaJ9u6lEkl00vXBiEt7p9P5IBCiavynEOv7FgLqPdeqxRiCwuFVMolSIUBcoyfUC2e2FJSAUgYdVGFf0b0Kn2EZlK97yyxrT2MVgvtRikfdaAW8RwEEfN+B7/eK8bBdp7URpbqn1xcrC6d2UjdsKbzCjBFqkKkoZt7Mrhg6YagE7spkqj0jOrWM+UGQ0MUlG2evP1uE1p2xSv4dMK0dna6ENcNUF+xkaJ7B764NdxLCpuvhblltVRAf7vK5qPttJ/9RYFUUSGcLdibnz6mf7WkPO3MkUUhR2mAOuGv8IWw5XG1ZvoVMnjSAZe6T7WYA99GENxoHkMiKxHlCuK5Gd0INrISImHQrQmv6F4mqU/TTQ8nHMDzCRivKySQ8dqkpQgnUMnwIkaAuc6/FGq1hw3b2Sba398BhUwUZSAIO8XZvnuLdY2n6hOXws+gq9BHUKcKFA6kz6FDnpxLPICa3qGhnc97bo1FT/XJk48LrkHJ2CAtBv0RtN97N21plfpXHvZ8gMJb7Zc4cfI6MbPwsW7AilCSXMFIEUEmir8XLEklA0ztYbGpTTGqttp5hpFTTIqUyaAIqvMT9A/x+Ji5ejA4Bhxb/cl1pUdOD6epd3yilIdO6j297xInoiBPuEDW2/UfslDyhGkQs7Wy253bVnlT+SWg89zYIK/9KXFl5fe+jow2rd5FXv8zDPrmfMXiUPt9QBO/iK4QGbX5j/7Rx1c1vzsY8ONbP3lVIaPrhL4+1QrECTN3nyKavGG0gBBtHvTKhGoBHgMXHStFowN+HKrPriYu+OZ05Frn8okQrPaaxoKP1ULCS/cmKFN3gcH7HQlVjraCeQmtjg1pSQxeuqXiSKgLpxc/1OiZsU4+n4lz4hpahGyWBURLi4642n1gn9qz9bIsaCeEPJ0uJmenMWp2tJmIwLQ6VSgDYErOeBCfSj9P4G/vI7oIF+l/n5fp956QgxGvur77ynawAu3G9MdFbJbu49NZnWnnFcQHjxRuhUYvg1U/e84N4JTecciDAKb/KYIFXzloyuE1eYXf54MmhjTq7B/yBToDzzpx3tJCTo3HCmVPYfmtBRe3mPYEE/6RlTIxbf4fSOcaKFGk4gbaUWe44hVk9SZzhW80yfW5QWBHxmtUzvMhfVQli4gZTktIOZd9mjJ5hsbmzttaHQB29Am3dZkmx3g/qvYocyhZ2PXAWsNQiIaf+Q8W/MWPIK7/TjvCx5q2XRp4lVWydMc2wIQkhadDB0xsnw/kSEyGjLKjI4coVIwtubTF3E7MJ6LS6UOsJKj82XVAVPJJcepfewbzE91ivXZvOvYfsmMevwtPpfMzGmC7WJlyW2j0jh7AF1JLmwEJSKYwIvu6DHc3YnyLH9ZdIBnQ+nOVDRiP+REpqv++typYHIvoJyICGA40d8bR7HR2k7do6UQTHF4oriYeIQbxKe4Th6+/l1BjUtS9hqORh3MbgvYrStXTfSwaBOmAVQZzpYNqsAmQyjY56MUqty3c/xH6GuhNvNaG9vGbG6cPtBM8UA3e8r51D0AR9kozKuGGSMgLz3nAHxDNnc7GTwpLj7/6HeWp1iksDeTjwCLpxejuMtpMnGJgsiku1sOACwQ9ukzESiDRN77YNESxR5LphOlcASXA5uIts1LnBIcn1J7BLWs49DMALSnuz95gdOrTZr0u1SeYHinno/pE58xYoXbVO/S+FEMMs5qyWkMnp8Q3ClyTlZP52Y9nq7b8fITPuVXUk9ohG5EFHw4gAEcjFxfKb3xuAsEjx2z1wxNbSZMcgS9GKyW3R6KwJONgtA64LTyxWm8Bvudp0M1FdJPEGopM4Fvg7G/hsptkhCfHFegv4ENwxPeXmYhxwZy7js+BeM27t9ODBMynVCLJ7RWcBMteZJtvjOYHb5lOnCLYWNEMKC59BA7covu1cANa2PXL05iGdufOzkgFqqHBOrgQVUmLEc+Mkz4Rq8O6WkNr7atNkH4M8d+SD1t/tSzt3oFql+neVs+AwEI5JaBJaxARtY2Z4mKoUqxds4UpZ0sv3zIbNoo0J4fihldQTX3XNcuNcZmcrB5LTWMdzeRuAtBk3cZHYQF6gTi3PNuDJ0nmR+4LPLoHvxQIxRgJ9iNNXqf2SYJhcvCtJiVWo85TsyFOuq7EyBPJrAdhEgE0cTq16FQXhYPJFqSfiVn0IQnPOy0LbU4BeG94QjdYNB0CiQ3QaxQqD2ebSMiNjaVaw8WaM4Z5WnzcVDsr4eGweSLa2DE3BWViaxhZFIcSTjgxNCAfelg+hznVOYoe5VqTYs1g7WtfTm3e4/WduC6p+qqAM8H4ZyrJCGpewThTDPe6H7CzX/zQ8Tm+r65HeZn+MsmxUciEWPlAVaK/VBaQBWfoG/aRL/jSZIQfep/89GjasWmbaWzeEZ2R1FOjvyJT37O9B8046SRSKVEnXWlBqbkb5XCS3qFeuE9xb9+frEknxWB5h1D/hruz2iVDEAS7+qkEz5Ot5agHJc7WCdY94Ws61sURcX5nG8UELGBAHZ3i+3VulAyT0nKNNz4K2LBHBWJcTBX1wzf+//u/j/9+//v87+9/l9Lbh/L/uyNYiTsWV2LwsjaA6MxTuzFMqmxW8Jw/+IppdX8t/Clgi1rI1SN0UC/r6tX/4lUc2VV1OQReSeCsjUpKZchw4XUcjHfw6ryCV3R8s6VXm67vp4n+lcPV9gJwmbKQEsmrJi9c2vkwrm8HFbVYNTaRGq8D91t9n5+U+aD/hNtN3HjC/nC/vUoGFSCkXP+NlRcmLUqLbiUBl4LYf1U/CCvwtd3ryCH8gUmGITAxiH1O5rnGTz7y1LuFjmnFGQ1UWuM7HwfXtWl2fPFKklYwNUpF2IL/TmaRETjQiM5SJacI+3Gv5MBU8lP5Io6gWkawpyzNEVGqOdx4YlO1dCvjbWFZWbCmeiFKPSlMKtKcMFLs/KQxtgAHi7NZNCQ32bBAW2mbHflVZ8wXKi1JKVHkW20bnYnl3dKWJeWJOiX3oKPBD6Zbi0ZvSIuWktUHB8qDR8DMMh1ZfkBL9FS9x5r0hBGLJ8pUCJv3NYH+Ae8p40mZWd5m5fhobFjQeQvqTT4VKWIYfRL0tfaXKiVl75hHReuTJEcqVlug+eOIIc4bdIydtn2K0iNZPsYWQvQio2qbO3OqAlPHDDOB7DfjGEfVF51FqqNacd6QmgFKJpMfLp5DHTv4wXlONKVXF9zTJpDV4m1sYZqJPhotcsliZM8yksKkCkzpiXt+EcRQvSQqmBS9WdWkxMTJXPSw94jqI3varCjQxTazjlMH8jTS8ilaW8014/vwA/LNa+YiFoyyx3s/KswP3O8QW1jtq45yTM/DX9a8M4voTVaO2ebvw1EooDw/yg6Y1faY+WwrdVs5Yt0hQ5EwRfYXSFxray1YvSM+kYmlpLG2/9mm1MfmbKHXr44Ih8nVKb1M537ZANUkCtdsPZ80JVKVKabVHCadaLXg+IV8i5GSwpZti0h6diTaKs9sdpUKEpd7jDUpYmHtiX33SKiO3tuydkaxA7pEc9XIQEOfWJlszj5YpL5bKeQyT7aZSBOamvSHl8xsWvgo26IP/bqk+0EJUz+gkkcvlUlyPp2kdKFtt7y5aCdks9ZJJcFp5ZWeaWKgtnXMN3ORwGLBE0PtkEIek5FY2aVssUZHtsWIvnljMVJtuVIjpZup/5VL1yPOHWWHkOMc6YySWMckczD5jUj2mlLVquFaMU8leGVaqeXis+aRRL8zm4WuBk6cyWfGMxgtr8useQEx7k/PvRoZyd9nde1GUCV84gMX8Ogu/BWezYPSR27llzQnA97oo0pYyxobYUJfsj+ysTm9zJ+S4pk0TGo9VTG0KjqYhTmALfoDZVKla2b5yhv241PxFaLJs3i05K0AAIdcGxCJZmT3ZdT7CliR7q+kur7WdQjygYtOWRL9B8E4s4LI8KpAj7bE0dg7DLOaX+MGeAi0hMMSSWZEz+RudXbZCsGYS0QqiXjH9XQbd8sCB+nIVTq7/T/FDS+zWY9q7Z2fdq1tdLb6v3hKKVDAw5gjj6o9r1wHFROdHc18MJp4SJ2Ucvu+iQ9EgkekW8VCM+psM6y+/2SBy8tNN4a3L1MzP+OLsyvESo5gS7IQOnIqMmviJBVc6zbVG1n8eXiA3j46kmvvtJlewwNDrxk4SbJOtP/TV/lIVK9ueShNbbMHfwnLTLLhbZuO79ec5XvfgRwLFK+w1r5ZWW15rVFZrE+wKqNRv5KqsLNfpGgnoUU6Y71NxEmN7MyqwqAQqoIULOw/LbuUB2+uE75gJt+kq1qY4LoxV+qR/zalupea3D5+WMeaRIn0sAI6DDWDh158fqUb4YhAxhREbUN0qyyJYkBU4V2KARXDT65gW3gRsiv7xSPYEKLwzgriWcWgPr0sbZnv7m1XHNFW6xPdGNZUdxFiUYlmXNjDVWuu7LCkX/nVkrXaJhiYktBISC2xgBXQnNEP+cptWl1eG62a7CPXrnrkTQ5BQASbEqUZWMDiZUisKyHDeLFOaJILUo5f6iDt4ZO8MlqaKLto0AmTHVVbkGuyPa1R/ywZsWRoRDoRdNMMHwYTsklMVnlAd2S0282bgMI8fiJpDh69OSL6K3qbo20KfpNMurnYGQSr/stFqZ7hYsxKlLnKAKhsmB8AIpEQ4bd/NrTLTXefsE6ChRmKWjXKVgpGoPs8GAicgKVw4K0qgDgy1A6hFq1WRat3fHF+FkU+b6H4NWpOU3KXTxrIb2qSHAb+qhm8hiSROi/9ofapjxhyKxxntPpge6KL5Z4+WBMYkAcE6+0Hd3Yh2zBsK2MV3iW0Y6cvOCroXlRb2MMJtdWx+3dkFzGh2Pe3DZ9QpSqpaR/rE1ImOrHqYYyccpiLC22amJIjRWVAherTfpQLmo6/K2pna85GrDuQPlH1Tsar8isAJbXLafSwOof4gg9RkAGm/oYpBQQiPUoyDk2BCQ1k+KILq48ErFo4WSRhHLq/y7mgw3+L85PpP6xWr6cgp9sOjYjKagOrxF148uhuaWtjet953fh1IQiEzgC+d2IgBCcUZqgTAICm2bR8oCjDLBsmg+ThyhfD+zBalsKBY1Ce54Y/t9cwfbLu9SFwEgphfopNA3yNxgyDafUM3mYTovZNgPGdd4ZFFOj1vtfFW3u7N+iHEN1HkeesDMXKPyoCDCGVMo4GCCD6PBhQ3dRZIHy0Y/3MaE5zU9mTCrwwnZojtE+qNpMSkJSpmGe0EzLyFelMJqhfFQ7a50uXxZ8pCc2wxtAKWgHoeamR2O7R+bq7IbPYItO0esdRgoTaY38hZLJ5y02oIVwoPokGIzxAMDuanQ1vn2WDQ00Rh6o5QOaCRu99fwDbQcN0XAuqkFpxT/cfz3slGRVokrNU0iqiMAJFEbKScZdmSkTUznC0U+MfwFOGdLgsewRyPKwBZYSmy6U325iUhBQNxbAC3FLKDV9VSOuQpOOukJ/GAmu/tyEbX9DgEp6dv1zoU0IqzpG6gssSjIYRVPGgU1QAQYRgIT8gEV0EXr1sqeh2I6rXjtmoCYyEDCe/PkFEi/Q48FuT29p557iN+LCwk5CK/CZ2WdAdfQZh2Z9QGrzPLSNRj5igUWzl9Vi0rCqH8G1Kp4QMLkuwMCAypdviDXyOIk0AHTM8HBYKh3b0/F+DxoNj4ZdoZfCpQVdnZarqoMaHWnMLNVcyevytGsrXQEoIbubqWYNo7NRHzdc0zvT21fWVirj7g36iy6pxogfvgHp1xH1Turbz8QyyHnXeBJicpYUctbzApwzZ1HT+FPEXMAgUZetgeGMwt4G+DHiDT2Lu+PT21fjJCAfV16a/Wu1PqOkUHSTKYhWW6PhhHUlNtWzFnA7MbY+r64vkwdpfNB2JfWgWXAvkzd42K4lN9x7Wrg4kIKgXCb4mcW595MCPJ/cTfPAMQMFWwnqwde4w8HZYJFpQwcSMhjVz4B8p6ncSCN1X4klxoIH4BN2J6taBMj6lHkAOs8JJAmXq5xsQtrPIPIIp/HG6i21xMGcFgqDXSRF0xQg14d2uy6HgKE13LSvQe52oShF5Jx1R6avyL4thhXQZHfC94oZzuPUBKFYf1VvDaxIrtV6dNGSx7DO0i1p6CzBkuAmEqyWceQY7F9+U0ObYDzoa1iKao/cOD/v6Q9gHrrr1uCeOk8fST9MG23Ul0KmM3r+Wn6Hi6WAcL7gEeaykicvgjzkjSwFsAXIR81Zx4QJ6oosVyJkCcT+4xAldCcihqvTf94HHUPXYp3REIaR4dhpQF6+FK1H0i9i7Pvh8owu3lO4PT1iuqu+DkL2Bj9+kdfGAg2TXw03iNHyobxofLE2ibjsYDPgeEQlRMR7afXbSGQcnPjI2D+sdtmuQ771dbASUsDndU7t58jrrNGRzISvwioAlHs5FA+cBE5Ccznkd8NMV6BR6ksnKLPZnMUawRDU1MZ/ib3xCdkTblHKu4blNiylH5n213yM0zubEie0o4JhzcfAy3H5qh2l17uLooBNLaO+gzonTH2uF8PQu9EyH+pjGsACTMy4cHzsPdymUSXYJOMP3yTkXqvO/lpvt0cX5ekDEu9PUfBeZODkFuAjXCaGdi6ew4qxJ8PmFfwmPpkgQjQlWqomFY6UkjmcnAtJG75EVR+NpzGpP1Ef5qUUbfowrC3zcSLX3BxgWEgEx/v9cP8H8u1Mvt9/rMDYf6sjwU1xSOPBgzFEeJLMRVFtKo5QHsUYT8ZRLCah27599EuqoC9PYjYO6aoAMHB8X1OHwEAYouHfHB3nyb2B+SnZxM/vw/bCtORjLMSy5aZoEpvgdGvlJfNPFUu/p7Z4VVK1hiI0/UTuB3ZPq4ohEbm7Mntgc1evEtknaosgZSwnDC2BdMmibpeg48X8Ixl+/8+xXdbshQXUPPvx8jT3fkELivHSmqbhblfNFShWAyQnJ3WBU6SMYSIpTDmHjdLVAdlADdz9gCplZw6mTiHqDwIsxbm9ErGusiVpg2w8Q3khKV/R9Oj8PFeF43hmW/nSd99nZzhyjCX3QOZkkB6BsH4H866WGyv9E0hVAzPYah2tkRfQZMmP2rinfOeQalge0ovhduBjJs9a1GBwReerceify49ctOh5/65ATYuMsAkVltmvTLBk4oHpdl6i+p8DoNj4Fb2vhdFYer2JSEilEwPd5n5zNoGBXEjreg/wh2NFnNRaIUHSOXa4eJRwygZoX6vnWnqVdCRT1ARxeFrNBJ+tsdooMwqnYhE7zIxnD8pZH+P0Nu1wWxCPTADfNWmqx626IBJJq6NeapcGeOmbtXvl0TeWG0Y7OGGV4+EHTtNBIT5Wd0Bujl7inXgZgfXTM5efD3qDTJ54O9v3Bkv+tdIRlq1kXcVD0BEMirmFxglNPt5pedb1AnxuCYMChUykwsTIWqT23XDpvTiKEru1cTcEMeniB+HQDehxPXNmkotFdwUPnilB/u4Nx5Xc6l8J9jH1EgKZUUt8t8cyoZleDBEt8oibDmJRAoMKJ5Oe9CSWS5ZMEJvacsGVdXDWjp/Ype5x0p9PXB2PAwt2LRD3d+ftNgpuyvxlP8pB84oB1i73vAVpwyrmXW72hfW6Dzn9Jkj4++0VQ4d0KSx1AsDA4OtXXDo63/w+GD+zC7w5SJaxsmnlYRQ4dgdjA7tTl2KNLnpJ+mvkoDxtt1a4oPaX3EVqj96o9sRKBQqU7ZOiupeAIyLMD+Y3YwHx30XWHB5CQiw7q3mj1EDlP2eBsZbz79ayUMbyHQ7s8gu4Lgip1LiGJj7NQj905/+rgUYKAA5qdrlHKIknWmqfuR+PB8RdBkDg/NgnlT89G72h2NvySnj7UyBwD+mi/IWs1xWbxuVwUIVXun5cMqBtFbrccI+DILjsVQg6eeq0itiRfedn89CvyFtpkxaauEvSANuZmB1p8FGPbU94J9medwsZ9HkUYjmI7OH5HuxendLbxTaYrPuIfE2ffXFKhoNBUp33HsFAXmCV/Vxpq5AYgFoRr5Ay93ZLRlgaIPjhZjXZZChT+aE5iWAXMX0oSFQEtwjiuhQQItTQX5IYrKfKB+queTNplR1Hoflo5/I6aPPmACwQCE2jTOYo5Dz1cs7Sod0KTG/3kEDGk3kUaUCON19xSJCab3kNpWZhSWkO8l+SpW70Wn3g0ciOIJO5JXma6dbos6jyisuxXwUUhj2+1uGhcvuliKtWwsUTw4gi1c/diEEpZHoKoxTBeMDmhPhKTx7TXWRakV8imJR355DcIHkR9IREHxohP4TbyR5LtFU24umRPRmEYHbpe1LghyxPx7YgUHjNbbQFRQhh4KeU1EabXx8FS3JAxp2rwRDoeWkJgWRUSKw6gGP5U2PuO9V4ZuiKXGGzFQuRuf+tkSSsbBtRJKhCi3ENuLlXhPbjTKD4djXVnfXFds6Zb+1XiUrRfyayGxJq1+SYBEfbKlgjiSmk0orgTqzSS+DZ5rTqsJbttiNtp+KMqGE2AHGFw6jQqM5vD6vMptmXV9OAjq49Uf/Lx9Opam+Hn5O9p8qoBBAQixzQZ4eNVkO9sPzJAMyR1y4/RCQQ1s0pV5KAU5sKLw3tkcFbI/JqrjCsK4Mw+W8aod4lioYuawUiCyVWBE/qPaFi5bnkgpfu/ae47174rI1fqQoTbW0HrU6FAejq7ByM0V4zkZTg02/YJK2N7hUQRCeZ4BIgSEqgD8XsjzG6LIsSbuHoIdz/LhFzbNn1clci1NHWJ0/6/O8HJMdIpEZbqi1RrrFfoo/rI/7ufm2MPG5lUI0IYJ4MAiHRTSOFJ2oTverFHYXThkYFIoyFx6rMYFgaOKM4xNWdlOnIcKb/suptptgTOTdVIf4YgdaAjJnIAm4qNNHNQqqAzvi53GkyRCEoseUBrHohZsjUbkR8gfKtc/+Oa72lwxJ8Mq6HDfDATbfbJhzeIuFQJSiw1uZprHlzUf90WgqG76zO0eCB1WdPv1IT6sNxxh91GEL2YpgC97ikFHyoaH92ndwduqZ6IYjkg20DX33MWdoZk7QkcKUCgisIYslOaaLyvIIqRKWQj16jE1DlQWJJaPopWTJjXfixEjRJJo8g4++wuQjbq+WVYjsqCuNIQW3YjnxKe2M5ZKEqq+cX7ZVgnkbsU3RWIyXA1rxv4kGersYJjD//auldXGmcEbcfTeF16Y1708FB1HIfmWv6dSFi6oD4E+RIjCsEZ+kY7dKnwReJJw3xCjKvi3kGN42rvyhUlIz0Bp+fNSV5xwFiuBzG296e5s/oHoFtUyUplmPulIPl+e1CQIQVtjlzLzzzbV+D/OVQtYzo5ixtMi5BmHuG4N/uKfJk5UIREp7+12oZlKtPBomXSzAY0KgtbPzzZoHQxujnREUgBU+O/jKKhgxVhRPtbqyHiUaRwRpHv7pgRPyUrnE7fYkVblGmfTY28tFCvlILC04Tz3ivkNWVazA+OsYrxvRM/hiNn8Fc4bQBeUZABGx5S/xFf9Lbbmk298X7iFg2yeimvsQqqJ+hYbt6uq+Zf9jC+Jcwiccd61NKQtFvGWrgJiHB5lwi6fR8KzYS7EaEHf/ka9EC7H8D+WEa3TEACHBkNSj/cXxFeq4RllC+fUFm2xtstYLL2nos1DfzsC9vqDDdRVcPA3Ho95aEQHvExVThXPqym65llkKlfRXbPTRiDepdylHjmV9YTWAEjlD9DdQnCem7Aj/ml58On366392214B5zrmQz/9ySG2mFqEwjq5sFl5tYJPw5hNz8lyZPUTsr5E0F2C9VMPnZckWP7+mbwp/BiN7f4kf7vtGnZF2JGvjK/sDX1RtcFY5oPQnE4lIAYV49U3C9SP0LCY/9i/WIFK9ORjzM9kG/KGrAuwFmgdEpdLaiqQNpCTGZVuAO65afkY1h33hrqyLjZy92JK3/twdj9pafFcwfXONmPQWldPlMe7jlP24Js0v9m8bIJ9TgS2IuRvE9ZVRaCwSJYOtAfL5H/YS4FfzKWKbek+GFulheyKtDNlBtrdmr+KU+ibHTdalzFUmMfxw3f36x+3cQbJLItSilW9cuvZEMjKw987jykZRlsH/UI+HlKfo2tLwemBEeBFtmxF2xmItA/dAIfQ+rXnm88dqvXa+GapOYVt/2waFimXFx3TC2MUiOi5/Ml+3rj/YU6Ihx2hXgiDXFsUeQkRAD6wF3SCPi2flk7XwKAA4zboqynuELD312EJ88lmDEVOMa1W/K/a8tGylZRMrMoILyoMQzzbDJHNZrhH77L9qSC42HVmKiZ5S0016UTp83gOhCwz9XItK9fgXfK3F5d7nZCBUekoLxrutQaPHa16Rjsa0gTrzyjqTnmcIcrxg6X6dkKiucudc0DD5W4pJPf0vuDW8r5/uw24YfMuxFRpD2ovT2mFX79xH6Jf+MVdv2TYqR6/955QgVPe3JCD/WjAYcLA9tpXgFiEjge2J5ljeI/iUzg91KQuHkII4mmHZxC3XQORLAC6G7uFn5LOmlnXkjFdoO976moNTxElS8HdxWoPAkjjocDR136m2l+f5t6xaaNgdodOvTu0rievnhNAB79WNrVs6EsPgkgfahF9gSFzzAd+rJSraw5Mllit7vUP5YxA843lUpu6/5jAR0RvH4rRXkSg3nE+O5GFyfe+L0s5r3k05FyghSFnKo4TTgs07qj4nTLqOYj6qaW9knJTDkF5OFMYbmCP+8H16Ty482OjvERV6OFyw043L9w3hoJi408sR+SGo1WviXUu8d7qS+ehKjpKwxeCthsm2LBFSFeetx0x4AaKPxtp3CxdWqCsLrB1s/j5TAhc1jNZsXWl6tjo/WDoewxzg8T8NnhZ1niUwL/nhfygLanCnRwaFGDyLw+sfZhyZ1UtYTp8TYB6dE7R3VsKKH95CUxJ8u8N+9u2/9HUNKHW3x3w5GQrfOPafk2w5qZq8MaHT0ebeY3wIsp3rN9lrpIsW9c1ws3VNV+JwNz0Lo9+V7zZr6GD56We6gWVIvtmam5GPPkVAbr74r6SwhuL+TRXtW/0pgyX16VNl4/EAD50TnUPuwrW6OcUO2VlWXS0inq872kk7GUlW6o/ozFKq+Sip6LcTtSDfDrPTcCHhx75H8BeRon+KG2wRwzfDgWhALmiWOMO6h3pm1UCZEPEjScyk7tdLx6WrdA2N1QTPENvNnhCQjW6kl057/qv7IwRryHrZBCwVSbLLnFRiHdTwk8mlYixFt1slEcPD7FVht13HyqVeyD55HOXrh2ElAxJyinGeoFzwKA91zfrdLvDxJSjzmImfvTisreI25EDcVfGsmxLVbfU8PGe/7NmWWKjXcdTJ11jAlVIY/Bv/mcxg/Q10vCHwKG1GW/XbJq5nxDhyLqiorn7Wd7VEVL8UgVzpHMjQ+Z8DUgSukiVwWAKkeTlVVeZ7t1DGnCgJVIdBPZAEK5f8CDyDNo7tK4/5DBjdD5MPV86TaEhGsLVFPQSI68KlBYy84FievdU9gWh6XZrugvtCZmi9vfd6db6V7FmoEcRHnG36VZH8N4aZaldq9zZawt1uBFgxYYx+Gs/qW1jwANeFy+LCoymyM6zgG7j8bGzUyLhvrbJkTYAEdICEb4kMKusKT9V3eIwMLsjdUdgijMc+7iKrr+TxrVWG0U+W95SGrxnxGrE4eaJFfgvAjUM4SAy8UaRwE9j6ZQH5qYAWGtXByvDiLSDfOD0yFA3UCMKSyQ30fyy1mIRg4ZcgZHLNHWl+c9SeijOvbOJxoQy7lTN2r3Y8p6ovxvUY74aOYbuVezryqXA6U+fcp6wSV9X5/OZKP18tB56Ua0gMyxJI7XyNT7IrqN8GsB9rL/kP5KMrjXxgqKLDa+V5OCH6a5hmOWemMUsea9vQl9t5Oce76PrTyTv50ExOqngE3PHPfSL//AItPdB7kGnyTRhVUUFNdJJ2z7RtktZwgmQzhBG/G7QsjZmJfCE7k75EmdIKH7xlnmDrNM/XbTT6FzldcH/rcRGxlPrv4qDScqE7JSmQABJWqRT/TUcJSwoQM+1jvDigvrjjH8oeK2in1S+/yO1j8xAws/T5u0VnIvAPqaE1atNuN0cuRliLcH2j0nTL4JpcR7w9Qya0JoaHgsOiALLCCzRkl1UUESz+ze/gIXHGtDwgYrK6pCFKJ1webSDog4zTlPkgXZqxlQDiYMjhDpwTtBW2WxthWbov9dt2X9XFLFmcF+eEc1UaQ74gqZiZsdj63pH1qcv3Vy8JYciogIVKsJ8Yy3J9w/GhjWVSQAmrS0BPOWK+RKV+0lWqXgYMnIFwpcZVD7zPSp547i9HlflB8gVnSTGmmq1ClO081OW/UH11pEQMfkEdDFzjLC1Cdo/BdL3s7cXb8J++Hzz1rhOUVZFIPehRiZ8VYu6+7Er7j5PSZu9g/GBdmNzJmyCD9wiswj9BZw+T3iBrg81re36ihMLjoVLoWc+62a1U/7qVX5CpvTVF7rocSAKwv4cBVqZm7lLDS/qoXs4fMs/VQi6BtVbNA3uSzKpQfjH1o3x4LrvkOn40zhm6hjduDglzJUwA0POabgdXIndp9fzhOo23Pe+Rk9GSLX0d71Poqry8NQDTzNlsa+JTNG9+UrEf+ngxCjGEsDCc0bz+udVRyHQI1jmEO3S+IOQycEq7XwB6z3wfMfa73m8PVRp+iOgtZfeSBl01xn03vMaQJkyj7vnhGCklsCWVRUl4y+5oNUzQ63B2dbjDF3vikd/3RUMifPYnX5Glfuk2FsV/7RqjI9yKTbE8wJY+74p7qXO8+dIYgjtLD/N8TJtRh04N9tXJA4H59IkMmLElgvr0Q5OCeVfdAt+5hkh4pQgfRMHpL74XatLQpPiOyHRs/OdmHtBf8nOZcxVKzdGclIN16lE7kJ+pVMjspOI+5+TqLRO6m0ZpNXJoZRv9MPDRcAfJUtNZHyig/s2wwReakFgPPJwCQmu1I30/tcBbji+Na53i1W1N+BqoY7Zxo+U/M9XyJ4Ok2SSkBtoOrwuhAY3a03Eu6l8wFdIG1cN+e8hopTkiKF093KuH/BcB39rMiGDLn6XVhGKEaaT/vqb/lufuAdpGExevF1+J9itkFhCfymWr9vGb3BTK4j598zRH7+e+MU9maruZqb0pkGxRDRE1CD4Z8LV4vhgPidk5w2Bq816g3nHw1//j3JStz7NR9HIWELO8TMn3QrP/zZp//+Dv9p429/ogv+GATR+n/UdF+ns9xNkXZQJXY4t9jMkJNUFygAtzndXwjss+yWH9HAnLQQfhAskdZS2l01HLWv7L7us5uTH409pqitvfSOQg/c+Zt7k879P3K9+WV68n7+3cZfuRd/dDPP/03rn+d+/nBvWfgDlt8+LzjqJ/vx3CnNOwiXhho778C96iD+1TBvRZYeP+EH81LE0vVwOOrmCLB3iKzI1x+vJEsrPH4uF0UB4TJ4X3uDfOCo3PYpYe0MF4bouh0DQ/l43fxUF7Y+dpWuvTSffB0yO2UQUETI/LwCZE3BvnevJ7c9zUlY3H58xzke6DNFDQG8n0WtDN4LAYN4nogKav1ezOfK/z+t6tsCTp+dhx4ymjWuCJk1dEUifDP+HyS4iP/Vg9B2jTo9L4NbiBuDS4nuuHW6H+JDQn2JtqRKGkEQPEYE7uzazXIkcxIAqUq1esasZBETlEZY7y7Jo+RoV/IsjY9eIMkUvr42Hc0xqtsavZvhz1OLwSxMOTuqzlhb0WbdOwBH9EYiyBjatz40bUxTHbiWxqJ0uma19qhPruvcWJlbiSSH48OLDDpaHPszvyct41ZfTu10+vjox6kOqK6v0K/gEPphEvMl/vwSv+A4Hhm36JSP9IXTyCZDm4kKsqD5ay8b1Sad/vaiyO5N/sDfEV6Z4q95E+yfjxpqBoBETW2C7xl4pIO2bDODDFurUPwE7EWC2Uplq+AHmBHvir2PSgkR12/Ry65O0aZtQPeXi9mTlF/Wj5GQ+vFkYyhXsLTjrBSP9hwk4GPqDP5rBn5/l8b0mLRAvRSzXHc293bs3s8EsdE3m2exxidWVB4joHR+S+dz5/W+v00K3TqN14CDBth8eWcsTbiwXPsygHdGid0PEdy6HHm2v/IUuV5RVapYmzGsX90mpnIdNGcOOq64Dbc5GUbYpD9M7S+6cLY//QmjxFLP5cuTFRm3vA5rkFZroFnO3bjHF35uU3s8mvL7Tp9nyTc4mymTJ5sLIp7umSnGkO23faehtz3mmTS7fbVx5rP7x3HXIjRNeq/A3xCs9JNB08c9S9BF2O3bOur0ItslFxXgRPdaapBIi4dRpKGxVz7ir69t/bc9qTxjvtOyGOfiLGDhR4fYywHv1WdOplxIV87TpLBy3Wc0QP0P9s4G7FBNOdITS/tep3o3h1TEa5XDDii7fWtqRzUEReP2fbxz7bHWWJdbIOxOUJZtItNZpTFRfj6vm9sYjRxQVO+WTdiOhdPeTJ+8YirPvoeL88l5iLYOHd3b/Imkq+1ZN1El3UikhftuteEYxf1Wujof8Pr4ICTu5ezZyZ4tHQMxlzUHLYO2VMOoNMGL/20S5i2o2obfk+8qqdR7xzbRDbgU0lnuIgz4LelQ5XS7xbLuSQtNS95v3ZUOdaUx/Qd8qxCt6xf2E62yb/HukLO6RyorV8KgYl5YNc75y+KvefrxY+lc/64y9kvWP0a0bDz/rojq+RWjO06WeruWqNFU7r3HPIcLWRql8ICZsz2Ls/qOm/CLn6++X+Qf7mGspYCrZod/lpl6Rw4xN/yuq8gqV4B6aHk1hVE1SfILxWu5gvXqbfARYQpspcxKp1F/c8XOPzkZvmoSw+vEqBLdrq1fr3wAPv5NnM9i8F+jdAuxkP5Z71c6uhK3enlnGymr7UsWZKC12qgUiG8XXGQ9mxnqz4GSIlybF9eXmbqj2sHX+a1jf0gRoONHRdRSrIq03Ty89eQ1GbV/Bk+du4+V15zls+vvERvZ4E7ZbnxWTVjDjb4o/k8jlw44pTIrUGxxuJvBeO+heuhOjpFsO6lVJ/aXnJDa/bM0Ql1cLbXE/Pbv3EZ3vj3iVrB5irjupZTzlnv677NrI9UNYNqbPgp/HZXS+lJmk87wec+7YOxTDo2aw2l3NfDr34VNlvqWJBknuK7oSlZ6/T10zuOoPZOeoIk81N+sL843WJ2Q4Z0fZ3scsqC/JV2fuhWi1jGURSKZV637lf53Xnnx16/vKEXY89aVJ0fv91jGdfG+G4+sniwHes4hS+udOr4RfhFhG/F5gUG35QaU+McuLmclb5ZWmR+sG5V6nf+PxYzlrnFGxpZaK8eqqVo0NfmAWoGfXDiT/FnUbWvzGDOTr8aktOZWg4BYvz5YH12ZbfCcGtNk+dDAZNGWvHov+PIOnY9Prjg8h/wLRrT69suaMVZ5bNuK00lSVpnqSX1NON/81FoP92rYndionwgOiA8WMf4vc8l15KqEEG4yAm2+WAN5Brfu1sq9suWYqgoajgOYt/JCk1gC8wPkK+XKCtRX6TAtgvrnuBgNRmn6I8lVDipOVB9kX6Oxkp4ZKyd1M6Gj8/v2U7k+YQBL95Kb9PQENucJb0JlW3b5tObN7m/Z1j1ev388d7o15zgXsI9CikAGAViR6lkJv7nb4Ak40M2G8TJ447kN+pvfHiOFjSUSP6PM+QfbAywKJCBaxSVxpizHseZUyUBhq59vFwrkyGoRiHbo0apweEZeSLuNiQ+HAekOnarFg00dZNXaPeoHPTRR0FmEyqYExOVaaaO8c0uFUh7U4e/UxdBmthlBDgg257Q33j1hA7HTxSeTTSuVnPZbgW1nodwmG16aKBDKxEetv7D9OjO0JhrbJTnoe+kcGoDJazFSO8/fUN9Jy/g4XK5PUkw2dgPDGpJqBfhe7GA+cjzfE/EGsMM+FV9nj9IAhrSfT/J3QE5TEIYyk5UjsI6ZZcCPr6A8FZUF4g9nnpVmjX90MLSQysIPD0nFzqwCcSJmIb5mYv2Cmk+C1MDFkZQyCBq4c/Yai9LJ6xYkGS/x2s5/frIW2vmG2Wrv0APpCdgCA9snFvfpe8uc0OwdRs4G9973PGEBnQB5qKrCQ6m6X/H7NInZ7y/1674/ZXOVp7OeuCRk8JFS516VHrnH1HkIUIlTIljjHaQtEtkJtosYul77cVwjk3gW1Ajaa6zWeyHGLlpk3VHE2VFzT2yI/EvlGUSz2H9zYE1s4nsKMtMqNyKNtL/59CpFJki5Fou6VXGm8vWATEPwrUVOLvoA8jLuwOzVBCgHB2Cr5V6OwEWtJEKokJkfc87h+sNHTvMb0KVTp5284QTPupoWvQVUwUeogZR3kBMESYo0mfukewRVPKh5+rzLQb7HKjFFIgWhj1w3yN/qCNoPI8XFiUgBNT1hCHBsAz8L7Oyt8wQWUFj92ONn/APyJFg8hzueqoJdNj57ROrFbffuS/XxrSXLTRgj5uxZjpgQYceeMc2wJrahReSKpm3QjHfqExTLAB2ipVumE8pqcZv8LYXQiPHHsgb5BMW8zM5pvQit+mQx8XGaVDcfVbLyMTlY8xcfmm/RSAT/H09UQol5gIz7rESDmnrQ4bURIB4iRXMDQwxgex1GgtDxKp2HayIkR+E/aDmCttNm2C6lytWdfOVzD6X2SpDWjQDlMRvAp1symWv4my1bPCD+E1EmGnMGWhNwmycJnDV2WrQNxO45ukEb08AAffizYKVULp15I4vbNK5DzWwCSUADfmKhfGSUqii1L2UsE8rB7mLuHuUJZOx4+WiizHBJ/hwboaBzhpNOVvgFTf5cJsHef7L1HCI9dOUUbb+YxUJWn6dYOLz+THi91kzY5dtO5c+grX7v0jEbsuoOGnoIreDIg/sFMyG+TyCLIcAWd1IZ1UNFxE8Uie13ucm40U2fcxC0u3WLvLOxwu+F7MWUsHsdtFQZ7W+nlfCASiAKyh8rnP3EyDByvtJb6Kax6/HkLzT9SyEyTMVM1zPtM0MJY14DmsWh4MgD15Ea9Hd00AdkTZ0EiG5NAGuIBzQJJ0JR0na+OB7lQA6UKxMfihIQ7GCCnVz694QvykWXTxpS2soDu+smru1UdIxSvAszBFD1c8c6ZOobA8bJiJIvuycgIXBQIXWwhyTgZDQxJTRXgEwRNAawGSXO0a1DKjdihLVNp/taE/xYhsgwe+VpKEEB4LlraQyE84gEihxCnbfoyOuJIEXy2FIYw+JjRusybKlU2g/vhTSGTydvCvXhYBdtAXtS2v7LkHtmXh/8fly1do8FI/D0f8UbzVb5h+KRhMGSAmR2mhi0YG/uj7wgxcfzCrMvdjitUIpXDX8ae2JcF/36qUWIMwN6JsjaRGNj+jEteGDcFyTUb8X/NHSucKMJp7pduxtD6KuxVlyxxwaeiC1FbGBESO84lbyrAugYxdl+2N8/6AgWpo/IeoAOcsG35IA/b3AuSyoa55L7llBLlaWlEWvuCFd8f8NfcTUgzJv6CbB+6ohWwodlk9nGWFpBAOaz5uEW5xBvmjnHFeDsb0mXwayj3mdYq5gxxNf3H3/tnCgHwjSrpSgVxLmiTtuszdRUFIsn6LiMPjL808vL1uQhDbM7aA43mISXReqjSskynIRcHCJ9qeFopJfx9tqyUoGbSwJex/0aDE3plBPGtNBYgWbdLom3+Q/bjdizR2/AS/c/dH/d3G7pyl1qDXgtOFtEqidwLqxPYtrNEveasWq3vPUUtqTeu8gpov4bdOQRI2kneFvRNMrShyVeEupK1PoLDPMSfWMIJcs267mGB8X9CehQCF0gIyhpP10mbyM7lwW1e6TGvHBV1sg/UyTghHPGRqMyaebC6pbB1WKNCQtlai1GGvmq9zUKaUzLaXsXEBYtHxmFbEZ2kJhR164LhWW2Tlp1dhsGE7ZgIWRBOx3Zcu2DxgH+G83WTPceKG0TgQKKiiNNOlWgvqNEbnrk6fVD+AqRam2OguZb0YWSTX88N+i/ELSxbaUUpPx4vJUzYg/WonSeA8xUK6u7DPHgpqWpEe6D4cXg5uK9FIYVba47V/nb+wyOtk+zG8RrS4EA0ouwa04iByRLSvoJA2FzaobbZtXnq8GdbfqEp5I2dpfpj59TCVif6+E75p665faiX8gS213RqBxTZqfHP46nF6NSenOneuT+vgbLUbdTH2/t0REFXZJOEB6DHvx6N6g9956CYrY/AYcm9gELJXYkrSi+0F0geKDZgOCIYkLU/+GOW5aGj8mvLFgtFH5+XC8hvAE3CvHRfl4ofM/Qwk4x2A+R+nyc9gNu/9Tem7XW4XRnyRymf52z09cTOdr+PG6+P/Vb4QiXlwauc5WB1z3o+IJjlbxI8MyWtSzT+k4sKVbhF3xa+vDts3NxXa87iiu+xRH9cAprnOL2h6vV54iQRXuOAj1s8nLFK8gZ70ThIQcWdF19/2xaJmT0efrkNDkWbpAQPdo92Z8+Hn/aLjbOzB9AI/k12fPs9HhUNDJ1u6ax2VxD3R6PywN7BrLJ26z6s3QoMp76qzzwetrDABKSGkfW5PwS1GvYNUbK6uRqxfyVGNyFB0E+OugMM8kKwmJmupuRWO8XkXXXQECyRVw9UyIrtCtcc4oNqXqr7AURBmKn6Khz3eBN96LwIJrAGP9mr/59uTOSx631suyT+QujDd4beUFpZ0kJEEnjlP+X/Kr2kCKhnENTg4BsMTOmMqlj2WMFLRUlVG0fzdCBgUta9odrJfpVdFomTi6ak0tFjXTcdqqvWBAzjY6hVrH9sbt3Z9gn+AVDpTcQImefbB4edirjzrsNievve4ZT4EUZWV3TxEsIW+9MT/RJoKfZZYSRGfC1CwPG/9rdMOM8qR/LUYvw5f/emUSoD7YSFuOoqchdUg2UePd1eCtFSKgxLSZ764oy4lvRCIH6bowPxZWwxNFctksLeil47pfevcBipkkBIc4ngZG+kxGZ71a72KQ7VaZ6MZOZkQJZXM6kb/Ac0/XkJx8dvyfJcWbI3zONEaEPIW8GbkYjsZcwy+eMoKrYjDmvEEixHzkCSCRPRzhOfJZuLdcbx19EL23MA8rnjTZZ787FGMnkqnpuzB5/90w1gtUSRaWcb0eta8198VEeZMUSfIhyuc4/nywFQ9uqn7jdqXh+5wwv+RK9XouNPbYdoEelNGo34KyySwigsrfCe0v/PlWPvQvQg8R0KgHO18mTVThhQrlbEQ0Kp/JxPdjHyR7E1QPw/ut0r+HDDG7BwZFm9IqEUZRpv2WpzlMkOemeLcAt5CsrzskLGaVOAxyySzZV/D2EY7ydNZMf8e8VhHcKGHAWNszf1EOq8fNstijMY4JXyATwTdncFFqcNDfDo+mWFvxJJpc4sEZtjXyBdoFcxbUmniCoKq5jydUHNjYJxMqN1KzYV62MugcELVhS3Bnd+TLLOh7dws/zSXWzxEb4Nj4aFun5x4kDWLK5TUF/yCXB/cZYvI9kPgVsG2jShtXkxfgT+xzjJofXqPEnIXIQ1lnIdmVzBOM90EXvJUW6a0nZ/7XjJGl8ToO3H/fdxnxmTNKBZxnkpXLVgLXCZywGT3YyS75w/PAH5I/jMuRspej8xZObU9kREbRA+kqjmKRFaKGWAmFQspC+QLbKPf0RaK3OXvBSWqo46p70ws/eZpu6jCtZUgQy6r4tHMPUdAgWGGUYNbuv/1a6K+MVFsd3T183+T8capSo6m0+Sh57fEeG/95dykGJBQMj09DSW2bY0mUonDy9a8trLnnL5B5LW3Nl8rJZNysO8Zb+80zXxqUGFpud3Qzwb7bf+8mq6x0TAnJU9pDQR9YQmZhlna2xuxJt0aCO/f1SU8gblOrbIyMsxTlVUW69VJPzYU2HlRXcqE2lLLxnObZuz2tT9CivfTAUYfmzJlt/lOPgsR6VN64/xQd4Jlk/RV7UKVv2Gx/AWsmTAuCWKhdwC+4HmKEKYZh2Xis4KsUR1BeObs1c13wqFRnocdmuheaTV30gvVXZcouzHKK5zwrN52jXJEuX6dGx3BCpV/++4f3hyaW/cQJLFKqasjsMuO3B3WlMq2gyYfdK1e7L2pO/tRye2mwzwZPfdUMrl5wdLqdd2Kv/wVtnpyWYhd49L6rsOV+8HXPrWH2Kup89l2tz6bf80iYSd+V4LROSOHeamvexR524q4r43rTmtFzQvArpvWfLYFZrbFspBsXNUqqenjxNNsFXatZvlIhk7teUPfK+YL32F8McTnjv0BZNppb+vshoCrtLXjIWq3EJXpVXIlG6ZNL0dh6qEm2WMwDjD3LfOfkGh1/czYc/0qhiD2ozNnH4882MVVt3JbVFkbwowNCO3KL5IoYW5wlVeGCViOuv1svZx7FbzxKzA4zGqBlRRaRWCobXaVq4yYCWbZf8eiJwt3OY+MFiSJengcFP2t0JMfzOiJ7cECvpx7neg1Rc5x+7myPJOXt2FohVRyXtD+/rDoTOyGYInJelZMjolecVHUhUNqvdZWg2J2t0jPmiLFeRD/8fOT4o+NGILb+TufCo9ceBBm3JLVn+MO2675n7qiEX/6W+188cYg3Zn5NSTjgOKfWFSAANa6raCxSoVU851oJLY11WIoYK0du0ec5E4tCnAPoKh71riTsjVIp3gKvBbEYQiNYrmH22oLQWA2AdwMnID6PX9b58dR2QKo4qag1D1Z+L/FwEKTR7osOZPWECPJIHQqPUsM5i/CH5YupVPfFA5pHUBcsesh8eO5YhyWnaVRPZn/BmdXVumZWPxMP5e28zm2uqHgFoT9CymHYNNrzrrjlXZM06HnzDxYNlI5b/QosxLmmrqDFqmogQdqk0WLkUceoAvQxHgkIyvWU69BPFr24VB6+lx75Rna6dGtrmOxDnvBojvi1/4dHjVeg8owofPe1cOnxU1ioh016s/Vudv9mhV9f35At+Sh28h1bpp8xhr09+vf47Elx3Ms6hyp6QvB3t0vnLbOhwo660cp7K0vvepabK7YJfxEWWfrC2YzJfYOjygPwfwd/1amTqa0hZ5ueebhWYVMubRTwIjj+0Oq0ohU3zfRfuL8gt59XsHdwKtxTQQ4Y2qz6gisxnm2UdlmpEkgOsZz7iEk6QOt8BuPwr+NR01LTqXmJo1C76o1N274twJvl+I069TiLpenK/miRxhyY8jvYV6W1WuSwhH9q7kuwnJMtm7IWcqs7HsnyHSqWXLSpYtZGaR1V3t0gauninFPZGtWskF65rtti48UV9uV9KM8kfDYs0pgB00S+TlzTXV6P8mxq15b9En8sz3jWSszcifZa/NuufPNnNTb031pptt0+sRSH/7UG8pzbsgtt3OG3ut7B9JzDMt2mTZuyRNIV8D54TuTrpNcHtgmMlYJeiY9XS83NYJicjRjtJSf9BZLsQv629QdDsKQhTK5CnXhpk7vMNkHzPhm0ExW/VCGApHfPyBagtZQTQmPHx7g5IXXsrQDPzIVhv2LB6Ih138iSDww1JNHrDvzUxvp73MsQBVhW8EbrReaVUcLB1R3PUXyaYG4HpJUcLVxMgDxcPkVRQpL7VTAGabDzbKcvg12t5P8TSGQkrj/gOrpnbiDHwluA73xbXts/L7u468cRWSWRtgTwlQnA47EKg0OiZDgFxAKQQUcsbGomITgeXUAAyKe03eA7Mp4gnyKQmm0LXJtEk6ddksMJCuxDmmHzmVhO+XaN2A54MIh3niw5CF7PwiXFZrnA8wOdeHLvvhdoqIDG9PDI7UnWWHq526T8y6ixJPhkuVKZnoUruOpUgOOp3iIKBjk+yi1vHo5cItHXb1PIKzGaZlRS0g5d3MV2pD8FQdGYLZ73aae/eEIUePMc4NFz8pIUfLCrrF4jVWH5gQneN3S8vANBmUXrEcKGn6hIUN95y1vpsvLwbGpzV9L0ZKTan6TDXM05236uLJcIEMKVAxKNT0K8WljuwNny3BNQRfzovA85beI9zr1AGNYnYCVkR1aGngWURUrgqR+gRrQhxW81l3CHevjvGEPzPMTxdsIfB9dfGRbZU0cg/1mcubtECX4tvaedmNAvTxCJtc2QaoUalGfENCGK7IS/O8CRpdOVca8EWCRwv2sSWE8CJPW5PCugjCXPd3h6U60cPD+bdhtXZuYB6stcoveE7Sm5MM2yvfUHXFSW7KzLmi7/EeEWL0wqcOH9MOSKjhCHHmw+JGLcYE/7SBZQCRggox0ZZTAxrlzNNXYXL5fNIjkdT4YMqVUz6p8YDt049v4OXGdg3qTrtLBUXOZf7ahPlZAY/O+7Sp0bvGSHdyQ8B1LOsplqMb9Se8VAE7gIdSZvxbRSrfl+Lk5Qaqi5QJceqjitdErcHXg/3MryljPSIAMaaloFm1cVwBJ8DNmkDqoGROSHFetrgjQ5CahuKkdH5pRPigMrgTtlFI8ufJPJSUlGgTjbBSvpRc0zypiUn6U5KZqcRoyrtzhmJ7/caeZkmVRwJQeLOG8LY6vP5ChpKhc8Js0El+n6FXqbx9ItdtLtYP92kKfaTLtCi8StLZdENJa9Ex1nOoz1kQ7qxoiZFKRyLf4O4CHRT0T/0W9F8epNKVoeyxUXhy3sQMMsJjQJEyMOjmOhMFgOmmlscV4eFi1CldU92yjwleirEKPW3bPAuEhRZV7JsKV3Lr5cETAiFuX5Nw5UlF7d2HZ96Bh0sgFIL5KGaKSoVYVlvdKpZJVP5+NZ7xDEkQhmDgsDKciazJCXJ6ZN2B3FY2f6VZyGl/t4aunGIAk/BHaS+i+SpdRfnB/OktOvyjinWNfM9Ksr6WwtCa1hCmeRI6icpFM4o8quCLsikU0tMoZI/9EqXRMpKGaWzofl4nQuVQm17d5fU5qXCQeCDqVaL9XJ9qJ08n3G3EFZS28SHEb3cdRBdtO0YcTzil3QknNKEe/smQ1fTb0XbpyNB5xAeuIlf+5KWlEY0DqJbsnzJlQxJPOVyHiKMx5Xu9FcEv1Fbg6Fhm4t+Jyy5JC1W3YO8dYLsO0PXPbxodBgttTbH3rt9Cp1lJIk2r3O1Zqu94eRbnIz2f50lWolYzuKsj4PMok4abHLO8NAC884hiXx5Fy5pWKO0bWL7uEGXaJCtznhP67SlQ4xjWIfgq6EpZ28QMtuZK7JC0RGbl9nA4XtFLug/NLMoH1pGt9IonAJqcEDLyH6TDROcbsmGPaGIxMo41IUAnQVPMPGByp4mOmh9ZQMkBAcksUK55LsZj7E5z5XuZoyWCKu6nHmDq22xI/9Z8YdxJy4kWpD16jLVrpwGLWfyOD0Wd+cBzFBxVaGv7S5k9qwh/5t/LQEXsRqI3Q9Rm3QIoaZW9GlsDaKOUyykyWuhNOprSEi0s1G4rgoiX1V743EELti+pJu5og6X0g6oTynUqlhH9k6ezyRi05NGZHz0nvp3HOJr7ebrAUFrDjbkFBObEvdQWkkUbL0pEvMU46X58vF9j9F3j6kpyetNUBItrEubW9ZvMPM4qNqLlsSBJqOH3XbNwv/cXDXNxN8iFLzUhteisYY+RlHYOuP29/Cb+L+xv+35Rv7xudnZ6ohK4cMPfCG8KI7dNmjNk/H4e84pOxn/sZHK9psfvj8ncA8qJz7O8xqbxESDivGJOZzF7o5PJLQ7g34qAWoyuA+x3btU98LT6ZyGyceIXjrqob2CAVql4VOTQPUQYvHV/g4zAuCZGvYQBtf0wmd5lilrvuEn1BXLny01B4h4SMDlYsnNpm9d7m9h578ufpef9Z4WplqWQvqo52fyUA7J24eZD5av6SyGIV9kpmHNqyvdfzcpEMw97BvknV2fq+MFHun9BT3Lsf8pbzvisWiIQvYkng+8Vxk1V+dli1u56kY50LRjaPdotvT5BwqtwyF+emo/z9J3yVUVGfKrxQtJMOAQWoQii/4dp9wgybSa5mkucmRLtEQZ/pz0tL/NVcgWAd95nEQ3Tg6tNbuyn3Iepz65L3huMUUBntllWuu4DbtOFSMSbpILV4fy6wlM0SOvi6CpLh81c1LreIvKd61uEWBcDw1lUBUW1I0Z+m/PaRlX+PQ/oxg0Ye6KUiIiTF4ADNk59Ydpt5/rkxmq9tV5Kcp/eQLUVVmBzQNVuytQCP6Ezd0G8eLxWyHpmZWJ3bAzkWTtg4lZlw42SQezEmiUPaJUuR/qklVA/87S4ArFCpALdY3QRdUw3G3XbWUp6aq9z0zUizcPa7351p9JXOZyfdZBFnqt90VzQndXB/mwf8LC9STj5kenVpNuqOQQP3mIRJj7eV21FxG8VAxKrEn3c+XfmZ800EPb9/5lIlijscUbB6da0RQaMook0zug1G0tKi/JBC4rw7/D3m4ARzAkzMcVrDcT2SyFtUdWAsFlsPDFqV3N+EjyXaoEePwroaZCiLqEzb8MW+PNE9TmTC01EzWli51PzZvUqkmyuROU+V6ik+Le/9qT6nwzUzf9tP68tYei0YaDGx6kAd7jn1cKqOCuYbiELH9zYqcc4MnRJjkeGiqaGwLImhyeKs+xKJMBlOJ05ow9gGCKZ1VpnMKoSCTbMS+X+23y042zOb5MtcY/6oBeAo1Vy89OTyhpavFP78jXCcFH0t7Gx24hMEOm2gsEfGabVpQgvFqbQKMsknFRRmuPHcZu0Su/WMFphZvB2r/EGbG72rpGGho3h+Msz0uGzJ7hNK2uqQiE1qmn0zgacKYYZBCqsxV+sjbpoVdSilW/b94n2xNb648VmNIoizqEWhBnsen+d0kbCPmRItfWqSBeOd9Wne3c6bcd6uvXOJ6WdiSsuXq0ndhqrQ4QoWUjCjYtZ0EAhnSOP1m44xkf0O7jXghrzSJWxP4a/t72jU29Vu2rvu4n7HfHkkmQOMGSS+NPeLGO5I73mC2B7+lMiBQQZRM9/9liLIfowupUFAbPBbR+lxDM6M8Ptgh1paJq5Rvs7yEuLQv/7d1oU2woFSb3FMPWQOKMuCuJ7pDDjpIclus5TeEoMBy2YdVB4fxmesaCeMNsEgTHKS5WDSGyNUOoEpcC2OFWtIRf0w27ck34/DjxRTVIcc9+kqZE6iMSiVDsiKdP/Xz5XfEhm/sBhO50p1rvJDlkyyxuJ9SPgs7YeUJBjXdeAkE+P9OQJm6SZnn1svcduI78dYmbkE2mtziPrcjVisXG78spLvbZaSFx/Rks9zP4LKn0Cdz/3JsetkT06A8f/yCgMO6Mb1Hme0JJ7b2wZz1qleqTuKBGokhPVUZ0dVu+tnQYNEY1fmkZSz6+EGZ5EzL7657mreZGR3jUfaEk458PDniBzsSmBKhDRzfXameryJv9/D5m6HIqZ0R+ouCE54Dzp4IJuuD1e4Dc5i+PpSORJfG23uVgqixAMDvchMR0nZdH5brclYwRoJRWv/rlxGRI5ffD5NPGmIDt7vDE1434pYdVZIFh89Bs94HGGJbTwrN8T6lh1HZFTOB4lWzWj6EVqxSMvC0/ljWBQ3F2kc/mO2b6tWonT2JEqEwFts8rz2h+oWNds9ceR2cb7zZvJTDppHaEhK5avWqsseWa2Dt5BBhabdWSktS80oMQrL4TvAM9b5HMmyDnO+OkkbMXfUJG7eXqTIG6lqSOEbqVR+qYdP7uWb57WEJqzyh411GAVsDinPs7KvUeXItlcMdOUWzXBH6zscymV1LLVCtc8IePojzXHF9m5b5zGwBRdzcyUJkiu938ApmAayRdJrX1PmVguWUvt2ThQ62czItTyWJMW2An/hdDfMK7SiFQlGIdAbltHz3ycoh7j9V7GxNWBpbtcSdqm4XxRwTawc3cbZ+xfSv9qQfEkDKfZTwCkqWGI/ur250ItXlMlh6vUNWEYIg9A3GzbgmbqvTN8js2YMo87CU5y6nZ4dbJLDQJj9fc7yM7tZzJDZFtqOcU8+mZjYlq4VmifI23iHb1ZoT9E+kT2dolnP1AfiOkt7PQCSykBiXy5mv637IegWSKj9IKrYZf4Lu9+I7ub+mkRdlvYzehh/jaJ9n7HUH5b2IbgeNdkY7wx1yVzxS7pbvky6+nmVUtRllEFfweUQ0/nG017WoUYSxs+j2B4FV/F62EtHlMWZXYrjGHpthnNb1x66LKZ0Qe92INWHdfR/vqp02wMS8r1G4dJqHok8KmQ7947G13a4YXbsGgHcBvRuVu1eAi4/A5+ZixmdSXM73LupB/LH7O9yxLTVXJTyBbI1S49TIROrfVCOb/czZ9pM4JsZx8kUz8dQGv7gUWKxXvTH7QM/3J2OuXXgciUhqY+cgtaOliQQVOYthBLV3xpESZT3rmfEYNZxmpBbb24CRao86prn+i9TNOh8VxRJGXJfXHATJHs1T5txgc/opYrY8XjlGQQbRcoxIBcnVsMjmU1ymmIUL4dviJXndMAJ0Yet+c7O52/p98ytlmAsGBaTAmMhimAnvp1TWNGM9BpuitGj+t810CU2UhorrjPKGtThVC8WaXw04WFnT5fTjqmPyrQ0tN3CkLsctVy2xr0ZWgiWVZ1OrlFjjxJYsOiZv2cAoOvE+7sY0I/TwWcZqMoyIKNOftwP7w++Rfg67ljfovKYa50if3fzE/8aPYVey/Nq35+nH2sLPh/fP5TsylSKGOZ4k69d2PnH43+kq++sRXHQqGArWdwhx+hpwQC6JgT2uxehYU4Zbw7oNb6/HLikPyJROGK2ouyr+vzseESp9G50T4AyFrSqOQ0rroCYP4sMDFBrHn342EyZTMlSyk47rHSq89Y9/nI3zG5lX16Z5lxphguLOcZUndL8wNcrkyjH82jqg8Bo8OYkynrxZvbFno5lUS3OPr8Ko3mX9NoRPdYOKKjD07bvgFgpZ/RF+YzkWvJ/Hs/tUbfeGzGWLxNAjfDzHHMVSDwB5SabQLsIZHiBp43FjGkaienYoDd18hu2BGwOK7U3o70K/WY/kuuKdmdrykIBUdG2mvE91L1JtTbh20mOLbk1vCAamu7utlXeGU2ooVikbU/actcgmsC1FKk2qmj3GWeIWbj4tGIxE7BLcBWUvvcnd/lYxsMV4F917fWeFB/XbINN3qGvIyTpCalz1lVewdIGqeAS/gB8Mi+sA+BqDiX3VGD2eUunTRbSY+AuDy4E3Qx3hAhwnSXX+B0zuj3eQ1miS8Vux2z/l6/BkWtjKGU72aJkOCWhGcSf3+kFkkB15vGOsQrSdFr6qTj0gBYiOlnBO41170gOWHSUoBVRU2JjwppYdhIFDfu7tIRHccSNM5KZOFDPz0TGMAjzzEpeLwTWp+kn201kU6NjbiMQJx83+LX1e1tZ10kuChJZ/XBUQ1dwaBHjTDJDqOympEk8X2M3VtVw21JksChA8w1tTefO3RJ1FMbqZ01bHHkudDB/OhLfe7P5GOHaI28ZXKTMuqo0hLWQ4HabBsGG7NbP1RiXtETz074er6w/OerJWEqjmkq2y51q1BVI+JUudnVa3ogBpzdhFE7fC7kybrAt2Z6RqDjATAUEYeYK45WMupBKQRtQlU+uNsjnzj6ZmGrezA+ASrWxQ6LMkHRXqXwNq7ftv28dUx/ZSJciDXP2SWJsWaN0FjPX9Yko6LobZ7aYW/IdUktI9apTLyHS8DyWPyuoZyxN1TK/vtfxk3HwWh6JczZC8Ftn0bIJay2g+n5wd7lm9rEsKO+svqVmi+c1j88hSCxbzrg4+HEP0Nt1/B6YW1XVm09T1CpAKjc9n18hjqsaFGdfyva1ZG0Xu3ip6N6JGpyTSqY5h4BOlpLPaOnyw45PdXTN+DtAKg7DLrLFTnWusoSBHk3s0d7YouJHq85/R09Tfc37ENXZF48eAYLnq9GLioNcwDZrC6FW6godB8JnqYUPvn0pWLfQz0lM0Yy8Mybgn84Ds3Q9bDP10bLyOV+qzxa4Rd9Dhu7cju8mMaONXK3UqmBQ9qIg7etIwEqM/kECk/Dzja4Bs1xR+Q/tCbc8IKrSGsTdJJ0vge7IG20W687uVmK6icWQ6cD3lwFzgNMGtFvO5qyJeKflGLAAcQZOrkxVwy3cWvqlGpvjmf9Qe6Ap20MPbV92DPV0OhFM4kz8Yr0ffC2zLWSQ1kqY6QdQrttR3kh1YLtQd1kCEv5hVoPIRWl5ERcUTttBIrWp6Xs5Ehh5OUUwI5aEBvuiDmUoENmnVw1FohCrbRp1A1E+XSlWVOTi7ADW+5Ohb9z1vK4qx5R5lPdGCPBJZ00mC+Ssp8VUbgpGAvXWMuWQQRbCqI6Rr2jtxZxtfP7W/8onz+yz0Gs76LaT5HX9ecyiZCB/ZR/gFtMxPsDwohoeCRtiuLxE1GM1vUEUgBv86+eehL58/P56QFGQ/MqOe/vC76L63jzmeax4exd/OKTUvkXg+fOJUHych9xt/9goJMrapSgvXrj8+8vk/N80f22Sewj6cyGqt1B6mztoeklVHHraouhvHJaG/OuBz6DHKMpFmQULU1bRWlyYE0RPXYYkUycIemN7TLtgNCJX6BqdyxDKkegO7nJK5xQ7OVYDZTMf9bVHidtk6DQX9Et+V9M7esgbsYBdEeUpsB0Xvw2kd9+rI7V+m47u+O/tq7mw7262HU1WlS9uFzsV6JxIHNmUCy0QS9e077JGRFbG65z3/dOKB/Zk+yDdKpUmdXjn/aS3N5nv4fK7bMHHmPlHd4E2+iTbV5rpzScRnxk6KARuDTJ8Q1LpK2mP8gj1EbuJ9RIyY+EWK4hCiIDBAS1Tm2IEXAFfgKPgdL9O6mAa06wjCcUAL6EsxPQWO9VNegBPm/0GgkZbDxCynxujX/92vmGcjZRMAY45puak2sFLCLSwXpEsyy5fnF0jGJBhm+fNSHKKUUfy+276A7/feLOFxxUuHRNJI2Osenxyvf8DAGObT60pfTTlhEg9u/KKkhJqm5U1/+BEcSkpFDA5XeCqxwXmPac1jcuZ3JWQ+p0NdWzb/5v1ZvF8GtMTFFEdQjpLO0bwPb0BHNWnip3liDXI2fXf05jjvfJ0NpjLCUgfTh9CMFYVFKEd4Z/OG/2C+N435mnK+9t1gvCiVcaaH7rK4+PjCvpVNiz+t2QyqH1O8x3JKZVl6Q+Lp/XK8wMjVMslOq9FdSw5FtUs/CptXH9PW+wbWHgrV17R5jTVOtGtKFu3nb80T+E0tv9QkzW3J2dbaw/8ddAKZ0pxIaEqLjlPrji3VgJ3GvdFvlqD8075woxh4fVt0JZE0KVFsAvqhe0dqN9b35jtSpnYMXkU+vZq+IAHad3IHc2s/LYrnD1anfG46IFiMIr9oNbZDWvwthqYNqOigaKd/XlLU4XHfk/PXIjPsLy/9/kAtQ+/wKH+hI/IROWj5FPvTZAT9f7j4ZXQyG4M0TujMAFXYkKvEHv1xhySekgXGGqNxWeWKlf8dDAlLuB1cb/qOD+rk7cmwt+1yKpk9cudqBanTi6zTbXRtV8qylNtjyOVKy1HTz0GW9rjt6sSjAZcT5R+KdtyYb0zyqG9pSLuCw5WBwAn7fjBjKLLoxLXMI+52L9cLwIR2B6OllJZLHJ8vDxmWdtF+QJnmt1rsHPIWY20lftk8fYePkAIg6Hgn532QoIpegMxiWgAOfe5/U44APR8Ac0NeZrVh3gEhs12W+tVSiWiUQekf/YBECUy5fdYbA08dd7VzPAP9aiVcIB9k6tY7WdJ1wNV+bHeydNtmC6G5ICtFC1ZwmJU/j8hf0I8TRVKSiz5oYIa93EpUI78X8GYIAZabx47/n8LDAAJ0nNtP1rpROprqKMBRecShca6qXuTSI3jZBLOB3Vp381B5rCGhjSvh/NSVkYp2qIdP/Bg="},82010:(e,t,n)=>{var r=n(78211);t.init=function(){t.dictionary=r.init()},t.offsetsByLength=new Uint32Array([0,0,0,0,0,4096,9216,21504,35840,44032,53248,63488,74752,87040,93696,100864,104704,106752,108928,113536,115968,118528,119872,121280,122016]),t.sizeBitsByLength=new Uint8Array([0,0,0,0,10,10,11,11,10,10,10,10,10,9,9,8,7,7,8,7,7,6,6,5,5]),t.minDictionaryWordLength=4,t.maxDictionaryWordLength=24},1789:(e,t)=>{function n(e,t){this.bits=e,this.value=t}t.z=n;var r=15;function i(e,t){for(var n=1<<t-1;e&n;)n>>=1;return(e&n-1)+n}function o(e,t,r,i,o){do{e[t+(i-=r)]=new n(o.bits,o.value)}while(i>0)}function a(e,t,n){for(var i=1<<t-n;t<r&&!((i-=e[t])<=0);)++t,i<<=1;return t-n}t.u=function(e,t,s,l,c){var u,d,p,h,f,m,g,v,y,A,b=t,w=new Int32Array(16),x=new Int32Array(16);for(A=new Int32Array(c),d=0;d<c;d++)w[l[d]]++;for(x[1]=0,u=1;u<r;u++)x[u+1]=x[u]+w[u];for(d=0;d<c;d++)0!==l[d]&&(A[x[l[d]]++]=d);if(y=v=1<<(g=s),1===x[15]){for(p=0;p<y;++p)e[t+p]=new n(0,65535&A[0]);return y}for(p=0,d=0,u=1,h=2;u<=s;++u,h<<=1)for(;w[u]>0;--w[u])o(e,t+p,h,v,new n(255&u,65535&A[d++])),p=i(p,u);for(m=y-1,f=-1,u=s+1,h=2;u<=r;++u,h<<=1)for(;w[u]>0;--w[u])(p&m)!==f&&(t+=v,y+=v=1<<(g=a(w,u,s)),e[b+(f=p&m)]=new n(g+s&255,t-b-f&65535)),o(e,t+(p>>s),h,v,new n(u-s&255,65535&A[d++])),p=i(p,u);return y}},71318:(e,t)=>{function n(e,t){this.offset=e,this.nbits=t}t.kBlockLengthPrefixCode=[new n(1,2),new n(5,2),new n(9,2),new n(13,2),new n(17,3),new n(25,3),new n(33,3),new n(41,3),new n(49,4),new n(65,4),new n(81,4),new n(97,4),new n(113,5),new n(145,5),new n(177,5),new n(209,5),new n(241,6),new n(305,6),new n(369,7),new n(497,8),new n(753,9),new n(1265,10),new n(2289,11),new n(4337,12),new n(8433,13),new n(16625,24)],t.kInsertLengthPrefixCode=[new n(0,0),new n(1,0),new n(2,0),new n(3,0),new n(4,0),new n(5,0),new n(6,1),new n(8,1),new n(10,2),new n(14,2),new n(18,3),new n(26,3),new n(34,4),new n(50,4),new n(66,5),new n(98,5),new n(130,6),new n(194,7),new n(322,8),new n(578,9),new n(1090,10),new n(2114,12),new n(6210,14),new n(22594,24)],t.kCopyLengthPrefixCode=[new n(2,0),new n(3,0),new n(4,0),new n(5,0),new n(6,0),new n(7,0),new n(8,0),new n(9,0),new n(10,1),new n(12,1),new n(14,2),new n(18,2),new n(22,3),new n(30,3),new n(38,4),new n(54,4),new n(70,5),new n(102,5),new n(134,6),new n(198,7),new n(326,8),new n(582,9),new n(1094,10),new n(2118,24)],t.kInsertRangeLut=[0,0,8,8,0,16,8,16,16],t.kCopyRangeLut=[0,8,0,8,16,0,16,8,16]},47161:(e,t)=>{function n(e){this.buffer=e,this.pos=0}function r(e){this.buffer=e,this.pos=0}n.prototype.read=function(e,t,n){this.pos+n>this.buffer.length&&(n=this.buffer.length-this.pos);for(var r=0;r<n;r++)e[t+r]=this.buffer[this.pos+r];return this.pos+=n,n},t.z=n,r.prototype.write=function(e,t){if(this.pos+t>this.buffer.length)throw new Error("Output buffer is not large enough");return this.buffer.set(e.subarray(0,t),this.pos),this.pos+=t,t},t.y=r},72036:(e,t,n)=>{var r=n(82010),i=10,o=11;function a(e,t,n){this.prefix=new Uint8Array(e.length),this.transform=t,this.suffix=new Uint8Array(n.length);for(var r=0;r<e.length;r++)this.prefix[r]=e.charCodeAt(r);for(r=0;r<n.length;r++)this.suffix[r]=n.charCodeAt(r)}var s=[new a("",0,""),new a("",0," "),new a(" ",0," "),new a("",12,""),new a("",i," "),new a("",0," the "),new a(" ",0,""),new a("s ",0," "),new a("",0," of "),new a("",i,""),new a("",0," and "),new a("",13,""),new a("",1,""),new a(", ",0," "),new a("",0,", "),new a(" ",i," "),new a("",0," in "),new a("",0," to "),new a("e ",0," "),new a("",0,'"'),new a("",0,"."),new a("",0,'">'),new a("",0,"\n"),new a("",3,""),new a("",0,"]"),new a("",0," for "),new a("",14,""),new a("",2,""),new a("",0," a "),new a("",0," that "),new a(" ",i,""),new a("",0,". "),new a(".",0,""),new a(" ",0,", "),new a("",15,""),new a("",0," with "),new a("",0,"'"),new a("",0," from "),new a("",0," by "),new a("",16,""),new a("",17,""),new a(" the ",0,""),new a("",4,""),new a("",0,". The "),new a("",o,""),new a("",0," on "),new a("",0," as "),new a("",0," is "),new a("",7,""),new a("",1,"ing "),new a("",0,"\n\t"),new a("",0,":"),new a(" ",0,". "),new a("",0,"ed "),new a("",20,""),new a("",18,""),new a("",6,""),new a("",0,"("),new a("",i,", "),new a("",8,""),new a("",0," at "),new a("",0,"ly "),new a(" the ",0," of "),new a("",5,""),new a("",9,""),new a(" ",i,", "),new a("",i,'"'),new a(".",0,"("),new a("",o," "),new a("",i,'">'),new a("",0,'="'),new a(" ",0,"."),new a(".com/",0,""),new a(" the ",0," of the "),new a("",i,"'"),new a("",0,". This "),new a("",0,","),new a(".",0," "),new a("",i,"("),new a("",i,"."),new a("",0," not "),new a(" ",0,'="'),new a("",0,"er "),new a(" ",o," "),new a("",0,"al "),new a(" ",o,""),new a("",0,"='"),new a("",o,'"'),new a("",i,". "),new a(" ",0,"("),new a("",0,"ful "),new a(" ",i,". "),new a("",0,"ive "),new a("",0,"less "),new a("",o,"'"),new a("",0,"est "),new a(" ",i,"."),new a("",o,'">'),new a(" ",0,"='"),new a("",i,","),new a("",0,"ize "),new a("",o,"."),new a("\xc2\xa0",0,""),new a(" ",0,","),new a("",i,'="'),new a("",o,'="'),new a("",0,"ous "),new a("",o,", "),new a("",i,"='"),new a(" ",i,","),new a(" ",o,'="'),new a(" ",o,", "),new a("",o,","),new a("",o,"("),new a("",o,". "),new a(" ",o,"."),new a("",o,"='"),new a(" ",o,". "),new a(" ",i,'="'),new a(" ",o,"='"),new a(" ",i,"='")];function l(e,t){return e[t]<192?(e[t]>=97&&e[t]<=122&&(e[t]^=32),1):e[t]<224?(e[t+1]^=32,2):(e[t+2]^=5,3)}t.kTransforms=s,t.kNumTransforms=s.length,t.transformDictionaryWord=function(e,t,n,a,c){var u,d=s[c].prefix,p=s[c].suffix,h=s[c].transform,f=h<12?0:h-11,m=0,g=t;f>a&&(f=a);for(var v=0;v<d.length;)e[t++]=d[v++];for(n+=f,a-=f,h<=9&&(a-=h),m=0;m<a;m++)e[t++]=r.dictionary[n+m];if(u=t-a,h===i)l(e,u);else if(h===o)for(;a>0;){var y=l(e,u);u+=y,a-=y}for(var A=0;A<p.length;)e[t++]=p[A++];return t-g}},56160:(e,t,n)=>{e.exports=n(7760).BrotliDecompressBuffer},32129:e=>{var t=function(){"use strict";function e(e,t){return null!=t&&e instanceof t}var t,n,r;try{t=Map}catch(s){t=function(){}}try{n=Set}catch(s){n=function(){}}try{r=Promise}catch(s){r=function(){}}function i(o,s,l,c,u){"object"===typeof s&&(l=s.depth,c=s.prototype,u=s.includeNonEnumerable,s=s.circular);var d=[],p=[],h="undefined"!=typeof Buffer;return"undefined"==typeof s&&(s=!0),"undefined"==typeof l&&(l=1/0),function o(l,f){if(null===l)return null;if(0===f)return l;var m,g;if("object"!=typeof l)return l;if(e(l,t))m=new t;else if(e(l,n))m=new n;else if(e(l,r))m=new r((function(e,t){l.then((function(t){e(o(t,f-1))}),(function(e){t(o(e,f-1))}))}));else if(i.__isArray(l))m=[];else if(i.__isRegExp(l))m=new RegExp(l.source,a(l)),l.lastIndex&&(m.lastIndex=l.lastIndex);else if(i.__isDate(l))m=new Date(l.getTime());else{if(h&&Buffer.isBuffer(l))return m=Buffer.allocUnsafe?Buffer.allocUnsafe(l.length):new Buffer(l.length),l.copy(m),m;e(l,Error)?m=Object.create(l):"undefined"==typeof c?(g=Object.getPrototypeOf(l),m=Object.create(g)):(m=Object.create(c),g=c)}if(s){var v=d.indexOf(l);if(-1!=v)return p[v];d.push(l),p.push(m)}for(var y in e(l,t)&&l.forEach((function(e,t){var n=o(t,f-1),r=o(e,f-1);m.set(n,r)})),e(l,n)&&l.forEach((function(e){var t=o(e,f-1);m.add(t)})),l){var A;g&&(A=Object.getOwnPropertyDescriptor(g,y)),A&&null==A.set||(m[y]=o(l[y],f-1))}if(Object.getOwnPropertySymbols){var b=Object.getOwnPropertySymbols(l);for(y=0;y<b.length;y++){var w=b[y];(!(C=Object.getOwnPropertyDescriptor(l,w))||C.enumerable||u)&&(m[w]=o(l[w],f-1),C.enumerable||Object.defineProperty(m,w,{enumerable:!1}))}}if(u){var x=Object.getOwnPropertyNames(l);for(y=0;y<x.length;y++){var C,S=x[y];(C=Object.getOwnPropertyDescriptor(l,S))&&C.enumerable||(m[S]=o(l[S],f-1),Object.defineProperty(m,S,{enumerable:!1}))}}return m}(o,l)}function o(e){return Object.prototype.toString.call(e)}function a(e){var t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),t}return i.clonePrototype=function(e){if(null===e)return null;var t=function(){};return t.prototype=e,new t},i.__objToStr=o,i.__isDate=function(e){return"object"===typeof e&&"[object Date]"===o(e)},i.__isArray=function(e){return"object"===typeof e&&"[object Array]"===o(e)},i.__isRegExp=function(e){return"object"===typeof e&&"[object RegExp]"===o(e)},i.__getRegExpFlags=a,i}();e.exports&&(e.exports=t)},52958:e=>{"use strict";e.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},96340:(e,t,n)=>{var r=n(52958),i=n(96122),o=Object.hasOwnProperty,a=Object.create(null);for(var s in r)o.call(r,s)&&(a[r[s]]=s);var l=e.exports={to:{},get:{}};function c(e,t,n){return Math.min(Math.max(t,e),n)}function u(e){var t=Math.round(e).toString(16).toUpperCase();return t.length<2?"0"+t:t}l.get=function(e){var t,n;switch(e.substring(0,3).toLowerCase()){case"hsl":t=l.get.hsl(e),n="hsl";break;case"hwb":t=l.get.hwb(e),n="hwb";break;default:t=l.get.rgb(e),n="rgb"}return t?{model:n,value:t}:null},l.get.rgb=function(e){if(!e)return null;var t,n,i,a=[0,0,0,1];if(t=e.match(/^#([a-f0-9]{6})([a-f0-9]{2})?$/i)){for(i=t[2],t=t[1],n=0;n<3;n++){var s=2*n;a[n]=parseInt(t.slice(s,s+2),16)}i&&(a[3]=parseInt(i,16)/255)}else if(t=e.match(/^#([a-f0-9]{3,4})$/i)){for(i=(t=t[1])[3],n=0;n<3;n++)a[n]=parseInt(t[n]+t[n],16);i&&(a[3]=parseInt(i+i,16)/255)}else if(t=e.match(/^rgba?\(\s*([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/)){for(n=0;n<3;n++)a[n]=parseInt(t[n+1],0);t[4]&&(t[5]?a[3]=.01*parseFloat(t[4]):a[3]=parseFloat(t[4]))}else{if(!(t=e.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/)))return(t=e.match(/^(\w+)$/))?"transparent"===t[1]?[0,0,0,0]:o.call(r,t[1])?((a=r[t[1]])[3]=1,a):null:null;for(n=0;n<3;n++)a[n]=Math.round(2.55*parseFloat(t[n+1]));t[4]&&(t[5]?a[3]=.01*parseFloat(t[4]):a[3]=parseFloat(t[4]))}for(n=0;n<3;n++)a[n]=c(a[n],0,255);return a[3]=c(a[3],0,1),a},l.get.hsl=function(e){if(!e)return null;var t=e.match(/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,?\s*([+-]?[\d\.]+)%\s*,?\s*([+-]?[\d\.]+)%\s*(?:[,|\/]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/);if(t){var n=parseFloat(t[4]);return[(parseFloat(t[1])%360+360)%360,c(parseFloat(t[2]),0,100),c(parseFloat(t[3]),0,100),c(isNaN(n)?1:n,0,1)]}return null},l.get.hwb=function(e){if(!e)return null;var t=e.match(/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/);if(t){var n=parseFloat(t[4]);return[(parseFloat(t[1])%360+360)%360,c(parseFloat(t[2]),0,100),c(parseFloat(t[3]),0,100),c(isNaN(n)?1:n,0,1)]}return null},l.to.hex=function(){var e=i(arguments);return"#"+u(e[0])+u(e[1])+u(e[2])+(e[3]<1?u(Math.round(255*e[3])):"")},l.to.rgb=function(){var e=i(arguments);return e.length<4||1===e[3]?"rgb("+Math.round(e[0])+", "+Math.round(e[1])+", "+Math.round(e[2])+")":"rgba("+Math.round(e[0])+", "+Math.round(e[1])+", "+Math.round(e[2])+", "+e[3]+")"},l.to.rgb.percent=function(){var e=i(arguments),t=Math.round(e[0]/255*100),n=Math.round(e[1]/255*100),r=Math.round(e[2]/255*100);return e.length<4||1===e[3]?"rgb("+t+"%, "+n+"%, "+r+"%)":"rgba("+t+"%, "+n+"%, "+r+"%, "+e[3]+")"},l.to.hsl=function(){var e=i(arguments);return e.length<4||1===e[3]?"hsl("+e[0]+", "+e[1]+"%, "+e[2]+"%)":"hsla("+e[0]+", "+e[1]+"%, "+e[2]+"%, "+e[3]+")"},l.to.hwb=function(){var e=i(arguments),t="";return e.length>=4&&1!==e[3]&&(t=", "+e[3]),"hwb("+e[0]+", "+e[1]+"%, "+e[2]+"%"+t+")"},l.to.keyword=function(e){return a[e.slice(0,3)]}},96487:function(e,t){var n="undefined"!==typeof self?self:this,r=function(){function e(){this.fetch=!1,this.DOMException=n.DOMException}return e.prototype=n,new e}();!function(e){!function(t){var n="URLSearchParams"in e,r="Symbol"in e&&"iterator"in Symbol,i="FileReader"in e&&"Blob"in e&&function(){try{return new Blob,!0}catch(e){return!1}}(),o="FormData"in e,a="ArrayBuffer"in e;if(a)var s=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],l=ArrayBuffer.isView||function(e){return e&&s.indexOf(Object.prototype.toString.call(e))>-1};function c(e){if("string"!==typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function u(e){return"string"!==typeof e&&(e=String(e)),e}function d(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return r&&(t[Symbol.iterator]=function(){return t}),t}function p(e){this.map={},e instanceof p?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function h(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function f(e){return new Promise((function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}}))}function m(e){var t=new FileReader,n=f(t);return t.readAsArrayBuffer(e),n}function g(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function v(){return this.bodyUsed=!1,this._initBody=function(e){var t;this._bodyInit=e,e?"string"===typeof e?this._bodyText=e:i&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:o&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:n&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():a&&i&&((t=e)&&DataView.prototype.isPrototypeOf(t))?(this._bodyArrayBuffer=g(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):a&&(ArrayBuffer.prototype.isPrototypeOf(e)||l(e))?this._bodyArrayBuffer=g(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"===typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):n&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},i&&(this.blob=function(){var e=h(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?h(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(m)}),this.text=function(){var e=h(this);if(e)return e;if(this._bodyBlob)return function(e){var t=new FileReader,n=f(t);return t.readAsText(e),n}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r<t.length;r++)n[r]=String.fromCharCode(t[r]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},o&&(this.formData=function(){return this.text().then(b)}),this.json=function(){return this.text().then(JSON.parse)},this}p.prototype.append=function(e,t){e=c(e),t=u(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},p.prototype.delete=function(e){delete this.map[c(e)]},p.prototype.get=function(e){return e=c(e),this.has(e)?this.map[e]:null},p.prototype.has=function(e){return this.map.hasOwnProperty(c(e))},p.prototype.set=function(e,t){this.map[c(e)]=u(t)},p.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},p.prototype.keys=function(){var e=[];return this.forEach((function(t,n){e.push(n)})),d(e)},p.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),d(e)},p.prototype.entries=function(){var e=[];return this.forEach((function(t,n){e.push([n,t])})),d(e)},r&&(p.prototype[Symbol.iterator]=p.prototype.entries);var y=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function A(e,t){var n=(t=t||{}).body;if(e instanceof A){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new p(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,n||null==e._bodyInit||(n=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new p(t.headers)),this.method=function(e){var t=e.toUpperCase();return y.indexOf(t)>-1?t:e}(t.method||this.method||"GET"),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(n)}function b(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),i=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(i))}})),t}function w(e){var t=new p;return e.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(e){var n=e.split(":"),r=n.shift().trim();if(r){var i=n.join(":").trim();t.append(r,i)}})),t}function x(e,t){t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in t?t.statusText:"OK",this.headers=new p(t.headers),this.url=t.url||"",this._initBody(e)}A.prototype.clone=function(){return new A(this,{body:this._bodyInit})},v.call(A.prototype),v.call(x.prototype),x.prototype.clone=function(){return new x(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new p(this.headers),url:this.url})},x.error=function(){var e=new x(null,{status:0,statusText:""});return e.type="error",e};var C=[301,302,303,307,308];x.redirect=function(e,t){if(-1===C.indexOf(t))throw new RangeError("Invalid status code");return new x(null,{status:t,headers:{location:e}})},t.DOMException=e.DOMException;try{new t.DOMException}catch(k){t.DOMException=function(e,t){this.message=e,this.name=t;var n=Error(e);this.stack=n.stack},t.DOMException.prototype=Object.create(Error.prototype),t.DOMException.prototype.constructor=t.DOMException}function S(e,n){return new Promise((function(r,o){var a=new A(e,n);if(a.signal&&a.signal.aborted)return o(new t.DOMException("Aborted","AbortError"));var s=new XMLHttpRequest;function l(){s.abort()}s.onload=function(){var e={status:s.status,statusText:s.statusText,headers:w(s.getAllResponseHeaders()||"")};e.url="responseURL"in s?s.responseURL:e.headers.get("X-Request-URL");var t="response"in s?s.response:s.responseText;r(new x(t,e))},s.onerror=function(){o(new TypeError("Network request failed"))},s.ontimeout=function(){o(new TypeError("Network request failed"))},s.onabort=function(){o(new t.DOMException("Aborted","AbortError"))},s.open(a.method,a.url,!0),"include"===a.credentials?s.withCredentials=!0:"omit"===a.credentials&&(s.withCredentials=!1),"responseType"in s&&i&&(s.responseType="blob"),a.headers.forEach((function(e,t){s.setRequestHeader(t,e)})),a.signal&&(a.signal.addEventListener("abort",l),s.onreadystatechange=function(){4===s.readyState&&a.signal.removeEventListener("abort",l)}),s.send("undefined"===typeof a._bodyInit?null:a._bodyInit)}))}S.polyfill=!0,e.fetch||(e.fetch=S,e.Headers=p,e.Request=A,e.Response=x),t.Headers=p,t.Request=A,t.Response=x,t.fetch=S,Object.defineProperty(t,"__esModule",{value:!0})}({})}(r),r.fetch.ponyfill=!0,delete r.fetch.polyfill;var i=r;(t=i.fetch).default=i.fetch,t.fetch=i.fetch,t.Headers=i.Headers,t.Request=i.Request,t.Response=i.Response,e.exports=t},74703:function(e,t,n){e.exports=function(){var e=e||function(e,t){var r;if("undefined"!==typeof window&&window.crypto&&(r=window.crypto),"undefined"!==typeof self&&self.crypto&&(r=self.crypto),"undefined"!==typeof globalThis&&globalThis.crypto&&(r=globalThis.crypto),!r&&"undefined"!==typeof window&&window.msCrypto&&(r=window.msCrypto),!r&&"undefined"!==typeof n.g&&n.g.crypto&&(r=n.g.crypto),!r)try{r=n(50477)}catch(g){}var i=function(){if(r){if("function"===typeof r.getRandomValues)try{return r.getRandomValues(new Uint32Array(1))[0]}catch(g){}if("function"===typeof r.randomBytes)try{return r.randomBytes(4).readInt32LE()}catch(g){}}throw new Error("Native crypto module could not be used to get secure random number.")},o=Object.create||function(){function e(){}return function(t){var n;return e.prototype=t,n=new e,e.prototype=null,n}}(),a={},s=a.lib={},l=s.Base={extend:function(e){var t=o(this);return e&&t.mixIn(e),t.hasOwnProperty("init")&&this.init!==t.init||(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}},c=s.WordArray=l.extend({init:function(e,n){e=this.words=e||[],this.sigBytes=n!=t?n:4*e.length},toString:function(e){return(e||d).stringify(this)},concat:function(e){var t=this.words,n=e.words,r=this.sigBytes,i=e.sigBytes;if(this.clamp(),r%4)for(var o=0;o<i;o++){var a=n[o>>>2]>>>24-o%4*8&255;t[r+o>>>2]|=a<<24-(r+o)%4*8}else for(var s=0;s<i;s+=4)t[r+s>>>2]=n[s>>>2];return this.sigBytes+=i,this},clamp:function(){var t=this.words,n=this.sigBytes;t[n>>>2]&=4294967295<<32-n%4*8,t.length=e.ceil(n/4)},clone:function(){var e=l.clone.call(this);return e.words=this.words.slice(0),e},random:function(e){for(var t=[],n=0;n<e;n+=4)t.push(i());return new c.init(t,e)}}),u=a.enc={},d=u.Hex={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],i=0;i<n;i++){var o=t[i>>>2]>>>24-i%4*8&255;r.push((o>>>4).toString(16)),r.push((15&o).toString(16))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r<t;r+=2)n[r>>>3]|=parseInt(e.substr(r,2),16)<<24-r%8*4;return new c.init(n,t/2)}},p=u.Latin1={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],i=0;i<n;i++){var o=t[i>>>2]>>>24-i%4*8&255;r.push(String.fromCharCode(o))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r<t;r++)n[r>>>2]|=(255&e.charCodeAt(r))<<24-r%4*8;return new c.init(n,t)}},h=u.Utf8={stringify:function(e){try{return decodeURIComponent(escape(p.stringify(e)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(e){return p.parse(unescape(encodeURIComponent(e)))}},f=s.BufferedBlockAlgorithm=l.extend({reset:function(){this._data=new c.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=h.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var n,r=this._data,i=r.words,o=r.sigBytes,a=this.blockSize,s=o/(4*a),l=(s=t?e.ceil(s):e.max((0|s)-this._minBufferSize,0))*a,u=e.min(4*l,o);if(l){for(var d=0;d<l;d+=a)this._doProcessBlock(i,d);n=i.splice(0,l),r.sigBytes-=u}return new c.init(n,u)},clone:function(){var e=l.clone.call(this);return e._data=this._data.clone(),e},_minBufferSize:0}),m=(s.Hasher=f.extend({cfg:l.extend(),init:function(e){this.cfg=this.cfg.extend(e),this.reset()},reset:function(){f.reset.call(this),this._doReset()},update:function(e){return this._append(e),this._process(),this},finalize:function(e){return e&&this._append(e),this._doFinalize()},blockSize:16,_createHelper:function(e){return function(t,n){return new e.init(n).finalize(t)}},_createHmacHelper:function(e){return function(t,n){return new m.HMAC.init(e,n).finalize(t)}}}),a.algo={});return a}(Math);return e}()},17766:function(e,t,n){!function(){var t;e.exports=(t=n(74703),function(e){var n=t,r=n.lib,i=r.WordArray,o=r.Hasher,a=n.algo,s=[];!function(){for(var t=0;t<64;t++)s[t]=4294967296*e.abs(e.sin(t+1))|0}();var l=a.MD5=o.extend({_doReset:function(){this._hash=new i.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(e,t){for(var n=0;n<16;n++){var r=t+n,i=e[r];e[r]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8)}var o=this._hash.words,a=e[t+0],l=e[t+1],h=e[t+2],f=e[t+3],m=e[t+4],g=e[t+5],v=e[t+6],y=e[t+7],A=e[t+8],b=e[t+9],w=e[t+10],x=e[t+11],C=e[t+12],S=e[t+13],k=e[t+14],E=e[t+15],I=o[0],_=o[1],P=o[2],O=o[3];I=c(I,_,P,O,a,7,s[0]),O=c(O,I,_,P,l,12,s[1]),P=c(P,O,I,_,h,17,s[2]),_=c(_,P,O,I,f,22,s[3]),I=c(I,_,P,O,m,7,s[4]),O=c(O,I,_,P,g,12,s[5]),P=c(P,O,I,_,v,17,s[6]),_=c(_,P,O,I,y,22,s[7]),I=c(I,_,P,O,A,7,s[8]),O=c(O,I,_,P,b,12,s[9]),P=c(P,O,I,_,w,17,s[10]),_=c(_,P,O,I,x,22,s[11]),I=c(I,_,P,O,C,7,s[12]),O=c(O,I,_,P,S,12,s[13]),P=c(P,O,I,_,k,17,s[14]),I=u(I,_=c(_,P,O,I,E,22,s[15]),P,O,l,5,s[16]),O=u(O,I,_,P,v,9,s[17]),P=u(P,O,I,_,x,14,s[18]),_=u(_,P,O,I,a,20,s[19]),I=u(I,_,P,O,g,5,s[20]),O=u(O,I,_,P,w,9,s[21]),P=u(P,O,I,_,E,14,s[22]),_=u(_,P,O,I,m,20,s[23]),I=u(I,_,P,O,b,5,s[24]),O=u(O,I,_,P,k,9,s[25]),P=u(P,O,I,_,f,14,s[26]),_=u(_,P,O,I,A,20,s[27]),I=u(I,_,P,O,S,5,s[28]),O=u(O,I,_,P,h,9,s[29]),P=u(P,O,I,_,y,14,s[30]),I=d(I,_=u(_,P,O,I,C,20,s[31]),P,O,g,4,s[32]),O=d(O,I,_,P,A,11,s[33]),P=d(P,O,I,_,x,16,s[34]),_=d(_,P,O,I,k,23,s[35]),I=d(I,_,P,O,l,4,s[36]),O=d(O,I,_,P,m,11,s[37]),P=d(P,O,I,_,y,16,s[38]),_=d(_,P,O,I,w,23,s[39]),I=d(I,_,P,O,S,4,s[40]),O=d(O,I,_,P,a,11,s[41]),P=d(P,O,I,_,f,16,s[42]),_=d(_,P,O,I,v,23,s[43]),I=d(I,_,P,O,b,4,s[44]),O=d(O,I,_,P,C,11,s[45]),P=d(P,O,I,_,E,16,s[46]),I=p(I,_=d(_,P,O,I,h,23,s[47]),P,O,a,6,s[48]),O=p(O,I,_,P,y,10,s[49]),P=p(P,O,I,_,k,15,s[50]),_=p(_,P,O,I,g,21,s[51]),I=p(I,_,P,O,C,6,s[52]),O=p(O,I,_,P,f,10,s[53]),P=p(P,O,I,_,w,15,s[54]),_=p(_,P,O,I,l,21,s[55]),I=p(I,_,P,O,A,6,s[56]),O=p(O,I,_,P,E,10,s[57]),P=p(P,O,I,_,v,15,s[58]),_=p(_,P,O,I,S,21,s[59]),I=p(I,_,P,O,m,6,s[60]),O=p(O,I,_,P,x,10,s[61]),P=p(P,O,I,_,h,15,s[62]),_=p(_,P,O,I,b,21,s[63]),o[0]=o[0]+I|0,o[1]=o[1]+_|0,o[2]=o[2]+P|0,o[3]=o[3]+O|0},_doFinalize:function(){var t=this._data,n=t.words,r=8*this._nDataBytes,i=8*t.sigBytes;n[i>>>5]|=128<<24-i%32;var o=e.floor(r/4294967296),a=r;n[15+(i+64>>>9<<4)]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),n[14+(i+64>>>9<<4)]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),t.sigBytes=4*(n.length+1),this._process();for(var s=this._hash,l=s.words,c=0;c<4;c++){var u=l[c];l[c]=16711935&(u<<8|u>>>24)|4278255360&(u<<24|u>>>8)}return s},clone:function(){var e=o.clone.call(this);return e._hash=this._hash.clone(),e}});function c(e,t,n,r,i,o,a){var s=e+(t&n|~t&r)+i+a;return(s<<o|s>>>32-o)+t}function u(e,t,n,r,i,o,a){var s=e+(t&r|n&~r)+i+a;return(s<<o|s>>>32-o)+t}function d(e,t,n,r,i,o,a){var s=e+(t^n^r)+i+a;return(s<<o|s>>>32-o)+t}function p(e,t,n,r,i,o,a){var s=e+(n^(t|~r))+i+a;return(s<<o|s>>>32-o)+t}n.MD5=o._createHelper(l),n.HmacMD5=o._createHmacHelper(l)}(Math),t.MD5)}()},4159:function(e){e.exports=function(){"use strict";var e=1e3,t=6e4,n=36e5,r="millisecond",i="second",o="minute",a="hour",s="day",l="week",c="month",u="quarter",d="year",p="date",h="Invalid Date",f=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,m=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,g={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],n=e%100;return"["+e+(t[(n-20)%10]||t[n]||t[0])+"]"}},v=function(e,t,n){var r=String(e);return!r||r.length>=t?e:""+Array(t+1-r.length).join(n)+e},y={s:v,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),r=Math.floor(n/60),i=n%60;return(t<=0?"+":"-")+v(r,2,"0")+":"+v(i,2,"0")},m:function e(t,n){if(t.date()<n.date())return-e(n,t);var r=12*(n.year()-t.year())+(n.month()-t.month()),i=t.clone().add(r,c),o=n-i<0,a=t.clone().add(r+(o?-1:1),c);return+(-(r+(n-i)/(o?i-a:a-i))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:c,y:d,w:l,d:s,D:p,h:a,m:o,s:i,ms:r,Q:u}[e]||String(e||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}},A="en",b={};b[A]=g;var w="$isDayjsObject",x=function(e){return e instanceof E||!(!e||!e[w])},C=function e(t,n,r){var i;if(!t)return A;if("string"==typeof t){var o=t.toLowerCase();b[o]&&(i=o),n&&(b[o]=n,i=o);var a=t.split("-");if(!i&&a.length>1)return e(a[0])}else{var s=t.name;b[s]=t,i=s}return!r&&i&&(A=i),i||!r&&A},S=function(e,t){if(x(e))return e.clone();var n="object"==typeof t?t:{};return n.date=e,n.args=arguments,new E(n)},k=y;k.l=C,k.i=x,k.w=function(e,t){return S(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var E=function(){function g(e){this.$L=C(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[w]=!0}var v=g.prototype;return v.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(null===t)return new Date(NaN);if(k.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var r=t.match(f);if(r){var i=r[2]-1||0,o=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)}}return new Date(t)}(e),this.init()},v.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},v.$utils=function(){return k},v.isValid=function(){return!(this.$d.toString()===h)},v.isSame=function(e,t){var n=S(e);return this.startOf(t)<=n&&n<=this.endOf(t)},v.isAfter=function(e,t){return S(e)<this.startOf(t)},v.isBefore=function(e,t){return this.endOf(t)<S(e)},v.$g=function(e,t,n){return k.u(e)?this[t]:this.set(n,e)},v.unix=function(){return Math.floor(this.valueOf()/1e3)},v.valueOf=function(){return this.$d.getTime()},v.startOf=function(e,t){var n=this,r=!!k.u(t)||t,u=k.p(e),h=function(e,t){var i=k.w(n.$u?Date.UTC(n.$y,t,e):new Date(n.$y,t,e),n);return r?i:i.endOf(s)},f=function(e,t){return k.w(n.toDate()[e].apply(n.toDate("s"),(r?[0,0,0,0]:[23,59,59,999]).slice(t)),n)},m=this.$W,g=this.$M,v=this.$D,y="set"+(this.$u?"UTC":"");switch(u){case d:return r?h(1,0):h(31,11);case c:return r?h(1,g):h(0,g+1);case l:var A=this.$locale().weekStart||0,b=(m<A?m+7:m)-A;return h(r?v-b:v+(6-b),g);case s:case p:return f(y+"Hours",0);case a:return f(y+"Minutes",1);case o:return f(y+"Seconds",2);case i:return f(y+"Milliseconds",3);default:return this.clone()}},v.endOf=function(e){return this.startOf(e,!1)},v.$set=function(e,t){var n,l=k.p(e),u="set"+(this.$u?"UTC":""),h=(n={},n[s]=u+"Date",n[p]=u+"Date",n[c]=u+"Month",n[d]=u+"FullYear",n[a]=u+"Hours",n[o]=u+"Minutes",n[i]=u+"Seconds",n[r]=u+"Milliseconds",n)[l],f=l===s?this.$D+(t-this.$W):t;if(l===c||l===d){var m=this.clone().set(p,1);m.$d[h](f),m.init(),this.$d=m.set(p,Math.min(this.$D,m.daysInMonth())).$d}else h&&this.$d[h](f);return this.init(),this},v.set=function(e,t){return this.clone().$set(e,t)},v.get=function(e){return this[k.p(e)]()},v.add=function(r,u){var p,h=this;r=Number(r);var f=k.p(u),m=function(e){var t=S(h);return k.w(t.date(t.date()+Math.round(e*r)),h)};if(f===c)return this.set(c,this.$M+r);if(f===d)return this.set(d,this.$y+r);if(f===s)return m(1);if(f===l)return m(7);var g=(p={},p[o]=t,p[a]=n,p[i]=e,p)[f]||1,v=this.$d.getTime()+r*g;return k.w(v,this)},v.subtract=function(e,t){return this.add(-1*e,t)},v.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return n.invalidDate||h;var r=e||"YYYY-MM-DDTHH:mm:ssZ",i=k.z(this),o=this.$H,a=this.$m,s=this.$M,l=n.weekdays,c=n.months,u=n.meridiem,d=function(e,n,i,o){return e&&(e[n]||e(t,r))||i[n].slice(0,o)},p=function(e){return k.s(o%12||12,e,"0")},f=u||function(e,t,n){var r=e<12?"AM":"PM";return n?r.toLowerCase():r};return r.replace(m,(function(e,r){return r||function(e){switch(e){case"YY":return String(t.$y).slice(-2);case"YYYY":return k.s(t.$y,4,"0");case"M":return s+1;case"MM":return k.s(s+1,2,"0");case"MMM":return d(n.monthsShort,s,c,3);case"MMMM":return d(c,s);case"D":return t.$D;case"DD":return k.s(t.$D,2,"0");case"d":return String(t.$W);case"dd":return d(n.weekdaysMin,t.$W,l,2);case"ddd":return d(n.weekdaysShort,t.$W,l,3);case"dddd":return l[t.$W];case"H":return String(o);case"HH":return k.s(o,2,"0");case"h":return p(1);case"hh":return p(2);case"a":return f(o,a,!0);case"A":return f(o,a,!1);case"m":return String(a);case"mm":return k.s(a,2,"0");case"s":return String(t.$s);case"ss":return k.s(t.$s,2,"0");case"SSS":return k.s(t.$ms,3,"0");case"Z":return i}return null}(e)||i.replace(":","")}))},v.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},v.diff=function(r,p,h){var f,m=this,g=k.p(p),v=S(r),y=(v.utcOffset()-this.utcOffset())*t,A=this-v,b=function(){return k.m(m,v)};switch(g){case d:f=b()/12;break;case c:f=b();break;case u:f=b()/3;break;case l:f=(A-y)/6048e5;break;case s:f=(A-y)/864e5;break;case a:f=A/n;break;case o:f=A/t;break;case i:f=A/e;break;default:f=A}return h?f:k.a(f)},v.daysInMonth=function(){return this.endOf(c).$D},v.$locale=function(){return b[this.$L]},v.locale=function(e,t){if(!e)return this.$L;var n=this.clone(),r=C(e,t,!0);return r&&(n.$L=r),n},v.clone=function(){return k.w(this.$d,this)},v.toDate=function(){return new Date(this.valueOf())},v.toJSON=function(){return this.isValid()?this.toISOString():null},v.toISOString=function(){return this.$d.toISOString()},v.toString=function(){return this.$d.toUTCString()},g}(),I=E.prototype;return S.prototype=I,[["$ms",r],["$s",i],["$m",o],["$H",a],["$W",s],["$M",c],["$y",d],["$D",p]].forEach((function(e){I[e[1]]=function(t){return this.$g(t,e[0],e[1])}})),S.extend=function(e,t){return e.$i||(e(t,E,S),e.$i=!0),S},S.locale=C,S.isDayjs=x,S.unix=function(e){return S(1e3*e)},S.en=b[A],S.Ls=b,S.p={},S}()},90923:function(e){e.exports=function(){"use strict";var e={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},t=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,n=/\d/,r=/\d\d/,i=/\d\d?/,o=/\d*[^-_:/,()\s\d]+/,a={},s=function(e){return(e=+e)+(e>68?1900:2e3)},l=function(e){return function(t){this[e]=+t}},c=[/[+-]\d\d:?(\d\d)?|Z/,function(e){(this.zone||(this.zone={})).offset=function(e){if(!e)return 0;if("Z"===e)return 0;var t=e.match(/([+-]|\d\d)/g),n=60*t[1]+(+t[2]||0);return 0===n?0:"+"===t[0]?-n:n}(e)}],u=function(e){var t=a[e];return t&&(t.indexOf?t:t.s.concat(t.f))},d=function(e,t){var n,r=a.meridiem;if(r){for(var i=1;i<=24;i+=1)if(e.indexOf(r(i,0,t))>-1){n=i>12;break}}else n=e===(t?"pm":"PM");return n},p={A:[o,function(e){this.afternoon=d(e,!1)}],a:[o,function(e){this.afternoon=d(e,!0)}],Q:[n,function(e){this.month=3*(e-1)+1}],S:[n,function(e){this.milliseconds=100*+e}],SS:[r,function(e){this.milliseconds=10*+e}],SSS:[/\d{3}/,function(e){this.milliseconds=+e}],s:[i,l("seconds")],ss:[i,l("seconds")],m:[i,l("minutes")],mm:[i,l("minutes")],H:[i,l("hours")],h:[i,l("hours")],HH:[i,l("hours")],hh:[i,l("hours")],D:[i,l("day")],DD:[r,l("day")],Do:[o,function(e){var t=a.ordinal,n=e.match(/\d+/);if(this.day=n[0],t)for(var r=1;r<=31;r+=1)t(r).replace(/\[|\]/g,"")===e&&(this.day=r)}],w:[i,l("week")],ww:[r,l("week")],M:[i,l("month")],MM:[r,l("month")],MMM:[o,function(e){var t=u("months"),n=(u("monthsShort")||t.map((function(e){return e.slice(0,3)}))).indexOf(e)+1;if(n<1)throw new Error;this.month=n%12||n}],MMMM:[o,function(e){var t=u("months").indexOf(e)+1;if(t<1)throw new Error;this.month=t%12||t}],Y:[/[+-]?\d+/,l("year")],YY:[r,function(e){this.year=s(e)}],YYYY:[/\d{4}/,l("year")],Z:c,ZZ:c};function h(n){var r,i;r=n,i=a&&a.formats;for(var o=(n=r.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(t,n,r){var o=r&&r.toUpperCase();return n||i[r]||e[r]||i[o].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(e,t,n){return t||n.slice(1)}))}))).match(t),s=o.length,l=0;l<s;l+=1){var c=o[l],u=p[c],d=u&&u[0],h=u&&u[1];o[l]=h?{regex:d,parser:h}:c.replace(/^\[|\]$/g,"")}return function(e){for(var t={},n=0,r=0;n<s;n+=1){var i=o[n];if("string"==typeof i)r+=i.length;else{var a=i.regex,l=i.parser,c=e.slice(r),u=a.exec(c)[0];l.call(t,u),e=e.replace(u,"")}}return function(e){var t=e.afternoon;if(void 0!==t){var n=e.hours;t?n<12&&(e.hours+=12):12===n&&(e.hours=0),delete e.afternoon}}(t),t}}return function(e,t,n){n.p.customParseFormat=!0,e&&e.parseTwoDigitYear&&(s=e.parseTwoDigitYear);var r=t.prototype,i=r.parse;r.parse=function(e){var t=e.date,r=e.utc,o=e.args;this.$u=r;var s=o[1];if("string"==typeof s){var l=!0===o[2],c=!0===o[3],u=l||c,d=o[2];c&&(d=o[2]),a=this.$locale(),!l&&d&&(a=n.Ls[d]),this.$d=function(e,t,n,r){try{if(["x","X"].indexOf(t)>-1)return new Date(("X"===t?1e3:1)*e);var i=h(t)(e),o=i.year,a=i.month,s=i.day,l=i.hours,c=i.minutes,u=i.seconds,d=i.milliseconds,p=i.zone,f=i.week,m=new Date,g=s||(o||a?1:m.getDate()),v=o||m.getFullYear(),y=0;o&&!a||(y=a>0?a-1:m.getMonth());var A,b=l||0,w=c||0,x=u||0,C=d||0;return p?new Date(Date.UTC(v,y,g,b,w,x,C+60*p.offset*1e3)):n?new Date(Date.UTC(v,y,g,b,w,x,C)):(A=new Date(v,y,g,b,w,x,C),f&&(A=r(A).week(f).toDate()),A)}catch(e){return new Date("")}}(t,s,r,n),this.init(),d&&!0!==d&&(this.$L=this.locale(d).$L),u&&t!=this.format(s)&&(this.$d=new Date("")),a={}}else if(s instanceof Array)for(var p=s.length,f=1;f<=p;f+=1){o[1]=s[f-1];var m=n.apply(this,o);if(m.isValid()){this.$d=m.$d,this.$L=m.$L,this.init();break}f===p&&(this.$d=new Date(""))}else i.call(this,e)}}}()},77588:function(e){e.exports=function(){"use strict";var e={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};return function(t,n,r){var i=n.prototype,o=i.format;r.en.formats=e,i.format=function(t){void 0===t&&(t="YYYY-MM-DDTHH:mm:ssZ");var n=this.$locale().formats,r=function(t,n){return t.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(t,r,i){var o=i&&i.toUpperCase();return r||n[i]||e[i]||n[o].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(e,t,n){return t||n.slice(1)}))}))}(t,void 0===n?{}:n);return o.call(this,r)}}}()},33836:e=>{"use strict";e.exports=class{constructor(e){this.stateTable=e.stateTable,this.accepting=e.accepting,this.tags=e.tags}match(e){var t=this;return{*[Symbol.iterator](){for(var n=1,r=null,i=null,o=null,a=0;a<e.length;a++){var s=e[a];o=n,0===(n=t.stateTable[n][s])&&(null!=r&&null!=i&&i>=r&&(yield[r,i,t.tags[o]]),n=t.stateTable[1][s],r=null),0!==n&&null==r&&(r=a),t.accepting[n]&&(i=a),0===n&&(n=1)}null!=r&&null!=i&&i>=r&&(yield[r,i,t.tags[n]])}}}apply(e,t){for(var[n,r,i]of this.match(e))for(var o of i)"function"===typeof t[o]&&t[o](n,r,e.slice(n,r+1))}}},11445:(e,t,n)=>{"use strict";function r(e,t){e.classList?e.classList.add(t):function(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")}(e,t)||("string"===typeof e.className?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))}n.d(t,{A:()=>r})},72373:(e,t,n)=>{"use strict";function r(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function i(e,t){e.classList?e.classList.remove(t):"string"===typeof e.className?e.className=r(e.className,t):e.setAttribute("class",r(e.className&&e.className.baseVal||"",t))}n.d(t,{A:()=>i})},31150:(e,t,n)=>{var r=n(35626),i=n(95926).each;function o(e,t){this.query=e,this.isUnconditional=t,this.handlers=[],this.mql=window.matchMedia(e);var n=this;this.listener=function(e){n.mql=e.currentTarget||e,n.assess()},this.mql.addListener(this.listener)}o.prototype={constuctor:o,addHandler:function(e){var t=new r(e);this.handlers.push(t),this.matches()&&t.on()},removeHandler:function(e){var t=this.handlers;i(t,(function(n,r){if(n.equals(e))return n.destroy(),!t.splice(r,1)}))},matches:function(){return this.mql.matches||this.isUnconditional},clear:function(){i(this.handlers,(function(e){e.destroy()})),this.mql.removeListener(this.listener),this.handlers.length=0},assess:function(){var e=this.matches()?"on":"off";i(this.handlers,(function(t){t[e]()}))}},e.exports=o},66440:(e,t,n)=>{var r=n(31150),i=n(95926),o=i.each,a=i.isFunction,s=i.isArray;function l(){if(!window.matchMedia)throw new Error("matchMedia not present, legacy browsers require a polyfill");this.queries={},this.browserIsIncapable=!window.matchMedia("only all").matches}l.prototype={constructor:l,register:function(e,t,n){var i=this.queries,l=n&&this.browserIsIncapable;return i[e]||(i[e]=new r(e,l)),a(t)&&(t={match:t}),s(t)||(t=[t]),o(t,(function(t){a(t)&&(t={match:t}),i[e].addHandler(t)})),this},unregister:function(e,t){var n=this.queries[e];return n&&(t?n.removeHandler(t):(n.clear(),delete this.queries[e])),this}},e.exports=l},35626:e=>{function t(e){this.options=e,!e.deferSetup&&this.setup()}t.prototype={constructor:t,setup:function(){this.options.setup&&this.options.setup(),this.initialised=!0},on:function(){!this.initialised&&this.setup(),this.options.match&&this.options.match()},off:function(){this.options.unmatch&&this.options.unmatch()},destroy:function(){this.options.destroy?this.options.destroy():this.off()},equals:function(e){return this.options===e||this.options.match===e}},e.exports=t},95926:e=>{e.exports={isFunction:function(e){return"function"===typeof e},isArray:function(e){return"[object Array]"===Object.prototype.toString.apply(e)},each:function(e,t){for(var n=0,r=e.length;n<r&&!1!==t(e[n],n);n++);}}},47476:(e,t,n)=>{var r=n(66440);e.exports=new r},28981:e=>{"use strict";var t,n="object"===typeof Reflect?Reflect:null,r=n&&"function"===typeof n.apply?n.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};t=n&&"function"===typeof n.ownKeys?n.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var i=Number.isNaN||function(e){return e!==e};function o(){o.init.call(this)}e.exports=o,e.exports.once=function(e,t){return new Promise((function(n,r){function i(n){e.removeListener(t,o),r(n)}function o(){"function"===typeof e.removeListener&&e.removeListener("error",i),n([].slice.call(arguments))}m(e,t,o,{once:!0}),"error"!==t&&function(e,t,n){"function"===typeof e.on&&m(e,"error",t,n)}(e,i,{once:!0})}))},o.EventEmitter=o,o.prototype._events=void 0,o.prototype._eventsCount=0,o.prototype._maxListeners=void 0;var a=10;function s(e){if("function"!==typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function l(e){return void 0===e._maxListeners?o.defaultMaxListeners:e._maxListeners}function c(e,t,n,r){var i,o,a,c;if(s(n),void 0===(o=e._events)?(o=e._events=Object.create(null),e._eventsCount=0):(void 0!==o.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),o=e._events),a=o[t]),void 0===a)a=o[t]=n,++e._eventsCount;else if("function"===typeof a?a=o[t]=r?[n,a]:[a,n]:r?a.unshift(n):a.push(n),(i=l(e))>0&&a.length>i&&!a.warned){a.warned=!0;var u=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");u.name="MaxListenersExceededWarning",u.emitter=e,u.type=t,u.count=a.length,c=u,console&&console.warn&&console.warn(c)}return e}function u(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function d(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},i=u.bind(r);return i.listener=n,r.wrapFn=i,i}function p(e,t,n){var r=e._events;if(void 0===r)return[];var i=r[t];return void 0===i?[]:"function"===typeof i?n?[i.listener||i]:[i]:n?function(e){for(var t=new Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}(i):f(i,i.length)}function h(e){var t=this._events;if(void 0!==t){var n=t[e];if("function"===typeof n)return 1;if(void 0!==n)return n.length}return 0}function f(e,t){for(var n=new Array(t),r=0;r<t;++r)n[r]=e[r];return n}function m(e,t,n,r){if("function"===typeof e.on)r.once?e.once(t,n):e.on(t,n);else{if("function"!==typeof e.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e);e.addEventListener(t,(function i(o){r.once&&e.removeEventListener(t,i),n(o)}))}}Object.defineProperty(o,"defaultMaxListeners",{enumerable:!0,get:function(){return a},set:function(e){if("number"!==typeof e||e<0||i(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");a=e}}),o.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},o.prototype.setMaxListeners=function(e){if("number"!==typeof e||e<0||i(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},o.prototype.getMaxListeners=function(){return l(this)},o.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var i="error"===e,o=this._events;if(void 0!==o)i=i&&void 0===o.error;else if(!i)return!1;if(i){var a;if(t.length>0&&(a=t[0]),a instanceof Error)throw a;var s=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw s.context=a,s}var l=o[e];if(void 0===l)return!1;if("function"===typeof l)r(l,this,t);else{var c=l.length,u=f(l,c);for(n=0;n<c;++n)r(u[n],this,t)}return!0},o.prototype.addListener=function(e,t){return c(this,e,t,!1)},o.prototype.on=o.prototype.addListener,o.prototype.prependListener=function(e,t){return c(this,e,t,!0)},o.prototype.once=function(e,t){return s(t),this.on(e,d(this,e,t)),this},o.prototype.prependOnceListener=function(e,t){return s(t),this.prependListener(e,d(this,e,t)),this},o.prototype.removeListener=function(e,t){var n,r,i,o,a;if(s(t),void 0===(r=this._events))return this;if(void 0===(n=r[e]))return this;if(n===t||n.listener===t)0===--this._eventsCount?this._events=Object.create(null):(delete r[e],r.removeListener&&this.emit("removeListener",e,n.listener||t));else if("function"!==typeof n){for(i=-1,o=n.length-1;o>=0;o--)if(n[o]===t||n[o].listener===t){a=n[o].listener,i=o;break}if(i<0)return this;0===i?n.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(n,i),1===n.length&&(r[e]=n[0]),void 0!==r.removeListener&&this.emit("removeListener",e,a||t)}return this},o.prototype.off=o.prototype.removeListener,o.prototype.removeAllListeners=function(e){var t,n,r;if(void 0===(n=this._events))return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[e]&&(0===--this._eventsCount?this._events=Object.create(null):delete n[e]),this;if(0===arguments.length){var i,o=Object.keys(n);for(r=0;r<o.length;++r)"removeListener"!==(i=o[r])&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"===typeof(t=n[e]))this.removeListener(e,t);else if(void 0!==t)for(r=t.length-1;r>=0;r--)this.removeListener(e,t[r]);return this},o.prototype.listeners=function(e){return p(this,e,!0)},o.prototype.rawListeners=function(e){return p(this,e,!1)},o.listenerCount=function(e,t){return"function"===typeof e.listenerCount?e.listenerCount(t):h.call(e,t)},o.prototype.listenerCount=h,o.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]}},45355:e=>{"use strict";e.exports=function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;var r,i,o;if(Array.isArray(t)){if((r=t.length)!=n.length)return!1;for(i=r;0!==i--;)if(!e(t[i],n[i]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((r=(o=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(i=r;0!==i--;)if(!Object.prototype.hasOwnProperty.call(n,o[i]))return!1;for(i=r;0!==i--;){var a=o[i];if(!e(t[a],n[a]))return!1}return!0}return t!==t&&n!==n}},55790:e=>{!function(){function t(e,t){document.addEventListener?e.addEventListener("scroll",t,!1):e.attachEvent("scroll",t)}function n(e){this.g=document.createElement("div"),this.g.setAttribute("aria-hidden","true"),this.g.appendChild(document.createTextNode(e)),this.h=document.createElement("span"),this.i=document.createElement("span"),this.m=document.createElement("span"),this.j=document.createElement("span"),this.l=-1,this.h.style.cssText="max-width:none;display:inline-block;position:absolute;height:100%;width:100%;overflow:scroll;font-size:16px;",this.i.style.cssText="max-width:none;display:inline-block;position:absolute;height:100%;width:100%;overflow:scroll;font-size:16px;",this.j.style.cssText="max-width:none;display:inline-block;position:absolute;height:100%;width:100%;overflow:scroll;font-size:16px;",this.m.style.cssText="display:inline-block;width:200%;height:200%;font-size:16px;max-width:none;",this.h.appendChild(this.m),this.i.appendChild(this.j),this.g.appendChild(this.h),this.g.appendChild(this.i)}function r(e,t){e.g.style.cssText="max-width:none;min-width:20px;min-height:20px;display:inline-block;overflow:hidden;position:absolute;width:auto;margin:0;padding:0;top:-999px;white-space:nowrap;font-synthesis:none;font:"+t+";"}function i(e){var t=e.g.offsetWidth,n=t+100;return e.j.style.width=n+"px",e.i.scrollLeft=n,e.h.scrollLeft=e.h.scrollWidth+100,e.l!==t&&(e.l=t,!0)}function o(e,n){function r(){var e=o;i(e)&&null!==e.g.parentNode&&n(e.l)}var o=e;t(e.h,r),t(e.i,r),i(e)}function a(e,t,n){t=t||{},n=n||window,this.family=e,this.style=t.style||"normal",this.weight=t.weight||"normal",this.stretch=t.stretch||"normal",this.context=n}var s=null,l=null,c=null,u=null;function d(e){return null===u&&(u=!!e.document.fonts),u}function p(e,t){var n=e.style,r=e.weight;if(null===c){var i=document.createElement("div");try{i.style.font="condensed 100px sans-serif"}catch(o){}c=""!==i.style.font}return[n,r,c?e.stretch:"","100px",t].join(" ")}a.prototype.load=function(e,t){var i=this,a=e||"BESbswy",c=0,u=t||3e3,h=(new Date).getTime();return new Promise((function(e,t){if(d(i.context)&&!function(e){return null===l&&(d(e)&&/Apple/.test(window.navigator.vendor)?(e=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))(?:\.([0-9]+))/.exec(window.navigator.userAgent),l=!!e&&603>parseInt(e[1],10)):l=!1),l}(i.context)){var f=new Promise((function(e,t){!function n(){(new Date).getTime()-h>=u?t(Error(u+"ms timeout exceeded")):i.context.document.fonts.load(p(i,'"'+i.family+'"'),a).then((function(t){1<=t.length?e():setTimeout(n,25)}),t)}()})),m=new Promise((function(e,t){c=setTimeout((function(){t(Error(u+"ms timeout exceeded"))}),u)}));Promise.race([m,f]).then((function(){clearTimeout(c),e(i)}),t)}else!function(e){document.body?e():document.addEventListener?document.addEventListener("DOMContentLoaded",(function t(){document.removeEventListener("DOMContentLoaded",t),e()})):document.attachEvent("onreadystatechange",(function t(){"interactive"!=document.readyState&&"complete"!=document.readyState||(document.detachEvent("onreadystatechange",t),e())}))}((function(){function l(){var t;(t=-1!=g&&-1!=v||-1!=g&&-1!=y||-1!=v&&-1!=y)&&((t=g!=v&&g!=y&&v!=y)||(null===s&&(t=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))/.exec(window.navigator.userAgent),s=!!t&&(536>parseInt(t[1],10)||536===parseInt(t[1],10)&&11>=parseInt(t[2],10))),t=s&&(g==A&&v==A&&y==A||g==b&&v==b&&y==b||g==w&&v==w&&y==w)),t=!t),t&&(null!==x.parentNode&&x.parentNode.removeChild(x),clearTimeout(c),e(i))}var d=new n(a),f=new n(a),m=new n(a),g=-1,v=-1,y=-1,A=-1,b=-1,w=-1,x=document.createElement("div");x.dir="ltr",r(d,p(i,"sans-serif")),r(f,p(i,"serif")),r(m,p(i,"monospace")),x.appendChild(d.g),x.appendChild(f.g),x.appendChild(m.g),i.context.document.body.appendChild(x),A=d.g.offsetWidth,b=f.g.offsetWidth,w=m.g.offsetWidth,function e(){if((new Date).getTime()-h>=u)null!==x.parentNode&&x.parentNode.removeChild(x),t(Error(u+"ms timeout exceeded"));else{var n=i.context.document.hidden;!0!==n&&void 0!==n||(g=d.g.offsetWidth,v=f.g.offsetWidth,y=m.g.offsetWidth,l()),c=setTimeout(e,50)}}(),o(d,(function(e){g=e,l()})),r(d,p(i,'"'+i.family+'",sans-serif')),o(f,(function(e){v=e,l()})),r(f,p(i,'"'+i.family+'",serif')),o(m,(function(e){y=e,l()})),r(m,p(i,'"'+i.family+'",monospace'))}))}))},e.exports=a}()},23876:(e,t,n)=>{"use strict";var r=n(26429),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return r.isMemo(e)?a:s[e.$$typeof]||i}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,f=Object.prototype;e.exports=function e(t,n,r){if("string"!==typeof n){if(f){var i=h(n);i&&i!==f&&e(t,i,r)}var a=u(n);d&&(a=a.concat(d(n)));for(var s=l(t),m=l(n),g=0;g<a.length;++g){var v=a[g];if(!o[v]&&(!r||!r[v])&&(!m||!m[v])&&(!s||!s[v])){var y=p(n,v);try{c(t,v,y)}catch(A){}}}}return t}},1420:(e,t,n)=>{var r=n(57212);function i(e,t){return e>t?t:e}function o(e,t){return e<t?t:e}e.exports=function(e,t,n){return e=function(e){for(e=o(e=i(e,1e7),-1e7);e<0;)e+=360;for(;e>359;)e-=360;return e}(e),t=o(i(t,100),0),n=o(i(n,100),0),"#"+r(e,t/=100,n/=100).map((function(e){return(256+e).toString(16).substr(-2)})).join("")}},57212:e=>{e.exports=function(e,t,n){if(void 0==e)return[0,0,0];var r,i,o,a=(1-Math.abs(2*n-1))*t,s=e/60,l=a*(1-Math.abs(s%2-1));0===(s=Math.floor(s))?(r=a,i=l,o=0):1===s?(r=l,i=a,o=0):2===s?(r=0,i=a,o=l):3===s?(r=0,i=l,o=a):4===s?(r=l,i=0,o=a):5===s&&(r=a,i=0,o=l);var c=n-a/2;return r+=c,i+=c,o+=c,[Math.abs(Math.round(255*r)),Math.abs(Math.round(255*i)),Math.abs(Math.round(255*o))]}},75683:function(e,t,n){var r,i,o;i=[],void 0===(o="function"===typeof(r=function(){function e(e){var t="",n="",r=0,i=e();return function(e){for(;r<e.length;){t=e.charAt(r++),n=e.charAt(r);var o=i(t,n);if(void 0!==o)return o}}}var t=RegExp.prototype.test.bind(/\s|(?![\'])[\!-\@\[-\`\{-\~\u2013-\u203C]/);function r(){var e=!1;return function(n,r){return e?">"===r[0]&&(n(),e=!1):"<"!==r[0]||t(r[1])&&"/"!==r[1]||(e=!0),e}}function i(e){var n=!1;return function(r,i){return n?!t(i[0])&&t(i[1])&&(r(),n=!1):t(i[0])||i[1]!==e||(n=!0),n}}function o(e,n){return function(){var r="",i="";function o(){r+=i,i=""}function a(e){return r="",i="",e}return function(s,l){i+=s;var c=e.reduce((function(e,t){return e||t(o,[s,l])}),!1);if(!c&&(t(s)&&!t(l)&&o(),!t(s)&&t(l))){if(i.length>=n)return a([r,i]);o()}if(""===l)return(i.length<n||c)&&o(),a([r,i])}}}function a(e){var t=0;function n(){return e[t++]}return n}function s(e){var t=0,n=e;function r(){if(!((n=e.slice(t++)).length<3))return n}function i(){return 2===t}return[r,i]}function l(e,t,n,r,i){for(var o,l,c,u,d,p,h,f,m,g,v=new Array(e.length+1),y=("."+e.toLocaleLowerCase()+".").split(""),A=-1,b=v.length;b--;)v[b]=0;for(f=(h=s(y))[0],m=h[1];o=f();)for(A++,m()&&A--,c=n,g=a(o);(l=g())&&void 0!==(u=c[l]);){switch(c={},d=-1,Object.prototype.toString.call(u)){case"[object Array]":c=u[0],d=u[1];break;case"[object Object]":c=u;break;case"[object Number]":d=u}if(!(d<0)){t[d].splice||(t[d]=t[d].slice("")),p=t[d];for(var w=0;w<p.length;w++)v[A+w]=Math.max(p[w],v[A+w])}}v[0]=v[1]=v[v.length-1]=v[v.length-2]=0;var x="";for(b=0;b<v.length;b++)x+=(v[b]%2===1?i:"")+e.charAt(b);return x}function c(t,n,a,s,c,u,d,p,h){function f(){y(g)}var m,g="",v=e(o((d?[r()]:[]).concat(i(u)),p)),y=function(){};function A(){for(var e=new Date;(!h||new Date-e<10)&&(m=v(t));){if(m[1]){var r=m[1].length?"~"+m[1]:"";void 0===s[r]&&(s[r]=l(m[1],n,a,c,u)),m[1]=s[r]}g+=m[0]+m[1]}m?setTimeout(A):f()}return h?(setTimeout(A),new Promise((function(e){y=e}))):(A(),g)}var u=!1,d=!1,p=[],h=!0,f="\xad",m=5,g="async",v="debug",y="exceptions",A="html",b="hyphenChar",w="minWordLength",x="object"===typeof n.g?n.g:"object"===typeof window?window:"object"===typeof self?self:{};function C(e,t){for(var n in e=e||{},t)e[n]=t[n];return e}function S(e){return e instanceof Array}function k(e,t,n,r){return!(t in e)||r&&!r(e[t])?n:e[t]}function E(e,t){return e.reduce((function(e,n){return e["~"+n.replace(/\-/g,"")]=n.replace(/\-/g,t),e}),{})}function I(e,t){var n=k(t=t||{},g,u),r={},i=k(t,v,d),o={},a=k(t,b,f),s=e[0].split(","),l=JSON.parse(e[1]),I=0|k(t,w,m),_=k(t,A,h),P=k(t,y,p,S),O=a+I;if(o[O]={},e[2]&&(o[O]=E(e[2],a)),P&&P.length&&(o[O]=C(o[O],E(P,a))),r[O]=C({},o[O]),n&&!("Promise"in x))throw new Error("Failed to create hyphenator: Could not find global Promise object, needed for hyphenator to work in async mode");return function(t,u){var d=k(u=u||{},v,i),h=k(u,b,a),f=0|k(u,w,I),m=k(u,y,p,S),g=h+f;return!o[g]&&e[2]&&(o[g]=E(e[2],h),r[g]=C(r[g],o[g])),m&&m.length&&(o[g]=C(o[g],E(m,h)),r[g]=C(r[g],o[g])),c(t,s,l,r[g],d,h,_,f,n)}}return I})?r.apply(t,i):r)||(e.exports=o)},97257:function(e,t){var n,r,i;r=[],void 0===(i="function"===typeof(n=function(){return["0004,004,001,003,005,0005,00005,000005,0002,002,0000005,0003,00003,00505,00034,0001,00055,00004,4,05,0055,04,42,03,02,2,404,3,044,01,0505,55,5,045,041,0033,000004,22,00504,5504,0042,1,21,41,402,405,4004,43,23,000054,303,3005,022,5004,000003,252,45,25,2004,000505,054,403,401,3002,0025,144,432,00054,34,12,234,0022,014,0304,012,143,503,0403,101,052,414,212,011,043,00002,0041,0024,05005,03003,00102,0404,04303,01004,0034,025,0044,00404,00025,0103,042,0205,412,104,54,344,433,5005,253,055,0402,3004,0043,204,505,454,0000004,00303,04004,552,201,4005,0255,52,444,14,44,02004,033,05004,00045,00013,0021,0405,00044,0054,50055,000303,00001,304,0204,11,301,232,122,00305,504,000043,0104,00052,000045,50004,0023,00033,00032,00202,5003,202,0401,0000505,214,102,032,000161,004101,00501,00301,0036,0052,00023,006101,006,00401,000521,0014,0063,00012,000501,000006,000604,000601,005001,005005,0010305,00006,003012,003005,0003011,0061,013,000021,000022,000105,00211,00062,00051,000112,006013,000011,0200306,1021,0050001,003003,2102,305,000015,01030005,000035,001011,00021,16330001,0234,030006,5020001,000001,00016,0031,021,21431,002305,0350014,0000012,000063,00101,106,105,00435,00063,0300061,00041,100306,003602,023,0503,0010011,10003,1005,30011,00031,0001001,0000061,0030003,30305,001201,0301,5000101,500101,00015,000401,000065,000016,0000402,0500002,000205,030201,500301,00014,5001,000002,00030011,01034,0300006,030213,00400304,050001,05003,000311,0634,00061,0006,00000604,00050013,00213,0030001,100003,000033,30002,00003632,0003004,050003,0000021,006303,0000006,00005005,30451,03001,00231,00056,00011,6,001001,00500001,03005,503005,0000010001,1002,003001,001065,300001,32011,32,0000003,0213001,0500053,021005,10001,0000011,0001041,0020016,100032,50011,0606,5002,3001,03002,0015001,0102,00003001,000000033,0000001,300101,300015,0101003,00000101,0100501,0101,0010033,00000362,000014,0005001,031",'{".":{"a":{"c":{"h":0},"d":{"d":{"e":{"r":1}}},"f":{"t":2},"l":{"t":3},"m":{"a":{"t":4}},"n":{"c":4,"g":0,"i":{"m":5},"t":[{"e":3,"i":{"s":6}},0]},"r":{"s":4,"t":{"i":{"e":1},"y":1}},"s":{"c":3,"p":2,"s":2,"t":{"e":{"r":7}}},"t":{"o":{"m":6}},"u":{"d":2},"v":{"i":1},"w":{"n":0}},"b":{"a":{"g":1,"n":{"a":4},"s":{"e":0}},"e":{"r":[{"a":4},0],"s":{"m":3,"t":{"o":4}}},"r":{"i":8},"u":{"t":{"t":{"i":0}}}},"c":{"a":{"m":{"p":{"e":0}},"n":{"c":5},"p":{"a":{"b":6}},"r":{"o":{"l":5}},"t":1},"e":{"l":{"a":1}},"h":[{"i":{"l":{"l":{"i":7}}}},1],"i":[{"t":{"r":5}},9],"o":{"e":3,"r":[{"n":{"e":{"r":5}}},1],"n":{"g":{"r":5}}}},"d":{"e":{"m":{"o":{"i":1}},"o":3,"r":{"a":3,"i":[{"v":{"a":4}},3]},"s":{"c":0}},"i":{"c":{"t":{"i":{"o":10}}}},"o":{"t":1},"u":{"c":1,"m":{"b":6}},"r":{"i":{"v":67}}},"e":{"a":{"r":{"t":{"h":7}},"s":{"i":11}},"b":1,"e":{"r":0},"g":9,"l":{"d":4,"e":{"m":3}},"n":{"a":{"m":12},"g":3,"s":3},"q":{"u":{"i":{"t":13}}},"r":{"r":{"i":1}},"s":3,"u":[{"l":{"e":{"r":1}}},3],"y":{"e":5},"t":{"h":{"y":{"l":162}}},"v":[{"e":{"r":{"s":{"i":{"b":158}}}}},9]},"f":{"e":{"s":11},"o":{"r":{"m":{"e":{"r":5}}}}},"g":{"a":[{"s":{"o":{"m":163}}},9],"e":[{"n":{"t":14},"o":{"g":4,"m":{"e":1},"t":164}},9],"i":{"a":4,"b":1},"o":{"r":1}},"h":{"a":{"n":{"d":{"i":6},"k":5}},"e":[{"r":{"o":{"i":6,"e":3}},"s":11,"t":11,"m":{"o":165},"p":{"a":166}},9],"i":{"b":3,"e":{"r":3}},"o":{"n":{"e":{"y":5},"o":11},"v":5}},"i":{"d":{"l":1,"o":{"l":12}},"m":{"m":3,"p":{"i":{"n":4}}},"n":[{"c":{"i":3},"e":8,"k":9,"s":3,"u":{"t":167}},2],"r":{"r":4},"s":{"i":1}},"j":{"u":{"r":3}},"l":{"a":{"c":{"y":1},"m":1,"t":{"e":{"r":5},"h":6}},"e":[{"g":{"e":5},"n":0,"p":5,"v":15,"i":{"c":{"e":{"s":170}}}},9],"i":{"g":[{"a":5},1],"n":9,"o":3,"t":1}},"m":{"a":{"g":{"a":16},"l":{"o":5},"n":{"a":5},"r":{"t":{"i":5}}},"e":[{"r":{"c":11},"t":{"e":{"r":4},"a":{"l":{"a":0}}},"g":{"a":{"l":171}}},9],"i":{"s":[{"t":{"i":6},"e":{"r":{"s":173}}},15],"m":{"i":{"c":172}}},"o":{"n":{"e":11},"r":{"o":3}},"u":{"t":{"a":[{"b":6},4]}}},"n":{"i":{"c":1},"e":{"o":{"f":174}},"o":{"e":{"t":{"h":15}},"n":{"e":{"m":175}}}},"o":{"d":[{"d":5},9],"f":{"t":{"e":4}},"r":{"a":{"t":{"o":4}},"c":3,"d":2,"t":3},"s":[{"t":{"l":1}},3],"t":{"h":11},"u":{"t":11}},"p":{"e":{"d":{"a":{"l":5}},"t":{"e":4,"i":{"t":4}}},"i":{"e":1,"o":{"n":5},"t":9},"r":{"e":{"m":11,"a":{"m":15}}},"o":{"l":{"y":{"s":137}},"s":{"t":{"a":{"m":137}}}}},"r":{"a":{"c":1,"n":{"t":0},"t":{"i":{"o":{"n":{"a":7}}}},"v":{"e":{"n":{"o":176}}}},"e":{"e":[{"c":173},8],"m":{"i":{"t":4}},"s":[{"t":{"a":{"t":4}}},8]},"i":{"g":1,"t":{"u":5}},"o":{"q":1,"s":{"t":5},"w":{"d":5}},"u":{"d":1}},"s":{"c":{"i":{"e":11}},"e":{"l":{"f":6,"l":6},"n":9,"r":{"i":{"e":4}},"m":{"i":[{"c":0,"d":177,"p":36,"r":36,"s":178,"v":36},6]}},"h":9,"i":[{"n":{"g":17}},9],"t":[{"a":{"b":{"l":5}}},1],"y":9,"p":{"h":{"i":{"n":179}},"i":{"n":{"o":137}}}},"t":{"a":[{"p":{"e":{"s":{"t":{"r":180}}}}},1],"e":[{"n":{"a":{"n":5}},"l":{"e":{"g":{"r":3}}}},1],"h":9,"i":[{"l":0,"m":{"o":16},"n":{"g":17,"k":5}},9],"o":{"n":{"a":0},"p":[{"i":5,"o":{"g":170}},1],"u":{"s":5},"q":9},"r":{"i":{"b":{"u":{"t":6}}}}},"u":{"n":{"a":[{"t":{"t":144}},2],"c":{"e":3},"d":{"e":{"r":7}},"e":[{"r":{"r":181}},2],"k":4,"o":4,"u":3},"p":3,"r":{"e":11},"s":{"a":4}},"v":{"e":{"n":{"d":{"e":0}},"r":{"a":4}},"i":{"c":{"a":{"r":151}}}},"w":{"i":{"l":{"i":5}},"e":{"b":{"l":131}}},"y":{"e":1},"k":{"i":{"l":{"n":{"i":168}}},"o":{"r":{"t":{"e":169}}}}},"a":{"b":{".":18,"a":{"l":19,"n":19},"e":[{"r":{"d":4}},8],"i":{"a":5,"t":{"a":{"b":13}}},"l":{"a":{"t":4}},"o":{"l":{"i":{"z":20,"c":19}}},"r":[{"o":{"g":4}},18],"u":{"l":3}},"c":{"a":{"r":[{"d":4,"o":4},21],"b":{"l":24}},"e":{"o":{"u":19},"r":2},"h":{"e":{"t":19}},"i":[{"e":23,"n":2,"o":23},22],"r":{"o":{"b":4}},"t":{"i":{"f":5}},"u":{"l":3,"m":1}},"d":[{"d":{"i":{"n":1}},"e":{"r":{".":4}},"i":[{"a":23,"c":{"a":3},"e":{"r":0},"o":23,"t":23,"u":19},25],"l":{"e":1},"o":{"w":3},"r":{"a":{"n":4}},"s":{"u":1},"u":[{"c":23,"m":4},18]},24],"e":{"r":[{"i":{"e":17}},1]},"f":[{"f":[{"i":{"s":{"h":170}}},0]},24],"g":{"a":{"b":21,"n":0},"e":{"l":{"l":4},"o":0,"u":18},"i":2,"l":26,"n":2,"o":[{"g":27,"n":{"i":3}},24],"u":{"e":{"r":19},"l":4},"y":21},"h":{"a":23,"e":23,"l":1,"o":23},"i":[{"a":19,"c":{".":23},"l":{"y":4},"n":[{"i":{"n":5},"o":5},28],"t":{"e":{"n":5}}},9],"j":29,"k":{"e":{"n":2}},"l":{"a":{"b":4,"d":3,"r":21},"d":{"i":18},"e":[{"n":{"d":3,"t":{"i":21}},"o":30},25],"i":[{"a":{".":1},"e":0},2],"l":{"e":{"v":4},"i":{"c":18}},"m":18,"o":{"g":{".":19}},"y":{".":21,"s":[{"t":31},18],"t":32,"z":27}},"m":{"a":[{"b":4,"g":3,"r":{"a":5},"s":{"c":4},"t":{"i":{"s":21},"o":33}},18],"e":{"r":{"a":4},"n":{"t":{"a":{"b":182}}}},"i":{"c":3,"f":4,"l":{"y":4},"n":[{"o":0},2]},"o":[{"n":19,"r":{"i":6}},24],"p":{"e":{"n":5}}},"n":[{"a":{"g":{"e":3},"l":{"y":[{"s":183},27]},"r":[{"c":3,"i":17},23],"t":{"i":23}},"d":[{"e":{"s":17},"i":{"s":3},"l":2,"o":{"w":1}},18],"e":{"e":19,"n":23,"s":{"t":{".":4}},"u":23},"g":[{"i":{"e":5},"l":2},25],"i":{"c":34,"e":{"s":23},"f":35,"m":{"e":1,"i":19},"n":{"e":19},"o":3,"p":23,"s":{"h":3},"t":3,"u":23},"k":{"l":{"i":1}},"n":{"i":{"z":32}},"o":[{"t":[{"h":7},4],"a":{"c":148}},0],"s":{"a":9,"c":{"o":1},"n":1,"p":[{"o":11},9],"t":1,"u":{"r":1},"g":{"r":5},"v":11},"t":{"a":{"l":36},"i":{"e":1,"d":137,"n":184,"r":{"e":137}},"o":18,"r":9,"w":1},"u":{"a":3,"l":3,"r":19}},24],"o":18,"p":{"a":{"r":17,"t":4},"e":{"r":{"o":4},"a":{"b":{"l":{"e":132}}}},"h":{"e":{"r":23},"i":18},"i":{"l":{"l":{"a":[{"r":4},21]}},"n":3,"t":{"a":3,"u":23}},"l":24,"o":{"c":6,"l":{"a":4},"r":{"i":6},"s":{"t":12}},"s":{"e":{"s":5}},"u":23},"q":{"u":{"e":6}},"r":[{"a":{"c":{"t":3},"d":{"e":19,"i":{"s":4}},"l":3,"m":{"e":{"t":{"e":19}}},"n":{"g":17},"p":11,"t":[{"i":{"o":19,"v":4}},1],"u":19,"v":38,"w":17},"b":{"a":{"l":36}},"c":{"h":{"a":{"n":1},"e":{"t":185}}},"d":{"i":{"n":{"e":4}},"r":1},"e":{"a":{"s":4},"e":23,"n":{"t":3},"s":{"s":19}},"f":{"i":1,"l":1},"i":[{"a":{"l":4,"n":3},"e":{"t":23},"m":1,"n":{"a":{"t":4}},"o":3,"z":9},2],"m":{"i":9},"o":{"d":20,"n":{"i":19},"o":23},"p":9,"q":3,"r":{"e":17,"a":{"n":{"g":{"e":9}}}},"s":{"a":1,"h":9}},37],"s":{".":18,"a":{"b":1,"n":{"t":3}},"h":{"i":17},"i":{"a":{".":19},"b":23,"c":23,"t":39},"k":{"i":11},"l":1,"o":{"c":21},"p":{"h":4},"s":{"h":1},"t":{"e":{"n":3},"r":2},"u":{"r":{"a":6}},"y":{"m":{"p":{"t":{"o":{"t":4}}}}}},"t":{"a":[{"b":{"l":3},"c":4,"l":{"o":3},"p":4},24],"e":{"c":[{"h":4},5],"g":{"o":3},"n":{".":3},"r":{"a":3,"n":[{"a":19},6]},"s":{"t":3},"v":4},"h":[{"e":{"m":5,"n":19,"r":{"o":{"s":186}}},"o":[{"m":5},1]},18],"i":{".":18,"a":19,"b":20,"c":2,"f":3,"o":{"n":{"a":{"r":7}}},"t":{"u":3}},"o":{"g":21,"m":[{"i":{"z":4}},24],"p":21,"s":21},"r":[{"o":{"p":4}},29],"s":{"k":1},"t":{"a":{"g":1},"e":[{"s":{".":170}},4],"h":1},"u":[{"a":4,"e":4,"l":3,"r":{"a":3}},24],"y":24},"u":{"b":1,"g":{"h":[{"t":{"l":17}},12],"u":3},"l":[{"i":{"f":13}},40],"n":{"d":5},"r":3,"s":{"i":{"b":4}},"t":{"e":{"n":5},"h":2}},"v":{"a":[{"g":3,"n":19},24],"e":{"n":{"o":0},"r":{"a":3,"n":4,"y":4}},"i":[{"e":{"r":0},"g":3,"o":{"u":3}},2],"o":{"c":4,"r":29}},"w":{"a":{"y":27},"i":3,"l":{"y":1},"s":0},"x":{"i":{"c":1,"d":1}},"y":{"a":{"l":4},"e":0,"s":0},"z":{"i":{"e":{"r":0}},"z":{"i":5}}},"b":{"a":{".":32,"d":{"g":{"e":{"r":5}}},"g":{"e":1},"l":{"a":15},"n":{"d":{"a":{"g":5}},"e":0,"i":11},"r":{"b":{"i":7},"i":{"a":17},"o":{"n":{"i":{"e":187}}}},"s":{"s":{"i":0}},"t":[{"h":{"y":2}},41],"z":1,"c":{"k":{"e":{"r":{".":84}}}}},"b":[{"e":[{"r":23},24],"i":{"n":{"a":0},"t":0}},42],"d":43,"e":{".":18,"a":{"k":17,"t":12},"d":[{"a":3,"e":3,"i":3},44],"g":{"i":3,"u":4},"l":[{"i":2,"o":3},41],"m":45,"n":{"i":{"g":4},"u":4},"s":[{"p":3,"t":{"r":4}},46],"t":[{"i":{"z":5},"r":4,"w":3},27],"w":3,"y":{"o":4},"v":{"i":{"e":9}}},"f":25,"h":47,"i":{"b":9,"d":[{"i":{"f":167}},1],"e":[{"n":4,"r":1},27],"f":48,"l":[{"i":{"z":3},"l":{"a":{"b":8}}},41],"n":{"a":{"r":49},"d":0,"e":{"t":4}},"o":{"g":{"r":3},"u":4,"m":5,"r":{"b":2,"h":15}},"t":[{"i":{"o":50,"v":{"e":188}},"r":3,"u":{"a":51},"z":19},9]},"j":29,"k":1,"l":[{"a":{"t":{"h":7},"n":{"d":189}},"e":{".":21,"n":17,"s":{"p":32}},"i":{"s":23,"n":{"d":189}},"o":[{"n":{"d":190}},21],"u":{"n":{"t":17}}},52],"m":43,"n":[{"e":{"g":5}},47],"o":{"d":[{"i":11},27],"e":1,"l":{"i":{"c":11}},"m":{"b":{"i":0}},"n":{"a":[{"t":5},0]},"o":27,"r":{".":32,"a":43,"d":5,"e":32,"i":32,"n":{"o":191}},"s":53,"t":{"a":19,"h":6,"o":1,"u":{"l":192}},"u":{"n":{"d":54}}},"p":18,"r":{"i":{"t":18},"o":{"t":{"h":54}},"u":{"s":{"q":17}}},"s":[{"o":{"r":17}},55],"t":[{"l":1,"o":21,"r":23},25],"u":{"f":{"f":{"e":{"r":0}}},"g":{"a":1},"l":{"i":3},"m":{"i":17},"n":[{"t":{"i":17}},1],"r":{"e":3},"s":{"i":{"e":[{"r":193,"s":193},5]},"s":{"e":17,"i":{"n":{"g":17}}},"t":32},"t":{"a":18,"i":{"o":27},"o":19,"e":{"d":{".":8}},"t":{"e":{"d":0}}}},"v":29,"w":56,"y":{".":32,"s":0}},"c":{"a":[{"b":{"i":{"n":11},"l":2},"c":{"h":17},"d":{"e":{"n":4,"m":194}},"g":46,"h":57,"l":{"a":{"t":3},"l":{"a":0,"i":{"n":6}},"o":18},"n":{"d":5,"e":0,"i":{"c":0,"s":5,"z":11},"t":{"y":0},"y":17},"p":{"e":{"r":4}},"r":{"o":{"m":5}},"s":{"t":{"e":{"r":6},"i":{"g":5}},"y":18},"t":{"h":1,"i":{"v":18},"a":{"s":195}},"v":{"a":{"l":5}}},41],"c":[{"h":{"a":6},"i":{"a":0},"o":{"m":{"p":{"a":10}},"n":17,"u":{"t":12}}},23],"e":{".":25,"d":{".":18,"e":{"n":18}},"i":27,"l":{".":32,"l":27},"n":[{"c":27,"e":58,"i":18,"t":27},41],"p":27,"r":{"a":{"m":4}},"s":{"a":18,"s":{"i":[{"b":59},27]},"t":5},"t":[{"a":60},0],"w":0},"h":[{".":18,"a":{"b":61,"n":{"i":{"c":32,"s":20}}},"e":[{"a":{"p":54},"d":18,"l":{"o":5},"m":{"i":27},"n":{"e":4},"r":{".":3,"s":3}},8],"i":{"n":[{"e":{".":32,"s":{"s":4}},"i":32},62],"o":32,"t":27,"z":8,"e":{"v":{"o":6}}},"o":63,"t":{"i":1},"s":{".":18,"h":{"u":11}}},25],"i":[{"a":[{"b":64,"r":5},27],"c":4,"e":{"r":18},"f":{"i":{"c":{".":32}}},"i":18,"l":{"a":1,"i":27},"m":25,"n":[{"a":[{"t":27},21],"e":{"m":11},"g":[{".":19},29],"o":32,"q":8},25],"o":{"n":17},"p":{"e":18,"h":3,"i":{"c":18}},"s":{"t":{"a":18,"i":18}},"t":[{"i":{"z":11}},42],"z":32,"g":{"a":{"r":152}}},41],"k":[{"i":3},2],"l":[{"a":{"r":[{"a":{"t":{"i":{"o":19}}},"e":32},18]},"e":{"m":0,"a":{"r":0}},"i":{"c":18,"m":17},"y":0},65],"n":19,"o":[{"a":{"g":4},"e":8,"g":[{"r":1},25],"i":[{"n":{"c":3}},0],"l":{"i":5,"o":[{"r":11},32]},"m":{"e":{"r":5}},"n":{"a":0,"e":21,"g":11,"t":5},"p":{"a":3,"i":{"c":11},"l":1,"h":{"o":{"n":196}}},"r":{"b":18,"o":{"n":12}},"s":{"e":0},"v":[{"e":17},15],"w":{"a":5},"z":{"e":5,"i":4},"u":{"s":{"t":{"i":84}}}},41],"q":29,"r":{"a":{"s":{"t":6},"t":{".":32,"i":{"c":32}}},"e":{"a":{"t":11},"d":32,"t":{"a":47},"v":0},"i":[{"f":5,"n":21,"s":17,"t":{"i":[{"e":11},32]}},8],"o":{"p":{"l":0,"o":6},"s":{"e":17},"c":{"o":{"d":197}},"e":{"c":{"o":148}}},"u":{"d":0}},"s":66,"t":[{"a":{"b":0,"n":{"g":4,"t":19}},"e":[{"r":23},24],"i":{"c":{"u":21},"m":{"i":12}},"u":{"r":0},"w":21,"r":{"o":{"m":{"e":{"c":198}}}}},42],"u":{"d":5,"f":21,"i":[{"t":{"y":4}},21],"l":{"i":32,"t":{"i":{"s":0},"u":27}},"m":{"a":9,"e":23,"i":1},"n":27,"p":{"i":3,"y":4},"r":{"a":{"b":67,"n":{"c":{"e":199}}},"i":{"a":4}},"s":[{"s":{"i":17}},41],"t":[{"i":{"e":1,"v":56},"r":18},68]},"y":41,"z":{"e":0}},"d":{"a":[{".":32,"b":70,"c":{"h":17},"f":18,"g":25,"m":71,"n":{"g":11},"r":{"d":6,"k":6,"y":18},"t":[{"i":{"v":18},"o":18,"a":{"b":137}},27],"v":[{"e":5},53],"y":32,"l":{"o":{"n":{"e":48}}}},69],"b":29,"c":19,"d":[{"a":{"b":20},"i":{"b":94}},72],"e":{".":25,"a":{"f":6,"l":{"s":{".":1}}},"b":{"i":{"t":5},"o":{"n":1}},"c":{"a":{"n":36},"i":{"l":1},"o":{"m":4},"l":{"a":{"r":200},"i":{"n":{"a":64}}}},"d":42,"e":{".":18},"i":{"f":4},"l":{"i":{"e":17,"q":16},"o":4},"m":[{".":32,"i":{"c":[{".":5},27],"l":4},"o":{"n":{"s":1},"r":7,"s":9}},21],"n":[{"a":{"r":1},"o":3,"t":{"i":{"f":7}},"u":3},41],"p":[{"a":3,"i":17,"u":9},2],"q":23,"r":{"h":21,"m":32,"n":{"i":{"z":6}},"s":5},"s":[{".":24,"c":2,"o":64,"t":{"i":11,"r":3},"u":1,"i":{"c":11}},8],"t":[{"o":9,"i":{"c":9}},2],"v":[{"i":{"l":11}},2],"y":18,"f":{"i":{"n":{"i":{"t":{"i":201}}}}}},"f":43,"g":{"a":21,"e":{"t":73},"i":2,"y":24},"h":74,"i":{".":32,"a":[{"b":5},75],"c":{"a":{"m":1,"i":{"d":15}},"e":21,"t":27},"d":27,"e":{"n":76},"f":[{"f":{"r":{"a":5}}},29],"g":{"e":3},"l":{"a":{"t":{"o":1}}},"n":[{"a":41,"e":{".":27},"i":[{"z":4},32]},29],"o":[{"g":5},41],"p":{"l":1},"r":[{"e":[{"n":9,"r":9},2],"t":{"i":6}},8],"s":[{"i":32,"t":77},15],"t":{"i":24},"v":78,"m":{"e":{"t":{"h":{"y":141}}}}},"j":29,"k":79,"l":{"a":56,"e":{".":27,"d":27,"s":{".":27,"s":18},"a":{"d":42}},"o":48,"u":56,"y":25,"i":{"e":202}},"m":29,"n":80,"o":[{".":27,"d":{"e":4},"e":32,"f":57,"g":21,"l":{"a":1,"i":17,"o":{"r":4}},"m":{"i":{"z":5}},"n":{"a":{"t":3},"i":17},"o":{"d":11},"p":{"p":0},"r":21,"s":27,"u":{"t":56},"v":1,"x":27,"w":{"o":{"r":{"d":203}}}},41],"p":29,"r":[{"a":{"g":{"o":{"n":6}},"i":18},"e":[{"a":{"r":6},"n":[{"a":{"l":204}},32]},0],"i":{"b":0,"l":17,"f":{"t":{"a":189}},"p":{"l":{"e":{"g":205}}}},"o":{"p":0,"w":18,"m":{"e":{"d":206}}},"u":{"p":{"l":{"i":32}}},"y":18},41],"s":[{"p":1,"w":21,"y":21},81],"t":{"h":24,"a":{"b":23}},"u":[{"a":[{"l":{".":9}},82],"c":[{"a":29,"e":{"r":5},"t":{".":18,"s":18}},9],"e":{"l":4},"g":1,"l":{"e":23},"m":{"b":{"e":0}},"n":1,"p":[{"e":1},18],"o":{"p":{"o":{"l":207}}}},41],"v":29,"w":29,"y":[{"n":32,"s":{"e":1,"p":5}},24]},"e":{"a":{"b":72,"c":{"t":23},"d":[{"i":{"e":5}},15],"g":{"e":[{"r":4},1]},"l":[{"e":{"r":5},"o":{"u":11}},1],"m":{"e":{"r":11}},"n":{"d":19,"i":{"e":{"s":111}}},"r":{"a":11,"c":0,"e":{"s":5},"i":{"c":0,"l":0},"k":5,"t":[{"e":12},8]},"s":{"p":4,"s":23,"t":12},"t":[{"e":{"n":5},"h":{"i":12},"i":{"f":19},"u":83},9],"v":[{"e":{"n":11},"i":5,"o":5},9]},"b":[{"e":{"l":{".":21,"s":21},"n":21},"i":{"t":21},"r":23},42],"c":{"a":{"d":21,"n":{"c":6}},"c":{"a":6},"e":[{"s":{"s":{"a":4}}},29],"i":[{"b":21,"f":{"i":{"c":{"a":{"t":4}},"e":4},"y":4},"m":3,"t":[{"e":19},0]},9],"l":{"a":{"m":21},"u":{"s":21}},"o":{"l":24,"m":{"m":21,"p":{"e":21}},"n":{"c":21},"r":[{"a":3,"o":5},24]},"r":[{"e":{"m":21}},29],"t":{"a":{"n":1},"e":1},"u":[{"l":[{"a":3},21]},29],"h":{"a":{"s":23}}},"d":{"a":37,"d":61,"e":{"r":34,"s":0},"i":[{"a":23,"b":3,"c":{"a":3},"m":3,"t":2,"z":5},18],"o":[{"l":21,"n":84},18],"r":{"i":21},"u":{"l":[{"o":4,"i":{"n":{"g":2}}},21]},"g":{"l":15}},"e":{"c":9,"d":{"i":11},"f":9,"l":{"i":11,"y":1},"m":9,"n":{"a":1},"p":85,"s":[{"t":17},86],"t":{"y":1},"x":19},"f":[{"e":{"r":{"e":83}},"f":41,"i":{"c":[{"i":32},21],"l":17,"n":{"e":23,"i":{"t":{"e":20}}},"t":27},"o":{"r":{"e":{"s":6}}},"u":{"s":{"e":{".":21}}}},29],"g":{"a":{"l":18},"e":{"r":17},"i":{"b":4,"c":1,"n":{"g":4},"t":87},"n":4,"o":{".":21,"s":21},"u":{"l":2,"r":19},"y":32},"h":[{"e":{"r":17}},72],"i":[{"c":19,"d":4,"g":[{"l":4},8],"m":{"b":23},"n":{"f":23,"g":29,"s":{"t":19}},"r":{"d":0},"t":{"e":11,"h":3,"y":19}},9],"j":[{"u":{"d":[{"i":4},21]}},29],"k":{"i":{"n":0},"l":{"a":1}},"l":{"a":[{".":21,"c":21,"n":{"d":17},"t":{"i":{"v":4}},"w":21,"x":{"a":36}},29],"e":{"a":23,"b":{"r":{"a":4}},"c":32,"d":21,"g":{"a":3},"n":19,"r":34,"s":29},"f":9,"i":[{"b":{"e":23},"c":{".":33,"a":3},"e":{"r":23},"g":{"i":{"b":4}},"m":19,"n":{"g":83},"o":23,"s":[{"h":4},24],"v":88,"t":{"i":{"s":208}}},9],"l":{"a":[{"b":1},18],"o":17},"o":{"c":19,"g":4,"p":{".":3},"a":29},"s":{"h":9},"t":{"a":1},"u":{"d":19,"g":4}},"m":{"a":{"c":21,"g":21,"n":[{"a":4},19]},"b":4,"e":[{"l":24,"t":21},29],"i":{"c":{"a":3},"e":0,"g":{"r":{"a":4}},"n":[{"e":4,"i":35},89],"s":[{"h":4,"s":19},21],"z":3},"n":{"i":{"z":32}},"o":{"g":0,"n":{"i":{"o":7}}},"p":{"i":3},"u":{"l":[{"a":4},21],"n":11},"y":23},"n":{"a":{"m":{"o":4},"n":{"t":21}},"c":{"h":{"e":{"r":17}}},"d":{"i":{"c":3,"x":2}},"e":{"a":19,"e":19,"m":3,"r":{"o":4},"s":{"i":4,"t":4},"t":{"r":3},"w":23},"i":{"c":{"s":4},"e":19,"l":19,"o":23,"s":{"h":3},"t":3,"u":19,"z":32},"n":18,"o":[{"g":0,"s":21,"v":3},18],"s":{"w":1},"t":{"a":{"g":{"e":5}},"h":{"e":{"s":18}}},"u":{"a":3,"f":4},"y":{".":23},"z":61},"o":{"f":19,"g":[{"r":{"a":{"p":3}}},9],"i":90,"l":23,"p":{"a":{"r":11}},"r":[{"e":3,"o":{"l":4}},29],"s":0,"t":[{"o":1},21],"u":{"t":19},"w":19},"p":{"a":[{"i":23,"n":{"c":4}},24],"e":{"l":19,"n":{"t":23},"t":{"i":{"t":{"i":{"o":4}}}}},"h":{"e":17},"l":{"i":21},"o":29,"r":{"e":{"c":[{"a":4},21],"d":21,"h":3},"o":[{"b":21},23]},"s":{"h":1},"t":{"i":{"b":13}},"u":{"t":[{"a":4},21]},"i":{"n":{"e":{"p":{"h":209}}}}},"q":[{"u":{"i":{"l":12,"s":91}}},29],"r":{"a":[{"b":0,"n":{"d":18},"r":3,"t":{"i":{".":18}}},2],"b":[{"l":1},25],"c":{"h":[{"e":1},3]},"e":{".":25,"a":{"l":23},"c":{"o":5},"i":{"n":11},"l":{".":4},"m":{"o":3},"n":{"a":4,"c":{"e":4},"e":18,"t":3},"q":0,"s":{"s":4,"t":3},"t":17},"h":2,"i":[{"a":[{"n":{".":210}},92],"c":{"k":32},"e":{"n":23,"r":0},"n":{"e":3},"o":29,"t":18,"u":1,"v":[{"a":21},0]},2],"m":93,"n":{"i":{"s":1,"t":18,"z":32},"o":3},"o":[{"b":4,"c":19,"r":0,"u":2},25],"s":[{"e":{"t":3}},2],"t":{"e":{"r":11},"l":18,"w":3},"u":[{"t":0},18],"w":{"a":{"u":32}}},"s":{"a":[{"g":{"e":{".":21,"s":21}}},72],"c":[{"a":[{"n":4},24],"r":23,"u":4},9],"e":[{"c":[{"r":4},24],"n":{"c":4},"r":{"t":{".":21,"s":21},"v":{"a":21}}},74],"h":[{"a":23,"e":{"n":5}},18],"i":[{"c":24,"d":[{"e":{"n":4}},24],"g":{"n":{"a":4}},"m":94,"n":95,"s":{"t":{"e":17}},"u":0},29],"k":{"i":{"n":19}},"m":{"i":1},"o":{"l":[{"u":3},24],"n":[{"a":4},24]},"p":[{"e":{"r":3},"i":{"r":{"a":4}},"r":{"e":1},"a":{"c":{"i":211}}},29],"s":[{"i":{"b":96}},25],"t":{"a":{"n":36},"i":{"g":3,"m":4},"o":[{"n":23},44],"r":[{"o":19,"u":{"c":10}},25]},"u":{"r":[{"r":4},24]},"w":1},"t":{"a":{"b":0},"e":{"n":{"d":17},"o":23},"h":{"o":{"d":54},"y":{"l":{"e":{"n":{"e":162}}}}},"i":{"c":2,"d":{"e":19},"n":[{"o":0},17],"r":19,"t":{"i":{"o":19,"v":4}}},"n":18,"o":{"n":{"a":4}},"r":{"a":23,"e":23,"i":{"c":3,"f":4},"o":{"g":3,"s":4}},"u":{"a":3},"y":{"m":4},"z":4},"u":[{"n":19,"p":23,"r":{"o":3},"s":0,"t":{"e":17,"i":{"l":6},"r":4},"c":{"l":{"i":{"d":212}}}},18],"v":{"a":{"p":97,"s":[{"t":4},24]},"e":{"a":19,"l":{"l":3,"o":12},"n":{"g":19,"i":17},"r":[{"b":19},2]},"i":[{"d":3,"l":0,"n":21,"v":0},29],"o":{"c":19},"u":19},"w":{"a":[{"g":21},29],"e":{"e":19},"h":23,"i":{"l":6,"n":{"g":3},"t":23}},"x":{"p":41},"y":{"c":32,"e":{".":32},"s":0}},"f":{"a":[{"b":{"l":3,"r":11},"c":{"e":1},"g":18,"i":{"n":17},"l":{"l":{"e":6}},"m":{"a":26,"i":{"s":5}},"r":[{"t":{"h":5}},32],"t":{"a":3,"h":{"e":3},"o":18},"u":{"l":{"t":7}}},41],"b":56,"d":18,"e":{".":18,"a":{"s":17,"t":{"h":54}},"b":[{"r":{"u":{"a":15}}},1],"c":{"a":18,"t":32},"d":25,"l":{"i":3},"m":{"o":1},"n":{"d":[{"e":6},8]},"r":[{"r":32,"m":{"i":{"o":213}}},15],"v":0},"f":[{"e":{"s":21},"i":{"e":21,"n":{".":19},"s":94},"l":{"y":21},"y":24},43],"h":18,"i":[{"a":3,"c":{".":48,"a":{"l":47,"n":23,"t":{"e":18}},"e":{"n":23,"r":3},"i":[{"a":32,"e":32},0],"s":18,"u":3,"h":27},"d":{"e":{"l":4}},"g":{"h":{"t":7}},"l":{"i":5,"l":{"i":{"n":6}},"y":18},"n":[{"a":32,"d":97,"e":9,"g":98,"n":0},25],"s":{"t":{"i":0}},"t":{"t":{"e":{"d":{".":5}}}}},41],"l":[{"e":{"s":{"s":19}},"i":{"n":17},"o":{"r":{"e":11},"w":{"e":{"r":{".":84}}}},"y":100,"a":{"g":{"e":{"l":214}}},"u":{"o":{"r":27}}},99],"m":18,"n":18,"o":[{"n":[{"d":{"e":0},"t":0},32],"r":[{"a":{"t":4,"y":5},"e":{"t":6},"i":0,"t":{"a":6}},9],"s":5},41],"p":56,"r":{"a":{"t":0},"e":{"a":19,"s":{"c":6}},"i":[{"l":17},8],"o":{"l":6}},"s":48,"t":[{"o":21,"y":24},25],"u":[{"e":{"l":4},"g":18,"m":{"i":{"n":1}},"n":{"e":4},"r":{"i":3},"s":{"i":17,"s":0},"t":{"a":18}},27],"y":41},"g":{"a":[{"f":0,"l":{".":32,"i":27,"o":3},"m":[{"e":{"t":4},"o":19},25],"n":{"i":{"s":5,"z":[{"a":6},3]},"o":18},"r":{"n":67},"s":{"s":17},"t":{"h":12,"i":{"v":18}},"z":18},41],"b":23,"d":1,"e":{".":25,"d":25,"e":{"z":17},"l":{"i":{"n":0,"s":4,"z":4},"y":18},"n":[{"a":{"t":1},"i":{"z":4},"o":18,"y":18,"c":{"y":{".":8}}},41],"o":[{"m":3,"d":215},41],"r":{"y":21},"s":{"i":32},"t":{"h":6,"o":18,"y":1,"i":{"c":{".":8}}},"v":1},"g":[{"e":[{"r":23},24],"l":{"u":6},"o":0},101],"h":{"i":{"n":3},"o":{"u":{"t":4}},"t":{"o":1,"w":{"e":15}}},"i":{".":32,"a":[{"r":5},102],"c":[{"i":{"a":32},"o":21},29],"e":{"n":6,"s":{".":32}},"l":0,"m":{"e":{"n":23}},"n":{".":68,"g":{"e":5},"s":103},"o":32,"r":[{"l":0},27],"s":{"l":23},"u":1,"v":32,"z":27},"l":[{"a":[{"d":{"i":6},"s":32},0],"e":[{"a":{"d":29}},41],"i":{"b":0,"g":23,"s":{"h":43}},"o":[{"r":11,"b":{"i":{"n":106}}},27]},9],"m":[{"y":21},29],"n":{"a":[{".":21,"c":69},1],"e":{"t":{"t":17,"i":{"s":{"m":137}}}},"i":[{"n":24,"o":21},29],"o":[{"n":21,"m":{"o":5},"r":{".":216,"e":{"s":{"p":24}}}},29]},"o":[{".":27,"b":5,"e":32,"g":104,"i":{"s":3},"n":[{"a":105,"d":{"o":7},"i":[{"z":{"a":217}},3]},8],"o":32,"r":{"i":{"z":4},"o":{"u":5}},"s":{".":32},"v":15},41],"p":23,"r":[{"a":{"d":{"a":18},"i":21,"n":84,"p":{"h":{".":32,"e":{"r":[{".":7},19]},"i":{"c":32},"y":18}},"y":18},"e":{"n":0,"s":{"s":{".":18}}},"i":{"t":18,"e":{"v":213}},"o":21,"u":{"f":17}},41],"s":[{"t":{"e":19}},9],"t":{"h":11},"u":{"a":[{"r":{"d":27}},1],"e":25,"i":{"t":106},"n":27,"s":27,"t":[{"a":{"n":29}},26]},"w":23,"y":[{"n":107,"r":{"a":4}},41]},"h":{"a":{"b":{"l":73},"c":{"h":17},"e":{"m":0,"t":0},"g":{"u":19},"l":{"a":[{"m":12},3]},"m":1,"n":{"c":{"i":0,"y":0},"d":{".":32},"g":[{"e":{"r":6},"o":6},0],"i":{"z":108},"k":0,"t":{"e":0}},"p":{"l":11,"t":5,"a":{"r":{"r":218}}},"r":{"a":{"n":3,"s":4},"d":[{"e":12},8],"l":{"e":0},"p":{"e":{"n":6}},"t":{"e":{"r":5}}},"s":{"s":5},"u":{"n":17},"z":[{"a":11},32],"i":{"r":{"s":137}},"t":{"c":{"h":213}}},"b":29,"e":{"a":{"d":41,"r":27},"c":{"a":{"n":1,"t":19}},"d":[{"o":13},21],"l":{"i":93,"l":{"i":{"s":0},"y":0},"o":19},"m":{"p":0},"n":[{"a":[{"t":5},17]},9],"o":{"r":5},"p":5,"r":{"a":[{"p":12},21],"b":{"a":0},"e":{"a":6},"n":23,"o":{"u":19},"y":23},"s":[{"p":64},29],"t":[{"e":{"d":0}},1],"u":0,"x":{"a":168}},"f":29,"h":29,"i":{"a":{"n":4},"c":{"o":1},"g":{"h":6},"l":109,"m":{"e":{"r":36}},"n":{"a":21},"o":{"n":{"e":17}},"p":[{"e":{"l":{"a":219}}},1],"r":{"l":0,"o":3,"p":0,"r":0},"s":{"e":{"l":11},"s":0},"t":{"h":{"e":{"r":6}},"e":{"s":{"i":{"d":12}}}},"v":9},"k":18,"l":[{"a":{"n":17},"o":[{"r":{"i":11}},24]},80],"m":[{"e":{"t":17}},43],"n":[{"a":{"u":{"z":12}}},42],"o":{"d":{"i":{"z":19},"s":19},"g":[{"e":17},1],"l":{"a":{"r":5},"e":110},"m":{"a":1,"e":12},"n":{"a":0,"y":4},"o":{"d":27,"n":17},"r":{"a":{"t":5},"i":{"s":4,"c":{".":187}},"t":{"e":12},"u":4},"s":{"e":[{"n":4},0],"p":15},"u":{"s":[{"e":54},41]},"v":{"e":{"l":5}}},"p":56,"r":[{"e":{"e":6},"o":{"n":{"i":{"z":5}},"p":{"o":11}}},26],"s":[{"h":21},101],"t":{"a":{"r":21},"e":{"n":2,"s":4,"o":{"u":216}},"y":21},"u":{"g":1,"m":{"i":{"n":1}},"n":{"k":{"e":5},"t":0},"s":{"t":14},"t":1},"w":[{"a":{"r":{"t":21}}},29],"y":{"p":{"e":3,"h":3,"o":{"t":{"h":{"a":137}}}},"s":9}},"i":{"a":[{"l":24,"m":[{"e":{"t":{"e":5}}},0],"n":[{"c":18,"i":11,"t":46},24],"p":{"e":4},"s":{"s":17},"t":{"i":{"v":21},"r":{"i":{"c":1}},"u":21}},42],"b":{"e":[{"r":{"a":3,"t":4}},0],"i":{"a":4,"n":3,"t":{".":4,"e":4}},"l":[{"i":3},29],"o":19,"r":[{"i":94},29],"u":{"n":19}},"c":{"a":{"m":18,"p":32,"r":[{".":21,"a":21},18],"s":6,"y":21},"c":{"u":17},"e":{"o":18},"h":18,"i":[{"d":19,"n":{"a":4},"p":[{"a":3},24]},25],"l":{"y":21},"o":{"c":94},"r":[{"a":32,"y":21},43],"t":{"e":1,"u":[{"a":111},84]},"u":{"l":{"a":3},"m":1,"o":4,"r":23}},"d":[{"a":{"i":21,"n":{"c":4}},"d":4,"e":{"a":{"l":11},"s":0},"i":[{"a":{"n":4,"r":0},"e":19,"o":[{"u":5,"s":1},3],"t":2,"u":4},24],"l":{"e":23},"o":{"m":21,"w":3},"r":21,"u":[{"o":4},24]},25],"e":[{"d":{"e":0},"g":{"a":113},"l":{"d":12},"n":{"a":67,"e":0,"n":19,"t":{"i":23}},"r":{".":29},"s":{"c":23,"t":29},"t":23},112],"f":{".":18,"e":{"r":{"o":4}},"f":{"e":{"n":5},"r":1},"i":{"c":{".":18},"e":23},"l":23,"t":18,"a":{"c":{"e":{"t":137}}}},"g":[{"a":{"b":5},"e":{"r":{"a":3}},"h":{"t":{"i":12}},"i":[{"b":23,"l":3,"n":3,"t":3},18],"l":28,"o":[{"r":3,"t":4},24],"r":{"e":19},"u":{"i":5,"r":2},"n":{"i":{"t":[{"e":{"r":213}},0]}}},25],"h":23,"i":114,"j":[{"k":21},23],"k":18,"l":{"a":[{"b":93,"d":{"e":21},"m":94,"r":{"a":5}},29],"e":{"g":23,"r":2,"v":17},"f":4,"i":[{"a":3,"b":9,"o":3,"s":{"t":1},"t":25,"z":9},2],"l":{"a":{"b":5}},"n":18,"o":{"q":3},"t":{"y":1},"u":{"r":4},"v":3},"m":{"a":{"g":[{"e":3},21],"r":{"y":5}},"e":{"n":{"t":{"a":{"r":10}}},"t":18},"i":[{"d":{"a":4},"l":{"e":5},"n":{"i":19},"t":18},2],"n":{"i":1},"o":{"n":23},"u":[{"l":{"a":3}},24],"p":{"e":{"d":{"a":201}}}},"n":{".":25,"a":{"u":83,"v":18},"c":{"e":{"l":36,"r":3}},"d":[{"l":{"i":{"n":{"g":4}}}},18],"e":[{"e":23,"r":{"a":{"r":17}},"s":{"s":19}},25],"g":{"a":18,"e":[{"n":4},18],"i":18,"l":{"i":{"n":{"g":4}}},"o":18,"u":18},"i":[{".":19,"a":21,"o":3,"s":2,"t":{"e":{".":19,"l":{"y":{".":19}}},"i":{"o":32},"y":3}},25],"k":18,"l":18,"n":25,"o":[{"c":90,"s":0,"t":21},42],"s":[{"e":3,"u":{"r":{"a":7}}},25],"t":{".":25,"h":112},"u":[{"s":19},2],"y":18,"f":{"r":{"a":{"s":220}}}},"o":[{".":18,"g":{"e":17,"r":9},"l":29,"m":1,"n":{"a":{"t":11},"e":{"r":{"y":0}},"i":11},"p":{"h":4},"r":{"i":11},"s":21,"t":{"h":4,"i":19,"o":1},"u":{"r":21}},25],"p":[{"e":0,"h":{"r":{"a":{"s":115}}},"i":[{"c":1},3],"r":{"e":96},"u":{"l":3}},25],"q":{"u":{"a":23,"e":{"f":4},"i":{"d":3,"t":116}}},"r":[{"a":[{"b":0,"c":21},29],"d":{"e":5},"e":{"d":{"e":0},"f":21,"l":117,"s":21},"g":{"i":4},"i":[{"d":{"e":5},"s":1,"t":{"u":11},"z":118},2],"m":{"i":{"n":1}},"o":{"g":0,"n":{".":32}},"u":{"l":4},"r":{"e":{"v":{"o":{"c":221}}}}},18],"s":{".":25,"a":{"g":4,"r":3,"s":6},"c":[{"h":3},119],"e":[{"r":3},18],"f":27,"h":{"a":{"n":4},"o":{"n":3,"p":5}},"i":{"b":3,"d":0,"s":19,"t":{"i":{"v":4}}},"k":26,"l":{"a":{"n":36}},"m":{"s":18},"o":[{"m":{"e":{"r":5}}},24],"p":[{"i":9,"y":1},2],"s":[{"a":{"l":1},"e":{"n":36,"s":1}},62],"t":{"a":{".":1},"e":2,"i":2,"l":{"y":0},"r":{"a":{"l":18}}},"u":[{"s":4},24]},"t":{"a":{".":18,"b":{"i":0},"g":21,"m":120,"n":23,"t":23},"e":[{"r":{"a":3,"i":19},"s":[{"i":{"m":{"a":29}}},1]},25],"h":[{"i":{"l":148}},25],"i":[{"a":18,"c":[{"a":3,"k":31},22],"g":3,"l":{"l":4},"m":24,"o":25,"s":[{"m":21},18],"n":{"e":{"r":{"a":{"r":158}}}}},29],"o":{"m":121,"n":18},"r":{"a":{"m":21},"y":4},"t":18,"u":{"a":{"t":3},"d":19,"l":3},"z":{".":18}},"u":29,"v":[{"e":{"l":{"l":3},"n":{".":3},"r":{".":83,"s":{".":21}}},"i":{"l":{".":4},"o":4,"t":2},"o":{"r":{"e":19,"o":35},"t":83}},25],"w":56,"x":{"o":1},"y":18,"z":{"a":{"r":18},"i":0,"o":{"n":{"t":32}}}},"j":{"a":[{"c":{"q":0},"p":[{"a":{"n":{"e":{"s":220}}}},1],"n":{"u":{"a":12}}},32],"e":[{"r":{"s":5,"e":{"m":222}},"s":{"t":{"i":{"e":18},"y":18}},"w":11},41],"o":{"p":1},"u":{"d":{"g":32}}},"k":{"a":{".":27,"b":23,"g":19,"i":{"s":17},"l":0},"b":29,"e":{"d":24,"e":41,"g":1,"l":{"i":[{"n":{"g":223}},4]},"n":{"d":73},"r":29,"s":[{"t":{".":23}},0],"t":{"y":1}},"f":23,"h":1,"i":[{".":32,"c":122,"l":{"l":21,"o":6},"m":21,"n":{".":21,"d":{"e":0},"e":{"s":{"s":19},"t":{"i":{"c":224}}},"g":0},"p":1,"s":[{"h":19},0]},29],"k":1,"l":[{"e":{"y":18},"y":18},29],"m":29,"n":{"e":{"s":19},"o":69},"o":{"r":4,"s":{"h":17},"u":23,"v":{"i":{"a":{"n":41}}}},"r":{"o":{"n":5}},"s":[{"c":21,"l":1,"y":21,"h":{"a":23}},101],"t":19,"w":29},"l":{"a":{"b":{"i":{"c":11},"o":21},"c":{"i":[{"e":225},17]},"d":{"e":21,"y":3},"g":{"n":0},"m":{"o":11},"n":{"d":[{"l":0},27],"e":{"t":5},"t":{"e":0}},"r":{"g":0,"i":11,"c":{"e":{"n":176}}},"s":{"e":0},"t":{"a":{"n":4},"e":{"l":{"i":18}},"i":{"v":18}},"v":[{"a":95},18],"i":{"n":{"e":{"s":{"s":226}}}}},"b":[{"i":{"n":17}},42],"c":[{"e":0,"i":23,"h":{"a":{"i":23},"i":{"l":{"d":227}}}},101],"d":[{"e":[{"r":{"e":1,"i":1}},24],"i":[{"s":4},0],"r":[{"i":21},23]},25],"e":{"a":[{"d":{"e":{"r":{".":183}}},"s":{"a":228}},9],"b":{"i":1},"f":{"t":6},"g":{".":32,"g":32,"e":{"n":{"d":{"r":{"e":230}}}}},"m":{"a":{"t":[{"i":{"c":5}},1]}},"n":{".":18,"c":27,"e":{".":32},"t":41,"o":{"i":{"d":78}}},"p":{"h":3,"r":1},"r":{"a":{"b":6},"e":0,"g":27,"i":68,"o":21},"s":[{"c":{"o":4},"q":32,"s":[{".":32},27]},8],"v":{"a":23,"e":{"r":{".":0,"a":0,"s":0}}},"y":[{"e":18},27],"c":{"t":{"a":{"b":229}}}},"f":[{"r":19},25],"g":[{"a":[{"r":12},19],"e":{"s":21},"o":11},80],"h":48,"i":{"a":{"g":1,"m":9,"r":{"i":{"z":6}},"s":1,"t":{"o":1}},"b":{"i":4},"c":{"i":{"o":32},"o":{"r":1},"s":18,"t":{".":18},"u":21,"y":23},"d":{"a":23,"e":{"r":5},"i":27},"f":{"e":{"r":11},"f":21,"l":1},"g":{"a":{"t":{"e":32}},"h":27,"r":{"a":1}},"k":27,"l":123,"m":{"b":{"l":0},"i":11,"o":1,"p":90},"n":{"a":21,"e":[{"a":11},124],"i":11,"k":{"e":{"r":6}}},"o":{"g":4},"q":125,"s":{"p":0},"t":[{".":24,"i":{"c":{"a":32,"s":108}},"h":{"o":{"g":204}}},29],"v":{"e":{"r":11}},"z":29},"j":18,"k":{"a":[{"l":23,"t":0},11]},"l":[{"a":{"w":21},"e":[{"a":19,"c":23,"g":23,"l":23,"n":73,"t":73},24],"i":[{"n":[{"a":19},126],"s":{"h":231}},9],"o":[{"q":{"u":{"i":10}},"u":{"t":4},"w":19},1],"f":{"l":2}},29],"m":[{"e":{"t":19},"i":{"n":{"g":3}},"o":{"d":21,"n":[{"e":{"l":{"l":232}}},17]}},25],"n":81,"o":{".":27,"b":{"a":{"l":5},"o":{"t":{"o":233}}},"c":{"i":1},"f":18,"g":{"i":{"c":27},"o":19,"u":27,"e":{"s":{".":9}}},"m":{"e":{"r":11}},"n":{"g":32,"i":[{"z":127},0]},"o":{"d":6},"p":{"e":{".":32},"i":11,"m":23},"r":{"a":[{"t":{"o":1}},17],"i":{"e":4},"o":{"u":5}},"s":{".":32,"e":{"t":5},"o":{"p":{"h":{"i":{"z":32},"y":32}}},"t":0},"t":{"a":1},"u":{"n":{"d":6},"t":25},"v":18,"a":{"d":{"e":{"d":{".":17},"r":{".":183}}}}},"p":[{"a":{"b":5},"h":{"a":23,"i":19},"i":{"n":{"g":4},"t":23},"l":21,"r":19},25],"r":43,"s":[{"c":21,"e":24,"i":{"e":21}},81],"t":[{"a":{"g":4,"n":{"e":7}},"e":[{"n":17,"r":{"a":36},"a":23},29],"h":{"i":[{"l":{"y":148}},11]},"i":{"e":{"s":{".":19}},"s":17},"r":29,"u":[{"r":{"a":12}},8]},18],"u":{"a":4,"b":{"r":3},"c":{"h":17,"i":3},"e":{"n":3,"p":15},"f":0,"i":{"d":4},"m":{"a":1,"i":32,"n":{".":19,"i":{"a":32}},"b":{"i":{"a":{".":235}}}},"o":[{"r":11},3],"p":18,"s":{"s":17,"t":{"e":11}},"t":41,"n":{"k":{"e":{"r":234}}}},"v":{"e":{"n":19,"t":128}},"w":42,"y":[{"a":18,"b":18,"m":{"e":4},"n":{"o":3},"s":[{"e":19,"t":{"y":{"r":4}}},58],"g":{"a":{"m":{"i":236}}}},41]},"m":{"a":[{"b":25,"c":{"a":9,"h":{"i":{"n":{"e":4}}},"l":1},"g":{"i":{"n":5},"n":32},"h":25,"i":{"d":6},"l":{"d":18,"i":{"g":3,"n":4},"l":{"i":0},"t":{"y":0},"a":{"p":222}},"n":{"i":{"a":32,"s":5,"z":11},".":24,"u":{"s":{"c":237}}},"p":[{"h":{"r":{"o":244}}},18],"r":{"i":{"n":{"e":{".":4}},"z":4},"l":{"y":0},"v":11,"g":{"i":{"n":238}}},"s":{"c":{"e":4},"e":0,"t":15},"t":{"e":32,"h":12,"i":{"s":3,"z":{"a":18}}}},41],"b":[{"a":{"t":129},"i":{"l":19,"n":{"g":83},"v":0}},43],"c":56,"e":{".":18,"d":[{".":18,"i":{"a":32,"e":3,"c":[{"i":{"n":152}},84],"o":{"c":239}},"y":108},25],"g":[{"r":{"a":{"n":240}}},9],"l":{"o":{"n":5},"t":0},"m":[{"o":130},9],"n":[{"a":[{"c":5},0],"d":{"e":0},"e":18,"i":0,"s":[{"u":7},17],"t":[{"e":0},27],".":24},41],"o":{"n":4},"r":{"s":{"a":19}},"s":[{"t":{"i":27}},25],"t":{"a":[{"l":11},1],"e":2,"h":{"i":4},"r":[{"i":{"c":32,"e":4},"y":3},21]},"v":1},"f":43,"h":25,"i":{".":32,"a":3,"d":{"a":[{"b":241},0],"g":0},"g":0,"l":{"i":{"a":27,"e":108,"t":{"a":27}},"l":[{"a":{"g":208},"i":{"l":{"i":59}}},21]},"n":{"a":0,"d":27,"e":{"e":19},"g":{"l":[{"i":5,"y":19},21]},"t":0,"u":[{"t":{"e":{"r":242,"s":{"t":242}}}},21],"i":{"s":{".":174}}},"o":{"t":17},"s":[{"e":{"r":{".":0}},"l":5,"t":{"i":0,"r":{"y":19}}},24],"t":{"h":18},"z":24},"k":18,"l":43,"m":[{"a":{"r":{"y":5},"b":243}},29],"n":[{"a":1,"i":{"n":21},"o":1},43],"o":[{"c":{"r":[{"a":{"t":[{"i":{"z":32}},245]}},18]},"d":131,"g":{"o":1},"i":{"s":[{"e":5},84]},"k":18,"l":{"e":{"s":{"t":4},"c":246}},"m":{"e":3},"n":{"e":{"t":5,"y":{"l":247}},"g":{"e":5},"i":{"a":12,"s":{"m":0,"t":0},"z":3},"o":{"l":36,"c":{"h":12},"e":{"n":171},"s":249},"y":{".":3}},"r":[{"a":{".":18},"o":{"n":{"i":{"s":248}}}},9],"s":[{"e":{"y":4},"p":3},8],"t":{"h":[{"e":{"t":250}},12]},"u":{"f":19,"s":[{"i":{"n":98}},27]},"v":9,"e":{"l":{"a":{"s":167}}}},41],"p":[{"a":{"r":{"a":[{"b":5},7],"i":6}},"e":{"t":23},"h":{"a":{"s":36}},"i":[{"a":0,"e":{"s":4},"n":34,"r":19,"s":4},24],"o":{"r":{"i":11},"s":{"i":{"t":{"e":6}}},"u":{"s":21},"v":6},"t":{"r":1},"y":24},43],"r":47,"s":[{"h":[{"a":{"c":{"k":251}}},21],"i":19},101],"t":18,"u":[{"l":{"a":{"r":49},"t":[{"i":[{"u":252},54]},32]},"m":27,"n":8,"p":18,"u":1,"d":{"r":{"o":9}}},41],"w":18},"n":{"a":[{"b":[{"u":21},81],"c":{".":18,"a":1,"t":19},"g":{"e":{"r":{".":5}}},"k":0,"l":{"i":[{"a":4},1],"t":18},"m":{"i":{"t":4}},"n":[{"c":{"i":36},"i":{"t":0},"k":17},24],"r":{"c":[{"h":{"s":{".":73}}},11],"e":18,"i":11,"l":0,"m":19},"s":[{"c":0,"t":{"i":5}},21],"t":[{"a":{"l":3},"o":{"m":{"i":{"z":6}}}},24],"u":[{"s":{"e":11},"t":27},24],"v":{"e":0}},41],"b":80,"c":{"a":{"r":6},"e":{"s":{".":21}},"h":{"a":23,"e":{"o":19,"s":{"t":253}},"i":{"l":19,"s":23}},"i":{"n":2,"t":1},"o":{"u":{"r":{"a":7}}},"r":29,"u":29},"d":{"a":{"i":21,"n":19},"e":[{"s":{"t":{".":4}}},29],"i":{"b":0,"f":79,"t":29,"z":23,"e":{"c":{"k":29}}},"u":{"c":19,"r":0},"w":{"e":9},"t":{"h":{"r":3}}},"e":{".":25,"a":{"r":23},"b":[{"u":11,"a":{"c":{"k":3}}},9],"c":[{"k":32},9],"d":25,"g":{"a":{"t":[{"i":{"v":5}},1]},"e":32},"l":{"a":1,"i":{"z":5}},"m":{"i":4,"o":1},"n":[{"e":18},41],"o":27,"p":{"o":1},"q":9,"r":[{"a":{"b":6,"r":21},"e":24,"i":132,"r":0},29],"s":[{".":25,"p":18,"t":25,"w":18,"k":{"i":119}},41],"t":{"i":{"c":27}},"v":[{"e":19},1],"w":1},"f":[{"i":{"n":{"i":{"t":{"e":{"s":226}}}}}},23],"g":{"a":{"b":21},"e":{"l":23,"n":{"e":[{"s":5},133]},"r":{"e":19,"i":23}},"h":{"a":4,"o":2},"i":{"b":23,"n":2,"t":19},"l":{"a":21},"o":{"v":17},"s":{"h":4,"p":{"r":2}},"u":[{"m":21},29],"y":24},"h":[{"a":[{"b":12},0],"e":0},80],"i":{"a":[{"n":[{".":114},3],"p":1},68],"b":{"a":3,"l":1},"d":[{"i":4},1],"e":{"r":1},"f":{"i":[{"c":{"a":{"t":4}}},9]},"g":{"r":19},"k":0,"m":[{"i":{"z":3}},29],"n":[{"e":{".":32},"g":0},29],"o":1,"s":{".":32,"t":{"a":0}},"t":[{"h":21,"i":{"o":27},"o":{"r":23},"r":3},24]},"j":29,"k":[{"e":{"r":{"o":19},"t":23},"i":{"n":3},"l":29,"r":{"u":{"p":3}}},44],"l":[{"e":{"s":{"s":19}}},43],"m":[{"e":[{"t":17},0]},19],"n":[{"e":0,"i":{"a":{"l":11},"v":0}},101],"o":{"b":{"l":[{"e":3},0]},"c":{"l":19,"e":{"r":{"o":{"s":254}}}},"d":66,"e":27,"g":[{"e":17},18],"i":{"s":{"i":6}},"l":{"i":134,"o":{"g":{"i":{"s":32}}}},"m":{"i":{"c":27,"z":108,"s":{"t":82}},"o":1,"y":3,"a":{"l":214},"e":{"n":{"o":194}}},"n":[{"a":{"g":0},"i":[{"z":19,"s":{"o":255}},5],"e":{"q":15}},1],"p":[{"o":{"l":{"i":135,"y":{".":256}}}},18],"r":{"a":{"b":5,"r":{"y":1}}},"s":{"c":18,"e":0,"t":5},"t":{"a":4},"u":[{"n":27},41],"v":{"e":{"l":136,"m":{"b":2}}},"w":{"l":12}},"p":[{"i":0,"r":{"e":{"c":17}}},72],"q":29,"r":[{"u":0},29],"s":[{"a":{"b":4,"t":{"i":36}},"c":[{"e":{"i":{"v":4}}},1],"e":[{"s":83},24],"i":{"d":137,"g":17},"l":24,"m":[{"o":{"o":1}},3],"o":{"c":21},"p":{"e":1,"i":19},"t":{"a":{"b":{"l":6}}}},81],"t":[{"a":{"b":0},"e":{"r":{"s":12}},"i":[{"b":19,"e":{"r":0},"f":8,"n":{"e":23,"g":83},"p":0},9],"r":{"o":{"l":{"l":{"i":7}}},"e":{"p":137}},"s":1,"u":{"m":{"e":11}}},29],"u":{"a":2,"d":1,"e":{"n":4},"f":{"f":{"e":0}},"i":{"n":23,"t":50},"m":[{"e":2,"i":19},21],"n":138,"o":23,"t":{"r":3}},"v":74,"w":72,"y":{"m":0,"p":0},"z":[{"a":23},18]},"o":{"a":[{"d":11,"l":{"e":{"s":108}},"r":{"d":12},"s":{"e":0,"t":{"e":6}},"t":{"i":5}},18],"b":{"a":{"b":35,"r":19},"e":{"l":0},"i":[{"n":[{"g":4},24]},29],"r":23,"u":{"l":3},"l":{"i":{"g":189}}},"c":{"e":29,"h":[{"e":{"t":23},"a":{"s":23}},0],"i":{"f":12,"l":21},"l":{"a":{"m":21}},"o":{"d":21},"r":{"a":{"c":3,"t":{"i":{"z":4}}},"e":12,"i":{"t":32}},"t":{"o":{"r":{"a":7}}},"u":{"l":{"a":3},"r":{"e":19}}},"d":{"d":{"e":{"d":4}},"i":{"c":3,"o":11,"t":{"i":{"c":137}}},"o":[{"r":12},139],"u":{"c":{"t":{".":4,"s":4}}},"e":{"l":{"l":{"i":12}}}},"e":{"l":21,"n":{"g":19},"r":[{"s":{"t":257}},23],"t":{"a":1},"v":23},"f":{"i":[{"t":{"e":4,"t":17}},24]},"g":{"a":{"r":121,"t":{"i":{"v":4},"o":21}},"e":[{"n":{"e":19},"o":19,"r":21},29],"i":{"e":23,"s":140,"t":3},"l":[{"y":79},21],"n":{"i":{"z":27}},"r":{"o":21},"u":{"i":5},"y":[{"n":25},41]},"h":[{"a":{"b":6}},74],"i":[{"c":{"e":{"s":11}},"d":{"e":{"r":3}},"f":{"f":17},"g":0,"l":{"e":{"t":4}},"n":{"g":23,"t":{"e":{"r":6}}},"s":{"m":19,"o":{"n":4},"t":{"e":{"n":6}}},"t":{"e":{"r":3}}},9],"j":19,"k":[{"e":{"n":23,"s":{"t":15}},"i":{"e":4}},25],"l":{"a":[{"n":21,"s":{"s":36}},29],"d":[{"e":15},9],"e":{"r":3,"s":{"c":23,"t":{"e":{"r":88}}},"t":23},"f":{"i":1},"i":[{"a":23,"c":{"e":23},"d":{".":4},"f":73,"l":19,"n":{"g":3},"o":19,"s":{".":19,"h":3},"t":{"e":19,"i":{"o":19}},"v":19,"g":{"o":{"p":{"o":258}}}},9],"l":{"i":{"e":17}},"o":{"g":{"i":{"z":4}},"r":0,"n":{"o":{"m":259}}},"p":{"l":4},"t":9,"u":{"b":3,"m":{"e":3},"n":3,"s":19},"v":9,"y":24},"m":{"a":{"h":4,"l":5,"t":{"i":{"z":4}}},"b":{"e":9,"l":1},"e":[{"n":{"a":3},"r":{"s":{"e":4}},"t":[{"r":{"y":4}},21],"c":{"h":{"a":260}}},24],"i":{"a":23,"c":{".":3,"a":3},"d":19,"n":[{"i":19},2]},"m":{"e":{"n":{"d":32}}},"o":{"g":{"e":0},"n":21},"p":{"i":3,"r":{"o":7}}},"n":[{"a":[{"c":1,"n":23},2],"c":[{"i":{"l":27}},2],"d":[{"o":4},25],"e":{"n":23,"s":{"t":4}},"g":{"u":1},"i":{"c":2,"o":23,"s":2,"u":19},"k":{"e":{"y":3}},"o":{"d":{"i":1},"m":{"y":3,"i":{"c":137}},"r":{"m":{"a":23}},"t":{"o":{"n":261}},"u":23},"s":[{"p":{"i":[{"r":{"a":10}},36]},"u":17},3],"t":{"e":{"n":36},"i":[{"f":7},93]},"u":{"m":4},"v":{"a":6}},24],"o":[{"d":{"e":5,"i":5},"k":1,"p":{"i":11},"r":{"d":23},"s":{"t":6}},9],"p":{"a":24,"e":{"d":5,"r":[{"a":[{"g":18},27]},2]},"h":[{"a":{"n":19},"e":{"r":19}},25],"i":{"n":{"g":3},"t":23,"s":{"m":{".":2}}},"o":{"n":19,"s":{"i":21}},"r":29,"u":2,"y":5},"q":29,"r":{"a":[{".":19,"g":83,"l":{"i":{"z":4}},"n":{"g":{"e":4}}},29],"e":{"a":[{"l":19},5],"i":3,"s":{"h":5,"t":{".":4}},"w":17},"g":{"u":1},"i":{"a":56,"c":{"a":3},"l":19,"n":2,"o":29,"t":{"y":3},"u":23},"m":{"i":9},"n":{"e":8},"o":{"f":19,"u":{"g":3}},"p":{"e":4},"r":{"h":27},"s":{"e":[{"n":5},1],"t":17},"t":{"h":{"i":3,"y":3,"o":{"n":{"i":{"t":262}}},"r":{"i":137}},"y":1,"i":{"v":{"e":{"l":{"y":4}}}}},"u":{"m":19},"y":29},"s":{"a":{"l":3},"c":[{"e":1,"o":{"p":[{"i":18},23]},"r":19},9],"i":{"e":95,"t":{"i":{"v":4},"o":3,"y":3},"u":0},"l":1,"o":24,"p":{"a":1,"o":1,"h":{"e":{"r":83}}},"t":{"a":[{"t":{"i":19}},9],"i":{"l":4,"t":4}}},"t":{"a":{"n":21},"e":{"l":{"e":{"g":36}},"r":{".":3,"s":4},"s":[{"t":{"e":{"r":263},"o":{"r":264}}},21]},"h":[{"e":{"s":{"i":5},"o":{"s":265}},"i":14},18],"i":{"c":{".":3,"a":4,"e":23},"f":23,"s":23},"o":{"s":5}},"u":[{"b":{"l":3,"a":{"d":{"o":116}}},"c":{"h":{"i":6}},"e":{"t":4},"l":1,"n":{"c":{"e":{"r":6}},"d":8},"v":4},9],"v":{"e":{"n":1,"r":{"n":{"e":17},"s":12,"t":1}},"i":{"s":23,"t":{"i":36},"a":{"n":{".":266}}},"o":{"l":60}},"w":{"d":{"e":{"r":3}},"e":{"l":3,"s":{"t":4}},"i":2,"n":{"i":5},"o":21},"y":{"a":2},"x":{"i":{"d":{"i":{"c":267}}}}},"p":{"a":[{"c":{"a":1,"e":1,"t":0},"d":21,"g":{"a":{"n":32,"t":23}},"i":[{"n":17},21],"l":[{"m":{"a":{"t":268}}},21],"n":{"a":0,"e":{"l":11},"t":{"y":0},"y":3},"p":[{"u":1},2],"r":{"a":{"b":{"l":6},"g":{"e":5,"r":{"a":269}},"l":{"e":228},"m":[{"e":12},36]},"d":{"i":5},"e":[{"l":5},27],"i":[{"s":0},28]},"t":{"e":[{"r":4},9],"h":{"i":{"c":32},"y":4},"r":{"i":{"c":1}}},"v":0,"y":27},41],"b":43,"d":1,"e":{".":18,"a":[{"r":{"l":17}},138],"c":9,"d":[{"e":27,"i":[{"a":36,"c":0},27]},37],"e":[{"d":0,"v":208},21],"k":0,"l":{"a":1,"i":{"e":17}},"n":{"a":{"n":1},"c":21,"t":{"h":0}},"o":{"n":4},"r":{"a":{".":21,"b":{"l":6},"g":21},"i":[{"s":{"t":6}},21],"m":{"a":{"l":0},"e":7},"n":21,"o":11,"t":{"i":11},"u":4,"v":15},"t":[{"e":{"n":4},"i":{"z":4}},9]},"f":18,"g":18,"h":{".":18,"a":{"r":{"i":6}},"e":{"n":{"o":11},"r":1,"s":{".":1}},"i":{"c":2,"e":32,"n":{"g":4},"s":{"t":{"i":32}},"z":27,"l":{"a":{"n":{"t":168},"t":{"e":{"l":270}}}}},"l":9,"o":{"b":27,"n":{"e":27,"i":32},"r":0},"s":18,"t":3,"u":32,"y":41},"i":{"a":[{"n":17},3],"c":{"i":{"e":1},"y":1,"a":{"d":271}},"d":[{"a":19,"e":3,"i":32},21],"e":{"c":27,"n":3},"g":{"r":{"a":{"p":1}}},"l":{"o":3},"n":[{".":21,"d":17,"o":21},9],"o":[{"n":17},141],"t":{"h":[{"a":4},23],"u":9}},"k":142,"l":[{"a":{"n":27,"s":{"t":6}},"i":{"a":11,"e":{"r":5},"g":18,"n":[{"a":{"r":5}},0],"c":{"a":{"b":208}}},"o":{"i":17},"u":{"m":[{"b":17},0]}},143],"m":43,"n":48,"o":{"c":1,"d":{".":32},"e":{"m":4,"t":144},"g":145,"i":{"n":[{"t":32,"c":{"a":12}},84]},"l":{"y":{"t":6,"e":137,"p":{"h":{"o":{"n":{"o":272}}}}},"e":{".":41}},"n":{"i":1},"p":1,"r":[{"y":1},124],"s":[{"s":15},41],"t":[{"a":1},21],"u":{"n":32}},"p":[{"a":{"r":{"a":5}},"e":[{"d":21,"l":19,"n":23,"r":23,"t":23},24],"o":{"s":{"i":{"t":{"e":5}}}}},43],"r":[{"a":{"y":{"e":17}},"e":{"c":{"i":32,"o":5},"e":{"m":11},"f":{"a":{"c":6}},"l":{"a":0},"r":11,"s":{"e":23,"s":27,"p":{"l":{"i":84}}},"t":{"e":{"n":5}},"v":11,"m":{"a":{"c":273}},"n":{"e":{"u":15}}},"i":{"e":53,"n":{"t":146},"s":[{"o":12},0]},"o":{"c":{"a":23,"e":{"s":{"s":8}},"i":{"t":{"y":{".":274}}}},"f":{"i":{"t":6}},"l":11,"s":{"e":12},"t":15,"g":{"e":208}}},9],"s":[{"e":[{"u":{"d":[{"o":{"d":276,"f":276}},275]}},24],"h":1,"i":{"b":21}},81],"t":[{"a":{"b":134},"e":24,"h":24,"i":{"m":11},"u":{"r":0},"w":21,"o":{"m":{"a":{"t":277}}},"r":{"o":{"l":278}}},42],"u":{"b":[{"e":{"s":{"c":181}}},11],"e":0,"f":0,"l":{"c":11},"m":1,"n":9,"r":{"r":0},"s":32,"t":[{"e":[{"r":11},32],"r":3,"t":{"e":{"d":0},"i":{"n":0}}},9]},"w":23},"q":{"u":[{"a":{"v":5,"i":{"n":{"t":{"e":279}}},"s":{"i":[{"r":281,"s":281},280]}},"e":{".":25,"r":27,"t":27},"i":{"n":{"t":{"e":{"s":{"s":282}}}},"v":{"a":{"r":14}}}},9]},"r":{"a":{"b":[{"i":3,"o":{"l":{"i":{"c":29},"o":{"i":236}}}},25],"c":{"h":{"e":17,"u":3},"l":19},"f":{"f":{"i":5},"t":0},"i":24,"l":{"o":1},"m":{"e":{"t":[{"r":{"i":{"z":283}}},11],"n":24},"i":24,"o":{"u":3}},"n":{"e":{"o":6},"g":{"e":0},"i":21,"o":4,"h":{"a":{"s":167}}},"p":{"e":{"r":11},"h":{"y":27}},"r":{"c":5,"e":[{"f":5},17],"i":{"l":18}},"s":24,"t":{"i":{"o":{"n":115}}},"u":{"t":0},"v":{"a":{"i":4},"e":{"l":11}},"z":{"i":{"e":4}},"d":{"i":{"g":127,"o":{"g":249}}},"o":{"r":2}},"b":[{"a":{"b":21,"g":21},"i":[{"f":0,"n":[{"e":19,"g":{".":4,"e":284}},24]},8],"o":1},29],"c":[{"e":[{"n":17},24],"h":{"a":23,"e":{"r":0}},"i":{"b":90,"t":1},"u":{"m":12}},29],"d":{"a":{"l":21},"i":[{"a":0,"e":{"r":0},"n":[{"g":3},17]},9]},"e":{".":25,"a":{"l":2,"n":3,"r":{"r":4},"v":32,"w":1},"b":{"r":{"a":{"t":19}}},"c":{"o":{"l":{"l":5},"m":{"p":{"e":5}}},"r":{"e":1},"i":{"p":{"r":285}},"t":{"a":{"n":{"g":286}}}},"d":[{"e":2,"i":{"s":3,"t":5}},37],"f":{"a":{"c":1},"e":[{"r":{".":4}},9],"i":3,"y":1},"g":{"i":{"s":11}},"i":{"t":4},"l":{"i":2,"u":4},"n":{"t":{"a":90,"e":0}},"o":2,"p":{"i":{"n":4},"o":{"s":{"i":1}},"u":2},"r":[{"i":21,"o":17,"u":4},147],"s":{".":21,"p":{"i":1},"s":{"i":{"b":6}},"t":[{"a":{"l":4},"r":3},8]},"t":{"e":{"r":1},"i":{"z":96},"r":{"i":[{"b":{"u":85}},3]}},"u":[{"t":{"i":4}},8],"v":[{"a":{"l":1},"e":{"l":11,"r":{".":30,"s":4,"t":4}},"i":{"l":4},"o":{"l":{"u":5}}},8],"w":{"h":1}},"f":[{"u":0,"y":21},29],"g":[{"e":{"r":3,"t":23},"i":{"c":23,"n":[{"g":3},0],"s":19,"t":19},"l":29,"o":{"n":0},"u":23},9],"h":[{".":18,"a":{"l":18}},1],"i":{"a":[{"b":0,"g":1,"l":{".":23}},3],"b":[{"a":11},21],"c":{"a":{"s":5},"e":21,"i":[{"d":32,"e":1},18],"o":21},"d":{"e":{"r":5}},"e":{"n":{"c":3,"t":3},"r":2,"t":4},"g":{"a":{"n":5},"i":32},"l":{"i":{"z":11}},"m":{"a":{"n":32},"i":5,"o":27,"p":{"e":0}},"n":{"a":[{".":32},24],"d":0,"e":0,"g":0},"o":2,"p":{"h":[{"e":6},32],"l":[{"i":{"c":5}},9]},"q":21,"s":[{".":21,"c":0,"h":23,"p":0},24],"t":{"a":{"b":116},"e":{"d":{".":19},"r":{".":5,"s":5}},"i":{"c":11},"u":[{"r":5},9]},"v":{"e":{"l":5,"t":11},"i":11,"o":{"l":287}}},"j":23,"k":{"e":{"t":23},"l":{"e":1,"i":{"n":1}},".":288,"h":{"o":2},"r":{"a":{"u":29}},"s":{".":288}},"l":[{"e":[{"d":24,"q":{"u":30}},0],"i":{"g":21,"s":[{"h":4},21]},"o":73},29],"m":[{"a":{"c":5},"e":[{"n":23,"r":{"s":4}},24],"i":{"n":{"g":[{".":21},3]},"o":21,"t":23},"y":21},29],"n":{"a":{"r":21},"e":{"l":23,"r":21,"t":19,"y":23},"i":{"c":19,"s":92,"t":23,"v":23},"o":[{"u":21},0],"u":23},"o":{"b":{"l":11,"o":{"t":289}},"c":[{"r":3},24],"e":[{"l":{"a":{"s":167}},"p":{"i":{"d":{"e":290}}}},1],"f":{"e":2,"i":{"l":4}},"k":[{"e":{"r":4}},8],"l":{"e":{".":32}},"m":{"e":{"t":{"e":5},"s":{"h":3}},"i":0,"p":0},"n":{"a":{"l":0},"e":0,"i":{"s":134},"t":{"a":0}},"o":{"m":41,"t":32},"p":{"e":{"l":3},"i":{"c":11}},"r":{"i":11,"o":4},"s":{"p":{"e":{"r":5}},"s":0},"t":{"h":{"e":1},"y":1,"r":{"o":{"n":2}}},"v":{"a":1,"e":{"l":5}},"x":5},"p":[{"e":{"a":21,"n":{"t":19},"r":{".":4},"t":23},"h":95,"i":{"n":{"g":3}},"o":23,"a":{"u":{"l":{"i":291}}}},29],"r":[{"e":{"c":0,"f":0,"o":21,"s":{"t":0}},"i":{"o":0,"v":0},"o":{"n":17,"s":17},"y":{"s":17}},72],"s":[{"a":[{"t":{"i":5}},29],"c":1,"e":[{"c":[{"r":0},23],"r":{".":4,"a":{"d":{"i":238}}},"s":3,"v":148},24],"h":[{"a":19},29],"i":[{"b":90},29],"o":{"n":12},"p":29,"w":19},44],"t":{"a":{"c":{"h":36},"g":21},"e":{"b":23,"n":{"d":17},"o":5},"i":[{"b":4,"d":0,"e":{"r":21},"g":23,"l":{"i":12,"l":17,"y":21},"s":{"t":21},"v":21},29],"r":{"i":23,"o":{"p":{"h":115}},"e":{"u":29}},"s":{"h":1},"h":{"o":{"u":29}}},"u":{"a":3,"e":{"l":93,"n":3},"g":{"l":1},"i":{"n":3},"m":{"p":{"l":11}},"n":[{"k":6,"t":{"y":0}},9],"s":{"c":19},"t":{"i":{"n":6}}},"v":{"e":[{"l":{"i":17},"n":23,"r":{".":4},"s":{"t":19},"y":23,"i":{"l":29}},1],"i":{"c":23,"v":0},"o":23},"w":29,"y":{"c":1,"n":{"g":{"e":32}},"t":3},"z":{"s":{"c":2}}},"s":{"a":[{"b":42,"c":{"k":32,"r":{"i":11},"t":23},"i":32,"l":{"a":{"r":36},"m":0,"o":4,"t":0,"e":{"s":{"c":54,"w":7}}},"n":{"c":27,"d":{"e":0}},"p":[{"a":{"r":{"i":{"l":292}}}},29],"t":{"a":4,"i":{"o":76},"u":11},"u":0,"v":{"o":{"r":4}},"w":32},9],"b":56,"c":{"a":{"n":{"t":149},"p":[{"e":{"r":267}},0],"v":6,"t":{"o":{"l":208}}},"e":{"d":21,"i":18,"s":21},"h":[{"o":21,"i":{"t":{"z":21}},"r":{"o":{"d":{"i":{"n":{"g":293}}}}}},8],"i":{"e":68,"n":{"d":150},"u":{"t":{"t":294}}},"l":{"e":6,"i":21},"o":{"f":17,"p":{"y":18},"u":{"r":{"a":7}}},"u":29,"r":{"a":{"p":{"e":{"r":{".":36}}}}},"y":{"t":{"h":247}}},"d":56,"e":{".":18,"a":[{"s":17,"w":5},1],"c":{"o":151,"t":27},"d":[{"e":95,"l":19},125],"g":[{"r":11},9],"i":32,"l":{"e":2,"f":32,"v":32},"m":{"e":[{"s":{"t":295}},18],"o":{"l":1},"a":{"p":{"h":287}},"i":{"t":{"i":{"c":296}}}},"n":{"a":{"t":5},"c":18,"d":0,"e":{"d":19},"g":5,"i":{"n":19},"t":{"d":18,"l":18}},"p":{"a":152,"t":{"e":{"m":{"b":11}}}},"r":{".":43,"l":21,"o":0,"v":{"o":18}},"s":[{"h":4,"t":5},72],"u":{"m":113},"v":[{"e":{"n":11}},32],"w":{"i":0},"x":32},"f":47,"g":48,"h":[{".":25,"e":{"r":2,"v":32},"i":{"n":2,"o":3,"p":27,"v":6},"o":[{"l":{"d":4},"n":12,"r":[{"t":7},17],"e":{"s":{"t":137}}},0],"w":18},24],"i":{"b":2,"c":{"c":19},"d":{"e":{".":27,"s":[{"t":6,"w":6},32],"d":{".":8}},"i":[{"z":4},32]},"g":{"n":{"a":18}},"l":{"e":0,"y":18},"n":[{"a":24,"e":{".":32},"g":23},42],"o":[{"n":[{"a":6},32]},41],"r":[{"a":5,"e":{"s":{"i":{"d":4}}}},9],"s":41,"t":{"i":{"o":27}},"u":32,"v":41,"z":32},"k":[{"e":[{"t":23},18],"i":{"n":{"e":4,"g":4}},"y":{"s":{"c":15}}},9],"l":[{"a":{"t":23},"e":24,"i":{"t":{"h":7}},"o":{"v":{"a":{"k":{"i":{"a":297}}}}}},74],"m":[{"a":[{"l":{"l":54},"n":12},23],"e":{"l":17,"n":19},"i":{"t":{"h":32}},"o":{"l":{"d":49}}},42],"n":72,"o":[{"c":{"e":1},"f":{"t":12},"l":{"a":{"b":1},"d":153,"i":{"c":3},"v":32,"u":{"t":{"e":9}}},"m":27,"n":{".":68,"a":17,"g":0},"p":[{"h":{"i":{"c":32,"z":19},"y":19}},21],"r":{"c":5,"d":5},"v":[{"i":4},18],"g":{"a":{"m":{"y":298}}}},41],"p":{"a":[{"i":32,"n":0,"c":{"e":299,"i":{"n":69}}},25],"e":{"n":{"d":17},"o":57,"r":25,"c":{"i":{"o":11}}},"h":{"e":[{"r":[{"o":213},27]},24],"o":6},"i":{"l":17,"n":{"g":4},"o":18,"c":{"i":{"l":208}}},"l":{"y":21},"o":{"n":21,"r":[{"t":{"s":{"c":300,"w":300}}},17],"t":18,"k":{"e":{"s":{"w":10}}}}},"q":{"u":{"a":{"l":{"l":36}},"i":{"t":{"o":88}}}},"r":29,"s":[{"a":[{"s":12,"c":{"h":{"u":301}}},29],"c":94,"e":{"l":23,"n":{"g":19},"s":{".":21},"t":19},"i":[{"e":[{"r":0},21],"l":{"y":4},"a":{"n":{".":210}},"g":{"n":{"a":{"b":302}}}},29],"l":[{"i":1},21],"n":21,"p":{"e":{"n":{"d":115}}},"t":9,"u":{"r":{"a":6}},"w":4,"h":{"a":{"t":3}}},25],"t":{".":25,"a":{"g":24,"l":24,"m":{"i":17,"p":69},"n":{"d":32,"t":{"s":{"h":{"i":303}}}},"p":90,"t":{".":32,"i":15},"r":{"t":{"l":{"i":12}}}},"e":{"d":21,"r":{"n":{"i":7},"o":19},"w":[{"a":6},8]},"h":{"e":23},"i":[{".":21,"a":19,"c":[{"k":32},29],"e":21,"f":23,"n":{"g":3},"r":32},9],"l":{"e":29},"o":{"c":{"k":32},"m":{"a":12},"n":{"e":32},"p":21,"r":{"e":27,"a":{"b":304}}},"r":[{"a":{"d":21,"t":{"u":32,"a":{"g":305}},"y":21},"i":{"d":21,"b":{"u":{"t":7}}},"y":18},1],"w":61,"y":[{"l":{"i":{"s":137}}},24],"b":4,"s":{"c":{"r":4}},"u":{"p":{"i":{"d":306}}}},"u":[{"a":{"l":2},"b":111,"g":151,"i":{"s":4,"t":12},"l":21,"m":[{"i":11},9],"n":9,"r":9,"p":{"e":{"r":{"e":307}}}},41],"v":18,"w":[{"o":18,"i":{"m":{"m":177}}},9],"y":[{"c":18,"l":27,"n":{"o":5,"c":41},"r":{"i":{"n":4}},"t":{"h":{"i":308}}},21]},"t":{"a":[{".":27,"b":[{"l":{"e":{"s":4}},"o":{"l":{"i":{"z":32,"s":{"m":309}}}}},25],"c":{"i":18},"d":{"o":4},"f":46,"i":{"l":{"o":5}},"l":[{"a":4,"e":{"n":5},"i":11,"k":[{"a":204},18],"l":{"i":{"s":0}},"o":{"g":4}},9],"m":{"o":4,"i":{"n":82}},"n":{"d":{"e":0},"t":{"a":54}},"p":{"e":{"r":4},"l":4,"a":{"t":{"h":310}}},"r":{"a":0,"c":18,"e":18,"i":{"z":3},"r":{"h":311}},"s":{"e":0,"y":4},"t":{"i":{"c":18},"u":{"r":1}},"u":{"n":17},"v":0,"w":25,"x":{"i":{"s":0}},"g":{"o":{"n":{".":3}}}},41],"b":42,"c":[{"h":[{"e":{"t":5},"c":15,"i":{"e":{"r":237}}},21],"r":29},18],"d":43,"e":{".":18,"a":{"d":{"i":17},"t":18,"c":{"h":{"e":{"r":{".":36}}}}},"c":{"e":17,"t":32},"d":[{"i":4},42],"e":41,"g":[{"e":{"r":4},"i":4},0],"l":{".":27,"i":17,"s":32,"e":{"g":84,"r":{"o":249}}},"m":{"a":[{"t":11},154]},"n":{"a":{"n":27},"c":27,"d":27,"e":{"s":18},"t":[{"a":{"g":0}},41]},"o":41,"p":[{"e":4},1],"r":{"c":11,"d":155,"i":[{"e":{"s":5},"s":11,"z":{"a":6},"c":{".":8}},41],"n":{"i":{"t":32}},"v":5,"g":{"e":{"i":312}}},"s":{".":18,"s":[{".":23,"e":{"s":313}},18]},"t":{"h":{"e":6}},"u":27,"x":27,"y":18},"f":42,"g":43,"h":{".":25,"a":{"n":17,"l":{"a":{"m":228}}},"e":[{"a":[{"s":3,"t":5},18],"i":{"s":11},"t":27},9],"i":{"c":{".":4,"a":4},"l":18,"n":{"k":32}},"l":18,"o":{"d":{"e":4,"i":{"c":32},"o":{"n":11}},"o":18,"r":{"i":{"t":6,"z":5}},"g":{"e":{"n":{"i":314}}},"k":{"e":{"r":175}}},"s":25,"y":{"l":{"a":{"n":228}},"s":{"c":11}}},"i":{"a":[{"b":1,"t":{"o":1},"n":{".":70}},41],"b":156,"c":{"k":18,"o":21,"u":157},"d":{"i":32},"e":{"n":27},"f":[{"y":4},8],"g":[{"u":32},25],"l":{"l":{"i":{"n":6}}},"m":[{"p":18,"u":{"l":5}},41],"n":[{"a":24,"e":{".":27},"i":27,"o":{"m":285}},42],"o":[{"c":4,"n":{"e":{"e":6}}},41],"q":32,"s":{"a":3,"e":27,"m":0,"o":4,"p":0,"t":{"i":{"c":{"a":32}}}},"t":{"l":3},"u":1,"v":[{"a":0},41],"z":[{"a":3,"e":{"n":3}},41]},"l":[{"a":[{"n":17},19],"e":{".":27,"d":27,"s":{".":27},"t":{".":19}},"o":19,"i":{"e":{"r":315}}},25],"m":[{"e":0},43],"n":81,"o":[{"b":3,"c":{"r":{"a":{"t":4}}},"d":{"o":18},"f":25,"g":{"r":9},"i":{"c":4},"m":{"a":9,"b":0,"y":3},"n":{"a":{"l":{"i":0},"t":3},"o":18,"y":18},"r":{"a":9,"i":{"e":3,"z":5}},"s":8,"u":{"r":32,"t":18},"w":{"a":{"r":3}},"l":{"o":{"g":{"y":84}}},"t":{"i":{"c":11}}},41],"p":43,"r":{"a":[{"b":11,"c":{"h":5,"i":[{"t":17},36],"t":{"e":17}},"s":17,"v":{"e":{"n":5,"s":158,"r":{"s":[{"a":{"b":317}},15]}}},"i":{"t":{"o":{"r":316}}}},41],"e":{"f":5,"m":[{"i":6},0],"a":{"c":{"h":{"e":318}}}},"i":{"a":[{"l":{".":1}},32],"c":{"e":{"s":5},"i":{"a":32},"s":18},"m":25,"v":0},"o":{"m":{"i":5},"n":{"i":6,"y":18},"p":{"h":{"e":5},"i":{"s":175},"o":{"l":{"e":{"s":320},"i":{"s":320,"t":321}}}},"s":{"p":11},"v":11,"l":{"e":{"u":{"m":319}}},"f":{"i":{"c":{".":17},"t":11}}},"u":{"i":5,"s":17}},"s":[{"c":[{"h":{"i":{"e":12}}},21],"h":0,"w":21},101],"t":[{"e":{"s":21},"o":19,"u":0,"r":{"i":{"b":{"u":{"t":322}}}}},66],"u":[{"a":[{"r":3},2],"b":{"i":1},"d":8,"e":18,"f":46,"i":76,"m":27,"n":{"i":{"s":1}},"p":{".":48},"r":{"e":27,"i":[{"s":11},32],"o":5,"y":4,"n":{"a":{"r":12}}},"s":27},41],"v":18,"w":[{"a":43,"i":{"s":17},"o":18,"h":29},1],"y":[{"a":18,"l":25,"p":{"e":12,"h":4,"a":{"l":64}}},41],"z":[{"e":1},18]},"u":{"a":{"b":18,"c":0,"n":{"a":4,"i":0},"r":{"a":{"n":{"t":5}},"d":8,"i":11,"t":11},"t":29,"v":0,"d":{"r":{"a":{"t":{"i":3,"u":15}}}}},"b":{"e":[{"l":21,"r":[{"o":21},23]},1],"i":[{"n":{"g":33}},72],"l":{"e":{".":23}}},"c":{"a":23,"i":{"b":0,"t":1},"l":{"e":12},"r":23,"u":23,"y":21},"d":{"d":4,"e":{"r":3,"s":{"t":4},"v":17},"i":{"c":29,"e":{"d":3,"s":3},"s":4,"t":19},"o":{"n":[{"y":232},21]},"s":{"i":1},"u":21},"e":{"n":{"e":21,"s":17,"t":{"e":0}},"r":{"i":{"l":0}},"a":{"m":15}},"f":{"a":27,"l":23},"g":{"h":{"e":{"n":11}},"i":{"n":4}},"i":[{"l":{"i":{"z":5}},"n":[{"g":29},1],"r":{"m":0},"t":{"a":17},"v":[{"e":{"r":{".":0}}},11]},156],"j":19,"k":18,"l":{"a":[{"b":5,"t":{"i":19}},29],"c":{"h":[{"e":32},17]},"d":{"e":{"r":3}},"e":[{"n":29},1],"g":{"i":1},"i":[{"a":19,"n":{"g":3},"s":{"h":4}},9],"l":{"a":{"r":1},"i":{"b":96,"s":1}},"m":61,"o":72,"s":[{"e":{"s":5}},18],"t":{"i":2,"r":{"a":54},"u":18},"u":[{"l":4},23],"v":4},"m":{"a":{"b":4},"b":{"i":1,"l":{"y":1}},"i":[{"n":{"g":83}},29],"o":{"r":{"o":6}},"p":9},"n":{"a":{"t":17},"e":[{"r":1},24],"i":[{"m":1,"n":24,"s":{"h":4},"v":11},29],"s":[{"w":1},93],"t":{"a":{"b":11},"e":{"r":{".":1},"s":1}},"u":0,"y":4,"z":4},"o":{"r":{"s":21},"s":19,"u":29},"p":{"e":[{"r":{"s":6}},29],"i":{"a":19,"n":{"g":3}},"l":23,"p":[{"o":{"r":{"t":10}}},3],"t":{"i":{"b":5},"u":17}},"r":{"a":[{".":18,"g":21,"s":21,"l":{".":216}},29],"b":{"e":1},"c":0,"d":2,"e":{"a":{"t":5}},"f":{"e":{"r":1},"r":1},"i":{"f":[{"i":{"c":0}},23],"n":2,"o":23,"t":29,"z":3,"a":{"l":{".":0}}},"l":[{"i":{"n":{"g":{".":5}}}},9],"n":{"o":1},"o":{"s":17},"p":{"e":1,"i":1},"s":{"e":{"r":5}},"t":{"e":{"s":4},"h":{"e":3},"i":[{"e":1},17]},"u":23},"s":[{"a":{"d":19,"n":19,"p":1},"c":[{"i":3},8],"e":{"a":5,"r":{".":9}},"i":{"a":19,"c":23},"l":{"i":{"n":1}},"p":2,"s":{"l":4},"t":{"e":{"r":{"e":4}},"r":2},"u":[{"r":17},24]},25],"t":{"a":{"b":0,"t":23},"e":{".":18,"l":18,"n":[{"i":17},18]},"i":[{"l":{"i":{"z":5}},"n":{"e":23,"g":3},"o":{"n":{"a":7}},"s":21,"z":31},101],"l":34,"o":{"f":4,"g":5,"m":{"a":{"t":{"i":{"c":5}}}},"n":19,"u":21},"s":0},"u":[{"m":1},23],"v":74,"x":{"u":11},"z":{"e":1}},"v":{"a":[{".":32,"b":159,"c":{"i":{"l":5},"u":11},"g":[{"e":1,"u":{"e":{"r":170}}},0],"l":{"i":{"e":4},"o":5,"u":15},"m":{"o":4},"n":{"i":{"z":4}},"p":{"i":4},"r":{"i":{"e":{"d":5}}},"t":[{"i":{"v":29}},27],"u":{"d":{"e":{"v":54}}}},41],"e":{".":18,"d":18,"g":11,"l":{".":23,"l":{"i":11},"o":1,"y":21},"n":{"o":{"m":11},"u":{"e":19}},"r":{"d":21,"e":{".":32,"l":[{"y":{".":41}},21],"n":[{"c":5},23],"s":21,"i":{"g":324}},"i":{"e":11},"m":{"i":{"n":36}},"s":{"e":27},"t":{"h":11}},"s":[{".":18,"t":{"e":0,"i":{"t":{"e":15}}}},99],"t":{"e":[{"r":11},1],"y":1}},"i":{"a":{"l":{"i":4},"n":32},"d":{"e":{".":32,"d":32,"n":47,"s":32},"i":32},"f":23,"g":{"n":4},"k":0,"l":[{"i":{"t":32,"z":127}},25],"n":[{"a":26,"c":24,"d":5,"g":18},29],"o":{"l":11,"r":73,"u":2},"p":1,"r":{"o":4},"s":{"i":{"t":11},"o":3,"u":3},"t":{"i":18,"r":11,"y":18},"v":[{"i":{"p":{"a":{"r":325}}}},27]},"o":{".":32,"i":[{"r":{"d":{"u":323}},"c":{"e":{"p":213}}},0],"k":27,"l":{"a":1,"e":19,"t":32,"v":27},"m":{"i":5},"r":{"a":{"b":5},"i":17,"y":1},"t":{"a":1,"e":{"e":18}}},"v":26,"y":21},"w":{"a":{"b":{"l":19},"c":25,"g":{"e":{"r":4},"o":5},"i":{"t":6},"l":{".":19},"m":0,"r":{"t":0},"s":{"t":[{"e":{"w":{"a":326}}},0]},"t":{"e":2},"v":{"e":{"r":4,"g":327}}},"b":29,"e":{"a":{"r":{"i":{"e":5}},"t":{"h":54}},"d":{"n":0},"e":{"t":12,"v":5,"k":{"n":137}},"l":{"l":0},"r":29,"s":{"t":12},"v":23},"h":{"i":0},"i":[{"l":[{"l":{"i":{"n":6}}},8],"n":{"d":{"e":0},"g":0},"r":0,"s":{"e":27},"t":{"h":12},"z":5,"d":{"e":{"s":{"p":6}}}},9],"k":21,"l":{"e":{"s":1},"i":{"n":3}},"n":{"o":21},"o":[{"m":15,"v":{"e":{"n":4}},"k":{"e":{"n":85}}},160],"p":19,"r":{"a":[{"p":{"a":{"r":{"o":12}}}},0],"i":[{"t":{"a":36,"e":{"r":{".":183}}}},0]},"s":{"h":23,"l":1,"p":{"e":1},"t":60},"t":18,"y":1,"c":23},"x":{"a":[{"c":{"e":5},"g":{"o":21},"m":11,"p":21,"s":5},29],"c":161,"e":[{"c":{"u":{"t":{"o":1}}},"d":24,"r":{"i":0,"o":4}},29],"h":[{"i":[{"l":6},8],"u":0},29],"i":[{"a":4,"c":4,"d":{"i":4},"m":{"e":21,"i":{"z":4}}},23],"o":[{"b":21},23],"p":[{"a":{"n":{"d":17}},"e":{"c":{"t":{"o":10}},"d":11}},23],"t":[{"i":23},74],"u":[{"a":3},29],"x":1,"q":[{"u":{"i":{"s":54}}},29]},"y":{"a":{"c":19,"r":110,"t":19},"b":29,"c":[{"e":[{"r":4},24],"h":[{"e":[{"d":264},0]},23],"o":{"m":17,"t":17}},29],"d":29,"e":{"e":19,"r":[{"f":21},29],"s":[{"t":{"e":{"r":{"y":328}}}},0],"t":1},"g":{"i":19},"h":47,"i":29,"l":{"a":23,"l":{"a":{"b":{"l":6}}},"o":23,"u":19},"m":{"b":{"o":{"l":7}},"e":[{"t":{"r":{"y":20}}},0],"p":{"a":12}},"n":{"c":{"h":{"r":3}},"d":4,"g":4,"i":{"c":4},"x":32},"o":[{"d":4,"g":33,"m":0,"n":{"e":{"t":4},"s":21},"s":21},72],"p":{"e":{"d":21,"r":6},"i":3,"o":[{"c":21},23],"t":{"a":9},"u":19},"r":{"a":{"m":5},"i":{"a":4},"o":23,"r":1},"s":{"c":1,"e":161,"i":{"c":{"a":3},"o":3,"s":27},"o":21,"s":0,"t":[{"a":3,"r":{"o":29}},2],"u":{"r":17}},"t":{"h":{"i":{"n":23}},"i":{"c":3}},"w":29},"z":{"a":[{"b":79,"r":8},2],"b":18,"e":[{"n":1,"p":1,"r":[{"o":3},29],"t":0},25],"i":[{"l":21,"s":21,"a":{"n":{".":23}}},42],"l":32,"m":18,"o":[{"m":1,"o":{"l":4},"p":{"h":{"r":329}}},41],"t":{"e":0},"z":[{"y":21,"w":231},101]}}',["as-so-ciate","as-so-ciates","dec-li-na-tion","oblig-a-tory","phil-an-thropic","present","presents","project","projects","reci-procity","re-cog-ni-zance","ref-or-ma-tion","ret-ri-bu-tion","ta-ble"]]})?n.apply(t,r):n)||(e.exports=i)},61596:e=>{"function"===typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}},55391:e=>{e.exports=function(e){if("string"!==typeof e)return!1;var i=e.match(t);if(!i)return!1;var o=i[1];if(!o)return!1;if(n.test(o)||r.test(o))return!0;return!1};var t=/^(?:\w+:)?\/\/(\S+)$/,n=/^localhost[\:?\d]*(?:[^\:?\d]\S*)?$/,r=/^[^\s\.]+\.\S{2,}$/},83191:(e,t,n)=>{var r=n(89794),i=function(e){var t="",n=Object.keys(e);return n.forEach((function(i,o){var a=e[i];(function(e){return/[height|width]$/.test(e)})(i=r(i))&&"number"===typeof a&&(a+="px"),t+=!0===a?i:!1===a?"not "+i:"("+i+": "+a+")",o<n.length-1&&(t+=" and ")})),t};e.exports=function(e){var t="";return"string"===typeof e?e:e instanceof Array?(e.forEach((function(n,r){t+=i(n),r<e.length-1&&(t+=", ")})),t):i(e)}},73223:(e,t,n)=>{e=n.nmd(e);var r="__lodash_hash_undefined__",i=9007199254740991,o="[object Arguments]",a="[object Boolean]",s="[object Date]",l="[object Function]",c="[object GeneratorFunction]",u="[object Map]",d="[object Number]",p="[object Object]",h="[object Promise]",f="[object RegExp]",m="[object Set]",g="[object String]",v="[object Symbol]",y="[object WeakMap]",A="[object ArrayBuffer]",b="[object DataView]",w="[object Float32Array]",x="[object Float64Array]",C="[object Int8Array]",S="[object Int16Array]",k="[object Int32Array]",E="[object Uint8Array]",I="[object Uint8ClampedArray]",_="[object Uint16Array]",P="[object Uint32Array]",O=/\w*$/,T=/^\[object .+?Constructor\]$/,D=/^(?:0|[1-9]\d*)$/,j={};j[o]=j["[object Array]"]=j[A]=j[b]=j[a]=j[s]=j[w]=j[x]=j[C]=j[S]=j[k]=j[u]=j[d]=j[p]=j[f]=j[m]=j[g]=j[v]=j[E]=j[I]=j[_]=j[P]=!0,j["[object Error]"]=j[l]=j[y]=!1;var B="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,N="object"==typeof self&&self&&self.Object===Object&&self,M=B||N||Function("return this")(),R=t&&!t.nodeType&&t,L=R&&e&&!e.nodeType&&e,F=L&&L.exports===R;function z(e,t){return e.set(t[0],t[1]),e}function Q(e,t){return e.add(t),e}function U(e,t,n,r){var i=-1,o=e?e.length:0;for(r&&o&&(n=e[++i]);++i<o;)n=t(n,e[i],i,e);return n}function V(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(n){}return t}function G(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function q(e,t){return function(n){return e(t(n))}}function H(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}var W=Array.prototype,Y=Function.prototype,K=Object.prototype,J=M["__core-js_shared__"],X=function(){var e=/[^.]+$/.exec(J&&J.keys&&J.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),Z=Y.toString,$=K.hasOwnProperty,ee=K.toString,te=RegExp("^"+Z.call($).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ne=F?M.Buffer:void 0,re=M.Symbol,ie=M.Uint8Array,oe=q(Object.getPrototypeOf,Object),ae=Object.create,se=K.propertyIsEnumerable,le=W.splice,ce=Object.getOwnPropertySymbols,ue=ne?ne.isBuffer:void 0,de=q(Object.keys,Object),pe=Re(M,"DataView"),he=Re(M,"Map"),fe=Re(M,"Promise"),me=Re(M,"Set"),ge=Re(M,"WeakMap"),ve=Re(Object,"create"),ye=Ue(pe),Ae=Ue(he),be=Ue(fe),we=Ue(me),xe=Ue(ge),Ce=re?re.prototype:void 0,Se=Ce?Ce.valueOf:void 0;function ke(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Ee(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Ie(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function _e(e){this.__data__=new Ee(e)}function Pe(e,t){var n=Ge(e)||function(e){return function(e){return function(e){return!!e&&"object"==typeof e}(e)&&qe(e)}(e)&&$.call(e,"callee")&&(!se.call(e,"callee")||ee.call(e)==o)}(e)?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],r=n.length,i=!!r;for(var a in e)!t&&!$.call(e,a)||i&&("length"==a||ze(a,r))||n.push(a);return n}function Oe(e,t,n){var r=e[t];$.call(e,t)&&Ve(r,n)&&(void 0!==n||t in e)||(e[t]=n)}function Te(e,t){for(var n=e.length;n--;)if(Ve(e[n][0],t))return n;return-1}function De(e,t,n,r,i,h,y){var T;if(r&&(T=h?r(e,i,h,y):r(e)),void 0!==T)return T;if(!Ye(e))return e;var D=Ge(e);if(D){if(T=function(e){var t=e.length,n=e.constructor(t);t&&"string"==typeof e[0]&&$.call(e,"index")&&(n.index=e.index,n.input=e.input);return n}(e),!t)return function(e,t){var n=-1,r=e.length;t||(t=Array(r));for(;++n<r;)t[n]=e[n];return t}(e,T)}else{var B=Fe(e),N=B==l||B==c;if(He(e))return function(e,t){if(t)return e.slice();var n=new e.constructor(e.length);return e.copy(n),n}(e,t);if(B==p||B==o||N&&!h){if(V(e))return h?e:{};if(T=function(e){return"function"!=typeof e.constructor||Qe(e)?{}:(t=oe(e),Ye(t)?ae(t):{});var t}(N?{}:e),!t)return function(e,t){return Ne(e,Le(e),t)}(e,function(e,t){return e&&Ne(t,Ke(t),e)}(T,e))}else{if(!j[B])return h?e:{};T=function(e,t,n,r){var i=e.constructor;switch(t){case A:return Be(e);case a:case s:return new i(+e);case b:return function(e,t){var n=t?Be(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,r);case w:case x:case C:case S:case k:case E:case I:case _:case P:return function(e,t){var n=t?Be(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}(e,r);case u:return function(e,t,n){var r=t?n(G(e),!0):G(e);return U(r,z,new e.constructor)}(e,r,n);case d:case g:return new i(e);case f:return function(e){var t=new e.constructor(e.source,O.exec(e));return t.lastIndex=e.lastIndex,t}(e);case m:return function(e,t,n){var r=t?n(H(e),!0):H(e);return U(r,Q,new e.constructor)}(e,r,n);case v:return o=e,Se?Object(Se.call(o)):{}}var o}(e,B,De,t)}}y||(y=new _e);var M=y.get(e);if(M)return M;if(y.set(e,T),!D)var R=n?function(e){return function(e,t,n){var r=t(e);return Ge(e)?r:function(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}(r,n(e))}(e,Ke,Le)}(e):Ke(e);return function(e,t){for(var n=-1,r=e?e.length:0;++n<r&&!1!==t(e[n],n,e););}(R||e,(function(i,o){R&&(i=e[o=i]),Oe(T,o,De(i,t,n,r,o,e,y))})),T}function je(e){return!(!Ye(e)||(t=e,X&&X in t))&&(We(e)||V(e)?te:T).test(Ue(e));var t}function Be(e){var t=new e.constructor(e.byteLength);return new ie(t).set(new ie(e)),t}function Ne(e,t,n,r){n||(n={});for(var i=-1,o=t.length;++i<o;){var a=t[i],s=r?r(n[a],e[a],a,n,e):void 0;Oe(n,a,void 0===s?e[a]:s)}return n}function Me(e,t){var n=e.__data__;return function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}(t)?n["string"==typeof t?"string":"hash"]:n.map}function Re(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return je(n)?n:void 0}ke.prototype.clear=function(){this.__data__=ve?ve(null):{}},ke.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},ke.prototype.get=function(e){var t=this.__data__;if(ve){var n=t[e];return n===r?void 0:n}return $.call(t,e)?t[e]:void 0},ke.prototype.has=function(e){var t=this.__data__;return ve?void 0!==t[e]:$.call(t,e)},ke.prototype.set=function(e,t){return this.__data__[e]=ve&&void 0===t?r:t,this},Ee.prototype.clear=function(){this.__data__=[]},Ee.prototype.delete=function(e){var t=this.__data__,n=Te(t,e);return!(n<0)&&(n==t.length-1?t.pop():le.call(t,n,1),!0)},Ee.prototype.get=function(e){var t=this.__data__,n=Te(t,e);return n<0?void 0:t[n][1]},Ee.prototype.has=function(e){return Te(this.__data__,e)>-1},Ee.prototype.set=function(e,t){var n=this.__data__,r=Te(n,e);return r<0?n.push([e,t]):n[r][1]=t,this},Ie.prototype.clear=function(){this.__data__={hash:new ke,map:new(he||Ee),string:new ke}},Ie.prototype.delete=function(e){return Me(this,e).delete(e)},Ie.prototype.get=function(e){return Me(this,e).get(e)},Ie.prototype.has=function(e){return Me(this,e).has(e)},Ie.prototype.set=function(e,t){return Me(this,e).set(e,t),this},_e.prototype.clear=function(){this.__data__=new Ee},_e.prototype.delete=function(e){return this.__data__.delete(e)},_e.prototype.get=function(e){return this.__data__.get(e)},_e.prototype.has=function(e){return this.__data__.has(e)},_e.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Ee){var r=n.__data__;if(!he||r.length<199)return r.push([e,t]),this;n=this.__data__=new Ie(r)}return n.set(e,t),this};var Le=ce?q(ce,Object):function(){return[]},Fe=function(e){return ee.call(e)};function ze(e,t){return!!(t=null==t?i:t)&&("number"==typeof e||D.test(e))&&e>-1&&e%1==0&&e<t}function Qe(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||K)}function Ue(e){if(null!=e){try{return Z.call(e)}catch(t){}try{return e+""}catch(t){}}return""}function Ve(e,t){return e===t||e!==e&&t!==t}(pe&&Fe(new pe(new ArrayBuffer(1)))!=b||he&&Fe(new he)!=u||fe&&Fe(fe.resolve())!=h||me&&Fe(new me)!=m||ge&&Fe(new ge)!=y)&&(Fe=function(e){var t=ee.call(e),n=t==p?e.constructor:void 0,r=n?Ue(n):void 0;if(r)switch(r){case ye:return b;case Ae:return u;case be:return h;case we:return m;case xe:return y}return t});var Ge=Array.isArray;function qe(e){return null!=e&&function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=i}(e.length)&&!We(e)}var He=ue||function(){return!1};function We(e){var t=Ye(e)?ee.call(e):"";return t==l||t==c}function Ye(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function Ke(e){return qe(e)?Pe(e):function(e){if(!Qe(e))return de(e);var t=[];for(var n in Object(e))$.call(e,n)&&"constructor"!=n&&t.push(n);return t}(e)}e.exports=function(e){return De(e,!0,!0)}},64267:(e,t,n)=>{var r=/^\s+|\s+$/g,i=/^[-+]0x[0-9a-f]+$/i,o=/^0b[01]+$/i,a=/^0o[0-7]+$/i,s=parseInt,l="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,c="object"==typeof self&&self&&self.Object===Object&&self,u=l||c||Function("return this")(),d=Object.prototype.toString,p=Math.max,h=Math.min,f=function(){return u.Date.now()};function m(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function g(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==d.call(e)}(e))return NaN;if(m(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=m(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(r,"");var n=o.test(e);return n||a.test(e)?s(e.slice(2),n?2:8):i.test(e)?NaN:+e}e.exports=function(e,t,n){var r,i,o,a,s,l,c=0,u=!1,d=!1,v=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function y(t){var n=r,o=i;return r=i=void 0,c=t,a=e.apply(o,n)}function A(e){var n=e-l;return void 0===l||n>=t||n<0||d&&e-c>=o}function b(){var e=f();if(A(e))return w(e);s=setTimeout(b,function(e){var n=t-(e-l);return d?h(n,o-(e-c)):n}(e))}function w(e){return s=void 0,v&&r?y(e):(r=i=void 0,a)}function x(){var e=f(),n=A(e);if(r=arguments,i=this,l=e,n){if(void 0===s)return function(e){return c=e,s=setTimeout(b,t),u?y(e):a}(l);if(d)return s=setTimeout(b,t),y(l)}return void 0===s&&(s=setTimeout(b,t)),a}return t=g(t)||0,m(n)&&(u=!!n.leading,o=(d="maxWait"in n)?p(g(n.maxWait)||0,t):o,v="trailing"in n?!!n.trailing:v),x.cancel=function(){void 0!==s&&clearTimeout(s),c=0,r=l=i=s=void 0},x.flush=function(){return void 0===s?a:w(f())},x}},1474:(e,t,n)=>{var r="[object Symbol]",i="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,o="object"==typeof self&&self&&self.Object===Object&&self,a=i||o||Function("return this")(),s=Object.prototype,l=0,c=s.toString,u=a.Symbol,d=u?u.prototype:void 0,p=d?d.toString:void 0;function h(e){if("string"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&c.call(e)==r}(e))return p?p.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}e.exports=function(e){var t=++l;return function(e){return null==e?"":h(e)}(e)+t}},41397:function(e,t,n){var r;e=n.nmd(e),function(){var i,o="Expected a function",a="__lodash_hash_undefined__",s="__lodash_placeholder__",l=16,c=32,u=64,d=128,p=256,h=1/0,f=9007199254740991,m=NaN,g=4294967295,v=[["ary",d],["bind",1],["bindKey",2],["curry",8],["curryRight",l],["flip",512],["partial",c],["partialRight",u],["rearg",p]],y="[object Arguments]",A="[object Array]",b="[object Boolean]",w="[object Date]",x="[object Error]",C="[object Function]",S="[object GeneratorFunction]",k="[object Map]",E="[object Number]",I="[object Object]",_="[object Promise]",P="[object RegExp]",O="[object Set]",T="[object String]",D="[object Symbol]",j="[object WeakMap]",B="[object ArrayBuffer]",N="[object DataView]",M="[object Float32Array]",R="[object Float64Array]",L="[object Int8Array]",F="[object Int16Array]",z="[object Int32Array]",Q="[object Uint8Array]",U="[object Uint8ClampedArray]",V="[object Uint16Array]",G="[object Uint32Array]",q=/\b__p \+= '';/g,H=/\b(__p \+=) '' \+/g,W=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Y=/&(?:amp|lt|gt|quot|#39);/g,K=/[&<>"']/g,J=RegExp(Y.source),X=RegExp(K.source),Z=/<%-([\s\S]+?)%>/g,$=/<%([\s\S]+?)%>/g,ee=/<%=([\s\S]+?)%>/g,te=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ne=/^\w*$/,re=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ie=/[\\^$.*+?()[\]{}|]/g,oe=RegExp(ie.source),ae=/^\s+/,se=/\s/,le=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ce=/\{\n\/\* \[wrapped with (.+)\] \*/,ue=/,? & /,de=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,pe=/[()=,{}\[\]\/\s]/,he=/\\(\\)?/g,fe=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,me=/\w*$/,ge=/^[-+]0x[0-9a-f]+$/i,ve=/^0b[01]+$/i,ye=/^\[object .+?Constructor\]$/,Ae=/^0o[0-7]+$/i,be=/^(?:0|[1-9]\d*)$/,we=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,xe=/($^)/,Ce=/['\n\r\u2028\u2029\\]/g,Se="\\ud800-\\udfff",ke="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Ee="\\u2700-\\u27bf",Ie="a-z\\xdf-\\xf6\\xf8-\\xff",_e="A-Z\\xc0-\\xd6\\xd8-\\xde",Pe="\\ufe0e\\ufe0f",Oe="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Te="['\u2019]",De="["+Se+"]",je="["+Oe+"]",Be="["+ke+"]",Ne="\\d+",Me="["+Ee+"]",Re="["+Ie+"]",Le="[^"+Se+Oe+Ne+Ee+Ie+_e+"]",Fe="\\ud83c[\\udffb-\\udfff]",ze="[^"+Se+"]",Qe="(?:\\ud83c[\\udde6-\\uddff]){2}",Ue="[\\ud800-\\udbff][\\udc00-\\udfff]",Ve="["+_e+"]",Ge="\\u200d",qe="(?:"+Re+"|"+Le+")",He="(?:"+Ve+"|"+Le+")",We="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",Ye="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",Ke="(?:"+Be+"|"+Fe+")"+"?",Je="["+Pe+"]?",Xe=Je+Ke+("(?:"+Ge+"(?:"+[ze,Qe,Ue].join("|")+")"+Je+Ke+")*"),Ze="(?:"+[Me,Qe,Ue].join("|")+")"+Xe,$e="(?:"+[ze+Be+"?",Be,Qe,Ue,De].join("|")+")",et=RegExp(Te,"g"),tt=RegExp(Be,"g"),nt=RegExp(Fe+"(?="+Fe+")|"+$e+Xe,"g"),rt=RegExp([Ve+"?"+Re+"+"+We+"(?="+[je,Ve,"$"].join("|")+")",He+"+"+Ye+"(?="+[je,Ve+qe,"$"].join("|")+")",Ve+"?"+qe+"+"+We,Ve+"+"+Ye,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Ne,Ze].join("|"),"g"),it=RegExp("["+Ge+Se+ke+Pe+"]"),ot=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,at=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],st=-1,lt={};lt[M]=lt[R]=lt[L]=lt[F]=lt[z]=lt[Q]=lt[U]=lt[V]=lt[G]=!0,lt[y]=lt[A]=lt[B]=lt[b]=lt[N]=lt[w]=lt[x]=lt[C]=lt[k]=lt[E]=lt[I]=lt[P]=lt[O]=lt[T]=lt[j]=!1;var ct={};ct[y]=ct[A]=ct[B]=ct[N]=ct[b]=ct[w]=ct[M]=ct[R]=ct[L]=ct[F]=ct[z]=ct[k]=ct[E]=ct[I]=ct[P]=ct[O]=ct[T]=ct[D]=ct[Q]=ct[U]=ct[V]=ct[G]=!0,ct[x]=ct[C]=ct[j]=!1;var ut={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},dt=parseFloat,pt=parseInt,ht="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,ft="object"==typeof self&&self&&self.Object===Object&&self,mt=ht||ft||Function("return this")(),gt=t&&!t.nodeType&&t,vt=gt&&e&&!e.nodeType&&e,yt=vt&&vt.exports===gt,At=yt&&ht.process,bt=function(){try{var e=vt&&vt.require&&vt.require("util").types;return e||At&&At.binding&&At.binding("util")}catch(t){}}(),wt=bt&&bt.isArrayBuffer,xt=bt&&bt.isDate,Ct=bt&&bt.isMap,St=bt&&bt.isRegExp,kt=bt&&bt.isSet,Et=bt&&bt.isTypedArray;function It(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function _t(e,t,n,r){for(var i=-1,o=null==e?0:e.length;++i<o;){var a=e[i];t(r,a,n(a),e)}return r}function Pt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}function Ot(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}function Tt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function Dt(e,t){for(var n=-1,r=null==e?0:e.length,i=0,o=[];++n<r;){var a=e[n];t(a,n,e)&&(o[i++]=a)}return o}function jt(e,t){return!!(null==e?0:e.length)&&Vt(e,t,0)>-1}function Bt(e,t,n){for(var r=-1,i=null==e?0:e.length;++r<i;)if(n(t,e[r]))return!0;return!1}function Nt(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}function Mt(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}function Rt(e,t,n,r){var i=-1,o=null==e?0:e.length;for(r&&o&&(n=e[++i]);++i<o;)n=t(n,e[i],i,e);return n}function Lt(e,t,n,r){var i=null==e?0:e.length;for(r&&i&&(n=e[--i]);i--;)n=t(n,e[i],i,e);return n}function Ft(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}var zt=Wt("length");function Qt(e,t,n){var r;return n(e,(function(e,n,i){if(t(e,n,i))return r=n,!1})),r}function Ut(e,t,n,r){for(var i=e.length,o=n+(r?1:-1);r?o--:++o<i;)if(t(e[o],o,e))return o;return-1}function Vt(e,t,n){return t===t?function(e,t,n){var r=n-1,i=e.length;for(;++r<i;)if(e[r]===t)return r;return-1}(e,t,n):Ut(e,qt,n)}function Gt(e,t,n,r){for(var i=n-1,o=e.length;++i<o;)if(r(e[i],t))return i;return-1}function qt(e){return e!==e}function Ht(e,t){var n=null==e?0:e.length;return n?Jt(e,t)/n:m}function Wt(e){return function(t){return null==t?i:t[e]}}function Yt(e){return function(t){return null==e?i:e[t]}}function Kt(e,t,n,r,i){return i(e,(function(e,i,o){n=r?(r=!1,e):t(n,e,i,o)})),n}function Jt(e,t){for(var n,r=-1,o=e.length;++r<o;){var a=t(e[r]);a!==i&&(n=n===i?a:n+a)}return n}function Xt(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function Zt(e){return e?e.slice(0,gn(e)+1).replace(ae,""):e}function $t(e){return function(t){return e(t)}}function en(e,t){return Nt(t,(function(t){return e[t]}))}function tn(e,t){return e.has(t)}function nn(e,t){for(var n=-1,r=e.length;++n<r&&Vt(t,e[n],0)>-1;);return n}function rn(e,t){for(var n=e.length;n--&&Vt(t,e[n],0)>-1;);return n}var on=Yt({"\xc0":"A","\xc1":"A","\xc2":"A","\xc3":"A","\xc4":"A","\xc5":"A","\xe0":"a","\xe1":"a","\xe2":"a","\xe3":"a","\xe4":"a","\xe5":"a","\xc7":"C","\xe7":"c","\xd0":"D","\xf0":"d","\xc8":"E","\xc9":"E","\xca":"E","\xcb":"E","\xe8":"e","\xe9":"e","\xea":"e","\xeb":"e","\xcc":"I","\xcd":"I","\xce":"I","\xcf":"I","\xec":"i","\xed":"i","\xee":"i","\xef":"i","\xd1":"N","\xf1":"n","\xd2":"O","\xd3":"O","\xd4":"O","\xd5":"O","\xd6":"O","\xd8":"O","\xf2":"o","\xf3":"o","\xf4":"o","\xf5":"o","\xf6":"o","\xf8":"o","\xd9":"U","\xda":"U","\xdb":"U","\xdc":"U","\xf9":"u","\xfa":"u","\xfb":"u","\xfc":"u","\xdd":"Y","\xfd":"y","\xff":"y","\xc6":"Ae","\xe6":"ae","\xde":"Th","\xfe":"th","\xdf":"ss","\u0100":"A","\u0102":"A","\u0104":"A","\u0101":"a","\u0103":"a","\u0105":"a","\u0106":"C","\u0108":"C","\u010a":"C","\u010c":"C","\u0107":"c","\u0109":"c","\u010b":"c","\u010d":"c","\u010e":"D","\u0110":"D","\u010f":"d","\u0111":"d","\u0112":"E","\u0114":"E","\u0116":"E","\u0118":"E","\u011a":"E","\u0113":"e","\u0115":"e","\u0117":"e","\u0119":"e","\u011b":"e","\u011c":"G","\u011e":"G","\u0120":"G","\u0122":"G","\u011d":"g","\u011f":"g","\u0121":"g","\u0123":"g","\u0124":"H","\u0126":"H","\u0125":"h","\u0127":"h","\u0128":"I","\u012a":"I","\u012c":"I","\u012e":"I","\u0130":"I","\u0129":"i","\u012b":"i","\u012d":"i","\u012f":"i","\u0131":"i","\u0134":"J","\u0135":"j","\u0136":"K","\u0137":"k","\u0138":"k","\u0139":"L","\u013b":"L","\u013d":"L","\u013f":"L","\u0141":"L","\u013a":"l","\u013c":"l","\u013e":"l","\u0140":"l","\u0142":"l","\u0143":"N","\u0145":"N","\u0147":"N","\u014a":"N","\u0144":"n","\u0146":"n","\u0148":"n","\u014b":"n","\u014c":"O","\u014e":"O","\u0150":"O","\u014d":"o","\u014f":"o","\u0151":"o","\u0154":"R","\u0156":"R","\u0158":"R","\u0155":"r","\u0157":"r","\u0159":"r","\u015a":"S","\u015c":"S","\u015e":"S","\u0160":"S","\u015b":"s","\u015d":"s","\u015f":"s","\u0161":"s","\u0162":"T","\u0164":"T","\u0166":"T","\u0163":"t","\u0165":"t","\u0167":"t","\u0168":"U","\u016a":"U","\u016c":"U","\u016e":"U","\u0170":"U","\u0172":"U","\u0169":"u","\u016b":"u","\u016d":"u","\u016f":"u","\u0171":"u","\u0173":"u","\u0174":"W","\u0175":"w","\u0176":"Y","\u0177":"y","\u0178":"Y","\u0179":"Z","\u017b":"Z","\u017d":"Z","\u017a":"z","\u017c":"z","\u017e":"z","\u0132":"IJ","\u0133":"ij","\u0152":"Oe","\u0153":"oe","\u0149":"'n","\u017f":"s"}),an=Yt({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function sn(e){return"\\"+ut[e]}function ln(e){return it.test(e)}function cn(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function un(e,t){return function(n){return e(t(n))}}function dn(e,t){for(var n=-1,r=e.length,i=0,o=[];++n<r;){var a=e[n];a!==t&&a!==s||(e[n]=s,o[i++]=n)}return o}function pn(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}function hn(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=[e,e]})),n}function fn(e){return ln(e)?function(e){var t=nt.lastIndex=0;for(;nt.test(e);)++t;return t}(e):zt(e)}function mn(e){return ln(e)?function(e){return e.match(nt)||[]}(e):function(e){return e.split("")}(e)}function gn(e){for(var t=e.length;t--&&se.test(e.charAt(t)););return t}var vn=Yt({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"});var yn=function e(t){var n=(t=null==t?mt:yn.defaults(mt.Object(),t,yn.pick(mt,at))).Array,r=t.Date,se=t.Error,Se=t.Function,ke=t.Math,Ee=t.Object,Ie=t.RegExp,_e=t.String,Pe=t.TypeError,Oe=n.prototype,Te=Se.prototype,De=Ee.prototype,je=t["__core-js_shared__"],Be=Te.toString,Ne=De.hasOwnProperty,Me=0,Re=function(){var e=/[^.]+$/.exec(je&&je.keys&&je.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),Le=De.toString,Fe=Be.call(Ee),ze=mt._,Qe=Ie("^"+Be.call(Ne).replace(ie,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ue=yt?t.Buffer:i,Ve=t.Symbol,Ge=t.Uint8Array,qe=Ue?Ue.allocUnsafe:i,He=un(Ee.getPrototypeOf,Ee),We=Ee.create,Ye=De.propertyIsEnumerable,Ke=Oe.splice,Je=Ve?Ve.isConcatSpreadable:i,Xe=Ve?Ve.iterator:i,Ze=Ve?Ve.toStringTag:i,$e=function(){try{var e=po(Ee,"defineProperty");return e({},"",{}),e}catch(t){}}(),nt=t.clearTimeout!==mt.clearTimeout&&t.clearTimeout,it=r&&r.now!==mt.Date.now&&r.now,ut=t.setTimeout!==mt.setTimeout&&t.setTimeout,ht=ke.ceil,ft=ke.floor,gt=Ee.getOwnPropertySymbols,vt=Ue?Ue.isBuffer:i,At=t.isFinite,bt=Oe.join,zt=un(Ee.keys,Ee),Yt=ke.max,An=ke.min,bn=r.now,wn=t.parseInt,xn=ke.random,Cn=Oe.reverse,Sn=po(t,"DataView"),kn=po(t,"Map"),En=po(t,"Promise"),In=po(t,"Set"),_n=po(t,"WeakMap"),Pn=po(Ee,"create"),On=_n&&new _n,Tn={},Dn=Lo(Sn),jn=Lo(kn),Bn=Lo(En),Nn=Lo(In),Mn=Lo(_n),Rn=Ve?Ve.prototype:i,Ln=Rn?Rn.valueOf:i,Fn=Rn?Rn.toString:i;function zn(e){if(ts(e)&&!Ga(e)&&!(e instanceof Gn)){if(e instanceof Vn)return e;if(Ne.call(e,"__wrapped__"))return Fo(e)}return new Vn(e)}var Qn=function(){function e(){}return function(t){if(!es(t))return{};if(We)return We(t);e.prototype=t;var n=new e;return e.prototype=i,n}}();function Un(){}function Vn(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=i}function Gn(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=g,this.__views__=[]}function qn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Hn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Wn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Yn(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new Wn;++t<n;)this.add(e[t])}function Kn(e){var t=this.__data__=new Hn(e);this.size=t.size}function Jn(e,t){var n=Ga(e),r=!n&&Va(e),i=!n&&!r&&Ya(e),o=!n&&!r&&!i&&cs(e),a=n||r||i||o,s=a?Xt(e.length,_e):[],l=s.length;for(var c in e)!t&&!Ne.call(e,c)||a&&("length"==c||i&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||Ao(c,l))||s.push(c);return s}function Xn(e){var t=e.length;return t?e[Yr(0,t-1)]:i}function Zn(e,t){return No(Pi(e),sr(t,0,e.length))}function $n(e){return No(Pi(e))}function er(e,t,n){(n!==i&&!za(e[t],n)||n===i&&!(t in e))&&or(e,t,n)}function tr(e,t,n){var r=e[t];Ne.call(e,t)&&za(r,n)&&(n!==i||t in e)||or(e,t,n)}function nr(e,t){for(var n=e.length;n--;)if(za(e[n][0],t))return n;return-1}function rr(e,t,n,r){return pr(e,(function(e,i,o){t(r,e,n(e),o)})),r}function ir(e,t){return e&&Oi(t,Ts(t),e)}function or(e,t,n){"__proto__"==t&&$e?$e(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function ar(e,t){for(var r=-1,o=t.length,a=n(o),s=null==e;++r<o;)a[r]=s?i:Es(e,t[r]);return a}function sr(e,t,n){return e===e&&(n!==i&&(e=e<=n?e:n),t!==i&&(e=e>=t?e:t)),e}function lr(e,t,n,r,o,a){var s,l=1&t,c=2&t,u=4&t;if(n&&(s=o?n(e,r,o,a):n(e)),s!==i)return s;if(!es(e))return e;var d=Ga(e);if(d){if(s=function(e){var t=e.length,n=new e.constructor(t);t&&"string"==typeof e[0]&&Ne.call(e,"index")&&(n.index=e.index,n.input=e.input);return n}(e),!l)return Pi(e,s)}else{var p=mo(e),h=p==C||p==S;if(Ya(e))return Ci(e,l);if(p==I||p==y||h&&!o){if(s=c||h?{}:vo(e),!l)return c?function(e,t){return Oi(e,fo(e),t)}(e,function(e,t){return e&&Oi(t,Ds(t),e)}(s,e)):function(e,t){return Oi(e,ho(e),t)}(e,ir(s,e))}else{if(!ct[p])return o?e:{};s=function(e,t,n){var r=e.constructor;switch(t){case B:return Si(e);case b:case w:return new r(+e);case N:return function(e,t){var n=t?Si(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case M:case R:case L:case F:case z:case Q:case U:case V:case G:return ki(e,n);case k:return new r;case E:case T:return new r(e);case P:return function(e){var t=new e.constructor(e.source,me.exec(e));return t.lastIndex=e.lastIndex,t}(e);case O:return new r;case D:return i=e,Ln?Ee(Ln.call(i)):{}}var i}(e,p,l)}}a||(a=new Kn);var f=a.get(e);if(f)return f;a.set(e,s),as(e)?e.forEach((function(r){s.add(lr(r,t,n,r,e,a))})):ns(e)&&e.forEach((function(r,i){s.set(i,lr(r,t,n,i,e,a))}));var m=d?i:(u?c?io:ro:c?Ds:Ts)(e);return Pt(m||e,(function(r,i){m&&(r=e[i=r]),tr(s,i,lr(r,t,n,i,e,a))})),s}function cr(e,t,n){var r=n.length;if(null==e)return!r;for(e=Ee(e);r--;){var o=n[r],a=t[o],s=e[o];if(s===i&&!(o in e)||!a(s))return!1}return!0}function ur(e,t,n){if("function"!=typeof e)throw new Pe(o);return To((function(){e.apply(i,n)}),t)}function dr(e,t,n,r){var i=-1,o=jt,a=!0,s=e.length,l=[],c=t.length;if(!s)return l;n&&(t=Nt(t,$t(n))),r?(o=Bt,a=!1):t.length>=200&&(o=tn,a=!1,t=new Yn(t));e:for(;++i<s;){var u=e[i],d=null==n?u:n(u);if(u=r||0!==u?u:0,a&&d===d){for(var p=c;p--;)if(t[p]===d)continue e;l.push(u)}else o(t,d,r)||l.push(u)}return l}zn.templateSettings={escape:Z,evaluate:$,interpolate:ee,variable:"",imports:{_:zn}},zn.prototype=Un.prototype,zn.prototype.constructor=zn,Vn.prototype=Qn(Un.prototype),Vn.prototype.constructor=Vn,Gn.prototype=Qn(Un.prototype),Gn.prototype.constructor=Gn,qn.prototype.clear=function(){this.__data__=Pn?Pn(null):{},this.size=0},qn.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},qn.prototype.get=function(e){var t=this.__data__;if(Pn){var n=t[e];return n===a?i:n}return Ne.call(t,e)?t[e]:i},qn.prototype.has=function(e){var t=this.__data__;return Pn?t[e]!==i:Ne.call(t,e)},qn.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Pn&&t===i?a:t,this},Hn.prototype.clear=function(){this.__data__=[],this.size=0},Hn.prototype.delete=function(e){var t=this.__data__,n=nr(t,e);return!(n<0)&&(n==t.length-1?t.pop():Ke.call(t,n,1),--this.size,!0)},Hn.prototype.get=function(e){var t=this.__data__,n=nr(t,e);return n<0?i:t[n][1]},Hn.prototype.has=function(e){return nr(this.__data__,e)>-1},Hn.prototype.set=function(e,t){var n=this.__data__,r=nr(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},Wn.prototype.clear=function(){this.size=0,this.__data__={hash:new qn,map:new(kn||Hn),string:new qn}},Wn.prototype.delete=function(e){var t=co(this,e).delete(e);return this.size-=t?1:0,t},Wn.prototype.get=function(e){return co(this,e).get(e)},Wn.prototype.has=function(e){return co(this,e).has(e)},Wn.prototype.set=function(e,t){var n=co(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},Yn.prototype.add=Yn.prototype.push=function(e){return this.__data__.set(e,a),this},Yn.prototype.has=function(e){return this.__data__.has(e)},Kn.prototype.clear=function(){this.__data__=new Hn,this.size=0},Kn.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Kn.prototype.get=function(e){return this.__data__.get(e)},Kn.prototype.has=function(e){return this.__data__.has(e)},Kn.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Hn){var r=n.__data__;if(!kn||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Wn(r)}return n.set(e,t),this.size=n.size,this};var pr=ji(br),hr=ji(wr,!0);function fr(e,t){var n=!0;return pr(e,(function(e,r,i){return n=!!t(e,r,i)})),n}function mr(e,t,n){for(var r=-1,o=e.length;++r<o;){var a=e[r],s=t(a);if(null!=s&&(l===i?s===s&&!ls(s):n(s,l)))var l=s,c=a}return c}function gr(e,t){var n=[];return pr(e,(function(e,r,i){t(e,r,i)&&n.push(e)})),n}function vr(e,t,n,r,i){var o=-1,a=e.length;for(n||(n=yo),i||(i=[]);++o<a;){var s=e[o];t>0&&n(s)?t>1?vr(s,t-1,n,r,i):Mt(i,s):r||(i[i.length]=s)}return i}var yr=Bi(),Ar=Bi(!0);function br(e,t){return e&&yr(e,t,Ts)}function wr(e,t){return e&&Ar(e,t,Ts)}function xr(e,t){return Dt(t,(function(t){return Xa(e[t])}))}function Cr(e,t){for(var n=0,r=(t=Ai(t,e)).length;null!=e&&n<r;)e=e[Ro(t[n++])];return n&&n==r?e:i}function Sr(e,t,n){var r=t(e);return Ga(e)?r:Mt(r,n(e))}function kr(e){return null==e?e===i?"[object Undefined]":"[object Null]":Ze&&Ze in Ee(e)?function(e){var t=Ne.call(e,Ze),n=e[Ze];try{e[Ze]=i;var r=!0}catch(a){}var o=Le.call(e);r&&(t?e[Ze]=n:delete e[Ze]);return o}(e):function(e){return Le.call(e)}(e)}function Er(e,t){return e>t}function Ir(e,t){return null!=e&&Ne.call(e,t)}function _r(e,t){return null!=e&&t in Ee(e)}function Pr(e,t,r){for(var o=r?Bt:jt,a=e[0].length,s=e.length,l=s,c=n(s),u=1/0,d=[];l--;){var p=e[l];l&&t&&(p=Nt(p,$t(t))),u=An(p.length,u),c[l]=!r&&(t||a>=120&&p.length>=120)?new Yn(l&&p):i}p=e[0];var h=-1,f=c[0];e:for(;++h<a&&d.length<u;){var m=p[h],g=t?t(m):m;if(m=r||0!==m?m:0,!(f?tn(f,g):o(d,g,r))){for(l=s;--l;){var v=c[l];if(!(v?tn(v,g):o(e[l],g,r)))continue e}f&&f.push(g),d.push(m)}}return d}function Or(e,t,n){var r=null==(e=_o(e,t=Ai(t,e)))?e:e[Ro(Jo(t))];return null==r?i:It(r,e,n)}function Tr(e){return ts(e)&&kr(e)==y}function Dr(e,t,n,r,o){return e===t||(null==e||null==t||!ts(e)&&!ts(t)?e!==e&&t!==t:function(e,t,n,r,o,a){var s=Ga(e),l=Ga(t),c=s?A:mo(e),u=l?A:mo(t),d=(c=c==y?I:c)==I,p=(u=u==y?I:u)==I,h=c==u;if(h&&Ya(e)){if(!Ya(t))return!1;s=!0,d=!1}if(h&&!d)return a||(a=new Kn),s||cs(e)?to(e,t,n,r,o,a):function(e,t,n,r,i,o,a){switch(n){case N:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case B:return!(e.byteLength!=t.byteLength||!o(new Ge(e),new Ge(t)));case b:case w:case E:return za(+e,+t);case x:return e.name==t.name&&e.message==t.message;case P:case T:return e==t+"";case k:var s=cn;case O:var l=1&r;if(s||(s=pn),e.size!=t.size&&!l)return!1;var c=a.get(e);if(c)return c==t;r|=2,a.set(e,t);var u=to(s(e),s(t),r,i,o,a);return a.delete(e),u;case D:if(Ln)return Ln.call(e)==Ln.call(t)}return!1}(e,t,c,n,r,o,a);if(!(1&n)){var f=d&&Ne.call(e,"__wrapped__"),m=p&&Ne.call(t,"__wrapped__");if(f||m){var g=f?e.value():e,v=m?t.value():t;return a||(a=new Kn),o(g,v,n,r,a)}}if(!h)return!1;return a||(a=new Kn),function(e,t,n,r,o,a){var s=1&n,l=ro(e),c=l.length,u=ro(t),d=u.length;if(c!=d&&!s)return!1;var p=c;for(;p--;){var h=l[p];if(!(s?h in t:Ne.call(t,h)))return!1}var f=a.get(e),m=a.get(t);if(f&&m)return f==t&&m==e;var g=!0;a.set(e,t),a.set(t,e);var v=s;for(;++p<c;){var y=e[h=l[p]],A=t[h];if(r)var b=s?r(A,y,h,t,e,a):r(y,A,h,e,t,a);if(!(b===i?y===A||o(y,A,n,r,a):b)){g=!1;break}v||(v="constructor"==h)}if(g&&!v){var w=e.constructor,x=t.constructor;w==x||!("constructor"in e)||!("constructor"in t)||"function"==typeof w&&w instanceof w&&"function"==typeof x&&x instanceof x||(g=!1)}return a.delete(e),a.delete(t),g}(e,t,n,r,o,a)}(e,t,n,r,Dr,o))}function jr(e,t,n,r){var o=n.length,a=o,s=!r;if(null==e)return!a;for(e=Ee(e);o--;){var l=n[o];if(s&&l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}for(;++o<a;){var c=(l=n[o])[0],u=e[c],d=l[1];if(s&&l[2]){if(u===i&&!(c in e))return!1}else{var p=new Kn;if(r)var h=r(u,d,c,e,t,p);if(!(h===i?Dr(d,u,3,r,p):h))return!1}}return!0}function Br(e){return!(!es(e)||(t=e,Re&&Re in t))&&(Xa(e)?Qe:ye).test(Lo(e));var t}function Nr(e){return"function"==typeof e?e:null==e?rl:"object"==typeof e?Ga(e)?Qr(e[0],e[1]):zr(e):pl(e)}function Mr(e){if(!So(e))return zt(e);var t=[];for(var n in Ee(e))Ne.call(e,n)&&"constructor"!=n&&t.push(n);return t}function Rr(e){if(!es(e))return function(e){var t=[];if(null!=e)for(var n in Ee(e))t.push(n);return t}(e);var t=So(e),n=[];for(var r in e)("constructor"!=r||!t&&Ne.call(e,r))&&n.push(r);return n}function Lr(e,t){return e<t}function Fr(e,t){var r=-1,i=Ha(e)?n(e.length):[];return pr(e,(function(e,n,o){i[++r]=t(e,n,o)})),i}function zr(e){var t=uo(e);return 1==t.length&&t[0][2]?Eo(t[0][0],t[0][1]):function(n){return n===e||jr(n,e,t)}}function Qr(e,t){return wo(e)&&ko(t)?Eo(Ro(e),t):function(n){var r=Es(n,e);return r===i&&r===t?Is(n,e):Dr(t,r,3)}}function Ur(e,t,n,r,o){e!==t&&yr(t,(function(a,s){if(o||(o=new Kn),es(a))!function(e,t,n,r,o,a,s){var l=Po(e,n),c=Po(t,n),u=s.get(c);if(u)return void er(e,n,u);var d=a?a(l,c,n+"",e,t,s):i,p=d===i;if(p){var h=Ga(c),f=!h&&Ya(c),m=!h&&!f&&cs(c);d=c,h||f||m?Ga(l)?d=l:Wa(l)?d=Pi(l):f?(p=!1,d=Ci(c,!0)):m?(p=!1,d=ki(c,!0)):d=[]:is(c)||Va(c)?(d=l,Va(l)?d=vs(l):es(l)&&!Xa(l)||(d=vo(c))):p=!1}p&&(s.set(c,d),o(d,c,r,a,s),s.delete(c));er(e,n,d)}(e,t,s,n,Ur,r,o);else{var l=r?r(Po(e,s),a,s+"",e,t,o):i;l===i&&(l=a),er(e,s,l)}}),Ds)}function Vr(e,t){var n=e.length;if(n)return Ao(t+=t<0?n:0,n)?e[t]:i}function Gr(e,t,n){t=t.length?Nt(t,(function(e){return Ga(e)?function(t){return Cr(t,1===e.length?e[0]:e)}:e})):[rl];var r=-1;t=Nt(t,$t(lo()));var i=Fr(e,(function(e,n,i){var o=Nt(t,(function(t){return t(e)}));return{criteria:o,index:++r,value:e}}));return function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}(i,(function(e,t){return function(e,t,n){var r=-1,i=e.criteria,o=t.criteria,a=i.length,s=n.length;for(;++r<a;){var l=Ei(i[r],o[r]);if(l)return r>=s?l:l*("desc"==n[r]?-1:1)}return e.index-t.index}(e,t,n)}))}function qr(e,t,n){for(var r=-1,i=t.length,o={};++r<i;){var a=t[r],s=Cr(e,a);n(s,a)&&$r(o,Ai(a,e),s)}return o}function Hr(e,t,n,r){var i=r?Gt:Vt,o=-1,a=t.length,s=e;for(e===t&&(t=Pi(t)),n&&(s=Nt(e,$t(n)));++o<a;)for(var l=0,c=t[o],u=n?n(c):c;(l=i(s,u,l,r))>-1;)s!==e&&Ke.call(s,l,1),Ke.call(e,l,1);return e}function Wr(e,t){for(var n=e?t.length:0,r=n-1;n--;){var i=t[n];if(n==r||i!==o){var o=i;Ao(i)?Ke.call(e,i,1):di(e,i)}}return e}function Yr(e,t){return e+ft(xn()*(t-e+1))}function Kr(e,t){var n="";if(!e||t<1||t>f)return n;do{t%2&&(n+=e),(t=ft(t/2))&&(e+=e)}while(t);return n}function Jr(e,t){return Do(Io(e,t,rl),e+"")}function Xr(e){return Xn(zs(e))}function Zr(e,t){var n=zs(e);return No(n,sr(t,0,n.length))}function $r(e,t,n,r){if(!es(e))return e;for(var o=-1,a=(t=Ai(t,e)).length,s=a-1,l=e;null!=l&&++o<a;){var c=Ro(t[o]),u=n;if("__proto__"===c||"constructor"===c||"prototype"===c)return e;if(o!=s){var d=l[c];(u=r?r(d,c,l):i)===i&&(u=es(d)?d:Ao(t[o+1])?[]:{})}tr(l,c,u),l=l[c]}return e}var ei=On?function(e,t){return On.set(e,t),e}:rl,ti=$e?function(e,t){return $e(e,"toString",{configurable:!0,enumerable:!1,value:el(t),writable:!0})}:rl;function ni(e){return No(zs(e))}function ri(e,t,r){var i=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(r=r>o?o:r)<0&&(r+=o),o=t>r?0:r-t>>>0,t>>>=0;for(var a=n(o);++i<o;)a[i]=e[i+t];return a}function ii(e,t){var n;return pr(e,(function(e,r,i){return!(n=t(e,r,i))})),!!n}function oi(e,t,n){var r=0,i=null==e?r:e.length;if("number"==typeof t&&t===t&&i<=2147483647){for(;r<i;){var o=r+i>>>1,a=e[o];null!==a&&!ls(a)&&(n?a<=t:a<t)?r=o+1:i=o}return i}return ai(e,t,rl,n)}function ai(e,t,n,r){var o=0,a=null==e?0:e.length;if(0===a)return 0;for(var s=(t=n(t))!==t,l=null===t,c=ls(t),u=t===i;o<a;){var d=ft((o+a)/2),p=n(e[d]),h=p!==i,f=null===p,m=p===p,g=ls(p);if(s)var v=r||m;else v=u?m&&(r||h):l?m&&h&&(r||!f):c?m&&h&&!f&&(r||!g):!f&&!g&&(r?p<=t:p<t);v?o=d+1:a=d}return An(a,4294967294)}function si(e,t){for(var n=-1,r=e.length,i=0,o=[];++n<r;){var a=e[n],s=t?t(a):a;if(!n||!za(s,l)){var l=s;o[i++]=0===a?0:a}}return o}function li(e){return"number"==typeof e?e:ls(e)?m:+e}function ci(e){if("string"==typeof e)return e;if(Ga(e))return Nt(e,ci)+"";if(ls(e))return Fn?Fn.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function ui(e,t,n){var r=-1,i=jt,o=e.length,a=!0,s=[],l=s;if(n)a=!1,i=Bt;else if(o>=200){var c=t?null:Ki(e);if(c)return pn(c);a=!1,i=tn,l=new Yn}else l=t?[]:s;e:for(;++r<o;){var u=e[r],d=t?t(u):u;if(u=n||0!==u?u:0,a&&d===d){for(var p=l.length;p--;)if(l[p]===d)continue e;t&&l.push(d),s.push(u)}else i(l,d,n)||(l!==s&&l.push(d),s.push(u))}return s}function di(e,t){return null==(e=_o(e,t=Ai(t,e)))||delete e[Ro(Jo(t))]}function pi(e,t,n,r){return $r(e,t,n(Cr(e,t)),r)}function hi(e,t,n,r){for(var i=e.length,o=r?i:-1;(r?o--:++o<i)&&t(e[o],o,e););return n?ri(e,r?0:o,r?o+1:i):ri(e,r?o+1:0,r?i:o)}function fi(e,t){var n=e;return n instanceof Gn&&(n=n.value()),Rt(t,(function(e,t){return t.func.apply(t.thisArg,Mt([e],t.args))}),n)}function mi(e,t,r){var i=e.length;if(i<2)return i?ui(e[0]):[];for(var o=-1,a=n(i);++o<i;)for(var s=e[o],l=-1;++l<i;)l!=o&&(a[o]=dr(a[o]||s,e[l],t,r));return ui(vr(a,1),t,r)}function gi(e,t,n){for(var r=-1,o=e.length,a=t.length,s={};++r<o;){var l=r<a?t[r]:i;n(s,e[r],l)}return s}function vi(e){return Wa(e)?e:[]}function yi(e){return"function"==typeof e?e:rl}function Ai(e,t){return Ga(e)?e:wo(e,t)?[e]:Mo(ys(e))}var bi=Jr;function wi(e,t,n){var r=e.length;return n=n===i?r:n,!t&&n>=r?e:ri(e,t,n)}var xi=nt||function(e){return mt.clearTimeout(e)};function Ci(e,t){if(t)return e.slice();var n=e.length,r=qe?qe(n):new e.constructor(n);return e.copy(r),r}function Si(e){var t=new e.constructor(e.byteLength);return new Ge(t).set(new Ge(e)),t}function ki(e,t){var n=t?Si(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function Ei(e,t){if(e!==t){var n=e!==i,r=null===e,o=e===e,a=ls(e),s=t!==i,l=null===t,c=t===t,u=ls(t);if(!l&&!u&&!a&&e>t||a&&s&&c&&!l&&!u||r&&s&&c||!n&&c||!o)return 1;if(!r&&!a&&!u&&e<t||u&&n&&o&&!r&&!a||l&&n&&o||!s&&o||!c)return-1}return 0}function Ii(e,t,r,i){for(var o=-1,a=e.length,s=r.length,l=-1,c=t.length,u=Yt(a-s,0),d=n(c+u),p=!i;++l<c;)d[l]=t[l];for(;++o<s;)(p||o<a)&&(d[r[o]]=e[o]);for(;u--;)d[l++]=e[o++];return d}function _i(e,t,r,i){for(var o=-1,a=e.length,s=-1,l=r.length,c=-1,u=t.length,d=Yt(a-l,0),p=n(d+u),h=!i;++o<d;)p[o]=e[o];for(var f=o;++c<u;)p[f+c]=t[c];for(;++s<l;)(h||o<a)&&(p[f+r[s]]=e[o++]);return p}function Pi(e,t){var r=-1,i=e.length;for(t||(t=n(i));++r<i;)t[r]=e[r];return t}function Oi(e,t,n,r){var o=!n;n||(n={});for(var a=-1,s=t.length;++a<s;){var l=t[a],c=r?r(n[l],e[l],l,n,e):i;c===i&&(c=e[l]),o?or(n,l,c):tr(n,l,c)}return n}function Ti(e,t){return function(n,r){var i=Ga(n)?_t:rr,o=t?t():{};return i(n,e,lo(r,2),o)}}function Di(e){return Jr((function(t,n){var r=-1,o=n.length,a=o>1?n[o-1]:i,s=o>2?n[2]:i;for(a=e.length>3&&"function"==typeof a?(o--,a):i,s&&bo(n[0],n[1],s)&&(a=o<3?i:a,o=1),t=Ee(t);++r<o;){var l=n[r];l&&e(t,l,r,a)}return t}))}function ji(e,t){return function(n,r){if(null==n)return n;if(!Ha(n))return e(n,r);for(var i=n.length,o=t?i:-1,a=Ee(n);(t?o--:++o<i)&&!1!==r(a[o],o,a););return n}}function Bi(e){return function(t,n,r){for(var i=-1,o=Ee(t),a=r(t),s=a.length;s--;){var l=a[e?s:++i];if(!1===n(o[l],l,o))break}return t}}function Ni(e){return function(t){var n=ln(t=ys(t))?mn(t):i,r=n?n[0]:t.charAt(0),o=n?wi(n,1).join(""):t.slice(1);return r[e]()+o}}function Mi(e){return function(t){return Rt(Xs(Vs(t).replace(et,"")),e,"")}}function Ri(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=Qn(e.prototype),r=e.apply(n,t);return es(r)?r:n}}function Li(e){return function(t,n,r){var o=Ee(t);if(!Ha(t)){var a=lo(n,3);t=Ts(t),n=function(e){return a(o[e],e,o)}}var s=e(t,n,r);return s>-1?o[a?t[s]:s]:i}}function Fi(e){return no((function(t){var n=t.length,r=n,a=Vn.prototype.thru;for(e&&t.reverse();r--;){var s=t[r];if("function"!=typeof s)throw new Pe(o);if(a&&!l&&"wrapper"==ao(s))var l=new Vn([],!0)}for(r=l?r:n;++r<n;){var c=ao(s=t[r]),u="wrapper"==c?oo(s):i;l=u&&xo(u[0])&&424==u[1]&&!u[4].length&&1==u[9]?l[ao(u[0])].apply(l,u[3]):1==s.length&&xo(s)?l[c]():l.thru(s)}return function(){var e=arguments,r=e[0];if(l&&1==e.length&&Ga(r))return l.plant(r).value();for(var i=0,o=n?t[i].apply(this,e):r;++i<n;)o=t[i].call(this,o);return o}}))}function zi(e,t,r,o,a,s,l,c,u,p){var h=t&d,f=1&t,m=2&t,g=24&t,v=512&t,y=m?i:Ri(e);return function d(){for(var A=arguments.length,b=n(A),w=A;w--;)b[w]=arguments[w];if(g)var x=so(d),C=function(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}(b,x);if(o&&(b=Ii(b,o,a,g)),s&&(b=_i(b,s,l,g)),A-=C,g&&A<p){var S=dn(b,x);return Wi(e,t,zi,d.placeholder,r,b,S,c,u,p-A)}var k=f?r:this,E=m?k[e]:e;return A=b.length,c?b=function(e,t){var n=e.length,r=An(t.length,n),o=Pi(e);for(;r--;){var a=t[r];e[r]=Ao(a,n)?o[a]:i}return e}(b,c):v&&A>1&&b.reverse(),h&&u<A&&(b.length=u),this&&this!==mt&&this instanceof d&&(E=y||Ri(E)),E.apply(k,b)}}function Qi(e,t){return function(n,r){return function(e,t,n,r){return br(e,(function(e,i,o){t(r,n(e),i,o)})),r}(n,e,t(r),{})}}function Ui(e,t){return function(n,r){var o;if(n===i&&r===i)return t;if(n!==i&&(o=n),r!==i){if(o===i)return r;"string"==typeof n||"string"==typeof r?(n=ci(n),r=ci(r)):(n=li(n),r=li(r)),o=e(n,r)}return o}}function Vi(e){return no((function(t){return t=Nt(t,$t(lo())),Jr((function(n){var r=this;return e(t,(function(e){return It(e,r,n)}))}))}))}function Gi(e,t){var n=(t=t===i?" ":ci(t)).length;if(n<2)return n?Kr(t,e):t;var r=Kr(t,ht(e/fn(t)));return ln(t)?wi(mn(r),0,e).join(""):r.slice(0,e)}function qi(e){return function(t,r,o){return o&&"number"!=typeof o&&bo(t,r,o)&&(r=o=i),t=hs(t),r===i?(r=t,t=0):r=hs(r),function(e,t,r,i){for(var o=-1,a=Yt(ht((t-e)/(r||1)),0),s=n(a);a--;)s[i?a:++o]=e,e+=r;return s}(t,r,o=o===i?t<r?1:-1:hs(o),e)}}function Hi(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=gs(t),n=gs(n)),e(t,n)}}function Wi(e,t,n,r,o,a,s,l,d,p){var h=8&t;t|=h?c:u,4&(t&=~(h?u:c))||(t&=-4);var f=[e,t,o,h?a:i,h?s:i,h?i:a,h?i:s,l,d,p],m=n.apply(i,f);return xo(e)&&Oo(m,f),m.placeholder=r,jo(m,e,t)}function Yi(e){var t=ke[e];return function(e,n){if(e=gs(e),(n=null==n?0:An(fs(n),292))&&At(e)){var r=(ys(e)+"e").split("e");return+((r=(ys(t(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return t(e)}}var Ki=In&&1/pn(new In([,-0]))[1]==h?function(e){return new In(e)}:ll;function Ji(e){return function(t){var n=mo(t);return n==k?cn(t):n==O?hn(t):function(e,t){return Nt(t,(function(t){return[t,e[t]]}))}(t,e(t))}}function Xi(e,t,r,a,h,f,m,g){var v=2&t;if(!v&&"function"!=typeof e)throw new Pe(o);var y=a?a.length:0;if(y||(t&=-97,a=h=i),m=m===i?m:Yt(fs(m),0),g=g===i?g:fs(g),y-=h?h.length:0,t&u){var A=a,b=h;a=h=i}var w=v?i:oo(e),x=[e,t,r,a,h,A,b,f,m,g];if(w&&function(e,t){var n=e[1],r=t[1],i=n|r,o=i<131,a=r==d&&8==n||r==d&&n==p&&e[7].length<=t[8]||384==r&&t[7].length<=t[8]&&8==n;if(!o&&!a)return e;1&r&&(e[2]=t[2],i|=1&n?0:4);var l=t[3];if(l){var c=e[3];e[3]=c?Ii(c,l,t[4]):l,e[4]=c?dn(e[3],s):t[4]}(l=t[5])&&(c=e[5],e[5]=c?_i(c,l,t[6]):l,e[6]=c?dn(e[5],s):t[6]);(l=t[7])&&(e[7]=l);r&d&&(e[8]=null==e[8]?t[8]:An(e[8],t[8]));null==e[9]&&(e[9]=t[9]);e[0]=t[0],e[1]=i}(x,w),e=x[0],t=x[1],r=x[2],a=x[3],h=x[4],!(g=x[9]=x[9]===i?v?0:e.length:Yt(x[9]-y,0))&&24&t&&(t&=-25),t&&1!=t)C=8==t||t==l?function(e,t,r){var o=Ri(e);return function a(){for(var s=arguments.length,l=n(s),c=s,u=so(a);c--;)l[c]=arguments[c];var d=s<3&&l[0]!==u&&l[s-1]!==u?[]:dn(l,u);return(s-=d.length)<r?Wi(e,t,zi,a.placeholder,i,l,d,i,i,r-s):It(this&&this!==mt&&this instanceof a?o:e,this,l)}}(e,t,g):t!=c&&33!=t||h.length?zi.apply(i,x):function(e,t,r,i){var o=1&t,a=Ri(e);return function t(){for(var s=-1,l=arguments.length,c=-1,u=i.length,d=n(u+l),p=this&&this!==mt&&this instanceof t?a:e;++c<u;)d[c]=i[c];for(;l--;)d[c++]=arguments[++s];return It(p,o?r:this,d)}}(e,t,r,a);else var C=function(e,t,n){var r=1&t,i=Ri(e);return function t(){return(this&&this!==mt&&this instanceof t?i:e).apply(r?n:this,arguments)}}(e,t,r);return jo((w?ei:Oo)(C,x),e,t)}function Zi(e,t,n,r){return e===i||za(e,De[n])&&!Ne.call(r,n)?t:e}function $i(e,t,n,r,o,a){return es(e)&&es(t)&&(a.set(t,e),Ur(e,t,i,$i,a),a.delete(t)),e}function eo(e){return is(e)?i:e}function to(e,t,n,r,o,a){var s=1&n,l=e.length,c=t.length;if(l!=c&&!(s&&c>l))return!1;var u=a.get(e),d=a.get(t);if(u&&d)return u==t&&d==e;var p=-1,h=!0,f=2&n?new Yn:i;for(a.set(e,t),a.set(t,e);++p<l;){var m=e[p],g=t[p];if(r)var v=s?r(g,m,p,t,e,a):r(m,g,p,e,t,a);if(v!==i){if(v)continue;h=!1;break}if(f){if(!Ft(t,(function(e,t){if(!tn(f,t)&&(m===e||o(m,e,n,r,a)))return f.push(t)}))){h=!1;break}}else if(m!==g&&!o(m,g,n,r,a)){h=!1;break}}return a.delete(e),a.delete(t),h}function no(e){return Do(Io(e,i,qo),e+"")}function ro(e){return Sr(e,Ts,ho)}function io(e){return Sr(e,Ds,fo)}var oo=On?function(e){return On.get(e)}:ll;function ao(e){for(var t=e.name+"",n=Tn[t],r=Ne.call(Tn,t)?n.length:0;r--;){var i=n[r],o=i.func;if(null==o||o==e)return i.name}return t}function so(e){return(Ne.call(zn,"placeholder")?zn:e).placeholder}function lo(){var e=zn.iteratee||il;return e=e===il?Nr:e,arguments.length?e(arguments[0],arguments[1]):e}function co(e,t){var n=e.__data__;return function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}(t)?n["string"==typeof t?"string":"hash"]:n.map}function uo(e){for(var t=Ts(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,ko(i)]}return t}function po(e,t){var n=function(e,t){return null==e?i:e[t]}(e,t);return Br(n)?n:i}var ho=gt?function(e){return null==e?[]:(e=Ee(e),Dt(gt(e),(function(t){return Ye.call(e,t)})))}:ml,fo=gt?function(e){for(var t=[];e;)Mt(t,ho(e)),e=He(e);return t}:ml,mo=kr;function go(e,t,n){for(var r=-1,i=(t=Ai(t,e)).length,o=!1;++r<i;){var a=Ro(t[r]);if(!(o=null!=e&&n(e,a)))break;e=e[a]}return o||++r!=i?o:!!(i=null==e?0:e.length)&&$a(i)&&Ao(a,i)&&(Ga(e)||Va(e))}function vo(e){return"function"!=typeof e.constructor||So(e)?{}:Qn(He(e))}function yo(e){return Ga(e)||Va(e)||!!(Je&&e&&e[Je])}function Ao(e,t){var n=typeof e;return!!(t=null==t?f:t)&&("number"==n||"symbol"!=n&&be.test(e))&&e>-1&&e%1==0&&e<t}function bo(e,t,n){if(!es(n))return!1;var r=typeof t;return!!("number"==r?Ha(n)&&Ao(t,n.length):"string"==r&&t in n)&&za(n[t],e)}function wo(e,t){if(Ga(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!ls(e))||(ne.test(e)||!te.test(e)||null!=t&&e in Ee(t))}function xo(e){var t=ao(e),n=zn[t];if("function"!=typeof n||!(t in Gn.prototype))return!1;if(e===n)return!0;var r=oo(n);return!!r&&e===r[0]}(Sn&&mo(new Sn(new ArrayBuffer(1)))!=N||kn&&mo(new kn)!=k||En&&mo(En.resolve())!=_||In&&mo(new In)!=O||_n&&mo(new _n)!=j)&&(mo=function(e){var t=kr(e),n=t==I?e.constructor:i,r=n?Lo(n):"";if(r)switch(r){case Dn:return N;case jn:return k;case Bn:return _;case Nn:return O;case Mn:return j}return t});var Co=je?Xa:gl;function So(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||De)}function ko(e){return e===e&&!es(e)}function Eo(e,t){return function(n){return null!=n&&(n[e]===t&&(t!==i||e in Ee(n)))}}function Io(e,t,r){return t=Yt(t===i?e.length-1:t,0),function(){for(var i=arguments,o=-1,a=Yt(i.length-t,0),s=n(a);++o<a;)s[o]=i[t+o];o=-1;for(var l=n(t+1);++o<t;)l[o]=i[o];return l[t]=r(s),It(e,this,l)}}function _o(e,t){return t.length<2?e:Cr(e,ri(t,0,-1))}function Po(e,t){if(("constructor"!==t||"function"!==typeof e[t])&&"__proto__"!=t)return e[t]}var Oo=Bo(ei),To=ut||function(e,t){return mt.setTimeout(e,t)},Do=Bo(ti);function jo(e,t,n){var r=t+"";return Do(e,function(e,t){var n=t.length;if(!n)return e;var r=n-1;return t[r]=(n>1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(le,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return Pt(v,(function(n){var r="_."+n[0];t&n[1]&&!jt(e,r)&&e.push(r)})),e.sort()}(function(e){var t=e.match(ce);return t?t[1].split(ue):[]}(r),n)))}function Bo(e){var t=0,n=0;return function(){var r=bn(),o=16-(r-n);if(n=r,o>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(i,arguments)}}function No(e,t){var n=-1,r=e.length,o=r-1;for(t=t===i?r:t;++n<t;){var a=Yr(n,o),s=e[a];e[a]=e[n],e[n]=s}return e.length=t,e}var Mo=function(e){var t=Ba(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(re,(function(e,n,r,i){t.push(r?i.replace(he,"$1"):n||e)})),t}));function Ro(e){if("string"==typeof e||ls(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function Lo(e){if(null!=e){try{return Be.call(e)}catch(t){}try{return e+""}catch(t){}}return""}function Fo(e){if(e instanceof Gn)return e.clone();var t=new Vn(e.__wrapped__,e.__chain__);return t.__actions__=Pi(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var zo=Jr((function(e,t){return Wa(e)?dr(e,vr(t,1,Wa,!0)):[]})),Qo=Jr((function(e,t){var n=Jo(t);return Wa(n)&&(n=i),Wa(e)?dr(e,vr(t,1,Wa,!0),lo(n,2)):[]})),Uo=Jr((function(e,t){var n=Jo(t);return Wa(n)&&(n=i),Wa(e)?dr(e,vr(t,1,Wa,!0),i,n):[]}));function Vo(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=null==n?0:fs(n);return i<0&&(i=Yt(r+i,0)),Ut(e,lo(t,3),i)}function Go(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=r-1;return n!==i&&(o=fs(n),o=n<0?Yt(r+o,0):An(o,r-1)),Ut(e,lo(t,3),o,!0)}function qo(e){return(null==e?0:e.length)?vr(e,1):[]}function Ho(e){return e&&e.length?e[0]:i}var Wo=Jr((function(e){var t=Nt(e,vi);return t.length&&t[0]===e[0]?Pr(t):[]})),Yo=Jr((function(e){var t=Jo(e),n=Nt(e,vi);return t===Jo(n)?t=i:n.pop(),n.length&&n[0]===e[0]?Pr(n,lo(t,2)):[]})),Ko=Jr((function(e){var t=Jo(e),n=Nt(e,vi);return(t="function"==typeof t?t:i)&&n.pop(),n.length&&n[0]===e[0]?Pr(n,i,t):[]}));function Jo(e){var t=null==e?0:e.length;return t?e[t-1]:i}var Xo=Jr(Zo);function Zo(e,t){return e&&e.length&&t&&t.length?Hr(e,t):e}var $o=no((function(e,t){var n=null==e?0:e.length,r=ar(e,t);return Wr(e,Nt(t,(function(e){return Ao(e,n)?+e:e})).sort(Ei)),r}));function ea(e){return null==e?e:Cn.call(e)}var ta=Jr((function(e){return ui(vr(e,1,Wa,!0))})),na=Jr((function(e){var t=Jo(e);return Wa(t)&&(t=i),ui(vr(e,1,Wa,!0),lo(t,2))})),ra=Jr((function(e){var t=Jo(e);return t="function"==typeof t?t:i,ui(vr(e,1,Wa,!0),i,t)}));function ia(e){if(!e||!e.length)return[];var t=0;return e=Dt(e,(function(e){if(Wa(e))return t=Yt(e.length,t),!0})),Xt(t,(function(t){return Nt(e,Wt(t))}))}function oa(e,t){if(!e||!e.length)return[];var n=ia(e);return null==t?n:Nt(n,(function(e){return It(t,i,e)}))}var aa=Jr((function(e,t){return Wa(e)?dr(e,t):[]})),sa=Jr((function(e){return mi(Dt(e,Wa))})),la=Jr((function(e){var t=Jo(e);return Wa(t)&&(t=i),mi(Dt(e,Wa),lo(t,2))})),ca=Jr((function(e){var t=Jo(e);return t="function"==typeof t?t:i,mi(Dt(e,Wa),i,t)})),ua=Jr(ia);var da=Jr((function(e){var t=e.length,n=t>1?e[t-1]:i;return n="function"==typeof n?(e.pop(),n):i,oa(e,n)}));function pa(e){var t=zn(e);return t.__chain__=!0,t}function ha(e,t){return t(e)}var fa=no((function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,o=function(t){return ar(t,e)};return!(t>1||this.__actions__.length)&&r instanceof Gn&&Ao(n)?((r=r.slice(n,+n+(t?1:0))).__actions__.push({func:ha,args:[o],thisArg:i}),new Vn(r,this.__chain__).thru((function(e){return t&&!e.length&&e.push(i),e}))):this.thru(o)}));var ma=Ti((function(e,t,n){Ne.call(e,n)?++e[n]:or(e,n,1)}));var ga=Li(Vo),va=Li(Go);function ya(e,t){return(Ga(e)?Pt:pr)(e,lo(t,3))}function Aa(e,t){return(Ga(e)?Ot:hr)(e,lo(t,3))}var ba=Ti((function(e,t,n){Ne.call(e,n)?e[n].push(t):or(e,n,[t])}));var wa=Jr((function(e,t,r){var i=-1,o="function"==typeof t,a=Ha(e)?n(e.length):[];return pr(e,(function(e){a[++i]=o?It(t,e,r):Or(e,t,r)})),a})),xa=Ti((function(e,t,n){or(e,n,t)}));function Ca(e,t){return(Ga(e)?Nt:Fr)(e,lo(t,3))}var Sa=Ti((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]}));var ka=Jr((function(e,t){if(null==e)return[];var n=t.length;return n>1&&bo(e,t[0],t[1])?t=[]:n>2&&bo(t[0],t[1],t[2])&&(t=[t[0]]),Gr(e,vr(t,1),[])})),Ea=it||function(){return mt.Date.now()};function Ia(e,t,n){return t=n?i:t,t=e&&null==t?e.length:t,Xi(e,d,i,i,i,i,t)}function _a(e,t){var n;if("function"!=typeof t)throw new Pe(o);return e=fs(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=i),n}}var Pa=Jr((function(e,t,n){var r=1;if(n.length){var i=dn(n,so(Pa));r|=c}return Xi(e,r,t,n,i)})),Oa=Jr((function(e,t,n){var r=3;if(n.length){var i=dn(n,so(Oa));r|=c}return Xi(t,r,e,n,i)}));function Ta(e,t,n){var r,a,s,l,c,u,d=0,p=!1,h=!1,f=!0;if("function"!=typeof e)throw new Pe(o);function m(t){var n=r,o=a;return r=a=i,d=t,l=e.apply(o,n)}function g(e){var n=e-u;return u===i||n>=t||n<0||h&&e-d>=s}function v(){var e=Ea();if(g(e))return y(e);c=To(v,function(e){var n=t-(e-u);return h?An(n,s-(e-d)):n}(e))}function y(e){return c=i,f&&r?m(e):(r=a=i,l)}function A(){var e=Ea(),n=g(e);if(r=arguments,a=this,u=e,n){if(c===i)return function(e){return d=e,c=To(v,t),p?m(e):l}(u);if(h)return xi(c),c=To(v,t),m(u)}return c===i&&(c=To(v,t)),l}return t=gs(t)||0,es(n)&&(p=!!n.leading,s=(h="maxWait"in n)?Yt(gs(n.maxWait)||0,t):s,f="trailing"in n?!!n.trailing:f),A.cancel=function(){c!==i&&xi(c),d=0,r=u=a=c=i},A.flush=function(){return c===i?l:y(Ea())},A}var Da=Jr((function(e,t){return ur(e,1,t)})),ja=Jr((function(e,t,n){return ur(e,gs(t)||0,n)}));function Ba(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new Pe(o);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(Ba.Cache||Wn),n}function Na(e){if("function"!=typeof e)throw new Pe(o);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}Ba.Cache=Wn;var Ma=bi((function(e,t){var n=(t=1==t.length&&Ga(t[0])?Nt(t[0],$t(lo())):Nt(vr(t,1),$t(lo()))).length;return Jr((function(r){for(var i=-1,o=An(r.length,n);++i<o;)r[i]=t[i].call(this,r[i]);return It(e,this,r)}))})),Ra=Jr((function(e,t){var n=dn(t,so(Ra));return Xi(e,c,i,t,n)})),La=Jr((function(e,t){var n=dn(t,so(La));return Xi(e,u,i,t,n)})),Fa=no((function(e,t){return Xi(e,p,i,i,i,t)}));function za(e,t){return e===t||e!==e&&t!==t}var Qa=Hi(Er),Ua=Hi((function(e,t){return e>=t})),Va=Tr(function(){return arguments}())?Tr:function(e){return ts(e)&&Ne.call(e,"callee")&&!Ye.call(e,"callee")},Ga=n.isArray,qa=wt?$t(wt):function(e){return ts(e)&&kr(e)==B};function Ha(e){return null!=e&&$a(e.length)&&!Xa(e)}function Wa(e){return ts(e)&&Ha(e)}var Ya=vt||gl,Ka=xt?$t(xt):function(e){return ts(e)&&kr(e)==w};function Ja(e){if(!ts(e))return!1;var t=kr(e);return t==x||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!is(e)}function Xa(e){if(!es(e))return!1;var t=kr(e);return t==C||t==S||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Za(e){return"number"==typeof e&&e==fs(e)}function $a(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=f}function es(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function ts(e){return null!=e&&"object"==typeof e}var ns=Ct?$t(Ct):function(e){return ts(e)&&mo(e)==k};function rs(e){return"number"==typeof e||ts(e)&&kr(e)==E}function is(e){if(!ts(e)||kr(e)!=I)return!1;var t=He(e);if(null===t)return!0;var n=Ne.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Be.call(n)==Fe}var os=St?$t(St):function(e){return ts(e)&&kr(e)==P};var as=kt?$t(kt):function(e){return ts(e)&&mo(e)==O};function ss(e){return"string"==typeof e||!Ga(e)&&ts(e)&&kr(e)==T}function ls(e){return"symbol"==typeof e||ts(e)&&kr(e)==D}var cs=Et?$t(Et):function(e){return ts(e)&&$a(e.length)&&!!lt[kr(e)]};var us=Hi(Lr),ds=Hi((function(e,t){return e<=t}));function ps(e){if(!e)return[];if(Ha(e))return ss(e)?mn(e):Pi(e);if(Xe&&e[Xe])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[Xe]());var t=mo(e);return(t==k?cn:t==O?pn:zs)(e)}function hs(e){return e?(e=gs(e))===h||e===-1/0?17976931348623157e292*(e<0?-1:1):e===e?e:0:0===e?e:0}function fs(e){var t=hs(e),n=t%1;return t===t?n?t-n:t:0}function ms(e){return e?sr(fs(e),0,g):0}function gs(e){if("number"==typeof e)return e;if(ls(e))return m;if(es(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=es(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Zt(e);var n=ve.test(e);return n||Ae.test(e)?pt(e.slice(2),n?2:8):ge.test(e)?m:+e}function vs(e){return Oi(e,Ds(e))}function ys(e){return null==e?"":ci(e)}var As=Di((function(e,t){if(So(t)||Ha(t))Oi(t,Ts(t),e);else for(var n in t)Ne.call(t,n)&&tr(e,n,t[n])})),bs=Di((function(e,t){Oi(t,Ds(t),e)})),ws=Di((function(e,t,n,r){Oi(t,Ds(t),e,r)})),xs=Di((function(e,t,n,r){Oi(t,Ts(t),e,r)})),Cs=no(ar);var Ss=Jr((function(e,t){e=Ee(e);var n=-1,r=t.length,o=r>2?t[2]:i;for(o&&bo(t[0],t[1],o)&&(r=1);++n<r;)for(var a=t[n],s=Ds(a),l=-1,c=s.length;++l<c;){var u=s[l],d=e[u];(d===i||za(d,De[u])&&!Ne.call(e,u))&&(e[u]=a[u])}return e})),ks=Jr((function(e){return e.push(i,$i),It(Bs,i,e)}));function Es(e,t,n){var r=null==e?i:Cr(e,t);return r===i?n:r}function Is(e,t){return null!=e&&go(e,t,_r)}var _s=Qi((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Le.call(t)),e[t]=n}),el(rl)),Ps=Qi((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Le.call(t)),Ne.call(e,t)?e[t].push(n):e[t]=[n]}),lo),Os=Jr(Or);function Ts(e){return Ha(e)?Jn(e):Mr(e)}function Ds(e){return Ha(e)?Jn(e,!0):Rr(e)}var js=Di((function(e,t,n){Ur(e,t,n)})),Bs=Di((function(e,t,n,r){Ur(e,t,n,r)})),Ns=no((function(e,t){var n={};if(null==e)return n;var r=!1;t=Nt(t,(function(t){return t=Ai(t,e),r||(r=t.length>1),t})),Oi(e,io(e),n),r&&(n=lr(n,7,eo));for(var i=t.length;i--;)di(n,t[i]);return n}));var Ms=no((function(e,t){return null==e?{}:function(e,t){return qr(e,t,(function(t,n){return Is(e,n)}))}(e,t)}));function Rs(e,t){if(null==e)return{};var n=Nt(io(e),(function(e){return[e]}));return t=lo(t),qr(e,n,(function(e,n){return t(e,n[0])}))}var Ls=Ji(Ts),Fs=Ji(Ds);function zs(e){return null==e?[]:en(e,Ts(e))}var Qs=Mi((function(e,t,n){return t=t.toLowerCase(),e+(n?Us(t):t)}));function Us(e){return Js(ys(e).toLowerCase())}function Vs(e){return(e=ys(e))&&e.replace(we,on).replace(tt,"")}var Gs=Mi((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),qs=Mi((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),Hs=Ni("toLowerCase");var Ws=Mi((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}));var Ys=Mi((function(e,t,n){return e+(n?" ":"")+Js(t)}));var Ks=Mi((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),Js=Ni("toUpperCase");function Xs(e,t,n){return e=ys(e),(t=n?i:t)===i?function(e){return ot.test(e)}(e)?function(e){return e.match(rt)||[]}(e):function(e){return e.match(de)||[]}(e):e.match(t)||[]}var Zs=Jr((function(e,t){try{return It(e,i,t)}catch(n){return Ja(n)?n:new se(n)}})),$s=no((function(e,t){return Pt(t,(function(t){t=Ro(t),or(e,t,Pa(e[t],e))})),e}));function el(e){return function(){return e}}var tl=Fi(),nl=Fi(!0);function rl(e){return e}function il(e){return Nr("function"==typeof e?e:lr(e,1))}var ol=Jr((function(e,t){return function(n){return Or(n,e,t)}})),al=Jr((function(e,t){return function(n){return Or(e,n,t)}}));function sl(e,t,n){var r=Ts(t),i=xr(t,r);null!=n||es(t)&&(i.length||!r.length)||(n=t,t=e,e=this,i=xr(t,Ts(t)));var o=!(es(n)&&"chain"in n)||!!n.chain,a=Xa(e);return Pt(i,(function(n){var r=t[n];e[n]=r,a&&(e.prototype[n]=function(){var t=this.__chain__;if(o||t){var n=e(this.__wrapped__);return(n.__actions__=Pi(this.__actions__)).push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,Mt([this.value()],arguments))})})),e}function ll(){}var cl=Vi(Nt),ul=Vi(Tt),dl=Vi(Ft);function pl(e){return wo(e)?Wt(Ro(e)):function(e){return function(t){return Cr(t,e)}}(e)}var hl=qi(),fl=qi(!0);function ml(){return[]}function gl(){return!1}var vl=Ui((function(e,t){return e+t}),0),yl=Yi("ceil"),Al=Ui((function(e,t){return e/t}),1),bl=Yi("floor");var wl=Ui((function(e,t){return e*t}),1),xl=Yi("round"),Cl=Ui((function(e,t){return e-t}),0);return zn.after=function(e,t){if("function"!=typeof t)throw new Pe(o);return e=fs(e),function(){if(--e<1)return t.apply(this,arguments)}},zn.ary=Ia,zn.assign=As,zn.assignIn=bs,zn.assignInWith=ws,zn.assignWith=xs,zn.at=Cs,zn.before=_a,zn.bind=Pa,zn.bindAll=$s,zn.bindKey=Oa,zn.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Ga(e)?e:[e]},zn.chain=pa,zn.chunk=function(e,t,r){t=(r?bo(e,t,r):t===i)?1:Yt(fs(t),0);var o=null==e?0:e.length;if(!o||t<1)return[];for(var a=0,s=0,l=n(ht(o/t));a<o;)l[s++]=ri(e,a,a+=t);return l},zn.compact=function(e){for(var t=-1,n=null==e?0:e.length,r=0,i=[];++t<n;){var o=e[t];o&&(i[r++]=o)}return i},zn.concat=function(){var e=arguments.length;if(!e)return[];for(var t=n(e-1),r=arguments[0],i=e;i--;)t[i-1]=arguments[i];return Mt(Ga(r)?Pi(r):[r],vr(t,1))},zn.cond=function(e){var t=null==e?0:e.length,n=lo();return e=t?Nt(e,(function(e){if("function"!=typeof e[1])throw new Pe(o);return[n(e[0]),e[1]]})):[],Jr((function(n){for(var r=-1;++r<t;){var i=e[r];if(It(i[0],this,n))return It(i[1],this,n)}}))},zn.conforms=function(e){return function(e){var t=Ts(e);return function(n){return cr(n,e,t)}}(lr(e,1))},zn.constant=el,zn.countBy=ma,zn.create=function(e,t){var n=Qn(e);return null==t?n:ir(n,t)},zn.curry=function e(t,n,r){var o=Xi(t,8,i,i,i,i,i,n=r?i:n);return o.placeholder=e.placeholder,o},zn.curryRight=function e(t,n,r){var o=Xi(t,l,i,i,i,i,i,n=r?i:n);return o.placeholder=e.placeholder,o},zn.debounce=Ta,zn.defaults=Ss,zn.defaultsDeep=ks,zn.defer=Da,zn.delay=ja,zn.difference=zo,zn.differenceBy=Qo,zn.differenceWith=Uo,zn.drop=function(e,t,n){var r=null==e?0:e.length;return r?ri(e,(t=n||t===i?1:fs(t))<0?0:t,r):[]},zn.dropRight=function(e,t,n){var r=null==e?0:e.length;return r?ri(e,0,(t=r-(t=n||t===i?1:fs(t)))<0?0:t):[]},zn.dropRightWhile=function(e,t){return e&&e.length?hi(e,lo(t,3),!0,!0):[]},zn.dropWhile=function(e,t){return e&&e.length?hi(e,lo(t,3),!0):[]},zn.fill=function(e,t,n,r){var o=null==e?0:e.length;return o?(n&&"number"!=typeof n&&bo(e,t,n)&&(n=0,r=o),function(e,t,n,r){var o=e.length;for((n=fs(n))<0&&(n=-n>o?0:o+n),(r=r===i||r>o?o:fs(r))<0&&(r+=o),r=n>r?0:ms(r);n<r;)e[n++]=t;return e}(e,t,n,r)):[]},zn.filter=function(e,t){return(Ga(e)?Dt:gr)(e,lo(t,3))},zn.flatMap=function(e,t){return vr(Ca(e,t),1)},zn.flatMapDeep=function(e,t){return vr(Ca(e,t),h)},zn.flatMapDepth=function(e,t,n){return n=n===i?1:fs(n),vr(Ca(e,t),n)},zn.flatten=qo,zn.flattenDeep=function(e){return(null==e?0:e.length)?vr(e,h):[]},zn.flattenDepth=function(e,t){return(null==e?0:e.length)?vr(e,t=t===i?1:fs(t)):[]},zn.flip=function(e){return Xi(e,512)},zn.flow=tl,zn.flowRight=nl,zn.fromPairs=function(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var i=e[t];r[i[0]]=i[1]}return r},zn.functions=function(e){return null==e?[]:xr(e,Ts(e))},zn.functionsIn=function(e){return null==e?[]:xr(e,Ds(e))},zn.groupBy=ba,zn.initial=function(e){return(null==e?0:e.length)?ri(e,0,-1):[]},zn.intersection=Wo,zn.intersectionBy=Yo,zn.intersectionWith=Ko,zn.invert=_s,zn.invertBy=Ps,zn.invokeMap=wa,zn.iteratee=il,zn.keyBy=xa,zn.keys=Ts,zn.keysIn=Ds,zn.map=Ca,zn.mapKeys=function(e,t){var n={};return t=lo(t,3),br(e,(function(e,r,i){or(n,t(e,r,i),e)})),n},zn.mapValues=function(e,t){var n={};return t=lo(t,3),br(e,(function(e,r,i){or(n,r,t(e,r,i))})),n},zn.matches=function(e){return zr(lr(e,1))},zn.matchesProperty=function(e,t){return Qr(e,lr(t,1))},zn.memoize=Ba,zn.merge=js,zn.mergeWith=Bs,zn.method=ol,zn.methodOf=al,zn.mixin=sl,zn.negate=Na,zn.nthArg=function(e){return e=fs(e),Jr((function(t){return Vr(t,e)}))},zn.omit=Ns,zn.omitBy=function(e,t){return Rs(e,Na(lo(t)))},zn.once=function(e){return _a(2,e)},zn.orderBy=function(e,t,n,r){return null==e?[]:(Ga(t)||(t=null==t?[]:[t]),Ga(n=r?i:n)||(n=null==n?[]:[n]),Gr(e,t,n))},zn.over=cl,zn.overArgs=Ma,zn.overEvery=ul,zn.overSome=dl,zn.partial=Ra,zn.partialRight=La,zn.partition=Sa,zn.pick=Ms,zn.pickBy=Rs,zn.property=pl,zn.propertyOf=function(e){return function(t){return null==e?i:Cr(e,t)}},zn.pull=Xo,zn.pullAll=Zo,zn.pullAllBy=function(e,t,n){return e&&e.length&&t&&t.length?Hr(e,t,lo(n,2)):e},zn.pullAllWith=function(e,t,n){return e&&e.length&&t&&t.length?Hr(e,t,i,n):e},zn.pullAt=$o,zn.range=hl,zn.rangeRight=fl,zn.rearg=Fa,zn.reject=function(e,t){return(Ga(e)?Dt:gr)(e,Na(lo(t,3)))},zn.remove=function(e,t){var n=[];if(!e||!e.length)return n;var r=-1,i=[],o=e.length;for(t=lo(t,3);++r<o;){var a=e[r];t(a,r,e)&&(n.push(a),i.push(r))}return Wr(e,i),n},zn.rest=function(e,t){if("function"!=typeof e)throw new Pe(o);return Jr(e,t=t===i?t:fs(t))},zn.reverse=ea,zn.sampleSize=function(e,t,n){return t=(n?bo(e,t,n):t===i)?1:fs(t),(Ga(e)?Zn:Zr)(e,t)},zn.set=function(e,t,n){return null==e?e:$r(e,t,n)},zn.setWith=function(e,t,n,r){return r="function"==typeof r?r:i,null==e?e:$r(e,t,n,r)},zn.shuffle=function(e){return(Ga(e)?$n:ni)(e)},zn.slice=function(e,t,n){var r=null==e?0:e.length;return r?(n&&"number"!=typeof n&&bo(e,t,n)?(t=0,n=r):(t=null==t?0:fs(t),n=n===i?r:fs(n)),ri(e,t,n)):[]},zn.sortBy=ka,zn.sortedUniq=function(e){return e&&e.length?si(e):[]},zn.sortedUniqBy=function(e,t){return e&&e.length?si(e,lo(t,2)):[]},zn.split=function(e,t,n){return n&&"number"!=typeof n&&bo(e,t,n)&&(t=n=i),(n=n===i?g:n>>>0)?(e=ys(e))&&("string"==typeof t||null!=t&&!os(t))&&!(t=ci(t))&&ln(e)?wi(mn(e),0,n):e.split(t,n):[]},zn.spread=function(e,t){if("function"!=typeof e)throw new Pe(o);return t=null==t?0:Yt(fs(t),0),Jr((function(n){var r=n[t],i=wi(n,0,t);return r&&Mt(i,r),It(e,this,i)}))},zn.tail=function(e){var t=null==e?0:e.length;return t?ri(e,1,t):[]},zn.take=function(e,t,n){return e&&e.length?ri(e,0,(t=n||t===i?1:fs(t))<0?0:t):[]},zn.takeRight=function(e,t,n){var r=null==e?0:e.length;return r?ri(e,(t=r-(t=n||t===i?1:fs(t)))<0?0:t,r):[]},zn.takeRightWhile=function(e,t){return e&&e.length?hi(e,lo(t,3),!1,!0):[]},zn.takeWhile=function(e,t){return e&&e.length?hi(e,lo(t,3)):[]},zn.tap=function(e,t){return t(e),e},zn.throttle=function(e,t,n){var r=!0,i=!0;if("function"!=typeof e)throw new Pe(o);return es(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),Ta(e,t,{leading:r,maxWait:t,trailing:i})},zn.thru=ha,zn.toArray=ps,zn.toPairs=Ls,zn.toPairsIn=Fs,zn.toPath=function(e){return Ga(e)?Nt(e,Ro):ls(e)?[e]:Pi(Mo(ys(e)))},zn.toPlainObject=vs,zn.transform=function(e,t,n){var r=Ga(e),i=r||Ya(e)||cs(e);if(t=lo(t,4),null==n){var o=e&&e.constructor;n=i?r?new o:[]:es(e)&&Xa(o)?Qn(He(e)):{}}return(i?Pt:br)(e,(function(e,r,i){return t(n,e,r,i)})),n},zn.unary=function(e){return Ia(e,1)},zn.union=ta,zn.unionBy=na,zn.unionWith=ra,zn.uniq=function(e){return e&&e.length?ui(e):[]},zn.uniqBy=function(e,t){return e&&e.length?ui(e,lo(t,2)):[]},zn.uniqWith=function(e,t){return t="function"==typeof t?t:i,e&&e.length?ui(e,i,t):[]},zn.unset=function(e,t){return null==e||di(e,t)},zn.unzip=ia,zn.unzipWith=oa,zn.update=function(e,t,n){return null==e?e:pi(e,t,yi(n))},zn.updateWith=function(e,t,n,r){return r="function"==typeof r?r:i,null==e?e:pi(e,t,yi(n),r)},zn.values=zs,zn.valuesIn=function(e){return null==e?[]:en(e,Ds(e))},zn.without=aa,zn.words=Xs,zn.wrap=function(e,t){return Ra(yi(t),e)},zn.xor=sa,zn.xorBy=la,zn.xorWith=ca,zn.zip=ua,zn.zipObject=function(e,t){return gi(e||[],t||[],tr)},zn.zipObjectDeep=function(e,t){return gi(e||[],t||[],$r)},zn.zipWith=da,zn.entries=Ls,zn.entriesIn=Fs,zn.extend=bs,zn.extendWith=ws,sl(zn,zn),zn.add=vl,zn.attempt=Zs,zn.camelCase=Qs,zn.capitalize=Us,zn.ceil=yl,zn.clamp=function(e,t,n){return n===i&&(n=t,t=i),n!==i&&(n=(n=gs(n))===n?n:0),t!==i&&(t=(t=gs(t))===t?t:0),sr(gs(e),t,n)},zn.clone=function(e){return lr(e,4)},zn.cloneDeep=function(e){return lr(e,5)},zn.cloneDeepWith=function(e,t){return lr(e,5,t="function"==typeof t?t:i)},zn.cloneWith=function(e,t){return lr(e,4,t="function"==typeof t?t:i)},zn.conformsTo=function(e,t){return null==t||cr(e,t,Ts(t))},zn.deburr=Vs,zn.defaultTo=function(e,t){return null==e||e!==e?t:e},zn.divide=Al,zn.endsWith=function(e,t,n){e=ys(e),t=ci(t);var r=e.length,o=n=n===i?r:sr(fs(n),0,r);return(n-=t.length)>=0&&e.slice(n,o)==t},zn.eq=za,zn.escape=function(e){return(e=ys(e))&&X.test(e)?e.replace(K,an):e},zn.escapeRegExp=function(e){return(e=ys(e))&&oe.test(e)?e.replace(ie,"\\$&"):e},zn.every=function(e,t,n){var r=Ga(e)?Tt:fr;return n&&bo(e,t,n)&&(t=i),r(e,lo(t,3))},zn.find=ga,zn.findIndex=Vo,zn.findKey=function(e,t){return Qt(e,lo(t,3),br)},zn.findLast=va,zn.findLastIndex=Go,zn.findLastKey=function(e,t){return Qt(e,lo(t,3),wr)},zn.floor=bl,zn.forEach=ya,zn.forEachRight=Aa,zn.forIn=function(e,t){return null==e?e:yr(e,lo(t,3),Ds)},zn.forInRight=function(e,t){return null==e?e:Ar(e,lo(t,3),Ds)},zn.forOwn=function(e,t){return e&&br(e,lo(t,3))},zn.forOwnRight=function(e,t){return e&&wr(e,lo(t,3))},zn.get=Es,zn.gt=Qa,zn.gte=Ua,zn.has=function(e,t){return null!=e&&go(e,t,Ir)},zn.hasIn=Is,zn.head=Ho,zn.identity=rl,zn.includes=function(e,t,n,r){e=Ha(e)?e:zs(e),n=n&&!r?fs(n):0;var i=e.length;return n<0&&(n=Yt(i+n,0)),ss(e)?n<=i&&e.indexOf(t,n)>-1:!!i&&Vt(e,t,n)>-1},zn.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=null==n?0:fs(n);return i<0&&(i=Yt(r+i,0)),Vt(e,t,i)},zn.inRange=function(e,t,n){return t=hs(t),n===i?(n=t,t=0):n=hs(n),function(e,t,n){return e>=An(t,n)&&e<Yt(t,n)}(e=gs(e),t,n)},zn.invoke=Os,zn.isArguments=Va,zn.isArray=Ga,zn.isArrayBuffer=qa,zn.isArrayLike=Ha,zn.isArrayLikeObject=Wa,zn.isBoolean=function(e){return!0===e||!1===e||ts(e)&&kr(e)==b},zn.isBuffer=Ya,zn.isDate=Ka,zn.isElement=function(e){return ts(e)&&1===e.nodeType&&!is(e)},zn.isEmpty=function(e){if(null==e)return!0;if(Ha(e)&&(Ga(e)||"string"==typeof e||"function"==typeof e.splice||Ya(e)||cs(e)||Va(e)))return!e.length;var t=mo(e);if(t==k||t==O)return!e.size;if(So(e))return!Mr(e).length;for(var n in e)if(Ne.call(e,n))return!1;return!0},zn.isEqual=function(e,t){return Dr(e,t)},zn.isEqualWith=function(e,t,n){var r=(n="function"==typeof n?n:i)?n(e,t):i;return r===i?Dr(e,t,i,n):!!r},zn.isError=Ja,zn.isFinite=function(e){return"number"==typeof e&&At(e)},zn.isFunction=Xa,zn.isInteger=Za,zn.isLength=$a,zn.isMap=ns,zn.isMatch=function(e,t){return e===t||jr(e,t,uo(t))},zn.isMatchWith=function(e,t,n){return n="function"==typeof n?n:i,jr(e,t,uo(t),n)},zn.isNaN=function(e){return rs(e)&&e!=+e},zn.isNative=function(e){if(Co(e))throw new se("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Br(e)},zn.isNil=function(e){return null==e},zn.isNull=function(e){return null===e},zn.isNumber=rs,zn.isObject=es,zn.isObjectLike=ts,zn.isPlainObject=is,zn.isRegExp=os,zn.isSafeInteger=function(e){return Za(e)&&e>=-9007199254740991&&e<=f},zn.isSet=as,zn.isString=ss,zn.isSymbol=ls,zn.isTypedArray=cs,zn.isUndefined=function(e){return e===i},zn.isWeakMap=function(e){return ts(e)&&mo(e)==j},zn.isWeakSet=function(e){return ts(e)&&"[object WeakSet]"==kr(e)},zn.join=function(e,t){return null==e?"":bt.call(e,t)},zn.kebabCase=Gs,zn.last=Jo,zn.lastIndexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=r;return n!==i&&(o=(o=fs(n))<0?Yt(r+o,0):An(o,r-1)),t===t?function(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}(e,t,o):Ut(e,qt,o,!0)},zn.lowerCase=qs,zn.lowerFirst=Hs,zn.lt=us,zn.lte=ds,zn.max=function(e){return e&&e.length?mr(e,rl,Er):i},zn.maxBy=function(e,t){return e&&e.length?mr(e,lo(t,2),Er):i},zn.mean=function(e){return Ht(e,rl)},zn.meanBy=function(e,t){return Ht(e,lo(t,2))},zn.min=function(e){return e&&e.length?mr(e,rl,Lr):i},zn.minBy=function(e,t){return e&&e.length?mr(e,lo(t,2),Lr):i},zn.stubArray=ml,zn.stubFalse=gl,zn.stubObject=function(){return{}},zn.stubString=function(){return""},zn.stubTrue=function(){return!0},zn.multiply=wl,zn.nth=function(e,t){return e&&e.length?Vr(e,fs(t)):i},zn.noConflict=function(){return mt._===this&&(mt._=ze),this},zn.noop=ll,zn.now=Ea,zn.pad=function(e,t,n){e=ys(e);var r=(t=fs(t))?fn(e):0;if(!t||r>=t)return e;var i=(t-r)/2;return Gi(ft(i),n)+e+Gi(ht(i),n)},zn.padEnd=function(e,t,n){e=ys(e);var r=(t=fs(t))?fn(e):0;return t&&r<t?e+Gi(t-r,n):e},zn.padStart=function(e,t,n){e=ys(e);var r=(t=fs(t))?fn(e):0;return t&&r<t?Gi(t-r,n)+e:e},zn.parseInt=function(e,t,n){return n||null==t?t=0:t&&(t=+t),wn(ys(e).replace(ae,""),t||0)},zn.random=function(e,t,n){if(n&&"boolean"!=typeof n&&bo(e,t,n)&&(t=n=i),n===i&&("boolean"==typeof t?(n=t,t=i):"boolean"==typeof e&&(n=e,e=i)),e===i&&t===i?(e=0,t=1):(e=hs(e),t===i?(t=e,e=0):t=hs(t)),e>t){var r=e;e=t,t=r}if(n||e%1||t%1){var o=xn();return An(e+o*(t-e+dt("1e-"+((o+"").length-1))),t)}return Yr(e,t)},zn.reduce=function(e,t,n){var r=Ga(e)?Rt:Kt,i=arguments.length<3;return r(e,lo(t,4),n,i,pr)},zn.reduceRight=function(e,t,n){var r=Ga(e)?Lt:Kt,i=arguments.length<3;return r(e,lo(t,4),n,i,hr)},zn.repeat=function(e,t,n){return t=(n?bo(e,t,n):t===i)?1:fs(t),Kr(ys(e),t)},zn.replace=function(){var e=arguments,t=ys(e[0]);return e.length<3?t:t.replace(e[1],e[2])},zn.result=function(e,t,n){var r=-1,o=(t=Ai(t,e)).length;for(o||(o=1,e=i);++r<o;){var a=null==e?i:e[Ro(t[r])];a===i&&(r=o,a=n),e=Xa(a)?a.call(e):a}return e},zn.round=xl,zn.runInContext=e,zn.sample=function(e){return(Ga(e)?Xn:Xr)(e)},zn.size=function(e){if(null==e)return 0;if(Ha(e))return ss(e)?fn(e):e.length;var t=mo(e);return t==k||t==O?e.size:Mr(e).length},zn.snakeCase=Ws,zn.some=function(e,t,n){var r=Ga(e)?Ft:ii;return n&&bo(e,t,n)&&(t=i),r(e,lo(t,3))},zn.sortedIndex=function(e,t){return oi(e,t)},zn.sortedIndexBy=function(e,t,n){return ai(e,t,lo(n,2))},zn.sortedIndexOf=function(e,t){var n=null==e?0:e.length;if(n){var r=oi(e,t);if(r<n&&za(e[r],t))return r}return-1},zn.sortedLastIndex=function(e,t){return oi(e,t,!0)},zn.sortedLastIndexBy=function(e,t,n){return ai(e,t,lo(n,2),!0)},zn.sortedLastIndexOf=function(e,t){if(null==e?0:e.length){var n=oi(e,t,!0)-1;if(za(e[n],t))return n}return-1},zn.startCase=Ys,zn.startsWith=function(e,t,n){return e=ys(e),n=null==n?0:sr(fs(n),0,e.length),t=ci(t),e.slice(n,n+t.length)==t},zn.subtract=Cl,zn.sum=function(e){return e&&e.length?Jt(e,rl):0},zn.sumBy=function(e,t){return e&&e.length?Jt(e,lo(t,2)):0},zn.template=function(e,t,n){var r=zn.templateSettings;n&&bo(e,t,n)&&(t=i),e=ys(e),t=ws({},t,r,Zi);var o,a,s=ws({},t.imports,r.imports,Zi),l=Ts(s),c=en(s,l),u=0,d=t.interpolate||xe,p="__p += '",h=Ie((t.escape||xe).source+"|"+d.source+"|"+(d===ee?fe:xe).source+"|"+(t.evaluate||xe).source+"|$","g"),f="//# sourceURL="+(Ne.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++st+"]")+"\n";e.replace(h,(function(t,n,r,i,s,l){return r||(r=i),p+=e.slice(u,l).replace(Ce,sn),n&&(o=!0,p+="' +\n__e("+n+") +\n'"),s&&(a=!0,p+="';\n"+s+";\n__p += '"),r&&(p+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),u=l+t.length,t})),p+="';\n";var m=Ne.call(t,"variable")&&t.variable;if(m){if(pe.test(m))throw new se("Invalid `variable` option passed into `_.template`")}else p="with (obj) {\n"+p+"\n}\n";p=(a?p.replace(q,""):p).replace(H,"$1").replace(W,"$1;"),p="function("+(m||"obj")+") {\n"+(m?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(o?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+p+"return __p\n}";var g=Zs((function(){return Se(l,f+"return "+p).apply(i,c)}));if(g.source=p,Ja(g))throw g;return g},zn.times=function(e,t){if((e=fs(e))<1||e>f)return[];var n=g,r=An(e,g);t=lo(t),e-=g;for(var i=Xt(r,t);++n<e;)t(n);return i},zn.toFinite=hs,zn.toInteger=fs,zn.toLength=ms,zn.toLower=function(e){return ys(e).toLowerCase()},zn.toNumber=gs,zn.toSafeInteger=function(e){return e?sr(fs(e),-9007199254740991,f):0===e?e:0},zn.toString=ys,zn.toUpper=function(e){return ys(e).toUpperCase()},zn.trim=function(e,t,n){if((e=ys(e))&&(n||t===i))return Zt(e);if(!e||!(t=ci(t)))return e;var r=mn(e),o=mn(t);return wi(r,nn(r,o),rn(r,o)+1).join("")},zn.trimEnd=function(e,t,n){if((e=ys(e))&&(n||t===i))return e.slice(0,gn(e)+1);if(!e||!(t=ci(t)))return e;var r=mn(e);return wi(r,0,rn(r,mn(t))+1).join("")},zn.trimStart=function(e,t,n){if((e=ys(e))&&(n||t===i))return e.replace(ae,"");if(!e||!(t=ci(t)))return e;var r=mn(e);return wi(r,nn(r,mn(t))).join("")},zn.truncate=function(e,t){var n=30,r="...";if(es(t)){var o="separator"in t?t.separator:o;n="length"in t?fs(t.length):n,r="omission"in t?ci(t.omission):r}var a=(e=ys(e)).length;if(ln(e)){var s=mn(e);a=s.length}if(n>=a)return e;var l=n-fn(r);if(l<1)return r;var c=s?wi(s,0,l).join(""):e.slice(0,l);if(o===i)return c+r;if(s&&(l+=c.length-l),os(o)){if(e.slice(l).search(o)){var u,d=c;for(o.global||(o=Ie(o.source,ys(me.exec(o))+"g")),o.lastIndex=0;u=o.exec(d);)var p=u.index;c=c.slice(0,p===i?l:p)}}else if(e.indexOf(ci(o),l)!=l){var h=c.lastIndexOf(o);h>-1&&(c=c.slice(0,h))}return c+r},zn.unescape=function(e){return(e=ys(e))&&J.test(e)?e.replace(Y,vn):e},zn.uniqueId=function(e){var t=++Me;return ys(e)+t},zn.upperCase=Ks,zn.upperFirst=Js,zn.each=ya,zn.eachRight=Aa,zn.first=Ho,sl(zn,function(){var e={};return br(zn,(function(t,n){Ne.call(zn.prototype,n)||(e[n]=t)})),e}(),{chain:!1}),zn.VERSION="4.17.21",Pt(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){zn[e].placeholder=zn})),Pt(["drop","take"],(function(e,t){Gn.prototype[e]=function(n){n=n===i?1:Yt(fs(n),0);var r=this.__filtered__&&!t?new Gn(this):this.clone();return r.__filtered__?r.__takeCount__=An(n,r.__takeCount__):r.__views__.push({size:An(n,g),type:e+(r.__dir__<0?"Right":"")}),r},Gn.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),Pt(["filter","map","takeWhile"],(function(e,t){var n=t+1,r=1==n||3==n;Gn.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:lo(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}})),Pt(["head","last"],(function(e,t){var n="take"+(t?"Right":"");Gn.prototype[e]=function(){return this[n](1).value()[0]}})),Pt(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");Gn.prototype[e]=function(){return this.__filtered__?new Gn(this):this[n](1)}})),Gn.prototype.compact=function(){return this.filter(rl)},Gn.prototype.find=function(e){return this.filter(e).head()},Gn.prototype.findLast=function(e){return this.reverse().find(e)},Gn.prototype.invokeMap=Jr((function(e,t){return"function"==typeof e?new Gn(this):this.map((function(n){return Or(n,e,t)}))})),Gn.prototype.reject=function(e){return this.filter(Na(lo(e)))},Gn.prototype.slice=function(e,t){e=fs(e);var n=this;return n.__filtered__&&(e>0||t<0)?new Gn(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==i&&(n=(t=fs(t))<0?n.dropRight(-t):n.take(t-e)),n)},Gn.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Gn.prototype.toArray=function(){return this.take(g)},br(Gn.prototype,(function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),o=zn[r?"take"+("last"==t?"Right":""):t],a=r||/^find/.test(t);o&&(zn.prototype[t]=function(){var t=this.__wrapped__,s=r?[1]:arguments,l=t instanceof Gn,c=s[0],u=l||Ga(t),d=function(e){var t=o.apply(zn,Mt([e],s));return r&&p?t[0]:t};u&&n&&"function"==typeof c&&1!=c.length&&(l=u=!1);var p=this.__chain__,h=!!this.__actions__.length,f=a&&!p,m=l&&!h;if(!a&&u){t=m?t:new Gn(this);var g=e.apply(t,s);return g.__actions__.push({func:ha,args:[d],thisArg:i}),new Vn(g,p)}return f&&m?e.apply(this,s):(g=this.thru(d),f?r?g.value()[0]:g.value():g)})})),Pt(["pop","push","shift","sort","splice","unshift"],(function(e){var t=Oe[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);zn.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var i=this.value();return t.apply(Ga(i)?i:[],e)}return this[n]((function(n){return t.apply(Ga(n)?n:[],e)}))}})),br(Gn.prototype,(function(e,t){var n=zn[t];if(n){var r=n.name+"";Ne.call(Tn,r)||(Tn[r]=[]),Tn[r].push({name:t,func:n})}})),Tn[zi(i,2).name]=[{name:"wrapper",func:i}],Gn.prototype.clone=function(){var e=new Gn(this.__wrapped__);return e.__actions__=Pi(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Pi(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Pi(this.__views__),e},Gn.prototype.reverse=function(){if(this.__filtered__){var e=new Gn(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Gn.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=Ga(e),r=t<0,i=n?e.length:0,o=function(e,t,n){var r=-1,i=n.length;for(;++r<i;){var o=n[r],a=o.size;switch(o.type){case"drop":e+=a;break;case"dropRight":t-=a;break;case"take":t=An(t,e+a);break;case"takeRight":e=Yt(e,t-a)}}return{start:e,end:t}}(0,i,this.__views__),a=o.start,s=o.end,l=s-a,c=r?s:a-1,u=this.__iteratees__,d=u.length,p=0,h=An(l,this.__takeCount__);if(!n||!r&&i==l&&h==l)return fi(e,this.__actions__);var f=[];e:for(;l--&&p<h;){for(var m=-1,g=e[c+=t];++m<d;){var v=u[m],y=v.iteratee,A=v.type,b=y(g);if(2==A)g=b;else if(!b){if(1==A)continue e;break e}}f[p++]=g}return f},zn.prototype.at=fa,zn.prototype.chain=function(){return pa(this)},zn.prototype.commit=function(){return new Vn(this.value(),this.__chain__)},zn.prototype.next=function(){this.__values__===i&&(this.__values__=ps(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?i:this.__values__[this.__index__++]}},zn.prototype.plant=function(e){for(var t,n=this;n instanceof Un;){var r=Fo(n);r.__index__=0,r.__values__=i,t?o.__wrapped__=r:t=r;var o=r;n=n.__wrapped__}return o.__wrapped__=e,t},zn.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof Gn){var t=e;return this.__actions__.length&&(t=new Gn(this)),(t=t.reverse()).__actions__.push({func:ha,args:[ea],thisArg:i}),new Vn(t,this.__chain__)}return this.thru(ea)},zn.prototype.toJSON=zn.prototype.valueOf=zn.prototype.value=function(){return fi(this.__wrapped__,this.__actions__)},zn.prototype.first=zn.prototype.head,Xe&&(zn.prototype[Xe]=function(){return this}),zn}();mt._=yn,(r=function(){return yn}.call(t,n,t,e))===i||(e.exports=r)}.call(this)},96523:(e,t,n)=>{var r=n(39092);e.exports=function(e,t){var n={};return Object.keys(e).forEach((function(i){r.parse(i).match(t)&&Object.assign(n,e[i])})),n}},32354:e=>{function t(e,t){this.left=e,this.right=t,this.match=function(n){return e.match(n)&&t.match(n)}}function n(e,t){this.left=e,this.right=t,this.match=function(n){return e.match(n)||t.match(n)}}e.exports=function(e,r,i){switch(e){case"and":return new t(r,i);case",":return new n(r,i);default:throw new Error(value)}}},39092:(e,t,n)=>{var r=n(18743),i=n(32354),o=/[0-9]/,a=/[a-z|\-]/i,s=/\s/,l=/:/,c=/,/,u=/and$/,d=/@/;e.exports={parse:function(e){var t=function(e){for(var t=[],n=[];e.length>0;){var o=e.shift();if("number"!==o.type&&"literal"!==o.type){if("operator"===o.type){if(l.test(o.value)){o={type:"query",key:t.pop(),value:e.shift()},t.push(o);continue}for(;n.length>0;)t.unshift(n.pop());n.push(o)}}else t.push(o)}for(;n.length>0;)t.unshift(n.pop());return function e(){var n=t.shift();if("number"===n.type)return parseInt(n.value);if("literal"===n.type)return n.value;if("operator"===n.type){var o=e(),a=e();return i(n.value,o,a)}return"query"===n.type?(o=n.key.value,a=n.value.value,r(o,a)):void 0}()}(function(e){for(var t=0,n=[];t<e.length;){var r=e[t];if(d.test(r))for(r=e[++t];a.test(r)&&void 0!==r;)r=e[++t];if(s.test(r)||")"===r||"("===r)t++;else if(l.test(r)||c.test(r))t++,n.push({type:"operator",value:r});else if(o.test(r)){for(var i="";o.test(r);)i+=r,r=e[++t];n.push({type:"number",value:i})}else{if(!a.test(r))throw new TypeError("Tokenizer: I dont know what this character is: "+r);for(i="";a.test(r)&&void 0!==r;)i+=r,r=e[++t];u.test(i)?n.push({type:"operator",value:i}):n.push({type:"literal",value:i})}}return n}(e));return t}}},18743:e=>{function t(e){this.value=e,this.match=function(e){return this.value>=e.height}}function n(e){this.value=e,this.match=function(e){return this.value<e.height}}function r(e){this.value=e,this.match=function(e){return this.value>=e.width}}function i(e){this.value=e,this.match=function(e){return this.value<e.width}}function o(e){this.value=e,this.match=function(e){return this.value===e.orientation}}e.exports=function(e,a){switch(e){case"max-height":return new t(a);case"min-height":return new n(a);case"max-width":return new r(a);case"min-width":return new i(a);case"orientation":return new o(a);default:throw new Error(a)}}},26470:e=>{"use strict";var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(i){return!1}}()?Object.assign:function(e,i){for(var o,a,s=function(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),l=1;l<arguments.length;l++){for(var c in o=Object(arguments[l]))n.call(o,c)&&(s[c]=o[c]);if(t){a=t(o);for(var u=0;u<a.length;u++)r.call(o,a[u])&&(s[a[u]]=o[a[u]])}}return s}},85899:(e,t)=>{"use strict";var n="undefined"!==typeof Uint8Array&&"undefined"!==typeof Uint16Array&&"undefined"!==typeof Int32Array;function r(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.assign=function(e){for(var t=Array.prototype.slice.call(arguments,1);t.length;){var n=t.shift();if(n){if("object"!==typeof n)throw new TypeError(n+"must be non-object");for(var i in n)r(n,i)&&(e[i]=n[i])}}return e},t.shrinkBuf=function(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)};var i={arraySet:function(e,t,n,r,i){if(t.subarray&&e.subarray)e.set(t.subarray(n,n+r),i);else for(var o=0;o<r;o++)e[i+o]=t[n+o]},flattenChunks:function(e){var t,n,r,i,o,a;for(r=0,t=0,n=e.length;t<n;t++)r+=e[t].length;for(a=new Uint8Array(r),i=0,t=0,n=e.length;t<n;t++)o=e[t],a.set(o,i),i+=o.length;return a}},o={arraySet:function(e,t,n,r,i){for(var o=0;o<r;o++)e[i+o]=t[n+o]},flattenChunks:function(e){return[].concat.apply([],e)}};t.setTyped=function(e){e?(t.Buf8=Uint8Array,t.Buf16=Uint16Array,t.Buf32=Int32Array,t.assign(t,i)):(t.Buf8=Array,t.Buf16=Array,t.Buf32=Array,t.assign(t,o))},t.setTyped(n)},21875:e=>{"use strict";e.exports=function(e,t,n,r){for(var i=65535&e,o=e>>>16&65535,a=0;0!==n;){n-=a=n>2e3?2e3:n;do{o=o+(i=i+t[r++]|0)|0}while(--a);i%=65521,o%=65521}return i|o<<16}},30395:e=>{"use strict";e.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},86181:e=>{"use strict";var t=function(){for(var e,t=[],n=0;n<256;n++){e=n;for(var r=0;r<8;r++)e=1&e?3988292384^e>>>1:e>>>1;t[n]=e}return t}();e.exports=function(e,n,r,i){var o=t,a=i+r;e^=-1;for(var s=i;s<a;s++)e=e>>>8^o[255&(e^n[s])];return~e}},17129:(e,t,n)=>{"use strict";var r,i=n(85899),o=n(74867),a=n(21875),s=n(86181),l=n(93384),c=-2,u=258,d=262,p=103,h=113,f=666;function m(e,t){return e.msg=l[t],t}function g(e){return(e<<1)-(e>4?9:0)}function v(e){for(var t=e.length;--t>=0;)e[t]=0}function y(e){var t=e.state,n=t.pending;n>e.avail_out&&(n=e.avail_out),0!==n&&(i.arraySet(e.output,t.pending_buf,t.pending_out,n,e.next_out),e.next_out+=n,t.pending_out+=n,e.total_out+=n,e.avail_out-=n,t.pending-=n,0===t.pending&&(t.pending_out=0))}function A(e,t){o._tr_flush_block(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,y(e.strm)}function b(e,t){e.pending_buf[e.pending++]=t}function w(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function x(e,t,n,r){var o=e.avail_in;return o>r&&(o=r),0===o?0:(e.avail_in-=o,i.arraySet(t,e.input,e.next_in,o,n),1===e.state.wrap?e.adler=a(e.adler,t,o,n):2===e.state.wrap&&(e.adler=s(e.adler,t,o,n)),e.next_in+=o,e.total_in+=o,o)}function C(e,t){var n,r,i=e.max_chain_length,o=e.strstart,a=e.prev_length,s=e.nice_match,l=e.strstart>e.w_size-d?e.strstart-(e.w_size-d):0,c=e.window,p=e.w_mask,h=e.prev,f=e.strstart+u,m=c[o+a-1],g=c[o+a];e.prev_length>=e.good_match&&(i>>=2),s>e.lookahead&&(s=e.lookahead);do{if(c[(n=t)+a]===g&&c[n+a-1]===m&&c[n]===c[o]&&c[++n]===c[o+1]){o+=2,n++;do{}while(c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&o<f);if(r=u-(f-o),o=f-u,r>a){if(e.match_start=t,a=r,r>=s)break;m=c[o+a-1],g=c[o+a]}}}while((t=h[t&p])>l&&0!==--i);return a<=e.lookahead?a:e.lookahead}function S(e){var t,n,r,o,a,s=e.w_size;do{if(o=e.window_size-e.lookahead-e.strstart,e.strstart>=s+(s-d)){i.arraySet(e.window,e.window,s,s,0),e.match_start-=s,e.strstart-=s,e.block_start-=s,t=n=e.hash_size;do{r=e.head[--t],e.head[t]=r>=s?r-s:0}while(--n);t=n=s;do{r=e.prev[--t],e.prev[t]=r>=s?r-s:0}while(--n);o+=s}if(0===e.strm.avail_in)break;if(n=x(e.strm,e.window,e.strstart+e.lookahead,o),e.lookahead+=n,e.lookahead+e.insert>=3)for(a=e.strstart-e.insert,e.ins_h=e.window[a],e.ins_h=(e.ins_h<<e.hash_shift^e.window[a+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[a+3-1])&e.hash_mask,e.prev[a&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=a,a++,e.insert--,!(e.lookahead+e.insert<3)););}while(e.lookahead<d&&0!==e.strm.avail_in)}function k(e,t){for(var n,r;;){if(e.lookahead<d){if(S(e),e.lookahead<d&&0===t)return 1;if(0===e.lookahead)break}if(n=0,e.lookahead>=3&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!==n&&e.strstart-n<=e.w_size-d&&(e.match_length=C(e,n)),e.match_length>=3)if(r=o._tr_tally(e,e.strstart-e.match_start,e.match_length-3),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=3){e.match_length--;do{e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart}while(0!==--e.match_length);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+1])&e.hash_mask;else r=o._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(r&&(A(e,!1),0===e.strm.avail_out))return 1}return e.insert=e.strstart<2?e.strstart:2,4===t?(A(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(A(e,!1),0===e.strm.avail_out)?1:2}function E(e,t){for(var n,r,i;;){if(e.lookahead<d){if(S(e),e.lookahead<d&&0===t)return 1;if(0===e.lookahead)break}if(n=0,e.lookahead>=3&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=2,0!==n&&e.prev_length<e.max_lazy_match&&e.strstart-n<=e.w_size-d&&(e.match_length=C(e,n),e.match_length<=5&&(1===e.strategy||3===e.match_length&&e.strstart-e.match_start>4096)&&(e.match_length=2)),e.prev_length>=3&&e.match_length<=e.prev_length){i=e.strstart+e.lookahead-3,r=o._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-3),e.lookahead-=e.prev_length-1,e.prev_length-=2;do{++e.strstart<=i&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart)}while(0!==--e.prev_length);if(e.match_available=0,e.match_length=2,e.strstart++,r&&(A(e,!1),0===e.strm.avail_out))return 1}else if(e.match_available){if((r=o._tr_tally(e,0,e.window[e.strstart-1]))&&A(e,!1),e.strstart++,e.lookahead--,0===e.strm.avail_out)return 1}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(r=o._tr_tally(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<2?e.strstart:2,4===t?(A(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(A(e,!1),0===e.strm.avail_out)?1:2}function I(e,t,n,r,i){this.good_length=e,this.max_lazy=t,this.nice_length=n,this.max_chain=r,this.func=i}function _(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=8,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new i.Buf16(1146),this.dyn_dtree=new i.Buf16(122),this.bl_tree=new i.Buf16(78),v(this.dyn_ltree),v(this.dyn_dtree),v(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new i.Buf16(16),this.heap=new i.Buf16(573),v(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new i.Buf16(573),v(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function P(e){var t;return e&&e.state?(e.total_in=e.total_out=0,e.data_type=2,(t=e.state).pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?42:h,e.adler=2===t.wrap?0:1,t.last_flush=0,o._tr_init(t),0):m(e,c)}function O(e){var t,n=P(e);return 0===n&&((t=e.state).window_size=2*t.w_size,v(t.head),t.max_lazy_match=r[t.level].max_lazy,t.good_match=r[t.level].good_length,t.nice_match=r[t.level].nice_length,t.max_chain_length=r[t.level].max_chain,t.strstart=0,t.block_start=0,t.lookahead=0,t.insert=0,t.match_length=t.prev_length=2,t.match_available=0,t.ins_h=0),n}function T(e,t,n,r,o,a){if(!e)return c;var s=1;if(-1===t&&(t=6),r<0?(s=0,r=-r):r>15&&(s=2,r-=16),o<1||o>9||8!==n||r<8||r>15||t<0||t>9||a<0||a>4)return m(e,c);8===r&&(r=9);var l=new _;return e.state=l,l.strm=e,l.wrap=s,l.gzhead=null,l.w_bits=r,l.w_size=1<<l.w_bits,l.w_mask=l.w_size-1,l.hash_bits=o+7,l.hash_size=1<<l.hash_bits,l.hash_mask=l.hash_size-1,l.hash_shift=~~((l.hash_bits+3-1)/3),l.window=new i.Buf8(2*l.w_size),l.head=new i.Buf16(l.hash_size),l.prev=new i.Buf16(l.w_size),l.lit_bufsize=1<<o+6,l.pending_buf_size=4*l.lit_bufsize,l.pending_buf=new i.Buf8(l.pending_buf_size),l.d_buf=1*l.lit_bufsize,l.l_buf=3*l.lit_bufsize,l.level=t,l.strategy=a,l.method=n,O(e)}r=[new I(0,0,0,0,(function(e,t){var n=65535;for(n>e.pending_buf_size-5&&(n=e.pending_buf_size-5);;){if(e.lookahead<=1){if(S(e),0===e.lookahead&&0===t)return 1;if(0===e.lookahead)break}e.strstart+=e.lookahead,e.lookahead=0;var r=e.block_start+n;if((0===e.strstart||e.strstart>=r)&&(e.lookahead=e.strstart-r,e.strstart=r,A(e,!1),0===e.strm.avail_out))return 1;if(e.strstart-e.block_start>=e.w_size-d&&(A(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(A(e,!0),0===e.strm.avail_out?3:4):(e.strstart>e.block_start&&(A(e,!1),e.strm.avail_out),1)})),new I(4,4,8,4,k),new I(4,5,16,8,k),new I(4,6,32,32,k),new I(4,4,16,16,E),new I(8,16,32,32,E),new I(8,16,128,128,E),new I(8,32,128,256,E),new I(32,128,258,1024,E),new I(32,258,258,4096,E)],t.deflateInit=function(e,t){return T(e,t,8,15,8,0)},t.deflateInit2=T,t.deflateReset=O,t.deflateResetKeep=P,t.deflateSetHeader=function(e,t){return e&&e.state?2!==e.state.wrap?c:(e.state.gzhead=t,0):c},t.deflate=function(e,t){var n,i,a,l;if(!e||!e.state||t>5||t<0)return e?m(e,c):c;if(i=e.state,!e.output||!e.input&&0!==e.avail_in||i.status===f&&4!==t)return m(e,0===e.avail_out?-5:c);if(i.strm=e,n=i.last_flush,i.last_flush=t,42===i.status)if(2===i.wrap)e.adler=0,b(i,31),b(i,139),b(i,8),i.gzhead?(b(i,(i.gzhead.text?1:0)+(i.gzhead.hcrc?2:0)+(i.gzhead.extra?4:0)+(i.gzhead.name?8:0)+(i.gzhead.comment?16:0)),b(i,255&i.gzhead.time),b(i,i.gzhead.time>>8&255),b(i,i.gzhead.time>>16&255),b(i,i.gzhead.time>>24&255),b(i,9===i.level?2:i.strategy>=2||i.level<2?4:0),b(i,255&i.gzhead.os),i.gzhead.extra&&i.gzhead.extra.length&&(b(i,255&i.gzhead.extra.length),b(i,i.gzhead.extra.length>>8&255)),i.gzhead.hcrc&&(e.adler=s(e.adler,i.pending_buf,i.pending,0)),i.gzindex=0,i.status=69):(b(i,0),b(i,0),b(i,0),b(i,0),b(i,0),b(i,9===i.level?2:i.strategy>=2||i.level<2?4:0),b(i,3),i.status=h);else{var d=8+(i.w_bits-8<<4)<<8;d|=(i.strategy>=2||i.level<2?0:i.level<6?1:6===i.level?2:3)<<6,0!==i.strstart&&(d|=32),d+=31-d%31,i.status=h,w(i,d),0!==i.strstart&&(w(i,e.adler>>>16),w(i,65535&e.adler)),e.adler=1}if(69===i.status)if(i.gzhead.extra){for(a=i.pending;i.gzindex<(65535&i.gzhead.extra.length)&&(i.pending!==i.pending_buf_size||(i.gzhead.hcrc&&i.pending>a&&(e.adler=s(e.adler,i.pending_buf,i.pending-a,a)),y(e),a=i.pending,i.pending!==i.pending_buf_size));)b(i,255&i.gzhead.extra[i.gzindex]),i.gzindex++;i.gzhead.hcrc&&i.pending>a&&(e.adler=s(e.adler,i.pending_buf,i.pending-a,a)),i.gzindex===i.gzhead.extra.length&&(i.gzindex=0,i.status=73)}else i.status=73;if(73===i.status)if(i.gzhead.name){a=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>a&&(e.adler=s(e.adler,i.pending_buf,i.pending-a,a)),y(e),a=i.pending,i.pending===i.pending_buf_size)){l=1;break}l=i.gzindex<i.gzhead.name.length?255&i.gzhead.name.charCodeAt(i.gzindex++):0,b(i,l)}while(0!==l);i.gzhead.hcrc&&i.pending>a&&(e.adler=s(e.adler,i.pending_buf,i.pending-a,a)),0===l&&(i.gzindex=0,i.status=91)}else i.status=91;if(91===i.status)if(i.gzhead.comment){a=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>a&&(e.adler=s(e.adler,i.pending_buf,i.pending-a,a)),y(e),a=i.pending,i.pending===i.pending_buf_size)){l=1;break}l=i.gzindex<i.gzhead.comment.length?255&i.gzhead.comment.charCodeAt(i.gzindex++):0,b(i,l)}while(0!==l);i.gzhead.hcrc&&i.pending>a&&(e.adler=s(e.adler,i.pending_buf,i.pending-a,a)),0===l&&(i.status=p)}else i.status=p;if(i.status===p&&(i.gzhead.hcrc?(i.pending+2>i.pending_buf_size&&y(e),i.pending+2<=i.pending_buf_size&&(b(i,255&e.adler),b(i,e.adler>>8&255),e.adler=0,i.status=h)):i.status=h),0!==i.pending){if(y(e),0===e.avail_out)return i.last_flush=-1,0}else if(0===e.avail_in&&g(t)<=g(n)&&4!==t)return m(e,-5);if(i.status===f&&0!==e.avail_in)return m(e,-5);if(0!==e.avail_in||0!==i.lookahead||0!==t&&i.status!==f){var x=2===i.strategy?function(e,t){for(var n;;){if(0===e.lookahead&&(S(e),0===e.lookahead)){if(0===t)return 1;break}if(e.match_length=0,n=o._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,n&&(A(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(A(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(A(e,!1),0===e.strm.avail_out)?1:2}(i,t):3===i.strategy?function(e,t){for(var n,r,i,a,s=e.window;;){if(e.lookahead<=u){if(S(e),e.lookahead<=u&&0===t)return 1;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=3&&e.strstart>0&&(r=s[i=e.strstart-1])===s[++i]&&r===s[++i]&&r===s[++i]){a=e.strstart+u;do{}while(r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&i<a);e.match_length=u-(a-i),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=3?(n=o._tr_tally(e,1,e.match_length-3),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(n=o._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),n&&(A(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(A(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(A(e,!1),0===e.strm.avail_out)?1:2}(i,t):r[i.level].func(i,t);if(3!==x&&4!==x||(i.status=f),1===x||3===x)return 0===e.avail_out&&(i.last_flush=-1),0;if(2===x&&(1===t?o._tr_align(i):5!==t&&(o._tr_stored_block(i,0,0,!1),3===t&&(v(i.head),0===i.lookahead&&(i.strstart=0,i.block_start=0,i.insert=0))),y(e),0===e.avail_out))return i.last_flush=-1,0}return 4!==t?0:i.wrap<=0?1:(2===i.wrap?(b(i,255&e.adler),b(i,e.adler>>8&255),b(i,e.adler>>16&255),b(i,e.adler>>24&255),b(i,255&e.total_in),b(i,e.total_in>>8&255),b(i,e.total_in>>16&255),b(i,e.total_in>>24&255)):(w(i,e.adler>>>16),w(i,65535&e.adler)),y(e),i.wrap>0&&(i.wrap=-i.wrap),0!==i.pending?0:1)},t.deflateEnd=function(e){var t;return e&&e.state?42!==(t=e.state.status)&&69!==t&&73!==t&&91!==t&&t!==p&&t!==h&&t!==f?m(e,c):(e.state=null,t===h?m(e,-3):0):c},t.deflateSetDictionary=function(e,t){var n,r,o,s,l,u,d,p,h=t.length;if(!e||!e.state)return c;if(2===(s=(n=e.state).wrap)||1===s&&42!==n.status||n.lookahead)return c;for(1===s&&(e.adler=a(e.adler,t,h,0)),n.wrap=0,h>=n.w_size&&(0===s&&(v(n.head),n.strstart=0,n.block_start=0,n.insert=0),p=new i.Buf8(n.w_size),i.arraySet(p,t,h-n.w_size,n.w_size,0),t=p,h=n.w_size),l=e.avail_in,u=e.next_in,d=e.input,e.avail_in=h,e.next_in=0,e.input=t,S(n);n.lookahead>=3;){r=n.strstart,o=n.lookahead-2;do{n.ins_h=(n.ins_h<<n.hash_shift^n.window[r+3-1])&n.hash_mask,n.prev[r&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=r,r++}while(--o);n.strstart=r,n.lookahead=2,S(n)}return n.strstart+=n.lookahead,n.block_start=n.strstart,n.insert=n.lookahead,n.lookahead=0,n.match_length=n.prev_length=2,n.match_available=0,e.next_in=u,e.input=d,e.avail_in=l,n.wrap=s,0},t.deflateInfo="pako deflate (from Nodeca project)"},82903:e=>{"use strict";e.exports=function(e,t){var n,r,i,o,a,s,l,c,u,d,p,h,f,m,g,v,y,A,b,w,x,C,S,k,E;n=e.state,r=e.next_in,k=e.input,i=r+(e.avail_in-5),o=e.next_out,E=e.output,a=o-(t-e.avail_out),s=o+(e.avail_out-257),l=n.dmax,c=n.wsize,u=n.whave,d=n.wnext,p=n.window,h=n.hold,f=n.bits,m=n.lencode,g=n.distcode,v=(1<<n.lenbits)-1,y=(1<<n.distbits)-1;e:do{f<15&&(h+=k[r++]<<f,f+=8,h+=k[r++]<<f,f+=8),A=m[h&v];t:for(;;){if(h>>>=b=A>>>24,f-=b,0===(b=A>>>16&255))E[o++]=65535&A;else{if(!(16&b)){if(0===(64&b)){A=m[(65535&A)+(h&(1<<b)-1)];continue t}if(32&b){n.mode=12;break e}e.msg="invalid literal/length code",n.mode=30;break e}w=65535&A,(b&=15)&&(f<b&&(h+=k[r++]<<f,f+=8),w+=h&(1<<b)-1,h>>>=b,f-=b),f<15&&(h+=k[r++]<<f,f+=8,h+=k[r++]<<f,f+=8),A=g[h&y];n:for(;;){if(h>>>=b=A>>>24,f-=b,!(16&(b=A>>>16&255))){if(0===(64&b)){A=g[(65535&A)+(h&(1<<b)-1)];continue n}e.msg="invalid distance code",n.mode=30;break e}if(x=65535&A,f<(b&=15)&&(h+=k[r++]<<f,(f+=8)<b&&(h+=k[r++]<<f,f+=8)),(x+=h&(1<<b)-1)>l){e.msg="invalid distance too far back",n.mode=30;break e}if(h>>>=b,f-=b,x>(b=o-a)){if((b=x-b)>u&&n.sane){e.msg="invalid distance too far back",n.mode=30;break e}if(C=0,S=p,0===d){if(C+=c-b,b<w){w-=b;do{E[o++]=p[C++]}while(--b);C=o-x,S=E}}else if(d<b){if(C+=c+d-b,(b-=d)<w){w-=b;do{E[o++]=p[C++]}while(--b);if(C=0,d<w){w-=b=d;do{E[o++]=p[C++]}while(--b);C=o-x,S=E}}}else if(C+=d-b,b<w){w-=b;do{E[o++]=p[C++]}while(--b);C=o-x,S=E}for(;w>2;)E[o++]=S[C++],E[o++]=S[C++],E[o++]=S[C++],w-=3;w&&(E[o++]=S[C++],w>1&&(E[o++]=S[C++]))}else{C=o-x;do{E[o++]=E[C++],E[o++]=E[C++],E[o++]=E[C++],w-=3}while(w>2);w&&(E[o++]=E[C++],w>1&&(E[o++]=E[C++]))}break}}break}}while(r<i&&o<s);r-=w=f>>3,h&=(1<<(f-=w<<3))-1,e.next_in=r,e.next_out=o,e.avail_in=r<i?i-r+5:5-(r-i),e.avail_out=o<s?s-o+257:257-(o-s),n.hold=h,n.bits=f}},85281:(e,t,n)=>{"use strict";var r=n(85899),i=n(21875),o=n(86181),a=n(82903),s=n(68276),l=-2,c=12,u=30;function d(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function p(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new r.Buf16(320),this.work=new r.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function h(e){var t;return e&&e.state?(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=1,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new r.Buf32(852),t.distcode=t.distdyn=new r.Buf32(592),t.sane=1,t.back=-1,0):l}function f(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,h(e)):l}function m(e,t){var n,r;return e&&e.state?(r=e.state,t<0?(n=0,t=-t):(n=1+(t>>4),t<48&&(t&=15)),t&&(t<8||t>15)?l:(null!==r.window&&r.wbits!==t&&(r.window=null),r.wrap=n,r.wbits=t,f(e))):l}function g(e,t){var n,r;return e?(r=new p,e.state=r,r.window=null,0!==(n=m(e,t))&&(e.state=null),n):l}var v,y,A=!0;function b(e){if(A){var t;for(v=new r.Buf32(512),y=new r.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(s(1,e.lens,0,288,v,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;s(2,e.lens,0,32,y,0,e.work,{bits:5}),A=!1}e.lencode=v,e.lenbits=9,e.distcode=y,e.distbits=5}function w(e,t,n,i){var o,a=e.state;return null===a.window&&(a.wsize=1<<a.wbits,a.wnext=0,a.whave=0,a.window=new r.Buf8(a.wsize)),i>=a.wsize?(r.arraySet(a.window,t,n-a.wsize,a.wsize,0),a.wnext=0,a.whave=a.wsize):((o=a.wsize-a.wnext)>i&&(o=i),r.arraySet(a.window,t,n-i,o,a.wnext),(i-=o)?(r.arraySet(a.window,t,n-i,i,0),a.wnext=i,a.whave=a.wsize):(a.wnext+=o,a.wnext===a.wsize&&(a.wnext=0),a.whave<a.wsize&&(a.whave+=o))),0}t.inflateReset=f,t.inflateReset2=m,t.inflateResetKeep=h,t.inflateInit=function(e){return g(e,15)},t.inflateInit2=g,t.inflate=function(e,t){var n,p,h,f,m,g,v,y,A,x,C,S,k,E,I,_,P,O,T,D,j,B,N,M,R=0,L=new r.Buf8(4),F=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&0!==e.avail_in)return l;(n=e.state).mode===c&&(n.mode=13),m=e.next_out,h=e.output,v=e.avail_out,f=e.next_in,p=e.input,g=e.avail_in,y=n.hold,A=n.bits,x=g,C=v,B=0;e:for(;;)switch(n.mode){case 1:if(0===n.wrap){n.mode=13;break}for(;A<16;){if(0===g)break e;g--,y+=p[f++]<<A,A+=8}if(2&n.wrap&&35615===y){n.check=0,L[0]=255&y,L[1]=y>>>8&255,n.check=o(n.check,L,2,0),y=0,A=0,n.mode=2;break}if(n.flags=0,n.head&&(n.head.done=!1),!(1&n.wrap)||(((255&y)<<8)+(y>>8))%31){e.msg="incorrect header check",n.mode=u;break}if(8!==(15&y)){e.msg="unknown compression method",n.mode=u;break}if(A-=4,j=8+(15&(y>>>=4)),0===n.wbits)n.wbits=j;else if(j>n.wbits){e.msg="invalid window size",n.mode=u;break}n.dmax=1<<j,e.adler=n.check=1,n.mode=512&y?10:c,y=0,A=0;break;case 2:for(;A<16;){if(0===g)break e;g--,y+=p[f++]<<A,A+=8}if(n.flags=y,8!==(255&n.flags)){e.msg="unknown compression method",n.mode=u;break}if(57344&n.flags){e.msg="unknown header flags set",n.mode=u;break}n.head&&(n.head.text=y>>8&1),512&n.flags&&(L[0]=255&y,L[1]=y>>>8&255,n.check=o(n.check,L,2,0)),y=0,A=0,n.mode=3;case 3:for(;A<32;){if(0===g)break e;g--,y+=p[f++]<<A,A+=8}n.head&&(n.head.time=y),512&n.flags&&(L[0]=255&y,L[1]=y>>>8&255,L[2]=y>>>16&255,L[3]=y>>>24&255,n.check=o(n.check,L,4,0)),y=0,A=0,n.mode=4;case 4:for(;A<16;){if(0===g)break e;g--,y+=p[f++]<<A,A+=8}n.head&&(n.head.xflags=255&y,n.head.os=y>>8),512&n.flags&&(L[0]=255&y,L[1]=y>>>8&255,n.check=o(n.check,L,2,0)),y=0,A=0,n.mode=5;case 5:if(1024&n.flags){for(;A<16;){if(0===g)break e;g--,y+=p[f++]<<A,A+=8}n.length=y,n.head&&(n.head.extra_len=y),512&n.flags&&(L[0]=255&y,L[1]=y>>>8&255,n.check=o(n.check,L,2,0)),y=0,A=0}else n.head&&(n.head.extra=null);n.mode=6;case 6:if(1024&n.flags&&((S=n.length)>g&&(S=g),S&&(n.head&&(j=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Array(n.head.extra_len)),r.arraySet(n.head.extra,p,f,S,j)),512&n.flags&&(n.check=o(n.check,p,S,f)),g-=S,f+=S,n.length-=S),n.length))break e;n.length=0,n.mode=7;case 7:if(2048&n.flags){if(0===g)break e;S=0;do{j=p[f+S++],n.head&&j&&n.length<65536&&(n.head.name+=String.fromCharCode(j))}while(j&&S<g);if(512&n.flags&&(n.check=o(n.check,p,S,f)),g-=S,f+=S,j)break e}else n.head&&(n.head.name=null);n.length=0,n.mode=8;case 8:if(4096&n.flags){if(0===g)break e;S=0;do{j=p[f+S++],n.head&&j&&n.length<65536&&(n.head.comment+=String.fromCharCode(j))}while(j&&S<g);if(512&n.flags&&(n.check=o(n.check,p,S,f)),g-=S,f+=S,j)break e}else n.head&&(n.head.comment=null);n.mode=9;case 9:if(512&n.flags){for(;A<16;){if(0===g)break e;g--,y+=p[f++]<<A,A+=8}if(y!==(65535&n.check)){e.msg="header crc mismatch",n.mode=u;break}y=0,A=0}n.head&&(n.head.hcrc=n.flags>>9&1,n.head.done=!0),e.adler=n.check=0,n.mode=c;break;case 10:for(;A<32;){if(0===g)break e;g--,y+=p[f++]<<A,A+=8}e.adler=n.check=d(y),y=0,A=0,n.mode=11;case 11:if(0===n.havedict)return e.next_out=m,e.avail_out=v,e.next_in=f,e.avail_in=g,n.hold=y,n.bits=A,2;e.adler=n.check=1,n.mode=c;case c:if(5===t||6===t)break e;case 13:if(n.last){y>>>=7&A,A-=7&A,n.mode=27;break}for(;A<3;){if(0===g)break e;g--,y+=p[f++]<<A,A+=8}switch(n.last=1&y,A-=1,3&(y>>>=1)){case 0:n.mode=14;break;case 1:if(b(n),n.mode=20,6===t){y>>>=2,A-=2;break e}break;case 2:n.mode=17;break;case 3:e.msg="invalid block type",n.mode=u}y>>>=2,A-=2;break;case 14:for(y>>>=7&A,A-=7&A;A<32;){if(0===g)break e;g--,y+=p[f++]<<A,A+=8}if((65535&y)!==(y>>>16^65535)){e.msg="invalid stored block lengths",n.mode=u;break}if(n.length=65535&y,y=0,A=0,n.mode=15,6===t)break e;case 15:n.mode=16;case 16:if(S=n.length){if(S>g&&(S=g),S>v&&(S=v),0===S)break e;r.arraySet(h,p,f,S,m),g-=S,f+=S,v-=S,m+=S,n.length-=S;break}n.mode=c;break;case 17:for(;A<14;){if(0===g)break e;g--,y+=p[f++]<<A,A+=8}if(n.nlen=257+(31&y),y>>>=5,A-=5,n.ndist=1+(31&y),y>>>=5,A-=5,n.ncode=4+(15&y),y>>>=4,A-=4,n.nlen>286||n.ndist>30){e.msg="too many length or distance symbols",n.mode=u;break}n.have=0,n.mode=18;case 18:for(;n.have<n.ncode;){for(;A<3;){if(0===g)break e;g--,y+=p[f++]<<A,A+=8}n.lens[F[n.have++]]=7&y,y>>>=3,A-=3}for(;n.have<19;)n.lens[F[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,N={bits:n.lenbits},B=s(0,n.lens,0,19,n.lencode,0,n.work,N),n.lenbits=N.bits,B){e.msg="invalid code lengths set",n.mode=u;break}n.have=0,n.mode=19;case 19:for(;n.have<n.nlen+n.ndist;){for(;_=(R=n.lencode[y&(1<<n.lenbits)-1])>>>16&255,P=65535&R,!((I=R>>>24)<=A);){if(0===g)break e;g--,y+=p[f++]<<A,A+=8}if(P<16)y>>>=I,A-=I,n.lens[n.have++]=P;else{if(16===P){for(M=I+2;A<M;){if(0===g)break e;g--,y+=p[f++]<<A,A+=8}if(y>>>=I,A-=I,0===n.have){e.msg="invalid bit length repeat",n.mode=u;break}j=n.lens[n.have-1],S=3+(3&y),y>>>=2,A-=2}else if(17===P){for(M=I+3;A<M;){if(0===g)break e;g--,y+=p[f++]<<A,A+=8}A-=I,j=0,S=3+(7&(y>>>=I)),y>>>=3,A-=3}else{for(M=I+7;A<M;){if(0===g)break e;g--,y+=p[f++]<<A,A+=8}A-=I,j=0,S=11+(127&(y>>>=I)),y>>>=7,A-=7}if(n.have+S>n.nlen+n.ndist){e.msg="invalid bit length repeat",n.mode=u;break}for(;S--;)n.lens[n.have++]=j}}if(n.mode===u)break;if(0===n.lens[256]){e.msg="invalid code -- missing end-of-block",n.mode=u;break}if(n.lenbits=9,N={bits:n.lenbits},B=s(1,n.lens,0,n.nlen,n.lencode,0,n.work,N),n.lenbits=N.bits,B){e.msg="invalid literal/lengths set",n.mode=u;break}if(n.distbits=6,n.distcode=n.distdyn,N={bits:n.distbits},B=s(2,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,N),n.distbits=N.bits,B){e.msg="invalid distances set",n.mode=u;break}if(n.mode=20,6===t)break e;case 20:n.mode=21;case 21:if(g>=6&&v>=258){e.next_out=m,e.avail_out=v,e.next_in=f,e.avail_in=g,n.hold=y,n.bits=A,a(e,C),m=e.next_out,h=e.output,v=e.avail_out,f=e.next_in,p=e.input,g=e.avail_in,y=n.hold,A=n.bits,n.mode===c&&(n.back=-1);break}for(n.back=0;_=(R=n.lencode[y&(1<<n.lenbits)-1])>>>16&255,P=65535&R,!((I=R>>>24)<=A);){if(0===g)break e;g--,y+=p[f++]<<A,A+=8}if(_&&0===(240&_)){for(O=I,T=_,D=P;_=(R=n.lencode[D+((y&(1<<O+T)-1)>>O)])>>>16&255,P=65535&R,!(O+(I=R>>>24)<=A);){if(0===g)break e;g--,y+=p[f++]<<A,A+=8}y>>>=O,A-=O,n.back+=O}if(y>>>=I,A-=I,n.back+=I,n.length=P,0===_){n.mode=26;break}if(32&_){n.back=-1,n.mode=c;break}if(64&_){e.msg="invalid literal/length code",n.mode=u;break}n.extra=15&_,n.mode=22;case 22:if(n.extra){for(M=n.extra;A<M;){if(0===g)break e;g--,y+=p[f++]<<A,A+=8}n.length+=y&(1<<n.extra)-1,y>>>=n.extra,A-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=23;case 23:for(;_=(R=n.distcode[y&(1<<n.distbits)-1])>>>16&255,P=65535&R,!((I=R>>>24)<=A);){if(0===g)break e;g--,y+=p[f++]<<A,A+=8}if(0===(240&_)){for(O=I,T=_,D=P;_=(R=n.distcode[D+((y&(1<<O+T)-1)>>O)])>>>16&255,P=65535&R,!(O+(I=R>>>24)<=A);){if(0===g)break e;g--,y+=p[f++]<<A,A+=8}y>>>=O,A-=O,n.back+=O}if(y>>>=I,A-=I,n.back+=I,64&_){e.msg="invalid distance code",n.mode=u;break}n.offset=P,n.extra=15&_,n.mode=24;case 24:if(n.extra){for(M=n.extra;A<M;){if(0===g)break e;g--,y+=p[f++]<<A,A+=8}n.offset+=y&(1<<n.extra)-1,y>>>=n.extra,A-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){e.msg="invalid distance too far back",n.mode=u;break}n.mode=25;case 25:if(0===v)break e;if(S=C-v,n.offset>S){if((S=n.offset-S)>n.whave&&n.sane){e.msg="invalid distance too far back",n.mode=u;break}S>n.wnext?(S-=n.wnext,k=n.wsize-S):k=n.wnext-S,S>n.length&&(S=n.length),E=n.window}else E=h,k=m-n.offset,S=n.length;S>v&&(S=v),v-=S,n.length-=S;do{h[m++]=E[k++]}while(--S);0===n.length&&(n.mode=21);break;case 26:if(0===v)break e;h[m++]=n.length,v--,n.mode=21;break;case 27:if(n.wrap){for(;A<32;){if(0===g)break e;g--,y|=p[f++]<<A,A+=8}if(C-=v,e.total_out+=C,n.total+=C,C&&(e.adler=n.check=n.flags?o(n.check,h,C,m-C):i(n.check,h,C,m-C)),C=v,(n.flags?y:d(y))!==n.check){e.msg="incorrect data check",n.mode=u;break}y=0,A=0}n.mode=28;case 28:if(n.wrap&&n.flags){for(;A<32;){if(0===g)break e;g--,y+=p[f++]<<A,A+=8}if(y!==(4294967295&n.total)){e.msg="incorrect length check",n.mode=u;break}y=0,A=0}n.mode=29;case 29:B=1;break e;case u:B=-3;break e;case 31:return-4;default:return l}return e.next_out=m,e.avail_out=v,e.next_in=f,e.avail_in=g,n.hold=y,n.bits=A,(n.wsize||C!==e.avail_out&&n.mode<u&&(n.mode<27||4!==t))&&w(e,e.output,e.next_out,C-e.avail_out)?(n.mode=31,-4):(x-=e.avail_in,C-=e.avail_out,e.total_in+=x,e.total_out+=C,n.total+=C,n.wrap&&C&&(e.adler=n.check=n.flags?o(n.check,h,C,e.next_out-C):i(n.check,h,C,e.next_out-C)),e.data_type=n.bits+(n.last?64:0)+(n.mode===c?128:0)+(20===n.mode||15===n.mode?256:0),(0===x&&0===C||4===t)&&0===B&&(B=-5),B)},t.inflateEnd=function(e){if(!e||!e.state)return l;var t=e.state;return t.window&&(t.window=null),e.state=null,0},t.inflateGetHeader=function(e,t){var n;return e&&e.state?0===(2&(n=e.state).wrap)?l:(n.head=t,t.done=!1,0):l},t.inflateSetDictionary=function(e,t){var n,r=t.length;return e&&e.state?0!==(n=e.state).wrap&&11!==n.mode?l:11===n.mode&&i(1,t,r,0)!==n.check?-3:w(e,t,r,r)?(n.mode=31,-4):(n.havedict=1,0):l},t.inflateInfo="pako inflate (from Nodeca project)"},68276:(e,t,n)=>{"use strict";var r=n(85899),i=15,o=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],a=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],s=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],l=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];e.exports=function(e,t,n,c,u,d,p,h){var f,m,g,v,y,A,b,w,x,C=h.bits,S=0,k=0,E=0,I=0,_=0,P=0,O=0,T=0,D=0,j=0,B=null,N=0,M=new r.Buf16(16),R=new r.Buf16(16),L=null,F=0;for(S=0;S<=i;S++)M[S]=0;for(k=0;k<c;k++)M[t[n+k]]++;for(_=C,I=i;I>=1&&0===M[I];I--);if(_>I&&(_=I),0===I)return u[d++]=20971520,u[d++]=20971520,h.bits=1,0;for(E=1;E<I&&0===M[E];E++);for(_<E&&(_=E),T=1,S=1;S<=i;S++)if(T<<=1,(T-=M[S])<0)return-1;if(T>0&&(0===e||1!==I))return-1;for(R[1]=0,S=1;S<i;S++)R[S+1]=R[S]+M[S];for(k=0;k<c;k++)0!==t[n+k]&&(p[R[t[n+k]]++]=k);if(0===e?(B=L=p,A=19):1===e?(B=o,N-=257,L=a,F-=257,A=256):(B=s,L=l,A=-1),j=0,k=0,S=E,y=d,P=_,O=0,g=-1,v=(D=1<<_)-1,1===e&&D>852||2===e&&D>592)return 1;for(;;){b=S-O,p[k]<A?(w=0,x=p[k]):p[k]>A?(w=L[F+p[k]],x=B[N+p[k]]):(w=96,x=0),f=1<<S-O,E=m=1<<P;do{u[y+(j>>O)+(m-=f)]=b<<24|w<<16|x}while(0!==m);for(f=1<<S-1;j&f;)f>>=1;if(0!==f?(j&=f-1,j+=f):j=0,k++,0===--M[S]){if(S===I)break;S=t[n+p[k]]}if(S>_&&(j&v)!==g){for(0===O&&(O=_),y+=E,T=1<<(P=S-O);P+O<I&&!((T-=M[P+O])<=0);)P++,T<<=1;if(D+=1<<P,1===e&&D>852||2===e&&D>592)return 1;u[g=j&v]=_<<24|P<<16|y-d}}return 0!==j&&(u[y+j]=S-O<<24|64<<16),h.bits=_,0}},93384:e=>{"use strict";e.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},74867:(e,t,n)=>{"use strict";var r=n(85899);function i(e){for(var t=e.length;--t>=0;)e[t]=0}var o=256,a=286,s=30,l=15,c=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],u=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],d=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],p=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],h=new Array(576);i(h);var f=new Array(60);i(f);var m=new Array(512);i(m);var g=new Array(256);i(g);var v=new Array(29);i(v);var y,A,b,w=new Array(s);function x(e,t,n,r,i){this.static_tree=e,this.extra_bits=t,this.extra_base=n,this.elems=r,this.max_length=i,this.has_stree=e&&e.length}function C(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function S(e){return e<256?m[e]:m[256+(e>>>7)]}function k(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function E(e,t,n){e.bi_valid>16-n?(e.bi_buf|=t<<e.bi_valid&65535,k(e,e.bi_buf),e.bi_buf=t>>16-e.bi_valid,e.bi_valid+=n-16):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=n)}function I(e,t,n){E(e,n[2*t],n[2*t+1])}function _(e,t){var n=0;do{n|=1&e,e>>>=1,n<<=1}while(--t>0);return n>>>1}function P(e,t,n){var r,i,o=new Array(16),a=0;for(r=1;r<=l;r++)o[r]=a=a+n[r-1]<<1;for(i=0;i<=t;i++){var s=e[2*i+1];0!==s&&(e[2*i]=_(o[s]++,s))}}function O(e){var t;for(t=0;t<a;t++)e.dyn_ltree[2*t]=0;for(t=0;t<s;t++)e.dyn_dtree[2*t]=0;for(t=0;t<19;t++)e.bl_tree[2*t]=0;e.dyn_ltree[512]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function T(e){e.bi_valid>8?k(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function D(e,t,n,r){var i=2*t,o=2*n;return e[i]<e[o]||e[i]===e[o]&&r[t]<=r[n]}function j(e,t,n){for(var r=e.heap[n],i=n<<1;i<=e.heap_len&&(i<e.heap_len&&D(t,e.heap[i+1],e.heap[i],e.depth)&&i++,!D(t,r,e.heap[i],e.depth));)e.heap[n]=e.heap[i],n=i,i<<=1;e.heap[n]=r}function B(e,t,n){var r,i,a,s,l=0;if(0!==e.last_lit)do{r=e.pending_buf[e.d_buf+2*l]<<8|e.pending_buf[e.d_buf+2*l+1],i=e.pending_buf[e.l_buf+l],l++,0===r?I(e,i,t):(I(e,(a=g[i])+o+1,t),0!==(s=c[a])&&E(e,i-=v[a],s),I(e,a=S(--r),n),0!==(s=u[a])&&E(e,r-=w[a],s))}while(l<e.last_lit);I(e,256,t)}function N(e,t){var n,r,i,o=t.dyn_tree,a=t.stat_desc.static_tree,s=t.stat_desc.has_stree,c=t.stat_desc.elems,u=-1;for(e.heap_len=0,e.heap_max=573,n=0;n<c;n++)0!==o[2*n]?(e.heap[++e.heap_len]=u=n,e.depth[n]=0):o[2*n+1]=0;for(;e.heap_len<2;)o[2*(i=e.heap[++e.heap_len]=u<2?++u:0)]=1,e.depth[i]=0,e.opt_len--,s&&(e.static_len-=a[2*i+1]);for(t.max_code=u,n=e.heap_len>>1;n>=1;n--)j(e,o,n);i=c;do{n=e.heap[1],e.heap[1]=e.heap[e.heap_len--],j(e,o,1),r=e.heap[1],e.heap[--e.heap_max]=n,e.heap[--e.heap_max]=r,o[2*i]=o[2*n]+o[2*r],e.depth[i]=(e.depth[n]>=e.depth[r]?e.depth[n]:e.depth[r])+1,o[2*n+1]=o[2*r+1]=i,e.heap[1]=i++,j(e,o,1)}while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],function(e,t){var n,r,i,o,a,s,c=t.dyn_tree,u=t.max_code,d=t.stat_desc.static_tree,p=t.stat_desc.has_stree,h=t.stat_desc.extra_bits,f=t.stat_desc.extra_base,m=t.stat_desc.max_length,g=0;for(o=0;o<=l;o++)e.bl_count[o]=0;for(c[2*e.heap[e.heap_max]+1]=0,n=e.heap_max+1;n<573;n++)(o=c[2*c[2*(r=e.heap[n])+1]+1]+1)>m&&(o=m,g++),c[2*r+1]=o,r>u||(e.bl_count[o]++,a=0,r>=f&&(a=h[r-f]),s=c[2*r],e.opt_len+=s*(o+a),p&&(e.static_len+=s*(d[2*r+1]+a)));if(0!==g){do{for(o=m-1;0===e.bl_count[o];)o--;e.bl_count[o]--,e.bl_count[o+1]+=2,e.bl_count[m]--,g-=2}while(g>0);for(o=m;0!==o;o--)for(r=e.bl_count[o];0!==r;)(i=e.heap[--n])>u||(c[2*i+1]!==o&&(e.opt_len+=(o-c[2*i+1])*c[2*i],c[2*i+1]=o),r--)}}(e,t),P(o,u,e.bl_count)}function M(e,t,n){var r,i,o=-1,a=t[1],s=0,l=7,c=4;for(0===a&&(l=138,c=3),t[2*(n+1)+1]=65535,r=0;r<=n;r++)i=a,a=t[2*(r+1)+1],++s<l&&i===a||(s<c?e.bl_tree[2*i]+=s:0!==i?(i!==o&&e.bl_tree[2*i]++,e.bl_tree[32]++):s<=10?e.bl_tree[34]++:e.bl_tree[36]++,s=0,o=i,0===a?(l=138,c=3):i===a?(l=6,c=3):(l=7,c=4))}function R(e,t,n){var r,i,o=-1,a=t[1],s=0,l=7,c=4;for(0===a&&(l=138,c=3),r=0;r<=n;r++)if(i=a,a=t[2*(r+1)+1],!(++s<l&&i===a)){if(s<c)do{I(e,i,e.bl_tree)}while(0!==--s);else 0!==i?(i!==o&&(I(e,i,e.bl_tree),s--),I(e,16,e.bl_tree),E(e,s-3,2)):s<=10?(I(e,17,e.bl_tree),E(e,s-3,3)):(I(e,18,e.bl_tree),E(e,s-11,7));s=0,o=i,0===a?(l=138,c=3):i===a?(l=6,c=3):(l=7,c=4)}}i(w);var L=!1;function F(e,t,n,i){E(e,0+(i?1:0),3),function(e,t,n,i){T(e),i&&(k(e,n),k(e,~n)),r.arraySet(e.pending_buf,e.window,t,n,e.pending),e.pending+=n}(e,t,n,!0)}t._tr_init=function(e){L||(!function(){var e,t,n,r,i,o=new Array(16);for(n=0,r=0;r<28;r++)for(v[r]=n,e=0;e<1<<c[r];e++)g[n++]=r;for(g[n-1]=r,i=0,r=0;r<16;r++)for(w[r]=i,e=0;e<1<<u[r];e++)m[i++]=r;for(i>>=7;r<s;r++)for(w[r]=i<<7,e=0;e<1<<u[r]-7;e++)m[256+i++]=r;for(t=0;t<=l;t++)o[t]=0;for(e=0;e<=143;)h[2*e+1]=8,e++,o[8]++;for(;e<=255;)h[2*e+1]=9,e++,o[9]++;for(;e<=279;)h[2*e+1]=7,e++,o[7]++;for(;e<=287;)h[2*e+1]=8,e++,o[8]++;for(P(h,287,o),e=0;e<s;e++)f[2*e+1]=5,f[2*e]=_(e,5);y=new x(h,c,257,a,l),A=new x(f,u,0,s,l),b=new x(new Array(0),d,0,19,7)}(),L=!0),e.l_desc=new C(e.dyn_ltree,y),e.d_desc=new C(e.dyn_dtree,A),e.bl_desc=new C(e.bl_tree,b),e.bi_buf=0,e.bi_valid=0,O(e)},t._tr_stored_block=F,t._tr_flush_block=function(e,t,n,r){var i,a,s=0;e.level>0?(2===e.strm.data_type&&(e.strm.data_type=function(e){var t,n=4093624447;for(t=0;t<=31;t++,n>>>=1)if(1&n&&0!==e.dyn_ltree[2*t])return 0;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return 1;for(t=32;t<o;t++)if(0!==e.dyn_ltree[2*t])return 1;return 0}(e)),N(e,e.l_desc),N(e,e.d_desc),s=function(e){var t;for(M(e,e.dyn_ltree,e.l_desc.max_code),M(e,e.dyn_dtree,e.d_desc.max_code),N(e,e.bl_desc),t=18;t>=3&&0===e.bl_tree[2*p[t]+1];t--);return e.opt_len+=3*(t+1)+5+5+4,t}(e),i=e.opt_len+3+7>>>3,(a=e.static_len+3+7>>>3)<=i&&(i=a)):i=a=n+5,n+4<=i&&-1!==t?F(e,t,n,r):4===e.strategy||a===i?(E(e,2+(r?1:0),3),B(e,h,f)):(E(e,4+(r?1:0),3),function(e,t,n,r){var i;for(E(e,t-257,5),E(e,n-1,5),E(e,r-4,4),i=0;i<r;i++)E(e,e.bl_tree[2*p[i]+1],3);R(e,e.dyn_ltree,t-1),R(e,e.dyn_dtree,n-1)}(e,e.l_desc.max_code+1,e.d_desc.max_code+1,s+1),B(e,e.dyn_ltree,e.dyn_dtree)),O(e),r&&T(e)},t._tr_tally=function(e,t,n){return e.pending_buf[e.d_buf+2*e.last_lit]=t>>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&t,e.pending_buf[e.l_buf+e.last_lit]=255&n,e.last_lit++,0===t?e.dyn_ltree[2*n]++:(e.matches++,t--,e.dyn_ltree[2*(g[n]+o+1)]++,e.dyn_dtree[2*S(t)]++),e.last_lit===e.lit_bufsize-1},t._tr_align=function(e){E(e,2,3),I(e,256,h),function(e){16===e.bi_valid?(k(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)}(e)}},46864:e=>{"use strict";e.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},46223:e=>{e.exports=function(e){var i=[];return e.replace(n,(function(e,n,o){var a=n.toLowerCase();for(o=function(e){var t=e.match(r);return t?t.map(Number):[]}(o),"m"==a&&o.length>2&&(i.push([n].concat(o.splice(0,2))),a="l",n="m"==n?"l":"L");;){if(o.length==t[a])return o.unshift(n),i.push(o);if(o.length<t[a])throw new Error("malformed path data");i.push([n].concat(o.splice(0,t[a])))}})),i};var t={a:7,c:6,h:1,l:2,m:2,q:4,s:4,t:2,v:1,z:0},n=/([astvzqmhlc])([^astvzqmhlc]*)/gi;var r=/-?[0-9]*\.?[0-9]+(?:e[-+]?\d+)?/gi},55951:(e,t,n)=>{"use strict";n.d(t,{e$:()=>U,Vl:()=>V,bJ:()=>q,J1:()=>G,a:()=>H,iv:()=>Y,Qw:()=>K,No:()=>J});var r=n(58168),i=n(9417),o=n(77387),a=n(53954),s=n(63662);var l=n(52176);function c(e){var t="function"==typeof Map?new Map:void 0;return c=function(e){if(null===e||!function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return function(e,t,n){if((0,l.A)())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,t);var i=new(e.bind.apply(e,r));return n&&(0,s.A)(i,n.prototype),i}(e,arguments,(0,a.A)(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),(0,s.A)(n,e)},c(e)}var u=function(e){function t(t){var n;return n=e.call(this,"An error occurred. See https://github.com/styled-components/polished/blob/main/src/internalHelpers/errors.md#"+t+" for more information.")||this,(0,i.A)(n)}return(0,o.A)(t,e),t}(c(Error));function d(e,t){return e.substr(-t.length)===t}var p=/^([+-]?(?:\d+|\d*\.\d+))([a-z]*|%)$/;function h(e){return"string"!==typeof e?e:e.match(p)?parseFloat(e):e}var f=function(e){return function(t,n){void 0===n&&(n="16px");var r=t,i=n;if("string"===typeof t){if(!d(t,"px"))throw new u(69,e,t);r=h(t)}if("string"===typeof n){if(!d(n,"px"))throw new u(70,e,n);i=h(n)}if("string"===typeof r)throw new u(71,t,e);if("string"===typeof i)throw new u(72,n,e);return""+r/i+e}};f("em");f("rem");function m(e){return Math.round(255*e)}function g(e,t,n){return m(e)+","+m(t)+","+m(n)}function v(e,t,n,r){if(void 0===r&&(r=g),0===t)return r(n,n,n);var i=(e%360+360)%360/60,o=(1-Math.abs(2*n-1))*t,a=o*(1-Math.abs(i%2-1)),s=0,l=0,c=0;i>=0&&i<1?(s=o,l=a):i>=1&&i<2?(s=a,l=o):i>=2&&i<3?(l=o,c=a):i>=3&&i<4?(l=a,c=o):i>=4&&i<5?(s=a,c=o):i>=5&&i<6&&(s=o,c=a);var u=n-o/2;return r(s+u,l+u,c+u)}var y={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};var A=/^#[a-fA-F0-9]{6}$/,b=/^#[a-fA-F0-9]{8}$/,w=/^#[a-fA-F0-9]{3}$/,x=/^#[a-fA-F0-9]{4}$/,C=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,S=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,k=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,E=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function I(e){if("string"!==typeof e)throw new u(3);var t=function(e){if("string"!==typeof e)return e;var t=e.toLowerCase();return y[t]?"#"+y[t]:e}(e);if(t.match(A))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(b)){var n=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alpha:n}}if(t.match(w))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(x)){var r=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:r}}var i=C.exec(t);if(i)return{red:parseInt(""+i[1],10),green:parseInt(""+i[2],10),blue:parseInt(""+i[3],10)};var o=S.exec(t.substring(0,50));if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10),alpha:parseFloat(""+o[4])>1?parseFloat(""+o[4])/100:parseFloat(""+o[4])};var a=k.exec(t);if(a){var s="rgb("+v(parseInt(""+a[1],10),parseInt(""+a[2],10)/100,parseInt(""+a[3],10)/100)+")",l=C.exec(s);if(!l)throw new u(4,t,s);return{red:parseInt(""+l[1],10),green:parseInt(""+l[2],10),blue:parseInt(""+l[3],10)}}var c=E.exec(t.substring(0,50));if(c){var d="rgb("+v(parseInt(""+c[1],10),parseInt(""+c[2],10)/100,parseInt(""+c[3],10)/100)+")",p=C.exec(d);if(!p)throw new u(4,t,d);return{red:parseInt(""+p[1],10),green:parseInt(""+p[2],10),blue:parseInt(""+p[3],10),alpha:parseFloat(""+c[4])>1?parseFloat(""+c[4])/100:parseFloat(""+c[4])}}throw new u(5)}function _(e){return function(e){var t,n=e.red/255,r=e.green/255,i=e.blue/255,o=Math.max(n,r,i),a=Math.min(n,r,i),s=(o+a)/2;if(o===a)return void 0!==e.alpha?{hue:0,saturation:0,lightness:s,alpha:e.alpha}:{hue:0,saturation:0,lightness:s};var l=o-a,c=s>.5?l/(2-o-a):l/(o+a);switch(o){case n:t=(r-i)/l+(r<i?6:0);break;case r:t=(i-n)/l+2;break;default:t=(n-r)/l+4}return t*=60,void 0!==e.alpha?{hue:t,saturation:c,lightness:s,alpha:e.alpha}:{hue:t,saturation:c,lightness:s}}(I(e))}var P=function(e){return 7===e.length&&e[1]===e[2]&&e[3]===e[4]&&e[5]===e[6]?"#"+e[1]+e[3]+e[5]:e};function O(e){var t=e.toString(16);return 1===t.length?"0"+t:t}function T(e){return O(Math.round(255*e))}function D(e,t,n){return P("#"+T(e)+T(t)+T(n))}function j(e,t,n){return v(e,t,n,D)}function B(e,t,n){if("number"===typeof e&&"number"===typeof t&&"number"===typeof n)return j(e,t,n);if("object"===typeof e&&void 0===t&&void 0===n)return j(e.hue,e.saturation,e.lightness);throw new u(1)}function N(e,t,n,r){if("number"===typeof e&&"number"===typeof t&&"number"===typeof n&&"number"===typeof r)return r>=1?j(e,t,n):"rgba("+v(e,t,n)+","+r+")";if("object"===typeof e&&void 0===t&&void 0===n&&void 0===r)return e.alpha>=1?j(e.hue,e.saturation,e.lightness):"rgba("+v(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new u(2)}function M(e,t,n){if("number"===typeof e&&"number"===typeof t&&"number"===typeof n)return P("#"+O(e)+O(t)+O(n));if("object"===typeof e&&void 0===t&&void 0===n)return P("#"+O(e.red)+O(e.green)+O(e.blue));throw new u(6)}function R(e,t,n,r){if("string"===typeof e&&"number"===typeof t){var i=I(e);return"rgba("+i.red+","+i.green+","+i.blue+","+t+")"}if("number"===typeof e&&"number"===typeof t&&"number"===typeof n&&"number"===typeof r)return r>=1?M(e,t,n):"rgba("+e+","+t+","+n+","+r+")";if("object"===typeof e&&void 0===t&&void 0===n&&void 0===r)return e.alpha>=1?M(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")";throw new u(7)}function L(e){if("object"!==typeof e)throw new u(8);if(function(e){return"number"===typeof e.red&&"number"===typeof e.green&&"number"===typeof e.blue&&"number"===typeof e.alpha}(e))return R(e);if(function(e){return"number"===typeof e.red&&"number"===typeof e.green&&"number"===typeof e.blue&&("number"!==typeof e.alpha||"undefined"===typeof e.alpha)}(e))return M(e);if(function(e){return"number"===typeof e.hue&&"number"===typeof e.saturation&&"number"===typeof e.lightness&&"number"===typeof e.alpha}(e))return N(e);if(function(e){return"number"===typeof e.hue&&"number"===typeof e.saturation&&"number"===typeof e.lightness&&("number"!==typeof e.alpha||"undefined"===typeof e.alpha)}(e))return B(e);throw new u(8)}function F(e,t,n){return function(){var r=n.concat(Array.prototype.slice.call(arguments));return r.length>=t?e.apply(this,r):F(e,t,r)}}function z(e){return F(e,e.length,[])}z((function(e,t){if("transparent"===t)return t;var n=_(t);return L((0,r.A)({},n,{hue:n.hue+parseFloat(e)}))}));function Q(e,t,n){return Math.max(e,Math.min(t,n))}var U=z((function(e,t){if("transparent"===t)return t;var n=_(t);return L((0,r.A)({},n,{lightness:Q(0,1,n.lightness-parseFloat(e))}))}));var V=z((function(e,t){if("transparent"===t)return t;var n=_(t);return L((0,r.A)({},n,{saturation:Q(0,1,n.saturation-parseFloat(e))}))}));function G(e){if("transparent"===e)return 0;var t=I(e),n=Object.keys(t).map((function(e){var n=t[e]/255;return n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4)})),r=n[0],i=n[1],o=n[2];return parseFloat((.2126*r+.7152*i+.0722*o).toFixed(3))}function q(e,t){var n=G(e),r=G(t);return parseFloat((n>r?(n+.05)/(r+.05):(r+.05)/(n+.05)).toFixed(2))}var H=z((function(e,t){if("transparent"===t)return t;var n=_(t);return L((0,r.A)({},n,{lightness:Q(0,1,n.lightness+parseFloat(e))}))}));var W=z((function(e,t,n){if("transparent"===t)return n;if("transparent"===n)return t;if(0===e)return n;var i=I(t),o=(0,r.A)({},i,{alpha:"number"===typeof i.alpha?i.alpha:1}),a=I(n),s=(0,r.A)({},a,{alpha:"number"===typeof a.alpha?a.alpha:1}),l=o.alpha-s.alpha,c=2*parseFloat(e)-1,u=((c*l===-1?c:c+l)/(1+c*l)+1)/2,d=1-u;return R({red:Math.floor(o.red*u+s.red*d),green:Math.floor(o.green*u+s.green*d),blue:Math.floor(o.blue*u+s.blue*d),alpha:o.alpha*parseFloat(e)+s.alpha*(1-parseFloat(e))})}));z((function(e,t){if("transparent"===t)return t;var n=I(t),i="number"===typeof n.alpha?n.alpha:1;return R((0,r.A)({},n,{alpha:Q(0,1,(100*i+100*parseFloat(e))/100)}))}));z((function(e,t){if("transparent"===t)return t;var n=_(t);return L((0,r.A)({},n,{saturation:Q(0,1,n.saturation+parseFloat(e))}))}));z((function(e,t){return"transparent"===t?t:L((0,r.A)({},_(t),{hue:parseFloat(e)}))}));var Y=z((function(e,t){return"transparent"===t?t:L((0,r.A)({},_(t),{lightness:parseFloat(e)}))}));z((function(e,t){return"transparent"===t?t:L((0,r.A)({},_(t),{saturation:parseFloat(e)}))}));var K=z((function(e,t){return"transparent"===t?t:W(parseFloat(e),"rgb(0, 0, 0)",t)}));z((function(e,t){return"transparent"===t?t:W(parseFloat(e),"rgb(255, 255, 255)",t)}));var J=z((function(e,t){if("transparent"===t)return t;var n=I(t),i="number"===typeof n.alpha?n.alpha:1;return R((0,r.A)({},n,{alpha:Q(0,1,+(100*i-100*parseFloat(e)).toFixed(2)/100)}))}))},55879:e=>{var t="(".charCodeAt(0),n=")".charCodeAt(0),r="'".charCodeAt(0),i='"'.charCodeAt(0),o="\\".charCodeAt(0),a="/".charCodeAt(0),s=",".charCodeAt(0),l=":".charCodeAt(0),c="*".charCodeAt(0),u="u".charCodeAt(0),d="U".charCodeAt(0),p="+".charCodeAt(0),h=/^[a-f0-9?-]+$/i;e.exports=function(e){for(var f,m,g,v,y,A,b,w,x,C=[],S=e,k=0,E=S.charCodeAt(k),I=S.length,_=[{nodes:C}],P=0,O="",T="",D="";k<I;)if(E<=32){f=k;do{f+=1,E=S.charCodeAt(f)}while(E<=32);v=S.slice(k,f),g=C[C.length-1],E===n&&P?D=v:g&&"div"===g.type?(g.after=v,g.sourceEndIndex+=v.length):E===s||E===l||E===a&&S.charCodeAt(f+1)!==c&&(!x||x&&"function"===x.type&&"calc"!==x.value)?T=v:C.push({type:"space",sourceIndex:k,sourceEndIndex:f,value:v}),k=f}else if(E===r||E===i){f=k,v={type:"string",sourceIndex:k,quote:m=E===r?"'":'"'};do{if(y=!1,~(f=S.indexOf(m,f+1)))for(A=f;S.charCodeAt(A-1)===o;)A-=1,y=!y;else f=(S+=m).length-1,v.unclosed=!0}while(y);v.value=S.slice(k+1,f),v.sourceEndIndex=v.unclosed?f:f+1,C.push(v),k=f+1,E=S.charCodeAt(k)}else if(E===a&&S.charCodeAt(k+1)===c)v={type:"comment",sourceIndex:k,sourceEndIndex:(f=S.indexOf("*/",k))+2},-1===f&&(v.unclosed=!0,f=S.length,v.sourceEndIndex=f),v.value=S.slice(k+2,f),C.push(v),k=f+2,E=S.charCodeAt(k);else if(E!==a&&E!==c||!x||"function"!==x.type||"calc"!==x.value)if(E===a||E===s||E===l)v=S[k],C.push({type:"div",sourceIndex:k-T.length,sourceEndIndex:k+v.length,value:v,before:T,after:""}),T="",k+=1,E=S.charCodeAt(k);else if(t===E){f=k;do{f+=1,E=S.charCodeAt(f)}while(E<=32);if(w=k,v={type:"function",sourceIndex:k-O.length,value:O,before:S.slice(w+1,f)},k=f,"url"===O&&E!==r&&E!==i){f-=1;do{if(y=!1,~(f=S.indexOf(")",f+1)))for(A=f;S.charCodeAt(A-1)===o;)A-=1,y=!y;else f=(S+=")").length-1,v.unclosed=!0}while(y);b=f;do{b-=1,E=S.charCodeAt(b)}while(E<=32);w<b?(v.nodes=k!==b+1?[{type:"word",sourceIndex:k,sourceEndIndex:b+1,value:S.slice(k,b+1)}]:[],v.unclosed&&b+1!==f?(v.after="",v.nodes.push({type:"space",sourceIndex:b+1,sourceEndIndex:f,value:S.slice(b+1,f)})):(v.after=S.slice(b+1,f),v.sourceEndIndex=f)):(v.after="",v.nodes=[]),k=f+1,v.sourceEndIndex=v.unclosed?f:k,E=S.charCodeAt(k),C.push(v)}else P+=1,v.after="",v.sourceEndIndex=k+1,C.push(v),_.push(v),C=v.nodes=[],x=v;O=""}else if(n===E&&P)k+=1,E=S.charCodeAt(k),x.after=D,x.sourceEndIndex+=D.length,D="",P-=1,_[_.length-1].sourceEndIndex=k,_.pop(),C=(x=_[P]).nodes;else{f=k;do{E===o&&(f+=1),f+=1,E=S.charCodeAt(f)}while(f<I&&!(E<=32||E===r||E===i||E===s||E===l||E===a||E===t||E===c&&x&&"function"===x.type&&"calc"===x.value||E===a&&"function"===x.type&&"calc"===x.value||E===n&&P));v=S.slice(k,f),t===E?O=v:u!==v.charCodeAt(0)&&d!==v.charCodeAt(0)||p!==v.charCodeAt(1)||!h.test(v.slice(2))?C.push({type:"word",sourceIndex:k,sourceEndIndex:f,value:v}):C.push({type:"unicode-range",sourceIndex:k,sourceEndIndex:f,value:v}),k=f}else v=S[k],C.push({type:"word",sourceIndex:k-T.length,sourceEndIndex:k+v.length,value:v}),k+=1,E=S.charCodeAt(k);for(k=_.length-1;k;k-=1)_[k].unclosed=!0,_[k].sourceEndIndex=S.length;return _[0].nodes}},33288:e=>{var t="-".charCodeAt(0),n="+".charCodeAt(0),r=".".charCodeAt(0),i="e".charCodeAt(0),o="E".charCodeAt(0);e.exports=function(e){var a,s,l,c=0,u=e.length;if(0===u||!function(e){var i,o=e.charCodeAt(0);if(o===n||o===t){if((i=e.charCodeAt(1))>=48&&i<=57)return!0;var a=e.charCodeAt(2);return i===r&&a>=48&&a<=57}return o===r?(i=e.charCodeAt(1))>=48&&i<=57:o>=48&&o<=57}(e))return!1;for((a=e.charCodeAt(c))!==n&&a!==t||c++;c<u&&!((a=e.charCodeAt(c))<48||a>57);)c+=1;if(a=e.charCodeAt(c),s=e.charCodeAt(c+1),a===r&&s>=48&&s<=57)for(c+=2;c<u&&!((a=e.charCodeAt(c))<48||a>57);)c+=1;if(a=e.charCodeAt(c),s=e.charCodeAt(c+1),l=e.charCodeAt(c+2),(a===i||a===o)&&(s>=48&&s<=57||(s===n||s===t)&&l>=48&&l<=57))for(c+=s===n||s===t?3:2;c<u&&!((a=e.charCodeAt(c))<48||a>57);)c+=1;return{number:e.slice(0,c),unit:e.slice(c)}}},43488:(e,t,n)=>{"use strict";var r=n(93959);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,o,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:i};return n.PropTypes=n,n}},11942:(e,t,n)=>{e.exports=n(43488)()},93959:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},16874:(e,t,n)=>{var r=n(61596),i=n(28981).EventEmitter;function o(e){if(!(this instanceof o))return new o(e);i.call(this),e=e||{},this.concurrency=e.concurrency||1/0,this.timeout=e.timeout||0,this.autostart=e.autostart||!1,this.results=e.results||null,this.pending=0,this.session=0,this.running=!1,this.jobs=[],this.timers={}}e.exports=o,e.exports.default=o,r(o,i);["pop","shift","indexOf","lastIndexOf"].forEach((function(e){o.prototype[e]=function(){return Array.prototype[e].apply(this.jobs,arguments)}})),o.prototype.slice=function(e,t){return this.jobs=this.jobs.slice(e,t),this},o.prototype.reverse=function(){return this.jobs.reverse(),this};function a(){for(var e in this.timers){var t=this.timers[e];delete this.timers[e],clearTimeout(t)}}function s(e){var t=this;function n(e){t.end(e)}this.on("error",n),this.on("end",(function r(i){t.removeListener("error",n),t.removeListener("end",r),e(i,this.results)}))}function l(e){this.session++,this.running=!1,this.emit("end",e)}["push","unshift","splice"].forEach((function(e){o.prototype[e]=function(){var t=Array.prototype[e].apply(this.jobs,arguments);return this.autostart&&this.start(),t}})),Object.defineProperty(o.prototype,"length",{get:function(){return this.pending+this.jobs.length}}),o.prototype.start=function(e){if(e&&s.call(this,e),this.running=!0,!(this.pending>=this.concurrency))if(0!==this.jobs.length){var t=this,n=this.jobs.shift(),r=!0,i=this.session,o=null,a=!1,c=null,u=n.hasOwnProperty("timeout")?n.timeout:this.timeout;u&&(o=setTimeout((function(){a=!0,t.listeners("timeout").length>0?t.emit("timeout",p,n):p()}),u),this.timers[o]=o),this.results&&(c=this.results.length,this.results[c]=null),this.pending++,t.emit("start",n);var d=n(p);d&&d.then&&"function"===typeof d.then&&d.then((function(e){return p(null,e)})).catch((function(e){return p(e||!0)})),this.running&&this.jobs.length>0&&this.start()}else 0===this.pending&&l.call(this);function p(e,s){r&&t.session===i&&(r=!1,t.pending--,null!==o&&(delete t.timers[o],clearTimeout(o)),e?t.emit("error",e,n):!1===a&&(null!==c&&(t.results[c]=Array.prototype.slice.call(arguments,1)),t.emit("success",s,n)),t.session===i&&(0===t.pending&&0===t.jobs.length?l.call(t):t.running&&t.start()))}},o.prototype.stop=function(){this.running=!1},o.prototype.end=function(e){a.call(this),this.jobs.length=0,this.pending=0,l.call(this,e)}},72348:function(e,t,n){!function(e,t,n,r,i,o,a,s,l,c,u,d,p,h,f,m,g,v,y,A,b,w,x,C,S,k,E,I,_,P,O,T,D,j,B,N,M,R,L,F,z,Q,U,V,G,q,H,W,Y,K,J,X,Z,$,ee,te,ne,re,ie,oe,ae,se,le,ce,ue){"use strict";function de(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var pe=de(n),he=de(ue),fe=function(e,t){return fe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},fe(e,t)};function me(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}fe(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var ge=function(){return ge=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},ge.apply(this,arguments)};function ve(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}"function"==typeof SuppressedError&&SuppressedError;var ye,Ae=function(e){var t=e.showTimeSelectOnly,n=void 0!==t&&t,r=e.showTime,i=void 0!==r&&r,o=e.className,a=e.children,s=n?"Choose Time":"Choose Date".concat(i?" and Time":"");return pe.default.createElement("div",{className:o,role:"dialog","aria-label":s,"aria-modal":"true"},a)},be=function(e){var t=e.children,r=e.onClickOutside,i=e.className,o=e.containerRef,a=e.style,s=function(e,t){var r=n.useRef(null),i=n.useRef(e);i.current=e;var o=n.useCallback((function(e){var n;r.current&&!r.current.contains(e.target)&&(t&&e.target instanceof HTMLElement&&e.target.classList.contains(t)||null===(n=i.current)||void 0===n||n.call(i,e))}),[t]);return n.useEffect((function(){return document.addEventListener("mousedown",o),function(){document.removeEventListener("mousedown",o)}}),[o]),r}(r,e.ignoreClass);return pe.default.createElement("div",{className:i,style:a,ref:function(e){s.current=e,o&&(o.current=e)}},t)};function we(){return"undefined"!=typeof window?window:globalThis}!function(e){e.ArrowUp="ArrowUp",e.ArrowDown="ArrowDown",e.ArrowLeft="ArrowLeft",e.ArrowRight="ArrowRight",e.PageUp="PageUp",e.PageDown="PageDown",e.Home="Home",e.End="End",e.Enter="Enter",e.Space=" ",e.Tab="Tab",e.Escape="Escape",e.Backspace="Backspace",e.X="x"}(ye||(ye={}));var xe=12,Ce=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g;function Se(e){if(null==e)return new Date;var t="string"==typeof e?G.parseISO(e):le.toDate(e);return Ee(t)?t:new Date}function ke(e,t,n,r,i){var o,a=null,s=qe(n)||qe(Ge()),l=!0;if(Array.isArray(t))return t.forEach((function(t){var o=V.parse(e,t,new Date,{locale:s,useAdditionalWeekYearTokens:!0,useAdditionalDayOfYearTokens:!0});r&&(l=Ee(o,i)&&e===Ie(o,t,n)),Ee(o,i)&&l&&(a=o)})),a;if(a=V.parse(e,t,new Date,{locale:s,useAdditionalWeekYearTokens:!0,useAdditionalDayOfYearTokens:!0}),r)l=Ee(a)&&e===Ie(a,t,n);else if(!Ee(a)){var c=(null!==(o=t.match(Ce))&&void 0!==o?o:[]).map((function(e){var t=e[0];if("p"===t||"P"===t){var n=b.longFormatters[t];return s?n(e,s.formatLong):t}return e})).join("");e.length>0&&(a=V.parse(e,c.slice(0,e.length),new Date,{useAdditionalWeekYearTokens:!0,useAdditionalDayOfYearTokens:!0})),Ee(a)||(a=new Date(e))}return Ee(a)&&l?a:null}function Ee(e,t){return F.isValid(e)&&!D.isBefore(e,null!=t?t:new Date("1/1/1800"))}function Ie(e,t,n){if("en"===n)return b.format(e,t,{useAdditionalWeekYearTokens:!0,useAdditionalDayOfYearTokens:!0});var r=n?qe(n):void 0;return n&&!r&&console.warn('A locale object was not found for the provided string ["'.concat(n,'"].')),!r&&Ge()&&qe(Ge())&&(r=qe(Ge())),b.format(e,t,{locale:r,useAdditionalWeekYearTokens:!0,useAdditionalDayOfYearTokens:!0})}function _e(e,t){var n=t.dateFormat,r=t.locale,i=Array.isArray(n)&&n.length>0?n[0]:n;return e&&Ie(e,i,r)||""}function Pe(e,t){var n=t.hour,r=void 0===n?0:n,i=t.minute,o=void 0===i?0:i,a=t.second,s=void 0===a?0:a;return H.setHours(W.setMinutes(J.setSeconds(e,s),o),r)}function Oe(e){return Z.startOfDay(e)}function Te(e,t,n){var r=qe(t||Ge());return te.startOfWeek(e,{locale:r,weekStartsOn:n})}function De(e){return $.startOfMonth(e)}function je(e){return ne.startOfYear(e)}function Be(e){return ee.startOfQuarter(e)}function Ne(){return Z.startOfDay(Se())}function Me(e){return g.endOfDay(e)}function Re(e){return v.endOfMonth(e)}function Le(e,t){return e&&t?L.isSameYear(e,t):!e&&!t}function Fe(e,t){return e&&t?M.isSameMonth(e,t):!e&&!t}function ze(e,t){return e&&t?R.isSameQuarter(e,t):!e&&!t}function Qe(e,t){return e&&t?N.isSameDay(e,t):!e&&!t}function Ue(e,t){return e&&t?B.isEqual(e,t):!e&&!t}function Ve(e,t,n){var r,i=Z.startOfDay(t),o=g.endOfDay(n);try{r=z.isWithinInterval(e,{start:i,end:o})}catch(e){r=!1}return r}function Ge(){return we().__localeId__}function qe(e){if("string"==typeof e){var t=we();return t.__localeData__?t.__localeData__[e]:void 0}return e}function He(e,t){return Ie(Y.setMonth(Se(),e),"LLLL",t)}function We(e,t){return Ie(Y.setMonth(Se(),e),"LLL",t)}function Ye(e,t){var n=void 0===t?{}:t,r=n.minDate,i=n.maxDate,o=n.excludeDates,a=n.excludeDateIntervals,s=n.includeDates,l=n.includeDateIntervals,c=n.filterDate;return rt(e,{minDate:r,maxDate:i})||o&&o.some((function(t){return t instanceof Date?Qe(e,t):Qe(e,t.date)}))||a&&a.some((function(t){var n=t.start,r=t.end;return z.isWithinInterval(e,{start:n,end:r})}))||s&&!s.some((function(t){return Qe(e,t)}))||l&&!l.some((function(t){var n=t.start,r=t.end;return z.isWithinInterval(e,{start:n,end:r})}))||c&&!c(Se(e))||!1}function Ke(e,t){var n=void 0===t?{}:t,r=n.excludeDates,i=n.excludeDateIntervals;return i&&i.length>0?i.some((function(t){var n=t.start,r=t.end;return z.isWithinInterval(e,{start:n,end:r})})):r&&r.some((function(t){var n;return t instanceof Date?Qe(e,t):Qe(e,null!==(n=t.date)&&void 0!==n?n:new Date)}))||!1}function Je(e,t){var n=void 0===t?{}:t,r=n.minDate,i=n.maxDate,o=n.excludeDates,a=n.includeDates,s=n.filterDate;return rt(e,{minDate:r?$.startOfMonth(r):void 0,maxDate:i?v.endOfMonth(i):void 0})||(null==o?void 0:o.some((function(t){return Fe(e,t instanceof Date?t:t.date)})))||a&&!a.some((function(t){return Fe(e,t)}))||s&&!s(Se(e))||!1}function Xe(e,t,n,r){var i=O.getYear(e),o=E.getMonth(e),a=O.getYear(t),s=E.getMonth(t),l=O.getYear(r);return i===a&&i===l?o<=n&&n<=s:i<a&&(l===i&&o<=n||l===a&&s>=n||l<a&&l>i)}function Ze(e,t){var n=void 0===t?{}:t,r=n.minDate,i=n.maxDate,o=n.excludeDates,a=n.includeDates;return rt(e,{minDate:r,maxDate:i})||o&&o.some((function(t){return Fe(t instanceof Date?t:t.date,e)}))||a&&!a.some((function(t){return Fe(t,e)}))||!1}function $e(e,t){var n=void 0===t?{}:t,r=n.minDate,i=n.maxDate,o=n.excludeDates,a=n.includeDates,s=n.filterDate;return rt(e,{minDate:r,maxDate:i})||(null==o?void 0:o.some((function(t){return ze(e,t instanceof Date?t:t.date)})))||a&&!a.some((function(t){return ze(e,t)}))||s&&!s(Se(e))||!1}function et(e,t,n){if(!t||!n)return!1;if(!F.isValid(t)||!F.isValid(n))return!1;var r=O.getYear(t),i=O.getYear(n);return r<=e&&i>=e}function tt(e,t){var n=void 0===t?{}:t,r=n.minDate,i=n.maxDate,o=n.excludeDates,a=n.includeDates,s=n.filterDate,l=new Date(e,0,1);return rt(l,{minDate:r?ne.startOfYear(r):void 0,maxDate:i?A.endOfYear(i):void 0})||(null==o?void 0:o.some((function(e){return Le(l,e instanceof Date?e:e.date)})))||a&&!a.some((function(e){return Le(l,e)}))||s&&!s(Se(l))||!1}function nt(e,t,n,r){var i=O.getYear(e),o=I.getQuarter(e),a=O.getYear(t),s=I.getQuarter(t),l=O.getYear(r);return i===a&&i===l?o<=n&&n<=s:i<a&&(l===i&&o<=n||l===a&&s>=n||l<a&&l>i)}function rt(e,t){var n,r=void 0===t?{}:t,i=r.minDate,o=r.maxDate;return null!==(n=i&&p.differenceInCalendarDays(e,i)<0||o&&p.differenceInCalendarDays(e,o)>0)&&void 0!==n&&n}function it(e,t){return t.some((function(t){return C.getHours(t)===C.getHours(e)&&k.getMinutes(t)===k.getMinutes(e)&&_.getSeconds(t)===_.getSeconds(e)}))}function ot(e,t){var n=void 0===t?{}:t,r=n.excludeTimes,i=n.includeTimes,o=n.filterTime;return r&&it(e,r)||i&&!it(e,i)||o&&!o(e)||!1}function at(e,t){var n=t.minTime,r=t.maxTime;if(!n||!r)throw new Error("Both minTime and maxTime props required");var i=Se();i=H.setHours(i,C.getHours(e)),i=W.setMinutes(i,k.getMinutes(e)),i=J.setSeconds(i,_.getSeconds(e));var o=Se();o=H.setHours(o,C.getHours(n)),o=W.setMinutes(o,k.getMinutes(n)),o=J.setSeconds(o,_.getSeconds(n));var a,s=Se();s=H.setHours(s,C.getHours(r)),s=W.setMinutes(s,k.getMinutes(r)),s=J.setSeconds(s,_.getSeconds(r));try{a=!z.isWithinInterval(i,{start:o,end:s})}catch(e){a=!1}return a}function st(e,t){var n=void 0===t?{}:t,r=n.minDate,i=n.includeDates,o=ie.subMonths(e,1);return r&&h.differenceInCalendarMonths(r,o)>0||i&&i.every((function(e){return h.differenceInCalendarMonths(e,o)>0}))||!1}function lt(e,t){var n=void 0===t?{}:t,r=n.maxDate,i=n.includeDates,o=s.addMonths(e,1);return r&&h.differenceInCalendarMonths(o,r)>0||i&&i.every((function(e){return h.differenceInCalendarMonths(o,e)>0}))||!1}function ct(e,t){var n=void 0===t?{}:t,r=n.minDate,i=n.includeDates,o=se.subYears(e,1);return r&&m.differenceInCalendarYears(r,o)>0||i&&i.every((function(e){return m.differenceInCalendarYears(e,o)>0}))||!1}function ut(e,t){var n=void 0===t?{}:t,r=n.maxDate,i=n.includeDates,o=d.addYears(e,1);return r&&m.differenceInCalendarYears(o,r)>0||i&&i.every((function(e){return m.differenceInCalendarYears(o,e)>0}))||!1}function dt(e){var t=e.minDate,n=e.includeDates;if(n&&t){var r=n.filter((function(e){return p.differenceInCalendarDays(e,t)>=0}));return U.min(r)}return n?U.min(n):t}function pt(e){var t=e.maxDate,n=e.includeDates;if(n&&t){var r=n.filter((function(e){return p.differenceInCalendarDays(e,t)<=0}));return Q.max(r)}return n?Q.max(n):t}function ht(e,t){var n;void 0===e&&(e=[]),void 0===t&&(t="react-datepicker__day--highlighted");for(var r=new Map,i=0,o=e.length;i<o;i++){var a=e[i];if(j.isDate(a)){var s=Ie(a,"MM.dd.yyyy");(p=r.get(s)||[]).includes(t)||(p.push(t),r.set(s,p))}else if("object"==typeof a){var l=null!==(n=Object.keys(a)[0])&&void 0!==n?n:"",c=a[l];if("string"==typeof l&&Array.isArray(c))for(var u=0,d=c.length;u<d;u++){var p,h=c[u];h&&(s=Ie(h,"MM.dd.yyyy"),(p=r.get(s)||[]).includes(l)||(p.push(l),r.set(s,p)))}}}return r}function ft(e,t){void 0===e&&(e=[]),void 0===t&&(t="react-datepicker__day--holidays");var n=new Map;return e.forEach((function(e){var r=e.date,i=e.holidayName;if(j.isDate(r)){var o=Ie(r,"MM.dd.yyyy"),a=n.get(o)||{className:"",holidayNames:[]};if(!("className"in a)||a.className!==t||(s=a.holidayNames,l=[i],s.length!==l.length||!s.every((function(e,t){return e===l[t]})))){var s,l;a.className=t;var c=a.holidayNames;a.holidayNames=c?ve(ve([],c,!0),[i],!1):[i],n.set(o,a)}}})),n}function mt(e,t,n,r,i){for(var s=i.length,l=[],u=0;u<s;u++){var d=e,p=i[u];p&&(d=o.addHours(d,C.getHours(p)),d=a.addMinutes(d,k.getMinutes(p)),d=c.addSeconds(d,_.getSeconds(p)));var h=a.addMinutes(e,(n+1)*r);T.isAfter(d,t)&&D.isBefore(d,h)&&null!=p&&l.push(p)}return l}function gt(e){return e<10?"0".concat(e):"".concat(e)}function vt(e,t){void 0===t&&(t=xe);var n=Math.ceil(O.getYear(e)/t)*t;return{startPeriod:n-(t-1),endPeriod:n}}function yt(e){var t=e.getSeconds(),n=e.getMilliseconds();return le.toDate(e.getTime()-1e3*t-n)}function At(e){if(!j.isDate(e))throw new Error("Invalid date");var t=new Date(e);return t.setHours(0,0,0,0),t}function bt(e,t){if(!j.isDate(e)||!j.isDate(t))throw new Error("Invalid date received");var n=At(e),r=At(t);return D.isBefore(n,r)}function wt(e){return e.key===ye.Space}var xt,Ct=function(e){function t(t){var r=e.call(this,t)||this;return r.inputRef=pe.default.createRef(),r.onTimeChange=function(e){var t,n;r.setState({time:e});var i=r.props.date,o=i instanceof Date&&!isNaN(+i)?i:new Date;if(null==e?void 0:e.includes(":")){var a=e.split(":"),s=a[0],l=a[1];o.setHours(Number(s)),o.setMinutes(Number(l))}null===(n=(t=r.props).onChange)||void 0===n||n.call(t,o)},r.renderTimeInput=function(){var e=r.state.time,t=r.props,i=t.date,o=t.timeString,a=t.customTimeInput;return a?n.cloneElement(a,{date:i,value:e,onChange:r.onTimeChange}):pe.default.createElement("input",{type:"time",className:"react-datepicker-time__input",placeholder:"Time",name:"time-input",ref:r.inputRef,onClick:function(){var e;null===(e=r.inputRef.current)||void 0===e||e.focus()},required:!0,value:e,onChange:function(e){r.onTimeChange(e.target.value||o)}})},r.state={time:r.props.timeString},r}return me(t,e),t.getDerivedStateFromProps=function(e,t){return e.timeString!==t.time?{time:e.timeString}:null},t.prototype.render=function(){return pe.default.createElement("div",{className:"react-datepicker__input-time-container"},pe.default.createElement("div",{className:"react-datepicker-time__caption"},this.props.timeInputLabel),pe.default.createElement("div",{className:"react-datepicker-time__input-container"},pe.default.createElement("div",{className:"react-datepicker-time__input"},this.renderTimeInput())))},t}(n.Component),St=function(e){function r(){var r=null!==e&&e.apply(this,arguments)||this;return r.dayEl=n.createRef(),r.handleClick=function(e){!r.isDisabled()&&r.props.onClick&&r.props.onClick(e)},r.handleMouseEnter=function(e){!r.isDisabled()&&r.props.onMouseEnter&&r.props.onMouseEnter(e)},r.handleOnKeyDown=function(e){var t,n;e.key===ye.Space&&(e.preventDefault(),e.key=ye.Enter),null===(n=(t=r.props).handleOnKeyDown)||void 0===n||n.call(t,e)},r.isSameDay=function(e){return Qe(r.props.day,e)},r.isKeyboardSelected=function(){var e;if(r.props.disabledKeyboardNavigation)return!1;var t=r.props.selectsMultiple?null===(e=r.props.selectedDates)||void 0===e?void 0:e.some((function(e){return r.isSameDayOrWeek(e)})):r.isSameDayOrWeek(r.props.selected),n=r.props.preSelection&&r.isDisabled(r.props.preSelection);return!t&&r.isSameDayOrWeek(r.props.preSelection)&&!n},r.isDisabled=function(e){return void 0===e&&(e=r.props.day),Ye(e,{minDate:r.props.minDate,maxDate:r.props.maxDate,excludeDates:r.props.excludeDates,excludeDateIntervals:r.props.excludeDateIntervals,includeDateIntervals:r.props.includeDateIntervals,includeDates:r.props.includeDates,filterDate:r.props.filterDate})},r.isExcluded=function(){return Ke(r.props.day,{excludeDates:r.props.excludeDates,excludeDateIntervals:r.props.excludeDateIntervals})},r.isStartOfWeek=function(){return Qe(r.props.day,Te(r.props.day,r.props.locale,r.props.calendarStartDay))},r.isSameWeek=function(e){return r.props.showWeekPicker&&Qe(e,Te(r.props.day,r.props.locale,r.props.calendarStartDay))},r.isSameDayOrWeek=function(e){return r.isSameDay(e)||r.isSameWeek(e)},r.getHighLightedClass=function(){var e=r.props,t=e.day,n=e.highlightDates;if(!n)return!1;var i=Ie(t,"MM.dd.yyyy");return n.get(i)},r.getHolidaysClass=function(){var e,t=r.props,n=t.day,i=t.holidays;if(!i)return[void 0];var o=Ie(n,"MM.dd.yyyy");return i.has(o)?[null===(e=i.get(o))||void 0===e?void 0:e.className]:[void 0]},r.isInRange=function(){var e=r.props,t=e.day,n=e.startDate,i=e.endDate;return!(!n||!i)&&Ve(t,n,i)},r.isInSelectingRange=function(){var e,t=r.props,n=t.day,i=t.selectsStart,o=t.selectsEnd,a=t.selectsRange,s=t.selectsDisabledDaysInRange,l=t.startDate,c=t.endDate,u=null!==(e=r.props.selectingDate)&&void 0!==e?e:r.props.preSelection;return!(!(i||o||a)||!u||!s&&r.isDisabled())&&(i&&c&&(D.isBefore(u,c)||Ue(u,c))?Ve(n,u,c):(o&&l&&(T.isAfter(u,l)||Ue(u,l))||!(!a||!l||c||!T.isAfter(u,l)&&!Ue(u,l)))&&Ve(n,l,u))},r.isSelectingRangeStart=function(){var e;if(!r.isInSelectingRange())return!1;var t=r.props,n=t.day,i=t.startDate,o=t.selectsStart,a=null!==(e=r.props.selectingDate)&&void 0!==e?e:r.props.preSelection;return Qe(n,o?a:i)},r.isSelectingRangeEnd=function(){var e;if(!r.isInSelectingRange())return!1;var t=r.props,n=t.day,i=t.endDate,o=t.selectsEnd,a=t.selectsRange,s=null!==(e=r.props.selectingDate)&&void 0!==e?e:r.props.preSelection;return Qe(n,o||a?s:i)},r.isRangeStart=function(){var e=r.props,t=e.day,n=e.startDate,i=e.endDate;return!(!n||!i)&&Qe(n,t)},r.isRangeEnd=function(){var e=r.props,t=e.day,n=e.startDate,i=e.endDate;return!(!n||!i)&&Qe(i,t)},r.isWeekend=function(){var e=x.getDay(r.props.day);return 0===e||6===e},r.isAfterMonth=function(){return void 0!==r.props.month&&(r.props.month+1)%12===E.getMonth(r.props.day)},r.isBeforeMonth=function(){return void 0!==r.props.month&&(E.getMonth(r.props.day)+1)%12===r.props.month},r.isCurrentDay=function(){return r.isSameDay(Se())},r.isSelected=function(){var e;return r.props.selectsMultiple?null===(e=r.props.selectedDates)||void 0===e?void 0:e.some((function(e){return r.isSameDayOrWeek(e)})):r.isSameDayOrWeek(r.props.selected)},r.getClassNames=function(e){var n,i=r.props.dayClassName?r.props.dayClassName(e):void 0;return t.clsx("react-datepicker__day",i,"react-datepicker__day--"+Ie(r.props.day,"ddd",n),{"react-datepicker__day--disabled":r.isDisabled(),"react-datepicker__day--excluded":r.isExcluded(),"react-datepicker__day--selected":r.isSelected(),"react-datepicker__day--keyboard-selected":r.isKeyboardSelected(),"react-datepicker__day--range-start":r.isRangeStart(),"react-datepicker__day--range-end":r.isRangeEnd(),"react-datepicker__day--in-range":r.isInRange(),"react-datepicker__day--in-selecting-range":r.isInSelectingRange(),"react-datepicker__day--selecting-range-start":r.isSelectingRangeStart(),"react-datepicker__day--selecting-range-end":r.isSelectingRangeEnd(),"react-datepicker__day--today":r.isCurrentDay(),"react-datepicker__day--weekend":r.isWeekend(),"react-datepicker__day--outside-month":r.isAfterMonth()||r.isBeforeMonth()},r.getHighLightedClass(),r.getHolidaysClass())},r.getAriaLabel=function(){var e=r.props,t=e.day,n=e.ariaLabelPrefixWhenEnabled,i=void 0===n?"Choose":n,o=e.ariaLabelPrefixWhenDisabled,a=void 0===o?"Not available":o,s=r.isDisabled()||r.isExcluded()?a:i;return"".concat(s," ").concat(Ie(t,"PPPP",r.props.locale))},r.getTitle=function(){var e=r.props,t=e.day,n=e.holidays,i=void 0===n?new Map:n,o=e.excludeDates,a=Ie(t,"MM.dd.yyyy"),s=[];return i.has(a)&&s.push.apply(s,i.get(a).holidayNames),r.isExcluded()&&s.push(null==o?void 0:o.filter((function(e){return e instanceof Date?Qe(e,t):Qe(null==e?void 0:e.date,t)})).map((function(e){if(!(e instanceof Date))return null==e?void 0:e.message}))),s.join(", ")},r.getTabIndex=function(){var e=r.props.selected,t=r.props.preSelection;return(!r.props.showWeekPicker||!r.props.showWeekNumber&&r.isStartOfWeek())&&(r.isKeyboardSelected()||r.isSameDay(e)&&Qe(t,e))?0:-1},r.handleFocusDay=function(){var e;r.shouldFocusDay()&&(null===(e=r.dayEl.current)||void 0===e||e.focus({preventScroll:!0}))},r.renderDayContents=function(){return r.props.monthShowsDuplicateDaysEnd&&r.isAfterMonth()||r.props.monthShowsDuplicateDaysStart&&r.isBeforeMonth()?null:r.props.renderDayContents?r.props.renderDayContents(w.getDate(r.props.day),r.props.day):w.getDate(r.props.day)},r.render=function(){return pe.default.createElement("div",{ref:r.dayEl,className:r.getClassNames(r.props.day),onKeyDown:r.handleOnKeyDown,onClick:r.handleClick,onMouseEnter:r.props.usePointerEvent?void 0:r.handleMouseEnter,onPointerEnter:r.props.usePointerEvent?r.handleMouseEnter:void 0,tabIndex:r.getTabIndex(),"aria-label":r.getAriaLabel(),role:"option",title:r.getTitle(),"aria-disabled":r.isDisabled(),"aria-current":r.isCurrentDay()?"date":void 0,"aria-selected":r.isSelected()||r.isInRange()},r.renderDayContents(),""!==r.getTitle()&&pe.default.createElement("span",{className:"overlay"},r.getTitle()))},r}return me(r,e),r.prototype.componentDidMount=function(){this.handleFocusDay()},r.prototype.componentDidUpdate=function(){this.handleFocusDay()},r.prototype.shouldFocusDay=function(){var e=!1;return 0===this.getTabIndex()&&this.isSameDay(this.props.preSelection)&&(document.activeElement&&document.activeElement!==document.body||(e=!0),this.props.inline&&!this.props.shouldFocusDayInline&&(e=!1),this.isDayActiveElement()&&(e=!0),this.isDuplicateDay()&&(e=!1)),e},r.prototype.isDayActiveElement=function(){var e,t,n;return(null===(t=null===(e=this.props.containerRef)||void 0===e?void 0:e.current)||void 0===t?void 0:t.contains(document.activeElement))&&(null===(n=document.activeElement)||void 0===n?void 0:n.classList.contains("react-datepicker__day"))},r.prototype.isDuplicateDay=function(){return this.props.monthShowsDuplicateDaysEnd&&this.isAfterMonth()||this.props.monthShowsDuplicateDaysStart&&this.isBeforeMonth()},r}(n.Component),kt=function(e){function r(){var t=null!==e&&e.apply(this,arguments)||this;return t.weekNumberEl=n.createRef(),t.handleClick=function(e){t.props.onClick&&t.props.onClick(e)},t.handleOnKeyDown=function(e){var n,r;e.key===ye.Space&&(e.preventDefault(),e.key=ye.Enter),null===(r=(n=t.props).handleOnKeyDown)||void 0===r||r.call(n,e)},t.isKeyboardSelected=function(){return!t.props.disabledKeyboardNavigation&&!Qe(t.props.date,t.props.selected)&&Qe(t.props.date,t.props.preSelection)},t.getTabIndex=function(){return t.props.showWeekPicker&&t.props.showWeekNumber&&(t.isKeyboardSelected()||Qe(t.props.date,t.props.selected)&&Qe(t.props.preSelection,t.props.selected))?0:-1},t.handleFocusWeekNumber=function(e){var n=!1;0===t.getTabIndex()&&!(null==e?void 0:e.isInputFocused)&&Qe(t.props.date,t.props.preSelection)&&(document.activeElement&&document.activeElement!==document.body||(n=!0),t.props.inline&&!t.props.shouldFocusDayInline&&(n=!1),t.props.containerRef&&t.props.containerRef.current&&t.props.containerRef.current.contains(document.activeElement)&&document.activeElement&&document.activeElement.classList.contains("react-datepicker__week-number")&&(n=!0)),n&&t.weekNumberEl.current&&t.weekNumberEl.current.focus({preventScroll:!0})},t}return me(r,e),Object.defineProperty(r,"defaultProps",{get:function(){return{ariaLabelPrefix:"week "}},enumerable:!1,configurable:!0}),r.prototype.componentDidMount=function(){this.handleFocusWeekNumber()},r.prototype.componentDidUpdate=function(e){this.handleFocusWeekNumber(e)},r.prototype.render=function(){var e=this.props,n=e.weekNumber,i=e.ariaLabelPrefix,o=void 0===i?r.defaultProps.ariaLabelPrefix:i,a=e.onClick,s={"react-datepicker__week-number":!0,"react-datepicker__week-number--clickable":!!a,"react-datepicker__week-number--selected":!!a&&Qe(this.props.date,this.props.selected),"react-datepicker__week-number--keyboard-selected":this.isKeyboardSelected()};return pe.default.createElement("div",{ref:this.weekNumberEl,className:t.clsx(s),"aria-label":"".concat(o," ").concat(this.props.weekNumber),onClick:this.handleClick,onKeyDown:this.handleOnKeyDown,tabIndex:this.getTabIndex()},n)},r}(n.Component),Et=function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t.isDisabled=function(e){return Ye(e,{minDate:t.props.minDate,maxDate:t.props.maxDate,excludeDates:t.props.excludeDates,excludeDateIntervals:t.props.excludeDateIntervals,includeDateIntervals:t.props.includeDateIntervals,includeDates:t.props.includeDates,filterDate:t.props.filterDate})},t.handleDayClick=function(e,n){t.props.onDayClick&&t.props.onDayClick(e,n)},t.handleDayMouseEnter=function(e){t.props.onDayMouseEnter&&t.props.onDayMouseEnter(e)},t.handleWeekClick=function(e,r,i){for(var o,a,s,l=new Date(e),c=0;c<7;c++){var u=new Date(e);if(u.setDate(u.getDate()+c),!t.isDisabled(u)){l=u;break}}"function"==typeof t.props.onWeekSelect&&t.props.onWeekSelect(l,r,i),t.props.showWeekPicker&&t.handleDayClick(l,i),(null!==(o=t.props.shouldCloseOnSelect)&&void 0!==o?o:n.defaultProps.shouldCloseOnSelect)&&(null===(s=(a=t.props).setOpen)||void 0===s||s.call(a,!1))},t.formatWeekNumber=function(e){return t.props.formatWeekNumber?t.props.formatWeekNumber(e):function(e){return S.getISOWeek(e)}(e)},t.renderDays=function(){var e=t.startOfWeek(),r=[],o=t.formatWeekNumber(e);if(t.props.showWeekNumber){var a=t.props.onWeekSelect||t.props.showWeekPicker?t.handleWeekClick.bind(t,e,o):void 0;r.push(pe.default.createElement(kt,ge({key:"W"},n.defaultProps,t.props,{weekNumber:o,date:e,onClick:a})))}return r.concat([0,1,2,3,4,5,6].map((function(r){var o=i.addDays(e,r);return pe.default.createElement(St,ge({},n.defaultProps,t.props,{ariaLabelPrefixWhenEnabled:t.props.chooseDayAriaLabelPrefix,ariaLabelPrefixWhenDisabled:t.props.disabledDayAriaLabelPrefix,key:o.valueOf(),day:o,onClick:t.handleDayClick.bind(t,o),onMouseEnter:t.handleDayMouseEnter.bind(t,o)}))})))},t.startOfWeek=function(){return Te(t.props.day,t.props.locale,t.props.calendarStartDay)},t.isKeyboardSelected=function(){return!t.props.disabledKeyboardNavigation&&!Qe(t.startOfWeek(),t.props.selected)&&Qe(t.startOfWeek(),t.props.preSelection)},t}return me(n,e),Object.defineProperty(n,"defaultProps",{get:function(){return{shouldCloseOnSelect:!0}},enumerable:!1,configurable:!0}),n.prototype.render=function(){var e={"react-datepicker__week":!0,"react-datepicker__week--selected":Qe(this.startOfWeek(),this.props.selected),"react-datepicker__week--keyboard-selected":this.isKeyboardSelected()};return pe.default.createElement("div",{className:t.clsx(e)},this.renderDays())},n}(n.Component),It="two_columns",_t="three_columns",Pt="four_columns",Ot=((xt={})[It]={grid:[[0,1],[2,3],[4,5],[6,7],[8,9],[10,11]],verticalNavigationOffset:2},xt[_t]={grid:[[0,1,2],[3,4,5],[6,7,8],[9,10,11]],verticalNavigationOffset:3},xt[Pt]={grid:[[0,1,2,3],[4,5,6,7],[8,9,10,11]],verticalNavigationOffset:4},xt);function Tt(e,t){return e?Pt:t?It:_t}var Dt=function(e){function r(){var r=null!==e&&e.apply(this,arguments)||this;return r.MONTH_REFS=ve([],Array(12),!0).map((function(){return n.createRef()})),r.QUARTER_REFS=ve([],Array(4),!0).map((function(){return n.createRef()})),r.isDisabled=function(e){return Ye(e,{minDate:r.props.minDate,maxDate:r.props.maxDate,excludeDates:r.props.excludeDates,excludeDateIntervals:r.props.excludeDateIntervals,includeDateIntervals:r.props.includeDateIntervals,includeDates:r.props.includeDates,filterDate:r.props.filterDate})},r.isExcluded=function(e){return Ke(e,{excludeDates:r.props.excludeDates,excludeDateIntervals:r.props.excludeDateIntervals})},r.handleDayClick=function(e,t){var n,i;null===(i=(n=r.props).onDayClick)||void 0===i||i.call(n,e,t,r.props.orderInDisplay)},r.handleDayMouseEnter=function(e){var t,n;null===(n=(t=r.props).onDayMouseEnter)||void 0===n||n.call(t,e)},r.handleMouseLeave=function(){var e,t;null===(t=(e=r.props).onMouseLeave)||void 0===t||t.call(e)},r.isRangeStartMonth=function(e){var t=r.props,n=t.day,i=t.startDate,o=t.endDate;return!(!i||!o)&&Fe(Y.setMonth(n,e),i)},r.isRangeStartQuarter=function(e){var t=r.props,n=t.day,i=t.startDate,o=t.endDate;return!(!i||!o)&&ze(K.setQuarter(n,e),i)},r.isRangeEndMonth=function(e){var t=r.props,n=t.day,i=t.startDate,o=t.endDate;return!(!i||!o)&&Fe(Y.setMonth(n,e),o)},r.isRangeEndQuarter=function(e){var t=r.props,n=t.day,i=t.startDate,o=t.endDate;return!(!i||!o)&&ze(K.setQuarter(n,e),o)},r.isInSelectingRangeMonth=function(e){var t,n=r.props,i=n.day,o=n.selectsStart,a=n.selectsEnd,s=n.selectsRange,l=n.startDate,c=n.endDate,u=null!==(t=r.props.selectingDate)&&void 0!==t?t:r.props.preSelection;return!(!(o||a||s)||!u)&&(o&&c?Xe(u,c,e,i):(a&&l||!(!s||!l||c))&&Xe(l,u,e,i))},r.isSelectingMonthRangeStart=function(e){var t;if(!r.isInSelectingRangeMonth(e))return!1;var n=r.props,i=n.day,o=n.startDate,a=n.selectsStart,s=Y.setMonth(i,e),l=null!==(t=r.props.selectingDate)&&void 0!==t?t:r.props.preSelection;return Fe(s,a?l:o)},r.isSelectingMonthRangeEnd=function(e){var t;if(!r.isInSelectingRangeMonth(e))return!1;var n=r.props,i=n.day,o=n.endDate,a=n.selectsEnd,s=n.selectsRange,l=Y.setMonth(i,e),c=null!==(t=r.props.selectingDate)&&void 0!==t?t:r.props.preSelection;return Fe(l,a||s?c:o)},r.isInSelectingRangeQuarter=function(e){var t,n=r.props,i=n.day,o=n.selectsStart,a=n.selectsEnd,s=n.selectsRange,l=n.startDate,c=n.endDate,u=null!==(t=r.props.selectingDate)&&void 0!==t?t:r.props.preSelection;return!(!(o||a||s)||!u)&&(o&&c?nt(u,c,e,i):(a&&l||!(!s||!l||c))&&nt(l,u,e,i))},r.isWeekInMonth=function(e){var t=r.props.day,n=i.addDays(e,6);return Fe(e,t)||Fe(n,t)},r.isCurrentMonth=function(e,t){return O.getYear(e)===O.getYear(Se())&&t===E.getMonth(Se())},r.isCurrentQuarter=function(e,t){return O.getYear(e)===O.getYear(Se())&&t===I.getQuarter(Se())},r.isSelectedMonth=function(e,t,n){return E.getMonth(n)===t&&O.getYear(e)===O.getYear(n)},r.isSelectMonthInList=function(e,t,n){return n.some((function(n){return r.isSelectedMonth(e,t,n)}))},r.isSelectedQuarter=function(e,t,n){return I.getQuarter(e)===t&&O.getYear(e)===O.getYear(n)},r.renderWeeks=function(){for(var e=[],t=r.props.fixedHeight,n=0,i=!1,o=Te(De(r.props.day),r.props.locale,r.props.calendarStartDay),a=r.props.selected?function(e){return r.props.showWeekPicker?Te(e,r.props.locale,r.props.calendarStartDay):r.props.selected}(r.props.selected):void 0,s=r.props.preSelection?function(e){return r.props.showWeekPicker?Te(e,r.props.locale,r.props.calendarStartDay):r.props.preSelection}(r.props.preSelection):void 0;e.push(pe.default.createElement(Et,ge({},r.props,{ariaLabelPrefix:r.props.weekAriaLabelPrefix,key:n,day:o,month:E.getMonth(r.props.day),onDayClick:r.handleDayClick,onDayMouseEnter:r.handleDayMouseEnter,selected:a,preSelection:s,showWeekNumber:r.props.showWeekNumbers}))),!i;){n++,o=u.addWeeks(o,1);var l=t&&n>=6,c=!t&&!r.isWeekInMonth(o);if(l||c){if(!r.props.peekNextMonth)break;i=!0}}return e},r.onMonthClick=function(e,t){var n=r.isMonthDisabledForLabelDate(t),i=n.isDisabled,o=n.labelDate;i||r.handleDayClick(De(o),e)},r.onMonthMouseEnter=function(e){var t=r.isMonthDisabledForLabelDate(e),n=t.isDisabled,i=t.labelDate;n||r.handleDayMouseEnter(De(i))},r.handleMonthNavigation=function(e,t){var n,i,o,a;null===(i=(n=r.props).setPreSelection)||void 0===i||i.call(n,t),null===(a=null===(o=r.MONTH_REFS[e])||void 0===o?void 0:o.current)||void 0===a||a.focus()},r.handleKeyboardNavigation=function(e,t,n){var i,o=r.props,a=o.selected,l=o.preSelection,c=o.setPreSelection,u=o.minDate,d=o.maxDate,p=o.showFourColumnMonthYearPicker,h=o.showTwoColumnMonthYearPicker;if(l){var f=Tt(p,h),m=r.getVerticalOffset(f),g=null===(i=Ot[f])||void 0===i?void 0:i.grid,v=function(e,t,n){var r,i,o=t,a=n;switch(e){case ye.ArrowRight:o=s.addMonths(t,1),a=11===n?0:n+1;break;case ye.ArrowLeft:o=ie.subMonths(t,1),a=0===n?11:n-1;break;case ye.ArrowUp:o=ie.subMonths(t,m),a=(null===(r=null==g?void 0:g[0])||void 0===r?void 0:r.includes(n))?n+12-m:n-m;break;case ye.ArrowDown:o=s.addMonths(t,m),a=(null===(i=null==g?void 0:g[g.length-1])||void 0===i?void 0:i.includes(n))?n-12+m:n+m}return{newCalculatedDate:o,newCalculatedMonth:a}};if(t!==ye.Enter){var y=function(e,t,n){for(var i=e,o=!1,a=0,s=v(i,t,n),l=s.newCalculatedDate,c=s.newCalculatedMonth;!o;){if(a>=40){l=t,c=n;break}var p;u&&l<u&&(i=ye.ArrowRight,l=(p=v(i,l,c)).newCalculatedDate,c=p.newCalculatedMonth),d&&l>d&&(i=ye.ArrowLeft,l=(p=v(i,l,c)).newCalculatedDate,c=p.newCalculatedMonth),Ze(l,r.props)?(l=(p=v(i,l,c)).newCalculatedDate,c=p.newCalculatedMonth):o=!0,a++}return{newCalculatedDate:l,newCalculatedMonth:c}}(t,l,n),A=y.newCalculatedDate,b=y.newCalculatedMonth;switch(t){case ye.ArrowRight:case ye.ArrowLeft:case ye.ArrowUp:case ye.ArrowDown:r.handleMonthNavigation(b,A)}}else r.isMonthDisabled(n)||(r.onMonthClick(e,n),null==c||c(a))}},r.getVerticalOffset=function(e){var t,n;return null!==(n=null===(t=Ot[e])||void 0===t?void 0:t.verticalNavigationOffset)&&void 0!==n?n:0},r.onMonthKeyDown=function(e,t){var n=r.props,i=n.disabledKeyboardNavigation,o=n.handleOnMonthKeyDown,a=e.key;a!==ye.Tab&&e.preventDefault(),i||r.handleKeyboardNavigation(e,a,t),o&&o(e)},r.onQuarterClick=function(e,t){var n=K.setQuarter(r.props.day,t);$e(n,r.props)||r.handleDayClick(Be(n),e)},r.onQuarterMouseEnter=function(e){var t=K.setQuarter(r.props.day,e);$e(t,r.props)||r.handleDayMouseEnter(Be(t))},r.handleQuarterNavigation=function(e,t){var n,i,o,a;r.isDisabled(t)||r.isExcluded(t)||(null===(i=(n=r.props).setPreSelection)||void 0===i||i.call(n,t),null===(a=null===(o=r.QUARTER_REFS[e-1])||void 0===o?void 0:o.current)||void 0===a||a.focus())},r.onQuarterKeyDown=function(e,t){var n,i,o=e.key;if(!r.props.disabledKeyboardNavigation)switch(o){case ye.Enter:r.onQuarterClick(e,t),null===(i=(n=r.props).setPreSelection)||void 0===i||i.call(n,r.props.selected);break;case ye.ArrowRight:if(!r.props.preSelection)break;r.handleQuarterNavigation(4===t?1:t+1,l.addQuarters(r.props.preSelection,1));break;case ye.ArrowLeft:if(!r.props.preSelection)break;r.handleQuarterNavigation(1===t?4:t-1,oe.subQuarters(r.props.preSelection,1))}},r.isMonthDisabledForLabelDate=function(e){var t,n=r.props,i=n.day,o=n.minDate,a=n.maxDate,s=n.excludeDates,l=n.includeDates,c=Y.setMonth(i,e);return{isDisabled:null!==(t=(o||a||s||l)&&Je(c,r.props))&&void 0!==t&&t,labelDate:c}},r.isMonthDisabled=function(e){return r.isMonthDisabledForLabelDate(e).isDisabled},r.getMonthClassNames=function(e){var n=r.props,i=n.day,o=n.startDate,a=n.endDate,s=n.preSelection,l=n.monthClassName,c=l?l(Y.setMonth(i,e)):void 0,u=r.getSelection();return t.clsx("react-datepicker__month-text","react-datepicker__month-".concat(e),c,{"react-datepicker__month-text--disabled":r.isMonthDisabled(e),"react-datepicker__month-text--selected":u?r.isSelectMonthInList(i,e,u):void 0,"react-datepicker__month-text--keyboard-selected":!r.props.disabledKeyboardNavigation&&s&&r.isSelectedMonth(i,e,s)&&!r.isMonthDisabled(e),"react-datepicker__month-text--in-selecting-range":r.isInSelectingRangeMonth(e),"react-datepicker__month-text--in-range":o&&a?Xe(o,a,e,i):void 0,"react-datepicker__month-text--range-start":r.isRangeStartMonth(e),"react-datepicker__month-text--range-end":r.isRangeEndMonth(e),"react-datepicker__month-text--selecting-range-start":r.isSelectingMonthRangeStart(e),"react-datepicker__month-text--selecting-range-end":r.isSelectingMonthRangeEnd(e),"react-datepicker__month-text--today":r.isCurrentMonth(i,e)})},r.getTabIndex=function(e){if(null==r.props.preSelection)return"-1";var t=E.getMonth(r.props.preSelection),n=r.isMonthDisabledForLabelDate(t).isDisabled;return e!==t||n||r.props.disabledKeyboardNavigation?"-1":"0"},r.getQuarterTabIndex=function(e){if(null==r.props.preSelection)return"-1";var t=I.getQuarter(r.props.preSelection),n=$e(r.props.day,r.props);return e!==t||n||r.props.disabledKeyboardNavigation?"-1":"0"},r.getAriaLabel=function(e){var t=r.props,n=t.chooseDayAriaLabelPrefix,i=void 0===n?"Choose":n,o=t.disabledDayAriaLabelPrefix,a=void 0===o?"Not available":o,s=t.day,l=t.locale,c=Y.setMonth(s,e),u=r.isDisabled(c)||r.isExcluded(c)?a:i;return"".concat(u," ").concat(Ie(c,"MMMM yyyy",l))},r.getQuarterClassNames=function(e){var n=r.props,i=n.day,o=n.startDate,a=n.endDate,s=n.selected,l=n.minDate,c=n.maxDate,u=n.excludeDates,d=n.includeDates,p=n.filterDate,h=n.preSelection,f=n.disabledKeyboardNavigation,m=(l||c||u||d||p)&&$e(K.setQuarter(i,e),r.props);return t.clsx("react-datepicker__quarter-text","react-datepicker__quarter-".concat(e),{"react-datepicker__quarter-text--disabled":m,"react-datepicker__quarter-text--selected":s?r.isSelectedQuarter(i,e,s):void 0,"react-datepicker__quarter-text--keyboard-selected":!f&&h&&r.isSelectedQuarter(i,e,h)&&!m,"react-datepicker__quarter-text--in-selecting-range":r.isInSelectingRangeQuarter(e),"react-datepicker__quarter-text--in-range":o&&a?nt(o,a,e,i):void 0,"react-datepicker__quarter-text--range-start":r.isRangeStartQuarter(e),"react-datepicker__quarter-text--range-end":r.isRangeEndQuarter(e)})},r.getMonthContent=function(e){var t=r.props,n=t.showFullMonthYearPicker,i=t.renderMonthContent,o=t.locale,a=t.day,s=We(e,o),l=He(e,o);return i?i(e,s,l,a):n?l:s},r.getQuarterContent=function(e){var t,n=r.props,i=n.renderQuarterContent,o=function(e,t){return Ie(K.setQuarter(Se(),e),"QQQ",t)}(e,n.locale);return null!==(t=null==i?void 0:i(e,o))&&void 0!==t?t:o},r.renderMonths=function(){var e,t=r.props,n=t.showTwoColumnMonthYearPicker,i=t.showFourColumnMonthYearPicker,o=t.day,a=t.selected,s=null===(e=Ot[Tt(i,n)])||void 0===e?void 0:e.grid;return null==s?void 0:s.map((function(e,t){return pe.default.createElement("div",{className:"react-datepicker__month-wrapper",key:t},e.map((function(e,t){return pe.default.createElement("div",{ref:r.MONTH_REFS[e],key:t,onClick:function(t){r.onMonthClick(t,e)},onKeyDown:function(t){wt(t)&&(t.preventDefault(),t.key=ye.Enter),r.onMonthKeyDown(t,e)},onMouseEnter:r.props.usePointerEvent?void 0:function(){return r.onMonthMouseEnter(e)},onPointerEnter:r.props.usePointerEvent?function(){return r.onMonthMouseEnter(e)}:void 0,tabIndex:Number(r.getTabIndex(e)),className:r.getMonthClassNames(e),"aria-disabled":r.isMonthDisabled(e),role:"option","aria-label":r.getAriaLabel(e),"aria-current":r.isCurrentMonth(o,e)?"date":void 0,"aria-selected":a?r.isSelectedMonth(o,e,a):void 0},r.getMonthContent(e))})))}))},r.renderQuarters=function(){var e=r.props,t=e.day,n=e.selected;return pe.default.createElement("div",{className:"react-datepicker__quarter-wrapper"},[1,2,3,4].map((function(e,i){return pe.default.createElement("div",{key:i,ref:r.QUARTER_REFS[i],role:"option",onClick:function(t){r.onQuarterClick(t,e)},onKeyDown:function(t){r.onQuarterKeyDown(t,e)},onMouseEnter:r.props.usePointerEvent?void 0:function(){return r.onQuarterMouseEnter(e)},onPointerEnter:r.props.usePointerEvent?function(){return r.onQuarterMouseEnter(e)}:void 0,className:r.getQuarterClassNames(e),"aria-selected":n?r.isSelectedQuarter(t,e,n):void 0,tabIndex:Number(r.getQuarterTabIndex(e)),"aria-current":r.isCurrentQuarter(t,e)?"date":void 0},r.getQuarterContent(e))})))},r.getClassNames=function(){var e=r.props,n=e.selectingDate,i=e.selectsStart,o=e.selectsEnd,a=e.showMonthYearPicker,s=e.showQuarterYearPicker,l=e.showWeekPicker;return t.clsx("react-datepicker__month",{"react-datepicker__month--selecting-range":n&&(i||o)},{"react-datepicker__monthPicker":a},{"react-datepicker__quarterPicker":s},{"react-datepicker__weekPicker":l})},r}return me(r,e),r.prototype.getSelection=function(){var e=this.props,t=e.selected,n=e.selectedDates;return e.selectsMultiple?n:t?[t]:void 0},r.prototype.render=function(){var e=this.props,t=e.showMonthYearPicker,n=e.showQuarterYearPicker,r=e.day,i=e.ariaLabelPrefix,o=void 0===i?"Month ":i,a=o?o.trim()+" ":"";return pe.default.createElement("div",{className:this.getClassNames(),onMouseLeave:this.props.usePointerEvent?void 0:this.handleMouseLeave,onPointerLeave:this.props.usePointerEvent?this.handleMouseLeave:void 0,"aria-label":"".concat(a).concat(Ie(r,"MMMM, yyyy",this.props.locale)),role:"listbox"},t?this.renderMonths():n?this.renderQuarters():this.renderWeeks())},r}(n.Component),jt=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.isSelectedMonth=function(e){return t.props.month===e},t.renderOptions=function(){return t.props.monthNames.map((function(e,n){return pe.default.createElement("div",{className:t.isSelectedMonth(n)?"react-datepicker__month-option react-datepicker__month-option--selected_month":"react-datepicker__month-option",key:e,onClick:t.onChange.bind(t,n),"aria-selected":t.isSelectedMonth(n)?"true":void 0},t.isSelectedMonth(n)?pe.default.createElement("span",{className:"react-datepicker__month-option--selected"},"\u2713"):"",e)}))},t.onChange=function(e){return t.props.onChange(e)},t.handleClickOutside=function(){return t.props.onCancel()},t}return me(t,e),t.prototype.render=function(){return pe.default.createElement(be,{className:"react-datepicker__month-dropdown",onClickOutside:this.handleClickOutside},this.renderOptions())},t}(n.Component),Bt=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={dropdownVisible:!1},t.renderSelectOptions=function(e){return e.map((function(e,t){return pe.default.createElement("option",{key:e,value:t},e)}))},t.renderSelectMode=function(e){return pe.default.createElement("select",{value:t.props.month,className:"react-datepicker__month-select",onChange:function(e){return t.onChange(parseInt(e.target.value))}},t.renderSelectOptions(e))},t.renderReadView=function(e,n){return pe.default.createElement("div",{key:"read",style:{visibility:e?"visible":"hidden"},className:"react-datepicker__month-read-view",onClick:t.toggleDropdown},pe.default.createElement("span",{className:"react-datepicker__month-read-view--down-arrow"}),pe.default.createElement("span",{className:"react-datepicker__month-read-view--selected-month"},n[t.props.month]))},t.renderDropdown=function(e){return pe.default.createElement(jt,ge({key:"dropdown"},t.props,{monthNames:e,onChange:t.onChange,onCancel:t.toggleDropdown}))},t.renderScrollMode=function(e){var n=t.state.dropdownVisible,r=[t.renderReadView(!n,e)];return n&&r.unshift(t.renderDropdown(e)),r},t.onChange=function(e){t.toggleDropdown(),e!==t.props.month&&t.props.onChange(e)},t.toggleDropdown=function(){return t.setState({dropdownVisible:!t.state.dropdownVisible})},t}return me(t,e),t.prototype.render=function(){var e,t=this,n=[0,1,2,3,4,5,6,7,8,9,10,11].map(this.props.useShortMonthInDropdown?function(e){return We(e,t.props.locale)}:function(e){return He(e,t.props.locale)});switch(this.props.dropdownMode){case"scroll":e=this.renderScrollMode(n);break;case"select":e=this.renderSelectMode(n)}return pe.default.createElement("div",{className:"react-datepicker__month-dropdown-container react-datepicker__month-dropdown-container--".concat(this.props.dropdownMode)},e)},t}(n.Component);function Nt(e,t){for(var n=[],r=De(e),i=De(t);!T.isAfter(r,i);)n.push(Se(r)),r=s.addMonths(r,1);return n}var Mt=function(e){function n(t){var n=e.call(this,t)||this;return n.renderOptions=function(){return n.state.monthYearsList.map((function(e){var t=P.getTime(e),r=Le(n.props.date,e)&&Fe(n.props.date,e);return pe.default.createElement("div",{className:r?"react-datepicker__month-year-option--selected_month-year":"react-datepicker__month-year-option",key:t,onClick:n.onChange.bind(n,t),"aria-selected":r?"true":void 0},r?pe.default.createElement("span",{className:"react-datepicker__month-year-option--selected"},"\u2713"):"",Ie(e,n.props.dateFormat,n.props.locale))}))},n.onChange=function(e){return n.props.onChange(e)},n.handleClickOutside=function(){n.props.onCancel()},n.state={monthYearsList:Nt(n.props.minDate,n.props.maxDate)},n}return me(n,e),n.prototype.render=function(){var e=t.clsx({"react-datepicker__month-year-dropdown":!0,"react-datepicker__month-year-dropdown--scrollable":this.props.scrollableMonthYearDropdown});return pe.default.createElement(be,{className:e,onClickOutside:this.handleClickOutside},this.renderOptions())},n}(n.Component),Rt=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={dropdownVisible:!1},t.renderSelectOptions=function(){for(var e=De(t.props.minDate),n=De(t.props.maxDate),r=[];!T.isAfter(e,n);){var i=P.getTime(e);r.push(pe.default.createElement("option",{key:i,value:i},Ie(e,t.props.dateFormat,t.props.locale))),e=s.addMonths(e,1)}return r},t.onSelectChange=function(e){t.onChange(parseInt(e.target.value))},t.renderSelectMode=function(){return pe.default.createElement("select",{value:P.getTime(De(t.props.date)),className:"react-datepicker__month-year-select",onChange:t.onSelectChange},t.renderSelectOptions())},t.renderReadView=function(e){var n=Ie(t.props.date,t.props.dateFormat,t.props.locale);return pe.default.createElement("div",{key:"read",style:{visibility:e?"visible":"hidden"},className:"react-datepicker__month-year-read-view",onClick:t.toggleDropdown},pe.default.createElement("span",{className:"react-datepicker__month-year-read-view--down-arrow"}),pe.default.createElement("span",{className:"react-datepicker__month-year-read-view--selected-month-year"},n))},t.renderDropdown=function(){return pe.default.createElement(Mt,ge({key:"dropdown"},t.props,{onChange:t.onChange,onCancel:t.toggleDropdown}))},t.renderScrollMode=function(){var e=t.state.dropdownVisible,n=[t.renderReadView(!e)];return e&&n.unshift(t.renderDropdown()),n},t.onChange=function(e){t.toggleDropdown();var n=Se(e);Le(t.props.date,n)&&Fe(t.props.date,n)||t.props.onChange(n)},t.toggleDropdown=function(){return t.setState({dropdownVisible:!t.state.dropdownVisible})},t}return me(t,e),t.prototype.render=function(){var e;switch(this.props.dropdownMode){case"scroll":e=this.renderScrollMode();break;case"select":e=this.renderSelectMode()}return pe.default.createElement("div",{className:"react-datepicker__month-year-dropdown-container react-datepicker__month-year-dropdown-container--".concat(this.props.dropdownMode)},e)},t}(n.Component),Lt=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.state={height:null},n.scrollToTheSelectedTime=function(){requestAnimationFrame((function(){var e,r,i;n.list&&(n.list.scrollTop=null!==(i=n.centerLi&&t.calcCenterPosition(n.props.monthRef?n.props.monthRef.clientHeight-(null!==(r=null===(e=n.header)||void 0===e?void 0:e.clientHeight)&&void 0!==r?r:0):n.list.clientHeight,n.centerLi))&&void 0!==i?i:0)}))},n.handleClick=function(e){var t,r;(n.props.minTime||n.props.maxTime)&&at(e,n.props)||(n.props.excludeTimes||n.props.includeTimes||n.props.filterTime)&&ot(e,n.props)||null===(r=(t=n.props).onChange)||void 0===r||r.call(t,e)},n.isSelectedTime=function(e){return n.props.selected&&(t=e,yt(n.props.selected).getTime()===yt(t).getTime());var t},n.isDisabledTime=function(e){return(n.props.minTime||n.props.maxTime)&&at(e,n.props)||(n.props.excludeTimes||n.props.includeTimes||n.props.filterTime)&&ot(e,n.props)},n.liClasses=function(e){var r,i=["react-datepicker__time-list-item",n.props.timeClassName?n.props.timeClassName(e):void 0];return n.isSelectedTime(e)&&i.push("react-datepicker__time-list-item--selected"),n.isDisabledTime(e)&&i.push("react-datepicker__time-list-item--disabled"),n.props.injectTimes&&(3600*C.getHours(e)+60*k.getMinutes(e)+_.getSeconds(e))%(60*(null!==(r=n.props.intervals)&&void 0!==r?r:t.defaultProps.intervals))!=0&&i.push("react-datepicker__time-list-item--injected"),i.join(" ")},n.handleOnKeyDown=function(e,t){var r,i;e.key===ye.Space&&(e.preventDefault(),e.key=ye.Enter),(e.key===ye.ArrowUp||e.key===ye.ArrowLeft)&&e.target instanceof HTMLElement&&e.target.previousSibling&&(e.preventDefault(),e.target.previousSibling instanceof HTMLElement&&e.target.previousSibling.focus()),(e.key===ye.ArrowDown||e.key===ye.ArrowRight)&&e.target instanceof HTMLElement&&e.target.nextSibling&&(e.preventDefault(),e.target.nextSibling instanceof HTMLElement&&e.target.nextSibling.focus()),e.key===ye.Enter&&n.handleClick(t),null===(i=(r=n.props).handleOnKeyDown)||void 0===i||i.call(r,e)},n.renderTimes=function(){for(var e,r=[],i="string"==typeof n.props.format?n.props.format:"p",o=null!==(e=n.props.intervals)&&void 0!==e?e:t.defaultProps.intervals,s=n.props.selected||n.props.openToDate||Se(),l=Oe(s),c=n.props.injectTimes&&n.props.injectTimes.sort((function(e,t){return e.getTime()-t.getTime()})),u=60*function(e){var t=new Date(e.getFullYear(),e.getMonth(),e.getDate()),n=new Date(e.getFullYear(),e.getMonth(),e.getDate(),24);return Math.round((+n-+t)/36e5)}(s),d=u/o,p=0;p<d;p++){var h=a.addMinutes(l,p*o);if(r.push(h),c){var f=mt(l,h,p,o,c);r=r.concat(f)}}var m=r.reduce((function(e,t){return t.getTime()<=s.getTime()?t:e}),r[0]);return r.map((function(e){return pe.default.createElement("li",{key:e.valueOf(),onClick:n.handleClick.bind(n,e),className:n.liClasses(e),ref:function(t){e===m&&(n.centerLi=t)},onKeyDown:function(t){n.handleOnKeyDown(t,e)},tabIndex:e===m?0:-1,role:"option","aria-selected":n.isSelectedTime(e)?"true":void 0,"aria-disabled":n.isDisabledTime(e)?"true":void 0},Ie(e,i,n.props.locale))}))},n.renderTimeCaption=function(){return!1===n.props.showTimeCaption?pe.default.createElement(pe.default.Fragment,null):pe.default.createElement("div",{className:"react-datepicker__header react-datepicker__header--time ".concat(n.props.showTimeSelectOnly?"react-datepicker__header--time--only":""),ref:function(e){n.header=e}},pe.default.createElement("div",{className:"react-datepicker-time__header"},n.props.timeCaption))},n}return me(t,e),Object.defineProperty(t,"defaultProps",{get:function(){return{intervals:30,todayButton:null,timeCaption:"Time",showTimeCaption:!0}},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){this.scrollToTheSelectedTime(),this.props.monthRef&&this.header&&this.setState({height:this.props.monthRef.clientHeight-this.header.clientHeight})},t.prototype.render=function(){var e,n=this,r=this.state.height;return pe.default.createElement("div",{className:"react-datepicker__time-container ".concat((null!==(e=this.props.todayButton)&&void 0!==e?e:t.defaultProps.todayButton)?"react-datepicker__time-container--with-today-button":"")},this.renderTimeCaption(),pe.default.createElement("div",{className:"react-datepicker__time"},pe.default.createElement("div",{className:"react-datepicker__time-box"},pe.default.createElement("ul",{className:"react-datepicker__time-list",ref:function(e){n.list=e},style:r?{height:r}:{},role:"listbox","aria-label":this.props.timeCaption},this.renderTimes()))))},t.calcCenterPosition=function(e,t){return t.offsetTop-(e/2-t.clientHeight/2)},t}(n.Component),Ft=function(e){function r(r){var i=e.call(this,r)||this;return i.YEAR_REFS=ve([],Array(i.props.yearItemNumber),!0).map((function(){return n.createRef()})),i.isDisabled=function(e){return Ye(e,{minDate:i.props.minDate,maxDate:i.props.maxDate,excludeDates:i.props.excludeDates,includeDates:i.props.includeDates,filterDate:i.props.filterDate})},i.isExcluded=function(e){return Ke(e,{excludeDates:i.props.excludeDates})},i.selectingDate=function(){var e;return null!==(e=i.props.selectingDate)&&void 0!==e?e:i.props.preSelection},i.updateFocusOnPaginate=function(e){window.requestAnimationFrame((function(){var t,n;null===(n=null===(t=i.YEAR_REFS[e])||void 0===t?void 0:t.current)||void 0===n||n.focus()}))},i.handleYearClick=function(e,t){i.props.onDayClick&&i.props.onDayClick(e,t)},i.handleYearNavigation=function(e,t){var n,r,o,a,s=i.props,l=s.date,c=s.yearItemNumber;if(void 0!==l&&void 0!==c){var u=vt(l,c).startPeriod;i.isDisabled(t)||i.isExcluded(t)||(null===(r=(n=i.props).setPreSelection)||void 0===r||r.call(n,t),e-u<0?i.updateFocusOnPaginate(c-(u-e)):e-u>=c?i.updateFocusOnPaginate(Math.abs(c-(e-u))):null===(a=null===(o=i.YEAR_REFS[e-u])||void 0===o?void 0:o.current)||void 0===a||a.focus())}},i.isSameDay=function(e,t){return Qe(e,t)},i.isCurrentYear=function(e){return e===O.getYear(Se())},i.isRangeStart=function(e){return i.props.startDate&&i.props.endDate&&Le(X.setYear(Se(),e),i.props.startDate)},i.isRangeEnd=function(e){return i.props.startDate&&i.props.endDate&&Le(X.setYear(Se(),e),i.props.endDate)},i.isInRange=function(e){return et(e,i.props.startDate,i.props.endDate)},i.isInSelectingRange=function(e){var t=i.props,n=t.selectsStart,r=t.selectsEnd,o=t.selectsRange,a=t.startDate,s=t.endDate;return!(!(n||r||o)||!i.selectingDate())&&(n&&s?et(e,i.selectingDate(),s):(r&&a||!(!o||!a||s))&&et(e,a,i.selectingDate()))},i.isSelectingRangeStart=function(e){var t;if(!i.isInSelectingRange(e))return!1;var n=i.props,r=n.startDate,o=n.selectsStart;return Le(X.setYear(Se(),e),o?null!==(t=i.selectingDate())&&void 0!==t?t:null:null!=r?r:null)},i.isSelectingRangeEnd=function(e){var t;if(!i.isInSelectingRange(e))return!1;var n=i.props,r=n.endDate,o=n.selectsEnd,a=n.selectsRange;return Le(X.setYear(Se(),e),o||a?null!==(t=i.selectingDate())&&void 0!==t?t:null:null!=r?r:null)},i.isKeyboardSelected=function(e){if(void 0!==i.props.date&&null!=i.props.selected&&null!=i.props.preSelection){var t=i.props,n=t.minDate,r=t.maxDate,o=t.excludeDates,a=t.includeDates,s=t.filterDate,l=je(X.setYear(i.props.date,e)),c=(n||r||o||a||s)&&tt(e,i.props);return!i.props.disabledKeyboardNavigation&&!i.props.inline&&!Qe(l,je(i.props.selected))&&Qe(l,je(i.props.preSelection))&&!c}},i.onYearClick=function(e,t){var n=i.props.date;void 0!==n&&i.handleYearClick(je(X.setYear(n,t)),e)},i.onYearKeyDown=function(e,t){var n,r,o=e.key,a=i.props,s=a.date,l=a.yearItemNumber,c=a.handleOnKeyDown;if(o!==ye.Tab&&e.preventDefault(),!i.props.disabledKeyboardNavigation)switch(o){case ye.Enter:if(null==i.props.selected)break;i.onYearClick(e,t),null===(r=(n=i.props).setPreSelection)||void 0===r||r.call(n,i.props.selected);break;case ye.ArrowRight:if(null==i.props.preSelection)break;i.handleYearNavigation(t+1,d.addYears(i.props.preSelection,1));break;case ye.ArrowLeft:if(null==i.props.preSelection)break;i.handleYearNavigation(t-1,se.subYears(i.props.preSelection,1));break;case ye.ArrowUp:if(void 0===s||void 0===l||null==i.props.preSelection)break;var u=vt(s,l).startPeriod;if((f=t-(h=3))<u){var p=l%h;t>=u&&t<u+p?h=p:h+=p,f=t-h}i.handleYearNavigation(f,se.subYears(i.props.preSelection,h));break;case ye.ArrowDown:if(void 0===s||void 0===l||null==i.props.preSelection)break;var h,f,m=vt(s,l).endPeriod;(f=t+(h=3))>m&&(p=l%h,t<=m&&t>m-p?h=p:h+=p,f=t+h),i.handleYearNavigation(f,d.addYears(i.props.preSelection,h))}c&&c(e)},i.getYearClassNames=function(e){var n=i.props,r=n.date,o=n.minDate,a=n.maxDate,s=n.selected,l=n.excludeDates,c=n.includeDates,u=n.filterDate,d=n.yearClassName;return t.clsx("react-datepicker__year-text","react-datepicker__year-".concat(e),r?null==d?void 0:d(X.setYear(r,e)):void 0,{"react-datepicker__year-text--selected":s?e===O.getYear(s):void 0,"react-datepicker__year-text--disabled":(o||a||l||c||u)&&tt(e,i.props),"react-datepicker__year-text--keyboard-selected":i.isKeyboardSelected(e),"react-datepicker__year-text--range-start":i.isRangeStart(e),"react-datepicker__year-text--range-end":i.isRangeEnd(e),"react-datepicker__year-text--in-range":i.isInRange(e),"react-datepicker__year-text--in-selecting-range":i.isInSelectingRange(e),"react-datepicker__year-text--selecting-range-start":i.isSelectingRangeStart(e),"react-datepicker__year-text--selecting-range-end":i.isSelectingRangeEnd(e),"react-datepicker__year-text--today":i.isCurrentYear(e)})},i.getYearTabIndex=function(e){if(i.props.disabledKeyboardNavigation||null==i.props.preSelection)return"-1";var t=O.getYear(i.props.preSelection),n=tt(e,i.props);return e!==t||n?"-1":"0"},i.getYearContainerClassNames=function(){var e=i.props,n=e.selectingDate,r=e.selectsStart,o=e.selectsEnd,a=e.selectsRange;return t.clsx("react-datepicker__year",{"react-datepicker__year--selecting-range":n&&(r||o||a)})},i.getYearContent=function(e){return i.props.renderYearContent?i.props.renderYearContent(e):e},i}return me(r,e),r.prototype.render=function(){var e=this,t=[],n=this.props,r=n.date,i=n.yearItemNumber,o=n.onYearMouseEnter,a=n.onYearMouseLeave;if(void 0===r)return null;for(var s=vt(r,i),l=s.startPeriod,c=s.endPeriod,u=function(n){t.push(pe.default.createElement("div",{ref:d.YEAR_REFS[n-l],onClick:function(t){e.onYearClick(t,n)},onKeyDown:function(t){wt(t)&&(t.preventDefault(),t.key=ye.Enter),e.onYearKeyDown(t,n)},tabIndex:Number(d.getYearTabIndex(n)),className:d.getYearClassNames(n),onMouseEnter:d.props.usePointerEvent?void 0:function(e){return o(e,n)},onPointerEnter:d.props.usePointerEvent?function(e){return o(e,n)}:void 0,onMouseLeave:d.props.usePointerEvent?void 0:function(e){return a(e,n)},onPointerLeave:d.props.usePointerEvent?function(e){return a(e,n)}:void 0,key:n,"aria-current":d.isCurrentYear(n)?"date":void 0},d.getYearContent(n)))},d=this,p=l;p<=c;p++)u(p);return pe.default.createElement("div",{className:this.getYearContainerClassNames()},pe.default.createElement("div",{className:"react-datepicker__year-wrapper",onMouseLeave:this.props.usePointerEvent?void 0:this.props.clearSelectingDate,onPointerLeave:this.props.usePointerEvent?this.props.clearSelectingDate:void 0},t))},r}(n.Component);function zt(e,t,n,r){for(var i=[],o=0;o<2*t+1;o++){var a=e+t-o,s=!0;n&&(s=O.getYear(n)<=a),r&&s&&(s=O.getYear(r)>=a),s&&i.push(a)}return i}var Qt,Ut=function(e){function r(t){var r=e.call(this,t)||this;r.renderOptions=function(){var e=r.props.year,t=r.state.yearsList.map((function(t){return pe.default.createElement("div",{className:e===t?"react-datepicker__year-option react-datepicker__year-option--selected_year":"react-datepicker__year-option",key:t,onClick:r.onChange.bind(r,t),"aria-selected":e===t?"true":void 0},e===t?pe.default.createElement("span",{className:"react-datepicker__year-option--selected"},"\u2713"):"",t)})),n=r.props.minDate?O.getYear(r.props.minDate):null,i=r.props.maxDate?O.getYear(r.props.maxDate):null;return i&&r.state.yearsList.find((function(e){return e===i}))||t.unshift(pe.default.createElement("div",{className:"react-datepicker__year-option",key:"upcoming",onClick:r.incrementYears},pe.default.createElement("a",{className:"react-datepicker__navigation react-datepicker__navigation--years react-datepicker__navigation--years-upcoming"}))),n&&r.state.yearsList.find((function(e){return e===n}))||t.push(pe.default.createElement("div",{className:"react-datepicker__year-option",key:"previous",onClick:r.decrementYears},pe.default.createElement("a",{className:"react-datepicker__navigation react-datepicker__navigation--years react-datepicker__navigation--years-previous"}))),t},r.onChange=function(e){r.props.onChange(e)},r.handleClickOutside=function(){r.props.onCancel()},r.shiftYears=function(e){var t=r.state.yearsList.map((function(t){return t+e}));r.setState({yearsList:t})},r.incrementYears=function(){return r.shiftYears(1)},r.decrementYears=function(){return r.shiftYears(-1)};var i=t.yearDropdownItemNumber,o=t.scrollableYearDropdown,a=i||(o?10:5);return r.state={yearsList:zt(r.props.year,a,r.props.minDate,r.props.maxDate)},r.dropdownRef=n.createRef(),r}return me(r,e),r.prototype.componentDidMount=function(){var e=this.dropdownRef.current;if(e){var t=e.children?Array.from(e.children):null,n=t?t.find((function(e){return e.ariaSelected})):null;e.scrollTop=n&&n instanceof HTMLElement?n.offsetTop+(n.clientHeight-e.clientHeight)/2:(e.scrollHeight-e.clientHeight)/2}},r.prototype.render=function(){var e=t.clsx({"react-datepicker__year-dropdown":!0,"react-datepicker__year-dropdown--scrollable":this.props.scrollableYearDropdown});return pe.default.createElement(be,{className:e,containerRef:this.dropdownRef,onClickOutside:this.handleClickOutside},this.renderOptions())},r}(n.Component),Vt=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={dropdownVisible:!1},t.renderSelectOptions=function(){for(var e=t.props.minDate?O.getYear(t.props.minDate):1900,n=t.props.maxDate?O.getYear(t.props.maxDate):2100,r=[],i=e;i<=n;i++)r.push(pe.default.createElement("option",{key:i,value:i},i));return r},t.onSelectChange=function(e){t.onChange(parseInt(e.target.value))},t.renderSelectMode=function(){return pe.default.createElement("select",{value:t.props.year,className:"react-datepicker__year-select",onChange:t.onSelectChange},t.renderSelectOptions())},t.renderReadView=function(e){return pe.default.createElement("div",{key:"read",style:{visibility:e?"visible":"hidden"},className:"react-datepicker__year-read-view",onClick:function(e){return t.toggleDropdown(e)}},pe.default.createElement("span",{className:"react-datepicker__year-read-view--down-arrow"}),pe.default.createElement("span",{className:"react-datepicker__year-read-view--selected-year"},t.props.year))},t.renderDropdown=function(){return pe.default.createElement(Ut,ge({key:"dropdown"},t.props,{onChange:t.onChange,onCancel:t.toggleDropdown}))},t.renderScrollMode=function(){var e=t.state.dropdownVisible,n=[t.renderReadView(!e)];return e&&n.unshift(t.renderDropdown()),n},t.onChange=function(e){t.toggleDropdown(),e!==t.props.year&&t.props.onChange(e)},t.toggleDropdown=function(e){t.setState({dropdownVisible:!t.state.dropdownVisible},(function(){t.props.adjustDateOnChange&&t.handleYearChange(t.props.date,e)}))},t.handleYearChange=function(e,n){var r;null===(r=t.onSelect)||void 0===r||r.call(t,e,n),t.setOpen()},t.onSelect=function(e,n){var r,i;null===(i=(r=t.props).onSelect)||void 0===i||i.call(r,e,n)},t.setOpen=function(){var e,n;null===(n=(e=t.props).setOpen)||void 0===n||n.call(e,!0)},t}return me(t,e),t.prototype.render=function(){var e;switch(this.props.dropdownMode){case"scroll":e=this.renderScrollMode();break;case"select":e=this.renderSelectMode()}return pe.default.createElement("div",{className:"react-datepicker__year-dropdown-container react-datepicker__year-dropdown-container--".concat(this.props.dropdownMode)},e)},t}(n.Component),Gt=["react-datepicker__year-select","react-datepicker__month-select","react-datepicker__month-year-select"],qt=function(e){function o(a){var c=e.call(this,a)||this;return c.monthContainer=void 0,c.handleClickOutside=function(e){c.props.onClickOutside(e)},c.setClickOutsideRef=function(){return c.containerRef.current},c.handleDropdownFocus=function(e){var t,n,r,i;r=e.target,i=(r.className||"").split(/\s+/),Gt.some((function(e){return i.indexOf(e)>=0}))&&(null===(n=(t=c.props).onDropdownFocus)||void 0===n||n.call(t,e))},c.getDateInView=function(){var e=c.props,t=e.preSelection,n=e.selected,r=e.openToDate,i=dt(c.props),o=pt(c.props),a=Se();return r||n||t||(i&&D.isBefore(a,i)?i:o&&T.isAfter(a,o)?o:a)},c.increaseMonth=function(){c.setState((function(e){var t=e.date;return{date:s.addMonths(t,1)}}),(function(){return c.handleMonthChange(c.state.date)}))},c.decreaseMonth=function(){c.setState((function(e){var t=e.date;return{date:ie.subMonths(t,1)}}),(function(){return c.handleMonthChange(c.state.date)}))},c.handleDayClick=function(e,t,n){c.props.onSelect(e,t,n),c.props.setPreSelection&&c.props.setPreSelection(e)},c.handleDayMouseEnter=function(e){c.setState({selectingDate:e}),c.props.onDayMouseEnter&&c.props.onDayMouseEnter(e)},c.handleMonthMouseLeave=function(){c.setState({selectingDate:void 0}),c.props.onMonthMouseLeave&&c.props.onMonthMouseLeave()},c.handleYearMouseEnter=function(e,t){c.setState({selectingDate:X.setYear(Se(),t)}),c.props.onYearMouseEnter&&c.props.onYearMouseEnter(e,t)},c.handleYearMouseLeave=function(e,t){c.props.onYearMouseLeave&&c.props.onYearMouseLeave(e,t)},c.handleYearChange=function(e){var t,n,r,i;null===(n=(t=c.props).onYearChange)||void 0===n||n.call(t,e),c.setState({isRenderAriaLiveMessage:!0}),c.props.adjustDateOnChange&&(c.props.onSelect(e),null===(i=(r=c.props).setOpen)||void 0===i||i.call(r,!0)),c.props.setPreSelection&&c.props.setPreSelection(e)},c.getEnabledPreSelectionDateForMonth=function(e){if(!Ye(e,c.props))return e;for(var t=De(e),n=Re(e),o=r.differenceInDays(n,t),a=null,s=0;s<=o;s++){var l=i.addDays(t,s);if(!Ye(l,c.props)){a=l;break}}return a},c.handleMonthChange=function(e){var t,n,r,i=null!==(t=c.getEnabledPreSelectionDateForMonth(e))&&void 0!==t?t:e;c.handleCustomMonthChange(i),c.props.adjustDateOnChange&&(c.props.onSelect(i),null===(r=(n=c.props).setOpen)||void 0===r||r.call(n,!0)),c.props.setPreSelection&&c.props.setPreSelection(i)},c.handleCustomMonthChange=function(e){var t,n;null===(n=(t=c.props).onMonthChange)||void 0===n||n.call(t,e),c.setState({isRenderAriaLiveMessage:!0})},c.handleMonthYearChange=function(e){c.handleYearChange(e),c.handleMonthChange(e)},c.changeYear=function(e){c.setState((function(t){var n=t.date;return{date:X.setYear(n,Number(e))}}),(function(){return c.handleYearChange(c.state.date)}))},c.changeMonth=function(e){c.setState((function(t){var n=t.date;return{date:Y.setMonth(n,Number(e))}}),(function(){return c.handleMonthChange(c.state.date)}))},c.changeMonthYear=function(e){c.setState((function(t){var n=t.date;return{date:X.setYear(Y.setMonth(n,E.getMonth(e)),O.getYear(e))}}),(function(){return c.handleMonthYearChange(c.state.date)}))},c.header=function(e){void 0===e&&(e=c.state.date);var n=Te(e,c.props.locale,c.props.calendarStartDay),r=[];return c.props.showWeekNumbers&&r.push(pe.default.createElement("div",{key:"W",className:"react-datepicker__day-name"},c.props.weekLabel||"#")),r.concat([0,1,2,3,4,5,6].map((function(e){var r=i.addDays(n,e),o=c.formatWeekday(r,c.props.locale),a=c.props.weekDayClassName?c.props.weekDayClassName(r):void 0;return pe.default.createElement("div",{key:e,"aria-label":Ie(r,"EEEE",c.props.locale),className:t.clsx("react-datepicker__day-name",a)},o)})))},c.formatWeekday=function(e,t){return c.props.formatWeekDay?function(e,t,n){return t(Ie(e,"EEEE",n))}(e,c.props.formatWeekDay,t):c.props.useWeekdaysShort?function(e,t){return Ie(e,"EEE",t)}(e,t):function(e,t){return Ie(e,"EEEEEE",t)}(e,t)},c.decreaseYear=function(){c.setState((function(e){var t,n=e.date;return{date:se.subYears(n,c.props.showYearPicker?null!==(t=c.props.yearItemNumber)&&void 0!==t?t:o.defaultProps.yearItemNumber:1)}}),(function(){return c.handleYearChange(c.state.date)}))},c.clearSelectingDate=function(){c.setState({selectingDate:void 0})},c.renderPreviousButton=function(){var e;if(!c.props.renderCustomHeader){var t;switch(!0){case c.props.showMonthYearPicker:t=ct(c.state.date,c.props);break;case c.props.showYearPicker:t=function(e,t){var n=void 0===t?{}:t,r=n.minDate,i=n.yearItemNumber,o=void 0===i?xe:i,a=vt(je(se.subYears(e,o)),o).endPeriod,s=r&&O.getYear(r);return s&&s>a||!1}(c.state.date,c.props);break;case c.props.showQuarterYearPicker:t=function(e,t){var n=void 0===t?{}:t,r=n.minDate,i=n.includeDates,o=ne.startOfYear(e),a=oe.subQuarters(o,1);return r&&f.differenceInCalendarQuarters(r,a)>0||i&&i.every((function(e){return f.differenceInCalendarQuarters(e,a)>0}))||!1}(c.state.date,c.props);break;default:t=st(c.state.date,c.props)}if(((null!==(e=c.props.forceShowMonthNavigation)&&void 0!==e?e:o.defaultProps.forceShowMonthNavigation)||c.props.showDisabledMonthNavigation||!t)&&!c.props.showTimeSelectOnly){var n=["react-datepicker__navigation","react-datepicker__navigation--previous"],r=c.decreaseMonth;(c.props.showMonthYearPicker||c.props.showQuarterYearPicker||c.props.showYearPicker)&&(r=c.decreaseYear),t&&c.props.showDisabledMonthNavigation&&(n.push("react-datepicker__navigation--previous--disabled"),r=void 0);var i=c.props.showMonthYearPicker||c.props.showQuarterYearPicker||c.props.showYearPicker,a=c.props,s=a.previousMonthButtonLabel,l=void 0===s?o.defaultProps.previousMonthButtonLabel:s,u=a.previousYearButtonLabel,d=void 0===u?o.defaultProps.previousYearButtonLabel:u,p=c.props,h=p.previousMonthAriaLabel,m=void 0===h?"string"==typeof l?l:"Previous Month":h,g=p.previousYearAriaLabel,v=void 0===g?"string"==typeof d?d:"Previous Year":g;return pe.default.createElement("button",{type:"button",className:n.join(" "),onClick:r,onKeyDown:c.props.handleOnKeyDown,"aria-label":i?v:m},pe.default.createElement("span",{className:["react-datepicker__navigation-icon","react-datepicker__navigation-icon--previous"].join(" ")},i?d:l))}}},c.increaseYear=function(){c.setState((function(e){var t,n=e.date;return{date:d.addYears(n,c.props.showYearPicker?null!==(t=c.props.yearItemNumber)&&void 0!==t?t:o.defaultProps.yearItemNumber:1)}}),(function(){return c.handleYearChange(c.state.date)}))},c.renderNextButton=function(){var e;if(!c.props.renderCustomHeader){var t;switch(!0){case c.props.showMonthYearPicker:t=ut(c.state.date,c.props);break;case c.props.showYearPicker:t=function(e,t){var n=void 0===t?{}:t,r=n.maxDate,i=n.yearItemNumber,o=void 0===i?xe:i,a=vt(d.addYears(e,o),o).startPeriod,s=r&&O.getYear(r);return s&&s<a||!1}(c.state.date,c.props);break;case c.props.showQuarterYearPicker:t=function(e,t){var n=void 0===t?{}:t,r=n.maxDate,i=n.includeDates,o=A.endOfYear(e),a=l.addQuarters(o,1);return r&&f.differenceInCalendarQuarters(a,r)>0||i&&i.every((function(e){return f.differenceInCalendarQuarters(a,e)>0}))||!1}(c.state.date,c.props);break;default:t=lt(c.state.date,c.props)}if(((null!==(e=c.props.forceShowMonthNavigation)&&void 0!==e?e:o.defaultProps.forceShowMonthNavigation)||c.props.showDisabledMonthNavigation||!t)&&!c.props.showTimeSelectOnly){var n=["react-datepicker__navigation","react-datepicker__navigation--next"];c.props.showTimeSelect&&n.push("react-datepicker__navigation--next--with-time"),c.props.todayButton&&n.push("react-datepicker__navigation--next--with-today-button");var r=c.increaseMonth;(c.props.showMonthYearPicker||c.props.showQuarterYearPicker||c.props.showYearPicker)&&(r=c.increaseYear),t&&c.props.showDisabledMonthNavigation&&(n.push("react-datepicker__navigation--next--disabled"),r=void 0);var i=c.props.showMonthYearPicker||c.props.showQuarterYearPicker||c.props.showYearPicker,a=c.props,s=a.nextMonthButtonLabel,u=void 0===s?o.defaultProps.nextMonthButtonLabel:s,p=a.nextYearButtonLabel,h=void 0===p?o.defaultProps.nextYearButtonLabel:p,m=c.props,g=m.nextMonthAriaLabel,v=void 0===g?"string"==typeof u?u:"Next Month":g,y=m.nextYearAriaLabel,b=void 0===y?"string"==typeof h?h:"Next Year":y;return pe.default.createElement("button",{type:"button",className:n.join(" "),onClick:r,onKeyDown:c.props.handleOnKeyDown,"aria-label":i?b:v},pe.default.createElement("span",{className:["react-datepicker__navigation-icon","react-datepicker__navigation-icon--next"].join(" ")},i?h:u))}}},c.renderCurrentMonth=function(e){void 0===e&&(e=c.state.date);var t=["react-datepicker__current-month"];return c.props.showYearDropdown&&t.push("react-datepicker__current-month--hasYearDropdown"),c.props.showMonthDropdown&&t.push("react-datepicker__current-month--hasMonthDropdown"),c.props.showMonthYearDropdown&&t.push("react-datepicker__current-month--hasMonthYearDropdown"),pe.default.createElement("h2",{className:t.join(" ")},Ie(e,c.props.dateFormat,c.props.locale))},c.renderYearDropdown=function(e){if(void 0===e&&(e=!1),c.props.showYearDropdown&&!e)return pe.default.createElement(Vt,ge({},o.defaultProps,c.props,{date:c.state.date,onChange:c.changeYear,year:O.getYear(c.state.date)}))},c.renderMonthDropdown=function(e){if(void 0===e&&(e=!1),c.props.showMonthDropdown&&!e)return pe.default.createElement(Bt,ge({},o.defaultProps,c.props,{month:E.getMonth(c.state.date),onChange:c.changeMonth}))},c.renderMonthYearDropdown=function(e){if(void 0===e&&(e=!1),c.props.showMonthYearDropdown&&!e)return pe.default.createElement(Rt,ge({},o.defaultProps,c.props,{date:c.state.date,onChange:c.changeMonthYear}))},c.handleTodayButtonClick=function(e){c.props.onSelect(Ne(),e),c.props.setPreSelection&&c.props.setPreSelection(Ne())},c.renderTodayButton=function(){if(c.props.todayButton&&!c.props.showTimeSelectOnly)return pe.default.createElement("div",{className:"react-datepicker__today-button",onClick:c.handleTodayButtonClick},c.props.todayButton)},c.renderDefaultHeader=function(e){var t=e.monthDate,n=e.i;return pe.default.createElement("div",{className:"react-datepicker__header ".concat(c.props.showTimeSelect?"react-datepicker__header--has-time-select":"")},c.renderCurrentMonth(t),pe.default.createElement("div",{className:"react-datepicker__header__dropdown react-datepicker__header__dropdown--".concat(c.props.dropdownMode),onFocus:c.handleDropdownFocus},c.renderMonthDropdown(0!==n),c.renderMonthYearDropdown(0!==n),c.renderYearDropdown(0!==n)),pe.default.createElement("div",{className:"react-datepicker__day-names"},c.header(t)))},c.renderCustomHeader=function(e){var t,n,r=e.monthDate,i=e.i;if(c.props.showTimeSelect&&!c.state.monthContainer||c.props.showTimeSelectOnly)return null;var o=st(c.state.date,c.props),a=lt(c.state.date,c.props),s=ct(c.state.date,c.props),l=ut(c.state.date,c.props),u=!c.props.showMonthYearPicker&&!c.props.showQuarterYearPicker&&!c.props.showYearPicker;return pe.default.createElement("div",{className:"react-datepicker__header react-datepicker__header--custom",onFocus:c.props.onDropdownFocus},null===(n=(t=c.props).renderCustomHeader)||void 0===n?void 0:n.call(t,ge(ge({},c.state),{customHeaderCount:i,monthDate:r,changeMonth:c.changeMonth,changeYear:c.changeYear,decreaseMonth:c.decreaseMonth,increaseMonth:c.increaseMonth,decreaseYear:c.decreaseYear,increaseYear:c.increaseYear,prevMonthButtonDisabled:o,nextMonthButtonDisabled:a,prevYearButtonDisabled:s,nextYearButtonDisabled:l})),u&&pe.default.createElement("div",{className:"react-datepicker__day-names"},c.header(r)))},c.renderYearHeader=function(e){var t=e.monthDate,n=c.props,r=n.showYearPicker,i=n.yearItemNumber,a=vt(t,void 0===i?o.defaultProps.yearItemNumber:i),s=a.startPeriod,l=a.endPeriod;return pe.default.createElement("div",{className:"react-datepicker__header react-datepicker-year-header"},r?"".concat(s," - ").concat(l):O.getYear(t))},c.renderHeader=function(e){var t=e.monthDate,n=e.i,r={monthDate:t,i:void 0===n?0:n};switch(!0){case void 0!==c.props.renderCustomHeader:return c.renderCustomHeader(r);case c.props.showMonthYearPicker||c.props.showQuarterYearPicker||c.props.showYearPicker:return c.renderYearHeader(r);default:return c.renderDefaultHeader(r)}},c.renderMonths=function(){var e,t;if(!c.props.showTimeSelectOnly&&!c.props.showYearPicker){for(var n=[],r=null!==(e=c.props.monthsShown)&&void 0!==e?e:o.defaultProps.monthsShown,i=c.props.showPreviousMonths?r-1:0,a=c.props.showMonthYearPicker||c.props.showQuarterYearPicker?d.addYears(c.state.date,i):ie.subMonths(c.state.date,i),l=null!==(t=c.props.monthSelectedIn)&&void 0!==t?t:i,u=0;u<r;++u){var p=u-l+i,h=c.props.showMonthYearPicker||c.props.showQuarterYearPicker?d.addYears(a,p):s.addMonths(a,p),f="month-".concat(u),m=u<r-1,g=u>0;n.push(pe.default.createElement("div",{key:f,ref:function(e){c.monthContainer=null!=e?e:void 0},className:"react-datepicker__month-container"},c.renderHeader({monthDate:h,i:u}),pe.default.createElement(Dt,ge({},o.defaultProps,c.props,{ariaLabelPrefix:c.props.monthAriaLabelPrefix,day:h,onDayClick:c.handleDayClick,handleOnKeyDown:c.props.handleOnDayKeyDown,handleOnMonthKeyDown:c.props.handleOnKeyDown,onDayMouseEnter:c.handleDayMouseEnter,onMouseLeave:c.handleMonthMouseLeave,orderInDisplay:u,selectingDate:c.state.selectingDate,monthShowsDuplicateDaysEnd:m,monthShowsDuplicateDaysStart:g}))))}return n}},c.renderYears=function(){if(!c.props.showTimeSelectOnly)return c.props.showYearPicker?pe.default.createElement("div",{className:"react-datepicker__year--container"},c.renderHeader({monthDate:c.state.date}),pe.default.createElement(Ft,ge({},o.defaultProps,c.props,{selectingDate:c.state.selectingDate,date:c.state.date,onDayClick:c.handleDayClick,clearSelectingDate:c.clearSelectingDate,onYearMouseEnter:c.handleYearMouseEnter,onYearMouseLeave:c.handleYearMouseLeave}))):void 0},c.renderTimeSection=function(){if(c.props.showTimeSelect&&(c.state.monthContainer||c.props.showTimeSelectOnly))return pe.default.createElement(Lt,ge({},o.defaultProps,c.props,{onChange:c.props.onTimeChange,format:c.props.timeFormat,intervals:c.props.timeIntervals,monthRef:c.state.monthContainer}))},c.renderInputTimeSection=function(){var e=c.props.selected?new Date(c.props.selected):void 0,t=e&&Ee(e)&&Boolean(c.props.selected)?"".concat(gt(e.getHours()),":").concat(gt(e.getMinutes())):"";if(c.props.showTimeInput)return pe.default.createElement(Ct,ge({},o.defaultProps,c.props,{date:e,timeString:t,onChange:c.props.onTimeChange}))},c.renderAriaLiveRegion=function(){var e,t,n=vt(c.state.date,null!==(e=c.props.yearItemNumber)&&void 0!==e?e:o.defaultProps.yearItemNumber),r=n.startPeriod,i=n.endPeriod;return t=c.props.showYearPicker?"".concat(r," - ").concat(i):c.props.showMonthYearPicker||c.props.showQuarterYearPicker?O.getYear(c.state.date):"".concat(He(E.getMonth(c.state.date),c.props.locale)," ").concat(O.getYear(c.state.date)),pe.default.createElement("span",{role:"alert","aria-live":"polite",className:"react-datepicker__aria-live"},c.state.isRenderAriaLiveMessage&&t)},c.renderChildren=function(){if(c.props.children)return pe.default.createElement("div",{className:"react-datepicker__children-container"},c.props.children)},c.containerRef=n.createRef(),c.state={date:c.getDateInView(),selectingDate:void 0,monthContainer:void 0,isRenderAriaLiveMessage:!1},c}return me(o,e),Object.defineProperty(o,"defaultProps",{get:function(){return{monthsShown:1,forceShowMonthNavigation:!1,timeCaption:"Time",previousYearButtonLabel:"Previous Year",nextYearButtonLabel:"Next Year",previousMonthButtonLabel:"Previous Month",nextMonthButtonLabel:"Next Month",yearItemNumber:xe}},enumerable:!1,configurable:!0}),o.prototype.componentDidMount=function(){var e=this;this.props.showTimeSelect&&(this.assignMonthContainer=void e.setState({monthContainer:e.monthContainer}))},o.prototype.componentDidUpdate=function(e){var t=this;if(!this.props.preSelection||Qe(this.props.preSelection,e.preSelection)&&this.props.monthSelectedIn===e.monthSelectedIn)this.props.openToDate&&!Qe(this.props.openToDate,e.openToDate)&&this.setState({date:this.props.openToDate});else{var n=!Fe(this.state.date,this.props.preSelection);this.setState({date:this.props.preSelection},(function(){return n&&t.handleCustomMonthChange(t.state.date)}))}},o.prototype.render=function(){var e=this.props.container||Ae;return pe.default.createElement(be,{onClickOutside:this.handleClickOutside,style:{display:"contents"},containerRef:this.containerRef,ignoreClass:this.props.outsideClickIgnoreClass},pe.default.createElement(e,{className:t.clsx("react-datepicker",this.props.className,{"react-datepicker--time-only":this.props.showTimeSelectOnly}),showTime:this.props.showTimeSelect||this.props.showTimeInput,showTimeSelectOnly:this.props.showTimeSelectOnly},this.renderAriaLiveRegion(),this.renderPreviousButton(),this.renderNextButton(),this.renderMonths(),this.renderYears(),this.renderTodayButton(),this.renderTimeSection(),this.renderInputTimeSection(),this.renderChildren()))},o}(n.Component),Ht=function(e){var t=e.icon,n=e.className,r=void 0===n?"":n,i=e.onClick,o="react-datepicker__calendar-icon";return"string"==typeof t?pe.default.createElement("i",{className:"".concat(o," ").concat(t," ").concat(r),"aria-hidden":"true",onClick:i}):pe.default.isValidElement(t)?pe.default.cloneElement(t,{className:"".concat(t.props.className||""," ").concat(o," ").concat(r),onClick:function(e){"function"==typeof t.props.onClick&&t.props.onClick(e),"function"==typeof i&&i(e)}}):pe.default.createElement("svg",{className:"".concat(o," ").concat(r),xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",onClick:i},pe.default.createElement("path",{d:"M96 32V64H48C21.5 64 0 85.5 0 112v48H448V112c0-26.5-21.5-48-48-48H352V32c0-17.7-14.3-32-32-32s-32 14.3-32 32V64H160V32c0-17.7-14.3-32-32-32S96 14.3 96 32zM448 192H0V464c0 26.5 21.5 48 48 48H400c26.5 0 48-21.5 48-48V192z"}))},Wt=function(e){function t(t){var n=e.call(this,t)||this;return n.portalRoot=null,n.el=document.createElement("div"),n}return me(t,e),t.prototype.componentDidMount=function(){this.portalRoot=(this.props.portalHost||document).getElementById(this.props.portalId),this.portalRoot||(this.portalRoot=document.createElement("div"),this.portalRoot.setAttribute("id",this.props.portalId),(this.props.portalHost||document.body).appendChild(this.portalRoot)),this.portalRoot.appendChild(this.el)},t.prototype.componentWillUnmount=function(){this.portalRoot&&this.portalRoot.removeChild(this.el)},t.prototype.render=function(){return he.default.createPortal(this.props.children,this.el)},t}(n.Component),Yt=function(e){return(e instanceof HTMLAnchorElement||!e.disabled)&&-1!==e.tabIndex},Kt=function(e){function t(t){var r=e.call(this,t)||this;return r.getTabChildren=function(){var e;return Array.prototype.slice.call(null===(e=r.tabLoopRef.current)||void 0===e?void 0:e.querySelectorAll("[tabindex], a, button, input, select, textarea"),1,-1).filter(Yt)},r.handleFocusStart=function(){var e=r.getTabChildren();e&&e.length>1&&e[e.length-1].focus()},r.handleFocusEnd=function(){var e=r.getTabChildren();e&&e.length>1&&e[0].focus()},r.tabLoopRef=n.createRef(),r}return me(t,e),t.prototype.render=function(){var e;return(null!==(e=this.props.enableTabLoop)&&void 0!==e?e:t.defaultProps.enableTabLoop)?pe.default.createElement("div",{className:"react-datepicker__tab-loop",ref:this.tabLoopRef},pe.default.createElement("div",{className:"react-datepicker__tab-loop__start",tabIndex:0,onFocus:this.handleFocusStart}),this.props.children,pe.default.createElement("div",{className:"react-datepicker__tab-loop__end",tabIndex:0,onFocus:this.handleFocusEnd})):this.props.children},t.defaultProps={enableTabLoop:!0},t}(n.Component),Jt=function(e){function r(){return null!==e&&e.apply(this,arguments)||this}return me(r,e),Object.defineProperty(r,"defaultProps",{get:function(){return{hidePopper:!0}},enumerable:!1,configurable:!0}),r.prototype.render=function(){var e=this.props,i=e.className,o=e.wrapperClassName,a=e.hidePopper,s=void 0===a?r.defaultProps.hidePopper:a,l=e.popperComponent,c=e.targetComponent,u=e.enableTabLoop,d=e.popperOnKeyDown,p=e.portalId,h=e.portalHost,f=e.popperProps,m=e.showArrow,g=void 0;if(!s){var v=t.clsx("react-datepicker-popper",i);g=pe.default.createElement(Kt,{enableTabLoop:u},pe.default.createElement("div",{ref:f.refs.setFloating,style:f.floatingStyles,className:v,"data-placement":f.placement,onKeyDown:d},l,m&&pe.default.createElement(ce.FloatingArrow,{ref:f.arrowRef,context:f.context,fill:"currentColor",strokeWidth:1,height:8,width:16,style:{transform:"translateY(-1px)"},className:"react-datepicker__triangle"})))}this.props.popperContainer&&(g=n.createElement(this.props.popperContainer,{},g)),p&&!s&&(g=pe.default.createElement(Wt,{portalId:p,portalHost:h},g));var y=t.clsx("react-datepicker-wrapper",o);return pe.default.createElement(pe.default.Fragment,null,pe.default.createElement("div",{ref:f.refs.setReference,className:y},c),g)},r}(n.Component),Xt=(Qt=Jt,function(e){var t,r="boolean"!=typeof e.hidePopper||e.hidePopper,i=n.useRef(null),o=ce.useFloating(ge({open:!r,whileElementsMounted:ce.autoUpdate,placement:e.popperPlacement,middleware:ve([ce.flip({padding:15}),ce.offset(10),ce.arrow({element:i})],null!==(t=e.popperModifiers)&&void 0!==t?t:[],!0)},e.popperProps)),a=ge(ge({},e),{hidePopper:r,popperProps:ge(ge({},o),{arrowRef:i})});return pe.default.createElement(Qt,ge({},a))}),Zt="react-datepicker-ignore-onclickoutside",$t="Date input not valid.",en=function(e){function r(o){var a=e.call(this,o)||this;return a.calendar=null,a.input=null,a.getPreSelection=function(){return a.props.openToDate?a.props.openToDate:a.props.selectsEnd&&a.props.startDate?a.props.startDate:a.props.selectsStart&&a.props.endDate?a.props.endDate:Se()},a.modifyHolidays=function(){var e;return null===(e=a.props.holidays)||void 0===e?void 0:e.reduce((function(e,t){var n=new Date(t.date);return Ee(n)?ve(ve([],e,!0),[ge(ge({},t),{date:n})],!1):e}),[])},a.calcInitialState=function(){var e,t=a.getPreSelection(),n=dt(a.props),r=pt(a.props),i=n&&D.isBefore(t,Oe(n))?n:r&&T.isAfter(t,Me(r))?r:t;return{open:a.props.startOpen||!1,preventFocus:!1,inputValue:null,preSelection:null!==(e=a.props.selectsRange?a.props.startDate:a.props.selected)&&void 0!==e?e:i,highlightDates:ht(a.props.highlightDates),focused:!1,shouldFocusDayInline:!1,isRenderAriaLiveMessage:!1,wasHidden:!1}},a.resetHiddenStatus=function(){a.setState(ge(ge({},a.state),{wasHidden:!1}))},a.setHiddenStatus=function(){a.setState(ge(ge({},a.state),{wasHidden:!0}))},a.setHiddenStateOnVisibilityHidden=function(){"hidden"===document.visibilityState&&a.setHiddenStatus()},a.clearPreventFocusTimeout=function(){a.preventFocusTimeout&&clearTimeout(a.preventFocusTimeout)},a.setFocus=function(){a.input&&a.input.focus&&a.input.focus({preventScroll:!0})},a.setBlur=function(){a.input&&a.input.blur&&a.input.blur(),a.cancelFocusInput()},a.setOpen=function(e,t){void 0===t&&(t=!1),a.setState({open:e,preSelection:e&&a.state.open?a.state.preSelection:a.calcInitialState().preSelection,lastPreSelectChange:nn},(function(){e||a.setState((function(e){return{focused:!!t&&e.focused}}),(function(){!t&&a.setBlur(),a.setState({inputValue:null})}))}))},a.inputOk=function(){return j.isDate(a.state.preSelection)},a.isCalendarOpen=function(){return void 0===a.props.open?a.state.open&&!a.props.disabled&&!a.props.readOnly:a.props.open},a.handleFocus=function(e){var t,n,r=a.state.wasHidden,i=!r||a.state.open;r&&a.resetHiddenStatus(),!a.state.preventFocus&&i&&(null===(n=(t=a.props).onFocus)||void 0===n||n.call(t,e),a.props.preventOpenOnFocus||a.props.readOnly||a.setOpen(!0)),a.setState({focused:!0})},a.sendFocusBackToInput=function(){a.preventFocusTimeout&&a.clearPreventFocusTimeout(),a.setState({preventFocus:!0},(function(){a.preventFocusTimeout=setTimeout((function(){a.setFocus(),a.setState({preventFocus:!1})}))}))},a.cancelFocusInput=function(){clearTimeout(a.inputFocusTimeout),a.inputFocusTimeout=void 0},a.deferFocusInput=function(){a.cancelFocusInput(),a.inputFocusTimeout=setTimeout((function(){return a.setFocus()}),1)},a.handleDropdownFocus=function(){a.cancelFocusInput()},a.handleBlur=function(e){var t,n;(!a.state.open||a.props.withPortal||a.props.showTimeInput)&&(null===(n=(t=a.props).onBlur)||void 0===n||n.call(t,e)),a.setState({focused:!1})},a.handleCalendarClickOutside=function(e){var t,n;a.props.inline||a.setOpen(!1),null===(n=(t=a.props).onClickOutside)||void 0===n||n.call(t,e),a.props.withPortal&&e.preventDefault()},a.handleChange=function(){for(var e,t,n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];var o=n[0];if(!a.props.onChangeRaw||(a.props.onChangeRaw.apply(a,n),o&&"function"==typeof o.isDefaultPrevented&&!o.isDefaultPrevented())){a.setState({inputValue:(null==o?void 0:o.target)instanceof HTMLInputElement?o.target.value:null,lastPreSelectChange:tn});var s=a.props,l=s.dateFormat,c=void 0===l?r.defaultProps.dateFormat:l,u=s.strictParsing,d=void 0===u?r.defaultProps.strictParsing:u,p=s.selectsRange,h=s.startDate,f=s.endDate,m=(null==o?void 0:o.target)instanceof HTMLInputElement?o.target.value:"";if(p){var g=m.split("-",2).map((function(e){return e.trim()})),v=g[0],y=g[1],A=ke(null!=v?v:"",c,a.props.locale,d),b=ke(null!=y?y:"",c,a.props.locale,d),w=(null==h?void 0:h.getTime())!==(null==A?void 0:A.getTime()),x=(null==f?void 0:f.getTime())!==(null==b?void 0:b.getTime());if(!w&&!x)return;if(A&&Ye(A,a.props))return;if(b&&Ye(b,a.props))return;null===(t=(e=a.props).onChange)||void 0===t||t.call(e,[A,b],o)}else{var S=ke(m,c,a.props.locale,d,a.props.minDate);a.props.showTimeSelectOnly&&a.props.selected&&S&&!Qe(S,a.props.selected)&&(S=q.set(a.props.selected,{hours:C.getHours(S),minutes:k.getMinutes(S),seconds:_.getSeconds(S)})),!S&&m||a.setSelected(S,o,!0)}}},a.handleSelect=function(e,t,n){if(a.props.shouldCloseOnSelect&&!a.props.showTimeSelect&&a.sendFocusBackToInput(),a.props.onChangeRaw&&a.props.onChangeRaw(t),a.setSelected(e,t,!1,n),a.props.showDateSelect&&a.setState({isRenderAriaLiveMessage:!0}),!a.props.shouldCloseOnSelect||a.props.showTimeSelect)a.setPreSelection(e);else if(!a.props.inline){a.props.selectsRange||a.setOpen(!1);var r=a.props,i=r.startDate,o=r.endDate;!i||o||!a.props.swapRange&&bt(e,i)||a.setOpen(!1)}},a.setSelected=function(e,t,n,r){var i,o,s=e;if(a.props.showYearPicker){if(null!==s&&tt(O.getYear(s),a.props))return}else if(a.props.showMonthYearPicker){if(null!==s&&Je(s,a.props))return}else if(null!==s&&Ye(s,a.props))return;var l=a.props,c=l.onChange,u=l.selectsRange,d=l.startDate,p=l.endDate,h=l.selectsMultiple,f=l.selectedDates,m=l.minTime,g=l.swapRange;if(!Ue(a.props.selected,s)||a.props.allowSameDay||u||h)if(null!==s&&(!a.props.selected||n&&(a.props.showTimeSelect||a.props.showTimeSelectOnly||a.props.showTimeInput)||(s=Pe(s,{hour:C.getHours(a.props.selected),minute:k.getMinutes(a.props.selected),second:_.getSeconds(a.props.selected)})),n||!a.props.showTimeSelect&&!a.props.showTimeSelectOnly||m&&(s=Pe(s,{hour:m.getHours(),minute:m.getMinutes(),second:m.getSeconds()})),a.props.inline||a.setState({preSelection:s}),a.props.focusSelectedMonth||a.setState({monthSelectedIn:r})),u){var v=d&&p;d||p?d&&!p&&(null===s?null==c||c([null,null],t):bt(s,d)?g?null==c||c([s,d],t):null==c||c([s,null],t):null==c||c([d,s],t)):null==c||c([s,null],t),v&&(null==c||c([s,null],t))}else if(h){if(null!==s)if(null==f?void 0:f.length)if(f.some((function(e){return Qe(e,s)}))){var y=f.filter((function(e){return!Qe(e,s)}));null==c||c(y,t)}else null==c||c(ve(ve([],f,!0),[s],!1),t);else null==c||c([s],t)}else null==c||c(s,t);n||(null===(o=(i=a.props).onSelect)||void 0===o||o.call(i,s,t),a.setState({inputValue:null}))},a.setPreSelection=function(e){var t=j.isDate(a.props.minDate),n=j.isDate(a.props.maxDate),r=!0;if(e){var i=Oe(e);if(t&&n)r=Ve(e,a.props.minDate,a.props.maxDate);else if(t){var o=Oe(a.props.minDate);r=T.isAfter(e,o)||Ue(i,o)}else if(n){var s=Me(a.props.maxDate);r=D.isBefore(e,s)||Ue(i,s)}}r&&a.setState({preSelection:e})},a.toggleCalendar=function(){a.setOpen(!a.state.open)},a.handleTimeChange=function(e){var t,n;if(!a.props.selectsRange&&!a.props.selectsMultiple){var r=a.props.selected?a.props.selected:a.getPreSelection(),i=a.props.selected?e:Pe(r,{hour:C.getHours(e),minute:k.getMinutes(e)});a.setState({preSelection:i}),null===(n=(t=a.props).onChange)||void 0===n||n.call(t,i),a.props.shouldCloseOnSelect&&!a.props.showTimeInput&&(a.sendFocusBackToInput(),a.setOpen(!1)),a.props.showTimeInput&&a.setOpen(!0),(a.props.showTimeSelectOnly||a.props.showTimeSelect)&&a.setState({isRenderAriaLiveMessage:!0}),a.setState({inputValue:null})}},a.onInputClick=function(){var e,t;a.props.disabled||a.props.readOnly||a.setOpen(!0),null===(t=(e=a.props).onInputClick)||void 0===t||t.call(e)},a.onInputKeyDown=function(e){var t,n,r,i,o,s;null===(n=(t=a.props).onKeyDown)||void 0===n||n.call(t,e);var l=e.key;if(a.state.open||a.props.inline||a.props.preventOpenOnFocus){if(a.state.open){if(l===ye.ArrowDown||l===ye.ArrowUp){e.preventDefault();var c=a.props.showTimeSelectOnly?".react-datepicker__time-list-item[tabindex='0']":a.props.showWeekPicker&&a.props.showWeekNumbers?'.react-datepicker__week-number[tabindex="0"]':a.props.showFullMonthYearPicker||a.props.showMonthYearPicker?'.react-datepicker__month-text[tabindex="0"]':'.react-datepicker__day[tabindex="0"]',u=(null===(i=a.calendar)||void 0===i?void 0:i.containerRef.current)instanceof Element&&a.calendar.containerRef.current.querySelector(c);return void(u instanceof HTMLElement&&u.focus({preventScroll:!0}))}var d=Se(a.state.preSelection);l===ye.Enter?(e.preventDefault(),a.inputOk()&&a.state.lastPreSelectChange===nn?(a.handleSelect(d,e),!a.props.shouldCloseOnSelect&&a.setPreSelection(d)):a.setOpen(!1)):l===ye.Escape?(e.preventDefault(),a.sendFocusBackToInput(),a.setOpen(!1)):l===ye.Tab&&a.setOpen(!1),a.inputOk()||null===(s=(o=a.props).onInputError)||void 0===s||s.call(o,{code:1,msg:$t})}}else l!==ye.ArrowDown&&l!==ye.ArrowUp&&l!==ye.Enter||null===(r=a.onInputClick)||void 0===r||r.call(a)},a.onPortalKeyDown=function(e){e.key===ye.Escape&&(e.preventDefault(),a.setState({preventFocus:!0},(function(){a.setOpen(!1),setTimeout((function(){a.setFocus(),a.setState({preventFocus:!1})}))})))},a.onDayKeyDown=function(e){var t,n,r,o,l,c,p=a.props,h=p.minDate,f=p.maxDate,m=p.disabledKeyboardNavigation,g=p.showWeekPicker,v=p.shouldCloseOnSelect,A=p.locale,b=p.calendarStartDay,w=p.adjustDateOnChange,x=p.inline;if(null===(n=(t=a.props).onKeyDown)||void 0===n||n.call(t,e),!m){var C=e.key,S=e.shiftKey,k=Se(a.state.preSelection),I=function(e,t){var n=t;switch(e){case ye.ArrowRight:n=g?u.addWeeks(t,1):i.addDays(t,1);break;case ye.ArrowLeft:n=g?ae.subWeeks(t,1):re.subDays(t,1);break;case ye.ArrowUp:n=ae.subWeeks(t,1);break;case ye.ArrowDown:n=u.addWeeks(t,1);break;case ye.PageUp:n=S?se.subYears(t,1):ie.subMonths(t,1);break;case ye.PageDown:n=S?d.addYears(t,1):s.addMonths(t,1);break;case ye.Home:n=Te(t,A,b);break;case ye.End:n=function(e){return y.endOfWeek(e)}(t)}return n};if(C===ye.Enter)return e.preventDefault(),a.handleSelect(k,e),void(!v&&a.setPreSelection(k));if(C===ye.Escape)return e.preventDefault(),a.setOpen(!1),void(a.inputOk()||null===(o=(r=a.props).onInputError)||void 0===o||o.call(r,{code:1,msg:$t}));var _=null;switch(C){case ye.ArrowLeft:case ye.ArrowRight:case ye.ArrowUp:case ye.ArrowDown:case ye.PageUp:case ye.PageDown:case ye.Home:case ye.End:_=function(e,t){for(var n=e,r=!1,i=0,o=I(e,t);!r;){if(i>=40){o=t;break}h&&o<h&&(n=ye.ArrowRight,o=Ye(h,a.props)?I(n,o):h),f&&o>f&&(n=ye.ArrowLeft,o=Ye(f,a.props)?I(n,o):f),Ye(o,a.props)?(n!==ye.PageUp&&n!==ye.Home||(n=ye.ArrowRight),n!==ye.PageDown&&n!==ye.End||(n=ye.ArrowLeft),o=I(n,o)):r=!0,i++}return o}(C,k)}if(_){if(e.preventDefault(),a.setState({lastPreSelectChange:nn}),w&&a.setSelected(_),a.setPreSelection(_),x){var P=E.getMonth(k),T=E.getMonth(_),D=O.getYear(k),j=O.getYear(_);P!==T||D!==j?a.setState({shouldFocusDayInline:!0}):a.setState({shouldFocusDayInline:!1})}}else null===(c=(l=a.props).onInputError)||void 0===c||c.call(l,{code:1,msg:$t})}},a.onPopperKeyDown=function(e){e.key===ye.Escape&&(e.preventDefault(),a.sendFocusBackToInput())},a.onClearClick=function(e){e&&e.preventDefault&&e.preventDefault(),a.sendFocusBackToInput();var t=a.props,n=t.selectsRange,r=t.onChange;n?null==r||r([null,null],e):null==r||r(null,e),a.setState({inputValue:null})},a.clear=function(){a.onClearClick()},a.onScroll=function(e){"boolean"==typeof a.props.closeOnScroll&&a.props.closeOnScroll?e.target!==document&&e.target!==document.documentElement&&e.target!==document.body||a.setOpen(!1):"function"==typeof a.props.closeOnScroll&&a.props.closeOnScroll(e)&&a.setOpen(!1)},a.renderCalendar=function(){var e,t;return a.props.inline||a.isCalendarOpen()?pe.default.createElement(qt,ge({showMonthYearDropdown:void 0,ref:function(e){a.calendar=e}},a.props,a.state,{setOpen:a.setOpen,dateFormat:null!==(e=a.props.dateFormatCalendar)&&void 0!==e?e:r.defaultProps.dateFormatCalendar,onSelect:a.handleSelect,onClickOutside:a.handleCalendarClickOutside,holidays:ft(a.modifyHolidays()),outsideClickIgnoreClass:Zt,onDropdownFocus:a.handleDropdownFocus,onTimeChange:a.handleTimeChange,className:a.props.calendarClassName,container:a.props.calendarContainer,handleOnKeyDown:a.props.onKeyDown,handleOnDayKeyDown:a.onDayKeyDown,setPreSelection:a.setPreSelection,dropdownMode:null!==(t=a.props.dropdownMode)&&void 0!==t?t:r.defaultProps.dropdownMode}),a.props.children):null},a.renderAriaLiveRegion=function(){var e,t=a.props,n=t.dateFormat,i=void 0===n?r.defaultProps.dateFormat:n,o=t.locale,s=a.props.showTimeInput||a.props.showTimeSelect?"PPPPp":"PPPP";return e=a.props.selectsRange?"Selected start date: ".concat(_e(a.props.startDate,{dateFormat:s,locale:o}),". ").concat(a.props.endDate?"End date: "+_e(a.props.endDate,{dateFormat:s,locale:o}):""):a.props.showTimeSelectOnly?"Selected time: ".concat(_e(a.props.selected,{dateFormat:i,locale:o})):a.props.showYearPicker?"Selected year: ".concat(_e(a.props.selected,{dateFormat:"yyyy",locale:o})):a.props.showMonthYearPicker?"Selected month: ".concat(_e(a.props.selected,{dateFormat:"MMMM yyyy",locale:o})):a.props.showQuarterYearPicker?"Selected quarter: ".concat(_e(a.props.selected,{dateFormat:"yyyy, QQQ",locale:o})):"Selected date: ".concat(_e(a.props.selected,{dateFormat:s,locale:o})),pe.default.createElement("span",{role:"alert","aria-live":"polite",className:"react-datepicker__aria-live"},e)},a.renderDateInput=function(){var e,i,o,s=t.clsx(a.props.className,((e={})[Zt]=a.state.open,e)),l=a.props.customInput||pe.default.createElement("input",{type:"text"}),c=a.props.customInputRef||"ref",u=a.props,d=u.dateFormat,p=void 0===d?r.defaultProps.dateFormat:d,h=u.locale,f="string"==typeof a.props.value?a.props.value:"string"==typeof a.state.inputValue?a.state.inputValue:a.props.selectsRange?function(e,t,n){if(!e)return"";var r=_e(e,n),i=t?_e(t,n):"";return"".concat(r," - ").concat(i)}(a.props.startDate,a.props.endDate,{dateFormat:p,locale:h}):a.props.selectsMultiple?function(e,t){if(!(null==e?void 0:e.length))return"";var n=e[0]?_e(e[0],t):"";if(1===e.length)return n;if(2===e.length&&e[1]){var r=_e(e[1],t);return"".concat(n,", ").concat(r)}var i=e.length-1;return"".concat(n," (+").concat(i,")")}(null!==(o=a.props.selectedDates)&&void 0!==o?o:[],{dateFormat:p,locale:h}):_e(a.props.selected,{dateFormat:p,locale:h});return n.cloneElement(l,((i={})[c]=function(e){a.input=e},i.value=f,i.onBlur=a.handleBlur,i.onChange=a.handleChange,i.onClick=a.onInputClick,i.onFocus=a.handleFocus,i.onKeyDown=a.onInputKeyDown,i.id=a.props.id,i.name=a.props.name,i.form=a.props.form,i.autoFocus=a.props.autoFocus,i.placeholder=a.props.placeholderText,i.disabled=a.props.disabled,i.autoComplete=a.props.autoComplete,i.className=t.clsx(l.props.className,s),i.title=a.props.title,i.readOnly=a.props.readOnly,i.required=a.props.required,i.tabIndex=a.props.tabIndex,i["aria-describedby"]=a.props.ariaDescribedBy,i["aria-invalid"]=a.props.ariaInvalid,i["aria-labelledby"]=a.props.ariaLabelledBy,i["aria-required"]=a.props.ariaRequired,i))},a.renderClearButton=function(){var e=a.props,n=e.isClearable,r=e.disabled,i=e.selected,o=e.startDate,s=e.endDate,l=e.clearButtonTitle,c=e.clearButtonClassName,u=void 0===c?"":c,d=e.ariaLabelClose,p=void 0===d?"Close":d,h=e.selectedDates;return n&&(null!=i||null!=o||null!=s||(null==h?void 0:h.length))?pe.default.createElement("button",{type:"button",className:t.clsx("react-datepicker__close-icon",u,{"react-datepicker__close-icon--disabled":r}),disabled:r,"aria-label":p,onClick:a.onClearClick,title:l,tabIndex:-1}):null},a.state=a.calcInitialState(),a.preventFocusTimeout=void 0,a}return me(r,e),Object.defineProperty(r,"defaultProps",{get:function(){return{allowSameDay:!1,dateFormat:"MM/dd/yyyy",dateFormatCalendar:"LLLL yyyy",disabled:!1,disabledKeyboardNavigation:!1,dropdownMode:"scroll",preventOpenOnFocus:!1,monthsShown:1,readOnly:!1,withPortal:!1,selectsDisabledDaysInRange:!1,shouldCloseOnSelect:!0,showTimeSelect:!1,showTimeInput:!1,showPreviousMonths:!1,showMonthYearPicker:!1,showFullMonthYearPicker:!1,showTwoColumnMonthYearPicker:!1,showFourColumnMonthYearPicker:!1,showYearPicker:!1,showQuarterYearPicker:!1,showWeekPicker:!1,strictParsing:!1,swapRange:!1,timeIntervals:30,timeCaption:"Time",previousMonthAriaLabel:"Previous Month",previousMonthButtonLabel:"Previous Month",nextMonthAriaLabel:"Next Month",nextMonthButtonLabel:"Next Month",previousYearAriaLabel:"Previous Year",previousYearButtonLabel:"Previous Year",nextYearAriaLabel:"Next Year",nextYearButtonLabel:"Next Year",timeInputLabel:"Time",enableTabLoop:!0,yearItemNumber:xe,focusSelectedMonth:!1,showPopperArrow:!0,excludeScrollbar:!0,customTimeInput:null,calendarStartDay:void 0,toggleCalendarOnIconClick:!1,usePointerEvent:!1}},enumerable:!1,configurable:!0}),r.prototype.componentDidMount=function(){window.addEventListener("scroll",this.onScroll,!0),document.addEventListener("visibilitychange",this.setHiddenStateOnVisibilityHidden)},r.prototype.componentDidUpdate=function(e,t){var n,r,i,o,a,s;e.inline&&(a=e.selected,s=this.props.selected,a&&s?E.getMonth(a)!==E.getMonth(s)||O.getYear(a)!==O.getYear(s):a!==s)&&this.setPreSelection(this.props.selected),void 0!==this.state.monthSelectedIn&&e.monthsShown!==this.props.monthsShown&&this.setState({monthSelectedIn:0}),e.highlightDates!==this.props.highlightDates&&this.setState({highlightDates:ht(this.props.highlightDates)}),t.focused||Ue(e.selected,this.props.selected)||this.setState({inputValue:null}),t.open!==this.state.open&&(!1===t.open&&!0===this.state.open&&(null===(r=(n=this.props).onCalendarOpen)||void 0===r||r.call(n)),!0===t.open&&!1===this.state.open&&(null===(o=(i=this.props).onCalendarClose)||void 0===o||o.call(i)))},r.prototype.componentWillUnmount=function(){this.clearPreventFocusTimeout(),window.removeEventListener("scroll",this.onScroll,!0),document.removeEventListener("visibilitychange",this.setHiddenStateOnVisibilityHidden)},r.prototype.renderInputContainer=function(){var e=this.props,n=e.showIcon,r=e.icon,i=e.calendarIconClassname,o=e.calendarIconClassName,a=e.toggleCalendarOnIconClick,s=this.state.open;return i&&console.warn("calendarIconClassname props is deprecated. should use calendarIconClassName props."),pe.default.createElement("div",{className:"react-datepicker__input-container".concat(n?" react-datepicker__view-calendar-icon":"")},n&&pe.default.createElement(Ht,ge({icon:r,className:t.clsx(o,!o&&i,s&&"react-datepicker-ignore-onclickoutside")},a?{onClick:this.toggleCalendar}:null)),this.state.isRenderAriaLiveMessage&&this.renderAriaLiveRegion(),this.renderDateInput(),this.renderClearButton())},r.prototype.render=function(){var e=this.renderCalendar();if(this.props.inline)return e;if(this.props.withPortal){var t=this.state.open?pe.default.createElement(Kt,{enableTabLoop:this.props.enableTabLoop},pe.default.createElement("div",{className:"react-datepicker__portal",tabIndex:-1,onKeyDown:this.onPortalKeyDown},e)):null;return this.state.open&&this.props.portalId&&(t=pe.default.createElement(Wt,ge({portalId:this.props.portalId},this.props),t)),pe.default.createElement("div",null,this.renderInputContainer(),t)}return pe.default.createElement(Xt,ge({},this.props,{className:this.props.popperClassName,hidePopper:!this.isCalendarOpen(),targetComponent:this.renderInputContainer(),popperComponent:e,popperOnKeyDown:this.onPopperKeyDown,showArrow:this.props.showPopperArrow}))},r}(n.Component),tn="input",nn="navigate";e.CalendarContainer=Ae,e.default=en,e.getDefaultLocale=Ge,e.registerLocale=function(e,t){var n=we();n.__localeData__||(n.__localeData__={}),n.__localeData__[e]=t},e.setDefaultLocale=function(e){we().__localeId__=e},Object.defineProperty(e,"__esModule",{value:!0})}(t,n(82118),n(9950),n(15651),n(89115),n(59693),n(27167),n(95067),n(29177),n(10007),n(43383),n(30548),n(39518),n(80370),n(49060),n(52247),n(33813),n(57001),n(6435),n(81858),n(48616),n(58079),n(16305),n(19632),n(20514),n(93070),n(6829),n(49935),n(54322),n(65590),n(65110),n(44357),n(83560),n(98491),n(44239),n(42043),n(38903),n(33633),n(43608),n(64685),n(39593),n(87193),n(17915),n(78204),n(12395),n(48727),n(21164),n(51378),n(42249),n(60771),n(57726),n(14370),n(8926),n(71054),n(72116),n(98294),n(25451),n(47610),n(13846),n(81408),n(57252),n(22587),n(75998),n(82954),n(17119))},82118:e=>{function t(e){var n,r,i="";if("string"==typeof e||"number"==typeof e)i+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(n=0;n<o;n++)e[n]&&(r=t(e[n]))&&(i&&(i+=" "),i+=r)}else for(r in e)e[r]&&(i&&(i+=" "),i+=r);return i}function n(){for(var e,n,r=0,i="",o=arguments.length;r<o;r++)(e=arguments[r])&&(n=t(e))&&(i&&(i+=" "),i+=n);return i}e.exports=n,e.exports.clsx=n},12114:(e,t)=>{"use strict";t.addLeadingZeros=function(e,t){const n=e<0?"-":"",r=Math.abs(e).toString().padStart(t,"0");return n+r}},87683:(e,t,n)=>{"use strict";Object.defineProperty(t,"defaultLocale",{enumerable:!0,get:function(){return r.enUS}});var r=n(62724)},94195:(e,t)=>{"use strict";t.getDefaultOptions=function(){return n},t.setDefaultOptions=function(e){n=e};let n={}},62443:(e,t,n)=>{"use strict";t.formatters=void 0;var r=n(50333),i=n(20514),o=n(54591),a=n(52807),s=n(77554),l=n(12114),c=n(87741);const u="midnight",d="noon",p="morning",h="afternoon",f="evening",m="night";t.formatters={G:function(e,t,n){const r=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if("yo"===t){const t=e.getFullYear(),r=t>0?t:1-t;return n.ordinalNumber(r,{unit:"year"})}return c.lightFormatters.y(e,t)},Y:function(e,t,n,r){const i=(0,s.getWeekYear)(e,r),o=i>0?i:1-i;if("YY"===t){const e=o%100;return(0,l.addLeadingZeros)(e,2)}return"Yo"===t?n.ordinalNumber(o,{unit:"year"}):(0,l.addLeadingZeros)(o,t.length)},R:function(e,t){const n=(0,o.getISOWeekYear)(e);return(0,l.addLeadingZeros)(n,t.length)},u:function(e,t){const n=e.getFullYear();return(0,l.addLeadingZeros)(n,t.length)},Q:function(e,t,n){const r=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return(0,l.addLeadingZeros)(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){const r=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return(0,l.addLeadingZeros)(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){const r=e.getMonth();switch(t){case"M":case"MM":return c.lightFormatters.M(e,t);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){const r=e.getMonth();switch(t){case"L":return String(r+1);case"LL":return(0,l.addLeadingZeros)(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){const i=(0,a.getWeek)(e,r);return"wo"===t?n.ordinalNumber(i,{unit:"week"}):(0,l.addLeadingZeros)(i,t.length)},I:function(e,t,n){const r=(0,i.getISOWeek)(e);return"Io"===t?n.ordinalNumber(r,{unit:"week"}):(0,l.addLeadingZeros)(r,t.length)},d:function(e,t,n){return"do"===t?n.ordinalNumber(e.getDate(),{unit:"date"}):c.lightFormatters.d(e,t)},D:function(e,t,n){const i=(0,r.getDayOfYear)(e);return"Do"===t?n.ordinalNumber(i,{unit:"dayOfYear"}):(0,l.addLeadingZeros)(i,t.length)},E:function(e,t,n){const r=e.getDay();switch(t){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){const i=e.getDay(),o=(i-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(o);case"ee":return(0,l.addLeadingZeros)(o,2);case"eo":return n.ordinalNumber(o,{unit:"day"});case"eee":return n.day(i,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(i,{width:"short",context:"formatting"});default:return n.day(i,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){const i=e.getDay(),o=(i-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(o);case"cc":return(0,l.addLeadingZeros)(o,t.length);case"co":return n.ordinalNumber(o,{unit:"day"});case"ccc":return n.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(i,{width:"narrow",context:"standalone"});case"cccccc":return n.day(i,{width:"short",context:"standalone"});default:return n.day(i,{width:"wide",context:"standalone"})}},i:function(e,t,n){const r=e.getDay(),i=0===r?7:r;switch(t){case"i":return String(i);case"ii":return(0,l.addLeadingZeros)(i,t.length);case"io":return n.ordinalNumber(i,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){const r=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(e,t,n){const r=e.getHours();let i;switch(i=12===r?d:0===r?u:r/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(i,{width:"narrow",context:"formatting"});default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},B:function(e,t,n){const r=e.getHours();let i;switch(i=r>=17?f:r>=12?h:r>=4?p:m,t){case"B":case"BB":case"BBB":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(i,{width:"narrow",context:"formatting"});default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},h:function(e,t,n){if("ho"===t){let t=e.getHours()%12;return 0===t&&(t=12),n.ordinalNumber(t,{unit:"hour"})}return c.lightFormatters.h(e,t)},H:function(e,t,n){return"Ho"===t?n.ordinalNumber(e.getHours(),{unit:"hour"}):c.lightFormatters.H(e,t)},K:function(e,t,n){const r=e.getHours()%12;return"Ko"===t?n.ordinalNumber(r,{unit:"hour"}):(0,l.addLeadingZeros)(r,t.length)},k:function(e,t,n){let r=e.getHours();return 0===r&&(r=24),"ko"===t?n.ordinalNumber(r,{unit:"hour"}):(0,l.addLeadingZeros)(r,t.length)},m:function(e,t,n){return"mo"===t?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):c.lightFormatters.m(e,t)},s:function(e,t,n){return"so"===t?n.ordinalNumber(e.getSeconds(),{unit:"second"}):c.lightFormatters.s(e,t)},S:function(e,t){return c.lightFormatters.S(e,t)},X:function(e,t,n){const r=e.getTimezoneOffset();if(0===r)return"Z";switch(t){case"X":return v(r);case"XXXX":case"XX":return y(r);default:return y(r,":")}},x:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"x":return v(r);case"xxxx":case"xx":return y(r);default:return y(r,":")}},O:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+g(r,":");default:return"GMT"+y(r,":")}},z:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+g(r,":");default:return"GMT"+y(r,":")}},t:function(e,t,n){const r=Math.trunc(e.getTime()/1e3);return(0,l.addLeadingZeros)(r,t.length)},T:function(e,t,n){const r=e.getTime();return(0,l.addLeadingZeros)(r,t.length)}};function g(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const n=e>0?"-":"+",r=Math.abs(e),i=Math.trunc(r/60),o=r%60;return 0===o?n+String(i):n+String(i)+t+(0,l.addLeadingZeros)(o,2)}function v(e,t){if(e%60===0){return(e>0?"-":"+")+(0,l.addLeadingZeros)(Math.abs(e)/60,2)}return y(e,t)}function y(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const n=e>0?"-":"+",r=Math.abs(e);return n+(0,l.addLeadingZeros)(Math.trunc(r/60),2)+t+(0,l.addLeadingZeros)(r%60,2)}},87741:(e,t,n)=>{"use strict";t.lightFormatters=void 0;var r=n(12114);t.lightFormatters={y(e,t){const n=e.getFullYear(),i=n>0?n:1-n;return(0,r.addLeadingZeros)("yy"===t?i%100:i,t.length)},M(e,t){const n=e.getMonth();return"M"===t?String(n+1):(0,r.addLeadingZeros)(n+1,2)},d:(e,t)=>(0,r.addLeadingZeros)(e.getDate(),t.length),a(e,t){const n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];default:return"am"===n?"a.m.":"p.m."}},h:(e,t)=>(0,r.addLeadingZeros)(e.getHours()%12||12,t.length),H:(e,t)=>(0,r.addLeadingZeros)(e.getHours(),t.length),m:(e,t)=>(0,r.addLeadingZeros)(e.getMinutes(),t.length),s:(e,t)=>(0,r.addLeadingZeros)(e.getSeconds(),t.length),S(e,t){const n=t.length,i=e.getMilliseconds(),o=Math.trunc(i*Math.pow(10,n-3));return(0,r.addLeadingZeros)(o,t.length)}}},84653:(e,t)=>{"use strict";t.longFormatters=void 0;const n=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},r=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}};t.longFormatters={p:r,P:(e,t)=>{const i=e.match(/(P+)(p+)?/)||[],o=i[1],a=i[2];if(!a)return n(e,t);let s;switch(o){case"P":s=t.dateTime({width:"short"});break;case"PP":s=t.dateTime({width:"medium"});break;case"PPP":s=t.dateTime({width:"long"});break;default:s=t.dateTime({width:"full"})}return s.replace("{{date}}",n(o,t)).replace("{{time}}",r(a,t))}}},10145:(e,t)=>{"use strict";t.getRoundingMethod=function(e){return t=>{const n=(e?Math[e]:Math.trunc)(t);return 0===n?0:n}}},78205:(e,t,n)=>{"use strict";t.getTimezoneOffsetInMilliseconds=function(e){const t=(0,r.toDate)(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),+e-+n};var r=n(75998)},83300:(e,t)=>{"use strict";t.isProtectedDayOfYearToken=function(e){return n.test(e)},t.isProtectedWeekYearToken=function(e){return r.test(e)},t.warnOrThrowProtectedError=function(e,t,n){const r=function(e,t,n){const r="Y"===e[0]?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${r} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}(e,t,n);if(console.warn(r),i.includes(e))throw new RangeError(r)};const n=/^D+$/,r=/^Y+$/,i=["D","DD","YY","YYYY"]},60192:(e,t,n)=>{"use strict";t.add=function(e,t){const{years:n=0,months:s=0,weeks:l=0,days:c=0,hours:u=0,minutes:d=0,seconds:p=0}=t,h=(0,a.toDate)(e),f=s||n?(0,i.addMonths)(h,s+12*n):h,m=c||l?(0,r.addDays)(f,c+7*l):f,g=1e3*(p+60*(d+60*u));return(0,o.constructFrom)(e,m.getTime()+g)};var r=n(89115),i=n(95067),o=n(55070),a=n(75998)},29845:(e,t,n)=>{"use strict";t.addBusinessDays=function(e,t){const n=(0,s.toDate)(e),l=(0,a.isWeekend)(n);if(isNaN(t))return(0,r.constructFrom)(e,NaN);const c=n.getHours(),u=t<0?-1:1,d=Math.trunc(t/5);n.setDate(n.getDate()+7*d);let p=Math.abs(t%5);for(;p>0;)n.setDate(n.getDate()+u),(0,a.isWeekend)(n)||(p-=1);l&&(0,a.isWeekend)(n)&&0!==t&&((0,i.isSaturday)(n)&&n.setDate(n.getDate()+(u<0?2:-1)),(0,o.isSunday)(n)&&n.setDate(n.getDate()+(u<0?1:-2)));return n.setHours(c),n};var r=n(55070),i=n(84604),o=n(72019),a=n(42010),s=n(75998)},89115:(e,t,n)=>{"use strict";t.addDays=function(e,t){const n=(0,r.toDate)(e);if(isNaN(t))return(0,i.constructFrom)(e,NaN);if(!t)return n;return n.setDate(n.getDate()+t),n};var r=n(75998),i=n(55070)},59693:(e,t,n)=>{"use strict";t.addHours=function(e,t){return(0,r.addMilliseconds)(e,t*i.millisecondsInHour)};var r=n(70334),i=n(34502)},9445:(e,t,n)=>{"use strict";t.addISOWeekYears=function(e,t){return(0,i.setISOWeekYear)(e,(0,r.getISOWeekYear)(e)+t)};var r=n(54591),i=n(19955)},70334:(e,t,n)=>{"use strict";t.addMilliseconds=function(e,t){const n=+(0,r.toDate)(e);return(0,i.constructFrom)(e,n+t)};var r=n(75998),i=n(55070)},27167:(e,t,n)=>{"use strict";t.addMinutes=function(e,t){return(0,r.addMilliseconds)(e,t*i.millisecondsInMinute)};var r=n(70334),i=n(34502)},95067:(e,t,n)=>{"use strict";t.addMonths=function(e,t){const n=(0,r.toDate)(e);if(isNaN(t))return(0,i.constructFrom)(e,NaN);if(!t)return n;const o=n.getDate(),a=(0,i.constructFrom)(e,n.getTime());a.setMonth(n.getMonth()+t+1,0);const s=a.getDate();return o>=s?a:(n.setFullYear(a.getFullYear(),a.getMonth(),o),n)};var r=n(75998),i=n(55070)},29177:(e,t,n)=>{"use strict";t.addQuarters=function(e,t){const n=3*t;return(0,r.addMonths)(e,n)};var r=n(95067)},10007:(e,t,n)=>{"use strict";t.addSeconds=function(e,t){return(0,r.addMilliseconds)(e,1e3*t)};var r=n(70334)},43383:(e,t,n)=>{"use strict";t.addWeeks=function(e,t){const n=7*t;return(0,r.addDays)(e,n)};var r=n(89115)},30548:(e,t,n)=>{"use strict";t.addYears=function(e,t){return(0,r.addMonths)(e,12*t)};var r=n(95067)},67728:(e,t,n)=>{"use strict";t.areIntervalsOverlapping=function(e,t,n){const[i,o]=[+(0,r.toDate)(e.start),+(0,r.toDate)(e.end)].sort(((e,t)=>e-t)),[a,s]=[+(0,r.toDate)(t.start),+(0,r.toDate)(t.end)].sort(((e,t)=>e-t));return n?.inclusive?i<=s&&a<=o:i<s&&a<o};var r=n(75998)},26004:(e,t,n)=>{"use strict";t.clamp=function(e,t){return(0,i.min)([(0,r.max)([e,t.start]),t.end])};var r=n(87193),i=n(17915)},15967:(e,t,n)=>{"use strict";t.closestIndexTo=function(e,t){const n=(0,r.toDate)(e);if(isNaN(Number(n)))return NaN;const i=n.getTime();let o,a;return t.forEach((function(e,t){const n=(0,r.toDate)(e);if(isNaN(Number(n)))return o=NaN,void(a=NaN);const s=Math.abs(i-n.getTime());(null==o||s<a)&&(o=t,a=s)})),o};var r=n(75998)},95953:(e,t,n)=>{"use strict";t.closestTo=function(e,t){const n=(0,i.toDate)(e);if(isNaN(Number(n)))return(0,r.constructFrom)(e,NaN);const o=n.getTime();let a,s;return t.forEach((t=>{const n=(0,i.toDate)(t);if(isNaN(Number(n)))return a=(0,r.constructFrom)(e,NaN),void(s=NaN);const l=Math.abs(o-n.getTime());(null==a||l<s)&&(a=n,s=l)})),a};var r=n(55070),i=n(75998)},89791:(e,t,n)=>{"use strict";t.compareAsc=function(e,t){const n=(0,r.toDate)(e),i=(0,r.toDate)(t),o=n.getTime()-i.getTime();return o<0?-1:o>0?1:o};var r=n(75998)},86733:(e,t,n)=>{"use strict";t.compareDesc=function(e,t){const n=(0,r.toDate)(e),i=(0,r.toDate)(t),o=n.getTime()-i.getTime();return o>0?-1:o<0?1:o};var r=n(75998)},34502:(e,t)=>{"use strict";t.secondsInYear=t.secondsInWeek=t.secondsInQuarter=t.secondsInMonth=t.secondsInMinute=t.secondsInHour=t.secondsInDay=t.quartersInYear=t.monthsInYear=t.monthsInQuarter=t.minutesInYear=t.minutesInMonth=t.minutesInHour=t.minutesInDay=t.minTime=t.millisecondsInWeek=t.millisecondsInSecond=t.millisecondsInMinute=t.millisecondsInHour=t.millisecondsInDay=t.maxTime=t.daysInYear=t.daysInWeek=void 0;t.daysInWeek=7;const n=t.daysInYear=365.2425,r=t.maxTime=24*Math.pow(10,8)*60*60*1e3,i=(t.minTime=-r,t.millisecondsInWeek=6048e5,t.millisecondsInDay=864e5,t.millisecondsInMinute=6e4,t.millisecondsInHour=36e5,t.millisecondsInSecond=1e3,t.minutesInYear=525600,t.minutesInMonth=43200,t.minutesInDay=1440,t.minutesInHour=60,t.monthsInQuarter=3,t.monthsInYear=12,t.quartersInYear=4,t.secondsInHour=3600),o=(t.secondsInMinute=60,t.secondsInDay=24*i),a=(t.secondsInWeek=7*o,t.secondsInYear=o*n),s=t.secondsInMonth=a/12;t.secondsInQuarter=3*s},55070:(e,t)=>{"use strict";t.constructFrom=function(e,t){return e instanceof Date?new e.constructor(t):new Date(t)}},26068:(e,t,n)=>{"use strict";t.constructNow=function(e){return(0,r.constructFrom)(e,Date.now())};var r=n(55070)},59496:(e,t,n)=>{"use strict";t.daysToWeeks=function(e){const t=e/r.daysInWeek,n=Math.trunc(t);return 0===n?0:n};var r=n(34502)},27658:(e,t,n)=>{"use strict";t.differenceInBusinessDays=function(e,t){const n=(0,l.toDate)(e);let c=(0,l.toDate)(t);if(!(0,a.isValid)(n)||!(0,a.isValid)(c))return NaN;const u=(0,i.differenceInCalendarDays)(n,c),d=u<0?-1:1,p=Math.trunc(u/7);let h=5*p;c=(0,r.addDays)(c,7*p);for(;!(0,o.isSameDay)(n,c);)h+=(0,s.isWeekend)(c)?0:d,c=(0,r.addDays)(c,d);return 0===h?0:h};var r=n(89115),i=n(39518),o=n(42043),a=n(64685),s=n(42010),l=n(75998)},39518:(e,t,n)=>{"use strict";t.differenceInCalendarDays=function(e,t){const n=(0,i.startOfDay)(e),a=(0,i.startOfDay)(t),s=+n-(0,o.getTimezoneOffsetInMilliseconds)(n),l=+a-(0,o.getTimezoneOffsetInMilliseconds)(a);return Math.round((s-l)/r.millisecondsInDay)};var r=n(34502),i=n(8926),o=n(78205)},81520:(e,t,n)=>{"use strict";t.differenceInCalendarISOWeekYears=function(e,t){return(0,r.getISOWeekYear)(e)-(0,r.getISOWeekYear)(t)};var r=n(54591)},74771:(e,t,n)=>{"use strict";t.differenceInCalendarISOWeeks=function(e,t){const n=(0,i.startOfISOWeek)(e),a=(0,i.startOfISOWeek)(t),s=+n-(0,o.getTimezoneOffsetInMilliseconds)(n),l=+a-(0,o.getTimezoneOffsetInMilliseconds)(a);return Math.round((s-l)/r.millisecondsInWeek)};var r=n(34502),i=n(42493),o=n(78205)},80370:(e,t,n)=>{"use strict";t.differenceInCalendarMonths=function(e,t){const n=(0,r.toDate)(e),i=(0,r.toDate)(t),o=n.getFullYear()-i.getFullYear(),a=n.getMonth()-i.getMonth();return 12*o+a};var r=n(75998)},49060:(e,t,n)=>{"use strict";t.differenceInCalendarQuarters=function(e,t){const n=(0,i.toDate)(e),o=(0,i.toDate)(t),a=n.getFullYear()-o.getFullYear(),s=(0,r.getQuarter)(n)-(0,r.getQuarter)(o);return 4*a+s};var r=n(49935),i=n(75998)},50227:(e,t,n)=>{"use strict";t.differenceInCalendarWeeks=function(e,t,n){const a=(0,i.startOfWeek)(e,n),s=(0,i.startOfWeek)(t,n),l=+a-(0,o.getTimezoneOffsetInMilliseconds)(a),c=+s-(0,o.getTimezoneOffsetInMilliseconds)(s);return Math.round((l-c)/r.millisecondsInWeek)};var r=n(34502),i=n(98294),o=n(78205)},52247:(e,t,n)=>{"use strict";t.differenceInCalendarYears=function(e,t){const n=(0,r.toDate)(e),i=(0,r.toDate)(t);return n.getFullYear()-i.getFullYear()};var r=n(75998)},89912:(e,t,n)=>{"use strict";t.differenceInDays=function(e,t){const n=(0,i.toDate)(e),a=(0,i.toDate)(t),s=o(n,a),l=Math.abs((0,r.differenceInCalendarDays)(n,a));n.setDate(n.getDate()-s*l);const c=Number(o(n,a)===-s),u=s*(l-c);return 0===u?0:u};var r=n(39518),i=n(75998);function o(e,t){const n=e.getFullYear()-t.getFullYear()||e.getMonth()-t.getMonth()||e.getDate()-t.getDate()||e.getHours()-t.getHours()||e.getMinutes()-t.getMinutes()||e.getSeconds()-t.getSeconds()||e.getMilliseconds()-t.getMilliseconds();return n<0?-1:n>0?1:n}},7748:(e,t,n)=>{"use strict";t.differenceInHours=function(e,t,n){const a=(0,o.differenceInMilliseconds)(e,t)/i.millisecondsInHour;return(0,r.getRoundingMethod)(n?.roundingMethod)(a)};var r=n(10145),i=n(34502),o=n(5897)},92254:(e,t,n)=>{"use strict";t.differenceInISOWeekYears=function(e,t){let n=(0,a.toDate)(e);const s=(0,a.toDate)(t),l=(0,r.compareAsc)(n,s),c=Math.abs((0,i.differenceInCalendarISOWeekYears)(n,s));n=(0,o.subISOWeekYears)(n,l*c);const u=Number((0,r.compareAsc)(n,s)===-l),d=l*(c-u);return 0===d?0:d};var r=n(89791),i=n(81520),o=n(2764),a=n(75998)},5897:(e,t,n)=>{"use strict";t.differenceInMilliseconds=function(e,t){return+(0,r.toDate)(e)-+(0,r.toDate)(t)};var r=n(75998)},43930:(e,t,n)=>{"use strict";t.differenceInMinutes=function(e,t,n){const a=(0,o.differenceInMilliseconds)(e,t)/i.millisecondsInMinute;return(0,r.getRoundingMethod)(n?.roundingMethod)(a)};var r=n(10145),i=n(34502),o=n(5897)},87028:(e,t,n)=>{"use strict";t.differenceInMonths=function(e,t){const n=(0,a.toDate)(e),s=(0,a.toDate)(t),l=(0,r.compareAsc)(n,s),c=Math.abs((0,i.differenceInCalendarMonths)(n,s));let u;if(c<1)u=0;else{1===n.getMonth()&&n.getDate()>27&&n.setDate(30),n.setMonth(n.getMonth()-l*c);let t=(0,r.compareAsc)(n,s)===-l;(0,o.isLastDayOfMonth)((0,a.toDate)(e))&&1===c&&1===(0,r.compareAsc)(e,s)&&(t=!1),u=l*(c-Number(t))}return 0===u?0:u};var r=n(89791),i=n(80370),o=n(8300),a=n(75998)},35118:(e,t,n)=>{"use strict";t.differenceInQuarters=function(e,t,n){const o=(0,i.differenceInMonths)(e,t)/3;return(0,r.getRoundingMethod)(n?.roundingMethod)(o)};var r=n(10145),i=n(87028)},99414:(e,t,n)=>{"use strict";t.differenceInSeconds=function(e,t,n){const o=(0,i.differenceInMilliseconds)(e,t)/1e3;return(0,r.getRoundingMethod)(n?.roundingMethod)(o)};var r=n(10145),i=n(5897)},52526:(e,t,n)=>{"use strict";t.differenceInWeeks=function(e,t,n){const o=(0,i.differenceInDays)(e,t)/7;return(0,r.getRoundingMethod)(n?.roundingMethod)(o)};var r=n(10145),i=n(89912)},59113:(e,t,n)=>{"use strict";t.differenceInYears=function(e,t){const n=(0,o.toDate)(e),a=(0,o.toDate)(t),s=(0,r.compareAsc)(n,a),l=Math.abs((0,i.differenceInCalendarYears)(n,a));n.setFullYear(1584),a.setFullYear(1584);const c=(0,r.compareAsc)(n,a)===-s,u=s*(l-+c);return 0===u?0:u};var r=n(89791),i=n(52247),o=n(75998)},46662:(e,t,n)=>{"use strict";t.eachDayOfInterval=function(e,t){const n=(0,r.toDate)(e.start),i=(0,r.toDate)(e.end);let o=+n>+i;const a=o?+n:+i,s=o?i:n;s.setHours(0,0,0,0);let l=t?.step??1;if(!l)return[];l<0&&(l=-l,o=!o);const c=[];for(;+s<=a;)c.push((0,r.toDate)(s)),s.setDate(s.getDate()+l),s.setHours(0,0,0,0);return o?c.reverse():c};var r=n(75998)},26040:(e,t,n)=>{"use strict";t.eachHourOfInterval=function(e,t){const n=(0,i.toDate)(e.start),o=(0,i.toDate)(e.end);let a=+n>+o;const s=a?+n:+o;let l=a?o:n;l.setMinutes(0,0,0);let c=t?.step??1;if(!c)return[];c<0&&(c=-c,a=!a);const u=[];for(;+l<=s;)u.push((0,i.toDate)(l)),l=(0,r.addHours)(l,c);return a?u.reverse():u};var r=n(59693),i=n(75998)},33346:(e,t,n)=>{"use strict";t.eachMinuteOfInterval=function(e,t){const n=(0,i.startOfMinute)((0,o.toDate)(e.start)),a=(0,o.toDate)(e.end);let s=+n>+a;const l=s?+n:+a;let c=s?a:n,u=t?.step??1;if(!u)return[];u<0&&(u=-u,s=!s);const d=[];for(;+c<=l;)d.push((0,o.toDate)(c)),c=(0,r.addMinutes)(c,u);return s?d.reverse():d};var r=n(27167),i=n(45210),o=n(75998)},75550:(e,t,n)=>{"use strict";t.eachMonthOfInterval=function(e,t){const n=(0,r.toDate)(e.start),i=(0,r.toDate)(e.end);let o=+n>+i;const a=o?+n:+i,s=o?i:n;s.setHours(0,0,0,0),s.setDate(1);let l=t?.step??1;if(!l)return[];l<0&&(l=-l,o=!o);const c=[];for(;+s<=a;)c.push((0,r.toDate)(s)),s.setMonth(s.getMonth()+l);return o?c.reverse():c};var r=n(75998)},92832:(e,t,n)=>{"use strict";t.eachQuarterOfInterval=function(e,t){const n=(0,o.toDate)(e.start),a=(0,o.toDate)(e.end);let s=+n>+a;const l=s?+(0,i.startOfQuarter)(n):+(0,i.startOfQuarter)(a);let c=s?(0,i.startOfQuarter)(a):(0,i.startOfQuarter)(n),u=t?.step??1;if(!u)return[];u<0&&(u=-u,s=!s);const d=[];for(;+c<=l;)d.push((0,o.toDate)(c)),c=(0,r.addQuarters)(c,u);return s?d.reverse():d};var r=n(29177),i=n(72116),o=n(75998)},98710:(e,t,n)=>{"use strict";t.eachWeekOfInterval=function(e,t){const n=(0,o.toDate)(e.start),a=(0,o.toDate)(e.end);let s=+n>+a;const l=s?(0,i.startOfWeek)(a,t):(0,i.startOfWeek)(n,t),c=s?(0,i.startOfWeek)(n,t):(0,i.startOfWeek)(a,t);l.setHours(15),c.setHours(15);const u=+c.getTime();let d=l,p=t?.step??1;if(!p)return[];p<0&&(p=-p,s=!s);const h=[];for(;+d<=u;)d.setHours(0),h.push((0,o.toDate)(d)),d=(0,r.addWeeks)(d,p),d.setHours(15);return s?h.reverse():h};var r=n(43383),i=n(98294),o=n(75998)},48993:(e,t,n)=>{"use strict";t.eachWeekendOfInterval=function(e){const t=(0,r.eachDayOfInterval)(e),n=[];let o=0;for(;o<t.length;){const e=t[o++];(0,i.isWeekend)(e)&&n.push(e)}return n};var r=n(46662),i=n(42010)},45144:(e,t,n)=>{"use strict";t.eachWeekendOfMonth=function(e){const t=(0,o.startOfMonth)(e),n=(0,i.endOfMonth)(e);return(0,r.eachWeekendOfInterval)({start:t,end:n})};var r=n(48993),i=n(57001),o=n(71054)},41285:(e,t,n)=>{"use strict";t.eachWeekendOfYear=function(e){const t=(0,o.startOfYear)(e),n=(0,i.endOfYear)(e);return(0,r.eachWeekendOfInterval)({start:t,end:n})};var r=n(48993),i=n(81858),o=n(25451)},66851:(e,t,n)=>{"use strict";t.eachYearOfInterval=function(e,t){const n=(0,r.toDate)(e.start),i=(0,r.toDate)(e.end);let o=+n>+i;const a=o?+n:+i,s=o?i:n;s.setHours(0,0,0,0),s.setMonth(0,1);let l=t?.step??1;if(!l)return[];l<0&&(l=-l,o=!o);const c=[];for(;+s<=a;)c.push((0,r.toDate)(s)),s.setFullYear(s.getFullYear()+l);return o?c.reverse():c};var r=n(75998)},33813:(e,t,n)=>{"use strict";t.endOfDay=function(e){const t=(0,r.toDate)(e);return t.setHours(23,59,59,999),t};var r=n(75998)},57807:(e,t,n)=>{"use strict";t.endOfDecade=function(e){const t=(0,r.toDate)(e),n=t.getFullYear(),i=9+10*Math.floor(n/10);return t.setFullYear(i,11,31),t.setHours(23,59,59,999),t};var r=n(75998)},18409:(e,t,n)=>{"use strict";t.endOfHour=function(e){const t=(0,r.toDate)(e);return t.setMinutes(59,59,999),t};var r=n(75998)},42718:(e,t,n)=>{"use strict";t.endOfISOWeek=function(e){return(0,r.endOfWeek)(e,{weekStartsOn:1})};var r=n(6435)},53747:(e,t,n)=>{"use strict";t.endOfISOWeekYear=function(e){const t=(0,r.getISOWeekYear)(e),n=(0,o.constructFrom)(e,0);n.setFullYear(t+1,0,4),n.setHours(0,0,0,0);const a=(0,i.startOfISOWeek)(n);return a.setMilliseconds(a.getMilliseconds()-1),a};var r=n(54591),i=n(42493),o=n(55070)},85639:(e,t,n)=>{"use strict";t.endOfMinute=function(e){const t=(0,r.toDate)(e);return t.setSeconds(59,999),t};var r=n(75998)},57001:(e,t,n)=>{"use strict";t.endOfMonth=function(e){const t=(0,r.toDate)(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(23,59,59,999),t};var r=n(75998)},28035:(e,t,n)=>{"use strict";t.endOfQuarter=function(e){const t=(0,r.toDate)(e),n=t.getMonth(),i=n-n%3+3;return t.setMonth(i,0),t.setHours(23,59,59,999),t};var r=n(75998)},56043:(e,t,n)=>{"use strict";t.endOfSecond=function(e){const t=(0,r.toDate)(e);return t.setMilliseconds(999),t};var r=n(75998)},28274:(e,t,n)=>{"use strict";t.endOfToday=function(){return(0,r.endOfDay)(Date.now())};var r=n(33813)},30644:(e,t)=>{"use strict";t.endOfTomorrow=function(){const e=new Date,t=e.getFullYear(),n=e.getMonth(),r=e.getDate(),i=new Date(0);return i.setFullYear(t,n,r+1),i.setHours(23,59,59,999),i}},6435:(e,t,n)=>{"use strict";t.endOfWeek=function(e,t){const n=(0,i.getDefaultOptions)(),o=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,a=(0,r.toDate)(e),s=a.getDay(),l=6+(s<o?-7:0)-(s-o);return a.setDate(a.getDate()+l),a.setHours(23,59,59,999),a};var r=n(75998),i=n(94195)},81858:(e,t,n)=>{"use strict";t.endOfYear=function(e){const t=(0,r.toDate)(e),n=t.getFullYear();return t.setFullYear(n+1,0,0),t.setHours(23,59,59,999),t};var r=n(75998)},41059:(e,t)=>{"use strict";t.endOfYesterday=function(){const e=new Date,t=e.getFullYear(),n=e.getMonth(),r=e.getDate(),i=new Date(0);return i.setFullYear(t,n,r-1),i.setHours(23,59,59,999),i}},48616:(e,t,n)=>{"use strict";t.format=t.formatDate=function(e,t,n){const p=(0,i.getDefaultOptions)(),h=n?.locale??p.locale??r.defaultLocale,g=n?.firstWeekContainsDate??n?.locale?.options?.firstWeekContainsDate??p.firstWeekContainsDate??p.locale?.options?.firstWeekContainsDate??1,v=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??p.weekStartsOn??p.locale?.options?.weekStartsOn??0,y=(0,c.toDate)(e);if(!(0,l.isValid)(y))throw new RangeError("Invalid time value");let A=t.match(d).map((e=>{const t=e[0];if("p"===t||"P"===t){return(0,a.longFormatters[t])(e,h.formatLong)}return e})).join("").match(u).map((e=>{if("''"===e)return{isToken:!1,value:"'"};const t=e[0];if("'"===t)return{isToken:!1,value:m(e)};if(o.formatters[t])return{isToken:!0,value:e};if(t.match(f))throw new RangeError("Format string contains an unescaped latin alphabet character `"+t+"`");return{isToken:!1,value:e}}));h.localize.preprocessor&&(A=h.localize.preprocessor(y,A));const b={firstWeekContainsDate:g,weekStartsOn:v,locale:h};return A.map((r=>{if(!r.isToken)return r.value;const i=r.value;(!n?.useAdditionalWeekYearTokens&&(0,s.isProtectedWeekYearToken)(i)||!n?.useAdditionalDayOfYearTokens&&(0,s.isProtectedDayOfYearToken)(i))&&(0,s.warnOrThrowProtectedError)(i,t,String(e));return(0,o.formatters[i[0]])(y,i,h.localize,b)})).join("")},Object.defineProperty(t,"formatters",{enumerable:!0,get:function(){return o.formatters}}),Object.defineProperty(t,"longFormatters",{enumerable:!0,get:function(){return a.longFormatters}});var r=n(87683),i=n(94195),o=n(62443),a=n(84653),s=n(83300),l=n(64685),c=n(75998);const u=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,d=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,p=/^'([^]*?)'?$/,h=/''/g,f=/[a-zA-Z]/;function m(e){const t=e.match(p);return t?t[1].replace(h,"'"):e}},31475:(e,t,n)=>{"use strict";t.formatDistance=function(e,t,n){const d=(0,c.getDefaultOptions)(),p=n?.locale??d.locale??l.defaultLocale,h=(0,r.compareAsc)(e,t);if(isNaN(h))throw new RangeError("Invalid time value");const f=Object.assign({},n,{addSuffix:n?.addSuffix,comparison:h});let m,g;h>0?(m=(0,s.toDate)(t),g=(0,s.toDate)(e)):(m=(0,s.toDate)(e),g=(0,s.toDate)(t));const v=(0,a.differenceInSeconds)(g,m),y=((0,u.getTimezoneOffsetInMilliseconds)(g)-(0,u.getTimezoneOffsetInMilliseconds)(m))/1e3,A=Math.round((v-y)/60);let b;if(A<2)return n?.includeSeconds?v<5?p.formatDistance("lessThanXSeconds",5,f):v<10?p.formatDistance("lessThanXSeconds",10,f):v<20?p.formatDistance("lessThanXSeconds",20,f):v<40?p.formatDistance("halfAMinute",0,f):v<60?p.formatDistance("lessThanXMinutes",1,f):p.formatDistance("xMinutes",1,f):0===A?p.formatDistance("lessThanXMinutes",1,f):p.formatDistance("xMinutes",A,f);if(A<45)return p.formatDistance("xMinutes",A,f);if(A<90)return p.formatDistance("aboutXHours",1,f);if(A<i.minutesInDay){const e=Math.round(A/60);return p.formatDistance("aboutXHours",e,f)}if(A<2520)return p.formatDistance("xDays",1,f);if(A<i.minutesInMonth){const e=Math.round(A/i.minutesInDay);return p.formatDistance("xDays",e,f)}if(A<2*i.minutesInMonth)return b=Math.round(A/i.minutesInMonth),p.formatDistance("aboutXMonths",b,f);if(b=(0,o.differenceInMonths)(g,m),b<12){const e=Math.round(A/i.minutesInMonth);return p.formatDistance("xMonths",e,f)}{const e=b%12,t=Math.trunc(b/12);return e<3?p.formatDistance("aboutXYears",t,f):e<9?p.formatDistance("overXYears",t,f):p.formatDistance("almostXYears",t+1,f)}};var r=n(89791),i=n(34502),o=n(87028),a=n(99414),s=n(75998),l=n(87683),c=n(94195),u=n(78205)},36586:(e,t,n)=>{"use strict";t.formatDistanceStrict=function(e,t,n){const u=(0,i.getDefaultOptions)(),d=n?.locale??u.locale??r.defaultLocale,p=(0,s.compareAsc)(e,t);if(isNaN(p))throw new RangeError("Invalid time value");const h=Object.assign({},n,{addSuffix:n?.addSuffix,comparison:p});let f,m;p>0?(f=(0,c.toDate)(t),m=(0,c.toDate)(e)):(f=(0,c.toDate)(e),m=(0,c.toDate)(t));const g=(0,o.getRoundingMethod)(n?.roundingMethod??"round"),v=m.getTime()-f.getTime(),y=v/l.millisecondsInMinute,A=(0,a.getTimezoneOffsetInMilliseconds)(m)-(0,a.getTimezoneOffsetInMilliseconds)(f),b=(v-A)/l.millisecondsInMinute,w=n?.unit;let x;x=w||(y<1?"second":y<60?"minute":y<l.minutesInDay?"hour":b<l.minutesInMonth?"day":b<l.minutesInYear?"month":"year");if("second"===x){const e=g(v/1e3);return d.formatDistance("xSeconds",e,h)}if("minute"===x){const e=g(y);return d.formatDistance("xMinutes",e,h)}if("hour"===x){const e=g(y/60);return d.formatDistance("xHours",e,h)}if("day"===x){const e=g(b/l.minutesInDay);return d.formatDistance("xDays",e,h)}if("month"===x){const e=g(b/l.minutesInMonth);return 12===e&&"month"!==w?d.formatDistance("xYears",1,h):d.formatDistance("xMonths",e,h)}{const e=g(b/l.minutesInYear);return d.formatDistance("xYears",e,h)}};var r=n(87683),i=n(94195),o=n(10145),a=n(78205),s=n(89791),l=n(34502),c=n(75998)},15844:(e,t,n)=>{"use strict";t.formatDistanceToNow=function(e,t){return(0,i.formatDistance)(e,(0,r.constructNow)(e),t)};var r=n(26068),i=n(31475)},57717:(e,t,n)=>{"use strict";t.formatDistanceToNowStrict=function(e,t){return(0,r.formatDistanceStrict)(e,(0,i.constructNow)(e),t)};var r=n(36586),i=n(26068)},99932:(e,t,n)=>{"use strict";t.formatDuration=function(e,t){const n=(0,i.getDefaultOptions)(),a=t?.locale??n.locale??r.defaultLocale,s=t?.format??o,l=t?.zero??!1,c=t?.delimiter??" ";if(!a.formatDistance)return"";return s.reduce(((t,n)=>{const r=`x${n.replace(/(^.)/,(e=>e.toUpperCase()))}`,i=e[n];return void 0!==i&&(l||e[n])?t.concat(a.formatDistance(r,i)):t}),[]).join(c)};var r=n(87683),i=n(94195);const o=["years","months","weeks","days","hours","minutes","seconds"]},99991:(e,t,n)=>{"use strict";t.formatISO=function(e,t){const n=(0,r.toDate)(e);if(isNaN(n.getTime()))throw new RangeError("Invalid time value");const o=t?.format??"extended",a=t?.representation??"complete";let s="",l="";const c="extended"===o?"-":"",u="extended"===o?":":"";if("time"!==a){const e=(0,i.addLeadingZeros)(n.getDate(),2),t=(0,i.addLeadingZeros)(n.getMonth()+1,2);s=`${(0,i.addLeadingZeros)(n.getFullYear(),4)}${c}${t}${c}${e}`}if("date"!==a){const e=n.getTimezoneOffset();if(0!==e){const t=Math.abs(e);l=`${e<0?"+":"-"}${(0,i.addLeadingZeros)(Math.trunc(t/60),2)}:${(0,i.addLeadingZeros)(t%60,2)}`}else l="Z";s=`${s}${""===s?"":"T"}${[(0,i.addLeadingZeros)(n.getHours(),2),(0,i.addLeadingZeros)(n.getMinutes(),2),(0,i.addLeadingZeros)(n.getSeconds(),2)].join(u)}${l}`}return s};var r=n(75998),i=n(12114)},28686:(e,t,n)=>{"use strict";t.formatISO9075=function(e,t){const n=(0,i.toDate)(e);if(!(0,r.isValid)(n))throw new RangeError("Invalid time value");const a=t?.format??"extended",s=t?.representation??"complete";let l="";const c="extended"===a?"-":"",u="extended"===a?":":"";if("time"!==s){const e=(0,o.addLeadingZeros)(n.getDate(),2),t=(0,o.addLeadingZeros)(n.getMonth()+1,2);l=`${(0,o.addLeadingZeros)(n.getFullYear(),4)}${c}${t}${c}${e}`}if("date"!==s){l=`${l}${""===l?"":" "}${(0,o.addLeadingZeros)(n.getHours(),2)}${u}${(0,o.addLeadingZeros)(n.getMinutes(),2)}${u}${(0,o.addLeadingZeros)(n.getSeconds(),2)}`}return l};var r=n(64685),i=n(75998),o=n(12114)},59231:(e,t)=>{"use strict";t.formatISODuration=function(e){const{years:t=0,months:n=0,days:r=0,hours:i=0,minutes:o=0,seconds:a=0}=e;return`P${t}Y${n}M${r}DT${i}H${o}M${a}S`}},83337:(e,t,n)=>{"use strict";t.formatRFC3339=function(e,t){const n=(0,i.toDate)(e);if(!(0,r.isValid)(n))throw new RangeError("Invalid time value");const a=t?.fractionDigits??0,s=(0,o.addLeadingZeros)(n.getDate(),2),l=(0,o.addLeadingZeros)(n.getMonth()+1,2),c=n.getFullYear(),u=(0,o.addLeadingZeros)(n.getHours(),2),d=(0,o.addLeadingZeros)(n.getMinutes(),2),p=(0,o.addLeadingZeros)(n.getSeconds(),2);let h="";if(a>0){const e=n.getMilliseconds(),t=Math.trunc(e*Math.pow(10,a-3));h="."+(0,o.addLeadingZeros)(t,a)}let f="";const m=n.getTimezoneOffset();if(0!==m){const e=Math.abs(m);f=`${m<0?"+":"-"}${(0,o.addLeadingZeros)(Math.trunc(e/60),2)}:${(0,o.addLeadingZeros)(e%60,2)}`}else f="Z";return`${c}-${l}-${s}T${u}:${d}:${p}${h}${f}`};var r=n(64685),i=n(75998),o=n(12114)},8014:(e,t,n)=>{"use strict";t.formatRFC7231=function(e){const t=(0,i.toDate)(e);if(!(0,r.isValid)(t))throw new RangeError("Invalid time value");const n=a[t.getUTCDay()],l=(0,o.addLeadingZeros)(t.getUTCDate(),2),c=s[t.getUTCMonth()],u=t.getUTCFullYear(),d=(0,o.addLeadingZeros)(t.getUTCHours(),2),p=(0,o.addLeadingZeros)(t.getUTCMinutes(),2),h=(0,o.addLeadingZeros)(t.getUTCSeconds(),2);return`${n}, ${l} ${c} ${u} ${d}:${p}:${h} GMT`};var r=n(64685),i=n(75998),o=n(12114);const a=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],s=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]},54136:(e,t,n)=>{"use strict";t.formatRelative=function(e,t,n){const l=(0,o.toDate)(e),c=(0,o.toDate)(t),u=(0,s.getDefaultOptions)(),d=n?.locale??u.locale??a.defaultLocale,p=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??u.weekStartsOn??u.locale?.options?.weekStartsOn??0,h=(0,r.differenceInCalendarDays)(l,c);if(isNaN(h))throw new RangeError("Invalid time value");let f;f=h<-6?"other":h<-1?"lastWeek":h<0?"yesterday":h<1?"today":h<2?"tomorrow":h<7?"nextWeek":"other";const m=d.formatRelative(f,l,c,{locale:d,weekStartsOn:p});return(0,i.format)(l,m,{locale:d,weekStartsOn:p})};var r=n(39518),i=n(48616),o=n(75998),a=n(87683),s=n(94195)},37656:(e,t,n)=>{"use strict";t.fromUnixTime=function(e){return(0,r.toDate)(1e3*e)};var r=n(75998)},58079:(e,t,n)=>{"use strict";t.getDate=function(e){const t=(0,r.toDate)(e);return t.getDate()};var r=n(75998)},16305:(e,t,n)=>{"use strict";t.getDay=function(e){const t=(0,r.toDate)(e);return t.getDay()};var r=n(75998)},50333:(e,t,n)=>{"use strict";t.getDayOfYear=function(e){const t=(0,o.toDate)(e),n=(0,r.differenceInCalendarDays)(t,(0,i.startOfYear)(t));return n+1};var r=n(39518),i=n(25451),o=n(75998)},90965:(e,t,n)=>{"use strict";t.getDaysInMonth=function(e){const t=(0,r.toDate)(e),n=t.getFullYear(),o=t.getMonth(),a=(0,i.constructFrom)(e,0);return a.setFullYear(n,o+1,0),a.setHours(0,0,0,0),a.getDate()};var r=n(75998),i=n(55070)},13790:(e,t,n)=>{"use strict";t.getDaysInYear=function(e){const t=(0,i.toDate)(e);if("Invalid Date"===String(new Date(t)))return NaN;return(0,r.isLeapYear)(t)?366:365};var r=n(75436),i=n(75998)},37131:(e,t,n)=>{"use strict";t.getDecade=function(e){const t=(0,r.toDate)(e).getFullYear();return 10*Math.floor(t/10)};var r=n(75998)},7874:(e,t,n)=>{"use strict";t.getDefaultOptions=function(){return Object.assign({},(0,r.getDefaultOptions)())};var r=n(94195)},19632:(e,t,n)=>{"use strict";t.getHours=function(e){const t=(0,r.toDate)(e);return t.getHours()};var r=n(75998)},91922:(e,t,n)=>{"use strict";t.getISODay=function(e){let t=(0,r.toDate)(e).getDay();0===t&&(t=7);return t};var r=n(75998)},20514:(e,t,n)=>{"use strict";t.getISOWeek=function(e){const t=(0,a.toDate)(e),n=+(0,i.startOfISOWeek)(t)-+(0,o.startOfISOWeekYear)(t);return Math.round(n/r.millisecondsInWeek)+1};var r=n(34502),i=n(42493),o=n(36780),a=n(75998)},54591:(e,t,n)=>{"use strict";t.getISOWeekYear=function(e){const t=(0,o.toDate)(e),n=t.getFullYear(),a=(0,r.constructFrom)(e,0);a.setFullYear(n+1,0,4),a.setHours(0,0,0,0);const s=(0,i.startOfISOWeek)(a),l=(0,r.constructFrom)(e,0);l.setFullYear(n,0,4),l.setHours(0,0,0,0);const c=(0,i.startOfISOWeek)(l);return t.getTime()>=s.getTime()?n+1:t.getTime()>=c.getTime()?n:n-1};var r=n(55070),i=n(42493),o=n(75998)},37847:(e,t,n)=>{"use strict";t.getISOWeeksInYear=function(e){const t=(0,o.startOfISOWeekYear)(e),n=+(0,o.startOfISOWeekYear)((0,r.addWeeks)(t,60))-+t;return Math.round(n/i.millisecondsInWeek)};var r=n(43383),i=n(34502),o=n(36780)},74261:(e,t,n)=>{"use strict";t.getMilliseconds=function(e){const t=(0,r.toDate)(e);return t.getMilliseconds()};var r=n(75998)},93070:(e,t,n)=>{"use strict";t.getMinutes=function(e){const t=(0,r.toDate)(e);return t.getMinutes()};var r=n(75998)},6829:(e,t,n)=>{"use strict";t.getMonth=function(e){const t=(0,r.toDate)(e);return t.getMonth()};var r=n(75998)},87616:(e,t,n)=>{"use strict";t.getOverlappingDaysInIntervals=function(e,t){const[n,a]=[+(0,o.toDate)(e.start),+(0,o.toDate)(e.end)].sort(((e,t)=>e-t)),[s,l]=[+(0,o.toDate)(t.start),+(0,o.toDate)(t.end)].sort(((e,t)=>e-t));if(!(n<l&&s<a))return 0;const c=s<n?n:s,u=c-(0,r.getTimezoneOffsetInMilliseconds)(c),d=l>a?a:l,p=d-(0,r.getTimezoneOffsetInMilliseconds)(d);return Math.ceil((p-u)/i.millisecondsInDay)};var r=n(78205),i=n(34502),o=n(75998)},49935:(e,t,n)=>{"use strict";t.getQuarter=function(e){const t=(0,r.toDate)(e);return Math.trunc(t.getMonth()/3)+1};var r=n(75998)},54322:(e,t,n)=>{"use strict";t.getSeconds=function(e){const t=(0,r.toDate)(e);return t.getSeconds()};var r=n(75998)},65590:(e,t,n)=>{"use strict";t.getTime=function(e){const t=(0,r.toDate)(e);return t.getTime()};var r=n(75998)},11372:(e,t,n)=>{"use strict";t.getUnixTime=function(e){return Math.trunc(+(0,r.toDate)(e)/1e3)};var r=n(75998)},52807:(e,t,n)=>{"use strict";t.getWeek=function(e,t){const n=(0,a.toDate)(e),s=+(0,i.startOfWeek)(n,t)-+(0,o.startOfWeekYear)(n,t);return Math.round(s/r.millisecondsInWeek)+1};var r=n(34502),i=n(98294),o=n(75643),a=n(75998)},2290:(e,t,n)=>{"use strict";t.getWeekOfMonth=function(e,t){const n=(0,a.getDefaultOptions)(),s=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,l=(0,r.getDate)(e);if(isNaN(l))return NaN;const c=(0,i.getDay)((0,o.startOfMonth)(e));let u=s-c;u<=0&&(u+=7);const d=l-u;return Math.ceil(d/7)+1};var r=n(58079),i=n(16305),o=n(71054),a=n(94195)},77554:(e,t,n)=>{"use strict";t.getWeekYear=function(e,t){const n=(0,o.toDate)(e),s=n.getFullYear(),l=(0,a.getDefaultOptions)(),c=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??l.firstWeekContainsDate??l.locale?.options?.firstWeekContainsDate??1,u=(0,r.constructFrom)(e,0);u.setFullYear(s+1,0,c),u.setHours(0,0,0,0);const d=(0,i.startOfWeek)(u,t),p=(0,r.constructFrom)(e,0);p.setFullYear(s,0,c),p.setHours(0,0,0,0);const h=(0,i.startOfWeek)(p,t);return n.getTime()>=d.getTime()?s+1:n.getTime()>=h.getTime()?s:s-1};var r=n(55070),i=n(98294),o=n(75998),a=n(94195)},90803:(e,t,n)=>{"use strict";t.getWeeksInMonth=function(e,t){return(0,r.differenceInCalendarWeeks)((0,i.lastDayOfMonth)(e),(0,o.startOfMonth)(e),t)+1};var r=n(50227),i=n(80836),o=n(71054)},65110:(e,t,n)=>{"use strict";t.getYear=function(e){return(0,r.toDate)(e).getFullYear()};var r=n(75998)},66483:(e,t,n)=>{"use strict";t.hoursToMilliseconds=function(e){return Math.trunc(e*r.millisecondsInHour)};var r=n(34502)},78268:(e,t,n)=>{"use strict";t.hoursToMinutes=function(e){return Math.trunc(e*r.minutesInHour)};var r=n(34502)},91052:(e,t,n)=>{"use strict";t.hoursToSeconds=function(e){return Math.trunc(e*r.secondsInHour)};var r=n(34502)},15651:(e,t,n)=>{"use strict";var r=n(60192);Object.keys(r).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===r[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}}))}));var i=n(29845);Object.keys(i).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===i[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}}))}));var o=n(89115);Object.keys(o).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===o[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}}))}));var a=n(59693);Object.keys(a).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===a[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return a[e]}}))}));var s=n(9445);Object.keys(s).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===s[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}}))}));var l=n(70334);Object.keys(l).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===l[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return l[e]}}))}));var c=n(27167);Object.keys(c).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===c[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return c[e]}}))}));var u=n(95067);Object.keys(u).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===u[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return u[e]}}))}));var d=n(29177);Object.keys(d).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===d[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return d[e]}}))}));var p=n(10007);Object.keys(p).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===p[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return p[e]}}))}));var h=n(43383);Object.keys(h).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===h[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return h[e]}}))}));var f=n(30548);Object.keys(f).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===f[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return f[e]}}))}));var m=n(67728);Object.keys(m).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===m[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return m[e]}}))}));var g=n(26004);Object.keys(g).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===g[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return g[e]}}))}));var v=n(15967);Object.keys(v).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===v[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return v[e]}}))}));var y=n(95953);Object.keys(y).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===y[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return y[e]}}))}));var A=n(89791);Object.keys(A).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===A[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return A[e]}}))}));var b=n(86733);Object.keys(b).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===b[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return b[e]}}))}));var w=n(55070);Object.keys(w).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===w[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return w[e]}}))}));var x=n(26068);Object.keys(x).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===x[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return x[e]}}))}));var C=n(59496);Object.keys(C).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===C[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return C[e]}}))}));var S=n(27658);Object.keys(S).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===S[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return S[e]}}))}));var k=n(39518);Object.keys(k).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===k[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return k[e]}}))}));var E=n(81520);Object.keys(E).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===E[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return E[e]}}))}));var I=n(74771);Object.keys(I).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===I[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return I[e]}}))}));var _=n(80370);Object.keys(_).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===_[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return _[e]}}))}));var P=n(49060);Object.keys(P).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===P[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return P[e]}}))}));var O=n(50227);Object.keys(O).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===O[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return O[e]}}))}));var T=n(52247);Object.keys(T).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===T[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return T[e]}}))}));var D=n(89912);Object.keys(D).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===D[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return D[e]}}))}));var j=n(7748);Object.keys(j).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===j[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return j[e]}}))}));var B=n(92254);Object.keys(B).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===B[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return B[e]}}))}));var N=n(5897);Object.keys(N).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===N[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return N[e]}}))}));var M=n(43930);Object.keys(M).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===M[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return M[e]}}))}));var R=n(87028);Object.keys(R).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===R[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return R[e]}}))}));var L=n(35118);Object.keys(L).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===L[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return L[e]}}))}));var F=n(99414);Object.keys(F).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===F[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return F[e]}}))}));var z=n(52526);Object.keys(z).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===z[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return z[e]}}))}));var Q=n(59113);Object.keys(Q).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Q[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Q[e]}}))}));var U=n(46662);Object.keys(U).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===U[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return U[e]}}))}));var V=n(26040);Object.keys(V).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===V[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return V[e]}}))}));var G=n(33346);Object.keys(G).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===G[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return G[e]}}))}));var q=n(75550);Object.keys(q).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===q[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return q[e]}}))}));var H=n(92832);Object.keys(H).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===H[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return H[e]}}))}));var W=n(98710);Object.keys(W).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===W[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return W[e]}}))}));var Y=n(48993);Object.keys(Y).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Y[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Y[e]}}))}));var K=n(45144);Object.keys(K).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===K[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return K[e]}}))}));var J=n(41285);Object.keys(J).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===J[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return J[e]}}))}));var X=n(66851);Object.keys(X).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===X[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return X[e]}}))}));var Z=n(33813);Object.keys(Z).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Z[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Z[e]}}))}));var $=n(57807);Object.keys($).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===$[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return $[e]}}))}));var ee=n(18409);Object.keys(ee).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===ee[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return ee[e]}}))}));var te=n(42718);Object.keys(te).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===te[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return te[e]}}))}));var ne=n(53747);Object.keys(ne).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===ne[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return ne[e]}}))}));var re=n(85639);Object.keys(re).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===re[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return re[e]}}))}));var ie=n(57001);Object.keys(ie).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===ie[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return ie[e]}}))}));var oe=n(28035);Object.keys(oe).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===oe[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return oe[e]}}))}));var ae=n(56043);Object.keys(ae).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===ae[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return ae[e]}}))}));var se=n(28274);Object.keys(se).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===se[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return se[e]}}))}));var le=n(30644);Object.keys(le).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===le[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return le[e]}}))}));var ce=n(6435);Object.keys(ce).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===ce[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return ce[e]}}))}));var ue=n(81858);Object.keys(ue).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===ue[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return ue[e]}}))}));var de=n(41059);Object.keys(de).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===de[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return de[e]}}))}));var pe=n(48616);Object.keys(pe).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===pe[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return pe[e]}}))}));var he=n(31475);Object.keys(he).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===he[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return he[e]}}))}));var fe=n(36586);Object.keys(fe).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===fe[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return fe[e]}}))}));var me=n(15844);Object.keys(me).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===me[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return me[e]}}))}));var ge=n(57717);Object.keys(ge).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===ge[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return ge[e]}}))}));var ve=n(99932);Object.keys(ve).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===ve[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return ve[e]}}))}));var ye=n(99991);Object.keys(ye).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===ye[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return ye[e]}}))}));var Ae=n(28686);Object.keys(Ae).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Ae[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Ae[e]}}))}));var be=n(59231);Object.keys(be).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===be[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return be[e]}}))}));var we=n(83337);Object.keys(we).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===we[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return we[e]}}))}));var xe=n(8014);Object.keys(xe).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===xe[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return xe[e]}}))}));var Ce=n(54136);Object.keys(Ce).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Ce[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Ce[e]}}))}));var Se=n(37656);Object.keys(Se).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Se[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Se[e]}}))}));var ke=n(58079);Object.keys(ke).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===ke[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return ke[e]}}))}));var Ee=n(16305);Object.keys(Ee).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Ee[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Ee[e]}}))}));var Ie=n(50333);Object.keys(Ie).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Ie[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Ie[e]}}))}));var _e=n(90965);Object.keys(_e).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===_e[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return _e[e]}}))}));var Pe=n(13790);Object.keys(Pe).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Pe[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Pe[e]}}))}));var Oe=n(37131);Object.keys(Oe).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Oe[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Oe[e]}}))}));var Te=n(7874);Object.keys(Te).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Te[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Te[e]}}))}));var De=n(19632);Object.keys(De).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===De[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return De[e]}}))}));var je=n(91922);Object.keys(je).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===je[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return je[e]}}))}));var Be=n(20514);Object.keys(Be).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Be[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Be[e]}}))}));var Ne=n(54591);Object.keys(Ne).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Ne[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Ne[e]}}))}));var Me=n(37847);Object.keys(Me).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Me[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Me[e]}}))}));var Re=n(74261);Object.keys(Re).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Re[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Re[e]}}))}));var Le=n(93070);Object.keys(Le).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Le[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Le[e]}}))}));var Fe=n(6829);Object.keys(Fe).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Fe[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Fe[e]}}))}));var ze=n(87616);Object.keys(ze).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===ze[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return ze[e]}}))}));var Qe=n(49935);Object.keys(Qe).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Qe[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Qe[e]}}))}));var Ue=n(54322);Object.keys(Ue).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Ue[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Ue[e]}}))}));var Ve=n(65590);Object.keys(Ve).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Ve[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Ve[e]}}))}));var Ge=n(11372);Object.keys(Ge).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Ge[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Ge[e]}}))}));var qe=n(52807);Object.keys(qe).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===qe[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return qe[e]}}))}));var He=n(2290);Object.keys(He).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===He[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return He[e]}}))}));var We=n(77554);Object.keys(We).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===We[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return We[e]}}))}));var Ye=n(90803);Object.keys(Ye).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Ye[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Ye[e]}}))}));var Ke=n(65110);Object.keys(Ke).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Ke[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Ke[e]}}))}));var Je=n(66483);Object.keys(Je).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Je[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Je[e]}}))}));var Xe=n(78268);Object.keys(Xe).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Xe[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Xe[e]}}))}));var Ze=n(91052);Object.keys(Ze).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Ze[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Ze[e]}}))}));var $e=n(5002);Object.keys($e).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===$e[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return $e[e]}}))}));var et=n(30135);Object.keys(et).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===et[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return et[e]}}))}));var tt=n(28407);Object.keys(tt).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===tt[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return tt[e]}}))}));var nt=n(3659);Object.keys(nt).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===nt[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return nt[e]}}))}));var rt=n(44357);Object.keys(rt).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===rt[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return rt[e]}}))}));var it=n(83560);Object.keys(it).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===it[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return it[e]}}))}));var ot=n(98491);Object.keys(ot).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===ot[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return ot[e]}}))}));var at=n(44239);Object.keys(at).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===at[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return at[e]}}))}));var st=n(37415);Object.keys(st).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===st[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return st[e]}}))}));var lt=n(70198);Object.keys(lt).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===lt[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return lt[e]}}))}));var ct=n(76108);Object.keys(ct).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===ct[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return ct[e]}}))}));var ut=n(82252);Object.keys(ut).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===ut[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return ut[e]}}))}));var dt=n(8300);Object.keys(dt).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===dt[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return dt[e]}}))}));var pt=n(75436);Object.keys(pt).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===pt[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return pt[e]}}))}));var ht=n(12650);Object.keys(ht).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===ht[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return ht[e]}}))}));var ft=n(4743);Object.keys(ft).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===ft[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return ft[e]}}))}));var mt=n(12947);Object.keys(mt).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===mt[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return mt[e]}}))}));var gt=n(42043);Object.keys(gt).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===gt[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return gt[e]}}))}));var vt=n(66395);Object.keys(vt).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===vt[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return vt[e]}}))}));var yt=n(37484);Object.keys(yt).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===yt[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return yt[e]}}))}));var At=n(63413);Object.keys(At).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===At[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return At[e]}}))}));var bt=n(56989);Object.keys(bt).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===bt[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return bt[e]}}))}));var wt=n(38903);Object.keys(wt).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===wt[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return wt[e]}}))}));var xt=n(33633);Object.keys(xt).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===xt[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return xt[e]}}))}));var Ct=n(23349);Object.keys(Ct).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Ct[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Ct[e]}}))}));var St=n(9893);Object.keys(St).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===St[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return St[e]}}))}));var kt=n(43608);Object.keys(kt).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===kt[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return kt[e]}}))}));var Et=n(84604);Object.keys(Et).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Et[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Et[e]}}))}));var It=n(72019);Object.keys(It).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===It[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return It[e]}}))}));var _t=n(66765);Object.keys(_t).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===_t[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return _t[e]}}))}));var Pt=n(18346);Object.keys(Pt).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Pt[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Pt[e]}}))}));var Ot=n(92627);Object.keys(Ot).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Ot[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Ot[e]}}))}));var Tt=n(68101);Object.keys(Tt).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Tt[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Tt[e]}}))}));var Dt=n(59111);Object.keys(Dt).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Dt[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Dt[e]}}))}));var jt=n(54639);Object.keys(jt).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===jt[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return jt[e]}}))}));var Bt=n(91039);Object.keys(Bt).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Bt[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Bt[e]}}))}));var Nt=n(42734);Object.keys(Nt).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Nt[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Nt[e]}}))}));var Mt=n(72709);Object.keys(Mt).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Mt[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Mt[e]}}))}));var Rt=n(53170);Object.keys(Rt).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Rt[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Rt[e]}}))}));var Lt=n(308);Object.keys(Lt).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Lt[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Lt[e]}}))}));var Ft=n(32196);Object.keys(Ft).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Ft[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Ft[e]}}))}));var zt=n(64685);Object.keys(zt).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===zt[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return zt[e]}}))}));var Qt=n(36115);Object.keys(Qt).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Qt[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Qt[e]}}))}));var Ut=n(42010);Object.keys(Ut).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Ut[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Ut[e]}}))}));var Vt=n(39593);Object.keys(Vt).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Vt[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Vt[e]}}))}));var Gt=n(72547);Object.keys(Gt).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Gt[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Gt[e]}}))}));var qt=n(55648);Object.keys(qt).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===qt[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return qt[e]}}))}));var Ht=n(27851);Object.keys(Ht).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Ht[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Ht[e]}}))}));var Wt=n(94846);Object.keys(Wt).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Wt[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Wt[e]}}))}));var Yt=n(80836);Object.keys(Yt).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Yt[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Yt[e]}}))}));var Kt=n(83386);Object.keys(Kt).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Kt[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Kt[e]}}))}));var Jt=n(40184);Object.keys(Jt).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Jt[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Jt[e]}}))}));var Xt=n(9265);Object.keys(Xt).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Xt[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Xt[e]}}))}));var Zt=n(97684);Object.keys(Zt).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Zt[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Zt[e]}}))}));var $t=n(87193);Object.keys($t).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===$t[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return $t[e]}}))}));var en=n(50281);Object.keys(en).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===en[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return en[e]}}))}));var tn=n(95013);Object.keys(tn).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===tn[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return tn[e]}}))}));var nn=n(67559);Object.keys(nn).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===nn[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return nn[e]}}))}));var rn=n(94735);Object.keys(rn).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===rn[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return rn[e]}}))}));var on=n(17915);Object.keys(on).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===on[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return on[e]}}))}));var an=n(11412);Object.keys(an).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===an[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return an[e]}}))}));var sn=n(87577);Object.keys(sn).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===sn[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return sn[e]}}))}));var ln=n(75878);Object.keys(ln).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===ln[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return ln[e]}}))}));var cn=n(97984);Object.keys(cn).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===cn[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return cn[e]}}))}));var un=n(53435);Object.keys(un).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===un[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return un[e]}}))}));var dn=n(56714);Object.keys(dn).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===dn[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return dn[e]}}))}));var pn=n(34497);Object.keys(pn).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===pn[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return pn[e]}}))}));var hn=n(25342);Object.keys(hn).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===hn[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return hn[e]}}))}));var fn=n(50861);Object.keys(fn).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===fn[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return fn[e]}}))}));var mn=n(76318);Object.keys(mn).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===mn[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return mn[e]}}))}));var gn=n(39904);Object.keys(gn).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===gn[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return gn[e]}}))}));var vn=n(18283);Object.keys(vn).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===vn[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return vn[e]}}))}));var yn=n(12800);Object.keys(yn).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===yn[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return yn[e]}}))}));var An=n(78204);Object.keys(An).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===An[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return An[e]}}))}));var bn=n(12395);Object.keys(bn).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===bn[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return bn[e]}}))}));var wn=n(85918);Object.keys(wn).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===wn[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return wn[e]}}))}));var xn=n(62270);Object.keys(xn).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===xn[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return xn[e]}}))}));var Cn=n(45349);Object.keys(Cn).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Cn[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Cn[e]}}))}));var Sn=n(14354);Object.keys(Sn).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Sn[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Sn[e]}}))}));var kn=n(75321);Object.keys(kn).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===kn[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return kn[e]}}))}));var En=n(54202);Object.keys(En).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===En[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return En[e]}}))}));var In=n(62764);Object.keys(In).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===In[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return In[e]}}))}));var _n=n(13095);Object.keys(_n).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===_n[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return _n[e]}}))}));var Pn=n(61612);Object.keys(Pn).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Pn[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Pn[e]}}))}));var On=n(67656);Object.keys(On).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===On[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return On[e]}}))}));var Tn=n(12125);Object.keys(Tn).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Tn[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Tn[e]}}))}));var Dn=n(75243);Object.keys(Dn).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Dn[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Dn[e]}}))}));var jn=n(6273);Object.keys(jn).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===jn[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return jn[e]}}))}));var Bn=n(35608);Object.keys(Bn).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Bn[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Bn[e]}}))}));var Nn=n(23197);Object.keys(Nn).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Nn[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Nn[e]}}))}));var Mn=n(26406);Object.keys(Mn).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Mn[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Mn[e]}}))}));var Rn=n(48727);Object.keys(Rn).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Rn[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Rn[e]}}))}));var Ln=n(36411);Object.keys(Ln).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Ln[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Ln[e]}}))}));var Fn=n(3669);Object.keys(Fn).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Fn[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Fn[e]}}))}));var zn=n(87673);Object.keys(zn).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===zn[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return zn[e]}}))}));var Qn=n(61478);Object.keys(Qn).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Qn[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Qn[e]}}))}));var Un=n(21164);Object.keys(Un).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Un[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Un[e]}}))}));var Vn=n(54774);Object.keys(Vn).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Vn[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Vn[e]}}))}));var Gn=n(56222);Object.keys(Gn).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Gn[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Gn[e]}}))}));var qn=n(19955);Object.keys(qn).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===qn[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return qn[e]}}))}));var Hn=n(77617);Object.keys(Hn).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Hn[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Hn[e]}}))}));var Wn=n(51378);Object.keys(Wn).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Wn[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Wn[e]}}))}));var Yn=n(42249);Object.keys(Yn).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Yn[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Yn[e]}}))}));var Kn=n(60771);Object.keys(Kn).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Kn[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Kn[e]}}))}));var Jn=n(57726);Object.keys(Jn).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Jn[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Jn[e]}}))}));var Xn=n(65667);Object.keys(Xn).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Xn[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Xn[e]}}))}));var Zn=n(42054);Object.keys(Zn).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Zn[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Zn[e]}}))}));var $n=n(14370);Object.keys($n).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===$n[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return $n[e]}}))}));var er=n(8926);Object.keys(er).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===er[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return er[e]}}))}));var tr=n(76866);Object.keys(tr).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===tr[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return tr[e]}}))}));var nr=n(45420);Object.keys(nr).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===nr[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return nr[e]}}))}));var rr=n(42493);Object.keys(rr).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===rr[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return rr[e]}}))}));var ir=n(36780);Object.keys(ir).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===ir[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return ir[e]}}))}));var or=n(45210);Object.keys(or).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===or[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return or[e]}}))}));var ar=n(71054);Object.keys(ar).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===ar[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return ar[e]}}))}));var sr=n(72116);Object.keys(sr).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===sr[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return sr[e]}}))}));var lr=n(12526);Object.keys(lr).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===lr[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return lr[e]}}))}));var cr=n(67065);Object.keys(cr).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===cr[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return cr[e]}}))}));var ur=n(52081);Object.keys(ur).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===ur[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return ur[e]}}))}));var dr=n(98294);Object.keys(dr).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===dr[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return dr[e]}}))}));var pr=n(75643);Object.keys(pr).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===pr[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return pr[e]}}))}));var hr=n(25451);Object.keys(hr).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===hr[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return hr[e]}}))}));var fr=n(58844);Object.keys(fr).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===fr[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return fr[e]}}))}));var mr=n(94261);Object.keys(mr).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===mr[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return mr[e]}}))}));var gr=n(88296);Object.keys(gr).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===gr[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return gr[e]}}))}));var vr=n(47610);Object.keys(vr).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===vr[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return vr[e]}}))}));var yr=n(71434);Object.keys(yr).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===yr[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return yr[e]}}))}));var Ar=n(2764);Object.keys(Ar).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Ar[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Ar[e]}}))}));var br=n(14435);Object.keys(br).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===br[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return br[e]}}))}));var wr=n(6348);Object.keys(wr).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===wr[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return wr[e]}}))}));var xr=n(13846);Object.keys(xr).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===xr[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return xr[e]}}))}));var Cr=n(81408);Object.keys(Cr).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Cr[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Cr[e]}}))}));var Sr=n(86812);Object.keys(Sr).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Sr[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Sr[e]}}))}));var kr=n(57252);Object.keys(kr).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===kr[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return kr[e]}}))}));var Er=n(22587);Object.keys(Er).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Er[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Er[e]}}))}));var Ir=n(75998);Object.keys(Ir).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Ir[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Ir[e]}}))}));var _r=n(85540);Object.keys(_r).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===_r[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return _r[e]}}))}));var Pr=n(86660);Object.keys(Pr).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Pr[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Pr[e]}}))}));var Or=n(80435);Object.keys(Or).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Or[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Or[e]}}))}));var Tr=n(64419);Object.keys(Tr).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Tr[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Tr[e]}}))}));var Dr=n(29505);Object.keys(Dr).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===Dr[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return Dr[e]}}))}))},5002:(e,t,n)=>{"use strict";t.interval=function(e,t,n){const i=(0,r.toDate)(e);if(isNaN(+i))throw new TypeError("Start date is invalid");const o=(0,r.toDate)(t);if(isNaN(+o))throw new TypeError("End date is invalid");if(n?.assertPositive&&+i>+o)throw new TypeError("End date must be after start date");return{start:i,end:o}};var r=n(75998)},30135:(e,t,n)=>{"use strict";t.intervalToDuration=function(e){const t=(0,u.toDate)(e.start),n=(0,u.toDate)(e.end),d={},p=(0,c.differenceInYears)(n,t);p&&(d.years=p);const h=(0,r.add)(t,{years:d.years}),f=(0,s.differenceInMonths)(n,h);f&&(d.months=f);const m=(0,r.add)(h,{months:d.months}),g=(0,i.differenceInDays)(n,m);g&&(d.days=g);const v=(0,r.add)(m,{days:d.days}),y=(0,o.differenceInHours)(n,v);y&&(d.hours=y);const A=(0,r.add)(v,{hours:d.hours}),b=(0,a.differenceInMinutes)(n,A);b&&(d.minutes=b);const w=(0,r.add)(A,{minutes:d.minutes}),x=(0,l.differenceInSeconds)(n,w);x&&(d.seconds=x);return d};var r=n(60192),i=n(89912),o=n(7748),a=n(43930),s=n(87028),l=n(99414),c=n(59113),u=n(75998)},28407:(e,t,n)=>{"use strict";t.intlFormat=function(e,t,n){let i;o=t,void 0===o||"locale"in o?n=t:i=t;var o;return new Intl.DateTimeFormat(n?.locale,i).format((0,r.toDate)(e))};var r=n(75998)},3659:(e,t,n)=>{"use strict";t.intlFormatDistance=function(e,t,n){let h,f=0;const m=(0,p.toDate)(e),g=(0,p.toDate)(t);if(n?.unit)h=n?.unit,"second"===h?f=(0,d.differenceInSeconds)(m,g):"minute"===h?f=(0,u.differenceInMinutes)(m,g):"hour"===h?f=(0,c.differenceInHours)(m,g):"day"===h?f=(0,i.differenceInCalendarDays)(m,g):"week"===h?f=(0,s.differenceInCalendarWeeks)(m,g):"month"===h?f=(0,o.differenceInCalendarMonths)(m,g):"quarter"===h?f=(0,a.differenceInCalendarQuarters)(m,g):"year"===h&&(f=(0,l.differenceInCalendarYears)(m,g));else{const e=(0,d.differenceInSeconds)(m,g);Math.abs(e)<r.secondsInMinute?(f=(0,d.differenceInSeconds)(m,g),h="second"):Math.abs(e)<r.secondsInHour?(f=(0,u.differenceInMinutes)(m,g),h="minute"):Math.abs(e)<r.secondsInDay&&Math.abs((0,i.differenceInCalendarDays)(m,g))<1?(f=(0,c.differenceInHours)(m,g),h="hour"):Math.abs(e)<r.secondsInWeek&&(f=(0,i.differenceInCalendarDays)(m,g))&&Math.abs(f)<7?h="day":Math.abs(e)<r.secondsInMonth?(f=(0,s.differenceInCalendarWeeks)(m,g),h="week"):Math.abs(e)<r.secondsInQuarter?(f=(0,o.differenceInCalendarMonths)(m,g),h="month"):Math.abs(e)<r.secondsInYear&&(0,a.differenceInCalendarQuarters)(m,g)<4?(f=(0,a.differenceInCalendarQuarters)(m,g),h="quarter"):(f=(0,l.differenceInCalendarYears)(m,g),h="year")}return new Intl.RelativeTimeFormat(n?.locale,{localeMatcher:n?.localeMatcher,numeric:n?.numeric||"auto",style:n?.style}).format(f,h)};var r=n(34502),i=n(39518),o=n(80370),a=n(49060),s=n(50227),l=n(52247),c=n(7748),u=n(43930),d=n(99414),p=n(75998)},44357:(e,t,n)=>{"use strict";t.isAfter=function(e,t){const n=(0,r.toDate)(e),i=(0,r.toDate)(t);return n.getTime()>i.getTime()};var r=n(75998)},83560:(e,t,n)=>{"use strict";t.isBefore=function(e,t){const n=(0,r.toDate)(e),i=(0,r.toDate)(t);return+n<+i};var r=n(75998)},98491:(e,t)=>{"use strict";t.isDate=function(e){return e instanceof Date||"object"===typeof e&&"[object Date]"===Object.prototype.toString.call(e)}},44239:(e,t,n)=>{"use strict";t.isEqual=function(e,t){const n=(0,r.toDate)(e),i=(0,r.toDate)(t);return+n===+i};var r=n(75998)},37415:(e,t)=>{"use strict";t.isExists=function(e,t,n){const r=new Date(e,t,n);return r.getFullYear()===e&&r.getMonth()===t&&r.getDate()===n}},70198:(e,t,n)=>{"use strict";t.isFirstDayOfMonth=function(e){return 1===(0,r.toDate)(e).getDate()};var r=n(75998)},76108:(e,t,n)=>{"use strict";t.isFriday=function(e){return 5===(0,r.toDate)(e).getDay()};var r=n(75998)},82252:(e,t,n)=>{"use strict";t.isFuture=function(e){return+(0,r.toDate)(e)>Date.now()};var r=n(75998)},8300:(e,t,n)=>{"use strict";t.isLastDayOfMonth=function(e){const t=(0,o.toDate)(e);return+(0,r.endOfDay)(t)===+(0,i.endOfMonth)(t)};var r=n(33813),i=n(57001),o=n(75998)},75436:(e,t,n)=>{"use strict";t.isLeapYear=function(e){const t=(0,r.toDate)(e).getFullYear();return t%400===0||t%4===0&&t%100!==0};var r=n(75998)},12650:(e,t,n)=>{"use strict";t.isMatch=function(e,t,n){return(0,r.isValid)((0,i.parse)(e,t,new Date,n))};var r=n(64685),i=n(78204)},4743:(e,t,n)=>{"use strict";t.isMonday=function(e){return 1===(0,r.toDate)(e).getDay()};var r=n(75998)},12947:(e,t,n)=>{"use strict";t.isPast=function(e){return+(0,r.toDate)(e)<Date.now()};var r=n(75998)},42043:(e,t,n)=>{"use strict";t.isSameDay=function(e,t){const n=(0,r.startOfDay)(e),i=(0,r.startOfDay)(t);return+n===+i};var r=n(8926)},66395:(e,t,n)=>{"use strict";t.isSameHour=function(e,t){const n=(0,r.startOfHour)(e),i=(0,r.startOfHour)(t);return+n===+i};var r=n(45420)},37484:(e,t,n)=>{"use strict";t.isSameISOWeek=function(e,t){return(0,r.isSameWeek)(e,t,{weekStartsOn:1})};var r=n(9893)},63413:(e,t,n)=>{"use strict";t.isSameISOWeekYear=function(e,t){const n=(0,r.startOfISOWeekYear)(e),i=(0,r.startOfISOWeekYear)(t);return+n===+i};var r=n(36780)},56989:(e,t,n)=>{"use strict";t.isSameMinute=function(e,t){const n=(0,r.startOfMinute)(e),i=(0,r.startOfMinute)(t);return+n===+i};var r=n(45210)},38903:(e,t,n)=>{"use strict";t.isSameMonth=function(e,t){const n=(0,r.toDate)(e),i=(0,r.toDate)(t);return n.getFullYear()===i.getFullYear()&&n.getMonth()===i.getMonth()};var r=n(75998)},33633:(e,t,n)=>{"use strict";t.isSameQuarter=function(e,t){const n=(0,r.startOfQuarter)(e),i=(0,r.startOfQuarter)(t);return+n===+i};var r=n(72116)},23349:(e,t,n)=>{"use strict";t.isSameSecond=function(e,t){const n=(0,r.startOfSecond)(e),i=(0,r.startOfSecond)(t);return+n===+i};var r=n(12526)},9893:(e,t,n)=>{"use strict";t.isSameWeek=function(e,t,n){const i=(0,r.startOfWeek)(e,n),o=(0,r.startOfWeek)(t,n);return+i===+o};var r=n(98294)},43608:(e,t,n)=>{"use strict";t.isSameYear=function(e,t){const n=(0,r.toDate)(e),i=(0,r.toDate)(t);return n.getFullYear()===i.getFullYear()};var r=n(75998)},84604:(e,t,n)=>{"use strict";t.isSaturday=function(e){return 6===(0,r.toDate)(e).getDay()};var r=n(75998)},72019:(e,t,n)=>{"use strict";t.isSunday=function(e){return 0===(0,r.toDate)(e).getDay()};var r=n(75998)},66765:(e,t,n)=>{"use strict";t.isThisHour=function(e){return(0,i.isSameHour)(e,(0,r.constructNow)(e))};var r=n(26068),i=n(66395)},18346:(e,t,n)=>{"use strict";t.isThisISOWeek=function(e){return(0,i.isSameISOWeek)(e,(0,r.constructNow)(e))};var r=n(26068),i=n(37484)},92627:(e,t,n)=>{"use strict";t.isThisMinute=function(e){return(0,i.isSameMinute)(e,(0,r.constructNow)(e))};var r=n(26068),i=n(56989)},68101:(e,t,n)=>{"use strict";t.isThisMonth=function(e){return(0,i.isSameMonth)(e,(0,r.constructNow)(e))};var r=n(26068),i=n(38903)},59111:(e,t,n)=>{"use strict";t.isThisQuarter=function(e){return(0,i.isSameQuarter)(e,(0,r.constructNow)(e))};var r=n(26068),i=n(33633)},54639:(e,t,n)=>{"use strict";t.isThisSecond=function(e){return(0,i.isSameSecond)(e,(0,r.constructNow)(e))};var r=n(26068),i=n(23349)},91039:(e,t,n)=>{"use strict";t.isThisWeek=function(e,t){return(0,i.isSameWeek)(e,(0,r.constructNow)(e),t)};var r=n(26068),i=n(9893)},42734:(e,t,n)=>{"use strict";t.isThisYear=function(e){return(0,i.isSameYear)(e,(0,r.constructNow)(e))};var r=n(26068),i=n(43608)},72709:(e,t,n)=>{"use strict";t.isThursday=function(e){return 4===(0,r.toDate)(e).getDay()};var r=n(75998)},53170:(e,t,n)=>{"use strict";t.isToday=function(e){return(0,i.isSameDay)(e,(0,r.constructNow)(e))};var r=n(26068),i=n(42043)},308:(e,t,n)=>{"use strict";t.isTomorrow=function(e){return(0,o.isSameDay)(e,(0,r.addDays)((0,i.constructNow)(e),1))};var r=n(89115),i=n(26068),o=n(42043)},32196:(e,t,n)=>{"use strict";t.isTuesday=function(e){return 2===(0,r.toDate)(e).getDay()};var r=n(75998)},64685:(e,t,n)=>{"use strict";t.isValid=function(e){if(!(0,r.isDate)(e)&&"number"!==typeof e)return!1;const t=(0,i.toDate)(e);return!isNaN(Number(t))};var r=n(98491),i=n(75998)},36115:(e,t,n)=>{"use strict";t.isWednesday=function(e){return 3===(0,r.toDate)(e).getDay()};var r=n(75998)},42010:(e,t,n)=>{"use strict";t.isWeekend=function(e){const t=(0,r.toDate)(e).getDay();return 0===t||6===t};var r=n(75998)},39593:(e,t,n)=>{"use strict";t.isWithinInterval=function(e,t){const n=+(0,r.toDate)(e),[i,o]=[+(0,r.toDate)(t.start),+(0,r.toDate)(t.end)].sort(((e,t)=>e-t));return n>=i&&n<=o};var r=n(75998)},72547:(e,t,n)=>{"use strict";t.isYesterday=function(e){return(0,i.isSameDay)(e,(0,o.subDays)((0,r.constructNow)(e),1))};var r=n(26068),i=n(42043),o=n(47610)},55648:(e,t,n)=>{"use strict";t.lastDayOfDecade=function(e){const t=(0,r.toDate)(e),n=t.getFullYear(),i=9+10*Math.floor(n/10);return t.setFullYear(i+1,0,0),t.setHours(0,0,0,0),t};var r=n(75998)},27851:(e,t,n)=>{"use strict";t.lastDayOfISOWeek=function(e){return(0,r.lastDayOfWeek)(e,{weekStartsOn:1})};var r=n(40184)},94846:(e,t,n)=>{"use strict";t.lastDayOfISOWeekYear=function(e){const t=(0,r.getISOWeekYear)(e),n=(0,o.constructFrom)(e,0);n.setFullYear(t+1,0,4),n.setHours(0,0,0,0);const a=(0,i.startOfISOWeek)(n);return a.setDate(a.getDate()-1),a};var r=n(54591),i=n(42493),o=n(55070)},80836:(e,t,n)=>{"use strict";t.lastDayOfMonth=function(e){const t=(0,r.toDate)(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(0,0,0,0),t};var r=n(75998)},83386:(e,t,n)=>{"use strict";t.lastDayOfQuarter=function(e){const t=(0,r.toDate)(e),n=t.getMonth(),i=n-n%3+3;return t.setMonth(i,0),t.setHours(0,0,0,0),t};var r=n(75998)},40184:(e,t,n)=>{"use strict";t.lastDayOfWeek=function(e,t){const n=(0,i.getDefaultOptions)(),o=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,a=(0,r.toDate)(e),s=a.getDay(),l=6+(s<o?-7:0)-(s-o);return a.setHours(0,0,0,0),a.setDate(a.getDate()+l),a};var r=n(75998),i=n(94195)},9265:(e,t,n)=>{"use strict";t.lastDayOfYear=function(e){const t=(0,r.toDate)(e),n=t.getFullYear();return t.setFullYear(n+1,0,0),t.setHours(0,0,0,0),t};var r=n(75998)},97684:(e,t,n)=>{"use strict";t.lightFormat=function(e,t){const n=(0,i.toDate)(e);if(!(0,r.isValid)(n))throw new RangeError("Invalid time value");const u=t.match(a);if(!u)return"";return u.map((e=>{if("''"===e)return"'";const t=e[0];if("'"===t)return function(e){const t=e.match(s);if(!t)return e;return t[1].replace(l,"'")}(e);const r=o.lightFormatters[t];if(r)return r(n,e);if(t.match(c))throw new RangeError("Format string contains an unescaped latin alphabet character `"+t+"`");return e})).join("")},Object.defineProperty(t,"lightFormatters",{enumerable:!0,get:function(){return o.lightFormatters}});var r=n(64685),i=n(75998),o=n(87741);const a=/(\w)\1*|''|'(''|[^'])+('|$)|./g,s=/^'([^]*?)'?$/,l=/''/g,c=/[a-zA-Z]/},51630:(e,t)=>{"use strict";t.buildFormatLongFn=function(e){return function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}},19128:(e,t)=>{"use strict";t.buildLocalizeFn=function(e){return(t,n)=>{let r;if("formatting"===(n?.context?String(n.context):"standalone")&&e.formattingValues){const t=e.defaultFormattingWidth||e.defaultWidth,i=n?.width?String(n.width):t;r=e.formattingValues[i]||e.formattingValues[t]}else{const t=e.defaultWidth,i=n?.width?String(n.width):e.defaultWidth;r=e.values[i]||e.values[t]}return r[e.argumentCallback?e.argumentCallback(t):t]}}},84626:(e,t)=>{"use strict";t.buildMatchFn=function(e){return function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=n.width,i=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],o=t.match(i);if(!o)return null;const a=o[0],s=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(s)?function(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n;return}(s,(e=>e.test(a))):function(e,t){for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n;return}(s,(e=>e.test(a)));let c;c=e.valueCallback?e.valueCallback(l):l,c=n.valueCallback?n.valueCallback(c):c;return{value:c,rest:t.slice(a.length)}}}},55742:(e,t)=>{"use strict";t.buildMatchPatternFn=function(e){return function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=t.match(e.matchPattern);if(!r)return null;const i=r[0],o=t.match(e.parsePattern);if(!o)return null;let a=e.valueCallback?e.valueCallback(o[0]):o[0];a=n.valueCallback?n.valueCallback(a):a;return{value:a,rest:t.slice(i.length)}}}},62724:(e,t,n)=>{"use strict";t.enUS=void 0;var r=n(11102),i=n(21871),o=n(41905),a=n(4281),s=n(45933);t.enUS={code:"en-US",formatDistance:r.formatDistance,formatLong:i.formatLong,formatRelative:o.formatRelative,localize:a.localize,match:s.match,options:{weekStartsOn:0,firstWeekContainsDate:1}}},11102:(e,t)=>{"use strict";t.formatDistance=void 0;const n={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};t.formatDistance=(e,t,r)=>{let i;const o=n[e];return i="string"===typeof o?o:1===t?o.one:o.other.replace("{{count}}",t.toString()),r?.addSuffix?r.comparison&&r.comparison>0?"in "+i:i+" ago":i}},21871:(e,t,n)=>{"use strict";t.formatLong=void 0;var r=n(51630);t.formatLong={date:(0,r.buildFormatLongFn)({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:(0,r.buildFormatLongFn)({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:(0,r.buildFormatLongFn)({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})}},41905:(e,t)=>{"use strict";t.formatRelative=void 0;const n={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};t.formatRelative=(e,t,r,i)=>n[e]},4281:(e,t,n)=>{"use strict";t.localize=void 0;var r=n(19128);t.localize={ordinalNumber:(e,t)=>{const n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:(0,r.buildLocalizeFn)({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:(0,r.buildLocalizeFn)({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,r.buildLocalizeFn)({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:(0,r.buildLocalizeFn)({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:(0,r.buildLocalizeFn)({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})}},45933:(e,t,n)=>{"use strict";t.match=void 0;var r=n(84626),i=n(55742);t.match={ordinalNumber:(0,i.buildMatchPatternFn)({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,r.buildMatchFn)({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:(0,r.buildMatchFn)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,r.buildMatchFn)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,r.buildMatchFn)({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:(0,r.buildMatchFn)({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})}},87193:(e,t,n)=>{"use strict";t.max=function(e){let t;return e.forEach((function(e){const n=(0,r.toDate)(e);(void 0===t||t<n||isNaN(Number(n)))&&(t=n)})),t||new Date(NaN)};var r=n(75998)},50281:(e,t,n)=>{"use strict";t.milliseconds=function(e){let{years:t,months:n,weeks:i,days:o,hours:a,minutes:s,seconds:l}=e,c=0;t&&(c+=t*r.daysInYear);n&&(c+=n*(r.daysInYear/12));i&&(c+=7*i);o&&(c+=o);let u=24*c*60*60;a&&(u+=60*a*60);s&&(u+=60*s);l&&(u+=l);return Math.trunc(1e3*u)};var r=n(34502)},95013:(e,t,n)=>{"use strict";t.millisecondsToHours=function(e){const t=e/r.millisecondsInHour;return Math.trunc(t)};var r=n(34502)},67559:(e,t,n)=>{"use strict";t.millisecondsToMinutes=function(e){const t=e/r.millisecondsInMinute;return Math.trunc(t)};var r=n(34502)},94735:(e,t,n)=>{"use strict";t.millisecondsToSeconds=function(e){const t=e/r.millisecondsInSecond;return Math.trunc(t)};var r=n(34502)},17915:(e,t,n)=>{"use strict";t.min=function(e){let t;return e.forEach((e=>{const n=(0,r.toDate)(e);(!t||t>n||isNaN(+n))&&(t=n)})),t||new Date(NaN)};var r=n(75998)},11412:(e,t,n)=>{"use strict";t.minutesToHours=function(e){const t=e/r.minutesInHour;return Math.trunc(t)};var r=n(34502)},87577:(e,t,n)=>{"use strict";t.minutesToMilliseconds=function(e){return Math.trunc(e*r.millisecondsInMinute)};var r=n(34502)},75878:(e,t,n)=>{"use strict";t.minutesToSeconds=function(e){return Math.trunc(e*r.secondsInMinute)};var r=n(34502)},97984:(e,t,n)=>{"use strict";t.monthsToQuarters=function(e){const t=e/r.monthsInQuarter;return Math.trunc(t)};var r=n(34502)},53435:(e,t,n)=>{"use strict";t.monthsToYears=function(e){const t=e/r.monthsInYear;return Math.trunc(t)};var r=n(34502)},56714:(e,t,n)=>{"use strict";t.nextDay=function(e,t){let n=t-(0,i.getDay)(e);n<=0&&(n+=7);return(0,r.addDays)(e,n)};var r=n(89115),i=n(16305)},34497:(e,t,n)=>{"use strict";t.nextFriday=function(e){return(0,r.nextDay)(e,5)};var r=n(56714)},25342:(e,t,n)=>{"use strict";t.nextMonday=function(e){return(0,r.nextDay)(e,1)};var r=n(56714)},50861:(e,t,n)=>{"use strict";t.nextSaturday=function(e){return(0,r.nextDay)(e,6)};var r=n(56714)},76318:(e,t,n)=>{"use strict";t.nextSunday=function(e){return(0,r.nextDay)(e,0)};var r=n(56714)},39904:(e,t,n)=>{"use strict";t.nextThursday=function(e){return(0,r.nextDay)(e,4)};var r=n(56714)},18283:(e,t,n)=>{"use strict";t.nextTuesday=function(e){return(0,r.nextDay)(e,2)};var r=n(56714)},12800:(e,t,n)=>{"use strict";t.nextWednesday=function(e){return(0,r.nextDay)(e,3)};var r=n(56714)},78204:(e,t,n)=>{"use strict";Object.defineProperty(t,"longFormatters",{enumerable:!0,get:function(){return s.longFormatters}}),t.parse=function(e,t,n,v){const y=(0,i.getDefaultOptions)(),A=v?.locale??y.locale??o.defaultLocale,b=v?.firstWeekContainsDate??v?.locale?.options?.firstWeekContainsDate??y.firstWeekContainsDate??y.locale?.options?.firstWeekContainsDate??1,w=v?.weekStartsOn??v?.locale?.options?.weekStartsOn??y.weekStartsOn??y.locale?.options?.weekStartsOn??0;if(""===t)return""===e?(0,a.toDate)(n):(0,r.constructFrom)(n,NaN);const x={firstWeekContainsDate:b,weekStartsOn:w,locale:A},C=[new u.DateToSystemTimezoneSetter],S=t.match(p).map((e=>{const t=e[0];if(t in s.longFormatters){return(0,s.longFormatters[t])(e,A.formatLong)}return e})).join("").match(d),k=[];for(let i of S){!v?.useAdditionalWeekYearTokens&&(0,l.isProtectedWeekYearToken)(i)&&(0,l.warnOrThrowProtectedError)(i,t,e),!v?.useAdditionalDayOfYearTokens&&(0,l.isProtectedDayOfYearToken)(i)&&(0,l.warnOrThrowProtectedError)(i,t,e);const o=i[0],a=c.parsers[o];if(a){const{incompatibleTokens:t}=a;if(Array.isArray(t)){const e=k.find((e=>t.includes(e.token)||e.token===o));if(e)throw new RangeError(`The format string mustn't contain \`${e.fullToken}\` and \`${i}\` at the same time`)}else if("*"===a.incompatibleTokens&&k.length>0)throw new RangeError(`The format string mustn't contain \`${i}\` and any other token at the same time`);k.push({token:o,fullToken:i});const s=a.run(e,i,A.match,x);if(!s)return(0,r.constructFrom)(n,NaN);C.push(s.setter),e=s.rest}else{if(o.match(g))throw new RangeError("Format string contains an unescaped latin alphabet character `"+o+"`");if("''"===i?i="'":"'"===o&&(i=i.match(h)[1].replace(f,"'")),0!==e.indexOf(i))return(0,r.constructFrom)(n,NaN);e=e.slice(i.length)}}if(e.length>0&&m.test(e))return(0,r.constructFrom)(n,NaN);const E=C.map((e=>e.priority)).sort(((e,t)=>t-e)).filter(((e,t,n)=>n.indexOf(e)===t)).map((e=>C.filter((t=>t.priority===e)).sort(((e,t)=>t.subPriority-e.subPriority)))).map((e=>e[0]));let I=(0,a.toDate)(n);if(isNaN(I.getTime()))return(0,r.constructFrom)(n,NaN);const _={};for(const i of E){if(!i.validate(I,x))return(0,r.constructFrom)(n,NaN);const e=i.set(I,_,x);Array.isArray(e)?(I=e[0],Object.assign(_,e[1])):I=e}return(0,r.constructFrom)(n,I)},Object.defineProperty(t,"parsers",{enumerable:!0,get:function(){return c.parsers}});var r=n(55070),i=n(7874),o=n(87683),a=n(75998),s=n(84653),l=n(83300),c=n(58532),u=n(60389);const d=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,p=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,h=/^'([^]*?)'?$/,f=/''/g,m=/\S/,g=/[a-zA-Z]/},12395:(e,t,n)=>{"use strict";t.parseISO=function(e,t){const n=t?.additionalDigits??2,p=function(e){const t={},n=e.split(i.dateTimeDelimiter);let r;if(n.length>2)return t;/:/.test(n[0])?r=n[0]:(t.date=n[0],r=n[1],i.timeZoneDelimiter.test(t.date)&&(t.date=e.split(i.timeZoneDelimiter)[0],r=e.substr(t.date.length,e.length)));if(r){const e=i.timezone.exec(r);e?(t.time=r.replace(e[1],""),t.timezone=e[1]):t.time=r}return t}(e);let h;if(p.date){const e=function(e,t){const n=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+t)+"})|(\\d{2}|[+-]\\d{"+(2+t)+"})$)"),r=e.match(n);if(!r)return{year:NaN,restDateString:""};const i=r[1]?parseInt(r[1]):null,o=r[2]?parseInt(r[2]):null;return{year:null===o?i:100*o,restDateString:e.slice((r[1]||r[2]).length)}}(p.date,n);h=function(e,t){if(null===t)return new Date(NaN);const n=e.match(o);if(!n)return new Date(NaN);const r=!!n[4],i=l(n[1]),a=l(n[2])-1,s=l(n[3]),c=l(n[4]),p=l(n[5])-1;if(r)return function(e,t,n){return t>=1&&t<=53&&n>=0&&n<=6}(0,c,p)?function(e,t,n){const r=new Date(0);r.setUTCFullYear(e,0,4);const i=r.getUTCDay()||7,o=7*(t-1)+n+1-i;return r.setUTCDate(r.getUTCDate()+o),r}(t,c,p):new Date(NaN);{const e=new Date(0);return function(e,t,n){return t>=0&&t<=11&&n>=1&&n<=(u[t]||(d(e)?29:28))}(t,a,s)&&function(e,t){return t>=1&&t<=(d(e)?366:365)}(t,i)?(e.setUTCFullYear(t,a,Math.max(i,s)),e):new Date(NaN)}}(e.restDateString,e.year)}if(!h||isNaN(h.getTime()))return new Date(NaN);const f=h.getTime();let m,g=0;if(p.time&&(g=function(e){const t=e.match(a);if(!t)return NaN;const n=c(t[1]),i=c(t[2]),o=c(t[3]);if(!function(e,t,n){if(24===e)return 0===t&&0===n;return n>=0&&n<60&&t>=0&&t<60&&e>=0&&e<25}(n,i,o))return NaN;return n*r.millisecondsInHour+i*r.millisecondsInMinute+1e3*o}(p.time),isNaN(g)))return new Date(NaN);if(!p.timezone){const e=new Date(f+g),t=new Date(0);return t.setFullYear(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()),t.setHours(e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()),t}if(m=function(e){if("Z"===e)return 0;const t=e.match(s);if(!t)return 0;const n="+"===t[1]?-1:1,i=parseInt(t[2]),o=t[3]&&parseInt(t[3])||0;if(!function(e,t){return t>=0&&t<=59}(0,o))return NaN;return n*(i*r.millisecondsInHour+o*r.millisecondsInMinute)}(p.timezone),isNaN(m))return new Date(NaN);return new Date(f+g+m)};var r=n(34502);const i={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},o=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,a=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,s=/^([+-])(\d{2})(?::?(\d{2}))?$/;function l(e){return e?parseInt(e):1}function c(e){return e&&parseFloat(e.replace(",","."))||0}const u=[31,null,31,30,31,30,31,31,30,31,30,31];function d(e){return e%400===0||e%4===0&&e%100!==0}},85918:(e,t)=>{"use strict";t.parseJSON=function(e){const t=e.match(/(\d{4})-(\d{2})-(\d{2})[T ](\d{2}):(\d{2}):(\d{2})(?:\.(\d{0,7}))?(?:Z|(.)(\d{2}):?(\d{2})?)?/);if(t)return new Date(Date.UTC(+t[1],+t[2]-1,+t[3],+t[4]-(+t[9]||0)*("-"==t[8]?-1:1),+t[5]-(+t[10]||0)*("-"==t[8]?-1:1),+t[6],+((t[7]||"0")+"00").substring(0,3)));return new Date(NaN)}},76241:(e,t,n)=>{"use strict";t.Parser=void 0;var r=n(60389);t.Parser=class{run(e,t,n,i){const o=this.parse(e,t,n,i);return o?{setter:new r.ValueSetter(o.value,this.validate,this.set,this.priority,this.subPriority),rest:o.rest}:null}validate(e,t,n){return!0}}},60389:(e,t,n)=>{"use strict";t.ValueSetter=t.Setter=t.DateToSystemTimezoneSetter=void 0;var r=n(85540),i=n(55070);class o{subPriority=0;validate(e,t){return!0}}t.Setter=o;t.ValueSetter=class extends o{constructor(e,t,n,r,i){super(),this.value=e,this.validateValue=t,this.setValue=n,this.priority=r,i&&(this.subPriority=i)}validate(e,t){return this.validateValue(e,this.value,t)}set(e,t,n){return this.setValue(e,t,this.value,n)}};t.DateToSystemTimezoneSetter=class extends o{priority=10;subPriority=-1;set(e,t){return t.timestampIsSet?e:(0,i.constructFrom)(e,(0,r.transpose)(e,Date))}}},46809:(e,t)=>{"use strict";t.timezonePatterns=t.numericPatterns=void 0;t.numericPatterns={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},t.timezonePatterns={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/}},58532:(e,t,n)=>{"use strict";t.parsers=void 0;var r=n(73190),i=n(72665),o=n(86850),a=n(38664),s=n(86628),l=n(42872),c=n(12029),u=n(51962),d=n(27251),p=n(78899),h=n(31901),f=n(31440),m=n(1642),g=n(49390),v=n(81095),y=n(49584),A=n(87189),b=n(40721),w=n(45853),x=n(83331),C=n(85903),S=n(10720),k=n(76745),E=n(78982),I=n(99668),_=n(38880),P=n(81315),O=n(86472),T=n(72774),D=n(40029),j=n(8386);t.parsers={G:new r.EraParser,y:new i.YearParser,Y:new o.LocalWeekYearParser,R:new a.ISOWeekYearParser,u:new s.ExtendedYearParser,Q:new l.QuarterParser,q:new c.StandAloneQuarterParser,M:new u.MonthParser,L:new d.StandAloneMonthParser,w:new p.LocalWeekParser,I:new h.ISOWeekParser,d:new f.DateParser,D:new m.DayOfYearParser,E:new g.DayParser,e:new v.LocalDayParser,c:new y.StandAloneLocalDayParser,i:new A.ISODayParser,a:new b.AMPMParser,b:new w.AMPMMidnightParser,B:new x.DayPeriodParser,h:new C.Hour1to12Parser,H:new S.Hour0to23Parser,K:new k.Hour0To11Parser,k:new E.Hour1To24Parser,m:new I.MinuteParser,s:new _.SecondParser,S:new P.FractionOfSecondParser,X:new O.ISOTimezoneWithZParser,x:new T.ISOTimezoneParser,t:new D.TimestampSecondsParser,T:new j.TimestampMillisecondsParser}},45853:(e,t,n)=>{"use strict";t.AMPMMidnightParser=void 0;var r=n(76241),i=n(44157);class o extends r.Parser{priority=80;parse(e,t,n){switch(t){case"b":case"bb":case"bbb":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"bbbbb":return n.dayPeriod(e,{width:"narrow",context:"formatting"});default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,t,n){return e.setHours((0,i.dayPeriodEnumToHours)(n),0,0,0),e}incompatibleTokens=["a","B","H","k","t","T"]}t.AMPMMidnightParser=o},40721:(e,t,n)=>{"use strict";t.AMPMParser=void 0;var r=n(76241),i=n(44157);class o extends r.Parser{priority=80;parse(e,t,n){switch(t){case"a":case"aa":case"aaa":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"aaaaa":return n.dayPeriod(e,{width:"narrow",context:"formatting"});default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,t,n){return e.setHours((0,i.dayPeriodEnumToHours)(n),0,0,0),e}incompatibleTokens=["b","B","H","k","t","T"]}t.AMPMParser=o},31440:(e,t,n)=>{"use strict";t.DateParser=void 0;var r=n(46809),i=n(76241),o=n(44157);const a=[31,28,31,30,31,30,31,31,30,31,30,31],s=[31,29,31,30,31,30,31,31,30,31,30,31];class l extends i.Parser{priority=90;subPriority=1;parse(e,t,n){switch(t){case"d":return(0,o.parseNumericPattern)(r.numericPatterns.date,e);case"do":return n.ordinalNumber(e,{unit:"date"});default:return(0,o.parseNDigits)(t.length,e)}}validate(e,t){const n=e.getFullYear(),r=(0,o.isLeapYearIndex)(n),i=e.getMonth();return r?t>=1&&t<=s[i]:t>=1&&t<=a[i]}set(e,t,n){return e.setDate(n),e.setHours(0,0,0,0),e}incompatibleTokens=["Y","R","q","Q","w","I","D","i","e","c","t","T"]}t.DateParser=l},1642:(e,t,n)=>{"use strict";t.DayOfYearParser=void 0;var r=n(46809),i=n(76241),o=n(44157);class a extends i.Parser{priority=90;subpriority=1;parse(e,t,n){switch(t){case"D":case"DD":return(0,o.parseNumericPattern)(r.numericPatterns.dayOfYear,e);case"Do":return n.ordinalNumber(e,{unit:"date"});default:return(0,o.parseNDigits)(t.length,e)}}validate(e,t){const n=e.getFullYear();return(0,o.isLeapYearIndex)(n)?t>=1&&t<=366:t>=1&&t<=365}set(e,t,n){return e.setMonth(0,n),e.setHours(0,0,0,0),e}incompatibleTokens=["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]}t.DayOfYearParser=a},49390:(e,t,n)=>{"use strict";t.DayParser=void 0;var r=n(3669),i=n(76241);class o extends i.Parser{priority=90;parse(e,t,n){switch(t){case"E":case"EE":case"EEE":return n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"EEEEE":return n.day(e,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});default:return n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=0&&t<=6}set(e,t,n,i){return(e=(0,r.setDay)(e,n,i)).setHours(0,0,0,0),e}incompatibleTokens=["D","i","e","c","t","T"]}t.DayParser=o},83331:(e,t,n)=>{"use strict";t.DayPeriodParser=void 0;var r=n(76241),i=n(44157);class o extends r.Parser{priority=80;parse(e,t,n){switch(t){case"B":case"BB":case"BBB":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"BBBBB":return n.dayPeriod(e,{width:"narrow",context:"formatting"});default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,t,n){return e.setHours((0,i.dayPeriodEnumToHours)(n),0,0,0),e}incompatibleTokens=["a","b","t","T"]}t.DayPeriodParser=o},73190:(e,t,n)=>{"use strict";t.EraParser=void 0;var r=n(76241);class i extends r.Parser{priority=140;parse(e,t,n){switch(t){case"G":case"GG":case"GGG":return n.era(e,{width:"abbreviated"})||n.era(e,{width:"narrow"});case"GGGGG":return n.era(e,{width:"narrow"});default:return n.era(e,{width:"wide"})||n.era(e,{width:"abbreviated"})||n.era(e,{width:"narrow"})}}set(e,t,n){return t.era=n,e.setFullYear(n,0,1),e.setHours(0,0,0,0),e}incompatibleTokens=["R","u","t","T"]}t.EraParser=i},86628:(e,t,n)=>{"use strict";t.ExtendedYearParser=void 0;var r=n(76241),i=n(44157);class o extends r.Parser{priority=130;parse(e,t){return"u"===t?(0,i.parseNDigitsSigned)(4,e):(0,i.parseNDigitsSigned)(t.length,e)}set(e,t,n){return e.setFullYear(n,0,1),e.setHours(0,0,0,0),e}incompatibleTokens=["G","y","Y","R","w","I","i","e","c","t","T"]}t.ExtendedYearParser=o},81315:(e,t,n)=>{"use strict";t.FractionOfSecondParser=void 0;var r=n(76241),i=n(44157);class o extends r.Parser{priority=30;parse(e,t){return(0,i.mapValue)((0,i.parseNDigits)(t.length,e),(e=>Math.trunc(e*Math.pow(10,3-t.length))))}set(e,t,n){return e.setMilliseconds(n),e}incompatibleTokens=["t","T"]}t.FractionOfSecondParser=o},76745:(e,t,n)=>{"use strict";t.Hour0To11Parser=void 0;var r=n(46809),i=n(76241),o=n(44157);class a extends i.Parser{priority=70;parse(e,t,n){switch(t){case"K":return(0,o.parseNumericPattern)(r.numericPatterns.hour11h,e);case"Ko":return n.ordinalNumber(e,{unit:"hour"});default:return(0,o.parseNDigits)(t.length,e)}}validate(e,t){return t>=0&&t<=11}set(e,t,n){return e.getHours()>=12&&n<12?e.setHours(n+12,0,0,0):e.setHours(n,0,0,0),e}incompatibleTokens=["h","H","k","t","T"]}t.Hour0To11Parser=a},10720:(e,t,n)=>{"use strict";t.Hour0to23Parser=void 0;var r=n(46809),i=n(76241),o=n(44157);class a extends i.Parser{priority=70;parse(e,t,n){switch(t){case"H":return(0,o.parseNumericPattern)(r.numericPatterns.hour23h,e);case"Ho":return n.ordinalNumber(e,{unit:"hour"});default:return(0,o.parseNDigits)(t.length,e)}}validate(e,t){return t>=0&&t<=23}set(e,t,n){return e.setHours(n,0,0,0),e}incompatibleTokens=["a","b","h","K","k","t","T"]}t.Hour0to23Parser=a},78982:(e,t,n)=>{"use strict";t.Hour1To24Parser=void 0;var r=n(46809),i=n(76241),o=n(44157);class a extends i.Parser{priority=70;parse(e,t,n){switch(t){case"k":return(0,o.parseNumericPattern)(r.numericPatterns.hour24h,e);case"ko":return n.ordinalNumber(e,{unit:"hour"});default:return(0,o.parseNDigits)(t.length,e)}}validate(e,t){return t>=1&&t<=24}set(e,t,n){const r=n<=24?n%24:n;return e.setHours(r,0,0,0),e}incompatibleTokens=["a","b","h","H","K","t","T"]}t.Hour1To24Parser=a},85903:(e,t,n)=>{"use strict";t.Hour1to12Parser=void 0;var r=n(46809),i=n(76241),o=n(44157);class a extends i.Parser{priority=70;parse(e,t,n){switch(t){case"h":return(0,o.parseNumericPattern)(r.numericPatterns.hour12h,e);case"ho":return n.ordinalNumber(e,{unit:"hour"});default:return(0,o.parseNDigits)(t.length,e)}}validate(e,t){return t>=1&&t<=12}set(e,t,n){const r=e.getHours()>=12;return r&&n<12?e.setHours(n+12,0,0,0):r||12!==n?e.setHours(n,0,0,0):e.setHours(0,0,0,0),e}incompatibleTokens=["H","K","k","t","T"]}t.Hour1to12Parser=a},87189:(e,t,n)=>{"use strict";t.ISODayParser=void 0;var r=n(54774),i=n(76241),o=n(44157);class a extends i.Parser{priority=90;parse(e,t,n){const r=e=>0===e?7:e;switch(t){case"i":case"ii":return(0,o.parseNDigits)(t.length,e);case"io":return n.ordinalNumber(e,{unit:"day"});case"iii":return(0,o.mapValue)(n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"}),r);case"iiiii":return(0,o.mapValue)(n.day(e,{width:"narrow",context:"formatting"}),r);case"iiiiii":return(0,o.mapValue)(n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"}),r);default:return(0,o.mapValue)(n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"}),r)}}validate(e,t){return t>=1&&t<=7}set(e,t,n){return(e=(0,r.setISODay)(e,n)).setHours(0,0,0,0),e}incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]}t.ISODayParser=a},72774:(e,t,n)=>{"use strict";t.ISOTimezoneParser=void 0;var r=n(55070),i=n(78205),o=n(46809),a=n(76241),s=n(44157);class l extends a.Parser{priority=10;parse(e,t){switch(t){case"x":return(0,s.parseTimezonePattern)(o.timezonePatterns.basicOptionalMinutes,e);case"xx":return(0,s.parseTimezonePattern)(o.timezonePatterns.basic,e);case"xxxx":return(0,s.parseTimezonePattern)(o.timezonePatterns.basicOptionalSeconds,e);case"xxxxx":return(0,s.parseTimezonePattern)(o.timezonePatterns.extendedOptionalSeconds,e);default:return(0,s.parseTimezonePattern)(o.timezonePatterns.extended,e)}}set(e,t,n){return t.timestampIsSet?e:(0,r.constructFrom)(e,e.getTime()-(0,i.getTimezoneOffsetInMilliseconds)(e)-n)}incompatibleTokens=["t","T","X"]}t.ISOTimezoneParser=l},86472:(e,t,n)=>{"use strict";t.ISOTimezoneWithZParser=void 0;var r=n(55070),i=n(78205),o=n(46809),a=n(76241),s=n(44157);class l extends a.Parser{priority=10;parse(e,t){switch(t){case"X":return(0,s.parseTimezonePattern)(o.timezonePatterns.basicOptionalMinutes,e);case"XX":return(0,s.parseTimezonePattern)(o.timezonePatterns.basic,e);case"XXXX":return(0,s.parseTimezonePattern)(o.timezonePatterns.basicOptionalSeconds,e);case"XXXXX":return(0,s.parseTimezonePattern)(o.timezonePatterns.extendedOptionalSeconds,e);default:return(0,s.parseTimezonePattern)(o.timezonePatterns.extended,e)}}set(e,t,n){return t.timestampIsSet?e:(0,r.constructFrom)(e,e.getTime()-(0,i.getTimezoneOffsetInMilliseconds)(e)-n)}incompatibleTokens=["t","T","x"]}t.ISOTimezoneWithZParser=l},31901:(e,t,n)=>{"use strict";t.ISOWeekParser=void 0;var r=n(56222),i=n(42493),o=n(46809),a=n(76241),s=n(44157);class l extends a.Parser{priority=100;parse(e,t,n){switch(t){case"I":return(0,s.parseNumericPattern)(o.numericPatterns.week,e);case"Io":return n.ordinalNumber(e,{unit:"week"});default:return(0,s.parseNDigits)(t.length,e)}}validate(e,t){return t>=1&&t<=53}set(e,t,n){return(0,i.startOfISOWeek)((0,r.setISOWeek)(e,n))}incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]}t.ISOWeekParser=l},38664:(e,t,n)=>{"use strict";t.ISOWeekYearParser=void 0;var r=n(42493),i=n(55070),o=n(76241),a=n(44157);class s extends o.Parser{priority=130;parse(e,t){return"R"===t?(0,a.parseNDigitsSigned)(4,e):(0,a.parseNDigitsSigned)(t.length,e)}set(e,t,n){const o=(0,i.constructFrom)(e,0);return o.setFullYear(n,0,4),o.setHours(0,0,0,0),(0,r.startOfISOWeek)(o)}incompatibleTokens=["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]}t.ISOWeekYearParser=s},81095:(e,t,n)=>{"use strict";t.LocalDayParser=void 0;var r=n(3669),i=n(76241),o=n(44157);class a extends i.Parser{priority=90;parse(e,t,n,r){const i=e=>{const t=7*Math.floor((e-1)/7);return(e+r.weekStartsOn+6)%7+t};switch(t){case"e":case"ee":return(0,o.mapValue)((0,o.parseNDigits)(t.length,e),i);case"eo":return(0,o.mapValue)(n.ordinalNumber(e,{unit:"day"}),i);case"eee":return n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"eeeee":return n.day(e,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});default:return n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=0&&t<=6}set(e,t,n,i){return(e=(0,r.setDay)(e,n,i)).setHours(0,0,0,0),e}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]}t.LocalDayParser=a},78899:(e,t,n)=>{"use strict";t.LocalWeekParser=void 0;var r=n(65667),i=n(98294),o=n(46809),a=n(76241),s=n(44157);class l extends a.Parser{priority=100;parse(e,t,n){switch(t){case"w":return(0,s.parseNumericPattern)(o.numericPatterns.week,e);case"wo":return n.ordinalNumber(e,{unit:"week"});default:return(0,s.parseNDigits)(t.length,e)}}validate(e,t){return t>=1&&t<=53}set(e,t,n,o){return(0,i.startOfWeek)((0,r.setWeek)(e,n,o),o)}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","i","t","T"]}t.LocalWeekParser=l},86850:(e,t,n)=>{"use strict";t.LocalWeekYearParser=void 0;var r=n(77554),i=n(98294),o=n(76241),a=n(44157);class s extends o.Parser{priority=130;parse(e,t,n){const r=e=>({year:e,isTwoDigitYear:"YY"===t});switch(t){case"Y":return(0,a.mapValue)((0,a.parseNDigits)(4,e),r);case"Yo":return(0,a.mapValue)(n.ordinalNumber(e,{unit:"year"}),r);default:return(0,a.mapValue)((0,a.parseNDigits)(t.length,e),r)}}validate(e,t){return t.isTwoDigitYear||t.year>0}set(e,t,n,o){const s=(0,r.getWeekYear)(e,o);if(n.isTwoDigitYear){const t=(0,a.normalizeTwoDigitYear)(n.year,s);return e.setFullYear(t,0,o.firstWeekContainsDate),e.setHours(0,0,0,0),(0,i.startOfWeek)(e,o)}const l="era"in t&&1!==t.era?1-n.year:n.year;return e.setFullYear(l,0,o.firstWeekContainsDate),e.setHours(0,0,0,0),(0,i.startOfWeek)(e,o)}incompatibleTokens=["y","R","u","Q","q","M","L","I","d","D","i","t","T"]}t.LocalWeekYearParser=s},99668:(e,t,n)=>{"use strict";t.MinuteParser=void 0;var r=n(46809),i=n(76241),o=n(44157);class a extends i.Parser{priority=60;parse(e,t,n){switch(t){case"m":return(0,o.parseNumericPattern)(r.numericPatterns.minute,e);case"mo":return n.ordinalNumber(e,{unit:"minute"});default:return(0,o.parseNDigits)(t.length,e)}}validate(e,t){return t>=0&&t<=59}set(e,t,n){return e.setMinutes(n,0,0),e}incompatibleTokens=["t","T"]}t.MinuteParser=a},51962:(e,t,n)=>{"use strict";t.MonthParser=void 0;var r=n(46809),i=n(76241),o=n(44157);class a extends i.Parser{incompatibleTokens=["Y","R","q","Q","L","w","I","D","i","e","c","t","T"];priority=110;parse(e,t,n){const i=e=>e-1;switch(t){case"M":return(0,o.mapValue)((0,o.parseNumericPattern)(r.numericPatterns.month,e),i);case"MM":return(0,o.mapValue)((0,o.parseNDigits)(2,e),i);case"Mo":return(0,o.mapValue)(n.ordinalNumber(e,{unit:"month"}),i);case"MMM":return n.month(e,{width:"abbreviated",context:"formatting"})||n.month(e,{width:"narrow",context:"formatting"});case"MMMMM":return n.month(e,{width:"narrow",context:"formatting"});default:return n.month(e,{width:"wide",context:"formatting"})||n.month(e,{width:"abbreviated",context:"formatting"})||n.month(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=0&&t<=11}set(e,t,n){return e.setMonth(n,1),e.setHours(0,0,0,0),e}}t.MonthParser=a},42872:(e,t,n)=>{"use strict";t.QuarterParser=void 0;var r=n(76241),i=n(44157);class o extends r.Parser{priority=120;parse(e,t,n){switch(t){case"Q":case"QQ":return(0,i.parseNDigits)(t.length,e);case"Qo":return n.ordinalNumber(e,{unit:"quarter"});case"QQQ":return n.quarter(e,{width:"abbreviated",context:"formatting"})||n.quarter(e,{width:"narrow",context:"formatting"});case"QQQQQ":return n.quarter(e,{width:"narrow",context:"formatting"});default:return n.quarter(e,{width:"wide",context:"formatting"})||n.quarter(e,{width:"abbreviated",context:"formatting"})||n.quarter(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=1&&t<=4}set(e,t,n){return e.setMonth(3*(n-1),1),e.setHours(0,0,0,0),e}incompatibleTokens=["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]}t.QuarterParser=o},38880:(e,t,n)=>{"use strict";t.SecondParser=void 0;var r=n(46809),i=n(76241),o=n(44157);class a extends i.Parser{priority=50;parse(e,t,n){switch(t){case"s":return(0,o.parseNumericPattern)(r.numericPatterns.second,e);case"so":return n.ordinalNumber(e,{unit:"second"});default:return(0,o.parseNDigits)(t.length,e)}}validate(e,t){return t>=0&&t<=59}set(e,t,n){return e.setSeconds(n,0),e}incompatibleTokens=["t","T"]}t.SecondParser=a},49584:(e,t,n)=>{"use strict";t.StandAloneLocalDayParser=void 0;var r=n(3669),i=n(76241),o=n(44157);class a extends i.Parser{priority=90;parse(e,t,n,r){const i=e=>{const t=7*Math.floor((e-1)/7);return(e+r.weekStartsOn+6)%7+t};switch(t){case"c":case"cc":return(0,o.mapValue)((0,o.parseNDigits)(t.length,e),i);case"co":return(0,o.mapValue)(n.ordinalNumber(e,{unit:"day"}),i);case"ccc":return n.day(e,{width:"abbreviated",context:"standalone"})||n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"});case"ccccc":return n.day(e,{width:"narrow",context:"standalone"});case"cccccc":return n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"});default:return n.day(e,{width:"wide",context:"standalone"})||n.day(e,{width:"abbreviated",context:"standalone"})||n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"})}}validate(e,t){return t>=0&&t<=6}set(e,t,n,i){return(e=(0,r.setDay)(e,n,i)).setHours(0,0,0,0),e}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]}t.StandAloneLocalDayParser=a},27251:(e,t,n)=>{"use strict";t.StandAloneMonthParser=void 0;var r=n(46809),i=n(76241),o=n(44157);class a extends i.Parser{priority=110;parse(e,t,n){const i=e=>e-1;switch(t){case"L":return(0,o.mapValue)((0,o.parseNumericPattern)(r.numericPatterns.month,e),i);case"LL":return(0,o.mapValue)((0,o.parseNDigits)(2,e),i);case"Lo":return(0,o.mapValue)(n.ordinalNumber(e,{unit:"month"}),i);case"LLL":return n.month(e,{width:"abbreviated",context:"standalone"})||n.month(e,{width:"narrow",context:"standalone"});case"LLLLL":return n.month(e,{width:"narrow",context:"standalone"});default:return n.month(e,{width:"wide",context:"standalone"})||n.month(e,{width:"abbreviated",context:"standalone"})||n.month(e,{width:"narrow",context:"standalone"})}}validate(e,t){return t>=0&&t<=11}set(e,t,n){return e.setMonth(n,1),e.setHours(0,0,0,0),e}incompatibleTokens=["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]}t.StandAloneMonthParser=a},12029:(e,t,n)=>{"use strict";t.StandAloneQuarterParser=void 0;var r=n(76241),i=n(44157);class o extends r.Parser{priority=120;parse(e,t,n){switch(t){case"q":case"qq":return(0,i.parseNDigits)(t.length,e);case"qo":return n.ordinalNumber(e,{unit:"quarter"});case"qqq":return n.quarter(e,{width:"abbreviated",context:"standalone"})||n.quarter(e,{width:"narrow",context:"standalone"});case"qqqqq":return n.quarter(e,{width:"narrow",context:"standalone"});default:return n.quarter(e,{width:"wide",context:"standalone"})||n.quarter(e,{width:"abbreviated",context:"standalone"})||n.quarter(e,{width:"narrow",context:"standalone"})}}validate(e,t){return t>=1&&t<=4}set(e,t,n){return e.setMonth(3*(n-1),1),e.setHours(0,0,0,0),e}incompatibleTokens=["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]}t.StandAloneQuarterParser=o},8386:(e,t,n)=>{"use strict";t.TimestampMillisecondsParser=void 0;var r=n(55070),i=n(76241),o=n(44157);class a extends i.Parser{priority=20;parse(e){return(0,o.parseAnyDigitsSigned)(e)}set(e,t,n){return[(0,r.constructFrom)(e,n),{timestampIsSet:!0}]}incompatibleTokens="*"}t.TimestampMillisecondsParser=a},40029:(e,t,n)=>{"use strict";t.TimestampSecondsParser=void 0;var r=n(55070),i=n(76241),o=n(44157);class a extends i.Parser{priority=40;parse(e){return(0,o.parseAnyDigitsSigned)(e)}set(e,t,n){return[(0,r.constructFrom)(e,1e3*n),{timestampIsSet:!0}]}incompatibleTokens="*"}t.TimestampSecondsParser=a},72665:(e,t,n)=>{"use strict";t.YearParser=void 0;var r=n(76241),i=n(44157);class o extends r.Parser{priority=130;incompatibleTokens=["Y","R","u","w","I","i","e","c","t","T"];parse(e,t,n){const r=e=>({year:e,isTwoDigitYear:"yy"===t});switch(t){case"y":return(0,i.mapValue)((0,i.parseNDigits)(4,e),r);case"yo":return(0,i.mapValue)(n.ordinalNumber(e,{unit:"year"}),r);default:return(0,i.mapValue)((0,i.parseNDigits)(t.length,e),r)}}validate(e,t){return t.isTwoDigitYear||t.year>0}set(e,t,n){const r=e.getFullYear();if(n.isTwoDigitYear){const t=(0,i.normalizeTwoDigitYear)(n.year,r);return e.setFullYear(t,0,1),e.setHours(0,0,0,0),e}const o="era"in t&&1!==t.era?1-n.year:n.year;return e.setFullYear(o,0,1),e.setHours(0,0,0,0),e}}t.YearParser=o},44157:(e,t,n)=>{"use strict";t.dayPeriodEnumToHours=function(e){switch(e){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;default:return 0}},t.isLeapYearIndex=function(e){return e%400===0||e%4===0&&e%100!==0},t.mapValue=function(e,t){if(!e)return e;return{value:t(e.value),rest:e.rest}},t.normalizeTwoDigitYear=function(e,t){const n=t>0,r=n?t:1-t;let i;if(r<=50)i=e||100;else{const t=r+50;i=e+100*Math.trunc(t/100)-(e>=t%100?100:0)}return n?i:1-i},t.parseAnyDigitsSigned=function(e){return o(i.numericPatterns.anyDigitsSigned,e)},t.parseNDigits=function(e,t){switch(e){case 1:return o(i.numericPatterns.singleDigit,t);case 2:return o(i.numericPatterns.twoDigits,t);case 3:return o(i.numericPatterns.threeDigits,t);case 4:return o(i.numericPatterns.fourDigits,t);default:return o(new RegExp("^\\d{1,"+e+"}"),t)}},t.parseNDigitsSigned=function(e,t){switch(e){case 1:return o(i.numericPatterns.singleDigitSigned,t);case 2:return o(i.numericPatterns.twoDigitsSigned,t);case 3:return o(i.numericPatterns.threeDigitsSigned,t);case 4:return o(i.numericPatterns.fourDigitsSigned,t);default:return o(new RegExp("^-?\\d{1,"+e+"}"),t)}},t.parseNumericPattern=o,t.parseTimezonePattern=function(e,t){const n=t.match(e);if(!n)return null;if("Z"===n[0])return{value:0,rest:t.slice(1)};const i="+"===n[1]?1:-1,o=n[2]?parseInt(n[2],10):0,a=n[3]?parseInt(n[3],10):0,s=n[5]?parseInt(n[5],10):0;return{value:i*(o*r.millisecondsInHour+a*r.millisecondsInMinute+s*r.millisecondsInSecond),rest:t.slice(n[0].length)}};var r=n(34502),i=n(46809);function o(e,t){const n=t.match(e);return n?{value:parseInt(n[0],10),rest:t.slice(n[0].length)}:null}},62270:(e,t,n)=>{"use strict";t.previousDay=function(e,t){let n=(0,r.getDay)(e)-t;n<=0&&(n+=7);return(0,i.subDays)(e,n)};var r=n(16305),i=n(47610)},45349:(e,t,n)=>{"use strict";t.previousFriday=function(e){return(0,r.previousDay)(e,5)};var r=n(62270)},14354:(e,t,n)=>{"use strict";t.previousMonday=function(e){return(0,r.previousDay)(e,1)};var r=n(62270)},75321:(e,t,n)=>{"use strict";t.previousSaturday=function(e){return(0,r.previousDay)(e,6)};var r=n(62270)},54202:(e,t,n)=>{"use strict";t.previousSunday=function(e){return(0,r.previousDay)(e,0)};var r=n(62270)},62764:(e,t,n)=>{"use strict";t.previousThursday=function(e){return(0,r.previousDay)(e,4)};var r=n(62270)},13095:(e,t,n)=>{"use strict";t.previousTuesday=function(e){return(0,r.previousDay)(e,2)};var r=n(62270)},61612:(e,t,n)=>{"use strict";t.previousWednesday=function(e){return(0,r.previousDay)(e,3)};var r=n(62270)},67656:(e,t,n)=>{"use strict";t.quartersToMonths=function(e){return Math.trunc(e*r.monthsInQuarter)};var r=n(34502)},12125:(e,t,n)=>{"use strict";t.quartersToYears=function(e){const t=e/r.quartersInYear;return Math.trunc(t)};var r=n(34502)},75243:(e,t,n)=>{"use strict";t.roundToNearestHours=function(e,t){const n=t?.nearestTo??1;if(n<1||n>12)return(0,i.constructFrom)(e,NaN);const a=(0,o.toDate)(e),s=a.getMinutes()/60,l=a.getSeconds()/60/60,c=a.getMilliseconds()/1e3/60/60,u=a.getHours()+s+l+c,d=t?.roundingMethod??"round",p=(0,r.getRoundingMethod)(d)(u/n)*n,h=(0,i.constructFrom)(e,a);return h.setHours(p,0,0,0),h};var r=n(10145),i=n(55070),o=n(75998)},6273:(e,t,n)=>{"use strict";t.roundToNearestMinutes=function(e,t){const n=t?.nearestTo??1;if(n<1||n>30)return(0,i.constructFrom)(e,NaN);const a=(0,o.toDate)(e),s=a.getSeconds()/60,l=a.getMilliseconds()/1e3/60,c=a.getMinutes()+s+l,u=t?.roundingMethod??"round",d=(0,r.getRoundingMethod)(u)(c/n)*n,p=(0,i.constructFrom)(e,a);return p.setMinutes(d,0,0),p};var r=n(10145),i=n(55070),o=n(75998)},35608:(e,t,n)=>{"use strict";t.secondsToHours=function(e){const t=e/r.secondsInHour;return Math.trunc(t)};var r=n(34502)},23197:(e,t,n)=>{"use strict";t.secondsToMilliseconds=function(e){return e*r.millisecondsInSecond};var r=n(34502)},26406:(e,t,n)=>{"use strict";t.secondsToMinutes=function(e){const t=e/r.secondsInMinute;return Math.trunc(t)};var r=n(34502)},48727:(e,t,n)=>{"use strict";t.set=function(e,t){let n=(0,o.toDate)(e);if(isNaN(+n))return(0,r.constructFrom)(e,NaN);null!=t.year&&n.setFullYear(t.year);null!=t.month&&(n=(0,i.setMonth)(n,t.month));null!=t.date&&n.setDate(t.date);null!=t.hours&&n.setHours(t.hours);null!=t.minutes&&n.setMinutes(t.minutes);null!=t.seconds&&n.setSeconds(t.seconds);null!=t.milliseconds&&n.setMilliseconds(t.milliseconds);return n};var r=n(55070),i=n(42249),o=n(75998)},36411:(e,t,n)=>{"use strict";t.setDate=function(e,t){const n=(0,r.toDate)(e);return n.setDate(t),n};var r=n(75998)},3669:(e,t,n)=>{"use strict";t.setDay=function(e,t,n){const a=(0,o.getDefaultOptions)(),s=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??a.weekStartsOn??a.locale?.options?.weekStartsOn??0,l=(0,i.toDate)(e),c=l.getDay(),u=(t%7+7)%7,d=7-s,p=t<0||t>6?t-(c+d)%7:(u+d)%7-(c+d)%7;return(0,r.addDays)(l,p)};var r=n(89115),i=n(75998),o=n(94195)},87673:(e,t,n)=>{"use strict";t.setDayOfYear=function(e,t){const n=(0,r.toDate)(e);return n.setMonth(0),n.setDate(t),n};var r=n(75998)},61478:(e,t,n)=>{"use strict";t.setDefaultOptions=function(e){const t={},n=(0,r.getDefaultOptions)();for(const r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r]);for(const r in e)Object.prototype.hasOwnProperty.call(e,r)&&(void 0===e[r]?delete t[r]:t[r]=e[r]);(0,r.setDefaultOptions)(t)};var r=n(94195)},21164:(e,t,n)=>{"use strict";t.setHours=function(e,t){const n=(0,r.toDate)(e);return n.setHours(t),n};var r=n(75998)},54774:(e,t,n)=>{"use strict";t.setISODay=function(e,t){const n=(0,o.toDate)(e),a=(0,i.getISODay)(n),s=t-a;return(0,r.addDays)(n,s)};var r=n(89115),i=n(91922),o=n(75998)},56222:(e,t,n)=>{"use strict";t.setISOWeek=function(e,t){const n=(0,i.toDate)(e),o=(0,r.getISOWeek)(n)-t;return n.setDate(n.getDate()-7*o),n};var r=n(20514),i=n(75998)},19955:(e,t,n)=>{"use strict";t.setISOWeekYear=function(e,t){let n=(0,a.toDate)(e);const s=(0,i.differenceInCalendarDays)(n,(0,o.startOfISOWeekYear)(n)),l=(0,r.constructFrom)(e,0);return l.setFullYear(t,0,4),l.setHours(0,0,0,0),n=(0,o.startOfISOWeekYear)(l),n.setDate(n.getDate()+s),n};var r=n(55070),i=n(39518),o=n(36780),a=n(75998)},77617:(e,t,n)=>{"use strict";t.setMilliseconds=function(e,t){const n=(0,r.toDate)(e);return n.setMilliseconds(t),n};var r=n(75998)},51378:(e,t,n)=>{"use strict";t.setMinutes=function(e,t){const n=(0,r.toDate)(e);return n.setMinutes(t),n};var r=n(75998)},42249:(e,t,n)=>{"use strict";t.setMonth=function(e,t){const n=(0,o.toDate)(e),a=n.getFullYear(),s=n.getDate(),l=(0,r.constructFrom)(e,0);l.setFullYear(a,t,15),l.setHours(0,0,0,0);const c=(0,i.getDaysInMonth)(l);return n.setMonth(t,Math.min(s,c)),n};var r=n(55070),i=n(90965),o=n(75998)},60771:(e,t,n)=>{"use strict";t.setQuarter=function(e,t){const n=(0,i.toDate)(e),o=Math.trunc(n.getMonth()/3)+1,a=t-o;return(0,r.setMonth)(n,n.getMonth()+3*a)};var r=n(42249),i=n(75998)},57726:(e,t,n)=>{"use strict";t.setSeconds=function(e,t){const n=(0,r.toDate)(e);return n.setSeconds(t),n};var r=n(75998)},65667:(e,t,n)=>{"use strict";t.setWeek=function(e,t,n){const o=(0,i.toDate)(e),a=(0,r.getWeek)(o,n)-t;return o.setDate(o.getDate()-7*a),o};var r=n(52807),i=n(75998)},42054:(e,t,n)=>{"use strict";t.setWeekYear=function(e,t,n){const l=(0,s.getDefaultOptions)(),c=n?.firstWeekContainsDate??n?.locale?.options?.firstWeekContainsDate??l.firstWeekContainsDate??l.locale?.options?.firstWeekContainsDate??1;let u=(0,a.toDate)(e);const d=(0,i.differenceInCalendarDays)(u,(0,o.startOfWeekYear)(u,n)),p=(0,r.constructFrom)(e,0);return p.setFullYear(t,0,c),p.setHours(0,0,0,0),u=(0,o.startOfWeekYear)(p,n),u.setDate(u.getDate()+d),u};var r=n(55070),i=n(39518),o=n(75643),a=n(75998),s=n(94195)},14370:(e,t,n)=>{"use strict";t.setYear=function(e,t){const n=(0,i.toDate)(e);if(isNaN(+n))return(0,r.constructFrom)(e,NaN);return n.setFullYear(t),n};var r=n(55070),i=n(75998)},8926:(e,t,n)=>{"use strict";t.startOfDay=function(e){const t=(0,r.toDate)(e);return t.setHours(0,0,0,0),t};var r=n(75998)},76866:(e,t,n)=>{"use strict";t.startOfDecade=function(e){const t=(0,r.toDate)(e),n=t.getFullYear(),i=10*Math.floor(n/10);return t.setFullYear(i,0,1),t.setHours(0,0,0,0),t};var r=n(75998)},45420:(e,t,n)=>{"use strict";t.startOfHour=function(e){const t=(0,r.toDate)(e);return t.setMinutes(0,0,0),t};var r=n(75998)},42493:(e,t,n)=>{"use strict";t.startOfISOWeek=function(e){return(0,r.startOfWeek)(e,{weekStartsOn:1})};var r=n(98294)},36780:(e,t,n)=>{"use strict";t.startOfISOWeekYear=function(e){const t=(0,r.getISOWeekYear)(e),n=(0,o.constructFrom)(e,0);return n.setFullYear(t,0,4),n.setHours(0,0,0,0),(0,i.startOfISOWeek)(n)};var r=n(54591),i=n(42493),o=n(55070)},45210:(e,t,n)=>{"use strict";t.startOfMinute=function(e){const t=(0,r.toDate)(e);return t.setSeconds(0,0),t};var r=n(75998)},71054:(e,t,n)=>{"use strict";t.startOfMonth=function(e){const t=(0,r.toDate)(e);return t.setDate(1),t.setHours(0,0,0,0),t};var r=n(75998)},72116:(e,t,n)=>{"use strict";t.startOfQuarter=function(e){const t=(0,r.toDate)(e),n=t.getMonth(),i=n-n%3;return t.setMonth(i,1),t.setHours(0,0,0,0),t};var r=n(75998)},12526:(e,t,n)=>{"use strict";t.startOfSecond=function(e){const t=(0,r.toDate)(e);return t.setMilliseconds(0),t};var r=n(75998)},67065:(e,t,n)=>{"use strict";t.startOfToday=function(){return(0,r.startOfDay)(Date.now())};var r=n(8926)},52081:(e,t)=>{"use strict";t.startOfTomorrow=function(){const e=new Date,t=e.getFullYear(),n=e.getMonth(),r=e.getDate(),i=new Date(0);return i.setFullYear(t,n,r+1),i.setHours(0,0,0,0),i}},98294:(e,t,n)=>{"use strict";t.startOfWeek=function(e,t){const n=(0,i.getDefaultOptions)(),o=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,a=(0,r.toDate)(e),s=a.getDay(),l=(s<o?7:0)+s-o;return a.setDate(a.getDate()-l),a.setHours(0,0,0,0),a};var r=n(75998),i=n(94195)},75643:(e,t,n)=>{"use strict";t.startOfWeekYear=function(e,t){const n=(0,a.getDefaultOptions)(),s=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??n.firstWeekContainsDate??n.locale?.options?.firstWeekContainsDate??1,l=(0,i.getWeekYear)(e,t),c=(0,r.constructFrom)(e,0);c.setFullYear(l,0,s),c.setHours(0,0,0,0);return(0,o.startOfWeek)(c,t)};var r=n(55070),i=n(77554),o=n(98294),a=n(94195)},25451:(e,t,n)=>{"use strict";t.startOfYear=function(e){const t=(0,r.toDate)(e),n=(0,i.constructFrom)(e,0);return n.setFullYear(t.getFullYear(),0,1),n.setHours(0,0,0,0),n};var r=n(75998),i=n(55070)},58844:(e,t)=>{"use strict";t.startOfYesterday=function(){const e=new Date,t=e.getFullYear(),n=e.getMonth(),r=e.getDate(),i=new Date(0);return i.setFullYear(t,n,r-1),i.setHours(0,0,0,0),i}},94261:(e,t,n)=>{"use strict";t.sub=function(e,t){const{years:n=0,months:a=0,weeks:s=0,days:l=0,hours:c=0,minutes:u=0,seconds:d=0}=t,p=(0,i.subMonths)(e,a+12*n),h=(0,r.subDays)(p,l+7*s),f=1e3*(d+60*(u+60*c));return(0,o.constructFrom)(e,h.getTime()-f)};var r=n(47610),i=n(13846),o=n(55070)},88296:(e,t,n)=>{"use strict";t.subBusinessDays=function(e,t){return(0,r.addBusinessDays)(e,-t)};var r=n(29845)},47610:(e,t,n)=>{"use strict";t.subDays=function(e,t){return(0,r.addDays)(e,-t)};var r=n(89115)},71434:(e,t,n)=>{"use strict";t.subHours=function(e,t){return(0,r.addHours)(e,-t)};var r=n(59693)},2764:(e,t,n)=>{"use strict";t.subISOWeekYears=function(e,t){return(0,r.addISOWeekYears)(e,-t)};var r=n(9445)},14435:(e,t,n)=>{"use strict";t.subMilliseconds=function(e,t){return(0,r.addMilliseconds)(e,-t)};var r=n(70334)},6348:(e,t,n)=>{"use strict";t.subMinutes=function(e,t){return(0,r.addMinutes)(e,-t)};var r=n(27167)},13846:(e,t,n)=>{"use strict";t.subMonths=function(e,t){return(0,r.addMonths)(e,-t)};var r=n(95067)},81408:(e,t,n)=>{"use strict";t.subQuarters=function(e,t){return(0,r.addQuarters)(e,-t)};var r=n(29177)},86812:(e,t,n)=>{"use strict";t.subSeconds=function(e,t){return(0,r.addSeconds)(e,-t)};var r=n(10007)},57252:(e,t,n)=>{"use strict";t.subWeeks=function(e,t){return(0,r.addWeeks)(e,-t)};var r=n(43383)},22587:(e,t,n)=>{"use strict";t.subYears=function(e,t){return(0,r.addYears)(e,-t)};var r=n(30548)},75998:(e,t)=>{"use strict";t.toDate=function(e){const t=Object.prototype.toString.call(e);return e instanceof Date||"object"===typeof e&&"[object Date]"===t?new e.constructor(+e):"number"===typeof e||"[object Number]"===t||"string"===typeof e||"[object String]"===t?new Date(e):new Date(NaN)}},85540:(e,t,n)=>{"use strict";t.transpose=function(e,t){const n=t instanceof Date?(0,r.constructFrom)(t,0):new t(0);return n.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),n.setHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),n};var r=n(55070)},86660:(e,t,n)=>{"use strict";t.weeksToDays=function(e){return Math.trunc(e*r.daysInWeek)};var r=n(34502)},80435:(e,t,n)=>{"use strict";t.yearsToDays=function(e){return Math.trunc(e*r.daysInYear)};var r=n(34502)},64419:(e,t,n)=>{"use strict";t.yearsToMonths=function(e){return Math.trunc(e*r.monthsInYear)};var r=n(34502)},29505:(e,t,n)=>{"use strict";t.yearsToQuarters=function(e){return Math.trunc(e*r.quartersInYear)};var r=n(34502)},38345:(e,t,n)=>{"use strict";var r=n(9950),i=n(13204);function o(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var a=new Set,s={};function l(e,t){c(e,t),c(e+"Capture",t)}function c(e,t){for(s[e]=t,e=0;e<t.length;e++)a.add(t[e])}var u=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement),d=Object.prototype.hasOwnProperty,p=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,h={},f={};function m(e,t,n,r,i,o,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=a}var g={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){g[e]=new m(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];g[t]=new m(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){g[e]=new m(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){g[e]=new m(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){g[e]=new m(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){g[e]=new m(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){g[e]=new m(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){g[e]=new m(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){g[e]=new m(e,5,!1,e.toLowerCase(),null,!1,!1)}));var v=/[\-:]([a-z])/g;function y(e){return e[1].toUpperCase()}function A(e,t,n,r){var i=g.hasOwnProperty(t)?g[t]:null;(null!==i?0!==i.type:r||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,n,r){if(null===t||"undefined"===typeof t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,i,r)&&(n=null),r||null===i?function(e){return!!d.call(f,e)||!d.call(h,e)&&(p.test(e)?f[e]=!0:(h[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):i.mustUseProperty?e[i.propertyName]=null===n?3!==i.type&&"":n:(t=i.attributeName,r=i.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(i=i.type)||4===i&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(v,y);g[t]=new m(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(v,y);g[t]=new m(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(v,y);g[t]=new m(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){g[e]=new m(e,1,!1,e.toLowerCase(),null,!1,!1)})),g.xlinkHref=new m("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){g[e]=new m(e,1,!1,e.toLowerCase(),null,!0,!0)}));var b=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,w=Symbol.for("react.element"),x=Symbol.for("react.portal"),C=Symbol.for("react.fragment"),S=Symbol.for("react.strict_mode"),k=Symbol.for("react.profiler"),E=Symbol.for("react.provider"),I=Symbol.for("react.context"),_=Symbol.for("react.forward_ref"),P=Symbol.for("react.suspense"),O=Symbol.for("react.suspense_list"),T=Symbol.for("react.memo"),D=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var j=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var B=Symbol.iterator;function N(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=B&&e[B]||e["@@iterator"])?e:null}var M,R=Object.assign;function L(e){if(void 0===M)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);M=t&&t[1]||""}return"\n"+M+e}var F=!1;function z(e,t){if(!e||F)return"";F=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"===typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(c){var r=c}Reflect.construct(e,[],t)}else{try{t.call()}catch(c){r=c}e.call(t.prototype)}else{try{throw Error()}catch(c){r=c}e()}}catch(c){if(c&&r&&"string"===typeof c.stack){for(var i=c.stack.split("\n"),o=r.stack.split("\n"),a=i.length-1,s=o.length-1;1<=a&&0<=s&&i[a]!==o[s];)s--;for(;1<=a&&0<=s;a--,s--)if(i[a]!==o[s]){if(1!==a||1!==s)do{if(a--,0>--s||i[a]!==o[s]){var l="\n"+i[a].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}}while(1<=a&&0<=s);break}}}finally{F=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?L(e):""}function Q(e){switch(e.tag){case 5:return L(e.type);case 16:return L("Lazy");case 13:return L("Suspense");case 19:return L("SuspenseList");case 0:case 2:case 15:return e=z(e.type,!1);case 11:return e=z(e.type.render,!1);case 1:return e=z(e.type,!0);default:return""}}function U(e){if(null==e)return null;if("function"===typeof e)return e.displayName||e.name||null;if("string"===typeof e)return e;switch(e){case C:return"Fragment";case x:return"Portal";case k:return"Profiler";case S:return"StrictMode";case P:return"Suspense";case O:return"SuspenseList"}if("object"===typeof e)switch(e.$$typeof){case I:return(e.displayName||"Context")+".Consumer";case E:return(e._context.displayName||"Context")+".Provider";case _:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case T:return null!==(t=e.displayName||null)?t:U(e.type)||"Memo";case D:t=e._payload,e=e._init;try{return U(e(t))}catch(n){}}return null}function V(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return U(t);case 8:return t===S?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"===typeof t)return t.displayName||t.name||null;if("string"===typeof t)return t}return null}function G(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function q(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function H(e){e._valueTracker||(e._valueTracker=function(e){var t=q(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&"undefined"!==typeof n&&"function"===typeof n.get&&"function"===typeof n.set){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){r=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function W(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=q(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function Y(e){if("undefined"===typeof(e=e||("undefined"!==typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function K(e,t){var n=t.checked;return R({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function J(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=G(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function X(e,t){null!=(t=t.checked)&&A(e,"checked",t,!1)}function Z(e,t){X(e,t);var n=G(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?ee(e,t.type,n):t.hasOwnProperty("defaultValue")&&ee(e,t.type,G(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function $(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function ee(e,t,n){"number"===t&&Y(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var te=Array.isArray;function ne(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+G(n),t=null,i=0;i<e.length;i++){if(e[i].value===n)return e[i].selected=!0,void(r&&(e[i].defaultSelected=!0));null!==t||e[i].disabled||(t=e[i])}null!==t&&(t.selected=!0)}}function re(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(o(91));return R({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function ie(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(o(92));if(te(n)){if(1<n.length)throw Error(o(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:G(n)}}function oe(e,t){var n=G(t.value),r=G(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function ae(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function se(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function le(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?se(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ce,ue=function(e){return"undefined"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,n,r,i){MSApp.execUnsafeLocalFunction((function(){return e(t,n)}))}:e}((function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((ce=ce||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ce.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}}));function de(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var pe={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},he=["Webkit","ms","Moz","O"];function fe(e,t,n){return null==t||"boolean"===typeof t||""===t?"":n||"number"!==typeof t||0===t||pe.hasOwnProperty(e)&&pe[e]?(""+t).trim():t+"px"}function me(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),i=fe(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}Object.keys(pe).forEach((function(e){he.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),pe[t]=pe[e]}))}));var ge=R({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ve(e,t){if(t){if(ge[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(o(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(o(60));if("object"!==typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(o(61))}if(null!=t.style&&"object"!==typeof t.style)throw Error(o(62))}}function ye(e,t){if(-1===e.indexOf("-"))return"string"===typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Ae=null;function be(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var we=null,xe=null,Ce=null;function Se(e){if(e=mi(e)){if("function"!==typeof we)throw Error(o(280));var t=e.stateNode;t&&(t=vi(t),we(e.stateNode,e.type,t))}}function ke(e){xe?Ce?Ce.push(e):Ce=[e]:xe=e}function Ee(){if(xe){var e=xe,t=Ce;if(Ce=xe=null,Se(e),t)for(e=0;e<t.length;e++)Se(t[e])}}function Ie(e,t){return e(t)}function _e(){}var Pe=!1;function Oe(e,t,n){if(Pe)return e(t,n);Pe=!0;try{return Ie(e,t,n)}finally{Pe=!1,(null!==xe||null!==Ce)&&(_e(),Ee())}}function Te(e,t){var n=e.stateNode;if(null===n)return null;var r=vi(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!==typeof n)throw Error(o(231,t,typeof n));return n}var De=!1;if(u)try{var je={};Object.defineProperty(je,"passive",{get:function(){De=!0}}),window.addEventListener("test",je,je),window.removeEventListener("test",je,je)}catch(eu){De=!1}function Be(e,t,n,r,i,o,a,s,l){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(u){this.onError(u)}}var Ne=!1,Me=null,Re=!1,Le=null,Fe={onError:function(e){Ne=!0,Me=e}};function ze(e,t,n,r,i,o,a,s,l){Ne=!1,Me=null,Be.apply(Fe,arguments)}function Qe(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!==(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function Ue(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function Ve(e){if(Qe(e)!==e)throw Error(o(188))}function Ge(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=Qe(e)))throw Error(o(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(null===i)break;var a=i.alternate;if(null===a){if(null!==(r=i.return)){n=r;continue}break}if(i.child===a.child){for(a=i.child;a;){if(a===n)return Ve(i),e;if(a===r)return Ve(i),t;a=a.sibling}throw Error(o(188))}if(n.return!==r.return)n=i,r=a;else{for(var s=!1,l=i.child;l;){if(l===n){s=!0,n=i,r=a;break}if(l===r){s=!0,r=i,n=a;break}l=l.sibling}if(!s){for(l=a.child;l;){if(l===n){s=!0,n=a,r=i;break}if(l===r){s=!0,r=a,n=i;break}l=l.sibling}if(!s)throw Error(o(189))}}if(n.alternate!==r)throw Error(o(190))}if(3!==n.tag)throw Error(o(188));return n.stateNode.current===n?e:t}(e))?qe(e):null}function qe(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=qe(e);if(null!==t)return t;e=e.sibling}return null}var He=i.unstable_scheduleCallback,We=i.unstable_cancelCallback,Ye=i.unstable_shouldYield,Ke=i.unstable_requestPaint,Je=i.unstable_now,Xe=i.unstable_getCurrentPriorityLevel,Ze=i.unstable_ImmediatePriority,$e=i.unstable_UserBlockingPriority,et=i.unstable_NormalPriority,tt=i.unstable_LowPriority,nt=i.unstable_IdlePriority,rt=null,it=null;var ot=Math.clz32?Math.clz32:function(e){return 0===(e>>>=0)?32:31-(at(e)/st|0)|0},at=Math.log,st=Math.LN2;var lt=64,ct=4194304;function ut(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function dt(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,a=268435455&n;if(0!==a){var s=a&~i;0!==s?r=ut(s):0!==(o&=a)&&(r=ut(o))}else 0!==(a=n&~i)?r=ut(a):0!==o&&(r=ut(o));if(0===r)return 0;if(0!==t&&t!==r&&0===(t&i)&&((i=r&-r)>=(o=t&-t)||16===i&&0!==(4194240&o)))return t;if(0!==(4&r)&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)i=1<<(n=31-ot(t)),r|=e[n],t&=~i;return r}function pt(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function ht(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function ft(){var e=lt;return 0===(4194240&(lt<<=1))&&(lt=64),e}function mt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function gt(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-ot(t)]=n}function vt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-ot(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}var yt=0;function At(e){return 1<(e&=-e)?4<e?0!==(268435455&e)?16:536870912:4:1}var bt,wt,xt,Ct,St,kt=!1,Et=[],It=null,_t=null,Pt=null,Ot=new Map,Tt=new Map,Dt=[],jt="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Bt(e,t){switch(e){case"focusin":case"focusout":It=null;break;case"dragenter":case"dragleave":_t=null;break;case"mouseover":case"mouseout":Pt=null;break;case"pointerover":case"pointerout":Ot.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Tt.delete(t.pointerId)}}function Nt(e,t,n,r,i,o){return null===e||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:o,targetContainers:[i]},null!==t&&(null!==(t=mi(t))&&wt(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==i&&-1===t.indexOf(i)&&t.push(i),e)}function Mt(e){var t=fi(e.target);if(null!==t){var n=Qe(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=Ue(n)))return e.blockedOn=t,void St(e.priority,(function(){xt(n)}))}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Rt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Yt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=mi(n))&&wt(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);Ae=r,n.target.dispatchEvent(r),Ae=null,t.shift()}return!0}function Lt(e,t,n){Rt(e)&&n.delete(t)}function Ft(){kt=!1,null!==It&&Rt(It)&&(It=null),null!==_t&&Rt(_t)&&(_t=null),null!==Pt&&Rt(Pt)&&(Pt=null),Ot.forEach(Lt),Tt.forEach(Lt)}function zt(e,t){e.blockedOn===t&&(e.blockedOn=null,kt||(kt=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,Ft)))}function Qt(e){function t(t){return zt(t,e)}if(0<Et.length){zt(Et[0],e);for(var n=1;n<Et.length;n++){var r=Et[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==It&&zt(It,e),null!==_t&&zt(_t,e),null!==Pt&&zt(Pt,e),Ot.forEach(t),Tt.forEach(t),n=0;n<Dt.length;n++)(r=Dt[n]).blockedOn===e&&(r.blockedOn=null);for(;0<Dt.length&&null===(n=Dt[0]).blockedOn;)Mt(n),null===n.blockedOn&&Dt.shift()}var Ut=b.ReactCurrentBatchConfig,Vt=!0;function Gt(e,t,n,r){var i=yt,o=Ut.transition;Ut.transition=null;try{yt=1,Ht(e,t,n,r)}finally{yt=i,Ut.transition=o}}function qt(e,t,n,r){var i=yt,o=Ut.transition;Ut.transition=null;try{yt=4,Ht(e,t,n,r)}finally{yt=i,Ut.transition=o}}function Ht(e,t,n,r){if(Vt){var i=Yt(e,t,n,r);if(null===i)zr(e,t,r,Wt,n),Bt(e,r);else if(function(e,t,n,r,i){switch(t){case"focusin":return It=Nt(It,e,t,n,r,i),!0;case"dragenter":return _t=Nt(_t,e,t,n,r,i),!0;case"mouseover":return Pt=Nt(Pt,e,t,n,r,i),!0;case"pointerover":var o=i.pointerId;return Ot.set(o,Nt(Ot.get(o)||null,e,t,n,r,i)),!0;case"gotpointercapture":return o=i.pointerId,Tt.set(o,Nt(Tt.get(o)||null,e,t,n,r,i)),!0}return!1}(i,e,t,n,r))r.stopPropagation();else if(Bt(e,r),4&t&&-1<jt.indexOf(e)){for(;null!==i;){var o=mi(i);if(null!==o&&bt(o),null===(o=Yt(e,t,n,r))&&zr(e,t,r,Wt,n),o===i)break;i=o}null!==i&&r.stopPropagation()}else zr(e,t,r,null,n)}}var Wt=null;function Yt(e,t,n,r){if(Wt=null,null!==(e=fi(e=be(r))))if(null===(t=Qe(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=Ue(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Wt=e,null}function Kt(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Xe()){case Ze:return 1;case $e:return 4;case et:case tt:return 16;case nt:return 536870912;default:return 16}default:return 16}}var Jt=null,Xt=null,Zt=null;function $t(){if(Zt)return Zt;var e,t,n=Xt,r=n.length,i="value"in Jt?Jt.value:Jt.textContent,o=i.length;for(e=0;e<r&&n[e]===i[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===i[o-t];t++);return Zt=i.slice(e,1<t?1-t:void 0)}function en(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function tn(){return!0}function nn(){return!1}function rn(e){function t(t,n,r,i,o){for(var a in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=i,this.target=o,this.currentTarget=null,e)e.hasOwnProperty(a)&&(t=e[a],this[a]=t?t(i):i[a]);return this.isDefaultPrevented=(null!=i.defaultPrevented?i.defaultPrevented:!1===i.returnValue)?tn:nn,this.isPropagationStopped=nn,this}return R(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!==typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=tn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!==typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=tn)},persist:function(){},isPersistent:tn}),t}var on,an,sn,ln={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},cn=rn(ln),un=R({},ln,{view:0,detail:0}),dn=rn(un),pn=R({},un,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Cn,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==sn&&(sn&&"mousemove"===e.type?(on=e.screenX-sn.screenX,an=e.screenY-sn.screenY):an=on=0,sn=e),on)},movementY:function(e){return"movementY"in e?e.movementY:an}}),hn=rn(pn),fn=rn(R({},pn,{dataTransfer:0})),mn=rn(R({},un,{relatedTarget:0})),gn=rn(R({},ln,{animationName:0,elapsedTime:0,pseudoElement:0})),vn=rn(R({},ln,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}})),yn=rn(R({},ln,{data:0})),An={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},bn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},wn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function xn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=wn[e])&&!!t[e]}function Cn(){return xn}var Sn=rn(R({},un,{key:function(e){if(e.key){var t=An[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=en(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?bn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Cn,charCode:function(e){return"keypress"===e.type?en(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?en(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}})),kn=rn(R({},pn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),En=rn(R({},un,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Cn})),In=rn(R({},ln,{propertyName:0,elapsedTime:0,pseudoElement:0})),_n=rn(R({},pn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0})),Pn=[9,13,27,32],On=u&&"CompositionEvent"in window,Tn=null;u&&"documentMode"in document&&(Tn=document.documentMode);var Dn=u&&"TextEvent"in window&&!Tn,jn=u&&(!On||Tn&&8<Tn&&11>=Tn),Bn=String.fromCharCode(32),Nn=!1;function Mn(e,t){switch(e){case"keyup":return-1!==Pn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Rn(e){return"object"===typeof(e=e.detail)&&"data"in e?e.data:null}var Ln=!1;var Fn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function zn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Fn[e.type]:"textarea"===t}function Qn(e,t,n,r){ke(r),0<(t=Ur(t,"onChange")).length&&(n=new cn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Un=null,Vn=null;function Gn(e){Br(e,0)}function qn(e){if(W(gi(e)))return e}function Hn(e,t){if("change"===e)return t}var Wn=!1;if(u){var Yn;if(u){var Kn="oninput"in document;if(!Kn){var Jn=document.createElement("div");Jn.setAttribute("oninput","return;"),Kn="function"===typeof Jn.oninput}Yn=Kn}else Yn=!1;Wn=Yn&&(!document.documentMode||9<document.documentMode)}function Xn(){Un&&(Un.detachEvent("onpropertychange",Zn),Vn=Un=null)}function Zn(e){if("value"===e.propertyName&&qn(Vn)){var t=[];Qn(t,Vn,e,be(e)),Oe(Gn,t)}}function $n(e,t,n){"focusin"===e?(Xn(),Vn=n,(Un=t).attachEvent("onpropertychange",Zn)):"focusout"===e&&Xn()}function er(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return qn(Vn)}function tr(e,t){if("click"===e)return qn(t)}function nr(e,t){if("input"===e||"change"===e)return qn(t)}var rr="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t};function ir(e,t){if(rr(e,t))return!0;if("object"!==typeof e||null===e||"object"!==typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!d.call(t,i)||!rr(e[i],t[i]))return!1}return!0}function or(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function ar(e,t){var n,r=or(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=or(r)}}function sr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?sr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function lr(){for(var e=window,t=Y();t instanceof e.HTMLIFrameElement;){try{var n="string"===typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=Y((e=t.contentWindow).document)}return t}function cr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function ur(e){var t=lr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&sr(n.ownerDocument.documentElement,n)){if(null!==r&&cr(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var i=n.textContent.length,o=Math.min(r.start,i);r=void 0===r.end?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=ar(n,o);var a=ar(n,r);i&&a&&(1!==e.rangeCount||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&((t=t.createRange()).setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"===typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var dr=u&&"documentMode"in document&&11>=document.documentMode,pr=null,hr=null,fr=null,mr=!1;function gr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;mr||null==pr||pr!==Y(r)||("selectionStart"in(r=pr)&&cr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},fr&&ir(fr,r)||(fr=r,0<(r=Ur(hr,"onSelect")).length&&(t=new cn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=pr)))}function vr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var yr={animationend:vr("Animation","AnimationEnd"),animationiteration:vr("Animation","AnimationIteration"),animationstart:vr("Animation","AnimationStart"),transitionend:vr("Transition","TransitionEnd")},Ar={},br={};function wr(e){if(Ar[e])return Ar[e];if(!yr[e])return e;var t,n=yr[e];for(t in n)if(n.hasOwnProperty(t)&&t in br)return Ar[e]=n[t];return e}u&&(br=document.createElement("div").style,"AnimationEvent"in window||(delete yr.animationend.animation,delete yr.animationiteration.animation,delete yr.animationstart.animation),"TransitionEvent"in window||delete yr.transitionend.transition);var xr=wr("animationend"),Cr=wr("animationiteration"),Sr=wr("animationstart"),kr=wr("transitionend"),Er=new Map,Ir="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function _r(e,t){Er.set(e,t),l(t,[e])}for(var Pr=0;Pr<Ir.length;Pr++){var Or=Ir[Pr];_r(Or.toLowerCase(),"on"+(Or[0].toUpperCase()+Or.slice(1)))}_r(xr,"onAnimationEnd"),_r(Cr,"onAnimationIteration"),_r(Sr,"onAnimationStart"),_r("dblclick","onDoubleClick"),_r("focusin","onFocus"),_r("focusout","onBlur"),_r(kr,"onTransitionEnd"),c("onMouseEnter",["mouseout","mouseover"]),c("onMouseLeave",["mouseout","mouseover"]),c("onPointerEnter",["pointerout","pointerover"]),c("onPointerLeave",["pointerout","pointerover"]),l("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),l("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),l("onBeforeInput",["compositionend","keypress","textInput","paste"]),l("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Tr="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Dr=new Set("cancel close invalid load scroll toggle".split(" ").concat(Tr));function jr(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,i,a,s,l,c){if(ze.apply(this,arguments),Ne){if(!Ne)throw Error(o(198));var u=Me;Ne=!1,Me=null,Re||(Re=!0,Le=u)}}(r,t,void 0,e),e.currentTarget=null}function Br(e,t){t=0!==(4&t);for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var o=void 0;if(t)for(var a=r.length-1;0<=a;a--){var s=r[a],l=s.instance,c=s.currentTarget;if(s=s.listener,l!==o&&i.isPropagationStopped())break e;jr(i,s,c),o=l}else for(a=0;a<r.length;a++){if(l=(s=r[a]).instance,c=s.currentTarget,s=s.listener,l!==o&&i.isPropagationStopped())break e;jr(i,s,c),o=l}}}if(Re)throw e=Le,Re=!1,Le=null,e}function Nr(e,t){var n=t[di];void 0===n&&(n=t[di]=new Set);var r=e+"__bubble";n.has(r)||(Fr(t,e,2,!1),n.add(r))}function Mr(e,t,n){var r=0;t&&(r|=4),Fr(n,e,r,t)}var Rr="_reactListening"+Math.random().toString(36).slice(2);function Lr(e){if(!e[Rr]){e[Rr]=!0,a.forEach((function(t){"selectionchange"!==t&&(Dr.has(t)||Mr(t,!1,e),Mr(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[Rr]||(t[Rr]=!0,Mr("selectionchange",!1,t))}}function Fr(e,t,n,r){switch(Kt(t)){case 1:var i=Gt;break;case 4:i=qt;break;default:i=Ht}n=i.bind(null,t,n,e),i=void 0,!De||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(i=!0),r?void 0!==i?e.addEventListener(t,n,{capture:!0,passive:i}):e.addEventListener(t,n,!0):void 0!==i?e.addEventListener(t,n,{passive:i}):e.addEventListener(t,n,!1)}function zr(e,t,n,r,i){var o=r;if(0===(1&t)&&0===(2&t)&&null!==r)e:for(;;){if(null===r)return;var a=r.tag;if(3===a||4===a){var s=r.stateNode.containerInfo;if(s===i||8===s.nodeType&&s.parentNode===i)break;if(4===a)for(a=r.return;null!==a;){var l=a.tag;if((3===l||4===l)&&((l=a.stateNode.containerInfo)===i||8===l.nodeType&&l.parentNode===i))return;a=a.return}for(;null!==s;){if(null===(a=fi(s)))return;if(5===(l=a.tag)||6===l){r=o=a;continue e}s=s.parentNode}}r=r.return}Oe((function(){var r=o,i=be(n),a=[];e:{var s=Er.get(e);if(void 0!==s){var l=cn,c=e;switch(e){case"keypress":if(0===en(n))break e;case"keydown":case"keyup":l=Sn;break;case"focusin":c="focus",l=mn;break;case"focusout":c="blur",l=mn;break;case"beforeblur":case"afterblur":l=mn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":l=hn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":l=fn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":l=En;break;case xr:case Cr:case Sr:l=gn;break;case kr:l=In;break;case"scroll":l=dn;break;case"wheel":l=_n;break;case"copy":case"cut":case"paste":l=vn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":l=kn}var u=0!==(4&t),d=!u&&"scroll"===e,p=u?null!==s?s+"Capture":null:s;u=[];for(var h,f=r;null!==f;){var m=(h=f).stateNode;if(5===h.tag&&null!==m&&(h=m,null!==p&&(null!=(m=Te(f,p))&&u.push(Qr(f,m,h)))),d)break;f=f.return}0<u.length&&(s=new l(s,c,null,n,i),a.push({event:s,listeners:u}))}}if(0===(7&t)){if(l="mouseout"===e||"pointerout"===e,(!(s="mouseover"===e||"pointerover"===e)||n===Ae||!(c=n.relatedTarget||n.fromElement)||!fi(c)&&!c[ui])&&(l||s)&&(s=i.window===i?i:(s=i.ownerDocument)?s.defaultView||s.parentWindow:window,l?(l=r,null!==(c=(c=n.relatedTarget||n.toElement)?fi(c):null)&&(c!==(d=Qe(c))||5!==c.tag&&6!==c.tag)&&(c=null)):(l=null,c=r),l!==c)){if(u=hn,m="onMouseLeave",p="onMouseEnter",f="mouse","pointerout"!==e&&"pointerover"!==e||(u=kn,m="onPointerLeave",p="onPointerEnter",f="pointer"),d=null==l?s:gi(l),h=null==c?s:gi(c),(s=new u(m,f+"leave",l,n,i)).target=d,s.relatedTarget=h,m=null,fi(i)===r&&((u=new u(p,f+"enter",c,n,i)).target=h,u.relatedTarget=d,m=u),d=m,l&&c)e:{for(p=c,f=0,h=u=l;h;h=Vr(h))f++;for(h=0,m=p;m;m=Vr(m))h++;for(;0<f-h;)u=Vr(u),f--;for(;0<h-f;)p=Vr(p),h--;for(;f--;){if(u===p||null!==p&&u===p.alternate)break e;u=Vr(u),p=Vr(p)}u=null}else u=null;null!==l&&Gr(a,s,l,u,!1),null!==c&&null!==d&&Gr(a,d,c,u,!0)}if("select"===(l=(s=r?gi(r):window).nodeName&&s.nodeName.toLowerCase())||"input"===l&&"file"===s.type)var g=Hn;else if(zn(s))if(Wn)g=nr;else{g=er;var v=$n}else(l=s.nodeName)&&"input"===l.toLowerCase()&&("checkbox"===s.type||"radio"===s.type)&&(g=tr);switch(g&&(g=g(e,r))?Qn(a,g,n,i):(v&&v(e,s,r),"focusout"===e&&(v=s._wrapperState)&&v.controlled&&"number"===s.type&&ee(s,"number",s.value)),v=r?gi(r):window,e){case"focusin":(zn(v)||"true"===v.contentEditable)&&(pr=v,hr=r,fr=null);break;case"focusout":fr=hr=pr=null;break;case"mousedown":mr=!0;break;case"contextmenu":case"mouseup":case"dragend":mr=!1,gr(a,n,i);break;case"selectionchange":if(dr)break;case"keydown":case"keyup":gr(a,n,i)}var y;if(On)e:{switch(e){case"compositionstart":var A="onCompositionStart";break e;case"compositionend":A="onCompositionEnd";break e;case"compositionupdate":A="onCompositionUpdate";break e}A=void 0}else Ln?Mn(e,n)&&(A="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(A="onCompositionStart");A&&(jn&&"ko"!==n.locale&&(Ln||"onCompositionStart"!==A?"onCompositionEnd"===A&&Ln&&(y=$t()):(Xt="value"in(Jt=i)?Jt.value:Jt.textContent,Ln=!0)),0<(v=Ur(r,A)).length&&(A=new yn(A,e,null,n,i),a.push({event:A,listeners:v}),y?A.data=y:null!==(y=Rn(n))&&(A.data=y))),(y=Dn?function(e,t){switch(e){case"compositionend":return Rn(t);case"keypress":return 32!==t.which?null:(Nn=!0,Bn);case"textInput":return(e=t.data)===Bn&&Nn?null:e;default:return null}}(e,n):function(e,t){if(Ln)return"compositionend"===e||!On&&Mn(e,t)?(e=$t(),Zt=Xt=Jt=null,Ln=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return jn&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=Ur(r,"onBeforeInput")).length&&(i=new yn("onBeforeInput","beforeinput",null,n,i),a.push({event:i,listeners:r}),i.data=y))}Br(a,t)}))}function Qr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Ur(e,t){for(var n=t+"Capture",r=[];null!==e;){var i=e,o=i.stateNode;5===i.tag&&null!==o&&(i=o,null!=(o=Te(e,n))&&r.unshift(Qr(e,o,i)),null!=(o=Te(e,t))&&r.push(Qr(e,o,i))),e=e.return}return r}function Vr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Gr(e,t,n,r,i){for(var o=t._reactName,a=[];null!==n&&n!==r;){var s=n,l=s.alternate,c=s.stateNode;if(null!==l&&l===r)break;5===s.tag&&null!==c&&(s=c,i?null!=(l=Te(n,o))&&a.unshift(Qr(n,l,s)):i||null!=(l=Te(n,o))&&a.push(Qr(n,l,s))),n=n.return}0!==a.length&&e.push({event:t,listeners:a})}var qr=/\r\n?/g,Hr=/\u0000|\uFFFD/g;function Wr(e){return("string"===typeof e?e:""+e).replace(qr,"\n").replace(Hr,"")}function Yr(e,t,n){if(t=Wr(t),Wr(e)!==t&&n)throw Error(o(425))}function Kr(){}var Jr=null,Xr=null;function Zr(e,t){return"textarea"===e||"noscript"===e||"string"===typeof t.children||"number"===typeof t.children||"object"===typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var $r="function"===typeof setTimeout?setTimeout:void 0,ei="function"===typeof clearTimeout?clearTimeout:void 0,ti="function"===typeof Promise?Promise:void 0,ni="function"===typeof queueMicrotask?queueMicrotask:"undefined"!==typeof ti?function(e){return ti.resolve(null).then(e).catch(ri)}:$r;function ri(e){setTimeout((function(){throw e}))}function ii(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&8===i.nodeType)if("/$"===(n=i.data)){if(0===r)return e.removeChild(i),void Qt(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=i}while(n);Qt(t)}function oi(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function ai(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var si=Math.random().toString(36).slice(2),li="__reactFiber$"+si,ci="__reactProps$"+si,ui="__reactContainer$"+si,di="__reactEvents$"+si,pi="__reactListeners$"+si,hi="__reactHandles$"+si;function fi(e){var t=e[li];if(t)return t;for(var n=e.parentNode;n;){if(t=n[ui]||n[li]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=ai(e);null!==e;){if(n=e[li])return n;e=ai(e)}return t}n=(e=n).parentNode}return null}function mi(e){return!(e=e[li]||e[ui])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function gi(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(o(33))}function vi(e){return e[ci]||null}var yi=[],Ai=-1;function bi(e){return{current:e}}function wi(e){0>Ai||(e.current=yi[Ai],yi[Ai]=null,Ai--)}function xi(e,t){Ai++,yi[Ai]=e.current,e.current=t}var Ci={},Si=bi(Ci),ki=bi(!1),Ei=Ci;function Ii(e,t){var n=e.type.contextTypes;if(!n)return Ci;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i,o={};for(i in n)o[i]=t[i];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function _i(e){return null!==(e=e.childContextTypes)&&void 0!==e}function Pi(){wi(ki),wi(Si)}function Oi(e,t,n){if(Si.current!==Ci)throw Error(o(168));xi(Si,t),xi(ki,n)}function Ti(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!==typeof r.getChildContext)return n;for(var i in r=r.getChildContext())if(!(i in t))throw Error(o(108,V(e)||"Unknown",i));return R({},n,r)}function Di(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Ci,Ei=Si.current,xi(Si,e),xi(ki,ki.current),!0}function ji(e,t,n){var r=e.stateNode;if(!r)throw Error(o(169));n?(e=Ti(e,t,Ei),r.__reactInternalMemoizedMergedChildContext=e,wi(ki),wi(Si),xi(Si,e)):wi(ki),xi(ki,n)}var Bi=null,Ni=!1,Mi=!1;function Ri(e){null===Bi?Bi=[e]:Bi.push(e)}function Li(){if(!Mi&&null!==Bi){Mi=!0;var e=0,t=yt;try{var n=Bi;for(yt=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}Bi=null,Ni=!1}catch(i){throw null!==Bi&&(Bi=Bi.slice(e+1)),He(Ze,Li),i}finally{yt=t,Mi=!1}}return null}var Fi=[],zi=0,Qi=null,Ui=0,Vi=[],Gi=0,qi=null,Hi=1,Wi="";function Yi(e,t){Fi[zi++]=Ui,Fi[zi++]=Qi,Qi=e,Ui=t}function Ki(e,t,n){Vi[Gi++]=Hi,Vi[Gi++]=Wi,Vi[Gi++]=qi,qi=e;var r=Hi;e=Wi;var i=32-ot(r)-1;r&=~(1<<i),n+=1;var o=32-ot(t)+i;if(30<o){var a=i-i%5;o=(r&(1<<a)-1).toString(32),r>>=a,i-=a,Hi=1<<32-ot(t)+i|n<<i|r,Wi=o+e}else Hi=1<<o|n<<i|r,Wi=e}function Ji(e){null!==e.return&&(Yi(e,1),Ki(e,1,0))}function Xi(e){for(;e===Qi;)Qi=Fi[--zi],Fi[zi]=null,Ui=Fi[--zi],Fi[zi]=null;for(;e===qi;)qi=Vi[--Gi],Vi[Gi]=null,Wi=Vi[--Gi],Vi[Gi]=null,Hi=Vi[--Gi],Vi[Gi]=null}var Zi=null,$i=null,eo=!1,to=null;function no(e,t){var n=Ic(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function ro(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,Zi=e,$i=oi(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,Zi=e,$i=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==qi?{id:Hi,overflow:Wi}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=Ic(18,null,null,0)).stateNode=t,n.return=e,e.child=n,Zi=e,$i=null,!0);default:return!1}}function io(e){return 0!==(1&e.mode)&&0===(128&e.flags)}function oo(e){if(eo){var t=$i;if(t){var n=t;if(!ro(e,t)){if(io(e))throw Error(o(418));t=oi(n.nextSibling);var r=Zi;t&&ro(e,t)?no(r,n):(e.flags=-4097&e.flags|2,eo=!1,Zi=e)}}else{if(io(e))throw Error(o(418));e.flags=-4097&e.flags|2,eo=!1,Zi=e}}}function ao(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;Zi=e}function so(e){if(e!==Zi)return!1;if(!eo)return ao(e),eo=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!Zr(e.type,e.memoizedProps)),t&&(t=$i)){if(io(e))throw lo(),Error(o(418));for(;t;)no(e,t),t=oi(t.nextSibling)}if(ao(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(o(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){$i=oi(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}$i=null}}else $i=Zi?oi(e.stateNode.nextSibling):null;return!0}function lo(){for(var e=$i;e;)e=oi(e.nextSibling)}function co(){$i=Zi=null,eo=!1}function uo(e){null===to?to=[e]:to.push(e)}var po=b.ReactCurrentBatchConfig;function ho(e,t,n){if(null!==(e=n.ref)&&"function"!==typeof e&&"object"!==typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(o(309));var r=n.stateNode}if(!r)throw Error(o(147,e));var i=r,a=""+e;return null!==t&&null!==t.ref&&"function"===typeof t.ref&&t.ref._stringRef===a?t.ref:(t=function(e){var t=i.refs;null===e?delete t[a]:t[a]=e},t._stringRef=a,t)}if("string"!==typeof e)throw Error(o(284));if(!n._owner)throw Error(o(290,e))}return e}function fo(e,t){throw e=Object.prototype.toString.call(t),Error(o(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function mo(e){return(0,e._init)(e._payload)}function go(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function i(e,t){return(e=Pc(e,t)).index=0,e.sibling=null,e}function a(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=2,n):(t.flags|=1048576,n)}function s(t){return e&&null===t.alternate&&(t.flags|=2),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=jc(n,e.mode,r)).return=e,t):((t=i(t,n)).return=e,t)}function c(e,t,n,r){var o=n.type;return o===C?d(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===o||"object"===typeof o&&null!==o&&o.$$typeof===D&&mo(o)===t.type)?((r=i(t,n.props)).ref=ho(e,t,n),r.return=e,r):((r=Oc(n.type,n.key,n.props,null,e.mode,r)).ref=ho(e,t,n),r.return=e,r)}function u(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Bc(n,e.mode,r)).return=e,t):((t=i(t,n.children||[])).return=e,t)}function d(e,t,n,r,o){return null===t||7!==t.tag?((t=Tc(n,e.mode,r,o)).return=e,t):((t=i(t,n)).return=e,t)}function p(e,t,n){if("string"===typeof t&&""!==t||"number"===typeof t)return(t=jc(""+t,e.mode,n)).return=e,t;if("object"===typeof t&&null!==t){switch(t.$$typeof){case w:return(n=Oc(t.type,t.key,t.props,null,e.mode,n)).ref=ho(e,null,t),n.return=e,n;case x:return(t=Bc(t,e.mode,n)).return=e,t;case D:return p(e,(0,t._init)(t._payload),n)}if(te(t)||N(t))return(t=Tc(t,e.mode,n,null)).return=e,t;fo(e,t)}return null}function h(e,t,n,r){var i=null!==t?t.key:null;if("string"===typeof n&&""!==n||"number"===typeof n)return null!==i?null:l(e,t,""+n,r);if("object"===typeof n&&null!==n){switch(n.$$typeof){case w:return n.key===i?c(e,t,n,r):null;case x:return n.key===i?u(e,t,n,r):null;case D:return h(e,t,(i=n._init)(n._payload),r)}if(te(n)||N(n))return null!==i?null:d(e,t,n,r,null);fo(e,n)}return null}function f(e,t,n,r,i){if("string"===typeof r&&""!==r||"number"===typeof r)return l(t,e=e.get(n)||null,""+r,i);if("object"===typeof r&&null!==r){switch(r.$$typeof){case w:return c(t,e=e.get(null===r.key?n:r.key)||null,r,i);case x:return u(t,e=e.get(null===r.key?n:r.key)||null,r,i);case D:return f(e,t,n,(0,r._init)(r._payload),i)}if(te(r)||N(r))return d(t,e=e.get(n)||null,r,i,null);fo(t,r)}return null}function m(i,o,s,l){for(var c=null,u=null,d=o,m=o=0,g=null;null!==d&&m<s.length;m++){d.index>m?(g=d,d=null):g=d.sibling;var v=h(i,d,s[m],l);if(null===v){null===d&&(d=g);break}e&&d&&null===v.alternate&&t(i,d),o=a(v,o,m),null===u?c=v:u.sibling=v,u=v,d=g}if(m===s.length)return n(i,d),eo&&Yi(i,m),c;if(null===d){for(;m<s.length;m++)null!==(d=p(i,s[m],l))&&(o=a(d,o,m),null===u?c=d:u.sibling=d,u=d);return eo&&Yi(i,m),c}for(d=r(i,d);m<s.length;m++)null!==(g=f(d,i,m,s[m],l))&&(e&&null!==g.alternate&&d.delete(null===g.key?m:g.key),o=a(g,o,m),null===u?c=g:u.sibling=g,u=g);return e&&d.forEach((function(e){return t(i,e)})),eo&&Yi(i,m),c}function g(i,s,l,c){var u=N(l);if("function"!==typeof u)throw Error(o(150));if(null==(l=u.call(l)))throw Error(o(151));for(var d=u=null,m=s,g=s=0,v=null,y=l.next();null!==m&&!y.done;g++,y=l.next()){m.index>g?(v=m,m=null):v=m.sibling;var A=h(i,m,y.value,c);if(null===A){null===m&&(m=v);break}e&&m&&null===A.alternate&&t(i,m),s=a(A,s,g),null===d?u=A:d.sibling=A,d=A,m=v}if(y.done)return n(i,m),eo&&Yi(i,g),u;if(null===m){for(;!y.done;g++,y=l.next())null!==(y=p(i,y.value,c))&&(s=a(y,s,g),null===d?u=y:d.sibling=y,d=y);return eo&&Yi(i,g),u}for(m=r(i,m);!y.done;g++,y=l.next())null!==(y=f(m,i,g,y.value,c))&&(e&&null!==y.alternate&&m.delete(null===y.key?g:y.key),s=a(y,s,g),null===d?u=y:d.sibling=y,d=y);return e&&m.forEach((function(e){return t(i,e)})),eo&&Yi(i,g),u}return function e(r,o,a,l){if("object"===typeof a&&null!==a&&a.type===C&&null===a.key&&(a=a.props.children),"object"===typeof a&&null!==a){switch(a.$$typeof){case w:e:{for(var c=a.key,u=o;null!==u;){if(u.key===c){if((c=a.type)===C){if(7===u.tag){n(r,u.sibling),(o=i(u,a.props.children)).return=r,r=o;break e}}else if(u.elementType===c||"object"===typeof c&&null!==c&&c.$$typeof===D&&mo(c)===u.type){n(r,u.sibling),(o=i(u,a.props)).ref=ho(r,u,a),o.return=r,r=o;break e}n(r,u);break}t(r,u),u=u.sibling}a.type===C?((o=Tc(a.props.children,r.mode,l,a.key)).return=r,r=o):((l=Oc(a.type,a.key,a.props,null,r.mode,l)).ref=ho(r,o,a),l.return=r,r=l)}return s(r);case x:e:{for(u=a.key;null!==o;){if(o.key===u){if(4===o.tag&&o.stateNode.containerInfo===a.containerInfo&&o.stateNode.implementation===a.implementation){n(r,o.sibling),(o=i(o,a.children||[])).return=r,r=o;break e}n(r,o);break}t(r,o),o=o.sibling}(o=Bc(a,r.mode,l)).return=r,r=o}return s(r);case D:return e(r,o,(u=a._init)(a._payload),l)}if(te(a))return m(r,o,a,l);if(N(a))return g(r,o,a,l);fo(r,a)}return"string"===typeof a&&""!==a||"number"===typeof a?(a=""+a,null!==o&&6===o.tag?(n(r,o.sibling),(o=i(o,a)).return=r,r=o):(n(r,o),(o=jc(a,r.mode,l)).return=r,r=o),s(r)):n(r,o)}}var vo=go(!0),yo=go(!1),Ao=bi(null),bo=null,wo=null,xo=null;function Co(){xo=wo=bo=null}function So(e){var t=Ao.current;wi(Ao),e._currentValue=t}function ko(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Eo(e,t){bo=e,xo=wo=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!==(e.lanes&t)&&(ms=!0),e.firstContext=null)}function Io(e){var t=e._currentValue;if(xo!==e)if(e={context:e,memoizedValue:t,next:null},null===wo){if(null===bo)throw Error(o(308));wo=e,bo.dependencies={lanes:0,firstContext:e}}else wo=wo.next=e;return t}var _o=null;function Po(e){null===_o?_o=[e]:_o.push(e)}function Oo(e,t,n,r){var i=t.interleaved;return null===i?(n.next=n,Po(t)):(n.next=i.next,i.next=n),t.interleaved=n,To(e,r)}function To(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}var Do=!1;function jo(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Bo(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function No(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Mo(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!==(2&Sl)){var i=r.pending;return null===i?t.next=t:(t.next=i.next,i.next=t),r.pending=t,To(e,n)}return null===(i=r.interleaved)?(t.next=t,Po(r)):(t.next=i.next,i.next=t),r.interleaved=t,To(e,n)}function Ro(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,0!==(4194240&n))){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,vt(e,n)}}function Lo(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var i=null,o=null;if(null!==(n=n.firstBaseUpdate)){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===o?i=o=a:o=o.next=a,n=n.next}while(null!==n);null===o?i=o=t:o=o.next=t}else i=o=t;return n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Fo(e,t,n,r){var i=e.updateQueue;Do=!1;var o=i.firstBaseUpdate,a=i.lastBaseUpdate,s=i.shared.pending;if(null!==s){i.shared.pending=null;var l=s,c=l.next;l.next=null,null===a?o=c:a.next=c,a=l;var u=e.alternate;null!==u&&((s=(u=u.updateQueue).lastBaseUpdate)!==a&&(null===s?u.firstBaseUpdate=c:s.next=c,u.lastBaseUpdate=l))}if(null!==o){var d=i.baseState;for(a=0,u=c=l=null,s=o;;){var p=s.lane,h=s.eventTime;if((r&p)===p){null!==u&&(u=u.next={eventTime:h,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var f=e,m=s;switch(p=t,h=n,m.tag){case 1:if("function"===typeof(f=m.payload)){d=f.call(h,d,p);break e}d=f;break e;case 3:f.flags=-65537&f.flags|128;case 0:if(null===(p="function"===typeof(f=m.payload)?f.call(h,d,p):f)||void 0===p)break e;d=R({},d,p);break e;case 2:Do=!0}}null!==s.callback&&0!==s.lane&&(e.flags|=64,null===(p=i.effects)?i.effects=[s]:p.push(s))}else h={eventTime:h,lane:p,tag:s.tag,payload:s.payload,callback:s.callback,next:null},null===u?(c=u=h,l=d):u=u.next=h,a|=p;if(null===(s=s.next)){if(null===(s=i.shared.pending))break;s=(p=s).next,p.next=null,i.lastBaseUpdate=p,i.shared.pending=null}}if(null===u&&(l=d),i.baseState=l,i.firstBaseUpdate=c,i.lastBaseUpdate=u,null!==(t=i.shared.interleaved)){i=t;do{a|=i.lane,i=i.next}while(i!==t)}else null===o&&(i.shared.lanes=0);Dl|=a,e.lanes=a,e.memoizedState=d}}function zo(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],i=r.callback;if(null!==i){if(r.callback=null,r=n,"function"!==typeof i)throw Error(o(191,i));i.call(r)}}}var Qo={},Uo=bi(Qo),Vo=bi(Qo),Go=bi(Qo);function qo(e){if(e===Qo)throw Error(o(174));return e}function Ho(e,t){switch(xi(Go,t),xi(Vo,e),xi(Uo,Qo),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:le(null,"");break;default:t=le(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}wi(Uo),xi(Uo,t)}function Wo(){wi(Uo),wi(Vo),wi(Go)}function Yo(e){qo(Go.current);var t=qo(Uo.current),n=le(t,e.type);t!==n&&(xi(Vo,e),xi(Uo,n))}function Ko(e){Vo.current===e&&(wi(Uo),wi(Vo))}var Jo=bi(0);function Xo(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!==(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Zo=[];function $o(){for(var e=0;e<Zo.length;e++)Zo[e]._workInProgressVersionPrimary=null;Zo.length=0}var ea=b.ReactCurrentDispatcher,ta=b.ReactCurrentBatchConfig,na=0,ra=null,ia=null,oa=null,aa=!1,sa=!1,la=0,ca=0;function ua(){throw Error(o(321))}function da(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!rr(e[n],t[n]))return!1;return!0}function pa(e,t,n,r,i,a){if(na=a,ra=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,ea.current=null===e||null===e.memoizedState?Ka:Ja,e=n(r,i),sa){a=0;do{if(sa=!1,la=0,25<=a)throw Error(o(301));a+=1,oa=ia=null,t.updateQueue=null,ea.current=Xa,e=n(r,i)}while(sa)}if(ea.current=Ya,t=null!==ia&&null!==ia.next,na=0,oa=ia=ra=null,aa=!1,t)throw Error(o(300));return e}function ha(){var e=0!==la;return la=0,e}function fa(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===oa?ra.memoizedState=oa=e:oa=oa.next=e,oa}function ma(){if(null===ia){var e=ra.alternate;e=null!==e?e.memoizedState:null}else e=ia.next;var t=null===oa?ra.memoizedState:oa.next;if(null!==t)oa=t,ia=e;else{if(null===e)throw Error(o(310));e={memoizedState:(ia=e).memoizedState,baseState:ia.baseState,baseQueue:ia.baseQueue,queue:ia.queue,next:null},null===oa?ra.memoizedState=oa=e:oa=oa.next=e}return oa}function ga(e,t){return"function"===typeof t?t(e):t}function va(e){var t=ma(),n=t.queue;if(null===n)throw Error(o(311));n.lastRenderedReducer=e;var r=ia,i=r.baseQueue,a=n.pending;if(null!==a){if(null!==i){var s=i.next;i.next=a.next,a.next=s}r.baseQueue=i=a,n.pending=null}if(null!==i){a=i.next,r=r.baseState;var l=s=null,c=null,u=a;do{var d=u.lane;if((na&d)===d)null!==c&&(c=c.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var p={lane:d,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};null===c?(l=c=p,s=r):c=c.next=p,ra.lanes|=d,Dl|=d}u=u.next}while(null!==u&&u!==a);null===c?s=r:c.next=l,rr(r,t.memoizedState)||(ms=!0),t.memoizedState=r,t.baseState=s,t.baseQueue=c,n.lastRenderedState=r}if(null!==(e=n.interleaved)){i=e;do{a=i.lane,ra.lanes|=a,Dl|=a,i=i.next}while(i!==e)}else null===i&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function ya(e){var t=ma(),n=t.queue;if(null===n)throw Error(o(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,a=t.memoizedState;if(null!==i){n.pending=null;var s=i=i.next;do{a=e(a,s.action),s=s.next}while(s!==i);rr(a,t.memoizedState)||(ms=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function Aa(){}function ba(e,t){var n=ra,r=ma(),i=t(),a=!rr(r.memoizedState,i);if(a&&(r.memoizedState=i,ms=!0),r=r.queue,Da(Ca.bind(null,n,r,e),[e]),r.getSnapshot!==t||a||null!==oa&&1&oa.memoizedState.tag){if(n.flags|=2048,Ia(9,xa.bind(null,n,r,i,t),void 0,null),null===kl)throw Error(o(349));0!==(30&na)||wa(n,t,i)}return i}function wa(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=ra.updateQueue)?(t={lastEffect:null,stores:null},ra.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function xa(e,t,n,r){t.value=n,t.getSnapshot=r,Sa(t)&&ka(e)}function Ca(e,t,n){return n((function(){Sa(t)&&ka(e)}))}function Sa(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!rr(e,n)}catch(r){return!0}}function ka(e){var t=To(e,1);null!==t&&Zl(t,e,1,-1)}function Ea(e){var t=fa();return"function"===typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:ga,lastRenderedState:e},t.queue=e,e=e.dispatch=Ga.bind(null,ra,e),[t.memoizedState,e]}function Ia(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=ra.updateQueue)?(t={lastEffect:null,stores:null},ra.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function _a(){return ma().memoizedState}function Pa(e,t,n,r){var i=fa();ra.flags|=e,i.memoizedState=Ia(1|t,n,void 0,void 0===r?null:r)}function Oa(e,t,n,r){var i=ma();r=void 0===r?null:r;var o=void 0;if(null!==ia){var a=ia.memoizedState;if(o=a.destroy,null!==r&&da(r,a.deps))return void(i.memoizedState=Ia(t,n,o,r))}ra.flags|=e,i.memoizedState=Ia(1|t,n,o,r)}function Ta(e,t){return Pa(8390656,8,e,t)}function Da(e,t){return Oa(2048,8,e,t)}function ja(e,t){return Oa(4,2,e,t)}function Ba(e,t){return Oa(4,4,e,t)}function Na(e,t){return"function"===typeof t?(e=e(),t(e),function(){t(null)}):null!==t&&void 0!==t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Ma(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,Oa(4,4,Na.bind(null,t,e),n)}function Ra(){}function La(e,t){var n=ma();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&da(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Fa(e,t){var n=ma();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&da(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function za(e,t,n){return 0===(21&na)?(e.baseState&&(e.baseState=!1,ms=!0),e.memoizedState=n):(rr(n,t)||(n=ft(),ra.lanes|=n,Dl|=n,e.baseState=!0),t)}function Qa(e,t){var n=yt;yt=0!==n&&4>n?n:4,e(!0);var r=ta.transition;ta.transition={};try{e(!1),t()}finally{yt=n,ta.transition=r}}function Ua(){return ma().memoizedState}function Va(e,t,n){var r=Xl(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},qa(e))Ha(t,n);else if(null!==(n=Oo(e,t,n,r))){Zl(n,e,r,Jl()),Wa(n,t,r)}}function Ga(e,t,n){var r=Xl(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(qa(e))Ha(t,i);else{var o=e.alternate;if(0===e.lanes&&(null===o||0===o.lanes)&&null!==(o=t.lastRenderedReducer))try{var a=t.lastRenderedState,s=o(a,n);if(i.hasEagerState=!0,i.eagerState=s,rr(s,a)){var l=t.interleaved;return null===l?(i.next=i,Po(t)):(i.next=l.next,l.next=i),void(t.interleaved=i)}}catch(c){}null!==(n=Oo(e,t,i,r))&&(Zl(n,e,r,i=Jl()),Wa(n,t,r))}}function qa(e){var t=e.alternate;return e===ra||null!==t&&t===ra}function Ha(e,t){sa=aa=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Wa(e,t,n){if(0!==(4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,vt(e,n)}}var Ya={readContext:Io,useCallback:ua,useContext:ua,useEffect:ua,useImperativeHandle:ua,useInsertionEffect:ua,useLayoutEffect:ua,useMemo:ua,useReducer:ua,useRef:ua,useState:ua,useDebugValue:ua,useDeferredValue:ua,useTransition:ua,useMutableSource:ua,useSyncExternalStore:ua,useId:ua,unstable_isNewReconciler:!1},Ka={readContext:Io,useCallback:function(e,t){return fa().memoizedState=[e,void 0===t?null:t],e},useContext:Io,useEffect:Ta,useImperativeHandle:function(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,Pa(4194308,4,Na.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Pa(4194308,4,e,t)},useInsertionEffect:function(e,t){return Pa(4,2,e,t)},useMemo:function(e,t){var n=fa();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=fa();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=Va.bind(null,ra,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},fa().memoizedState=e},useState:Ea,useDebugValue:Ra,useDeferredValue:function(e){return fa().memoizedState=e},useTransition:function(){var e=Ea(!1),t=e[0];return e=Qa.bind(null,e[1]),fa().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=ra,i=fa();if(eo){if(void 0===n)throw Error(o(407));n=n()}else{if(n=t(),null===kl)throw Error(o(349));0!==(30&na)||wa(r,t,n)}i.memoizedState=n;var a={value:n,getSnapshot:t};return i.queue=a,Ta(Ca.bind(null,r,a,e),[e]),r.flags|=2048,Ia(9,xa.bind(null,r,a,n,t),void 0,null),n},useId:function(){var e=fa(),t=kl.identifierPrefix;if(eo){var n=Wi;t=":"+t+"R"+(n=(Hi&~(1<<32-ot(Hi)-1)).toString(32)+n),0<(n=la++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=ca++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},Ja={readContext:Io,useCallback:La,useContext:Io,useEffect:Da,useImperativeHandle:Ma,useInsertionEffect:ja,useLayoutEffect:Ba,useMemo:Fa,useReducer:va,useRef:_a,useState:function(){return va(ga)},useDebugValue:Ra,useDeferredValue:function(e){return za(ma(),ia.memoizedState,e)},useTransition:function(){return[va(ga)[0],ma().memoizedState]},useMutableSource:Aa,useSyncExternalStore:ba,useId:Ua,unstable_isNewReconciler:!1},Xa={readContext:Io,useCallback:La,useContext:Io,useEffect:Da,useImperativeHandle:Ma,useInsertionEffect:ja,useLayoutEffect:Ba,useMemo:Fa,useReducer:ya,useRef:_a,useState:function(){return ya(ga)},useDebugValue:Ra,useDeferredValue:function(e){var t=ma();return null===ia?t.memoizedState=e:za(t,ia.memoizedState,e)},useTransition:function(){return[ya(ga)[0],ma().memoizedState]},useMutableSource:Aa,useSyncExternalStore:ba,useId:Ua,unstable_isNewReconciler:!1};function Za(e,t){if(e&&e.defaultProps){for(var n in t=R({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}function $a(e,t,n,r){n=null===(n=n(r,t=e.memoizedState))||void 0===n?t:R({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var es={isMounted:function(e){return!!(e=e._reactInternals)&&Qe(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Jl(),i=Xl(e),o=No(r,i);o.payload=t,void 0!==n&&null!==n&&(o.callback=n),null!==(t=Mo(e,o,i))&&(Zl(t,e,i,r),Ro(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Jl(),i=Xl(e),o=No(r,i);o.tag=1,o.payload=t,void 0!==n&&null!==n&&(o.callback=n),null!==(t=Mo(e,o,i))&&(Zl(t,e,i,r),Ro(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Jl(),r=Xl(e),i=No(n,r);i.tag=2,void 0!==t&&null!==t&&(i.callback=t),null!==(t=Mo(e,i,r))&&(Zl(t,e,r,n),Ro(t,e,r))}};function ts(e,t,n,r,i,o,a){return"function"===typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,o,a):!t.prototype||!t.prototype.isPureReactComponent||(!ir(n,r)||!ir(i,o))}function ns(e,t,n){var r=!1,i=Ci,o=t.contextType;return"object"===typeof o&&null!==o?o=Io(o):(i=_i(t)?Ei:Si.current,o=(r=null!==(r=t.contextTypes)&&void 0!==r)?Ii(e,i):Ci),t=new t(n,o),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=es,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=o),t}function rs(e,t,n,r){e=t.state,"function"===typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"===typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&es.enqueueReplaceState(t,t.state,null)}function is(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs={},jo(e);var o=t.contextType;"object"===typeof o&&null!==o?i.context=Io(o):(o=_i(t)?Ei:Si.current,i.context=Ii(e,o)),i.state=e.memoizedState,"function"===typeof(o=t.getDerivedStateFromProps)&&($a(e,t,o,n),i.state=e.memoizedState),"function"===typeof t.getDerivedStateFromProps||"function"===typeof i.getSnapshotBeforeUpdate||"function"!==typeof i.UNSAFE_componentWillMount&&"function"!==typeof i.componentWillMount||(t=i.state,"function"===typeof i.componentWillMount&&i.componentWillMount(),"function"===typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount(),t!==i.state&&es.enqueueReplaceState(i,i.state,null),Fo(e,n,i,r),i.state=e.memoizedState),"function"===typeof i.componentDidMount&&(e.flags|=4194308)}function os(e,t){try{var n="",r=t;do{n+=Q(r),r=r.return}while(r);var i=n}catch(o){i="\nError generating stack: "+o.message+"\n"+o.stack}return{value:e,source:t,stack:i,digest:null}}function as(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function ss(e,t){try{console.error(t.value)}catch(n){setTimeout((function(){throw n}))}}var ls="function"===typeof WeakMap?WeakMap:Map;function cs(e,t,n){(n=No(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){zl||(zl=!0,Ql=r),ss(0,t)},n}function us(e,t,n){(n=No(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"===typeof r){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){ss(0,t)}}var o=e.stateNode;return null!==o&&"function"===typeof o.componentDidCatch&&(n.callback=function(){ss(0,t),"function"!==typeof r&&(null===Ul?Ul=new Set([this]):Ul.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function ds(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new ls;var i=new Set;r.set(t,i)}else void 0===(i=r.get(t))&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=wc.bind(null,e,t,n),t.then(e,e))}function ps(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function hs(e,t,n,r,i){return 0===(1&e.mode)?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=No(-1,1)).tag=2,Mo(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=i,e)}var fs=b.ReactCurrentOwner,ms=!1;function gs(e,t,n,r){t.child=null===e?yo(t,null,n,r):vo(t,e.child,n,r)}function vs(e,t,n,r,i){n=n.render;var o=t.ref;return Eo(t,i),r=pa(e,t,n,r,o,i),n=ha(),null===e||ms?(eo&&n&&Ji(t),t.flags|=1,gs(e,t,r,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,zs(e,t,i))}function ys(e,t,n,r,i){if(null===e){var o=n.type;return"function"!==typeof o||_c(o)||void 0!==o.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Oc(n.type,null,r,t,t.mode,i)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=o,As(e,t,o,r,i))}if(o=e.child,0===(e.lanes&i)){var a=o.memoizedProps;if((n=null!==(n=n.compare)?n:ir)(a,r)&&e.ref===t.ref)return zs(e,t,i)}return t.flags|=1,(e=Pc(o,r)).ref=t.ref,e.return=t,t.child=e}function As(e,t,n,r,i){if(null!==e){var o=e.memoizedProps;if(ir(o,r)&&e.ref===t.ref){if(ms=!1,t.pendingProps=r=o,0===(e.lanes&i))return t.lanes=e.lanes,zs(e,t,i);0!==(131072&e.flags)&&(ms=!0)}}return xs(e,t,n,r,i)}function bs(e,t,n){var r=t.pendingProps,i=r.children,o=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(0===(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},xi(Pl,_l),_l|=n;else{if(0===(1073741824&n))return e=null!==o?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,xi(Pl,_l),_l|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==o?o.baseLanes:n,xi(Pl,_l),_l|=r}else null!==o?(r=o.baseLanes|n,t.memoizedState=null):r=n,xi(Pl,_l),_l|=r;return gs(e,t,i,n),t.child}function ws(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function xs(e,t,n,r,i){var o=_i(n)?Ei:Si.current;return o=Ii(t,o),Eo(t,i),n=pa(e,t,n,r,o,i),r=ha(),null===e||ms?(eo&&r&&Ji(t),t.flags|=1,gs(e,t,n,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,zs(e,t,i))}function Cs(e,t,n,r,i){if(_i(n)){var o=!0;Di(t)}else o=!1;if(Eo(t,i),null===t.stateNode)Fs(e,t),ns(t,n,r),is(t,n,r,i),r=!0;else if(null===e){var a=t.stateNode,s=t.memoizedProps;a.props=s;var l=a.context,c=n.contextType;"object"===typeof c&&null!==c?c=Io(c):c=Ii(t,c=_i(n)?Ei:Si.current);var u=n.getDerivedStateFromProps,d="function"===typeof u||"function"===typeof a.getSnapshotBeforeUpdate;d||"function"!==typeof a.UNSAFE_componentWillReceiveProps&&"function"!==typeof a.componentWillReceiveProps||(s!==r||l!==c)&&rs(t,a,r,c),Do=!1;var p=t.memoizedState;a.state=p,Fo(t,r,a,i),l=t.memoizedState,s!==r||p!==l||ki.current||Do?("function"===typeof u&&($a(t,n,u,r),l=t.memoizedState),(s=Do||ts(t,n,s,r,p,l,c))?(d||"function"!==typeof a.UNSAFE_componentWillMount&&"function"!==typeof a.componentWillMount||("function"===typeof a.componentWillMount&&a.componentWillMount(),"function"===typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"===typeof a.componentDidMount&&(t.flags|=4194308)):("function"===typeof a.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),a.props=r,a.state=l,a.context=c,r=s):("function"===typeof a.componentDidMount&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,Bo(e,t),s=t.memoizedProps,c=t.type===t.elementType?s:Za(t.type,s),a.props=c,d=t.pendingProps,p=a.context,"object"===typeof(l=n.contextType)&&null!==l?l=Io(l):l=Ii(t,l=_i(n)?Ei:Si.current);var h=n.getDerivedStateFromProps;(u="function"===typeof h||"function"===typeof a.getSnapshotBeforeUpdate)||"function"!==typeof a.UNSAFE_componentWillReceiveProps&&"function"!==typeof a.componentWillReceiveProps||(s!==d||p!==l)&&rs(t,a,r,l),Do=!1,p=t.memoizedState,a.state=p,Fo(t,r,a,i);var f=t.memoizedState;s!==d||p!==f||ki.current||Do?("function"===typeof h&&($a(t,n,h,r),f=t.memoizedState),(c=Do||ts(t,n,c,r,p,f,l)||!1)?(u||"function"!==typeof a.UNSAFE_componentWillUpdate&&"function"!==typeof a.componentWillUpdate||("function"===typeof a.componentWillUpdate&&a.componentWillUpdate(r,f,l),"function"===typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,f,l)),"function"===typeof a.componentDidUpdate&&(t.flags|=4),"function"===typeof a.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!==typeof a.componentDidUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!==typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=f),a.props=r,a.state=f,a.context=l,r=c):("function"!==typeof a.componentDidUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!==typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),r=!1)}return Ss(e,t,n,r,o,i)}function Ss(e,t,n,r,i,o){ws(e,t);var a=0!==(128&t.flags);if(!r&&!a)return i&&ji(t,n,!1),zs(e,t,o);r=t.stateNode,fs.current=t;var s=a&&"function"!==typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&a?(t.child=vo(t,e.child,null,o),t.child=vo(t,null,s,o)):gs(e,t,s,o),t.memoizedState=r.state,i&&ji(t,n,!0),t.child}function ks(e){var t=e.stateNode;t.pendingContext?Oi(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Oi(0,t.context,!1),Ho(e,t.containerInfo)}function Es(e,t,n,r,i){return co(),uo(i),t.flags|=256,gs(e,t,n,r),t.child}var Is,_s,Ps,Os,Ts={dehydrated:null,treeContext:null,retryLane:0};function Ds(e){return{baseLanes:e,cachePool:null,transitions:null}}function js(e,t,n){var r,i=t.pendingProps,a=Jo.current,s=!1,l=0!==(128&t.flags);if((r=l)||(r=(null===e||null!==e.memoizedState)&&0!==(2&a)),r?(s=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(a|=1),xi(Jo,1&a),null===e)return oo(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(0===(1&t.mode)?t.lanes=1:"$!"===e.data?t.lanes=8:t.lanes=1073741824,null):(l=i.children,e=i.fallback,s?(i=t.mode,s=t.child,l={mode:"hidden",children:l},0===(1&i)&&null!==s?(s.childLanes=0,s.pendingProps=l):s=Dc(l,i,0,null),e=Tc(e,i,n,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=Ds(n),t.memoizedState=Ts,e):Bs(t,l));if(null!==(a=e.memoizedState)&&null!==(r=a.dehydrated))return function(e,t,n,r,i,a,s){if(n)return 256&t.flags?(t.flags&=-257,Ns(e,t,s,r=as(Error(o(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(a=r.fallback,i=t.mode,r=Dc({mode:"visible",children:r.children},i,0,null),(a=Tc(a,i,s,null)).flags|=2,r.return=t,a.return=t,r.sibling=a,t.child=r,0!==(1&t.mode)&&vo(t,e.child,null,s),t.child.memoizedState=Ds(s),t.memoizedState=Ts,a);if(0===(1&t.mode))return Ns(e,t,s,null);if("$!"===i.data){if(r=i.nextSibling&&i.nextSibling.dataset)var l=r.dgst;return r=l,Ns(e,t,s,r=as(a=Error(o(419)),r,void 0))}if(l=0!==(s&e.childLanes),ms||l){if(null!==(r=kl)){switch(s&-s){case 4:i=2;break;case 16:i=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32;break;case 536870912:i=268435456;break;default:i=0}0!==(i=0!==(i&(r.suspendedLanes|s))?0:i)&&i!==a.retryLane&&(a.retryLane=i,To(e,i),Zl(r,e,i,-1))}return dc(),Ns(e,t,s,r=as(Error(o(421))))}return"$?"===i.data?(t.flags|=128,t.child=e.child,t=Cc.bind(null,e),i._reactRetry=t,null):(e=a.treeContext,$i=oi(i.nextSibling),Zi=t,eo=!0,to=null,null!==e&&(Vi[Gi++]=Hi,Vi[Gi++]=Wi,Vi[Gi++]=qi,Hi=e.id,Wi=e.overflow,qi=t),t=Bs(t,r.children),t.flags|=4096,t)}(e,t,l,i,r,a,n);if(s){s=i.fallback,l=t.mode,r=(a=e.child).sibling;var c={mode:"hidden",children:i.children};return 0===(1&l)&&t.child!==a?((i=t.child).childLanes=0,i.pendingProps=c,t.deletions=null):(i=Pc(a,c)).subtreeFlags=14680064&a.subtreeFlags,null!==r?s=Pc(r,s):(s=Tc(s,l,n,null)).flags|=2,s.return=t,i.return=t,i.sibling=s,t.child=i,i=s,s=t.child,l=null===(l=e.child.memoizedState)?Ds(n):{baseLanes:l.baseLanes|n,cachePool:null,transitions:l.transitions},s.memoizedState=l,s.childLanes=e.childLanes&~n,t.memoizedState=Ts,i}return e=(s=e.child).sibling,i=Pc(s,{mode:"visible",children:i.children}),0===(1&t.mode)&&(i.lanes=n),i.return=t,i.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=i,t.memoizedState=null,i}function Bs(e,t){return(t=Dc({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Ns(e,t,n,r){return null!==r&&uo(r),vo(t,e.child,null,n),(e=Bs(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Ms(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),ko(e.return,t,n)}function Rs(e,t,n,r,i){var o=e.memoizedState;null===o?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i)}function Ls(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(gs(e,t,r.children,n),0!==(2&(r=Jo.current)))r=1&r|2,t.flags|=128;else{if(null!==e&&0!==(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Ms(e,n,t);else if(19===e.tag)Ms(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(xi(Jo,r),0===(1&t.mode))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;null!==n;)null!==(e=n.alternate)&&null===Xo(e)&&(i=n),n=n.sibling;null===(n=i)?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),Rs(t,!1,i,n,o);break;case"backwards":for(n=null,i=t.child,t.child=null;null!==i;){if(null!==(e=i.alternate)&&null===Xo(e)){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}Rs(t,!0,n,null,o);break;case"together":Rs(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Fs(e,t){0===(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function zs(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Dl|=t.lanes,0===(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(o(153));if(null!==t.child){for(n=Pc(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Pc(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Qs(e,t){if(!eo)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Us(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;null!==i;)n|=i.lanes|i.childLanes,r|=14680064&i.subtreeFlags,r|=14680064&i.flags,i.return=e,i=i.sibling;else for(i=e.child;null!==i;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Vs(e,t,n){var r=t.pendingProps;switch(Xi(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Us(t),null;case 1:case 17:return _i(t.type)&&Pi(),Us(t),null;case 3:return r=t.stateNode,Wo(),wi(ki),wi(Si),$o(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(so(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0===(256&t.flags)||(t.flags|=1024,null!==to&&(nc(to),to=null))),_s(e,t),Us(t),null;case 5:Ko(t);var i=qo(Go.current);if(n=t.type,null!==e&&null!=t.stateNode)Ps(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(o(166));return Us(t),null}if(e=qo(Uo.current),so(t)){r=t.stateNode,n=t.type;var a=t.memoizedProps;switch(r[li]=t,r[ci]=a,e=0!==(1&t.mode),n){case"dialog":Nr("cancel",r),Nr("close",r);break;case"iframe":case"object":case"embed":Nr("load",r);break;case"video":case"audio":for(i=0;i<Tr.length;i++)Nr(Tr[i],r);break;case"source":Nr("error",r);break;case"img":case"image":case"link":Nr("error",r),Nr("load",r);break;case"details":Nr("toggle",r);break;case"input":J(r,a),Nr("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!a.multiple},Nr("invalid",r);break;case"textarea":ie(r,a),Nr("invalid",r)}for(var l in ve(n,a),i=null,a)if(a.hasOwnProperty(l)){var c=a[l];"children"===l?"string"===typeof c?r.textContent!==c&&(!0!==a.suppressHydrationWarning&&Yr(r.textContent,c,e),i=["children",c]):"number"===typeof c&&r.textContent!==""+c&&(!0!==a.suppressHydrationWarning&&Yr(r.textContent,c,e),i=["children",""+c]):s.hasOwnProperty(l)&&null!=c&&"onScroll"===l&&Nr("scroll",r)}switch(n){case"input":H(r),$(r,a,!0);break;case"textarea":H(r),ae(r);break;case"select":case"option":break;default:"function"===typeof a.onClick&&(r.onclick=Kr)}r=i,t.updateQueue=r,null!==r&&(t.flags|=4)}else{l=9===i.nodeType?i:i.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=se(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=l.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"===typeof r.is?e=l.createElement(n,{is:r.is}):(e=l.createElement(n),"select"===n&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,n),e[li]=t,e[ci]=r,Is(e,t,!1,!1),t.stateNode=e;e:{switch(l=ye(n,r),n){case"dialog":Nr("cancel",e),Nr("close",e),i=r;break;case"iframe":case"object":case"embed":Nr("load",e),i=r;break;case"video":case"audio":for(i=0;i<Tr.length;i++)Nr(Tr[i],e);i=r;break;case"source":Nr("error",e),i=r;break;case"img":case"image":case"link":Nr("error",e),Nr("load",e),i=r;break;case"details":Nr("toggle",e),i=r;break;case"input":J(e,r),i=K(e,r),Nr("invalid",e);break;case"option":default:i=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=R({},r,{value:void 0}),Nr("invalid",e);break;case"textarea":ie(e,r),i=re(e,r),Nr("invalid",e)}for(a in ve(n,i),c=i)if(c.hasOwnProperty(a)){var u=c[a];"style"===a?me(e,u):"dangerouslySetInnerHTML"===a?null!=(u=u?u.__html:void 0)&&ue(e,u):"children"===a?"string"===typeof u?("textarea"!==n||""!==u)&&de(e,u):"number"===typeof u&&de(e,""+u):"suppressContentEditableWarning"!==a&&"suppressHydrationWarning"!==a&&"autoFocus"!==a&&(s.hasOwnProperty(a)?null!=u&&"onScroll"===a&&Nr("scroll",e):null!=u&&A(e,a,u,l))}switch(n){case"input":H(e),$(e,r,!1);break;case"textarea":H(e),ae(e);break;case"option":null!=r.value&&e.setAttribute("value",""+G(r.value));break;case"select":e.multiple=!!r.multiple,null!=(a=r.value)?ne(e,!!r.multiple,a,!1):null!=r.defaultValue&&ne(e,!!r.multiple,r.defaultValue,!0);break;default:"function"===typeof i.onClick&&(e.onclick=Kr)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return Us(t),null;case 6:if(e&&null!=t.stateNode)Os(e,t,e.memoizedProps,r);else{if("string"!==typeof r&&null===t.stateNode)throw Error(o(166));if(n=qo(Go.current),qo(Uo.current),so(t)){if(r=t.stateNode,n=t.memoizedProps,r[li]=t,(a=r.nodeValue!==n)&&null!==(e=Zi))switch(e.tag){case 3:Yr(r.nodeValue,n,0!==(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Yr(r.nodeValue,n,0!==(1&e.mode))}a&&(t.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[li]=t,t.stateNode=r}return Us(t),null;case 13:if(wi(Jo),r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(eo&&null!==$i&&0!==(1&t.mode)&&0===(128&t.flags))lo(),co(),t.flags|=98560,a=!1;else if(a=so(t),null!==r&&null!==r.dehydrated){if(null===e){if(!a)throw Error(o(318));if(!(a=null!==(a=t.memoizedState)?a.dehydrated:null))throw Error(o(317));a[li]=t}else co(),0===(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Us(t),a=!1}else null!==to&&(nc(to),to=null),a=!0;if(!a)return 65536&t.flags?t:null}return 0!==(128&t.flags)?(t.lanes=n,t):((r=null!==r)!==(null!==e&&null!==e.memoizedState)&&r&&(t.child.flags|=8192,0!==(1&t.mode)&&(null===e||0!==(1&Jo.current)?0===Ol&&(Ol=3):dc())),null!==t.updateQueue&&(t.flags|=4),Us(t),null);case 4:return Wo(),_s(e,t),null===e&&Lr(t.stateNode.containerInfo),Us(t),null;case 10:return So(t.type._context),Us(t),null;case 19:if(wi(Jo),null===(a=t.memoizedState))return Us(t),null;if(r=0!==(128&t.flags),null===(l=a.rendering))if(r)Qs(a,!1);else{if(0!==Ol||null!==e&&0!==(128&e.flags))for(e=t.child;null!==e;){if(null!==(l=Xo(e))){for(t.flags|=128,Qs(a,!1),null!==(r=l.updateQueue)&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;null!==n;)e=r,(a=n).flags&=14680066,null===(l=a.alternate)?(a.childLanes=0,a.lanes=e,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=l.childLanes,a.lanes=l.lanes,a.child=l.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=l.memoizedProps,a.memoizedState=l.memoizedState,a.updateQueue=l.updateQueue,a.type=l.type,e=l.dependencies,a.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return xi(Jo,1&Jo.current|2),t.child}e=e.sibling}null!==a.tail&&Je()>Ll&&(t.flags|=128,r=!0,Qs(a,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=Xo(l))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),Qs(a,!0),null===a.tail&&"hidden"===a.tailMode&&!l.alternate&&!eo)return Us(t),null}else 2*Je()-a.renderingStartTime>Ll&&1073741824!==n&&(t.flags|=128,r=!0,Qs(a,!1),t.lanes=4194304);a.isBackwards?(l.sibling=t.child,t.child=l):(null!==(n=a.last)?n.sibling=l:t.child=l,a.last=l)}return null!==a.tail?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=Je(),t.sibling=null,n=Jo.current,xi(Jo,r?1&n|2:1&n),t):(Us(t),null);case 22:case 23:return sc(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&0!==(1&t.mode)?0!==(1073741824&_l)&&(Us(t),6&t.subtreeFlags&&(t.flags|=8192)):Us(t),null;case 24:case 25:return null}throw Error(o(156,t.tag))}function Gs(e,t){switch(Xi(t),t.tag){case 1:return _i(t.type)&&Pi(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return Wo(),wi(ki),wi(Si),$o(),0!==(65536&(e=t.flags))&&0===(128&e)?(t.flags=-65537&e|128,t):null;case 5:return Ko(t),null;case 13:if(wi(Jo),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(o(340));co()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return wi(Jo),null;case 4:return Wo(),null;case 10:return So(t.type._context),null;case 22:case 23:return sc(),null;default:return null}}Is=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},_s=function(){},Ps=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,qo(Uo.current);var o,a=null;switch(n){case"input":i=K(e,i),r=K(e,r),a=[];break;case"select":i=R({},i,{value:void 0}),r=R({},r,{value:void 0}),a=[];break;case"textarea":i=re(e,i),r=re(e,r),a=[];break;default:"function"!==typeof i.onClick&&"function"===typeof r.onClick&&(e.onclick=Kr)}for(u in ve(n,r),n=null,i)if(!r.hasOwnProperty(u)&&i.hasOwnProperty(u)&&null!=i[u])if("style"===u){var l=i[u];for(o in l)l.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else"dangerouslySetInnerHTML"!==u&&"children"!==u&&"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(s.hasOwnProperty(u)?a||(a=[]):(a=a||[]).push(u,null));for(u in r){var c=r[u];if(l=null!=i?i[u]:void 0,r.hasOwnProperty(u)&&c!==l&&(null!=c||null!=l))if("style"===u)if(l){for(o in l)!l.hasOwnProperty(o)||c&&c.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in c)c.hasOwnProperty(o)&&l[o]!==c[o]&&(n||(n={}),n[o]=c[o])}else n||(a||(a=[]),a.push(u,n)),n=c;else"dangerouslySetInnerHTML"===u?(c=c?c.__html:void 0,l=l?l.__html:void 0,null!=c&&l!==c&&(a=a||[]).push(u,c)):"children"===u?"string"!==typeof c&&"number"!==typeof c||(a=a||[]).push(u,""+c):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&(s.hasOwnProperty(u)?(null!=c&&"onScroll"===u&&Nr("scroll",e),a||l===c||(a=[])):(a=a||[]).push(u,c))}n&&(a=a||[]).push("style",n);var u=a;(t.updateQueue=u)&&(t.flags|=4)}},Os=function(e,t,n,r){n!==r&&(t.flags|=4)};var qs=!1,Hs=!1,Ws="function"===typeof WeakSet?WeakSet:Set,Ys=null;function Ks(e,t){var n=e.ref;if(null!==n)if("function"===typeof n)try{n(null)}catch(r){bc(e,t,r)}else n.current=null}function Js(e,t,n){try{n()}catch(r){bc(e,t,r)}}var Xs=!1;function Zs(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,void 0!==o&&Js(t,n,o)}i=i.next}while(i!==r)}}function $s(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function el(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"===typeof t?t(e):t.current=e}}function tl(e){var t=e.alternate;null!==t&&(e.alternate=null,tl(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[li],delete t[ci],delete t[di],delete t[pi],delete t[hi])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function nl(e){return 5===e.tag||3===e.tag||4===e.tag}function rl(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||nl(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function il(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!==(n=n._reactRootContainer)&&void 0!==n||null!==t.onclick||(t.onclick=Kr));else if(4!==r&&null!==(e=e.child))for(il(e,t,n),e=e.sibling;null!==e;)il(e,t,n),e=e.sibling}function ol(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(ol(e,t,n),e=e.sibling;null!==e;)ol(e,t,n),e=e.sibling}var al=null,sl=!1;function ll(e,t,n){for(n=n.child;null!==n;)cl(e,t,n),n=n.sibling}function cl(e,t,n){if(it&&"function"===typeof it.onCommitFiberUnmount)try{it.onCommitFiberUnmount(rt,n)}catch(s){}switch(n.tag){case 5:Hs||Ks(n,t);case 6:var r=al,i=sl;al=null,ll(e,t,n),sl=i,null!==(al=r)&&(sl?(e=al,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):al.removeChild(n.stateNode));break;case 18:null!==al&&(sl?(e=al,n=n.stateNode,8===e.nodeType?ii(e.parentNode,n):1===e.nodeType&&ii(e,n),Qt(e)):ii(al,n.stateNode));break;case 4:r=al,i=sl,al=n.stateNode.containerInfo,sl=!0,ll(e,t,n),al=r,sl=i;break;case 0:case 11:case 14:case 15:if(!Hs&&(null!==(r=n.updateQueue)&&null!==(r=r.lastEffect))){i=r=r.next;do{var o=i,a=o.destroy;o=o.tag,void 0!==a&&(0!==(2&o)||0!==(4&o))&&Js(n,t,a),i=i.next}while(i!==r)}ll(e,t,n);break;case 1:if(!Hs&&(Ks(n,t),"function"===typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){bc(n,t,s)}ll(e,t,n);break;case 21:ll(e,t,n);break;case 22:1&n.mode?(Hs=(r=Hs)||null!==n.memoizedState,ll(e,t,n),Hs=r):ll(e,t,n);break;default:ll(e,t,n)}}function ul(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Ws),t.forEach((function(t){var r=Sc.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function dl(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var i=n[r];try{var a=e,s=t,l=s;e:for(;null!==l;){switch(l.tag){case 5:al=l.stateNode,sl=!1;break e;case 3:case 4:al=l.stateNode.containerInfo,sl=!0;break e}l=l.return}if(null===al)throw Error(o(160));cl(a,s,i),al=null,sl=!1;var c=i.alternate;null!==c&&(c.return=null),i.return=null}catch(u){bc(i,t,u)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)pl(t,e),t=t.sibling}function pl(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(dl(t,e),hl(e),4&r){try{Zs(3,e,e.return),$s(3,e)}catch(g){bc(e,e.return,g)}try{Zs(5,e,e.return)}catch(g){bc(e,e.return,g)}}break;case 1:dl(t,e),hl(e),512&r&&null!==n&&Ks(n,n.return);break;case 5:if(dl(t,e),hl(e),512&r&&null!==n&&Ks(n,n.return),32&e.flags){var i=e.stateNode;try{de(i,"")}catch(g){bc(e,e.return,g)}}if(4&r&&null!=(i=e.stateNode)){var a=e.memoizedProps,s=null!==n?n.memoizedProps:a,l=e.type,c=e.updateQueue;if(e.updateQueue=null,null!==c)try{"input"===l&&"radio"===a.type&&null!=a.name&&X(i,a),ye(l,s);var u=ye(l,a);for(s=0;s<c.length;s+=2){var d=c[s],p=c[s+1];"style"===d?me(i,p):"dangerouslySetInnerHTML"===d?ue(i,p):"children"===d?de(i,p):A(i,d,p,u)}switch(l){case"input":Z(i,a);break;case"textarea":oe(i,a);break;case"select":var h=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!a.multiple;var f=a.value;null!=f?ne(i,!!a.multiple,f,!1):h!==!!a.multiple&&(null!=a.defaultValue?ne(i,!!a.multiple,a.defaultValue,!0):ne(i,!!a.multiple,a.multiple?[]:"",!1))}i[ci]=a}catch(g){bc(e,e.return,g)}}break;case 6:if(dl(t,e),hl(e),4&r){if(null===e.stateNode)throw Error(o(162));i=e.stateNode,a=e.memoizedProps;try{i.nodeValue=a}catch(g){bc(e,e.return,g)}}break;case 3:if(dl(t,e),hl(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{Qt(t.containerInfo)}catch(g){bc(e,e.return,g)}break;case 4:default:dl(t,e),hl(e);break;case 13:dl(t,e),hl(e),8192&(i=e.child).flags&&(a=null!==i.memoizedState,i.stateNode.isHidden=a,!a||null!==i.alternate&&null!==i.alternate.memoizedState||(Rl=Je())),4&r&&ul(e);break;case 22:if(d=null!==n&&null!==n.memoizedState,1&e.mode?(Hs=(u=Hs)||d,dl(t,e),Hs=u):dl(t,e),hl(e),8192&r){if(u=null!==e.memoizedState,(e.stateNode.isHidden=u)&&!d&&0!==(1&e.mode))for(Ys=e,d=e.child;null!==d;){for(p=Ys=d;null!==Ys;){switch(f=(h=Ys).child,h.tag){case 0:case 11:case 14:case 15:Zs(4,h,h.return);break;case 1:Ks(h,h.return);var m=h.stateNode;if("function"===typeof m.componentWillUnmount){r=h,n=h.return;try{t=r,m.props=t.memoizedProps,m.state=t.memoizedState,m.componentWillUnmount()}catch(g){bc(r,n,g)}}break;case 5:Ks(h,h.return);break;case 22:if(null!==h.memoizedState){vl(p);continue}}null!==f?(f.return=h,Ys=f):vl(p)}d=d.sibling}e:for(d=null,p=e;;){if(5===p.tag){if(null===d){d=p;try{i=p.stateNode,u?"function"===typeof(a=i.style).setProperty?a.setProperty("display","none","important"):a.display="none":(l=p.stateNode,s=void 0!==(c=p.memoizedProps.style)&&null!==c&&c.hasOwnProperty("display")?c.display:null,l.style.display=fe("display",s))}catch(g){bc(e,e.return,g)}}}else if(6===p.tag){if(null===d)try{p.stateNode.nodeValue=u?"":p.memoizedProps}catch(g){bc(e,e.return,g)}}else if((22!==p.tag&&23!==p.tag||null===p.memoizedState||p===e)&&null!==p.child){p.child.return=p,p=p.child;continue}if(p===e)break e;for(;null===p.sibling;){if(null===p.return||p.return===e)break e;d===p&&(d=null),p=p.return}d===p&&(d=null),p.sibling.return=p.return,p=p.sibling}}break;case 19:dl(t,e),hl(e),4&r&&ul(e);case 21:}}function hl(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(nl(n)){var r=n;break e}n=n.return}throw Error(o(160))}switch(r.tag){case 5:var i=r.stateNode;32&r.flags&&(de(i,""),r.flags&=-33),ol(e,rl(e),i);break;case 3:case 4:var a=r.stateNode.containerInfo;il(e,rl(e),a);break;default:throw Error(o(161))}}catch(s){bc(e,e.return,s)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function fl(e,t,n){Ys=e,ml(e,t,n)}function ml(e,t,n){for(var r=0!==(1&e.mode);null!==Ys;){var i=Ys,o=i.child;if(22===i.tag&&r){var a=null!==i.memoizedState||qs;if(!a){var s=i.alternate,l=null!==s&&null!==s.memoizedState||Hs;s=qs;var c=Hs;if(qs=a,(Hs=l)&&!c)for(Ys=i;null!==Ys;)l=(a=Ys).child,22===a.tag&&null!==a.memoizedState?yl(i):null!==l?(l.return=a,Ys=l):yl(i);for(;null!==o;)Ys=o,ml(o,t,n),o=o.sibling;Ys=i,qs=s,Hs=c}gl(e)}else 0!==(8772&i.subtreeFlags)&&null!==o?(o.return=i,Ys=o):gl(e)}}function gl(e){for(;null!==Ys;){var t=Ys;if(0!==(8772&t.flags)){var n=t.alternate;try{if(0!==(8772&t.flags))switch(t.tag){case 0:case 11:case 15:Hs||$s(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!Hs)if(null===n)r.componentDidMount();else{var i=t.elementType===t.type?n.memoizedProps:Za(t.type,n.memoizedProps);r.componentDidUpdate(i,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var a=t.updateQueue;null!==a&&zo(t,a,r);break;case 3:var s=t.updateQueue;if(null!==s){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}zo(t,s,n)}break;case 5:var l=t.stateNode;if(null===n&&4&t.flags){n=l;var c=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":c.autoFocus&&n.focus();break;case"img":c.src&&(n.src=c.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var u=t.alternate;if(null!==u){var d=u.memoizedState;if(null!==d){var p=d.dehydrated;null!==p&&Qt(p)}}}break;default:throw Error(o(163))}Hs||512&t.flags&&el(t)}catch(h){bc(t,t.return,h)}}if(t===e){Ys=null;break}if(null!==(n=t.sibling)){n.return=t.return,Ys=n;break}Ys=t.return}}function vl(e){for(;null!==Ys;){var t=Ys;if(t===e){Ys=null;break}var n=t.sibling;if(null!==n){n.return=t.return,Ys=n;break}Ys=t.return}}function yl(e){for(;null!==Ys;){var t=Ys;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{$s(4,t)}catch(l){bc(t,n,l)}break;case 1:var r=t.stateNode;if("function"===typeof r.componentDidMount){var i=t.return;try{r.componentDidMount()}catch(l){bc(t,i,l)}}var o=t.return;try{el(t)}catch(l){bc(t,o,l)}break;case 5:var a=t.return;try{el(t)}catch(l){bc(t,a,l)}}}catch(l){bc(t,t.return,l)}if(t===e){Ys=null;break}var s=t.sibling;if(null!==s){s.return=t.return,Ys=s;break}Ys=t.return}}var Al,bl=Math.ceil,wl=b.ReactCurrentDispatcher,xl=b.ReactCurrentOwner,Cl=b.ReactCurrentBatchConfig,Sl=0,kl=null,El=null,Il=0,_l=0,Pl=bi(0),Ol=0,Tl=null,Dl=0,jl=0,Bl=0,Nl=null,Ml=null,Rl=0,Ll=1/0,Fl=null,zl=!1,Ql=null,Ul=null,Vl=!1,Gl=null,ql=0,Hl=0,Wl=null,Yl=-1,Kl=0;function Jl(){return 0!==(6&Sl)?Je():-1!==Yl?Yl:Yl=Je()}function Xl(e){return 0===(1&e.mode)?1:0!==(2&Sl)&&0!==Il?Il&-Il:null!==po.transition?(0===Kl&&(Kl=ft()),Kl):0!==(e=yt)?e:e=void 0===(e=window.event)?16:Kt(e.type)}function Zl(e,t,n,r){if(50<Hl)throw Hl=0,Wl=null,Error(o(185));gt(e,n,r),0!==(2&Sl)&&e===kl||(e===kl&&(0===(2&Sl)&&(jl|=n),4===Ol&&rc(e,Il)),$l(e,r),1===n&&0===Sl&&0===(1&t.mode)&&(Ll=Je()+500,Ni&&Li()))}function $l(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,o=e.pendingLanes;0<o;){var a=31-ot(o),s=1<<a,l=i[a];-1===l?0!==(s&n)&&0===(s&r)||(i[a]=pt(s,t)):l<=t&&(e.expiredLanes|=s),o&=~s}}(e,t);var r=dt(e,e===kl?Il:0);if(0===r)null!==n&&We(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&We(n),1===t)0===e.tag?function(e){Ni=!0,Ri(e)}(ic.bind(null,e)):Ri(ic.bind(null,e)),ni((function(){0===(6&Sl)&&Li()})),n=null;else{switch(At(r)){case 1:n=Ze;break;case 4:n=$e;break;case 16:default:n=et;break;case 536870912:n=nt}n=kc(n,ec.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function ec(e,t){if(Yl=-1,Kl=0,0!==(6&Sl))throw Error(o(327));var n=e.callbackNode;if(yc()&&e.callbackNode!==n)return null;var r=dt(e,e===kl?Il:0);if(0===r)return null;if(0!==(30&r)||0!==(r&e.expiredLanes)||t)t=pc(e,r);else{t=r;var i=Sl;Sl|=2;var a=uc();for(kl===e&&Il===t||(Fl=null,Ll=Je()+500,lc(e,t));;)try{fc();break}catch(l){cc(e,l)}Co(),wl.current=a,Sl=i,null!==El?t=0:(kl=null,Il=0,t=Ol)}if(0!==t){if(2===t&&(0!==(i=ht(e))&&(r=i,t=tc(e,i))),1===t)throw n=Tl,lc(e,0),rc(e,r),$l(e,Je()),n;if(6===t)rc(e,r);else{if(i=e.current.alternate,0===(30&r)&&!function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var i=n[r],o=i.getSnapshot;i=i.value;try{if(!rr(o(),i))return!1}catch(s){return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(i)&&(2===(t=pc(e,r))&&(0!==(a=ht(e))&&(r=a,t=tc(e,a))),1===t))throw n=Tl,lc(e,0),rc(e,r),$l(e,Je()),n;switch(e.finishedWork=i,e.finishedLanes=r,t){case 0:case 1:throw Error(o(345));case 2:case 5:vc(e,Ml,Fl);break;case 3:if(rc(e,r),(130023424&r)===r&&10<(t=Rl+500-Je())){if(0!==dt(e,0))break;if(((i=e.suspendedLanes)&r)!==r){Jl(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=$r(vc.bind(null,e,Ml,Fl),t);break}vc(e,Ml,Fl);break;case 4:if(rc(e,r),(4194240&r)===r)break;for(t=e.eventTimes,i=-1;0<r;){var s=31-ot(r);a=1<<s,(s=t[s])>i&&(i=s),r&=~a}if(r=i,10<(r=(120>(r=Je()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*bl(r/1960))-r)){e.timeoutHandle=$r(vc.bind(null,e,Ml,Fl),r);break}vc(e,Ml,Fl);break;default:throw Error(o(329))}}}return $l(e,Je()),e.callbackNode===n?ec.bind(null,e):null}function tc(e,t){var n=Nl;return e.current.memoizedState.isDehydrated&&(lc(e,t).flags|=256),2!==(e=pc(e,t))&&(t=Ml,Ml=n,null!==t&&nc(t)),e}function nc(e){null===Ml?Ml=e:Ml.push.apply(Ml,e)}function rc(e,t){for(t&=~Bl,t&=~jl,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-ot(t),r=1<<n;e[n]=-1,t&=~r}}function ic(e){if(0!==(6&Sl))throw Error(o(327));yc();var t=dt(e,0);if(0===(1&t))return $l(e,Je()),null;var n=pc(e,t);if(0!==e.tag&&2===n){var r=ht(e);0!==r&&(t=r,n=tc(e,r))}if(1===n)throw n=Tl,lc(e,0),rc(e,t),$l(e,Je()),n;if(6===n)throw Error(o(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,vc(e,Ml,Fl),$l(e,Je()),null}function oc(e,t){var n=Sl;Sl|=1;try{return e(t)}finally{0===(Sl=n)&&(Ll=Je()+500,Ni&&Li())}}function ac(e){null!==Gl&&0===Gl.tag&&0===(6&Sl)&&yc();var t=Sl;Sl|=1;var n=Cl.transition,r=yt;try{if(Cl.transition=null,yt=1,e)return e()}finally{yt=r,Cl.transition=n,0===(6&(Sl=t))&&Li()}}function sc(){_l=Pl.current,wi(Pl)}function lc(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,ei(n)),null!==El)for(n=El.return;null!==n;){var r=n;switch(Xi(r),r.tag){case 1:null!==(r=r.type.childContextTypes)&&void 0!==r&&Pi();break;case 3:Wo(),wi(ki),wi(Si),$o();break;case 5:Ko(r);break;case 4:Wo();break;case 13:case 19:wi(Jo);break;case 10:So(r.type._context);break;case 22:case 23:sc()}n=n.return}if(kl=e,El=e=Pc(e.current,null),Il=_l=t,Ol=0,Tl=null,Bl=jl=Dl=0,Ml=Nl=null,null!==_o){for(t=0;t<_o.length;t++)if(null!==(r=(n=_o[t]).interleaved)){n.interleaved=null;var i=r.next,o=n.pending;if(null!==o){var a=o.next;o.next=i,r.next=a}n.pending=r}_o=null}return e}function cc(e,t){for(;;){var n=El;try{if(Co(),ea.current=Ya,aa){for(var r=ra.memoizedState;null!==r;){var i=r.queue;null!==i&&(i.pending=null),r=r.next}aa=!1}if(na=0,oa=ia=ra=null,sa=!1,la=0,xl.current=null,null===n||null===n.return){Ol=1,Tl=t,El=null;break}e:{var a=e,s=n.return,l=n,c=t;if(t=Il,l.flags|=32768,null!==c&&"object"===typeof c&&"function"===typeof c.then){var u=c,d=l,p=d.tag;if(0===(1&d.mode)&&(0===p||11===p||15===p)){var h=d.alternate;h?(d.updateQueue=h.updateQueue,d.memoizedState=h.memoizedState,d.lanes=h.lanes):(d.updateQueue=null,d.memoizedState=null)}var f=ps(s);if(null!==f){f.flags&=-257,hs(f,s,l,0,t),1&f.mode&&ds(a,u,t),c=u;var m=(t=f).updateQueue;if(null===m){var g=new Set;g.add(c),t.updateQueue=g}else m.add(c);break e}if(0===(1&t)){ds(a,u,t),dc();break e}c=Error(o(426))}else if(eo&&1&l.mode){var v=ps(s);if(null!==v){0===(65536&v.flags)&&(v.flags|=256),hs(v,s,l,0,t),uo(os(c,l));break e}}a=c=os(c,l),4!==Ol&&(Ol=2),null===Nl?Nl=[a]:Nl.push(a),a=s;do{switch(a.tag){case 3:a.flags|=65536,t&=-t,a.lanes|=t,Lo(a,cs(0,c,t));break e;case 1:l=c;var y=a.type,A=a.stateNode;if(0===(128&a.flags)&&("function"===typeof y.getDerivedStateFromError||null!==A&&"function"===typeof A.componentDidCatch&&(null===Ul||!Ul.has(A)))){a.flags|=65536,t&=-t,a.lanes|=t,Lo(a,us(a,l,t));break e}}a=a.return}while(null!==a)}gc(n)}catch(b){t=b,El===n&&null!==n&&(El=n=n.return);continue}break}}function uc(){var e=wl.current;return wl.current=Ya,null===e?Ya:e}function dc(){0!==Ol&&3!==Ol&&2!==Ol||(Ol=4),null===kl||0===(268435455&Dl)&&0===(268435455&jl)||rc(kl,Il)}function pc(e,t){var n=Sl;Sl|=2;var r=uc();for(kl===e&&Il===t||(Fl=null,lc(e,t));;)try{hc();break}catch(i){cc(e,i)}if(Co(),Sl=n,wl.current=r,null!==El)throw Error(o(261));return kl=null,Il=0,Ol}function hc(){for(;null!==El;)mc(El)}function fc(){for(;null!==El&&!Ye();)mc(El)}function mc(e){var t=Al(e.alternate,e,_l);e.memoizedProps=e.pendingProps,null===t?gc(e):El=t,xl.current=null}function gc(e){var t=e;do{var n=t.alternate;if(e=t.return,0===(32768&t.flags)){if(null!==(n=Vs(n,t,_l)))return void(El=n)}else{if(null!==(n=Gs(n,t)))return n.flags&=32767,void(El=n);if(null===e)return Ol=6,void(El=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}if(null!==(t=t.sibling))return void(El=t);El=t=e}while(null!==t);0===Ol&&(Ol=5)}function vc(e,t,n){var r=yt,i=Cl.transition;try{Cl.transition=null,yt=1,function(e,t,n,r){do{yc()}while(null!==Gl);if(0!==(6&Sl))throw Error(o(327));n=e.finishedWork;var i=e.finishedLanes;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(o(177));e.callbackNode=null,e.callbackPriority=0;var a=n.lanes|n.childLanes;if(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var i=31-ot(n),o=1<<i;t[i]=0,r[i]=-1,e[i]=-1,n&=~o}}(e,a),e===kl&&(El=kl=null,Il=0),0===(2064&n.subtreeFlags)&&0===(2064&n.flags)||Vl||(Vl=!0,kc(et,(function(){return yc(),null}))),a=0!==(15990&n.flags),0!==(15990&n.subtreeFlags)||a){a=Cl.transition,Cl.transition=null;var s=yt;yt=1;var l=Sl;Sl|=4,xl.current=null,function(e,t){if(Jr=Vt,cr(e=lr())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var i=r.anchorOffset,a=r.focusNode;r=r.focusOffset;try{n.nodeType,a.nodeType}catch(w){n=null;break e}var s=0,l=-1,c=-1,u=0,d=0,p=e,h=null;t:for(;;){for(var f;p!==n||0!==i&&3!==p.nodeType||(l=s+i),p!==a||0!==r&&3!==p.nodeType||(c=s+r),3===p.nodeType&&(s+=p.nodeValue.length),null!==(f=p.firstChild);)h=p,p=f;for(;;){if(p===e)break t;if(h===n&&++u===i&&(l=s),h===a&&++d===r&&(c=s),null!==(f=p.nextSibling))break;h=(p=h).parentNode}p=f}n=-1===l||-1===c?null:{start:l,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(Xr={focusedElem:e,selectionRange:n},Vt=!1,Ys=t;null!==Ys;)if(e=(t=Ys).child,0!==(1028&t.subtreeFlags)&&null!==e)e.return=t,Ys=e;else for(;null!==Ys;){t=Ys;try{var m=t.alternate;if(0!==(1024&t.flags))switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==m){var g=m.memoizedProps,v=m.memoizedState,y=t.stateNode,A=y.getSnapshotBeforeUpdate(t.elementType===t.type?g:Za(t.type,g),v);y.__reactInternalSnapshotBeforeUpdate=A}break;case 3:var b=t.stateNode.containerInfo;1===b.nodeType?b.textContent="":9===b.nodeType&&b.documentElement&&b.removeChild(b.documentElement);break;default:throw Error(o(163))}}catch(w){bc(t,t.return,w)}if(null!==(e=t.sibling)){e.return=t.return,Ys=e;break}Ys=t.return}m=Xs,Xs=!1}(e,n),pl(n,e),ur(Xr),Vt=!!Jr,Xr=Jr=null,e.current=n,fl(n,e,i),Ke(),Sl=l,yt=s,Cl.transition=a}else e.current=n;if(Vl&&(Vl=!1,Gl=e,ql=i),a=e.pendingLanes,0===a&&(Ul=null),function(e){if(it&&"function"===typeof it.onCommitFiberRoot)try{it.onCommitFiberRoot(rt,e,void 0,128===(128&e.current.flags))}catch(t){}}(n.stateNode),$l(e,Je()),null!==t)for(r=e.onRecoverableError,n=0;n<t.length;n++)i=t[n],r(i.value,{componentStack:i.stack,digest:i.digest});if(zl)throw zl=!1,e=Ql,Ql=null,e;0!==(1&ql)&&0!==e.tag&&yc(),a=e.pendingLanes,0!==(1&a)?e===Wl?Hl++:(Hl=0,Wl=e):Hl=0,Li()}(e,t,n,r)}finally{Cl.transition=i,yt=r}return null}function yc(){if(null!==Gl){var e=At(ql),t=Cl.transition,n=yt;try{if(Cl.transition=null,yt=16>e?16:e,null===Gl)var r=!1;else{if(e=Gl,Gl=null,ql=0,0!==(6&Sl))throw Error(o(331));var i=Sl;for(Sl|=4,Ys=e.current;null!==Ys;){var a=Ys,s=a.child;if(0!==(16&Ys.flags)){var l=a.deletions;if(null!==l){for(var c=0;c<l.length;c++){var u=l[c];for(Ys=u;null!==Ys;){var d=Ys;switch(d.tag){case 0:case 11:case 15:Zs(8,d,a)}var p=d.child;if(null!==p)p.return=d,Ys=p;else for(;null!==Ys;){var h=(d=Ys).sibling,f=d.return;if(tl(d),d===u){Ys=null;break}if(null!==h){h.return=f,Ys=h;break}Ys=f}}}var m=a.alternate;if(null!==m){var g=m.child;if(null!==g){m.child=null;do{var v=g.sibling;g.sibling=null,g=v}while(null!==g)}}Ys=a}}if(0!==(2064&a.subtreeFlags)&&null!==s)s.return=a,Ys=s;else e:for(;null!==Ys;){if(0!==(2048&(a=Ys).flags))switch(a.tag){case 0:case 11:case 15:Zs(9,a,a.return)}var y=a.sibling;if(null!==y){y.return=a.return,Ys=y;break e}Ys=a.return}}var A=e.current;for(Ys=A;null!==Ys;){var b=(s=Ys).child;if(0!==(2064&s.subtreeFlags)&&null!==b)b.return=s,Ys=b;else e:for(s=A;null!==Ys;){if(0!==(2048&(l=Ys).flags))try{switch(l.tag){case 0:case 11:case 15:$s(9,l)}}catch(x){bc(l,l.return,x)}if(l===s){Ys=null;break e}var w=l.sibling;if(null!==w){w.return=l.return,Ys=w;break e}Ys=l.return}}if(Sl=i,Li(),it&&"function"===typeof it.onPostCommitFiberRoot)try{it.onPostCommitFiberRoot(rt,e)}catch(x){}r=!0}return r}finally{yt=n,Cl.transition=t}}return!1}function Ac(e,t,n){e=Mo(e,t=cs(0,t=os(n,t),1),1),t=Jl(),null!==e&&(gt(e,1,t),$l(e,t))}function bc(e,t,n){if(3===e.tag)Ac(e,e,n);else for(;null!==t;){if(3===t.tag){Ac(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"===typeof t.type.getDerivedStateFromError||"function"===typeof r.componentDidCatch&&(null===Ul||!Ul.has(r))){t=Mo(t,e=us(t,e=os(n,e),1),1),e=Jl(),null!==t&&(gt(t,1,e),$l(t,e));break}}t=t.return}}function wc(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=Jl(),e.pingedLanes|=e.suspendedLanes&n,kl===e&&(Il&n)===n&&(4===Ol||3===Ol&&(130023424&Il)===Il&&500>Je()-Rl?lc(e,0):Bl|=n),$l(e,t)}function xc(e,t){0===t&&(0===(1&e.mode)?t=1:(t=ct,0===(130023424&(ct<<=1))&&(ct=4194304)));var n=Jl();null!==(e=To(e,t))&&(gt(e,t,n),$l(e,n))}function Cc(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),xc(e,n)}function Sc(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;null!==i&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(o(314))}null!==r&&r.delete(t),xc(e,n)}function kc(e,t){return He(e,t)}function Ec(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ic(e,t,n,r){return new Ec(e,t,n,r)}function _c(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Pc(e,t){var n=e.alternate;return null===n?((n=Ic(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Oc(e,t,n,r,i,a){var s=2;if(r=e,"function"===typeof e)_c(e)&&(s=1);else if("string"===typeof e)s=5;else e:switch(e){case C:return Tc(n.children,i,a,t);case S:s=8,i|=8;break;case k:return(e=Ic(12,n,t,2|i)).elementType=k,e.lanes=a,e;case P:return(e=Ic(13,n,t,i)).elementType=P,e.lanes=a,e;case O:return(e=Ic(19,n,t,i)).elementType=O,e.lanes=a,e;case j:return Dc(n,i,a,t);default:if("object"===typeof e&&null!==e)switch(e.$$typeof){case E:s=10;break e;case I:s=9;break e;case _:s=11;break e;case T:s=14;break e;case D:s=16,r=null;break e}throw Error(o(130,null==e?e:typeof e,""))}return(t=Ic(s,n,t,i)).elementType=e,t.type=r,t.lanes=a,t}function Tc(e,t,n,r){return(e=Ic(7,e,r,t)).lanes=n,e}function Dc(e,t,n,r){return(e=Ic(22,e,r,t)).elementType=j,e.lanes=n,e.stateNode={isHidden:!1},e}function jc(e,t,n){return(e=Ic(6,e,null,t)).lanes=n,e}function Bc(e,t,n){return(t=Ic(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Nc(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=mt(0),this.expirationTimes=mt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=mt(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Mc(e,t,n,r,i,o,a,s,l){return e=new Nc(e,t,n,s,l),1===t?(t=1,!0===o&&(t|=8)):t=0,o=Ic(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},jo(o),e}function Rc(e){if(!e)return Ci;e:{if(Qe(e=e._reactInternals)!==e||1!==e.tag)throw Error(o(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(_i(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(o(171))}if(1===e.tag){var n=e.type;if(_i(n))return Ti(e,n,t)}return t}function Lc(e,t,n,r,i,o,a,s,l){return(e=Mc(n,r,!0,e,0,o,0,s,l)).context=Rc(null),n=e.current,(o=No(r=Jl(),i=Xl(n))).callback=void 0!==t&&null!==t?t:null,Mo(n,o,i),e.current.lanes=i,gt(e,i,r),$l(e,r),e}function Fc(e,t,n,r){var i=t.current,o=Jl(),a=Xl(i);return n=Rc(n),null===t.context?t.context=n:t.pendingContext=n,(t=No(o,a)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=Mo(i,t,a))&&(Zl(e,i,a,o),Ro(e,i,a)),a}function zc(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Qc(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Uc(e,t){Qc(e,t),(e=e.alternate)&&Qc(e,t)}Al=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||ki.current)ms=!0;else{if(0===(e.lanes&n)&&0===(128&t.flags))return ms=!1,function(e,t,n){switch(t.tag){case 3:ks(t),co();break;case 5:Yo(t);break;case 1:_i(t.type)&&Di(t);break;case 4:Ho(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;xi(Ao,r._currentValue),r._currentValue=i;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(xi(Jo,1&Jo.current),t.flags|=128,null):0!==(n&t.child.childLanes)?js(e,t,n):(xi(Jo,1&Jo.current),null!==(e=zs(e,t,n))?e.sibling:null);xi(Jo,1&Jo.current);break;case 19:if(r=0!==(n&t.childLanes),0!==(128&e.flags)){if(r)return Ls(e,t,n);t.flags|=128}if(null!==(i=t.memoizedState)&&(i.rendering=null,i.tail=null,i.lastEffect=null),xi(Jo,Jo.current),r)break;return null;case 22:case 23:return t.lanes=0,bs(e,t,n)}return zs(e,t,n)}(e,t,n);ms=0!==(131072&e.flags)}else ms=!1,eo&&0!==(1048576&t.flags)&&Ki(t,Ui,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Fs(e,t),e=t.pendingProps;var i=Ii(t,Si.current);Eo(t,n),i=pa(null,t,r,e,i,n);var a=ha();return t.flags|=1,"object"===typeof i&&null!==i&&"function"===typeof i.render&&void 0===i.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,_i(r)?(a=!0,Di(t)):a=!1,t.memoizedState=null!==i.state&&void 0!==i.state?i.state:null,jo(t),i.updater=es,t.stateNode=i,i._reactInternals=t,is(t,r,e,n),t=Ss(null,t,r,!0,a,n)):(t.tag=0,eo&&a&&Ji(t),gs(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Fs(e,t),e=t.pendingProps,r=(i=r._init)(r._payload),t.type=r,i=t.tag=function(e){if("function"===typeof e)return _c(e)?1:0;if(void 0!==e&&null!==e){if((e=e.$$typeof)===_)return 11;if(e===T)return 14}return 2}(r),e=Za(r,e),i){case 0:t=xs(null,t,r,e,n);break e;case 1:t=Cs(null,t,r,e,n);break e;case 11:t=vs(null,t,r,e,n);break e;case 14:t=ys(null,t,r,Za(r.type,e),n);break e}throw Error(o(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,xs(e,t,r,i=t.elementType===r?i:Za(r,i),n);case 1:return r=t.type,i=t.pendingProps,Cs(e,t,r,i=t.elementType===r?i:Za(r,i),n);case 3:e:{if(ks(t),null===e)throw Error(o(387));r=t.pendingProps,i=(a=t.memoizedState).element,Bo(e,t),Fo(t,r,null,n);var s=t.memoizedState;if(r=s.element,a.isDehydrated){if(a={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=a,t.memoizedState=a,256&t.flags){t=Es(e,t,r,n,i=os(Error(o(423)),t));break e}if(r!==i){t=Es(e,t,r,n,i=os(Error(o(424)),t));break e}for($i=oi(t.stateNode.containerInfo.firstChild),Zi=t,eo=!0,to=null,n=yo(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(co(),r===i){t=zs(e,t,n);break e}gs(e,t,r,n)}t=t.child}return t;case 5:return Yo(t),null===e&&oo(t),r=t.type,i=t.pendingProps,a=null!==e?e.memoizedProps:null,s=i.children,Zr(r,i)?s=null:null!==a&&Zr(r,a)&&(t.flags|=32),ws(e,t),gs(e,t,s,n),t.child;case 6:return null===e&&oo(t),null;case 13:return js(e,t,n);case 4:return Ho(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=vo(t,null,r,n):gs(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,vs(e,t,r,i=t.elementType===r?i:Za(r,i),n);case 7:return gs(e,t,t.pendingProps,n),t.child;case 8:case 12:return gs(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,a=t.memoizedProps,s=i.value,xi(Ao,r._currentValue),r._currentValue=s,null!==a)if(rr(a.value,s)){if(a.children===i.children&&!ki.current){t=zs(e,t,n);break e}}else for(null!==(a=t.child)&&(a.return=t);null!==a;){var l=a.dependencies;if(null!==l){s=a.child;for(var c=l.firstContext;null!==c;){if(c.context===r){if(1===a.tag){(c=No(-1,n&-n)).tag=2;var u=a.updateQueue;if(null!==u){var d=(u=u.shared).pending;null===d?c.next=c:(c.next=d.next,d.next=c),u.pending=c}}a.lanes|=n,null!==(c=a.alternate)&&(c.lanes|=n),ko(a.return,n,t),l.lanes|=n;break}c=c.next}}else if(10===a.tag)s=a.type===t.type?null:a.child;else if(18===a.tag){if(null===(s=a.return))throw Error(o(341));s.lanes|=n,null!==(l=s.alternate)&&(l.lanes|=n),ko(s,n,t),s=a.sibling}else s=a.child;if(null!==s)s.return=a;else for(s=a;null!==s;){if(s===t){s=null;break}if(null!==(a=s.sibling)){a.return=s.return,s=a;break}s=s.return}a=s}gs(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,Eo(t,n),r=r(i=Io(i)),t.flags|=1,gs(e,t,r,n),t.child;case 14:return i=Za(r=t.type,t.pendingProps),ys(e,t,r,i=Za(r.type,i),n);case 15:return As(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Za(r,i),Fs(e,t),t.tag=1,_i(r)?(e=!0,Di(t)):e=!1,Eo(t,n),ns(t,r,i),is(t,r,i,n),Ss(null,t,r,!0,e,n);case 19:return Ls(e,t,n);case 22:return bs(e,t,n)}throw Error(o(156,t.tag))};var Vc="function"===typeof reportError?reportError:function(e){console.error(e)};function Gc(e){this._internalRoot=e}function qc(e){this._internalRoot=e}function Hc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Wc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Yc(){}function Kc(e,t,n,r,i){var o=n._reactRootContainer;if(o){var a=o;if("function"===typeof i){var s=i;i=function(){var e=zc(a);s.call(e)}}Fc(t,a,e,i)}else a=function(e,t,n,r,i){if(i){if("function"===typeof r){var o=r;r=function(){var e=zc(a);o.call(e)}}var a=Lc(t,r,e,0,null,!1,0,"",Yc);return e._reactRootContainer=a,e[ui]=a.current,Lr(8===e.nodeType?e.parentNode:e),ac(),a}for(;i=e.lastChild;)e.removeChild(i);if("function"===typeof r){var s=r;r=function(){var e=zc(l);s.call(e)}}var l=Mc(e,0,!1,null,0,!1,0,"",Yc);return e._reactRootContainer=l,e[ui]=l.current,Lr(8===e.nodeType?e.parentNode:e),ac((function(){Fc(t,l,n,r)})),l}(n,t,e,i,r);return zc(a)}qc.prototype.render=Gc.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(o(409));Fc(e,t,null,null)},qc.prototype.unmount=Gc.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;ac((function(){Fc(null,e,null,null)})),t[ui]=null}},qc.prototype.unstable_scheduleHydration=function(e){if(e){var t=Ct();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Dt.length&&0!==t&&t<Dt[n].priority;n++);Dt.splice(n,0,e),0===n&&Mt(e)}},bt=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=ut(t.pendingLanes);0!==n&&(vt(t,1|n),$l(t,Je()),0===(6&Sl)&&(Ll=Je()+500,Li()))}break;case 13:ac((function(){var t=To(e,1);if(null!==t){var n=Jl();Zl(t,e,1,n)}})),Uc(e,1)}},wt=function(e){if(13===e.tag){var t=To(e,134217728);if(null!==t)Zl(t,e,134217728,Jl());Uc(e,134217728)}},xt=function(e){if(13===e.tag){var t=Xl(e),n=To(e,t);if(null!==n)Zl(n,e,t,Jl());Uc(e,t)}},Ct=function(){return yt},St=function(e,t){var n=yt;try{return yt=e,t()}finally{yt=n}},we=function(e,t,n){switch(t){case"input":if(Z(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=vi(r);if(!i)throw Error(o(90));W(r),Z(r,i)}}}break;case"textarea":oe(e,n);break;case"select":null!=(t=n.value)&&ne(e,!!n.multiple,t,!1)}},Ie=oc,_e=ac;var Jc={usingClientEntryPoint:!1,Events:[mi,gi,vi,ke,Ee,oc]},Xc={findFiberByHostInstance:fi,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},Zc={bundleType:Xc.bundleType,version:Xc.version,rendererPackageName:Xc.rendererPackageName,rendererConfig:Xc.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:b.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=Ge(e))?null:e.stateNode},findFiberByHostInstance:Xc.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var $c=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!$c.isDisabled&&$c.supportsFiber)try{rt=$c.inject(Zc),it=$c}catch(eu){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Jc,t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Hc(t))throw Error(o(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:x,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},t.createRoot=function(e,t){if(!Hc(e))throw Error(o(299));var n=!1,r="",i=Vc;return null!==t&&void 0!==t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(i=t.onRecoverableError)),t=Mc(e,1,!1,null,0,n,0,r,i),e[ui]=t.current,Lr(8===e.nodeType?e.parentNode:e),new Gc(t)},t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"===typeof e.render)throw Error(o(188));throw e=Object.keys(e).join(","),Error(o(268,e))}return e=null===(e=Ge(t))?null:e.stateNode},t.flushSync=function(e){return ac(e)},t.hydrate=function(e,t,n){if(!Wc(t))throw Error(o(200));return Kc(null,e,t,!0,n)},t.hydrateRoot=function(e,t,n){if(!Hc(e))throw Error(o(405));var r=null!=n&&n.hydratedSources||null,i=!1,a="",s=Vc;if(null!==n&&void 0!==n&&(!0===n.unstable_strictMode&&(i=!0),void 0!==n.identifierPrefix&&(a=n.identifierPrefix),void 0!==n.onRecoverableError&&(s=n.onRecoverableError)),t=Lc(t,null,e,1,null!=n?n:null,i,0,a,s),e[ui]=t.current,Lr(e),r)for(e=0;e<r.length;e++)i=(i=(n=r[e])._getVersion)(n._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[n,i]:t.mutableSourceEagerHydrationData.push(n,i);return new qc(t)},t.render=function(e,t,n){if(!Wc(t))throw Error(o(200));return Kc(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!Wc(e))throw Error(o(40));return!!e._reactRootContainer&&(ac((function(){Kc(null,null,e,!1,(function(){e._reactRootContainer=null,e[ui]=null}))})),!0)},t.unstable_batchedUpdates=oc,t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Wc(n))throw Error(o(200));if(null==e||void 0===e._reactInternals)throw Error(o(38));return Kc(e,t,n,!1,r)},t.version="18.3.1-next-f1338f8080-20240426"},1352:(e,t,n)=>{"use strict";var r=n(17119);t.H=r.createRoot,r.hydrateRoot},17119:(e,t,n)=>{"use strict";!function e(){if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}(),e.exports=n(38345)},72969:(e,t)=>{"use strict";function n(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,i=e[r];if(!(0<o(i,t)))break e;e[r]=t,e[n]=i,n=r}}function r(e){return 0===e.length?null:e[0]}function i(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,i=e.length,a=i>>>1;r<a;){var s=2*(r+1)-1,l=e[s],c=s+1,u=e[c];if(0>o(l,n))c<i&&0>o(u,l)?(e[r]=u,e[c]=n,r=c):(e[r]=l,e[s]=n,r=s);else{if(!(c<i&&0>o(u,n)))break e;e[r]=u,e[c]=n,r=c}}}return t}function o(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"===typeof performance&&"function"===typeof performance.now){var a=performance;t.unstable_now=function(){return a.now()}}else{var s=Date,l=s.now();t.unstable_now=function(){return s.now()-l}}var c=[],u=[],d=1,p=null,h=3,f=!1,m=!1,g=!1,v="function"===typeof setTimeout?setTimeout:null,y="function"===typeof clearTimeout?clearTimeout:null,A="undefined"!==typeof setImmediate?setImmediate:null;function b(e){for(var t=r(u);null!==t;){if(null===t.callback)i(u);else{if(!(t.startTime<=e))break;i(u),t.sortIndex=t.expirationTime,n(c,t)}t=r(u)}}function w(e){if(g=!1,b(e),!m)if(null!==r(c))m=!0,j(x);else{var t=r(u);null!==t&&B(w,t.startTime-e)}}function x(e,n){m=!1,g&&(g=!1,y(E),E=-1),f=!0;var o=h;try{for(b(n),p=r(c);null!==p&&(!(p.expirationTime>n)||e&&!P());){var a=p.callback;if("function"===typeof a){p.callback=null,h=p.priorityLevel;var s=a(p.expirationTime<=n);n=t.unstable_now(),"function"===typeof s?p.callback=s:p===r(c)&&i(c),b(n)}else i(c);p=r(c)}if(null!==p)var l=!0;else{var d=r(u);null!==d&&B(w,d.startTime-n),l=!1}return l}finally{p=null,h=o,f=!1}}"undefined"!==typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var C,S=!1,k=null,E=-1,I=5,_=-1;function P(){return!(t.unstable_now()-_<I)}function O(){if(null!==k){var e=t.unstable_now();_=e;var n=!0;try{n=k(!0,e)}finally{n?C():(S=!1,k=null)}}else S=!1}if("function"===typeof A)C=function(){A(O)};else if("undefined"!==typeof MessageChannel){var T=new MessageChannel,D=T.port2;T.port1.onmessage=O,C=function(){D.postMessage(null)}}else C=function(){v(O,0)};function j(e){k=e,S||(S=!0,C())}function B(e,n){E=v((function(){e(t.unstable_now())}),n)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){m||f||(m=!0,j(x))},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):I=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return h},t.unstable_getFirstCallbackNode=function(){return r(c)},t.unstable_next=function(e){switch(h){case 1:case 2:case 3:var t=3;break;default:t=h}var n=h;h=t;try{return e()}finally{h=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=h;h=e;try{return t()}finally{h=n}},t.unstable_scheduleCallback=function(e,i,o){var a=t.unstable_now();switch("object"===typeof o&&null!==o?o="number"===typeof(o=o.delay)&&0<o?a+o:a:o=a,e){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return e={id:d++,callback:i,priorityLevel:e,startTime:o,expirationTime:s=o+s,sortIndex:-1},o>a?(e.sortIndex=o,n(u,e),null===r(c)&&e===r(u)&&(g?(y(E),E=-1):g=!0,B(w,o-a))):(e.sortIndex=s,n(c,e),m||f||(m=!0,j(x))),e},t.unstable_shouldYield=P,t.unstable_wrapCallback=function(e){var t=h;return function(){var n=h;h=t;try{return e.apply(this,arguments)}finally{h=n}}}},13204:(e,t,n)=>{"use strict";e.exports=n(72969)},24901:e=>{var t="undefined"!==typeof Element,n="function"===typeof Map,r="function"===typeof Set,i="function"===typeof ArrayBuffer&&!!ArrayBuffer.isView;function o(e,a){if(e===a)return!0;if(e&&a&&"object"==typeof e&&"object"==typeof a){if(e.constructor!==a.constructor)return!1;var s,l,c,u;if(Array.isArray(e)){if((s=e.length)!=a.length)return!1;for(l=s;0!==l--;)if(!o(e[l],a[l]))return!1;return!0}if(n&&e instanceof Map&&a instanceof Map){if(e.size!==a.size)return!1;for(u=e.entries();!(l=u.next()).done;)if(!a.has(l.value[0]))return!1;for(u=e.entries();!(l=u.next()).done;)if(!o(l.value[1],a.get(l.value[0])))return!1;return!0}if(r&&e instanceof Set&&a instanceof Set){if(e.size!==a.size)return!1;for(u=e.entries();!(l=u.next()).done;)if(!a.has(l.value[0]))return!1;return!0}if(i&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(a)){if((s=e.length)!=a.length)return!1;for(l=s;0!==l--;)if(e[l]!==a[l])return!1;return!0}if(e.constructor===RegExp)return e.source===a.source&&e.flags===a.flags;if(e.valueOf!==Object.prototype.valueOf&&"function"===typeof e.valueOf&&"function"===typeof a.valueOf)return e.valueOf()===a.valueOf();if(e.toString!==Object.prototype.toString&&"function"===typeof e.toString&&"function"===typeof a.toString)return e.toString()===a.toString();if((s=(c=Object.keys(e)).length)!==Object.keys(a).length)return!1;for(l=s;0!==l--;)if(!Object.prototype.hasOwnProperty.call(a,c[l]))return!1;if(t&&e instanceof Element)return!1;for(l=s;0!==l--;)if(("_owner"!==c[l]&&"__v"!==c[l]&&"__o"!==c[l]||!e.$$typeof)&&!o(e[c[l]],a[c[l]]))return!1;return!0}return e!==e&&a!==a}e.exports=function(e,t){try{return o(e,t)}catch(n){if((n.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw n}}},94469:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>ci,IU:()=>di,ez:()=>pi,rg:()=>ui,y8:()=>hi});var r=n(9950),i=n(17119),o=function(){return o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},o.apply(this,arguments)};function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a.apply(this,arguments)}function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function l(e){var t=function(e){if("object"!==s(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!==s(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===s(t)?t:String(t)}function c(e,t,n){return(t=l(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function p(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,l(r.key),r)}}function h(e,t){return h=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},h(e,t)}function f(e){return f=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},f(e)}function m(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=f(e);if(t){var i=f(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===s(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n)}}function g(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function v(e,t){if(e){if("string"==typeof e)return g(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?g(e,t):void 0}}function y(e){return function(e){if(Array.isArray(e))return g(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||v(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var A=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(t){}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}(),b="-ms-",w="-moz-",x="-webkit-",C="decl",S="@keyframes",k=Math.abs,E=String.fromCharCode,I=Object.assign;function _(e){return e.trim()}function P(e,t,n){return e.replace(t,n)}function O(e,t){return e.indexOf(t)}function T(e,t){return 0|e.charCodeAt(t)}function D(e,t,n){return e.slice(t,n)}function j(e){return e.length}function B(e){return e.length}function N(e,t){return t.push(e),e}var M=1,R=1,L=0,F=0,z=0,Q="";function U(e,t,n,r,i,o,a){return{value:e,root:t,parent:n,type:r,props:i,children:o,line:M,column:R,length:a,return:""}}function V(e,t){return I(U("",null,null,"",null,null,0),e,{length:-e.length},t)}function G(){return z=F<L?T(Q,F++):0,R++,10===z&&(R=1,M++),z}function q(){return T(Q,F)}function H(){return F}function W(e,t){return D(Q,e,t)}function Y(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function K(e){return M=R=1,L=j(Q=e),F=0,[]}function J(e){return Q="",e}function X(e){return _(W(F-1,ee(91===e?e+2:40===e?e+1:e)))}function Z(e){for(;(z=q())&&z<33;)G();return Y(e)>2||Y(z)>3?"":" "}function $(e,t){for(;--t&&G()&&!(z<48||z>102||z>57&&z<65||z>70&&z<97););return W(e,H()+(t<6&&32==q()&&32==G()))}function ee(e){for(;G();)switch(z){case e:return F;case 34:case 39:34!==e&&39!==e&&ee(z);break;case 40:41===e&&ee(e);break;case 92:G()}return F}function te(e,t){for(;G()&&e+z!==57&&(e+z!==84||47!==q()););return"/*"+W(t,F-1)+"*"+E(47===e?e:G())}function ne(e){for(;!Y(q());)G();return W(e,F)}function re(e){return J(ie("",null,null,null,[""],e=K(e),0,[0],e))}function ie(e,t,n,r,i,o,a,s,l){for(var c=0,u=0,d=a,p=0,h=0,f=0,m=1,g=1,v=1,y=0,A="",b=i,w=o,x=r,C=A;g;)switch(f=y,y=G()){case 40:if(108!=f&&58==T(C,d-1)){-1!=O(C+=P(X(y),"&","&\f"),"&\f")&&(v=-1);break}case 34:case 39:case 91:C+=X(y);break;case 9:case 10:case 13:case 32:C+=Z(f);break;case 92:C+=$(H()-1,7);continue;case 47:switch(q()){case 42:case 47:N(ae(te(G(),H()),t,n),l);break;default:C+="/"}break;case 123*m:s[c++]=j(C)*v;case 125*m:case 59:case 0:switch(y){case 0:case 125:g=0;case 59+u:h>0&&j(C)-d&&N(h>32?se(C+";",r,n,d-1):se(P(C," ","")+";",r,n,d-2),l);break;case 59:C+=";";default:if(N(x=oe(C,t,n,c,u,i,s,A,b=[],w=[],d),o),123===y)if(0===u)ie(C,t,x,x,b,o,d,s,w);else switch(99===p&&110===T(C,3)?100:p){case 100:case 109:case 115:ie(e,x,x,r&&N(oe(e,x,x,0,0,i,s,A,i,b=[],d),w),i,w,d,s,r?b:w);break;default:ie(C,x,x,x,[""],w,0,s,w)}}c=u=h=0,m=v=1,A=C="",d=a;break;case 58:d=1+j(C),h=f;default:if(m<1)if(123==y)--m;else if(125==y&&0==m++&&125==(z=F>0?T(Q,--F):0,R--,10===z&&(R=1,M--),z))continue;switch(C+=E(y),y*m){case 38:v=u>0?1:(C+="\f",-1);break;case 44:s[c++]=(j(C)-1)*v,v=1;break;case 64:45===q()&&(C+=X(G())),p=q(),u=d=j(A=C+=ne(H())),y++;break;case 45:45===f&&2==j(C)&&(m=0)}}return o}function oe(e,t,n,r,i,o,a,s,l,c,u){for(var d=i-1,p=0===i?o:[""],h=B(p),f=0,m=0,g=0;f<r;++f)for(var v=0,y=D(e,d+1,d=k(m=a[f])),A=e;v<h;++v)(A=_(m>0?p[v]+" "+y:P(y,/&\f/g,p[v])))&&(l[g++]=A);return U(e,t,n,0===i?"rule":s,l,c,u)}function ae(e,t,n){return U(e,t,n,"comm",E(z),D(e,2,-2),0)}function se(e,t,n,r){return U(e,t,n,C,D(e,0,r),D(e,r+1,-1),r)}function le(e,t){for(var n="",r=B(e),i=0;i<r;i++)n+=t(e[i],i,e,t)||"";return n}function ce(e,t,n,r){switch(e.type){case"@import":case C:return e.return=e.return||e.value;case"comm":return"";case S:return e.return=e.value+"{"+le(e.children,r)+"}";case"rule":e.value=e.props.join(",")}return j(n=le(e.children,r))?e.return=e.value+"{"+n+"}":""}function ue(e){var t=B(e);return function(n,r,i,o){for(var a="",s=0;s<t;s++)a+=e[s](n,r,i,o)||"";return a}}function de(e){return function(t){t.root||(t=t.return)&&e(t)}}function pe(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var he=function(e,t,n){for(var r=0,i=0;r=i,i=q(),38===r&&12===i&&(t[n]=1),!Y(i);)G();return W(e,F)},fe=new WeakMap,me=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||fe.get(n))&&!r){fe.set(e,!0);for(var i=[],o=function(e,t){return J(function(e,t){var n=-1,r=44;do{switch(Y(r)){case 0:38===r&&12===q()&&(t[n]=1),e[n]+=he(F-1,t,n);break;case 2:e[n]+=X(r);break;case 4:if(44===r){e[++n]=58===q()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=E(r)}}while(r=G());return e}(K(e),t))}(t,i),a=n.props,s=0,l=0;s<o.length;s++)for(var c=0;c<a.length;c++,l++)e.props[l]=i[s]?o[s].replace(/&\f/g,a[c]):a[c]+" "+o[s]}}},ge=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function ve(e,t){switch(function(e,t){return 45^T(e,0)?(((t<<2^T(e,0))<<2^T(e,1))<<2^T(e,2))<<2^T(e,3):0}(e,t)){case 5103:return x+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return x+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return x+e+w+e+b+e+e;case 6828:case 4268:return x+e+b+e+e;case 6165:return x+e+b+"flex-"+e+e;case 5187:return x+e+P(e,/(\w+).+(:[^]+)/,x+"box-$1$2-ms-flex-$1$2")+e;case 5443:return x+e+b+"flex-item-"+P(e,/flex-|-self/,"")+e;case 4675:return x+e+b+"flex-line-pack"+P(e,/align-content|flex-|-self/,"")+e;case 5548:return x+e+b+P(e,"shrink","negative")+e;case 5292:return x+e+b+P(e,"basis","preferred-size")+e;case 6060:return x+"box-"+P(e,"-grow","")+x+e+b+P(e,"grow","positive")+e;case 4554:return x+P(e,/([^-])(transform)/g,"$1"+x+"$2")+e;case 6187:return P(P(P(e,/(zoom-|grab)/,x+"$1"),/(image-set)/,x+"$1"),e,"")+e;case 5495:case 3959:return P(e,/(image-set\([^]*)/,x+"$1$`$1");case 4968:return P(P(e,/(.+:)(flex-)?(.*)/,x+"box-pack:$3-ms-flex-pack:$3"),/s.+-b[^;]+/,"justify")+x+e+e;case 4095:case 3583:case 4068:case 2532:return P(e,/(.+)-inline(.+)/,x+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(j(e)-1-t>6)switch(T(e,t+1)){case 109:if(45!==T(e,t+4))break;case 102:return P(e,/(.+:)(.+)-([^]+)/,"$1"+x+"$2-$3$1"+w+(108==T(e,t+3)?"$3":"$2-$3"))+e;case 115:return~O(e,"stretch")?ve(P(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==T(e,t+1))break;case 6444:switch(T(e,j(e)-3-(~O(e,"!important")&&10))){case 107:return P(e,":",":"+x)+e;case 101:return P(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+x+(45===T(e,14)?"inline-":"")+"box$3$1"+x+"$2$3$1-ms-$2box$3")+e}break;case 5936:switch(T(e,t+11)){case 114:return x+e+b+P(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return x+e+b+P(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return x+e+b+P(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return x+e+b+e+e}return e}var ye,Ae,be="undefined"!=typeof document,we=be?void 0:(ye=function(){return pe((function(){var e={};return function(t){return e[t]}}))},Ae=new WeakMap,function(e){if(Ae.has(e))return Ae.get(e);var t=ye();return Ae.set(e,t),t}),xe=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case C:e.return=ve(e.value,e.length);break;case S:return le([V(e,{value:P(e.value,"@","@"+x)})],r);case"rule":if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e){return(e=/(::plac\w+|:read-\w+)/.exec(e))?e[0]:e}(t)){case":read-only":case":read-write":return le([V(e,{props:[P(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return le([V(e,{props:[P(t,/:(plac\w+)/,":"+x+"input-$1")]}),V(e,{props:[P(t,/:(plac\w+)/,":-moz-$1")]}),V(e,{props:[P(t,/:(plac\w+)/,"-ms-input-$1")]})],r)}return""}))}}],Ce=function(e){var t=e.key;if(be&&"css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var r=e.stylisPlugins||xe;var i,o,a={},s=[];be&&(i=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)a[t[n]]=!0;s.push(e)})));var l=[me,ge];if(be){var c,u=[ce,de((function(e){c.insert(e)}))],d=ue(l.concat(r,u));o=function(e,t,n,r){c=n,le(re(e?e+"{"+t.styles+"}":t.styles),d),r&&(m.inserted[t.name]=!0)}}else{var p=[ce],h=ue(l.concat(r,p)),f=we(r)(t);o=function(e,t,n,r){var i=t.name,o=function(e,t){var n=t.name;return void 0===f[n]&&(f[n]=le(re(e?e+"{"+t.styles+"}":t.styles),h)),f[n]}(e,t);return void 0===m.compat?(r&&(m.inserted[i]=!0),o):r?void(m.inserted[i]=o):o}}var m={key:t,sheet:new A({key:t,container:i,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:o};return m.sheet.hydrate(s),m};function Se(e,t,n){return e(n={path:t,exports:{},require:function(e,t){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==t&&n.path)}},n.exports),n.exports}var ke="function"==typeof Symbol&&Symbol.for,Ee=ke?Symbol.for("react.element"):60103,Ie=ke?Symbol.for("react.portal"):60106,_e=ke?Symbol.for("react.fragment"):60107,Pe=ke?Symbol.for("react.strict_mode"):60108,Oe=ke?Symbol.for("react.profiler"):60114,Te=ke?Symbol.for("react.provider"):60109,De=ke?Symbol.for("react.context"):60110,je=ke?Symbol.for("react.async_mode"):60111,Be=ke?Symbol.for("react.concurrent_mode"):60111,Ne=ke?Symbol.for("react.forward_ref"):60112,Me=ke?Symbol.for("react.suspense"):60113,Re=ke?Symbol.for("react.suspense_list"):60120,Le=ke?Symbol.for("react.memo"):60115,Fe=ke?Symbol.for("react.lazy"):60116,ze=ke?Symbol.for("react.block"):60121,Qe=ke?Symbol.for("react.fundamental"):60117,Ue=ke?Symbol.for("react.responder"):60118,Ve=ke?Symbol.for("react.scope"):60119;function Ge(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case Ee:switch(e=e.type){case je:case Be:case _e:case Oe:case Pe:case Me:return e;default:switch(e=e&&e.$$typeof){case De:case Ne:case Fe:case Le:case Te:return e;default:return t}}case Ie:return t}}}function qe(e){return Ge(e)===Be}var He={AsyncMode:je,ConcurrentMode:Be,ContextConsumer:De,ContextProvider:Te,Element:Ee,ForwardRef:Ne,Fragment:_e,Lazy:Fe,Memo:Le,Portal:Ie,Profiler:Oe,StrictMode:Pe,Suspense:Me,isAsyncMode:function(e){return qe(e)||Ge(e)===je},isConcurrentMode:qe,isContextConsumer:function(e){return Ge(e)===De},isContextProvider:function(e){return Ge(e)===Te},isElement:function(e){return"object"==typeof e&&null!==e&&e.$$typeof===Ee},isForwardRef:function(e){return Ge(e)===Ne},isFragment:function(e){return Ge(e)===_e},isLazy:function(e){return Ge(e)===Fe},isMemo:function(e){return Ge(e)===Le},isPortal:function(e){return Ge(e)===Ie},isProfiler:function(e){return Ge(e)===Oe},isStrictMode:function(e){return Ge(e)===Pe},isSuspense:function(e){return Ge(e)===Me},isValidElementType:function(e){return"string"==typeof e||"function"==typeof e||e===_e||e===Be||e===Oe||e===Pe||e===Me||e===Re||"object"==typeof e&&null!==e&&(e.$$typeof===Fe||e.$$typeof===Le||e.$$typeof===Te||e.$$typeof===De||e.$$typeof===Ne||e.$$typeof===Qe||e.$$typeof===Ue||e.$$typeof===Ve||e.$$typeof===ze)},typeOf:Ge},We=(Se((function(e,t){})),Se((function(e){e.exports=He}))),Ye={};Ye[We.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Ye[We.Memo]={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0};var Ke="undefined"!=typeof document;function Je(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):r+=n+" "})),r}var Xe=function(e,t,n){var r=e.key+"-"+t.name;(!1===n||!1===Ke&&void 0!==e.compat)&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},Ze=function(e,t,n){Xe(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var i="",o=t;do{var a=e.insert(t===o?"."+r:"",o,e.sheet,!0);Ke||void 0===a||(i+=a),o=o.next}while(void 0!==o);if(!Ke&&0!==i.length)return i}},$e={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},et=/[A-Z]|^ms/g,tt=/_EMO_([^_]+?)_([^]*?)_EMO_/g,nt=function(e){return 45===e.charCodeAt(1)},rt=function(e){return null!=e&&"boolean"!=typeof e},it=pe((function(e){return nt(e)?e:e.replace(et,"-$&").toLowerCase()})),ot=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(tt,(function(e,t,n){return st={name:t,styles:n,next:st},t}))}return 1===$e[e]||nt(e)||"number"!=typeof t||0===t?t:t+"px"};function at(e,t,n){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return st={name:n.name,styles:n.styles,next:st},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)st={name:r.name,styles:r.styles,next:st},r=r.next;return n.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=at(e,t,n[i])+";";else for(var o in n){var a=n[o];if("object"!=typeof a)null!=t&&void 0!==t[a]?r+=o+"{"+t[a]+"}":rt(a)&&(r+=it(o)+":"+ot(o,a)+";");else if(!Array.isArray(a)||"string"!=typeof a[0]||null!=t&&void 0!==t[a[0]]){var s=at(e,t,a);switch(o){case"animation":case"animationName":r+=it(o)+":"+s+";";break;default:r+=o+"{"+s+"}"}}else for(var l=0;l<a.length;l++)rt(a[l])&&(r+=it(o)+":"+ot(o,a[l])+";")}return r}(e,t,n);case"function":if(void 0!==e){var i=st,o=n(e);return st=i,at(e,t,o)}}if(null==t)return n;var a=t[n];return void 0!==a?a:n}var st,lt=/label:\s*([^\s;\n{]+)\s*(;|$)/g,ct=function(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,i="";st=void 0;var o=e[0];null==o||void 0===o.raw?(r=!1,i+=at(n,t,o)):i+=o[0];for(var a=1;a<e.length;a++)i+=at(n,t,e[a]),r&&(i+=o[a]);lt.lastIndex=0;for(var s,l="";null!==(s=lt.exec(i));)l+="-"+s[1];var c=function(e){for(var t,n=0,r=0,i=e.length;i>=4;++r,i-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(i){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(i)+l;return{name:c,styles:i,next:st}},ut="undefined"!=typeof document,dt=!!r.useInsertionEffect&&r.useInsertionEffect,pt=ut&&dt||function(e){return e()},ht=dt||r.useLayoutEffect,ft="undefined"!=typeof document,mt={}.hasOwnProperty,gt=(0,r.createContext)("undefined"!=typeof HTMLElement?Ce({key:"css"}):null);gt.Provider;var vt=function(e){return(0,r.forwardRef)((function(t,n){var i=(0,r.useContext)(gt);return e(t,i,n)}))};ft||(vt=function(e){return function(t){var n=(0,r.useContext)(gt);return null===n?(n=Ce({key:"css"}),(0,r.createElement)(gt.Provider,{value:n},e(t,n))):e(t,n)}});var yt=(0,r.createContext)({}),At=(new Set(["renderWithHooks","processChild","finishClassComponent","renderToString"]),"__EMOTION_TYPE_PLEASE_DO_NOT_USE__"),bt=function(e){var t=e.cache,n=e.serialized,i=e.isStringTag;Xe(t,n,i);var o=pt((function(){return Ze(t,n,i)}));if(!ft&&void 0!==o){for(var a,s=n.name,l=n.next;void 0!==l;)s+=" "+l.name,l=l.next;return(0,r.createElement)("style",((a={})["data-emotion"]=t.key+" "+s,a.dangerouslySetInnerHTML={__html:o},a.nonce=t.sheet.nonce,a))}return null},wt=vt((function(e,t,n){var i=e.css;"string"==typeof i&&void 0!==t.registered[i]&&(i=t.registered[i]);var o=e[At],a=[i],s="";"string"==typeof e.className?s=Je(t.registered,a,e.className):null!=e.className&&(s=e.className+" ");var l=ct(a,void 0,(0,r.useContext)(yt));s+=t.key+"-"+l.name;var c={};for(var u in e)!mt.call(e,u)||"css"===u||u===At||(c[u]=e[u]);return c.ref=n,c.className=s,(0,r.createElement)(r.Fragment,null,(0,r.createElement)(bt,{cache:t,serialized:l,isStringTag:"string"==typeof o}),(0,r.createElement)(o,c))}));Se((function(e){function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(this,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}));var xt=function(e,t){var n=arguments;if(null==t||!mt.call(t,"css"))return r.createElement.apply(void 0,n);var i=n.length,o=new Array(i);o[0]=wt,o[1]=function(e,t){var n={};for(var r in t)mt.call(t,r)&&(n[r]=t[r]);return n[At]=e,n}(e,t);for(var a=2;a<i;a++)o[a]=n[a];return r.createElement.apply(null,o)};vt((function(e,t){var n=e.styles,i=ct([n],void 0,(0,r.useContext)(yt));if(!ft){for(var o,a=i.name,s=i.styles,l=i.next;void 0!==l;)a+=" "+l.name,s+=l.styles,l=l.next;var c=!0===t.compat,u=t.insert("",{name:a,styles:s},t.sheet,c);return c?null:(0,r.createElement)("style",((o={})["data-emotion"]=t.key+"-global "+a,o.dangerouslySetInnerHTML={__html:u},o.nonce=t.sheet.nonce,o))}var d=(0,r.useRef)();return ht((function(){var e=t.key+"-global",n=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),r=!1,o=document.querySelector('style[data-emotion="'+e+" "+i.name+'"]');return t.sheet.tags.length&&(n.before=t.sheet.tags[0]),null!==o&&(r=!0,o.setAttribute("data-emotion",e),n.hydrate([o])),d.current=[n,r],function(){n.flush()}}),[t]),ht((function(){var e=d.current,n=e[0];if(e[1])e[1]=!1;else{if(void 0!==i.next&&Ze(t,i.next,!0),n.tags.length){var r=n.tags[n.tags.length-1].nextElementSibling;n.before=r,n.flush()}t.insert("",i,n,!1)}}),[t,i.name]),null}));function Ct(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return ct(t)}var St=function e(t){for(var n=t.length,r=0,i="";r<n;r++){var o=t[r];if(null!=o){var a=void 0;switch(typeof o){case"boolean":break;case"object":if(Array.isArray(o))a=e(o);else for(var s in a="",o)o[s]&&s&&(a&&(a+=" "),a+=s);break;default:a=o}a&&(i&&(i+=" "),i+=a)}}return i};var kt=function(e){var t,n=e.cache,i=e.serializedArr,o=pt((function(){for(var e="",t=0;t<i.length;t++){var r=Ze(n,i[t],!1);ft||void 0===r||(e+=r)}if(!ft)return e}));return ft||0===o.length?null:(0,r.createElement)("style",((t={})["data-emotion"]=n.key+" "+i.map((function(e){return e.name})).join(" "),t.dangerouslySetInnerHTML={__html:o},t.nonce=n.sheet.nonce,t))};vt((function(e,t){var n=[],i=function(){for(var e=arguments.length,r=new Array(e),i=0;i<e;i++)r[i]=arguments[i];var o=ct(r,t.registered);return n.push(o),Xe(t,o,!1),t.key+"-"+o.name},o={css:i,cx:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return function(e,t,n){var r=[],i=Je(e,r,n);return r.length<2?n:i+t(r)}(t.registered,i,St(n))},theme:(0,r.useContext)(yt)},a=e.children(o);return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(kt,{cache:t,serializedArr:n}),a)}));function Et(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return s}}(e,t)||v(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function It(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function _t(e){var t;return(null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function Pt(e){return _t(e).getComputedStyle(e)}const Ot=Math.round;function Tt(e){return Nt(e)?(e.nodeName||"").toLowerCase():""}let Dt;function jt(e){return e instanceof _t(e).HTMLElement}function Bt(e){return e instanceof _t(e).Element}function Nt(e){return e instanceof _t(e).Node}function Mt(e){return"undefined"!=typeof ShadowRoot&&(e instanceof _t(e).ShadowRoot||e instanceof ShadowRoot)}function Rt(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=Pt(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(i)}function Lt(e){return Bt(e)?e:e.contextElement}const Ft={x:1,y:1};function zt(e){const t=Lt(e);if(!jt(t))return Ft;const n=t.getBoundingClientRect(),{width:r,height:i,fallback:o}=function(e){const t=Pt(e);let n=parseFloat(t.width),r=parseFloat(t.height);const i=e.offsetWidth,o=e.offsetHeight,a=Ot(n)!==i||Ot(r)!==o;return a&&(n=i,r=o),{width:n,height:r,fallback:a}}(t);let a=(o?Ot(n.width):n.width)/r,s=(o?Ot(n.height):n.height)/i;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}function Qt(e,t,n,r){var i,o;void 0===t&&(t=!1),void 0===n&&(n=!1);const a=e.getBoundingClientRect(),s=Lt(e);let l=Ft;t&&(r?Bt(r)&&(l=zt(r)):l=zt(e));const c=s?_t(s):window,u=/^((?!chrome|android).)*safari/i.test(function(){if(Dt)return Dt;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(Dt=e.brands.map((e=>e.brand+"/"+e.version)).join(" "),Dt):navigator.userAgent}())&&n;let d=(a.left+(u&&(null==(i=c.visualViewport)?void 0:i.offsetLeft)||0))/l.x,p=(a.top+(u&&(null==(o=c.visualViewport)?void 0:o.offsetTop)||0))/l.y,h=a.width/l.x,f=a.height/l.y;if(s){const e=_t(s),t=r&&Bt(r)?_t(r):r;let n=e.frameElement;for(;n&&r&&t!==e;){const e=zt(n),t=n.getBoundingClientRect(),r=getComputedStyle(n);t.x+=(n.clientLeft+parseFloat(r.paddingLeft))*e.x,t.y+=(n.clientTop+parseFloat(r.paddingTop))*e.y,d*=e.x,p*=e.y,h*=e.x,f*=e.y,d+=t.x,p+=t.y,n=_t(n).frameElement}}return{width:h,height:f,top:p,right:d+h,bottom:p+f,left:d,x:d,y:p}}function Ut(e){const t=function(e){if("html"===Tt(e))return e;const t=e.assignedSlot||e.parentNode||Mt(e)&&e.host||function(e){return((Nt(e)?e.ownerDocument:e.document)||window.document).documentElement}(e);return Mt(t)?t.host:t}(e);return function(e){return["html","body","#document"].includes(Tt(e))}(t)?t.ownerDocument.body:jt(t)&&Rt(t)?t:Ut(t)}function Vt(e,t){var n;void 0===t&&(t=[]);const r=Ut(e),i=r===(null==(n=e.ownerDocument)?void 0:n.body),o=_t(r);return i?t.concat(o,o.visualViewport||[],Rt(r)?r:[]):t.concat(r,Vt(r))}var Gt="undefined"!=typeof document?r.useLayoutEffect:r.useEffect,qt=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],Ht=function(){};function Wt(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function Yt(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];var o=[].concat(r);if(t&&e)for(var a in t)t.hasOwnProperty(a)&&t[a]&&o.push("".concat(Wt(e,a)));return o.filter((function(e){return e})).map((function(e){return String(e).trim()})).join(" ")}var Kt=function(e){return t=e,Array.isArray(t)?e.filter(Boolean):"object"===s(e)&&null!==e?[e]:[];var t},Jt=function(e){return e.className,e.clearValue,e.cx,e.getStyles,e.getClassNames,e.getValue,e.hasValue,e.isMulti,e.isRtl,e.options,e.selectOption,e.selectProps,e.setValue,e.theme,d({},It(e,qt))},Xt=function(e,t,n){var r=e.cx,i=e.getStyles,o=e.getClassNames,a=e.className;return{css:i(t,e),className:r(null!=n?n:{},o(t,e),a)}};function Zt(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function $t(e){return Zt(e)?window.pageYOffset:e.scrollTop}function en(e,t){Zt(e)?window.scrollTo(0,t):e.scrollTop=t}function tn(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Ht,i=$t(e),o=t-i,a=0;!function t(){var s=function(e,t,n,r){return n*((e=e/r-1)*e*e+1)+t}(a+=10,i,o,n);en(e,s),a<n?window.requestAnimationFrame(t):r(e)}()}function nn(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),i=t.offsetHeight/3;r.bottom+i>n.bottom?en(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+i,e.scrollHeight)):r.top-i<n.top&&en(e,Math.max(t.offsetTop-i,0))}function rn(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}var on=!1,an={get passive(){return on=!0}},sn="undefined"!=typeof window?window:{};sn.addEventListener&&sn.removeEventListener&&(sn.addEventListener("p",Ht,an),sn.removeEventListener("p",Ht,!1));var ln=on;function cn(e){return null!=e}function un(e,t,n){return e?t:n}var dn=["children","innerProps"],pn=["children","innerProps"];var hn,fn,mn,gn=function(e){return"auto"===e?"bottom":e},vn=(0,r.createContext)(null),yn=function(e){var t=e.children,n=e.minMenuHeight,i=e.maxMenuHeight,o=e.menuPlacement,a=e.menuPosition,s=e.menuShouldScrollIntoView,l=e.theme,c=((0,r.useContext)(vn)||{}).setPortalPlacement,u=(0,r.useRef)(null),p=Et((0,r.useState)(i),2),h=p[0],f=p[1],m=Et((0,r.useState)(null),2),g=m[0],v=m[1],y=l.spacing.controlHeight;return Gt((function(){var e=u.current;if(e){var t="fixed"===a,r=function(e){var t=e.maxHeight,n=e.menuEl,r=e.minHeight,i=e.placement,o=e.shouldScroll,a=e.isFixedPosition,s=e.controlHeight,l=function(e){var t=getComputedStyle(e),n="absolute"===t.position,r=/(auto|scroll)/;if("fixed"===t.position)return document.documentElement;for(var i=e;i=i.parentElement;)if(t=getComputedStyle(i),(!n||"static"!==t.position)&&r.test(t.overflow+t.overflowY+t.overflowX))return i;return document.documentElement}(n),c={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return c;var u,d=l.getBoundingClientRect().height,p=n.getBoundingClientRect(),h=p.bottom,f=p.height,m=p.top,g=n.offsetParent.getBoundingClientRect().top,v=a||Zt(u=l)?window.innerHeight:u.clientHeight,y=$t(l),A=parseInt(getComputedStyle(n).marginBottom,10),b=parseInt(getComputedStyle(n).marginTop,10),w=g-b,x=v-m,C=w+y,S=d-y-m,k=h-v+y+A,E=y+m-b,I=160;switch(i){case"auto":case"bottom":if(x>=f)return{placement:"bottom",maxHeight:t};if(S>=f&&!a)return o&&tn(l,k,I),{placement:"bottom",maxHeight:t};if(!a&&S>=r||a&&x>=r)return o&&tn(l,k,I),{placement:"bottom",maxHeight:a?x-A:S-A};if("auto"===i||a){var _=t,P=a?w:C;return P>=r&&(_=Math.min(P-A-s,t)),{placement:"top",maxHeight:_}}if("bottom"===i)return o&&en(l,k),{placement:"bottom",maxHeight:t};break;case"top":if(w>=f)return{placement:"top",maxHeight:t};if(C>=f&&!a)return o&&tn(l,E,I),{placement:"top",maxHeight:t};if(!a&&C>=r||a&&w>=r){var O=t;return(!a&&C>=r||a&&w>=r)&&(O=a?w-b:C-b),o&&tn(l,E,I),{placement:"top",maxHeight:O}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(i,'".'))}return c}({maxHeight:i,menuEl:e,minHeight:n,placement:o,shouldScroll:s&&!t,isFixedPosition:t,controlHeight:y});f(r.maxHeight),v(r.placement),null==c||c(r.placement)}}),[i,o,a,s,n,c,y]),t({ref:u,placerProps:d(d({},e),{},{placement:g||gn(o),maxHeight:h})})},An=function(e,t){var n=e.theme,r=n.spacing.baseUnit,i=n.colors;return d({textAlign:"center"},t?{}:{color:i.neutral40,padding:"".concat(2*r,"px ").concat(3*r,"px")})},bn=An,wn=An,xn=["size"],Cn=["innerProps","isRtl","size"],Sn={name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"},kn=function(e){var t=e.size,n=It(e,xn);return xt("svg",a({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:Sn},n))},En=function(e){return xt(kn,a({size:20},e),xt("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},In=function(e){return xt(kn,a({size:20},e),xt("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},_n=function(e,t){var n=e.isFocused,r=e.theme,i=r.spacing.baseUnit,o=r.colors;return d({label:"indicatorContainer",display:"flex",transition:"color 150ms"},t?{}:{color:n?o.neutral60:o.neutral20,padding:2*i,":hover":{color:n?o.neutral80:o.neutral40}})},Pn=_n,On=_n,Tn=function(){var e=Ct.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}(hn||(fn=["\n  0%, 80%, 100% { opacity: 0; }\n  40% { opacity: 1; }\n"],mn||(mn=fn.slice(0)),hn=Object.freeze(Object.defineProperties(fn,{raw:{value:Object.freeze(mn)}})))),Dn=function(e){var t=e.delay,n=e.offset;return xt("span",{css:Ct({animation:"".concat(Tn," 1s ease-in-out ").concat(t,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:n?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},"","")})},jn=["data"],Bn=["innerRef","isDisabled","isHidden","inputClassName"],Nn={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},Mn={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":d({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},Nn)},Rn=function(e){return d({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},Nn)},Ln=function(e){var t=e.children,n=e.innerProps;return xt("div",n,t)},Fn={ClearIndicator:function(e){var t=e.children,n=e.innerProps;return xt("div",a({},Xt(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),n),t||xt(En,null))},Control:function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,i=e.innerRef,o=e.innerProps,s=e.menuIsOpen;return xt("div",a({ref:i},Xt(e,"control",{control:!0,"control--is-disabled":n,"control--is-focused":r,"control--menu-is-open":s}),o,{"aria-disabled":n||void 0}),t)},DropdownIndicator:function(e){var t=e.children,n=e.innerProps;return xt("div",a({},Xt(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),n),t||xt(In,null))},DownChevron:In,CrossIcon:En,Group:function(e){var t=e.children,n=e.cx,r=e.getStyles,i=e.getClassNames,o=e.Heading,s=e.headingProps,l=e.innerProps,c=e.label,u=e.theme,d=e.selectProps;return xt("div",a({},Xt(e,"group",{group:!0}),l),xt(o,a({},s,{selectProps:d,theme:u,getStyles:r,getClassNames:i,cx:n}),c),xt("div",null,t))},GroupHeading:function(e){var t=Jt(e);t.data;var n=It(t,jn);return xt("div",a({},Xt(e,"groupHeading",{"group-heading":!0}),n))},IndicatorsContainer:function(e){var t=e.children,n=e.innerProps;return xt("div",a({},Xt(e,"indicatorsContainer",{indicators:!0}),n),t)},IndicatorSeparator:function(e){var t=e.innerProps;return xt("span",a({},t,Xt(e,"indicatorSeparator",{"indicator-separator":!0})))},Input:function(e){var t=e.cx,n=e.value,r=Jt(e),i=r.innerRef,o=r.isDisabled,s=r.isHidden,l=r.inputClassName,c=It(r,Bn);return xt("div",a({},Xt(e,"input",{"input-container":!0}),{"data-value":n||""}),xt("input",a({className:t({input:!0},l),ref:i,style:Rn(s),disabled:o},c)))},LoadingIndicator:function(e){var t=e.innerProps,n=e.isRtl,r=e.size,i=void 0===r?4:r,o=It(e,Cn);return xt("div",a({},Xt(d(d({},o),{},{innerProps:t,isRtl:n,size:i}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),t),xt(Dn,{delay:0,offset:n}),xt(Dn,{delay:160,offset:!0}),xt(Dn,{delay:320,offset:!n}))},Menu:function(e){var t=e.children,n=e.innerRef,r=e.innerProps;return xt("div",a({},Xt(e,"menu",{menu:!0}),{ref:n},r),t)},MenuList:function(e){var t=e.children,n=e.innerProps,r=e.innerRef,i=e.isMulti;return xt("div",a({},Xt(e,"menuList",{"menu-list":!0,"menu-list--is-multi":i}),{ref:r},n),t)},MenuPortal:function(e){var t=e.appendTo,n=e.children,o=e.controlElement,s=e.innerProps,l=e.menuPlacement,c=e.menuPosition,u=(0,r.useRef)(null),p=(0,r.useRef)(null),h=Et((0,r.useState)(gn(l)),2),f=h[0],m=h[1],g=(0,r.useMemo)((function(){return{setPortalPlacement:m}}),[]),v=Et((0,r.useState)(null),2),y=v[0],A=v[1],b=(0,r.useCallback)((function(){if(o){var e=function(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}(o),t="fixed"===c?0:window.pageYOffset,n=e[f]+t;n===(null==y?void 0:y.offset)&&e.left===(null==y?void 0:y.rect.left)&&e.width===(null==y?void 0:y.rect.width)||A({offset:n,rect:e})}}),[o,c,f,null==y?void 0:y.offset,null==y?void 0:y.rect.left,null==y?void 0:y.rect.width]);Gt((function(){b()}),[b]);var w=(0,r.useCallback)((function(){"function"==typeof p.current&&(p.current(),p.current=null),o&&u.current&&(p.current=function(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:a=!0,animationFrame:s=!1}=r,l=i&&!s,c=l||o?[...Bt(e)?Vt(e):e.contextElement?Vt(e.contextElement):[],...Vt(t)]:[];c.forEach((e=>{l&&e.addEventListener("scroll",n,{passive:!0}),o&&e.addEventListener("resize",n)}));let u,d=null;if(a){let r=!0;d=new ResizeObserver((()=>{r||n(),r=!1})),Bt(e)&&!s&&d.observe(e),Bt(e)||!e.contextElement||s||d.observe(e.contextElement),d.observe(t)}let p=s?Qt(e):null;return s&&function t(){const r=Qt(e);!p||r.x===p.x&&r.y===p.y&&r.width===p.width&&r.height===p.height||n(),p=r,u=requestAnimationFrame(t)}(),n(),()=>{var e;c.forEach((e=>{l&&e.removeEventListener("scroll",n),o&&e.removeEventListener("resize",n)})),null==(e=d)||e.disconnect(),d=null,s&&cancelAnimationFrame(u)}}(o,u.current,b,{elementResize:"ResizeObserver"in window}))}),[o,b]);Gt((function(){w()}),[w]);var x=(0,r.useCallback)((function(e){u.current=e,w()}),[w]);if(!t&&"fixed"!==c||!y)return null;var C=xt("div",a({ref:x},Xt(d(d({},e),{},{offset:y.offset,position:c,rect:y.rect}),"menuPortal",{"menu-portal":!0}),s),n);return xt(vn.Provider,{value:g},t?(0,i.createPortal)(C,t):C)},LoadingMessage:function(e){var t=e.children,n=void 0===t?"Loading...":t,r=e.innerProps,i=It(e,pn);return xt("div",a({},Xt(d(d({},i),{},{children:n,innerProps:r}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),r),n)},NoOptionsMessage:function(e){var t=e.children,n=void 0===t?"No options":t,r=e.innerProps,i=It(e,dn);return xt("div",a({},Xt(d(d({},i),{},{children:n,innerProps:r}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),r),n)},MultiValue:function(e){var t=e.children,n=e.components,r=e.data,i=e.innerProps,o=e.isDisabled,a=e.removeProps,s=e.selectProps,l=n.Container,c=n.Label,u=n.Remove;return xt(l,{data:r,innerProps:d(d({},Xt(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":o})),i),selectProps:s},xt(c,{data:r,innerProps:d({},Xt(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:s},t),xt(u,{data:r,innerProps:d(d({},Xt(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(t||"option")},a),selectProps:s}))},MultiValueContainer:Ln,MultiValueLabel:Ln,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return xt("div",a({role:"button"},n),t||xt(En,{size:14}))},Option:function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,i=e.isSelected,o=e.innerRef,s=e.innerProps;return xt("div",a({},Xt(e,"option",{option:!0,"option--is-disabled":n,"option--is-focused":r,"option--is-selected":i}),{ref:o,"aria-disabled":n},s),t)},Placeholder:function(e){var t=e.children,n=e.innerProps;return xt("div",a({},Xt(e,"placeholder",{placeholder:!0}),n),t)},SelectContainer:function(e){var t=e.children,n=e.innerProps,r=e.isDisabled,i=e.isRtl;return xt("div",a({},Xt(e,"container",{"--is-disabled":r,"--is-rtl":i}),n),t)},SingleValue:function(e){var t=e.children,n=e.isDisabled,r=e.innerProps;return xt("div",a({},Xt(e,"singleValue",{"single-value":!0,"single-value--is-disabled":n}),r),t)},ValueContainer:function(e){var t=e.children,n=e.innerProps,r=e.isMulti,i=e.hasValue;return xt("div",a({},Xt(e,"valueContainer",{"value-container":!0,"value-container--is-multi":r,"value-container--has-value":i}),n),t)}},zn=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function Qn(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!((r=e[n])===(i=t[n])||zn(r)&&zn(i)))return!1;var r,i;return!0}for(var Un={name:"7pg0cj-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap"},Vn=function(e){return xt("span",a({css:Un},e))},Gn={guidance:function(e){var t=e.isSearchable,n=e.isMulti,r=e.tabSelectsValue,i=e.context,o=e.isInitialFocus;switch(i){case"menu":return"Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu".concat(r?", press Tab to select the option and exit the menu":"",".");case"input":return o?"".concat(e["aria-label"]||"Select"," is focused ").concat(t?",type to refine list":"",", press Down to open the menu, ").concat(n?" press left to focus selected values":""):"";case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(e){var t=e.action,n=e.label,r=void 0===n?"":n,i=e.labels,o=e.isDisabled;switch(t){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(r,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(i.length>1?"s":""," ").concat(i.join(","),", selected.");case"select-option":return"option ".concat(r,o?" is disabled. Select another option.":", selected.");default:return""}},onFocus:function(e){var t=e.context,n=e.focused,r=e.options,i=e.label,o=void 0===i?"":i,a=e.selectValue,s=e.isDisabled,l=e.isSelected,c=e.isAppleDevice,u=function(e,t){return e&&e.length?"".concat(e.indexOf(t)+1," of ").concat(e.length):""};if("value"===t&&a)return"value ".concat(o," focused, ").concat(u(a,n),".");if("menu"===t&&c){var d=s?" disabled":"",p="".concat(l?" selected":"").concat(d);return"".concat(o).concat(p,", ").concat(u(r,n),".")}return""},onFilter:function(e){var t=e.inputValue,n=e.resultsMessage;return"".concat(n).concat(t?" for search term "+t:"",".")}},qn=function(e){var t=e.ariaSelection,n=e.focusedOption,i=e.focusedValue,o=e.focusableOptions,a=e.isFocused,s=e.selectValue,l=e.selectProps,c=e.id,u=e.isAppleDevice,p=l.ariaLiveMessages,h=l.getOptionLabel,f=l.inputValue,m=l.isMulti,g=l.isOptionDisabled,v=l.isSearchable,y=l.menuIsOpen,A=l.options,b=l.screenReaderStatus,w=l.tabSelectsValue,x=l.isLoading,C=l["aria-label"],S=l["aria-live"],k=(0,r.useMemo)((function(){return d(d({},Gn),p||{})}),[p]),E=(0,r.useMemo)((function(){var e,n="";if(t&&k.onChange){var r=t.option,i=t.options,o=t.removedValue,a=t.removedValues,l=t.value,c=o||r||(e=l,Array.isArray(e)?null:e),u=c?h(c):"",p=i||a||void 0,f=p?p.map(h):[],m=d({isDisabled:c&&g(c,s),label:u,labels:f},t);n=k.onChange(m)}return n}),[t,k,g,s,h]),I=(0,r.useMemo)((function(){var e="",t=n||i,r=!!(n&&s&&s.includes(n));if(t&&k.onFocus){var a={focused:t,label:h(t),isDisabled:g(t,s),isSelected:r,options:o,context:t===n?"menu":"value",selectValue:s,isAppleDevice:u};e=k.onFocus(a)}return e}),[n,i,h,g,k,o,s,u]),_=(0,r.useMemo)((function(){var e="";if(y&&A.length&&!x&&k.onFilter){var t=b({count:o.length});e=k.onFilter({inputValue:f,resultsMessage:t})}return e}),[o,f,y,k,A,b,x]),P="initial-input-focus"===(null==t?void 0:t.action),O=(0,r.useMemo)((function(){var e="";if(k.guidance){var t=i?"value":y?"menu":"input";e=k.guidance({"aria-label":C,context:t,isDisabled:n&&g(n,s),isMulti:m,isSearchable:v,tabSelectsValue:w,isInitialFocus:P})}return e}),[C,n,i,m,g,v,y,k,s,w,P]),T=xt(r.Fragment,null,xt("span",{id:"aria-selection"},E),xt("span",{id:"aria-focused"},I),xt("span",{id:"aria-results"},_),xt("span",{id:"aria-guidance"},O));return xt(r.Fragment,null,xt(Vn,{id:c},P&&T),xt(Vn,{"aria-live":S,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},a&&!P&&T))},Hn=[{base:"A",letters:"A\u24b6\uff21\xc0\xc1\xc2\u1ea6\u1ea4\u1eaa\u1ea8\xc3\u0100\u0102\u1eb0\u1eae\u1eb4\u1eb2\u0226\u01e0\xc4\u01de\u1ea2\xc5\u01fa\u01cd\u0200\u0202\u1ea0\u1eac\u1eb6\u1e00\u0104\u023a\u2c6f"},{base:"AA",letters:"\ua732"},{base:"AE",letters:"\xc6\u01fc\u01e2"},{base:"AO",letters:"\ua734"},{base:"AU",letters:"\ua736"},{base:"AV",letters:"\ua738\ua73a"},{base:"AY",letters:"\ua73c"},{base:"B",letters:"B\u24b7\uff22\u1e02\u1e04\u1e06\u0243\u0182\u0181"},{base:"C",letters:"C\u24b8\uff23\u0106\u0108\u010a\u010c\xc7\u1e08\u0187\u023b\ua73e"},{base:"D",letters:"D\u24b9\uff24\u1e0a\u010e\u1e0c\u1e10\u1e12\u1e0e\u0110\u018b\u018a\u0189\ua779"},{base:"DZ",letters:"\u01f1\u01c4"},{base:"Dz",letters:"\u01f2\u01c5"},{base:"E",letters:"E\u24ba\uff25\xc8\xc9\xca\u1ec0\u1ebe\u1ec4\u1ec2\u1ebc\u0112\u1e14\u1e16\u0114\u0116\xcb\u1eba\u011a\u0204\u0206\u1eb8\u1ec6\u0228\u1e1c\u0118\u1e18\u1e1a\u0190\u018e"},{base:"F",letters:"F\u24bb\uff26\u1e1e\u0191\ua77b"},{base:"G",letters:"G\u24bc\uff27\u01f4\u011c\u1e20\u011e\u0120\u01e6\u0122\u01e4\u0193\ua7a0\ua77d\ua77e"},{base:"H",letters:"H\u24bd\uff28\u0124\u1e22\u1e26\u021e\u1e24\u1e28\u1e2a\u0126\u2c67\u2c75\ua78d"},{base:"I",letters:"I\u24be\uff29\xcc\xcd\xce\u0128\u012a\u012c\u0130\xcf\u1e2e\u1ec8\u01cf\u0208\u020a\u1eca\u012e\u1e2c\u0197"},{base:"J",letters:"J\u24bf\uff2a\u0134\u0248"},{base:"K",letters:"K\u24c0\uff2b\u1e30\u01e8\u1e32\u0136\u1e34\u0198\u2c69\ua740\ua742\ua744\ua7a2"},{base:"L",letters:"L\u24c1\uff2c\u013f\u0139\u013d\u1e36\u1e38\u013b\u1e3c\u1e3a\u0141\u023d\u2c62\u2c60\ua748\ua746\ua780"},{base:"LJ",letters:"\u01c7"},{base:"Lj",letters:"\u01c8"},{base:"M",letters:"M\u24c2\uff2d\u1e3e\u1e40\u1e42\u2c6e\u019c"},{base:"N",letters:"N\u24c3\uff2e\u01f8\u0143\xd1\u1e44\u0147\u1e46\u0145\u1e4a\u1e48\u0220\u019d\ua790\ua7a4"},{base:"NJ",letters:"\u01ca"},{base:"Nj",letters:"\u01cb"},{base:"O",letters:"O\u24c4\uff2f\xd2\xd3\xd4\u1ed2\u1ed0\u1ed6\u1ed4\xd5\u1e4c\u022c\u1e4e\u014c\u1e50\u1e52\u014e\u022e\u0230\xd6\u022a\u1ece\u0150\u01d1\u020c\u020e\u01a0\u1edc\u1eda\u1ee0\u1ede\u1ee2\u1ecc\u1ed8\u01ea\u01ec\xd8\u01fe\u0186\u019f\ua74a\ua74c"},{base:"OI",letters:"\u01a2"},{base:"OO",letters:"\ua74e"},{base:"OU",letters:"\u0222"},{base:"P",letters:"P\u24c5\uff30\u1e54\u1e56\u01a4\u2c63\ua750\ua752\ua754"},{base:"Q",letters:"Q\u24c6\uff31\ua756\ua758\u024a"},{base:"R",letters:"R\u24c7\uff32\u0154\u1e58\u0158\u0210\u0212\u1e5a\u1e5c\u0156\u1e5e\u024c\u2c64\ua75a\ua7a6\ua782"},{base:"S",letters:"S\u24c8\uff33\u1e9e\u015a\u1e64\u015c\u1e60\u0160\u1e66\u1e62\u1e68\u0218\u015e\u2c7e\ua7a8\ua784"},{base:"T",letters:"T\u24c9\uff34\u1e6a\u0164\u1e6c\u021a\u0162\u1e70\u1e6e\u0166\u01ac\u01ae\u023e\ua786"},{base:"TZ",letters:"\ua728"},{base:"U",letters:"U\u24ca\uff35\xd9\xda\xdb\u0168\u1e78\u016a\u1e7a\u016c\xdc\u01db\u01d7\u01d5\u01d9\u1ee6\u016e\u0170\u01d3\u0214\u0216\u01af\u1eea\u1ee8\u1eee\u1eec\u1ef0\u1ee4\u1e72\u0172\u1e76\u1e74\u0244"},{base:"V",letters:"V\u24cb\uff36\u1e7c\u1e7e\u01b2\ua75e\u0245"},{base:"VY",letters:"\ua760"},{base:"W",letters:"W\u24cc\uff37\u1e80\u1e82\u0174\u1e86\u1e84\u1e88\u2c72"},{base:"X",letters:"X\u24cd\uff38\u1e8a\u1e8c"},{base:"Y",letters:"Y\u24ce\uff39\u1ef2\xdd\u0176\u1ef8\u0232\u1e8e\u0178\u1ef6\u1ef4\u01b3\u024e\u1efe"},{base:"Z",letters:"Z\u24cf\uff3a\u0179\u1e90\u017b\u017d\u1e92\u1e94\u01b5\u0224\u2c7f\u2c6b\ua762"},{base:"a",letters:"a\u24d0\uff41\u1e9a\xe0\xe1\xe2\u1ea7\u1ea5\u1eab\u1ea9\xe3\u0101\u0103\u1eb1\u1eaf\u1eb5\u1eb3\u0227\u01e1\xe4\u01df\u1ea3\xe5\u01fb\u01ce\u0201\u0203\u1ea1\u1ead\u1eb7\u1e01\u0105\u2c65\u0250"},{base:"aa",letters:"\ua733"},{base:"ae",letters:"\xe6\u01fd\u01e3"},{base:"ao",letters:"\ua735"},{base:"au",letters:"\ua737"},{base:"av",letters:"\ua739\ua73b"},{base:"ay",letters:"\ua73d"},{base:"b",letters:"b\u24d1\uff42\u1e03\u1e05\u1e07\u0180\u0183\u0253"},{base:"c",letters:"c\u24d2\uff43\u0107\u0109\u010b\u010d\xe7\u1e09\u0188\u023c\ua73f\u2184"},{base:"d",letters:"d\u24d3\uff44\u1e0b\u010f\u1e0d\u1e11\u1e13\u1e0f\u0111\u018c\u0256\u0257\ua77a"},{base:"dz",letters:"\u01f3\u01c6"},{base:"e",letters:"e\u24d4\uff45\xe8\xe9\xea\u1ec1\u1ebf\u1ec5\u1ec3\u1ebd\u0113\u1e15\u1e17\u0115\u0117\xeb\u1ebb\u011b\u0205\u0207\u1eb9\u1ec7\u0229\u1e1d\u0119\u1e19\u1e1b\u0247\u025b\u01dd"},{base:"f",letters:"f\u24d5\uff46\u1e1f\u0192\ua77c"},{base:"g",letters:"g\u24d6\uff47\u01f5\u011d\u1e21\u011f\u0121\u01e7\u0123\u01e5\u0260\ua7a1\u1d79\ua77f"},{base:"h",letters:"h\u24d7\uff48\u0125\u1e23\u1e27\u021f\u1e25\u1e29\u1e2b\u1e96\u0127\u2c68\u2c76\u0265"},{base:"hv",letters:"\u0195"},{base:"i",letters:"i\u24d8\uff49\xec\xed\xee\u0129\u012b\u012d\xef\u1e2f\u1ec9\u01d0\u0209\u020b\u1ecb\u012f\u1e2d\u0268\u0131"},{base:"j",letters:"j\u24d9\uff4a\u0135\u01f0\u0249"},{base:"k",letters:"k\u24da\uff4b\u1e31\u01e9\u1e33\u0137\u1e35\u0199\u2c6a\ua741\ua743\ua745\ua7a3"},{base:"l",letters:"l\u24db\uff4c\u0140\u013a\u013e\u1e37\u1e39\u013c\u1e3d\u1e3b\u017f\u0142\u019a\u026b\u2c61\ua749\ua781\ua747"},{base:"lj",letters:"\u01c9"},{base:"m",letters:"m\u24dc\uff4d\u1e3f\u1e41\u1e43\u0271\u026f"},{base:"n",letters:"n\u24dd\uff4e\u01f9\u0144\xf1\u1e45\u0148\u1e47\u0146\u1e4b\u1e49\u019e\u0272\u0149\ua791\ua7a5"},{base:"nj",letters:"\u01cc"},{base:"o",letters:"o\u24de\uff4f\xf2\xf3\xf4\u1ed3\u1ed1\u1ed7\u1ed5\xf5\u1e4d\u022d\u1e4f\u014d\u1e51\u1e53\u014f\u022f\u0231\xf6\u022b\u1ecf\u0151\u01d2\u020d\u020f\u01a1\u1edd\u1edb\u1ee1\u1edf\u1ee3\u1ecd\u1ed9\u01eb\u01ed\xf8\u01ff\u0254\ua74b\ua74d\u0275"},{base:"oi",letters:"\u01a3"},{base:"ou",letters:"\u0223"},{base:"oo",letters:"\ua74f"},{base:"p",letters:"p\u24df\uff50\u1e55\u1e57\u01a5\u1d7d\ua751\ua753\ua755"},{base:"q",letters:"q\u24e0\uff51\u024b\ua757\ua759"},{base:"r",letters:"r\u24e1\uff52\u0155\u1e59\u0159\u0211\u0213\u1e5b\u1e5d\u0157\u1e5f\u024d\u027d\ua75b\ua7a7\ua783"},{base:"s",letters:"s\u24e2\uff53\xdf\u015b\u1e65\u015d\u1e61\u0161\u1e67\u1e63\u1e69\u0219\u015f\u023f\ua7a9\ua785\u1e9b"},{base:"t",letters:"t\u24e3\uff54\u1e6b\u1e97\u0165\u1e6d\u021b\u0163\u1e71\u1e6f\u0167\u01ad\u0288\u2c66\ua787"},{base:"tz",letters:"\ua729"},{base:"u",letters:"u\u24e4\uff55\xf9\xfa\xfb\u0169\u1e79\u016b\u1e7b\u016d\xfc\u01dc\u01d8\u01d6\u01da\u1ee7\u016f\u0171\u01d4\u0215\u0217\u01b0\u1eeb\u1ee9\u1eef\u1eed\u1ef1\u1ee5\u1e73\u0173\u1e77\u1e75\u0289"},{base:"v",letters:"v\u24e5\uff56\u1e7d\u1e7f\u028b\ua75f\u028c"},{base:"vy",letters:"\ua761"},{base:"w",letters:"w\u24e6\uff57\u1e81\u1e83\u0175\u1e87\u1e85\u1e98\u1e89\u2c73"},{base:"x",letters:"x\u24e7\uff58\u1e8b\u1e8d"},{base:"y",letters:"y\u24e8\uff59\u1ef3\xfd\u0177\u1ef9\u0233\u1e8f\xff\u1ef7\u1e99\u1ef5\u01b4\u024f\u1eff"},{base:"z",letters:"z\u24e9\uff5a\u017a\u1e91\u017c\u017e\u1e93\u1e95\u01b6\u0225\u0240\u2c6c\ua763"}],Wn=new RegExp("["+Hn.map((function(e){return e.letters})).join("")+"]","g"),Yn={},Kn=0;Kn<Hn.length;Kn++)for(var Jn=Hn[Kn],Xn=0;Xn<Jn.letters.length;Xn++)Yn[Jn.letters[Xn]]=Jn.base;var Zn=function(e){return e.replace(Wn,(function(e){return Yn[e]}))},$n=function(e,t){void 0===t&&(t=Qn);var n=null;function r(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];if(n&&n.lastThis===this&&t(r,n.lastArgs))return n.lastResult;var o=e.apply(this,r);return n={lastResult:o,lastArgs:r,lastThis:this},o}return r.clear=function(){n=null},r}(Zn),er=function(e){return e.replace(/^\s+|\s+$/g,"")},tr=function(e){return"".concat(e.label," ").concat(e.value)},nr=["innerRef"];function rr(e){var t=e.innerRef,n=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var i=Object.entries(e).filter((function(e){var t=Et(e,1)[0];return!n.includes(t)}));return i.reduce((function(e,t){var n=Et(t,2),r=n[0],i=n[1];return e[r]=i,e}),{})}(It(e,nr),"onExited","in","enter","exit","appear");return xt("input",a({ref:t},n,{css:Ct({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},"","")}))}var ir=["boxSizing","height","overflow","paddingRight","position"],or={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function ar(e){e.preventDefault()}function sr(e){e.stopPropagation()}function lr(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function cr(){return"ontouchstart"in window||navigator.maxTouchPoints}var ur=!("undefined"==typeof window||!window.document||!window.document.createElement),dr=0,pr={capture:!1,passive:!1},hr=function(e){var t=e.target;return t.ownerDocument.activeElement&&t.ownerDocument.activeElement.blur()},fr={name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"};function mr(e){var t=e.children,n=e.lockEnabled,i=e.captureEnabled,o=function(e){var t=e.isEnabled,n=e.onBottomArrive,i=e.onBottomLeave,o=e.onTopArrive,a=e.onTopLeave,s=(0,r.useRef)(!1),l=(0,r.useRef)(!1),c=(0,r.useRef)(0),u=(0,r.useRef)(null),d=(0,r.useCallback)((function(e,t){if(null!==u.current){var r=u.current,c=r.scrollTop,d=r.scrollHeight,p=r.clientHeight,h=u.current,f=t>0,m=d-p-c,g=!1;m>t&&s.current&&(i&&i(e),s.current=!1),f&&l.current&&(a&&a(e),l.current=!1),f&&t>m?(n&&!s.current&&n(e),h.scrollTop=d,g=!0,s.current=!0):!f&&-t>c&&(o&&!l.current&&o(e),h.scrollTop=0,g=!0,l.current=!0),g&&function(e){e.cancelable&&e.preventDefault(),e.stopPropagation()}(e)}}),[n,i,o,a]),p=(0,r.useCallback)((function(e){d(e,e.deltaY)}),[d]),h=(0,r.useCallback)((function(e){c.current=e.changedTouches[0].clientY}),[]),f=(0,r.useCallback)((function(e){var t=c.current-e.changedTouches[0].clientY;d(e,t)}),[d]),m=(0,r.useCallback)((function(e){if(e){var t=!!ln&&{passive:!1};e.addEventListener("wheel",p,t),e.addEventListener("touchstart",h,t),e.addEventListener("touchmove",f,t)}}),[f,h,p]),g=(0,r.useCallback)((function(e){e&&(e.removeEventListener("wheel",p,!1),e.removeEventListener("touchstart",h,!1),e.removeEventListener("touchmove",f,!1))}),[f,h,p]);return(0,r.useEffect)((function(){if(t){var e=u.current;return m(e),function(){g(e)}}}),[t,m,g]),function(e){u.current=e}}({isEnabled:void 0===i||i,onBottomArrive:e.onBottomArrive,onBottomLeave:e.onBottomLeave,onTopArrive:e.onTopArrive,onTopLeave:e.onTopLeave}),a=function(e){var t=e.isEnabled,n=e.accountForScrollbars,i=void 0===n||n,o=(0,r.useRef)({}),a=(0,r.useRef)(null),s=(0,r.useCallback)((function(e){if(ur){var t=document.body,n=t&&t.style;if(i&&ir.forEach((function(e){var t=n&&n[e];o.current[e]=t})),i&&dr<1){var r=parseInt(o.current.paddingRight,10)||0,a=document.body?document.body.clientWidth:0,s=window.innerWidth-a+r||0;Object.keys(or).forEach((function(e){var t=or[e];n&&(n[e]=t)})),n&&(n.paddingRight="".concat(s,"px"))}t&&cr()&&(t.addEventListener("touchmove",ar,pr),e&&(e.addEventListener("touchstart",lr,pr),e.addEventListener("touchmove",sr,pr))),dr+=1}}),[i]),l=(0,r.useCallback)((function(e){if(ur){var t=document.body,n=t&&t.style;dr=Math.max(dr-1,0),i&&dr<1&&ir.forEach((function(e){var t=o.current[e];n&&(n[e]=t)})),t&&cr()&&(t.removeEventListener("touchmove",ar,pr),e&&(e.removeEventListener("touchstart",lr,pr),e.removeEventListener("touchmove",sr,pr)))}}),[i]);return(0,r.useEffect)((function(){if(t){var e=a.current;return s(e),function(){l(e)}}}),[t,s,l]),function(e){a.current=e}}({isEnabled:n});return xt(r.Fragment,null,n&&xt("div",{onClick:hr,css:fr}),t((function(e){o(e),a(e)})))}var gr={name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"},vr=function(e){var t=e.name,n=e.onFocus;return xt("input",{required:!0,name:t,tabIndex:-1,"aria-hidden":"true",onFocus:n,css:gr,value:"",onChange:function(){}})};function yr(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&e.test((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.platform)||window.navigator.platform)}function Ar(){return yr(/^Mac/i)}var br={clearIndicator:On,container:function(e){var t=e.isDisabled;return{label:"container",direction:e.isRtl?"rtl":void 0,pointerEvents:t?"none":void 0,position:"relative"}},control:function(e,t){var n=e.isDisabled,r=e.isFocused,i=e.theme,o=i.colors,a=i.borderRadius;return d({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:i.spacing.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},t?{}:{backgroundColor:n?o.neutral5:o.neutral0,borderColor:n?o.neutral10:r?o.primary:o.neutral20,borderRadius:a,borderStyle:"solid",borderWidth:1,boxShadow:r?"0 0 0 1px ".concat(o.primary):void 0,"&:hover":{borderColor:r?o.primary:o.neutral30}})},dropdownIndicator:Pn,group:function(e,t){var n=e.theme.spacing;return t?{}:{paddingBottom:2*n.baseUnit,paddingTop:2*n.baseUnit}},groupHeading:function(e,t){var n=e.theme,r=n.colors,i=n.spacing;return d({label:"group",cursor:"default",display:"block"},t?{}:{color:r.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:3*i.baseUnit,paddingRight:3*i.baseUnit,textTransform:"uppercase"})},indicatorsContainer:function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},indicatorSeparator:function(e,t){var n=e.isDisabled,r=e.theme,i=r.spacing.baseUnit,o=r.colors;return d({label:"indicatorSeparator",alignSelf:"stretch",width:1},t?{}:{backgroundColor:n?o.neutral10:o.neutral20,marginBottom:2*i,marginTop:2*i})},input:function(e,t){var n=e.isDisabled,r=e.value,i=e.theme,o=i.spacing,a=i.colors;return d(d({visibility:n?"hidden":"visible",transform:r?"translateZ(0)":""},Mn),t?{}:{margin:o.baseUnit/2,paddingBottom:o.baseUnit/2,paddingTop:o.baseUnit/2,color:a.neutral80})},loadingIndicator:function(e,t){var n=e.isFocused,r=e.size,i=e.theme,o=i.colors,a=i.spacing.baseUnit;return d({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:r,lineHeight:1,marginRight:r,textAlign:"center",verticalAlign:"middle"},t?{}:{color:n?o.neutral60:o.neutral20,padding:2*a})},loadingMessage:wn,menu:function(e,t){var n,r=e.placement,i=e.theme,o=i.borderRadius,a=i.spacing,s=i.colors;return d((c(n={label:"menu"},function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(r),"100%"),c(n,"position","absolute"),c(n,"width","100%"),c(n,"zIndex",1),n),t?{}:{backgroundColor:s.neutral0,borderRadius:o,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:a.menuGutter,marginTop:a.menuGutter})},menuList:function(e,t){var n=e.maxHeight,r=e.theme.spacing.baseUnit;return d({maxHeight:n,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},t?{}:{paddingBottom:r,paddingTop:r})},menuPortal:function(e){var t=e.rect,n=e.offset,r=e.position;return{left:t.left,position:r,top:n,width:t.width,zIndex:1}},multiValue:function(e,t){var n=e.theme,r=n.spacing,i=n.borderRadius,o=n.colors;return d({label:"multiValue",display:"flex",minWidth:0},t?{}:{backgroundColor:o.neutral10,borderRadius:i/2,margin:r.baseUnit/2})},multiValueLabel:function(e,t){var n=e.theme,r=n.borderRadius,i=n.colors,o=e.cropWithEllipsis;return d({overflow:"hidden",textOverflow:o||void 0===o?"ellipsis":void 0,whiteSpace:"nowrap"},t?{}:{borderRadius:r/2,color:i.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},multiValueRemove:function(e,t){var n=e.theme,r=n.spacing,i=n.borderRadius,o=n.colors,a=e.isFocused;return d({alignItems:"center",display:"flex"},t?{}:{borderRadius:i/2,backgroundColor:a?o.dangerLight:void 0,paddingLeft:r.baseUnit,paddingRight:r.baseUnit,":hover":{backgroundColor:o.dangerLight,color:o.danger}})},noOptionsMessage:bn,option:function(e,t){var n=e.isDisabled,r=e.isFocused,i=e.isSelected,o=e.theme,a=o.spacing,s=o.colors;return d({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},t?{}:{backgroundColor:i?s.primary:r?s.primary25:"transparent",color:n?s.neutral20:i?s.neutral0:"inherit",padding:"".concat(2*a.baseUnit,"px ").concat(3*a.baseUnit,"px"),":active":{backgroundColor:n?void 0:i?s.primary:s.primary50}})},placeholder:function(e,t){var n=e.theme,r=n.spacing,i=n.colors;return d({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},t?{}:{color:i.neutral50,marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2})},singleValue:function(e,t){var n=e.isDisabled,r=e.theme,i=r.spacing,o=r.colors;return d({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t?{}:{color:n?o.neutral40:o.neutral80,marginLeft:i.baseUnit/2,marginRight:i.baseUnit/2})},valueContainer:function(e,t){var n=e.theme.spacing,r=e.isMulti,i=e.hasValue,o=e.selectProps.controlShouldRenderValue;return d({alignItems:"center",display:r&&i&&o?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},t?{}:{padding:"".concat(n.baseUnit/2,"px ").concat(2*n.baseUnit,"px")})}},wr={borderRadius:4,colors:{primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},spacing:{baseUnit:4,controlHeight:38,menuGutter:8}},xr={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:rn(),captureMenuScroll:!rn(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:function(e,t){if(e.data.__isNew__)return!0;var n=d({ignoreCase:!0,ignoreAccents:!0,stringify:tr,trim:!0,matchFrom:"any"},undefined),r=n.ignoreCase,i=n.ignoreAccents,o=n.stringify,a=n.trim,s=n.matchFrom,l=a?er(t):t,c=a?er(o(e)):o(e);return r&&(l=l.toLowerCase(),c=c.toLowerCase()),i&&(l=$n(l),c=Zn(c)),"start"===s?c.substr(0,l.length)===l:c.indexOf(l)>-1},formatGroupLabel:function(e){return e.label},getOptionLabel:function(e){return e.label},getOptionValue:function(e){return e.value},isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:function(e){return!!e.isDisabled},loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!function(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch(e){return!1}}(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(e){var t=e.count;return"".concat(t," result").concat(1!==t?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function Cr(e,t,n,r){return{type:"option",data:t,isDisabled:Tr(e,t,n),isSelected:Dr(e,t,n),label:Pr(e,t),value:Or(e,t),index:r}}function Sr(e,t){return e.options.map((function(n,r){if("options"in n){var i=n.options.map((function(n,r){return Cr(e,n,t,r)})).filter((function(t){return Ir(e,t)}));return i.length>0?{type:"group",data:n,options:i,index:r}:void 0}var o=Cr(e,n,t,r);return Ir(e,o)?o:void 0})).filter(cn)}function kr(e){return e.reduce((function(e,t){return"group"===t.type?e.push.apply(e,y(t.options.map((function(e){return e.data})))):e.push(t.data),e}),[])}function Er(e,t){return e.reduce((function(e,n){return"group"===n.type?e.push.apply(e,y(n.options.map((function(e){return{data:e.data,id:"".concat(t,"-").concat(n.index,"-").concat(e.index)}})))):e.push({data:n.data,id:"".concat(t,"-").concat(n.index)}),e}),[])}function Ir(e,t){var n=e.inputValue,r=void 0===n?"":n,i=t.data,o=t.isSelected,a=t.label,s=t.value;return(!Br(e)||!o)&&jr(e,{label:a,value:s,data:i},r)}var _r=function(e,t){var n;return(null===(n=e.find((function(e){return e.data===t})))||void 0===n?void 0:n.id)||null},Pr=function(e,t){return e.getOptionLabel(t)},Or=function(e,t){return e.getOptionValue(t)};function Tr(e,t,n){return"function"==typeof e.isOptionDisabled&&e.isOptionDisabled(t,n)}function Dr(e,t,n){if(n.indexOf(t)>-1)return!0;if("function"==typeof e.isOptionSelected)return e.isOptionSelected(t,n);var r=Or(e,t);return n.some((function(t){return Or(e,t)===r}))}function jr(e,t,n){return!e.filterOption||e.filterOption(t,n)}var Br=function(e){var t=e.hideSelectedOptions,n=e.isMulti;return void 0===t?n:t},Nr=1,Mr=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&h(e,t)}(o,r.Component);var e,t,n,i=m(o);function o(e){var t;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,o),(t=i.call(this,e)).state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:""},t.blockOptionHover=!1,t.isComposing=!1,t.commonProps=void 0,t.initialTouchX=0,t.initialTouchY=0,t.openAfterFocus=!1,t.scrollToFocusedOptionOnUpdate=!1,t.userIsDragging=void 0,t.isAppleDevice=Ar()||yr(/^iPhone/i)||yr(/^iPad/i)||Ar()&&navigator.maxTouchPoints>1,t.controlRef=null,t.getControlRef=function(e){t.controlRef=e},t.focusedOptionRef=null,t.getFocusedOptionRef=function(e){t.focusedOptionRef=e},t.menuListRef=null,t.getMenuListRef=function(e){t.menuListRef=e},t.inputRef=null,t.getInputRef=function(e){t.inputRef=e},t.focus=t.focusInput,t.blur=t.blurInput,t.onChange=function(e,n){var r=t.props,i=r.onChange,o=r.name;n.name=o,t.ariaOnChange(e,n),i(e,n)},t.setValue=function(e,n,r){var i=t.props,o=i.closeMenuOnSelect,a=i.isMulti,s=i.inputValue;t.onInputChange("",{action:"set-value",prevInputValue:s}),o&&(t.setState({inputIsHiddenAfterUpdate:!a}),t.onMenuClose()),t.setState({clearFocusValueOnUpdate:!0}),t.onChange(e,{action:n,option:r})},t.selectOption=function(e){var n=t.props,r=n.blurInputOnSelect,i=n.isMulti,o=n.name,a=t.state.selectValue,s=i&&t.isOptionSelected(e,a),l=t.isOptionDisabled(e,a);if(s){var c=t.getOptionValue(e);t.setValue(a.filter((function(e){return t.getOptionValue(e)!==c})),"deselect-option",e)}else{if(l)return void t.ariaOnChange(e,{action:"select-option",option:e,name:o});i?t.setValue([].concat(y(a),[e]),"select-option",e):t.setValue(e,"select-option")}r&&t.blurInput()},t.removeValue=function(e){var n=t.props.isMulti,r=t.state.selectValue,i=t.getOptionValue(e),o=r.filter((function(e){return t.getOptionValue(e)!==i})),a=un(n,o,o[0]||null);t.onChange(a,{action:"remove-value",removedValue:e}),t.focusInput()},t.clearValue=function(){var e=t.state.selectValue;t.onChange(un(t.props.isMulti,[],null),{action:"clear",removedValues:e})},t.popValue=function(){var e=t.props.isMulti,n=t.state.selectValue,r=n[n.length-1],i=n.slice(0,n.length-1),o=un(e,i,i[0]||null);t.onChange(o,{action:"pop-value",removedValue:r})},t.getFocusedOptionId=function(e){return _r(t.state.focusableOptionsWithIds,e)},t.getFocusableOptionsWithIds=function(){return Er(Sr(t.props,t.state.selectValue),t.getElementId("option"))},t.getValue=function(){return t.state.selectValue},t.cx=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return Yt.apply(void 0,[t.props.classNamePrefix].concat(n))},t.getOptionLabel=function(e){return Pr(t.props,e)},t.getOptionValue=function(e){return Or(t.props,e)},t.getStyles=function(e,n){var r=t.props.unstyled,i=br[e](n,r);i.boxSizing="border-box";var o=t.props.styles[e];return o?o(i,n):i},t.getClassNames=function(e,n){var r,i;return null===(r=(i=t.props.classNames)[e])||void 0===r?void 0:r.call(i,n)},t.getElementId=function(e){return"".concat(t.state.instancePrefix,"-").concat(e)},t.getComponents=function(){return e=t.props,d(d({},Fn),e.components);var e},t.buildCategorizedOptions=function(){return Sr(t.props,t.state.selectValue)},t.getCategorizedOptions=function(){return t.props.menuIsOpen?t.buildCategorizedOptions():[]},t.buildFocusableOptions=function(){return kr(t.buildCategorizedOptions())},t.getFocusableOptions=function(){return t.props.menuIsOpen?t.buildFocusableOptions():[]},t.ariaOnChange=function(e,n){t.setState({ariaSelection:d({value:e},n)})},t.onMenuMouseDown=function(e){0===e.button&&(e.stopPropagation(),e.preventDefault(),t.focusInput())},t.onMenuMouseMove=function(e){t.blockOptionHover=!1},t.onControlMouseDown=function(e){if(!e.defaultPrevented){var n=t.props.openMenuOnClick;t.state.isFocused?t.props.menuIsOpen?"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&t.onMenuClose():n&&t.openMenu("first"):(n&&(t.openAfterFocus=!0),t.focusInput()),"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&e.preventDefault()}},t.onDropdownIndicatorMouseDown=function(e){if(!(e&&"mousedown"===e.type&&0!==e.button||t.props.isDisabled)){var n=t.props,r=n.isMulti,i=n.menuIsOpen;t.focusInput(),i?(t.setState({inputIsHiddenAfterUpdate:!r}),t.onMenuClose()):t.openMenu("first"),e.preventDefault()}},t.onClearIndicatorMouseDown=function(e){e&&"mousedown"===e.type&&0!==e.button||(t.clearValue(),e.preventDefault(),t.openAfterFocus=!1,"touchend"===e.type?t.focusInput():setTimeout((function(){return t.focusInput()})))},t.onScroll=function(e){"boolean"==typeof t.props.closeMenuOnScroll?e.target instanceof HTMLElement&&Zt(e.target)&&t.props.onMenuClose():"function"==typeof t.props.closeMenuOnScroll&&t.props.closeMenuOnScroll(e)&&t.props.onMenuClose()},t.onCompositionStart=function(){t.isComposing=!0},t.onCompositionEnd=function(){t.isComposing=!1},t.onTouchStart=function(e){var n=e.touches,r=n&&n.item(0);r&&(t.initialTouchX=r.clientX,t.initialTouchY=r.clientY,t.userIsDragging=!1)},t.onTouchMove=function(e){var n=e.touches,r=n&&n.item(0);if(r){var i=Math.abs(r.clientX-t.initialTouchX),o=Math.abs(r.clientY-t.initialTouchY);t.userIsDragging=i>5||o>5}},t.onTouchEnd=function(e){t.userIsDragging||(t.controlRef&&!t.controlRef.contains(e.target)&&t.menuListRef&&!t.menuListRef.contains(e.target)&&t.blurInput(),t.initialTouchX=0,t.initialTouchY=0)},t.onControlTouchEnd=function(e){t.userIsDragging||t.onControlMouseDown(e)},t.onClearIndicatorTouchEnd=function(e){t.userIsDragging||t.onClearIndicatorMouseDown(e)},t.onDropdownIndicatorTouchEnd=function(e){t.userIsDragging||t.onDropdownIndicatorMouseDown(e)},t.handleInputChange=function(e){var n=t.props.inputValue,r=e.currentTarget.value;t.setState({inputIsHiddenAfterUpdate:!1}),t.onInputChange(r,{action:"input-change",prevInputValue:n}),t.props.menuIsOpen||t.onMenuOpen()},t.onInputFocus=function(e){t.props.onFocus&&t.props.onFocus(e),t.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(t.openAfterFocus||t.props.openMenuOnFocus)&&t.openMenu("first"),t.openAfterFocus=!1},t.onInputBlur=function(e){var n=t.props.inputValue;t.menuListRef&&t.menuListRef.contains(document.activeElement)?t.inputRef.focus():(t.props.onBlur&&t.props.onBlur(e),t.onInputChange("",{action:"input-blur",prevInputValue:n}),t.onMenuClose(),t.setState({focusedValue:null,isFocused:!1}))},t.onOptionHover=function(e){if(!t.blockOptionHover&&t.state.focusedOption!==e){var n=t.getFocusableOptions().indexOf(e);t.setState({focusedOption:e,focusedOptionId:n>-1?t.getFocusedOptionId(e):null})}},t.shouldHideSelectedOptions=function(){return Br(t.props)},t.onValueInputFocus=function(e){e.preventDefault(),e.stopPropagation(),t.focus()},t.onKeyDown=function(e){var n=t.props,r=n.isMulti,i=n.backspaceRemovesValue,o=n.escapeClearsValue,a=n.inputValue,s=n.isClearable,l=n.isDisabled,c=n.menuIsOpen,u=n.onKeyDown,d=n.tabSelectsValue,p=n.openMenuOnFocus,h=t.state,f=h.focusedOption,m=h.focusedValue,g=h.selectValue;if(!(l||"function"==typeof u&&(u(e),e.defaultPrevented))){switch(t.blockOptionHover=!0,e.key){case"ArrowLeft":if(!r||a)return;t.focusValue("previous");break;case"ArrowRight":if(!r||a)return;t.focusValue("next");break;case"Delete":case"Backspace":if(a)return;if(m)t.removeValue(m);else{if(!i)return;r?t.popValue():s&&t.clearValue()}break;case"Tab":if(t.isComposing)return;if(e.shiftKey||!c||!d||!f||p&&t.isOptionSelected(f,g))return;t.selectOption(f);break;case"Enter":if(229===e.keyCode)break;if(c){if(!f)return;if(t.isComposing)return;t.selectOption(f);break}return;case"Escape":c?(t.setState({inputIsHiddenAfterUpdate:!1}),t.onInputChange("",{action:"menu-close",prevInputValue:a}),t.onMenuClose()):s&&o&&t.clearValue();break;case" ":if(a)return;if(!c){t.openMenu("first");break}if(!f)return;t.selectOption(f);break;case"ArrowUp":c?t.focusOption("up"):t.openMenu("last");break;case"ArrowDown":c?t.focusOption("down"):t.openMenu("first");break;case"PageUp":if(!c)return;t.focusOption("pageup");break;case"PageDown":if(!c)return;t.focusOption("pagedown");break;case"Home":if(!c)return;t.focusOption("first");break;case"End":if(!c)return;t.focusOption("last");break;default:return}e.preventDefault()}},t.state.instancePrefix="react-select-"+(t.props.instanceId||++Nr),t.state.selectValue=Kt(e.value),e.menuIsOpen&&t.state.selectValue.length){var n=t.getFocusableOptionsWithIds(),r=t.buildFocusableOptions(),a=r.indexOf(t.state.selectValue[0]);t.state.focusableOptionsWithIds=n,t.state.focusedOption=r[a],t.state.focusedOptionId=_r(n,r[a])}return t}return e=o,t=[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&nn(this.menuListRef,this.focusedOptionRef)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isDisabled,r=t.menuIsOpen,i=this.state.isFocused;(i&&!n&&e.isDisabled||i&&r&&!e.menuIsOpen)&&this.focusInput(),i&&n&&!e.isDisabled?this.setState({isFocused:!1},this.onMenuClose):i||n||!e.isDisabled||this.inputRef!==document.activeElement||this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(nn(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(e,t){this.props.onInputChange(e,t)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(e){var t=this,n=this.state,r=n.selectValue,i=n.isFocused,o=this.buildFocusableOptions(),a="first"===e?0:o.length-1;if(!this.props.isMulti){var s=o.indexOf(r[0]);s>-1&&(a=s)}this.scrollToFocusedOptionOnUpdate=!(i&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:o[a],focusedOptionId:this.getFocusedOptionId(o[a])},(function(){return t.onMenuOpen()}))}},{key:"focusValue",value:function(e){var t=this.state,n=t.selectValue,r=t.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var i=n.indexOf(r);r||(i=-1);var o=n.length-1,a=-1;if(n.length){switch(e){case"previous":a=0===i?0:-1===i?o:i-1;break;case"next":i>-1&&i<o&&(a=i+1)}this.setState({inputIsHidden:-1!==a,focusedValue:n[a]})}}}},{key:"focusOption",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"first",t=this.props.pageSize,n=this.state.focusedOption,r=this.getFocusableOptions();if(r.length){var i=0,o=r.indexOf(n);n||(o=-1),"up"===e?i=o>0?o-1:r.length-1:"down"===e?i=(o+1)%r.length:"pageup"===e?(i=o-t)<0&&(i=0):"pagedown"===e?(i=o+t)>r.length-1&&(i=r.length-1):"last"===e&&(i=r.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:r[i],focusedValue:null,focusedOptionId:this.getFocusedOptionId(r[i])})}}},{key:"getTheme",value:function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme(wr):d(d({},wr),this.props.theme):wr}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.cx,n=this.getStyles,r=this.getClassNames,i=this.getValue,o=this.selectOption,a=this.setValue,s=this.props,l=s.isMulti,c=s.isRtl,u=s.options;return{clearValue:e,cx:t,getStyles:n,getClassNames:r,getValue:i,hasValue:this.hasValue(),isMulti:l,isRtl:c,options:u,selectOption:o,selectProps:s,setValue:a,theme:this.getTheme()}}},{key:"hasValue",value:function(){return this.state.selectValue.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var e=this.props,t=e.isClearable,n=e.isMulti;return void 0===t?n:t}},{key:"isOptionDisabled",value:function(e,t){return Tr(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return Dr(this.props,e,t)}},{key:"filterOption",value:function(e,t){return jr(this.props,e,t)}},{key:"formatOptionLabel",value:function(e,t){if("function"==typeof this.props.formatOptionLabel){var n=this.props.inputValue,r=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:n,selectValue:r})}return this.getOptionLabel(e)}},{key:"formatGroupLabel",value:function(e){return this.props.formatGroupLabel(e)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var e=this.props,t=e.isDisabled,n=e.isSearchable,i=e.inputId,o=e.inputValue,s=e.tabIndex,l=e.form,c=e.menuIsOpen,u=e.required,p=this.getComponents().Input,h=this.state,f=h.inputIsHidden,m=h.ariaSelection,g=this.commonProps,v=i||this.getElementId("input"),y=d(d(d({"aria-autocomplete":"list","aria-expanded":c,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":u,role:"combobox","aria-activedescendant":this.isAppleDevice?void 0:this.state.focusedOptionId||""},c&&{"aria-controls":this.getElementId("listbox")}),!n&&{"aria-readonly":!0}),this.hasValue()?"initial-input-focus"===(null==m?void 0:m.action)&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return n?r.createElement(p,a({},g,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:v,innerRef:this.getInputRef,isDisabled:t,isHidden:f,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:s,form:l,type:"text",value:o},y)):r.createElement(rr,a({id:v,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:Ht,onFocus:this.onInputFocus,disabled:t,tabIndex:s,inputMode:"none",form:l,value:""},y))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,t=this.getComponents(),n=t.MultiValue,i=t.MultiValueContainer,o=t.MultiValueLabel,s=t.MultiValueRemove,l=t.SingleValue,c=t.Placeholder,u=this.commonProps,d=this.props,p=d.controlShouldRenderValue,h=d.isDisabled,f=d.isMulti,m=d.inputValue,g=d.placeholder,v=this.state,y=v.selectValue,A=v.focusedValue,b=v.isFocused;if(!this.hasValue()||!p)return m?null:r.createElement(c,a({},u,{key:"placeholder",isDisabled:h,isFocused:b,innerProps:{id:this.getElementId("placeholder")}}),g);if(f)return y.map((function(t,l){var c=t===A,d="".concat(e.getOptionLabel(t),"-").concat(e.getOptionValue(t));return r.createElement(n,a({},u,{components:{Container:i,Label:o,Remove:s},isFocused:c,isDisabled:h,key:d,index:l,removeProps:{onClick:function(){return e.removeValue(t)},onTouchEnd:function(){return e.removeValue(t)},onMouseDown:function(e){e.preventDefault()}},data:t}),e.formatOptionLabel(t,"value"))}));if(m)return null;var w=y[0];return r.createElement(l,a({},u,{data:w,isDisabled:h}),this.formatOptionLabel(w,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.getComponents().ClearIndicator,t=this.commonProps,n=this.props,i=n.isDisabled,o=n.isLoading,s=this.state.isFocused;if(!this.isClearable()||!e||i||!this.hasValue()||o)return null;var l={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return r.createElement(e,a({},t,{innerProps:l,isFocused:s}))}},{key:"renderLoadingIndicator",value:function(){var e=this.getComponents().LoadingIndicator,t=this.commonProps,n=this.props,i=n.isDisabled,o=n.isLoading,s=this.state.isFocused;return e&&o?r.createElement(e,a({},t,{innerProps:{"aria-hidden":"true"},isDisabled:i,isFocused:s})):null}},{key:"renderIndicatorSeparator",value:function(){var e=this.getComponents(),t=e.DropdownIndicator,n=e.IndicatorSeparator;if(!t||!n)return null;var i=this.commonProps,o=this.props.isDisabled,s=this.state.isFocused;return r.createElement(n,a({},i,{isDisabled:o,isFocused:s}))}},{key:"renderDropdownIndicator",value:function(){var e=this.getComponents().DropdownIndicator;if(!e)return null;var t=this.commonProps,n=this.props.isDisabled,i=this.state.isFocused,o={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return r.createElement(e,a({},t,{innerProps:o,isDisabled:n,isFocused:i}))}},{key:"renderMenu",value:function(){var e=this,t=this.getComponents(),n=t.Group,i=t.GroupHeading,o=t.Menu,s=t.MenuList,l=t.MenuPortal,c=t.LoadingMessage,u=t.NoOptionsMessage,d=t.Option,p=this.commonProps,h=this.state.focusedOption,f=this.props,m=f.captureMenuScroll,g=f.inputValue,v=f.isLoading,y=f.loadingMessage,A=f.minMenuHeight,b=f.maxMenuHeight,w=f.menuIsOpen,x=f.menuPlacement,C=f.menuPosition,S=f.menuPortalTarget,k=f.menuShouldBlockScroll,E=f.menuShouldScrollIntoView,I=f.noOptionsMessage,_=f.onMenuScrollToTop,P=f.onMenuScrollToBottom;if(!w)return null;var O,T=function(t,n){var i=t.type,o=t.data,s=t.isDisabled,l=t.isSelected,c=t.label,u=t.value,f=h===o,m=s?void 0:function(){return e.onOptionHover(o)},g=s?void 0:function(){return e.selectOption(o)},v="".concat(e.getElementId("option"),"-").concat(n),y={id:v,onClick:g,onMouseMove:m,onMouseOver:m,tabIndex:-1,role:"option","aria-selected":e.isAppleDevice?void 0:l};return r.createElement(d,a({},p,{innerProps:y,data:o,isDisabled:s,isSelected:l,key:v,label:c,type:i,value:u,isFocused:f,innerRef:f?e.getFocusedOptionRef:void 0}),e.formatOptionLabel(t.data,"menu"))};if(this.hasOptions())O=this.getCategorizedOptions().map((function(t){if("group"===t.type){var o=t.data,s=t.options,l=t.index,c="".concat(e.getElementId("group"),"-").concat(l),u="".concat(c,"-heading");return r.createElement(n,a({},p,{key:c,data:o,options:s,Heading:i,headingProps:{id:u,data:t.data},label:e.formatGroupLabel(t.data)}),t.options.map((function(e){return T(e,"".concat(l,"-").concat(e.index))})))}if("option"===t.type)return T(t,"".concat(t.index))}));else if(v){var D=y({inputValue:g});if(null===D)return null;O=r.createElement(c,p,D)}else{var j=I({inputValue:g});if(null===j)return null;O=r.createElement(u,p,j)}var B={minMenuHeight:A,maxMenuHeight:b,menuPlacement:x,menuPosition:C,menuShouldScrollIntoView:E},N=r.createElement(yn,a({},p,B),(function(t){var n=t.ref,i=t.placerProps,l=i.placement,c=i.maxHeight;return r.createElement(o,a({},p,B,{innerRef:n,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove},isLoading:v,placement:l}),r.createElement(mr,{captureEnabled:m,onTopArrive:_,onBottomArrive:P,lockEnabled:k},(function(t){return r.createElement(s,a({},p,{innerRef:function(n){e.getMenuListRef(n),t(n)},innerProps:{role:"listbox","aria-multiselectable":p.isMulti,id:e.getElementId("listbox")},isLoading:v,maxHeight:c,focusedOption:h}),O)})))}));return S||"fixed"===C?r.createElement(l,a({},p,{appendTo:S,controlElement:this.controlRef,menuPlacement:x,menuPosition:C}),N):N}},{key:"renderFormField",value:function(){var e=this,t=this.props,n=t.delimiter,i=t.isDisabled,o=t.isMulti,a=t.name,s=t.required,l=this.state.selectValue;if(s&&!this.hasValue()&&!i)return r.createElement(vr,{name:a,onFocus:this.onValueInputFocus});if(a&&!i){if(o){if(n){var c=l.map((function(t){return e.getOptionValue(t)})).join(n);return r.createElement("input",{name:a,type:"hidden",value:c})}var u=l.length>0?l.map((function(t,n){return r.createElement("input",{key:"i-".concat(n),name:a,type:"hidden",value:e.getOptionValue(t)})})):r.createElement("input",{name:a,type:"hidden",value:""});return r.createElement("div",null,u)}var d=l[0]?this.getOptionValue(l[0]):"";return r.createElement("input",{name:a,type:"hidden",value:d})}}},{key:"renderLiveRegion",value:function(){var e=this.commonProps,t=this.state,n=t.ariaSelection,i=t.focusedOption,o=t.focusedValue,s=t.isFocused,l=t.selectValue,c=this.getFocusableOptions();return r.createElement(qn,a({},e,{id:this.getElementId("live-region"),ariaSelection:n,focusedOption:i,focusedValue:o,isFocused:s,selectValue:l,focusableOptions:c,isAppleDevice:this.isAppleDevice}))}},{key:"render",value:function(){var e=this.getComponents(),t=e.Control,n=e.IndicatorsContainer,i=e.SelectContainer,o=e.ValueContainer,s=this.props,l=s.className,c=s.id,u=s.isDisabled,d=s.menuIsOpen,p=this.state.isFocused,h=this.commonProps=this.getCommonProps();return r.createElement(i,a({},h,{className:l,innerProps:{id:c,onKeyDown:this.onKeyDown},isDisabled:u,isFocused:p}),this.renderLiveRegion(),r.createElement(t,a({},h,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:u,isFocused:p,menuIsOpen:d}),r.createElement(o,a({},h,{isDisabled:u}),this.renderPlaceholderOrValue(),this.renderInput()),r.createElement(n,a({},h,{isDisabled:u}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],n=[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps,r=t.clearFocusValueOnUpdate,i=t.inputIsHiddenAfterUpdate,o=t.ariaSelection,a=t.isFocused,s=t.prevWasFocused,l=t.instancePrefix,c=e.options,u=e.value,p=e.menuIsOpen,h=e.inputValue,f=e.isMulti,m=Kt(u),g={};if(n&&(u!==n.value||c!==n.options||p!==n.menuIsOpen||h!==n.inputValue)){var v=p?function(e,t){return kr(Sr(e,t))}(e,m):[],y=p?Er(Sr(e,m),"".concat(l,"-option")):[],A=r?function(e,t){var n=e.focusedValue,r=e.selectValue.indexOf(n);if(r>-1){if(t.indexOf(n)>-1)return n;if(r<t.length)return t[r]}return null}(t,m):null,b=function(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}(t,v);g={selectValue:m,focusedOption:b,focusedOptionId:_r(y,b),focusableOptionsWithIds:y,focusedValue:A,clearFocusValueOnUpdate:!1}}var w=null!=i&&e!==n?{inputIsHidden:i,inputIsHiddenAfterUpdate:void 0}:{},x=o,C=a&&s;return a&&!C&&(x={value:un(f,m,m[0]||null),options:m,action:"initial-input-focus"},C=!s),"initial-input-focus"===(null==o?void 0:o.action)&&(x=null),d(d(d({},g),w),{},{prevProps:e,ariaSelection:x,prevWasFocused:C})}}],t&&p(e.prototype,t),n&&p(e,n),Object.defineProperty(e,"prototype",{writable:!1}),o}();Mr.defaultProps=xr;var Rr=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"],Lr=["defaultOptions","cacheOptions","loadOptions","options","isLoading","onInputChange","filterOption"],Fr=Se((function(e){function t(n){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})),zr=Se((function(e){var t=Fr.default;e.exports=function(e,n){if("object"!==t(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var i=r.call(e,n||"default");if("object"!==t(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports})),Qr=Se((function(e){var t=Fr.default;e.exports=function(e){var n=zr(e,"string");return"symbol"===t(n)?n:String(n)},e.exports.__esModule=!0,e.exports.default=e.exports})),Ur=Se((function(e){e.exports=function(e,t,n){return(t=Qr(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.__esModule=!0,e.exports.default=e.exports}));Se((function(e){function t(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}e.exports=function(e){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{};n%2?t(Object(r),!0).forEach((function(t){Ur(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):t(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e},e.exports.__esModule=!0,e.exports.default=e.exports})),Se((function(e){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.__esModule=!0,e.exports.default=e.exports})),Se((function(e){function t(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Qr(r.key),r)}}e.exports=function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e},e.exports.__esModule=!0,e.exports.default=e.exports}));var Vr=Se((function(e){function t(n,r){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(n,r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}));Se((function(e){e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Vr(e,t)},e.exports.__esModule=!0,e.exports.default=e.exports}));var Gr=Se((function(e){function t(n){return e.exports=t=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})),qr=Se((function(e){e.exports=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}},e.exports.__esModule=!0,e.exports.default=e.exports})),Hr=Se((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})),Wr=Se((function(e){var t=Fr.default;e.exports=function(e,n){if(n&&("object"===t(n)||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return Hr(e)},e.exports.__esModule=!0,e.exports.default=e.exports}));Se((function(e){e.exports=function(e){var t=qr();return function(){var n,r=Gr(e);if(t){var i=Gr(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return Wr(this,n)}},e.exports.__esModule=!0,e.exports.default=e.exports}));var Yr=Se((function(e){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r},e.exports.__esModule=!0,e.exports.default=e.exports})),Kr=Se((function(e){e.exports=function(e){if(Array.isArray(e))return Yr(e)},e.exports.__esModule=!0,e.exports.default=e.exports})),Jr=Se((function(e){e.exports=function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.__esModule=!0,e.exports.default=e.exports})),Xr=Se((function(e){e.exports=function(e,t){if(e){if("string"==typeof e)return Yr(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Yr(e,t):void 0}},e.exports.__esModule=!0,e.exports.default=e.exports})),Zr=Se((function(e){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports}));Se((function(e){e.exports=function(e){return Kr(e)||Jr(e)||Xr(e)||Zr()},e.exports.__esModule=!0,e.exports.default=e.exports}));var $r=Se((function(e){e.exports=function(e){if(Array.isArray(e))return e},e.exports.__esModule=!0,e.exports.default=e.exports})),ei=Se((function(e){e.exports=function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return s}},e.exports.__esModule=!0,e.exports.default=e.exports})),ti=Se((function(e){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports}));Se((function(e){e.exports=function(e,t){return $r(e)||ei(e,t)||Xr(e,t)||ti()},e.exports.__esModule=!0,e.exports.default=e.exports}));var ni=Se((function(e){e.exports=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i},e.exports.__esModule=!0,e.exports.default=e.exports}));Se((function(e){e.exports=function(e,t){if(null==e)return{};var n,r,i=ni(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i},e.exports.__esModule=!0,e.exports.default=e.exports})),Se((function(e){e.exports=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))},e.exports.__esModule=!0,e.exports.default=e.exports}));var ri,ii=(0,r.forwardRef)((function(e,t){var n=function(e){var t=e.defaultOptions,n=void 0!==t&&t,i=e.cacheOptions,o=void 0!==i&&i,a=e.loadOptions;e.options;var s=e.isLoading,l=void 0!==s&&s,u=e.onInputChange,p=e.filterOption,h=void 0===p?null:p,f=It(e,Lr),m=f.inputValue,g=(0,r.useRef)(void 0),v=(0,r.useRef)(!1),y=Et((0,r.useState)(Array.isArray(n)?n:void 0),2),A=y[0],b=y[1],w=Et((0,r.useState)(void 0!==m?m:""),2),x=w[0],C=w[1],S=Et((0,r.useState)(!0===n),2),k=S[0],E=S[1],I=Et((0,r.useState)(void 0),2),_=I[0],P=I[1],O=Et((0,r.useState)([]),2),T=O[0],D=O[1],j=Et((0,r.useState)(!1),2),B=j[0],N=j[1],M=Et((0,r.useState)({}),2),R=M[0],L=M[1],F=Et((0,r.useState)(void 0),2),z=F[0],Q=F[1],U=Et((0,r.useState)(void 0),2),V=U[0],G=U[1];o!==V&&(L({}),G(o)),n!==z&&(b(Array.isArray(n)?n:void 0),Q(n)),(0,r.useEffect)((function(){return v.current=!0,function(){v.current=!1}}),[]);var q=(0,r.useCallback)((function(e,t){if(!a)return t();var n=a(e,t);n&&"function"==typeof n.then&&n.then(t,(function(){return t()}))}),[a]);(0,r.useEffect)((function(){!0===n&&q(x,(function(e){v.current&&(b(e||[]),E(!!g.current))}))}),[]);var H=(0,r.useCallback)((function(e,t){var n=function(e,t,n){if(n){var r=n(e,t);if("string"==typeof r)return r}return e}(e,t,u);if(!n)return g.current=void 0,C(""),P(""),D([]),E(!1),void N(!1);if(o&&R[n])C(n),P(n),D(R[n]),E(!1),N(!1);else{var r=g.current={};C(n),E(!0),N(!_),q(n,(function(e){v&&r===g.current&&(g.current=void 0,E(!1),P(n),D(e||[]),N(!1),L(e?d(d({},R),{},c({},n,e)):R))}))}}),[o,q,_,R,u]),W=B?[]:x&&_?T:A||[];return d(d({},f),{},{options:W,isLoading:k||l,onInputChange:H,filterOption:h})}(e),i=function(e){var t=e.defaultInputValue,n=void 0===t?"":t,i=e.defaultMenuIsOpen,o=void 0!==i&&i,a=e.defaultValue,s=void 0===a?null:a,l=e.inputValue,c=e.menuIsOpen,u=e.onChange,p=e.onInputChange,h=e.onMenuClose,f=e.onMenuOpen,m=e.value,g=It(e,Rr),v=Et((0,r.useState)(void 0!==l?l:n),2),y=v[0],A=v[1],b=Et((0,r.useState)(void 0!==c?c:o),2),w=b[0],x=b[1],C=Et((0,r.useState)(void 0!==m?m:s),2),S=C[0],k=C[1],E=(0,r.useCallback)((function(e,t){"function"==typeof u&&u(e,t),k(e)}),[u]),I=(0,r.useCallback)((function(e,t){var n;"function"==typeof p&&(n=p(e,t)),A(void 0!==n?n:e)}),[p]),_=(0,r.useCallback)((function(){"function"==typeof f&&f(),x(!0)}),[f]),P=(0,r.useCallback)((function(){"function"==typeof h&&h(),x(!1)}),[h]),O=void 0!==l?l:y,T=void 0!==c?c:w,D=void 0!==m?m:S;return d(d({},g),{},{inputValue:O,menuIsOpen:T,onChange:E,onInputChange:I,onMenuClose:P,onMenuOpen:_,value:D})}(n);return r.createElement(Mr,a({ref:t},i))})),oi=ii,ai=function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;var r,i,o;if(Array.isArray(t)){if((r=t.length)!=n.length)return!1;for(i=r;0!=i--;)if(!e(t[i],n[i]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((r=(o=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(i=r;0!=i--;)if(!Object.prototype.hasOwnProperty.call(n,o[i]))return!1;for(i=r;0!=i--;){var a=o[i];if(!e(t[a],n[a]))return!1}return!0}return t!=t&&n!=n};!function(e){e[e.INITIALIZED=0]="INITIALIZED",e[e.LOADING=1]="LOADING",e[e.SUCCESS=2]="SUCCESS",e[e.FAILURE=3]="FAILURE"}(ri||(ri={}));class si{constructor(e){let{apiKey:t,authReferrerPolicy:n,channel:r,client:i,id:o="__googleMapsScriptId",language:a,libraries:s=[],mapIds:l,nonce:c,region:u,retries:d=3,url:p="https://maps.googleapis.com/maps/api/js",version:h}=e;if(this.CALLBACK="__googleMapsCallback",this.callbacks=[],this.done=!1,this.loading=!1,this.errors=[],this.apiKey=t,this.authReferrerPolicy=n,this.channel=r,this.client=i,this.id=o||"__googleMapsScriptId",this.language=a,this.libraries=s,this.mapIds=l,this.nonce=c,this.region=u,this.retries=d,this.url=p,this.version=h,si.instance){if(!ai(this.options,si.instance.options))throw new Error(`Loader must not be called again with different options. ${JSON.stringify(this.options)} !== ${JSON.stringify(si.instance.options)}`);return si.instance}si.instance=this}get options(){return{version:this.version,apiKey:this.apiKey,channel:this.channel,client:this.client,id:this.id,libraries:this.libraries,language:this.language,region:this.region,mapIds:this.mapIds,nonce:this.nonce,url:this.url,authReferrerPolicy:this.authReferrerPolicy}}get status(){return this.errors.length?ri.FAILURE:this.done?ri.SUCCESS:this.loading?ri.LOADING:ri.INITIALIZED}get failed(){return this.done&&!this.loading&&this.errors.length>=this.retries+1}createUrl(){let e=this.url;return e+=`?callback=${this.CALLBACK}`,this.apiKey&&(e+=`&key=${this.apiKey}`),this.channel&&(e+=`&channel=${this.channel}`),this.client&&(e+=`&client=${this.client}`),this.libraries.length>0&&(e+=`&libraries=${this.libraries.join(",")}`),this.language&&(e+=`&language=${this.language}`),this.region&&(e+=`&region=${this.region}`),this.version&&(e+=`&v=${this.version}`),this.mapIds&&(e+=`&map_ids=${this.mapIds.join(",")}`),this.authReferrerPolicy&&(e+=`&auth_referrer_policy=${this.authReferrerPolicy}`),e}deleteScript(){const e=document.getElementById(this.id);e&&e.remove()}load(){return this.loadPromise()}loadPromise(){return new Promise(((e,t)=>{this.loadCallback((n=>{n?t(n.error):e(window.google)}))}))}loadCallback(e){this.callbacks.push(e),this.execute()}setScript(){if(document.getElementById(this.id))return void this.callback();const e=this.createUrl(),t=document.createElement("script");t.id=this.id,t.type="text/javascript",t.src=e,t.onerror=this.loadErrorCallback.bind(this),t.defer=!0,t.async=!0,this.nonce&&(t.nonce=this.nonce),document.head.appendChild(t)}reset(){this.deleteScript(),this.done=!1,this.loading=!1,this.errors=[],this.onerrorEvent=null}resetIfRetryingFailed(){this.failed&&this.reset()}loadErrorCallback(e){if(this.errors.push(e),this.errors.length<=this.retries){const e=this.errors.length*Math.pow(2,this.errors.length);console.log(`Failed to load Google Maps script, retrying in ${e} ms.`),setTimeout((()=>{this.deleteScript(),this.setScript()}),e)}else this.onerrorEvent=e,this.callback()}setCallback(){window.__googleMapsCallback=this.callback.bind(this)}callback(){this.done=!0,this.loading=!1,this.callbacks.forEach((e=>{e(this.onerrorEvent)})),this.callbacks=[]}execute(){if(this.resetIfRetryingFailed(),this.done)this.callback();else{if(window.google&&window.google.maps&&window.google.maps.version)return console.warn("Google Maps already loaded outside @googlemaps/js-api-loader.This may result in undesirable behavior as options and script parameters may not match."),void this.callback();this.loading||(this.loading=!0,this.setCallback(),this.setScript())}}}var li=function(e){var t=e.autocompletionRequest,n=e.debounce,i=e.minLengthAutocomplete,a=e.placesService,s=e.sessionToken,l=e.withSessionToken,c=function(e,t,n){void 0===n&&(n={});var i=n.maxWait,o=(0,r.useRef)(null),a=(0,r.useRef)([]),s=n.leading,l=void 0===n.trailing||n.trailing,c=(0,r.useRef)(!1),u=(0,r.useRef)(null),d=(0,r.useRef)(!1),p=(0,r.useRef)(e);p.current=e;var h=(0,r.useCallback)((function(){clearTimeout(u.current),clearTimeout(o.current),o.current=null,a.current=[],u.current=null,c.current=!1}),[]);(0,r.useEffect)((function(){return d.current=!1,function(){d.current=!0}}),[]);var f=(0,r.useCallback)((function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];a.current=e,clearTimeout(u.current),c.current&&(c.current=!1),u.current||!s||c.current||(p.current.apply(p,e),c.current=!0),u.current=setTimeout((function(){var t=!0;s&&c.current&&(t=!1),h(),!d.current&&l&&t&&p.current.apply(p,e)}),t),i&&!o.current&&l&&(o.current=setTimeout((function(){var e=a.current;h(),d.current||p.current.apply(null,e)}),i))}),[i,t,h,s,l]),m=(0,r.useCallback)((function(){u.current&&(p.current.apply(null,a.current),h())}),[h]);return[f,h,m]}((function(e,n){if(!a)return n([]);if(e.length<i)return n([]);var r=o({},t);a.getPlacePredictions(function(e,t,n){var r,i=e.bounds,a=e.location,s=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}(e,["bounds","location"]),l=o({input:t},s);return n&&(l.sessionToken=n),i&&(l.bounds=new((r=google.maps.LatLngBounds).bind.apply(r,function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)r[i]=o[a];return r}([void 0],i)))),a&&(l.location=new google.maps.LatLng(a)),l}(r,e,l&&s),(function(e){n((e||[]).map((function(e){return{label:e.description,value:e}})))}))}),n)[0];return c},ci=(0,r.forwardRef)((function(e,t){var n,i,a,s,l,c,u,d,p=function(e){var t=e.apiKey,n=e.apiOptions,i=e.onLoadFailed,a=(0,r.useState)(void 0),s=a[0],l=a[1],c=(0,r.useState)(void 0),u=c[0],d=c[1],p=function(){if(!window.google)throw new Error("[react-google-places-autocomplete]: Google script not loaded");if(!window.google.maps)throw new Error("[react-google-places-autocomplete]: Google maps script not loaded");if(!window.google.maps.places)throw new Error("[react-google-places-autocomplete]: Google maps places script not loaded");l(new window.google.maps.places.AutocompleteService),d(new google.maps.places.AutocompleteSessionToken)};return(0,r.useEffect)((function(){t?function(e,t,n,r){new(n||(n=Promise))((function(i,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((r=r.apply(e,t||[])).next())}))}(void 0,void 0,void 0,(function(){var e;return function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}}(this,(function(r){switch(r.label){case 0:if(!t)return[2];r.label=1;case 1:return r.trys.push([1,4,,5]),window.google&&window.google.maps&&window.google.maps.places?[3,3]:[4,new si(o({apiKey:t},o({libraries:["places"]},n))).load()];case 2:r.sent(),r.label=3;case 3:return p(),[3,5];case 4:return e=r.sent(),"function"==typeof i&&i(e),[3,5];case 5:return[2]}}))})):p()}),[]),{placesService:s,sessionToken:u,setSessionToken:d}}({apiKey:null!==(n=e.apiKey)&&void 0!==n?n:"",apiOptions:null!==(i=e.apiOptions)&&void 0!==i?i:{},onLoadFailed:null!==(a=e.onLoadFailed)&&void 0!==a?a:console.error}),h=p.placesService,f=p.sessionToken,m=p.setSessionToken,g=li({autocompletionRequest:null!==(s=e.autocompletionRequest)&&void 0!==s?s:{},debounce:null!==(l=e.debounce)&&void 0!==l?l:300,minLengthAutocomplete:null!==(c=e.minLengthAutocomplete)&&void 0!==c?c:0,placesService:h,sessionToken:f,withSessionToken:null!==(u=e.withSessionToken)&&void 0!==u&&u});return(0,r.useImperativeHandle)(t,(function(){return{getSessionToken:function(){return f},refreshSessionToken:function(){m(new google.maps.places.AutocompleteSessionToken)}}}),[f]),r.createElement(oi,o({},null!==(d=e.selectProps)&&void 0!==d?d:{},{loadOptions:g,getOptionValue:function(e){return e.value.place_id}}))})),ui=function(e){return new Promise((function(t,n){try{return t({lat:e.geometry.location.lat(),lng:e.geometry.location.lng()})}catch(e){return n(e)}}))},di=function(e){var t=new window.google.maps.Geocoder,n=window.google.maps.GeocoderStatus.OK;return new Promise((function(r,i){t.geocode({address:e},(function(e,t){return t!==n?i(t):r(e)}))}))},pi=function(e){var t=new window.google.maps.Geocoder,n=window.google.maps.GeocoderStatus.OK;return new Promise((function(r,i){t.geocode({location:e},(function(e,t){return t!==n?i(t):r(e)}))}))},hi=function(e){var t=new window.google.maps.Geocoder,n=window.google.maps.GeocoderStatus.OK;return new Promise((function(r,i){t.geocode({placeId:e},(function(e,t){return t!==n?i(t):r(e)}))}))}},10363:(e,t,n)=>{"use strict";var r,i=n(89815),o=(r=i)&&r.__esModule?r:{default:r};var a={tags:function(e){var t=e.id,n=e.events,r=e.dataLayer,i=e.dataLayerName,a=e.preview,s="&gtm_auth="+e.auth,l="&gtm_preview="+a;return t||(0,o.default)("GTM Id is required"),{iframe:'\n      <iframe src="https://www.googletagmanager.com/ns.html?id='+t+s+l+'&gtm_cookies_win=x"\n        height="0" width="0" style="display:none;visibility:hidden" id="tag-manager"></iframe>',script:"\n      (function(w,d,s,l,i){w[l]=w[l]||[];\n        w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js', "+JSON.stringify(n).slice(1,-1)+"});\n        var f=d.getElementsByTagName(s)[0],j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';\n        j.async=true;j.src='https://www.googletagmanager.com/gtm.js?id='+i+dl+'"+s+l+"&gtm_cookies_win=x';\n        f.parentNode.insertBefore(j,f);\n      })(window,document,'script','"+i+"','"+t+"');",dataLayerVar:this.dataLayer(r,i)}},dataLayer:function(e,t){return"\n      window."+t+" = window."+t+" || [];\n      window."+t+".push("+JSON.stringify(e)+")"}};e.exports=a},30590:(e,t,n)=>{"use strict";var r,i=n(10363),o=(r=i)&&r.__esModule?r:{default:r};var a={dataScript:function(e){var t=document.createElement("script");return t.innerHTML=e,t},gtm:function(e){var t=o.default.tags(e);return{noScript:function(){var e=document.createElement("noscript");return e.innerHTML=t.iframe,e},script:function(){var e=document.createElement("script");return e.innerHTML=t.script,e},dataScript:this.dataScript(t.dataLayerVar)}},initialize:function(e){var t=e.gtmId,n=e.events,r=void 0===n?{}:n,i=e.dataLayer,o=e.dataLayerName,a=void 0===o?"dataLayer":o,s=e.auth,l=void 0===s?"":s,c=e.preview,u=void 0===c?"":c,d=this.gtm({id:t,events:r,dataLayer:i||void 0,dataLayerName:a,auth:l,preview:u});i&&document.head.appendChild(d.dataScript),document.head.insertBefore(d.script(),document.head.childNodes[0]),document.body.insertBefore(d.noScript(),document.body.childNodes[0])},dataLayer:function(e){var t=e.dataLayer,n=e.dataLayerName,r=void 0===n?"dataLayer":n;if(window[r])return window[r].push(t);var i=o.default.dataLayer(t,r),a=this.dataScript(i);document.head.insertBefore(a,document.head.childNodes[0])}};e.exports=a},71173:(e,t,n)=>{"use strict";var r,i=n(30590),o=(r=i)&&r.__esModule?r:{default:r};e.exports=o.default},89815:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default=function(e){console.warn("[react-gtm]",e)}},6955:(e,t,n)=>{"use strict";n.d(t,{gJ:()=>f,hz:()=>g,rV:()=>m,TO:()=>v,r9:()=>y});var r=n(23029),i=n(92901),o=n(64467),a=n(9950),s=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,l={"&amp;":"&","&#38;":"&","&lt;":"<","&#60;":"<","&gt;":">","&#62;":">","&apos;":"'","&#39;":"'","&quot;":'"',"&#34;":'"',"&nbsp;":" ","&#160;":" ","&copy;":"\xa9","&#169;":"\xa9","&reg;":"\xae","&#174;":"\xae","&hellip;":"\u2026","&#8230;":"\u2026","&#x2F;":"/","&#47;":"/"},c=function(e){return l[e]};function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){(0,o.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var p,h={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:function(e){return e.replace(s,c)}},f=(0,a.createContext)();function m(){return h}var g=function(){function e(){(0,r.A)(this,e),this.usedNamespaces={}}return(0,i.A)(e,[{key:"addUsedNamespaces",value:function(e){var t=this;e.forEach((function(e){t.usedNamespaces[e]||(t.usedNamespaces[e]=!0)}))}},{key:"getUsedNamespaces",value:function(){return Object.keys(this.usedNamespaces)}}]),e}();function v(){return p}var y={type:"3rdParty",init:function(e){!function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};h=d(d({},h),e)}(e.options.react),function(e){p=e}(e)}}},70030:(e,t,n)=>{"use strict";n.d(t,{B:()=>f});var r=n(5544),i=n(64467),o=n(9950),a=n(6955);function s(){if(console&&console.warn){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];"string"===typeof n[0]&&(n[0]="react-i18next:: ".concat(n[0])),(e=console).warn.apply(e,n)}}var l={};function c(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];"string"===typeof t[0]&&l[t[0]]||("string"===typeof t[0]&&(l[t[0]]=new Date),s.apply(void 0,t))}function u(e,t,n){e.loadNamespaces(t,(function(){if(e.isInitialized)n();else{e.on("initialized",(function t(){setTimeout((function(){e.off("initialized",t)}),0),n()}))}}))}function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){(0,i.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var h=function(e,t){var n=(0,o.useRef)();return(0,o.useEffect)((function(){n.current=t?n.current:e}),[e,t]),n.current};function f(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.i18n,i=(0,o.useContext)(a.gJ)||{},s=i.i18n,l=i.defaultNS,d=n||s||(0,a.TO)();if(d&&!d.reportNamespaces&&(d.reportNamespaces=new a.hz),!d){c("You will need to pass in an i18next instance by using initReactI18next");var f=function(e){return Array.isArray(e)?e[e.length-1]:e},m=[f,{},!1];return m.t=f,m.i18n={},m.ready=!1,m}d.options.react&&void 0!==d.options.react.wait&&c("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");var g=p(p(p({},(0,a.rV)()),d.options.react),t),v=g.useSuspense,y=g.keyPrefix,A=e||l||d.options&&d.options.defaultNS;A="string"===typeof A?[A]:A||["translation"],d.reportNamespaces.addUsedNamespaces&&d.reportNamespaces.addUsedNamespaces(A);var b=(d.isInitialized||d.initializedStoreOnce)&&A.every((function(e){return function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t.languages&&t.languages.length?void 0!==t.options.ignoreJSONStructure?t.hasLoadedNamespace(e,{precheck:function(t,r){if(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!r(t.isLanguageChangingTo,e))return!1}}):function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=t.languages[0],i=!!t.options&&t.options.fallbackLng,o=t.languages[t.languages.length-1];if("cimode"===r.toLowerCase())return!0;var a=function(e,n){var r=t.services.backendConnector.state["".concat(e,"|").concat(n)];return-1===r||2===r};return!(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!a(t.isLanguageChangingTo,e))&&(!!t.hasResourceBundle(r,e)||!(t.services.backendConnector.backend&&(!t.options.resources||t.options.partialBundledLanguages))||!(!a(r,e)||i&&!a(o,e)))}(e,t,n):(c("i18n.languages were undefined or empty",t.languages),!0)}(e,d,g)}));function w(){return d.getFixedT(null,"fallback"===g.nsMode?A:A[0],y)}var x=(0,o.useState)(w),C=(0,r.A)(x,2),S=C[0],k=C[1],E=A.join(),I=h(E),_=(0,o.useRef)(!0);(0,o.useEffect)((function(){var e=g.bindI18n,t=g.bindI18nStore;function n(){_.current&&k(w)}return _.current=!0,b||v||u(d,A,(function(){_.current&&k(w)})),b&&I&&I!==E&&_.current&&k(w),e&&d&&d.on(e,n),t&&d&&d.store.on(t,n),function(){_.current=!1,e&&d&&e.split(" ").forEach((function(e){return d.off(e,n)})),t&&d&&t.split(" ").forEach((function(e){return d.store.off(e,n)}))}}),[d,E]);var P=(0,o.useRef)(!0);(0,o.useEffect)((function(){_.current&&!P.current&&k(w),P.current=!1}),[d,y]);var O=[S,d,b];if(O.t=S,O.i18n=d,O.ready=b,b)return O;if(!b&&!v)return O;throw new Promise((function(e){u(d,A,(function(){e()}))}))}},77520:function(e,t,n){!function(t,r){e.exports=r(n(9950))}(0,(e=>(()=>{var t={703:(e,t,n)=>{"use strict";var r=n(414);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,o,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:i};return n.PropTypes=n,n}},697:(e,t,n)=>{e.exports=n(703)()},414:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},590:e=>{var t="undefined"!=typeof Element,n="function"==typeof Map,r="function"==typeof Set,i="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function o(e,a){if(e===a)return!0;if(e&&a&&"object"==typeof e&&"object"==typeof a){if(e.constructor!==a.constructor)return!1;var s,l,c,u;if(Array.isArray(e)){if((s=e.length)!=a.length)return!1;for(l=s;0!=l--;)if(!o(e[l],a[l]))return!1;return!0}if(n&&e instanceof Map&&a instanceof Map){if(e.size!==a.size)return!1;for(u=e.entries();!(l=u.next()).done;)if(!a.has(l.value[0]))return!1;for(u=e.entries();!(l=u.next()).done;)if(!o(l.value[1],a.get(l.value[0])))return!1;return!0}if(r&&e instanceof Set&&a instanceof Set){if(e.size!==a.size)return!1;for(u=e.entries();!(l=u.next()).done;)if(!a.has(l.value[0]))return!1;return!0}if(i&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(a)){if((s=e.length)!=a.length)return!1;for(l=s;0!=l--;)if(e[l]!==a[l])return!1;return!0}if(e.constructor===RegExp)return e.source===a.source&&e.flags===a.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===a.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===a.toString();if((s=(c=Object.keys(e)).length)!==Object.keys(a).length)return!1;for(l=s;0!=l--;)if(!Object.prototype.hasOwnProperty.call(a,c[l]))return!1;if(t&&e instanceof Element)return!1;for(l=s;0!=l--;)if(("_owner"!==c[l]&&"__v"!==c[l]&&"__o"!==c[l]||!e.$$typeof)&&!o(e[c[l]],a[c[l]]))return!1;return!0}return e!=e&&a!=a}e.exports=function(e,t){try{return o(e,t)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}},359:t=>{"use strict";t.exports=e}},r={};function i(e){var n=r[e];if(void 0!==n)return n.exports;var o=r[e]={exports:{}};return t[e](o,o.exports,i),o.exports}i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};return(()=>{"use strict";function e(t){var n,r,i="";if("string"==typeof t||"number"==typeof t)i+=t;else if("object"==typeof t)if(Array.isArray(t))for(n=0;n<t.length;n++)t[n]&&(r=e(t[n]))&&(i&&(i+=" "),i+=r);else for(n in t)t[n]&&(i&&(i+=" "),i+=n);return i}function t(){for(var t,n,r=0,i="";r<arguments.length;)(t=arguments[r++])&&(n=e(t))&&(i&&(i+=" "),i+=n);return i}i.r(o),i.d(o,{default:()=>Ze});var r=i(359),a=i.n(r);const s=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)},l="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;var c="object"==typeof self&&self&&self.Object===Object&&self;const u=l||c||Function("return this")(),d=function(){return u.Date.now()};var p=/\s/,h=/^\s+/;const f=u.Symbol;var m=Object.prototype,g=m.hasOwnProperty,v=m.toString,y=f?f.toStringTag:void 0,A=Object.prototype.toString,b=f?f.toStringTag:void 0;var w=/^[-+]0x[0-9a-f]+$/i,x=/^0b[01]+$/i,C=/^0o[0-7]+$/i,S=parseInt;const k=function(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return null!=e&&"object"==typeof e}(e)&&"[object Symbol]"==function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":b&&b in Object(e)?function(e){var t=g.call(e,y),n=e[y];try{e[y]=void 0;var r=!0}catch(e){}var i=v.call(e);return r&&(t?e[y]=n:delete e[y]),i}(e):function(e){return A.call(e)}(e)}(e)}(e))return NaN;if(s(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=s(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=function(e){return e?e.slice(0,function(e){for(var t=e.length;t--&&p.test(e.charAt(t)););return t}(e)+1).replace(h,""):e}(e);var n=x.test(e);return n||C.test(e)?S(e.slice(2),n?2:8):w.test(e)?NaN:+e};var E=Math.max,I=Math.min;const _=function(e,t,n){var r,i,o,a,l,c,u=0,p=!1,h=!1,f=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function m(t){var n=r,o=i;return r=i=void 0,u=t,a=e.apply(o,n)}function g(e){var n=e-c;return void 0===c||n>=t||n<0||h&&e-u>=o}function v(){var e=d();if(g(e))return y(e);l=setTimeout(v,function(e){var n=t-(e-c);return h?I(n,o-(e-u)):n}(e))}function y(e){return l=void 0,f&&r?m(e):(r=i=void 0,a)}function A(){var e=d(),n=g(e);if(r=arguments,i=this,c=e,n){if(void 0===l)return function(e){return u=e,l=setTimeout(v,t),p?m(e):a}(c);if(h)return clearTimeout(l),l=setTimeout(v,t),m(c)}return void 0===l&&(l=setTimeout(v,t)),a}return t=k(t)||0,s(n)&&(p=!!n.leading,o=(h="maxWait"in n)?E(k(n.maxWait)||0,t):o,f="trailing"in n?!!n.trailing:f),A.cancel=function(){void 0!==l&&clearTimeout(l),u=0,r=c=i=l=void 0},A.flush=function(){return void 0===l?a:y(d())},A},P=function(e,t,n){var r=!0,i=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return s(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),_(e,t,{leading:r,maxWait:t,trailing:i})};var O=i(590),T=i.n(O),D=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var n=-1;return e.some((function(e,r){return e[0]===t&&(n=r,!0)})),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),r=this.__entries__[n];return r&&r[1]},t.prototype.set=function(t,n){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,r=e(n,t);~r&&n.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,r=this.__entries__;n<r.length;n++){var i=r[n];e.call(t,i[1],i[0])}},t}()}(),j="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,B=void 0!==i.g&&i.g.Math===Math?i.g:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),N="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(B):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)},M=["top","right","bottom","left","width","height","size","weight"],R="undefined"!=typeof MutationObserver,L=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e){var t=!1,n=!1,r=0;function i(){t&&(t=!1,e()),n&&a()}function o(){N(i)}function a(){var e=Date.now();if(t){if(e-r<2)return;n=!0}else t=!0,n=!1,setTimeout(o,20);r=e}return a}(this.refresh.bind(this))}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter((function(e){return e.gatherActive(),e.hasActive()}));return e.forEach((function(e){return e.broadcastActive()})),e.length>0},e.prototype.connect_=function(){j&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),R?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){j&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;M.some((function(e){return!!~n.indexOf(e)}))&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),F=function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n++){var i=r[n];Object.defineProperty(e,i,{value:t[i],enumerable:!1,writable:!1,configurable:!0})}return e},z=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||B},Q=q(0,0,0,0);function U(e){return parseFloat(e)||0}function V(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce((function(t,n){return t+U(e["border-"+n+"-width"])}),0)}var G="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof z(e).SVGGraphicsElement}:function(e){return e instanceof z(e).SVGElement&&"function"==typeof e.getBBox};function q(e,t,n,r){return{x:e,y:t,width:n,height:r}}var H=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=q(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=function(e){return j?G(e)?function(e){var t=e.getBBox();return q(0,0,t.width,t.height)}(e):function(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return Q;var r=z(e).getComputedStyle(e),i=function(e){for(var t={},n=0,r=["top","right","bottom","left"];n<r.length;n++){var i=r[n],o=e["padding-"+i];t[i]=U(o)}return t}(r),o=i.left+i.right,a=i.top+i.bottom,s=U(r.width),l=U(r.height);if("border-box"===r.boxSizing&&(Math.round(s+o)!==t&&(s-=V(r,"left","right")+o),Math.round(l+a)!==n&&(l-=V(r,"top","bottom")+a)),!function(e){return e===z(e).document.documentElement}(e)){var c=Math.round(s+o)-t,u=Math.round(l+a)-n;1!==Math.abs(c)&&(s-=c),1!==Math.abs(u)&&(l-=u)}return q(i.left,i.top,s,l)}(e):Q}(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),W=function(e,t){var n,r,i,o,a,s,l,c=(r=(n=t).x,i=n.y,o=n.width,a=n.height,s="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,l=Object.create(s.prototype),F(l,{x:r,y:i,width:o,height:a,top:i,right:r+o,bottom:a+i,left:r}),l);F(this,{target:e,contentRect:c})},Y=function(){function e(e,t,n){if(this.activeObservations_=[],this.observations_=new D,"function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=n}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof z(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new H(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof z(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new W(e.target,e.broadcastRect())}));this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),K="undefined"!=typeof WeakMap?new WeakMap:new D,J=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=L.getInstance(),r=new Y(t,n,this);K.set(this,r)};["observe","unobserve","disconnect"].forEach((function(e){J.prototype[e]=function(){var t;return(t=K.get(this))[e].apply(t,arguments)}}));const X=void 0!==B.ResizeObserver?B.ResizeObserver:J,Z="Left",$="Right",ee="Up",te="Down",ne={delta:10,preventScrollOnSwipe:!1,rotationAngle:0,trackMouse:!1,trackTouch:!0,swipeDuration:1/0,touchEventOptions:{passive:!0}},re={first:!0,initial:[0,0],start:0,swiping:!1,xy:[0,0]},ie="mousemove",oe="mouseup";function ae(e,t){if(0===t)return e;const n=Math.PI/180*t;return[e[0]*Math.cos(n)+e[1]*Math.sin(n),e[1]*Math.cos(n)-e[0]*Math.sin(n)]}function se(e){const{trackMouse:t}=e,n=r.useRef(Object.assign({},re)),i=r.useRef(Object.assign({},ne)),o=r.useRef(Object.assign({},i.current));let a;for(a in o.current=Object.assign({},i.current),i.current=Object.assign(Object.assign({},ne),e),ne)void 0===i.current[a]&&(i.current[a]=ne[a]);const[s,l]=r.useMemo((()=>function(e,t){const n=t=>{const n="touches"in t;n&&t.touches.length>1||e(((e,i)=>{i.trackMouse&&!n&&(document.addEventListener(ie,r),document.addEventListener(oe,o));const{clientX:a,clientY:s}=n?t.touches[0]:t,l=ae([a,s],i.rotationAngle);return i.onTouchStartOrOnMouseDown&&i.onTouchStartOrOnMouseDown({event:t}),Object.assign(Object.assign(Object.assign({},e),re),{initial:l.slice(),xy:l,start:t.timeStamp||0})}))},r=t=>{e(((e,n)=>{const r="touches"in t;if(r&&t.touches.length>1)return e;if(t.timeStamp-e.start>n.swipeDuration)return e.swiping?Object.assign(Object.assign({},e),{swiping:!1}):e;const{clientX:i,clientY:o}=r?t.touches[0]:t,[a,s]=ae([i,o],n.rotationAngle),l=a-e.xy[0],c=s-e.xy[1],u=Math.abs(l),d=Math.abs(c),p=(t.timeStamp||0)-e.start,h=Math.sqrt(u*u+d*d)/(p||1),f=[l/(p||1),c/(p||1)],m=function(e,t,n,r){return e>t?n>0?$:Z:r>0?te:ee}(u,d,l,c),g="number"==typeof n.delta?n.delta:n.delta[m.toLowerCase()]||ne.delta;if(u<g&&d<g&&!e.swiping)return e;const v={absX:u,absY:d,deltaX:l,deltaY:c,dir:m,event:t,first:e.first,initial:e.initial,velocity:h,vxvy:f};v.first&&n.onSwipeStart&&n.onSwipeStart(v),n.onSwiping&&n.onSwiping(v);let y=!1;return(n.onSwiping||n.onSwiped||n[`onSwiped${m}`])&&(y=!0),y&&n.preventScrollOnSwipe&&n.trackTouch&&t.cancelable&&t.preventDefault(),Object.assign(Object.assign({},e),{first:!1,eventData:v,swiping:!0})}))},i=t=>{e(((e,n)=>{let r;if(e.swiping&&e.eventData){if(t.timeStamp-e.start<n.swipeDuration){r=Object.assign(Object.assign({},e.eventData),{event:t}),n.onSwiped&&n.onSwiped(r);const i=n[`onSwiped${r.dir}`];i&&i(r)}}else n.onTap&&n.onTap({event:t});return n.onTouchEndOrOnMouseUp&&n.onTouchEndOrOnMouseUp({event:t}),Object.assign(Object.assign(Object.assign({},e),re),{eventData:r})}))},o=e=>{document.removeEventListener(ie,r),document.removeEventListener(oe,o),i(e)},a=(e,t)=>{let o=()=>{};if(e&&e.addEventListener){const a=Object.assign(Object.assign({},ne.touchEventOptions),t.touchEventOptions),s=[["touchstart",n,a],["touchmove",r,Object.assign(Object.assign({},a),t.preventScrollOnSwipe?{passive:!1}:{})],["touchend",i,a]];s.forEach((t=>{let[n,r,i]=t;return e.addEventListener(n,r,i)})),o=()=>s.forEach((t=>{let[n,r]=t;return e.removeEventListener(n,r)}))}return o},s={ref:t=>{null!==t&&e(((e,n)=>{if(e.el===t)return e;const r={};return e.el&&e.el!==t&&e.cleanUpTouch&&(e.cleanUpTouch(),r.cleanUpTouch=void 0),n.trackTouch&&t&&(r.cleanUpTouch=a(t,n)),Object.assign(Object.assign(Object.assign({},e),{el:t}),r)}))}};return t.trackMouse&&(s.onMouseDown=n),[s,a]}((e=>n.current=e(n.current,i.current)),{trackMouse:t})),[t]);return n.current=function(e,t,n,r){return t.trackTouch&&e.el?e.cleanUpTouch?t.preventScrollOnSwipe!==n.preventScrollOnSwipe||t.touchEventOptions.passive!==n.touchEventOptions.passive?(e.cleanUpTouch(),Object.assign(Object.assign({},e),{cleanUpTouch:r(e.el,t)})):e:Object.assign(Object.assign({},e),{cleanUpTouch:r(e.el,t)}):(e.cleanUpTouch&&e.cleanUpTouch(),Object.assign(Object.assign({},e),{cleanUpTouch:void 0}))}(n.current,i.current,o.current,l),s}var le=i(697);function ce(e){return ce="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ce(e)}function ue(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function de(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ue(Object(n),!0).forEach((function(t){pe(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ue(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function pe(e,t,n){return(t=function(e){var t=function(e){if("object"!==ce(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!==ce(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===ce(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var he={description:"",fullscreen:"",isFullscreen:!1,originalAlt:"",originalHeight:"",originalWidth:"",originalTitle:"",sizes:"",srcSet:"",loading:"eager"},fe=a().memo((function(e){var t=de(de({},he),e),n=t.description,r=t.fullscreen,i=t.handleImageLoaded,o=t.isFullscreen,s=t.onImageError,l=t.original,c=t.originalAlt,u=t.originalHeight,d=t.originalWidth,p=t.originalTitle,h=t.sizes,f=t.srcSet,m=t.loading,g=o&&r||l;return a().createElement(a().Fragment,null,a().createElement("img",{className:"image-gallery-image",src:g,alt:c,srcSet:f,height:u,width:d,sizes:h,title:p,onLoad:function(e){return i(e,l)},onError:s,loading:m}),n&&a().createElement("span",{className:"image-gallery-description"},n))}));fe.displayName="Item",fe.propTypes={description:le.string,fullscreen:le.string,handleImageLoaded:le.func.isRequired,isFullscreen:le.bool,onImageError:le.func.isRequired,original:le.string.isRequired,originalAlt:le.string,originalHeight:le.string,originalWidth:le.string,originalTitle:le.string,sizes:le.string,srcSet:le.string,loading:le.string};const me=fe;function ge(e){return ge="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ge(e)}function ve(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ye(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ve(Object(n),!0).forEach((function(t){Ae(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ve(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ae(e,t,n){return(t=function(e){var t=function(e){if("object"!==ge(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!==ge(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===ge(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var be={left:a().createElement("polyline",{points:"15 18 9 12 15 6"}),right:a().createElement("polyline",{points:"9 18 15 12 9 6"}),maximize:a().createElement("path",{d:"M8 3H5a2 2 0 0 0-2 2v3m18 0V5a2 2 0 0 0-2-2h-3m0 18h3a2 2 0 0 0 2-2v-3M3 16v3a2 2 0 0 0 2 2h3"}),minimize:a().createElement("path",{d:"M8 3v3a2 2 0 0 1-2 2H3m18 0h-3a2 2 0 0 1-2-2V3m0 18v-3a2 2 0 0 1 2-2h3M3 16h3a2 2 0 0 1 2 2v3"}),play:a().createElement("polygon",{points:"5 3 19 12 5 21 5 3"}),pause:a().createElement(a().Fragment,null,a().createElement("rect",{x:"6",y:"4",width:"4",height:"16"}),a().createElement("rect",{x:"14",y:"4",width:"4",height:"16"}))},we={strokeWidth:1,viewBox:"0 0 24 24"},xe=function(e){var t=ye(ye({},we),e),n=t.strokeWidth,r=t.viewBox,i=t.icon;return a().createElement("svg",{className:"image-gallery-svg",xmlns:"http://www.w3.org/2000/svg",viewBox:r,fill:"none",stroke:"currentColor",strokeWidth:n,strokeLinecap:"round",strokeLinejoin:"round"},be[i])};xe.propTypes={strokeWidth:le.number,viewBox:le.string,icon:(0,le.oneOf)(["left","right","maximize","minimize","play","pause"]).isRequired};const Ce=xe;var Se=a().memo((function(e){var t=e.isFullscreen,n=e.onClick;return a().createElement("button",{type:"button",className:"image-gallery-icon image-gallery-fullscreen-button",onClick:n,"aria-label":"Open Fullscreen"},a().createElement(Ce,{strokeWidth:2,icon:t?"minimize":"maximize"}))}));Se.displayName="Fullscreen",Se.propTypes={isFullscreen:le.bool.isRequired,onClick:le.func.isRequired};const ke=Se;var Ee=a().memo((function(e){var t=e.disabled,n=e.onClick;return a().createElement("button",{type:"button",className:"image-gallery-icon image-gallery-left-nav",disabled:t,onClick:n,"aria-label":"Previous Slide"},a().createElement(Ce,{icon:"left",viewBox:"6 0 12 24"}))}));Ee.displayName="LeftNav",Ee.propTypes={disabled:le.bool.isRequired,onClick:le.func.isRequired};const Ie=Ee;var _e=a().memo((function(e){var t=e.disabled,n=e.onClick;return a().createElement("button",{type:"button",className:"image-gallery-icon image-gallery-right-nav",disabled:t,onClick:n,"aria-label":"Next Slide"},a().createElement(Ce,{icon:"right",viewBox:"6 0 12 24"}))}));_e.displayName="RightNav",_e.propTypes={disabled:le.bool.isRequired,onClick:le.func.isRequired};const Pe=_e;var Oe=a().memo((function(e){var t=e.isPlaying,n=e.onClick;return a().createElement("button",{type:"button",className:"image-gallery-icon image-gallery-play-button",onClick:n,"aria-label":"Play or Pause Slideshow"},a().createElement(Ce,{strokeWidth:2,icon:t?"pause":"play"}))}));Oe.displayName="PlayPause",Oe.propTypes={isPlaying:le.bool.isRequired,onClick:le.func.isRequired};const Te=Oe;function De(e){return De="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},De(e)}function je(){return je=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},je.apply(this,arguments)}function Be(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ne(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Be(Object(n),!0).forEach((function(t){Me(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Be(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Me(e,t,n){return(t=function(e){var t=function(e){if("object"!==De(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!==De(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===De(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Re={className:"",delta:0,onSwiping:function(){},onSwiped:function(){}},Le=function(e){var t=Ne(Ne({},Re),e),n=t.children,r=t.className,i=se({delta:t.delta,onSwiping:t.onSwiping,onSwiped:t.onSwiped});return a().createElement("div",je({},i,{className:r}),n)};Le.propTypes={children:le.node.isRequired,className:le.string,delta:le.number,onSwiped:le.func,onSwiping:le.func};const Fe=Le;function ze(e){return ze="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ze(e)}function Qe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ue(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Qe(Object(n),!0).forEach((function(t){He(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Qe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ve(e,t){return Ve=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Ve(e,t)}function Ge(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qe(e){return qe=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},qe(e)}function He(e,t,n){return(t=We(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function We(e){var t=function(e){if("object"!==ze(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!==ze(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===ze(t)?t:String(t)}var Ye=["fullscreenchange","MSFullscreenChange","mozfullscreenchange","webkitfullscreenchange"],Ke=(0,le.arrayOf)((0,le.shape)({srcSet:le.string,media:le.string}));function Je(e){var t=parseInt(e.keyCode||e.which||0,10);return 66===t||62===t}var Xe=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Ve(e,t)}(l,e);var n,r,i,o,s=(i=l,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=qe(i);if(o){var n=qe(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return function(e,t){if(t&&("object"===ze(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Ge(e)}(this,e)});function l(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),He(Ge(t=s.call(this,e)),"onBulletClick",(function(e,n){var r=t.props,i=r.onBulletClick,o=r.items,a=t.state.currentIndex;e.target.blur(),a!==n&&(2===o.length?t.slideToIndexWithStyleReset(n,e):t.slideToIndex(n,e)),i&&i(e,n)})),t.state={currentIndex:e.startIndex,thumbsTranslate:0,thumbsSwipedTranslate:0,currentSlideOffset:0,galleryWidth:0,thumbnailsWrapperWidth:0,thumbnailsWrapperHeight:0,thumbsStyle:{transition:"all ".concat(e.slideDuration,"ms ease-out")},isFullscreen:!1,isSwipingThumbnail:!1,isPlaying:!1},t.loadedImages={},t.imageGallery=a().createRef(),t.thumbnailsWrapper=a().createRef(),t.thumbnails=a().createRef(),t.imageGallerySlideWrapper=a().createRef(),t.handleImageLoaded=t.handleImageLoaded.bind(Ge(t)),t.handleKeyDown=t.handleKeyDown.bind(Ge(t)),t.handleMouseDown=t.handleMouseDown.bind(Ge(t)),t.handleResize=t.handleResize.bind(Ge(t)),t.handleTouchMove=t.handleTouchMove.bind(Ge(t)),t.handleOnSwiped=t.handleOnSwiped.bind(Ge(t)),t.handleScreenChange=t.handleScreenChange.bind(Ge(t)),t.handleSwiping=t.handleSwiping.bind(Ge(t)),t.handleThumbnailSwiping=t.handleThumbnailSwiping.bind(Ge(t)),t.handleOnThumbnailSwiped=t.handleOnThumbnailSwiped.bind(Ge(t)),t.onThumbnailMouseLeave=t.onThumbnailMouseLeave.bind(Ge(t)),t.handleImageError=t.handleImageError.bind(Ge(t)),t.pauseOrPlay=t.pauseOrPlay.bind(Ge(t)),t.renderThumbInner=t.renderThumbInner.bind(Ge(t)),t.renderItem=t.renderItem.bind(Ge(t)),t.slideLeft=t.slideLeft.bind(Ge(t)),t.slideRight=t.slideRight.bind(Ge(t)),t.toggleFullScreen=t.toggleFullScreen.bind(Ge(t)),t.togglePlay=t.togglePlay.bind(Ge(t)),t.unthrottledSlideToIndex=t.slideToIndex,t.slideToIndex=P(t.unthrottledSlideToIndex,e.slideDuration,{trailing:!1}),e.lazyLoad&&(t.lazyLoaded=[]),t}return n=l,r=[{key:"componentDidMount",value:function(){var e=this.props,t=e.autoPlay,n=e.useWindowKeyDown;t&&this.play(),n?window.addEventListener("keydown",this.handleKeyDown):this.imageGallery.current.addEventListener("keydown",this.handleKeyDown),window.addEventListener("mousedown",this.handleMouseDown),window.addEventListener("touchmove",this.handleTouchMove,{passive:!1}),this.initSlideWrapperResizeObserver(this.imageGallerySlideWrapper),this.initThumbnailWrapperResizeObserver(this.thumbnailsWrapper),this.addScreenChangeEvent()}},{key:"componentDidUpdate",value:function(e,t){var n=this.props,r=n.items,i=n.lazyLoad,o=n.slideDuration,a=n.slideInterval,s=n.startIndex,l=n.thumbnailPosition,c=n.showThumbnails,u=n.useWindowKeyDown,d=this.state,p=d.currentIndex,h=d.isPlaying,f=e.items.length!==r.length,m=!T()(e.items,r),g=e.startIndex!==s,v=e.thumbnailPosition!==l,y=e.showThumbnails!==c;a===e.slideInterval&&o===e.slideDuration||h&&(this.pause(),this.play()),v&&(this.removeResizeObserver(),this.initSlideWrapperResizeObserver(this.imageGallerySlideWrapper),this.initThumbnailWrapperResizeObserver(this.thumbnailsWrapper)),y&&c&&this.initThumbnailWrapperResizeObserver(this.thumbnailsWrapper),y&&!c&&this.removeThumbnailsResizeObserver(),(f||y)&&this.handleResize(),t.currentIndex!==p&&this.slideThumbnailBar(),e.slideDuration!==o&&(this.slideToIndex=P(this.unthrottledSlideToIndex,o,{trailing:!1})),!i||e.lazyLoad&&!m||(this.lazyLoaded=[]),u!==e.useWindowKeyDown&&(u?(this.imageGallery.current.removeEventListener("keydown",this.handleKeyDown),window.addEventListener("keydown",this.handleKeyDown)):(window.removeEventListener("keydown",this.handleKeyDown),this.imageGallery.current.addEventListener("keydown",this.handleKeyDown))),(g||m)&&this.setState({currentIndex:s,slideStyle:{transition:"none"}})}},{key:"componentWillUnmount",value:function(){var e=this.props.useWindowKeyDown;window.removeEventListener("mousedown",this.handleMouseDown),window.removeEventListener("touchmove",this.handleTouchMove),this.removeScreenChangeEvent(),this.removeResizeObserver(),this.playPauseIntervalId&&(window.clearInterval(this.playPauseIntervalId),this.playPauseIntervalId=null),this.transitionTimer&&window.clearTimeout(this.transitionTimer),e?window.removeEventListener("keydown",this.handleKeyDown):this.imageGallery.current.removeEventListener("keydown",this.handleKeyDown)}},{key:"onSliding",value:function(){var e=this,t=this.state,n=t.currentIndex,r=t.isTransitioning,i=this.props,o=i.onSlide,a=i.slideDuration;this.transitionTimer=window.setTimeout((function(){r&&(e.setState({isTransitioning:!r,isSwipingThumbnail:!1}),o&&o(n))}),a+50)}},{key:"onThumbnailClick",value:function(e,t){var n=this.props,r=n.onThumbnailClick,i=n.items,o=this.state.currentIndex;e.target.parentNode.parentNode.blur(),o!==t&&(2===i.length?this.slideToIndexWithStyleReset(t,e):this.slideToIndex(t,e)),r&&r(e,t)}},{key:"onThumbnailMouseOver",value:function(e,t){var n=this;this.thumbnailMouseOverTimer&&(window.clearTimeout(this.thumbnailMouseOverTimer),this.thumbnailMouseOverTimer=null),this.thumbnailMouseOverTimer=window.setTimeout((function(){n.slideToIndex(t),n.pause()}),300)}},{key:"onThumbnailMouseLeave",value:function(){if(this.thumbnailMouseOverTimer){var e=this.props.autoPlay;window.clearTimeout(this.thumbnailMouseOverTimer),this.thumbnailMouseOverTimer=null,e&&this.play()}}},{key:"setThumbsTranslate",value:function(e){this.setState({thumbsTranslate:e})}},{key:"setModalFullscreen",value:function(e){var t=this.props.onScreenChange;this.setState({modalFullscreen:e}),t&&t(e)}},{key:"getThumbsTranslate",value:function(e){var t,n=this.props,r=n.disableThumbnailScroll,i=n.items,o=this.state,a=o.thumbnailsWrapperWidth,s=o.thumbnailsWrapperHeight,l=this.thumbnails&&this.thumbnails.current;if(r)return 0;if(l){if(this.isThumbnailVertical()){if(l.scrollHeight<=s)return 0;t=l.scrollHeight-s}else{if(l.scrollWidth<=a||a<=0)return 0;t=l.scrollWidth-a}return e*(t/(i.length-1))}return 0}},{key:"getThumbnailPositionClassName",value:function(e){switch(e){case"left":e=" ".concat("image-gallery-thumbnails-left");break;case"right":e=" ".concat("image-gallery-thumbnails-right");break;case"bottom":e=" ".concat("image-gallery-thumbnails-bottom");break;case"top":e=" ".concat("image-gallery-thumbnails-top")}return e}},{key:"getAlignmentClassName",value:function(e){var t=this.state.currentIndex,n=this.props,r=n.infinite,i=n.items,o="",a="image-gallery-left",s="image-gallery-right";switch(e){case t-1:o=" ".concat(a);break;case t:o=" ".concat("image-gallery-center");break;case t+1:o=" ".concat(s)}return i.length>=3&&r&&(0===e&&t===i.length-1?o=" ".concat(s):e===i.length-1&&0===t&&(o=" ".concat(a))),o}},{key:"getTranslateXForTwoSlide",value:function(e){var t=this.state,n=t.currentIndex,r=t.currentSlideOffset,i=t.previousIndex,o=n!==i,a=0===e&&0===i,s=1===e&&1===i,l=0===e&&1===n,c=1===e&&0===n,u=0===r,d=-100*n+100*e+r;return r>0?this.direction="left":r<0&&(this.direction="right"),c&&r>0&&(d=-100+r),l&&r<0&&(d=100+r),o?a&&u&&"left"===this.direction?d=100:s&&u&&"right"===this.direction&&(d=-100):(c&&u&&"left"===this.direction&&(d=-100),l&&u&&"right"===this.direction&&(d=100)),d}},{key:"getThumbnailBarHeight",value:function(){return this.isThumbnailVertical()?{height:this.state.gallerySlideWrapperHeight}:{}}},{key:"getSlideStyle",value:function(e){var t=this.state,n=t.currentIndex,r=t.currentSlideOffset,i=t.slideStyle,o=this.props,a=o.infinite,s=o.items,l=o.useTranslate3D,c=o.isRTL,u=-100*n,d=s.length-1,p=(u+100*e)*(c?-1:1)+r;a&&s.length>2&&(0===n&&e===d?p=-100*(c?-1:1)+r:n===d&&0===e&&(p=100*(c?-1:1)+r)),a&&2===s.length&&(p=this.getTranslateXForTwoSlide(e));var h="translate(".concat(p,"%, 0)");return l&&(h="translate3d(".concat(p,"%, 0, 0)")),Ue({display:this.isSlideVisible(e)?"inherit":"none",WebkitTransform:h,MozTransform:h,msTransform:h,OTransform:h,transform:h},i)}},{key:"getCurrentIndex",value:function(){return this.state.currentIndex}},{key:"getThumbnailStyle",value:function(){var e,t=this.props,n=t.useTranslate3D,r=t.isRTL,i=this.state,o=i.thumbsTranslate,a=i.thumbsStyle,s=r?-1*o:o;return this.isThumbnailVertical()?(e="translate(0, ".concat(o,"px)"),n&&(e="translate3d(0, ".concat(o,"px, 0)"))):(e="translate(".concat(s,"px, 0)"),n&&(e="translate3d(".concat(s,"px, 0, 0)"))),Ue({WebkitTransform:e,MozTransform:e,msTransform:e,OTransform:e,transform:e},a)}},{key:"getSlideItems",value:function(){var e=this,n=this.state.currentIndex,r=this.props,i=r.items,o=r.slideOnThumbnailOver,s=r.onClick,l=r.lazyLoad,c=r.onTouchMove,u=r.onTouchEnd,d=r.onTouchStart,p=r.onMouseOver,h=r.onMouseLeave,f=r.renderItem,m=r.renderThumbInner,g=r.showThumbnails,v=r.showBullets,y=[],A=[],b=[];return i.forEach((function(r,i){var w=e.getAlignmentClassName(i),x=r.originalClass?" ".concat(r.originalClass):"",C=r.thumbnailClass?" ".concat(r.thumbnailClass):"",S=r.renderItem||f||e.renderItem,k=r.renderThumbInner||m||e.renderThumbInner,E=!l||w||e.lazyLoaded[i];E&&l&&!e.lazyLoaded[i]&&(e.lazyLoaded[i]=!0);var I=e.getSlideStyle(i),_=a().createElement("div",{"aria-label":"Go to Slide ".concat(i+1),key:"slide-".concat(i),tabIndex:"-1",className:"image-gallery-slide ".concat(w," ").concat(x),style:I,onClick:s,onKeyUp:e.handleSlideKeyUp,onTouchMove:c,onTouchEnd:u,onTouchStart:d,onMouseOver:p,onFocus:p,onMouseLeave:h,role:"button"},E?S(r):a().createElement("div",{style:{height:"100%"}}));if(y.push(_),g&&r.thumbnail){var P=t("image-gallery-thumbnail",C,{active:n===i});A.push(a().createElement("button",{key:"thumbnail-".concat(i),type:"button",tabIndex:"0","aria-pressed":n===i?"true":"false","aria-label":"Go to Slide ".concat(i+1),className:P,onMouseLeave:o?e.onThumbnailMouseLeave:null,onMouseOver:function(t){return e.handleThumbnailMouseOver(t,i)},onFocus:function(t){return e.handleThumbnailMouseOver(t,i)},onKeyUp:function(t){return e.handleThumbnailKeyUp(t,i)},onClick:function(t){return e.onThumbnailClick(t,i)}},k(r)))}if(v){var O=t("image-gallery-bullet",r.bulletClass,{active:n===i});b.push(a().createElement("button",{type:"button",key:"bullet-".concat(i),className:O,onClick:function(t){return e.onBulletClick(t,i)},"aria-pressed":n===i?"true":"false","aria-label":"Go to Slide ".concat(i+1)}))}})),{slides:y,thumbnails:A,bullets:b}}},{key:"ignoreIsTransitioning",value:function(){var e=this.props.items,t=this.state,n=t.previousIndex,r=t.currentIndex,i=e.length-1;return Math.abs(n-r)>1&&!(0===n&&r===i)&&!(n===i&&0===r)}},{key:"isFirstOrLastSlide",value:function(e){return e===this.props.items.length-1||0===e}},{key:"slideIsTransitioning",value:function(e){var t=this.state,n=t.isTransitioning,r=t.previousIndex,i=t.currentIndex;return n&&!(e===r||e===i)}},{key:"isSlideVisible",value:function(e){return!this.slideIsTransitioning(e)||this.ignoreIsTransitioning()&&!this.isFirstOrLastSlide(e)}},{key:"slideThumbnailBar",value:function(){var e=this.state,t=e.currentIndex,n=e.isSwipingThumbnail,r=-this.getThumbsTranslate(t);n||(0===t?this.setState({thumbsTranslate:0,thumbsSwipedTranslate:0}):this.setState({thumbsTranslate:r,thumbsSwipedTranslate:r}))}},{key:"canSlide",value:function(){return this.props.items.length>=2}},{key:"canSlideLeft",value:function(){return this.props.infinite||this.canSlidePrevious()}},{key:"canSlideRight",value:function(){return this.props.infinite||this.canSlideNext()}},{key:"canSlidePrevious",value:function(){return this.state.currentIndex>0}},{key:"canSlideNext",value:function(){return this.state.currentIndex<this.props.items.length-1}},{key:"handleSwiping",value:function(e){var t=e.event,n=e.absX,r=e.dir,i=this.props,o=i.disableSwipe,a=i.stopPropagation,s=this.state,l=s.galleryWidth,c=s.isTransitioning,u=s.swipingUpDown,d=s.swipingLeftRight;if(r!==ee&&r!==te&&!u||d){if(r!==Z&&r!==$||d||this.setState({swipingLeftRight:!0}),!o){var p=this.props.swipingTransitionDuration;if(a&&t.preventDefault(),c)this.setState({currentSlideOffset:0});else{var h=r===$?1:-1,f=n/l*100;Math.abs(f)>=100&&(f=100);var m={transition:"transform ".concat(p,"ms ease-out")};this.setState({currentSlideOffset:h*f,slideStyle:m})}}}else u||this.setState({swipingUpDown:!0})}},{key:"handleThumbnailSwiping",value:function(e){var t=e.event,n=e.absX,r=e.absY,i=e.dir,o=this.props,a=o.stopPropagation,s=o.swipingThumbnailTransitionDuration,l=this.state,c=l.thumbsSwipedTranslate,u=l.thumbnailsWrapperHeight,d=l.thumbnailsWrapperWidth,p=l.swipingUpDown,h=l.swipingLeftRight;if(this.isThumbnailVertical()){if((i===Z||i===$||h)&&!p)return void(h||this.setState({swipingLeftRight:!0}));i!==ee&&i!==te||p||this.setState({swipingUpDown:!0})}else{if((i===ee||i===te||p)&&!h)return void(p||this.setState({swipingUpDown:!0}));i!==Z&&i!==$||h||this.setState({swipingLeftRight:!0})}var f,m,g,v,y,A=this.thumbnails&&this.thumbnails.current;if(this.isThumbnailVertical()?(f=c+(i===te?r:-r),m=A.scrollHeight-u+20,g=Math.abs(f)>m,v=f>20,y=A.scrollHeight<=u):(f=c+(i===$?n:-n),m=A.scrollWidth-d+20,g=Math.abs(f)>m,v=f>20,y=A.scrollWidth<=d),!y&&(i!==Z&&i!==ee||!g)&&(i!==$&&i!==te||!v)){a&&t.stopPropagation();var b={transition:"transform ".concat(s,"ms ease-out")};this.setState({thumbsTranslate:f,thumbsStyle:b})}}},{key:"handleOnThumbnailSwiped",value:function(){var e=this.state.thumbsTranslate,t=this.props.slideDuration;this.resetSwipingDirection(),this.setState({isSwipingThumbnail:!0,thumbsSwipedTranslate:e,thumbsStyle:{transition:"all ".concat(t,"ms ease-out")}})}},{key:"sufficientSwipe",value:function(){var e=this.state.currentSlideOffset,t=this.props.swipeThreshold;return Math.abs(e)>t}},{key:"resetSwipingDirection",value:function(){var e=this.state,t=e.swipingUpDown,n=e.swipingLeftRight;t&&this.setState({swipingUpDown:!1}),n&&this.setState({swipingLeftRight:!1})}},{key:"handleOnSwiped",value:function(e){var t=e.event,n=e.dir,r=e.velocity,i=this.props,o=i.disableSwipe,a=i.stopPropagation,s=i.flickThreshold;if(!o){var l=this.props.isRTL;a&&t.stopPropagation(),this.resetSwipingDirection();var c=(n===Z?1:-1)*(l?-1:1),u=r>s&&!(n===ee||n===te);this.handleOnSwipedTo(c,u)}}},{key:"handleOnSwipedTo",value:function(e,t){var n=this.state,r=n.currentIndex,i=n.isTransitioning,o=r;!this.sufficientSwipe()&&!t||i||(o+=e),(-1===e&&!this.canSlideLeft()||1===e&&!this.canSlideRight())&&(o=r),this.unthrottledSlideToIndex(o)}},{key:"handleTouchMove",value:function(e){this.state.swipingLeftRight&&e.preventDefault()}},{key:"handleMouseDown",value:function(){this.imageGallery.current.classList.add("image-gallery-using-mouse")}},{key:"handleKeyDown",value:function(e){var t=this.props,n=t.disableKeyDown,r=t.useBrowserFullscreen,i=this.state.isFullscreen;if(this.imageGallery.current.classList.remove("image-gallery-using-mouse"),!n)switch(parseInt(e.keyCode||e.which||0,10)){case 37:this.canSlideLeft()&&!this.playPauseIntervalId&&this.slideLeft(e);break;case 39:this.canSlideRight()&&!this.playPauseIntervalId&&this.slideRight(e);break;case 27:i&&!r&&this.exitFullScreen()}}},{key:"handleImageError",value:function(e){var t=this.props.onErrorImageURL;t&&-1===e.target.src.indexOf(t)&&(e.target.src=t)}},{key:"removeThumbnailsResizeObserver",value:function(){this.resizeThumbnailWrapperObserver&&this.thumbnailsWrapper&&this.thumbnailsWrapper.current&&(this.resizeThumbnailWrapperObserver.unobserve(this.thumbnailsWrapper.current),this.resizeThumbnailWrapperObserver=null)}},{key:"removeResizeObserver",value:function(){this.resizeSlideWrapperObserver&&this.imageGallerySlideWrapper&&this.imageGallerySlideWrapper.current&&(this.resizeSlideWrapperObserver.unobserve(this.imageGallerySlideWrapper.current),this.resizeSlideWrapperObserver=null),this.removeThumbnailsResizeObserver()}},{key:"handleResize",value:function(){var e=this.state.currentIndex;this.imageGallery&&(this.imageGallery&&this.imageGallery.current&&this.setState({galleryWidth:this.imageGallery.current.offsetWidth}),this.imageGallerySlideWrapper&&this.imageGallerySlideWrapper.current&&this.setState({gallerySlideWrapperHeight:this.imageGallerySlideWrapper.current.offsetHeight}),this.setThumbsTranslate(-this.getThumbsTranslate(e)))}},{key:"initSlideWrapperResizeObserver",value:function(e){var t=this;e&&!e.current||(this.resizeSlideWrapperObserver=new X(_((function(e){e&&e.forEach((function(e){t.setState({thumbnailsWrapperWidth:e.contentRect.width},t.handleResize)}))}),50)),this.resizeSlideWrapperObserver.observe(e.current))}},{key:"initThumbnailWrapperResizeObserver",value:function(e){var t=this;e&&!e.current||(this.resizeThumbnailWrapperObserver=new X(_((function(e){e&&e.forEach((function(e){t.setState({thumbnailsWrapperHeight:e.contentRect.height},t.handleResize)}))}),50)),this.resizeThumbnailWrapperObserver.observe(e.current))}},{key:"toggleFullScreen",value:function(){this.state.isFullscreen?this.exitFullScreen():this.fullScreen()}},{key:"togglePlay",value:function(){this.playPauseIntervalId?this.pause():this.play()}},{key:"handleScreenChange",value:function(){var e=this.props,t=e.onScreenChange,n=e.useBrowserFullscreen,r=document.fullscreenElement||document.msFullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement,i=this.imageGallery.current===r;t&&t(i),n&&this.setState({isFullscreen:i})}},{key:"slideToIndex",value:function(e,t){var n=this.state,r=n.currentIndex,i=n.isTransitioning,o=this.props,a=o.items,s=o.slideDuration,l=o.onBeforeSlide;if(!i){t&&this.playPauseIntervalId&&(this.pause(!1),this.play(!1));var c=a.length-1,u=e;e<0?u=c:e>c&&(u=0),l&&u!==r&&l(u),this.setState({previousIndex:r,currentIndex:u,isTransitioning:u!==r,currentSlideOffset:0,slideStyle:{transition:"all ".concat(s,"ms ease-out")}},this.onSliding)}}},{key:"slideLeft",value:function(e){var t=this.props.isRTL;this.slideTo(e,t?"right":"left")}},{key:"slideRight",value:function(e){var t=this.props.isRTL;this.slideTo(e,t?"left":"right")}},{key:"slideTo",value:function(e,t){var n=this.state,r=n.currentIndex,i=n.isTransitioning,o=this.props.items,a=r+("left"===t?-1:1);i||(2===o.length?this.slideToIndexWithStyleReset(a,e):this.slideToIndex(a,e))}},{key:"slideToIndexWithStyleReset",value:function(e,t){var n=this,r=this.state,i=r.currentIndex,o=r.currentSlideOffset;this.setState({currentSlideOffset:o+(i>e?.001:-.001),slideStyle:{transition:"none"}},(function(){window.setTimeout((function(){return n.slideToIndex(e,t)}),25)}))}},{key:"handleThumbnailMouseOver",value:function(e,t){this.props.slideOnThumbnailOver&&this.onThumbnailMouseOver(e,t)}},{key:"handleThumbnailKeyUp",value:function(e,t){Je(e)&&this.onThumbnailClick(e,t)}},{key:"handleSlideKeyUp",value:function(e){Je(e)&&(0,this.props.onClick)(e)}},{key:"isThumbnailVertical",value:function(){var e=this.props.thumbnailPosition;return"left"===e||"right"===e}},{key:"addScreenChangeEvent",value:function(){var e=this;Ye.forEach((function(t){document.addEventListener(t,e.handleScreenChange)}))}},{key:"removeScreenChangeEvent",value:function(){var e=this;Ye.forEach((function(t){document.removeEventListener(t,e.handleScreenChange)}))}},{key:"fullScreen",value:function(){var e=this.props.useBrowserFullscreen,t=this.imageGallery.current;e?t.requestFullscreen?t.requestFullscreen():t.msRequestFullscreen?t.msRequestFullscreen():t.mozRequestFullScreen?t.mozRequestFullScreen():t.webkitRequestFullscreen?t.webkitRequestFullscreen():this.setModalFullscreen(!0):this.setModalFullscreen(!0),this.setState({isFullscreen:!0})}},{key:"exitFullScreen",value:function(){var e=this.state.isFullscreen,t=this.props.useBrowserFullscreen;e&&(t?document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.msExitFullscreen?document.msExitFullscreen():this.setModalFullscreen(!1):this.setModalFullscreen(!1),this.setState({isFullscreen:!1}))}},{key:"pauseOrPlay",value:function(){var e=this.props.infinite,t=this.state.currentIndex;e||this.canSlideRight()?this.slideToIndex(t+1):this.pause()}},{key:"play",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=this.props,n=t.onPlay,r=t.slideInterval,i=t.slideDuration,o=this.state.currentIndex;this.playPauseIntervalId||(this.setState({isPlaying:!0}),this.playPauseIntervalId=window.setInterval(this.pauseOrPlay,Math.max(r,i)),n&&e&&n(o))}},{key:"pause",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=this.props.onPause,n=this.state.currentIndex;this.playPauseIntervalId&&(window.clearInterval(this.playPauseIntervalId),this.playPauseIntervalId=null,this.setState({isPlaying:!1}),t&&e&&t(n))}},{key:"isImageLoaded",value:function(e){return!!this.loadedImages[e.original]||(this.loadedImages[e.original]=!0,!1)}},{key:"handleImageLoaded",value:function(e,t){var n=this.props.onImageLoad;!this.loadedImages[t]&&n&&(this.loadedImages[t]=!0,n(e))}},{key:"renderItem",value:function(e){var t=this.state.isFullscreen,n=this.props.onImageError||this.handleImageError;return a().createElement(me,{description:e.description,fullscreen:e.fullscreen,handleImageLoaded:this.handleImageLoaded,isFullscreen:t,onImageError:n,original:e.original,originalAlt:e.originalAlt,originalHeight:e.originalHeight,originalWidth:e.originalWidth,originalTitle:e.originalTitle,sizes:e.sizes,loading:e.loading,srcSet:e.srcSet})}},{key:"renderThumbInner",value:function(e){var t=this.props.onThumbnailError||this.handleImageError;return a().createElement("span",{className:"image-gallery-thumbnail-inner"},a().createElement("img",{className:"image-gallery-thumbnail-image",src:e.thumbnail,height:e.thumbnailHeight,width:e.thumbnailWidth,alt:e.thumbnailAlt,title:e.thumbnailTitle,loading:e.thumbnailLoading,onError:t}),e.thumbnailLabel&&a().createElement("div",{className:"image-gallery-thumbnail-label"},e.thumbnailLabel))}},{key:"render",value:function(){var e=this.state,n=e.currentIndex,r=e.isFullscreen,i=e.modalFullscreen,o=e.isPlaying,s=this.props,l=s.additionalClass,c=s.disableThumbnailSwipe,u=s.indexSeparator,d=s.isRTL,p=s.items,h=s.thumbnailPosition,f=s.renderFullscreenButton,m=s.renderCustomControls,g=s.renderLeftNav,v=s.renderRightNav,y=s.showBullets,A=s.showFullscreenButton,b=s.showIndex,w=s.showThumbnails,x=s.showNav,C=s.showPlayButton,S=s.renderPlayPauseButton,k=this.getThumbnailStyle(),E=this.getSlideItems(),I=E.slides,_=E.thumbnails,P=E.bullets,O=t("image-gallery-slide-wrapper",this.getThumbnailPositionClassName(h),{"image-gallery-rtl":d}),T=a().createElement("div",{ref:this.imageGallerySlideWrapper,className:O},m&&m(),this.canSlide()?a().createElement(a().Fragment,null,x&&a().createElement(a().Fragment,null,g(this.slideLeft,!this.canSlideLeft()),v(this.slideRight,!this.canSlideRight())),a().createElement(Fe,{className:"image-gallery-swipe",delta:0,onSwiping:this.handleSwiping,onSwiped:this.handleOnSwiped},a().createElement("div",{className:"image-gallery-slides"},I))):a().createElement("div",{className:"image-gallery-slides"},I),C&&S(this.togglePlay,o),y&&a().createElement("div",{className:"image-gallery-bullets"},a().createElement("div",{className:"image-gallery-bullets-container",role:"navigation","aria-label":"Bullet Navigation"},P)),A&&f(this.toggleFullScreen,r),b&&a().createElement("div",{className:"image-gallery-index"},a().createElement("span",{className:"image-gallery-index-current"},n+1),a().createElement("span",{className:"image-gallery-index-separator"},u),a().createElement("span",{className:"image-gallery-index-total"},p.length))),D=t("image-gallery",l,{"fullscreen-modal":i}),j=t("image-gallery-content",this.getThumbnailPositionClassName(h),{fullscreen:r}),B=t("image-gallery-thumbnails-wrapper",this.getThumbnailPositionClassName(h),{"thumbnails-wrapper-rtl":!this.isThumbnailVertical()&&d},{"thumbnails-swipe-horizontal":!this.isThumbnailVertical()&&!c},{"thumbnails-swipe-vertical":this.isThumbnailVertical()&&!c});return a().createElement("div",{ref:this.imageGallery,className:D,"aria-live":"polite"},a().createElement("div",{className:j},("bottom"===h||"right"===h)&&T,w&&_.length>0?a().createElement(Fe,{className:B,delta:0,onSwiping:!c&&this.handleThumbnailSwiping,onSwiped:!c&&this.handleOnThumbnailSwiped},a().createElement("div",{className:"image-gallery-thumbnails",ref:this.thumbnailsWrapper,style:this.getThumbnailBarHeight()},a().createElement("nav",{ref:this.thumbnails,className:"image-gallery-thumbnails-container",style:k,"aria-label":"Thumbnail Navigation"},_))):null,("top"===h||"left"===h)&&T))}}],r&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,We(r.key),r)}}(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),l}(a().Component);Xe.propTypes={flickThreshold:le.number,items:(0,le.arrayOf)((0,le.shape)({bulletClass:le.string,bulletOnClick:le.func,description:le.string,original:le.string,originalHeight:le.number,originalWidth:le.number,loading:le.string,thumbnailHeight:le.number,thumbnailWidth:le.number,thumbnailLoading:le.string,fullscreen:le.string,originalAlt:le.string,originalTitle:le.string,thumbnail:le.string,thumbnailAlt:le.string,thumbnailLabel:le.string,thumbnailTitle:le.string,originalClass:le.string,thumbnailClass:le.string,renderItem:le.func,renderThumbInner:le.func,imageSet:Ke,srcSet:le.string,sizes:le.string})).isRequired,showNav:le.bool,autoPlay:le.bool,lazyLoad:le.bool,infinite:le.bool,showIndex:le.bool,showBullets:le.bool,showThumbnails:le.bool,showPlayButton:le.bool,showFullscreenButton:le.bool,disableThumbnailScroll:le.bool,disableKeyDown:le.bool,disableSwipe:le.bool,disableThumbnailSwipe:le.bool,useBrowserFullscreen:le.bool,onErrorImageURL:le.string,indexSeparator:le.string,thumbnailPosition:(0,le.oneOf)(["top","bottom","left","right"]),startIndex:le.number,slideDuration:le.number,slideInterval:le.number,slideOnThumbnailOver:le.bool,swipeThreshold:le.number,swipingTransitionDuration:le.number,swipingThumbnailTransitionDuration:le.number,onSlide:le.func,onBeforeSlide:le.func,onScreenChange:le.func,onPause:le.func,onPlay:le.func,onClick:le.func,onImageLoad:le.func,onImageError:le.func,onTouchMove:le.func,onTouchEnd:le.func,onTouchStart:le.func,onMouseOver:le.func,onMouseLeave:le.func,onBulletClick:le.func,onThumbnailError:le.func,onThumbnailClick:le.func,renderCustomControls:le.func,renderLeftNav:le.func,renderRightNav:le.func,renderPlayPauseButton:le.func,renderFullscreenButton:le.func,renderItem:le.func,renderThumbInner:le.func,stopPropagation:le.bool,additionalClass:le.string,useTranslate3D:le.bool,isRTL:le.bool,useWindowKeyDown:le.bool},Xe.defaultProps={onErrorImageURL:"",additionalClass:"",showNav:!0,autoPlay:!1,lazyLoad:!1,infinite:!0,showIndex:!1,showBullets:!1,showThumbnails:!0,showPlayButton:!0,showFullscreenButton:!0,disableThumbnailScroll:!1,disableKeyDown:!1,disableSwipe:!1,disableThumbnailSwipe:!1,useTranslate3D:!0,isRTL:!1,useBrowserFullscreen:!0,flickThreshold:.4,stopPropagation:!1,indexSeparator:" / ",thumbnailPosition:"bottom",startIndex:0,slideDuration:450,swipingTransitionDuration:0,swipingThumbnailTransitionDuration:0,onSlide:null,onBeforeSlide:null,onScreenChange:null,onPause:null,onPlay:null,onClick:null,onImageLoad:null,onImageError:null,onTouchMove:null,onTouchEnd:null,onTouchStart:null,onMouseOver:null,onMouseLeave:null,onBulletClick:null,onThumbnailError:null,onThumbnailClick:null,renderCustomControls:null,renderThumbInner:null,renderItem:null,slideInterval:3e3,slideOnThumbnailOver:!1,swipeThreshold:30,renderLeftNav:function(e,t){return a().createElement(Ie,{onClick:e,disabled:t})},renderRightNav:function(e,t){return a().createElement(Pe,{onClick:e,disabled:t})},renderPlayPauseButton:function(e,t){return a().createElement(Te,{onClick:e,isPlaying:t})},renderFullscreenButton:function(e,t){return a().createElement(ke,{onClick:e,isFullscreen:t})},useWindowKeyDown:!0};const Ze=Xe})(),o})()))},68577:(e,t)=>{"use strict";var n="function"===typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,i=n?Symbol.for("react.portal"):60106,o=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,u=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,p=n?Symbol.for("react.forward_ref"):60112,h=n?Symbol.for("react.suspense"):60113,f=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,v=n?Symbol.for("react.block"):60121,y=n?Symbol.for("react.fundamental"):60117,A=n?Symbol.for("react.responder"):60118,b=n?Symbol.for("react.scope"):60119;function w(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case u:case d:case o:case s:case a:case h:return e;default:switch(e=e&&e.$$typeof){case c:case p:case g:case m:case l:return e;default:return t}}case i:return t}}}function x(e){return w(e)===d}t.AsyncMode=u,t.ConcurrentMode=d,t.ContextConsumer=c,t.ContextProvider=l,t.Element=r,t.ForwardRef=p,t.Fragment=o,t.Lazy=g,t.Memo=m,t.Portal=i,t.Profiler=s,t.StrictMode=a,t.Suspense=h,t.isAsyncMode=function(e){return x(e)||w(e)===u},t.isConcurrentMode=x,t.isContextConsumer=function(e){return w(e)===c},t.isContextProvider=function(e){return w(e)===l},t.isElement=function(e){return"object"===typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return w(e)===p},t.isFragment=function(e){return w(e)===o},t.isLazy=function(e){return w(e)===g},t.isMemo=function(e){return w(e)===m},t.isPortal=function(e){return w(e)===i},t.isProfiler=function(e){return w(e)===s},t.isStrictMode=function(e){return w(e)===a},t.isSuspense=function(e){return w(e)===h},t.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===o||e===d||e===s||e===a||e===h||e===f||"object"===typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===l||e.$$typeof===c||e.$$typeof===p||e.$$typeof===y||e.$$typeof===A||e.$$typeof===b||e.$$typeof===v)},t.typeOf=w},26429:(e,t,n)=>{"use strict";e.exports=n(68577)},73878:(e,t,n)=>{"use strict";n.d(t,{Kq:()=>u,vA:()=>$.unstable_batchedUpdates,Ng:()=>V,wA:()=>Y,d4:()=>Z});var r=n(9950),i=r.createContext(null);var o=function(e){e()},a=function(){return o};var s={notify:function(){},get:function(){return[]}};function l(e,t){var n,r=s;function i(){l.onStateChange&&l.onStateChange()}function o(){n||(n=t?t.addNestedSub(i):e.subscribe(i),r=function(){var e=a(),t=null,n=null;return{clear:function(){t=null,n=null},notify:function(){e((function(){for(var e=t;e;)e.callback(),e=e.next}))},get:function(){for(var e=[],n=t;n;)e.push(n),n=n.next;return e},subscribe:function(e){var r=!0,i=n={callback:e,next:null,prev:n};return i.prev?i.prev.next=i:t=i,function(){r&&null!==t&&(r=!1,i.next?i.next.prev=i.prev:n=i.prev,i.prev?i.prev.next=i.next:t=i.next)}}}}())}var l={addNestedSub:function(e){return o(),r.subscribe(e)},notifyNestedSubs:function(){r.notify()},handleChangeWrapper:i,isSubscribed:function(){return Boolean(n)},trySubscribe:o,tryUnsubscribe:function(){n&&(n(),n=void 0,r.clear(),r=s)},getListeners:function(){return r}};return l}var c="undefined"!==typeof window&&"undefined"!==typeof window.document&&"undefined"!==typeof window.document.createElement?r.useLayoutEffect:r.useEffect;const u=function(e){var t=e.store,n=e.context,o=e.children,a=(0,r.useMemo)((function(){var e=l(t);return{store:t,subscription:e}}),[t]),s=(0,r.useMemo)((function(){return t.getState()}),[t]);c((function(){var e=a.subscription;return e.onStateChange=e.notifyNestedSubs,e.trySubscribe(),s!==t.getState()&&e.notifyNestedSubs(),function(){e.tryUnsubscribe(),e.onStateChange=null}}),[a,s]);var u=n||i;return r.createElement(u.Provider,{value:a},o)};var d=n(58168),p=n(98587),h=n(23876),f=n.n(h),m=n(60863),g=["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"],v=["reactReduxForwardedRef"],y=[],A=[null,null];function b(e,t){var n=e[1];return[t.payload,n+1]}function w(e,t,n){c((function(){return e.apply(void 0,t)}),n)}function x(e,t,n,r,i,o,a){e.current=r,t.current=i,n.current=!1,o.current&&(o.current=null,a())}function C(e,t,n,r,i,o,a,s,l,c){if(e){var u=!1,d=null,p=function(){if(!u){var e,n,p=t.getState();try{e=r(p,i.current)}catch(h){n=h,d=h}n||(d=null),e===o.current?a.current||l():(o.current=e,s.current=e,a.current=!0,c({type:"STORE_UPDATED",payload:{error:n}}))}};n.onStateChange=p,n.trySubscribe(),p();return function(){if(u=!0,n.tryUnsubscribe(),n.onStateChange=null,d)throw d}}}var S=function(){return[null,0]};function k(e,t){void 0===t&&(t={});var n=t,o=n.getDisplayName,a=void 0===o?function(e){return"ConnectAdvanced("+e+")"}:o,s=n.methodName,c=void 0===s?"connectAdvanced":s,u=n.renderCountProp,h=void 0===u?void 0:u,k=n.shouldHandleStateChanges,E=void 0===k||k,I=n.storeKey,_=void 0===I?"store":I,P=(n.withRef,n.forwardRef),O=void 0!==P&&P,T=n.context,D=void 0===T?i:T,j=(0,p.A)(n,g),B=D;return function(t){var n=t.displayName||t.name||"Component",i=a(n),o=(0,d.A)({},j,{getDisplayName:a,methodName:c,renderCountProp:h,shouldHandleStateChanges:E,storeKey:_,displayName:i,wrappedComponentName:n,WrappedComponent:t}),s=j.pure;var u=s?r.useMemo:function(e){return e()};function g(n){var i=(0,r.useMemo)((function(){var e=n.reactReduxForwardedRef,t=(0,p.A)(n,v);return[n.context,e,t]}),[n]),a=i[0],s=i[1],c=i[2],h=(0,r.useMemo)((function(){return a&&a.Consumer&&(0,m.isContextConsumer)(r.createElement(a.Consumer,null))?a:B}),[a,B]),f=(0,r.useContext)(h),g=Boolean(n.store)&&Boolean(n.store.getState)&&Boolean(n.store.dispatch);Boolean(f)&&Boolean(f.store);var k=g?n.store:f.store,I=(0,r.useMemo)((function(){return function(t){return e(t.dispatch,o)}(k)}),[k]),_=(0,r.useMemo)((function(){if(!E)return A;var e=l(k,g?null:f.subscription),t=e.notifyNestedSubs.bind(e);return[e,t]}),[k,g,f]),P=_[0],O=_[1],T=(0,r.useMemo)((function(){return g?f:(0,d.A)({},f,{subscription:P})}),[g,f,P]),D=(0,r.useReducer)(b,y,S),j=D[0][0],N=D[1];if(j&&j.error)throw j.error;var M=(0,r.useRef)(),R=(0,r.useRef)(c),L=(0,r.useRef)(),F=(0,r.useRef)(!1),z=u((function(){return L.current&&c===R.current?L.current:I(k.getState(),c)}),[k,j,c]);w(x,[R,M,F,c,z,L,O]),w(C,[E,k,P,I,R,M,F,L,O,N],[k,P,I]);var Q=(0,r.useMemo)((function(){return r.createElement(t,(0,d.A)({},z,{ref:s}))}),[s,t,z]);return(0,r.useMemo)((function(){return E?r.createElement(h.Provider,{value:T},Q):Q}),[h,Q,T])}var k=s?r.memo(g):g;if(k.WrappedComponent=t,k.displayName=g.displayName=i,O){var I=r.forwardRef((function(e,t){return r.createElement(k,(0,d.A)({},e,{reactReduxForwardedRef:t}))}));return I.displayName=i,I.WrappedComponent=t,f()(I,t)}return f()(k,t)}}function E(e,t){return e===t?0!==e||0!==t||1/e===1/t:e!==e&&t!==t}function I(e,t){if(E(e,t))return!0;if("object"!==typeof e||null===e||"object"!==typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var i=0;i<n.length;i++)if(!Object.prototype.hasOwnProperty.call(t,n[i])||!E(e[n[i]],t[n[i]]))return!1;return!0}function _(e){return function(t,n){var r=e(t,n);function i(){return r}return i.dependsOnOwnProps=!1,i}}function P(e){return null!==e.dependsOnOwnProps&&void 0!==e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function O(e,t){return function(t,n){n.displayName;var r=function(e,t){return r.dependsOnOwnProps?r.mapToProps(e,t):r.mapToProps(e)};return r.dependsOnOwnProps=!0,r.mapToProps=function(t,n){r.mapToProps=e,r.dependsOnOwnProps=P(e);var i=r(t,n);return"function"===typeof i&&(r.mapToProps=i,r.dependsOnOwnProps=P(i),i=r(t,n)),i},r}}const T=[function(e){return"function"===typeof e?O(e):void 0},function(e){return e?void 0:_((function(e){return{dispatch:e}}))},function(e){return e&&"object"===typeof e?_((function(t){return function(e,t){var n={},r=function(r){var i=e[r];"function"===typeof i&&(n[r]=function(){return t(i.apply(void 0,arguments))})};for(var i in e)r(i);return n}(e,t)})):void 0}];const D=[function(e){return"function"===typeof e?O(e):void 0},function(e){return e?void 0:_((function(){return{}}))}];function j(e,t,n){return(0,d.A)({},n,e,t)}const B=[function(e){return"function"===typeof e?function(e){return function(t,n){n.displayName;var r,i=n.pure,o=n.areMergedPropsEqual,a=!1;return function(t,n,s){var l=e(t,n,s);return a?i&&o(l,r)||(r=l):(a=!0,r=l),r}}}(e):void 0},function(e){return e?void 0:function(){return j}}];var N=["initMapStateToProps","initMapDispatchToProps","initMergeProps"];function M(e,t,n,r){return function(i,o){return n(e(i,o),t(r,o),o)}}function R(e,t,n,r,i){var o,a,s,l,c,u=i.areStatesEqual,d=i.areOwnPropsEqual,p=i.areStatePropsEqual,h=!1;function f(i,h){var f=!d(h,a),m=!u(i,o,h,a);return o=i,a=h,f&&m?(s=e(o,a),t.dependsOnOwnProps&&(l=t(r,a)),c=n(s,l,a)):f?(e.dependsOnOwnProps&&(s=e(o,a)),t.dependsOnOwnProps&&(l=t(r,a)),c=n(s,l,a)):m?function(){var t=e(o,a),r=!p(t,s);return s=t,r&&(c=n(s,l,a)),c}():c}return function(i,u){return h?f(i,u):(s=e(o=i,a=u),l=t(r,a),c=n(s,l,a),h=!0,c)}}function L(e,t){var n=t.initMapStateToProps,r=t.initMapDispatchToProps,i=t.initMergeProps,o=(0,p.A)(t,N),a=n(e,o),s=r(e,o),l=i(e,o);return(o.pure?R:M)(a,s,l,e,o)}var F=["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"];function z(e,t,n){for(var r=t.length-1;r>=0;r--){var i=t[r](e);if(i)return i}return function(t,r){throw new Error("Invalid value of type "+typeof e+" for "+n+" argument when connecting component "+r.wrappedComponentName+".")}}function Q(e,t){return e===t}function U(e){var t=void 0===e?{}:e,n=t.connectHOC,r=void 0===n?k:n,i=t.mapStateToPropsFactories,o=void 0===i?D:i,a=t.mapDispatchToPropsFactories,s=void 0===a?T:a,l=t.mergePropsFactories,c=void 0===l?B:l,u=t.selectorFactory,h=void 0===u?L:u;return function(e,t,n,i){void 0===i&&(i={});var a=i,l=a.pure,u=void 0===l||l,f=a.areStatesEqual,m=void 0===f?Q:f,g=a.areOwnPropsEqual,v=void 0===g?I:g,y=a.areStatePropsEqual,A=void 0===y?I:y,b=a.areMergedPropsEqual,w=void 0===b?I:b,x=(0,p.A)(a,F),C=z(e,o,"mapStateToProps"),S=z(t,s,"mapDispatchToProps"),k=z(n,c,"mergeProps");return r(h,(0,d.A)({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:C,initMapDispatchToProps:S,initMergeProps:k,pure:u,areStatesEqual:m,areOwnPropsEqual:v,areStatePropsEqual:A,areMergedPropsEqual:w},x))}}const V=U();function G(){return(0,r.useContext)(i)}function q(e){void 0===e&&(e=i);var t=e===i?G:function(){return(0,r.useContext)(e)};return function(){return t().store}}var H=q();function W(e){void 0===e&&(e=i);var t=e===i?H:q(e);return function(){return t().dispatch}}var Y=W(),K=function(e,t){return e===t};function J(e){void 0===e&&(e=i);var t=e===i?G:function(){return(0,r.useContext)(e)};return function(e,n){void 0===n&&(n=K);var i=t(),o=function(e,t,n,i){var o,a=(0,r.useReducer)((function(e){return e+1}),0)[1],s=(0,r.useMemo)((function(){return l(n,i)}),[n,i]),u=(0,r.useRef)(),d=(0,r.useRef)(),p=(0,r.useRef)(),h=(0,r.useRef)(),f=n.getState();try{if(e!==d.current||f!==p.current||u.current){var m=e(f);o=void 0!==h.current&&t(m,h.current)?h.current:m}else o=h.current}catch(g){throw u.current&&(g.message+="\nThe error may be correlated with this previous error:\n"+u.current.stack+"\n\n"),g}return c((function(){d.current=e,p.current=f,h.current=o,u.current=void 0})),c((function(){function e(){try{var e=n.getState();if(e===p.current)return;var r=d.current(e);if(t(r,h.current))return;h.current=r,p.current=e}catch(g){u.current=g}a()}return s.onStateChange=e,s.trySubscribe(),e(),function(){return s.tryUnsubscribe()}}),[n,s]),o}(e,n,i.store,i.subscription);return(0,r.useDebugValue)(o),o}}var X,Z=J(),$=n(17119);X=$.unstable_batchedUpdates,o=X},65355:(e,t)=>{"use strict";var n=60103,r=60106,i=60107,o=60108,a=60114,s=60109,l=60110,c=60112,u=60113,d=60120,p=60115,h=60116,f=60121,m=60122,g=60117,v=60129,y=60131;if("function"===typeof Symbol&&Symbol.for){var A=Symbol.for;n=A("react.element"),r=A("react.portal"),i=A("react.fragment"),o=A("react.strict_mode"),a=A("react.profiler"),s=A("react.provider"),l=A("react.context"),c=A("react.forward_ref"),u=A("react.suspense"),d=A("react.suspense_list"),p=A("react.memo"),h=A("react.lazy"),f=A("react.block"),m=A("react.server.block"),g=A("react.fundamental"),v=A("react.debug_trace_mode"),y=A("react.legacy_hidden")}function b(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case i:case a:case o:case u:case d:return e;default:switch(e=e&&e.$$typeof){case l:case c:case h:case p:case s:return e;default:return t}}case r:return t}}}t.isContextConsumer=function(e){return b(e)===l}},60863:(e,t,n)=>{"use strict";e.exports=n(65355)},42074:(e,t,n)=>{"use strict";var r,i;n.d(t,{Kd:()=>g,N_:()=>A,k2:()=>b,ok:()=>S});var o=n(9950),a=n(17119),s=n(28429),l=n(1018);function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c.apply(this,arguments)}function u(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}function d(e){return void 0===e&&(e=""),new URLSearchParams("string"===typeof e||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce(((t,n)=>{let r=e[n];return t.concat(Array.isArray(r)?r.map((e=>[n,e])):[[n,r]])}),[]))}new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);const p=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],h=["aria-current","caseSensitive","className","end","style","to","viewTransition","children"];try{window.__reactRouterVersion="6"}catch(k){}const f=o.createContext({isTransitioning:!1});new Map;const m=(r||(r=n.t(o,2))).startTransition;(i||(i=n.t(a,2))).flushSync,(r||(r=n.t(o,2))).useId;function g(e){let{basename:t,children:n,future:r,window:i}=e,a=o.useRef();null==a.current&&(a.current=(0,l.zR)({window:i,v5Compat:!0}));let c=a.current,[u,d]=o.useState({action:c.action,location:c.location}),{v7_startTransition:p}=r||{},h=o.useCallback((e=>{p&&m?m((()=>d(e))):d(e)}),[d,p]);return o.useLayoutEffect((()=>c.listen(h)),[c,h]),o.createElement(s.Ix,{basename:t,children:n,location:u.location,navigationType:u.action,navigator:c,future:r})}const v="undefined"!==typeof window&&"undefined"!==typeof window.document&&"undefined"!==typeof window.document.createElement,y=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,A=o.forwardRef((function(e,t){let n,{onClick:r,relative:i,reloadDocument:a,replace:d,state:h,target:f,to:m,preventScrollReset:g,viewTransition:A}=e,b=u(e,p),{basename:w}=o.useContext(s.jb),x=!1;if("string"===typeof m&&y.test(m)&&(n=m,v))try{let e=new URL(window.location.href),t=m.startsWith("//")?new URL(e.protocol+m):new URL(m),n=(0,l.pb)(t.pathname,w);t.origin===e.origin&&null!=n?m=n+t.search+t.hash:x=!0}catch(k){}let C=(0,s.$P)(m,{relative:i}),S=function(e,t){let{target:n,replace:r,state:i,preventScrollReset:a,relative:c,viewTransition:u}=void 0===t?{}:t,d=(0,s.Zp)(),p=(0,s.zy)(),h=(0,s.x$)(e,{relative:c});return o.useCallback((t=>{if(function(e,t){return 0===e.button&&(!t||"_self"===t)&&!function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)}(t,n)){t.preventDefault();let n=void 0!==r?r:(0,l.AO)(p)===(0,l.AO)(h);d(e,{replace:n,state:i,preventScrollReset:a,relative:c,viewTransition:u})}}),[p,d,h,r,i,n,e,a,c,u])}(m,{replace:d,state:h,target:f,preventScrollReset:g,relative:i,viewTransition:A});return o.createElement("a",c({},b,{href:n||C,onClick:x||a?r:function(e){r&&r(e),e.defaultPrevented||S(e)},ref:t,target:f}))}));const b=o.forwardRef((function(e,t){let{"aria-current":n="page",caseSensitive:r=!1,className:i="",end:a=!1,style:d,to:p,viewTransition:m,children:g}=e,v=u(e,h),y=(0,s.x$)(p,{relative:v.relative}),b=(0,s.zy)(),x=o.useContext(s.Rq),{navigator:S,basename:k}=o.useContext(s.jb),E=null!=x&&function(e,t){void 0===t&&(t={});let n=o.useContext(f);null==n&&(0,l.Oi)(!1);let{basename:r}=C(w.useViewTransitionState),i=(0,s.x$)(e,{relative:t.relative});if(!n.isTransitioning)return!1;let a=(0,l.pb)(n.currentLocation.pathname,r)||n.currentLocation.pathname,c=(0,l.pb)(n.nextLocation.pathname,r)||n.nextLocation.pathname;return null!=(0,l.B6)(i.pathname,c)||null!=(0,l.B6)(i.pathname,a)}(y)&&!0===m,I=S.encodeLocation?S.encodeLocation(y).pathname:y.pathname,_=b.pathname,P=x&&x.navigation&&x.navigation.location?x.navigation.location.pathname:null;r||(_=_.toLowerCase(),P=P?P.toLowerCase():null,I=I.toLowerCase()),P&&k&&(P=(0,l.pb)(P,k)||P);const O="/"!==I&&I.endsWith("/")?I.length-1:I.length;let T,D=_===I||!a&&_.startsWith(I)&&"/"===_.charAt(O),j=null!=P&&(P===I||!a&&P.startsWith(I)&&"/"===P.charAt(I.length)),B={isActive:D,isPending:j,isTransitioning:E},N=D?n:void 0;T="function"===typeof i?i(B):[i,D?"active":null,j?"pending":null,E?"transitioning":null].filter(Boolean).join(" ");let M="function"===typeof d?d(B):d;return o.createElement(A,c({},v,{"aria-current":N,className:T,ref:t,style:M,to:p,viewTransition:m}),"function"===typeof g?g(B):g)}));var w,x;function C(e){let t=o.useContext(s.sp);return t||(0,l.Oi)(!1),t}function S(e){let t=o.useRef(d(e)),n=o.useRef(!1),r=(0,s.zy)(),i=o.useMemo((()=>function(e,t){let n=d(e);return t&&t.forEach(((e,r)=>{n.has(r)||t.getAll(r).forEach((e=>{n.append(r,e)}))})),n}(r.search,n.current?null:t.current)),[r.search]),a=(0,s.Zp)(),l=o.useCallback(((e,t)=>{const r=d("function"===typeof e?e(i):e);n.current=!0,a("?"+r,t)}),[a,i]);return[i,l]}(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(w||(w={})),function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"}(x||(x={}))},28429:(e,t,n)=>{"use strict";var r;n.d(t,{$P:()=>h,BV:()=>L,C5:()=>B,Ix:()=>R,Rq:()=>l,Zp:()=>y,g:()=>b,jb:()=>c,qh:()=>M,sp:()=>s,sv:()=>N,wQ:()=>g,x$:()=>w,zy:()=>m});var i=n(9950),o=n(1018);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a.apply(this,arguments)}const s=i.createContext(null);const l=i.createContext(null);const c=i.createContext(null);const u=i.createContext(null);const d=i.createContext({outlet:null,matches:[],isDataRoute:!1});const p=i.createContext(null);function h(e,t){let{relative:n}=void 0===t?{}:t;f()||(0,o.Oi)(!1);let{basename:r,navigator:a}=i.useContext(c),{hash:s,pathname:l,search:u}=w(e,{relative:n}),d=l;return"/"!==r&&(d="/"===l?r:(0,o.HS)([r,l])),a.createHref({pathname:d,search:u,hash:s})}function f(){return null!=i.useContext(u)}function m(){return f()||(0,o.Oi)(!1),i.useContext(u).location}function g(){return i.useContext(u).navigationType}function v(e){i.useContext(c).static||i.useLayoutEffect(e)}function y(){let{isDataRoute:e}=i.useContext(d);return e?function(){let{router:e}=O(_.UseNavigateStable),t=D(P.UseNavigateStable),n=i.useRef(!1);return v((()=>{n.current=!0})),i.useCallback((function(r,i){void 0===i&&(i={}),n.current&&("number"===typeof r?e.navigate(r):e.navigate(r,a({fromRouteId:t},i)))}),[e,t])}():function(){f()||(0,o.Oi)(!1);let e=i.useContext(s),{basename:t,future:n,navigator:r}=i.useContext(c),{matches:a}=i.useContext(d),{pathname:l}=m(),u=JSON.stringify((0,o.yD)(a,n.v7_relativeSplatPath)),p=i.useRef(!1);return v((()=>{p.current=!0})),i.useCallback((function(n,i){if(void 0===i&&(i={}),!p.current)return;if("number"===typeof n)return void r.go(n);let a=(0,o.Gh)(n,JSON.parse(u),l,"path"===i.relative);null==e&&"/"!==t&&(a.pathname="/"===a.pathname?t:(0,o.HS)([t,a.pathname])),(i.replace?r.replace:r.push)(a,i.state,i)}),[t,r,u,l,e])}()}const A=i.createContext(null);function b(){let{matches:e}=i.useContext(d),t=e[e.length-1];return t?t.params:{}}function w(e,t){let{relative:n}=void 0===t?{}:t,{future:r}=i.useContext(c),{matches:a}=i.useContext(d),{pathname:s}=m(),l=JSON.stringify((0,o.yD)(a,r.v7_relativeSplatPath));return i.useMemo((()=>(0,o.Gh)(e,JSON.parse(l),s,"path"===n)),[e,l,s,n])}function x(e,t,n,r){f()||(0,o.Oi)(!1);let{navigator:s}=i.useContext(c),{matches:l}=i.useContext(d),p=l[l.length-1],h=p?p.params:{},g=(p&&p.pathname,p?p.pathnameBase:"/");p&&p.route;let v,y=m();if(t){var A;let e="string"===typeof t?(0,o.Rr)(t):t;"/"===g||(null==(A=e.pathname)?void 0:A.startsWith(g))||(0,o.Oi)(!1),v=e}else v=y;let b=v.pathname||"/",w=b;if("/"!==g){let e=g.replace(/^\//,"").split("/");w="/"+b.replace(/^\//,"").split("/").slice(e.length).join("/")}let x=(0,o.ue)(e,{pathname:w});let C=I(x&&x.map((e=>Object.assign({},e,{params:Object.assign({},h,e.params),pathname:(0,o.HS)([g,s.encodeLocation?s.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?g:(0,o.HS)([g,s.encodeLocation?s.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])}))),l,n,r);return t&&C?i.createElement(u.Provider,{value:{location:a({pathname:"/",search:"",hash:"",state:null,key:"default"},v),navigationType:o.rc.Pop}},C):C}function C(){let e=function(){var e;let t=i.useContext(p),n=T(P.UseRouteError),r=D(P.UseRouteError);if(void 0!==t)return t;return null==(e=n.errors)?void 0:e[r]}(),t=(0,o.pX)(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,r="rgba(200,200,200, 0.5)",a={padding:"0.5rem",backgroundColor:r};return i.createElement(i.Fragment,null,i.createElement("h2",null,"Unexpected Application Error!"),i.createElement("h3",{style:{fontStyle:"italic"}},t),n?i.createElement("pre",{style:a},n):null,null)}const S=i.createElement(C,null);class k extends i.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||"idle"!==t.revalidation&&"idle"===e.revalidation?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:void 0!==e.error?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return void 0!==this.state.error?i.createElement(d.Provider,{value:this.props.routeContext},i.createElement(p.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function E(e){let{routeContext:t,match:n,children:r}=e,o=i.useContext(s);return o&&o.static&&o.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=n.route.id),i.createElement(d.Provider,{value:t},r)}function I(e,t,n,r){var a;if(void 0===t&&(t=[]),void 0===n&&(n=null),void 0===r&&(r=null),null==e){var s;if(!n)return null;if(n.errors)e=n.matches;else{if(!(null!=(s=r)&&s.v7_partialHydration&&0===t.length&&!n.initialized&&n.matches.length>0))return null;e=n.matches}}let l=e,c=null==(a=n)?void 0:a.errors;if(null!=c){let e=l.findIndex((e=>e.route.id&&void 0!==(null==c?void 0:c[e.route.id])));e>=0||(0,o.Oi)(!1),l=l.slice(0,Math.min(l.length,e+1))}let u=!1,d=-1;if(n&&r&&r.v7_partialHydration)for(let i=0;i<l.length;i++){let e=l[i];if((e.route.HydrateFallback||e.route.hydrateFallbackElement)&&(d=i),e.route.id){let{loaderData:t,errors:r}=n,i=e.route.loader&&void 0===t[e.route.id]&&(!r||void 0===r[e.route.id]);if(e.route.lazy||i){u=!0,l=d>=0?l.slice(0,d+1):[l[0]];break}}}return l.reduceRight(((e,r,o)=>{let a,s=!1,p=null,h=null;var f;n&&(a=c&&r.route.id?c[r.route.id]:void 0,p=r.route.errorElement||S,u&&(d<0&&0===o?(f="route-fallback",!1||j[f]||(j[f]=!0),s=!0,h=null):d===o&&(s=!0,h=r.route.hydrateFallbackElement||null)));let m=t.concat(l.slice(0,o+1)),g=()=>{let t;return t=a?p:s?h:r.route.Component?i.createElement(r.route.Component,null):r.route.element?r.route.element:e,i.createElement(E,{match:r,routeContext:{outlet:e,matches:m,isDataRoute:null!=n},children:t})};return n&&(r.route.ErrorBoundary||r.route.errorElement||0===o)?i.createElement(k,{location:n.location,revalidation:n.revalidation,component:p,error:a,children:g(),routeContext:{outlet:null,matches:m,isDataRoute:!0}}):g()}),null)}var _=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(_||{}),P=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(P||{});function O(e){let t=i.useContext(s);return t||(0,o.Oi)(!1),t}function T(e){let t=i.useContext(l);return t||(0,o.Oi)(!1),t}function D(e){let t=function(){let e=i.useContext(d);return e||(0,o.Oi)(!1),e}(),n=t.matches[t.matches.length-1];return n.route.id||(0,o.Oi)(!1),n.route.id}const j={};(r||(r=n.t(i,2))).startTransition;function B(e){let{to:t,replace:n,state:r,relative:a}=e;f()||(0,o.Oi)(!1);let{future:s,static:l}=i.useContext(c),{matches:u}=i.useContext(d),{pathname:p}=m(),h=y(),g=(0,o.Gh)(t,(0,o.yD)(u,s.v7_relativeSplatPath),p,"path"===a),v=JSON.stringify(g);return i.useEffect((()=>h(JSON.parse(v),{replace:n,state:r,relative:a})),[h,v,a,n,r]),null}function N(e){return function(e){let t=i.useContext(d).outlet;return t?i.createElement(A.Provider,{value:e},t):t}(e.context)}function M(e){(0,o.Oi)(!1)}function R(e){let{basename:t="/",children:n=null,location:r,navigationType:s=o.rc.Pop,navigator:l,static:d=!1,future:p}=e;f()&&(0,o.Oi)(!1);let h=t.replace(/^\/*/,"/"),m=i.useMemo((()=>({basename:h,navigator:l,static:d,future:a({v7_relativeSplatPath:!1},p)})),[h,p,l,d]);"string"===typeof r&&(r=(0,o.Rr)(r));let{pathname:g="/",search:v="",hash:y="",state:A=null,key:b="default"}=r,w=i.useMemo((()=>{let e=(0,o.pb)(g,h);return null==e?null:{location:{pathname:e,search:v,hash:y,state:A,key:b},navigationType:s}}),[h,g,v,y,A,b,s]);return null==w?null:i.createElement(c.Provider,{value:m},i.createElement(u.Provider,{children:n,value:w}))}function L(e){let{children:t,location:n}=e;return x(F(t),n)}new Promise((()=>{}));i.Component;function F(e,t){void 0===t&&(t=[]);let n=[];return i.Children.forEach(e,((e,r)=>{if(!i.isValidElement(e))return;let a=[...t,r];if(e.type===i.Fragment)return void n.push.apply(n,F(e.props.children,a));e.type!==M&&(0,o.Oi)(!1),e.props.index&&e.props.children&&(0,o.Oi)(!1);let s={id:e.props.id||a.join("-"),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,loader:e.props.loader,action:e.props.action,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:null!=e.props.ErrorBoundary||null!=e.props.errorElement,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(s.children=F(e.props.children,a)),n.push(s)})),n}},41876:(e,t,n)=>{"use strict";var r,i=n(9950),o=(r=i)&&"object"===typeof r&&"default"in r?r.default:r;function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var s=!("undefined"===typeof window||!window.document||!window.document.createElement);e.exports=function(e,t,n){if("function"!==typeof e)throw new Error("Expected reducePropsToState to be a function.");if("function"!==typeof t)throw new Error("Expected handleStateChangeOnClient to be a function.");if("undefined"!==typeof n&&"function"!==typeof n)throw new Error("Expected mapStateOnServer to either be undefined or a function.");return function(r){if("function"!==typeof r)throw new Error("Expected WrappedComponent to be a React component.");var l,c=[];function u(){l=e(c.map((function(e){return e.props}))),d.canUseDOM?t(l):n&&(l=n(l))}var d=function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,i.peek=function(){return l},i.rewind=function(){if(i.canUseDOM)throw new Error("You may only call rewind() on the server. Call peek() to read the current state.");var e=l;return l=void 0,c=[],e};var a=i.prototype;return a.UNSAFE_componentWillMount=function(){c.push(this),u()},a.componentDidUpdate=function(){u()},a.componentWillUnmount=function(){var e=c.indexOf(this);c.splice(e,1),u()},a.render=function(){return o.createElement(r,this.props)},i}(i.PureComponent);return a(d,"displayName","SideEffect("+function(e){return e.displayName||e.name||"Component"}(r)+")"),a(d,"canUseDOM",s),d}}},60193:(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.PrevArrow=t.NextArrow=void 0;var i=s(n(9950)),o=s(n(48738)),a=n(36331);function s(e){return e&&e.__esModule?e:{default:e}}function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l.apply(this,arguments)}function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){d(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function d(e,t,n){return(t=m(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,m(r.key),r)}}function f(e,t,n){return t&&h(e.prototype,t),n&&h(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function m(e){var t=function(e,t){if("object"!=r(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!=r(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==r(t)?t:String(t)}function g(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&v(e,t)}function v(e,t){return v=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},v(e,t)}function y(e){var t=A();return function(){var n,i=b(e);if(t){var o=b(this).constructor;n=Reflect.construct(i,arguments,o)}else n=i.apply(this,arguments);return function(e,t){if(t&&("object"===r(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n)}}function A(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(A=function(){return!!e})()}function b(e){return b=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},b(e)}t.PrevArrow=function(e){g(n,e);var t=y(n);function n(){return p(this,n),t.apply(this,arguments)}return f(n,[{key:"clickHandler",value:function(e,t){t&&t.preventDefault(),this.props.clickHandler(e,t)}},{key:"render",value:function(){var e={"slick-arrow":!0,"slick-prev":!0},t=this.clickHandler.bind(this,{message:"previous"});!this.props.infinite&&(0===this.props.currentSlide||this.props.slideCount<=this.props.slidesToShow)&&(e["slick-disabled"]=!0,t=null);var n={key:"0","data-role":"none",className:(0,o.default)(e),style:{display:"block"},onClick:t},r={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return this.props.prevArrow?i.default.cloneElement(this.props.prevArrow,u(u({},n),r)):i.default.createElement("button",l({key:"0",type:"button"},n)," ","Previous")}}]),n}(i.default.PureComponent),t.NextArrow=function(e){g(n,e);var t=y(n);function n(){return p(this,n),t.apply(this,arguments)}return f(n,[{key:"clickHandler",value:function(e,t){t&&t.preventDefault(),this.props.clickHandler(e,t)}},{key:"render",value:function(){var e={"slick-arrow":!0,"slick-next":!0},t=this.clickHandler.bind(this,{message:"next"});(0,a.canGoNext)(this.props)||(e["slick-disabled"]=!0,t=null);var n={key:"1","data-role":"none",className:(0,o.default)(e),style:{display:"block"},onClick:t},r={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return this.props.nextArrow?i.default.cloneElement(this.props.nextArrow,u(u({},n),r)):i.default.createElement("button",l({key:"1",type:"button"},n)," ","Next")}}]),n}(i.default.PureComponent)},19969:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,i=(r=n(9950))&&r.__esModule?r:{default:r};var o={accessibility:!0,adaptiveHeight:!1,afterChange:null,appendDots:function(e){return i.default.createElement("ul",{style:{display:"block"}},e)},arrows:!0,autoplay:!1,autoplaySpeed:3e3,beforeChange:null,centerMode:!1,centerPadding:"50px",className:"",cssEase:"ease",customPaging:function(e){return i.default.createElement("button",null,e+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,infinite:!0,initialSlide:0,lazyLoad:null,nextArrow:null,onEdge:null,onInit:null,onLazyLoadError:null,onReInit:null,pauseOnDotsHover:!1,pauseOnFocus:!1,pauseOnHover:!0,prevArrow:null,responsive:null,rows:1,rtl:!1,slide:"div",slidesPerRow:1,slidesToScroll:1,slidesToShow:1,speed:500,swipe:!0,swipeEvent:null,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,waitForAnimate:!0,asNavFor:null};t.default=o},79219:(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.Dots=void 0;var i=s(n(9950)),o=s(n(48738)),a=n(36331);function s(e){return e&&e.__esModule?e:{default:e}}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e,t,n){return(t=d(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,d(r.key),r)}}function d(e){var t=function(e,t){if("object"!=r(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!=r(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==r(t)?t:String(t)}function p(e,t){return p=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},p(e,t)}function h(e){var t=f();return function(){var n,i=m(e);if(t){var o=m(this).constructor;n=Reflect.construct(i,arguments,o)}else n=i.apply(this,arguments);return function(e,t){if(t&&("object"===r(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n)}}function f(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(f=function(){return!!e})()}function m(e){return m=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},m(e)}t.Dots=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&p(e,t)}(d,e);var t,n,r,s=h(d);function d(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,d),s.apply(this,arguments)}return t=d,n=[{key:"clickHandler",value:function(e,t){t.preventDefault(),this.props.clickHandler(e)}},{key:"render",value:function(){for(var e,t=this.props,n=t.onMouseEnter,r=t.onMouseOver,s=t.onMouseLeave,u=t.infinite,d=t.slidesToScroll,p=t.slidesToShow,h=t.slideCount,f=t.currentSlide,m=(e={slideCount:h,slidesToScroll:d,slidesToShow:p,infinite:u}).infinite?Math.ceil(e.slideCount/e.slidesToScroll):Math.ceil((e.slideCount-e.slidesToShow)/e.slidesToScroll)+1,g={onMouseEnter:n,onMouseOver:r,onMouseLeave:s},v=[],y=0;y<m;y++){var A=(y+1)*d-1,b=u?A:(0,a.clamp)(A,0,h-1),w=b-(d-1),x=u?w:(0,a.clamp)(w,0,h-1),C=(0,o.default)({"slick-active":u?f>=x&&f<=b:f===x}),S={message:"dots",index:y,slidesToScroll:d,currentSlide:f},k=this.clickHandler.bind(this,S);v=v.concat(i.default.createElement("li",{key:y,className:C},i.default.cloneElement(this.props.customPaging(y),{onClick:k})))}return i.default.cloneElement(this.props.appendDots(v),function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({className:this.props.dotsClass},g))}}],n&&u(t.prototype,n),r&&u(t,r),Object.defineProperty(t,"prototype",{writable:!1}),d}(i.default.PureComponent)},81131:(e,t,n)=>{"use strict";t.A=void 0;var r,i=(r=n(8630))&&r.__esModule?r:{default:r};t.A=i.default},82843:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={animating:!1,autoplaying:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,dragging:!1,edgeDragged:!1,initialized:!1,lazyLoadedList:[],listHeight:null,listWidth:null,scrolling:!1,slideCount:null,slideHeight:null,slideWidth:null,swipeLeft:null,swiped:!1,swiping:!1,touchObject:{startX:0,startY:0,curX:0,curY:0},trackStyle:{},trackWidth:0,targetSlide:0}},51289:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.InnerSlider=void 0;var r=p(n(9950)),i=p(n(82843)),o=p(n(64267)),a=p(n(48738)),s=n(36331),l=n(41772),c=n(79219),u=n(60193),d=p(n(30853));function p(e){return e&&e.__esModule?e:{default:e}}function h(e){return h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},h(e)}function f(){return f=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},f.apply(this,arguments)}function m(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(Object(n),!0).forEach((function(t){S(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function y(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,k(r.key),r)}}function A(e,t){return A=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},A(e,t)}function b(e){var t=x();return function(){var n,r=C(e);if(t){var i=C(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===h(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return w(e)}(this,n)}}function w(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function x(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(x=function(){return!!e})()}function C(e){return C=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},C(e)}function S(e,t,n){return(t=k(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function k(e){var t=function(e,t){if("object"!=h(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=h(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==h(t)?t:String(t)}t.InnerSlider=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&A(e,t)}(x,e);var t,n,p,g=b(x);function x(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,x),S(w(t=g.call(this,e)),"listRefHandler",(function(e){return t.list=e})),S(w(t),"trackRefHandler",(function(e){return t.track=e})),S(w(t),"adaptHeight",(function(){if(t.props.adaptiveHeight&&t.list){var e=t.list.querySelector('[data-index="'.concat(t.state.currentSlide,'"]'));t.list.style.height=(0,s.getHeight)(e)+"px"}})),S(w(t),"componentDidMount",(function(){if(t.props.onInit&&t.props.onInit(),t.props.lazyLoad){var e=(0,s.getOnDemandLazySlides)(v(v({},t.props),t.state));e.length>0&&(t.setState((function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}})),t.props.onLazyLoad&&t.props.onLazyLoad(e))}var n=v({listRef:t.list,trackRef:t.track},t.props);t.updateState(n,!0,(function(){t.adaptHeight(),t.props.autoplay&&t.autoPlay("update")})),"progressive"===t.props.lazyLoad&&(t.lazyLoadTimer=setInterval(t.progressiveLazyLoad,1e3)),t.ro=new d.default((function(){t.state.animating?(t.onWindowResized(!1),t.callbackTimers.push(setTimeout((function(){return t.onWindowResized()}),t.props.speed))):t.onWindowResized()})),t.ro.observe(t.list),document.querySelectorAll&&Array.prototype.forEach.call(document.querySelectorAll(".slick-slide"),(function(e){e.onfocus=t.props.pauseOnFocus?t.onSlideFocus:null,e.onblur=t.props.pauseOnFocus?t.onSlideBlur:null})),window.addEventListener?window.addEventListener("resize",t.onWindowResized):window.attachEvent("onresize",t.onWindowResized)})),S(w(t),"componentWillUnmount",(function(){t.animationEndCallback&&clearTimeout(t.animationEndCallback),t.lazyLoadTimer&&clearInterval(t.lazyLoadTimer),t.callbackTimers.length&&(t.callbackTimers.forEach((function(e){return clearTimeout(e)})),t.callbackTimers=[]),window.addEventListener?window.removeEventListener("resize",t.onWindowResized):window.detachEvent("onresize",t.onWindowResized),t.autoplayTimer&&clearInterval(t.autoplayTimer),t.ro.disconnect()})),S(w(t),"componentDidUpdate",(function(e){if(t.checkImagesLoad(),t.props.onReInit&&t.props.onReInit(),t.props.lazyLoad){var n=(0,s.getOnDemandLazySlides)(v(v({},t.props),t.state));n.length>0&&(t.setState((function(e){return{lazyLoadedList:e.lazyLoadedList.concat(n)}})),t.props.onLazyLoad&&t.props.onLazyLoad(n))}t.adaptHeight();var i=v(v({listRef:t.list,trackRef:t.track},t.props),t.state),o=t.didPropsChange(e);o&&t.updateState(i,o,(function(){t.state.currentSlide>=r.default.Children.count(t.props.children)&&t.changeSlide({message:"index",index:r.default.Children.count(t.props.children)-t.props.slidesToShow,currentSlide:t.state.currentSlide}),t.props.autoplay?t.autoPlay("update"):t.pause("paused")}))})),S(w(t),"onWindowResized",(function(e){t.debouncedResize&&t.debouncedResize.cancel(),t.debouncedResize=(0,o.default)((function(){return t.resizeWindow(e)}),50),t.debouncedResize()})),S(w(t),"resizeWindow",(function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(Boolean(t.track&&t.track.node)){var n=v(v({listRef:t.list,trackRef:t.track},t.props),t.state);t.updateState(n,e,(function(){t.props.autoplay?t.autoPlay("update"):t.pause("paused")})),t.setState({animating:!1}),clearTimeout(t.animationEndCallback),delete t.animationEndCallback}})),S(w(t),"updateState",(function(e,n,i){var o=(0,s.initializedState)(e);e=v(v(v({},e),o),{},{slideIndex:o.currentSlide});var a=(0,s.getTrackLeft)(e);e=v(v({},e),{},{left:a});var l=(0,s.getTrackCSS)(e);(n||r.default.Children.count(t.props.children)!==r.default.Children.count(e.children))&&(o.trackStyle=l),t.setState(o,i)})),S(w(t),"ssrInit",(function(){if(t.props.variableWidth){var e=0,n=0,i=[],o=(0,s.getPreClones)(v(v(v({},t.props),t.state),{},{slideCount:t.props.children.length})),a=(0,s.getPostClones)(v(v(v({},t.props),t.state),{},{slideCount:t.props.children.length}));t.props.children.forEach((function(t){i.push(t.props.style.width),e+=t.props.style.width}));for(var l=0;l<o;l++)n+=i[i.length-1-l],e+=i[i.length-1-l];for(var c=0;c<a;c++)e+=i[c];for(var u=0;u<t.state.currentSlide;u++)n+=i[u];var d={width:e+"px",left:-n+"px"};if(t.props.centerMode){var p="".concat(i[t.state.currentSlide],"px");d.left="calc(".concat(d.left," + (100% - ").concat(p,") / 2 ) ")}return{trackStyle:d}}var h=r.default.Children.count(t.props.children),f=v(v(v({},t.props),t.state),{},{slideCount:h}),m=(0,s.getPreClones)(f)+(0,s.getPostClones)(f)+h,g=100/t.props.slidesToShow*m,y=100/m,A=-y*((0,s.getPreClones)(f)+t.state.currentSlide)*g/100;return t.props.centerMode&&(A+=(100-y*g/100)/2),{slideWidth:y+"%",trackStyle:{width:g+"%",left:A+"%"}}})),S(w(t),"checkImagesLoad",(function(){var e=t.list&&t.list.querySelectorAll&&t.list.querySelectorAll(".slick-slide img")||[],n=e.length,r=0;Array.prototype.forEach.call(e,(function(e){var i=function(){return++r&&r>=n&&t.onWindowResized()};if(e.onclick){var o=e.onclick;e.onclick=function(t){o(t),e.parentNode.focus()}}else e.onclick=function(){return e.parentNode.focus()};e.onload||(t.props.lazyLoad?e.onload=function(){t.adaptHeight(),t.callbackTimers.push(setTimeout(t.onWindowResized,t.props.speed))}:(e.onload=i,e.onerror=function(){i(),t.props.onLazyLoadError&&t.props.onLazyLoadError()}))}))})),S(w(t),"progressiveLazyLoad",(function(){for(var e=[],n=v(v({},t.props),t.state),r=t.state.currentSlide;r<t.state.slideCount+(0,s.getPostClones)(n);r++)if(t.state.lazyLoadedList.indexOf(r)<0){e.push(r);break}for(var i=t.state.currentSlide-1;i>=-(0,s.getPreClones)(n);i--)if(t.state.lazyLoadedList.indexOf(i)<0){e.push(i);break}e.length>0?(t.setState((function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}})),t.props.onLazyLoad&&t.props.onLazyLoad(e)):t.lazyLoadTimer&&(clearInterval(t.lazyLoadTimer),delete t.lazyLoadTimer)})),S(w(t),"slideHandler",(function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=t.props,i=r.asNavFor,o=r.beforeChange,a=r.onLazyLoad,l=r.speed,c=r.afterChange,u=t.state.currentSlide,d=(0,s.slideHandler)(v(v(v({index:e},t.props),t.state),{},{trackRef:t.track,useCSS:t.props.useCSS&&!n})),p=d.state,h=d.nextState;if(p){o&&o(u,p.currentSlide);var f=p.lazyLoadedList.filter((function(e){return t.state.lazyLoadedList.indexOf(e)<0}));a&&f.length>0&&a(f),!t.props.waitForAnimate&&t.animationEndCallback&&(clearTimeout(t.animationEndCallback),c&&c(u),delete t.animationEndCallback),t.setState(p,(function(){i&&t.asNavForIndex!==e&&(t.asNavForIndex=e,i.innerSlider.slideHandler(e)),h&&(t.animationEndCallback=setTimeout((function(){var e=h.animating,n=m(h,["animating"]);t.setState(n,(function(){t.callbackTimers.push(setTimeout((function(){return t.setState({animating:e})}),10)),c&&c(p.currentSlide),delete t.animationEndCallback}))}),l))}))}})),S(w(t),"changeSlide",(function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=v(v({},t.props),t.state),i=(0,s.changeSlide)(r,e);if((0===i||i)&&(!0===n?t.slideHandler(i,n):t.slideHandler(i),t.props.autoplay&&t.autoPlay("update"),t.props.focusOnSelect)){var o=t.list.querySelectorAll(".slick-current");o[0]&&o[0].focus()}})),S(w(t),"clickHandler",(function(e){!1===t.clickable&&(e.stopPropagation(),e.preventDefault()),t.clickable=!0})),S(w(t),"keyHandler",(function(e){var n=(0,s.keyHandler)(e,t.props.accessibility,t.props.rtl);""!==n&&t.changeSlide({message:n})})),S(w(t),"selectHandler",(function(e){t.changeSlide(e)})),S(w(t),"disableBodyScroll",(function(){window.ontouchmove=function(e){(e=e||window.event).preventDefault&&e.preventDefault(),e.returnValue=!1}})),S(w(t),"enableBodyScroll",(function(){window.ontouchmove=null})),S(w(t),"swipeStart",(function(e){t.props.verticalSwiping&&t.disableBodyScroll();var n=(0,s.swipeStart)(e,t.props.swipe,t.props.draggable);""!==n&&t.setState(n)})),S(w(t),"swipeMove",(function(e){var n=(0,s.swipeMove)(e,v(v(v({},t.props),t.state),{},{trackRef:t.track,listRef:t.list,slideIndex:t.state.currentSlide}));n&&(n.swiping&&(t.clickable=!1),t.setState(n))})),S(w(t),"swipeEnd",(function(e){var n=(0,s.swipeEnd)(e,v(v(v({},t.props),t.state),{},{trackRef:t.track,listRef:t.list,slideIndex:t.state.currentSlide}));if(n){var r=n.triggerSlideHandler;delete n.triggerSlideHandler,t.setState(n),void 0!==r&&(t.slideHandler(r),t.props.verticalSwiping&&t.enableBodyScroll())}})),S(w(t),"touchEnd",(function(e){t.swipeEnd(e),t.clickable=!0})),S(w(t),"slickPrev",(function(){t.callbackTimers.push(setTimeout((function(){return t.changeSlide({message:"previous"})}),0))})),S(w(t),"slickNext",(function(){t.callbackTimers.push(setTimeout((function(){return t.changeSlide({message:"next"})}),0))})),S(w(t),"slickGoTo",(function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e=Number(e),isNaN(e))return"";t.callbackTimers.push(setTimeout((function(){return t.changeSlide({message:"index",index:e,currentSlide:t.state.currentSlide},n)}),0))})),S(w(t),"play",(function(){var e;if(t.props.rtl)e=t.state.currentSlide-t.props.slidesToScroll;else{if(!(0,s.canGoNext)(v(v({},t.props),t.state)))return!1;e=t.state.currentSlide+t.props.slidesToScroll}t.slideHandler(e)})),S(w(t),"autoPlay",(function(e){t.autoplayTimer&&clearInterval(t.autoplayTimer);var n=t.state.autoplaying;if("update"===e){if("hovered"===n||"focused"===n||"paused"===n)return}else if("leave"===e){if("paused"===n||"focused"===n)return}else if("blur"===e&&("paused"===n||"hovered"===n))return;t.autoplayTimer=setInterval(t.play,t.props.autoplaySpeed+50),t.setState({autoplaying:"playing"})})),S(w(t),"pause",(function(e){t.autoplayTimer&&(clearInterval(t.autoplayTimer),t.autoplayTimer=null);var n=t.state.autoplaying;"paused"===e?t.setState({autoplaying:"paused"}):"focused"===e?"hovered"!==n&&"playing"!==n||t.setState({autoplaying:"focused"}):"playing"===n&&t.setState({autoplaying:"hovered"})})),S(w(t),"onDotsOver",(function(){return t.props.autoplay&&t.pause("hovered")})),S(w(t),"onDotsLeave",(function(){return t.props.autoplay&&"hovered"===t.state.autoplaying&&t.autoPlay("leave")})),S(w(t),"onTrackOver",(function(){return t.props.autoplay&&t.pause("hovered")})),S(w(t),"onTrackLeave",(function(){return t.props.autoplay&&"hovered"===t.state.autoplaying&&t.autoPlay("leave")})),S(w(t),"onSlideFocus",(function(){return t.props.autoplay&&t.pause("focused")})),S(w(t),"onSlideBlur",(function(){return t.props.autoplay&&"focused"===t.state.autoplaying&&t.autoPlay("blur")})),S(w(t),"render",(function(){var e,n,i,o=(0,a.default)("slick-slider",t.props.className,{"slick-vertical":t.props.vertical,"slick-initialized":!0}),d=v(v({},t.props),t.state),p=(0,s.extractObject)(d,["fade","cssEase","speed","infinite","centerMode","focusOnSelect","currentSlide","lazyLoad","lazyLoadedList","rtl","slideWidth","slideHeight","listHeight","vertical","slidesToShow","slidesToScroll","slideCount","trackStyle","variableWidth","unslick","centerPadding","targetSlide","useCSS"]),h=t.props.pauseOnHover;if(p=v(v({},p),{},{onMouseEnter:h?t.onTrackOver:null,onMouseLeave:h?t.onTrackLeave:null,onMouseOver:h?t.onTrackOver:null,focusOnSelect:t.props.focusOnSelect&&t.clickable?t.selectHandler:null}),!0===t.props.dots&&t.state.slideCount>=t.props.slidesToShow){var m=(0,s.extractObject)(d,["dotsClass","slideCount","slidesToShow","currentSlide","slidesToScroll","clickHandler","children","customPaging","infinite","appendDots"]),g=t.props.pauseOnDotsHover;m=v(v({},m),{},{clickHandler:t.changeSlide,onMouseEnter:g?t.onDotsLeave:null,onMouseOver:g?t.onDotsOver:null,onMouseLeave:g?t.onDotsLeave:null}),e=r.default.createElement(c.Dots,m)}var y=(0,s.extractObject)(d,["infinite","centerMode","currentSlide","slideCount","slidesToShow","prevArrow","nextArrow"]);y.clickHandler=t.changeSlide,t.props.arrows&&(n=r.default.createElement(u.PrevArrow,y),i=r.default.createElement(u.NextArrow,y));var A=null;t.props.vertical&&(A={height:t.state.listHeight});var b=null;!1===t.props.vertical?!0===t.props.centerMode&&(b={padding:"0px "+t.props.centerPadding}):!0===t.props.centerMode&&(b={padding:t.props.centerPadding+" 0px"});var w=v(v({},A),b),x=t.props.touchMove,C={className:"slick-list",style:w,onClick:t.clickHandler,onMouseDown:x?t.swipeStart:null,onMouseMove:t.state.dragging&&x?t.swipeMove:null,onMouseUp:x?t.swipeEnd:null,onMouseLeave:t.state.dragging&&x?t.swipeEnd:null,onTouchStart:x?t.swipeStart:null,onTouchMove:t.state.dragging&&x?t.swipeMove:null,onTouchEnd:x?t.touchEnd:null,onTouchCancel:t.state.dragging&&x?t.swipeEnd:null,onKeyDown:t.props.accessibility?t.keyHandler:null},S={className:o,dir:"ltr",style:t.props.style};return t.props.unslick&&(C={className:"slick-list"},S={className:o}),r.default.createElement("div",S,t.props.unslick?"":n,r.default.createElement("div",f({ref:t.listRefHandler},C),r.default.createElement(l.Track,f({ref:t.trackRefHandler},p),t.props.children)),t.props.unslick?"":i,t.props.unslick?"":e)})),t.list=null,t.track=null,t.state=v(v({},i.default),{},{currentSlide:t.props.initialSlide,targetSlide:t.props.initialSlide?t.props.initialSlide:0,slideCount:r.default.Children.count(t.props.children)}),t.callbackTimers=[],t.clickable=!0,t.debouncedResize=null;var n=t.ssrInit();return t.state=v(v({},t.state),n),t}return t=x,(n=[{key:"didPropsChange",value:function(e){for(var t=!1,n=0,i=Object.keys(this.props);n<i.length;n++){var o=i[n];if(!e.hasOwnProperty(o)){t=!0;break}if("object"!==h(e[o])&&"function"!==typeof e[o]&&!isNaN(e[o])&&e[o]!==this.props[o]){t=!0;break}}return t||r.default.Children.count(this.props.children)!==r.default.Children.count(e.children)}}])&&y(t.prototype,n),p&&y(t,p),Object.defineProperty(t,"prototype",{writable:!1}),x}(r.default.Component)},8630:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n(9950)),i=n(51289),o=l(n(83191)),a=l(n(19969)),s=n(36331);function l(e){return e&&e.__esModule?e:{default:e}}function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u.apply(this,arguments)}function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){A(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,b(r.key),r)}}function f(e,t){return f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},f(e,t)}function m(e){var t=v();return function(){var n,r=y(e);if(t){var i=y(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===c(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return g(e)}(this,n)}}function g(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(v=function(){return!!e})()}function y(e){return y=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},y(e)}function A(e,t,n){return(t=b(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function b(e){var t=function(e,t){if("object"!=c(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=c(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==c(t)?t:String(t)}var w=(0,s.canUseDOM)()&&n(47476);t.default=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&f(e,t)}(d,e);var t,n,l,c=m(d);function d(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,d),A(g(t=c.call(this,e)),"innerSliderRefHandler",(function(e){return t.innerSlider=e})),A(g(t),"slickPrev",(function(){return t.innerSlider.slickPrev()})),A(g(t),"slickNext",(function(){return t.innerSlider.slickNext()})),A(g(t),"slickGoTo",(function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t.innerSlider.slickGoTo(e,n)})),A(g(t),"slickPause",(function(){return t.innerSlider.pause("paused")})),A(g(t),"slickPlay",(function(){return t.innerSlider.autoPlay("play")})),t.state={breakpoint:null},t._responsiveMediaHandlers=[],t}return t=d,(n=[{key:"media",value:function(e,t){w.register(e,t),this._responsiveMediaHandlers.push({query:e,handler:t})}},{key:"componentDidMount",value:function(){var e=this;if(this.props.responsive){var t=this.props.responsive.map((function(e){return e.breakpoint}));t.sort((function(e,t){return e-t})),t.forEach((function(n,r){var i;i=0===r?(0,o.default)({minWidth:0,maxWidth:n}):(0,o.default)({minWidth:t[r-1]+1,maxWidth:n}),(0,s.canUseDOM)()&&e.media(i,(function(){e.setState({breakpoint:n})}))}));var n=(0,o.default)({minWidth:t.slice(-1)[0]});(0,s.canUseDOM)()&&this.media(n,(function(){e.setState({breakpoint:null})}))}}},{key:"componentWillUnmount",value:function(){this._responsiveMediaHandlers.forEach((function(e){w.unregister(e.query,e.handler)}))}},{key:"render",value:function(){var e,t,n=this;(e=this.state.breakpoint?"unslick"===(t=this.props.responsive.filter((function(e){return e.breakpoint===n.state.breakpoint})))[0].settings?"unslick":p(p(p({},a.default),this.props),t[0].settings):p(p({},a.default),this.props)).centerMode&&(e.slidesToScroll,e.slidesToScroll=1),e.fade&&(e.slidesToShow,e.slidesToScroll,e.slidesToShow=1,e.slidesToScroll=1);var o=r.default.Children.toArray(this.props.children);o=o.filter((function(e){return"string"===typeof e?!!e.trim():!!e})),e.variableWidth&&(e.rows>1||e.slidesPerRow>1)&&(console.warn("variableWidth is not supported in case of rows > 1 or slidesPerRow > 1"),e.variableWidth=!1);for(var l=[],c=null,d=0;d<o.length;d+=e.rows*e.slidesPerRow){for(var h=[],f=d;f<d+e.rows*e.slidesPerRow;f+=e.slidesPerRow){for(var m=[],g=f;g<f+e.slidesPerRow&&(e.variableWidth&&o[g].props.style&&(c=o[g].props.style.width),!(g>=o.length));g+=1)m.push(r.default.cloneElement(o[g],{key:100*d+10*f+g,tabIndex:-1,style:{width:"".concat(100/e.slidesPerRow,"%"),display:"inline-block"}}));h.push(r.default.createElement("div",{key:10*d+f},m))}e.variableWidth?l.push(r.default.createElement("div",{key:d,style:{width:c}},h)):l.push(r.default.createElement("div",{key:d},h))}if("unslick"===e){var v="regular slider "+(this.props.className||"");return r.default.createElement("div",{className:v},o)}return l.length<=e.slidesToShow&&!e.infinite&&(e.unslick=!0),r.default.createElement(i.InnerSlider,u({style:this.props.style,ref:this.innerSliderRefHandler},(0,s.filterSettings)(e)),l)}}])&&h(t.prototype,n),l&&h(t,l),Object.defineProperty(t,"prototype",{writable:!1}),d}(r.default.Component)},41772:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Track=void 0;var r=a(n(9950)),i=a(n(48738)),o=n(36331);function a(e){return e&&e.__esModule?e:{default:e}}function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l.apply(this,arguments)}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,y(r.key),r)}}function u(e,t){return u=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},u(e,t)}function d(e){var t=h();return function(){var n,r=f(e);if(t){var i=f(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===s(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return p(e)}(this,n)}}function p(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(h=function(){return!!e})()}function f(e){return f=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},f(e)}function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function g(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach((function(t){v(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function v(e,t,n){return(t=y(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(e){var t=function(e,t){if("object"!=s(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=s(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==s(t)?t:String(t)}var A=function(e){var t,n,r,i,o;return r=(o=e.rtl?e.slideCount-1-e.index:e.index)<0||o>=e.slideCount,e.centerMode?(i=Math.floor(e.slidesToShow/2),n=(o-e.currentSlide)%e.slideCount===0,o>e.currentSlide-i-1&&o<=e.currentSlide+i&&(t=!0)):t=e.currentSlide<=o&&o<e.currentSlide+e.slidesToShow,{"slick-slide":!0,"slick-active":t,"slick-center":n,"slick-cloned":r,"slick-current":o===(e.targetSlide<0?e.targetSlide+e.slideCount:e.targetSlide>=e.slideCount?e.targetSlide-e.slideCount:e.targetSlide)}},b=function(e,t){return e.key||t},w=function(e){var t,n=[],a=[],s=[],l=r.default.Children.count(e.children),c=(0,o.lazyStartIndex)(e),u=(0,o.lazyEndIndex)(e);return r.default.Children.forEach(e.children,(function(d,p){var h,f={message:"children",index:p,slidesToScroll:e.slidesToScroll,currentSlide:e.currentSlide};h=!e.lazyLoad||e.lazyLoad&&e.lazyLoadedList.indexOf(p)>=0?d:r.default.createElement("div",null);var m=function(e){var t={};return void 0!==e.variableWidth&&!1!==e.variableWidth||(t.width=e.slideWidth),e.fade&&(t.position="relative",e.vertical?t.top=-e.index*parseInt(e.slideHeight):t.left=-e.index*parseInt(e.slideWidth),t.opacity=e.currentSlide===e.index?1:0,t.zIndex=e.currentSlide===e.index?999:998,e.useCSS&&(t.transition="opacity "+e.speed+"ms "+e.cssEase+", visibility "+e.speed+"ms "+e.cssEase)),t}(g(g({},e),{},{index:p})),v=h.props.className||"",y=A(g(g({},e),{},{index:p}));if(n.push(r.default.cloneElement(h,{key:"original"+b(h,p),"data-index":p,className:(0,i.default)(y,v),tabIndex:"-1","aria-hidden":!y["slick-active"],style:g(g({outline:"none"},h.props.style||{}),m),onClick:function(t){h.props&&h.props.onClick&&h.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(f)}})),e.infinite&&!1===e.fade){var w=l-p;w<=(0,o.getPreClones)(e)&&((t=-w)>=c&&(h=d),y=A(g(g({},e),{},{index:t})),a.push(r.default.cloneElement(h,{key:"precloned"+b(h,t),"data-index":t,tabIndex:"-1",className:(0,i.default)(y,v),"aria-hidden":!y["slick-active"],style:g(g({},h.props.style||{}),m),onClick:function(t){h.props&&h.props.onClick&&h.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(f)}}))),(t=l+p)<u&&(h=d),y=A(g(g({},e),{},{index:t})),s.push(r.default.cloneElement(h,{key:"postcloned"+b(h,t),"data-index":t,tabIndex:"-1",className:(0,i.default)(y,v),"aria-hidden":!y["slick-active"],style:g(g({},h.props.style||{}),m),onClick:function(t){h.props&&h.props.onClick&&h.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(f)}}))}})),e.rtl?a.concat(n,s).reverse():a.concat(n,s)};t.Track=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&u(e,t)}(a,e);var t,n,i,o=d(a);function a(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return v(p(e=o.call.apply(o,[this].concat(n))),"node",null),v(p(e),"handleRef",(function(t){e.node=t})),e}return t=a,(n=[{key:"render",value:function(){var e=w(this.props),t=this.props,n={onMouseEnter:t.onMouseEnter,onMouseOver:t.onMouseOver,onMouseLeave:t.onMouseLeave};return r.default.createElement("div",l({ref:this.handleRef,className:"slick-track",style:this.props.trackStyle},n),e)}}])&&c(t.prototype,n),i&&c(t,i),Object.defineProperty(t,"prototype",{writable:!1}),a}(r.default.PureComponent)},36331:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.checkSpecKeys=t.checkNavigable=t.changeSlide=t.canUseDOM=t.canGoNext=void 0,t.clamp=u,t.extractObject=void 0,t.filterSettings=function(e){return B.reduce((function(t,n){return e.hasOwnProperty(n)&&(t[n]=e[n]),t}),{})},t.validSettings=t.swipeStart=t.swipeMove=t.swipeEnd=t.slidesOnRight=t.slidesOnLeft=t.slideHandler=t.siblingDirection=t.safePreventDefault=t.lazyStartIndex=t.lazySlidesOnRight=t.lazySlidesOnLeft=t.lazyEndIndex=t.keyHandler=t.initializedState=t.getWidth=t.getTrackLeft=t.getTrackCSS=t.getTrackAnimateCSS=t.getTotalSlides=t.getSwipeDirection=t.getSlideCount=t.getRequiredLazySlides=t.getPreClones=t.getPostClones=t.getOnDemandLazySlides=t.getNavigableIndexes=t.getHeight=void 0;var r=o(n(9950)),i=o(n(19969));function o(e){return e&&e.__esModule?e:{default:e}}function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function c(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=a(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=a(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==a(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u(e,t,n){return Math.max(t,Math.min(e,n))}var d=t.safePreventDefault=function(e){["onTouchStart","onTouchMove","onWheel"].includes(e._reactName)||e.preventDefault()},p=t.getOnDemandLazySlides=function(e){for(var t=[],n=h(e),r=f(e),i=n;i<r;i++)e.lazyLoadedList.indexOf(i)<0&&t.push(i);return t},h=(t.getRequiredLazySlides=function(e){for(var t=[],n=h(e),r=f(e),i=n;i<r;i++)t.push(i);return t},t.lazyStartIndex=function(e){return e.currentSlide-m(e)}),f=t.lazyEndIndex=function(e){return e.currentSlide+g(e)},m=t.lazySlidesOnLeft=function(e){return e.centerMode?Math.floor(e.slidesToShow/2)+(parseInt(e.centerPadding)>0?1:0):0},g=t.lazySlidesOnRight=function(e){return e.centerMode?Math.floor((e.slidesToShow-1)/2)+1+(parseInt(e.centerPadding)>0?1:0):e.slidesToShow},v=t.getWidth=function(e){return e&&e.offsetWidth||0},y=t.getHeight=function(e){return e&&e.offsetHeight||0},A=t.getSwipeDirection=function(e){var t,n,r,i,o=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t=e.startX-e.curX,n=e.startY-e.curY,r=Math.atan2(n,t),(i=Math.round(180*r/Math.PI))<0&&(i=360-Math.abs(i)),i<=45&&i>=0||i<=360&&i>=315?"left":i>=135&&i<=225?"right":!0===o?i>=35&&i<=135?"up":"down":"vertical"},b=t.canGoNext=function(e){var t=!0;return e.infinite||(e.centerMode&&e.currentSlide>=e.slideCount-1||e.slideCount<=e.slidesToShow||e.currentSlide>=e.slideCount-e.slidesToShow)&&(t=!1),t},w=(t.extractObject=function(e,t){var n={};return t.forEach((function(t){return n[t]=e[t]})),n},t.initializedState=function(e){var t,n=r.default.Children.count(e.children),i=e.listRef,o=Math.ceil(v(i)),a=e.trackRef&&e.trackRef.node,s=Math.ceil(v(a));if(e.vertical)t=o;else{var c=e.centerMode&&2*parseInt(e.centerPadding);"string"===typeof e.centerPadding&&"%"===e.centerPadding.slice(-1)&&(c*=o/100),t=Math.ceil((o-c)/e.slidesToShow)}var u=i&&y(i.querySelector('[data-index="0"]')),d=u*e.slidesToShow,h=void 0===e.currentSlide?e.initialSlide:e.currentSlide;e.rtl&&void 0===e.currentSlide&&(h=n-1-e.initialSlide);var f=e.lazyLoadedList||[],m=p(l(l({},e),{},{currentSlide:h,lazyLoadedList:f})),g={slideCount:n,slideWidth:t,listWidth:o,trackWidth:s,currentSlide:h,slideHeight:u,listHeight:d,lazyLoadedList:f=f.concat(m)};return null===e.autoplaying&&e.autoplay&&(g.autoplaying="playing"),g},t.slideHandler=function(e){var t=e.waitForAnimate,n=e.animating,r=e.fade,i=e.infinite,o=e.index,a=e.slideCount,s=e.lazyLoad,c=e.currentSlide,d=e.centerMode,h=e.slidesToScroll,f=e.slidesToShow,m=e.useCSS,g=e.lazyLoadedList;if(t&&n)return{};var v,y,A,w=o,x={},C={},S=i?o:u(o,0,a-1);if(r){if(!i&&(o<0||o>=a))return{};o<0?w=o+a:o>=a&&(w=o-a),s&&g.indexOf(w)<0&&(g=g.concat(w)),x={animating:!0,currentSlide:w,lazyLoadedList:g,targetSlide:w},C={animating:!1,targetSlide:w}}else v=w,w<0?(v=w+a,i?a%h!==0&&(v=a-a%h):v=0):!b(e)&&w>c?w=v=c:d&&w>=a?(w=i?a:a-1,v=i?0:a-1):w>=a&&(v=w-a,i?a%h!==0&&(v=0):v=a-f),!i&&w+f>=a&&(v=a-f),y=I(l(l({},e),{},{slideIndex:w})),A=I(l(l({},e),{},{slideIndex:v})),i||(y===A&&(w=v),y=A),s&&(g=g.concat(p(l(l({},e),{},{currentSlide:w})))),m?(x={animating:!0,currentSlide:v,trackStyle:E(l(l({},e),{},{left:y})),lazyLoadedList:g,targetSlide:S},C={animating:!1,currentSlide:v,trackStyle:k(l(l({},e),{},{left:A})),swipeLeft:null,targetSlide:S}):x={currentSlide:v,trackStyle:k(l(l({},e),{},{left:A})),lazyLoadedList:g,targetSlide:S};return{state:x,nextState:C}},t.changeSlide=function(e,t){var n,r,i,o,a=e.slidesToScroll,s=e.slidesToShow,c=e.slideCount,u=e.currentSlide,d=e.targetSlide,p=e.lazyLoad,h=e.infinite;if(n=c%a!==0?0:(c-u)%a,"previous"===t.message)o=u-(i=0===n?a:s-n),p&&!h&&(o=-1===(r=u-i)?c-1:r),h||(o=d-a);else if("next"===t.message)o=u+(i=0===n?a:n),p&&!h&&(o=(u+a)%c+n),h||(o=d+a);else if("dots"===t.message)o=t.index*t.slidesToScroll;else if("children"===t.message){if(o=t.index,h){var f=T(l(l({},e),{},{targetSlide:o}));o>t.currentSlide&&"left"===f?o-=c:o<t.currentSlide&&"right"===f&&(o+=c)}}else"index"===t.message&&(o=Number(t.index));return o},t.keyHandler=function(e,t,n){return e.target.tagName.match("TEXTAREA|INPUT|SELECT")||!t?"":37===e.keyCode?n?"next":"previous":39===e.keyCode?n?"previous":"next":""},t.swipeStart=function(e,t,n){return"IMG"===e.target.tagName&&d(e),!t||!n&&-1!==e.type.indexOf("mouse")?"":{dragging:!0,touchObject:{startX:e.touches?e.touches[0].pageX:e.clientX,startY:e.touches?e.touches[0].pageY:e.clientY,curX:e.touches?e.touches[0].pageX:e.clientX,curY:e.touches?e.touches[0].pageY:e.clientY}}},t.swipeMove=function(e,t){var n=t.scrolling,r=t.animating,i=t.vertical,o=t.swipeToSlide,a=t.verticalSwiping,s=t.rtl,c=t.currentSlide,u=t.edgeFriction,p=t.edgeDragged,h=t.onEdge,f=t.swiped,m=t.swiping,g=t.slideCount,v=t.slidesToScroll,y=t.infinite,w=t.touchObject,x=t.swipeEvent,C=t.listHeight,S=t.listWidth;if(!n){if(r)return d(e);i&&o&&a&&d(e);var E,_={},P=I(t);w.curX=e.touches?e.touches[0].pageX:e.clientX,w.curY=e.touches?e.touches[0].pageY:e.clientY,w.swipeLength=Math.round(Math.sqrt(Math.pow(w.curX-w.startX,2)));var O=Math.round(Math.sqrt(Math.pow(w.curY-w.startY,2)));if(!a&&!m&&O>10)return{scrolling:!0};a&&(w.swipeLength=O);var T=(s?-1:1)*(w.curX>w.startX?1:-1);a&&(T=w.curY>w.startY?1:-1);var D=Math.ceil(g/v),j=A(t.touchObject,a),B=w.swipeLength;return y||(0===c&&("right"===j||"down"===j)||c+1>=D&&("left"===j||"up"===j)||!b(t)&&("left"===j||"up"===j))&&(B=w.swipeLength*u,!1===p&&h&&(h(j),_.edgeDragged=!0)),!f&&x&&(x(j),_.swiped=!0),E=i?P+B*(C/S)*T:s?P-B*T:P+B*T,a&&(E=P+B*T),_=l(l({},_),{},{touchObject:w,swipeLeft:E,trackStyle:k(l(l({},t),{},{left:E}))}),Math.abs(w.curX-w.startX)<.8*Math.abs(w.curY-w.startY)?_:(w.swipeLength>10&&(_.swiping=!0,d(e)),_)}},t.swipeEnd=function(e,t){var n=t.dragging,r=t.swipe,i=t.touchObject,o=t.listWidth,a=t.touchThreshold,s=t.verticalSwiping,c=t.listHeight,u=t.swipeToSlide,p=t.scrolling,h=t.onSwipe,f=t.targetSlide,m=t.currentSlide,g=t.infinite;if(!n)return r&&d(e),{};var v=s?c/a:o/a,y=A(i,s),b={dragging:!1,edgeDragged:!1,scrolling:!1,swiping:!1,swiped:!1,swipeLeft:null,touchObject:{}};if(p)return b;if(!i.swipeLength)return b;if(i.swipeLength>v){var w,S;d(e),h&&h(y);var k=g?m:f;switch(y){case"left":case"up":S=k+C(t),w=u?x(t,S):S,b.currentDirection=0;break;case"right":case"down":S=k-C(t),w=u?x(t,S):S,b.currentDirection=1;break;default:w=k}b.triggerSlideHandler=w}else{var _=I(t);b.trackStyle=E(l(l({},t),{},{left:_}))}return b},t.getNavigableIndexes=function(e){for(var t=e.infinite?2*e.slideCount:e.slideCount,n=e.infinite?-1*e.slidesToShow:0,r=e.infinite?-1*e.slidesToShow:0,i=[];n<t;)i.push(n),n=r+e.slidesToScroll,r+=Math.min(e.slidesToScroll,e.slidesToShow);return i}),x=t.checkNavigable=function(e,t){var n=w(e),r=0;if(t>n[n.length-1])t=n[n.length-1];else for(var i in n){if(t<n[i]){t=r;break}r=n[i]}return t},C=t.getSlideCount=function(e){var t=e.centerMode?e.slideWidth*Math.floor(e.slidesToShow/2):0;if(e.swipeToSlide){var n,r=e.listRef,i=r.querySelectorAll&&r.querySelectorAll(".slick-slide")||[];if(Array.from(i).every((function(r){if(e.vertical){if(r.offsetTop+y(r)/2>-1*e.swipeLeft)return n=r,!1}else if(r.offsetLeft-t+v(r)/2>-1*e.swipeLeft)return n=r,!1;return!0})),!n)return 0;var o=!0===e.rtl?e.slideCount-e.currentSlide:e.currentSlide;return Math.abs(n.dataset.index-o)||1}return e.slidesToScroll},S=t.checkSpecKeys=function(e,t){return t.reduce((function(t,n){return t&&e.hasOwnProperty(n)}),!0)?null:console.error("Keys Missing:",e)},k=t.getTrackCSS=function(e){var t,n;S(e,["left","variableWidth","slideCount","slidesToShow","slideWidth"]);var r=e.slideCount+2*e.slidesToShow;e.vertical?n=r*e.slideHeight:t=O(e)*e.slideWidth;var i={opacity:1,transition:"",WebkitTransition:""};if(e.useTransform){var o=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",a=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",s=e.vertical?"translateY("+e.left+"px)":"translateX("+e.left+"px)";i=l(l({},i),{},{WebkitTransform:o,transform:a,msTransform:s})}else e.vertical?i.top=e.left:i.left=e.left;return e.fade&&(i={opacity:1}),t&&(i.width=t),n&&(i.height=n),window&&!window.addEventListener&&window.attachEvent&&(e.vertical?i.marginTop=e.left+"px":i.marginLeft=e.left+"px"),i},E=t.getTrackAnimateCSS=function(e){S(e,["left","variableWidth","slideCount","slidesToShow","slideWidth","speed","cssEase"]);var t=k(e);return e.useTransform?(t.WebkitTransition="-webkit-transform "+e.speed+"ms "+e.cssEase,t.transition="transform "+e.speed+"ms "+e.cssEase):e.vertical?t.transition="top "+e.speed+"ms "+e.cssEase:t.transition="left "+e.speed+"ms "+e.cssEase,t},I=t.getTrackLeft=function(e){if(e.unslick)return 0;S(e,["slideIndex","trackRef","infinite","centerMode","slideCount","slidesToShow","slidesToScroll","slideWidth","listWidth","variableWidth","slideHeight"]);var t,n,r=e.slideIndex,i=e.trackRef,o=e.infinite,a=e.centerMode,s=e.slideCount,l=e.slidesToShow,c=e.slidesToScroll,u=e.slideWidth,d=e.listWidth,p=e.variableWidth,h=e.slideHeight,f=e.fade,m=e.vertical;if(f||1===e.slideCount)return 0;var g=0;if(o?(g=-_(e),s%c!==0&&r+c>s&&(g=-(r>s?l-(r-s):s%c)),a&&(g+=parseInt(l/2))):(s%c!==0&&r+c>s&&(g=l-s%c),a&&(g=parseInt(l/2))),t=m?r*h*-1+g*h:r*u*-1+g*u,!0===p){var v,y=i&&i.node;if(v=r+_(e),t=(n=y&&y.childNodes[v])?-1*n.offsetLeft:0,!0===a){v=o?r+_(e):r,n=y&&y.children[v],t=0;for(var A=0;A<v;A++)t-=y&&y.children[A]&&y.children[A].offsetWidth;t-=parseInt(e.centerPadding),t+=n&&(d-n.offsetWidth)/2}}return t},_=t.getPreClones=function(e){return e.unslick||!e.infinite?0:e.variableWidth?e.slideCount:e.slidesToShow+(e.centerMode?1:0)},P=t.getPostClones=function(e){return e.unslick||!e.infinite?0:e.slideCount},O=t.getTotalSlides=function(e){return 1===e.slideCount?1:_(e)+e.slideCount+P(e)},T=t.siblingDirection=function(e){return e.targetSlide>e.currentSlide?e.targetSlide>e.currentSlide+D(e)?"left":"right":e.targetSlide<e.currentSlide-j(e)?"right":"left"},D=t.slidesOnRight=function(e){var t=e.slidesToShow,n=e.centerMode,r=e.rtl,i=e.centerPadding;if(n){var o=(t-1)/2+1;return parseInt(i)>0&&(o+=1),r&&t%2===0&&(o+=1),o}return r?0:t-1},j=t.slidesOnLeft=function(e){var t=e.slidesToShow,n=e.centerMode,r=e.rtl,i=e.centerPadding;if(n){var o=(t-1)/2+1;return parseInt(i)>0&&(o+=1),r||t%2!==0||(o+=1),o}return r?t-1:0},B=(t.canUseDOM=function(){return!("undefined"===typeof window||!window.document||!window.document.createElement)},t.validSettings=Object.keys(i.default))},32654:(e,t,n)=>{"use strict";var r=n(9950),i=Symbol.for("react.element"),o=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,s=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,n){var r,o={},c=null,u=null;for(r in void 0!==n&&(c=""+n),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(u=t.ref),t)a.call(t,r)&&!l.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===o[r]&&(o[r]=t[r]);return{$$typeof:i,type:e,key:c,ref:u,props:o,_owner:s.current}}t.Fragment=o,t.jsx=c,t.jsxs=c},32049:(e,t)=>{"use strict";var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),l=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),h=Symbol.iterator;var f={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m=Object.assign,g={};function v(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||f}function y(){}function A(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||f}v.prototype.isReactComponent={},v.prototype.setState=function(e,t){if("object"!==typeof e&&"function"!==typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},v.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},y.prototype=v.prototype;var b=A.prototype=new y;b.constructor=A,m(b,v.prototype),b.isPureReactComponent=!0;var w=Array.isArray,x=Object.prototype.hasOwnProperty,C={current:null},S={key:!0,ref:!0,__self:!0,__source:!0};function k(e,t,r){var i,o={},a=null,s=null;if(null!=t)for(i in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(a=""+t.key),t)x.call(t,i)&&!S.hasOwnProperty(i)&&(o[i]=t[i]);var l=arguments.length-2;if(1===l)o.children=r;else if(1<l){for(var c=Array(l),u=0;u<l;u++)c[u]=arguments[u+2];o.children=c}if(e&&e.defaultProps)for(i in l=e.defaultProps)void 0===o[i]&&(o[i]=l[i]);return{$$typeof:n,type:e,key:a,ref:s,props:o,_owner:C.current}}function E(e){return"object"===typeof e&&null!==e&&e.$$typeof===n}var I=/\/+/g;function _(e,t){return"object"===typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function P(e,t,i,o,a){var s=typeof e;"undefined"!==s&&"boolean"!==s||(e=null);var l=!1;if(null===e)l=!0;else switch(s){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case n:case r:l=!0}}if(l)return a=a(l=e),e=""===o?"."+_(l,0):o,w(a)?(i="",null!=e&&(i=e.replace(I,"$&/")+"/"),P(a,t,i,"",(function(e){return e}))):null!=a&&(E(a)&&(a=function(e,t){return{$$typeof:n,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(a,i+(!a.key||l&&l.key===a.key?"":(""+a.key).replace(I,"$&/")+"/")+e)),t.push(a)),1;if(l=0,o=""===o?".":o+":",w(e))for(var c=0;c<e.length;c++){var u=o+_(s=e[c],c);l+=P(s,t,i,u,a)}else if(u=function(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=h&&e[h]||e["@@iterator"])?e:null}(e),"function"===typeof u)for(e=u.call(e),c=0;!(s=e.next()).done;)l+=P(s=s.value,t,i,u=o+_(s,c++),a);else if("object"===s)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return l}function O(e,t,n){if(null==e)return e;var r=[],i=0;return P(e,r,"","",(function(e){return t.call(n,e,i++)})),r}function T(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var D={current:null},j={transition:null},B={ReactCurrentDispatcher:D,ReactCurrentBatchConfig:j,ReactCurrentOwner:C};function N(){throw Error("act(...) is not supported in production builds of React.")}t.Children={map:O,forEach:function(e,t,n){O(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return O(e,(function(){t++})),t},toArray:function(e){return O(e,(function(e){return e}))||[]},only:function(e){if(!E(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=v,t.Fragment=i,t.Profiler=a,t.PureComponent=A,t.StrictMode=o,t.Suspense=u,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=B,t.act=N,t.cloneElement=function(e,t,r){if(null===e||void 0===e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var i=m({},e.props),o=e.key,a=e.ref,s=e._owner;if(null!=t){if(void 0!==t.ref&&(a=t.ref,s=C.current),void 0!==t.key&&(o=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(c in t)x.call(t,c)&&!S.hasOwnProperty(c)&&(i[c]=void 0===t[c]&&void 0!==l?l[c]:t[c])}var c=arguments.length-2;if(1===c)i.children=r;else if(1<c){l=Array(c);for(var u=0;u<c;u++)l[u]=arguments[u+2];i.children=l}return{$$typeof:n,type:e.type,key:o,ref:a,props:i,_owner:s}},t.createContext=function(e){return(e={$$typeof:l,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:s,_context:e},e.Consumer=e},t.createElement=k,t.createFactory=function(e){var t=k.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:c,render:e}},t.isValidElement=E,t.lazy=function(e){return{$$typeof:p,_payload:{_status:-1,_result:e},_init:T}},t.memo=function(e,t){return{$$typeof:d,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=j.transition;j.transition={};try{e()}finally{j.transition=t}},t.unstable_act=N,t.useCallback=function(e,t){return D.current.useCallback(e,t)},t.useContext=function(e){return D.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return D.current.useDeferredValue(e)},t.useEffect=function(e,t){return D.current.useEffect(e,t)},t.useId=function(){return D.current.useId()},t.useImperativeHandle=function(e,t,n){return D.current.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return D.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return D.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return D.current.useMemo(e,t)},t.useReducer=function(e,t,n){return D.current.useReducer(e,t,n)},t.useRef=function(e){return D.current.useRef(e)},t.useState=function(e){return D.current.useState(e)},t.useSyncExternalStore=function(e,t,n){return D.current.useSyncExternalStore(e,t,n)},t.useTransition=function(){return D.current.useTransition()},t.version="18.3.1"},9950:(e,t,n)=>{"use strict";e.exports=n(32049)},44414:(e,t,n)=>{"use strict";e.exports=n(32654)},58522:(e,t,n)=>{"use strict";n.d(t,{HY:()=>u,Tw:()=>f,Zz:()=>h,y$:()=>c,zH:()=>p});var r=n(89379);function i(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var o="function"===typeof Symbol&&Symbol.observable||"@@observable",a=function(){return Math.random().toString(36).substring(7).split("").join(".")},s={INIT:"@@redux/INIT"+a(),REPLACE:"@@redux/REPLACE"+a(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+a()}};function l(e){if("object"!==typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function c(e,t,n){var r;if("function"===typeof t&&"function"===typeof n||"function"===typeof n&&"function"===typeof arguments[3])throw new Error(i(0));if("function"===typeof t&&"undefined"===typeof n&&(n=t,t=void 0),"undefined"!==typeof n){if("function"!==typeof n)throw new Error(i(1));return n(c)(e,t)}if("function"!==typeof e)throw new Error(i(2));var a=e,u=t,d=[],p=d,h=!1;function f(){p===d&&(p=d.slice())}function m(){if(h)throw new Error(i(3));return u}function g(e){if("function"!==typeof e)throw new Error(i(4));if(h)throw new Error(i(5));var t=!0;return f(),p.push(e),function(){if(t){if(h)throw new Error(i(6));t=!1,f();var n=p.indexOf(e);p.splice(n,1),d=null}}}function v(e){if(!l(e))throw new Error(i(7));if("undefined"===typeof e.type)throw new Error(i(8));if(h)throw new Error(i(9));try{h=!0,u=a(u,e)}finally{h=!1}for(var t=d=p,n=0;n<t.length;n++){(0,t[n])()}return e}return v({type:s.INIT}),(r={dispatch:v,subscribe:g,getState:m,replaceReducer:function(e){if("function"!==typeof e)throw new Error(i(10));a=e,v({type:s.REPLACE})}})[o]=function(){var e,t=g;return(e={subscribe:function(e){if("object"!==typeof e||null===e)throw new Error(i(11));function n(){e.next&&e.next(m())}return n(),{unsubscribe:t(n)}}})[o]=function(){return this},e},r}function u(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++){var o=t[r];0,"function"===typeof e[o]&&(n[o]=e[o])}var a,l=Object.keys(n);try{!function(e){Object.keys(e).forEach((function(t){var n=e[t];if("undefined"===typeof n(void 0,{type:s.INIT}))throw new Error(i(12));if("undefined"===typeof n(void 0,{type:s.PROBE_UNKNOWN_ACTION()}))throw new Error(i(13))}))}(n)}catch(c){a=c}return function(e,t){if(void 0===e&&(e={}),a)throw a;for(var r=!1,o={},s=0;s<l.length;s++){var c=l[s],u=n[c],d=e[c],p=u(d,t);if("undefined"===typeof p){t&&t.type;throw new Error(i(14))}o[c]=p,r=r||p!==d}return(r=r||l.length!==Object.keys(e).length)?o:e}}function d(e,t){return function(){return t(e.apply(this,arguments))}}function p(e,t){if("function"===typeof e)return d(e,t);if("object"!==typeof e||null===e)throw new Error(i(16));var n={};for(var r in e){var o=e[r];"function"===typeof o&&(n[r]=d(o,t))}return n}function h(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}function f(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(){var n=e.apply(void 0,arguments),o=function(){throw new Error(i(15))},a={getState:n.getState,dispatch:function(){return o.apply(void 0,arguments)}},s=t.map((function(e){return e(a)}));return o=h.apply(void 0,s)(n.dispatch),(0,r.A)((0,r.A)({},n),{},{dispatch:o})}}}},85913:(e,t,n)=>{"use strict";n.d(t,{Mz:()=>s});var r="NOT_FOUND";var i=function(e,t){return e===t};function o(e,t){var n="object"===typeof t?t:{equalityCheck:t},o=n.equalityCheck,a=void 0===o?i:o,s=n.maxSize,l=void 0===s?1:s,c=n.resultEqualityCheck,u=function(e){return function(t,n){if(null===t||null===n||t.length!==n.length)return!1;for(var r=t.length,i=0;i<r;i++)if(!e(t[i],n[i]))return!1;return!0}}(a),d=1===l?function(e){var t;return{get:function(n){return t&&e(t.key,n)?t.value:r},put:function(e,n){t={key:e,value:n}},getEntries:function(){return t?[t]:[]},clear:function(){t=void 0}}}(u):function(e,t){var n=[];function i(e){var i=n.findIndex((function(n){return t(e,n.key)}));if(i>-1){var o=n[i];return i>0&&(n.splice(i,1),n.unshift(o)),o.value}return r}return{get:i,put:function(t,o){i(t)===r&&(n.unshift({key:t,value:o}),n.length>e&&n.pop())},getEntries:function(){return n},clear:function(){n=[]}}}(l,u);function p(){var t=d.get(arguments);if(t===r){if(t=e.apply(null,arguments),c){var n=d.getEntries().find((function(e){return c(e.value,t)}));n&&(t=n.value)}d.put(arguments,t)}return t}return p.clearCache=function(){return d.clear()},p}function a(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return function(){for(var t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];var o,a=0,s={memoizeOptions:void 0},l=r.pop();if("object"===typeof l&&(s=l,l=r.pop()),"function"!==typeof l)throw new Error("createSelector expects an output function after the inputs, but received: ["+typeof l+"]");var c=s.memoizeOptions,u=void 0===c?n:c,d=Array.isArray(u)?u:[u],p=function(e){var t=Array.isArray(e[0])?e[0]:e;if(!t.every((function(e){return"function"===typeof e}))){var n=t.map((function(e){return"function"===typeof e?"function "+(e.name||"unnamed")+"()":typeof e})).join(", ");throw new Error("createSelector expects all input-selectors to be functions, but received the following types: ["+n+"]")}return t}(r),h=e.apply(void 0,[function(){return a++,l.apply(null,arguments)}].concat(d)),f=e((function(){for(var e=[],t=p.length,n=0;n<t;n++)e.push(p[n].apply(null,arguments));return o=h.apply(null,e)}));return Object.assign(f,{resultFunc:l,memoizedResultFunc:h,dependencies:p,lastResult:function(){return o},recomputations:function(){return a},resetRecomputations:function(){return a=0}}),f}}var s=a(o)},30853:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>S});var r=function(){if("undefined"!==typeof Map)return Map;function e(e,t){var n=-1;return e.some((function(e,r){return e[0]===t&&(n=r,!0)})),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),r=this.__entries__[n];return r&&r[1]},t.prototype.set=function(t,n){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,r=e(n,t);~r&&n.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,r=this.__entries__;n<r.length;n++){var i=r[n];e.call(t,i[1],i[0])}},t}()}(),i="undefined"!==typeof window&&"undefined"!==typeof document&&window.document===document,o="undefined"!==typeof n.g&&n.g.Math===Math?n.g:"undefined"!==typeof self&&self.Math===Math?self:"undefined"!==typeof window&&window.Math===Math?window:Function("return this")(),a="function"===typeof requestAnimationFrame?requestAnimationFrame.bind(o):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)};var s=["top","right","bottom","left","width","height","size","weight"],l="undefined"!==typeof MutationObserver,c=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var n=!1,r=!1,i=0;function o(){n&&(n=!1,e()),r&&l()}function s(){a(o)}function l(){var e=Date.now();if(n){if(e-i<2)return;r=!0}else n=!0,r=!1,setTimeout(s,t);i=e}return l}(this.refresh.bind(this),20)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter((function(e){return e.gatherActive(),e.hasActive()}));return e.forEach((function(e){return e.broadcastActive()})),e.length>0},e.prototype.connect_=function(){i&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),l?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){i&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;s.some((function(e){return!!~n.indexOf(e)}))&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),u=function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n++){var i=r[n];Object.defineProperty(e,i,{value:t[i],enumerable:!1,writable:!1,configurable:!0})}return e},d=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||o},p=y(0,0,0,0);function h(e){return parseFloat(e)||0}function f(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce((function(t,n){return t+h(e["border-"+n+"-width"])}),0)}function m(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return p;var r=d(e).getComputedStyle(e),i=function(e){for(var t={},n=0,r=["top","right","bottom","left"];n<r.length;n++){var i=r[n],o=e["padding-"+i];t[i]=h(o)}return t}(r),o=i.left+i.right,a=i.top+i.bottom,s=h(r.width),l=h(r.height);if("border-box"===r.boxSizing&&(Math.round(s+o)!==t&&(s-=f(r,"left","right")+o),Math.round(l+a)!==n&&(l-=f(r,"top","bottom")+a)),!function(e){return e===d(e).document.documentElement}(e)){var c=Math.round(s+o)-t,u=Math.round(l+a)-n;1!==Math.abs(c)&&(s-=c),1!==Math.abs(u)&&(l-=u)}return y(i.left,i.top,s,l)}var g="undefined"!==typeof SVGGraphicsElement?function(e){return e instanceof d(e).SVGGraphicsElement}:function(e){return e instanceof d(e).SVGElement&&"function"===typeof e.getBBox};function v(e){return i?g(e)?function(e){var t=e.getBBox();return y(0,0,t.width,t.height)}(e):m(e):p}function y(e,t,n,r){return{x:e,y:t,width:n,height:r}}var A=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=y(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=v(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),b=function(e,t){var n=function(e){var t=e.x,n=e.y,r=e.width,i=e.height,o="undefined"!==typeof DOMRectReadOnly?DOMRectReadOnly:Object,a=Object.create(o.prototype);return u(a,{x:t,y:n,width:r,height:i,top:n,right:t+r,bottom:i+n,left:t}),a}(t);u(this,{target:e,contentRect:n})},w=function(){function e(e,t,n){if(this.activeObservations_=[],this.observations_=new r,"function"!==typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=n}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!==typeof Element&&Element instanceof Object){if(!(e instanceof d(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new A(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!==typeof Element&&Element instanceof Object){if(!(e instanceof d(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new b(e.target,e.broadcastRect())}));this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),x="undefined"!==typeof WeakMap?new WeakMap:new r,C=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=c.getInstance(),r=new w(t,n,this);x.set(this,r)};["observe","unobserve","disconnect"].forEach((function(e){C.prototype[e]=function(){var t;return(t=x.get(this))[e].apply(t,arguments)}}));const S="undefined"!==typeof o.ResizeObserver?o.ResizeObserver:C},31761:(e,t)=>{"use strict";var n,r,i,o,a;if(Object.defineProperty(t,"__esModule",{value:!0}),"undefined"===typeof window||"function"!==typeof MessageChannel){var s=null,l=null,c=function(){if(null!==s)try{var e=t.unstable_now();s(!0,e),s=null}catch(n){throw setTimeout(c,0),n}},u=Date.now();t.unstable_now=function(){return Date.now()-u},n=function(e){null!==s?setTimeout(n,0,e):(s=e,setTimeout(c,0))},r=function(e,t){l=setTimeout(e,t)},i=function(){clearTimeout(l)},o=function(){return!1},a=t.unstable_forceFrameRate=function(){}}else{var d=window.performance,p=window.Date,h=window.setTimeout,f=window.clearTimeout,m=window.requestAnimationFrame,g=window.cancelAnimationFrame;if("undefined"!==typeof console&&("function"!==typeof m&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!==typeof g&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills")),"object"===typeof d&&"function"===typeof d.now)t.unstable_now=function(){return d.now()};else{var v=p.now();t.unstable_now=function(){return p.now()-v}}var y=!1,A=null,b=-1,w=5,x=0;o=function(){return t.unstable_now()>=x},a=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing framerates higher than 125 fps is not unsupported"):w=0<e?Math.floor(1e3/e):33.33};var C=new MessageChannel,S=C.port2;C.port1.onmessage=function(){if(null!==A){var e=t.unstable_now();x=e+w;try{A(!0,e)?S.postMessage(null):(y=!1,A=null)}catch(n){throw S.postMessage(null),n}}else y=!1},n=function(e){A=e,y||(y=!0,S.postMessage(null))},r=function(e,n){b=h((function(){e(t.unstable_now())}),n)},i=function(){f(b),b=-1}}function k(e,t){var n=e.length;e.push(t);e:for(;;){var r=Math.floor((n-1)/2),i=e[r];if(!(void 0!==i&&0<_(i,t)))break e;e[r]=t,e[n]=i,n=r}}function E(e){return void 0===(e=e[0])?null:e}function I(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,i=e.length;r<i;){var o=2*(r+1)-1,a=e[o],s=o+1,l=e[s];if(void 0!==a&&0>_(a,n))void 0!==l&&0>_(l,a)?(e[r]=l,e[s]=n,r=s):(e[r]=a,e[o]=n,r=o);else{if(!(void 0!==l&&0>_(l,n)))break e;e[r]=l,e[s]=n,r=s}}}return t}return null}function _(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var P=[],O=[],T=1,D=null,j=3,B=!1,N=!1,M=!1;function R(e){for(var t=E(O);null!==t;){if(null===t.callback)I(O);else{if(!(t.startTime<=e))break;I(O),t.sortIndex=t.expirationTime,k(P,t)}t=E(O)}}function L(e){if(M=!1,R(e),!N)if(null!==E(P))N=!0,n(F);else{var t=E(O);null!==t&&r(L,t.startTime-e)}}function F(e,n){N=!1,M&&(M=!1,i()),B=!0;var a=j;try{for(R(n),D=E(P);null!==D&&(!(D.expirationTime>n)||e&&!o());){var s=D.callback;if(null!==s){D.callback=null,j=D.priorityLevel;var l=s(D.expirationTime<=n);n=t.unstable_now(),"function"===typeof l?D.callback=l:D===E(P)&&I(P),R(n)}else I(P);D=E(P)}if(null!==D)var c=!0;else{var u=E(O);null!==u&&r(L,u.startTime-n),c=!1}return c}finally{D=null,j=a,B=!1}}function z(e){switch(e){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var Q=a;t.unstable_ImmediatePriority=1,t.unstable_UserBlockingPriority=2,t.unstable_NormalPriority=3,t.unstable_IdlePriority=5,t.unstable_LowPriority=4,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=j;j=e;try{return t()}finally{j=n}},t.unstable_next=function(e){switch(j){case 1:case 2:case 3:var t=3;break;default:t=j}var n=j;j=t;try{return e()}finally{j=n}},t.unstable_scheduleCallback=function(e,o,a){var s=t.unstable_now();if("object"===typeof a&&null!==a){var l=a.delay;l="number"===typeof l&&0<l?s+l:s,a="number"===typeof a.timeout?a.timeout:z(e)}else a=z(e),l=s;return e={id:T++,callback:o,priorityLevel:e,startTime:l,expirationTime:a=l+a,sortIndex:-1},l>s?(e.sortIndex=l,k(O,e),null===E(P)&&e===E(O)&&(M?i():M=!0,r(L,l-s))):(e.sortIndex=a,k(P,e),N||B||(N=!0,n(F))),e},t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_wrapCallback=function(e){var t=j;return function(){var n=j;j=t;try{return e.apply(this,arguments)}finally{j=n}}},t.unstable_getCurrentPriorityLevel=function(){return j},t.unstable_shouldYield=function(){var e=t.unstable_now();R(e);var n=E(P);return n!==D&&null!==D&&null!==n&&null!==n.callback&&n.startTime<=e&&n.expirationTime<D.expirationTime||o()},t.unstable_requestPaint=Q,t.unstable_continueExecution=function(){N||B||(N=!0,n(F))},t.unstable_pauseExecution=function(){},t.unstable_getFirstCallbackNode=function(){return E(P)},t.unstable_Profiling=null},75340:(e,t,n)=>{"use strict";e.exports=n(31761)},40403:e=>{e.exports=function(e,t,n,r){var i=n?n.call(r,e,t):void 0;if(void 0!==i)return!!i;if(e===t)return!0;if("object"!==typeof e||!e||"object"!==typeof t||!t)return!1;var o=Object.keys(e),a=Object.keys(t);if(o.length!==a.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),l=0;l<o.length;l++){var c=o[l];if(!s(c))return!1;var u=e[c],d=t[c];if(!1===(i=n?n.call(r,u,d,c):void 0)||void 0===i&&u!==d)return!1}return!0}},96122:(e,t,n)=>{"use strict";var r=n(45546),i=Array.prototype.concat,o=Array.prototype.slice,a=e.exports=function(e){for(var t=[],n=0,a=e.length;n<a;n++){var s=e[n];r(s)?t=i.call(t,o.call(s)):t.push(s)}return t};a.wrap=function(e){return function(){return e(a(arguments))}}},45546:e=>{e.exports=function(e){return!(!e||"string"===typeof e)&&(e instanceof Array||Array.isArray(e)||e.length>=0&&(e.splice instanceof Function||Object.getOwnPropertyDescriptor(e,e.length-1)&&"String"!==e.constructor.name))}},89794:e=>{e.exports=function(e){return e.replace(/[A-Z]/g,(function(e){return"-"+e.toLowerCase()})).toLowerCase()}},24937:(e,t,n)=>{"use strict";n.d(t,{ID:()=>Dt,NP:()=>Gt,DU:()=>en,AH:()=>Kt,Ay:()=>Zt,i7:()=>tn,DP:()=>Vt});var r=function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},r.apply(this,arguments)};Object.create;function i(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}Object.create;"function"===typeof SuppressedError&&SuppressedError;var o=n(9950),a=n(40403),s=n.n(a),l="-ms-",c="-moz-",u="-webkit-",d="comm",p="rule",h="decl",f="@import",m="@keyframes",g="@layer",v=Math.abs,y=String.fromCharCode,A=Object.assign;function b(e){return e.trim()}function w(e,t){return(e=t.exec(e))?e[0]:e}function x(e,t,n){return e.replace(t,n)}function C(e,t,n){return e.indexOf(t,n)}function S(e,t){return 0|e.charCodeAt(t)}function k(e,t,n){return e.slice(t,n)}function E(e){return e.length}function I(e){return e.length}function _(e,t){return t.push(e),e}function P(e,t){return e.filter((function(e){return!w(e,t)}))}var O=1,T=1,D=0,j=0,B=0,N="";function M(e,t,n,r,i,o,a,s){return{value:e,root:t,parent:n,type:r,props:i,children:o,line:O,column:T,length:a,return:"",siblings:s}}function R(e,t){return A(M("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function L(e){for(;e.root;)e=R(e.root,{children:[e]});_(e,e.siblings)}function F(){return B=j>0?S(N,--j):0,T--,10===B&&(T=1,O--),B}function z(){return B=j<D?S(N,j++):0,T++,10===B&&(T=1,O++),B}function Q(){return S(N,j)}function U(){return j}function V(e,t){return k(N,e,t)}function G(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function q(e){return O=T=1,D=E(N=e),j=0,[]}function H(e){return N="",e}function W(e){return b(V(j-1,J(91===e?e+2:40===e?e+1:e)))}function Y(e){for(;(B=Q())&&B<33;)z();return G(e)>2||G(B)>3?"":" "}function K(e,t){for(;--t&&z()&&!(B<48||B>102||B>57&&B<65||B>70&&B<97););return V(e,U()+(t<6&&32==Q()&&32==z()))}function J(e){for(;z();)switch(B){case e:return j;case 34:case 39:34!==e&&39!==e&&J(B);break;case 40:41===e&&J(e);break;case 92:z()}return j}function X(e,t){for(;z()&&e+B!==57&&(e+B!==84||47!==Q()););return"/*"+V(t,j-1)+"*"+y(47===e?e:z())}function Z(e){for(;!G(Q());)z();return V(e,j)}function $(e,t){for(var n="",r=0;r<e.length;r++)n+=t(e[r],r,e,t)||"";return n}function ee(e,t,n,r){switch(e.type){case g:if(e.children.length)break;case f:case h:return e.return=e.return||e.value;case d:return"";case m:return e.return=e.value+"{"+$(e.children,r)+"}";case p:if(!E(e.value=e.props.join(",")))return""}return E(n=$(e.children,r))?e.return=e.value+"{"+n+"}":""}function te(e,t,n){switch(function(e,t){return 45^S(e,0)?(((t<<2^S(e,0))<<2^S(e,1))<<2^S(e,2))<<2^S(e,3):0}(e,t)){case 5103:return u+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return u+e+e;case 4789:return c+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return u+e+c+e+l+e+e;case 5936:switch(S(e,t+11)){case 114:return u+e+l+x(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return u+e+l+x(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return u+e+l+x(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return u+e+l+e+e;case 6165:return u+e+l+"flex-"+e+e;case 5187:return u+e+x(e,/(\w+).+(:[^]+)/,u+"box-$1$2"+l+"flex-$1$2")+e;case 5443:return u+e+l+"flex-item-"+x(e,/flex-|-self/g,"")+(w(e,/flex-|baseline/)?"":l+"grid-row-"+x(e,/flex-|-self/g,""))+e;case 4675:return u+e+l+"flex-line-pack"+x(e,/align-content|flex-|-self/g,"")+e;case 5548:return u+e+l+x(e,"shrink","negative")+e;case 5292:return u+e+l+x(e,"basis","preferred-size")+e;case 6060:return u+"box-"+x(e,"-grow","")+u+e+l+x(e,"grow","positive")+e;case 4554:return u+x(e,/([^-])(transform)/g,"$1"+u+"$2")+e;case 6187:return x(x(x(e,/(zoom-|grab)/,u+"$1"),/(image-set)/,u+"$1"),e,"")+e;case 5495:case 3959:return x(e,/(image-set\([^]*)/,u+"$1$`$1");case 4968:return x(x(e,/(.+:)(flex-)?(.*)/,u+"box-pack:$3"+l+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+u+e+e;case 4200:if(!w(e,/flex-|baseline/))return l+"grid-column-align"+k(e,t)+e;break;case 2592:case 3360:return l+x(e,"template-","")+e;case 4384:case 3616:return n&&n.some((function(e,n){return t=n,w(e.props,/grid-\w+-end/)}))?~C(e+(n=n[t].value),"span",0)?e:l+x(e,"-start","")+e+l+"grid-row-span:"+(~C(n,"span",0)?w(n,/\d+/):+w(n,/\d+/)-+w(e,/\d+/))+";":l+x(e,"-start","")+e;case 4896:case 4128:return n&&n.some((function(e){return w(e.props,/grid-\w+-start/)}))?e:l+x(x(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return x(e,/(.+)-inline(.+)/,u+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(E(e)-1-t>6)switch(S(e,t+1)){case 109:if(45!==S(e,t+4))break;case 102:return x(e,/(.+:)(.+)-([^]+)/,"$1"+u+"$2-$3$1"+c+(108==S(e,t+3)?"$3":"$2-$3"))+e;case 115:return~C(e,"stretch",0)?te(x(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return x(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,(function(t,n,r,i,o,a,s){return l+n+":"+r+s+(i?l+n+"-span:"+(o?a:+a-+r)+s:"")+e}));case 4949:if(121===S(e,t+6))return x(e,":",":"+u)+e;break;case 6444:switch(S(e,45===S(e,14)?18:11)){case 120:return x(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+u+(45===S(e,14)?"inline-":"")+"box$3$1"+u+"$2$3$1"+l+"$2box$3")+e;case 100:return x(e,":",":"+l)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return x(e,"scroll-","scroll-snap-")+e}return e}function ne(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case h:return void(e.return=te(e.value,e.length,n));case m:return $([R(e,{value:x(e.value,"@","@"+u)})],r);case p:if(e.length)return function(e,t){return e.map(t).join("")}(n=e.props,(function(t){switch(w(t,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":L(R(e,{props:[x(t,/:(read-\w+)/,":"+c+"$1")]})),L(R(e,{props:[t]})),A(e,{props:P(n,r)});break;case"::placeholder":L(R(e,{props:[x(t,/:(plac\w+)/,":"+u+"input-$1")]})),L(R(e,{props:[x(t,/:(plac\w+)/,":"+c+"$1")]})),L(R(e,{props:[x(t,/:(plac\w+)/,l+"input-$1")]})),L(R(e,{props:[t]})),A(e,{props:P(n,r)})}return""}))}}function re(e){return H(ie("",null,null,null,[""],e=q(e),0,[0],e))}function ie(e,t,n,r,i,o,a,s,l){for(var c=0,u=0,d=a,p=0,h=0,f=0,m=1,g=1,A=1,b=0,w="",k=i,I=o,P=r,O=w;g;)switch(f=b,b=z()){case 40:if(108!=f&&58==S(O,d-1)){-1!=C(O+=x(W(b),"&","&\f"),"&\f",v(c?s[c-1]:0))&&(A=-1);break}case 34:case 39:case 91:O+=W(b);break;case 9:case 10:case 13:case 32:O+=Y(f);break;case 92:O+=K(U()-1,7);continue;case 47:switch(Q()){case 42:case 47:_(ae(X(z(),U()),t,n,l),l);break;default:O+="/"}break;case 123*m:s[c++]=E(O)*A;case 125*m:case 59:case 0:switch(b){case 0:case 125:g=0;case 59+u:-1==A&&(O=x(O,/\f/g,"")),h>0&&E(O)-d&&_(h>32?se(O+";",r,n,d-1,l):se(x(O," ","")+";",r,n,d-2,l),l);break;case 59:O+=";";default:if(_(P=oe(O,t,n,c,u,i,s,w,k=[],I=[],d,o),o),123===b)if(0===u)ie(O,t,P,P,k,o,d,s,I);else switch(99===p&&110===S(O,3)?100:p){case 100:case 108:case 109:case 115:ie(e,P,P,r&&_(oe(e,P,P,0,0,i,s,w,i,k=[],d,I),I),i,I,d,s,r?k:I);break;default:ie(O,P,P,P,[""],I,0,s,I)}}c=u=h=0,m=A=1,w=O="",d=a;break;case 58:d=1+E(O),h=f;default:if(m<1)if(123==b)--m;else if(125==b&&0==m++&&125==F())continue;switch(O+=y(b),b*m){case 38:A=u>0?1:(O+="\f",-1);break;case 44:s[c++]=(E(O)-1)*A,A=1;break;case 64:45===Q()&&(O+=W(z())),p=Q(),u=d=E(w=O+=Z(U())),b++;break;case 45:45===f&&2==E(O)&&(m=0)}}return o}function oe(e,t,n,r,i,o,a,s,l,c,u,d){for(var h=i-1,f=0===i?o:[""],m=I(f),g=0,y=0,A=0;g<r;++g)for(var w=0,C=k(e,h+1,h=v(y=a[g])),S=e;w<m;++w)(S=b(y>0?f[w]+" "+C:x(C,/&\f/g,f[w])))&&(l[A++]=S);return M(e,t,n,0===i?p:s,l,c,u,d)}function ae(e,t,n,r){return M(e,t,n,d,y(B),k(e,2,-2),0,r)}function se(e,t,n,r,i){return M(e,t,n,h,k(e,0,r),k(e,r+1,-1),r,i)}var le={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},ce="undefined"!=typeof process&&void 0!=={NODE_ENV:"production",PUBLIC_URL:"/clientapp/build",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_API:"https://b2bcommerceapi.nwg.wan",REACT_APP_APPCONTEXTID:"fa2225e0-7c06-47f3-9117-1dfb77535f27",REACT_APP_CMS:"https://newwave-se.dev.nwg.wan",REACT_APP_IDENTITY:"https://b2bidentity.nwg.wan",REACT_APP_MEDIASERVICEURL:"https://images.nwgmedia.com"}&&({NODE_ENV:"production",PUBLIC_URL:"/clientapp/build",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_API:"https://b2bcommerceapi.nwg.wan",REACT_APP_APPCONTEXTID:"fa2225e0-7c06-47f3-9117-1dfb77535f27",REACT_APP_CMS:"https://newwave-se.dev.nwg.wan",REACT_APP_IDENTITY:"https://b2bidentity.nwg.wan",REACT_APP_MEDIASERVICEURL:"https://images.nwgmedia.com"}.REACT_APP_SC_ATTR||{NODE_ENV:"production",PUBLIC_URL:"/clientapp/build",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_API:"https://b2bcommerceapi.nwg.wan",REACT_APP_APPCONTEXTID:"fa2225e0-7c06-47f3-9117-1dfb77535f27",REACT_APP_CMS:"https://newwave-se.dev.nwg.wan",REACT_APP_IDENTITY:"https://b2bidentity.nwg.wan",REACT_APP_MEDIASERVICEURL:"https://images.nwgmedia.com"}.SC_ATTR)||"data-styled",ue="active",de="data-styled-version",pe="6.1.13",he="/*!sc*/\n",fe="undefined"!=typeof window&&"HTMLElement"in window,me=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!=={NODE_ENV:"production",PUBLIC_URL:"/clientapp/build",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_API:"https://b2bcommerceapi.nwg.wan",REACT_APP_APPCONTEXTID:"fa2225e0-7c06-47f3-9117-1dfb77535f27",REACT_APP_CMS:"https://newwave-se.dev.nwg.wan",REACT_APP_IDENTITY:"https://b2bidentity.nwg.wan",REACT_APP_MEDIASERVICEURL:"https://images.nwgmedia.com"}&&void 0!=={NODE_ENV:"production",PUBLIC_URL:"/clientapp/build",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_API:"https://b2bcommerceapi.nwg.wan",REACT_APP_APPCONTEXTID:"fa2225e0-7c06-47f3-9117-1dfb77535f27",REACT_APP_CMS:"https://newwave-se.dev.nwg.wan",REACT_APP_IDENTITY:"https://b2bidentity.nwg.wan",REACT_APP_MEDIASERVICEURL:"https://images.nwgmedia.com"}.REACT_APP_SC_DISABLE_SPEEDY&&""!=={NODE_ENV:"production",PUBLIC_URL:"/clientapp/build",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_API:"https://b2bcommerceapi.nwg.wan",REACT_APP_APPCONTEXTID:"fa2225e0-7c06-47f3-9117-1dfb77535f27",REACT_APP_CMS:"https://newwave-se.dev.nwg.wan",REACT_APP_IDENTITY:"https://b2bidentity.nwg.wan",REACT_APP_MEDIASERVICEURL:"https://images.nwgmedia.com"}.REACT_APP_SC_DISABLE_SPEEDY?"false"!=={NODE_ENV:"production",PUBLIC_URL:"/clientapp/build",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_API:"https://b2bcommerceapi.nwg.wan",REACT_APP_APPCONTEXTID:"fa2225e0-7c06-47f3-9117-1dfb77535f27",REACT_APP_CMS:"https://newwave-se.dev.nwg.wan",REACT_APP_IDENTITY:"https://b2bidentity.nwg.wan",REACT_APP_MEDIASERVICEURL:"https://images.nwgmedia.com"}.REACT_APP_SC_DISABLE_SPEEDY&&{NODE_ENV:"production",PUBLIC_URL:"/clientapp/build",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_API:"https://b2bcommerceapi.nwg.wan",REACT_APP_APPCONTEXTID:"fa2225e0-7c06-47f3-9117-1dfb77535f27",REACT_APP_CMS:"https://newwave-se.dev.nwg.wan",REACT_APP_IDENTITY:"https://b2bidentity.nwg.wan",REACT_APP_MEDIASERVICEURL:"https://images.nwgmedia.com"}.REACT_APP_SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!=={NODE_ENV:"production",PUBLIC_URL:"/clientapp/build",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_API:"https://b2bcommerceapi.nwg.wan",REACT_APP_APPCONTEXTID:"fa2225e0-7c06-47f3-9117-1dfb77535f27",REACT_APP_CMS:"https://newwave-se.dev.nwg.wan",REACT_APP_IDENTITY:"https://b2bidentity.nwg.wan",REACT_APP_MEDIASERVICEURL:"https://images.nwgmedia.com"}&&void 0!=={NODE_ENV:"production",PUBLIC_URL:"/clientapp/build",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_API:"https://b2bcommerceapi.nwg.wan",REACT_APP_APPCONTEXTID:"fa2225e0-7c06-47f3-9117-1dfb77535f27",REACT_APP_CMS:"https://newwave-se.dev.nwg.wan",REACT_APP_IDENTITY:"https://b2bidentity.nwg.wan",REACT_APP_MEDIASERVICEURL:"https://images.nwgmedia.com"}.SC_DISABLE_SPEEDY&&""!=={NODE_ENV:"production",PUBLIC_URL:"/clientapp/build",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_API:"https://b2bcommerceapi.nwg.wan",REACT_APP_APPCONTEXTID:"fa2225e0-7c06-47f3-9117-1dfb77535f27",REACT_APP_CMS:"https://newwave-se.dev.nwg.wan",REACT_APP_IDENTITY:"https://b2bidentity.nwg.wan",REACT_APP_MEDIASERVICEURL:"https://images.nwgmedia.com"}.SC_DISABLE_SPEEDY&&("false"!=={NODE_ENV:"production",PUBLIC_URL:"/clientapp/build",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_API:"https://b2bcommerceapi.nwg.wan",REACT_APP_APPCONTEXTID:"fa2225e0-7c06-47f3-9117-1dfb77535f27",REACT_APP_CMS:"https://newwave-se.dev.nwg.wan",REACT_APP_IDENTITY:"https://b2bidentity.nwg.wan",REACT_APP_MEDIASERVICEURL:"https://images.nwgmedia.com"}.SC_DISABLE_SPEEDY&&{NODE_ENV:"production",PUBLIC_URL:"/clientapp/build",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_API:"https://b2bcommerceapi.nwg.wan",REACT_APP_APPCONTEXTID:"fa2225e0-7c06-47f3-9117-1dfb77535f27",REACT_APP_CMS:"https://newwave-se.dev.nwg.wan",REACT_APP_IDENTITY:"https://b2bidentity.nwg.wan",REACT_APP_MEDIASERVICEURL:"https://images.nwgmedia.com"}.SC_DISABLE_SPEEDY)),ge={},ve=(new Set,Object.freeze([])),ye=Object.freeze({});function Ae(e,t,n){return void 0===n&&(n=ye),e.theme!==n.theme&&e.theme||t||n.theme}var be=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),we=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,xe=/(^-|-$)/g;function Ce(e){return e.replace(we,"-").replace(xe,"")}var Se=/(a)(d)/gi,ke=52,Ee=function(e){return String.fromCharCode(e+(e>25?39:97))};function Ie(e){var t,n="";for(t=Math.abs(e);t>ke;t=t/ke|0)n=Ee(t%ke)+n;return(Ee(t%ke)+n).replace(Se,"$1-$2")}var _e,Pe=5381,Oe=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},Te=function(e){return Oe(Pe,e)};function De(e){return Ie(Te(e)>>>0)}function je(e){return e.displayName||e.name||"Component"}function Be(e){return"string"==typeof e&&!0}var Ne="function"==typeof Symbol&&Symbol.for,Me=Ne?Symbol.for("react.memo"):60115,Re=Ne?Symbol.for("react.forward_ref"):60112,Le={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Fe={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},ze={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Qe=((_e={})[Re]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},_e[Me]=ze,_e);function Ue(e){return("type"in(t=e)&&t.type.$$typeof)===Me?ze:"$$typeof"in e?Qe[e.$$typeof]:Le;var t}var Ve=Object.defineProperty,Ge=Object.getOwnPropertyNames,qe=Object.getOwnPropertySymbols,He=Object.getOwnPropertyDescriptor,We=Object.getPrototypeOf,Ye=Object.prototype;function Ke(e,t,n){if("string"!=typeof t){if(Ye){var r=We(t);r&&r!==Ye&&Ke(e,r,n)}var i=Ge(t);qe&&(i=i.concat(qe(t)));for(var o=Ue(e),a=Ue(t),s=0;s<i.length;++s){var l=i[s];if(!(l in Fe||n&&n[l]||a&&l in a||o&&l in o)){var c=He(t,l);try{Ve(e,l,c)}catch(e){}}}}return e}function Je(e){return"function"==typeof e}function Xe(e){return"object"==typeof e&&"styledComponentId"in e}function Ze(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function $e(e,t){if(0===e.length)return"";for(var n=e[0],r=1;r<e.length;r++)n+=t?t+e[r]:e[r];return n}function et(e){return null!==e&&"object"==typeof e&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function tt(e,t,n){if(void 0===n&&(n=!1),!n&&!et(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var r=0;r<t.length;r++)e[r]=tt(e[r],t[r]);else if(et(t))for(var r in t)e[r]=tt(e[r],t[r]);return e}function nt(e,t){Object.defineProperty(e,"toString",{value:t})}function rt(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e," for more information.").concat(t.length>0?" Args: ".concat(t.join(", ")):""))}var it=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,n=0;n<e;n++)t+=this.groupSizes[n];return t},e.prototype.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,i=r;e>=i;)if((i<<=1)<0)throw rt(16,"".concat(e));this.groupSizes=new Uint32Array(i),this.groupSizes.set(n),this.length=i;for(var o=r;o<i;o++)this.groupSizes[o]=0}for(var a=this.indexOfGroup(e+1),s=(o=0,t.length);o<s;o++)this.tag.insertRule(a,t[o])&&(this.groupSizes[e]++,a++)},e.prototype.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],n=this.indexOfGroup(e),r=n+t;this.groupSizes[e]=0;for(var i=n;i<r;i++)this.tag.deleteRule(n)}},e.prototype.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),i=r+n,o=r;o<i;o++)t+="".concat(this.tag.getRule(o)).concat(he);return t},e}(),ot=new Map,at=new Map,st=1,lt=function(e){if(ot.has(e))return ot.get(e);for(;at.has(st);)st++;var t=st++;return ot.set(e,t),at.set(t,e),t},ct=function(e,t){st=t+1,ot.set(e,t),at.set(t,e)},ut="style[".concat(ce,"][").concat(de,'="').concat(pe,'"]'),dt=new RegExp("^".concat(ce,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),pt=function(e,t,n){for(var r,i=n.split(","),o=0,a=i.length;o<a;o++)(r=i[o])&&e.registerName(t,r)},ht=function(e,t){for(var n,r=(null!==(n=t.textContent)&&void 0!==n?n:"").split(he),i=[],o=0,a=r.length;o<a;o++){var s=r[o].trim();if(s){var l=s.match(dt);if(l){var c=0|parseInt(l[1],10),u=l[2];0!==c&&(ct(u,c),pt(e,u,l[3]),e.getTag().insertRules(c,i)),i.length=0}else i.push(s)}}},ft=function(e){for(var t=document.querySelectorAll(ut),n=0,r=t.length;n<r;n++){var i=t[n];i&&i.getAttribute(ce)!==ue&&(ht(e,i),i.parentNode&&i.parentNode.removeChild(i))}};function mt(){return n.nc}var gt=function(e){var t=document.head,n=e||t,r=document.createElement("style"),i=function(e){var t=Array.from(e.querySelectorAll("style[".concat(ce,"]")));return t[t.length-1]}(n),o=void 0!==i?i.nextSibling:null;r.setAttribute(ce,ue),r.setAttribute(de,pe);var a=mt();return a&&r.setAttribute("nonce",a),n.insertBefore(r,o),r},vt=function(){function e(e){this.element=gt(e),this.element.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,r=t.length;n<r;n++){var i=t[n];if(i.ownerNode===e)return i}throw rt(17)}(this.element),this.length=0}return e.prototype.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},e.prototype.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},e.prototype.getRule=function(e){var t=this.sheet.cssRules[e];return t&&t.cssText?t.cssText:""},e}(),yt=function(){function e(e){this.element=gt(e),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),At=function(){function e(e){this.rules=[],this.length=0}return e.prototype.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},e.prototype.deleteRule=function(e){this.rules.splice(e,1),this.length--},e.prototype.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),bt=fe,wt={isServer:!fe,useCSSOMInjection:!me},xt=function(){function e(e,t,n){void 0===e&&(e=ye),void 0===t&&(t={});var i=this;this.options=r(r({},wt),e),this.gs=t,this.names=new Map(n),this.server=!!e.isServer,!this.server&&fe&&bt&&(bt=!1,ft(this)),nt(this,(function(){return function(e){for(var t=e.getTag(),n=t.length,r="",i=function(n){var i=function(e){return at.get(e)}(n);if(void 0===i)return"continue";var o=e.names.get(i),a=t.getGroup(n);if(void 0===o||!o.size||0===a.length)return"continue";var s="".concat(ce,".g").concat(n,'[id="').concat(i,'"]'),l="";void 0!==o&&o.forEach((function(e){e.length>0&&(l+="".concat(e,","))})),r+="".concat(a).concat(s,'{content:"').concat(l,'"}').concat(he)},o=0;o<n;o++)i(o);return r}(i)}))}return e.registerId=function(e){return lt(e)},e.prototype.rehydrate=function(){!this.server&&fe&&ft(this)},e.prototype.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(r(r({},this.options),t),this.gs,n&&this.names||void 0)},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(e=function(e){var t=e.useCSSOMInjection,n=e.target;return e.isServer?new At(n):t?new vt(n):new yt(n)}(this.options),new it(e)));var e},e.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},e.prototype.registerName=function(e,t){if(lt(e),this.names.has(e))this.names.get(e).add(t);else{var n=new Set;n.add(t),this.names.set(e,n)}},e.prototype.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(lt(e),n)},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},e.prototype.clearRules=function(e){this.getTag().clearGroup(lt(e)),this.clearNames(e)},e.prototype.clearTag=function(){this.tag=void 0},e}(),Ct=/&/g,St=/^\s*\/\/.*$/gm;function kt(e,t){return e.map((function(e){return"rule"===e.type&&(e.value="".concat(t," ").concat(e.value),e.value=e.value.replaceAll(",",",".concat(t," ")),e.props=e.props.map((function(e){return"".concat(t," ").concat(e)}))),Array.isArray(e.children)&&"@keyframes"!==e.type&&(e.children=kt(e.children,t)),e}))}function Et(e){var t,n,r,i=void 0===e?ye:e,o=i.options,a=void 0===o?ye:o,s=i.plugins,l=void 0===s?ve:s,c=function(e,r,i){return i.startsWith(n)&&i.endsWith(n)&&i.replaceAll(n,"").length>0?".".concat(t):e},u=l.slice();u.push((function(e){e.type===p&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(Ct,n).replace(r,c))})),a.prefix&&u.push(ne),u.push(ee);var d=function(e,i,o,s){void 0===i&&(i=""),void 0===o&&(o=""),void 0===s&&(s="&"),t=s,n=i,r=new RegExp("\\".concat(n,"\\b"),"g");var l=e.replace(St,""),c=re(o||i?"".concat(o," ").concat(i," { ").concat(l," }"):l);a.namespace&&(c=kt(c,a.namespace));var d,p=[];return $(c,function(e){var t=I(e);return function(n,r,i,o){for(var a="",s=0;s<t;s++)a+=e[s](n,r,i,o)||"";return a}}(u.concat((d=function(e){return p.push(e)},function(e){e.root||(e=e.return)&&d(e)})))),p};return d.hash=l.length?l.reduce((function(e,t){return t.name||rt(15),Oe(e,t.name)}),Pe).toString():"",d}var It=new xt,_t=Et(),Pt=o.createContext({shouldForwardProp:void 0,styleSheet:It,stylis:_t}),Ot=(Pt.Consumer,o.createContext(void 0));function Tt(){return(0,o.useContext)(Pt)}function Dt(e){var t=(0,o.useState)(e.stylisPlugins),n=t[0],r=t[1],i=Tt().styleSheet,a=(0,o.useMemo)((function(){var t=i;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t}),[e.disableCSSOMInjection,e.sheet,e.target,i]),l=(0,o.useMemo)((function(){return Et({options:{namespace:e.namespace,prefix:e.enableVendorPrefixes},plugins:n})}),[e.enableVendorPrefixes,e.namespace,n]);(0,o.useEffect)((function(){s()(n,e.stylisPlugins)||r(e.stylisPlugins)}),[e.stylisPlugins]);var c=(0,o.useMemo)((function(){return{shouldForwardProp:e.shouldForwardProp,styleSheet:a,stylis:l}}),[e.shouldForwardProp,a,l]);return o.createElement(Pt.Provider,{value:c},o.createElement(Ot.Provider,{value:l},e.children))}var jt=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=_t);var r=n.name+t.hash;e.hasNameForId(n.id,r)||e.insertRules(n.id,r,t(n.rules,r,"@keyframes"))},this.name=e,this.id="sc-keyframes-".concat(e),this.rules=t,nt(this,(function(){throw rt(12,String(n.name))}))}return e.prototype.getName=function(e){return void 0===e&&(e=_t),this.name+e.hash},e}(),Bt=function(e){return e>="A"&&e<="Z"};function Nt(e){for(var t="",n=0;n<e.length;n++){var r=e[n];if(1===n&&"-"===r&&"-"===e[0])return e;Bt(r)?t+="-"+r.toLowerCase():t+=r}return t.startsWith("ms-")?"-"+t:t}var Mt=function(e){return null==e||!1===e||""===e},Rt=function(e){var t,n,r=[];for(var o in e){var a=e[o];e.hasOwnProperty(o)&&!Mt(a)&&(Array.isArray(a)&&a.isCss||Je(a)?r.push("".concat(Nt(o),":"),a,";"):et(a)?r.push.apply(r,i(i(["".concat(o," {")],Rt(a),!1),["}"],!1)):r.push("".concat(Nt(o),": ").concat((t=o,null==(n=a)||"boolean"==typeof n||""===n?"":"number"!=typeof n||0===n||t in le||t.startsWith("--")?String(n).trim():"".concat(n,"px")),";")))}return r};function Lt(e,t,n,r){return Mt(e)?[]:Xe(e)?[".".concat(e.styledComponentId)]:Je(e)?!Je(i=e)||i.prototype&&i.prototype.isReactComponent||!t?[e]:Lt(e(t),t,n,r):e instanceof jt?n?(e.inject(n,r),[e.getName(r)]):[e]:et(e)?Rt(e):Array.isArray(e)?Array.prototype.concat.apply(ve,e.map((function(e){return Lt(e,t,n,r)}))):[e.toString()];var i}function Ft(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(Je(n)&&!Xe(n))return!1}return!0}var zt=Te(pe),Qt=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===n||n.isStatic)&&Ft(e),this.componentId=t,this.baseHash=Oe(zt,t),this.baseStyle=n,xt.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,n){var r=this.baseStyle?this.baseStyle.generateAndInjectStyles(e,t,n):"";if(this.isStatic&&!n.hash)if(this.staticRulesId&&t.hasNameForId(this.componentId,this.staticRulesId))r=Ze(r,this.staticRulesId);else{var i=$e(Lt(this.rules,e,t,n)),o=Ie(Oe(this.baseHash,i)>>>0);if(!t.hasNameForId(this.componentId,o)){var a=n(i,".".concat(o),void 0,this.componentId);t.insertRules(this.componentId,o,a)}r=Ze(r,o),this.staticRulesId=o}else{for(var s=Oe(this.baseHash,n.hash),l="",c=0;c<this.rules.length;c++){var u=this.rules[c];if("string"==typeof u)l+=u;else if(u){var d=$e(Lt(u,e,t,n));s=Oe(s,d+c),l+=d}}if(l){var p=Ie(s>>>0);t.hasNameForId(this.componentId,p)||t.insertRules(this.componentId,p,n(l,".".concat(p),void 0,this.componentId)),r=Ze(r,p)}}return r},e}(),Ut=o.createContext(void 0);Ut.Consumer;function Vt(){var e=(0,o.useContext)(Ut);if(!e)throw rt(18);return e}function Gt(e){var t=o.useContext(Ut),n=(0,o.useMemo)((function(){return function(e,t){if(!e)throw rt(14);if(Je(e))return e(t);if(Array.isArray(e)||"object"!=typeof e)throw rt(8);return t?r(r({},t),e):e}(e.theme,t)}),[e.theme,t]);return e.children?o.createElement(Ut.Provider,{value:n},e.children):null}var qt={};new Set;function Ht(e,t,n){var i=Xe(e),a=e,s=!Be(e),l=t.attrs,c=void 0===l?ve:l,u=t.componentId,d=void 0===u?function(e,t){var n="string"!=typeof e?"sc":Ce(e);qt[n]=(qt[n]||0)+1;var r="".concat(n,"-").concat(De(pe+n+qt[n]));return t?"".concat(t,"-").concat(r):r}(t.displayName,t.parentComponentId):u,p=t.displayName,h=void 0===p?function(e){return Be(e)?"styled.".concat(e):"Styled(".concat(je(e),")")}(e):p,f=t.displayName&&t.componentId?"".concat(Ce(t.displayName),"-").concat(t.componentId):t.componentId||d,m=i&&a.attrs?a.attrs.concat(c).filter(Boolean):c,g=t.shouldForwardProp;if(i&&a.shouldForwardProp){var v=a.shouldForwardProp;if(t.shouldForwardProp){var y=t.shouldForwardProp;g=function(e,t){return v(e,t)&&y(e,t)}}else g=v}var A=new Qt(n,f,i?a.componentStyle:void 0);function b(e,t){return function(e,t,n){var i=e.attrs,a=e.componentStyle,s=e.defaultProps,l=e.foldedComponentIds,c=e.styledComponentId,u=e.target,d=o.useContext(Ut),p=Tt(),h=e.shouldForwardProp||p.shouldForwardProp,f=Ae(t,d,s)||ye,m=function(e,t,n){for(var i,o=r(r({},t),{className:void 0,theme:n}),a=0;a<e.length;a+=1){var s=Je(i=e[a])?i(o):i;for(var l in s)o[l]="className"===l?Ze(o[l],s[l]):"style"===l?r(r({},o[l]),s[l]):s[l]}return t.className&&(o.className=Ze(o.className,t.className)),o}(i,t,f),g=m.as||u,v={};for(var y in m)void 0===m[y]||"$"===y[0]||"as"===y||"theme"===y&&m.theme===f||("forwardedAs"===y?v.as=m.forwardedAs:h&&!h(y,g)||(v[y]=m[y]));var A=function(e,t){var n=Tt();return e.generateAndInjectStyles(t,n.styleSheet,n.stylis)}(a,m),b=Ze(l,c);return A&&(b+=" "+A),m.className&&(b+=" "+m.className),v[Be(g)&&!be.has(g)?"class":"className"]=b,v.ref=n,(0,o.createElement)(g,v)}(w,e,t)}b.displayName=h;var w=o.forwardRef(b);return w.attrs=m,w.componentStyle=A,w.displayName=h,w.shouldForwardProp=g,w.foldedComponentIds=i?Ze(a.foldedComponentIds,a.styledComponentId):"",w.styledComponentId=f,w.target=i?a.target:e,Object.defineProperty(w,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=i?function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=0,i=t;r<i.length;r++)tt(e,i[r],!0);return e}({},a.defaultProps,e):e}}),nt(w,(function(){return".".concat(w.styledComponentId)})),s&&Ke(w,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),w}function Wt(e,t){for(var n=[e[0]],r=0,i=t.length;r<i;r+=1)n.push(t[r],e[r+1]);return n}var Yt=function(e){return Object.assign(e,{isCss:!0})};function Kt(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(Je(e)||et(e))return Yt(Lt(Wt(ve,i([e],t,!0))));var r=e;return 0===t.length&&1===r.length&&"string"==typeof r[0]?Lt(r):Yt(Lt(Wt(r,t)))}function Jt(e,t,n){if(void 0===n&&(n=ye),!t)throw rt(1,t);var o=function(r){for(var o=[],a=1;a<arguments.length;a++)o[a-1]=arguments[a];return e(t,n,Kt.apply(void 0,i([r],o,!1)))};return o.attrs=function(i){return Jt(e,t,r(r({},n),{attrs:Array.prototype.concat(n.attrs,i).filter(Boolean)}))},o.withConfig=function(i){return Jt(e,t,r(r({},n),i))},o}var Xt=function(e){return Jt(Ht,e)},Zt=Xt;be.forEach((function(e){Zt[e]=Xt(e)}));var $t=function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=Ft(e),xt.registerId(this.componentId+1)}return e.prototype.createStyles=function(e,t,n,r){var i=r($e(Lt(this.rules,t,n,r)),""),o=this.componentId+e;n.insertRules(o,o,i)},e.prototype.removeStyles=function(e,t){t.clearRules(this.componentId+e)},e.prototype.renderStyles=function(e,t,n,r){e>2&&xt.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,r)},e}();function en(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var a=Kt.apply(void 0,i([e],t,!1)),s="sc-global-".concat(De(JSON.stringify(a))),l=new $t(a,s),c=function(e){var t=Tt(),n=o.useContext(Ut),r=o.useRef(t.styleSheet.allocateGSInstance(s)).current;return t.styleSheet.server&&u(r,e,t.styleSheet,n,t.stylis),o.useLayoutEffect((function(){if(!t.styleSheet.server)return u(r,e,t.styleSheet,n,t.stylis),function(){return l.removeStyles(r,t.styleSheet)}}),[r,e,t.styleSheet,n,t.stylis]),null};function u(e,t,n,i,o){if(l.isStatic)l.renderStyles(e,ge,n,o);else{var a=r(r({},t),{theme:Ae(t,i,c.defaultProps)});l.renderStyles(e,a,n,o)}}return o.memo(c)}function tn(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=$e(Kt.apply(void 0,i([e],t,!1))),o=De(r);return new jt(o,r)}(function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return"";var n=mt(),r=$e([n&&'nonce="'.concat(n,'"'),"".concat(ce,'="true"'),"".concat(de,'="').concat(pe,'"')].filter(Boolean)," ");return"<style ".concat(r,">").concat(t,"</style>")},this.getStyleTags=function(){if(e.sealed)throw rt(2);return e._emitSheetCSS()},this.getStyleElement=function(){var t;if(e.sealed)throw rt(2);var n=e.instance.toString();if(!n)return[];var i=((t={})[ce]="",t[de]=pe,t.dangerouslySetInnerHTML={__html:n},t),a=mt();return a&&(i.nonce=a),[o.createElement("style",r({},i,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new xt({isServer:!0}),this.sealed=!1}e.prototype.collectStyles=function(e){if(this.sealed)throw rt(2);return o.createElement(Dt,{sheet:this.instance},e)},e.prototype.interleaveWithNodeStream=function(e){throw rt(3)}})(),"__sc-".concat(ce,"__")},81807:e=>{function t(){this.table=new Uint16Array(16),this.trans=new Uint16Array(288)}function n(e,n){this.source=e,this.sourceIndex=0,this.tag=0,this.bitcount=0,this.dest=n,this.destLen=0,this.ltree=new t,this.dtree=new t}var r=new t,i=new t,o=new Uint8Array(30),a=new Uint16Array(30),s=new Uint8Array(30),l=new Uint16Array(30),c=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),u=new t,d=new Uint8Array(320);function p(e,t,n,r){var i,o;for(i=0;i<n;++i)e[i]=0;for(i=0;i<30-n;++i)e[i+n]=i/n|0;for(o=r,i=0;i<30;++i)t[i]=o,o+=1<<e[i]}var h=new Uint16Array(16);function f(e,t,n,r){var i,o;for(i=0;i<16;++i)e.table[i]=0;for(i=0;i<r;++i)e.table[t[n+i]]++;for(e.table[0]=0,o=0,i=0;i<16;++i)h[i]=o,o+=e.table[i];for(i=0;i<r;++i)t[n+i]&&(e.trans[h[t[n+i]]++]=i)}function m(e){e.bitcount--||(e.tag=e.source[e.sourceIndex++],e.bitcount=7);var t=1&e.tag;return e.tag>>>=1,t}function g(e,t,n){if(!t)return n;for(;e.bitcount<24;)e.tag|=e.source[e.sourceIndex++]<<e.bitcount,e.bitcount+=8;var r=e.tag&65535>>>16-t;return e.tag>>>=t,e.bitcount-=t,r+n}function v(e,t){for(;e.bitcount<24;)e.tag|=e.source[e.sourceIndex++]<<e.bitcount,e.bitcount+=8;var n=0,r=0,i=0,o=e.tag;do{r=2*r+(1&o),o>>>=1,++i,n+=t.table[i],r-=t.table[i]}while(r>=0);return e.tag=o,e.bitcount-=i,t.trans[n+r]}function y(e,t,n){var r,i,o,a,s,l;for(r=g(e,5,257),i=g(e,5,1),o=g(e,4,4),a=0;a<19;++a)d[a]=0;for(a=0;a<o;++a){var p=g(e,3,0);d[c[a]]=p}for(f(u,d,0,19),s=0;s<r+i;){var h=v(e,u);switch(h){case 16:var m=d[s-1];for(l=g(e,2,3);l;--l)d[s++]=m;break;case 17:for(l=g(e,3,3);l;--l)d[s++]=0;break;case 18:for(l=g(e,7,11);l;--l)d[s++]=0;break;default:d[s++]=h}}f(t,d,0,r),f(n,d,r,i)}function A(e,t,n){for(;;){var r,i,c,u,d=v(e,t);if(256===d)return 0;if(d<256)e.dest[e.destLen++]=d;else for(r=g(e,o[d-=257],a[d]),i=v(e,n),u=c=e.destLen-g(e,s[i],l[i]);u<c+r;++u)e.dest[e.destLen++]=e.dest[u]}}function b(e){for(var t,n;e.bitcount>8;)e.sourceIndex--,e.bitcount-=8;if((t=256*(t=e.source[e.sourceIndex+1])+e.source[e.sourceIndex])!==(65535&~(256*e.source[e.sourceIndex+3]+e.source[e.sourceIndex+2])))return-3;for(e.sourceIndex+=4,n=t;n;--n)e.dest[e.destLen++]=e.source[e.sourceIndex++];return e.bitcount=0,0}!function(e,t){var n;for(n=0;n<7;++n)e.table[n]=0;for(e.table[7]=24,e.table[8]=152,e.table[9]=112,n=0;n<24;++n)e.trans[n]=256+n;for(n=0;n<144;++n)e.trans[24+n]=n;for(n=0;n<8;++n)e.trans[168+n]=280+n;for(n=0;n<112;++n)e.trans[176+n]=144+n;for(n=0;n<5;++n)t.table[n]=0;for(t.table[5]=32,n=0;n<32;++n)t.trans[n]=n}(r,i),p(o,a,4,3),p(s,l,2,1),o[28]=0,a[28]=258,e.exports=function(e,t){var o,a,s=new n(e,t);do{switch(o=m(s),g(s,2,0)){case 0:a=b(s);break;case 1:a=A(s,r,i);break;case 2:y(s,s.ltree,s.dtree),a=A(s,s.ltree,s.dtree);break;default:a=-3}if(0!==a)throw new Error("Data error")}while(!o);return s.destLen<s.dest.length?"function"===typeof s.dest.slice?s.dest.slice(0,s.destLen):s.dest.subarray(0,s.destLen):s.dest}},18985:(e,t,n)=>{const r=n(81807),{swap32LE:i}=n(96534);e.exports=class{constructor(e){const t="function"===typeof e.readUInt32BE&&"function"===typeof e.slice;if(t||e instanceof Uint8Array){let n;if(t)this.highStart=e.readUInt32LE(0),this.errorValue=e.readUInt32LE(4),n=e.readUInt32LE(8),e=e.slice(12);else{const t=new DataView(e.buffer);this.highStart=t.getUint32(0,!0),this.errorValue=t.getUint32(4,!0),n=t.getUint32(8,!0),e=e.subarray(12)}e=r(e,new Uint8Array(n)),e=r(e,new Uint8Array(n)),i(e),this.data=new Uint32Array(e.buffer)}else({data:this.data,highStart:this.highStart,errorValue:this.errorValue}=e)}get(e){let t;return e<0||e>1114111?this.errorValue:e<55296||e>56319&&e<=65535?(t=(this.data[e>>5]<<2)+(31&e),this.data[t]):e<=65535?(t=(this.data[2048+(e-55296>>5)]<<2)+(31&e),this.data[t]):e<this.highStart?(t=this.data[2080+(e>>11)],t=this.data[t+(e>>5&63)],t=(t<<2)+(31&e),this.data[t]):this.data[this.data.length-4]}}},96534:e=>{const t=18===new Uint8Array(new Uint32Array([305419896]).buffer)[0],n=(e,t,n)=>{let r=e[t];e[t]=e[n],e[n]=r};e.exports={swap32LE:e=>{t&&(e=>{const t=e.length;for(let r=0;r<t;r+=4)n(e,r,r+3),n(e,r+1,r+2)})(e)}}},44344:e=>{"use strict";e.exports="data:image/png;base64,/9j/4AAQSkZJRgABAgEASABIAAD/2wBDAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQH/2wBDAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQH/wAARCAEdAPoDAREAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwD+/igAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAinnhtoZLi4kSGGFC8kjnaqKvJJJ/QdScAAkgUAeSan8Q75rl10qGCK1RiEkuI2kmmA43ld6pGrdVTazgfefJ2gAzv8AhYHiD1sv/AY//HaAJIviFrqOrSJYyoCN0ZgdNy55AdJQVbGcNhgDyVYcUAer6NrNprdmt3athhhbiBiDLby4yY36ZB5McgAWReRghlUA1qACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKAPNta8fiyvZbPT7SO5Fu7RS3E0jBHlQ7XWFI+SiMCvmM/zkHau3DMAY/8AwsnUf+gdZf8Afc//AMXQBz2u+KtR15I4ZhHbW0Z3G3gL7JZM8PKXYl9o+4vCqctgtyADmaACgAoA1NJ1e80a7S7s3ww+WWJsmKeLOTHKoIyD1UghkbDKQRQB2f8AwsnUf+gdZf8Afc//AMXQBYh+I14ksf23S4hA2C3kvLHLsbo8fm7kfjkA7Q/TeudwAPUra4hu7eG6t3EkNxGksTjjcjqGGQeQcHBB5U5B5FAE9ABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFAHy9df8fNx/wBd5f8A0Y1AEFAD445JpEiiRpJZXWONFGWd3IVVUdyxIAFAHevp2g+FoozrEf8AbGsyIJBp0cm21tQ2CBOwyGJGeXWQPwUg2YmIBUPja5X5YNG0GGEcLF9hcgL6ErNGp/BFHtQBYgvPDXiJha31hFoV/LhYb6x2raNKegmhIREDNx84bcM5uY2INAHK6vpN1o17JZXQG5QHikXPlzwsSEljzzhsEEHlHVkPK0AV7CaG3vrOe5j863huoJZ4sA+ZFHKrSJg8NuUEbW+Vuh4JoA9A8Z+I9F1bTra2sXNzcLcLP5hhli+zRiN1dC0qIWaQsgKJujIXezZSPcAd34T/AORd0r/r3P8A6NkoA6KgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgD5euv8Aj5uP+u8v/oxqAIKAOz8HRxQS6rrUyLIui6fJPEjdDdSrIIfxKxyovIIZ1YHK0Acnc3M15cTXVxIZZ55Gllc9Wdzk4AwFA6KqgKqgKoCgCgCCgAoA7u7lOteDYbyb5rzQrxbR5mO55LScRom45z96S3TcdxJgY9ZGNAHCUAFAH0N4T/5F3Sv+vdv/AEdJQB0VABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFAHy9df8fNx/13l/9GNQBBQB3HhVftWk+KdOTJuJ9PjuYUU/NJ9l84soA5O55IU9Mvg8GgDh6ACgAoA7iyX7L4H1eaTK/wBo6ha29uD/AB+RJDIzDtjCTjIPWMg9OQDh6ACgD6G8J/8AIu6V/wBe7f8Ao6SgDoqACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKACgAoAKAPl66/4+bj/rvL/6MagCCgDU0bVJtG1CC/hG7y22yxZwJoH4liJwcFl5VsHY4V8HbigDpdV8OrqKHWvDQN5ZXLGSaxjA+1WMzfNJF5IJZlDE7Y0yyggRiSIpIQDi3gnjfypIZY5M48t43V89MbGAbOe2KAOi0nwrqOoETXMbabp0Y3z312vkqsQ5YxJLsaUkZw4xCpHzyDgEAXxJq9teG103S1MekaWhitsjBuJTxJdOMKcuclS43sWklfa0zIoBy9ABQB9DeE/+Rd0r/r3b/wBHSUAdFQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQB8xX8UkN9eQyqUkjup0dT1DLKwI/wPQjkcUAVKACgC5ZX97p0vn2NzNbS9C0TlQ4/uyLyki552urLnnGaAOnTx74iVNrT20hxjzHtYg/1xHsjyf8Acx6CgDC1HXdW1bi/vZZowQRCNsUAIJIPkRBIiwzw7KXxxuoAyaACgAoA+ifC0bx+HtJV1Kt9lV8Hg7ZGeRD/AMCRlYexFAG/QAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQBz+p+F9F1ab7Rd2v8ApBADTQyPC8gAAHmbCFkIAADMpcKAobAAoAzP+EC8O/8APG5/8CpKAD/hAvDv/PG5/wDAqSgA/wCEC8O/88bn/wACpKAD/hAvDv8Azxuf/AqSgA/4QLw7/wA8bn/wKkoAP+EC8O/88bn/AMCpKAD/AIQLw7/zxuf/AAKkoAnt/BPh23lWUWbzMhDKs88ske4HILR7gjj1WQOhHVTQB1gGOBwBwAO1ABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFABQAUAFAAP/Z"},50477:()=>{},45249:(e,t,n)=>{e.exports=n(1148)},43929:(e,t,n)=>{n(46742)},23165:(e,t,n)=>{e.exports=n(4758)},69736:(e,t,n)=>{e.exports=n(57879)},75938:(e,t,n)=>{e.exports=n(54845)},48738:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function i(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=a(e,o(n)))}return e}function o(e){if("string"===typeof e||"number"===typeof e)return e;if("object"!==typeof e)return"";if(Array.isArray(e))return i.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)r.call(e,n)&&e[n]&&(t=a(t,n));return t}function a(e,t){return t?e?e+" "+t:e+t:e}e.exports?(i.default=i,e.exports=i):void 0===(n=function(){return i}.apply(t,[]))||(e.exports=n)}()},43145:(e,t,n)=>{"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,{A:()=>r})},96369:(e,t,n)=>{"use strict";function r(e){if(Array.isArray(e))return e}n.d(t,{A:()=>r})},9417:(e,t,n)=>{"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,{A:()=>r})},23029:(e,t,n)=>{"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,{A:()=>r})},92901:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(20816);function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,(0,r.A)(i.key),i)}}function o(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}},64467:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(20816);function i(e,t,n){return(t=(0,r.A)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},58168:(e,t,n)=>{"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(null,arguments)}n.d(t,{A:()=>r})},53954:(e,t,n)=>{"use strict";function r(e){return r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},r(e)}n.d(t,{A:()=>r})},85501:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(63662);function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&(0,r.A)(e,t)}},77387:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(63662);function i(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,(0,r.A)(e,t)}},52176:(e,t,n)=>{"use strict";function r(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(r=function(){return!!e})()}n.d(t,{A:()=>r})},73893:(e,t,n)=>{"use strict";function r(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}n.d(t,{A:()=>r})},76562:(e,t,n)=>{"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,{A:()=>r})},89379:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(64467);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){(0,r.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}},80045:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(98587);function i(e,t){if(null==e)return{};var n,i,o=(0,r.A)(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)n=a[i],t.includes(n)||{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}},98587:(e,t,n)=>{"use strict";function r(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}n.d(t,{A:()=>r})},56822:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(82284),i=n(9417);function o(e,t){if(t&&("object"==(0,r.A)(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return(0,i.A)(e)}},63662:(e,t,n)=>{"use strict";function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}n.d(t,{A:()=>r})},5544:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(96369);var i=n(27800),o=n(76562);function a(e,t){return(0,r.A)(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return s}}(e,t)||(0,i.A)(e,t)||(0,o.A)()}},87695:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(96369),i=n(73893),o=n(27800),a=n(76562);function s(e){return(0,r.A)(e)||(0,i.A)(e)||(0,o.A)(e)||(0,a.A)()}},60436:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(43145);var i=n(73893),o=n(27800);function a(e){return function(e){if(Array.isArray(e))return(0,r.A)(e)}(e)||(0,i.A)(e)||(0,o.A)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},20816:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(82284);function i(e){var t=function(e,t){if("object"!=(0,r.A)(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!=(0,r.A)(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==(0,r.A)(t)?t:t+""}},82284:(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}n.d(t,{A:()=>r})},27800:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(43145);function i(e,t){if(e){if("string"==typeof e)return(0,r.A)(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.A)(e,t):void 0}}},3133:(e,t,n)=>{"use strict";n.d(t,{UE:()=>D,RK:()=>I,ll:()=>S,rD:()=>N,__:()=>k,UU:()=>P,jD:()=>T,mG:()=>j,ER:()=>B,cY:()=>E,iD:()=>C,BN:()=>_,Ej:()=>O});var r=n(1881);function i(e,t,n){let{reference:i,floating:o}=e;const a=(0,r.TV)(t),s=(0,r.Dz)(t),l=(0,r.sq)(s),c=(0,r.C0)(t),u="y"===a,d=i.x+i.width/2-o.width/2,p=i.y+i.height/2-o.height/2,h=i[l]/2-o[l]/2;let f;switch(c){case"top":f={x:d,y:i.y-o.height};break;case"bottom":f={x:d,y:i.y+i.height};break;case"right":f={x:i.x+i.width,y:p};break;case"left":f={x:i.x-o.width,y:p};break;default:f={x:i.x,y:i.y}}switch((0,r.Sg)(t)){case"start":f[s]-=h*(n&&u?-1:1);break;case"end":f[s]+=h*(n&&u?-1:1)}return f}async function o(e,t){var n;void 0===t&&(t={});const{x:i,y:o,platform:a,rects:s,elements:l,strategy:c}=e,{boundary:u="clippingAncestors",rootBoundary:d="viewport",elementContext:p="floating",altBoundary:h=!1,padding:f=0}=(0,r._3)(t,e),m=(0,r.nI)(f),g=l[h?"floating"===p?"reference":"floating":p],v=(0,r.B1)(await a.getClippingRect({element:null==(n=await(null==a.isElement?void 0:a.isElement(g)))||n?g:g.contextElement||await(null==a.getDocumentElement?void 0:a.getDocumentElement(l.floating)),boundary:u,rootBoundary:d,strategy:c})),y="floating"===p?{x:i,y:o,width:s.floating.width,height:s.floating.height}:s.reference,A=await(null==a.getOffsetParent?void 0:a.getOffsetParent(l.floating)),b=await(null==a.isElement?void 0:a.isElement(A))&&await(null==a.getScale?void 0:a.getScale(A))||{x:1,y:1},w=(0,r.B1)(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:y,offsetParent:A,strategy:c}):y);return{top:(v.top-w.top+m.top)/b.y,bottom:(w.bottom-v.bottom+m.bottom)/b.y,left:(v.left-w.left+m.left)/b.x,right:(w.right-v.right+m.right)/b.x}}function a(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function s(e){return r.r_.some((t=>e[t]>=0))}function l(e){const t=(0,r.jk)(...e.map((e=>e.left))),n=(0,r.jk)(...e.map((e=>e.top)));return{x:t,y:n,width:(0,r.T9)(...e.map((e=>e.right)))-t,height:(0,r.T9)(...e.map((e=>e.bottom)))-n}}var c=n(97339);function u(e){const t=(0,c.L9)(e);let n=parseFloat(t.width)||0,i=parseFloat(t.height)||0;const o=(0,c.sb)(e),a=o?e.offsetWidth:n,s=o?e.offsetHeight:i,l=(0,r.LI)(n)!==a||(0,r.LI)(i)!==s;return l&&(n=a,i=s),{width:n,height:i,$:l}}function d(e){return(0,c.vq)(e)?e:e.contextElement}function p(e){const t=d(e);if(!(0,c.sb)(t))return(0,r.Jx)(1);const n=t.getBoundingClientRect(),{width:i,height:o,$:a}=u(t);let s=(a?(0,r.LI)(n.width):n.width)/i,l=(a?(0,r.LI)(n.height):n.height)/o;return s&&Number.isFinite(s)||(s=1),l&&Number.isFinite(l)||(l=1),{x:s,y:l}}const h=(0,r.Jx)(0);function f(e){const t=(0,c.zk)(e);return(0,c.Tc)()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:h}function m(e,t,n,i){void 0===t&&(t=!1),void 0===n&&(n=!1);const o=e.getBoundingClientRect(),a=d(e);let s=(0,r.Jx)(1);t&&(i?(0,c.vq)(i)&&(s=p(i)):s=p(e));const l=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==(0,c.zk)(e))&&t}(a,n,i)?f(a):(0,r.Jx)(0);let u=(o.left+l.x)/s.x,h=(o.top+l.y)/s.y,m=o.width/s.x,g=o.height/s.y;if(a){const e=(0,c.zk)(a),t=i&&(0,c.vq)(i)?(0,c.zk)(i):i;let n=e,r=(0,c._m)(n);for(;r&&i&&t!==n;){const e=p(r),t=r.getBoundingClientRect(),i=(0,c.L9)(r),o=t.left+(r.clientLeft+parseFloat(i.paddingLeft))*e.x,a=t.top+(r.clientTop+parseFloat(i.paddingTop))*e.y;u*=e.x,h*=e.y,m*=e.x,g*=e.y,u+=o,h+=a,n=(0,c.zk)(r),r=(0,c._m)(n)}}return(0,r.B1)({width:m,height:g,x:u,y:h})}function g(e,t){const n=(0,c.CP)(e).scrollLeft;return t?t.left+n:m((0,c.ep)(e)).left+n}function v(e,t,n){let i;if("viewport"===t)i=function(e,t){const n=(0,c.zk)(e),r=(0,c.ep)(e),i=n.visualViewport;let o=r.clientWidth,a=r.clientHeight,s=0,l=0;if(i){o=i.width,a=i.height;const e=(0,c.Tc)();(!e||e&&"fixed"===t)&&(s=i.offsetLeft,l=i.offsetTop)}return{width:o,height:a,x:s,y:l}}(e,n);else if("document"===t)i=function(e){const t=(0,c.ep)(e),n=(0,c.CP)(e),i=e.ownerDocument.body,o=(0,r.T9)(t.scrollWidth,t.clientWidth,i.scrollWidth,i.clientWidth),a=(0,r.T9)(t.scrollHeight,t.clientHeight,i.scrollHeight,i.clientHeight);let s=-n.scrollLeft+g(e);const l=-n.scrollTop;return"rtl"===(0,c.L9)(i).direction&&(s+=(0,r.T9)(t.clientWidth,i.clientWidth)-o),{width:o,height:a,x:s,y:l}}((0,c.ep)(e));else if((0,c.vq)(t))i=function(e,t){const n=m(e,!0,"fixed"===t),i=n.top+e.clientTop,o=n.left+e.clientLeft,a=(0,c.sb)(e)?p(e):(0,r.Jx)(1);return{width:e.clientWidth*a.x,height:e.clientHeight*a.y,x:o*a.x,y:i*a.y}}(t,n);else{const n=f(e);i={...t,x:t.x-n.x,y:t.y-n.y}}return(0,r.B1)(i)}function y(e,t){const n=(0,c.$4)(e);return!(n===t||!(0,c.vq)(n)||(0,c.eu)(n))&&("fixed"===(0,c.L9)(n).position||y(n,t))}function A(e,t,n){const i=(0,c.sb)(t),o=(0,c.ep)(t),a="fixed"===n,s=m(e,!0,a,t);let l={scrollLeft:0,scrollTop:0};const u=(0,r.Jx)(0);if(i||!i&&!a)if(("body"!==(0,c.mq)(t)||(0,c.ZU)(o))&&(l=(0,c.CP)(t)),i){const e=m(t,!0,a,t);u.x=e.x+t.clientLeft,u.y=e.y+t.clientTop}else o&&(u.x=g(o));let d=0,p=0;if(o&&!i&&!a){const e=o.getBoundingClientRect();p=e.top+l.scrollTop,d=e.left+l.scrollLeft-g(o,e)}return{x:s.left+l.scrollLeft-u.x-d,y:s.top+l.scrollTop-u.y-p,width:s.width,height:s.height}}function b(e){return"static"===(0,c.L9)(e).position}function w(e,t){if(!(0,c.sb)(e)||"fixed"===(0,c.L9)(e).position)return null;if(t)return t(e);let n=e.offsetParent;return(0,c.ep)(e)===n&&(n=n.ownerDocument.body),n}function x(e,t){const n=(0,c.zk)(e);if((0,c.Tf)(e))return n;if(!(0,c.sb)(e)){let t=(0,c.$4)(e);for(;t&&!(0,c.eu)(t);){if((0,c.vq)(t)&&!b(t))return t;t=(0,c.$4)(t)}return n}let r=w(e,t);for(;r&&(0,c.Lv)(r)&&b(r);)r=w(r,t);return r&&(0,c.eu)(r)&&b(r)&&!(0,c.sQ)(r)?n:r||(0,c.gJ)(e)||n}const C={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:i,strategy:o}=e;const a="fixed"===o,s=(0,c.ep)(i),l=!!t&&(0,c.Tf)(t.floating);if(i===s||l&&a)return n;let u={scrollLeft:0,scrollTop:0},d=(0,r.Jx)(1);const h=(0,r.Jx)(0),f=(0,c.sb)(i);if((f||!f&&!a)&&(("body"!==(0,c.mq)(i)||(0,c.ZU)(s))&&(u=(0,c.CP)(i)),(0,c.sb)(i))){const e=m(i);d=p(i),h.x=e.x+i.clientLeft,h.y=e.y+i.clientTop}return{width:n.width*d.x,height:n.height*d.y,x:n.x*d.x-u.scrollLeft*d.x+h.x,y:n.y*d.y-u.scrollTop*d.y+h.y}},getDocumentElement:c.ep,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:i,strategy:o}=e;const a=[..."clippingAncestors"===n?(0,c.Tf)(t)?[]:function(e,t){const n=t.get(e);if(n)return n;let r=(0,c.v9)(e,[],!1).filter((e=>(0,c.vq)(e)&&"body"!==(0,c.mq)(e))),i=null;const o="fixed"===(0,c.L9)(e).position;let a=o?(0,c.$4)(e):e;for(;(0,c.vq)(a)&&!(0,c.eu)(a);){const t=(0,c.L9)(a),n=(0,c.sQ)(a);n||"fixed"!==t.position||(i=null),(o?!n&&!i:!n&&"static"===t.position&&i&&["absolute","fixed"].includes(i.position)||(0,c.ZU)(a)&&!n&&y(e,a))?r=r.filter((e=>e!==a)):i=t,a=(0,c.$4)(a)}return t.set(e,r),r}(t,this._c):[].concat(n),i],s=a[0],l=a.reduce(((e,n)=>{const i=v(t,n,o);return e.top=(0,r.T9)(i.top,e.top),e.right=(0,r.jk)(i.right,e.right),e.bottom=(0,r.jk)(i.bottom,e.bottom),e.left=(0,r.T9)(i.left,e.left),e}),v(t,s,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:x,getElementRects:async function(e){const t=this.getOffsetParent||x,n=this.getDimensions,r=await n(e.floating);return{reference:A(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:n}=u(e);return{width:t,height:n}},getScale:p,isElement:c.vq,isRTL:function(e){return"rtl"===(0,c.L9)(e).direction}};function S(e,t,n,i){void 0===i&&(i={});const{ancestorScroll:o=!0,ancestorResize:a=!0,elementResize:s="function"===typeof ResizeObserver,layoutShift:l="function"===typeof IntersectionObserver,animationFrame:u=!1}=i,p=d(e),h=o||a?[...p?(0,c.v9)(p):[],...(0,c.v9)(t)]:[];h.forEach((e=>{o&&e.addEventListener("scroll",n,{passive:!0}),a&&e.addEventListener("resize",n)}));const f=p&&l?function(e,t){let n,i=null;const o=(0,c.ep)(e);function a(){var e;clearTimeout(n),null==(e=i)||e.disconnect(),i=null}return function s(l,c){void 0===l&&(l=!1),void 0===c&&(c=1),a();const{left:u,top:d,width:p,height:h}=e.getBoundingClientRect();if(l||t(),!p||!h)return;const f={rootMargin:-(0,r.RI)(d)+"px "+-(0,r.RI)(o.clientWidth-(u+p))+"px "+-(0,r.RI)(o.clientHeight-(d+h))+"px "+-(0,r.RI)(u)+"px",threshold:(0,r.T9)(0,(0,r.jk)(1,c))||1};let m=!0;function g(e){const t=e[0].intersectionRatio;if(t!==c){if(!m)return s();t?s(!1,t):n=setTimeout((()=>{s(!1,1e-7)}),1e3)}m=!1}try{i=new IntersectionObserver(g,{...f,root:o.ownerDocument})}catch(v){i=new IntersectionObserver(g,f)}i.observe(e)}(!0),a}(p,n):null;let g,v=-1,y=null;s&&(y=new ResizeObserver((e=>{let[r]=e;r&&r.target===p&&y&&(y.unobserve(t),cancelAnimationFrame(v),v=requestAnimationFrame((()=>{var e;null==(e=y)||e.observe(t)}))),n()})),p&&!u&&y.observe(p),y.observe(t));let A=u?m(e):null;return u&&function t(){const r=m(e);!A||r.x===A.x&&r.y===A.y&&r.width===A.width&&r.height===A.height||n();A=r,g=requestAnimationFrame(t)}(),n(),()=>{var e;h.forEach((e=>{o&&e.removeEventListener("scroll",n),a&&e.removeEventListener("resize",n)})),null==f||f(),null==(e=y)||e.disconnect(),y=null,u&&cancelAnimationFrame(g)}}const k=o,E=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,i;const{x:o,y:a,placement:s,middlewareData:l}=t,c=await async function(e,t){const{placement:n,platform:i,elements:o}=e,a=await(null==i.isRTL?void 0:i.isRTL(o.floating)),s=(0,r.C0)(n),l=(0,r.Sg)(n),c="y"===(0,r.TV)(n),u=["left","top"].includes(s)?-1:1,d=a&&c?-1:1,p=(0,r._3)(t,e);let{mainAxis:h,crossAxis:f,alignmentAxis:m}="number"===typeof p?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:p.mainAxis||0,crossAxis:p.crossAxis||0,alignmentAxis:p.alignmentAxis};return l&&"number"===typeof m&&(f="end"===l?-1*m:m),c?{x:f*d,y:h*u}:{x:h*u,y:f*d}}(t,e);return s===(null==(n=l.offset)?void 0:n.placement)&&null!=(i=l.arrow)&&i.alignmentOffset?{}:{x:o+c.x,y:a+c.y,data:{...c,placement:s}}}}},I=function(e){return void 0===e&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,i,a;const{rects:s,middlewareData:l,placement:c,platform:u,elements:d}=t,{crossAxis:p=!1,alignment:h,allowedPlacements:f=r.DD,autoAlignment:m=!0,...g}=(0,r._3)(e,t),v=void 0!==h||f===r.DD?function(e,t,n){return(e?[...n.filter((t=>(0,r.Sg)(t)===e)),...n.filter((t=>(0,r.Sg)(t)!==e))]:n.filter((e=>(0,r.C0)(e)===e))).filter((n=>!e||(0,r.Sg)(n)===e||!!t&&(0,r.aD)(n)!==n))}(h||null,m,f):f,y=await o(t,g),A=(null==(n=l.autoPlacement)?void 0:n.index)||0,b=v[A];if(null==b)return{};const w=(0,r.w7)(b,s,await(null==u.isRTL?void 0:u.isRTL(d.floating)));if(c!==b)return{reset:{placement:v[0]}};const x=[y[(0,r.C0)(b)],y[w[0]],y[w[1]]],C=[...(null==(i=l.autoPlacement)?void 0:i.overflows)||[],{placement:b,overflows:x}],S=v[A+1];if(S)return{data:{index:A+1,overflows:C},reset:{placement:S}};const k=C.map((e=>{const t=(0,r.Sg)(e.placement);return[e.placement,t&&p?e.overflows.slice(0,2).reduce(((e,t)=>e+t),0):e.overflows[0],e.overflows]})).sort(((e,t)=>e[1]-t[1])),E=(null==(a=k.filter((e=>e[2].slice(0,(0,r.Sg)(e[0])?2:3).every((e=>e<=0))))[0])?void 0:a[0])||k[0][0];return E!==c?{data:{index:A+1,overflows:C},reset:{placement:E}}:{}}}},_=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:i,placement:a}=t,{mainAxis:s=!0,crossAxis:l=!1,limiter:c={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...u}=(0,r._3)(e,t),d={x:n,y:i},p=await o(t,u),h=(0,r.TV)((0,r.C0)(a)),f=(0,r.PG)(h);let m=d[f],g=d[h];if(s){const e="y"===f?"bottom":"right",t=m+p["y"===f?"top":"left"],n=m-p[e];m=(0,r.qE)(t,m,n)}if(l){const e="y"===h?"bottom":"right",t=g+p["y"===h?"top":"left"],n=g-p[e];g=(0,r.qE)(t,g,n)}const v=c.fn({...t,[f]:m,[h]:g});return{...v,data:{x:v.x-n,y:v.y-i,enabled:{[f]:s,[h]:l}}}}}},P=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,i;const{placement:a,middlewareData:s,rects:l,initialPlacement:c,platform:u,elements:d}=t,{mainAxis:p=!0,crossAxis:h=!0,fallbackPlacements:f,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:v=!0,...y}=(0,r._3)(e,t);if(null!=(n=s.arrow)&&n.alignmentOffset)return{};const A=(0,r.C0)(a),b=(0,r.TV)(c),w=(0,r.C0)(c)===c,x=await(null==u.isRTL?void 0:u.isRTL(d.floating)),C=f||(w||!v?[(0,r.bV)(c)]:(0,r.WJ)(c)),S="none"!==g;!f&&S&&C.push(...(0,r.lP)(c,v,g,x));const k=[c,...C],E=await o(t,y),I=[];let _=(null==(i=s.flip)?void 0:i.overflows)||[];if(p&&I.push(E[A]),h){const e=(0,r.w7)(a,l,x);I.push(E[e[0]],E[e[1]])}if(_=[..._,{placement:a,overflows:I}],!I.every((e=>e<=0))){var P,O;const e=((null==(P=s.flip)?void 0:P.index)||0)+1,t=k[e];if(t)return{data:{index:e,overflows:_},reset:{placement:t}};let n=null==(O=_.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:O.placement;if(!n)switch(m){case"bestFit":{var T;const e=null==(T=_.filter((e=>{if(S){const t=(0,r.TV)(e.placement);return t===b||"y"===t}return!0})).map((e=>[e.placement,e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)])).sort(((e,t)=>e[1]-t[1]))[0])?void 0:T[0];e&&(n=e);break}case"initialPlacement":n=c}if(a!==n)return{reset:{placement:n}}}return{}}}},O=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var n,i;const{placement:a,rects:s,platform:l,elements:c}=t,{apply:u=()=>{},...d}=(0,r._3)(e,t),p=await o(t,d),h=(0,r.C0)(a),f=(0,r.Sg)(a),m="y"===(0,r.TV)(a),{width:g,height:v}=s.floating;let y,A;"top"===h||"bottom"===h?(y=h,A=f===(await(null==l.isRTL?void 0:l.isRTL(c.floating))?"start":"end")?"left":"right"):(A=h,y="end"===f?"top":"bottom");const b=v-p.top-p.bottom,w=g-p.left-p.right,x=(0,r.jk)(v-p[y],b),C=(0,r.jk)(g-p[A],w),S=!t.middlewareData.shift;let k=x,E=C;if(null!=(n=t.middlewareData.shift)&&n.enabled.x&&(E=w),null!=(i=t.middlewareData.shift)&&i.enabled.y&&(k=b),S&&!f){const e=(0,r.T9)(p.left,0),t=(0,r.T9)(p.right,0),n=(0,r.T9)(p.top,0),i=(0,r.T9)(p.bottom,0);m?E=g-2*(0!==e||0!==t?e+t:(0,r.T9)(p.left,p.right)):k=v-2*(0!==n||0!==i?n+i:(0,r.T9)(p.top,p.bottom))}await u({...t,availableWidth:E,availableHeight:k});const I=await l.getDimensions(c.floating);return g!==I.width||v!==I.height?{reset:{rects:!0}}:{}}}},T=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:i="referenceHidden",...l}=(0,r._3)(e,t);switch(i){case"referenceHidden":{const e=a(await o(t,{...l,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:s(e)}}}case"escaped":{const e=a(await o(t,{...l,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:s(e)}}}default:return{}}}}},D=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:i,placement:o,rects:a,platform:s,elements:l,middlewareData:c}=t,{element:u,padding:d=0}=(0,r._3)(e,t)||{};if(null==u)return{};const p=(0,r.nI)(d),h={x:n,y:i},f=(0,r.Dz)(o),m=(0,r.sq)(f),g=await s.getDimensions(u),v="y"===f,y=v?"top":"left",A=v?"bottom":"right",b=v?"clientHeight":"clientWidth",w=a.reference[m]+a.reference[f]-h[f]-a.floating[m],x=h[f]-a.reference[f],C=await(null==s.getOffsetParent?void 0:s.getOffsetParent(u));let S=C?C[b]:0;S&&await(null==s.isElement?void 0:s.isElement(C))||(S=l.floating[b]||a.floating[m]);const k=w/2-x/2,E=S/2-g[m]/2-1,I=(0,r.jk)(p[y],E),_=(0,r.jk)(p[A],E),P=I,O=S-g[m]-_,T=S/2-g[m]/2+k,D=(0,r.qE)(P,T,O),j=!c.arrow&&null!=(0,r.Sg)(o)&&T!==D&&a.reference[m]/2-(T<P?I:_)-g[m]/2<0,B=j?T<P?T-P:T-O:0;return{[f]:h[f]+B,data:{[f]:D,centerOffset:T-D-B,...j&&{alignmentOffset:B}},reset:j}}}),j=function(e){return void 0===e&&(e={}),{name:"inline",options:e,async fn(t){const{placement:n,elements:i,rects:o,platform:a,strategy:s}=t,{padding:c=2,x:u,y:d}=(0,r._3)(e,t),p=Array.from(await(null==a.getClientRects?void 0:a.getClientRects(i.reference))||[]),h=function(e){const t=e.slice().sort(((e,t)=>e.y-t.y)),n=[];let i=null;for(let r=0;r<t.length;r++){const e=t[r];!i||e.y-i.y>i.height/2?n.push([e]):n[n.length-1].push(e),i=e}return n.map((e=>(0,r.B1)(l(e))))}(p),f=(0,r.B1)(l(p)),m=(0,r.nI)(c);const g=await a.getElementRects({reference:{getBoundingClientRect:function(){if(2===h.length&&h[0].left>h[1].right&&null!=u&&null!=d)return h.find((e=>u>e.left-m.left&&u<e.right+m.right&&d>e.top-m.top&&d<e.bottom+m.bottom))||f;if(h.length>=2){if("y"===(0,r.TV)(n)){const e=h[0],t=h[h.length-1],i="top"===(0,r.C0)(n),o=e.top,a=t.bottom,s=i?e.left:t.left,l=i?e.right:t.right;return{top:o,bottom:a,left:s,right:l,width:l-s,height:a-o,x:s,y:o}}const e="left"===(0,r.C0)(n),t=(0,r.T9)(...h.map((e=>e.right))),i=(0,r.jk)(...h.map((e=>e.left))),o=h.filter((n=>e?n.left===i:n.right===t)),a=o[0].top,s=o[o.length-1].bottom;return{top:a,bottom:s,left:i,right:t,width:t-i,height:s-a,x:i,y:a}}return f}},floating:i.floating,strategy:s});return o.reference.x!==g.reference.x||o.reference.y!==g.reference.y||o.reference.width!==g.reference.width||o.reference.height!==g.reference.height?{reset:{rects:g}}:{}}}},B=function(e){return void 0===e&&(e={}),{options:e,fn(t){const{x:n,y:i,placement:o,rects:a,middlewareData:s}=t,{offset:l=0,mainAxis:c=!0,crossAxis:u=!0}=(0,r._3)(e,t),d={x:n,y:i},p=(0,r.TV)(o),h=(0,r.PG)(p);let f=d[h],m=d[p];const g=(0,r._3)(l,t),v="number"===typeof g?{mainAxis:g,crossAxis:0}:{mainAxis:0,crossAxis:0,...g};if(c){const e="y"===h?"height":"width",t=a.reference[h]-a.floating[e]+v.mainAxis,n=a.reference[h]+a.reference[e]-v.mainAxis;f<t?f=t:f>n&&(f=n)}if(u){var y,A;const e="y"===h?"width":"height",t=["top","left"].includes((0,r.C0)(o)),n=a.reference[p]-a.floating[e]+(t&&(null==(y=s.offset)?void 0:y[p])||0)+(t?0:v.crossAxis),i=a.reference[p]+a.reference[e]+(t?0:(null==(A=s.offset)?void 0:A[p])||0)-(t?v.crossAxis:0);m<n?m=n:m>i&&(m=i)}return{[h]:f,[p]:m}}}},N=(e,t,n)=>{const r=new Map,o={platform:C,...n},a={...o.platform,_c:r};return(async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:a=[],platform:s}=n,l=a.filter(Boolean),c=await(null==s.isRTL?void 0:s.isRTL(t));let u=await s.getElementRects({reference:e,floating:t,strategy:o}),{x:d,y:p}=i(u,r,c),h=r,f={},m=0;for(let g=0;g<l.length;g++){const{name:n,fn:a}=l[g],{x:v,y:y,data:A,reset:b}=await a({x:d,y:p,initialPlacement:r,placement:h,strategy:o,middlewareData:f,rects:u,platform:s,elements:{reference:e,floating:t}});d=null!=v?v:d,p=null!=y?y:p,f={...f,[n]:{...f[n],...A}},b&&m<=50&&(m++,"object"===typeof b&&(b.placement&&(h=b.placement),b.rects&&(u=!0===b.rects?await s.getElementRects({reference:e,floating:t,strategy:o}):b.rects),({x:d,y:p}=i(u,h,c))),g=-1)}return{x:d,y:p,placement:h,strategy:o,middlewareData:f}})(e,t,{...o,platform:a})}},97339:(e,t,n)=>{"use strict";function r(){return"undefined"!==typeof window}function i(e){return s(e)?(e.nodeName||"").toLowerCase():"#document"}function o(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function a(e){var t;return null==(t=(s(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function s(e){return!!r()&&(e instanceof Node||e instanceof o(e).Node)}function l(e){return!!r()&&(e instanceof Element||e instanceof o(e).Element)}function c(e){return!!r()&&(e instanceof HTMLElement||e instanceof o(e).HTMLElement)}function u(e){return!(!r()||"undefined"===typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof o(e).ShadowRoot)}function d(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=y(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(i)}function p(e){return["table","td","th"].includes(i(e))}function h(e){return[":popover-open",":modal"].some((t=>{try{return e.matches(t)}catch(n){return!1}}))}function f(e){const t=g(),n=l(e)?y(e):e;return"none"!==n.transform||"none"!==n.perspective||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","perspective","filter"].some((e=>(n.willChange||"").includes(e)))||["paint","layout","strict","content"].some((e=>(n.contain||"").includes(e)))}function m(e){let t=b(e);for(;c(t)&&!v(t);){if(f(t))return t;if(h(t))return null;t=b(t)}return null}function g(){return!("undefined"===typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function v(e){return["html","body","#document"].includes(i(e))}function y(e){return o(e).getComputedStyle(e)}function A(e){return l(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function b(e){if("html"===i(e))return e;const t=e.assignedSlot||e.parentNode||u(e)&&e.host||a(e);return u(t)?t.host:t}function w(e){const t=b(e);return v(t)?e.ownerDocument?e.ownerDocument.body:e.body:c(t)&&d(t)?t:w(t)}function x(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const i=w(e),a=i===(null==(r=e.ownerDocument)?void 0:r.body),s=o(i);if(a){const e=C(s);return t.concat(s,s.visualViewport||[],d(i)?i:[],e&&n?x(e):[])}return t.concat(i,x(i,[],n))}function C(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}n.d(t,{$4:()=>b,CP:()=>A,L9:()=>y,Lv:()=>p,Ng:()=>u,Tc:()=>g,Tf:()=>h,ZU:()=>d,_m:()=>C,ep:()=>a,eu:()=>v,gJ:()=>m,mq:()=>i,sQ:()=>f,sb:()=>c,v9:()=>x,vq:()=>l,zk:()=>o})},1881:(e,t,n)=>{"use strict";n.d(t,{B1:()=>I,C0:()=>m,DD:()=>o,Dz:()=>b,Jx:()=>u,LI:()=>l,PG:()=>v,RI:()=>c,Sg:()=>g,T9:()=>s,TV:()=>A,WJ:()=>x,_3:()=>f,aD:()=>C,bV:()=>k,jk:()=>a,lP:()=>S,nI:()=>E,qE:()=>h,r_:()=>r,sq:()=>y,w7:()=>w});const r=["top","right","bottom","left"],i=["start","end"],o=r.reduce(((e,t)=>e.concat(t,t+"-"+i[0],t+"-"+i[1])),[]),a=Math.min,s=Math.max,l=Math.round,c=Math.floor,u=e=>({x:e,y:e}),d={left:"right",right:"left",bottom:"top",top:"bottom"},p={start:"end",end:"start"};function h(e,t,n){return s(e,a(t,n))}function f(e,t){return"function"===typeof e?e(t):e}function m(e){return e.split("-")[0]}function g(e){return e.split("-")[1]}function v(e){return"x"===e?"y":"x"}function y(e){return"y"===e?"height":"width"}function A(e){return["top","bottom"].includes(m(e))?"y":"x"}function b(e){return v(A(e))}function w(e,t,n){void 0===n&&(n=!1);const r=g(e),i=b(e),o=y(i);let a="x"===i?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[o]>t.floating[o]&&(a=k(a)),[a,k(a)]}function x(e){const t=k(e);return[C(e),t,C(t)]}function C(e){return e.replace(/start|end/g,(e=>p[e]))}function S(e,t,n,r){const i=g(e);let o=function(e,t,n){const r=["left","right"],i=["right","left"],o=["top","bottom"],a=["bottom","top"];switch(e){case"top":case"bottom":return n?t?i:r:t?r:i;case"left":case"right":return t?o:a;default:return[]}}(m(e),"start"===n,r);return i&&(o=o.map((e=>e+"-"+i)),t&&(o=o.concat(o.map(C)))),o}function k(e){return e.replace(/left|right|bottom|top/g,(e=>d[e]))}function E(e){return"number"!==typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function I(e){const{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}},72608:(e,t,n)=>{"use strict";n.d(t,{$sC:()=>ne,A4h:()=>ye,AdY:()=>K,BEE:()=>o,CCK:()=>u,CQO:()=>we,CeG:()=>J,Cyq:()=>I,DO5:()=>x,EZy:()=>ae,G7W:()=>A,GF6:()=>Oe,GRI:()=>_e,GrJ:()=>fe,Hzw:()=>r,IMq:()=>Re,ITF:()=>d,Iae:()=>U,Ju_:()=>M,K$j:()=>p,K3L:()=>ce,LJS:()=>O,LX6:()=>c,MjD:()=>Ce,N$P:()=>Ue,O26:()=>S,OM7:()=>j,O_q:()=>Z,P7h:()=>R,QLR:()=>ke,QsD:()=>w,RUA:()=>de,T3b:()=>be,T8I:()=>T,THi:()=>b,Uj9:()=>E,Wns:()=>B,WxX:()=>s,XYS:()=>me,YEm:()=>l,Zsp:()=>Q,_2z:()=>$,a$:()=>le,bE_:()=>se,bxP:()=>Qe,cbP:()=>he,dmS:()=>F,e68:()=>Le,f9x:()=>v,fny:()=>L,gKm:()=>ve,gqO:()=>Se,hiR:()=>k,hpd:()=>q,iOf:()=>_,iW_:()=>ie,k02:()=>X,l6G:()=>i,m8z:()=>Ve,mRM:()=>N,o1d:()=>Ne,omj:()=>De,pS3:()=>G,pqb:()=>pe,qIE:()=>D,qcK:()=>z,qj_:()=>f,rCU:()=>Be,raf:()=>oe,swh:()=>H,tdl:()=>ge,vmR:()=>m,vmT:()=>Me,wj_:()=>Pe,wq_:()=>ue,x4K:()=>P,xdS:()=>V,yLS:()=>W,yYc:()=>Ie,y_8:()=>ee,zpE:()=>ze});const r={prefix:"fal",iconName:"at",icon:[512,512,[61946],"40","M256 32C132.3 32 32 132.3 32 256s100.3 224 224 224c8.8 0 16 7.2 16 16s-7.2 16-16 16C114.6 512 0 397.4 0 256S114.6 0 256 0S512 114.6 512 256l0 24c0 48.6-39.4 88-88 88c-33.4 0-62.5-18.7-77.4-46.1c-20.4 28-53.4 46.1-90.6 46.1c-61.9 0-112-50.1-112-112s50.1-112 112-112c31.3 0 59.7 12.9 80 33.6l0-1.6c0-8.8 7.2-16 16-16s16 7.2 16 16l0 80 0 24c0 30.9 25.1 56 56 56s56-25.1 56-56l0-24C480 132.3 379.7 32 256 32zm80 224a80 80 0 1 0 -160 0 80 80 0 1 0 160 0z"]},i={prefix:"fal",iconName:"calendar-days",icon:[448,512,["calendar-alt"],"f073","M112 0c8.8 0 16 7.2 16 16l0 48 192 0 0-48c0-8.8 7.2-16 16-16s16 7.2 16 16l0 48 32 0c35.3 0 64 28.7 64 64l0 32 0 32 0 256c0 35.3-28.7 64-64 64L64 512c-35.3 0-64-28.7-64-64L0 192l0-32 0-32C0 92.7 28.7 64 64 64l32 0 0-48c0-8.8 7.2-16 16-16zM416 192l-104 0 0 72 104 0 0-72zm0 104l-104 0 0 80 104 0 0-80zm0 112l-104 0 0 72 72 0c17.7 0 32-14.3 32-32l0-40zM280 376l0-80-112 0 0 80 112 0zM168 408l0 72 112 0 0-72-112 0zm-32-32l0-80L32 296l0 80 104 0zM32 408l0 40c0 17.7 14.3 32 32 32l72 0 0-72L32 408zm0-144l104 0 0-72L32 192l0 72zm136 0l112 0 0-72-112 0 0 72zM384 96L64 96c-17.7 0-32 14.3-32 32l0 32 384 0 0-32c0-17.7-14.3-32-32-32z"]},o=i,a={prefix:"fal",iconName:"angles-down",icon:[448,512,["angle-double-down"],"f103","M235.3 459.3c-6.2 6.2-16.4 6.2-22.6 0l-160-160c-6.2-6.2-6.2-16.4 0-22.6s16.4-6.2 22.6 0L224 425.4 372.7 276.7c6.2-6.2 16.4-6.2 22.6 0s6.2 16.4 0 22.6l-160 160zm160-352l-160 160c-6.2 6.2-16.4 6.2-22.6 0l-160-160c-6.2-6.2-6.2-16.4 0-22.6s16.4-6.2 22.6 0L224 233.4 372.7 84.7c6.2-6.2 16.4-6.2 22.6 0s6.2 16.4 0 22.6z"]},s=a,l={prefix:"fal",iconName:"clipboard-list",icon:[384,512,[],"f46d","M145.5 68c5.3-20.7 24.1-36 46.5-36s41.2 15.3 46.5 36c1.8 7.1 8.2 12 15.5 12l18 0c8.8 0 16 7.2 16 16l0 32-96 0-96 0 0-32c0-8.8 7.2-16 16-16l18 0c7.3 0 13.7-4.9 15.5-12zM192 0c-32.8 0-61 19.8-73.3 48L112 48C91.1 48 73.3 61.4 66.7 80L64 80C28.7 80 0 108.7 0 144L0 448c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-304c0-35.3-28.7-64-64-64l-2.7 0c-6.6-18.6-24.4-32-45.3-32l-6.7 0C253 19.8 224.8 0 192 0zM320 112c17.7 0 32 14.3 32 32l0 304c0 17.7-14.3 32-32 32L64 480c-17.7 0-32-14.3-32-32l0-304c0-17.7 14.3-32 32-32l0 16c0 17.7 14.3 32 32 32l96 0 96 0c17.7 0 32-14.3 32-32l0-16zM208 80a16 16 0 1 0 -32 0 16 16 0 1 0 32 0zM136 272a24 24 0 1 0 -48 0 24 24 0 1 0 48 0zm40-16c-8.8 0-16 7.2-16 16s7.2 16 16 16l96 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-96 0zm0 96c-8.8 0-16 7.2-16 16s7.2 16 16 16l96 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-96 0zm-64 40a24 24 0 1 0 0-48 24 24 0 1 0 0 48z"]},c={prefix:"fal",iconName:"box-archive",icon:[512,512,["archive"],"f187","M480 64L32 64l0 64 32 0 384 0 32 0 0-64zm0 96l-32 0L64 160l-32 0c-17.7 0-32-14.3-32-32L0 64C0 46.3 14.3 32 32 32l448 0c17.7 0 32 14.3 32 32l0 64c0 17.7-14.3 32-32 32zM160 240c0-8.8 7.2-16 16-16l160 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-160 0c-8.8 0-16-7.2-16-16zm288-48l32 0 0 224c0 35.3-28.7 64-64 64L96 480c-35.3 0-64-28.7-64-64l0-224 32 0 0 224c0 17.7 14.3 32 32 32l320 0c17.7 0 32-14.3 32-32l0-224z"]},u={prefix:"fal",iconName:"hyphen",icon:[320,512,[],"2d","M0 256c0-8.8 7.2-16 16-16l288 0c8.8 0 16 7.2 16 16s-7.2 16-16 16L16 272c-8.8 0-16-7.2-16-16z"]},d={prefix:"fal",iconName:"list",icon:[512,512,["list-squares"],"f03a","M48 112l0-32 32 0 0 32-32 0zM16 72l0 48c0 13.3 10.7 24 24 24l48 0c13.3 0 24-10.7 24-24l0-48c0-13.3-10.7-24-24-24L40 48C26.7 48 16 58.7 16 72zm160 8c-8.8 0-16 7.2-16 16s7.2 16 16 16l320 0c8.8 0 16-7.2 16-16s-7.2-16-16-16L176 80zm0 160c-8.8 0-16 7.2-16 16s7.2 16 16 16l320 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-320 0zm0 160c-8.8 0-16 7.2-16 16s7.2 16 16 16l320 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-320 0zM48 240l32 0 0 32-32 0 0-32zm-8-32c-13.3 0-24 10.7-24 24l0 48c0 13.3 10.7 24 24 24l48 0c13.3 0 24-10.7 24-24l0-48c0-13.3-10.7-24-24-24l-48 0zm8 224l0-32 32 0 0 32-32 0zM16 392l0 48c0 13.3 10.7 24 24 24l48 0c13.3 0 24-10.7 24-24l0-48c0-13.3-10.7-24-24-24l-48 0c-13.3 0-24 10.7-24 24z"]},p={prefix:"fal",iconName:"cart-plus",icon:[576,512,[],"f217","M16 0C7.2 0 0 7.2 0 16s7.2 16 16 16l37.9 0c7.6 0 14.2 5.3 15.7 12.8l58.9 288c6.1 29.8 32.3 51.2 62.7 51.2L496 384c8.8 0 16-7.2 16-16s-7.2-16-16-16l-304.8 0c-15.2 0-28.3-10.7-31.4-25.6L152 288l314.6 0c29.4 0 55-20 62.1-48.5L575.5 51.9c2.1-8.6-3.1-17.3-11.6-19.4s-17.3 3.1-19.4 11.6L497.6 231.8C494 246 481.2 256 466.5 256l-321.1 0L100.9 38.4C96.3 16 76.7 0 53.9 0L16 0zM168 456a24 24 0 1 1 48 0 24 24 0 1 1 -48 0zm80 0a56 56 0 1 0 -112 0 56 56 0 1 0 112 0zm200-24a24 24 0 1 1 0 48 24 24 0 1 1 0-48zm0 80a56 56 0 1 0 0-112 56 56 0 1 0 0 112zM240 128c0 8.8 7.2 16 16 16l48 0 0 48c0 8.8 7.2 16 16 16s16-7.2 16-16l0-48 48 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-48 0 0-48c0-8.8-7.2-16-16-16s-16 7.2-16 16l0 48-48 0c-8.8 0-16 7.2-16 16z"]},h={prefix:"fal",iconName:"bag-shopping",icon:[448,512,["shopping-bag"],"f290","M160 96l0 32 128 0 0-32c0-35.3-28.7-64-64-64s-64 28.7-64 64zm-32 64l-80 0c-8.8 0-16 7.2-16 16l0 240c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-240c0-8.8-7.2-16-16-16l-80 0 0 80c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-80-128 0 0 80c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-80zm0-32l0-32c0-53 43-96 96-96s96 43 96 96l0 32 80 0c26.5 0 48 21.5 48 48l0 240c0 53-43 96-96 96L96 512c-53 0-96-43-96-96L0 176c0-26.5 21.5-48 48-48l80 0z"]},f=h,m={prefix:"fal",iconName:"angle-right",icon:[320,512,[8250],"f105","M267.3 244.7c6.2 6.2 6.2 16.4 0 22.6l-160 160c-6.2 6.2-16.4 6.2-22.6 0s-6.2-16.4 0-22.6L233.4 256 84.7 107.3c-6.2-6.2-6.2-16.4 0-22.6s16.4-6.2 22.6 0l160 160z"]},g={prefix:"fal",iconName:"arrow-left-to-line",icon:[448,512,[8676,"arrow-to-left"],"f33e","M0 432c0 8.8 7.2 16 16 16s16-7.2 16-16L32 80c0-8.8-7.2-16-16-16S0 71.2 0 80L0 432zM100.7 244.7c-6.2 6.2-6.2 16.4 0 22.6l128 128c6.2 6.2 16.4 6.2 22.6 0s6.2-16.4 0-22.6L150.6 272 256 272l176 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-176 0-105.4 0L251.3 139.3c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0l-128 128z"]},v=g,y={prefix:"fal",iconName:"pen-clip",icon:[512,512,["pen-alt"],"f305","M385.4 41.9c12.5-12.5 32.8-12.5 45.3 0l39.4 39.4c12.5 12.5 12.5 32.8 0 45.3L421.7 175 337 90.3l48.4-48.4zM291.7 90.3L99.5 282.5c-48 48-80.8 109.2-94.1 175.8l-5 25c-1.6 7.9 .9 16 6.6 21.7s13.8 8.1 21.7 6.6l25-5c66.6-13.3 127.8-46.1 175.8-94.1L492.7 149.3c25-25 25-65.5 0-90.5L453.3 19.3c-25-25-65.5-25-90.5 0L314.3 67.7 301.3 54.6c-25-25-65.5-25-90.5 0L100.7 164.7c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0L233.4 77.3c12.5-12.5 32.8-12.5 45.3 0l13.1 13.1zM314.3 113L399 197.7 206.9 389.8c-43.6 43.6-99 73.2-159.4 85.3l-13.2 2.6 2.6-13.2c12.1-60.4 41.8-115.9 85.3-159.4L314.3 113z"]},A=y,b={prefix:"fal",iconName:"box",icon:[448,512,[128230],"f466","M342.4 64L240 64l0 96 165.9 0L371.7 83c-5.1-11.6-16.6-19-29.2-19zM416 192l-176 0-32 0L32 192l0 224c0 17.7 14.3 32 32 32l320 0c17.7 0 32-14.3 32-32l0-224zM42.1 160L208 160l0-96L105.6 64c-12.6 0-24.1 7.4-29.2 19L42.1 160zM342.4 32c25.3 0 48.2 14.9 58.5 38l41.6 93.6c3.6 8.2 5.5 17 5.5 26L448 416c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64L0 189.6c0-9 1.9-17.8 5.5-26L47.1 70c10.3-23.1 33.2-38 58.5-38l236.8 0z"]},w={prefix:"fal",iconName:"maximize",icon:[512,512,["expand-arrows-alt"],"f31e","M50.2 196.5l.6 .2c8.2 2 16.8-.4 22.8-6.3l47.1-47.1L233.4 256 120.7 368.7 73.6 321.6c-6-6-14.6-8.4-22.8-6.3l-.6 .2C39.5 318.1 32 327.7 32 338.7L32 456c0 13.3 10.7 24 24 24l117.3 0c11 0 20.6-7.5 23.3-18.2l.2-.6c2-8.2-.4-16.8-6.3-22.8l-47.1-47.1L256 278.6 368.7 391.3l-47.1 47.1c-6 6-8.4 14.6-6.3 22.8l.2 .6c2.7 10.7 12.3 18.2 23.3 18.2L456 480c13.3 0 24-10.7 24-24l0-117.3c0-11-7.5-20.6-18.2-23.3l-.6-.2c-8.2-2-16.8 .4-22.8 6.3l-47.1 47.1L278.6 256 391.3 143.3l47.1 47.1c6 6 14.6 8.4 22.8 6.3l.6-.2c10.7-2.7 18.2-12.3 18.2-23.3L480 56c0-13.3-10.7-24-24-24L338.7 32c-11 0-20.6 7.5-23.3 18.2l-.2 .6c-2 8.2 .4 16.8 6.3 22.8l47.1 47.1L256 233.4 143.3 120.7l47.1-47.1c6-6 8.4-14.6 6.3-22.8l-.2-.6C193.9 39.5 184.3 32 173.3 32L56 32C42.7 32 32 42.7 32 56l0 117.3c0 11 7.5 20.6 18.2 23.3zM64 154.7L64 64l90.7 0L64 154.7zM154.7 448L64 448l0-90.7L154.7 448zM448 154.7L357.3 64 448 64l0 90.7zM357.3 448L448 357.3l0 90.7-90.7 0z"]},x={prefix:"fal",iconName:"file-invoice-dollar",icon:[384,512,[],"f571","M352 448l0-256-112 0c-26.5 0-48-21.5-48-48l0-112L64 32C46.3 32 32 46.3 32 64l0 384c0 17.7 14.3 32 32 32l256 0c17.7 0 32-14.3 32-32zm-.5-288c-.7-2.8-2.1-5.4-4.2-7.4L231.4 36.7c-2.1-2.1-4.6-3.5-7.4-4.2L224 144c0 8.8 7.2 16 16 16l111.5 0zM0 64C0 28.7 28.7 0 64 0L220.1 0c12.7 0 24.9 5.1 33.9 14.1L369.9 129.9c9 9 14.1 21.2 14.1 33.9L384 448c0 35.3-28.7 64-64 64L64 512c-35.3 0-64-28.7-64-64L0 64zM64 80c0-8.8 7.2-16 16-16l64 0c8.8 0 16 7.2 16 16s-7.2 16-16 16L80 96c-8.8 0-16-7.2-16-16zm0 64c0-8.8 7.2-16 16-16l64 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-64 0c-8.8 0-16-7.2-16-16zm144 99.6l0 13.6c8.3 1.1 16.3 2.7 23.7 4.5c8.6 2 13.9 10.7 11.9 19.3s-10.7 13.9-19.3 11.9c-11.2-2.6-22.2-4.6-32.5-4.8c-8.7-.1-17.9 1.7-24.3 5.1c-6.1 3.2-7.4 6.3-7.4 9.4c0 1.5 .2 3.6 6.6 7c7 3.7 16.8 6.4 29.4 9.8l.5 .1c11.3 3 25.2 6.8 36.1 12.9c11.8 6.6 23.1 17.7 23.4 35.9c.3 18.9-10.6 31.7-23.6 38.9c-7.5 4.1-15.9 6.6-24.4 7.9l0 13.5c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-14.1c-10.9-1.9-21.2-5-30.3-7.8c0 0 0 0 0 0s0 0 0 0c-2.1-.7-4.2-1.3-6.2-1.9c-8.5-2.5-13.3-11.4-10.8-19.9s11.4-13.3 19.9-10.8c2.4 .7 4.8 1.4 7.1 2.1c13.6 4.1 24.8 7.5 36.8 7.9c9.4 .3 18.5-1.6 24.4-4.9c5.4-3 7.2-6.2 7.1-10.4c0-2.4-.8-4.9-7-8.4c-6.9-3.9-16.8-6.7-29.2-10l-1.6-.4c-11-3-24.2-6.5-34.6-12.1c-11.5-6.2-23.3-16.9-23.4-35.1c-.1-19 11.9-31.3 24.5-37.9c7.3-3.8 15.4-6.2 23.4-7.5l0-13.7c0-8.8 7.2-16 16-16s16 7.2 16 16z"]},C={prefix:"fal",iconName:"user-group",icon:[640,512,[128101,"user-friends"],"f500","M128 128a96 96 0 1 1 192 0 96 96 0 1 1 -192 0zM269.7 336c80 0 145 64.3 146.3 144L32 480c1.2-79.7 66.2-144 146.3-144l91.4 0zM224 256A128 128 0 1 0 224 0a128 128 0 1 0 0 256zm-45.7 48C79.8 304 0 383.8 0 482.3C0 498.7 13.3 512 29.7 512l388.6 0c16.4 0 29.7-13.3 29.7-29.7C448 383.8 368.2 304 269.7 304l-91.4 0zm431 208c17 0 30.7-13.8 30.7-30.7C640 392.2 567.8 320 478.7 320l-61.4 0c-4.4 0-8.8 .2-13.2 .5c11.3 9.4 21.6 19.9 30.7 31.5l43.9 0c71 0 128.6 57.2 129.3 128l-128 0c0 .8 0 1.5 0 2.3c0 10.8-2.8 20.9-7.6 29.7l136.9 0zM432 256c61.9 0 112-50.1 112-112s-50.1-112-112-112c-24.8 0-47.7 8.1-66.3 21.7c5.2 9.8 9.3 20.3 12.4 31.2C392.3 71.9 411.2 64 432 64c44.2 0 80 35.8 80 80s-35.8 80-80 80c-25.2 0-47.6-11.6-62.3-29.8c-4.7 10.3-10.4 19.9-17 28.9C373 243.4 401 256 432 256z"]},S=C,k={prefix:"fal",iconName:"layer-plus",icon:[576,512,["layer-group-plus"],"f5ff","M480 24c0-8.8-7.2-16-16-16s-16 7.2-16 16l0 40-40 0c-8.8 0-16 7.2-16 16s7.2 16 16 16l40 0 0 40c0 8.8 7.2 16 16 16s16-7.2 16-16l0-40 40 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-40 0 0-40zM288 128c-7.5 0-15 1.6-21.8 4.7L48.8 230.1C38.6 234.7 32 244.8 32 256s6.6 21.3 16.8 25.9l217.4 97.5c6.9 3.1 14.3 4.7 21.8 4.7s15-1.6 21.8-4.7l217.4-97.5c10.2-4.6 16.8-14.7 16.8-25.9s-6.6-21.3-16.8-25.9L309.8 132.7c-6.9-3.1-14.3-4.7-21.8-4.7zm-8.8 33.9c2.8-1.2 5.7-1.9 8.8-1.9s6 .6 8.8 1.9l210 94.1-210 94.1c-2.8 1.2-5.7 1.9-8.8 1.9s-6-.6-8.8-1.9L69.3 256l210-94.1zM94.7 337.5L48.8 358.1C38.6 362.7 32 372.8 32 384s6.6 21.3 16.8 25.9l217.4 97.5c6.9 3.1 14.3 4.7 21.8 4.7s15-1.6 21.8-4.7l217.4-97.5c10.2-4.6 16.8-14.7 16.8-25.9s-6.6-21.3-16.8-25.9l-45.9-20.6-39.1 17.5L506.7 384l-210 94.1c-2.8 1.2-5.7 1.9-8.8 1.9s-6-.6-8.8-1.9L69.3 384l64.5-28.9L94.7 337.5z"]},E={prefix:"fal",iconName:"folder-open",icon:[576,512,[128194,128449,61717],"f07c","M448 160l0 32 32 0 0-32c0-35.3-28.7-64-64-64L298.5 96c-17 0-33.3-6.7-45.3-18.7L226.7 50.7c-12-12-28.3-18.7-45.3-18.7L64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l320 0 80 0c19.6 0 37.3-11.9 44.6-30.2l64-160c5.9-14.8 4.1-31.5-4.8-44.7S543.9 224 528 224l-400 0c-19.6 0-37.3 11.9-44.6 30.2L32 382.8 32 96c0-17.7 14.3-32 32-32l117.5 0c8.5 0 16.6 3.4 22.6 9.4l22.6-22.6L204.1 73.4l26.5 26.5c18 18 42.4 28.1 67.9 28.1L416 128c17.7 0 32 14.3 32 32zM384 448L64 448c-5.3 0-10.3-2.6-13.2-7s-3.6-10-1.6-14.9l64-160c2.4-6.1 8.3-10.1 14.9-10.1l400 0c5.3 0 10.3 2.6 13.2 7s3.6 10 1.6 14.9l-64 160C476.4 444 470.5 448 464 448l-80 0z"]},I={prefix:"fal",iconName:"image",icon:[512,512,[],"f03e","M64 64C46.3 64 32 78.3 32 96l0 233.4 67.7-67.7c15.6-15.6 40.9-15.6 56.6 0L224 329.4 355.7 197.7c15.6-15.6 40.9-15.6 56.6 0L480 265.4 480 96c0-17.7-14.3-32-32-32L64 64zM32 374.6L32 416c0 17.7 14.3 32 32 32l41.4 0 96-96-67.7-67.7c-3.1-3.1-8.2-3.1-11.3 0L32 374.6zM389.7 220.3c-3.1-3.1-8.2-3.1-11.3 0L150.6 448 448 448c17.7 0 32-14.3 32-32l0-105.4-90.3-90.3zM0 96C0 60.7 28.7 32 64 32l384 0c35.3 0 64 28.7 64 64l0 320c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64L0 96zm160 48a16 16 0 1 0 -32 0 16 16 0 1 0 32 0zm-64 0a48 48 0 1 1 96 0 48 48 0 1 1 -96 0z"]},_={prefix:"fal",iconName:"minimize",icon:[512,512,["compress-arrows-alt"],"f78c","M507.3 27.3l-108 108 47.1 47.1c6 6 8.4 14.6 6.3 22.8l-.2 .6c-2.7 10.7-12.3 18.2-23.3 18.2L312 224c-13.3 0-24-10.7-24-24l0-117.3c0-11 7.5-20.6 18.2-23.3l.6-.2c8.2-2 16.8 .4 22.8 6.3l47.1 47.1 108-108c6.2-6.2 16.4-6.2 22.6 0s6.2 16.4 0 22.6zM4.7 27.3c-6.2-6.2-6.2-16.4 0-22.6s16.4-6.2 22.6 0l108 108 47.1-47.1c6-6 14.6-8.4 22.8-6.3l.6 .2C216.5 62.1 224 71.7 224 82.7L224 200c0 13.3-10.7 24-24 24L82.7 224c-11 0-20.6-7.5-23.3-18.2l-.2-.6c-2-8.2 .4-16.8 6.3-22.8l47.1-47.1L4.7 27.3zm502.6 480c-6.2 6.2-16.4 6.2-22.6 0l-108-108-47.1 47.1c-6 6-14.6 8.4-22.8 6.3l-.6-.2c-10.7-2.7-18.2-12.3-18.2-23.3L288 312c0-13.3 10.7-24 24-24l117.3 0c11 0 20.6 7.5 23.3 18.2l.2 .6c2 8.2-.4 16.8-6.3 22.8l-47.1 47.1 108 108c6.2 6.2 6.2 16.4 0 22.6zM4.7 484.7l108-108L65.6 329.6c-6-6-8.4-14.6-6.3-22.8l.2-.6C62.1 295.5 71.7 288 82.7 288L200 288c13.3 0 24 10.7 24 24l0 117.3c0 11-7.5 20.6-18.2 23.3l-.6 .2c-8.2 2-16.8-.4-22.8-6.3l-47.1-47.1-108 108c-6.2 6.2-16.4 6.2-22.6 0s-6.2-16.4 0-22.6zM410.7 192L320 101.3l0 90.7 90.7 0zM192 101.3L101.3 192l90.7 0 0-90.7zM410.7 320L320 320l0 90.7L410.7 320zM192 410.7l0-90.7-90.7 0L192 410.7z"]},P={prefix:"fal",iconName:"file-magnifying-glass",icon:[384,512,["file-search"],"f865","M240 320a64 64 0 1 0 -128 0 64 64 0 1 0 128 0zm-8.4 78.3C215.9 409.4 196.7 416 176 416c-53 0-96-43-96-96s43-96 96-96s96 43 96 96c0 20.7-6.6 39.9-17.7 55.6l45.1 45.1c6.2 6.2 6.2 16.4 0 22.6s-16.4 6.2-22.6 0l-45.1-45.1zM352 448l0-256-112 0c-26.5 0-48-21.5-48-48l0-112L64 32C46.3 32 32 46.3 32 64l0 384c0 17.7 14.3 32 32 32l256 0c17.7 0 32-14.3 32-32zm-.5-288c-.7-2.8-2.1-5.4-4.2-7.4L231.4 36.7c-2.1-2.1-4.6-3.5-7.4-4.2L224 144c0 8.8 7.2 16 16 16l111.5 0zM0 64C0 28.7 28.7 0 64 0L220.1 0c12.7 0 24.9 5.1 33.9 14.1L369.9 129.9c9 9 14.1 21.2 14.1 33.9L384 448c0 35.3-28.7 64-64 64L64 512c-35.3 0-64-28.7-64-64L0 64z"]},O={prefix:"fal",iconName:"box-open",icon:[640,512,[],"f49e","M80.4 49.5L320 77.2 559.6 49.5c14.1-1.6 27.5 6.2 33.1 19.2l32 74.7c9.8 22.9-3.5 49.1-27.8 54.7L437.7 234.8c-18.9 4.4-38.6-3.1-49.9-18.9L320 120.9l-67.9 95.1c-11.3 15.8-30.9 23.2-49.9 18.9L43 198c-24.3-5.6-37.6-31.8-27.8-54.7l32-74.7c5.6-13 19-20.8 33.1-19.2zM76.7 81.3l-32 74.7c-2 4.6 .7 9.8 5.6 10.9l159.2 36.7c6.3 1.5 12.9-1 16.6-6.3l65.1-91.2L76.7 81.3zM544 236.7l32-9.1 0 151c0 22-15 41.2-36.4 46.6l-208 52c-7.6 1.9-15.6 1.9-23.3 0l-208-52C79 419.7 64 400.6 64 378.5l0-151 32 9.1 0 141.8c0 7.3 5 13.7 12.1 15.5L304 443l0-235c0-8.8 7.2-16 16-16s16 7.2 16 16l0 235 195.9-49c7.1-1.8 12.1-8.2 12.1-15.5l0-141.8zM348.8 106.1l65.1 91.2c3.8 5.3 10.3 7.7 16.6 6.3l159.2-36.7c4.9-1.1 7.5-6.4 5.6-10.9l-32-74.7L348.8 106.1z"]},T={prefix:"fal",iconName:"pallet-box",icon:[640,512,[],"e208","M464 32c8.8 0 16 7.2 16 16l0 192c0 8.8-7.2 16-16 16l-288 0c-8.8 0-16-7.2-16-16l0-192c0-8.8 7.2-16 16-16l64 0 0 112c0 6.1 3.4 11.6 8.8 14.3s11.9 2.1 16.8-1.5L320 116l54.4 40.8c4.8 3.6 11.3 4.2 16.8 1.5s8.8-8.3 8.8-14.3l0-112 64 0zM272 32l96 0 0 80L329.6 83.2c-5.7-4.3-13.5-4.3-19.2 0L272 112l0-80zM176 0c-26.5 0-48 21.5-48 48l0 192c0 26.5 21.5 48 48 48l288 0c26.5 0 48-21.5 48-48l0-192c0-26.5-21.5-48-48-48L176 0zM0 368c0 8.8 7.2 16 16 16l48 0 0 96-48 0c-8.8 0-16 7.2-16 16s7.2 16 16 16l64 0 240 0 240 0 64 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-48 0 0-96 48 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-64 0-240 0L80 352l-64 0c-8.8 0-16 7.2-16 16zM96 480l0-96 208 0 0 96L96 480zm240 0l0-96 208 0 0 96-208 0z"]},D={prefix:"fal",iconName:"layer-group",icon:[576,512,[],"f5fd","M266.2 4.7C273 1.6 280.5 0 288 0s15 1.6 21.8 4.7l217.4 97.5c10.2 4.6 16.8 14.7 16.8 25.9s-6.6 21.3-16.8 25.9L309.8 251.3c-6.9 3.1-14.3 4.7-21.8 4.7s-15-1.6-21.8-4.7L48.8 153.9C38.6 149.3 32 139.2 32 128s6.6-21.3 16.8-25.9L266.2 4.7zM288 32c-3 0-6 .6-8.8 1.9L69.3 128l210 94.1c2.8 1.2 5.7 1.9 8.8 1.9s6-.6 8.8-1.9l210-94.1-210-94.1C294 32.6 291 32 288 32zM48.8 358.1l45.9-20.6 39.1 17.5L69.3 384l210 94.1c2.8 1.2 5.7 1.9 8.8 1.9s6-.6 8.8-1.9l210-94.1-64.5-28.9 39.1-17.5 45.9 20.6c10.2 4.6 16.8 14.7 16.8 25.9s-6.6 21.3-16.8 25.9L309.8 507.3c-6.9 3.1-14.3 4.7-21.8 4.7s-15-1.6-21.8-4.7L48.8 409.9C38.6 405.3 32 395.2 32 384s6.6-21.3 16.8-25.9zM94.7 209.5l39.1 17.5L69.3 256l210 94.1c2.8 1.2 5.7 1.9 8.8 1.9s6-.6 8.8-1.9l210-94.1-64.5-28.9 39.1-17.5 45.9 20.6c10.2 4.6 16.8 14.7 16.8 25.9s-6.6 21.3-16.8 25.9L309.8 379.3c-6.9 3.1-14.3 4.7-21.8 4.7s-15-1.6-21.8-4.7L48.8 281.9C38.6 277.3 32 267.2 32 256s6.6-21.3 16.8-25.9l45.9-20.6z"]},j={prefix:"fal",iconName:"sort",icon:[320,512,["unsorted"],"f0dc","M282.7 192L160 69.2 37.3 192l245.5 0zM8.3 175.7L146.3 37.6C150 34 154.9 32 160 32s10 2 13.6 5.7L311.7 175.7c5.3 5.3 8.3 12.5 8.3 20c0 15.6-12.7 28.3-28.3 28.3L28.3 224C12.7 224 0 211.3 0 195.7c0-7.5 3-14.7 8.3-20zM282.7 320L37.3 320 160 442.8 282.7 320zM8.3 336.3C3 331 0 323.8 0 316.3C0 300.7 12.7 288 28.3 288l263.4 0c15.6 0 28.3 12.7 28.3 28.3c0 7.5-3 14.7-8.3 20L173.6 474.4C170 478 165.1 480 160 480s-10-2-13.7-5.7L8.3 336.3z"]},B={prefix:"fal",iconName:"memo-circle-check",icon:[576,512,[],"e1d9","M320 32L64 32C46.3 32 32 46.3 32 64l0 384c0 17.7 14.3 32 32 32l232.2 0c9.8 11.8 21 22.3 33.5 31.3c-3.2 .5-6.4 .7-9.7 .7L64 512c-35.3 0-64-28.7-64-64L0 64C0 28.7 28.7 0 64 0L320 0c35.3 0 64 28.7 64 64l0 134.6c-11.2 3.2-21.9 7.4-32 12.6L352 64c0-17.7-14.3-32-32-32zM64 144c0-8.8 7.2-16 16-16l224 0c8.8 0 16 7.2 16 16s-7.2 16-16 16L80 160c-8.8 0-16-7.2-16-16zm16 80l192 0c8.8 0 16 7.2 16 16s-7.2 16-16 16L80 256c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 96l128 0c8.8 0 16 7.2 16 16s-7.2 16-16 16L80 352c-8.8 0-16-7.2-16-16s7.2-16 16-16zM432 480a112 112 0 1 0 0-224 112 112 0 1 0 0 224zm0-256a144 144 0 1 1 0 288 144 144 0 1 1 0-288zm44.7 100.7c6.2-6.2 16.4-6.2 22.6 0s6.2 16.4 0 22.6l-72 72c-6.2 6.2-16.4 6.2-22.6 0l-40-40c-6.2-6.2-6.2-16.4 0-22.6s16.4-6.2 22.6 0L416 385.4l60.7-60.7z"]},N={prefix:"fal",iconName:"filter",icon:[512,512,[],"f0b0","M0 71.5C0 49.7 17.7 32 39.5 32l432.9 0C494.3 32 512 49.7 512 71.5c0 9.2-3.2 18.1-9.1 25.2L320 317.8l0 128.4c0 18.7-15.2 33.9-33.9 33.9c-7.5 0-14.8-2.5-20.8-7.1l-61-47.4c-7.8-6.1-12.4-15.4-12.4-25.3l0-82.4L9.1 96.7C3.2 89.6 0 80.7 0 71.5zM39.5 64c-4.2 0-7.5 3.4-7.5 7.5c0 1.8 .6 3.4 1.7 4.8L220.3 301.8c2.4 2.9 3.7 6.5 3.7 10.2l0 88.2 61 47.4c.3 .3 .7 .4 1.1 .4c1 0 1.9-.8 1.9-1.9L288 312c0-3.7 1.3-7.3 3.7-10.2L478.3 76.3c1.1-1.3 1.7-3 1.7-4.8c0-4.2-3.4-7.5-7.5-7.5L39.5 64z"]},M={prefix:"fal",iconName:"arrow-up-right-from-square",icon:[512,512,["external-link"],"f08e","M336 0c-8.8 0-16 7.2-16 16s7.2 16 16 16l121.4 0L212.7 276.7c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0L480 54.6 480 176c0 8.8 7.2 16 16 16s16-7.2 16-16l0-160c0-8.8-7.2-16-16-16L336 0zM64 32C28.7 32 0 60.7 0 96L0 448c0 35.3 28.7 64 64 64l352 0c35.3 0 64-28.7 64-64l0-144c0-8.8-7.2-16-16-16s-16 7.2-16 16l0 144c0 17.7-14.3 32-32 32L64 480c-17.7 0-32-14.3-32-32L32 96c0-17.7 14.3-32 32-32l144 0c8.8 0 16-7.2 16-16s-7.2-16-16-16L64 32z"]},R={prefix:"fal",iconName:"cloud-plus",icon:[640,512,[],"e35e","M389.8 125.2C363.7 88.1 320.7 64 272 64c-77.4 0-140.5 61-143.9 137.5c-.6 13-9 24.4-21.3 28.8C63.2 245.7 32 287.2 32 336c0 61.9 50.1 112 112 112l368 0c53 0 96-43 96-96c0-36.8-20.7-68.8-51.2-84.9c-13.4-7.1-20-22.5-15.8-37.1c2-6.9 3-14.3 3-22c0-44.2-35.8-80-80-80c-12.3 0-23.9 2.8-34.3 7.7c-14.1 6.7-30.9 2.3-39.9-10.5zM272 32c59.5 0 112.1 29.5 144 74.8C430.5 99.9 446.8 96 464 96c61.9 0 112 50.1 112 112c0 10.7-1.5 21-4.3 30.8C612.3 260.2 640 302.9 640 352c0 70.7-57.3 128-128 128l-368 0C64.5 480 0 415.5 0 336c0-62.8 40.2-116.1 96.2-135.9C100.3 106.6 177.4 32 272 32zm32 352l0-80-80 0c-8.8 0-16-7.2-16-16s7.2-16 16-16l80 0 0-80c0-8.8 7.2-16 16-16s16 7.2 16 16l0 80 80 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-80 0 0 80c0 8.8-7.2 16-16 16s-16-7.2-16-16z"]},L={prefix:"fal",iconName:"file-excel",icon:[384,512,[],"f1c3","M320 480L64 480c-17.7 0-32-14.3-32-32L32 64c0-17.7 14.3-32 32-32l128 0 0 112c0 26.5 21.5 48 48 48l112 0 0 256c0 17.7-14.3 32-32 32zM240 160c-8.8 0-16-7.2-16-16l0-111.5c2.8 .7 5.4 2.1 7.4 4.2L347.3 152.6c2.1 2.1 3.5 4.6 4.2 7.4L240 160zM64 0C28.7 0 0 28.7 0 64L0 448c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-284.1c0-12.7-5.1-24.9-14.1-33.9L254.1 14.1c-9-9-21.2-14.1-33.9-14.1L64 0zm85.1 246.8c-5.1-7.2-15-9-22.3-3.9s-9 15-3.9 22.3L172.5 336l-49.6 70.8c-5.1 7.2-3.3 17.2 3.9 22.3s17.2 3.3 22.3-3.9L192 363.9l42.9 61.3c5.1 7.2 15 9 22.3 3.9s9-15 3.9-22.3L211.5 336l49.6-70.8c5.1-7.2 3.3-17.2-3.9-22.3s-17.2-3.3-22.3 3.9L192 308.1l-42.9-61.3z"]},F={prefix:"fal",iconName:"arrow-right",icon:[448,512,[8594],"f061","M443.3 267.3c6.2-6.2 6.2-16.4 0-22.6l-176-176c-6.2-6.2-16.4-6.2-22.6 0s-6.2 16.4 0 22.6L393.4 240 16 240c-8.8 0-16 7.2-16 16s7.2 16 16 16l377.4 0L244.7 420.7c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0l176-176z"]},z={prefix:"fal",iconName:"heart",icon:[512,512,[128153,128154,128155,128156,128420,129293,129294,129505,9829,10084,61578],"f004","M244 130.6l-12-13.5-4.2-4.7c-26-29.2-65.3-42.8-103.8-35.8c-53.3 9.7-92 56.1-92 110.3l0 3.5c0 32.3 13.4 63.1 37.1 85.1L253 446.8c.8 .7 1.9 1.2 3 1.2s2.2-.4 3-1.2L443 275.5c23.6-22 37-52.8 37-85.1l0-3.5c0-54.2-38.7-100.6-92-110.3c-38.5-7-77.8 6.6-103.8 35.8l-4.2 4.7-12 13.5c-3 3.4-7.4 5.4-12 5.4s-8.9-2-12-5.4zm34.9-57.1C311 48.4 352.7 37.7 393.7 45.1C462.2 57.6 512 117.3 512 186.9l0 3.5c0 36-13.1 70.6-36.6 97.5c-3.4 3.8-6.9 7.5-10.7 11l-184 171.3c-.8 .8-1.7 1.5-2.6 2.2c-6.3 4.9-14.1 7.5-22.1 7.5c-9.2 0-18-3.5-24.8-9.7L47.2 299c-3.8-3.5-7.3-7.2-10.7-11C13.1 261 0 226.4 0 190.4l0-3.5C0 117.3 49.8 57.6 118.3 45.1c40.9-7.4 82.6 3.2 114.7 28.4c6.7 5.3 13 11.1 18.7 17.6l4.2 4.7 4.2-4.7c4.2-4.7 8.6-9.1 13.3-13.1c1.8-1.5 3.6-3 5.4-4.5z"]},Q={prefix:"fal",iconName:"badge-check",icon:[512,512,[],"f336","M190.6 71.4C203 47.9 227.7 32 256 32s53 15.9 65.4 39.4c3.6 6.8 11.5 10.1 18.8 7.8c25.4-7.8 54.1-1.6 74.1 18.4s26.2 48.7 18.4 74.1c-2.3 7.3 1 15.2 7.8 18.8C464.1 203 480 227.7 480 256s-15.9 53-39.4 65.4c-6.8 3.6-10.1 11.5-7.8 18.8c7.8 25.4 1.6 54.1-18.4 74.1s-48.7 26.2-74.1 18.4c-7.3-2.3-15.2 1-18.8 7.8C309 464.1 284.3 480 256 480s-53-15.9-65.4-39.4c-3.6-6.8-11.5-10.1-18.8-7.8c-25.4 7.8-54.1 1.6-74.1-18.4s-26.2-48.7-18.4-74.1c2.3-7.3-1-15.2-7.8-18.8C47.9 309 32 284.3 32 256s15.9-53 39.4-65.4c6.8-3.6 10.1-11.5 7.8-18.8c-7.8-25.4-1.6-54.1 18.4-74.1s48.7-26.2 74.1-18.4c7.3 2.3 15.2-1 18.8-7.8zM256 0c-36.1 0-68 18.1-87.1 45.6c-33-6-68.3 3.8-93.9 29.4s-35.3 60.9-29.4 93.9C18.1 188 0 219.9 0 256s18.1 68 45.6 87.1c-6 33 3.8 68.3 29.4 93.9s60.9 35.3 93.9 29.4C188 493.9 219.9 512 256 512s68-18.1 87.1-45.6c33 6 68.3-3.8 93.9-29.4s35.3-60.9 29.4-93.9C493.9 324 512 292.1 512 256s-18.1-68-45.6-87.1c6-33-3.8-68.3-29.4-93.9s-60.9-35.3-93.9-29.4C324 18.1 292.1 0 256 0zM363.3 203.3c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0L224 297.4l-52.7-52.7c-6.2-6.2-16.4-6.2-22.6 0s-6.2 16.4 0 22.6l64 64c6.2 6.2 16.4 6.2 22.6 0l128-128z"]},U={prefix:"fal",iconName:"clipboard-check",icon:[384,512,[],"f46c","M145.5 68c5.3-20.7 24.1-36 46.5-36s41.2 15.3 46.5 36c1.8 7.1 8.2 12 15.5 12l18 0c8.8 0 16 7.2 16 16l0 32-96 0-96 0 0-32c0-8.8 7.2-16 16-16l18 0c7.3 0 13.7-4.9 15.5-12zM192 0c-32.8 0-61 19.8-73.3 48L112 48C91.1 48 73.3 61.4 66.7 80L64 80C28.7 80 0 108.7 0 144L0 448c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-304c0-35.3-28.7-64-64-64l-2.7 0c-6.6-18.6-24.4-32-45.3-32l-6.7 0C253 19.8 224.8 0 192 0zM320 112c17.7 0 32 14.3 32 32l0 304c0 17.7-14.3 32-32 32L64 480c-17.7 0-32-14.3-32-32l0-304c0-17.7 14.3-32 32-32l0 16c0 17.7 14.3 32 32 32l96 0 96 0c17.7 0 32-14.3 32-32l0-16zM208 80a16 16 0 1 0 -32 0 16 16 0 1 0 32 0zm91.3 171.3c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0L160 345.4l-52.7-52.7c-6.2-6.2-16.4-6.2-22.6 0s-6.2 16.4 0 22.6l64 64c6.2 6.2 16.4 6.2 22.6 0l128-128z"]},V={prefix:"fal",iconName:"file-image",icon:[384,512,[128443],"f1c5","M352 448l0-256-112 0c-26.5 0-48-21.5-48-48l0-112L64 32C46.3 32 32 46.3 32 64l0 384c0 17.7 14.3 32 32 32l256 0c17.7 0 32-14.3 32-32zm-.5-288c-.7-2.8-2.1-5.4-4.2-7.4L231.4 36.7c-2.1-2.1-4.6-3.5-7.4-4.2L224 144c0 8.8 7.2 16 16 16l111.5 0zM0 64C0 28.7 28.7 0 64 0L220.1 0c12.7 0 24.9 5.1 33.9 14.1L369.9 129.9c9 9 14.1 21.2 14.1 33.9L384 448c0 35.3-28.7 64-64 64L64 512c-35.3 0-64-28.7-64-64L0 64zM72 256a24 24 0 1 1 48 0 24 24 0 1 1 -48 0zM181.3 368.9c-2.9 4.3-7.7 7-12.9 7.1s-10.1-2.2-13.2-6.4l-14.4-19.3L99 416l186.2 0L219.7 311.3l-38.4 57.6zM219.9 272c8 0 15.5 4.1 19.8 11l76 121.5c2.8 4.5 4.3 9.7 4.3 15.1c0 15.7-12.7 28.4-28.4 28.4L92.4 448C76.7 448 64 435.3 64 419.6c0-5.4 1.5-10.7 4.4-15.2l51.8-81.4c4.3-6.8 11.9-10.9 19.9-10.9c7.4 0 14.4 3.5 18.9 9.4l8.1 10.9 33.3-49.9c4.3-6.5 11.6-10.4 19.4-10.4z"]},G={prefix:"fal",iconName:"eye",icon:[576,512,[128065],"f06e","M117.2 136C160.3 96 217.6 64 288 64s127.7 32 170.8 72c43.1 40 71.9 88 85.2 120c-13.3 32-42.1 80-85.2 120c-43.1 40-100.4 72-170.8 72s-127.7-32-170.8-72C74.1 336 45.3 288 32 256c13.3-32 42.1-80 85.2-120zM288 32c-80.8 0-145.5 36.8-192.6 80.6C48.6 156 17.3 208 2.5 243.7c-3.3 7.9-3.3 16.7 0 24.6C17.3 304 48.6 356 95.4 399.4C142.5 443.2 207.2 480 288 480s145.5-36.8 192.6-80.6c46.8-43.5 78.1-95.4 93-131.1c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C433.5 68.8 368.8 32 288 32zM192 256a96 96 0 1 1 192 0 96 96 0 1 1 -192 0zm224 0a128 128 0 1 0 -256 0 128 128 0 1 0 256 0z"]},q={prefix:"fal",iconName:"pen",icon:[512,512,[128394],"f304","M395.8 39.6c9.4-9.4 24.6-9.4 33.9 0l42.6 42.6c9.4 9.4 9.4 24.6 0 33.9L417.6 171 341 94.4l54.8-54.8zM318.4 117L395 193.6 159.6 428.9c-7.6 7.6-16.9 13.1-27.2 16.1L39.6 472.4l27.3-92.8c3-10.3 8.6-19.6 16.1-27.2L318.4 117zM452.4 17c-21.9-21.9-57.3-21.9-79.2 0L60.4 329.7c-11.4 11.4-19.7 25.4-24.2 40.8L.7 491.5c-1.7 5.6-.1 11.7 4 15.8s10.2 5.7 15.8 4l121-35.6c15.4-4.5 29.4-12.9 40.8-24.2L495 138.8c21.9-21.9 21.9-57.3 0-79.2L452.4 17z"]},H={prefix:"fal",iconName:"table-layout",icon:[512,512,[],"e290","M448 64c17.7 0 32 14.3 32 32l0 64L32 160l0-64c0-17.7 14.3-32 32-32l384 0zM32 416l0-224 128 0 0 256-96 0c-17.7 0-32-14.3-32-32zm160 32l0-256 288 0 0 224c0 17.7-14.3 32-32 32l-256 0zM64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l384 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64L64 32z"]},W={prefix:"fal",iconName:"trash",icon:[448,512,[],"f1f8","M177.7 32l92.5 0c5.5 0 10.6 2.8 13.6 7.5L299.1 64 148.9 64l15.3-24.5c2.9-4.7 8.1-7.5 13.6-7.5zM336.9 64L311 22.6C302.2 8.5 286.8 0 270.3 0L177.7 0C161.2 0 145.8 8.5 137 22.6L111.1 64 64.1 64 32 64 16 64C7.2 64 0 71.2 0 80s7.2 16 16 16l18.3 0L59.8 452.6C62.1 486.1 90 512 123.6 512l200.8 0c33.6 0 61.4-25.9 63.8-59.4L413.7 96 432 96c8.8 0 16-7.2 16-16s-7.2-16-16-16l-16 0-32.1 0-47.1 0zm44.8 32L356.3 450.3C355.1 467 341.2 480 324.4 480l-200.8 0c-16.8 0-30.7-13-31.9-29.7L66.4 96l315.3 0z"]},Y={prefix:"fal",iconName:"shirt",icon:[640,512,[128085,"t-shirt","tshirt"],"f553","M211.4 0c-27.7 0-54.5 9.6-76 27.1L56.3 91.9 12.9 127.4c-13.7 11.2-15.7 31.4-4.5 45l70.9 86.7c11.2 13.7 31.4 15.7 45 4.5L160 234.4 160 456c0 30.9 25.1 56 56 56l208 0c30.9 0 56-25.1 56-56l0-221.6 35.6 29.1c13.7 11.2 33.8 9.2 45-4.5l70.9-86.7c11.2-13.7 9.2-33.8-4.5-45L583.7 91.9 504.6 27.1C483.1 9.6 456.3 0 428.6 0l-6.3 0c-1.3 0-2.5 .1-3.7 .2c-.8-.1-1.7-.2-2.6-.2L224 0c-.9 0-1.7 .1-2.6 .2c-1.2-.1-2.4-.2-3.7-.2l-6.3 0zm40.7 32l135.8 0C378 60 351.3 80 320 80s-58-20-67.9-48zM155.7 51.9C171.4 39 191.1 32 211.4 32l6.3 0s0 0 0 0c0 0 .2 .1 .4 .3c.5 .4 1 1.2 1.3 2.2C231.1 79.1 271.7 112 320 112s88.9-32.9 100.6-77.5c.3-1 .8-1.8 1.3-2.2c.2-.2 .4-.2 .4-.3c0 0 0 0 0 0l6.3 0c20.3 0 40 7 55.7 19.9l79.2 64.8 43.3 35.5-70.9 86.7-43.3-35.5-18.4-15.1c-4.8-3.9-11.4-4.7-17-2.1s-9.1 8.3-9.1 14.5L448 456c0 13.3-10.7 24-24 24l-208 0c-13.3 0-24-10.7-24-24l0-255.3c0-6.2-3.6-11.8-9.1-14.5s-12.2-1.8-17 2.1l-18.4 15.1-43.3 35.5L33.2 152.1l43.3-35.5 79.2-64.8z"]},K=Y,J={prefix:"fal",iconName:"arrow-left",icon:[448,512,[8592],"f060","M4.7 244.7c-6.2 6.2-6.2 16.4 0 22.6l176 176c6.2 6.2 16.4 6.2 22.6 0s6.2-16.4 0-22.6L54.6 272 432 272c8.8 0 16-7.2 16-16s-7.2-16-16-16L54.6 240 203.3 91.3c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0l-176 176z"]},X={prefix:"fal",iconName:"up-right-from-square",icon:[512,512,["external-link-alt"],"f35d","M320 33c0-18.2 14.8-33 33-33L480 0c17.7 0 32 14.3 32 32l0 127c0 18.2-14.8 33-33 33c-8.7 0-17.1-3.5-23.3-9.7L404 130.6 235.3 299.3c-6.2 6.2-16.4 6.2-22.6 0s-6.2-16.4 0-22.6L381.4 108 329.7 56.3C323.5 50.1 320 41.7 320 33zm33-1c-.5 0-1 .4-1 1c0 .3 .1 .5 .3 .7L478.3 159.7c.2 .2 .4 .3 .7 .3c.5 0 1-.4 1-1l0-127L353 32zM0 96C0 60.7 28.7 32 64 32l144 0c8.8 0 16 7.2 16 16s-7.2 16-16 16L64 64C46.3 64 32 78.3 32 96l0 352c0 17.7 14.3 32 32 32l352 0c17.7 0 32-14.3 32-32l0-144c0-8.8 7.2-16 16-16s16 7.2 16 16l0 144c0 35.3-28.7 64-64 64L64 512c-35.3 0-64-28.7-64-64L0 96z"]},Z={prefix:"fal",iconName:"file-pdf",icon:[512,512,[],"f1c1","M64 480l48 0 0 32-48 0c-35.3 0-64-28.7-64-64L0 64C0 28.7 28.7 0 64 0L220.1 0c12.7 0 24.9 5.1 33.9 14.1L369.9 129.9c9 9 14.1 21.2 14.1 33.9L384 304l-32 0 0-112-112 0c-26.5 0-48-21.5-48-48l0-112L64 32C46.3 32 32 46.3 32 64l0 384c0 17.7 14.3 32 32 32zM351.5 160c-.7-2.8-2.1-5.4-4.2-7.4L231.4 36.7c-2.1-2.1-4.6-3.5-7.4-4.2L224 144c0 8.8 7.2 16 16 16l111.5 0zM176 352l32 0c30.9 0 56 25.1 56 56s-25.1 56-56 56l-16 0 0 32c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-48 0-80c0-8.8 7.2-16 16-16zm32 80c13.3 0 24-10.7 24-24s-10.7-24-24-24l-16 0 0 48 16 0zm96-80l32 0c26.5 0 48 21.5 48 48l0 64c0 26.5-21.5 48-48 48l-32 0c-8.8 0-16-7.2-16-16l0-128c0-8.8 7.2-16 16-16zm32 128c8.8 0 16-7.2 16-16l0-64c0-8.8-7.2-16-16-16l-16 0 0 96 16 0zm80-112c0-8.8 7.2-16 16-16l48 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-32 0 0 32 32 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-32 0 0 48c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-64 0-64z"]},$={prefix:"fal",iconName:"tag",icon:[448,512,[127991],"f02b","M32 229.5L32 80c0-8.8 7.2-16 16-16l149.5 0c8.5 0 16.6 3.4 22.6 9.4l176 176c12.5 12.5 12.5 32.8 0 45.3L262.6 428.1c-12.5 12.5-32.8 12.5-45.3 0l-176-176L18.7 274.7l22.6-22.6c-6-6-9.4-14.1-9.4-22.6zm-32 0c0 17 6.7 33.3 18.7 45.3l176 176c25 25 65.5 25 90.5 0L418.7 317.3c25-25 25-65.5 0-90.5l-176-176c-12-12-28.3-18.7-45.3-18.7L48 32C21.5 32 0 53.5 0 80L0 229.5zM112 168a24 24 0 1 0 0-48 24 24 0 1 0 0 48z"]},ee={prefix:"fal",iconName:"envelope",icon:[512,512,[128386,9993,61443],"f0e0","M64 96c-17.7 0-32 14.3-32 32l0 39.9L227.6 311.3c16.9 12.4 39.9 12.4 56.8 0L480 167.9l0-39.9c0-17.7-14.3-32-32-32L64 96zM32 207.6L32 384c0 17.7 14.3 32 32 32l384 0c17.7 0 32-14.3 32-32l0-176.4L303.3 337.1c-28.2 20.6-66.5 20.6-94.6 0L32 207.6zM0 128C0 92.7 28.7 64 64 64l384 0c35.3 0 64 28.7 64 64l0 256c0 35.3-28.7 64-64 64L64 448c-35.3 0-64-28.7-64-64L0 128z"]},te={prefix:"fal",iconName:"angles-up",icon:[448,512,["angle-double-up"],"f102","M234.7 68.1c-6.1-5.5-15.3-5.5-21.4 0l-160 144c-6.6 5.9-7.1 16-1.2 22.6s16 7.1 22.6 1.2L224 101.5 373.3 235.9c6.6 5.9 16.7 5.4 22.6-1.2s5.4-16.7-1.2-22.6l-160-144zm160 336l-160-144c-6.1-5.5-15.3-5.5-21.4 0l-160 144c-6.6 5.9-7.1 16-1.2 22.6s16 7.1 22.6 1.2L224 293.5 373.3 427.9c6.6 5.9 16.7 5.4 22.6-1.2s5.4-16.7-1.2-22.6z"]},ne=te,re={prefix:"fal",iconName:"circle-info",icon:[512,512,["info-circle"],"f05a","M256 32a224 224 0 1 1 0 448 224 224 0 1 1 0-448zm0 480A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM208 352c-8.8 0-16 7.2-16 16s7.2 16 16 16l96 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-32 0 0-112c0-8.8-7.2-16-16-16l-40 0c-8.8 0-16 7.2-16 16s7.2 16 16 16l24 0 0 96-32 0zm48-168a24 24 0 1 0 0-48 24 24 0 1 0 0 48z"]},ie=re,oe={prefix:"fal",iconName:"truck",icon:[640,512,[128666,9951],"f0d1","M64 32C46.3 32 32 46.3 32 64l0 288c0 17.7 14.3 32 32 32l5.5 0c13.2-37.3 48.7-64 90.5-64s77.4 26.7 90.5 64L384 384l0-320c0-17.7-14.3-32-32-32L64 32zm0 384c-35.3 0-64-28.7-64-64L0 64C0 28.7 28.7 0 64 0L352 0c35.3 0 64 28.7 64 64l0 32 65.3 0c14 0 27.3 6.1 36.4 16.8l78.7 91.8c7.5 8.7 11.6 19.8 11.6 31.2L608 384l16 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-48 0c0 53-43 96-96 96s-96-43-96-96l-128 0c0 53-43 96-96 96s-96-43-96-96zM416 224l154.9 0-77.5-90.4c-3-3.5-7.5-5.6-12.1-5.6L416 128l0 96zm0 32l0 88.4c17-15.2 39.4-24.4 64-24.4c41.8 0 77.4 26.7 90.5 64l5.5 0 0-128-160 0zM224 416A64 64 0 1 0 96 416a64 64 0 1 0 128 0zm256 64a64 64 0 1 0 0-128 64 64 0 1 0 0 128z"]},ae={prefix:"fal",iconName:"minus",icon:[448,512,[8211,8722,10134,"subtract"],"f068","M432 256c0 8.8-7.2 16-16 16L32 272c-8.8 0-16-7.2-16-16s7.2-16 16-16l384 0c8.8 0 16 7.2 16 16z"]},se={prefix:"fal",iconName:"trash-slash",icon:[640,512,[],"e2b3","M509.7 96L528 96c8.8 0 16-7.2 16-16s-7.2-16-16-16l-16 0-32.1 0-47 0L407 22.6C398.2 8.5 382.8 0 366.3 0L273.7 0C257.2 0 241.8 8.5 233 22.6L207.1 64l-27 0 40.5 32 257 0L463.9 288.1l30.4 24L509.7 96zM452.9 442.5l-.6 7.8C451.1 467 437.2 480 420.4 480l-200.8 0c-16.8 0-30.7-13-31.9-29.7L171.2 220.1l-34-26.8 18.5 259.3c2.4 33.5 30.3 59.4 63.8 59.4l200.8 0c29.1 0 54-19.5 61.6-46.6l-29.1-23zM273.7 32l92.5 0c5.5 0 10.6 2.8 13.6 7.5L395.1 64 244.9 64l15.3-24.5c2.9-4.7 8.1-7.5 13.6-7.5zM25.9 3.4C19-2 8.9-.8 3.4 6.1S-.8 23.1 6.1 28.6l608 480c6.9 5.5 17 4.3 22.5-2.6s4.3-17-2.6-22.5L25.9 3.4z"]},le={prefix:"fal",iconName:"clock",icon:[512,512,[128339,"clock-four"],"f017","M480 256A224 224 0 1 1 32 256a224 224 0 1 1 448 0zM0 256a256 256 0 1 0 512 0A256 256 0 1 0 0 256zM240 112l0 144c0 5.3 2.7 10.3 7.1 13.3l96 64c7.4 4.9 17.3 2.9 22.2-4.4s2.9-17.3-4.4-22.2L272 247.4 272 112c0-8.8-7.2-16-16-16s-16 7.2-16 16z"]},ce={prefix:"fal",iconName:"pallet",icon:[640,512,[],"f482","M16 352c-8.8 0-16 7.2-16 16s7.2 16 16 16l48 0 0 96-48 0c-8.8 0-16 7.2-16 16s7.2 16 16 16l64 0 240 0 240 0 64 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-48 0 0-96 48 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-64 0-240 0L80 352l-64 0zm80 32l208 0 0 96L96 480l0-96zm240 0l208 0 0 96-208 0 0-96z"]},ue={prefix:"fal",iconName:"coins",icon:[512,512,[],"f51e","M160 80c0 2.4 1.3 6.8 8.3 12.8c1.4 1.2 2.9 2.4 4.6 3.6c-15.4 .6-30.4 1.9-44.9 3.9L128 80c0-15.3 8.6-27.7 19.4-37c10.9-9.4 25.7-17.1 42.7-23.2C224.1 7.3 270 0 320 0s95.9 7.3 129.9 19.7c16.9 6.2 31.8 13.9 42.7 23.2C503.4 52.3 512 64.7 512 80l0 104c0 0 0 0 0 0l0 113.9c0 15.4-8.2 28.2-19.1 38s-25.7 17.9-42.7 24.4c-10.4 3.9-21.8 7.4-34.1 10.3l0-33c8.2-2.2 15.8-4.6 22.8-7.2c14.9-5.7 25.8-12 32.7-18.2s8.5-11.1 8.5-14.2l0-66.2c-8.7 5.6-18.8 10.5-29.9 14.7c-10.4 3.9-21.8 7.4-34.1 10.3l0-33c8.2-2.2 15.8-4.6 22.8-7.2c14.9-5.7 25.8-12 32.7-18.2s8.5-11.1 8.5-14.2l0-57.9c-8.8 5.4-19 10.1-30.1 14.1c-17.3 6.3-37.6 11.3-60 14.6c-1.9-1.9-3.8-3.8-5.7-5.5c-10.1-9.1-21.7-16.4-33.8-22.5c34.8-2.3 65.4-8.4 88.5-16.8c14.9-5.4 25.8-11.5 32.8-17.4c7-6 8.3-10.4 8.3-12.8s-1.3-6.8-8.3-12.8c-6.9-5.9-17.8-12-32.8-17.4C409.3 39 367.2 32 320 32s-89.3 7-119 17.8c-14.9 5.4-25.8 11.5-32.8 17.4c-7 6-8.3 10.4-8.3 12.8zM32 208c0 2.4 1.3 6.8 8.3 12.8c6.9 5.9 17.8 12 32.8 17.4C102.7 249 144.8 256 192 256s89.3-7 119-17.8c14.9-5.4 25.8-11.5 32.8-17.4c7-6 8.3-10.4 8.3-12.8s-1.3-6.8-8.3-12.8c-6.9-5.9-17.8-12-32.8-17.4C281.3 167 239.2 160 192 160s-89.3 7-119 17.8c-14.9 5.4-25.8 11.5-32.8 17.4c-7 6-8.3 10.4-8.3 12.8zM0 208c0-15.3 8.6-27.7 19.4-37c10.9-9.4 25.7-17.1 42.7-23.2C96.1 135.3 142 128 192 128s95.9 7.3 129.9 19.7c16.9 6.2 31.8 13.9 42.7 23.2c10.9 9.3 19.4 21.8 19.4 37l0 104c0 0 0 0 0 0l0 113.9c0 15.4-8.2 28.2-19.1 38s-25.7 17.9-42.7 24.4C288.1 501.3 242 509 192 509s-96.1-7.7-130.1-20.7c-17-6.5-31.8-14.6-42.7-24.4S0 441.3 0 425.9L0 312 0 208zm352 46.1c-8.8 5.4-19 10.1-30.1 14.1C287.9 280.7 242 288 192 288s-95.9-7.3-129.9-19.7c-11.1-4-21.3-8.7-30.1-14.1L32 312c0 3.1 1.6 8 8.5 14.2s17.8 12.6 32.7 18.2C102.9 355.7 144.8 363 192 363s89.1-7.3 118.8-18.6c14.9-5.7 25.8-12 32.7-18.2s8.5-11.1 8.5-14.2l0-57.9zM32 425.9c0 3.1 1.6 8 8.5 14.2s17.8 12.6 32.7 18.2C102.9 469.6 144.8 477 192 477s89.1-7.3 118.8-18.6c14.9-5.7 25.8-12 32.7-18.2s8.5-11.1 8.5-14.2l0-66.2c-8.7 5.6-18.8 10.5-29.9 14.7C288.1 387.4 242 395 192 395s-96.1-7.7-130.1-20.7c-11-4.2-21.1-9.1-29.9-14.7l0 66.2z"]},de={prefix:"fal",iconName:"map-pin",icon:[320,512,[128205],"f276","M160 256a112 112 0 1 0 0-224 112 112 0 1 0 0 224zM304 144c0 74.1-56 135.2-128 143.1L176 496c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-208.9c-72-8-128-69-128-143.1C16 64.5 80.5 0 160 0s144 64.5 144 144zm-192 0c0 8.8-7.2 16-16 16s-16-7.2-16-16c0-44.2 35.8-80 80-80c8.8 0 16 7.2 16 16s-7.2 16-16 16c-26.5 0-48 21.5-48 48z"]},pe={prefix:"fal",iconName:"coin",icon:[512,512,[129689],"f85c","M256 320c66.2 0 124.6-15.2 165.3-38.1C463 258.5 480 231.1 480 208s-17-50.5-58.7-73.9C380.6 111.2 322.2 96 256 96s-124.6 15.2-165.3 38.1C49 157.5 32 184.9 32 208s17 50.5 58.7 73.9C131.4 304.8 189.8 320 256 320zm-80 24.8l0 64.3c20 3.6 41.5 5.8 64 6.6l0-64c-22.2-.8-43.7-3.1-64-6.9zm-32-7.3c-17.2-4.7-33.2-10.5-48-17.1l0 64.7c14.2 6.5 30.3 12.3 48 17l0-64.6zM32 277.8L32 320c0 12.9 8.5 29.9 32 46.8l0-63.6c-12.2-7.8-23-16.3-32-25.5zm240 74l0 64c22.5-.7 44-3 64-6.6l0-64.3c-20.3 3.8-41.8 6.1-64 6.9zm208-74c-9 9.2-19.8 17.7-32 25.5l0 63.6c23.5-16.9 32-34 32-46.8l0-42.2zM368 337.5l0 64.6c17.7-4.7 33.8-10.5 48-17l0-64.7c-14.8 6.7-30.8 12.4-48 17.1zM0 208C0 128.5 114.6 64 256 64s256 64.5 256 144l0 32 0 80c0 70.7-114.6 128-256 128S0 390.7 0 320l0-80 0-32zm256-56c-47.1 0-89.1 7.4-118.7 18.8c-14.8 5.7-25.8 12.2-32.7 18.5C97.7 195.7 96 200.6 96 204s1.7 8.3 8.6 14.7c6.9 6.3 17.8 12.8 32.7 18.5C166.9 248.6 208.9 256 256 256s89.1-7.4 118.7-18.8c14.8-5.7 25.8-12.2 32.7-18.5c6.9-6.3 8.6-11.3 8.6-14.7s-1.7-8.3-8.6-14.7c-6.9-6.3-17.8-12.8-32.7-18.5C345.1 159.4 303.1 152 256 152zm192 52c0 15.4-8.2 28.3-19 38.3c-10.9 9.9-25.7 18.2-42.7 24.7c-34.1 13.2-80.2 21-130.2 21s-96.1-7.8-130.2-21c-17-6.6-31.9-14.8-42.7-24.7c-10.9-9.9-19-22.9-19-38.3s8.2-28.3 19-38.3c10.9-9.9 25.7-18.2 42.7-24.7c34.1-13.2 80.2-21 130.2-21s96.1 7.8 130.2 21c17 6.6 31.9 14.8 42.7 24.7c10.9 9.9 19 22.9 19 38.3z"]},he={prefix:"fal",iconName:"download",icon:[512,512,[],"f019","M272 16c0-8.8-7.2-16-16-16s-16 7.2-16 16l0 313.4L139.3 228.7c-6.2-6.2-16.4-6.2-22.6 0s-6.2 16.4 0 22.6l128 128c6.2 6.2 16.4 6.2 22.6 0l128-128c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0L272 329.4 272 16zM140.1 320L64 320c-35.3 0-64 28.7-64 64l0 64c0 35.3 28.7 64 64 64l384 0c35.3 0 64-28.7 64-64l0-64c0-35.3-28.7-64-64-64l-76.1 0-32 32L448 352c17.7 0 32 14.3 32 32l0 64c0 17.7-14.3 32-32 32L64 480c-17.7 0-32-14.3-32-32l0-64c0-17.7 14.3-32 32-32l108.1 0-32-32zM432 416a24 24 0 1 0 -48 0 24 24 0 1 0 48 0z"]},fe={prefix:"fal",iconName:"mobile",icon:[384,512,[128241,"mobile-android","mobile-phone"],"f3ce","M96 32C78.3 32 64 46.3 64 64l0 384c0 17.7 14.3 32 32 32l192 0c17.7 0 32-14.3 32-32l0-384c0-17.7-14.3-32-32-32L96 32zM32 64C32 28.7 60.7 0 96 0L288 0c35.3 0 64 28.7 64 64l0 384c0 35.3-28.7 64-64 64L96 512c-35.3 0-64-28.7-64-64L32 64zM160 400l64 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-64 0c-8.8 0-16-7.2-16-16s7.2-16 16-16z"]},me={prefix:"fal",iconName:"file-arrow-down",icon:[384,512,["file-download"],"f56d","M320 480L64 480c-17.7 0-32-14.3-32-32L32 64c0-17.7 14.3-32 32-32l128 0 0 112c0 26.5 21.5 48 48 48l112 0 0 256c0 17.7-14.3 32-32 32zM240 160c-8.8 0-16-7.2-16-16l0-111.5c2.8 .7 5.4 2.1 7.4 4.2L347.3 152.6c2.1 2.1 3.5 4.6 4.2 7.4L240 160zM64 0C28.7 0 0 28.7 0 64L0 448c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-284.1c0-12.7-5.1-24.9-14.1-33.9L254.1 14.1c-9-9-21.2-14.1-33.9-14.1L64 0zM208 240c0-8.8-7.2-16-16-16s-16 7.2-16 16l0 121.4-52.7-52.7c-6.2-6.2-16.4-6.2-22.6 0s-6.2 16.4 0 22.6l80 80c6.2 6.2 16.4 6.2 22.6 0l80-80c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0L208 361.4 208 240z"]},ge={prefix:"fal",iconName:"angle-down",icon:[448,512,[8964],"f107","M212.7 363.3c6.2 6.2 16.4 6.2 22.6 0l160-160c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0L224 329.4 75.3 180.7c-6.2-6.2-16.4-6.2-22.6 0s-6.2 16.4 0 22.6l160 160z"]},ve={prefix:"fal",iconName:"location-dot",icon:[384,512,["map-marker-alt"],"f3c5","M352 192c0-88.4-71.6-160-160-160S32 103.6 32 192c0 15.6 5.4 37 16.6 63.4c10.9 25.9 26.2 54 43.6 82.1c34.1 55.3 74.4 108.2 99.9 140c25.4-31.8 65.8-84.7 99.9-140c17.3-28.1 32.7-56.3 43.6-82.1C346.6 229 352 207.6 352 192zm32 0c0 87.4-117 243-168.3 307.2c-12.3 15.3-35.1 15.3-47.4 0C117 435 0 279.4 0 192C0 86 86 0 192 0S384 86 384 192zm-240 0a48 48 0 1 0 96 0 48 48 0 1 0 -96 0zm48 80a80 80 0 1 1 0-160 80 80 0 1 1 0 160z"]},ye={prefix:"fal",iconName:"file",icon:[384,512,[128196,128459,61462],"f15b","M352 448l0-256-112 0c-26.5 0-48-21.5-48-48l0-112L64 32C46.3 32 32 46.3 32 64l0 384c0 17.7 14.3 32 32 32l256 0c17.7 0 32-14.3 32-32zm-.5-288c-.7-2.8-2.1-5.4-4.2-7.4L231.4 36.7c-2.1-2.1-4.6-3.5-7.4-4.2L224 144c0 8.8 7.2 16 16 16l111.5 0zM0 64C0 28.7 28.7 0 64 0L220.1 0c12.7 0 24.9 5.1 33.9 14.1L369.9 129.9c9 9 14.1 21.2 14.1 33.9L384 448c0 35.3-28.7 64-64 64L64 512c-35.3 0-64-28.7-64-64L0 64z"]},Ae={prefix:"fal",iconName:"boxes-stacked",icon:[576,512,[62625,"boxes","boxes-alt"],"f468","M384 32c17.7 0 32 14.3 32 32l0 128 32 0 0-128c0-35.3-28.7-64-64-64L320 0 256 0 192 0c-35.3 0-64 28.7-64 64l0 128 32 0 0-128c0-17.7 14.3-32 32-32l32 0 0 56c0 22.1 17.9 40 40 40l48 0c22.1 0 40-17.9 40-40l0-56 32 0zM256 32l64 0 0 56c0 4.4-3.6 8-8 8l-48 0c-4.4 0-8-3.6-8-8l0-56zm71.6 480L512 512c35.3 0 64-28.7 64-64l0-160c0-35.3-28.7-64-64-64l-64 0-64 0-56.4 0c8.3 9.2 14.8 20.1 19 32l5.5 0 0 31.9c0 0 0 0 0 .1l0 24c0 22.1 17.9 40 40 40l48 0c22.1 0 40-17.9 40-40l0-56 32 0c17.7 0 32 14.3 32 32l0 160c0 17.7-14.3 32-32 32l-165.5 0c-4.2 11.9-10.7 22.8-19 32zM384 256l64 0 0 56c0 4.4-3.6 8-8 8l-48 0c-4.4 0-8-3.6-8-8l0-56zm-128 0c17.7 0 32 14.3 32 32l0 160c0 17.7-14.3 32-32 32L64 480c-17.7 0-32-14.3-32-32l0-160c0-17.7 14.3-32 32-32l32 0 0 56c0 22.1 17.9 40 40 40l48 0c22.1 0 40-17.9 40-40l0-56 32 0zM128 312l0-56 64 0 0 56c0 4.4-3.6 8-8 8l-48 0c-4.4 0-8-3.6-8-8zm128-88l-32 0-32 0-64 0-32 0-32 0c-35.3 0-64 28.7-64 64L0 448c0 35.3 28.7 64 64 64l192 0c35.3 0 64-28.7 64-64l0-160c0-35.3-28.7-64-64-64z"]},be=Ae,we={prefix:"fal",iconName:"link",icon:[640,512,[128279,"chain"],"f0c1","M591.5 256c50-50 50-131 0-181s-131-50-181 0L387.9 97.6c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0l22.6-22.6c37.5-37.5 98.3-37.5 135.8 0s37.5 98.3 0 135.8L444.3 357.9c-37.4 37.4-98.1 37.4-135.6 0c-35.6-35.6-37.6-92.6-4.7-130.6l5.3-6.1c5.8-6.7 5.1-16.8-1.6-22.6s-16.8-5.1-22.6 1.6l-5.3 6.1c-43.9 50.7-41.2 126.7 6.2 174.1c49.9 49.9 130.9 49.9 180.8 0L591.5 256zM48.5 256c-50 50-50 131 0 181s131 50 181 0l22.6-22.6c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0l-22.6 22.6c-37.5 37.5-98.3 37.5-135.8 0s-37.5-98.3 0-135.8L195.7 154.1c37.4-37.4 98.1-37.4 135.6 0c35.6 35.6 37.6 92.6 4.7 130.6l-5.3 6.1c-5.8 6.7-5.1 16.8 1.6 22.6s16.8 5.1 22.6-1.6l5.3-6.1c43.9-50.7 41.2-126.7-6.2-174.1C303.9 81.5 223 81.5 173 131.4L48.5 256z"]},xe={prefix:"fal",iconName:"magnifying-glass",icon:[512,512,[128269,"search"],"f002","M384 208A176 176 0 1 0 32 208a176 176 0 1 0 352 0zM343.3 366C307 397.2 259.7 416 208 416C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208c0 51.7-18.8 99-50 135.3L507.3 484.7c6.2 6.2 6.2 16.4 0 22.6s-16.4 6.2-22.6 0L343.3 366z"]},Ce=xe,Se={prefix:"fal",iconName:"ranking-star",icon:[640,512,[],"e561","M300.5 77.2l-3.7 7.5-8.3 1.2L245 92.2 276.6 123l6 5.9-1.4 8.3-7.4 43.3 39-20.6 7.4-3.9 7.5 3.9 38.7 20.3-7.4-43.3-1.4-8.3 6.1-5.9 31.4-30.3-43.4-6.3-8.3-1.2-3.7-7.5L320 37.8 300.5 77.2zm-5-62c10.3-20.6 39.4-19.9 49.1 .1l19.9 40.2 44 6.3 .2 0s0 0 0 0c22.1 3.4 31.5 30.6 15.3 46.9l-.2 .2s0 0 0 0l-31.9 30.8 7.5 43.7 0 .3s0 0 0 0c3.4 22-19.5 39.1-39.8 28.9l-.3-.1s0 0 0 0L320.2 192l-39.5 20.9-.3 .2s0 0 0 0c-20.3 10.2-43.2-6.9-39.8-28.9l0-.3s0 0 0 0l7.5-43.8-31.9-31.1-.2-.2s0 0 0 0c-16.2-16.2-6.7-43.5 15.3-46.9l.2 0s0 0 0 0l44-6.3 19.9-40.2c0 0 0 0 0 0zM192 368l0 96c0 26.5-21.5 48-48 48l-96 0c-26.5 0-48-21.5-48-48l0-96c0-26.5 21.5-48 48-48l96 0c26.5 0 48 21.5 48 48zm224 64l0 32c0 26.5-21.5 48-48 48l-96 0c-26.5 0-48-21.5-48-48l0-96 0-64c0-26.5 21.5-48 48-48l96 0c26.5 0 48 21.5 48 48l0 128zM256 304l0 160c0 8.8 7.2 16 16 16l96 0c8.8 0 16-7.2 16-16l0-160c0-8.8-7.2-16-16-16l-96 0c-8.8 0-16 7.2-16 16zM32 368l0 96c0 8.8 7.2 16 16 16l96 0c8.8 0 16-7.2 16-16l0-96c0-8.8-7.2-16-16-16l-96 0c-8.8 0-16 7.2-16 16zm448 64l0 32c0 8.8 7.2 16 16 16l96 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-96 0c-8.8 0-16 7.2-16 16zm16-48l96 0c26.5 0 48 21.5 48 48l0 32c0 26.5-21.5 48-48 48l-96 0c-26.5 0-48-21.5-48-48l0-32c0-26.5 21.5-48 48-48z"]},ke={prefix:"fal",iconName:"plus",icon:[448,512,[10133,61543,"add"],"2b","M240 64c0-8.8-7.2-16-16-16s-16 7.2-16 16l0 176L32 240c-8.8 0-16 7.2-16 16s7.2 16 16 16l176 0 0 176c0 8.8 7.2 16 16 16s16-7.2 16-16l0-176 176 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-176 0 0-176z"]},Ee={prefix:"fal",iconName:"xmark",icon:[384,512,[128473,10005,10006,10060,215,"close","multiply","remove","times"],"f00d","M324.5 411.1c6.2 6.2 16.4 6.2 22.6 0s6.2-16.4 0-22.6L214.6 256 347.1 123.5c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0L192 233.4 59.6 100.9c-6.2-6.2-16.4-6.2-22.6 0s-6.2 16.4 0 22.6L169.4 256 36.9 388.5c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0L192 278.6 324.5 411.1z"]},Ie=Ee,_e=Ee,Pe={prefix:"fal",iconName:"arrows-up-down-left-right",icon:[512,512,["arrows"],"f047","M267.3 4.7c-6.2-6.2-16.4-6.2-22.6 0l-72 72c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0L240 54.6 240 240 54.6 240l44.7-44.7c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0l-72 72c-6.2 6.2-6.2 16.4 0 22.6l72 72c6.2 6.2 16.4 6.2 22.6 0s6.2-16.4 0-22.6L54.6 272 240 272l0 185.4-44.7-44.7c-6.2-6.2-16.4-6.2-22.6 0s-6.2 16.4 0 22.6l72 72c6.2 6.2 16.4 6.2 22.6 0l72-72c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0L272 457.4 272 272l185.4 0-44.7 44.7c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0l72-72c6.2-6.2 6.2-16.4 0-22.6l-72-72c-6.2-6.2-16.4-6.2-22.6 0s-6.2 16.4 0 22.6L457.4 240 272 240l0-185.4 44.7 44.7c6.2 6.2 16.4 6.2 22.6 0s6.2-16.4 0-22.6l-72-72z"]},Oe={prefix:"fal",iconName:"angle-up",icon:[448,512,[8963],"f106","M212.7 148.7c6.2-6.2 16.4-6.2 22.6 0l160 160c6.2 6.2 6.2 16.4 0 22.6s-16.4 6.2-22.6 0L224 182.6 75.3 331.3c-6.2 6.2-16.4 6.2-22.6 0s-6.2-16.4 0-22.6l160-160z"]},Te={prefix:"fal",iconName:"arrow-right-to-line",icon:[448,512,[8677,"arrow-to-right"],"f340","M448 80c0-8.8-7.2-16-16-16s-16 7.2-16 16l0 352c0 8.8 7.2 16 16 16s16-7.2 16-16l0-352zM347.3 267.3c6.2-6.2 6.2-16.4 0-22.6l-128-128c-6.2-6.2-16.4-6.2-22.6 0s-6.2 16.4 0 22.6L297.4 240 192 240 16 240c-8.8 0-16 7.2-16 16s7.2 16 16 16l176 0 105.4 0L196.7 372.7c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0l128-128z"]},De=Te,je={prefix:"fal",iconName:"angles-left",icon:[512,512,[171,"angle-double-left"],"f100","M68.1 245.3c-5.5 6.1-5.5 15.3 0 21.4l144 160c5.9 6.6 16 7.1 22.6 1.2s7.1-16 1.2-22.6L101.5 256 235.9 106.7c5.9-6.6 5.4-16.7-1.2-22.6s-16.7-5.4-22.6 1.2l-144 160zm336-160l-144 160c-5.5 6.1-5.5 15.3 0 21.4l144 160c5.9 6.6 16 7.1 22.6 1.2s7.1-16 1.2-22.6L293.5 256 427.9 106.7c5.9-6.6 5.4-16.7-1.2-22.6s-16.7-5.4-22.6 1.2z"]},Be=je,Ne={prefix:"fal",iconName:"file-export",icon:[576,512,["arrow-right-from-file"],"f56e","M352 448c0 17.7-14.3 32-32 32L64 480c-17.7 0-32-14.3-32-32L32 64c0-17.7 14.3-32 32-32l128 0 0 112c0 26.5 21.5 48 48 48l112 0 0 64 32 0 0-92.1c0-12.7-5.1-24.9-14.1-33.9L254.1 14.1c-9-9-21.2-14.1-33.9-14.1L64 0C28.7 0 0 28.7 0 64L0 448c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-80-32 0 0 80zm-.5-288L240 160c-8.8 0-16-7.2-16-16l0-111.5c2.8 .7 5.4 2.1 7.4 4.2L347.3 152.6c2.1 2.1 3.5 4.6 4.2 7.4zm123.8 52.7c-6.2-6.2-16.4-6.2-22.6 0s-6.2 16.4 0 22.6L521.4 304 208 304c-8.8 0-16 7.2-16 16s7.2 16 16 16l313.4 0-68.7 68.7c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0l96-96c6.2-6.2 6.2-16.4 0-22.6l-96-96z"]},Me={prefix:"fal",iconName:"bags-shopping",icon:[576,512,[128717],"f847","M160 96c0-35.3 28.7-64 64-64s64 28.7 64 64l0 64-128 0 0-64zm-32 64l-64 0c-35.3 0-64 28.7-64 64L0 416c0 35.3 28.7 64 64 64l96 0 0-32-96 0c-17.7 0-32-14.3-32-32l0-192c0-17.7 14.3-32 32-32l320 0c17.7 0 32 14.3 32 32l32 0c0-35.3-28.7-64-64-64l-64 0 0-64c0-53-43-96-96-96s-96 43-96 96l0 64zM512 288c17.7 0 32 14.3 32 32l0 128c0 17.7-14.3 32-32 32l-256 0c-17.7 0-32-14.3-32-32l0-128c0-17.7 14.3-32 32-32l256 0zM192 320l0 128c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-128c0-35.3-28.7-64-64-64l-256 0c-35.3 0-64 28.7-64 64zm128 16c0-8.8-7.2-16-16-16s-16 7.2-16 16l0 16c0 53 43 96 96 96s96-43 96-96l0-16c0-8.8-7.2-16-16-16s-16 7.2-16 16l0 16c0 35.3-28.7 64-64 64s-64-28.7-64-64l0-16z"]},Re={prefix:"fal",iconName:"grip-dots-vertical",icon:[256,512,[],"e411","M64 96A16 16 0 1 0 32 96a16 16 0 1 0 32 0zM0 96a48 48 0 1 1 96 0A48 48 0 1 1 0 96zM64 256a16 16 0 1 0 -32 0 16 16 0 1 0 32 0zM0 256a48 48 0 1 1 96 0A48 48 0 1 1 0 256zM48 432a16 16 0 1 0 0-32 16 16 0 1 0 0 32zm0-64a48 48 0 1 1 0 96 48 48 0 1 1 0-96zM224 96a16 16 0 1 0 -32 0 16 16 0 1 0 32 0zm-64 0a48 48 0 1 1 96 0 48 48 0 1 1 -96 0zm48 176a16 16 0 1 0 0-32 16 16 0 1 0 0 32zm0-64a48 48 0 1 1 0 96 48 48 0 1 1 0-96zm16 208a16 16 0 1 0 -32 0 16 16 0 1 0 32 0zm-64 0a48 48 0 1 1 96 0 48 48 0 1 1 -96 0z"]},Le={prefix:"fal",iconName:"check",icon:[448,512,[10003,10004],"f00c","M443.3 100.7c6.2 6.2 6.2 16.4 0 22.6l-272 272c-6.2 6.2-16.4 6.2-22.6 0l-144-144c-6.2-6.2-6.2-16.4 0-22.6s16.4-6.2 22.6 0L160 361.4 420.7 100.7c6.2-6.2 16.4-6.2 22.6 0z"]},Fe={prefix:"fal",iconName:"triangle-exclamation",icon:[512,512,[9888,"exclamation-triangle","warning"],"f071","M34.5 420.4c-1.6 2.8-2.5 6-2.5 9.3c0 10.2 8.2 18.4 18.4 18.4l411.2 0c10.2 0 18.4-8.2 18.4-18.4c0-3.3-.9-6.4-2.5-9.3L276.5 75.8C272.2 68.5 264.4 64 256 64s-16.2 4.5-20.5 11.8L34.5 420.4zM6.9 404.2l201-344.6C217.9 42.5 236.2 32 256 32s38.1 10.5 48.1 27.6l201 344.6c4.5 7.7 6.9 16.5 6.9 25.4c0 27.8-22.6 50.4-50.4 50.4L50.4 480C22.6 480 0 457.4 0 429.6c0-8.9 2.4-17.7 6.9-25.4zM256 160c8.8 0 16 7.2 16 16l0 128c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-128c0-8.8 7.2-16 16-16zM232 384a24 24 0 1 1 48 0 24 24 0 1 1 -48 0z"]},ze=Fe,Qe={prefix:"fal",iconName:"exclamation",icon:[128,512,[10069,10071,61738],"21","M80 48c0-8.8-7.2-16-16-16s-16 7.2-16 16l0 304c0 8.8 7.2 16 16 16s16-7.2 16-16L80 48zM64 472a24 24 0 1 0 0-48 24 24 0 1 0 0 48z"]},Ue={prefix:"fal",iconName:"handshake-simple",icon:[640,512,[129309,"handshake-alt"],"f4c6","M263.9 64l8.7 0L237.4 99.2c-16.6 4.1-32.2 11.9-45.5 23.1l-40.5 34c-2.9 2.4-6.5 3.8-10.3 3.8L48 160c-8.8 0-16-7.2-16-16s7.2-16 16-16l87.3 0 36-30.3C197.2 76 230 64 263.9 64zm28.4 35c23.8-22.5 55.3-35 88.1-35c30.2 0 59.4 10.6 82.5 30.1L503.3 128l88.7 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-94.5 0c-3.8 0-7.4-1.3-10.3-3.8l-44.8-37.7C425 104 403.1 96 380.4 96c-24.6 0-48.2 9.4-66.1 26.3l-79.4 75c-14.9 14.1-14.6 38 .8 51.6c13.5 12 33.8 11.8 47-.4l76.1-70.2c6.5-6 16.6-5.6 22.6 .9s5.6 16.6-.9 22.6l-8.1 7.5L458 294.8c7 7 12.1 15.2 15.1 24l118.9 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-116.2 0c-2.3 13.8-9.2 27-20.6 37c-15.7 14-36.5 18.8-55.7 14.8c-2.7 8.1-7 15.8-13 22.5c-23 25.9-62 28.6-88.4 7.3c-.8 .7-1.5 1.5-2.3 2.2c-26.4 23.6-66.7 22.5-91.8-2.6l-24.3-24.3-.1-.1-15.4-15.4-28.6-28.6c-7.5-7.5-17.7-11.7-28.3-11.7L48 352c-8.8 0-16-7.2-16-16s7.2-16 16-16l59.4 0c19.1 0 37.4 7.6 50.9 21.1l28.6 28.6 39.9 39.8c13.1 13.1 34 13.6 47.8 1.3c3.2-2.9 5.8-6.2 7.6-9.8c2.4-4.5 6.7-7.6 11.8-8.4s10.1 .9 13.7 4.5l8.1 8.1c13.1 13.1 34.6 12.5 46.9-1.4c5.8-6.5 8.5-14.7 8.1-22.9c-.3-6 2.8-11.6 8-14.6s11.6-2.8 16.6 .5c11.8 7.6 27.6 6.7 38.6-3c13.7-12.2 14.4-33.5 1.4-46.5L348.9 231l-44.5 41c-25.3 23.4-64.2 23.7-90 .8C185 246.7 184.3 201 212.9 174l79.4-75z"]},Ve={prefix:"fal",iconName:"barcode",icon:[512,512,[],"f02a","M0 48c0-8.8 7.2-16 16-16s16 7.2 16 16l0 416c0 8.8-7.2 16-16 16s-16-7.2-16-16L0 48zm64 0c0-8.8 7.2-16 16-16s16 7.2 16 16l0 416c0 8.8-7.2 16-16 16s-16-7.2-16-16L64 48zm80-16c8.8 0 16 7.2 16 16l0 416c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-416c0-8.8 7.2-16 16-16zm80 16c0-8.8 7.2-16 16-16s16 7.2 16 16l0 416c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-416zm80-16c8.8 0 16 7.2 16 16l0 416c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-416c0-8.8 7.2-16 16-16zm80 16c0-8.8 7.2-16 16-16s16 7.2 16 16l0 416c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-416zM496 32c8.8 0 16 7.2 16 16l0 416c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-416c0-8.8 7.2-16 16-16z"]}},22360:(e,t,n)=>{"use strict";n.d(t,{$MS:()=>le,$sC:()=>Me,A4h:()=>it,AdY:()=>De,BEE:()=>a,B_w:()=>pt,Bwz:()=>V,C97:()=>ne,CCK:()=>y,CeG:()=>je,DO5:()=>Y,DX_:()=>Se,Dfk:()=>q,E4F:()=>Mt,EZy:()=>Qe,EvL:()=>me,F6g:()=>G,FK2:()=>Fe,FsV:()=>W,G7W:()=>z,GF6:()=>xt,GRI:()=>wt,HCy:()=>U,INu:()=>dt,Inp:()=>k,Int:()=>Pt,JV0:()=>nt,Jt$:()=>ut,Ju_:()=>ge,Jyw:()=>yt,K$j:()=>E,K3L:()=>qe,KTq:()=>ee,LCj:()=>S,LFz:()=>I,LJS:()=>ce,LtC:()=>b,MT7:()=>_,MjD:()=>lt,N_J:()=>at,O3E:()=>J,OKC:()=>ke,ORS:()=>ft,OYj:()=>f,O_q:()=>Be,P0b:()=>N,QJT:()=>Ft,QLL:()=>de,QLR:()=>gt,QRE:()=>ie,SGM:()=>oe,T8I:()=>pe,TSx:()=>ze,Tu5:()=>ct,USd:()=>X,Uec:()=>Nt,VH5:()=>H,W1p:()=>ve,WSb:()=>Ve,WWd:()=>ht,WfV:()=>O,WxX:()=>l,X46:()=>Q,XkK:()=>Ct,Y$q:()=>te,YEm:()=>h,ZMv:()=>m,ZpR:()=>P,_$s:()=>We,__G:()=>Ut,_w9:()=>$,a$:()=>Ge,ao0:()=>L,bE_:()=>Ue,bnw:()=>Vt,buE:()=>rt,c7N:()=>Qt,cNj:()=>p,cbP:()=>Je,dmS:()=>be,e68:()=>Bt,fmL:()=>se,fny:()=>ye,gdJ:()=>D,hSh:()=>Pe,hiR:()=>Z,hod:()=>v,hpd:()=>Ie,iW_:()=>Le,isI:()=>zt,iuH:()=>bt,iwy:()=>R,jBL:()=>g,jPR:()=>mt,jwR:()=>ue,mEO:()=>Re,mHA:()=>et,mh:()=>fe,nx5:()=>Ke,o1d:()=>Ot,o97:()=>ot,oZK:()=>vt,omj:()=>kt,p7g:()=>B,pS3:()=>Ee,qIE:()=>he,qcK:()=>we,qj_:()=>T,rC2:()=>w,rCU:()=>It,s0Q:()=>Gt,s7H:()=>jt,tUE:()=>C,tdl:()=>tt,v02:()=>Ze,v3E:()=>xe,vmR:()=>M,vmT:()=>Tt,w2A:()=>j,w6m:()=>Ae,w97:()=>A,wQq:()=>Ye,wXH:()=>i,wq_:()=>He,x4K:()=>ae,xdS:()=>Ce,yHR:()=>re,yLS:()=>Oe,yYc:()=>At,ygW:()=>u,zpE:()=>Lt});const r={prefix:"far",iconName:"message",icon:[512,512,["comment-alt"],"f27a","M160 368c26.5 0 48 21.5 48 48l0 16 72.5-54.4c8.3-6.2 18.4-9.6 28.8-9.6L448 368c8.8 0 16-7.2 16-16l0-288c0-8.8-7.2-16-16-16L64 48c-8.8 0-16 7.2-16 16l0 288c0 8.8 7.2 16 16 16l96 0zm48 124l-.2 .2-5.1 3.8-17.1 12.8c-4.8 3.6-11.3 4.2-16.8 1.5s-8.8-8.2-8.8-14.3l0-21.3 0-6.4 0-.3 0-4 0-48-48 0-48 0c-35.3 0-64-28.7-64-64L0 64C0 28.7 28.7 0 64 0L448 0c35.3 0 64 28.7 64 64l0 288c0 35.3-28.7 64-64 64l-138.7 0L208 492z"]},i=r,o={prefix:"far",iconName:"calendar-days",icon:[448,512,["calendar-alt"],"f073","M152 24c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 40L64 64C28.7 64 0 92.7 0 128l0 16 0 48L0 448c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-256 0-48 0-16c0-35.3-28.7-64-64-64l-40 0 0-40c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 40L152 64l0-40zM48 192l80 0 0 56-80 0 0-56zm0 104l80 0 0 64-80 0 0-64zm128 0l96 0 0 64-96 0 0-64zm144 0l80 0 0 64-80 0 0-64zm80-48l-80 0 0-56 80 0 0 56zm0 160l0 40c0 8.8-7.2 16-16 16l-64 0 0-56 80 0zm-128 0l0 56-96 0 0-56 96 0zm-144 0l0 56-64 0c-8.8 0-16-7.2-16-16l0-40 80 0zM272 248l-96 0 0-56 96 0 0 56z"]},a=o,s={prefix:"far",iconName:"angles-down",icon:[448,512,["angle-double-down"],"f103","M401 113L241 273c-9.4 9.4-24.6 9.4-33.9 0L47 113c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l143 143L367 79c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9zm0 192L241 465c-9.4 9.4-24.6 9.4-33.9 0L47 305c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l143 143L367 271c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z"]},l=s,c={prefix:"far",iconName:"location-plus",icon:[384,512,["map-marker-plus"],"f60a","M336 192c0-79.5-64.5-144-144-144S48 112.5 48 192c0 12.4 4.5 31.6 15.3 57.2c10.5 24.8 25.4 52.2 42.5 79.9c28.5 46.2 61.5 90.8 86.2 122.6c24.8-31.8 57.8-76.4 86.2-122.6c17.1-27.7 32-55.1 42.5-79.9C331.5 223.6 336 204.4 336 192zm48 0c0 87.4-117 243-168.3 307.2c-12.3 15.3-35.1 15.3-47.4 0C117 435 0 279.4 0 192C0 86 86 0 192 0S384 86 384 192zM168 280l0-64-64 0c-13.3 0-24-10.7-24-24s10.7-24 24-24l64 0 0-64c0-13.3 10.7-24 24-24s24 10.7 24 24l0 64 64 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-64 0 0 64c0 13.3-10.7 24-24 24s-24-10.7-24-24z"]},u=c,d={prefix:"far",iconName:"pencil",icon:[512,512,[9999,61504,"pencil-alt"],"f303","M36.4 360.9L13.4 439 1 481.2C-1.5 489.7 .8 498.8 7 505s15.3 8.5 23.7 6.1L73 498.6l78.1-23c10.4-3 20.1-8 28.6-14.5l.3 .2 .5-.8c1.4-1.1 2.7-2.2 4-3.3c1.4-1.2 2.7-2.5 4-3.8L492.7 149.3c21.9-21.9 24.6-55.6 8.2-80.5c-2.3-3.5-5.1-6.9-8.2-10L453.3 19.3c-25-25-65.5-25-90.5 0L58.6 323.5c-2.5 2.5-4.9 5.2-7.1 8l-.8 .5 .2 .3c-6.5 8.5-11.4 18.2-14.5 28.6zM383 191L197.4 376.6l-49.6-12.4-12.4-49.6L321 129 383 191zM97 358.9l7.7 31c2.1 8.6 8.9 15.3 17.5 17.5l31 7.7-7.4 11.2c-2.6 1.4-5.3 2.6-8.1 3.4l-23.4 6.9L59.4 452.6l16.1-54.8 6.9-23.4c.8-2.8 2-5.6 3.4-8.1L97 358.9zM315.3 218.7c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0l-96 96c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0l96-96z"]},p=d,h={prefix:"far",iconName:"clipboard-list",icon:[384,512,[],"f46d","M320 64l-40 0-9.6 0C263 27.5 230.7 0 192 0s-71 27.5-78.4 64L104 64 64 64C28.7 64 0 92.7 0 128L0 448c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64zM80 112l0 24c0 13.3 10.7 24 24 24l88 0 88 0c13.3 0 24-10.7 24-24l0-24 16 0c8.8 0 16 7.2 16 16l0 320c0 8.8-7.2 16-16 16L64 464c-8.8 0-16-7.2-16-16l0-320c0-8.8 7.2-16 16-16l16 0zm88-32a24 24 0 1 1 48 0 24 24 0 1 1 -48 0zM136 272a24 24 0 1 0 -48 0 24 24 0 1 0 48 0zm40-16c-8.8 0-16 7.2-16 16s7.2 16 16 16l96 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-96 0zm0 96c-8.8 0-16 7.2-16 16s7.2 16 16 16l96 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-96 0zm-64 40a24 24 0 1 0 0-48 24 24 0 1 0 0 48z"]},f={prefix:"far",iconName:"truck-ramp-box",icon:[640,512,["truck-loading"],"f4de","M352 88c0-48.6 39.4-88 88-88L616 0c13.3 0 24 10.7 24 24s-10.7 24-24 24L440 48c-22.1 0-40 17.9-40 40l0 272.7 25.7-7 .4-.1c17.6-38.7 56.7-65.6 102-65.6c61.9 0 112 50.1 112 112s-50.1 112-112 112c-59.8 0-108.7-46.9-111.8-106L30.3 511.2c-12.8 3.5-26-4.1-29.5-16.8s4.1-26 16.8-29.5L352 373.8 352 88zM592 400a64 64 0 1 0 -128 0 64 64 0 1 0 128 0zM23.1 207.7c-4.6-17.1 5.6-34.6 22.6-39.2l46.4-12.4 20.7 77.3c2.3 8.5 11.1 13.6 19.6 11.3l30.9-8.3c8.5-2.3 13.6-11.1 11.3-19.6l-20.7-77.3 46.4-12.4c17.1-4.6 34.6 5.6 39.2 22.6l41.4 154.5c4.6 17.1-5.6 34.6-22.6 39.2L103.7 384.9c-17.1 4.6-34.6-5.6-39.2-22.6L23.1 207.7z"]},m=f,g={prefix:"far",iconName:"cloud",icon:[640,512,[9729],"f0c2","M410.8 134.2c-19.3 8.6-42 3.5-55.9-12.5C332.8 96.1 300.3 80 264 80c-66.3 0-120 53.7-120 120c0 0 0 0 0 0s0 0 0 0l0 .2c0 20.4-12.8 38.5-32 45.3C74.6 258.7 48 294.3 48 336c0 53 43 96 96 96l360 0 3.3 0c.6-.1 1.3-.1 1.9-.2c46.2-2.7 82.8-41 82.8-87.8c0-36-21.6-67.1-52.8-80.7c-20.1-8.8-31.6-30-28.1-51.7c.6-3.8 .9-7.7 .9-11.7c0-39.8-32.2-72-72-72c-10.5 0-20.4 2.2-29.2 6.2zM512 479.8l0 .2-8 0-40 0-320 0C64.5 480 0 415.5 0 336c0-62.7 40.1-116 96-135.8l0-.2c0-92.8 75.2-168 168-168c50.9 0 96.4 22.6 127.3 58.3C406.2 83.7 422.6 80 440 80c66.3 0 120 53.7 120 120c0 6.6-.5 13-1.5 19.3c48 21 81.5 68.9 81.5 124.7c0 72.4-56.6 131.6-128 135.8z"]},v={prefix:"far",iconName:"people-arrows",icon:[640,512,["people-arrows-left-right"],"e068","M64 64a64 64 0 1 1 128 0A64 64 0 1 1 64 64zm41.6 144c-16.6 0-30.5 12.8-31.9 29.3l-4.1 49.3C68.8 296 76.2 304 85.6 304l2.4 0 40 0c0 14.3 5.5 28.7 16.4 39.6L192 391.2l0 96.8c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-136-32 0 0 136c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-139.7c-26.5-9.5-44.7-35.8-42.2-65.6l4.1-49.3C29.3 191.9 64 160 105.6 160l44.8 0c27 0 51 13.4 65.5 34.1c-2.6 1.8-5.2 4-7.5 6.3l-28.1 28.1c-4.6-12.1-16.3-20.5-29.9-20.5l-44.8 0zM448 488l0-96.8 47.6-47.6C506.5 332.7 512 318.3 512 304l40 0 2.4 0c9.4 0 16.7-8 15.9-17.3l-4.1-49.3C564.9 220.8 551 208 534.4 208l-44.8 0c-13.5 0-25.2 8.4-29.9 20.5l-28.1-28.1c-2.4-2.4-4.9-4.5-7.5-6.3c14.5-20.7 38.6-34.1 65.5-34.1l44.8 0c41.6 0 76.3 31.9 79.7 73.4l4.1 49.3c2.5 29.8-15.7 56.1-42.2 65.6L576 488c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-136-32 0 0 136c0 13.3-10.7 24-24 24s-24-10.7-24-24zm0-424a64 64 0 1 1 128 0A64 64 0 1 1 448 64zM265 257l-23 23 156.1 0-23-23c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l64 64c9.4 9.4 9.4 24.6 0 33.9l-64 64c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l23-23-156.1 0 23 23c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9l64-64c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z"]},y={prefix:"far",iconName:"hyphen",icon:[320,512,[],"2d","M0 256c0-13.3 10.7-24 24-24l272 0c13.3 0 24 10.7 24 24s-10.7 24-24 24L24 280c-13.3 0-24-10.7-24-24z"]},A={prefix:"far",iconName:"table",icon:[512,512,[],"f0ce","M48 264l0-104 184 0 0 104L48 264zm0 48l184 0 0 120L64 432c-8.8 0-16-7.2-16-16l0-104zM280 432l0-120 184 0 0 104c0 8.8-7.2 16-16 16l-168 0zM464 264l-184 0 0-104 184 0 0 104zM64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l384 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64L64 32z"]},b={prefix:"far",iconName:"rectangle-vertical-history",icon:[576,512,[],"e237","M256 48c-8.8 0-16 7.2-16 16l0 384c0 8.8 7.2 16 16 16l256 0c8.8 0 16-7.2 16-16l0-384c0-8.8-7.2-16-16-16L256 48zM192 64c0-35.3 28.7-64 64-64L512 0c35.3 0 64 28.7 64 64l0 384c0 35.3-28.7 64-64 64l-256 0c-35.3 0-64-28.7-64-64l0-384zM96 72c0-13.3 10.7-24 24-24s24 10.7 24 24l0 368c0 13.3-10.7 24-24 24s-24-10.7-24-24L96 72zM0 120c0-13.3 10.7-24 24-24s24 10.7 24 24l0 272c0 13.3-10.7 24-24 24s-24-10.7-24-24L0 120z"]},w={prefix:"far",iconName:"lightbulb",icon:[384,512,[128161],"f0eb","M297.2 248.9C311.6 228.3 320 203.2 320 176c0-70.7-57.3-128-128-128S64 105.3 64 176c0 27.2 8.4 52.3 22.8 72.9c3.7 5.3 8.1 11.3 12.8 17.7c0 0 0 0 0 0c12.9 17.7 28.3 38.9 39.8 59.8c10.4 19 15.7 38.8 18.3 57.5L109 384c-2.2-12-5.9-23.7-11.8-34.5c-9.9-18-22.2-34.9-34.5-51.8c0 0 0 0 0 0s0 0 0 0c-5.2-7.1-10.4-14.2-15.4-21.4C27.6 247.9 16 213.3 16 176C16 78.8 94.8 0 192 0s176 78.8 176 176c0 37.3-11.6 71.9-31.4 100.3c-5 7.2-10.2 14.3-15.4 21.4c0 0 0 0 0 0s0 0 0 0c-12.3 16.8-24.6 33.7-34.5 51.8c-5.9 10.8-9.6 22.5-11.8 34.5l-48.6 0c2.6-18.7 7.9-38.6 18.3-57.5c11.5-20.9 26.9-42.1 39.8-59.8c0 0 0 0 0 0s0 0 0 0s0 0 0 0c4.7-6.4 9-12.4 12.7-17.7zM192 128c-26.5 0-48 21.5-48 48c0 8.8-7.2 16-16 16s-16-7.2-16-16c0-44.2 35.8-80 80-80c8.8 0 16 7.2 16 16s-7.2 16-16 16zm0 384c-44.2 0-80-35.8-80-80l0-16 160 0 0 16c0 44.2-35.8 80-80 80z"]},x={prefix:"far",iconName:"circle-exclamation",icon:[512,512,["exclamation-circle"],"f06a","M256 48a208 208 0 1 1 0 416 208 208 0 1 1 0-416zm0 464A256 256 0 1 0 256 0a256 256 0 1 0 0 512zm0-384c-13.3 0-24 10.7-24 24l0 112c0 13.3 10.7 24 24 24s24-10.7 24-24l0-112c0-13.3-10.7-24-24-24zm32 224a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z"]},C=x,S={prefix:"far",iconName:"box-taped",icon:[448,512,["box-alt"],"f49a","M261.3 80l81.1 0c6.3 0 12.1 3.7 14.6 9.5L388.4 160 288 160 261.3 80zm-74.7 0L160 160 59.6 160 91 89.5c2.6-5.8 8.3-9.5 14.6-9.5l81.1 0zM160 208l0 48c0 17.7 14.3 32 32 32l64 0c17.7 0 32-14.3 32-32l0-48 112 0 0 208c0 8.8-7.2 16-16 16L64 432c-8.8 0-16-7.2-16-16l0-208 112 0zM400.9 70c-10.3-23.1-33.2-38-58.5-38L105.6 32C80.3 32 57.4 46.9 47.1 70L5.5 163.6c-3.6 8.2-5.5 17-5.5 26L0 416c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-226.4c0-9-1.9-17.8-5.5-26L400.9 70z"]},k=S,E={prefix:"far",iconName:"cart-plus",icon:[576,512,[],"f217","M0 24C0 10.7 10.7 0 24 0L69.5 0c26.9 0 50 19.1 55 45.5l37 194.5 297.6 0c10.9 0 20.4-7.3 23.2-17.8L528.8 49.8c3.4-12.8 16.6-20.4 29.4-16.9s20.4 16.6 16.9 29.4L528.7 234.7c-8.5 31.4-37 53.3-69.5 53.3l-288.5 0 5.4 28.5c2.2 11.3 12.1 19.5 23.6 19.5L488 336c13.3 0 24 10.7 24 24s-10.7 24-24 24l-288.3 0c-34.6 0-64.3-24.6-70.7-58.5L77.4 54.5c-.7-3.8-4-6.5-7.9-6.5L24 48C10.7 48 0 37.3 0 24zM128 464a48 48 0 1 1 96 0 48 48 0 1 1 -96 0zm336-48a48 48 0 1 1 0 96 48 48 0 1 1 0-96zM344 48l0 40 40 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-40 0 0 40c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-40-40 0c-13.3 0-24-10.7-24-24s10.7-24 24-24l40 0 0-40c0-13.3 10.7-24 24-24s24 10.7 24 24z"]},I={prefix:"far",iconName:"pen-to-square",icon:[512,512,["edit"],"f044","M441 58.9L453.1 71c9.4 9.4 9.4 24.6 0 33.9L424 134.1 377.9 88 407 58.9c9.4-9.4 24.6-9.4 33.9 0zM209.8 256.2L344 121.9 390.1 168 255.8 302.2c-2.9 2.9-6.5 5-10.4 6.1l-58.5 16.7 16.7-58.5c1.1-3.9 3.2-7.5 6.1-10.4zM373.1 25L175.8 222.2c-8.7 8.7-15 19.4-18.3 31.1l-28.6 100c-2.4 8.4-.1 17.4 6.1 23.6s15.2 8.5 23.6 6.1l100-28.6c11.8-3.4 22.5-9.7 31.1-18.3L487 138.9c28.1-28.1 28.1-73.7 0-101.8L474.9 25C446.8-3.1 401.2-3.1 373.1 25zM88 64C39.4 64 0 103.4 0 152L0 424c0 48.6 39.4 88 88 88l272 0c48.6 0 88-39.4 88-88l0-112c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 112c0 22.1-17.9 40-40 40L88 464c-22.1 0-40-17.9-40-40l0-272c0-22.1 17.9-40 40-40l112 0c13.3 0 24-10.7 24-24s-10.7-24-24-24L88 64z"]},_=I,P={prefix:"far",iconName:"calendar-exclamation",icon:[448,512,[],"f334","M152 24c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 40L64 64C28.7 64 0 92.7 0 128l0 16 0 48L0 448c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-256 0-48 0-16c0-35.3-28.7-64-64-64l-40 0 0-40c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 40L152 64l0-40zM48 192l352 0 0 256c0 8.8-7.2 16-16 16L64 464c-8.8 0-16-7.2-16-16l0-256zM256 400a32 32 0 1 0 -64 0 32 32 0 1 0 64 0zm-8-152c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 64c0 13.3 10.7 24 24 24s24-10.7 24-24l0-64z"]},O={prefix:"far",iconName:"bag-shopping",icon:[448,512,["shopping-bag"],"f290","M160 112l0 48 128 0 0-48c0-35.3-28.7-64-64-64s-64 28.7-64 64zm-48 96l-64 0 0 208c0 26.5 21.5 48 48 48l256 0c26.5 0 48-21.5 48-48l0-208-64 0 0 56c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-56-128 0 0 56c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-56zm0-48l0-48C112 50.1 162.1 0 224 0s112 50.1 112 112l0 48 64 0c26.5 0 48 21.5 48 48l0 208c0 53-43 96-96 96L96 512c-53 0-96-43-96-96L0 208c0-26.5 21.5-48 48-48l64 0z"]},T=O,D={prefix:"far",iconName:"users",icon:[640,512,[],"f0c0","M144 160A80 80 0 1 0 144 0a80 80 0 1 0 0 160zm368 0A80 80 0 1 0 512 0a80 80 0 1 0 0 160zM0 298.7C0 310.4 9.6 320 21.3 320l213.3 0c.2 0 .4 0 .7 0c-26.6-23.5-43.3-57.8-43.3-96c0-7.6 .7-15 1.9-22.3c-13.6-6.3-28.7-9.7-44.6-9.7l-42.7 0C47.8 192 0 239.8 0 298.7zM405.3 320l213.3 0c11.8 0 21.3-9.6 21.3-21.3C640 239.8 592.2 192 533.3 192l-42.7 0c-15.9 0-31 3.5-44.6 9.7c1.3 7.2 1.9 14.7 1.9 22.3c0 38.2-16.8 72.5-43.3 96c.2 0 .4 0 .7 0zM320 176a48 48 0 1 1 0 96 48 48 0 1 1 0-96zm0 144a96 96 0 1 0 0-192 96 96 0 1 0 0 192zm-58.7 80l117.3 0c39.8 0 73.2 27.2 82.6 64l-282.6 0c9.5-36.8 42.9-64 82.6-64zm0-48C187.7 352 128 411.7 128 485.3c0 14.7 11.9 26.7 26.7 26.7l330.7 0c14.7 0 26.7-11.9 26.7-26.7C512 411.7 452.3 352 378.7 352l-117.3 0z"]},j={prefix:"far",iconName:"chevron-up",icon:[512,512,[],"f077","M239 111c9.4-9.4 24.6-9.4 33.9 0L465 303c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-175-175L81 337c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9L239 111z"]},B={prefix:"far",iconName:"sparkles",icon:[512,512,[10024],"f890","M327.5 85.2c-4.5 1.7-7.5 6-7.5 10.8s3 9.1 7.5 10.8L384 128l21.2 56.5c1.7 4.5 6 7.5 10.8 7.5s9.1-3 10.8-7.5L448 128l56.5-21.2c4.5-1.7 7.5-6 7.5-10.8s-3-9.1-7.5-10.8L448 64 426.8 7.5C425.1 3 420.8 0 416 0s-9.1 3-10.8 7.5L384 64 327.5 85.2zM9.3 240C3.6 242.6 0 248.3 0 254.6s3.6 11.9 9.3 14.5L26.3 277l8.1 3.7 .6 .3 88.3 40.8L164.1 410l.3 .6 3.7 8.1 7.9 17.1c2.6 5.7 8.3 9.3 14.5 9.3s11.9-3.6 14.5-9.3l7.9-17.1 3.7-8.1 .3-.6 40.8-88.3L346 281l.6-.3 8.1-3.7 17.1-7.9c5.7-2.6 9.3-8.3 9.3-14.5s-3.6-11.9-9.3-14.5l-17.1-7.9-8.1-3.7-.6-.3-88.3-40.8L217 99.1l-.3-.6L213 90.3l-7.9-17.1c-2.6-5.7-8.3-9.3-14.5-9.3s-11.9 3.6-14.5 9.3l-7.9 17.1-3.7 8.1-.3 .6-40.8 88.3L35.1 228.1l-.6 .3-8.1 3.7L9.3 240zm83 14.5l51.2-23.6c10.4-4.8 18.7-13.1 23.5-23.5l23.6-51.2 23.6 51.2c4.8 10.4 13.1 18.7 23.5 23.5l51.2 23.6-51.2 23.6c-10.4 4.8-18.7 13.1-23.5 23.5l-23.6 51.2-23.6-51.2c-4.8-10.4-13.1-18.7-23.5-23.5L92.3 254.6zM384 384l-56.5 21.2c-4.5 1.7-7.5 6-7.5 10.8s3 9.1 7.5 10.8L384 448l21.2 56.5c1.7 4.5 6 7.5 10.8 7.5s9.1-3 10.8-7.5L448 448l56.5-21.2c4.5-1.7 7.5-6 7.5-10.8s-3-9.1-7.5-10.8L448 384l-21.2-56.5c-1.7-4.5-6-7.5-10.8-7.5s-9.1 3-10.8 7.5L384 384z"]},N={prefix:"far",iconName:"filters",icon:[640,512,[],"e17e","M233.8 32C210.7 32 192 50.7 192 73.8c0 9.3 3.1 18.4 8.9 25.8L336 272.3l0 63.9c0 12.3 5.6 23.9 15.3 31.5l92.9 73c21 16.5 51.8 1.5 51.8-25.2l0-143.3L631.1 99.6c5.8-7.4 8.9-16.4 8.9-25.8C640 50.7 621.3 32 598.2 32L233.8 32zM378.9 249.2L246.5 80l339 0L453.1 249.2c-3.3 4.2-5.1 9.4-5.1 14.8l0 118.6-64-50.3 0-68.3c0-5.4-1.8-10.6-5.1-14.8zM163.4 96L41.8 96C18.7 96 0 114.7 0 137.8c0 9.3 3.1 18.4 8.9 25.8L144 336.3l0 31.9c0 12.3 5.6 23.9 15.3 31.5l92.9 73c21 16.5 51.8 1.5 51.8-25.2l0-111.3c0 0 0 0 0-.1l0-52.9-9.7-12.5-33.2 42.4c-3.3 4.2-5.1 9.4-5.1 14.8l0 86.6-64-50.3 0-36.3c0-5.4-1.8-10.6-5.1-14.8L54.5 144 195 144l-19.3-24.6c-5.5-7-9.6-15-12.3-23.4z"]},M={prefix:"far",iconName:"angle-right",icon:[320,512,[8250],"f105","M273 239c9.4 9.4 9.4 24.6 0 33.9L113 433c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l143-143L79 113c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0L273 239z"]},R={prefix:"far",iconName:"message-captions",icon:[512,512,["comment-alt-captions"],"e1de","M208 416c0-26.5-21.5-48-48-48l-96 0c-8.8 0-16-7.2-16-16L48 64c0-8.8 7.2-16 16-16l384 0c8.8 0 16 7.2 16 16l0 288c0 8.8-7.2 16-16 16l-138.7 0c-10.4 0-20.5 3.4-28.8 9.6L208 432l0-16zm-.2 76.2l.2-.2 101.3-76L448 416c35.3 0 64-28.7 64-64l0-288c0-35.3-28.7-64-64-64L64 0C28.7 0 0 28.7 0 64L0 352c0 35.3 28.7 64 64 64l48 0 48 0 0 48 0 4 0 .3 0 6.4 0 21.3c0 6.1 3.4 11.6 8.8 14.3s11.9 2.1 16.8-1.5L202.7 496l5.1-3.8zM120 192c-13.3 0-24 10.7-24 24s10.7 24 24 24l144 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-144 0zm224 0c-13.3 0-24 10.7-24 24s10.7 24 24 24l48 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-48 0zM120 272c-13.3 0-24 10.7-24 24s10.7 24 24 24l48 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-48 0zm128 0c-13.3 0-24 10.7-24 24s10.7 24 24 24l144 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-144 0z"]},L={prefix:"far",iconName:"folder",icon:[512,512,[128193,128447,61716,"folder-blank"],"f07b","M0 96C0 60.7 28.7 32 64 32l132.1 0c19.1 0 37.4 7.6 50.9 21.1L289.9 96 448 96c35.3 0 64 28.7 64 64l0 256c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64L0 96zM64 80c-8.8 0-16 7.2-16 16l0 320c0 8.8 7.2 16 16 16l384 0c8.8 0 16-7.2 16-16l0-256c0-8.8-7.2-16-16-16l-161.4 0c-10.6 0-20.8-4.2-28.3-11.7L213.1 87c-4.5-4.5-10.6-7-17-7L64 80z"]},F={prefix:"far",iconName:"pen-clip",icon:[512,512,["pen-alt"],"f305","M320 62.1l42.7-42.7c25-25 65.5-25 90.5 0l39.4 39.4c25 25 25 65.5 0 90.5L229.5 412.5c-48 48-109.2 80.8-175.8 94.1l-25 5c-7.9 1.6-16-.9-21.7-6.6s-8.1-13.8-6.6-21.7l5-25c13.3-66.6 46.1-127.8 94.1-175.8L286.1 96 273 82.9c-9.4-9.4-24.6-9.4-33.9 0L137 185c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9L205.1 49c28.1-28.1 73.7-28.1 101.8 0L320 62.1zm0 67.9L133.5 316.5c-38.8 38.8-66 87.5-78.6 140.7c53.2-12.7 101.9-39.9 140.7-78.6L382.1 192 320 129.9z"]},z=F,Q={prefix:"far",iconName:"user",icon:[448,512,[128100,62144],"f007","M304 128a80 80 0 1 0 -160 0 80 80 0 1 0 160 0zM96 128a128 128 0 1 1 256 0A128 128 0 1 1 96 128zM49.3 464l349.5 0c-8.9-63.3-63.3-112-129-112l-91.4 0c-65.7 0-120.1 48.7-129 112zM0 482.3C0 383.8 79.8 304 178.3 304l91.4 0C368.2 304 448 383.8 448 482.3c0 16.4-13.3 29.7-29.7 29.7L29.7 512C13.3 512 0 498.7 0 482.3z"]},U={prefix:"far",iconName:"box-check",icon:[448,512,[],"f467","M248 80l94.4 0c6.3 0 12.1 3.7 14.6 9.5L388.4 160 248 160l0-80zM48 208l352 0 0 208c0 8.8-7.2 16-16 16L64 432c-8.8 0-16-7.2-16-16l0-208zm152-48L59.6 160 91 89.5c2.6-5.8 8.3-9.5 14.6-9.5L200 80l0 80zM400.9 70c-10.3-23.1-33.2-38-58.5-38L105.6 32C80.3 32 57.4 46.9 47.1 70L5.5 163.6c-3.6 8.2-5.5 17-5.5 26L0 416c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-226.4c0-9-1.9-17.8-5.5-26L400.9 70zM337 265c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-111 111-47-47c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l64 64c9.4 9.4 24.6 9.4 33.9 0L337 265z"]},V={prefix:"far",iconName:"globe",icon:[512,512,[127760],"f0ac","M256 464c7.4 0 27-7.2 47.6-48.4c8.8-17.7 16.4-39.2 22-63.6l-139.2 0c5.6 24.4 13.2 45.9 22 63.6C229 456.8 248.6 464 256 464zM178.5 304l155 0c1.6-15.3 2.5-31.4 2.5-48s-.9-32.7-2.5-48l-155 0c-1.6 15.3-2.5 31.4-2.5 48s.9 32.7 2.5 48zm7.9-144l139.2 0c-5.6-24.4-13.2-45.9-22-63.6C283 55.2 263.4 48 256 48s-27 7.2-47.6 48.4c-8.8 17.7-16.4 39.2-22 63.6zm195.3 48c1.5 15.5 2.2 31.6 2.2 48s-.8 32.5-2.2 48l76.7 0c3.6-15.4 5.6-31.5 5.6-48s-1.9-32.6-5.6-48l-76.7 0zm58.8-48c-21.4-41.1-56.1-74.1-98.4-93.4c14.1 25.6 25.3 57.5 32.6 93.4l65.9 0zm-303.3 0c7.3-35.9 18.5-67.7 32.6-93.4c-42.3 19.3-77 52.3-98.4 93.4l65.9 0zM53.6 208c-3.6 15.4-5.6 31.5-5.6 48s1.9 32.6 5.6 48l76.7 0c-1.5-15.5-2.2-31.6-2.2-48s.8-32.5 2.2-48l-76.7 0zM342.1 445.4c42.3-19.3 77-52.3 98.4-93.4l-65.9 0c-7.3 35.9-18.5 67.7-32.6 93.4zm-172.2 0c-14.1-25.6-25.3-57.5-32.6-93.4l-65.9 0c21.4 41.1 56.1 74.1 98.4 93.4zM256 512A256 256 0 1 1 256 0a256 256 0 1 1 0 512z"]},G={prefix:"far",iconName:"calendar-pen",icon:[448,512,["calendar-edit"],"f333","M128 0c13.3 0 24 10.7 24 24l0 40 144 0 0-40c0-13.3 10.7-24 24-24s24 10.7 24 24l0 40 40 0c35.3 0 64 28.7 64 64l0 16 0 48 0 256c0 35.3-28.7 64-64 64L64 512c-35.3 0-64-28.7-64-64L0 192l0-48 0-16C0 92.7 28.7 64 64 64l40 0 0-40c0-13.3 10.7-24 24-24zM400 192L48 192l0 256c0 8.8 7.2 16 16 16l320 0c8.8 0 16-7.2 16-16l0-256zm-91.2 51c14.7 14.7 14.7 38.6 0 53.3l-14.9 14.9L240.6 258 255.5 243c14.7-14.7 38.6-14.7 53.3 0zM146.1 352.5L218 280.6l53.3 53.3-71.9 71.9c-4.1 4.1-9.2 7-14.9 8.4l-36.6 9.2c-5.5 1.4-11.2-.2-15.2-4.2s-5.6-9.7-4.2-15.2l9.2-36.6c1.4-5.6 4.3-10.8 8.4-14.9z"]},q={prefix:"far",iconName:"ban",icon:[512,512,[128683,"cancel"],"f05e","M385.1 419.1L92.9 126.9C64.8 162.3 48 207.2 48 256c0 114.9 93.1 208 208 208c48.8 0 93.7-16.8 129.1-44.9zm33.9-33.9C447.2 349.7 464 304.8 464 256c0-114.9-93.1-208-208-208c-48.8 0-93.7 16.8-129.1 44.9L419.1 385.1zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256z"]},H={prefix:"far",iconName:"repeat",icon:[512,512,[128257],"f363","M22.8 280C9.6 279.3-.6 268 0 254.8l.4-8C5.3 148.9 86.2 72 184.2 72L304 72l0-36.4C304 15.9 319.9 0 339.6 0c8.8 0 17.3 3.3 23.8 9.1l76.7 69c5.1 4.6 7.9 11 7.9 17.8s-2.9 13.3-7.9 17.8l-76.7 69c-6.5 5.9-15 9.1-23.8 9.1c-19.6 0-35.6-15.9-35.6-35.6l0-36.4-119.8 0C111.7 120 52 176.8 48.4 249.2l-.4 8C47.3 270.4 36 280.6 22.8 280zM352 128.5L388.1 96 352 63.5l0 65zM489.2 232c13.2 .7 23.4 11.9 22.8 25.2l-.4 8C506.7 363.1 425.8 440 327.8 440L208 440l0 36.4c0 19.6-15.9 35.6-35.6 35.6c-8.8 0-17.3-3.3-23.8-9.1l-76.7-69c-5.1-4.6-7.9-11-7.9-17.8s2.9-13.3 7.9-17.8l76.7-69c6.5-5.9 15-9.1 23.8-9.1c19.6 0 35.6 15.9 35.6 35.6l0 36.4 119.8 0c72.5 0 132.2-56.8 135.8-129.2l.4-8c.7-13.2 11.9-23.4 25.2-22.8zM160 383.5L123.9 416 160 448.5l0-65z"]},W={prefix:"far",iconName:"venus-mars",icon:[640,512,[9892],"f228","M176 304a128 128 0 1 0 0-256 128 128 0 1 0 0 256zM352 176c0 89.1-66.2 162.7-152 174.4l0 49.6 48 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-48 0 0 40c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-40-48 0c-13.3 0-24-10.7-24-24s10.7-24 24-24l48 0 0-49.6C66.2 338.7 0 265.1 0 176C0 78.8 78.8 0 176 0s176 78.8 176 176zM271.9 360.6c14.6-7.6 28.1-16.8 40.4-27.5C335.2 354.8 366 368 400 368c70.7 0 128-57.3 128-128s-57.3-128-128-128c-8.6 0-17.1 .9-25.2 2.5c-4.9-15.8-11.6-30.7-19.9-44.7C369.3 66 384.4 64 400 64c39.9 0 76.8 13.3 106.3 35.7L558.1 48 504 48c-13.3 0-24-10.7-24-24s10.7-24 24-24L616 0c13.3 0 24 10.7 24 24l0 112c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-54.1-51.7 51.7C562.7 163.2 576 200.1 576 240c0 97.2-78.8 176-176 176c-50.5 0-96-21.3-128.1-55.4z"]},Y={prefix:"far",iconName:"file-invoice-dollar",icon:[384,512,[],"f571","M336 448l0-288-80 0c-17.7 0-32-14.3-32-32l0-80L64 48c-8.8 0-16 7.2-16 16l0 384c0 8.8 7.2 16 16 16l256 0c8.8 0 16-7.2 16-16zM0 64C0 28.7 28.7 0 64 0L229.5 0c17 0 33.3 6.7 45.3 18.7l90.5 90.5c12 12 18.7 28.3 18.7 45.3L384 448c0 35.3-28.7 64-64 64L64 512c-35.3 0-64-28.7-64-64L0 64zM192 215.6c11 0 20 9 20 20l0 10.1c7.2 1.1 14.2 2.5 20.6 4.1c10.7 2.5 17.4 13.3 14.9 24.1s-13.3 17.4-24.1 14.9c-11-2.6-21.8-4.5-31.7-4.7c-8.2-.1-16.7 1.6-22.4 4.6c-5.2 2.8-5.3 4.7-5.3 5.9c0 .4 0 .4 0 .4c0 0 0 0 0 0c.3 .4 1.4 1.6 4.4 3.2c6.5 3.5 15.8 6 28.6 9.5l.7 .2c11.2 3 25.4 6.8 36.8 13.2c12.4 7 25.2 19.2 25.4 39.3c.3 20.7-11.7 34.8-25.7 42.5c-6.9 3.8-14.6 6.3-22.3 7.8l0 10.1c0 11-9 20-20 20s-20-9-20-20l0-10.8c-10-1.9-19.3-4.8-27.5-7.3c0 0 0 0 0 0c-2.1-.7-4.2-1.3-6.1-1.9c-10.6-3.1-16.6-14.3-13.5-24.9s14.3-16.6 24.9-13.5c2.5 .7 4.9 1.5 7.2 2.2c0 0 0 0 0 0s0 0 0 0c13.6 4.1 24.2 7.3 35.7 7.7c8.9 .3 17.2-1.5 22.4-4.4c4.4-2.5 5.1-4.5 5-6.9l0-.1c0-.5 .2-2-5-4.8c-6.4-3.6-15.7-6.3-28.3-9.7l-1.7-.5c-10.9-2.9-24.5-6.6-35.4-12.4c-12.2-6.5-25.4-18.4-25.6-38.6c-.1-21 13.2-34.4 26.7-41.5c6.7-3.5 14-5.9 21.3-7.3l0-10.3c0-11 9-20 20-20zM96 96l80 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-80 0c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64l80 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-80 0c-8.8 0-16-7.2-16-16s7.2-16 16-16z"]},K={prefix:"far",iconName:"paper-plane-top",icon:[512,512,["paper-plane-alt","send"],"e20a","M133.9 232L65.8 95.9 383.4 232l-249.5 0zm0 48l249.5 0L65.8 416.1l68-136.1zM44.6 34.6C32.3 29.3 17.9 32.3 8.7 42S-2.6 66.3 3.4 78.3L92.2 256 3.4 433.7c-6 12-3.9 26.5 5.3 36.3s23.5 12.7 35.9 7.5l448-192c11.8-5 19.4-16.6 19.4-29.4s-7.6-24.4-19.4-29.4l-448-192z"]},J=K,X={prefix:"far",iconName:"user-group",icon:[640,512,[128101,"user-friends"],"f500","M1.5 458.7c6-45.5 29.2-85.6 62.8-113.6C95.3 319.4 135 304 178.3 304l45.7 0 45.7 0c43.3 0 83 15.4 113.9 41.1c33.6 28 56.8 68.1 62.8 113.6c1 7.7 1.5 15.6 1.5 23.6c0 16.4-13.3 29.7-29.7 29.7l-19.6 0L49.3 512l-19.6 0C13.3 512 0 498.7 0 482.3c0-8 .5-15.9 1.5-23.6zM96 128a128 128 0 1 1 256 0A128 128 0 1 1 96 128zm208 0a80 80 0 1 0 -160 0 80 80 0 1 0 160 0zM178.3 352c-47.8 0-89.5 25.7-112.2 64c-8.6 14.4-14.4 30.7-16.8 48L98 464 350 464l48.8 0c-.4-2.7-.8-5.3-1.4-8c-2.9-14.3-8.2-27.8-15.5-40c-22.7-38.3-64.4-64-112.2-64l-91.4 0zm431 160l-136.9 0c4.9-8.8 7.6-18.9 7.6-29.7c0-65-29.5-123.2-75.9-161.8c4.3-.4 8.7-.5 13.2-.5l61.4 0C567.8 320 640 392.2 640 481.3c0 17-13.8 30.7-30.7 30.7zM432 256c-31 0-59-12.6-79.3-32.9C372.4 196.5 384 163.6 384 128c0-26.8-6.6-52.1-18.3-74.3C384.3 40.1 407.2 32 432 32c61.9 0 112 50.1 112 112s-50.1 112-112 112z"]},Z={prefix:"far",iconName:"layer-plus",icon:[576,512,["layer-group-plus"],"f5ff","M464 4c-11 0-20 9-20 20l0 36-36 0c-11 0-20 9-20 20s9 20 20 20l36 0 0 36c0 11 9 20 20 20s20-9 20-20l0-36 36 0c11 0 20-9 20-20s-9-20-20-20l-36 0 0-36c0-11-9-20-20-20zM288 128c-8.5 0-17 1.7-24.8 5.1L53.9 222.8C40.6 228.5 32 241.5 32 256s8.6 27.5 21.9 33.2l209.3 89.7c7.8 3.4 16.3 5.1 24.8 5.1s17-1.7 24.8-5.1l209.3-89.7c13.3-5.7 21.9-18.8 21.9-33.2s-8.6-27.5-21.9-33.2L312.8 133.1c-7.8-3.4-16.3-5.1-24.8-5.1zm-5.9 49.2c1.9-.8 3.9-1.2 5.9-1.2s4 .4 5.9 1.2L477.7 256 293.9 334.8c-1.9 .8-3.9 1.2-5.9 1.2s-4-.4-5.9-1.2L98.3 256l183.8-78.8zM85.1 337.4L53.9 350.8C40.6 356.5 32 369.5 32 384s8.6 27.5 21.9 33.2l209.3 89.7c7.8 3.4 16.3 5.1 24.8 5.1s17-1.7 24.8-5.1l209.3-89.7c13.3-5.7 21.9-18.8 21.9-33.2s-8.6-27.5-21.9-33.2l-31.2-13.4L430 363.5 477.7 384 293.9 462.8c-1.9 .8-3.9 1.2-5.9 1.2s-4-.4-5.9-1.2L98.3 384 146 363.5 85.1 337.4z"]},$={prefix:"far",iconName:"chart-pie-simple",icon:[512,512,["chart-pie-alt"],"f64e","M495.4 240c9 0 16.6-7 16.6-16C512 100.3 411.7 0 288 0c-9 0-16 7.6-16 16.6L272 240l223.4 0zM176 288c0 26.5 21.5 48 48 48l197.1 0C394.7 410.6 323.6 464 240 464C134 464 48 378 48 272c0-83.6 53.4-154.7 128-181.1L176 288zM224 66.7c0-18.5-15.7-33.3-33.8-29.5C81.5 60.1 0 156.5 0 272C0 404.6 107.5 512 240 512c115.5 0 211.9-81.5 234.8-190.2c3.8-18.1-11-33.8-29.5-33.8L272 288l-48 0 0-48 0-173.3z"]},ee={prefix:"far",iconName:"clipboard",icon:[384,512,[128203],"f328","M280 64l40 0c35.3 0 64 28.7 64 64l0 320c0 35.3-28.7 64-64 64L64 512c-35.3 0-64-28.7-64-64L0 128C0 92.7 28.7 64 64 64l40 0 9.6 0C121 27.5 153.3 0 192 0s71 27.5 78.4 64l9.6 0zM64 112c-8.8 0-16 7.2-16 16l0 320c0 8.8 7.2 16 16 16l256 0c8.8 0 16-7.2 16-16l0-320c0-8.8-7.2-16-16-16l-16 0 0 24c0 13.3-10.7 24-24 24l-88 0-88 0c-13.3 0-24-10.7-24-24l0-24-16 0zm128-8a24 24 0 1 0 0-48 24 24 0 1 0 0 48z"]},te={prefix:"far",iconName:"messages",icon:[640,512,["comments-alt"],"f4b6","M48 72c0-13.3 10.7-24 24-24l272 0c13.3 0 24 10.7 24 24l0 176c0 13.3-10.7 24-24 24l-128 0c-4.7 0-9.4 1.4-13.3 4L144 315.2l0-19.2c0-13.3-10.7-24-24-24l-48 0c-13.3 0-24-10.7-24-24L48 72zM72 0C32.2 0 0 32.2 0 72L0 248c0 39.8 32.2 72 72 72l24 0 0 40c0 8.9 4.9 17 12.7 21.2s17.3 3.7 24.6-1.2l90-60L344 320c39.8 0 72-32.2 72-72l0-176c0-39.8-32.2-72-72-72L72 0zM256 376c0 39.8 32.2 72 72 72l88.7 0 90 60c7.4 4.9 16.8 5.4 24.6 1.2S544 496.9 544 488l0-40 24 0c39.8 0 72-32.2 72-72l0-176c0-39.8-32.2-72-72-72l-120 0 0 48 120 0c13.3 0 24 10.7 24 24l0 176c0 13.3-10.7 24-24 24l-48 0c-13.3 0-24 10.7-24 24l0 19.2L437.3 404c-3.9-2.6-8.6-4-13.3-4l-96 0c-13.3 0-24-10.7-24-24l0-24-48 0 0 24z"]},ne={prefix:"far",iconName:"gift",icon:[512,512,[127873],"f06b","M231.9 44.4C215.7 16.9 186.1 0 154.2 0L152 0C103.4 0 64 39.4 64 88c0 14.4 3.5 28 9.6 40L48 128c-26.5 0-48 21.5-48 48l0 64c0 20.9 13.4 38.7 32 45.3l0 2.7 0 160c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-160 0-2.7c18.6-6.6 32-24.4 32-45.3l0-64c0-26.5-21.5-48-48-48l-25.6 0c6.1-12 9.6-25.6 9.6-40c0-48.6-39.4-88-88-88l-2.2 0c-31.9 0-61.5 16.9-77.7 44.4L256 85.5l-24.1-41zM464 176l0 64-32 0-144 0 0-64 72 0 104 0zm-240 0l0 64L80 240l-32 0 0-64 104 0 72 0zm0 112l0 176L96 464c-8.8 0-16-7.2-16-16l0-160 144 0zm64 176l0-176 144 0 0 160c0 8.8-7.2 16-16 16l-128 0zm72-336l-72 0-1.3 0 34.8-59.2C329.1 55.9 342.9 48 357.8 48l2.2 0c22.1 0 40 17.9 40 40s-17.9 40-40 40zm-136 0l-72 0c-22.1 0-40-17.9-40-40s17.9-40 40-40l2.2 0c14.9 0 28.8 7.9 36.3 20.8L225.3 128l-1.3 0z"]},re={prefix:"far",iconName:"arrow-down-to-line",icon:[384,512,["arrow-to-bottom"],"f33d","M360 480c13.3 0 24-10.7 24-24s-10.7-24-24-24L24 432c-13.3 0-24 10.7-24 24s10.7 24 24 24l336 0zM174.5 344.4c4.5 4.8 10.9 7.6 17.5 7.6s12.9-2.7 17.5-7.6l128-136c9.1-9.7 8.6-24.8-1-33.9s-24.8-8.6-33.9 1L216 267.5l0-83.5 0-128c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 128 0 83.5L81.5 175.6c-9.1-9.7-24.3-10.1-33.9-1s-10.1 24.3-1 33.9l128 136z"]},ie={prefix:"far",iconName:"circle-check",icon:[512,512,[61533,"check-circle"],"f058","M256 48a208 208 0 1 1 0 416 208 208 0 1 1 0-416zm0 464A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM369 209c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-111 111-47-47c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l64 64c9.4 9.4 24.6 9.4 33.9 0L369 209z"]},oe=ie,ae={prefix:"far",iconName:"file-magnifying-glass",icon:[384,512,["file-search"],"f865","M64 464c-8.8 0-16-7.2-16-16L48 64c0-8.8 7.2-16 16-16l160 0 0 80c0 17.7 14.3 32 32 32l80 0 0 288c0 8.8-7.2 16-16 16L64 464zM64 0C28.7 0 0 28.7 0 64L0 448c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-293.5c0-17-6.7-33.3-18.7-45.3L274.7 18.7C262.7 6.7 246.5 0 229.5 0L64 0zM272 304c0-53-43-96-96-96s-96 43-96 96s43 96 96 96c17.8 0 34.4-4.8 48.7-13.2L263 425.1c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9l-38.3-38.3c8.5-14.3 13.3-31 13.3-48.9zm-96-48a48 48 0 1 1 0 96 48 48 0 1 1 0-96z"]},se={prefix:"far",iconName:"certificate",icon:[512,512,[],"f0a3","M178.7 122.2c11.2-6.5 19.3-17.2 22.5-29.8l5.3-20.9 15 15.5c9 9.3 21.4 14.5 34.4 14.5s25.4-5.2 34.4-14.5l15-15.5 5.3 20.9c3.2 12.6 11.3 23.3 22.5 29.8s24.6 8.1 37 4.6l20.8-5.9-5.9 20.8c-3.5 12.5-1.9 25.8 4.6 37s17.2 19.3 29.8 22.5l20.9 5.3-15.5 15c-9.3 9-14.5 21.4-14.5 34.4s5.2 25.4 14.5 34.4l15.5 15-20.9 5.3c-12.6 3.2-23.3 11.3-29.8 22.5s-8.1 24.6-4.6 37l5.9 20.8-20.8-5.9c-12.5-3.5-25.8-1.9-37 4.6s-19.3 17.2-22.5 29.8l-5.3 20.9-15-15.5c-9-9.3-21.4-14.5-34.4-14.5s-25.4 5.2-34.4 14.5l-15 15.5-5.3-20.9c-3.2-12.6-11.3-23.3-22.5-29.8s-24.6-8.1-37-4.6l-20.8 5.9 5.9-20.8c3.5-12.5 1.9-25.8-4.6-37s-17.2-19.3-29.8-22.5l-20.9-5.3 15.5-15c9.3-9 14.5-21.4 14.5-34.4s-5.2-25.4-14.5-34.4l-15.5-15 20.9-5.3c12.6-3.2 23.3-11.3 29.8-22.5s8.1-24.6 4.6-37l-5.9-20.8 20.8 5.9c12.5 3.5 25.8 1.9 37.1-4.6zM222.5 19.1L211 7.3C205 1 196-1.4 187.6 .8s-14.9 8.9-17.1 17.3l-4 15.9L154.7 80.6 108.5 67.5 92.7 63.1c-8.4-2.4-17.4 0-23.5 6.1s-8.5 15.1-6.1 23.5l4.5 15.8 13.1 46.2L34.1 166.5l-15.9 4c-8.4 2.1-15 8.7-17.3 17.1S1 205 7.3 211l11.8 11.5L53.5 256 19.1 289.5 7.3 301C1 307-1.4 316 .8 324.4s8.9 14.9 17.3 17.1l15.9 4 46.5 11.8L67.5 403.5l-4.5 15.8c-2.4 8.4 0 17.4 6.1 23.5s15.1 8.5 23.5 6.1l15.8-4.5 46.2-13.1 11.8 46.5 4 15.9c2.1 8.4 8.7 15 17.1 17.3s17.3-.2 23.4-6.4L222.5 493 256 458.5 289.5 493 301 504.7c6.1 6.2 15 8.7 23.4 6.4s14.9-8.9 17.1-17.3l4-15.9 11.8-46.5 46.2 13.1 15.8 4.5c8.4 2.4 17.4 0 23.5-6.1s8.5-15.1 6.1-23.5l-4.5-15.8-13.1-46.2 46.5-11.8 15.9-4c8.4-2.1 15-8.7 17.3-17.1s-.2-17.4-6.4-23.4L493 289.5 458.5 256 493 222.5 504.7 211c6.2-6.1 8.7-15 6.4-23.4s-8.9-14.9-17.3-17.1l-15.9-4-46.5-11.8 13.1-46.2 4.5-15.8c2.4-8.4 0-17.4-6.1-23.5s-15.1-8.5-23.5-6.1l-15.8 4.5L357.3 80.6 345.5 34.1l-4-15.9c-2.1-8.4-8.7-15-17.1-17.3S307 1 301 7.3L289.5 19.1 256 53.5 222.5 19.1z"]},le={prefix:"far",iconName:"file-import",icon:[512,512,["arrow-right-to-file"],"f56f","M448 464l-256 0c-8.8 0-16-7.2-16-16l0-80-48 0 0 80c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-293.5c0-17-6.7-33.3-18.7-45.3L402.7 18.7C390.7 6.7 374.5 0 357.5 0L192 0c-35.3 0-64 28.7-64 64l0 192 48 0 0-192c0-8.8 7.2-16 16-16l160 0 0 80c0 17.7 14.3 32 32 32l80 0 0 288c0 8.8-7.2 16-16 16zM297 215c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l39 39L24 288c-13.3 0-24 10.7-24 24s10.7 24 24 24l278.1 0-39 39c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l80-80c9.4-9.4 9.4-24.6 0-33.9l-80-80z"]},ce={prefix:"far",iconName:"box-open",icon:[640,512,[],"f49e","M17.2 125.5c-9 17.9 .6 39.6 19.8 45.1l163.3 46.7c13.9 4 28.8-1.9 36.2-14.3L320 64 75.2 33.4c-6.7-.8-13.3 2.7-16.3 8.7L17.2 125.5zM320 64l83.4 139c7.4 12.4 22.3 18.3 36.2 14.3l163.3-46.7c19.3-5.5 28.8-27.2 19.8-45.1L581.1 42.1c-3-6.1-9.6-9.6-16.3-8.7L320 64zm-1.1 64l2.2 0s0 0 0 0l-2.2 0s0 0 0 0zM528 225.3l0 153.2-184 46L344 184c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 240.5-184-46 0-153.2L64 211.6l0 167c0 22 15 41.2 36.4 46.6l204.1 51c10.2 2.5 20.9 2.5 31 0l204.1-51c21.4-5.3 36.4-24.5 36.4-46.6l0-167-48 13.7z"]},ue={prefix:"far",iconName:"text",icon:[448,512,[],"f893","M48 80l0 48c0 13.3-10.7 24-24 24s-24-10.7-24-24L0 72C0 49.9 17.9 32 40 32l368 0c22.1 0 40 17.9 40 40l0 56c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-48L248 80l0 352 48 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-144 0c-13.3 0-24-10.7-24-24s10.7-24 24-24l48 0 0-352L48 80z"]},de={prefix:"far",iconName:"list-tree",icon:[512,512,[],"e1d2","M24 48C10.7 48 0 58.7 0 72l0 48c0 13.3 10.7 24 24 24l0 112 0 128c0 30.9 25.1 56 56 56l48 0c0 13.3 10.7 24 24 24l48 0c13.3 0 24-10.7 24-24l0-48c0-13.3-10.7-24-24-24l-48 0c-13.3 0-24 10.7-24 24l-48 0c-4.4 0-8-3.6-8-8l0-104 56 0c0 13.3 10.7 24 24 24l48 0c13.3 0 24-10.7 24-24l0-48c0-13.3-10.7-24-24-24l-48 0c-13.3 0-24 10.7-24 24l-56 0 0-88c13.3 0 24-10.7 24-24l0-48c0-13.3-10.7-24-24-24L24 48zM160 96c0 13.3 10.7 24 24 24l304 0c13.3 0 24-10.7 24-24s-10.7-24-24-24L184 72c-13.3 0-24 10.7-24 24zM288 256c0 13.3 10.7 24 24 24l176 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-176 0c-13.3 0-24 10.7-24 24zm0 160c0 13.3 10.7 24 24 24l176 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-176 0c-13.3 0-24 10.7-24 24z"]},pe={prefix:"far",iconName:"pallet-box",icon:[640,512,[],"e208","M384 48l0 80c0 5.9-3.2 11.3-8.5 14.1s-11.5 2.5-16.4-.8L320 115.2l-39.1 26.1c-4.9 3.3-11.2 3.6-16.4 .8s-8.5-8.2-8.5-14.1l0-80-80 0 0 192 288 0 0-192-80 0zM128 48c0-26.5 21.5-48 48-48L464 0c26.5 0 48 21.5 48 48l0 192c0 26.5-21.5 48-48 48l-288 0c-26.5 0-48-21.5-48-48l0-192zM0 344c0-13.3 10.7-24 24-24l64 0 232 0 232 0 64 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-40 0 0 96 40 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-64 0-232 0L88 512l-64 0c-13.3 0-24-10.7-24-24s10.7-24 24-24l40 0 0-96-40 0c-13.3 0-24-10.7-24-24zM112 464l184 0 0-96-184 0 0 96zm232 0l184 0 0-96-184 0 0 96z"]},he={prefix:"far",iconName:"layer-group",icon:[576,512,[],"f5fd","M288 0c-8.5 0-17 1.7-24.8 5.1L53.9 94.8C40.6 100.5 32 113.5 32 128s8.6 27.5 21.9 33.2l209.3 89.7c7.8 3.4 16.3 5.1 24.8 5.1s17-1.7 24.8-5.1l209.3-89.7c13.3-5.7 21.9-18.8 21.9-33.2s-8.6-27.5-21.9-33.2L312.8 5.1C305 1.7 296.5 0 288 0zm-5.9 49.2C284 48.4 286 48 288 48s4 .4 5.9 1.2L477.7 128 293.9 206.8c-1.9 .8-3.9 1.2-5.9 1.2s-4-.4-5.9-1.2L98.3 128 282.1 49.2zM53.9 222.8C40.6 228.5 32 241.5 32 256s8.6 27.5 21.9 33.2l209.3 89.7c7.8 3.4 16.3 5.1 24.8 5.1s17-1.7 24.8-5.1l209.3-89.7c13.3-5.7 21.9-18.8 21.9-33.2s-8.6-27.5-21.9-33.2l-31.2-13.4L430 235.5 477.7 256 293.9 334.8c-1.9 .8-3.9 1.2-5.9 1.2s-4-.4-5.9-1.2L98.3 256 146 235.5 85.1 209.4 53.9 222.8zm0 128C40.6 356.5 32 369.5 32 384s8.6 27.5 21.9 33.2l209.3 89.7c7.8 3.4 16.3 5.1 24.8 5.1s17-1.7 24.8-5.1l209.3-89.7c13.3-5.7 21.9-18.8 21.9-33.2s-8.6-27.5-21.9-33.2l-31.2-13.4L430 363.5 477.7 384 293.9 462.8c-1.9 .8-3.9 1.2-5.9 1.2s-4-.4-5.9-1.2L98.3 384 146 363.5 85.1 337.4 53.9 350.8z"]},fe={prefix:"far",iconName:"language",icon:[640,512,[],"f1ab","M64 64C28.7 64 0 92.7 0 128L0 384c0 35.3 28.7 64 64 64l208 0 32 0 16 0 256 0c35.3 0 64-28.7 64-64l0-256c0-35.3-28.7-64-64-64L320 64l-16 0-32 0L64 64zm512 48c8.8 0 16 7.2 16 16l0 256c0 8.8-7.2 16-16 16l-256 0 0-288 256 0zM178.3 175.9l64 144c4.5 10.1-.1 21.9-10.2 26.4s-21.9-.1-26.4-10.2L196.8 316l-73.6 0-8.9 20.1c-4.5 10.1-16.3 14.6-26.4 10.2s-14.6-16.3-10.2-26.4l64-144c3.2-7.2 10.4-11.9 18.3-11.9s15.1 4.7 18.3 11.9zM179 276l-19-42.8L141 276l38 0zM456 164c-11 0-20 9-20 20l0 4-52 0c-11 0-20 9-20 20s9 20 20 20l72 0 35.1 0c-7.3 16.7-17.4 31.9-29.8 45l-.5-.5-14.6-14.6c-7.8-7.8-20.5-7.8-28.3 0s-7.8 20.5 0 28.3L430 298.3c-5.9 3.6-12.1 6.9-18.5 9.8l-3.6 1.6c-10.1 4.5-14.6 16.3-10.2 26.4s16.3 14.6 26.4 10.2l3.6-1.6c12-5.3 23.4-11.8 34-19.4c4.3 3 8.6 5.8 13.1 8.5l18.9 11.3c9.5 5.7 21.8 2.6 27.4-6.9s2.6-21.8-6.9-27.4l-18.9-11.3c-.9-.5-1.8-1.1-2.7-1.6c17.2-18.8 30.7-40.9 39.6-65.4L534 228l2 0c11 0 20-9 20-20s-9-20-20-20l-16 0-44 0 0-4c0-11-9-20-20-20z"]},me={prefix:"far",iconName:"question",icon:[320,512,[10067,10068,61736],"3f","M64 160c0-44.2 35.8-80 80-80l32 0c44.2 0 80 35.8 80 80l0 4.6c0 24.1-12 46.6-32.1 59.9l-52.3 34.9C149.4 274.2 136 299.2 136 326l0 2c0 13.3 10.7 24 24 24s24-10.7 24-24l0-2c0-10.7 5.3-20.7 14.2-26.6l52.3-34.9c33.4-22.3 53.4-59.7 53.4-99.8l0-4.6c0-70.7-57.3-128-128-128l-32 0C73.3 32 16 89.3 16 160c0 13.3 10.7 24 24 24s24-10.7 24-24zm96 320a32 32 0 1 0 0-64 32 32 0 1 0 0 64z"]},ge={prefix:"far",iconName:"arrow-up-right-from-square",icon:[512,512,["external-link"],"f08e","M304 24c0 13.3 10.7 24 24 24l102.1 0L207 271c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l223-223L464 184c0 13.3 10.7 24 24 24s24-10.7 24-24l0-160c0-13.3-10.7-24-24-24L328 0c-13.3 0-24 10.7-24 24zM72 32C32.2 32 0 64.2 0 104L0 440c0 39.8 32.2 72 72 72l336 0c39.8 0 72-32.2 72-72l0-128c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 128c0 13.3-10.7 24-24 24L72 464c-13.3 0-24-10.7-24-24l0-336c0-13.3 10.7-24 24-24l128 0c13.3 0 24-10.7 24-24s-10.7-24-24-24L72 32z"]},ve={prefix:"far",iconName:"chart-pie",icon:[576,512,["pie-chart"],"f200","M493.1 192L352 192l0-141.1C423.5 64 480 120.5 493.1 192zM352 240l175.4 0c9 0 16.6-7 16.6-16C544 100.3 443.7 0 320 0c-9 0-16 7.6-16 16.6L304 192l0 48 48 0zM222.1 321.9L348.4 448.2C325 458.4 299.2 464 272 464C166 464 80 378 80 272c0-83.6 53.4-154.7 128-181.1L208 288c0 12.7 5.1 24.9 14.1 33.9zM239 34.3C122.1 50.3 32 150.7 32 272c0 132.5 107.5 240 240 240c51.8 0 99.8-16.4 139-44.3c7.7-5.5 8.2-16.5 1.5-23.1L256 288l0-238.4c0-9.2-7.8-16.6-17-15.4zM558.4 288L320 288 478.7 446.7c5.8 5.8 15.2 6.3 21.2 .7c39.3-36.7 66.2-86.5 73.9-142.3c1.3-9.2-6.1-17-15.4-17z"]},ye={prefix:"far",iconName:"file-excel",icon:[384,512,[],"f1c3","M48 448L48 64c0-8.8 7.2-16 16-16l160 0 0 80c0 17.7 14.3 32 32 32l80 0 0 288c0 8.8-7.2 16-16 16L64 464c-8.8 0-16-7.2-16-16zM64 0C28.7 0 0 28.7 0 64L0 448c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-293.5c0-17-6.7-33.3-18.7-45.3L274.7 18.7C262.7 6.7 246.5 0 229.5 0L64 0zm90.9 233.3c-8.1-10.5-23.2-12.3-33.7-4.2s-12.3 23.2-4.2 33.7L161.6 320l-44.5 57.3c-8.1 10.5-6.3 25.5 4.2 33.7s25.5 6.3 33.7-4.2L192 359.1l37.1 47.6c8.1 10.5 23.2 12.3 33.7 4.2s12.3-23.2 4.2-33.7L222.4 320l44.5-57.3c8.1-10.5 6.3-25.5-4.2-33.7s-25.5-6.3-33.7 4.2L192 280.9l-37.1-47.6z"]},Ae={prefix:"far",iconName:"location-pin",icon:[384,512,["map-marker"],"f041","M320.7 249.2c-10.5 24.8-25.4 52.2-42.5 79.9C249.8 375.3 216.8 420 192 451.7c-24.8-31.8-57.8-76.4-86.2-122.6c-17.1-27.7-32-55.1-42.5-79.9C52.5 223.6 48 204.4 48 192c0-79.5 64.5-144 144-144s144 64.5 144 144c0 12.4-4.5 31.6-15.3 57.2zm-105 250C267 435 384 279.4 384 192C384 86 298 0 192 0S0 86 0 192c0 87.4 117 243 168.3 307.2c12.3 15.3 35.1 15.3 47.4 0z"]},be={prefix:"far",iconName:"arrow-right",icon:[448,512,[8594],"f061","M440.6 273.4c4.7-4.5 7.4-10.8 7.4-17.4s-2.7-12.8-7.4-17.4l-176-168c-9.6-9.2-24.8-8.8-33.9 .8s-8.8 24.8 .8 33.9L364.1 232 24 232c-13.3 0-24 10.7-24 24s10.7 24 24 24l340.1 0L231.4 406.6c-9.6 9.2-9.9 24.3-.8 33.9s24.3 9.9 33.9 .8l176-168z"]},we={prefix:"far",iconName:"heart",icon:[512,512,[128153,128154,128155,128156,128420,129293,129294,129505,9829,10084,61578],"f004","M225.8 468.2l-2.5-2.3L48.1 303.2C17.4 274.7 0 234.7 0 192.8l0-3.3c0-70.4 50-130.8 119.2-144C158.6 37.9 198.9 47 231 69.6c9 6.4 17.4 13.8 25 22.3c4.2-4.8 8.7-9.2 13.5-13.3c3.7-3.2 7.5-6.2 11.5-9c0 0 0 0 0 0C313.1 47 353.4 37.9 392.8 45.4C462 58.6 512 119.1 512 189.5l0 3.3c0 41.9-17.4 81.9-48.1 110.4L288.7 465.9l-2.5 2.3c-8.2 7.6-19 11.9-30.2 11.9s-22-4.2-30.2-11.9zM239.1 145c-.4-.3-.7-.7-1-1.1l-17.8-20-.1-.1s0 0 0 0c-23.1-25.9-58-37.7-92-31.2C81.6 101.5 48 142.1 48 189.5l0 3.3c0 28.5 11.9 55.8 32.8 75.2L256 430.7 431.2 268c20.9-19.4 32.8-46.7 32.8-75.2l0-3.3c0-47.3-33.6-88-80.1-96.9c-34-6.5-69 5.4-92 31.2c0 0 0 0-.1 .1s0 0-.1 .1l-17.8 20c-.3 .4-.7 .7-1 1.1c-4.5 4.5-10.6 7-16.9 7s-12.4-2.5-16.9-7z"]},xe={prefix:"far",iconName:"recycle",icon:[512,512,[9842,9850,9851],"f1b8","M181.5 40.9C197.7 15.3 226 0 256 0s58.3 15.3 74.5 40.9L392.8 139l6.6-31.8c2.7-13 15.4-21.3 28.3-18.7s21.3 15.4 18.7 28.3l-19.4 94.4c-1.4 6.7-5.6 12.5-11.5 15.9s-13.1 4.2-19.6 2l-91.4-30.4c-12.6-4.2-19.4-17.8-15.2-30.3s17.8-19.4 30.3-15.2l32.2 10.7L290 66.6C282.7 55.1 269.8 48 256 48s-26.7 7.1-34 18.6l-21.5 33.9c-7 11-21.4 14.4-32.6 7.7c-11.6-6.9-15.1-22-7.9-33.4l21.5-33.9zM439 255.5c11.2-6.7 25.6-3.3 32.6 7.7l26.8 42.2c8.8 13.9 13.5 30 13.6 46.4c.3 48.6-39 88.2-87.6 88.2l-137.2 0 24.8 22c9.9 8.8 10.8 24 2 33.9s-24 10.8-33.9 2l-72-64c-5.1-4.6-8.1-11.1-8.1-17.9s2.9-13.4 8.1-17.9l72-64c9.9-8.8 25.1-7.9 33.9 2s7.9 25.1-2 33.9L287.1 392l137.3 0c22 0 39.8-17.9 39.6-39.9c0-7.4-2.2-14.7-6.2-21l-26.8-42.2c-7.2-11.4-3.7-26.5 7.9-33.4zm-311.6 3.7l-6.7-32.8L54.2 331.1c-4 6.3-6.1 13.6-6.2 21c-.1 22 17.7 39.9 39.6 39.9l48.4 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-48.4 0C39 440-.3 400.5 0 351.9c.1-16.4 4.8-32.5 13.6-46.4L78.8 202.8 47.6 213.1c-12.6 4.2-26.2-2.6-30.3-15.2s2.6-26.2 15.2-30.3l91.4-30.4c6.5-2.2 13.6-1.4 19.6 2s10.1 9.2 11.5 15.9l19.4 94.4c2.7 13-5.7 25.7-18.7 28.3s-25.7-5.7-28.3-18.7z"]},Ce={prefix:"far",iconName:"file-image",icon:[384,512,[128443],"f1c5","M64 464c-8.8 0-16-7.2-16-16L48 64c0-8.8 7.2-16 16-16l160 0 0 80c0 17.7 14.3 32 32 32l80 0 0 288c0 8.8-7.2 16-16 16L64 464zM64 0C28.7 0 0 28.7 0 64L0 448c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-293.5c0-17-6.7-33.3-18.7-45.3L274.7 18.7C262.7 6.7 246.5 0 229.5 0L64 0zm96 256a32 32 0 1 0 -64 0 32 32 0 1 0 64 0zm69.2 46.9c-3-4.3-7.9-6.9-13.2-6.9s-10.2 2.6-13.2 6.9l-41.3 59.7-11.9-19.1c-2.9-4.7-8.1-7.5-13.6-7.5s-10.6 2.8-13.6 7.5l-40 64c-3.1 4.9-3.2 11.1-.4 16.2s8.2 8.2 14 8.2l48 0 32 0 40 0 72 0c6 0 11.4-3.3 14.2-8.6s2.4-11.6-1-16.5l-72-104z"]},Se={prefix:"far",iconName:"tags",icon:[512,512,[],"f02c","M345 39.1c-9.3-9.4-24.5-9.5-33.9-.2s-9.5 24.5-.2 33.9L438.6 202.1c33.9 34.3 33.9 89.4 0 123.7L326.7 439.1c-9.3 9.4-9.2 24.6 .2 33.9s24.6 9.2 33.9-.2L472.8 359.6c52.4-53 52.4-138.2 0-191.2L345 39.1zM242.7 50.7c-12-12-28.3-18.7-45.3-18.7L48 32C21.5 32 0 53.5 0 80L0 229.5c0 17 6.7 33.3 18.7 45.3l168 168c25 25 65.5 25 90.5 0L410.7 309.3c25-25 25-65.5 0-90.5l-168-168zM48 80l149.5 0c4.2 0 8.3 1.7 11.3 4.7l168 168c6.2 6.2 6.2 16.4 0 22.6L243.3 408.8c-6.2 6.2-16.4 6.2-22.6 0l-168-168c-3-3-4.7-7.1-4.7-11.3L48 80zm96 64a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z"]},ke={prefix:"far",iconName:"cart-flatbed",icon:[640,512,["dolly-flatbed"],"f474","M24 0C10.7 0 0 10.7 0 24S10.7 48 24 48l48 0c4.4 0 8 3.6 8 8l0 352c0 30.9 25.1 56 56 56l24 0c0 26.5 21.5 48 48 48s48-21.5 48-48l192 0c0 26.5 21.5 48 48 48s48-21.5 48-48l72 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-120 0-288 0-72 0c-4.4 0-8-3.6-8-8l0-352c0-30.9-25.1-56-56-56L24 0zM240 80l96 0 0 96c0 5.9 3.2 11.3 8.5 14.1s11.5 2.5 16.4-.8L400 163.2l39.1 26.1c4.9 3.3 11.2 3.6 16.4 .8s8.5-8.2 8.5-14.1l0-96 96 0 0 224-320 0 0-224zm-48 0l0 224c0 26.5 21.5 48 48 48l320 0c26.5 0 48-21.5 48-48l0-224c0-26.5-21.5-48-48-48L240 32c-26.5 0-48 21.5-48 48z"]},Ee={prefix:"far",iconName:"eye",icon:[576,512,[128065],"f06e","M288 80c-65.2 0-118.8 29.6-159.9 67.7C89.6 183.5 63 226 49.4 256c13.6 30 40.2 72.5 78.6 108.3C169.2 402.4 222.8 432 288 432s118.8-29.6 159.9-67.7C486.4 328.5 513 286 526.6 256c-13.6-30-40.2-72.5-78.6-108.3C406.8 109.6 353.2 80 288 80zM95.4 112.6C142.5 68.8 207.2 32 288 32s145.5 36.8 192.6 80.6c46.8 43.5 78.1 95.4 93 131.1c3.3 7.9 3.3 16.7 0 24.6c-14.9 35.7-46.2 87.7-93 131.1C433.5 443.2 368.8 480 288 480s-145.5-36.8-192.6-80.6C48.6 356 17.3 304 2.5 268.3c-3.3-7.9-3.3-16.7 0-24.6C17.3 208 48.6 156 95.4 112.6zM288 336c44.2 0 80-35.8 80-80s-35.8-80-80-80c-.7 0-1.3 0-2 0c1.3 5.1 2 10.5 2 16c0 35.3-28.7 64-64 64c-5.5 0-10.9-.7-16-2c0 .7 0 1.3 0 2c0 44.2 35.8 80 80 80zm0-208a128 128 0 1 1 0 256 128 128 0 1 1 0-256z"]},Ie={prefix:"far",iconName:"pen",icon:[512,512,[128394],"f304","M36.4 360.9L13.4 439 1 481.2C-1.5 489.7 .8 498.8 7 505s15.3 8.5 23.7 6.1L73 498.6l78.1-23c12.4-3.6 23.7-9.9 33.4-18.4c1.4-1.2 2.7-2.5 4-3.8L492.7 149.3c21.9-21.9 24.6-55.6 8.2-80.5c-2.3-3.5-5.1-6.9-8.2-10L453.3 19.3c-25-25-65.5-25-90.5 0L58.6 323.5c-10.4 10.4-18 23.3-22.2 37.4zm46 13.5c1.7-5.6 4.5-10.8 8.4-15.2c.6-.6 1.1-1.2 1.7-1.8L321 129 383 191 154.6 419.5c-4.7 4.7-10.6 8.2-17 10.1l-23.4 6.9L59.4 452.6l16.1-54.8 6.9-23.4z"]},_e={prefix:"far",iconName:"floppy-disk",icon:[448,512,[128190,128426,"save"],"f0c7","M48 96l0 320c0 8.8 7.2 16 16 16l320 0c8.8 0 16-7.2 16-16l0-245.5c0-4.2-1.7-8.3-4.7-11.3l33.9-33.9c12 12 18.7 28.3 18.7 45.3L448 416c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64L0 96C0 60.7 28.7 32 64 32l245.5 0c17 0 33.3 6.7 45.3 18.7l74.5 74.5-33.9 33.9L320.8 84.7c-.3-.3-.5-.5-.8-.8L320 184c0 13.3-10.7 24-24 24l-192 0c-13.3 0-24-10.7-24-24L80 80 64 80c-8.8 0-16 7.2-16 16zm80-16l0 80 144 0 0-80L128 80zm32 240a64 64 0 1 1 128 0 64 64 0 1 1 -128 0z"]},Pe=_e,Oe={prefix:"far",iconName:"trash",icon:[448,512,[],"f1f8","M177.1 48l93.7 0c2.7 0 5.2 1.3 6.7 3.6l19 28.4-145 0 19-28.4c1.5-2.2 4-3.6 6.7-3.6zM354.2 80L317.5 24.9C307.1 9.4 289.6 0 270.9 0L177.1 0c-18.7 0-36.2 9.4-46.6 24.9L93.8 80 80.1 80 32 80l-8 0C10.7 80 0 90.7 0 104s10.7 24 24 24l11.6 0L59.6 452.7c2.5 33.4 30.3 59.3 63.8 59.3l201.1 0c33.5 0 61.3-25.9 63.8-59.3L412.4 128l11.6 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-8 0-48.1 0-13.7 0zm10.1 48L340.5 449.2c-.6 8.4-7.6 14.8-16 14.8l-201.1 0c-8.4 0-15.3-6.5-16-14.8L83.7 128l280.6 0z"]},Te={prefix:"far",iconName:"shirt",icon:[640,512,[128085,"t-shirt","tshirt"],"f553","M146.3 27.8C167.9 9.8 195.1 0 223.2 0c18.2 0 31.1 13.6 34 28.5C263 57.8 288.9 80 320 80s57-22.2 62.8-51.5C385.7 13.6 398.7 0 416.8 0c28.1 0 55.3 9.8 76.8 27.8L478.3 46.3l15.4-18.4L619.8 133c11.6 9.7 18.8 23.6 20 38.6s-3.7 29.9-13.7 41.3l-56 64c-20 22.9-54.6 25.6-78 6.1L480 272.9 480 448c0 35.3-28.7 64-64 64l-192 0c-35.3 0-64-28.7-64-64l0-175.1L147.9 283c-23.4 19.5-58 16.7-78-6.1l-56-64C3.9 201.5-1 186.6 .2 171.6s8.4-29 20-38.6L146.3 27.8zm66.5 20.9c-13.1 1.9-25.5 7.4-35.8 15.9L50.9 169.9c-1.7 1.4-2.7 3.4-2.9 5.5s.5 4.3 2 5.9L31.9 197.1 50 181.3l56 64c2.9 3.3 7.8 3.7 11.1 .9l51.5-42.9c7.2-6 17.1-7.2 25.5-3.3s13.8 12.4 13.8 21.7L208 448c0 8.8 7.2 16 16 16l192 0c8.8 0 16-7.2 16-16l0-226.3c0-9.3 5.4-17.8 13.8-21.7s18.4-2.7 25.5 3.3l51.5 42.9c3.3 2.8 8.3 2.4 11.1-.9l56-64c1.4-1.6 2.1-3.7 2-5.9s-1.2-4.1-2.9-5.5L462.9 64.7c-10.3-8.6-22.7-14.1-35.8-15.9C413.1 94.6 370.5 128 320 128s-93.1-33.4-107.1-79.3z"]},De=Te,je={prefix:"far",iconName:"arrow-left",icon:[448,512,[8592],"f060","M7.4 273.4C2.7 268.8 0 262.6 0 256s2.7-12.8 7.4-17.4l176-168c9.6-9.2 24.8-8.8 33.9 .8s8.8 24.8-.8 33.9L83.9 232 424 232c13.3 0 24 10.7 24 24s-10.7 24-24 24L83.9 280 216.6 406.6c9.6 9.2 9.9 24.3 .8 33.9s-24.3 9.9-33.9 .8l-176-168z"]},Be={prefix:"far",iconName:"file-pdf",icon:[512,512,[],"f1c1","M64 464l48 0 0 48-48 0c-35.3 0-64-28.7-64-64L0 64C0 28.7 28.7 0 64 0L229.5 0c17 0 33.3 6.7 45.3 18.7l90.5 90.5c12 12 18.7 28.3 18.7 45.3L384 304l-48 0 0-144-80 0c-17.7 0-32-14.3-32-32l0-80L64 48c-8.8 0-16 7.2-16 16l0 384c0 8.8 7.2 16 16 16zM176 352l32 0c30.9 0 56 25.1 56 56s-25.1 56-56 56l-16 0 0 32c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-48 0-80c0-8.8 7.2-16 16-16zm32 80c13.3 0 24-10.7 24-24s-10.7-24-24-24l-16 0 0 48 16 0zm96-80l32 0c26.5 0 48 21.5 48 48l0 64c0 26.5-21.5 48-48 48l-32 0c-8.8 0-16-7.2-16-16l0-128c0-8.8 7.2-16 16-16zm32 128c8.8 0 16-7.2 16-16l0-64c0-8.8-7.2-16-16-16l-16 0 0 96 16 0zm80-112c0-8.8 7.2-16 16-16l48 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-32 0 0 32 32 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-32 0 0 48c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-64 0-64z"]},Ne={prefix:"far",iconName:"angles-up",icon:[448,512,["angle-double-up"],"f102","M241 47c-9.4-9.4-24.6-9.4-33.9 0L47 207c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l143-143L367 241c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9L241 47zM401 399L241 239c-9.4-9.4-24.6-9.4-33.9 0L47 399c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l143-143L367 433c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9z"]},Me=Ne,Re={prefix:"far",iconName:"circle-info",icon:[512,512,["info-circle"],"f05a","M256 48a208 208 0 1 1 0 416 208 208 0 1 1 0-416zm0 464A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM216 336c-13.3 0-24 10.7-24 24s10.7 24 24 24l80 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-8 0 0-88c0-13.3-10.7-24-24-24l-48 0c-13.3 0-24 10.7-24 24s10.7 24 24 24l24 0 0 64-24 0zm40-144a32 32 0 1 0 0-64 32 32 0 1 0 0 64z"]},Le=Re,Fe={prefix:"far",iconName:"check-double",icon:[448,512,[],"f560","M337 81c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-143 143L97 127c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l80 80c9.4 9.4 24.6 9.4 33.9 0L337 81zM441 201c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-247 247L41 295c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9L143 465c9.4 9.4 24.6 9.4 33.9 0L441 201z"]},ze={prefix:"far",iconName:"plus-large",icon:[512,512,[],"e59e","M488 232c13.3 0 24 10.7 24 24s-10.7 24-24 24l-208 0 0 208c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-208L24 280c-13.3 0-24-10.7-24-24s10.7-24 24-24l208 0 0-208c0-13.3 10.7-24 24-24s24 10.7 24 24l0 208 208 0z"]},Qe={prefix:"far",iconName:"minus",icon:[448,512,[8211,8722,10134,"subtract"],"f068","M432 256c0 13.3-10.7 24-24 24L40 280c-13.3 0-24-10.7-24-24s10.7-24 24-24l368 0c13.3 0 24 10.7 24 24z"]},Ue={prefix:"far",iconName:"trash-slash",icon:[640,512,[],"e2b3","M38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2S-1.2 34.7 9.2 42.9l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7L491.3 359.8 508.4 128l11.6 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-8 0-48.1 0-13.7 0L413.5 24.9C403.1 9.4 385.6 0 366.9 0L273.1 0c-18.7 0-36.2 9.4-46.6 24.9L189.8 80l-13.7 0-41.8 0L38.8 5.1zM195.6 128l264.7 0L445.8 324.1 195.6 128zM479.2 473.6l-42.1-33.1-.6 8.7c-.6 8.4-7.6 14.8-16 14.8l-201.1 0c-8.4 0-15.3-6.5-16-14.8L188.3 244.4l-51.1-40.3 18.4 248.6c2.5 33.4 30.3 59.3 63.8 59.3l201.1 0c26.1 0 48.8-15.7 58.7-38.4zM273.1 48l93.7 0c2.7 0 5.2 1.3 6.7 3.6l19 28.4-145 0 19-28.4c1.5-2.2 4-3.6 6.7-3.6z"]},Ve={prefix:"far",iconName:"split",icon:[512,512,[],"e254","M391 31c9.4-9.4 24.6-9.4 33.9 0l80 80c9.4 9.4 9.4 24.6 0 33.9l-80 80c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l39-39-83.5 0c-10.6 0-20.8 4.2-28.3 11.7L225.9 256l92.3 92.3c7.5 7.5 17.7 11.7 28.3 11.7l83.5 0-39-39c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l80 80c9.4 9.4 9.4 24.6 0 33.9l-80 80c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l39-39-83.5 0c-23.3 0-45.7-9.3-62.2-25.8L182.1 280 24 280c-13.3 0-24-10.7-24-24s10.7-24 24-24l158.1 0L284.3 129.8c16.5-16.5 38.9-25.8 62.2-25.8l83.5 0L391 65c-9.4-9.4-9.4-24.6 0-33.9z"]},Ge={prefix:"far",iconName:"clock",icon:[512,512,[128339,"clock-four"],"f017","M464 256A208 208 0 1 1 48 256a208 208 0 1 1 416 0zM0 256a256 256 0 1 0 512 0A256 256 0 1 0 0 256zM232 120l0 136c0 8 4 15.5 10.7 20l96 64c11 7.4 25.9 4.4 33.3-6.7s4.4-25.9-6.7-33.3L280 243.2 280 120c0-13.3-10.7-24-24-24s-24 10.7-24 24z"]},qe={prefix:"far",iconName:"pallet",icon:[640,512,[],"f482","M24 320c-13.3 0-24 10.7-24 24s10.7 24 24 24l40 0 0 96-40 0c-13.3 0-24 10.7-24 24s10.7 24 24 24l64 0 232 0 232 0 64 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-40 0 0-96 40 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-64 0-232 0L88 320l-64 0zm88 48l184 0 0 96-184 0 0-96zm232 0l184 0 0 96-184 0 0-96z"]},He={prefix:"far",iconName:"coins",icon:[512,512,[],"f51e","M176 88c0 0 0 0 0 0c0 .1 .1 .6 .6 1.5c.6 1.2 2 3.1 4.7 5.5c.4 .3 .8 .7 1.2 1c-18.7 .4-36.9 1.7-54.4 4.1L128 88c0-18 9.7-32.4 21.1-42.7s26.7-18.5 43.5-24.9C226.4 7.5 271.5 0 320 0s93.6 7.5 127.3 20.3c16.8 6.4 32.1 14.6 43.5 24.9S512 70 512 88l0 104 0 104c0 18-9.7 32.4-21.1 42.7s-26.7 18.5-43.5 24.9c-9.6 3.7-20.1 6.9-31.3 9.6l0-49.7c5.1-1.5 9.8-3.1 14.2-4.8c13.6-5.2 23-10.8 28.5-15.7c2.7-2.4 4.1-4.3 4.7-5.5c.6-1.1 .6-1.5 .6-1.5c0 0 0 0 0 0l0-43.6c-5.3 2.6-10.9 5-16.7 7.2c-9.6 3.7-20.1 6.9-31.3 9.6l0-49.7c5.1-1.5 9.8-3.1 14.2-4.8c13.6-5.2 23-10.8 28.5-15.7c2.7-2.4 4.1-4.3 4.7-5.5c.5-.9 .6-1.4 .6-1.5c0 0 0 0 0 0s0 0 0 0l0-43.6c-5.3 2.6-10.9 5-16.7 7.2c-13.7 5.2-29.4 9.6-46.3 12.9c-5.1-7.5-11-13.9-16.8-19.1c-10.1-9.1-21.8-16.5-34-22.6c31.7-2.3 59.3-8.2 80-16.1c13.6-5.2 23-10.8 28.5-15.7c2.7-2.4 4.1-4.3 4.7-5.5c.5-.9 .6-1.4 .6-1.5c0 0 0 0 0 0s0 0 0 0s0 0 0 0c0 0 0-.5-.6-1.5c-.6-1.2-2-3.1-4.7-5.5c-5.5-5-14.9-10.6-28.5-15.7C403.2 54.9 364.2 48 320 48s-83.2 6.9-110.2 17.2c-13.6 5.2-23 10.8-28.5 15.7c-2.7 2.4-4.1 4.3-4.7 5.5c-.6 1.1-.6 1.5-.6 1.5c0 0 0 0 0 0zM48 216c0 0 0 0 0 0c0 .1 .1 .6 .6 1.5c.6 1.2 2 3.1 4.7 5.5c5.5 5 14.9 10.6 28.5 15.7c27 10.3 66 17.2 110.2 17.2s83.2-6.9 110.2-17.2c13.6-5.2 23-10.8 28.5-15.7c2.7-2.4 4.1-4.3 4.7-5.5c.5-.9 .6-1.4 .6-1.5c0 0 0 0 0 0s0 0 0 0s0 0 0 0c0 0 0-.5-.6-1.5c-.6-1.2-2-3.1-4.7-5.5c-5.5-5-14.9-10.6-28.5-15.7c-27-10.3-66-17.2-110.2-17.2s-83.2 6.9-110.2 17.2c-13.6 5.2-23 10.8-28.5 15.7c-2.7 2.4-4.1 4.3-4.7 5.5c-.6 1.1-.6 1.5-.6 1.5c0 0 0 0 0 0zM0 216c0-18 9.7-32.4 21.1-42.7s26.7-18.5 43.5-24.9C98.4 135.5 143.5 128 192 128s93.6 7.5 127.3 20.3c16.8 6.4 32.1 14.6 43.5 24.9S384 198 384 216l0 104 0 104c0 18-9.7 32.4-21.1 42.7s-26.7 18.5-43.5 24.9C285.6 504.5 240.5 512 192 512s-93.6-7.5-127.3-20.3c-16.8-6.4-32-14.6-43.5-24.9S0 442 0 424L0 320 0 216zM336 320l0-43.6c-5.3 2.6-10.9 5-16.7 7.2C285.6 296.5 240.5 304 192 304s-93.6-7.5-127.3-20.3c-5.8-2.2-11.4-4.6-16.7-7.2L48 320c0 0 0 0 0 0c0 .1 .1 .6 .6 1.5c.6 1.2 2 3.1 4.7 5.5c5.5 5 14.9 10.6 28.5 15.7c27 10.3 66 17.2 110.2 17.2s83.2-6.9 110.2-17.2c13.6-5.2 23-10.8 28.5-15.7c2.7-2.4 4.1-4.3 4.7-5.5c.5-.9 .6-1.4 .6-1.5c0 0 0 0 0 0c0 0 0 0 0 0zM64.7 387.7c-5.8-2.2-11.4-4.6-16.7-7.2L48 424s0 0 0 0c0 0 0 .5 .6 1.5c.6 1.2 2 3.1 4.7 5.5c5.5 5 14.9 10.6 28.5 15.7c27 10.3 66 17.2 110.2 17.2s83.2-6.9 110.2-17.2c13.6-5.2 23-10.8 28.5-15.7c2.7-2.4 4.1-4.3 4.7-5.5c.6-1.1 .6-1.5 .6-1.5c0 0 0 0 0 0l0-43.6c-5.3 2.6-10.9 5-16.7 7.2C285.6 400.5 240.5 408 192 408s-93.6-7.5-127.3-20.3z"]},We={prefix:"far",iconName:"sliders",icon:[512,512,["sliders-h"],"f1de","M0 416c0 13.3 10.7 24 24 24l59.7 0c10.2 32.5 40.5 56 76.3 56s66.1-23.5 76.3-56L488 440c13.3 0 24-10.7 24-24s-10.7-24-24-24l-251.7 0c-10.2-32.5-40.5-56-76.3-56s-66.1 23.5-76.3 56L24 392c-13.3 0-24 10.7-24 24zm128 0a32 32 0 1 1 64 0 32 32 0 1 1 -64 0zM320 256a32 32 0 1 1 64 0 32 32 0 1 1 -64 0zm32-80c-35.8 0-66.1 23.5-76.3 56L24 232c-13.3 0-24 10.7-24 24s10.7 24 24 24l251.7 0c10.2 32.5 40.5 56 76.3 56s66.1-23.5 76.3-56l59.7 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-59.7 0c-10.2-32.5-40.5-56-76.3-56zM192 128a32 32 0 1 1 0-64 32 32 0 1 1 0 64zm76.3-56C258.1 39.5 227.8 16 192 16s-66.1 23.5-76.3 56L24 72C10.7 72 0 82.7 0 96s10.7 24 24 24l91.7 0c10.2 32.5 40.5 56 76.3 56s66.1-23.5 76.3-56L488 120c13.3 0 24-10.7 24-24s-10.7-24-24-24L268.3 72z"]},Ye=We,Ke={prefix:"far",iconName:"ellipsis-vertical",icon:[128,512,["ellipsis-v"],"f142","M64 368a48 48 0 1 0 0 96 48 48 0 1 0 0-96zm0-160a48 48 0 1 0 0 96 48 48 0 1 0 0-96zM112 96A48 48 0 1 0 16 96a48 48 0 1 0 96 0z"]},Je={prefix:"far",iconName:"download",icon:[512,512,[],"f019","M280 24c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 270.1-95-95c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9L239 369c9.4 9.4 24.6 9.4 33.9 0L409 233c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-95 95L280 24zM128.8 304L64 304c-35.3 0-64 28.7-64 64l0 80c0 35.3 28.7 64 64 64l384 0c35.3 0 64-28.7 64-64l0-80c0-35.3-28.7-64-64-64l-64.8 0-48 48L448 352c8.8 0 16 7.2 16 16l0 80c0 8.8-7.2 16-16 16L64 464c-8.8 0-16-7.2-16-16l0-80c0-8.8 7.2-16 16-16l112.8 0-48-48zM432 408a24 24 0 1 0 -48 0 24 24 0 1 0 48 0z"]},Xe={prefix:"far",iconName:"house",icon:[576,512,[127968,63498,63500,"home","home-alt","home-lg-alt"],"f015","M303.5 5.7c-9-7.6-22.1-7.6-31.1 0l-264 224c-10.1 8.6-11.3 23.7-2.8 33.8s23.7 11.3 33.8 2.8L64 245.5 64 432c0 44.2 35.8 80 80 80l288 0c44.2 0 80-35.8 80-80l0-186.5 24.5 20.8c10.1 8.6 25.3 7.3 33.8-2.8s7.3-25.3-2.8-33.8l-264-224zM112 432l0-227.2L288 55.5 464 204.8 464 432c0 17.7-14.3 32-32 32l-48 0 0-152c0-22.1-17.9-40-40-40l-112 0c-22.1 0-40 17.9-40 40l0 152-48 0c-17.7 0-32-14.3-32-32zm128 32l0-144 96 0 0 144-96 0z"]},Ze=Xe,$e={prefix:"far",iconName:"file-arrow-down",icon:[384,512,["file-download"],"f56d","M48 448L48 64c0-8.8 7.2-16 16-16l160 0 0 80c0 17.7 14.3 32 32 32l80 0 0 288c0 8.8-7.2 16-16 16L64 464c-8.8 0-16-7.2-16-16zM64 0C28.7 0 0 28.7 0 64L0 448c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-293.5c0-17-6.7-33.3-18.7-45.3L274.7 18.7C262.7 6.7 246.5 0 229.5 0L64 0zM216 232c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 102.1-31-31c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l72 72c9.4 9.4 24.6 9.4 33.9 0l72-72c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-31 31L216 232z"]},et=$e,tt={prefix:"far",iconName:"angle-down",icon:[448,512,[8964],"f107","M241 369c-9.4 9.4-24.6 9.4-33.9 0L47 209c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l143 143L367 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9L241 369z"]},nt={prefix:"far",iconName:"toolbox",icon:[512,512,[129520],"f552","M184 80l144 0c4.4 0 8 3.6 8 8l0 40-160 0 0-40c0-4.4 3.6-8 8-8zm-56 8l0 40-28.1 0c-12.7 0-24.9 5.1-33.9 14.1L14.1 193.9c-9 9-14.1 21.2-14.1 33.9L0 328l0 88c0 35.3 28.7 64 64 64l384 0c35.3 0 64-28.7 64-64l0-88 0-100.1c0-12.7-5.1-24.9-14.1-33.9l-51.9-51.9c-9-9-21.2-14.1-33.9-14.1L384 128l0-40c0-30.9-25.1-56-56-56L184 32c-30.9 0-56 25.1-56 56zM464 304l-96 0 0-16c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 16-128 0 0-16c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 16-96 0 0-76.1L99.9 176l312.2 0L464 227.9l0 76.1zM48 352l96 0 0 16c0 13.3 10.7 24 24 24s24-10.7 24-24l0-16 128 0 0 16c0 13.3 10.7 24 24 24s24-10.7 24-24l0-16 96 0 0 64c0 8.8-7.2 16-16 16L64 432c-8.8 0-16-7.2-16-16l0-64z"]},rt={prefix:"far",iconName:"file-circle-xmark",icon:[576,512,[],"e5a1","M64 464l220.5 0c12 18.4 27.4 34.5 45.3 47.3c-3.2 .5-6.4 .7-9.7 .7L64 512c-35.3 0-64-28.7-64-64L0 64C0 28.7 28.7 0 64 0L229.5 0c17 0 33.3 6.7 45.3 18.7l90.5 90.5c12 12 18.7 28.3 18.7 45.3l0 44.1c-17.2 4.9-33.4 12.3-48 21.8l0-60.5-80 0c-17.7 0-32-14.3-32-32l0-80L64 48c-8.8 0-16 7.2-16 16l0 384c0 8.8 7.2 16 16 16zM432 224a144 144 0 1 1 0 288 144 144 0 1 1 0-288zm59.3 107.3c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0L432 345.4l-36.7-36.7c-6.2-6.2-16.4-6.2-22.6 0s-6.2 16.4 0 22.6L409.4 368l-36.7 36.7c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0L432 390.6l36.7 36.7c6.2 6.2 16.4 6.2 22.6 0s6.2-16.4 0-22.6L454.6 368l36.7-36.7z"]},it={prefix:"far",iconName:"file",icon:[384,512,[128196,128459,61462],"f15b","M320 464c8.8 0 16-7.2 16-16l0-288-80 0c-17.7 0-32-14.3-32-32l0-80L64 48c-8.8 0-16 7.2-16 16l0 384c0 8.8 7.2 16 16 16l256 0zM0 64C0 28.7 28.7 0 64 0L229.5 0c17 0 33.3 6.7 45.3 18.7l90.5 90.5c12 12 18.7 28.3 18.7 45.3L384 448c0 35.3-28.7 64-64 64L64 512c-35.3 0-64-28.7-64-64L0 64z"]},ot={prefix:"far",iconName:"bars-staggered",icon:[512,512,["reorder","stream"],"f550","M0 88C0 74.7 10.7 64 24 64l400 0c13.3 0 24 10.7 24 24s-10.7 24-24 24L24 112C10.7 112 0 101.3 0 88zM64 248c0-13.3 10.7-24 24-24l400 0c13.3 0 24 10.7 24 24s-10.7 24-24 24L88 272c-13.3 0-24-10.7-24-24zM448 408c0 13.3-10.7 24-24 24L24 432c-13.3 0-24-10.7-24-24s10.7-24 24-24l400 0c13.3 0 24 10.7 24 24z"]},at={prefix:"far",iconName:"timer",icon:[512,512,[],"e29e","M232 24c0-13.3 10.7-24 24-24C397.4 0 512 114.6 512 256s-114.6 256-256 256S0 397.4 0 256c0-37.9 8.2-73.8 23-106.1c6-13.2 13.1-25.8 21.2-37.6l.1-.2C53.4 98.7 63.6 86.3 75 75c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9c-9.2 9.2-17.6 19.3-25 30.1l-.1 .2c-21.2 31.2-34.2 68.5-35.7 108.7c-.1 2.7-.2 5.4-.2 8.1c0 114.9 93.1 208 208 208s208-93.1 208-208c0-106.8-80.4-194.7-184-206.6l0 54.6c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-80zM159 159c9.4-9.4 24.6-9.4 33.9 0l80 80c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-80-80c-9.4-9.4-9.4-24.6 0-33.9z"]},st={prefix:"far",iconName:"magnifying-glass",icon:[512,512,[128269,"search"],"f002","M368 208A160 160 0 1 0 48 208a160 160 0 1 0 320 0zM337.1 371.1C301.7 399.2 256.8 416 208 416C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208c0 48.8-16.8 93.7-44.9 129.1L505 471c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0L337.1 371.1z"]},lt=st,ct={prefix:"far",iconName:"cart-arrow-down",icon:[576,512,[],"f218","M0 24C0 10.7 10.7 0 24 0L69.5 0c26.9 0 50 19.1 55 45.5l37 194.5 297.6 0c10.9 0 20.4-7.3 23.2-17.8L528.8 49.8c3.4-12.8 16.6-20.4 29.4-16.9s20.4 16.6 16.9 29.4L528.7 234.7c-8.5 31.4-37 53.3-69.5 53.3l-288.5 0 5.4 28.5c2.2 11.3 12.1 19.5 23.6 19.5L488 336c13.3 0 24 10.7 24 24s-10.7 24-24 24l-288.3 0c-34.6 0-64.3-24.6-70.7-58.5L77.4 54.5c-.7-3.8-4-6.5-7.9-6.5L24 48C10.7 48 0 37.3 0 24zM128 464a48 48 0 1 1 96 0 48 48 0 1 1 -96 0zm336-48a48 48 0 1 1 0 96 48 48 0 1 1 0-96zM344 24l0 102.1 23-23c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9l-64 64c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l23 23L296 24c0-13.3 10.7-24 24-24s24 10.7 24 24z"]},ut={prefix:"far",iconName:"chevron-down",icon:[512,512,[],"f078","M239 401c9.4 9.4 24.6 9.4 33.9 0L465 209c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-175 175L81 175c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9L239 401z"]},dt={prefix:"far",iconName:"arrow-up",icon:[384,512,[8593],"f062","M209.4 39.4C204.8 34.7 198.6 32 192 32s-12.8 2.7-17.4 7.4l-168 176c-9.2 9.6-8.8 24.8 .8 33.9s24.8 8.8 33.9-.8L168 115.9 168 456c0 13.3 10.7 24 24 24s24-10.7 24-24l0-340.1L342.6 248.6c9.2 9.6 24.3 9.9 33.9 .8s9.9-24.3 .8-33.9l-168-176z"]},pt={prefix:"far",iconName:"truck-fast",icon:[640,512,["shipping-fast"],"f48b","M352 48L128 48c-8.8 0-16 7.2-16 16l0 32 128 0c8.8 0 16 7.2 16 16s-7.2 16-16 16L16 128c-8.8 0-16-7.2-16-16s7.2-16 16-16l48 0 0-32C64 28.7 92.7 0 128 0L352 0c35.3 0 64 28.7 64 64l0 32 42.7 0c14.9 0 29.1 5.9 39.6 16.4l93.3 93.3c10.5 10.5 16.4 24.7 16.4 39.6L608 368l8 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-40 0c0 53-43 96-96 96s-96-43-96-96l-8 0-24 0-32 0-64 0c0 53-43 96-96 96s-96-43-96-96l0-48 0-80 48 0 0 44.8c14.1-8.2 30.5-12.8 48-12.8c35.5 0 66.6 19.3 83.2 48l76.8 0 32 0c8.8 0 16-7.2 16-16l0-288c0-8.8-7.2-16-16-16zM557.7 239.6l-93.3-93.3c-1.5-1.5-3.5-2.3-5.7-2.3L416 144l0 96 142 0-.2-.2-.2-.2zM208 416a48 48 0 1 0 -96 0 48 48 0 1 0 96 0zm272 48a48 48 0 1 0 0-96 48 48 0 1 0 0 96zM48 160l224 0c8.8 0 16 7.2 16 16s-7.2 16-16 16L48 192c-8.8 0-16-7.2-16-16s7.2-16 16-16zM16 224l224 0c8.8 0 16 7.2 16 16s-7.2 16-16 16L16 256c-8.8 0-16-7.2-16-16s7.2-16 16-16z"]},ht=pt,ft={prefix:"far",iconName:"user-magnifying-glass",icon:[640,512,[],"e5c5","M144 128a80 80 0 1 1 160 0 80 80 0 1 1 -160 0zm208 0A128 128 0 1 0 96 128a128 128 0 1 0 256 0zM49.3 464c8.9-63.3 63.3-112 129-112l91.4 0c7.5 0 14.8 .6 21.9 1.8c-2.3-10.9-3.6-22.2-3.6-33.8c0-5.1 .2-10.1 .7-15c-6.2-.7-12.6-1-19-1l-91.4 0C79.8 304 0 383.8 0 482.3C0 498.7 13.3 512 29.7 512l388.6 0c16.4 0 29.7-13.3 29.7-29.7c0-.8 0-1.5 0-2.3c-25 0-48.7-5.8-69.8-16L49.3 464zM448 240.1a80 80 0 1 1 0 160 80 80 0 1 1 0-160zm0 208c26.7 0 51.4-8.2 71.9-22.1L599 505.1c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9l-79.1-79.1c14-20.5 22.1-45.3 22.1-71.9c0-70.7-57.3-128-128-128s-128 57.3-128 128s57.3 128 128 128z"]},mt={prefix:"far",iconName:"copy",icon:[448,512,[],"f0c5","M384 336l-192 0c-8.8 0-16-7.2-16-16l0-256c0-8.8 7.2-16 16-16l140.1 0L400 115.9 400 320c0 8.8-7.2 16-16 16zM192 384l192 0c35.3 0 64-28.7 64-64l0-204.1c0-12.7-5.1-24.9-14.1-33.9L366.1 14.1c-9-9-21.2-14.1-33.9-14.1L192 0c-35.3 0-64 28.7-64 64l0 256c0 35.3 28.7 64 64 64zM64 128c-35.3 0-64 28.7-64 64L0 448c0 35.3 28.7 64 64 64l192 0c35.3 0 64-28.7 64-64l0-32-48 0 0 32c0 8.8-7.2 16-16 16L64 464c-8.8 0-16-7.2-16-16l0-256c0-8.8 7.2-16 16-16l32 0 0-48-32 0z"]},gt={prefix:"far",iconName:"plus",icon:[448,512,[10133,61543,"add"],"2b","M248 72c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 160L40 232c-13.3 0-24 10.7-24 24s10.7 24 24 24l160 0 0 160c0 13.3 10.7 24 24 24s24-10.7 24-24l0-160 160 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-160 0 0-160z"]},vt={prefix:"far",iconName:"expand",icon:[448,512,[],"f065","M136 32c13.3 0 24 10.7 24 24s-10.7 24-24 24L48 80l0 88c0 13.3-10.7 24-24 24s-24-10.7-24-24L0 56C0 42.7 10.7 32 24 32l112 0zM0 344c0-13.3 10.7-24 24-24s24 10.7 24 24l0 88 88 0c13.3 0 24 10.7 24 24s-10.7 24-24 24L24 480c-13.3 0-24-10.7-24-24L0 344zM424 32c13.3 0 24 10.7 24 24l0 112c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-88-88 0c-13.3 0-24-10.7-24-24s10.7-24 24-24l112 0zM400 344c0-13.3 10.7-24 24-24s24 10.7 24 24l0 112c0 13.3-10.7 24-24 24l-112 0c-13.3 0-24-10.7-24-24s10.7-24 24-24l88 0 0-88z"]},yt={prefix:"far",iconName:"xmark",icon:[384,512,[128473,10005,10006,10060,215,"close","multiply","remove","times"],"f00d","M345 137c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-119 119L73 103c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l119 119L39 375c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l119-119L311 409c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9l-119-119L345 137z"]},At=yt,bt=yt,wt=yt,xt={prefix:"far",iconName:"angle-up",icon:[448,512,[8963],"f106","M207 143c9.4-9.4 24.6-9.4 33.9 0L401 303c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-143-143L81 337c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9L207 143z"]},Ct={prefix:"far",iconName:"chevron-right",icon:[320,512,[9002],"f054","M305 239c9.4 9.4 9.4 24.6 0 33.9L113 465c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l175-175L79 81c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0L305 239z"]},St={prefix:"far",iconName:"arrow-right-to-line",icon:[448,512,[8677,"arrow-to-right"],"f340","M448 88c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 336c0 13.3 10.7 24 24 24s24-10.7 24-24l0-336zM312.4 273.5c4.8-4.5 7.6-10.9 7.6-17.5s-2.7-12.9-7.6-17.5l-136-128c-9.7-9.1-24.8-8.6-33.9 1s-8.6 24.8 1 33.9L235.5 232 152 232 24 232c-13.3 0-24 10.7-24 24s10.7 24 24 24l128 0 83.5 0-91.9 86.5c-9.7 9.1-10.1 24.3-1 33.9s24.3 10.1 33.9 1l136-128z"]},kt=St,Et={prefix:"far",iconName:"angles-left",icon:[512,512,[171,"angle-double-left"],"f100","M47 239c-9.4 9.4-9.4 24.6 0 33.9L207 433c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9L97.9 256 241 113c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0L47 239zM399 79L239 239c-9.4 9.4-9.4 24.6 0 33.9L399 433c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9l-143-143L433 113c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0z"]},It=Et,_t={prefix:"far",iconName:"clock-rotate-left",icon:[512,512,["history"],"f1da","M48 106.7L48 56c0-13.3-10.7-24-24-24S0 42.7 0 56L0 168c0 13.3 10.7 24 24 24l112 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-55.3 0c37-57.8 101.7-96 175.3-96c114.9 0 208 93.1 208 208s-93.1 208-208 208c-42.5 0-81.9-12.7-114.7-34.5c-11-7.3-25.9-4.3-33.3 6.7s-4.3 25.9 6.7 33.3C155.2 496.4 203.8 512 256 512c141.4 0 256-114.6 256-256S397.4 0 256 0C170.3 0 94.4 42.1 48 106.7zM256 128c-13.3 0-24 10.7-24 24l0 104c0 6.4 2.5 12.5 7 17l72 72c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9l-65-65 0-94.1c0-13.3-10.7-24-24-24z"]},Pt=_t,Ot={prefix:"far",iconName:"file-export",icon:[576,512,["arrow-right-from-file"],"f56e","M336 448c0 8.8-7.2 16-16 16L64 464c-8.8 0-16-7.2-16-16L48 64c0-8.8 7.2-16 16-16l160 0 0 80c0 17.7 14.3 32 32 32l80 0 0 96 48 0 0-101.5c0-17-6.7-33.3-18.7-45.3L274.7 18.7C262.7 6.7 246.5 0 229.5 0L64 0C28.7 0 0 28.7 0 64L0 448c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-80-48 0 0 80zM489 215c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l39 39L216 288c-13.3 0-24 10.7-24 24s10.7 24 24 24l278.1 0-39 39c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l80-80c9.4-9.4 9.4-24.6 0-33.9l-80-80z"]},Tt={prefix:"far",iconName:"bags-shopping",icon:[576,512,[128717],"f847","M176 96c0-26.5 21.5-48 48-48s48 21.5 48 48l0 64-96 0 0-64zm-48 64l-64 0c-35.3 0-64 28.7-64 64L0 416c0 35.3 28.7 64 64 64l96 0 0-48-96 0c-8.8 0-16-7.2-16-16l0-192c0-8.8 7.2-16 16-16l320 0c8.8 0 16 7.2 16 16l48 0c0-35.3-28.7-64-64-64l-64 0 0-64c0-53-43-96-96-96s-96 43-96 96l0 64zm128 96c-35.3 0-64 28.7-64 64l0 128c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-128c0-35.3-28.7-64-64-64l-256 0zm64 80l0 16c0 35.3 28.7 64 64 64s64-28.7 64-64l0-16c0-8.8 7.2-16 16-16s16 7.2 16 16l0 16c0 53-43 96-96 96s-96-43-96-96l0-16c0-8.8 7.2-16 16-16s16 7.2 16 16z"]},Dt={prefix:"far",iconName:"table-list",icon:[512,512,["th-list"],"f00b","M192 80l0 88 272 0 0-72c0-8.8-7.2-16-16-16L192 80zm-48 0L64 80c-8.8 0-16 7.2-16 16l0 72 96 0 0-88zM48 216l0 80 96 0 0-80-96 0zm0 128l0 72c0 8.8 7.2 16 16 16l80 0 0-88-96 0zm144 88l256 0c8.8 0 16-7.2 16-16l0-72-272 0 0 88zM464 296l0-80-272 0 0 80 272 0zM0 96C0 60.7 28.7 32 64 32l384 0c35.3 0 64 28.7 64 64l0 320c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64L0 96z"]},jt=Dt,Bt={prefix:"far",iconName:"check",icon:[448,512,[10003,10004],"f00c","M441 103c9.4 9.4 9.4 24.6 0 33.9L177 401c-9.4 9.4-24.6 9.4-33.9 0L7 265c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l119 119L407 103c9.4-9.4 24.6-9.4 33.9 0z"]},Nt={prefix:"far",iconName:"angle-left",icon:[320,512,[8249],"f104","M47 239c-9.4 9.4-9.4 24.6 0 33.9L207 433c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9L97.9 256 241 113c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0L47 239z"]},Mt={prefix:"far",iconName:"image-portrait",icon:[384,512,["portrait"],"f3e0","M320 48L64 48c-8.8 0-16 7.2-16 16l0 384c0 8.8 7.2 16 16 16l256 0c8.8 0 16-7.2 16-16l0-384c0-8.8-7.2-16-16-16zm0-48c35.3 0 64 28.7 64 64l0 384c0 35.3-28.7 64-64 64L64 512c-35.3 0-64-28.7-64-64L0 64C0 28.7 28.7 0 64 0L320 0zM128 192a64 64 0 1 1 128 0 64 64 0 1 1 -128 0zM80 356.6c0-37.9 30.7-68.6 68.6-68.6l86.9 0c37.9 0 68.6 30.7 68.6 68.6c0 15.1-12.3 27.4-27.4 27.4l-169.1 0C92.3 384 80 371.7 80 356.6z"]},Rt={prefix:"far",iconName:"triangle-exclamation",icon:[512,512,[9888,"exclamation-triangle","warning"],"f071","M248.4 84.3c1.6-2.7 4.5-4.3 7.6-4.3s6 1.6 7.6 4.3L461.9 410c1.4 2.3 2.1 4.9 2.1 7.5c0 8-6.5 14.5-14.5 14.5l-387 0c-8 0-14.5-6.5-14.5-14.5c0-2.7 .7-5.3 2.1-7.5L248.4 84.3zm-41-25L9.1 385c-6 9.8-9.1 21-9.1 32.5C0 452 28 480 62.5 480l387 0c34.5 0 62.5-28 62.5-62.5c0-11.5-3.2-22.7-9.1-32.5L304.6 59.3C294.3 42.4 275.9 32 256 32s-38.3 10.4-48.6 27.3zM288 368a32 32 0 1 0 -64 0 32 32 0 1 0 64 0zm-8-184c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 96c0 13.3 10.7 24 24 24s24-10.7 24-24l0-96z"]},Lt=Rt,Ft=Rt,zt={prefix:"far",iconName:"paper-plane",icon:[512,512,[61913],"f1d8","M16.1 260.2c-22.6 12.9-20.5 47.3 3.6 57.3L160 376l0 103.3c0 18.1 14.6 32.7 32.7 32.7c9.7 0 18.9-4.3 25.1-11.8l62-74.3 123.9 51.6c18.9 7.9 40.8-4.5 43.9-24.7l64-416c1.9-12.1-3.4-24.3-13.5-31.2s-23.3-7.5-34-1.4l-448 256zm52.1 25.5L409.7 90.6 190.1 336l1.2 1L68.2 285.7zM403.3 425.4L236.7 355.9 450.8 116.6 403.3 425.4z"]},Qt={prefix:"far",iconName:"hand-holding-box",icon:[576,512,[],"f47b","M432 48l-80 0 0 73.7c0 3.5-2.8 6.3-6.3 6.3c-1.1 0-2.2-.3-3.1-.8l-46.6-26.6c-4.9-2.8-11-2.8-15.9 0l-46.6 26.6c-1 .5-2 .8-3.1 .8c-3.5 0-6.3-2.8-6.3-6.3L224 48l-80 0 0 160 288 0 0-160zm0-48c26.5 0 48 21.5 48 48l0 160c0 26.5-21.5 48-48 48l-288 0c-26.5 0-48-21.5-48-48L96 48c0-26.5 21.5-48 48-48l80 0L352 0l80 0zM187.4 352c-7.9 0-15.6 2.3-22.2 6.7L85.3 412c-3.9 2.6-8.6 4-13.3 4l-48 0c-13.3 0-24-10.7-24-24s10.7-24 24-24l40.7 0 73.8-49.2C153 309.1 170 304 187.4 304L344 304c35.3 0 64 28.7 64 64c0 .7 0 1.3 0 2l64.9-40c10.7-6.6 22.9-10 35.5-10l7.4 0c33.3 0 60.3 27 60.3 60.3c0 20.4-10.4 39.5-27.5 50.6l-95.6 61.9c-19.4 12.6-42.1 19.3-65.2 19.3L24 512c-13.3 0-24-10.7-24-24s10.7-24 24-24l363.7 0c13.9 0 27.5-4 39.1-11.6l95.6-61.9c3.5-2.3 5.6-6.1 5.6-10.3c0-6.8-5.5-12.3-12.3-12.3l-7.4 0c-3.6 0-7.2 1-10.3 2.9l-93.5 57.5c-3.8 2.3-8.1 3.6-12.6 3.6l-48 0-24 0-64 0c-13.3 0-24-10.7-24-24s10.7-24 24-24l64 0 24 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-156.6 0z"]},Ut={prefix:"far",iconName:"file-spreadsheet",icon:[384,512,[],"f65b","M48 448L48 64c0-8.8 7.2-16 16-16l160 0 0 80c0 17.7 14.3 32 32 32l80 0 0 288c0 8.8-7.2 16-16 16L64 464c-8.8 0-16-7.2-16-16zM64 0C28.7 0 0 28.7 0 64L0 448c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-293.5c0-17-6.7-33.3-18.7-45.3L274.7 18.7C262.7 6.7 246.5 0 229.5 0L64 0zM176 256l0 48-64 0 0-48 64 0zm-64 80l64 0 0 48-64 0 0-48zm96 0l64 0 0 48-64 0 0-48zm-16 80l16 0 64 0c17.7 0 32-14.3 32-32l0-48 0-16 0-16 0-48c0-17.7-14.3-32-32-32l-64 0-16 0-16 0-64 0c-17.7 0-32 14.3-32 32l0 48 0 16 0 16 0 48c0 17.7 14.3 32 32 32l64 0 16 0zm16-112l0-48 64 0 0 48-64 0z"]},Vt={prefix:"far",iconName:"circle-xmark",icon:[512,512,[61532,"times-circle","xmark-circle"],"f057","M256 48a208 208 0 1 1 0 416 208 208 0 1 1 0-416zm0 464A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM175 175c-9.4 9.4-9.4 24.6 0 33.9l47 47-47 47c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l47-47 47 47c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9l-47-47 47-47c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-47 47-47-47c-9.4-9.4-24.6-9.4-33.9 0z"]},Gt=Vt},28181:(e,t,n)=>{"use strict";n.d(t,{G1Y:()=>v,GEE:()=>x,GF6:()=>U,IMq:()=>V,Jyw:()=>z,KTq:()=>m,LX6:()=>s,MjD:()=>R,QLR:()=>L,RUA:()=>_,S5R:()=>g,X46:()=>f,YEm:()=>o,_dY:()=>h,cbP:()=>T,ckx:()=>l,dDM:()=>I,dmS:()=>b,dxS:()=>i,e68:()=>G,hpd:()=>C,iW_:()=>E,ijD:()=>N,iuH:()=>Q,lEd:()=>c,ld_:()=>W,pCJ:()=>a,qcK:()=>w,qj_:()=>p,rEA:()=>A,rLL:()=>j,tUE:()=>u,tdl:()=>B,uOc:()=>r,vaG:()=>O,vkJ:()=>F,yLS:()=>S,zpE:()=>H});const r={prefix:"fas",iconName:"user-xmark",icon:[640,512,["user-times"],"f235","M96 128a128 128 0 1 1 256 0A128 128 0 1 1 96 128zM0 482.3C0 383.8 79.8 304 178.3 304l91.4 0C368.2 304 448 383.8 448 482.3c0 16.4-13.3 29.7-29.7 29.7L29.7 512C13.3 512 0 498.7 0 482.3zM471 143c9.4-9.4 24.6-9.4 33.9 0l47 47 47-47c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9l-47 47 47 47c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-47-47-47 47c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l47-47-47-47c-9.4-9.4-9.4-24.6 0-33.9z"]},i={prefix:"fas",iconName:"forward-step",icon:[320,512,["step-forward"],"f051","M52.5 440.6c-9.5 7.9-22.8 9.7-34.1 4.4S0 428.4 0 416L0 96C0 83.6 7.2 72.3 18.4 67s24.5-3.6 34.1 4.4l192 160L256 241l0-145c0-17.7 14.3-32 32-32s32 14.3 32 32l0 320c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-145-11.5 9.6-192 160z"]},o={prefix:"fas",iconName:"clipboard-list",icon:[384,512,[],"f46d","M192 0c-41.8 0-77.4 26.7-90.5 64L64 64C28.7 64 0 92.7 0 128L0 448c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64l-37.5 0C269.4 26.7 233.8 0 192 0zm0 64a32 32 0 1 1 0 64 32 32 0 1 1 0-64zM72 272a24 24 0 1 1 48 0 24 24 0 1 1 -48 0zm104-16l128 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-128 0c-8.8 0-16-7.2-16-16s7.2-16 16-16zM72 368a24 24 0 1 1 48 0 24 24 0 1 1 -48 0zm88 0c0-8.8 7.2-16 16-16l128 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-128 0c-8.8 0-16-7.2-16-16z"]},a={prefix:"fas",iconName:"user-check",icon:[640,512,[],"f4fc","M96 128a128 128 0 1 1 256 0A128 128 0 1 1 96 128zM0 482.3C0 383.8 79.8 304 178.3 304l91.4 0C368.2 304 448 383.8 448 482.3c0 16.4-13.3 29.7-29.7 29.7L29.7 512C13.3 512 0 498.7 0 482.3zM625 177L497 305c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L591 143c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z"]},s={prefix:"fas",iconName:"box-archive",icon:[512,512,["archive"],"f187","M32 32l448 0c17.7 0 32 14.3 32 32l0 32c0 17.7-14.3 32-32 32L32 128C14.3 128 0 113.7 0 96L0 64C0 46.3 14.3 32 32 32zm0 128l448 0 0 256c0 35.3-28.7 64-64 64L96 480c-35.3 0-64-28.7-64-64l0-256zm128 80c0 8.8 7.2 16 16 16l160 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-160 0c-8.8 0-16 7.2-16 16z"]},l={prefix:"fas",iconName:"bars",icon:[448,512,["navicon"],"f0c9","M0 96C0 78.3 14.3 64 32 64l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 128C14.3 128 0 113.7 0 96zM0 256c0-17.7 14.3-32 32-32l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 288c-17.7 0-32-14.3-32-32zM448 416c0 17.7-14.3 32-32 32L32 448c-17.7 0-32-14.3-32-32s14.3-32 32-32l384 0c17.7 0 32 14.3 32 32z"]},c={prefix:"fas",iconName:"circle-exclamation",icon:[512,512,["exclamation-circle"],"f06a","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zm0-384c13.3 0 24 10.7 24 24l0 112c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-112c0-13.3 10.7-24 24-24zM224 352a32 32 0 1 1 64 0 32 32 0 1 1 -64 0z"]},u=c,d={prefix:"fas",iconName:"bag-shopping",icon:[448,512,["shopping-bag"],"f290","M160 112c0-35.3 28.7-64 64-64s64 28.7 64 64l0 48-128 0 0-48zm-48 48l-64 0c-26.5 0-48 21.5-48 48L0 416c0 53 43 96 96 96l256 0c53 0 96-43 96-96l0-208c0-26.5-21.5-48-48-48l-64 0 0-48C336 50.1 285.9 0 224 0S112 50.1 112 112l0 48zm24 48a24 24 0 1 1 0 48 24 24 0 1 1 0-48zm152 24a24 24 0 1 1 48 0 24 24 0 1 1 -48 0z"]},p=d,h={prefix:"fas",iconName:"file-plus",icon:[384,512,[],"f319","M64 0C28.7 0 0 28.7 0 64L0 448c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-288-128 0c-17.7 0-32-14.3-32-32L224 0 64 0zM256 0l0 128 128 0L256 0zM192 240c13.3 0 24 10.7 24 24l0 48 48 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-48 0 0 48c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-48-48 0c-13.3 0-24-10.7-24-24s10.7-24 24-24l48 0 0-48c0-13.3 10.7-24 24-24z"]},f={prefix:"fas",iconName:"user",icon:[448,512,[128100,62144],"f007","M224 256A128 128 0 1 0 224 0a128 128 0 1 0 0 256zm-45.7 48C79.8 304 0 383.8 0 482.3C0 498.7 13.3 512 29.7 512l388.6 0c16.4 0 29.7-13.3 29.7-29.7C448 383.8 368.2 304 269.7 304l-91.4 0z"]},m={prefix:"fas",iconName:"clipboard",icon:[384,512,[128203],"f328","M192 0c-41.8 0-77.4 26.7-90.5 64L64 64C28.7 64 0 92.7 0 128L0 448c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64l-37.5 0C269.4 26.7 233.8 0 192 0zm0 64a32 32 0 1 1 0 64 32 32 0 1 1 0-64zM112 192l160 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-160 0c-8.8 0-16-7.2-16-16s7.2-16 16-16z"]},g={prefix:"fas",iconName:"square-dashed-circle-plus",icon:[576,512,[],"e5c2","M96 32C43 32 0 75 0 128l0 32 64 0 0-32c0-17.7 14.3-32 32-32l32 0 0-64L96 32zM0 192L0 320l64 0 0-128L0 192zM64 352L0 352l0 32c0 53 43 96 96 96l32 0 0-64-32 0c-17.7 0-32-14.3-32-32l0-32zM384 128l0 70.6c15.3-4.3 31.4-6.6 48-6.6c5.4 0 10.7 .2 16 .7l0-64.7c0-53-43-96-96-96l-32 0 0 64 32 0c17.7 0 32 14.3 32 32zM160 480l136.2 0c-15.3-18.5-26.9-40.2-33.6-64L160 416l0 64zm0-384l128 0 0-64L160 32l0 64zM432 512a144 144 0 1 0 0-288 144 144 0 1 0 0 288zm16-208l0 48 48 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-48 0 0 48c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-48-48 0c-8.8 0-16-7.2-16-16s7.2-16 16-16l48 0 0-48c0-8.8 7.2-16 16-16s16 7.2 16 16z"]},v={prefix:"fas",iconName:"pause",icon:[320,512,[9208],"f04c","M48 64C21.5 64 0 85.5 0 112L0 400c0 26.5 21.5 48 48 48l32 0c26.5 0 48-21.5 48-48l0-288c0-26.5-21.5-48-48-48L48 64zm192 0c-26.5 0-48 21.5-48 48l0 288c0 26.5 21.5 48 48 48l32 0c26.5 0 48-21.5 48-48l0-288c0-26.5-21.5-48-48-48l-32 0z"]},y={prefix:"fas",iconName:"money-check-dollar",icon:[576,512,["money-check-alt"],"f53d","M64 64C28.7 64 0 92.7 0 128L0 384c0 35.3 28.7 64 64 64l448 0c35.3 0 64-28.7 64-64l0-256c0-35.3-28.7-64-64-64L64 64zM272 192l224 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-224 0c-8.8 0-16-7.2-16-16s7.2-16 16-16zM256 304c0-8.8 7.2-16 16-16l224 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-224 0c-8.8 0-16-7.2-16-16zM164 152l0 13.9c7.5 1.2 14.6 2.9 21.1 4.7c10.7 2.8 17 13.8 14.2 24.5s-13.8 17-24.5 14.2c-11-2.9-21.6-5-31.2-5.2c-7.9-.1-16 1.8-21.5 5c-4.8 2.8-6.2 5.6-6.2 9.3c0 1.8 .1 3.5 5.3 6.7c6.3 3.8 15.5 6.7 28.3 10.5l.7 .2c11.2 3.4 25.6 7.7 37.1 15c12.9 8.1 24.3 21.3 24.6 41.6c.3 20.9-10.5 36.1-24.8 45c-7.2 4.5-15.2 7.3-23.2 9l0 13.8c0 11-9 20-20 20s-20-9-20-20l0-14.6c-10.3-2.2-20-5.5-28.2-8.4c0 0 0 0 0 0s0 0 0 0c-2.1-.7-4.1-1.4-6.1-2.1c-10.5-3.5-16.1-14.8-12.6-25.3s14.8-16.1 25.3-12.6c2.5 .8 4.9 1.7 7.2 2.4c13.6 4.6 24 8.1 35.1 8.5c8.6 .3 16.5-1.6 21.4-4.7c4.1-2.5 6-5.5 5.9-10.5c0-2.9-.8-5-5.9-8.2c-6.3-4-15.4-6.9-28-10.7l-1.7-.5c-10.9-3.3-24.6-7.4-35.6-14c-12.7-7.7-24.6-20.5-24.7-40.7c-.1-21.1 11.8-35.7 25.8-43.9c6.9-4.1 14.5-6.8 22.2-8.5l0-14c0-11 9-20 20-20s20 9 20 20z"]},A=y,b={prefix:"fas",iconName:"arrow-right",icon:[448,512,[8594],"f061","M438.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L338.8 224 32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l306.7 0L233.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160z"]},w={prefix:"fas",iconName:"heart",icon:[512,512,[128153,128154,128155,128156,128420,129293,129294,129505,9829,10084,61578],"f004","M47.6 300.4L228.3 469.1c7.5 7 17.4 10.9 27.7 10.9s20.2-3.9 27.7-10.9L464.4 300.4c30.4-28.3 47.6-68 47.6-109.5v-5.8c0-69.9-50.5-129.5-119.4-141C347 36.5 300.6 51.4 268 84L256 96 244 84c-32.6-32.6-79-47.5-124.6-39.9C50.5 55.6 0 115.2 0 185.1v5.8c0 41.5 17.2 81.2 47.6 109.5z"]},x={prefix:"fas",iconName:"circle",icon:[512,512,[128308,128309,128992,128993,128994,128995,128996,9679,9898,9899,11044,61708,61915],"f111","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512z"]},C={prefix:"fas",iconName:"pen",icon:[512,512,[128394],"f304","M362.7 19.3L314.3 67.7 444.3 197.7l48.4-48.4c25-25 25-65.5 0-90.5L453.3 19.3c-25-25-65.5-25-90.5 0zm-71 71L58.6 323.5c-10.4 10.4-18 23.3-22.2 37.4L1 481.2C-1.5 489.7 .8 498.8 7 505s15.3 8.5 23.7 6.1l120.3-35.4c14.1-4.2 27-11.8 37.4-22.2L421.7 220.3 291.7 90.3z"]},S={prefix:"fas",iconName:"trash",icon:[448,512,[],"f1f8","M135.2 17.7L128 32 32 32C14.3 32 0 46.3 0 64S14.3 96 32 96l384 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-96 0-7.2-14.3C307.4 6.8 296.3 0 284.2 0L163.8 0c-12.1 0-23.2 6.8-28.6 17.7zM416 128L32 128 53.2 467c1.6 25.3 22.6 45 47.9 45l245.8 0c25.3 0 46.3-19.7 47.9-45L416 128z"]},k={prefix:"fas",iconName:"circle-info",icon:[512,512,["info-circle"],"f05a","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM216 336l24 0 0-64-24 0c-13.3 0-24-10.7-24-24s10.7-24 24-24l48 0c13.3 0 24 10.7 24 24l0 88 8 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-80 0c-13.3 0-24-10.7-24-24s10.7-24 24-24zm40-208a32 32 0 1 1 0 64 32 32 0 1 1 0-64z"]},E=k,I={prefix:"fas",iconName:"backward-step",icon:[320,512,["step-backward"],"f048","M267.5 440.6c9.5 7.9 22.8 9.7 34.1 4.4s18.4-16.6 18.4-29l0-320c0-12.4-7.2-23.7-18.4-29s-24.5-3.6-34.1 4.4l-192 160L64 241 64 96c0-17.7-14.3-32-32-32S0 78.3 0 96L0 416c0 17.7 14.3 32 32 32s32-14.3 32-32l0-145 11.5 9.6 192 160z"]},_={prefix:"fas",iconName:"map-pin",icon:[320,512,[128205],"f276","M16 144a144 144 0 1 1 288 0A144 144 0 1 1 16 144zM160 80c8.8 0 16-7.2 16-16s-7.2-16-16-16c-53 0-96 43-96 96c0 8.8 7.2 16 16 16s16-7.2 16-16c0-35.3 28.7-64 64-64zM128 480l0-162.9c10.4 1.9 21.1 2.9 32 2.9s21.6-1 32-2.9L192 480c0 17.7-14.3 32-32 32s-32-14.3-32-32z"]},P={prefix:"fas",iconName:"ellipsis-vertical",icon:[128,512,["ellipsis-v"],"f142","M64 360a56 56 0 1 0 0 112 56 56 0 1 0 0-112zm0-160a56 56 0 1 0 0 112 56 56 0 1 0 0-112zM120 96A56 56 0 1 0 8 96a56 56 0 1 0 112 0z"]},O=P,T={prefix:"fas",iconName:"download",icon:[512,512,[],"f019","M288 32c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 242.7-73.4-73.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l128 128c12.5 12.5 32.8 12.5 45.3 0l128-128c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L288 274.7 288 32zM64 352c-35.3 0-64 28.7-64 64l0 32c0 35.3 28.7 64 64 64l384 0c35.3 0 64-28.7 64-64l0-32c0-35.3-28.7-64-64-64l-101.5 0-45.3 45.3c-25 25-65.5 25-90.5 0L165.5 352 64 352zm368 56a24 24 0 1 1 0 48 24 24 0 1 1 0-48z"]},D={prefix:"fas",iconName:"arrow-right-arrow-left",icon:[448,512,[8644,"exchange"],"f0ec","M438.6 150.6c12.5-12.5 12.5-32.8 0-45.3l-96-96c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L338.7 96 32 96C14.3 96 0 110.3 0 128s14.3 32 32 32l306.7 0-41.4 41.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l96-96zm-333.3 352c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 416 416 416c17.7 0 32-14.3 32-32s-14.3-32-32-32l-306.7 0 41.4-41.4c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-96 96c-12.5 12.5-12.5 32.8 0 45.3l96 96z"]},j=D,B={prefix:"fas",iconName:"angle-down",icon:[448,512,[8964],"f107","M201.4 374.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 306.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z"]},N={prefix:"fas",iconName:"play",icon:[384,512,[9654],"f04b","M73 39c-14.8-9.1-33.4-9.4-48.5-.9S0 62.6 0 80L0 432c0 17.4 9.4 33.4 24.5 41.9s33.7 8.1 48.5-.9L361 297c14.3-8.7 23-24.2 23-41s-8.7-32.2-23-41L73 39z"]},M={prefix:"fas",iconName:"magnifying-glass",icon:[512,512,[128269,"search"],"f002","M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z"]},R=M,L={prefix:"fas",iconName:"plus",icon:[448,512,[10133,61543,"add"],"2b","M256 80c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 144L48 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l144 0 0 144c0 17.7 14.3 32 32 32s32-14.3 32-32l0-144 144 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-144 0 0-144z"]},F=L,z={prefix:"fas",iconName:"xmark",icon:[384,512,[128473,10005,10006,10060,215,"close","multiply","remove","times"],"f00d","M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z"]},Q=z,U={prefix:"fas",iconName:"angle-up",icon:[448,512,[8963],"f106","M201.4 137.4c12.5-12.5 32.8-12.5 45.3 0l160 160c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L224 205.3 86.6 342.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l160-160z"]},V={prefix:"fas",iconName:"grip-dots-vertical",icon:[256,512,[],"e411","M48 144a48 48 0 1 0 0-96 48 48 0 1 0 0 96zm0 160a48 48 0 1 0 0-96 48 48 0 1 0 0 96zM96 416A48 48 0 1 0 0 416a48 48 0 1 0 96 0zM208 144a48 48 0 1 0 0-96 48 48 0 1 0 0 96zm48 112a48 48 0 1 0 -96 0 48 48 0 1 0 96 0zM208 464a48 48 0 1 0 0-96 48 48 0 1 0 0 96z"]},G={prefix:"fas",iconName:"check",icon:[448,512,[10003,10004],"f00c","M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z"]},q={prefix:"fas",iconName:"triangle-exclamation",icon:[512,512,[9888,"exclamation-triangle","warning"],"f071","M256 32c14.2 0 27.3 7.5 34.5 19.8l216 368c7.3 12.4 7.3 27.7 .2 40.1S486.3 480 472 480L40 480c-14.3 0-27.6-7.7-34.7-20.1s-7-27.8 .2-40.1l216-368C228.7 39.5 241.8 32 256 32zm0 128c-13.3 0-24 10.7-24 24l0 112c0 13.3 10.7 24 24 24s24-10.7 24-24l0-112c0-13.3-10.7-24-24-24zm32 224a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z"]},H=q,W={prefix:"fas",iconName:"user-clock",icon:[640,512,[],"f4fd","M224 0a128 128 0 1 1 0 256A128 128 0 1 1 224 0zM178.3 304l91.4 0c20.6 0 40.4 3.5 58.8 9.9C323 331 320 349.1 320 368c0 59.5 29.5 112.1 74.8 144L29.7 512C13.3 512 0 498.7 0 482.3C0 383.8 79.8 304 178.3 304zM352 368a144 144 0 1 1 288 0 144 144 0 1 1 -288 0zm144-80c-8.8 0-16 7.2-16 16l0 64c0 8.8 7.2 16 16 16l48 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-32 0 0-48c0-8.8-7.2-16-16-16z"]}},66197:(e,t,n)=>{"use strict";n.d(t,{jl:()=>A,yo:()=>x,KQ:()=>IT,_V:()=>g,N1:()=>h,YW:()=>c,wA:()=>d,vv:()=>_T,BS:()=>o,EY:()=>s,Ss:()=>a,cQ:()=>PT});var r={};n.r(r),n.d(r,{Canvas:()=>y,Circle:()=>A,ClipPath:()=>S,Defs:()=>m,Document:()=>x,Ellipse:()=>b,G:()=>i,Image:()=>g,Line:()=>h,LinearGradient:()=>E,Link:()=>l,Note:()=>u,Page:()=>c,Path:()=>d,Polygon:()=>w,Polyline:()=>C,RadialGradient:()=>I,Rect:()=>p,Stop:()=>f,Svg:()=>o,Text:()=>s,TextInstance:()=>k,Tspan:()=>v,View:()=>a});const i="G",o="SVG",a="VIEW",s="TEXT",l="LINK",c="PAGE",u="NOTE",d="PATH",p="RECT",h="LINE",f="STOP",m="DEFS",g="IMAGE",v="TSPAN",y="CANVAS",A="CIRCLE",b="ELLIPSE",w="POLYGON",x="DOCUMENT",C="POLYLINE",S="CLIP_PATH",k="TEXT_INSTANCE",E="LINEAR_GRADIENT",I="RADIAL_GRADIENT";var _=n(16874),P=n(9950),O=(n(55391),n(96487));const T={utf16le:"utf-16le",ucs2:"utf-16le",utf16be:"utf-16be"};class D{constructor(e){this.buffer=e,this.view=new DataView(e.buffer,e.byteOffset,e.byteLength),this.pos=0,this.length=this.buffer.length}readString(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"ascii";t=T[t]||t;let n=this.readBuffer(e);try{return new TextDecoder(t).decode(n)}catch(Ym){return n}}readBuffer(e){return this.buffer.slice(this.pos,this.pos+=e)}readUInt24BE(){return(this.readUInt16BE()<<8)+this.readUInt8()}readUInt24LE(){return this.readUInt16LE()+(this.readUInt8()<<16)}readInt24BE(){return(this.readInt16BE()<<8)+this.readUInt8()}readInt24LE(){return this.readUInt16LE()+(this.readInt8()<<16)}}D.TYPES={UInt8:1,UInt16:2,UInt24:3,UInt32:4,Int8:1,Int16:2,Int24:3,Int32:4,Float:4,Double:8};for(let TT of Object.getOwnPropertyNames(DataView.prototype))if("get"===TT.slice(0,3)){let e=TT.slice(3).replace("Ui","UI");"Float32"===e?e="Float":"Float64"===e&&(e="Double");let t=D.TYPES[e];D.prototype["read"+e+(1===t?"":"BE")]=function(){const e=this.view[TT](this.pos,!1);return this.pos+=t,e},1!==t&&(D.prototype["read"+e+"LE"]=function(){const e=this.view[TT](this.pos,!0);return this.pos+=t,e})}const j=new TextEncoder,B=18==new Uint8Array(new Uint16Array([4660]).buffer)[0];class N{constructor(e){this.buffer=e,this.view=new DataView(this.buffer.buffer,this.buffer.byteOffset,this.buffer.byteLength),this.pos=0}writeBuffer(e){this.buffer.set(e,this.pos),this.pos+=e.length}writeString(e){let t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"ascii";switch(n){case"utf16le":case"utf16-le":case"ucs2":t=M(e,B);break;case"utf16be":case"utf16-be":t=M(e,!B);break;case"utf8":t=j.encode(e);break;case"ascii":t=function(e){let t=new Uint8Array(e.length);for(let n=0;n<e.length;n++)t[n]=e.charCodeAt(n);return t}(e);break;default:throw new Error(`Unsupported encoding: ${n}`)}this.writeBuffer(t)}writeUInt24BE(e){this.buffer[this.pos++]=e>>>16&255,this.buffer[this.pos++]=e>>>8&255,this.buffer[this.pos++]=255&e}writeUInt24LE(e){this.buffer[this.pos++]=255&e,this.buffer[this.pos++]=e>>>8&255,this.buffer[this.pos++]=e>>>16&255}writeInt24BE(e){e>=0?this.writeUInt24BE(e):this.writeUInt24BE(e+16777215+1)}writeInt24LE(e){e>=0?this.writeUInt24LE(e):this.writeUInt24LE(e+16777215+1)}fill(e,t){if(t<this.buffer.length)this.buffer.fill(e,this.pos,this.pos+t),this.pos+=t;else{const n=new Uint8Array(t);n.fill(e),this.writeBuffer(n)}}}function M(e,t){let n=new Uint16Array(e.length);for(let r=0;r<e.length;r++){let i=e.charCodeAt(r);t&&(i=i>>8|(255&i)<<8),n[r]=i}return new Uint8Array(n.buffer)}for(let TT of Object.getOwnPropertyNames(DataView.prototype))if("set"===TT.slice(0,3)){let e=TT.slice(3).replace("Ui","UI");"Float32"===e?e="Float":"Float64"===e&&(e="Double");let t=D.TYPES[e];N.prototype["write"+e+(1===t?"":"BE")]=function(e){this.view[TT](this.pos,e,!1),this.pos+=t},1!==t&&(N.prototype["write"+e+"LE"]=function(e){this.view[TT](this.pos,e,!0),this.pos+=t})}class R{fromBuffer(e){let t=new D(e);return this.decode(t)}toBuffer(e){let t=this.size(e),n=new Uint8Array(t),r=new N(n);return this.encode(r,e),n}}class L extends R{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"BE";super(),this.type=e,this.endian=t,this.fn=this.type,"8"!==this.type[this.type.length-1]&&(this.fn+=this.endian)}size(){return D.TYPES[this.type]}decode(e){return e[`read${this.fn}`]()}encode(e,t){return e[`write${this.fn}`](t)}}const F=new L("UInt8"),z=new L("UInt16","BE"),Q=z,U=new L("UInt16","LE"),V=new L("UInt24","BE"),G=(new L("UInt24","LE"),new L("UInt32","BE")),q=G,H=new L("UInt32","LE"),W=new L("Int8"),Y=new L("Int16","BE"),K=(new L("Int16","LE"),new L("Int24","BE"),new L("Int24","LE"),new L("Int32","BE"));new L("Int32","LE"),new L("Float","BE"),new L("Float","LE"),new L("Double","BE"),new L("Double","LE");class J extends L{constructor(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e>>1;super(`Int${e}`,t),this._point=1<<n}decode(e){return super.decode(e)/this._point}encode(e,t){return super.encode(e,t*this._point|0)}}const X=new J(16,"BE"),Z=(new J(16,"LE"),new J(32,"BE"));new J(32,"LE");function $(e,t,n){let r;if("number"===typeof e?r=e:"function"===typeof e?r=e.call(n,n):n&&"string"===typeof e?r=n[e]:t&&e instanceof L&&(r=e.decode(t)),isNaN(r))throw new Error("Not a fixed size");return r}class ee{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.enumerable=!0,this.configurable=!0;for(let t in e){const n=e[t];this[t]=n}}}class te extends R{constructor(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"count";super(),this.type=e,this.length=t,this.lengthType=n}decode(e,t){let n;const{pos:r}=e,i=[];let o=t;if(null!=this.length&&(n=$(this.length,e,t)),this.length instanceof L&&(Object.defineProperties(i,{parent:{value:t},_startOffset:{value:r},_currentOffset:{value:0,writable:!0},_length:{value:n}}),o=i),null==n||"bytes"===this.lengthType){const r=null!=n?e.pos+n:(null!=t?t._length:void 0)?t._startOffset+t._length:e.length;for(;e.pos<r;)i.push(this.type.decode(e,o))}else for(let a=0,s=n;a<s;a++)i.push(this.type.decode(e,o));return i}size(e,t){let n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!e)return this.type.size(null,t)*$(this.length,null,t);let r=0;this.length instanceof L&&(r+=this.length.size(),t={parent:t,pointerSize:0});for(let i of e)r+=this.type.size(i,t);return t&&n&&this.length instanceof L&&(r+=t.pointerSize),r}encode(e,t,n){let r=n;this.length instanceof L&&(r={pointers:[],startOffset:e.pos,parent:n},r.pointerOffset=e.pos+this.size(t,r,!1),this.length.encode(e,t.length));for(let i of t)this.type.encode(e,i,r);if(this.length instanceof L){let t=0;for(;t<r.pointers.length;){const n=r.pointers[t++];n.type.encode(e,n.val,n.parent)}}}}class ne extends te{decode(e,t){const{pos:n}=e,r=$(this.length,e,t);this.length instanceof L&&(t={parent:t,_startOffset:n,_currentOffset:0,_length:r});const i=new re(this.type,r,e,t);return e.pos+=r*this.type.size(null,t),i}size(e,t){return e instanceof re&&(e=e.toArray()),super.size(e,t)}encode(e,t,n){return t instanceof re&&(t=t.toArray()),super.encode(e,t,n)}}class re{constructor(e,t,n,r){this.type=e,this.length=t,this.stream=n,this.ctx=r,this.base=this.stream.pos,this.items=[]}get(e){if(!(e<0||e>=this.length)){if(null==this.items[e]){const{pos:t}=this.stream;this.stream.pos=this.base+this.type.size(null,this.ctx)*e,this.items[e]=this.type.decode(this.stream,this.ctx),this.stream.pos=t}return this.items[e]}}toArray(){const e=[];for(let t=0,n=this.length;t<n;t++)e.push(this.get(t));return e}}class ie extends R{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];super(),this.type=e,this.flags=t}decode(e){const t=this.type.decode(e),n={};for(let r=0;r<this.flags.length;r++){const e=this.flags[r];null!=e&&(n[e]=!!(t&1<<r))}return n}size(){return this.type.size()}encode(e,t){let n=0;for(let r=0;r<this.flags.length;r++){const e=this.flags[r];null!=e&&t[e]&&(n|=1<<r)}return this.type.encode(e,n)}}class oe extends R{constructor(e){super(),this.length=e}decode(e,t){const n=$(this.length,e,t);return e.readBuffer(n)}size(e,t){if(!e)return $(this.length,null,t);let n=e.length;return this.length instanceof L&&(n+=this.length.size()),n}encode(e,t,n){return this.length instanceof L&&this.length.encode(e,t.length),e.writeBuffer(t)}}class ae extends R{constructor(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];super(),this.type=e,this.condition=t}decode(e,t){let{condition:n}=this;if("function"===typeof n&&(n=n.call(t,t)),n)return this.type.decode(e,t)}size(e,t){let{condition:n}=this;return"function"===typeof n&&(n=n.call(t,t)),n?this.type.size(e,t):0}encode(e,t,n){let{condition:r}=this;if("function"===typeof r&&(r=r.call(n,n)),r)return this.type.encode(e,t,n)}}class se extends R{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;super(),this.type=e,this.count=t}decode(e,t){e.pos+=this.size(null,t)}size(e,t){const n=$(this.count,null,t);return this.type.size()*n}encode(e,t,n){return e.fill(0,this.size(t,n))}}class le extends R{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"ascii";super(),this.length=e,this.encoding=t}decode(e,t){let n,r,{encoding:i}=this;"function"===typeof i&&(i=i.call(t,t)||"ascii");let o=ce(i);if(null!=this.length)n=$(this.length,e,t);else{let t;for(({buffer:t,length:n,pos:r}=e);r<n-o+1&&(0!==t[r]||2===o&&0!==t[r+1]);)r+=o;n=r-e.pos}const a=e.readString(n,i);return null==this.length&&e.pos<e.length&&(e.pos+=o),a}size(e,t){if(void 0===e||null===e)return $(this.length,null,t);let{encoding:n}=this;"function"===typeof n&&(n=n.call(null!=t?t.val:void 0,null!=t?t.val:void 0)||"ascii"),"utf16be"===n&&(n="utf16le");let r=ue(e,n);return this.length instanceof L&&(r+=this.length.size()),null==this.length&&(r+=ce(n)),r}encode(e,t,n){let{encoding:r}=this;if("function"===typeof r&&(r=r.call(null!=n?n.val:void 0,null!=n?n.val:void 0)||"ascii"),this.length instanceof L&&this.length.encode(e,ue(t,r)),e.writeString(t,r),null==this.length)return 2==ce(r)?e.writeUInt16LE(0):e.writeUInt8(0)}}function ce(e){switch(e){case"ascii":case"utf8":default:return 1;case"utf16le":case"utf16-le":case"utf-16be":case"utf-16le":case"utf16be":case"utf16-be":case"ucs2":return 2}}function ue(e,t){switch(t){case"ascii":return e.length;case"utf8":let n=0;for(let t=0;t<e.length;t++){let r=e.charCodeAt(t);if(r>=55296&&r<=56319&&t<e.length-1){let n=e.charCodeAt(++t);56320===(64512&n)?r=((1023&r)<<10)+(1023&n)+65536:t--}0===(4294967168&r)?n++:0===(4294965248&r)?n+=2:0===(4294901760&r)?n+=3:0===(4292870144&r)&&(n+=4)}return n;case"utf16le":case"utf16-le":case"utf16be":case"utf16-be":case"ucs2":return 2*e.length;default:throw new Error("Unknown encoding "+t)}}class de extends R{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};super(),this.fields=e}decode(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;const r=this._setup(e,t,n);return this._parseFields(e,r,this.fields),null!=this.process&&this.process.call(r,e),r}_setup(e,t,n){const r={};return Object.defineProperties(r,{parent:{value:t},_startOffset:{value:e.pos},_currentOffset:{value:0,writable:!0},_length:{value:n}}),r}_parseFields(e,t,n){for(let i in n){var r;const o=n[i];void 0!==(r="function"===typeof o?o.call(t,t):o.decode(e,t))&&(r instanceof ee?Object.defineProperty(t,i,r):t[i]=r),t._currentOffset=e.pos-t._startOffset}}size(e,t){let n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];null==e&&(e={});const r={parent:t,val:e,pointerSize:0};null!=this.preEncode&&this.preEncode.call(e);let i=0;for(let o in this.fields){const t=this.fields[o];null!=t.size&&(i+=t.size(e[o],r))}return n&&(i+=r.pointerSize),i}encode(e,t,n){let r;null!=this.preEncode&&this.preEncode.call(t,e);const i={pointers:[],startOffset:e.pos,parent:n,val:t,pointerSize:0};i.pointerOffset=e.pos+this.size(t,i,!1);for(let a in this.fields)r=this.fields[a],null!=r.encode&&r.encode(e,t[a],i);let o=0;for(;o<i.pointers.length;){const t=i.pointers[o++];t.type.encode(e,t.val,t.parent)}}}class pe extends de{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};super(),this.type=e,this.versions=t,"string"===typeof e&&(this.versionPath=e.split("."))}decode(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;const r=this._setup(e,t,n);var i;"string"===typeof this.type?r.version=(i=t,this.versionPath.reduce(((e,t)=>e&&e[t]),i)):r.version=this.type.decode(e),this.versions.header&&this._parseFields(e,r,this.versions.header);const o=this.versions[r.version];if(null==o)throw new Error(`Unknown version ${r.version}`);return o instanceof pe?o.decode(e,t):(this._parseFields(e,r,o),null!=this.process&&this.process.call(r,e),r)}size(e,t){let n,r,i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!e)throw new Error("Not a fixed size");null!=this.preEncode&&this.preEncode.call(e);const o={parent:t,val:e,pointerSize:0};let a=0;if("string"!==typeof this.type&&(a+=this.type.size(e.version,o)),this.versions.header)for(n in this.versions.header)r=this.versions.header[n],null!=r.size&&(a+=r.size(e[n],o));const s=this.versions[e.version];if(null==s)throw new Error(`Unknown version ${e.version}`);for(n in s)r=s[n],null!=r.size&&(a+=r.size(e[n],o));return i&&(a+=o.pointerSize),a}encode(e,t,n){let r,i;null!=this.preEncode&&this.preEncode.call(t,e);const o={pointers:[],startOffset:e.pos,parent:n,val:t,pointerSize:0};if(o.pointerOffset=e.pos+this.size(t,o,!1),"string"!==typeof this.type&&this.type.encode(e,t.version),this.versions.header)for(r in this.versions.header)i=this.versions.header[r],null!=i.encode&&i.encode(e,t[r],o);const a=this.versions[t.version];for(r in a)i=a[r],null!=i.encode&&i.encode(e,t[r],o);let s=0;for(;s<o.pointers.length;){const t=o.pointers[s++];t.type.encode(e,t.val,t.parent)}}}class he extends R{constructor(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(super(),this.offsetType=e,this.type=t,this.options=n,"void"===this.type&&(this.type=null),null==this.options.type&&(this.options.type="local"),null==this.options.allowNull&&(this.options.allowNull=!0),null==this.options.nullValue&&(this.options.nullValue=0),null==this.options.lazy&&(this.options.lazy=!1),this.options.relativeTo){if("function"!==typeof this.options.relativeTo)throw new Error("relativeTo option must be a function");this.relativeToGetter=n.relativeTo}}decode(e,t){const n=this.offsetType.decode(e,t);if(n===this.options.nullValue&&this.options.allowNull)return null;let r;switch(this.options.type){case"local":r=t._startOffset;break;case"immediate":r=e.pos-this.offsetType.size();break;case"parent":r=t.parent._startOffset;break;default:for(var i=t;i.parent;)i=i.parent;r=i._startOffset||0}this.options.relativeTo&&(r+=this.relativeToGetter(t));const o=n+r;if(null!=this.type){let n=null;const r=()=>{if(null!=n)return n;const{pos:r}=e;return e.pos=o,n=this.type.decode(e,t),e.pos=r,n};return this.options.lazy?new ee({get:r}):r()}return o}size(e,t){const n=t;switch(this.options.type){case"local":case"immediate":break;case"parent":t=t.parent;break;default:for(;t.parent;)t=t.parent}let{type:r}=this;if(null==r){if(!(e instanceof fe))throw new Error("Must be a VoidPointer");({type:r}=e),e=e.value}if(e&&t){let i=r.size(e,n);t.pointerSize+=i}return this.offsetType.size()}encode(e,t,n){let r;const i=n;if(null==t)return void this.offsetType.encode(e,this.options.nullValue);switch(this.options.type){case"local":r=n.startOffset;break;case"immediate":r=e.pos+this.offsetType.size(t,i);break;case"parent":r=(n=n.parent).startOffset;break;default:for(r=0;n.parent;)n=n.parent}this.options.relativeTo&&(r+=this.relativeToGetter(i.val)),this.offsetType.encode(e,n.pointerOffset-r);let{type:o}=this;if(null==o){if(!(t instanceof fe))throw new Error("Must be a VoidPointer");({type:o}=t),t=t.value}return n.pointers.push({type:o,val:t,parent:i}),n.pointerOffset+=o.size(t,i)}}class fe{constructor(e,t){this.type=e,this.value=t}}function me(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ge(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a}Object.create;Object.create;"function"===typeof SuppressedError&&SuppressedError;var ve=n(45355),ye=n(46676),Ae=n(18985);function be(e){return e&&e.__esModule?e.default:e}var we;we=JSON.parse('{"categories":["Cc","Zs","Po","Sc","Ps","Pe","Sm","Pd","Nd","Lu","Sk","Pc","Ll","So","Lo","Pi","Cf","No","Pf","Lt","Lm","Mn","Me","Mc","Nl","Zl","Zp","Cs","Co"],"combiningClasses":["Not_Reordered","Above","Above_Right","Below","Attached_Above_Right","Attached_Below","Overlay","Iota_Subscript","Double_Below","Double_Above","Below_Right","Above_Left","CCC10","CCC11","CCC12","CCC13","CCC14","CCC15","CCC16","CCC17","CCC18","CCC19","CCC20","CCC21","CCC22","CCC23","CCC24","CCC25","CCC30","CCC31","CCC32","CCC27","CCC28","CCC29","CCC33","CCC34","CCC35","CCC36","Nukta","Virama","CCC84","CCC91","CCC103","CCC107","CCC118","CCC122","CCC129","CCC130","CCC132","Attached_Above","Below_Left","Left","Kana_Voicing","CCC26","Right"],"scripts":["Common","Latin","Bopomofo","Inherited","Greek","Coptic","Cyrillic","Armenian","Hebrew","Arabic","Syriac","Thaana","Nko","Samaritan","Mandaic","Devanagari","Bengali","Gurmukhi","Gujarati","Oriya","Tamil","Telugu","Kannada","Malayalam","Sinhala","Thai","Lao","Tibetan","Myanmar","Georgian","Hangul","Ethiopic","Cherokee","Canadian_Aboriginal","Ogham","Runic","Tagalog","Hanunoo","Buhid","Tagbanwa","Khmer","Mongolian","Limbu","Tai_Le","New_Tai_Lue","Buginese","Tai_Tham","Balinese","Sundanese","Batak","Lepcha","Ol_Chiki","Braille","Glagolitic","Tifinagh","Han","Hiragana","Katakana","Yi","Lisu","Vai","Bamum","Syloti_Nagri","Phags_Pa","Saurashtra","Kayah_Li","Rejang","Javanese","Cham","Tai_Viet","Meetei_Mayek","null","Linear_B","Lycian","Carian","Old_Italic","Gothic","Old_Permic","Ugaritic","Old_Persian","Deseret","Shavian","Osmanya","Osage","Elbasan","Caucasian_Albanian","Linear_A","Cypriot","Imperial_Aramaic","Palmyrene","Nabataean","Hatran","Phoenician","Lydian","Meroitic_Hieroglyphs","Meroitic_Cursive","Kharoshthi","Old_South_Arabian","Old_North_Arabian","Manichaean","Avestan","Inscriptional_Parthian","Inscriptional_Pahlavi","Psalter_Pahlavi","Old_Turkic","Old_Hungarian","Hanifi_Rohingya","Old_Sogdian","Sogdian","Elymaic","Brahmi","Kaithi","Sora_Sompeng","Chakma","Mahajani","Sharada","Khojki","Multani","Khudawadi","Grantha","Newa","Tirhuta","Siddham","Modi","Takri","Ahom","Dogra","Warang_Citi","Nandinagari","Zanabazar_Square","Soyombo","Pau_Cin_Hau","Bhaiksuki","Marchen","Masaram_Gondi","Gunjala_Gondi","Makasar","Cuneiform","Egyptian_Hieroglyphs","Anatolian_Hieroglyphs","Mro","Bassa_Vah","Pahawh_Hmong","Medefaidrin","Miao","Tangut","Nushu","Duployan","SignWriting","Nyiakeng_Puachue_Hmong","Wancho","Mende_Kikakui","Adlam"],"eaw":["N","Na","A","W","H","F"]}');const xe=new Ae(ye.toByteArray("AAARAAAAAADwfAEAZXl5ONRt+/5bPVFZimRfKoTQJNm37CGE7Iw0j3UsTWKsoyI7kwyyTiEUzSD7NiEzhWYijH0wMVkHE4Mx49fzfo+3nuP4/fdZjvv+XNd5n/d9nef1WZvmKhTxiZndzDQBSEYQqxqKwnsKvGQucFh+6t6cJ792ePQBZv5S9yXSwkyjf/P4T7mTNnIAv1dOVhMlR9lflbUL9JeJguqsjvG9NTj/wLb566VAURnLo2vvRi89S3gW/33ihh2eXpDn40BIW7REl/7coRKIhAFlAiOtbLDTt6mMb4GzMF1gNnvX/sBxtbsAIjfztCNcQjcNDtLThRvuXu5M5g/CBjaLBE4lJm4qy/oZD97+IJryApcXfgWYlkvWbhfXgujOJKVu8B+ozqTLbxyJ5kNiR75CxDqfBM9eOlDMmGeoZ0iQbbS5VUplIwI+ZNXEKQVJxlwqjhOY7w3XwPesbLK5JZE+Tt4X8q8km0dzInsPPzbscrjBMVjF5mOHSeRdJVgKUjLTHiHqXSPkep8N/zFk8167KLp75f6RndkvzdfB6Uz3MmqvRArzdCbs1/iRZjYPLLF3U8Qs+H+Rb8iK51a6NIV2V9+07uJsTGFWpPz8J++7iRu2B6eAKlK/kujrLthwaD/7a6J5w90TusnH1JMAc+gNrql4aspOUG/RrsxUKmPzhHgP4Bleru+6Vfc/MBjgXVx7who94nPn7MPFrnwQP7g0k0Dq0h2GSKO6fTZ8nLodN1SiOUj/5EL/Xo1DBvRm0wmrh3x6phcJ20/9CuMr5h8WPqXMSasLoLHoufTmE7mzYrs6B0dY7KjuCogKqsvxnxAwXWvd9Puc9PnE8DOHT2INHxRlIyVHrqZahtfV2E/A2PDdtA3ewlRHMtFIBKO/T4IozWTQZ+mb+gdKuk/ZHrqloucKdsOSJmlWTSntWjcxVMjUmroXLM10I6TwDLnBq4LP69TxgVeyGsd8yHvhF8ydPlrNRSNs9EP7WmeuSE7Lu10JbOuQcJw/63sDp68wB9iwP5AO+mBpV0R5VDDeyQUFCel1G+4KHBgEVFS0YK+m2sXLWLuGTlkVAd97WwKKdacjWElRCuDRauf33l/yVcDF6sVPKeTes99FC1NpNWcpieGSV/IbO8PCTy5pbUR1U8lxzf4T+y6fZMxOz3LshkQLeeDSd0WmUrQgajmbktrxsb2AZ0ACw2Vgni+gV/m+KvCRWLg08Clx7uhql+v9XySGcjjOHlsp8vBw/e8HS7dtiqF6T/XcSXuaMW66GF1g4q9YyBadHqy3Y5jin1c7yZos6BBr6dsomSHxiUHanYtcYQwnMMZhRhOnaYJeyJzaRuukyCUh48+e/BUvk/aEfDp8ag+jD64BHxNnQ5v/E7WRk7eLjGV13I3oqy45YNONi/1op1oDr7rPjkhPsTXgUpQtGDPlIs55KhQaic9kSGs/UrZ2QKQOflB8MTEQxRF9pullToWO7Eplan6mcMRFnUu2441yxi23x+KqKlr7RWWsi9ZXMWlr8vfP3llk1m2PRj0yudccxBuoa7VfIgRmnFPGX6Pm1WIfMm/Rm4n/xTn8IGqA0GWuqgu48pEUO0U9nN+ZdIvFpPb7VDPphIfRZxznlHeVFebkd9l+raXy9BpTMcIUIvBfgHEb6ndGo8VUkxpief14KjzFOcaANfgvFpvyY8lE8lE4raHizLpluPzMks1hx/e1Hok5yV0p7qQH7GaYeMzzZTFvRpv6k6iaJ4yNqzBvN8J7B430h2wFm1IBPcqbou33G7/NWPgopl4Mllla6e24L3TOTVNkza2zv3QKuDWTeDpClCEYgTQ+5vEBSQZs/rMF50+sm4jofTgWLqgX1x3TkrDEVaRqfY/xZizFZ3Y8/DFEFD31VSfBQ5raEB6nHnZh6ddehtclQJ8fBrldyIh99LNnV32HzKEej04hk6SYjdauCa4aYW0ru/QxvQRGzLKOAQszf3ixJypTW3WWL6BLSF2EMCMIw7OUvWBC6A/gDc2D1jvBapMCc7ztx6jYczwTKsRLL6dMNXb83HS8kdD0pTMMj161zbVHkU0mhSHo9SlBDDXdN6hDvRGizmohtIyR3ot8tF5iUG4GLNcXeGvBudSFrHu+bVZb9jirNVG+rQPI51A7Hu8/b0UeaIaZ4UgDO68PkYx3PE2HWpKapJ764Kxt5TFYpywMy4DLQqVRy11I7SOLhxUFmqiEK52NaijWArIfCg6qG8q5eSiwRCJb1R7GDJG74TrYgx/lVq7w9++Kh929xSJEaoSse5fUOQg9nMAnIZv+7fwVRcNv3gOHI46Vb5jYUC66PYHO6lS+TOmvEQjuYmx4RkffYGxqZIp/DPWNHAixbRBc+XKE3JEOgs4jIwu/dSAwhydruOGF39co91aTs85JJ3Z/LpXoF43hUwJsb/M1Chzdn8HX8vLXnqWUKvRhNLpfAF4PTFqva1sBQG0J+59HyYfmQ3oa4/sxZdapVLlo/fooxSXi/dOEQWIWq8E0FkttEyTFXR2aNMPINMIzZwCNEheYTVltsdaLkMyKoEUluPNAYCM2IG3br0DLy0fVNWKHtbSKbBjfiw7Lu06gQFalC7RC9BwRMSpLYDUo9pDtDfzwUiPJKLJ2LGcSphWBadOI/iJjNqUHV7ucG8yC6+iNM9QYElqBR7ECFXrcTgWQ3eG/tCWacT9bxIkfmxPmi3vOd36KxihAJA73vWNJ+Y9oapXNscVSVqS5g15xOWND/WuUCcA9YAAg6WFbjHamrblZ5c0L6Zx1X58ZittGcfDKU697QRSqW/g+RofNRyvrWMrBn44cPvkRe2HdTu/Cq01C5/riWPHZyXPKHuSDDdW8c1XPgd6ogvLh20qEIu8c19sqr4ufyHrwh37ZN5MkvY1dsGmEz9pUBTxWrvvhNyODyX2Q1k/fbX/T/vbHNcBrmjgDtvBdtZrVtiIg5iXQuzO/DEMvRX8Mi1zymSlt92BGILeKItjoShJXE/H7xwnf0Iewb8BFieJ9MflEBCQYEDm8eZniiEPfGoaYiiEdhQxHQNr2AuRdmbL9mcl18Kumh+HEZLp6z+j35ML9zTbUwahUZCyQQOgQrGfdfQtaR/OYJ/9dYXb2TWZFMijfCA8Nov4sa5FFDUe1T68h4q08WDE7JbbDiej4utRMR9ontevxlXv6LuJTXt1YEv8bDzEt683PuSsIN0afvu0rcBu9AbXZbkOG3K3AhtqQ28N23lXm7S3Yn6KXmAhBhz+GeorJJ4XxO/b3vZk2LXp42+QvsVxGSNVpfSctIFMTR1bD9t70i6sfNF3WKz/uKDEDCpzzztwhL45lsw89H2IpWN10sXHRlhDse9KCdpP5qNNpU84cTY+aiqswqR8XZ9ea0KbVRwRuOGQU3csAtV2fSbnq47U6es6rKlWLWhg3s/B9C9g+oTyp6RtIldR51OOkP5/6nSy6itUVPcMNOp4M/hDdKOz3uK6srbdxOrc2cJgr1Sg02oBxxSky6V7JaG+ziNwlfqnjnvh2/uq1lKfbp+qpwq/D/5OI5gkFl5CejKGxfc2YVJfGqc4E0x5e9PHK2ukbHNI7/RZV6LNe65apbTGjoCaQls0txPPbmQbCQn+/upCoXRZy9yzorWJvZ0KWcbXlBxU/d5I4ERUTxMuVWhSMmF677LNN7NnLwsmKawXkCgbrpcluOl0WChR1qhtSrxGXHu251dEItYhYX3snvn1gS2uXuzdTxCJjZtjsip0iT2sDC0qMS7Bk9su2NyXjFK5/f5ZoWwofg3DtTyjaFqspnOOTSh8xK/CKUFS57guVEkw9xoQuRCwwEO9Lu9z2vYxSa9NFV8DvSxv2C4WYLYF8Nrc4DzWkzNsk81JJOlZ/LYJrGCoj4MmZpnf3AXmzxT4rtl9jsqljEyedz468SGKdBiQzyz/qWKEhFg45ZczlZZ3KGL3l6sn+3TTa3zMVMhPa1obGp/z+fvY0QXTrJTf1XAT3EtQdUfYYlmWZyvPZ/6rWwU7UOQei7pVE0osgN94Iy+T1+omE6z4Rh2O20FjgBeK2y1mcoFiMDOJvuZPn5Moy9fmFH3wyfKvn4+TwfLvt/lHTTVnvrtoUWRBiQXhiNM8nE6ZoWeux/Z0b2unRcdUzdDpmL7CAgd1ToRXwgmHTZOgiGtVT+xr1QH9ObebRTT4NzL+XSpLuuWp62GqQvJVTPoZOeJCb6gIwd9XHMftQ+Kc08IKKdKQANSJ1a2gve3JdRhO0+tNiYzWAZfd7isoeBu67W7xuK8WX7nhJURld98Inb0t/dWOSau/kDvV4DJo/cImw9AO2Gvq0F2n0M7yIZKL8amMbjYld+qFls7hq8Acvq97K2PrCaomuUiesu7qNanGupEl6J/iem8lyr/NMnsTr6o41PO0yhQh3hPFN0wJP7S830je9iTBLzUNgYH+gUZpROo3rN2qgCI+6GewpX8w8CH+ro6QrWiStqmcMzVa3vEel+3/dDxMp0rDv1Q6wTMS3K64zTT6RWzK1y643im25Ja7X2ePCV2mTswd/4jshZPo4bLnerqIosq/hy2bKUAmVn9n4oun1+a0DIZ56UhVwmZHdUNpLa8gmPvxS1eNvCF1T0wo1wKPdCJi0qOrWz7oYRTzgTtkzEzZn308XSLwUog4OWGKJzCn/3FfF9iA32dZHSv30pRCM3KBY9WZoRhtdK/ChHk6DEQBsfV6tN2o1Cn0mLtPBfnkS+qy1L2xfFe9TQPtDE1Be44RTl82E9hPT2rS2+93LFbzhQQO3C/hD2jRFH3BWWbasAfuMhRJFcTri73eE835y016s22DjoFJ862WvLj69fu2TgSF3RHia9D5DSitlQAXYCnbdqjPkR287Lh6dCHDapos+eFDvcZPP2edPmTFxznJE/EBLoQQ0Qmn9EkZOyJmHxMbvKYb8o21ZHmv5YLqgsEPk9gWZwYQY9wLqGXuax/8QlV5qDaPbq9pLPT1yp+zOWKmraEy1OUJI7zdEcEmvBpbdwLrDCgEb2xX8S/nxZgjK4bRi+pbOmbh8bEeoPvU/L9ndx9kntlDALbdAvp0O8ZC3zSUnFg4cePsw7jxewWvL7HRSBLUn6J7vTH9uld5N76JFPgBCdXGF221oEJk++XfRwXplLSyrVO7HFWBEs99nTazKveW3HpbD4dH/YmdAl+lwbSt8BQWyTG7jAsACI7bPPUU9hI9XUHWqQOuezHzUjnx5Qqs6T1qNHfTTHleDtmqK7flA9a0gz2nycIpz1FHBuWxKNtUeTdqP29Fb3tv+tl5JyBqXoR+vCsdzZwZUhf6Lu8bvkB9yQP4x7GGegB0ym0Lpl03Q7e+C0cDsm9GSDepCDji7nUslLyYyluPfvLyKaDSX4xpR+nVYQjQQn5F8KbY1gbIVLiK1J3mW90zTyR1bqApX2BlWh7KG8LAY9/S9nWC0XXh9pZZo6xuir12T43rkaGfQssbQyIslA7uJnSHOV22NhlNtUo0czxPAsXhh8tIQYaTM4l/yAlZlydTcXhlG22Gs/n3BxKBd/3ZjYwg3NaUurVXhNB+afVnFfNr9TbC9ksNdvwpNfeHanyJ8M6GrIVfLlYAPv0ILe4dn0Z+BJSbJkN7eZY/c6+6ttDYcIDeUKIDXqUSE42Xdh5nRbuaObozjht0HJ5H1e+em+NJi/+8kQlyjCbJpPckwThZeIF9/u7lrVIKNeJLCN/TpPAeXxvd31/CUDWHK9MuP1V1TJgngzi4V0qzS3SW3Qy5UiGHqg02wQa5tsEl9s/X9nNMosgLlUgZSfCBj1DiypLfhr9/r0nR0XY2tmhDOcUS4E7cqa4EJBhzqvpbZa35Q5Iz5EqmhYiOGDAYk606Tv74+KGfPjKVuP15rIzgW0I7/niOu9el/sn2bRye0gV+GrePDRDMHjwO1lEdeXH8N+UTO3IoN18kpI3tPxz+fY+n2MGMSGFHAx/83tKeJOl+2i+f1O9v6FfEDBbqrw+lpM8Anav7zHNr7hE78nXUtPNodMbCnITWA7Ma/IHlZ50F9hWge/wzOvSbtqFVFtkS8Of2nssjZwbSFdU+VO8z6tCEc9UA9ACxT5zIUeSrkBB/v1krOpm7bVMrGxEKfI6LcnpB4D8bvn2hDKGqKrJaVAJuDaBEY3F7eXyqnFWlOoFV/8ZLspZiZd7orXLhd4mhHQgbuKbHjJWUzrnm0Dxw/LJLzXCkh7slMxKo8uxZIWZfdKHlfI7uj3LP6ARAuWdF7ZmZ7daOKqKGbz5LxOggTgS39oEioYmrqkCeUDvbxkBYKeHhcLmMN8dMF01ZMb32IpL/cH8R7VHQSI5I0YfL14g9d7P/6cjB1JXXxbozEDbsrPdmL8ph7QW10jio+v7YsqHKQ6xrBbOVtxU0/nFfzUGZwIBLwyUvg49ii+54nv9FyECBpURnQK4Ox6N7lw5fsjdd5l/2SwBcAHMJoyjO1Pifye2dagaOwCVMqdJWAo77pvBe0zdJcTWu5fdzPNfV2p1pc7/JKQ8zhKkwsOELUDhXygPJ5oR8Vpk2lsCen3D3QOQp2zdrSZHjVBstDF/wWO98rrkQ6/7zt/Drip7OHIug1lomNdmRaHRrjmqeodn22sesQQPgzimPOMqC60a5+i/UYh51uZm+ijWkkaI2xjrBO2558DZNZMiuDQlaVAvBy2wLn/bR3FrNzfnO/9oDztYqxZrr7JMIhqmrochbqmQnKowxW29bpqTaJu7kW1VotC72QkYX8OoDDdMDwV1kJRk3mufgJBzf+iwFRJ7XWQwO5ujVglgFgHtycWiMLx5N+6XU+TulLabWjOzoao03fniUW0xvIJNPbk7CQlFZd/RCOPvgQbLjh5ITE8NVJeKt3HGr6JTnFdIzcVOlEtwqbIIX0IM7saC+4N5047MTJ9+Wn11EhyEPIlwsHE5utCeXRjQzlrR+R1Cf/qDzcNbqLXdk3J7gQ39VUrrEkS/VMWjjg+t2oYrqB0tUZClcUF6+LBC3EQ7KnGIwm/qjZX4GKPtjTX1zQKV6nPAb2t/Rza5IqKRf8i2DFEhV/YSifX0YwsiF6TQnp48Gr65TFq0zUe6LGjiY7fq0LSGKL1VnC6ESI2yxvt3XqBx53B3gSlGFeJcPbUbonW1E9E9m4NfuwPh+t5QjRxX34lvBPVxwQd7aeTd+r9dw5CiP1pt8wMZoMdni7GapYdo6KPgeQKcmlFfq4UYhvV0IBgeiR3RnTMBaqDqpZrTRyLdsp4l0IXZTdErfH0sN3dqBG5vRIx3VgCYcHmmkqJ8Hyu3s9K9uBD1d8cZUEx3qYcF5vsqeRpF1GOg8emeWM2OmBlWPdZ6qAXwm3nENFyh+kvXk132PfWAlN0kb7yh4fz2T7VWUY/hEXX5DvxGABC03XRpyOG8t/u3Gh5tZdpsSV9AWaxJN7zwhVglgII1gV28tUViyqn4UMdIh5t+Ea2zo7PO48oba0TwQbiSZOH4YhD578kPF3reuaP7LujPMsjHmaDuId9XEaZBCJhbXJbRg5VCk3KJpryH/+8S3wdhR47pdFcmpZG2p0Bpjp/VbvalgIZMllYX5L31aMPdt1J7r/7wbixt0Mnz2ZvNGTARHPVD+2O1D8SGpWXlVnP2ekgon55YiinADDynyaXtZDXueVqbuTi8z8cHHK325pgqM+mWZwzHeEreMvhZopAScXM14SJHpGwZyRljMlDvcMm9FZ/1e9+r/puOnpXOtc9Iu2fmgBfEP9cGW1Fzb1rGlfJ08pACtq1ZW18bf2cevebzVeHbaA50G9qoUp39JWdPHbYkPCRXjt4gzlq3Cxge28Mky8MoS/+On72kc+ZI2xBtgJytpAQHQ1zrEddMIVyR5urX6yBNu8v5lKC8eLdGKTJtbgIZ3ZyTzSfWmx9f+cvcJe8yM39K/djkp2aUTE/9m2Lj5jg7b8vdRAer7DO3SyLNHs1CAm5x5iAdh2yGJYivArZbCBNY88Tw+w+C1Tbt7wK3zl2rzTHo/D8/gb3c3mYrnEIEipYqPUcdWjnTsSw471O3EUN7Gtg4NOAs9PJrxm03VuZKa5xwXAYCjt7Gs01Km6T2DhOYUMoFcCSu7Hk1p3yP1eG+M3v3Q5luAze6WwBnZIYO0TCucPWK+UJ36KoJ8Y+vpavhLO8g5ed704IjlQdfemrMu//EvPYXTQSGIPPfiagJS9nMqP5IvkxN9pvuJz7h8carPXTKMq8jnTeL0STan6dnLTAqwIswcIwWDR2KwbGddAVN8SYWRB7kfBfBRkSXzvHlIF8D6jo64kUzYk5o/n8oLjKqat0rdXvQ86MkwQGMnnlcasqPPT2+mVtUGb32KuH6cyZQenrRG11TArcAl27+nvOMBDe++EKHf4YdyGf7mznzOz33cFFGEcv329p4qG2hoaQ8ULiMyVz6ENcxhoqGnFIdupcn7GICQWuw3yO3W8S33mzCcMYJ8ywc7U7rmaQf/W5K63Gr4bVTpXOyOp4tbaPyIaatBNpXqlmQUTSZXjxPr19+73PSaT+QnI35YsWn6WpfJjRtK8vlJZoTSgjaRU39AGCkWOZtifJrnefCrqwTKDFmuWUCukEsYcRrMzCoit28wYpP7kSVjMD8WJYQiNc2blMjuqYegmf6SsfC1jqz8XzghMlOX+gn/MKZmgljszrmehEa4V98VreJDxYvHr3j7IeJB9/sBZV41BWT/AZAjuC5XorlIPnZgBAniBEhanp0/0+qZmEWDpu8ige1hUPIyTo6T6gDEcFhWSoduNh8YSu65KgMOGBw7VlNYzNIgwHtq9KP2yyTVysqX5v12sf7D+vQUdR2dRDvCV40rIInXSLWT/yrC6ExOQxBJwIDbeZcl3z1yR5Rj3l8IGpxspapnvBL+fwupA3b6fkFceID9wgiM1ILB0cHVdvo/R4xg8yqKXT8efl0GnGX1/27FUYeUW2L/GNRGGWVGp3i91oaJkb4rybENHre9a2P5viz/yqk8ngWUUS+Kv+fu+9BLFnfLiLXOFcIeBJLhnayCiuDRSqcx0Qu68gVsGYc6EHD500Fkt+gpDj6gvr884n8wZ5o6q7xtL5wA0beXQnffWYkZrs2NGIRgQbsc5NB302SVx+R4ROvmgZaR8wBcji128BMfJ9kcvJ4DC+bQ57kRmv5yxgU4ngZfn0/JNZ8JBwxjTqS+s9kjJFG1unGUGLwMiIuXUD9EFhNIJuyCEAmVZSIGKH4G6v1gRR1LyzQKH2ZqiI1DnHMoDEZspbDjTeaFIAbSvjSq3A+n46y9hhVM8wIpnARSXyzmOD96d9UXvFroSPgGw1dq2vdEqDq9fJN1EbL2WulNmHkFDvxSO9ZT/RX/Bw2gA/BrF90XrJACereVfbV/YXaKfp77Nmx5NjEIUlxojsy7iN7nBHSZigfsbFyVOX1ZTeCCxvqnRSExP4lk5ZeYlRu9caaa743TWNdchRIhEWwadsBIe245C8clpaZ4zrPsk+OwXzxWCvRRumyNSLW5KWaSJyJU95cwheK76gr7228spZ3hmTtLyrfM2QRFqZFMR8/Q6yWfVgwTdfX2Ry4w3+eAO/5VT5nFb5NlzXPvBEAWrNZ6Q3jbH0RF4vcbp+fDngf/ywpoyNQtjrfvcq93AVb1RDWRghvyqgI2BkMr1rwYi8gizZ0G9GmPpMeqPerAQ0dJbzx+KAFM4IBq6iSLpZHUroeyfd9o5o+4fR2EtsZBoJORQEA4SW0CmeXSnblx2e9QkCHIodyqV6+g5ETEpZsLqnd/Na60EKPX/tQpPEcO+COIBPcQdszDzSiHGyQFPly/7KciUh1u+mFfxTCHGv9nn2WqndGgeGjQ/kr02qmTBX7Hc1qiEvgiSz1Tz/sy7Es29wvn6FrDGPP7asXlhOaiHxOctPvTptFA1kHFUk8bME7SsTSnGbFbUrssxrq70LhoSh5OwvQna+w84XdXhZb2sloJ4ZsCg3j+PrjJL08/JBi5zGd6ud/ZxhmcGKLOXPcNunQq5ESW92iJvfsuRrNYtawWwSmNhPYoFj2QqWNF0ffLpGt/ad24RJ8vkb5sXkpyKXmvFG5Vcdzf/44k3PBL/ojJ52+kWGzOArnyp5f969oV3J2c4Li27Nkova9VwRNVKqN0V+gV+mTHitgkXV30aWd3A1RSildEleiNPA+5cp+3+T7X+xfHiRZXQ1s4FA9TxIcnveQs9JSZ5r5qNmgqlW4zMtZ6rYNvgmyVcywKtu8ZxnSbS5vXlBV+NXdIfi3+xzrnJ0TkFL+Un8v1PWOC2PPFCjVPq7qTH7mOpzOYj/b4h0ceT+eHgr97Jqhb1ziVfeANzfN8bFUhPKBi7hJBCukQnB0aGjFTYLJPXL26lQ2b80xrOD5cFWgA8hz3St0e69kwNnD3+nX3gy12FjrjO+ddRvvvfyV3SWbXcxqNHfmsb9u1TV+wHTb9B07/L2sB8WUHJ9eeNomDyysEWZ0deqEhH/oWI2oiEh526gvAK1Nx2kIhNvkYR+tPYHEa9j+nd1VBpQP1uzSjIDO+fDDB7uy029rRjDC5Sk6aKczyz1D5uA9Lu+Rrrapl8JXNL3VRllNQH2K1ZFxOpX8LprttfqQ56MbPM0IttUheXWD/mROOeFqGUbL+kUOVlXLTFX/525g4faLEFO4qWWdmOXMNvVjpIVTWt650HfQjX9oT3Dg5Au6+v1/Ci78La6ZOngYCFPT1AUwxQuZ0yt5xKdNXLaDTISMTeCj16XTryhM36K2mfGRIgot71voWs8tTpL/f1rvcwv3LSDf+/G8THCT7NpfHWcW+lsF/ol8q9Bi6MezNTqp0rpp/kJRiVfNrX/w27cRRTu8RIIqtUblBMkxy4jwAVqCjUJkiPBj2cAoVloG8B2/N5deLdMhDb7xs5nhd3dubJhuj8WbaFRyu1L678DHhhA+rMimNo4C1kGpp0tD/qnCfCFHejpf0LJX43OTr578PY0tnIIrlWyNYyuR/ie6j2xNb1OV6u0dOX/1Dtcd7+ya9W+rY2LmnyQMtk8SMLTon8RAdwOaN2tNg5zVnDKlmVeOxPV2vhHIo9QEPV7jc3f+zVDquiNg1OaHX3cZXJDRY5MJpo+VanAcmqp4oasYLG+wrXUL5vJU0kqk2hGEskhP+Jjigrz1l6QnEwp6n8PMVeJp70Ii6ppeaK9GhF6fJE00ceLyxv08tKiPat4QdxZFgSbQknnEiCLD8Qc1rjazVKM3r3gXnnMeONgdz/yFV1q+haaN+wnF3Fn4uYCI9XsKOuVwDD0LsCO/f0gj5cmxCFcr7sclIcefWjvore+3aSU474cyqDVxH7w1RX3CHsaqsMRX17ZLgjsDXws3kLm2XJdM3Ku383UXqaHqsywzPhx7NFir0Fqjym/w6cxD2U9ypa3dx7Z12w/fi3Jps8sqJ8f8Ah8aZAvkHXvIRyrsxK7rrFaNNdNvjI8+3Emri195DCNa858anj2Qdny6Czshkn4N2+1m+k5S8sunX3Ja7I+JutRzg1mc2e9Yc0Zv9PZn1SwhxIdU9sXwZRTd/J5FoUm0e+PYREeHg3oc2YYzGf2xfJxXExt4pT3RfDRHvMXLUmoXOy63xv5pLuhOEax0dRgSywZ/GH+YBXFgCeTU0hZ8SPEFsn8punp1Kurd1KgXxUZ+la3R5+4ePGR4ZF5UQtOa83+Vj8zh80dfzbhxWCeoJnQ4dkZJM4drzknZOOKx2n3WrvJnzFIS8p0xeic+M3ZRVXIp10tV2DyYKwRxLzulPwzHcLlYTxl4PF7v8l106Azr+6wBFejbq/3P72C/0j78cepY9990/d4eAurn2lqdGKLU8FffnMw7cY7pVeXJRMU73Oxwi2g2vh/+4gX8dvbjfojn/eLVhhYl8GthwCQ50KcZq4z2JeW5eeOnJWFQEnVxDoG459TaC4zXybECEoJ0V5q1tXrQbDMtUxeTV6Pdt1/zJuc7TJoV/9YZFWxUtCf6Ou3Vd/vR/vG0138hJQrHkNeoep5dLe+6umcSquKvMaFpm3EZHDBOvCi0XYyIFHMgX7Cqp3JVXlxJFwQfHSaIUEbI2u1lBVUdlNw4Qa9UsLPEK94Qiln3pyKxQVCeNlx8yd7EegVNQBkFLabKvnietYVB4IPZ1fSor82arbgYec8aSdFMaIluYTYuNx32SxfrjKUdPGq+UNp5YpydoEG3xVLixtmHO9zXxKAnHnPuH2fPGrjx0GcuCDEU+yXUtXh6nfUL+cykws1gJ5vkfYFaFBr9PdCXvVf35OJQxzUMmWjv0W6uGJK11uAGDqSpOwCf6rouSIjPVgw57cJCOQ4b9tkI/Y5WNon9Swe72aZryKo8d+HyHBEdWJKrkary0LIGczA4Irq353Wc0Zga3om7UQiAGCvIl8GGyaqz5zH+1gMP5phWUCpKtttWIyicz09vXg76GxkmiGSMQ06Z9X8BUwqOtauDbPIf4rpK/yYoeAHxJ9soXS9VDe1Aw+awOOxaN8foLrif0TXBvQ55dtRtulRq9emFDBxlQcqKCaD8NeTSE7FOHvcjf/+oKbbtRqz9gbofoc2EzQ3pL6W5JdfJzAWmOk8oeoECe90lVMruwl/ltM015P/zIPazqvdvFmLNVHMIZrwiQ2tIKtGh6PDVH+85ew3caqVt2BsDv5rOcu3G9srQWd7NmgtzCRUXLYknYRSwtH9oUtkqyN3CfP20xQ1faXQl4MEmjQehWR6GmGnkdpYNQYeIG408yAX7uCZmYUic9juOfb+Re28+OVOB+scYK4DaPcBe+5wmji9gymtkMpKo4UKqCz7yxzuN8VIlx9yNozpRJpNaWHtaZVEqP45n2JemTlYBSmNIK1FuSYAUQ1yBLnKxevrjayd+h2i8PjdB3YY6b0nr3JuOXGpPMyh4V2dslpR3DFEvgpsBLqhqLDOWP4yEvIL6f21PpA7/8B")),Ce=Math.log2||(e=>Math.log(e)/Math.LN2),Se=e=>Ce(e)+1|0,ke=Se(be(we).categories.length-1),Ee=Se(be(we).combiningClasses.length-1),Ie=Se(be(we).scripts.length-1),_e=Se(be(we).eaw.length-1),Pe=Ee+Ie+_e+10,Oe=Ie+_e+10,Te=_e+10,De=(1<<ke)-1,je=(1<<Ee)-1,Be=(1<<Ie)-1,Ne=(1<<_e)-1;function Me(e){const t=xe.get(e);return be(we).categories[t>>Pe&De]}function Re(e){const t=xe.get(e);return be(we).combiningClasses[t>>Oe&je]}function Le(e){const t=xe.get(e);return be(we).scripts[t>>Te&Be]}function Fe(e){return"Nd"===Me(e)}function ze(e){const t=Me(e);return"Mn"===t||"Me"===t||"Mc"===t}var Qe={getCategory:Me,getCombiningClass:Re,getScript:Le,getEastAsianWidth:function(e){const t=xe.get(e);return be(we).eaw[t>>10&Ne]},getNumericValue:function(e){let t=xe.get(e),n=1023&t;if(0===n)return null;if(n<=50)return n-1;if(n<480){return((n>>4)-12)/(1+(15&n))}if(n<768){t=(n>>5)-14;let e=2+(31&n);for(;e>0;)t*=10,e--;return t}{t=(n>>2)-191;let e=1+(3&n);for(;e>0;)t*=60,e--;return t}},isAlphabetic:function(e){const t=Me(e);return"Lu"===t||"Ll"===t||"Lt"===t||"Lm"===t||"Lo"===t||"Nl"===t},isDigit:Fe,isPunctuation:function(e){const t=Me(e);return"Pc"===t||"Pd"===t||"Pe"===t||"Pf"===t||"Pi"===t||"Po"===t||"Ps"===t},isLowerCase:function(e){return"Ll"===Me(e)},isUpperCase:function(e){return"Lu"===Me(e)},isTitleCase:function(e){return"Lt"===Me(e)},isWhiteSpace:function(e){const t=Me(e);return"Zs"===t||"Zl"===t||"Zp"===t},isBaseForm:function(e){const t=Me(e);return"Nd"===t||"No"===t||"Nl"===t||"Lu"===t||"Ll"===t||"Lt"===t||"Lm"===t||"Lo"===t||"Me"===t||"Mc"===t},isMark:ze},Ue=n(33836),Ve=n(32129),Ge=n(81807),qe=n(56160);function He(e,t,n,r){Object.defineProperty(e,t,{get:n,set:r,enumerable:!0,configurable:!0})}function We(e){return e&&e.__esModule?e.default:e}var Ye={};He(Ye,"logErrors",(()=>Ke)),He(Ye,"registerFormat",(()=>Xe)),He(Ye,"create",(()=>Ze)),He(Ye,"defaultLanguage",(()=>$e)),He(Ye,"setDefaultLanguage",(()=>et));let Ke=!1,Je=[];function Xe(e){Je.push(e)}function Ze(e,t){for(let n=0;n<Je.length;n++){let r=Je[n];if(r.probe(e)){let n=new r(new D(e));return t?n.getFont(t):n}}throw new Error("Unknown font format")}let $e="en";function et(){$e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"en"}function tt(e,t,n){if(n.get){let e=n.get;n.get=function(){let n=e.call(this);return Object.defineProperty(this,t,{value:n}),n}}else if("function"===typeof n.value){let e=n.value;return{get(){let n=new Map;function r(){for(var t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];let o=r.length>0?r[0]:"value";if(n.has(o))return n.get(o);let a=e.apply(this,r);return n.set(o,a),a}return Object.defineProperty(this,t,{value:r}),r}}}}let nt=new de({firstCode:Q,entryCount:Q,idDelta:Y,idRangeOffset:Q}),rt=new de({startCharCode:q,endCharCode:q,glyphID:q}),it=new de({startUnicodeValue:V,additionalCount:F}),ot=new de({unicodeValue:V,glyphID:Q}),at=new te(it,q),st=new te(ot,q),lt=new de({varSelector:V,defaultUVS:new he(q,at,{type:"parent"}),nonDefaultUVS:new he(q,st,{type:"parent"})}),ct=new pe(Q,{0:{length:Q,language:Q,codeMap:new ne(F,256)},2:{length:Q,language:Q,subHeaderKeys:new te(Q,256),subHeaderCount:e=>Math.max.apply(Math,e.subHeaderKeys),subHeaders:new ne(nt,"subHeaderCount"),glyphIndexArray:new ne(Q,"subHeaderCount")},4:{length:Q,language:Q,segCountX2:Q,segCount:e=>e.segCountX2>>1,searchRange:Q,entrySelector:Q,rangeShift:Q,endCode:new ne(Q,"segCount"),reservedPad:new se(Q),startCode:new ne(Q,"segCount"),idDelta:new ne(Y,"segCount"),idRangeOffset:new ne(Q,"segCount"),glyphIndexArray:new ne(Q,(e=>(e.length-e._currentOffset)/2))},6:{length:Q,language:Q,firstCode:Q,entryCount:Q,glyphIndices:new ne(Q,"entryCount")},8:{reserved:new se(Q),length:q,language:Q,is32:new ne(F,8192),nGroups:q,groups:new ne(rt,"nGroups")},10:{reserved:new se(Q),length:q,language:q,firstCode:q,entryCount:q,glyphIndices:new ne(Q,"numChars")},12:{reserved:new se(Q),length:q,language:q,nGroups:q,groups:new ne(rt,"nGroups")},13:{reserved:new se(Q),length:q,language:q,nGroups:q,groups:new ne(rt,"nGroups")},14:{length:q,numRecords:q,varSelectors:new ne(lt,"numRecords")}}),ut=new de({platformID:Q,encodingID:Q,table:new he(q,ct,{type:"parent",lazy:!0})});var dt=new de({version:Q,numSubtables:Q,tables:new te(ut,"numSubtables")}),pt=new de({version:K,revision:K,checkSumAdjustment:q,magicNumber:q,flags:Q,unitsPerEm:Q,created:new te(K,2),modified:new te(K,2),xMin:Y,yMin:Y,xMax:Y,yMax:Y,macStyle:new ie(Q,["bold","italic","underline","outline","shadow","condensed","extended"]),lowestRecPPEM:Q,fontDirectionHint:Y,indexToLocFormat:Y,glyphDataFormat:Y}),ht=new de({version:K,ascent:Y,descent:Y,lineGap:Y,advanceWidthMax:Q,minLeftSideBearing:Y,minRightSideBearing:Y,xMaxExtent:Y,caretSlopeRise:Y,caretSlopeRun:Y,caretOffset:Y,reserved:new se(Y,4),metricDataFormat:Y,numberOfMetrics:Q});let ft=new de({advance:Q,bearing:Y});var mt=new de({metrics:new ne(ft,(e=>e.parent.hhea.numberOfMetrics)),bearings:new ne(Y,(e=>e.parent.maxp.numGlyphs-e.parent.hhea.numberOfMetrics))}),gt=new de({version:K,numGlyphs:Q,maxPoints:Q,maxContours:Q,maxComponentPoints:Q,maxComponentContours:Q,maxZones:Q,maxTwilightPoints:Q,maxStorage:Q,maxFunctionDefs:Q,maxInstructionDefs:Q,maxStackElements:Q,maxSizeOfInstructions:Q,maxComponentElements:Q,maxComponentDepth:Q});function vt(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return 1===e&&Ct[n]?Ct[n]:xt[e][t]}const yt=new Set(["x-mac-roman","x-mac-cyrillic","iso-8859-6","iso-8859-8"]),At={"x-mac-croatian":"\xc4\xc5\xc7\xc9\xd1\xd6\xdc\xe1\xe0\xe2\xe4\xe3\xe5\xe7\xe9\xe8\xea\xeb\xed\xec\xee\xef\xf1\xf3\xf2\xf4\xf6\xf5\xfa\xf9\xfb\xfc\u2020\xb0\xa2\xa3\xa7\u2022\xb6\xdf\xae\u0160\u2122\xb4\xa8\u2260\u017d\xd8\u221e\xb1\u2264\u2265\u2206\xb5\u2202\u2211\u220f\u0161\u222b\xaa\xba\u03a9\u017e\xf8\xbf\xa1\xac\u221a\u0192\u2248\u0106\xab\u010c\u2026 \xc0\xc3\xd5\u0152\u0153\u0110\u2014\u201c\u201d\u2018\u2019\xf7\u25ca\uf8ff\xa9\u2044\u20ac\u2039\u203a\xc6\xbb\u2013\xb7\u201a\u201e\u2030\xc2\u0107\xc1\u010d\xc8\xcd\xce\xcf\xcc\xd3\xd4\u0111\xd2\xda\xdb\xd9\u0131\u02c6\u02dc\xaf\u03c0\xcb\u02da\xb8\xca\xe6\u02c7","x-mac-gaelic":"\xc4\xc5\xc7\xc9\xd1\xd6\xdc\xe1\xe0\xe2\xe4\xe3\xe5\xe7\xe9\xe8\xea\xeb\xed\xec\xee\xef\xf1\xf3\xf2\xf4\xf6\xf5\xfa\xf9\xfb\xfc\u2020\xb0\xa2\xa3\xa7\u2022\xb6\xdf\xae\xa9\u2122\xb4\xa8\u2260\xc6\xd8\u1e02\xb1\u2264\u2265\u1e03\u010a\u010b\u1e0a\u1e0b\u1e1e\u1e1f\u0120\u0121\u1e40\xe6\xf8\u1e41\u1e56\u1e57\u027c\u0192\u017f\u1e60\xab\xbb\u2026 \xc0\xc3\xd5\u0152\u0153\u2013\u2014\u201c\u201d\u2018\u2019\u1e61\u1e9b\xff\u0178\u1e6a\u20ac\u2039\u203a\u0176\u0177\u1e6b\xb7\u1ef2\u1ef3\u204a\xc2\xca\xc1\xcb\xc8\xcd\xce\xcf\xcc\xd3\xd4\u2663\xd2\xda\xdb\xd9\u0131\xdd\xfd\u0174\u0175\u1e84\u1e85\u1e80\u1e81\u1e82\u1e83","x-mac-greek":"\xc4\xb9\xb2\xc9\xb3\xd6\xdc\u0385\xe0\xe2\xe4\u0384\xa8\xe7\xe9\xe8\xea\xeb\xa3\u2122\xee\xef\u2022\xbd\u2030\xf4\xf6\xa6\u20ac\xf9\xfb\xfc\u2020\u0393\u0394\u0398\u039b\u039e\u03a0\xdf\xae\xa9\u03a3\u03aa\xa7\u2260\xb0\xb7\u0391\xb1\u2264\u2265\xa5\u0392\u0395\u0396\u0397\u0399\u039a\u039c\u03a6\u03ab\u03a8\u03a9\u03ac\u039d\xac\u039f\u03a1\u2248\u03a4\xab\xbb\u2026 \u03a5\u03a7\u0386\u0388\u0153\u2013\u2015\u201c\u201d\u2018\u2019\xf7\u0389\u038a\u038c\u038e\u03ad\u03ae\u03af\u03cc\u038f\u03cd\u03b1\u03b2\u03c8\u03b4\u03b5\u03c6\u03b3\u03b7\u03b9\u03be\u03ba\u03bb\u03bc\u03bd\u03bf\u03c0\u03ce\u03c1\u03c3\u03c4\u03b8\u03c9\u03c2\u03c7\u03c5\u03b6\u03ca\u03cb\u0390\u03b0\xad","x-mac-icelandic":"\xc4\xc5\xc7\xc9\xd1\xd6\xdc\xe1\xe0\xe2\xe4\xe3\xe5\xe7\xe9\xe8\xea\xeb\xed\xec\xee\xef\xf1\xf3\xf2\xf4\xf6\xf5\xfa\xf9\xfb\xfc\xdd\xb0\xa2\xa3\xa7\u2022\xb6\xdf\xae\xa9\u2122\xb4\xa8\u2260\xc6\xd8\u221e\xb1\u2264\u2265\xa5\xb5\u2202\u2211\u220f\u03c0\u222b\xaa\xba\u03a9\xe6\xf8\xbf\xa1\xac\u221a\u0192\u2248\u2206\xab\xbb\u2026 \xc0\xc3\xd5\u0152\u0153\u2013\u2014\u201c\u201d\u2018\u2019\xf7\u25ca\xff\u0178\u2044\u20ac\xd0\xf0\xde\xfe\xfd\xb7\u201a\u201e\u2030\xc2\xca\xc1\xcb\xc8\xcd\xce\xcf\xcc\xd3\xd4\uf8ff\xd2\xda\xdb\xd9\u0131\u02c6\u02dc\xaf\u02d8\u02d9\u02da\xb8\u02dd\u02db\u02c7","x-mac-inuit":"\u1403\u1404\u1405\u1406\u140a\u140b\u1431\u1432\u1433\u1434\u1438\u1439\u1449\u144e\u144f\u1450\u1451\u1455\u1456\u1466\u146d\u146e\u146f\u1470\u1472\u1473\u1483\u148b\u148c\u148d\u148e\u1490\u1491\xb0\u14a1\u14a5\u14a6\u2022\xb6\u14a7\xae\xa9\u2122\u14a8\u14aa\u14ab\u14bb\u14c2\u14c3\u14c4\u14c5\u14c7\u14c8\u14d0\u14ef\u14f0\u14f1\u14f2\u14f4\u14f5\u1505\u14d5\u14d6\u14d7\u14d8\u14da\u14db\u14ea\u1528\u1529\u152a\u152b\u152d\u2026 \u152e\u153e\u1555\u1556\u1557\u2013\u2014\u201c\u201d\u2018\u2019\u1558\u1559\u155a\u155d\u1546\u1547\u1548\u1549\u154b\u154c\u1550\u157f\u1580\u1581\u1582\u1583\u1584\u1585\u158f\u1590\u1591\u1592\u1593\u1594\u1595\u1671\u1672\u1673\u1674\u1675\u1676\u1596\u15a0\u15a1\u15a2\u15a3\u15a4\u15a5\u15a6\u157c\u0141\u0142","x-mac-ce":"\xc4\u0100\u0101\xc9\u0104\xd6\xdc\xe1\u0105\u010c\xe4\u010d\u0106\u0107\xe9\u0179\u017a\u010e\xed\u010f\u0112\u0113\u0116\xf3\u0117\xf4\xf6\xf5\xfa\u011a\u011b\xfc\u2020\xb0\u0118\xa3\xa7\u2022\xb6\xdf\xae\xa9\u2122\u0119\xa8\u2260\u0123\u012e\u012f\u012a\u2264\u2265\u012b\u0136\u2202\u2211\u0142\u013b\u013c\u013d\u013e\u0139\u013a\u0145\u0146\u0143\xac\u221a\u0144\u0147\u2206\xab\xbb\u2026 \u0148\u0150\xd5\u0151\u014c\u2013\u2014\u201c\u201d\u2018\u2019\xf7\u25ca\u014d\u0154\u0155\u0158\u2039\u203a\u0159\u0156\u0157\u0160\u201a\u201e\u0161\u015a\u015b\xc1\u0164\u0165\xcd\u017d\u017e\u016a\xd3\xd4\u016b\u016e\xda\u016f\u0170\u0171\u0172\u0173\xdd\xfd\u0137\u017b\u0141\u017c\u0122\u02c7","x-mac-romanian":"\xc4\xc5\xc7\xc9\xd1\xd6\xdc\xe1\xe0\xe2\xe4\xe3\xe5\xe7\xe9\xe8\xea\xeb\xed\xec\xee\xef\xf1\xf3\xf2\xf4\xf6\xf5\xfa\xf9\xfb\xfc\u2020\xb0\xa2\xa3\xa7\u2022\xb6\xdf\xae\xa9\u2122\xb4\xa8\u2260\u0102\u0218\u221e\xb1\u2264\u2265\xa5\xb5\u2202\u2211\u220f\u03c0\u222b\xaa\xba\u03a9\u0103\u0219\xbf\xa1\xac\u221a\u0192\u2248\u2206\xab\xbb\u2026 \xc0\xc3\xd5\u0152\u0153\u2013\u2014\u201c\u201d\u2018\u2019\xf7\u25ca\xff\u0178\u2044\u20ac\u2039\u203a\u021a\u021b\u2021\xb7\u201a\u201e\u2030\xc2\xca\xc1\xcb\xc8\xcd\xce\xcf\xcc\xd3\xd4\uf8ff\xd2\xda\xdb\xd9\u0131\u02c6\u02dc\xaf\u02d8\u02d9\u02da\xb8\u02dd\u02db\u02c7","x-mac-turkish":"\xc4\xc5\xc7\xc9\xd1\xd6\xdc\xe1\xe0\xe2\xe4\xe3\xe5\xe7\xe9\xe8\xea\xeb\xed\xec\xee\xef\xf1\xf3\xf2\xf4\xf6\xf5\xfa\xf9\xfb\xfc\u2020\xb0\xa2\xa3\xa7\u2022\xb6\xdf\xae\xa9\u2122\xb4\xa8\u2260\xc6\xd8\u221e\xb1\u2264\u2265\xa5\xb5\u2202\u2211\u220f\u03c0\u222b\xaa\xba\u03a9\xe6\xf8\xbf\xa1\xac\u221a\u0192\u2248\u2206\xab\xbb\u2026 \xc0\xc3\xd5\u0152\u0153\u2013\u2014\u201c\u201d\u2018\u2019\xf7\u25ca\xff\u0178\u011e\u011f\u0130\u0131\u015e\u015f\u2021\xb7\u201a\u201e\u2030\xc2\xca\xc1\xcb\xc8\xcd\xce\xcf\xcc\xd3\xd4\uf8ff\xd2\xda\xdb\xd9\uf8a0\u02c6\u02dc\xaf\u02d8\u02d9\u02da\xb8\u02dd\u02db\u02c7"},bt=new Map;function wt(e){let t=bt.get(e);if(t)return t;let n=At[e];if(n){let t=new Map;for(let e=0;e<n.length;e++)t.set(n.charCodeAt(e),128+e);return bt.set(e,t),t}if(yt.has(e)){let t=new TextDecoder(e),n=new Uint8Array(128);for(let e=0;e<128;e++)n[e]=128+e;let r=new Map,i=t.decode(n);for(let e=0;e<128;e++)r.set(i.charCodeAt(e),128+e);return bt.set(e,r),r}}const xt=[["utf-16be","utf-16be","utf-16be","utf-16be","utf-16be","utf-16be","utf-16be"],["x-mac-roman","shift-jis","big5","euc-kr","iso-8859-6","iso-8859-8","x-mac-greek","x-mac-cyrillic","x-mac-symbol","x-mac-devanagari","x-mac-gurmukhi","x-mac-gujarati","Oriya","Bengali","Tamil","Telugu","Kannada","Malayalam","Sinhalese","Burmese","Khmer","iso-8859-11","Laotian","Georgian","Armenian","gbk","Tibetan","Mongolian","Geez","x-mac-ce","Vietnamese","Sindhi"],["ascii",null,"iso-8859-1"],["symbol","utf-16be","shift-jis","gb18030","big5","euc-kr","johab",null,null,null,"utf-16be"]],Ct={15:"x-mac-icelandic",17:"x-mac-turkish",18:"x-mac-croatian",24:"x-mac-ce",25:"x-mac-ce",26:"x-mac-ce",27:"x-mac-ce",28:"x-mac-ce",30:"x-mac-icelandic",37:"x-mac-romanian",38:"x-mac-ce",39:"x-mac-ce",40:"x-mac-ce",143:"x-mac-inuit",146:"x-mac-gaelic"},St=[[],{0:"en",30:"fo",60:"ks",90:"rw",1:"fr",31:"fa",61:"ku",91:"rn",2:"de",32:"ru",62:"sd",92:"ny",3:"it",33:"zh",63:"bo",93:"mg",4:"nl",34:"nl-BE",64:"ne",94:"eo",5:"sv",35:"ga",65:"sa",128:"cy",6:"es",36:"sq",66:"mr",129:"eu",7:"da",37:"ro",67:"bn",130:"ca",8:"pt",38:"cz",68:"as",131:"la",9:"no",39:"sk",69:"gu",132:"qu",10:"he",40:"si",70:"pa",133:"gn",11:"ja",41:"yi",71:"or",134:"ay",12:"ar",42:"sr",72:"ml",135:"tt",13:"fi",43:"mk",73:"kn",136:"ug",14:"el",44:"bg",74:"ta",137:"dz",15:"is",45:"uk",75:"te",138:"jv",16:"mt",46:"be",76:"si",139:"su",17:"tr",47:"uz",77:"my",140:"gl",18:"hr",48:"kk",78:"km",141:"af",19:"zh-Hant",49:"az-Cyrl",79:"lo",142:"br",20:"ur",50:"az-Arab",80:"vi",143:"iu",21:"hi",51:"hy",81:"id",144:"gd",22:"th",52:"ka",82:"tl",145:"gv",23:"ko",53:"mo",83:"ms",146:"ga",24:"lt",54:"ky",84:"ms-Arab",147:"to",25:"pl",55:"tg",85:"am",148:"el-polyton",26:"hu",56:"tk",86:"ti",149:"kl",27:"es",57:"mn-CN",87:"om",150:"az",28:"lv",58:"mn",88:"so",151:"nn",29:"se",59:"ps",89:"sw"},[],{1078:"af",16393:"en-IN",1159:"rw",1074:"tn",1052:"sq",6153:"en-IE",1089:"sw",1115:"si",1156:"gsw",8201:"en-JM",1111:"kok",1051:"sk",1118:"am",17417:"en-MY",1042:"ko",1060:"sl",5121:"ar-DZ",5129:"en-NZ",1088:"ky",11274:"es-AR",15361:"ar-BH",13321:"en-PH",1108:"lo",16394:"es-BO",3073:"ar",18441:"en-SG",1062:"lv",13322:"es-CL",2049:"ar-IQ",7177:"en-ZA",1063:"lt",9226:"es-CO",11265:"ar-JO",11273:"en-TT",2094:"dsb",5130:"es-CR",13313:"ar-KW",2057:"en-GB",1134:"lb",7178:"es-DO",12289:"ar-LB",1033:"en",1071:"mk",12298:"es-EC",4097:"ar-LY",12297:"en-ZW",2110:"ms-BN",17418:"es-SV",6145:"ary",1061:"et",1086:"ms",4106:"es-GT",8193:"ar-OM",1080:"fo",1100:"ml",18442:"es-HN",16385:"ar-QA",1124:"fil",1082:"mt",2058:"es-MX",1025:"ar-SA",1035:"fi",1153:"mi",19466:"es-NI",10241:"ar-SY",2060:"fr-BE",1146:"arn",6154:"es-PA",7169:"aeb",3084:"fr-CA",1102:"mr",15370:"es-PY",14337:"ar-AE",1036:"fr",1148:"moh",10250:"es-PE",9217:"ar-YE",5132:"fr-LU",1104:"mn",20490:"es-PR",1067:"hy",6156:"fr-MC",2128:"mn-CN",3082:"es",1101:"as",4108:"fr-CH",1121:"ne",1034:"es",2092:"az-Cyrl",1122:"fy",1044:"nb",21514:"es-US",1068:"az",1110:"gl",2068:"nn",14346:"es-UY",1133:"ba",1079:"ka",1154:"oc",8202:"es-VE",1069:"eu",3079:"de-AT",1096:"or",2077:"sv-FI",1059:"be",1031:"de",1123:"ps",1053:"sv",2117:"bn",5127:"de-LI",1045:"pl",1114:"syr",1093:"bn-IN",4103:"de-LU",1046:"pt",1064:"tg",8218:"bs-Cyrl",2055:"de-CH",2070:"pt-PT",2143:"tzm",5146:"bs",1032:"el",1094:"pa",1097:"ta",1150:"br",1135:"kl",1131:"qu-BO",1092:"tt",1026:"bg",1095:"gu",2155:"qu-EC",1098:"te",1027:"ca",1128:"ha",3179:"qu",1054:"th",3076:"zh-HK",1037:"he",1048:"ro",1105:"bo",5124:"zh-MO",1081:"hi",1047:"rm",1055:"tr",2052:"zh",1038:"hu",1049:"ru",1090:"tk",4100:"zh-SG",1039:"is",9275:"smn",1152:"ug",1028:"zh-TW",1136:"ig",4155:"smj-NO",1058:"uk",1155:"co",1057:"id",5179:"smj",1070:"hsb",1050:"hr",1117:"iu",3131:"se-FI",1056:"ur",4122:"hr-BA",2141:"iu-Latn",1083:"se",2115:"uz-Cyrl",1029:"cs",2108:"ga",2107:"se-SE",1091:"uz",1030:"da",1076:"xh",8251:"sms",1066:"vi",1164:"prs",1077:"zu",6203:"sma-NO",1106:"cy",1125:"dv",1040:"it",7227:"sms",1160:"wo",2067:"nl-BE",2064:"it-CH",1103:"sa",1157:"sah",1043:"nl",1041:"ja",7194:"sr-Cyrl-BA",1144:"ii",3081:"en-AU",1099:"kn",3098:"sr",1130:"yo",10249:"en-BZ",1087:"kk",6170:"sr-Latn-BA",4105:"en-CA",1107:"km",2074:"sr-Latn",9225:"en-029",1158:"quc",1132:"nso"}];let kt=new de({platformID:Q,encodingID:Q,languageID:Q,nameID:Q,length:Q,string:new he(Q,new le("length",(e=>vt(e.platformID,e.encodingID,e.languageID))),{type:"parent",relativeTo:e=>e.parent.stringOffset,allowNull:!1})}),Et=new de({length:Q,tag:new he(Q,new le("length","utf16be"),{type:"parent",relativeTo:e=>e.stringOffset})});var It=new pe(Q,{0:{count:Q,stringOffset:Q,records:new te(kt,"count")},1:{count:Q,stringOffset:Q,records:new te(kt,"count"),langTagCount:Q,langTags:new te(Et,"langTagCount")}}),_t=It;const Pt=["copyright","fontFamily","fontSubfamily","uniqueSubfamily","fullName","version","postscriptName","trademark","manufacturer","designer","description","vendorURL","designerURL","license","licenseURL",null,"preferredFamily","preferredSubfamily","compatibleFull","sampleText","postscriptCIDFontName","wwsFamilyName","wwsSubfamilyName"];It.process=function(e){var t={};for(let n of this.records){let e=St[n.platformID][n.languageID];null==e&&null!=this.langTags&&n.languageID>=32768&&(e=this.langTags[n.languageID-32768].tag),null==e&&(e=n.platformID+"-"+n.languageID);let r=n.nameID>=256?"fontFeatures":Pt[n.nameID]||n.nameID;null==t[r]&&(t[r]={});let i=t[r];n.nameID>=256&&(i=i[n.nameID]||(i[n.nameID]={})),"string"!==typeof n.string&&"string"===typeof i[e]||(i[e]=n.string)}this.records=t},It.preEncode=function(){if(Array.isArray(this.records))return;this.version=0;let e=[];for(let t in this.records){let n=this.records[t];"fontFeatures"!==t&&(e.push({platformID:3,encodingID:1,languageID:1033,nameID:Pt.indexOf(t),length:2*n.en.length,string:n.en}),"postscriptName"===t&&e.push({platformID:1,encodingID:0,languageID:0,nameID:Pt.indexOf(t),length:n.en.length,string:n.en}))}this.records=e,this.count=e.length,this.stringOffset=It.size(this,null,!1)};var Ot=new pe(Q,{header:{xAvgCharWidth:Y,usWeightClass:Q,usWidthClass:Q,fsType:new ie(Q,[null,"noEmbedding","viewOnly","editable",null,null,null,null,"noSubsetting","bitmapOnly"]),ySubscriptXSize:Y,ySubscriptYSize:Y,ySubscriptXOffset:Y,ySubscriptYOffset:Y,ySuperscriptXSize:Y,ySuperscriptYSize:Y,ySuperscriptXOffset:Y,ySuperscriptYOffset:Y,yStrikeoutSize:Y,yStrikeoutPosition:Y,sFamilyClass:Y,panose:new te(F,10),ulCharRange:new te(q,4),vendorID:new le(4),fsSelection:new ie(Q,["italic","underscore","negative","outlined","strikeout","bold","regular","useTypoMetrics","wws","oblique"]),usFirstCharIndex:Q,usLastCharIndex:Q},0:{},1:{typoAscender:Y,typoDescender:Y,typoLineGap:Y,winAscent:Q,winDescent:Q,codePageRange:new te(q,2)},2:{typoAscender:Y,typoDescender:Y,typoLineGap:Y,winAscent:Q,winDescent:Q,codePageRange:new te(q,2),xHeight:Y,capHeight:Y,defaultChar:Q,breakChar:Q,maxContent:Q},5:{typoAscender:Y,typoDescender:Y,typoLineGap:Y,winAscent:Q,winDescent:Q,codePageRange:new te(q,2),xHeight:Y,capHeight:Y,defaultChar:Q,breakChar:Q,maxContent:Q,usLowerOpticalPointSize:Q,usUpperOpticalPointSize:Q}});let Tt=Ot.versions;Tt[3]=Tt[4]=Tt[2];var Dt=Ot,jt=new pe(Z,{header:{italicAngle:Z,underlinePosition:Y,underlineThickness:Y,isFixedPitch:q,minMemType42:q,maxMemType42:q,minMemType1:q,maxMemType1:q},1:{},2:{numberOfGlyphs:Q,glyphNameIndex:new te(Q,"numberOfGlyphs"),names:new te(new le(F))},2.5:{numberOfGlyphs:Q,offsets:new te(F,"numberOfGlyphs")},3:{},4:{map:new te(q,(e=>e.parent.maxp.numGlyphs))}}),Bt=new de({controlValues:new te(Y)}),Nt=new de({instructions:new te(F)});let Mt=new pe("head.indexToLocFormat",{0:{offsets:new te(Q)},1:{offsets:new te(q)}});Mt.process=function(){if(0===this.version&&!this._processed){for(let e=0;e<this.offsets.length;e++)this.offsets[e]<<=1;this._processed=!0}},Mt.preEncode=function(){if(0===this.version&&!1!==this._processed){for(let e=0;e<this.offsets.length;e++)this.offsets[e]>>>=1;this._processed=!1}};var Rt=Mt,Lt=new de({controlValueProgram:new te(F)}),Ft=new te(new oe);class zt{getCFFVersion(e){for(;e&&!e.hdrSize;)e=e.parent;return e?e.version:-1}decode(e,t){let n=this.getCFFVersion(t)>=2?e.readUInt32BE():e.readUInt16BE();if(0===n)return[];let r,i=e.readUInt8();if(1===i)r=F;else if(2===i)r=Q;else if(3===i)r=V;else{if(4!==i)throw new Error(`Bad offset size in CFFIndex: ${i} ${e.pos}`);r=q}let o=[],a=e.pos+(n+1)*i-1,s=r.decode(e);for(let l=0;l<n;l++){let n=r.decode(e);if(null!=this.type){let r=e.pos;e.pos=a+s,t.length=n-s,o.push(this.type.decode(e,t)),e.pos=r}else o.push({offset:a+s,length:n-s});s=n}return e.pos=a+s,o}size(e,t){let n=2;if(0===e.length)return n;let r,i=this.type||new oe,o=1;for(let a=0;a<e.length;a++){let n=e[a];o+=i.size(n,t)}if(o<=255)r=F;else if(o<=65535)r=Q;else if(o<=16777215)r=V;else{if(!(o<=4294967295))throw new Error("Bad offset in CFFIndex");r=q}return n+=1+r.size()*(e.length+1),n+=o-1,n}encode(e,t,n){if(e.writeUInt16BE(t.length),0===t.length)return;let r,i=this.type||new oe,o=[],a=1;for(let s of t){let e=i.size(s,n);o.push(e),a+=e}if(a<=255)r=F;else if(a<=65535)r=Q;else if(a<=16777215)r=V;else{if(!(a<=4294967295))throw new Error("Bad offset in CFFIndex");r=q}e.writeUInt8(r.size()),a=1,r.encode(e,a);for(let s of o)a+=s,r.encode(e,a);for(let s of t)i.encode(e,s,n)}constructor(e){this.type=e}}const Qt=["0","1","2","3","4","5","6","7","8","9",".","E","E-",null,"-"],Ut={".":10,E:11,"E-":12,"-":14};class Vt{static decode(e,t){if(32<=t&&t<=246)return t-139;if(247<=t&&t<=250)return 256*(t-247)+e.readUInt8()+108;if(251<=t&&t<=254)return 256*-(t-251)-e.readUInt8()-108;if(28===t)return e.readInt16BE();if(29===t)return e.readInt32BE();if(30===t){let t="";for(;;){let n=e.readUInt8(),r=n>>4;if(15===r)break;t+=Qt[r];let i=15&n;if(15===i)break;t+=Qt[i]}return parseFloat(t)}return null}static size(e){if(e.forceLarge&&(e=32768),(0|e)!==e){let t=""+e;return 1+Math.ceil((t.length+1)/2)}return-107<=e&&e<=107?1:108<=e&&e<=1131||-1131<=e&&e<=-108?2:-32768<=e&&e<=32767?3:5}static encode(e,t){let n=Number(t);if(t.forceLarge)return e.writeUInt8(29),e.writeInt32BE(n);if((0|n)===n)return-107<=n&&n<=107?e.writeUInt8(n+139):108<=n&&n<=1131?(n-=108,e.writeUInt8(247+(n>>8)),e.writeUInt8(255&n)):-1131<=n&&n<=-108?(n=-n-108,e.writeUInt8(251+(n>>8)),e.writeUInt8(255&n)):-32768<=n&&n<=32767?(e.writeUInt8(28),e.writeInt16BE(n)):(e.writeUInt8(29),e.writeInt32BE(n));{e.writeUInt8(30);let t=""+n;for(let n=0;n<t.length;n+=2){let i=t[n],o=Ut[i]||+i;if(n===t.length-1)var r=15;else{let e=t[n+1];r=Ut[e]||+e}e.writeUInt8(o<<4|15&r)}if(15!==r)return e.writeUInt8(240)}}}class Gt{decodeOperands(e,t,n,r){if(Array.isArray(e))return r.map(((r,i)=>this.decodeOperands(e[i],t,n,[r])));if(null!=e.decode)return e.decode(t,n,r);switch(e){case"number":case"offset":case"sid":return r[0];case"boolean":return!!r[0];default:return r}}encodeOperands(e,t,n,r){return Array.isArray(e)?r.map(((r,i)=>this.encodeOperands(e[i],t,n,r)[0])):null!=e.encode?e.encode(t,r,n):"number"===typeof r?[r]:"boolean"===typeof r?[+r]:Array.isArray(r)?r:[r]}decode(e,t){let n=e.pos+t.length,r={},i=[];Object.defineProperties(r,{parent:{value:t},_startOffset:{value:e.pos}});for(let o in this.fields){let e=this.fields[o];r[e[1]]=e[3]}for(;e.pos<n;){let t=e.readUInt8();if(t<28){12===t&&(t=t<<8|e.readUInt8());let n=this.fields[t];if(!n)throw new Error(`Unknown operator ${t}`);let o=this.decodeOperands(n[2],e,r,i);null!=o&&(o instanceof ee?Object.defineProperty(r,n[1],o):r[n[1]]=o),i=[]}else i.push(Vt.decode(e,t))}return r}size(e,t){let n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r={parent:t,val:e,pointerSize:0,startOffset:t.startOffset||0},i=0;for(let o in this.fields){let t=this.fields[o],n=e[t[1]];if(null==n||ve(n,t[3]))continue;let a=this.encodeOperands(t[2],null,r,n);for(let e of a)i+=Vt.size(e);i+=(Array.isArray(t[0])?t[0]:[t[0]]).length}return n&&(i+=r.pointerSize),i}encode(e,t,n){let r={pointers:[],startOffset:e.pos,parent:n,val:t,pointerSize:0};r.pointerOffset=e.pos+this.size(t,r,!1);for(let o of this.ops){let n=t[o[1]];if(null==n||ve(n,o[3]))continue;let i=this.encodeOperands(o[2],e,r,n);for(let t of i)Vt.encode(e,t);let a=Array.isArray(o[0])?o[0]:[o[0]];for(let t of a)e.writeUInt8(t)}let i=0;for(;i<r.pointers.length;){let t=r.pointers[i++];t.type.encode(e,t.val,t.parent)}}constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.ops=e,this.fields={};for(let t of e){let e=Array.isArray(t[0])?t[0][0]<<8|t[0][1]:t[0];this.fields[e]=t}}}class qt extends he{decode(e,t,n){return this.offsetType={decode:()=>n[0]},super.decode(e,t,n)}encode(e,t,n){if(!e)return this.offsetType={size:()=>0},this.size(t,n),[new Ht(0)];let r=null;return this.offsetType={encode:(e,t)=>r=t},super.encode(e,t,n),[new Ht(r)]}constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};null==t.type&&(t.type="global"),super(null,e,t)}}class Ht{valueOf(){return this.val}constructor(e){this.val=e,this.forceLarge=!0}}var Wt=new Gt([[6,"BlueValues","delta",null],[7,"OtherBlues","delta",null],[8,"FamilyBlues","delta",null],[9,"FamilyOtherBlues","delta",null],[[12,9],"BlueScale","number",.039625],[[12,10],"BlueShift","number",7],[[12,11],"BlueFuzz","number",1],[10,"StdHW","number",null],[11,"StdVW","number",null],[[12,12],"StemSnapH","delta",null],[[12,13],"StemSnapV","delta",null],[[12,14],"ForceBold","boolean",!1],[[12,17],"LanguageGroup","number",0],[[12,18],"ExpansionFactor","number",.06],[[12,19],"initialRandomSeed","number",0],[20,"defaultWidthX","number",0],[21,"nominalWidthX","number",0],[22,"vsindex","number",0],[23,"blend",class{static decode(e,t,n){let r=n.pop();for(;n.length>r;)n.pop()}},null],[19,"Subrs",new qt(new zt,{type:"local"}),null]]),Yt=[".notdef","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quoteright","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","bracketleft","backslash","bracketright","asciicircum","underscore","quoteleft","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","braceleft","bar","braceright","asciitilde","exclamdown","cent","sterling","fraction","yen","florin","section","currency","quotesingle","quotedblleft","guillemotleft","guilsinglleft","guilsinglright","fi","fl","endash","dagger","daggerdbl","periodcentered","paragraph","bullet","quotesinglbase","quotedblbase","quotedblright","guillemotright","ellipsis","perthousand","questiondown","grave","acute","circumflex","tilde","macron","breve","dotaccent","dieresis","ring","cedilla","hungarumlaut","ogonek","caron","emdash","AE","ordfeminine","Lslash","Oslash","OE","ordmasculine","ae","dotlessi","lslash","oslash","oe","germandbls","onesuperior","logicalnot","mu","trademark","Eth","onehalf","plusminus","Thorn","onequarter","divide","brokenbar","degree","thorn","threequarters","twosuperior","registered","minus","eth","multiply","threesuperior","copyright","Aacute","Acircumflex","Adieresis","Agrave","Aring","Atilde","Ccedilla","Eacute","Ecircumflex","Edieresis","Egrave","Iacute","Icircumflex","Idieresis","Igrave","Ntilde","Oacute","Ocircumflex","Odieresis","Ograve","Otilde","Scaron","Uacute","Ucircumflex","Udieresis","Ugrave","Yacute","Ydieresis","Zcaron","aacute","acircumflex","adieresis","agrave","aring","atilde","ccedilla","eacute","ecircumflex","edieresis","egrave","iacute","icircumflex","idieresis","igrave","ntilde","oacute","ocircumflex","odieresis","ograve","otilde","scaron","uacute","ucircumflex","udieresis","ugrave","yacute","ydieresis","zcaron","exclamsmall","Hungarumlautsmall","dollaroldstyle","dollarsuperior","ampersandsmall","Acutesmall","parenleftsuperior","parenrightsuperior","twodotenleader","onedotenleader","zerooldstyle","oneoldstyle","twooldstyle","threeoldstyle","fouroldstyle","fiveoldstyle","sixoldstyle","sevenoldstyle","eightoldstyle","nineoldstyle","commasuperior","threequartersemdash","periodsuperior","questionsmall","asuperior","bsuperior","centsuperior","dsuperior","esuperior","isuperior","lsuperior","msuperior","nsuperior","osuperior","rsuperior","ssuperior","tsuperior","ff","ffi","ffl","parenleftinferior","parenrightinferior","Circumflexsmall","hyphensuperior","Gravesmall","Asmall","Bsmall","Csmall","Dsmall","Esmall","Fsmall","Gsmall","Hsmall","Ismall","Jsmall","Ksmall","Lsmall","Msmall","Nsmall","Osmall","Psmall","Qsmall","Rsmall","Ssmall","Tsmall","Usmall","Vsmall","Wsmall","Xsmall","Ysmall","Zsmall","colonmonetary","onefitted","rupiah","Tildesmall","exclamdownsmall","centoldstyle","Lslashsmall","Scaronsmall","Zcaronsmall","Dieresissmall","Brevesmall","Caronsmall","Dotaccentsmall","Macronsmall","figuredash","hypheninferior","Ogoneksmall","Ringsmall","Cedillasmall","questiondownsmall","oneeighth","threeeighths","fiveeighths","seveneighths","onethird","twothirds","zerosuperior","foursuperior","fivesuperior","sixsuperior","sevensuperior","eightsuperior","ninesuperior","zeroinferior","oneinferior","twoinferior","threeinferior","fourinferior","fiveinferior","sixinferior","seveninferior","eightinferior","nineinferior","centinferior","dollarinferior","periodinferior","commainferior","Agravesmall","Aacutesmall","Acircumflexsmall","Atildesmall","Adieresissmall","Aringsmall","AEsmall","Ccedillasmall","Egravesmall","Eacutesmall","Ecircumflexsmall","Edieresissmall","Igravesmall","Iacutesmall","Icircumflexsmall","Idieresissmall","Ethsmall","Ntildesmall","Ogravesmall","Oacutesmall","Ocircumflexsmall","Otildesmall","Odieresissmall","OEsmall","Oslashsmall","Ugravesmall","Uacutesmall","Ucircumflexsmall","Udieresissmall","Yacutesmall","Thornsmall","Ydieresissmall","001.000","001.001","001.002","001.003","Black","Bold","Book","Light","Medium","Regular","Roman","Semibold"];let Kt=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quoteright","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","bracketleft","backslash","bracketright","asciicircum","underscore","quoteleft","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","braceleft","bar","braceright","asciitilde","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","exclamdown","cent","sterling","fraction","yen","florin","section","currency","quotesingle","quotedblleft","guillemotleft","guilsinglleft","guilsinglright","fi","fl","","endash","dagger","daggerdbl","periodcentered","","paragraph","bullet","quotesinglbase","quotedblbase","quotedblright","guillemotright","ellipsis","perthousand","","questiondown","","grave","acute","circumflex","tilde","macron","breve","dotaccent","dieresis","","ring","cedilla","","hungarumlaut","ogonek","caron","emdash","","","","","","","","","","","","","","","","","AE","","ordfeminine","","","","","Lslash","Oslash","OE","ordmasculine","","","","","","ae","","","","dotlessi","","","lslash","oslash","oe","germandbls"],Jt=[".notdef","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quoteright","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","bracketleft","backslash","bracketright","asciicircum","underscore","quoteleft","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","braceleft","bar","braceright","asciitilde","exclamdown","cent","sterling","fraction","yen","florin","section","currency","quotesingle","quotedblleft","guillemotleft","guilsinglleft","guilsinglright","fi","fl","endash","dagger","daggerdbl","periodcentered","paragraph","bullet","quotesinglbase","quotedblbase","quotedblright","guillemotright","ellipsis","perthousand","questiondown","grave","acute","circumflex","tilde","macron","breve","dotaccent","dieresis","ring","cedilla","hungarumlaut","ogonek","caron","emdash","AE","ordfeminine","Lslash","Oslash","OE","ordmasculine","ae","dotlessi","lslash","oslash","oe","germandbls","onesuperior","logicalnot","mu","trademark","Eth","onehalf","plusminus","Thorn","onequarter","divide","brokenbar","degree","thorn","threequarters","twosuperior","registered","minus","eth","multiply","threesuperior","copyright","Aacute","Acircumflex","Adieresis","Agrave","Aring","Atilde","Ccedilla","Eacute","Ecircumflex","Edieresis","Egrave","Iacute","Icircumflex","Idieresis","Igrave","Ntilde","Oacute","Ocircumflex","Odieresis","Ograve","Otilde","Scaron","Uacute","Ucircumflex","Udieresis","Ugrave","Yacute","Ydieresis","Zcaron","aacute","acircumflex","adieresis","agrave","aring","atilde","ccedilla","eacute","ecircumflex","edieresis","egrave","iacute","icircumflex","idieresis","igrave","ntilde","oacute","ocircumflex","odieresis","ograve","otilde","scaron","uacute","ucircumflex","udieresis","ugrave","yacute","ydieresis","zcaron"],Xt=new de({reserved:new se(Q),reqFeatureIndex:Q,featureCount:Q,featureIndexes:new te(Q,"featureCount")}),Zt=new de({tag:new le(4),langSys:new he(Q,Xt,{type:"parent"})}),$t=new de({defaultLangSys:new he(Q,Xt),count:Q,langSysRecords:new te(Zt,"count")}),en=new de({tag:new le(4),script:new he(Q,$t,{type:"parent"})}),tn=new te(en,Q),nn=new de({version:Q,nameID:Q}),rn=new de({featureParams:new he(Q,nn),lookupCount:Q,lookupListIndexes:new te(Q,"lookupCount")}),on=new de({tag:new le(4),feature:new he(Q,rn,{type:"parent"})}),an=new te(on,Q),sn=new de({markAttachmentType:F,flags:new ie(F,["rightToLeft","ignoreBaseGlyphs","ignoreLigatures","ignoreMarks","useMarkFilteringSet"])});function ln(e){let t=new de({lookupType:Q,flags:sn,subTableCount:Q,subTables:new te(new he(Q,e),"subTableCount"),markFilteringSet:new ae(Q,(e=>e.flags.flags.useMarkFilteringSet))});return new ne(new he(Q,t),Q)}let cn=new de({start:Q,end:Q,startCoverageIndex:Q}),un=new pe(Q,{1:{glyphCount:Q,glyphs:new te(Q,"glyphCount")},2:{rangeCount:Q,rangeRecords:new te(cn,"rangeCount")}}),dn=new de({start:Q,end:Q,class:Q}),pn=new pe(Q,{1:{startGlyph:Q,glyphCount:Q,classValueArray:new te(Q,"glyphCount")},2:{classRangeCount:Q,classRangeRecord:new te(dn,"classRangeCount")}}),hn=new de({a:Q,b:Q,deltaFormat:Q}),fn=new de({sequenceIndex:Q,lookupListIndex:Q}),mn=new de({glyphCount:Q,lookupCount:Q,input:new te(Q,(e=>e.glyphCount-1)),lookupRecords:new te(fn,"lookupCount")}),gn=new te(new he(Q,mn),Q),vn=new de({glyphCount:Q,lookupCount:Q,classes:new te(Q,(e=>e.glyphCount-1)),lookupRecords:new te(fn,"lookupCount")}),yn=new te(new he(Q,vn),Q),An=new pe(Q,{1:{coverage:new he(Q,un),ruleSetCount:Q,ruleSets:new te(new he(Q,gn),"ruleSetCount")},2:{coverage:new he(Q,un),classDef:new he(Q,pn),classSetCnt:Q,classSet:new te(new he(Q,yn),"classSetCnt")},3:{glyphCount:Q,lookupCount:Q,coverages:new te(new he(Q,un),"glyphCount"),lookupRecords:new te(fn,"lookupCount")}}),bn=new de({backtrackGlyphCount:Q,backtrack:new te(Q,"backtrackGlyphCount"),inputGlyphCount:Q,input:new te(Q,(e=>e.inputGlyphCount-1)),lookaheadGlyphCount:Q,lookahead:new te(Q,"lookaheadGlyphCount"),lookupCount:Q,lookupRecords:new te(fn,"lookupCount")}),wn=new te(new he(Q,bn),Q),xn=new pe(Q,{1:{coverage:new he(Q,un),chainCount:Q,chainRuleSets:new te(new he(Q,wn),"chainCount")},2:{coverage:new he(Q,un),backtrackClassDef:new he(Q,pn),inputClassDef:new he(Q,pn),lookaheadClassDef:new he(Q,pn),chainCount:Q,chainClassSet:new te(new he(Q,wn),"chainCount")},3:{backtrackGlyphCount:Q,backtrackCoverage:new te(new he(Q,un),"backtrackGlyphCount"),inputGlyphCount:Q,inputCoverage:new te(new he(Q,un),"inputGlyphCount"),lookaheadGlyphCount:Q,lookaheadCoverage:new te(new he(Q,un),"lookaheadGlyphCount"),lookupCount:Q,lookupRecords:new te(fn,"lookupCount")}}),Cn=new J(16,"BE",14),Sn=new de({startCoord:Cn,peakCoord:Cn,endCoord:Cn}),kn=new de({axisCount:Q,regionCount:Q,variationRegions:new te(new te(Sn,"axisCount"),"regionCount")}),En=new de({shortDeltas:new te(Y,(e=>e.parent.shortDeltaCount)),regionDeltas:new te(W,(e=>e.parent.regionIndexCount-e.parent.shortDeltaCount)),deltas:e=>e.shortDeltas.concat(e.regionDeltas)}),In=new de({itemCount:Q,shortDeltaCount:Q,regionIndexCount:Q,regionIndexes:new te(Q,"regionIndexCount"),deltaSets:new te(En,"itemCount")}),_n=new de({format:Q,variationRegionList:new he(q,kn),variationDataCount:Q,itemVariationData:new te(new he(q,In),"variationDataCount")}),Pn=new pe(Q,{1:{axisIndex:Q,axisIndex:Q,filterRangeMinValue:Cn,filterRangeMaxValue:Cn}}),On=new de({conditionCount:Q,conditionTable:new te(new he(q,Pn),"conditionCount")}),Tn=new de({featureIndex:Q,alternateFeatureTable:new he(q,rn,{type:"parent"})}),Dn=new de({version:Z,substitutionCount:Q,substitutions:new te(Tn,"substitutionCount")}),jn=new de({conditionSet:new he(q,On,{type:"parent"}),featureTableSubstitution:new he(q,Dn,{type:"parent"})}),Bn=new de({majorVersion:Q,minorVersion:Q,featureVariationRecordCount:q,featureVariationRecords:new te(jn,"featureVariationRecordCount")});class Nn{decode(e,t,n){return this.predefinedOps[n[0]]?this.predefinedOps[n[0]]:this.type.decode(e,t,n)}size(e,t){return this.type.size(e,t)}encode(e,t,n){let r=this.predefinedOps.indexOf(t);return-1!==r?r:this.type.encode(e,t,n)}constructor(e,t){this.predefinedOps=e,this.type=t}}let Mn=new de({first:Q,nLeft:F}),Rn=new de({first:Q,nLeft:Q}),Ln=new pe(new class extends L{decode(e){return 127&F.decode(e)}constructor(){super("UInt8")}},{0:{nCodes:F,codes:new te(F,"nCodes")},1:{nRanges:F,ranges:new te(Mn,"nRanges")}}),Fn=new Nn([Kt,["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","space","exclamsmall","Hungarumlautsmall","","dollaroldstyle","dollarsuperior","ampersandsmall","Acutesmall","parenleftsuperior","parenrightsuperior","twodotenleader","onedotenleader","comma","hyphen","period","fraction","zerooldstyle","oneoldstyle","twooldstyle","threeoldstyle","fouroldstyle","fiveoldstyle","sixoldstyle","sevenoldstyle","eightoldstyle","nineoldstyle","colon","semicolon","commasuperior","threequartersemdash","periodsuperior","questionsmall","","asuperior","bsuperior","centsuperior","dsuperior","esuperior","","","isuperior","","","lsuperior","msuperior","nsuperior","osuperior","","","rsuperior","ssuperior","tsuperior","","ff","fi","fl","ffi","ffl","parenleftinferior","","parenrightinferior","Circumflexsmall","hyphensuperior","Gravesmall","Asmall","Bsmall","Csmall","Dsmall","Esmall","Fsmall","Gsmall","Hsmall","Ismall","Jsmall","Ksmall","Lsmall","Msmall","Nsmall","Osmall","Psmall","Qsmall","Rsmall","Ssmall","Tsmall","Usmall","Vsmall","Wsmall","Xsmall","Ysmall","Zsmall","colonmonetary","onefitted","rupiah","Tildesmall","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","exclamdownsmall","centoldstyle","Lslashsmall","","","Scaronsmall","Zcaronsmall","Dieresissmall","Brevesmall","Caronsmall","","Dotaccentsmall","","","Macronsmall","","","figuredash","hypheninferior","","","Ogoneksmall","Ringsmall","Cedillasmall","","","","onequarter","onehalf","threequarters","questiondownsmall","oneeighth","threeeighths","fiveeighths","seveneighths","onethird","twothirds","","","zerosuperior","onesuperior","twosuperior","threesuperior","foursuperior","fivesuperior","sixsuperior","sevensuperior","eightsuperior","ninesuperior","zeroinferior","oneinferior","twoinferior","threeinferior","fourinferior","fiveinferior","sixinferior","seveninferior","eightinferior","nineinferior","centinferior","dollarinferior","periodinferior","commainferior","Agravesmall","Aacutesmall","Acircumflexsmall","Atildesmall","Adieresissmall","Aringsmall","AEsmall","Ccedillasmall","Egravesmall","Eacutesmall","Ecircumflexsmall","Edieresissmall","Igravesmall","Iacutesmall","Icircumflexsmall","Idieresissmall","Ethsmall","Ntildesmall","Ogravesmall","Oacutesmall","Ocircumflexsmall","Otildesmall","Odieresissmall","OEsmall","Oslashsmall","Ugravesmall","Uacutesmall","Ucircumflexsmall","Udieresissmall","Yacutesmall","Thornsmall","Ydieresissmall"]],new qt(Ln,{lazy:!0}));class zn extends te{decode(e,t){let n=$(this.length,e,t),r=0,i=[];for(;r<n;){let n=this.type.decode(e,t);n.offset=r,r+=n.nLeft+1,i.push(n)}return i}}let Qn=new Nn([Jt,[".notdef","space","exclamsmall","Hungarumlautsmall","dollaroldstyle","dollarsuperior","ampersandsmall","Acutesmall","parenleftsuperior","parenrightsuperior","twodotenleader","onedotenleader","comma","hyphen","period","fraction","zerooldstyle","oneoldstyle","twooldstyle","threeoldstyle","fouroldstyle","fiveoldstyle","sixoldstyle","sevenoldstyle","eightoldstyle","nineoldstyle","colon","semicolon","commasuperior","threequartersemdash","periodsuperior","questionsmall","asuperior","bsuperior","centsuperior","dsuperior","esuperior","isuperior","lsuperior","msuperior","nsuperior","osuperior","rsuperior","ssuperior","tsuperior","ff","fi","fl","ffi","ffl","parenleftinferior","parenrightinferior","Circumflexsmall","hyphensuperior","Gravesmall","Asmall","Bsmall","Csmall","Dsmall","Esmall","Fsmall","Gsmall","Hsmall","Ismall","Jsmall","Ksmall","Lsmall","Msmall","Nsmall","Osmall","Psmall","Qsmall","Rsmall","Ssmall","Tsmall","Usmall","Vsmall","Wsmall","Xsmall","Ysmall","Zsmall","colonmonetary","onefitted","rupiah","Tildesmall","exclamdownsmall","centoldstyle","Lslashsmall","Scaronsmall","Zcaronsmall","Dieresissmall","Brevesmall","Caronsmall","Dotaccentsmall","Macronsmall","figuredash","hypheninferior","Ogoneksmall","Ringsmall","Cedillasmall","onequarter","onehalf","threequarters","questiondownsmall","oneeighth","threeeighths","fiveeighths","seveneighths","onethird","twothirds","zerosuperior","onesuperior","twosuperior","threesuperior","foursuperior","fivesuperior","sixsuperior","sevensuperior","eightsuperior","ninesuperior","zeroinferior","oneinferior","twoinferior","threeinferior","fourinferior","fiveinferior","sixinferior","seveninferior","eightinferior","nineinferior","centinferior","dollarinferior","periodinferior","commainferior","Agravesmall","Aacutesmall","Acircumflexsmall","Atildesmall","Adieresissmall","Aringsmall","AEsmall","Ccedillasmall","Egravesmall","Eacutesmall","Ecircumflexsmall","Edieresissmall","Igravesmall","Iacutesmall","Icircumflexsmall","Idieresissmall","Ethsmall","Ntildesmall","Ogravesmall","Oacutesmall","Ocircumflexsmall","Otildesmall","Odieresissmall","OEsmall","Oslashsmall","Ugravesmall","Uacutesmall","Ucircumflexsmall","Udieresissmall","Yacutesmall","Thornsmall","Ydieresissmall"],[".notdef","space","dollaroldstyle","dollarsuperior","parenleftsuperior","parenrightsuperior","twodotenleader","onedotenleader","comma","hyphen","period","fraction","zerooldstyle","oneoldstyle","twooldstyle","threeoldstyle","fouroldstyle","fiveoldstyle","sixoldstyle","sevenoldstyle","eightoldstyle","nineoldstyle","colon","semicolon","commasuperior","threequartersemdash","periodsuperior","asuperior","bsuperior","centsuperior","dsuperior","esuperior","isuperior","lsuperior","msuperior","nsuperior","osuperior","rsuperior","ssuperior","tsuperior","ff","fi","fl","ffi","ffl","parenleftinferior","parenrightinferior","hyphensuperior","colonmonetary","onefitted","rupiah","centoldstyle","figuredash","hypheninferior","onequarter","onehalf","threequarters","oneeighth","threeeighths","fiveeighths","seveneighths","onethird","twothirds","zerosuperior","onesuperior","twosuperior","threesuperior","foursuperior","fivesuperior","sixsuperior","sevensuperior","eightsuperior","ninesuperior","zeroinferior","oneinferior","twoinferior","threeinferior","fourinferior","fiveinferior","sixinferior","seveninferior","eightinferior","nineinferior","centinferior","dollarinferior","periodinferior","commainferior"]],new qt(new pe(F,{0:{glyphs:new te(Q,(e=>e.parent.CharStrings.length-1))},1:{ranges:new zn(Mn,(e=>e.parent.CharStrings.length-1))},2:{ranges:new zn(Rn,(e=>e.parent.CharStrings.length-1))}}),{lazy:!0})),Un=new de({first:Q,fd:F}),Vn=new de({first:q,fd:Q}),Gn=new pe(F,{0:{fds:new te(F,(e=>e.parent.CharStrings.length))},3:{nRanges:Q,ranges:new te(Un,"nRanges"),sentinel:Q},4:{nRanges:q,ranges:new te(Vn,"nRanges"),sentinel:q}}),qn=new qt(Wt);class Hn{decode(e,t,n){return t.length=n[0],qn.decode(e,t,[n[1]])}size(e,t){return[Wt.size(e,t,!1),qn.size(e,t)[0]]}encode(e,t,n){return[Wt.size(t,n,!1),qn.encode(e,t,n)[0]]}}let Wn=new Gt([[18,"Private",new Hn,null],[[12,38],"FontName","sid",null],[[12,7],"FontMatrix","array",[.001,0,0,.001,0,0]],[[12,5],"PaintType","number",0]]),Yn=new Gt([[[12,30],"ROS",["sid","sid","number"],null],[0,"version","sid",null],[1,"Notice","sid",null],[[12,0],"Copyright","sid",null],[2,"FullName","sid",null],[3,"FamilyName","sid",null],[4,"Weight","sid",null],[[12,1],"isFixedPitch","boolean",!1],[[12,2],"ItalicAngle","number",0],[[12,3],"UnderlinePosition","number",-100],[[12,4],"UnderlineThickness","number",50],[[12,5],"PaintType","number",0],[[12,6],"CharstringType","number",2],[[12,7],"FontMatrix","array",[.001,0,0,.001,0,0]],[13,"UniqueID","number",null],[5,"FontBBox","array",[0,0,0,0]],[[12,8],"StrokeWidth","number",0],[14,"XUID","array",null],[15,"charset",Qn,Jt],[16,"Encoding",Fn,Kt],[17,"CharStrings",new qt(new zt),null],[18,"Private",new Hn,null],[[12,20],"SyntheticBase","number",null],[[12,21],"PostScript","sid",null],[[12,22],"BaseFontName","sid",null],[[12,23],"BaseFontBlend","delta",null],[[12,31],"CIDFontVersion","number",0],[[12,32],"CIDFontRevision","number",0],[[12,33],"CIDFontType","number",0],[[12,34],"CIDCount","number",8720],[[12,35],"UIDBase","number",null],[[12,37],"FDSelect",new qt(Gn),null],[[12,36],"FDArray",new qt(new zt(Wn)),null],[[12,38],"FontName","sid",null]]),Kn=new de({length:Q,itemVariationStore:_n}),Jn=new Gt([[[12,7],"FontMatrix","array",[.001,0,0,.001,0,0]],[17,"CharStrings",new qt(new zt),null],[[12,37],"FDSelect",new qt(Gn),null],[[12,36],"FDArray",new qt(new zt(Wn)),null],[24,"vstore",new qt(Kn),null],[25,"maxstack","number",193]]);var Xn=new pe(X,{1:{hdrSize:F,offSize:F,nameIndex:new zt(new le("length")),topDictIndex:new zt(Yn),stringIndex:new zt(new le("length")),globalSubrIndex:new zt},2:{hdrSize:F,length:Q,topDict:Jn,globalSubrIndex:new zt}});class Zn{static decode(e){return new Zn(e)}decode(){this.stream.pos;let e=Xn.decode(this.stream);for(let t in e){let n=e[t];this[t]=n}if(this.version<2){if(1!==this.topDictIndex.length)throw new Error("Only a single font is allowed in CFF");this.topDict=this.topDictIndex[0]}return this.isCIDFont=null!=this.topDict.ROS,this}string(e){return this.version>=2?null:e<Yt.length?Yt[e]:this.stringIndex[e-Yt.length]}get postscriptName(){return this.version<2?this.nameIndex[0]:null}get fullName(){return this.string(this.topDict.FullName)}get familyName(){return this.string(this.topDict.FamilyName)}getCharString(e){return this.stream.pos=this.topDict.CharStrings[e].offset,this.stream.readBuffer(this.topDict.CharStrings[e].length)}getGlyphName(e){if(this.version>=2)return null;if(this.isCIDFont)return null;let{charset:t}=this.topDict;if(Array.isArray(t))return t[e];if(0===e)return".notdef";switch(e-=1,t.version){case 0:return this.string(t.glyphs[e]);case 1:case 2:for(let n=0;n<t.ranges.length;n++){let r=t.ranges[n];if(r.offset<=e&&e<=r.offset+r.nLeft)return this.string(r.first+(e-r.offset))}}return null}fdForGlyph(e){if(!this.topDict.FDSelect)return null;switch(this.topDict.FDSelect.version){case 0:return this.topDict.FDSelect.fds[e];case 3:case 4:let{ranges:t}=this.topDict.FDSelect,n=0,r=t.length-1;for(;n<=r;){let i=n+r>>1;if(e<t[i].first)r=i-1;else{if(!(i<r&&e>=t[i+1].first))return t[i].fd;n=i+1}}default:throw new Error(`Unknown FDSelect version: ${this.topDict.FDSelect.version}`)}}privateDictForGlyph(e){if(this.topDict.FDSelect){let t=this.fdForGlyph(e);return this.topDict.FDArray[t]?this.topDict.FDArray[t].Private:null}return this.version<2?this.topDict.Private:this.topDict.FDArray[0].Private}constructor(e){this.stream=e,this.decode()}}var $n=Zn;let er=new de({glyphIndex:Q,vertOriginY:Y});var tr=new de({majorVersion:Q,minorVersion:Q,defaultVertOriginY:Y,numVertOriginYMetrics:Q,metrics:new te(er,"numVertOriginYMetrics")});let nr=new de({height:F,width:F,horiBearingX:W,horiBearingY:W,horiAdvance:F,vertBearingX:W,vertBearingY:W,vertAdvance:F}),rr=new de({height:F,width:F,bearingX:W,bearingY:W,advance:F}),ir=new de({glyph:Q,xOffset:W,yOffset:W});class or{}class ar{}new pe("version",{1:{metrics:rr,data:or},2:{metrics:rr,data:ar},5:{data:ar},6:{metrics:nr,data:or},7:{metrics:nr,data:ar},8:{metrics:rr,pad:new se(F),numComponents:Q,components:new te(ir,"numComponents")},9:{metrics:nr,pad:new se(F),numComponents:Q,components:new te(ir,"numComponents")},17:{metrics:rr,dataLen:q,data:new oe("dataLen")},18:{metrics:nr,dataLen:q,data:new oe("dataLen")},19:{dataLen:q,data:new oe("dataLen")}});let sr=new de({ascender:W,descender:W,widthMax:F,caretSlopeNumerator:W,caretSlopeDenominator:W,caretOffset:W,minOriginSB:W,minAdvanceSB:W,maxBeforeBL:W,minAfterBL:W,pad:new se(W,2)}),lr=new de({glyphCode:Q,offset:Q}),cr=new pe(Q,{header:{imageFormat:Q,imageDataOffset:q},1:{offsetArray:new te(q,(e=>e.parent.lastGlyphIndex-e.parent.firstGlyphIndex+1))},2:{imageSize:q,bigMetrics:nr},3:{offsetArray:new te(Q,(e=>e.parent.lastGlyphIndex-e.parent.firstGlyphIndex+1))},4:{numGlyphs:q,glyphArray:new te(lr,(e=>e.numGlyphs+1))},5:{imageSize:q,bigMetrics:nr,numGlyphs:q,glyphCodeArray:new te(Q,"numGlyphs")}}),ur=new de({firstGlyphIndex:Q,lastGlyphIndex:Q,subtable:new he(q,cr)}),dr=new de({indexSubTableArray:new he(q,new te(ur,1),{type:"parent"}),indexTablesSize:q,numberOfIndexSubTables:q,colorRef:q,hori:sr,vert:sr,startGlyphIndex:Q,endGlyphIndex:Q,ppemX:F,ppemY:F,bitDepth:F,flags:new ie(F,["horizontal","vertical"])});var pr=new de({version:q,numSizes:q,sizes:new te(dr,"numSizes")});let hr=new de({ppem:Q,resolution:Q,imageOffsets:new te(new he(q,"void"),(e=>e.parent.parent.maxp.numGlyphs+1))});var fr=new de({version:Q,flags:new ie(Q,["renderOutlines"]),numImgTables:q,imageTables:new te(new he(q,hr),"numImgTables")});let mr=new de({gid:Q,paletteIndex:Q}),gr=new de({gid:Q,firstLayerIndex:Q,numLayers:Q});var vr=new de({version:Q,numBaseGlyphRecords:Q,baseGlyphRecord:new he(q,new te(gr,"numBaseGlyphRecords")),layerRecords:new he(q,new te(mr,"numLayerRecords"),{lazy:!0}),numLayerRecords:Q});let yr=new de({blue:F,green:F,red:F,alpha:F});var Ar=new pe(Q,{header:{numPaletteEntries:Q,numPalettes:Q,numColorRecords:Q,colorRecords:new he(q,new te(yr,"numColorRecords")),colorRecordIndices:new te(Q,"numPalettes")},0:{},1:{offsetPaletteTypeArray:new he(q,new te(q,"numPalettes")),offsetPaletteLabelArray:new he(q,new te(Q,"numPalettes")),offsetPaletteEntryLabelArray:new he(q,new te(Q,"numPaletteEntries"))}});let br=new pe(Q,{1:{coordinate:Y},2:{coordinate:Y,referenceGlyph:Q,baseCoordPoint:Q},3:{coordinate:Y,deviceTable:new he(Q,hn)}}),wr=new de({defaultIndex:Q,baseCoordCount:Q,baseCoords:new te(new he(Q,br),"baseCoordCount")}),xr=new de({tag:new le(4),minCoord:new he(Q,br,{type:"parent"}),maxCoord:new he(Q,br,{type:"parent"})}),Cr=new de({minCoord:new he(Q,br),maxCoord:new he(Q,br),featMinMaxCount:Q,featMinMaxRecords:new te(xr,"featMinMaxCount")}),Sr=new de({tag:new le(4),minMax:new he(Q,Cr,{type:"parent"})}),kr=new de({baseValues:new he(Q,wr),defaultMinMax:new he(Q,Cr),baseLangSysCount:Q,baseLangSysRecords:new te(Sr,"baseLangSysCount")}),Er=new de({tag:new le(4),script:new he(Q,kr,{type:"parent"})}),Ir=new te(Er,Q),_r=new te(new le(4),Q),Pr=new de({baseTagList:new he(Q,_r),baseScriptList:new he(Q,Ir)});var Or=new pe(q,{header:{horizAxis:new he(Q,Pr),vertAxis:new he(Q,Pr)},65536:{},65537:{itemVariationStore:new he(q,_n)}});let Tr=new te(Q,Q),Dr=new de({coverage:new he(Q,un),glyphCount:Q,attachPoints:new te(new he(Q,Tr),"glyphCount")}),jr=new pe(Q,{1:{coordinate:Y},2:{caretValuePoint:Q},3:{coordinate:Y,deviceTable:new he(Q,hn)}}),Br=new te(new he(Q,jr),Q),Nr=new de({coverage:new he(Q,un),ligGlyphCount:Q,ligGlyphs:new te(new he(Q,Br),"ligGlyphCount")}),Mr=new de({markSetTableFormat:Q,markSetCount:Q,coverage:new te(new he(q,un),"markSetCount")});var Rr=new pe(q,{header:{glyphClassDef:new he(Q,pn),attachList:new he(Q,Dr),ligCaretList:new he(Q,Nr),markAttachClassDef:new he(Q,pn)},65536:{},65538:{markGlyphSetsDef:new he(Q,Mr)},65539:{markGlyphSetsDef:new he(Q,Mr),itemVariationStore:new he(q,_n)}});let Lr=new ie(Q,["xPlacement","yPlacement","xAdvance","yAdvance","xPlaDevice","yPlaDevice","xAdvDevice","yAdvDevice"]),Fr={xPlacement:Y,yPlacement:Y,xAdvance:Y,yAdvance:Y,xPlaDevice:new he(Q,hn,{type:"global",relativeTo:e=>e.rel}),yPlaDevice:new he(Q,hn,{type:"global",relativeTo:e=>e.rel}),xAdvDevice:new he(Q,hn,{type:"global",relativeTo:e=>e.rel}),yAdvDevice:new he(Q,hn,{type:"global",relativeTo:e=>e.rel})};class zr{buildStruct(e){let t=e;for(;!t[this.key]&&t.parent;)t=t.parent;if(!t[this.key])return;let n={rel:()=>t._startOffset},r=t[this.key];for(let i in r)r[i]&&(n[i]=Fr[i]);return new de(n)}size(e,t){return this.buildStruct(t).size(e,t)}decode(e,t){let n=this.buildStruct(t).decode(e,t);return delete n.rel,n}constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"valueFormat";this.key=e}}let Qr=new de({secondGlyph:Q,value1:new zr("valueFormat1"),value2:new zr("valueFormat2")}),Ur=new te(Qr,Q),Vr=new de({value1:new zr("valueFormat1"),value2:new zr("valueFormat2")}),Gr=new pe(Q,{1:{xCoordinate:Y,yCoordinate:Y},2:{xCoordinate:Y,yCoordinate:Y,anchorPoint:Q},3:{xCoordinate:Y,yCoordinate:Y,xDeviceTable:new he(Q,hn),yDeviceTable:new he(Q,hn)}}),qr=new de({entryAnchor:new he(Q,Gr,{type:"parent"}),exitAnchor:new he(Q,Gr,{type:"parent"})}),Hr=new de({class:Q,markAnchor:new he(Q,Gr,{type:"parent"})}),Wr=new te(Hr,Q),Yr=new te(new he(Q,Gr),(e=>e.parent.classCount)),Kr=new te(Yr,Q),Jr=new te(new he(Q,Gr),(e=>e.parent.parent.classCount)),Xr=new te(Jr,Q),Zr=new te(new he(Q,Xr),Q),$r=new pe("lookupType",{1:new pe(Q,{1:{coverage:new he(Q,un),valueFormat:Lr,value:new zr},2:{coverage:new he(Q,un),valueFormat:Lr,valueCount:Q,values:new ne(new zr,"valueCount")}}),2:new pe(Q,{1:{coverage:new he(Q,un),valueFormat1:Lr,valueFormat2:Lr,pairSetCount:Q,pairSets:new ne(new he(Q,Ur),"pairSetCount")},2:{coverage:new he(Q,un),valueFormat1:Lr,valueFormat2:Lr,classDef1:new he(Q,pn),classDef2:new he(Q,pn),class1Count:Q,class2Count:Q,classRecords:new ne(new ne(Vr,"class2Count"),"class1Count")}}),3:{format:Q,coverage:new he(Q,un),entryExitCount:Q,entryExitRecords:new te(qr,"entryExitCount")},4:{format:Q,markCoverage:new he(Q,un),baseCoverage:new he(Q,un),classCount:Q,markArray:new he(Q,Wr),baseArray:new he(Q,Kr)},5:{format:Q,markCoverage:new he(Q,un),ligatureCoverage:new he(Q,un),classCount:Q,markArray:new he(Q,Wr),ligatureArray:new he(Q,Zr)},6:{format:Q,mark1Coverage:new he(Q,un),mark2Coverage:new he(Q,un),classCount:Q,mark1Array:new he(Q,Wr),mark2Array:new he(Q,Kr)},7:An,8:xn,9:{posFormat:Q,lookupType:Q,extension:new he(q,null)}});$r.versions[9].extension.type=$r;var ei=new pe(q,{header:{scriptList:new he(Q,tn),featureList:new he(Q,an),lookupList:new he(Q,new ln($r))},65536:{},65537:{featureVariations:new he(q,Bn)}});let ti=new te(Q,Q),ni=ti,ri=new de({glyph:Q,compCount:Q,components:new te(Q,(e=>e.compCount-1))}),ii=new te(new he(Q,ri),Q),oi=new pe("lookupType",{1:new pe(Q,{1:{coverage:new he(Q,un),deltaGlyphID:Y},2:{coverage:new he(Q,un),glyphCount:Q,substitute:new ne(Q,"glyphCount")}}),2:{substFormat:Q,coverage:new he(Q,un),count:Q,sequences:new ne(new he(Q,ti),"count")},3:{substFormat:Q,coverage:new he(Q,un),count:Q,alternateSet:new ne(new he(Q,ni),"count")},4:{substFormat:Q,coverage:new he(Q,un),count:Q,ligatureSets:new ne(new he(Q,ii),"count")},5:An,6:xn,7:{substFormat:Q,lookupType:Q,extension:new he(q,null)},8:{substFormat:Q,coverage:new he(Q,un),backtrackCoverage:new te(new he(Q,un),"backtrackGlyphCount"),lookaheadGlyphCount:Q,lookaheadCoverage:new te(new he(Q,un),"lookaheadGlyphCount"),glyphCount:Q,substitutes:new te(Q,"glyphCount")}});oi.versions[7].extension.type=oi;var ai=new pe(q,{header:{scriptList:new he(Q,tn),featureList:new he(Q,an),lookupList:new he(Q,new ln(oi))},65536:{},65537:{featureVariations:new he(q,Bn)}});let si=new te(Q,Q),li=new de({shrinkageEnableGSUB:new he(Q,si),shrinkageDisableGSUB:new he(Q,si),shrinkageEnableGPOS:new he(Q,si),shrinkageDisableGPOS:new he(Q,si),shrinkageJstfMax:new he(Q,new ln($r)),extensionEnableGSUB:new he(Q,si),extensionDisableGSUB:new he(Q,si),extensionEnableGPOS:new he(Q,si),extensionDisableGPOS:new he(Q,si),extensionJstfMax:new he(Q,new ln($r))}),ci=new te(new he(Q,li),Q),ui=new de({tag:new le(4),jstfLangSys:new he(Q,ci)}),di=new de({extenderGlyphs:new he(Q,new te(Q,Q)),defaultLangSys:new he(Q,ci),langSysCount:Q,langSysRecords:new te(ui,"langSysCount")}),pi=new de({tag:new le(4),script:new he(Q,di,{type:"parent"})});var hi=new de({version:q,scriptCount:Q,scriptList:new te(pi,"scriptCount")});let fi=new de({entry:new class{decode(e,t){switch(this.size(0,t)){case 1:return e.readUInt8();case 2:return e.readUInt16BE();case 3:return e.readUInt24BE();case 4:return e.readUInt32BE()}}size(e,t){return $(this._size,null,t)}constructor(e){this._size=e}}((e=>1+((48&e.parent.entryFormat)>>4))),outerIndex:e=>e.entry>>1+(15&e.parent.entryFormat),innerIndex:e=>e.entry&(1<<1+(15&e.parent.entryFormat))-1}),mi=new de({entryFormat:Q,mapCount:Q,mapData:new te(fi,"mapCount")});var gi=new de({majorVersion:Q,minorVersion:Q,itemVariationStore:new he(q,_n),advanceWidthMapping:new he(q,mi),LSBMapping:new he(q,mi),RSBMapping:new he(q,mi)});let vi=new de({format:q,length:q,offset:q}),yi=new de({reserved:new se(Q,2),cbSignature:q,signature:new oe("cbSignature")});var Ai=new de({ulVersion:q,usNumSigs:Q,usFlag:Q,signatures:new te(vi,"usNumSigs"),signatureBlocks:new te(yi,"usNumSigs")});let bi=new de({rangeMaxPPEM:Q,rangeGaspBehavior:new ie(Q,["grayscale","gridfit","symmetricSmoothing","symmetricGridfit"])});var wi=new de({version:Q,numRanges:Q,gaspRanges:new te(bi,"numRanges")});let xi=new de({pixelSize:F,maximumWidth:F,widths:new te(F,(e=>e.parent.parent.maxp.numGlyphs))});var Ci=new de({version:Q,numRecords:Y,sizeDeviceRecord:K,records:new te(xi,"numRecords")});let Si=new de({left:Q,right:Q,value:Y}),ki=new de({firstGlyph:Q,nGlyphs:Q,offsets:new te(Q,"nGlyphs"),max:e=>e.offsets.length&&Math.max.apply(Math,e.offsets)}),Ei=new de({off:e=>e._startOffset-e.parent.parent._startOffset,len:e=>((e.parent.leftTable.max-e.off)/e.parent.rowWidth+1)*(e.parent.rowWidth/2),values:new ne(Y,"len")}),Ii=new pe("format",{0:{nPairs:Q,searchRange:Q,entrySelector:Q,rangeShift:Q,pairs:new te(Si,"nPairs")},2:{rowWidth:Q,leftTable:new he(Q,ki,{type:"parent"}),rightTable:new he(Q,ki,{type:"parent"}),array:new he(Q,Ei,{type:"parent"})},3:{glyphCount:Q,kernValueCount:F,leftClassCount:F,rightClassCount:F,flags:F,kernValue:new te(Y,"kernValueCount"),leftClass:new te(F,"glyphCount"),rightClass:new te(F,"glyphCount"),kernIndex:new te(F,(e=>e.leftClassCount*e.rightClassCount))}}),_i=new pe("version",{0:{subVersion:Q,length:Q,format:F,coverage:new ie(F,["horizontal","minimum","crossStream","override"]),subtable:Ii,padding:new se(F,(e=>e.length-e._currentOffset))},1:{length:q,coverage:new ie(F,[null,null,null,null,null,"variation","crossStream","vertical"]),format:F,tupleIndex:Q,subtable:Ii,padding:new se(F,(e=>e.length-e._currentOffset))}});var Pi=new pe(Q,{0:{nTables:Q,tables:new te(_i,"nTables")},1:{reserved:new se(Q),nTables:q,tables:new te(_i,"nTables")}}),Oi=new de({version:Q,numGlyphs:Q,yPels:new te(F,"numGlyphs")}),Ti=new de({version:Q,fontNumber:q,pitch:Q,xHeight:Q,style:Q,typeFamily:Q,capHeight:Q,symbolSet:Q,typeface:new le(16),characterComplement:new le(8),fileName:new le(6),strokeWeight:new le(1),widthType:new le(1),serifStyle:F,reserved:new se(F)});let Di=new de({bCharSet:F,xRatio:F,yStartRatio:F,yEndRatio:F}),ji=new de({yPelHeight:Q,yMax:Y,yMin:Y}),Bi=new de({recs:Q,startsz:F,endsz:F,entries:new te(ji,"recs")});var Ni=new de({version:Q,numRecs:Q,numRatios:Q,ratioRanges:new te(Di,"numRatios"),offsets:new te(Q,"numRatios"),groups:new te(Bi,"numRecs")}),Mi=new de({version:Q,ascent:Y,descent:Y,lineGap:Y,advanceHeightMax:Y,minTopSideBearing:Y,minBottomSideBearing:Y,yMaxExtent:Y,caretSlopeRise:Y,caretSlopeRun:Y,caretOffset:Y,reserved:new se(Y,4),metricDataFormat:Y,numberOfMetrics:Q});let Ri=new de({advance:Q,bearing:Y});var Li=new de({metrics:new ne(Ri,(e=>e.parent.vhea.numberOfMetrics)),bearings:new ne(Y,(e=>e.parent.maxp.numGlyphs-e.parent.vhea.numberOfMetrics))});let Fi=new J(16,"BE",14),zi=new de({fromCoord:Fi,toCoord:Fi}),Qi=new de({pairCount:Q,correspondence:new te(zi,"pairCount")});var Ui=new de({version:Z,axisCount:q,segment:new te(Qi,"axisCount")});class Vi{getItem(e){if(null==this._items[e]){let t=this.stream.pos;this.stream.pos=this.base+this.type.size(null,this.parent)*e,this._items[e]=this.type.decode(this.stream,this.parent),this.stream.pos=t}return this._items[e]}inspect(){return`[UnboundedArray ${this.type.constructor.name}]`}constructor(e,t,n){this.type=e,this.stream=t,this.parent=n,this.base=this.stream.pos,this._items=[]}}class Gi extends te{decode(e,t){return new Vi(this.type,e,t)}constructor(e){super(e,0)}}let qi=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Q;e=new class{decode(e,t){return t=t.parent.parent,this.type.decode(e,t)}size(e,t){return t=t.parent.parent,this.type.size(e,t)}encode(e,t,n){return n=n.parent.parent,this.type.encode(e,t,n)}constructor(e){this.type=e}}(e);let t=new de({unitSize:Q,nUnits:Q,searchRange:Q,entrySelector:Q,rangeShift:Q}),n=new de({lastGlyph:Q,firstGlyph:Q,value:e}),r=new de({lastGlyph:Q,firstGlyph:Q,values:new he(Q,new te(e,(e=>e.lastGlyph-e.firstGlyph+1)),{type:"parent"})}),i=new de({glyph:Q,value:e});return new pe(Q,{0:{values:new Gi(e)},2:{binarySearchHeader:t,segments:new te(n,(e=>e.binarySearchHeader.nUnits))},4:{binarySearchHeader:t,segments:new te(r,(e=>e.binarySearchHeader.nUnits))},6:{binarySearchHeader:t,segments:new te(i,(e=>e.binarySearchHeader.nUnits))},8:{firstGlyph:Q,count:Q,values:new te(e,"count")}})};function Hi(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Q,n=Object.assign({newState:Q,flags:Q},e),r=new de(n),i=new Gi(new te(Q,(e=>e.nClasses)));return new de({nClasses:q,classTable:new he(q,new qi(t)),stateArray:new he(q,i),entryTable:new he(q,new Gi(r))})}let Wi=new pe("format",{0:{deltas:new te(Y,32)},1:{deltas:new te(Y,32),mappingData:new qi(Q)},2:{standardGlyph:Q,controlPoints:new te(Q,32)},3:{standardGlyph:Q,controlPoints:new te(Q,32),mappingData:new qi(Q)}});var Yi=new de({version:Z,format:Q,defaultBaseline:Q,subtable:Wi});let Ki=new de({setting:Q,nameIndex:Y,name:e=>e.parent.parent.parent.name.records.fontFeatures[e.nameIndex]}),Ji=new de({feature:Q,nSettings:Q,settingTable:new he(q,new te(Ki,"nSettings"),{type:"parent"}),featureFlags:new ie(F,[null,null,null,null,null,null,"hasDefault","exclusive"]),defaultSetting:F,nameIndex:Y,name:e=>e.parent.parent.name.records.fontFeatures[e.nameIndex]});var Xi=new de({version:Z,featureNameCount:Q,reserved1:new se(Q),reserved2:new se(q),featureNames:new te(Ji,"featureNameCount")});let Zi=new de({axisTag:new le(4),minValue:Z,defaultValue:Z,maxValue:Z,flags:Q,nameID:Q,name:e=>e.parent.parent.name.records.fontFeatures[e.nameID]}),$i=new de({nameID:Q,name:e=>e.parent.parent.name.records.fontFeatures[e.nameID],flags:Q,coord:new te(Z,(e=>e.parent.axisCount)),postscriptNameID:new ae(Q,(e=>e.parent.instanceSize-e._currentOffset>0))});var eo=new de({version:Z,offsetToData:Q,countSizePairs:Q,axisCount:Q,axisSize:Q,instanceCount:Q,instanceSize:Q,axis:new te(Zi,"axisCount"),instance:new te($i,"instanceCount")});let to=new J(16,"BE",14);let no=new de({version:Q,reserved:new se(Q),axisCount:Q,globalCoordCount:Q,globalCoords:new he(q,new te(new te(to,"axisCount"),"globalCoordCount")),glyphCount:Q,flags:Q,offsetToData:q,offsets:new te(new he(class{static decode(e,t){return t.flags?e.readUInt32BE():2*e.readUInt16BE()}},"void",{relativeTo:e=>e.offsetToData,allowNull:!1}),(e=>e.glyphCount+1))});var ro=no;let io=new de({length:Q,coverage:Q,subFeatureFlags:q,stateTable:new function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=new de({version:()=>8,firstGlyph:Q,values:new te(F,Q)}),n=Object.assign({newStateOffset:Q,newState:e=>(e.newStateOffset-(e.parent.stateArray.base-e.parent._startOffset))/e.parent.nClasses,flags:Q},e),r=new de(n),i=new Gi(new te(F,(e=>e.nClasses)));return new de({nClasses:Q,classTable:new he(Q,t),stateArray:new he(Q,i),entryTable:new he(Q,new Gi(r))})}}),oo=new de({justClass:q,beforeGrowLimit:Z,beforeShrinkLimit:Z,afterGrowLimit:Z,afterShrinkLimit:Z,growFlags:Q,shrinkFlags:Q}),ao=new te(oo,q),so=new pe("actionType",{0:{lowerLimit:Z,upperLimit:Z,order:Q,glyphs:new te(Q,Q)},1:{addGlyph:Q},2:{substThreshold:Z,addGlyph:Q,substGlyph:Q},3:{},4:{variationAxis:q,minimumLimit:Z,noStretchValue:Z,maximumLimit:Z},5:{flags:Q,glyph:Q}}),lo=new de({actionClass:Q,actionType:Q,actionLength:q,actionData:so,padding:new se(F,(e=>e.actionLength-e._currentOffset))}),co=new te(lo,q),uo=new de({lookupTable:new qi(new he(Q,co))}),po=new de({classTable:new he(Q,io,{type:"parent"}),wdcOffset:Q,postCompensationTable:new he(Q,uo,{type:"parent"}),widthDeltaClusters:new qi(new he(Q,ao,{type:"parent",relativeTo:e=>e.wdcOffset}))});var ho=new de({version:q,format:Q,horizontal:new he(Q,po),vertical:new he(Q,po)});let fo={action:Q},mo={markIndex:Q,currentIndex:Q},go={currentInsertIndex:Q,markedInsertIndex:Q},vo=new de({items:new Gi(new he(q,new qi))}),yo=new pe("type",{0:{stateTable:new Hi},1:{stateTable:new Hi(mo),substitutionTable:new he(q,vo)},2:{stateTable:new Hi(fo),ligatureActions:new he(q,new Gi(q)),components:new he(q,new Gi(Q)),ligatureList:new he(q,new Gi(Q))},4:{lookupTable:new qi},5:{stateTable:new Hi(go),insertionActions:new he(q,new Gi(Q))}}),Ao=new de({length:q,coverage:V,type:F,subFeatureFlags:q,table:yo,padding:new se(F,(e=>e.length-e._currentOffset))}),bo=new de({featureType:Q,featureSetting:Q,enableFlags:q,disableFlags:q}),wo=new de({defaultFlags:q,chainLength:q,nFeatureEntries:q,nSubtables:q,features:new te(bo,"nFeatureEntries"),subtables:new te(Ao,"nSubtables")});var xo=new de({version:Q,unused:new se(Q),nChains:q,chains:new te(wo,"nChains")});let Co=new de({left:Y,top:Y,right:Y,bottom:Y});var So=new de({version:Z,format:Q,lookupTable:new qi(Co)});let ko={};var Eo=ko;ko.cmap=dt,ko.head=pt,ko.hhea=ht,ko.hmtx=mt,ko.maxp=gt,ko.name=_t,ko["OS/2"]=Dt,ko.post=jt,ko.fpgm=Nt,ko.loca=Rt,ko.prep=Lt,ko["cvt "]=Bt,ko.glyf=Ft,ko["CFF "]=$n,ko.CFF2=$n,ko.VORG=tr,ko.EBLC=pr,ko.CBLC=ko.EBLC,ko.sbix=fr,ko.COLR=vr,ko.CPAL=Ar,ko.BASE=Or,ko.GDEF=Rr,ko.GPOS=ei,ko.GSUB=ai,ko.JSTF=hi,ko.HVAR=gi,ko.DSIG=Ai,ko.gasp=wi,ko.hdmx=Ci,ko.kern=Pi,ko.LTSH=Oi,ko.PCLT=Ti,ko.VDMX=Ni,ko.vhea=Mi,ko.vmtx=Li,ko.avar=Ui,ko.bsln=Yi,ko.feat=Xi,ko.fvar=eo,ko.gvar=ro,ko.just=ho,ko.morx=xo,ko.opbd=So;let Io=new de({tag:new le(4),checkSum:q,offset:new he(q,"void",{type:"global"}),length:q}),_o=new de({tag:new le(4),numTables:Q,searchRange:Q,entrySelector:Q,rangeShift:Q,tables:new te(Io,"numTables")});_o.process=function(){let e={};for(let t of this.tables)e[t.tag]=t;this.tables=e},_o.preEncode=function(){if(!Array.isArray(this.tables)){let e=[];for(let t in this.tables){let n=this.tables[t];n&&e.push({tag:t,checkSum:0,offset:new fe(Eo[t],n),length:Eo[t].size(n)})}this.tables=e}this.tag="true",this.numTables=this.tables.length;let e=Math.floor(Math.log(this.numTables)/Math.LN2),t=Math.pow(2,e);this.searchRange=16*t,this.entrySelector=Math.log(t)/Math.LN2,this.rangeShift=16*this.numTables-this.searchRange};var Po=_o;function Oo(e,t){let n=0,r=e.length-1;for(;n<=r;){let i=n+r>>1,o=t(e[i]);if(o<0)r=i-1;else{if(!(o>0))return i;n=i+1}}return-1}function To(e,t){let n=[];for(;e<t;)n.push(e++);return n}const Do=new TextDecoder("ascii"),jo="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Bo=new Uint8Array(256);for(let TT=0;TT<64;TT++)Bo[jo.charCodeAt(TT)]=TT;function No(e){let t=.75*e.length;"="===e[e.length-1]&&(t--,"="===e[e.length-2]&&t--);let n=new Uint8Array(t),r=0;for(let i=0,o=e.length;i<o;i+=4){let t=Bo[e.charCodeAt(i)],o=Bo[e.charCodeAt(i+1)],a=Bo[e.charCodeAt(i+2)],s=Bo[e.charCodeAt(i+3)];n[r++]=t<<2|o>>4,n[r++]=(15&o)<<4|a>>2,n[r++]=(3&a)<<6|63&s}return n}class Mo{findSubtable(e,t){for(let[n,r]of t)for(let t of e.tables)if(t.platformID===n&&t.encodingID===r)return t.table;return null}lookup(e,t){if(this.encoding)e=this.encoding.get(e)||e;else if(t){let n=this.getVariationSelector(e,t);if(n)return n}let n=this.cmap;switch(n.version){case 0:return n.codeMap.get(e)||0;case 4:{let t=0,r=n.segCount-1;for(;t<=r;){let i=t+r>>1;if(e<n.startCode.get(i))r=i-1;else{if(!(e>n.endCode.get(i))){let t,r=n.idRangeOffset.get(i);if(0===r)t=e+n.idDelta.get(i);else{let o=r/2+(e-n.startCode.get(i))-(n.segCount-i);t=n.glyphIndexArray.get(o)||0,0!==t&&(t+=n.idDelta.get(i))}return 65535&t}t=i+1}}return 0}case 8:throw new Error("TODO: cmap format 8");case 6:case 10:return n.glyphIndices.get(e-n.firstCode)||0;case 12:case 13:{let t=0,r=n.nGroups-1;for(;t<=r;){let i=t+r>>1,o=n.groups.get(i);if(e<o.startCharCode)r=i-1;else{if(!(e>o.endCharCode))return 12===n.version?o.glyphID+(e-o.startCharCode):o.glyphID;t=i+1}}return 0}case 14:throw new Error("TODO: cmap format 14");default:throw new Error(`Unknown cmap format ${n.version}`)}}getVariationSelector(e,t){if(!this.uvs)return 0;let n=this.uvs.varSelectors.toArray(),r=Oo(n,(e=>t-e.varSelector)),i=n[r];return-1!==r&&i.defaultUVS&&(r=Oo(i.defaultUVS,(t=>e<t.startUnicodeValue?-1:e>t.startUnicodeValue+t.additionalCount?1:0))),-1!==r&&i.nonDefaultUVS&&(r=Oo(i.nonDefaultUVS,(t=>e-t.unicodeValue)),-1!==r)?i.nonDefaultUVS[r].glyphID:0}getCharacterSet(){let e=this.cmap;switch(e.version){case 0:return To(0,e.codeMap.length);case 4:{let t=[],n=e.endCode.toArray();for(let r=0;r<n.length;r++){let i=n[r]+1,o=e.startCode.get(r);t.push(...To(o,i))}return t}case 8:throw new Error("TODO: cmap format 8");case 6:case 10:return To(e.firstCode,e.firstCode+e.glyphIndices.length);case 12:case 13:{let t=[];for(let n of e.groups.toArray())t.push(...To(n.startCharCode,n.endCharCode+1));return t}case 14:throw new Error("TODO: cmap format 14");default:throw new Error(`Unknown cmap format ${e.version}`)}}codePointsForGlyph(e){let t=this.cmap;switch(t.version){case 0:{let n=[];for(let r=0;r<256;r++)t.codeMap.get(r)===e&&n.push(r);return n}case 4:{let r=[];for(let i=0;i<t.segCount;i++){let o=t.endCode.get(i),a=t.startCode.get(i),s=t.idRangeOffset.get(i),l=t.idDelta.get(i);for(var n=a;n<=o;n++){let o=0;if(0===s)o=n+l;else{let e=s/2+(n-a)-(t.segCount-i);o=t.glyphIndexArray.get(e)||0,0!==o&&(o+=l)}o===e&&r.push(n)}}return r}case 12:{let n=[];for(let r of t.groups.toArray())e>=r.glyphID&&e<=r.glyphID+(r.endCharCode-r.startCharCode)&&n.push(r.startCharCode+(e-r.glyphID));return n}case 13:{let n=[];for(let r of t.groups.toArray())e===r.glyphID&&n.push(...To(r.startCharCode,r.endCharCode+1));return n}default:throw new Error(`Unknown cmap format ${t.version}`)}}constructor(e){if(this.encoding=null,this.cmap=this.findSubtable(e,[[3,10],[0,6],[0,4],[3,1],[0,3],[0,2],[0,1],[0,0]]),!this.cmap)for(let t of e.tables){let e=wt(vt(t.platformID,t.encodingID,t.table.language-1));e&&(this.cmap=t.table,this.encoding=e)}if(!this.cmap)throw new Error("Could not find a supported cmap table");this.uvs=this.findSubtable(e,[[0,5]]),this.uvs&&14!==this.uvs.version&&(this.uvs=null)}}ge([tt],Mo.prototype,"getCharacterSet",null),ge([tt],Mo.prototype,"codePointsForGlyph",null);class Ro{process(e,t){for(let n=0;n<e.length-1;n++){let r=e[n].id,i=e[n+1].id;t[n].xAdvance+=this.getKerning(r,i)}}getKerning(e,t){let n=0;for(let r of this.kern.tables){if(r.coverage.crossStream)continue;switch(r.version){case 0:if(!r.coverage.horizontal)continue;break;case 1:if(r.coverage.vertical||r.coverage.variation)continue;break;default:throw new Error(`Unsupported kerning table version ${r.version}`)}let i=0,o=r.subtable;switch(r.format){case 0:let n=Oo(o.pairs,(function(n){return e-n.left||t-n.right}));n>=0&&(i=o.pairs[n].value);break;case 2:let a=0,s=0;a=e>=o.leftTable.firstGlyph&&e<o.leftTable.firstGlyph+o.leftTable.nGlyphs?o.leftTable.offsets[e-o.leftTable.firstGlyph]:o.array.off,t>=o.rightTable.firstGlyph&&t<o.rightTable.firstGlyph+o.rightTable.nGlyphs&&(s=o.rightTable.offsets[t-o.rightTable.firstGlyph]);let l=(a+s-o.array.off)/2;i=o.array.values.get(l);break;case 3:if(e>=o.glyphCount||t>=o.glyphCount)return 0;i=o.kernValue[o.kernIndex[o.leftClass[e]*o.rightClassCount+o.rightClass[t]]];break;default:throw new Error(`Unsupported kerning sub-table format ${r.format}`)}r.coverage.override?n=i:n+=i}return n}constructor(e){this.kern=e.kern}}class Lo{positionGlyphs(e,t){let n=0,r=0;for(let i=0;i<e.length;i++){e[i].isMark?r=i:(n!==r&&this.positionCluster(e,t,n,r),n=r=i)}return n!==r&&this.positionCluster(e,t,n,r),t}positionCluster(e,t,n,r){let i=e[n],o=i.cbox.copy();i.codePoints.length>1&&(o.minX+=(i.codePoints.length-1)*o.width/i.codePoints.length);let a=-t[n].xAdvance,s=0,l=this.font.unitsPerEm/16;for(let c=n+1;c<=r;c++){let n=e[c],r=n.cbox,i=t[c],u=this.getCombiningClass(n.codePoints[0]);if("Not_Reordered"!==u){switch(i.xOffset=i.yOffset=0,u){case"Double_Above":case"Double_Below":i.xOffset+=o.minX-r.width/2-r.minX;break;case"Attached_Below_Left":case"Below_Left":case"Above_Left":i.xOffset+=o.minX-r.minX;break;case"Attached_Above_Right":case"Below_Right":case"Above_Right":i.xOffset+=o.maxX-r.width-r.minX;break;default:i.xOffset+=o.minX+(o.width-r.width)/2-r.minX}switch(u){case"Double_Below":case"Below_Left":case"Below":case"Below_Right":case"Attached_Below_Left":case"Attached_Below":"Attached_Below_Left"!==u&&"Attached_Below"!==u||(o.minY+=l),i.yOffset=-o.minY-r.maxY,o.minY+=r.height;break;case"Double_Above":case"Above_Left":case"Above":case"Above_Right":case"Attached_Above":case"Attached_Above_Right":"Attached_Above"!==u&&"Attached_Above_Right"!==u||(o.maxY+=l),i.yOffset=o.maxY-r.minY,o.maxY+=r.height}i.xAdvance=i.yAdvance=0,i.xOffset+=a,i.yOffset+=s}else a-=i.xAdvance,s-=i.yAdvance}}getCombiningClass(e){let t=Re(e);if(3584===(-256&e))if("Not_Reordered"===t)switch(e){case 3633:case 3636:case 3637:case 3638:case 3639:case 3655:case 3660:case 3645:case 3662:return"Above_Right";case 3761:case 3764:case 3765:case 3766:case 3767:case 3771:case 3788:case 3789:return"Above";case 3772:return"Below"}else if(3642===e)return"Below_Right";switch(t){case"CCC10":case"CCC11":case"CCC12":case"CCC13":case"CCC14":case"CCC15":case"CCC16":case"CCC17":case"CCC18":case"CCC20":case"CCC22":case"CCC29":case"CCC32":case"CCC118":case"CCC129":case"CCC132":return"Below";case"CCC23":return"Attached_Above";case"CCC24":case"CCC107":return"Above_Right";case"CCC25":case"CCC19":return"Above_Left";case"CCC26":case"CCC27":case"CCC28":case"CCC30":case"CCC31":case"CCC33":case"CCC34":case"CCC35":case"CCC36":case"CCC122":case"CCC130":return"Above";case"CCC21":break;case"CCC103":return"Below_Right"}return t}constructor(e){this.font=e}}class Fo{get width(){return this.maxX-this.minX}get height(){return this.maxY-this.minY}addPoint(e,t){Math.abs(e)!==1/0&&(e<this.minX&&(this.minX=e),e>this.maxX&&(this.maxX=e)),Math.abs(t)!==1/0&&(t<this.minY&&(this.minY=t),t>this.maxY&&(this.maxY=t))}copy(){return new Fo(this.minX,this.minY,this.maxX,this.maxY)}constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1/0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1/0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:-1/0,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:-1/0;this.minX=e,this.minY=t,this.maxX=n,this.maxY=r}}const zo={Caucasian_Albanian:"aghb",Arabic:"arab",Imperial_Aramaic:"armi",Armenian:"armn",Avestan:"avst",Balinese:"bali",Bamum:"bamu",Bassa_Vah:"bass",Batak:"batk",Bengali:["bng2","beng"],Bopomofo:"bopo",Brahmi:"brah",Braille:"brai",Buginese:"bugi",Buhid:"buhd",Chakma:"cakm",Canadian_Aboriginal:"cans",Carian:"cari",Cham:"cham",Cherokee:"cher",Coptic:"copt",Cypriot:"cprt",Cyrillic:"cyrl",Devanagari:["dev2","deva"],Deseret:"dsrt",Duployan:"dupl",Egyptian_Hieroglyphs:"egyp",Elbasan:"elba",Ethiopic:"ethi",Georgian:"geor",Glagolitic:"glag",Gothic:"goth",Grantha:"gran",Greek:"grek",Gujarati:["gjr2","gujr"],Gurmukhi:["gur2","guru"],Hangul:"hang",Han:"hani",Hanunoo:"hano",Hebrew:"hebr",Hiragana:"hira",Pahawh_Hmong:"hmng",Katakana_Or_Hiragana:"hrkt",Old_Italic:"ital",Javanese:"java",Kayah_Li:"kali",Katakana:"kana",Kharoshthi:"khar",Khmer:"khmr",Khojki:"khoj",Kannada:["knd2","knda"],Kaithi:"kthi",Tai_Tham:"lana",Lao:"lao ",Latin:"latn",Lepcha:"lepc",Limbu:"limb",Linear_A:"lina",Linear_B:"linb",Lisu:"lisu",Lycian:"lyci",Lydian:"lydi",Mahajani:"mahj",Mandaic:"mand",Manichaean:"mani",Mende_Kikakui:"mend",Meroitic_Cursive:"merc",Meroitic_Hieroglyphs:"mero",Malayalam:["mlm2","mlym"],Modi:"modi",Mongolian:"mong",Mro:"mroo",Meetei_Mayek:"mtei",Myanmar:["mym2","mymr"],Old_North_Arabian:"narb",Nabataean:"nbat",Nko:"nko ",Ogham:"ogam",Ol_Chiki:"olck",Old_Turkic:"orkh",Oriya:["ory2","orya"],Osmanya:"osma",Palmyrene:"palm",Pau_Cin_Hau:"pauc",Old_Permic:"perm",Phags_Pa:"phag",Inscriptional_Pahlavi:"phli",Psalter_Pahlavi:"phlp",Phoenician:"phnx",Miao:"plrd",Inscriptional_Parthian:"prti",Rejang:"rjng",Runic:"runr",Samaritan:"samr",Old_South_Arabian:"sarb",Saurashtra:"saur",Shavian:"shaw",Sharada:"shrd",Siddham:"sidd",Khudawadi:"sind",Sinhala:"sinh",Sora_Sompeng:"sora",Sundanese:"sund",Syloti_Nagri:"sylo",Syriac:"syrc",Tagbanwa:"tagb",Takri:"takr",Tai_Le:"tale",New_Tai_Lue:"talu",Tamil:["tml2","taml"],Tai_Viet:"tavt",Telugu:["tel2","telu"],Tifinagh:"tfng",Tagalog:"tglg",Thaana:"thaa",Thai:"thai",Tibetan:"tibt",Tirhuta:"tirh",Ugaritic:"ugar",Vai:"vai ",Warang_Citi:"wara",Old_Persian:"xpeo",Cuneiform:"xsux",Yi:"yi  ",Inherited:"zinh",Common:"zyyy",Unknown:"zzzz"},Qo={};for(let TT in zo){let e=zo[TT];if(Array.isArray(e))for(let t of e)Qo[t]=TT;else Qo[e]=TT}const Uo={arab:!0,hebr:!0,syrc:!0,thaa:!0,cprt:!0,khar:!0,phnx:!0,"nko ":!0,lydi:!0,avst:!0,armi:!0,phli:!0,prti:!0,sarb:!0,orkh:!0,samr:!0,mand:!0,merc:!0,mero:!0,mani:!0,mend:!0,nbat:!0,narb:!0,palm:!0,phlp:!0};function Vo(e){return Uo[e]?"rtl":"ltr"}class Go{get advanceWidth(){let e=0;for(let t of this.positions)e+=t.xAdvance;return e}get advanceHeight(){let e=0;for(let t of this.positions)e+=t.yAdvance;return e}get bbox(){let e=new Fo,t=0,n=0;for(let r=0;r<this.glyphs.length;r++){let i=this.glyphs[r],o=this.positions[r],a=i.bbox;e.addPoint(a.minX+t+o.xOffset,a.minY+n+o.yOffset),e.addPoint(a.maxX+t+o.xOffset,a.maxY+n+o.yOffset),t+=o.xAdvance,n+=o.yAdvance}return e}constructor(e,t,n,r,i){if(this.glyphs=e,this.positions=null,this.script=n,this.language=r||null,this.direction=i||Vo(n),this.features={},Array.isArray(t))for(let o of t)this.features[o]=!0;else"object"===typeof t&&(this.features=t)}}class qo{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;this.xAdvance=e,this.yAdvance=t,this.xOffset=n,this.yOffset=r}}const Ho={allTypographicFeatures:{code:0,exclusive:!1,allTypeFeatures:0},ligatures:{code:1,exclusive:!1,requiredLigatures:0,commonLigatures:2,rareLigatures:4,rebusPictures:8,diphthongLigatures:10,squaredLigatures:12,abbrevSquaredLigatures:14,symbolLigatures:16,contextualLigatures:18,historicalLigatures:20},cursiveConnection:{code:2,exclusive:!0,unconnected:0,partiallyConnected:1,cursive:2},letterCase:{code:3,exclusive:!0},verticalSubstitution:{code:4,exclusive:!1,substituteVerticalForms:0},linguisticRearrangement:{code:5,exclusive:!1,linguisticRearrangement:0},numberSpacing:{code:6,exclusive:!0,monospacedNumbers:0,proportionalNumbers:1,thirdWidthNumbers:2,quarterWidthNumbers:3},smartSwash:{code:8,exclusive:!1,wordInitialSwashes:0,wordFinalSwashes:2,nonFinalSwashes:8},diacritics:{code:9,exclusive:!0,showDiacritics:0,hideDiacritics:1,decomposeDiacritics:2},verticalPosition:{code:10,exclusive:!0,normalPosition:0,superiors:1,inferiors:2,ordinals:3,scientificInferiors:4},fractions:{code:11,exclusive:!0,noFractions:0,verticalFractions:1,diagonalFractions:2},overlappingCharacters:{code:13,exclusive:!1,preventOverlap:0},typographicExtras:{code:14,exclusive:!1,slashedZero:4},mathematicalExtras:{code:15,exclusive:!1,mathematicalGreek:10},ornamentSets:{code:16,exclusive:!0,noOrnaments:0,dingbats:1,piCharacters:2,fleurons:3,decorativeBorders:4,internationalSymbols:5,mathSymbols:6},characterAlternatives:{code:17,exclusive:!0,noAlternates:0},designComplexity:{code:18,exclusive:!0,designLevel1:0,designLevel2:1,designLevel3:2,designLevel4:3,designLevel5:4},styleOptions:{code:19,exclusive:!0,noStyleOptions:0,displayText:1,engravedText:2,illuminatedCaps:3,titlingCaps:4,tallCaps:5},characterShape:{code:20,exclusive:!0,traditionalCharacters:0,simplifiedCharacters:1,JIS1978Characters:2,JIS1983Characters:3,JIS1990Characters:4,traditionalAltOne:5,traditionalAltTwo:6,traditionalAltThree:7,traditionalAltFour:8,traditionalAltFive:9,expertCharacters:10,JIS2004Characters:11,hojoCharacters:12,NLCCharacters:13,traditionalNamesCharacters:14},numberCase:{code:21,exclusive:!0,lowerCaseNumbers:0,upperCaseNumbers:1},textSpacing:{code:22,exclusive:!0,proportionalText:0,monospacedText:1,halfWidthText:2,thirdWidthText:3,quarterWidthText:4,altProportionalText:5,altHalfWidthText:6},transliteration:{code:23,exclusive:!0,noTransliteration:0},annotation:{code:24,exclusive:!0,noAnnotation:0,boxAnnotation:1,roundedBoxAnnotation:2,circleAnnotation:3,invertedCircleAnnotation:4,parenthesisAnnotation:5,periodAnnotation:6,romanNumeralAnnotation:7,diamondAnnotation:8,invertedBoxAnnotation:9,invertedRoundedBoxAnnotation:10},kanaSpacing:{code:25,exclusive:!0,fullWidthKana:0,proportionalKana:1},ideographicSpacing:{code:26,exclusive:!0,fullWidthIdeographs:0,proportionalIdeographs:1,halfWidthIdeographs:2},unicodeDecomposition:{code:27,exclusive:!1,canonicalComposition:0,compatibilityComposition:2,transcodingComposition:4},rubyKana:{code:28,exclusive:!1,rubyKana:2},CJKSymbolAlternatives:{code:29,exclusive:!0,noCJKSymbolAlternatives:0,CJKSymbolAltOne:1,CJKSymbolAltTwo:2,CJKSymbolAltThree:3,CJKSymbolAltFour:4,CJKSymbolAltFive:5},ideographicAlternatives:{code:30,exclusive:!0,noIdeographicAlternatives:0,ideographicAltOne:1,ideographicAltTwo:2,ideographicAltThree:3,ideographicAltFour:4,ideographicAltFive:5},CJKVerticalRomanPlacement:{code:31,exclusive:!0,CJKVerticalRomanCentered:0,CJKVerticalRomanHBaseline:1},italicCJKRoman:{code:32,exclusive:!1,CJKItalicRoman:2},caseSensitiveLayout:{code:33,exclusive:!1,caseSensitiveLayout:0,caseSensitiveSpacing:2},alternateKana:{code:34,exclusive:!1,alternateHorizKana:0,alternateVertKana:2},stylisticAlternatives:{code:35,exclusive:!1,noStylisticAlternates:0,stylisticAltOne:2,stylisticAltTwo:4,stylisticAltThree:6,stylisticAltFour:8,stylisticAltFive:10,stylisticAltSix:12,stylisticAltSeven:14,stylisticAltEight:16,stylisticAltNine:18,stylisticAltTen:20,stylisticAltEleven:22,stylisticAltTwelve:24,stylisticAltThirteen:26,stylisticAltFourteen:28,stylisticAltFifteen:30,stylisticAltSixteen:32,stylisticAltSeventeen:34,stylisticAltEighteen:36,stylisticAltNineteen:38,stylisticAltTwenty:40},contextualAlternates:{code:36,exclusive:!1,contextualAlternates:0,swashAlternates:2,contextualSwashAlternates:4},lowerCase:{code:37,exclusive:!0,defaultLowerCase:0,lowerCaseSmallCaps:1,lowerCasePetiteCaps:2},upperCase:{code:38,exclusive:!0,defaultUpperCase:0,upperCaseSmallCaps:1,upperCasePetiteCaps:2},languageTag:{code:39,exclusive:!0},CJKRomanSpacing:{code:103,exclusive:!0,halfWidthCJKRoman:0,proportionalCJKRoman:1,defaultCJKRoman:2,fullWidthCJKRoman:3}},Wo=(e,t)=>[Ho[e].code,Ho[e][t]],Yo={rlig:Wo("ligatures","requiredLigatures"),clig:Wo("ligatures","contextualLigatures"),dlig:Wo("ligatures","rareLigatures"),hlig:Wo("ligatures","historicalLigatures"),liga:Wo("ligatures","commonLigatures"),hist:Wo("ligatures","historicalLigatures"),smcp:Wo("lowerCase","lowerCaseSmallCaps"),pcap:Wo("lowerCase","lowerCasePetiteCaps"),frac:Wo("fractions","diagonalFractions"),dnom:Wo("fractions","diagonalFractions"),numr:Wo("fractions","diagonalFractions"),afrc:Wo("fractions","verticalFractions"),case:Wo("caseSensitiveLayout","caseSensitiveLayout"),ccmp:Wo("unicodeDecomposition","canonicalComposition"),cpct:Wo("CJKVerticalRomanPlacement","CJKVerticalRomanCentered"),valt:Wo("CJKVerticalRomanPlacement","CJKVerticalRomanCentered"),swsh:Wo("contextualAlternates","swashAlternates"),cswh:Wo("contextualAlternates","contextualSwashAlternates"),curs:Wo("cursiveConnection","cursive"),c2pc:Wo("upperCase","upperCasePetiteCaps"),c2sc:Wo("upperCase","upperCaseSmallCaps"),init:Wo("smartSwash","wordInitialSwashes"),fin2:Wo("smartSwash","wordFinalSwashes"),medi:Wo("smartSwash","nonFinalSwashes"),med2:Wo("smartSwash","nonFinalSwashes"),fin3:Wo("smartSwash","wordFinalSwashes"),fina:Wo("smartSwash","wordFinalSwashes"),pkna:Wo("kanaSpacing","proportionalKana"),half:Wo("textSpacing","halfWidthText"),halt:Wo("textSpacing","altHalfWidthText"),hkna:Wo("alternateKana","alternateHorizKana"),vkna:Wo("alternateKana","alternateVertKana"),ital:Wo("italicCJKRoman","CJKItalicRoman"),lnum:Wo("numberCase","upperCaseNumbers"),onum:Wo("numberCase","lowerCaseNumbers"),mgrk:Wo("mathematicalExtras","mathematicalGreek"),calt:Wo("contextualAlternates","contextualAlternates"),vrt2:Wo("verticalSubstitution","substituteVerticalForms"),vert:Wo("verticalSubstitution","substituteVerticalForms"),tnum:Wo("numberSpacing","monospacedNumbers"),pnum:Wo("numberSpacing","proportionalNumbers"),sups:Wo("verticalPosition","superiors"),subs:Wo("verticalPosition","inferiors"),ordn:Wo("verticalPosition","ordinals"),pwid:Wo("textSpacing","proportionalText"),hwid:Wo("textSpacing","halfWidthText"),qwid:Wo("textSpacing","quarterWidthText"),twid:Wo("textSpacing","thirdWidthText"),fwid:Wo("textSpacing","proportionalText"),palt:Wo("textSpacing","altProportionalText"),trad:Wo("characterShape","traditionalCharacters"),smpl:Wo("characterShape","simplifiedCharacters"),jp78:Wo("characterShape","JIS1978Characters"),jp83:Wo("characterShape","JIS1983Characters"),jp90:Wo("characterShape","JIS1990Characters"),jp04:Wo("characterShape","JIS2004Characters"),expt:Wo("characterShape","expertCharacters"),hojo:Wo("characterShape","hojoCharacters"),nlck:Wo("characterShape","NLCCharacters"),tnam:Wo("characterShape","traditionalNamesCharacters"),ruby:Wo("rubyKana","rubyKana"),titl:Wo("styleOptions","titlingCaps"),zero:Wo("typographicExtras","slashedZero"),ss01:Wo("stylisticAlternatives","stylisticAltOne"),ss02:Wo("stylisticAlternatives","stylisticAltTwo"),ss03:Wo("stylisticAlternatives","stylisticAltThree"),ss04:Wo("stylisticAlternatives","stylisticAltFour"),ss05:Wo("stylisticAlternatives","stylisticAltFive"),ss06:Wo("stylisticAlternatives","stylisticAltSix"),ss07:Wo("stylisticAlternatives","stylisticAltSeven"),ss08:Wo("stylisticAlternatives","stylisticAltEight"),ss09:Wo("stylisticAlternatives","stylisticAltNine"),ss10:Wo("stylisticAlternatives","stylisticAltTen"),ss11:Wo("stylisticAlternatives","stylisticAltEleven"),ss12:Wo("stylisticAlternatives","stylisticAltTwelve"),ss13:Wo("stylisticAlternatives","stylisticAltThirteen"),ss14:Wo("stylisticAlternatives","stylisticAltFourteen"),ss15:Wo("stylisticAlternatives","stylisticAltFifteen"),ss16:Wo("stylisticAlternatives","stylisticAltSixteen"),ss17:Wo("stylisticAlternatives","stylisticAltSeventeen"),ss18:Wo("stylisticAlternatives","stylisticAltEighteen"),ss19:Wo("stylisticAlternatives","stylisticAltNineteen"),ss20:Wo("stylisticAlternatives","stylisticAltTwenty")};for(let TT=1;TT<=99;TT++)Yo[`cv${`00${TT}`.slice(-2)}`]=[Ho.characterAlternatives.code,TT];let Ko={};for(let TT in Yo){let e=Yo[TT];null==Ko[e[0]]&&(Ko[e[0]]={}),Ko[e[0]][e[1]]=TT}function Jo(e){let[t,n]=e;if(isNaN(t))var r=Ho[t]&&Ho[t].code;else r=t;if(isNaN(n))var i=Ho[t]&&Ho[t][n];else i=n;return[r,i]}class Xo{lookup(e){switch(this.table.version){case 0:return this.table.values.getItem(e);case 2:case 4:{let r=0,i=this.table.binarySearchHeader.nUnits-1;for(;r<=i;){var t=r+i>>1;if(65535===(n=this.table.segments[t]).firstGlyph)return null;if(e<n.firstGlyph)i=t-1;else{if(!(e>n.lastGlyph))return 2===this.table.version?n.value:n.values[e-n.firstGlyph];r=t+1}}return null}case 6:{let r=0,i=this.table.binarySearchHeader.nUnits-1;for(;r<=i;){var n;t=r+i>>1;if(65535===(n=this.table.segments[t]).glyph)return null;if(e<n.glyph)i=t-1;else{if(!(e>n.glyph))return n.value;r=t+1}}return null}case 8:return this.table.values[e-this.table.firstGlyph];default:throw new Error(`Unknown lookup table format: ${this.table.version}`)}}glyphsForValue(e){let t=[];switch(this.table.version){case 2:case 4:for(let n of this.table.segments)if(2===this.table.version&&n.value===e)t.push(...To(n.firstGlyph,n.lastGlyph+1));else for(let r=0;r<n.values.length;r++)n.values[r]===e&&t.push(n.firstGlyph+r);break;case 6:for(let n of this.table.segments)n.value===e&&t.push(n.glyph);break;case 8:for(let n=0;n<this.table.values.length;n++)this.table.values[n]===e&&t.push(this.table.firstGlyph+n);break;default:throw new Error(`Unknown lookup table format: ${this.table.version}`)}return t}constructor(e){this.table=e}}ge([tt],Xo.prototype,"glyphsForValue",null);class Zo{process(e,t,n){let r=0,i=t?e.length-1:0,o=t?-1:1;for(;1===o&&i<=e.length||-1===o&&i>=-1;){let t=null,a=1,s=!0;i===e.length||-1===i?a=0:(t=e[i],65535===t.id?a=2:(a=this.lookupTable.lookup(t.id),null==a&&(a=1)));let l=this.stateTable.stateArray.getItem(r)[a],c=this.stateTable.entryTable.getItem(l);0!==a&&2!==a&&(n(t,c,i),s=!(16384&c.flags)),r=c.newState,s&&(i+=o)}return e}traverse(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:new Set;if(n.has(t))return;n.add(t);let{nClasses:r,stateArray:i,entryTable:o}=this.stateTable,a=i.getItem(t);for(let s=4;s<r;s++){let t=a[s],r=o.getItem(t);for(let i of this.lookupTable.glyphsForValue(s))e.enter&&e.enter(i,r),0!==r.newState&&this.traverse(e,r.newState,n),e.exit&&e.exit(i,r)}}constructor(e){this.stateTable=e,this.lookupTable=new Xo(e.classTable)}}const $o=4194304;class ea{process(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};for(let r of this.morx.chains){let n=r.defaultFlags;for(let e of r.features){let r;(r=t[e.featureType])&&(r[e.featureSetting]?(n&=e.disableFlags,n|=e.enableFlags):!1===r[e.featureSetting]&&(n|=~e.disableFlags,n&=~e.enableFlags))}for(let t of r.subtables)t.subFeatureFlags&n&&this.processSubtable(t,e)}let n=e.length-1;for(;n>=0;)65535===e[n].id&&e.splice(n,1),n--;return e}processSubtable(e,t){if(this.subtable=e,this.glyphs=t,4===this.subtable.type)return void this.processNoncontextualSubstitutions(this.subtable,this.glyphs);this.ligatureStack=[],this.markedGlyph=null,this.firstGlyph=null,this.lastGlyph=null,this.markedIndex=null;let n=this.getStateMachine(e),r=this.getProcessor(),i=!!(this.subtable.coverage&$o);return n.process(this.glyphs,i,r)}getStateMachine(e){return new Zo(e.table.stateTable)}getProcessor(){switch(this.subtable.type){case 0:return this.processIndicRearragement;case 1:return this.processContextualSubstitution;case 2:return this.processLigature;case 4:return this.processNoncontextualSubstitutions;case 5:return this.processGlyphInsertion;default:throw new Error(`Invalid morx subtable type: ${this.subtable.type}`)}}processIndicRearragement(e,t,n){32768&t.flags&&(this.firstGlyph=n),8192&t.flags&&(this.lastGlyph=n),function(e,t,n,r){switch(t){case 0:return e;case 1:return ta(e,[n,1],[r,0]);case 2:return ta(e,[n,0],[r,1]);case 3:return ta(e,[n,1],[r,1]);case 4:return ta(e,[n,2],[r,0]);case 5:return ta(e,[n,2],[r,0],!0,!1);case 6:return ta(e,[n,0],[r,2]);case 7:return ta(e,[n,0],[r,2],!1,!0);case 8:return ta(e,[n,1],[r,2]);case 9:return ta(e,[n,1],[r,2],!1,!0);case 10:return ta(e,[n,2],[r,1]);case 11:return ta(e,[n,2],[r,1],!0,!1);case 12:return ta(e,[n,2],[r,2]);case 13:return ta(e,[n,2],[r,2],!0,!1);case 14:return ta(e,[n,2],[r,2],!1,!0);case 15:return ta(e,[n,2],[r,2],!0,!0);default:throw new Error(`Unknown verb: ${t}`)}}(this.glyphs,15&t.flags,this.firstGlyph,this.lastGlyph)}processContextualSubstitution(e,t,n){let r=this.subtable.table.substitutionTable.items;if(65535!==t.markIndex){let n=r.getItem(t.markIndex),o=new Xo(n);e=this.glyphs[this.markedGlyph],(i=o.lookup(e.id))&&(this.glyphs[this.markedGlyph]=this.font.getGlyph(i,e.codePoints))}if(65535!==t.currentIndex){let o=r.getItem(t.currentIndex),a=new Xo(o);var i;e=this.glyphs[n],(i=a.lookup(e.id))&&(this.glyphs[n]=this.font.getGlyph(i,e.codePoints))}32768&t.flags&&(this.markedGlyph=n)}processLigature(e,t,n){if(32768&t.flags&&this.ligatureStack.push(n),8192&t.flags){let e=this.subtable.table.ligatureActions,n=this.subtable.table.components,r=this.subtable.table.ligatureList,i=t.action,o=!1,a=0,s=[],l=[];for(;!o;){let t=this.ligatureStack.pop();s.unshift(...this.glyphs[t].codePoints);let c=e.getItem(i++);o=!!(2147483648&c);let u=!!(1073741824&c),d=(1073741823&c)<<2>>2;if(d+=this.glyphs[t].id,a+=n.getItem(d),o||u){let e=r.getItem(a);this.glyphs[t]=this.font.getGlyph(e,s),l.push(t),a=0,s=[]}else this.glyphs[t]=this.font.getGlyph(65535)}this.ligatureStack.push(...l)}}processNoncontextualSubstitutions(e,t,n){let r=new Xo(e.table.lookupTable);for(n=0;n<t.length;n++){let e=t[n];if(65535!==e.id){let i=r.lookup(e.id);i&&(t[n]=this.font.getGlyph(i,e.codePoints))}}}_insertGlyphs(e,t,n,r){let i=[];for(;n--;){let e=this.subtable.table.insertionActions.getItem(t++);i.push(this.font.getGlyph(e))}r||e++,this.glyphs.splice(e,0,...i)}processGlyphInsertion(e,t,n){if(32768&t.flags&&(this.markedIndex=n),65535!==t.markedInsertIndex){let e=(31&t.flags)>>>5,n=!!(1024&t.flags);this._insertGlyphs(this.markedIndex,t.markedInsertIndex,e,n)}if(65535!==t.currentInsertIndex){let e=(992&t.flags)>>>5,r=!!(2048&t.flags);this._insertGlyphs(n,t.currentInsertIndex,e,r)}}getSupportedFeatures(){let e=[];for(let t of this.morx.chains)for(let n of t.features)e.push([n.featureType,n.featureSetting]);return e}generateInputs(e){return this.inputCache||this.generateInputCache(),this.inputCache[e]||[]}generateInputCache(){this.inputCache={};for(let e of this.morx.chains){let t=e.defaultFlags;for(let n of e.subtables)n.subFeatureFlags&t&&this.generateInputsForSubtable(n)}}generateInputsForSubtable(e){if(2!==e.type)return;if(!!(e.coverage&$o))throw new Error("Reverse subtable, not supported.");this.subtable=e,this.ligatureStack=[];let t=this.getStateMachine(e),n=this.getProcessor(),r=[],i=[];this.glyphs=[],t.traverse({enter:(e,t)=>{let o=this.glyphs;i.push({glyphs:o.slice(),ligatureStack:this.ligatureStack.slice()});let a=this.font.getGlyph(e);r.push(a),o.push(r[r.length-1]),n(o[o.length-1],t,o.length-1);let s=0,l=0;for(let n=0;n<o.length&&s<=1;n++)65535!==o[n].id&&(s++,l=o[n].id);if(1===s){let e=r.map((e=>e.id)),t=this.inputCache[l];t?t.push(e):this.inputCache[l]=[e]}},exit:()=>{({glyphs:this.glyphs,ligatureStack:this.ligatureStack}=i.pop()),r.pop()}})}constructor(e){this.processIndicRearragement=this.processIndicRearragement.bind(this),this.processContextualSubstitution=this.processContextualSubstitution.bind(this),this.processLigature=this.processLigature.bind(this),this.processNoncontextualSubstitutions=this.processNoncontextualSubstitutions.bind(this),this.processGlyphInsertion=this.processGlyphInsertion.bind(this),this.font=e,this.morx=e.morx,this.inputCache=null}}function ta(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o=e.splice(n[0]-(n[1]-1),n[1]);i&&o.reverse();let a=e.splice(t[0],t[1],...o);return r&&a.reverse(),e.splice(n[0]-(t[1]-1),0,...a),e}ge([tt],ea.prototype,"getStateMachine",null);class na{substitute(e){"rtl"===e.direction&&e.glyphs.reverse(),this.morxProcessor.process(e.glyphs,function(e){let t={};for(let n in e){let r;(r=Yo[n])&&(null==t[r[0]]&&(t[r[0]]={}),t[r[0]][r[1]]=e[n])}return t}(e.features))}getAvailableFeatures(e,t){return function(e){let t={};if(Array.isArray(e))for(let n=0;n<e.length;n++){let r,i=Jo(e[n]);(r=Ko[i[0]]&&Ko[i[0]][i[1]])&&(t[r]=!0)}else if("object"===typeof e)for(let n in e){let r=e[n];for(let e in r){let i,o=Jo([n,e]);r[e]&&(i=Ko[o[0]]&&Ko[o[0]][o[1]])&&(t[i]=!0)}}return Object.keys(t)}(this.morxProcessor.getSupportedFeatures())}stringsForGlyph(e){let t=this.morxProcessor.generateInputs(e),n=new Set;for(let r of t)this._addStrings(r,0,n,"");return n}_addStrings(e,t,n,r){let i=this.font._cmapProcessor.codePointsForGlyph(e[t]);for(let o of i){let i=r+String.fromCodePoint(o);t<e.length-1?this._addStrings(e,t+1,n,i):n.add(i)}}constructor(e){this.font=e,this.morxProcessor=new ea(e),this.fallbackPosition=!1}}class ra{_addFeatures(e,t){let n=this.stages.length-1,r=this.stages[n];for(let i of e)null==this.allFeatures[i]&&(r.push(i),this.allFeatures[i]=n,t&&(this.globalFeatures[i]=!0))}add(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(0===this.stages.length&&this.stages.push([]),"string"===typeof e&&(e=[e]),Array.isArray(e))this._addFeatures(e,t);else{if("object"!==typeof e)throw new Error("Unsupported argument to ShapingPlan#add");this._addFeatures(e.global||[],!0),this._addFeatures(e.local||[],!1)}}addStage(e,t){"function"===typeof e?this.stages.push(e,[]):(this.stages.push([]),this.add(e,t))}setFeatureOverrides(e){if(Array.isArray(e))this.add(e);else if("object"===typeof e)for(let t in e)if(e[t])this.add(t);else if(null!=this.allFeatures[t]){let e=this.stages[this.allFeatures[t]];e.splice(e.indexOf(t),1),delete this.allFeatures[t],delete this.globalFeatures[t]}}assignGlobalFeatures(e){for(let t of e)for(let e in this.globalFeatures)t.features[e]=!0}process(e,t,n){for(let r of this.stages)"function"===typeof r?n||r(this.font,t,this):r.length>0&&e.applyFeatures(r,t,n)}constructor(e,t,n){this.font=e,this.script=t,this.direction=n,this.stages=[],this.globalFeatures={},this.allFeatures={}}}const ia=["rvrn"],oa=["ccmp","locl","rlig","mark","mkmk"],aa=["frac","numr","dnom"],sa=["calt","clig","liga","rclt","curs","kern"],la={ltr:["ltra","ltrm"],rtl:["rtla","rtlm"]};class ca{static plan(e,t,n){this.planPreprocessing(e),this.planFeatures(e),this.planPostprocessing(e,n),e.assignGlobalFeatures(t),this.assignFeatures(e,t)}static planPreprocessing(e){e.add({global:[...ia,...la[e.direction]],local:aa})}static planFeatures(e){}static planPostprocessing(e,t){e.add([...oa,...sa]),e.setFeatureOverrides(t)}static assignFeatures(e,t){for(let n=0;n<t.length;n++){let e=t[n];if(8260===e.codePoints[0]){let r=n,i=n+1;for(;r>0&&Fe(t[r-1].codePoints[0]);)t[r-1].features.numr=!0,t[r-1].features.frac=!0,r--;for(;i<t.length&&Fe(t[i].codePoints[0]);)t[i].features.dnom=!0,t[i].features.frac=!0,i++;e.features.frac=!0,n=i-1}}}}me(ca,"zeroMarkWidths","AFTER_GPOS");const ua=new Ae(No("APABAAAAAAAAOAAAAf0BAv7tmi1MxDAUx7vtvjhAgcDgkEgEAnmXEBIMCYaEcygEiqBQ4FAkCE4ikUgMiiBJSAgSiUQSDMn9L9eSl6bddddug9t7yS/trevre+3r27pcNxZiG+yCfdCVv/9LeQxOwRm4AJegD27ALbgD9+ABPJF+z+BN/h7yDj5k/VOWX6SdmU5+wLWknggxDxaS8u0qiiX4uiz9XamQ3wzDMAzDMAzDMAzDVI/h959V/v7BMAzDMAzDMLlyNTNiMSdewVxbiA44B4/guz1qW58VYlMI0WsJ0W+N6kXw0spvPtdwhtkwnGM6uLaV4Xyzg3v3PM9DPfQ/sOg4xPWjipy31P8LTqbU304c/cLCUmWJLNB2Uz2U1KTeRKNmKHVMfbJC+/0loTZRH/W5cvEvBJPMbREkWt3FD1NcqXZBSpuE2Ad0PBehPtNrPtIEdYP+hiRt/V1jIiE69X4NT/uVZI3PUHE9bm5M7ePGdZWy951v7Nn6j8v1WWKP3mt6ttnsigx6VN7Vc0VomSSGqW2mGNP1muZPl7LfjNUaKNFtDGVf2fvE9O7VlBS5j333c5p/eeoOqcs1R/hIqDWLJ7TTlksirVT1SI7l8k4Yp+g3jafGcrU1RM6l9th80XOpnlN97bDNY4i4s61B0Si/ipa0uHMl6zqEjlFfCZm/TM8KmzQDjmuTAQ==")),da=["isol","fina","fin2","fin3","medi","med2","init"],pa=0,ha=6,fa="isol",ma="fina",ga="fin2",va="medi",ya="med2",Aa="init",ba=null,wa=[[[ba,ba,0],[ba,fa,2],[ba,fa,1],[ba,fa,2],[ba,fa,1],[ba,fa,6]],[[ba,ba,0],[ba,fa,2],[ba,fa,1],[ba,fa,2],[ba,ga,5],[ba,fa,6]],[[ba,ba,0],[ba,fa,2],[Aa,ma,1],[Aa,ma,3],[Aa,ma,4],[Aa,ma,6]],[[ba,ba,0],[ba,fa,2],[va,ma,1],[va,ma,3],[va,ma,4],[va,ma,6]],[[ba,ba,0],[ba,fa,2],[ya,fa,1],[ya,fa,2],[ya,ga,5],[ya,fa,6]],[[ba,ba,0],[ba,fa,2],[fa,fa,1],[fa,fa,2],[fa,ga,5],[fa,fa,6]],[[ba,ba,0],[ba,fa,2],[ba,fa,1],[ba,fa,2],[ba,"fin3",5],[ba,fa,6]]];class xa extends ca{static planFeatures(e){e.add(["ccmp","locl"]);for(let t=0;t<da.length;t++){let n=da[t];e.addStage(n,!1)}e.addStage("mset")}static assignFeatures(e,t){super.assignFeatures(e,t);let n=-1,r=0,i=[];for(let a=0;a<t.length;a++){let e,s;let l=Ca((o=t[a]).codePoints[0]);l!==ha?([s,e,r]=wa[r][l],s!==ba&&-1!==n&&(i[n]=s),i[a]=e,n=a):i[a]=ba}for(let a=0;a<t.length;a++){let e;var o=t[a];(e=i[a])&&(o.features[e]=!0)}}}function Ca(e){let t=ua.get(e);if(t)return t-1;let n=Me(e);return"Mn"===n||"Me"===n||"Cf"===n?ha:pa}class Sa{reset(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;this.options=e,this.flags=e.flags||{},this.markAttachmentType=e.markAttachmentType||0,this.index=t}get cur(){return this.glyphs[this.index]||null}shouldIgnore(e){return this.flags.ignoreMarks&&e.isMark||this.flags.ignoreBaseGlyphs&&e.isBase||this.flags.ignoreLigatures&&e.isLigature||this.markAttachmentType&&e.isMark&&e.markAttachmentType!==this.markAttachmentType}move(e){for(this.index+=e;0<=this.index&&this.index<this.glyphs.length&&this.shouldIgnore(this.glyphs[this.index]);)this.index+=e;return 0>this.index||this.index>=this.glyphs.length?null:this.glyphs[this.index]}next(){return this.move(1)}prev(){return this.move(-1)}peek(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=this.index,n=this.increment(e);return this.index=t,n}peekIndex(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=this.index;this.increment(e);let n=this.index;return this.index=t,n}increment(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=e<0?-1:1;for(e=Math.abs(e);e--;)this.move(t);return this.glyphs[this.index]}constructor(e,t){this.glyphs=e,this.reset(t)}}const ka=["DFLT","dflt","latn"];class Ea{findScript(e){if(null==this.table.scriptList)return null;Array.isArray(e)||(e=[e]);for(let t of e)for(let e of this.table.scriptList)if(e.tag===t)return e;return null}selectScript(e,t,n){let r,i=!1;if(!this.script||e!==this.scriptTag){if(r=this.findScript(e),r||(r=this.findScript(ka)),!r)return this.scriptTag;this.scriptTag=r.tag,this.script=r.script,this.language=null,this.languageTag=null,i=!0}if(n&&n===this.direction||(this.direction=n||Vo(e)),t&&t.length<4&&(t+=" ".repeat(4-t.length)),!t||t!==this.languageTag){this.language=null;for(let e of this.script.langSysRecords)if(e.tag===t){this.language=e.langSys,this.languageTag=e.tag;break}this.language||(this.language=this.script.defaultLangSys,this.languageTag=null),i=!0}if(i&&(this.features={},this.language))for(let o of this.language.featureIndexes){let e=this.table.featureList[o],t=this.substituteFeatureForVariations(o);this.features[e.tag]=t||e.feature}return this.scriptTag}lookupsForFeatures(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0,n=[];for(let r of e){let e=this.features[r];if(e)for(let i of e.lookupListIndexes)t&&-1!==t.indexOf(i)||n.push({feature:r,index:i,lookup:this.table.lookupList.get(i)})}return n.sort(((e,t)=>e.index-t.index)),n}substituteFeatureForVariations(e){if(-1===this.variationsIndex)return null;let t=this.table.featureVariations.featureVariationRecords[this.variationsIndex].featureTableSubstitution.substitutions;for(let n of t)if(n.featureIndex===e)return n.alternateFeatureTable;return null}findVariationsIndex(e){let t=this.table.featureVariations;if(!t)return-1;let n=t.featureVariationRecords;for(let r=0;r<n.length;r++){let t=n[r].conditionSet.conditionTable;if(this.variationConditionsMatch(t,e))return r}return-1}variationConditionsMatch(e,t){return e.every((e=>{let n=e.axisIndex<t.length?t[e.axisIndex]:0;return e.filterRangeMinValue<=n&&n<=e.filterRangeMaxValue}))}applyFeatures(e,t,n){let r=this.lookupsForFeatures(e);this.applyLookups(r,t,n)}applyLookups(e,t,n){this.glyphs=t,this.positions=n,this.glyphIterator=new Sa(t);for(let{feature:r,lookup:i}of e)for(this.currentFeature=r,this.glyphIterator.reset(i.flags);this.glyphIterator.index<t.length;)if(r in this.glyphIterator.cur.features){for(let e of i.subTables){if(this.applyLookup(i.lookupType,e))break}this.glyphIterator.next()}else this.glyphIterator.next()}applyLookup(e,t){throw new Error("applyLookup must be implemented by subclasses")}applyLookupList(e){let t=this.glyphIterator.options,n=this.glyphIterator.index;for(let r of e){this.glyphIterator.reset(t,n),this.glyphIterator.increment(r.sequenceIndex);let e=this.table.lookupList.get(r.lookupListIndex);this.glyphIterator.reset(e.flags,this.glyphIterator.index);for(let t of e.subTables)if(this.applyLookup(e.lookupType,t))break}return this.glyphIterator.reset(t,n),!0}coverageIndex(e,t){switch(null==t&&(t=this.glyphIterator.cur.id),e.version){case 1:return e.glyphs.indexOf(t);case 2:for(let n of e.rangeRecords)if(n.start<=t&&t<=n.end)return n.startCoverageIndex+t-n.start}return-1}match(e,t,n,r){let i=this.glyphIterator.index,o=this.glyphIterator.increment(e),a=0;for(;a<t.length&&o&&n(t[a],o);)r&&r.push(this.glyphIterator.index),a++,o=this.glyphIterator.next();return this.glyphIterator.index=i,!(a<t.length)&&(r||!0)}sequenceMatches(e,t){return this.match(e,t,((e,t)=>e===t.id))}sequenceMatchIndices(e,t){return this.match(e,t,((e,t)=>this.currentFeature in t.features&&e===t.id),[])}coverageSequenceMatches(e,t){return this.match(e,t,((e,t)=>this.coverageIndex(e,t.id)>=0))}getClassID(e,t){switch(t.version){case 1:let n=e-t.startGlyph;if(n>=0&&n<t.classValueArray.length)return t.classValueArray[n];break;case 2:for(let r of t.classRangeRecord)if(r.start<=e&&e<=r.end)return r.class}return 0}classSequenceMatches(e,t,n){return this.match(e,t,((e,t)=>e===this.getClassID(t.id,n)))}applyContext(e){let t,n;switch(e.version){case 1:if(t=this.coverageIndex(e.coverage),-1===t)return!1;n=e.ruleSets[t];for(let e of n)if(this.sequenceMatches(1,e.input))return this.applyLookupList(e.lookupRecords);break;case 2:if(-1===this.coverageIndex(e.coverage))return!1;if(t=this.getClassID(this.glyphIterator.cur.id,e.classDef),-1===t)return!1;n=e.classSet[t];for(let t of n)if(this.classSequenceMatches(1,t.classes,e.classDef))return this.applyLookupList(t.lookupRecords);break;case 3:if(this.coverageSequenceMatches(0,e.coverages))return this.applyLookupList(e.lookupRecords)}return!1}applyChainingContext(e){let t;switch(e.version){case 1:if(t=this.coverageIndex(e.coverage),-1===t)return!1;let n=e.chainRuleSets[t];for(let e of n)if(this.sequenceMatches(-e.backtrack.length,e.backtrack)&&this.sequenceMatches(1,e.input)&&this.sequenceMatches(1+e.input.length,e.lookahead))return this.applyLookupList(e.lookupRecords);break;case 2:if(-1===this.coverageIndex(e.coverage))return!1;t=this.getClassID(this.glyphIterator.cur.id,e.inputClassDef);let r=e.chainClassSet[t];if(!r)return!1;for(let t of r)if(this.classSequenceMatches(-t.backtrack.length,t.backtrack,e.backtrackClassDef)&&this.classSequenceMatches(1,t.input,e.inputClassDef)&&this.classSequenceMatches(1+t.input.length,t.lookahead,e.lookaheadClassDef))return this.applyLookupList(t.lookupRecords);break;case 3:if(this.coverageSequenceMatches(-e.backtrackGlyphCount,e.backtrackCoverage)&&this.coverageSequenceMatches(0,e.inputCoverage)&&this.coverageSequenceMatches(e.inputGlyphCount,e.lookaheadCoverage))return this.applyLookupList(e.lookupRecords)}return!1}constructor(e,t){this.font=e,this.table=t,this.script=null,this.scriptTag=null,this.language=null,this.languageTag=null,this.features={},this.lookups={},this.variationsIndex=e._variationProcessor?this.findVariationsIndex(e._variationProcessor.normalizedCoords):-1,this.selectScript(),this.glyphs=[],this.positions=[],this.ligatureID=1,this.currentFeature=null}}class Ia{get id(){return this._id}set id(e){this._id=e,this.substituted=!0;let t=this._font.GDEF;if(t&&t.glyphClassDef){let n=Ea.prototype.getClassID(e,t.glyphClassDef);this.isBase=1===n,this.isLigature=2===n,this.isMark=3===n,this.markAttachmentType=t.markAttachClassDef?Ea.prototype.getClassID(e,t.markAttachClassDef):0}else this.isMark=this.codePoints.length>0&&this.codePoints.every(ze),this.isBase=!this.isMark,this.isLigature=this.codePoints.length>1,this.markAttachmentType=0}copy(){return new Ia(this._font,this.id,this.codePoints,this.features)}constructor(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=arguments.length>3?arguments[3]:void 0;if(this._font=e,this.codePoints=n,this.id=t,this.features={},Array.isArray(r))for(let i=0;i<r.length;i++){let e=r[i];this.features[e]=!0}else"object"===typeof r&&Object.assign(this.features,r);this.ligatureID=null,this.ligatureComponent=null,this.isLigated=!1,this.cursiveAttachment=null,this.markAttachment=null,this.shaperInfo=null,this.substituted=!1,this.isMultiplied=!1}}class _a extends ca{static planFeatures(e){e.add(["ljmo","vjmo","tjmo"],!1)}static assignFeatures(e,t){let n=0,r=0;for(;r<t.length;){let i,o=t[r].codePoints[0],a=ns(o);switch([i,n]=ss[n][a],i){case rs:e.font.hasGlyphForCodePoint(o)||(r=cs(t,r,e.font));break;case is:r=us(t,r,e.font);break;case os:ds(t,r,e.font);break;case as:r=ps(t,r,e.font)}r++}}}me(_a,"zeroMarkWidths","NONE");const Pa=44032,Oa=55204-Pa+1,Ta=4352,Da=4449,ja=4519,Ba=21,Na=28,Ma=Ta+19-1,Ra=Da+Ba-1,La=ja+Na-1,Fa=9676,za=e=>4352<=e&&e<=4447||43360<=e&&e<=43388,Qa=e=>4448<=e&&e<=4519||55216<=e&&e<=55238,Ua=e=>4520<=e&&e<=4607||55243<=e&&e<=55291,Va=e=>12334<=e&&e<=12335,Ga=e=>Pa<=e&&e<=55204,qa=e=>e-Pa<Oa&&(e-Pa)%Na===0,Ha=e=>Ta<=e&&e<=Ma,Wa=e=>Da<=e&&e<=Ra,Ya=e=>ja+1&&1<=e&&e<=La,Ka=0,Ja=1,Xa=2,Za=3,$a=4,es=5,ts=6;function ns(e){return za(e)?Ja:Qa(e)?Xa:Ua(e)?Za:qa(e)?$a:Ga(e)?es:Va(e)?ts:Ka}const rs=1,is=2,os=4,as=5,ss=[[[0,0],[0,1],[0,0],[0,0],[rs,2],[rs,3],[as,0]],[[0,0],[0,1],[is,2],[0,0],[rs,2],[rs,3],[as,0]],[[0,0],[0,1],[0,0],[is,3],[rs,2],[rs,3],[os,0]],[[0,0],[0,1],[0,0],[0,0],[rs,2],[rs,3],[os,0]]];function ls(e,t,n){return new Ia(e,e.glyphForCodePoint(t).id,[t],n)}function cs(e,t,n){let r=e[t],i=r.codePoints[0]-Pa,o=ja+i%Na;i=i/Na|0;let a=Ta+i/Ba|0,s=Da+i%Ba;if(!n.hasGlyphForCodePoint(a)||!n.hasGlyphForCodePoint(s)||o!==ja&&!n.hasGlyphForCodePoint(o))return t;let l=ls(n,a,r.features);l.features.ljmo=!0;let c=ls(n,s,r.features);c.features.vjmo=!0;let u=[l,c];if(o>ja){let e=ls(n,o,r.features);e.features.tjmo=!0,u.push(e)}return e.splice(t,1,...u),t+u.length-1}function us(e,t,n){let r,i,o,a,s=e[t],l=ns(e[t].codePoints[0]),c=e[t-1].codePoints[0],u=ns(c);if(u===$a&&l===Za)r=c,a=s;else{l===Xa?(i=e[t-1],o=s):(i=e[t-2],o=e[t-1],a=s);let n=i.codePoints[0],c=o.codePoints[0];Ha(n)&&Wa(c)&&(r=Pa+((n-Ta)*Ba+(c-Da))*Na)}let d=a&&a.codePoints[0]||ja;if(null!=r&&(d===ja||Ya(d))){let i=r+(d-ja);if(n.hasGlyphForCodePoint(i)){let r=u===Xa?3:2;return e.splice(t-r+1,r,ls(n,i,s.features)),t-r+1}}return i&&(i.features.ljmo=!0),o&&(o.features.vjmo=!0),a&&(a.features.tjmo=!0),u===$a?(cs(e,t-1,n),t+1):t}function ds(e,t,n){let r=e[t],i=e[t].codePoints[0];if(0===n.glyphForCodePoint(i).advanceWidth)return;let o=function(e){switch(ns(e)){case $a:case es:return 1;case Xa:return 2;case Za:return 3}}(e[t-1].codePoints[0]);return e.splice(t,1),e.splice(t-o,0,r)}function ps(e,t,n){let r=e[t],i=e[t].codePoints[0];if(n.hasGlyphForCodePoint(Fa)){let o=ls(n,Fa,r.features),a=0===n.glyphForCodePoint(i).advanceWidth?t:t+1;e.splice(a,0,o),t++}return t}var hs;hs=JSON.parse('{"stateTable":[[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,2,3,4,5,6,7,8,9,0,10,11,11,12,13,14,15,16,17],[0,0,0,18,19,20,21,22,23,0,24,0,0,25,26,0,0,27,0],[0,0,0,28,29,30,31,32,33,0,34,0,0,35,36,0,0,37,0],[0,0,0,38,5,7,7,8,9,0,10,0,0,0,13,0,0,16,0],[0,39,0,0,0,40,41,0,9,0,10,0,0,0,42,0,39,0,0],[0,0,0,0,43,44,44,8,9,0,0,0,0,12,43,0,0,0,0],[0,0,0,0,43,44,44,8,9,0,0,0,0,0,43,0,0,0,0],[0,0,0,45,46,47,48,49,9,0,10,0,0,0,42,0,0,0,0],[0,0,0,0,0,50,0,0,51,0,10,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,52,0,0,0,0,0,0,0,0],[0,0,0,53,54,55,56,57,58,0,59,0,0,60,61,0,0,62,0],[0,0,0,4,5,7,7,8,9,0,10,0,0,0,13,0,0,16,0],[0,63,64,0,0,40,41,0,9,0,10,0,0,0,42,0,63,0,0],[0,2,3,4,5,6,7,8,9,0,10,11,11,12,13,0,2,16,0],[0,0,0,18,65,20,21,22,23,0,24,0,0,25,26,0,0,27,0],[0,0,0,0,66,67,67,8,9,0,10,0,0,0,68,0,0,0,0],[0,0,0,69,0,70,70,0,71,0,72,0,0,0,0,0,0,0,0],[0,0,0,73,19,74,74,22,23,0,24,0,0,0,26,0,0,27,0],[0,75,0,0,0,76,77,0,23,0,24,0,0,0,78,0,75,0,0],[0,0,0,0,79,80,80,22,23,0,0,0,0,25,79,0,0,0,0],[0,0,0,18,19,20,74,22,23,0,24,0,0,25,26,0,0,27,0],[0,0,0,81,82,83,84,85,23,0,24,0,0,0,78,0,0,0,0],[0,0,0,0,0,86,0,0,87,0,24,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,88,0,0,0,0,0,0,0,0],[0,0,0,18,19,74,74,22,23,0,24,0,0,0,26,0,0,27,0],[0,89,90,0,0,76,77,0,23,0,24,0,0,0,78,0,89,0,0],[0,0,0,0,91,92,92,22,23,0,24,0,0,0,93,0,0,0,0],[0,0,0,94,29,95,31,32,33,0,34,0,0,0,36,0,0,37,0],[0,96,0,0,0,97,98,0,33,0,34,0,0,0,99,0,96,0,0],[0,0,0,0,100,101,101,32,33,0,0,0,0,35,100,0,0,0,0],[0,0,0,0,100,101,101,32,33,0,0,0,0,0,100,0,0,0,0],[0,0,0,102,103,104,105,106,33,0,34,0,0,0,99,0,0,0,0],[0,0,0,0,0,107,0,0,108,0,34,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,109,0,0,0,0,0,0,0,0],[0,0,0,28,29,95,31,32,33,0,34,0,0,0,36,0,0,37,0],[0,110,111,0,0,97,98,0,33,0,34,0,0,0,99,0,110,0,0],[0,0,0,0,112,113,113,32,33,0,34,0,0,0,114,0,0,0,0],[0,0,0,0,5,7,7,8,9,0,10,0,0,0,13,0,0,16,0],[0,0,0,115,116,117,118,8,9,0,10,0,0,119,120,0,0,16,0],[0,0,0,0,0,121,121,0,9,0,10,0,0,0,42,0,0,0,0],[0,39,0,122,0,123,123,8,9,0,10,0,0,0,42,0,39,0,0],[0,124,64,0,0,0,0,0,0,0,0,0,0,0,0,0,124,0,0],[0,39,0,0,0,121,125,0,9,0,10,0,0,0,42,0,39,0,0],[0,0,0,0,0,126,126,8,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,46,47,48,49,9,0,10,0,0,0,42,0,0,0,0],[0,0,0,0,0,47,47,49,9,0,10,0,0,0,42,0,0,0,0],[0,0,0,0,0,127,127,49,9,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,128,127,127,49,9,0,0,0,0,0,0,0,0,0,0],[0,0,0,129,130,131,132,133,9,0,10,0,0,0,42,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,10,0,0,0,0,0,0,0,0],[0,0,0,0,0,50,0,0,0,0,10,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,134,0,0,0,0,0,0,0,0],[0,0,0,135,54,56,56,57,58,0,59,0,0,0,61,0,0,62,0],[0,136,0,0,0,137,138,0,58,0,59,0,0,0,139,0,136,0,0],[0,0,0,0,140,141,141,57,58,0,0,0,0,60,140,0,0,0,0],[0,0,0,0,140,141,141,57,58,0,0,0,0,0,140,0,0,0,0],[0,0,0,142,143,144,145,146,58,0,59,0,0,0,139,0,0,0,0],[0,0,0,0,0,147,0,0,148,0,59,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,149,0,0,0,0,0,0,0,0],[0,0,0,53,54,56,56,57,58,0,59,0,0,0,61,0,0,62,0],[0,150,151,0,0,137,138,0,58,0,59,0,0,0,139,0,150,0,0],[0,0,0,0,152,153,153,57,58,0,59,0,0,0,154,0,0,0,0],[0,0,0,155,116,156,157,8,9,0,10,0,0,158,120,0,0,16,0],[0,0,0,0,0,121,121,0,9,0,10,0,0,0,0,0,0,0,0],[0,75,3,4,5,159,160,8,161,0,162,0,11,12,163,0,75,16,0],[0,0,0,0,0,40,164,0,9,0,10,0,0,0,42,0,0,0,0],[0,0,0,0,165,44,44,8,9,0,0,0,0,0,165,0,0,0,0],[0,124,64,0,0,40,164,0,9,0,10,0,0,0,42,0,124,0,0],[0,0,0,0,0,70,70,0,71,0,72,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,71,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,166,0,0,167,0,72,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,168,0,0,0,0,0,0,0,0],[0,0,0,0,19,74,74,22,23,0,24,0,0,0,26,0,0,27,0],[0,0,0,0,79,80,80,22,23,0,0,0,0,0,79,0,0,0,0],[0,0,0,169,170,171,172,22,23,0,24,0,0,173,174,0,0,27,0],[0,0,0,0,0,175,175,0,23,0,24,0,0,0,78,0,0,0,0],[0,75,0,176,0,177,177,22,23,0,24,0,0,0,78,0,75,0,0],[0,178,90,0,0,0,0,0,0,0,0,0,0,0,0,0,178,0,0],[0,75,0,0,0,175,179,0,23,0,24,0,0,0,78,0,75,0,0],[0,0,0,0,0,180,180,22,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,82,83,84,85,23,0,24,0,0,0,78,0,0,0,0],[0,0,0,0,0,83,83,85,23,0,24,0,0,0,78,0,0,0,0],[0,0,0,0,0,181,181,85,23,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,182,181,181,85,23,0,0,0,0,0,0,0,0,0,0],[0,0,0,183,184,185,186,187,23,0,24,0,0,0,78,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,24,0,0,0,0,0,0,0,0],[0,0,0,0,0,86,0,0,0,0,24,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,188,0,0,0,0,0,0,0,0],[0,0,0,189,170,190,191,22,23,0,24,0,0,192,174,0,0,27,0],[0,0,0,0,0,175,175,0,23,0,24,0,0,0,0,0,0,0,0],[0,0,0,0,0,76,193,0,23,0,24,0,0,0,78,0,0,0,0],[0,0,0,0,194,80,80,22,23,0,0,0,0,0,194,0,0,0,0],[0,178,90,0,0,76,193,0,23,0,24,0,0,0,78,0,178,0,0],[0,0,0,0,29,95,31,32,33,0,34,0,0,0,36,0,0,37,0],[0,0,0,0,100,101,101,32,33,0,0,0,0,0,100,0,0,0,0],[0,0,0,195,196,197,198,32,33,0,34,0,0,199,200,0,0,37,0],[0,0,0,0,0,201,201,0,33,0,34,0,0,0,99,0,0,0,0],[0,96,0,202,0,203,203,32,33,0,34,0,0,0,99,0,96,0,0],[0,204,111,0,0,0,0,0,0,0,0,0,0,0,0,0,204,0,0],[0,96,0,0,0,201,205,0,33,0,34,0,0,0,99,0,96,0,0],[0,0,0,0,0,206,206,32,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,103,104,105,106,33,0,34,0,0,0,99,0,0,0,0],[0,0,0,0,0,104,104,106,33,0,34,0,0,0,99,0,0,0,0],[0,0,0,0,0,207,207,106,33,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,208,207,207,106,33,0,0,0,0,0,0,0,0,0,0],[0,0,0,209,210,211,212,213,33,0,34,0,0,0,99,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,34,0,0,0,0,0,0,0,0],[0,0,0,0,0,107,0,0,0,0,34,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,214,0,0,0,0,0,0,0,0],[0,0,0,215,196,216,217,32,33,0,34,0,0,218,200,0,0,37,0],[0,0,0,0,0,201,201,0,33,0,34,0,0,0,0,0,0,0,0],[0,0,0,0,0,97,219,0,33,0,34,0,0,0,99,0,0,0,0],[0,0,0,0,220,101,101,32,33,0,0,0,0,0,220,0,0,0,0],[0,204,111,0,0,97,219,0,33,0,34,0,0,0,99,0,204,0,0],[0,0,0,221,116,222,222,8,9,0,10,0,0,0,120,0,0,16,0],[0,223,0,0,0,40,224,0,9,0,10,0,0,0,42,0,223,0,0],[0,0,0,0,225,44,44,8,9,0,0,0,0,119,225,0,0,0,0],[0,0,0,115,116,117,222,8,9,0,10,0,0,119,120,0,0,16,0],[0,0,0,115,116,222,222,8,9,0,10,0,0,0,120,0,0,16,0],[0,226,64,0,0,40,224,0,9,0,10,0,0,0,42,0,226,0,0],[0,0,0,0,0,0,0,0,9,0,0,0,0,0,0,0,0,0,0],[0,39,0,0,0,121,121,0,9,0,10,0,0,0,42,0,39,0,0],[0,0,0,0,0,44,44,8,9,0,0,0,0,0,0,0,0,0,0],[0,0,0,227,0,228,229,0,9,0,10,0,0,230,0,0,0,0,0],[0,39,0,122,0,121,121,0,9,0,10,0,0,0,42,0,39,0,0],[0,0,0,0,0,0,0,8,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,231,231,49,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,232,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,130,131,132,133,9,0,10,0,0,0,42,0,0,0,0],[0,0,0,0,0,131,131,133,9,0,10,0,0,0,42,0,0,0,0],[0,0,0,0,0,233,233,133,9,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,234,233,233,133,9,0,0,0,0,0,0,0,0,0,0],[0,0,0,235,236,237,238,239,9,0,10,0,0,0,42,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,54,56,56,57,58,0,59,0,0,0,61,0,0,62,0],[0,0,0,240,241,242,243,57,58,0,59,0,0,244,245,0,0,62,0],[0,0,0,0,0,246,246,0,58,0,59,0,0,0,139,0,0,0,0],[0,136,0,247,0,248,248,57,58,0,59,0,0,0,139,0,136,0,0],[0,249,151,0,0,0,0,0,0,0,0,0,0,0,0,0,249,0,0],[0,136,0,0,0,246,250,0,58,0,59,0,0,0,139,0,136,0,0],[0,0,0,0,0,251,251,57,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,143,144,145,146,58,0,59,0,0,0,139,0,0,0,0],[0,0,0,0,0,144,144,146,58,0,59,0,0,0,139,0,0,0,0],[0,0,0,0,0,252,252,146,58,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,253,252,252,146,58,0,0,0,0,0,0,0,0,0,0],[0,0,0,254,255,256,257,258,58,0,59,0,0,0,139,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,59,0,0,0,0,0,0,0,0],[0,0,0,0,0,147,0,0,0,0,59,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,259,0,0,0,0,0,0,0,0],[0,0,0,260,241,261,262,57,58,0,59,0,0,263,245,0,0,62,0],[0,0,0,0,0,246,246,0,58,0,59,0,0,0,0,0,0,0,0],[0,0,0,0,0,137,264,0,58,0,59,0,0,0,139,0,0,0,0],[0,0,0,0,265,141,141,57,58,0,0,0,0,0,265,0,0,0,0],[0,249,151,0,0,137,264,0,58,0,59,0,0,0,139,0,249,0,0],[0,0,0,221,116,222,222,8,9,0,10,0,0,0,120,0,0,16,0],[0,0,0,0,225,44,44,8,9,0,0,0,0,158,225,0,0,0,0],[0,0,0,155,116,156,222,8,9,0,10,0,0,158,120,0,0,16,0],[0,0,0,155,116,222,222,8,9,0,10,0,0,0,120,0,0,16,0],[0,0,0,0,43,266,266,8,161,0,24,0,0,12,267,0,0,0,0],[0,75,0,176,43,268,268,269,161,0,24,0,0,0,267,0,75,0,0],[0,0,0,0,0,270,0,0,271,0,162,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,272,0,0,0,0,0,0,0,0],[0,273,274,0,0,40,41,0,9,0,10,0,0,0,42,0,273,0,0],[0,0,0,40,0,123,123,8,9,0,10,0,0,0,42,0,0,0,0],[0,0,0,0,0,121,275,0,9,0,10,0,0,0,42,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,72,0,0,0,0,0,0,0,0],[0,0,0,0,0,166,0,0,0,0,72,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,276,0,0,0,0,0,0,0,0],[0,0,0,277,170,278,278,22,23,0,24,0,0,0,174,0,0,27,0],[0,279,0,0,0,76,280,0,23,0,24,0,0,0,78,0,279,0,0],[0,0,0,0,281,80,80,22,23,0,0,0,0,173,281,0,0,0,0],[0,0,0,169,170,171,278,22,23,0,24,0,0,173,174,0,0,27,0],[0,0,0,169,170,278,278,22,23,0,24,0,0,0,174,0,0,27,0],[0,282,90,0,0,76,280,0,23,0,24,0,0,0,78,0,282,0,0],[0,0,0,0,0,0,0,0,23,0,0,0,0,0,0,0,0,0,0],[0,75,0,0,0,175,175,0,23,0,24,0,0,0,78,0,75,0,0],[0,0,0,0,0,80,80,22,23,0,0,0,0,0,0,0,0,0,0],[0,0,0,283,0,284,285,0,23,0,24,0,0,286,0,0,0,0,0],[0,75,0,176,0,175,175,0,23,0,24,0,0,0,78,0,75,0,0],[0,0,0,0,0,0,0,22,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,287,287,85,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,288,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,184,185,186,187,23,0,24,0,0,0,78,0,0,0,0],[0,0,0,0,0,185,185,187,23,0,24,0,0,0,78,0,0,0,0],[0,0,0,0,0,289,289,187,23,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,290,289,289,187,23,0,0,0,0,0,0,0,0,0,0],[0,0,0,291,292,293,294,295,23,0,24,0,0,0,78,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,277,170,278,278,22,23,0,24,0,0,0,174,0,0,27,0],[0,0,0,0,281,80,80,22,23,0,0,0,0,192,281,0,0,0,0],[0,0,0,189,170,190,278,22,23,0,24,0,0,192,174,0,0,27,0],[0,0,0,189,170,278,278,22,23,0,24,0,0,0,174,0,0,27,0],[0,0,0,76,0,177,177,22,23,0,24,0,0,0,78,0,0,0,0],[0,0,0,0,0,175,296,0,23,0,24,0,0,0,78,0,0,0,0],[0,0,0,297,196,298,298,32,33,0,34,0,0,0,200,0,0,37,0],[0,299,0,0,0,97,300,0,33,0,34,0,0,0,99,0,299,0,0],[0,0,0,0,301,101,101,32,33,0,0,0,0,199,301,0,0,0,0],[0,0,0,195,196,197,298,32,33,0,34,0,0,199,200,0,0,37,0],[0,0,0,195,196,298,298,32,33,0,34,0,0,0,200,0,0,37,0],[0,302,111,0,0,97,300,0,33,0,34,0,0,0,99,0,302,0,0],[0,0,0,0,0,0,0,0,33,0,0,0,0,0,0,0,0,0,0],[0,96,0,0,0,201,201,0,33,0,34,0,0,0,99,0,96,0,0],[0,0,0,0,0,101,101,32,33,0,0,0,0,0,0,0,0,0,0],[0,0,0,303,0,304,305,0,33,0,34,0,0,306,0,0,0,0,0],[0,96,0,202,0,201,201,0,33,0,34,0,0,0,99,0,96,0,0],[0,0,0,0,0,0,0,32,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,307,307,106,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,308,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,210,211,212,213,33,0,34,0,0,0,99,0,0,0,0],[0,0,0,0,0,211,211,213,33,0,34,0,0,0,99,0,0,0,0],[0,0,0,0,0,309,309,213,33,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,310,309,309,213,33,0,0,0,0,0,0,0,0,0,0],[0,0,0,311,312,313,314,315,33,0,34,0,0,0,99,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,297,196,298,298,32,33,0,34,0,0,0,200,0,0,37,0],[0,0,0,0,301,101,101,32,33,0,0,0,0,218,301,0,0,0,0],[0,0,0,215,196,216,298,32,33,0,34,0,0,218,200,0,0,37,0],[0,0,0,215,196,298,298,32,33,0,34,0,0,0,200,0,0,37,0],[0,0,0,97,0,203,203,32,33,0,34,0,0,0,99,0,0,0,0],[0,0,0,0,0,201,316,0,33,0,34,0,0,0,99,0,0,0,0],[0,0,0,0,116,222,222,8,9,0,10,0,0,0,120,0,0,16,0],[0,0,0,0,225,44,44,8,9,0,0,0,0,0,225,0,0,0,0],[0,0,0,317,318,319,320,8,9,0,10,0,0,321,322,0,0,16,0],[0,223,0,323,0,123,123,8,9,0,10,0,0,0,42,0,223,0,0],[0,223,0,0,0,121,324,0,9,0,10,0,0,0,42,0,223,0,0],[0,0,0,325,318,326,327,8,9,0,10,0,0,328,322,0,0,16,0],[0,0,0,64,0,121,121,0,9,0,10,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,9,0,0,0,0,230,0,0,0,0,0],[0,0,0,227,0,228,121,0,9,0,10,0,0,230,0,0,0,0,0],[0,0,0,227,0,121,121,0,9,0,10,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,49,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,46,0,0],[0,0,0,0,0,329,329,133,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,330,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,236,237,238,239,9,0,10,0,0,0,42,0,0,0,0],[0,0,0,0,0,237,237,239,9,0,10,0,0,0,42,0,0,0,0],[0,0,0,0,0,331,331,239,9,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,332,331,331,239,9,0,0,0,0,0,0,0,0,0,0],[0,0,0,333,40,121,334,0,9,0,10,0,0,0,42,0,0,0,0],[0,0,0,335,241,336,336,57,58,0,59,0,0,0,245,0,0,62,0],[0,337,0,0,0,137,338,0,58,0,59,0,0,0,139,0,337,0,0],[0,0,0,0,339,141,141,57,58,0,0,0,0,244,339,0,0,0,0],[0,0,0,240,241,242,336,57,58,0,59,0,0,244,245,0,0,62,0],[0,0,0,240,241,336,336,57,58,0,59,0,0,0,245,0,0,62,0],[0,340,151,0,0,137,338,0,58,0,59,0,0,0,139,0,340,0,0],[0,0,0,0,0,0,0,0,58,0,0,0,0,0,0,0,0,0,0],[0,136,0,0,0,246,246,0,58,0,59,0,0,0,139,0,136,0,0],[0,0,0,0,0,141,141,57,58,0,0,0,0,0,0,0,0,0,0],[0,0,0,341,0,342,343,0,58,0,59,0,0,344,0,0,0,0,0],[0,136,0,247,0,246,246,0,58,0,59,0,0,0,139,0,136,0,0],[0,0,0,0,0,0,0,57,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,345,345,146,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,346,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,255,256,257,258,58,0,59,0,0,0,139,0,0,0,0],[0,0,0,0,0,256,256,258,58,0,59,0,0,0,139,0,0,0,0],[0,0,0,0,0,347,347,258,58,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,348,347,347,258,58,0,0,0,0,0,0,0,0,0,0],[0,0,0,349,350,351,352,353,58,0,59,0,0,0,139,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,335,241,336,336,57,58,0,59,0,0,0,245,0,0,62,0],[0,0,0,0,339,141,141,57,58,0,0,0,0,263,339,0,0,0,0],[0,0,0,260,241,261,336,57,58,0,59,0,0,263,245,0,0,62,0],[0,0,0,260,241,336,336,57,58,0,59,0,0,0,245,0,0,62,0],[0,0,0,137,0,248,248,57,58,0,59,0,0,0,139,0,0,0,0],[0,0,0,0,0,246,354,0,58,0,59,0,0,0,139,0,0,0,0],[0,0,0,0,0,126,126,8,23,0,0,0,0,0,0,0,0,0,0],[0,355,90,0,0,121,125,0,9,0,10,0,0,0,42,0,355,0,0],[0,0,0,0,0,356,356,269,23,0,0,0,0,0,0,0,0,0,0],[0,0,0,357,358,359,360,361,161,0,162,0,0,0,362,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,162,0,0,0,0,0,0,0,0],[0,0,0,0,0,270,0,0,0,0,162,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,363,0,0,0,0,0,0,0,0],[0,0,0,364,116,365,366,8,161,0,162,0,0,367,120,0,0,16,0],[0,0,0,0,0,368,368,0,161,0,162,0,0,0,0,0,0,0,0],[0,0,0,40,0,121,121,0,9,0,10,0,0,0,42,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,170,278,278,22,23,0,24,0,0,0,174,0,0,27,0],[0,0,0,0,281,80,80,22,23,0,0,0,0,0,281,0,0,0,0],[0,0,0,369,370,371,372,22,23,0,24,0,0,373,374,0,0,27,0],[0,279,0,375,0,177,177,22,23,0,24,0,0,0,78,0,279,0,0],[0,279,0,0,0,175,376,0,23,0,24,0,0,0,78,0,279,0,0],[0,0,0,377,370,378,379,22,23,0,24,0,0,380,374,0,0,27,0],[0,0,0,90,0,175,175,0,23,0,24,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,23,0,0,0,0,286,0,0,0,0,0],[0,0,0,283,0,284,175,0,23,0,24,0,0,286,0,0,0,0,0],[0,0,0,283,0,175,175,0,23,0,24,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,85,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,82,0,0],[0,0,0,0,0,381,381,187,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,382,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,292,293,294,295,23,0,24,0,0,0,78,0,0,0,0],[0,0,0,0,0,293,293,295,23,0,24,0,0,0,78,0,0,0,0],[0,0,0,0,0,383,383,295,23,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,384,383,383,295,23,0,0,0,0,0,0,0,0,0,0],[0,0,0,385,76,175,386,0,23,0,24,0,0,0,78,0,0,0,0],[0,0,0,76,0,175,175,0,23,0,24,0,0,0,78,0,0,0,0],[0,0,0,0,196,298,298,32,33,0,34,0,0,0,200,0,0,37,0],[0,0,0,0,301,101,101,32,33,0,0,0,0,0,301,0,0,0,0],[0,0,0,387,388,389,390,32,33,0,34,0,0,391,392,0,0,37,0],[0,299,0,393,0,203,203,32,33,0,34,0,0,0,99,0,299,0,0],[0,299,0,0,0,201,394,0,33,0,34,0,0,0,99,0,299,0,0],[0,0,0,395,388,396,397,32,33,0,34,0,0,398,392,0,0,37,0],[0,0,0,111,0,201,201,0,33,0,34,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,33,0,0,0,0,306,0,0,0,0,0],[0,0,0,303,0,304,201,0,33,0,34,0,0,306,0,0,0,0,0],[0,0,0,303,0,201,201,0,33,0,34,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,106,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,103,0,0],[0,0,0,0,0,399,399,213,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,400,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,312,313,314,315,33,0,34,0,0,0,99,0,0,0,0],[0,0,0,0,0,313,313,315,33,0,34,0,0,0,99,0,0,0,0],[0,0,0,0,0,401,401,315,33,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,402,401,401,315,33,0,0,0,0,0,0,0,0,0,0],[0,0,0,403,97,201,404,0,33,0,34,0,0,0,99,0,0,0,0],[0,0,0,97,0,201,201,0,33,0,34,0,0,0,99,0,0,0,0],[0,0,0,405,318,406,406,8,9,0,10,0,0,0,322,0,0,16,0],[0,407,0,0,0,40,408,0,9,0,10,0,0,0,42,0,407,0,0],[0,0,0,0,409,44,44,8,9,0,0,0,0,321,409,0,0,0,0],[0,0,0,317,318,319,406,8,9,0,10,0,0,321,322,0,0,16,0],[0,0,0,317,318,406,406,8,9,0,10,0,0,0,322,0,0,16,0],[0,410,64,0,0,40,408,0,9,0,10,0,0,0,42,0,410,0,0],[0,223,0,0,0,121,121,0,9,0,10,0,0,0,42,0,223,0,0],[0,223,0,323,0,121,121,0,9,0,10,0,0,0,42,0,223,0,0],[0,0,0,405,318,406,406,8,9,0,10,0,0,0,322,0,0,16,0],[0,0,0,0,409,44,44,8,9,0,0,0,0,328,409,0,0,0,0],[0,0,0,325,318,326,406,8,9,0,10,0,0,328,322,0,0,16,0],[0,0,0,325,318,406,406,8,9,0,10,0,0,0,322,0,0,16,0],[0,0,0,0,0,0,0,133,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,130,0,0],[0,0,0,0,0,411,411,239,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,412,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,40,121,334,0,9,0,10,0,0,0,42,0,0,0,0],[0,0,0,0,413,0,0,0,9,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,241,336,336,57,58,0,59,0,0,0,245,0,0,62,0],[0,0,0,0,339,141,141,57,58,0,0,0,0,0,339,0,0,0,0],[0,0,0,414,415,416,417,57,58,0,59,0,0,418,419,0,0,62,0],[0,337,0,420,0,248,248,57,58,0,59,0,0,0,139,0,337,0,0],[0,337,0,0,0,246,421,0,58,0,59,0,0,0,139,0,337,0,0],[0,0,0,422,415,423,424,57,58,0,59,0,0,425,419,0,0,62,0],[0,0,0,151,0,246,246,0,58,0,59,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,58,0,0,0,0,344,0,0,0,0,0],[0,0,0,341,0,342,246,0,58,0,59,0,0,344,0,0,0,0,0],[0,0,0,341,0,246,246,0,58,0,59,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,146,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,143,0,0],[0,0,0,0,0,426,426,258,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,427,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,350,351,352,353,58,0,59,0,0,0,139,0,0,0,0],[0,0,0,0,0,351,351,353,58,0,59,0,0,0,139,0,0,0,0],[0,0,0,0,0,428,428,353,58,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,429,428,428,353,58,0,0,0,0,0,0,0,0,0,0],[0,0,0,430,137,246,431,0,58,0,59,0,0,0,139,0,0,0,0],[0,0,0,137,0,246,246,0,58,0,59,0,0,0,139,0,0,0,0],[0,0,0,432,116,433,434,8,161,0,162,0,0,435,120,0,0,16,0],[0,0,0,0,0,180,180,269,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,358,359,360,361,161,0,162,0,0,0,362,0,0,0,0],[0,0,0,0,0,359,359,361,161,0,162,0,0,0,362,0,0,0,0],[0,0,0,0,0,436,436,361,161,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,437,436,436,361,161,0,0,0,0,0,0,0,0,0,0],[0,0,0,438,439,440,441,442,161,0,162,0,0,0,362,0,0,0,0],[0,443,274,0,0,0,0,0,0,0,0,0,0,0,0,0,443,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,444,116,445,445,8,161,0,162,0,0,0,120,0,0,16,0],[0,0,0,0,225,44,44,8,161,0,0,0,0,367,225,0,0,0,0],[0,0,0,364,116,365,445,8,161,0,162,0,0,367,120,0,0,16,0],[0,0,0,364,116,445,445,8,161,0,162,0,0,0,120,0,0,16,0],[0,0,0,0,0,0,0,0,161,0,0,0,0,0,0,0,0,0,0],[0,0,0,446,370,447,447,22,23,0,24,0,0,0,374,0,0,27,0],[0,448,0,0,0,76,449,0,23,0,24,0,0,0,78,0,448,0,0],[0,0,0,0,450,80,80,22,23,0,0,0,0,373,450,0,0,0,0],[0,0,0,369,370,371,447,22,23,0,24,0,0,373,374,0,0,27,0],[0,0,0,369,370,447,447,22,23,0,24,0,0,0,374,0,0,27,0],[0,451,90,0,0,76,449,0,23,0,24,0,0,0,78,0,451,0,0],[0,279,0,0,0,175,175,0,23,0,24,0,0,0,78,0,279,0,0],[0,279,0,375,0,175,175,0,23,0,24,0,0,0,78,0,279,0,0],[0,0,0,446,370,447,447,22,23,0,24,0,0,0,374,0,0,27,0],[0,0,0,0,450,80,80,22,23,0,0,0,0,380,450,0,0,0,0],[0,0,0,377,370,378,447,22,23,0,24,0,0,380,374,0,0,27,0],[0,0,0,377,370,447,447,22,23,0,24,0,0,0,374,0,0,27,0],[0,0,0,0,0,0,0,187,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,184,0,0],[0,0,0,0,0,452,452,295,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,453,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,76,175,386,0,23,0,24,0,0,0,78,0,0,0,0],[0,0,0,0,454,0,0,0,23,0,0,0,0,0,0,0,0,0,0],[0,0,0,455,388,456,456,32,33,0,34,0,0,0,392,0,0,37,0],[0,457,0,0,0,97,458,0,33,0,34,0,0,0,99,0,457,0,0],[0,0,0,0,459,101,101,32,33,0,0,0,0,391,459,0,0,0,0],[0,0,0,387,388,389,456,32,33,0,34,0,0,391,392,0,0,37,0],[0,0,0,387,388,456,456,32,33,0,34,0,0,0,392,0,0,37,0],[0,460,111,0,0,97,458,0,33,0,34,0,0,0,99,0,460,0,0],[0,299,0,0,0,201,201,0,33,0,34,0,0,0,99,0,299,0,0],[0,299,0,393,0,201,201,0,33,0,34,0,0,0,99,0,299,0,0],[0,0,0,455,388,456,456,32,33,0,34,0,0,0,392,0,0,37,0],[0,0,0,0,459,101,101,32,33,0,0,0,0,398,459,0,0,0,0],[0,0,0,395,388,396,456,32,33,0,34,0,0,398,392,0,0,37,0],[0,0,0,395,388,456,456,32,33,0,34,0,0,0,392,0,0,37,0],[0,0,0,0,0,0,0,213,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,210,0,0],[0,0,0,0,0,461,461,315,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,462,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,97,201,404,0,33,0,34,0,0,0,99,0,0,0,0],[0,0,0,0,463,0,0,0,33,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,318,406,406,8,9,0,10,0,0,0,322,0,0,16,0],[0,0,0,0,409,44,44,8,9,0,0,0,0,0,409,0,0,0,0],[0,0,0,464,465,466,467,8,9,0,10,0,0,468,469,0,0,16,0],[0,407,0,470,0,123,123,8,9,0,10,0,0,0,42,0,407,0,0],[0,407,0,0,0,121,471,0,9,0,10,0,0,0,42,0,407,0,0],[0,0,0,472,465,473,474,8,9,0,10,0,0,475,469,0,0,16,0],[0,0,0,0,0,0,0,239,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,236,0,0],[0,0,0,0,0,0,476,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,477,415,478,478,57,58,0,59,0,0,0,419,0,0,62,0],[0,479,0,0,0,137,480,0,58,0,59,0,0,0,139,0,479,0,0],[0,0,0,0,481,141,141,57,58,0,0,0,0,418,481,0,0,0,0],[0,0,0,414,415,416,478,57,58,0,59,0,0,418,419,0,0,62,0],[0,0,0,414,415,478,478,57,58,0,59,0,0,0,419,0,0,62,0],[0,482,151,0,0,137,480,0,58,0,59,0,0,0,139,0,482,0,0],[0,337,0,0,0,246,246,0,58,0,59,0,0,0,139,0,337,0,0],[0,337,0,420,0,246,246,0,58,0,59,0,0,0,139,0,337,0,0],[0,0,0,477,415,478,478,57,58,0,59,0,0,0,419,0,0,62,0],[0,0,0,0,481,141,141,57,58,0,0,0,0,425,481,0,0,0,0],[0,0,0,422,415,423,478,57,58,0,59,0,0,425,419,0,0,62,0],[0,0,0,422,415,478,478,57,58,0,59,0,0,0,419,0,0,62,0],[0,0,0,0,0,0,0,258,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,0,0],[0,0,0,0,0,483,483,353,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,484,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,137,246,431,0,58,0,59,0,0,0,139,0,0,0,0],[0,0,0,0,485,0,0,0,58,0,0,0,0,0,0,0,0,0,0],[0,0,0,444,116,445,445,8,161,0,162,0,0,0,120,0,0,16,0],[0,0,0,0,225,44,44,8,161,0,0,0,0,435,225,0,0,0,0],[0,0,0,432,116,433,445,8,161,0,162,0,0,435,120,0,0,16,0],[0,0,0,432,116,445,445,8,161,0,162,0,0,0,120,0,0,16,0],[0,0,0,0,0,486,486,361,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,487,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,439,440,441,442,161,0,162,0,0,0,362,0,0,0,0],[0,0,0,0,0,440,440,442,161,0,162,0,0,0,362,0,0,0,0],[0,0,0,0,0,488,488,442,161,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,489,488,488,442,161,0,0,0,0,0,0,0,0,0,0],[0,0,0,490,491,492,493,494,161,0,162,0,0,0,362,0,0,0,0],[0,0,0,495,0,496,497,0,161,0,162,0,0,498,0,0,0,0,0],[0,0,0,0,116,445,445,8,161,0,162,0,0,0,120,0,0,16,0],[0,0,0,0,225,44,44,8,161,0,0,0,0,0,225,0,0,0,0],[0,0,0,0,370,447,447,22,23,0,24,0,0,0,374,0,0,27,0],[0,0,0,0,450,80,80,22,23,0,0,0,0,0,450,0,0,0,0],[0,0,0,499,500,501,502,22,23,0,24,0,0,503,504,0,0,27,0],[0,448,0,505,0,177,177,22,23,0,24,0,0,0,78,0,448,0,0],[0,448,0,0,0,175,506,0,23,0,24,0,0,0,78,0,448,0,0],[0,0,0,507,500,508,509,22,23,0,24,0,0,510,504,0,0,27,0],[0,0,0,0,0,0,0,295,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,292,0,0],[0,0,0,0,0,0,511,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,388,456,456,32,33,0,34,0,0,0,392,0,0,37,0],[0,0,0,0,459,101,101,32,33,0,0,0,0,0,459,0,0,0,0],[0,0,0,512,513,514,515,32,33,0,34,0,0,516,517,0,0,37,0],[0,457,0,518,0,203,203,32,33,0,34,0,0,0,99,0,457,0,0],[0,457,0,0,0,201,519,0,33,0,34,0,0,0,99,0,457,0,0],[0,0,0,520,513,521,522,32,33,0,34,0,0,523,517,0,0,37,0],[0,0,0,0,0,0,0,315,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,312,0,0],[0,0,0,0,0,0,524,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,525,465,526,526,8,9,0,10,0,0,0,469,0,0,16,0],[0,527,0,0,0,40,528,0,9,0,10,0,0,0,42,0,527,0,0],[0,0,0,0,529,44,44,8,9,0,0,0,0,468,529,0,0,0,0],[0,0,0,464,465,466,526,8,9,0,10,0,0,468,469,0,0,16,0],[0,0,0,464,465,526,526,8,9,0,10,0,0,0,469,0,0,16,0],[0,530,64,0,0,40,528,0,9,0,10,0,0,0,42,0,530,0,0],[0,407,0,0,0,121,121,0,9,0,10,0,0,0,42,0,407,0,0],[0,407,0,470,0,121,121,0,9,0,10,0,0,0,42,0,407,0,0],[0,0,0,525,465,526,526,8,9,0,10,0,0,0,469,0,0,16,0],[0,0,0,0,529,44,44,8,9,0,0,0,0,475,529,0,0,0,0],[0,0,0,472,465,473,526,8,9,0,10,0,0,475,469,0,0,16,0],[0,0,0,472,465,526,526,8,9,0,10,0,0,0,469,0,0,16,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,40,0,0],[0,0,0,0,415,478,478,57,58,0,59,0,0,0,419,0,0,62,0],[0,0,0,0,481,141,141,57,58,0,0,0,0,0,481,0,0,0,0],[0,0,0,531,532,533,534,57,58,0,59,0,0,535,536,0,0,62,0],[0,479,0,537,0,248,248,57,58,0,59,0,0,0,139,0,479,0,0],[0,479,0,0,0,246,538,0,58,0,59,0,0,0,139,0,479,0,0],[0,0,0,539,532,540,541,57,58,0,59,0,0,542,536,0,0,62,0],[0,0,0,0,0,0,0,353,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,350,0,0],[0,0,0,0,0,0,543,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,361,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,358,0,0],[0,0,0,0,0,544,544,442,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,545,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,491,492,493,494,161,0,162,0,0,0,362,0,0,0,0],[0,0,0,0,0,492,492,494,161,0,162,0,0,0,362,0,0,0,0],[0,0,0,0,0,546,546,494,161,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,547,546,546,494,161,0,0,0,0,0,0,0,0,0,0],[0,0,0,548,549,368,550,0,161,0,162,0,0,0,362,0,0,0,0],[0,0,0,274,0,368,368,0,161,0,162,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,161,0,0,0,0,498,0,0,0,0,0],[0,0,0,495,0,496,368,0,161,0,162,0,0,498,0,0,0,0,0],[0,0,0,495,0,368,368,0,161,0,162,0,0,0,0,0,0,0,0],[0,0,0,551,500,552,552,22,23,0,24,0,0,0,504,0,0,27,0],[0,553,0,0,0,76,554,0,23,0,24,0,0,0,78,0,553,0,0],[0,0,0,0,555,80,80,22,23,0,0,0,0,503,555,0,0,0,0],[0,0,0,499,500,501,552,22,23,0,24,0,0,503,504,0,0,27,0],[0,0,0,499,500,552,552,22,23,0,24,0,0,0,504,0,0,27,0],[0,556,90,0,0,76,554,0,23,0,24,0,0,0,78,0,556,0,0],[0,448,0,0,0,175,175,0,23,0,24,0,0,0,78,0,448,0,0],[0,448,0,505,0,175,175,0,23,0,24,0,0,0,78,0,448,0,0],[0,0,0,551,500,552,552,22,23,0,24,0,0,0,504,0,0,27,0],[0,0,0,0,555,80,80,22,23,0,0,0,0,510,555,0,0,0,0],[0,0,0,507,500,508,552,22,23,0,24,0,0,510,504,0,0,27,0],[0,0,0,507,500,552,552,22,23,0,24,0,0,0,504,0,0,27,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,76,0,0],[0,0,0,557,513,558,558,32,33,0,34,0,0,0,517,0,0,37,0],[0,559,0,0,0,97,560,0,33,0,34,0,0,0,99,0,559,0,0],[0,0,0,0,561,101,101,32,33,0,0,0,0,516,561,0,0,0,0],[0,0,0,512,513,514,558,32,33,0,34,0,0,516,517,0,0,37,0],[0,0,0,512,513,558,558,32,33,0,34,0,0,0,517,0,0,37,0],[0,562,111,0,0,97,560,0,33,0,34,0,0,0,99,0,562,0,0],[0,457,0,0,0,201,201,0,33,0,34,0,0,0,99,0,457,0,0],[0,457,0,518,0,201,201,0,33,0,34,0,0,0,99,0,457,0,0],[0,0,0,557,513,558,558,32,33,0,34,0,0,0,517,0,0,37,0],[0,0,0,0,561,101,101,32,33,0,0,0,0,523,561,0,0,0,0],[0,0,0,520,513,521,558,32,33,0,34,0,0,523,517,0,0,37,0],[0,0,0,520,513,558,558,32,33,0,34,0,0,0,517,0,0,37,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,97,0,0],[0,0,0,0,465,526,526,8,9,0,10,0,0,0,469,0,0,16,0],[0,0,0,0,529,44,44,8,9,0,0,0,0,0,529,0,0,0,0],[0,0,0,563,66,564,565,8,9,0,10,0,0,566,68,0,0,16,0],[0,527,0,567,0,123,123,8,9,0,10,0,0,0,42,0,527,0,0],[0,527,0,0,0,121,568,0,9,0,10,0,0,0,42,0,527,0,0],[0,0,0,569,66,570,571,8,9,0,10,0,0,572,68,0,0,16,0],[0,0,0,573,532,574,574,57,58,0,59,0,0,0,536,0,0,62,0],[0,575,0,0,0,137,576,0,58,0,59,0,0,0,139,0,575,0,0],[0,0,0,0,577,141,141,57,58,0,0,0,0,535,577,0,0,0,0],[0,0,0,531,532,533,574,57,58,0,59,0,0,535,536,0,0,62,0],[0,0,0,531,532,574,574,57,58,0,59,0,0,0,536,0,0,62,0],[0,578,151,0,0,137,576,0,58,0,59,0,0,0,139,0,578,0,0],[0,479,0,0,0,246,246,0,58,0,59,0,0,0,139,0,479,0,0],[0,479,0,537,0,246,246,0,58,0,59,0,0,0,139,0,479,0,0],[0,0,0,573,532,574,574,57,58,0,59,0,0,0,536,0,0,62,0],[0,0,0,0,577,141,141,57,58,0,0,0,0,542,577,0,0,0,0],[0,0,0,539,532,540,574,57,58,0,59,0,0,542,536,0,0,62,0],[0,0,0,539,532,574,574,57,58,0,59,0,0,0,536,0,0,62,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,137,0,0],[0,0,0,0,0,0,0,442,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,439,0,0],[0,0,0,0,0,579,579,494,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,580,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,549,368,550,0,161,0,162,0,0,0,362,0,0,0,0],[0,0,0,0,0,368,368,0,161,0,162,0,0,0,362,0,0,0,0],[0,0,0,0,581,0,0,0,161,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,500,552,552,22,23,0,24,0,0,0,504,0,0,27,0],[0,0,0,0,555,80,80,22,23,0,0,0,0,0,555,0,0,0,0],[0,0,0,582,91,583,584,22,23,0,24,0,0,585,93,0,0,27,0],[0,553,0,586,0,177,177,22,23,0,24,0,0,0,78,0,553,0,0],[0,553,0,0,0,175,587,0,23,0,24,0,0,0,78,0,553,0,0],[0,0,0,588,91,589,590,22,23,0,24,0,0,591,93,0,0,27,0],[0,0,0,0,513,558,558,32,33,0,34,0,0,0,517,0,0,37,0],[0,0,0,0,561,101,101,32,33,0,0,0,0,0,561,0,0,0,0],[0,0,0,592,112,593,594,32,33,0,34,0,0,595,114,0,0,37,0],[0,559,0,596,0,203,203,32,33,0,34,0,0,0,99,0,559,0,0],[0,559,0,0,0,201,597,0,33,0,34,0,0,0,99,0,559,0,0],[0,0,0,598,112,599,600,32,33,0,34,0,0,601,114,0,0,37,0],[0,0,0,602,66,67,67,8,9,0,10,0,0,0,68,0,0,16,0],[0,0,0,0,165,44,44,8,9,0,0,0,0,566,165,0,0,0,0],[0,0,0,563,66,564,67,8,9,0,10,0,0,566,68,0,0,16,0],[0,0,0,563,66,67,67,8,9,0,10,0,0,0,68,0,0,16,0],[0,527,0,0,0,121,121,0,9,0,10,0,0,0,42,0,527,0,0],[0,527,0,567,0,121,121,0,9,0,10,0,0,0,42,0,527,0,0],[0,0,0,602,66,67,67,8,9,0,10,0,0,0,68,0,0,16,0],[0,0,0,0,165,44,44,8,9,0,0,0,0,572,165,0,0,0,0],[0,0,0,569,66,570,67,8,9,0,10,0,0,572,68,0,0,16,0],[0,0,0,569,66,67,67,8,9,0,10,0,0,0,68,0,0,16,0],[0,0,0,0,532,574,574,57,58,0,59,0,0,0,536,0,0,62,0],[0,0,0,0,577,141,141,57,58,0,0,0,0,0,577,0,0,0,0],[0,0,0,603,152,604,605,57,58,0,59,0,0,606,154,0,0,62,0],[0,575,0,607,0,248,248,57,58,0,59,0,0,0,139,0,575,0,0],[0,575,0,0,0,246,608,0,58,0,59,0,0,0,139,0,575,0,0],[0,0,0,609,152,610,611,57,58,0,59,0,0,612,154,0,0,62,0],[0,0,0,0,0,0,0,494,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,491,0,0],[0,0,0,0,0,0,613,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,614,91,92,92,22,23,0,24,0,0,0,93,0,0,27,0],[0,0,0,0,194,80,80,22,23,0,0,0,0,585,194,0,0,0,0],[0,0,0,582,91,583,92,22,23,0,24,0,0,585,93,0,0,27,0],[0,0,0,582,91,92,92,22,23,0,24,0,0,0,93,0,0,27,0],[0,553,0,0,0,175,175,0,23,0,24,0,0,0,78,0,553,0,0],[0,553,0,586,0,175,175,0,23,0,24,0,0,0,78,0,553,0,0],[0,0,0,614,91,92,92,22,23,0,24,0,0,0,93,0,0,27,0],[0,0,0,0,194,80,80,22,23,0,0,0,0,591,194,0,0,0,0],[0,0,0,588,91,589,92,22,23,0,24,0,0,591,93,0,0,27,0],[0,0,0,588,91,92,92,22,23,0,24,0,0,0,93,0,0,27,0],[0,0,0,615,112,113,113,32,33,0,34,0,0,0,114,0,0,37,0],[0,0,0,0,220,101,101,32,33,0,0,0,0,595,220,0,0,0,0],[0,0,0,592,112,593,113,32,33,0,34,0,0,595,114,0,0,37,0],[0,0,0,592,112,113,113,32,33,0,34,0,0,0,114,0,0,37,0],[0,559,0,0,0,201,201,0,33,0,34,0,0,0,99,0,559,0,0],[0,559,0,596,0,201,201,0,33,0,34,0,0,0,99,0,559,0,0],[0,0,0,615,112,113,113,32,33,0,34,0,0,0,114,0,0,37,0],[0,0,0,0,220,101,101,32,33,0,0,0,0,601,220,0,0,0,0],[0,0,0,598,112,599,113,32,33,0,34,0,0,601,114,0,0,37,0],[0,0,0,598,112,113,113,32,33,0,34,0,0,0,114,0,0,37,0],[0,0,0,0,66,67,67,8,9,0,10,0,0,0,68,0,0,16,0],[0,0,0,616,152,153,153,57,58,0,59,0,0,0,154,0,0,62,0],[0,0,0,0,265,141,141,57,58,0,0,0,0,606,265,0,0,0,0],[0,0,0,603,152,604,153,57,58,0,59,0,0,606,154,0,0,62,0],[0,0,0,603,152,153,153,57,58,0,59,0,0,0,154,0,0,62,0],[0,575,0,0,0,246,246,0,58,0,59,0,0,0,139,0,575,0,0],[0,575,0,607,0,246,246,0,58,0,59,0,0,0,139,0,575,0,0],[0,0,0,616,152,153,153,57,58,0,59,0,0,0,154,0,0,62,0],[0,0,0,0,265,141,141,57,58,0,0,0,0,612,265,0,0,0,0],[0,0,0,609,152,610,153,57,58,0,59,0,0,612,154,0,0,62,0],[0,0,0,609,152,153,153,57,58,0,59,0,0,0,154,0,0,62,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,549,0,0],[0,0,0,0,91,92,92,22,23,0,24,0,0,0,93,0,0,27,0],[0,0,0,0,112,113,113,32,33,0,34,0,0,0,114,0,0,37,0],[0,0,0,0,152,153,153,57,58,0,59,0,0,0,154,0,0,62,0]],"accepting":[false,true,true,true,true,true,false,false,true,true,true,true,true,true,true,true,true,true,true,true,false,true,true,true,true,true,true,true,true,true,false,true,true,true,true,true,true,true,true,true,true,true,false,true,false,true,true,false,false,true,true,true,true,true,true,false,false,true,true,true,true,true,true,true,true,true,true,false,true,true,false,true,true,true,false,true,true,true,false,true,false,true,true,false,false,true,true,true,true,true,true,true,false,true,true,false,true,true,true,false,true,false,true,true,false,false,true,true,true,true,true,true,true,false,true,true,true,false,true,true,true,false,true,false,true,true,false,false,false,true,true,false,false,true,true,true,true,true,true,false,true,false,true,true,false,false,true,true,true,true,true,true,true,false,true,true,false,true,true,true,true,true,true,true,true,true,true,true,true,true,true,false,true,true,true,false,true,false,true,true,false,false,false,true,true,false,false,true,true,true,false,true,true,true,true,true,true,false,true,true,true,false,true,false,true,true,false,false,false,true,true,false,false,true,true,true,false,true,true,true,true,true,false,true,true,true,true,true,false,true,true,false,false,false,false,true,true,false,false,true,true,true,false,true,true,true,false,true,false,true,true,false,false,false,true,true,false,false,true,true,true,false,true,true,true,true,false,true,false,true,true,true,true,true,true,true,true,true,false,true,true,true,true,true,false,true,true,false,false,false,false,true,true,false,false,true,true,true,false,true,true,true,true,true,false,true,true,false,false,false,false,true,true,false,false,true,true,true,true,false,true,true,true,true,true,true,false,true,true,false,false,false,false,true,false,true,false,true,true,true,true,true,false,true,true,false,false,false,false,true,true,false,false,true,true,true,false,true,true,false,false,true,false,true,true,false,true,true,false,true,true,false,true,true,true,true,true,true,false,true,true,false,false,false,false,true,false,true,true,false,true,true,true,true,true,true,false,true,true,false,false,false,false,true,false,true,false,true,true,true,true,false,false,false,true,true,false,true,true,true,true,true,true,false,true,true,false,false,false,false,true,false,true,false,true,true,false,false,true,true,false,false,true,true,true,false,true,false,true,true,true,true,false,false,false,true,false,true,true,true,true,false,false,false,true,true,false,true,true,true,true,true,true,false,true,true,false,true,false,true,true,true,true,false,false,false,false,false,false,false,true,true,false,false,true,true,false,true,true,true,true,false,true,true,true,true,true,true,false,true,true,false,true,true,false,true,true,true,true,true,true,false,true,true,false,true,false,true,true,true,true,true,true,false,true,true,true,true,true,true,false,true,true,false,false,false,false,false,true,true,false,true,false,true,true,true,true,true,false,true,true,true,true,true,false,true,true,true,true,true,false,true,true,true,false,true,true,true,true,false,false,false,true,false,true,true,true,true,true,false,true,true,true,false,true,true,true,true,true,false,true,true,true,true,false,true,true,true,true,true,false,true,true,false,true,true,true],"tags":[[],["broken_cluster"],["consonant_syllable"],["vowel_syllable"],["broken_cluster"],["broken_cluster"],[],[],["broken_cluster"],["broken_cluster"],["broken_cluster"],["standalone_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["consonant_syllable"],["broken_cluster"],["symbol_cluster"],["consonant_syllable"],["consonant_syllable"],[],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["vowel_syllable"],["vowel_syllable"],[],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],[],["broken_cluster"],[],["broken_cluster"],["broken_cluster"],[],[],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["standalone_cluster"],["standalone_cluster"],[],[],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["broken_cluster"],["broken_cluster"],["consonant_syllable","broken_cluster"],["broken_cluster"],[],["broken_cluster"],["symbol_cluster"],[],["symbol_cluster"],["symbol_cluster"],["consonant_syllable"],[],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],[],["consonant_syllable"],[],["consonant_syllable"],["consonant_syllable"],[],[],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],[],["consonant_syllable"],["vowel_syllable"],[],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],[],["vowel_syllable"],[],["vowel_syllable"],["vowel_syllable"],[],[],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],[],["vowel_syllable"],["broken_cluster"],["broken_cluster"],[],["broken_cluster"],["broken_cluster"],["broken_cluster"],[],["broken_cluster"],[],["broken_cluster"],["broken_cluster"],[],[],[],["broken_cluster"],["broken_cluster"],[],[],["broken_cluster"],["broken_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],[],["standalone_cluster"],[],["standalone_cluster"],["standalone_cluster"],[],[],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],[],["standalone_cluster"],["broken_cluster"],[],["broken_cluster"],["broken_cluster"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable","broken_cluster"],["consonant_syllable","broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["symbol_cluster"],["symbol_cluster"],["symbol_cluster"],["consonant_syllable"],["consonant_syllable"],[],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],[],["consonant_syllable"],[],["consonant_syllable"],["consonant_syllable"],[],[],[],["consonant_syllable"],["consonant_syllable"],[],[],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],[],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["vowel_syllable"],["vowel_syllable"],[],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],[],["vowel_syllable"],[],["vowel_syllable"],["vowel_syllable"],[],[],[],["vowel_syllable"],["vowel_syllable"],[],[],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],[],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["broken_cluster"],[],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],[],["broken_cluster"],["broken_cluster"],[],[],[],[],["broken_cluster"],["broken_cluster"],[],[],["broken_cluster"],["standalone_cluster"],["standalone_cluster"],[],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],[],["standalone_cluster"],[],["standalone_cluster"],["standalone_cluster"],[],[],[],["standalone_cluster"],["standalone_cluster"],[],[],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],[],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],[],["broken_cluster"],[],["consonant_syllable","broken_cluster"],["consonant_syllable","broken_cluster"],["consonant_syllable","broken_cluster"],["consonant_syllable","broken_cluster"],["consonant_syllable","broken_cluster"],["consonant_syllable","broken_cluster"],["broken_cluster"],["symbol_cluster"],["consonant_syllable"],[],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],[],["consonant_syllable"],["consonant_syllable"],[],[],[],[],["consonant_syllable"],["consonant_syllable"],[],[],["consonant_syllable"],["consonant_syllable"],["vowel_syllable"],[],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],[],["vowel_syllable"],["vowel_syllable"],[],[],[],[],["vowel_syllable"],["vowel_syllable"],[],[],["vowel_syllable"],["vowel_syllable"],["broken_cluster"],["broken_cluster"],[],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],[],["broken_cluster"],["broken_cluster"],[],[],[],[],["broken_cluster"],[],["standalone_cluster"],[],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],[],["standalone_cluster"],["standalone_cluster"],[],[],[],[],["standalone_cluster"],["standalone_cluster"],[],[],["standalone_cluster"],["standalone_cluster"],["consonant_syllable","broken_cluster"],[],["consonant_syllable","broken_cluster"],["consonant_syllable","broken_cluster"],[],[],["consonant_syllable","broken_cluster"],[],["consonant_syllable","broken_cluster"],["consonant_syllable","broken_cluster"],[],["consonant_syllable","broken_cluster"],["consonant_syllable","broken_cluster"],[],["consonant_syllable"],["consonant_syllable"],[],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],[],["consonant_syllable"],["consonant_syllable"],[],[],[],[],["consonant_syllable"],[],["vowel_syllable"],["vowel_syllable"],[],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],[],["vowel_syllable"],["vowel_syllable"],[],[],[],[],["vowel_syllable"],[],["broken_cluster"],[],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],[],[],[],["standalone_cluster"],["standalone_cluster"],[],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],[],["standalone_cluster"],["standalone_cluster"],[],[],[],[],["standalone_cluster"],[],["consonant_syllable","broken_cluster"],[],["consonant_syllable","broken_cluster"],["consonant_syllable","broken_cluster"],[],[],["consonant_syllable","broken_cluster"],["consonant_syllable","broken_cluster"],[],[],["consonant_syllable","broken_cluster"],["consonant_syllable","broken_cluster"],["consonant_syllable","broken_cluster"],[],["consonant_syllable"],[],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],[],[],[],["vowel_syllable"],[],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],[],[],[],["broken_cluster"],["broken_cluster"],[],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],[],["broken_cluster"],["broken_cluster"],[],["standalone_cluster"],[],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],[],[],[],[],[],[],[],["consonant_syllable","broken_cluster"],["consonant_syllable","broken_cluster"],[],[],["consonant_syllable","broken_cluster"],["consonant_syllable","broken_cluster"],[],["consonant_syllable","broken_cluster"],["consonant_syllable","broken_cluster"],["consonant_syllable"],["consonant_syllable"],[],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],[],["consonant_syllable"],["consonant_syllable"],[],["vowel_syllable"],["vowel_syllable"],[],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],[],["vowel_syllable"],["vowel_syllable"],[],["broken_cluster"],[],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["standalone_cluster"],["standalone_cluster"],[],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],[],["standalone_cluster"],["standalone_cluster"],[],[],[],[],[],["consonant_syllable","broken_cluster"],["consonant_syllable","broken_cluster"],[],["consonant_syllable"],[],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["vowel_syllable"],[],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["broken_cluster"],[],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],[],["broken_cluster"],["broken_cluster"],["standalone_cluster"],[],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],[],[],[],["consonant_syllable"],[],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],["consonant_syllable"],[],["consonant_syllable"],["consonant_syllable"],["vowel_syllable"],[],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],["vowel_syllable"],[],["vowel_syllable"],["vowel_syllable"],["broken_cluster"],["standalone_cluster"],[],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],["standalone_cluster"],[],["standalone_cluster"],["standalone_cluster"],[],["consonant_syllable"],["vowel_syllable"],["standalone_cluster"]]}');var fs;fs=JSON.parse('{"categories":["O","IND","S","GB","B","FM","CGJ","VMAbv","VMPst","VAbv","VPst","CMBlw","VPre","VBlw","H","VMBlw","CMAbv","MBlw","CS","R","SUB","MPst","MPre","FAbv","FPst","FBlw","null","SMAbv","SMBlw","VMPre","ZWNJ","ZWJ","WJ","M","VS","N","HN","MAbv"],"decompositions":{"2507":[2503,2494],"2508":[2503,2519],"2888":[2887,2902],"2891":[2887,2878],"2892":[2887,2903],"3018":[3014,3006],"3019":[3015,3006],"3020":[3014,3031],"3144":[3142,3158],"3264":[3263,3285],"3271":[3270,3285],"3272":[3270,3286],"3274":[3270,3266],"3275":[3270,3266,3285],"3402":[3398,3390],"3403":[3399,3390],"3404":[3398,3415],"3546":[3545,3530],"3548":[3545,3535],"3549":[3545,3535,3530],"3550":[3545,3551],"3635":[3661,3634],"3763":[3789,3762],"3955":[3953,3954],"3957":[3953,3956],"3958":[4018,3968],"3959":[4018,3953,3968],"3960":[4019,3968],"3961":[4019,3953,3968],"3969":[3953,3968],"6971":[6970,6965],"6973":[6972,6965],"6976":[6974,6965],"6977":[6975,6965],"6979":[6978,6965],"69934":[69937,69927],"69935":[69938,69927],"70475":[70471,70462],"70476":[70471,70487],"70843":[70841,70842],"70844":[70841,70832],"70846":[70841,70845],"71098":[71096,71087],"71099":[71097,71087]},"stateTable":[[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[2,2,3,4,4,5,0,6,7,8,9,10,11,12,13,14,15,16,0,17,18,11,19,20,21,22,0,0,0,23,0,0,2,0,0,24,0,25],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,26,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,27,28,0,0,0,0,0,27,0,0,0],[0,0,0,0,0,29,0,30,31,32,33,34,35,36,37,38,39,40,0,0,41,35,42,43,44,45,0,0,0,46,0,0,0,0,39,0,0,47],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,5,0,6,7,0,0,0,0,0,0,14,0,0,0,0,0,0,0,20,21,22,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,5,0,0,7,0,0,0,0,0,0,0,0,0,0,0,0,0,0,20,21,22,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,5,0,6,7,8,9,0,0,12,0,14,0,0,0,0,0,0,0,20,21,22,0,0,0,23,0,0,0,0,0,0,0,0],[0,0,0,0,0,5,0,6,7,0,9,0,0,0,0,14,0,0,0,0,0,0,0,20,21,22,0,0,0,23,0,0,0,0,0,0,0,0],[0,0,0,0,0,5,0,6,7,8,9,10,11,12,13,14,0,16,0,0,18,11,19,20,21,22,0,0,0,23,0,0,0,0,0,0,0,25],[0,0,0,0,0,5,0,6,7,8,9,0,11,12,0,14,0,0,0,0,0,0,0,20,21,22,0,0,0,23,0,0,0,0,0,0,0,0],[0,0,0,0,0,5,0,6,7,0,9,0,0,12,0,14,0,0,0,0,0,0,0,20,21,22,0,0,0,23,0,0,0,0,0,0,0,0],[0,0,0,0,18,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,5,0,0,7,0,0,0,0,0,0,14,0,0,0,0,0,0,0,20,21,22,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,5,0,6,7,8,9,10,11,12,13,14,15,16,0,0,18,11,19,20,21,22,0,0,0,23,0,0,0,0,0,0,0,25],[0,0,0,0,0,5,0,6,7,8,9,0,11,12,0,14,0,0,0,0,0,11,0,20,21,22,0,0,0,23,0,0,0,0,0,0,0,0],[0,0,0,4,4,5,0,6,7,8,9,10,11,12,13,14,15,16,0,0,18,11,19,20,21,22,0,0,0,23,0,0,0,0,0,0,0,25],[0,0,0,0,0,5,0,6,7,8,9,48,11,12,13,14,48,16,0,0,18,11,19,20,21,22,0,0,0,23,0,0,0,0,49,0,0,25],[0,0,0,0,0,5,0,6,7,8,9,0,11,12,0,14,0,16,0,0,0,11,0,20,21,22,0,0,0,23,0,0,0,0,0,0,0,25],[0,0,0,0,0,5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,20,21,22,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,21,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,21,22,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,5,0,6,7,0,0,0,0,0,0,14,0,0,0,0,0,0,0,20,21,22,0,0,0,23,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,50,0,51,0],[0,0,0,0,0,5,0,6,7,8,9,0,11,12,0,14,0,16,0,0,0,11,0,20,21,22,0,0,0,23,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,27,28,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,28,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,29,0,30,31,0,0,0,0,0,0,38,0,0,0,0,0,0,0,43,44,45,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,29,0,0,31,0,0,0,0,0,0,0,0,0,0,0,0,0,0,43,44,45,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,29,0,30,31,32,33,0,0,36,0,38,0,0,0,0,0,0,0,43,44,45,0,0,0,46,0,0,0,0,0,0,0,0],[0,0,0,0,0,29,0,30,31,0,33,0,0,0,0,38,0,0,0,0,0,0,0,43,44,45,0,0,0,46,0,0,0,0,0,0,0,0],[0,0,0,0,0,29,0,30,31,32,33,34,35,36,37,38,0,40,0,0,41,35,42,43,44,45,0,0,0,46,0,0,0,0,0,0,0,47],[0,0,0,0,0,29,0,30,31,32,33,0,35,36,0,38,0,0,0,0,0,0,0,43,44,45,0,0,0,46,0,0,0,0,0,0,0,0],[0,0,0,0,0,29,0,30,31,0,33,0,0,36,0,38,0,0,0,0,0,0,0,43,44,45,0,0,0,46,0,0,0,0,0,0,0,0],[0,0,0,0,41,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,29,0,0,31,0,0,0,0,0,0,38,0,0,0,0,0,0,0,43,44,45,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,29,0,30,31,32,33,34,35,36,37,38,39,40,0,0,41,35,42,43,44,45,0,0,0,46,0,0,0,0,0,0,0,47],[0,0,0,0,0,29,0,30,31,32,33,0,35,36,0,38,0,0,0,0,0,35,0,43,44,45,0,0,0,46,0,0,0,0,0,0,0,0],[0,0,0,0,0,29,0,30,31,32,33,52,35,36,37,38,52,40,0,0,41,35,42,43,44,45,0,0,0,46,0,0,0,0,53,0,0,47],[0,0,0,0,0,29,0,30,31,32,33,0,35,36,0,38,0,40,0,0,0,35,0,43,44,45,0,0,0,46,0,0,0,0,0,0,0,47],[0,0,0,0,0,29,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,43,44,45,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,29,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,44,0,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,29,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,44,45,0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,29,0,30,31,0,0,0,0,0,0,38,0,0,0,0,0,0,0,43,44,45,0,0,0,46,0,0,0,0,0,0,0,0],[0,0,0,0,0,29,0,30,31,32,33,0,35,36,0,38,0,40,0,0,0,35,0,43,44,45,0,0,0,46,0,0,0,0,0,0,0,0],[0,0,0,0,0,5,0,6,7,8,9,48,11,12,13,14,0,16,0,0,18,11,19,20,21,22,0,0,0,23,0,0,0,0,0,0,0,25],[0,0,0,0,0,5,0,6,7,8,9,48,11,12,13,14,48,16,0,0,18,11,19,20,21,22,0,0,0,23,0,0,0,0,0,0,0,25],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,51,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,54,0,0],[0,0,0,0,0,29,0,30,31,32,33,52,35,36,37,38,0,40,0,0,41,35,42,43,44,45,0,0,0,46,0,0,0,0,0,0,0,47],[0,0,0,0,0,29,0,30,31,32,33,52,35,36,37,38,52,40,0,0,41,35,42,43,44,45,0,0,0,46,0,0,0,0,0,0,0,47],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,50,0,51,0]],"accepting":[false,true,true,true,true,true,true,true,true,true,true,true,true,false,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true,true],"tags":[[],["broken_cluster"],["independent_cluster"],["symbol_cluster"],["standard_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],[],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["broken_cluster"],["numeral_cluster"],["broken_cluster"],["independent_cluster"],["symbol_cluster"],["symbol_cluster"],["standard_cluster"],["standard_cluster"],["standard_cluster"],["standard_cluster"],["standard_cluster"],["standard_cluster"],["standard_cluster"],["standard_cluster"],["virama_terminated_cluster"],["standard_cluster"],["standard_cluster"],["standard_cluster"],["standard_cluster"],["standard_cluster"],["standard_cluster"],["standard_cluster"],["standard_cluster"],["standard_cluster"],["standard_cluster"],["broken_cluster"],["broken_cluster"],["numeral_cluster"],["number_joiner_terminated_cluster"],["standard_cluster"],["standard_cluster"],["numeral_cluster"]]}');const ms={X:1,C:2,V:4,N:8,H:16,ZWNJ:32,ZWJ:64,M:128,SM:256,VD:512,A:1024,Placeholder:2048,Dotted_Circle:4096,RS:8192,Coeng:16384,Repha:32768,Ra:65536,CM:131072,Symbol:262144},gs={Start:1,Ra_To_Become_Reph:2,Pre_M:4,Pre_C:8,Base_C:16,After_Main:32,Above_C:64,Before_Sub:128,Below_C:256,After_Sub:512,Before_Post:1024,Post_C:2048,After_Post:4096,Final_C:8192,SMVD:16384,End:32768},vs=ms.C|ms.Ra|ms.CM|ms.V|ms.Placeholder|ms.Dotted_Circle,ys=ms.ZWJ|ms.ZWNJ,As=ms.H|ms.Coeng,bs={Default:{hasOldSpec:!1,virama:0,basePos:"Last",rephPos:gs.Before_Post,rephMode:"Implicit",blwfMode:"Pre_And_Post"},Devanagari:{hasOldSpec:!0,virama:2381,basePos:"Last",rephPos:gs.Before_Post,rephMode:"Implicit",blwfMode:"Pre_And_Post"},Bengali:{hasOldSpec:!0,virama:2509,basePos:"Last",rephPos:gs.After_Sub,rephMode:"Implicit",blwfMode:"Pre_And_Post"},Gurmukhi:{hasOldSpec:!0,virama:2637,basePos:"Last",rephPos:gs.Before_Sub,rephMode:"Implicit",blwfMode:"Pre_And_Post"},Gujarati:{hasOldSpec:!0,virama:2765,basePos:"Last",rephPos:gs.Before_Post,rephMode:"Implicit",blwfMode:"Pre_And_Post"},Oriya:{hasOldSpec:!0,virama:2893,basePos:"Last",rephPos:gs.After_Main,rephMode:"Implicit",blwfMode:"Pre_And_Post"},Tamil:{hasOldSpec:!0,virama:3021,basePos:"Last",rephPos:gs.After_Post,rephMode:"Implicit",blwfMode:"Pre_And_Post"},Telugu:{hasOldSpec:!0,virama:3149,basePos:"Last",rephPos:gs.After_Post,rephMode:"Explicit",blwfMode:"Post_Only"},Kannada:{hasOldSpec:!0,virama:3277,basePos:"Last",rephPos:gs.After_Post,rephMode:"Implicit",blwfMode:"Post_Only"},Malayalam:{hasOldSpec:!0,virama:3405,basePos:"Last",rephPos:gs.After_Main,rephMode:"Log_Repha",blwfMode:"Pre_And_Post"},Khmer:{hasOldSpec:!1,virama:6098,basePos:"First",rephPos:gs.Ra_To_Become_Reph,rephMode:"Vis_Repha",blwfMode:"Pre_And_Post"}},ws={6078:[6081,6078],6079:[6081,6079],6080:[6081,6080],6084:[6081,6084],6085:[6081,6085]},{decompositions:xs}=We(fs),Cs=new Ae(No("AAARAAAAAABg2AAAAWYPmfDtnXuMXFUdx+/uzs7M7szudAtECGJRIMRQbUAithQWkGAKiVhNpFVRRAmIQVCDkDYICGotIA9BTCz8IeUviv7BQ2PBtBIRLBBQIWAUsKg1BKxRAqIgfs/cc+aeOXPej3tnZX7JJ/dxzj3nd36/8753Z5fUsuxgsAwcAU4Gp4BPgM+Cd4P3RjieDs4GXwLrHJ5bDy4DG8A14LvgZrAZbAF3gns0z18ALgY/B78C94NHwBPgabAE/AX8DbwM5sF/QX0yD5vFcU/wVnAgWAoOAyvAceBE8CGwBpwGzgJfAF8BXwXfAFeC68EmsBlsAXeCreA+8CB4DDwF/gh2gd3gFfAGmKxn2QzYC+wHDgRLweFgJTgWrKrnuq/GcQ04jV6fheN54EJwEbgcXAG+Q8O/j+Mt4DZwB9haz8t9Hz3a8iCN/xiOvwRP0evH6fE68AzOH+Ke2eWYhw3PcGnuxvkr4A3QaGRZB7wFLAEHg2XgiEZ/fHKcp/ceBh/A+cngFPCpRm6vM3E8l8a5gN67GMdvgqsbeX2ap9yI601gM7gN3AG20mfuo8cdOP6GpvdUg9oKxz839GV90RDO2/glxN1B790NXsN1rZll7WYRdw+c70uvTwIHNAfTO0RyL5TDmnnbc3lmRQI9UnM0dD5eovfz4FpJ/BNpXNYWV+N6Lfg0hY97JK1vn+Pur9DoQur2F7m436bHDUK8C5t5/8vruo4+97WmXG+GLmzEiBF+PDwEOowYMWLEiBEjRoxYeBw5BDqIPEfXut9yWN+vVNxfrnnmWqR/PdgENoMt4E5wD9gOHgCPgifBs2BXM99b2o3jP8F/wMRUlrXAHNgHvH0q3895J46HguXgWHAGLctmLv9VuL96qnp7jxgxYsSbCbJvuRZ97/tqxT59VVRtixEjRsThBG7OSt5zzoPT0M+cBc4T5noXOs79TqLHeZrHUeCSqeJ96gacXy2kecNU8V6Hh7yXuQlhtw7B/PO1RTkr52Aj8JNFZjYg3gOKuC/g/v6Ls2wNuAY8urg//PcIb+6RZXuDNeCS6SzbBrJWlh0DLiFHco8ed9IjzzvaWfa9sZzTcf6D9mCcnbg3PlNcH4fzS8F2MDaLdQG4dLZIJxbbaZqv4ri8k58f3+mPs66T6/TTzqDeI0aMGDGiHP5dcR8ce/xxYcWi6vOfr725uRzcjnngXVOD61Hync+9uL+Nmyfej/NHpvL56A5Jeuz7uyfo+pqcPz2Vf1NH0ttJ03pekt8SmuY/EPYy9zzbN319ym/9TL6ZIt9MHCXRdxJtoAkWTRdz472n87D9cTwYLJvuz++I6WIePo/zE8AHp4v8WLyP0nufnM6/+zoDx8+DL08P6r9+urheRtO+jD6/cdrsx3mqu8w+xH4PScKIXa5D2jeCm8Et4DbwI/BjcC/4BXgI/Bb8DuwEu8Bu8Ap4A9RaRZptnO8J9gUHgEPAoWA5OLY1qMO90GEV7q+mYWtxPBWcIYnL4p+DsPNbxfVFOP86uAr8DNc34HgTDb8Vx9sVaRFI/LtagzYjnCqpb908EX87eBA8Bh4Hf2jle/9/wvGFVv787rrZZy8h7qtgDOuFOmiBuXYRvg/O9wMHgXeB97SLspk4sq0OI/q9v13+ek+sh3zYSRp9jrYorw9ll1/GRzR+KotYZSHf8laVP2lvpA/8OGdPMk59hqtXZ+L8nHbxvWwqO65ryu+fT3VZz+l4dET7L0R072ljsMyzTpaJqQxsbL8M9WajY789DO85XMp/Dcp3Qztdn+9qf/a97ZWK8PXc3G+TpC/nv8Mncy7ZvICF302P5O+aNiOtLdTXd+D4Q7DVwfcvWvx9zTEJ/o5iG3R8YAjGNFseha5PGuZKz7b7xxXbOrXMcu5eJSo//rXdH/73Enz6L1q/X+fyIu8wZGtNBmkjkzNZNgP2AvuBg2bysKUzduXn/66JtNeN4PCZvO0/x7Ujdn4VnYOvRJzjZ/I+9sQZeftX2Tc1RPcPz/Tf4/si0g+t5Mq+kfZjZL34Mc5ul3PPnE7TOxvHK2qDaZ+L++db2HyYqMo/qVnb/P8uH8/rmnFxR0k6DCu/rjj/RxT7KGUSWgbd+LMQuEgYB1zsk2qtvJD8v5AhdfdttbEunSxbcJD9Zf7chqp1Hlbe7FK1/aPVTfp7FgtC1yGGiSncFK/DhZvi+epZta0WWjlsfDZMyPRdSPrryqSSKnXx1bkq/Ye9TlRpk7Lrjq1UrfdC9X+MtKqwP6+3a/4pJFUZF0pZZpv91MYjMBaRRXbxpho5zQmUY3F+Pt4o7rvQrBXPdm00TaE24uMadaM2meLSI7iu071t3er3b6ZLi8JEde3qw+6zGv+ycF5kaRBh/m1T/7Yl/mMyTuMwadP4xL9ifjJpNwbvDZRJ8G8vnqV/Wf12aa/kyOdl69+BspTsXzGueE6E+JfZnvmXIfNPW+FfXkjb1YmqPNpnLP3b61fHCj/X5tzGANf2y3yqvC7Jv7btV4TVbdammI9l/g0dS5lNxLrk2j9r8xjjxhBQnygg0lgg/bOrfyct+udJi/Yrk0lFnxC7f+5kRbsNmcexfrubt0X/rGvLqrGSnYv3ZPHEe8r7lvMvUfi2LOu/2dg8LrRtQt2yfcv8r5IU70VkIs6nbebUXf0M/o7Znl39Sdoz+X1oEb5N8ffF67qhPfPP6eoUbxf+GRf/6sRnvaSdmw+Bf1VxmbD+2sa//DU7t/Gv2PfKpKdrBP92Ojk+IvqX16ks/2qxbL8EZnc2HqsgYuqPuzZV+I3RbujbDm+T0PmWCVO/5jqftp1zy+wSA6s0JWtp2z5e1oZV+yMsjB3ZXolsv0Ulrv01v3/iKrF94Qtbt9siCnmeb6fjjf59KnLk1xaEbvtvFnFirGvEOqmycQrbm/IMsXd3P28uh4nM3swXRER717OiX8kc7K2qqyn2p3maFGU/aruP5VCv+PraoTYU8yUmmbDwcYo6pusnM486xdoga4dkPCb1pK7Sfc6ebvkd4qeAtQcd/N63bB3lU3dlUnUf38VyvqCqK7JxlNSd7lydrDlm+/uqHiRvl30Nrp/n9zpkZRjoJ3V1diyP05rIYXHYs+w+D5+WMS8b5gZtKcuX0KT5d/WwtB97VnyvY6rjMukI56HI0rFJPwt8PjT/1OXzSbcMeEmdh294qvKK4rNu7j4n3LNZg8TKXwafv025U+XvKjHsT8Q7/7LGaJt9lAh7Asz3uv0XEX6t0duDoWN/93wmh92XpUHmCKb9GALbG+rZP3AfNbQPKKv/jpF/bP0JXfuW1QYk7dhljcyvk5mw+933Hpo1g26PQ2ZP6zVmTJt47P25jncD9vPwGS+q9QS/V6RaY8j8K8LmvUr9HfYCpH5OWL9lZY+Sv6pesHCJHbtrf9k6etZvf0G1L0ja4cAe1UT/s3zdCe3/Q5/n372wMc97/E1Qh0Tbmfwh3m/V9On72tNnrCF1sJkVe1EyXMdBa7+lHMsk44zMF6St9e2djNnbm8ybpHkq+gbbemMaH0UZmD8obKGrk7r+nt+3bE7o83YZp/vqOKdv6PzJNN6mTJsI/51XR7i2ZrGA5B6zFwnjzxmqPjaGfW3tZNrz1eljq29mOOqeCfF/irRt87PNw0uXSVAvrmOMNT569MptsYaV0sic/wbY13e8hPrb9K2ySUJ0j6G/Lu0U4qpTrR23jMp6m5hU+YTaWCeh9aIsm/rqUHV4bFv42kgnZdfH1PUj1D7DVH9d8khRN1zFRl/+/TW//qxL1uH83+mk3H+SvRtS2TDU90nX2TpM6/1xzZpZtoYdK763dqlz0f6uNeFehcs+H/nbGP77MpX06n/ofpzP+tVmTUvRtVuX/cjS67OE5kRBrxyJ+w/dPo7r+9cO1160e3gqu0S2uW7PjN/L6ns/UfMf10Lai87frJ+3KndAfc8yTf1M3T4s6qm4/yh7/2GSkG8UMw//DvRLgbYZSEOxr0LCWvRdjfh9XGzfqN4NivfZd7rsmFp08zmbssrKJEuTfVMZopdpbuwSrhNv3/N2s+0PDG3KNB6RMrFvJHv6B85HXObAoWsd3zm3i+6uZYytv+5+pohbpo6+tpZJFfmGlrcMf4c8b1Pe2OUIsaXJrinCTfaxtZOt+NYnU3hIfQlN20Z/1+dt7JaqLsbIzycNWZmrlNg2Dc2/LJ1T+T6WrrYSml4Ku7ik7yIx2opJD51vU9UfVRmrqL8u/olZj0PyCLV5irxcdKoi/6rKb8qTrHsnhW9jyZH/nSpeWDzxd9769uQ016lgUuf2pAfKPhu2FpfZL2Yb9snLNl/fNIepXaUsj4vNXCXUZ75px8ojNP8UPvAta2g6fb+F1ckZuneshv1vGXXDeyRRrN/bBPS1Jul+l+7zW86R7Wv63WXyDpt/RxraRjvC+TC3O61/Sqj/prag8x372yQivn+XwudrI2X2E2KdtJEov52e0L+uv4FO3p/rvssgsL8F4d/z9PzlWS94m8fqS3361Fi+6qaVYHwi9Yz4iH2fobIj+45cpz/TUaarr/4+z+vaWtVtyAX2d1LG8W9C3f+F1mnf36/k4w3YPrLv+XBVXCJs3cr+n4MKJuLv/fN9GhNdXVP5pJMN9vFi3rpv3/r8Ywg3SYp66zNOsO8QGcxPpnmRS/1mvmJjju3v7absI2xspQrvs1dNbjOj/wP7h1RlZyKGy8occ408UL8En4v6xfC/K3z52XzJd62T8vuZGGsxo/6O46ntmNqqFb/jps2/hHV4rPKH0svT4pstU7t2tZ9u/ZdqbJL1MwP6O86Fyt4jYaIrGz9mjEt8lFL4PtVE6votG2P6fpdf/GZRse7s3bf4BtSl/DIbKMctx++Z+8o6K6z9FPOwKsRmXiaNl7C+6NYRpjlbqG1j72f49qsuY4brd/amb4ZVc8TQ+sSH985LrEe8iPWJnfPrJRbWbb+dwn4x6o+r/aS2S7w3qWt//LnYz2ntE0vH1uDcyKatx1rH+EiMPEN1SZG/iz6+9o01Rob6O7Q+xLZ1jHobK61U+pWVvo2EpuWqzzD6Poa+pvhli0wn8Zq/72Mzm2d90o5VN1x9ZKuzbTgvqWwUIin8FSpl1CXXvFRxU0iozVPYJDRtF3uFphn6XAyJUUdD7SjTJ8v6n9fVbVObkKWp001lc9VRlqdOf5v0ZM+bymdbfp1NfG0bq27Y5JMyfxeJkU6o/inKH8O2Zfgidb6h/g3VJ7QcVbWL0Pxt6rlrPqa4KfQ25a2zl4/E8GdM/4fK/wA=")),Ss=new Ue(We(hs));class ks extends ca{static planFeatures(e){var t;e.addStage(Ps),e.addStage(["locl","ccmp"]),e.addStage(Ns),e.addStage("nukt"),e.addStage("akhn"),e.addStage("rphf",!1),e.addStage("rkrf"),e.addStage("pref",!1),e.addStage("blwf",!1),e.addStage("abvf",!1),e.addStage("half",!1),e.addStage("pstf",!1),e.addStage("vatu"),e.addStage("cjct"),e.addStage("cfar",!1),e.addStage(Ms),e.addStage({local:["init"],global:["pres","abvs","blws","psts","haln","dist","abvm","blwm","calt","clig"]}),e.unicodeScript=(t=e.script,Qo[t]),e.indicConfig=bs[e.unicodeScript]||bs.Default,e.isOldSpec=e.indicConfig.hasOldSpec&&"2"!==e.script[e.script.length-1]}static assignFeatures(e,t){for(let n=t.length-1;n>=0;n--){let r=t[n].codePoints[0],i=ws[r]||xs[r];if(i){let r=i.map((r=>{let i=e.font.glyphForCodePoint(r);return new Ia(e.font,i.id,[r],t[n].features)}));t.splice(n,1,...r)}}}}function Es(e){return Cs.get(e.codePoints[0])>>8}function Is(e){return 1<<(255&Cs.get(e.codePoints[0]))}me(ks,"zeroMarkWidths","NONE");class _s{constructor(e,t,n,r){this.category=e,this.position=t,this.syllableType=n,this.syllable=r}}function Ps(e,t){let n=0,r=0;for(let[i,o,a]of Ss.match(t.map(Es))){if(i>r){++n;for(let e=r;e<i;e++)t[e].shaperInfo=new _s(ms.X,gs.End,"non_indic_cluster",n)}++n;for(let e=i;e<=o;e++)t[e].shaperInfo=new _s(1<<Es(t[e]),Is(t[e]),a[0],n);r=o+1}if(r<t.length){++n;for(let e=r;e<t.length;e++)t[e].shaperInfo=new _s(ms.X,gs.End,"non_indic_cluster",n)}}function Os(e){return e.shaperInfo.category&vs}function Ts(e){return e.shaperInfo.category&ys}function Ds(e){return e.shaperInfo.category&As}function js(e,t){for(let n of e)n.features={[t]:!0};return e[0]._font._layoutEngine.engine.GSUBProcessor.applyFeatures([t],e),1===e.length}function Bs(e,t,n){let r=[n,t,n];return js(r.slice(0,2),"blwf")||js(r.slice(1,3),"blwf")?gs.Below_C:js(r.slice(0,2),"pstf")||js(r.slice(1,3),"pstf")||js(r.slice(0,2),"pref")||js(r.slice(1,3),"pref")?gs.Post_C:gs.Base_C}function Ns(e,t,n){let r=n.indicConfig,i=e._layoutEngine.engine.GSUBProcessor.features,o=e.glyphForCodePoint(9676).id,a=e.glyphForCodePoint(r.virama).id;if(a){let n=new Ia(e,a,[r.virama]);for(let e=0;e<t.length;e++)t[e].shaperInfo.position===gs.Base_C&&(t[e].shaperInfo.position=Bs(0,t[e].copy(),n))}for(let s=0,l=Rs(t,0);s<t.length;s=l,l=Rs(t,s)){let{category:a,syllableType:c}=t[s].shaperInfo;if("symbol_cluster"===c||"non_indic_cluster"===c)continue;if("broken_cluster"===c&&o){let n=new Ia(e,o,[9676]);n.shaperInfo=new _s(1<<Es(n),Is(n),t[s].shaperInfo.syllableType,t[s].shaperInfo.syllable);let r=s;for(;r<l&&t[r].shaperInfo.category===ms.Repha;)r++;t.splice(r++,0,n),l++}let u=l,d=s,p=!1;if(r.rephPos!==gs.Ra_To_Become_Reph&&i.rphf&&s+3<=l&&("Implicit"===r.rephMode&&!Ts(t[s+2])||"Explicit"===r.rephMode&&t[s+2].shaperInfo.category===ms.ZWJ)){let e=[t[s].copy(),t[s+1].copy(),t[s+2].copy()];if(js(e.slice(0,2),"rphf")||"Explicit"===r.rephMode&&js(e,"rphf")){for(d+=2;d<l&&Ts(t[d]);)d++;u=s,p=!0}}else if("Log_Repha"===r.rephMode&&t[s].shaperInfo.category===ms.Repha){for(d++;d<l&&Ts(t[d]);)d++;u=s,p=!0}switch(r.basePos){case"Last":{let e=l,n=!1;do{let r=t[--e].shaperInfo;if(Os(t[e])){if(r.position!==gs.Below_C&&(r.position!==gs.Post_C||n)){u=e;break}r.position===gs.Below_C&&(n=!0),u=e}else if(s<e&&r.category===ms.ZWJ&&t[e-1].shaperInfo.category===ms.H)break}while(e>d);break}case"First":u=s;for(let e=u+1;e<l;e++)Os(t[e])&&(t[e].shaperInfo.position=gs.Below_C)}p&&u===s&&d-u<=2&&(p=!1);for(let e=s;e<u;e++){let n=t[e].shaperInfo;n.position=Math.min(gs.Pre_C,n.position)}u<l&&(t[u].shaperInfo.position=gs.Base_C);for(let e=u+1;e<l;e++)if(t[e].shaperInfo.category===ms.M){for(let n=e+1;n<l;n++)if(Os(t[n])){t[n].shaperInfo.position=gs.Final_C;break}break}if(p&&(t[s].shaperInfo.position=gs.Ra_To_Become_Reph),n.isOldSpec){let e="Malayalam"!==n.unicodeScript;for(let n=u+1;n<l;n++)if(t[n].shaperInfo.category===ms.H){let r;for(r=l-1;r>n&&!(Os(t[r])||e&&t[r].shaperInfo.category===ms.H);r--);if(t[r].shaperInfo.category!==ms.H&&r>n){let e=t[n];t.splice(n,0,...t.splice(n+1,r-n)),t[r]=e}break}}let h=gs.Start;for(let e=s;e<l;e++){let n=t[e].shaperInfo;if(n.category&(ys|ms.N|ms.RS|ms.CM|As&n.category)){if(n.position=h,n.category===ms.H&&n.position===gs.Pre_M)for(let r=e;r>s;r--)if(t[r-1].shaperInfo.position!==gs.Pre_M){n.position=t[r-1].shaperInfo.position;break}}else n.position!==gs.SMVD&&(h=n.position)}let f=u;for(let e=u+1;e<l;e++)if(Os(t[e])){for(let n=f+1;n<e;n++)t[n].shaperInfo.position<gs.SMVD&&(t[n].shaperInfo.position=t[e].shaperInfo.position);f=e}else t[e].shaperInfo.category===ms.M&&(f=e);let m=t.slice(s,l);m.sort(((e,t)=>e.shaperInfo.position-t.shaperInfo.position)),t.splice(s,m.length,...m);for(let e=s;e<l;e++)if(t[e].shaperInfo.position===gs.Base_C){u=e;break}for(let e=s;e<l&&t[e].shaperInfo.position===gs.Ra_To_Become_Reph;e++)t[e].features.rphf=!0;let g=!n.isOldSpec&&"Pre_And_Post"===r.blwfMode;for(let e=s;e<u;e++)t[e].features.half=!0,g&&(t[e].features.blwf=!0);for(let e=u+1;e<l;e++)t[e].features.abvf=!0,t[e].features.pstf=!0,t[e].features.blwf=!0;if(n.isOldSpec&&"Devanagari"===n.unicodeScript)for(let e=s;e+1<u;e++)t[e].shaperInfo.category!==ms.Ra||t[e+1].shaperInfo.category!==ms.H||e+1!==u&&t[e+2].shaperInfo.category!==ms.ZWJ||(t[e].features.blwf=!0,t[e+1].features.blwf=!0);let v=2;if(i.pref&&u+v<l)for(let e=u+1;e+v-1<l;e++){if(js([t[e].copy(),t[e+1].copy()],"pref")){for(let n=0;n<v;n++)t[e++].features.pref=!0;if(i.cfar)for(;e<l;e++)t[e].features.cfar=!0;break}}for(let e=s+1;e<l;e++)if(Ts(t[e])){let n=t[e].shaperInfo.category===ms.ZWNJ,r=e;do{r--,n&&delete t[r].features.half}while(r>s&&!Os(t[r]))}}}function Ms(e,t,n){let r=n.indicConfig,i=e._layoutEngine.engine.GSUBProcessor.features;for(let o=0,a=Rs(t,0);o<t.length;o=a,a=Rs(t,o)){let e=!!i.pref,s=o;for(;s<a;s++)if(t[s].shaperInfo.position>=gs.Base_C){if(e&&s+1<a)for(let n=s+1;n<a;n++)if(t[n].features.pref){if(!t[n].substituted||!t[n].isLigated||t[n].isMultiplied){for(s=n;s<a&&Ds(t[s]);)s++;t[s].shaperInfo.position=gs.BASE_C,e=!1}break}if("Malayalam"===n.unicodeScript)for(let e=s+1;e<a;e++){for(;e<a&&Ts(t[e]);)e++;if(e===a||!Ds(t[e]))break;for(e++;e<a&&Ts(t[e]);)e++;e<a&&Os(t[e])&&t[e].shaperInfo.position===gs.Below_C&&(s=e,t[s].shaperInfo.position=gs.Base_C)}o<s&&t[s].shaperInfo.position>gs.Base_C&&s--;break}if(s===a&&o<s&&t[s-1].shaperInfo.category===ms.ZWJ&&s--,s<a)for(;o<s&&t[s].shaperInfo.category&(ms.N|As);)s--;if(o+1<a&&o<s){let e=s===a?s-2:s-1;if("Malayalam"!==n.unicodeScript&&"Tamil"!==n.unicodeScript){for(;e>o&&!(t[e].shaperInfo.category&(ms.M|As));)e--;Ds(t[e])&&t[e].shaperInfo.position!==gs.Pre_M?e+1<a&&Ts(t[e+1])&&e++:e=o}if(o<e&&t[e].shaperInfo.position!==gs.Pre_M)for(let n=e;n>o;n--)if(t[n-1].shaperInfo.position===gs.Pre_M){let r=n-1;r<s&&s<=e&&s--;let i=t[r];t.splice(r,0,...t.splice(r+1,e-r)),t[e]=i,e--}}if(o+1<a&&t[o].shaperInfo.position===gs.Ra_To_Become_Reph&&t[o].shaperInfo.category===ms.Repha!==(t[o].isLigated&&!t[o].isMultiplied)){let e,n=r.rephPos,i=!1;if(n!==gs.After_Post){for(e=o+1;e<s&&!Ds(t[e]);)e++;if(e<s&&Ds(t[e])&&(e+1<s&&Ts(t[e+1])&&e++,i=!0),!i&&n===gs.After_Main){for(e=s;e+1<a&&t[e+1].shaperInfo.position<=gs.After_Main;)e++;i=e<a}if(!i&&n===gs.After_Sub){for(e=s;e+1<a&&!(t[e+1].shaperInfo.position&(gs.Post_C|gs.After_Post|gs.SMVD));)e++;i=e<a}}if(!i){for(e=o+1;e<s&&!Ds(t[e]);)e++;e<s&&Ds(t[e])&&(e+1<s&&Ts(t[e+1])&&e++,i=!0)}if(!i){for(e=a-1;e>o&&t[e].shaperInfo.position===gs.SMVD;)e--;if(Ds(t[e]))for(let n=s+1;n<e;n++)t[n].shaperInfo.category===ms.M&&e--}let l=t[o];t.splice(o,0,...t.splice(o+1,e-o)),t[e]=l,o<s&&s<=e&&s--}if(e&&s+1<a)for(let r=s+1;r<a;r++)if(t[r].features.pref){if(t[r].isLigated&&!t[r].isMultiplied){let e=s;if("Malayalam"!==n.unicodeScript&&"Tamil"!==n.unicodeScript){for(;e>o&&!(t[e-1].shaperInfo.category&(ms.M|As));)e--;if(e>o&&t[e-1].shaperInfo.category===ms.M){let n=r;for(let r=s+1;r<n;r++)if(t[r].shaperInfo.category===ms.M){e--;break}}}e>o&&Ds(t[e-1])&&e<a&&Ts(t[e])&&e++;let i=r,l=t[i];t.splice(e+1,0,...t.splice(e,i-e)),t[e]=l,e<=s&&s<i&&s++}break}t[o].shaperInfo.position!==gs.Pre_M||o&&/Cf|Mn/.test(Me(t[o-1].codePoints[0]))||(t[o].features.init=!0)}}function Rs(e,t){if(t>=e.length)return t;let n=e[t].shaperInfo.syllable;for(;++t<e.length&&e[t].shaperInfo.syllable===n;);return t}const{categories:Ls,decompositions:Fs}=We(fs),zs=new Ae(No("AAACAAAAAAAQugAAAQUO+vHtnHuMX0UVx2d3u/t7bXe7FlqgvB+mpQhFmhikMRAg0ZQmakMU+cPWBzZisEGNjUpoiIYCEgmGUGOEGqOVNPUZUGNA+QNIBU2KREEFFSMBUYRISMXE+B3vnPzOzp553tcWfif5ZO5jnufMzJ2ZO/eumlDqFLAWnAMuBBvBZnC5uXZeBe4WsA1sBzs8/naCXcL1G8GtYDfYA74NvgfuAfcZHmT+fwEeBb8DTwvxPQWeAavACyZvq8z9VYxXwCGglijVBcvACnA8eCM4E6wHG8BF4BLwbvA+8AHwUbAd7AA7wS5wC9gN7gR7wX5wN7gXPAAeBr8Gvwd/Ac+CF8EhoCaV6oBZsBKcAE4FZ0wWeV8P9zxwoTnfCHczuBxsAdvAx8Gnzf1r4X4B3AxuA1+bHJb9m5PzdVGW/Yjv+xXHyfmxFfd9OH8Q/Ar8Bjw1WZT3GfACeAX8N5CfqSmlZsAKsGqqCH8K3DXgbHCuuXYB3HeAd4HLpgrdarbi+EPgY+CT4HPg8ybMTcb9MtyvghtYut/A+b4pf95+ELgfw08Qx/3gADgInjDl0veehPtX8A/wsrn2KtzxDuogWNoJx38k/BzXKeI8Ee5qcBZYD9aZtDbg+AwT19uMX83F7JizCdcvBZdZ97c6/BMfMWmfzfTm88/95aLj+DDSvApcDXZ04uPfaen3TMHPLvi5BezuFPVtD4t/qUcfe3FvP7gb3Ouwo9T+H+gMy/UIjh8DfwBPm7T08d/M8WMBe1Sh3xEjXo+M2s+IESNGjBgxYsSI1wLrOsM1gRsi/P+TzV3/Zc1jvxgR/j8IM9Et1mEGcJeDFeA4cJq5/ia467uF/w1wzwdvB+80998LdwvYZs63w90Bdnbd6Wp/uzz3R4wYMWJEvZzTMm2Xf8SIEfVQd/v+EsaPt3eL90J3wP2WMJ78Trd4t6+P77Hu37cIxp9/ny6YXqrUJeCR6TA74e/nll81MzxejeMtYA94HBwy91bPYow+O/S3A8d7oIM/gRN7CAP29Iqx/B1ThfuwOecM+vA3NmRjf6Gfm3BtH7v+PI7XDpS6EuwDz4O10+0/f9om1F4ehO4OmHp6EO7jxl56nvhsN/15ut+4Z0b657yYkZ7UJ0jhX0bcr3bn+6P87vekN4762QNzvWHZtL+jcH5srzg/uTf0f3pvfj5i+6tYW7rK9+aefO+tuL4BXAQ2gs3gPeBJc//9OL4CXAWuNvc/A64DN4Jbwe0s7jtxvBfsAz8EPwX3gwPgoJAHPQ9/Atf/bO7p/TTP4fglwS/5/zfujfWH5z0cz4Gj+8X5Sf1ib4m+vwbHZ/fdOtP+z+3LOnPp/QL4vxhsApeCy8BWk/a2ftFmYu22Hf4/Ba4B14Hrwc0sP7fh+Cvg6+Au8F1WthA/8pT7UeTxZ/12njkuXT8UyM9i6iur1EEb6f+yPz/eg0b3v4X7x365fMaW42lPu7PTv6vi8i/G+lWF/cvUk7bLl1r+5/rN5tu3j2qvWTd/qV+4h+AqjDGnBsX59GDo94iBXDa6v6Yjl6vu+h8itJcsZq/ZykHhHg/3tMHhUe9s/Yfuny7YNxTvQ8LYdrER2+/c0GBezhrMv3ZNRv7PmYirh7oOv4W1Y72/cwPOzx8U7X8d2295sfE3MPnbBPfSQbHv9nK4HxTqiK/trI7Yy5mLzvuVg/nX+N7V51A3r+gMy/4J434W7l2dYf5PZWGuNX6uh3uzEPetuLY7sZ20zTETY2oxyBhj3DrnfsidYPeXRGLHpxzX6pbFofGRkFBdGhcgW40L4cYtd9JAElO36q4LEzXHX7VMtZ2BEhJjy9dT25fazOtJxhwsBrHzwfu8w12kMYN9fLhIbp2RxlI59rX1dzjpsKl2Fxt3iu6rbofc9q5+KcRrXVzzDn6/Crvk6p/y1GFgGhs9/6maHjBLgv8/18fTxl1q0bPoW8ywsFTGWaazHosrNn/kP2eeqEroZYLZphsZl7L82eephMIqNT8dyT9JjH1Jpg32ubZvTB/SF665ymSnnaqjUHum+1Qn+NyOtz9f2r6y5OQ51b6hYy0D40r2tYXar30+Y/mbVX6JqY+hMC60XZapoh3S/HdOpT3DYu3rs0lKnquyb277JZvyPlqp+f1zVVK2/dJYNpQGf04uYyh1+PTPqfalZ2tO/xwSu+3bOrDzmWvfcTW/fLmibRx6lkvlcOlc8qsE/y5/rnSk67F1iAu1VT6+4jKt5tufn8e2b+n57JKcckhrsKG1Cd6Wu+Y8tf2l5DenPafqQZ/7xstKLeyr+XnInjSelvRgS9n27JPQM5n6Am7jmLG8VK6m7OvyS2L313XYV2r/tth5LWPfNxhyhI+1Up7HVbe/HMgeZE8brtNQ/7tcyX0cn//H2LTO9kpir5VI6yYp9szJW9W2jI1Tqfl5ic2v1GZ5XaG6RDZbyvxMO/DVh1SdUj5y1vraaHs+2/TYNXvtSRoXk4wrf9w6fEctnFt0zL2y+xFsfSrLza2zOTqMiZv8xOpbn8+xsL5ykdj6VsxNKb/Lvxb7nX8u48y1x6yuMW3V9tNxTlouzXslibVxndjC14xda8g2NIbg5x01XAP2lfeIBFSi/zrQEporTXru8fCueiy1CUnqrhspSM9SzbSS64tep9R1ZsZcOxKsUEUfNZeYtr0vjY5DeXW915hT8/PRV8MxlR1HV4DHZZc9R7dzajgWoXikdLtGr0uEfPigsGS/NvYjSHW87XejoXZehZ74XrcqpQ4d5T5f7Gu8f6g7fQmefoqOqk4/VarQv2o4/VDetPDnhjR2dc3BCBp/9NVw7KGfwStVMf6aZNAajj6224j9HCZbpZa/LvH1gU30i/q5WnUdSNEprxv2eIOwx2pcjjLMsmObo008k0J4u69P3d9QdbspW/dy080Nb8PXqcrmj0vsc7tu6qwD1A5oLYr3U3XWSxqj6/a10nCMkudJMyxvrvbK55jUrqU+Xlr/Iai98jY7mVAml5QNHxq31j2m5TrSdmp6z5p+9kpzQntdQbI1Pafr6I9C60gxrALHGtdF6tyhLTtxeBuW+hhqyzPMX931xl6rJ5f6n5h3blpsW7vKbvdBfL1gpYfjDLrvob1drrRT+mcuMf1OrJSdW/P+RfufdUB+pOtdTzhpL5t0jfKr46P3obQfQdPGt1jS+DEkx4MT2PmEg1j72OthqfZNWX+JuZ4at/2sTAmn5cSIMqZIjk0pnD0+aUI6YS9ekdaspWsp8cWEC62dS66UTkq+ypajyvXSlPz4xhQhm/ns6wpXBVI560jHN9aKkdT46spvWT916rONdHNsGSNtl6Hp8oakTVukpF9n3U3Jx0TNefbp3R4jltVfFfpvQkJpNaH/puyco++qbZPz7sE1L3DFGVovc4XPLUPO3ELyrzLiSpmPhaTJfqeJ+t60PiTh9snNW2656upDQ+Wtyg6ueJquB7HSVPspW9a28lDWJouhb6iyv7XjTfVL67j2vjDpvUfMt1Vl4GvctMaeq/vYcFWXIfV5Ku3XaxK951H6dsWFrhcxa3pU/pz3C1xc71tTcaXjGjtJbYIj7UHm7wxSyx+D/d7SfpfJ3wPpfSQp32tS2dt8V2tD7+Bce3rpPa3eC6Dr8Ulq+K+J3HFvbn312Zv2RdStr9g0pP0P/B04XbP3Q8cIT2dlRF6orkrhY/Rv27FqHfL1DP480ffo/V6V7aTHXLKDbTdXOOrnyG1ScvSv6xqve30lPzdpj36M8Pilb+L5vr0xE3dd30nWIfZ45uSSxK4x+CRmTUK6F/LrSsfnj+aOdYyvpXyMK7/OpHWjlDTsa0rJum5K7Ppnj7F9c+0q0qtr7pQji2X9oMwcVrJfmblwU2V2SV3rEk3YuO46XXf8MfrQz077G2zftyDkj/ZqhcZr9nldkOg5ykAt3GunJbR3NGYsUfWafd3ts853C4dLHppOM6WcfM5C+xSbaC/2HMa1H9v1vXdoXm/LKSVpYh5wqmr/X67SfwHtPc9a97p/k8bt0hpbW0j1Svr2m+7Rd98qIQ1pvSF273dKOjHYNmk6fd8/JX3tWIddblBqoU5p7zrZKnd9TppjVq0DSitWqkwz12b2exb7vwjaRvS/TFd/S+8AYvIo+Suri5TwvvZRdV1IQevQ1/8SA+UeH5eto7n/X1Oe86ptaafl8kPjcF7P7W93eD9d5n+oSvn7fFe7I/G9q1IBfylSR71N6fft94ZU18hOXKR+JqUO8f4+5dvLsmWlMQb/Vov+CUDlpTGUndeQlG3fdZWdRPoPgl3mmDlsLnaey/4X3tVuU+o6L3/Pym+qlLV/jk6rlBRd8394hZ6JdnuqIv2ykOh3pfq96Wkq/E8qu2xl88/tOJ4R3tfmpbGi3c5T859bzqr7MbsN03iI5itUNj5eaEKWqIX/KJCQ/iFWNZMmHXs8ovWk53JzFq5vPul6zDjLV36pX7bzvNzB0YlQOZephWtRS5T7eeSq8030R77/HvC1d7tN83Zt9yltrDdwSR0XxsZd5l+MvvvU1/M9jSnj+Nh6FPJbBld/w6XHXH5MZeXrOfS/65g9RTl1JCa8chzX2RZ9/3lXSh4/VqWfEBNq4b82Ytp6m+9Qqxir1jX+rfPdT1vvsWhM6bPbmON6E1LnPCZW7L0qqXswmtqf0MQelZj4myrzYtzvIYmURlvtqapyx+gzRfd0XPfahVSOquMoG+dibBdl46iyfdbV1qvUW9m8+KTudMvkzZe/pqTJ+pWTflX5zw1fVfox6ZTVc8hvHflOSb+OuG1JsZ0kufXAJf8D")),Qs=new Ue(We(fs));class Us extends ca{static planFeatures(e){e.addStage(qs),e.addStage(["locl","ccmp","nukt","akhn"]),e.addStage(Hs),e.addStage(["rphf"],!1),e.addStage(Ws),e.addStage(Hs),e.addStage(["pref"]),e.addStage(Ys),e.addStage(["rkrf","abvf","blwf","half","pstf","vatu","cjct"]),e.addStage(Ks),e.addStage(["abvs","blws","pres","psts","dist","abvm","blwm"])}static assignFeatures(e,t){for(let n=t.length-1;n>=0;n--){let r=t[n].codePoints[0];if(Fs[r]){let i=Fs[r].map((r=>{let i=e.font.glyphForCodePoint(r);return new Ia(e.font,i.id,[r],t[n].features)}));t.splice(n,1,...i)}}}}function Vs(e){return zs.get(e.codePoints[0])}me(Us,"zeroMarkWidths","BEFORE_GPOS");class Gs{constructor(e,t,n){this.category=e,this.syllableType=t,this.syllable=n}}function qs(e,t){let n=0;for(let[r,i,o]of Qs.match(t.map(Vs))){++n;for(let a=r;a<=i;a++)t[a].shaperInfo=new Gs(Ls[Vs(t[a])],o[0],n);let e="R"===t[r].shaperInfo.category?1:Math.min(3,i-r);for(let n=r;n<r+e;n++)t[n].features.rphf=!0}}function Hs(e,t){for(let n of t)n.substituted=!1}function Ws(e,t){for(let n of t)n.substituted&&n.features.rphf&&(n.shaperInfo.category="R")}function Ys(e,t){for(let n of t)n.substituted&&(n.shaperInfo.category="VPre")}function Ks(e,t){let n=e.glyphForCodePoint(9676).id;for(let r=0,i=Js(t,0);r<t.length;r=i,i=Js(t,r)){let o,a,s=t[r].shaperInfo,l=s.syllableType;if("virama_terminated_cluster"===l||"standard_cluster"===l||"broken_cluster"===l){if("broken_cluster"===l&&n){let a=new Ia(e,n,[9676]);for(a.shaperInfo=s,o=r;o<i&&"R"===t[o].shaperInfo.category;o++);t.splice(++o,0,a),i++}if("R"===s.category&&i-r>1)for(o=r+1;o<i;o++)if(s=t[o].shaperInfo,Zs(s)||Xs(t[o])){Xs(t[o])&&o--,t.splice(r,0,...t.splice(r+1,o-r),t[o]);break}for(o=r,a=i;o<i;o++)s=t[o].shaperInfo,Zs(s)||Xs(t[o])?a=Xs(t[o])?o+1:o:("VPre"===s.category||"VMPre"===s.category)&&a<o&&t.splice(a,1,t[o],...t.splice(a,o-a))}}}function Js(e,t){if(t>=e.length)return t;let n=e[t].shaperInfo.syllable;for(;++t<e.length&&e[t].shaperInfo.syllable===n;);return t}function Xs(e){return"H"===e.shaperInfo.category&&!e.isLigated}function Zs(e){return"B"===e.category||"GB"===e.category}const $s={arab:xa,mong:xa,syrc:xa,"nko ":xa,phag:xa,mand:xa,mani:xa,phlp:xa,hang:_a,bng2:ks,beng:ks,dev2:ks,deva:ks,gjr2:ks,gujr:ks,guru:ks,gur2:ks,knda:ks,knd2:ks,mlm2:ks,mlym:ks,ory2:ks,orya:ks,taml:ks,tml2:ks,telu:ks,tel2:ks,khmr:ks,bali:Us,batk:Us,brah:Us,bugi:Us,buhd:Us,cakm:Us,cham:Us,dupl:Us,egyp:Us,gran:Us,hano:Us,java:Us,kthi:Us,kali:Us,khar:Us,khoj:Us,sind:Us,lepc:Us,limb:Us,mahj:Us,mtei:Us,modi:Us,hmng:Us,rjng:Us,saur:Us,shrd:Us,sidd:Us,sinh:ks,sund:Us,sylo:Us,tglg:Us,tagb:Us,tale:Us,lana:Us,tavt:Us,takr:Us,tibt:Us,tfng:Us,tirh:Us,latn:ca,DFLT:ca};class el extends Ea{applyLookup(e,t){switch(e){case 1:{let e=this.coverageIndex(t.coverage);if(-1===e)return!1;let n=this.glyphIterator.cur;switch(t.version){case 1:n.id=n.id+t.deltaGlyphID&65535;break;case 2:n.id=t.substitute.get(e)}return!0}case 2:{let e=this.coverageIndex(t.coverage);if(-1!==e){let n=t.sequences.get(e);if(0===n.length)return this.glyphs.splice(this.glyphIterator.index,1),!0;this.glyphIterator.cur.id=n[0],this.glyphIterator.cur.ligatureComponent=0;let r=this.glyphIterator.cur.features,i=this.glyphIterator.cur,o=n.slice(1).map(((e,t)=>{let n=new Ia(this.font,e,void 0,r);return n.shaperInfo=i.shaperInfo,n.isLigated=i.isLigated,n.ligatureComponent=t+1,n.substituted=!0,n.isMultiplied=!0,n}));return this.glyphs.splice(this.glyphIterator.index+1,0,...o),!0}return!1}case 3:{let e=this.coverageIndex(t.coverage);if(-1!==e){let n=0;return this.glyphIterator.cur.id=t.alternateSet.get(e)[n],!0}return!1}case 4:{let e=this.coverageIndex(t.coverage);if(-1===e)return!1;for(let r of t.ligatureSets.get(e)){let e=this.sequenceMatchIndices(1,r.components);if(!e)continue;let t=this.glyphIterator.cur,i=t.codePoints.slice();for(let n of e)i.push(...this.glyphs[n].codePoints);let o=new Ia(this.font,r.glyph,i,t.features);o.shaperInfo=t.shaperInfo,o.isLigated=!0,o.substituted=!0;let a=t.isMark;for(let n=0;n<e.length&&a;n++)a=this.glyphs[e[n]].isMark;o.ligatureID=a?null:this.ligatureID++;let s=t.ligatureID,l=t.codePoints.length,c=l,u=this.glyphIterator.index+1;for(let r of e){if(a)u=r;else for(;u<r;){var n=c-l+Math.min(this.glyphs[u].ligatureComponent||1,l);this.glyphs[u].ligatureID=o.ligatureID,this.glyphs[u].ligatureComponent=n,u++}s=this.glyphs[u].ligatureID,l=this.glyphs[u].codePoints.length,c+=l,u++}if(s&&!a)for(let r=u;r<this.glyphs.length&&this.glyphs[r].ligatureID===s;r++){n=c-l+Math.min(this.glyphs[r].ligatureComponent||1,l);this.glyphs[r].ligatureComponent=n}for(let n=e.length-1;n>=0;n--)this.glyphs.splice(e[n],1);return this.glyphs[this.glyphIterator.index]=o,!0}return!1}case 5:return this.applyContext(t);case 6:return this.applyChainingContext(t);case 7:return this.applyLookup(t.lookupType,t.extension);default:throw new Error(`GSUB lookupType ${e} is not supported`)}}}class tl extends Ea{applyPositionValue(e,t){let n=this.positions[this.glyphIterator.peekIndex(e)];null!=t.xAdvance&&(n.xAdvance+=t.xAdvance),null!=t.yAdvance&&(n.yAdvance+=t.yAdvance),null!=t.xPlacement&&(n.xOffset+=t.xPlacement),null!=t.yPlacement&&(n.yOffset+=t.yPlacement);let r=this.font._variationProcessor,i=this.font.GDEF&&this.font.GDEF.itemVariationStore;r&&i&&(t.xPlaDevice&&(n.xOffset+=r.getDelta(i,t.xPlaDevice.a,t.xPlaDevice.b)),t.yPlaDevice&&(n.yOffset+=r.getDelta(i,t.yPlaDevice.a,t.yPlaDevice.b)),t.xAdvDevice&&(n.xAdvance+=r.getDelta(i,t.xAdvDevice.a,t.xAdvDevice.b)),t.yAdvDevice&&(n.yAdvance+=r.getDelta(i,t.yAdvDevice.a,t.yAdvDevice.b)))}applyLookup(e,t){switch(e){case 1:{let e=this.coverageIndex(t.coverage);if(-1===e)return!1;switch(t.version){case 1:this.applyPositionValue(0,t.value);break;case 2:this.applyPositionValue(0,t.values.get(e))}return!0}case 2:{let e=this.glyphIterator.peek();if(!e)return!1;let r=this.coverageIndex(t.coverage);if(-1===r)return!1;switch(t.version){case 1:let i=t.pairSets.get(r);for(let t of i)if(t.secondGlyph===e.id)return this.applyPositionValue(0,t.value1),this.applyPositionValue(1,t.value2),!0;return!1;case 2:let o=this.getClassID(this.glyphIterator.cur.id,t.classDef1),a=this.getClassID(e.id,t.classDef2);if(-1===o||-1===a)return!1;var n=t.classRecords.get(o).get(a);return this.applyPositionValue(0,n.value1),this.applyPositionValue(1,n.value2),!0}}case 3:{let e=this.glyphIterator.peekIndex(),n=this.glyphs[e];if(!n)return!1;let r=t.entryExitRecords[this.coverageIndex(t.coverage)];if(!r||!r.exitAnchor)return!1;let i=t.entryExitRecords[this.coverageIndex(t.coverage,n.id)];if(!i||!i.entryAnchor)return!1;let o,a=this.getAnchor(i.entryAnchor),s=this.getAnchor(r.exitAnchor),l=this.positions[this.glyphIterator.index],c=this.positions[e];switch(this.direction){case"ltr":l.xAdvance=s.x+l.xOffset,o=a.x+c.xOffset,c.xAdvance-=o,c.xOffset-=o;break;case"rtl":o=s.x+l.xOffset,l.xAdvance-=o,l.xOffset-=o,c.xAdvance=a.x+c.xOffset}return this.glyphIterator.flags.rightToLeft?(this.glyphIterator.cur.cursiveAttachment=e,l.yOffset=a.y-s.y):(n.cursiveAttachment=this.glyphIterator.index,l.yOffset=s.y-a.y),!0}case 4:{let e=this.coverageIndex(t.markCoverage);if(-1===e)return!1;let n=this.glyphIterator.index;for(;--n>=0&&(this.glyphs[n].isMark||this.glyphs[n].ligatureComponent>0););if(n<0)return!1;let r=this.coverageIndex(t.baseCoverage,this.glyphs[n].id);if(-1===r)return!1;let i=t.markArray[e],o=t.baseArray[r][i.class];return this.applyAnchor(i,o,n),!0}case 5:{let e=this.coverageIndex(t.markCoverage);if(-1===e)return!1;let n=this.glyphIterator.index;for(;--n>=0&&this.glyphs[n].isMark;);if(n<0)return!1;let r=this.coverageIndex(t.ligatureCoverage,this.glyphs[n].id);if(-1===r)return!1;let i=t.ligatureArray[r],o=this.glyphIterator.cur,a=this.glyphs[n],s=a.ligatureID&&a.ligatureID===o.ligatureID&&o.ligatureComponent>0?Math.min(o.ligatureComponent,a.codePoints.length)-1:a.codePoints.length-1,l=t.markArray[e],c=i[s][l.class];return this.applyAnchor(l,c,n),!0}case 6:{let e=this.coverageIndex(t.mark1Coverage);if(-1===e)return!1;let n=this.glyphIterator.peekIndex(-1),r=this.glyphs[n];if(!r||!r.isMark)return!1;let i=this.glyphIterator.cur,o=!1;if(i.ligatureID===r.ligatureID?i.ligatureID?i.ligatureComponent===r.ligatureComponent&&(o=!0):o=!0:(i.ligatureID&&!i.ligatureComponent||r.ligatureID&&!r.ligatureComponent)&&(o=!0),!o)return!1;let a=this.coverageIndex(t.mark2Coverage,r.id);if(-1===a)return!1;let s=t.mark1Array[e],l=t.mark2Array[a][s.class];return this.applyAnchor(s,l,n),!0}case 7:return this.applyContext(t);case 8:return this.applyChainingContext(t);case 9:return this.applyLookup(t.lookupType,t.extension);default:throw new Error(`Unsupported GPOS table: ${e}`)}}applyAnchor(e,t,n){let r=this.getAnchor(t),i=this.getAnchor(e.markAnchor),o=(this.positions[n],this.positions[this.glyphIterator.index]);o.xOffset=r.x-i.x,o.yOffset=r.y-i.y,this.glyphIterator.cur.markAttachment=n}getAnchor(e){let t=e.xCoordinate,n=e.yCoordinate,r=this.font._variationProcessor,i=this.font.GDEF&&this.font.GDEF.itemVariationStore;return r&&i&&(e.xDeviceTable&&(t+=r.getDelta(i,e.xDeviceTable.a,e.xDeviceTable.b)),e.yDeviceTable&&(n+=r.getDelta(i,e.yDeviceTable.a,e.yDeviceTable.b))),{x:t,y:n}}applyFeatures(e,t,n){super.applyFeatures(e,t,n);for(var r=0;r<this.glyphs.length;r++)this.fixCursiveAttachment(r);this.fixMarkAttachment()}fixCursiveAttachment(e){let t=this.glyphs[e];if(null!=t.cursiveAttachment){let n=t.cursiveAttachment;t.cursiveAttachment=null,this.fixCursiveAttachment(n),this.positions[e].yOffset+=this.positions[n].yOffset}}fixMarkAttachment(){for(let e=0;e<this.glyphs.length;e++){let t=this.glyphs[e];if(null!=t.markAttachment){let n=t.markAttachment;if(this.positions[e].xOffset+=this.positions[n].xOffset,this.positions[e].yOffset+=this.positions[n].yOffset,"ltr"===this.direction)for(let t=n;t<e;t++)this.positions[e].xOffset-=this.positions[t].xAdvance,this.positions[e].yOffset-=this.positions[t].yAdvance;else for(let t=n+1;t<e+1;t++)this.positions[e].xOffset+=this.positions[t].xAdvance,this.positions[e].yOffset+=this.positions[t].yAdvance}}}}class nl{setup(e){this.glyphInfos=e.glyphs.map((e=>new Ia(this.font,e.id,[...e.codePoints])));let t=null;this.GPOSProcessor&&(t=this.GPOSProcessor.selectScript(e.script,e.language,e.direction)),this.GSUBProcessor&&(t=this.GSUBProcessor.selectScript(e.script,e.language,e.direction)),this.shaper=function(e){Array.isArray(e)||(e=[e]);for(let t of e){let e=$s[t];if(e)return e}return ca}(t),this.plan=new ra(this.font,t,e.direction),this.shaper.plan(this.plan,this.glyphInfos,e.features);for(let n in this.plan.allFeatures)e.features[n]=!0}substitute(e){this.GSUBProcessor&&(this.plan.process(this.GSUBProcessor,this.glyphInfos),e.glyphs=this.glyphInfos.map((e=>this.font.getGlyph(e.id,e.codePoints))))}position(e){return"BEFORE_GPOS"===this.shaper.zeroMarkWidths&&this.zeroMarkAdvances(e.positions),this.GPOSProcessor&&this.plan.process(this.GPOSProcessor,this.glyphInfos,e.positions),"AFTER_GPOS"===this.shaper.zeroMarkWidths&&this.zeroMarkAdvances(e.positions),"rtl"===e.direction&&(e.glyphs.reverse(),e.positions.reverse()),this.GPOSProcessor&&this.GPOSProcessor.features}zeroMarkAdvances(e){for(let t=0;t<this.glyphInfos.length;t++)this.glyphInfos[t].isMark&&(e[t].xAdvance=0,e[t].yAdvance=0)}cleanup(){this.glyphInfos=null,this.plan=null,this.shaper=null}getAvailableFeatures(e,t){let n=[];return this.GSUBProcessor&&(this.GSUBProcessor.selectScript(e,t),n.push(...Object.keys(this.GSUBProcessor.features))),this.GPOSProcessor&&(this.GPOSProcessor.selectScript(e,t),n.push(...Object.keys(this.GPOSProcessor.features))),n}constructor(e){this.font=e,this.glyphInfos=null,this.plan=null,this.GSUBProcessor=null,this.GPOSProcessor=null,this.fallbackPosition=!0,e.GSUB&&(this.GSUBProcessor=new el(e,e.GSUB)),e.GPOS&&(this.GPOSProcessor=new tl(e,e.GPOS))}}class rl{layout(e,t,n,r,i){if("string"===typeof t&&(i=r,r=n,n=t,t=[]),"string"===typeof e){null==n&&(n=function(e){let t=e.length,n=0;for(;n<t;){let r=e.charCodeAt(n++);if(55296<=r&&r<=56319&&n<t){let t=e.charCodeAt(n);56320<=t&&t<=57343&&(n++,r=((1023&r)<<10)+(1023&t)+65536)}let i=Le(r);if("Common"!==i&&"Inherited"!==i&&"Unknown"!==i)return zo[i]}return zo.Unknown}(e));var o=this.font.glyphsForString(e)}else{if(null==n){let t=[];for(let n of e)t.push(...n.codePoints);n=function(e){for(let t=0;t<e.length;t++){let n=Le(e[t]);if("Common"!==n&&"Inherited"!==n&&"Unknown"!==n)return zo[n]}return zo.Unknown}(t)}o=e}let a=new Go(o,t,n,r,i);return 0===o.length?(a.positions=[],a):(this.engine&&this.engine.setup&&this.engine.setup(a),this.substitute(a),this.position(a),this.hideDefaultIgnorables(a.glyphs,a.positions),this.engine&&this.engine.cleanup&&this.engine.cleanup(),a)}substitute(e){this.engine&&this.engine.substitute&&this.engine.substitute(e)}position(e){e.positions=e.glyphs.map((e=>new qo(e.advanceWidth)));let t=null;this.engine&&this.engine.position&&(t=this.engine.position(e)),t||this.engine&&!this.engine.fallbackPosition||(this.unicodeLayoutEngine||(this.unicodeLayoutEngine=new Lo(this.font)),this.unicodeLayoutEngine.positionGlyphs(e.glyphs,e.positions)),t&&t.kern||!1===e.features.kern||!this.font.kern||(this.kernProcessor||(this.kernProcessor=new Ro(this.font)),this.kernProcessor.process(e.glyphs,e.positions),e.features.kern=!0)}hideDefaultIgnorables(e,t){let n=this.font.glyphForCodePoint(32);for(let r=0;r<e.length;r++)this.isDefaultIgnorable(e[r].codePoints[0])&&(e[r]=n,t[r].xAdvance=0,t[r].yAdvance=0)}isDefaultIgnorable(e){let t=e>>16;if(0===t)switch(e>>8){case 0:return 173===e;case 3:return 847===e;case 6:return 1564===e;case 23:return 6068<=e&&e<=6069;case 24:return 6155<=e&&e<=6158;case 32:return 8203<=e&&e<=8207||8234<=e&&e<=8238||8288<=e&&e<=8303;case 254:return 65024<=e&&e<=65039||65279===e;case 255:return 65520<=e&&e<=65528;default:return!1}else switch(t){case 1:return 113824<=e&&e<=113827||119155<=e&&e<=119162;case 14:return 917504<=e&&e<=921599;default:return!1}}getAvailableFeatures(e,t){let n=[];return this.engine&&n.push(...this.engine.getAvailableFeatures(e,t)),this.font.kern&&-1===n.indexOf("kern")&&n.push("kern"),n}stringsForGlyph(e){let t=new Set,n=this.font._cmapProcessor.codePointsForGlyph(e);for(let r of n)t.add(String.fromCodePoint(r));if(this.engine&&this.engine.stringsForGlyph)for(let r of this.engine.stringsForGlyph(e))t.add(r);return Array.from(t)}constructor(e){this.font=e,this.unicodeLayoutEngine=null,this.kernProcessor=null,this.font.morx?this.engine=new na(this.font):(this.font.GSUB||this.font.GPOS)&&(this.engine=new nl(this.font))}}const il={moveTo:"M",lineTo:"L",quadraticCurveTo:"Q",bezierCurveTo:"C",closePath:"Z"};class ol{toFunction(){return e=>{this.commands.forEach((t=>e[t.command].apply(e,t.args)))}}toSVG(){return this.commands.map((e=>{let t=e.args.map((e=>Math.round(100*e)/100));return`${il[e.command]}${t.join(" ")}`})).join("")}get cbox(){if(!this._cbox){let e=new Fo;for(let t of this.commands)for(let n=0;n<t.args.length;n+=2)e.addPoint(t.args[n],t.args[n+1]);this._cbox=Object.freeze(e)}return this._cbox}get bbox(){if(this._bbox)return this._bbox;let e=new Fo,t=0,n=0,r=e=>Math.pow(1-e,3)*p[g]+3*Math.pow(1-e,2)*e*h[g]+3*(1-e)*Math.pow(e,2)*f[g]+Math.pow(e,3)*m[g];for(let v of this.commands)switch(v.command){case"moveTo":case"lineTo":let[y,A]=v.args;e.addPoint(y,A),t=y,n=A;break;case"quadraticCurveTo":case"bezierCurveTo":if("quadraticCurveTo"===v.command)var[i,o,a,s]=v.args,l=t+2/3*(i-t),c=n+2/3*(o-n),u=a+2/3*(i-a),d=s+2/3*(o-s);else var[l,c,u,d,a,s]=v.args;e.addPoint(a,s);for(var p=[t,n],h=[l,c],f=[u,d],m=[a,s],g=0;g<=1;g++){let t=6*p[g]-12*h[g]+6*f[g],n=-3*p[g]+9*h[g]-9*f[g]+3*m[g];if(v=3*h[g]-3*p[g],0===n){if(0===t)continue;let n=-v/t;0<n&&n<1&&(0===g?e.addPoint(r(n),e.maxY):1===g&&e.addPoint(e.maxX,r(n)));continue}let i=Math.pow(t,2)-4*v*n;if(i<0)continue;let o=(-t+Math.sqrt(i))/(2*n);0<o&&o<1&&(0===g?e.addPoint(r(o),e.maxY):1===g&&e.addPoint(e.maxX,r(o)));let a=(-t-Math.sqrt(i))/(2*n);0<a&&a<1&&(0===g?e.addPoint(r(a),e.maxY):1===g&&e.addPoint(e.maxX,r(a)))}t=a,n=s}return this._bbox=Object.freeze(e)}mapPoints(e){let t=new ol;for(let n of this.commands){let r=[];for(let t=0;t<n.args.length;t+=2){let[i,o]=e(n.args[t],n.args[t+1]);r.push(i,o)}t[n.command](...r)}return t}transform(e,t,n,r,i,o){return this.mapPoints(((a,s)=>[e*a+n*s+i,t*a+r*s+o]))}translate(e,t){return this.transform(1,0,0,1,e,t)}rotate(e){let t=Math.cos(e),n=Math.sin(e);return this.transform(t,n,-n,t,0,0)}scale(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e;return this.transform(e,0,0,t,0,0)}constructor(){this.commands=[],this._bbox=null,this._cbox=null}}for(let TT of["moveTo","lineTo","quadraticCurveTo","bezierCurveTo","closePath"])ol.prototype[TT]=function(){this._bbox=this._cbox=null;for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.commands.push({command:TT,args:t}),this};var al=[".notdef",".null","nonmarkingreturn","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quotesingle","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","bracketleft","backslash","bracketright","asciicircum","underscore","grave","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","braceleft","bar","braceright","asciitilde","Adieresis","Aring","Ccedilla","Eacute","Ntilde","Odieresis","Udieresis","aacute","agrave","acircumflex","adieresis","atilde","aring","ccedilla","eacute","egrave","ecircumflex","edieresis","iacute","igrave","icircumflex","idieresis","ntilde","oacute","ograve","ocircumflex","odieresis","otilde","uacute","ugrave","ucircumflex","udieresis","dagger","degree","cent","sterling","section","bullet","paragraph","germandbls","registered","copyright","trademark","acute","dieresis","notequal","AE","Oslash","infinity","plusminus","lessequal","greaterequal","yen","mu","partialdiff","summation","product","pi","integral","ordfeminine","ordmasculine","Omega","ae","oslash","questiondown","exclamdown","logicalnot","radical","florin","approxequal","Delta","guillemotleft","guillemotright","ellipsis","nonbreakingspace","Agrave","Atilde","Otilde","OE","oe","endash","emdash","quotedblleft","quotedblright","quoteleft","quoteright","divide","lozenge","ydieresis","Ydieresis","fraction","currency","guilsinglleft","guilsinglright","fi","fl","daggerdbl","periodcentered","quotesinglbase","quotedblbase","perthousand","Acircumflex","Ecircumflex","Aacute","Edieresis","Egrave","Iacute","Icircumflex","Idieresis","Igrave","Oacute","Ocircumflex","apple","Ograve","Uacute","Ucircumflex","Ugrave","dotlessi","circumflex","tilde","macron","breve","dotaccent","ring","cedilla","hungarumlaut","ogonek","caron","Lslash","lslash","Scaron","scaron","Zcaron","zcaron","brokenbar","Eth","eth","Yacute","yacute","Thorn","thorn","minus","multiply","onesuperior","twosuperior","threesuperior","onehalf","onequarter","threequarters","franc","Gbreve","gbreve","Idotaccent","Scedilla","scedilla","Cacute","cacute","Ccaron","ccaron","dcroat"];class sl{_getPath(){return new ol}_getCBox(){return this.path.cbox}_getBBox(){return this.path.bbox}_getTableMetrics(e){if(this.id<e.metrics.length)return e.metrics.get(this.id);let t=e.metrics.get(e.metrics.length-1);return{advance:t?t.advance:0,bearing:e.bearings.get(this.id-e.metrics.length)||0}}_getMetrics(e){if(this._metrics)return this._metrics;let{advance:t,bearing:n}=this._getTableMetrics(this._font.hmtx);if(this._font.vmtx)var{advance:r,bearing:i}=this._getTableMetrics(this._font.vmtx);else{let t;if("undefined"!==typeof e&&null!==e||({cbox:e}=this),(t=this._font["OS/2"])&&t.version>0)r=Math.abs(t.typoAscender-t.typoDescender),i=t.typoAscender-e.maxY;else{let{hhea:t}=this._font;var r=Math.abs(t.ascent-t.descent),i=t.ascent-e.maxY}}return this._font._variationProcessor&&this._font.HVAR&&(t+=this._font._variationProcessor.getAdvanceAdjustment(this.id,this._font.HVAR)),this._metrics={advanceWidth:t,advanceHeight:r,leftBearing:n,topBearing:i}}get cbox(){return this._getCBox()}get bbox(){return this._getBBox()}get path(){return this._getPath()}getScaledPath(e){let t=1/this._font.unitsPerEm*e;return this.path.scale(t)}get advanceWidth(){return this._getMetrics().advanceWidth}get advanceHeight(){return this._getMetrics().advanceHeight}get ligatureCaretPositions(){}_getName(){let{post:e}=this._font;if(!e)return null;switch(e.version){case 1:return al[this.id];case 2:let t=e.glyphNameIndex[this.id];return t<al.length?al[t]:e.names[t-al.length];case 2.5:return al[this.id+e.offsets[this.id]];case 4:return String.fromCharCode(e.map[this.id])}}get name(){return this._getName()}render(e,t){e.save();let n=1/this._font.head.unitsPerEm*t;e.scale(n,n),this.path.toFunction()(e),e.fill(),e.restore()}constructor(e,t,n){this.id=e,this.codePoints=t,this._font=n,this.isMark=this.codePoints.length>0&&this.codePoints.every(ze),this.isLigature=this.codePoints.length>1}}ge([tt],sl.prototype,"cbox",null),ge([tt],sl.prototype,"bbox",null),ge([tt],sl.prototype,"path",null),ge([tt],sl.prototype,"advanceWidth",null),ge([tt],sl.prototype,"advanceHeight",null),ge([tt],sl.prototype,"name",null);let ll=new de({numberOfContours:Y,xMin:Y,yMin:Y,xMax:Y,yMax:Y});class cl{copy(){return new cl(this.onCurve,this.endContour,this.x,this.y)}constructor(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;this.onCurve=e,this.endContour=t,this.x=n,this.y=r}}class ul{constructor(e,t,n){this.glyphID=e,this.dx=t,this.dy=n,this.pos=0,this.scaleX=this.scaleY=1,this.scale01=this.scale10=0}}class dl extends sl{_getCBox(e){if(this._font._variationProcessor&&!e)return this.path.cbox;let t=this._font._getTableStream("glyf");t.pos+=this._font.loca.offsets[this.id];let n=ll.decode(t),r=new Fo(n.xMin,n.yMin,n.xMax,n.yMax);return Object.freeze(r)}_parseGlyphCoord(e,t,n,r){if(n){var i=e.readUInt8();r||(i=-i),i+=t}else if(r)i=t;else i=t+e.readInt16BE();return i}_decode(){let e=this._font.loca.offsets[this.id];if(e===this._font.loca.offsets[this.id+1])return null;let t=this._font._getTableStream("glyf");t.pos+=e;let n=t.pos,r=ll.decode(t);return r.numberOfContours>0?this._decodeSimple(r,t):r.numberOfContours<0&&this._decodeComposite(r,t,n),r}_decodeSimple(e,t){e.points=[];let n=new te(Q,e.numberOfContours).decode(t);e.instructions=new te(F,Q).decode(t);let r=[],i=n[n.length-1]+1;for(;r.length<i;){var o=t.readUInt8();if(r.push(o),8&o){let e=t.readUInt8();for(let t=0;t<e;t++)r.push(o)}}for(var a=0;a<r.length;a++){o=r[a];let t=new cl(!!(1&o),n.indexOf(a)>=0,0,0);e.points.push(t)}let s=0;for(a=0;a<r.length;a++){o=r[a];e.points[a].x=s=this._parseGlyphCoord(t,s,2&o,16&o)}let l=0;for(a=0;a<r.length;a++){o=r[a];e.points[a].y=l=this._parseGlyphCoord(t,l,4&o,32&o)}if(this._font._variationProcessor){let t=e.points.slice();t.push(...this._getPhantomPoints(e)),this._font._variationProcessor.transformPoints(this.id,t),e.phantomPoints=t.slice(-4)}}_decodeComposite(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;e.components=[];let r=!1,i=32;for(;32&i;){i=t.readUInt16BE();let l=t.pos-n,c=t.readUInt16BE();if(r||(r=0!==(256&i)),1&i)var o=t.readInt16BE(),a=t.readInt16BE();else o=t.readInt8(),a=t.readInt8();(s=new ul(c,o,a)).pos=l,8&i?s.scaleX=s.scaleY=(t.readUInt8()<<24|t.readUInt8()<<16)/1073741824:64&i?(s.scaleX=(t.readUInt8()<<24|t.readUInt8()<<16)/1073741824,s.scaleY=(t.readUInt8()<<24|t.readUInt8()<<16)/1073741824):128&i&&(s.scaleX=(t.readUInt8()<<24|t.readUInt8()<<16)/1073741824,s.scale01=(t.readUInt8()<<24|t.readUInt8()<<16)/1073741824,s.scale10=(t.readUInt8()<<24|t.readUInt8()<<16)/1073741824,s.scaleY=(t.readUInt8()<<24|t.readUInt8()<<16)/1073741824),e.components.push(s)}if(this._font._variationProcessor){let t=[];for(let n=0;n<e.components.length;n++){var s=e.components[n];t.push(new cl(!0,!0,s.dx,s.dy))}t.push(...this._getPhantomPoints(e)),this._font._variationProcessor.transformPoints(this.id,t),e.phantomPoints=t.splice(-4,4);for(let n=0;n<t.length;n++){let r=t[n];e.components[n].dx=r.x,e.components[n].dy=r.y}}return r}_getPhantomPoints(e){let t=this._getCBox(!0);null==this._metrics&&(this._metrics=sl.prototype._getMetrics.call(this,t));let{advanceWidth:n,advanceHeight:r,leftBearing:i,topBearing:o}=this._metrics;return[new cl(!1,!0,e.xMin-i,0),new cl(!1,!0,e.xMin-i+n,0),new cl(!1,!0,0,e.yMax+o),new cl(!1,!0,0,e.yMax+o+r)]}_getContours(){let e=this._decode();if(!e)return[];let t=[];if(e.numberOfContours<0)for(let o of e.components){let e=this._font.getGlyph(o.glyphID)._getContours();for(let n=0;n<e.length;n++){let r=e[n];for(let e=0;e<r.length;e++){let n=r[e],i=n.x*o.scaleX+n.y*o.scale01+o.dx,a=n.y*o.scaleY+n.x*o.scale10+o.dy;t.push(new cl(n.onCurve,n.endContour,i,a))}}}else t=e.points||[];e.phantomPoints&&!this._font.directory.tables.HVAR&&(this._metrics.advanceWidth=e.phantomPoints[1].x-e.phantomPoints[0].x,this._metrics.advanceHeight=e.phantomPoints[3].y-e.phantomPoints[2].y,this._metrics.leftBearing=e.xMin-e.phantomPoints[0].x,this._metrics.topBearing=e.phantomPoints[2].y-e.yMax);let n=[],r=[];for(let o=0;o<t.length;o++){var i=t[o];r.push(i),i.endContour&&(n.push(r),r=[])}return n}_getMetrics(){if(this._metrics)return this._metrics;let e=this._getCBox(!0);return super._getMetrics(e),this._font._variationProcessor&&!this._font.HVAR&&this.path,this._metrics}_getPath(){let e=this._getContours(),t=new ol;for(let r=0;r<e.length;r++){let i=e[r],o=i[0],a=i[i.length-1],s=0;if(o.onCurve){var n=null;s=1}else{o=a.onCurve?a:new cl(!1,!1,(o.x+a.x)/2,(o.y+a.y)/2);n=o}t.moveTo(o.x,o.y);for(let e=s;e<i.length;e++){let r=i[e],a=0===e?o:i[e-1];if(a.onCurve&&r.onCurve)t.lineTo(r.x,r.y);else if(a.onCurve&&!r.onCurve)n=r;else if(a.onCurve||r.onCurve){if(a.onCurve||!r.onCurve)throw new Error("Unknown TTF path state");t.quadraticCurveTo(n.x,n.y,r.x,r.y);n=null}else{let e=(a.x+r.x)/2,i=(a.y+r.y)/2;t.quadraticCurveTo(a.x,a.y,e,i);var n=r}}n&&t.quadraticCurveTo(n.x,n.y,o.x,o.y),t.closePath()}return t}constructor(){super(...arguments),me(this,"type","TTF")}}class pl extends sl{_getName(){return this._font.CFF2?super._getName():this._font["CFF "].getGlyphName(this.id)}bias(e){return e.length<1240?107:e.length<33900?1131:32768}_getPath(){let e=this._font.CFF2||this._font["CFF "],{stream:t}=e,n=e.topDict.CharStrings[this.id],r=n.offset+n.length;t.pos=n.offset;let i,o,a=new ol,s=[],l=[],c=null,u=0,d=0,p=0,h=!1;this._usedGsubrs=i={},this._usedSubrs=o={};let f=e.globalSubrIndex||[],m=this.bias(f),g=e.privateDictForGlyph(this.id)||{},v=g.Subrs||[],y=this.bias(v),A=e.topDict.vstore&&e.topDict.vstore.itemVariationStore,b=g.vsindex,w=this._font._variationProcessor;function x(){null==c&&(c=s.shift()+g.nominalWidthX)}function C(){return s.length%2!==0&&x(),u+=s.length>>1,s.length=0}function S(e,t){h&&a.closePath(),a.moveTo(e,t),h=!0}let k=function(){for(;t.pos<r;){let g=t.readUInt8();if(g<32){let c,E,I,_,P,O,T,D,j,B,N,M,R,L,F,z;switch(g){case 1:case 3:case 18:case 23:C();break;case 4:s.length>1&&x(),p+=s.shift(),S(d,p);break;case 5:for(;s.length>=2;)d+=s.shift(),p+=s.shift(),a.lineTo(d,p);break;case 6:case 7:for(I=6===g;s.length>=1;)I?d+=s.shift():p+=s.shift(),a.lineTo(d,p),I=!I;break;case 8:for(;s.length>0;)_=d+s.shift(),P=p+s.shift(),O=_+s.shift(),T=P+s.shift(),d=O+s.shift(),p=T+s.shift(),a.bezierCurveTo(_,P,O,T,d,p);break;case 10:if(c=s.pop()+y,E=v[c],E){o[c]=!0;let e=t.pos,n=r;t.pos=E.offset,r=E.offset+E.length,k(),t.pos=e,r=n}break;case 11:if(e.version>=2)break;return;case 14:if(e.version>=2)break;s.length>0&&x(),h&&(a.closePath(),h=!1);break;case 15:if(e.version<2)throw new Error("vsindex operator not supported in CFF v1");b=s.pop();break;case 16:{if(e.version<2)throw new Error("blend operator not supported in CFF v1");if(!w)throw new Error("blend operator in non-variation font");let t=w.getBlendVector(A,b),n=s.pop(),r=n*t.length,i=s.length-r,o=i-n;for(let e=0;e<n;e++){let n=s[o+e];for(let e=0;e<t.length;e++)n+=t[e]*s[i++];s[o+e]=n}for(;r--;)s.pop();break}case 19:case 20:C(),t.pos+=u+7>>3;break;case 21:s.length>2&&x(),d+=s.shift(),p+=s.shift(),S(d,p);break;case 22:s.length>1&&x(),d+=s.shift(),S(d,p);break;case 24:for(;s.length>=8;)_=d+s.shift(),P=p+s.shift(),O=_+s.shift(),T=P+s.shift(),d=O+s.shift(),p=T+s.shift(),a.bezierCurveTo(_,P,O,T,d,p);d+=s.shift(),p+=s.shift(),a.lineTo(d,p);break;case 25:for(;s.length>=8;)d+=s.shift(),p+=s.shift(),a.lineTo(d,p);_=d+s.shift(),P=p+s.shift(),O=_+s.shift(),T=P+s.shift(),d=O+s.shift(),p=T+s.shift(),a.bezierCurveTo(_,P,O,T,d,p);break;case 26:for(s.length%2&&(d+=s.shift());s.length>=4;)_=d,P=p+s.shift(),O=_+s.shift(),T=P+s.shift(),d=O,p=T+s.shift(),a.bezierCurveTo(_,P,O,T,d,p);break;case 27:for(s.length%2&&(p+=s.shift());s.length>=4;)_=d+s.shift(),P=p,O=_+s.shift(),T=P+s.shift(),d=O+s.shift(),p=T,a.bezierCurveTo(_,P,O,T,d,p);break;case 28:s.push(t.readInt16BE());break;case 29:if(c=s.pop()+m,E=f[c],E){i[c]=!0;let e=t.pos,n=r;t.pos=E.offset,r=E.offset+E.length,k(),t.pos=e,r=n}break;case 30:case 31:for(I=31===g;s.length>=4;)I?(_=d+s.shift(),P=p,O=_+s.shift(),T=P+s.shift(),p=T+s.shift(),d=O+(1===s.length?s.shift():0)):(_=d,P=p+s.shift(),O=_+s.shift(),T=P+s.shift(),d=O+s.shift(),p=T+(1===s.length?s.shift():0)),a.bezierCurveTo(_,P,O,T,d,p),I=!I;break;case 12:switch(g=t.readUInt8(),g){case 3:let e=s.pop(),t=s.pop();s.push(e&&t?1:0);break;case 4:e=s.pop(),t=s.pop(),s.push(e||t?1:0);break;case 5:e=s.pop(),s.push(e?0:1);break;case 9:e=s.pop(),s.push(Math.abs(e));break;case 10:e=s.pop(),t=s.pop(),s.push(e+t);break;case 11:e=s.pop(),t=s.pop(),s.push(e-t);break;case 12:e=s.pop(),t=s.pop(),s.push(e/t);break;case 14:e=s.pop(),s.push(-e);break;case 15:e=s.pop(),t=s.pop(),s.push(e===t?1:0);break;case 18:s.pop();break;case 20:let r=s.pop(),i=s.pop();l[i]=r;break;case 21:i=s.pop(),s.push(l[i]||0);break;case 22:let o=s.pop(),c=s.pop(),u=s.pop(),h=s.pop();s.push(u<=h?o:c);break;case 23:s.push(Math.random());break;case 24:e=s.pop(),t=s.pop(),s.push(e*t);break;case 26:e=s.pop(),s.push(Math.sqrt(e));break;case 27:e=s.pop(),s.push(e,e);break;case 28:e=s.pop(),t=s.pop(),s.push(t,e);break;case 29:i=s.pop(),i<0?i=0:i>s.length-1&&(i=s.length-1),s.push(s[i]);break;case 30:let f=s.pop(),m=s.pop();if(m>=0)for(;m>0;){var n=s[f-1];for(let e=f-2;e>=0;e--)s[e+1]=s[e];s[0]=n,m--}else for(;m<0;){n=s[0];for(let e=0;e<=f;e++)s[e]=s[e+1];s[f-1]=n,m++}break;case 34:_=d+s.shift(),P=p,O=_+s.shift(),T=P+s.shift(),D=O+s.shift(),j=T,B=D+s.shift(),N=j,M=B+s.shift(),R=N,L=M+s.shift(),F=R,d=L,p=F,a.bezierCurveTo(_,P,O,T,D,j),a.bezierCurveTo(B,N,M,R,L,F);break;case 35:z=[];for(let n=0;n<=5;n++)d+=s.shift(),p+=s.shift(),z.push(d,p);a.bezierCurveTo(...z.slice(0,6)),a.bezierCurveTo(...z.slice(6)),s.shift();break;case 36:_=d+s.shift(),P=p+s.shift(),O=_+s.shift(),T=P+s.shift(),D=O+s.shift(),j=T,B=D+s.shift(),N=j,M=B+s.shift(),R=N+s.shift(),L=M+s.shift(),F=R,d=L,p=F,a.bezierCurveTo(_,P,O,T,D,j),a.bezierCurveTo(B,N,M,R,L,F);break;case 37:let v=d,y=p;z=[];for(let n=0;n<=4;n++)d+=s.shift(),p+=s.shift(),z.push(d,p);Math.abs(d-v)>Math.abs(p-y)?(d+=s.shift(),p=y):(d=v,p+=s.shift()),z.push(d,p),a.bezierCurveTo(...z.slice(0,6)),a.bezierCurveTo(...z.slice(6));break;default:throw new Error(`Unknown op: 12 ${g}`)}break;default:throw new Error(`Unknown op: ${g}`)}}else if(g<247)s.push(g-139);else if(g<251){var c=t.readUInt8();s.push(256*(g-247)+c+108)}else if(g<255){c=t.readUInt8();s.push(256*-(g-251)-c-108)}else s.push(t.readInt32BE()/65536)}};return k(),h&&a.closePath(),a}constructor(){super(...arguments),me(this,"type","CFF")}}let hl=new de({originX:Q,originY:Q,type:new le(4),data:new oe((e=>e.parent.buflen-e._currentOffset))});class fl extends dl{getImageForSize(e){for(let o=0;o<this._font.sbix.imageTables.length;o++){var t=this._font.sbix.imageTables[o];if(t.ppem>=e)break}let n=t.imageOffsets,r=n[this.id],i=n[this.id+1];return r===i?null:(this._font.stream.pos=r,hl.decode(this._font.stream,{buflen:i-r}))}render(e,t){let n=this.getImageForSize(t);if(null!=n){let r=t/this._font.unitsPerEm;e.image(n.data,{height:t,x:n.originX,y:(this.bbox.minY-n.originY)*r})}this._font.sbix.flags.renderOutlines&&super.render(e,t)}constructor(){super(...arguments),me(this,"type","SBIX")}}class ml{constructor(e,t){this.glyph=e,this.color=t}}class gl extends sl{_getBBox(){let e=new Fo;for(let t=0;t<this.layers.length;t++){let n=this.layers[t].glyph.bbox;e.addPoint(n.minX,n.minY),e.addPoint(n.maxX,n.maxY)}return e}get layers(){let e=this._font.CPAL,t=this._font.COLR,n=0,r=t.baseGlyphRecord.length-1;for(;n<=r;){let e=n+r>>1;var i=t.baseGlyphRecord[e];if(this.id<i.gid)r=e-1;else{if(!(this.id>i.gid)){var o=i;break}n=e+1}}if(null==o){var a=this._font._getBaseGlyph(this.id);return[new ml(a,l={red:0,green:0,blue:0,alpha:255})]}let s=[];for(let c=o.firstLayerIndex;c<o.firstLayerIndex+o.numLayers;c++){i=t.layerRecords[c];var l=e.colorRecords[i.paletteIndex];a=this._font._getBaseGlyph(i.gid);s.push(new ml(a,l))}return s}render(e,t){for(let{glyph:n,color:r}of this.layers)e.fillColor([r.red,r.green,r.blue],r.alpha/255*100),n.render(e,t)}constructor(){super(...arguments),me(this,"type","COLR")}}class vl{normalizeCoords(e){let t=[];for(var n=0;n<this.font.fvar.axis.length;n++){let r=this.font.fvar.axis[n];e[n]<r.defaultValue?t.push((e[n]-r.defaultValue+Number.EPSILON)/(r.defaultValue-r.minValue+Number.EPSILON)):t.push((e[n]-r.defaultValue+Number.EPSILON)/(r.maxValue-r.defaultValue+Number.EPSILON))}if(this.font.avar)for(n=0;n<this.font.avar.segment.length;n++){let e=this.font.avar.segment[n];for(let r=0;r<e.correspondence.length;r++){let i=e.correspondence[r];if(r>=1&&t[n]<i.fromCoord){let o=e.correspondence[r-1];t[n]=((t[n]-o.fromCoord)*(i.toCoord-o.toCoord)+Number.EPSILON)/(i.fromCoord-o.fromCoord+Number.EPSILON)+o.toCoord;break}}}return t}transformPoints(e,t){if(!this.font.fvar||!this.font.gvar)return;let{gvar:n}=this.font;if(e>=n.glyphCount)return;let r=n.offsets[e];if(r===n.offsets[e+1])return;let{stream:i}=this.font;if(i.pos=r,i.pos>=i.length)return;let o=i.readUInt16BE(),a=r+i.readUInt16BE();if(32768&o){var s=i.pos;i.pos=a;var l=this.decodePoints();a=i.pos,i.pos=s}let c=t.map((e=>e.copy()));o&=4095;for(let m=0;m<o;m++){let e=i.readUInt16BE(),r=i.readUInt16BE();if(32768&r){var u=[];for(let e=0;e<n.axisCount;e++)u.push(i.readInt16BE()/16384)}else{if((4095&r)>=n.globalCoordCount)throw new Error("Invalid gvar table");u=n.globalCoords[4095&r]}if(16384&r){var d=[];for(let e=0;e<n.axisCount;e++)d.push(i.readInt16BE()/16384);var p=[];for(let e=0;e<n.axisCount;e++)p.push(i.readInt16BE()/16384)}let o=this.tupleFactor(r,u,d,p);if(0===o){a+=e;continue}s=i.pos;if(i.pos=a,8192&r)var h=this.decodePoints();else h=l;let m=0===h.length?t.length:h.length,g=this.decodeDeltas(m),v=this.decodeDeltas(m);if(0===h.length)for(let n=0;n<t.length;n++){var f=t[n];f.x+=Math.round(g[n]*o),f.y+=Math.round(v[n]*o)}else{let e=c.map((e=>e.copy())),n=t.map((()=>!1));for(let r=0;r<h.length;r++){let i=h[r];if(i<t.length){let t=e[i];n[i]=!0,t.x+=g[r]*o,t.y+=v[r]*o}}this.interpolateMissingDeltas(e,c,n);for(let r=0;r<t.length;r++){let n=e[r].x-c[r].x,i=e[r].y-c[r].y;t[r].x=Math.round(t[r].x+n),t[r].y=Math.round(t[r].y+i)}}a+=e,i.pos=s}}decodePoints(){let e=this.font.stream,t=e.readUInt8();128&t&&(t=(127&t)<<8|e.readUInt8());let n=new Uint16Array(t),r=0,i=0;for(;r<t;){let o=e.readUInt8(),a=1+(127&o),s=128&o?e.readUInt16:e.readUInt8;for(let l=0;l<a&&r<t;l++)i+=s.call(e),n[r++]=i}return n}decodeDeltas(e){let t=this.font.stream,n=0,r=new Int16Array(e);for(;n<e;){let i=t.readUInt8(),o=1+(63&i);if(128&i)n+=o;else{let a=64&i?t.readInt16BE:t.readInt8;for(let i=0;i<o&&n<e;i++)r[n++]=a.call(t)}}return r}tupleFactor(e,t,n,r){let i=this.normalizedCoords,{gvar:o}=this.font,a=1;for(let s=0;s<o.axisCount;s++)if(0!==t[s]){if(0===i[s])return 0;if(0===(16384&e)){if(i[s]<Math.min(0,t[s])||i[s]>Math.max(0,t[s]))return 0;a=(a*i[s]+Number.EPSILON)/(t[s]+Number.EPSILON)}else{if(i[s]<n[s]||i[s]>r[s])return 0;a=i[s]<t[s]?a*(i[s]-n[s]+Number.EPSILON)/(t[s]-n[s]+Number.EPSILON):a*(r[s]-i[s]+Number.EPSILON)/(r[s]-t[s]+Number.EPSILON)}}return a}interpolateMissingDeltas(e,t,n){if(0===e.length)return;let r=0;for(;r<e.length;){let i=r,o=r,a=e[o];for(;!a.endContour;)a=e[++o];for(;r<=o&&!n[r];)r++;if(r>o)continue;let s=r,l=r;for(r++;r<=o;)n[r]&&(this.deltaInterpolate(l+1,r-1,l,r,t,e),l=r),r++;l===s?this.deltaShift(i,o,l,t,e):(this.deltaInterpolate(l+1,o,l,s,t,e),s>0&&this.deltaInterpolate(i,s-1,l,s,t,e)),r=o+1}}deltaInterpolate(e,t,n,r,i,o){if(e>t)return;let a=["x","y"];for(let l=0;l<a.length;l++){let c=a[l];if(i[n][c]>i[r][c]){var s=n;n=r,r=s}let u=i[n][c],d=i[r][c],p=o[n][c],h=o[r][c];if(u!==d||p===h){let n=u===d?0:(h-p)/(d-u);for(let r=e;r<=t;r++){let e=i[r][c];e<=u?e+=p-u:e>=d?e+=h-d:e=p+(e-u)*n,o[r][c]=e}}}}deltaShift(e,t,n,r,i){let o=i[n].x-r[n].x,a=i[n].y-r[n].y;if(0!==o||0!==a)for(let s=e;s<=t;s++)s!==n&&(i[s].x+=o,i[s].y+=a)}getAdvanceAdjustment(e,t){let n,r;if(t.advanceWidthMapping){let i=e;i>=t.advanceWidthMapping.mapCount&&(i=t.advanceWidthMapping.mapCount-1);t.advanceWidthMapping.entryFormat;({outerIndex:n,innerIndex:r}=t.advanceWidthMapping.mapData[i])}else n=0,r=e;return this.getDelta(t.itemVariationStore,n,r)}getDelta(e,t,n){if(t>=e.itemVariationData.length)return 0;let r=e.itemVariationData[t];if(n>=r.deltaSets.length)return 0;let i=r.deltaSets[n],o=this.getBlendVector(e,t),a=0;for(let s=0;s<r.regionIndexCount;s++)a+=i.deltas[s]*o[s];return a}getBlendVector(e,t){let n=e.itemVariationData[t];if(this.blendVectors.has(n))return this.blendVectors.get(n);let r=this.normalizedCoords,i=[];for(let o=0;o<n.regionIndexCount;o++){let t=1,a=n.regionIndexes[o],s=e.variationRegionList.variationRegions[a];for(let e=0;e<s.length;e++){let n,i=s[e];n=i.startCoord>i.peakCoord||i.peakCoord>i.endCoord||i.startCoord<0&&i.endCoord>0&&0!==i.peakCoord||0===i.peakCoord?1:r[e]<i.startCoord||r[e]>i.endCoord?0:r[e]===i.peakCoord?1:r[e]<i.peakCoord?(r[e]-i.startCoord+Number.EPSILON)/(i.peakCoord-i.startCoord+Number.EPSILON):(i.endCoord-r[e]+Number.EPSILON)/(i.endCoord-i.peakCoord+Number.EPSILON),t*=n}i[o]=t}return this.blendVectors.set(n,i),i}constructor(e,t){this.font=e,this.normalizedCoords=this.normalizeCoords(t),this.blendVectors=new Map}}Promise.resolve();class yl{includeGlyph(e){return"object"===typeof e&&(e=e.id),null==this.mapping[e]&&(this.glyphs.push(e),this.mapping[e]=this.glyphs.length-1),this.mapping[e]}constructor(e){this.font=e,this.glyphs=[],this.mapping={},this.includeGlyph(0)}}class Al{static size(e){return e>=0&&e<=255?1:2}static encode(e,t){t>=0&&t<=255?e.writeUInt8(t):e.writeInt16BE(t)}}let bl=new de({numberOfContours:Y,xMin:Y,yMin:Y,xMax:Y,yMax:Y,endPtsOfContours:new te(Q,"numberOfContours"),instructions:new te(F,Q),flags:new te(F,0),xPoints:new te(Al,0),yPoints:new te(Al,0)});class wl{encodeSimple(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=[],r=[],i=[],o=[],a=0,s=0,l=0,c=0,u=0;for(let g=0;g<e.commands.length;g++){let t=e.commands[g];for(let n=0;n<t.args.length;n+=2){let d=t.args[n],p=t.args[n+1],h=0;if("quadraticCurveTo"===t.command&&2===n){let t=e.commands[g+1];if(t&&"quadraticCurveTo"===t.command){let e=(s+t.args[0])/2,n=(l+t.args[1])/2;if(d===e&&p===n)continue}}"quadraticCurveTo"===t.command&&0===n||(h|=1),h=this._encodePoint(d,s,r,h,2,16),h=this._encodePoint(p,l,i,h,4,32),h===c&&a<255?(o[o.length-1]|=8,a++):(a>0&&(o.push(a),a=0),o.push(h),c=h),s=d,l=p,u++}"closePath"===t.command&&n.push(u-1)}e.commands.length>1&&"closePath"!==e.commands[e.commands.length-1].command&&n.push(u-1);let d=e.bbox,p={numberOfContours:n.length,xMin:d.minX,yMin:d.minY,xMax:d.maxX,yMax:d.maxY,endPtsOfContours:n,instructions:t,flags:o,xPoints:r,yPoints:i},h=bl.size(p),f=4-h%4,m=new N(h+f);return bl.encode(m,p),0!==f&&m.fill(0,f),m.buffer}_encodePoint(e,t,n,r,i,o){let a=e-t;return e===t?r|=o:(-255<=a&&a<=255&&(r|=i,a<0?a=-a:r|=o),n.push(a)),r}}class xl extends yl{_addGlyph(e){let t=this.font.getGlyph(e),n=t._decode(),r=this.font.loca.offsets[e],i=this.font.loca.offsets[e+1],o=this.font._getTableStream("glyf");o.pos+=r;let a=o.readBuffer(i-r);if(n&&n.numberOfContours<0){a=new Uint8Array(a);let t=new DataView(a.buffer);for(let r of n.components)e=this.includeGlyph(r.glyphID),t.setUint16(r.pos,e)}else n&&this.font._variationProcessor&&(a=this.glyphEncoder.encodeSimple(t.path,n.instructions));return this.glyf.push(a),this.loca.offsets.push(this.offset),this.hmtx.metrics.push({advance:t.advanceWidth,bearing:t._getMetrics().leftBearing}),this.offset+=a.length,this.glyf.length-1}encode(){this.glyf=[],this.offset=0,this.loca={offsets:[],version:this.font.loca.version},this.hmtx={metrics:[],bearings:[]};let e=0;for(;e<this.glyphs.length;)this._addGlyph(this.glyphs[e++]);let t=Ve(this.font.maxp);t.numGlyphs=this.glyf.length,this.loca.offsets.push(this.offset);let n=Ve(this.font.head);n.indexToLocFormat=this.loca.version;let r=Ve(this.font.hhea);return r.numberOfMetrics=this.hmtx.metrics.length,Po.toBuffer({tables:{head:n,hhea:r,loca:this.loca,maxp:t,"cvt ":this.font["cvt "],prep:this.font.prep,glyf:this.glyf,hmtx:this.hmtx,fpgm:this.font.fpgm}})}constructor(e){super(e),this.glyphEncoder=new wl}}class Cl extends yl{subsetCharstrings(){this.charstrings=[];let e={};for(let t of this.glyphs){this.charstrings.push(this.cff.getCharString(t));let n=this.font.getGlyph(t);n.path;for(let t in n._usedGsubrs)e[t]=!0}this.gsubrs=this.subsetSubrs(this.cff.globalSubrIndex,e)}subsetSubrs(e,t){let n=[];for(let r=0;r<e.length;r++){let i=e[r];t[r]?(this.cff.stream.pos=i.offset,n.push(this.cff.stream.readBuffer(i.length))):n.push(new Uint8Array([11]))}return n}subsetFontdict(e){e.FDArray=[],e.FDSelect={version:0,fds:[]};let t={},n=[],r={};for(let i of this.glyphs){let o=this.cff.fdForGlyph(i);if(null==o)continue;t[o]||(e.FDArray.push(Object.assign({},this.cff.topDict.FDArray[o])),n.push({}),r[o]=e.FDArray.length-1),t[o]=!0,e.FDSelect.fds.push(r[o]);let a=this.font.getGlyph(i);a.path;for(let e in a._usedSubrs)n[r[o]][e]=!0}for(let i=0;i<e.FDArray.length;i++){let t=e.FDArray[i];delete t.FontName,t.Private&&t.Private.Subrs&&(t.Private=Object.assign({},t.Private),t.Private.Subrs=this.subsetSubrs(t.Private.Subrs,n[i]))}}createCIDFontdict(e){let t={};for(let r of this.glyphs){let e=this.font.getGlyph(r);e.path;for(let n in e._usedSubrs)t[n]=!0}let n=Object.assign({},this.cff.topDict.Private);return this.cff.topDict.Private&&this.cff.topDict.Private.Subrs&&(n.Subrs=this.subsetSubrs(this.cff.topDict.Private.Subrs,t)),e.FDArray=[{Private:n}],e.FDSelect={version:3,nRanges:1,ranges:[{first:0,fd:0}],sentinel:this.charstrings.length}}addString(e){return e?(this.strings||(this.strings=[]),this.strings.push(e),Yt.length+this.strings.length-1):null}encode(){this.subsetCharstrings();let e={version:this.charstrings.length>255?2:1,ranges:[{first:1,nLeft:this.charstrings.length-2}]},t=Object.assign({},this.cff.topDict);t.Private=null,t.charset=e,t.Encoding=null,t.CharStrings=this.charstrings;for(let r of["version","Notice","Copyright","FullName","FamilyName","Weight","PostScript","BaseFontName","FontName"])t[r]=this.addString(this.cff.string(t[r]));t.ROS=[this.addString("Adobe"),this.addString("Identity"),0],t.CIDCount=this.charstrings.length,this.cff.isCIDFont?this.subsetFontdict(t):this.createCIDFontdict(t);let n={version:1,hdrSize:this.cff.hdrSize,offSize:4,header:this.cff.header,nameIndex:[this.cff.postscriptName],topDictIndex:[t],stringIndex:this.strings,globalSubrIndex:this.gsubrs};return Xn.toBuffer(n)}constructor(e){if(super(e),this.cff=this.font["CFF "],!this.cff)throw new Error("Not a CFF Font")}}class Sl{static probe(e){let t=Do.decode(e.slice(0,4));return"true"===t||"OTTO"===t||t===String.fromCharCode(0,1,0,0)}setDefaultLanguage(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this.defaultLanguage=e}_getTable(e){if(!(e.tag in this._tables))try{this._tables[e.tag]=this._decodeTable(e)}catch(t){Ke&&(console.error(`Error decoding table ${e.tag}`),console.error(t.stack))}return this._tables[e.tag]}_getTableStream(e){let t=this.directory.tables[e];return t?(this.stream.pos=t.offset,this.stream):null}_decodeDirectory(){return this.directory=Po.decode(this.stream,{_startOffset:0})}_decodeTable(e){let t=this.stream.pos,n=this._getTableStream(e.tag),r=Eo[e.tag].decode(n,this,e.length);return this.stream.pos=t,r}getName(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.defaultLanguage||$e,n=this.name&&this.name.records[e];return n&&(n[t]||n[this.defaultLanguage]||n[$e]||n.en||n[Object.keys(n)[0]])||null}get postscriptName(){return this.getName("postscriptName")}get fullName(){return this.getName("fullName")}get familyName(){return this.getName("fontFamily")}get subfamilyName(){return this.getName("fontSubfamily")}get copyright(){return this.getName("copyright")}get version(){return this.getName("version")}get ascent(){return this.hhea.ascent}get descent(){return this.hhea.descent}get lineGap(){return this.hhea.lineGap}get underlinePosition(){return this.post.underlinePosition}get underlineThickness(){return this.post.underlineThickness}get italicAngle(){return this.post.italicAngle}get capHeight(){let e=this["OS/2"];return e?e.capHeight:this.ascent}get xHeight(){let e=this["OS/2"];return e?e.xHeight:0}get numGlyphs(){return this.maxp.numGlyphs}get unitsPerEm(){return this.head.unitsPerEm}get bbox(){return Object.freeze(new Fo(this.head.xMin,this.head.yMin,this.head.xMax,this.head.yMax))}get _cmapProcessor(){return new Mo(this.cmap)}get characterSet(){return this._cmapProcessor.getCharacterSet()}hasGlyphForCodePoint(e){return!!this._cmapProcessor.lookup(e)}glyphForCodePoint(e){return this.getGlyph(this._cmapProcessor.lookup(e),[e])}glyphsForString(e){let t=[],n=e.length,r=0,i=-1,o=-1;for(;r<=n;){let a=0,s=0;if(r<n){if(a=e.charCodeAt(r++),55296<=a&&a<=56319&&r<n){let t=e.charCodeAt(r);56320<=t&&t<=57343&&(r++,a=((1023&a)<<10)+(1023&t)+65536)}s=65024<=a&&a<=65039||917760<=a&&a<=917999?1:0}else r++;0===o&&1===s?t.push(this.getGlyph(this._cmapProcessor.lookup(i,a),[i,a])):0===o&&0===s&&t.push(this.glyphForCodePoint(i)),i=a,o=s}return t}get _layoutEngine(){return new rl(this)}layout(e,t,n,r,i){return this._layoutEngine.layout(e,t,n,r,i)}stringsForGlyph(e){return this._layoutEngine.stringsForGlyph(e)}get availableFeatures(){return this._layoutEngine.getAvailableFeatures()}getAvailableFeatures(e,t){return this._layoutEngine.getAvailableFeatures(e,t)}_getBaseGlyph(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return this._glyphs[e]||(this.directory.tables.glyf?this._glyphs[e]=new dl(e,t,this):(this.directory.tables["CFF "]||this.directory.tables.CFF2)&&(this._glyphs[e]=new pl(e,t,this))),this._glyphs[e]||null}getGlyph(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return this._glyphs[e]||(this.directory.tables.sbix?this._glyphs[e]=new fl(e,t,this):this.directory.tables.COLR&&this.directory.tables.CPAL?this._glyphs[e]=new gl(e,t,this):this._getBaseGlyph(e,t)),this._glyphs[e]||null}createSubset(){return this.directory.tables["CFF "]?new Cl(this):new xl(this)}get variationAxes(){let e={};if(!this.fvar)return e;for(let t of this.fvar.axis)e[t.axisTag.trim()]={name:t.name.en,min:t.minValue,default:t.defaultValue,max:t.maxValue};return e}get namedVariations(){let e={};if(!this.fvar)return e;for(let t of this.fvar.instance){let n={};for(let e=0;e<this.fvar.axis.length;e++){n[this.fvar.axis[e].axisTag.trim()]=t.coord[e]}e[t.name.en]=n}return e}getVariation(e){if(!this.directory.tables.fvar||!(this.directory.tables.gvar&&this.directory.tables.glyf||this.directory.tables.CFF2))throw new Error("Variations require a font with the fvar, gvar and glyf, or CFF2 tables.");if("string"===typeof e&&(e=this.namedVariations[e]),"object"!==typeof e)throw new Error("Variation settings must be either a variation name or settings object.");let t=this.fvar.axis.map(((t,n)=>{let r=t.axisTag.trim();return r in e?Math.max(t.minValue,Math.min(t.maxValue,e[r])):t.defaultValue})),n=new D(this.stream.buffer);n.pos=this._directoryPos;let r=new Sl(n,t);return r._tables=this._tables,r}get _variationProcessor(){if(!this.fvar)return null;let e=this.variationCoords;return e||this.CFF2?(e||(e=this.fvar.axis.map((e=>e.defaultValue))),new vl(this,e)):null}getFont(e){return this.getVariation(e)}constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;me(this,"type","TTF"),this.defaultLanguage=null,this.stream=e,this.variationCoords=t,this._directoryPos=this.stream.pos,this._tables={},this._glyphs={},this._decodeDirectory();for(let n in this.directory.tables){let e=this.directory.tables[n];Eo[n]&&e.length>0&&Object.defineProperty(this,n,{get:this._getTable.bind(this,e)})}}}ge([tt],Sl.prototype,"bbox",null),ge([tt],Sl.prototype,"_cmapProcessor",null),ge([tt],Sl.prototype,"characterSet",null),ge([tt],Sl.prototype,"_layoutEngine",null),ge([tt],Sl.prototype,"variationAxes",null),ge([tt],Sl.prototype,"namedVariations",null),ge([tt],Sl.prototype,"_variationProcessor",null);let kl=new de({tag:new le(4),offset:new he(q,"void",{type:"global"}),compLength:q,length:q,origChecksum:q}),El=new de({tag:new le(4),flavor:q,length:q,numTables:Q,reserved:new se(Q),totalSfntSize:q,majorVersion:Q,minorVersion:Q,metaOffset:q,metaLength:q,metaOrigLength:q,privOffset:q,privLength:q,tables:new te(kl,"numTables")});El.process=function(){let e={};for(let t of this.tables)e[t.tag]=t;this.tables=e};var Il=El;class _l extends dl{_decode(){return this._font._transformedGlyphs[this.id]}_getCBox(){return this.path.bbox}constructor(){super(...arguments),me(this,"type","WOFF2")}}const Pl={decode(e){let t=0,n=[0,1,2,3,4];for(let r=0;r<n.length;r++){let n=e.readUInt8();if(3758096384&t)throw new Error("Overflow");if(t=t<<7|127&n,0===(128&n))return t}throw new Error("Bad base 128 number")}};let Ol=["cmap","head","hhea","hmtx","maxp","name","OS/2","post","cvt ","fpgm","glyf","loca","prep","CFF ","VORG","EBDT","EBLC","gasp","hdmx","kern","LTSH","PCLT","VDMX","vhea","vmtx","BASE","GDEF","GPOS","GSUB","EBSC","JSTF","MATH","CBDT","CBLC","COLR","CPAL","SVG ","sbix","acnt","avar","bdat","bloc","bsln","cvar","fdsc","feat","fmtx","fvar","gvar","hsty","just","lcar","mort","morx","opbd","prop","trak","Zapf","Silf","Glat","Gloc","Feat","Sill"],Tl=new de({flags:F,customTag:new ae(new le(4),(e=>63===(63&e.flags))),tag:e=>e.customTag||Ol[63&e.flags],length:Pl,transformVersion:e=>e.flags>>>6&3,transformed:e=>"glyf"===e.tag||"loca"===e.tag?0===e.transformVersion:0!==e.transformVersion,transformLength:new ae(Pl,(e=>e.transformed))}),Dl=new de({tag:new le(4),flavor:q,length:q,numTables:Q,reserved:new se(Q),totalSfntSize:q,totalCompressedSize:q,majorVersion:Q,minorVersion:Q,metaOffset:q,metaLength:q,metaOrigLength:q,privOffset:q,privLength:q,tables:new te(Tl,"numTables")});Dl.process=function(){let e={};for(let t=0;t<this.tables.length;t++){let n=this.tables[t];e[n.tag]=n}return this.tables=e};var jl=Dl;class Bl{decode(e,t){return new D(this._buf.decode(e,t))}constructor(e){this.length=e,this._buf=new oe(e)}}let Nl=new de({version:q,numGlyphs:Q,indexFormat:Q,nContourStreamSize:q,nPointsStreamSize:q,flagStreamSize:q,glyphStreamSize:q,compositeStreamSize:q,bboxStreamSize:q,instructionStreamSize:q,nContours:new Bl("nContourStreamSize"),nPoints:new Bl("nPointsStreamSize"),flags:new Bl("flagStreamSize"),glyphs:new Bl("glyphStreamSize"),composites:new Bl("compositeStreamSize"),bboxes:new Bl("bboxStreamSize"),instructions:new Bl("instructionStreamSize")});const Ml=253,Rl=254,Ll=255,Fl=253;function zl(e){let t=e.readUInt8();return t===Ml?e.readUInt16BE():t===Ll?e.readUInt8()+Fl:t===Rl?e.readUInt8()+2*Fl:t}function Ql(e,t){return 1&e?t:-t}function Ul(e,t,n){let r,i=r=0,o=[];for(let l=0;l<n;l++){let n=0,l=0,c=e.readUInt8(),u=!(c>>7);if(c&=127,c<10)n=0,l=Ql(c,((14&c)<<7)+t.readUInt8());else if(c<20)n=Ql(c,((c-10&14)<<7)+t.readUInt8()),l=0;else if(c<84){n=Ql(c,1+(48&(a=c-20))+((s=t.readUInt8())>>4)),l=Ql(c>>1,1+((12&a)<<2)+(15&s))}else if(c<120){var a;n=Ql(c,1+((a=c-84)/12<<8)+t.readUInt8()),l=Ql(c>>1,1+(a%12>>2<<8)+t.readUInt8())}else if(c<124){var s=t.readUInt8();let e=t.readUInt8();n=Ql(c,(s<<4)+(e>>4)),l=Ql(c>>1,((15&e)<<8)+t.readUInt8())}else n=Ql(c,t.readUInt16BE()),l=Ql(c>>1,t.readUInt16BE());i+=n,r+=l,o.push(new cl(u,!1,i,r))}return o}let Vl=new pe(q,{65536:{numFonts:q,offsets:new te(q,"numFonts")},131072:{numFonts:q,offsets:new te(q,"numFonts"),dsigTag:q,dsigLength:q,dsigOffset:q}});let Gl=new le(F),ql=(new de({len:q,buf:new oe("len")}),new de({id:Q,nameOffset:Y,attr:F,dataOffset:V,handle:q})),Hl=new de({name:new le(4),maxTypeIndex:Q,refList:new he(Q,new te(ql,(e=>e.maxTypeIndex+1)),{type:"parent"})}),Wl=new de({length:Q,types:new te(Hl,(e=>e.length+1))}),Yl=new de({reserved:new se(F,24),typeList:new he(Q,Wl),nameListOffset:new he(Q,"void")}),Kl=new de({dataOffset:q,map:new he(q,Yl),dataLength:q,mapLength:q});Xe(Sl),Xe(class extends Sl{static probe(e){return"wOFF"===Do.decode(e.slice(0,4))}_decodeDirectory(){this.directory=Il.decode(this.stream,{_startOffset:0})}_getTableStream(e){let t=this.directory.tables[e];if(t){if(this.stream.pos=t.offset,t.compLength<t.length){this.stream.pos+=2;let e=new Uint8Array(t.length),n=Ge(this.stream.readBuffer(t.compLength-2),e);return new D(n)}return this.stream}return null}constructor(){super(...arguments),me(this,"type","WOFF")}}),Xe(class extends Sl{static probe(e){return"wOF2"===Do.decode(e.slice(0,4))}_decodeDirectory(){this.directory=jl.decode(this.stream),this._dataPos=this.stream.pos}_decompress(){if(!this._decompressed){this.stream.pos=this._dataPos;let e=this.stream.readBuffer(this.directory.totalCompressedSize),t=0;for(let r in this.directory.tables){let e=this.directory.tables[r];e.offset=t,t+=null!=e.transformLength?e.transformLength:e.length}let n=qe(e,t);if(!n)throw new Error("Error decoding compressed data in WOFF2");this.stream=new D(n),this._decompressed=!0}}_decodeTable(e){return this._decompress(),super._decodeTable(e)}_getBaseGlyph(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(!this._glyphs[e])return this.directory.tables.glyf&&this.directory.tables.glyf.transformed?(this._transformedGlyphs||this._transformGlyfTable(),this._glyphs[e]=new _l(e,t,this)):super._getBaseGlyph(e,t)}_transformGlyfTable(){this._decompress(),this.stream.pos=this.directory.tables.glyf.offset;let e=Nl.decode(this.stream),t=[];for(let n=0;n<e.numGlyphs;n++){let n={},r=e.nContours.readInt16BE();if(n.numberOfContours=r,r>0){let t=[],i=0;for(let n=0;n<r;n++){i+=zl(e.nPoints),t.push(i)}n.points=Ul(e.flags,e.glyphs,i);for(let e=0;e<r;e++)n.points[t[e]-1].endContour=!0;zl(e.glyphs)}else if(r<0){if(dl.prototype._decodeComposite.call({_font:this},n,e.composites))zl(e.glyphs)}t.push(n)}this._transformedGlyphs=t}constructor(){super(...arguments),me(this,"type","WOFF2")}}),Xe(class{static probe(e){return"ttcf"===Do.decode(e.slice(0,4))}getFont(e){for(let t of this.header.offsets){let n=new D(this.stream.buffer);n.pos=t;let r=new Sl(n);if(r.postscriptName===e||r.postscriptName instanceof Uint8Array&&e instanceof Uint8Array&&r.postscriptName.every(((t,n)=>e[n]===t)))return r}return null}get fonts(){let e=[];for(let t of this.header.offsets){let n=new D(this.stream.buffer);n.pos=t,e.push(new Sl(n))}return e}constructor(e){if(me(this,"type","TTC"),this.stream=e,"ttcf"!==e.readString(4))throw new Error("Not a TrueType collection");this.header=Vl.decode(e)}}),Xe(class{static probe(e){let t=new D(e);try{var n=Kl.decode(t)}catch(r){return!1}for(let i of n.map.typeList.types)if("sfnt"===i.name)return!0;return!1}getFont(e){if(!this.sfnt)return null;for(let t of this.sfnt.refList){let n=this.header.dataOffset+t.dataOffset+4,r=new D(this.stream.buffer.slice(n)),i=new Sl(r);if(i.postscriptName===e||i.postscriptName instanceof Uint8Array&&e instanceof Uint8Array&&i.postscriptName.every(((t,n)=>e[n]===t)))return i}return null}get fonts(){let e=[];for(let t of this.sfnt.refList){let n=this.header.dataOffset+t.dataOffset+4,r=new D(this.stream.buffer.slice(n));e.push(new Sl(r))}return e}constructor(e){me(this,"type","DFont"),this.stream=e,this.header=Kl.decode(this.stream);for(let t of this.header.map.typeList.types){for(let e of t.refList)e.nameOffset>=0?(this.stream.pos=e.nameOffset+this.header.map.nameListOffset,e.name=Gl.decode(this.stream)):e.name=null;"sfnt"===t.name&&(this.sfnt=t)}}});const Jl={thin:100,hairline:100,ultralight:200,extralight:200,light:300,normal:400,medium:500,semibold:600,demibold:600,bold:700,ultrabold:800,extrabold:800,heavy:900,black:900},Xl=(e,t)=>e.fontWeight-t.fontWeight;class Zl{constructor(e,t,n,r,i){this.src=e,this.fontFamily=t,this.fontStyle=n||"normal",this.fontWeight=r||400,this.data=null,this.options=i,this.loadResultPromise=null}async _load(){const{postscriptName:e}=this.options;if((e=>{const t=e.split(",")[0],n="data:"===t.substring(0,5),r="base64"===t.split(";")[1];return n&&r})(this.src)){const t=this.src.split(",")[1],n=new Uint8Array(atob(t).split("").map((e=>e.charCodeAt(0))));this.data=Ze(n,e)}else{const{headers:t,body:n,method:r="GET"}=this.options,i=await(async(e,t)=>{const n=await O(e,t),r=await n.arrayBuffer();return new Uint8Array(r)})(this.src,{method:r,body:n,headers:t});this.data=Ze(i,e)}}async load(){return null===this.loadResultPromise&&(this.loadResultPromise=this._load()),this.loadResultPromise}}class $l{static create(e){return new $l(e)}constructor(e){this.family=e,this.sources=[]}register(e){let{src:t,fontWeight:n,fontStyle:r,...i}=e;const o=(e=>"string"===typeof e?Jl[e]:e)(n);this.sources.push(new Zl(t,this.family,r,o,i))}resolve(e){const{fontWeight:t=400,fontStyle:n="normal"}=e,r=this.sources.filter((e=>e.fontStyle===n)),i=r.find((e=>e.fontWeight===t));if(i)return i;let o;if(t>=400&&t<=500){const e=r.filter((e=>e.fontWeight<=t)),n=r.filter((e=>e.fontWeight>500));o=r.filter((e=>e.fontWeight>=t&&e.fontWeight<500))[0]||e[e.length-1]||n[0]}const a=r.filter((e=>e.fontWeight<t)).sort(Xl),s=r.filter((e=>e.fontWeight>t)).sort(Xl);if(t<400&&(o=a[a.length-1]||s[0]),t>500&&(o=s[0]||a[a.length-1]),!o)throw new Error(`Could not resolve font for ${this.family}, fontWeight ${t}`);return o}}var ec=["Courier","Courier-Bold","Courier-Oblique","Courier-BoldOblique","Helvetica","Helvetica-Bold","Helvetica-Oblique","Helvetica-BoldOblique","Times-Roman","Times-Bold","Times-Italic","Times-BoldItalic"];const tc=e=>Array.prototype.slice.call(e,0).reverse(),nc=e=>Array.isArray(e)?e:[e],rc=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){let n=e;const r=tc(t);for(var i=arguments.length,o=new Array(i>1?i-1:0),a=1;a<i;a++)o[a-1]=arguments[a];for(let t=0;t<r.length;t+=1){n=(0,r[t])(n,...o)}return n}},ic=(e,t)=>{const n=t instanceof Array?[]:{},r=Object.keys(t);for(let i=0;i<r.length;i+=1){const o=r[i],a=e[o],s=typeof a;n[o]="function"===s?a(t[o]):a&&"object"===s?ic(a,t[o]):t[o]}return n},oc=e=>null===e||void 0===e,ac=(e,t,n)=>{if(oc(e))return n;const r=nc(t);let i=e;for(let o=0;o<r.length;o+=1){if(oc(i))return;i=i[r[o]]}return oc(i)?n:i},sc=e=>""===e?"":e[e.length-1],lc=(e,t)=>Object.entries(e).reduce(((e,n,r)=>{let[i,o]=n;return e[i]=t(o,i,r),e}),{}),cc=e=>{const t=(e=>/((-)?\d+\.?\d*)%/g.exec(`${e}`))(e);if(t){const e=parseFloat(t[1]);return{percent:e/100,value:e}}return null},uc=(e,t)=>{const n=nc(e),r=Object.assign({},t);return n.forEach((e=>{delete r[e]})),r},dc=(e,t)=>{const n={};for(let r=0;r<e.length;r+=1){const i=e[r];i in t&&(n[i]=t[i])}return n},pc=function(e,t){void 0===t&&(t=0);const n=new Array(t);for(let r=0;r<t;r+=1)n[r]=e;return n},hc=e=>e?e.charAt(0).toUpperCase()+e.slice(1):e;var fc=n(99738),mc=n(46223),gc=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(Ym){i=!0,o=Ym}finally{try{!r&&s.return&&s.return()}finally{if(i)throw o}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},vc=2*Math.PI,yc=function(e,t,n,r,i,o,a){var s=e.x,l=e.y;return{x:r*(s*=t)-i*(l*=n)+o,y:i*s+r*l+a}},Ac=function(e,t){var n=1.5707963267948966===t?.551915024494:-1.5707963267948966===t?-.551915024494:4/3*Math.tan(t/4),r=Math.cos(e),i=Math.sin(e),o=Math.cos(e+t),a=Math.sin(e+t);return[{x:r-i*n,y:i+r*n},{x:o+a*n,y:a-o*n},{x:o,y:a}]},bc=function(e,t,n,r){var i=e*n+t*r;return i>1&&(i=1),i<-1&&(i=-1),(e*r-t*n<0?-1:1)*Math.acos(i)};const wc=function(e){var t=e.px,n=e.py,r=e.cx,i=e.cy,o=e.rx,a=e.ry,s=e.xAxisRotation,l=void 0===s?0:s,c=e.largeArcFlag,u=void 0===c?0:c,d=e.sweepFlag,p=void 0===d?0:d,h=[];if(0===o||0===a)return[];var f=Math.sin(l*vc/360),m=Math.cos(l*vc/360),g=m*(t-r)/2+f*(n-i)/2,v=-f*(t-r)/2+m*(n-i)/2;if(0===g&&0===v)return[];o=Math.abs(o),a=Math.abs(a);var y=Math.pow(g,2)/Math.pow(o,2)+Math.pow(v,2)/Math.pow(a,2);y>1&&(o*=Math.sqrt(y),a*=Math.sqrt(y));var A=function(e,t,n,r,i,o,a,s,l,c,u,d){var p=Math.pow(i,2),h=Math.pow(o,2),f=Math.pow(u,2),m=Math.pow(d,2),g=p*h-p*m-h*f;g<0&&(g=0),g/=p*m+h*f;var v=(g=Math.sqrt(g)*(a===s?-1:1))*i/o*d,y=g*-o/i*u,A=c*v-l*y+(e+n)/2,b=l*v+c*y+(t+r)/2,w=(u-v)/i,x=(d-y)/o,C=(-u-v)/i,S=(-d-y)/o,k=bc(1,0,w,x),E=bc(w,x,C,S);return 0===s&&E>0&&(E-=vc),1===s&&E<0&&(E+=vc),[A,b,k,E]}(t,n,r,i,o,a,u,p,f,m,g,v),b=gc(A,4),w=b[0],x=b[1],C=b[2],S=b[3],k=Math.abs(S)/(vc/4);Math.abs(1-k)<1e-7&&(k=1);var E=Math.max(Math.ceil(k),1);S/=E;for(var I=0;I<E;I++)h.push(Ac(C,S)),C+=S;return h.map((function(e){var t=yc(e[0],o,a,m,f,w,x),n=t.x,r=t.y,i=yc(e[1],o,a,m,f,w,x),s=i.x,l=i.y,c=yc(e[2],o,a,m,f,w,x);return{x1:n,y1:r,x2:s,y2:l,x:c.x,y:c.y}}))};function xc(e,t,n,r){return["C",e,t,n,r,n,r]}function Cc(e,t,n,r,i,o){return["C",e/3+2/3*n,t/3+2/3*r,i/3+2/3*n,o/3+2/3*r,i,o]}var Sc=n(96340);const kc=(Math.sqrt(2)-1)/3*4,Ec=(Math.sqrt(2)-1)/3*4,Ic=function(e,t,n,r,i){void 0===t&&(t=0),void 0===n&&(n=0);const o=t-r,a=n-i,s=r*Ec,l=i*Ec,c=o+2*r,u=a+2*i,d=o+r,p=a+i;e.moveTo(o,p),e.bezierCurveTo(o,p-l,d-s,a,d,a),e.bezierCurveTo(d+s,a,c,p-l,c,p),e.bezierCurveTo(c,p+l,d+s,u,d,u),e.bezierCurveTo(d-s,u,o,p+l,o,p),e.closePath()},_c=function(e,t,n,r,i,o){void 0===o&&(o={});const a=1e3/e._fontSize,s=1e3/(e._font.font.unitsPerEm||1e3),l=e._font.encodeGlyphs(t),c=n.map(((e,n)=>({xAdvance:e.xAdvance*a,yAdvance:e.yAdvance*a,xOffset:e.xOffset,yOffset:e.yOffset,advanceWidth:t[n].advanceWidth*s})));return e._glyphs(l,c,r,i,o)},Pc=(e,t,n,r)=>{var i,o,a,s,l;e.save();const c=(null===(i=t.box)||void 0===i?void 0:i.x)||0,u=(null===(o=t.box)||void 0===o?void 0:o.y)||0,d=null===(a=t.runs[0])||void 0===a?void 0:a.attributes.font,p=(null===(s=t.runs[0])||void 0===s||null===(l=s.attributes)||void 0===l?void 0:l.scale)||1,h=t.xAdvance,f=d.ascent*p,m=d.xHeight*p,g=d.descent*p,v=d.capHeight*p;let y=c,A=u;switch(n){case"middle":y=c-h/2;break;case"end":y=c-h;break;default:y=c}switch(r){case"middle":case"central":A=u+v/2;break;case"hanging":A=u+v;break;case"mathematical":A=u+m;break;case"text-after-edge":A=u+g;break;case"text-before-edge":A=u+f;break;default:A=u}e.translate(y,A),t.runs.forEach((t=>((e,t)=>{const n=t.xAdvance,{font:r,fontSize:i,color:o,opacity:a}=t.attributes;if(e.fillColor(o),e.fillOpacity(a),r.sbix||r.COLR&&r.CPAL){e.save(),e.translate(0,-t.ascent);for(let n=0;n<t.glyphs.length;n+=1){const r=t.positions[n],o=t.glyphs[n];e.save(),e.translate(r.xOffset,r.yOffset),o.render(e,i),e.restore(),e.translate(r.xAdvance,r.yAdvance)}e.restore()}else{e.font("string"===typeof r.name?r.name:r,i);try{_c(e,t.glyphs,t.positions,0,0)}catch(s){console.log(s)}}e.translate(n,0)})(e,t))),e.restore()},Oc=e=>{let t=(e||"").trim().replace(/,/g," ").replace(/(\d)-(\d)/g,"$1 -$2").split(/\s+/);t.length%2!==0&&(t=t.slice(0,-1));return(e=>{const t=[];for(let n=0;n<e.length;n+=2)t.push([e[n],e[n+1]]);return t})(t.map(parseFloat))},Tc=(e,t)=>{((e,t)=>{t.length>0&&(e.moveTo(t[0][0],t[0][1]),t.slice(1).forEach((t=>e.lineTo(t[0],t[1]))))})(e,Oc(t.props.points||""))},Dc=(Math.sqrt(2)-1)/3*4,jc=(e,t)=>{if(!t.style)return;const{top:n,left:r,width:i,height:o}=t.box,{borderTopLeftRadius:a=0,borderTopRightRadius:s=0,borderBottomRightRadius:l=0,borderBottomLeftRadius:c=0}=t.style,u=Math.min(s,.5*i,.5*o),d=u*(1-Dc);e.moveTo(r+u,n),e.lineTo(r+i-u,n),e.bezierCurveTo(r+i-d,n,r+i,n+d,r+i,n+u);const p=Math.min(l,.5*i,.5*o),h=p*(1-Dc);e.lineTo(r+i,n+o-p),e.bezierCurveTo(r+i,n+o-h,r+i-h,n+o,r+i-p,n+o);const f=Math.min(c,.5*i,.5*o),m=f*(1-Dc);e.lineTo(r+f,n+o),e.bezierCurveTo(r+m,n+o,r,n+o-m,r,n+o-f);const g=Math.min(a,.5*i,.5*o),v=g*(1-Dc);e.lineTo(r,n+g),e.bezierCurveTo(r,n+v,r+v,n,r+g,n),e.closePath(),e.clip()},Bc=(e,t)=>{var n,r;if(!t.origin)return;const i=[t.origin.left,t.origin.top];((null===(n=t.style)||void 0===n?void 0:n.transform)||(null===(r=t.props)||void 0===r?void 0:r.transform)||[]).forEach((t=>{((e,t,n)=>{const{operation:r,value:i}=t;switch(r){case"scale":{const[t,r]=i;e.scale(t,r,{origin:n});break}case"rotate":{const[t]=i;e.rotate(t,{origin:n});break}case"translate":{const[t,r=0]=i;e.translate(t,r,{origin:n});break}case"skew":{const[t,r]=i;e.skew(t,r,{origin:n});break}case"matrix":e.transform(...i);break;default:console.error(`Transform operation: '${r}' doesn't supported`)}})(e,t,i)}))},Nc=e=>Math.max(-1/0,...e),Mc=e=>Math.min(1/0,...e),Rc=e=>{var t;const n=Oc((null===(t=e.props)||void 0===t?void 0:t.points)||[]),r=n.map((e=>e[0])),i=n.map((e=>e[1]));return[Mc(r),Mc(i),Nc(r),Nc(i)]},Lc={[p]:e=>{var t,n,r,i;const o=(null===(t=e.props)||void 0===t?void 0:t.x)||0,a=(null===(n=e.props)||void 0===n?void 0:n.y)||0;return[o,a,o+((null===(r=e.props)||void 0===r?void 0:r.width)||0),a+((null===(i=e.props)||void 0===i?void 0:i.height)||0)]},[h]:e=>{var t,n,r,i;const o=(null===(t=e.props)||void 0===t?void 0:t.x1)||0,a=(null===(n=e.props)||void 0===n?void 0:n.y1)||0,s=(null===(r=e.props)||void 0===r?void 0:r.x2)||0,l=(null===(i=e.props)||void 0===i?void 0:i.y2)||0;return[Math.min(o,s),Math.min(a,l),Math.max(o,s),Math.max(a,l)]},[d]:e=>{var t;const n=function(e){for(var t,n=[],r=0,i=0,o=0,a=0,s=null,l=null,c=0,u=0,d=0,p=e.length;d<p;d++){var h=e[d],f=h[0];switch(f){case"M":o=h[1],a=h[2];break;case"A":var m=wc({px:c,py:u,cx:h[6],cy:h[7],rx:h[1],ry:h[2],xAxisRotation:h[3],largeArcFlag:h[4],sweepFlag:h[5]});if(!m.length)continue;for(var g,v=0;v<m.length;v++)h=["C",(g=m[v]).x1,g.y1,g.x2,g.y2,g.x,g.y],v<m.length-1&&n.push(h);break;case"S":var y=c,A=u;"C"!=t&&"S"!=t||(y+=y-r,A+=A-i),h=["C",y,A,h[1],h[2],h[3],h[4]];break;case"T":"Q"==t||"T"==t?(s=2*c-s,l=2*u-l):(s=c,l=u),h=Cc(c,u,s,l,h[1],h[2]);break;case"Q":s=h[1],l=h[2],h=Cc(c,u,h[1],h[2],h[3],h[4]);break;case"L":h=xc(c,u,h[1],h[2]);break;case"H":h=xc(c,u,h[1],u);break;case"V":h=xc(c,u,c,h[1]);break;case"Z":h=xc(c,u,o,a)}t=f,c=h[h.length-2],u=h[h.length-1],h.length>4?(r=h[h.length-4],i=h[h.length-3]):(r=c,i=u),n.push(h)}return n}(fc(mc((null===(t=e.props)||void 0===t?void 0:t.d)||"")));if(!n.length)return[0,0,0,0];const r=[1/0,1/0,-1/0,-1/0];for(let i=0,o=n.length;i<o;i+=1){const e=n[i].slice(1);for(let t=0;t<e.length;t+=2)e[t+0]<r[0]&&(r[0]=e[t+0]),e[t+1]<r[1]&&(r[1]=e[t+1]),e[t+0]>r[2]&&(r[2]=e[t+0]),e[t+1]>r[3]&&(r[3]=e[t+1])}return r},[A]:e=>{var t,n,r;const i=(null===(t=e.props)||void 0===t?void 0:t.r)||0,o=(null===(n=e.props)||void 0===n?void 0:n.cx)||0,a=(null===(r=e.props)||void 0===r?void 0:r.cy)||0;return[o-i,a-i,o+i,a+i]},[b]:e=>{var t,n,r,i;const o=(null===(t=e.props)||void 0===t?void 0:t.cx)||0,a=(null===(n=e.props)||void 0===n?void 0:n.cy)||0,s=(null===(r=e.props)||void 0===r?void 0:r.rx)||0,l=(null===(i=e.props)||void 0===i?void 0:i.ry)||0;return[o-s,a-l,o+s,a+l]},[w]:Rc,[C]:Rc},Fc=e=>{const t=Lc[e.type];return t?t(e):[0,0,0,0]},zc=(e,t)=>(e=>{var t,n;return(null===(t=e.props)||void 0===t||null===(n=t.fill)||void 0===n?void 0:n.type)===E})(t)?((e,t)=>{var n;const r=Fc(t),i=(null===(n=t.props)||void 0===n?void 0:n.fill)||null,o=i.props.x1||0,a=i.props.y1||0,s=i.props.x2||1,l=i.props.y2||0,c=r[2]-r[0],u=r[3]-r[1],d=r[0],p=r[1],h=c*o+d,f=u*a+p,m=c*s+d,g=u*l+p,v=e.linearGradient(h,f,m,g);i.children.forEach((e=>{v.stop(e.props.offset,e.props.stopColor,e.props.stopOpacity)})),e.fill(v)})(e,t):(e=>{var t,n;return(null===(t=e.props)||void 0===t||null===(n=t.fill)||void 0===n?void 0:n.type)===I})(t)?((e,t)=>{var n;const r=Fc(t),i=(null===(n=t.props)||void 0===n?void 0:n.fill)||null,o=i.props.cx||.5,a=i.props.cy||.5,s=i.props.fx||o,l=i.props.fy||a,c=i.props.r||.5,u=r[2]-r[0],d=r[3]-r[1],p=r[0],h=r[1],f=c*u,m=u*o+p,g=d*a+h,v=u*s+p,y=d*l+h,A=e.radialGradient(v,y,0,m,g,f);i.children.forEach((e=>{A.stop(e.props.offset,e.props.stopColor,e.props.stopOpacity)})),e.fill(A)})(e,t):((e,t)=>{var n;const r=(null===(n=t.props)||void 0===n?void 0:n.fill)||null;r&&e.fillColor(r)})(e,t),Qc=()=>{},Uc={[v]:Qc,[k]:Qc,[d]:(e,t)=>{var n;(null===(n=t.props)||void 0===n?void 0:n.d)&&e.path(t.props.d)},[p]:(e,t)=>{var n,r,i,o,a,s;const l=(null===(n=t.props)||void 0===n?void 0:n.x)||0,c=(null===(r=t.props)||void 0===r?void 0:r.y)||0,u=(null===(i=t.props)||void 0===i?void 0:i.rx)||0,d=(null===(o=t.props)||void 0===o?void 0:o.ry)||0,p=(null===(a=t.props)||void 0===a?void 0:a.width)||0,h=(null===(s=t.props)||void 0===s?void 0:s.height)||0;if(p&&h){if(u&&d){const t=u*kc,n=d*kc;e.moveTo(l+u,c),e.lineTo(l-u+p,c),e.bezierCurveTo(l-u+p+t,c,l+p,c+d-n,l+p,c+d),e.lineTo(l+p,c+h-d),e.bezierCurveTo(l+p,c+h-d+n,l-u+p+t,c+h,l-u+p,c+h),e.lineTo(l+u,c+h),e.bezierCurveTo(l+u-t,c+h,l,c+h-d+n,l,c+h-d),e.lineTo(l,c+d),e.bezierCurveTo(l,c+d-n,l+u-t,c,l+u,c)}else e.moveTo(l,c),e.lineTo(l+p,c),e.lineTo(l+p,c+h),e.lineTo(l,c+h);e.closePath()}},[h]:(e,t)=>{const{x1:n,x2:r,y1:i,y2:o}=t.props||{};e.moveTo(n,i),e.lineTo(r,o)},[i]:()=>{},[s]:(e,t)=>{t.children.forEach((t=>Pc(e,t.lines[0],t.props.textAnchor,t.props.dominantBaseline)))},[A]:(e,t)=>{var n,r,i;const o=null===(n=t.props)||void 0===n?void 0:n.cx,a=null===(r=t.props)||void 0===r?void 0:r.cy,s=null===(i=t.props)||void 0===i?void 0:i.r;Ic(e,o,a,s,s)},[g]:(e,t)=>{if(!t.image.data)return;const{x:n,y:r}=t.props,{width:i,height:o,opacity:a}=t.style,s=t.box.paddingLeft||0,l=t.box.paddingLeft||0;0!==i&&0!==o?(e.save(),e.fillOpacity(a||1).image(t.image.data,n+l,r+s,{width:i,height:o}),e.restore()):console.warn(`Image with src '${t.props.href}' skipped due to invalid dimensions`)},[b]:(e,t)=>{const{cx:n,cy:r,rx:i,ry:o}=t.props||{};Ic(e,n,r,i,o)},[w]:(e,t)=>{Tc(e,t),e.closePath()},[C]:Tc},Vc=(e,t)=>{const n=Uc[t.type];n?n(e,t):console.warn(`SVG node of type ${t.type} is not currently supported`)},Gc=(e,t)=>{((e,t)=>{var n;const r=(null===(n=t.props)||void 0===n?void 0:n.strokeLinecap)||null;r&&e.lineCap(r)})(e,t),((e,t)=>{var n;const r=(null===(n=t.props)||void 0===n?void 0:n.strokeDasharray)||null;r&&e.dash(r.split(",").map(Number))})(e,t),((e,t)=>{var n;const r=(null===(n=t.props)||void 0===n?void 0:n.strokeLinejoin)||null;r&&e.lineJoin(r)})(e,t),((e,t)=>{var n;const r=(null===(n=t.props)||void 0===n?void 0:n.strokeWidth)||0;r&&e.lineWidth(r)})(e,t),((e,t)=>{var n;const r=(null===(n=t.props)||void 0===n?void 0:n.stroke)||null;r&&e.strokeColor(r)})(e,t),zc(e,t),((e,t)=>{var n;const r=(null===(n=t.props)||void 0===n?void 0:n.strokeOpacity)||null;oc(r)||e.strokeOpacity(r)})(e,t),((e,t)=>{var n;const r=(null===(n=t.props)||void 0===n?void 0:n.fillOpacity)||null;oc(r)||e.fillOpacity(r)})(e,t),((e,t)=>{var n;const r=(null===(n=t.props)||void 0===n?void 0:n.opacity)||null;oc(r)||e.opacity(r)})(e,t),Bc(e,t),Vc(e,t),((e,t)=>{const n=t.props||{};n.fill&&n.stroke?e.fillAndStroke(n.fillRule):n.fill?e.fill(n.fillRule):n.stroke?e.stroke():(e.save(),e.opacity(0),e.fill(null),e.restore())})(e,t)},qc=(e,t)=>{(t.children||[]).forEach((t=>{e.save(),((e,t)=>{var n;const r=null===(n=t.props)||void 0===n?void 0:n.clipPath;r&&((r.children||[]).forEach((t=>Vc(e,t))),e.clip())})(e,t),Gc(e,t),qc(e,t),e.restore()}))},Hc={value:[0,0,0],opacity:1},Wc=e=>{const t=Sc.get(e);if(!t)return Hc;return{value:Sc.to.hex(t.value.slice(0,3)),opacity:t.value[3]}},Yc=/^#.+/,Kc=(e,t)=>{const{xOffset:n=0,yOffset:r=0,width:i,height:o,image:a}=t;e.translate(-i+n,-o+r),e.image(a,0,0,{fit:[i,o],align:"center",valign:"bottom"})},Jc=(e,t,n)=>{const{font:r,fontSize:i,link:o}=t.attributes,a=Wc(t.attributes.color),s=oc(t.attributes.opacity)?a.opacity:t.attributes.opacity,{height:l,descent:c,xAdvance:u}=t;if(n.outlineRuns&&e.rect(0,-l,u,l).stroke(),e.fillColor(a.value),e.fillOpacity(s),o&&((e=>e.match(Yc))(o)?e.goTo(0,-l-c,u,l,o.slice(1)):e.link(0,-l-c,u,l,o)),((e,t)=>{e.save();const{font:n}=t.attributes,r=n.glyphForCodePoint(32),i=n.glyphForCodePoint(65532);let o=0;for(let a=0;a<t.glyphs.length;a+=1){const n=t.positions[a],s=t.glyphs[a];o+=n.xAdvance||0,s.id===i.id&&t.attributes.attachment&&(e.translate(o,n.yOffset||0),Kc(e,t.attributes.attachment),t.glyphs[a]=r,o=0)}e.restore()})(e,t),r.sbix||r.COLR&&r.CPAL){e.save(),e.translate(0,-t.ascent);for(let n=0;n<t.glyphs.length;n+=1){const r=t.positions[n],o=t.glyphs[n];e.save(),e.translate(r.xOffset,r.yOffset),o.render(e,i),e.restore(),e.translate(r.xAdvance,r.yAdvance)}e.restore()}else{e.font("string"===typeof r.name?r.name:r,i);try{_c(e,t.glyphs,t.positions,0,0)}catch(d){console.log(d)}}e.translate(u,0)},Xc=(e,t,n)=>{const r=Wc(n);e.save(),e.fillOpacity(r.opacity),e.rect(t.x,t.y,t.width,t.height),e.fill(r.value),e.restore()},Zc=(e,t)=>{if(e.save(),e.lineWidth(t.rect.height),e.strokeOpacity(t.opacity),/dashed/.test(t.style)?e.dash(3*t.rect.height):/dotted/.test(t.style)&&e.dash(t.rect.height),/wavy/.test(t.style)){const n=Math.max(2,t.rect.height);let r=1.1*n;const i=Math.floor(t.rect.width/(2*r));r+=(t.rect.width-2*i*r)/i/2;const o=t.rect.y+n,a=t.rect.y-n;let{x:s}=t.rect;e.moveTo(t.rect.x,t.rect.y);for(let l=0;l<i;l+=1)e.bezierCurveTo(s+r,o,s+r,a,s+2*r,t.rect.y),s+=2*r}else e.moveTo(t.rect.x,t.rect.y),e.lineTo(t.rect.x+t.rect.width,t.rect.y),/double/.test(t.style)&&(e.moveTo(t.rect.x,t.rect.y+2*t.rect.height),e.lineTo(t.rect.x+t.rect.width,t.rect.y+2*t.rect.height));e.stroke(t.color),e.restore()},$c=(e,t,n)=>{t.forEach((t=>{((e,t,n)=>{const r=t.ascent;n.outlineLines&&e.rect(t.box.x,t.box.y,t.box.width,t.box.height).stroke(),e.save(),e.translate(t.box.x,t.box.y+r);for(let i=0;i<t.runs.length;i+=1){const o=t.runs[i],a=i===t.runs.length-1;if(o.attributes.backgroundColor){const n=a?t.overflowRight:0,i={x:0,y:-r,height:t.box.height,width:o.xAdvance-n};Xc(e,i,o.attributes.backgroundColor)}Jc(e,o,n)}e.restore(),e.save(),e.translate(t.box.x,t.box.y);for(let i=0;i<t.decorationLines.length;i+=1){const n=t.decorationLines[i];Zc(e,n)}e.restore()})(e,t,n)}))},eu=e=>!Number.isNaN(parseFloat(e))&&Number.isFinite(e),tu=(e,t,n,r,i,o)=>{const a=e/t,s=n/r,l=cc(i),c=cc(o),u=l?l.percent:.5,d=c?c.percent:.5;if(a>s){const n=t,r=n*s,a=eu(o)?o:0;return{width:r,height:n,xOffset:eu(i)?i:(e-r)*u,yOffset:a}}const p=e,h=p/s,f=eu(i)?i:0;return{width:p,height:h,yOffset:eu(o)?o:(t-h)*d,xOffset:f}},nu=(e,t,n,r,i,o)=>{const a=n,s=r,l=cc(i),c=cc(o),u=l?l.percent:.5,d=c?c.percent:.5;return{width:a,height:s,xOffset:eu(i)?i:(e-a)*u,yOffset:eu(o)?o:(t-s)*d}},ru=function(e,t,n,r,i,o,a){switch(void 0===e&&(e="fill"),e){case"contain":return tu(t,n,r,i,o,a);case"cover":return((e,t,n,r,i,o)=>{const a=n/r,s=e/t,l=cc(i),c=cc(o),u=l?l.percent:.5,d=c?c.percent:.5;if(s>a){const n=e,r=n/a,s=eu(i)?i:0;return{width:n,height:r,yOffset:eu(o)?o:(t-r)*d,xOffset:s}}const p=t*a;return{width:p,height:t,xOffset:eu(i)?i:(e-p)*u,yOffset:eu(o)?o:0}})(t,n,r,i,o,a);case"none":return nu(t,n,r,i,o,a);case"scale-down":return((e,t,n,r,i,o)=>{const a=tu(e,t,n,r,i,o),s=nu(e,t,n,r,i,o);return a.width<s.width?a:s})(t,n,r,i,o,a);default:return((e,t,n,r)=>({width:e,height:t,xOffset:cc(n)?0:n||0,yOffset:cc(r)?0:r||0}))(t,n,o,a)}},iu=e=>({marginLeft:"auto"===e.marginLeft?0:e.marginLeft,marginTop:"auto"===e.marginTop?0:e.marginTop,marginRight:"auto"===e.marginRight?0:e.marginRight,marginBottom:"auto"===e.marginBottom?0:e.marginBottom}),ou=(e,t)=>{var n;null!==(n=t.props)&&void 0!==n&&n.debug&&(e.save(),((e,t)=>{const{left:n,top:r,width:i,height:o,paddingLeft:a=0,paddingTop:s=0,paddingRight:l=0,paddingBottom:c=0,borderLeftWidth:u=0,borderTopWidth:d=0,borderRightWidth:p=0,borderBottomWidth:h=0}=t.box;e.fillColor("#a1c6e7").opacity(.5).rect(n+a+u,r+s+d,i-a-l-p-u,o-s-c-d-h).fill()})(e,t),((e,t)=>{const{left:n,top:r,width:i,height:o,paddingLeft:a=0,paddingTop:s=0,paddingRight:l=0,paddingBottom:c=0,borderLeftWidth:u=0,borderTopWidth:d=0,borderRightWidth:p=0,borderBottomWidth:h=0}=t.box;e.fillColor("#c4deb9").opacity(.5),e.rect(n+a+u,r+d,i-l-a-u-p,s).fill(),e.rect(n+u,r+d,a,o-d-h).fill(),e.rect(n+i-l-p,r+d,l,o-d-h).fill(),e.rect(n+a+u,r+o-c-h,i-l-a-u-p,c).fill()})(e,t),((e,t)=>{const{left:n,top:r,width:i,height:o}=t.box,{marginLeft:a=0,marginTop:s=0,marginRight:l=0,marginBottom:c=0}=iu(t.box);e.fillColor("#f8cca1").opacity(.5),e.rect(n,r-s,i,s).fill(),e.rect(n-a,r-s,a,o+s+c).fill(),e.rect(n+i,r-s,l,o+s+c).fill(),e.rect(n,r+o,i,c).fill()})(e,t),((e,t)=>{const{left:n,top:r,width:i,height:o}=t.box,{marginLeft:a=0,marginTop:s=0,marginRight:l=0,marginBottom:c=0}=iu(t.box),u=Math.round(i+a+l),d=Math.round(o+s+c);e.fontSize(6).opacity(1).fillColor("black").text(`${u} x ${d}`,n-a,Math.max(r-s-4,1))})(e,t),((e,t)=>{t.origin&&e.circle(t.origin.left,t.origin.top,3).fill("red").circle(t.origin.left,t.origin.top,5).stroke("red")})(e,t),e.restore())},au=["dash","clip","save","path","fill","font","text","rect","scale","moveTo","lineTo","stroke","rotate","circle","lineCap","opacity","ellipse","polygon","restore","lineJoin","fontSize","fillColor","lineWidth","translate","miterLimit","strokeColor","fillOpacity","roundedRect","fillAndStroke","strokeOpacity","bezierCurveTo","quadraticCurveTo","linearGradient","radialGradient"],su=(Math.sqrt(2)-1)/3*4,lu=(e,t)=>{if(!(e=>e.box&&(e.box.borderTopWidth||e.box.borderRightWidth||e.box.borderBottomWidth||e.box.borderLeftWidth))(t))return;const{width:n,height:r,borderTopWidth:i,borderLeftWidth:o,borderRightWidth:a,borderBottomWidth:s}=t.box,{opacity:l,borderTopLeftRadius:c=0,borderTopRightRadius:u=0,borderBottomLeftRadius:d=0,borderBottomRightRadius:p=0,borderTopColor:h="black",borderTopStyle:f="solid",borderLeftColor:m="black",borderLeftStyle:g="solid",borderRightColor:v="black",borderRightStyle:y="solid",borderBottomColor:A="black",borderBottomStyle:b="solid"}=t.style,w={borderTopColor:h,borderTopWidth:i,borderTopStyle:f,borderLeftColor:m,borderLeftWidth:o,borderLeftStyle:g,borderRightColor:v,borderRightWidth:a,borderRightStyle:y,borderBottomColor:A,borderBottomWidth:s,borderBottomStyle:b,borderTopLeftRadius:c,borderTopRightRadius:u,borderBottomLeftRadius:d,borderBottomRightRadius:p},x=Math.min(u,.5*n,.5*r),C=Math.min(c,.5*n,.5*r),S=Math.min(p,.5*n,.5*r),k=Math.min(d,.5*n,.5*r);e.save(),e.strokeOpacity(l),i&&(e.save(),((e,t,n,r,i)=>{const{top:o,left:a,width:s,height:l}=t,{borderTopWidth:c,borderRightWidth:u,borderLeftWidth:d}=n;e.moveTo(a+i,o),e.lineTo(a+s-r,o);const p=r*(1-su);e.bezierCurveTo(a+s-p,o,a+s,o+p,a+s,o+r);const h=o+Math.max(c,r);e.lineTo(a+s,h),e.lineTo(a+s-u,h);const f=Math.max(r-u,0),m=Math.max(r-c,0),g=f*(1-su),v=m*(1-su);e.bezierCurveTo(a+s-u,o+c+v,a+s-u-g,o+c,a+s-u-f,o+c),e.lineTo(a+Math.max(i,d),o+c);const y=Math.max(i-d,0),A=Math.max(i-c,0),b=y*(1-su),w=A*(1-su),x=o+Math.max(c,i);e.bezierCurveTo(a+d+b,o+c,a+d,o+c+w,a+d,x),e.lineTo(a,x),e.lineTo(a,o+i);const C=i*(1-su);if(e.bezierCurveTo(a,o+C,a+C,o,a+i,o),e.closePath(),e.clip(),u){const t=-c/u;e.moveTo(a+s/2,t*(-s/2)+o),e.lineTo(a+s,o),e.lineTo(a,o),e.lineTo(a,o+l),e.closePath(),e.clip()}if(d){const t=-c/d;e.moveTo(a+s/2,t*(-s/2)+o),e.lineTo(a,o),e.lineTo(a+s,o),e.lineTo(a+s,o+l),e.closePath(),e.clip()}})(e,t.box,w,x,C),((e,t,n,r,i)=>{const{top:o,left:a,width:s}=t,{borderTopColor:l,borderTopWidth:c,borderTopStyle:u,borderRightWidth:d,borderLeftWidth:p}=n,h=i*(1-su),f=r*(1-su);e.moveTo(a,o+Math.max(i,c)),e.bezierCurveTo(a,o+h,a+h,o,a+i,o),e.lineTo(a+s-r,o),e.bezierCurveTo(a+s-f,o,a+s,o+f,a+s,o+r),e.strokeColor(l),e.lineWidth(2*Math.max(d,c,p)),"dashed"===u?e.dash(2*c,{space:1.2*c}):"dotted"===u&&e.dash(c,{space:1.2*c}),e.stroke(),e.undash()})(e,t.box,w,x,C),e.restore()),a&&(e.save(),((e,t,n,r,i)=>{const{top:o,left:a,width:s,height:l}=t,{borderTopWidth:c,borderRightWidth:u,borderBottomWidth:d}=n;e.moveTo(a+s,o+r),e.lineTo(a+s,o+l-i);const p=i*(1-su);e.bezierCurveTo(a+s,o+l-p,a+s-p,o+l,a+s-i,o+l);const h=a+s-Math.max(u,i);e.lineTo(h,o+l),e.lineTo(h,o+l-d);const f=Math.max(i-u,0),m=Math.max(i-d,0),g=f*(1-su),v=m*(1-su);e.bezierCurveTo(a+s-u-g,o+l-d,a+s-u,o+l-d-v,a+s-u,o+l-Math.max(i,d)),e.lineTo(a+s-u,o+Math.max(r,c));const y=Math.max(r-u,0),A=Math.max(r-c,0),b=y*(1-su),w=A*(1-su),x=a+s-Math.max(r,u);e.bezierCurveTo(a+s-u,o+c+w,a+s-u-b,o+c,x,o+c),e.lineTo(x,o),e.lineTo(a+s-r,o);const C=r*(1-su);if(e.bezierCurveTo(a+s-C,o,a+s,o+C,a+s,o+r),e.closePath(),e.clip(),c){const t=-c/u;e.moveTo(a+s/2,t*(-s/2)+o),e.lineTo(a+s,o),e.lineTo(a+s,o+l),e.lineTo(a,o+l),e.closePath(),e.clip()}if(d){const t=d/u;e.moveTo(a+s/2,t*(-s/2)+o+l),e.lineTo(a+s,o+l),e.lineTo(a+s,o),e.lineTo(a,o),e.closePath(),e.clip()}})(e,t.box,w,x,S),((e,t,n,r,i)=>{const{top:o,left:a,width:s,height:l}=t,{borderRightColor:c,borderRightStyle:u,borderRightWidth:d,borderTopWidth:p,borderBottomWidth:h}=n,f=i*(1-su),m=r*(1-su);e.moveTo(a+s-r,o),e.bezierCurveTo(a+s-m,o,a+s,o+m,a+s,o+r),e.lineTo(a+s,o+l-i),e.bezierCurveTo(a+s,o+l-f,a+s-f,o+l,a+s-i,o+l),e.strokeColor(c),e.lineWidth(2*Math.max(d,p,h)),"dashed"===u?e.dash(2*d,{space:1.2*d}):"dotted"===u&&e.dash(d,{space:1.2*d}),e.stroke(),e.undash()})(e,t.box,w,x,S),e.restore()),s&&(e.save(),((e,t,n,r,i)=>{const{top:o,left:a,width:s,height:l}=t,{borderBottomWidth:c,borderRightWidth:u,borderLeftWidth:d}=n;e.moveTo(a+s-i,o+l),e.lineTo(a+r,o+l);const p=r*(1-su);e.bezierCurveTo(a+p,o+l,a,o+l-p,a,o+l-r);const h=o+l-Math.max(c,r);e.lineTo(a,h),e.lineTo(a+d,h);const f=Math.max(r-d,0),m=Math.max(r-c,0),g=f*(1-su),v=m*(1-su);e.bezierCurveTo(a+d,o+l-c-v,a+d+g,o+l-c,a+d+f,o+l-c),e.lineTo(a+s-Math.max(i,u),o+l-c);const y=Math.max(i-u,0),A=Math.max(i-c,0),b=y*(1-su),w=A*(1-su),x=o+l-Math.max(c,i);e.bezierCurveTo(a+s-u-b,o+l-c,a+s-u,o+l-c-w,a+s-u,x),e.lineTo(a+s,x),e.lineTo(a+s,o+l-i);const C=i*(1-su);if(e.bezierCurveTo(a+s,o+l-C,a+s-C,o+l,a+s-i,o+l),e.closePath(),e.clip(),u){const t=c/u;e.moveTo(a+s/2,t*(-s/2)+o+l),e.lineTo(a+s,o+l),e.lineTo(a,o+l),e.lineTo(a,o),e.closePath(),e.clip()}if(d){const t=-c/d;e.moveTo(a+s/2,t*(s/2)+o+l),e.lineTo(a,o+l),e.lineTo(a+s,o+l),e.lineTo(a+s,o),e.closePath(),e.clip()}})(e,t.box,w,k,S),((e,t,n,r,i)=>{const{top:o,left:a,width:s,height:l}=t,{borderBottomColor:c,borderBottomStyle:u,borderBottomWidth:d,borderRightWidth:p,borderLeftWidth:h}=n,f=r*(1-su),m=i*(1-su);e.moveTo(a+s,o+l-i),e.bezierCurveTo(a+s,o+l-m,a+s-m,o+l,a+s-i,o+l),e.lineTo(a+r,o+l),e.bezierCurveTo(a+f,o+l,a,o+l-f,a,o+l-r),e.strokeColor(c),e.lineWidth(2*Math.max(d,p,h)),"dashed"===u?e.dash(2*d,{space:1.2*d}):"dotted"===u&&e.dash(d,{space:1.2*d}),e.stroke(),e.undash()})(e,t.box,w,k,S),e.restore()),o&&(e.save(),((e,t,n,r,i)=>{const{top:o,left:a,width:s,height:l}=t,{borderTopWidth:c,borderLeftWidth:u,borderBottomWidth:d}=n;e.moveTo(a,o+l-r),e.lineTo(a,o+i);const p=i*(1-su);e.bezierCurveTo(a,o+p,a+p,o,a+i,o);const h=a+Math.max(u,i);e.lineTo(h,o),e.lineTo(h,o+c);const f=Math.max(i-u,0),m=Math.max(i-c,0),g=f*(1-su),v=m*(1-su);e.bezierCurveTo(a+u+g,o+c,a+u,o+c+v,a+u,o+Math.max(i,c)),e.lineTo(a+u,o+l-Math.max(r,d));const y=Math.max(r-u,0),A=Math.max(r-d,0),b=y*(1-su),w=A*(1-su),x=a+Math.max(r,u);e.bezierCurveTo(a+u,o+l-d-w,a+u+b,o+l-d,x,o+l-d),e.lineTo(x,o+l),e.lineTo(a+r,o+l);const C=r*(1-su);if(e.bezierCurveTo(a+C,o+l,a,o+l-C,a,o+l-r),e.closePath(),e.clip(),d){const t=-d/u;e.moveTo(a+s/2,t*(s/2)+o+l),e.lineTo(a,o+l),e.lineTo(a,o),e.lineTo(a+s,o),e.closePath(),e.clip()}if(d){const t=-c/u;e.moveTo(a+s/2,t*(-s/2)+o),e.lineTo(a,o),e.lineTo(a,o+l),e.lineTo(a+s,o+l),e.closePath(),e.clip()}})(e,t.box,w,k,C),((e,t,n,r,i)=>{const{top:o,left:a,height:s}=t,{borderLeftColor:l,borderLeftStyle:c,borderLeftWidth:u,borderTopWidth:d,borderBottomWidth:p}=n,h=r*(1-su),f=i*(1-su);e.moveTo(a+r,o+s),e.bezierCurveTo(a+h,o+s,a,o+s-h,a,o+s-r),e.lineTo(a,o+i),e.bezierCurveTo(a,o+f,a+f,o,a+i,o),e.strokeColor(l),e.lineWidth(2*Math.max(u,d,p)),"dashed"===c?e.dash(2*u,{space:1.2*u}):"dotted"===c&&e.dash(u,{space:1.2*u}),e.stroke(),e.undash()})(e,t.box,w,k,C),e.restore()),e.restore()},cu=(e,t)=>{var n;!!t.box&&!(null===(n=t.style)||void 0===n||!n.backgroundColor)&&(e.save(),jc(e,t),((e,t)=>{var n;const{top:r,left:i,width:o,height:a}=t.box,s=Wc(t.style.backgroundColor),l=oc(null===(n=t.style)||void 0===n?void 0:n.opacity)?1:t.style.opacity,c=Math.min(s.opacity,l);e.fillOpacity(c).fillColor(s.value).rect(i,r,o,a).fill()})(e,t),e.restore())},uu={[s]:(e,t)=>{var n,r;const{top:i,left:o}=t.box,a=[t.lines],s=(null===(n=t.box)||void 0===n?void 0:n.paddingTop)||0,l=(null===(r=t.box)||void 0===r?void 0:r.paddingLeft)||0,c=t.lines[0]?t.lines[0].box.y:0,u=t.alignOffset||0;e.save(),e.translate(o+l-u,i+s-c),a.forEach((t=>{$c(e,t,{})})),e.restore()},[u]:(e,t)=>{var n,r,i;const{top:o,left:a}=t.box,s=(null===t||void 0===t||null===(n=t.children)||void 0===n?void 0:n[0].value)||"",l=(null===(r=t.style)||void 0===r?void 0:r.backgroundColor)||null,c=(null===(i=t.style)||void 0===i?void 0:i.borderWidth)||null;e.note(a,o,0,0,s,{color:l,borderWidth:c})},[g]:(e,t,n)=>{e.save(),jc(e,t),function(e,t,n){var r,i,o,a;void 0===n&&(n={});const{left:s,top:l}=t.box,c=null===(r=t.style)||void 0===r?void 0:r.opacity,u=null===(i=t.style)||void 0===i?void 0:i.objectFit,d=null===(o=t.style)||void 0===o?void 0:o.objectPositionX,p=null===(a=t.style)||void 0===a?void 0:a.objectPositionY,h=t.box.paddingTop||0,f=t.box.paddingRight||0,m=t.box.paddingBottom||0,g=t.box.paddingLeft||0,v=n.imageCache||new Map,{width:y,height:A,xOffset:b,yOffset:w}=ru(u,t.box.width-g-f,t.box.height-h-m,t.image.width,t.image.height,d,p);if(t.image.data)if(0!==y&&0!==A){const n=t.image.key,r=v.get(n)||e.embedImage(t.image.data);n&&v.set(n,r);const i=oc(c)?1:c;e.fillOpacity(i).image(r,s+g+b,l+h+w,{width:y,height:A})}else console.warn(`Image with src '${JSON.stringify(t.props.src)}' skipped due to invalid dimensions`)}(e,t,n),e.restore()},[y]:(e,t)=>{const{top:n,left:r,width:i,height:o}=t.box,a=t.box.paddingTop||0,s=t.box.paddingLeft||0,l=i-s-(t.box.paddingRight||0),c=o-a-(t.box.paddingBottom||0);l&&c||console.warn("Canvas element has null width or height. Please provide valid values via the `style` prop in order to correctly render it."),e.save().translate(r+s,n+a),t.props.paint&&t.props.paint((e=>{const t=au.reduce(((n,r)=>({...n,[r]:function(){return e[r](...arguments),t}})),{});return t})(e),l,c),e.restore()},[o]:(e,t)=>{e.save(),jc(e,t),((e,t)=>{const{top:n,left:r}=t.box,i=t.box.paddingLeft||0,o=t.box.paddingTop||0;e.translate(r+i,n+o)})(e,t),((e,t)=>{const{width:n,height:r}=t.box,{viewBox:i,preserveAspectRatio:o={}}=t.props,{meetOrSlice:a="meet",align:s="xMidYMid"}=o;if(null==i||null==n||null==r)return;const l=(null===i||void 0===i?void 0:i.minX)||0,c=(null===i||void 0===i?void 0:i.minY)||0,u=(null===i||void 0===i?void 0:i.maxX)||n,d=(null===i||void 0===i?void 0:i.maxY)||r,p=u/d,h=n/r,f=n/u,m=r/d;if("none"===s)return e.scale(f,m),void e.translate(-l,-c);if(p<h&&"meet"===a||p>=h&&"slice"===a)switch(e.scale(m,m),s){case"xMinYMin":case"xMinYMid":case"xMinYMax":e.translate(-l,-c);break;case"xMidYMin":case"xMidYMid":case"xMidYMax":e.translate(-l-(u-n*d/r)/2,-c);break;default:e.translate(-l-(u-n*d/r),-c)}else switch(e.scale(f,f),s){case"xMinYMin":case"xMidYMin":case"xMaxYMin":e.translate(-l,-c);break;case"xMinYMid":case"xMidYMid":case"xMaxYMid":e.translate(-l,-c-(d-r*u/n)/2);break;default:e.translate(-l,-c-(d-r*u/n))}})(e,t),qc(e,t),e.restore()},[l]:(e,t)=>{const n=t.props||{},{top:r,left:i,width:o,height:a}=t.box,s=n.src||n.href;if(s){const t=(e=>/^#.+/.test(e))(s),n=t?"goTo":"link",l=t?s.slice(1):s;e[n](i,r,o,a,l)}}},du=(e,t,n)=>{var r;const i="hidden"===(null===(r=t.style)||void 0===r?void 0:r.overflow),a=(e=>e.type!==s&&e.type!==o)(t);t.type===c&&((e,t)=>{var n;const{width:r,height:i}=t.box,o=((null===(n=t.props)||void 0===n?void 0:n.dpi)||72)/72;e.addPage({size:[r,i],margin:0,userUnit:o})})(e,t),e.save(),i&&jc(e,t),Bc(e,t),cu(e,t),lu(e,t);const l=uu[t.type];l&&l(e,t,n),a&&((e,t,n)=>{e.save(),t.box&&e.translate(t.box.left,t.box.top),(t.children||[]).forEach((t=>du(e,t,n))),e.restore()})(e,t,n),((e,t)=>{var n;null!==(n=t.props)&&void 0!==n&&n.id&&e.addNamedDestination(t.props.id,"XYZ",null,t.box.top,null)})(e,t),ou(e,t),e.restore()},pu=(e,t,n,r)=>{var i;const o=null===(i=t.props)||void 0===i?void 0:i.bookmark;if(o){const{title:i,parent:a,expanded:s,zoom:l,fit:c}=o,u=r[a]||e.outline,d=o.top||t.box.top,p=o.left||t.box.left,h=u.addItem(i,{pageNumber:n,expanded:s,top:d,left:p,zoom:l,fit:c});r[o.ref]=h}t.children&&t.children.forEach((t=>pu(e,t,n,r)))},hu=(e,t)=>{const n=t.children||[],r={imageCache:new Map};return((e,t)=>{const n=(r=e,(e,t)=>{t&&(r.info[e]=t)});var r;const i=t.props||{},o=i.title||null,a=i.author||null,s=i.subject||null,l=i.keywords||null,c=i.creator??"react-pdf",u=i.producer??"react-pdf",d=i.creationDate||new Date,p=i.modificationDate||null;n("Title",o),n("Author",a),n("Subject",s),n("Keywords",l),n("Creator",c),n("Producer",u),n("CreationDate",d),n("ModificationDate",p)})(e,t),n.forEach((t=>du(e,t,r))),((e,t)=>{const n={};(t.children||[]).forEach(((t,r)=>{pu(e,t,r,n)}))})(e,t),e.end(),e};var fu=n(46864),mu=n(17129),gu=n(85281),vu=n(30395),yu=n(17766);const Au=new de({identifier:new oe(1),value:new oe(1)}),bu={name:()=>"DAC",length:z,tables:new te(Au,(e=>e.length/2))},wu=(e,t)=>e[t],xu=(e,t)=>e[t]<<8|e[t+1],Cu=(e,t)=>e[t]|e[t+1]<<8,Su=(e,t)=>e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3],ku=(e,t)=>e[t]|e[t+1]<<8|e[t+2]<<16|e[t+3]<<24,Eu=e=>Array.from(e,(e=>e.toString(16).padStart(2,"0"))).join(""),Iu=new TextDecoder("utf-8"),_u=e=>{const t=e.reduce(((e,t)=>e+t.length),0),n=new Uint8Array(t);let r=0;return e.forEach((e=>{n.set(e,r),r+=e.length})),n};const Pu={name:()=>"DHT",length:z,tables:new class{decode(e,t){const n={};let r=e.buffer.slice(e.pos,e.pos+t.length-2);for(;r.length>0;){let e=1;const t=[],i=wu(r,0),o=r.slice(e,e+16);e+=16;for(const n of o)t.push(r.slice(e,e+n)),e+=n;r=r.slice(e),n[i]=_u(t)}return e.pos+=t.length-2,n}}},Ou=Pu,Tu={name:()=>"DQT",length:z,tables:new te(new de({identifier:new oe(1),data:new oe(64)}),(e=>(e.length-2)/65))},Du={name:()=>"DRI",length:z,restartInterval:z},ju={name:()=>"EOI",afterEOI:new se(F,1/0)},Bu={"010e":"imageDescription","010f":"make","011a":"xResolution","011b":"yResolution","011c":"planarConfiguration","012d":"transferFunction","013b":"artist","013e":"whitePoint","013f":"primaryChromaticities","0100":"imageWidth","0101":"imageHeight","0102":"bitsPerSample","0103":"compression","0106":"photometricInterpretation","0110":"model","0111":"stripOffsets","0112":"orientation","0115":"samplesPerPixel","0116":"rowsPerStrip","0117":"stripByteCounts","0128":"resolutionUnit","0131":"software","0132":"dateTime","0201":"jpegInterchangeFormat","0202":"jpegInterchangeFormatLength","0211":"ycbCrCoefficients","0212":"ycbCrSubSampling","0213":"ycbCrPositioning","0214":"referenceBlackWhite","829a":"exposureTime","829d":"fNumber","920a":"focalLength","927c":"makerNote",8298:"copyright",8769:"exifIFDPointer",8822:"exposureProgram",8824:"spectralSensitivity",8825:"gpsInfoIFDPointer",8827:"photographicSensitivity",8828:"oecf",8830:"sensitivityType",8831:"standardOutputSensitivity",8832:"recommendedExposureIndex",8833:"isoSpeed",8834:"isoSpeedLatitudeyyy",8835:"isoSpeedLatitudezzz",9e3:"exifVersion",9003:"dateTimeOriginal",9004:"dateTimeDigitized",9101:"componentsConfiguration",9102:"compressedBitsPerPixel",9201:"shutterSpeedValue",9202:"apertureValue",9203:"brightnessValue",9204:"exposureBiasValue",9205:"maxApertureValue",9206:"subjectDistance",9207:"meteringMode",9208:"lightSource",9209:"flash",9214:"subjectArea",9286:"userComment",9290:"subSecTime",9291:"subSecTimeOriginal",9292:"subSecTimeDigitized",a000:"flashpixVersion",a001:"colorSpace",a002:"pixelXDimension",a003:"pixelYDimension",a004:"relatedSoundFile",a005:"interoperabilityIFDPointer",a20b:"flashEnergy",a20c:"spatialFrequencyResponse",a20e:"focalPlaneXResolution",a20f:"focalPlaneYResolution",a40a:"sharpness",a40b:"deviceSettingDescription",a40c:"subjectDistanceRange",a210:"focalPlaneResolutionUnit",a214:"subjectLocation",a215:"exposureIndex",a217:"sensingMethod",a300:"fileSource",a301:"sceneType",a302:"cfaPattern",a401:"customRendered",a402:"exposureMode",a403:"whiteBalance",a404:"digitalZoomRatio",a405:"focalLengthIn35mmFilm",a406:"sceneCaptureType",a407:"gainControl",a408:"contrast",a409:"saturation",a420:"imageUniqueID",a430:"cameraOwnerName",a431:"bodySerialNumber",a432:"lensSpecification",a433:"lensMake",a434:"lensModel",a435:"lensSerialNumber",a500:"gamma"},Nu={"0000":"gpsVersionID","0001":"gpsLatitudeRef","0002":"gpsLatitude","0003":"gpsLongitudeRef","0004":"gpsLongitude","0005":"gpsAltitudeRef","0006":"gpsAltitude","0007":"gpsTimeStamp","0008":"gpsSatellites","0009":"gpsStatus","000a":"gpsMeasureMode","000b":"gpsDOP","000c":"gpsSpeedRef","000d":"gpsSpeed","000e":"gpsTrackRef","000f":"gpsTrack","0010":"gpsImgDirectionRef","0011":"gpsImgDirection","0012":"gpsMapDatum","0013":"gpsDestLatitudeRef","0014":"gpsDestLatitude","0015":"gpsDestLongitudeRef","0016":"gpsDestLongitude","0017":"gpsDestBearingRef","0018":"gpsDestBearing","0019":"gpsDestDistanceRef","001a":"gpsDestDistance","001b":"gpsProcessingMethod","001c":"gpsAreaInformation","001d":"gpsDateStamp","001e":"gpsDifferential","001f":"gpsHPositioningError"};class Mu{constructor(e){this.bigEndian=e,this.bytes=[0,1,1,2,4,8,1,1,2,4,8,4,8]}_getTagValue(e,t,n){switch(t){case 2:return e.toString("ascii").replace(/\0+$/,"");case 129:return e.toString("utf8").replace(/\0+$/,"");case 7:return"0x"+e.toString("hex");default:return this._getTagValueForNumericalData(e,t,n)}}_getTagValueForNumericalData(e,t,n){const r=[],i=this.bytes[t];for(let o=0;o<n;o+=1)r.push(this._getSingleTagValueForNumericalData(e,t,o*i));return 1===r.length?r[0]:r}_getSingleTagValueForNumericalData(e,t,n){const r=t=>this.bigEndian?xu(e,t):Cu(e,t),i=t=>this.bigEndian?Su(e,t):ku(e,t),o=t=>this.bigEndian?((e,t)=>0|Su(e,t))(e,t):((e,t)=>0|ku(e,t))(e,t);switch(t){case 1:return wu(e,n);case 3:return r(n);case 4:return i(n);case 5:return i(n)/i(n+4);case 9:return o(n);case 10:return o(n)/o(n+4)}}_decodeIDFEntries(e,t,n){let r=2+n;const i={},o=t=>this.bigEndian?xu(e,t):Cu(e,t),a=t=>this.bigEndian?Su(e,t):ku(e,t),s=o(n);for(let l=0;l<s;l++){const n=e.slice(r,r+2),s=o(r+2),l=a(r+4),c=l*this.bytes[s];let u=e.slice(r+8,r+12);if(c>4){const t=this.bigEndian?Su(u,0):ku(u,0);u=e.slice(t,t+c)}const d=this._getTagValue(u,s,l);i[t[this.bigEndian?Eu(n):Eu(n.reverse())]]=d,r+=12}return i}decode(e,t){const n=e.buffer.slice(e.pos-8),r=t.offsetToFirstIFD;if(r>n.length)return e.pos+=t.parent.length-16,{};const i=this._decodeIDFEntries(n,Bu,r),{exifIFDPointer:o,gpsInfoIFDPointer:a}=i;if(o&&(i.subExif=this._decodeIDFEntries(n,Bu,o)),a){const e=a;i.gpsInfo=this._decodeIDFEntries(n,Nu,e,!0)}return e.pos+=t.parent.length-16,i}}const Ru={name:()=>"EXIF",length:z,identifier:new le(6),entries:new class{decode(e,t){var n;const r="MM"===(n=e.buffer.slice(e.pos,e.pos+2),Iu.decode(n));e.pos+=2;const i=(e=>new de({fortyTwo:e?z:U,offsetToFirstIFD:e?G:H,entries:new Mu(e)}))(r).decode(e,t);return i.entries}}},Lu=Ru,Fu={name:()=>"JFIF",length:z,identifier:new le(5),version:z,units:F,xDensity:z,yDensity:z,thumbnailWidth:F,thumbnailHeight:F};const zu=new de({scanComponentSelector:F,entropyCodingTable:new oe(1)}),Qu={name:()=>"SOS",length:z,numberOfImageComponents:F,componentSpecifications:new te(zu,(e=>e.numberOfImageComponents)),startOfSpectral:F,endOfSpectral:F,successiveApproximationBit:new oe(1),data:new class{decode(e){const t=e.buffer.slice(e.pos);let n=0,r=t.indexOf(255);for(;-1!==r;){n=r;const e=t[n+1];if(0!==e&&!(e>=208&&e<=215))break;r=t.indexOf(255,r+1)}return e.pos+=n,t.slice(0,n)}}},Uu=Qu,Vu=new de({id:F,samplingFactors:F,quantizationTableId:F}),Gu={name:()=>"SOF",length:z,precision:F,height:z,width:z,numberOfComponents:F,components:new te(Vu,(e=>e.numberOfComponents))},qu={name:()=>"SOI"},Hu={length:z,buf:new oe((e=>e.length-2))},Wu=Array(63).fill(0).reduce(((e,t,n)=>({...e,[n+65472]:Hu})),{}),Yu=new pe(z,{...Wu,65472:Gu,65473:Gu,65474:Gu,65475:Gu,65476:Ou,65477:Gu,65478:Gu,65479:Gu,65481:Gu,65482:Gu,65483:Gu,65484:bu,65485:Gu,65486:Gu,65487:Gu,65496:qu,65497:ju,65498:Uu,65499:Tu,65501:Du,65504:Fu,65505:Lu}),Ku=new te(Yu),Ju=e=>Ku.fromBuffer(e).map((e=>{let{version:t,...n}=e;return{type:t,...n}}));var Xu="undefined"!==typeof global?global:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{},Zu=[],$u=[],ed="undefined"!==typeof Uint8Array?Uint8Array:Array,td=!1;function nd(){td=!0;for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t=0;t<64;++t)Zu[t]=e[t],$u[e.charCodeAt(t)]=t;$u["-".charCodeAt(0)]=62,$u["_".charCodeAt(0)]=63}function rd(e,t,n){for(var r,i,o=[],a=t;a<n;a+=3)r=(e[a]<<16)+(e[a+1]<<8)+e[a+2],o.push(Zu[(i=r)>>18&63]+Zu[i>>12&63]+Zu[i>>6&63]+Zu[63&i]);return o.join("")}function id(e){var t;td||nd();for(var n=e.length,r=n%3,i="",o=[],a=16383,s=0,l=n-r;s<l;s+=a)o.push(rd(e,s,s+a>l?l:s+a));return 1===r?(t=e[n-1],i+=Zu[t>>2],i+=Zu[t<<4&63],i+="=="):2===r&&(t=(e[n-2]<<8)+e[n-1],i+=Zu[t>>10],i+=Zu[t>>4&63],i+=Zu[t<<2&63],i+="="),o.push(i),o.join("")}function od(e,t,n,r,i){var o,a,s=8*i-r-1,l=(1<<s)-1,c=l>>1,u=-7,d=n?i-1:0,p=n?-1:1,h=e[t+d];for(d+=p,o=h&(1<<-u)-1,h>>=-u,u+=s;u>0;o=256*o+e[t+d],d+=p,u-=8);for(a=o&(1<<-u)-1,o>>=-u,u+=r;u>0;a=256*a+e[t+d],d+=p,u-=8);if(0===o)o=1-c;else{if(o===l)return a?NaN:1/0*(h?-1:1);a+=Math.pow(2,r),o-=c}return(h?-1:1)*a*Math.pow(2,o-r)}function ad(e,t,n,r,i,o){var a,s,l,c=8*o-i-1,u=(1<<c)-1,d=u>>1,p=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,h=r?0:o-1,f=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=u):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),(t+=a+d>=1?p/l:p*Math.pow(2,1-d))*l>=2&&(a++,l/=2),a+d>=u?(s=0,a=u):a+d>=1?(s=(t*l-1)*Math.pow(2,i),a+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,i),a=0));i>=8;e[n+h]=255&s,h+=f,s/=256,i-=8);for(a=a<<i|s,c+=i;c>0;e[n+h]=255&a,h+=f,a/=256,c-=8);e[n+h-f]|=128*m}var sd={}.toString,ld=Array.isArray||function(e){return"[object Array]"==sd.call(e)};pd.TYPED_ARRAY_SUPPORT=void 0===Xu.TYPED_ARRAY_SUPPORT||Xu.TYPED_ARRAY_SUPPORT;var cd=ud();function ud(){return pd.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function dd(e,t){if(ud()<t)throw new RangeError("Invalid typed array length");return pd.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=pd.prototype:(null===e&&(e=new pd(t)),e.length=t),e}function pd(e,t,n){if(!pd.TYPED_ARRAY_SUPPORT&&!(this instanceof pd))return new pd(e,t,n);if("number"===typeof e){if("string"===typeof t)throw new Error("If encoding is specified then the first argument must be a string");return md(this,e)}return hd(this,e,t,n)}function hd(e,t,n,r){if("number"===typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!==typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,n,r){if(t.byteLength,n<0||t.byteLength<n)throw new RangeError("'offset' is out of bounds");if(t.byteLength<n+(r||0))throw new RangeError("'length' is out of bounds");t=void 0===n&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,n):new Uint8Array(t,n,r);pd.TYPED_ARRAY_SUPPORT?(e=t).__proto__=pd.prototype:e=gd(e,t);return e}(e,t,n,r):"string"===typeof t?function(e,t,n){"string"===typeof n&&""!==n||(n="utf8");if(!pd.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var r=0|Ad(t,n);e=dd(e,r);var i=e.write(t,n);i!==r&&(e=e.slice(0,i));return e}(e,t,n):function(e,t){if(yd(t)){var n=0|vd(t.length);return 0===(e=dd(e,n)).length||t.copy(e,0,0,n),e}if(t){if("undefined"!==typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!==typeof t.length||(r=t.length)!==r?dd(e,0):gd(e,t);if("Buffer"===t.type&&ld(t.data))return gd(e,t.data)}var r;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function fd(e){if("number"!==typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function md(e,t){if(fd(t),e=dd(e,t<0?0:0|vd(t)),!pd.TYPED_ARRAY_SUPPORT)for(var n=0;n<t;++n)e[n]=0;return e}function gd(e,t){var n=t.length<0?0:0|vd(t.length);e=dd(e,n);for(var r=0;r<n;r+=1)e[r]=255&t[r];return e}function vd(e){if(e>=ud())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+ud().toString(16)+" bytes");return 0|e}function yd(e){return!(null==e||!e._isBuffer)}function Ad(e,t){if(yd(e))return e.length;if("undefined"!==typeof ArrayBuffer&&"function"===typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!==typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return Hd(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return Wd(e).length;default:if(r)return Hd(e).length;t=(""+t).toLowerCase(),r=!0}}function bd(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return Nd(this,t,n);case"utf8":case"utf-8":return Td(this,t,n);case"ascii":return jd(this,t,n);case"latin1":case"binary":return Bd(this,t,n);case"base64":return Od(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Md(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function wd(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function xd(e,t,n,r,i){if(0===e.length)return-1;if("string"===typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if("string"===typeof t&&(t=pd.from(t,r)),yd(t))return 0===t.length?-1:Cd(e,t,n,r,i);if("number"===typeof t)return t&=255,pd.TYPED_ARRAY_SUPPORT&&"function"===typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):Cd(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function Cd(e,t,n,r,i){var o,a=1,s=e.length,l=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;a=2,s/=2,l/=2,n/=2}function c(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){var u=-1;for(o=n;o<s;o++)if(c(e,o)===c(t,-1===u?0:o-u)){if(-1===u&&(u=o),o-u+1===l)return u*a}else-1!==u&&(o-=o-u),u=-1}else for(n+l>s&&(n=s-l),o=n;o>=0;o--){for(var d=!0,p=0;p<l;p++)if(c(e,o+p)!==c(t,p)){d=!1;break}if(d)return o}return-1}function Sd(e,t,n,r){n=Number(n)||0;var i=e.length-n;r?(r=Number(r))>i&&(r=i):r=i;var o=t.length;if(o%2!==0)throw new TypeError("Invalid hex string");r>o/2&&(r=o/2);for(var a=0;a<r;++a){var s=parseInt(t.substr(2*a,2),16);if(isNaN(s))return a;e[n+a]=s}return a}function kd(e,t,n,r){return Yd(Hd(t,e.length-n),e,n,r)}function Ed(e,t,n,r){return Yd(function(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(t),e,n,r)}function Id(e,t,n,r){return Ed(e,t,n,r)}function _d(e,t,n,r){return Yd(Wd(t),e,n,r)}function Pd(e,t,n,r){return Yd(function(e,t){for(var n,r,i,o=[],a=0;a<e.length&&!((t-=2)<0);++a)r=(n=e.charCodeAt(a))>>8,i=n%256,o.push(i),o.push(r);return o}(t,e.length-n),e,n,r)}function Od(e,t,n){return 0===t&&n===e.length?id(e):id(e.slice(t,n))}function Td(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;i<n;){var o,a,s,l,c=e[i],u=null,d=c>239?4:c>223?3:c>191?2:1;if(i+d<=n)switch(d){case 1:c<128&&(u=c);break;case 2:128===(192&(o=e[i+1]))&&(l=(31&c)<<6|63&o)>127&&(u=l);break;case 3:o=e[i+1],a=e[i+2],128===(192&o)&&128===(192&a)&&(l=(15&c)<<12|(63&o)<<6|63&a)>2047&&(l<55296||l>57343)&&(u=l);break;case 4:o=e[i+1],a=e[i+2],s=e[i+3],128===(192&o)&&128===(192&a)&&128===(192&s)&&(l=(15&c)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&l<1114112&&(u=l)}null===u?(u=65533,d=1):u>65535&&(u-=65536,r.push(u>>>10&1023|55296),u=56320|1023&u),r.push(u),i+=d}return function(e){var t=e.length;if(t<=Dd)return String.fromCharCode.apply(String,e);var n="",r=0;for(;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=Dd));return n}(r)}pd.poolSize=8192,pd._augment=function(e){return e.__proto__=pd.prototype,e},pd.from=function(e,t,n){return hd(null,e,t,n)},pd.TYPED_ARRAY_SUPPORT&&(pd.prototype.__proto__=Uint8Array.prototype,pd.__proto__=Uint8Array,"undefined"!==typeof Symbol&&Symbol.species&&pd[Symbol.species]),pd.alloc=function(e,t,n){return function(e,t,n,r){return fd(t),t<=0?dd(e,t):void 0!==n?"string"===typeof r?dd(e,t).fill(n,r):dd(e,t).fill(n):dd(e,t)}(null,e,t,n)},pd.allocUnsafe=function(e){return md(null,e)},pd.allocUnsafeSlow=function(e){return md(null,e)},pd.isBuffer=Kd,pd.compare=function(e,t){if(!yd(e)||!yd(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,r=t.length,i=0,o=Math.min(n,r);i<o;++i)if(e[i]!==t[i]){n=e[i],r=t[i];break}return n<r?-1:r<n?1:0},pd.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},pd.concat=function(e,t){if(!ld(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return pd.alloc(0);var n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var r=pd.allocUnsafe(t),i=0;for(n=0;n<e.length;++n){var o=e[n];if(!yd(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(r,i),i+=o.length}return r},pd.byteLength=Ad,pd.prototype._isBuffer=!0,pd.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)wd(this,t,t+1);return this},pd.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)wd(this,t,t+3),wd(this,t+1,t+2);return this},pd.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)wd(this,t,t+7),wd(this,t+1,t+6),wd(this,t+2,t+5),wd(this,t+3,t+4);return this},pd.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?Td(this,0,e):bd.apply(this,arguments)},pd.prototype.equals=function(e){if(!yd(e))throw new TypeError("Argument must be a Buffer");return this===e||0===pd.compare(this,e)},pd.prototype.inspect=function(){var e="";return this.length>0&&(e=this.toString("hex",0,50).match(/.{2}/g).join(" "),this.length>50&&(e+=" ... ")),"<Buffer "+e+">"},pd.prototype.compare=function(e,t,n,r,i){if(!yd(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(this===e)return 0;for(var o=(i>>>=0)-(r>>>=0),a=(n>>>=0)-(t>>>=0),s=Math.min(o,a),l=this.slice(r,i),c=e.slice(t,n),u=0;u<s;++u)if(l[u]!==c[u]){o=l[u],a=c[u];break}return o<a?-1:a<o?1:0},pd.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},pd.prototype.indexOf=function(e,t,n){return xd(this,e,t,n,!0)},pd.prototype.lastIndexOf=function(e,t,n){return xd(this,e,t,n,!1)},pd.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"===typeof t)r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(n)?(n|=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var i=this.length-t;if((void 0===n||n>i)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return Sd(this,e,t,n);case"utf8":case"utf-8":return kd(this,e,t,n);case"ascii":return Ed(this,e,t,n);case"latin1":case"binary":return Id(this,e,t,n);case"base64":return _d(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Pd(this,e,t,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},pd.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var Dd=4096;function jd(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(127&e[i]);return r}function Bd(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(e[i]);return r}function Nd(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var i="",o=t;o<n;++o)i+=qd(e[o]);return i}function Md(e,t,n){for(var r=e.slice(t,n),i="",o=0;o<r.length;o+=2)i+=String.fromCharCode(r[o]+256*r[o+1]);return i}function Rd(e,t,n){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function Ld(e,t,n,r,i,o){if(!yd(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<o)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function Fd(e,t,n,r){t<0&&(t=65535+t+1);for(var i=0,o=Math.min(e.length-n,2);i<o;++i)e[n+i]=(t&255<<8*(r?i:1-i))>>>8*(r?i:1-i)}function zd(e,t,n,r){t<0&&(t=4294967295+t+1);for(var i=0,o=Math.min(e.length-n,4);i<o;++i)e[n+i]=t>>>8*(r?i:3-i)&255}function Qd(e,t,n,r,i,o){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function Ud(e,t,n,r,i){return i||Qd(e,0,n,4),ad(e,t,n,r,23,4),n+4}function Vd(e,t,n,r,i){return i||Qd(e,0,n,8),ad(e,t,n,r,52,8),n+8}pd.prototype.slice=function(e,t){var n,r=this.length;if((e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e),pd.TYPED_ARRAY_SUPPORT)(n=this.subarray(e,t)).__proto__=pd.prototype;else{var i=t-e;n=new pd(i,void 0);for(var o=0;o<i;++o)n[o]=this[o+e]}return n},pd.prototype.readUIntLE=function(e,t,n){e|=0,t|=0,n||Rd(e,t,this.length);for(var r=this[e],i=1,o=0;++o<t&&(i*=256);)r+=this[e+o]*i;return r},pd.prototype.readUIntBE=function(e,t,n){e|=0,t|=0,n||Rd(e,t,this.length);for(var r=this[e+--t],i=1;t>0&&(i*=256);)r+=this[e+--t]*i;return r},pd.prototype.readUInt8=function(e,t){return t||Rd(e,1,this.length),this[e]},pd.prototype.readUInt16LE=function(e,t){return t||Rd(e,2,this.length),this[e]|this[e+1]<<8},pd.prototype.readUInt16BE=function(e,t){return t||Rd(e,2,this.length),this[e]<<8|this[e+1]},pd.prototype.readUInt32LE=function(e,t){return t||Rd(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},pd.prototype.readUInt32BE=function(e,t){return t||Rd(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},pd.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||Rd(e,t,this.length);for(var r=this[e],i=1,o=0;++o<t&&(i*=256);)r+=this[e+o]*i;return r>=(i*=128)&&(r-=Math.pow(2,8*t)),r},pd.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||Rd(e,t,this.length);for(var r=t,i=1,o=this[e+--r];r>0&&(i*=256);)o+=this[e+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},pd.prototype.readInt8=function(e,t){return t||Rd(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},pd.prototype.readInt16LE=function(e,t){t||Rd(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},pd.prototype.readInt16BE=function(e,t){t||Rd(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},pd.prototype.readInt32LE=function(e,t){return t||Rd(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},pd.prototype.readInt32BE=function(e,t){return t||Rd(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},pd.prototype.readFloatLE=function(e,t){return t||Rd(e,4,this.length),od(this,e,!0,23,4)},pd.prototype.readFloatBE=function(e,t){return t||Rd(e,4,this.length),od(this,e,!1,23,4)},pd.prototype.readDoubleLE=function(e,t){return t||Rd(e,8,this.length),od(this,e,!0,52,8)},pd.prototype.readDoubleBE=function(e,t){return t||Rd(e,8,this.length),od(this,e,!1,52,8)},pd.prototype.writeUIntLE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||Ld(this,e,t,n,Math.pow(2,8*n)-1,0);var i=1,o=0;for(this[t]=255&e;++o<n&&(i*=256);)this[t+o]=e/i&255;return t+n},pd.prototype.writeUIntBE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||Ld(this,e,t,n,Math.pow(2,8*n)-1,0);var i=n-1,o=1;for(this[t+i]=255&e;--i>=0&&(o*=256);)this[t+i]=e/o&255;return t+n},pd.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||Ld(this,e,t,1,255,0),pd.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},pd.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||Ld(this,e,t,2,65535,0),pd.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):Fd(this,e,t,!0),t+2},pd.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||Ld(this,e,t,2,65535,0),pd.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):Fd(this,e,t,!1),t+2},pd.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||Ld(this,e,t,4,4294967295,0),pd.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):zd(this,e,t,!0),t+4},pd.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||Ld(this,e,t,4,4294967295,0),pd.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):zd(this,e,t,!1),t+4},pd.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);Ld(this,e,t,n,i-1,-i)}var o=0,a=1,s=0;for(this[t]=255&e;++o<n&&(a*=256);)e<0&&0===s&&0!==this[t+o-1]&&(s=1),this[t+o]=(e/a|0)-s&255;return t+n},pd.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);Ld(this,e,t,n,i-1,-i)}var o=n-1,a=1,s=0;for(this[t+o]=255&e;--o>=0&&(a*=256);)e<0&&0===s&&0!==this[t+o+1]&&(s=1),this[t+o]=(e/a|0)-s&255;return t+n},pd.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||Ld(this,e,t,1,127,-128),pd.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},pd.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||Ld(this,e,t,2,32767,-32768),pd.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):Fd(this,e,t,!0),t+2},pd.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||Ld(this,e,t,2,32767,-32768),pd.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):Fd(this,e,t,!1),t+2},pd.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||Ld(this,e,t,4,2147483647,-2147483648),pd.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):zd(this,e,t,!0),t+4},pd.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||Ld(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),pd.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):zd(this,e,t,!1),t+4},pd.prototype.writeFloatLE=function(e,t,n){return Ud(this,e,t,!0,n)},pd.prototype.writeFloatBE=function(e,t,n){return Ud(this,e,t,!1,n)},pd.prototype.writeDoubleLE=function(e,t,n){return Vd(this,e,t,!0,n)},pd.prototype.writeDoubleBE=function(e,t,n){return Vd(this,e,t,!1,n)},pd.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);var i,o=r-n;if(this===e&&n<t&&t<r)for(i=o-1;i>=0;--i)e[i+t]=this[i+n];else if(o<1e3||!pd.TYPED_ARRAY_SUPPORT)for(i=0;i<o;++i)e[i+t]=this[i+n];else Uint8Array.prototype.set.call(e,this.subarray(n,n+o),t);return o},pd.prototype.fill=function(e,t,n,r){if("string"===typeof e){if("string"===typeof t?(r=t,t=0,n=this.length):"string"===typeof n&&(r=n,n=this.length),1===e.length){var i=e.charCodeAt(0);i<256&&(e=i)}if(void 0!==r&&"string"!==typeof r)throw new TypeError("encoding must be a string");if("string"===typeof r&&!pd.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else"number"===typeof e&&(e&=255);if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;var o;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"===typeof e)for(o=t;o<n;++o)this[o]=e;else{var a=yd(e)?e:Hd(new pd(e,r).toString()),s=a.length;for(o=0;o<n-t;++o)this[o+t]=a[o%s]}return this};var Gd=/[^+\/0-9A-Za-z-_]/g;function qd(e){return e<16?"0"+e.toString(16):e.toString(16)}function Hd(e,t){var n;t=t||1/0;for(var r=e.length,i=null,o=[],a=0;a<r;++a){if((n=e.charCodeAt(a))>55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function Wd(e){return function(e){var t,n,r,i,o,a;td||nd();var s=e.length;if(s%4>0)throw new Error("Invalid string. Length must be a multiple of 4");o="="===e[s-2]?2:"="===e[s-1]?1:0,a=new ed(3*s/4-o),r=o>0?s-4:s;var l=0;for(t=0,n=0;t<r;t+=4,n+=3)i=$u[e.charCodeAt(t)]<<18|$u[e.charCodeAt(t+1)]<<12|$u[e.charCodeAt(t+2)]<<6|$u[e.charCodeAt(t+3)],a[l++]=i>>16&255,a[l++]=i>>8&255,a[l++]=255&i;return 2===o?(i=$u[e.charCodeAt(t)]<<2|$u[e.charCodeAt(t+1)]>>4,a[l++]=255&i):1===o&&(i=$u[e.charCodeAt(t)]<<10|$u[e.charCodeAt(t+1)]<<4|$u[e.charCodeAt(t+2)]>>2,a[l++]=i>>8&255,a[l++]=255&i),a}(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(Gd,"")).length<2)return"";for(;e.length%4!==0;)e+="=";return e}(e))}function Yd(e,t,n,r){for(var i=0;i<r&&!(i+n>=t.length||i>=e.length);++i)t[i+n]=e[i];return i}function Kd(e){return null!=e&&(!!e._isBuffer||Jd(e)||function(e){return"function"===typeof e.readFloatLE&&"function"===typeof e.slice&&Jd(e.slice(0,0))}(e))}function Jd(e){return!!e.constructor&&"function"===typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}var Xd=Object.freeze({__proto__:null,Buffer:pd,INSPECT_MAX_BYTES:50,SlowBuffer:function(e){return+e!=e&&(e=0),pd.alloc(+e)},isBuffer:Kd,kMaxLength:cd});function Zd(){throw new Error("setTimeout has not been defined")}function $d(){throw new Error("clearTimeout has not been defined")}var ep=Zd,tp=$d;function np(e){if(ep===setTimeout)return setTimeout(e,0);if((ep===Zd||!ep)&&setTimeout)return ep=setTimeout,setTimeout(e,0);try{return ep(e,0)}catch(t){try{return ep.call(null,e,0)}catch(t){return ep.call(this,e,0)}}}"function"===typeof Xu.setTimeout&&(ep=setTimeout),"function"===typeof Xu.clearTimeout&&(tp=clearTimeout);var rp,ip=[],op=!1,ap=-1;function sp(){op&&rp&&(op=!1,rp.length?ip=rp.concat(ip):ap=-1,ip.length&&lp())}function lp(){if(!op){var e=np(sp);op=!0;for(var t=ip.length;t;){for(rp=ip,ip=[];++ap<t;)rp&&rp[ap].run();ap=-1,t=ip.length}rp=null,op=!1,function(e){if(tp===clearTimeout)return clearTimeout(e);if((tp===$d||!tp)&&clearTimeout)return tp=clearTimeout,clearTimeout(e);try{return tp(e)}catch(t){try{return tp.call(null,e)}catch(t){return tp.call(this,e)}}}(e)}}function cp(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];ip.push(new up(e,t)),1!==ip.length||op||np(lp)}function up(e,t){this.fun=e,this.array=t}up.prototype.run=function(){this.fun.apply(null,this.array)};function dp(){}var pp=dp,hp=dp,fp=dp,mp=dp,gp=dp,vp=dp,yp=dp;var Ap=Xu.performance||{},bp=Ap.now||Ap.mozNow||Ap.msNow||Ap.oNow||Ap.webkitNow||function(){return(new Date).getTime()};var wp=new Date;var xp={nextTick:cp,title:"browser",browser:!0,env:{},argv:[],version:"",versions:{},on:pp,addListener:hp,once:fp,off:mp,removeListener:gp,removeAllListeners:vp,emit:yp,binding:function(e){throw new Error("process.binding is not supported")},cwd:function(){return"/"},chdir:function(e){throw new Error("process.chdir is not supported")},umask:function(){return 0},hrtime:function(e){var t=.001*bp.call(Ap),n=Math.floor(t),r=Math.floor(t%1*1e9);return e&&(n-=e[0],(r-=e[1])<0&&(n--,r+=1e9)),[n,r]},platform:"browser",release:{},config:{},uptime:function(){return(new Date-wp)/1e3}};function Cp(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Sp(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var n=function e(){return this instanceof e?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach((function(t){var r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:function(){return e[t]}})})),n}var kp={},Ep=Sp(Xd);function Ip(){}function _p(){_p.init.call(this)}function Pp(e){return void 0===e._maxListeners?_p.defaultMaxListeners:e._maxListeners}function Op(e,t,n,r){var i,o,a;if("function"!==typeof n)throw new TypeError('"listener" argument must be a function');if((o=e._events)?(o.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),o=e._events),a=o[t]):(o=e._events=new Ip,e._eventsCount=0),a){if("function"===typeof a?a=o[t]=r?[n,a]:[a,n]:r?a.unshift(n):a.push(n),!a.warned&&(i=Pp(e))&&i>0&&a.length>i){a.warned=!0;var s=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+t+" listeners added. Use emitter.setMaxListeners() to increase limit");s.name="MaxListenersExceededWarning",s.emitter=e,s.type=t,s.count=a.length,function(e){"function"===typeof console.warn?console.warn(e):console.log(e)}(s)}}else a=o[t]=n,++e._eventsCount;return e}function Tp(e,t,n){var r=!1;function i(){e.removeListener(t,i),r||(r=!0,n.apply(e,arguments))}return i.listener=n,i}function Dp(e){var t=this._events;if(t){var n=t[e];if("function"===typeof n)return 1;if(n)return n.length}return 0}function jp(e,t){for(var n=new Array(t);t--;)n[t]=e[t];return n}Ip.prototype=Object.create(null),_p.EventEmitter=_p,_p.usingDomains=!1,_p.prototype.domain=void 0,_p.prototype._events=void 0,_p.prototype._maxListeners=void 0,_p.defaultMaxListeners=10,_p.init=function(){this.domain=null,_p.usingDomains&&undefined.active,this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=new Ip,this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},_p.prototype.setMaxListeners=function(e){if("number"!==typeof e||e<0||isNaN(e))throw new TypeError('"n" argument must be a positive number');return this._maxListeners=e,this},_p.prototype.getMaxListeners=function(){return Pp(this)},_p.prototype.emit=function(e){var t,n,r,i,o,a,s,l="error"===e;if(a=this._events)l=l&&null==a.error;else if(!l)return!1;if(s=this.domain,l){if(t=arguments[1],!s){if(t instanceof Error)throw t;var c=new Error('Uncaught, unspecified "error" event. ('+t+")");throw c.context=t,c}return t||(t=new Error('Uncaught, unspecified "error" event')),t.domainEmitter=this,t.domain=s,t.domainThrown=!1,s.emit("error",t),!1}if(!(n=a[e]))return!1;var u="function"===typeof n;switch(r=arguments.length){case 1:!function(e,t,n){if(t)e.call(n);else for(var r=e.length,i=jp(e,r),o=0;o<r;++o)i[o].call(n)}(n,u,this);break;case 2:!function(e,t,n,r){if(t)e.call(n,r);else for(var i=e.length,o=jp(e,i),a=0;a<i;++a)o[a].call(n,r)}(n,u,this,arguments[1]);break;case 3:!function(e,t,n,r,i){if(t)e.call(n,r,i);else for(var o=e.length,a=jp(e,o),s=0;s<o;++s)a[s].call(n,r,i)}(n,u,this,arguments[1],arguments[2]);break;case 4:!function(e,t,n,r,i,o){if(t)e.call(n,r,i,o);else for(var a=e.length,s=jp(e,a),l=0;l<a;++l)s[l].call(n,r,i,o)}(n,u,this,arguments[1],arguments[2],arguments[3]);break;default:for(i=new Array(r-1),o=1;o<r;o++)i[o-1]=arguments[o];!function(e,t,n,r){if(t)e.apply(n,r);else for(var i=e.length,o=jp(e,i),a=0;a<i;++a)o[a].apply(n,r)}(n,u,this,i)}return!0},_p.prototype.addListener=function(e,t){return Op(this,e,t,!1)},_p.prototype.on=_p.prototype.addListener,_p.prototype.prependListener=function(e,t){return Op(this,e,t,!0)},_p.prototype.once=function(e,t){if("function"!==typeof t)throw new TypeError('"listener" argument must be a function');return this.on(e,Tp(this,e,t)),this},_p.prototype.prependOnceListener=function(e,t){if("function"!==typeof t)throw new TypeError('"listener" argument must be a function');return this.prependListener(e,Tp(this,e,t)),this},_p.prototype.removeListener=function(e,t){var n,r,i,o,a;if("function"!==typeof t)throw new TypeError('"listener" argument must be a function');if(!(r=this._events))return this;if(!(n=r[e]))return this;if(n===t||n.listener&&n.listener===t)0===--this._eventsCount?this._events=new Ip:(delete r[e],r.removeListener&&this.emit("removeListener",e,n.listener||t));else if("function"!==typeof n){for(i=-1,o=n.length;o-- >0;)if(n[o]===t||n[o].listener&&n[o].listener===t){a=n[o].listener,i=o;break}if(i<0)return this;if(1===n.length){if(n[0]=void 0,0===--this._eventsCount)return this._events=new Ip,this;delete r[e]}else!function(e,t){for(var n=t,r=n+1,i=e.length;r<i;n+=1,r+=1)e[n]=e[r];e.pop()}(n,i);r.removeListener&&this.emit("removeListener",e,a||t)}return this},_p.prototype.off=function(e,t){return this.removeListener(e,t)},_p.prototype.removeAllListeners=function(e){var t,n;if(!(n=this._events))return this;if(!n.removeListener)return 0===arguments.length?(this._events=new Ip,this._eventsCount=0):n[e]&&(0===--this._eventsCount?this._events=new Ip:delete n[e]),this;if(0===arguments.length){for(var r,i=Object.keys(n),o=0;o<i.length;++o)"removeListener"!==(r=i[o])&&this.removeAllListeners(r);return this.removeAllListeners("removeListener"),this._events=new Ip,this._eventsCount=0,this}if("function"===typeof(t=n[e]))this.removeListener(e,t);else if(t)do{this.removeListener(e,t[t.length-1])}while(t[0]);return this},_p.prototype.listeners=function(e){var t,n=this._events;return n&&(t=n[e])?"function"===typeof t?[t.listener||t]:function(e){for(var t=new Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}(t):[]},_p.listenerCount=function(e,t){return"function"===typeof e.listenerCount?e.listenerCount(t):Dp.call(e,t)},_p.prototype.listenerCount=Dp,_p.prototype.eventNames=function(){return this._eventsCount>0?Reflect.ownKeys(this._events):[]};var Bp="function"===typeof Object.create?function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:function(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e},Np=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++)n[t[r]]=Object.getOwnPropertyDescriptor(e,t[r]);return n},Mp=/%[sdj%]/g;function Rp(e){if(!$p(e)){for(var t=[],n=0;n<arguments.length;n++)t.push(Up(arguments[n]));return t.join(" ")}n=1;for(var r=arguments,i=r.length,o=String(e).replace(Mp,(function(e){if("%%"===e)return"%";if(n>=i)return e;switch(e){case"%s":return String(r[n++]);case"%d":return Number(r[n++]);case"%j":try{return JSON.stringify(r[n++])}catch(t){return"[Circular]"}default:return e}})),a=r[n];n<i;a=r[++n])Jp(a)||!rh(a)?o+=" "+a:o+=" "+Up(a);return o}function Lp(e,t){if(th(Xu.process))return function(){return Lp(e,t).apply(this,arguments)};if(!0===xp.noDeprecation)return e;var n=!1;return function(){if(!n){if(xp.throwDeprecation)throw new Error(t);xp.traceDeprecation?console.trace(t):console.error(t),n=!0}return e.apply(this,arguments)}}var Fp,zp={};function Qp(e){if(th(Fp)&&(Fp=xp.env.NODE_DEBUG||""),e=e.toUpperCase(),!zp[e])if(new RegExp("\\b"+e+"\\b","i").test(Fp)){zp[e]=function(){var t=Rp.apply(null,arguments);console.error("%s %d: %s",e,0,t)}}else zp[e]=function(){};return zp[e]}function Up(e,t){var n={seen:[],stylize:Gp};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),Kp(t)?n.showHidden=t:t&&hh(n,t),th(n.showHidden)&&(n.showHidden=!1),th(n.depth)&&(n.depth=2),th(n.colors)&&(n.colors=!1),th(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=Vp),qp(n,e,n.depth)}function Vp(e,t){var n=Up.styles[t];return n?"\x1b["+Up.colors[n][0]+"m"+e+"\x1b["+Up.colors[n][1]+"m":e}function Gp(e,t){return e}function qp(e,t,n){if(e.customInspect&&t&&ah(t.inspect)&&t.inspect!==Up&&(!t.constructor||t.constructor.prototype!==t)){var r=t.inspect(n,e);return $p(r)||(r=qp(e,r,n)),r}var i=function(e,t){if(th(t))return e.stylize("undefined","undefined");if($p(t)){var n="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string")}if(Zp(t))return e.stylize(""+t,"number");if(Kp(t))return e.stylize(""+t,"boolean");if(Jp(t))return e.stylize("null","null")}(e,t);if(i)return i;var o=Object.keys(t),a=function(e){var t={};return e.forEach((function(e,n){t[e]=!0})),t}(o);if(e.showHidden&&(o=Object.getOwnPropertyNames(t)),oh(t)&&(o.indexOf("message")>=0||o.indexOf("description")>=0))return Hp(t);if(0===o.length){if(ah(t)){var s=t.name?": "+t.name:"";return e.stylize("[Function"+s+"]","special")}if(nh(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(ih(t))return e.stylize(Date.prototype.toString.call(t),"date");if(oh(t))return Hp(t)}var l,c="",u=!1,d=["{","}"];(Yp(t)&&(u=!0,d=["[","]"]),ah(t))&&(c=" [Function"+(t.name?": "+t.name:"")+"]");return nh(t)&&(c=" "+RegExp.prototype.toString.call(t)),ih(t)&&(c=" "+Date.prototype.toUTCString.call(t)),oh(t)&&(c=" "+Hp(t)),0!==o.length||u&&0!=t.length?n<0?nh(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special"):(e.seen.push(t),l=u?function(e,t,n,r,i){for(var o=[],a=0,s=t.length;a<s;++a)fh(t,String(a))?o.push(Wp(e,t,n,r,String(a),!0)):o.push("");return i.forEach((function(i){i.match(/^\d+$/)||o.push(Wp(e,t,n,r,i,!0))})),o}(e,t,n,a,o):o.map((function(r){return Wp(e,t,n,a,r,u)})),e.seen.pop(),function(e,t,n){var r=e.reduce((function(e,t){return t.indexOf("\n"),e+t.replace(/\u001b\[\d\d?m/g,"").length+1}),0);if(r>60)return n[0]+(""===t?"":t+"\n ")+" "+e.join(",\n  ")+" "+n[1];return n[0]+t+" "+e.join(", ")+" "+n[1]}(l,c,d)):d[0]+c+d[1]}function Hp(e){return"["+Error.prototype.toString.call(e)+"]"}function Wp(e,t,n,r,i,o){var a,s,l;if((l=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]}).get?s=l.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):l.set&&(s=e.stylize("[Setter]","special")),fh(r,i)||(a="["+i+"]"),s||(e.seen.indexOf(l.value)<0?(s=Jp(n)?qp(e,l.value,null):qp(e,l.value,n-1)).indexOf("\n")>-1&&(s=o?s.split("\n").map((function(e){return"  "+e})).join("\n").substr(2):"\n"+s.split("\n").map((function(e){return"   "+e})).join("\n")):s=e.stylize("[Circular]","special")),th(a)){if(o&&i.match(/^\d+$/))return s;(a=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=e.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=e.stylize(a,"string"))}return a+": "+s}function Yp(e){return Array.isArray(e)}function Kp(e){return"boolean"===typeof e}function Jp(e){return null===e}function Xp(e){return null==e}function Zp(e){return"number"===typeof e}function $p(e){return"string"===typeof e}function eh(e){return"symbol"===typeof e}function th(e){return void 0===e}function nh(e){return rh(e)&&"[object RegExp]"===ch(e)}function rh(e){return"object"===typeof e&&null!==e}function ih(e){return rh(e)&&"[object Date]"===ch(e)}function oh(e){return rh(e)&&("[object Error]"===ch(e)||e instanceof Error)}function ah(e){return"function"===typeof e}function sh(e){return null===e||"boolean"===typeof e||"number"===typeof e||"string"===typeof e||"symbol"===typeof e||"undefined"===typeof e}function lh(e){return pd.isBuffer(e)}function ch(e){return Object.prototype.toString.call(e)}function uh(e){return e<10?"0"+e.toString(10):e.toString(10)}Up.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},Up.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};var dh=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function ph(){console.log("%s - %s",function(){var e=new Date,t=[uh(e.getHours()),uh(e.getMinutes()),uh(e.getSeconds())].join(":");return[e.getDate(),dh[e.getMonth()],t].join(" ")}(),Rp.apply(null,arguments))}function hh(e,t){if(!t||!rh(t))return e;for(var n=Object.keys(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e}function fh(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var mh="undefined"!==typeof Symbol?Symbol("util.promisify.custom"):void 0;function gh(e){if("function"!==typeof e)throw new TypeError('The "original" argument must be of type Function');if(mh&&e[mh]){var t;if("function"!==typeof(t=e[mh]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,mh,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,n,r=new Promise((function(e,r){t=e,n=r})),i=[],o=0;o<arguments.length;o++)i.push(arguments[o]);i.push((function(e,r){e?n(e):t(r)}));try{e.apply(this,i)}catch(Ym){n(Ym)}return r}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),mh&&Object.defineProperty(t,mh,{value:t,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(t,Np(e))}function vh(e,t){if(!e){var n=new Error("Promise was rejected with a falsy value");n.reason=e,e=n}return t(e)}function yh(e){if("function"!==typeof e)throw new TypeError('The "original" argument must be of type Function');function t(){for(var t=[],n=0;n<arguments.length;n++)t.push(arguments[n]);var r=t.pop();if("function"!==typeof r)throw new TypeError("The last argument must be of type Function");var i=this,o=function(){return r.apply(i,arguments)};e.apply(this,t).then((function(e){xp.nextTick(o.bind(null,null,e))}),(function(e){xp.nextTick(vh.bind(null,e,o))}))}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),Object.defineProperties(t,Np(e)),t}gh.custom=mh;var Ah={inherits:Bp,_extend:hh,log:ph,isBuffer:lh,isPrimitive:sh,isFunction:ah,isError:oh,isDate:ih,isObject:rh,isRegExp:nh,isUndefined:th,isSymbol:eh,isString:$p,isNumber:Zp,isNullOrUndefined:Xp,isNull:Jp,isBoolean:Kp,isArray:Yp,inspect:Up,deprecate:Lp,format:Rp,debuglog:Qp,promisify:gh,callbackify:yh},bh=Object.freeze({__proto__:null,_extend:hh,callbackify:yh,debuglog:Qp,default:Ah,deprecate:Lp,format:Rp,inherits:Bp,inspect:Up,isArray:Yp,isBoolean:Kp,isBuffer:lh,isDate:ih,isError:oh,isFunction:ah,isNull:Jp,isNullOrUndefined:Xp,isNumber:Zp,isObject:rh,isPrimitive:sh,isRegExp:nh,isString:$p,isSymbol:eh,isUndefined:th,log:ph,promisify:gh});function wh(){this.head=null,this.tail=null,this.length=0}wh.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},wh.prototype.unshift=function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},wh.prototype.shift=function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}},wh.prototype.clear=function(){this.head=this.tail=null,this.length=0},wh.prototype.join=function(e){if(0===this.length)return"";for(var t=this.head,n=""+t.data;t=t.next;)n+=e+t.data;return n},wh.prototype.concat=function(e){if(0===this.length)return pd.alloc(0);if(1===this.length)return this.head.data;for(var t=pd.allocUnsafe(e>>>0),n=this.head,r=0;n;)n.data.copy(t,r),r+=n.data.length,n=n.next;return t};var xh=pd.isEncoding||function(e){switch(e&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function Ch(e){switch(this.encoding=(e||"utf8").toLowerCase().replace(/[-_]/,""),function(e){if(e&&!xh(e))throw new Error("Unknown encoding: "+e)}(e),this.encoding){case"utf8":this.surrogateSize=3;break;case"ucs2":case"utf16le":this.surrogateSize=2,this.detectIncompleteChar=kh;break;case"base64":this.surrogateSize=3,this.detectIncompleteChar=Eh;break;default:return void(this.write=Sh)}this.charBuffer=new pd(6),this.charReceived=0,this.charLength=0}function Sh(e){return e.toString(this.encoding)}function kh(e){this.charReceived=e.length%2,this.charLength=this.charReceived?2:0}function Eh(e){this.charReceived=e.length%3,this.charLength=this.charReceived?3:0}Ch.prototype.write=function(e){for(var t="";this.charLength;){var n=e.length>=this.charLength-this.charReceived?this.charLength-this.charReceived:e.length;if(e.copy(this.charBuffer,this.charReceived,0,n),this.charReceived+=n,this.charReceived<this.charLength)return"";if(e=e.slice(n,e.length),!((i=(t=this.charBuffer.slice(0,this.charLength).toString(this.encoding)).charCodeAt(t.length-1))>=55296&&i<=56319)){if(this.charReceived=this.charLength=0,0===e.length)return t;break}this.charLength+=this.surrogateSize,t=""}this.detectIncompleteChar(e);var r=e.length;this.charLength&&(e.copy(this.charBuffer,0,e.length-this.charReceived,r),r-=this.charReceived);var i;r=(t+=e.toString(this.encoding,0,r)).length-1;if((i=t.charCodeAt(r))>=55296&&i<=56319){var o=this.surrogateSize;return this.charLength+=o,this.charReceived+=o,this.charBuffer.copy(this.charBuffer,o,0,o),e.copy(this.charBuffer,0,0,o),t.substring(0,r)}return t},Ch.prototype.detectIncompleteChar=function(e){for(var t=e.length>=3?3:e.length;t>0;t--){var n=e[e.length-t];if(1==t&&n>>5==6){this.charLength=2;break}if(t<=2&&n>>4==14){this.charLength=3;break}if(t<=3&&n>>3==30){this.charLength=4;break}}this.charReceived=t},Ch.prototype.end=function(e){var t="";if(e&&e.length&&(t=this.write(e)),this.charReceived){var n=this.charReceived,r=this.charBuffer,i=this.encoding;t+=r.slice(0,n).toString(i)}return t},Ph.ReadableState=_h;var Ih=Qp("stream");function _h(e,t){e=e||{},this.objectMode=!!e.objectMode,t instanceof rf&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var n=e.highWaterMark,r=this.objectMode?16:16384;this.highWaterMark=n||0===n?n:r,this.highWaterMark=~~this.highWaterMark,this.buffer=new wh,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.ranOut=!1,this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(this.decoder=new Ch(e.encoding),this.encoding=e.encoding)}function Ph(e){if(!(this instanceof Ph))return new Ph(e);this._readableState=new _h(e,this),this.readable=!0,e&&"function"===typeof e.read&&(this._read=e.read),_p.call(this)}function Oh(e,t,n,r,i){var o=function(e,t){var n=null;pd.isBuffer(t)||"string"===typeof t||null===t||void 0===t||e.objectMode||(n=new TypeError("Invalid non-string/buffer chunk"));return n}(t,n);if(o)e.emit("error",o);else if(null===n)t.reading=!1,function(e,t){if(t.ended)return;if(t.decoder){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,jh(e)}(e,t);else if(t.objectMode||n&&n.length>0)if(t.ended&&!i){var a=new Error("stream.push() after EOF");e.emit("error",a)}else if(t.endEmitted&&i){var s=new Error("stream.unshift() after end event");e.emit("error",s)}else{var l;!t.decoder||i||r||(n=t.decoder.write(n),l=!t.objectMode&&0===n.length),i||(t.reading=!1),l||(t.flowing&&0===t.length&&!t.sync?(e.emit("data",n),e.read(0)):(t.length+=t.objectMode?1:n.length,i?t.buffer.unshift(n):t.buffer.push(n),t.needReadable&&jh(e))),function(e,t){t.readingMore||(t.readingMore=!0,cp(Nh,e,t))}(e,t)}else i||(t.reading=!1);return function(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||0===e.length)}(t)}Bp(Ph,_p),Ph.prototype.push=function(e,t){var n=this._readableState;return n.objectMode||"string"!==typeof e||(t=t||n.defaultEncoding)!==n.encoding&&(e=pd.from(e,t),t=""),Oh(this,n,e,t,!1)},Ph.prototype.unshift=function(e){return Oh(this,this._readableState,e,"",!0)},Ph.prototype.isPaused=function(){return!1===this._readableState.flowing},Ph.prototype.setEncoding=function(e){return this._readableState.decoder=new Ch(e),this._readableState.encoding=e,this};var Th=8388608;function Dh(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!==e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=function(e){return e>=Th?e=Th:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function jh(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(Ih("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?cp(Bh,e):Bh(e))}function Bh(e){Ih("emit readable"),e.emit("readable"),Lh(e)}function Nh(e,t){for(var n=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(Ih("maybeReadMore read 0"),e.read(0),n!==t.length);)n=t.length;t.readingMore=!1}function Mh(e){Ih("readable nexttick read 0"),e.read(0)}function Rh(e,t){t.reading||(Ih("resume read 0"),e.read(0)),t.resumeScheduled=!1,t.awaitDrain=0,e.emit("resume"),Lh(e),t.flowing&&!t.reading&&e.read(0)}function Lh(e){var t=e._readableState;for(Ih("flow",t.flowing);t.flowing&&null!==e.read(););}function Fh(e,t){return 0===t.length?null:(t.objectMode?n=t.buffer.shift():!e||e>=t.length?(n=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):n=function(e,t,n){var r;e<t.head.data.length?(r=t.head.data.slice(0,e),t.head.data=t.head.data.slice(e)):r=e===t.head.data.length?t.shift():n?function(e,t){var n=t.head,r=1,i=n.data;e-=i.length;for(;n=n.next;){var o=n.data,a=e>o.length?o.length:e;if(a===o.length?i+=o:i+=o.slice(0,e),0===(e-=a)){a===o.length?(++r,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=o.slice(a));break}++r}return t.length-=r,i}(e,t):function(e,t){var n=pd.allocUnsafe(e),r=t.head,i=1;r.data.copy(n),e-=r.data.length;for(;r=r.next;){var o=r.data,a=e>o.length?o.length:e;if(o.copy(n,n.length-e,0,a),0===(e-=a)){a===o.length?(++i,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r,r.data=o.slice(a));break}++i}return t.length-=i,n}(e,t);return r}(e,t.buffer,t.decoder),n);var n}function zh(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,cp(Qh,t,e))}function Qh(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function Uh(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}function Vh(){}function Gh(e,t,n){this.chunk=e,this.encoding=t,this.callback=n,this.next=null}function qh(e,t){Object.defineProperty(this,"buffer",{get:Lp((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.")}),e=e||{},this.objectMode=!!e.objectMode,t instanceof rf&&(this.objectMode=this.objectMode||!!e.writableObjectMode);var n=e.highWaterMark,r=this.objectMode?16:16384;this.highWaterMark=n||0===n?n:r,this.highWaterMark=~~this.highWaterMark,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1;var i=!1===e.decodeStrings;this.decodeStrings=!i,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var n=e._writableState,r=n.sync,i=n.writecb;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(n),t)!function(e,t,n,r,i){--t.pendingcb,n?cp(i,r):i(r);e._writableState.errorEmitted=!0,e.emit("error",r)}(e,n,r,t,i);else{var o=Jh(n);o||n.corked||n.bufferProcessing||!n.bufferedRequest||Kh(e,n),r?cp(Yh,e,n,o,i):Yh(e,n,o,i)}}(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new $h(this)}function Hh(e){if(!(this instanceof Hh)&&!(this instanceof rf))return new Hh(e);this._writableState=new qh(e,this),this.writable=!0,e&&("function"===typeof e.write&&(this._write=e.write),"function"===typeof e.writev&&(this._writev=e.writev)),_p.call(this)}function Wh(e,t,n,r,i,o,a){t.writelen=r,t.writecb=a,t.writing=!0,t.sync=!0,n?e._writev(i,t.onwrite):e._write(i,o,t.onwrite),t.sync=!1}function Yh(e,t,n,r){n||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,r(),Zh(e,t)}function Kh(e,t){t.bufferProcessing=!0;var n=t.bufferedRequest;if(e._writev&&n&&n.next){var r=t.bufferedRequestCount,i=new Array(r),o=t.corkedRequestsFree;o.entry=n;for(var a=0;n;)i[a]=n,n=n.next,a+=1;Wh(e,t,!0,t.length,i,"",o.finish),t.pendingcb++,t.lastBufferedRequest=null,o.next?(t.corkedRequestsFree=o.next,o.next=null):t.corkedRequestsFree=new $h(t)}else{for(;n;){var s=n.chunk,l=n.encoding,c=n.callback;if(Wh(e,t,!1,t.objectMode?1:s.length,s,l,c),n=n.next,t.writing)break}null===n&&(t.lastBufferedRequest=null)}t.bufferedRequestCount=0,t.bufferedRequest=n,t.bufferProcessing=!1}function Jh(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function Xh(e,t){t.prefinished||(t.prefinished=!0,e.emit("prefinish"))}function Zh(e,t){var n=Jh(t);return n&&(0===t.pendingcb?(Xh(e,t),t.finished=!0,e.emit("finish")):Xh(e,t)),n}function $h(e){var t=this;this.next=null,this.entry=null,this.finish=function(n){var r=t.entry;for(t.entry=null;r;){var i=r.callback;e.pendingcb--,i(n),r=r.next}e.corkedRequestsFree?e.corkedRequestsFree.next=t:e.corkedRequestsFree=t}}Ph.prototype.read=function(e){Ih("read",e),e=parseInt(e,10);var t=this._readableState,n=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return Ih("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?zh(this):jh(this),null;if(0===(e=Dh(e,t))&&t.ended)return 0===t.length&&zh(this),null;var r,i=t.needReadable;return Ih("need readable",i),(0===t.length||t.length-e<t.highWaterMark)&&Ih("length less than watermark",i=!0),t.ended||t.reading?Ih("reading or ended",i=!1):i&&(Ih("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=Dh(n,t))),null===(r=e>0?Fh(e,t):null)?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&zh(this)),null!==r&&this.emit("data",r),r},Ph.prototype._read=function(e){this.emit("error",new Error("not implemented"))},Ph.prototype.pipe=function(e,t){var n=this,r=this._readableState;switch(r.pipesCount){case 0:r.pipes=e;break;case 1:r.pipes=[r.pipes,e];break;default:r.pipes.push(e)}r.pipesCount+=1,Ih("pipe count=%d opts=%j",r.pipesCount,t);var i=!t||!1!==t.end?a:c;function o(e){Ih("onunpipe"),e===n&&c()}function a(){Ih("onend"),e.end()}r.endEmitted?cp(i):n.once("end",i),e.on("unpipe",o);var s=function(e){return function(){var t=e._readableState;Ih("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&e.listeners("data").length&&(t.flowing=!0,Lh(e))}}(n);e.on("drain",s);var l=!1;function c(){Ih("cleanup"),e.removeListener("close",h),e.removeListener("finish",f),e.removeListener("drain",s),e.removeListener("error",p),e.removeListener("unpipe",o),n.removeListener("end",a),n.removeListener("end",c),n.removeListener("data",d),l=!0,!r.awaitDrain||e._writableState&&!e._writableState.needDrain||s()}var u=!1;function d(t){Ih("ondata"),u=!1,!1!==e.write(t)||u||((1===r.pipesCount&&r.pipes===e||r.pipesCount>1&&-1!==Uh(r.pipes,e))&&!l&&(Ih("false write response, pause",n._readableState.awaitDrain),n._readableState.awaitDrain++,u=!0),n.pause())}function p(t){Ih("onerror",t),m(),e.removeListener("error",p),0===function(e,t){return e.listeners(t).length}(e,"error")&&e.emit("error",t)}function h(){e.removeListener("finish",f),m()}function f(){Ih("onfinish"),e.removeListener("close",h),m()}function m(){Ih("unpipe"),n.unpipe(e)}return n.on("data",d),function(e,t,n){if("function"===typeof e.prependListener)return e.prependListener(t,n);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n)}(e,"error",p),e.once("close",h),e.once("finish",f),e.emit("pipe",n),r.flowing||(Ih("pipe resume"),n.resume()),e},Ph.prototype.unpipe=function(e){var t=this._readableState;if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this)),this;if(!e){var n=t.pipes,r=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var i=0;i<r;i++)n[i].emit("unpipe",this);return this}var o=Uh(t.pipes,e);return-1===o||(t.pipes.splice(o,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this)),this},Ph.prototype.on=function(e,t){var n=_p.prototype.on.call(this,e,t);if("data"===e)!1!==this._readableState.flowing&&this.resume();else if("readable"===e){var r=this._readableState;r.endEmitted||r.readableListening||(r.readableListening=r.needReadable=!0,r.emittedReadable=!1,r.reading?r.length&&jh(this):cp(Mh,this))}return n},Ph.prototype.addListener=Ph.prototype.on,Ph.prototype.resume=function(){var e=this._readableState;return e.flowing||(Ih("resume"),e.flowing=!0,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,cp(Rh,e,t))}(this,e)),this},Ph.prototype.pause=function(){return Ih("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(Ih("pause"),this._readableState.flowing=!1,this.emit("pause")),this},Ph.prototype.wrap=function(e){var t=this._readableState,n=!1,r=this;for(var i in e.on("end",(function(){if(Ih("wrapped end"),t.decoder&&!t.ended){var e=t.decoder.end();e&&e.length&&r.push(e)}r.push(null)})),e.on("data",(function(i){(Ih("wrapped data"),t.decoder&&(i=t.decoder.write(i)),!t.objectMode||null!==i&&void 0!==i)&&((t.objectMode||i&&i.length)&&(r.push(i)||(n=!0,e.pause())))})),e)void 0===this[i]&&"function"===typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));return function(e,t){for(var n=0,r=e.length;n<r;n++)t(e[n],n)}(["error","close","destroy","pause","resume"],(function(t){e.on(t,r.emit.bind(r,t))})),r._read=function(t){Ih("wrapped _read",t),n&&(n=!1,e.resume())},r},Ph._fromList=Fh,Hh.WritableState=qh,Bp(Hh,_p),qh.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},Hh.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},Hh.prototype.write=function(e,t,n){var r=this._writableState,i=!1;return"function"===typeof t&&(n=t,t=null),pd.isBuffer(e)?t="buffer":t||(t=r.defaultEncoding),"function"!==typeof n&&(n=Vh),r.ended?function(e,t){var n=new Error("write after end");e.emit("error",n),cp(t,n)}(this,n):function(e,t,n,r){var i=!0,o=!1;return null===n?o=new TypeError("May not write null values to stream"):pd.isBuffer(n)||"string"===typeof n||void 0===n||t.objectMode||(o=new TypeError("Invalid non-string/buffer chunk")),o&&(e.emit("error",o),cp(r,o),i=!1),i}(this,r,e,n)&&(r.pendingcb++,i=function(e,t,n,r,i){n=function(e,t,n){e.objectMode||!1===e.decodeStrings||"string"!==typeof t||(t=pd.from(t,n));return t}(t,n,r),pd.isBuffer(n)&&(r="buffer");var o=t.objectMode?1:n.length;t.length+=o;var a=t.length<t.highWaterMark;a||(t.needDrain=!0);if(t.writing||t.corked){var s=t.lastBufferedRequest;t.lastBufferedRequest=new Gh(n,r,i),s?s.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else Wh(e,t,!1,o,n,r,i);return a}(this,r,e,t,n)),i},Hh.prototype.cork=function(){this._writableState.corked++},Hh.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.finished||e.bufferProcessing||!e.bufferedRequest||Kh(this,e))},Hh.prototype.setDefaultEncoding=function(e){if("string"===typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},Hh.prototype._write=function(e,t,n){n(new Error("not implemented"))},Hh.prototype._writev=null,Hh.prototype.end=function(e,t,n){var r=this._writableState;"function"===typeof e?(n=e,e=null,t=null):"function"===typeof t&&(n=t,t=null),null!==e&&void 0!==e&&this.write(e,t),r.corked&&(r.corked=1,this.uncork()),r.ending||r.finished||function(e,t,n){t.ending=!0,Zh(e,t),n&&(t.finished?cp(n):e.once("finish",n));t.ended=!0,e.writable=!1}(this,r,n)},Bp(rf,Ph);for(var ef=Object.keys(Hh.prototype),tf=0;tf<ef.length;tf++){var nf=ef[tf];rf.prototype[nf]||(rf.prototype[nf]=Hh.prototype[nf])}function rf(e){if(!(this instanceof rf))return new rf(e);Ph.call(this,e),Hh.call(this,e),e&&!1===e.readable&&(this.readable=!1),e&&!1===e.writable&&(this.writable=!1),this.allowHalfOpen=!0,e&&!1===e.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",of)}function of(){this.allowHalfOpen||this._writableState.ended||cp(af,this)}function af(e){e.end()}function sf(e){this.afterTransform=function(t,n){return function(e,t,n){var r=e._transformState;r.transforming=!1;var i=r.writecb;if(!i)return e.emit("error",new Error("no writecb in Transform class"));r.writechunk=null,r.writecb=null,null!==n&&void 0!==n&&e.push(n);i(t);var o=e._readableState;o.reading=!1,(o.needReadable||o.length<o.highWaterMark)&&e._read(o.highWaterMark)}(e,t,n)},this.needTransform=!1,this.transforming=!1,this.writecb=null,this.writechunk=null,this.writeencoding=null}function lf(e){if(!(this instanceof lf))return new lf(e);rf.call(this,e),this._transformState=new sf(this);var t=this;this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"===typeof e.transform&&(this._transform=e.transform),"function"===typeof e.flush&&(this._flush=e.flush)),this.once("prefinish",(function(){"function"===typeof this._flush?this._flush((function(e){cf(t,e)})):cf(t)}))}function cf(e,t){if(t)return e.emit("error",t);var n=e._writableState,r=e._transformState;if(n.length)throw new Error("Calling transform done when ws.length != 0");if(r.transforming)throw new Error("Calling transform done when still transforming");return e.push(null)}function uf(e){if(!(this instanceof uf))return new uf(e);lf.call(this,e)}function df(){_p.call(this)}Bp(lf,rf),lf.prototype.push=function(e,t){return this._transformState.needTransform=!1,rf.prototype.push.call(this,e,t)},lf.prototype._transform=function(e,t,n){throw new Error("Not implemented")},lf.prototype._write=function(e,t,n){var r=this._transformState;if(r.writecb=n,r.writechunk=e,r.writeencoding=t,!r.transforming){var i=this._readableState;(r.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},lf.prototype._read=function(e){var t=this._transformState;null!==t.writechunk&&t.writecb&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0},Bp(uf,lf),uf.prototype._transform=function(e,t,n){n(null,e)},Bp(df,_p),df.Readable=Ph,df.Writable=Hh,df.Duplex=rf,df.Transform=lf,df.PassThrough=uf,df.Stream=df,df.prototype.pipe=function(e,t){var n=this;function r(t){e.writable&&!1===e.write(t)&&n.pause&&n.pause()}function i(){n.readable&&n.resume&&n.resume()}n.on("data",r),e.on("drain",i),e._isStdio||t&&!1===t.end||(n.on("end",a),n.on("close",s));var o=!1;function a(){o||(o=!0,e.end())}function s(){o||(o=!0,"function"===typeof e.destroy&&e.destroy())}function l(e){if(c(),0===_p.listenerCount(this,"error"))throw e}function c(){n.removeListener("data",r),e.removeListener("drain",i),n.removeListener("end",a),n.removeListener("close",s),n.removeListener("error",l),e.removeListener("error",l),n.removeListener("end",c),n.removeListener("close",c),e.removeListener("close",c)}return n.on("error",l),e.on("error",l),n.on("end",c),n.on("close",c),e.on("close",c),e.emit("pipe",n),e};var pf=Sp(Object.freeze({__proto__:null,Duplex:rf,PassThrough:uf,Readable:Ph,Stream:df,Transform:lf,Writable:Hh,default:df})),hf={};function ff(e,t){if(e===t)return 0;for(var n=e.length,r=t.length,i=0,o=Math.min(n,r);i<o;++i)if(e[i]!==t[i]){n=e[i],r=t[i];break}return n<r?-1:r<n?1:0}var mf,gf=Object.prototype.hasOwnProperty,vf=Object.keys||function(e){var t=[];for(var n in e)gf.call(e,n)&&t.push(n);return t},yf=Array.prototype.slice;function Af(){return"undefined"!==typeof mf?mf:mf="foo"===function(){}.name}function bf(e){return Object.prototype.toString.call(e)}function wf(e){return!Kd(e)&&("function"===typeof Xu.ArrayBuffer&&("function"===typeof ArrayBuffer.isView?ArrayBuffer.isView(e):!!e&&(e instanceof DataView||!!(e.buffer&&e.buffer instanceof ArrayBuffer))))}function xf(e,t){e||_f(e,!0,t,"==",Pf)}var Cf=/\s*function\s+([^\(\s]*)\s*/;function Sf(e){if(ah(e)){if(Af())return e.name;var t=e.toString().match(Cf);return t&&t[1]}}function kf(e){this.name="AssertionError",this.actual=e.actual,this.expected=e.expected,this.operator=e.operator,e.message?(this.message=e.message,this.generatedMessage=!1):(this.message=function(e){return Ef(If(e.actual),128)+" "+e.operator+" "+Ef(If(e.expected),128)}(this),this.generatedMessage=!0);var t=e.stackStartFunction||_f;if(Error.captureStackTrace)Error.captureStackTrace(this,t);else{var n=new Error;if(n.stack){var r=n.stack,i=Sf(t),o=r.indexOf("\n"+i);if(o>=0){var a=r.indexOf("\n",o+1);r=r.substring(a+1)}this.stack=r}}}function Ef(e,t){return"string"===typeof e?e.length<t?e:e.slice(0,t):e}function If(e){if(Af()||!ah(e))return Up(e);var t=Sf(e);return"[Function"+(t?": "+t:"")+"]"}function _f(e,t,n,r,i){throw new kf({message:n,actual:e,expected:t,operator:r,stackStartFunction:i})}function Pf(e,t){e||_f(e,!0,t,"==",Pf)}function Of(e,t,n){e!=t&&_f(e,t,n,"==",Of)}function Tf(e,t,n){e==t&&_f(e,t,n,"!=",Tf)}function Df(e,t,n){Bf(e,t,!1)||_f(e,t,n,"deepEqual",Df)}function jf(e,t,n){Bf(e,t,!0)||_f(e,t,n,"deepStrictEqual",jf)}function Bf(e,t,n,r){if(e===t)return!0;if(Kd(e)&&Kd(t))return 0===ff(e,t);if(ih(e)&&ih(t))return e.getTime()===t.getTime();if(nh(e)&&nh(t))return e.source===t.source&&e.global===t.global&&e.multiline===t.multiline&&e.lastIndex===t.lastIndex&&e.ignoreCase===t.ignoreCase;if(null!==e&&"object"===typeof e||null!==t&&"object"===typeof t){if(wf(e)&&wf(t)&&bf(e)===bf(t)&&!(e instanceof Float32Array||e instanceof Float64Array))return 0===ff(new Uint8Array(e.buffer),new Uint8Array(t.buffer));if(Kd(e)!==Kd(t))return!1;var i=(r=r||{actual:[],expected:[]}).actual.indexOf(e);return-1!==i&&i===r.expected.indexOf(t)||(r.actual.push(e),r.expected.push(t),function(e,t,n,r){if(null===e||void 0===e||null===t||void 0===t)return!1;if(sh(e)||sh(t))return e===t;if(n&&Object.getPrototypeOf(e)!==Object.getPrototypeOf(t))return!1;var i=Nf(e),o=Nf(t);if(i&&!o||!i&&o)return!1;if(i)return Bf(e=yf.call(e),t=yf.call(t),n);var a,s,l=vf(e),c=vf(t);if(l.length!==c.length)return!1;for(l.sort(),c.sort(),s=l.length-1;s>=0;s--)if(l[s]!==c[s])return!1;for(s=l.length-1;s>=0;s--)if(!Bf(e[a=l[s]],t[a],n,r))return!1;return!0}(e,t,n,r))}return n?e===t:e==t}function Nf(e){return"[object Arguments]"==Object.prototype.toString.call(e)}function Mf(e,t,n){Bf(e,t,!1)&&_f(e,t,n,"notDeepEqual",Mf)}function Rf(e,t,n){Bf(e,t,!0)&&_f(e,t,n,"notDeepStrictEqual",Rf)}function Lf(e,t,n){e!==t&&_f(e,t,n,"===",Lf)}function Ff(e,t,n){e===t&&_f(e,t,n,"!==",Ff)}function zf(e,t){if(!e||!t)return!1;if("[object RegExp]"==Object.prototype.toString.call(t))return t.test(e);try{if(e instanceof t)return!0}catch(n){}return!Error.isPrototypeOf(t)&&!0===t.call({},e)}function Qf(e,t,n,r){var i;if("function"!==typeof t)throw new TypeError('"block" argument must be a function');"string"===typeof n&&(r=n,n=null),i=function(e){var t;try{e()}catch(n){t=n}return t}(t),r=(n&&n.name?" ("+n.name+").":".")+(r?" "+r:"."),e&&!i&&_f(i,n,"Missing expected exception"+r);var o="string"===typeof r,a=!e&&i&&!n;if((!e&&oh(i)&&o&&zf(i,n)||a)&&_f(i,n,"Got unwanted exception"+r),e&&i&&n&&!zf(i,n)||!e&&i)throw i}function Uf(e,t,n){Qf(!0,e,t,n)}function Vf(e,t,n){Qf(!1,e,t,n)}function Gf(e){if(e)throw e}xf.AssertionError=kf,Bp(kf,Error),xf.fail=_f,xf.ok=Pf,xf.equal=Of,xf.notEqual=Tf,xf.deepEqual=Df,xf.deepStrictEqual=jf,xf.notDeepEqual=Mf,xf.notDeepStrictEqual=Rf,xf.strictEqual=Lf,xf.notStrictEqual=Ff,xf.throws=Uf,xf.doesNotThrow=Vf,xf.ifError=Gf;var qf=Sp(Object.freeze({__proto__:null,AssertionError:kf,assert:Pf,deepEqual:Df,deepStrictEqual:jf,default:xf,doesNotThrow:Vf,equal:Of,fail:_f,ifError:Gf,notDeepEqual:Mf,notDeepStrictEqual:Rf,notEqual:Tf,notStrictEqual:Ff,ok:Pf,strictEqual:Lf,throws:Uf}));var Hf=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0},Wf={},Yf={};!function(e){var t="undefined"!==typeof Uint8Array&&"undefined"!==typeof Uint16Array&&"undefined"!==typeof Int32Array;function n(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.assign=function(e){for(var t=Array.prototype.slice.call(arguments,1);t.length;){var r=t.shift();if(r){if("object"!==typeof r)throw new TypeError(r+"must be non-object");for(var i in r)n(r,i)&&(e[i]=r[i])}}return e},e.shrinkBuf=function(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)};var r={arraySet:function(e,t,n,r,i){if(t.subarray&&e.subarray)e.set(t.subarray(n,n+r),i);else for(var o=0;o<r;o++)e[i+o]=t[n+o]},flattenChunks:function(e){var t,n,r,i,o,a;for(r=0,t=0,n=e.length;t<n;t++)r+=e[t].length;for(a=new Uint8Array(r),i=0,t=0,n=e.length;t<n;t++)o=e[t],a.set(o,i),i+=o.length;return a}},i={arraySet:function(e,t,n,r,i){for(var o=0;o<r;o++)e[i+o]=t[n+o]},flattenChunks:function(e){return[].concat.apply([],e)}};e.setTyped=function(t){t?(e.Buf8=Uint8Array,e.Buf16=Uint16Array,e.Buf32=Int32Array,e.assign(e,r)):(e.Buf8=Array,e.Buf16=Array,e.Buf32=Array,e.assign(e,i))},e.setTyped(t)}(Yf);var Kf={},Jf=Yf;function Xf(e){for(var t=e.length;--t>=0;)e[t]=0}var Zf=256,$f=286,em=30,tm=15,nm=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],rm=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],im=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],om=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],am=new Array(576);Xf(am);var sm=new Array(60);Xf(sm);var lm=new Array(512);Xf(lm);var cm=new Array(256);Xf(cm);var um=new Array(29);Xf(um);var dm,pm,hm,fm=new Array(em);function mm(e,t,n,r,i){this.static_tree=e,this.extra_bits=t,this.extra_base=n,this.elems=r,this.max_length=i,this.has_stree=e&&e.length}function gm(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function vm(e){return e<256?lm[e]:lm[256+(e>>>7)]}function ym(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function Am(e,t,n){e.bi_valid>16-n?(e.bi_buf|=t<<e.bi_valid&65535,ym(e,e.bi_buf),e.bi_buf=t>>16-e.bi_valid,e.bi_valid+=n-16):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=n)}function bm(e,t,n){Am(e,n[2*t],n[2*t+1])}function wm(e,t){var n=0;do{n|=1&e,e>>>=1,n<<=1}while(--t>0);return n>>>1}function xm(e,t,n){var r,i,o=new Array(16),a=0;for(r=1;r<=tm;r++)o[r]=a=a+n[r-1]<<1;for(i=0;i<=t;i++){var s=e[2*i+1];0!==s&&(e[2*i]=wm(o[s]++,s))}}function Cm(e){var t;for(t=0;t<$f;t++)e.dyn_ltree[2*t]=0;for(t=0;t<em;t++)e.dyn_dtree[2*t]=0;for(t=0;t<19;t++)e.bl_tree[2*t]=0;e.dyn_ltree[512]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function Sm(e){e.bi_valid>8?ym(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function km(e,t,n,r){var i=2*t,o=2*n;return e[i]<e[o]||e[i]===e[o]&&r[t]<=r[n]}function Em(e,t,n){for(var r=e.heap[n],i=n<<1;i<=e.heap_len&&(i<e.heap_len&&km(t,e.heap[i+1],e.heap[i],e.depth)&&i++,!km(t,r,e.heap[i],e.depth));)e.heap[n]=e.heap[i],n=i,i<<=1;e.heap[n]=r}function Im(e,t,n){var r,i,o,a,s=0;if(0!==e.last_lit)do{r=e.pending_buf[e.d_buf+2*s]<<8|e.pending_buf[e.d_buf+2*s+1],i=e.pending_buf[e.l_buf+s],s++,0===r?bm(e,i,t):(bm(e,(o=cm[i])+Zf+1,t),0!==(a=nm[o])&&Am(e,i-=um[o],a),bm(e,o=vm(--r),n),0!==(a=rm[o])&&Am(e,r-=fm[o],a))}while(s<e.last_lit);bm(e,256,t)}function _m(e,t){var n,r,i,o=t.dyn_tree,a=t.stat_desc.static_tree,s=t.stat_desc.has_stree,l=t.stat_desc.elems,c=-1;for(e.heap_len=0,e.heap_max=573,n=0;n<l;n++)0!==o[2*n]?(e.heap[++e.heap_len]=c=n,e.depth[n]=0):o[2*n+1]=0;for(;e.heap_len<2;)o[2*(i=e.heap[++e.heap_len]=c<2?++c:0)]=1,e.depth[i]=0,e.opt_len--,s&&(e.static_len-=a[2*i+1]);for(t.max_code=c,n=e.heap_len>>1;n>=1;n--)Em(e,o,n);i=l;do{n=e.heap[1],e.heap[1]=e.heap[e.heap_len--],Em(e,o,1),r=e.heap[1],e.heap[--e.heap_max]=n,e.heap[--e.heap_max]=r,o[2*i]=o[2*n]+o[2*r],e.depth[i]=(e.depth[n]>=e.depth[r]?e.depth[n]:e.depth[r])+1,o[2*n+1]=o[2*r+1]=i,e.heap[1]=i++,Em(e,o,1)}while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],function(e,t){var n,r,i,o,a,s,l=t.dyn_tree,c=t.max_code,u=t.stat_desc.static_tree,d=t.stat_desc.has_stree,p=t.stat_desc.extra_bits,h=t.stat_desc.extra_base,f=t.stat_desc.max_length,m=0;for(o=0;o<=tm;o++)e.bl_count[o]=0;for(l[2*e.heap[e.heap_max]+1]=0,n=e.heap_max+1;n<573;n++)(o=l[2*l[2*(r=e.heap[n])+1]+1]+1)>f&&(o=f,m++),l[2*r+1]=o,r>c||(e.bl_count[o]++,a=0,r>=h&&(a=p[r-h]),s=l[2*r],e.opt_len+=s*(o+a),d&&(e.static_len+=s*(u[2*r+1]+a)));if(0!==m){do{for(o=f-1;0===e.bl_count[o];)o--;e.bl_count[o]--,e.bl_count[o+1]+=2,e.bl_count[f]--,m-=2}while(m>0);for(o=f;0!==o;o--)for(r=e.bl_count[o];0!==r;)(i=e.heap[--n])>c||(l[2*i+1]!==o&&(e.opt_len+=(o-l[2*i+1])*l[2*i],l[2*i+1]=o),r--)}}(e,t),xm(o,c,e.bl_count)}function Pm(e,t,n){var r,i,o=-1,a=t[1],s=0,l=7,c=4;for(0===a&&(l=138,c=3),t[2*(n+1)+1]=65535,r=0;r<=n;r++)i=a,a=t[2*(r+1)+1],++s<l&&i===a||(s<c?e.bl_tree[2*i]+=s:0!==i?(i!==o&&e.bl_tree[2*i]++,e.bl_tree[32]++):s<=10?e.bl_tree[34]++:e.bl_tree[36]++,s=0,o=i,0===a?(l=138,c=3):i===a?(l=6,c=3):(l=7,c=4))}function Om(e,t,n){var r,i,o=-1,a=t[1],s=0,l=7,c=4;for(0===a&&(l=138,c=3),r=0;r<=n;r++)if(i=a,a=t[2*(r+1)+1],!(++s<l&&i===a)){if(s<c)do{bm(e,i,e.bl_tree)}while(0!==--s);else 0!==i?(i!==o&&(bm(e,i,e.bl_tree),s--),bm(e,16,e.bl_tree),Am(e,s-3,2)):s<=10?(bm(e,17,e.bl_tree),Am(e,s-3,3)):(bm(e,18,e.bl_tree),Am(e,s-11,7));s=0,o=i,0===a?(l=138,c=3):i===a?(l=6,c=3):(l=7,c=4)}}Xf(fm);var Tm=!1;function Dm(e,t,n,r){Am(e,0+(r?1:0),3),function(e,t,n,r){Sm(e),r&&(ym(e,n),ym(e,~n)),Jf.arraySet(e.pending_buf,e.window,t,n,e.pending),e.pending+=n}(e,t,n,!0)}Kf._tr_init=function(e){Tm||(!function(){var e,t,n,r,i,o=new Array(16);for(n=0,r=0;r<28;r++)for(um[r]=n,e=0;e<1<<nm[r];e++)cm[n++]=r;for(cm[n-1]=r,i=0,r=0;r<16;r++)for(fm[r]=i,e=0;e<1<<rm[r];e++)lm[i++]=r;for(i>>=7;r<em;r++)for(fm[r]=i<<7,e=0;e<1<<rm[r]-7;e++)lm[256+i++]=r;for(t=0;t<=tm;t++)o[t]=0;for(e=0;e<=143;)am[2*e+1]=8,e++,o[8]++;for(;e<=255;)am[2*e+1]=9,e++,o[9]++;for(;e<=279;)am[2*e+1]=7,e++,o[7]++;for(;e<=287;)am[2*e+1]=8,e++,o[8]++;for(xm(am,287,o),e=0;e<em;e++)sm[2*e+1]=5,sm[2*e]=wm(e,5);dm=new mm(am,nm,257,$f,tm),pm=new mm(sm,rm,0,em,tm),hm=new mm(new Array(0),im,0,19,7)}(),Tm=!0),e.l_desc=new gm(e.dyn_ltree,dm),e.d_desc=new gm(e.dyn_dtree,pm),e.bl_desc=new gm(e.bl_tree,hm),e.bi_buf=0,e.bi_valid=0,Cm(e)},Kf._tr_stored_block=Dm,Kf._tr_flush_block=function(e,t,n,r){var i,o,a=0;e.level>0?(2===e.strm.data_type&&(e.strm.data_type=function(e){var t,n=4093624447;for(t=0;t<=31;t++,n>>>=1)if(1&n&&0!==e.dyn_ltree[2*t])return 0;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return 1;for(t=32;t<Zf;t++)if(0!==e.dyn_ltree[2*t])return 1;return 0}(e)),_m(e,e.l_desc),_m(e,e.d_desc),a=function(e){var t;for(Pm(e,e.dyn_ltree,e.l_desc.max_code),Pm(e,e.dyn_dtree,e.d_desc.max_code),_m(e,e.bl_desc),t=18;t>=3&&0===e.bl_tree[2*om[t]+1];t--);return e.opt_len+=3*(t+1)+5+5+4,t}(e),i=e.opt_len+3+7>>>3,(o=e.static_len+3+7>>>3)<=i&&(i=o)):i=o=n+5,n+4<=i&&-1!==t?Dm(e,t,n,r):4===e.strategy||o===i?(Am(e,2+(r?1:0),3),Im(e,am,sm)):(Am(e,4+(r?1:0),3),function(e,t,n,r){var i;for(Am(e,t-257,5),Am(e,n-1,5),Am(e,r-4,4),i=0;i<r;i++)Am(e,e.bl_tree[2*om[i]+1],3);Om(e,e.dyn_ltree,t-1),Om(e,e.dyn_dtree,n-1)}(e,e.l_desc.max_code+1,e.d_desc.max_code+1,a+1),Im(e,e.dyn_ltree,e.dyn_dtree)),Cm(e),r&&Sm(e)},Kf._tr_tally=function(e,t,n){return e.pending_buf[e.d_buf+2*e.last_lit]=t>>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&t,e.pending_buf[e.l_buf+e.last_lit]=255&n,e.last_lit++,0===t?e.dyn_ltree[2*n]++:(e.matches++,t--,e.dyn_ltree[2*(cm[n]+Zf+1)]++,e.dyn_dtree[2*vm(t)]++),e.last_lit===e.lit_bufsize-1},Kf._tr_align=function(e){Am(e,2,3),bm(e,256,am),function(e){16===e.bi_valid?(ym(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)}(e)};var jm=function(e,t,n,r){for(var i=65535&e,o=e>>>16&65535,a=0;0!==n;){n-=a=n>2e3?2e3:n;do{o=o+(i=i+t[r++]|0)|0}while(--a);i%=65521,o%=65521}return i|o<<16};var Bm=function(){for(var e,t=[],n=0;n<256;n++){e=n;for(var r=0;r<8;r++)e=1&e?3988292384^e>>>1:e>>>1;t[n]=e}return t}();var Nm,Mm=function(e,t,n,r){var i=Bm,o=r+n;e^=-1;for(var a=r;a<o;a++)e=e>>>8^i[255&(e^t[a])];return~e},Rm=Yf,Lm=Kf,Fm=jm,zm=Mm,Qm={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},Um=-2,Vm=258,Gm=262,qm=103,Hm=113,Wm=666;function Ym(e,t){return e.msg=Qm[t],t}function Km(e){return(e<<1)-(e>4?9:0)}function Jm(e){for(var t=e.length;--t>=0;)e[t]=0}function Xm(e){var t=e.state,n=t.pending;n>e.avail_out&&(n=e.avail_out),0!==n&&(Rm.arraySet(e.output,t.pending_buf,t.pending_out,n,e.next_out),e.next_out+=n,t.pending_out+=n,e.total_out+=n,e.avail_out-=n,t.pending-=n,0===t.pending&&(t.pending_out=0))}function Zm(e,t){Lm._tr_flush_block(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,Xm(e.strm)}function $m(e,t){e.pending_buf[e.pending++]=t}function eg(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function tg(e,t,n,r){var i=e.avail_in;return i>r&&(i=r),0===i?0:(e.avail_in-=i,Rm.arraySet(t,e.input,e.next_in,i,n),1===e.state.wrap?e.adler=Fm(e.adler,t,i,n):2===e.state.wrap&&(e.adler=zm(e.adler,t,i,n)),e.next_in+=i,e.total_in+=i,i)}function ng(e,t){var n,r,i=e.max_chain_length,o=e.strstart,a=e.prev_length,s=e.nice_match,l=e.strstart>e.w_size-Gm?e.strstart-(e.w_size-Gm):0,c=e.window,u=e.w_mask,d=e.prev,p=e.strstart+Vm,h=c[o+a-1],f=c[o+a];e.prev_length>=e.good_match&&(i>>=2),s>e.lookahead&&(s=e.lookahead);do{if(c[(n=t)+a]===f&&c[n+a-1]===h&&c[n]===c[o]&&c[++n]===c[o+1]){o+=2,n++;do{}while(c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&o<p);if(r=Vm-(p-o),o=p-Vm,r>a){if(e.match_start=t,a=r,r>=s)break;h=c[o+a-1],f=c[o+a]}}}while((t=d[t&u])>l&&0!==--i);return a<=e.lookahead?a:e.lookahead}function rg(e){var t,n,r,i,o,a=e.w_size;do{if(i=e.window_size-e.lookahead-e.strstart,e.strstart>=a+(a-Gm)){Rm.arraySet(e.window,e.window,a,a,0),e.match_start-=a,e.strstart-=a,e.block_start-=a,t=n=e.hash_size;do{r=e.head[--t],e.head[t]=r>=a?r-a:0}while(--n);t=n=a;do{r=e.prev[--t],e.prev[t]=r>=a?r-a:0}while(--n);i+=a}if(0===e.strm.avail_in)break;if(n=tg(e.strm,e.window,e.strstart+e.lookahead,i),e.lookahead+=n,e.lookahead+e.insert>=3)for(o=e.strstart-e.insert,e.ins_h=e.window[o],e.ins_h=(e.ins_h<<e.hash_shift^e.window[o+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[o+3-1])&e.hash_mask,e.prev[o&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=o,o++,e.insert--,!(e.lookahead+e.insert<3)););}while(e.lookahead<Gm&&0!==e.strm.avail_in)}function ig(e,t){for(var n,r;;){if(e.lookahead<Gm){if(rg(e),e.lookahead<Gm&&0===t)return 1;if(0===e.lookahead)break}if(n=0,e.lookahead>=3&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!==n&&e.strstart-n<=e.w_size-Gm&&(e.match_length=ng(e,n)),e.match_length>=3)if(r=Lm._tr_tally(e,e.strstart-e.match_start,e.match_length-3),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=3){e.match_length--;do{e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart}while(0!==--e.match_length);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+1])&e.hash_mask;else r=Lm._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(r&&(Zm(e,!1),0===e.strm.avail_out))return 1}return e.insert=e.strstart<2?e.strstart:2,4===t?(Zm(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(Zm(e,!1),0===e.strm.avail_out)?1:2}function og(e,t){for(var n,r,i;;){if(e.lookahead<Gm){if(rg(e),e.lookahead<Gm&&0===t)return 1;if(0===e.lookahead)break}if(n=0,e.lookahead>=3&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=2,0!==n&&e.prev_length<e.max_lazy_match&&e.strstart-n<=e.w_size-Gm&&(e.match_length=ng(e,n),e.match_length<=5&&(1===e.strategy||3===e.match_length&&e.strstart-e.match_start>4096)&&(e.match_length=2)),e.prev_length>=3&&e.match_length<=e.prev_length){i=e.strstart+e.lookahead-3,r=Lm._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-3),e.lookahead-=e.prev_length-1,e.prev_length-=2;do{++e.strstart<=i&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+3-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart)}while(0!==--e.prev_length);if(e.match_available=0,e.match_length=2,e.strstart++,r&&(Zm(e,!1),0===e.strm.avail_out))return 1}else if(e.match_available){if((r=Lm._tr_tally(e,0,e.window[e.strstart-1]))&&Zm(e,!1),e.strstart++,e.lookahead--,0===e.strm.avail_out)return 1}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(r=Lm._tr_tally(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<2?e.strstart:2,4===t?(Zm(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(Zm(e,!1),0===e.strm.avail_out)?1:2}function ag(e,t,n,r,i){this.good_length=e,this.max_lazy=t,this.nice_length=n,this.max_chain=r,this.func=i}function sg(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=8,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Rm.Buf16(1146),this.dyn_dtree=new Rm.Buf16(122),this.bl_tree=new Rm.Buf16(78),Jm(this.dyn_ltree),Jm(this.dyn_dtree),Jm(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Rm.Buf16(16),this.heap=new Rm.Buf16(573),Jm(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Rm.Buf16(573),Jm(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function lg(e){var t;return e&&e.state?(e.total_in=e.total_out=0,e.data_type=2,(t=e.state).pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?42:Hm,e.adler=2===t.wrap?0:1,t.last_flush=0,Lm._tr_init(t),0):Ym(e,Um)}function cg(e){var t,n=lg(e);return 0===n&&((t=e.state).window_size=2*t.w_size,Jm(t.head),t.max_lazy_match=Nm[t.level].max_lazy,t.good_match=Nm[t.level].good_length,t.nice_match=Nm[t.level].nice_length,t.max_chain_length=Nm[t.level].max_chain,t.strstart=0,t.block_start=0,t.lookahead=0,t.insert=0,t.match_length=t.prev_length=2,t.match_available=0,t.ins_h=0),n}function ug(e,t,n,r,i,o){if(!e)return Um;var a=1;if(-1===t&&(t=6),r<0?(a=0,r=-r):r>15&&(a=2,r-=16),i<1||i>9||8!==n||r<8||r>15||t<0||t>9||o<0||o>4)return Ym(e,Um);8===r&&(r=9);var s=new sg;return e.state=s,s.strm=e,s.wrap=a,s.gzhead=null,s.w_bits=r,s.w_size=1<<s.w_bits,s.w_mask=s.w_size-1,s.hash_bits=i+7,s.hash_size=1<<s.hash_bits,s.hash_mask=s.hash_size-1,s.hash_shift=~~((s.hash_bits+3-1)/3),s.window=new Rm.Buf8(2*s.w_size),s.head=new Rm.Buf16(s.hash_size),s.prev=new Rm.Buf16(s.w_size),s.lit_bufsize=1<<i+6,s.pending_buf_size=4*s.lit_bufsize,s.pending_buf=new Rm.Buf8(s.pending_buf_size),s.d_buf=1*s.lit_bufsize,s.l_buf=3*s.lit_bufsize,s.level=t,s.strategy=o,s.method=n,cg(e)}Nm=[new ag(0,0,0,0,(function(e,t){var n=65535;for(n>e.pending_buf_size-5&&(n=e.pending_buf_size-5);;){if(e.lookahead<=1){if(rg(e),0===e.lookahead&&0===t)return 1;if(0===e.lookahead)break}e.strstart+=e.lookahead,e.lookahead=0;var r=e.block_start+n;if((0===e.strstart||e.strstart>=r)&&(e.lookahead=e.strstart-r,e.strstart=r,Zm(e,!1),0===e.strm.avail_out))return 1;if(e.strstart-e.block_start>=e.w_size-Gm&&(Zm(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(Zm(e,!0),0===e.strm.avail_out?3:4):(e.strstart>e.block_start&&(Zm(e,!1),e.strm.avail_out),1)})),new ag(4,4,8,4,ig),new ag(4,5,16,8,ig),new ag(4,6,32,32,ig),new ag(4,4,16,16,og),new ag(8,16,32,32,og),new ag(8,16,128,128,og),new ag(8,32,128,256,og),new ag(32,128,258,1024,og),new ag(32,258,258,4096,og)],Wf.deflateInit=function(e,t){return ug(e,t,8,15,8,0)},Wf.deflateInit2=ug,Wf.deflateReset=cg,Wf.deflateResetKeep=lg,Wf.deflateSetHeader=function(e,t){return e&&e.state?2!==e.state.wrap?Um:(e.state.gzhead=t,0):Um},Wf.deflate=function(e,t){var n,r,i,o;if(!e||!e.state||t>5||t<0)return e?Ym(e,Um):Um;if(r=e.state,!e.output||!e.input&&0!==e.avail_in||r.status===Wm&&4!==t)return Ym(e,0===e.avail_out?-5:Um);if(r.strm=e,n=r.last_flush,r.last_flush=t,42===r.status)if(2===r.wrap)e.adler=0,$m(r,31),$m(r,139),$m(r,8),r.gzhead?($m(r,(r.gzhead.text?1:0)+(r.gzhead.hcrc?2:0)+(r.gzhead.extra?4:0)+(r.gzhead.name?8:0)+(r.gzhead.comment?16:0)),$m(r,255&r.gzhead.time),$m(r,r.gzhead.time>>8&255),$m(r,r.gzhead.time>>16&255),$m(r,r.gzhead.time>>24&255),$m(r,9===r.level?2:r.strategy>=2||r.level<2?4:0),$m(r,255&r.gzhead.os),r.gzhead.extra&&r.gzhead.extra.length&&($m(r,255&r.gzhead.extra.length),$m(r,r.gzhead.extra.length>>8&255)),r.gzhead.hcrc&&(e.adler=zm(e.adler,r.pending_buf,r.pending,0)),r.gzindex=0,r.status=69):($m(r,0),$m(r,0),$m(r,0),$m(r,0),$m(r,0),$m(r,9===r.level?2:r.strategy>=2||r.level<2?4:0),$m(r,3),r.status=Hm);else{var a=8+(r.w_bits-8<<4)<<8;a|=(r.strategy>=2||r.level<2?0:r.level<6?1:6===r.level?2:3)<<6,0!==r.strstart&&(a|=32),a+=31-a%31,r.status=Hm,eg(r,a),0!==r.strstart&&(eg(r,e.adler>>>16),eg(r,65535&e.adler)),e.adler=1}if(69===r.status)if(r.gzhead.extra){for(i=r.pending;r.gzindex<(65535&r.gzhead.extra.length)&&(r.pending!==r.pending_buf_size||(r.gzhead.hcrc&&r.pending>i&&(e.adler=zm(e.adler,r.pending_buf,r.pending-i,i)),Xm(e),i=r.pending,r.pending!==r.pending_buf_size));)$m(r,255&r.gzhead.extra[r.gzindex]),r.gzindex++;r.gzhead.hcrc&&r.pending>i&&(e.adler=zm(e.adler,r.pending_buf,r.pending-i,i)),r.gzindex===r.gzhead.extra.length&&(r.gzindex=0,r.status=73)}else r.status=73;if(73===r.status)if(r.gzhead.name){i=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>i&&(e.adler=zm(e.adler,r.pending_buf,r.pending-i,i)),Xm(e),i=r.pending,r.pending===r.pending_buf_size)){o=1;break}o=r.gzindex<r.gzhead.name.length?255&r.gzhead.name.charCodeAt(r.gzindex++):0,$m(r,o)}while(0!==o);r.gzhead.hcrc&&r.pending>i&&(e.adler=zm(e.adler,r.pending_buf,r.pending-i,i)),0===o&&(r.gzindex=0,r.status=91)}else r.status=91;if(91===r.status)if(r.gzhead.comment){i=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>i&&(e.adler=zm(e.adler,r.pending_buf,r.pending-i,i)),Xm(e),i=r.pending,r.pending===r.pending_buf_size)){o=1;break}o=r.gzindex<r.gzhead.comment.length?255&r.gzhead.comment.charCodeAt(r.gzindex++):0,$m(r,o)}while(0!==o);r.gzhead.hcrc&&r.pending>i&&(e.adler=zm(e.adler,r.pending_buf,r.pending-i,i)),0===o&&(r.status=qm)}else r.status=qm;if(r.status===qm&&(r.gzhead.hcrc?(r.pending+2>r.pending_buf_size&&Xm(e),r.pending+2<=r.pending_buf_size&&($m(r,255&e.adler),$m(r,e.adler>>8&255),e.adler=0,r.status=Hm)):r.status=Hm),0!==r.pending){if(Xm(e),0===e.avail_out)return r.last_flush=-1,0}else if(0===e.avail_in&&Km(t)<=Km(n)&&4!==t)return Ym(e,-5);if(r.status===Wm&&0!==e.avail_in)return Ym(e,-5);if(0!==e.avail_in||0!==r.lookahead||0!==t&&r.status!==Wm){var s=2===r.strategy?function(e,t){for(var n;;){if(0===e.lookahead&&(rg(e),0===e.lookahead)){if(0===t)return 1;break}if(e.match_length=0,n=Lm._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,n&&(Zm(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(Zm(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(Zm(e,!1),0===e.strm.avail_out)?1:2}(r,t):3===r.strategy?function(e,t){for(var n,r,i,o,a=e.window;;){if(e.lookahead<=Vm){if(rg(e),e.lookahead<=Vm&&0===t)return 1;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=3&&e.strstart>0&&(r=a[i=e.strstart-1])===a[++i]&&r===a[++i]&&r===a[++i]){o=e.strstart+Vm;do{}while(r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&i<o);e.match_length=Vm-(o-i),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=3?(n=Lm._tr_tally(e,1,e.match_length-3),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(n=Lm._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),n&&(Zm(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(Zm(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(Zm(e,!1),0===e.strm.avail_out)?1:2}(r,t):Nm[r.level].func(r,t);if(3!==s&&4!==s||(r.status=Wm),1===s||3===s)return 0===e.avail_out&&(r.last_flush=-1),0;if(2===s&&(1===t?Lm._tr_align(r):5!==t&&(Lm._tr_stored_block(r,0,0,!1),3===t&&(Jm(r.head),0===r.lookahead&&(r.strstart=0,r.block_start=0,r.insert=0))),Xm(e),0===e.avail_out))return r.last_flush=-1,0}return 4!==t?0:r.wrap<=0?1:(2===r.wrap?($m(r,255&e.adler),$m(r,e.adler>>8&255),$m(r,e.adler>>16&255),$m(r,e.adler>>24&255),$m(r,255&e.total_in),$m(r,e.total_in>>8&255),$m(r,e.total_in>>16&255),$m(r,e.total_in>>24&255)):(eg(r,e.adler>>>16),eg(r,65535&e.adler)),Xm(e),r.wrap>0&&(r.wrap=-r.wrap),0!==r.pending?0:1)},Wf.deflateEnd=function(e){var t;return e&&e.state?42!==(t=e.state.status)&&69!==t&&73!==t&&91!==t&&t!==qm&&t!==Hm&&t!==Wm?Ym(e,Um):(e.state=null,t===Hm?Ym(e,-3):0):Um},Wf.deflateSetDictionary=function(e,t){var n,r,i,o,a,s,l,c,u=t.length;if(!e||!e.state)return Um;if(2===(o=(n=e.state).wrap)||1===o&&42!==n.status||n.lookahead)return Um;for(1===o&&(e.adler=Fm(e.adler,t,u,0)),n.wrap=0,u>=n.w_size&&(0===o&&(Jm(n.head),n.strstart=0,n.block_start=0,n.insert=0),c=new Rm.Buf8(n.w_size),Rm.arraySet(c,t,u-n.w_size,n.w_size,0),t=c,u=n.w_size),a=e.avail_in,s=e.next_in,l=e.input,e.avail_in=u,e.next_in=0,e.input=t,rg(n);n.lookahead>=3;){r=n.strstart,i=n.lookahead-2;do{n.ins_h=(n.ins_h<<n.hash_shift^n.window[r+3-1])&n.hash_mask,n.prev[r&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=r,r++}while(--i);n.strstart=r,n.lookahead=2,rg(n)}return n.strstart+=n.lookahead,n.block_start=n.strstart,n.insert=n.lookahead,n.lookahead=0,n.match_length=n.prev_length=2,n.match_available=0,e.next_in=s,e.input=l,e.avail_in=a,n.wrap=o,0},Wf.deflateInfo="pako deflate (from Nodeca project)";var dg={},pg=Yf,hg=15,fg=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],mg=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],gg=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],vg=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64],yg=Yf,Ag=jm,bg=Mm,wg=function(e,t){var n,r,i,o,a,s,l,c,u,d,p,h,f,m,g,v,y,A,b,w,x,C,S,k,E;n=e.state,r=e.next_in,k=e.input,i=r+(e.avail_in-5),o=e.next_out,E=e.output,a=o-(t-e.avail_out),s=o+(e.avail_out-257),l=n.dmax,c=n.wsize,u=n.whave,d=n.wnext,p=n.window,h=n.hold,f=n.bits,m=n.lencode,g=n.distcode,v=(1<<n.lenbits)-1,y=(1<<n.distbits)-1;e:do{f<15&&(h+=k[r++]<<f,f+=8,h+=k[r++]<<f,f+=8),A=m[h&v];t:for(;;){if(h>>>=b=A>>>24,f-=b,0===(b=A>>>16&255))E[o++]=65535&A;else{if(!(16&b)){if(0===(64&b)){A=m[(65535&A)+(h&(1<<b)-1)];continue t}if(32&b){n.mode=12;break e}e.msg="invalid literal/length code",n.mode=30;break e}w=65535&A,(b&=15)&&(f<b&&(h+=k[r++]<<f,f+=8),w+=h&(1<<b)-1,h>>>=b,f-=b),f<15&&(h+=k[r++]<<f,f+=8,h+=k[r++]<<f,f+=8),A=g[h&y];n:for(;;){if(h>>>=b=A>>>24,f-=b,!(16&(b=A>>>16&255))){if(0===(64&b)){A=g[(65535&A)+(h&(1<<b)-1)];continue n}e.msg="invalid distance code",n.mode=30;break e}if(x=65535&A,f<(b&=15)&&(h+=k[r++]<<f,(f+=8)<b&&(h+=k[r++]<<f,f+=8)),(x+=h&(1<<b)-1)>l){e.msg="invalid distance too far back",n.mode=30;break e}if(h>>>=b,f-=b,x>(b=o-a)){if((b=x-b)>u&&n.sane){e.msg="invalid distance too far back",n.mode=30;break e}if(C=0,S=p,0===d){if(C+=c-b,b<w){w-=b;do{E[o++]=p[C++]}while(--b);C=o-x,S=E}}else if(d<b){if(C+=c+d-b,(b-=d)<w){w-=b;do{E[o++]=p[C++]}while(--b);if(C=0,d<w){w-=b=d;do{E[o++]=p[C++]}while(--b);C=o-x,S=E}}}else if(C+=d-b,b<w){w-=b;do{E[o++]=p[C++]}while(--b);C=o-x,S=E}for(;w>2;)E[o++]=S[C++],E[o++]=S[C++],E[o++]=S[C++],w-=3;w&&(E[o++]=S[C++],w>1&&(E[o++]=S[C++]))}else{C=o-x;do{E[o++]=E[C++],E[o++]=E[C++],E[o++]=E[C++],w-=3}while(w>2);w&&(E[o++]=E[C++],w>1&&(E[o++]=E[C++]))}break}}break}}while(r<i&&o<s);r-=w=f>>3,h&=(1<<(f-=w<<3))-1,e.next_in=r,e.next_out=o,e.avail_in=r<i?i-r+5:5-(r-i),e.avail_out=o<s?s-o+257:257-(o-s),n.hold=h,n.bits=f},xg=function(e,t,n,r,i,o,a,s){var l,c,u,d,p,h,f,m,g,v=s.bits,y=0,A=0,b=0,w=0,x=0,C=0,S=0,k=0,E=0,I=0,_=null,P=0,O=new pg.Buf16(16),T=new pg.Buf16(16),D=null,j=0;for(y=0;y<=hg;y++)O[y]=0;for(A=0;A<r;A++)O[t[n+A]]++;for(x=v,w=hg;w>=1&&0===O[w];w--);if(x>w&&(x=w),0===w)return i[o++]=20971520,i[o++]=20971520,s.bits=1,0;for(b=1;b<w&&0===O[b];b++);for(x<b&&(x=b),k=1,y=1;y<=hg;y++)if(k<<=1,(k-=O[y])<0)return-1;if(k>0&&(0===e||1!==w))return-1;for(T[1]=0,y=1;y<hg;y++)T[y+1]=T[y]+O[y];for(A=0;A<r;A++)0!==t[n+A]&&(a[T[t[n+A]]++]=A);if(0===e?(_=D=a,h=19):1===e?(_=fg,P-=257,D=mg,j-=257,h=256):(_=gg,D=vg,h=-1),I=0,A=0,y=b,p=o,C=x,S=0,u=-1,d=(E=1<<x)-1,1===e&&E>852||2===e&&E>592)return 1;for(;;){f=y-S,a[A]<h?(m=0,g=a[A]):a[A]>h?(m=D[j+a[A]],g=_[P+a[A]]):(m=96,g=0),l=1<<y-S,b=c=1<<C;do{i[p+(I>>S)+(c-=l)]=f<<24|m<<16|g}while(0!==c);for(l=1<<y-1;I&l;)l>>=1;if(0!==l?(I&=l-1,I+=l):I=0,A++,0===--O[y]){if(y===w)break;y=t[n+a[A]]}if(y>x&&(I&d)!==u){for(0===S&&(S=x),p+=b,k=1<<(C=y-S);C+S<w&&!((k-=O[C+S])<=0);)C++,k<<=1;if(E+=1<<C,1===e&&E>852||2===e&&E>592)return 1;i[u=I&d]=x<<24|C<<16|p-o}}return 0!==I&&(i[p+I]=y-S<<24|64<<16),s.bits=x,0},Cg=-2,Sg=12,kg=30;function Eg(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function Ig(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new yg.Buf16(320),this.work=new yg.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function _g(e){var t;return e&&e.state?(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=1,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new yg.Buf32(852),t.distcode=t.distdyn=new yg.Buf32(592),t.sane=1,t.back=-1,0):Cg}function Pg(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,_g(e)):Cg}function Og(e,t){var n,r;return e&&e.state?(r=e.state,t<0?(n=0,t=-t):(n=1+(t>>4),t<48&&(t&=15)),t&&(t<8||t>15)?Cg:(null!==r.window&&r.wbits!==t&&(r.window=null),r.wrap=n,r.wbits=t,Pg(e))):Cg}function Tg(e,t){var n,r;return e?(r=new Ig,e.state=r,r.window=null,0!==(n=Og(e,t))&&(e.state=null),n):Cg}var Dg,jg,Bg=!0;function Ng(e){if(Bg){var t;for(Dg=new yg.Buf32(512),jg=new yg.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(xg(1,e.lens,0,288,Dg,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;xg(2,e.lens,0,32,jg,0,e.work,{bits:5}),Bg=!1}e.lencode=Dg,e.lenbits=9,e.distcode=jg,e.distbits=5}function Mg(e,t,n,r){var i,o=e.state;return null===o.window&&(o.wsize=1<<o.wbits,o.wnext=0,o.whave=0,o.window=new yg.Buf8(o.wsize)),r>=o.wsize?(yg.arraySet(o.window,t,n-o.wsize,o.wsize,0),o.wnext=0,o.whave=o.wsize):((i=o.wsize-o.wnext)>r&&(i=r),yg.arraySet(o.window,t,n-r,i,o.wnext),(r-=i)?(yg.arraySet(o.window,t,n-r,r,0),o.wnext=r,o.whave=o.wsize):(o.wnext+=i,o.wnext===o.wsize&&(o.wnext=0),o.whave<o.wsize&&(o.whave+=i))),0}dg.inflateReset=Pg,dg.inflateReset2=Og,dg.inflateResetKeep=_g,dg.inflateInit=function(e){return Tg(e,15)},dg.inflateInit2=Tg,dg.inflate=function(e,t){var n,r,i,o,a,s,l,c,u,d,p,h,f,m,g,v,y,A,b,w,x,C,S,k,E=0,I=new yg.Buf8(4),_=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&0!==e.avail_in)return Cg;(n=e.state).mode===Sg&&(n.mode=13),a=e.next_out,i=e.output,l=e.avail_out,o=e.next_in,r=e.input,s=e.avail_in,c=n.hold,u=n.bits,d=s,p=l,C=0;e:for(;;)switch(n.mode){case 1:if(0===n.wrap){n.mode=13;break}for(;u<16;){if(0===s)break e;s--,c+=r[o++]<<u,u+=8}if(2&n.wrap&&35615===c){n.check=0,I[0]=255&c,I[1]=c>>>8&255,n.check=bg(n.check,I,2,0),c=0,u=0,n.mode=2;break}if(n.flags=0,n.head&&(n.head.done=!1),!(1&n.wrap)||(((255&c)<<8)+(c>>8))%31){e.msg="incorrect header check",n.mode=kg;break}if(8!==(15&c)){e.msg="unknown compression method",n.mode=kg;break}if(u-=4,x=8+(15&(c>>>=4)),0===n.wbits)n.wbits=x;else if(x>n.wbits){e.msg="invalid window size",n.mode=kg;break}n.dmax=1<<x,e.adler=n.check=1,n.mode=512&c?10:Sg,c=0,u=0;break;case 2:for(;u<16;){if(0===s)break e;s--,c+=r[o++]<<u,u+=8}if(n.flags=c,8!==(255&n.flags)){e.msg="unknown compression method",n.mode=kg;break}if(57344&n.flags){e.msg="unknown header flags set",n.mode=kg;break}n.head&&(n.head.text=c>>8&1),512&n.flags&&(I[0]=255&c,I[1]=c>>>8&255,n.check=bg(n.check,I,2,0)),c=0,u=0,n.mode=3;case 3:for(;u<32;){if(0===s)break e;s--,c+=r[o++]<<u,u+=8}n.head&&(n.head.time=c),512&n.flags&&(I[0]=255&c,I[1]=c>>>8&255,I[2]=c>>>16&255,I[3]=c>>>24&255,n.check=bg(n.check,I,4,0)),c=0,u=0,n.mode=4;case 4:for(;u<16;){if(0===s)break e;s--,c+=r[o++]<<u,u+=8}n.head&&(n.head.xflags=255&c,n.head.os=c>>8),512&n.flags&&(I[0]=255&c,I[1]=c>>>8&255,n.check=bg(n.check,I,2,0)),c=0,u=0,n.mode=5;case 5:if(1024&n.flags){for(;u<16;){if(0===s)break e;s--,c+=r[o++]<<u,u+=8}n.length=c,n.head&&(n.head.extra_len=c),512&n.flags&&(I[0]=255&c,I[1]=c>>>8&255,n.check=bg(n.check,I,2,0)),c=0,u=0}else n.head&&(n.head.extra=null);n.mode=6;case 6:if(1024&n.flags&&((h=n.length)>s&&(h=s),h&&(n.head&&(x=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Array(n.head.extra_len)),yg.arraySet(n.head.extra,r,o,h,x)),512&n.flags&&(n.check=bg(n.check,r,h,o)),s-=h,o+=h,n.length-=h),n.length))break e;n.length=0,n.mode=7;case 7:if(2048&n.flags){if(0===s)break e;h=0;do{x=r[o+h++],n.head&&x&&n.length<65536&&(n.head.name+=String.fromCharCode(x))}while(x&&h<s);if(512&n.flags&&(n.check=bg(n.check,r,h,o)),s-=h,o+=h,x)break e}else n.head&&(n.head.name=null);n.length=0,n.mode=8;case 8:if(4096&n.flags){if(0===s)break e;h=0;do{x=r[o+h++],n.head&&x&&n.length<65536&&(n.head.comment+=String.fromCharCode(x))}while(x&&h<s);if(512&n.flags&&(n.check=bg(n.check,r,h,o)),s-=h,o+=h,x)break e}else n.head&&(n.head.comment=null);n.mode=9;case 9:if(512&n.flags){for(;u<16;){if(0===s)break e;s--,c+=r[o++]<<u,u+=8}if(c!==(65535&n.check)){e.msg="header crc mismatch",n.mode=kg;break}c=0,u=0}n.head&&(n.head.hcrc=n.flags>>9&1,n.head.done=!0),e.adler=n.check=0,n.mode=Sg;break;case 10:for(;u<32;){if(0===s)break e;s--,c+=r[o++]<<u,u+=8}e.adler=n.check=Eg(c),c=0,u=0,n.mode=11;case 11:if(0===n.havedict)return e.next_out=a,e.avail_out=l,e.next_in=o,e.avail_in=s,n.hold=c,n.bits=u,2;e.adler=n.check=1,n.mode=Sg;case Sg:if(5===t||6===t)break e;case 13:if(n.last){c>>>=7&u,u-=7&u,n.mode=27;break}for(;u<3;){if(0===s)break e;s--,c+=r[o++]<<u,u+=8}switch(n.last=1&c,u-=1,3&(c>>>=1)){case 0:n.mode=14;break;case 1:if(Ng(n),n.mode=20,6===t){c>>>=2,u-=2;break e}break;case 2:n.mode=17;break;case 3:e.msg="invalid block type",n.mode=kg}c>>>=2,u-=2;break;case 14:for(c>>>=7&u,u-=7&u;u<32;){if(0===s)break e;s--,c+=r[o++]<<u,u+=8}if((65535&c)!==(c>>>16^65535)){e.msg="invalid stored block lengths",n.mode=kg;break}if(n.length=65535&c,c=0,u=0,n.mode=15,6===t)break e;case 15:n.mode=16;case 16:if(h=n.length){if(h>s&&(h=s),h>l&&(h=l),0===h)break e;yg.arraySet(i,r,o,h,a),s-=h,o+=h,l-=h,a+=h,n.length-=h;break}n.mode=Sg;break;case 17:for(;u<14;){if(0===s)break e;s--,c+=r[o++]<<u,u+=8}if(n.nlen=257+(31&c),c>>>=5,u-=5,n.ndist=1+(31&c),c>>>=5,u-=5,n.ncode=4+(15&c),c>>>=4,u-=4,n.nlen>286||n.ndist>30){e.msg="too many length or distance symbols",n.mode=kg;break}n.have=0,n.mode=18;case 18:for(;n.have<n.ncode;){for(;u<3;){if(0===s)break e;s--,c+=r[o++]<<u,u+=8}n.lens[_[n.have++]]=7&c,c>>>=3,u-=3}for(;n.have<19;)n.lens[_[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,S={bits:n.lenbits},C=xg(0,n.lens,0,19,n.lencode,0,n.work,S),n.lenbits=S.bits,C){e.msg="invalid code lengths set",n.mode=kg;break}n.have=0,n.mode=19;case 19:for(;n.have<n.nlen+n.ndist;){for(;v=(E=n.lencode[c&(1<<n.lenbits)-1])>>>16&255,y=65535&E,!((g=E>>>24)<=u);){if(0===s)break e;s--,c+=r[o++]<<u,u+=8}if(y<16)c>>>=g,u-=g,n.lens[n.have++]=y;else{if(16===y){for(k=g+2;u<k;){if(0===s)break e;s--,c+=r[o++]<<u,u+=8}if(c>>>=g,u-=g,0===n.have){e.msg="invalid bit length repeat",n.mode=kg;break}x=n.lens[n.have-1],h=3+(3&c),c>>>=2,u-=2}else if(17===y){for(k=g+3;u<k;){if(0===s)break e;s--,c+=r[o++]<<u,u+=8}u-=g,x=0,h=3+(7&(c>>>=g)),c>>>=3,u-=3}else{for(k=g+7;u<k;){if(0===s)break e;s--,c+=r[o++]<<u,u+=8}u-=g,x=0,h=11+(127&(c>>>=g)),c>>>=7,u-=7}if(n.have+h>n.nlen+n.ndist){e.msg="invalid bit length repeat",n.mode=kg;break}for(;h--;)n.lens[n.have++]=x}}if(n.mode===kg)break;if(0===n.lens[256]){e.msg="invalid code -- missing end-of-block",n.mode=kg;break}if(n.lenbits=9,S={bits:n.lenbits},C=xg(1,n.lens,0,n.nlen,n.lencode,0,n.work,S),n.lenbits=S.bits,C){e.msg="invalid literal/lengths set",n.mode=kg;break}if(n.distbits=6,n.distcode=n.distdyn,S={bits:n.distbits},C=xg(2,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,S),n.distbits=S.bits,C){e.msg="invalid distances set",n.mode=kg;break}if(n.mode=20,6===t)break e;case 20:n.mode=21;case 21:if(s>=6&&l>=258){e.next_out=a,e.avail_out=l,e.next_in=o,e.avail_in=s,n.hold=c,n.bits=u,wg(e,p),a=e.next_out,i=e.output,l=e.avail_out,o=e.next_in,r=e.input,s=e.avail_in,c=n.hold,u=n.bits,n.mode===Sg&&(n.back=-1);break}for(n.back=0;v=(E=n.lencode[c&(1<<n.lenbits)-1])>>>16&255,y=65535&E,!((g=E>>>24)<=u);){if(0===s)break e;s--,c+=r[o++]<<u,u+=8}if(v&&0===(240&v)){for(A=g,b=v,w=y;v=(E=n.lencode[w+((c&(1<<A+b)-1)>>A)])>>>16&255,y=65535&E,!(A+(g=E>>>24)<=u);){if(0===s)break e;s--,c+=r[o++]<<u,u+=8}c>>>=A,u-=A,n.back+=A}if(c>>>=g,u-=g,n.back+=g,n.length=y,0===v){n.mode=26;break}if(32&v){n.back=-1,n.mode=Sg;break}if(64&v){e.msg="invalid literal/length code",n.mode=kg;break}n.extra=15&v,n.mode=22;case 22:if(n.extra){for(k=n.extra;u<k;){if(0===s)break e;s--,c+=r[o++]<<u,u+=8}n.length+=c&(1<<n.extra)-1,c>>>=n.extra,u-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=23;case 23:for(;v=(E=n.distcode[c&(1<<n.distbits)-1])>>>16&255,y=65535&E,!((g=E>>>24)<=u);){if(0===s)break e;s--,c+=r[o++]<<u,u+=8}if(0===(240&v)){for(A=g,b=v,w=y;v=(E=n.distcode[w+((c&(1<<A+b)-1)>>A)])>>>16&255,y=65535&E,!(A+(g=E>>>24)<=u);){if(0===s)break e;s--,c+=r[o++]<<u,u+=8}c>>>=A,u-=A,n.back+=A}if(c>>>=g,u-=g,n.back+=g,64&v){e.msg="invalid distance code",n.mode=kg;break}n.offset=y,n.extra=15&v,n.mode=24;case 24:if(n.extra){for(k=n.extra;u<k;){if(0===s)break e;s--,c+=r[o++]<<u,u+=8}n.offset+=c&(1<<n.extra)-1,c>>>=n.extra,u-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){e.msg="invalid distance too far back",n.mode=kg;break}n.mode=25;case 25:if(0===l)break e;if(h=p-l,n.offset>h){if((h=n.offset-h)>n.whave&&n.sane){e.msg="invalid distance too far back",n.mode=kg;break}h>n.wnext?(h-=n.wnext,f=n.wsize-h):f=n.wnext-h,h>n.length&&(h=n.length),m=n.window}else m=i,f=a-n.offset,h=n.length;h>l&&(h=l),l-=h,n.length-=h;do{i[a++]=m[f++]}while(--h);0===n.length&&(n.mode=21);break;case 26:if(0===l)break e;i[a++]=n.length,l--,n.mode=21;break;case 27:if(n.wrap){for(;u<32;){if(0===s)break e;s--,c|=r[o++]<<u,u+=8}if(p-=l,e.total_out+=p,n.total+=p,p&&(e.adler=n.check=n.flags?bg(n.check,i,p,a-p):Ag(n.check,i,p,a-p)),p=l,(n.flags?c:Eg(c))!==n.check){e.msg="incorrect data check",n.mode=kg;break}c=0,u=0}n.mode=28;case 28:if(n.wrap&&n.flags){for(;u<32;){if(0===s)break e;s--,c+=r[o++]<<u,u+=8}if(c!==(4294967295&n.total)){e.msg="incorrect length check",n.mode=kg;break}c=0,u=0}n.mode=29;case 29:C=1;break e;case kg:C=-3;break e;case 31:return-4;default:return Cg}return e.next_out=a,e.avail_out=l,e.next_in=o,e.avail_in=s,n.hold=c,n.bits=u,(n.wsize||p!==e.avail_out&&n.mode<kg&&(n.mode<27||4!==t))&&Mg(e,e.output,e.next_out,p-e.avail_out),d-=e.avail_in,p-=e.avail_out,e.total_in+=d,e.total_out+=p,n.total+=p,n.wrap&&p&&(e.adler=n.check=n.flags?bg(n.check,i,p,e.next_out-p):Ag(n.check,i,p,e.next_out-p)),e.data_type=n.bits+(n.last?64:0)+(n.mode===Sg?128:0)+(20===n.mode||15===n.mode?256:0),(0===d&&0===p||4===t)&&0===C&&(C=-5),C},dg.inflateEnd=function(e){if(!e||!e.state)return Cg;var t=e.state;return t.window&&(t.window=null),e.state=null,0},dg.inflateGetHeader=function(e,t){var n;return e&&e.state?0===(2&(n=e.state).wrap)?Cg:(n.head=t,t.done=!1,0):Cg},dg.inflateSetDictionary=function(e,t){var n,r=t.length;return e&&e.state?0!==(n=e.state).wrap&&11!==n.mode?Cg:11===n.mode&&Ag(1,t,r,0)!==n.check?-3:Mg(e,t,r,r)?(n.mode=31,-4):(n.havedict=1,0):Cg},dg.inflateInfo="pako inflate (from Nodeca project)";var Rg={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8};!function(e){var t=qf,n=Hf,r=Wf,i=dg,o=Rg;for(var a in o)e[a]=o[a];e.NONE=0,e.DEFLATE=1,e.INFLATE=2,e.GZIP=3,e.GUNZIP=4,e.DEFLATERAW=5,e.INFLATERAW=6,e.UNZIP=7;function s(t){if("number"!==typeof t||t<e.DEFLATE||t>e.UNZIP)throw new TypeError("Bad argument");this.dictionary=null,this.err=0,this.flush=0,this.init_done=!1,this.level=0,this.memLevel=0,this.mode=t,this.strategy=0,this.windowBits=0,this.write_in_progress=!1,this.pending_close=!1,this.gzip_id_bytes_read=0}s.prototype.close=function(){this.write_in_progress?this.pending_close=!0:(this.pending_close=!1,t(this.init_done,"close before init"),t(this.mode<=e.UNZIP),this.mode===e.DEFLATE||this.mode===e.GZIP||this.mode===e.DEFLATERAW?r.deflateEnd(this.strm):this.mode!==e.INFLATE&&this.mode!==e.GUNZIP&&this.mode!==e.INFLATERAW&&this.mode!==e.UNZIP||i.inflateEnd(this.strm),this.mode=e.NONE,this.dictionary=null)},s.prototype.write=function(e,t,n,r,i,o,a){return this._write(!0,e,t,n,r,i,o,a)},s.prototype.writeSync=function(e,t,n,r,i,o,a){return this._write(!1,e,t,n,r,i,o,a)},s.prototype._write=function(n,r,i,o,a,s,l,c){if(t.equal(arguments.length,8),t(this.init_done,"write before init"),t(this.mode!==e.NONE,"already finalized"),t.equal(!1,this.write_in_progress,"write already in progress"),t.equal(!1,this.pending_close,"close is pending"),this.write_in_progress=!0,t.equal(!1,void 0===r,"must provide flush value"),this.write_in_progress=!0,r!==e.Z_NO_FLUSH&&r!==e.Z_PARTIAL_FLUSH&&r!==e.Z_SYNC_FLUSH&&r!==e.Z_FULL_FLUSH&&r!==e.Z_FINISH&&r!==e.Z_BLOCK)throw new Error("Invalid flush value");if(null==i&&(i=pd.alloc(0),a=0,o=0),this.strm.avail_in=a,this.strm.input=i,this.strm.next_in=o,this.strm.avail_out=c,this.strm.output=s,this.strm.next_out=l,this.flush=r,!n)return this._process(),this._checkError()?this._afterSync():void 0;var u=this;return xp.nextTick((function(){u._process(),u._after()})),this},s.prototype._afterSync=function(){var e=this.strm.avail_out,t=this.strm.avail_in;return this.write_in_progress=!1,[t,e]},s.prototype._process=function(){var t=null;switch(this.mode){case e.DEFLATE:case e.GZIP:case e.DEFLATERAW:this.err=r.deflate(this.strm,this.flush);break;case e.UNZIP:switch(this.strm.avail_in>0&&(t=this.strm.next_in),this.gzip_id_bytes_read){case 0:if(null===t)break;if(31!==this.strm.input[t]){this.mode=e.INFLATE;break}if(this.gzip_id_bytes_read=1,t++,1===this.strm.avail_in)break;case 1:if(null===t)break;139===this.strm.input[t]?(this.gzip_id_bytes_read=2,this.mode=e.GUNZIP):this.mode=e.INFLATE;break;default:throw new Error("invalid number of gzip magic number bytes read")}case e.INFLATE:case e.GUNZIP:case e.INFLATERAW:for(this.err=i.inflate(this.strm,this.flush),this.err===e.Z_NEED_DICT&&this.dictionary&&(this.err=i.inflateSetDictionary(this.strm,this.dictionary),this.err===e.Z_OK?this.err=i.inflate(this.strm,this.flush):this.err===e.Z_DATA_ERROR&&(this.err=e.Z_NEED_DICT));this.strm.avail_in>0&&this.mode===e.GUNZIP&&this.err===e.Z_STREAM_END&&0!==this.strm.next_in[0];)this.reset(),this.err=i.inflate(this.strm,this.flush);break;default:throw new Error("Unknown mode "+this.mode)}},s.prototype._checkError=function(){switch(this.err){case e.Z_OK:case e.Z_BUF_ERROR:if(0!==this.strm.avail_out&&this.flush===e.Z_FINISH)return this._error("unexpected end of file"),!1;break;case e.Z_STREAM_END:break;case e.Z_NEED_DICT:return null==this.dictionary?this._error("Missing dictionary"):this._error("Bad dictionary"),!1;default:return this._error("Zlib error"),!1}return!0},s.prototype._after=function(){if(this._checkError()){var e=this.strm.avail_out,t=this.strm.avail_in;this.write_in_progress=!1,this.callback(t,e),this.pending_close&&this.close()}},s.prototype._error=function(e){this.strm.msg&&(e=this.strm.msg),this.onerror(e,this.err),this.write_in_progress=!1,this.pending_close&&this.close()},s.prototype.init=function(n,r,i,o,a){t(4===arguments.length||5===arguments.length,"init(windowBits, level, memLevel, strategy, [dictionary])"),t(n>=8&&n<=15,"invalid windowBits"),t(r>=-1&&r<=9,"invalid compression level"),t(i>=1&&i<=9,"invalid memlevel"),t(o===e.Z_FILTERED||o===e.Z_HUFFMAN_ONLY||o===e.Z_RLE||o===e.Z_FIXED||o===e.Z_DEFAULT_STRATEGY,"invalid strategy"),this._init(r,n,i,o,a),this._setDictionary()},s.prototype.params=function(){throw new Error("deflateParams Not supported")},s.prototype.reset=function(){this._reset(),this._setDictionary()},s.prototype._init=function(t,o,a,s,l){switch(this.level=t,this.windowBits=o,this.memLevel=a,this.strategy=s,this.flush=e.Z_NO_FLUSH,this.err=e.Z_OK,this.mode!==e.GZIP&&this.mode!==e.GUNZIP||(this.windowBits+=16),this.mode===e.UNZIP&&(this.windowBits+=32),this.mode!==e.DEFLATERAW&&this.mode!==e.INFLATERAW||(this.windowBits=-1*this.windowBits),this.strm=new n,this.mode){case e.DEFLATE:case e.GZIP:case e.DEFLATERAW:this.err=r.deflateInit2(this.strm,this.level,e.Z_DEFLATED,this.windowBits,this.memLevel,this.strategy);break;case e.INFLATE:case e.GUNZIP:case e.INFLATERAW:case e.UNZIP:this.err=i.inflateInit2(this.strm,this.windowBits);break;default:throw new Error("Unknown mode "+this.mode)}this.err!==e.Z_OK&&this._error("Init error"),this.dictionary=l,this.write_in_progress=!1,this.init_done=!0},s.prototype._setDictionary=function(){if(null!=this.dictionary){switch(this.err=e.Z_OK,this.mode){case e.DEFLATE:case e.DEFLATERAW:this.err=r.deflateSetDictionary(this.strm,this.dictionary)}this.err!==e.Z_OK&&this._error("Failed to set dictionary")}},s.prototype._reset=function(){switch(this.err=e.Z_OK,this.mode){case e.DEFLATE:case e.DEFLATERAW:case e.GZIP:this.err=r.deflateReset(this.strm);break;case e.INFLATE:case e.INFLATERAW:case e.GUNZIP:this.err=i.inflateReset(this.strm)}this.err!==e.Z_OK&&this._error("Failed to reset stream")},e.Zlib=s}(hf);var Lg=Sp(bh);!function(e){var t=Ep.Buffer,n=pf.Transform,r=hf,i=Lg,o=qf.ok,a=Ep.kMaxLength,s="Cannot create final Buffer. It would be larger than 0x"+a.toString(16)+" bytes";r.Z_MIN_WINDOWBITS=8,r.Z_MAX_WINDOWBITS=15,r.Z_DEFAULT_WINDOWBITS=15,r.Z_MIN_CHUNK=64,r.Z_MAX_CHUNK=1/0,r.Z_DEFAULT_CHUNK=16384,r.Z_MIN_MEMLEVEL=1,r.Z_MAX_MEMLEVEL=9,r.Z_DEFAULT_MEMLEVEL=8,r.Z_MIN_LEVEL=-1,r.Z_MAX_LEVEL=9,r.Z_DEFAULT_LEVEL=r.Z_DEFAULT_COMPRESSION;for(var l=Object.keys(r),c=0;c<l.length;c++){var u=l[c];u.match(/^Z/)&&Object.defineProperty(e,u,{enumerable:!0,value:r[u],writable:!1})}for(var d={Z_OK:r.Z_OK,Z_STREAM_END:r.Z_STREAM_END,Z_NEED_DICT:r.Z_NEED_DICT,Z_ERRNO:r.Z_ERRNO,Z_STREAM_ERROR:r.Z_STREAM_ERROR,Z_DATA_ERROR:r.Z_DATA_ERROR,Z_MEM_ERROR:r.Z_MEM_ERROR,Z_BUF_ERROR:r.Z_BUF_ERROR,Z_VERSION_ERROR:r.Z_VERSION_ERROR},p=Object.keys(d),h=0;h<p.length;h++){var f=p[h];d[d[f]]=f}function m(e,n,r){var i=[],o=0;function l(){for(var t;null!==(t=e.read());)i.push(t),o+=t.length;e.once("readable",l)}function c(){var n,l=null;o>=a?l=new RangeError(s):n=t.concat(i,o),i=[],e.close(),r(l,n)}e.on("error",(function(t){e.removeListener("end",c),e.removeListener("readable",l),r(t)})),e.on("end",c),e.end(n),l()}function g(e,n){if("string"===typeof n&&(n=t.from(n)),!t.isBuffer(n))throw new TypeError("Not a string or buffer");var r=e._finishFlushFlag;return e._processChunk(n,r)}function v(e){if(!(this instanceof v))return new v(e);k.call(this,e,r.DEFLATE)}function y(e){if(!(this instanceof y))return new y(e);k.call(this,e,r.INFLATE)}function A(e){if(!(this instanceof A))return new A(e);k.call(this,e,r.GZIP)}function b(e){if(!(this instanceof b))return new b(e);k.call(this,e,r.GUNZIP)}function w(e){if(!(this instanceof w))return new w(e);k.call(this,e,r.DEFLATERAW)}function x(e){if(!(this instanceof x))return new x(e);k.call(this,e,r.INFLATERAW)}function C(e){if(!(this instanceof C))return new C(e);k.call(this,e,r.UNZIP)}function S(e){return e===r.Z_NO_FLUSH||e===r.Z_PARTIAL_FLUSH||e===r.Z_SYNC_FLUSH||e===r.Z_FULL_FLUSH||e===r.Z_FINISH||e===r.Z_BLOCK}function k(i,o){var a=this;if(this._opts=i=i||{},this._chunkSize=i.chunkSize||e.Z_DEFAULT_CHUNK,n.call(this,i),i.flush&&!S(i.flush))throw new Error("Invalid flush flag: "+i.flush);if(i.finishFlush&&!S(i.finishFlush))throw new Error("Invalid flush flag: "+i.finishFlush);if(this._flushFlag=i.flush||r.Z_NO_FLUSH,this._finishFlushFlag="undefined"!==typeof i.finishFlush?i.finishFlush:r.Z_FINISH,i.chunkSize&&(i.chunkSize<e.Z_MIN_CHUNK||i.chunkSize>e.Z_MAX_CHUNK))throw new Error("Invalid chunk size: "+i.chunkSize);if(i.windowBits&&(i.windowBits<e.Z_MIN_WINDOWBITS||i.windowBits>e.Z_MAX_WINDOWBITS))throw new Error("Invalid windowBits: "+i.windowBits);if(i.level&&(i.level<e.Z_MIN_LEVEL||i.level>e.Z_MAX_LEVEL))throw new Error("Invalid compression level: "+i.level);if(i.memLevel&&(i.memLevel<e.Z_MIN_MEMLEVEL||i.memLevel>e.Z_MAX_MEMLEVEL))throw new Error("Invalid memLevel: "+i.memLevel);if(i.strategy&&i.strategy!=e.Z_FILTERED&&i.strategy!=e.Z_HUFFMAN_ONLY&&i.strategy!=e.Z_RLE&&i.strategy!=e.Z_FIXED&&i.strategy!=e.Z_DEFAULT_STRATEGY)throw new Error("Invalid strategy: "+i.strategy);if(i.dictionary&&!t.isBuffer(i.dictionary))throw new Error("Invalid dictionary: it should be a Buffer instance");this._handle=new r.Zlib(o);var s=this;this._hadError=!1,this._handle.onerror=function(t,n){E(s),s._hadError=!0;var r=new Error(t);r.errno=n,r.code=e.codes[n],s.emit("error",r)};var l=e.Z_DEFAULT_COMPRESSION;"number"===typeof i.level&&(l=i.level);var c=e.Z_DEFAULT_STRATEGY;"number"===typeof i.strategy&&(c=i.strategy),this._handle.init(i.windowBits||e.Z_DEFAULT_WINDOWBITS,l,i.memLevel||e.Z_DEFAULT_MEMLEVEL,c,i.dictionary),this._buffer=t.allocUnsafe(this._chunkSize),this._offset=0,this._level=l,this._strategy=c,this.once("end",this.close),Object.defineProperty(this,"_closed",{get:function(){return!a._handle},configurable:!0,enumerable:!0})}function E(e,t){t&&xp.nextTick(t),e._handle&&(e._handle.close(),e._handle=null)}function I(e){e.emit("close")}Object.defineProperty(e,"codes",{enumerable:!0,value:Object.freeze(d),writable:!1}),e.Deflate=v,e.Inflate=y,e.Gzip=A,e.Gunzip=b,e.DeflateRaw=w,e.InflateRaw=x,e.Unzip=C,e.createDeflate=function(e){return new v(e)},e.createInflate=function(e){return new y(e)},e.createDeflateRaw=function(e){return new w(e)},e.createInflateRaw=function(e){return new x(e)},e.createGzip=function(e){return new A(e)},e.createGunzip=function(e){return new b(e)},e.createUnzip=function(e){return new C(e)},e.deflate=function(e,t,n){return"function"===typeof t&&(n=t,t={}),m(new v(t),e,n)},e.deflateSync=function(e,t){return g(new v(t),e)},e.gzip=function(e,t,n){return"function"===typeof t&&(n=t,t={}),m(new A(t),e,n)},e.gzipSync=function(e,t){return g(new A(t),e)},e.deflateRaw=function(e,t,n){return"function"===typeof t&&(n=t,t={}),m(new w(t),e,n)},e.deflateRawSync=function(e,t){return g(new w(t),e)},e.unzip=function(e,t,n){return"function"===typeof t&&(n=t,t={}),m(new C(t),e,n)},e.unzipSync=function(e,t){return g(new C(t),e)},e.inflate=function(e,t,n){return"function"===typeof t&&(n=t,t={}),m(new y(t),e,n)},e.inflateSync=function(e,t){return g(new y(t),e)},e.gunzip=function(e,t,n){return"function"===typeof t&&(n=t,t={}),m(new b(t),e,n)},e.gunzipSync=function(e,t){return g(new b(t),e)},e.inflateRaw=function(e,t,n){return"function"===typeof t&&(n=t,t={}),m(new x(t),e,n)},e.inflateRawSync=function(e,t){return g(new x(t),e)},i.inherits(k,n),k.prototype.params=function(t,n,i){if(t<e.Z_MIN_LEVEL||t>e.Z_MAX_LEVEL)throw new RangeError("Invalid compression level: "+t);if(n!=e.Z_FILTERED&&n!=e.Z_HUFFMAN_ONLY&&n!=e.Z_RLE&&n!=e.Z_FIXED&&n!=e.Z_DEFAULT_STRATEGY)throw new TypeError("Invalid strategy: "+n);if(this._level!==t||this._strategy!==n){var a=this;this.flush(r.Z_SYNC_FLUSH,(function(){o(a._handle,"zlib binding closed"),a._handle.params(t,n),a._hadError||(a._level=t,a._strategy=n,i&&i())}))}else xp.nextTick(i)},k.prototype.reset=function(){return o(this._handle,"zlib binding closed"),this._handle.reset()},k.prototype._flush=function(e){this._transform(t.alloc(0),"",e)},k.prototype.flush=function(e,n){var i=this,o=this._writableState;("function"===typeof e||void 0===e&&!n)&&(n=e,e=r.Z_FULL_FLUSH),o.ended?n&&xp.nextTick(n):o.ending?n&&this.once("end",n):o.needDrain?n&&this.once("drain",(function(){return i.flush(e,n)})):(this._flushFlag=e,this.write(t.alloc(0),"",n))},k.prototype.close=function(e){E(this,e),xp.nextTick(I,this)},k.prototype._transform=function(e,n,i){var o,a=this._writableState,s=(a.ending||a.ended)&&(!e||a.length===e.length);return null===e||t.isBuffer(e)?this._handle?(s?o=this._finishFlushFlag:(o=this._flushFlag,e.length>=a.length&&(this._flushFlag=this._opts.flush||r.Z_NO_FLUSH)),void this._processChunk(e,o,i)):i(new Error("zlib binding closed")):i(new Error("invalid input"))},k.prototype._processChunk=function(e,n,r){var i=e&&e.length,l=this._chunkSize-this._offset,c=0,u=this,d="function"===typeof r;if(!d){var p,h=[],f=0;this.on("error",(function(e){p=e})),o(this._handle,"zlib binding closed");do{var m=this._handle.writeSync(n,e,c,i,this._buffer,this._offset,l)}while(!this._hadError&&y(m[0],m[1]));if(this._hadError)throw p;if(f>=a)throw E(this),new RangeError(s);var g=t.concat(h,f);return E(this),g}o(this._handle,"zlib binding closed");var v=this._handle.write(n,e,c,i,this._buffer,this._offset,l);function y(a,s){if(this&&(this.buffer=null,this.callback=null),!u._hadError){var p=l-s;if(o(p>=0,"have should not go down"),p>0){var m=u._buffer.slice(u._offset,u._offset+p);u._offset+=p,d?u.push(m):(h.push(m),f+=m.length)}if((0===s||u._offset>=u._chunkSize)&&(l=u._chunkSize,u._offset=0,u._buffer=t.allocUnsafe(u._chunkSize)),0===s){if(c+=i-a,i=a,!d)return!0;var g=u._handle.write(n,e,c,i,u._buffer,u._offset,u._chunkSize);return g.callback=y,void(g.buffer=e)}if(!d)return!1;r()}}v.buffer=e,v.callback=y},i.inherits(v,k),i.inherits(y,k),i.inherits(A,k),i.inherits(b,k),i.inherits(w,k),i.inherits(x,k),i.inherits(C,k)}(kp);var Fg=Cp(kp);class zg{static decode(e,t){throw new Error("PNG.decode not available in browser build")}static load(e){throw new Error("PNG.load not available in browser build")}constructor(e){let t;for(this.data=e,this.pos=8,this.palette=[],this.imgData=[],this.transparency={},this.text={};;){const e=this.readUInt32();let s="";for(t=0;t<4;t++)s+=String.fromCharCode(this.data[this.pos++]);switch(s){case"IHDR":this.width=this.readUInt32(),this.height=this.readUInt32(),this.bits=this.data[this.pos++],this.colorType=this.data[this.pos++],this.compressionMethod=this.data[this.pos++],this.filterMethod=this.data[this.pos++],this.interlaceMethod=this.data[this.pos++];break;case"PLTE":this.palette=this.read(e);break;case"IDAT":for(t=0;t<e;t++)this.imgData.push(this.data[this.pos++]);break;case"tRNS":switch(this.transparency={},this.colorType){case 3:this.transparency.indexed=this.read(e);var n=255-this.transparency.indexed.length;if(n>0)for(t=0;t<n;t++)this.transparency.indexed.push(255);break;case 0:this.transparency.grayscale=this.read(e)[0];break;case 2:this.transparency.rgb=this.read(e)}break;case"tEXt":var r=this.read(e),i=r.indexOf(0),o=String.fromCharCode.apply(String,r.slice(0,i));this.text[o]=String.fromCharCode.apply(String,r.slice(i+1));break;case"IEND":switch(this.colorType){case 0:case 3:case 4:this.colors=1;break;case 2:case 6:this.colors=3}this.hasAlphaChannel=[4,6].includes(this.colorType);var a=this.colors+(this.hasAlphaChannel?1:0);switch(this.pixelBitlength=this.bits*a,this.colors){case 1:this.colorSpace="DeviceGray";break;case 3:this.colorSpace="DeviceRGB"}return void(this.imgData=pd.from(this.imgData));default:this.pos+=e}if(this.pos+=4,this.pos>this.data.length)throw new Error("Incomplete or corrupt PNG file")}}read(e){const t=new Array(e);for(let n=0;n<e;n++)t[n]=this.data[this.pos++];return t}readUInt32(){return this.data[this.pos++]<<24|this.data[this.pos++]<<16|this.data[this.pos++]<<8|this.data[this.pos++]}readUInt16(){return this.data[this.pos++]<<8|this.data[this.pos++]}decodePixels(e){return Fg.inflate(this.imgData,((t,n)=>{if(t)throw t;var r=0;const{width:i,height:o}=this;var a=this.pixelBitlength/8;const s=pd.alloc(i*o*a);function l(e,t,l,c,u){void 0===u&&(u=!1);const d=Math.ceil((i-e)/l),p=Math.ceil((o-t)/c),h=a*d,f=u?s:pd.alloc(h*p);let m=0,g=0;for(;m<p&&r<n.length;){var v,y,A,b,w;switch(n[r++]){case 0:for(A=0;A<h;A++)f[g++]=n[r++];break;case 1:for(A=0;A<h;A++)v=n[r++],b=A<a?0:f[g-a],f[g++]=(v+b)%256;break;case 2:for(A=0;A<h;A++)v=n[r++],y=(A-A%a)/a,w=m&&f[(m-1)*h+y*a+A%a],f[g++]=(w+v)%256;break;case 3:for(A=0;A<h;A++)v=n[r++],y=(A-A%a)/a,b=A<a?0:f[g-a],w=m&&f[(m-1)*h+y*a+A%a],f[g++]=(v+Math.floor((b+w)/2))%256;break;case 4:for(A=0;A<h;A++){var x,C;v=n[r++],y=(A-A%a)/a,b=A<a?0:f[g-a],0===m?w=C=0:(w=f[(m-1)*h+y*a+A%a],C=y&&f[(m-1)*h+(y-1)*a+A%a]);const e=b+w-C,t=Math.abs(e-b),i=Math.abs(e-w),o=Math.abs(e-C);x=t<=i&&t<=o?b:i<=o?w:C,f[g++]=(v+x)%256}break;default:throw new Error(`Invalid filter algorithm: ${n[r-1]}`)}if(!u){let n=((t+m*c)*i+e)*a,r=m*h;for(A=0;A<d;A++){for(let e=0;e<a;e++)s[n++]=f[r++];n+=(l-1)*a}}m++}}return 1===this.interlaceMethod?(l(0,0,8,8),l(4,0,8,8),l(0,4,4,8),l(2,0,4,4),l(0,2,2,4),l(1,0,2,2),l(0,1,1,2)):l(0,0,1,1,!0),e(s)}))}decodePalette(){const{palette:e}=this,{length:t}=e,n=this.transparency.indexed||[],r=pd.alloc(n.length+t);let i=0,o=0;for(let s=0;s<t;s+=3){var a;r[i++]=e[s],r[i++]=e[s+1],r[i++]=e[s+2],r[i++]=null!=(a=n[o++])?a:255}return r}copyToImageData(e,t){let n;var r;let{colors:i}=this,o=null,a=this.hasAlphaChannel;this.palette.length&&(o=this._decodedPalette||(this._decodedPalette=this.decodePalette()),i=4,a=!0);const s=e.data||e,{length:l}=s,c=o||t;let u=n=0;if(1===i)for(;u<l;){r=o?4*t[u/4]:n;const e=c[r++];s[u++]=e,s[u++]=e,s[u++]=e,s[u++]=a?c[r++]:255,n=r}else for(;u<l;)r=o?4*t[u/4]:n,s[u++]=c[r++],s[u++]=c[r++],s[u++]=c[r++],s[u++]=a?c[r++]:255,n=r}decode(e){const t=pd.alloc(this.width*this.height*4);return this.decodePixels((n=>(this.copyToImageData(t,n),e(t))))}}var Qg=n(74703),Ug="undefined"!==typeof global?global:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{},Vg=[],Gg=[],qg="undefined"!==typeof Uint8Array?Uint8Array:Array,Hg=!1;function Wg(){Hg=!0;for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t=0;t<64;++t)Vg[t]=e[t],Gg[e.charCodeAt(t)]=t;Gg["-".charCodeAt(0)]=62,Gg["_".charCodeAt(0)]=63}function Yg(e,t,n){for(var r,i,o=[],a=t;a<n;a+=3)r=(e[a]<<16)+(e[a+1]<<8)+e[a+2],o.push(Vg[(i=r)>>18&63]+Vg[i>>12&63]+Vg[i>>6&63]+Vg[63&i]);return o.join("")}function Kg(e){var t;Hg||Wg();for(var n=e.length,r=n%3,i="",o=[],a=16383,s=0,l=n-r;s<l;s+=a)o.push(Yg(e,s,s+a>l?l:s+a));return 1===r?(t=e[n-1],i+=Vg[t>>2],i+=Vg[t<<4&63],i+="=="):2===r&&(t=(e[n-2]<<8)+e[n-1],i+=Vg[t>>10],i+=Vg[t>>4&63],i+=Vg[t<<2&63],i+="="),o.push(i),o.join("")}function Jg(e,t,n,r,i){var o,a,s=8*i-r-1,l=(1<<s)-1,c=l>>1,u=-7,d=n?i-1:0,p=n?-1:1,h=e[t+d];for(d+=p,o=h&(1<<-u)-1,h>>=-u,u+=s;u>0;o=256*o+e[t+d],d+=p,u-=8);for(a=o&(1<<-u)-1,o>>=-u,u+=r;u>0;a=256*a+e[t+d],d+=p,u-=8);if(0===o)o=1-c;else{if(o===l)return a?NaN:1/0*(h?-1:1);a+=Math.pow(2,r),o-=c}return(h?-1:1)*a*Math.pow(2,o-r)}function Xg(e,t,n,r,i,o){var a,s,l,c=8*o-i-1,u=(1<<c)-1,d=u>>1,p=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,h=r?0:o-1,f=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=u):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),(t+=a+d>=1?p/l:p*Math.pow(2,1-d))*l>=2&&(a++,l/=2),a+d>=u?(s=0,a=u):a+d>=1?(s=(t*l-1)*Math.pow(2,i),a+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,i),a=0));i>=8;e[n+h]=255&s,h+=f,s/=256,i-=8);for(a=a<<i|s,c+=i;c>0;e[n+h]=255&a,h+=f,a/=256,c-=8);e[n+h-f]|=128*m}var Zg={}.toString,$g=Array.isArray||function(e){return"[object Array]"==Zg.call(e)};rv.TYPED_ARRAY_SUPPORT=void 0===Ug.TYPED_ARRAY_SUPPORT||Ug.TYPED_ARRAY_SUPPORT;var ev=tv();function tv(){return rv.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function nv(e,t){if(tv()<t)throw new RangeError("Invalid typed array length");return rv.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=rv.prototype:(null===e&&(e=new rv(t)),e.length=t),e}function rv(e,t,n){if(!rv.TYPED_ARRAY_SUPPORT&&!(this instanceof rv))return new rv(e,t,n);if("number"===typeof e){if("string"===typeof t)throw new Error("If encoding is specified then the first argument must be a string");return av(this,e)}return iv(this,e,t,n)}function iv(e,t,n,r){if("number"===typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!==typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,n,r){if(t.byteLength,n<0||t.byteLength<n)throw new RangeError("'offset' is out of bounds");if(t.byteLength<n+(r||0))throw new RangeError("'length' is out of bounds");t=void 0===n&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,n):new Uint8Array(t,n,r);rv.TYPED_ARRAY_SUPPORT?(e=t).__proto__=rv.prototype:e=sv(e,t);return e}(e,t,n,r):"string"===typeof t?function(e,t,n){"string"===typeof n&&""!==n||(n="utf8");if(!rv.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var r=0|uv(t,n);e=nv(e,r);var i=e.write(t,n);i!==r&&(e=e.slice(0,i));return e}(e,t,n):function(e,t){if(cv(t)){var n=0|lv(t.length);return 0===(e=nv(e,n)).length||t.copy(e,0,0,n),e}if(t){if("undefined"!==typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!==typeof t.length||(r=t.length)!==r?nv(e,0):sv(e,t);if("Buffer"===t.type&&$g(t.data))return sv(e,t.data)}var r;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function ov(e){if("number"!==typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function av(e,t){if(ov(t),e=nv(e,t<0?0:0|lv(t)),!rv.TYPED_ARRAY_SUPPORT)for(var n=0;n<t;++n)e[n]=0;return e}function sv(e,t){var n=t.length<0?0:0|lv(t.length);e=nv(e,n);for(var r=0;r<n;r+=1)e[r]=255&t[r];return e}function lv(e){if(e>=tv())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+tv().toString(16)+" bytes");return 0|e}function cv(e){return!(null==e||!e._isBuffer)}function uv(e,t){if(cv(e))return e.length;if("undefined"!==typeof ArrayBuffer&&"function"===typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!==typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return Rv(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return Lv(e).length;default:if(r)return Rv(e).length;t=(""+t).toLowerCase(),r=!0}}function dv(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return Ev(this,t,n);case"utf8":case"utf-8":return xv(this,t,n);case"ascii":return Sv(this,t,n);case"latin1":case"binary":return kv(this,t,n);case"base64":return wv(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Iv(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function pv(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function hv(e,t,n,r,i){if(0===e.length)return-1;if("string"===typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if("string"===typeof t&&(t=rv.from(t,r)),cv(t))return 0===t.length?-1:fv(e,t,n,r,i);if("number"===typeof t)return t&=255,rv.TYPED_ARRAY_SUPPORT&&"function"===typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):fv(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function fv(e,t,n,r,i){var o,a=1,s=e.length,l=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;a=2,s/=2,l/=2,n/=2}function c(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){var u=-1;for(o=n;o<s;o++)if(c(e,o)===c(t,-1===u?0:o-u)){if(-1===u&&(u=o),o-u+1===l)return u*a}else-1!==u&&(o-=o-u),u=-1}else for(n+l>s&&(n=s-l),o=n;o>=0;o--){for(var d=!0,p=0;p<l;p++)if(c(e,o+p)!==c(t,p)){d=!1;break}if(d)return o}return-1}function mv(e,t,n,r){n=Number(n)||0;var i=e.length-n;r?(r=Number(r))>i&&(r=i):r=i;var o=t.length;if(o%2!==0)throw new TypeError("Invalid hex string");r>o/2&&(r=o/2);for(var a=0;a<r;++a){var s=parseInt(t.substr(2*a,2),16);if(isNaN(s))return a;e[n+a]=s}return a}function gv(e,t,n,r){return Fv(Rv(t,e.length-n),e,n,r)}function vv(e,t,n,r){return Fv(function(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(t),e,n,r)}function yv(e,t,n,r){return vv(e,t,n,r)}function Av(e,t,n,r){return Fv(Lv(t),e,n,r)}function bv(e,t,n,r){return Fv(function(e,t){for(var n,r,i,o=[],a=0;a<e.length&&!((t-=2)<0);++a)r=(n=e.charCodeAt(a))>>8,i=n%256,o.push(i),o.push(r);return o}(t,e.length-n),e,n,r)}function wv(e,t,n){return 0===t&&n===e.length?Kg(e):Kg(e.slice(t,n))}function xv(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;i<n;){var o,a,s,l,c=e[i],u=null,d=c>239?4:c>223?3:c>191?2:1;if(i+d<=n)switch(d){case 1:c<128&&(u=c);break;case 2:128===(192&(o=e[i+1]))&&(l=(31&c)<<6|63&o)>127&&(u=l);break;case 3:o=e[i+1],a=e[i+2],128===(192&o)&&128===(192&a)&&(l=(15&c)<<12|(63&o)<<6|63&a)>2047&&(l<55296||l>57343)&&(u=l);break;case 4:o=e[i+1],a=e[i+2],s=e[i+3],128===(192&o)&&128===(192&a)&&128===(192&s)&&(l=(15&c)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&l<1114112&&(u=l)}null===u?(u=65533,d=1):u>65535&&(u-=65536,r.push(u>>>10&1023|55296),u=56320|1023&u),r.push(u),i+=d}return function(e){var t=e.length;if(t<=Cv)return String.fromCharCode.apply(String,e);var n="",r=0;for(;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=Cv));return n}(r)}rv.poolSize=8192,rv._augment=function(e){return e.__proto__=rv.prototype,e},rv.from=function(e,t,n){return iv(null,e,t,n)},rv.TYPED_ARRAY_SUPPORT&&(rv.prototype.__proto__=Uint8Array.prototype,rv.__proto__=Uint8Array,"undefined"!==typeof Symbol&&Symbol.species&&rv[Symbol.species]),rv.alloc=function(e,t,n){return function(e,t,n,r){return ov(t),t<=0?nv(e,t):void 0!==n?"string"===typeof r?nv(e,t).fill(n,r):nv(e,t).fill(n):nv(e,t)}(null,e,t,n)},rv.allocUnsafe=function(e){return av(null,e)},rv.allocUnsafeSlow=function(e){return av(null,e)},rv.isBuffer=zv,rv.compare=function(e,t){if(!cv(e)||!cv(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,r=t.length,i=0,o=Math.min(n,r);i<o;++i)if(e[i]!==t[i]){n=e[i],r=t[i];break}return n<r?-1:r<n?1:0},rv.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},rv.concat=function(e,t){if(!$g(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return rv.alloc(0);var n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var r=rv.allocUnsafe(t),i=0;for(n=0;n<e.length;++n){var o=e[n];if(!cv(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(r,i),i+=o.length}return r},rv.byteLength=uv,rv.prototype._isBuffer=!0,rv.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)pv(this,t,t+1);return this},rv.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)pv(this,t,t+3),pv(this,t+1,t+2);return this},rv.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)pv(this,t,t+7),pv(this,t+1,t+6),pv(this,t+2,t+5),pv(this,t+3,t+4);return this},rv.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?xv(this,0,e):dv.apply(this,arguments)},rv.prototype.equals=function(e){if(!cv(e))throw new TypeError("Argument must be a Buffer");return this===e||0===rv.compare(this,e)},rv.prototype.inspect=function(){var e="";return this.length>0&&(e=this.toString("hex",0,50).match(/.{2}/g).join(" "),this.length>50&&(e+=" ... ")),"<Buffer "+e+">"},rv.prototype.compare=function(e,t,n,r,i){if(!cv(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(this===e)return 0;for(var o=(i>>>=0)-(r>>>=0),a=(n>>>=0)-(t>>>=0),s=Math.min(o,a),l=this.slice(r,i),c=e.slice(t,n),u=0;u<s;++u)if(l[u]!==c[u]){o=l[u],a=c[u];break}return o<a?-1:a<o?1:0},rv.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},rv.prototype.indexOf=function(e,t,n){return hv(this,e,t,n,!0)},rv.prototype.lastIndexOf=function(e,t,n){return hv(this,e,t,n,!1)},rv.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"===typeof t)r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(n)?(n|=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var i=this.length-t;if((void 0===n||n>i)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return mv(this,e,t,n);case"utf8":case"utf-8":return gv(this,e,t,n);case"ascii":return vv(this,e,t,n);case"latin1":case"binary":return yv(this,e,t,n);case"base64":return Av(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return bv(this,e,t,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},rv.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var Cv=4096;function Sv(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(127&e[i]);return r}function kv(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(e[i]);return r}function Ev(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var i="",o=t;o<n;++o)i+=Mv(e[o]);return i}function Iv(e,t,n){for(var r=e.slice(t,n),i="",o=0;o<r.length;o+=2)i+=String.fromCharCode(r[o]+256*r[o+1]);return i}function _v(e,t,n){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function Pv(e,t,n,r,i,o){if(!cv(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<o)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function Ov(e,t,n,r){t<0&&(t=65535+t+1);for(var i=0,o=Math.min(e.length-n,2);i<o;++i)e[n+i]=(t&255<<8*(r?i:1-i))>>>8*(r?i:1-i)}function Tv(e,t,n,r){t<0&&(t=4294967295+t+1);for(var i=0,o=Math.min(e.length-n,4);i<o;++i)e[n+i]=t>>>8*(r?i:3-i)&255}function Dv(e,t,n,r,i,o){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function jv(e,t,n,r,i){return i||Dv(e,0,n,4),Xg(e,t,n,r,23,4),n+4}function Bv(e,t,n,r,i){return i||Dv(e,0,n,8),Xg(e,t,n,r,52,8),n+8}rv.prototype.slice=function(e,t){var n,r=this.length;if((e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e),rv.TYPED_ARRAY_SUPPORT)(n=this.subarray(e,t)).__proto__=rv.prototype;else{var i=t-e;n=new rv(i,void 0);for(var o=0;o<i;++o)n[o]=this[o+e]}return n},rv.prototype.readUIntLE=function(e,t,n){e|=0,t|=0,n||_v(e,t,this.length);for(var r=this[e],i=1,o=0;++o<t&&(i*=256);)r+=this[e+o]*i;return r},rv.prototype.readUIntBE=function(e,t,n){e|=0,t|=0,n||_v(e,t,this.length);for(var r=this[e+--t],i=1;t>0&&(i*=256);)r+=this[e+--t]*i;return r},rv.prototype.readUInt8=function(e,t){return t||_v(e,1,this.length),this[e]},rv.prototype.readUInt16LE=function(e,t){return t||_v(e,2,this.length),this[e]|this[e+1]<<8},rv.prototype.readUInt16BE=function(e,t){return t||_v(e,2,this.length),this[e]<<8|this[e+1]},rv.prototype.readUInt32LE=function(e,t){return t||_v(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},rv.prototype.readUInt32BE=function(e,t){return t||_v(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},rv.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||_v(e,t,this.length);for(var r=this[e],i=1,o=0;++o<t&&(i*=256);)r+=this[e+o]*i;return r>=(i*=128)&&(r-=Math.pow(2,8*t)),r},rv.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||_v(e,t,this.length);for(var r=t,i=1,o=this[e+--r];r>0&&(i*=256);)o+=this[e+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},rv.prototype.readInt8=function(e,t){return t||_v(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},rv.prototype.readInt16LE=function(e,t){t||_v(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},rv.prototype.readInt16BE=function(e,t){t||_v(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},rv.prototype.readInt32LE=function(e,t){return t||_v(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},rv.prototype.readInt32BE=function(e,t){return t||_v(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},rv.prototype.readFloatLE=function(e,t){return t||_v(e,4,this.length),Jg(this,e,!0,23,4)},rv.prototype.readFloatBE=function(e,t){return t||_v(e,4,this.length),Jg(this,e,!1,23,4)},rv.prototype.readDoubleLE=function(e,t){return t||_v(e,8,this.length),Jg(this,e,!0,52,8)},rv.prototype.readDoubleBE=function(e,t){return t||_v(e,8,this.length),Jg(this,e,!1,52,8)},rv.prototype.writeUIntLE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||Pv(this,e,t,n,Math.pow(2,8*n)-1,0);var i=1,o=0;for(this[t]=255&e;++o<n&&(i*=256);)this[t+o]=e/i&255;return t+n},rv.prototype.writeUIntBE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||Pv(this,e,t,n,Math.pow(2,8*n)-1,0);var i=n-1,o=1;for(this[t+i]=255&e;--i>=0&&(o*=256);)this[t+i]=e/o&255;return t+n},rv.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||Pv(this,e,t,1,255,0),rv.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},rv.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||Pv(this,e,t,2,65535,0),rv.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):Ov(this,e,t,!0),t+2},rv.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||Pv(this,e,t,2,65535,0),rv.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):Ov(this,e,t,!1),t+2},rv.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||Pv(this,e,t,4,4294967295,0),rv.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):Tv(this,e,t,!0),t+4},rv.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||Pv(this,e,t,4,4294967295,0),rv.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):Tv(this,e,t,!1),t+4},rv.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);Pv(this,e,t,n,i-1,-i)}var o=0,a=1,s=0;for(this[t]=255&e;++o<n&&(a*=256);)e<0&&0===s&&0!==this[t+o-1]&&(s=1),this[t+o]=(e/a|0)-s&255;return t+n},rv.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);Pv(this,e,t,n,i-1,-i)}var o=n-1,a=1,s=0;for(this[t+o]=255&e;--o>=0&&(a*=256);)e<0&&0===s&&0!==this[t+o+1]&&(s=1),this[t+o]=(e/a|0)-s&255;return t+n},rv.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||Pv(this,e,t,1,127,-128),rv.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},rv.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||Pv(this,e,t,2,32767,-32768),rv.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):Ov(this,e,t,!0),t+2},rv.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||Pv(this,e,t,2,32767,-32768),rv.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):Ov(this,e,t,!1),t+2},rv.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||Pv(this,e,t,4,2147483647,-2147483648),rv.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):Tv(this,e,t,!0),t+4},rv.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||Pv(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),rv.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):Tv(this,e,t,!1),t+4},rv.prototype.writeFloatLE=function(e,t,n){return jv(this,e,t,!0,n)},rv.prototype.writeFloatBE=function(e,t,n){return jv(this,e,t,!1,n)},rv.prototype.writeDoubleLE=function(e,t,n){return Bv(this,e,t,!0,n)},rv.prototype.writeDoubleBE=function(e,t,n){return Bv(this,e,t,!1,n)},rv.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);var i,o=r-n;if(this===e&&n<t&&t<r)for(i=o-1;i>=0;--i)e[i+t]=this[i+n];else if(o<1e3||!rv.TYPED_ARRAY_SUPPORT)for(i=0;i<o;++i)e[i+t]=this[i+n];else Uint8Array.prototype.set.call(e,this.subarray(n,n+o),t);return o},rv.prototype.fill=function(e,t,n,r){if("string"===typeof e){if("string"===typeof t?(r=t,t=0,n=this.length):"string"===typeof n&&(r=n,n=this.length),1===e.length){var i=e.charCodeAt(0);i<256&&(e=i)}if(void 0!==r&&"string"!==typeof r)throw new TypeError("encoding must be a string");if("string"===typeof r&&!rv.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else"number"===typeof e&&(e&=255);if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;var o;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"===typeof e)for(o=t;o<n;++o)this[o]=e;else{var a=cv(e)?e:Rv(new rv(e,r).toString()),s=a.length;for(o=0;o<n-t;++o)this[o+t]=a[o%s]}return this};var Nv=/[^+\/0-9A-Za-z-_]/g;function Mv(e){return e<16?"0"+e.toString(16):e.toString(16)}function Rv(e,t){var n;t=t||1/0;for(var r=e.length,i=null,o=[],a=0;a<r;++a){if((n=e.charCodeAt(a))>55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function Lv(e){return function(e){var t,n,r,i,o,a;Hg||Wg();var s=e.length;if(s%4>0)throw new Error("Invalid string. Length must be a multiple of 4");o="="===e[s-2]?2:"="===e[s-1]?1:0,a=new qg(3*s/4-o),r=o>0?s-4:s;var l=0;for(t=0,n=0;t<r;t+=4,n+=3)i=Gg[e.charCodeAt(t)]<<18|Gg[e.charCodeAt(t+1)]<<12|Gg[e.charCodeAt(t+2)]<<6|Gg[e.charCodeAt(t+3)],a[l++]=i>>16&255,a[l++]=i>>8&255,a[l++]=255&i;return 2===o?(i=Gg[e.charCodeAt(t)]<<2|Gg[e.charCodeAt(t+1)]>>4,a[l++]=255&i):1===o&&(i=Gg[e.charCodeAt(t)]<<10|Gg[e.charCodeAt(t+1)]<<4|Gg[e.charCodeAt(t+2)]>>2,a[l++]=i>>8&255,a[l++]=255&i),a}(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(Nv,"")).length<2)return"";for(;e.length%4!==0;)e+="=";return e}(e))}function Fv(e,t,n,r){for(var i=0;i<r&&!(i+n>=t.length||i>=e.length);++i)t[i+n]=e[i];return i}function zv(e){return null!=e&&(!!e._isBuffer||Qv(e)||function(e){return"function"===typeof e.readFloatLE&&"function"===typeof e.slice&&Qv(e.slice(0,0))}(e))}function Qv(e){return!!e.constructor&&"function"===typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}var Uv=Object.freeze({__proto__:null,Buffer:rv,INSPECT_MAX_BYTES:50,SlowBuffer:function(e){return+e!=e&&(e=0),rv.alloc(+e)},isBuffer:zv,kMaxLength:ev}),Vv="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof self?self:{};function Gv(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function qv(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var n=function e(){return this instanceof e?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach((function(t){var r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:function(){return e[t]}})})),n}var Hv={exports:{}},Wv={};function Yv(){throw new Error("setTimeout has not been defined")}function Kv(){throw new Error("clearTimeout has not been defined")}var Jv=Yv,Xv=Kv;function Zv(e){if(Jv===setTimeout)return setTimeout(e,0);if((Jv===Yv||!Jv)&&setTimeout)return Jv=setTimeout,setTimeout(e,0);try{return Jv(e,0)}catch(t){try{return Jv.call(null,e,0)}catch(t){return Jv.call(this,e,0)}}}"function"===typeof Ug.setTimeout&&(Jv=setTimeout),"function"===typeof Ug.clearTimeout&&(Xv=clearTimeout);var $v,ey=[],ty=!1,ny=-1;function ry(){ty&&$v&&(ty=!1,$v.length?ey=$v.concat(ey):ny=-1,ey.length&&iy())}function iy(){if(!ty){var e=Zv(ry);ty=!0;for(var t=ey.length;t;){for($v=ey,ey=[];++ny<t;)$v&&$v[ny].run();ny=-1,t=ey.length}$v=null,ty=!1,function(e){if(Xv===clearTimeout)return clearTimeout(e);if((Xv===Kv||!Xv)&&clearTimeout)return Xv=clearTimeout,clearTimeout(e);try{return Xv(e)}catch(t){try{return Xv.call(null,e)}catch(t){return Xv.call(this,e)}}}(e)}}function oy(e,t){this.fun=e,this.array=t}oy.prototype.run=function(){this.fun.apply(null,this.array)};function ay(){}var sy=ay,ly=ay,cy=ay,uy=ay,dy=ay,py=ay,hy=ay;var fy=Ug.performance||{},my=fy.now||fy.mozNow||fy.msNow||fy.oNow||fy.webkitNow||function(){return(new Date).getTime()};var gy=new Date;var vy={nextTick:function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];ey.push(new oy(e,t)),1!==ey.length||ty||Zv(iy)},title:"browser",browser:!0,env:{},argv:[],version:"",versions:{},on:sy,addListener:ly,once:cy,off:uy,removeListener:dy,removeAllListeners:py,emit:hy,binding:function(e){throw new Error("process.binding is not supported")},cwd:function(){return"/"},chdir:function(e){throw new Error("process.chdir is not supported")},umask:function(){return 0},hrtime:function(e){var t=.001*my.call(fy),n=Math.floor(t),r=Math.floor(t%1*1e9);return e&&(n-=e[0],(r-=e[1])<0&&(n--,r+=1e9)),[n,r]},platform:"browser",release:{},config:{},uptime:function(){return(new Date-gy)/1e3}};function yy(){}function Ay(){Ay.init.call(this)}function by(e){return void 0===e._maxListeners?Ay.defaultMaxListeners:e._maxListeners}function wy(e,t,n,r){var i,o,a;if("function"!==typeof n)throw new TypeError('"listener" argument must be a function');if((o=e._events)?(o.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),o=e._events),a=o[t]):(o=e._events=new yy,e._eventsCount=0),a){if("function"===typeof a?a=o[t]=r?[n,a]:[a,n]:r?a.unshift(n):a.push(n),!a.warned&&(i=by(e))&&i>0&&a.length>i){a.warned=!0;var s=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+t+" listeners added. Use emitter.setMaxListeners() to increase limit");s.name="MaxListenersExceededWarning",s.emitter=e,s.type=t,s.count=a.length,function(e){"function"===typeof console.warn?console.warn(e):console.log(e)}(s)}}else a=o[t]=n,++e._eventsCount;return e}function xy(e,t,n){var r=!1;function i(){e.removeListener(t,i),r||(r=!0,n.apply(e,arguments))}return i.listener=n,i}function Cy(e){var t=this._events;if(t){var n=t[e];if("function"===typeof n)return 1;if(n)return n.length}return 0}function Sy(e,t){for(var n=new Array(t);t--;)n[t]=e[t];return n}yy.prototype=Object.create(null),Ay.EventEmitter=Ay,Ay.usingDomains=!1,Ay.prototype.domain=void 0,Ay.prototype._events=void 0,Ay.prototype._maxListeners=void 0,Ay.defaultMaxListeners=10,Ay.init=function(){this.domain=null,Ay.usingDomains&&undefined.active,this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=new yy,this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},Ay.prototype.setMaxListeners=function(e){if("number"!==typeof e||e<0||isNaN(e))throw new TypeError('"n" argument must be a positive number');return this._maxListeners=e,this},Ay.prototype.getMaxListeners=function(){return by(this)},Ay.prototype.emit=function(e){var t,n,r,i,o,a,s,l="error"===e;if(a=this._events)l=l&&null==a.error;else if(!l)return!1;if(s=this.domain,l){if(t=arguments[1],!s){if(t instanceof Error)throw t;var c=new Error('Uncaught, unspecified "error" event. ('+t+")");throw c.context=t,c}return t||(t=new Error('Uncaught, unspecified "error" event')),t.domainEmitter=this,t.domain=s,t.domainThrown=!1,s.emit("error",t),!1}if(!(n=a[e]))return!1;var u="function"===typeof n;switch(r=arguments.length){case 1:!function(e,t,n){if(t)e.call(n);else for(var r=e.length,i=Sy(e,r),o=0;o<r;++o)i[o].call(n)}(n,u,this);break;case 2:!function(e,t,n,r){if(t)e.call(n,r);else for(var i=e.length,o=Sy(e,i),a=0;a<i;++a)o[a].call(n,r)}(n,u,this,arguments[1]);break;case 3:!function(e,t,n,r,i){if(t)e.call(n,r,i);else for(var o=e.length,a=Sy(e,o),s=0;s<o;++s)a[s].call(n,r,i)}(n,u,this,arguments[1],arguments[2]);break;case 4:!function(e,t,n,r,i,o){if(t)e.call(n,r,i,o);else for(var a=e.length,s=Sy(e,a),l=0;l<a;++l)s[l].call(n,r,i,o)}(n,u,this,arguments[1],arguments[2],arguments[3]);break;default:for(i=new Array(r-1),o=1;o<r;o++)i[o-1]=arguments[o];!function(e,t,n,r){if(t)e.apply(n,r);else for(var i=e.length,o=Sy(e,i),a=0;a<i;++a)o[a].apply(n,r)}(n,u,this,i)}return!0},Ay.prototype.addListener=function(e,t){return wy(this,e,t,!1)},Ay.prototype.on=Ay.prototype.addListener,Ay.prototype.prependListener=function(e,t){return wy(this,e,t,!0)},Ay.prototype.once=function(e,t){if("function"!==typeof t)throw new TypeError('"listener" argument must be a function');return this.on(e,xy(this,e,t)),this},Ay.prototype.prependOnceListener=function(e,t){if("function"!==typeof t)throw new TypeError('"listener" argument must be a function');return this.prependListener(e,xy(this,e,t)),this},Ay.prototype.removeListener=function(e,t){var n,r,i,o,a;if("function"!==typeof t)throw new TypeError('"listener" argument must be a function');if(!(r=this._events))return this;if(!(n=r[e]))return this;if(n===t||n.listener&&n.listener===t)0===--this._eventsCount?this._events=new yy:(delete r[e],r.removeListener&&this.emit("removeListener",e,n.listener||t));else if("function"!==typeof n){for(i=-1,o=n.length;o-- >0;)if(n[o]===t||n[o].listener&&n[o].listener===t){a=n[o].listener,i=o;break}if(i<0)return this;if(1===n.length){if(n[0]=void 0,0===--this._eventsCount)return this._events=new yy,this;delete r[e]}else!function(e,t){for(var n=t,r=n+1,i=e.length;r<i;n+=1,r+=1)e[n]=e[r];e.pop()}(n,i);r.removeListener&&this.emit("removeListener",e,a||t)}return this},Ay.prototype.off=function(e,t){return this.removeListener(e,t)},Ay.prototype.removeAllListeners=function(e){var t,n;if(!(n=this._events))return this;if(!n.removeListener)return 0===arguments.length?(this._events=new yy,this._eventsCount=0):n[e]&&(0===--this._eventsCount?this._events=new yy:delete n[e]),this;if(0===arguments.length){for(var r,i=Object.keys(n),o=0;o<i.length;++o)"removeListener"!==(r=i[o])&&this.removeAllListeners(r);return this.removeAllListeners("removeListener"),this._events=new yy,this._eventsCount=0,this}if("function"===typeof(t=n[e]))this.removeListener(e,t);else if(t)do{this.removeListener(e,t[t.length-1])}while(t[0]);return this},Ay.prototype.listeners=function(e){var t,n=this._events;return n&&(t=n[e])?"function"===typeof t?[t.listener||t]:function(e){for(var t=new Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}(t):[]},Ay.listenerCount=function(e,t){return"function"===typeof e.listenerCount?e.listenerCount(t):Cy.call(e,t)},Ay.prototype.listenerCount=Cy,Ay.prototype.eventNames=function(){return this._eventsCount>0?Reflect.ownKeys(this._events):[]};var ky=qv(Object.freeze({__proto__:null,EventEmitter:Ay,default:Ay})),Ey=ky.EventEmitter,Iy=qv(Uv),_y="function"===typeof Object.create?function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:function(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e},Py=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++)n[t[r]]=Object.getOwnPropertyDescriptor(e,t[r]);return n},Oy=/%[sdj%]/g;function Ty(e){if(!Wy(e)){for(var t=[],n=0;n<arguments.length;n++)t.push(My(arguments[n]));return t.join(" ")}n=1;for(var r=arguments,i=r.length,o=String(e).replace(Oy,(function(e){if("%%"===e)return"%";if(n>=i)return e;switch(e){case"%s":return String(r[n++]);case"%d":return Number(r[n++]);case"%j":try{return JSON.stringify(r[n++])}catch(t){return"[Circular]"}default:return e}})),a=r[n];n<i;a=r[++n])Gy(a)||!Xy(a)?o+=" "+a:o+=" "+My(a);return o}function Dy(e,t){if(Ky(Ug.process))return function(){return Dy(e,t).apply(this,arguments)};if(!0===vy.noDeprecation)return e;var n=!1;return function(){if(!n){if(vy.throwDeprecation)throw new Error(t);vy.traceDeprecation?console.trace(t):console.error(t),n=!0}return e.apply(this,arguments)}}var jy,By={};function Ny(e){if(Ky(jy)&&(jy=vy.env.NODE_DEBUG||""),e=e.toUpperCase(),!By[e])if(new RegExp("\\b"+e+"\\b","i").test(jy)){By[e]=function(){var t=Ty.apply(null,arguments);console.error("%s %d: %s",e,0,t)}}else By[e]=function(){};return By[e]}function My(e,t){var n={seen:[],stylize:Ly};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),Vy(t)?n.showHidden=t:t&&sA(n,t),Ky(n.showHidden)&&(n.showHidden=!1),Ky(n.depth)&&(n.depth=2),Ky(n.colors)&&(n.colors=!1),Ky(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=Ry),Fy(n,e,n.depth)}function Ry(e,t){var n=My.styles[t];return n?"\x1b["+My.colors[n][0]+"m"+e+"\x1b["+My.colors[n][1]+"m":e}function Ly(e,t){return e}function Fy(e,t,n){if(e.customInspect&&t&&eA(t.inspect)&&t.inspect!==My&&(!t.constructor||t.constructor.prototype!==t)){var r=t.inspect(n,e);return Wy(r)||(r=Fy(e,r,n)),r}var i=function(e,t){if(Ky(t))return e.stylize("undefined","undefined");if(Wy(t)){var n="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string")}if(Hy(t))return e.stylize(""+t,"number");if(Vy(t))return e.stylize(""+t,"boolean");if(Gy(t))return e.stylize("null","null")}(e,t);if(i)return i;var o=Object.keys(t),a=function(e){var t={};return e.forEach((function(e,n){t[e]=!0})),t}(o);if(e.showHidden&&(o=Object.getOwnPropertyNames(t)),$y(t)&&(o.indexOf("message")>=0||o.indexOf("description")>=0))return zy(t);if(0===o.length){if(eA(t)){var s=t.name?": "+t.name:"";return e.stylize("[Function"+s+"]","special")}if(Jy(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(Zy(t))return e.stylize(Date.prototype.toString.call(t),"date");if($y(t))return zy(t)}var l,c="",u=!1,d=["{","}"];(Uy(t)&&(u=!0,d=["[","]"]),eA(t))&&(c=" [Function"+(t.name?": "+t.name:"")+"]");return Jy(t)&&(c=" "+RegExp.prototype.toString.call(t)),Zy(t)&&(c=" "+Date.prototype.toUTCString.call(t)),$y(t)&&(c=" "+zy(t)),0!==o.length||u&&0!=t.length?n<0?Jy(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special"):(e.seen.push(t),l=u?function(e,t,n,r,i){for(var o=[],a=0,s=t.length;a<s;++a)lA(t,String(a))?o.push(Qy(e,t,n,r,String(a),!0)):o.push("");return i.forEach((function(i){i.match(/^\d+$/)||o.push(Qy(e,t,n,r,i,!0))})),o}(e,t,n,a,o):o.map((function(r){return Qy(e,t,n,a,r,u)})),e.seen.pop(),function(e,t,n){var r=e.reduce((function(e,t){return t.indexOf("\n"),e+t.replace(/\u001b\[\d\d?m/g,"").length+1}),0);if(r>60)return n[0]+(""===t?"":t+"\n ")+" "+e.join(",\n  ")+" "+n[1];return n[0]+t+" "+e.join(", ")+" "+n[1]}(l,c,d)):d[0]+c+d[1]}function zy(e){return"["+Error.prototype.toString.call(e)+"]"}function Qy(e,t,n,r,i,o){var a,s,l;if((l=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]}).get?s=l.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):l.set&&(s=e.stylize("[Setter]","special")),lA(r,i)||(a="["+i+"]"),s||(e.seen.indexOf(l.value)<0?(s=Gy(n)?Fy(e,l.value,null):Fy(e,l.value,n-1)).indexOf("\n")>-1&&(s=o?s.split("\n").map((function(e){return"  "+e})).join("\n").substr(2):"\n"+s.split("\n").map((function(e){return"   "+e})).join("\n")):s=e.stylize("[Circular]","special")),Ky(a)){if(o&&i.match(/^\d+$/))return s;(a=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=e.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=e.stylize(a,"string"))}return a+": "+s}function Uy(e){return Array.isArray(e)}function Vy(e){return"boolean"===typeof e}function Gy(e){return null===e}function qy(e){return null==e}function Hy(e){return"number"===typeof e}function Wy(e){return"string"===typeof e}function Yy(e){return"symbol"===typeof e}function Ky(e){return void 0===e}function Jy(e){return Xy(e)&&"[object RegExp]"===rA(e)}function Xy(e){return"object"===typeof e&&null!==e}function Zy(e){return Xy(e)&&"[object Date]"===rA(e)}function $y(e){return Xy(e)&&("[object Error]"===rA(e)||e instanceof Error)}function eA(e){return"function"===typeof e}function tA(e){return null===e||"boolean"===typeof e||"number"===typeof e||"string"===typeof e||"symbol"===typeof e||"undefined"===typeof e}function nA(e){return rv.isBuffer(e)}function rA(e){return Object.prototype.toString.call(e)}function iA(e){return e<10?"0"+e.toString(10):e.toString(10)}My.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},My.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};var oA=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function aA(){console.log("%s - %s",function(){var e=new Date,t=[iA(e.getHours()),iA(e.getMinutes()),iA(e.getSeconds())].join(":");return[e.getDate(),oA[e.getMonth()],t].join(" ")}(),Ty.apply(null,arguments))}function sA(e,t){if(!t||!Xy(t))return e;for(var n=Object.keys(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e}function lA(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var cA="undefined"!==typeof Symbol?Symbol("util.promisify.custom"):void 0;function uA(e){if("function"!==typeof e)throw new TypeError('The "original" argument must be of type Function');if(cA&&e[cA]){var t;if("function"!==typeof(t=e[cA]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,cA,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,n,r=new Promise((function(e,r){t=e,n=r})),i=[],o=0;o<arguments.length;o++)i.push(arguments[o]);i.push((function(e,r){e?n(e):t(r)}));try{e.apply(this,i)}catch(Ym){n(Ym)}return r}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),cA&&Object.defineProperty(t,cA,{value:t,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(t,Py(e))}function dA(e,t){if(!e){var n=new Error("Promise was rejected with a falsy value");n.reason=e,e=n}return t(e)}function pA(e){if("function"!==typeof e)throw new TypeError('The "original" argument must be of type Function');function t(){for(var t=[],n=0;n<arguments.length;n++)t.push(arguments[n]);var r=t.pop();if("function"!==typeof r)throw new TypeError("The last argument must be of type Function");var i=this,o=function(){return r.apply(i,arguments)};e.apply(this,t).then((function(e){vy.nextTick(o.bind(null,null,e))}),(function(e){vy.nextTick(dA.bind(null,e,o))}))}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),Object.defineProperties(t,Py(e)),t}uA.custom=cA;var hA,fA,mA={inherits:_y,_extend:sA,log:aA,isBuffer:nA,isPrimitive:tA,isFunction:eA,isError:$y,isDate:Zy,isObject:Xy,isRegExp:Jy,isUndefined:Ky,isSymbol:Yy,isString:Wy,isNumber:Hy,isNullOrUndefined:qy,isNull:Gy,isBoolean:Vy,isArray:Uy,inspect:My,deprecate:Dy,format:Ty,debuglog:Ny,promisify:uA,callbackify:pA},gA=qv(Object.freeze({__proto__:null,_extend:sA,callbackify:pA,debuglog:Ny,default:mA,deprecate:Dy,format:Ty,inherits:_y,inspect:My,isArray:Uy,isBoolean:Vy,isBuffer:nA,isDate:Zy,isError:$y,isFunction:eA,isNull:Gy,isNullOrUndefined:qy,isNumber:Hy,isObject:Xy,isPrimitive:tA,isRegExp:Jy,isString:Wy,isSymbol:Yy,isUndefined:Ky,log:aA,promisify:uA}));function vA(e,t){AA(e,t),yA(e)}function yA(e){e._writableState&&!e._writableState.emitClose||e._readableState&&!e._readableState.emitClose||e.emit("close")}function AA(e,t){e.emit("error",t)}var bA={destroy:function(e,t){var n=this,r=this._readableState&&this._readableState.destroyed,i=this._writableState&&this._writableState.destroyed;return r||i?(t?t(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,vy.nextTick(AA,this,e)):vy.nextTick(AA,this,e)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,(function(e){!t&&e?n._writableState?n._writableState.errorEmitted?vy.nextTick(yA,n):(n._writableState.errorEmitted=!0,vy.nextTick(vA,n,e)):vy.nextTick(vA,n,e):t?(vy.nextTick(yA,n),t(e)):vy.nextTick(yA,n)})),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function(e,t){var n=e._readableState,r=e._writableState;n&&n.autoDestroy||r&&r.autoDestroy?e.destroy(t):e.emit("error",t)}},wA={};var xA={};function CA(e,t,n){n||(n=Error);var r=function(e){var n,r;function i(n,r,i){return e.call(this,function(e,n,r){return"string"===typeof t?t:t(e,n,r)}(n,r,i))||this}return r=e,(n=i).prototype=Object.create(r.prototype),n.prototype.constructor=n,n.__proto__=r,i}(n);r.prototype.name=n.name,r.prototype.code=e,xA[e]=r}function SA(e,t){if(Array.isArray(e)){var n=e.length;return e=e.map((function(e){return String(e)})),n>2?"one of ".concat(t," ").concat(e.slice(0,n-1).join(", "),", or ")+e[n-1]:2===n?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}return"of ".concat(t," ").concat(String(e))}CA("ERR_INVALID_OPT_VALUE",(function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'}),TypeError),CA("ERR_INVALID_ARG_TYPE",(function(e,t,n){var r,i,o,a;if("string"===typeof t&&(i="not ",t.substr(!o||o<0?0:+o,i.length)===i)?(r="must not be",t=t.replace(/^not /,"")):r="must be",function(e,t,n){return(void 0===n||n>e.length)&&(n=e.length),e.substring(n-t.length,n)===t}(e," argument"))a="The ".concat(e," ").concat(r," ").concat(SA(t,"type"));else{var s=function(e,t,n){return"number"!==typeof n&&(n=0),!(n+t.length>e.length)&&-1!==e.indexOf(t,n)}(e,".")?"property":"argument";a='The "'.concat(e,'" ').concat(s," ").concat(r," ").concat(SA(t,"type"))}return a+=". Received type ".concat(typeof n)}),TypeError),CA("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),CA("ERR_METHOD_NOT_IMPLEMENTED",(function(e){return"The "+e+" method is not implemented"})),CA("ERR_STREAM_PREMATURE_CLOSE","Premature close"),CA("ERR_STREAM_DESTROYED",(function(e){return"Cannot call "+e+" after a stream was destroyed"})),CA("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),CA("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),CA("ERR_STREAM_WRITE_AFTER_END","write after end"),CA("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),CA("ERR_UNKNOWN_ENCODING",(function(e){return"Unknown encoding: "+e}),TypeError),CA("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),wA.codes=xA;var kA=wA.codes.ERR_INVALID_OPT_VALUE;var EA={getHighWaterMark:function(e,t,n,r){var i=function(e,t,n){return null!=e.highWaterMark?e.highWaterMark:t?e[n]:null}(t,r,n);if(null!=i){if(!isFinite(i)||Math.floor(i)!==i||i<0)throw new kA(r?n:"highWaterMark",i);return Math.floor(i)}return e.objectMode?16:16384}},IA="function"===typeof Object.create?function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:function(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e},_A=qv(Object.freeze({__proto__:null,default:IA})),PA=rv.isEncoding||function(e){switch(e&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function OA(e){switch(this.encoding=(e||"utf8").toLowerCase().replace(/[-_]/,""),function(e){if(e&&!PA(e))throw new Error("Unknown encoding: "+e)}(e),this.encoding){case"utf8":this.surrogateSize=3;break;case"ucs2":case"utf16le":this.surrogateSize=2,this.detectIncompleteChar=DA;break;case"base64":this.surrogateSize=3,this.detectIncompleteChar=jA;break;default:return void(this.write=TA)}this.charBuffer=new rv(6),this.charReceived=0,this.charLength=0}function TA(e){return e.toString(this.encoding)}function DA(e){this.charReceived=e.length%2,this.charLength=this.charReceived?2:0}function jA(e){this.charReceived=e.length%3,this.charLength=this.charReceived?3:0}OA.prototype.write=function(e){for(var t="";this.charLength;){var n=e.length>=this.charLength-this.charReceived?this.charLength-this.charReceived:e.length;if(e.copy(this.charBuffer,this.charReceived,0,n),this.charReceived+=n,this.charReceived<this.charLength)return"";if(e=e.slice(n,e.length),!((i=(t=this.charBuffer.slice(0,this.charLength).toString(this.encoding)).charCodeAt(t.length-1))>=55296&&i<=56319)){if(this.charReceived=this.charLength=0,0===e.length)return t;break}this.charLength+=this.surrogateSize,t=""}this.detectIncompleteChar(e);var r=e.length;this.charLength&&(e.copy(this.charBuffer,0,e.length-this.charReceived,r),r-=this.charReceived);var i;r=(t+=e.toString(this.encoding,0,r)).length-1;if((i=t.charCodeAt(r))>=55296&&i<=56319){var o=this.surrogateSize;return this.charLength+=o,this.charReceived+=o,this.charBuffer.copy(this.charBuffer,o,0,o),e.copy(this.charBuffer,0,0,o),t.substring(0,r)}return t},OA.prototype.detectIncompleteChar=function(e){for(var t=e.length>=3?3:e.length;t>0;t--){var n=e[e.length-t];if(1==t&&n>>5==6){this.charLength=2;break}if(t<=2&&n>>4==14){this.charLength=3;break}if(t<=3&&n>>3==30){this.charLength=4;break}}this.charReceived=t},OA.prototype.end=function(e){var t="";if(e&&e.length&&(t=this.write(e)),this.charReceived){var n=this.charReceived,r=this.charBuffer,i=this.encoding;t+=r.slice(0,n).toString(i)}return t};var BA=qv(Object.freeze({__proto__:null,StringDecoder:OA})),NA=wA.codes.ERR_STREAM_PREMATURE_CLOSE;function MA(){}var RA,LA,FA,zA,QA=function e(t,n,r){if("function"===typeof n)return e(t,null,n);n||(n={}),r=function(e){var t=!1;return function(){if(!t){t=!0;for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];e.apply(this,r)}}}(r||MA);var i=n.readable||!1!==n.readable&&t.readable,o=n.writable||!1!==n.writable&&t.writable,a=function(){t.writable||l()},s=t._writableState&&t._writableState.finished,l=function(){o=!1,s=!0,i||r.call(t)},c=t._readableState&&t._readableState.endEmitted,u=function(){i=!1,c=!0,o||r.call(t)},d=function(e){r.call(t,e)},p=function(){var e;return i&&!c?(t._readableState&&t._readableState.ended||(e=new NA),r.call(t,e)):o&&!s?(t._writableState&&t._writableState.ended||(e=new NA),r.call(t,e)):void 0},h=function(){t.req.on("finish",l)};return!function(e){return e.setHeader&&"function"===typeof e.abort}(t)?o&&!t._writableState&&(t.on("end",a),t.on("close",a)):(t.on("complete",l),t.on("abort",p),t.req?h():t.on("request",h)),t.on("end",u),t.on("finish",l),!1!==n.error&&t.on("error",d),t.on("close",p),function(){t.removeListener("complete",l),t.removeListener("abort",p),t.removeListener("request",h),t.req&&t.req.removeListener("finish",l),t.removeListener("end",a),t.removeListener("close",a),t.removeListener("finish",l),t.removeListener("end",u),t.removeListener("error",d),t.removeListener("close",p)}};function UA(){if(LA)return RA;var e;function t(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}LA=1;var n=QA,r=Symbol("lastResolve"),i=Symbol("lastReject"),o=Symbol("error"),a=Symbol("ended"),s=Symbol("lastPromise"),l=Symbol("handlePromise"),c=Symbol("stream");function u(e,t){return{value:e,done:t}}function d(e){var t=e[r];if(null!==t){var n=e[c].read();null!==n&&(e[s]=null,e[r]=null,e[i]=null,t(u(n,!1)))}}function p(e){vy.nextTick(d,e)}var h=Object.getPrototypeOf((function(){})),f=Object.setPrototypeOf((e={get stream(){return this[c]},next:function(){var e=this,t=this[o];if(null!==t)return Promise.reject(t);if(this[a])return Promise.resolve(u(void 0,!0));if(this[c].destroyed)return new Promise((function(t,n){vy.nextTick((function(){e[o]?n(e[o]):t(u(void 0,!0))}))}));var n,r=this[s];if(r)n=new Promise(function(e,t){return function(n,r){e.then((function(){t[a]?n(u(void 0,!0)):t[l](n,r)}),r)}}(r,this));else{var i=this[c].read();if(null!==i)return Promise.resolve(u(i,!1));n=new Promise(this[l])}return this[s]=n,n}},t(e,Symbol.asyncIterator,(function(){return this})),t(e,"return",(function(){var e=this;return new Promise((function(t,n){e[c].destroy(null,(function(e){e?n(e):t(u(void 0,!0))}))}))})),e),h);return RA=function(e){var d,h=Object.create(f,(t(d={},c,{value:e,writable:!0}),t(d,r,{value:null,writable:!0}),t(d,i,{value:null,writable:!0}),t(d,o,{value:null,writable:!0}),t(d,a,{value:e._readableState.endEmitted,writable:!0}),t(d,l,{value:function(e,t){var n=h[c].read();n?(h[s]=null,h[r]=null,h[i]=null,e(u(n,!1))):(h[r]=e,h[i]=t)},writable:!0}),d));return h[s]=null,n(e,(function(e){if(e&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code){var t=h[i];return null!==t&&(h[s]=null,h[r]=null,h[i]=null,t(e)),void(h[o]=e)}var n=h[r];null!==n&&(h[s]=null,h[r]=null,h[i]=null,n(u(void 0,!0))),h[a]=!0})),e.on("readable",p.bind(null,h)),h},RA}const VA=Wv;VA.Readable=ub,ub.ReadableState=cb,ky.EventEmitter;var GA=function(e,t){return e.listeners(t).length},qA=Ey,HA=Iy.Buffer,WA=Vv.Uint8Array||function(){};var YA,KA=gA;YA=KA&&KA.debuglog?KA.debuglog("stream"):function(){};var JA,XA,ZA,$A=function(){if(fA)return hA;function e(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function t(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}fA=1;var r=Iy.Buffer,i=gA.inspect,o=i&&i.custom||"inspect";function a(e,t,n){r.prototype.copy.call(e,t,n)}return hA=function(){function s(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),this.head=null,this.tail=null,this.length=0}var l,c,u;return l=s,c=[{key:"push",value:function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length}},{key:"unshift",value:function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}},{key:"shift",value:function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(e){if(0===this.length)return"";for(var t=this.head,n=""+t.data;t=t.next;)n+=e+t.data;return n}},{key:"concat",value:function(e){if(0===this.length)return r.alloc(0);for(var t=r.allocUnsafe(e>>>0),n=this.head,i=0;n;)a(n.data,t,i),i+=n.data.length,n=n.next;return t}},{key:"consume",value:function(e,t){var n;return e<this.head.data.length?(n=this.head.data.slice(0,e),this.head.data=this.head.data.slice(e)):n=e===this.head.data.length?this.shift():t?this._getString(e):this._getBuffer(e),n}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(e){var t=this.head,n=1,r=t.data;for(e-=r.length;t=t.next;){var i=t.data,o=e>i.length?i.length:e;if(o===i.length?r+=i:r+=i.slice(0,e),0===(e-=o)){o===i.length?(++n,t.next?this.head=t.next:this.head=this.tail=null):(this.head=t,t.data=i.slice(o));break}++n}return this.length-=n,r}},{key:"_getBuffer",value:function(e){var t=r.allocUnsafe(e),n=this.head,i=1;for(n.data.copy(t),e-=n.data.length;n=n.next;){var o=n.data,a=e>o.length?o.length:e;if(o.copy(t,t.length-e,0,a),0===(e-=a)){a===o.length?(++i,n.next?this.head=n.next:this.head=this.tail=null):(this.head=n,n.data=o.slice(a));break}++i}return this.length-=i,t}},{key:o,value:function(n,r){return i(this,function(n){for(var r=1;r<arguments.length;r++){var i=null!=arguments[r]?arguments[r]:{};r%2?e(Object(i),!0).forEach((function(e){t(n,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(i)):e(Object(i)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(i,e))}))}return n}({},r,{depth:0,customInspect:!1}))}}],c&&n(l.prototype,c),u&&n(l,u),s}(),hA}(),eb=bA,tb=EA.getHighWaterMark,nb=wA.codes,rb=nb.ERR_INVALID_ARG_TYPE,ib=nb.ERR_STREAM_PUSH_AFTER_EOF,ob=nb.ERR_METHOD_NOT_IMPLEMENTED,ab=nb.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;_A(ub,qA);var sb=eb.errorOrDestroy,lb=["error","close","destroy","pause","resume"];function cb(e,t,n){e=e||{},"boolean"!==typeof n&&(n=t instanceof VA.Duplex),this.objectMode=!!e.objectMode,n&&(this.objectMode=this.objectMode||!!e.readableObjectMode),this.highWaterMark=tb(this,e,"readableHighWaterMark",n),this.buffer=new $A,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(JA||(JA=BA.StringDecoder),this.decoder=new JA(e.encoding),this.encoding=e.encoding)}function ub(e){if(!(this instanceof ub))return new ub(e);var t=this instanceof VA.Duplex;this._readableState=new cb(e,this,t),this.readable=!0,e&&("function"===typeof e.read&&(this._read=e.read),"function"===typeof e.destroy&&(this._destroy=e.destroy)),qA.call(this)}function db(e,t,n,r,i){YA("readableAddChunk",t);var o,a=e._readableState;if(null===t)a.reading=!1,function(e,t){if(YA("onEofChunk"),t.ended)return;if(t.decoder){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,t.sync?mb(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,gb(e)))}(e,a);else if(i||(o=function(e,t){var n;r=t,HA.isBuffer(r)||r instanceof WA||"string"===typeof t||void 0===t||e.objectMode||(n=new rb("chunk",["string","Buffer","Uint8Array"],t));var r;return n}(a,t)),o)sb(e,o);else if(a.objectMode||t&&t.length>0)if("string"===typeof t||a.objectMode||Object.getPrototypeOf(t)===HA.prototype||(t=function(e){return HA.from(e)}(t)),r)a.endEmitted?sb(e,new ab):pb(e,a,t,!0);else if(a.ended)sb(e,new ib);else{if(a.destroyed)return!1;a.reading=!1,a.decoder&&!n?(t=a.decoder.write(t),a.objectMode||0!==t.length?pb(e,a,t,!1):vb(e,a)):pb(e,a,t,!1)}else r||(a.reading=!1,vb(e,a));return!a.ended&&(a.length<a.highWaterMark||0===a.length)}function pb(e,t,n,r){t.flowing&&0===t.length&&!t.sync?(t.awaitDrain=0,e.emit("data",n)):(t.length+=t.objectMode?1:n.length,r?t.buffer.unshift(n):t.buffer.push(n),t.needReadable&&mb(e)),vb(e,t)}Object.defineProperty(ub.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),ub.prototype.destroy=eb.destroy,ub.prototype._undestroy=eb.undestroy,ub.prototype._destroy=function(e,t){t(e)},ub.prototype.push=function(e,t){var n,r=this._readableState;return r.objectMode?n=!0:"string"===typeof e&&((t=t||r.defaultEncoding)!==r.encoding&&(e=HA.from(e,t),t=""),n=!0),db(this,e,t,!1,n)},ub.prototype.unshift=function(e){return db(this,e,null,!0,!1)},ub.prototype.isPaused=function(){return!1===this._readableState.flowing},ub.prototype.setEncoding=function(e){JA||(JA=BA.StringDecoder);var t=new JA(e);this._readableState.decoder=t,this._readableState.encoding=this._readableState.decoder.encoding;for(var n=this._readableState.buffer.head,r="";null!==n;)r+=t.write(n.data),n=n.next;return this._readableState.buffer.clear(),""!==r&&this._readableState.buffer.push(r),this._readableState.length=r.length,this};var hb=1073741824;function fb(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!==e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=function(e){return e>=hb?e=hb:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function mb(e){var t=e._readableState;YA("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(YA("emitReadable",t.flowing),t.emittedReadable=!0,vy.nextTick(gb,e))}function gb(e){var t=e._readableState;YA("emitReadable_",t.destroyed,t.length,t.ended),t.destroyed||!t.length&&!t.ended||(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,xb(e)}function vb(e,t){t.readingMore||(t.readingMore=!0,vy.nextTick(yb,e,t))}function yb(e,t){for(;!t.reading&&!t.ended&&(t.length<t.highWaterMark||t.flowing&&0===t.length);){var n=t.length;if(YA("maybeReadMore read 0"),e.read(0),n===t.length)break}t.readingMore=!1}function Ab(e){var t=e._readableState;t.readableListening=e.listenerCount("readable")>0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function bb(e){YA("readable nexttick read 0"),e.read(0)}function wb(e,t){YA("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),xb(e),t.flowing&&!t.reading&&e.read(0)}function xb(e){var t=e._readableState;for(YA("flow",t.flowing);t.flowing&&null!==e.read(););}function Cb(e,t){return 0===t.length?null:(t.objectMode?n=t.buffer.shift():!e||e>=t.length?(n=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):n=t.buffer.consume(e,t.decoder),n);var n}function Sb(e){var t=e._readableState;YA("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,vy.nextTick(kb,t,e))}function kb(e,t){if(YA("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var n=t._writableState;(!n||n.autoDestroy&&n.finished)&&t.destroy()}}function Eb(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}ub.prototype.read=function(e){YA("read",e),e=parseInt(e,10);var t=this._readableState,n=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&((0!==t.highWaterMark?t.length>=t.highWaterMark:t.length>0)||t.ended))return YA("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?Sb(this):mb(this),null;if(0===(e=fb(e,t))&&t.ended)return 0===t.length&&Sb(this),null;var r,i=t.needReadable;return YA("need readable",i),(0===t.length||t.length-e<t.highWaterMark)&&YA("length less than watermark",i=!0),t.ended||t.reading?YA("reading or ended",i=!1):i&&(YA("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=fb(n,t))),null===(r=e>0?Cb(e,t):null)?(t.needReadable=t.length<=t.highWaterMark,e=0):(t.length-=e,t.awaitDrain=0),0===t.length&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&Sb(this)),null!==r&&this.emit("data",r),r},ub.prototype._read=function(e){sb(this,new ob("_read()"))},ub.prototype.pipe=function(e,t){var n=this,r=this._readableState;switch(r.pipesCount){case 0:r.pipes=e;break;case 1:r.pipes=[r.pipes,e];break;default:r.pipes.push(e)}r.pipesCount+=1,YA("pipe count=%d opts=%j",r.pipesCount,t);var i=(!t||!1!==t.end)&&e!==vy.stdout&&e!==vy.stderr?a:h;function o(t,i){YA("onunpipe"),t===n&&i&&!1===i.hasUnpiped&&(i.hasUnpiped=!0,YA("cleanup"),e.removeListener("close",d),e.removeListener("finish",p),e.removeListener("drain",s),e.removeListener("error",u),e.removeListener("unpipe",o),n.removeListener("end",a),n.removeListener("end",h),n.removeListener("data",c),l=!0,!r.awaitDrain||e._writableState&&!e._writableState.needDrain||s())}function a(){YA("onend"),e.end()}r.endEmitted?vy.nextTick(i):n.once("end",i),e.on("unpipe",o);var s=function(e){return function(){var t=e._readableState;YA("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&GA(e,"data")&&(t.flowing=!0,xb(e))}}(n);e.on("drain",s);var l=!1;function c(t){YA("ondata");var i=e.write(t);YA("dest.write",i),!1===i&&((1===r.pipesCount&&r.pipes===e||r.pipesCount>1&&-1!==Eb(r.pipes,e))&&!l&&(YA("false write response, pause",r.awaitDrain),r.awaitDrain++),n.pause())}function u(t){YA("onerror",t),h(),e.removeListener("error",u),0===GA(e,"error")&&sb(e,t)}function d(){e.removeListener("finish",p),h()}function p(){YA("onfinish"),e.removeListener("close",d),h()}function h(){YA("unpipe"),n.unpipe(e)}return n.on("data",c),function(e,t,n){if("function"===typeof e.prependListener)return e.prependListener(t,n);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n)}(e,"error",u),e.once("close",d),e.once("finish",p),e.emit("pipe",n),r.flowing||(YA("pipe resume"),n.resume()),e},ub.prototype.unpipe=function(e){var t=this._readableState,n={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,n)),this;if(!e){var r=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o<i;o++)r[o].emit("unpipe",this,{hasUnpiped:!1});return this}var a=Eb(t.pipes,e);return-1===a||(t.pipes.splice(a,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,n)),this},ub.prototype.on=function(e,t){var n=qA.prototype.on.call(this,e,t),r=this._readableState;return"data"===e?(r.readableListening=this.listenerCount("readable")>0,!1!==r.flowing&&this.resume()):"readable"===e&&(r.endEmitted||r.readableListening||(r.readableListening=r.needReadable=!0,r.flowing=!1,r.emittedReadable=!1,YA("on readable",r.length,r.reading),r.length?mb(this):r.reading||vy.nextTick(bb,this))),n},ub.prototype.addListener=ub.prototype.on,ub.prototype.removeListener=function(e,t){var n=qA.prototype.removeListener.call(this,e,t);return"readable"===e&&vy.nextTick(Ab,this),n},ub.prototype.removeAllListeners=function(e){var t=qA.prototype.removeAllListeners.apply(this,arguments);return"readable"!==e&&void 0!==e||vy.nextTick(Ab,this),t},ub.prototype.resume=function(){var e=this._readableState;return e.flowing||(YA("resume"),e.flowing=!e.readableListening,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,vy.nextTick(wb,e,t))}(this,e)),e.paused=!1,this},ub.prototype.pause=function(){return YA("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(YA("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},ub.prototype.wrap=function(e){var t=this,n=this._readableState,r=!1;for(var i in e.on("end",(function(){if(YA("wrapped end"),n.decoder&&!n.ended){var e=n.decoder.end();e&&e.length&&t.push(e)}t.push(null)})),e.on("data",(function(i){(YA("wrapped data"),n.decoder&&(i=n.decoder.write(i)),!n.objectMode||null!==i&&void 0!==i)&&((n.objectMode||i&&i.length)&&(t.push(i)||(r=!0,e.pause())))})),e)void 0===this[i]&&"function"===typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));for(var o=0;o<lb.length;o++)e.on(lb[o],this.emit.bind(this,lb[o]));return this._read=function(t){YA("wrapped _read",t),r&&(r=!1,e.resume())},this},"function"===typeof Symbol&&(ub.prototype[Symbol.asyncIterator]=function(){return void 0===XA&&(XA=UA()),XA(this)}),Object.defineProperty(ub.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(ub.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(ub.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(e){this._readableState&&(this._readableState.flowing=e)}}),ub._fromList=Cb,Object.defineProperty(ub.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"===typeof Symbol&&(ub.from=function(e,t){return void 0===ZA&&(ZA=zA?FA:(zA=1,FA=function(){throw new Error("Readable.from is not available in the browser")})),ZA(ub,e,t)});var Ib=function(e,t){if(_b("noDeprecation"))return e;var n=!1;return function(){if(!n){if(_b("throwDeprecation"))throw new Error(t);_b("traceDeprecation")?console.trace(t):console.warn(t),n=!0}return e.apply(this,arguments)}};function _b(e){try{if(!Vv.localStorage)return!1}catch(n){return!1}var t=Vv.localStorage[e];return null!=t&&"true"===String(t).toLowerCase()}const Pb=Wv;function Ob(e){var t=this;this.next=null,this.entry=null,this.finish=function(){!function(e,t,n){var r=e.entry;e.entry=null;for(;r;){var i=r.callback;t.pendingcb--,i(n),r=r.next}t.corkedRequestsFree.next=e}(t,e)}}Pb.Writable=Jb,Jb.WritableState=Kb;var Tb={deprecate:Ib},Db=Ey,jb=Iy.Buffer,Bb=Vv.Uint8Array||function(){};var Nb,Mb=bA,Rb=EA.getHighWaterMark,Lb=wA.codes,Fb=Lb.ERR_INVALID_ARG_TYPE,zb=Lb.ERR_METHOD_NOT_IMPLEMENTED,Qb=Lb.ERR_MULTIPLE_CALLBACK,Ub=Lb.ERR_STREAM_CANNOT_PIPE,Vb=Lb.ERR_STREAM_DESTROYED,Gb=Lb.ERR_STREAM_NULL_VALUES,qb=Lb.ERR_STREAM_WRITE_AFTER_END,Hb=Lb.ERR_UNKNOWN_ENCODING,Wb=Mb.errorOrDestroy;function Yb(){}function Kb(e,t,n){e=e||{},"boolean"!==typeof n&&(n=t instanceof Pb.Duplex),this.objectMode=!!e.objectMode,n&&(this.objectMode=this.objectMode||!!e.writableObjectMode),this.highWaterMark=Rb(this,e,"writableHighWaterMark",n),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var r=!1===e.decodeStrings;this.decodeStrings=!r,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var n=e._writableState,r=n.sync,i=n.writecb;if("function"!==typeof i)throw new Qb;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(n),t)!function(e,t,n,r,i){--t.pendingcb,n?(vy.nextTick(i,r),vy.nextTick(nw,e,t),e._writableState.errorEmitted=!0,Wb(e,r)):(i(r),e._writableState.errorEmitted=!0,Wb(e,r),nw(e,t))}(e,n,r,t,i);else{var o=ew(n)||e.destroyed;o||n.corked||n.bufferProcessing||!n.bufferedRequest||$b(e,n),r?vy.nextTick(Zb,e,n,o,i):Zb(e,n,o,i)}}(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new Ob(this)}function Jb(e){var t=this instanceof Pb.Duplex;if(!t&&!Nb.call(Jb,this))return new Jb(e);this._writableState=new Kb(e,this,t),this.writable=!0,e&&("function"===typeof e.write&&(this._write=e.write),"function"===typeof e.writev&&(this._writev=e.writev),"function"===typeof e.destroy&&(this._destroy=e.destroy),"function"===typeof e.final&&(this._final=e.final)),Db.call(this)}function Xb(e,t,n,r,i,o,a){t.writelen=r,t.writecb=a,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new Vb("write")):n?e._writev(i,t.onwrite):e._write(i,o,t.onwrite),t.sync=!1}function Zb(e,t,n,r){n||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,r(),nw(e,t)}function $b(e,t){t.bufferProcessing=!0;var n=t.bufferedRequest;if(e._writev&&n&&n.next){var r=t.bufferedRequestCount,i=new Array(r),o=t.corkedRequestsFree;o.entry=n;for(var a=0,s=!0;n;)i[a]=n,n.isBuf||(s=!1),n=n.next,a+=1;i.allBuffers=s,Xb(e,t,!0,t.length,i,"",o.finish),t.pendingcb++,t.lastBufferedRequest=null,o.next?(t.corkedRequestsFree=o.next,o.next=null):t.corkedRequestsFree=new Ob(t),t.bufferedRequestCount=0}else{for(;n;){var l=n.chunk,c=n.encoding,u=n.callback;if(Xb(e,t,!1,t.objectMode?1:l.length,l,c,u),n=n.next,t.bufferedRequestCount--,t.writing)break}null===n&&(t.lastBufferedRequest=null)}t.bufferedRequest=n,t.bufferProcessing=!1}function ew(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function tw(e,t){e._final((function(n){t.pendingcb--,n&&Wb(e,n),t.prefinished=!0,e.emit("prefinish"),nw(e,t)}))}function nw(e,t){var n=ew(t);if(n&&(function(e,t){t.prefinished||t.finalCalled||("function"!==typeof e._final||t.destroyed?(t.prefinished=!0,e.emit("prefinish")):(t.pendingcb++,t.finalCalled=!0,vy.nextTick(tw,e,t)))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"),t.autoDestroy))){var r=e._readableState;(!r||r.autoDestroy&&r.endEmitted)&&e.destroy()}return n}_A(Jb,Db),Kb.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(Kb.prototype,"buffer",{get:Tb.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"===typeof Symbol&&Symbol.hasInstance&&"function"===typeof Function.prototype[Symbol.hasInstance]?(Nb=Function.prototype[Symbol.hasInstance],Object.defineProperty(Jb,Symbol.hasInstance,{value:function(e){return!!Nb.call(this,e)||this===Jb&&(e&&e._writableState instanceof Kb)}})):Nb=function(e){return e instanceof this},Jb.prototype.pipe=function(){Wb(this,new Ub)},Jb.prototype.write=function(e,t,n){var r,i=this._writableState,o=!1,a=!i.objectMode&&(r=e,jb.isBuffer(r)||r instanceof Bb);return a&&!jb.isBuffer(e)&&(e=function(e){return jb.from(e)}(e)),"function"===typeof t&&(n=t,t=null),a?t="buffer":t||(t=i.defaultEncoding),"function"!==typeof n&&(n=Yb),i.ending?function(e,t){var n=new qb;Wb(e,n),vy.nextTick(t,n)}(this,n):(a||function(e,t,n,r){var i;return null===n?i=new Gb:"string"===typeof n||t.objectMode||(i=new Fb("chunk",["string","Buffer"],n)),!i||(Wb(e,i),vy.nextTick(r,i),!1)}(this,i,e,n))&&(i.pendingcb++,o=function(e,t,n,r,i,o){if(!n){var a=function(e,t,n){e.objectMode||!1===e.decodeStrings||"string"!==typeof t||(t=jb.from(t,n));return t}(t,r,i);r!==a&&(n=!0,i="buffer",r=a)}var s=t.objectMode?1:r.length;t.length+=s;var l=t.length<t.highWaterMark;l||(t.needDrain=!0);if(t.writing||t.corked){var c=t.lastBufferedRequest;t.lastBufferedRequest={chunk:r,encoding:i,isBuf:n,callback:o,next:null},c?c.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else Xb(e,t,!1,s,r,i,o);return l}(this,i,a,e,t,n)),o},Jb.prototype.cork=function(){this._writableState.corked++},Jb.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.bufferProcessing||!e.bufferedRequest||$b(this,e))},Jb.prototype.setDefaultEncoding=function(e){if("string"===typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new Hb(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(Jb.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(Jb.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Jb.prototype._write=function(e,t,n){n(new zb("_write()"))},Jb.prototype._writev=null,Jb.prototype.end=function(e,t,n){var r=this._writableState;return"function"===typeof e?(n=e,e=null,t=null):"function"===typeof t&&(n=t,t=null),null!==e&&void 0!==e&&this.write(e,t),r.corked&&(r.corked=1,this.uncork()),r.ending||function(e,t,n){t.ending=!0,nw(e,t),n&&(t.finished?vy.nextTick(n):e.once("finish",n));t.ended=!0,e.writable=!1}(this,r,n),this},Object.defineProperty(Jb.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(Jb.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),Jb.prototype.destroy=Mb.destroy,Jb.prototype._undestroy=Mb.undestroy,Jb.prototype._destroy=function(e,t){t(e)};var rw=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};const iw=Wv;iw.Duplex=lw,_A(lw,iw.Readable);for(var ow=rw(iw.Writable.prototype),aw=0;aw<ow.length;aw++){var sw=ow[aw];lw.prototype[sw]||(lw.prototype[sw]=iw.Writable.prototype[sw])}function lw(e){if(!(this instanceof lw))return new lw(e);iw.Readable.call(this,e),iw.Writable.call(this,e),this.allowHalfOpen=!0,e&&(!1===e.readable&&(this.readable=!1),!1===e.writable&&(this.writable=!1),!1===e.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",cw)))}function cw(){this._writableState.ended||vy.nextTick(uw,this)}function uw(e){e.end()}Object.defineProperty(lw.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(lw.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(lw.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(lw.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(e){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}});const dw=Wv;dw.Transform=yw;var pw=wA.codes,hw=pw.ERR_METHOD_NOT_IMPLEMENTED,fw=pw.ERR_MULTIPLE_CALLBACK,mw=pw.ERR_TRANSFORM_ALREADY_TRANSFORMING,gw=pw.ERR_TRANSFORM_WITH_LENGTH_0;function vw(e,t){var n=this._transformState;n.transforming=!1;var r=n.writecb;if(null===r)return this.emit("error",new fw);n.writechunk=null,n.writecb=null,null!=t&&this.push(t),r(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function yw(e){if(!(this instanceof yw))return new yw(e);dw.Duplex.call(this,e),this._transformState={afterTransform:vw.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"===typeof e.transform&&(this._transform=e.transform),"function"===typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",Aw)}function Aw(){var e=this;"function"!==typeof this._flush||this._readableState.destroyed?bw(this,null,null):this._flush((function(t,n){bw(e,t,n)}))}function bw(e,t,n){if(t)return e.emit("error",t);if(null!=n&&e.push(n),e._writableState.length)throw new gw;if(e._transformState.transforming)throw new mw;return e.push(null)}_A(yw,dw.Duplex),yw.prototype.push=function(e,t){return this._transformState.needTransform=!1,dw.Duplex.prototype.push.call(this,e,t)},yw.prototype._transform=function(e,t,n){n(new hw("_transform()"))},yw.prototype._write=function(e,t,n){var r=this._transformState;if(r.writecb=n,r.writechunk=e,r.writeencoding=t,!r.transforming){var i=this._readableState;(r.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},yw.prototype._read=function(e){var t=this._transformState;null===t.writechunk||t.transforming?t.needTransform=!0:(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform))},yw.prototype._destroy=function(e,t){dw.Duplex.prototype._destroy.call(this,e,(function(e){t(e)}))};const ww=Wv;function xw(e){if(!(this instanceof xw))return new xw(e);Transform.call(this,e)}var Cw;ww.PassThrough=xw,_A(xw,ww.Transform),xw.prototype._transform=function(e,t,n){n(null,e)};var Sw=wA.codes,kw=Sw.ERR_MISSING_ARGS,Ew=Sw.ERR_STREAM_DESTROYED;function Iw(e){if(e)throw e}function _w(e){e()}function Pw(e,t){return e.pipe(t)}var Ow=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r,i=function(e){return e.length?"function"!==typeof e[e.length-1]?Iw:e.pop():Iw}(t);if(Array.isArray(t[0])&&(t=t[0]),t.length<2)throw new kw("streams");var o=t.map((function(e,n){var a=n<t.length-1;return function(e,t,n,r){r=function(e){var t=!1;return function(){t||(t=!0,e.apply(void 0,arguments))}}(r);var i=!1;e.on("close",(function(){i=!0})),void 0===Cw&&(Cw=QA),Cw(e,{readable:t,writable:n},(function(e){if(e)return r(e);i=!0,r()}));var o=!1;return function(t){if(!i&&!o)return o=!0,function(e){return e.setHeader&&"function"===typeof e.abort}(e)?e.abort():"function"===typeof e.destroy?e.destroy():void r(t||new Ew("pipe"))}}(e,a,n>0,(function(e){r||(r=e),e&&o.forEach(_w),a||(o.forEach(_w),i(r))}))}));return t.reduce(Pw)};!function(e,t){const n=Wv;(t=e.exports=n.Readable).Stream=n.Readable,t.Readable=n.Readable,t.Writable=n.Writable,t.Duplex=n.Duplex,t.Transform=n.Transform,t.PassThrough=n.PassThrough,t.finished=QA,t.pipeline=Ow}(Hv,Hv.exports);var Tw=Hv.exports,Dw=Gv(Tw),jw={},Bw={};function Nw(e,t){if(e===t)return 0;for(var n=e.length,r=t.length,i=0,o=Math.min(n,r);i<o;++i)if(e[i]!==t[i]){n=e[i],r=t[i];break}return n<r?-1:r<n?1:0}var Mw,Rw=Object.prototype.hasOwnProperty,Lw=Object.keys||function(e){var t=[];for(var n in e)Rw.call(e,n)&&t.push(n);return t},Fw=Array.prototype.slice;function zw(){return"undefined"!==typeof Mw?Mw:Mw="foo"===function(){}.name}function Qw(e){return Object.prototype.toString.call(e)}function Uw(e){return!zv(e)&&("function"===typeof Ug.ArrayBuffer&&("function"===typeof ArrayBuffer.isView?ArrayBuffer.isView(e):!!e&&(e instanceof DataView||!!(e.buffer&&e.buffer instanceof ArrayBuffer))))}function Vw(e,t){e||Kw(e,!0,t,"==",Jw)}var Gw=/\s*function\s+([^\(\s]*)\s*/;function qw(e){if(eA(e)){if(zw())return e.name;var t=e.toString().match(Gw);return t&&t[1]}}function Hw(e){this.name="AssertionError",this.actual=e.actual,this.expected=e.expected,this.operator=e.operator,e.message?(this.message=e.message,this.generatedMessage=!1):(this.message=function(e){return Ww(Yw(e.actual),128)+" "+e.operator+" "+Ww(Yw(e.expected),128)}(this),this.generatedMessage=!0);var t=e.stackStartFunction||Kw;if(Error.captureStackTrace)Error.captureStackTrace(this,t);else{var n=new Error;if(n.stack){var r=n.stack,i=qw(t),o=r.indexOf("\n"+i);if(o>=0){var a=r.indexOf("\n",o+1);r=r.substring(a+1)}this.stack=r}}}function Ww(e,t){return"string"===typeof e?e.length<t?e:e.slice(0,t):e}function Yw(e){if(zw()||!eA(e))return My(e);var t=qw(e);return"[Function"+(t?": "+t:"")+"]"}function Kw(e,t,n,r,i){throw new Hw({message:n,actual:e,expected:t,operator:r,stackStartFunction:i})}function Jw(e,t){e||Kw(e,!0,t,"==",Jw)}function Xw(e,t,n){e!=t&&Kw(e,t,n,"==",Xw)}function Zw(e,t,n){e==t&&Kw(e,t,n,"!=",Zw)}function $w(e,t,n){tx(e,t,!1)||Kw(e,t,n,"deepEqual",$w)}function ex(e,t,n){tx(e,t,!0)||Kw(e,t,n,"deepStrictEqual",ex)}function tx(e,t,n,r){if(e===t)return!0;if(zv(e)&&zv(t))return 0===Nw(e,t);if(Zy(e)&&Zy(t))return e.getTime()===t.getTime();if(Jy(e)&&Jy(t))return e.source===t.source&&e.global===t.global&&e.multiline===t.multiline&&e.lastIndex===t.lastIndex&&e.ignoreCase===t.ignoreCase;if(null!==e&&"object"===typeof e||null!==t&&"object"===typeof t){if(Uw(e)&&Uw(t)&&Qw(e)===Qw(t)&&!(e instanceof Float32Array||e instanceof Float64Array))return 0===Nw(new Uint8Array(e.buffer),new Uint8Array(t.buffer));if(zv(e)!==zv(t))return!1;var i=(r=r||{actual:[],expected:[]}).actual.indexOf(e);return-1!==i&&i===r.expected.indexOf(t)||(r.actual.push(e),r.expected.push(t),function(e,t,n,r){if(null===e||void 0===e||null===t||void 0===t)return!1;if(tA(e)||tA(t))return e===t;if(n&&Object.getPrototypeOf(e)!==Object.getPrototypeOf(t))return!1;var i=nx(e),o=nx(t);if(i&&!o||!i&&o)return!1;if(i)return tx(e=Fw.call(e),t=Fw.call(t),n);var a,s,l=Lw(e),c=Lw(t);if(l.length!==c.length)return!1;for(l.sort(),c.sort(),s=l.length-1;s>=0;s--)if(l[s]!==c[s])return!1;for(s=l.length-1;s>=0;s--)if(!tx(e[a=l[s]],t[a],n,r))return!1;return!0}(e,t,n,r))}return n?e===t:e==t}function nx(e){return"[object Arguments]"==Object.prototype.toString.call(e)}function rx(e,t,n){tx(e,t,!1)&&Kw(e,t,n,"notDeepEqual",rx)}function ix(e,t,n){tx(e,t,!0)&&Kw(e,t,n,"notDeepStrictEqual",ix)}function ox(e,t,n){e!==t&&Kw(e,t,n,"===",ox)}function ax(e,t,n){e===t&&Kw(e,t,n,"!==",ax)}function sx(e,t){if(!e||!t)return!1;if("[object RegExp]"==Object.prototype.toString.call(t))return t.test(e);try{if(e instanceof t)return!0}catch(n){}return!Error.isPrototypeOf(t)&&!0===t.call({},e)}function lx(e,t,n,r){var i;if("function"!==typeof t)throw new TypeError('"block" argument must be a function');"string"===typeof n&&(r=n,n=null),i=function(e){var t;try{e()}catch(n){t=n}return t}(t),r=(n&&n.name?" ("+n.name+").":".")+(r?" "+r:"."),e&&!i&&Kw(i,n,"Missing expected exception"+r);var o="string"===typeof r,a=!e&&i&&!n;if((!e&&$y(i)&&o&&sx(i,n)||a)&&Kw(i,n,"Got unwanted exception"+r),e&&i&&n&&!sx(i,n)||!e&&i)throw i}function cx(e,t,n){lx(!0,e,t,n)}function ux(e,t,n){lx(!1,e,t,n)}function dx(e){if(e)throw e}Vw.AssertionError=Hw,_y(Hw,Error),Vw.fail=Kw,Vw.ok=Jw,Vw.equal=Xw,Vw.notEqual=Zw,Vw.deepEqual=$w,Vw.deepStrictEqual=ex,Vw.notDeepEqual=rx,Vw.notDeepStrictEqual=ix,Vw.strictEqual=ox,Vw.notStrictEqual=ax,Vw.throws=cx,Vw.doesNotThrow=ux,Vw.ifError=dx;var px=qv(Object.freeze({__proto__:null,AssertionError:Hw,assert:Jw,deepEqual:$w,deepStrictEqual:ex,default:Vw,doesNotThrow:ux,equal:Xw,fail:Kw,ifError:dx,notDeepEqual:rx,notDeepStrictEqual:ix,notEqual:Zw,notStrictEqual:ax,ok:Jw,strictEqual:ox,throws:cx}));!function(e){var t=px,n=fu,r=mu,i=gu,o=vu;for(var a in o)e[a]=o[a];e.NONE=0,e.DEFLATE=1,e.INFLATE=2,e.GZIP=3,e.GUNZIP=4,e.DEFLATERAW=5,e.INFLATERAW=6,e.UNZIP=7;function s(t){if("number"!==typeof t||t<e.DEFLATE||t>e.UNZIP)throw new TypeError("Bad argument");this.dictionary=null,this.err=0,this.flush=0,this.init_done=!1,this.level=0,this.memLevel=0,this.mode=t,this.strategy=0,this.windowBits=0,this.write_in_progress=!1,this.pending_close=!1,this.gzip_id_bytes_read=0}s.prototype.close=function(){this.write_in_progress?this.pending_close=!0:(this.pending_close=!1,t(this.init_done,"close before init"),t(this.mode<=e.UNZIP),this.mode===e.DEFLATE||this.mode===e.GZIP||this.mode===e.DEFLATERAW?r.deflateEnd(this.strm):this.mode!==e.INFLATE&&this.mode!==e.GUNZIP&&this.mode!==e.INFLATERAW&&this.mode!==e.UNZIP||i.inflateEnd(this.strm),this.mode=e.NONE,this.dictionary=null)},s.prototype.write=function(e,t,n,r,i,o,a){return this._write(!0,e,t,n,r,i,o,a)},s.prototype.writeSync=function(e,t,n,r,i,o,a){return this._write(!1,e,t,n,r,i,o,a)},s.prototype._write=function(n,r,i,o,a,s,l,c){if(t.equal(arguments.length,8),t(this.init_done,"write before init"),t(this.mode!==e.NONE,"already finalized"),t.equal(!1,this.write_in_progress,"write already in progress"),t.equal(!1,this.pending_close,"close is pending"),this.write_in_progress=!0,t.equal(!1,void 0===r,"must provide flush value"),this.write_in_progress=!0,r!==e.Z_NO_FLUSH&&r!==e.Z_PARTIAL_FLUSH&&r!==e.Z_SYNC_FLUSH&&r!==e.Z_FULL_FLUSH&&r!==e.Z_FINISH&&r!==e.Z_BLOCK)throw new Error("Invalid flush value");if(null==i&&(i=rv.alloc(0),a=0,o=0),this.strm.avail_in=a,this.strm.input=i,this.strm.next_in=o,this.strm.avail_out=c,this.strm.output=s,this.strm.next_out=l,this.flush=r,!n)return this._process(),this._checkError()?this._afterSync():void 0;var u=this;return vy.nextTick((function(){u._process(),u._after()})),this},s.prototype._afterSync=function(){var e=this.strm.avail_out,t=this.strm.avail_in;return this.write_in_progress=!1,[t,e]},s.prototype._process=function(){var t=null;switch(this.mode){case e.DEFLATE:case e.GZIP:case e.DEFLATERAW:this.err=r.deflate(this.strm,this.flush);break;case e.UNZIP:switch(this.strm.avail_in>0&&(t=this.strm.next_in),this.gzip_id_bytes_read){case 0:if(null===t)break;if(31!==this.strm.input[t]){this.mode=e.INFLATE;break}if(this.gzip_id_bytes_read=1,t++,1===this.strm.avail_in)break;case 1:if(null===t)break;139===this.strm.input[t]?(this.gzip_id_bytes_read=2,this.mode=e.GUNZIP):this.mode=e.INFLATE;break;default:throw new Error("invalid number of gzip magic number bytes read")}case e.INFLATE:case e.GUNZIP:case e.INFLATERAW:for(this.err=i.inflate(this.strm,this.flush),this.err===e.Z_NEED_DICT&&this.dictionary&&(this.err=i.inflateSetDictionary(this.strm,this.dictionary),this.err===e.Z_OK?this.err=i.inflate(this.strm,this.flush):this.err===e.Z_DATA_ERROR&&(this.err=e.Z_NEED_DICT));this.strm.avail_in>0&&this.mode===e.GUNZIP&&this.err===e.Z_STREAM_END&&0!==this.strm.next_in[0];)this.reset(),this.err=i.inflate(this.strm,this.flush);break;default:throw new Error("Unknown mode "+this.mode)}},s.prototype._checkError=function(){switch(this.err){case e.Z_OK:case e.Z_BUF_ERROR:if(0!==this.strm.avail_out&&this.flush===e.Z_FINISH)return this._error("unexpected end of file"),!1;break;case e.Z_STREAM_END:break;case e.Z_NEED_DICT:return null==this.dictionary?this._error("Missing dictionary"):this._error("Bad dictionary"),!1;default:return this._error("Zlib error"),!1}return!0},s.prototype._after=function(){if(this._checkError()){var e=this.strm.avail_out,t=this.strm.avail_in;this.write_in_progress=!1,this.callback(t,e),this.pending_close&&this.close()}},s.prototype._error=function(e){this.strm.msg&&(e=this.strm.msg),this.onerror(e,this.err),this.write_in_progress=!1,this.pending_close&&this.close()},s.prototype.init=function(n,r,i,o,a){t(4===arguments.length||5===arguments.length,"init(windowBits, level, memLevel, strategy, [dictionary])"),t(n>=8&&n<=15,"invalid windowBits"),t(r>=-1&&r<=9,"invalid compression level"),t(i>=1&&i<=9,"invalid memlevel"),t(o===e.Z_FILTERED||o===e.Z_HUFFMAN_ONLY||o===e.Z_RLE||o===e.Z_FIXED||o===e.Z_DEFAULT_STRATEGY,"invalid strategy"),this._init(r,n,i,o,a),this._setDictionary()},s.prototype.params=function(){throw new Error("deflateParams Not supported")},s.prototype.reset=function(){this._reset(),this._setDictionary()},s.prototype._init=function(t,o,a,s,l){switch(this.level=t,this.windowBits=o,this.memLevel=a,this.strategy=s,this.flush=e.Z_NO_FLUSH,this.err=e.Z_OK,this.mode!==e.GZIP&&this.mode!==e.GUNZIP||(this.windowBits+=16),this.mode===e.UNZIP&&(this.windowBits+=32),this.mode!==e.DEFLATERAW&&this.mode!==e.INFLATERAW||(this.windowBits=-1*this.windowBits),this.strm=new n,this.mode){case e.DEFLATE:case e.GZIP:case e.DEFLATERAW:this.err=r.deflateInit2(this.strm,this.level,e.Z_DEFLATED,this.windowBits,this.memLevel,this.strategy);break;case e.INFLATE:case e.GUNZIP:case e.INFLATERAW:case e.UNZIP:this.err=i.inflateInit2(this.strm,this.windowBits);break;default:throw new Error("Unknown mode "+this.mode)}this.err!==e.Z_OK&&this._error("Init error"),this.dictionary=l,this.write_in_progress=!1,this.init_done=!0},s.prototype._setDictionary=function(){if(null!=this.dictionary){switch(this.err=e.Z_OK,this.mode){case e.DEFLATE:case e.DEFLATERAW:this.err=r.deflateSetDictionary(this.strm,this.dictionary)}this.err!==e.Z_OK&&this._error("Failed to set dictionary")}},s.prototype._reset=function(){switch(this.err=e.Z_OK,this.mode){case e.DEFLATE:case e.DEFLATERAW:case e.GZIP:this.err=r.deflateReset(this.strm);break;case e.INFLATE:case e.INFLATERAW:case e.GUNZIP:this.err=i.inflateReset(this.strm)}this.err!==e.Z_OK&&this._error("Failed to reset stream")},e.Zlib=s}(Bw),function(e){var t=Iy.Buffer,n=Tw.Transform,r=Bw,i=gA,o=px.ok,a=Iy.kMaxLength,s="Cannot create final Buffer. It would be larger than 0x"+a.toString(16)+" bytes";r.Z_MIN_WINDOWBITS=8,r.Z_MAX_WINDOWBITS=15,r.Z_DEFAULT_WINDOWBITS=15,r.Z_MIN_CHUNK=64,r.Z_MAX_CHUNK=1/0,r.Z_DEFAULT_CHUNK=16384,r.Z_MIN_MEMLEVEL=1,r.Z_MAX_MEMLEVEL=9,r.Z_DEFAULT_MEMLEVEL=8,r.Z_MIN_LEVEL=-1,r.Z_MAX_LEVEL=9,r.Z_DEFAULT_LEVEL=r.Z_DEFAULT_COMPRESSION;for(var l=Object.keys(r),c=0;c<l.length;c++){var u=l[c];u.match(/^Z/)&&Object.defineProperty(e,u,{enumerable:!0,value:r[u],writable:!1})}for(var d={Z_OK:r.Z_OK,Z_STREAM_END:r.Z_STREAM_END,Z_NEED_DICT:r.Z_NEED_DICT,Z_ERRNO:r.Z_ERRNO,Z_STREAM_ERROR:r.Z_STREAM_ERROR,Z_DATA_ERROR:r.Z_DATA_ERROR,Z_MEM_ERROR:r.Z_MEM_ERROR,Z_BUF_ERROR:r.Z_BUF_ERROR,Z_VERSION_ERROR:r.Z_VERSION_ERROR},p=Object.keys(d),h=0;h<p.length;h++){var f=p[h];d[d[f]]=f}function m(e,n,r){var i=[],o=0;function l(){for(var t;null!==(t=e.read());)i.push(t),o+=t.length;e.once("readable",l)}function c(){var n,l=null;o>=a?l=new RangeError(s):n=t.concat(i,o),i=[],e.close(),r(l,n)}e.on("error",(function(t){e.removeListener("end",c),e.removeListener("readable",l),r(t)})),e.on("end",c),e.end(n),l()}function g(e,n){if("string"===typeof n&&(n=t.from(n)),!t.isBuffer(n))throw new TypeError("Not a string or buffer");var r=e._finishFlushFlag;return e._processChunk(n,r)}function v(e){if(!(this instanceof v))return new v(e);k.call(this,e,r.DEFLATE)}function y(e){if(!(this instanceof y))return new y(e);k.call(this,e,r.INFLATE)}function A(e){if(!(this instanceof A))return new A(e);k.call(this,e,r.GZIP)}function b(e){if(!(this instanceof b))return new b(e);k.call(this,e,r.GUNZIP)}function w(e){if(!(this instanceof w))return new w(e);k.call(this,e,r.DEFLATERAW)}function x(e){if(!(this instanceof x))return new x(e);k.call(this,e,r.INFLATERAW)}function C(e){if(!(this instanceof C))return new C(e);k.call(this,e,r.UNZIP)}function S(e){return e===r.Z_NO_FLUSH||e===r.Z_PARTIAL_FLUSH||e===r.Z_SYNC_FLUSH||e===r.Z_FULL_FLUSH||e===r.Z_FINISH||e===r.Z_BLOCK}function k(i,o){var a=this;if(this._opts=i=i||{},this._chunkSize=i.chunkSize||e.Z_DEFAULT_CHUNK,n.call(this,i),i.flush&&!S(i.flush))throw new Error("Invalid flush flag: "+i.flush);if(i.finishFlush&&!S(i.finishFlush))throw new Error("Invalid flush flag: "+i.finishFlush);if(this._flushFlag=i.flush||r.Z_NO_FLUSH,this._finishFlushFlag="undefined"!==typeof i.finishFlush?i.finishFlush:r.Z_FINISH,i.chunkSize&&(i.chunkSize<e.Z_MIN_CHUNK||i.chunkSize>e.Z_MAX_CHUNK))throw new Error("Invalid chunk size: "+i.chunkSize);if(i.windowBits&&(i.windowBits<e.Z_MIN_WINDOWBITS||i.windowBits>e.Z_MAX_WINDOWBITS))throw new Error("Invalid windowBits: "+i.windowBits);if(i.level&&(i.level<e.Z_MIN_LEVEL||i.level>e.Z_MAX_LEVEL))throw new Error("Invalid compression level: "+i.level);if(i.memLevel&&(i.memLevel<e.Z_MIN_MEMLEVEL||i.memLevel>e.Z_MAX_MEMLEVEL))throw new Error("Invalid memLevel: "+i.memLevel);if(i.strategy&&i.strategy!=e.Z_FILTERED&&i.strategy!=e.Z_HUFFMAN_ONLY&&i.strategy!=e.Z_RLE&&i.strategy!=e.Z_FIXED&&i.strategy!=e.Z_DEFAULT_STRATEGY)throw new Error("Invalid strategy: "+i.strategy);if(i.dictionary&&!t.isBuffer(i.dictionary))throw new Error("Invalid dictionary: it should be a Buffer instance");this._handle=new r.Zlib(o);var s=this;this._hadError=!1,this._handle.onerror=function(t,n){E(s),s._hadError=!0;var r=new Error(t);r.errno=n,r.code=e.codes[n],s.emit("error",r)};var l=e.Z_DEFAULT_COMPRESSION;"number"===typeof i.level&&(l=i.level);var c=e.Z_DEFAULT_STRATEGY;"number"===typeof i.strategy&&(c=i.strategy),this._handle.init(i.windowBits||e.Z_DEFAULT_WINDOWBITS,l,i.memLevel||e.Z_DEFAULT_MEMLEVEL,c,i.dictionary),this._buffer=t.allocUnsafe(this._chunkSize),this._offset=0,this._level=l,this._strategy=c,this.once("end",this.close),Object.defineProperty(this,"_closed",{get:function(){return!a._handle},configurable:!0,enumerable:!0})}function E(e,t){t&&vy.nextTick(t),e._handle&&(e._handle.close(),e._handle=null)}function I(e){e.emit("close")}Object.defineProperty(e,"codes",{enumerable:!0,value:Object.freeze(d),writable:!1}),e.Deflate=v,e.Inflate=y,e.Gzip=A,e.Gunzip=b,e.DeflateRaw=w,e.InflateRaw=x,e.Unzip=C,e.createDeflate=function(e){return new v(e)},e.createInflate=function(e){return new y(e)},e.createDeflateRaw=function(e){return new w(e)},e.createInflateRaw=function(e){return new x(e)},e.createGzip=function(e){return new A(e)},e.createGunzip=function(e){return new b(e)},e.createUnzip=function(e){return new C(e)},e.deflate=function(e,t,n){return"function"===typeof t&&(n=t,t={}),m(new v(t),e,n)},e.deflateSync=function(e,t){return g(new v(t),e)},e.gzip=function(e,t,n){return"function"===typeof t&&(n=t,t={}),m(new A(t),e,n)},e.gzipSync=function(e,t){return g(new A(t),e)},e.deflateRaw=function(e,t,n){return"function"===typeof t&&(n=t,t={}),m(new w(t),e,n)},e.deflateRawSync=function(e,t){return g(new w(t),e)},e.unzip=function(e,t,n){return"function"===typeof t&&(n=t,t={}),m(new C(t),e,n)},e.unzipSync=function(e,t){return g(new C(t),e)},e.inflate=function(e,t,n){return"function"===typeof t&&(n=t,t={}),m(new y(t),e,n)},e.inflateSync=function(e,t){return g(new y(t),e)},e.gunzip=function(e,t,n){return"function"===typeof t&&(n=t,t={}),m(new b(t),e,n)},e.gunzipSync=function(e,t){return g(new b(t),e)},e.inflateRaw=function(e,t,n){return"function"===typeof t&&(n=t,t={}),m(new x(t),e,n)},e.inflateRawSync=function(e,t){return g(new x(t),e)},i.inherits(k,n),k.prototype.params=function(t,n,i){if(t<e.Z_MIN_LEVEL||t>e.Z_MAX_LEVEL)throw new RangeError("Invalid compression level: "+t);if(n!=e.Z_FILTERED&&n!=e.Z_HUFFMAN_ONLY&&n!=e.Z_RLE&&n!=e.Z_FIXED&&n!=e.Z_DEFAULT_STRATEGY)throw new TypeError("Invalid strategy: "+n);if(this._level!==t||this._strategy!==n){var a=this;this.flush(r.Z_SYNC_FLUSH,(function(){o(a._handle,"zlib binding closed"),a._handle.params(t,n),a._hadError||(a._level=t,a._strategy=n,i&&i())}))}else vy.nextTick(i)},k.prototype.reset=function(){return o(this._handle,"zlib binding closed"),this._handle.reset()},k.prototype._flush=function(e){this._transform(t.alloc(0),"",e)},k.prototype.flush=function(e,n){var i=this,o=this._writableState;("function"===typeof e||void 0===e&&!n)&&(n=e,e=r.Z_FULL_FLUSH),o.ended?n&&vy.nextTick(n):o.ending?n&&this.once("end",n):o.needDrain?n&&this.once("drain",(function(){return i.flush(e,n)})):(this._flushFlag=e,this.write(t.alloc(0),"",n))},k.prototype.close=function(e){E(this,e),vy.nextTick(I,this)},k.prototype._transform=function(e,n,i){var o,a=this._writableState,s=(a.ending||a.ended)&&(!e||a.length===e.length);return null===e||t.isBuffer(e)?this._handle?(s?o=this._finishFlushFlag:(o=this._flushFlag,e.length>=a.length&&(this._flushFlag=this._opts.flush||r.Z_NO_FLUSH)),void this._processChunk(e,o,i)):i(new Error("zlib binding closed")):i(new Error("invalid input"))},k.prototype._processChunk=function(e,n,r){var i=e&&e.length,l=this._chunkSize-this._offset,c=0,u=this,d="function"===typeof r;if(!d){var p,h=[],f=0;this.on("error",(function(e){p=e})),o(this._handle,"zlib binding closed");do{var m=this._handle.writeSync(n,e,c,i,this._buffer,this._offset,l)}while(!this._hadError&&y(m[0],m[1]));if(this._hadError)throw p;if(f>=a)throw E(this),new RangeError(s);var g=t.concat(h,f);return E(this),g}o(this._handle,"zlib binding closed");var v=this._handle.write(n,e,c,i,this._buffer,this._offset,l);function y(a,s){if(this&&(this.buffer=null,this.callback=null),!u._hadError){var p=l-s;if(o(p>=0,"have should not go down"),p>0){var m=u._buffer.slice(u._offset,u._offset+p);u._offset+=p,d?u.push(m):(h.push(m),f+=m.length)}if((0===s||u._offset>=u._chunkSize)&&(l=u._chunkSize,u._offset=0,u._buffer=t.allocUnsafe(u._chunkSize)),0===s){if(c+=i-a,i=a,!d)return!0;var g=u._handle.write(n,e,c,i,u._buffer,u._offset,u._chunkSize);return g.callback=y,void(g.buffer=e)}if(!d)return!1;r()}}v.buffer=e,v.callback=y},i.inherits(v,k),i.inherits(y,k),i.inherits(A,k),i.inherits(b,k),i.inherits(w,k),i.inherits(x,k),i.inherits(C,k)}(jw);var hx=Gv(jw);class fx extends Dw.Writable{constructor(e,t,n){super({decodeStrings:!1}),this.finalize=this.finalize.bind(this),this.document=e,this.id=t,null==n&&(n={}),this.data=n,this.gen=0,this.deflate=null,this.compress=this.document.compress&&!this.data.Filter,this.uncompressedLength=0,this.chunks=[]}initDeflate(){return this.data.Filter="FlateDecode",this.deflate=hx.createDeflate(),this.deflate.on("data",(e=>(this.chunks.push(e),this.data.Length+=e.length))),this.deflate.on("end",this.finalize)}_write(e,t,n){return e instanceof Uint8Array||(e=rv.from(e+"\n","binary")),this.uncompressedLength+=e.length,null==this.data.Length&&(this.data.Length=0),this.compress?(this.deflate||this.initDeflate(),this.deflate.write(e)):(this.chunks.push(e),this.data.Length+=e.length),n()}end(){return super.end(...arguments),this.deflate?this.deflate.end():this.finalize()}finalize(){if(this.offset=this.document._offset,this.document._write(`${this.id} ${this.gen} obj`),this.document._write(wx.convert(this.data)),this.chunks.length){this.document._write("stream");for(let e of Array.from(this.chunks))this.document._write(e);this.chunks.length=0,this.document._write("\nendstream")}return this.document._write("endobj"),this.document._refEnd(this)}toString(){return`${this.id} ${this.gen} R`}}class mx{constructor(e){void 0===e&&(e={}),this._items={},this.limits="boolean"!==typeof e.limits||e.limits}add(e,t){return this._items[e]=t}get(e){return this._items[e]}toString(){const e=Object.keys(this._items).sort(((e,t)=>this._compareKeys(e,t))),t=["<<"];if(this.limits&&e.length>1){const n=e[0],r=e[e.length-1];t.push(`  /Limits ${wx.convert([this._dataForKey(n),this._dataForKey(r)])}`)}t.push(`  /${this._keysName()} [`);for(let n of e)t.push(`    ${wx.convert(this._dataForKey(n))} ${wx.convert(this._items[n])}`);return t.push("]"),t.push(">>"),t.join("\n")}_compareKeys(){throw new Error("Must be implemented by subclasses")}_keysName(){throw new Error("Must be implemented by subclasses")}_dataForKey(){throw new Error("Must be implemented by subclasses")}}class gx extends mx{_compareKeys(e,t){return e.localeCompare(t)}_keysName(){return"Names"}_dataForKey(e){return new String(e)}}const vx=/[\n\r\t\b\f\(\)\\]/g,yx={"\n":"\\n","\r":"\\r","\t":"\\t","\b":"\\b","\f":"\\f","\\":"\\\\","(":"\\(",")":"\\)"},Ax=(e,t)=>(Array(t+1).join("0")+e).slice(-t);class bx{static convert(e){if("string"===typeof e)return`/${e}`;if(e instanceof String){let t=e,n=!1;for(let e=0,r=t.length;e<r;e++)if(t.charCodeAt(e)>127){n=!0;break}return n&&(t=function(e){const t=e.length;if(1&t)throw new Error("Buffer length must be even");for(let n=0,r=t-1;n<r;n+=2){const t=e[n];e[n]=e[n+1],e[n+1]=t}return e}(rv.from(`\ufeff${t}`,"utf16le")).toString("binary")),t=t.replace(vx,(e=>yx[e])),`(${t})`}if(rv.isBuffer(e))return`<${e.toString("hex")}>`;if(e instanceof fx||e instanceof gx)return e.toString();if(e instanceof Date)return`(D:${Ax(e.getUTCFullYear(),4)}`+Ax(e.getUTCMonth()+1,2)+Ax(e.getUTCDate(),2)+Ax(e.getUTCHours(),2)+Ax(e.getUTCMinutes(),2)+Ax(e.getUTCSeconds(),2)+"Z)";if(Array.isArray(e)){return`[${Array.from(e).map((e=>bx.convert(e))).join(" ")}]`}if("[object Object]"==={}.toString.call(e)){const t=["<<"];for(let n in e){const r=e[n];t.push(`/${n} ${bx.convert(r)}`)}return t.push(">>"),t.join("\n")}return"number"===typeof e?bx.number(e):`${e}`}static number(e){if(e>-1e21&&e<1e21)return Math.round(1e6*e)/1e6;throw new Error(`unsupported number: ${e}`)}}var wx=bx;const xx={top:72,left:72,bottom:72,right:72},Cx={"4A0":[4767.87,6740.79],"2A0":[3370.39,4767.87],A0:[2383.94,3370.39],A1:[1683.78,2383.94],A2:[1190.55,1683.78],A3:[841.89,1190.55],A4:[595.28,841.89],A5:[419.53,595.28],A6:[297.64,419.53],A7:[209.76,297.64],A8:[147.4,209.76],A9:[104.88,147.4],A10:[73.7,104.88],B0:[2834.65,4008.19],B1:[2004.09,2834.65],B2:[1417.32,2004.09],B3:[1000.63,1417.32],B4:[708.66,1000.63],B5:[498.9,708.66],B6:[354.33,498.9],B7:[249.45,354.33],B8:[175.75,249.45],B9:[124.72,175.75],B10:[87.87,124.72],C0:[2599.37,3676.54],C1:[1836.85,2599.37],C2:[1298.27,1836.85],C3:[918.43,1298.27],C4:[649.13,918.43],C5:[459.21,649.13],C6:[323.15,459.21],C7:[229.61,323.15],C8:[161.57,229.61],C9:[113.39,161.57],C10:[79.37,113.39],RA0:[2437.8,3458.27],RA1:[1729.13,2437.8],RA2:[1218.9,1729.13],RA3:[864.57,1218.9],RA4:[609.45,864.57],SRA0:[2551.18,3628.35],SRA1:[1814.17,2551.18],SRA2:[1275.59,1814.17],SRA3:[907.09,1275.59],SRA4:[637.8,907.09],EXECUTIVE:[521.86,756],FOLIO:[612,936],LEGAL:[612,1008],LETTER:[612,792],TABLOID:[792,1224]};class Sx{constructor(e,t){void 0===t&&(t={}),this.document=e,this.size=t.size||"letter",this.layout=t.layout||"portrait",this.userUnit=t.userUnit||1,"number"===typeof t.margin?this.margins={top:t.margin,left:t.margin,bottom:t.margin,right:t.margin}:this.margins=t.margins||xx;const n=Array.isArray(this.size)?this.size:Cx[this.size.toUpperCase()];this.width=n["portrait"===this.layout?0:1],this.height=n["portrait"===this.layout?1:0],this.content=this.document.ref(),this.resources=this.document.ref({ProcSet:["PDF","Text","ImageB","ImageC","ImageI"]}),this.dictionary=this.document.ref({Type:"Page",Parent:this.document._root.data.Pages,MediaBox:[0,0,this.width,this.height],Contents:this.content,Resources:this.resources,UserUnit:this.userUnit}),this.markings=[]}get fonts(){const e=this.resources.data;return null!=e.Font?e.Font:e.Font={}}get xobjects(){const e=this.resources.data;return null!=e.XObject?e.XObject:e.XObject={}}get ext_gstates(){const e=this.resources.data;return null!=e.ExtGState?e.ExtGState:e.ExtGState={}}get patterns(){const e=this.resources.data;return null!=e.Pattern?e.Pattern:e.Pattern={}}get colorSpaces(){const e=this.resources.data;return e.ColorSpace||(e.ColorSpace={})}get annotations(){const e=this.dictionary.data;return null!=e.Annots?e.Annots:e.Annots=[]}get structParentTreeKey(){const e=this.dictionary.data;return null!=e.StructParents?e.StructParents:e.StructParents=this.document.createStructParentTreeNextKey()}maxY(){return this.height-this.margins.bottom}write(e){return this.content.write(e)}end(){return this.dictionary.end(),this.resources.end(),this.content.end()}}class kx{static generateFileID(e){void 0===e&&(e={});let t=`${e.CreationDate.getTime()}\n`;for(let n in e)e.hasOwnProperty(n)&&(t+=`${n}: ${e[n].valueOf()}\n`);return(e=>{const t=[];for(let n=0;n<e.sigBytes;n++)t.push(e.words[Math.floor(n/4)]>>8*(3-n%4)&255);return rv.from(t)})(yu(t))}}const{number:Ex}=wx;let Ix=class{constructor(e){this.doc=e,this.stops=[],this.embedded=!1,this.transform=[1,0,0,1,0,0]}stop(e,t,n){if(null==n&&(n=1),t=this.doc._normalizeColor(t),0===this.stops.length)if(3===t.length)this._colorSpace="DeviceRGB";else if(4===t.length)this._colorSpace="DeviceCMYK";else{if(1!==t.length)throw new Error("Unknown color space");this._colorSpace="DeviceGray"}else if("DeviceRGB"===this._colorSpace&&3!==t.length||"DeviceCMYK"===this._colorSpace&&4!==t.length||"DeviceGray"===this._colorSpace&&1!==t.length)throw new Error("All gradient stops must use the same color space");return n=Math.max(0,Math.min(1,n)),this.stops.push([e,t,n]),this}setTransform(e,t,n,r,i,o){return this.transform=[e,t,n,r,i,o],this}embed(e){let t;const n=this.stops.length;if(0===n)return;this.embedded=!0,this.matrix=e;const r=this.stops[n-1];r[0]<1&&this.stops.push([1,r[1],r[2]]);const i=[],o=[],a=[];for(let c=0;c<n-1;c++)o.push(0,1),c+2!==n&&i.push(this.stops[c+1][0]),t=this.doc.ref({FunctionType:2,Domain:[0,1],C0:this.stops[c+0][1],C1:this.stops[c+1][1],N:1}),a.push(t),t.end();1===n?t=a[0]:(t=this.doc.ref({FunctionType:3,Domain:[0,1],Functions:a,Bounds:i,Encode:o}),t.end()),this.id="Sh"+ ++this.doc._gradCount;const s=this.shader(t);s.end();const l=this.doc.ref({Type:"Pattern",PatternType:2,Shading:s,Matrix:this.matrix.map(Ex)});if(l.end(),this.stops.some((e=>e[2]<1))){let e=this.opacityGradient();e._colorSpace="DeviceGray";for(let o of this.stops)e.stop(o[0],[o[2]]);e=e.embed(this.matrix);const t=[0,0,this.doc.page.width,this.doc.page.height],n=this.doc.ref({Type:"XObject",Subtype:"Form",FormType:1,BBox:t,Group:{Type:"Group",S:"Transparency",CS:"DeviceGray"},Resources:{ProcSet:["PDF","Text","ImageB","ImageC","ImageI"],Pattern:{Sh1:e}}});n.write("/Pattern cs /Sh1 scn"),n.end(`${t.join(" ")} re f`);const r=this.doc.ref({Type:"ExtGState",SMask:{Type:"Mask",S:"Luminosity",G:n}});r.end();const i=this.doc.ref({Type:"Pattern",PatternType:1,PaintType:1,TilingType:2,BBox:t,XStep:t[2],YStep:t[3],Resources:{ProcSet:["PDF","Text","ImageB","ImageC","ImageI"],Pattern:{Sh1:l},ExtGState:{Gs1:r}}});i.write("/Gs1 gs /Pattern cs /Sh1 scn"),i.end(`${t.join(" ")} re f`),this.doc.page.patterns[this.id]=i}else this.doc.page.patterns[this.id]=l;return l}apply(e){const[t,n,r,i,o,a]=this.doc._ctm,[s,l,c,u,d,p]=this.transform,h=[t*s+r*l,n*s+i*l,t*c+r*u,n*c+i*u,t*d+r*p+o,n*d+i*p+a];this.embedded&&h.join(" ")===this.matrix.join(" ")||this.embed(h),this.doc._setColorSpace("Pattern",e);const f=e?"SCN":"scn";return this.doc.addContent(`/${this.id} ${f}`)}};var _x={PDFGradient:Ix,PDFLinearGradient:class e extends Ix{constructor(e,t,n,r,i){super(e),this.x1=t,this.y1=n,this.x2=r,this.y2=i}shader(e){return this.doc.ref({ShadingType:2,ColorSpace:this._colorSpace,Coords:[this.x1,this.y1,this.x2,this.y2],Function:e,Extend:[!0,!0]})}opacityGradient(){return new e(this.doc,this.x1,this.y1,this.x2,this.y2)}},PDFRadialGradient:class e extends Ix{constructor(e,t,n,r,i,o,a){super(e),this.doc=e,this.x1=t,this.y1=n,this.r1=r,this.x2=i,this.y2=o,this.r2=a}shader(e){return this.doc.ref({ShadingType:3,ColorSpace:this._colorSpace,Coords:[this.x1,this.y1,this.r1,this.x2,this.y2,this.r2],Function:e,Extend:[!0,!0]})}opacityGradient(){return new e(this.doc,this.x1,this.y1,this.r1,this.x2,this.y2,this.r2)}}};const Px=["DeviceCMYK","DeviceRGB"];var Ox={PDFTilingPattern:class{constructor(e,t,n,r,i){this.doc=e,this.bBox=t,this.xStep=n,this.yStep=r,this.stream=i}createPattern(){const e=this.doc.ref();e.end();const[t,n,r,i,o,a]=this.doc._ctm,[s,l,c,u,d,p]=[1,0,0,1,0,0],h=[t*s+r*l,n*s+i*l,t*c+r*u,n*c+i*u,t*d+r*p+o,n*d+i*p+a],f=this.doc.ref({Type:"Pattern",PatternType:1,PaintType:2,TilingType:2,BBox:this.bBox,XStep:this.xStep,YStep:this.yStep,Matrix:h.map((e=>+e.toFixed(5))),Resources:e});return f.end(this.stream),f}embedPatternColorSpaces(){Px.forEach((e=>{const t=this.getPatternColorSpaceId(e);if(this.doc.page.colorSpaces[t])return;const n=this.doc.ref(["Pattern",e]);n.end(),this.doc.page.colorSpaces[t]=n}))}getPatternColorSpaceId(e){return`CsP${e}`}embed(){this.id||(this.doc._patternCount=this.doc._patternCount+1,this.id="P"+this.doc._patternCount,this.pattern=this.createPattern()),this.doc.page.patterns[this.id]||(this.doc.page.patterns[this.id]=this.pattern)}apply(e,t){this.embedPatternColorSpaces(),this.embed();const n=this.doc._normalizeColor(t);if(!n)throw Error(`invalid pattern color. (value: ${t})`);const r=this.getPatternColorSpaceId(this.doc._getColorSpace(n));this.doc._setColorSpace(r,e);const i=e?"SCN":"scn";return this.doc.addContent(`${n.join(" ")} /${this.id} ${i}`)}}};const{PDFGradient:Tx,PDFLinearGradient:Dx,PDFRadialGradient:jx}=_x,{PDFTilingPattern:Bx}=Ox;var Nx={initColor(){return this._opacityRegistry={},this._opacityCount=0,this._patternCount=0,this._gradCount=0},_normalizeColor(e){if("string"===typeof e)if("#"===e.charAt(0)){4===e.length&&(e=e.replace(/#([0-9A-F])([0-9A-F])([0-9A-F])/i,"#$1$1$2$2$3$3"));const t=parseInt(e.slice(1),16);e=[t>>16,t>>8&255,255&t]}else Mx[e]&&(e=Mx[e]);return Array.isArray(e)?(3===e.length?e=e.map((e=>e/255)):4===e.length&&(e=e.map((e=>e/100))),e):null},_setColor(e,t){return e instanceof Tx?(e.apply(t),!0):Array.isArray(e)&&e[0]instanceof Bx?(e[0].apply(t,e[1]),!0):this._setColorCore(e,t)},_setColorCore(e,t){if(!(e=this._normalizeColor(e)))return!1;const n=t?"SCN":"scn",r=this._getColorSpace(e);return this._setColorSpace(r,t),e=e.join(" "),this.addContent(`${e} ${n}`),!0},_setColorSpace(e,t){const n=t?"CS":"cs";return this.addContent(`/${e} ${n}`)},_getColorSpace:e=>4===e.length?"DeviceCMYK":"DeviceRGB",fillColor(e,t){return this._setColor(e,!1)&&this.fillOpacity(t),this._fillColor=[e,t],this},strokeColor(e,t){return this._setColor(e,!0)&&this.strokeOpacity(t),this},opacity(e){return this._doOpacity(e,e),this},fillOpacity(e){return this._doOpacity(e,null),this},strokeOpacity(e){return this._doOpacity(null,e),this},_doOpacity(e,t){let n,r;if(null==e&&null==t)return;null!=e&&(e=Math.max(0,Math.min(1,e))),null!=t&&(t=Math.max(0,Math.min(1,t)));const i=`${e}_${t}`;if(this._opacityRegistry[i])[n,r]=this._opacityRegistry[i];else{n={Type:"ExtGState"},null!=e&&(n.ca=e),null!=t&&(n.CA=t),n=this.ref(n),n.end();r=`Gs${++this._opacityCount}`,this._opacityRegistry[i]=[n,r]}return this.page.ext_gstates[r]=n,this.addContent(`/${r} gs`)},linearGradient(e,t,n,r){return new Dx(this,e,t,n,r)},radialGradient(e,t,n,r,i,o){return new jx(this,e,t,n,r,i,o)},pattern(e,t,n,r){return new Bx(this,e,t,n,r)}},Mx={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],grey:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]};let Rx,Lx,Fx,zx,Qx,Ux;Rx=Lx=Fx=zx=Qx=Ux=0;const Vx={M:2,m:2,Z:0,z:0,L:2,l:2,H:1,h:1,V:1,v:1,C:6,c:6,S:4,s:4,Q:4,q:4,T:2,t:2,A:7,a:7},Gx=e=>e in Vx,qx=e=>{const t=e.codePointAt(0);return 32===t||9===t||13===t||10===t},Hx=e=>{const t=e.codePointAt(0);return null!=t&&(48<=t&&t<=57)},Wx=(e,t)=>{let n=t,r="",i="none";for(;n<e.length;n+=1){const t=e[n];if("+"===t||"-"===t){if("none"===i){i="sign",r+=t;continue}if("e"===i){i="exponent_sign",r+=t;continue}}if(Hx(t)){if("none"===i||"sign"===i||"whole"===i){i="whole",r+=t;continue}if("decimal_point"===i||"decimal"===i){i="decimal",r+=t;continue}if("e"===i||"exponent_sign"===i||"exponent"===i){i="exponent",r+=t;continue}}if("."!==t||"none"!==i&&"sign"!==i&&"whole"!==i){if("E"!==t&&"e"!==t||"whole"!==i&&"decimal_point"!==i&&"decimal"!==i)break;i="e",r+=t}else i="decimal_point",r+=t}const o=Number.parseFloat(r);return Number.isNaN(o)?[t,null]:[n-1,o]},Yx={M:(e,t)=>(Rx=t[0],Lx=t[1],Fx=zx=null,Qx=Rx,Ux=Lx,e.moveTo(Rx,Lx)),m:(e,t)=>(Rx+=t[0],Lx+=t[1],Fx=zx=null,Qx=Rx,Ux=Lx,e.moveTo(Rx,Lx)),C:(e,t)=>(Rx=t[4],Lx=t[5],Fx=t[2],zx=t[3],e.bezierCurveTo(...t)),c:(e,t)=>(e.bezierCurveTo(t[0]+Rx,t[1]+Lx,t[2]+Rx,t[3]+Lx,t[4]+Rx,t[5]+Lx),Fx=Rx+t[2],zx=Lx+t[3],Rx+=t[4],Lx+=t[5]),S:(e,t)=>(null===Fx&&(Fx=Rx,zx=Lx),e.bezierCurveTo(Rx-(Fx-Rx),Lx-(zx-Lx),t[0],t[1],t[2],t[3]),Fx=t[0],zx=t[1],Rx=t[2],Lx=t[3]),s:(e,t)=>(null===Fx&&(Fx=Rx,zx=Lx),e.bezierCurveTo(Rx-(Fx-Rx),Lx-(zx-Lx),Rx+t[0],Lx+t[1],Rx+t[2],Lx+t[3]),Fx=Rx+t[0],zx=Lx+t[1],Rx+=t[2],Lx+=t[3]),Q:(e,t)=>(Fx=t[0],zx=t[1],Rx=t[2],Lx=t[3],e.quadraticCurveTo(t[0],t[1],Rx,Lx)),q:(e,t)=>(e.quadraticCurveTo(t[0]+Rx,t[1]+Lx,t[2]+Rx,t[3]+Lx),Fx=Rx+t[0],zx=Lx+t[1],Rx+=t[2],Lx+=t[3]),T:(e,t)=>(null===Fx?(Fx=Rx,zx=Lx):(Fx=Rx-(Fx-Rx),zx=Lx-(zx-Lx)),e.quadraticCurveTo(Fx,zx,t[0],t[1]),Fx=Rx-(Fx-Rx),zx=Lx-(zx-Lx),Rx=t[0],Lx=t[1]),t:(e,t)=>(null===Fx?(Fx=Rx,zx=Lx):(Fx=Rx-(Fx-Rx),zx=Lx-(zx-Lx)),e.quadraticCurveTo(Fx,zx,Rx+t[0],Lx+t[1]),Rx+=t[0],Lx+=t[1]),A:(e,t)=>(Kx(e,Rx,Lx,t),Rx=t[5],Lx=t[6]),a:(e,t)=>(t[5]+=Rx,t[6]+=Lx,Kx(e,Rx,Lx,t),Rx=t[5],Lx=t[6]),L:(e,t)=>(Rx=t[0],Lx=t[1],Fx=zx=null,e.lineTo(Rx,Lx)),l:(e,t)=>(Rx+=t[0],Lx+=t[1],Fx=zx=null,e.lineTo(Rx,Lx)),H:(e,t)=>(Rx=t[0],Fx=zx=null,e.lineTo(Rx,Lx)),h:(e,t)=>(Rx+=t[0],Fx=zx=null,e.lineTo(Rx,Lx)),V:(e,t)=>(Lx=t[0],Fx=zx=null,e.lineTo(Rx,Lx)),v:(e,t)=>(Lx+=t[0],Fx=zx=null,e.lineTo(Rx,Lx)),Z:e=>(e.closePath(),Rx=Qx,Lx=Ux),z:e=>(e.closePath(),Rx=Qx,Lx=Ux)},Kx=function(e,t,n,r){const[i,o,a,s,l,c,u]=r,d=Jx(c,u,i,o,s,l,a,t,n);for(let p of d){const t=Xx(...p);e.bezierCurveTo(...t)}},Jx=function(e,t,n,r,i,o,a,s,l){const c=a*(Math.PI/180),u=Math.sin(c),d=Math.cos(c);n=Math.abs(n),r=Math.abs(r),Fx=d*(s-e)*.5+u*(l-t)*.5,zx=d*(l-t)*.5-u*(s-e)*.5;let p=Fx*Fx/(n*n)+zx*zx/(r*r);p>1&&(p=Math.sqrt(p),n*=p,r*=p);const h=d/n,f=u/n,m=-u/r,g=d/r,v=h*s+f*l,y=m*s+g*l,A=h*e+f*t,b=m*e+g*t;let w=1/((A-v)*(A-v)+(b-y)*(b-y))-.25;w<0&&(w=0);let x=Math.sqrt(w);o===i&&(x=-x);const C=.5*(v+A)-x*(b-y),S=.5*(y+b)+x*(A-v),k=Math.atan2(y-S,v-C);let E=Math.atan2(b-S,A-C)-k;E<0&&1===o?E+=2*Math.PI:E>0&&0===o&&(E-=2*Math.PI);const I=Math.ceil(Math.abs(E/(.5*Math.PI+.001))),_=[];for(let P=0;P<I;P++){const e=k+P*E/I,t=k+(P+1)*E/I;_[P]=[C,S,e,t,n,r,u,d]}return _},Xx=function(e,t,n,r,i,o,a,s){const l=s*i,c=-a*o,u=a*i,d=s*o,p=.5*(r-n),h=8/3*Math.sin(.5*p)*Math.sin(.5*p)/Math.sin(p),f=e+Math.cos(n)-h*Math.sin(n),m=t+Math.sin(n)+h*Math.cos(n),g=e+Math.cos(r),v=t+Math.sin(r),y=g+h*Math.sin(r),A=v-h*Math.cos(r);return[l*f+c*m,u*f+d*m,l*y+c*A,u*y+d*A,l*g+c*v,u*g+d*v]};class Zx{static apply(e,t){const n=(e=>{const t=[];let n=null,r=[],i=0,o=!1,a=!1;for(let s=0;s<e.length;s+=1){const l=e.charAt(s);if(qx(l))continue;if(o&&","===l){if(a)break;a=!0;continue}if(Gx(l)){if(a)return t;if(null==n){if("M"!==l&&"m"!==l)return t}else if(0!==r.length)return t;n=l,r=[],i=Vx[n],o=!1,0===i&&t.push({command:n,args:r});continue}if(null==n)return t;let c=s,u=null;if("A"===n||"a"===n){const t=r.length;0!==t&&1!==t||"+"!==l&&"-"!==l&&([c,u]=Wx(e,s)),2!==t&&5!==t&&6!==t||([c,u]=Wx(e,s)),3!==t&&4!==t||("0"===l&&(u=0),"1"===l&&(u=1))}else[c,u]=Wx(e,s);if(null==u)return t;r.push(u),o=!0,a=!1,s=c,r.length===i&&(t.push({command:n,args:r}),"M"===n&&(n="L"),"m"===n&&(n="l"),r=[])}return t})(t);!function(e,t){Rx=Lx=Fx=zx=Qx=Ux=0;for(let n=0;n<e.length;n++){const{command:r,args:i}=e[n];"function"===typeof Yx[r]&&Yx[r](t,i)}}(n,e)}}const{number:$x}=wx,eC=(Math.sqrt(2)-1)/3*4;var tC={initVector(){return this._ctm=[1,0,0,1,0,0],this._ctmStack=[]},save(){return this._ctmStack.push(this._ctm.slice()),this.addContent("q")},restore(){return this._ctm=this._ctmStack.pop()||[1,0,0,1,0,0],this.addContent("Q")},closePath(){return this.addContent("h")},lineWidth(e){return this.addContent(`${$x(e)} w`)},_CAP_STYLES:{BUTT:0,ROUND:1,SQUARE:2},lineCap(e){return"string"===typeof e&&(e=this._CAP_STYLES[e.toUpperCase()]),this.addContent(`${e} J`)},_JOIN_STYLES:{MITER:0,ROUND:1,BEVEL:2},lineJoin(e){return"string"===typeof e&&(e=this._JOIN_STYLES[e.toUpperCase()]),this.addContent(`${e} j`)},miterLimit(e){return this.addContent(`${$x(e)} M`)},dash(e,t){void 0===t&&(t={});const n=e;Array.isArray(e)||(e=[e,t.space||e]);if(!e.every((e=>Number.isFinite(e)&&e>=0)))throw new Error(`dash(${JSON.stringify(n)}, ${JSON.stringify(t)}) invalid, lengths must be numeric and greater than or equal to zero`);return e=e.map($x).join(" "),this.addContent(`[${e}] ${$x(t.phase||0)} d`)},undash(){return this.addContent("[] 0 d")},moveTo(e,t){return this.addContent(`${$x(e)} ${$x(t)} m`)},lineTo(e,t){return this.addContent(`${$x(e)} ${$x(t)} l`)},bezierCurveTo(e,t,n,r,i,o){return this.addContent(`${$x(e)} ${$x(t)} ${$x(n)} ${$x(r)} ${$x(i)} ${$x(o)} c`)},quadraticCurveTo(e,t,n,r){return this.addContent(`${$x(e)} ${$x(t)} ${$x(n)} ${$x(r)} v`)},rect(e,t,n,r){return this.addContent(`${$x(e)} ${$x(t)} ${$x(n)} ${$x(r)} re`)},roundedRect(e,t,n,r,i){null==i&&(i=0);const o=(i=Math.min(i,.5*n,.5*r))*(1-eC);return this.moveTo(e+i,t),this.lineTo(e+n-i,t),this.bezierCurveTo(e+n-o,t,e+n,t+o,e+n,t+i),this.lineTo(e+n,t+r-i),this.bezierCurveTo(e+n,t+r-o,e+n-o,t+r,e+n-i,t+r),this.lineTo(e+i,t+r),this.bezierCurveTo(e+o,t+r,e,t+r-o,e,t+r-i),this.lineTo(e,t+i),this.bezierCurveTo(e,t+o,e+o,t,e+i,t),this.closePath()},ellipse(e,t,n,r){null==r&&(r=n);const i=n*eC,o=r*eC,a=(e-=n)+2*n,s=(t-=r)+2*r,l=e+n,c=t+r;return this.moveTo(e,c),this.bezierCurveTo(e,c-o,l-i,t,l,t),this.bezierCurveTo(l+i,t,a,c-o,a,c),this.bezierCurveTo(a,c+o,l+i,s,l,s),this.bezierCurveTo(l-i,s,e,c+o,e,c),this.closePath()},circle(e,t,n){return this.ellipse(e,t,n)},arc(e,t,n,r,i,o){null==o&&(o=!1);const a=2*Math.PI,s=.5*Math.PI;let l=i-r;if(Math.abs(l)>a)l=a;else if(0!==l&&o!==l<0){l=(o?-1:1)*a+l}const c=Math.ceil(Math.abs(l)/s),u=l/c,d=u/s*eC*n;let p=r,h=-Math.sin(p)*d,f=Math.cos(p)*d,m=e+Math.cos(p)*n,g=t+Math.sin(p)*n;this.moveTo(m,g);for(let v=0;v<c;v++){const r=m+h,i=g+f;p+=u,m=e+Math.cos(p)*n,g=t+Math.sin(p)*n,h=-Math.sin(p)*d,f=Math.cos(p)*d;const o=m-h,a=g-f;this.bezierCurveTo(r,i,o,a,m,g)}return this},polygon(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];this.moveTo(...t.shift()||[]);for(let r of t)this.lineTo(...r||[]);return this.closePath()},path(e){return Zx.apply(this,e),this},_windingRule:e=>/even-?odd/.test(e)?"*":"",fill(e,t){return/(even-?odd)|(non-?zero)/.test(e)&&(t=e,e=null),e&&this.fillColor(e),this.addContent(`f${this._windingRule(t)}`)},stroke(e){return e&&this.strokeColor(e),this.addContent("S")},fillAndStroke(e,t,n){null==t&&(t=e);const r=/(even-?odd)|(non-?zero)/;return r.test(e)&&(n=e,e=null),r.test(t)&&(n=t,t=e),e&&(this.fillColor(e),this.strokeColor(t)),this.addContent(`B${this._windingRule(n)}`)},clip(e){return this.addContent(`W${this._windingRule(e)} n`)},transform(e,t,n,r,i,o){if(1===e&&0===t&&0===n&&1===r&&0===i&&0===o)return this;const a=this._ctm,[s,l,c,u,d,p]=a;a[0]=s*e+c*t,a[1]=l*e+u*t,a[2]=s*n+c*r,a[3]=l*n+u*r,a[4]=s*i+c*o+d,a[5]=l*i+u*o+p;const h=[e,t,n,r,i,o].map((e=>$x(e))).join(" ");return this.addContent(`${h} cm`)},translate(e,t){return this.transform(1,0,0,1,e,t)},rotate(e,t){let n;void 0===t&&(t={});const r=e*Math.PI/180,i=Math.cos(r),o=Math.sin(r);let a=n=0;if(null!=t.origin){[a,n]=t.origin;const e=a*o+n*i;a-=a*i-n*o,n-=e}return this.transform(i,o,-o,i,a,n)},scale(e,t,n){let r;void 0===n&&(n={}),null==t&&(t=e),"object"===typeof t&&(n=t,t=e);let i=r=0;return null!=n.origin&&([i,r]=n.origin,i-=e*i,r-=t*r),this.transform(e,0,0,t,i,r)}},nC={};const rC={402:131,8211:150,8212:151,8216:145,8217:146,8218:130,8220:147,8221:148,8222:132,8224:134,8225:135,8226:149,8230:133,8364:128,8240:137,8249:139,8250:155,710:136,8482:153,338:140,339:156,732:152,352:138,353:154,376:159,381:142,382:158},iC=".notdef       .notdef        .notdef        .notdef\n.notdef       .notdef        .notdef        .notdef\n.notdef       .notdef        .notdef        .notdef\n.notdef       .notdef        .notdef        .notdef\n.notdef       .notdef        .notdef        .notdef\n.notdef       .notdef        .notdef        .notdef\n.notdef       .notdef        .notdef        .notdef\n.notdef       .notdef        .notdef        .notdef\n\nspace         exclam         quotedbl       numbersign\ndollar        percent        ampersand      quotesingle\nparenleft     parenright     asterisk       plus\ncomma         hyphen         period         slash\nzero          one            two            three\nfour          five           six            seven\neight         nine           colon          semicolon\nless          equal          greater        question\n\nat            A              B              C\nD             E              F              G\nH             I              J              K\nL             M              N              O\nP             Q              R              S\nT             U              V              W\nX             Y              Z              bracketleft\nbackslash     bracketright   asciicircum    underscore\n\ngrave         a              b              c\nd             e              f              g\nh             i              j              k\nl             m              n              o\np             q              r              s\nt             u              v              w\nx             y              z              braceleft\nbar           braceright     asciitilde     .notdef\n\nEuro          .notdef        quotesinglbase florin\nquotedblbase  ellipsis       dagger         daggerdbl\ncircumflex    perthousand    Scaron         guilsinglleft\nOE            .notdef        Zcaron         .notdef\n.notdef       quoteleft      quoteright     quotedblleft\nquotedblright bullet         endash         emdash\ntilde         trademark      scaron         guilsinglright\noe            .notdef        zcaron         ydieresis\n\nspace         exclamdown     cent           sterling\ncurrency      yen            brokenbar      section\ndieresis      copyright      ordfeminine    guillemotleft\nlogicalnot    hyphen         registered     macron\ndegree        plusminus      twosuperior    threesuperior\nacute         mu             paragraph      periodcentered\ncedilla       onesuperior    ordmasculine   guillemotright\nonequarter    onehalf        threequarters  questiondown\n\nAgrave        Aacute         Acircumflex    Atilde\nAdieresis     Aring          AE             Ccedilla\nEgrave        Eacute         Ecircumflex    Edieresis\nIgrave        Iacute         Icircumflex    Idieresis\nEth           Ntilde         Ograve         Oacute\nOcircumflex   Otilde         Odieresis      multiply\nOslash        Ugrave         Uacute         Ucircumflex\nUdieresis     Yacute         Thorn          germandbls\n\nagrave        aacute         acircumflex    atilde\nadieresis     aring          ae             ccedilla\negrave        eacute         ecircumflex    edieresis\nigrave        iacute         icircumflex    idieresis\neth           ntilde         ograve         oacute\nocircumflex   otilde         odieresis      divide\noslash        ugrave         uacute         ucircumflex\nudieresis     yacute         thorn          ydieresis".split(/\s+/);class oC{static open(e){throw new Error("AFMFont.open not available on browser build")}static fromJson(e){return new oC(e)}constructor(e){"string"===typeof e?(this.contents=e,this.parse()):(this.attributes=e.attributes,this.glyphWidths=e.glyphWidths,this.kernPairs=e.kernPairs),this.charWidths=((e,t,n)=>{let r=[],i=e<t,o=n?i?t+1:t-1:t;for(let a=e;i?a<o:a>o;i?a++:a--)r.push(a);return r})(0,255,!0).map((e=>this.glyphWidths[iC[e]])),this.bbox=Array.from(this.attributes.FontBBox.split(/\s+/)).map((e=>+e)),this.ascender=+(this.attributes.Ascender||0),this.descender=+(this.attributes.Descender||0),this.xHeight=+(this.attributes.XHeight||0),this.capHeight=+(this.attributes.CapHeight||0),this.lineGap=this.bbox[3]-this.bbox[1]-(this.ascender-this.descender)}parse(){const e=function(e){const t={attributes:{},glyphWidths:{},kernPairs:{}};let n="";for(let l of e.split("\n")){var r,i;if(r=l.match(/^Start(\w+)/))n=r[1];else if(r=l.match(/^End(\w+)/))n="";else switch(n){case"FontMetrics":var o=(r=l.match(/(^\w+)\s+(.*)/))[1],a=r[2];(i=t.attributes[o])?(Array.isArray(i)||(i=t.attributes[o]=[i]),i.push(a)):t.attributes[o]=a;break;case"CharMetrics":if(!/^CH?\s/.test(l))continue;var s=l.match(/\bN\s+(\.?\w+)\s*;/)[1];t.glyphWidths[s]=+l.match(/\bWX\s+(\d+)\s*;/)[1];break;case"KernPairs":(r=l.match(/^KPX\s+(\.?\w+)\s+(\.?\w+)\s+(-?\d+)/))&&(t.kernPairs[r[1]+r[2]]=parseInt(r[3]))}}return t}(this.contents);this.attributes=e.attributes,this.glyphWidths=e.glyphWidths,this.kernPairs=e.kernPairs}encodeText(e){const t=[];for(let n=0,r=e.length,i=0<=r;i?n<r:n>r;i?n++:n--){let r=e.charCodeAt(n);r=rC[r]||r,t.push(r.toString(16))}return t}glyphsForString(e){const t=[];for(let n=0,r=e.length,i=0<=r;i?n<r:n>r;i?n++:n--){const r=e.charCodeAt(n);t.push(this.characterToGlyph(r))}return t}characterToGlyph(e){return iC[rC[e]||e]||".notdef"}widthOfGlyph(e){return this.glyphWidths[e]||0}getKernPair(e,t){return this.kernPairs[e+t]||0}advancesForGlyphs(e){const t=[];for(let n=0;n<e.length;n++){const r=e[n],i=e[n+1];t.push(this.widthOfGlyph(r)+this.getKernPair(r,i))}return t}}const aC=e=>[e.FontName,{attributes:e,glyphWidths:{},kernPairs:{}}],sC=(e=>{const{attributes:t,glyphWidths:n,kernPairs:r}=e,i=t.map(aC);return Object.keys(n).forEach((e=>{n[e].forEach(((t,n)=>{t&&(i[n][1].glyphWidths[e]=t)}))})),Object.keys(r).forEach((e=>{r[e].forEach(((t,n)=>{t&&(i[n][1].kernPairs[e]=t)}))})),Object.fromEntries(i)})({attributes:[{Comment:["Copyright (c) 1985, 1987, 1989, 1990, 1997 Adobe Systems Incorporated.  All Rights Reserved.","Creation Date: Thu May  1 12:43:52 1997","UniqueID 43052","VMusage 37169 48194"],FontName:"Helvetica-Bold",FullName:"Helvetica Bold",FamilyName:"Helvetica",Weight:"Bold",ItalicAngle:"0",IsFixedPitch:"false",CharacterSet:"ExtendedRoman",FontBBox:"-170 -228 1003 962 ",UnderlinePosition:"-100",UnderlineThickness:"50",Version:"002.000",Notice:"Copyright (c) 1985, 1987, 1989, 1990, 1997 Adobe Systems Incorporated.  All Rights Reserved.Helvetica is a trademark of Linotype-Hell AG and/or its subsidiaries.",EncodingScheme:"AdobeStandardEncoding",CapHeight:"718",XHeight:"532",Ascender:"718",Descender:"-207",StdHW:"118",StdVW:"140"},{Comment:["Copyright (c) 1985, 1987, 1989, 1990, 1997 Adobe Systems Incorporated.  All Rights Reserved.","Creation Date: Thu May  1 12:45:12 1997","UniqueID 43053","VMusage 14482 68586"],FontName:"Helvetica-BoldOblique",FullName:"Helvetica Bold Oblique",FamilyName:"Helvetica",Weight:"Bold",ItalicAngle:"-12",IsFixedPitch:"false",CharacterSet:"ExtendedRoman",FontBBox:"-174 -228 1114 962",UnderlinePosition:"-100",UnderlineThickness:"50",Version:"002.000",Notice:"Copyright (c) 1985, 1987, 1989, 1990, 1997 Adobe Systems Incorporated.  All Rights Reserved.Helvetica is a trademark of Linotype-Hell AG and/or its subsidiaries.",EncodingScheme:"AdobeStandardEncoding",CapHeight:"718",XHeight:"532",Ascender:"718",Descender:"-207",StdHW:"118",StdVW:"140"},{Comment:["Copyright (c) 1985, 1987, 1989, 1990, 1997 Adobe Systems Incorporated.  All Rights Reserved.","Creation Date: Thu May  1 12:44:31 1997","UniqueID 43055","VMusage 14960 69346"],FontName:"Helvetica-Oblique",FullName:"Helvetica Oblique",FamilyName:"Helvetica",Weight:"Medium",ItalicAngle:"-12",IsFixedPitch:"false",CharacterSet:"ExtendedRoman",FontBBox:"-170 -225 1116 931 ",UnderlinePosition:"-100",UnderlineThickness:"50",Version:"002.000",Notice:"Copyright (c) 1985, 1987, 1989, 1990, 1997 Adobe Systems Incorporated.  All Rights Reserved.Helvetica is a trademark of Linotype-Hell AG and/or its subsidiaries.",EncodingScheme:"AdobeStandardEncoding",CapHeight:"718",XHeight:"523",Ascender:"718",Descender:"-207",StdHW:"76",StdVW:"88"},{Comment:["Copyright (c) 1985, 1987, 1989, 1990, 1997 Adobe Systems Incorporated.  All Rights Reserved.","Creation Date: Thu May  1 12:38:23 1997","UniqueID 43054","VMusage 37069 48094"],FontName:"Helvetica",FullName:"Helvetica",FamilyName:"Helvetica",Weight:"Medium",ItalicAngle:"0",IsFixedPitch:"false",CharacterSet:"ExtendedRoman",FontBBox:"-166 -225 1000 931 ",UnderlinePosition:"-100",UnderlineThickness:"50",Version:"002.000",Notice:"Copyright (c) 1985, 1987, 1989, 1990, 1997 Adobe Systems Incorporated.  All Rights Reserved.Helvetica is a trademark of Linotype-Hell AG and/or its subsidiaries.",EncodingScheme:"AdobeStandardEncoding",CapHeight:"718",XHeight:"523",Ascender:"718",Descender:"-207",StdHW:"76",StdVW:"88"},{Comment:["Copyright (c) 1985, 1987, 1989, 1990, 1993, 1997 Adobe Systems Incorporated.  All Rights Reserved.","Creation Date: Thu May  1 12:52:56 1997","UniqueID 43065","VMusage 41636 52661"],FontName:"Times-Bold",FullName:"Times Bold",FamilyName:"Times",Weight:"Bold",ItalicAngle:"0",IsFixedPitch:"false",CharacterSet:"ExtendedRoman",FontBBox:"-168 -218 1000 935 ",UnderlinePosition:"-100",UnderlineThickness:"50",Version:"002.000",Notice:"Copyright (c) 1985, 1987, 1989, 1990, 1993, 1997 Adobe Systems Incorporated.  All Rights Reserved.Times is a trademark of Linotype-Hell AG and/or its subsidiaries.",EncodingScheme:"AdobeStandardEncoding",CapHeight:"676",XHeight:"461",Ascender:"683",Descender:"-217",StdHW:"44",StdVW:"139"},{Comment:["Copyright (c) 1985, 1987, 1989, 1990, 1993, 1997 Adobe Systems Incorporated.  All Rights Reserved.","Creation Date: Thu May  1 13:04:06 1997","UniqueID 43066","VMusage 45874 56899"],FontName:"Times-BoldItalic",FullName:"Times Bold Italic",FamilyName:"Times",Weight:"Bold",ItalicAngle:"-15",IsFixedPitch:"false",CharacterSet:"ExtendedRoman",FontBBox:"-200 -218 996 921",UnderlinePosition:"-100",UnderlineThickness:"50",Version:"002.000",Notice:"Copyright (c) 1985, 1987, 1989, 1990, 1993, 1997 Adobe Systems Incorporated.  All Rights Reserved.Times is a trademark of Linotype-Hell AG and/or its subsidiaries.",EncodingScheme:"AdobeStandardEncoding",CapHeight:"669",XHeight:"462",Ascender:"683",Descender:"-217",StdHW:"42",StdVW:"121"},{Comment:["Copyright (c) 1985, 1987, 1989, 1990, 1993, 1997 Adobe Systems Incorporated.  All Rights Reserved.","Creation Date: Thu May  1 12:56:55 1997","UniqueID 43067","VMusage 47727 58752"],FontName:"Times-Italic",FullName:"Times Italic",FamilyName:"Times",Weight:"Medium",ItalicAngle:"-15.5",IsFixedPitch:"false",CharacterSet:"ExtendedRoman",FontBBox:"-169 -217 1010 883 ",UnderlinePosition:"-100",UnderlineThickness:"50",Version:"002.000",Notice:"Copyright (c) 1985, 1987, 1989, 1990, 1993, 1997 Adobe Systems Incorporated.  All Rights Reserved.Times is a trademark of Linotype-Hell AG and/or its subsidiaries.",EncodingScheme:"AdobeStandardEncoding",CapHeight:"653",XHeight:"441",Ascender:"683",Descender:"-217",StdHW:"32",StdVW:"76"},{Comment:["Copyright (c) 1985, 1987, 1989, 1990, 1993, 1997 Adobe Systems Incorporated.  All Rights Reserved.","Creation Date: Thu May  1 12:49:17 1997","UniqueID 43068","VMusage 43909 54934"],FontName:"Times-Roman",FullName:"Times Roman",FamilyName:"Times",Weight:"Roman",ItalicAngle:"0",IsFixedPitch:"false",CharacterSet:"ExtendedRoman",FontBBox:"-168 -218 1000 898 ",UnderlinePosition:"-100",UnderlineThickness:"50",Version:"002.000",Notice:"Copyright (c) 1985, 1987, 1989, 1990, 1993, 1997 Adobe Systems Incorporated.  All Rights Reserved.Times is a trademark of Linotype-Hell AG and/or its subsidiaries.",EncodingScheme:"AdobeStandardEncoding",CapHeight:"662",XHeight:"450",Ascender:"683",Descender:"-217",StdHW:"28",StdVW:"84"},{Comment:["Copyright (c) 1989, 1990, 1991, 1993, 1997 Adobe Systems Incorporated.  All Rights Reserved.","Creation Date: Mon Jun 23 16:28:00 1997","UniqueID 43048","VMusage 41139 52164"],FontName:"Courier-Bold",FullName:"Courier Bold",FamilyName:"Courier",Weight:"Bold",ItalicAngle:"0",IsFixedPitch:"true",CharacterSet:"ExtendedRoman",FontBBox:"-113 -250 749 801 ",UnderlinePosition:"-100",UnderlineThickness:"50",Version:"003.000",Notice:"Copyright (c) 1989, 1990, 1991, 1993, 1997 Adobe Systems Incorporated.  All Rights Reserved.",EncodingScheme:"AdobeStandardEncoding",CapHeight:"562",XHeight:"439",Ascender:"629",Descender:"-157",StdHW:"84",StdVW:"106"},{Comment:["Copyright (c) 1989, 1990, 1991, 1993, 1997 Adobe Systems Incorporated.  All Rights Reserved.","Creation Date: Mon Jun 23 16:28:46 1997","UniqueID 43049","VMusage 17529 79244"],FontName:"Courier-BoldOblique",FullName:"Courier Bold Oblique",FamilyName:"Courier",Weight:"Bold",ItalicAngle:"-12",IsFixedPitch:"true",CharacterSet:"ExtendedRoman",FontBBox:"-57 -250 869 801",UnderlinePosition:"-100",UnderlineThickness:"50",Version:"003.000",Notice:"Copyright (c) 1989, 1990, 1991, 1993, 1997 Adobe Systems Incorporated.  All Rights Reserved.",EncodingScheme:"AdobeStandardEncoding",CapHeight:"562",XHeight:"439",Ascender:"629",Descender:"-157",StdHW:"84",StdVW:"106"},{Comment:["Copyright (c) 1989, 1990, 1991, 1992, 1993, 1997 Adobe Systems Incorporated.  All Rights Reserved.","Creation Date: Thu May  1 17:37:52 1997","UniqueID 43051","VMusage 16248 75829"],FontName:"Courier-Oblique",FullName:"Courier Oblique",FamilyName:"Courier",Weight:"Medium",ItalicAngle:"-12",IsFixedPitch:"true",CharacterSet:"ExtendedRoman",FontBBox:"-27 -250 849 805 ",UnderlinePosition:"-100",UnderlineThickness:"50",Version:"003.000",Notice:"Copyright (c) 1989, 1990, 1991, 1992, 1993, 1997 Adobe Systems Incorporated.  All Rights Reserved.",EncodingScheme:"AdobeStandardEncoding",CapHeight:"562",XHeight:"426",Ascender:"629",Descender:"-157",StdHW:"51",StdVW:"51"},{Comment:["Copyright (c) 1989, 1990, 1991, 1992, 1993, 1997 Adobe Systems Incorporated.  All Rights Reserved.","Creation Date: Thu May  1 17:27:09 1997","UniqueID 43050","VMusage 39754 50779"],FontName:"Courier",FullName:"Courier",FamilyName:"Courier",Weight:"Medium",ItalicAngle:"0",IsFixedPitch:"true",CharacterSet:"ExtendedRoman",FontBBox:"-23 -250 715 805 ",UnderlinePosition:"-100",UnderlineThickness:"50",Version:"003.000",Notice:"Copyright (c) 1989, 1990, 1991, 1992, 1993, 1997 Adobe Systems Incorporated.  All Rights Reserved.",EncodingScheme:"AdobeStandardEncoding",CapHeight:"562",XHeight:"426",Ascender:"629",Descender:"-157",StdHW:"51",StdVW:"51"}],glyphWidths:{space:[278,278,278,278,250,250,250,250,600,600,600,600],exclam:[333,333,278,278,333,389,333,333,600,600,600,600],quotedbl:[474,474,355,355,555,555,420,408,600,600,600,600],numbersign:[556,556,556,556,500,500,500,500,600,600,600,600],dollar:[556,556,556,556,500,500,500,500,600,600,600,600],percent:[889,889,889,889,1e3,833,833,833,600,600,600,600],ampersand:[722,722,667,667,833,778,778,778,600,600,600,600],quoteright:[278,278,222,222,333,333,333,333,600,600,600,600],parenleft:[333,333,333,333,333,333,333,333,600,600,600,600],parenright:[333,333,333,333,333,333,333,333,600,600,600,600],asterisk:[389,389,389,389,500,500,500,500,600,600,600,600],plus:[584,584,584,584,570,570,675,564,600,600,600,600],comma:[278,278,278,278,250,250,250,250,600,600,600,600],hyphen:[333,333,333,333,333,333,333,333,600,600,600,600],period:[278,278,278,278,250,250,250,250,600,600,600,600],slash:[278,278,278,278,278,278,278,278,600,600,600,600],zero:[556,556,556,556,500,500,500,500,600,600,600,600],one:[556,556,556,556,500,500,500,500,600,600,600,600],two:[556,556,556,556,500,500,500,500,600,600,600,600],three:[556,556,556,556,500,500,500,500,600,600,600,600],four:[556,556,556,556,500,500,500,500,600,600,600,600],five:[556,556,556,556,500,500,500,500,600,600,600,600],six:[556,556,556,556,500,500,500,500,600,600,600,600],seven:[556,556,556,556,500,500,500,500,600,600,600,600],eight:[556,556,556,556,500,500,500,500,600,600,600,600],nine:[556,556,556,556,500,500,500,500,600,600,600,600],colon:[333,333,278,278,333,333,333,278,600,600,600,600],semicolon:[333,333,278,278,333,333,333,278,600,600,600,600],less:[584,584,584,584,570,570,675,564,600,600,600,600],equal:[584,584,584,584,570,570,675,564,600,600,600,600],greater:[584,584,584,584,570,570,675,564,600,600,600,600],question:[611,611,556,556,500,500,500,444,600,600,600,600],at:[975,975,1015,1015,930,832,920,921,600,600,600,600],A:[722,722,667,667,722,667,611,722,600,600,600,600],B:[722,722,667,667,667,667,611,667,600,600,600,600],C:[722,722,722,722,722,667,667,667,600,600,600,600],D:[722,722,722,722,722,722,722,722,600,600,600,600],E:[667,667,667,667,667,667,611,611,600,600,600,600],F:[611,611,611,611,611,667,611,556,600,600,600,600],G:[778,778,778,778,778,722,722,722,600,600,600,600],H:[722,722,722,722,778,778,722,722,600,600,600,600],I:[278,278,278,278,389,389,333,333,600,600,600,600],J:[556,556,500,500,500,500,444,389,600,600,600,600],K:[722,722,667,667,778,667,667,722,600,600,600,600],L:[611,611,556,556,667,611,556,611,600,600,600,600],M:[833,833,833,833,944,889,833,889,600,600,600,600],N:[722,722,722,722,722,722,667,722,600,600,600,600],O:[778,778,778,778,778,722,722,722,600,600,600,600],P:[667,667,667,667,611,611,611,556,600,600,600,600],Q:[778,778,778,778,778,722,722,722,600,600,600,600],R:[722,722,722,722,722,667,611,667,600,600,600,600],S:[667,667,667,667,556,556,500,556,600,600,600,600],T:[611,611,611,611,667,611,556,611,600,600,600,600],U:[722,722,722,722,722,722,722,722,600,600,600,600],V:[667,667,667,667,722,667,611,722,600,600,600,600],W:[944,944,944,944,1e3,889,833,944,600,600,600,600],X:[667,667,667,667,722,667,611,722,600,600,600,600],Y:[667,667,667,667,722,611,556,722,600,600,600,600],Z:[611,611,611,611,667,611,556,611,600,600,600,600],bracketleft:[333,333,278,278,333,333,389,333,600,600,600,600],backslash:[278,278,278,278,278,278,278,278,600,600,600,600],bracketright:[333,333,278,278,333,333,389,333,600,600,600,600],asciicircum:[584,584,469,469,581,570,422,469,600,600,600,600],underscore:[556,556,556,556,500,500,500,500,600,600,600,600],quoteleft:[278,278,222,222,333,333,333,333,600,600,600,600],a:[556,556,556,556,500,500,500,444,600,600,600,600],b:[611,611,556,556,556,500,500,500,600,600,600,600],c:[556,556,500,500,444,444,444,444,600,600,600,600],d:[611,611,556,556,556,500,500,500,600,600,600,600],e:[556,556,556,556,444,444,444,444,600,600,600,600],f:[333,333,278,278,333,333,278,333,600,600,600,600],g:[611,611,556,556,500,500,500,500,600,600,600,600],h:[611,611,556,556,556,556,500,500,600,600,600,600],i:[278,278,222,222,278,278,278,278,600,600,600,600],j:[278,278,222,222,333,278,278,278,600,600,600,600],k:[556,556,500,500,556,500,444,500,600,600,600,600],l:[278,278,222,222,278,278,278,278,600,600,600,600],m:[889,889,833,833,833,778,722,778,600,600,600,600],n:[611,611,556,556,556,556,500,500,600,600,600,600],o:[611,611,556,556,500,500,500,500,600,600,600,600],p:[611,611,556,556,556,500,500,500,600,600,600,600],q:[611,611,556,556,556,500,500,500,600,600,600,600],r:[389,389,333,333,444,389,389,333,600,600,600,600],s:[556,556,500,500,389,389,389,389,600,600,600,600],t:[333,333,278,278,333,278,278,278,600,600,600,600],u:[611,611,556,556,556,556,500,500,600,600,600,600],v:[556,556,500,500,500,444,444,500,600,600,600,600],w:[778,778,722,722,722,667,667,722,600,600,600,600],x:[556,556,500,500,500,500,444,500,600,600,600,600],y:[556,556,500,500,500,444,444,500,600,600,600,600],z:[500,500,500,500,444,389,389,444,600,600,600,600],braceleft:[389,389,334,334,394,348,400,480,600,600,600,600],bar:[280,280,260,260,220,220,275,200,600,600,600,600],braceright:[389,389,334,334,394,348,400,480,600,600,600,600],asciitilde:[584,584,584,584,520,570,541,541,600,600,600,600],exclamdown:[333,333,333,333,333,389,389,333,600,600,600,600],cent:[556,556,556,556,500,500,500,500,600,600,600,600],sterling:[556,556,556,556,500,500,500,500,600,600,600,600],fraction:[167,167,167,167,167,167,167,167,600,600,600,600],yen:[556,556,556,556,500,500,500,500,600,600,600,600],florin:[556,556,556,556,500,500,500,500,600,600,600,600],section:[556,556,556,556,500,500,500,500,600,600,600,600],currency:[556,556,556,556,500,500,500,500,600,600,600,600],quotesingle:[238,238,191,191,278,278,214,180,600,600,600,600],quotedblleft:[500,500,333,333,500,500,556,444,600,600,600,600],guillemotleft:[556,556,556,556,500,500,500,500,600,600,600,600],guilsinglleft:[333,333,333,333,333,333,333,333,600,600,600,600],guilsinglright:[333,333,333,333,333,333,333,333,600,600,600,600],fi:[611,611,500,500,556,556,500,556,600,600,600,600],fl:[611,611,500,500,556,556,500,556,600,600,600,600],endash:[556,556,556,556,500,500,500,500,600,600,600,600],dagger:[556,556,556,556,500,500,500,500,600,600,600,600],daggerdbl:[556,556,556,556,500,500,500,500,600,600,600,600],periodcentered:[278,278,278,278,250,250,250,250,600,600,600,600],paragraph:[556,556,537,537,540,500,523,453,600,600,600,600],bullet:[350,350,350,350,350,350,350,350,600,600,600,600],quotesinglbase:[278,278,222,222,333,333,333,333,600,600,600,600],quotedblbase:[500,500,333,333,500,500,556,444,600,600,600,600],quotedblright:[500,500,333,333,500,500,556,444,600,600,600,600],guillemotright:[556,556,556,556,500,500,500,500,600,600,600,600],ellipsis:[1e3,1e3,1e3,1e3,1e3,1e3,889,1e3,600,600,600,600],perthousand:[1e3,1e3,1e3,1e3,1e3,1e3,1e3,1e3,600,600,600,600],questiondown:[611,611,611,611,500,500,500,444,600,600,600,600],grave:[333,333,333,333,333,333,333,333,600,600,600,600],acute:[333,333,333,333,333,333,333,333,600,600,600,600],circumflex:[333,333,333,333,333,333,333,333,600,600,600,600],tilde:[333,333,333,333,333,333,333,333,600,600,600,600],macron:[333,333,333,333,333,333,333,333,600,600,600,600],breve:[333,333,333,333,333,333,333,333,600,600,600,600],dotaccent:[333,333,333,333,333,333,333,333,600,600,600,600],dieresis:[333,333,333,333,333,333,333,333,600,600,600,600],ring:[333,333,333,333,333,333,333,333,600,600,600,600],cedilla:[333,333,333,333,333,333,333,333,600,600,600,600],hungarumlaut:[333,333,333,333,333,333,333,333,600,600,600,600],ogonek:[333,333,333,333,333,333,333,333,600,600,600,600],caron:[333,333,333,333,333,333,333,333,600,600,600,600],emdash:[1e3,1e3,1e3,1e3,1e3,1e3,889,1e3,600,600,600,600],AE:[1e3,1e3,1e3,1e3,1e3,944,889,889,600,600,600,600],ordfeminine:[370,370,370,370,300,266,276,276,600,600,600,600],Lslash:[611,611,556,556,667,611,556,611,600,600,600,600],Oslash:[778,778,778,778,778,722,722,722,600,600,600,600],OE:[1e3,1e3,1e3,1e3,1e3,944,944,889,600,600,600,600],ordmasculine:[365,365,365,365,330,300,310,310,600,600,600,600],ae:[889,889,889,889,722,722,667,667,600,600,600,600],dotlessi:[278,278,278,278,278,278,278,278,600,600,600,600],lslash:[278,278,222,222,278,278,278,278,600,600,600,600],oslash:[611,611,611,611,500,500,500,500,600,600,600,600],oe:[944,944,944,944,722,722,667,722,600,600,600,600],germandbls:[611,611,611,611,556,500,500,500,600,600,600,600],Idieresis:[278,278,278,278,389,389,333,333,600,600,600,600],eacute:[556,556,556,556,444,444,444,444,600,600,600,600],abreve:[556,556,556,556,500,500,500,444,600,600,600,600],uhungarumlaut:[611,611,556,556,556,556,500,500,600,600,600,600],ecaron:[556,556,556,556,444,444,444,444,600,600,600,600],Ydieresis:[667,667,667,667,722,611,556,722,600,600,600,600],divide:[584,584,584,584,570,570,675,564,600,600,600,600],Yacute:[667,667,667,667,722,611,556,722,600,600,600,600],Acircumflex:[722,722,667,667,722,667,611,722,600,600,600,600],aacute:[556,556,556,556,500,500,500,444,600,600,600,600],Ucircumflex:[722,722,722,722,722,722,722,722,600,600,600,600],yacute:[556,556,500,500,500,444,444,500,600,600,600,600],scommaaccent:[556,556,500,500,389,389,389,389,600,600,600,600],ecircumflex:[556,556,556,556,444,444,444,444,600,600,600,600],Uring:[722,722,722,722,722,722,722,722,600,600,600,600],Udieresis:[722,722,722,722,722,722,722,722,600,600,600,600],aogonek:[556,556,556,556,500,500,500,444,600,600,600,600],Uacute:[722,722,722,722,722,722,722,722,600,600,600,600],uogonek:[611,611,556,556,556,556,500,500,600,600,600,600],Edieresis:[667,667,667,667,667,667,611,611,600,600,600,600],Dcroat:[722,722,722,722,722,722,722,722,600,600,600,600],commaaccent:[250,250,250,250,250,250,250,250,600,600,600,600],copyright:[737,737,737,737,747,747,760,760,600,600,600,600],Emacron:[667,667,667,667,667,667,611,611,600,600,600,600],ccaron:[556,556,500,500,444,444,444,444,600,600,600,600],aring:[556,556,556,556,500,500,500,444,600,600,600,600],Ncommaaccent:[722,722,722,722,722,722,667,722,600,600,600,600],lacute:[278,278,222,222,278,278,278,278,600,600,600,600],agrave:[556,556,556,556,500,500,500,444,600,600,600,600],Tcommaaccent:[611,611,611,611,667,611,556,611,600,600,600,600],Cacute:[722,722,722,722,722,667,667,667,600,600,600,600],atilde:[556,556,556,556,500,500,500,444,600,600,600,600],Edotaccent:[667,667,667,667,667,667,611,611,600,600,600,600],scaron:[556,556,500,500,389,389,389,389,600,600,600,600],scedilla:[556,556,500,500,389,389,389,389,600,600,600,600],iacute:[278,278,278,278,278,278,278,278,600,600,600,600],lozenge:[494,494,471,471,494,494,471,471,600,600,600,600],Rcaron:[722,722,722,722,722,667,611,667,600,600,600,600],Gcommaaccent:[778,778,778,778,778,722,722,722,600,600,600,600],ucircumflex:[611,611,556,556,556,556,500,500,600,600,600,600],acircumflex:[556,556,556,556,500,500,500,444,600,600,600,600],Amacron:[722,722,667,667,722,667,611,722,600,600,600,600],rcaron:[389,389,333,333,444,389,389,333,600,600,600,600],ccedilla:[556,556,500,500,444,444,444,444,600,600,600,600],Zdotaccent:[611,611,611,611,667,611,556,611,600,600,600,600],Thorn:[667,667,667,667,611,611,611,556,600,600,600,600],Omacron:[778,778,778,778,778,722,722,722,600,600,600,600],Racute:[722,722,722,722,722,667,611,667,600,600,600,600],Sacute:[667,667,667,667,556,556,500,556,600,600,600,600],dcaron:[743,743,643,643,672,608,544,588,600,600,600,600],Umacron:[722,722,722,722,722,722,722,722,600,600,600,600],uring:[611,611,556,556,556,556,500,500,600,600,600,600],threesuperior:[333,333,333,333,300,300,300,300,600,600,600,600],Ograve:[778,778,778,778,778,722,722,722,600,600,600,600],Agrave:[722,722,667,667,722,667,611,722,600,600,600,600],Abreve:[722,722,667,667,722,667,611,722,600,600,600,600],multiply:[584,584,584,584,570,570,675,564,600,600,600,600],uacute:[611,611,556,556,556,556,500,500,600,600,600,600],Tcaron:[611,611,611,611,667,611,556,611,600,600,600,600],partialdiff:[494,494,476,476,494,494,476,476,600,600,600,600],ydieresis:[556,556,500,500,500,444,444,500,600,600,600,600],Nacute:[722,722,722,722,722,722,667,722,600,600,600,600],icircumflex:[278,278,278,278,278,278,278,278,600,600,600,600],Ecircumflex:[667,667,667,667,667,667,611,611,600,600,600,600],adieresis:[556,556,556,556,500,500,500,444,600,600,600,600],edieresis:[556,556,556,556,444,444,444,444,600,600,600,600],cacute:[556,556,500,500,444,444,444,444,600,600,600,600],nacute:[611,611,556,556,556,556,500,500,600,600,600,600],umacron:[611,611,556,556,556,556,500,500,600,600,600,600],Ncaron:[722,722,722,722,722,722,667,722,600,600,600,600],Iacute:[278,278,278,278,389,389,333,333,600,600,600,600],plusminus:[584,584,584,584,570,570,675,564,600,600,600,600],brokenbar:[280,280,260,260,220,220,275,200,600,600,600,600],registered:[737,737,737,737,747,747,760,760,600,600,600,600],Gbreve:[778,778,778,778,778,722,722,722,600,600,600,600],Idotaccent:[278,278,278,278,389,389,333,333,600,600,600,600],summation:[600,600,600,600,600,600,600,600,600,600,600,600],Egrave:[667,667,667,667,667,667,611,611,600,600,600,600],racute:[389,389,333,333,444,389,389,333,600,600,600,600],omacron:[611,611,556,556,500,500,500,500,600,600,600,600],Zacute:[611,611,611,611,667,611,556,611,600,600,600,600],Zcaron:[611,611,611,611,667,611,556,611,600,600,600,600],greaterequal:[549,549,549,549,549,549,549,549,600,600,600,600],Eth:[722,722,722,722,722,722,722,722,600,600,600,600],Ccedilla:[722,722,722,722,722,667,667,667,600,600,600,600],lcommaaccent:[278,278,222,222,278,278,278,278,600,600,600,600],tcaron:[389,389,317,317,416,366,300,326,600,600,600,600],eogonek:[556,556,556,556,444,444,444,444,600,600,600,600],Uogonek:[722,722,722,722,722,722,722,722,600,600,600,600],Aacute:[722,722,667,667,722,667,611,722,600,600,600,600],Adieresis:[722,722,667,667,722,667,611,722,600,600,600,600],egrave:[556,556,556,556,444,444,444,444,600,600,600,600],zacute:[500,500,500,500,444,389,389,444,600,600,600,600],iogonek:[278,278,222,222,278,278,278,278,600,600,600,600],Oacute:[778,778,778,778,778,722,722,722,600,600,600,600],oacute:[611,611,556,556,500,500,500,500,600,600,600,600],amacron:[556,556,556,556,500,500,500,444,600,600,600,600],sacute:[556,556,500,500,389,389,389,389,600,600,600,600],idieresis:[278,278,278,278,278,278,278,278,600,600,600,600],Ocircumflex:[778,778,778,778,778,722,722,722,600,600,600,600],Ugrave:[722,722,722,722,722,722,722,722,600,600,600,600],Delta:[612,612,612,612,612,612,612,612,600,600,600,600],thorn:[611,611,556,556,556,500,500,500,600,600,600,600],twosuperior:[333,333,333,333,300,300,300,300,600,600,600,600],Odieresis:[778,778,778,778,778,722,722,722,600,600,600,600],mu:[611,611,556,556,556,576,500,500,600,600,600,600],igrave:[278,278,278,278,278,278,278,278,600,600,600,600],ohungarumlaut:[611,611,556,556,500,500,500,500,600,600,600,600],Eogonek:[667,667,667,667,667,667,611,611,600,600,600,600],dcroat:[611,611,556,556,556,500,500,500,600,600,600,600],threequarters:[834,834,834,834,750,750,750,750,600,600,600,600],Scedilla:[667,667,667,667,556,556,500,556,600,600,600,600],lcaron:[400,400,299,299,394,382,300,344,600,600,600,600],Kcommaaccent:[722,722,667,667,778,667,667,722,600,600,600,600],Lacute:[611,611,556,556,667,611,556,611,600,600,600,600],trademark:[1e3,1e3,1e3,1e3,1e3,1e3,980,980,600,600,600,600],edotaccent:[556,556,556,556,444,444,444,444,600,600,600,600],Igrave:[278,278,278,278,389,389,333,333,600,600,600,600],Imacron:[278,278,278,278,389,389,333,333,600,600,600,600],Lcaron:[611,611,556,556,667,611,611,611,600,600,600,600],onehalf:[834,834,834,834,750,750,750,750,600,600,600,600],lessequal:[549,549,549,549,549,549,549,549,600,600,600,600],ocircumflex:[611,611,556,556,500,500,500,500,600,600,600,600],ntilde:[611,611,556,556,556,556,500,500,600,600,600,600],Uhungarumlaut:[722,722,722,722,722,722,722,722,600,600,600,600],Eacute:[667,667,667,667,667,667,611,611,600,600,600,600],emacron:[556,556,556,556,444,444,444,444,600,600,600,600],gbreve:[611,611,556,556,500,500,500,500,600,600,600,600],onequarter:[834,834,834,834,750,750,750,750,600,600,600,600],Scaron:[667,667,667,667,556,556,500,556,600,600,600,600],Scommaaccent:[667,667,667,667,556,556,500,556,600,600,600,600],Ohungarumlaut:[778,778,778,778,778,722,722,722,600,600,600,600],degree:[400,400,400,400,400,400,400,400,600,600,600,600],ograve:[611,611,556,556,500,500,500,500,600,600,600,600],Ccaron:[722,722,722,722,722,667,667,667,600,600,600,600],ugrave:[611,611,556,556,556,556,500,500,600,600,600,600],radical:[549,549,453,453,549,549,453,453,600,600,600,600],Dcaron:[722,722,722,722,722,722,722,722,600,600,600,600],rcommaaccent:[389,389,333,333,444,389,389,333,600,600,600,600],Ntilde:[722,722,722,722,722,722,667,722,600,600,600,600],otilde:[611,611,556,556,500,500,500,500,600,600,600,600],Rcommaaccent:[722,722,722,722,722,667,611,667,600,600,600,600],Lcommaaccent:[611,611,556,556,667,611,556,611,600,600,600,600],Atilde:[722,722,667,667,722,667,611,722,600,600,600,600],Aogonek:[722,722,667,667,722,667,611,722,600,600,600,600],Aring:[722,722,667,667,722,667,611,722,600,600,600,600],Otilde:[778,778,778,778,778,722,722,722,600,600,600,600],zdotaccent:[500,500,500,500,444,389,389,444,600,600,600,600],Ecaron:[667,667,667,667,667,667,611,611,600,600,600,600],Iogonek:[278,278,278,278,389,389,333,333,600,600,600,600],kcommaaccent:[556,556,500,500,556,500,444,500,600,600,600,600],minus:[584,584,584,584,570,606,675,564,600,600,600,600],Icircumflex:[278,278,278,278,389,389,333,333,600,600,600,600],ncaron:[611,611,556,556,556,556,500,500,600,600,600,600],tcommaaccent:[333,333,278,278,333,278,278,278,600,600,600,600],logicalnot:[584,584,584,584,570,606,675,564,600,600,600,600],odieresis:[611,611,556,556,500,500,500,500,600,600,600,600],udieresis:[611,611,556,556,556,556,500,500,600,600,600,600],notequal:[549,549,549,549,549,549,549,549,600,600,600,600],gcommaaccent:[611,611,556,556,500,500,500,500,600,600,600,600],eth:[611,611,556,556,500,500,500,500,600,600,600,600],zcaron:[500,500,500,500,444,389,389,444,600,600,600,600],ncommaaccent:[611,611,556,556,556,556,500,500,600,600,600,600],onesuperior:[333,333,333,333,300,300,300,300,600,600,600,600],imacron:[278,278,278,278,278,278,278,278,600,600,600,600],Euro:[556,556,556,556,500,500,500,500,600,600,600,600]},kernPairs:{AC:[-40,-40,-30,-30,-55,-65,-30,-40],ACacute:[-40,-40,-30,-30,-55,-65,-30,-40],ACcaron:[-40,-40,-30,-30,-55,-65,-30,-40],ACcedilla:[-40,-40,-30,-30,-55,-65,-30,-40],AG:[-50,-50,-30,-30,-55,-60,-35,-40],AGbreve:[-50,-50,-30,-30,-55,-60,-35,-40],AGcommaaccent:[-50,-50,-30,-30,-55,-60,-35,-40],AO:[-40,-40,-30,-30,-45,-50,-40,-55],AOacute:[-40,-40,-30,-30,-45,-50,-40,-55],AOcircumflex:[-40,-40,-30,-30,-45,-50,-40,-55],AOdieresis:[-40,-40,-30,-30,-45,-50,-40,-55],AOgrave:[-40,-40,-30,-30,-45,-50,-40,-55],AOhungarumlaut:[-40,-40,-30,-30,-45,-50,-40,-55],AOmacron:[-40,-40,-30,-30,-45,-50,-40,-55],AOslash:[-40,-40,-30,-30,-45,-50,-40,-55],AOtilde:[-40,-40,-30,-30,-45,-50,-40,-55],AQ:[-40,-40,-30,-30,-45,-55,-40,-55],AT:[-90,-90,-120,-120,-95,-55,-37,-111],ATcaron:[-90,-90,-120,-120,-95,-55,-37,-111],ATcommaaccent:[-90,-90,-120,-120,-95,-55,-37,-111],AU:[-50,-50,-50,-50,-50,-50,-50,-55],AUacute:[-50,-50,-50,-50,-50,-50,-50,-55],AUcircumflex:[-50,-50,-50,-50,-50,-50,-50,-55],AUdieresis:[-50,-50,-50,-50,-50,-50,-50,-55],AUgrave:[-50,-50,-50,-50,-50,-50,-50,-55],AUhungarumlaut:[-50,-50,-50,-50,-50,-50,-50,-55],AUmacron:[-50,-50,-50,-50,-50,-50,-50,-55],AUogonek:[-50,-50,-50,-50,-50,-50,-50,-55],AUring:[-50,-50,-50,-50,-50,-50,-50,-55],AV:[-80,-80,-70,-70,-145,-95,-105,-135],AW:[-60,-60,-50,-50,-130,-100,-95,-90],AY:[-110,-110,-100,-100,-100,-70,-55,-105],AYacute:[-110,-110,-100,-100,-100,-70,-55,-105],AYdieresis:[-110,-110,-100,-100,-100,-70,-55,-105],Au:[-30,-30,-30,-30,-50,-30,-20],Auacute:[-30,-30,-30,-30,-50,-30,-20],Aucircumflex:[-30,-30,-30,-30,-50,-30,-20],Audieresis:[-30,-30,-30,-30,-50,-30,-20],Augrave:[-30,-30,-30,-30,-50,-30,-20],Auhungarumlaut:[-30,-30,-30,-30,-50,-30,-20],Aumacron:[-30,-30,-30,-30,-50,-30,-20],Auogonek:[-30,-30,-30,-30,-50,-30,-20],Auring:[-30,-30,-30,-30,-50,-30,-20],Av:[-40,-40,-40,-40,-100,-74,-55,-74],Aw:[-30,-30,-40,-40,-90,-74,-55,-92],Ay:[-30,-30,-40,-40,-74,-74,-55,-92],Ayacute:[-30,-30,-40,-40,-74,-74,-55,-92],Aydieresis:[-30,-30,-40,-40,-74,-74,-55,-92],AacuteC:[-40,-40,-30,-30,-55,-65,-30,-40],AacuteCacute:[-40,-40,-30,-30,-55,-65,-30,-40],AacuteCcaron:[-40,-40,-30,-30,-55,-65,-30,-40],AacuteCcedilla:[-40,-40,-30,-30,-55,-65,-30,-40],AacuteG:[-50,-50,-30,-30,-55,-60,-35,-40],AacuteGbreve:[-50,-50,-30,-30,-55,-60,-35,-40],AacuteGcommaaccent:[-50,-50,-30,-30,-55,-60,-35,-40],AacuteO:[-40,-40,-30,-30,-45,-50,-40,-55],AacuteOacute:[-40,-40,-30,-30,-45,-50,-40,-55],AacuteOcircumflex:[-40,-40,-30,-30,-45,-50,-40,-55],AacuteOdieresis:[-40,-40,-30,-30,-45,-50,-40,-55],AacuteOgrave:[-40,-40,-30,-30,-45,-50,-40,-55],AacuteOhungarumlaut:[-40,-40,-30,-30,-45,-50,-40,-55],AacuteOmacron:[-40,-40,-30,-30,-45,-50,-40,-55],AacuteOslash:[-40,-40,-30,-30,-45,-50,-40,-55],AacuteOtilde:[-40,-40,-30,-30,-45,-50,-40,-55],AacuteQ:[-40,-40,-30,-30,-45,-55,-40,-55],AacuteT:[-90,-90,-120,-120,-95,-55,-37,-111],AacuteTcaron:[-90,-90,-120,-120,-95,-55,-37,-111],AacuteTcommaaccent:[-90,-90,-120,-120,-95,-55,-37,-111],AacuteU:[-50,-50,-50,-50,-50,-50,-50,-55],AacuteUacute:[-50,-50,-50,-50,-50,-50,-50,-55],AacuteUcircumflex:[-50,-50,-50,-50,-50,-50,-50,-55],AacuteUdieresis:[-50,-50,-50,-50,-50,-50,-50,-55],AacuteUgrave:[-50,-50,-50,-50,-50,-50,-50,-55],AacuteUhungarumlaut:[-50,-50,-50,-50,-50,-50,-50,-55],AacuteUmacron:[-50,-50,-50,-50,-50,-50,-50,-55],AacuteUogonek:[-50,-50,-50,-50,-50,-50,-50,-55],AacuteUring:[-50,-50,-50,-50,-50,-50,-50,-55],AacuteV:[-80,-80,-70,-70,-145,-95,-105,-135],AacuteW:[-60,-60,-50,-50,-130,-100,-95,-90],AacuteY:[-110,-110,-100,-100,-100,-70,-55,-105],AacuteYacute:[-110,-110,-100,-100,-100,-70,-55,-105],AacuteYdieresis:[-110,-110,-100,-100,-100,-70,-55,-105],Aacuteu:[-30,-30,-30,-30,-50,-30,-20],Aacuteuacute:[-30,-30,-30,-30,-50,-30,-20],Aacuteucircumflex:[-30,-30,-30,-30,-50,-30,-20],Aacuteudieresis:[-30,-30,-30,-30,-50,-30,-20],Aacuteugrave:[-30,-30,-30,-30,-50,-30,-20],Aacuteuhungarumlaut:[-30,-30,-30,-30,-50,-30,-20],Aacuteumacron:[-30,-30,-30,-30,-50,-30,-20],Aacuteuogonek:[-30,-30,-30,-30,-50,-30,-20],Aacuteuring:[-30,-30,-30,-30,-50,-30,-20],Aacutev:[-40,-40,-40,-40,-100,-74,-55,-74],Aacutew:[-30,-30,-40,-40,-90,-74,-55,-92],Aacutey:[-30,-30,-40,-40,-74,-74,-55,-92],Aacuteyacute:[-30,-30,-40,-40,-74,-74,-55,-92],Aacuteydieresis:[-30,-30,-40,-40,-74,-74,-55,-92],AbreveC:[-40,-40,-30,-30,-55,-65,-30,-40],AbreveCacute:[-40,-40,-30,-30,-55,-65,-30,-40],AbreveCcaron:[-40,-40,-30,-30,-55,-65,-30,-40],AbreveCcedilla:[-40,-40,-30,-30,-55,-65,-30,-40],AbreveG:[-50,-50,-30,-30,-55,-60,-35,-40],AbreveGbreve:[-50,-50,-30,-30,-55,-60,-35,-40],AbreveGcommaaccent:[-50,-50,-30,-30,-55,-60,-35,-40],AbreveO:[-40,-40,-30,-30,-45,-50,-40,-55],AbreveOacute:[-40,-40,-30,-30,-45,-50,-40,-55],AbreveOcircumflex:[-40,-40,-30,-30,-45,-50,-40,-55],AbreveOdieresis:[-40,-40,-30,-30,-45,-50,-40,-55],AbreveOgrave:[-40,-40,-30,-30,-45,-50,-40,-55],AbreveOhungarumlaut:[-40,-40,-30,-30,-45,-50,-40,-55],AbreveOmacron:[-40,-40,-30,-30,-45,-50,-40,-55],AbreveOslash:[-40,-40,-30,-30,-45,-50,-40,-55],AbreveOtilde:[-40,-40,-30,-30,-45,-50,-40,-55],AbreveQ:[-40,-40,-30,-30,-45,-55,-40,-55],AbreveT:[-90,-90,-120,-120,-95,-55,-37,-111],AbreveTcaron:[-90,-90,-120,-120,-95,-55,-37,-111],AbreveTcommaaccent:[-90,-90,-120,-120,-95,-55,-37,-111],AbreveU:[-50,-50,-50,-50,-50,-50,-50,-55],AbreveUacute:[-50,-50,-50,-50,-50,-50,-50,-55],AbreveUcircumflex:[-50,-50,-50,-50,-50,-50,-50,-55],AbreveUdieresis:[-50,-50,-50,-50,-50,-50,-50,-55],AbreveUgrave:[-50,-50,-50,-50,-50,-50,-50,-55],AbreveUhungarumlaut:[-50,-50,-50,-50,-50,-50,-50,-55],AbreveUmacron:[-50,-50,-50,-50,-50,-50,-50,-55],AbreveUogonek:[-50,-50,-50,-50,-50,-50,-50,-55],AbreveUring:[-50,-50,-50,-50,-50,-50,-50,-55],AbreveV:[-80,-80,-70,-70,-145,-95,-105,-135],AbreveW:[-60,-60,-50,-50,-130,-100,-95,-90],AbreveY:[-110,-110,-100,-100,-100,-70,-55,-105],AbreveYacute:[-110,-110,-100,-100,-100,-70,-55,-105],AbreveYdieresis:[-110,-110,-100,-100,-100,-70,-55,-105],Abreveu:[-30,-30,-30,-30,-50,-30,-20],Abreveuacute:[-30,-30,-30,-30,-50,-30,-20],Abreveucircumflex:[-30,-30,-30,-30,-50,-30,-20],Abreveudieresis:[-30,-30,-30,-30,-50,-30,-20],Abreveugrave:[-30,-30,-30,-30,-50,-30,-20],Abreveuhungarumlaut:[-30,-30,-30,-30,-50,-30,-20],Abreveumacron:[-30,-30,-30,-30,-50,-30,-20],Abreveuogonek:[-30,-30,-30,-30,-50,-30,-20],Abreveuring:[-30,-30,-30,-30,-50,-30,-20],Abrevev:[-40,-40,-40,-40,-100,-74,-55,-74],Abrevew:[-30,-30,-40,-40,-90,-74,-55,-92],Abrevey:[-30,-30,-40,-40,-74,-74,-55,-92],Abreveyacute:[-30,-30,-40,-40,-74,-74,-55,-92],Abreveydieresis:[-30,-30,-40,-40,-74,-74,-55,-92],AcircumflexC:[-40,-40,-30,-30,-55,-65,-30,-40],AcircumflexCacute:[-40,-40,-30,-30,-55,-65,-30,-40],AcircumflexCcaron:[-40,-40,-30,-30,-55,-65,-30,-40],AcircumflexCcedilla:[-40,-40,-30,-30,-55,-65,-30,-40],AcircumflexG:[-50,-50,-30,-30,-55,-60,-35,-40],AcircumflexGbreve:[-50,-50,-30,-30,-55,-60,-35,-40],AcircumflexGcommaaccent:[-50,-50,-30,-30,-55,-60,-35,-40],AcircumflexO:[-40,-40,-30,-30,-45,-50,-40,-55],AcircumflexOacute:[-40,-40,-30,-30,-45,-50,-40,-55],AcircumflexOcircumflex:[-40,-40,-30,-30,-45,-50,-40,-55],AcircumflexOdieresis:[-40,-40,-30,-30,-45,-50,-40,-55],AcircumflexOgrave:[-40,-40,-30,-30,-45,-50,-40,-55],AcircumflexOhungarumlaut:[-40,-40,-30,-30,-45,-50,-40,-55],AcircumflexOmacron:[-40,-40,-30,-30,-45,-50,-40,-55],AcircumflexOslash:[-40,-40,-30,-30,-45,-50,-40,-55],AcircumflexOtilde:[-40,-40,-30,-30,-45,-50,-40,-55],AcircumflexQ:[-40,-40,-30,-30,-45,-55,-40,-55],AcircumflexT:[-90,-90,-120,-120,-95,-55,-37,-111],AcircumflexTcaron:[-90,-90,-120,-120,-95,-55,-37,-111],AcircumflexTcommaaccent:[-90,-90,-120,-120,-95,-55,-37,-111],AcircumflexU:[-50,-50,-50,-50,-50,-50,-50,-55],AcircumflexUacute:[-50,-50,-50,-50,-50,-50,-50,-55],AcircumflexUcircumflex:[-50,-50,-50,-50,-50,-50,-50,-55],AcircumflexUdieresis:[-50,-50,-50,-50,-50,-50,-50,-55],AcircumflexUgrave:[-50,-50,-50,-50,-50,-50,-50,-55],AcircumflexUhungarumlaut:[-50,-50,-50,-50,-50,-50,-50,-55],AcircumflexUmacron:[-50,-50,-50,-50,-50,-50,-50,-55],AcircumflexUogonek:[-50,-50,-50,-50,-50,-50,-50,-55],AcircumflexUring:[-50,-50,-50,-50,-50,-50,-50,-55],AcircumflexV:[-80,-80,-70,-70,-145,-95,-105,-135],AcircumflexW:[-60,-60,-50,-50,-130,-100,-95,-90],AcircumflexY:[-110,-110,-100,-100,-100,-70,-55,-105],AcircumflexYacute:[-110,-110,-100,-100,-100,-70,-55,-105],AcircumflexYdieresis:[-110,-110,-100,-100,-100,-70,-55,-105],Acircumflexu:[-30,-30,-30,-30,-50,-30,-20],Acircumflexuacute:[-30,-30,-30,-30,-50,-30,-20],Acircumflexucircumflex:[-30,-30,-30,-30,-50,-30,-20],Acircumflexudieresis:[-30,-30,-30,-30,-50,-30,-20],Acircumflexugrave:[-30,-30,-30,-30,-50,-30,-20],Acircumflexuhungarumlaut:[-30,-30,-30,-30,-50,-30,-20],Acircumflexumacron:[-30,-30,-30,-30,-50,-30,-20],Acircumflexuogonek:[-30,-30,-30,-30,-50,-30,-20],Acircumflexuring:[-30,-30,-30,-30,-50,-30,-20],Acircumflexv:[-40,-40,-40,-40,-100,-74,-55,-74],Acircumflexw:[-30,-30,-40,-40,-90,-74,-55,-92],Acircumflexy:[-30,-30,-40,-40,-74,-74,-55,-92],Acircumflexyacute:[-30,-30,-40,-40,-74,-74,-55,-92],Acircumflexydieresis:[-30,-30,-40,-40,-74,-74,-55,-92],AdieresisC:[-40,-40,-30,-30,-55,-65,-30,-40],AdieresisCacute:[-40,-40,-30,-30,-55,-65,-30,-40],AdieresisCcaron:[-40,-40,-30,-30,-55,-65,-30,-40],AdieresisCcedilla:[-40,-40,-30,-30,-55,-65,-30,-40],AdieresisG:[-50,-50,-30,-30,-55,-60,-35,-40],AdieresisGbreve:[-50,-50,-30,-30,-55,-60,-35,-40],AdieresisGcommaaccent:[-50,-50,-30,-30,-55,-60,-35,-40],AdieresisO:[-40,-40,-30,-30,-45,-50,-40,-55],AdieresisOacute:[-40,-40,-30,-30,-45,-50,-40,-55],AdieresisOcircumflex:[-40,-40,-30,-30,-45,-50,-40,-55],AdieresisOdieresis:[-40,-40,-30,-30,-45,-50,-40,-55],AdieresisOgrave:[-40,-40,-30,-30,-45,-50,-40,-55],AdieresisOhungarumlaut:[-40,-40,-30,-30,-45,-50,-40,-55],AdieresisOmacron:[-40,-40,-30,-30,-45,-50,-40,-55],AdieresisOslash:[-40,-40,-30,-30,-45,-50,-40,-55],AdieresisOtilde:[-40,-40,-30,-30,-45,-50,-40,-55],AdieresisQ:[-40,-40,-30,-30,-45,-55,-40,-55],AdieresisT:[-90,-90,-120,-120,-95,-55,-37,-111],AdieresisTcaron:[-90,-90,-120,-120,-95,-55,-37,-111],AdieresisTcommaaccent:[-90,-90,-120,-120,-95,-55,-37,-111],AdieresisU:[-50,-50,-50,-50,-50,-50,-50,-55],AdieresisUacute:[-50,-50,-50,-50,-50,-50,-50,-55],AdieresisUcircumflex:[-50,-50,-50,-50,-50,-50,-50,-55],AdieresisUdieresis:[-50,-50,-50,-50,-50,-50,-50,-55],AdieresisUgrave:[-50,-50,-50,-50,-50,-50,-50,-55],AdieresisUhungarumlaut:[-50,-50,-50,-50,-50,-50,-50,-55],AdieresisUmacron:[-50,-50,-50,-50,-50,-50,-50,-55],AdieresisUogonek:[-50,-50,-50,-50,-50,-50,-50,-55],AdieresisUring:[-50,-50,-50,-50,-50,-50,-50,-55],AdieresisV:[-80,-80,-70,-70,-145,-95,-105,-135],AdieresisW:[-60,-60,-50,-50,-130,-100,-95,-90],AdieresisY:[-110,-110,-100,-100,-100,-70,-55,-105],AdieresisYacute:[-110,-110,-100,-100,-100,-70,-55,-105],AdieresisYdieresis:[-110,-110,-100,-100,-100,-70,-55,-105],Adieresisu:[-30,-30,-30,-30,-50,-30,-20],Adieresisuacute:[-30,-30,-30,-30,-50,-30,-20],Adieresisucircumflex:[-30,-30,-30,-30,-50,-30,-20],Adieresisudieresis:[-30,-30,-30,-30,-50,-30,-20],Adieresisugrave:[-30,-30,-30,-30,-50,-30,-20],Adieresisuhungarumlaut:[-30,-30,-30,-30,-50,-30,-20],Adieresisumacron:[-30,-30,-30,-30,-50,-30,-20],Adieresisuogonek:[-30,-30,-30,-30,-50,-30,-20],Adieresisuring:[-30,-30,-30,-30,-50,-30,-20],Adieresisv:[-40,-40,-40,-40,-100,-74,-55,-74],Adieresisw:[-30,-30,-40,-40,-90,-74,-55,-92],Adieresisy:[-30,-30,-40,-40,-74,-74,-55,-92],Adieresisyacute:[-30,-30,-40,-40,-74,-74,-55,-92],Adieresisydieresis:[-30,-30,-40,-40,-74,-74,-55,-92],AgraveC:[-40,-40,-30,-30,-55,-65,-30,-40],AgraveCacute:[-40,-40,-30,-30,-55,-65,-30,-40],AgraveCcaron:[-40,-40,-30,-30,-55,-65,-30,-40],AgraveCcedilla:[-40,-40,-30,-30,-55,-65,-30,-40],AgraveG:[-50,-50,-30,-30,-55,-60,-35,-40],AgraveGbreve:[-50,-50,-30,-30,-55,-60,-35,-40],AgraveGcommaaccent:[-50,-50,-30,-30,-55,-60,-35,-40],AgraveO:[-40,-40,-30,-30,-45,-50,-40,-55],AgraveOacute:[-40,-40,-30,-30,-45,-50,-40,-55],AgraveOcircumflex:[-40,-40,-30,-30,-45,-50,-40,-55],AgraveOdieresis:[-40,-40,-30,-30,-45,-50,-40,-55],AgraveOgrave:[-40,-40,-30,-30,-45,-50,-40,-55],AgraveOhungarumlaut:[-40,-40,-30,-30,-45,-50,-40,-55],AgraveOmacron:[-40,-40,-30,-30,-45,-50,-40,-55],AgraveOslash:[-40,-40,-30,-30,-45,-50,-40,-55],AgraveOtilde:[-40,-40,-30,-30,-45,-50,-40,-55],AgraveQ:[-40,-40,-30,-30,-45,-55,-40,-55],AgraveT:[-90,-90,-120,-120,-95,-55,-37,-111],AgraveTcaron:[-90,-90,-120,-120,-95,-55,-37,-111],AgraveTcommaaccent:[-90,-90,-120,-120,-95,-55,-37,-111],AgraveU:[-50,-50,-50,-50,-50,-50,-50,-55],AgraveUacute:[-50,-50,-50,-50,-50,-50,-50,-55],AgraveUcircumflex:[-50,-50,-50,-50,-50,-50,-50,-55],AgraveUdieresis:[-50,-50,-50,-50,-50,-50,-50,-55],AgraveUgrave:[-50,-50,-50,-50,-50,-50,-50,-55],AgraveUhungarumlaut:[-50,-50,-50,-50,-50,-50,-50,-55],AgraveUmacron:[-50,-50,-50,-50,-50,-50,-50,-55],AgraveUogonek:[-50,-50,-50,-50,-50,-50,-50,-55],AgraveUring:[-50,-50,-50,-50,-50,-50,-50,-55],AgraveV:[-80,-80,-70,-70,-145,-95,-105,-135],AgraveW:[-60,-60,-50,-50,-130,-100,-95,-90],AgraveY:[-110,-110,-100,-100,-100,-70,-55,-105],AgraveYacute:[-110,-110,-100,-100,-100,-70,-55,-105],AgraveYdieresis:[-110,-110,-100,-100,-100,-70,-55,-105],Agraveu:[-30,-30,-30,-30,-50,-30,-20],Agraveuacute:[-30,-30,-30,-30,-50,-30,-20],Agraveucircumflex:[-30,-30,-30,-30,-50,-30,-20],Agraveudieresis:[-30,-30,-30,-30,-50,-30,-20],Agraveugrave:[-30,-30,-30,-30,-50,-30,-20],Agraveuhungarumlaut:[-30,-30,-30,-30,-50,-30,-20],Agraveumacron:[-30,-30,-30,-30,-50,-30,-20],Agraveuogonek:[-30,-30,-30,-30,-50,-30,-20],Agraveuring:[-30,-30,-30,-30,-50,-30,-20],Agravev:[-40,-40,-40,-40,-100,-74,-55,-74],Agravew:[-30,-30,-40,-40,-90,-74,-55,-92],Agravey:[-30,-30,-40,-40,-74,-74,-55,-92],Agraveyacute:[-30,-30,-40,-40,-74,-74,-55,-92],Agraveydieresis:[-30,-30,-40,-40,-74,-74,-55,-92],AmacronC:[-40,-40,-30,-30,-55,-65,-30,-40],AmacronCacute:[-40,-40,-30,-30,-55,-65,-30,-40],AmacronCcaron:[-40,-40,-30,-30,-55,-65,-30,-40],AmacronCcedilla:[-40,-40,-30,-30,-55,-65,-30,-40],AmacronG:[-50,-50,-30,-30,-55,-60,-35,-40],AmacronGbreve:[-50,-50,-30,-30,-55,-60,-35,-40],AmacronGcommaaccent:[-50,-50,-30,-30,-55,-60,-35,-40],AmacronO:[-40,-40,-30,-30,-45,-50,-40,-55],AmacronOacute:[-40,-40,-30,-30,-45,-50,-40,-55],AmacronOcircumflex:[-40,-40,-30,-30,-45,-50,-40,-55],AmacronOdieresis:[-40,-40,-30,-30,-45,-50,-40,-55],AmacronOgrave:[-40,-40,-30,-30,-45,-50,-40,-55],AmacronOhungarumlaut:[-40,-40,-30,-30,-45,-50,-40,-55],AmacronOmacron:[-40,-40,-30,-30,-45,-50,-40,-55],AmacronOslash:[-40,-40,-30,-30,-45,-50,-40,-55],AmacronOtilde:[-40,-40,-30,-30,-45,-50,-40,-55],AmacronQ:[-40,-40,-30,-30,-45,-55,-40,-55],AmacronT:[-90,-90,-120,-120,-95,-55,-37,-111],AmacronTcaron:[-90,-90,-120,-120,-95,-55,-37,-111],AmacronTcommaaccent:[-90,-90,-120,-120,-95,-55,-37,-111],AmacronU:[-50,-50,-50,-50,-50,-50,-50,-55],AmacronUacute:[-50,-50,-50,-50,-50,-50,-50,-55],AmacronUcircumflex:[-50,-50,-50,-50,-50,-50,-50,-55],AmacronUdieresis:[-50,-50,-50,-50,-50,-50,-50,-55],AmacronUgrave:[-50,-50,-50,-50,-50,-50,-50,-55],AmacronUhungarumlaut:[-50,-50,-50,-50,-50,-50,-50,-55],AmacronUmacron:[-50,-50,-50,-50,-50,-50,-50,-55],AmacronUogonek:[-50,-50,-50,-50,-50,-50,-50,-55],AmacronUring:[-50,-50,-50,-50,-50,-50,-50,-55],AmacronV:[-80,-80,-70,-70,-145,-95,-105,-135],AmacronW:[-60,-60,-50,-50,-130,-100,-95,-90],AmacronY:[-110,-110,-100,-100,-100,-70,-55,-105],AmacronYacute:[-110,-110,-100,-100,-100,-70,-55,-105],AmacronYdieresis:[-110,-110,-100,-100,-100,-70,-55,-105],Amacronu:[-30,-30,-30,-30,-50,-30,-20],Amacronuacute:[-30,-30,-30,-30,-50,-30,-20],Amacronucircumflex:[-30,-30,-30,-30,-50,-30,-20],Amacronudieresis:[-30,-30,-30,-30,-50,-30,-20],Amacronugrave:[-30,-30,-30,-30,-50,-30,-20],Amacronuhungarumlaut:[-30,-30,-30,-30,-50,-30,-20],Amacronumacron:[-30,-30,-30,-30,-50,-30,-20],Amacronuogonek:[-30,-30,-30,-30,-50,-30,-20],Amacronuring:[-30,-30,-30,-30,-50,-30,-20],Amacronv:[-40,-40,-40,-40,-100,-74,-55,-74],Amacronw:[-30,-30,-40,-40,-90,-74,-55,-92],Amacrony:[-30,-30,-40,-40,-74,-74,-55,-92],Amacronyacute:[-30,-30,-40,-40,-74,-74,-55,-92],Amacronydieresis:[-30,-30,-40,-40,-74,-74,-55,-92],AogonekC:[-40,-40,-30,-30,-55,-65,-30,-40],AogonekCacute:[-40,-40,-30,-30,-55,-65,-30,-40],AogonekCcaron:[-40,-40,-30,-30,-55,-65,-30,-40],AogonekCcedilla:[-40,-40,-30,-30,-55,-65,-30,-40],AogonekG:[-50,-50,-30,-30,-55,-60,-35,-40],AogonekGbreve:[-50,-50,-30,-30,-55,-60,-35,-40],AogonekGcommaaccent:[-50,-50,-30,-30,-55,-60,-35,-40],AogonekO:[-40,-40,-30,-30,-45,-50,-40,-55],AogonekOacute:[-40,-40,-30,-30,-45,-50,-40,-55],AogonekOcircumflex:[-40,-40,-30,-30,-45,-50,-40,-55],AogonekOdieresis:[-40,-40,-30,-30,-45,-50,-40,-55],AogonekOgrave:[-40,-40,-30,-30,-45,-50,-40,-55],AogonekOhungarumlaut:[-40,-40,-30,-30,-45,-50,-40,-55],AogonekOmacron:[-40,-40,-30,-30,-45,-50,-40,-55],AogonekOslash:[-40,-40,-30,-30,-45,-50,-40,-55],AogonekOtilde:[-40,-40,-30,-30,-45,-50,-40,-55],AogonekQ:[-40,-40,-30,-30,-45,-55,-40,-55],AogonekT:[-90,-90,-120,-120,-95,-55,-37,-111],AogonekTcaron:[-90,-90,-120,-120,-95,-55,-37,-111],AogonekTcommaaccent:[-90,-90,-120,-120,-95,-55,-37,-111],AogonekU:[-50,-50,-50,-50,-50,-50,-50,-55],AogonekUacute:[-50,-50,-50,-50,-50,-50,-50,-55],AogonekUcircumflex:[-50,-50,-50,-50,-50,-50,-50,-55],AogonekUdieresis:[-50,-50,-50,-50,-50,-50,-50,-55],AogonekUgrave:[-50,-50,-50,-50,-50,-50,-50,-55],AogonekUhungarumlaut:[-50,-50,-50,-50,-50,-50,-50,-55],AogonekUmacron:[-50,-50,-50,-50,-50,-50,-50,-55],AogonekUogonek:[-50,-50,-50,-50,-50,-50,-50,-55],AogonekUring:[-50,-50,-50,-50,-50,-50,-50,-55],AogonekV:[-80,-80,-70,-70,-145,-95,-105,-135],AogonekW:[-60,-60,-50,-50,-130,-100,-95,-90],AogonekY:[-110,-110,-100,-100,-100,-70,-55,-105],AogonekYacute:[-110,-110,-100,-100,-100,-70,-55,-105],AogonekYdieresis:[-110,-110,-100,-100,-100,-70,-55,-105],Aogoneku:[-30,-30,-30,-30,-50,-30,-20],Aogonekuacute:[-30,-30,-30,-30,-50,-30,-20],Aogonekucircumflex:[-30,-30,-30,-30,-50,-30,-20],Aogonekudieresis:[-30,-30,-30,-30,-50,-30,-20],Aogonekugrave:[-30,-30,-30,-30,-50,-30,-20],Aogonekuhungarumlaut:[-30,-30,-30,-30,-50,-30,-20],Aogonekumacron:[-30,-30,-30,-30,-50,-30,-20],Aogonekuogonek:[-30,-30,-30,-30,-50,-30,-20],Aogonekuring:[-30,-30,-30,-30,-50,-30,-20],Aogonekv:[-40,-40,-40,-40,-100,-74,-55,-74],Aogonekw:[-30,-30,-40,-40,-90,-74,-55,-52],Aogoneky:[-30,-30,-40,-40,-34,-34,-55,-52],Aogonekyacute:[-30,-30,-40,-40,-34,-34,-55,-52],Aogonekydieresis:[-30,-30,-40,-40,-34,-34,-55,-52],AringC:[-40,-40,-30,-30,-55,-65,-30,-40],AringCacute:[-40,-40,-30,-30,-55,-65,-30,-40],AringCcaron:[-40,-40,-30,-30,-55,-65,-30,-40],AringCcedilla:[-40,-40,-30,-30,-55,-65,-30,-40],AringG:[-50,-50,-30,-30,-55,-60,-35,-40],AringGbreve:[-50,-50,-30,-30,-55,-60,-35,-40],AringGcommaaccent:[-50,-50,-30,-30,-55,-60,-35,-40],AringO:[-40,-40,-30,-30,-45,-50,-40,-55],AringOacute:[-40,-40,-30,-30,-45,-50,-40,-55],AringOcircumflex:[-40,-40,-30,-30,-45,-50,-40,-55],AringOdieresis:[-40,-40,-30,-30,-45,-50,-40,-55],AringOgrave:[-40,-40,-30,-30,-45,-50,-40,-55],AringOhungarumlaut:[-40,-40,-30,-30,-45,-50,-40,-55],AringOmacron:[-40,-40,-30,-30,-45,-50,-40,-55],AringOslash:[-40,-40,-30,-30,-45,-50,-40,-55],AringOtilde:[-40,-40,-30,-30,-45,-50,-40,-55],AringQ:[-40,-40,-30,-30,-45,-55,-40,-55],AringT:[-90,-90,-120,-120,-95,-55,-37,-111],AringTcaron:[-90,-90,-120,-120,-95,-55,-37,-111],AringTcommaaccent:[-90,-90,-120,-120,-95,-55,-37,-111],AringU:[-50,-50,-50,-50,-50,-50,-50,-55],AringUacute:[-50,-50,-50,-50,-50,-50,-50,-55],AringUcircumflex:[-50,-50,-50,-50,-50,-50,-50,-55],AringUdieresis:[-50,-50,-50,-50,-50,-50,-50,-55],AringUgrave:[-50,-50,-50,-50,-50,-50,-50,-55],AringUhungarumlaut:[-50,-50,-50,-50,-50,-50,-50,-55],AringUmacron:[-50,-50,-50,-50,-50,-50,-50,-55],AringUogonek:[-50,-50,-50,-50,-50,-50,-50,-55],AringUring:[-50,-50,-50,-50,-50,-50,-50,-55],AringV:[-80,-80,-70,-70,-145,-95,-105,-135],AringW:[-60,-60,-50,-50,-130,-100,-95,-90],AringY:[-110,-110,-100,-100,-100,-70,-55,-105],AringYacute:[-110,-110,-100,-100,-100,-70,-55,-105],AringYdieresis:[-110,-110,-100,-100,-100,-70,-55,-105],Aringu:[-30,-30,-30,-30,-50,-30,-20],Aringuacute:[-30,-30,-30,-30,-50,-30,-20],Aringucircumflex:[-30,-30,-30,-30,-50,-30,-20],Aringudieresis:[-30,-30,-30,-30,-50,-30,-20],Aringugrave:[-30,-30,-30,-30,-50,-30,-20],Aringuhungarumlaut:[-30,-30,-30,-30,-50,-30,-20],Aringumacron:[-30,-30,-30,-30,-50,-30,-20],Aringuogonek:[-30,-30,-30,-30,-50,-30,-20],Aringuring:[-30,-30,-30,-30,-50,-30,-20],Aringv:[-40,-40,-40,-40,-100,-74,-55,-74],Aringw:[-30,-30,-40,-40,-90,-74,-55,-92],Aringy:[-30,-30,-40,-40,-74,-74,-55,-92],Aringyacute:[-30,-30,-40,-40,-74,-74,-55,-92],Aringydieresis:[-30,-30,-40,-40,-74,-74,-55,-92],AtildeC:[-40,-40,-30,-30,-55,-65,-30,-40],AtildeCacute:[-40,-40,-30,-30,-55,-65,-30,-40],AtildeCcaron:[-40,-40,-30,-30,-55,-65,-30,-40],AtildeCcedilla:[-40,-40,-30,-30,-55,-65,-30,-40],AtildeG:[-50,-50,-30,-30,-55,-60,-35,-40],AtildeGbreve:[-50,-50,-30,-30,-55,-60,-35,-40],AtildeGcommaaccent:[-50,-50,-30,-30,-55,-60,-35,-40],AtildeO:[-40,-40,-30,-30,-45,-50,-40,-55],AtildeOacute:[-40,-40,-30,-30,-45,-50,-40,-55],AtildeOcircumflex:[-40,-40,-30,-30,-45,-50,-40,-55],AtildeOdieresis:[-40,-40,-30,-30,-45,-50,-40,-55],AtildeOgrave:[-40,-40,-30,-30,-45,-50,-40,-55],AtildeOhungarumlaut:[-40,-40,-30,-30,-45,-50,-40,-55],AtildeOmacron:[-40,-40,-30,-30,-45,-50,-40,-55],AtildeOslash:[-40,-40,-30,-30,-45,-50,-40,-55],AtildeOtilde:[-40,-40,-30,-30,-45,-50,-40,-55],AtildeQ:[-40,-40,-30,-30,-45,-55,-40,-55],AtildeT:[-90,-90,-120,-120,-95,-55,-37,-111],AtildeTcaron:[-90,-90,-120,-120,-95,-55,-37,-111],AtildeTcommaaccent:[-90,-90,-120,-120,-95,-55,-37,-111],AtildeU:[-50,-50,-50,-50,-50,-50,-50,-55],AtildeUacute:[-50,-50,-50,-50,-50,-50,-50,-55],AtildeUcircumflex:[-50,-50,-50,-50,-50,-50,-50,-55],AtildeUdieresis:[-50,-50,-50,-50,-50,-50,-50,-55],AtildeUgrave:[-50,-50,-50,-50,-50,-50,-50,-55],AtildeUhungarumlaut:[-50,-50,-50,-50,-50,-50,-50,-55],AtildeUmacron:[-50,-50,-50,-50,-50,-50,-50,-55],AtildeUogonek:[-50,-50,-50,-50,-50,-50,-50,-55],AtildeUring:[-50,-50,-50,-50,-50,-50,-50,-55],AtildeV:[-80,-80,-70,-70,-145,-95,-105,-135],AtildeW:[-60,-60,-50,-50,-130,-100,-95,-90],AtildeY:[-110,-110,-100,-100,-100,-70,-55,-105],AtildeYacute:[-110,-110,-100,-100,-100,-70,-55,-105],AtildeYdieresis:[-110,-110,-100,-100,-100,-70,-55,-105],Atildeu:[-30,-30,-30,-30,-50,-30,-20],Atildeuacute:[-30,-30,-30,-30,-50,-30,-20],Atildeucircumflex:[-30,-30,-30,-30,-50,-30,-20],Atildeudieresis:[-30,-30,-30,-30,-50,-30,-20],Atildeugrave:[-30,-30,-30,-30,-50,-30,-20],Atildeuhungarumlaut:[-30,-30,-30,-30,-50,-30,-20],Atildeumacron:[-30,-30,-30,-30,-50,-30,-20],Atildeuogonek:[-30,-30,-30,-30,-50,-30,-20],Atildeuring:[-30,-30,-30,-30,-50,-30,-20],Atildev:[-40,-40,-40,-40,-100,-74,-55,-74],Atildew:[-30,-30,-40,-40,-90,-74,-55,-92],Atildey:[-30,-30,-40,-40,-74,-74,-55,-92],Atildeyacute:[-30,-30,-40,-40,-74,-74,-55,-92],Atildeydieresis:[-30,-30,-40,-40,-74,-74,-55,-92],BA:[-30,-30,0,0,-30,-25,-25,-35],BAacute:[-30,-30,0,0,-30,-25,-25,-35],BAbreve:[-30,-30,0,0,-30,-25,-25,-35],BAcircumflex:[-30,-30,0,0,-30,-25,-25,-35],BAdieresis:[-30,-30,0,0,-30,-25,-25,-35],BAgrave:[-30,-30,0,0,-30,-25,-25,-35],BAmacron:[-30,-30,0,0,-30,-25,-25,-35],BAogonek:[-30,-30,0,0,-30,-25,-25,-35],BAring:[-30,-30,0,0,-30,-25,-25,-35],BAtilde:[-30,-30,0,0,-30,-25,-25,-35],BU:[-10,-10,-10,-10,-10,-10,-10,-10],BUacute:[-10,-10,-10,-10,-10,-10,-10,-10],BUcircumflex:[-10,-10,-10,-10,-10,-10,-10,-10],BUdieresis:[-10,-10,-10,-10,-10,-10,-10,-10],BUgrave:[-10,-10,-10,-10,-10,-10,-10,-10],BUhungarumlaut:[-10,-10,-10,-10,-10,-10,-10,-10],BUmacron:[-10,-10,-10,-10,-10,-10,-10,-10],BUogonek:[-10,-10,-10,-10,-10,-10,-10,-10],BUring:[-10,-10,-10,-10,-10,-10,-10,-10],DA:[-40,-40,-40,-40,-35,-25,-35,-40],DAacute:[-40,-40,-40,-40,-35,-25,-35,-40],DAbreve:[-40,-40,-40,-40,-35,-25,-35,-40],DAcircumflex:[-40,-40,-40,-40,-35,-25,-35,-40],DAdieresis:[-40,-40,-40,-40,-35,-25,-35,-40],DAgrave:[-40,-40,-40,-40,-35,-25,-35,-40],DAmacron:[-40,-40,-40,-40,-35,-25,-35,-40],DAogonek:[-40,-40,-40,-40,-35,-25,-35,-40],DAring:[-40,-40,-40,-40,-35,-25,-35,-40],DAtilde:[-40,-40,-40,-40,-35,-25,-35,-40],DV:[-40,-40,-70,-70,-40,-50,-40,-40],DW:[-40,-40,-40,-40,-40,-40,-40,-30],DY:[-70,-70,-90,-90,-40,-50,-40,-55],DYacute:[-70,-70,-90,-90,-40,-50,-40,-55],DYdieresis:[-70,-70,-90,-90,-40,-50,-40,-55],Dcomma:[-30,-30,-70,-70],Dperiod:[-30,-30,-70,-70,-20],DcaronA:[-40,-40,-40,-40,-35,-25,-35,-40],DcaronAacute:[-40,-40,-40,-40,-35,-25,-35,-40],DcaronAbreve:[-40,-40,-40,-40,-35,-25,-35,-40],DcaronAcircumflex:[-40,-40,-40,-40,-35,-25,-35,-40],DcaronAdieresis:[-40,-40,-40,-40,-35,-25,-35,-40],DcaronAgrave:[-40,-40,-40,-40,-35,-25,-35,-40],DcaronAmacron:[-40,-40,-40,-40,-35,-25,-35,-40],DcaronAogonek:[-40,-40,-40,-40,-35,-25,-35,-40],DcaronAring:[-40,-40,-40,-40,-35,-25,-35,-40],DcaronAtilde:[-40,-40,-40,-40,-35,-25,-35,-40],DcaronV:[-40,-40,-70,-70,-40,-50,-40,-40],DcaronW:[-40,-40,-40,-40,-40,-40,-40,-30],DcaronY:[-70,-70,-90,-90,-40,-50,-40,-55],DcaronYacute:[-70,-70,-90,-90,-40,-50,-40,-55],DcaronYdieresis:[-70,-70,-90,-90,-40,-50,-40,-55],Dcaroncomma:[-30,-30,-70,-70],Dcaronperiod:[-30,-30,-70,-70,-20],DcroatA:[-40,-40,-40,-40,-35,-25,-35,-40],DcroatAacute:[-40,-40,-40,-40,-35,-25,-35,-40],DcroatAbreve:[-40,-40,-40,-40,-35,-25,-35,-40],DcroatAcircumflex:[-40,-40,-40,-40,-35,-25,-35,-40],DcroatAdieresis:[-40,-40,-40,-40,-35,-25,-35,-40],DcroatAgrave:[-40,-40,-40,-40,-35,-25,-35,-40],DcroatAmacron:[-40,-40,-40,-40,-35,-25,-35,-40],DcroatAogonek:[-40,-40,-40,-40,-35,-25,-35,-40],DcroatAring:[-40,-40,-40,-40,-35,-25,-35,-40],DcroatAtilde:[-40,-40,-40,-40,-35,-25,-35,-40],DcroatV:[-40,-40,-70,-70,-40,-50,-40,-40],DcroatW:[-40,-40,-40,-40,-40,-40,-40,-30],DcroatY:[-70,-70,-90,-90,-40,-50,-40,-55],DcroatYacute:[-70,-70,-90,-90,-40,-50,-40,-55],DcroatYdieresis:[-70,-70,-90,-90,-40,-50,-40,-55],Dcroatcomma:[-30,-30,-70,-70],Dcroatperiod:[-30,-30,-70,-70,-20],FA:[-80,-80,-80,-80,-90,-100,-115,-74],FAacute:[-80,-80,-80,-80,-90,-100,-115,-74],FAbreve:[-80,-80,-80,-80,-90,-100,-115,-74],FAcircumflex:[-80,-80,-80,-80,-90,-100,-115,-74],FAdieresis:[-80,-80,-80,-80,-90,-100,-115,-74],FAgrave:[-80,-80,-80,-80,-90,-100,-115,-74],FAmacron:[-80,-80,-80,-80,-90,-100,-115,-74],FAogonek:[-80,-80,-80,-80,-90,-100,-115,-74],FAring:[-80,-80,-80,-80,-90,-100,-115,-74],FAtilde:[-80,-80,-80,-80,-90,-100,-115,-74],Fa:[-20,-20,-50,-50,-25,-95,-75,-15],Faacute:[-20,-20,-50,-50,-25,-95,-75,-15],Fabreve:[-20,-20,-50,-50,-25,-95,-75,-15],Facircumflex:[-20,-20,-50,-50,-25,-95,-75,-15],Fadieresis:[-20,-20,-50,-50,-25,-95,-75,-15],Fagrave:[-20,-20,-50,-50,-25,-95,-75,-15],Famacron:[-20,-20,-50,-50,-25,-95,-75,-15],Faogonek:[-20,-20,-50,-50,-25,-95,-75,-15],Faring:[-20,-20,-50,-50,-25,-95,-75,-15],Fatilde:[-20,-20,-50,-50,-25,-95,-75,-15],Fcomma:[-100,-100,-150,-150,-92,-129,-135,-80],Fperiod:[-100,-100,-150,-150,-110,-129,-135,-80],JA:[-20,-20,-20,-20,-30,-25,-40,-60],JAacute:[-20,-20,-20,-20,-30,-25,-40,-60],JAbreve:[-20,-20,-20,-20,-30,-25,-40,-60],JAcircumflex:[-20,-20,-20,-20,-30,-25,-40,-60],JAdieresis:[-20,-20,-20,-20,-30,-25,-40,-60],JAgrave:[-20,-20,-20,-20,-30,-25,-40,-60],JAmacron:[-20,-20,-20,-20,-30,-25,-40,-60],JAogonek:[-20,-20,-20,-20,-30,-25,-40,-60],JAring:[-20,-20,-20,-20,-30,-25,-40,-60],JAtilde:[-20,-20,-20,-20,-30,-25,-40,-60],Jcomma:[-20,-20,-30,-30,0,-10,-25],Jperiod:[-20,-20,-30,-30,-20,-10,-25],Ju:[-20,-20,-20,-20,-15,-40,-35],Juacute:[-20,-20,-20,-20,-15,-40,-35],Jucircumflex:[-20,-20,-20,-20,-15,-40,-35],Judieresis:[-20,-20,-20,-20,-15,-40,-35],Jugrave:[-20,-20,-20,-20,-15,-40,-35],Juhungarumlaut:[-20,-20,-20,-20,-15,-40,-35],Jumacron:[-20,-20,-20,-20,-15,-40,-35],Juogonek:[-20,-20,-20,-20,-15,-40,-35],Juring:[-20,-20,-20,-20,-15,-40,-35],KO:[-30,-30,-50,-50,-30,-30,-50,-30],KOacute:[-30,-30,-50,-50,-30,-30,-50,-30],KOcircumflex:[-30,-30,-50,-50,-30,-30,-50,-30],KOdieresis:[-30,-30,-50,-50,-30,-30,-50,-30],KOgrave:[-30,-30,-50,-50,-30,-30,-50,-30],KOhungarumlaut:[-30,-30,-50,-50,-30,-30,-50,-30],KOmacron:[-30,-30,-50,-50,-30,-30,-50,-30],KOslash:[-30,-30,-50,-50,-30,-30,-50,-30],KOtilde:[-30,-30,-50,-50,-30,-30,-50,-30],Ke:[-15,-15,-40,-40,-25,-25,-35,-25],Keacute:[-15,-15,-40,-40,-25,-25,-35,-25],Kecaron:[-15,-15,-40,-40,-25,-25,-35,-25],Kecircumflex:[-15,-15,-40,-40,-25,-25,-35,-25],Kedieresis:[-15,-15,-40,-40,-25,-25,-35,-25],Kedotaccent:[-15,-15,-40,-40,-25,-25,-35,-25],Kegrave:[-15,-15,-40,-40,-25,-25,-35,-25],Kemacron:[-15,-15,-40,-40,-25,-25,-35,-25],Keogonek:[-15,-15,-40,-40,-25,-25,-35,-25],Ko:[-35,-35,-40,-40,-25,-25,-40,-35],Koacute:[-35,-35,-40,-40,-25,-25,-40,-35],Kocircumflex:[-35,-35,-40,-40,-25,-25,-40,-35],Kodieresis:[-35,-35,-40,-40,-25,-25,-40,-35],Kograve:[-35,-35,-40,-40,-25,-25,-40,-35],Kohungarumlaut:[-35,-35,-40,-40,-25,-25,-40,-35],Komacron:[-35,-35,-40,-40,-25,-25,-40,-35],Koslash:[-35,-35,-40,-40,-25,-25,-40,-35],Kotilde:[-35,-35,-40,-40,-25,-25,-40,-35],Ku:[-30,-30,-30,-30,-15,-20,-40,-15],Kuacute:[-30,-30,-30,-30,-15,-20,-40,-15],Kucircumflex:[-30,-30,-30,-30,-15,-20,-40,-15],Kudieresis:[-30,-30,-30,-30,-15,-20,-40,-15],Kugrave:[-30,-30,-30,-30,-15,-20,-40,-15],Kuhungarumlaut:[-30,-30,-30,-30,-15,-20,-40,-15],Kumacron:[-30,-30,-30,-30,-15,-20,-40,-15],Kuogonek:[-30,-30,-30,-30,-15,-20,-40,-15],Kuring:[-30,-30,-30,-30,-15,-20,-40,-15],Ky:[-40,-40,-50,-50,-45,-20,-40,-25],Kyacute:[-40,-40,-50,-50,-45,-20,-40,-25],Kydieresis:[-40,-40,-50,-50,-45,-20,-40,-25],KcommaaccentO:[-30,-30,-50,-50,-30,-30,-50,-30],KcommaaccentOacute:[-30,-30,-50,-50,-30,-30,-50,-30],KcommaaccentOcircumflex:[-30,-30,-50,-50,-30,-30,-50,-30],KcommaaccentOdieresis:[-30,-30,-50,-50,-30,-30,-50,-30],KcommaaccentOgrave:[-30,-30,-50,-50,-30,-30,-50,-30],KcommaaccentOhungarumlaut:[-30,-30,-50,-50,-30,-30,-50,-30],KcommaaccentOmacron:[-30,-30,-50,-50,-30,-30,-50,-30],KcommaaccentOslash:[-30,-30,-50,-50,-30,-30,-50,-30],KcommaaccentOtilde:[-30,-30,-50,-50,-30,-30,-50,-30],Kcommaaccente:[-15,-15,-40,-40,-25,-25,-35,-25],Kcommaaccenteacute:[-15,-15,-40,-40,-25,-25,-35,-25],Kcommaaccentecaron:[-15,-15,-40,-40,-25,-25,-35,-25],Kcommaaccentecircumflex:[-15,-15,-40,-40,-25,-25,-35,-25],Kcommaaccentedieresis:[-15,-15,-40,-40,-25,-25,-35,-25],Kcommaaccentedotaccent:[-15,-15,-40,-40,-25,-25,-35,-25],Kcommaaccentegrave:[-15,-15,-40,-40,-25,-25,-35,-25],Kcommaaccentemacron:[-15,-15,-40,-40,-25,-25,-35,-25],Kcommaaccenteogonek:[-15,-15,-40,-40,-25,-25,-35,-25],Kcommaaccento:[-35,-35,-40,-40,-25,-25,-40,-35],Kcommaaccentoacute:[-35,-35,-40,-40,-25,-25,-40,-35],Kcommaaccentocircumflex:[-35,-35,-40,-40,-25,-25,-40,-35],Kcommaaccentodieresis:[-35,-35,-40,-40,-25,-25,-40,-35],Kcommaaccentograve:[-35,-35,-40,-40,-25,-25,-40,-35],Kcommaaccentohungarumlaut:[-35,-35,-40,-40,-25,-25,-40,-35],Kcommaaccentomacron:[-35,-35,-40,-40,-25,-25,-40,-35],Kcommaaccentoslash:[-35,-35,-40,-40,-25,-25,-40,-35],Kcommaaccentotilde:[-35,-35,-40,-40,-25,-25,-40,-35],Kcommaaccentu:[-30,-30,-30,-30,-15,-20,-40,-15],Kcommaaccentuacute:[-30,-30,-30,-30,-15,-20,-40,-15],Kcommaaccentucircumflex:[-30,-30,-30,-30,-15,-20,-40,-15],Kcommaaccentudieresis:[-30,-30,-30,-30,-15,-20,-40,-15],Kcommaaccentugrave:[-30,-30,-30,-30,-15,-20,-40,-15],Kcommaaccentuhungarumlaut:[-30,-30,-30,-30,-15,-20,-40,-15],Kcommaaccentumacron:[-30,-30,-30,-30,-15,-20,-40,-15],Kcommaaccentuogonek:[-30,-30,-30,-30,-15,-20,-40,-15],Kcommaaccenturing:[-30,-30,-30,-30,-15,-20,-40,-15],Kcommaaccenty:[-40,-40,-50,-50,-45,-20,-40,-25],Kcommaaccentyacute:[-40,-40,-50,-50,-45,-20,-40,-25],Kcommaaccentydieresis:[-40,-40,-50,-50,-45,-20,-40,-25],LT:[-90,-90,-110,-110,-92,-18,-20,-92],LTcaron:[-90,-90,-110,-110,-92,-18,-20,-92],LTcommaaccent:[-90,-90,-110,-110,-92,-18,-20,-92],LV:[-110,-110,-110,-110,-92,-37,-55,-100],LW:[-80,-80,-70,-70,-92,-37,-55,-74],LY:[-120,-120,-140,-140,-92,-37,-20,-100],LYacute:[-120,-120,-140,-140,-92,-37,-20,-100],LYdieresis:[-120,-120,-140,-140,-92,-37,-20,-100],Lquotedblright:[-140,-140,-140,-140,-20],Lquoteright:[-140,-140,-160,-160,-110,-55,-37,-92],Ly:[-30,-30,-30,-30,-55,-37,-30,-55],Lyacute:[-30,-30,-30,-30,-55,-37,-30,-55],Lydieresis:[-30,-30,-30,-30,-55,-37,-30,-55],LacuteT:[-90,-90,-110,-110,-92,-18,-20,-92],LacuteTcaron:[-90,-90,-110,-110,-92,-18,-20,-92],LacuteTcommaaccent:[-90,-90,-110,-110,-92,-18,-20,-92],LacuteV:[-110,-110,-110,-110,-92,-37,-55,-100],LacuteW:[-80,-80,-70,-70,-92,-37,-55,-74],LacuteY:[-120,-120,-140,-140,-92,-37,-20,-100],LacuteYacute:[-120,-120,-140,-140,-92,-37,-20,-100],LacuteYdieresis:[-120,-120,-140,-140,-92,-37,-20,-100],Lacutequotedblright:[-140,-140,-140,-140,-20],Lacutequoteright:[-140,-140,-160,-160,-110,-55,-37,-92],Lacutey:[-30,-30,-30,-30,-55,-37,-30,-55],Lacuteyacute:[-30,-30,-30,-30,-55,-37,-30,-55],Lacuteydieresis:[-30,-30,-30,-30,-55,-37,-30,-55],LcommaaccentT:[-90,-90,-110,-110,-92,-18,-20,-92],LcommaaccentTcaron:[-90,-90,-110,-110,-92,-18,-20,-92],LcommaaccentTcommaaccent:[-90,-90,-110,-110,-92,-18,-20,-92],LcommaaccentV:[-110,-110,-110,-110,-92,-37,-55,-100],LcommaaccentW:[-80,-80,-70,-70,-92,-37,-55,-74],LcommaaccentY:[-120,-120,-140,-140,-92,-37,-20,-100],LcommaaccentYacute:[-120,-120,-140,-140,-92,-37,-20,-100],LcommaaccentYdieresis:[-120,-120,-140,-140,-92,-37,-20,-100],Lcommaaccentquotedblright:[-140,-140,-140,-140,-20],Lcommaaccentquoteright:[-140,-140,-160,-160,-110,-55,-37,-92],Lcommaaccenty:[-30,-30,-30,-30,-55,-37,-30,-55],Lcommaaccentyacute:[-30,-30,-30,-30,-55,-37,-30,-55],Lcommaaccentydieresis:[-30,-30,-30,-30,-55,-37,-30,-55],LslashT:[-90,-90,-110,-110,-92,-18,-20,-92],LslashTcaron:[-90,-90,-110,-110,-92,-18,-20,-92],LslashTcommaaccent:[-90,-90,-110,-110,-92,-18,-20,-92],LslashV:[-110,-110,-110,-110,-92,-37,-55,-100],LslashW:[-80,-80,-70,-70,-92,-37,-55,-74],LslashY:[-120,-120,-140,-140,-92,-37,-20,-100],LslashYacute:[-120,-120,-140,-140,-92,-37,-20,-100],LslashYdieresis:[-120,-120,-140,-140,-92,-37,-20,-100],Lslashquotedblright:[-140,-140,-140,-140,-20],Lslashquoteright:[-140,-140,-160,-160,-110,-55,-37,-92],Lslashy:[-30,-30,-30,-30,-55,-37,-30,-55],Lslashyacute:[-30,-30,-30,-30,-55,-37,-30,-55],Lslashydieresis:[-30,-30,-30,-30,-55,-37,-30,-55],OA:[-50,-50,-20,-20,-40,-40,-55,-35],OAacute:[-50,-50,-20,-20,-40,-40,-55,-35],OAbreve:[-50,-50,-20,-20,-40,-40,-55,-35],OAcircumflex:[-50,-50,-20,-20,-40,-40,-55,-35],OAdieresis:[-50,-50,-20,-20,-40,-40,-55,-35],OAgrave:[-50,-50,-20,-20,-40,-40,-55,-35],OAmacron:[-50,-50,-20,-20,-40,-40,-55,-35],OAogonek:[-50,-50,-20,-20,-40,-40,-55,-35],OAring:[-50,-50,-20,-20,-40,-40,-55,-35],OAtilde:[-50,-50,-20,-20,-40,-40,-55,-35],OT:[-40,-40,-40,-40,-40,-40,-40,-40],OTcaron:[-40,-40,-40,-40,-40,-40,-40,-40],OTcommaaccent:[-40,-40,-40,-40,-40,-40,-40,-40],OV:[-50,-50,-50,-50,-50,-50,-50,-50],OW:[-50,-50,-30,-30,-50,-50,-50,-35],OX:[-50,-50,-60,-60,-40,-40,-40,-40],OY:[-70,-70,-70,-70,-50,-50,-50,-50],OYacute:[-70,-70,-70,-70,-50,-50,-50,-50],OYdieresis:[-70,-70,-70,-70,-50,-50,-50,-50],Ocomma:[-40,-40,-40,-40],Operiod:[-40,-40,-40,-40],OacuteA:[-50,-50,-20,-20,-40,-40,-55,-35],OacuteAacute:[-50,-50,-20,-20,-40,-40,-55,-35],OacuteAbreve:[-50,-50,-20,-20,-40,-40,-55,-35],OacuteAcircumflex:[-50,-50,-20,-20,-40,-40,-55,-35],OacuteAdieresis:[-50,-50,-20,-20,-40,-40,-55,-35],OacuteAgrave:[-50,-50,-20,-20,-40,-40,-55,-35],OacuteAmacron:[-50,-50,-20,-20,-40,-40,-55,-35],OacuteAogonek:[-50,-50,-20,-20,-40,-40,-55,-35],OacuteAring:[-50,-50,-20,-20,-40,-40,-55,-35],OacuteAtilde:[-50,-50,-20,-20,-40,-40,-55,-35],OacuteT:[-40,-40,-40,-40,-40,-40,-40,-40],OacuteTcaron:[-40,-40,-40,-40,-40,-40,-40,-40],OacuteTcommaaccent:[-40,-40,-40,-40,-40,-40,-40,-40],OacuteV:[-50,-50,-50,-50,-50,-50,-50,-50],OacuteW:[-50,-50,-30,-30,-50,-50,-50,-35],OacuteX:[-50,-50,-60,-60,-40,-40,-40,-40],OacuteY:[-70,-70,-70,-70,-50,-50,-50,-50],OacuteYacute:[-70,-70,-70,-70,-50,-50,-50,-50],OacuteYdieresis:[-70,-70,-70,-70,-50,-50,-50,-50],Oacutecomma:[-40,-40,-40,-40],Oacuteperiod:[-40,-40,-40,-40],OcircumflexA:[-50,-50,-20,-20,-40,-40,-55,-35],OcircumflexAacute:[-50,-50,-20,-20,-40,-40,-55,-35],OcircumflexAbreve:[-50,-50,-20,-20,-40,-40,-55,-35],OcircumflexAcircumflex:[-50,-50,-20,-20,-40,-40,-55,-35],OcircumflexAdieresis:[-50,-50,-20,-20,-40,-40,-55,-35],OcircumflexAgrave:[-50,-50,-20,-20,-40,-40,-55,-35],OcircumflexAmacron:[-50,-50,-20,-20,-40,-40,-55,-35],OcircumflexAogonek:[-50,-50,-20,-20,-40,-40,-55,-35],OcircumflexAring:[-50,-50,-20,-20,-40,-40,-55,-35],OcircumflexAtilde:[-50,-50,-20,-20,-40,-40,-55,-35],OcircumflexT:[-40,-40,-40,-40,-40,-40,-40,-40],OcircumflexTcaron:[-40,-40,-40,-40,-40,-40,-40,-40],OcircumflexTcommaaccent:[-40,-40,-40,-40,-40,-40,-40,-40],OcircumflexV:[-50,-50,-50,-50,-50,-50,-50,-50],OcircumflexW:[-50,-50,-30,-30,-50,-50,-50,-35],OcircumflexX:[-50,-50,-60,-60,-40,-40,-40,-40],OcircumflexY:[-70,-70,-70,-70,-50,-50,-50,-50],OcircumflexYacute:[-70,-70,-70,-70,-50,-50,-50,-50],OcircumflexYdieresis:[-70,-70,-70,-70,-50,-50,-50,-50],Ocircumflexcomma:[-40,-40,-40,-40],Ocircumflexperiod:[-40,-40,-40,-40],OdieresisA:[-50,-50,-20,-20,-40,-40,-55,-35],OdieresisAacute:[-50,-50,-20,-20,-40,-40,-55,-35],OdieresisAbreve:[-50,-50,-20,-20,-40,-40,-55,-35],OdieresisAcircumflex:[-50,-50,-20,-20,-40,-40,-55,-35],OdieresisAdieresis:[-50,-50,-20,-20,-40,-40,-55,-35],OdieresisAgrave:[-50,-50,-20,-20,-40,-40,-55,-35],OdieresisAmacron:[-50,-50,-20,-20,-40,-40,-55,-35],OdieresisAogonek:[-50,-50,-20,-20,-40,-40,-55,-35],OdieresisAring:[-50,-50,-20,-20,-40,-40,-55,-35],OdieresisAtilde:[-50,-50,-20,-20,-40,-40,-55,-35],OdieresisT:[-40,-40,-40,-40,-40,-40,-40,-40],OdieresisTcaron:[-40,-40,-40,-40,-40,-40,-40,-40],OdieresisTcommaaccent:[-40,-40,-40,-40,-40,-40,-40,-40],OdieresisV:[-50,-50,-50,-50,-50,-50,-50,-50],OdieresisW:[-50,-50,-30,-30,-50,-50,-50,-35],OdieresisX:[-50,-50,-60,-60,-40,-40,-40,-40],OdieresisY:[-70,-70,-70,-70,-50,-50,-50,-50],OdieresisYacute:[-70,-70,-70,-70,-50,-50,-50,-50],OdieresisYdieresis:[-70,-70,-70,-70,-50,-50,-50,-50],Odieresiscomma:[-40,-40,-40,-40],Odieresisperiod:[-40,-40,-40,-40],OgraveA:[-50,-50,-20,-20,-40,-40,-55,-35],OgraveAacute:[-50,-50,-20,-20,-40,-40,-55,-35],OgraveAbreve:[-50,-50,-20,-20,-40,-40,-55,-35],OgraveAcircumflex:[-50,-50,-20,-20,-40,-40,-55,-35],OgraveAdieresis:[-50,-50,-20,-20,-40,-40,-55,-35],OgraveAgrave:[-50,-50,-20,-20,-40,-40,-55,-35],OgraveAmacron:[-50,-50,-20,-20,-40,-40,-55,-35],OgraveAogonek:[-50,-50,-20,-20,-40,-40,-55,-35],OgraveAring:[-50,-50,-20,-20,-40,-40,-55,-35],OgraveAtilde:[-50,-50,-20,-20,-40,-40,-55,-35],OgraveT:[-40,-40,-40,-40,-40,-40,-40,-40],OgraveTcaron:[-40,-40,-40,-40,-40,-40,-40,-40],OgraveTcommaaccent:[-40,-40,-40,-40,-40,-40,-40,-40],OgraveV:[-50,-50,-50,-50,-50,-50,-50,-50],OgraveW:[-50,-50,-30,-30,-50,-50,-50,-35],OgraveX:[-50,-50,-60,-60,-40,-40,-40,-40],OgraveY:[-70,-70,-70,-70,-50,-50,-50,-50],OgraveYacute:[-70,-70,-70,-70,-50,-50,-50,-50],OgraveYdieresis:[-70,-70,-70,-70,-50,-50,-50,-50],Ogravecomma:[-40,-40,-40,-40],Ograveperiod:[-40,-40,-40,-40],OhungarumlautA:[-50,-50,-20,-20,-40,-40,-55,-35],OhungarumlautAacute:[-50,-50,-20,-20,-40,-40,-55,-35],OhungarumlautAbreve:[-50,-50,-20,-20,-40,-40,-55,-35],OhungarumlautAcircumflex:[-50,-50,-20,-20,-40,-40,-55,-35],OhungarumlautAdieresis:[-50,-50,-20,-20,-40,-40,-55,-35],OhungarumlautAgrave:[-50,-50,-20,-20,-40,-40,-55,-35],OhungarumlautAmacron:[-50,-50,-20,-20,-40,-40,-55,-35],OhungarumlautAogonek:[-50,-50,-20,-20,-40,-40,-55,-35],OhungarumlautAring:[-50,-50,-20,-20,-40,-40,-55,-35],OhungarumlautAtilde:[-50,-50,-20,-20,-40,-40,-55,-35],OhungarumlautT:[-40,-40,-40,-40,-40,-40,-40,-40],OhungarumlautTcaron:[-40,-40,-40,-40,-40,-40,-40,-40],OhungarumlautTcommaaccent:[-40,-40,-40,-40,-40,-40,-40,-40],OhungarumlautV:[-50,-50,-50,-50,-50,-50,-50,-50],OhungarumlautW:[-50,-50,-30,-30,-50,-50,-50,-35],OhungarumlautX:[-50,-50,-60,-60,-40,-40,-40,-40],OhungarumlautY:[-70,-70,-70,-70,-50,-50,-50,-50],OhungarumlautYacute:[-70,-70,-70,-70,-50,-50,-50,-50],OhungarumlautYdieresis:[-70,-70,-70,-70,-50,-50,-50,-50],Ohungarumlautcomma:[-40,-40,-40,-40],Ohungarumlautperiod:[-40,-40,-40,-40],OmacronA:[-50,-50,-20,-20,-40,-40,-55,-35],OmacronAacute:[-50,-50,-20,-20,-40,-40,-55,-35],OmacronAbreve:[-50,-50,-20,-20,-40,-40,-55,-35],OmacronAcircumflex:[-50,-50,-20,-20,-40,-40,-55,-35],OmacronAdieresis:[-50,-50,-20,-20,-40,-40,-55,-35],OmacronAgrave:[-50,-50,-20,-20,-40,-40,-55,-35],OmacronAmacron:[-50,-50,-20,-20,-40,-40,-55,-35],OmacronAogonek:[-50,-50,-20,-20,-40,-40,-55,-35],OmacronAring:[-50,-50,-20,-20,-40,-40,-55,-35],OmacronAtilde:[-50,-50,-20,-20,-40,-40,-55,-35],OmacronT:[-40,-40,-40,-40,-40,-40,-40,-40],OmacronTcaron:[-40,-40,-40,-40,-40,-40,-40,-40],OmacronTcommaaccent:[-40,-40,-40,-40,-40,-40,-40,-40],OmacronV:[-50,-50,-50,-50,-50,-50,-50,-50],OmacronW:[-50,-50,-30,-30,-50,-50,-50,-35],OmacronX:[-50,-50,-60,-60,-40,-40,-40,-40],OmacronY:[-70,-70,-70,-70,-50,-50,-50,-50],OmacronYacute:[-70,-70,-70,-70,-50,-50,-50,-50],OmacronYdieresis:[-70,-70,-70,-70,-50,-50,-50,-50],Omacroncomma:[-40,-40,-40,-40],Omacronperiod:[-40,-40,-40,-40],OslashA:[-50,-50,-20,-20,-40,-40,-55,-35],OslashAacute:[-50,-50,-20,-20,-40,-40,-55,-35],OslashAbreve:[-50,-50,-20,-20,-40,-40,-55,-35],OslashAcircumflex:[-50,-50,-20,-20,-40,-40,-55,-35],OslashAdieresis:[-50,-50,-20,-20,-40,-40,-55,-35],OslashAgrave:[-50,-50,-20,-20,-40,-40,-55,-35],OslashAmacron:[-50,-50,-20,-20,-40,-40,-55,-35],OslashAogonek:[-50,-50,-20,-20,-40,-40,-55,-35],OslashAring:[-50,-50,-20,-20,-40,-40,-55,-35],OslashAtilde:[-50,-50,-20,-20,-40,-40,-55,-35],OslashT:[-40,-40,-40,-40,-40,-40,-40,-40],OslashTcaron:[-40,-40,-40,-40,-40,-40,-40,-40],OslashTcommaaccent:[-40,-40,-40,-40,-40,-40,-40,-40],OslashV:[-50,-50,-50,-50,-50,-50,-50,-50],OslashW:[-50,-50,-30,-30,-50,-50,-50,-35],OslashX:[-50,-50,-60,-60,-40,-40,-40,-40],OslashY:[-70,-70,-70,-70,-50,-50,-50,-50],OslashYacute:[-70,-70,-70,-70,-50,-50,-50,-50],OslashYdieresis:[-70,-70,-70,-70,-50,-50,-50,-50],Oslashcomma:[-40,-40,-40,-40],Oslashperiod:[-40,-40,-40,-40],OtildeA:[-50,-50,-20,-20,-40,-40,-55,-35],OtildeAacute:[-50,-50,-20,-20,-40,-40,-55,-35],OtildeAbreve:[-50,-50,-20,-20,-40,-40,-55,-35],OtildeAcircumflex:[-50,-50,-20,-20,-40,-40,-55,-35],OtildeAdieresis:[-50,-50,-20,-20,-40,-40,-55,-35],OtildeAgrave:[-50,-50,-20,-20,-40,-40,-55,-35],OtildeAmacron:[-50,-50,-20,-20,-40,-40,-55,-35],OtildeAogonek:[-50,-50,-20,-20,-40,-40,-55,-35],OtildeAring:[-50,-50,-20,-20,-40,-40,-55,-35],OtildeAtilde:[-50,-50,-20,-20,-40,-40,-55,-35],OtildeT:[-40,-40,-40,-40,-40,-40,-40,-40],OtildeTcaron:[-40,-40,-40,-40,-40,-40,-40,-40],OtildeTcommaaccent:[-40,-40,-40,-40,-40,-40,-40,-40],OtildeV:[-50,-50,-50,-50,-50,-50,-50,-50],OtildeW:[-50,-50,-30,-30,-50,-50,-50,-35],OtildeX:[-50,-50,-60,-60,-40,-40,-40,-40],OtildeY:[-70,-70,-70,-70,-50,-50,-50,-50],OtildeYacute:[-70,-70,-70,-70,-50,-50,-50,-50],OtildeYdieresis:[-70,-70,-70,-70,-50,-50,-50,-50],Otildecomma:[-40,-40,-40,-40],Otildeperiod:[-40,-40,-40,-40],PA:[-100,-100,-120,-120,-74,-85,-90,-92],PAacute:[-100,-100,-120,-120,-74,-85,-90,-92],PAbreve:[-100,-100,-120,-120,-74,-85,-90,-92],PAcircumflex:[-100,-100,-120,-120,-74,-85,-90,-92],PAdieresis:[-100,-100,-120,-120,-74,-85,-90,-92],PAgrave:[-100,-100,-120,-120,-74,-85,-90,-92],PAmacron:[-100,-100,-120,-120,-74,-85,-90,-92],PAogonek:[-100,-100,-120,-120,-74,-85,-90,-92],PAring:[-100,-100,-120,-120,-74,-85,-90,-92],PAtilde:[-100,-100,-120,-120,-74,-85,-90,-92],Pa:[-30,-30,-40,-40,-10,-40,-80,-15],Paacute:[-30,-30,-40,-40,-10,-40,-80,-15],Pabreve:[-30,-30,-40,-40,-10,-40,-80,-15],Pacircumflex:[-30,-30,-40,-40,-10,-40,-80,-15],Padieresis:[-30,-30,-40,-40,-10,-40,-80,-15],Pagrave:[-30,-30,-40,-40,-10,-40,-80,-15],Pamacron:[-30,-30,-40,-40,-10,-40,-80,-15],Paogonek:[-30,-30,-40,-40,-10,-40,-80,-15],Paring:[-30,-30,-40,-40,-10,-40,-80,-15],Patilde:[-30,-30,-40,-40,-10,-40,-80,-15],Pcomma:[-120,-120,-180,-180,-92,-129,-135,-111],Pe:[-30,-30,-50,-50,-20,-50,-80],Peacute:[-30,-30,-50,-50,-20,-50,-80],Pecaron:[-30,-30,-50,-50,-20,-50,-80],Pecircumflex:[-30,-30,-50,-50,-20,-50,-80],Pedieresis:[-30,-30,-50,-50,-20,-50,-80],Pedotaccent:[-30,-30,-50,-50,-20,-50,-80],Pegrave:[-30,-30,-50,-50,-20,-50,-80],Pemacron:[-30,-30,-50,-50,-20,-50,-80],Peogonek:[-30,-30,-50,-50,-20,-50,-80],Po:[-40,-40,-50,-50,-20,-55,-80],Poacute:[-40,-40,-50,-50,-20,-55,-80],Pocircumflex:[-40,-40,-50,-50,-20,-55,-80],Podieresis:[-40,-40,-50,-50,-20,-55,-80],Pograve:[-40,-40,-50,-50,-20,-55,-80],Pohungarumlaut:[-40,-40,-50,-50,-20,-55,-80],Pomacron:[-40,-40,-50,-50,-20,-55,-80],Poslash:[-40,-40,-50,-50,-20,-55,-80],Potilde:[-40,-40,-50,-50,-20,-55,-80],Pperiod:[-120,-120,-180,-180,-110,-129,-135,-111],QU:[-10,-10,-10,-10,-10,-10,-10,-10],QUacute:[-10,-10,-10,-10,-10,-10,-10,-10],QUcircumflex:[-10,-10,-10,-10,-10,-10,-10,-10],QUdieresis:[-10,-10,-10,-10,-10,-10,-10,-10],QUgrave:[-10,-10,-10,-10,-10,-10,-10,-10],QUhungarumlaut:[-10,-10,-10,-10,-10,-10,-10,-10],QUmacron:[-10,-10,-10,-10,-10,-10,-10,-10],QUogonek:[-10,-10,-10,-10,-10,-10,-10,-10],QUring:[-10,-10,-10,-10,-10,-10,-10,-10],Qcomma:[20,20],Qperiod:[20,20,0,0,-20],RO:[-20,-20,-20,-20,-30,-40,-40,-40],ROacute:[-20,-20,-20,-20,-30,-40,-40,-40],ROcircumflex:[-20,-20,-20,-20,-30,-40,-40,-40],ROdieresis:[-20,-20,-20,-20,-30,-40,-40,-40],ROgrave:[-20,-20,-20,-20,-30,-40,-40,-40],ROhungarumlaut:[-20,-20,-20,-20,-30,-40,-40,-40],ROmacron:[-20,-20,-20,-20,-30,-40,-40,-40],ROslash:[-20,-20,-20,-20,-30,-40,-40,-40],ROtilde:[-20,-20,-20,-20,-30,-40,-40,-40],RT:[-20,-20,-30,-30,-40,-30,0,-60],RTcaron:[-20,-20,-30,-30,-40,-30,0,-60],RTcommaaccent:[-20,-20,-30,-30,-40,-30,0,-60],RU:[-20,-20,-40,-40,-30,-40,-40,-40],RUacute:[-20,-20,-40,-40,-30,-40,-40,-40],RUcircumflex:[-20,-20,-40,-40,-30,-40,-40,-40],RUdieresis:[-20,-20,-40,-40,-30,-40,-40,-40],RUgrave:[-20,-20,-40,-40,-30,-40,-40,-40],RUhungarumlaut:[-20,-20,-40,-40,-30,-40,-40,-40],RUmacron:[-20,-20,-40,-40,-30,-40,-40,-40],RUogonek:[-20,-20,-40,-40,-30,-40,-40,-40],RUring:[-20,-20,-40,-40,-30,-40,-40,-40],RV:[-50,-50,-50,-50,-55,-18,-18,-80],RW:[-40,-40,-30,-30,-35,-18,-18,-55],RY:[-50,-50,-50,-50,-35,-18,-18,-65],RYacute:[-50,-50,-50,-50,-35,-18,-18,-65],RYdieresis:[-50,-50,-50,-50,-35,-18,-18,-65],RacuteO:[-20,-20,-20,-20,-30,-40,-40,-40],RacuteOacute:[-20,-20,-20,-20,-30,-40,-40,-40],RacuteOcircumflex:[-20,-20,-20,-20,-30,-40,-40,-40],RacuteOdieresis:[-20,-20,-20,-20,-30,-40,-40,-40],RacuteOgrave:[-20,-20,-20,-20,-30,-40,-40,-40],RacuteOhungarumlaut:[-20,-20,-20,-20,-30,-40,-40,-40],RacuteOmacron:[-20,-20,-20,-20,-30,-40,-40,-40],RacuteOslash:[-20,-20,-20,-20,-30,-40,-40,-40],RacuteOtilde:[-20,-20,-20,-20,-30,-40,-40,-40],RacuteT:[-20,-20,-30,-30,-40,-30,0,-60],RacuteTcaron:[-20,-20,-30,-30,-40,-30,0,-60],RacuteTcommaaccent:[-20,-20,-30,-30,-40,-30,0,-60],RacuteU:[-20,-20,-40,-40,-30,-40,-40,-40],RacuteUacute:[-20,-20,-40,-40,-30,-40,-40,-40],RacuteUcircumflex:[-20,-20,-40,-40,-30,-40,-40,-40],RacuteUdieresis:[-20,-20,-40,-40,-30,-40,-40,-40],RacuteUgrave:[-20,-20,-40,-40,-30,-40,-40,-40],RacuteUhungarumlaut:[-20,-20,-40,-40,-30,-40,-40,-40],RacuteUmacron:[-20,-20,-40,-40,-30,-40,-40,-40],RacuteUogonek:[-20,-20,-40,-40,-30,-40,-40,-40],RacuteUring:[-20,-20,-40,-40,-30,-40,-40,-40],RacuteV:[-50,-50,-50,-50,-55,-18,-18,-80],RacuteW:[-40,-40,-30,-30,-35,-18,-18,-55],RacuteY:[-50,-50,-50,-50,-35,-18,-18,-65],RacuteYacute:[-50,-50,-50,-50,-35,-18,-18,-65],RacuteYdieresis:[-50,-50,-50,-50,-35,-18,-18,-65],RcaronO:[-20,-20,-20,-20,-30,-40,-40,-40],RcaronOacute:[-20,-20,-20,-20,-30,-40,-40,-40],RcaronOcircumflex:[-20,-20,-20,-20,-30,-40,-40,-40],RcaronOdieresis:[-20,-20,-20,-20,-30,-40,-40,-40],RcaronOgrave:[-20,-20,-20,-20,-30,-40,-40,-40],RcaronOhungarumlaut:[-20,-20,-20,-20,-30,-40,-40,-40],RcaronOmacron:[-20,-20,-20,-20,-30,-40,-40,-40],RcaronOslash:[-20,-20,-20,-20,-30,-40,-40,-40],RcaronOtilde:[-20,-20,-20,-20,-30,-40,-40,-40],RcaronT:[-20,-20,-30,-30,-40,-30,0,-60],RcaronTcaron:[-20,-20,-30,-30,-40,-30,0,-60],RcaronTcommaaccent:[-20,-20,-30,-30,-40,-30,0,-60],RcaronU:[-20,-20,-40,-40,-30,-40,-40,-40],RcaronUacute:[-20,-20,-40,-40,-30,-40,-40,-40],RcaronUcircumflex:[-20,-20,-40,-40,-30,-40,-40,-40],RcaronUdieresis:[-20,-20,-40,-40,-30,-40,-40,-40],RcaronUgrave:[-20,-20,-40,-40,-30,-40,-40,-40],RcaronUhungarumlaut:[-20,-20,-40,-40,-30,-40,-40,-40],RcaronUmacron:[-20,-20,-40,-40,-30,-40,-40,-40],RcaronUogonek:[-20,-20,-40,-40,-30,-40,-40,-40],RcaronUring:[-20,-20,-40,-40,-30,-40,-40,-40],RcaronV:[-50,-50,-50,-50,-55,-18,-18,-80],RcaronW:[-40,-40,-30,-30,-35,-18,-18,-55],RcaronY:[-50,-50,-50,-50,-35,-18,-18,-65],RcaronYacute:[-50,-50,-50,-50,-35,-18,-18,-65],RcaronYdieresis:[-50,-50,-50,-50,-35,-18,-18,-65],RcommaaccentO:[-20,-20,-20,-20,-30,-40,-40,-40],RcommaaccentOacute:[-20,-20,-20,-20,-30,-40,-40,-40],RcommaaccentOcircumflex:[-20,-20,-20,-20,-30,-40,-40,-40],RcommaaccentOdieresis:[-20,-20,-20,-20,-30,-40,-40,-40],RcommaaccentOgrave:[-20,-20,-20,-20,-30,-40,-40,-40],RcommaaccentOhungarumlaut:[-20,-20,-20,-20,-30,-40,-40,-40],RcommaaccentOmacron:[-20,-20,-20,-20,-30,-40,-40,-40],RcommaaccentOslash:[-20,-20,-20,-20,-30,-40,-40,-40],RcommaaccentOtilde:[-20,-20,-20,-20,-30,-40,-40,-40],RcommaaccentT:[-20,-20,-30,-30,-40,-30,0,-60],RcommaaccentTcaron:[-20,-20,-30,-30,-40,-30,0,-60],RcommaaccentTcommaaccent:[-20,-20,-30,-30,-40,-30,0,-60],RcommaaccentU:[-20,-20,-40,-40,-30,-40,-40,-40],RcommaaccentUacute:[-20,-20,-40,-40,-30,-40,-40,-40],RcommaaccentUcircumflex:[-20,-20,-40,-40,-30,-40,-40,-40],RcommaaccentUdieresis:[-20,-20,-40,-40,-30,-40,-40,-40],RcommaaccentUgrave:[-20,-20,-40,-40,-30,-40,-40,-40],RcommaaccentUhungarumlaut:[-20,-20,-40,-40,-30,-40,-40,-40],RcommaaccentUmacron:[-20,-20,-40,-40,-30,-40,-40,-40],RcommaaccentUogonek:[-20,-20,-40,-40,-30,-40,-40,-40],RcommaaccentUring:[-20,-20,-40,-40,-30,-40,-40,-40],RcommaaccentV:[-50,-50,-50,-50,-55,-18,-18,-80],RcommaaccentW:[-40,-40,-30,-30,-35,-18,-18,-55],RcommaaccentY:[-50,-50,-50,-50,-35,-18,-18,-65],RcommaaccentYacute:[-50,-50,-50,-50,-35,-18,-18,-65],RcommaaccentYdieresis:[-50,-50,-50,-50,-35,-18,-18,-65],TA:[-90,-90,-120,-120,-90,-55,-50,-93],TAacute:[-90,-90,-120,-120,-90,-55,-50,-93],TAbreve:[-90,-90,-120,-120,-90,-55,-50,-93],TAcircumflex:[-90,-90,-120,-120,-90,-55,-50,-93],TAdieresis:[-90,-90,-120,-120,-90,-55,-50,-93],TAgrave:[-90,-90,-120,-120,-90,-55,-50,-93],TAmacron:[-90,-90,-120,-120,-90,-55,-50,-93],TAogonek:[-90,-90,-120,-120,-90,-55,-50,-93],TAring:[-90,-90,-120,-120,-90,-55,-50,-93],TAtilde:[-90,-90,-120,-120,-90,-55,-50,-93],TO:[-40,-40,-40,-40,-18,-18,-18,-18],TOacute:[-40,-40,-40,-40,-18,-18,-18,-18],TOcircumflex:[-40,-40,-40,-40,-18,-18,-18,-18],TOdieresis:[-40,-40,-40,-40,-18,-18,-18,-18],TOgrave:[-40,-40,-40,-40,-18,-18,-18,-18],TOhungarumlaut:[-40,-40,-40,-40,-18,-18,-18,-18],TOmacron:[-40,-40,-40,-40,-18,-18,-18,-18],TOslash:[-40,-40,-40,-40,-18,-18,-18,-18],TOtilde:[-40,-40,-40,-40,-18,-18,-18,-18],Ta:[-80,-80,-120,-120,-92,-92,-92,-80],Taacute:[-80,-80,-120,-120,-92,-92,-92,-80],Tabreve:[-80,-80,-60,-60,-52,-92,-92,-80],Tacircumflex:[-80,-80,-120,-120,-52,-92,-92,-80],Tadieresis:[-80,-80,-120,-120,-52,-92,-92,-40],Tagrave:[-80,-80,-120,-120,-52,-92,-92,-40],Tamacron:[-80,-80,-60,-60,-52,-92,-92,-40],Taogonek:[-80,-80,-120,-120,-92,-92,-92,-80],Taring:[-80,-80,-120,-120,-92,-92,-92,-80],Tatilde:[-80,-80,-60,-60,-52,-92,-92,-40],Tcolon:[-40,-40,-20,-20,-74,-74,-55,-50],Tcomma:[-80,-80,-120,-120,-74,-92,-74,-74],Te:[-60,-60,-120,-120,-92,-92,-92,-70],Teacute:[-60,-60,-120,-120,-92,-92,-92,-70],Tecaron:[-60,-60,-120,-120,-92,-92,-92,-70],Tecircumflex:[-60,-60,-120,-120,-92,-92,-52,-70],Tedieresis:[-60,-60,-120,-120,-52,-52,-52,-30],Tedotaccent:[-60,-60,-120,-120,-92,-92,-92,-70],Tegrave:[-60,-60,-60,-60,-52,-52,-52,-70],Temacron:[-60,-60,-60,-60,-52,-52,-52,-30],Teogonek:[-60,-60,-120,-120,-92,-92,-92,-70],Thyphen:[-120,-120,-140,-140,-92,-92,-74,-92],To:[-80,-80,-120,-120,-92,-95,-92,-80],Toacute:[-80,-80,-120,-120,-92,-95,-92,-80],Tocircumflex:[-80,-80,-120,-120,-92,-95,-92,-80],Todieresis:[-80,-80,-120,-120,-92,-95,-92,-80],Tograve:[-80,-80,-120,-120,-92,-95,-92,-80],Tohungarumlaut:[-80,-80,-120,-120,-92,-95,-92,-80],Tomacron:[-80,-80,-60,-60,-92,-95,-92,-80],Toslash:[-80,-80,-120,-120,-92,-95,-92,-80],Totilde:[-80,-80,-60,-60,-92,-95,-92,-80],Tperiod:[-80,-80,-120,-120,-90,-92,-74,-74],Tr:[-80,-80,-120,-120,-74,-37,-55,-35],Tracute:[-80,-80,-120,-120,-74,-37,-55,-35],Trcommaaccent:[-80,-80,-120,-120,-74,-37,-55,-35],Tsemicolon:[-40,-40,-20,-20,-74,-74,-65,-55],Tu:[-90,-90,-120,-120,-92,-37,-55,-45],Tuacute:[-90,-90,-120,-120,-92,-37,-55,-45],Tucircumflex:[-90,-90,-120,-120,-92,-37,-55,-45],Tudieresis:[-90,-90,-120,-120,-92,-37,-55,-45],Tugrave:[-90,-90,-120,-120,-92,-37,-55,-45],Tuhungarumlaut:[-90,-90,-120,-120,-92,-37,-55,-45],Tumacron:[-90,-90,-60,-60,-92,-37,-55,-45],Tuogonek:[-90,-90,-120,-120,-92,-37,-55,-45],Turing:[-90,-90,-120,-120,-92,-37,-55,-45],Tw:[-60,-60,-120,-120,-74,-37,-74,-80],Ty:[-60,-60,-120,-120,-34,-37,-74,-80],Tyacute:[-60,-60,-120,-120,-34,-37,-74,-80],Tydieresis:[-60,-60,-60,-60,-34,-37,-34,-80],TcaronA:[-90,-90,-120,-120,-90,-55,-50,-93],TcaronAacute:[-90,-90,-120,-120,-90,-55,-50,-93],TcaronAbreve:[-90,-90,-120,-120,-90,-55,-50,-93],TcaronAcircumflex:[-90,-90,-120,-120,-90,-55,-50,-93],TcaronAdieresis:[-90,-90,-120,-120,-90,-55,-50,-93],TcaronAgrave:[-90,-90,-120,-120,-90,-55,-50,-93],TcaronAmacron:[-90,-90,-120,-120,-90,-55,-50,-93],TcaronAogonek:[-90,-90,-120,-120,-90,-55,-50,-93],TcaronAring:[-90,-90,-120,-120,-90,-55,-50,-93],TcaronAtilde:[-90,-90,-120,-120,-90,-55,-50,-93],TcaronO:[-40,-40,-40,-40,-18,-18,-18,-18],TcaronOacute:[-40,-40,-40,-40,-18,-18,-18,-18],TcaronOcircumflex:[-40,-40,-40,-40,-18,-18,-18,-18],TcaronOdieresis:[-40,-40,-40,-40,-18,-18,-18,-18],TcaronOgrave:[-40,-40,-40,-40,-18,-18,-18,-18],TcaronOhungarumlaut:[-40,-40,-40,-40,-18,-18,-18,-18],TcaronOmacron:[-40,-40,-40,-40,-18,-18,-18,-18],TcaronOslash:[-40,-40,-40,-40,-18,-18,-18,-18],TcaronOtilde:[-40,-40,-40,-40,-18,-18,-18,-18],Tcarona:[-80,-80,-120,-120,-92,-92,-92,-80],Tcaronaacute:[-80,-80,-120,-120,-92,-92,-92,-80],Tcaronabreve:[-80,-80,-60,-60,-52,-92,-92,-80],Tcaronacircumflex:[-80,-80,-120,-120,-52,-92,-92,-80],Tcaronadieresis:[-80,-80,-120,-120,-52,-92,-92,-40],Tcaronagrave:[-80,-80,-120,-120,-52,-92,-92,-40],Tcaronamacron:[-80,-80,-60,-60,-52,-92,-92,-40],Tcaronaogonek:[-80,-80,-120,-120,-92,-92,-92,-80],Tcaronaring:[-80,-80,-120,-120,-92,-92,-92,-80],Tcaronatilde:[-80,-80,-60,-60,-52,-92,-92,-40],Tcaroncolon:[-40,-40,-20,-20,-74,-74,-55,-50],Tcaroncomma:[-80,-80,-120,-120,-74,-92,-74,-74],Tcarone:[-60,-60,-120,-120,-92,-92,-92,-70],Tcaroneacute:[-60,-60,-120,-120,-92,-92,-92,-70],Tcaronecaron:[-60,-60,-120,-120,-92,-92,-92,-70],Tcaronecircumflex:[-60,-60,-120,-120,-92,-92,-52,-30],Tcaronedieresis:[-60,-60,-120,-120,-52,-52,-52,-30],Tcaronedotaccent:[-60,-60,-120,-120,-92,-92,-92,-70],Tcaronegrave:[-60,-60,-60,-60,-52,-52,-52,-70],Tcaronemacron:[-60,-60,-60,-60,-52,-52,-52,-30],Tcaroneogonek:[-60,-60,-120,-120,-92,-92,-92,-70],Tcaronhyphen:[-120,-120,-140,-140,-92,-92,-74,-92],Tcarono:[-80,-80,-120,-120,-92,-95,-92,-80],Tcaronoacute:[-80,-80,-120,-120,-92,-95,-92,-80],Tcaronocircumflex:[-80,-80,-120,-120,-92,-95,-92,-80],Tcaronodieresis:[-80,-80,-120,-120,-92,-95,-92,-80],Tcaronograve:[-80,-80,-120,-120,-92,-95,-92,-80],Tcaronohungarumlaut:[-80,-80,-120,-120,-92,-95,-92,-80],Tcaronomacron:[-80,-80,-60,-60,-92,-95,-92,-80],Tcaronoslash:[-80,-80,-120,-120,-92,-95,-92,-80],Tcaronotilde:[-80,-80,-60,-60,-92,-95,-92,-80],Tcaronperiod:[-80,-80,-120,-120,-90,-92,-74,-74],Tcaronr:[-80,-80,-120,-120,-74,-37,-55,-35],Tcaronracute:[-80,-80,-120,-120,-74,-37,-55,-35],Tcaronrcommaaccent:[-80,-80,-120,-120,-74,-37,-55,-35],Tcaronsemicolon:[-40,-40,-20,-20,-74,-74,-65,-55],Tcaronu:[-90,-90,-120,-120,-92,-37,-55,-45],Tcaronuacute:[-90,-90,-120,-120,-92,-37,-55,-45],Tcaronucircumflex:[-90,-90,-120,-120,-92,-37,-55,-45],Tcaronudieresis:[-90,-90,-120,-120,-92,-37,-55,-45],Tcaronugrave:[-90,-90,-120,-120,-92,-37,-55,-45],Tcaronuhungarumlaut:[-90,-90,-120,-120,-92,-37,-55,-45],Tcaronumacron:[-90,-90,-60,-60,-92,-37,-55,-45],Tcaronuogonek:[-90,-90,-120,-120,-92,-37,-55,-45],Tcaronuring:[-90,-90,-120,-120,-92,-37,-55,-45],Tcaronw:[-60,-60,-120,-120,-74,-37,-74,-80],Tcarony:[-60,-60,-120,-120,-34,-37,-74,-80],Tcaronyacute:[-60,-60,-120,-120,-34,-37,-74,-80],Tcaronydieresis:[-60,-60,-60,-60,-34,-37,-34,-80],TcommaaccentA:[-90,-90,-120,-120,-90,-55,-50,-93],TcommaaccentAacute:[-90,-90,-120,-120,-90,-55,-50,-93],TcommaaccentAbreve:[-90,-90,-120,-120,-90,-55,-50,-93],TcommaaccentAcircumflex:[-90,-90,-120,-120,-90,-55,-50,-93],TcommaaccentAdieresis:[-90,-90,-120,-120,-90,-55,-50,-93],TcommaaccentAgrave:[-90,-90,-120,-120,-90,-55,-50,-93],TcommaaccentAmacron:[-90,-90,-120,-120,-90,-55,-50,-93],TcommaaccentAogonek:[-90,-90,-120,-120,-90,-55,-50,-93],TcommaaccentAring:[-90,-90,-120,-120,-90,-55,-50,-93],TcommaaccentAtilde:[-90,-90,-120,-120,-90,-55,-50,-93],TcommaaccentO:[-40,-40,-40,-40,-18,-18,-18,-18],TcommaaccentOacute:[-40,-40,-40,-40,-18,-18,-18,-18],TcommaaccentOcircumflex:[-40,-40,-40,-40,-18,-18,-18,-18],TcommaaccentOdieresis:[-40,-40,-40,-40,-18,-18,-18,-18],TcommaaccentOgrave:[-40,-40,-40,-40,-18,-18,-18,-18],TcommaaccentOhungarumlaut:[-40,-40,-40,-40,-18,-18,-18,-18],TcommaaccentOmacron:[-40,-40,-40,-40,-18,-18,-18,-18],TcommaaccentOslash:[-40,-40,-40,-40,-18,-18,-18,-18],TcommaaccentOtilde:[-40,-40,-40,-40,-18,-18,-18,-18],Tcommaaccenta:[-80,-80,-120,-120,-92,-92,-92,-80],Tcommaaccentaacute:[-80,-80,-120,-120,-92,-92,-92,-80],Tcommaaccentabreve:[-80,-80,-60,-60,-52,-92,-92,-80],Tcommaaccentacircumflex:[-80,-80,-120,-120,-52,-92,-92,-80],Tcommaaccentadieresis:[-80,-80,-120,-120,-52,-92,-92,-40],Tcommaaccentagrave:[-80,-80,-120,-120,-52,-92,-92,-40],Tcommaaccentamacron:[-80,-80,-60,-60,-52,-92,-92,-40],Tcommaaccentaogonek:[-80,-80,-120,-120,-92,-92,-92,-80],Tcommaaccentaring:[-80,-80,-120,-120,-92,-92,-92,-80],Tcommaaccentatilde:[-80,-80,-60,-60,-52,-92,-92,-40],Tcommaaccentcolon:[-40,-40,-20,-20,-74,-74,-55,-50],Tcommaaccentcomma:[-80,-80,-120,-120,-74,-92,-74,-74],Tcommaaccente:[-60,-60,-120,-120,-92,-92,-92,-70],Tcommaaccenteacute:[-60,-60,-120,-120,-92,-92,-92,-70],Tcommaaccentecaron:[-60,-60,-120,-120,-92,-92,-92,-70],Tcommaaccentecircumflex:[-60,-60,-120,-120,-92,-92,-52,-30],Tcommaaccentedieresis:[-60,-60,-120,-120,-52,-52,-52,-30],Tcommaaccentedotaccent:[-60,-60,-120,-120,-92,-92,-92,-70],Tcommaaccentegrave:[-60,-60,-60,-60,-52,-52,-52,-30],Tcommaaccentemacron:[-60,-60,-60,-60,-52,-52,-52,-70],Tcommaaccenteogonek:[-60,-60,-120,-120,-92,-92,-92,-70],Tcommaaccenthyphen:[-120,-120,-140,-140,-92,-92,-74,-92],Tcommaaccento:[-80,-80,-120,-120,-92,-95,-92,-80],Tcommaaccentoacute:[-80,-80,-120,-120,-92,-95,-92,-80],Tcommaaccentocircumflex:[-80,-80,-120,-120,-92,-95,-92,-80],Tcommaaccentodieresis:[-80,-80,-120,-120,-92,-95,-92,-80],Tcommaaccentograve:[-80,-80,-120,-120,-92,-95,-92,-80],Tcommaaccentohungarumlaut:[-80,-80,-120,-120,-92,-95,-92,-80],Tcommaaccentomacron:[-80,-80,-60,-60,-92,-95,-92,-80],Tcommaaccentoslash:[-80,-80,-120,-120,-92,-95,-92,-80],Tcommaaccentotilde:[-80,-80,-60,-60,-92,-95,-92,-80],Tcommaaccentperiod:[-80,-80,-120,-120,-90,-92,-74,-74],Tcommaaccentr:[-80,-80,-120,-120,-74,-37,-55,-35],Tcommaaccentracute:[-80,-80,-120,-120,-74,-37,-55,-35],Tcommaaccentrcommaaccent:[-80,-80,-120,-120,-74,-37,-55,-35],Tcommaaccentsemicolon:[-40,-40,-20,-20,-74,-74,-65,-55],Tcommaaccentu:[-90,-90,-120,-120,-92,-37,-55,-45],Tcommaaccentuacute:[-90,-90,-120,-120,-92,-37,-55,-45],Tcommaaccentucircumflex:[-90,-90,-120,-120,-92,-37,-55,-45],Tcommaaccentudieresis:[-90,-90,-120,-120,-92,-37,-55,-45],Tcommaaccentugrave:[-90,-90,-120,-120,-92,-37,-55,-45],Tcommaaccentuhungarumlaut:[-90,-90,-120,-120,-92,-37,-55,-45],Tcommaaccentumacron:[-90,-90,-60,-60,-92,-37,-55,-45],Tcommaaccentuogonek:[-90,-90,-120,-120,-92,-37,-55,-45],Tcommaaccenturing:[-90,-90,-120,-120,-92,-37,-55,-45],Tcommaaccentw:[-60,-60,-120,-120,-74,-37,-74,-80],Tcommaaccenty:[-60,-60,-120,-120,-34,-37,-74,-80],Tcommaaccentyacute:[-60,-60,-120,-120,-34,-37,-74,-80],Tcommaaccentydieresis:[-60,-60,-60,-60,-34,-37,-34,-80],UA:[-50,-50,-40,-40,-60,-45,-40,-40],UAacute:[-50,-50,-40,-40,-60,-45,-40,-40],UAbreve:[-50,-50,-40,-40,-60,-45,-40,-40],UAcircumflex:[-50,-50,-40,-40,-60,-45,-40,-40],UAdieresis:[-50,-50,-40,-40,-60,-45,-40,-40],UAgrave:[-50,-50,-40,-40,-60,-45,-40,-40],UAmacron:[-50,-50,-40,-40,-60,-45,-40,-40],UAogonek:[-50,-50,-40,-40,-60,-45,-40,-40],UAring:[-50,-50,-40,-40,-60,-45,-40,-40],UAtilde:[-50,-50,-40,-40,-60,-45,-40,-40],Ucomma:[-30,-30,-40,-40,-50,0,-25],Uperiod:[-30,-30,-40,-40,-50,0,-25],UacuteA:[-50,-50,-40,-40,-60,-45,-40,-40],UacuteAacute:[-50,-50,-40,-40,-60,-45,-40,-40],UacuteAbreve:[-50,-50,-40,-40,-60,-45,-40,-40],UacuteAcircumflex:[-50,-50,-40,-40,-60,-45,-40,-40],UacuteAdieresis:[-50,-50,-40,-40,-60,-45,-40,-40],UacuteAgrave:[-50,-50,-40,-40,-60,-45,-40,-40],UacuteAmacron:[-50,-50,-40,-40,-60,-45,-40,-40],UacuteAogonek:[-50,-50,-40,-40,-60,-45,-40,-40],UacuteAring:[-50,-50,-40,-40,-60,-45,-40,-40],UacuteAtilde:[-50,-50,-40,-40,-60,-45,-40,-40],Uacutecomma:[-30,-30,-40,-40,-50,0,-25],Uacuteperiod:[-30,-30,-40,-40,-50,0,-25],UcircumflexA:[-50,-50,-40,-40,-60,-45,-40,-40],UcircumflexAacute:[-50,-50,-40,-40,-60,-45,-40,-40],UcircumflexAbreve:[-50,-50,-40,-40,-60,-45,-40,-40],UcircumflexAcircumflex:[-50,-50,-40,-40,-60,-45,-40,-40],UcircumflexAdieresis:[-50,-50,-40,-40,-60,-45,-40,-40],UcircumflexAgrave:[-50,-50,-40,-40,-60,-45,-40,-40],UcircumflexAmacron:[-50,-50,-40,-40,-60,-45,-40,-40],UcircumflexAogonek:[-50,-50,-40,-40,-60,-45,-40,-40],UcircumflexAring:[-50,-50,-40,-40,-60,-45,-40,-40],UcircumflexAtilde:[-50,-50,-40,-40,-60,-45,-40,-40],Ucircumflexcomma:[-30,-30,-40,-40,-50,0,-25],Ucircumflexperiod:[-30,-30,-40,-40,-50,0,-25],UdieresisA:[-50,-50,-40,-40,-60,-45,-40,-40],UdieresisAacute:[-50,-50,-40,-40,-60,-45,-40,-40],UdieresisAbreve:[-50,-50,-40,-40,-60,-45,-40,-40],UdieresisAcircumflex:[-50,-50,-40,-40,-60,-45,-40,-40],UdieresisAdieresis:[-50,-50,-40,-40,-60,-45,-40,-40],UdieresisAgrave:[-50,-50,-40,-40,-60,-45,-40,-40],UdieresisAmacron:[-50,-50,-40,-40,-60,-45,-40,-40],UdieresisAogonek:[-50,-50,-40,-40,-60,-45,-40,-40],UdieresisAring:[-50,-50,-40,-40,-60,-45,-40,-40],UdieresisAtilde:[-50,-50,-40,-40,-60,-45,-40,-40],Udieresiscomma:[-30,-30,-40,-40,-50,0,-25],Udieresisperiod:[-30,-30,-40,-40,-50,0,-25],UgraveA:[-50,-50,-40,-40,-60,-45,-40,-40],UgraveAacute:[-50,-50,-40,-40,-60,-45,-40,-40],UgraveAbreve:[-50,-50,-40,-40,-60,-45,-40,-40],UgraveAcircumflex:[-50,-50,-40,-40,-60,-45,-40,-40],UgraveAdieresis:[-50,-50,-40,-40,-60,-45,-40,-40],UgraveAgrave:[-50,-50,-40,-40,-60,-45,-40,-40],UgraveAmacron:[-50,-50,-40,-40,-60,-45,-40,-40],UgraveAogonek:[-50,-50,-40,-40,-60,-45,-40,-40],UgraveAring:[-50,-50,-40,-40,-60,-45,-40,-40],UgraveAtilde:[-50,-50,-40,-40,-60,-45,-40,-40],Ugravecomma:[-30,-30,-40,-40,-50,0,-25],Ugraveperiod:[-30,-30,-40,-40,-50,0,-25],UhungarumlautA:[-50,-50,-40,-40,-60,-45,-40,-40],UhungarumlautAacute:[-50,-50,-40,-40,-60,-45,-40,-40],UhungarumlautAbreve:[-50,-50,-40,-40,-60,-45,-40,-40],UhungarumlautAcircumflex:[-50,-50,-40,-40,-60,-45,-40,-40],UhungarumlautAdieresis:[-50,-50,-40,-40,-60,-45,-40,-40],UhungarumlautAgrave:[-50,-50,-40,-40,-60,-45,-40,-40],UhungarumlautAmacron:[-50,-50,-40,-40,-60,-45,-40,-40],UhungarumlautAogonek:[-50,-50,-40,-40,-60,-45,-40,-40],UhungarumlautAring:[-50,-50,-40,-40,-60,-45,-40,-40],UhungarumlautAtilde:[-50,-50,-40,-40,-60,-45,-40,-40],Uhungarumlautcomma:[-30,-30,-40,-40,-50,0,-25],Uhungarumlautperiod:[-30,-30,-40,-40,-50,0,-25],UmacronA:[-50,-50,-40,-40,-60,-45,-40,-40],UmacronAacute:[-50,-50,-40,-40,-60,-45,-40,-40],UmacronAbreve:[-50,-50,-40,-40,-60,-45,-40,-40],UmacronAcircumflex:[-50,-50,-40,-40,-60,-45,-40,-40],UmacronAdieresis:[-50,-50,-40,-40,-60,-45,-40,-40],UmacronAgrave:[-50,-50,-40,-40,-60,-45,-40,-40],UmacronAmacron:[-50,-50,-40,-40,-60,-45,-40,-40],UmacronAogonek:[-50,-50,-40,-40,-60,-45,-40,-40],UmacronAring:[-50,-50,-40,-40,-60,-45,-40,-40],UmacronAtilde:[-50,-50,-40,-40,-60,-45,-40,-40],Umacroncomma:[-30,-30,-40,-40,-50,0,-25],Umacronperiod:[-30,-30,-40,-40,-50,0,-25],UogonekA:[-50,-50,-40,-40,-60,-45,-40,-40],UogonekAacute:[-50,-50,-40,-40,-60,-45,-40,-40],UogonekAbreve:[-50,-50,-40,-40,-60,-45,-40,-40],UogonekAcircumflex:[-50,-50,-40,-40,-60,-45,-40,-40],UogonekAdieresis:[-50,-50,-40,-40,-60,-45,-40,-40],UogonekAgrave:[-50,-50,-40,-40,-60,-45,-40,-40],UogonekAmacron:[-50,-50,-40,-40,-60,-45,-40,-40],UogonekAogonek:[-50,-50,-40,-40,-60,-45,-40,-40],UogonekAring:[-50,-50,-40,-40,-60,-45,-40,-40],UogonekAtilde:[-50,-50,-40,-40,-60,-45,-40,-40],Uogonekcomma:[-30,-30,-40,-40,-50,0,-25],Uogonekperiod:[-30,-30,-40,-40,-50,0,-25],UringA:[-50,-50,-40,-40,-60,-45,-40,-40],UringAacute:[-50,-50,-40,-40,-60,-45,-40,-40],UringAbreve:[-50,-50,-40,-40,-60,-45,-40,-40],UringAcircumflex:[-50,-50,-40,-40,-60,-45,-40,-40],UringAdieresis:[-50,-50,-40,-40,-60,-45,-40,-40],UringAgrave:[-50,-50,-40,-40,-60,-45,-40,-40],UringAmacron:[-50,-50,-40,-40,-60,-45,-40,-40],UringAogonek:[-50,-50,-40,-40,-60,-45,-40,-40],UringAring:[-50,-50,-40,-40,-60,-45,-40,-40],UringAtilde:[-50,-50,-40,-40,-60,-45,-40,-40],Uringcomma:[-30,-30,-40,-40,-50,0,-25],Uringperiod:[-30,-30,-40,-40,-50,0,-25],VA:[-80,-80,-80,-80,-135,-85,-60,-135],VAacute:[-80,-80,-80,-80,-135,-85,-60,-135],VAbreve:[-80,-80,-80,-80,-135,-85,-60,-135],VAcircumflex:[-80,-80,-80,-80,-135,-85,-60,-135],VAdieresis:[-80,-80,-80,-80,-135,-85,-60,-135],VAgrave:[-80,-80,-80,-80,-135,-85,-60,-135],VAmacron:[-80,-80,-80,-80,-135,-85,-60,-135],VAogonek:[-80,-80,-80,-80,-135,-85,-60,-135],VAring:[-80,-80,-80,-80,-135,-85,-60,-135],VAtilde:[-80,-80,-80,-80,-135,-85,-60,-135],VG:[-50,-50,-40,-40,-30,-10,0,-15],VGbreve:[-50,-50,-40,-40,-30,-10,0,-15],VGcommaaccent:[-50,-50,-40,-40,-30,-10,0,-15],VO:[-50,-50,-40,-40,-45,-30,-30,-40],VOacute:[-50,-50,-40,-40,-45,-30,-30,-40],VOcircumflex:[-50,-50,-40,-40,-45,-30,-30,-40],VOdieresis:[-50,-50,-40,-40,-45,-30,-30,-40],VOgrave:[-50,-50,-40,-40,-45,-30,-30,-40],VOhungarumlaut:[-50,-50,-40,-40,-45,-30,-30,-40],VOmacron:[-50,-50,-40,-40,-45,-30,-30,-40],VOslash:[-50,-50,-40,-40,-45,-30,-30,-40],VOtilde:[-50,-50,-40,-40,-45,-30,-30,-40],Va:[-60,-60,-70,-70,-92,-111,-111,-111],Vaacute:[-60,-60,-70,-70,-92,-111,-111,-111],Vabreve:[-60,-60,-70,-70,-92,-111,-111,-111],Vacircumflex:[-60,-60,-70,-70,-92,-111,-111,-71],Vadieresis:[-60,-60,-70,-70,-92,-111,-111,-71],Vagrave:[-60,-60,-70,-70,-92,-111,-111,-71],Vamacron:[-60,-60,-70,-70,-92,-111,-111,-71],Vaogonek:[-60,-60,-70,-70,-92,-111,-111,-111],Varing:[-60,-60,-70,-70,-92,-111,-111,-111],Vatilde:[-60,-60,-70,-70,-92,-111,-111,-71],Vcolon:[-40,-40,-40,-40,-92,-74,-65,-74],Vcomma:[-120,-120,-125,-125,-129,-129,-129,-129],Ve:[-50,-50,-80,-80,-100,-111,-111,-111],Veacute:[-50,-50,-80,-80,-100,-111,-111,-111],Vecaron:[-50,-50,-80,-80,-100,-111,-111,-71],Vecircumflex:[-50,-50,-80,-80,-100,-111,-111,-71],Vedieresis:[-50,-50,-80,-80,-100,-71,-71,-71],Vedotaccent:[-50,-50,-80,-80,-100,-111,-111,-111],Vegrave:[-50,-50,-80,-80,-100,-71,-71,-71],Vemacron:[-50,-50,-80,-80,-100,-71,-71,-71],Veogonek:[-50,-50,-80,-80,-100,-111,-111,-111],Vhyphen:[-80,-80,-80,-80,-74,-70,-55,-100],Vo:[-90,-90,-80,-80,-100,-111,-111,-129],Voacute:[-90,-90,-80,-80,-100,-111,-111,-129],Vocircumflex:[-90,-90,-80,-80,-100,-111,-111,-129],Vodieresis:[-90,-90,-80,-80,-100,-111,-111,-89],Vograve:[-90,-90,-80,-80,-100,-111,-111,-89],Vohungarumlaut:[-90,-90,-80,-80,-100,-111,-111,-129],Vomacron:[-90,-90,-80,-80,-100,-111,-111,-89],Voslash:[-90,-90,-80,-80,-100,-111,-111,-129],Votilde:[-90,-90,-80,-80,-100,-111,-111,-89],Vperiod:[-120,-120,-125,-125,-145,-129,-129,-129],Vsemicolon:[-40,-40,-40,-40,-92,-74,-74,-74],Vu:[-60,-60,-70,-70,-92,-55,-74,-75],Vuacute:[-60,-60,-70,-70,-92,-55,-74,-75],Vucircumflex:[-60,-60,-70,-70,-92,-55,-74,-75],Vudieresis:[-60,-60,-70,-70,-92,-55,-74,-75],Vugrave:[-60,-60,-70,-70,-92,-55,-74,-75],Vuhungarumlaut:[-60,-60,-70,-70,-92,-55,-74,-75],Vumacron:[-60,-60,-70,-70,-92,-55,-74,-75],Vuogonek:[-60,-60,-70,-70,-92,-55,-74,-75],Vuring:[-60,-60,-70,-70,-92,-55,-74,-75],WA:[-60,-60,-50,-50,-120,-74,-60,-120],WAacute:[-60,-60,-50,-50,-120,-74,-60,-120],WAbreve:[-60,-60,-50,-50,-120,-74,-60,-120],WAcircumflex:[-60,-60,-50,-50,-120,-74,-60,-120],WAdieresis:[-60,-60,-50,-50,-120,-74,-60,-120],WAgrave:[-60,-60,-50,-50,-120,-74,-60,-120],WAmacron:[-60,-60,-50,-50,-120,-74,-60,-120],WAogonek:[-60,-60,-50,-50,-120,-74,-60,-120],WAring:[-60,-60,-50,-50,-120,-74,-60,-120],WAtilde:[-60,-60,-50,-50,-120,-74,-60,-120],WO:[-20,-20,-20,-20,-10,-15,-25,-10],WOacute:[-20,-20,-20,-20,-10,-15,-25,-10],WOcircumflex:[-20,-20,-20,-20,-10,-15,-25,-10],WOdieresis:[-20,-20,-20,-20,-10,-15,-25,-10],WOgrave:[-20,-20,-20,-20,-10,-15,-25,-10],WOhungarumlaut:[-20,-20,-20,-20,-10,-15,-25,-10],WOmacron:[-20,-20,-20,-20,-10,-15,-25,-10],WOslash:[-20,-20,-20,-20,-10,-15,-25,-10],WOtilde:[-20,-20,-20,-20,-10,-15,-25,-10],Wa:[-40,-40,-40,-40,-65,-85,-92,-80],Waacute:[-40,-40,-40,-40,-65,-85,-92,-80],Wabreve:[-40,-40,-40,-40,-65,-85,-92,-80],Wacircumflex:[-40,-40,-40,-40,-65,-85,-92,-80],Wadieresis:[-40,-40,-40,-40,-65,-85,-92,-80],Wagrave:[-40,-40,-40,-40,-65,-85,-92,-80],Wamacron:[-40,-40,-40,-40,-65,-85,-92,-80],Waogonek:[-40,-40,-40,-40,-65,-85,-92,-80],Waring:[-40,-40,-40,-40,-65,-85,-92,-80],Watilde:[-40,-40,-40,-40,-65,-85,-92,-80],Wcolon:[-10,-10,0,0,-55,-55,-65,-37],Wcomma:[-80,-80,-80,-80,-92,-74,-92,-92],We:[-35,-35,-30,-30,-65,-90,-92,-80],Weacute:[-35,-35,-30,-30,-65,-90,-92,-80],Wecaron:[-35,-35,-30,-30,-65,-90,-92,-80],Wecircumflex:[-35,-35,-30,-30,-65,-90,-92,-80],Wedieresis:[-35,-35,-30,-30,-65,-50,-52,-40],Wedotaccent:[-35,-35,-30,-30,-65,-90,-92,-80],Wegrave:[-35,-35,-30,-30,-65,-50,-52,-40],Wemacron:[-35,-35,-30,-30,-65,-50,-52,-40],Weogonek:[-35,-35,-30,-30,-65,-90,-92,-80],Whyphen:[-40,-40,-40,-40,-37,-50,-37,-65],Wo:[-60,-60,-30,-30,-75,-80,-92,-80],Woacute:[-60,-60,-30,-30,-75,-80,-92,-80],Wocircumflex:[-60,-60,-30,-30,-75,-80,-92,-80],Wodieresis:[-60,-60,-30,-30,-75,-80,-92,-80],Wograve:[-60,-60,-30,-30,-75,-80,-92,-80],Wohungarumlaut:[-60,-60,-30,-30,-75,-80,-92,-80],Womacron:[-60,-60,-30,-30,-75,-80,-92,-80],Woslash:[-60,-60,-30,-30,-75,-80,-92,-80],Wotilde:[-60,-60,-30,-30,-75,-80,-92,-80],Wperiod:[-80,-80,-80,-80,-92,-74,-92,-92],Wsemicolon:[-10,-10,0,0,-55,-55,-65,-37],Wu:[-45,-45,-30,-30,-50,-55,-55,-50],Wuacute:[-45,-45,-30,-30,-50,-55,-55,-50],Wucircumflex:[-45,-45,-30,-30,-50,-55,-55,-50],Wudieresis:[-45,-45,-30,-30,-50,-55,-55,-50],Wugrave:[-45,-45,-30,-30,-50,-55,-55,-50],Wuhungarumlaut:[-45,-45,-30,-30,-50,-55,-55,-50],Wumacron:[-45,-45,-30,-30,-50,-55,-55,-50],Wuogonek:[-45,-45,-30,-30,-50,-55,-55,-50],Wuring:[-45,-45,-30,-30,-50,-55,-55,-50],Wy:[-20,-20,-20,-20,-60,-55,-70,-73],Wyacute:[-20,-20,-20,-20,-60,-55,-70,-73],Wydieresis:[-20,-20,-20,-20,-60,-55,-70,-73],YA:[-110,-110,-110,-110,-110,-74,-50,-120],YAacute:[-110,-110,-110,-110,-110,-74,-50,-120],YAbreve:[-110,-110,-110,-110,-110,-74,-50,-120],YAcircumflex:[-110,-110,-110,-110,-110,-74,-50,-120],YAdieresis:[-110,-110,-110,-110,-110,-74,-50,-120],YAgrave:[-110,-110,-110,-110,-110,-74,-50,-120],YAmacron:[-110,-110,-110,-110,-110,-74,-50,-120],YAogonek:[-110,-110,-110,-110,-110,-74,-50,-120],YAring:[-110,-110,-110,-110,-110,-74,-50,-120],YAtilde:[-110,-110,-110,-110,-110,-74,-50,-120],YO:[-70,-70,-85,-85,-35,-25,-15,-30],YOacute:[-70,-70,-85,-85,-35,-25,-15,-30],YOcircumflex:[-70,-70,-85,-85,-35,-25,-15,-30],YOdieresis:[-70,-70,-85,-85,-35,-25,-15,-30],YOgrave:[-70,-70,-85,-85,-35,-25,-15,-30],YOhungarumlaut:[-70,-70,-85,-85,-35,-25,-15,-30],YOmacron:[-70,-70,-85,-85,-35,-25,-15,-30],YOslash:[-70,-70,-85,-85,-35,-25,-15,-30],YOtilde:[-70,-70,-85,-85,-35,-25,-15,-30],Ya:[-90,-90,-140,-140,-85,-92,-92,-100],Yaacute:[-90,-90,-140,-140,-85,-92,-92,-100],Yabreve:[-90,-90,-70,-70,-85,-92,-92,-100],Yacircumflex:[-90,-90,-140,-140,-85,-92,-92,-100],Yadieresis:[-90,-90,-140,-140,-85,-92,-92,-60],Yagrave:[-90,-90,-140,-140,-85,-92,-92,-60],Yamacron:[-90,-90,-70,-70,-85,-92,-92,-60],Yaogonek:[-90,-90,-140,-140,-85,-92,-92,-100],Yaring:[-90,-90,-140,-140,-85,-92,-92,-100],Yatilde:[-90,-90,-140,-140,-85,-92,-92,-60],Ycolon:[-50,-50,-60,-60,-92,-92,-65,-92],Ycomma:[-100,-100,-140,-140,-92,-92,-92,-129],Ye:[-80,-80,-140,-140,-111,-111,-92,-100],Yeacute:[-80,-80,-140,-140,-111,-111,-92,-100],Yecaron:[-80,-80,-140,-140,-111,-111,-92,-100],Yecircumflex:[-80,-80,-140,-140,-111,-71,-92,-100],Yedieresis:[-80,-80,-140,-140,-71,-71,-52,-60],Yedotaccent:[-80,-80,-140,-140,-111,-111,-92,-100],Yegrave:[-80,-80,-140,-140,-71,-71,-52,-60],Yemacron:[-80,-80,-70,-70,-71,-71,-52,-60],Yeogonek:[-80,-80,-140,-140,-111,-111,-92,-100],Yo:[-100,-100,-140,-140,-111,-111,-92,-110],Yoacute:[-100,-100,-140,-140,-111,-111,-92,-110],Yocircumflex:[-100,-100,-140,-140,-111,-111,-92,-110],Yodieresis:[-100,-100,-140,-140,-111,-111,-92,-70],Yograve:[-100,-100,-140,-140,-111,-111,-92,-70],Yohungarumlaut:[-100,-100,-140,-140,-111,-111,-92,-110],Yomacron:[-100,-100,-140,-140,-111,-111,-92,-70],Yoslash:[-100,-100,-140,-140,-111,-111,-92,-110],Yotilde:[-100,-100,-140,-140,-111,-111,-92,-70],Yperiod:[-100,-100,-140,-140,-92,-74,-92,-129],Ysemicolon:[-50,-50,-60,-60,-92,-92,-65,-92],Yu:[-100,-100,-110,-110,-92,-92,-92,-111],Yuacute:[-100,-100,-110,-110,-92,-92,-92,-111],Yucircumflex:[-100,-100,-110,-110,-92,-92,-92,-111],Yudieresis:[-100,-100,-110,-110,-92,-92,-92,-71],Yugrave:[-100,-100,-110,-110,-92,-92,-92,-71],Yuhungarumlaut:[-100,-100,-110,-110,-92,-92,-92,-111],Yumacron:[-100,-100,-110,-110,-92,-92,-92,-71],Yuogonek:[-100,-100,-110,-110,-92,-92,-92,-111],Yuring:[-100,-100,-110,-110,-92,-92,-92,-111],YacuteA:[-110,-110,-110,-110,-110,-74,-50,-120],YacuteAacute:[-110,-110,-110,-110,-110,-74,-50,-120],YacuteAbreve:[-110,-110,-110,-110,-110,-74,-50,-120],YacuteAcircumflex:[-110,-110,-110,-110,-110,-74,-50,-120],YacuteAdieresis:[-110,-110,-110,-110,-110,-74,-50,-120],YacuteAgrave:[-110,-110,-110,-110,-110,-74,-50,-120],YacuteAmacron:[-110,-110,-110,-110,-110,-74,-50,-120],YacuteAogonek:[-110,-110,-110,-110,-110,-74,-50,-120],YacuteAring:[-110,-110,-110,-110,-110,-74,-50,-120],YacuteAtilde:[-110,-110,-110,-110,-110,-74,-50,-120],YacuteO:[-70,-70,-85,-85,-35,-25,-15,-30],YacuteOacute:[-70,-70,-85,-85,-35,-25,-15,-30],YacuteOcircumflex:[-70,-70,-85,-85,-35,-25,-15,-30],YacuteOdieresis:[-70,-70,-85,-85,-35,-25,-15,-30],YacuteOgrave:[-70,-70,-85,-85,-35,-25,-15,-30],YacuteOhungarumlaut:[-70,-70,-85,-85,-35,-25,-15,-30],YacuteOmacron:[-70,-70,-85,-85,-35,-25,-15,-30],YacuteOslash:[-70,-70,-85,-85,-35,-25,-15,-30],YacuteOtilde:[-70,-70,-85,-85,-35,-25,-15,-30],Yacutea:[-90,-90,-140,-140,-85,-92,-92,-100],Yacuteaacute:[-90,-90,-140,-140,-85,-92,-92,-100],Yacuteabreve:[-90,-90,-70,-70,-85,-92,-92,-100],Yacuteacircumflex:[-90,-90,-140,-140,-85,-92,-92,-100],Yacuteadieresis:[-90,-90,-140,-140,-85,-92,-92,-60],Yacuteagrave:[-90,-90,-140,-140,-85,-92,-92,-60],Yacuteamacron:[-90,-90,-70,-70,-85,-92,-92,-60],Yacuteaogonek:[-90,-90,-140,-140,-85,-92,-92,-100],Yacutearing:[-90,-90,-140,-140,-85,-92,-92,-100],Yacuteatilde:[-90,-90,-70,-70,-85,-92,-92,-60],Yacutecolon:[-50,-50,-60,-60,-92,-92,-65,-92],Yacutecomma:[-100,-100,-140,-140,-92,-92,-92,-129],Yacutee:[-80,-80,-140,-140,-111,-111,-92,-100],Yacuteeacute:[-80,-80,-140,-140,-111,-111,-92,-100],Yacuteecaron:[-80,-80,-140,-140,-111,-111,-92,-100],Yacuteecircumflex:[-80,-80,-140,-140,-111,-71,-92,-100],Yacuteedieresis:[-80,-80,-140,-140,-71,-71,-52,-60],Yacuteedotaccent:[-80,-80,-140,-140,-111,-111,-92,-100],Yacuteegrave:[-80,-80,-140,-140,-71,-71,-52,-60],Yacuteemacron:[-80,-80,-70,-70,-71,-71,-52,-60],Yacuteeogonek:[-80,-80,-140,-140,-111,-111,-92,-100],Yacuteo:[-100,-100,-140,-140,-111,-111,-92,-110],Yacuteoacute:[-100,-100,-140,-140,-111,-111,-92,-110],Yacuteocircumflex:[-100,-100,-140,-140,-111,-111,-92,-110],Yacuteodieresis:[-100,-100,-140,-140,-111,-111,-92,-70],Yacuteograve:[-100,-100,-140,-140,-111,-111,-92,-70],Yacuteohungarumlaut:[-100,-100,-140,-140,-111,-111,-92,-110],Yacuteomacron:[-100,-100,-70,-70,-111,-111,-92,-70],Yacuteoslash:[-100,-100,-140,-140,-111,-111,-92,-110],Yacuteotilde:[-100,-100,-140,-140,-111,-111,-92,-70],Yacuteperiod:[-100,-100,-140,-140,-92,-74,-92,-129],Yacutesemicolon:[-50,-50,-60,-60,-92,-92,-65,-92],Yacuteu:[-100,-100,-110,-110,-92,-92,-92,-111],Yacuteuacute:[-100,-100,-110,-110,-92,-92,-92,-111],Yacuteucircumflex:[-100,-100,-110,-110,-92,-92,-92,-111],Yacuteudieresis:[-100,-100,-110,-110,-92,-92,-92,-71],Yacuteugrave:[-100,-100,-110,-110,-92,-92,-92,-71],Yacuteuhungarumlaut:[-100,-100,-110,-110,-92,-92,-92,-111],Yacuteumacron:[-100,-100,-110,-110,-92,-92,-92,-71],Yacuteuogonek:[-100,-100,-110,-110,-92,-92,-92,-111],Yacuteuring:[-100,-100,-110,-110,-92,-92,-92,-111],YdieresisA:[-110,-110,-110,-110,-110,-74,-50,-120],YdieresisAacute:[-110,-110,-110,-110,-110,-74,-50,-120],YdieresisAbreve:[-110,-110,-110,-110,-110,-74,-50,-120],YdieresisAcircumflex:[-110,-110,-110,-110,-110,-74,-50,-120],YdieresisAdieresis:[-110,-110,-110,-110,-110,-74,-50,-120],YdieresisAgrave:[-110,-110,-110,-110,-110,-74,-50,-120],YdieresisAmacron:[-110,-110,-110,-110,-110,-74,-50,-120],YdieresisAogonek:[-110,-110,-110,-110,-110,-74,-50,-120],YdieresisAring:[-110,-110,-110,-110,-110,-74,-50,-120],YdieresisAtilde:[-110,-110,-110,-110,-110,-74,-50,-120],YdieresisO:[-70,-70,-85,-85,-35,-25,-15,-30],YdieresisOacute:[-70,-70,-85,-85,-35,-25,-15,-30],YdieresisOcircumflex:[-70,-70,-85,-85,-35,-25,-15,-30],YdieresisOdieresis:[-70,-70,-85,-85,-35,-25,-15,-30],YdieresisOgrave:[-70,-70,-85,-85,-35,-25,-15,-30],YdieresisOhungarumlaut:[-70,-70,-85,-85,-35,-25,-15,-30],YdieresisOmacron:[-70,-70,-85,-85,-35,-25,-15,-30],YdieresisOslash:[-70,-70,-85,-85,-35,-25,-15,-30],YdieresisOtilde:[-70,-70,-85,-85,-35,-25,-15,-30],Ydieresisa:[-90,-90,-140,-140,-85,-92,-92,-100],Ydieresisaacute:[-90,-90,-140,-140,-85,-92,-92,-100],Ydieresisabreve:[-90,-90,-70,-70,-85,-92,-92,-100],Ydieresisacircumflex:[-90,-90,-140,-140,-85,-92,-92,-100],Ydieresisadieresis:[-90,-90,-140,-140,-85,-92,-92,-60],Ydieresisagrave:[-90,-90,-140,-140,-85,-92,-92,-60],Ydieresisamacron:[-90,-90,-70,-70,-85,-92,-92,-60],Ydieresisaogonek:[-90,-90,-140,-140,-85,-92,-92,-100],Ydieresisaring:[-90,-90,-140,-140,-85,-92,-92,-100],Ydieresisatilde:[-90,-90,-70,-70,-85,-92,-92,-100],Ydieresiscolon:[-50,-50,-60,-60,-92,-92,-65,-92],Ydieresiscomma:[-100,-100,-140,-140,-92,-92,-92,-129],Ydieresise:[-80,-80,-140,-140,-111,-111,-92,-100],Ydieresiseacute:[-80,-80,-140,-140,-111,-111,-92,-100],Ydieresisecaron:[-80,-80,-140,-140,-111,-111,-92,-100],Ydieresisecircumflex:[-80,-80,-140,-140,-111,-71,-92,-100],Ydieresisedieresis:[-80,-80,-140,-140,-71,-71,-52,-60],Ydieresisedotaccent:[-80,-80,-140,-140,-111,-111,-92,-100],Ydieresisegrave:[-80,-80,-140,-140,-71,-71,-52,-60],Ydieresisemacron:[-80,-80,-70,-70,-71,-71,-52,-60],Ydieresiseogonek:[-80,-80,-140,-140,-111,-111,-92,-100],Ydieresiso:[-100,-100,-140,-140,-111,-111,-92,-110],Ydieresisoacute:[-100,-100,-140,-140,-111,-111,-92,-110],Ydieresisocircumflex:[-100,-100,-140,-140,-111,-111,-92,-110],Ydieresisodieresis:[-100,-100,-140,-140,-111,-111,-92,-70],Ydieresisograve:[-100,-100,-140,-140,-111,-111,-92,-70],Ydieresisohungarumlaut:[-100,-100,-140,-140,-111,-111,-92,-110],Ydieresisomacron:[-100,-100,-140,-140,-111,-111,-92,-70],Ydieresisoslash:[-100,-100,-140,-140,-111,-111,-92,-110],Ydieresisotilde:[-100,-100,-140,-140,-111,-111,-92,-70],Ydieresisperiod:[-100,-100,-140,-140,-92,-74,-92,-129],Ydieresissemicolon:[-50,-50,-60,-60,-92,-92,-65,-92],Ydieresisu:[-100,-100,-110,-110,-92,-92,-92,-111],Ydieresisuacute:[-100,-100,-110,-110,-92,-92,-92,-111],Ydieresisucircumflex:[-100,-100,-110,-110,-92,-92,-92,-111],Ydieresisudieresis:[-100,-100,-110,-110,-92,-92,-92,-71],Ydieresisugrave:[-100,-100,-110,-110,-92,-92,-92,-71],Ydieresisuhungarumlaut:[-100,-100,-110,-110,-92,-92,-92,-111],Ydieresisumacron:[-100,-100,-110,-110,-92,-92,-92,-71],Ydieresisuogonek:[-100,-100,-110,-110,-92,-92,-92,-111],Ydieresisuring:[-100,-100,-110,-110,-92,-92,-92,-111],ag:[-10,-10,0,0,0,0,-10],agbreve:[-10,-10,0,0,0,0,-10],agcommaaccent:[-10,-10,0,0,0,0,-10],av:[-15,-15,-20,-20,-25,0,0,-20],aw:[-15,-15,-20,-20,0,0,0,-15],ay:[-20,-20,-30,-30],ayacute:[-20,-20,-30,-30],aydieresis:[-20,-20,-30,-30],aacuteg:[-10,-10,0,0,0,0,-10],aacutegbreve:[-10,-10,0,0,0,0,-10],aacutegcommaaccent:[-10,-10,0,0,0,0,-10],aacutev:[-15,-15,-20,-20,-25,0,0,-20],aacutew:[-15,-15,-20,-20,0,0,0,-15],aacutey:[-20,-20,-30,-30],aacuteyacute:[-20,-20,-30,-30],aacuteydieresis:[-20,-20,-30,-30],abreveg:[-10,-10,0,0,0,0,-10],abrevegbreve:[-10,-10,0,0,0,0,-10],abrevegcommaaccent:[-10,-10,0,0,0,0,-10],abrevev:[-15,-15,-20,-20,-25,0,0,-20],abrevew:[-15,-15,-20,-20,0,0,0,-15],abrevey:[-20,-20,-30,-30],abreveyacute:[-20,-20,-30,-30],abreveydieresis:[-20,-20,-30,-30],acircumflexg:[-10,-10,0,0,0,0,-10],acircumflexgbreve:[-10,-10,0,0,0,0,-10],acircumflexgcommaaccent:[-10,-10,0,0,0,0,-10],acircumflexv:[-15,-15,-20,-20,-25,0,0,-20],acircumflexw:[-15,-15,-20,-20,0,0,0,-15],acircumflexy:[-20,-20,-30,-30],acircumflexyacute:[-20,-20,-30,-30],acircumflexydieresis:[-20,-20,-30,-30],adieresisg:[-10,-10,0,0,0,0,-10],adieresisgbreve:[-10,-10,0,0,0,0,-10],adieresisgcommaaccent:[-10,-10,0,0,0,0,-10],adieresisv:[-15,-15,-20,-20,-25,0,0,-20],adieresisw:[-15,-15,-20,-20,0,0,0,-15],adieresisy:[-20,-20,-30,-30],adieresisyacute:[-20,-20,-30,-30],adieresisydieresis:[-20,-20,-30,-30],agraveg:[-10,-10,0,0,0,0,-10],agravegbreve:[-10,-10,0,0,0,0,-10],agravegcommaaccent:[-10,-10,0,0,0,0,-10],agravev:[-15,-15,-20,-20,-25,0,0,-20],agravew:[-15,-15,-20,-20,0,0,0,-15],agravey:[-20,-20,-30,-30],agraveyacute:[-20,-20,-30,-30],agraveydieresis:[-20,-20,-30,-30],amacrong:[-10,-10,0,0,0,0,-10],amacrongbreve:[-10,-10,0,0,0,0,-10],amacrongcommaaccent:[-10,-10,0,0,0,0,-10],amacronv:[-15,-15,-20,-20,-25,0,0,-20],amacronw:[-15,-15,-20,-20,0,0,0,-15],amacrony:[-20,-20,-30,-30],amacronyacute:[-20,-20,-30,-30],amacronydieresis:[-20,-20,-30,-30],aogonekg:[-10,-10,0,0,0,0,-10],aogonekgbreve:[-10,-10,0,0,0,0,-10],aogonekgcommaaccent:[-10,-10,0,0,0,0,-10],aogonekv:[-15,-15,-20,-20,-25,0,0,-20],aogonekw:[-15,-15,-20,-20,0,0,0,-15],aogoneky:[-20,-20,-30,-30],aogonekyacute:[-20,-20,-30,-30],aogonekydieresis:[-20,-20,-30,-30],aringg:[-10,-10,0,0,0,0,-10],aringgbreve:[-10,-10,0,0,0,0,-10],aringgcommaaccent:[-10,-10,0,0,0,0,-10],aringv:[-15,-15,-20,-20,-25,0,0,-20],aringw:[-15,-15,-20,-20,0,0,0,-15],aringy:[-20,-20,-30,-30],aringyacute:[-20,-20,-30,-30],aringydieresis:[-20,-20,-30,-30],atildeg:[-10,-10,0,0,0,0,-10],atildegbreve:[-10,-10,0,0,0,0,-10],atildegcommaaccent:[-10,-10,0,0,0,0,-10],atildev:[-15,-15,-20,-20,-25,0,0,-20],atildew:[-15,-15,-20,-20,0,0,0,-15],atildey:[-20,-20,-30,-30],atildeyacute:[-20,-20,-30,-30],atildeydieresis:[-20,-20,-30,-30],bl:[-10,-10,-20,-20],blacute:[-10,-10,-20,-20],blcommaaccent:[-10,-10,-20,-20],blslash:[-10,-10,-20,-20],bu:[-20,-20,-20,-20,-20,-20,-20,-20],buacute:[-20,-20,-20,-20,-20,-20,-20,-20],bucircumflex:[-20,-20,-20,-20,-20,-20,-20,-20],budieresis:[-20,-20,-20,-20,-20,-20,-20,-20],bugrave:[-20,-20,-20,-20,-20,-20,-20,-20],buhungarumlaut:[-20,-20,-20,-20,-20,-20,-20,-20],bumacron:[-20,-20,-20,-20,-20,-20,-20,-20],buogonek:[-20,-20,-20,-20,-20,-20,-20,-20],buring:[-20,-20,-20,-20,-20,-20,-20,-20],bv:[-20,-20,-20,-20,-15,0,0,-15],by:[-20,-20,-20,-20],byacute:[-20,-20,-20,-20],bydieresis:[-20,-20,-20,-20],ch:[-10,-10,0,0,0,-10,-15],ck:[-20,-20,-20,-20,0,-10,-20],ckcommaaccent:[-20,-20,-20,-20,0,-10,-20],cl:[-20,-20],clacute:[-20,-20],clcommaaccent:[-20,-20],clslash:[-20,-20],cy:[-10,-10,0,0,0,0,0,-15],cyacute:[-10,-10,0,0,0,0,0,-15],cydieresis:[-10,-10,0,0,0,0,0,-15],cacuteh:[-10,-10,0,0,0,-10,-15],cacutek:[-20,-20,-20,-20,0,-10,-20],cacutekcommaaccent:[-20,-20,-20,-20,0,-10,-20],cacutel:[-20,-20],cacutelacute:[-20,-20],cacutelcommaaccent:[-20,-20],cacutelslash:[-20,-20],cacutey:[-10,-10,0,0,0,0,0,-15],cacuteyacute:[-10,-10,0,0,0,0,0,-15],cacuteydieresis:[-10,-10,0,0,0,0,0,-15],ccaronh:[-10,-10,0,0,0,-10,-15],ccaronk:[-20,-20,-20,-20,0,-10,-20],ccaronkcommaaccent:[-20,-20,-20,-20,0,-10,-20],ccaronl:[-20,-20],ccaronlacute:[-20,-20],ccaronlcommaaccent:[-20,-20],ccaronlslash:[-20,-20],ccarony:[-10,-10,0,0,0,0,0,-15],ccaronyacute:[-10,-10,0,0,0,0,0,-15],ccaronydieresis:[-10,-10,0,0,0,0,0,-15],ccedillah:[-10,-10,0,0,0,-10,-15],ccedillak:[-20,-20,-20,-20,0,-10,-20],ccedillakcommaaccent:[-20,-20,-20,-20,0,-10,-20],ccedillal:[-20,-20],ccedillalacute:[-20,-20],ccedillalcommaaccent:[-20,-20],ccedillalslash:[-20,-20],ccedillay:[-10,-10,0,0,0,0,0,-15],ccedillayacute:[-10,-10,0,0,0,0,0,-15],ccedillaydieresis:[-10,-10,0,0,0,0,0,-15],colonspace:[-40,-40,-50,-50],commaquotedblright:[-120,-120,-100,-100,-45,-95,-140,-70],commaquoteright:[-120,-120,-100,-100,-55,-95,-140,-70],commaspace:[-40,-40],dd:[-10,-10],ddcroat:[-10,-10],dv:[-15,-15],dw:[-15,-15,0,0,-15],dy:[-15,-15],dyacute:[-15,-15],dydieresis:[-15,-15],dcroatd:[-10,-10],dcroatdcroat:[-10,-10],dcroatv:[-15,-15],dcroatw:[-15,-15,0,0,-15],dcroaty:[-15,-15],dcroatyacute:[-15,-15],dcroatydieresis:[-15,-15],ecomma:[10,10,-15,-15,0,0,-10],eperiod:[20,20,-15,-15,0,0,-15],ev:[-15,-15,-30,-30,-15,0,-15,-25],ew:[-15,-15,-20,-20,0,0,-15,-25],ex:[-15,-15,-30,-30,0,0,-20,-15],ey:[-15,-15,-20,-20,0,0,-30,-15],eyacute:[-15,-15,-20,-20,0,0,-30,-15],eydieresis:[-15,-15,-20,-20,0,0,-30,-15],eacutecomma:[10,10,-15,-15,0,0,-10],eacuteperiod:[20,20,-15,-15,0,0,-15],eacutev:[-15,-15,-30,-30,-15,0,-15,-25],eacutew:[-15,-15,-20,-20,0,0,-15,-25],eacutex:[-15,-15,-30,-30,0,0,-20,-15],eacutey:[-15,-15,-20,-20,0,0,-30,-15],eacuteyacute:[-15,-15,-20,-20,0,0,-30,-15],eacuteydieresis:[-15,-15,-20,-20,0,0,-30,-15],ecaroncomma:[10,10,-15,-15,0,0,-10],ecaronperiod:[20,20,-15,-15,0,0,-15],ecaronv:[-15,-15,-30,-30,-15,0,-15,-25],ecaronw:[-15,-15,-20,-20,0,0,-15,-25],ecaronx:[-15,-15,-30,-30,0,0,-20,-15],ecarony:[-15,-15,-20,-20,0,0,-30,-15],ecaronyacute:[-15,-15,-20,-20,0,0,-30,-15],ecaronydieresis:[-15,-15,-20,-20,0,0,-30,-15],ecircumflexcomma:[10,10,-15,-15,0,0,-10],ecircumflexperiod:[20,20,-15,-15,0,0,-15],ecircumflexv:[-15,-15,-30,-30,-15,0,-15,-25],ecircumflexw:[-15,-15,-20,-20,0,0,-15,-25],ecircumflexx:[-15,-15,-30,-30,0,0,-20,-15],ecircumflexy:[-15,-15,-20,-20,0,0,-30,-15],ecircumflexyacute:[-15,-15,-20,-20,0,0,-30,-15],ecircumflexydieresis:[-15,-15,-20,-20,0,0,-30,-15],edieresiscomma:[10,10,-15,-15,0,0,-10],edieresisperiod:[20,20,-15,-15,0,0,-15],edieresisv:[-15,-15,-30,-30,-15,0,-15,-25],edieresisw:[-15,-15,-20,-20,0,0,-15,-25],edieresisx:[-15,-15,-30,-30,0,0,-20,-15],edieresisy:[-15,-15,-20,-20,0,0,-30,-15],edieresisyacute:[-15,-15,-20,-20,0,0,-30,-15],edieresisydieresis:[-15,-15,-20,-20,0,0,-30,-15],edotaccentcomma:[10,10,-15,-15,0,0,-10],edotaccentperiod:[20,20,-15,-15,0,0,-15],edotaccentv:[-15,-15,-30,-30,-15,0,-15,-25],edotaccentw:[-15,-15,-20,-20,0,0,-15,-25],edotaccentx:[-15,-15,-30,-30,0,0,-20,-15],edotaccenty:[-15,-15,-20,-20,0,0,-30,-15],edotaccentyacute:[-15,-15,-20,-20,0,0,-30,-15],edotaccentydieresis:[-15,-15,-20,-20,0,0,-30,-15],egravecomma:[10,10,-15,-15,0,0,-10],egraveperiod:[20,20,-15,-15,0,0,-15],egravev:[-15,-15,-30,-30,-15,0,-15,-25],egravew:[-15,-15,-20,-20,0,0,-15,-25],egravex:[-15,-15,-30,-30,0,0,-20,-15],egravey:[-15,-15,-20,-20,0,0,-30,-15],egraveyacute:[-15,-15,-20,-20,0,0,-30,-15],egraveydieresis:[-15,-15,-20,-20,0,0,-30,-15],emacroncomma:[10,10,-15,-15,0,0,-10],emacronperiod:[20,20,-15,-15,0,0,-15],emacronv:[-15,-15,-30,-30,-15,0,-15,-25],emacronw:[-15,-15,-20,-20,0,0,-15,-25],emacronx:[-15,-15,-30,-30,0,0,-20,-15],emacrony:[-15,-15,-20,-20,0,0,-30,-15],emacronyacute:[-15,-15,-20,-20,0,0,-30,-15],emacronydieresis:[-15,-15,-20,-20,0,0,-30,-15],eogonekcomma:[10,10,-15,-15,0,0,-10],eogonekperiod:[20,20,-15,-15,0,0,-15],eogonekv:[-15,-15,-30,-30,-15,0,-15,-25],eogonekw:[-15,-15,-20,-20,0,0,-15,-25],eogonekx:[-15,-15,-30,-30,0,0,-20,-15],eogoneky:[-15,-15,-20,-20,0,0,-30,-15],eogonekyacute:[-15,-15,-20,-20,0,0,-30,-15],eogonekydieresis:[-15,-15,-20,-20,0,0,-30,-15],fcomma:[-10,-10,-30,-30,-15,-10,-10],fe:[-10,-10,-30,-30,0,-10],feacute:[-10,-10,-30,-30,0,-10],fecaron:[-10,-10,-30,-30],fecircumflex:[-10,-10,-30,-30],fedieresis:[-10,-10,-30,-30],fedotaccent:[-10,-10,-30,-30,0,-10],fegrave:[-10,-10,-30,-30],femacron:[-10,-10,-30,-30],feogonek:[-10,-10,-30,-30,0,-10],fo:[-20,-20,-30,-30,-25,-10],foacute:[-20,-20,-30,-30,-25,-10],focircumflex:[-20,-20,-30,-30,-25,-10],fodieresis:[-20,-20,-30,-30,-25],fograve:[-20,-20,-30,-30,-25,-10],fohungarumlaut:[-20,-20,-30,-30,-25,-10],fomacron:[-20,-20,-30,-30,-25],foslash:[-20,-20,-30,-30,-25,-10],fotilde:[-20,-20,-30,-30,-25,-10],fperiod:[-10,-10,-30,-30,-15,-10,-15],fquotedblright:[30,30,60,60,50],fquoteright:[30,30,50,50,55,55,92,55],ge:[10,10,0,0,0,0,-10],geacute:[10,10,0,0,0,0,-10],gecaron:[10,10,0,0,0,0,-10],gecircumflex:[10,10,0,0,0,0,-10],gedieresis:[10,10,0,0,0,0,-10],gedotaccent:[10,10,0,0,0,0,-10],gegrave:[10,10,0,0,0,0,-10],gemacron:[10,10,0,0,0,0,-10],geogonek:[10,10,0,0,0,0,-10],gg:[-10,-10,0,0,0,0,-10],ggbreve:[-10,-10,0,0,0,0,-10],ggcommaaccent:[-10,-10,0,0,0,0,-10],gbrevee:[10,10,0,0,0,0,-10],gbreveeacute:[10,10,0,0,0,0,-10],gbreveecaron:[10,10,0,0,0,0,-10],gbreveecircumflex:[10,10,0,0,0,0,-10],gbreveedieresis:[10,10,0,0,0,0,-10],gbreveedotaccent:[10,10,0,0,0,0,-10],gbreveegrave:[10,10,0,0,0,0,-10],gbreveemacron:[10,10,0,0,0,0,-10],gbreveeogonek:[10,10,0,0,0,0,-10],gbreveg:[-10,-10,0,0,0,0,-10],gbrevegbreve:[-10,-10,0,0,0,0,-10],gbrevegcommaaccent:[-10,-10,0,0,0,0,-10],gcommaaccente:[10,10,0,0,0,0,-10],gcommaaccenteacute:[10,10,0,0,0,0,-10],gcommaaccentecaron:[10,10,0,0,0,0,-10],gcommaaccentecircumflex:[10,10,0,0,0,0,-10],gcommaaccentedieresis:[10,10,0,0,0,0,-10],gcommaaccentedotaccent:[10,10,0,0,0,0,-10],gcommaaccentegrave:[10,10,0,0,0,0,-10],gcommaaccentemacron:[10,10,0,0,0,0,-10],gcommaaccenteogonek:[10,10,0,0,0,0,-10],gcommaaccentg:[-10,-10,0,0,0,0,-10],gcommaaccentgbreve:[-10,-10,0,0,0,0,-10],gcommaaccentgcommaaccent:[-10,-10,0,0,0,0,-10],hy:[-20,-20,-30,-30,-15,0,0,-5],hyacute:[-20,-20,-30,-30,-15,0,0,-5],hydieresis:[-20,-20,-30,-30,-15,0,0,-5],ko:[-15,-15,-20,-20,-15,-10,-10,-10],koacute:[-15,-15,-20,-20,-15,-10,-10,-10],kocircumflex:[-15,-15,-20,-20,-15,-10,-10,-10],kodieresis:[-15,-15,-20,-20,-15,-10,-10,-10],kograve:[-15,-15,-20,-20,-15,-10,-10,-10],kohungarumlaut:[-15,-15,-20,-20,-15,-10,-10,-10],komacron:[-15,-15,-20,-20,-15,-10,-10,-10],koslash:[-15,-15,-20,-20,-15,-10,-10,-10],kotilde:[-15,-15,-20,-20,-15,-10,-10,-10],kcommaaccento:[-15,-15,-20,-20,-15,-10,-10,-10],kcommaaccentoacute:[-15,-15,-20,-20,-15,-10,-10,-10],kcommaaccentocircumflex:[-15,-15,-20,-20,-15,-10,-10,-10],kcommaaccentodieresis:[-15,-15,-20,-20,-15,-10,-10,-10],kcommaaccentograve:[-15,-15,-20,-20,-15,-10,-10,-10],kcommaaccentohungarumlaut:[-15,-15,-20,-20,-15,-10,-10,-10],kcommaaccentomacron:[-15,-15,-20,-20,-15,-10,-10,-10],kcommaaccentoslash:[-15,-15,-20,-20,-15,-10,-10,-10],kcommaaccentotilde:[-15,-15,-20,-20,-15,-10,-10,-10],lw:[-15,-15,0,0,0,0,0,-10],ly:[-15,-15],lyacute:[-15,-15],lydieresis:[-15,-15],lacutew:[-15,-15,0,0,0,0,0,-10],lacutey:[-15,-15],lacuteyacute:[-15,-15],lacuteydieresis:[-15,-15],lcommaaccentw:[-15,-15,0,0,0,0,0,-10],lcommaaccenty:[-15,-15],lcommaaccentyacute:[-15,-15],lcommaaccentydieresis:[-15,-15],lslashw:[-15,-15,0,0,0,0,0,-10],lslashy:[-15,-15],lslashyacute:[-15,-15],lslashydieresis:[-15,-15],mu:[-20,-20,-10,-10],muacute:[-20,-20,-10,-10],mucircumflex:[-20,-20,-10,-10],mudieresis:[-20,-20,-10,-10],mugrave:[-20,-20,-10,-10],muhungarumlaut:[-20,-20,-10,-10],mumacron:[-20,-20,-10,-10],muogonek:[-20,-20,-10,-10],muring:[-20,-20,-10,-10],my:[-30,-30,-15,-15],myacute:[-30,-30,-15,-15],mydieresis:[-30,-30,-15,-15],nu:[-10,-10,-10,-10],nuacute:[-10,-10,-10,-10],nucircumflex:[-10,-10,-10,-10],nudieresis:[-10,-10,-10,-10],nugrave:[-10,-10,-10,-10],nuhungarumlaut:[-10,-10,-10,-10],numacron:[-10,-10,-10,-10],nuogonek:[-10,-10,-10,-10],nuring:[-10,-10,-10,-10],nv:[-40,-40,-20,-20,-40,-40,-40,-40],ny:[-20,-20,-15,-15,0,0,0,-15],nyacute:[-20,-20,-15,-15,0,0,0,-15],nydieresis:[-20,-20,-15,-15,0,0,0,-15],nacuteu:[-10,-10,-10,-10],nacuteuacute:[-10,-10,-10,-10],nacuteucircumflex:[-10,-10,-10,-10],nacuteudieresis:[-10,-10,-10,-10],nacuteugrave:[-10,-10,-10,-10],nacuteuhungarumlaut:[-10,-10,-10,-10],nacuteumacron:[-10,-10,-10,-10],nacuteuogonek:[-10,-10,-10,-10],nacuteuring:[-10,-10,-10,-10],nacutev:[-40,-40,-20,-20,-40,-40,-40,-40],nacutey:[-20,-20,-15,-15,0,0,0,-15],nacuteyacute:[-20,-20,-15,-15,0,0,0,-15],nacuteydieresis:[-20,-20,-15,-15,0,0,0,-15],ncaronu:[-10,-10,-10,-10],ncaronuacute:[-10,-10,-10,-10],ncaronucircumflex:[-10,-10,-10,-10],ncaronudieresis:[-10,-10,-10,-10],ncaronugrave:[-10,-10,-10,-10],ncaronuhungarumlaut:[-10,-10,-10,-10],ncaronumacron:[-10,-10,-10,-10],ncaronuogonek:[-10,-10,-10,-10],ncaronuring:[-10,-10,-10,-10],ncaronv:[-40,-40,-20,-20,-40,-40,-40,-40],ncarony:[-20,-20,-15,-15,0,0,0,-15],ncaronyacute:[-20,-20,-15,-15,0,0,0,-15],ncaronydieresis:[-20,-20,-15,-15,0,0,0,-15],ncommaaccentu:[-10,-10,-10,-10],ncommaaccentuacute:[-10,-10,-10,-10],ncommaaccentucircumflex:[-10,-10,-10,-10],ncommaaccentudieresis:[-10,-10,-10,-10],ncommaaccentugrave:[-10,-10,-10,-10],ncommaaccentuhungarumlaut:[-10,-10,-10,-10],ncommaaccentumacron:[-10,-10,-10,-10],ncommaaccentuogonek:[-10,-10,-10,-10],ncommaaccenturing:[-10,-10,-10,-10],ncommaaccentv:[-40,-40,-20,-20,-40,-40,-40,-40],ncommaaccenty:[-20,-20,-15,-15,0,0,0,-15],ncommaaccentyacute:[-20,-20,-15,-15,0,0,0,-15],ncommaaccentydieresis:[-20,-20,-15,-15,0,0,0,-15],ntildeu:[-10,-10,-10,-10],ntildeuacute:[-10,-10,-10,-10],ntildeucircumflex:[-10,-10,-10,-10],ntildeudieresis:[-10,-10,-10,-10],ntildeugrave:[-10,-10,-10,-10],ntildeuhungarumlaut:[-10,-10,-10,-10],ntildeumacron:[-10,-10,-10,-10],ntildeuogonek:[-10,-10,-10,-10],ntildeuring:[-10,-10,-10,-10],ntildev:[-40,-40,-20,-20,-40,-40,-40,-40],ntildey:[-20,-20,-15,-15,0,0,0,-15],ntildeyacute:[-20,-20,-15,-15,0,0,0,-15],ntildeydieresis:[-20,-20,-15,-15,0,0,0,-15],ov:[-20,-20,-15,-15,-10,-15,-10,-15],ow:[-15,-15,-15,-15,-10,-25,0,-25],ox:[-30,-30,-30,-30,0,-10],oy:[-20,-20,-30,-30,0,-10,0,-10],oyacute:[-20,-20,-30,-30,0,-10,0,-10],oydieresis:[-20,-20,-30,-30,0,-10,0,-10],oacutev:[-20,-20,-15,-15,-10,-15,-10,-15],oacutew:[-15,-15,-15,-15,-10,-25,0,-25],oacutex:[-30,-30,-30,-30,0,-10],oacutey:[-20,-20,-30,-30,0,-10,0,-10],oacuteyacute:[-20,-20,-30,-30,0,-10,0,-10],oacuteydieresis:[-20,-20,-30,-30,0,-10,0,-10],ocircumflexv:[-20,-20,-15,-15,-10,-15,-10,-15],ocircumflexw:[-15,-15,-15,-15,-10,-25,0,-25],ocircumflexx:[-30,-30,-30,-30,0,-10],ocircumflexy:[-20,-20,-30,-30,0,-10,0,-10],ocircumflexyacute:[-20,-20,-30,-30,0,-10,0,-10],ocircumflexydieresis:[-20,-20,-30,-30,0,-10,0,-10],odieresisv:[-20,-20,-15,-15,-10,-15,-10,-15],odieresisw:[-15,-15,-15,-15,-10,-25,0,-25],odieresisx:[-30,-30,-30,-30,0,-10],odieresisy:[-20,-20,-30,-30,0,-10,0,-10],odieresisyacute:[-20,-20,-30,-30,0,-10,0,-10],odieresisydieresis:[-20,-20,-30,-30,0,-10,0,-10],ogravev:[-20,-20,-15,-15,-10,-15,-10,-15],ogravew:[-15,-15,-15,-15,-10,-25,0,-25],ogravex:[-30,-30,-30,-30,0,-10],ogravey:[-20,-20,-30,-30,0,-10,0,-10],ograveyacute:[-20,-20,-30,-30,0,-10,0,-10],ograveydieresis:[-20,-20,-30,-30,0,-10,0,-10],ohungarumlautv:[-20,-20,-15,-15,-10,-15,-10,-15],ohungarumlautw:[-15,-15,-15,-15,-10,-25,0,-25],ohungarumlautx:[-30,-30,-30,-30,0,-10],ohungarumlauty:[-20,-20,-30,-30,0,-10,0,-10],ohungarumlautyacute:[-20,-20,-30,-30,0,-10,0,-10],ohungarumlautydieresis:[-20,-20,-30,-30,0,-10,0,-10],omacronv:[-20,-20,-15,-15,-10,-15,-10,-15],omacronw:[-15,-15,-15,-15,-10,-25,0,-25],omacronx:[-30,-30,-30,-30,0,-10],omacrony:[-20,-20,-30,-30,0,-10,0,-10],omacronyacute:[-20,-20,-30,-30,0,-10,0,-10],omacronydieresis:[-20,-20,-30,-30,0,-10,0,-10],oslashv:[-20,-20,-70,-70,-10,-15,-10,-15],oslashw:[-15,-15,-70,-70,-10,-25,0,-25],oslashx:[-30,-30,-85,-85,0,-10],oslashy:[-20,-20,-70,-70,0,-10,0,-10],oslashyacute:[-20,-20,-70,-70,0,-10,0,-10],oslashydieresis:[-20,-20,-70,-70,0,-10,0,-10],otildev:[-20,-20,-15,-15,-10,-15,-10,-15],otildew:[-15,-15,-15,-15,-10,-25,0,-25],otildex:[-30,-30,-30,-30,0,-10],otildey:[-20,-20,-30,-30,0,-10,0,-10],otildeyacute:[-20,-20,-30,-30,0,-10,0,-10],otildeydieresis:[-20,-20,-30,-30,0,-10,0,-10],py:[-15,-15,-30,-30,0,0,0,-10],pyacute:[-15,-15,-30,-30,0,0,0,-10],pydieresis:[-15,-15,-30,-30,0,0,0,-10],periodquotedblright:[-120,-120,-100,-100,-55,-95,-140,-70],periodquoteright:[-120,-120,-100,-100,-55,-95,-140,-70],periodspace:[-40,-40,-60,-60],quotedblrightspace:[-80,-80,-40,-40],quoteleftquoteleft:[-46,-46,-57,-57,-63,-74,-111,-74],quoterightd:[-80,-80,-50,-50,-20,-15,-25,-50],quoterightdcroat:[-80,-80,-50,-50,-20,-15,-25,-50],quoterightl:[-20,-20,0,0,0,0,0,-10],quoterightlacute:[-20,-20,0,0,0,0,0,-10],quoterightlcommaaccent:[-20,-20,0,0,0,0,0,-10],quoterightlslash:[-20,-20,0,0,0,0,0,-10],quoterightquoteright:[-46,-46,-57,-57,-63,-74,-111,-74],quoterightr:[-40,-40,-50,-50,-20,-15,-25,-50],quoterightracute:[-40,-40,-50,-50,-20,-15,-25,-50],quoterightrcaron:[-40,-40,-50,-50,-20,-15,-25,-50],quoterightrcommaaccent:[-40,-40,-50,-50,-20,-15,-25,-50],quoterights:[-60,-60,-50,-50,-37,-74,-40,-55],quoterightsacute:[-60,-60,-50,-50,-37,-74,-40,-55],quoterightscaron:[-60,-60,-50,-50,-37,-74,-40,-55],quoterightscedilla:[-60,-60,-50,-50,-37,-74,-40,-55],quoterightscommaaccent:[-60,-60,-50,-50,-37,-74,-40,-55],quoterightspace:[-80,-80,-70,-70,-74,-74,-111,-74],quoterightv:[-20,-20,0,0,-20,-15,-10,-50],rc:[-20,-20,0,0,-18,0,-37],rcacute:[-20,-20,0,0,-18,0,-37],rccaron:[-20,-20,0,0,-18,0,-37],rccedilla:[-20,-20,0,0,-18,0,-37],rcomma:[-60,-60,-50,-50,-92,-65,-111,-40],rd:[-20,-20,0,0,0,0,-37],rdcroat:[-20,-20,0,0,0,0,-37],rg:[-15,-15,0,0,-10,0,-37,-18],rgbreve:[-15,-15,0,0,-10,0,-37,-18],rgcommaaccent:[-15,-15,0,0,-10,0,-37,-18],rhyphen:[-20,-20,0,0,-37,0,-20,-20],ro:[-20,-20,0,0,-18,0,-45],roacute:[-20,-20,0,0,-18,0,-45],rocircumflex:[-20,-20,0,0,-18,0,-45],rodieresis:[-20,-20,0,0,-18,0,-45],rograve:[-20,-20,0,0,-18,0,-45],rohungarumlaut:[-20,-20,0,0,-18,0,-45],romacron:[-20,-20,0,0,-18,0,-45],roslash:[-20,-20,0,0,-18,0,-45],rotilde:[-20,-20,0,0,-18,0,-45],rperiod:[-60,-60,-50,-50,-100,-65,-111,-55],rq:[-20,-20,0,0,-18,0,-37],rs:[-15,-15,0,0,0,0,-10],rsacute:[-15,-15,0,0,0,0,-10],rscaron:[-15,-15,0,0,0,0,-10],rscedilla:[-15,-15,0,0,0,0,-10],rscommaaccent:[-15,-15,0,0,0,0,-10],rt:[20,20,40,40],rtcommaaccent:[20,20,40,40],rv:[10,10,30,30,-10],ry:[10,10,30,30],ryacute:[10,10,30,30],rydieresis:[10,10,30,30],racutec:[-20,-20,0,0,-18,0,-37],racutecacute:[-20,-20,0,0,-18,0,-37],racuteccaron:[-20,-20,0,0,-18,0,-37],racuteccedilla:[-20,-20,0,0,-18,0,-37],racutecomma:[-60,-60,-50,-50,-92,-65,-111,-40],racuted:[-20,-20,0,0,0,0,-37],racutedcroat:[-20,-20,0,0,0,0,-37],racuteg:[-15,-15,0,0,-10,0,-37,-18],racutegbreve:[-15,-15,0,0,-10,0,-37,-18],racutegcommaaccent:[-15,-15,0,0,-10,0,-37,-18],racutehyphen:[-20,-20,0,0,-37,0,-20,-20],racuteo:[-20,-20,0,0,-18,0,-45],racuteoacute:[-20,-20,0,0,-18,0,-45],racuteocircumflex:[-20,-20,0,0,-18,0,-45],racuteodieresis:[-20,-20,0,0,-18,0,-45],racuteograve:[-20,-20,0,0,-18,0,-45],racuteohungarumlaut:[-20,-20,0,0,-18,0,-45],racuteomacron:[-20,-20,0,0,-18,0,-45],racuteoslash:[-20,-20,0,0,-18,0,-45],racuteotilde:[-20,-20,0,0,-18,0,-45],racuteperiod:[-60,-60,-50,-50,-100,-65,-111,-55],racuteq:[-20,-20,0,0,-18,0,-37],racutes:[-15,-15,0,0,0,0,-10],racutesacute:[-15,-15,0,0,0,0,-10],racutescaron:[-15,-15,0,0,0,0,-10],racutescedilla:[-15,-15,0,0,0,0,-10],racutescommaaccent:[-15,-15,0,0,0,0,-10],racutet:[20,20,40,40],racutetcommaaccent:[20,20,40,40],racutev:[10,10,30,30,-10],racutey:[10,10,30,30],racuteyacute:[10,10,30,30],racuteydieresis:[10,10,30,30],rcaronc:[-20,-20,0,0,-18,0,-37],rcaroncacute:[-20,-20,0,0,-18,0,-37],rcaronccaron:[-20,-20,0,0,-18,0,-37],rcaronccedilla:[-20,-20,0,0,-18,0,-37],rcaroncomma:[-60,-60,-50,-50,-92,-65,-111,-40],rcarond:[-20,-20,0,0,0,0,-37],rcarondcroat:[-20,-20,0,0,0,0,-37],rcarong:[-15,-15,0,0,-10,0,-37,-18],rcarongbreve:[-15,-15,0,0,-10,0,-37,-18],rcarongcommaaccent:[-15,-15,0,0,-10,0,-37,-18],rcaronhyphen:[-20,-20,0,0,-37,0,-20,-20],rcarono:[-20,-20,0,0,-18,0,-45],rcaronoacute:[-20,-20,0,0,-18,0,-45],rcaronocircumflex:[-20,-20,0,0,-18,0,-45],rcaronodieresis:[-20,-20,0,0,-18,0,-45],rcaronograve:[-20,-20,0,0,-18,0,-45],rcaronohungarumlaut:[-20,-20,0,0,-18,0,-45],rcaronomacron:[-20,-20,0,0,-18,0,-45],rcaronoslash:[-20,-20,0,0,-18,0,-45],rcaronotilde:[-20,-20,0,0,-18,0,-45],rcaronperiod:[-60,-60,-50,-50,-100,-65,-111,-55],rcaronq:[-20,-20,0,0,-18,0,-37],rcarons:[-15,-15,0,0,0,0,-10],rcaronsacute:[-15,-15,0,0,0,0,-10],rcaronscaron:[-15,-15,0,0,0,0,-10],rcaronscedilla:[-15,-15,0,0,0,0,-10],rcaronscommaaccent:[-15,-15,0,0,0,0,-10],rcaront:[20,20,40,40],rcarontcommaaccent:[20,20,40,40],rcaronv:[10,10,30,30,-10],rcarony:[10,10,30,30],rcaronyacute:[10,10,30,30],rcaronydieresis:[10,10,30,30],rcommaaccentc:[-20,-20,0,0,-18,0,-37],rcommaaccentcacute:[-20,-20,0,0,-18,0,-37],rcommaaccentccaron:[-20,-20,0,0,-18,0,-37],rcommaaccentccedilla:[-20,-20,0,0,-18,0,-37],rcommaaccentcomma:[-60,-60,-50,-50,-92,-65,-111,-40],rcommaaccentd:[-20,-20,0,0,0,0,-37],rcommaaccentdcroat:[-20,-20,0,0,0,0,-37],rcommaaccentg:[-15,-15,0,0,-10,0,-37,-18],rcommaaccentgbreve:[-15,-15,0,0,-10,0,-37,-18],rcommaaccentgcommaaccent:[-15,-15,0,0,-10,0,-37,-18],rcommaaccenthyphen:[-20,-20,0,0,-37,0,-20,-20],rcommaaccento:[-20,-20,0,0,-18,0,-45],rcommaaccentoacute:[-20,-20,0,0,-18,0,-45],rcommaaccentocircumflex:[-20,-20,0,0,-18,0,-45],rcommaaccentodieresis:[-20,-20,0,0,-18,0,-45],rcommaaccentograve:[-20,-20,0,0,-18,0,-45],rcommaaccentohungarumlaut:[-20,-20,0,0,-18,0,-45],rcommaaccentomacron:[-20,-20,0,0,-18,0,-45],rcommaaccentoslash:[-20,-20,0,0,-18,0,-45],rcommaaccentotilde:[-20,-20,0,0,-18,0,-45],rcommaaccentperiod:[-60,-60,-50,-50,-100,-65,-111,-55],rcommaaccentq:[-20,-20,0,0,-18,0,-37],rcommaaccents:[-15,-15,0,0,0,0,-10],rcommaaccentsacute:[-15,-15,0,0,0,0,-10],rcommaaccentscaron:[-15,-15,0,0,0,0,-10],rcommaaccentscedilla:[-15,-15,0,0,0,0,-10],rcommaaccentscommaaccent:[-15,-15,0,0,0,0,-10],rcommaaccentt:[20,20,40,40],rcommaaccenttcommaaccent:[20,20,40,40],rcommaaccentv:[10,10,30,30,-10],rcommaaccenty:[10,10,30,30],rcommaaccentyacute:[10,10,30,30],rcommaaccentydieresis:[10,10,30,30],sw:[-15,-15,-30,-30],sacutew:[-15,-15,-30,-30],scaronw:[-15,-15,-30,-30],scedillaw:[-15,-15,-30,-30],scommaaccentw:[-15,-15,-30,-30],semicolonspace:[-40,-40,-50,-50],spaceT:[-100,-100,-50,-50,-30,0,-18,-18],spaceTcaron:[-100,-100,-50,-50,-30,0,-18,-18],spaceTcommaaccent:[-100,-100,-50,-50,-30,0,-18,-18],spaceV:[-80,-80,-50,-50,-45,-70,-35,-50],spaceW:[-80,-80,-40,-40,-30,-70,-40,-30],spaceY:[-120,-120,-90,-90,-55,-70,-75,-90],spaceYacute:[-120,-120,-90,-90,-55,-70,-75,-90],spaceYdieresis:[-120,-120,-90,-90,-55,-70,-75,-90],spacequotedblleft:[-80,-80,-30,-30],spacequoteleft:[-60,-60,-60,-60],va:[-20,-20,-25,-25,-10,0,0,-25],vaacute:[-20,-20,-25,-25,-10,0,0,-25],vabreve:[-20,-20,-25,-25,-10,0,0,-25],vacircumflex:[-20,-20,-25,-25,-10,0,0,-25],vadieresis:[-20,-20,-25,-25,-10,0,0,-25],vagrave:[-20,-20,-25,-25,-10,0,0,-25],vamacron:[-20,-20,-25,-25,-10,0,0,-25],vaogonek:[-20,-20,-25,-25,-10,0,0,-25],varing:[-20,-20,-25,-25,-10,0,0,-25],vatilde:[-20,-20,-25,-25,-10,0,0,-25],vcomma:[-80,-80,-80,-80,-55,-37,-74,-65],vo:[-30,-30,-25,-25,-10,-15,0,-20],voacute:[-30,-30,-25,-25,-10,-15,0,-20],vocircumflex:[-30,-30,-25,-25,-10,-15,0,-20],vodieresis:[-30,-30,-25,-25,-10,-15,0,-20],vograve:[-30,-30,-25,-25,-10,-15,0,-20],vohungarumlaut:[-30,-30,-25,-25,-10,-15,0,-20],vomacron:[-30,-30,-25,-25,-10,-15,0,-20],voslash:[-30,-30,-25,-25,-10,-15,0,-20],votilde:[-30,-30,-25,-25,-10,-15,0,-20],vperiod:[-80,-80,-80,-80,-70,-37,-74,-65],wcomma:[-40,-40,-60,-60,-55,-37,-74,-65],wo:[-20,-20,-10,-10,-10,-15,0,-10],woacute:[-20,-20,-10,-10,-10,-15,0,-10],wocircumflex:[-20,-20,-10,-10,-10,-15,0,-10],wodieresis:[-20,-20,-10,-10,-10,-15,0,-10],wograve:[-20,-20,-10,-10,-10,-15,0,-10],wohungarumlaut:[-20,-20,-10,-10,-10,-15,0,-10],womacron:[-20,-20,-10,-10,-10,-15,0,-10],woslash:[-20,-20,-10,-10,-10,-15,0,-10],wotilde:[-20,-20,-10,-10,-10,-15,0,-10],wperiod:[-40,-40,-60,-60,-70,-37,-74,-65],xe:[-10,-10,-30,-30,0,-10,0,-15],xeacute:[-10,-10,-30,-30,0,-10,0,-15],xecaron:[-10,-10,-30,-30,0,-10,0,-15],xecircumflex:[-10,-10,-30,-30,0,-10,0,-15],xedieresis:[-10,-10,-30,-30,0,-10,0,-15],xedotaccent:[-10,-10,-30,-30,0,-10,0,-15],xegrave:[-10,-10,-30,-30,0,-10,0,-15],xemacron:[-10,-10,-30,-30,0,-10,0,-15],xeogonek:[-10,-10,-30,-30,0,-10,0,-15],ya:[-30,-30,-20,-20],yaacute:[-30,-30,-20,-20],yabreve:[-30,-30,-20,-20],yacircumflex:[-30,-30,-20,-20],yadieresis:[-30,-30,-20,-20],yagrave:[-30,-30,-20,-20],yamacron:[-30,-30,-20,-20],yaogonek:[-30,-30,-20,-20],yaring:[-30,-30,-20,-20],yatilde:[-30,-30,-20,-20],ycomma:[-80,-80,-100,-100,-55,-37,-55,-65],ye:[-10,-10,-20,-20,-10],yeacute:[-10,-10,-20,-20,-10],yecaron:[-10,-10,-20,-20,-10],yecircumflex:[-10,-10,-20,-20,-10],yedieresis:[-10,-10,-20,-20,-10],yedotaccent:[-10,-10,-20,-20,-10],yegrave:[-10,-10,-20,-20,-10],yemacron:[-10,-10,-20,-20,-10],yeogonek:[-10,-10,-20,-20,-10],yo:[-25,-25,-20,-20,-25],yoacute:[-25,-25,-20,-20,-25],yocircumflex:[-25,-25,-20,-20,-25],yodieresis:[-25,-25,-20,-20,-25],yograve:[-25,-25,-20,-20,-25],yohungarumlaut:[-25,-25,-20,-20,-25],yomacron:[-25,-25,-20,-20,-25],yoslash:[-25,-25,-20,-20,-25],yotilde:[-25,-25,-20,-20,-25],yperiod:[-80,-80,-100,-100,-70,-37,-55,-65],yacutea:[-30,-30,-20,-20],yacuteaacute:[-30,-30,-20,-20],yacuteabreve:[-30,-30,-20,-20],yacuteacircumflex:[-30,-30,-20,-20],yacuteadieresis:[-30,-30,-20,-20],yacuteagrave:[-30,-30,-20,-20],yacuteamacron:[-30,-30,-20,-20],yacuteaogonek:[-30,-30,-20,-20],yacutearing:[-30,-30,-20,-20],yacuteatilde:[-30,-30,-20,-20],yacutecomma:[-80,-80,-100,-100,-55,-37,-55,-65],yacutee:[-10,-10,-20,-20,-10],yacuteeacute:[-10,-10,-20,-20,-10],yacuteecaron:[-10,-10,-20,-20,-10],yacuteecircumflex:[-10,-10,-20,-20,-10],yacuteedieresis:[-10,-10,-20,-20,-10],yacuteedotaccent:[-10,-10,-20,-20,-10],yacuteegrave:[-10,-10,-20,-20,-10],yacuteemacron:[-10,-10,-20,-20,-10],yacuteeogonek:[-10,-10,-20,-20,-10],yacuteo:[-25,-25,-20,-20,-25],yacuteoacute:[-25,-25,-20,-20,-25],yacuteocircumflex:[-25,-25,-20,-20,-25],yacuteodieresis:[-25,-25,-20,-20,-25],yacuteograve:[-25,-25,-20,-20,-25],yacuteohungarumlaut:[-25,-25,-20,-20,-25],yacuteomacron:[-25,-25,-20,-20,-25],yacuteoslash:[-25,-25,-20,-20,-25],yacuteotilde:[-25,-25,-20,-20,-25],yacuteperiod:[-80,-80,-100,-100,-70,-37,-55,-65],ydieresisa:[-30,-30,-20,-20],ydieresisaacute:[-30,-30,-20,-20],ydieresisabreve:[-30,-30,-20,-20],ydieresisacircumflex:[-30,-30,-20,-20],ydieresisadieresis:[-30,-30,-20,-20],ydieresisagrave:[-30,-30,-20,-20],ydieresisamacron:[-30,-30,-20,-20],ydieresisaogonek:[-30,-30,-20,-20],ydieresisaring:[-30,-30,-20,-20],ydieresisatilde:[-30,-30,-20,-20],ydieresiscomma:[-80,-80,-100,-100,-55,-37,-55,-65],ydieresise:[-10,-10,-20,-20,-10],ydieresiseacute:[-10,-10,-20,-20,-10],ydieresisecaron:[-10,-10,-20,-20,-10],ydieresisecircumflex:[-10,-10,-20,-20,-10],ydieresisedieresis:[-10,-10,-20,-20,-10],ydieresisedotaccent:[-10,-10,-20,-20,-10],ydieresisegrave:[-10,-10,-20,-20,-10],ydieresisemacron:[-10,-10,-20,-20,-10],ydieresiseogonek:[-10,-10,-20,-20,-10],ydieresiso:[-25,-25,-20,-20,-25],ydieresisoacute:[-25,-25,-20,-20,-25],ydieresisocircumflex:[-25,-25,-20,-20,-25],ydieresisodieresis:[-25,-25,-20,-20,-25],ydieresisograve:[-25,-25,-20,-20,-25],ydieresisohungarumlaut:[-25,-25,-20,-20,-25],ydieresisomacron:[-25,-25,-20,-20,-25],ydieresisoslash:[-25,-25,-20,-20,-25],ydieresisotilde:[-25,-25,-20,-20,-25],ydieresisperiod:[-80,-80,-100,-100,-70,-37,-55,-65],ze:[10,10,-15,-15],zeacute:[10,10,-15,-15],zecaron:[10,10,-15,-15],zecircumflex:[10,10,-15,-15],zedieresis:[10,10,-15,-15],zedotaccent:[10,10,-15,-15],zegrave:[10,10,-15,-15],zemacron:[10,10,-15,-15],zeogonek:[10,10,-15,-15],zacutee:[10,10,-15,-15],zacuteeacute:[10,10,-15,-15],zacuteecaron:[10,10,-15,-15],zacuteecircumflex:[10,10,-15,-15],zacuteedieresis:[10,10,-15,-15],zacuteedotaccent:[10,10,-15,-15],zacuteegrave:[10,10,-15,-15],zacuteemacron:[10,10,-15,-15],zacuteeogonek:[10,10,-15,-15],zcarone:[10,10,-15,-15],zcaroneacute:[10,10,-15,-15],zcaronecaron:[10,10,-15,-15],zcaronecircumflex:[10,10,-15,-15],zcaronedieresis:[10,10,-15,-15],zcaronedotaccent:[10,10,-15,-15],zcaronegrave:[10,10,-15,-15],zcaronemacron:[10,10,-15,-15],zcaroneogonek:[10,10,-15,-15],zdotaccente:[10,10,-15,-15],zdotaccenteacute:[10,10,-15,-15],zdotaccentecaron:[10,10,-15,-15],zdotaccentecircumflex:[10,10,-15,-15],zdotaccentedieresis:[10,10,-15,-15],zdotaccentedotaccent:[10,10,-15,-15],zdotaccentegrave:[10,10,-15,-15],zdotaccentemacron:[10,10,-15,-15],zdotaccenteogonek:[10,10,-15,-15],Bcomma:[0,0,-20,-20],Bperiod:[0,0,-20,-20],Ccomma:[0,0,-30,-30],Cperiod:[0,0,-30,-30],Cacutecomma:[0,0,-30,-30],Cacuteperiod:[0,0,-30,-30],Ccaroncomma:[0,0,-30,-30],Ccaronperiod:[0,0,-30,-30],Ccedillacomma:[0,0,-30,-30],Ccedillaperiod:[0,0,-30,-30],Fe:[0,0,-30,-30,-25,-100,-75],Feacute:[0,0,-30,-30,-25,-100,-75],Fecaron:[0,0,-30,-30,-25,-100,-75],Fecircumflex:[0,0,-30,-30,-25,-100,-75],Fedieresis:[0,0,-30,-30,-25,-100,-75],Fedotaccent:[0,0,-30,-30,-25,-100,-75],Fegrave:[0,0,-30,-30,-25,-100,-75],Femacron:[0,0,-30,-30,-25,-100,-75],Feogonek:[0,0,-30,-30,-25,-100,-75],Fo:[0,0,-30,-30,-25,-70,-105,-15],Foacute:[0,0,-30,-30,-25,-70,-105,-15],Focircumflex:[0,0,-30,-30,-25,-70,-105,-15],Fodieresis:[0,0,-30,-30,-25,-70,-105,-15],Fograve:[0,0,-30,-30,-25,-70,-105,-15],Fohungarumlaut:[0,0,-30,-30,-25,-70,-105,-15],Fomacron:[0,0,-30,-30,-25,-70,-105,-15],Foslash:[0,0,-30,-30,-25,-70,-105,-15],Fotilde:[0,0,-30,-30,-25,-70,-105,-15],Fr:[0,0,-45,-45,0,-50,-55],Fracute:[0,0,-45,-45,0,-50,-55],Frcaron:[0,0,-45,-45,0,-50,-55],Frcommaaccent:[0,0,-45,-45,0,-50,-55],Ja:[0,0,-20,-20,-15,-40,-35],Jaacute:[0,0,-20,-20,-15,-40,-35],Jabreve:[0,0,-20,-20,-15,-40,-35],Jacircumflex:[0,0,-20,-20,-15,-40,-35],Jadieresis:[0,0,-20,-20,-15,-40,-35],Jagrave:[0,0,-20,-20,-15,-40,-35],Jamacron:[0,0,-20,-20,-15,-40,-35],Jaogonek:[0,0,-20,-20,-15,-40,-35],Jaring:[0,0,-20,-20,-15,-40,-35],Jatilde:[0,0,-20,-20,-15,-40,-35],LcaronT:[0,0,-110,-110],LcaronTcaron:[0,0,-110,-110],LcaronTcommaaccent:[0,0,-110,-110],LcaronV:[0,0,-110,-110],LcaronW:[0,0,-70,-70],LcaronY:[0,0,-140,-140],LcaronYacute:[0,0,-140,-140],LcaronYdieresis:[0,0,-140,-140],Lcaronquotedblright:[0,0,-140,-140],Lcaronquoteright:[0,0,-160,-160,0,0,0,-92],Lcarony:[0,0,-30,-30,0,0,0,-55],Lcaronyacute:[0,0,-30,-30,0,0,0,-55],Lcaronydieresis:[0,0,-30,-30,0,0,0,-55],Scomma:[0,0,-20,-20],Speriod:[0,0,-20,-20],Sacutecomma:[0,0,-20,-20],Sacuteperiod:[0,0,-20,-20],Scaroncomma:[0,0,-20,-20],Scaronperiod:[0,0,-20,-20],Scedillacomma:[0,0,-20,-20],Scedillaperiod:[0,0,-20,-20],Scommaaccentcomma:[0,0,-20,-20],Scommaaccentperiod:[0,0,-20,-20],Trcaron:[0,0,-120,-120,-74,-37,-55,-35],Tcaronrcaron:[0,0,-120,-120,-74,-37,-55,-35],Tcommaaccentrcaron:[0,0,-120,-120,-74,-37,-55,-35],Yhyphen:[0,0,-140,-140,-92,-92,-74,-111],Yi:[0,0,-20,-20,-37,-55,-74,-55],Yiacute:[0,0,-20,-20,-37,-55,-74,-55],Yiogonek:[0,0,-20,-20,-37,-55,-74,-55],Yacutehyphen:[0,0,-140,-140,-92,-92,-74,-111],Yacutei:[0,0,-20,-20,-37,-55,-74,-55],Yacuteiacute:[0,0,-20,-20,-37,-55,-74,-55],Yacuteiogonek:[0,0,-20,-20,-37,-55,-74,-55],Ydieresishyphen:[0,0,-140,-140,-92,-92,-74,-111],Ydieresisi:[0,0,-20,-20,-37,-55,-74,-55],Ydieresisiacute:[0,0,-20,-20,-37,-55,-74,-55],Ydieresisiogonek:[0,0,-20,-20,-37,-55,-74,-55],bb:[0,0,-10,-10,-10,-10],bcomma:[0,0,-40,-40],bperiod:[0,0,-40,-40,-40,-40,-40,-40],ccomma:[0,0,-15,-15],cacutecomma:[0,0,-15,-15],ccaroncomma:[0,0,-15,-15],ccedillacomma:[0,0,-15,-15],fa:[0,0,-30,-30,0,0,0,-10],faacute:[0,0,-30,-30,0,0,0,-10],fabreve:[0,0,-30,-30,0,0,0,-10],facircumflex:[0,0,-30,-30,0,0,0,-10],fadieresis:[0,0,-30,-30,0,0,0,-10],fagrave:[0,0,-30,-30,0,0,0,-10],famacron:[0,0,-30,-30,0,0,0,-10],faogonek:[0,0,-30,-30,0,0,0,-10],faring:[0,0,-30,-30,0,0,0,-10],fatilde:[0,0,-30,-30,0,0,0,-10],fdotlessi:[0,0,-28,-28,-35,-30,-60,-50],gr:[0,0,-10,-10],gracute:[0,0,-10,-10],grcaron:[0,0,-10,-10],grcommaaccent:[0,0,-10,-10],gbrever:[0,0,-10,-10],gbreveracute:[0,0,-10,-10],gbrevercaron:[0,0,-10,-10],gbrevercommaaccent:[0,0,-10,-10],gcommaaccentr:[0,0,-10,-10],gcommaaccentracute:[0,0,-10,-10],gcommaaccentrcaron:[0,0,-10,-10],gcommaaccentrcommaaccent:[0,0,-10,-10],ke:[0,0,-20,-20,-10,-30,-10,-10],keacute:[0,0,-20,-20,-10,-30,-10,-10],kecaron:[0,0,-20,-20,-10,-30,-10,-10],kecircumflex:[0,0,-20,-20,-10,-30,-10,-10],kedieresis:[0,0,-20,-20,-10,-30,-10,-10],kedotaccent:[0,0,-20,-20,-10,-30,-10,-10],kegrave:[0,0,-20,-20,-10,-30,-10,-10],kemacron:[0,0,-20,-20,-10,-30,-10,-10],keogonek:[0,0,-20,-20,-10,-30,-10,-10],kcommaaccente:[0,0,-20,-20,-10,-30,-10,-10],kcommaaccenteacute:[0,0,-20,-20,-10,-30,-10,-10],kcommaaccentecaron:[0,0,-20,-20,-10,-30,-10,-10],kcommaaccentecircumflex:[0,0,-20,-20,-10,-30,-10,-10],kcommaaccentedieresis:[0,0,-20,-20,-10,-30,-10,-10],kcommaaccentedotaccent:[0,0,-20,-20,-10,-30,-10,-10],kcommaaccentegrave:[0,0,-20,-20,-10,-30,-10,-10],kcommaaccentemacron:[0,0,-20,-20,-10,-30,-10,-10],kcommaaccenteogonek:[0,0,-20,-20,-10,-30,-10,-10],ocomma:[0,0,-40,-40],operiod:[0,0,-40,-40],oacutecomma:[0,0,-40,-40],oacuteperiod:[0,0,-40,-40],ocircumflexcomma:[0,0,-40,-40],ocircumflexperiod:[0,0,-40,-40],odieresiscomma:[0,0,-40,-40],odieresisperiod:[0,0,-40,-40],ogravecomma:[0,0,-40,-40],ograveperiod:[0,0,-40,-40],ohungarumlautcomma:[0,0,-40,-40],ohungarumlautperiod:[0,0,-40,-40],omacroncomma:[0,0,-40,-40],omacronperiod:[0,0,-40,-40],oslasha:[0,0,-55,-55],oslashaacute:[0,0,-55,-55],oslashabreve:[0,0,-55,-55],oslashacircumflex:[0,0,-55,-55],oslashadieresis:[0,0,-55,-55],oslashagrave:[0,0,-55,-55],oslashamacron:[0,0,-55,-55],oslashaogonek:[0,0,-55,-55],oslasharing:[0,0,-55,-55],oslashatilde:[0,0,-55,-55],oslashb:[0,0,-55,-55],oslashc:[0,0,-55,-55],oslashcacute:[0,0,-55,-55],oslashccaron:[0,0,-55,-55],oslashccedilla:[0,0,-55,-55],oslashcomma:[0,0,-95,-95],oslashd:[0,0,-55,-55],oslashdcroat:[0,0,-55,-55],oslashe:[0,0,-55,-55],oslasheacute:[0,0,-55,-55],oslashecaron:[0,0,-55,-55],oslashecircumflex:[0,0,-55,-55],oslashedieresis:[0,0,-55,-55],oslashedotaccent:[0,0,-55,-55],oslashegrave:[0,0,-55,-55],oslashemacron:[0,0,-55,-55],oslasheogonek:[0,0,-55,-55],oslashf:[0,0,-55,-55],oslashg:[0,0,-55,-55,0,0,-10],oslashgbreve:[0,0,-55,-55,0,0,-10],oslashgcommaaccent:[0,0,-55,-55,0,0,-10],oslashh:[0,0,-55,-55],oslashi:[0,0,-55,-55],oslashiacute:[0,0,-55,-55],oslashicircumflex:[0,0,-55,-55],oslashidieresis:[0,0,-55,-55],oslashigrave:[0,0,-55,-55],oslashimacron:[0,0,-55,-55],oslashiogonek:[0,0,-55,-55],oslashj:[0,0,-55,-55],oslashk:[0,0,-55,-55],oslashkcommaaccent:[0,0,-55,-55],oslashl:[0,0,-55,-55],oslashlacute:[0,0,-55,-55],oslashlcommaaccent:[0,0,-55,-55],oslashlslash:[0,0,-55,-55],oslashm:[0,0,-55,-55],oslashn:[0,0,-55,-55],oslashnacute:[0,0,-55,-55],oslashncaron:[0,0,-55,-55],oslashncommaaccent:[0,0,-55,-55],oslashntilde:[0,0,-55,-55],oslasho:[0,0,-55,-55],oslashoacute:[0,0,-55,-55],oslashocircumflex:[0,0,-55,-55],oslashodieresis:[0,0,-55,-55],oslashograve:[0,0,-55,-55],oslashohungarumlaut:[0,0,-55,-55],oslashomacron:[0,0,-55,-55],oslashoslash:[0,0,-55,-55],oslashotilde:[0,0,-55,-55],oslashp:[0,0,-55,-55],oslashperiod:[0,0,-95,-95],oslashq:[0,0,-55,-55],oslashr:[0,0,-55,-55],oslashracute:[0,0,-55,-55],oslashrcaron:[0,0,-55,-55],oslashrcommaaccent:[0,0,-55,-55],oslashs:[0,0,-55,-55],oslashsacute:[0,0,-55,-55],oslashscaron:[0,0,-55,-55],oslashscedilla:[0,0,-55,-55],oslashscommaaccent:[0,0,-55,-55],oslasht:[0,0,-55,-55],oslashtcommaaccent:[0,0,-55,-55],oslashu:[0,0,-55,-55],oslashuacute:[0,0,-55,-55],oslashucircumflex:[0,0,-55,-55],oslashudieresis:[0,0,-55,-55],oslashugrave:[0,0,-55,-55],oslashuhungarumlaut:[0,0,-55,-55],oslashumacron:[0,0,-55,-55],oslashuogonek:[0,0,-55,-55],oslashuring:[0,0,-55,-55],oslashz:[0,0,-55,-55],oslashzacute:[0,0,-55,-55],oslashzcaron:[0,0,-55,-55],oslashzdotaccent:[0,0,-55,-55],otildecomma:[0,0,-40,-40],otildeperiod:[0,0,-40,-40],pcomma:[0,0,-35,-35],pperiod:[0,0,-35,-35],ra:[0,0,-10,-10,0,0,-15],raacute:[0,0,-10,-10,0,0,-15],rabreve:[0,0,-10,-10,0,0,-15],racircumflex:[0,0,-10,-10,0,0,-15],radieresis:[0,0,-10,-10,0,0,-15],ragrave:[0,0,-10,-10,0,0,-15],ramacron:[0,0,-10,-10,0,0,-15],raogonek:[0,0,-10,-10,0,0,-15],raring:[0,0,-10,-10,0,0,-15],ratilde:[0,0,-10,-10,0,0,-15],rcolon:[0,0,30,30],ri:[0,0,15,15],riacute:[0,0,15,15],ricircumflex:[0,0,15,15],ridieresis:[0,0,15,15],rigrave:[0,0,15,15],rimacron:[0,0,15,15],riogonek:[0,0,15,15],rk:[0,0,15,15],rkcommaaccent:[0,0,15,15],rl:[0,0,15,15],rlacute:[0,0,15,15],rlcommaaccent:[0,0,15,15],rlslash:[0,0,15,15],rm:[0,0,25,25],rn:[0,0,25,25,-15],rnacute:[0,0,25,25,-15],rncaron:[0,0,25,25,-15],rncommaaccent:[0,0,25,25,-15],rntilde:[0,0,25,25,-15],rp:[0,0,30,30,-10],rsemicolon:[0,0,30,30],ru:[0,0,15,15],ruacute:[0,0,15,15],rucircumflex:[0,0,15,15],rudieresis:[0,0,15,15],rugrave:[0,0,15,15],ruhungarumlaut:[0,0,15,15],rumacron:[0,0,15,15],ruogonek:[0,0,15,15],ruring:[0,0,15,15],racutea:[0,0,-10,-10,0,0,-15],racuteaacute:[0,0,-10,-10,0,0,-15],racuteabreve:[0,0,-10,-10,0,0,-15],racuteacircumflex:[0,0,-10,-10,0,0,-15],racuteadieresis:[0,0,-10,-10,0,0,-15],racuteagrave:[0,0,-10,-10,0,0,-15],racuteamacron:[0,0,-10,-10,0,0,-15],racuteaogonek:[0,0,-10,-10,0,0,-15],racutearing:[0,0,-10,-10,0,0,-15],racuteatilde:[0,0,-10,-10,0,0,-15],racutecolon:[0,0,30,30],racutei:[0,0,15,15],racuteiacute:[0,0,15,15],racuteicircumflex:[0,0,15,15],racuteidieresis:[0,0,15,15],racuteigrave:[0,0,15,15],racuteimacron:[0,0,15,15],racuteiogonek:[0,0,15,15],racutek:[0,0,15,15],racutekcommaaccent:[0,0,15,15],racutel:[0,0,15,15],racutelacute:[0,0,15,15],racutelcommaaccent:[0,0,15,15],racutelslash:[0,0,15,15],racutem:[0,0,25,25],racuten:[0,0,25,25,-15],racutenacute:[0,0,25,25,-15],racutencaron:[0,0,25,25,-15],racutencommaaccent:[0,0,25,25,-15],racutentilde:[0,0,25,25,-15],racutep:[0,0,30,30,-10],racutesemicolon:[0,0,30,30],racuteu:[0,0,15,15],racuteuacute:[0,0,15,15],racuteucircumflex:[0,0,15,15],racuteudieresis:[0,0,15,15],racuteugrave:[0,0,15,15],racuteuhungarumlaut:[0,0,15,15],racuteumacron:[0,0,15,15],racuteuogonek:[0,0,15,15],racuteuring:[0,0,15,15],rcarona:[0,0,-10,-10,0,0,-15],rcaronaacute:[0,0,-10,-10,0,0,-15],rcaronabreve:[0,0,-10,-10,0,0,-15],rcaronacircumflex:[0,0,-10,-10,0,0,-15],rcaronadieresis:[0,0,-10,-10,0,0,-15],rcaronagrave:[0,0,-10,-10,0,0,-15],rcaronamacron:[0,0,-10,-10,0,0,-15],rcaronaogonek:[0,0,-10,-10,0,0,-15],rcaronaring:[0,0,-10,-10,0,0,-15],rcaronatilde:[0,0,-10,-10,0,0,-15],rcaroncolon:[0,0,30,30],rcaroni:[0,0,15,15],rcaroniacute:[0,0,15,15],rcaronicircumflex:[0,0,15,15],rcaronidieresis:[0,0,15,15],rcaronigrave:[0,0,15,15],rcaronimacron:[0,0,15,15],rcaroniogonek:[0,0,15,15],rcaronk:[0,0,15,15],rcaronkcommaaccent:[0,0,15,15],rcaronl:[0,0,15,15],rcaronlacute:[0,0,15,15],rcaronlcommaaccent:[0,0,15,15],rcaronlslash:[0,0,15,15],rcaronm:[0,0,25,25],rcaronn:[0,0,25,25,-15],rcaronnacute:[0,0,25,25,-15],rcaronncaron:[0,0,25,25,-15],rcaronncommaaccent:[0,0,25,25,-15],rcaronntilde:[0,0,25,25,-15],rcaronp:[0,0,30,30,-10],rcaronsemicolon:[0,0,30,30],rcaronu:[0,0,15,15],rcaronuacute:[0,0,15,15],rcaronucircumflex:[0,0,15,15],rcaronudieresis:[0,0,15,15],rcaronugrave:[0,0,15,15],rcaronuhungarumlaut:[0,0,15,15],rcaronumacron:[0,0,15,15],rcaronuogonek:[0,0,15,15],rcaronuring:[0,0,15,15],rcommaaccenta:[0,0,-10,-10,0,0,-15],rcommaaccentaacute:[0,0,-10,-10,0,0,-15],rcommaaccentabreve:[0,0,-10,-10,0,0,-15],rcommaaccentacircumflex:[0,0,-10,-10,0,0,-15],rcommaaccentadieresis:[0,0,-10,-10,0,0,-15],rcommaaccentagrave:[0,0,-10,-10,0,0,-15],rcommaaccentamacron:[0,0,-10,-10,0,0,-15],rcommaaccentaogonek:[0,0,-10,-10,0,0,-15],rcommaaccentaring:[0,0,-10,-10,0,0,-15],rcommaaccentatilde:[0,0,-10,-10,0,0,-15],rcommaaccentcolon:[0,0,30,30],rcommaaccenti:[0,0,15,15],rcommaaccentiacute:[0,0,15,15],rcommaaccenticircumflex:[0,0,15,15],rcommaaccentidieresis:[0,0,15,15],rcommaaccentigrave:[0,0,15,15],rcommaaccentimacron:[0,0,15,15],rcommaaccentiogonek:[0,0,15,15],rcommaaccentk:[0,0,15,15],rcommaaccentkcommaaccent:[0,0,15,15],rcommaaccentl:[0,0,15,15],rcommaaccentlacute:[0,0,15,15],rcommaaccentlcommaaccent:[0,0,15,15],rcommaaccentlslash:[0,0,15,15],rcommaaccentm:[0,0,25,25],rcommaaccentn:[0,0,25,25,-15],rcommaaccentnacute:[0,0,25,25,-15],rcommaaccentncaron:[0,0,25,25,-15],rcommaaccentncommaaccent:[0,0,25,25,-15],rcommaaccentntilde:[0,0,25,25,-15],rcommaaccentp:[0,0,30,30,-10],rcommaaccentsemicolon:[0,0,30,30],rcommaaccentu:[0,0,15,15],rcommaaccentuacute:[0,0,15,15],rcommaaccentucircumflex:[0,0,15,15],rcommaaccentudieresis:[0,0,15,15],rcommaaccentugrave:[0,0,15,15],rcommaaccentuhungarumlaut:[0,0,15,15],rcommaaccentumacron:[0,0,15,15],rcommaaccentuogonek:[0,0,15,15],rcommaaccenturing:[0,0,15,15],scomma:[0,0,-15,-15],speriod:[0,0,-15,-15],sacutecomma:[0,0,-15,-15],sacuteperiod:[0,0,-15,-15],scaroncomma:[0,0,-15,-15],scaronperiod:[0,0,-15,-15],scedillacomma:[0,0,-15,-15],scedillaperiod:[0,0,-15,-15],scommaaccentcomma:[0,0,-15,-15],scommaaccentperiod:[0,0,-15,-15],ve:[0,0,-25,-25,-10,-15,0,-15],veacute:[0,0,-25,-25,-10,-15,0,-15],vecaron:[0,0,-25,-25,-10,-15,0,-15],vecircumflex:[0,0,-25,-25,-10,-15,0,-15],vedieresis:[0,0,-25,-25,-10,-15,0,-15],vedotaccent:[0,0,-25,-25,-10,-15,0,-15],vegrave:[0,0,-25,-25,-10,-15,0,-15],vemacron:[0,0,-25,-25,-10,-15,0,-15],veogonek:[0,0,-25,-25,-10,-15,0,-15],wa:[0,0,-15,-15,0,-10,0,-10],waacute:[0,0,-15,-15,0,-10,0,-10],wabreve:[0,0,-15,-15,0,-10,0,-10],wacircumflex:[0,0,-15,-15,0,-10,0,-10],wadieresis:[0,0,-15,-15,0,-10,0,-10],wagrave:[0,0,-15,-15,0,-10,0,-10],wamacron:[0,0,-15,-15,0,-10,0,-10],waogonek:[0,0,-15,-15,0,-10,0,-10],waring:[0,0,-15,-15,0,-10,0,-10],watilde:[0,0,-15,-15,0,-10,0,-10],we:[0,0,-10,-10,0,-10],weacute:[0,0,-10,-10,0,-10],wecaron:[0,0,-10,-10,0,-10],wecircumflex:[0,0,-10,-10,0,-10],wedieresis:[0,0,-10,-10,0,-10],wedotaccent:[0,0,-10,-10,0,-10],wegrave:[0,0,-10,-10,0,-10],wemacron:[0,0,-10,-10,0,-10],weogonek:[0,0,-10,-10,0,-10],zo:[0,0,-15,-15],zoacute:[0,0,-15,-15],zocircumflex:[0,0,-15,-15],zodieresis:[0,0,-15,-15],zograve:[0,0,-15,-15],zohungarumlaut:[0,0,-15,-15],zomacron:[0,0,-15,-15],zoslash:[0,0,-15,-15],zotilde:[0,0,-15,-15],zacuteo:[0,0,-15,-15],zacuteoacute:[0,0,-15,-15],zacuteocircumflex:[0,0,-15,-15],zacuteodieresis:[0,0,-15,-15],zacuteograve:[0,0,-15,-15],zacuteohungarumlaut:[0,0,-15,-15],zacuteomacron:[0,0,-15,-15],zacuteoslash:[0,0,-15,-15],zacuteotilde:[0,0,-15,-15],zcarono:[0,0,-15,-15],zcaronoacute:[0,0,-15,-15],zcaronocircumflex:[0,0,-15,-15],zcaronodieresis:[0,0,-15,-15],zcaronograve:[0,0,-15,-15],zcaronohungarumlaut:[0,0,-15,-15],zcaronomacron:[0,0,-15,-15],zcaronoslash:[0,0,-15,-15],zcaronotilde:[0,0,-15,-15],zdotaccento:[0,0,-15,-15],zdotaccentoacute:[0,0,-15,-15],zdotaccentocircumflex:[0,0,-15,-15],zdotaccentodieresis:[0,0,-15,-15],zdotaccentograve:[0,0,-15,-15],zdotaccentohungarumlaut:[0,0,-15,-15],zdotaccentomacron:[0,0,-15,-15],zdotaccentoslash:[0,0,-15,-15],zdotaccentotilde:[0,0,-15,-15],Ap:[0,0,0,0,-25],Aquoteright:[0,0,0,0,-74,-74,-37,-111],Aacutep:[0,0,0,0,-25],Aacutequoteright:[0,0,0,0,-74,-74,-37,-111],Abrevep:[0,0,0,0,-25],Abrevequoteright:[0,0,0,0,-74,-74,-37,-111],Acircumflexp:[0,0,0,0,-25],Acircumflexquoteright:[0,0,0,0,-74,-74,-37,-111],Adieresisp:[0,0,0,0,-25],Adieresisquoteright:[0,0,0,0,-74,-74,-37,-111],Agravep:[0,0,0,0,-25],Agravequoteright:[0,0,0,0,-74,-74,-37,-111],Amacronp:[0,0,0,0,-25],Amacronquoteright:[0,0,0,0,-74,-74,-37,-111],Aogonekp:[0,0,0,0,-25],Aogonekquoteright:[0,0,0,0,-74,-74,-37,-111],Aringp:[0,0,0,0,-25],Aringquoteright:[0,0,0,0,-74,-74,-37,-111],Atildep:[0,0,0,0,-25],Atildequoteright:[0,0,0,0,-74,-74,-37,-111],Je:[0,0,0,0,-15,-40,-25],Jeacute:[0,0,0,0,-15,-40,-25],Jecaron:[0,0,0,0,-15,-40,-25],Jecircumflex:[0,0,0,0,-15,-40,-25],Jedieresis:[0,0,0,0,-15,-40,-25],Jedotaccent:[0,0,0,0,-15,-40,-25],Jegrave:[0,0,0,0,-15,-40,-25],Jemacron:[0,0,0,0,-15,-40,-25],Jeogonek:[0,0,0,0,-15,-40,-25],Jo:[0,0,0,0,-15,-40,-25],Joacute:[0,0,0,0,-15,-40,-25],Jocircumflex:[0,0,0,0,-15,-40,-25],Jodieresis:[0,0,0,0,-15,-40,-25],Jograve:[0,0,0,0,-15,-40,-25],Johungarumlaut:[0,0,0,0,-15,-40,-25],Jomacron:[0,0,0,0,-15,-40,-25],Joslash:[0,0,0,0,-15,-40,-25],Jotilde:[0,0,0,0,-15,-40,-25],NA:[0,0,0,0,-20,-30,-27,-35],NAacute:[0,0,0,0,-20,-30,-27,-35],NAbreve:[0,0,0,0,-20,-30,-27,-35],NAcircumflex:[0,0,0,0,-20,-30,-27,-35],NAdieresis:[0,0,0,0,-20,-30,-27,-35],NAgrave:[0,0,0,0,-20,-30,-27,-35],NAmacron:[0,0,0,0,-20,-30,-27,-35],NAogonek:[0,0,0,0,-20,-30,-27,-35],NAring:[0,0,0,0,-20,-30,-27,-35],NAtilde:[0,0,0,0,-20,-30,-27,-35],NacuteA:[0,0,0,0,-20,-30,-27,-35],NacuteAacute:[0,0,0,0,-20,-30,-27,-35],NacuteAbreve:[0,0,0,0,-20,-30,-27,-35],NacuteAcircumflex:[0,0,0,0,-20,-30,-27,-35],NacuteAdieresis:[0,0,0,0,-20,-30,-27,-35],NacuteAgrave:[0,0,0,0,-20,-30,-27,-35],NacuteAmacron:[0,0,0,0,-20,-30,-27,-35],NacuteAogonek:[0,0,0,0,-20,-30,-27,-35],NacuteAring:[0,0,0,0,-20,-30,-27,-35],NacuteAtilde:[0,0,0,0,-20,-30,-27,-35],NcaronA:[0,0,0,0,-20,-30,-27,-35],NcaronAacute:[0,0,0,0,-20,-30,-27,-35],NcaronAbreve:[0,0,0,0,-20,-30,-27,-35],NcaronAcircumflex:[0,0,0,0,-20,-30,-27,-35],NcaronAdieresis:[0,0,0,0,-20,-30,-27,-35],NcaronAgrave:[0,0,0,0,-20,-30,-27,-35],NcaronAmacron:[0,0,0,0,-20,-30,-27,-35],NcaronAogonek:[0,0,0,0,-20,-30,-27,-35],NcaronAring:[0,0,0,0,-20,-30,-27,-35],NcaronAtilde:[0,0,0,0,-20,-30,-27,-35],NcommaaccentA:[0,0,0,0,-20,-30,-27,-35],NcommaaccentAacute:[0,0,0,0,-20,-30,-27,-35],NcommaaccentAbreve:[0,0,0,0,-20,-30,-27,-35],NcommaaccentAcircumflex:[0,0,0,0,-20,-30,-27,-35],NcommaaccentAdieresis:[0,0,0,0,-20,-30,-27,-35],NcommaaccentAgrave:[0,0,0,0,-20,-30,-27,-35],NcommaaccentAmacron:[0,0,0,0,-20,-30,-27,-35],NcommaaccentAogonek:[0,0,0,0,-20,-30,-27,-35],NcommaaccentAring:[0,0,0,0,-20,-30,-27,-35],NcommaaccentAtilde:[0,0,0,0,-20,-30,-27,-35],NtildeA:[0,0,0,0,-20,-30,-27,-35],NtildeAacute:[0,0,0,0,-20,-30,-27,-35],NtildeAbreve:[0,0,0,0,-20,-30,-27,-35],NtildeAcircumflex:[0,0,0,0,-20,-30,-27,-35],NtildeAdieresis:[0,0,0,0,-20,-30,-27,-35],NtildeAgrave:[0,0,0,0,-20,-30,-27,-35],NtildeAmacron:[0,0,0,0,-20,-30,-27,-35],NtildeAogonek:[0,0,0,0,-20,-30,-27,-35],NtildeAring:[0,0,0,0,-20,-30,-27,-35],NtildeAtilde:[0,0,0,0,-20,-30,-27,-35],Ti:[0,0,0,0,-18,-37,-55,-35],Tiacute:[0,0,0,0,-18,-37,-55,-35],Tiogonek:[0,0,0,0,-18,-37,-55,-35],Tcaroni:[0,0,0,0,-18,-37,-55,-35],Tcaroniacute:[0,0,0,0,-18,-37,-55,-35],Tcaroniogonek:[0,0,0,0,-18,-37,-55,-35],Tcommaaccenti:[0,0,0,0,-18,-37,-55,-35],Tcommaaccentiacute:[0,0,0,0,-18,-37,-55,-35],Tcommaaccentiogonek:[0,0,0,0,-18,-37,-55,-35],Vi:[0,0,0,0,-37,-55,-74,-60],Viacute:[0,0,0,0,-37,-55,-74,-60],Vicircumflex:[0,0,0,0,-37,0,-34,-20],Vidieresis:[0,0,0,0,-37,0,-34,-20],Vigrave:[0,0,0,0,-37,0,-34,-20],Vimacron:[0,0,0,0,-37,0,-34,-20],Viogonek:[0,0,0,0,-37,-55,-74,-60],Wi:[0,0,0,0,-18,-37,-55,-40],Wiacute:[0,0,0,0,-18,-37,-55,-40],Wiogonek:[0,0,0,0,-18,-37,-55,-40],fi:[0,0,0,0,-25,0,-20,-20],gperiod:[0,0,0,0,-15,0,-15],gbreveperiod:[0,0,0,0,-15,0,-15],gcommaaccentperiod:[0,0,0,0,-15,0,-15],iv:[0,0,0,0,-10,0,0,-25],iacutev:[0,0,0,0,-10,0,0,-25],icircumflexv:[0,0,0,0,-10,0,0,-25],idieresisv:[0,0,0,0,-10,0,0,-25],igravev:[0,0,0,0,-10,0,0,-25],imacronv:[0,0,0,0,-10,0,0,-25],iogonekv:[0,0,0,0,-10,0,0,-25],ky:[0,0,0,0,-15,0,-10,-15],kyacute:[0,0,0,0,-15,0,-10,-15],kydieresis:[0,0,0,0,-15,0,-10,-15],kcommaaccenty:[0,0,0,0,-15,0,-10,-15],kcommaaccentyacute:[0,0,0,0,-15,0,-10,-15],kcommaaccentydieresis:[0,0,0,0,-15,0,-10,-15],quotedblleftA:[0,0,0,0,-10,0,0,-80],quotedblleftAacute:[0,0,0,0,-10,0,0,-80],quotedblleftAbreve:[0,0,0,0,-10,0,0,-80],quotedblleftAcircumflex:[0,0,0,0,-10,0,0,-80],quotedblleftAdieresis:[0,0,0,0,-10,0,0,-80],quotedblleftAgrave:[0,0,0,0,-10,0,0,-80],quotedblleftAmacron:[0,0,0,0,-10,0,0,-80],quotedblleftAogonek:[0,0,0,0,-10,0,0,-80],quotedblleftAring:[0,0,0,0,-10,0,0,-80],quotedblleftAtilde:[0,0,0,0,-10,0,0,-80],quoteleftA:[0,0,0,0,-10,0,0,-80],quoteleftAacute:[0,0,0,0,-10,0,0,-80],quoteleftAbreve:[0,0,0,0,-10,0,0,-80],quoteleftAcircumflex:[0,0,0,0,-10,0,0,-80],quoteleftAdieresis:[0,0,0,0,-10,0,0,-80],quoteleftAgrave:[0,0,0,0,-10,0,0,-80],quoteleftAmacron:[0,0,0,0,-10,0,0,-80],quoteleftAogonek:[0,0,0,0,-10,0,0,-80],quoteleftAring:[0,0,0,0,-10,0,0,-80],quoteleftAtilde:[0,0,0,0,-10,0,0,-80],re:[0,0,0,0,-18,0,-37],reacute:[0,0,0,0,-18,0,-37],recaron:[0,0,0,0,-18,0,-37],recircumflex:[0,0,0,0,-18,0,-37],redieresis:[0,0,0,0,-18,0,-37],redotaccent:[0,0,0,0,-18,0,-37],regrave:[0,0,0,0,-18,0,-37],remacron:[0,0,0,0,-18,0,-37],reogonek:[0,0,0,0,-18,0,-37],racutee:[0,0,0,0,-18,0,-37],racuteeacute:[0,0,0,0,-18,0,-37],racuteecaron:[0,0,0,0,-18,0,-37],racuteecircumflex:[0,0,0,0,-18,0,-37],racuteedieresis:[0,0,0,0,-18,0,-37],racuteedotaccent:[0,0,0,0,-18,0,-37],racuteegrave:[0,0,0,0,-18,0,-37],racuteemacron:[0,0,0,0,-18,0,-37],racuteeogonek:[0,0,0,0,-18,0,-37],rcarone:[0,0,0,0,-18,0,-37],rcaroneacute:[0,0,0,0,-18,0,-37],rcaronecaron:[0,0,0,0,-18,0,-37],rcaronecircumflex:[0,0,0,0,-18,0,-37],rcaronedieresis:[0,0,0,0,-18,0,-37],rcaronedotaccent:[0,0,0,0,-18,0,-37],rcaronegrave:[0,0,0,0,-18,0,-37],rcaronemacron:[0,0,0,0,-18,0,-37],rcaroneogonek:[0,0,0,0,-18,0,-37],rcommaaccente:[0,0,0,0,-18,0,-37],rcommaaccenteacute:[0,0,0,0,-18,0,-37],rcommaaccentecaron:[0,0,0,0,-18,0,-37],rcommaaccentecircumflex:[0,0,0,0,-18,0,-37],rcommaaccentedieresis:[0,0,0,0,-18,0,-37],rcommaaccentedotaccent:[0,0,0,0,-18,0,-37],rcommaaccentegrave:[0,0,0,0,-18,0,-37],rcommaaccentemacron:[0,0,0,0,-18,0,-37],rcommaaccenteogonek:[0,0,0,0,-18,0,-37],spaceA:[0,0,0,0,-55,-37,-18,-55],spaceAacute:[0,0,0,0,-55,-37,-18,-55],spaceAbreve:[0,0,0,0,-55,-37,-18,-55],spaceAcircumflex:[0,0,0,0,-55,-37,-18,-55],spaceAdieresis:[0,0,0,0,-55,-37,-18,-55],spaceAgrave:[0,0,0,0,-55,-37,-18,-55],spaceAmacron:[0,0,0,0,-55,-37,-18,-55],spaceAogonek:[0,0,0,0,-55,-37,-18,-55],spaceAring:[0,0,0,0,-55,-37,-18,-55],spaceAtilde:[0,0,0,0,-55,-37,-18,-55],Fi:[0,0,0,0,0,-40,-45],Fiacute:[0,0,0,0,0,-40,-45],Ficircumflex:[0,0,0,0,0,-40,-45],Fidieresis:[0,0,0,0,0,-40,-45],Figrave:[0,0,0,0,0,-40,-45],Fimacron:[0,0,0,0,0,-40,-45],Fiogonek:[0,0,0,0,0,-40,-45],eb:[0,0,0,0,0,-10],eacuteb:[0,0,0,0,0,-10],ecaronb:[0,0,0,0,0,-10],ecircumflexb:[0,0,0,0,0,-10],edieresisb:[0,0,0,0,0,-10],edotaccentb:[0,0,0,0,0,-10],egraveb:[0,0,0,0,0,-10],emacronb:[0,0,0,0,0,-10],eogonekb:[0,0,0,0,0,-10],ff:[0,0,0,0,0,-18,-18,-25],quoterightt:[0,0,0,0,0,-37,-30,-18],quoterighttcommaaccent:[0,0,0,0,0,-37,-30,-18],Yicircumflex:[0,0,0,0,0,0,-34],Yidieresis:[0,0,0,0,0,0,-34],Yigrave:[0,0,0,0,0,0,-34],Yimacron:[0,0,0,0,0,0,-34],Yacuteicircumflex:[0,0,0,0,0,0,-34],Yacuteidieresis:[0,0,0,0,0,0,-34],Yacuteigrave:[0,0,0,0,0,0,-34],Yacuteimacron:[0,0,0,0,0,0,-34],Ydieresisicircumflex:[0,0,0,0,0,0,-34],Ydieresisidieresis:[0,0,0,0,0,0,-34],Ydieresisigrave:[0,0,0,0,0,0,-34],Ydieresisimacron:[0,0,0,0,0,0,-34],eg:[0,0,0,0,0,0,-40,-15],egbreve:[0,0,0,0,0,0,-40,-15],egcommaaccent:[0,0,0,0,0,0,-40,-15],eacuteg:[0,0,0,0,0,0,-40,-15],eacutegbreve:[0,0,0,0,0,0,-40,-15],eacutegcommaaccent:[0,0,0,0,0,0,-40,-15],ecarong:[0,0,0,0,0,0,-40,-15],ecarongbreve:[0,0,0,0,0,0,-40,-15],ecarongcommaaccent:[0,0,0,0,0,0,-40,-15],ecircumflexg:[0,0,0,0,0,0,-40,-15],ecircumflexgbreve:[0,0,0,0,0,0,-40,-15],ecircumflexgcommaaccent:[0,0,0,0,0,0,-40,-15],edieresisg:[0,0,0,0,0,0,-40,-15],edieresisgbreve:[0,0,0,0,0,0,-40,-15],edieresisgcommaaccent:[0,0,0,0,0,0,-40,-15],edotaccentg:[0,0,0,0,0,0,-40,-15],edotaccentgbreve:[0,0,0,0,0,0,-40,-15],edotaccentgcommaaccent:[0,0,0,0,0,0,-40,-15],egraveg:[0,0,0,0,0,0,-40,-15],egravegbreve:[0,0,0,0,0,0,-40,-15],egravegcommaaccent:[0,0,0,0,0,0,-40,-15],emacrong:[0,0,0,0,0,0,-40,-15],emacrongbreve:[0,0,0,0,0,0,-40,-15],emacrongcommaaccent:[0,0,0,0,0,0,-40,-15],eogonekg:[0,0,0,0,0,0,-40,-15],eogonekgbreve:[0,0,0,0,0,0,-40,-15],eogonekgcommaaccent:[0,0,0,0,0,0,-40,-15],fiogonek:[0,0,0,0,0,0,-20],gcomma:[0,0,0,0,0,0,-10],gbrevecomma:[0,0,0,0,0,0,-10],gcommaaccentcomma:[0,0,0,0,0,0,-10],og:[0,0,0,0,0,0,-10],ogbreve:[0,0,0,0,0,0,-10],ogcommaaccent:[0,0,0,0,0,0,-10],oacuteg:[0,0,0,0,0,0,-10],oacutegbreve:[0,0,0,0,0,0,-10],oacutegcommaaccent:[0,0,0,0,0,0,-10],ocircumflexg:[0,0,0,0,0,0,-10],ocircumflexgbreve:[0,0,0,0,0,0,-10],ocircumflexgcommaaccent:[0,0,0,0,0,0,-10],odieresisg:[0,0,0,0,0,0,-10],odieresisgbreve:[0,0,0,0,0,0,-10],odieresisgcommaaccent:[0,0,0,0,0,0,-10],ograveg:[0,0,0,0,0,0,-10],ogravegbreve:[0,0,0,0,0,0,-10],ogravegcommaaccent:[0,0,0,0,0,0,-10],ohungarumlautg:[0,0,0,0,0,0,-10],ohungarumlautgbreve:[0,0,0,0,0,0,-10],ohungarumlautgcommaaccent:[0,0,0,0,0,0,-10],omacrong:[0,0,0,0,0,0,-10],omacrongbreve:[0,0,0,0,0,0,-10],omacrongcommaaccent:[0,0,0,0,0,0,-10],otildeg:[0,0,0,0,0,0,-10],otildegbreve:[0,0,0,0,0,0,-10],otildegcommaaccent:[0,0,0,0,0,0,-10],fiacute:[0,0,0,0,0,0,0,-20],ga:[0,0,0,0,0,0,0,-5],gaacute:[0,0,0,0,0,0,0,-5],gabreve:[0,0,0,0,0,0,0,-5],gacircumflex:[0,0,0,0,0,0,0,-5],gadieresis:[0,0,0,0,0,0,0,-5],gagrave:[0,0,0,0,0,0,0,-5],gamacron:[0,0,0,0,0,0,0,-5],gaogonek:[0,0,0,0,0,0,0,-5],garing:[0,0,0,0,0,0,0,-5],gatilde:[0,0,0,0,0,0,0,-5],gbrevea:[0,0,0,0,0,0,0,-5],gbreveaacute:[0,0,0,0,0,0,0,-5],gbreveabreve:[0,0,0,0,0,0,0,-5],gbreveacircumflex:[0,0,0,0,0,0,0,-5],gbreveadieresis:[0,0,0,0,0,0,0,-5],gbreveagrave:[0,0,0,0,0,0,0,-5],gbreveamacron:[0,0,0,0,0,0,0,-5],gbreveaogonek:[0,0,0,0,0,0,0,-5],gbrevearing:[0,0,0,0,0,0,0,-5],gbreveatilde:[0,0,0,0,0,0,0,-5],gcommaaccenta:[0,0,0,0,0,0,0,-5],gcommaaccentaacute:[0,0,0,0,0,0,0,-5],gcommaaccentabreve:[0,0,0,0,0,0,0,-5],gcommaaccentacircumflex:[0,0,0,0,0,0,0,-5],gcommaaccentadieresis:[0,0,0,0,0,0,0,-5],gcommaaccentagrave:[0,0,0,0,0,0,0,-5],gcommaaccentamacron:[0,0,0,0,0,0,0,-5],gcommaaccentaogonek:[0,0,0,0,0,0,0,-5],gcommaaccentaring:[0,0,0,0,0,0,0,-5],gcommaaccentatilde:[0,0,0,0,0,0,0,-5]}}),lC=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Array.from(t).map((e=>`0000${e.toString(16)}`.slice(-4))).join("")};class cC{static open(e,t,n,r){let i;if("string"===typeof t){if(uC.isStandardFont(t))return new uC(e,t,r);throw new Error(`Can't open ${t} in browser build`)}if(t instanceof Uint8Array?i=Ze(t,n):t instanceof ArrayBuffer?i=Ze(new Uint8Array(t),n):"object"===typeof t&&(i=t),null==i)throw new Error("Not a supported font format or standard PDF font.");return new dC(e,i,r)}encode(){throw new Error("Must be implemented by subclasses")}widthOfString(){throw new Error("Must be implemented by subclasses")}ref(){return null!=this.dictionary?this.dictionary:this.dictionary=this.document.ref()}finalize(){if(!this.embedded&&null!=this.dictionary)return this.embed(),this.embedded=!0}embed(){throw new Error("Must be implemented by subclasses")}lineHeight(e,t){null==t&&(t=!1);const n=t?this.lineGap:0;return(this.ascender+n-this.descender)/1e3*e}}const uC=(e=>class extends e{constructor(e,t,n){super(),this.document=e,this.name=t,this.id=n,this.font=oC.fromJson(sC[this.name]),this.ascender=this.font.ascender,this.descender=this.font.descender,this.bbox=this.font.bbox,this.lineGap=this.font.lineGap}embed(){return this.dictionary.data={Type:"Font",BaseFont:this.name,Subtype:"Type1",Encoding:"WinAnsiEncoding"},this.dictionary.end()}encode(e){const t=this.font.encodeText(e),n=this.font.glyphsForString(`${e}`),r=this.font.advancesForGlyphs(n),i=[];for(let o=0;o<n.length;o++){const e=n[o];i.push({xAdvance:r[o],yAdvance:0,xOffset:0,yOffset:0,advanceWidth:this.font.widthOfGlyph(e)})}return[t,i]}encodeGlyphs(e){const t=[];for(let n of Array.from(e))t.push(`00${n.id.toString(16)}`.slice(-2));return t}widthOfString(e,t){const n=this.font.glyphsForString(`${e}`),r=this.font.advancesForGlyphs(n);let i=0;for(let o of Array.from(r))i+=o;return i*(t/1e3)}static isStandardFont(e){return e in sC}})(cC),dC=(e=>class extends e{constructor(e,t,n){super(),this.document=e,this.font=t,this.id=n,this.subset=this.font.createSubset(),this.unicode=[[0]],this.widths=[this.font.getGlyph(0).advanceWidth],this.name=this.font.postscriptName,this.scale=1e3/this.font.unitsPerEm,this.ascender=this.font.ascent*this.scale,this.descender=this.font.descent*this.scale,this.xHeight=this.font.xHeight*this.scale,this.capHeight=this.font.capHeight*this.scale,this.lineGap=this.font.lineGap*this.scale,this.bbox=this.font.bbox,this.layoutCache=Object.create(null)}layoutRun(e,t){const n=this.font.layout(e,t,void 0,void 0,"ltr");for(let r=0;r<n.positions.length;r++){const e=n.positions[r];for(let t in e)e[t]*=this.scale;e.advanceWidth=n.glyphs[r].advanceWidth*this.scale}return n}layoutCached(e){let t;if(t=this.layoutCache[e])return t;const n=this.layoutRun(e);return this.layoutCache[e]=n,n}layout(e,t,n){if(null==n&&(n=!1),t)return this.layoutRun(e,t);const r=n?null:[],i=n?null:[];let o=0,a=0,s=0;for(;s<=e.length;){let t;if(s===e.length&&a<s||(t=e.charAt(s),[" ","\t"].includes(t))){const t=this.layoutCached(e.slice(a,++s));n||(r.push(...Array.from(t.glyphs||[])),i.push(...Array.from(t.positions||[]))),o+=t.advanceWidth,a=s}else s++}return{glyphs:r,positions:i,advanceWidth:o}}encode(e,t){const{glyphs:n,positions:r}=this.layout(e,t),i=[];for(let o=0;o<n.length;o++){const e=n[o],t=this.subset.includeGlyph(e.id);i.push(`0000${t.toString(16)}`.slice(-4)),null==this.widths[t]&&(this.widths[t]=e.advanceWidth*this.scale),null==this.unicode[t]&&(this.unicode[t]=e.codePoints)}return[i,r]}encodeGlyphs(e){const t=[];for(let n=0;n<e.length;n++){const r=e[n],i=this.subset.includeGlyph(r.id);t.push(`0000${i.toString(16)}`.slice(-4)),null==this.widths[i]&&(this.widths[i]=r.advanceWidth*this.scale),null==this.unicode[i]&&(this.unicode[i]=r.codePoints)}return t}widthOfString(e,t,n){return this.layout(e,n,!0).advanceWidth*(t/1e3)}embed(){const e=null!=this.subset.cff,t=this.document.ref();e&&(t.data.Subtype="CIDFontType0C"),t.end(this.subset.encode());const n=((null!=this.font["OS/2"]?this.font["OS/2"].sFamilyClass:void 0)||0)>>8;let r=0;this.font.post.isFixedPitch&&(r|=1),1<=n&&n<=7&&(r|=2),r|=4,10===n&&(r|=8),this.font.head.macStyle.italic&&(r|=64);const i=[0,1,2,3,4,5].map((()=>String.fromCharCode(26*Math.random()+65))).join("")+"+"+this.font.postscriptName,{bbox:o}=this.font,a=this.document.ref({Type:"FontDescriptor",FontName:i,Flags:r,FontBBox:[o.minX*this.scale,o.minY*this.scale,o.maxX*this.scale,o.maxY*this.scale],ItalicAngle:this.font.italicAngle,Ascent:this.ascender,Descent:this.descender,CapHeight:(this.font.capHeight||this.font.ascent)*this.scale,XHeight:(this.font.xHeight||0)*this.scale,StemV:0});e?a.data.FontFile3=t:a.data.FontFile2=t,a.end();const s={Type:"Font",Subtype:"CIDFontType0",BaseFont:i,CIDSystemInfo:{Registry:new String("Adobe"),Ordering:new String("Identity"),Supplement:0},FontDescriptor:a,W:[0,this.widths]};e||(s.Subtype="CIDFontType2",s.CIDToGIDMap="Identity");const l=this.document.ref(s);return l.end(),this.dictionary.data={Type:"Font",Subtype:"Type0",BaseFont:i,Encoding:"Identity-H",DescendantFonts:[l],ToUnicode:this.toUnicodeCmap()},this.dictionary.end()}toUnicodeCmap(){const e=this.document.ref();let t=[],n="/CIDInit /ProcSet findresource begin\n12 dict begin\nbegincmap\n/CIDSystemInfo <<\n  /Registry (Adobe)\n  /Ordering (UCS)\n  /Supplement 0\n>> def\n/CMapName /Adobe-Identity-UCS def\n/CMapType 2 def\n1 begincodespacerange\n<0000><ffff>\nendcodespacerange";for(let[r,i]of this.unicode.entries()){const e=[];t.length>=100&&(n+="\n"+t.length+" beginbfchar\n"+t.join("\n")+"\nendbfchar",t=[]);for(let t of i)t>65535&&(t-=65536,e.push(lC(t>>>10&1023|55296)),t=56320|1023&t),e.push(lC(t));t.push("<"+lC(r)+"><"+e.join(" ")+">")}return t.length&&(n+="\n"+t.length+" beginbfchar\n"+t.join("\n")+"\nendbfchar\n"),n+="endcmap\nCMapName currentdict /CMap defineresource pop\nend\nend",e.end(n),e}})(cC);var pC={initFonts(){return this._fontFamilies={},this._fontCount=0,this._fontSize=12,this._font=null,this._registeredFonts={},this.font("Helvetica")},font(e,t,n){let r,i;if("number"===typeof t&&(n=t,t=null),"string"===typeof e&&this._registeredFonts[e]?(r=e,({src:e,family:t}=this._registeredFonts[e])):(r=t||e,"string"!==typeof r&&(r=null)),null!=n&&this.fontSize(n),i=this._fontFamilies[r])return this._font=i,this;const o="F"+ ++this._fontCount;return this._font=cC.open(this,e,t,o),(i=this._fontFamilies[this._font.name])?(this._font=i,this):(r&&(this._fontFamilies[r]=this._font),this._font.name&&(this._fontFamilies[this._font.name]=this._font),this)},fontSize(e){return this._fontSize=e,this},currentLineHeight(e){return null==e&&(e=!1),this._font.lineHeight(this._fontSize,e)},registerFont(e,t,n){return this._registeredFonts[e]={src:t,family:n},this}};const{number:hC}=wx;var fC={initText(){return this._line=this._line.bind(this),this.x=0,this.y=0,this._lineGap=0},_text(e,t,n,r,i){e=null==e?"":`${e}`,(r=this._initOptions(t,n,r)).wordSpacing&&(e=e.replace(/\s{2,}/g," "));const o=()=>{r.structParent&&r.structParent.add(this.struct(r.structType||"P",[this.markStructureContent(r.structType||"P")]))};for(let a of e.split("\n"))o(),i(a,r);return this},text(e,t,n,r){return this._text(e,t,n,r,this._line)},widthOfString(e,t){return void 0===t&&(t={}),this._font.widthOfString(e,this._fontSize,t.features)+(t.characterSpacing||0)*(e.length-1)},_initOptions(e,t,n){void 0===e&&(e={}),void 0===n&&(n={}),"object"===typeof e&&(n=e,e=null);const r=Object.assign({},n);if(this._textOptions)for(let i in this._textOptions){const e=this._textOptions[i];"continued"!==i&&void 0===r[i]&&(r[i]=e)}return null!=e&&(this.x=e),null!=t&&(this.y=t),!1!==r.lineBreak&&(null==r.width&&(r.width=this.page.width-this.x-this.page.margins.right),r.width=Math.max(r.width,0)),r.columns||(r.columns=0),null==r.columnGap&&(r.columnGap=18),r},_line(e,t){return void 0===t&&(t={}),this._fragment(e,this.x,this.y,t),this.x+=this.widthOfString(e)},_fragment(e,t,n,r){if(0===(e=`${e}`.replace(/\n/g,"")).length)return;const[i,o]=this._font.encode(e,r.features),a=this._font.ascender/1e3*this._fontSize;this._glyphs(i,o,t,n+a,r)},_glyphs(e,t,n,r,i){const o=[],a=this._fontSize/1e3;let s,l=0,c=!1;this.save(),this.transform(1,0,0,-1,0,this.page.height),r=this.page.height-r,null==this.page.fonts[this._font.id]&&(this.page.fonts[this._font.id]=this._font.ref()),this.addContent("BT"),this.addContent(`1 0 0 1 ${hC(n)} ${hC(r)} Tm`),this.addContent(`/${this._font.id} ${hC(this._fontSize)} Tf`);const u=i.fill&&i.stroke?2:i.stroke?1:0;u&&this.addContent(`${u} Tr`);const d=n=>{if(l<n){const r=e.slice(l,n).join(""),i=t[n-1].xAdvance-t[n-1].advanceWidth;o.push(`<${r}> ${hC(-i)}`)}return l=n},p=e=>{if(d(e),o.length>0)return this.addContent(`[${o.join(" ")}] TJ`),o.length=0};for(s=0;s<t.length;s++){const e=t[s];e.xOffset||e.yOffset?(p(s),this.addContent(`1 0 0 1 ${hC(n+e.xOffset*a)} ${hC(r+e.yOffset*a)} Tm`),p(s+1),c=!0):(c&&(this.addContent(`1 0 0 1 ${hC(n)} ${hC(r)} Tm`),c=!1),e.xAdvance-e.advanceWidth!==0&&d(s+1)),n+=e.xAdvance*a}return p(s),this.addContent("ET"),this.restore()}};const mC={1:"DeviceGray",3:"DeviceRGB",4:"DeviceCMYK"};class gC{constructor(e,t){if(this.data=e,this.label=t,this.orientation=1,65496!==this.data.readUInt16BE(0))throw"SOI not found in JPEG";const n=Ju(this.data);for(let r=0;r<n.length;r+=1){const e=n[r];"EXIF"===e.name&&e.entries.orientation&&(this.orientation=e.entries.orientation),"SOF"===e.name&&(this.bits||=e.precision,this.width||=e.width,this.height||=e.height,this.colorSpace||=mC[e.numberOfComponents])}this.obj=null}embed(e){if(!this.obj)return this.obj=e.ref({Type:"XObject",Subtype:"Image",BitsPerComponent:this.bits,Width:this.width,Height:this.height,ColorSpace:this.colorSpace,Filter:"DCTDecode"}),"DeviceCMYK"===this.colorSpace&&(this.obj.data.Decode=[1,0,1,0,1,0,1,0]),this.obj.end(this.data),this.data=null}}class vC{constructor(e,t){this.label=t,this.image=new zg(e),this.width=this.image.width,this.height=this.image.height,this.imgData=this.image.imgData,this.obj=null}embed(e){let t=!1;if(this.document=e,this.obj)return;const n=this.image.hasAlphaChannel,r=1===this.image.interlaceMethod;if(this.obj=this.document.ref({Type:"XObject",Subtype:"Image",BitsPerComponent:n?8:this.image.bits,Width:this.width,Height:this.height,Filter:"FlateDecode"}),!n){const e=this.document.ref({Predictor:r?1:15,Colors:this.image.colors,BitsPerComponent:this.image.bits,Columns:this.width});this.obj.data.DecodeParms=e,e.end()}if(0===this.image.palette.length)this.obj.data.ColorSpace=this.image.colorSpace;else{const e=this.document.ref();e.end(rv.from(this.image.palette)),this.obj.data.ColorSpace=["Indexed","DeviceRGB",this.image.palette.length/3-1,e]}if(null!=this.image.transparency.grayscale){const e=this.image.transparency.grayscale;this.obj.data.Mask=[e,e]}else if(this.image.transparency.rgb){const{rgb:e}=this.image.transparency,t=[];for(let n of e)t.push(n,n);this.obj.data.Mask=t}else{if(this.image.transparency.indexed)return t=!0,this.loadIndexedAlphaChannel();if(n)return t=!0,this.splitAlphaChannel()}if(r&&!t)return this.decodeData();this.finalize()}finalize(){if(this.alphaChannel){const e=this.document.ref({Type:"XObject",Subtype:"Image",Height:this.height,Width:this.width,BitsPerComponent:8,Filter:"FlateDecode",ColorSpace:"DeviceGray",Decode:[0,1]});e.end(this.alphaChannel),this.obj.data.SMask=e}return this.obj.end(this.imgData),this.image=null,this.imgData=null}splitAlphaChannel(){return this.image.decodePixels((e=>{let t,n;const r=this.image.colors,i=this.width*this.height,o=rv.alloc(i*r),a=rv.alloc(i);let s=n=t=0;const l=e.length,c=16===this.image.bits?1:0;for(;s<l;){for(let t=0;t<r;t++)o[n++]=e[s++],s+=c;a[t++]=e[s++],s+=c}return this.imgData=hx.deflateSync(o),this.alphaChannel=hx.deflateSync(a),this.finalize()}))}loadIndexedAlphaChannel(){const e=this.image.transparency.indexed;return this.image.decodePixels((t=>{const n=rv.alloc(this.width*this.height);let r=0;for(let i=0,o=t.length;i<o;i++)n[r++]=e[t[i]];return this.alphaChannel=hx.deflateSync(n),this.finalize()}))}decodeData(){this.image.decodePixels((e=>{this.imgData=hx.deflateSync(e),this.finalize()}))}}class yC{static open(e,t){let n;if(rv.isBuffer(e))n=e;else if(e instanceof ArrayBuffer)n=rv.from(new Uint8Array(e));else{let t;if(t=/^data:.+?;base64,(.*)$/.exec(e))n=rv.from(t[1],"base64");else if(n=nC.readFileSync(e),!n)return}if(255===n[0]&&216===n[1])return new gC(n,t);if(137===n[0]&&"PNG"===n.toString("ascii",1,4))return new vC(n,t);throw new Error("Unknown image format.")}}var AC={initImages(){return this._imageRegistry={},this._imageCount=0},embedImage(e){let t;return"string"===typeof e&&(t=this._imageRegistry[e]),t||(t=e.width&&e.height?e:this.openImage(e)),t.obj||t.embed(this),t},image(e,t,n,r){let i,o,a,s,l,c,u,d,p,h;void 0===r&&(r={}),"object"===typeof t&&(r=t,t=null);const f=r.ignoreOrientation||!1!==r.ignoreOrientation&&this.options.ignoreOrientation;t=null!=(c=null!=t?t:r.x)?c:this.x,n=null!=(u=null!=n?n:r.y)?u:this.y,"string"===typeof e&&(s=this._imageRegistry[e]),s||(s=e.width&&e.height?e:this.openImage(e)),s.obj||s.embed(this),null==this.page.xobjects[s.label]&&(this.page.xobjects[s.label]=s.obj);let{width:m,height:g}=s;!f&&s.orientation>4&&([m,g]=[g,m]);let v=r.width||m,y=r.height||g;if(r.width&&!r.height){const e=v/m;v=m*e,y=g*e}else if(r.height&&!r.width){const e=y/g;v=m*e,y=g*e}else r.scale?(v=m*r.scale,y=g*r.scale):r.fit?([a,i]=r.fit,o=a/i,l=m/g,l>o?(v=a,y=a/l):(y=i,v=i*l)):r.cover&&([a,i]=r.cover,o=a/i,l=m/g,l>o?(y=i,v=i*l):(v=a,y=a/l));if((r.fit||r.cover)&&("center"===r.align?t=t+a/2-v/2:"right"===r.align&&(t=t+a-v),"center"===r.valign?n=n+i/2-y/2:"bottom"===r.valign&&(n=n+i-y)),f)y=-y,n-=y,d=0;else switch(s.orientation){default:case 1:y=-y,n-=y,d=0;break;case 2:v=-v,y=-y,t-=v,n-=y,d=0;break;case 3:p=t,h=n,y=-y,t-=v,d=180;break;case 4:break;case 5:p=t,h=n,[v,y]=[y,v],n-=y,d=90;break;case 6:p=t,h=n,[v,y]=[y,v],y=-y,d=90;break;case 7:p=t,h=n,[v,y]=[y,v],y=-y,v=-v,t-=v,d=90;break;case 8:p=t,h=n,[v,y]=[y,v],y=-y,t-=v,n-=y,d=-90}return this.y===n&&(this.y+=y),this.save(),d&&this.rotate(d,{origin:[p,h]}),this.transform(v,0,0,y,t,n),this.addContent(`/${s.label} Do`),this.restore(),this},openImage(e){let t;return"string"===typeof e&&(t=this._imageRegistry[e]),t||(t=yC.open(e,"I"+ ++this._imageCount),"string"===typeof e&&(this._imageRegistry[e]=t)),t}},bC={annotate(e,t,n,r,i){i.Type="Annot",i.Rect=this._convertRect(e,t,n,r),i.Border=[0,0,0],"Link"===i.Subtype&&"undefined"===typeof i.F&&(i.F=4),"Link"!==i.Subtype&&null==i.C&&(i.C=this._normalizeColor(i.color||[0,0,0])),delete i.color,"string"===typeof i.Dest&&(i.Dest=new String(i.Dest));for(let a in i){const e=i[a];i[a[0].toUpperCase()+a.slice(1)]=e}const o=this.ref(i);return this.page.annotations.push(o),o.end(),this},note(e,t,n,r,i,o){return void 0===o&&(o={}),o.Subtype="Text",o.Contents=new String(i),o.Name="Comment",null==o.color&&(o.color=[243,223,92]),this.annotate(e,t,n,r,o)},goTo(e,t,n,r,i,o){return void 0===o&&(o={}),o.Subtype="Link",o.A=this.ref({S:"GoTo",D:new String(i)}),o.A.end(),this.annotate(e,t,n,r,o)},link(e,t,n,r,i,o){if(void 0===o&&(o={}),o.Subtype="Link","number"===typeof i){const e=this._root.data.Pages.data;if(!(i>=0&&i<e.Kids.length))throw new Error(`The document has no page ${i}`);o.A=this.ref({S:"GoTo",D:[e.Kids[i],"XYZ",null,null,null]}),o.A.end()}else o.A=this.ref({S:"URI",URI:new String(i)}),o.A.end();return this.annotate(e,t,n,r,o)},_markup(e,t,n,r,i){void 0===i&&(i={});const[o,a,s,l]=this._convertRect(e,t,n,r);return i.QuadPoints=[o,l,s,l,o,a,s,a],i.Contents=new String,this.annotate(e,t,n,r,i)},highlight(e,t,n,r,i){return void 0===i&&(i={}),i.Subtype="Highlight",null==i.color&&(i.color=[241,238,148]),this._markup(e,t,n,r,i)},underline(e,t,n,r,i){return void 0===i&&(i={}),i.Subtype="Underline",this._markup(e,t,n,r,i)},strike(e,t,n,r,i){return void 0===i&&(i={}),i.Subtype="StrikeOut",this._markup(e,t,n,r,i)},lineAnnotation(e,t,n,r,i){return void 0===i&&(i={}),i.Subtype="Line",i.Contents=new String,i.L=[e,this.page.height-t,n,this.page.height-r],this.annotate(e,t,n,r,i)},rectAnnotation(e,t,n,r,i){return void 0===i&&(i={}),i.Subtype="Square",i.Contents=new String,this.annotate(e,t,n,r,i)},ellipseAnnotation(e,t,n,r,i){return void 0===i&&(i={}),i.Subtype="Circle",i.Contents=new String,this.annotate(e,t,n,r,i)},textAnnotation(e,t,n,r,i,o){return void 0===o&&(o={}),o.Subtype="FreeText",o.Contents=new String(i),o.DA=new String,this.annotate(e,t,n,r,o)},fileAnnotation(e,t,n,r,i,o){void 0===i&&(i={}),void 0===o&&(o={});const a=this.file(i.src,Object.assign({hidden:!0},i));return o.Subtype="FileAttachment",o.FS=a,o.Contents?o.Contents=new String(o.Contents):a.data.Desc&&(o.Contents=a.data.Desc),this.annotate(e,t,n,r,o)},_convertRect(e,t,n,r){let i=t;t+=r;let o=e+n;const[a,s,l,c,u,d]=this._ctm;return o=a*o+l*i+u,i=s*o+c*i+d,[e=a*e+l*t+u,t=s*e+c*t+d,o,i]}};class wC{constructor(e,t,n,r,i){void 0===i&&(i={expanded:!1}),this.document=e,this.options=i,this.outlineData={},null!==r&&(this.outlineData.Dest=[r.dictionary,"Fit"]),null!==t&&(this.outlineData.Parent=t),null!==n&&(this.outlineData.Title=new String(n)),this.dictionary=this.document.ref(this.outlineData),this.children=[]}addItem(e,t){void 0===t&&(t={expanded:!1});const n=new wC(this.document,this.dictionary,e,this.document.page,t);return this.children.push(n),n}endOutline(){if(this.children.length>0){this.options.expanded&&(this.outlineData.Count=this.children.length);const e=this.children[0],t=this.children[this.children.length-1];this.outlineData.First=e.dictionary,this.outlineData.Last=t.dictionary;for(let n=0,r=this.children.length;n<r;n++){const e=this.children[n];n>0&&(e.outlineData.Prev=this.children[n-1].dictionary),n<this.children.length-1&&(e.outlineData.Next=this.children[n+1].dictionary),e.endOutline()}}return this.dictionary.end()}}var xC={initOutline(){return this.outline=new wC(this,null,null,null)},endOutline(){if(this.outline.endOutline(),this.outline.children.length>0)return this._root.data.Outlines=this.outline.dictionary,this._root.data.PageMode="UseOutlines"}};class CC{constructor(e,t){this.refs=[{pageRef:e,mcid:t}]}push(e){e.refs.forEach((e=>this.refs.push(e)))}}class SC{constructor(e,t,n,r){void 0===n&&(n={}),void 0===r&&(r=null),this.document=e,this._attached=!1,this._ended=!1,this._flushed=!1,this.dictionary=e.ref({S:t});const i=this.dictionary.data;(Array.isArray(n)||this._isValidChild(n))&&(r=n,n={}),"undefined"!==typeof n.title&&(i.T=new String(n.title)),"undefined"!==typeof n.lang&&(i.Lang=new String(n.lang)),"undefined"!==typeof n.alt&&(i.Alt=new String(n.alt)),"undefined"!==typeof n.expanded&&(i.E=new String(n.expanded)),"undefined"!==typeof n.actual&&(i.ActualText=new String(n.actual)),this._children=[],r&&(Array.isArray(r)||(r=[r]),r.forEach((e=>this.add(e))),this.end())}add(e){if(this._ended)throw new Error("Cannot add child to already-ended structure element");if(!this._isValidChild(e))throw new Error("Invalid structure element child");return e instanceof SC&&(e.setParent(this.dictionary),this._attached&&e.setAttached()),e instanceof CC&&this._addContentToParentTree(e),"function"===typeof e&&this._attached&&(e=this._contentForClosure(e)),this._children.push(e),this}_addContentToParentTree(e){e.refs.forEach((e=>{let{pageRef:t,mcid:n}=e;this.document.getStructParentTree().get(t.data.StructParents)[n]=this.dictionary}))}setParent(e){if(this.dictionary.data.P)throw new Error("Structure element added to more than one parent");this.dictionary.data.P=e,this._flush()}setAttached(){this._attached||(this._children.forEach(((e,t)=>{e instanceof SC&&e.setAttached(),"function"===typeof e&&(this._children[t]=this._contentForClosure(e))})),this._attached=!0,this._flush())}end(){this._ended||(this._children.filter((e=>e instanceof SC)).forEach((e=>e.end())),this._ended=!0,this._flush())}_isValidChild(e){return e instanceof SC||e instanceof CC||"function"===typeof e}_contentForClosure(e){const t=this.document.markStructureContent(this.dictionary.data.S);return e(),this.document.endMarkedContent(),this._addContentToParentTree(t),t}_isFlushable(){return!(!this.dictionary.data.P||!this._ended)&&this._children.every((e=>"function"!==typeof e&&(!(e instanceof SC)||e._isFlushable())))}_flush(){!this._flushed&&this._isFlushable()&&(this.dictionary.data.K=[],this._children.forEach((e=>this._flushChild(e))),this.dictionary.end(),this._children=[],this.dictionary.data.K=null,this._flushed=!0)}_flushChild(e){e instanceof SC&&this.dictionary.data.K.push(e.dictionary),e instanceof CC&&e.refs.forEach((e=>{let{pageRef:t,mcid:n}=e;this.dictionary.data.Pg||(this.dictionary.data.Pg=t),this.dictionary.data.Pg===t?this.dictionary.data.K.push(n):this.dictionary.data.K.push({Type:"MCR",Pg:t,MCID:n})}))}}class kC extends mx{_compareKeys(e,t){return parseInt(e)-parseInt(t)}_keysName(){return"Nums"}_dataForKey(e){return parseInt(e)}}var EC={initMarkings(e){this.structChildren=[],e.tagged&&(this.getMarkInfoDictionary().data.Marked=!0,this.getStructTreeRoot())},markContent(e,t){if(void 0===t&&(t=null),"Artifact"===e||t&&t.mcid){let e=0;for(this.page.markings.forEach((t=>{(e||t.structContent||"Artifact"===t.tag)&&e++}));e--;)this.endMarkedContent()}if(!t)return this.page.markings.push({tag:e}),this.addContent(`/${e} BMC`),this;this.page.markings.push({tag:e,options:t});const n={};return"undefined"!==typeof t.mcid&&(n.MCID=t.mcid),"Artifact"===e&&("string"===typeof t.type&&(n.Type=t.type),Array.isArray(t.bbox)&&(n.BBox=[t.bbox[0],this.page.height-t.bbox[3],t.bbox[2],this.page.height-t.bbox[1]]),Array.isArray(t.attached)&&t.attached.every((e=>"string"===typeof e))&&(n.Attached=t.attached)),"Span"===e&&(t.lang&&(n.Lang=new String(t.lang)),t.alt&&(n.Alt=new String(t.alt)),t.expanded&&(n.E=new String(t.expanded)),t.actual&&(n.ActualText=new String(t.actual))),this.addContent(`/${e} ${wx.convert(n)} BDC`),this},markStructureContent(e,t){void 0===t&&(t={});const n=this.getStructParentTree().get(this.page.structParentTreeKey),r=n.length;n.push(null),this.markContent(e,{...t,mcid:r});const i=new CC(this.page.dictionary,r);return this.page.markings.slice(-1)[0].structContent=i,i},endMarkedContent(){return this.page.markings.pop(),this.addContent("EMC"),this},struct(e,t,n){return void 0===t&&(t={}),void 0===n&&(n=null),new SC(this,e,t,n)},addStructure(e){const t=this.getStructTreeRoot();return e.setParent(t),e.setAttached(),this.structChildren.push(e),t.data.K||(t.data.K=[]),t.data.K.push(e.dictionary),this},initPageMarkings(e){e.forEach((e=>{if(e.structContent){const t=e.structContent,n=this.markStructureContent(e.tag,e.options);t.push(n),this.page.markings.slice(-1)[0].structContent=t}else this.markContent(e.tag,e.options)}))},endPageMarkings(e){const t=e.markings;return t.forEach((()=>e.write("EMC"))),e.markings=[],t},getMarkInfoDictionary(){return this._root.data.MarkInfo||(this._root.data.MarkInfo=this.ref({})),this._root.data.MarkInfo},getStructTreeRoot(){return this._root.data.StructTreeRoot||(this._root.data.StructTreeRoot=this.ref({Type:"StructTreeRoot",ParentTree:new kC,ParentTreeNextKey:0})),this._root.data.StructTreeRoot},getStructParentTree(){return this.getStructTreeRoot().data.ParentTree},createStructParentTreeNextKey(){this.getMarkInfoDictionary();const e=this.getStructTreeRoot(),t=e.data.ParentTreeNextKey++;return e.data.ParentTree.add(t,[]),t},endMarkings(){const e=this._root.data.StructTreeRoot;e&&(e.end(),this.structChildren.forEach((e=>e.end()))),this._root.data.MarkInfo&&this._root.data.MarkInfo.end()}};const IC={readOnly:1,required:2,noExport:4,multiline:4096,password:8192,toggleToOffButton:16384,radioButton:32768,pushButton:65536,combo:131072,edit:262144,sort:524288,multiSelect:2097152,noSpell:4194304},_C={left:0,center:1,right:2},PC={value:"V",defaultValue:"DV"},OC={zip:"0",zipPlus4:"1",zip4:"1",phone:"2",ssn:"3"},TC={nDec:0,sepComma:!1,negStyle:"MinusBlack",currency:"",currencyPrepend:!0},DC={nDec:0,sepComma:!1};var jC={initForm(){if(!this._font)throw new Error("Must set a font before calling initForm method");this._acroform={fonts:{},defaultFont:this._font.name},this._acroform.fonts[this._font.id]=this._font.ref();let e={Fields:[],NeedAppearances:!0,DA:new String(`/${this._font.id} 0 Tf 0 g`),DR:{Font:{}}};e.DR.Font[this._font.id]=this._font.ref();const t=this.ref(e);return this._root.data.AcroForm=t,this},endAcroForm(){if(this._root.data.AcroForm){if(!Object.keys(this._acroform.fonts).length&&!this._acroform.defaultFont)throw new Error("No fonts specified for PDF form");let e=this._root.data.AcroForm.data.DR.Font;Object.keys(this._acroform.fonts).forEach((t=>{e[t]=this._acroform.fonts[t]})),this._root.data.AcroForm.data.Fields.forEach((e=>{this._endChild(e)})),this._root.data.AcroForm.end()}return this},_endChild(e){return Array.isArray(e.data.Kids)&&(e.data.Kids.forEach((e=>{this._endChild(e)})),e.end()),this},formField(e,t){void 0===t&&(t={});let n=this._fieldDict(e,null,t),r=this.ref(n);return this._addToParent(r),r},formAnnotation(e,t,n,r,i,o,a){void 0===a&&(a={});let s=this._fieldDict(e,t,a);s.Subtype="Widget",void 0===s.F&&(s.F=4),this.annotate(n,r,i,o,s);let l=this.page.annotations[this.page.annotations.length-1];return this._addToParent(l)},formText(e,t,n,r,i,o){return void 0===o&&(o={}),this.formAnnotation(e,"text",t,n,r,i,o)},formPushButton(e,t,n,r,i,o){return void 0===o&&(o={}),this.formAnnotation(e,"pushButton",t,n,r,i,o)},formCombo(e,t,n,r,i,o){return void 0===o&&(o={}),this.formAnnotation(e,"combo",t,n,r,i,o)},formList(e,t,n,r,i,o){return void 0===o&&(o={}),this.formAnnotation(e,"list",t,n,r,i,o)},formRadioButton(e,t,n,r,i,o){return void 0===o&&(o={}),this.formAnnotation(e,"radioButton",t,n,r,i,o)},formCheckbox(e,t,n,r,i,o){return void 0===o&&(o={}),this.formAnnotation(e,"checkbox",t,n,r,i,o)},_addToParent(e){let t=e.data.Parent;return t?(t.data.Kids||(t.data.Kids=[]),t.data.Kids.push(e)):this._root.data.AcroForm.data.Fields.push(e),this},_fieldDict(e,t,n){if(void 0===n&&(n={}),!this._acroform)throw new Error("Call document.initForms() method before adding form elements to document");let r=Object.assign({},n);return null!==t&&(r=this._resolveType(t,n)),r=this._resolveFlags(r),r=this._resolveJustify(r),r=this._resolveFont(r),r=this._resolveStrings(r),r=this._resolveColors(r),r=this._resolveFormat(r),r.T=new String(e),r.parent&&(r.Parent=r.parent,delete r.parent),r},_resolveType(e,t){if("text"===e)t.FT="Tx";else if("pushButton"===e)t.FT="Btn",t.pushButton=!0;else if("radioButton"===e)t.FT="Btn",t.radioButton=!0;else if("checkbox"===e)t.FT="Btn";else if("combo"===e)t.FT="Ch",t.combo=!0;else{if("list"!==e)throw new Error(`Invalid form annotation type '${e}'`);t.FT="Ch"}return t},_resolveFormat(e){const t=e.format;if(t&&t.type){let n,r,i="";if(void 0!==OC[t.type])n="AFSpecial_Keystroke",r="AFSpecial_Format",i=OC[t.type];else{let e=t.type.charAt(0).toUpperCase()+t.type.slice(1);if(n=`AF${e}_Keystroke`,r=`AF${e}_Format`,"date"===t.type)n+="Ex",i=String(t.param);else if("time"===t.type)i=String(t.param);else if("number"===t.type){let e=Object.assign({},TC,t);i=String([String(e.nDec),e.sepComma?"0":"1",'"'+e.negStyle+'"',"null",'"'+e.currency+'"',String(e.currencyPrepend)].join(","))}else if("percent"===t.type){let e=Object.assign({},DC,t);i=String([String(e.nDec),e.sepComma?"0":"1"].join(","))}}e.AA=e.AA?e.AA:{},e.AA.K={S:"JavaScript",JS:new String(`${n}(${i});`)},e.AA.F={S:"JavaScript",JS:new String(`${r}(${i});`)}}return delete e.format,e},_resolveColors(e){let t=this._normalizeColor(e.backgroundColor);return t&&(e.MK||(e.MK={}),e.MK.BG=t),t=this._normalizeColor(e.borderColor),t&&(e.MK||(e.MK={}),e.MK.BC=t),delete e.backgroundColor,delete e.borderColor,e},_resolveFlags(e){let t=0;return Object.keys(e).forEach((n=>{IC[n]&&(t|=IC[n],delete e[n])})),0!==t&&(e.Ff=e.Ff?e.Ff:0,e.Ff|=t),e},_resolveJustify(e){let t=0;return void 0!==e.align&&("number"===typeof _C[e.align]&&(t=_C[e.align]),delete e.align),0!==t&&(e.Q=t),e},_resolveFont(e){if(null===this._acroform.fonts[this._font.id]&&(this._acroform.fonts[this._font.id]=this._font.ref()),this._acroform.defaultFont!==this._font.name){e.DR={Font:{}};const t=e.fontSize||0;e.DR.Font[this._font.id]=this._font.ref(),e.DA=new String(`/${this._font.id} ${t} Tf 0 g`)}return e},_resolveStrings(e){let t=[];function n(e){if(Array.isArray(e))for(let n=0;n<e.length;n++)"string"===typeof e[n]?t.push(new String(e[n])):t.push(e[n])}return n(e.Opt),e.select&&(n(e.select),delete e.select),t.length&&(e.Opt=t),Object.keys(PC).forEach((t=>{void 0!==e[t]&&(e[PC[t]]=e[t],delete e[t])})),["V","DV"].forEach((t=>{"string"===typeof e[t]&&(e[t]=new String(e[t]))})),e.MK&&e.MK.CA&&(e.MK.CA=new String(e.MK.CA)),e.label&&(e.MK=e.MK?e.MK:{},e.MK.CA=new String(e.label),delete e.label),e}},BC={file(e,t){void 0===t&&(t={}),t.name=t.name||e;const n={Type:"EmbeddedFile",Params:{}};let r;if(!e)throw new Error("No src specified");if(rv.isBuffer(e))r=e;else if(e instanceof ArrayBuffer)r=rv.from(new Uint8Array(e));else{let t;if(!(t=/^data:(.*);base64,(.*)$/.exec(e)))throw new Error(`Could not find file ${e}`);t[1]&&(n.Subtype=t[1].replace("/","#2F")),r=rv.from(t[2],"base64")}t.creationDate instanceof Date&&(n.Params.CreationDate=t.creationDate),t.modifiedDate instanceof Date&&(n.Params.ModDate=t.modifiedDate),t.type&&(n.Subtype=t.type.replace("/","#2F"));const i=yu(Qg.lib.WordArray.create(new Uint8Array(r)));let o;n.Params.CheckSum=new String(i),n.Params.Size=r.byteLength,this._fileRegistry||(this._fileRegistry={});let a=this._fileRegistry[t.name];a&&function(e,t){return e.Subtype===t.Subtype&&e.Params.CheckSum.toString()===t.Params.CheckSum.toString()&&e.Params.Size===t.Params.Size&&e.Params.CreationDate===t.Params.CreationDate&&e.Params.ModDate===t.Params.ModDate}(n,a)?o=a.ref:(o=this.ref(n),o.end(r),this._fileRegistry[t.name]={...n,ref:o});const s={Type:"Filespec",F:new String(t.name),EF:{F:o},UF:new String(t.name)};t.description&&(s.Desc=new String(t.description));const l=this.ref(s);return l.end(),t.hidden||this.addNamedEmbeddedFile(t.name,l),l}};class NC{constructor(){this._metadata='\n        <?xpacket begin="\ufeff" id="W5M0MpCehiHzreSzNTczkc9d"?>\n            <x:xmpmeta xmlns:x="adobe:ns:meta/">\n                <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">\n        '}_closeTags(){this._metadata=this._metadata.concat('\n                </rdf:RDF>\n            </x:xmpmeta>\n        <?xpacket end="w"?>\n        ')}append(e,t){void 0===t&&(t=!0),this._metadata=this._metadata.concat(e),t&&(this._metadata=this._metadata.concat("\n"))}getXML(){return this._metadata}getLength(){return this._metadata.length}end(){this._closeTags(),this._metadata=this._metadata.trim()}}var MC={initMetadata(){this.metadata=new NC},appendXML(e,t){void 0===t&&(t=!0),this.metadata.append(e,t)},_addInfo(){this.appendXML(`\n        <rdf:Description rdf:about="" xmlns:xmp="http://ns.adobe.com/xap/1.0/">\n            <xmp:CreateDate>${this.info.CreationDate.toISOString().split(".")[0]+"Z"}</xmp:CreateDate>\n            <xmp:CreatorTool>${this.info.Creator}</xmp:CreatorTool>\n        </rdf:Description>\n        `),(this.info.Title||this.info.Author||this.info.Subject)&&(this.appendXML('\n            <rdf:Description rdf:about="" xmlns:dc="http://purl.org/dc/elements/1.1/">\n            '),this.info.Title&&this.appendXML(`\n                <dc:title>\n                    <rdf:Alt>\n                        <rdf:li xml:lang="x-default">${this.info.Title}</rdf:li>\n                    </rdf:Alt>\n                </dc:title>\n                `),this.info.Author&&this.appendXML(`\n                <dc:creator>\n                    <rdf:Seq>\n                        <rdf:li>${this.info.Author}</rdf:li>\n                    </rdf:Seq>\n                </dc:creator>\n                `),this.info.Subject&&this.appendXML(`\n                <dc:description>\n                    <rdf:Alt>\n                        <rdf:li xml:lang="x-default">${this.info.Subject}</rdf:li>\n                    </rdf:Alt>\n                </dc:description>\n                `),this.appendXML("\n            </rdf:Description>\n            ")),this.appendXML(`\n        <rdf:Description rdf:about="" xmlns:pdf="http://ns.adobe.com/pdf/1.3/">\n            <pdf:Producer>${this.info.Creator}</pdf:Producer>`,!1),this.info.Keywords&&this.appendXML(`\n            <pdf:Keywords>${this.info.Keywords}</pdf:Keywords>`,!1),this.appendXML("\n        </rdf:Description>\n        ")},endMetadata(){this._addInfo(),this.metadata.end(),1.3!=this.version&&(this.metadataRef=this.ref({length:this.metadata.getLength(),Type:"Metadata",Subtype:"XML"}),this.metadataRef.compress=!1,this.metadataRef.write(rv.from(this.metadata.getXML(),"utf-8")),this.metadataRef.end(),this._root.data.Metadata=this.metadataRef)}};const RC=e=>e[0].toUpperCase()+e.slice(1);class LC extends Dw.Readable{constructor(e){switch(void 0===e&&(e={}),super(),this.options=e,e.pdfVersion){case"1.4":this.version=1.4;break;case"1.5":this.version=1.5;break;case"1.6":this.version=1.6;break;case"1.7":case"1.7ext3":this.version=1.7;break;default:this.version=1.3}this.compress=null==this.options.compress||this.options.compress,this._pageBuffer=[],this._pageBufferStart=0,this._offsets=[],this._waiting=0,this._ended=!1,this._offset=0;const t=this.ref({Type:"Pages",Count:0,Kids:[]}),n=this.ref({Dests:new gx});if(this._root=this.ref({Type:"Catalog",Pages:t,Names:n}),this.options.lang&&(this._root.data.Lang=new String(this.options.lang)),this.options.pageLayout&&(this._root.data.PageLayout=RC(this.options.pageLayout)),this.options.pageMode&&(this._root.data.PageMode=RC(this.options.pageMode)),this.page=null,this.initColor(),this.initVector(),this.initFonts(),this.initText(),this.initImages(),this.initOutline(),this.info={Producer:"PDFKit",Creator:"PDFKit",CreationDate:new Date},this.options.info)for(let r in this.options.info){const e=this.options.info[r];this.info[r]=e}this.options.displayTitle&&(this._root.data.ViewerPreferences=this.ref({DisplayDocTitle:!0})),this._id=kx.generateFileID(this.info),this._write(`%PDF-${this.version}`),this._write("%\xff\xff\xff\xff"),!1!==this.options.autoFirstPage&&this.addPage()}addPage(e){null==e&&({options:e}=this),this.options.bufferPages||this.flushPages(),this.page=new Sx(this,e),this._pageBuffer.push(this.page);const t=this._root.data.Pages.data;return t.Kids.push(this.page.dictionary),t.Count++,this._ctm=[1,0,0,1,0,0],this.transform(1,0,0,-1,0,this.page.height),this}flushPages(){const e=this._pageBuffer;this._pageBuffer=[],this._pageBufferStart+=e.length;for(let t of Array.from(e))t.end()}addNamedDestination(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];0===n.length&&(n=["XYZ",null,null,null]),"XYZ"===n[0]&&null!==n[2]&&(n[2]=this.page.height-n[2]),n.unshift(this.page.dictionary),this._root.data.Names.data.Dests.add(e,n)}addNamedEmbeddedFile(e,t){this._root.data.Names.data.EmbeddedFiles||(this._root.data.Names.data.EmbeddedFiles=new gx({limits:!1})),this._root.data.Names.data.EmbeddedFiles.add(e,t)}addNamedJavaScript(e,t){this._root.data.Names.data.JavaScript||(this._root.data.Names.data.JavaScript=new gx);let n={JS:new String(t),S:"JavaScript"};this._root.data.Names.data.JavaScript.add(e,n)}ref(e){const t=new fx(this,this._offsets.length+1,e);return this._offsets.push(null),this._waiting++,t}_read(){}_write(e){return rv.isBuffer(e)||(e=rv.from(e+"\n","binary")),this.push(e),this._offset+=e.length}addContent(e){return this.page.write(e),this}_refEnd(e){if(this._offsets[e.id-1]=e.offset,0===--this._waiting&&this._ended)return this._finalize(),this._ended=!1}end(){this.flushPages(),this._info=this.ref();for(let e in this.info){let t=this.info[e];"string"===typeof t&&(t=new String(t));let n=this.ref(t);n.end(),this._info.data[e]=n}this._info.end();for(let e in this._fontFamilies){this._fontFamilies[e].finalize()}if(this.endOutline(),this._root.end(),this._root.data.Pages.end(),this._root.data.Names.end(),this.endAcroForm(),this._root.data.ViewerPreferences&&this._root.data.ViewerPreferences.end(),0===this._waiting)return this._finalize();this._ended=!0}_finalize(){const e=this._offset;this._write("xref"),this._write(`0 ${this._offsets.length+1}`),this._write("0000000000 65535 f ");for(let n of Array.from(this._offsets))n=`0000000000${n}`.slice(-10),this._write(n+" 00000 n ");const t={Size:this._offsets.length+1,Root:this._root,Info:this._info,ID:[this._id,this._id]};return this._write("trailer"),this._write(wx.convert(t)),this._write("startxref"),this._write(`${e}`),this._write("%%EOF"),this.push(null)}toString(){return"[object PDFDocument]"}initColor(){}initVector(){}initFonts(){}initText(){}initImages(){}initOutline(){}transform(e,t,n,r,i,o){}endOutline(){}endAcroForm(){}}const FC=e=>{Object.assign(LC.prototype,e)};FC(MC),FC(Nx),FC(tC),FC(pC),FC(fC),FC(AC),FC(bC),FC(xC),FC(EC),FC(jC),FC(BC);var zC=n(55879),QC=n(33288),UC=n(1420),VC=n(96523);const GC=[1,1,0],qC=[1,1,"auto"],HC=(e,t)=>{console.error(`\n    @react-pdf/stylesheet parsing error:\n\n    ${e}: ${t},\n    ${" ".repeat(e.length+2)}^\n    Unsupported ${e} value format\n  `)},WC=function(e){let{expandsTo:t,maxValues:n=1,autoSupported:r=!1}=void 0===e?{}:e;return(e,i)=>{const o=zC(`${i}`),a=[];for(let t=0;t<o.length;t++){const n=o[t];if("function"===n.type||"string"===n.type||"div"===n.type)return HC(e,i),{};if("word"===n.type)if("auto"===n.value&&r)a.push(n.value);else{const t=QC(n.value);if(!t||!"px,in,mm,cm,pt,%,vw,vh".includes(t.unit))return HC(e,i),{};a.push(n.value)}}if(a.length>n)return HC(e,i),{};const s=a[0];if(t){const e=a[1]||a[0],n=a[2]||a[0],r=a[3]||a[1]||a[0];return t({first:s,second:e,third:n,fourth:r})}return{[e]:s}}},YC=WC({expandsTo:e=>{let{first:t,second:n,third:r,fourth:i}=e;return{marginTop:t,marginRight:n,marginBottom:r,marginLeft:i}},maxValues:4,autoSupported:!0}),KC=WC({expandsTo:e=>{let{first:t,second:n}=e;return{marginTop:t,marginBottom:n}},maxValues:2,autoSupported:!0}),JC=WC({expandsTo:e=>{let{first:t,second:n}=e;return{marginRight:t,marginLeft:n}},maxValues:2,autoSupported:!0}),XC=WC({autoSupported:!0}),ZC=/(-?\d+(\.\d+)?(px|in|mm|cm|pt|vw|vh|px)?)\s(\S+)\s(.+)/,$C=(e,t)=>{const n=(e=>e.match(ZC)||[])(`${t}`);if(n){const r=n[5]||t,i=n[4]||t,o=n[1]||t;return e.match(/(Top|Right|Bottom|Left)$/)?{[`${e}Color`]:r,[`${e}Style`]:i,[`${e}Width`]:o}:e.match(/Color$/)?{borderTopColor:r,borderRightColor:r,borderBottomColor:r,borderLeftColor:r}:e.match(/Style$/)?{borderTopStyle:i,borderRightStyle:i,borderBottomStyle:i,borderLeftStyle:i}:e.match(/Width$/)?{borderTopWidth:o,borderRightWidth:o,borderBottomWidth:o,borderLeftWidth:o}:e.match(/Radius$/)?{borderTopLeftRadius:t,borderTopRightRadius:t,borderBottomRightRadius:t,borderBottomLeftRadius:t}:{borderTopColor:r,borderTopStyle:i,borderTopWidth:o,borderRightColor:r,borderRightStyle:i,borderRightWidth:o,borderBottomColor:r,borderBottomStyle:i,borderBottomWidth:o,borderLeftColor:r,borderLeftStyle:i,borderLeftWidth:o}}return t},eS=WC({expandsTo:e=>{let{first:t,second:n,third:r,fourth:i}=e;return{paddingTop:t,paddingRight:n,paddingBottom:r,paddingLeft:i}},maxValues:4}),tS=WC({expandsTo:e=>{let{first:t,second:n}=e;return{paddingTop:t,paddingBottom:n}},maxValues:2}),nS=WC({expandsTo:e=>{let{first:t,second:n}=e;return{paddingRight:t,paddingLeft:n}},maxValues:2}),rS=WC(),iS={top:!0,bottom:!0},oS=(e,t)=>iS[e]?1:iS[t]?-1:0,aS={flex:(e,t)=>{let n=GC,r=[];"auto"===t?n=qC:r=`${t}`.split(" ");return{flexGrow:r[0]||n[0],flexShrink:r[1]||n[1],flexBasis:r[2]||n[2]}},gap:(e,t)=>{const n=`${t}`.split(" ");return{rowGap:(null===n||void 0===n?void 0:n[0])||t,columnGap:(null===n||void 0===n?void 0:n[1])||t}},margin:YC,marginHorizontal:JC,marginVertical:KC,marginTop:XC,marginRight:XC,marginBottom:XC,marginLeft:XC,padding:eS,paddingHorizontal:nS,paddingVertical:tS,paddingTop:rS,paddingRight:rS,paddingBottom:rS,paddingLeft:rS,border:$C,borderTop:$C,borderRight:$C,borderBottom:$C,borderLeft:$C,borderColor:$C,borderRadius:$C,borderStyle:$C,borderWidth:$C,objectPosition:(e,t)=>{const n=`${t}`.split(" ");return{objectPositionX:(null===n||void 0===n?void 0:n[0])||t,objectPositionY:(null===n||void 0===n?void 0:n[1])||t}},transformOrigin:(e,t)=>{const n=`${t}`.split(" "),r=(i=n)&&0!==i.length?(1===i.length?[i[0],"center"]:i).sort(oS):["center","center"];var i;return{transformOriginX:r[0],transformOriginY:r[1]}}},sS=(e,t)=>aS[e]?aS[e](e,t):{[e]:t},lS=e=>{if(!e)return e;const t=Object.keys(e),n={};for(let r=0;r<t.length;r+=1){const i=t[r],o=e[i],a=sS(i,o),s=Object.keys(a);for(let e=0;e<s.length;e+=1){const t=s[e],r=a[t];n[t]=r}}return n},cS=rc((e=>e.reduce(((e,t)=>{const n=Array.isArray(t)?cS(t):t;return Object.keys(n).forEach((t=>{null!==n[t]&&void 0!==n[t]&&(e[t]=n[t])})),e}),{})),(e=>e.filter(Boolean)),nc),uS=(e,t)=>{const n=(e=>{const t=/^(-?\d*\.?\d+)(in|mm|cm|pt|vh|vw|px)?$/g.exec(e);return t?{value:parseFloat(t[1]),unit:t[2]||"pt"}:{value:e,unit:void 0}})(t),r=1/25.4*72,i=1/2.54*72;switch(n.unit){case"in":return 72*n.value;case"mm":return n.value*r;case"cm":return n.value*i;case"vh":return n.value*(e.height/100);case"vw":return n.value*(e.width/100);default:return n.value}},dS=e=>(e=>/rgba?/g.test(e))(e)?(e=>{const t=Sc.get.rgb(e);return Sc.to.hex(t)})(e):(e=>/hsla?/g.test(e))(e)?(e=>{const t=Sc.get.hsl(e).map(Math.round);return UC(...t).toUpperCase()})(e):e,pS=e=>{const[,t,n]=/(-?\d*\.?\d*)(\w*)?/i.exec(e),r=Number.parseFloat(t);return"rad"===n?180*r/Math.PI:r},hS=e=>e.map((e=>(e=>{let{operation:t,value:n}=e;switch(t){case"scale":{const[e,t=e]=n.map((e=>Number.parseFloat(e)));return{operation:"scale",value:[e,t]}}case"scaleX":return{operation:"scale",value:[Number.parseFloat(n),1]};case"scaleY":return{operation:"scale",value:[1,Number.parseFloat(n)]};case"rotate":return{operation:"rotate",value:[pS(n)]};case"translate":return{operation:"translate",value:n.map((e=>Number.parseFloat(e)))};case"translateX":return{operation:"translate",value:[Number.parseFloat(n),0]};case"translateY":return{operation:"translate",value:[0,Number.parseFloat(n)]};case"skew":return{operation:"skew",value:n.map(pS)};case"skewX":return{operation:"skew",value:[pS(n),0]};case"skewY":return{operation:"skew",value:[0,pS(n)]};default:return{operation:t,value:n.map((e=>Number.parseFloat(e)))}}})(e))),fS=e=>"string"!==typeof e?e:hS((e=>{const t=e.trim().split(/\) |\)/);if(1===t.length)return[[t[0],!0]];const n=[];for(let r=0;r<t.length;r+=1){const e=t[r];if(e){const[t,r]=e.split("("),i=r.indexOf(",")>=0?",":" ",o=r.split(i).map((e=>e.trim()));n.push({operation:t,value:o})}}return n})(e)),mS={thin:100,hairline:100,ultralight:200,extralight:200,light:300,normal:400,medium:500,semibold:600,demibold:600,bold:700,ultrabold:800,extrabold:800,heavy:900,black:900},gS=e=>"string"!==typeof e?e:(e=>"string"===typeof e&&/^-?\d*\.?\d*$/.test(e))(e)?parseFloat(e):e,vS=e=>{switch(e){case"top":case"left":return"0%";case"right":case"bottom":return"100%";case"center":return"50%";default:return null}},yS=e=>vS(e)||gS(e),AS=e=>vS(e)||gS(e),bS={transform:fS,fontWeight:e=>{if(!e)return mS.normal;if("number"===typeof e)return e;const t=e.toLowerCase();return mS[t]?mS[t]:e},objectPositionX:yS,objectPositionY:yS,transformOriginX:AS,transformOriginY:AS},wS=(e,t,n)=>{const r=bS[e]?bS[e](t):t;return dS(uS(n,gS(r)))},xS=(e,t)=>rc((e=>t=>{if(!t)return t;const n=Object.keys(t),r={};for(let i=0;i<n.length;i+=1){const o=n[i],a=t[o],s=wS(o,a,e);r[o]=s}return r})(e),lS,(t=>((e,t)=>Object.keys(t).reduce(((n,r)=>/@media/.test(r)?{...n,...VC({[r]:t[r]},e)}:{...n,[r]:t[r]}),{}))(e,t)),cS)(t);const CS=function(){var e=function(e){var t={R:"13k,1a,2,3,3,2+1j,ch+16,a+1,5+2,2+n,5,a,4,6+16,4+3,h+1b,4mo,179q,2+9,2+11,2i9+7y,2+68,4,3+4,5+13,4+3,2+4k,3+29,8+cf,1t+7z,w+17,3+3m,1t+3z,16o1+5r,8+30,8+mc,29+1r,29+4v,75+73",EN:"1c+9,3d+1,6,187+9,513,4+5,7+9,sf+j,175h+9,qw+q,161f+1d,4xt+a,25i+9",ES:"17,2,6dp+1,f+1,av,16vr,mx+1,4o,2",ET:"z+2,3h+3,b+1,ym,3e+1,2o,p4+1,8,6u,7c,g6,1wc,1n9+4,30+1b,2n,6d,qhx+1,h0m,a+1,49+2,63+1,4+1,6bb+3,12jj",AN:"16o+5,2j+9,2+1,35,ed,1ff2+9,87+u",CS:"18,2+1,b,2u,12k,55v,l,17v0,2,3,53,2+1,b",B:"a,3,f+2,2v,690",S:"9,2,k",WS:"c,k,4f4,1vk+a,u,1j,335",ON:"x+1,4+4,h+5,r+5,r+3,z,5+3,2+1,2+1,5,2+2,3+4,o,w,ci+1,8+d,3+d,6+8,2+g,39+1,9,6+1,2,33,b8,3+1,3c+1,7+1,5r,b,7h+3,sa+5,2,3i+6,jg+3,ur+9,2v,ij+1,9g+9,7+a,8m,4+1,49+x,14u,2+2,c+2,e+2,e+2,e+1,i+n,e+e,2+p,u+2,e+2,36+1,2+3,2+1,b,2+2,6+5,2,2,2,h+1,5+4,6+3,3+f,16+2,5+3l,3+81,1y+p,2+40,q+a,m+13,2r+ch,2+9e,75+hf,3+v,2+2w,6e+5,f+6,75+2a,1a+p,2+2g,d+5x,r+b,6+3,4+o,g,6+1,6+2,2k+1,4,2j,5h+z,1m+1,1e+f,t+2,1f+e,d+3,4o+3,2s+1,w,535+1r,h3l+1i,93+2,2s,b+1,3l+x,2v,4g+3,21+3,kz+1,g5v+1,5a,j+9,n+v,2,3,2+8,2+1,3+2,2,3,46+1,4+4,h+5,r+5,r+a,3h+2,4+6,b+4,78,1r+24,4+c,4,1hb,ey+6,103+j,16j+c,1ux+7,5+g,fsh,jdq+1t,4,57+2e,p1,1m,1m,1m,1m,4kt+1,7j+17,5+2r,d+e,3+e,2+e,2+10,m+4,w,1n+5,1q,4z+5,4b+rb,9+c,4+c,4+37,d+2g,8+b,l+b,5+1j,9+9,7+13,9+t,3+1,27+3c,2+29,2+3q,d+d,3+4,4+2,6+6,a+o,8+6,a+2,e+6,16+42,2+1i",BN:"0+8,6+d,2s+5,2+p,e,4m9,1kt+2,2b+5,5+5,17q9+v,7k,6p+8,6+1,119d+3,440+7,96s+1,1ekf+1,1ekf+1,1ekf+1,1ekf+1,1ekf+1,1ekf+1,1ekf+1,1ekf+1,1ekf+1,1ekf+1,1ekf+1,1ekf+75,6p+2rz,1ben+1,1ekf+1,1ekf+1",NSM:"lc+33,7o+6,7c+18,2,2+1,2+1,2,21+a,1d+k,h,2u+6,3+5,3+1,2+3,10,v+q,2k+a,1n+8,a,p+3,2+8,2+2,2+4,18+2,3c+e,2+v,1k,2,5+7,5,4+6,b+1,u,1n,5+3,9,l+1,r,3+1,1m,5+1,5+1,3+2,4,v+1,4,c+1,1m,5+4,2+1,5,l+1,n+5,2,1n,3,2+3,9,8+1,c+1,v,1q,d,1f,4,1m+2,6+2,2+3,8+1,c+1,u,1n,g+1,l+1,t+1,1m+1,5+3,9,l+1,u,21,8+2,2,2j,3+6,d+7,2r,3+8,c+5,23+1,s,2,2,1k+d,2+4,2+1,6+a,2+z,a,2v+3,2+5,2+1,3+1,q+1,5+2,h+3,e,3+1,7,g,jk+2,qb+2,u+2,u+1,v+1,1t+1,2+6,9,3+a,a,1a+2,3c+1,z,3b+2,5+1,a,7+2,64+1,3,1n,2+6,2,2,3+7,7+9,3,1d+g,1s+3,1d,2+4,2,6,15+8,d+1,x+3,3+1,2+2,1l,2+1,4,2+2,1n+7,3+1,49+2,2+c,2+6,5,7,4+1,5j+1l,2+4,k1+w,2db+2,3y,2p+v,ff+3,30+1,n9x+3,2+9,x+1,29+1,7l,4,5,q+1,6,48+1,r+h,e,13+7,q+a,1b+2,1d,3+3,3+1,14,1w+5,3+1,3+1,d,9,1c,1g,2+2,3+1,6+1,2,17+1,9,6n,3,5,fn5,ki+f,h+f,r2,6b,46+4,1af+2,2+1,6+3,15+2,5,4m+1,fy+3,as+1,4a+a,4x,1j+e,1l+2,1e+3,3+1,1y+2,11+4,2+7,1r,d+1,1h+8,b+3,3,2o+2,3,2+1,7,4h,4+7,m+1,1m+1,4,12+6,4+4,5g+7,3+2,2,o,2d+5,2,5+1,2+1,6n+3,7+1,2+1,s+1,2e+7,3,2+1,2z,2,3+5,2,2u+2,3+3,2+4,78+8,2+1,75+1,2,5,41+3,3+1,5,x+5,3+1,15+5,3+3,9,a+5,3+2,1b+c,2+1,bb+6,2+5,2d+l,3+6,2+1,2+1,3f+5,4,2+1,2+6,2,21+1,4,2,9o+1,f0c+4,1o+6,t5,1s+3,2a,f5l+1,43t+2,i+7,3+6,v+3,45+2,1j0+1i,5+1d,9,f,n+4,2+e,11t+6,2+g,3+6,2+1,2+4,7a+6,c6+3,15t+6,32+6,gzhy+6n",AL:"16w,3,2,e+1b,z+2,2+2s,g+1,8+1,b+m,2+t,s+2i,c+e,4h+f,1d+1e,1bwe+dp,3+3z,x+c,2+1,35+3y,2rm+z,5+7,b+5,dt+l,c+u,17nl+27,1t+27,4x+6n,3+d",LRO:"6ct",RLO:"6cu",LRE:"6cq",RLE:"6cr",PDF:"6cs",LRI:"6ee",RLI:"6ef",FSI:"6eg",PDI:"6eh"},n={},r={};n.L=1,r[1]="L",Object.keys(t).forEach((function(e,t){n[e]=1<<t+1,r[n[e]]=e})),Object.freeze(n);var i=n.LRI|n.RLI|n.FSI,o=n.L|n.R|n.AL,a=n.B|n.S|n.WS|n.ON|n.FSI|n.LRI|n.RLI|n.PDI,s=n.BN|n.RLE|n.LRE|n.RLO|n.LRO|n.PDF,l=n.S|n.WS|n.B|i|n.PDI|s,c=null;function u(e){return function(){if(!c){c=new Map;var e=function(e){if(t.hasOwnProperty(e)){var r=0;t[e].split(",").forEach((function(t){var i=t.split("+"),o=i[0],a=i[1];o=parseInt(o,36),a=a?parseInt(a,36):0,c.set(r+=o,n[e]);for(var s=0;s<a;s++)c.set(++r,n[e])}))}};for(var r in t)e(r)}}(),c.get(e.codePointAt(0))||n.L}var d,p,h,f="14>1,1e>2,u>2,2wt>1,1>1,1ge>1,1wp>1,1j>1,f>1,hm>1,1>1,u>1,u6>1,1>1,+5,28>1,w>1,1>1,+3,b8>1,1>1,+3,1>3,-1>-1,3>1,1>1,+2,1s>1,1>1,x>1,th>1,1>1,+2,db>1,1>1,+3,3>1,1>1,+2,14qm>1,1>1,+1,4q>1,1e>2,u>2,2>1,+1",m="6f1>-6dx,6dy>-6dx,6ec>-6ed,6ee>-6ed,6ww>2jj,-2ji>2jj,14r4>-1e7l,1e7m>-1e7l,1e7m>-1e5c,1e5d>-1e5b,1e5c>-14qx,14qy>-14qx,14vn>-1ecg,1ech>-1ecg,1edu>-1ecg,1eci>-1ecg,1eda>-1ecg,1eci>-1ecg,1eci>-168q,168r>-168q,168s>-14ye,14yf>-14ye";function g(e,t){var n,r=0,i=new Map,o=t&&new Map;return e.split(",").forEach((function e(a){if(-1!==a.indexOf("+"))for(var s=+a;s--;)e(n);else{n=a;var l=a.split(">"),c=l[0],u=l[1];c=String.fromCodePoint(r+=parseInt(c,36)),u=String.fromCodePoint(r+=parseInt(u,36)),i.set(c,u),t&&o.set(u,c)}})),{map:i,reverseMap:o}}function v(){if(!d){var e=g(f,!0),t=e.map,n=e.reverseMap;d=t,p=n,h=g(m,!1).map}}function y(e){return v(),d.get(e)||null}function A(e){return v(),p.get(e)||null}function b(e){return v(),h.get(e)||null}var w=n.L,x=n.R,C=n.EN,S=n.ES,k=n.ET,E=n.AN,I=n.CS,_=n.B,P=n.S,O=n.ON,T=n.BN,D=n.NSM,j=n.AL,B=n.LRO,N=n.RLO,M=n.LRE,R=n.RLE,L=n.PDF,F=n.LRI,z=n.RLI,Q=n.FSI,U=n.PDI;var V;function G(e){return function(){if(!V){var e=g("14>1,j>2,t>2,u>2,1a>g,2v3>1,1>1,1ge>1,1wd>1,b>1,1j>1,f>1,ai>3,-2>3,+1,8>1k0,-1jq>1y7,-1y6>1hf,-1he>1h6,-1h5>1ha,-1h8>1qi,-1pu>1,6>3u,-3s>7,6>1,1>1,f>1,1>1,+2,3>1,1>1,+13,4>1,1>1,6>1eo,-1ee>1,3>1mg,-1me>1mk,-1mj>1mi,-1mg>1mi,-1md>1,1>1,+2,1>10k,-103>1,1>1,4>1,5>1,1>1,+10,3>1,1>8,-7>8,+1,-6>7,+1,a>1,1>1,u>1,u6>1,1>1,+5,26>1,1>1,2>1,2>2,8>1,7>1,4>1,1>1,+5,b8>1,1>1,+3,1>3,-2>1,2>1,1>1,+2,c>1,3>1,1>1,+2,h>1,3>1,a>1,1>1,2>1,3>1,1>1,d>1,f>1,3>1,1a>1,1>1,6>1,7>1,13>1,k>1,1>1,+19,4>1,1>1,+2,2>1,1>1,+18,m>1,a>1,1>1,lk>1,1>1,4>1,2>1,f>1,3>1,1>1,+3,db>1,1>1,+3,3>1,1>1,+2,14qm>1,1>1,+1,6>1,4j>1,j>2,t>2,u>2,2>1,+1",!0),t=e.map;e.reverseMap.forEach((function(e,n){t.set(n,e)})),V=t}}(),V.get(e)||null}function q(e,t,n,r){var i=e.length;n=Math.max(0,null==n?0:+n),r=Math.min(i-1,null==r?i-1:+r);var o=[];return t.paragraphs.forEach((function(i){var a=Math.max(n,i.start),s=Math.min(r,i.end);if(a<s){for(var c=t.levels.slice(a,s+1),d=s;d>=a&&u(e[d])&l;d--)c[d]=i.level;for(var p=i.level,h=1/0,f=0;f<c.length;f++){var m=c[f];m>p&&(p=m),m<h&&(h=1|m)}for(var g=p;g>=h;g--)for(var v=0;v<c.length;v++)if(c[v]>=g){for(var y=v;v+1<c.length&&c[v+1]>=g;)v++;v>y&&o.push([y+a,v+a])}}})),o}function H(e,t,n,r){for(var i=q(e,t,n,r),o=[],a=0;a<e.length;a++)o[a]=a;return i.forEach((function(e){for(var t=e[0],n=e[1],r=o.slice(t,n+1),i=r.length;i--;)o[n-i]=r[i]})),o}return e.closingToOpeningBracket=A,e.getBidiCharType=u,e.getBidiCharTypeName=function(e){return r[u(e)]},e.getCanonicalBracket=b,e.getEmbeddingLevels=function(e,t){for(var n=new Uint32Array(e.length),r=0;r<e.length;r++)n[r]=u(e[r]);var c=new Map;function d(e,t){var r=n[e];n[e]=t,c.set(r,c.get(r)-1),r&a&&c.set(a,c.get(a)-1),c.set(t,(c.get(t)||0)+1),t&a&&c.set(a,(c.get(a)||0)+1)}for(var p=new Uint8Array(e.length),h=new Map,f=[],m=null,g=0;g<e.length;g++)m||f.push(m={start:g,end:e.length-1,level:"rtl"===t?1:"ltr"===t?0:Qt(g,!1)}),n[g]&_&&(m.end=g,m=null);for(var v=R|M|N|B|i|U|L|_,V=function(e){return e+(1&e?1:2)},G=function(e){return e+(1&e?2:1)},q=0;q<f.length;q++){var H=[{_level:(m=f[q]).level,_override:0,_isolate:0}],W=void 0,Y=0,K=0,J=0;c.clear();for(var X=m.start;X<=m.end;X++){var Z=n[X];if(W=H[H.length-1],c.set(Z,(c.get(Z)||0)+1),Z&a&&c.set(a,(c.get(a)||0)+1),Z&v)if(Z&(R|M)){p[X]=W._level;var $=(Z===R?G:V)(W._level);$<=125&&!Y&&!K?H.push({_level:$,_override:0,_isolate:0}):Y||K++}else if(Z&(N|B)){p[X]=W._level;var ee=(Z===N?G:V)(W._level);ee<=125&&!Y&&!K?H.push({_level:ee,_override:Z&N?x:w,_isolate:0}):Y||K++}else if(Z&i){Z&Q&&(Z=1===Qt(X+1,!0)?z:F),p[X]=W._level,W._override&&d(X,W._override);var te=(Z===z?G:V)(W._level);te<=125&&0===Y&&0===K?(J++,H.push({_level:te,_override:0,_isolate:1,_isolInitIndex:X})):Y++}else if(Z&U){if(Y>0)Y--;else if(J>0){for(K=0;!H[H.length-1]._isolate;)H.pop();var ne=H[H.length-1]._isolInitIndex;null!=ne&&(h.set(ne,X),h.set(X,ne)),H.pop(),J--}W=H[H.length-1],p[X]=W._level,W._override&&d(X,W._override)}else Z&L?(0===Y&&(K>0?K--:!W._isolate&&H.length>1&&(H.pop(),W=H[H.length-1])),p[X]=W._level):Z&_&&(p[X]=m.level);else p[X]=W._level,W._override&&Z!==T&&d(X,W._override)}for(var re=[],ie=null,oe=m.start;oe<=m.end;oe++){var ae=n[oe];if(!(ae&s)){var se=p[oe],le=ae&i,ce=ae===U;ie&&se===ie._level?(ie._end=oe,ie._endsWithIsolInit=le):re.push(ie={_start:oe,_end:oe,_level:se,_startsWithPDI:ce,_endsWithIsolInit:le})}}for(var ue=[],de=0;de<re.length;de++){var pe=re[de];if(!pe._startsWithPDI||pe._startsWithPDI&&!h.has(pe._start)){for(var he=[ie=pe],fe=void 0;ie&&ie._endsWithIsolInit&&null!=(fe=h.get(ie._end));)for(var me=de+1;me<re.length;me++)if(re[me]._start===fe){he.push(ie=re[me]);break}for(var ge=[],ve=0;ve<he.length;ve++)for(var ye=he[ve],Ae=ye._start;Ae<=ye._end;Ae++)ge.push(Ae);for(var be=p[ge[0]],we=m.level,xe=ge[0]-1;xe>=0;xe--)if(!(n[xe]&s)){we=p[xe];break}var Ce=ge[ge.length-1],Se=p[Ce],ke=m.level;if(!(n[Ce]&i))for(var Ee=Ce+1;Ee<=m.end;Ee++)if(!(n[Ee]&s)){ke=p[Ee];break}ue.push({_seqIndices:ge,_sosType:Math.max(we,be)%2?x:w,_eosType:Math.max(ke,Se)%2?x:w})}}for(var Ie=0;Ie<ue.length;Ie++){var _e=ue[Ie],Pe=_e._seqIndices,Oe=_e._sosType,Te=_e._eosType,De=1&p[Pe[0]]?x:w;if(c.get(D))for(var je=0;je<Pe.length;je++){var Be=Pe[je];if(n[Be]&D){for(var Ne=Oe,Me=je-1;Me>=0;Me--)if(!(n[Pe[Me]]&s)){Ne=n[Pe[Me]];break}d(Be,Ne&(i|U)?O:Ne)}}if(c.get(C))for(var Re=0;Re<Pe.length;Re++){var Le=Pe[Re];if(n[Le]&C)for(var Fe=Re-1;Fe>=-1;Fe--){var ze=-1===Fe?Oe:n[Pe[Fe]];if(ze&o){ze===j&&d(Le,E);break}}}if(c.get(j))for(var Qe=0;Qe<Pe.length;Qe++){var Ue=Pe[Qe];n[Ue]&j&&d(Ue,x)}if(c.get(S)||c.get(I))for(var Ve=1;Ve<Pe.length-1;Ve++){var Ge=Pe[Ve];if(n[Ge]&(S|I)){for(var qe=0,He=0,We=Ve-1;We>=0&&(qe=n[Pe[We]])&s;We--);for(var Ye=Ve+1;Ye<Pe.length&&(He=n[Pe[Ye]])&s;Ye++);qe===He&&(n[Ge]===S?qe===C:qe&(C|E))&&d(Ge,qe)}}if(c.get(C))for(var Ke=0;Ke<Pe.length;Ke++){var Je=Pe[Ke];if(n[Je]&C){for(var Xe=Ke-1;Xe>=0&&n[Pe[Xe]]&(k|s);Xe--)d(Pe[Xe],C);for(Ke++;Ke<Pe.length&&n[Pe[Ke]]&(k|s|C);Ke++)n[Pe[Ke]]!==C&&d(Pe[Ke],C)}}if(c.get(k)||c.get(S)||c.get(I))for(var Ze=0;Ze<Pe.length;Ze++){var $e=Pe[Ze];if(n[$e]&(k|S|I)){d($e,O);for(var et=Ze-1;et>=0&&n[Pe[et]]&s;et--)d(Pe[et],O);for(var tt=Ze+1;tt<Pe.length&&n[Pe[tt]]&s;tt++)d(Pe[tt],O)}}if(c.get(C))for(var nt=0,rt=Oe;nt<Pe.length;nt++){var it=Pe[nt],ot=n[it];ot&C?rt===w&&d(it,w):ot&o&&(rt=ot)}if(c.get(a)){for(var at=x|C|E,st=at|w,lt=[],ct=[],ut=0;ut<Pe.length;ut++)if(n[Pe[ut]]&a){var dt=e[Pe[ut]],pt=void 0;if(null!==y(dt)){if(!(ct.length<63))break;ct.push({char:dt,seqIndex:ut})}else if(null!==(pt=A(dt)))for(var ht=ct.length-1;ht>=0;ht--){var ft=ct[ht].char;if(ft===pt||ft===A(b(dt))||y(b(ft))===dt){lt.push([ct[ht].seqIndex,ut]),ct.length=ht;break}}}lt.sort((function(e,t){return e[0]-t[0]}));for(var mt=0;mt<lt.length;mt++){for(var gt=lt[mt],vt=gt[0],yt=gt[1],At=!1,bt=0,wt=vt+1;wt<yt;wt++){var xt=Pe[wt];if(n[xt]&st){At=!0;var Ct=n[xt]&at?x:w;if(Ct===De){bt=Ct;break}}}if(At&&!bt){bt=Oe;for(var St=vt-1;St>=0;St--){var kt=Pe[St];if(n[kt]&st){var Et=n[kt]&at?x:w;bt=Et!==De?Et:De;break}}}if(bt){if(n[Pe[vt]]=n[Pe[yt]]=bt,bt!==De)for(var It=vt+1;It<Pe.length;It++)if(!(n[Pe[It]]&s)){u(e[Pe[It]])&D&&(n[Pe[It]]=bt);break}if(bt!==De)for(var _t=yt+1;_t<Pe.length;_t++)if(!(n[Pe[_t]]&s)){u(e[Pe[_t]])&D&&(n[Pe[_t]]=bt);break}}}for(var Pt=0;Pt<Pe.length;Pt++)if(n[Pe[Pt]]&a){for(var Ot=Pt,Tt=Pt,Dt=Oe,jt=Pt-1;jt>=0;jt--){if(!(n[Pe[jt]]&s)){Dt=n[Pe[jt]]&at?x:w;break}Ot=jt}for(var Bt=Te,Nt=Pt+1;Nt<Pe.length;Nt++){if(!(n[Pe[Nt]]&(a|s))){Bt=n[Pe[Nt]]&at?x:w;break}Tt=Nt}for(var Mt=Ot;Mt<=Tt;Mt++)n[Pe[Mt]]=Dt===Bt?Dt:De;Pt=Tt}}}for(var Rt=m.start;Rt<=m.end;Rt++){var Lt=p[Rt],Ft=n[Rt];if(1&Lt?Ft&(w|C|E)&&p[Rt]++:Ft&x?p[Rt]++:Ft&(E|C)&&(p[Rt]+=2),Ft&s&&(p[Rt]=0===Rt?m.level:p[Rt-1]),Rt===m.end||u(e[Rt])&(P|_))for(var zt=Rt;zt>=0&&u(e[zt])&l;zt--)p[zt]=m.level}}return{levels:p,paragraphs:f};function Qt(t,r){for(var o=t;o<e.length;o++){var a=n[o];if(a&(x|j))return 1;if(a&(_|w)||r&&a===U)return 0;if(a&i){var s=Ut(o);o=-1===s?e.length:s}}return 0}function Ut(t){for(var r=1,o=t+1;o<e.length;o++){var a=n[o];if(a&_)break;if(a&U){if(0===--r)return o}else a&i&&r++}return-1}},e.getMirroredCharacter=G,e.getMirroredCharactersMap=function(e,t,n,r){var i=e.length;n=Math.max(0,null==n?0:+n),r=Math.min(i-1,null==r?i-1:+r);for(var o=new Map,a=n;a<=r;a++)if(1&t[a]){var s=G(e[a]);null!==s&&o.set(a,s)}return o},e.getReorderSegments=q,e.getReorderedIndices=H,e.getReorderedString=function(e,t,n,r){var i=H(e,t,n,r),o=[].concat(e);return i.forEach((function(n,r){o[r]=(1&t.levels[n]?G(e[n]):null)||e[n]})),o.join("")},e.openingToClosingBracket=y,Object.defineProperty(e,"__esModule",{value:!0}),e}({});return e};var SS=n(75683),kS=n(97257);const ES=e=>{let t=0,n="";const r=[];return e.forEach((e=>{n+=e.string,r.push({...e,start:t,end:t+e.string.length,attributes:e.attributes||{}}),t+=e.string.length})),{string:n,runs:r}},IS=e=>[e],_S=(e,t)=>[Object.assign({},e,{height:t}),Object.assign({},e,{y:e.y+t,height:e.height-t})],PS=(e,t)=>{const[,n]=_S(t,e);return n},OS=e=>{var t;return(null===(t=e.attributes)||void 0===t?void 0:t.scale)||(e=>{var t;const n=e.attributes||{},r=n.fontSize||12,i=null===(t=n.font)||void 0===t?void 0:t.unitsPerEm;return i?r/i:0})(e)},TS=(e,t)=>{if(!t)return 0;const n=t.glyphIndices||[],r=n[e];return n.slice(0,e).filter((e=>e===r)).length},DS=e=>{var t;return(null===(t=e.attributes)||void 0===t?void 0:t.font)||null},jS=(e,t,n,r)=>{if(!r)return[];if(e===t)return[];if(0===e&&t===r.codePoints.length)return[r];const i=r.codePoints.slice(e,t),o=String.fromCodePoint(...i);return n?n.layout(o,void 0,void 0,void 0,"ltr").glyphs:[r]},BS=(e,t)=>{var n;const r=null===t||void 0===t||null===(n=t.glyphIndices)||void 0===n?void 0:n[e];return oc(r)?e:r},NS=e=>{const t=e[0];return e.map((e=>e-t))},MS=(e,t,n)=>{var r,i;const o=OS(n),a=DS(n),s=BS(e,n),l=BS(t,n),c=null===(r=n.glyphs)||void 0===r?void 0:r[s],u=null===(i=n.glyphs)||void 0===i?void 0:i[l],d=TS(e,n),p=d>0?jS(d,1/0,a,c):[],h=TS(t,n),f=jS(0,h,a,u),m=s+Math.min(1,d),g=(n.glyphs||[]).slice(m,l),v=e=>({xAdvance:e.advanceWidth*o}),y=p.map(v),A=(n.positions||[]).slice(m,l),b=f.map(v);return Object.assign({},n,{start:n.start+e,end:Math.min(n.end,n.start+t),glyphIndices:NS((n.glyphIndices||[]).slice(e,t)),glyphs:[p,g,f].flat(),positions:[y,A,b].flat()})},RS=(e,t)=>t?t.findIndex((t=>t.start<=e&&e<t.end)):-1,LS=(e,t,n)=>{const r=RS(e,n),i=Math.max(RS(t-1,n),r);return n.slice(r,i+1)},FS=(e,t,n)=>n.map(((r,i)=>{let o=r;const a=0===i,s=!a&&i===n.length-1;return a&&(o=(n=>MS(e-n.start,t-n.start,n))(r)),s&&(o=(e=>MS(0,t-e.start,e))(r)),((e,t)=>{const n=t.start-e,r=t.end-e;return Object.assign({},t,{start:n,end:r})})(e,o)})),zS=(e,t,n)=>{if(0===n.string.length)return n;const r=n.string.slice(e,t),i=LS(e,t,n.runs),o=FS(e,t,i);return Object.assign({},n,{string:r,runs:o})},QS=e=>"number"===typeof e,US=(e,t)=>t&&e?t.glyphForCodePoint(e):null,VS=(e,t)=>{var n;const r=(null===(n=e.codePoints)||void 0===n?void 0:n.length)||0,i=t.end+r,o=t.glyphs.concat(e),a=((e,t)=>{const n=sc(t),r=oc(n)?0:n+1,i=Array(e).fill(r);return t.concat(i)})(r,t.glyphIndices);if(!t.positions)return Object.assign({},t,{end:i,glyphs:o,glyphIndices:a});const s=t.positions.concat({xAdvance:e.advanceWidth*OS(t)});return Object.assign({},t,{end:i,glyphs:o,glyphIndices:a,positions:s})},GS=(e,t)=>{if(!e)return t;const n=DS(t),r=QS(e)?US(e,n):e;return VS(r,t)},qS=e=>String.fromCodePoint(...e||[]),HS=(e,t)=>{const n=(null===e||void 0===e?void 0:e.codePoints)||[],r=qS(n),i=t.string+r,o=t.runs.slice(0,-1),a=sc(t.runs)||{start:0,end:0,glyphIndices:[],glyphs:[],positions:[],attributes:{}},s=o.concat(GS(e,a));return Object.assign({},t,{string:i,runs:s})},WS=String.fromCharCode(8230),YS=e=>{var t,n,r;const i=(null===(t=sc(e))||void 0===t?void 0:t.runs)||[],o=null===(n=sc(i))||void 0===n||null===(r=n.attributes)||void 0===r?void 0:r.font;if(o){const t=e.length-1,n=(e=>{if(!e.encode)return 8230;const[t]=e.encode(WS);return parseInt(t[0],16)})(o),r=o.glyphForCodePoint(n),i=HS(r,(e=>{const t=e.string.search(/\S/g),n=(e=>{const t=e.match(/\S/g);return t?e.lastIndexOf(t[t.length-1]):-1})(e.string);return zS(t,n+1,e)})(e[t]));return Object.assign([],e,{[t]:i})}return e},KS=(e,t)=>{const n=Object.assign({},t.attributes);return delete n[e],Object.assign({},t,{attributes:n})},JS=e=>{var t,n,r,i;const o=(null===(t=e.attributes)||void 0===t||null===(n=t.attachment)||void 0===n?void 0:n.height)||0,a=(null===(r=e.attributes)||void 0===r||null===(i=r.font)||void 0===i?void 0:i.ascent)||0;return Math.max(o,a*OS(e))},XS=e=>{var t,n;const r=(null===(t=e.attributes)||void 0===t||null===(n=t.font)||void 0===n?void 0:n.descent)||0;return OS(e)*r},ZS=e=>{var t;return(null===(t=e.attributes)||void 0===t?void 0:t.lineHeight)||(e=>{var t,n;return((null===(t=e.attributes)||void 0===t||null===(n=t.font)||void 0===n?void 0:n.lineGap)||0)*OS(e)})(e)+JS(e)-XS(e)},$S=e=>e.runs.reduce(((e,t)=>Math.max(e,ZS(t))),0),ek=(e,t)=>{if(!((e,t)=>{const n=Math.max(e.x,t.x),r=Math.min(e.x+e.width,t.x+t.width),i=Math.max(e.y,t.y),o=Math.min(e.y+e.height,t.y+t.height);return r>=n&&o>=i})(t,e))return[e];const n=t.x,r=t.x+t.width,i=e.x,o=e.x+e.width;return[Object.assign({},e,{width:n-i}),Object.assign({},e,{x:r,width:o-r})].filter((e=>e.width>0))},tk=(e,t)=>{let n=[e];for(let r=0;r<t.length;r+=1){const e=t[r];n=n.reduce(((t,n)=>{const r=ek(n,e);return t.concat(r)}),[])}return n},nk=(e,t,n)=>{let r=e.shift(),i=r.y;return t.map(((t,o)=>{var a,s;const l=0===o?n:0,c=(null===(a=t.runs)||void 0===a||null===(s=a[0])||void 0===s?void 0:s.attributes)||{},u=Math.max($S(t),c.lineHeight);i+u>r.y+r.height&&e.length>0&&(r=e.shift(),i=r.y);const d=Object.assign({},t);return delete d.syllables,d.box={x:r.x+l,y:i,width:r.width-l,height:u},i+=u,(e=>{if(e.string.includes("\ufffc"))return e;const t=e.runs.map((e=>KS("attachment",e)));return Object.assign({},e,{runs:t})})(d)}))},rk=(e,t)=>(n,r)=>{var i,o,a;const s=$S(r),l=(null===(i=r.runs)||void 0===i||null===(o=i[0])||void 0===o||null===(a=o.attributes)||void 0===a?void 0:a.indent)||0,c=((e,t)=>{const{excludeRects:n,...r}=e;if(!n)return[r];const i=[],o=Math.max(...n.map((e=>e.y+e.height)));let a=r;for(;a.y<o;){const[e,r]=_S(a,t),o=tk(e,n);a=r,i.push(...o)}return[...i,a]})(n,s),u=c.map((e=>e.width));u[0]-=l;const d=e.linebreaker(t)(r,u);return nk(c,d,l)},ik=(e,t)=>{const n=[];let r=0;for(let i=0;i<t.length;i+=1){const o=t[i];if(r+=o.box.height,!(r<e))break;n.push(o)}return n},ok=(e,t,n)=>r=>{const i=[],o=[...r],a=rk(e,t),s=oc(n.maxLines)?1/0:n.maxLines,l="ellipsis"===n.truncateMode;let c=s,u=(d=n,Object.assign({},d));var d;let p=o.shift();for(;c>0&&p;){const e=a(u,p),t=e.slice(0,c),n=t.reduce(((e,t)=>e+t.box.height),0),r=l&&e.length!==t.length;if(c-=t.length,!(u.height>=n)){i.push(YS(ik(u.height,t)));break}i.push(r?YS(t):t),u=PS(n,u),p=o.shift()}return i},ak=e=>(e=>{const{runs:t}=e;return 0===t.length?0:sc(t).end})(e)-(e=>{const{runs:t}=e;return 0===t.length?0:t[0].start})(e),sk=CS(),lk=(e,t,n)=>{for(let r=0;r<e.length;r+=1){const i=e[r],o=i.glyphIndices[n-i.start];if(n>=i.start&&n<i.end)return i[t][o]}throw new Error(`index ${n} out of range`)},ck=e=>{var t;const n=e.runs.reduce(((e,t)=>{const n=t.end-t.start,r=pc(t.attributes.bidiLevel,n);return e.concat(r)}),[]);const r="rtl"===(null===(t=e.runs[0])||void 0===t?void 0:t.attributes.direction)?1:0,i={paragraphs:[{start:0,end:ak(e)-1,level:r}],levels:n},o=sk.getReorderSegments(e.string,i);if(0===o.length)return e;const a=((e,t)=>{const n=[];for(let r=0;r<e.length;r+=1)n[r]=r;return t.forEach((e=>{let[t,r]=e;const i=n.slice(t,r+1);for(let o=i.length-1;o>=0;o-=1)n[r-o]=i[o]})),n})(e.string,o),s=sk.getReorderedString(e.string,i),l=e.runs.map((t=>{const n=a.slice(t.start,t.end),r=[],i=[],o=new Set;for(let a=0;a<n.length;a+=1){const t=n[a],s=lk(e.runs,"glyphs",t);o.has(s.id)||(r.push(s),i.push(lk(e.runs,"positions",t)),s.isLigature&&o.add(s.id))}return{...t,glyphs:r,positions:i}}));return{...e,runs:l,string:s}},uk=e=>e.map(ck),dk=e=>t=>{const{start:n,end:r,attributes:i={}}=t,{font:o}=i;if(!o)return{...t,glyphs:[],glyphIndices:[],positions:[]};const a=e.slice(n,r),s=o.layout(a,void 0,void 0,void 0,"ltr"),l=((e,t)=>{const n=OS(e),r=(e=>{var t;return(null===(t=e.attributes)||void 0===t?void 0:t.characterSpacing)||0})(e);return t.map(((e,i)=>{const o=i===t.length?0:r;return Object.assign({},e,{xAdvance:e.xAdvance*n+o,yAdvance:e.yAdvance*n,xOffset:e.xOffset*n,yOffset:e.yOffset*n})}))})(t,s.positions),c=(void 0===(u=s.glyphs)&&(u=[]),u.reduce(((e,t)=>{const n=(null===t||void 0===t?void 0:t.codePoints)||[123];if(0===e.length)return n.map((()=>0));const r=e[e.length-1],i=n.map((()=>r+1));return[...e,...i]}),[]));var u;return{...t,positions:l,glyphIndices:c,glyphs:s.glyphs}},pk=e=>{var t,n,r;if(!e.positions)return e;const i=(null===(t=e.attributes)||void 0===t||null===(n=t.font)||void 0===n?void 0:n.unitsPerEm)||0,o=((null===(r=e.attributes)||void 0===r?void 0:r.yOffset)||0)*i,a=e.positions.map((e=>Object.assign({},e,{yOffset:o})));return Object.assign({},e,{positions:a})},hk=e=>e.start===e.end,fk=(e,t)=>e[1]-t[1]||e[3]-t[3],mk=e=>e.reduce(((e,t)=>{const n=Object.assign({},e.attributes,t.attributes);return Object.assign({},t,{attributes:n})}),{}),gk=e=>(e=>{const t=e.reduce(((e,t)=>(e[t.start]||(e[t.start]=[]),e[t.start].push(t),e)),[]);return Object.values(t)})(e).map(mk),vk=e=>{const t=[],n=(e=>e.reduce(((e,t,n)=>e.concat([["start",t.start,t.attributes,n],["end",t.end,t.attributes,n]])),[]).sort(fk))(e);let r=-1,i={};const o=[];for(let a=0;a<n.length;a+=1){const[e,s,l]=n[a];if(-1!==r&&r<s&&t.push({start:r,end:s,attributes:i}),"start"===e)o.push(l),i=Object.assign({},i,l);else{i={};for(let e=0;e<o.length;e+=1)o[e]===l?o.splice(e--,1):i=Object.assign({},i,o[e])}r=s}return t},yk=function(e){void 0===e&&(e=[]);const t=gk(e.filter((e=>hk(e)))),n=vk(e.filter((e=>!hk(e))));return(e=>e.sort(((e,t)=>e.start-t.start||e.end-t.end)))(t.concat(n))},Ak=(e,t)=>n=>{if(oc(n))return{string:"",runs:[]};const{string:r}=n,{fontSubstitution:i,scriptItemizer:o,bidi:a}=e,{runs:s}=(e=>{const t=e.runs.map((e=>KS("font",e)));return Object.assign({},e,{runs:t})})(n),{runs:l}=o(t)(n),{runs:c}=i(t)(n),{runs:u}=a(t)(n),d=u.concat(c).concat(l).concat(s);return{string:r,runs:yk(d)}},bk=e=>e.reduce(((e,t)=>e+(t.xAdvance||0)),0),wk=e=>bk(e.positions||[]),xk=e=>e.runs.reduce(((e,t)=>e+wk(t)),0),Ck=e=>((null===e||void 0===e?void 0:e.codePoints)||[]).includes(32),Sk=e=>{const t=(e=>{const t=e.glyphs||[],n=e.positions||[],r=t.findIndex((e=>!Ck(e)));return n.slice(0,r)})(e);return t.reduce(((e,t)=>e+(t.xAdvance||0)),0)},kk=e=>[...e].reverse(),Ek=e=>{const t=(e=>{const t=kk(e.glyphs||[]),n=kk(e.positions||[]),r=t.findIndex((e=>!Ck(e)));return n.slice(0,r)})(e);return t.reduce(((e,t)=>e+(t.xAdvance||0)),0)},Ik=e=>MS(0,e.end-e.start-1,e),_k=e=>{const t=(n=e.string).slice(0,n.length-1);var n;const r=((e,t,n)=>{if(e>=0&&e>=n.length)return n;if(e<0&&Math.abs(e)>n.length)return n;const r=e<0?n.length+e:e;return Object.assign([],n,{[r]:t(n[r])})})(-1,Ik,e.runs);return Object.assign({},e,{string:t,runs:r})},Pk={center:.5,right:1},Ok=e=>"\n"===sc(e.string)?_k(e):e,Tk=e=>(e=>{const t=e.runs||[];return Sk(t[0])})(e)+(e.overflowLeft||0),Dk=e=>(e=>{const t=e.runs||[];return Ek(sc(t))})(e)+(e.overflowRight||0),jk=e=>{const t=Tk(e),n=Dk(e),r=e.box.x-t,i=e.box.width+t+n,o=Object.assign({},e.box,{x:r,width:i});return Object.assign({},e,{box:o,overflowLeft:t,overflowRight:n})},Bk=e=>{let t=0,n=0,r=0,i=0;const o=e.runs.map((e=>{const o=ZS(e),a=JS(e),s=XS(e),l=wk(e);return r=Math.max(r,o),t=Math.max(t,a),n=Math.max(n,s),i+=l,Object.assign({},e,{height:o,ascent:a,descent:s,xAdvance:l})}));return Object.assign({},e,{runs:o,height:r,ascent:t,descent:n,xAdvance:i})},Nk=function(e,t){return void 0===e&&(e={}),(n,r,i)=>{var o,a;const s=r===i.length-1,l=(null===(o=n.runs)||void 0===o||null===(a=o[0])||void 0===a?void 0:a.attributes)||{},c=s?l.alignLastLine:l.align;return rc(Bk,e.textDecoration(t),((e,t,n)=>r=>{const i=xk(r),o=Pk[n]||0,a=Math.max(0,r.box.width-i),s="justify"===n||i>r.box.width,l=r.box.x+a*o,c=Object.assign({},r.box,{x:l}),u=Object.assign({},r,{box:c});return s?e.justification(t)(u):u})(e,t,c),jk,Ok)(n)}},Mk=e=>{var t;if(!e.positions)return e;const n=e.glyphs||[],r=(null===(t=e.attributes)||void 0===t?void 0:t.attachment)||{},i=e.positions.map(((e,t)=>{const i=n[t];return r&&r.width&&(e=>e.codePoints.includes(65532))(i)?Object.assign({},e,{xAdvance:r.width}):Object.assign({},e)}));return Object.assign({},e,{positions:i})},Rk=e=>{const t=(e=>({align:e.align||("rtl"===e.direction?"right":"left"),alignLastLine:e.alignLastLine||("justify"===e.align?"left":e.align||"left"),attachment:e.attachment||null,backgroundColor:e.backgroundColor||null,bullet:e.bullet||null,characterSpacing:e.characterSpacing||0,color:e.color||"black",direction:e.direction||"ltr",features:e.features||[],fill:!1!==e.fill,font:e.font||null,fontSize:e.fontSize||12,hangingPunctuation:e.hangingPunctuation||!1,hyphenationFactor:e.hyphenationFactor||0,indent:e.indent||0,justificationFactor:e.justificationFactor||1,lineHeight:e.lineHeight||null,lineSpacing:e.lineSpacing||0,link:e.link||null,marginLeft:e.marginLeft||e.margin||0,marginRight:e.marginRight||e.margin||0,opacity:e.opacity,paddingTop:e.paddingTop||e.padding||0,paragraphSpacing:e.paragraphSpacing||0,script:e.script||null,shrinkFactor:e.shrinkFactor||0,strike:e.strike||!1,strikeColor:e.strikeColor||e.color||"black",strikeStyle:e.strikeStyle||"solid",stroke:e.stroke||!1,underline:e.underline||!1,underlineColor:e.underlineColor||e.color||"black",underlineStyle:e.underlineStyle||"solid",verticalAlign:e.verticalAlign||null,wordSpacing:e.wordSpacing||0,yOffset:e.yOffset||0}))(e.attributes);return Object.assign({},e,{attributes:t})},Lk=CS(),Fk=()=>e=>{const t=e.runs.reduce(((e,t)=>{const n=t.end-t.start,r=pc(t.attributes.bidiLevel,n);return e.concat(r)}),[]);let n="";return e.string.split("").forEach(((r,i)=>{const o=t[i]%2===1?Lk.getMirroredCharacter(e.string.charAt(i)):null;n+=o||r})),{...e,string:n,levels:t}},zk=e=>function(t,n,r){void 0===r&&(r={});const i=rc((e=>{const t=e.runs.map(pk);return Object.assign({},e,{runs:t})}),(e=>{const t=e.runs.map(Mk);return Object.assign({},e,{runs:t})}),(e=>(e.runs.forEach((e=>{const{attributes:t}=e,{verticalAlign:n}=t;"sub"===n?t.yOffset=-.2:"super"===n&&(t.yOffset=.4)})),e)),function(e,t){return void 0===e&&(e={}),void 0===t&&(t={}),n=>{var r,i;const o=[],a=[],s=t.hyphenationCallback||(null===(r=(i=e).wordHyphenation)||void 0===r?void 0:r.call(i,t))||IS;for(let e=0;e<n.runs.length;e+=1){let t="";const r=n.runs[e],i=n.string.slice(r.start,r.end).split(/([ ]+)/g).filter(Boolean);for(let e=0;e<i.length;e+=1){const n=s(i[e]);o.push(...n),t+=n.join("")}a.push({...r,string:t})}return{...ES(a),syllables:o}}}(e,r),(e=>{const t=e.runs.map(dk(e.string));return Object.assign({},e,{runs:t})}),Fk(),Ak(e,r));return rc(((e,t)=>n=>{const r=Nk(e,t);return n.map((e=>e.map(r)))})(e,r),(e=>e.map(uk)),ok(e,r,n),(e=>e.map(i)),(e=>{const t=[];let n=0,r=e.string.indexOf("\n")+1;for(;r>0;)t.push(zS(n,r,e)),n=r,r=e.string.indexOf("\n",r)+1;return 0===n?t.push(e):n<e.string.length&&t.push(zS(n,ak(e),e)),t}),(e=>({string:e.string||"",runs:(e.runs||[]).map(Rk)})))(t)},Qk=CS(),Uk=()=>e=>{var t;const{string:n}=e,r=null===(t=e.runs[0])||void 0===t?void 0:t.attributes.direction,{levels:i}=Qk.getEmbeddingLevels(n,r);let o=null,a=0,s=0;const l=[];for(let c=0;c<i.length;c+=1){const e=i[c];e!==o&&(null!==o&&l.push({start:a,end:s,attributes:{bidiLevel:o}}),a=s,o=e),s+=1}return a<n.length&&l.push({start:a,end:n.length,attributes:{bidiLevel:o}}),{string:n,runs:l}},Vk=(e,t,n)=>{let r=null,i=1/0;const o={width:0,stretch:0,shrink:0},a=t[Math.min(n,t.length-1)],s=e=>o.width<a?o.stretch-e.stretch>0?(a-o.width)/o.stretch:1e4:o.width>a?o.shrink-e.shrink>0?(a-o.width)/o.shrink:1e4:0;for(let l=0;l<e.length;l+=1){const t=e[l];if("box"===t.type?o.width+=t.width:"glue"===t.type&&(o.width+=t.width,o.stretch+=t.stretch,o.shrink+=t.shrink),o.width-o.shrink>a){if(null===r){let t=0===l?l+1:l;for(;t<e.length&&("glue"===e[t].type||"penalty"===e[t].type);)t++;r=t-1}break}if("penalty"===t.type||"glue"===t.type){const e=s(t),n="penalty"===t.type?t.penalty:0,o=100*Math.abs(e)**3+n;i>=o&&(r=l,i=o)}}return o.width-o.shrink>a?r:null};class Gk{constructor(){this.head=null,this.tail=null,this.listSize=0,this.listLength=0}isLinked(e){return!(e&&null===e.prev&&null===e.next&&this.tail!==e&&this.head!==e||this.isEmpty())}size(){return this.listSize}isEmpty(){return 0===this.listSize}first(){return this.head}last(){return this.last}toString(){return this.toArray().toString()}toArray(){let e=this.head;const t=[];for(;null!==e;)t.push(e),e=e.next;return t}forEach(e){let t=this.head;for(;null!==t;)e(t),t=t.next}contains(e){let t=this.head;if(!this.isLinked(e))return!1;for(;null!==t;){if(t===e)return!0;t=t.next}return!1}at(e){let t=this.head,n=0;if(e>=this.listLength||e<0)return null;for(;null!==t;){if(e===n)return t;t=t.next,n+=1}return null}insertAfter(e,t){return this.isLinked(e)?(t.prev=e,t.next=e.next,null===e.next?this.tail=t:e.next.prev=t,e.next=t,this.listSize+=1,this):this}insertBefore(e,t){return this.isLinked(e)?(t.prev=e.prev,t.next=e,null===e.prev?this.head=t:e.prev.next=t,e.prev=t,this.listSize+=1,this):this}push(e){return null===this.head?this.unshift(e):this.insertAfter(this.tail,e),this}unshift(e){return null===this.head?(this.head=e,this.tail=e,e.prev=null,e.next=null,this.listSize+=1):this.insertBefore(this.head,e),this}remove(e){return this.isLinked(e)?(null===e.prev?this.head=e.next:e.prev.next=e.next,null===e.next?this.tail=e.prev:e.next.prev=e.prev,this.listSize-=1,this):this}pop(){const e=this.tail;return this.tail.prev.next=null,this.tail=this.tail.prev,this.listSize-=1,e.prev=null,e.next=null,e}shift(){const e=this.head;return this.head.next.prev=null,this.head=this.head.next,this.listSize-=1,e.prev=null,e.next=null,e}}Gk.Node=class{constructor(e){this.prev=null,this.next=null,this.data=e}toString(){return this.data.toString()}};const qk=(e,t,n)=>{const r={line:n&&n.demerits&&n.demerits.line||10,flagged:n&&n.demerits&&n.demerits.flagged||100,fitness:n&&n.demerits&&n.demerits.fitness||3e3},i=n&&n.tolerance||3,o=new Gk,a={width:0,stretch:0,shrink:0},s=t,l=[];let c={data:{demerits:1/0}};function u(e,t,n,r,i,o,a){return{position:e,demerits:t,ratio:n,line:r,fitnessClass:i,totals:o||{width:0,stretch:0,shrink:0},previous:a}}function d(t,n,r,i){let o=a.width-r.totals.width,l=0,c=0;const u=i<s.length?s[i-1]:s[s.length-1];return"penalty"===e[n].type&&(o+=e[n].width),o<u?(l=a.stretch-r.totals.stretch,l>0?(u-o)/l:qk.infinity):o>u?(c=a.shrink-r.totals.shrink,c>0?(u-o)/c:qk.infinity):0}function p(t){const n={width:a.width,stretch:a.stretch,shrink:a.shrink};for(let r=t;r<e.length;r+=1)if("glue"===e[r].type)n.width+=e[r].width,n.stretch+=e[r].stretch,n.shrink+=e[r].shrink;else if("box"===e[r].type||"penalty"===e[r].type&&e[r].penalty===-qk.infinity&&r>t)break;return n}function h(e,t,n){let a,s,l,c,h,f=o.first(),m=null,g=0,v=0,y=[],A=0,b=0;for(;null!==f;){for(y=[{demerits:1/0},{demerits:1/0},{demerits:1/0},{demerits:1/0}];null!==f&&(m=f.next,A=f.data.line+1,g=d(f.data.position,t,f.data,A),(g<-1||"penalty"===e.type&&e.penalty===-qk.infinity)&&o.remove(f),g>=-1&&g<=i&&(a=100*Math.pow(Math.abs(g),3),v="penalty"===e.type&&e.penalty>=0?Math.pow(r.line+a,2)+Math.pow(e.penalty,2):"penalty"===e.type&&e.penalty!==-qk.infinity?Math.pow(r.line+a,2)-Math.pow(e.penalty,2):Math.pow(r.line+a,2),"penalty"===e.type&&"penalty"===n[f.data.position].type&&(v+=r.flagged*e.flagged*n[f.data.position].flagged),b=g<-.5?0:g<=.5?1:g<=1?2:3,Math.abs(b-f.data.fitnessClass)>1&&(v+=r.fitness),v+=f.data.demerits,v<y[b].demerits&&(y[b]={active:f,demerits:v,ratio:g})),f=m,!(null!==f&&f.data.line>=A)););for(s=p(t),l=0;l<y.length;l+=1)c=y[l],c.demerits<1/0&&(h=new Gk.Node(u(t,c.demerits,c.ratio,c.active.data.line+1,l,s,c.active)),null!==f?o.insertBefore(f,h):o.push(h))}}if(o.push(new Gk.Node(u(0,0,0,0,0,void 0,null))),e.forEach(((e,t,n)=>{"box"===e.type?a.width+=e.width:"glue"===e.type?(t>0&&"box"===n[t-1].type&&h(e,t,n),a.width+=e.width,a.stretch+=e.stretch,a.shrink+=e.shrink):"penalty"===e.type&&e.penalty!==qk.infinity&&h(e,t,n)})),0!==o.size()){for(o.forEach((e=>{e.data.demerits<c.data.demerits&&(c=e)}));null!==c;)l.push({position:c.data.position,ratio:c.data.ratio}),c=c.data.previous;return l.reverse()}return[]};qk.infinity=1e4,qk.glue=(e,t,n,r)=>({type:"glue",value:t,width:e,stretch:n,shrink:r}),qk.box=function(e,t,n){return void 0===n&&(n=!1),{type:"box",width:e,value:t,hyphenated:n}},qk.penalty=(e,t,n)=>({type:"penalty",width:e,penalty:t,flagged:n});const Hk=(e,t,n)=>{if(!t)return n;const r=MS(0,e,n),i=MS(e,1/0,n);return((e,t)=>{const n=e.end+((r=t).end-r.start);var r;const i=(e.glyphs||[]).concat(t.glyphs||[]),o=(e.positions||[]).concat(t.positions||[]),a=Object.assign({},e.attributes,t.attributes),s=e.glyphIndices||[],l=sc(s)||0,c=(t.glyphIndices||[]).map((e=>e+l+1)),u=NS(s.concat(c));return Object.assign({},e,{end:n,glyphs:i,positions:o,attributes:a,glyphIndices:u})})(GS(t,r),i)},Wk=(e,t,n)=>{const r=((e,t)=>RS(e,t.runs))(e,n);if(-1===r)return HS(t,n);const i=(null===t||void 0===t?void 0:t.codePoints)||[],o=n.string.slice(0,e)+qS(i)+n.string.slice(e),a=n.runs.map(((n,o)=>o===r?((e,t,n)=>{const r=DS(n),i=QS(t)?US(t,r):t;return Hk(e,i,n)})(e-n.start,t,n):o>r?((e,t)=>{const n=t.start+e,r=t.end+e;return Object.assign({},t,{start:n,end:r})})(i.length,n):n));return Object.assign({},n,{string:o,runs:a})},Yk=(e,t,n)=>LS(e,t,n.runs).reduce(((n,r)=>n+((e,t,n)=>{const r=n.start||0,i=Math.max(0,BS(e-r,n)),o=Math.max(0,BS(t-r,n)),a=(n.positions||[]).slice(i,o);return bk(a)})(e,t,r)),0),Kk=3,Jk=6,Xk=9,Zk=e=>(t,n)=>{let r=e.tolerance||4;const i=(e=>{var t,n;return(null===(t=e.runs)||void 0===t||null===(n=t[0])||void 0===n?void 0:n.attributes)||{}})(t),o=((e,t,n)=>{let{align:r}=t,i=0;const{syllables:o}=e,a=n.hyphenationPenalty||("justify"===r?100:600),s=o.reduce(((t,n,r)=>{const s=Yk(i,i+n.length,e);if(""===n.trim()){const e=s*Kk/Jk,r=s*Kk/Xk,o={start:i,end:i+n.length};t.push(qk.glue(s,o,e,r))}else{const e=" "!==o[r+1],l={start:i,end:i+n.length};t.push(qk.box(s,l,e)),o[r+1]&&e&&t.push(qk.penalty(5,a,1))}return i+=n.length,t}),[]);return s.push(qk.glue(0,null,qk.infinity,0)),s.push(qk.penalty(0,-qk.infinity,1)),s})(t,i,e);let a=qk(o,n,{tolerance:r});for(;0===a.length&&r<50;)r+=5,a=qk(o,n,{tolerance:r});return(0===a.length||1===a.length&&0===a[0].position)&&(a=((e,t)=>{let n=0,r=0,i=e;const o=[{position:0}];for(;i.length>0;){const e=Vk(i,t,r);null!==e?(n+=e,o.push({position:n}),i=i.slice(e+1,i.length),n++,r++):i=[]}return o})(o,n)),((e,t,n)=>{let r=0,i=null;const o=n.reduce(((n,o)=>{const a=t[o.position],s=t[o.position-1];if(o.position===t.length-1)return n;let l;return"penalty"===a.type?(i=s.value.end,l=zS(r,i,e),l=Wk(l.length,45,l)):(i=a.value.end,l=zS(r,i,e)),r=i,[...n,l]}),[]);return o.push(zS(r,e.string.length,e)),o})(t,o,a.slice(1))},$k={before:.5,after:.5,priority:1,unconstrained:!1},eE={before:.14453125,after:.14453125,priority:2,unconstrained:!1},tE={before:-.04296875,after:-.04296875,priority:1,unconstrained:!1},nE={before:-.04296875,after:-.04296875,priority:2,unconstrained:!1},rE=(e,t)=>n=>{const r=((e,t)=>{const n=t.expandCharFactor||{},r=t.shrinkCharFactor||{};return"GROW"===e?Object.assign({},eE,n):Object.assign({},nE,r)})(e,t),i=((e,t)=>{const n=t.expandWhitespaceFactor||{},r=t.shrinkWhitespaceFactor||{};return"GROW"===e?Object.assign({},$k,n):Object.assign({},tE,r)})(e,t),o=[];for(let e=0;e<n.length;e+=1){let t;const a=n[e];Ck(a)?(t=Object.assign({},i),e===n.length-1&&(t.before=0,e>0&&(o[e-1].after=0))):a.isMark&&e>0?(t=Object.assign({},o[e-1]),t.before=0,o[e-1].after=0):t=Object.assign({},r),o.push(t)}return o},iE=e=>t=>{const n=t.box.width-xk(t);if(0===n)return;const r=((e,t,n)=>{const r=rE(e>0?"GROW":"SHRINK",n),i=t.runs.reduce(((e,t)=>e.concat(r(t.glyphs))),[]);return i[0].before=0,i[i.length-1].after=0,i})(n,t,e),i=((e,t)=>{let n=0;const r=[],i=[];for(let u=0;u<=3;u+=1)r[u]=i[u]=0;for(let u=0;u<t.length;u+=1){const e=t[u],o=e.before+e.after;n+=o,r[e.priority]+=o,e.unconstrained&&(i[e.priority]+=o)}let o,a=-1,s=0,l=e;for(o=0;o<=3;o+=1){const e=r[o];if(0!==e){if(-1===a&&(a=o,s=e),Math.abs(l)<=Math.abs(e)){r[o]=l/e,i[o]=0,l=0;break}if(r[o]=1,l-=e,0!==i[o]){i[o]=l/i[o],l=0;break}}}for(let u=o+1;u<=3;u+=1)r[u]=0,i[u]=0;l>0&&a>-1&&(r[a]=(s+(e-n))/s);const c=[];for(let u=0;u<t.length;u+=1){const e=t[u],n=t[u+1];let o=e.after*r[e.priority];n&&(o+=n.before*r[n.priority]),e.unconstrained&&(o+=e.after*i[e.priority],n&&(o+=n.before*i[n.priority])),c.push(o)}return c})(n,r);return((e,t)=>{let n=0;for(const r of t.runs)for(const t of r.positions)t.xAdvance+=e[n++];return t})(i,t)},oE=e=>e.runs.reduce(((e,t)=>Math.max(e,JS(t))),0),aE=()=>e=>{let t=e.overflowLeft||0;const n=e.overflowRight||0,r=xk(e)-n;e.decorationLines=[];for(let i=0;i<e.runs.length;i+=1){const n=e.runs[i],o=Math.min(r-t,wk(n)),a=Math.max(.5,Math.floor(n.attributes.fontSize/12));if(n.attributes.underline){const r={rect:{x:t,y:oE(e)+2*a,width:o,height:a},opacity:n.attributes.opacity,color:n.attributes.underlineColor||"black",style:n.attributes.underlineStyle||"solid"};e.decorationLines.push(r)}if(n.attributes.strike){const r={rect:{x:t,y:oE(e)-JS(n)/3,width:o,height:a},opacity:n.attributes.opacity,color:n.attributes.strikeColor||"black",style:n.attributes.strikeStyle||"solid"};e.decorationLines.push(r)}t+=o}return e},sE=["Common","Inherited","Unknown"],lE=()=>e=>{const{string:t}=e;let n="Unknown",r=0,i=0;const o=[];if(!t)return{string:"",runs:[]};for(let a=0;a<t.length;a+=1){const e=t[a],s=e.codePointAt(),l=Qe.getScript(s);l===n||sE.includes(l)||("Unknown"!==n&&o.push({start:r,end:i,attributes:{script:n}}),r=i,n=l),i+=e.length}return r<t.length&&o.push({start:r,end:t.length,attributes:{script:n}}),{string:t,runs:o}},cE=SS(kS),uE={},dE=()=>e=>{const t=`_${e}`;return oc(e)?[]:(uE[t]||(uE[t]=(e=>(e=>e.split("\xad"))(e.includes("\xad")?e:cE(e)))(e)),uE[t])};var pE=(()=>{var e="file:///D:/a/1/s/NWG.Web.React/ClientApp/node_modules/yoga-layout/dist/binaries/yoga-wasm-base64-esm.js";return function(t){var n,r,i;t=t||{},n||(n="undefined"!==typeof t?t:{}),n.ready=new Promise((function(e,t){r=e,i=t}));var o=Object.assign({},n),a="";"undefined"!=typeof document&&document.currentScript&&(a=document.currentScript.src),e&&(a=e),a=0!==a.indexOf("blob:")?a.substr(0,a.replace(/[?#].*/,"").lastIndexOf("/")+1):"";var s,l=n.print||console.log.bind(console),c=n.printErr||console.warn.bind(console);Object.assign(n,o),o=null,n.wasmBinary&&(s=n.wasmBinary);n.noExitRuntime;"object"!=typeof WebAssembly&&D("no native wasm support detected");var u,d,p,h,f,m,g,v,y,A,b=!1;function w(e,t,n){n=t+n;for(var r="";!(t>=n);){var i=e[t++];if(!i)break;if(128&i){var o=63&e[t++];if(192==(224&i))r+=String.fromCharCode((31&i)<<6|o);else{var a=63&e[t++];65536>(i=224==(240&i)?(15&i)<<12|o<<6|a:(7&i)<<18|o<<12|a<<6|63&e[t++])?r+=String.fromCharCode(i):(i-=65536,r+=String.fromCharCode(55296|i>>10,56320|1023&i))}}else r+=String.fromCharCode(i)}return r}function x(){var e=u.buffer;d=e,n.HEAP8=p=new Int8Array(e),n.HEAP16=f=new Int16Array(e),n.HEAP32=g=new Int32Array(e),n.HEAPU8=h=new Uint8Array(e),n.HEAPU16=m=new Uint16Array(e),n.HEAPU32=v=new Uint32Array(e),n.HEAPF32=y=new Float32Array(e),n.HEAPF64=A=new Float64Array(e)}var C,S=[],k=[],E=[];function I(){var e=n.preRun.shift();S.unshift(e)}var _,P=0,O=null,T=null;function D(e){throw n.onAbort&&n.onAbort(e),c(e="Aborted("+e+")"),b=!0,e=new WebAssembly.RuntimeError(e+". Build with -sASSERTIONS for more info."),i(e),e}function j(e){return e.startsWith("data:application/octet-stream;base64,")}if(!j(_="data:application/octet-stream;base64,AGFzbQEAAAABqwM2YAF/AGABfwF/YAJ/fwBgA39/fwBgAn98AGACf38Bf2ADf39/AX9gBH9/f30BfWADf398AGAAAGAEf39/fwBgAX8BfGACf38BfGAFf39/f38Bf2AAAX9gA39/fwF9YAZ/f31/fX8AYAV/f39/fwBgAn9/AX1gAX8BfWADf35/AX5gB39/f39/f38AYAZ/f39/f38AYAR/f39/AX9gBH9/fX8AYAN/f30BfWAGf3x/f39/AX9gAn99AGAEf3x8fwBgCH9/f39/f39/AGANf39/f39/f39/f39/fwBgCn9/f39/f39/f38AYAV/f39/fwF8YAR/f319AX1gBHx8f38BfWANf319f39/fX1/f39/fwF/YAZ/f319f38AYAJ+fwF/YAN/fX0BfWABfAF8YAN/fHwAYAR/f319AGAFf399fX0BfWANf31/fX99f319fX19fwF/YAt/f39/f39/fX19fQBgCH9/f39/f319AGAEf39+fgBgB39/f39/f38Bf2ACfH8BfGAFf398fH8AYAN/f38BfGAEf39/fABgA39/fQBgBn9/fX99fwF/ArUBHgFhAWEAHQFhAWIAAwFhAWMACQFhAWQAFQFhAWUAEQFhAWYAHgFhAWcAAAFhAWgAHwFhAWkAAwFhAWoAAAFhAWsAFgFhAWwACgFhAW0ABQFhAW4AAwFhAW8AAgFhAXAAFgFhAXEABgFhAXIAAAFhAXMAIAFhAXQACgFhAXUADQFhAXYAFQFhAXcAAQFhAXgAAwFhAXkAFwFhAXoAAQFhAUEAAgFhAUIAEQFhAUMAAgFhAUQAAAOTApECAQMSDw8HBwcHCQADChEGIQoKBgYiBxgPAxMjBSQTBwcDJQIGFwMDCgoYGRMKDwoDAwEJAQAABRkBAQYHAQMCAggMAAAnCQAFAAcFBREAKCkAAAEqBwArASwHBy0DLgkDBQoBLw0wAQkDAQABAgYKAgECBQIAAQkFAgIBDgEBBQICGwMODQ0GFAECGhQGAQkBEAAAAAUxDzIMBQYIMwUBAwUODg40AQMBAQEDBgEBNQECDAwMAgsLCwsLCxwBAAEAAAACABACBQEBAgMBEgMMCwICAgICAgsLAgEBAwEBAQEBAQEDAQgIAggICAQEBAQEBAQEBAAEBAAEBAQEAAQEBAICAggIAgICAgICAggIAgIABAcBcAHRAdEBBQcBAYACgIACBg0CfwFB4MMEC38BQQALByQIAUUCAAFGAGMBRwCtAQFIAKwBAUkAVgFKAQABSwAoAUwAowEJgQMBAEEBC9ABqAGnAaIB4gHfAZQBzQFSzAHLAVFRUpIBkQGQAcoByQHIAccBUo8BxgFRUVKSAZEBkAHFAcQBwwFmjgGhAY0BZqABjAGfAcIBngE2nQE2nAGLAZsBOZoBOcEBYMABYL8BYF9evgG9AbwBZI4BmQG7AZgBjQFkrgKPAa0CNqwCNqsCugGqAqkCqAKnAqYCpAKjAqICoQKgAp8CngKdArkBnAKbApoCmQKYApcClgKVApQCkwKSApECkAKPAo4CjQKMAosCigKJAogChwKGAoQCgwKlAoICOYECuAGAAv8B/gH9AfsB+gH5AfYBtwH1AbYB9AHzAfIB8QHwAe8B7gHtAewBtQH4AfcB6wHqAbQB6AGMAecBNuYBOeUBOeQBiwHOATbpATmFAuMBNuEB4AE23gHdAdwBOdsB2gHZAbMB2AHXAdYB1QHUAdMB0gGyAdEB0AHPAfwBX15fXoUBhwGvAa4BiAF8iQGxAbABiAGrAaoBqQGmAaUBpAF8CreNBJECMwEBfyAAQQEgABshAAJAA0AgABBWIgENAUHYwwAoAgAiAQRAIAERCQAMAQsLEAIACyABC+0BAgJ9A39DAADAfyEEAkACQAJAAkAgAkEHcSIGDgUCAQEBAAELQQMhBQwBCyAGQQFrQQJPDQEgAkHw/wNxQQR2IQcCfSACQQhxBEAgASAHEJUBvgwBC0EAIAdB/w9xIgFrIAEgAsFBAEgbsgshAyAGQQFGBEAgAyADXA0BQwAAwH8gAyADQwAAgH9bIANDAACA/1tyIgEbIQQgAUUhBQwBCyADIANcDQBBAEECIANDAACAf1sgA0MAAID/W3IiARshBUMAAMB/IAMgARshBAsgACAFOgAEIAAgBDgCAA8LQfQNQZkYQTpB6RYQCwALZwIBfQF/QwAAwH8hAgJAAkACQCABQQdxDgQCAAABAAtBxBJBmRhByQBBuhIQCwALIAFB8P8DcUEEdiEDIAFBCHEEQCAAIAMQlQG+DwtBACADQf8PcSIAayAAIAHBQQBIG7IhAgsgAguBAQIBfwF9IwBBEGsiAyQAIANBCGogAEEDIAJBAkdBAXQgAUH+AXFBAkcbIAIQTEMAAMB/IQQCQAJAAkAgAy0ADEEBaw4CAAECCyADKgIIIQQMAQsgAyoCCEMAAAAAlEMK1yM8lCEECyADQRBqJAAgBEMAAAAAl0MAAAAAIAQgBFsbC4EBAgF/AX0jAEEQayIDJAAgA0EIaiAAQQEgAkECRkEBdCABQf4BcUECRxsgAhBMQwAAwH8hBAJAAkACQCADLQAMQQFrDgIAAQILIAMqAgghBAwBCyADKgIIQwAAAACUQwrXIzyUIQQLIANBEGokACAEQwAAAACXQwAAAAAgBCAEWxsLeAIBfwF9IwBBEGsiBCQAIARBCGogAEEDIAJBAkdBAXQgAUH+AXFBAkcbIAIQKkMAAMB/IQUCQAJAAkAgBC0ADEEBaw4CAAECCyAEKgIIIQUMAQsgBCoCCCADlEMK1yM8lCEFCyAEQRBqJAAgBUMAAAAAIAUgBVsbC3gCAX8BfSMAQRBrIgQkACAEQQhqIABBASACQQJGQQF0IAFB/gFxQQJHGyACECpDAADAfyEFAkACQAJAIAQtAAxBAWsOAgABAgsgBCoCCCEFDAELIAQqAgggA5RDCtcjPJQhBQsgBEEQaiQAIAVDAAAAACAFIAVbGwt+AgF/AX0jAEEQayIEJAAgBEEIaiAAQQMgAkECR0EBdCABQf4BcUECRxsgAhBKQwAAwH8hBQJAAkACQCAELQAMQQFrDgIAAQILIAQqAgghBQwBCyAEKgIIIAOUQwrXIzyUIQULIARBEGokACAFQwAAAACXQwAAAAAgBSAFWxsLfgIBfwF9IwBBEGsiBCQAIARBCGogAEEBIAJBAkZBAXQgAUH+AXFBAkcbIAIQSkMAAMB/IQUCQAJAAkAgBC0ADEEBaw4CAAECCyAEKgIIIQUMAQsgBCoCCCADlEMK1yM8lCEFCyAEQRBqJAAgBUMAAAAAl0MAAAAAIAUgBVsbCw4AQagyKAIAEQkAEFAAC8wCAQV/IAAEQCAAQQRrIgEoAgAiBSEDIAEhAiAAQQhrKAIAIgAgAEF+cSIERwRAIAEgBGsiAigCBCIAIAIoAgg2AgggAigCCCAANgIEIAQgBWohAwsgASAFaiIEKAIAIgEgASAEakEEaygCAEcEQCAEKAIEIgAgBCgCCDYCCCAEKAIIIAA2AgQgASADaiEDCyACIAM2AgAgA0F8cSACakEEayADQQFyNgIAIAICfyACKAIAQQhrIgFB/wBNBEAgAUEDdkEBawwBCyABQR0gAWciAGt2QQRzIABBAnRrQe4AaiABQf8fTQ0AGkE/IAFBHiAAa3ZBAnMgAEEBdGtBxwBqIgAgAEE/TxsLIgFBBHQiAEGwMmo2AgQgAiAAQbgyaiIAKAIANgIIIAAgAjYCACACKAIIIAI2AgRBuDpBuDopAwBCASABrYaENwMACwu/AQEDfyAALQAAQSBxRQRAAkAgASEDAkAgAiAAIgEoAhAiAAR/IAAFIAEQkwENASABKAIQCyABKAIUIgVrSwRAIAEgAyACIAEoAiQRBgAaDAILAkAgASgCUEEASA0AIAIhAANAIAAiBEUNASADIARBAWsiAGotAABBCkcNAAsgASADIAQgASgCJBEGACAESQ0BIAMgBGohAyACIARrIQIgASgCFCEFCyAFIAMgAhAsGiABIAEoAhQgAmo2AhQLCwsLUAACQAJAAkACQAJAIAIOBAQAAQIDCyAAIAEgAUEMahBEDwsgACABIAFBDGogAxBFDwsgACABIAFBDGoQQw8LECcACyAAIAEgAUEMaiADEEYLbQEBfyMAQYACayIFJAAgBEGAwARxIAIgA0xyRQRAIAUgAUH/AXEgAiADayIDQYACIANBgAJJIgEbEDAaIAFFBEADQCAAIAVBgAIQKSADQYACayIDQf8BSw0ACwsgACAFIAMQKQsgBUGAAmokAAuABAEDfyACQYAETwRAIAAgASACEBcgAA8LIAAgAmohAwJAIAAgAXNBA3FFBEACQCAAQQNxRQRAIAAhAgwBCyACRQRAIAAhAgwBCyAAIQIDQCACIAEtAAA6AAAgAUEBaiEBIAJBAWoiAkEDcUUNASACIANJDQALCwJAIANBfHEiBEHAAEkNACACIARBQGoiBUsNAANAIAIgASgCADYCACACIAEoAgQ2AgQgAiABKAIINgIIIAIgASgCDDYCDCACIAEoAhA2AhAgAiABKAIUNgIUIAIgASgCGDYCGCACIAEoAhw2AhwgAiABKAIgNgIgIAIgASgCJDYCJCACIAEoAig2AiggAiABKAIsNgIsIAIgASgCMDYCMCACIAEoAjQ2AjQgAiABKAI4NgI4IAIgASgCPDYCPCABQUBrIQEgAkFAayICIAVNDQALCyACIARPDQEDQCACIAEoAgA2AgAgAUEEaiEBIAJBBGoiAiAESQ0ACwwBCyADQQRJBEAgACECDAELIAAgA0EEayIESwRAIAAhAgwBCyAAIQIDQCACIAEtAAA6AAAgAiABLQABOgABIAIgAS0AAjoAAiACIAEtAAM6AAMgAUEEaiEBIAJBBGoiAiAETQ0ACwsgAiADSQRAA0AgAiABLQAAOgAAIAFBAWohASACQQFqIgIgA0cNAAsLIAAL3AICAn8CfSMAQRBrIgQkACAAQfwAaiEFAkACQAJAIAFBAU0EQCAEQQhqIAUgAC8BdBAfQwAAwH8hBkMAAMB/IQcCQAJAAkAgBC0ADEEBaw4CAAECCyAEKgIIIQcMAQsgBCoCCCADlEMK1yM8lCEHCyAEQQhqIAUgAC8BeBAfAkAgBC0ADEEBaw4CAgAECyAEKgIIIAOUQwrXIzyUIQYMAwsgBEEIaiAFIAAvAXIQH0MAAMB/IQZDAADAfyEHAkACQAJAIAQtAAxBAWsOAgABAgsgBCoCCCEHDAELIAQqAgggA5RDCtcjPJQhBwsgBEEIaiAFIAAvAXYQHyAELQAMQQFrDgIAAQILIAQqAgghBgwBCyAEKgIIIAOUQwrXIzyUIQYLAkAgAiAGXiAGQwAAAABgcQ0AIAdDAAAAAGBFBEAgAiEGDAELIAcgAiACIAddGyEGCyAEQRBqJAAgBgtIAQF/IwBBEGsiBCQAIAQgAzYCDAJAIABFBEBBAEEAIAEgAiAEKAIMEGoMAQsgACgC7AMgACABIAIgBCgCDBBqCyAEQRBqJAALUAACQAJAAkACQAJAIAIOBAQAAQIDCyAAIAEgAUEeahBEDwsgACABIAFBHmogAxBFDwsgACABIAFBHmoQQw8LECcACyAAIAEgAUEeaiADEEYL8gICAn8BfgJAIAJFDQAgACABOgAAIAAgAmoiA0EBayABOgAAIAJBA0kNACAAIAE6AAIgACABOgABIANBA2sgAToAACADQQJrIAE6AAAgAkEHSQ0AIAAgAToAAyADQQRrIAE6AAAgAkEJSQ0AIABBACAAa0EDcSIEaiIDIAFB/wFxQYGChAhsIgE2AgAgAyACIARrQXxxIgRqIgJBBGsgATYCACAEQQlJDQAgAyABNgIIIAMgATYCBCACQQhrIAE2AgAgAkEMayABNgIAIARBGUkNACADIAE2AhggAyABNgIUIAMgATYCECADIAE2AgwgAkEQayABNgIAIAJBFGsgATYCACACQRhrIAE2AgAgAkEcayABNgIAIAQgA0EEcUEYciIEayICQSBJDQAgAa1CgYCAgBB+IQUgAyAEaiEBA0AgASAFNwMYIAEgBTcDECABIAU3AwggASAFNwMAIAFBIGohASACQSBrIgJBH0sNAAsLIAAL6AIBAn8CQCAAIAFGDQAgASAAIAJqIgRrQQAgAkEBdGtNBEAgACABIAIQLA8LIAAgAXNBA3EhAwJAAkAgACABSQRAIAMEQCAAIQMMAwsgAEEDcUUEQCAAIQMMAgsgACEDA0AgAkUNBCADIAEtAAA6AAAgAUEBaiEBIAJBAWshAiADQQFqIgNBA3ENAAsMAQsCQCADDQAgBEEDcQRAA0AgAkUNBSAAIAJBAWsiAmoiAyABIAJqLQAAOgAAIANBA3ENAAsLIAJBA00NAANAIAAgAkEEayICaiABIAJqKAIANgIAIAJBA0sNAAsLIAJFDQIDQCAAIAJBAWsiAmogASACai0AADoAACACDQALDAILIAJBA00NAANAIAMgASgCADYCACABQQRqIQEgA0EEaiEDIAJBBGsiAkEDSw0ACwsgAkUNAANAIAMgAS0AADoAACADQQFqIQMgAUEBaiEBIAJBAWsiAg0ACwsgAAuUAgIBfAF/AkAgACABoiIAEGIiBEQAAAAAAADwP6AgBCAERAAAAAAAAAAAYxsiBCAEYiIFIASZRC1DHOviNho/Y0VyRQRAIAAgBKEhAAwBCyAFIAREAAAAAAAA8L+gmUQtQxzr4jYaP2NFckUEQCAAIAShRAAAAAAAAPA/oCEADAELIAAgBKEhACACBEAgAEQAAAAAAADwP6AhAAwBCyADDQAgAAJ8RAAAAAAAAAAAIAUNABpEAAAAAAAA8D8gBEQAAAAAAADgP2QNABpEAAAAAAAA8D9EAAAAAAAAAAAgBEQAAAAAAADgv6CZRC1DHOviNho/YxsLoCEACyAAIABiIAEgAWJyBEBDAADAfw8LIAAgAaO2C3ACAX8BfSMAQRBrIgQkACAEQQhqIAAgAUECdEG0JWooAgAgAhAqQwAAwH8hBQJAAkACQCAELQAMQQFrDgIAAQILIAQqAgghBQwBCyAEKgIIIAOUQwrXIzyUIQULIARBEGokACAFQwAAAAAgBSAFWxsLTwACQAJAAkAgA0H/AXEiAw4EAAICAQILIAEgAS8AAEH4/wNxOwAADwsgASABLwAAQfj/A3FBBHI7AAAPCyAAIAEgAkEBQQIgA0EBRhsQRwt5AgF/AX0jAEEQayIDJAAgA0EIaiAAIAFBAnRBtCVqKAIAIAIQTEMAAMB/IQQCQAJAAkAgAy0ADEEBaw4CAAECCyADKgIIIQQMAQsgAyoCCEMAAAAAlEMK1yM8lCEECyADQRBqJAAgBEMAAAAAl0MAAAAAIAQgBFsbCzcBAX8gASAAKAIEIgNBAXVqIQEgACgCACEAIAEgAiADQQFxBH8gASgCACAAaigCAAUgAAsRAgALYgICfQJ/AkAgACgC3ANFDQAgAEH8AGoiAyAAQRpqIgQvAQAQICICIAJcBEAgAyAAQRhqIgQvAQAQICICIAJcDQEgAyAALwEYECBDAAAAAF5FDQELIAMgBC8BABAgIQELIAELi4ABAxt9LX8BfiMAQeAAayIoJAACfwJAIAAtAABBBHEEQCAAKAKgASAMRw0BC0EAIAAtAKQBIANGDQEaCyAAQoCAgPyLgIDAv383AvwCIABCgYCAgBA3AvQCIABCgICA/IuAgMC/fzcC7AIgAEEANgKoAUEBCyFHAkACQAJAAkACQCAAKAIIBEAgAEEUaiIpQQJBASAGECQhDSApQQJBASAGECMhDiApQQBBASAGECQhESApQQBBASAGECMhDyAEIAEgBSACIAAoAvQCIABB7AJqIikqAgAgACgC+AIgACoC8AIgACoC/AIgACoCgAMgDSAOkiINIBEgD5IiDiAAKALsAyIsEHQNASAAKAKoASIuRQ0CIABBrAFqISsDQCAEIAEgBSACICsgL0EYbGoiKSgCCCApKgIAICkoAgwgKSoCBCApKgIQICkqAhQgDSAOICwQdA0CIC9BAWoiLyAuRw0ACwwCCyAIRQRAIAAoAqgBIitFDQIgAEGsAWohLANAAkACQCAsIC9BGGwiLmoiKSoCACINIA1cIAEgAVxyRQRAIA0gAZOLQxe30ThdDQEMAgsgASABWyANIA1bcg0BCwJAICwgLmoiLioCBCINIA1cIAIgAlxyRQRAIA0gApOLQxe30ThdDQEMAgsgAiACWyANIA1bcg0BCyAuKAIIIARHDQAgLigCDCAFRg0DCyArIC9BAWoiL0cNAAsMAgsCQCAAQewCaiIpKgIAIg0gDVwgASABXHJFBEAgDSABk4tDF7fROF0NAQwDCyABIAFbIA0gDVtyDQILIClBACAAKAL4AiAFRhtBACAAKAL0AiAERhtBAAJ/IAIgAlwiKSAAKgLwAiINIA1cckUEQCANIAKTi0MXt9E4XQwBC0EAIA0gDVsNABogKQsbISkLIClFIEdyBEAgKSFEDAELIAAgKSoCEDgCkAMgACApKgIUOAKUAyAKQQxBECAIG2oiAyADKAIAQQFqNgIAICkhRAwBCyAEQQFGIAEgAVtyRQRAIChBqgs2AiAgAEEFQa4lIChBIGoQLgwDCyAFQQFGIAIgAltyRQRAIChB2Qo2AhAgAEEFQa4lIChBEGoQLgwDCyAKQQBBBCAIG2oiKSApKAIAQQFqNgIAIAAgAC0AhANB/AFxIAAtABRBA3EiKSADQQEgAxsiSSApGyIqQQNxcjoAhAMgAEGoA2oiKyAqQQFHQQN0IixqIABBFGoiLUEDQQIgKkECRhsiKSAqIAYQJCINOAIAICsgKkEBRkEDdCIuaiAtICkgKiAGECMiDjgCACAAIC1BACAqIAYQJCIROAKsAyAAIC1BACAqIAYQIyIPOAK0AyAAQbgDaiIrICxqIC0gKSAqECI4AgAgKyAuaiAtICkgKhAhOAIAIAAgLUEAICoQIjgCvAMgACAtQQAgKhAhOALEAyAsIABByANqIitqIC0gKSAqIAYQJjgCACArIC5qIC0gKSAqIAYQJTgCACAAIC1BACAqIAYQJjgCzAMgACAtQQAgKiAGECUiFTgC1AMgDSAOkiEOIBEgD5IhEwJAIAAoAggiKQRAQwAAwH8hEUMAAMB/IAEgDpMgBEEBRhshDUMAAMB/IAIgE5MgBUEBRhshEyAEIAVyRQRAIChByABqIABB/ABqIgkgAC8BchAfAkACQAJAICgtAExBAWsOAgABAgsgKCoCSCERDAELICgqAkggBpRDCtcjPJQhEQsgKEHIAGogCSAALwF2EB8CQAJAAn0CQAJAICgtAExBAWsOAgABAwsgKCoCSAwBCyAoKgJIIAaUQwrXIzyUCyIPQwAAAABgRQ0AIA0gD14NAQsgEUMAAAAAYEUEQCANIQ8MAQsgESANIA0gEV0bIQ8LIAAgLUECICogBhAmIC1BAiAqECKSIC1BAiAqIAYQJSAtQQIgKhAhkpIiDSAPIA0gD14bIA0gDyAPIA9cGyAPIA9bIA0gDVtxGzgCkAMgKEHIAGogCSAALwF0EB9DAADAfyEPAkACQAJAICgtAExBAWsOAgABAgsgKCoCSCEPDAELICgqAkggB5RDCtcjPJQhDwsgKEHIAGogCSAALwF4EB8CQAJAAn0CQAJAICgtAExBAWsOAgABAwsgKCoCSAwBCyAoKgJIIAeUQwrXIzyUCyIOQwAAAABgRQ0AIA4gE10NAQsgD0MAAAAAYEUEQCATIQ4MAQsgDyATIA8gE14bIQ4LIAAgLUEAICogBhAmIC1BACAqECKSIC1BACAqIAYQJSAtQQAgKhAhkpIiBiAOIAYgDl4bIAYgDiAOIA5cGyAOIA5bIAYgBltxGzgClAMMAgsgBEEDTyAFQQNPcg0EIChByABqIAAgDSANIAAqAsgDIAAqAtADkiAAKgK4A5IgACoCwAOSIg6TIhFDAAAAACARQwAAAABeGyANIA1cG0GBgAggBEEDdEH4//8HcXZB/wFxIBMgEyAAKgLMAyAVkiAAKgK8A5IgACoCxAOSIhWTIhFDAAAAACARQwAAAABeGyATIBNcG0GBgAggBUEDdEH4//8HcXZB/wFxICkREAAgKCoCTCIRQwAAAABgICgqAkgiD0MAAAAAYHFFBEAgKCARuzkDCCAoIA+7OQMAIABBAUGyHSAoEC4gKCoCSCIRQwAAAAAgEUMAAAAAXhshDyAoKgJMIhFDAAAAACARQwAAAABeGyERCyAKIAooAhRBAWo2AhQgCiAJQQJ0aiIJIAkoAhhBAWo2AhggKEHIAGogAEH8AGoiCSAALwFyEB8gDiAPkiEOIARBAWtBAkkhC0MAAMB/IQ8CQAJAAkAgKC0ATEEBaw4CAAECCyAoKgJIIQ8MAQsgKCoCSCAGlEMK1yM8lCEPCyAOIA0gCxshDSAoQcgAaiAJIAAvAXYQHwJAAkACfQJAAkAgKC0ATEEBaw4CAAEDCyAoKgJIDAELICgqAkggBpRDCtcjPJQLIg5DAAAAAGBFDQAgDSAOXg0BCyAPQwAAAABgRQRAIA0hDgwBCyAPIA0gDSAPXRshDgsgACAtQQIgKiAGECYgLUECICoQIpIgLUECICogBhAlIC1BAiAqECGSkiINIA4gDSAOXhsgDSAOIA4gDlwbIA4gDlsgDSANW3EbOAKQAyAoQcgAaiAJIAAvAXQQHyAVIBGSIQ0gBUEBa0ECSSELQwAAwH8hDwJAAkACQCAoLQBMQQFrDgIAAQILICgqAkghDwwBCyAoKgJIIAeUQwrXIzyUIQ8LIA0gEyALGyENIChByABqIAkgAC8BeBAfAkACQAJ9AkACQCAoLQBMQQFrDgIAAQMLICgqAkgMAQsgKCoCSCAHlEMK1yM8lAsiDkMAAAAAYEUNACANIA5eDQELIA9DAAAAAGBFBEAgDSEODAELIA8gDSANIA9dGyEOCyAAIC1BACAqIAYQJiAtQQAgKhAikiAtQQAgKiAGECUgLUEAICoQIZKSIgYgDiAGIA5eGyAGIA4gDiAOXBsgDiAOWyAGIAZbcRs4ApQDDAELIAAoAuQDIj4gACgC4AMiP0YEQCAEQQFrQQFLBH0gASAOkwUgACoCyAMgACoC0AOSIAAqArgDkiAAKgLAA5ILIQ0gKEHIAGogAEH8AGoiCSAALwFyEB9DAADAfyEPAkACQAJAICgtAExBAWsOAgABAgsgKCoCSCEPDAELICgqAkggBpRDCtcjPJQhDwsgKEHIAGogCSAALwF2EB8CQAJAAn0CQAJAICgtAExBAWsOAgABAwsgKCoCSAwBCyAoKgJIIAaUQwrXIzyUCyIOQwAAAABgRQ0AIA0gDl4NAQsgD0MAAAAAYEUEQCANIQ4MAQsgDyANIA0gD10bIQ4LIAAgLUECICogBhAmIC1BAiAqECKSIC1BAiAqIAYQJSAtQQIgKhAhkpIiDSAOIA0gDl4bIA0gDiAOIA5cGyAOIA5bIA0gDVtxGzgCkAMgBUEBa0EBSwR9IAIgE5MFIAAqAswDIAAqAtQDkiAAKgK8A5IgACoCxAOSCyERIChByABqIAkgAC8BdBAfQwAAwH8hDQJAAkACQCAoLQBMQQFrDgIAAQILICgqAkghDQwBCyAoKgJIIAeUQwrXIzyUIQ0LIChByABqIAkgAC8BeBAfAkACQAJ9AkACQCAoLQBMQQFrDgIAAQMLICgqAkgMAQsgKCoCSCAHlEMK1yM8lAsiDkMAAAAAYEUNACAOIBFdDQELIA1DAAAAAGBFBEAgESEODAELIA0gESANIBFeGyEOCyAAIC1BACAqIAYQJiAtQQAgKhAikiAtQQAgKiAGECUgLUEAICoQIZKSIgYgDiAGIA5eGyAGIA4gDiAOXBsgDiAOWyAGIAZbcRs4ApQDDAELAkAgCA0AIAVBAkYgAiATkyIPIA9bcSAPQwAAAABfcSAEIAVyRSAEQQJGIAEgDpMiDUMAAAAAX3FyckUNACAoQcgAaiAAQfwAaiIJIAAvAXIQH0MAAAAAIA0gDUMAAAAAXRsgDSAEQQJGGyEOIA0gDVwhC0MAAMB/IQ0CQAJAAkAgKC0ATEEBaw4CAAECCyAoKgJIIQ0MAQsgKCoCSCAGlEMK1yM8lCENC0MAAAAAIA4gCxshESAoQcgAaiAJIAAvAXYQHwJAAkACfQJAAkAgKC0ATEEBaw4CAAEDCyAoKgJIDAELICgqAkggBpRDCtcjPJQLIg5DAAAAAGBFDQAgDiARXQ0BCyANQwAAAABgRQRAIBEhDgwBCyANIBEgDSARXhshDgsgACAtQQIgKiAGECYgLUECICoQIpIgLUECICogBhAlIC1BAiAqECGSkiINIA4gDSAOXhsgDSAOIA4gDlwbIA4gDlsgDSANW3EbOAKQAyAoQcgAaiAJIAAvAXQQH0MAAAAAIA8gD0MAAAAAXRsgDyAFQQJGGyEOIA8gD1whC0MAAMB/IQ0CQAJAAkAgKC0ATEEBaw4CAAECCyAoKgJIIQ0MAQsgKCoCSCAHlEMK1yM8lCENC0MAAAAAIA4gCxshESAoQcgAaiAJIAAvAXgQHwJAAkACfQJAAkAgKC0ATEEBaw4CAAEDCyAoKgJIDAELICgqAkggB5RDCtcjPJQLIg5DAAAAAGBFDQAgDiARXQ0BCyANQwAAAABgRQRAIBEhDgwBCyANIBEgDSARXhshDgsgACAtQQAgKiAGECYgLUEAICoQIpIgLUEAICogBhAlIC1BACAqECGSkiIGIA4gBiAOXhsgBiAOIA4gDlwbIA4gDlsgBiAGW3EbOAKUAwwBCyAAEHMgACAALQCEA0H7AXE6AIQDQQMhLyAALQAUQQJ2QQNxISkCQAJ/AkAgKkECRgRAQQAhCQJAIClBAmsOAgQAAgtBAiEvDAMLQQIhL0EAIClBAUsNARoLIC8LIQkgKSEvCyAALwAVIUAgLSAvICogBhAmIQ0gLSAvICoQIiERIC0gLyAqIAYQJSEPIC0gLyAqECEhFSAtIAkgKiAGECYhECAtIAkgKhAiIRQgLSAJICogBhAlIRIgLSAJICoQISEYIC0gCSAqIAYQciEZIC0gCSAqEDUhFiAAQQAgASAOkyIjIA0gEZIgDyAVkpIiHSAQIBSSIBIgGJKSIhsgL0EBSyI3GyAGEHEhEiAAQQEgAiATkyIkIBsgHSA3GyAHEHEhGAJAIAQgBSA3GyI5DQACQCAAKALgAyIpIAAoAuQDIi5GDQADQAJAICkoAgAiLBBwRQ0AIDINAiAsEDciDSANWyANi0MXt9E4XXENAiAsEDsiDSANXARAICwhMgwBCyAsITIgDYtDF7fROF0NAgsgKUEEaiIpIC5HDQALDAELQQAhMgsgC0EBaiFBQwAAAAAhDyAAKALgAyIuIAAoAuQDIkJHBEAgGCAYXCI8IAVBAEdyIUUgEiASXCI9IARBAEdyIUYDQCAuKAIAIiwQbwJAICwvABUgLC0AF0EQdHIiKUGAgBBxBEAgLBBuICwgLC0AACIpQQFyIixB+wFxICwgKUEEcRs6AAAMAQsgCAR/ICwgLC0AFEEDcSIpICogKRsgEiAYEG0gLC8AFSAsLQAXQRB0cgUgKQtBgOAAcUGAwABGDQAgLEEUaiExAkAgLCAyRgRAIDJBADYCnAEgMiAMNgKYAUMAAAAAIQ0MAQsgLS0AAEECdkEDcSEpAkACQCAqQQJHDQBBAyErAkAgKUECaw4CAgABC0ECISsMAQsgKSErCyAoQYCAgP4HNgI4IChBgICA/gc2AjQgKEHIAGogLEH8AGoiKSAsLwEeEB8gEiAYICtBAUsiNhshDgJAAkACQAJAICgtAEwiMA4EAAEBAAELAkAgKSAsLwEYECAiDSANXA0AICkgLC8BGBAgQwAAAABeRQ0AICwoAuwDLQAIQQFxDQBDAAAAACENDAILQwAAwH8hEQwCCyAoKgJIIQ1DAADAfyERAkAgMEEBaw4CAQACCyAOIA2UQwrXIzyUIREMAQsgDSERCyAsKgLwAyENQQAhM0EAITACQAJAAkAgLC0A9ANBAWsOAgEAAgsgEiANlEMK1yM8lCENCyANIA1cDQAgDUMAAAAAYCEwCyAsKgL4AyENAkACQAJAICwtAPwDQQFrDgIBAAILIBggDZRDCtcjPJQhDQsgDSANXA0AIA1DAAAAAGAhMwsCQCAsAn0gESARXCAOIA5cckUEQCAsKgKcASINIA1bBEAgLCgC7AMtAAxBAXFFDQMgLCgCmAEgDEYNAwsgMSArICogEhAmIDEgKyAqECKSIDEgKyAqIBIQJSAxICsgKhAhkpIiDSARIA0gEV4bDAELIDAgNnEEQCAxQQIgKiASECYgMUECICoQIpIgMUECICogEhAlIDFBAiAqECGSkiERICwqAvADIQ5DAADAfyENAkACQAJAICwtAPQDQQFrDgIAAQILIA4hDQwBCyASIA6UQwrXIzyUIQ0LIBEgDSANIBFdGyARIA0gDSANXBsgDSANWyARIBFbcRsMAQsgNiAzQQFzckUEQCAxQQAgKiASECYgMUEAICoQIpIgMUEAICogEhAlIDFBACAqECGSkiERICwqAvgDIQ5DAADAfyENAkACQAJAICwtAPwDQQFrDgIAAQILIA4hDQwBCyAYIA6UQwrXIzyUIQ0LIBEgDSANIBFdGyARIA0gDSANXBsgDSANWyARIBFbcRsMAQtBASE1IChBATYCMCAoQQE2AkggMUECQQEgEhAkIDFBAkEBIBIQI5IhEyAxQQBBASASECQhFSAxQQBBASASECMhEEMAAMB/IRFBASE4QwAAwH8hDSAwBEAgLCoC8AMhDgJAAkACQCAsLQD0A0EBaw4CAAECCyAOIQ0MAQsgEiAOlEMK1yM8lCENCyAoQQA2AkggKCATIA2SIg04AjhBACE4CyAVIBCSIRUgMwRAICwqAvgDIQ4CQAJAAkAgLC0A/ANBAWsOAgABAgsgDiERDAELIBggDpRDCtcjPJQhEQsgKEEANgIwICggFSARkiIROAI0QQAhNQsCQAJAAkAgAC0AF0EQdEGAgAxxQYCACEYiNCArQQJJIjtxRQRAIDQgPXINAiANIA1cDQEMAgsgPSANIA1bcg0CC0ECITggKEECNgJIICggEjgCOCASIQ0LAkAgO0EBIDQbBEAgNCA8cg0CIBEgEVwNAQwCCyA8IBEgEVtyDQELQQIhNSAoQQI2AjAgKCAYOAI0IBghEQsCQCApICwvAXoQICIOIA5cDQACfyA2IDhyRQRAICkgLC8BehAgIQ4gKEEANgIwICggFSANIBOTIA6VkjgCNEEADAELIDUgO3INASApICwvAXoQICENIChBADYCSCAoIA0gESAVk5QgE5I4AjhBAAshNUEAITgLICwvABZBD3EiNEUEQCAALQAVQQR2ITQLAkAgOEUgNEEFRiA2ciAwIEZyIDRBBEdycnINACAoQQA2AkggKCASOAI4ICkgLC8BehAgIg0gDVwNAEEAITUgKSAsLwF6ECAhDSAoQQA2AjAgKCASIBOTIA2VOAI0CyAsLwAWQQ9xIjBFBEAgAC0AFUEEdiEwCwJAIDsgRXIgM3IgMEEFRnIgNUUgMEEER3JyDQAgKEEANgIwICggGDgCNCApICwvAXoQICINIA1cDQAgKSAsLwF6ECAhDSAoQQA2AkggKCANIBggFZOUOAI4CyAsQQIgEiASIChByABqIChBOGoQOiAsQQAgGCASIChBMGogKEE0ahA6ICwgKCoCOCAoKgI0ICogKCgCSCAoKAIwIBIgGEEAQQUgCiBBIAwQOBogLCArQQJ0QdQlaigCAEECdGoqApADIQ0gMSArICogEhAmIDEgKyAqECKSIDEgKyAqIBIQJSAxICsgKhAhkpIiDiANIA0gDl0bIA4gDSANIA1cGyANIA1bIA4gDltxGwsiDTgCnAELICwgDDYCmAELIA8gDSAxIC9BASASECQgMSAvQQEgEhAjkpKSIQ8LIC5BBGoiLiBCRw0ACwsgPiA/ayIpQQJ1ITggEiAYIDcbIREgD0MAAAAAkiENIBkgFpIhFSAHIAYgNxshISAGIAcgNxshH0EBQQIgGCASIDcbIhkgGVwiShshS0EAIDkgKUEFTwR9IC0gLyAREEggOEEBa7OUIA2SBSANCyARXiIpGyA5IEBBgIADcSI/GyA5IDlBAkYbITsgKUUgOUEBRnIhTCAvQQJJIUAgAEHyAGohQiAAQfwAaiE1IC9BAnQiKUHEJWohTSAJQQJ0IixBxCVqIT4gLEG0JWohOSApQbQlaiFFIClB1CVqIUYgLEHUJWohPCAFIAQgNxsiPUEARyJOIAhyIU8gPUUiUCAIQQFzcSFRID0gP3JFIVIgKEFAayFIIC0gCSAZEEghJiA9QQFrQQJJIVNBACEsQQAhKQNAICkhNyAoQQA2AkAgKEIANwM4AkAgACgC5AMiKSAAKALgAyIuRg0AICkgLmsiKUEASA0EIChByABqIClBAnVBACBIEEIhKyAoKAJMICgoAjwgKCgCOCIpayIuayApIC4QMSEuICggKCgCOCIpNgJMICggLjYCOCAoKQNQIVUgKCAoKAI8Ii42AlAgKCgCQCEyICggVTcCPCAoIDI2AlQgKyApNgIAICkgLkcEQCAoIC4gKSAua0EDakF8cWo2AlALIClFDQAgKRAoCyAtLQAAIilBAnZBA3EhLgJAAkAgKUEDcSIpIEkgKRtBAkcNAEEDISkCQCAuQQJrDgICAAELQQIhKQwBCyAuISkLIAAvABUhLiAtICkgERBIIQ4CQCAsIAAoAuQDIjAgACgC4AMiK2tBAnVPBEBBACEzQwAAAAAhFiAsIS5DAAAAACEUQwAAAAAhEwwBCyAuQYCAA3EhNiApQQJ0Ii5BxCVqITQgLkG0JWohQ0EAITNDAAAAACETQwAAAAAhFEMAAAAAIRYgLCIuITJDAAAAACENA0AgMCAra0ECdSAuTQ0FAkAgKyAuQQJ0aigCACIxLwAVIDEtABdBEHRyIjpBgIAQcUUgOkGA4ABxQYDAAEdxRQRAIDIgLiAyRmohMgwBCyAoQcgAaiIwIDFBFGoiKyBDKAIAIAMQKiAoLQBMITogMCArIDQoAgAgAxAqICgtAEwhMCAxIDc2AtgDIDMgOkEDRmogMEEDRmohMyA2RUMAAAAAIA4gLiAyRhsiDyArIClBASASECQgKyApQQEgEhAjkiIQIA0gMSApIDEqApwBIB8QLSIXkpKSIBFeRXJFBEAgKCgCOCAoKAI8Rw0DCyAxEHAEQCAUIDEQN5IhFCAWIDEQOyAxKgKcAZSTIRYLAkAgKCgCPCIrICgoAkBHBEAgKyAxNgIAICggK0EEajYCPAwBCyArICgoAjhrIitBAnUiOkEBaiIwQYCAgIAETw0HIChByABqQf////8DICtBAXUiVCAwIDAgVEkbICtB/P///wdPGyA6IEgQQiEwICgoAlAgMTYCACAoICgoAlBBBGo2AlAgKCgCTCAoKAI8ICgoAjgiK2siMWsgKyAxEDEhMSAoICgoAjgiKzYCTCAoIDE2AjggKCkDUCFVICggKCgCPCIxNgJQICgoAkAhOiAoIFU3AjwgKCA6NgJUIDAgKzYCACArIDFHBEAgKCAxICsgMWtBA2pBfHFqNgJQCyArRQ0AICsQKAsgEyAPIBAgF5KSIg+SIRMgDSAPkiENIAAoAuQDITAgACgC4AMhKwsgLkEBaiIuIDAgK2tBAnVJDQALC0MAAIA/IBQgFEMAAIA/XRsgFCAUQwAAAABeGyEUICgoAjwhNiAoKAI4ITECfQJAAn0CQAJAAkAgO0UNACAoQcgAaiA1IEIvAQAQH0MAAMB/IQ5DAADAfyENAkACQAJAICgtAExBAWsOAgABAgsgKCoCSCENDAELICgqAkggBpRDCtcjPJQhDQsgKEHIAGogNSAALwF2EB8CQAJAAkAgKC0ATEEBaw4CAAECCyAoKgJIIQ4MAQsgKCoCSCAGlEMK1yM8lCEOCyAoQcgAaiA1IAAvAXQQH0MAAMB/IRBDAADAfyEPAkACQAJAICgtAExBAWsOAgABAgsgKCoCSCEPDAELICgqAkggB5RDCtcjPJQhDwsgKEHIAGogNSAALwF4EB8CQAJAAkAgKC0ATEEBaw4CAAECCyAoKgJIIRAMAQsgKCoCSCAHlEMK1yM8lCEQCyANIA8gL0EBSyIpGyAdkyINIA1bIA0gE15xDQEgDiAQICkbIB2TIg0gDVsgDSATXXENASAAKALsAy0AEEEBcQ0AIBMgFEMAAAAAWw0DGiAAEDciDSANXA0CIBMgABA3QwAAAABbDQMaDAILIBEhDQsgDSANWw0CIA0hEQsgEQshDSATjEMAAAAAIBNDAAAAAF0bIQ4gDQwBCyANIBOTIQ4gDQshESBRRQRAAkAgMSA2RgRAQwAAAAAhEwwBC0MAAIA/IBYgFkMAAIA/XRsgFiAWQwAAAABeGyEWQwAAAAAhDyAxISsDQCArKAIAIikgLyApKgKcASAfEC0hEwJAIA5DAAAAAF0EQCATICkQO4yUIg1DAAAAAF4gDUMAAAAAXXJFDQEgKSAvIA4gFpUgDZQgE5IiFyAREC0hDSApQRRqIjIgLyAqIBIQJiEQIDIgLyAqECIhGiAyIC8gKiASECUhHiAyIC8gKhAhISAgFyAXXA0BIBAgGpIgHiAgkpIiECANIA0gEF0bIBAgDSANIA1cGyANIA1bIBAgEFtxGyINIA1cIA0gF1tyDQEgDyANIBOTkiEPICkQOyApKgKcAZQgFpIhFgwBCyAOQwAAAABeRQ0AICkQNyIXQwAAAABeIBdDAAAAAF1yRQ0AICkgLyAOIBSVIBeUIBOSIhogERAtIQ0gKUEUaiIpIC8gKiASECYhECApIC8gKhAiIR4gKSAvICogEhAlISAgKSAvICoQISElIBogGlwNACAQIB6SICAgJZKSIhAgDSANIBBdGyAQIA0gDSANXBsgDSANWyAQIBBbcRsiDSANXCANIBpbcg0AIBQgF5MhFCAPIA0gE5OSIQ8LICtBBGoiKyA2Rw0ACyAOIA+TIhcgFpUhHiAXIBSVISAgAC8AFUGAgANxRSBMciFDQwAAAAAhEyAxITADQCAwKAIAIisgLyArKgKcASAfEC0hDQJAIBdDAAAAAF0EQCANIg8gKxA7jJQiEEMAAAAAWw0BICsgLyANIBCSIB4gEJQgDZIgFkMAAAAAWxsgERAtIQ8gK0EUaiIpIC8gKiASECYgKSAvICoQIpIgKSAvICogEhAlICkgLyAqECGSkiIQIA8gDyAQXRsgECAPIA8gD1wbIA8gD1sgECAQW3EbIQ8MAQsgDSEPIBdDAAAAAF5FDQAgKxA3IhBDAAAAAF4gEEMAAAAAXXJFDQAgKyAvICAgEJQgDZIgERAtIQ8gK0EUaiIpIC8gKiASECYgKSAvICoQIpIgKSAvICogEhAlICkgLyAqECGSkiIQIA8gDyAQXRsgECAPIA8gD1wbIA8gD1sgECAQW3EbIQ8LICtBFGoiNCAvQQEgEhAkIRAgNCAvQQEgEhAjIRQgNCAJQQEgEhAkIRogNCAJQQEgEhAjISUgKCAPIBAgFJIiFJIiJzgCNCAoQQA2AiwgGiAlkiEaAkAgK0H8AGoiKSArLwF6ECAiECAQWwRAICkgKy8BehAgIRAgKEEANgIwICggGiAnIBSTIhQgEJQgFCAQlSBAG5I4AjgMAQsgPCgCACEyAkAgSg0AICsgMkEDdGoiOioC8AMhEEEAISkCQAJAAkAgOi0A9ANBAWsOAgEAAgsgGSAQlEMK1yM8lCEQCyAQIBBcDQAgEEMAAAAAYCEpCyBDIFAgKUEBc3FxRQ0AICsvABZBD3EiKQR/ICkFIAAtABVBBHYLQQRHDQAgKEHIAGogNCA5KAIAICoQKiAoLQBMQQNGDQAgKEHIAGogNCA+KAIAICoQKiAoLQBMQQNGDQAgKEEANgIwICggGTgCOAwBCyArIDJBA3RqIikqAvADIhQhEAJAAkACQAJAICktAPQDQQFrIjIOAgEAAgsgGSAUlEMK1yM8lCEQCyAQQwAAAABgDQELICggSzYCMCAoIBk4AjgMAQtDAADAfyEQAkACQAJAIDIOAgABAgsgFCEQDAELIBkgFJRDCtcjPJQhEAsgKCAaIBCSIhA4AjggKCBOICkxAPQDQiCGQoCAgIAgUXEgECAQXHI2AjALICsgLyARIBIgKEEsaiAoQTRqEDogKyAJIBkgEiAoQTBqIChBOGoQOiArIDwoAgBBA3RqIikqAvADIRACQAJAAkACQCApLQD0A0EBaw4CAQACCyAZIBCUQwrXIzyUIRALQQEhMiAQQwAAAABgDQELQQEhMiArLwAWQQ9xIikEfyApBSAALQAVQQR2C0EERw0AIChByABqIDQgOSgCACAqECogKC0ATEEDRg0AIChByABqIDQgPigCACAqECogKC0ATEEDRiEyCyArICgqAjQiECAoKgI4IhQgL0EBSyIpGyAUIBAgKRsgAC0AhANBA3EgKCgCLCI0ICgoAjAiOiApGyA6IDQgKRsgEiAYIAggMnEiKUEEQQcgKRsgCiBBIAwQOBogEyAPIA2TkiETIAACfyAALQCEAyIpQQRxRQRAQQAgKy0AhANBBHFFDQEaC0EECyApQfsBcXI6AIQDIDBBBGoiMCA2Rw0ACwsgDiATkyEOCyAAIAAtAIQDIilB+wFxQQQgDkMAAAAAXUECdCApQQRxQQJ2G3I6AIQDIC0gLyAqIAYQciEPIC0gLyAqEDUhEyAoQcgAaiAtIE0oAgAiQyAqEEpDAADAfyENAkACQAJAICgtAExBAWsOAgABAgsgKCoCSCENDAELICgqAkggBpRDCtcjPJQhDQsgDyATkiEPIA1DAAAAAJdDAAAAACANIA1bGyAtIC8gKhBLkiEeIC0gLyAREEghFgJ/An0CQCAOQwAAAABeRSA7QQJHckUEQCAoQcgAaiA1IEIgRigCAEEBdGoiKS8BABAfICgtAExFDQEgKEE4aiA1ICkvAQAQHwJ9AkACQCAoLQA8QQFrDgIAAQQLICgqAjgMAQsgHyAoKgI4lEMK1yM8lAsiDSANXA0BIChByABqIDUgKS8BABAfQwAAwH8hDQJAAkACQCAoLQBMQQFrDgIAAQILICgqAkghDQwBCyAfICgqAkiUQwrXIzyUIQ0LQwAAAAAgDSAPkyAekyARIA6TkyIOQwAAAABeRQ0CGgsgDiAOQwAAAABgDQEaIA4hFCAtLQAAQQR2QQdxIilBACApQQNrQQNPGwwCC0MAAAAACyEUIC0tAABBBHZBB3ELISlDAAAAACENAkACQCAzDQBDAAAAACETAkACQAJAAkACQCApQQFrDgUAAQIEAwYLIBRDAAAAP5QhEwwFCyAUIRMMBAsgNiAxayIpQQVJDQIgFiAUIClBAnVBAWuzlZIhFgwCCyAWIBQgNiAxa0ECdUEBarOVIhOSIRYMAgsgFEMAAAA/lCA2IDFrQQJ1s5UiEyATkiAWkiEWDAELQwAAAAAhEwsgDyATkiEQIAAQdSE0AkAgLCAuTyI6BEBDAAAAACEPQwAAAAAhDgwBCyA2QQRrITYgFCAzs5UhIEMAAAAAIQ5DAAAAACEPICwhKQNAIAAoAuQDIAAoAuADIitrQQJ1IClNDQUCQCArIClBAnRqKAIAIisvABUgKy0AF0EQdHIiMEGAgBBxDQAgK0EUaiEyAkACQAJ/AkACQAJAAkACQCAwQYDgAHFBgMAARgR/IChByABqIDIgRSgCACIwICoQLyAoLQBMDQEgKy8AFSArLQAXQRB0cgUgMAtBgOAAcUGAwABGDQcgKEHIAGogMiBFKAIAICoQKiAQQwAAAIAgIEMAAACAIBRDAAAAAF4bIhcgKC0ATEEDRxuSIRAgCEUNBiAvQQFrDgMCAwQBCyAIRQ0HICsgMEECdGogMiAvICogERA9IC0gLyAqEDWSIDIgLyAqIBIQM5I4ApgDDAcLQQEhMCArQZwDagwDC0EDITAgK0GkA2oMAgtBACEwICtBmANqDAELQQIhMCArQaADagshMyArIDBBAnRqIDMqAgAgEJI4ApgDCyA2KAIAITAgKEHIAGogMiBDICoQKiAQQwAAAIAgFiArIDBGG5JDAAAAgCAXICgtAExBA0cbkiEQIE9FBEAgECAyIC9BASASECQgMiAvQQEgEhAjkiArKgKcAZKSIRAgGSENDAILICsgLyASEFUgEJIhECA0BEAgKxBJIRcgMkEAICogEhAzIRogKyoClAMgMkEAQQEgEhAkIDJBAEEBIBIQI5KSIBcgGpIiF5MiGiAPIA8gGl0bIBogDyAPIA9cGyAPIA9bIBogGltxGyEPIBcgDiAOIBddGyAXIA4gDiAOXBsgDiAOWyAXIBdbcRshDgwCCyArIAkgEhBVIhcgDSANIBddGyAXIA0gDSANXBsgDSANWyAXIBdbcRshDQwBCyAIRQ0AICsCfwJAAkACQAJAIC9BAWsOAwECAwALICtBnANqITBBAQwDCyArQaQDaiEwQQMMAgsgK0GYA2ohMEEADAELICtBoANqITBBAgtBAnRqIBMgMCoCACAtIC8gKhA1kpI4ApgDCyApQQFqIikgLkcNAAsLIA8gDpIgDSA0GyETAn0gUwRAIAAgCSAbIBOSICEQLSENIC0gCSAqIAYQJiAtIAkgKhAikiAtIAkgKiAGECUgLSAJICoQIZKSIg4gDSANIA5dGyAOIA0gDSANXBsgDSANWyAOIA5bcRsgG5MMAQsgGSATIFIbIRMgGQshFCA/RQRAIAAgCSAbIBOSICEQLSENIC0gCSAqIAYQJiAtIAkgKhAikiAtIAkgKiAGECUgLSAJICoQIZKSIg4gDSANIA5dGyAOIA0gDSANXBsgDSANWyAOIA5bcRsgG5MhEwsgCEUgOnJFBEADQCAAKALkAyAAKALgAyIpa0ECdSAsTQ0FAkAgKSAsQQJ0aigCACIpLwAVICktABdBEHRyIjJBgIAQcQ0AIClBFGohKwJ9IDJBgOAAcUGAwABGBEAgKEHIAGogKyA5KAIAIjAgKhAvICgtAEwEQCApIDBBAnRqICsgCSAqIBkQPSAtIAkgKhA1kiArIAkgKiASEDOSIg04ApgDIA0gDVsNAwsgLSAJICoQNSArIAkgKiASEDOSDAELIDJBCHZBD3EiMEUEQCAALQAVQQR2ITALAkACQAJAAkAgMEEEaw4CAAECCyAoQcgAaiArIDkoAgAgKhAqQQQhMCAoLQBMQQNGDQEgKEHIAGogKyA+KAIAICoQKiAoLQBMQQNGDQEgKSA8KAIAQQN0aiIyKgLwAyEPAkACQAJAIDItAPQDQQFrDgIBAAILIBkgD5RDCtcjPJQhDwsgFSENIA9DAAAAAGANAwsgKSBGKAIAQQJ0aioCkAMhDSAoIClB/ABqIjIgKS8BehAgIg4gDlsEfSArIAlBASASECQgKyAJQQEgEhAjkiANIDIgKS8BehAgIg6UIA0gDpUgQBuSBSATCzgCOCAoIA0gKyAvQQEgEhAkICsgL0EBIBIQI5KSOAJIIChBADYCNCAoQQA2AjAgKSAvIBEgEiAoQTRqIChByABqEDogKSAJIBkgEiAoQTBqIChBOGoQOiAoKgI4Ig4gKCoCSCIPIC9BAUsiMCIrGyENID9BAEcgAC8AFUEPcUEER3EiMiBAcSAPIA4gKxsiDiAOXHIhKyApIA4gDSAqICsgMCAycSANIA1cciASIBhBAUECIAogQSAMEDgaIBUhDQwCC0EFQQEgLS0AAEEIcRshMAsgKSAJIBIQVSENIChByABqICsgOSgCACIzICoQKiAUIA2TIQ4CQCAoLQBMQQNHBEAgPigCACEyDAELIChByABqICsgPigCACIyICoQKiAoLQBMQQNHDQAgFSAOQwAAAD+UIg1DAAAAACANQwAAAABeG5IhDQwBCyAoQcgAaiArIDIgKhAqIBUhDSAoLQBMQQNGDQAgKEHIAGogKyAzICoQKiAoLQBMQQNGBEAgFSAOQwAAAAAgDkMAAAAAXhuSIQ0MAQsCQAJAIDBBAWsOAgIAAQsgFSAOQwAAAD+UkiENDAELIBUgDpIhDQsgDSAiAn8CQAJAAkACQCAJDgQAAQIDDQtBASEwIClBnANqDAMLQQMhMCApQaQDagwCC0EAITAgKUGYA2oMAQtBAiEwIClBoANqCyoCAJKSCyENICkgMEECdGogDTgCmAMLICxBAWoiLCAuRw0ACwsgHiAQkiINIBwgHCAcXBshDiAxBEAgMRAoCyANIBwgDSAcXhsgDiAcIBxbIA0gDVtxGyEcICIgJkMAAAAAIDcbIBOSkiEiIDdBAWohKSA4IC4iLEsNAAsCQCAIRQ0AID9FBEAgABB1RQ0BCwJAID1FBEAgGyAZkiENDAELIABB8ANqIiwgPCgCAEEDdGoiLioCACENAkACQAJAIC4tAARBAWsOAgEAAgsgISANlEMK1yM8lCENCyANQwAAAABgRQ0AICxBgQIgCUEDdHZBAXFBA3RqIiwqAgAhDkMAAMB/IQ0CQAJAICwtAARBAWsOAgABAwsgDiENDAILICEgDpRDCtcjPJQhDQwBCyAbICKSIQ0LIAAgCSANIAcQLSENIC0gCSAqIAYQJiEOIC0gCSAqECIhDyAtIAkgKiAGECUhEyAtIAkgKhAhIRBDAAAAACEWIAAvABVBD3EhLAJAAkACQAJAAkACQAJAAkAgDiAPkiATIBCSkiIOIA0gDSAOXRsgDiANIA0gDVwbIA0gDVsgDiAOW3EbIBuTICKTIg1DAAAAAGBFBEAgLEECaw4CAQYHCyAsQQJrDgcABQEGBAIDBgsgFSANQwAAAD+UkiEVDAULIA0gKbOVIRYMBAsgDSApsyIOlSEWIBUgDSAOIA6SlZIhFQwDCyAVIA0gN0ECarOVIhaSIRUMAgsgKUECSQ0BIA0gN7OVIRYMAgsgFSANkiEVCyApRQ0BC0EAITJBACEpQQAhKwNAQwAAAAAhEEMAAAAAIQ5DAAAAACENICkhLkMAAAAAIQ9DAAAAACETICkgOEkEQAJ/A0AgACgC5AMgACgC4AMiLGtBAnUgLk0NBwJAICwgLkECdGooAgAiLC8AFSAsLQAXQRB0ciIxQYCAEHEgMUGA4ABxQYDAAEZyDQAgLiAyICwoAtgDRw0CGiAsQRRqISsgLCA8KAIAQQJ0aioCkAMiD0MAAAAAYAR/IA8gKyAJQQEgEhAkICsgCUEBIBIQI5KSIg8gDSANIA9dGyAPIA0gDSANXBsgDSANWyAPIA9bcRshDSAsLQAWBSAxQQh2C0EPcSIxBH8gMQUgAC0AFUEEdgtBBUcNACAtLQAAQQhxRQ0AICwQSSArQQAgKiASEDOSIg8gDiAOIA9dGyAPIA4gDiAOXBsgDiAOWyAPIA9bcRsiDiAsKgKUAyArQQBBASASECQgK0EAQQEgEhAjkpIgD5MiDyAQIA8gEF4bIA8gECAQIBBcGyAQIBBbIA8gD1txGyIQkiIPIA0gDSAPXRsgDyANIA0gDVwbIA0gDVsgDyAPW3EbIQ0LIC5BAWoiLiA4Rw0ACyA4CyErIA4hEyANIQ8LIBUgJkMAAAAAIDIbkiEVICkgK0kEQCAVIBOSIRQgFSAPkiEXIBYgD5IhDQNAIAAoAuQDIAAoAuADIixrQQJ1IClNDQYCQCAsIClBAnRqKAIAIi4vABUgLi0AF0EQdHIiMUGAgBBxIDFBgOAAcUGAwABGcg0AIC5BFGohLAJAAkACQAJAAkACQCAxQQh2QQ9xIjEEfyAxBSAALQAVQQR2C0EBaw4FAQMCBAAGCyAtLQAAQQhxDQQLICwgCSAqIBIQPSEOIC4gOSgCAEECdGogFSAOkjgCmAMMBAsgLCAJICogEhA8IQ4CQAJAAkACQCAJDgQBAQIADwsgLioCkAMhEEECISwMAgtBASEsIC4qApQDIRACQCAJDgICAA4LQQMhLAwBCyAuKgKQAyEQQQAhLAsgLiAsQQJ0aiAXIA6TIBCTOAKYAwwDCwJAAkACQAJAIAkOBAEBAgAOCyAuKgKQAyEOQQIhLAwCC0EBISwgLioClAMhDgJAIAkOAgIADQtBAyEsDAELIC4qApADIQ5BACEsCyAuICxBAnRqIBUgDyAOk0MAAAA/lJI4ApgDDAILICwgCSAqIBIQMyEOIC4gOSgCAEECdGogFSAOkjgCmAMgLiA8KAIAQQN0aiIxKgLwAyEOAkACQAJAIDEtAPQDQQFrDgIBAAILIBkgDpRDCtcjPJQhDgsgDkMAAAAAYA0CCwJAAkACfSAvQQFNBEAgLioClAMgLCAJQQEgEhAkICwgCUEBIBIQI5KSIRAgDQwBCyANIRAgLioCkAMgLCAvQQEgEhAkICwgL0EBIBIQI5KSCyIOIA5cIC4qApADIhMgE1xyRQRAIA4gE5OLQxe30ThdDQEMAgsgDiAOWyATIBNbcg0BCyAuKgKUAyITIBNcIiwgECAQXHJFBEAgECATk4tDF7fROF1FDQEMAwsgECAQWw0AICwNAgsgLiAOIBAgKkEAQQAgEiAYQQFBAyAKIEEgDBA4GgwBCyAuIBQgLhBJkyAsQQAgKiAZED2SOAKcAwsgKUEBaiIpICtHDQALCyAWIBWSIA+SIRUgMiA3RyEsIDJBAWohMiArISkgLA0ACwsgKEHIAGogNSBCLwEAEB9DAADAfyEPAkACQAJAICgtAExBAWsOAgABAgsgKCoCSCEPDAELICgqAkggBpRDCtcjPJQhDwsgKEHIAGogNSAALwF2EB8CQAJAAn0CQAJAICgtAExBAWsOAgABAwsgKCoCSAwBCyAoKgJIIAaUQwrXIzyUCyINQwAAAABgRQ0AIA0gI10NAQsgD0MAAAAAYEUEQCAjIQ0MAQsgDyAjIA8gI14bIQ0LIABBkANqIisgLUECICogBhAmIC1BAiAqECKSIC1BAiAqIAYQJSAtQQIgKhAhkpIiDiANIA0gDl0bIA4gDSANIA1cGyANIA1bIA4gDltxGzgCACAoQcgAaiA1IAAvAXQQH0MAAMB/IQ8CQAJAAkAgKC0ATEEBaw4CAAECCyAoKgJIIQ8MAQsgKCoCSCAHlEMK1yM8lCEPCyAoQcgAaiA1IAAvAXgQHwJAAkACfQJAAkAgKC0ATEEBaw4CAAEDCyAoKgJIDAELICgqAkggB5RDCtcjPJQLIg1DAAAAAGBFDQAgDSAkXQ0BCyAPQwAAAABgRQRAICQhDQwBCyAPICQgDyAkXhshDQsgAEGUA2oiMSAtQQAgKiAGECYgLUEAICoQIpIgLUEAICogBhAlIC1BACAqECGSkiIHIA0gByANXhsgByANIA0gDVwbIA0gDVsgByAHW3EbOAIAAkAgK0GBAiAvQQN0dkEBcUECdGoCfQJAIDtBAUcEQCAALQAXQQNxIilBAkYgO0ECR3INAQsgACAvIBwgHxAtIQcgLSAvICogBhAmIC0gLyAqECKSIC0gLyAqIAYQJSAtIC8gKhAhkpIiDSAHIAcgDV0bIA0gByAHIAdcGyAHIAdbIA0gDVtxGwwBCyA7QQJHIClBAkdyDQEgHSAAIC8gHCAfEC0iDSAdIBGSIgcgByANXhsgDSAHIAcgB1wbIAcgB1sgDSANW3EbIgcgByAdXRsgHSAHIAcgB1wbIAcgB1sgHSAdW3EbCzgCAAsCQCArQYECIAlBA3R2QQFxQQJ0agJ9AkAgPUEBRwRAID1BAkciKSAALQAXQQNxIixBAkZyDQELIAAgCSAbICKSICEQLSEHIC0gCSAqIAYQJiAtIAkgKhAikiAtIAkgKiAGECUgLSAJICoQIZKSIgYgByAGIAdeGyAGIAcgByAHXBsgByAHWyAGIAZbcRsMAQsgKSAsQQJHcg0BIBsgACAJIBsgIpIgIRAtIgcgGyAZkiIGIAYgB14bIAcgBiAGIAZcGyAGIAZbIAcgB1txGyIGIAYgG10bIBsgBiAGIAZcGyAGIAZbIBsgG1txGws4AgALIAhFDQAgAC8AFUGAgANxQYCAAkYEQEEBIDggOEEBTRshMCAAKALkAyAAKALgAyI3a0ECdSEtQQAhKQNAICkgLUYNBCA3IClBAnRqKAIAIi4vABVBgOAAcUGAwABHBEACfQJAAkACQCAJDgQCAgABCgsgLkGQA2ohMkEAISwgKyoCACAuKgKYA5MMAgsgLkGQA2ohMkECISwgKyoCACAuKgKgA5MMAQsgMSoCACEGAkACQCAJDgIAAQkLIC5BlANqITJBASEsIAYgLioCnAOTDAELIC5BlANqITJBAyEsIAYgLioCpAOTCyEGIC4gLEECdGogBiAyKgIAkzgCmAMLIClBAWoiKSAwRw0ACwsgL0EBcSIyIAlBAXEiN3IEQEEBIDggOEEBTRshLSAAKALkAyAAKALgAyI1a0ECdSE4QQAhKSAvQQFrITkDQCApIDhGDQQCQCA1IClBAnRqKAIAIi4vABUgLi0AF0EQdHIiLEGAgBBxICxBgOAAcUGAwABGcg0AIDIEQAJ/An8CQAJAAkAgOQ4DAAECDAsgLkGUA2ohLCAuQaQDaiEzQQEhMCAxDAMLIC5BmANqITNBAiEwIC5BkANqDAELIC5BoANqITNBACEwIC5BkANqCyEsICsLITYgLiAwQQJ0aiA2KgIAICwqAgCTIDMqAgCTOAKYAwsgN0UNAAJ/An8CQAJAAkAgCUEBaw4DAAECCwsgLkGUA2ohLCAuQaQDaiEzQQEhMCAxDAMLIC5BmANqITNBAiEwIC5BkANqDAELIC5BoANqITNBACEwIC5BkANqCyEsICsLITYgLiAwQQJ0aiA2KgIAICwqAgCTIDMqAgCTOAKYAwsgKUEBaiIpIC1HDQALCyALRSAALwAVQYDgAHFyRQRAIAAtAABBCHFFDQELIAAgACA7IAQgL0EBSxsgKiAKIEEgDEMAAAAAQwAAAAAgEiAYEHYLIAAgAzoApAEgRA0AIAogCigCCCIDIAAoAqgBIilBAWoiCSADIAlLGzYCCCApQQhGBEAgAEEANgKoAUEAISkLIAgEfyAAQewCagUgACApQQFqNgKoASAAIClBGGxqQawBagsiAyAFNgIMIAMgBDYCCCADIAI4AgQgAyABOAIAIAMgACoCkAM4AhAgAyAAKgKUAzgCFEEAIUQLIAgEQCAAIAApApADNwKIAyAAIAAtAAAiA0EBciIEQfsBcSAEIANBBHEbOgAACyAAIAw2AqABIChB4ABqJAAgRyBERXIPCxACAAsQJwALNQEBfyABIAAoAgQiAkEBdWohASAAKAIAIQAgASACQQFxBH8gASgCACAAaigCAAUgAAsRAQAL1AECAX8BfSMAQRBrIgYkACAGQQhqIABB/ABqIABBFGoiACABQQJ0QdQlaigCAEEBdGovAWIQH0MAAMB/IQcCQAJAAkAgBi0ADEEBaw4CAAECCyAGKgIIIQcMAQsgBioCCCAClEMK1yM8lCEHCyAHIAAgAUEBIAMQJCAAIAFBASADECOSkiEDAkACQAJAAkAgBCgCAA4DAAEAAwsgBSoCACICIAIgAyACIANdGyADIANcGyEDDAELIAMgA1wNASAEQQI2AgALIAUgAzgCAAsgBkEQaiQAC4wBAgF/AX0gACgC3ANFBEBDAAAAAA8LIABB/ABqIgEgAC8BHBAgIgIgAlsEQCABIAAvARwQIA8LAkAgACgC7AMtAAhBAXENACABIAAvARgQICICIAJcDQAgASAALwEYECBDAAAAAF1FDQAgASAALwEYECCMDwtDAACAP0MAAAAAIAAoAuwDLQAIQQFxGwtwAgF/AX0jAEEQayIEJAAgBEEIaiAAIAFBAnRBxCVqKAIAIAIQKkMAAMB/IQUCQAJAAkAgBC0ADEEBaw4CAAECCyAEKgIIIQUMAQsgBCoCCCADlEMK1yM8lCEFCyAEQRBqJAAgBUMAAAAAIAUgBVsbC3ACAX8BfSMAQRBrIgQkACAEQQhqIAAgAUECdEG0JWooAgAgAhAvQwAAwH8hBQJAAkACQCAELQAMQQFrDgIAAQILIAQqAgghBQwBCyAEKgIIIAOUQwrXIzyUIQULIARBEGokACAFQwAAAAAgBSAFWxsLzgECA38CfSMAQRBrIgMkAEEBIQQgA0EIaiAAQfwAaiIFIAAgAUEBdGpB7gBqIgEvAQAQHwJAAkAgAyoCCCIHIAIqAgAiBlwEQCAHIAdbBEAgAi0ABCECDAILIAYgBlwhBAsgAi0ABCECIARFDQAgAy0ADCACQf8BcUYNAQsgBSABIAYgAhA0A0AgAC0AACIBQQRxDQEgACABQQRyOgAAIAAoAhAiAQRAIAAgAREAAAsgAEGAgID+BzYCnAEgACgC3AMiAA0ACwsgA0EQaiQAC4UBAgN/AX4CQCAAQoCAgIAQVARAIAAhBQwBCwNAIAFBAWsiASAAQgqAIgVC9gF+IAB8p0EwcjoAACAAQv////+fAVYhAiAFIQAgAg0ACwsgBaciAgRAA0AgAUEBayIBIAJBCm4iA0H2AWwgAmpBMHI6AAAgAkEJSyEEIAMhAiAEDQALCyABCzcBAn9BBBAeIgIgATYCAEEEEB4iAyABNgIAQY07IABBrjtByihBvAEgAkGuO0HOKEG9ASADEAcLDwAgACABIAJBAUECEIIBC14BAX8gAEEANgIMIAAgAzYCEAJAIAEEQCABQYCAgIAETw0BIAFBAnQQHiEECyAAIAQ2AgAgACAEIAJBAnRqIgI2AgggACAEIAFBAnRqNgIMIAAgAjYCBCAADwsQUAALRwEBfyACLwAGIgNBB3EEQCAAIAFB6ABqIAMQHw8LIAFB6ABqIQEgAi8ADiIDQQdxBEAgACABIAMQHw8LIAAgASACLwAQEB8LRwEBfyACLwACIgNBB3EEQCAAIAFB6ABqIAMQHw8LIAFB6ABqIQEgAi8ADiIDQQdxBEAgACABIAMQHw8LIAAgASACLwAQEB8LewACQAJAAkACQCADQQFrDgIAAQILIAIvAAoiA0EHcUUNAQwCCyACLwAIIgNBB3FFDQAMAQsgAi8ABCIDQQdxBEAMAQsgAUHoAGohASACLwAMIgNBB3EEQCAAIAEgAxAfDwsgACABIAIvABAQHw8LIAAgAUHoAGogAxAfC3sAAkACQAJAAkAgA0EBaw4CAAECCyACLwAIIgNBB3FFDQEMAgsgAi8ACiIDQQdxRQ0ADAELIAIvAAAiA0EHcQRADAELIAFB6ABqIQEgAi8ADCIDQQdxBEAgACABIAMQHw8LIAAgASACLwAQEB8PCyAAIAFB6ABqIAMQHwucCgELfyMAQRBrIggkACABIAEvAABBeHEgA3IiAzsAAAJAAkACQAJAAkACQAJAAkACQAJAIANBCHEEQCADQf//A3EiBkEEdiEEIAZBP00EfyAAIARBAnRqQQRqBSAEQQRrIgQgACgCGCIAKAIEIAAoAgAiAGtBAnVPDQIgACAEQQJ0agsgAjgCAAwKCwJ/IAKLQwAAAE9dBEAgAqgMAQtBgICAgHgLIgRB/w9qQf4fSyAEsiACXHJFBEAgA0EPcUEAIARrQYAQciAEIAJDAAAAAF0bQQR0ciEDDAoLIAAgAC8BACILQQFqOwEAIAtBgCBPDQMgC0EDTQRAIAAgC0ECdGogAjgCBAwJCyAAKAIYIgNFBEBBGBAeIgNCADcCACADQgA3AhAgA0IANwIIIAAgAzYCGAsCQCADKAIEIgQgAygCCEcEQCAEIAI4AgAgAyAEQQRqNgIEDAELIAQgAygCACIHayIEQQJ1IglBAWoiBkGAgICABE8NAQJ/Qf////8DIARBAXUiBSAGIAUgBksbIARB/P///wdPGyIGRQRAQQAhBSAJDAELIAZBgICAgARPDQYgBkECdBAeIQUgAygCBCADKAIAIgdrIgRBAnULIQogBSAJQQJ0aiIJIAI4AgAgCSAKQQJ0ayAHIAQQMSEHIAMgBSAGQQJ0ajYCCCADIAlBBGo2AgQgAygCACEEIAMgBzYCACAERQ0AIAQQKAsgACgCGCIGKAIQIgMgBigCFCIAQQV0Rw0HIANBAWpBAEgNACADQf7///8DSw0BIAMgAEEGdCIAIANBYHFBIGoiBCAAIARLGyIATw0HIABBAE4NAgsQAgALQf////8HIQAgA0H/////B08NBQsgCEEANgIIIAhCADcDACAIIAAQlgEgBigCDCEEIAggCCgCBCIHIAYoAhAiAEEfcWogAEFgcWoiAzYCBCAHRQRAIANBAWshBQwDCyADQQFrIgUgB0EBa3NBH0sNAiAIKAIAIQoMAwtB6yRB0RdBIkHMFxALAAsQUAALIAgoAgAiCiAFQQV2QQAgA0EhTxtBAnRqQQA2AgALIAogB0EDdkH8////AXFqIQMCQCAHQR9xIgdFBEAgAEEATA0BIABBIG0hBSAAQR9qQT9PBEAgAyAEIAVBAnQQMRoLIAAgBUEFdGsiAEEATA0BIAMgBUECdCIFaiIDIAMoAgBBf0EgIABrdiIAQX9zcSAEIAVqKAIAIABxcjYCAAwBCyAAQQBMDQBBfyAHdCEMQSAgB2shCSAAQSBOBEAgDEF/cyENIAMoAgAhBQNAIAMgBSANcSAEKAIAIgUgB3RyNgIAIAMgAygCBCAMcSAFIAl2ciIFNgIEIARBBGohBCADQQRqIQMgAEE/SyEOIABBIGshACAODQALIABBAEwNAQsgAyADKAIAQX8gCSAJIAAgACAJShsiBWt2IAxxQX9zcSAEKAIAQX9BICAAa3ZxIgQgB3RyNgIAIAAgBWsiAEEATA0AIAMgBSAHakEDdkH8////AXFqIgMgAygCAEF/QSAgAGt2QX9zcSAEIAV2cjYCAAsgBigCDCEAIAYgCjYCDCAGIAgoAgQiAzYCECAGIAgoAgg2AhQgAEUNACAAECggBigCECEDCyAGIANBAWo2AhAgBigCDCADQQN2Qfz///8BcWoiACAAKAIAQX4gA3dxNgIAIAEvAAAhAwsgA0EHcSALQQR0ckEIciEDCyABIAM7AAAgCEEQaiQAC48BAgF/AX0jAEEQayIDJAAgA0EIaiAAQegAaiAAQdQAQdYAIAFB/gFxQQJGG2ovAQAiASAALwFYIAFBB3EbEB9DAADAfyEEAkACQAJAIAMtAAxBAWsOAgABAgsgAyoCCCEEDAELIAMqAgggApRDCtcjPJQhBAsgA0EQaiQAIARDAAAAAJdDAAAAACAEIARbGwueAgIHfwF9IwBBEGsiAyQAAkAgACgCDCIBBEAgACAAKgKQAyAAKgKUAyABESYAIgggCFsNASADQYAeNgIAIABBBUGuJSADEC4QJwALAkACQCAAKALkAyIBIAAoAuADIgZHBEBBASABIAZrQQJ1IgEgAUEBTRshBwNAIAYgBEECdGooAgAiASgC2ANFBEAgAS8AFSABLQAXQRB0ciIFQYDgAHFBgMAARwRAIAVBCHZBD3EiBQR/IAUFIAAtABVBBHYLQQVGBEAgAC0AFEEIcQ0FCyABLQAAQQJxDQQgAiABIAIbIQILIARBAWoiBCAHRw0BCwsgAg0CCyAAKgKUAyEIDAILIAEhAgsgAhBJIAIqApwDkiEICyADQRBqJAAgCAtQAAJAAkACQAJAAkAgAg4EBAABAgMLIAAgASABQTBqEEQPCyAAIAEgAUEwaiADEEUPCyAAIAEgAUEwahBDDwsQJwALIAAgASABQTBqIAMQRgt5AgF/AX0jAEEQayIDJAAgA0EIaiAAIAFBAnRBxCVqKAIAIAIQTEMAAMB/IQQCQAJAAkAgAy0ADEEBaw4CAAECCyADKgIIIQQMAQsgAyoCCEMAAAAAlEMK1yM8lCEECyADQRBqJAAgBEMAAAAAl0MAAAAAIAQgBFsbC1QAAkACQAJAAkACQCACDgQEAAECAwsgACABIAFBwgBqEEQPCyAAIAEgAUHCAGogAxBFDwsgACABIAFBwgBqEEMPCxAnAAsgACABIAFBwgBqIAMQRgvOAQIDfwJ9IwBBEGsiAyQAQQEhBCADQQhqIABB/ABqIgUgACABQQF0akH2AGoiAS8BABAfAkACQCADKgIIIgcgAioCACIGXARAIAcgB1sEQCACLQAEIQIMAgsgBiAGXCEECyACLQAEIQIgBEUNACADLQAMIAJB/wFxRg0BCyAFIAEgBiACEDQDQCAALQAAIgFBBHENASAAIAFBBHI6AAAgACgCECIBBEAgACABEQAACyAAQYCAgP4HNgKcASAAKALcAyIADQALCyADQRBqJAALzgECA38CfSMAQRBrIgMkAEEBIQQgA0EIaiAAQfwAaiIFIAAgAUEBdGpB8gBqIgEvAQAQHwJAAkAgAyoCCCIHIAIqAgAiBlwEQCAHIAdbBEAgAi0ABCECDAILIAYgBlwhBAsgAi0ABCECIARFDQAgAy0ADCACQf8BcUYNAQsgBSABIAYgAhA0A0AgAC0AACIBQQRxDQEgACABQQRyOgAAIAAoAhAiAQRAIAAgAREAAAsgAEGAgID+BzYCnAEgACgC3AMiAA0ACwsgA0EQaiQACwoAIABBMGtBCkkLBQAQAgALBAAgAAsUACAABEAgACAAKAIAKAIEEQAACwsrAQF/IAAoAgwiAQRAIAEQKAsgACgCACIBBEAgACABNgIEIAEQKAsgABAoC/wDAQN/IwBBEGsiAyQAIABCADcCBCAAQcEgOwAVIABCADcCDCAAQoCAgICAgIACNwIYIAAgAC0AF0H4AXE6ABcgACAALQAAQeABcUEFcjoAACAAIAAtABRBgAFxOgAUIABBIGpBAEHOABAwGiAAQgA3AXIgAEGEgBA2AW4gAEEANgF6IABCADcCgAEgAEIANwKIASAAQgA3ApABIABBADYCmAEgAEEAOgCkASAAQoCAgP4HNwKcASAAQagBakEAQcQBEDAaIABB7AJqIQQgAEGsAWohAgNAIAJCgICA/IuAgMC/fzcCECACQoGAgIAQNwIIIAJCgICA/IuAgMC/fzcCACACQRhqIgIgBEcNAAsgAEKAgID8i4CAwL9/NwLsAiAAQoCAgPyLgIDAv383AvwCIABCgYCAgBA3AvQCIABCgICA/oeAgOD/ADcCkAMgAEKAgID+h4CA4P8ANwKIAyAAQYQDaiICIAItAABB+AFxOgAAIABBmANqQQBB1AAQMBogAEEAOgD8AyAAQYCAgP4HNgL4AyAAQQA6APQDIABBgICA/gc2AvADIAAgATYC7AMgAQRAIAEtAAhBAXEEQCAAIAAtABRB8wFxQQhyOgAUIAAgAC8AFUHw/wNxQQRyOwAVCyADQRBqJAAgAA8LIANB+Bk2AgAgAxBrECcACzMAIAAgAUECdEHUJWooAgBBAnRqKgKQAyAAQRRqIgAgAUEBIAIQJCAAIAFBASACECOSkguiBAIGfwJ+An9BCCEEAkACQCAAQUdLDQADQEEIIAQgBEEITRshBEG4OikDACIHAn9BCCAAQQNqQXxxIABBCE0bIgBB/wBNBEAgAEEDdkEBawwBCyAAQR0gAGciAWt2QQRzIAFBAnRrQe4AaiAAQf8fTQ0AGkE/IABBHiABa3ZBAnMgAUEBdGtBxwBqIgEgAUE/TxsLIgOtiCIIUEUEQANAIAggCHoiCIghBwJ+IAMgCKdqIgNBBHQiAkG4MmooAgAiASACQbAyaiIGRwRAIAEgBCAAEFgiBQ0FIAEoAgQiBSABKAIINgIIIAEoAgggBTYCBCABIAY2AgggASACQbQyaiICKAIANgIEIAIgATYCACABKAIEIAE2AgggA0EBaiEDIAdCAYgMAQtBuDpBuDopAwBCfiADrYmDNwMAIAdCAYULIghCAFINAAtBuDopAwAhBwsCQCAHUEUEQEE/IAd5p2siBkEEdCICQbgyaigCACEBAkAgB0KAgICABFQNAEHjACEDIAEgAkGwMmoiAkYNAANAIANFDQEgASAEIAAQWCIFDQUgA0EBayEDIAEoAggiASACRw0ACyACIQELIABBMGoQWg0BIAFFDQQgASAGQQR0QbAyaiICRg0EA0AgASAEIAAQWCIFDQQgASgCCCIBIAJHDQALDAQLIABBMGoQWkUNAwtBACEFIAQgBEEBa3ENASAAQUdNDQALCyAFDAELQQALC0wBAX9BASEBAkAgAC0AHkEHcQ0AIAAtACJBB3ENACAALQAuQQdxDQAgAC0AKkEHcQ0AIAAtACZBB3ENACAALQAoQQdxQQBHIQELIAELoAMBA38gASAAQQRqIgRqQQFrQQAgAWtxIgUgAmogACAAKAIAIgFqQQRrTQR/IAAoAgQiAyAAKAIINgIIIAAoAgggAzYCBCAEIAVHBEAgACAAQQRrKAIAQX5xayIDIAUgBGsiBCADKAIAaiIFNgIAIAVBfHEgA2pBBGsgBTYCACAAIARqIgAgASAEayIBNgIACwJAIAEgAkEYak8EQCAAIAJqQQhqIgMgASACa0EIayIBNgIAIAFBfHEgA2pBBGsgAUEBcjYCACADAn8gAygCAEEIayIBQf8ATQRAIAFBA3ZBAWsMAQsgAWchBCABQR0gBGt2QQRzIARBAnRrQe4AaiABQf8fTQ0AGkE/IAFBHiAEa3ZBAnMgBEEBdGtBxwBqIgEgAUE/TxsLIgFBBHQiBEGwMmo2AgQgAyAEQbgyaiIEKAIANgIIIAQgAzYCACADKAIIIAM2AgRBuDpBuDopAwBCASABrYaENwMAIAAgAkEIaiIBNgIAIAFBfHEgAGpBBGsgATYCAAwBCyAAIAFqQQRrIAE2AgALIABBBGoFIAMLC3ACAX8BfSMAQRBrIgQkACAEQQhqIAAgAUECdEHEJWooAgAgAhAvQwAAwH8hBQJAAkACQCAELQAMQQFrDgIAAQILIAQqAgghBQwBCyAEKgIIIAOUQwrXIzyUIQULIARBEGokACAFQwAAAAAgBSAFWxsL5gMBBX8Cf0GAMCgCACIBIABBB2pBeHEiA2ohAgJAIANBACABIAJPGw0AIAI/AEEQdEsEQCACEBZFDQELQYAwIAI2AgAgAQwBC0HIO0EwNgIAQX8LIgJBf0cEQCAAIAJqIgNBEGsiAUEQNgIMIAFBEDYCAAJAAn9BsDooAgAiAAR/IAAoAggFQQALIAJGBEAgAiACQQRrKAIAQX5xayIEQQRrKAIAIQUgACADNgIIQXAgBCAFQX5xayIAIAAoAgBqQQRrLQAAQQFxRQ0BGiAAKAIEIgMgACgCCDYCCCAAKAIIIAM2AgQgACABIABrIgE2AgAMAgsgAkEQNgIMIAJBEDYCACACIAM2AgggAiAANgIEQbA6IAI2AgBBEAsgAmoiACABIABrIgE2AgALIAFBfHEgAGpBBGsgAUEBcjYCACAAAn8gACgCAEEIayIBQf8ATQRAIAFBA3ZBAWsMAQsgAUEdIAFnIgNrdkEEcyADQQJ0a0HuAGogAUH/H00NABpBPyABQR4gA2t2QQJzIANBAXRrQccAaiIBIAFBP08bCyIBQQR0IgNBsDJqNgIEIAAgA0G4MmoiAygCADYCCCADIAA2AgAgACgCCCAANgIEQbg6Qbg6KQMAQgEgAa2GhDcDAAsgAkF/RwvNAQIDfwJ9IwBBEGsiAyQAQQEhBCADQQhqIABB/ABqIgUgACABQQF0akEgaiIBLwEAEB8CQAJAIAMqAggiByACKgIAIgZcBEAgByAHWwRAIAItAAQhAgwCCyAGIAZcIQQLIAItAAQhAiAERQ0AIAMtAAwgAkH/AXFGDQELIAUgASAGIAIQNANAIAAtAAAiAUEEcQ0BIAAgAUEEcjoAACAAKAIQIgEEQCAAIAERAAALIABBgICA/gc2ApwBIAAoAtwDIgANAAsLIANBEGokAAtAAQF/AkBB+DotAABBAXEEQEH0OigCACECDAELQQFB0CYQDCECQfg6QQE6AABB9DogAjYCAAsgAiAAIAFBABATC8cBAgR/An0jAEEQayICJAAgAkEIaiAAQfwAaiIEIABBHmoiBS8BABAfQQEhAwJAAkAgAioCCCIHIAEqAgAiBlwEQCAHIAdbBEAgAS0ABCEBDAILIAYgBlwhAwsgAS0ABCEBIANFDQAgAi0ADCABQf8BcUYNAQsgBCAFIAYgARA0A0AgAC0AACIBQQRxDQEgACABQQRyOgAAIAAoAhAiAQRAIAAgAREAAAsgAEGAgID+BzYCnAEgACgC3AMiAA0ACwsgAkEQaiQACw8AIAEgACgCAGogAjkDAAsNACABIAAoAgBqKwMACwsAIAAEQCAAECgLCwYAIAAQKAuWAwIDfgJ/IAC9IgJCNIinQf8PcSIEQf8PRgRAIABEAAAAAAAA8D+iIgAgAKMPCyACQgGGIgFCgICAgICAgPD/AFgEQCAARAAAAAAAAAAAoiAAIAFCgICAgICAgPD/AFEbDwsCfiAERQRAQQAhBCACQgyGIgFCAFkEQANAIARBAWshBCABQgGGIgFCAFkNAAsLIAJBASAEa62GDAELIAJC/////////weDQoCAgICAgIAIhAshASAEQf8HSgRAA0ACQCABQoCAgICAgIAIfSIDQgBTDQAgAyIBQgBSDQAgAEQAAAAAAAAAAKIPCyABQgGGIQEgBEEBayIEQf8HSg0AC0H/ByEECwJAIAFCgICAgICAgAh9IgNCAFMNACADIgFCAFINACAARAAAAAAAAAAAog8LIAFC/////////wdYBEADQCAEQQFrIQQgAUKAgICAgICABFQhBSABQgGGIQEgBQ0ACwsgAkKAgICAgICAgIB/gyABQoCAgICAgIAIfSAErUI0hoQgAUEBIARrrYggBEEAShuEvwuLAQEDfwNAIABBBHQiAUG0MmogAUGwMmoiAjYCACABQbgyaiACNgIAIABBAWoiAEHAAEcNAAtBMBBaGkHkOkEGNgIAQeg6QQA2AgAQlAFB6DpBlDsoAgA2AgBBlDtB5Do2AgBBmDtBwAE2AgBBnDtBADYCABCFAUGcO0GUOygCADYCAEGUO0GYOzYCAAu9AwEHfyAABEAjAEEgayIGJAAgACgCACIBKALcAyIDBEAgAyABEGgaIAFBADYC3AMLIAEoAuQDIgIgASgC4AMiA0cEQEEBIAIgA2tBAnUiAiACQQFNGyEEQQAhAgNAIAMgAkECdGooAgBBADYC3AMgAkEBaiICIARHDQALCyABIAM2AuQDAkAgAyABQegDaiICKAIARg0AIAZBCGpBAEEAIAIQQiICKAIEIAEoAuQDIAEoAuADIgRrIgVrIgMgBCAFEDEhBSABKALgAyEEIAEgBTYC4AMgAiAENgIEIAEoAuQDIQUgASACKAIINgLkAyACIAU2AgggASgC6AMhByABIAIoAgw2AugDIAIgBDYCACACIAc2AgwgBCAFRwRAIAIgBSAEIAVrQQNqQXxxajYCCAsgBEUNACAEEGEgASgC4AMhAwsgAwRAIAEgAzYC5AMgAxBhCyABKAKUASEDIAFBADYClAEgAwRAIAMQUwsgARBhIAAoAgghASAAQQA2AgggAQRAIAEgASgCACgCBBEAAAsgACgCBCEBIABBADYCBCABBEAgASABKAIAKAIEEQAACyAGQSBqJAAgABAoCwupAQEBfyMAQRBrIgIkAAJ/IAEEQCABKAIAIQFBgAQQHiABEFQgAQ0BGiACQc0ZNgIAIAIQaxAnAAtB4DotAABFBEBByDpBAzYCAEHYOkKAgID8AzcCAEHQOkIANwIAQeA6QQE6AABBzDpBzDotAABB/gFxOgAAQcQ6QQA2AgALQYAEEB5BxDoQVAshASAAQgA3AgQgACABNgIAIAEgADYCBCACQRBqJAAgAAsbAQF/IAAEQCAAKAIAIgEEQCABECgLIAAQKAsLcQEBfyMAQRBrIgQkAAJ9QwAAAAAgAC8AFUGA4ABxRQ0AGiAEQQhqIABBFGoiAEEBIAJBAkZBAXQgAUH+AXFBAkcbIAIQLyAELQAMBEAgACABIAIgAxB4DAELIAAgASACIAMQd4wLIQMgBEEQaiQAIAMLYAECfwJAAkAgACgC4AMiAiAAKALkAyIDRg0AA0AgAigCACABRg0BIAJBBGoiAiADRw0ACwwBCyACIANGDQAgAiACQQRqIgEgAyABaxAxGiAAIANBBGs2AuQDQQEPC0EACwsAQZgxIAAgARBBCzwAIABFBEAgAkEFR0EAIAIbRQRAQYgwIAMgBBBBGg8LIAMgBBBpGg8LIAAgASACIAMgBCAAKAIEEQ0AGgsmAQF/IwBBEGsiASQAIAEgADYCDEGIMEGuJSAAEEEaIAFBEGokAAuHAwMDfwV8An0gACoCnAO7IgYgAqAhAiAAKgKYA7siByABoCEIIAAoAuwDKgIUIgtDAAAAAFwEQCAAKgKMA7shCSAAKgKIAyEMIAAgByALuyIBQQAgAC0AAEEQcSIDQQR2IgQQMjgCmAMgACAGIAFBACAEEDI4ApwDIAEgDLsiB6IQYiIGIAZiIgRFIAaZRC1DHOviNho/Y3FFBEAgBCAGRAAAAAAAAPC/oJlELUMc6+I2Gj9jRXIhBQsgAiAJoCEKIAggB6AhBwJ/IAEgCaIQYiIGIAZiIgRFBEBBACAGmUQtQxzr4jYaP2MNARoLIAQgBkQAAAAAAADwv6CZRC1DHOviNho/Y0VyCyEEIAAgByABIANBAEciAyAFcSADIAVBAXNxEDIgCCABQQAgAxAykzgCiAMgACAKIAEgAyAEcSADIARBAXNxEDIgAiABQQAgAxAykzgCjAMLIAAoAuADIgMgACgC5AMiAEcEQANAIAMoAgAgCCACEGwgA0EEaiIDIABHDQALCwuZAgIGfwF9IABBFGohB0EDIQQgAC0AFEECdkEDcSEFAkACfwJAIAFBASAAKALcAxsiCEECRgRAAkAgBUECaw4CBAACC0ECIQQMAwtBAiEEQQAgBUEBSw0BGgsgBAshBiAFIQQLIAAgBCAIIAMgAiAEQQJJIgUbEGchCiAAIAYgCCACIAMgBRsQZyEDIABBmANqIgBBASABQQJGQQF0IgggBRtBAnRqIAogByAEIAEgAhAkkjgCACAAQQMgAUECR0EBdCIJIAUbQQJ0aiAKIAcgBCABIAIQI5I4AgAgACAIQQEgBkEBdiIEG0ECdGogAyAHIAYgASACECSSOAIAIAAgCUEDIAQbQQJ0aiADIAcgBiABIAIQI5I4AgALvwIBA38jAEHAAmsiASQAIAFBAEHAAhAwIgFBgICA/gc2AgQgAUEQakEAQcQBEDAaIAFB1AFqIQMgAUEUaiECA0AgAkKAgID8i4CAwL9/NwIQIAJCgYCAgBA3AgggAkKAgID8i4CAwL9/NwIAIAJBGGoiAiADRw0ACyABQoCAgPyLgIDAv383AuQBIAFCgYCAgBA3AtwBIAFCgICA/IuAgMC/fzcC1AEgAUKAgID+h4CA4P8ANwP4ASABQoCAgP6HgIDg/wA3A/ABIAEgAS0A7AFB+AFxOgDsASABQYACakEAQcAAEDAaIABBmAFqIAFBwAIQLBogAEIANwKIAyAAIAAtAABBAXI6AAAgABBzIAAoAuADIgIgACgC5AMiAEcEQANAIAIoAgAQbiACQQRqIgIgAEcNAAsLIAFBwAJqJAALrgICCn8CfSMAQSBrIgEkACABQYACOwAeIABB7gBqIQcgAEHwA2ohBSAAQfIAaiEIIABB9gBqIQkgAEH8AGohA0EAIQADQCABQRBqIAMgCSABQR5qIARqLQAAIgJBAXQiBGoiBi8BABAfAkACQCABLQAURQ0AIAFBCGogAyAGLwEAEB8gASADIAQgCGovAQAQHyABLQAMIAEtAARHDQACQCABKgIIIgwgDFwiCiABKgIAIgsgC1xyRQRAIAwgC5OLQxe30ThdDQEMAgsgCkUgCyALW3INAQsgAUEQaiADIAYvAQAQHwwBCyABQRBqIAMgBCAHai8BABAfCyAFIAJBA3RqIgIgAS0AFDoABCACIAEoAhA2AgBBASEEIAAhAkEBIQAgAkUNAAsgAUEgaiQACzIAAn9BACAALwAVQYDgAHFBgMAARg0AGkEBIAAQN0MAAAAAXA0AGiAAEDtDAAAAAFwLC48CAgJ/AX0jAEEQayIFJAAgAiADkyICIAJbBEAgBUEIaiAAQfwAaiIGIAAgAUEBdGovAXIQHwJ9AkACQAJ9AkACQCAFLQAMQQFrDgIAAQMLIAUqAggMAQsgBSoCCCAElEMK1yM8lAsiByAHWw0BC0MAAAAADAELIAcgA5MLIQcgBUEIaiAGIAAgAUEBdGovAXYQHyAHAn0CQAJAAn0CQAJAIAUtAAxBAWsOAgABAwsgBSoCCAwBCyAFKgIIIASUQwrXIzyUCyIEIARbDQELQ///f38MAQsgBCADkwsiAyACIAIgA14bIgIgAiAHXRsgByACIAIgAlwbIAIgAlsgByAHW3EbIQILIAVBEGokACACC3YCAX8BfSMAQRBrIgQkACAEQQhqIAAgAUECdEG0JWooAgAgAhBKQwAAwH8hBQJAAkACQCAELQAMQQFrDgIAAQILIAQqAgghBQwBCyAEKgIIIAOUQwrXIzyUIQULIARBEGokACAFQwAAAACXQwAAAAAgBSAFWxsLoQMBCH8CQCAAKALgAyIFIAAoAuQDIgdHBEADQCAAIAUoAgAiAigC3ANHBEACQCAAKALsAygCACIBBEAgAiAAIAYgAREGACIBDQELQYAEEB4iASACKAIQNgIQIAEgAikCCDcCCCABIAIpAgA3AgAgAUEUaiACQRRqQegAECwaIAFCADcCgAEgAUH8AGoiA0EAOwEAIAFCADcCiAEgAUIANwKQASADIAJB/ABqEJcBIAFBmAFqIAJBmAFqQcgCECwaIAFBADYC6AMgAUIANwLgAyACKALkAyIDIAIoAuADIgRHBEAgAyAEayIEQQBIDQUgASAEEB4iAzYC5AMgASADNgLgAyABIAMgBGo2AugDIAIoAuADIgQgAigC5AMiCEcEQANAIAMgBCgCADYCACADQQRqIQMgBEEEaiIEIAhHDQALCyABIAM2AuQDCyABIAIpAuwDNwLsAyABIAIoAvwDNgL8AyABIAIpAvQDNwL0AyABQQA2AtwDCyAFIAE2AgAgASAANgLcAwsgBkEBaiEGIAVBBGoiBSAHRw0ACwsPCxACAAvfBQMEfwV9AXwgCUMAAAAAXSAIQwAAAABdcgR/IA0FIAUhEiABIRMgAyEUIAchESAMKgIUIhVDAAAAAFwEQCABuyAVuyIWQQBBABAyIRMgA7sgFkEAQQAQMiEUIAW7IBZBAEEAEDIhEiAHuyAWQQBBABAyIRELAn9BACAAIARHDQAaIBIgE5OLQxe30ThdIBMgE1wiDSASIBJcckUNABpBACASIBJbDQAaIA0LIQwCQCACIAZHDQAgFCAUXCINIBEgEVxyRQRAIBEgFJOLQxe30ThdIQ8MAQsgESARWw0AIA0hDwtBASEOQQEhDQJAIAwNACABIAqTIQECQCAARQRAIAEgAVwiACAIIAhcckUEQEEAIQwgASAIk4tDF7fROF1FDQIMAwtBACEMIAggCFsNASAADQIMAQsgAEECRiEMIABBAkcNACAEQQFHDQAgASAIYA0BAkAgCCAIXCIAIAEgAVxyRQRAIAEgCJOLQxe30ThdRQ0BDAMLQQAhDSABIAFbDQJBASENIAANAgtBACENDAELQQAhDSAIIAhcIgAgASAFXUVyDQAgDEUgASABXCIQIAUgBVxyIARBAkdycg0AQQEhDSABIAhgDQBBACENIAAgEHINACABIAiTi0MXt9E4XSENCwJAIA8NACADIAuTIQECQAJAIAJFBEAgASABXCICIAkgCVxyRQRAQQAhACABIAmTi0MXt9E4XUUNAgwEC0EAIQAgCSAJWw0BIAINAwwBCyACQQJGIQAgAkECRyAGQQFHcg0AIAEgCWAEQAwDCyAJIAlcIgAgASABXHJFBEAgASAJk4tDF7fROF1FDQIMAwtBACEOIAEgAVsNAkEBIQ4gAA0CDAELIAkgCVwiAiABIAddRXINACAARSABIAFcIgQgByAHXHIgBkECR3JyDQAgASAJYA0BQQAhDiACIARyDQEgASAJk4tDF7fROF0hDgwBC0EAIQ4LIA0gDnELC5kBAQN/AkAgAC0AFEEIcUUNAEEBIQEgAC8AFUHwAXFB0ABGDQBBACEBIAAoAuQDIgIgACgC4AMiA0YNAEEBIAIgA2tBAnUiACAAQQFNGyECQQAhAANAIAMgAEECdGooAgAiAS8AFSABLQAXQRB0ciIBQYDgAHFBgMAARyABQYAecUGACkZxIgENASAAQQFqIgAgAkcNAAsLIAEL/xICDX8KfSMAQRBrIg4kACABKALgAyIUIAEoAuQDIhVHBEAgA0EBIAMbIRYgAEEUaiETIAVBAWohFwNAAkAgFCgCACILLwAVIAstABdBEHRyIgxBgIAQcQ0AAkACfwJAAkACQAJAAkACQAJAIAxBDHZBA3EOAwEJAAkLIAkhGiAKIR0gASgC7AMtABBBBHFFBEAgACoCkAMgE0ECQQEQIiATQQJBARAhkpMhGiAAKgKUAyATQQBBARAiIBNBAEEBECGSkyEdCyALQRRqIQ0gAS0AFEECdkEDcSEMAkACfwJAIANBAkciEkUEQEEAIQ9BAyEQAkAgDEECaw4CBAACC0ECIRAMAwtBAiEQQQAgDEEBSw0BGgsgEAshDyAMIRALIA1BAkEBIBoQJCANQQJBASAaECOSIR8gDUEAQQEgGhAkIR4gDUEAQQEgGhAjISAgCyoC8AMiGCEZAkACQAJAAkAgCy0A9ANBAWsiDA4CAQACCyAYIBqUQwrXIzyUIRkLIBlDAAAAAGBFDQBDAADAfyEZAkACQAJAIAwOAgABAgsgGCEZDAELIBggGpRDCtcjPJQhGQsgHyAZkiEZDAELIA5BCGogDSALQTJqIgwgAxBGQwAAwH8hGSAOLQAMRQ0AIA5BCGogDSAMIAMQRSAOLQAMRQ0AIAAqApADISEgE0ECIAMQNSEcIBNBAiADEEshGyANQQIgAyAaED0hGSANQQIgAyAaEFkhGCAOQQhqIAtB/ABqIgwgCy8BchAfIBkgGJIhGSAhIBwgG5KTIRhDAADAfyEcAkACQAJAIA4tAAxBAWsOAgABAgsgDioCCCEcDAELIA4qAgggGpRDCtcjPJQhHAsgGCAZkyEYIA5BCGogDCALLwF2EB8CQAJAAn0CQAJAIA4tAAxBAWsOAgABAwsgDioCCAwBCyAOKgIIIBqUQwrXIzyUCyIZQwAAAABgRQ0AIBggGV4NAQsgHEMAAAAAYEUEQCAYIRkMAQsgHCAYIBggHF0bIRkLIA1BAiADIBoQJiANQQIgAxAikiANQQIgAyAaECUgDUECIAMQIZKSIhggGSAYIBleGyAYIBkgGSAZXBsgGSAZWyAYIBhbcRshGQsgHiAgkiEeIAsqAvgDIhshGAJAAkACQCALLQD8A0EBayIMDgIBAAILIBsgHZRDCtcjPJQhGAsgGEMAAAAAYEUNAEMAAMB/IRgCQAJAAkAgDA4CAAECCyAbIRgMAQsgGyAdlEMK1yM8lCEYCyAeIBiSIRgMAgsgDkEIaiANIAtBMmoiDBBEAkAgDi0ADEUNACAOQQhqIA0gDBBDIA4tAAxFDQAgACoClAMhICATQQAgAxA1ISEgE0EAIAMQSyEcIA1BACADIB0QPSEbIA1BACADIB0QWSEYIA5BCGogC0H8AGoiDCALLwF0EB8gGyAYkiEbICAgISAckpMhGEMAAMB/IRwCQAJAAkAgDi0ADEEBaw4CAAECCyAOKgIIIRwMAQsgDioCCCAdlEMK1yM8lCEcCyAYIBuTIRsgDkEIaiAMIAsvAXgQHwJAAkACfQJAAkAgDi0ADEEBaw4CAAEDCyAOKgIIDAELIA4qAgggHZRDCtcjPJQLIhhDAAAAAGBFDQAgGCAbXQ0BCyAcQwAAAABgRQRAIBshGAwBCyAcIBsgGyAcXRshGAsgDUEAIAMgGhAmIA1BACADECKSIA1BACADIBoQJSANQQAgAxAhkpIiGyAYIBggG10bIBsgGCAYIBhcGyAYIBhbIBsgG1txGyEYDAILQwAAwH8hGCAZIBlcDQUgC0H8AGoiDCALQfoAaiIRLwEAECAiGyAbWw0CDAQLIAstAABBCHENByAAIAsgAiALLQAUQQNxIgwgFiAMGyAEIBcgBiALKgKYAyAHkiALKgKcAyAIkiAJIAoQdgwHCyAZIBlcIBggGFxGDQEgC0H8AGoiDCALQfoAaiIRLwEAECAiGyAbXA0BIBkgGVwEQCAYIB6TIAwgCy8BehAglCAfkiEZDAILIBggGFsNAQsgHiAZIB+TIAwgES8BABAglZIhGAsgGSAZXA0BIBggGFsNAwtBAAwBC0EBCyEMIAsgGiAZIAJBAUcgEEECSXEgGkMAAAAAXnEgDHEiERsgGCADQQIgDCARGyAYIBhcIBogHUEAQQYgBCAFIAYQOBogCyoCkAMgDUECQQEgGhAkIA1BAkEBIBoQI5KSIRkgCyoClAMgDUEAQQEgGhAkIA1BAEEBIBoQI5KSIRgLIAsgGSAYIANBAEEAIBogHUEBQQEgBCAFIAYQOBogACABIAsgAyAQQQEgGiAdEHkgACABIAsgAyAPQQAgGiAdEHkgAS0AFCIRQQJ2QQNxIQwCQAJ/AkACQAJAAkACQAJAAkACQAJAAn8CQCASRQRAQQAhEEEDIQ8gDEECaw4CAw0BC0ECIQ9BACAMQQFLDQEaCyAPCyEQIBFBBHFFDQQgEUEIcUUNASAMIQ8LIAEhDCANEFcNAQwCCwJAIAstADRBB3ENACALLQA4QQdxDQAgCy0AQkEHcQ0AIAwhDyABIQwgC0FAay8BAEEHcUUNAgwBCyAMIQ8LIAAhDAsCfwJAAkACQCAPQQFrDgMAAQIFCyALQZQDaiEPIAtBpANqIRJBASERIAxBlANqDAILIAtBkANqIQ8gC0GYA2ohEkECIREgDEGQA2oMAQsgC0GQA2ohDyALQaADaiESQQAhESAMQZADagshDCALIBFBAnRqIAwqAgAgDyoCAJMgEioCAJM4ApgDCyAQQQFxRQ0FAkACQCAQQQJxBEAgASEMIA0QVw0BDAILIAstADRBB3ENACALLQA4QQdxDQAgCy0AQkEHcQ0AIAEhDCALQUBrLwEAQQdxRQ0BCyAAIQwLIBBBAWsOAwECAwALECcACyALQZQDaiEQIAtBpANqIQ9BASESIAxBlANqDAILIAtBkANqIRAgC0GYA2ohD0ECIRIgDEGQA2oMAQsgC0GQA2ohECALQaADaiEPQQAhEiAMQZADagshDCALIBJBAnRqIAwqAgAgECoCAJMgDyoCAJM4ApgDCyALKgKcAyEbIAsqApgDIAdDAAAAACANEFcbkyEZAn0CQCALLQA0QQdxDQAgCy0AOEEHcQ0AIAstAEJBB3ENACALQUBrLwEAQQdxDQBDAAAAAAwBCyAICyEYIAsgGTgCmAMgCyAbIBiTOAKcAwsgFEEEaiIUIBVHDQALCyAOQRBqJAALeAIBfwF9IwBBEGsiBCQAIARBCGogAEEDIAJBAkdBAXQgAUH+AXFBAkcbIAIQL0MAAMB/IQUCQAJAAkAgBC0ADEEBaw4CAAECCyAEKgIIIQUMAQsgBCoCCCADlEMK1yM8lCEFCyAEQRBqJAAgBUMAAAAAIAUgBVsbC3gCAX8BfSMAQRBrIgQkACAEQQhqIABBASACQQJGQQF0IAFB/gFxQQJHGyACEC9DAADAfyEFAkACQAJAIAQtAAxBAWsOAgABAgsgBCoCCCEFDAELIAQqAgggA5RDCtcjPJQhBQsgBEEQaiQAIAVDAAAAACAFIAVbGwuLEwIGfwR9IwBBEGsiCiQAIARB/gFxIQwCQAJAAkACQAJAIAIoAuwDLQAQQQJxBEAgBQ0BIAIvABZBD3EiCSEFAn8gCUUEQCABLQAVQQR2IQULIAVBBUYEQEEBIAEtABRBCHFFDQEaCyAFC0ECRiEIAn8gCUUEQCABLQAVQQR2IQkLIAlBBUYEQEEBIAEtABRBCHFFDQEaCyAJC0EDRiABLwAVQYCAA3FBgIACRnMhCQwDC0EBIQkgCkEIaiACQRRqIgggA0ECRkEBdEEBIAxBAkYiDRsiCyADEC8gBiAHIA0bIQcgCi0ADARAIAggBCADIAcQeCAAQRRqIAQgAxAikiAIIAQgAyAHECSSIQYCQAJ/AkACQAJAAkAgBA4EAgMBAAoLQQIhCQwBC0EAIQkLIAkgC0YNAgJAAkAgBA4EAgIAAQkLIABBkANqIQNBAAwCCyAAQZADaiEDQQAMAQsgAEGUA2ohA0EBCyEAIAMqAgAgAiAAQQJ0aioCkAOTIAaTIQYLIAIgBEECdEG0JWooAgBBAnRqIAY4ApgDDAULIApBCGogCEEDIANBAkdBAXQgDEECRxsgAxAvIAotAAwEQAJ/AkACQAJAIAQOBAICAAEIC0EAIQUgAEGQA2oMAgtBACEFIABBkANqDAELQQEhBSAAQZQDagsqAgAgAkGQA2oiASAFQQJ0aioCAJMgAEEUaiAEIAMQIZMgCCAEIAMgBxAjkyAIIAQgAyAHEHeTIQZBASEDAkACfwJAAkACQAJAIAQOBAIDAQAKC0ECIQMMAQtBACEDCyADIAtGDQICQAJAIAQOBAICAAEJCyAAQZADaiEDQQAMAgsgAEGQA2ohA0EADAELIABBlANqIQNBAQshACADKgIAIAEgAEECdGoqAgCTIAaTIQYLIAIgBEECdEG0JWooAgBBAnRqIAY4ApgDDAULAkACQAJAIAUEQCABLQAUQQR2QQdxIgBBBUsNCEEBIAB0IgBBMnENASAAQQlxRQ0DIAggBCADIAYQMyEGIAICfwJAAkACQAJAIAQOBAABAgMMCyABQcwDaiEEIAFBvANqIQNBAQwDCyABQdQDaiEEIAFBxANqIQNBAwwCCyABQcgDaiEEIAFBuANqIQNBAAwBCyABQdADaiEEIAFBwANqIQNBAgtBAnRqIAYgAyoCAJIgBCoCAJI4ApgDDAgLIAIvABZBD3EiAEUEQCABLQAVQQR2IQALIABBBUYEQCABLQAUQQhxRQ0CCyABLwAVQYCAA3FBgIACRgRAIABBAmsOAgEFAwsgAEEISw0HQQEgAHRB8wNxDQQgAEECRw0CC0EAIQgCQAJAAkACQAJAAkACQCAEDgQBAQAEAgsgASoCkAMgAUG4A2oiACoCAJMgASoCwAOTIAFByANqIgkqAgCTIQcgAioCkAMhDiABKgLQAyEPIAJBFGoiBUECQQEgBhAkIRAgBUECQQEgBhAjIREMBQsgASoClAMhBwJ/AkACQCAEDgIAAQMLIAcgASoCvAOTIAEqAsQDkyEHQQMhACABQcwDagwBCyAHIAEqAsQDkyABKgK8A5MhB0EBIQAgAUHUA2oLIQUgAUHIA2oiCSAAQQJ0aioCACEPIAFBuANqIQAgByAFKgIAkyEHIAIqApQDIQ4gAkEUaiIFIARBASAGECQhECAFIARBASAGECMhEQJAIAQOBAACBQQBCyABQcwDaiEJIAFBvANqIQBBASEIDAQLECcACyABQdQDaiEJIAFBxANqIQBBAyEIDAILIAEqApADIAEqAsADkyABKgK4A5MgASoC0AOTIQcgAioCkAMhDiABKgLIAyEPIAJBFGoiBUEDQQEgBhAkIRAgBUEDQQEgBhAjIRELIAFB0ANqIQkgAUHAA2ohAEECIQgLIAIgCEECdGogByAPkyAOIBAgEZKSk0MAAAA/lCAAKgIAkiAJKgIAkiAFIAQgAyAGEDOSOAKYAwwGCyABLwAVQYCAA3FBgIACRw0CCwJ/AkACQAJAAkACQCAEDgQAAgMEAQsgASoCxAMgASoC1AOSIAJBFGpBACADIAYQPJIhBiACQZQDaiEAQQEhAyABQZQDagwECxAnAAsgASoCvAMgASoCzAOSIAJBFGpBASADIAYQPJIhBiACQZQDaiEAQQMhAyABQZQDagwCCyABKgLAAyABKgLQA5IgAkEUakECIAMgBhA8kiEGIAJBkANqIQBBACEDIAFBkANqDAELIAEqArgDIAEqAsgDkiACQRRqQQMgAyAGEDySIQYgAkGQA2ohAEECIQMgAUGQA2oLIQEgAiADQQJ0aiABKgIAIAAqAgCTIAaTOAKYAwwECyABLQAUQfAAcSIFQSBGIQkgBUEQRiEIDAELIAggBCADIAYQMyEGIAICfwJAAkACQAJAIAQOBAABAgMGCyABQcwDaiEEIAFBvANqIQNBAQwDCyABQdQDaiEEIAFBxANqIQNBAwwCCyABQcgDaiEEIAFBuANqIQNBAAwBCyABQdADaiEEIAFBwANqIQNBAgtBAnRqIAYgAyoCAJIgBCoCAJI4ApgDDAILIApBCGogAkEUaiILIARBAnQiBUHEJWooAgAgAxAvAkAgCi0ADEUEQCAFQbQlaigCACEFDAELIApBCGogCyAFQbQlaigCACIFIAMQLyAKLQAMDQACfwJAAkACQCAEDgQCAgABBQtBACEIIABBkANqDAILQQAhCCAAQZADagwBC0EBIQggAEGUA2oLIQEgAkGYAWoiAiAFQQJ0aiABKgIAIAIgCEECdGoqAvgBkyAAQRRqIAQgAxBLkyALIAQgAyAGIAcgDEECRhsiBhA8kyALIAQgAyAGEFmTOAKAAgwCCyAKQQhqIAsgBSADEC8gCEUgCi0ADEEAR3JFBEACQAJAAkACQCAEDgQBAQIABQsgASoCkAMgAioCkAOTIQZBAiEDDAILIAEqApQDIAIqApQDkyEGQQEhAwJAIAQOAgIABAtBAyEDDAELIAEqApADIAIqApADkyEGQQAhAwsgAiADQQJ0aiAGQwAAAD+UOAKYAwwCCyAKQQhqIAsgBSADEC8gCi0ADCAJQQFzcg0BAkACQAJAAkAgBA4EAQECAAQLIAEqApADIAIqApADkyEGQQIhAwwCCyABKgKUAyACKgKUA5MhBkEBIQMCQCAEDgICAAMLQQMhAwwBCyABKgKQAyACKgKQA5MhBkEAIQMLIAIgA0ECdGogBjgCmAMMAQsQJwALIApBEGokAAvOAQIDfwJ9IwBBEGsiAyQAQQEhBCADQQhqIABB/ABqIgUgACABQQF0akHoAGoiAS8BABAfAkACQCADKgIIIgcgAioCACIGXARAIAcgB1sEQCACLQAEIQIMAgsgBiAGXCEECyACLQAEIQIgBEUNACADLQAMIAJB/wFxRg0BCyAFIAEgBiACEDQDQCAALQAAIgFBBHENASAAIAFBBHI6AAAgACgCECIBBEAgACABEQAACyAAQYCAgP4HNgKcASAAKALcAyIADQALCyADQRBqJAALHAAgACABQQggAqcgAkIgiKcgA6cgA0IgiKcQFQsFABBQAAvOAQIDfwJ9IwBBEGsiAyQAQQEhBCADQQhqIABB/ABqIgUgACABQQF0akHEAGoiAS8BABAfAkACQCADKgIIIgcgAioCACIGXARAIAcgB1sEQCACLQAEIQIMAgsgBiAGXCEECyACLQAEIQIgBEUNACADLQAMIAJB/wFxRg0BCyAFIAEgBiACEDQDQCAALQAAIgFBBHENASAAIAFBBHI6AAAgACgCECIBBEAgACABEQAACyAAQYCAgP4HNgKcASAAKALcAyIADQALCyADQRBqJAALOQAgAEUEQEEADwsCfyABQYB/cUGAvwNGIAFB/wBNckUEQEHIO0EZNgIAQX8MAQsgACABOgAAQQELC8QCAAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAIAFBCWsOEgAKCwwKCwIDBAUMCwwMCgsHCAkLIAIgAigCACIBQQRqNgIAIAAgASgCADYCAA8LAAsgAiACKAIAIgFBBGo2AgAgACABMgEANwMADwsgAiACKAIAIgFBBGo2AgAgACABMwEANwMADwsgAiACKAIAIgFBBGo2AgAgACABMAAANwMADwsgAiACKAIAIgFBBGo2AgAgACABMQAANwMADwsACyACIAIoAgBBB2pBeHEiAUEIajYCACAAIAErAwA5AwAPCyAAIAIgAxECAAsPCyACIAIoAgAiAUEEajYCACAAIAE0AgA3AwAPCyACIAIoAgAiAUEEajYCACAAIAE1AgA3AwAPCyACIAIoAgBBB2pBeHEiAUEIajYCACAAIAEpAwA3AwALXQEEfyAAKAIAIQIDQCACLAAAIgMQTwRAQX8hBCAAIAJBAWoiAjYCACABQcyZs+YATQR/QX8gA0EwayIDIAFBCmwiBGogAyAEQf////8Hc0obBSAECyEBDAELCyABC6oUAhJ/AX4jAEHQAGsiCCQAIAggATYCTCAIQTdqIRcgCEE4aiEUAkACQAJAAkADQCABIQ0gByAOQf////8Hc0oNASAHIA5qIQ4CQAJAAkAgDSIHLQAAIgkEQANAAkACQCAJQf8BcSIBRQRAIAchAQwBCyABQSVHDQEgByEJA0AgCS0AAUElRwRAIAkhAQwCCyAHQQFqIQcgCS0AAiEKIAlBAmoiASEJIApBJUYNAAsLIAcgDWsiByAOQf////8HcyIYSg0HIAAEQCAAIA0gBxApCyAHDQYgCCABNgJMIAFBAWohB0F/IRICQCABLAABIgoQT0UNACABLQACQSRHDQAgAUEDaiEHIApBMGshEkEBIRULIAggBzYCTEEAIQwCQCAHLAAAIglBIGsiAUEfSwRAIAchCgwBCyAHIQpBASABdCIBQYnRBHFFDQADQCAIIAdBAWoiCjYCTCABIAxyIQwgBywAASIJQSBrIgFBIE8NASAKIQdBASABdCIBQYnRBHENAAsLAkAgCUEqRgRAAn8CQCAKLAABIgEQT0UNACAKLQACQSRHDQAgAUECdCAEakHAAWtBCjYCACAKQQNqIQlBASEVIAosAAFBA3QgA2pBgANrKAIADAELIBUNBiAKQQFqIQkgAEUEQCAIIAk2AkxBACEVQQAhEwwDCyACIAIoAgAiAUEEajYCAEEAIRUgASgCAAshEyAIIAk2AkwgE0EATg0BQQAgE2shEyAMQYDAAHIhDAwBCyAIQcwAahCAASITQQBIDQggCCgCTCEJC0EAIQdBfyELAn8gCS0AAEEuRwRAIAkhAUEADAELIAktAAFBKkYEQAJ/AkAgCSwAAiIBEE9FDQAgCS0AA0EkRw0AIAFBAnQgBGpBwAFrQQo2AgAgCUEEaiEBIAksAAJBA3QgA2pBgANrKAIADAELIBUNBiAJQQJqIQFBACAARQ0AGiACIAIoAgAiCkEEajYCACAKKAIACyELIAggATYCTCALQX9zQR92DAELIAggCUEBajYCTCAIQcwAahCAASELIAgoAkwhAUEBCyEPA0AgByERQRwhCiABIhAsAAAiB0H7AGtBRkkNCSAQQQFqIQEgByARQTpsakHPKmotAAAiB0EBa0EISQ0ACyAIIAE2AkwCQAJAIAdBG0cEQCAHRQ0LIBJBAE4EQCAEIBJBAnRqIAc2AgAgCCADIBJBA3RqKQMANwNADAILIABFDQggCEFAayAHIAIgBhB/DAILIBJBAE4NCgtBACEHIABFDQcLIAxB//97cSIJIAwgDEGAwABxGyEMQQAhEkGPCSEWIBQhCgJAAkACQAJ/AkACQAJAAkACfwJAAkACQAJAAkACQAJAIBAsAAAiB0FfcSAHIAdBD3FBA0YbIAcgERsiB0HYAGsOIQQUFBQUFBQUFA4UDwYODg4UBhQUFBQCBQMUFAkUARQUBAALAkAgB0HBAGsOBw4UCxQODg4ACyAHQdMARg0JDBMLIAgpA0AhGUGPCQwFC0EAIQcCQAJAAkACQAJAAkACQCARQf8BcQ4IAAECAwQaBQYaCyAIKAJAIA42AgAMGQsgCCgCQCAONgIADBgLIAgoAkAgDqw3AwAMFwsgCCgCQCAOOwEADBYLIAgoAkAgDjoAAAwVCyAIKAJAIA42AgAMFAsgCCgCQCAOrDcDAAwTC0EIIAsgC0EITRshCyAMQQhyIQxB+AAhBwsgFCENIAgpA0AiGVBFBEAgB0EgcSEQA0AgDUEBayINIBmnQQ9xQeAuai0AACAQcjoAACAZQg9WIQkgGUIEiCEZIAkNAAsLIAxBCHFFIAgpA0BQcg0DIAdBBHZBjwlqIRZBAiESDAMLIBQhByAIKQNAIhlQRQRAA0AgB0EBayIHIBmnQQdxQTByOgAAIBlCB1YhDSAZQgOIIRkgDQ0ACwsgByENIAxBCHFFDQIgCyAUIA1rIgdBAWogByALSBshCwwCCyAIKQNAIhlCAFMEQCAIQgAgGX0iGTcDQEEBIRJBjwkMAQsgDEGAEHEEQEEBIRJBkAkMAQtBkQlBjwkgDEEBcSISGwshFiAZIBQQPyENCyAPQQAgC0EASBsNDiAMQf//e3EgDCAPGyEMIAgpA0AiGUIAUiALckUEQCAUIQ1BACELDAwLIAsgGVAgFCANa2oiByAHIAtIGyELDAsLQQAhDAJ/Qf////8HIAsgC0H/////B08bIgoiEUEARyEQAkACfwJAAkAgCCgCQCIHQeQkIAcbIg0iD0EDcUUgEUVyDQADQCAPLQAAIgxFDQIgEUEBayIRQQBHIRAgD0EBaiIPQQNxRQ0BIBENAAsLIBBFDQICQCAPLQAARSARQQRJckUEQANAIA8oAgAiB0F/cyAHQYGChAhrcUGAgYKEeHENAiAPQQRqIQ8gEUEEayIRQQNLDQALCyARRQ0DC0EADAELQQELIRADQCAQRQRAIA8tAAAhDEEBIRAMAQsgDyAMRQ0CGiAPQQFqIQ8gEUEBayIRRQ0BQQAhEAwACwALQQALIgcgDWsgCiAHGyIHIA1qIQogC0EATgRAIAkhDCAHIQsMCwsgCSEMIAchCyAKLQAADQ0MCgsgCwRAIAgoAkAMAgtBACEHIABBICATQQAgDBArDAILIAhBADYCDCAIIAgpA0A+AgggCCAIQQhqIgc2AkBBfyELIAcLIQlBACEHAkADQCAJKAIAIg1FDQEgCEEEaiANEH4iCkEASCINIAogCyAHa0tyRQRAIAlBBGohCSALIAcgCmoiB0sNAQwCCwsgDQ0NC0E9IQogB0EASA0LIABBICATIAcgDBArIAdFBEBBACEHDAELQQAhCiAIKAJAIQkDQCAJKAIAIg1FDQEgCEEEaiANEH4iDSAKaiIKIAdLDQEgACAIQQRqIA0QKSAJQQRqIQkgByAKSw0ACwsgAEEgIBMgByAMQYDAAHMQKyATIAcgByATSBshBwwICyAPQQAgC0EASBsNCEE9IQogACAIKwNAIBMgCyAMIAcgBREaACIHQQBODQcMCQsgCCAIKQNAPAA3QQEhCyAXIQ0gCSEMDAQLIActAAEhCSAHQQFqIQcMAAsACyAADQcgFUUNAkEBIQcDQCAEIAdBAnRqKAIAIgAEQCADIAdBA3RqIAAgAiAGEH9BASEOIAdBAWoiB0EKRw0BDAkLC0EBIQ4gB0EKTw0HA0AgBCAHQQJ0aigCAA0BIAdBAWoiB0EKRw0ACwwHC0EcIQoMBAsgCyAKIA1rIhAgCyAQShsiCSASQf////8Hc0oNAkE9IQogEyAJIBJqIgsgCyATSBsiByAYSg0DIABBICAHIAsgDBArIAAgFiASECkgAEEwIAcgCyAMQYCABHMQKyAAQTAgCSAQQQAQKyAAIA0gEBApIABBICAHIAsgDEGAwABzECsMAQsLQQAhDgwDC0E9IQoLQcg7IAo2AgALQX8hDgsgCEHQAGokACAOC9kCAQR/IwBB0AFrIgUkACAFIAI2AswBIAVBoAFqIgJBAEEoEDAaIAUgBSgCzAE2AsgBAkBBACABIAVByAFqIAVB0ABqIAIgAyAEEIEBQQBIBEBBfyEEDAELQQEgBiAAKAJMQQBOGyEGIAAoAgAhByAAKAJIQQBMBEAgACAHQV9xNgIACwJ/AkACQCAAKAIwRQRAIABB0AA2AjAgAEEANgIcIABCADcDECAAKAIsIQggACAFNgIsDAELIAAoAhANAQtBfyAAEJMBDQEaCyAAIAEgBUHIAWogBUHQAGogBUGgAWogAyAEEIEBCyECIAgEQCAAQQBBACAAKAIkEQYAGiAAQQA2AjAgACAINgIsIABBADYCHCAAKAIUIQEgAEIANwMQIAJBfyABGyECCyAAIAAoAgAiACAHQSBxcjYCAEF/IAIgAEEgcRshBCAGRQ0ACyAFQdABaiQAIAQLfwIBfwF+IAC9IgNCNIinQf8PcSICQf8PRwR8IAJFBEAgASAARAAAAAAAAAAAYQR/QQAFIABEAAAAAAAA8EOiIAEQgwEhACABKAIAQUBqCzYCACAADwsgASACQf4HazYCACADQv////////+HgH+DQoCAgICAgIDwP4S/BSAACwsVACAARQRAQQAPC0HIOyAANgIAQX8LzwMAQaA7Qf4bEBxBoTtB+hVBAUEBQQAQG0GiO0H9EkEBQYB/Qf8AEARBoztB9hJBAUGAf0H/ABAEQaQ7QfQSQQFBAEH/ARAEQaU7QZQKQQJBgIB+Qf//ARAEQaY7QYsKQQJBAEH//wMQBEGnO0GxCkEEQYCAgIB4Qf////8HEARBqDtBqApBBEEAQX8QBEGpO0HoGEEEQYCAgIB4Qf////8HEARBqjtB3xhBBEEAQX8QBEGrO0GPEEKAgICAgICAgIB/Qv///////////wAQe0GsO0GOEEIAQn8Qe0GtO0GIEEEEEA1BrjtByhtBCBANQa87QfoYEA5BsDtB7yEQDkGxO0EEQe0YEAhBsjtBAkGGGRAIQbM7QQRBlRkQCEG0O0H/FRAaQbU7QQBBqiEQAUG2O0EAQZAiEAFBtztBAUHIIRABQbg7QQJBuh4QAUG5O0EDQdkeEAFBujtBBEGBHxABQbs7QQVBnh8QAUG8O0EEQbUiEAFBvTtBBUHTIhABQbY7QQBBhCAQAUG3O0EBQeMfEAFBuDtBAkHGIBABQbk7QQNBpCAQAUG6O0EEQYkhEAFBuztBBUHnIBABQb47QQZBxB8QAUG/O0EHQfoiEAELzQECA38CfSMAQRBrIgMkAEEBIQQgA0EIaiAAQfwAaiIFIAAgAUEBdGpBMmoiAS8BABAfAkACQCADKgIIIgcgAioCACIGXARAIAcgB1sEQCACLQAEIQIMAgsgBiAGXCEECyACLQAEIQIgBEUNACADLQAMIAJB/wFxRg0BCyAFIAEgBiACEDQDQCAALQAAIgFBBHENASAAIAFBBHI6AAAgACgCECIBBEAgACABEQAACyAAQYCAgP4HNgKcASAAKALcAyIADQALCyADQRBqJAALJQAgAEHEJjYCACAALQAEBEAgACgCCEH9DxBcCyAAKAIIEAYgAAsDAAALJQAgAEG8JzYCACAALQAEBEAgACgCCEH9DxBcCyAAKAIIEAYgAAs3AQJ/QQQQHiICIAE2AgBBBBAeIgMgATYCAEHvOiAAQa47QcooQb4BIAJBrjtBzihBvwEgAxAHCzcBAX8gASAAKAIEIgNBAXVqIQEgACgCACEAIAEgAiADQQFxBH8gASgCACAAaigCAAUgAAsRBQALOQEBfyABIAAoAgQiBEEBdWohASAAKAIAIQAgASACIAMgBEEBcQR/IAEoAgAgAGooAgAFIAALEQMACwkAIAEgABEAAAsHACAAEQ4ACzUBAX8gASAAKAIEIgJBAXVqIQEgACgCACEAIAEgAkEBcQR/IAEoAgAgAGooAgAFIAALEQAACzABAX8jAEEQayICJAAgAiABNgIIIAJBCGogABEBACEAIAIoAggQBiACQRBqJAAgAAsMACABIAAoAgARAAALCQAgAEEBOgAEC1kBAX8gACAAKAJIIgFBAWsgAXI2AkggACgCACIBQQhxBEAgACABQSByNgIAQX8PCyAAQgA3AgQgACAAKAIsIgE2AhwgACABNgIUIAAgASAAKAIwajYCEEEAC9knAQJ/Qew6Qe06Qe46QQBB5CVBB0HnJUEAQeclQQBByRZB6SVBCBAFQQgQHiIAQoiAgIAQNwMAQew6Qe0aQQZB8CVBiCZBCSAAQQEQAEHwOkHxOkHyOkHsOkHkJUEKQeQlQQtB5CVBDEG4EUHpJUENEAVBBBAeIgBBDjYCAEHwOkHYFEECQZAmQZgmQQ8gAEEAEABB7DpBowxBAkGcJkGkJkEQQREQA0HsOkHWG0EDQfQmQYAnQRJBExADQYQ7QYU7QYY7QQBB5CVBFEHnJUEAQeclQQBB2RZB6SVBFRAFQQgQHiIAQoiAgIAQNwMAQYQ7Qb4cQQJBiCdBmCZBFiAAQQEQAEGHO0GIO0GJO0GEO0HkJUEXQeQlQRhB5CVBGUHPEUHpJUEaEAVBBBAeIgBBGzYCAEGHO0HYFEECQZAnQZgmQRwgAEEAEABBhDtBowxBAkGYJ0GkJkEdQR4QA0GEO0HWG0EDQfQmQYAnQRJBHxADQYo7QYs7QYw7QQBB5CVBIEHnJUEAQeclQQBBsBpB6SVBIRAFQYo7QQFByCdB5CVBIkEjEA9BijtB5hpBAUHIJ0HkJUEiQSMQA0GKO0HpCEECQcwnQZgmQSRBJRADQQgQHiIAQQA2AgQgAEEmNgIAQYo7QYMcQQRB4CdB8CdBJyAAQQAQAEEIEB4iAEEANgIEIABBKDYCAEGKO0GkEUEDQfgnQYQoQSkgAEEAEABBCBAeIgBBADYCBCAAQSo2AgBBijtBnh1BA0GMKEGYKEErIABBABAAQQgQHiIAQQA2AgQgAEEsNgIAQYo7QaYQQQNBoChBmChBLSAAQQAQAEEIEB4iAEEANgIEIABBLjYCAEGKO0GhHEEDQawoQYAnQS8gAEEAEABBCBAeIgBBADYCBCAAQTA2AgBBijtBqB1BAkG4KEGkJkExIABBABAAQQgQHiIAQQA2AgQgAEEyNgIAQYo7QZcQQQJBwChBpCZBMyAAQQAQAEGNO0GECkHIKEE0QeklQTUQCkHiD0EAEEBB6g5BCBBAQYITQRAQQEHhFUEYEEBB8xZBIBBAQfAOQSgQQEGNOxAJQe86QdUaQcgoQTZB6SVBNxAKQfMWQQAQigFB8A5BCBCKAUHvOhAJQY47QeAaQcgoQThB6SVBORAKQQQQHiIAQQg2AgBBBBAeIgFBCDYCAEGOO0HaGkGuO0HKKEE6IABBrjtBzihBOyABEAdBBBAeIgBBADYCAEEEEB4iAUEANgIAQY47QeUOQac7QaQmQTwgAEGnO0GYKEE9IAEQB0GOOxAJQY87QZA7QZE7QQBB5CVBPkHnJUEAQeclQQBB0RtB6SVBPxAFQY87QQFB1ChB5CVBwABBwQAQD0GPO0HXDkEBQdQoQeQlQcAAQcEAEANBjztBphpBAkHYKEGkJkHCAEHDABADQY87QekIQQJB4ChBmCZBxABBxQAQA0EIEB4iAEEANgIEIABBxgA2AgBBjztB9w9BAkHgKEGYJkHHACAAQQAQAEEIEB4iAEEANgIEIABByAA2AgBBjztBwBtBA0HoKEGYKEHJACAAQQAQAEEIEB4iAEEANgIEIABBygA2AgBBjztB9RpBA0H0KEGYKEHLACAAQQAQAEEIEB4iAEEANgIEIABBzAA2AgBBjztBwBRBBEGAKUGQKUHNACAAQQAQAEEIEB4iAEEANgIEIABBzgA2AgBBjztBiA1BBEGAKUGQKUHNACAAQQAQAEEIEB4iAEEANgIEIABBzwA2AgBBjztB+QtBA0H0KEGYKEHLACAAQQAQAEEIEB4iAEEANgIEIABB0AA2AgBBjztBuBBBA0H0KEGYKEHLACAAQQAQAEEIEB4iAEEANgIEIABB0QA2AgBBjztBuxpBA0H0KEGYKEHLACAAQQAQAEEIEB4iAEEANgIEIABB0gA2AgBBjztB7BRBA0H0KEGYKEHLACAAQQAQAEEIEB4iAEEANgIEIABB0wA2AgBBjztBlRNBA0H0KEGYKEHLACAAQQAQAEEIEB4iAEEANgIEIABB1AA2AgBBjztBtQpBA0H0KEGYKEHLACAAQQAQAEEIEB4iAEEANgIEIABB1QA2AgBBjztBqBVBBEGAKUGQKUHNACAAQQAQAEEIEB4iAEEANgIEIABB1gA2AgBBjztBmw1BBEGAKUGQKUHNACAAQQAQAEEIEB4iAEEANgIEIABB1wA2AgBBjztB3RNBA0H0KEGYKEHLACAAQQAQAEEIEB4iAEEANgIEIABB2AA2AgBBjztBxAlBA0H0KEGYKEHLACAAQQAQAEEIEB4iAEEANgIEIABB2QA2AgBBjztB8QhBA0H0KEGYKEHLACAAQQAQAEEIEB4iAEEANgIEIABB2gA2AgBBjztBhwlBA0GYKUHOKEHbACAAQQAQAEEIEB4iAEEANgIEIABB3AA2AgBBjztB1BBBA0GYKUHOKEHbACAAQQAQAEEIEB4iAEEANgIEIABB3QA2AgBBjztB5gxBA0GYKUHOKEHbACAAQQAQAEEIEB4iAEEANgIEIABB3gA2AgBBjztBzBNBAkHgKEGYJkHHACAAQQAQAEEIEB4iAEEANgIEIABB3wA2AgBBjztBrAlBA0GYKUHOKEHbACAAQQAQAEEIEB4iAEEANgIEIABB4AA2AgBBjztBjxZBA0GYKUHOKEHbACAAQQAQAEEIEB4iAEEANgIEIABB4QA2AgBBjztBkRdBA0GYKUHOKEHbACAAQQAQAEEIEB4iAEEANgIEIABB4gA2AgBBjztBvw1BA0GYKUHOKEHbACAAQQAQAEEIEB4iAEEANgIEIABB4wA2AgBBjztB6xNBAkHgKEGYJkHHACAAQQAQAEEIEB4iAEEANgIEIABB5AA2AgBBjztBkQ9BA0GYKUHOKEHbACAAQQAQAEEIEB4iAEEANgIEIABB5QA2AgBBjztBwQxBA0GYKUHOKEHbACAAQQAQAEEIEB4iAEEANgIEIABB5gA2AgBBjztBvhNBAkHgKEGYJkHHACAAQQAQAEEIEB4iAEEANgIEIABB5wA2AgBBjztBoxdBA0GYKUHOKEHbACAAQQAQAEEIEB4iAEEANgIEIABB6AA2AgBBjztBzw1BA0GYKUHOKEHbACAAQQAQAEEIEB4iAEEANgIEIABB6QA2AgBBjztBpQ9BA0GYKUHOKEHbACAAQQAQAEEIEB4iAEEANgIEIABB6gA2AgBBjztB0gxBA0GYKUHOKEHbACAAQQAQAEEIEB4iAEEANgIEIABB6wA2AgBBjztB+RZBA0GYKUHOKEHbACAAQQAQAEEIEB4iAEEANgIEIABB7AA2AgBBjztBrA1BA0GYKUHOKEHbACAAQQAQAEEIEB4iAEEANgIEIABB7QA2AgBBjztB9w5BA0GYKUHOKEHbACAAQQAQAEEIEB4iAEEANgIEIABB7gA2AgBBjztBrQxBA0GYKUHOKEHbACAAQQAQAEEIEB4iAEEANgIEIABB7wA2AgBBjztBohRBA0GYKUHOKEHbACAAQQAQAEEIEB4iAEEANgIEIABB8AA2AgBBjztBlBJBBEGAKUGQKUHNACAAQQAQAEEIEB4iAEEANgIEIABB8QA2AgBBjztBpBlBBEGAKUGQKUHNACAAQQAQAEEIEB4iAEEANgIEIABB8gA2AgBBjztB4g1BBEGAKUGQKUHNACAAQQAQAEEIEB4iAEEANgIEIABB8wA2AgBBjztBrRNBBEGAKUGQKUHNACAAQQAQAEEIEB4iAEEANgIEIABB9AA2AgBBjztB+gxBBEGAKUGQKUHNACAAQQAQAEEIEB4iAEEANgIEIABB9QA2AgBBjztBjhVBA0H0KEGYKEHLACAAQQAQAEEIEB4iAEEANgIEIABB9gA2AgBBjztBhRtBAkGkKUGkJkH3ACAAQQAQAEEIEB4iAEEANgIEIABB+AA2AgBBjztBzBRBA0GsKUGAJ0H5ACAAQQAQAEEIEB4iAEEANgIEIABB+gA2AgBBjztBiQxBAkGkKUGkJkH3ACAAQQAQAEEIEB4iAEEANgIEIABB+wA2AgBBjztBxhBBAkGkKUGkJkH3ACAAQQAQAEEIEB4iAEEANgIEIABB/AA2AgBBjztByBpBAkGkKUGkJkH3ACAAQQAQAEEIEB4iAEEANgIEIABB/QA2AgBBjztB/RRBAkGkKUGkJkH3ACAAQQAQAEEIEB4iAEEANgIEIABB/gA2AgBBjztBoRNBAkGkKUGkJkH3ACAAQQAQAEEIEB4iAEEANgIEIABB/wA2AgBBjztBxwpBAkGkKUGkJkH3ACAAQQAQAEEIEB4iAEEANgIEIABBgAE2AgBBjztBshVBA0GsKUGAJ0H5ACAAQQAQAEEIEB4iAEEANgIEIABBgQE2AgBBjztB4RBBAkG4KUGkJkGCASAAQQAQAEEIEB4iAEEANgIEIABBgwE2AgBBjztBuAlBAkHAKUHKKEGEASAAQQAQAEEIEB4iAEEANgIEIABBhQE2AgBBjztBnRZBAkHAKUHKKEGEASAAQQAQAEEIEB4iAEEANgIEIABBhgE2AgBBjztBmhdBAkG4KUGkJkGCASAAQQAQAEEIEB4iAEEANgIEIABBhwE2AgBBjztBmw9BAkG4KUGkJkGCASAAQQAQAEEIEB4iAEEANgIEIABBiAE2AgBBjztBrxdBAkG4KUGkJkGCASAAQQAQAEEIEB4iAEEANgIEIABBiQE2AgBBjztBsg9BAkG4KUGkJkGCASAAQQAQAEEIEB4iAEEANgIEIABBigE2AgBBjztBhRdBAkG4KUGkJkGCASAAQQAQAEEIEB4iAEEANgIEIABBiwE2AgBBjztBhA9BAkG4KUGkJkGCASAAQQAQAEEIEB4iAEEANgIEIABBjAE2AgBBjztBsRRBAkHAKUHKKEGEASAAQQAQAEEIEB4iAEEANgIEIABBjQE2AgBBjztBnhJBA0HIKUHUKUGOASAAQQAQAEEIEB4iAEEANgIEIABBjwE2AgBBjztB0AlBAkGkKUGkJkH3ACAAQQAQAEEIEB4iAEEANgIEIABBkAE2AgBBjztB/AhBAkGkKUGkJkH3ACAAQQAQAEEIEB4iAEEANgIEIABBkQE2AgBBjztBrxlBA0GsKUGAJ0H5ACAAQQAQAEEIEB4iAEEANgIEIABBkgE2AgBBjztBtBNBA0HcKUHoKUGTASAAQQAQAEEIEB4iAEEANgIEIABBlAE2AgBBjztB3RtBBEHwKUHwJ0GVASAAQQAQAEEIEB4iAEEANgIEIABBlgE2AgBBjztB8htBA0GAKkGYKEGXASAAQQAQAEEIEB4iAEEANgIEIABBmAE2AgBBjztBmgpBAkGMKkGkJkGZASAAQQAQAEEIEB4iAEEANgIEIABBmgE2AgBBjztBmQxBAkGUKkGkJkGbASAAQQAQAEEIEB4iAEEANgIEIABBnAE2AgBBjztB6RtBA0GcKkGAJ0GdASAAQQAQAEEIEB4iAEEANgIEIABBngE2AgBBjztBqxZBA0GoKkGYKEGfASAAQQAQAEEIEB4iAEEANgIEIABBoAE2AgBBjztBlRtBAkG0KkGkJkGhASAAQQAQAEEIEB4iAEEANgIEIABBogE2AgBBjztBqRtBA0GoKkGYKEGfASAAQQAQAEEIEB4iAEEANgIEIABBowE2AgBBjztB/hxBA0G8KkGYKEGkASAAQQAQAEEIEB4iAEEANgIEIABBpQE2AgBBjztB/BxBAkHgKEGYJkHHACAAQQAQAEEIEB4iAEEANgIEIABBpgE2AgBBjztBjx1BA0HIKkGYKEGnASAAQQAQAEEIEB4iAEEANgIEIABBqAE2AgBBjztBjR1BAkHgKEGYJkHHACAAQQAQAEEIEB4iAEEANgIEIABBqQE2AgBBjztB3whBAkHgKEGYJkHHACAAQQAQAEEIEB4iAEEANgIEIABBqgE2AgBBjztB1whBAkHUKkGkJkGrASAAQQAQAEEIEB4iAEEANgIEIABBrAE2AgBBjztBzhVBAkHgKEGYJkHHACAAQQAQAEEIEB4iAEEANgIEIABBrQE2AgBBjztB3AlBAkHUKkGkJkGrASAAQQAQAEEIEB4iAEEANgIEIABBrgE2AgBBjztB6QlBBUHgKkH0KkGvASAAQQAQAEEIEB4iAEEANgIEIABBsAE2AgBBjztB5w9BAkHAKUHKKEGEASAAQQAQAEEIEB4iAEEANgIEIABBsQE2AgBBjztB0Q9BAkHAKUHKKEGEASAAQQAQAEEIEB4iAEEANgIEIABBsgE2AgBBjztBhhNBAkHAKUHKKEGEASAAQQAQAEEIEB4iAEEANgIEIABBswE2AgBBjztB6BVBAkHAKUHKKEGEASAAQQAQAEEIEB4iAEEANgIEIABBtAE2AgBBjztBuxdBAkHAKUHKKEGEASAAQQAQAEEIEB4iAEEANgIEIABBtQE2AgBBjztBvw9BAkHAKUHKKEGEASAAQQAQAEEIEB4iAEEANgIEIABBtgE2AgBBjztB+QlBAkH8KkGkJkG3ASAAQQAQAEEIEB4iAEEANgIEIABBuAE2AgBBjztBvBVBA0HIKUHUKUGOASAAQQAQAEEIEB4iAEEANgIEIABBuQE2AgBBjztBqBJBA0HIKUHUKUGOASAAQQAQAEEIEB4iAEEANgIEIABBugE2AgBBjztBuhlBA0HIKUHUKUGOASAAQQAQAEEIEB4iAEEANgIEIABBuwE2AgBBjztBmxVBAkGkKUGkJkH3ACAAQQAQAAtHAAJAIAFBA00EfyAAIAFBAnRqQQRqBSABQQRrIgEgACgCGCIAKAIEIAAoAgAiAGtBAnVPDQEgACABQQJ0agsoAgAPCxACAAs4AQF/IAFBAEgEQBACAAsgAUEBa0EFdkEBaiIBQQJ0EB4hAiAAIAE2AgggAEEANgIEIAAgAjYCAAvSBQEJfyAAIAEvAQA7AQAgACABKQIENwIEIAAgASkCDDcCDCAAIAEoAhQ2AhQCQAJAIAEoAhgiA0UNAEEYEB4iBUEANgIIIAVCADcCACADKAIEIgEgAygCACICRwRAIAEgAmsiAkEASA0CIAUgAhAeIgE2AgAgBSABIAJqNgIIIAMoAgAiAiADKAIEIgZHBEADQCABIAIoAgA2AgAgAUEEaiEBIAJBBGoiAiAGRw0ACwsgBSABNgIECyAFQgA3AgwgBUEANgIUIAMoAhAiAUUNACAFQQxqIAEQlgEgAygCDCEGIAUgBSgCECIEIAMoAhAiAkEfcWogAkFgcWoiATYCEAJAAkAgBEUEQCABQQFrIQMMAQsgAUEBayIDIARBAWtzQSBJDQELIAUoAgwgA0EFdkEAIAFBIU8bQQJ0akEANgIACyAFKAIMIARBA3ZB/P///wFxaiEBIARBH3EiA0UEQCACQQBMDQEgAkEgbSEDIAJBH2pBP08EQCABIAYgA0ECdBAxGgsgAiADQQV0ayICQQBMDQEgASADQQJ0IgNqIgEgASgCAEF/QSAgAmt2IgFBf3NxIAMgBmooAgAgAXFyNgIADAELIAJBAEwNAEF/IAN0IQhBICADayEEIAJBIE4EQCAIQX9zIQkgASgCACEHA0AgASAHIAlxIAYoAgAiByADdHI2AgAgASABKAIEIAhxIAcgBHZyIgc2AgQgBkEEaiEGIAFBBGohASACQT9LIQogAkEgayECIAoNAAsgAkEATA0BCyABIAEoAgBBfyAEIAQgAiACIARKGyIEa3YgCHFBf3NxIAYoAgBBf0EgIAJrdnEiBiADdHI2AgAgAiAEayICQQBMDQAgASADIARqQQN2Qfz///8BcWoiASABKAIAQX9BICACa3ZBf3NxIAYgBHZyNgIACyAAKAIYIQEgACAFNgIYIAEEQCABEFMLDwsQAgALCgBBDBAeIAAQZQsKAEEMEB5BABBlCw0AIAAoAgAtAAhBAXELCgAgACgCACgCEAsZACABQf8BcQRAEAIACyAAKAIAKAIMQQFxCxgAIAAoAgAiACAALQAIQf4BcSABcjoACAsMACAAKAIAIAE2AhALegECfyMAQRBrIgIkACAAKAIAIQAgAUMAAAAAYEUEQCACQfgTNgIAIwBBEGsiAyQAIAMgAjYCDAJAIABFBEBBiDBBriUgAhBBGgwBCyAAQQBBBUGuJSACIAAoAgQRDQAaCyADQRBqJAAQJwALIAAgATgCFCACQRBqJAALIwAgAUH/AXEEQBACAAsgACgCACIAIAAoAgxBfnEgAnI2AgwLPgECf0EEEB4hAUEcEB4iAEKAgID8AzcCFCAAQgA3AgwgAEEAOgAIIABBAzYCBCAAQQA2AgAgASAANgIAIAELIAAgAkEFR0EAIAIbRQRAQYgwIAMgBBBBDwsgAyAEEGkLIgEBfiABIAKtIAOtQiCGhCAEIAARFAAiBUIgiKckASAFpwuoAQEFfyAAKAJUIgMoAgAhBSADKAIEIgQgACgCFCAAKAIcIgdrIgYgBCAGSRsiBgRAIAUgByAGECwaIAMgAygCACAGaiIFNgIAIAMgAygCBCAGayIENgIECyAEIAIgAiAESxsiBARAIAUgASAEECwaIAMgAygCACAEaiIFNgIAIAMgAygCBCAEazYCBAsgBUEAOgAAIAAgACgCLCIBNgIcIAAgATYCFCACCwQAQgALBABBAAuKBQIGfgJ/IAEgASgCAEEHakF4cSIBQRBqNgIAIAAhCSABKQMAIQMgASkDCCEGIwBBIGsiCCQAAkAgBkL///////////8AgyIEQoCAgICAgMCAPH0gBEKAgICAgIDA/8MAfVQEQCAGQgSGIANCPIiEIQQgA0L//////////w+DIgNCgYCAgICAgIAIWgRAIARCgYCAgICAgIDAAHwhAgwCCyAEQoCAgICAgICAQH0hAiADQoCAgICAgICACFINASACIARCAYN8IQIMAQsgA1AgBEKAgICAgIDA//8AVCAEQoCAgICAgMD//wBRG0UEQCAGQgSGIANCPIiEQv////////8Dg0KAgICAgICA/P8AhCECDAELQoCAgICAgID4/wAhAiAEQv///////7//wwBWDQBCACECIARCMIinIgBBkfcASQ0AIAMhAiAGQv///////z+DQoCAgICAgMAAhCIFIQcCQCAAQYH3AGsiAUHAAHEEQCACIAFBQGqthiEHQgAhAgwBCyABRQ0AIAcgAa0iBIYgAkHAACABa62IhCEHIAIgBIYhAgsgCCACNwMQIAggBzcDGAJAQYH4ACAAayIAQcAAcQRAIAUgAEFAaq2IIQNCACEFDAELIABFDQAgBUHAACAAa62GIAMgAK0iAoiEIQMgBSACiCEFCyAIIAM3AwAgCCAFNwMIIAgpAwhCBIYgCCkDACIDQjyIhCECIAgpAxAgCCkDGIRCAFKtIANC//////////8Pg4QiA0KBgICAgICAgAhaBEAgAkIBfCECDAELIANCgICAgICAgIAIUg0AIAJCAYMgAnwhAgsgCEEgaiQAIAkgAiAGQoCAgICAgICAgH+DhL85AwALmRgDEn8BfAN+IwBBsARrIgwkACAMQQA2AiwCQCABvSIZQgBTBEBBASERQZkJIRMgAZoiAb0hGQwBCyAEQYAQcQRAQQEhEUGcCSETDAELQZ8JQZoJIARBAXEiERshEyARRSEVCwJAIBlCgICAgICAgPj/AINCgICAgICAgPj/AFEEQCAAQSAgAiARQQNqIgMgBEH//3txECsgACATIBEQKSAAQd0VQbIeIAVBIHEiBRtBtxpBth4gBRsgASABYhtBAxApIABBICACIAMgBEGAwABzECsgAyACIAIgA0gbIQoMAQsgDEEQaiESAkACfwJAIAEgDEEsahCDASIBIAGgIgFEAAAAAAAAAABiBEAgDCAMKAIsIgZBAWs2AiwgBUEgciIOQeEARw0BDAMLIAVBIHIiDkHhAEYNAiAMKAIsIQlBBiADIANBAEgbDAELIAwgBkEdayIJNgIsIAFEAAAAAAAAsEGiIQFBBiADIANBAEgbCyELIAxBMGpBoAJBACAJQQBOG2oiDSEHA0AgBwJ/IAFEAAAAAAAA8EFjIAFEAAAAAAAAAABmcQRAIAGrDAELQQALIgM2AgAgB0EEaiEHIAEgA7ihRAAAAABlzc1BoiIBRAAAAAAAAAAAYg0ACwJAIAlBAEwEQCAJIQMgByEGIA0hCAwBCyANIQggCSEDA0BBHSADIANBHU4bIQMCQCAHQQRrIgYgCEkNACADrSEaQgAhGQNAIAYgGUL/////D4MgBjUCACAahnwiG0KAlOvcA4AiGUKA7JSjDH4gG3w+AgAgBkEEayIGIAhPDQALIBmnIgZFDQAgCEEEayIIIAY2AgALA0AgCCAHIgZJBEAgBkEEayIHKAIARQ0BCwsgDCAMKAIsIANrIgM2AiwgBiEHIANBAEoNAAsLIANBAEgEQCALQRlqQQluQQFqIQ8gDkHmAEYhEANAQQlBACADayIDIANBCU4bIQoCQCAGIAhNBEAgCCgCACEHDAELQYCU69wDIAp2IRRBfyAKdEF/cyEWQQAhAyAIIQcDQCAHIAMgBygCACIXIAp2ajYCACAWIBdxIBRsIQMgB0EEaiIHIAZJDQALIAgoAgAhByADRQ0AIAYgAzYCACAGQQRqIQYLIAwgDCgCLCAKaiIDNgIsIA0gCCAHRUECdGoiCCAQGyIHIA9BAnRqIAYgBiAHa0ECdSAPShshBiADQQBIDQALC0EAIQMCQCAGIAhNDQAgDSAIa0ECdUEJbCEDQQohByAIKAIAIgpBCkkNAANAIANBAWohAyAKIAdBCmwiB08NAAsLIAsgA0EAIA5B5gBHG2sgDkHnAEYgC0EAR3FrIgcgBiANa0ECdUEJbEEJa0gEQEEEQaQCIAlBAEgbIAxqIAdBgMgAaiIKQQltIg9BAnRqQdAfayEJQQohByAPQXdsIApqIgpBB0wEQANAIAdBCmwhByAKQQFqIgpBCEcNAAsLAkAgCSgCACIQIBAgB24iDyAHbCIKRiAJQQRqIhQgBkZxDQAgECAKayEQAkAgD0EBcUUEQEQAAAAAAABAQyEBIAdBgJTr3ANHIAggCU9yDQEgCUEEay0AAEEBcUUNAQtEAQAAAAAAQEMhAQtEAAAAAAAA4D9EAAAAAAAA8D9EAAAAAAAA+D8gBiAURhtEAAAAAAAA+D8gECAHQQF2IhRGGyAQIBRJGyEYAkAgFQ0AIBMtAABBLUcNACAYmiEYIAGaIQELIAkgCjYCACABIBigIAFhDQAgCSAHIApqIgM2AgAgA0GAlOvcA08EQANAIAlBADYCACAIIAlBBGsiCUsEQCAIQQRrIghBADYCAAsgCSAJKAIAQQFqIgM2AgAgA0H/k+vcA0sNAAsLIA0gCGtBAnVBCWwhA0EKIQcgCCgCACIKQQpJDQADQCADQQFqIQMgCiAHQQpsIgdPDQALCyAJQQRqIgcgBiAGIAdLGyEGCwNAIAYiByAITSIKRQRAIAdBBGsiBigCAEUNAQsLAkAgDkHnAEcEQCAEQQhxIQkMAQsgA0F/c0F/IAtBASALGyIGIANKIANBe0pxIgkbIAZqIQtBf0F+IAkbIAVqIQUgBEEIcSIJDQBBdyEGAkAgCg0AIAdBBGsoAgAiDkUNAEEKIQpBACEGIA5BCnANAANAIAYiCUEBaiEGIA4gCkEKbCIKcEUNAAsgCUF/cyEGCyAHIA1rQQJ1QQlsIQogBUFfcUHGAEYEQEEAIQkgCyAGIApqQQlrIgZBACAGQQBKGyIGIAYgC0obIQsMAQtBACEJIAsgAyAKaiAGakEJayIGQQAgBkEAShsiBiAGIAtKGyELC0F/IQogC0H9////B0H+////ByAJIAtyIhAbSg0BIAsgEEEAR2pBAWohDgJAIAVBX3EiFUHGAEYEQCADIA5B/////wdzSg0DIANBACADQQBKGyEGDAELIBIgAyADQR91IgZzIAZrrSASED8iBmtBAUwEQANAIAZBAWsiBkEwOgAAIBIgBmtBAkgNAAsLIAZBAmsiDyAFOgAAIAZBAWtBLUErIANBAEgbOgAAIBIgD2siBiAOQf////8Hc0oNAgsgBiAOaiIDIBFB/////wdzSg0BIABBICACIAMgEWoiBSAEECsgACATIBEQKSAAQTAgAiAFIARBgIAEcxArAkACQAJAIBVBxgBGBEAgDEEQaiIGQQhyIQMgBkEJciEJIA0gCCAIIA1LGyIKIQgDQCAINQIAIAkQPyEGAkAgCCAKRwRAIAYgDEEQak0NAQNAIAZBAWsiBkEwOgAAIAYgDEEQaksNAAsMAQsgBiAJRw0AIAxBMDoAGCADIQYLIAAgBiAJIAZrECkgCEEEaiIIIA1NDQALIBAEQCAAQeIkQQEQKQsgC0EATCAHIAhNcg0BA0AgCDUCACAJED8iBiAMQRBqSwRAA0AgBkEBayIGQTA6AAAgBiAMQRBqSw0ACwsgACAGQQkgCyALQQlOGxApIAtBCWshBiAIQQRqIgggB08NAyALQQlKIQMgBiELIAMNAAsMAgsCQCALQQBIDQAgByAIQQRqIAcgCEsbIQogDEEQaiIGQQhyIQMgBkEJciENIAghBwNAIA0gBzUCACANED8iBkYEQCAMQTA6ABggAyEGCwJAIAcgCEcEQCAGIAxBEGpNDQEDQCAGQQFrIgZBMDoAACAGIAxBEGpLDQALDAELIAAgBkEBECkgBkEBaiEGIAkgC3JFDQAgAEHiJEEBECkLIAAgBiALIA0gBmsiBiAGIAtKGxApIAsgBmshCyAHQQRqIgcgCk8NASALQQBODQALCyAAQTAgC0ESakESQQAQKyAAIA8gEiAPaxApDAILIAshBgsgAEEwIAZBCWpBCUEAECsLIABBICACIAUgBEGAwABzECsgBSACIAIgBUgbIQoMAQsgEyAFQRp0QR91QQlxaiELAkAgA0ELSw0AQQwgA2shBkQAAAAAAAAwQCEYA0AgGEQAAAAAAAAwQKIhGCAGQQFrIgYNAAsgCy0AAEEtRgRAIBggAZogGKGgmiEBDAELIAEgGKAgGKEhAQsgEUECciEJIAVBIHEhCCASIAwoAiwiByAHQR91IgZzIAZrrSASED8iBkYEQCAMQTA6AA8gDEEPaiEGCyAGQQJrIg0gBUEPajoAACAGQQFrQS1BKyAHQQBIGzoAACAEQQhxIQYgDEEQaiEHA0AgByIFAn8gAZlEAAAAAAAA4EFjBEAgAaoMAQtBgICAgHgLIgdB4C5qLQAAIAhyOgAAIAYgA0EASnJFIAEgB7ehRAAAAAAAADBAoiIBRAAAAAAAAAAAYXEgBUEBaiIHIAxBEGprQQFHckUEQCAFQS46AAEgBUECaiEHCyABRAAAAAAAAAAAYg0AC0F/IQpB/f///wcgCSASIA1rIgVqIgZrIANIDQAgAEEgIAIgBgJ/AkAgA0UNACAHIAxBEGprIghBAmsgA04NACADQQJqDAELIAcgDEEQamsiCAsiB2oiAyAEECsgACALIAkQKSAAQTAgAiADIARBgIAEcxArIAAgDEEQaiAIECkgAEEwIAcgCGtBAEEAECsgACANIAUQKSAAQSAgAiADIARBgMAAcxArIAMgAiACIANIGyEKCyAMQbAEaiQAIAoLRgEBfyAAKAI8IQMjAEEQayIAJAAgAyABpyABQiCIpyACQf8BcSAAQQhqEBQQhAEhAiAAKQMIIQEgAEEQaiQAQn8gASACGwu+AgEHfyMAQSBrIgMkACADIAAoAhwiBDYCECAAKAIUIQUgAyACNgIcIAMgATYCGCADIAUgBGsiATYCFCABIAJqIQVBAiEGIANBEGohAQJ/A0ACQAJAAkAgACgCPCABIAYgA0EMahAYEIQBRQRAIAUgAygCDCIHRg0BIAdBAE4NAgwDCyAFQX9HDQILIAAgACgCLCIBNgIcIAAgATYCFCAAIAEgACgCMGo2AhAgAgwDCyABIAcgASgCBCIISyIJQQN0aiIEIAcgCEEAIAkbayIIIAQoAgBqNgIAIAFBDEEEIAkbaiIBIAEoAgAgCGs2AgAgBSAHayEFIAYgCWshBiAEIQEMAQsLIABBADYCHCAAQgA3AxAgACAAKAIAQSByNgIAQQAgBkECRg0AGiACIAEoAgRrCyEEIANBIGokACAECwkAIAAoAjwQGQsjAQF/QZQ7KAIAIgAEQANAIAAoAgARCQAgACgCBCIADQALCwu/AgEFfyMAQeAAayICJAAgAiAANgIAIwBBEGsiAyQAIAMgAjYCDCMAQZABayIAJAAgAEHwLkGQARAsIgAgAkEQaiIFIgE2AiwgACABNgIUIABB/////wdBfiABayIEIARB/////wdPGyIENgIwIAAgASAEaiIBNgIcIAAgATYCECAAQbsTIAJBAEEAEIIBGiAEBEAgACgCFCIBIAEgACgCEEZrQQA6AAALIABBkAFqJAAgA0EQaiQAAkAgBSIAQQNxBEADQCAALQAARQ0CIABBAWoiAEEDcQ0ACwsDQCAAIgFBBGohACABKAIAIgNBf3MgA0GBgoQIa3FBgIGChHhxRQ0ACwNAIAEiAEEBaiEBIAAtAAANAAsLIAAgBWtBAWoiABBWIgEEfyABIAUgABAsBUEACyEAIAJB4ABqJAAgAAvFAQICfwF8IwBBMGsiBiQAIAEoAgghBwJAQYA7LQAAQQFxBEBB/DooAgAhAQwBC0EFQeAmEAwhAUGAO0EBOgAAQfw6IAE2AgALIAYgBTYCKCAGIAQ4AiAgBiADNgIYIAYgAjgCEAJ/IAEgB0HtGiAGQQxqIAZBEGoQEiIIRAAAAAAAAPBBYyAIRAAAAAAAAAAAZnEEQCAIqwwBC0EACyEBIAYoAgwhAyAAIAEpAwA3AwAgACABKQMINwMIIAMQESAGQTBqJAALCQAgABCHARAoCwwAIAAoAghBvhwQXAsJACAAEIkBECgLVQECfyMAQTBrIgIkACABIAAoAgQiA0EBdWohASAAKAIAIQAgAiABIANBAXEEfyABKAIAIABqKAIABSAACxECAEEwEB4gAkEwECwhACACQTBqJAAgAAs7AQF/IAEgACgCBCIFQQF1aiEBIAAoAgAhACABIAIgAyAEIAVBAXEEfyABKAIAIABqKAIABSAACxEcAAs3AQF/IAEgACgCBCIDQQF1aiEBIAAoAgAhACABIAIgA0EBcQR/IAEoAgAgAGooAgAFIAALERIACzcBAX8gASAAKAIEIgNBAXVqIQEgACgCACEAIAEgAiADQQFxBH8gASgCACAAaigCAAUgAAsRDAALNQEBfyABIAAoAgQiAkEBdWohASAAKAIAIQAgASACQQFxBH8gASgCACAAaigCAAUgAAsRCwALYQECfyMAQRBrIgIkACABIAAoAgQiA0EBdWohASAAKAIAIQAgAiABIANBAXEEfyABKAIAIABqKAIABSAACxECAEEQEB4iACACKQMINwMIIAAgAikDADcDACACQRBqJAAgAAtjAQJ/IwBBEGsiAyQAIAEgACgCBCIEQQF1aiEBIAAoAgAhACADIAEgAiAEQQFxBH8gASgCACAAaigCAAUgAAsRAwBBEBAeIgAgAykDCDcDCCAAIAMpAwA3AwAgA0EQaiQAIAALNwEBfyABIAAoAgQiA0EBdWohASAAKAIAIQAgASACIANBAXEEfyABKAIAIABqKAIABSAACxEEAAs5AQF/IAEgACgCBCIEQQF1aiEBIAAoAgAhACABIAIgAyAEQQFxBH8gASgCACAAaigCAAUgAAsRCAALCQAgASAAEQEACwUAQY87Cw8AIAEgACgCAGogAjYCAAsNACABIAAoAgBqKAIACxgBAX9BEBAeIgBCADcDCCAAQQA2AgAgAAsYAQF/QRAQHiIAQgA3AwAgAEIANwMIIAALDABBMBAeQQBBMBAwCzcBAX8gASAAKAIEIgNBAXVqIQEgACgCACEAIAEgAiADQQFxBH8gASgCACAAaigCAAUgAAsRGwALBQBBijsLIQAgACABKAIAIAEgASwAC0EASBtBhzsgAigCABAQNgIACyoBAX9BDBAeIgFBADoABCABIAAoAgA2AgggAEEANgIAIAFBqCc2AgAgAQsFAEGHOwsFAEGEOwshACAAIAEoAgAgASABLAALQQBIG0HwOiACKAIAEBA2AgAL2AEBBH8jAEEgayIDJAAgASgCACIEQfD///8HSQRAAkACQCAEQQtPBEAgBEEPckEBaiIFEB4hBiADIAVBgICAgHhyNgIQIAMgBjYCCCADIAQ2AgwgBCAGaiEFDAELIAMgBDoAEyADQQhqIgYgBGohBSAERQ0BCyAGIAFBBGogBBAsGgsgBUEAOgAAIAMgAjYCACADQRhqIANBCGogAyAAEQMAIAMoAhgQHSADKAIYIgAQBiADKAIAEAYgAywAE0EASARAIAMoAggQKAsgA0EgaiQAIAAPCxACAAsqAQF/QQwQHiIBQQA6AAQgASAAKAIANgIIIABBADYCACABQbAmNgIAIAELBQBB8DoLaQECfyMAQRBrIgYkACABIAAoAgQiB0EBdWohASAAKAIAIQAgBiABIAIgAyAEIAUgB0EBcQR/IAEoAgAgAGooAgAFIAALERAAQRAQHiIAIAYpAwg3AwggACAGKQMANwMAIAZBEGokACAACwUAQew6Cx0AIAAoAgAiACAALQAAQfcBcUEIQQAgARtyOgAAC6oBAgJ/AX0jAEEQayICJAAgACgCACEAIAFB/wFxIgNBBkkEQAJ/AkACQAJAIANBBGsOAgABAgsgAEHQA2ogAC0AhANBA3FBAkYNAhogAEHIA2oMAgsgAEHIA2ogAC0AhANBA3FBAkYNARogAEHQA2oMAQsgACABQf8BcUECdGpByANqCyoCACEEIAJBEGokACAEuw8LIAJB7hA2AgAgAEEFQa4lIAIQLhAnAAuqAQICfwF9IwBBEGsiAiQAIAAoAgAhACABQf8BcSIDQQZJBEACfwJAAkACQCADQQRrDgIAAQILIABBwANqIAAtAIQDQQNxQQJGDQIaIABBuANqDAILIABBuANqIAAtAIQDQQNxQQJGDQEaIABBwANqDAELIAAgAUH/AXFBAnRqQbgDagsqAgAhBCACQRBqJAAgBLsPCyACQe4QNgIAIABBBUGuJSACEC4QJwALqgECAn8BfSMAQRBrIgIkACAAKAIAIQAgAUH/AXEiA0EGSQRAAn8CQAJAAkAgA0EEaw4CAAECCyAAQbADaiAALQCEA0EDcUECRg0CGiAAQagDagwCCyAAQagDaiAALQCEA0EDcUECRg0BGiAAQbADagwBCyAAIAFB/wFxQQJ0akGoA2oLKgIAIQQgAkEQaiQAIAS7DwsgAkHuEDYCACAAQQVBriUgAhAuECcAC08AIAAgASgCACIBKgKYA7s5AwAgACABKgKgA7s5AwggACABKgKcA7s5AxAgACABKgKkA7s5AxggACABKgKIA7s5AyAgACABKgKMA7s5AygLDAAgACgCACoCjAO7CwwAIAAoAgAqAogDuwsMACAAKAIAKgKkA7sLDAAgACgCACoCnAO7CwwAIAAoAgAqAqADuwsMACAAKAIAKgKYA7sL3AUCBX0EfyMAQUBqIgkkACAAKAIAIQAgCUEIakEAQTgQMBpBwDpBwDooAgBBAWo2AgAgABBvIABBFGohCiABtiEFIAAqAvADIgYhBAJ/AkACQAJAIAAtAPQDIgtBAWsOAgEAAgsgBiAFlEMK1yM8lCEECyAEQwAAAABgRQ0AQwAAwH8hBAJAAkACQCALQQFrDgIAAQILIAYhBAwBCyAGIAWUQwrXIzyUIQQLIAQgCkECQQEgBRAkIApBAkEBIAUQI5KSIQdBAAwBCyAJIABB/ABqIgsgAC8BdhAfAkACfQJAAkAgCS0ABEEBaw4CAAEDCyAJKgIADAELIAkqAgAgBZRDCtcjPJQLIgQgBFwNACAJIAsgAC8BdhAfQwAAwH8hBwJAAkACQCAJLQAEQQFrDgIAAQILIAkqAgAhBwwBCyAJKgIAIAWUQwrXIzyUIQcLQQIMAQsgBSEHIAUgBVwLIQsgArYhBiAAKgL4AyIIIQQCfwJAAkACQCAALQD8AyIMQQFrDgIBAAILIAggBpRDCtcjPJQhBAsgBEMAAAAAYEUNAEMAAMB/IQQCQAJAAkAgDEEBaw4CAAECCyAIIQQMAQsgCCAGlEMK1yM8lCEECyAEIApBAEEBIAUQJCAKQQBBASAFECOSkiEEQQAMAQsgCSAAQfwAaiIKIAAvAXgQHwJAAn0CQAJAIAktAARBAWsOAgABAwsgCSoCAAwBCyAJKgIAIAaUQwrXIzyUCyIEIARcDQAgCSAKIAAvAXgQH0MAAMB/IQQCQAJAAkAgCS0ABEEBaw4CAAECCyAJKgIAIQQMAQsgCSoCACAGlEMK1yM8lCEEC0ECDAELIAYhBCAGIAZcCyEMIAAgByAEIANB/wFxIAsgDCAFIAZBAUEAIAlBCGpBAEHAOigCABA4BEAgACAALQCEA0EDcSAFIAYQbSAARAAAAAAAAAAARAAAAAAAAAAAEGwLIAlBQGskAAsNACAAKAIALQAAQQFxCxUAIAAoAgAiACAALQAAQf4BcToAAAsQACAAKAIALQAAQQRxQQJ2C3oBAn8jAEEQayIBJAAgACgCACIAKAIIBEADQCAALQAAIgJBBHFFBEAgACACQQRyOgAAIAAoAhAiAgRAIAAgAhEAAAsgAEGAgID+BzYCnAEgACgC3AMiAA0BCwsgAUEQaiQADwsgAUGACDYCACAAQQVBriUgARAuECcACy4BAX8gACgCCCEBIABBADYCCCABBEAgASABKAIAKAIEEQAACyAAKAIAQQA2AhALFwAgACgCBCgCCCIAIAAoAgAoAggRAAALLgEBfyAAKAIIIQIgACABNgIIIAIEQCACIAIoAgAoAgQRAAALIAAoAgBBBTYCEAs+AQF/IAAoAgQhASAAQQA2AgQgAQRAIAEgASgCACgCBBEAAAsgACgCACIAQQA2AgggACAALQAAQe8BcToAAAtJAQF/IwBBEGsiBiQAIAYgASgCBCgCBCIBIAIgAyAEIAUgASgCACgCCBEQACAAIAYrAwC2OAIAIAAgBisDCLY4AgQgBkEQaiQAC3MBAn8jAEEQayICJAAgACgCBCEDIAAgATYCBCADBEAgAyADKAIAKAIEEQAACyAAKAIAIgAoAuADIAAoAuQDRwRAIAJBzyM2AgAgAEEFQa4lIAIQLhAnAAsgAEEENgIIIAAgAC0AAEEQcjoAACACQRBqJAALPAEBfwJAIAAoAgAiACgC5AMgACgC4AMiAGtBAnUgAU0NACAAIAFBAnRqKAIAIgBFDQAgACgCBCECCyACCxkAIAAoAgAoAtwDIgBFBEBBAA8LIAAoAgQLFwAgACgCACIAKALkAyAAKALgA2tBAnUL+QIBBH8jAEHAAmsiBCQAAkAgACgCACIAKALkAyAAKALgA0YNACABKAIAIgMoAtwDIQEgACADEGhFDQAgACABRgRAIARBAEHAAhAwIgJBgICA/gc2AgQgAkEQakEAQcQBEDAaIAJB1AFqIQUgAkEUaiEBA0AgAUKAgID8i4CAwL9/NwIQIAFCgYCAgBA3AgggAUKAgID8i4CAwL9/NwIAIAFBGGoiASAFRw0ACyACQoCAgPyLgIDAv383AuQBIAJCgYCAgBA3AtwBIAJCgICA/IuAgMC/fzcC1AEgAkKAgID+h4CA4P8ANwP4ASACQoCAgP6HgIDg/wA3A/ABIAIgAi0A7AFB+AFxOgDsASACQYACakEAQcAAEDAaIANBmAFqIAJBwAIQLBogA0EANgLcAwsDQCAALQAAIgFBBHENASAAIAFBBHI6AAAgACgCECIBBEAgACABEQAACyAAQYCAgP4HNgKcASAAKALcAyIADQALCyAEQcACaiQAC7wHAQh/IwBB0ABrIgckACAAKAIAIQACQAJAIAEoAgAiCCgC3ANFBEAgACgCCA0BIAAoAuADIgEgAkECdGohBgJAIAAoAuQDIgQgAEHoA2oiAygCACIFSQRAIAQgBkYEQCAGIAg2AgAgACAGQQRqNgLkAwwCCyAEIAQiAkEEayIBSwRAA0AgAiABKAIANgIAIAJBBGohAiABQQRqIgEgBEkNAAsLIAAgAjYC5AMgBkEEaiIBIARHBEAgBCAEIAFrIgFBfHFrIAYgARAxGgsgBiAINgIADAELIAQgAWtBAnVBAWoiBEGAgICABE8NAwJAIAdBIGpB/////wMgBSABayIBQQF1IgUgBCAEIAVJGyABQfz///8HTxsgAiADEEIiAygCCCICIAMoAgxHDQAgAygCBCIBIAMoAgAiBEsEQCADIAEgASAEa0ECdUEBakF+bUECdCIEaiABIAIgAWsiARAxIAFqIgI2AgggAyADKAIEIARqNgIEDAELIAdBOGpBASACIARrQQF1IAIgBEYbIgEgAUECdiADKAIQEEIiBSgCCCEEAn8gAygCCCICIAMoAgQiAUYEQCAEIQIgAQwBCyAEIAIgAWtqIQIDQCAEIAEoAgA2AgAgAUEEaiEBIARBBGoiBCACRw0ACyADKAIIIQEgAygCBAshBCADKAIAIQkgAyAFKAIANgIAIAUgCTYCACADIAUoAgQ2AgQgBSAENgIEIAMgAjYCCCAFIAE2AgggAygCDCEKIAMgBSgCDDYCDCAFIAo2AgwgASAERwRAIAUgASAEIAFrQQNqQXxxajYCCAsgCUUNACAJECggAygCCCECCyACIAg2AgAgAyADKAIIQQRqNgIIIAMgAygCBCAGIAAoAuADIgFrIgJrIAEgAhAxNgIEIAMoAgggBiAAKALkAyAGayIEEDEhBiAAKALgAyEBIAAgAygCBDYC4AMgAyABNgIEIAAoAuQDIQIgACAEIAZqNgLkAyADIAI2AgggACgC6AMhBCAAIAMoAgw2AugDIAMgATYCACADIAQ2AgwgASACRwRAIAMgAiABIAJrQQNqQXxxajYCCAsgAUUNACABECgLIAggADYC3AMDQCAALQAAIgFBBHFFBEAgACABQQRyOgAAIAAoAhAiAQRAIAAgAREAAAsgAEGAgID+BzYCnAEgACgC3AMiAA0BCwsgB0HQAGokAA8LIAdBmiM2AhAgAEEFQa4lIAdBEGoQLhAnAAsgB0GfJDYCACAAQQVBriUgBxAuECcACxACAAsQACAAKAIALQAAQQJxQQF2C1kCAX8BfSMAQRBrIgIkACACQQhqIAAoAgAiAEH8AGogACABQf8BcUEBdGovAWgQH0MAAMB/IQMCQAJAIAItAAwOBAEAAAEACyACKgIIIQMLIAJBEGokACADC04BAX8jAEEQayIDJAAgA0EIaiABKAIAIgFB/ABqIAEgAkH/AXFBAXRqLwFEEB8gAy0ADCEBIAAgAyoCCLs5AwggACABNgIAIANBEGokAAteAgF/AXwjAEEQayICJAAgAkEIaiAAKAIAIgBB/ABqIAAgAUH/AXFBAXRqLwFWEB9EAAAAAAAA+H8hAwJAAkAgAi0ADA4EAQAAAQALIAIqAgi7IQMLIAJBEGokACADCyQBAX1DAADAfyAAKAIAIgBB/ABqIAAvAXoQICIBIAEgAVwbuwtEAQF/IwBBEGsiAiQAIAJBCGogASgCACIBQfwAaiABLwF4EB8gAi0ADCEBIAAgAioCCLs5AwggACABNgIAIAJBEGokAAtEAQF/IwBBEGsiAiQAIAJBCGogASgCACIBQfwAaiABLwF2EB8gAi0ADCEBIAAgAioCCLs5AwggACABNgIAIAJBEGokAAtEAQF/IwBBEGsiAiQAIAJBCGogASgCACIBQfwAaiABLwF0EB8gAi0ADCEBIAAgAioCCLs5AwggACABNgIAIAJBEGokAAtEAQF/IwBBEGsiAiQAIAJBCGogASgCACIBQfwAaiABLwFyEB8gAi0ADCEBIAAgAioCCLs5AwggACABNgIAIAJBEGokAAtEAQF/IwBBEGsiAiQAIAJBCGogASgCACIBQfwAaiABLwFwEB8gAi0ADCEBIAAgAioCCLs5AwggACABNgIAIAJBEGokAAtEAQF/IwBBEGsiAiQAIAJBCGogASgCACIBQfwAaiABLwFuEB8gAi0ADCEBIAAgAioCCLs5AwggACABNgIAIAJBEGokAAtIAgF/AX0CfSAAKAIAIgBB/ABqIgEgAC8BHBAgIgIgAlwEQEMAAIA/QwAAAAAgACgC7AMtAAhBAXEbDAELIAEgAC8BHBAgC7sLNgIBfwF9IAAoAgAiAEH8AGoiASAALwEaECAiAiACXARARAAAAAAAAAAADwsgASAALwEaECC7C0QBAX8jAEEQayICJAAgAkEIaiABKAIAIgFB/ABqIAEvAR4QHyACLQAMIQEgACACKgIIuzkDCCAAIAE2AgAgAkEQaiQACxAAIAAoAgAtABdBAnZBAXELDQAgACgCAC0AF0EDcQtOAQF/IwBBEGsiAyQAIANBCGogASgCACIBQfwAaiABIAJB/wFxQQF0ai8BIBAfIAMtAAwhASAAIAMqAgi7OQMIIAAgATYCACADQRBqJAALEAAgACgCAC0AFEEEdkEHcQsNACAAKAIALwAVQQ52Cw0AIAAoAgAtABRBA3ELEAAgACgCAC0AFEECdkEDcQsNACAAKAIALwAWQQ9xCxAAIAAoAgAvABVBBHZBD3ELDQAgACgCAC8AFUEPcQtOAQF/IwBBEGsiAyQAIANBCGogASgCACIBQfwAaiABIAJB/wFxQQF0ai8BMhAfIAMtAAwhASAAIAMqAgi7OQMIIAAgATYCACADQRBqJAALEAAgACgCAC8AFUEMdkEDcQuAAQIDfwF9IwBBEGsiAyQAIAAoAgAhBAJ9IAK2IgYgBlwEQEEAIQBDAADAfwwBC0EAQQIgBkMAAIB/WyAGQwAAgP9bciIFGyEAQwAAwH8gBiAFGwshBiADIAA6AAwgAyAGOAIIIAMgAykDCDcDACAEIAFB/wFxIAMQeiADQRBqJAALeAIBfQJ/IwBBEGsiBCQAIAAoAgAhBSAEAn8gArYiAyADXARAQwAAwH8hA0EADAELQwAAwH8gAyADQwAAgH9bIANDAACA/1tyIgAbIQMgAEULOgAMIAQgAzgCCCAEIAQpAwg3AwAgBSABQf8BcSAEEHogBEEQaiQAC3EBAX8CQCAAKAIAIgAtAAAiAkECcUEBdiABRg0AIAAgAkH9AXFBAkEAIAEbcjoAAANAIAAtAAAiAUEEcQ0BIAAgAUEEcjoAACAAKAIQIgEEQCAAIAERAAALIABBgICA/gc2ApwBIAAoAtwDIgANAAsLC4ABAgN/AX0jAEEQayIDJAAgACgCACEEAn0gArYiBiAGXARAQQAhAEMAAMB/DAELQQBBAiAGQwAAgH9bIAZDAACA/1tyIgUbIQBDAADAfyAGIAUbCyEGIAMgADoADCADIAY4AgggAyADKQMINwMAIAQgAUH/AXEgAxB9IANBEGokAAt4AgF9An8jAEEQayIEJAAgACgCACEFIAQCfyACtiIDIANcBEBDAADAfyEDQQAMAQtDAADAfyADIANDAACAf1sgA0MAAID/W3IiABshAyAARQs6AAwgBCADOAIIIAQgBCkDCDcDACAFIAFB/wFxIAQQfSAEQRBqJAAL+QECAn0EfyMAQRBrIgUkACAAKAIAIQACfyACtiIDIANcBEBDAADAfyEDQQAMAQtDAADAfyADIANDAACAf1sgA0MAAID/W3IiBhshAyAGRQshBkEBIQcgBUEIaiAAQfwAaiIIIAAgAUH/AXFBAXRqQdYAaiIBLwEAEB8CQAJAIAMgBSoCCCIEXAR/IAQgBFsNASADIANcBSAHC0UNACAFLQAMIAZGDQELIAggASADIAYQNANAIAAtAAAiAUEEcQ0BIAAgAUEEcjoAACAAKAIQIgEEQCAAIAERAAALIABBgICA/gc2ApwBIAAoAtwDIgANAAsLIAVBEGokAAuhAQIDfwJ9AkAgACgCACIAQfwAaiIDIABB+gBqIgIvAQAQICIGIAG2IgVbDQAgBSAFWyIERSAGIAZccQ0AAkAgBEUEQCACIAIvAQBB+P8DcTsBAAwBCyADIAIgBUEDEEcLA0AgAC0AACICQQRxDQEgACACQQRyOgAAIAAoAhAiAgRAIAAgAhEAAAsgAEGAgID+BzYCnAEgACgC3AMiAA0ACwsLfAIDfwF9IwBBEGsiAiQAIAAoAgAhAwJ9IAG2IgUgBVwEQEEAIQBDAADAfwwBC0EAQQIgBUMAAIB/WyAFQwAAgP9bciIEGyEAQwAAwH8gBSAEGwshBSACIAA6AAwgAiAFOAIIIAIgAikDCDcDACADQQEgAhBNIAJBEGokAAt0AgF9An8jAEEQayIDJAAgACgCACEEIAMCfyABtiICIAJcBEBDAADAfyECQQAMAQtDAADAfyACIAJDAACAf1sgAkMAAID/W3IiABshAiAARQs6AAwgAyACOAIIIAMgAykDCDcDACAEQQEgAxBNIANBEGokAAt8AgN/AX0jAEEQayICJAAgACgCACEDAn0gAbYiBSAFXARAQQAhAEMAAMB/DAELQQBBAiAFQwAAgH9bIAVDAACA/1tyIgQbIQBDAADAfyAFIAQbCyEFIAIgADoADCACIAU4AgggAiACKQMINwMAIANBACACEE0gAkEQaiQAC3QCAX0CfyMAQRBrIgMkACAAKAIAIQQgAwJ/IAG2IgIgAlwEQEMAAMB/IQJBAAwBC0MAAMB/IAIgAkMAAIB/WyACQwAAgP9bciIAGyECIABFCzoADCADIAI4AgggAyADKQMINwMAIARBACADEE0gA0EQaiQAC3wCA38BfSMAQRBrIgIkACAAKAIAIQMCfSABtiIFIAVcBEBBACEAQwAAwH8MAQtBAEECIAVDAACAf1sgBUMAAID/W3IiBBshAEMAAMB/IAUgBBsLIQUgAiAAOgAMIAIgBTgCCCACIAIpAwg3AwAgA0EBIAIQTiACQRBqJAALdAIBfQJ/IwBBEGsiAyQAIAAoAgAhBCADAn8gAbYiAiACXARAQwAAwH8hAkEADAELQwAAwH8gAiACQwAAgH9bIAJDAACA/1tyIgAbIQIgAEULOgAMIAMgAjgCCCADIAMpAwg3AwAgBEEBIAMQTiADQRBqJAALfAIDfwF9IwBBEGsiAiQAIAAoAgAhAwJ9IAG2IgUgBVwEQEEAIQBDAADAfwwBC0EAQQIgBUMAAIB/WyAFQwAAgP9bciIEGyEAQwAAwH8gBSAEGwshBSACIAA6AAwgAiAFOAIIIAIgAikDCDcDACADQQAgAhBOIAJBEGokAAt0AgF9An8jAEEQayIDJAAgACgCACEEIAMCfyABtiICIAJcBEBDAADAfyECQQAMAQtDAADAfyACIAJDAACAf1sgAkMAAID/W3IiABshAiAARQs6AAwgAyACOAIIIAMgAykDCDcDACAEQQAgAxBOIANBEGokAAs/AQF/IwBBEGsiASQAIAAoAgAhACABQQM6AAwgAUGAgID+BzYCCCABIAEpAwg3AwAgAEEBIAEQPiABQRBqJAALfAIDfwF9IwBBEGsiAiQAIAAoAgAhAwJ9IAG2IgUgBVwEQEEAIQBDAADAfwwBC0EAQQIgBUMAAIB/WyAFQwAAgP9bciIEGyEAQwAAwH8gBSAEGwshBSACIAA6AAwgAiAFOAIIIAIgAikDCDcDACADQQEgAhA+IAJBEGokAAt0AgF9An8jAEEQayIDJAAgACgCACEEIAMCfyABtiICIAJcBEBDAADAfyECQQAMAQtDAADAfyACIAJDAACAf1sgAkMAAID/W3IiABshAiAARQs6AAwgAyACOAIIIAMgAykDCDcDACAEQQEgAxA+IANBEGokAAs/AQF/IwBBEGsiASQAIAAoAgAhACABQQM6AAwgAUGAgID+BzYCCCABIAEpAwg3AwAgAEEAIAEQPiABQRBqJAALfAIDfwF9IwBBEGsiAiQAIAAoAgAhAwJ9IAG2IgUgBVwEQEEAIQBDAADAfwwBC0EAQQIgBUMAAIB/WyAFQwAAgP9bciIEGyEAQwAAwH8gBSAEGwshBSACIAA6AAwgAiAFOAIIIAIgAikDCDcDACADQQAgAhA+IAJBEGokAAt0AgF9An8jAEEQayIDJAAgACgCACEEIAMCfyABtiICIAJcBEBDAADAfyECQQAMAQtDAADAfyACIAJDAACAf1sgAkMAAID/W3IiABshAiAARQs6AAwgAyACOAIIIAMgAykDCDcDACAEQQAgAxA+IANBEGokAAugAQIDfwJ9AkAgACgCACIAQfwAaiIDIABBHGoiAi8BABAgIgYgAbYiBVsNACAFIAVbIgRFIAYgBlxxDQACQCAERQRAIAIgAi8BAEH4/wNxOwEADAELIAMgAiAFQQMQRwsDQCAALQAAIgJBBHENASAAIAJBBHI6AAAgACgCECICBEAgACACEQAACyAAQYCAgP4HNgKcASAAKALcAyIADQALCwugAQIDfwJ9AkAgACgCACIAQfwAaiIDIABBGmoiAi8BABAgIgYgAbYiBVsNACAFIAVbIgRFIAYgBlxxDQACQCAERQRAIAIgAi8BAEH4/wNxOwEADAELIAMgAiAFQQMQRwsDQCAALQAAIgJBBHENASAAIAJBBHI6AAAgACgCECICBEAgACACEQAACyAAQYCAgP4HNgKcASAAKALcAyIADQALCws9AQF/IwBBEGsiASQAIAAoAgAhACABQQM6AAwgAUGAgID+BzYCCCABIAEpAwg3AwAgACABEF0gAUEQaiQAC3oCA38BfSMAQRBrIgIkACAAKAIAIQMCfSABtiIFIAVcBEBBACEAQwAAwH8MAQtBAEECIAVDAACAf1sgBUMAAID/W3IiBBshAEMAAMB/IAUgBBsLIQUgAiAAOgAMIAIgBTgCCCACIAIpAwg3AwAgAyACEF0gAkEQaiQAC3ICAX0CfyMAQRBrIgMkACAAKAIAIQQgAwJ/IAG2IgIgAlwEQEMAAMB/IQJBAAwBC0MAAMB/IAIgAkMAAIB/WyACQwAAgP9bciIAGyECIABFCzoADCADIAI4AgggAyADKQMINwMAIAQgAxBdIANBEGokAAugAQIDfwJ9AkAgACgCACIAQfwAaiIDIABBGGoiAi8BABAgIgYgAbYiBVsNACAFIAVbIgRFIAYgBlxxDQACQCAERQRAIAIgAi8BAEH4/wNxOwEADAELIAMgAiAFQQMQRwsDQCAALQAAIgJBBHENASAAIAJBBHI6AAAgACgCECICBEAgACACEQAACyAAQYCAgP4HNgKcASAAKALcAyIADQALCwuQAQEBfwJAIAAoAgAiAEEXai0AACICQQJ2QQFxIAFB/wFxRg0AIAAgAC8AFSACQRB0ciICOwAVIAAgAkH//+8HcSABQQFxQRJ0ckEQdjoAFwNAIAAtAAAiAUEEcQ0BIAAgAUEEcjoAACAAKAIQIgEEQCAAIAERAAALIABBgICA/gc2ApwBIAAoAtwDIgANAAsLC40BAQF/AkAgACgCACIAQRdqLQAAIgJBA3EgAUH/AXFGDQAgACAALwAVIAJBEHRyIgI7ABUgACACQf//8wdxIAFBA3FBEHRyQRB2OgAXA0AgAC0AACIBQQRxDQEgACABQQRyOgAAIAAoAhAiAQRAIAAgAREAAAsgAEGAgID+BzYCnAEgACgC3AMiAA0ACwsLQwEBfyMAQRBrIgIkACAAKAIAIQAgAkEDOgAMIAJBgICA/gc2AgggAiACKQMINwMAIAAgAUH/AXEgAhBbIAJBEGokAAuAAQIDfwF9IwBBEGsiAyQAIAAoAgAhBAJ9IAK2IgYgBlwEQEEAIQBDAADAfwwBC0EAQQIgBkMAAIB/WyAGQwAAgP9bciIFGyEAQwAAwH8gBiAFGwshBiADIAA6AAwgAyAGOAIIIAMgAykDCDcDACAEIAFB/wFxIAMQWyADQRBqJAALeAIBfQJ/IwBBEGsiBCQAIAAoAgAhBSAEAn8gArYiAyADXARAQwAAwH8hA0EADAELQwAAwH8gAyADQwAAgH9bIANDAACA/1tyIgAbIQMgAEULOgAMIAQgAzgCCCAEIAQpAwg3AwAgBSABQf8BcSAEEFsgBEEQaiQAC3cBAX8CQCAAKAIAIgAtABQiAkEEdkEHcSABQf8BcUYNACAAIAJBjwFxIAFBBHRB8ABxcjoAFANAIAAtAAAiAUEEcQ0BIAAgAUEEcjoAACAAKAIQIgEEQCAAIAERAAALIABBgICA/gc2ApwBIAAoAtwDIgANAAsLC4kBAQF/AkAgAUH/AXEgACgCACIALwAVIgJBDnZGDQAgAEEXaiACIAAtABdBEHRyIgJBEHY6AAAgACACQf//AHEgAUEOdHI7ABUDQCAALQAAIgFBBHENASAAIAFBBHI6AAAgACgCECIBBEAgACABEQAACyAAQYCAgP4HNgKcASAAKALcAyIADQALCwtwAQF/AkAgACgCACIALQAUIgJBA3EgAUH/AXFGDQAgACACQfwBcSABQQNxcjoAFANAIAAtAAAiAUEEcQ0BIAAgAUEEcjoAACAAKAIQIgEEQCAAIAERAAALIABBgICA/gc2ApwBIAAoAtwDIgANAAsLC3YBAX8CQCAAKAIAIgAtABQiAkECdkEDcSABQf8BcUYNACAAIAJB8wFxIAFBAnRBDHFyOgAUA0AgAC0AACIBQQRxDQEgACABQQRyOgAAIAAoAhAiAQRAIAAgAREAAAsgAEGAgID+BzYCnAEgACgC3AMiAA0ACwsLjwEBAX8CQCAAKAIAIgAvABUiAkEIdkEPcSABQf8BcUYNACAAQRdqIAIgAC0AF0EQdHIiAkEQdjoAACAAIAJB/+EDcSABQQ9xQQh0cjsAFQNAIAAtAAAiAUEEcQ0BIAAgAUEEcjoAACAAKAIQIgEEQCAAIAERAAALIABBgICA/gc2ApwBIAAoAtwDIgANAAsLC48BAQF/AkAgAUH/AXEgACgCACIALwAVIABBF2otAABBEHRyIgJB8AFxQQR2Rg0AIAAgAkEQdjoAFyAAIAJBj/4DcSABQQR0QfABcXI7ABUDQCAALQAAIgFBBHENASAAIAFBBHI6AAAgACgCECIBBEAgACABEQAACyAAQYCAgP4HNgKcASAAKALcAyIADQALCwuHAQEBfwJAIAAoAgAiAC8AFSAAQRdqLQAAQRB0ciICQQ9xIAFB/wFxRg0AIAAgAkEQdjoAFyAAIAJB8P8DcSABQQ9xcjsAFQNAIAAtAAAiAUEEcQ0BIAAgAUEEcjoAACAAKAIQIgEEQCAAIAERAAALIABBgICA/gc2ApwBIAAoAtwDIgANAAsLC4EBAgN/AX0jAEEQayIDJAAgACgCACEEAn0gArYiBiAGXARAQQAhAEMAAMB/DAELQQBBAiAGQwAAgH9bIAZDAACA/1tyIgUbIQBDAADAfyAGIAUbCyEGIAMgADoADCADIAY4AgggAyADKQMINwMAIAQgAUH/AXEgAxCGASADQRBqJAALeQIBfQJ/IwBBEGsiBCQAIAAoAgAhBSAEAn8gArYiAyADXARAQwAAwH8hA0EADAELQwAAwH8gAyADQwAAgH9bIANDAACA/1tyIgAbIQMgAEULOgAMIAQgAzgCCCAEIAQpAwg3AwAgBSABQf8BcSAEEIYBIARBEGokAAuPAQEBfwJAIAAoAgAiAC8AFSICQQx2QQNxIAFB/wFxRg0AIABBF2ogAiAALQAXQRB0ciICQRB2OgAAIAAgAkH/nwNxIAFBA3FBDHRyOwAVA0AgAC0AACIBQQRxDQEgACABQQRyOgAAIAAoAhAiAQRAIAAgAREAAAsgAEGAgID+BzYCnAEgACgC3AMiAA0ACwsL9g0CCH8CfSMAQRBrIgIkAAJAAkAgASgCACIFLQAUIAAoAgAiAS0AFHNB/wBxDQAgBS8AFSAFLQAXQRB0ciABLwAVIAEtABdBEHRyc0H//x9xDQAgBUH8AGohByABQfwAaiEIAkAgAS8AGCIAQQdxRQRAIAUtABhBB3FFDQELIAggABAgIgogByAFLwAYECAiC1sNACAKIApbIAsgC1tyDQELAkAgAS8AGiIAQQdxRQRAIAUtABpBB3FFDQELIAggABAgIgogByAFLwAaECAiC1sNACAKIApbIAsgC1tyDQELAkAgAS8AHCIAQQdxRQRAIAUtABxBB3FFDQELIAggABAgIgogByAFLwAcECAiC1sNACAKIApbIAsgC1tyDQELAkAgAS8AHiIAQQdxRQRAIAUtAB5BB3FFDQELIAJBCGogCCAAEB8gAiAHIAUvAB4QH0EBIQAgAioCCCIKIAIqAgAiC1wEfyAKIApbDQIgCyALXAUgAAtFDQEgAi0ADCACLQAERw0BCyAFQSBqIQAgAUEgaiEGA0ACQCAGIANBAXRqLwAAIgRBB3FFBEAgAC0AAEEHcUUNAQsgAkEIaiAIIAQQHyACIAcgAC8AABAfQQEhBCACKgIIIgogAioCACILXAR/IAogClsNAyALIAtcBSAEC0UNAiACLQAMIAItAARHDQILIABBAmohACADQQFqIgNBCUcNAAsgBUEyaiEAIAFBMmohBkEAIQMDQAJAIAYgA0EBdGovAAAiBEEHcUUEQCAALQAAQQdxRQ0BCyACQQhqIAggBBAfIAIgByAALwAAEB9BASEEIAIqAggiCiACKgIAIgtcBH8gCiAKWw0DIAsgC1wFIAQLRQ0CIAItAAwgAi0ABEcNAgsgAEECaiEAIANBAWoiA0EJRw0ACyAFQcQAaiEAIAFBxABqIQZBACEDA0ACQCAGIANBAXRqLwAAIgRBB3FFBEAgAC0AAEEHcUUNAQsgAkEIaiAIIAQQHyACIAcgAC8AABAfQQEhBCACKgIIIgogAioCACILXAR/IAogClsNAyALIAtcBSAEC0UNAiACLQAMIAItAARHDQILIABBAmohACADQQFqIgNBCUcNAAsgBUHWAGohACABQdYAaiEGQQAhAwNAAkAgBiADQQF0ai8AACIEQQdxRQRAIAAtAABBB3FFDQELIAJBCGogCCAEEB8gAiAHIAAvAAAQH0EBIQQgAioCCCIKIAIqAgAiC1wEfyAKIApbDQMgCyALXAUgBAtFDQIgAi0ADCACLQAERw0CCyAAQQJqIQAgA0EBaiIDQQlHDQALIAVB6ABqIQAgAUHoAGohBkEAIQMDQAJAIAYgA0EBdGovAAAiBEEHcUUEQCAALQAAQQdxRQ0BCyACQQhqIAggBBAfIAIgByAALwAAEB9BASEEIAIqAggiCiACKgIAIgtcBH8gCiAKWw0DIAsgC1wFIAQLRQ0CIAItAAwgAi0ABEcNAgsgAEECaiEAIANBAWoiA0EDRw0ACyAFQe4AaiEAIAFB7gBqIQlBACEEQQAhAwNAAkAgCSADQQF0ai8AACIGQQdxRQRAIAAtAABBB3FFDQELIAJBCGogCCAGEB8gAiAHIAAvAAAQH0EBIQMgAioCCCIKIAIqAgAiC1wEfyAKIApbDQMgCyALXAUgAwtFDQIgAi0ADCACLQAERw0CCyAAQQJqIQBBASEDIAQhBkEBIQQgBkUNAAsgBUHyAGohACABQfIAaiEJQQAhBEEAIQMDQAJAIAkgA0EBdGovAAAiBkEHcUUEQCAALQAAQQdxRQ0BCyACQQhqIAggBhAfIAIgByAALwAAEB9BASEDIAIqAggiCiACKgIAIgtcBH8gCiAKWw0DIAsgC1wFIAMLRQ0CIAItAAwgAi0ABEcNAgsgAEECaiEAQQEhAyAEIQZBASEEIAZFDQALIAVB9gBqIQAgAUH2AGohCUEAIQRBACEDA0ACQCAJIANBAXRqLwAAIgZBB3FFBEAgAC0AAEEHcUUNAQsgAkEIaiAIIAYQHyACIAcgAC8AABAfQQEhAyACKgIIIgogAioCACILXAR/IAogClsNAyALIAtcBSADC0UNAiACLQAMIAItAARHDQILIABBAmohAEEBIQMgBCEGQQEhBCAGRQ0ACyABLwB6IgBBB3FFBEAgBS0AekEHcUUNAgsgCCAAECAiCiAHIAUvAHoQICILWw0BIAogClsNACALIAtcDQELIAFBFGogBUEUakHoABAsGiABQfwAaiAFQfwAahCXAQNAIAEtAAAiAEEEcQ0BIAEgAEEEcjoAACABKAIQIgAEQCABIAARAAALIAFBgICA/gc2ApwBIAEoAtwDIgENAAsLIAJBEGokAAvGAwEEfyMAQaAEayICJAAgACgCBCEBIABBADYCBCABBEAgASABKAIAKAIEEQAACyAAKAIIIQEgAEEANgIIIAEEQCABIAEoAgAoAgQRAAALAkAgACgCACIAKALgAyAAKALkA0YEQCAAKALcAw0BIAAgAkEgaiAAKALsAxBUIgEpAgA3AgAgACABKAIQNgIQIAAgASkCCDcCCCAAQRRqIAFBFGpB6AAQLBogACABKQKMATcCjAEgACABKQKEATcChAEgACABKQJ8NwJ8IAEoApQBIQQgAUEANgKUASAAKAKUASEDIAAgBDYClAEgAwRAIAMQUwsgAEGYAWogAUGYAWpByAIQLBogACgC4AMiAwRAIAAgAzYC5AMgAxAoCyAAIAEoAuADNgLgAyAAIAEoAuQDNgLkAyAAIAEoAugDNgLoAyABQQA2AugDIAFCADcC4AMgACABKQL0AzcC9AMgACABKQLsAzcC7AMgACABKAL8AzYC/AMgASgClAEhACABQQA2ApQBIAAEQCAAEFMLIAJBoARqJAAPCyACQcYcNgIQIABBBUGuJSACQRBqEC4QJwALIAJB5hE2AgAgAEEFQa4lIAIQLhAnAAsLtyYiAEGACAvZHU9ubHkgbGVhZiBub2RlcyB3aXRoIGN1c3RvbSBtZWFzdXJlIGZ1bmN0aW9ucyBzaG91bGQgbWFudWFsbHkgbWFyayB0aGVtc2VsdmVzIGFzIGRpcnR5AGlzRGlydHkAbWFya0RpcnR5AGRlc3Ryb3kAc2V0RGlzcGxheQBnZXREaXNwbGF5AHNldEZsZXgALSsgICAwWDB4AC0wWCswWCAwWC0weCsweCAweABzZXRGbGV4R3JvdwBnZXRGbGV4R3JvdwBzZXRPdmVyZmxvdwBnZXRPdmVyZmxvdwBoYXNOZXdMYXlvdXQAY2FsY3VsYXRlTGF5b3V0AGdldENvbXB1dGVkTGF5b3V0AHVuc2lnbmVkIHNob3J0AGdldENoaWxkQ291bnQAdW5zaWduZWQgaW50AHNldEp1c3RpZnlDb250ZW50AGdldEp1c3RpZnlDb250ZW50AGF2YWlsYWJsZUhlaWdodCBpcyBpbmRlZmluaXRlIHNvIGhlaWdodFNpemluZ01vZGUgbXVzdCBiZSBTaXppbmdNb2RlOjpNYXhDb250ZW50AGF2YWlsYWJsZVdpZHRoIGlzIGluZGVmaW5pdGUgc28gd2lkdGhTaXppbmdNb2RlIG11c3QgYmUgU2l6aW5nTW9kZTo6TWF4Q29udGVudABzZXRBbGlnbkNvbnRlbnQAZ2V0QWxpZ25Db250ZW50AGdldFBhcmVudABpbXBsZW1lbnQAc2V0TWF4SGVpZ2h0UGVyY2VudABzZXRIZWlnaHRQZXJjZW50AHNldE1pbkhlaWdodFBlcmNlbnQAc2V0RmxleEJhc2lzUGVyY2VudABzZXRHYXBQZXJjZW50AHNldFBvc2l0aW9uUGVyY2VudABzZXRNYXJnaW5QZXJjZW50AHNldE1heFdpZHRoUGVyY2VudABzZXRXaWR0aFBlcmNlbnQAc2V0TWluV2lkdGhQZXJjZW50AHNldFBhZGRpbmdQZXJjZW50AGhhbmRsZS50eXBlKCkgPT0gU3R5bGVWYWx1ZUhhbmRsZTo6VHlwZTo6UG9pbnQgfHwgaGFuZGxlLnR5cGUoKSA9PSBTdHlsZVZhbHVlSGFuZGxlOjpUeXBlOjpQZXJjZW50AGNyZWF0ZURlZmF1bHQAdW5pdAByaWdodABoZWlnaHQAc2V0TWF4SGVpZ2h0AGdldE1heEhlaWdodABzZXRIZWlnaHQAZ2V0SGVpZ2h0AHNldE1pbkhlaWdodABnZXRNaW5IZWlnaHQAZ2V0Q29tcHV0ZWRIZWlnaHQAZ2V0Q29tcHV0ZWRSaWdodABsZWZ0AGdldENvbXB1dGVkTGVmdAByZXNldABfX2Rlc3RydWN0AGZsb2F0AHVpbnQ2NF90AHVzZVdlYkRlZmF1bHRzAHNldFVzZVdlYkRlZmF1bHRzAHNldEFsaWduSXRlbXMAZ2V0QWxpZ25JdGVtcwBzZXRGbGV4QmFzaXMAZ2V0RmxleEJhc2lzAENhbm5vdCBnZXQgbGF5b3V0IHByb3BlcnRpZXMgb2YgbXVsdGktZWRnZSBzaG9ydGhhbmRzAHNldFBvaW50U2NhbGVGYWN0b3IATWVhc3VyZUNhbGxiYWNrV3JhcHBlcgBEaXJ0aWVkQ2FsbGJhY2tXcmFwcGVyAENhbm5vdCByZXNldCBhIG5vZGUgc3RpbGwgYXR0YWNoZWQgdG8gYSBvd25lcgBzZXRCb3JkZXIAZ2V0Qm9yZGVyAGdldENvbXB1dGVkQm9yZGVyAGdldE51bWJlcgBoYW5kbGUudHlwZSgpID09IFN0eWxlVmFsdWVIYW5kbGU6OlR5cGU6Ok51bWJlcgB1bnNpZ25lZCBjaGFyAHRvcABnZXRDb21wdXRlZFRvcABzZXRGbGV4V3JhcABnZXRGbGV4V3JhcABzZXRHYXAAZ2V0R2FwACVwAHNldEhlaWdodEF1dG8Ac2V0RmxleEJhc2lzQXV0bwBzZXRNYXJnaW5BdXRvAHNldFdpZHRoQXV0bwBTY2FsZSBmYWN0b3Igc2hvdWxkIG5vdCBiZSBsZXNzIHRoYW4gemVybwBzZXRBc3BlY3RSYXRpbwBnZXRBc3BlY3RSYXRpbwBzZXRQb3NpdGlvbgBnZXRQb3NpdGlvbgBub3RpZnlPbkRlc3RydWN0aW9uAHNldEZsZXhEaXJlY3Rpb24AZ2V0RmxleERpcmVjdGlvbgBzZXREaXJlY3Rpb24AZ2V0RGlyZWN0aW9uAHNldE1hcmdpbgBnZXRNYXJnaW4AZ2V0Q29tcHV0ZWRNYXJnaW4AbWFya0xheW91dFNlZW4AbmFuAGJvdHRvbQBnZXRDb21wdXRlZEJvdHRvbQBib29sAGVtc2NyaXB0ZW46OnZhbABzZXRGbGV4U2hyaW5rAGdldEZsZXhTaHJpbmsAc2V0QWx3YXlzRm9ybXNDb250YWluaW5nQmxvY2sATWVhc3VyZUNhbGxiYWNrAERpcnRpZWRDYWxsYmFjawBnZXRMZW5ndGgAd2lkdGgAc2V0TWF4V2lkdGgAZ2V0TWF4V2lkdGgAc2V0V2lkdGgAZ2V0V2lkdGgAc2V0TWluV2lkdGgAZ2V0TWluV2lkdGgAZ2V0Q29tcHV0ZWRXaWR0aABwdXNoAC9ob21lL3J1bm5lci93b3JrL3lvZ2EveW9nYS9qYXZhc2NyaXB0Ly4uL3lvZ2Evc3R5bGUvU21hbGxWYWx1ZUJ1ZmZlci5oAC9ob21lL3J1bm5lci93b3JrL3lvZ2EveW9nYS9qYXZhc2NyaXB0Ly4uL3lvZ2Evc3R5bGUvU3R5bGVWYWx1ZVBvb2wuaAB1bnNpZ25lZCBsb25nAHN0ZDo6d3N0cmluZwBzdGQ6OnN0cmluZwBzdGQ6OnUxNnN0cmluZwBzdGQ6OnUzMnN0cmluZwBzZXRQYWRkaW5nAGdldFBhZGRpbmcAZ2V0Q29tcHV0ZWRQYWRkaW5nAFRyaWVkIHRvIGNvbnN0cnVjdCBZR05vZGUgd2l0aCBudWxsIGNvbmZpZwBBdHRlbXB0aW5nIHRvIGNvbnN0cnVjdCBOb2RlIHdpdGggbnVsbCBjb25maWcAY3JlYXRlV2l0aENvbmZpZwBpbmYAc2V0QWxpZ25TZWxmAGdldEFsaWduU2VsZgBTaXplAHZhbHVlAFZhbHVlAGNyZWF0ZQBtZWFzdXJlAHNldFBvc2l0aW9uVHlwZQBnZXRQb3NpdGlvblR5cGUAaXNSZWZlcmVuY2VCYXNlbGluZQBzZXRJc1JlZmVyZW5jZUJhc2VsaW5lAGNvcHlTdHlsZQBkb3VibGUATm9kZQBleHRlbmQAaW5zZXJ0Q2hpbGQAZ2V0Q2hpbGQAcmVtb3ZlQ2hpbGQAdm9pZABzZXRFeHBlcmltZW50YWxGZWF0dXJlRW5hYmxlZABpc0V4cGVyaW1lbnRhbEZlYXR1cmVFbmFibGVkAGRpcnRpZWQAQ2Fubm90IHJlc2V0IGEgbm9kZSB3aGljaCBzdGlsbCBoYXMgY2hpbGRyZW4gYXR0YWNoZWQAdW5zZXRNZWFzdXJlRnVuYwB1bnNldERpcnRpZWRGdW5jAHNldEVycmF0YQBnZXRFcnJhdGEATWVhc3VyZSBmdW5jdGlvbiByZXR1cm5lZCBhbiBpbnZhbGlkIGRpbWVuc2lvbiB0byBZb2dhOiBbd2lkdGg9JWYsIGhlaWdodD0lZl0ARXhwZWN0IGN1c3RvbSBiYXNlbGluZSBmdW5jdGlvbiB0byBub3QgcmV0dXJuIE5hTgBOQU4ASU5GAGVtc2NyaXB0ZW46Om1lbW9yeV92aWV3PHNob3J0PgBlbXNjcmlwdGVuOjptZW1vcnlfdmlldzx1bnNpZ25lZCBzaG9ydD4AZW1zY3JpcHRlbjo6bWVtb3J5X3ZpZXc8aW50PgBlbXNjcmlwdGVuOjptZW1vcnlfdmlldzx1bnNpZ25lZCBpbnQ+AGVtc2NyaXB0ZW46Om1lbW9yeV92aWV3PGZsb2F0PgBlbXNjcmlwdGVuOjptZW1vcnlfdmlldzx1aW50OF90PgBlbXNjcmlwdGVuOjptZW1vcnlfdmlldzxpbnQ4X3Q+AGVtc2NyaXB0ZW46Om1lbW9yeV92aWV3PHVpbnQxNl90PgBlbXNjcmlwdGVuOjptZW1vcnlfdmlldzxpbnQxNl90PgBlbXNjcmlwdGVuOjptZW1vcnlfdmlldzx1aW50MzJfdD4AZW1zY3JpcHRlbjo6bWVtb3J5X3ZpZXc8aW50MzJfdD4AZW1zY3JpcHRlbjo6bWVtb3J5X3ZpZXc8Y2hhcj4AZW1zY3JpcHRlbjo6bWVtb3J5X3ZpZXc8dW5zaWduZWQgY2hhcj4Ac3RkOjpiYXNpY19zdHJpbmc8dW5zaWduZWQgY2hhcj4AZW1zY3JpcHRlbjo6bWVtb3J5X3ZpZXc8c2lnbmVkIGNoYXI+AGVtc2NyaXB0ZW46Om1lbW9yeV92aWV3PGxvbmc+AGVtc2NyaXB0ZW46Om1lbW9yeV92aWV3PHVuc2lnbmVkIGxvbmc+AGVtc2NyaXB0ZW46Om1lbW9yeV92aWV3PGRvdWJsZT4AQ2hpbGQgYWxyZWFkeSBoYXMgYSBvd25lciwgaXQgbXVzdCBiZSByZW1vdmVkIGZpcnN0LgBDYW5ub3Qgc2V0IG1lYXN1cmUgZnVuY3Rpb246IE5vZGVzIHdpdGggbWVhc3VyZSBmdW5jdGlvbnMgY2Fubm90IGhhdmUgY2hpbGRyZW4uAENhbm5vdCBhZGQgY2hpbGQ6IE5vZGVzIHdpdGggbWVhc3VyZSBmdW5jdGlvbnMgY2Fubm90IGhhdmUgY2hpbGRyZW4uAChudWxsKQBpbmRleCA8IDQwOTYgJiYgIlNtYWxsVmFsdWVCdWZmZXIgY2FuIG9ubHkgaG9sZCB1cCB0byA0MDk2IGNodW5rcyIAJXMKAAAAAQAAAAMAAAAAAAAAAgAAAAMAAAABAAAAAgAAAAAAAAABAAAAAQBB5CULQ2lpAHYAdmkAAAAAAG8dAABtHQAArR0AAKcdAACtHQAApx0AAGlpaWZpZmkAoB0AAHAdAAB2aWkAcR0AALQdAABpaWkAQbAmCwnBAAAAwgAAAMMAQcQmCw7BAAAAxAAAAMUAAACgHQBB4CYLPm8dAACtHQAApx0AAK0dAACnHQAAtB0AAK8dAAC0HQAAaWlpaQAAAACgHQAAhR0AAKAdAACHHQAAiB0AALQdAEGoJwsJxgAAAMcAAADIAEG8JwsWxgAAAMkAAADFAAAAix0AAKAdAACLHQBB4CcLogOgHQAAix0AAKcdAAChHQAAdmlpaWkAAACgHQAAix0AAK0dAAB2aWlmAAAAAKAdAACLHQAApx0AAHZpaWkAAAAAoB0AAIsdAAChHQAAoR0AAIwdAACnHQAApx0AAIwdAAChHQAAjB0AAGkAZGlpAHZpaWQAAJAdAACQHQAAix0AAKAdAACQHQAAoB0AAJAdAACPHQAAoB0AAJAdAACnHQAAoB0AAJAdAACnHQAArh0AAHZpaWlkAAAAoB0AAJAdAACuHQAApx0AAJEdAACOHQAAkR0AAKcdAACOHQAAkR0AAK4dAACRHQAArh0AAJEdAACnHQAAZGlpaQAAAACtHQAAkB0AAKcdAABmaWlpAAAAAKAdAACQHQAAkB0AAKgdAACgHQAAkB0AAJAdAACoHQAAkR0AAJAdAACQHQAAkB0AAJAdAACoHQAAoB0AAJAdAAChHQAAoR0AAJAdAACgHQAAkB0AAG0dAACgHQAAkB0AAIUdAAChHQAAkR0AAAAAAACgHQAAkB0AAK4dAACuHQAApx0AAHZpaWRkaQAAjR0AAJEdAEGQKwtBGQAKABkZGQAAAAAFAAAAAAAACQAAAAALAAAAAAAAAAAZABEKGRkZAwoHAAEACQsYAAAJBgsAAAsABhkAAAAZGRkAQeErCyEOAAAAAAAAAAAZAAoNGRkZAA0AAAIACQ4AAAAJAA4AAA4AQZssCwEMAEGnLAsVEwAAAAATAAAAAAkMAAAAAAAMAAAMAEHVLAsBEABB4SwLFQ8AAAAEDwAAAAAJEAAAAAAAEAAAEABBjy0LARIAQZstCx4RAAAAABEAAAAACRIAAAAAABIAABIAABoAAAAaGhoAQdItCw4aAAAAGhoaAAAAAAAACQBBgy4LARQAQY8uCxUXAAAAABcAAAAACRQAAAAAABQAABQAQb0uCwEWAEHJLgsnFQAAAAAVAAAAAAkWAAAAAAAWAAAWAAAwMTIzNDU2Nzg5QUJDREVGAEGULwsBzwBBvC8LCP//////////AEGAMAsJ4CEBAAAAAAAFAEGUMAsBygBBrDALCssAAADMAAAAyB0AQcQwCwECAEHUMAsI//////////8AQZgxCwEFAEGkMQsBzQBBvDELDssAAADOAAAA2B0AAAAEAEHUMQsBAQBB5DELBf////8KAEGoMgsB0A==")){var B=_;_=n.locateFile?n.locateFile(B,a):a+B}function N(){var e=_;try{if(e==_&&s)return new Uint8Array(s);if(j(e))try{var t=Xe(e.slice(37)),n=new Uint8Array(t.length);for(e=0;e<t.length;++e)n[e]=t.charCodeAt(e);var r=n}catch(i){throw Error("Converting base64 string to bytes failed.")}else r=void 0;if(r)return r;throw"both async and sync fetching of the wasm failed"}catch(i){D(i)}}function M(e){for(;0<e.length;)e.shift()(n)}function R(e){if(void 0===e)return"_unknown";var t=(e=e.replace(/[^a-zA-Z0-9_]/g,"$")).charCodeAt(0);return 48<=t&&57>=t?"_"+e:e}function L(e,t){return e=R(e),function(){return t.apply(this,arguments)}}var F=[{},{value:void 0},{value:null},{value:!0},{value:!1}],z=[];function Q(e){var t=Error,n=L(e,(function(t){this.name=e,this.message=t,void 0!==(t=Error(t).stack)&&(this.stack=this.toString()+"\n"+t.replace(/^Error(:[^\n]*)?\n/,""))}));return n.prototype=Object.create(t.prototype),n.prototype.constructor=n,n.prototype.toString=function(){return void 0===this.message?this.name:this.name+": "+this.message},n}var U=void 0;function V(e){throw new U(e)}var G=e=>(e||V("Cannot use deleted val. handle = "+e),F[e].value),q=e=>{switch(e){case void 0:return 1;case null:return 2;case!0:return 3;case!1:return 4;default:var t=z.length?z.pop():F.length;return F[t]={ga:1,value:e},t}},H=void 0,W=void 0;function Y(e){for(var t="";h[e];)t+=W[h[e++]];return t}var K=[];function J(){for(;K.length;){var e=K.pop();e.M.$=!1,e.delete()}}var X=void 0,Z={};function $(e,t){for(void 0===t&&V("ptr should not be undefined");e.R;)t=e.ba(t),e=e.R;return t}var ee={};function te(e){var t=Y(e=$e(e));return nt(e),t}function ne(e,t){var n=ee[e];return void 0===n&&V(t+" has unknown type "+te(e)),n}function re(){}var ie=!1;function oe(e){--e.count.value,0===e.count.value&&(e.T?e.U.W(e.T):e.P.N.W(e.O))}function ae(e,t,n){return t===n?e:void 0===n.R||null===(e=ae(e,t,n.R))?null:n.na(e)}var se={};var le=void 0;function ce(e){throw new le(e)}function ue(e,t){return t.P&&t.O||ce("makeClassHandle requires ptr and ptrType"),!!t.U!==!!t.T&&ce("Both smartPtrType and smartPtr must be specified"),t.count={value:1},de(Object.create(e,{M:{value:t}}))}function de(e){return"undefined"===typeof FinalizationRegistry?(de=e=>e,e):(ie=new FinalizationRegistry((e=>{oe(e.M)})),re=e=>{ie.unregister(e)},(de=e=>{var t=e.M;return t.T&&ie.register(e,{M:t},e),e})(e))}var pe={};function he(e){for(;e.length;){var t=e.pop();e.pop()(t)}}function fe(e){return this.fromWireType(g[e>>2])}var me={},ge={};function ve(e,t,n){function r(t){(t=n(t)).length!==e.length&&ce("Mismatched type converter count");for(var r=0;r<e.length;++r)Ae(e[r],t[r])}e.forEach((function(e){ge[e]=t}));var i=Array(t.length),o=[],a=0;t.forEach(((e,t)=>{ee.hasOwnProperty(e)?i[t]=ee[e]:(o.push(e),me.hasOwnProperty(e)||(me[e]=[]),me[e].push((()=>{i[t]=ee[e],++a===o.length&&r(i)})))})),0===o.length&&r(i)}function ye(e){switch(e){case 1:return 0;case 2:return 1;case 4:return 2;case 8:return 3;default:throw new TypeError("Unknown type size: "+e)}}function Ae(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!("argPackAdvance"in t))throw new TypeError("registerType registeredInstance requires argPackAdvance");var r=t.name;if(e||V('type "'+r+'" must have a positive integer typeid pointer'),ee.hasOwnProperty(e)){if(n.ua)return;V("Cannot register type '"+r+"' twice")}ee[e]=t,delete ge[e],me.hasOwnProperty(e)&&(t=me[e],delete me[e],t.forEach((e=>e())))}function be(e){V(e.M.P.N.name+" instance already deleted")}function we(){}function xe(e,t,n){if(void 0===e[t].S){var r=e[t];e[t]=function(){return e[t].S.hasOwnProperty(arguments.length)||V("Function '"+n+"' called with an invalid number of arguments ("+arguments.length+") - expects one of ("+e[t].S+")!"),e[t].S[arguments.length].apply(this,arguments)},e[t].S=[],e[t].S[r.Z]=r}}function Ce(e,t,n,r,i,o,a,s){this.name=e,this.constructor=t,this.X=n,this.W=r,this.R=i,this.pa=o,this.ba=a,this.na=s,this.ja=[]}function Se(e,t,n){for(;t!==n;)t.ba||V("Expected null or instance of "+n.name+", got an instance of "+t.name),e=t.ba(e),t=t.R;return e}function ke(e,t){return null===t?(this.ea&&V("null is not a valid "+this.name),0):(t.M||V('Cannot pass "'+Ne(t)+'" as a '+this.name),t.M.O||V("Cannot pass deleted object as a pointer of type "+this.name),Se(t.M.O,t.M.P.N,this.N))}function Ee(e,t){if(null===t){if(this.ea&&V("null is not a valid "+this.name),this.da){var n=this.fa();return null!==e&&e.push(this.W,n),n}return 0}if(t.M||V('Cannot pass "'+Ne(t)+'" as a '+this.name),t.M.O||V("Cannot pass deleted object as a pointer of type "+this.name),!this.ca&&t.M.P.ca&&V("Cannot convert argument of type "+(t.M.U?t.M.U.name:t.M.P.name)+" to parameter type "+this.name),n=Se(t.M.O,t.M.P.N,this.N),this.da)switch(void 0===t.M.T&&V("Passing raw pointer to smart pointer is illegal"),this.Ba){case 0:t.M.U===this?n=t.M.T:V("Cannot convert argument of type "+(t.M.U?t.M.U.name:t.M.P.name)+" to parameter type "+this.name);break;case 1:n=t.M.T;break;case 2:if(t.M.U===this)n=t.M.T;else{var r=t.clone();n=this.xa(n,q((function(){r.delete()}))),null!==e&&e.push(this.W,n)}break;default:V("Unsupporting sharing policy")}return n}function Ie(e,t){return null===t?(this.ea&&V("null is not a valid "+this.name),0):(t.M||V('Cannot pass "'+Ne(t)+'" as a '+this.name),t.M.O||V("Cannot pass deleted object as a pointer of type "+this.name),t.M.P.ca&&V("Cannot convert argument of type "+t.M.P.name+" to parameter type "+this.name),Se(t.M.O,t.M.P.N,this.N))}function _e(e,t,n,r){this.name=e,this.N=t,this.ea=n,this.ca=r,this.da=!1,this.W=this.xa=this.fa=this.ka=this.Ba=this.wa=void 0,void 0!==t.R?this.toWireType=Ee:(this.toWireType=r?ke:Ie,this.V=null)}function Pe(e,t){var r=(e=Y(e)).includes("j")?function(e,t){var r=[];return function(){if(r.length=0,Object.assign(r,arguments),e.includes("j")){var i=n["dynCall_"+e];i=r&&r.length?i.apply(null,[t].concat(r)):i.call(null,t)}else i=C.get(t).apply(null,r);return i}}(e,t):C.get(t);return"function"!=typeof r&&V("unknown function pointer with signature "+e+": "+t),r}var Oe=void 0;function Te(e,t){var n=[],r={};throw t.forEach((function e(t){r[t]||ee[t]||(ge[t]?ge[t].forEach(e):(n.push(t),r[t]=!0))})),new Oe(e+": "+n.map(te).join([", "]))}function De(e,t,n,r,i){var o=t.length;2>o&&V("argTypes array size mismatch! Must at least get return value and 'this' types!");var a=null!==t[1]&&null!==n,s=!1;for(n=1;n<t.length;++n)if(null!==t[n]&&void 0===t[n].V){s=!0;break}var l="void"!==t[0].name,c=o-2,u=Array(c),d=[],p=[];return function(){if(arguments.length!==c&&V("function "+e+" called with "+arguments.length+" arguments, expected "+c+" args!"),p.length=0,d.length=a?2:1,d[0]=i,a){var n=t[1].toWireType(p,this);d[1]=n}for(var o=0;o<c;++o)u[o]=t[o+2].toWireType(p,arguments[o]),d.push(u[o]);if(o=r.apply(null,d),s)he(p);else for(var h=a?1:2;h<t.length;h++){var f=1===h?n:u[h-2];null!==t[h].V&&t[h].V(f)}return n=l?t[0].fromWireType(o):void 0}}function je(e,t){for(var n=[],r=0;r<e;r++)n.push(v[t+4*r>>2]);return n}function Be(e){4<e&&0===--F[e].ga&&(F[e]=void 0,z.push(e))}function Ne(e){if(null===e)return"null";var t=typeof e;return"object"===t||"array"===t||"function"===t?e.toString():""+e}function Me(e,t){switch(t){case 2:return function(e){return this.fromWireType(y[e>>2])};case 3:return function(e){return this.fromWireType(A[e>>3])};default:throw new TypeError("Unknown float type: "+e)}}function Re(e,t,n){switch(t){case 0:return n?function(e){return p[e]}:function(e){return h[e]};case 1:return n?function(e){return f[e>>1]}:function(e){return m[e>>1]};case 2:return n?function(e){return g[e>>2]}:function(e){return v[e>>2]};default:throw new TypeError("Unknown integer type: "+e)}}function Le(e,t){for(var n="",r=0;!(r>=t/2);++r){var i=f[e+2*r>>1];if(0==i)break;n+=String.fromCharCode(i)}return n}function Fe(e,t,n){if(void 0===n&&(n=2147483647),2>n)return 0;var r=t;n=(n-=2)<2*e.length?n/2:e.length;for(var i=0;i<n;++i)f[t>>1]=e.charCodeAt(i),t+=2;return f[t>>1]=0,t-r}function ze(e){return 2*e.length}function Qe(e,t){for(var n=0,r="";!(n>=t/4);){var i=g[e+4*n>>2];if(0==i)break;++n,65536<=i?(i-=65536,r+=String.fromCharCode(55296|i>>10,56320|1023&i)):r+=String.fromCharCode(i)}return r}function Ue(e,t,n){if(void 0===n&&(n=2147483647),4>n)return 0;var r=t;n=r+n-4;for(var i=0;i<e.length;++i){var o=e.charCodeAt(i);if(55296<=o&&57343>=o)o=65536+((1023&o)<<10)|1023&e.charCodeAt(++i);if(g[t>>2]=o,(t+=4)+4>n)break}return g[t>>2]=0,t-r}function Ve(e){for(var t=0,n=0;n<e.length;++n){var r=e.charCodeAt(n);55296<=r&&57343>=r&&++n,t+=4}return t}var Ge={};function qe(e){var t=Ge[e];return void 0===t?Y(e):t}var He=[];var We=[],Ye=[null,[],[]];U=n.BindingError=Q("BindingError"),n.count_emval_handles=function(){for(var e=0,t=5;t<F.length;++t)void 0!==F[t]&&++e;return e},n.get_first_emval=function(){for(var e=5;e<F.length;++e)if(void 0!==F[e])return F[e];return null},H=n.PureVirtualError=Q("PureVirtualError");for(var Ke=Array(256),Je=0;256>Je;++Je)Ke[Je]=String.fromCharCode(Je);W=Ke,n.getInheritedInstanceCount=function(){return Object.keys(Z).length},n.getLiveInheritedInstances=function(){var e,t=[];for(e in Z)Z.hasOwnProperty(e)&&t.push(Z[e]);return t},n.flushPendingDeletes=J,n.setDelayFunction=function(e){X=e,K.length&&X&&X(J)},le=n.InternalError=Q("InternalError"),we.prototype.isAliasOf=function(e){if(!(this instanceof we&&e instanceof we))return!1;var t=this.M.P.N,n=this.M.O,r=e.M.P.N;for(e=e.M.O;t.R;)n=t.ba(n),t=t.R;for(;r.R;)e=r.ba(e),r=r.R;return t===r&&n===e},we.prototype.clone=function(){if(this.M.O||be(this),this.M.aa)return this.M.count.value+=1,this;var e=de,t=Object,n=t.create,r=Object.getPrototypeOf(this),i=this.M;return(e=e(n.call(t,r,{M:{value:{count:i.count,$:i.$,aa:i.aa,O:i.O,P:i.P,T:i.T,U:i.U}}}))).M.count.value+=1,e.M.$=!1,e},we.prototype.delete=function(){this.M.O||be(this),this.M.$&&!this.M.aa&&V("Object already scheduled for deletion"),re(this),oe(this.M),this.M.aa||(this.M.T=void 0,this.M.O=void 0)},we.prototype.isDeleted=function(){return!this.M.O},we.prototype.deleteLater=function(){return this.M.O||be(this),this.M.$&&!this.M.aa&&V("Object already scheduled for deletion"),K.push(this),1===K.length&&X&&X(J),this.M.$=!0,this},_e.prototype.qa=function(e){return this.ka&&(e=this.ka(e)),e},_e.prototype.ha=function(e){this.W&&this.W(e)},_e.prototype.argPackAdvance=8,_e.prototype.readValueFromPointer=fe,_e.prototype.deleteObject=function(e){null!==e&&e.delete()},_e.prototype.fromWireType=function(e){function t(){return this.da?ue(this.N.X,{P:this.wa,O:n,U:this,T:e}):ue(this.N.X,{P:this,O:e})}var n=this.qa(e);if(!n)return this.ha(e),null;var r=function(e,t){return t=$(e,t),Z[t]}(this.N,n);if(void 0!==r)return 0===r.M.count.value?(r.M.O=n,r.M.T=e,r.clone()):(r=r.clone(),this.ha(e),r);if(r=this.N.pa(n),!(r=se[r]))return t.call(this);r=this.ca?r.la:r.pointerType;var i=ae(n,this.N,r.N);return null===i?t.call(this):this.da?ue(r.N.X,{P:r,O:i,U:this,T:e}):ue(r.N.X,{P:r,O:i})},Oe=n.UnboundTypeError=Q("UnboundTypeError");var Xe="function"==typeof atob?atob:function(e){var t="",n=0;e=e.replace(/[^A-Za-z0-9\+\/=]/g,"");do{var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(e.charAt(n++)),i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(e.charAt(n++)),o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(e.charAt(n++)),a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(e.charAt(n++));r=r<<2|i>>4,i=(15&i)<<4|o>>2;var s=(3&o)<<6|a;t+=String.fromCharCode(r),64!==o&&(t+=String.fromCharCode(i)),64!==a&&(t+=String.fromCharCode(s))}while(n<e.length);return t},Ze={l:function(e,t,n,r){D("Assertion failed: "+(e?w(h,e):"")+", at: "+[t?t?w(h,t):"":"unknown filename",n,r?r?w(h,r):"":"unknown function"])},q:function(e,t,n){e=Y(e),t=ne(t,"wrapper"),n=G(n);var r=[].slice,i=t.N,o=i.X,a=i.R.X,s=i.R.constructor;for(var l in e=L(e,(function(){i.R.ja.forEach(function(e){if(this[e]===a[e])throw new H("Pure virtual function "+e+" must be implemented in JavaScript")}.bind(this)),Object.defineProperty(this,"__parent",{value:o}),this.__construct.apply(this,r.call(arguments))})),o.__construct=function(){this===o&&V("Pass correct 'this' to __construct");var e=s.implement.apply(void 0,[this].concat(r.call(arguments)));re(e);var t=e.M;e.notifyOnDestruction(),t.aa=!0,Object.defineProperties(this,{M:{value:t}}),de(this),e=t.O,e=$(i,e),Z.hasOwnProperty(e)?V("Tried to register registered instance: "+e):Z[e]=this},o.__destruct=function(){this===o&&V("Pass correct 'this' to __destruct"),re(this);var e=this.M.O;e=$(i,e),Z.hasOwnProperty(e)?delete Z[e]:V("Tried to unregister unregistered instance: "+e)},e.prototype=Object.create(o),n)e.prototype[l]=n[l];return q(e)},j:function(e){var t=pe[e];delete pe[e];var n=t.fa,r=t.W,i=t.ia;ve([e],i.map((e=>e.ta)).concat(i.map((e=>e.za))),(e=>{var o={};return i.forEach(((t,n)=>{var r=e[n],a=t.ra,s=t.sa,l=e[n+i.length],c=t.ya,u=t.Aa;o[t.oa]={read:e=>r.fromWireType(a(s,e)),write:(e,t)=>{var n=[];c(u,e,l.toWireType(n,t)),he(n)}}})),[{name:t.name,fromWireType:function(e){var t,n={};for(t in o)n[t]=o[t].read(e);return r(e),n},toWireType:function(e,t){for(var i in o)if(!(i in t))throw new TypeError('Missing field:  "'+i+'"');var a=n();for(i in o)o[i].write(a,t[i]);return null!==e&&e.push(r,a),a},argPackAdvance:8,readValueFromPointer:fe,V:r}]}))},v:function(){},B:function(e,t,n,r,i){var o=ye(n);Ae(e,{name:t=Y(t),fromWireType:function(e){return!!e},toWireType:function(e,t){return t?r:i},argPackAdvance:8,readValueFromPointer:function(e){if(1===n)var r=p;else if(2===n)r=f;else{if(4!==n)throw new TypeError("Unknown boolean type size: "+t);r=g}return this.fromWireType(r[e>>o])},V:null})},f:function(e,t,r,i,o,a,s,l,c,u,d,p,h){d=Y(d),a=Pe(o,a),l&&(l=Pe(s,l)),u&&(u=Pe(c,u)),h=Pe(p,h);var f=R(d);!function(e,t){n.hasOwnProperty(e)?(V("Cannot register public name '"+e+"' twice"),xe(n,e,e),n.hasOwnProperty(void 0)&&V("Cannot register multiple overloads of a function with the same number of arguments (undefined)!"),n[e].S[void 0]=t):n[e]=t}(f,(function(){Te("Cannot construct "+d+" due to unbound types",[i])})),ve([e,t,r],i?[i]:[],(function(t){if(t=t[0],i)var r=t.N,o=r.X;else o=we.prototype;t=L(f,(function(){if(Object.getPrototypeOf(this)!==s)throw new U("Use 'new' to construct "+d);if(void 0===c.Y)throw new U(d+" has no accessible constructor");var e=c.Y[arguments.length];if(void 0===e)throw new U("Tried to invoke ctor of "+d+" with invalid number of parameters ("+arguments.length+") - expected ("+Object.keys(c.Y).toString()+") parameters instead!");return e.apply(this,arguments)}));var s=Object.create(o,{constructor:{value:t}});t.prototype=s;var c=new Ce(d,t,s,h,r,a,l,u);r=new _e(d,c,!0,!1),o=new _e(d+"*",c,!1,!1);var p=new _e(d+" const*",c,!1,!0);return se[e]={pointerType:o,la:p},function(e,t){n.hasOwnProperty(e)||ce("Replacing nonexistant public symbol"),n[e]=t,n[e].Z=void 0}(f,t),[r,o,p]}))},d:function(e,t,n,r,i,o,a){var s=je(n,r);t=Y(t),o=Pe(i,o),ve([],[e],(function(e){function r(){Te("Cannot call "+i+" due to unbound types",s)}var i=(e=e[0]).name+"."+t;t.startsWith("@@")&&(t=Symbol[t.substring(2)]);var l=e.N.constructor;return void 0===l[t]?(r.Z=n-1,l[t]=r):(xe(l,t,i),l[t].S[n-1]=r),ve([],s,(function(e){return e=De(i,[e[0],null].concat(e.slice(1)),null,o,a),void 0===l[t].S?(e.Z=n-1,l[t]=e):l[t].S[n-1]=e,[]})),[]}))},p:function(e,t,n,r,i,o){0<t||D();var a=je(t,n);i=Pe(r,i),ve([],[e],(function(e){var n="constructor "+(e=e[0]).name;if(void 0===e.N.Y&&(e.N.Y=[]),void 0!==e.N.Y[t-1])throw new U("Cannot register multiple constructors with identical number of parameters ("+(t-1)+") for class '"+e.name+"'! Overload resolution is currently only performed using the parameter count, not actual type info!");return e.N.Y[t-1]=()=>{Te("Cannot construct "+e.name+" due to unbound types",a)},ve([],a,(function(r){return r.splice(1,0,null),e.N.Y[t-1]=De(n,r,null,i,o),[]})),[]}))},a:function(e,t,n,r,i,o,a,s){var l=je(n,r);t=Y(t),o=Pe(i,o),ve([],[e],(function(e){function r(){Te("Cannot call "+i+" due to unbound types",l)}var i=(e=e[0]).name+"."+t;t.startsWith("@@")&&(t=Symbol[t.substring(2)]),s&&e.N.ja.push(t);var c=e.N.X,u=c[t];return void 0===u||void 0===u.S&&u.className!==e.name&&u.Z===n-2?(r.Z=n-2,r.className=e.name,c[t]=r):(xe(c,t,i),c[t].S[n-2]=r),ve([],l,(function(r){return r=De(i,r,e,o,a),void 0===c[t].S?(r.Z=n-2,c[t]=r):c[t].S[n-2]=r,[]})),[]}))},A:function(e,t){Ae(e,{name:t=Y(t),fromWireType:function(e){var t=G(e);return Be(e),t},toWireType:function(e,t){return q(t)},argPackAdvance:8,readValueFromPointer:fe,V:null})},n:function(e,t,n){n=ye(n),Ae(e,{name:t=Y(t),fromWireType:function(e){return e},toWireType:function(e,t){return t},argPackAdvance:8,readValueFromPointer:Me(t,n),V:null})},e:function(e,t,n,r,i){t=Y(t),-1===i&&(i=4294967295),i=ye(n);var o=e=>e;if(0===r){var a=32-8*n;o=e=>e<<a>>>a}n=t.includes("unsigned")?function(e,t){return t>>>0}:function(e,t){return t},Ae(e,{name:t,fromWireType:o,toWireType:n,argPackAdvance:8,readValueFromPointer:Re(t,i,0!==r),V:null})},b:function(e,t,n){function r(e){var t=v;return new i(d,t[(e>>=2)+1],t[e])}var i=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array][t];Ae(e,{name:n=Y(n),fromWireType:r,argPackAdvance:8,readValueFromPointer:r},{ua:!0})},o:function(e,t){var n="std::string"===(t=Y(t));Ae(e,{name:t,fromWireType:function(e){var t=v[e>>2],r=e+4;if(n)for(var i=r,o=0;o<=t;++o){var a=r+o;if(o==t||0==h[a]){if(i=i?w(h,i,a-i):"",void 0===s)var s=i;else s+=String.fromCharCode(0),s+=i;i=a+1}}else{for(s=Array(t),o=0;o<t;++o)s[o]=String.fromCharCode(h[r+o]);s=s.join("")}return nt(e),s},toWireType:function(e,t){t instanceof ArrayBuffer&&(t=new Uint8Array(t));var r,i="string"==typeof t;if(i||t instanceof Uint8Array||t instanceof Uint8ClampedArray||t instanceof Int8Array||V("Cannot pass non-string to std::string"),n&&i){var o=0;for(r=0;r<t.length;++r){var a=t.charCodeAt(r);127>=a?o++:2047>=a?o+=2:55296<=a&&57343>=a?(o+=4,++r):o+=3}r=o}else r=t.length;if(a=(o=tt(4+r+1))+4,v[o>>2]=r,n&&i){if(i=a,a=r+1,r=h,0<a){a=i+a-1;for(var s=0;s<t.length;++s){var l=t.charCodeAt(s);if(55296<=l&&57343>=l)l=65536+((1023&l)<<10)|1023&t.charCodeAt(++s);if(127>=l){if(i>=a)break;r[i++]=l}else{if(2047>=l){if(i+1>=a)break;r[i++]=192|l>>6}else{if(65535>=l){if(i+2>=a)break;r[i++]=224|l>>12}else{if(i+3>=a)break;r[i++]=240|l>>18,r[i++]=128|l>>12&63}r[i++]=128|l>>6&63}r[i++]=128|63&l}}r[i]=0}}else if(i)for(i=0;i<r;++i)255<(s=t.charCodeAt(i))&&(nt(a),V("String has UTF-16 code units that do not fit in 8 bits")),h[a+i]=s;else for(i=0;i<r;++i)h[a+i]=t[i];return null!==e&&e.push(nt,o),o},argPackAdvance:8,readValueFromPointer:fe,V:function(e){nt(e)}})},i:function(e,t,n){if(n=Y(n),2===t)var r=Le,i=Fe,o=ze,a=()=>m,s=1;else 4===t&&(r=Qe,i=Ue,o=Ve,a=()=>v,s=2);Ae(e,{name:n,fromWireType:function(e){for(var n,i=v[e>>2],o=a(),l=e+4,c=0;c<=i;++c){var u=e+4+c*t;c!=i&&0!=o[u>>s]||(l=r(l,u-l),void 0===n?n=l:(n+=String.fromCharCode(0),n+=l),l=u+t)}return nt(e),n},toWireType:function(e,r){"string"!=typeof r&&V("Cannot pass non-string to C++ string type "+n);var a=o(r),l=tt(4+a+t);return v[l>>2]=a>>s,i(r,l+4,a+t),null!==e&&e.push(nt,l),l},argPackAdvance:8,readValueFromPointer:fe,V:function(e){nt(e)}})},k:function(e,t,n,r,i,o){pe[e]={name:Y(t),fa:Pe(n,r),W:Pe(i,o),ia:[]}},h:function(e,t,n,r,i,o,a,s,l,c){pe[e].ia.push({oa:Y(t),ta:n,ra:Pe(r,i),sa:o,za:a,ya:Pe(s,l),Aa:c})},C:function(e,t){Ae(e,{va:!0,name:t=Y(t),argPackAdvance:0,fromWireType:function(){},toWireType:function(){}})},s:function(e,t,n,r,i){e=He[e],t=G(t),n=qe(n);var o=[];return v[r>>2]=q(o),e(t,n,o,i)},t:function(e,t,n,r){(e=He[e])(t=G(t),n=qe(n),null,r)},g:Be,m:function(e,t){var n=function(e,t){for(var n=Array(e),r=0;r<e;++r)n[r]=ne(v[t+4*r>>2],"parameter "+r);return n}(e,t),r=n[0];t=r.name+"_$"+n.slice(1).map((function(e){return e.name})).join("_")+"$";var i=We[t];if(void 0!==i)return i;var o=Array(e-1);return i=function(e){var t=He.length;return He.push(e),t}(((t,i,a,s)=>{for(var l=0,c=0;c<e-1;++c)o[c]=n[c+1].readValueFromPointer(s+l),l+=n[c+1].argPackAdvance;for(t=t[i].apply(t,o),c=0;c<e-1;++c)n[c+1].ma&&n[c+1].ma(o[c]);if(!r.va)return r.toWireType(a,t)})),We[t]=i},D:function(e){4<e&&(F[e].ga+=1)},r:function(e){he(G(e)),Be(e)},c:function(){D("")},x:function(e,t,n){h.copyWithin(e,t,t+n)},w:function(e){var t=h.length;if(2147483648<(e>>>=0))return!1;for(var n=1;4>=n;n*=2){var r=t*(1+.2/n);r=Math.min(r,e+100663296);var i=Math;r=Math.max(e,r),i=i.min.call(i,2147483648,r+(65536-r%65536)%65536);e:{try{u.grow(i-d.byteLength+65535>>>16),x();var o=1;break e}catch(a){}o=void 0}if(o)return!0}return!1},z:function(){return 52},u:function(){return 70},y:function(e,t,n,r){for(var i=0,o=0;o<n;o++){var a=v[t>>2],s=v[t+4>>2];t+=8;for(var u=0;u<s;u++){var d=h[a+u],p=Ye[e];0===d||10===d?((1===e?l:c)(w(p,0)),p.length=0):p.push(d)}i+=s}return v[r>>2]=i,0}};!function(){function e(e){n.asm=e.exports,u=n.asm.E,x(),C=n.asm.J,k.unshift(n.asm.F),P--,n.monitorRunDependencies&&n.monitorRunDependencies(P),0==P&&(null!==O&&(clearInterval(O),O=null),T&&(e=T,T=null,e()))}function t(t){e(t.instance)}function r(e){return(s||"function"!=typeof fetch?Promise.resolve().then((function(){return N()})):fetch(_,{credentials:"same-origin"}).then((function(e){if(!e.ok)throw"failed to load wasm binary file at '"+_+"'";return e.arrayBuffer()})).catch((function(){return N()}))).then((function(e){return WebAssembly.instantiate(e,o)})).then((function(e){return e})).then(e,(function(e){c("failed to asynchronously prepare wasm: "+e),D(e)}))}var o={a:Ze};if(P++,n.monitorRunDependencies&&n.monitorRunDependencies(P),n.instantiateWasm)try{return n.instantiateWasm(o,e)}catch(a){c("Module.instantiateWasm callback failed with error: "+a),i(a)}(s||"function"!=typeof WebAssembly.instantiateStreaming||j(_)||"function"!=typeof fetch?r(t):fetch(_,{credentials:"same-origin"}).then((function(e){return WebAssembly.instantiateStreaming(e,o).then(t,(function(e){return c("wasm streaming compile failed: "+e),c("falling back to ArrayBuffer instantiation"),r(t)}))}))).catch(i)}(),n.___wasm_call_ctors=function(){return(n.___wasm_call_ctors=n.asm.F).apply(null,arguments)};var $e=n.___getTypeName=function(){return($e=n.___getTypeName=n.asm.G).apply(null,arguments)};n.__embind_initialize_bindings=function(){return(n.__embind_initialize_bindings=n.asm.H).apply(null,arguments)};var et,tt=n._malloc=function(){return(tt=n._malloc=n.asm.I).apply(null,arguments)},nt=n._free=function(){return(nt=n._free=n.asm.K).apply(null,arguments)};function rt(){function e(){if(!et&&(et=!0,n.calledRun=!0,!b)){if(M(k),r(n),n.onRuntimeInitialized&&n.onRuntimeInitialized(),n.postRun)for("function"==typeof n.postRun&&(n.postRun=[n.postRun]);n.postRun.length;){var e=n.postRun.shift();E.unshift(e)}M(E)}}if(!(0<P)){if(n.preRun)for("function"==typeof n.preRun&&(n.preRun=[n.preRun]);n.preRun.length;)I();M(S),0<P||(n.setStatus?(n.setStatus("Running..."),setTimeout((function(){setTimeout((function(){n.setStatus("")}),1),e()}),1)):e())}}if(n.dynCall_jiji=function(){return(n.dynCall_jiji=n.asm.L).apply(null,arguments)},T=function e(){et||rt(),et||(T=e)},n.preInit)for("function"==typeof n.preInit&&(n.preInit=[n.preInit]);0<n.preInit.length;)n.preInit.pop()();return rt(),t.ready}})();const hE=pE;let fE=function(e){return e[e.Auto=0]="Auto",e[e.FlexStart=1]="FlexStart",e[e.Center=2]="Center",e[e.FlexEnd=3]="FlexEnd",e[e.Stretch=4]="Stretch",e[e.Baseline=5]="Baseline",e[e.SpaceBetween=6]="SpaceBetween",e[e.SpaceAround=7]="SpaceAround",e[e.SpaceEvenly=8]="SpaceEvenly",e}({}),mE=function(e){return e[e.Width=0]="Width",e[e.Height=1]="Height",e}({}),gE=function(e){return e[e.Inherit=0]="Inherit",e[e.LTR=1]="LTR",e[e.RTL=2]="RTL",e}({}),vE=function(e){return e[e.Flex=0]="Flex",e[e.None=1]="None",e}({}),yE=function(e){return e[e.Left=0]="Left",e[e.Top=1]="Top",e[e.Right=2]="Right",e[e.Bottom=3]="Bottom",e[e.Start=4]="Start",e[e.End=5]="End",e[e.Horizontal=6]="Horizontal",e[e.Vertical=7]="Vertical",e[e.All=8]="All",e}({}),AE=function(e){return e[e.None=0]="None",e[e.StretchFlexBasis=1]="StretchFlexBasis",e[e.AbsolutePositioningIncorrect=2]="AbsolutePositioningIncorrect",e[e.AbsolutePercentAgainstInnerSize=4]="AbsolutePercentAgainstInnerSize",e[e.All=2147483647]="All",e[e.Classic=2147483646]="Classic",e}({}),bE=function(e){return e[e.WebFlexBasis=0]="WebFlexBasis",e}({}),wE=function(e){return e[e.Column=0]="Column",e[e.ColumnReverse=1]="ColumnReverse",e[e.Row=2]="Row",e[e.RowReverse=3]="RowReverse",e}({}),xE=function(e){return e[e.Column=0]="Column",e[e.Row=1]="Row",e[e.All=2]="All",e}({}),CE=function(e){return e[e.FlexStart=0]="FlexStart",e[e.Center=1]="Center",e[e.FlexEnd=2]="FlexEnd",e[e.SpaceBetween=3]="SpaceBetween",e[e.SpaceAround=4]="SpaceAround",e[e.SpaceEvenly=5]="SpaceEvenly",e}({}),SE=function(e){return e[e.Error=0]="Error",e[e.Warn=1]="Warn",e[e.Info=2]="Info",e[e.Debug=3]="Debug",e[e.Verbose=4]="Verbose",e[e.Fatal=5]="Fatal",e}({}),kE=function(e){return e[e.Undefined=0]="Undefined",e[e.Exactly=1]="Exactly",e[e.AtMost=2]="AtMost",e}({}),EE=function(e){return e[e.Default=0]="Default",e[e.Text=1]="Text",e}({}),IE=function(e){return e[e.Visible=0]="Visible",e[e.Hidden=1]="Hidden",e[e.Scroll=2]="Scroll",e}({}),_E=function(e){return e[e.Static=0]="Static",e[e.Relative=1]="Relative",e[e.Absolute=2]="Absolute",e}({}),PE=function(e){return e[e.Undefined=0]="Undefined",e[e.Point=1]="Point",e[e.Percent=2]="Percent",e[e.Auto=3]="Auto",e}({}),OE=function(e){return e[e.NoWrap=0]="NoWrap",e[e.Wrap=1]="Wrap",e[e.WrapReverse=2]="WrapReverse",e}({});const TE={ALIGN_AUTO:fE.Auto,ALIGN_FLEX_START:fE.FlexStart,ALIGN_CENTER:fE.Center,ALIGN_FLEX_END:fE.FlexEnd,ALIGN_STRETCH:fE.Stretch,ALIGN_BASELINE:fE.Baseline,ALIGN_SPACE_BETWEEN:fE.SpaceBetween,ALIGN_SPACE_AROUND:fE.SpaceAround,ALIGN_SPACE_EVENLY:fE.SpaceEvenly,DIMENSION_WIDTH:mE.Width,DIMENSION_HEIGHT:mE.Height,DIRECTION_INHERIT:gE.Inherit,DIRECTION_LTR:gE.LTR,DIRECTION_RTL:gE.RTL,DISPLAY_FLEX:vE.Flex,DISPLAY_NONE:vE.None,EDGE_LEFT:yE.Left,EDGE_TOP:yE.Top,EDGE_RIGHT:yE.Right,EDGE_BOTTOM:yE.Bottom,EDGE_START:yE.Start,EDGE_END:yE.End,EDGE_HORIZONTAL:yE.Horizontal,EDGE_VERTICAL:yE.Vertical,EDGE_ALL:yE.All,ERRATA_NONE:AE.None,ERRATA_STRETCH_FLEX_BASIS:AE.StretchFlexBasis,ERRATA_ABSOLUTE_POSITIONING_INCORRECT:AE.AbsolutePositioningIncorrect,ERRATA_ABSOLUTE_PERCENT_AGAINST_INNER_SIZE:AE.AbsolutePercentAgainstInnerSize,ERRATA_ALL:AE.All,ERRATA_CLASSIC:AE.Classic,EXPERIMENTAL_FEATURE_WEB_FLEX_BASIS:bE.WebFlexBasis,FLEX_DIRECTION_COLUMN:wE.Column,FLEX_DIRECTION_COLUMN_REVERSE:wE.ColumnReverse,FLEX_DIRECTION_ROW:wE.Row,FLEX_DIRECTION_ROW_REVERSE:wE.RowReverse,GUTTER_COLUMN:xE.Column,GUTTER_ROW:xE.Row,GUTTER_ALL:xE.All,JUSTIFY_FLEX_START:CE.FlexStart,JUSTIFY_CENTER:CE.Center,JUSTIFY_FLEX_END:CE.FlexEnd,JUSTIFY_SPACE_BETWEEN:CE.SpaceBetween,JUSTIFY_SPACE_AROUND:CE.SpaceAround,JUSTIFY_SPACE_EVENLY:CE.SpaceEvenly,LOG_LEVEL_ERROR:SE.Error,LOG_LEVEL_WARN:SE.Warn,LOG_LEVEL_INFO:SE.Info,LOG_LEVEL_DEBUG:SE.Debug,LOG_LEVEL_VERBOSE:SE.Verbose,LOG_LEVEL_FATAL:SE.Fatal,MEASURE_MODE_UNDEFINED:kE.Undefined,MEASURE_MODE_EXACTLY:kE.Exactly,MEASURE_MODE_AT_MOST:kE.AtMost,NODE_TYPE_DEFAULT:EE.Default,NODE_TYPE_TEXT:EE.Text,OVERFLOW_VISIBLE:IE.Visible,OVERFLOW_HIDDEN:IE.Hidden,OVERFLOW_SCROLL:IE.Scroll,POSITION_TYPE_STATIC:_E.Static,POSITION_TYPE_RELATIVE:_E.Relative,POSITION_TYPE_ABSOLUTE:_E.Absolute,UNIT_UNDEFINED:PE.Undefined,UNIT_POINT:PE.Point,UNIT_PERCENT:PE.Percent,UNIT_AUTO:PE.Auto,WRAP_NO_WRAP:OE.NoWrap,WRAP_WRAP:OE.Wrap,WRAP_WRAP_REVERSE:OE.WrapReverse};function DE(e){function t(e,t,n){const r=e[t];e[t]=function(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return n.call(this,r,...t)}}for(const n of["setPosition","setMargin","setFlexBasis","setWidth","setHeight","setMinWidth","setMinHeight","setMaxWidth","setMaxHeight","setPadding","setGap"]){const r={[PE.Point]:e.Node.prototype[n],[PE.Percent]:e.Node.prototype[`${n}Percent`],[PE.Auto]:e.Node.prototype[`${n}Auto`]};t(e.Node.prototype,n,(function(e){for(var t=arguments.length,i=new Array(t>1?t-1:0),o=1;o<t;o++)i[o-1]=arguments[o];const a=i.pop();let s,l;if("auto"===a)s=PE.Auto,l=void 0;else if("object"===typeof a)s=a.unit,l=a.valueOf();else if(s="string"===typeof a&&a.endsWith("%")?PE.Percent:PE.Point,l=parseFloat(a),void 0!==a&&!Number.isNaN(a)&&Number.isNaN(l))throw new Error(`Invalid value ${a} for ${n}`);if(!r[s])throw new Error(`Failed to execute "${n}": Unsupported unit '${a}'`);return void 0!==l?r[s].call(this,...i,l):r[s].call(this,...i)}))}return t(e.Node.prototype,"setMeasureFunc",(function(t,n){return n?t.call(this,(r=n,e.MeasureCallback.implement({measure:function(){const{width:e,height:t}=r(...arguments);return{width:e??NaN,height:t??NaN}}}))):this.unsetMeasureFunc();var r})),t(e.Node.prototype,"setDirtiedFunc",(function(t,n){var r;t.call(this,(r=n,e.DirtiedCallback.implement({dirtied:r})))})),t(e.Config.prototype,"free",(function(){e.Config.destroy(this)})),t(e.Node,"create",((t,n)=>n?e.Node.createWithConfig(n):e.Node.createDefault())),t(e.Node.prototype,"free",(function(){e.Node.destroy(this)})),t(e.Node.prototype,"freeRecursive",(function(){for(let e=0,t=this.getChildCount();e<t;++e)this.getChild(0).freeRecursive();this.free()})),t(e.Node.prototype,"calculateLayout",(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:NaN,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:NaN,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:gE.LTR;return e.call(this,t,n,r)})),{Config:e.Config,Node:e.Node,...TE}}var jE="undefined"!==typeof global?global:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{},BE=[],NE=[],ME="undefined"!==typeof Uint8Array?Uint8Array:Array,RE=!1;function LE(){RE=!0;for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t=0;t<64;++t)BE[t]=e[t],NE[e.charCodeAt(t)]=t;NE["-".charCodeAt(0)]=62,NE["_".charCodeAt(0)]=63}function FE(e,t,n){for(var r,i,o=[],a=t;a<n;a+=3)r=(e[a]<<16)+(e[a+1]<<8)+e[a+2],o.push(BE[(i=r)>>18&63]+BE[i>>12&63]+BE[i>>6&63]+BE[63&i]);return o.join("")}function zE(e){var t;RE||LE();for(var n=e.length,r=n%3,i="",o=[],a=16383,s=0,l=n-r;s<l;s+=a)o.push(FE(e,s,s+a>l?l:s+a));return 1===r?(t=e[n-1],i+=BE[t>>2],i+=BE[t<<4&63],i+="=="):2===r&&(t=(e[n-2]<<8)+e[n-1],i+=BE[t>>10],i+=BE[t>>4&63],i+=BE[t<<2&63],i+="="),o.push(i),o.join("")}function QE(e,t,n,r,i){var o,a,s=8*i-r-1,l=(1<<s)-1,c=l>>1,u=-7,d=n?i-1:0,p=n?-1:1,h=e[t+d];for(d+=p,o=h&(1<<-u)-1,h>>=-u,u+=s;u>0;o=256*o+e[t+d],d+=p,u-=8);for(a=o&(1<<-u)-1,o>>=-u,u+=r;u>0;a=256*a+e[t+d],d+=p,u-=8);if(0===o)o=1-c;else{if(o===l)return a?NaN:1/0*(h?-1:1);a+=Math.pow(2,r),o-=c}return(h?-1:1)*a*Math.pow(2,o-r)}function UE(e,t,n,r,i,o){var a,s,l,c=8*o-i-1,u=(1<<c)-1,d=u>>1,p=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,h=r?0:o-1,f=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=u):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),(t+=a+d>=1?p/l:p*Math.pow(2,1-d))*l>=2&&(a++,l/=2),a+d>=u?(s=0,a=u):a+d>=1?(s=(t*l-1)*Math.pow(2,i),a+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,i),a=0));i>=8;e[n+h]=255&s,h+=f,s/=256,i-=8);for(a=a<<i|s,c+=i;c>0;e[n+h]=255&a,h+=f,a/=256,c-=8);e[n+h-f]|=128*m}var VE={}.toString,GE=Array.isArray||function(e){return"[object Array]"==VE.call(e)};function qE(){return WE.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function HE(e,t){if(qE()<t)throw new RangeError("Invalid typed array length");return WE.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=WE.prototype:(null===e&&(e=new WE(t)),e.length=t),e}function WE(e,t,n){if(!WE.TYPED_ARRAY_SUPPORT&&!(this instanceof WE))return new WE(e,t,n);if("number"===typeof e){if("string"===typeof t)throw new Error("If encoding is specified then the first argument must be a string");return JE(this,e)}return YE(this,e,t,n)}function YE(e,t,n,r){if("number"===typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!==typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,n,r){if(t.byteLength,n<0||t.byteLength<n)throw new RangeError("'offset' is out of bounds");if(t.byteLength<n+(r||0))throw new RangeError("'length' is out of bounds");t=void 0===n&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,n):new Uint8Array(t,n,r);WE.TYPED_ARRAY_SUPPORT?(e=t).__proto__=WE.prototype:e=XE(e,t);return e}(e,t,n,r):"string"===typeof t?function(e,t,n){"string"===typeof n&&""!==n||(n="utf8");if(!WE.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var r=0|eI(t,n);e=HE(e,r);var i=e.write(t,n);i!==r&&(e=e.slice(0,i));return e}(e,t,n):function(e,t){if($E(t)){var n=0|ZE(t.length);return 0===(e=HE(e,n)).length||t.copy(e,0,0,n),e}if(t){if("undefined"!==typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!==typeof t.length||(r=t.length)!==r?HE(e,0):XE(e,t);if("Buffer"===t.type&&GE(t.data))return XE(e,t.data)}var r;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function KE(e){if("number"!==typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function JE(e,t){if(KE(t),e=HE(e,t<0?0:0|ZE(t)),!WE.TYPED_ARRAY_SUPPORT)for(var n=0;n<t;++n)e[n]=0;return e}function XE(e,t){var n=t.length<0?0:0|ZE(t.length);e=HE(e,n);for(var r=0;r<n;r+=1)e[r]=255&t[r];return e}function ZE(e){if(e>=qE())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+qE().toString(16)+" bytes");return 0|e}function $E(e){return!(null==e||!e._isBuffer)}function eI(e,t){if($E(e))return e.length;if("undefined"!==typeof ArrayBuffer&&"function"===typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!==typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return II(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return _I(e).length;default:if(r)return II(e).length;t=(""+t).toLowerCase(),r=!0}}function tI(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return gI(this,t,n);case"utf8":case"utf-8":return pI(this,t,n);case"ascii":return fI(this,t,n);case"latin1":case"binary":return mI(this,t,n);case"base64":return dI(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return vI(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function nI(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function rI(e,t,n,r,i){if(0===e.length)return-1;if("string"===typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if("string"===typeof t&&(t=WE.from(t,r)),$E(t))return 0===t.length?-1:iI(e,t,n,r,i);if("number"===typeof t)return t&=255,WE.TYPED_ARRAY_SUPPORT&&"function"===typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):iI(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function iI(e,t,n,r,i){var o,a=1,s=e.length,l=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;a=2,s/=2,l/=2,n/=2}function c(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){var u=-1;for(o=n;o<s;o++)if(c(e,o)===c(t,-1===u?0:o-u)){if(-1===u&&(u=o),o-u+1===l)return u*a}else-1!==u&&(o-=o-u),u=-1}else for(n+l>s&&(n=s-l),o=n;o>=0;o--){for(var d=!0,p=0;p<l;p++)if(c(e,o+p)!==c(t,p)){d=!1;break}if(d)return o}return-1}function oI(e,t,n,r){n=Number(n)||0;var i=e.length-n;r?(r=Number(r))>i&&(r=i):r=i;var o=t.length;if(o%2!==0)throw new TypeError("Invalid hex string");r>o/2&&(r=o/2);for(var a=0;a<r;++a){var s=parseInt(t.substr(2*a,2),16);if(isNaN(s))return a;e[n+a]=s}return a}function aI(e,t,n,r){return PI(II(t,e.length-n),e,n,r)}function sI(e,t,n,r){return PI(function(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(t),e,n,r)}function lI(e,t,n,r){return sI(e,t,n,r)}function cI(e,t,n,r){return PI(_I(t),e,n,r)}function uI(e,t,n,r){return PI(function(e,t){for(var n,r,i,o=[],a=0;a<e.length&&!((t-=2)<0);++a)r=(n=e.charCodeAt(a))>>8,i=n%256,o.push(i),o.push(r);return o}(t,e.length-n),e,n,r)}function dI(e,t,n){return 0===t&&n===e.length?zE(e):zE(e.slice(t,n))}function pI(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;i<n;){var o,a,s,l,c=e[i],u=null,d=c>239?4:c>223?3:c>191?2:1;if(i+d<=n)switch(d){case 1:c<128&&(u=c);break;case 2:128===(192&(o=e[i+1]))&&(l=(31&c)<<6|63&o)>127&&(u=l);break;case 3:o=e[i+1],a=e[i+2],128===(192&o)&&128===(192&a)&&(l=(15&c)<<12|(63&o)<<6|63&a)>2047&&(l<55296||l>57343)&&(u=l);break;case 4:o=e[i+1],a=e[i+2],s=e[i+3],128===(192&o)&&128===(192&a)&&128===(192&s)&&(l=(15&c)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&l<1114112&&(u=l)}null===u?(u=65533,d=1):u>65535&&(u-=65536,r.push(u>>>10&1023|55296),u=56320|1023&u),r.push(u),i+=d}return function(e){var t=e.length;if(t<=hI)return String.fromCharCode.apply(String,e);var n="",r=0;for(;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=hI));return n}(r)}WE.TYPED_ARRAY_SUPPORT=void 0===jE.TYPED_ARRAY_SUPPORT||jE.TYPED_ARRAY_SUPPORT,qE(),WE.poolSize=8192,WE._augment=function(e){return e.__proto__=WE.prototype,e},WE.from=function(e,t,n){return YE(null,e,t,n)},WE.TYPED_ARRAY_SUPPORT&&(WE.prototype.__proto__=Uint8Array.prototype,WE.__proto__=Uint8Array,"undefined"!==typeof Symbol&&Symbol.species&&WE[Symbol.species]),WE.alloc=function(e,t,n){return function(e,t,n,r){return KE(t),t<=0?HE(e,t):void 0!==n?"string"===typeof r?HE(e,t).fill(n,r):HE(e,t).fill(n):HE(e,t)}(null,e,t,n)},WE.allocUnsafe=function(e){return JE(null,e)},WE.allocUnsafeSlow=function(e){return JE(null,e)},WE.isBuffer=function(e){return null!=e&&(!!e._isBuffer||OI(e)||function(e){return"function"===typeof e.readFloatLE&&"function"===typeof e.slice&&OI(e.slice(0,0))}(e))},WE.compare=function(e,t){if(!$E(e)||!$E(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,r=t.length,i=0,o=Math.min(n,r);i<o;++i)if(e[i]!==t[i]){n=e[i],r=t[i];break}return n<r?-1:r<n?1:0},WE.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},WE.concat=function(e,t){if(!GE(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return WE.alloc(0);var n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var r=WE.allocUnsafe(t),i=0;for(n=0;n<e.length;++n){var o=e[n];if(!$E(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(r,i),i+=o.length}return r},WE.byteLength=eI,WE.prototype._isBuffer=!0,WE.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)nI(this,t,t+1);return this},WE.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)nI(this,t,t+3),nI(this,t+1,t+2);return this},WE.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)nI(this,t,t+7),nI(this,t+1,t+6),nI(this,t+2,t+5),nI(this,t+3,t+4);return this},WE.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?pI(this,0,e):tI.apply(this,arguments)},WE.prototype.equals=function(e){if(!$E(e))throw new TypeError("Argument must be a Buffer");return this===e||0===WE.compare(this,e)},WE.prototype.inspect=function(){var e="";return this.length>0&&(e=this.toString("hex",0,50).match(/.{2}/g).join(" "),this.length>50&&(e+=" ... ")),"<Buffer "+e+">"},WE.prototype.compare=function(e,t,n,r,i){if(!$E(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(this===e)return 0;for(var o=(i>>>=0)-(r>>>=0),a=(n>>>=0)-(t>>>=0),s=Math.min(o,a),l=this.slice(r,i),c=e.slice(t,n),u=0;u<s;++u)if(l[u]!==c[u]){o=l[u],a=c[u];break}return o<a?-1:a<o?1:0},WE.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},WE.prototype.indexOf=function(e,t,n){return rI(this,e,t,n,!0)},WE.prototype.lastIndexOf=function(e,t,n){return rI(this,e,t,n,!1)},WE.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"===typeof t)r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(n)?(n|=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var i=this.length-t;if((void 0===n||n>i)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return oI(this,e,t,n);case"utf8":case"utf-8":return aI(this,e,t,n);case"ascii":return sI(this,e,t,n);case"latin1":case"binary":return lI(this,e,t,n);case"base64":return cI(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return uI(this,e,t,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},WE.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var hI=4096;function fI(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(127&e[i]);return r}function mI(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(e[i]);return r}function gI(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var i="",o=t;o<n;++o)i+=EI(e[o]);return i}function vI(e,t,n){for(var r=e.slice(t,n),i="",o=0;o<r.length;o+=2)i+=String.fromCharCode(r[o]+256*r[o+1]);return i}function yI(e,t,n){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function AI(e,t,n,r,i,o){if(!$E(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<o)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function bI(e,t,n,r){t<0&&(t=65535+t+1);for(var i=0,o=Math.min(e.length-n,2);i<o;++i)e[n+i]=(t&255<<8*(r?i:1-i))>>>8*(r?i:1-i)}function wI(e,t,n,r){t<0&&(t=4294967295+t+1);for(var i=0,o=Math.min(e.length-n,4);i<o;++i)e[n+i]=t>>>8*(r?i:3-i)&255}function xI(e,t,n,r,i,o){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function CI(e,t,n,r,i){return i||xI(e,0,n,4),UE(e,t,n,r,23,4),n+4}function SI(e,t,n,r,i){return i||xI(e,0,n,8),UE(e,t,n,r,52,8),n+8}WE.prototype.slice=function(e,t){var n,r=this.length;if((e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e),WE.TYPED_ARRAY_SUPPORT)(n=this.subarray(e,t)).__proto__=WE.prototype;else{var i=t-e;n=new WE(i,void 0);for(var o=0;o<i;++o)n[o]=this[o+e]}return n},WE.prototype.readUIntLE=function(e,t,n){e|=0,t|=0,n||yI(e,t,this.length);for(var r=this[e],i=1,o=0;++o<t&&(i*=256);)r+=this[e+o]*i;return r},WE.prototype.readUIntBE=function(e,t,n){e|=0,t|=0,n||yI(e,t,this.length);for(var r=this[e+--t],i=1;t>0&&(i*=256);)r+=this[e+--t]*i;return r},WE.prototype.readUInt8=function(e,t){return t||yI(e,1,this.length),this[e]},WE.prototype.readUInt16LE=function(e,t){return t||yI(e,2,this.length),this[e]|this[e+1]<<8},WE.prototype.readUInt16BE=function(e,t){return t||yI(e,2,this.length),this[e]<<8|this[e+1]},WE.prototype.readUInt32LE=function(e,t){return t||yI(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},WE.prototype.readUInt32BE=function(e,t){return t||yI(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},WE.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||yI(e,t,this.length);for(var r=this[e],i=1,o=0;++o<t&&(i*=256);)r+=this[e+o]*i;return r>=(i*=128)&&(r-=Math.pow(2,8*t)),r},WE.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||yI(e,t,this.length);for(var r=t,i=1,o=this[e+--r];r>0&&(i*=256);)o+=this[e+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},WE.prototype.readInt8=function(e,t){return t||yI(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},WE.prototype.readInt16LE=function(e,t){t||yI(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},WE.prototype.readInt16BE=function(e,t){t||yI(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},WE.prototype.readInt32LE=function(e,t){return t||yI(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},WE.prototype.readInt32BE=function(e,t){return t||yI(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},WE.prototype.readFloatLE=function(e,t){return t||yI(e,4,this.length),QE(this,e,!0,23,4)},WE.prototype.readFloatBE=function(e,t){return t||yI(e,4,this.length),QE(this,e,!1,23,4)},WE.prototype.readDoubleLE=function(e,t){return t||yI(e,8,this.length),QE(this,e,!0,52,8)},WE.prototype.readDoubleBE=function(e,t){return t||yI(e,8,this.length),QE(this,e,!1,52,8)},WE.prototype.writeUIntLE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||AI(this,e,t,n,Math.pow(2,8*n)-1,0);var i=1,o=0;for(this[t]=255&e;++o<n&&(i*=256);)this[t+o]=e/i&255;return t+n},WE.prototype.writeUIntBE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||AI(this,e,t,n,Math.pow(2,8*n)-1,0);var i=n-1,o=1;for(this[t+i]=255&e;--i>=0&&(o*=256);)this[t+i]=e/o&255;return t+n},WE.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||AI(this,e,t,1,255,0),WE.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},WE.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||AI(this,e,t,2,65535,0),WE.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):bI(this,e,t,!0),t+2},WE.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||AI(this,e,t,2,65535,0),WE.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):bI(this,e,t,!1),t+2},WE.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||AI(this,e,t,4,4294967295,0),WE.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):wI(this,e,t,!0),t+4},WE.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||AI(this,e,t,4,4294967295,0),WE.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):wI(this,e,t,!1),t+4},WE.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);AI(this,e,t,n,i-1,-i)}var o=0,a=1,s=0;for(this[t]=255&e;++o<n&&(a*=256);)e<0&&0===s&&0!==this[t+o-1]&&(s=1),this[t+o]=(e/a|0)-s&255;return t+n},WE.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);AI(this,e,t,n,i-1,-i)}var o=n-1,a=1,s=0;for(this[t+o]=255&e;--o>=0&&(a*=256);)e<0&&0===s&&0!==this[t+o+1]&&(s=1),this[t+o]=(e/a|0)-s&255;return t+n},WE.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||AI(this,e,t,1,127,-128),WE.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},WE.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||AI(this,e,t,2,32767,-32768),WE.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):bI(this,e,t,!0),t+2},WE.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||AI(this,e,t,2,32767,-32768),WE.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):bI(this,e,t,!1),t+2},WE.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||AI(this,e,t,4,2147483647,-2147483648),WE.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):wI(this,e,t,!0),t+4},WE.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||AI(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),WE.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):wI(this,e,t,!1),t+4},WE.prototype.writeFloatLE=function(e,t,n){return CI(this,e,t,!0,n)},WE.prototype.writeFloatBE=function(e,t,n){return CI(this,e,t,!1,n)},WE.prototype.writeDoubleLE=function(e,t,n){return SI(this,e,t,!0,n)},WE.prototype.writeDoubleBE=function(e,t,n){return SI(this,e,t,!1,n)},WE.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);var i,o=r-n;if(this===e&&n<t&&t<r)for(i=o-1;i>=0;--i)e[i+t]=this[i+n];else if(o<1e3||!WE.TYPED_ARRAY_SUPPORT)for(i=0;i<o;++i)e[i+t]=this[i+n];else Uint8Array.prototype.set.call(e,this.subarray(n,n+o),t);return o},WE.prototype.fill=function(e,t,n,r){if("string"===typeof e){if("string"===typeof t?(r=t,t=0,n=this.length):"string"===typeof n&&(r=n,n=this.length),1===e.length){var i=e.charCodeAt(0);i<256&&(e=i)}if(void 0!==r&&"string"!==typeof r)throw new TypeError("encoding must be a string");if("string"===typeof r&&!WE.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else"number"===typeof e&&(e&=255);if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;var o;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"===typeof e)for(o=t;o<n;++o)this[o]=e;else{var a=$E(e)?e:II(new WE(e,r).toString()),s=a.length;for(o=0;o<n-t;++o)this[o+t]=a[o%s]}return this};var kI=/[^+\/0-9A-Za-z-_]/g;function EI(e){return e<16?"0"+e.toString(16):e.toString(16)}function II(e,t){var n;t=t||1/0;for(var r=e.length,i=null,o=[],a=0;a<r;++a){if((n=e.charCodeAt(a))>55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function _I(e){return function(e){var t,n,r,i,o,a;RE||LE();var s=e.length;if(s%4>0)throw new Error("Invalid string. Length must be a multiple of 4");o="="===e[s-2]?2:"="===e[s-1]?1:0,a=new ME(3*s/4-o),r=o>0?s-4:s;var l=0;for(t=0,n=0;t<r;t+=4,n+=3)i=NE[e.charCodeAt(t)]<<18|NE[e.charCodeAt(t+1)]<<12|NE[e.charCodeAt(t+2)]<<6|NE[e.charCodeAt(t+3)],a[l++]=i>>16&255,a[l++]=i>>8&255,a[l++]=255&i;return 2===o?(i=NE[e.charCodeAt(t)]<<2|NE[e.charCodeAt(t+1)]>>4,a[l++]=255&i):1===o&&(i=NE[e.charCodeAt(t)]<<10|NE[e.charCodeAt(t+1)]<<4|NE[e.charCodeAt(t+2)]>>2,a[l++]=i>>8&255,a[l++]=255&i),a}(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(kI,"")).length<2)return"";for(;e.length%4!==0;)e+="=";return e}(e))}function PI(e,t,n,r){for(var i=0;i<r&&!(i+n>=t.length||i>=e.length);++i)t[i+n]=e[i];return i}function OI(e){return!!e.constructor&&"function"===typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}zg.isValid=function(e){try{return!!new zg(e)}catch(t){return!1}};class TI{constructor(e){if(this.data=null,this.width=null,this.height=null,this.data=e,65496!==e.readUInt16BE(0))throw new Error("SOI not found in JPEG");const t=Ju(this.data);for(let n=0;n<t.length;n+=1){const e=t[n];"EXIF"===e.name&&e.entries.orientation&&(this.orientation=e.entries.orientation),"SOF"===e.name&&(this.width||=e.width,this.height||=e.height)}this.orientation>4&&([this.width,this.height]=[this.height,this.width])}}TI.isValid=e=>e&&WE.isBuffer(e)&&65496===e.readUInt16BE(0);const DI=function(e){let{limit:t=100}=void 0===e?{}:e,n={},r=[];return{get:e=>n[e],set:(e,i)=>{r.push(e),r.length>t&&delete n[r.shift()],n[e]=i},reset:()=>{n={},r=[]},length:()=>r.length}}({limit:30}),jI=e=>{const t=e.toLowerCase();return"jpg"===t||"jpeg"===t||"png"===t};function BI(e,t){switch(t.toLowerCase()){case"jpg":case"jpeg":return new TI(e);case"png":return new zg(e);default:return null}}const NI=e=>{const t=(e=>{let t;return TI.isValid(e)?t="jpg":zg.isValid(e)&&(t="png"),t})(e);return t?new Promise((n=>n(BI(e,t)))):Promise.resolve()},MI=async e=>{const{uri:t,body:n,headers:r,method:i="GET",credentials:o}=e,a=await(async(e,t)=>{const n=await O(e,t),r=await(n.buffer?n.buffer():n.arrayBuffer());return"Buffer"===r.constructor.name?r:WE.from(r)})(t,{body:n,headers:r,method:i,credentials:o}),s=(e=>{const t=137===e[0]&&80===e[1]&&78===e[2]&&71===e[3]&&13===e[4]&&10===e[5]&&26===e[6]&&10===e[7],n=255===e[0]&&216===e[1]&&255===e[2];let r="";if(t)r="png";else{if(!n)throw new Error("Not valid image extension");r="jpg"}return r})(a);return BI(a,s)},RI=function(e,t){let n,{cache:r=!0}=void 0===t?{}:t;const i=e.data?e.data.toString():e.uri;if("undefined"!==typeof Blob&&e instanceof Blob)n=(async e=>{const{type:t}=e;if(!t||"application/octet-stream"===t){const t=await e.arrayBuffer(),n=WE.from(t);return NI(n)}if(!t.startsWith("image/"))throw new Error(`Invalid blob type: ${t}`);const n=t.replace("image/","");if(!jI(n))throw new Error(`Invalid blob type: ${t}`);const r=await e.arrayBuffer();return BI(WE.from(r),n)})(e);else if(WE.isBuffer(e))n=NI(e);else{if(r&&DI.get(i))return DI.get(i);n=(e=>{let{uri:t}=e;return/^data:image\/[a-zA-Z]*;base64,[^"]*/g.test(t)})(e)?(e=>{let{uri:t}=e;const n=/^data:image\/([a-zA-Z]*);base64,([^"]*)/g.exec(t),r=n[1],i=n[2];if(!jI(r))throw new Error(`Base64 image invalid format: ${r}`);return new Promise((e=>e(BI(WE.from(i,"base64"),r))))})(e):"object"===typeof e&&e.data?(e=>{if(e.data&&e.format)return new Promise((t=>t(BI(e.data,e.format))));throw new Error(`Invalid data given for local file: ${JSON.stringify(e)}`)})(e):MI(e)}if(!n)throw new Error("Cannot resolve image");return r&&DI.set(i,n),n},LI=e=>{let t=0,n="";const r=[];return e.forEach((e=>{n+=e.string,r.push({start:t,end:t+e.string.length,attributes:e.attributes||{}}),t+=e.string.length})),{string:n,runs:r}},FI=(e,t)=>{switch(t){case"uppercase":return e.toUpperCase();case"lowercase":return e.toLowerCase();case"capitalize":return(e=>e?e.replace(/(^|\s)\S/g,(e=>e.toUpperCase())):e)(e);case"upperfirst":return hc(e);default:return e}};class zI{constructor(e){this.name=e,this.src=cC.open(null,e)}encode(e){return this.src.encode(e)}layout(e){const[t,n]=this.encode(e);return{positions:n,stringIndices:n.map(((e,t)=>t)),glyphs:t.map(((e,t)=>{const r=this.getGlyph(parseInt(e,16));return r.advanceWidth=n[t].advanceWidth,r}))}}glyphForCodePoint(e){const t=this.getGlyph(e);return t.advanceWidth=400,t}getGlyph(e){return{id:e,_font:this.src,codePoints:[e],isLigature:!1,name:this.src.font.characterToGlyph(e)}}hasGlyphForCodePoint(e){return".notdef"!==this.src.font.characterToGlyph(e)}get ascent(){return 900}get capHeight(){switch(this.name){case"Times-Roman":case"Times-Bold":case"Times-Italic":case"Times-BoldItalic":return 650;case"Courier":case"Courier-Bold":case"Courier-Oblique":case"Courier-BoldOblique":return 550;default:return 690}}get xHeight(){switch(this.name){case"Times-Roman":case"Times-Bold":case"Times-Italic":case"Times-BoldItalic":return 440;case"Courier":case"Courier-Bold":case"Courier-Oblique":case"Courier-BoldOblique":return 390;default:return 490}}get descent(){switch(this.name){case"Times-Roman":case"Times-Bold":case"Times-Italic":case"Times-BoldItalic":return-220;case"Courier":case"Courier-Bold":case"Courier-Oblique":case"Courier-BoldOblique":return-230;default:return-200}}get lineGap(){return 0}get unitsPerEm(){return 1e3}}const QI={},UI=[173],VI=e=>e.attributes.fontSize||12,GI=e=>{if(QI[e])return QI[e];const t=new zI(e);return QI[e]=t,t},qI=()=>GI("Helvetica"),HI=(e,t,n)=>{const r=[...t,n,qI()];for(let i=0;i<r.length;i+=1){const t=r[i];if(!UI.includes(e)&&t&&t.hasGlyphForCodePoint&&t.hasGlyphForCodePoint(e))return t}return qI()},WI=()=>e=>{let{string:t,runs:n}=e,r=null,i=null,o=0,a=0;const s=[];for(let l=0;l<n.length;l+=1){const e=n[l],c=e.attributes.font.map((e=>"string"===typeof e?GI(e):e));if(0===t.length){s.push({start:0,end:0,attributes:{font:c}});break}const u=t.slice(e.start,e.end);for(let t=0;t<u.length;t+=1){const n=u[t],l=n.codePointAt(),d=HI(l,c,r),p=VI(e);d===r&&p===i&&d.unitsPerEm===r.unitsPerEm||(r&&s.push({start:o,end:a,attributes:{font:r,scale:i/r.unitsPerEm}}),r=d,i=p,o=a),a+=n.length}}if(o<t.length){const e=VI(sc(n));s.push({start:o,end:t.length,attributes:{font:r,scale:e/r.unitsPerEm}})}return{string:t,runs:s}},YI=zk({bidi:Uk,linebreaker:Zk,justification:iE,textDecoration:aE,scriptItemizer:lE,wordHyphenation:dE,fontSubstitution:WI}),KI=(e,t)=>{if(!t)return[{string:""}];const n=[],{fill:r="black",fontFamily:i="Helvetica",fontWeight:o,fontStyle:a,fontSize:s=18,textDecorationColor:l,textDecorationStyle:c,textTransform:u,opacity:d}=t.props,p=t.props.textDecoration,h=("string"===typeof i?[i]:[...i||[]]).map((t=>{if("string"!==typeof t)return t;const n={fontFamily:t,fontWeight:o,fontStyle:a},r=e?e.getFont(n):null;return r?r.data:t})),f={font:h,opacity:d,fontSize:s,color:r,underlineStyle:c,underline:"underline"===p||"underline line-through"===p||"line-through underline"===p,underlineColor:l||r,strike:"line-through"===p||"underline line-through"===p||"line-through underline"===p,strikeStyle:c,strikeColor:l||r};for(let m=0;m<t.children.length;m+=1){const e=t.children[m];e.type===k?n.push({string:FI(e.value,u),attributes:f}):e&&n.push(...KI(e))}return n},JI=999999999999,XI={before:-.5,after:-.5},ZI=e=>t=>{var n,r;const i=((e,t)=>LI(KI(e,t)))(e,t),o={x:(null===(n=t.props)||void 0===n?void 0:n.x)||0,y:(null===(r=t.props)||void 0===r?void 0:r.y)||0,width:JI,height:JI},a=t.props.hyphenationCallback||(null===e||void 0===e?void 0:e.getHyphenationCallback())||null,s=YI(i,o,{hyphenationCallback:a,shrinkWhitespaceFactor:XI}).flat();return Object.assign({},t,{lines:s})},$I=e=>e.type===m,e_=e=>e.type!==m,t_=/url\(['"]?#([^'"]+)['"]?\)/,n_=(e,t)=>{if(!t)return;if(!t_.test(t))return t;return e[t.match(t_)[1]]},r_=e=>t=>{var n,r;const i=n_(e,null===(n=t.props)||void 0===n?void 0:n.fill),o=n_(e,null===(r=t.props)||void 0===r?void 0:r.clipPath),a=Object.assign({},t.props,{fill:i,clipPath:o}),s=t.children?t.children.map(r_(e)):void 0;return Object.assign({},t,{props:a,children:s})},i_=e=>{if(!e.children)return e;const t=(((e.children||[]).find($I)||{}).children||[]).reduce(((e,t)=>{var n;const r=null===(n=t.props)||void 0===n?void 0:n.id;return r&&(e[r]=t),e}),{});const n=e.children.map(r_(t));return Object.assign({},e,{children:n})},o_=e=>(e=>{if(!e.children)return e;const t=e.children.filter(e_);return Object.assign({},e,{children:t})})(i_(e)),a_=e=>{if(!e)return null;const t=e.split(/[,\s]+/).map(parseFloat);return 4!==t.length?null:{minX:t[0],minY:t[1],maxX:t[2],maxY:t[3]}},s_=["x","y","clipPath","clipRule","opacity","fill","fillOpacity","fillRule","stroke","strokeLinecap","strokeLinejoin","strokeOpacity","strokeWidth","textAnchor","dominantBaseline","color","fontFamily","fontSize","fontStyle","fontWeight","letterSpacing","opacity","textDecoration","lineHeight","textAlign","visibility","wordSpacing"],l_=e=>{if(!e.children)return e;const t=(e=>{const t=e.props||{};return dc(s_,t)})(e),n=e.children.map((e=>{const n=Object.assign({},t,e.props||{}),r=Object.assign({},e,{props:n});return l_(r)}));return Object.assign({},e,{children:n})},c_=e=>{const t=e.replace(/[\s\r\t\n]+/gm," ").replace(/^defer\s/,"").split(" ");return{align:t[0]||"xMidYMid",meetOrSlice:t[1]||"meet"}},u_=["width","height","color","stroke","strokeWidth","opacity","fillOpacity","strokeOpacity","fill","fillRule","clipPath","offset","transform","strokeLinejoin","strokeLinecap","strokeDasharray"],d_=["y","y1","y2","height","cy","ry"],p_=["x","x1","x2","width","cx","rx"],h_=e=>t=>t.type===e,f_=h_(o),m_=h_(s),g_=h_(k),v_=e=>{const t=cc(e);return t?t.percent:parseFloat(e)},y_=e=>t=>{let n=(e=>t=>lc(t,((t,n)=>{const r=cc(t);return r&&d_.includes(n)?r.percent*e.height:r&&p_.includes(n)?r.percent*e.width:t})))(e)(t.props);return n=ic({x:parseFloat,x1:parseFloat,x2:parseFloat,y:parseFloat,y1:parseFloat,y2:parseFloat,r:parseFloat,rx:parseFloat,ry:parseFloat,cx:parseFloat,cy:parseFloat,width:parseFloat,height:parseFloat,offset:v_,fill:dS,opacity:v_,stroke:dS,stopOpacity:v_,stopColor:dS,transform:fS},n),Object.assign({},t,{props:n})},A_=e=>{const t=e.style||{},n=Object.assign({},t,e.props);return Object.assign({},e,{props:n})},b_=e=>{const t=lc(e.props,(e=>"none"===e?null:e));return Object.assign({},e,{props:t})},w_=e=>{const t=e.props||{},n=dc(u_,t),r=Object.assign({},n,e.style||{});return Object.assign({},e,{style:r})},x_=e=>{const t=ic({width:parseFloat,height:parseFloat,viewBox:a_,preserveAspectRatio:c_},e.props);return Object.assign({},e,{props:t})},C_=e=>{if(!m_(e))return e;if(!e.children)return e;const t=e.children.map((e=>g_(e)?(e=>({type:v,props:{},children:[e]}))(e):e));return Object.assign({},e,{children:t})},S_=e=>t=>{if(m_(t))return((e,t)=>{if(!t.children)return t;const n=t.children.map(ZI(e));return Object.assign({},t,{children:n})})(e,t);if(!t.children)return t;const n=t.children.map(S_(e));return Object.assign({},t,{children:n})},k_=e=>t=>{if(!t.children)return t;const n=rc(k_(e),(e=>rc(y_(e),C_,b_,A_))(e)),r=t.children.map(n);return Object.assign({},t,{children:r})},E_=(e,t)=>{const n=(e=>{const t=a_(e.props.viewBox);return t?{width:t.maxX,height:t.maxY}:e.props.width&&e.props.height?{width:parseFloat(e.props.width),height:parseFloat(e.props.height)}:{width:0,height:0}})(e);return rc(o_,S_(t),x_,w_,l_,k_(n))(e)},I_=(e,t)=>{if(!e.children)return e;const n=f_(e)?E_(e,t):e,r=n.children.map((e=>I_(e,t)));return Object.assign({},n,{children:r})};let __;const P_=async()=>{__||(__=await async function(){return DE(await hE())}());const e=__.Config.create();e.setPointScaleFactor(0);return{node:{create:()=>__.Node.createWithConfig(e)}}},O_=e=>e.style.zIndex,T_=(e,t)=>{const n=O_(e),r=O_(t);return n||r?n?r?r-n:-1:1:0},D_=e=>{if(!e.children)return e;const t=((e=>e.type!==x&&e.type!==o)(e)?e.children.sort(T_):e.children).map(D_);return Object.assign({},e,{children:t})},j_={},B_=/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE89\uDE8F-\uDEC2\uDEC6\uDECE-\uDEDC\uDEDF-\uDEE9]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g,N_=e=>"\ufe0f"!==e,M_=(e,t)=>Array.from(e).filter(t?()=>!0:N_).map((e=>e.codePointAt(0).toString(16))).join("-"),R_=(e,t)=>{if(!t||!t.url&&!t.builder)return[];const n=[];return Array.from(e.matchAll(B_)).forEach((e=>{const r=e[0];if(!j_[r]||j_[r].loading){const e=((e,t)=>{const{url:n,format:r,builder:i,withVariationSelectors:o}=t;return"function"===typeof i?i(M_(e,o)):`${n}${M_(e,o)}.${r}`})(r,t);j_[r]={loading:!0};const i=(()=>{return e=RI,function(){return e(...arguments).then((e=>e),(e=>e))};var e})();n.push(i({uri:e}).then((e=>{j_[r].loading=!1,j_[r].data=e.data})))}})),n},L_=["\xa9\ufe0f","\xae","\u2122"],F_=async e=>{const t=(e=>{var t,n,r;return(null===(t=e.props)||void 0===t?void 0:t.src)||(null===(n=e.props)||void 0===n?void 0:n.source)||(null===(r=e.props)||void 0===r?void 0:r.href)})(e),{cache:n}=e.props;if(t)try{const r=await(async e=>{const t="function"===typeof e?await e():await e;return"string"===typeof t?{uri:t}:t})(t);if(!r)throw new Error(`Image's "src" or "source" prop returned ${r}`);e.image=await RI(r,{cache:n}),e.image.key=r.data?r.data.toString():r.uri}catch(r){e.image={width:0,height:0,key:null},console.warn(r.message)}else console.warn(!1,'Image should receive either a "src" or "source" prop')},z_=e=>e.type===g,Q_=async(e,t)=>{const n=((e,t)=>{var n;const r=[],i=(null===(n=t.children)||void 0===n?void 0:n.slice(0))||[],o=e?e.getEmojiSource():null;for(;i.length>0;){var a;const t=i.shift();z_(t)&&r.push(F_(t)),e&&null!==(a=t.style)&&void 0!==a&&a.fontFamily&&r.push(e.load(t.style)),"string"===typeof t&&r.push(...R_(t,o)),"string"===typeof t.value&&r.push(...R_(t.value,o)),t.children&&t.children.forEach((e=>{i.push(e)}))}return r})(t,e);return await Promise.all(n),e},U_={color:"blue",textDecoration:"underline"},V_=(e,t)=>{let n=t.style;return(e=>e.type===l)(t)&&(n=Array.isArray(t.style)?[U_,...t.style]:[U_,t.style]),xS(e,n)},G_=e=>t=>{const n=V_(e,t);if(!t.children)return Object.assign({},t,{style:n});const r=t.children.map(G_(e));return Object.assign({},t,{style:n,children:r})},q_=e=>{var t,n,r;const i=(null===(t=e.box)||void 0===t?void 0:t.width)||e.style.width,o=(null===(n=e.box)||void 0===n?void 0:n.height)||e.style.height,a=(null===(r=e.props)||void 0===r?void 0:r.orientation)||"portrait";return G_({width:i,height:o,orientation:a,dpi:72})(e)},H_=e=>t=>{var n,r;return oc(null===(n=t.style)||void 0===n?void 0:n[e])?"50%":null===(r=t.style)||void 0===r?void 0:r[e]},W_=e=>{const t=(e=>{if(!e.box)return{};const{left:t,top:n,width:r,height:i}=e.box,o=H_("transformOriginX")(e),a=H_("transformOriginY")(e),s=cc(o),l=cc(a);return{left:t+(s?r*s.percent:o),top:n+(l?i*l.percent:a)}})(e),n=Object.assign({},e,{origin:t});if(!e.children)return n;const r=e.children.map(W_);return Object.assign({},n,{children:r})},Y_=e=>"string"===typeof e?{title:e,fit:!1,expanded:!1}:e,K_=["portrait","landscape"],J_=e=>"landscape"===(e=>{var t;const n=(null===(t=e.props)||void 0===t?void 0:t.orientation)||"portrait";return K_.includes(n)?n:"portrait"})(e),X_={"4A0":[4767.87,6740.79],"2A0":[3370.39,4767.87],A0:[2383.94,3370.39],A1:[1683.78,2383.94],A2:[1190.55,1683.78],A3:[841.89,1190.55],A4:[595.28,841.89],A5:[419.53,595.28],A6:[297.64,419.53],A7:[209.76,297.64],A8:[147.4,209.76],A9:[104.88,147.4],A10:[73.7,104.88],B0:[2834.65,4008.19],B1:[2004.09,2834.65],B2:[1417.32,2004.09],B3:[1000.63,1417.32],B4:[708.66,1000.63],B5:[498.9,708.66],B6:[354.33,498.9],B7:[249.45,354.33],B8:[175.75,249.45],B9:[124.72,175.75],B10:[87.87,124.72],C0:[2599.37,3676.54],C1:[1836.85,2599.37],C2:[1298.27,1836.85],C3:[918.43,1298.27],C4:[649.13,918.43],C5:[459.21,649.13],C6:[323.15,459.21],C7:[229.61,323.15],C8:[161.57,229.61],C9:[113.39,161.57],C10:[79.37,113.39],RA0:[2437.8,3458.27],RA1:[1729.13,2437.8],RA2:[1218.9,1729.13],RA3:[864.57,1218.9],RA4:[609.45,864.57],SRA0:[2551.18,3628.35],SRA1:[1814.17,2551.18],SRA2:[1275.59,1814.17],SRA3:[907.09,1275.59],SRA4:[637.8,907.09],EXECUTIVE:[521.86,756],FOLIO:[612,936],LEGAL:[612,1008],LETTER:[612,792],TABLOID:[792,1224],ID1:[153,243]},Z_=e=>({width:e[0],height:e[1]}),$_=(e,t)=>({width:e.width?e.width*(72/t):e.width,height:e.height?e.height*(72/t):e.height}),eP=e=>{var t,n;const r=(null===(t=e.props)||void 0===t?void 0:t.size)||"A4",i=parseFloat((null===(n=e.props)||void 0===n?void 0:n.dpi)||72),o=typeof r;let a;return"string"===o?a=(e=>Z_(X_[e.toUpperCase()]))(r):Array.isArray(r)?(a=Z_(r),a=$_(a,i)):"number"===o?(a=(e=>Z_([e]))(r),a=$_(a,i)):(a=r,a=$_(a,i)),J_(e)?(e=>({width:e.height,height:e.width}))(a):a},tP=e=>{const t=eP(e),n=cS(e.style||{});return{...e,style:{...n,...t}}},nP=e=>{var t;return!0===(null===(t=e.props)||void 0===t?void 0:t.fixed)},rP=(e,t)=>{const n=((e,t)=>{const n=ac(e,["box","top"],0),r=ac(e,["props","widows"],2),i=ac(e,["props","orphans"],2),o=e.lines.length,a=((e,t)=>{let n=0;if(!e.lines)return 0;for(let r=0;r<e.lines.length;r+=1){const i=e.lines[r];if(n+i.box.height>t)return r;n+=i.box.height}return e.lines.length})(e,t-n);return 0===a?0:o<i?o:a<i||o<i+r?0:o===i+r?i:o-a<r?o-r:a})(e,t),r=((e,t)=>{let n=0;if(!e.lines)return n;for(let r=0;r<t;r+=1){const t=e.lines[r];if(!t)break;n+=t.box.height}return n})(e,n),i=e.box.height-r;return[Object.assign({},e,{box:{...e.box,height:r,borderBottomWidth:0},style:{...e.style,marginBottom:0,paddingBottom:0,borderBottomWidth:0,borderBottomLeftRadius:0,borderBottomRightRadius:0},lines:e.lines.slice(0,n)}),Object.assign({},e,{box:{...e.box,top:0,height:i,borderTopWidth:0},style:{...e.style,marginTop:0,paddingTop:0,borderTopWidth:0,borderTopLeftRadius:0,borderTopRightRadius:0},lines:e.lines.slice(n)})]},iP=(e,t)=>{if(!e)return[null,null];const n=(e=>{var t;return(null===(t=e.box)||void 0===t?void 0:t.top)||0})(e),r=Object.assign({},e,{box:{...e.box,borderBottomWidth:0},style:{...e.style,marginBottom:0,paddingBottom:0,borderBottomWidth:0,borderBottomLeftRadius:0,borderBottomRightRadius:0}});r.style.height=t-n;const i=(e=>{var t;return!oc(null===(t=e.style)||void 0===t?void 0:t.height)})(e)?e.box.height-(t-n):null,o=Object.assign({},e,{box:{...e.box,top:0,borderTopWidth:0},style:{...e.style,marginTop:0,paddingTop:0,borderTopWidth:0,borderTopLeftRadius:0,borderTopRightRadius:0}});return i&&(o.style.height=i),[r,o]},oP=[o,u,g,y],aP=e=>{var t;return!oP.includes(e.type)&&(!!oc(null===(t=e.props)||void 0===t?void 0:t.wrap)||e.props.wrap)},sP=(e,t)=>{const{yogaNode:n}=e;return n?n.getComputedPadding(t):null},lP=e=>{const{style:t,box:n}=e;return{paddingTop:sP(e,yE.Top)||(null===n||void 0===n?void 0:n.paddingTop)||(null===t||void 0===t?void 0:t.paddingTop)||(null===t||void 0===t?void 0:t.paddingVertical)||(null===t||void 0===t?void 0:t.padding)||0,paddingRight:sP(e,yE.Right)||(null===n||void 0===n?void 0:n.paddingRight)||(null===t||void 0===t?void 0:t.paddingRight)||(null===t||void 0===t?void 0:t.paddingHorizontal)||(null===t||void 0===t?void 0:t.padding)||0,paddingBottom:sP(e,yE.Bottom)||(null===n||void 0===n?void 0:n.paddingBottom)||(null===t||void 0===t?void 0:t.paddingBottom)||(null===t||void 0===t?void 0:t.paddingVertical)||(null===t||void 0===t?void 0:t.padding)||0,paddingLeft:sP(e,yE.Left)||(null===n||void 0===n?void 0:n.paddingLeft)||(null===t||void 0===t?void 0:t.paddingLeft)||(null===t||void 0===t?void 0:t.paddingHorizontal)||(null===t||void 0===t?void 0:t.padding)||0}},cP=e=>"string"===typeof e,uP=e=>{if(!e)return[];if(cP(e)||(e=>"number"===typeof e)(e))return[{type:k,value:`${e}`}];if((e=>e&&e.type===Symbol.for("react.fragment"))(e))return uP(e.props.children);if(Array.isArray(e))return e.reduce(((e,t)=>e.concat(uP(t))),[]);if(!cP(e.type))return uP(e.type(e.props));const{type:t,props:{style:n={},children:r=[],...i}}=e;return[{type:t,style:n,props:i,box:{},children:nc(r).reduce(((e,t)=>e.concat(uP(t))),[])}]},dP=(e,t)=>{const n=(e=>e.box.top+e.box.height+e.box.marginBottom+(e=>{var t;return(null===(t=e.props)||void 0===t?void 0:t.minPresenceAhead)||0})(e))(e),r=(i=t.filter((e=>{var t;return!(null!==(t=e.props)&&void 0!==t&&t.fixed)})),Math.max(...i.map((e=>e.box.top+e.box.height))));var i;return Math.min(n,r)},pP=(e,t,n)=>{var r;if(null!==(r=e.props)&&void 0!==r&&r.fixed)return!1;const i=n<e.box.top+e.box.height,o=aP(e),a=dP(e,t),s=e.box.top>e.box.marginTop;return(e=>{var t;return(null===(t=e.props)||void 0===t?void 0:t.break)||!1})(e)||i&&!o||!i&&a>n&&s},hP=[8232,8233],fP=[e=>e.map((e=>{const t=(n=e.attributes.font,hP.reduce(((e,t)=>n&&n.hasGlyphForCodePoint&&n.hasGlyphForCodePoint(t)?e:[...e,String.fromCharCode(t)]),[]));var n;const r=new RegExp(t.join("|"));return{string:e.string.replace(r,""),attributes:e.attributes}})),e=>{const t=[];for(let n=0;n<e.length;n+=1){const r=e[n];let i=0;Array.from(r.string.matchAll(B_)).forEach((e=>{const{index:n}=e,o=e[0],a=L_.includes(o),s=r.attributes.fontSize,l=r.string.slice(i,n+e[0].length);j_[o]&&j_[o].data?t.push({string:l.replace(e,String.fromCharCode(65532)),attributes:{...r.attributes,attachment:{width:s,height:s,yOffset:Math.floor(.1*s),image:j_[o].data}}}):a?t.push({string:l,attributes:r.attributes}):t.push({string:l.replace(e,String.fromCharCode(0)),attributes:r.attributes}),i=n+o.length})),i<r.string.length&&t.push({string:r.string.slice(i),attributes:r.attributes})}return t}],mP=e=>e.type===k,gP=function(e,t,n,r){var i,o;if(void 0===r&&(r=0),!t)return[{string:""}];let a=[];const{color:s="black",direction:l="ltr",fontFamily:c="Helvetica",fontWeight:u,fontStyle:d,fontSize:p=18,textAlign:h,lineHeight:f,textDecoration:m,textDecorationColor:v,textDecorationStyle:y,textTransform:A,letterSpacing:b,textIndent:w,opacity:x,verticalAlign:C}=t.style,S=("string"===typeof c?[c]:[...c||[]]).map((t=>{if("string"!==typeof t)return t;const n={fontFamily:t,fontWeight:u,fontStyle:d},r=e?e.getFont(n):null;return r?r.data:t})),k={font:S,color:s,opacity:x,fontSize:p,direction:l,verticalAlign:C,backgroundColor:0===r?null:t.style.backgroundColor,indent:w,characterSpacing:b,strikeStyle:y,underlineStyle:y,underline:"underline"===m||"underline line-through"===m||"line-through underline"===m,strike:"line-through"===m||"underline line-through"===m||"line-through underline"===m,strikeColor:v||s,underlineColor:v||s,link:n||(null===(i=t.props)||void 0===i?void 0:i.src)||(null===(o=t.props)||void 0===o?void 0:o.href),lineHeight:f?f*p:null,align:h||("rtl"===l?"right":"left")};for(let E=0;E<t.children.length;E+=1){const n=t.children[E];n.type===g?a.push({string:String.fromCharCode(65532),attributes:{...k,attachment:{width:n.style.width||p,height:n.style.height||p,image:n.image.data}}}):mP(n)?a.push({string:FI(n.value,A),attributes:k}):n&&a.push(...gP(e,n,k.link,r+1))}for(let g=0;g<fP.length;g+=1){a=(0,fP[g])(a)}return a},vP=zk({bidi:Uk,linebreaker:Zk,justification:iE,textDecoration:aE,scriptItemizer:lE,wordHyphenation:dE,fontSubstitution:WI}),yP=(e,t,n,r)=>{const i=((e,t)=>{const n=gP(e,t);return LI(n)})(r,e),o=((e,t,n)=>{const r=(e=>{var t;return null===(t=e.style)||void 0===t?void 0:t.maxLines})(n),i=(e=>{var t;return null===(t=e.style)||void 0===t?void 0:t.textOverflow})(n);return{x:0,y:0,width:e,maxLines:r,height:t||1/0,truncateMode:i}})(t,n,e),a=((e,t)=>({hyphenationPenalty:t.props.hyphenationPenalty,shrinkWhitespaceFactor:{before:-.5,after:-.5},hyphenationCallback:t.props.hyphenationCallback||(null===e||void 0===e?void 0:e.getHyphenationCallback())||null}))(r,e);return vP(i,o,a).reduce(((e,t)=>[...e,...t]),[])},AP=e=>t=>t.type===e,bP=AP(o),wP=AP(s),xP=(e,t)=>{if((e=>wP(e)&&!e.lines)(e)){const n=e.box.width-(e.box.paddingRight+e.box.paddingLeft),r=e.box.height-(e.box.paddingTop+e.box.paddingBottom);e.lines=yP(e,n,r,t)}if((e=>!bP(e)&&!wP(e))(e)){if(!e.children)return e;const n=e=>xP(e,t),r=e.children.map(n);return Object.assign({},e,{children:r})}return e},CP=["color","fontFamily","fontSize","fontStyle","fontWeight","letterSpacing","opacity","textDecoration","textTransform","lineHeight","textAlign","visibility","wordSpacing"],SP=[...CP,"backgroundColor"],kP=e=>t=>{const n=((e,t)=>{const n={...e};return Object.entries(t).forEach((t=>{let[r,i]=t;n[r]=((e,t,n)=>"textDecoration"===e?[n,t].filter((e=>e&&"none"!==e)).join(" "):t)(r,i,e[r])})),n})(e,t.style||{});return Object.assign({},t,{style:n})},EP=e=>{if((e=>e.type===o)(e))return e;if(!e.children)return e;const t=(e=>e.type===s)(e)?SP:CP,n=dc(t,e.style||{}),r=rc(EP,kP(n)),i=e.children.map(r);return Object.assign({},e,{children:i})},IP=(e,t)=>{const{yogaNode:n}=e;return n?n.getComputedMargin(t):null},_P=e=>{const{style:t,box:n}=e;return{marginTop:IP(e,yE.Top)||(null===n||void 0===n?void 0:n.marginTop)||(null===t||void 0===t?void 0:t.marginTop)||(null===t||void 0===t?void 0:t.marginVertical)||(null===t||void 0===t?void 0:t.margin)||0,marginRight:IP(e,yE.Right)||(null===n||void 0===n?void 0:n.marginRight)||(null===t||void 0===t?void 0:t.marginRight)||(null===t||void 0===t?void 0:t.marginHorizontal)||(null===t||void 0===t?void 0:t.margin)||0,marginBottom:IP(e,yE.Bottom)||(null===n||void 0===n?void 0:n.marginBottom)||(null===t||void 0===t?void 0:t.marginBottom)||(null===t||void 0===t?void 0:t.marginVertical)||(null===t||void 0===t?void 0:t.margin)||0,marginLeft:IP(e,yE.Left)||(null===n||void 0===n?void 0:n.marginLeft)||(null===t||void 0===t?void 0:t.marginLeft)||(null===t||void 0===t?void 0:t.marginHorizontal)||(null===t||void 0===t?void 0:t.margin)||0}},PP={width:0,height:0},OP=(e,t)=>e?e.getComputedBorder(t):0,TP={hidden:IE.Hidden,scroll:IE.Scroll},DP={wrap:OE.Wrap,"wrap-reverse":OE.WrapReverse},jP=(e,t)=>n=>r=>{const{yogaNode:i}=r;if(!oc(n)&&i){const r=!oc(t),d=`set${hc(e)}`,p=`${d}Auto`,h=`${d}Percent`,f=cc(n);if(f&&!i[h])throw new Error(`You can't pass percentage values to ${e} property`);var o,a;if(f)if(r)null===(o=i[h])||void 0===o||o.call(i,t,f.value);else null===(a=i[h])||void 0===a||a.call(i,f.value);else if("auto"===n){var s,l;if(r)null===(s=i[p])||void 0===s||s.call(i,t);else null===(l=i[p])||void 0===l||l.call(i)}else if(r){var c;null===(c=i[d])||void 0===c||c.call(i,t,n)}else{var u;null===(u=i[d])||void 0===u||u.call(i,n)}}return r},BP=jP("flexBasis"),NP={"flex-start":fE.FlexStart,center:fE.Center,"flex-end":fE.FlexEnd,stretch:fE.Stretch,baseline:fE.Baseline,"space-between":fE.SpaceBetween,"space-around":fE.SpaceAround,"space-evenly":fE.SpaceEvenly},MP=e=>t=>n=>{const{yogaNode:r}=n,i="items"===e?fE.Stretch:fE.Auto;if(r){const n=NP[t]||i;r[`setAlign${hc(e)}`](n)}return n},RP=MP("self"),LP=MP("items"),FP=MP("content"),zP={absolute:_E.Absolute,relative:_E.Relative,static:_E.Static},QP={row:wE.Row,"row-reverse":wE.RowReverse,"column-reverse":wE.ColumnReverse},UP={center:CE.Center,"flex-end":CE.FlexEnd,"space-between":CE.SpaceBetween,"space-around":CE.SpaceAround,"space-evenly":CE.SpaceEvenly},VP=jP("margin",yE.Top),GP=jP("margin",yE.Right),qP=jP("margin",yE.Bottom),HP=jP("margin",yE.Left),WP=jP("padding",yE.Top),YP=jP("padding",yE.Right),KP=jP("padding",yE.Bottom),JP=jP("padding",yE.Left),XP=jP("border",yE.Top),ZP=jP("border",yE.Right),$P=jP("border",yE.Bottom),eO=jP("border",yE.Left),tO=jP("position",yE.Top),nO=jP("position",yE.Right),rO=jP("position",yE.Bottom),iO=jP("position",yE.Left),oO=jP("width"),aO=jP("minWidth"),sO=jP("maxWidth"),lO=jP("height"),cO=jP("minHeight"),uO=jP("maxHeight"),dO=e=>e.lines?Math.max(0,...e.lines.map((e=>e.xAdvance))):0,pO=e=>e.lines?e.lines.reduce(((e,t)=>e+t.box.height),0):-1,hO={center:.5,right:1},fO=e=>{var t;return oc(null===(t=e.box)||void 0===t?void 0:t.height)},mO=e=>Math.max(-1/0,...e),gO=(e,t)=>()=>{const n=_P(t),r=lP(e),i=fO(e)?1/0:e.box.height-r.paddingTop-r.paddingBottom-n.marginTop-n.marginBottom-10,o=(()=>{const e={},t=[],n=()=>e,r=(e,n)=>t.push([e,n]),i=function(){return r(...arguments),e},o=(t,n,i,o)=>(r(t,n),r(t+i,n),r(t,n+o),r(t+i,n+o),e),a=(t,n,i,o)=>(r(t-i,n-(o=o||i)),r(t+i,n-o),r(t+i,n+o),r(t-i,n+o),e);return e.rect=o,e.moveTo=i,e.lineTo=i,e.circle=a,e.polygon=function(){return t.push(...arguments),e},e.ellipse=a,e.roundedRect=o,e.text=n,e.path=n,e.lineWidth=n,e.bezierCurveTo=n,e.quadraticCurveTo=n,e.scale=n,e.rotate=n,e.translate=n,e.dash=n,e.clip=n,e.save=n,e.fill=n,e.font=n,e.stroke=n,e.lineCap=n,e.opacity=n,e.restore=n,e.lineJoin=n,e.fontSize=n,e.fillColor=n,e.miterLimit=n,e.strokeColor=n,e.fillOpacity=n,e.strokeOpacity=n,e.linearGradient=n,e.radialGradient=n,e.getWidth=()=>mO(t.map((e=>e[0]))),e.getHeight=()=>mO(t.map((e=>e[1]))),e})();t.props.paint(o);return{width:o.getWidth(),height:Math.min(i,o.getHeight())}},vO=e=>t=>t.type===e,yO=vO(o),AO=vO(s),bO=vO(u),wO=vO(c),xO=vO(g),CO=vO(y),SO=vO(k),kO=e=>{rc((e=>{const t=wO(e)?e.box.height:e.style.height;return lO(t)})(e),oO(e.style.width),aO(e.style.minWidth),sO(e.style.maxWidth),cO(e.style.minHeight),uO(e.style.maxHeight),VP(e.style.marginTop),GP(e.style.marginRight),qP(e.style.marginBottom),HP(e.style.marginLeft),WP(e.style.paddingTop),YP(e.style.paddingRight),KP(e.style.paddingBottom),JP(e.style.paddingLeft),(e=>t=>{const{yogaNode:n}=t;return!oc(e)&&n&&n.setPositionType(zP[e]),t})(e.style.position),tO(e.style.top),nO(e.style.right),rO(e.style.bottom),iO(e.style.left),XP(e.style.borderTopWidth),ZP(e.style.borderRightWidth),$P(e.style.borderBottomWidth),eO(e.style.borderLeftWidth),(e=>t=>{const{yogaNode:n}=t;return n&&n.setDisplay("none"===e?vE.None:vE.Flex),t})(e.style.display),(e=>t=>{const{yogaNode:n}=t;if(n){const t=QP[e]||wE.Column;n.setFlexDirection(t)}return t})(e.style.flexDirection),RP(e.style.alignSelf),FP(e.style.alignContent),LP(e.style.alignItems),(e=>t=>{const{yogaNode:n}=t;if(!oc(e)&&n){const t=UP[e]||CE.FlexStart;n.setJustifyContent(t)}return t})(e.style.justifyContent),(e=>t=>{const{yogaNode:n}=t;if(n){const t=DP[e]||OE.NoWrap;n.setFlexWrap(t)}return t})(e.style.flexWrap),(e=>t=>{const{yogaNode:n}=t;if(!oc(e)&&n){const t=TP[e]||IE.Visible;n.setOverflow(t)}return t})(e.style.overflow),(e=>t=>{const{yogaNode:n}=t;return!oc(e)&&n&&n.setAspectRatio(e),t})(e.style.aspectRatio),BP(e.style.flexBasis),(e=>t=>jP("flexGrow")(e||0)(t))(e.style.flexGrow),(e=>t=>jP("flexShrink")(e||1)(t))(e.style.flexShrink),(e=>t=>{const{yogaNode:n}=t;return!oc(e)&&n&&n.setGap(xE.Row,e),t})(e.style.rowGap),(e=>t=>{const{yogaNode:n}=t;return!oc(e)&&n&&n.setGap(xE.Column,e),t})(e.style.columnGap))(e)},EO=(e,t,n)=>{const{yogaNode:r}=e;return AO(e)&&r.setMeasureFunc(((e,t,n)=>(e,r,i)=>{if(r===kE.Exactly)return t.lines||(t.lines=yP(t,e,i,n)),{height:pO(t)};if(r===kE.AtMost){var o;const r=hO[null===(o=t.style)||void 0===o?void 0:o.textAlign]||0;return t.lines||(t.lines=yP(t,e,i,n),t.alignOffset=(e-dO(t))*r),{height:pO(t),width:Math.min(e,dO(t))}}return{}})(0,e,n)),xO(e)&&r.setMeasureFunc(((e,t)=>(n,r,i,o)=>{const a=(e=>{var t;return null!==(t=e.image)&&void 0!==t&&t.data?e.image.width/e.image.height:1})(t),s=_P(t),l=lP(e),c=fO(e)?1/0:e.box.height-l.paddingTop-l.paddingBottom-s.marginTop-s.marginBottom-10;if(!t.image)return{width:0,height:0};if(r===kE.Exactly&&o===kE.Undefined){const e=n/a;return{height:Math.min(c,e)}}if(o===kE.Exactly&&(r===kE.AtMost||r===kE.Undefined))return{width:Math.min(i*a,n)};if(r===kE.Exactly&&o===kE.AtMost){const e=n/a;return{height:Math.min(i,c,e)}}return r===kE.AtMost&&o===kE.AtMost?a>1?{width:n,height:Math.min(n/a,i)}:{height:i,width:Math.min(i*a,n)}:{height:i,width:n}})(t,e)),CO(e)&&r.setMeasureFunc(gO(t,e)),yO(e)&&r.setMeasureFunc(((e,t)=>(e,n,r,i)=>{const o=((a=t.props.viewBox)?(a.maxX-a.minX)/(a.maxY-a.minY):null)||1;var a;return n===kE.Exactly||n===kE.AtMost?{width:e,height:e/o}:i===kE.Exactly?{width:r*o}:{}})(0,e)),e},IO=(e,t,n)=>r=>{const i=n.node.create(),o=Object.assign({},r,{yogaNode:i});if(kO(o),(e=>!AO(e)&&!bO(e)&&!yO(e))(r)&&r.children){const s=rc((a=i,e=>(a.insertChild(e.yogaNode,a.getChildCount()),e)),IO(e,t,n));o.children=r.children.map(s)}var a;return EO(o,e,t),o},_O=e=>(e.yogaNode.calculateLayout(),e),PO=e=>{if(SO(e))return e;const t=Object.assign(lP(e),_P(e),(e=>{const{yogaNode:t}=e;return{borderTopWidth:OP(t,yE.Top),borderRightWidth:OP(t,yE.Right),borderBottomWidth:OP(t,yE.Bottom),borderLeftWidth:OP(t,yE.Left)}})(e),(e=>{const{yogaNode:t}=e;return{top:(null===t||void 0===t?void 0:t.getComputedTop())||0,right:(null===t||void 0===t?void 0:t.getComputedRight())||0,bottom:(null===t||void 0===t?void 0:t.getComputedBottom())||0,left:(null===t||void 0===t?void 0:t.getComputedLeft())||0}})(e),(e=>{const{yogaNode:t}=e;return t?{width:t.getComputedWidth(),height:t.getComputedHeight()}:PP})(e)),n=Object.assign({},e,{box:t});if(!e.children)return n;const r=e.children.map(PO);return Object.assign({},n,{children:r})},OO=e=>{const t=Object.assign({},e);if(delete t.yogaNode,!e.children)return t;const n=e.children.map(OO);return Object.assign({},t,{children:n})},TO=e=>(e.yogaNode&&e.yogaNode.freeRecursive(),e),DO=(e,t,n)=>oc(e)?null:rc(OO,TO,PO,_O,IO(e,t,n))(e),jO=e=>e.type===s,BO=(e,t)=>Object.assign({},t,{children:e}),NO=e=>{var t;return(null===(t=e.box)||void 0===t?void 0:t.top)||0},MO=e=>{var t;return!oc(null===(t=e.props)||void 0===t?void 0:t.render)},RO=rc(xP,DO,EP,q_),LO=(e,t,n)=>{const r=[],i=[];for(let a=0;a<n.length;a+=1){const s=n[a],l=n.slice(a+1),c=l.filter(nP),u=NO(s),d=s.box.height,p=e<=u,h=pP(s,l,e),f=e+.001<u+d,m=aP(s),g=d<=t;if(nP(s))i.push(s),r.push(s);else if(p){const t=Object.assign({},s.box,{top:s.box.top-e}),n=Object.assign({},s,{box:t});i.push(n)}else{if(!g&&!m){r.push(s),i.push(...l),o=s,console.warn(`Node of type ${o.type} can't wrap between pages and it's bigger than available page height`);break}if(h){const t=Object.assign({},s.box,{top:s.box.top-e}),n=Object.assign({},s.props,{wrap:!0,break:!1}),o=Object.assign({},s,{box:t,props:n});r.push(...c),i.push(o,...l);break}if(f){const[n,o]=zO(s,e,t);if(s.children.length>0&&0===n.children.length){if(0===r.length)r.push(s,...c),i.push(...l);else{const t=Object.assign({},s.box,{top:s.box.top-e}),n=Object.assign({},s,{box:t});r.push(...c),i.push(n,...l)}break}n&&r.push(n),o&&i.push(o)}else r.push(s)}}var o;return[r,i]},FO=(e,t,n)=>{const[r,i]=iP(e,t),[o,a]=((e,t,n)=>{const r=n.children||[],i=e-NO(n);return LO(i,t,r)})(t,n,e);return[BO(o,r),BO(a,i)]},zO=(e,t,n)=>jO(e)?rP(e,t):FO(e,t,n),QO=e=>{const t=e.children||[];return MO(e)||t.some(QO)},UO=(e,t)=>{const n=MO(t),r=n&&jO(t)?{...t.box,height:0}:t.box,i=function(r){if(void 0===r&&(r=[]),n){const n=t.props.render(e);return uP(n).filter(Boolean).map((t=>UO(e,t)))}return r.map((t=>UO(e,t)))}(t.children),o=n?null:t.lines;return Object.assign({},t,{box:r,lines:o,children:i})},VO=(e,t,n,r)=>{if(QO(t)){const i=UO(e,t);return RO(i,n,r)}return t},GO=(e,t,n,r)=>{const i=(e=>{var t;const{paddingBottom:n}=lP(e);return(null===(t=e.style)||void 0===t?void 0:t.height)-n})(e),o=(e=>{var t;const n=null===(t=e.style)||void 0===t?void 0:t.height,{paddingTop:r,paddingBottom:i}=lP(e);return n-i-r})(e),a=VO({pageNumber:t},e,n,r),s=e.style.height,[l,c]=LO(i,o,a.children),u=e=>RO(e,n,r),d={...e.box,height:s},p=u(Object.assign({},e,{box:d,children:l}));if(0===c.length||c.every(nP))return[p,null];const h=uc("height",e.box),f=uc("bookmark",e.props);return[p,u(Object.assign({},e,{props:f,box:h,children:c}))]},qO=e=>e.map(((t,n)=>({...t,subPageNumber:n,subPageTotalPages:e.length}))),HO=(e,t,n,r)=>{var i;if(!e)return[];if(!1===(null===(i=e.props)||void 0===i?void 0:i.wrap))return[e];let o=GO(e,t,n,r);const a=[o[0]];let s=o[1];for(;null!==s;)o=GO(s,t+a.length,n,r),a.push(o[0]),s=o[1];return a},WO=e=>t=>{const n=cc(t);return n?n.percent*e.width:t},YO=e=>t=>{const n=cc(t);return n?n.percent*e.height:t},KO=e=>{const t=e.style,n=ic({paddingTop:YO(t),paddingLeft:WO(t),paddingRight:WO(t),paddingBottom:YO(t)},e.style);return Object.assign({},e,{style:n})},JO=e=>t=>{if(!t)return;const n=cc(t);return n?n.percent*Math.min(e.width,e.height):t},XO=e=>{const t=ic({borderTopLeftRadius:JO(e.box),borderTopRightRadius:JO(e.box),borderBottomRightRadius:JO(e.box),borderBottomLeftRadius:JO(e.box)},e.style||{}),n=Object.assign({},e,{style:t});if(!e.children)return n;const r=e.children.map(XO);return Object.assign({},n,{children:r})},ZO=(e,t)=>{var n,r;if(oc(null===(n=e.style)||void 0===n?void 0:n.height))return t;if(oc(null===(r=t.style)||void 0===r?void 0:r.height))return t;const i=(e=>{var t,n;return e.style.height-((null===(t=e.style)||void 0===t?void 0:t.paddingTop)||0)-((null===(n=e.style)||void 0===n?void 0:n.paddingBottom)||0)})(e),o=((e,t)=>{const n=cc(t);return n?n.percent*e:t})(i,t.style.height),a=Object.assign({},t.style,{height:o});return Object.assign({},t,{style:a})},$O=e=>{if(!e.children)return e;const t=e.children.map((t=>ZO(e,t)));return Object.assign({},e,{children:t})},eT=e=>t=>t.type===e,tT=eT(l),nT=eT(s),rT=eT(k),iT=e=>nT(e)||rT(e),oT=e=>tT(e)?(e=>{var t;return!(null===(t=e.props)||void 0===t||!t.render)})(e)?Object.assign({},e,{type:s}):(e=>{const t=e.children||[];return!!t.every(rT)||!t.every(nT)&&t.every(iT)})(e)?(e=>{const t={type:s,props:{},style:{},box:{},children:e.children};return Object.assign({},e,{children:[t]})})(e):e:e,aT=e=>{if(!e.children)return e;const t=rc(oT,aT),n=e.children.map(t);return Object.assign({},e,{children:n})},sT=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return async function(e){let n=e;const r=tc(t);for(var i=arguments.length,o=new Array(i>1?i-1:0),a=1;a<i;a++)o[a-1]=arguments[a];for(let t=0;t<r.length;t+=1){const e=r[t];n=await e(n,...o)}return n}}(D_,(e=>{if(!e.children)return e;const t=e.children.map(W_);return Object.assign({},e,{children:t})}),Q_,((e,t)=>{let n=[],r=1;for(let i=0;i<e.children.length;i+=1){const o=e.children[i];let a=HO(o,r,t,e.yoga);a=qO(a),r+=a.length,n=n.concat(a)}return n=n.map((function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return o=((e,t,n,r,i)=>{const o={totalPages:i.length,pageNumber:r+1,subPageNumber:n.subPageNumber+1,subPageTotalPages:n.subPageTotalPages};return VO(o,n,e,t)})(t,e.yoga,...r),uc(["subPageNumber","subPageTotalPages"],o);var o})),BO(n,e)}),xP,XO,((e,t)=>{if(!e.children)return e;const n=e.children.map((n=>DO(n,t,e.yoga)));return Object.assign({},e,{children:n})}),I_,Q_,EP,(e=>{if(!e.children)return e;const t=e.children.map($O);return Object.assign({},e,{children:t})}),(e=>{if(!e.children)return e;const t=e.children.map(KO);return Object.assign({},e,{children:t})}),(e=>{if(!e.children)return e;const t=e.children.map(q_);return Object.assign({},e,{children:t})}),aT,(e=>{let t=0;const n=(e.children||[]).slice(0).map((e=>({value:e,parent:null})));for(;n.length>0;){var r;const e=n.shift(),o=e.value;let a=e.parent;if(null!==(r=o.props)&&void 0!==r&&r.bookmark){var i;const e=Y_(o.props.bookmark),n={ref:t++,parent:null===(i=a)||void 0===i?void 0:i.ref,...e};o.props.bookmark=n,a=n}o.children&&o.children.forEach((e=>{n.push({value:e,parent:a})}))}return e}),(e=>{if(!e.children)return e;const t=e.children.map(tP);return Object.assign({},e,{children:t})}),(async e=>{const t=await P_();return Object.assign({},e,{yoga:t})}));var lT=n(26470),cT=n(75340),uT=n.t(cT,2),dT=n(44414);function pT(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function hT(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var n=function e(){return this instanceof e?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach((function(t){var r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:function(){return e[t]}})})),n}var fT,mT={exports:{}},gT=hT(uT);(fT=mT).exports=function e(t){var n=lT,r=P,i=gT;function o(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var a=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;a.hasOwnProperty("ReactCurrentDispatcher")||(a.ReactCurrentDispatcher={current:null}),a.hasOwnProperty("ReactCurrentBatchConfig")||(a.ReactCurrentBatchConfig={suspense:null});var s="function"===typeof Symbol&&Symbol.for,l=s?Symbol.for("react.element"):60103,c=s?Symbol.for("react.portal"):60106,u=s?Symbol.for("react.fragment"):60107,d=s?Symbol.for("react.strict_mode"):60108,p=s?Symbol.for("react.profiler"):60114,h=s?Symbol.for("react.provider"):60109,f=s?Symbol.for("react.context"):60110,m=s?Symbol.for("react.concurrent_mode"):60111,g=s?Symbol.for("react.forward_ref"):60112,v=s?Symbol.for("react.suspense"):60113,y=s?Symbol.for("react.suspense_list"):60120,A=s?Symbol.for("react.memo"):60115,b=s?Symbol.for("react.lazy"):60116,w="function"===typeof Symbol&&Symbol.iterator;function x(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=w&&e[w]||e["@@iterator"])?e:null}function C(e){if(null==e)return null;if("function"===typeof e)return e.displayName||e.name||null;if("string"===typeof e)return e;switch(e){case u:return"Fragment";case c:return"Portal";case p:return"Profiler";case d:return"StrictMode";case v:return"Suspense";case y:return"SuspenseList"}if("object"===typeof e)switch(e.$$typeof){case f:return"Context.Consumer";case h:return"Context.Provider";case g:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case A:return C(e.type);case b:if(e=1===e._status?e._result:null)return C(e)}return null}function S(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!==(1026&(t=e).effectTag)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function k(e){if(S(e)!==e)throw Error(o(188))}function E(e){var t=e.alternate;if(!t){if(null===(t=S(e)))throw Error(o(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(null===i)break;var a=i.alternate;if(null===a){if(null!==(r=i.return)){n=r;continue}break}if(i.child===a.child){for(a=i.child;a;){if(a===n)return k(i),e;if(a===r)return k(i),t;a=a.sibling}throw Error(o(188))}if(n.return!==r.return)n=i,r=a;else{for(var s=!1,l=i.child;l;){if(l===n){s=!0,n=i,r=a;break}if(l===r){s=!0,r=i,n=a;break}l=l.sibling}if(!s){for(l=a.child;l;){if(l===n){s=!0,n=a,r=i;break}if(l===r){s=!0,r=a,n=i;break}l=l.sibling}if(!s)throw Error(o(189))}}if(n.alternate!==r)throw Error(o(190))}if(3!==n.tag)throw Error(o(188));return n.stateNode.current===n?e:t}function I(e){if(!(e=E(e)))return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}var _=t.getPublicInstance,O=t.getRootHostContext,T=t.getChildHostContext,D=t.prepareForCommit,j=t.resetAfterCommit,B=t.createInstance,N=t.appendInitialChild,M=t.finalizeInitialChildren,R=t.prepareUpdate,L=t.shouldSetTextContent,F=t.shouldDeprioritizeSubtree,z=t.createTextInstance,Q=t.setTimeout,U=t.clearTimeout,V=t.noTimeout,G=t.isPrimaryRenderer,q=t.supportsMutation,H=t.supportsPersistence,W=t.supportsHydration,Y=t.appendChild,K=t.appendChildToContainer,J=t.commitTextUpdate,X=t.commitMount,Z=t.commitUpdate,$=t.insertBefore,ee=t.insertInContainerBefore,te=t.removeChild,ne=t.removeChildFromContainer,re=t.resetTextContent,ie=t.hideInstance,oe=t.hideTextInstance,ae=t.unhideInstance,se=t.unhideTextInstance,le=t.cloneInstance,ce=t.createContainerChildSet,ue=t.appendChildToContainerChildSet,de=t.finalizeContainerChildren,pe=t.replaceContainerChildren,he=t.cloneHiddenInstance,fe=t.cloneHiddenTextInstance,me=t.canHydrateInstance,ge=t.canHydrateTextInstance,ve=t.isSuspenseInstancePending,ye=t.isSuspenseInstanceFallback,Ae=t.getNextHydratableSibling,be=t.getFirstHydratableChild,we=t.hydrateInstance,xe=t.hydrateTextInstance,Ce=t.getNextHydratableInstanceAfterSuspenseInstance,Se=t.commitHydratedContainer,ke=t.commitHydratedSuspenseInstance,Ee=/^(.*)[\\\/]/;function Ie(e){var t="";do{e:switch(e.tag){case 3:case 4:case 6:case 7:case 10:case 9:var n="";break e;default:var r=e._debugOwner,i=e._debugSource,o=C(e.type);n=null,r&&(n=C(r.type)),r=o,o="",i?o=" (at "+i.fileName.replace(Ee,"")+":"+i.lineNumber+")":n&&(o=" (created by "+n+")"),n="\n    in "+(r||"Unknown")+o}t+=n,e=e.return}while(e);return t}var _e=[],Pe=-1;function Oe(e){0>Pe||(e.current=_e[Pe],_e[Pe]=null,Pe--)}function Te(e,t){Pe++,_e[Pe]=e.current,e.current=t}var De={},je={current:De},Be={current:!1},Ne=De;function Me(e,t){var n=e.type.contextTypes;if(!n)return De;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i,o={};for(i in n)o[i]=t[i];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Re(e){return null!==(e=e.childContextTypes)&&void 0!==e}function Le(e){Oe(Be),Oe(je)}function Fe(e){Oe(Be),Oe(je)}function ze(e,t,n){if(je.current!==De)throw Error(o(168));Te(je,t),Te(Be,n)}function Qe(e,t,r){var i=e.stateNode;if(e=t.childContextTypes,"function"!==typeof i.getChildContext)return r;for(var a in i=i.getChildContext())if(!(a in e))throw Error(o(108,C(t)||"Unknown",a));return n({},r,{},i)}function Ue(e){var t=e.stateNode;return t=t&&t.__reactInternalMemoizedMergedChildContext||De,Ne=je.current,Te(je,t),Te(Be,Be.current),!0}function Ve(e,t,n){var r=e.stateNode;if(!r)throw Error(o(169));n?(t=Qe(e,t,Ne),r.__reactInternalMemoizedMergedChildContext=t,Oe(Be),Oe(je),Te(je,t)):Oe(Be),Te(Be,n)}var Ge=i.unstable_runWithPriority,qe=i.unstable_scheduleCallback,He=i.unstable_cancelCallback,We=i.unstable_shouldYield,Ye=i.unstable_requestPaint,Ke=i.unstable_now,Je=i.unstable_getCurrentPriorityLevel,Xe=i.unstable_ImmediatePriority,Ze=i.unstable_UserBlockingPriority,$e=i.unstable_NormalPriority,et=i.unstable_LowPriority,tt=i.unstable_IdlePriority,nt={},rt=void 0!==Ye?Ye:function(){},it=null,ot=null,at=!1,st=Ke(),lt=1e4>st?Ke:function(){return Ke()-st};function ct(){switch(Je()){case Xe:return 99;case Ze:return 98;case $e:return 97;case et:return 96;case tt:return 95;default:throw Error(o(332))}}function ut(e){switch(e){case 99:return Xe;case 98:return Ze;case 97:return $e;case 96:return et;case 95:return tt;default:throw Error(o(332))}}function dt(e,t){return e=ut(e),Ge(e,t)}function pt(e,t,n){return e=ut(e),qe(e,t,n)}function ht(e){return null===it?(it=[e],ot=qe(Xe,mt)):it.push(e),nt}function ft(){if(null!==ot){var e=ot;ot=null,He(e)}mt()}function mt(){if(!at&&null!==it){at=!0;var e=0;try{var t=it;dt(99,(function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}})),it=null}catch(n){throw null!==it&&(it=it.slice(e+1)),qe(Xe,ft),n}finally{at=!1}}}var gt=3;function vt(e,t,n){return 1073741821-(1+((1073741821-e+t/10)/(n/=10)|0))*n}var yt="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t},At=Object.prototype.hasOwnProperty;function bt(e,t){if(yt(e,t))return!0;if("object"!==typeof e||null===e||"object"!==typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++)if(!At.call(t,n[r])||!yt(e[n[r]],t[n[r]]))return!1;return!0}function wt(e,t){if(e&&e.defaultProps)for(var r in t=n({},t),e=e.defaultProps)void 0===t[r]&&(t[r]=e[r]);return t}var xt={current:null},Ct=null,St=null,kt=null;function Et(){kt=St=Ct=null}function It(e,t){var n=e.type._context;G?(Te(xt,n._currentValue),n._currentValue=t):(Te(xt,n._currentValue2),n._currentValue2=t)}function _t(e){var t=xt.current;Oe(xt),e=e.type._context,G?e._currentValue=t:e._currentValue2=t}function Pt(e,t){for(;null!==e;){var n=e.alternate;if(e.childExpirationTime<t)e.childExpirationTime=t,null!==n&&n.childExpirationTime<t&&(n.childExpirationTime=t);else{if(!(null!==n&&n.childExpirationTime<t))break;n.childExpirationTime=t}e=e.return}}function Ot(e,t){Ct=e,kt=St=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(e.expirationTime>=t&&(dr=!0),e.firstContext=null)}function Tt(e,t){if(kt!==e&&!1!==t&&0!==t)if("number"===typeof t&&1073741823!==t||(kt=e,t=1073741823),t={context:e,observedBits:t,next:null},null===St){if(null===Ct)throw Error(o(308));St=t,Ct.dependencies={expirationTime:0,firstContext:t,responders:null}}else St=St.next=t;return G?e._currentValue:e._currentValue2}var Dt=!1;function jt(e){return{baseState:e,firstUpdate:null,lastUpdate:null,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function Bt(e){return{baseState:e.baseState,firstUpdate:e.firstUpdate,lastUpdate:e.lastUpdate,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function Nt(e,t){return{expirationTime:e,suspenseConfig:t,tag:0,payload:null,callback:null,next:null,nextEffect:null}}function Mt(e,t){null===e.lastUpdate?e.firstUpdate=e.lastUpdate=t:(e.lastUpdate.next=t,e.lastUpdate=t)}function Rt(e,t){var n=e.alternate;if(null===n){var r=e.updateQueue,i=null;null===r&&(r=e.updateQueue=jt(e.memoizedState))}else r=e.updateQueue,i=n.updateQueue,null===r?null===i?(r=e.updateQueue=jt(e.memoizedState),i=n.updateQueue=jt(n.memoizedState)):r=e.updateQueue=Bt(i):null===i&&(i=n.updateQueue=Bt(r));null===i||r===i?Mt(r,t):null===r.lastUpdate||null===i.lastUpdate?(Mt(r,t),Mt(i,t)):(Mt(r,t),i.lastUpdate=t)}function Lt(e,t){var n=e.updateQueue;null===(n=null===n?e.updateQueue=jt(e.memoizedState):Ft(e,n)).lastCapturedUpdate?n.firstCapturedUpdate=n.lastCapturedUpdate=t:(n.lastCapturedUpdate.next=t,n.lastCapturedUpdate=t)}function Ft(e,t){var n=e.alternate;return null!==n&&t===n.updateQueue&&(t=e.updateQueue=Bt(t)),t}function zt(e,t,r,i,o,a){switch(r.tag){case 1:return"function"===typeof(e=r.payload)?e.call(a,i,o):e;case 3:e.effectTag=-4097&e.effectTag|64;case 0:if(null===(o="function"===typeof(e=r.payload)?e.call(a,i,o):e)||void 0===o)break;return n({},i,o);case 2:Dt=!0}return i}function Qt(e,t,n,r,i){Dt=!1;for(var o=(t=Ft(e,t)).baseState,a=null,s=0,l=t.firstUpdate,c=o;null!==l;){var u=l.expirationTime;u<i?(null===a&&(a=l,o=c),s<u&&(s=u)):(Ki(u,l.suspenseConfig),c=zt(e,0,l,c,n,r),null!==l.callback&&(e.effectTag|=32,l.nextEffect=null,null===t.lastEffect?t.firstEffect=t.lastEffect=l:(t.lastEffect.nextEffect=l,t.lastEffect=l))),l=l.next}for(u=null,l=t.firstCapturedUpdate;null!==l;){var d=l.expirationTime;d<i?(null===u&&(u=l,null===a&&(o=c)),s<d&&(s=d)):(c=zt(e,0,l,c,n,r),null!==l.callback&&(e.effectTag|=32,l.nextEffect=null,null===t.lastCapturedEffect?t.firstCapturedEffect=t.lastCapturedEffect=l:(t.lastCapturedEffect.nextEffect=l,t.lastCapturedEffect=l))),l=l.next}null===a&&(t.lastUpdate=null),null===u?t.lastCapturedUpdate=null:e.effectTag|=32,null===a&&null===u&&(o=c),t.baseState=o,t.firstUpdate=a,t.firstCapturedUpdate=u,Ji(s),e.expirationTime=s,e.memoizedState=c}function Ut(e,t,n){null!==t.firstCapturedUpdate&&(null!==t.lastUpdate&&(t.lastUpdate.next=t.firstCapturedUpdate,t.lastUpdate=t.lastCapturedUpdate),t.firstCapturedUpdate=t.lastCapturedUpdate=null),Vt(t.firstEffect,n),t.firstEffect=t.lastEffect=null,Vt(t.firstCapturedEffect,n),t.firstCapturedEffect=t.lastCapturedEffect=null}function Vt(e,t){for(;null!==e;){var n=e.callback;if(null!==n){e.callback=null;var r=t;if("function"!==typeof n)throw Error(o(191,n));n.call(r)}e=e.nextEffect}}var Gt=a.ReactCurrentBatchConfig,qt=(new r.Component).refs;function Ht(e,t,r,i){r=null===(r=r(i,t=e.memoizedState))||void 0===r?t:n({},t,r),e.memoizedState=r,null!==(i=e.updateQueue)&&0===e.expirationTime&&(i.baseState=r)}var Wt={isMounted:function(e){return!!(e=e._reactInternalFiber)&&S(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternalFiber;var r=Ri(),i=Gt.suspense;(i=Nt(r=Li(r,e,i),i)).payload=t,void 0!==n&&null!==n&&(i.callback=n),Rt(e,i),Fi(e,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternalFiber;var r=Ri(),i=Gt.suspense;(i=Nt(r=Li(r,e,i),i)).tag=1,i.payload=t,void 0!==n&&null!==n&&(i.callback=n),Rt(e,i),Fi(e,r)},enqueueForceUpdate:function(e,t){e=e._reactInternalFiber;var n=Ri(),r=Gt.suspense;(r=Nt(n=Li(n,e,r),r)).tag=2,void 0!==t&&null!==t&&(r.callback=t),Rt(e,r),Fi(e,n)}};function Yt(e,t,n,r,i,o,a){return"function"===typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,o,a):!t.prototype||!t.prototype.isPureReactComponent||!bt(n,r)||!bt(i,o)}function Kt(e,t,n){var r=!1,i=De,o=t.contextType;return"object"===typeof o&&null!==o?o=Tt(o):(i=Re(t)?Ne:je.current,o=(r=null!==(r=t.contextTypes)&&void 0!==r)?Me(e,i):De),t=new t(n,o),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=Wt,e.stateNode=t,t._reactInternalFiber=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=o),t}function Jt(e,t,n,r){e=t.state,"function"===typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"===typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Wt.enqueueReplaceState(t,t.state,null)}function Xt(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs=qt;var o=t.contextType;"object"===typeof o&&null!==o?i.context=Tt(o):(o=Re(t)?Ne:je.current,i.context=Me(e,o)),null!==(o=e.updateQueue)&&(Qt(e,o,n,i,r),i.state=e.memoizedState),"function"===typeof(o=t.getDerivedStateFromProps)&&(Ht(e,t,o,n),i.state=e.memoizedState),"function"===typeof t.getDerivedStateFromProps||"function"===typeof i.getSnapshotBeforeUpdate||"function"!==typeof i.UNSAFE_componentWillMount&&"function"!==typeof i.componentWillMount||(t=i.state,"function"===typeof i.componentWillMount&&i.componentWillMount(),"function"===typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount(),t!==i.state&&Wt.enqueueReplaceState(i,i.state,null),null!==(o=e.updateQueue)&&(Qt(e,o,n,i,r),i.state=e.memoizedState)),"function"===typeof i.componentDidMount&&(e.effectTag|=4)}var Zt=Array.isArray;function $t(e,t,n){if(null!==(e=n.ref)&&"function"!==typeof e&&"object"!==typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(o(309));var r=n.stateNode}if(!r)throw Error(o(147,e));var i=""+e;return null!==t&&null!==t.ref&&"function"===typeof t.ref&&t.ref._stringRef===i?t.ref:(t=function(e){var t=r.refs;t===qt&&(t=r.refs={}),null===e?delete t[i]:t[i]=e},t._stringRef=i,t)}if("string"!==typeof e)throw Error(o(284));if(!n._owner)throw Error(o(290,e))}return e}function en(e,t){if("textarea"!==e.type)throw Error(o(31,"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t,""))}function tn(e){function t(t,n){if(e){var r=t.lastEffect;null!==r?(r.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.effectTag=8}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function i(e,t,n){return(e=vo(e,t)).index=0,e.sibling=null,e}function a(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.effectTag=2,n):r:(t.effectTag=2,n):n}function s(t){return e&&null===t.alternate&&(t.effectTag=2),t}function d(e,t,n,r){return null===t||6!==t.tag?((t=bo(n,e.mode,r)).return=e,t):((t=i(t,n)).return=e,t)}function p(e,t,n,r){return null!==t&&t.elementType===n.type?((r=i(t,n.props)).ref=$t(e,t,n),r.return=e,r):((r=yo(n.type,n.key,n.props,null,e.mode,r)).ref=$t(e,t,n),r.return=e,r)}function h(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=wo(n,e.mode,r)).return=e,t):((t=i(t,n.children||[])).return=e,t)}function f(e,t,n,r,o){return null===t||7!==t.tag?((t=Ao(n,e.mode,r,o)).return=e,t):((t=i(t,n)).return=e,t)}function m(e,t,n){if("string"===typeof t||"number"===typeof t)return(t=bo(""+t,e.mode,n)).return=e,t;if("object"===typeof t&&null!==t){switch(t.$$typeof){case l:return(n=yo(t.type,t.key,t.props,null,e.mode,n)).ref=$t(e,null,t),n.return=e,n;case c:return(t=wo(t,e.mode,n)).return=e,t}if(Zt(t)||x(t))return(t=Ao(t,e.mode,n,null)).return=e,t;en(e,t)}return null}function g(e,t,n,r){var i=null!==t?t.key:null;if("string"===typeof n||"number"===typeof n)return null!==i?null:d(e,t,""+n,r);if("object"===typeof n&&null!==n){switch(n.$$typeof){case l:return n.key===i?n.type===u?f(e,t,n.props.children,r,i):p(e,t,n,r):null;case c:return n.key===i?h(e,t,n,r):null}if(Zt(n)||x(n))return null!==i?null:f(e,t,n,r,null);en(e,n)}return null}function v(e,t,n,r,i){if("string"===typeof r||"number"===typeof r)return d(t,e=e.get(n)||null,""+r,i);if("object"===typeof r&&null!==r){switch(r.$$typeof){case l:return e=e.get(null===r.key?n:r.key)||null,r.type===u?f(t,e,r.props.children,i,r.key):p(t,e,r,i);case c:return h(t,e=e.get(null===r.key?n:r.key)||null,r,i)}if(Zt(r)||x(r))return f(t,e=e.get(n)||null,r,i,null);en(t,r)}return null}function y(i,o,s,l){for(var c=null,u=null,d=o,p=o=0,h=null;null!==d&&p<s.length;p++){d.index>p?(h=d,d=null):h=d.sibling;var f=g(i,d,s[p],l);if(null===f){null===d&&(d=h);break}e&&d&&null===f.alternate&&t(i,d),o=a(f,o,p),null===u?c=f:u.sibling=f,u=f,d=h}if(p===s.length)return n(i,d),c;if(null===d){for(;p<s.length;p++)null!==(d=m(i,s[p],l))&&(o=a(d,o,p),null===u?c=d:u.sibling=d,u=d);return c}for(d=r(i,d);p<s.length;p++)null!==(h=v(d,i,p,s[p],l))&&(e&&null!==h.alternate&&d.delete(null===h.key?p:h.key),o=a(h,o,p),null===u?c=h:u.sibling=h,u=h);return e&&d.forEach((function(e){return t(i,e)})),c}function A(i,s,l,c){var u=x(l);if("function"!==typeof u)throw Error(o(150));if(null==(l=u.call(l)))throw Error(o(151));for(var d=u=null,p=s,h=s=0,f=null,y=l.next();null!==p&&!y.done;h++,y=l.next()){p.index>h?(f=p,p=null):f=p.sibling;var A=g(i,p,y.value,c);if(null===A){null===p&&(p=f);break}e&&p&&null===A.alternate&&t(i,p),s=a(A,s,h),null===d?u=A:d.sibling=A,d=A,p=f}if(y.done)return n(i,p),u;if(null===p){for(;!y.done;h++,y=l.next())null!==(y=m(i,y.value,c))&&(s=a(y,s,h),null===d?u=y:d.sibling=y,d=y);return u}for(p=r(i,p);!y.done;h++,y=l.next())null!==(y=v(p,i,h,y.value,c))&&(e&&null!==y.alternate&&p.delete(null===y.key?h:y.key),s=a(y,s,h),null===d?u=y:d.sibling=y,d=y);return e&&p.forEach((function(e){return t(i,e)})),u}return function(e,r,a,d){var p="object"===typeof a&&null!==a&&a.type===u&&null===a.key;p&&(a=a.props.children);var h="object"===typeof a&&null!==a;if(h)switch(a.$$typeof){case l:e:{for(h=a.key,p=r;null!==p;){if(p.key===h){if(7===p.tag?a.type===u:p.elementType===a.type){n(e,p.sibling),(r=i(p,a.type===u?a.props.children:a.props)).ref=$t(e,p,a),r.return=e,e=r;break e}n(e,p);break}t(e,p),p=p.sibling}a.type===u?((r=Ao(a.props.children,e.mode,d,a.key)).return=e,e=r):((d=yo(a.type,a.key,a.props,null,e.mode,d)).ref=$t(e,r,a),d.return=e,e=d)}return s(e);case c:e:{for(p=a.key;null!==r;){if(r.key===p){if(4===r.tag&&r.stateNode.containerInfo===a.containerInfo&&r.stateNode.implementation===a.implementation){n(e,r.sibling),(r=i(r,a.children||[])).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=wo(a,e.mode,d)).return=e,e=r}return s(e)}if("string"===typeof a||"number"===typeof a)return a=""+a,null!==r&&6===r.tag?(n(e,r.sibling),(r=i(r,a)).return=e,e=r):(n(e,r),(r=bo(a,e.mode,d)).return=e,e=r),s(e);if(Zt(a))return y(e,r,a,d);if(x(a))return A(e,r,a,d);if(h&&en(e,a),"undefined"===typeof a&&!p)switch(e.tag){case 1:case 0:throw e=e.type,Error(o(152,e.displayName||e.name||"Component"))}return n(e,r)}}var nn=tn(!0),rn=tn(!1),on={},an={current:on},sn={current:on},ln={current:on};function cn(e){if(e===on)throw Error(o(174));return e}function un(e,t){Te(ln,t),Te(sn,e),Te(an,on),t=O(t),Oe(an),Te(an,t)}function dn(e){Oe(an),Oe(sn),Oe(ln)}function pn(e){var t=cn(ln.current),n=cn(an.current);n!==(t=T(n,e.type,t))&&(Te(sn,e),Te(an,t))}function hn(e){sn.current===e&&(Oe(an),Oe(sn))}var fn={current:0};function mn(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||ve(n)||ye(n)))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!==(64&t.effectTag))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function gn(e,t){return{responder:e,props:t}}var vn=a.ReactCurrentDispatcher,yn=a.ReactCurrentBatchConfig,An=0,bn=null,wn=null,xn=null,Cn=null,Sn=null,kn=null,En=0,In=null,_n=0,Pn=!1,On=null,Tn=0;function Dn(){throw Error(o(321))}function jn(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!yt(e[n],t[n]))return!1;return!0}function Bn(e,t,n,r,i,a){if(An=a,bn=t,xn=null!==e?e.memoizedState:null,vn.current=null===xn?$n:er,t=n(r,i),Pn){do{Pn=!1,Tn+=1,xn=null!==e?e.memoizedState:null,kn=Cn,In=Sn=wn=null,vn.current=er,t=n(r,i)}while(Pn);On=null,Tn=0}if(vn.current=Zn,(e=bn).memoizedState=Cn,e.expirationTime=En,e.updateQueue=In,e.effectTag|=_n,e=null!==wn&&null!==wn.next,An=0,kn=Sn=Cn=xn=wn=bn=null,En=0,In=null,_n=0,e)throw Error(o(300));return t}function Nn(){vn.current=Zn,An=0,kn=Sn=Cn=xn=wn=bn=null,En=0,In=null,_n=0,Pn=!1,On=null,Tn=0}function Mn(){var e={memoizedState:null,baseState:null,queue:null,baseUpdate:null,next:null};return null===Sn?Cn=Sn=e:Sn=Sn.next=e,Sn}function Rn(){if(null!==kn)kn=(Sn=kn).next,xn=null!==(wn=xn)?wn.next:null;else{if(null===xn)throw Error(o(310));var e={memoizedState:(wn=xn).memoizedState,baseState:wn.baseState,queue:wn.queue,baseUpdate:wn.baseUpdate,next:null};Sn=null===Sn?Cn=e:Sn.next=e,xn=wn.next}return Sn}function Ln(e,t){return"function"===typeof t?t(e):t}function Fn(e){var t=Rn(),n=t.queue;if(null===n)throw Error(o(311));if(n.lastRenderedReducer=e,0<Tn){var r=n.dispatch;if(null!==On){var i=On.get(n);if(void 0!==i){On.delete(n);var a=t.memoizedState;do{a=e(a,i.action),i=i.next}while(null!==i);return yt(a,t.memoizedState)||(dr=!0),t.memoizedState=a,t.baseUpdate===n.last&&(t.baseState=a),n.lastRenderedState=a,[a,r]}}return[t.memoizedState,r]}r=n.last;var s=t.baseUpdate;if(a=t.baseState,null!==s?(null!==r&&(r.next=null),r=s.next):r=null!==r?r.next:null,null!==r){var l=i=null,c=r,u=!1;do{var d=c.expirationTime;d<An?(u||(u=!0,l=s,i=a),d>En&&Ji(En=d)):(Ki(d,c.suspenseConfig),a=c.eagerReducer===e?c.eagerState:e(a,c.action)),s=c,c=c.next}while(null!==c&&c!==r);u||(l=s,i=a),yt(a,t.memoizedState)||(dr=!0),t.memoizedState=a,t.baseUpdate=l,t.baseState=i,n.lastRenderedState=a}return[t.memoizedState,n.dispatch]}function zn(e){var t=Mn();return"function"===typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={last:null,dispatch:null,lastRenderedReducer:Ln,lastRenderedState:e}).dispatch=Xn.bind(null,bn,e),[t.memoizedState,e]}function Qn(e){return Fn(Ln)}function Un(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===In?(In={lastEffect:null}).lastEffect=e.next=e:null===(t=In.lastEffect)?In.lastEffect=e.next=e:(n=t.next,t.next=e,e.next=n,In.lastEffect=e),e}function Vn(e,t,n,r){var i=Mn();_n|=e,i.memoizedState=Un(t,n,void 0,void 0===r?null:r)}function Gn(e,t,n,r){var i=Rn();r=void 0===r?null:r;var o=void 0;if(null!==wn){var a=wn.memoizedState;if(o=a.destroy,null!==r&&jn(r,a.deps))return void Un(0,n,o,r)}_n|=e,i.memoizedState=Un(t,n,o,r)}function qn(e,t){return Vn(516,192,e,t)}function Hn(e,t){return Gn(516,192,e,t)}function Wn(e,t){return"function"===typeof t?(e=e(),t(e),function(){t(null)}):null!==t&&void 0!==t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Yn(){}function Kn(e,t){return Mn().memoizedState=[e,void 0===t?null:t],e}function Jn(e,t){var n=Rn();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&jn(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Xn(e,t,n){if(!(25>Tn))throw Error(o(301));var r=e.alternate;if(e===bn||null!==r&&r===bn)if(Pn=!0,e={expirationTime:An,suspenseConfig:null,action:n,eagerReducer:null,eagerState:null,next:null},null===On&&(On=new Map),void 0===(n=On.get(t)))On.set(t,e);else{for(t=n;null!==t.next;)t=t.next;t.next=e}else{var i=Ri(),a=Gt.suspense;a={expirationTime:i=Li(i,e,a),suspenseConfig:a,action:n,eagerReducer:null,eagerState:null,next:null};var s=t.last;if(null===s)a.next=a;else{var l=s.next;null!==l&&(a.next=l),s.next=a}if(t.last=a,0===e.expirationTime&&(null===r||0===r.expirationTime)&&null!==(r=t.lastRenderedReducer))try{var c=t.lastRenderedState,u=r(c,n);if(a.eagerReducer=r,a.eagerState=u,yt(u,c))return}catch(d){}Fi(e,i)}}var Zn={readContext:Tt,useCallback:Dn,useContext:Dn,useEffect:Dn,useImperativeHandle:Dn,useLayoutEffect:Dn,useMemo:Dn,useReducer:Dn,useRef:Dn,useState:Dn,useDebugValue:Dn,useResponder:Dn,useDeferredValue:Dn,useTransition:Dn},$n={readContext:Tt,useCallback:Kn,useContext:Tt,useEffect:qn,useImperativeHandle:function(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,Vn(4,36,Wn.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Vn(4,36,e,t)},useMemo:function(e,t){var n=Mn();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Mn();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e=(e=r.queue={last:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}).dispatch=Xn.bind(null,bn,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},Mn().memoizedState=e},useState:zn,useDebugValue:Yn,useResponder:gn,useDeferredValue:function(e,t){var n=zn(e),r=n[0],o=n[1];return qn((function(){i.unstable_next((function(){var n=yn.suspense;yn.suspense=void 0===t?null:t;try{o(e)}finally{yn.suspense=n}}))}),[e,t]),r},useTransition:function(e){var t=zn(!1),n=t[0],r=t[1];return[Kn((function(t){r(!0),i.unstable_next((function(){var n=yn.suspense;yn.suspense=void 0===e?null:e;try{r(!1),t()}finally{yn.suspense=n}}))}),[e,n]),n]}},er={readContext:Tt,useCallback:Jn,useContext:Tt,useEffect:Hn,useImperativeHandle:function(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,Gn(4,36,Wn.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Gn(4,36,e,t)},useMemo:function(e,t){var n=Rn();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&jn(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)},useReducer:Fn,useRef:function(){return Rn().memoizedState},useState:Qn,useDebugValue:Yn,useResponder:gn,useDeferredValue:function(e,t){var n=Qn(),r=n[0],o=n[1];return Hn((function(){i.unstable_next((function(){var n=yn.suspense;yn.suspense=void 0===t?null:t;try{o(e)}finally{yn.suspense=n}}))}),[e,t]),r},useTransition:function(e){var t=Qn(),n=t[0],r=t[1];return[Jn((function(t){r(!0),i.unstable_next((function(){var n=yn.suspense;yn.suspense=void 0===e?null:e;try{r(!1),t()}finally{yn.suspense=n}}))}),[e,n]),n]}},tr=null,nr=null,rr=!1;function ir(e,t){var n=mo(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.effectTag=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function or(e,t){switch(e.tag){case 5:return null!==(t=me(t,e.type,e.pendingProps))&&(e.stateNode=t,!0);case 6:return null!==(t=ge(t,e.pendingProps))&&(e.stateNode=t,!0);default:return!1}}function ar(e){if(rr){var t=nr;if(t){var n=t;if(!or(e,t)){if(!(t=Ae(n))||!or(e,t))return e.effectTag=-1025&e.effectTag|2,rr=!1,void(tr=e);ir(tr,n)}tr=e,nr=be(t)}else e.effectTag=-1025&e.effectTag|2,rr=!1,tr=e}}function sr(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;tr=e}function lr(e){if(!W||e!==tr)return!1;if(!rr)return sr(e),rr=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!L(t,e.memoizedProps))for(t=nr;t;)ir(e,t),t=Ae(t);if(sr(e),13===e.tag){if(!W)throw Error(o(316));if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(o(317));nr=Ce(e)}else nr=tr?Ae(e.stateNode):null;return!0}function cr(){W&&(nr=tr=null,rr=!1)}var ur=a.ReactCurrentOwner,dr=!1;function pr(e,t,n,r){t.child=null===e?rn(t,null,n,r):nn(t,e.child,n,r)}function hr(e,t,n,r,i){n=n.render;var o=t.ref;return Ot(t,i),r=Bn(e,t,n,r,o,i),null===e||dr?(t.effectTag|=1,pr(e,t,r,i),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=i&&(e.expirationTime=0),Or(e,t,i))}function fr(e,t,n,r,i,o){if(null===e){var a=n.type;return"function"!==typeof a||go(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=yo(n.type,null,r,null,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,mr(e,t,a,r,i,o))}return a=e.child,i<o&&(i=a.memoizedProps,(n=null!==(n=n.compare)?n:bt)(i,r)&&e.ref===t.ref)?Or(e,t,o):(t.effectTag|=1,(e=vo(a,r)).ref=t.ref,e.return=t,t.child=e)}function mr(e,t,n,r,i,o){return null!==e&&bt(e.memoizedProps,r)&&e.ref===t.ref&&(dr=!1,i<o)?Or(e,t,o):vr(e,t,n,r,o)}function gr(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.effectTag|=128)}function vr(e,t,n,r,i){var o=Re(n)?Ne:je.current;return o=Me(t,o),Ot(t,i),n=Bn(e,t,n,r,o,i),null===e||dr?(t.effectTag|=1,pr(e,t,n,i),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=i&&(e.expirationTime=0),Or(e,t,i))}function yr(e,t,n,r,i){if(Re(n)){var o=!0;Ue(t)}else o=!1;if(Ot(t,i),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),Kt(t,n,r),Xt(t,n,r,i),r=!0;else if(null===e){var a=t.stateNode,s=t.memoizedProps;a.props=s;var l=a.context,c=n.contextType;c="object"===typeof c&&null!==c?Tt(c):Me(t,c=Re(n)?Ne:je.current);var u=n.getDerivedStateFromProps,d="function"===typeof u||"function"===typeof a.getSnapshotBeforeUpdate;d||"function"!==typeof a.UNSAFE_componentWillReceiveProps&&"function"!==typeof a.componentWillReceiveProps||(s!==r||l!==c)&&Jt(t,a,r,c),Dt=!1;var p=t.memoizedState;l=a.state=p;var h=t.updateQueue;null!==h&&(Qt(t,h,r,a,i),l=t.memoizedState),s!==r||p!==l||Be.current||Dt?("function"===typeof u&&(Ht(t,n,u,r),l=t.memoizedState),(s=Dt||Yt(t,n,s,r,p,l,c))?(d||"function"!==typeof a.UNSAFE_componentWillMount&&"function"!==typeof a.componentWillMount||("function"===typeof a.componentWillMount&&a.componentWillMount(),"function"===typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"===typeof a.componentDidMount&&(t.effectTag|=4)):("function"===typeof a.componentDidMount&&(t.effectTag|=4),t.memoizedProps=r,t.memoizedState=l),a.props=r,a.state=l,a.context=c,r=s):("function"===typeof a.componentDidMount&&(t.effectTag|=4),r=!1)}else a=t.stateNode,s=t.memoizedProps,a.props=t.type===t.elementType?s:wt(t.type,s),l=a.context,c="object"===typeof(c=n.contextType)&&null!==c?Tt(c):Me(t,c=Re(n)?Ne:je.current),(d="function"===typeof(u=n.getDerivedStateFromProps)||"function"===typeof a.getSnapshotBeforeUpdate)||"function"!==typeof a.UNSAFE_componentWillReceiveProps&&"function"!==typeof a.componentWillReceiveProps||(s!==r||l!==c)&&Jt(t,a,r,c),Dt=!1,l=t.memoizedState,p=a.state=l,null!==(h=t.updateQueue)&&(Qt(t,h,r,a,i),p=t.memoizedState),s!==r||l!==p||Be.current||Dt?("function"===typeof u&&(Ht(t,n,u,r),p=t.memoizedState),(u=Dt||Yt(t,n,s,r,l,p,c))?(d||"function"!==typeof a.UNSAFE_componentWillUpdate&&"function"!==typeof a.componentWillUpdate||("function"===typeof a.componentWillUpdate&&a.componentWillUpdate(r,p,c),"function"===typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,p,c)),"function"===typeof a.componentDidUpdate&&(t.effectTag|=4),"function"===typeof a.getSnapshotBeforeUpdate&&(t.effectTag|=256)):("function"!==typeof a.componentDidUpdate||s===e.memoizedProps&&l===e.memoizedState||(t.effectTag|=4),"function"!==typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&l===e.memoizedState||(t.effectTag|=256),t.memoizedProps=r,t.memoizedState=p),a.props=r,a.state=p,a.context=c,r=u):("function"!==typeof a.componentDidUpdate||s===e.memoizedProps&&l===e.memoizedState||(t.effectTag|=4),"function"!==typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&l===e.memoizedState||(t.effectTag|=256),r=!1);return Ar(e,t,n,r,o,i)}function Ar(e,t,n,r,i,o){gr(e,t);var a=0!==(64&t.effectTag);if(!r&&!a)return i&&Ve(t,n,!1),Or(e,t,o);r=t.stateNode,ur.current=t;var s=a&&"function"!==typeof n.getDerivedStateFromError?null:r.render();return t.effectTag|=1,null!==e&&a?(t.child=nn(t,e.child,null,o),t.child=nn(t,null,s,o)):pr(e,t,s,o),t.memoizedState=r.state,i&&Ve(t,n,!0),t.child}function br(e){var t=e.stateNode;t.pendingContext?ze(0,t.pendingContext,t.pendingContext!==t.context):t.context&&ze(0,t.context,!1),un(e,t.containerInfo)}var wr,xr,Cr,Sr,kr={dehydrated:null,retryTime:0};function Er(e,t,n){var r,i=t.mode,o=t.pendingProps,a=fn.current,s=!1;if((r=0!==(64&t.effectTag))||(r=0!==(2&a)&&(null===e||null!==e.memoizedState)),r?(s=!0,t.effectTag&=-65):null!==e&&null===e.memoizedState||void 0===o.fallback||!0===o.unstable_avoidThisFallback||(a|=1),Te(fn,1&a),null===e){if(void 0!==o.fallback&&ar(t),s){if(s=o.fallback,(o=Ao(null,i,0,null)).return=t,0===(2&t.mode))for(e=null!==t.memoizedState?t.child.child:t.child,o.child=e;null!==e;)e.return=o,e=e.sibling;return(n=Ao(s,i,n,null)).return=t,o.sibling=n,t.memoizedState=kr,t.child=o,n}return i=o.children,t.memoizedState=null,t.child=rn(t,null,i,n)}if(null!==e.memoizedState){if(i=(e=e.child).sibling,s){if(o=o.fallback,(n=vo(e,e.pendingProps)).return=t,0===(2&t.mode)&&(s=null!==t.memoizedState?t.child.child:t.child)!==e.child)for(n.child=s;null!==s;)s.return=n,s=s.sibling;return(i=vo(i,o,i.expirationTime)).return=t,n.sibling=i,n.childExpirationTime=0,t.memoizedState=kr,t.child=n,i}return n=nn(t,e.child,o.children,n),t.memoizedState=null,t.child=n}if(e=e.child,s){if(s=o.fallback,(o=Ao(null,i,0,null)).return=t,o.child=e,null!==e&&(e.return=o),0===(2&t.mode))for(e=null!==t.memoizedState?t.child.child:t.child,o.child=e;null!==e;)e.return=o,e=e.sibling;return(n=Ao(s,i,n,null)).return=t,o.sibling=n,n.effectTag|=2,o.childExpirationTime=0,t.memoizedState=kr,t.child=o,n}return t.memoizedState=null,t.child=nn(t,e,o.children,n)}function Ir(e,t){e.expirationTime<t&&(e.expirationTime=t);var n=e.alternate;null!==n&&n.expirationTime<t&&(n.expirationTime=t),Pt(e.return,t)}function _r(e,t,n,r,i,o){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,last:r,tail:n,tailExpiration:0,tailMode:i,lastEffect:o}:(a.isBackwards=t,a.rendering=null,a.last=r,a.tail=n,a.tailExpiration=0,a.tailMode=i,a.lastEffect=o)}function Pr(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(pr(e,t,r.children,n),0!==(2&(r=fn.current)))r=1&r|2,t.effectTag|=64;else{if(null!==e&&0!==(64&e.effectTag))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Ir(e,n);else if(19===e.tag)Ir(e,n);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Te(fn,r),0===(2&t.mode))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;null!==n;)null!==(e=n.alternate)&&null===mn(e)&&(i=n),n=n.sibling;null===(n=i)?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),_r(t,!1,i,n,o,t.lastEffect);break;case"backwards":for(n=null,i=t.child,t.child=null;null!==i;){if(null!==(e=i.alternate)&&null===mn(e)){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}_r(t,!0,n,null,o,t.lastEffect);break;case"together":_r(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function Or(e,t,n){null!==e&&(t.dependencies=e.dependencies);var r=t.expirationTime;if(0!==r&&Ji(r),t.childExpirationTime<n)return null;if(null!==e&&t.child!==e.child)throw Error(o(153));if(null!==t.child){for(n=vo(e=t.child,e.pendingProps,e.expirationTime),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=vo(e,e.pendingProps,e.expirationTime)).return=t;n.sibling=null}return t.child}function Tr(e){e.effectTag|=4}if(q)wr=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)N(e,n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},xr=function(){},Cr=function(e,t,n,r,i){if((e=e.memoizedProps)!==r){var o=t.stateNode,a=cn(an.current);n=R(o,n,e,r,i,a),(t.updateQueue=n)&&Tr(t)}},Sr=function(e,t,n,r){n!==r&&Tr(t)};else if(H){wr=function(e,t,n,r){for(var i=t.child;null!==i;){if(5===i.tag){var o=i.stateNode;n&&r&&(o=he(o,i.type,i.memoizedProps,i)),N(e,o)}else if(6===i.tag)o=i.stateNode,n&&r&&(o=fe(o,i.memoizedProps,i)),N(e,o);else if(4!==i.tag){if(13===i.tag&&0!==(4&i.effectTag)&&(o=null!==i.memoizedState)){var a=i.child;if(null!==a&&(null!==a.child&&(a.child.return=a,wr(e,a,!0,o)),null!==(o=a.sibling))){o.return=i,i=o;continue}}if(null!==i.child){i.child.return=i,i=i.child;continue}}if(i===t)break;for(;null===i.sibling;){if(null===i.return||i.return===t)return;i=i.return}i.sibling.return=i.return,i=i.sibling}};var Dr=function(e,t,n,r){for(var i=t.child;null!==i;){if(5===i.tag){var o=i.stateNode;n&&r&&(o=he(o,i.type,i.memoizedProps,i)),ue(e,o)}else if(6===i.tag)o=i.stateNode,n&&r&&(o=fe(o,i.memoizedProps,i)),ue(e,o);else if(4!==i.tag){if(13===i.tag&&0!==(4&i.effectTag)&&(o=null!==i.memoizedState)){var a=i.child;if(null!==a&&(null!==a.child&&(a.child.return=a,Dr(e,a,!0,o)),null!==(o=a.sibling))){o.return=i,i=o;continue}}if(null!==i.child){i.child.return=i,i=i.child;continue}}if(i===t)break;for(;null===i.sibling;){if(null===i.return||i.return===t)return;i=i.return}i.sibling.return=i.return,i=i.sibling}};xr=function(e){var t=e.stateNode;if(null!==e.firstEffect){var n=t.containerInfo,r=ce(n);Dr(r,e,!1,!1),t.pendingChildren=r,Tr(e),de(n,r)}},Cr=function(e,t,n,r,i){var o=e.stateNode,a=e.memoizedProps;if((e=null===t.firstEffect)&&a===r)t.stateNode=o;else{var s=t.stateNode,l=cn(an.current),c=null;a!==r&&(c=R(s,n,a,r,i,l)),e&&null===c?t.stateNode=o:(o=le(o,c,n,a,r,t,e,s),M(o,n,r,i,l)&&Tr(t),t.stateNode=o,e?Tr(t):wr(o,t,!1,!1))}},Sr=function(e,t,n,r){n!==r&&(e=cn(ln.current),n=cn(an.current),t.stateNode=z(r,e,n,t),Tr(t))}}else xr=function(){},Cr=function(){},Sr=function(){};function jr(e,t){switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Br(e){switch(e.tag){case 1:Re(e.type)&&Le();var t=e.effectTag;return 4096&t?(e.effectTag=-4097&t|64,e):null;case 3:if(dn(),Fe(),0!==(64&(t=e.effectTag)))throw Error(o(285));return e.effectTag=-4097&t|64,e;case 5:return hn(e),null;case 13:return Oe(fn),4096&(t=e.effectTag)?(e.effectTag=-4097&t|64,e):null;case 19:return Oe(fn),null;case 4:return dn(),null;case 10:return _t(e),null;default:return null}}function Nr(e,t){return{value:e,source:t,stack:Ie(t)}}var Mr="function"===typeof WeakSet?WeakSet:Set;function Rr(e,t){var n=t.source,r=t.stack;null===r&&null!==n&&(r=Ie(n)),null!==n&&C(n.type),t=t.value,null!==e&&1===e.tag&&C(e.type);try{console.error(t)}catch(i){setTimeout((function(){throw i}))}}function Lr(e){var t=e.ref;if(null!==t)if("function"===typeof t)try{t(null)}catch(n){lo(e,n)}else t.current=null}function Fr(e,t){switch(t.tag){case 0:case 11:case 15:zr(2,0,t);break;case 1:if(256&t.effectTag&&null!==e){var n=e.memoizedProps,r=e.memoizedState;t=(e=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?n:wt(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}break;case 3:case 5:case 6:case 4:case 17:break;default:throw Error(o(163))}}function zr(e,t,n){if(null!==(n=null!==(n=n.updateQueue)?n.lastEffect:null)){var r=n=n.next;do{if(0!==(r.tag&e)){var i=r.destroy;r.destroy=void 0,void 0!==i&&i()}0!==(r.tag&t)&&(i=r.create,r.destroy=i()),r=r.next}while(r!==n)}}function Qr(e,t,n){switch("function"===typeof ho&&ho(t),t.tag){case 0:case 11:case 14:case 15:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var r=e.next;dt(97<n?97:n,(function(){var e=r;do{var n=e.destroy;if(void 0!==n){var i=t;try{n()}catch(o){lo(i,o)}}e=e.next}while(e!==r)}))}break;case 1:Lr(t),"function"===typeof(n=t.stateNode).componentWillUnmount&&function(e,t){try{t.props=e.memoizedProps,t.state=e.memoizedState,t.componentWillUnmount()}catch(n){lo(e,n)}}(t,n);break;case 5:Lr(t);break;case 4:q?Hr(e,t,n):H&&function(e){if(H){e=e.stateNode.containerInfo;var t=ce(e);pe(e,t)}}(t)}}function Ur(e,t,n){for(var r=t;;)if(Qr(e,r,n),null===r.child||q&&4===r.tag){if(r===t)break;for(;null===r.sibling;){if(null===r.return||r.return===t)return;r=r.return}r.sibling.return=r.return,r=r.sibling}else r.child.return=r,r=r.child}function Vr(e){var t=e.alternate;e.return=null,e.child=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.alternate=null,e.firstEffect=null,e.lastEffect=null,e.pendingProps=null,e.memoizedProps=null,null!==t&&Vr(t)}function Gr(e){return 5===e.tag||3===e.tag||4===e.tag}function qr(e){if(q){e:{for(var t=e.return;null!==t;){if(Gr(t)){var n=t;break e}t=t.return}throw Error(o(160))}switch(t=n.stateNode,n.tag){case 5:var r=!1;break;case 3:case 4:t=t.containerInfo,r=!0;break;default:throw Error(o(161))}16&n.effectTag&&(re(t),n.effectTag&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||Gr(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==n.tag;){if(2&n.effectTag)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.effectTag)){n=n.stateNode;break e}}for(var i=e;;){var a=5===i.tag||6===i.tag;if(a)a=a?i.stateNode:i.stateNode.instance,n?r?ee(t,a,n):$(t,a,n):r?K(t,a):Y(t,a);else if(4!==i.tag&&null!==i.child){i.child.return=i,i=i.child;continue}if(i===e)break;for(;null===i.sibling;){if(null===i.return||i.return===e)return;i=i.return}i.sibling.return=i.return,i=i.sibling}}}function Hr(e,t,n){for(var r,i,a=t,s=!1;;){if(!s){s=a.return;e:for(;;){if(null===s)throw Error(o(160));switch(r=s.stateNode,s.tag){case 5:i=!1;break e;case 3:case 4:r=r.containerInfo,i=!0;break e}s=s.return}s=!0}if(5===a.tag||6===a.tag)Ur(e,a,n),i?ne(r,a.stateNode):te(r,a.stateNode);else if(4===a.tag){if(null!==a.child){r=a.stateNode.containerInfo,i=!0,a.child.return=a,a=a.child;continue}}else if(Qr(e,a,n),null!==a.child){a.child.return=a,a=a.child;continue}if(a===t)break;for(;null===a.sibling;){if(null===a.return||a.return===t)return;4===(a=a.return).tag&&(s=!1)}a.sibling.return=a.return,a=a.sibling}}function Wr(e,t){if(q)switch(t.tag){case 0:case 11:case 14:case 15:zr(4,8,t);break;case 1:case 12:case 17:case 20:case 21:break;case 5:var n=t.stateNode;if(null!=n){var r=t.memoizedProps;e=null!==e?e.memoizedProps:r;var i=t.type,a=t.updateQueue;t.updateQueue=null,null!==a&&Z(n,a,i,e,r,t)}break;case 6:if(null===t.stateNode)throw Error(o(162));n=t.memoizedProps,J(t.stateNode,null!==e?e.memoizedProps:n,n);break;case 3:W&&(t=t.stateNode).hydrate&&(t.hydrate=!1,Se(t.containerInfo));break;case 13:Yr(t),Kr(t);break;case 19:Kr(t);break;default:throw Error(o(163))}else{switch(t.tag){case 0:case 11:case 14:case 15:return void zr(4,8,t);case 12:return;case 13:return Yr(t),void Kr(t);case 19:return void Kr(t);case 3:W&&(n=t.stateNode).hydrate&&(n.hydrate=!1,Se(n.containerInfo))}e:if(H)switch(t.tag){case 1:case 5:case 6:case 20:break e;case 3:case 4:t=t.stateNode,pe(t.containerInfo,t.pendingChildren);break e;default:throw Error(o(163))}}}function Yr(e){var t=e;if(null===e.memoizedState)var n=!1;else n=!0,t=e.child,Si=lt();if(q&&null!==t)e:if(e=t,q)for(t=e;;){if(5===t.tag){var r=t.stateNode;n?ie(r):ae(t.stateNode,t.memoizedProps)}else if(6===t.tag)r=t.stateNode,n?oe(r):se(r,t.memoizedProps);else{if(13===t.tag&&null!==t.memoizedState&&null===t.memoizedState.dehydrated){(r=t.child.sibling).return=t,t=r;continue}if(null!==t.child){t.child.return=t,t=t.child;continue}}if(t===e)break e;for(;null===t.sibling;){if(null===t.return||t.return===e)break e;t=t.return}t.sibling.return=t.return,t=t.sibling}}function Kr(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Mr),t.forEach((function(t){var r=uo.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}var Jr="function"===typeof WeakMap?WeakMap:Map;function Xr(e,t,n){(n=Nt(n,null)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Ii||(Ii=!0,_i=r),Rr(e,t)},n}function Zr(e,t,n){(n=Nt(n,null)).tag=3;var r=e.type.getDerivedStateFromError;if("function"===typeof r){var i=t.value;n.payload=function(){return Rr(e,t),r(i)}}var o=e.stateNode;return null!==o&&"function"===typeof o.componentDidCatch&&(n.callback=function(){"function"!==typeof r&&(null===Pi?Pi=new Set([this]):Pi.add(this),Rr(e,t));var n=t.stack;this.componentDidCatch(t.value,{componentStack:null!==n?n:""})}),n}var $r,ei=Math.ceil,ti=a.ReactCurrentDispatcher,ni=a.ReactCurrentOwner,ri=0,ii=8,oi=16,ai=32,si=0,li=1,ci=2,ui=3,di=4,pi=5,hi=ri,fi=null,mi=null,gi=0,vi=si,yi=null,Ai=1073741823,bi=1073741823,wi=null,xi=0,Ci=!1,Si=0,ki=500,Ei=null,Ii=!1,_i=null,Pi=null,Oi=!1,Ti=null,Di=90,ji=null,Bi=0,Ni=null,Mi=0;function Ri(){return(hi&(oi|ai))!==ri?1073741821-(lt()/10|0):0!==Mi?Mi:Mi=1073741821-(lt()/10|0)}function Li(e,t,n){if(0===(2&(t=t.mode)))return 1073741823;var r=ct();if(0===(4&t))return 99===r?1073741823:1073741822;if((hi&oi)!==ri)return gi;if(null!==n)e=vt(e,0|n.timeoutMs||5e3,250);else switch(r){case 99:e=1073741823;break;case 98:e=vt(e,150,100);break;case 97:case 96:e=vt(e,5e3,250);break;case 95:e=2;break;default:throw Error(o(326))}return null!==fi&&e===gi&&--e,e}function Fi(e,t){if(50<Bi)throw Bi=0,Ni=null,Error(o(185));if(null!==(e=zi(e,t))){var n=ct();1073741823===t?(hi&ii)!==ri&&(hi&(oi|ai))===ri?Gi(e):(Ui(e),hi===ri&&ft()):Ui(e),(4&hi)===ri||98!==n&&99!==n||(null===ji?ji=new Map([[e,t]]):(void 0===(n=ji.get(e))||n>t)&&ji.set(e,t))}}function zi(e,t){e.expirationTime<t&&(e.expirationTime=t);var n=e.alternate;null!==n&&n.expirationTime<t&&(n.expirationTime=t);var r=e.return,i=null;if(null===r&&3===e.tag)i=e.stateNode;else for(;null!==r;){if(n=r.alternate,r.childExpirationTime<t&&(r.childExpirationTime=t),null!==n&&n.childExpirationTime<t&&(n.childExpirationTime=t),null===r.return&&3===r.tag){i=r.stateNode;break}r=r.return}return null!==i&&(fi===i&&(Ji(t),vi===di&&So(i,gi)),ko(i,t)),i}function Qi(e){var t=e.lastExpiredTime;return 0!==t?t:Co(e,t=e.firstPendingTime)?(t=e.lastPingedTime)>(e=e.nextKnownPendingLevel)?t:e:t}function Ui(e){if(0!==e.lastExpiredTime)e.callbackExpirationTime=1073741823,e.callbackPriority=99,e.callbackNode=ht(Gi.bind(null,e));else{var t=Qi(e),n=e.callbackNode;if(0===t)null!==n&&(e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90);else{var r=Ri();if(r=1073741823===t?99:1===t||2===t?95:0>=(r=10*(1073741821-t)-10*(1073741821-r))?99:250>=r?98:5250>=r?97:95,null!==n){var i=e.callbackPriority;if(e.callbackExpirationTime===t&&i>=r)return;n!==nt&&He(n)}e.callbackExpirationTime=t,e.callbackPriority=r,t=1073741823===t?ht(Gi.bind(null,e)):pt(r,Vi.bind(null,e),{timeout:10*(1073741821-t)-lt()}),e.callbackNode=t}}}function Vi(e,t){if(Mi=0,t)return Eo(e,t=Ri()),Ui(e),null;var n=Qi(e);if(0!==n){if(t=e.callbackNode,(hi&(oi|ai))!==ri)throw Error(o(327));if(oo(),e===fi&&n===gi||Hi(e,n),null!==mi){var r=hi;hi|=oi;for(var i=Yi();;)try{Zi();break}catch(l){Wi(e,l)}if(Et(),hi=r,ti.current=i,vi===li)throw t=yi,Hi(e,n),So(e,n),Ui(e),t;if(null===mi)switch(i=e.finishedWork=e.current.alternate,e.finishedExpirationTime=n,r=vi,fi=null,r){case si:case li:throw Error(o(345));case ci:Eo(e,2<n?2:n);break;case ui:if(So(e,n),n===(r=e.lastSuspendedTime)&&(e.nextKnownPendingLevel=to(i)),1073741823===Ai&&10<(i=Si+ki-lt())){if(Ci){var a=e.lastPingedTime;if(0===a||a>=n){e.lastPingedTime=n,Hi(e,n);break}}if(0!==(a=Qi(e))&&a!==n)break;if(0!==r&&r!==n){e.lastPingedTime=r;break}e.timeoutHandle=Q(no.bind(null,e),i);break}no(e);break;case di:if(So(e,n),n===(r=e.lastSuspendedTime)&&(e.nextKnownPendingLevel=to(i)),Ci&&(0===(i=e.lastPingedTime)||i>=n)){e.lastPingedTime=n,Hi(e,n);break}if(0!==(i=Qi(e))&&i!==n)break;if(0!==r&&r!==n){e.lastPingedTime=r;break}if(1073741823!==bi?r=10*(1073741821-bi)-lt():1073741823===Ai?r=0:(r=10*(1073741821-Ai)-5e3,0>(r=(i=lt())-r)&&(r=0),(n=10*(1073741821-n)-i)<(r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*ei(r/1960))-r)&&(r=n)),10<r){e.timeoutHandle=Q(no.bind(null,e),r);break}no(e);break;case pi:if(1073741823!==Ai&&null!==wi){a=Ai;var s=wi;if(0>=(r=0|s.busyMinDurationMs)?r=0:(i=0|s.busyDelayMs,r=(a=lt()-(10*(1073741821-a)-(0|s.timeoutMs||5e3)))<=i?0:i+r-a),10<r){So(e,n),e.timeoutHandle=Q(no.bind(null,e),r);break}}no(e);break;default:throw Error(o(329))}if(Ui(e),e.callbackNode===t)return Vi.bind(null,e)}}return null}function Gi(e){var t=e.lastExpiredTime;if(t=0!==t?t:1073741823,e.finishedExpirationTime===t)no(e);else{if((hi&(oi|ai))!==ri)throw Error(o(327));if(oo(),e===fi&&t===gi||Hi(e,t),null!==mi){var n=hi;hi|=oi;for(var r=Yi();;)try{Xi();break}catch(i){Wi(e,i)}if(Et(),hi=n,ti.current=r,vi===li)throw n=yi,Hi(e,t),So(e,t),Ui(e),n;if(null!==mi)throw Error(o(261));e.finishedWork=e.current.alternate,e.finishedExpirationTime=t,fi=null,no(e),Ui(e)}}return null}function qi(e,t){if((hi&(oi|ai))!==ri)throw Error(o(187));var n=hi;hi|=1;try{return dt(99,e.bind(null,t))}finally{hi=n,ft()}}function Hi(e,t){e.finishedWork=null,e.finishedExpirationTime=0;var n=e.timeoutHandle;if(n!==V&&(e.timeoutHandle=V,U(n)),null!==mi)for(n=mi.return;null!==n;){var r=n;switch(r.tag){case 1:var i=r.type.childContextTypes;null!==i&&void 0!==i&&Le();break;case 3:dn(),Fe();break;case 5:hn(r);break;case 4:dn();break;case 13:case 19:Oe(fn);break;case 10:_t(r)}n=n.return}fi=e,mi=vo(e.current,null),gi=t,vi=si,yi=null,bi=Ai=1073741823,wi=null,xi=0,Ci=!1}function Wi(e,t){for(;;){try{if(Et(),Nn(),null===mi||null===mi.return)return vi=li,yi=t,null;e:{var n=e,r=mi.return,i=mi,o=t;if(t=gi,i.effectTag|=2048,i.firstEffect=i.lastEffect=null,null!==o&&"object"===typeof o&&"function"===typeof o.then){var a=o,s=0!==(1&fn.current),l=r;do{var c;if(c=13===l.tag){var u=l.memoizedState;if(null!==u)c=null!==u.dehydrated;else{var d=l.memoizedProps;c=void 0!==d.fallback&&(!0!==d.unstable_avoidThisFallback||!s)}}if(c){var p=l.updateQueue;if(null===p){var h=new Set;h.add(a),l.updateQueue=h}else p.add(a);if(0===(2&l.mode)){if(l.effectTag|=64,i.effectTag&=-2981,1===i.tag)if(null===i.alternate)i.tag=17;else{var f=Nt(1073741823,null);f.tag=2,Rt(i,f)}i.expirationTime=1073741823;break e}o=void 0,i=t;var m=n.pingCache;if(null===m?(m=n.pingCache=new Jr,o=new Set,m.set(a,o)):void 0===(o=m.get(a))&&(o=new Set,m.set(a,o)),!o.has(i)){o.add(i);var g=co.bind(null,n,a,i);a.then(g,g)}l.effectTag|=4096,l.expirationTime=t;break e}l=l.return}while(null!==l);o=Error((C(i.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display."+Ie(i))}vi!==pi&&(vi=ci),o=Nr(o,i),l=r;do{switch(l.tag){case 3:a=o,l.effectTag|=4096,l.expirationTime=t,Lt(l,Xr(l,a,t));break e;case 1:a=o;var v=l.type,y=l.stateNode;if(0===(64&l.effectTag)&&("function"===typeof v.getDerivedStateFromError||null!==y&&"function"===typeof y.componentDidCatch&&(null===Pi||!Pi.has(y)))){l.effectTag|=4096,l.expirationTime=t,Lt(l,Zr(l,a,t));break e}}l=l.return}while(null!==l)}mi=eo(mi)}catch(A){t=A;continue}break}}function Yi(){var e=ti.current;return ti.current=Zn,null===e?Zn:e}function Ki(e,t){e<Ai&&2<e&&(Ai=e),null!==t&&e<bi&&2<e&&(bi=e,wi=t)}function Ji(e){e>xi&&(xi=e)}function Xi(){for(;null!==mi;)mi=$i(mi)}function Zi(){for(;null!==mi&&!We();)mi=$i(mi)}function $i(e){var t=$r(e.alternate,e,gi);return e.memoizedProps=e.pendingProps,null===t&&(t=eo(e)),ni.current=null,t}function eo(e){mi=e;do{var t=mi.alternate;if(e=mi.return,0===(2048&mi.effectTag)){e:{var n=t,r=gi,i=(t=mi).pendingProps;switch(t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:case 20:case 21:break;case 1:case 17:Re(t.type)&&Le();break;case 3:dn(),Fe(),(i=t.stateNode).pendingContext&&(i.context=i.pendingContext,i.pendingContext=null),(null===n||null===n.child)&&lr(t)&&Tr(t),xr(t);break;case 5:hn(t);var a=cn(ln.current);if(r=t.type,null!==n&&null!=t.stateNode)Cr(n,t,r,i,a),n.ref!==t.ref&&(t.effectTag|=128);else if(i){if(n=cn(an.current),lr(t)){if(i=t,!W)throw Error(o(175));n=we(i.stateNode,i.type,i.memoizedProps,a,n,i),i.updateQueue=n,(n=null!==n)&&Tr(t)}else{var s=B(r,i,a,n,t);wr(s,t,!1,!1),t.stateNode=s,M(s,r,i,a,n)&&Tr(t)}null!==t.ref&&(t.effectTag|=128)}else if(null===t.stateNode)throw Error(o(166));break;case 6:if(n&&null!=t.stateNode)Sr(n,t,n.memoizedProps,i);else{if("string"!==typeof i&&null===t.stateNode)throw Error(o(166));if(n=cn(ln.current),a=cn(an.current),lr(t)){if(n=t,!W)throw Error(o(176));(n=xe(n.stateNode,n.memoizedProps,n))&&Tr(t)}else t.stateNode=z(i,n,a,t)}break;case 13:if(Oe(fn),i=t.memoizedState,0!==(64&t.effectTag)){t.expirationTime=r;break e}i=null!==i,a=!1,null===n?void 0!==t.memoizedProps.fallback&&lr(t):(a=null!==(r=n.memoizedState),i||null===r||null!==(r=n.child.sibling)&&(null!==(s=t.firstEffect)?(t.firstEffect=r,r.nextEffect=s):(t.firstEffect=t.lastEffect=r,r.nextEffect=null),r.effectTag=8)),i&&!a&&0!==(2&t.mode)&&(null===n&&!0!==t.memoizedProps.unstable_avoidThisFallback||0!==(1&fn.current)?vi===si&&(vi=ui):(vi!==si&&vi!==ui||(vi=di),0!==xi&&null!==fi&&(So(fi,gi),ko(fi,xi)))),H&&i&&(t.effectTag|=4),q&&(i||a)&&(t.effectTag|=4);break;case 4:dn(),xr(t);break;case 10:_t(t);break;case 19:if(Oe(fn),null===(i=t.memoizedState))break;if(a=0!==(64&t.effectTag),null===(s=i.rendering)){if(a)jr(i,!1);else if(vi!==si||null!==n&&0!==(64&n.effectTag))for(n=t.child;null!==n;){if(null!==(s=mn(n))){for(t.effectTag|=64,jr(i,!1),null!==(n=s.updateQueue)&&(t.updateQueue=n,t.effectTag|=4),null===i.lastEffect&&(t.firstEffect=null),t.lastEffect=i.lastEffect,n=r,i=t.child;null!==i;)r=n,(a=i).effectTag&=2,a.nextEffect=null,a.firstEffect=null,a.lastEffect=null,null===(s=a.alternate)?(a.childExpirationTime=0,a.expirationTime=r,a.child=null,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null):(a.childExpirationTime=s.childExpirationTime,a.expirationTime=s.expirationTime,a.child=s.child,a.memoizedProps=s.memoizedProps,a.memoizedState=s.memoizedState,a.updateQueue=s.updateQueue,r=s.dependencies,a.dependencies=null===r?null:{expirationTime:r.expirationTime,firstContext:r.firstContext,responders:r.responders}),i=i.sibling;Te(fn,1&fn.current|2),t=t.child;break e}n=n.sibling}}else{if(!a)if(null!==(n=mn(s))){if(t.effectTag|=64,a=!0,null!==(n=n.updateQueue)&&(t.updateQueue=n,t.effectTag|=4),jr(i,!0),null===i.tail&&"hidden"===i.tailMode){null!==(t=t.lastEffect=i.lastEffect)&&(t.nextEffect=null);break}}else lt()>i.tailExpiration&&1<r&&(t.effectTag|=64,a=!0,jr(i,!1),t.expirationTime=t.childExpirationTime=r-1);i.isBackwards?(s.sibling=t.child,t.child=s):(null!==(n=i.last)?n.sibling=s:t.child=s,i.last=s)}if(null!==i.tail){0===i.tailExpiration&&(i.tailExpiration=lt()+500),n=i.tail,i.rendering=n,i.tail=n.sibling,i.lastEffect=t.lastEffect,n.sibling=null,i=fn.current,Te(fn,i=a?1&i|2:1&i),t=n;break e}break;default:throw Error(o(156,t.tag))}t=null}if(n=mi,1===gi||1!==n.childExpirationTime){for(i=0,a=n.child;null!==a;)(r=a.expirationTime)>i&&(i=r),(s=a.childExpirationTime)>i&&(i=s),a=a.sibling;n.childExpirationTime=i}if(null!==t)return t;null!==e&&0===(2048&e.effectTag)&&(null===e.firstEffect&&(e.firstEffect=mi.firstEffect),null!==mi.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=mi.firstEffect),e.lastEffect=mi.lastEffect),1<mi.effectTag&&(null!==e.lastEffect?e.lastEffect.nextEffect=mi:e.firstEffect=mi,e.lastEffect=mi))}else{if(null!==(t=Br(mi)))return t.effectTag&=2047,t;null!==e&&(e.firstEffect=e.lastEffect=null,e.effectTag|=2048)}if(null!==(t=mi.sibling))return t;mi=e}while(null!==mi);return vi===si&&(vi=pi),null}function to(e){var t=e.expirationTime;return t>(e=e.childExpirationTime)?t:e}function no(e){var t=ct();return dt(99,ro.bind(null,e,t)),null}function ro(e,t){if(oo(),(hi&(oi|ai))!==ri)throw Error(o(327));var n=e.finishedWork,r=e.finishedExpirationTime;if(null===n)return null;if(e.finishedWork=null,e.finishedExpirationTime=0,n===e.current)throw Error(o(177));e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90,e.nextKnownPendingLevel=0;var i=to(n);if(e.firstPendingTime=i,r<=e.lastSuspendedTime?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:r<=e.firstSuspendedTime&&(e.firstSuspendedTime=r-1),r<=e.lastPingedTime&&(e.lastPingedTime=0),r<=e.lastExpiredTime&&(e.lastExpiredTime=0),e===fi&&(mi=fi=null,gi=0),1<n.effectTag?null!==n.lastEffect?(n.lastEffect.nextEffect=n,i=n.firstEffect):i=n:i=n.firstEffect,null!==i){var a=hi;hi|=ai,ni.current=null,D(e.containerInfo),Ei=i;do{try{io()}catch(I){if(null===Ei)throw Error(o(330));lo(Ei,I),Ei=Ei.nextEffect}}while(null!==Ei);Ei=i;do{try{for(var s=e,l=t;null!==Ei;){var c=Ei.effectTag;if(16&c&&q&&re(Ei.stateNode),128&c){var u=Ei.alternate;if(null!==u){var d=u.ref;null!==d&&("function"===typeof d?d(null):d.current=null)}}switch(1038&c){case 2:qr(Ei),Ei.effectTag&=-3;break;case 6:qr(Ei),Ei.effectTag&=-3,Wr(Ei.alternate,Ei);break;case 1024:Ei.effectTag&=-1025;break;case 1028:Ei.effectTag&=-1025,Wr(Ei.alternate,Ei);break;case 4:Wr(Ei.alternate,Ei);break;case 8:var p=s,h=Ei,f=l;q?Hr(p,h,f):Ur(p,h,f),Vr(h)}Ei=Ei.nextEffect}}catch(I){if(null===Ei)throw Error(o(330));lo(Ei,I),Ei=Ei.nextEffect}}while(null!==Ei);j(e.containerInfo),e.current=n,Ei=i;do{try{for(c=r;null!==Ei;){var m=Ei.effectTag;if(36&m){var g=Ei.alternate;switch(d=c,(u=Ei).tag){case 0:case 11:case 15:zr(16,32,u);break;case 1:var v=u.stateNode;if(4&u.effectTag)if(null===g)v.componentDidMount();else{var y=u.elementType===u.type?g.memoizedProps:wt(u.type,g.memoizedProps);v.componentDidUpdate(y,g.memoizedState,v.__reactInternalSnapshotBeforeUpdate)}var A=u.updateQueue;null!==A&&Ut(0,A,v);break;case 3:var b=u.updateQueue;if(null!==b){if(s=null,null!==u.child)switch(u.child.tag){case 5:s=_(u.child.stateNode);break;case 1:s=u.child.stateNode}Ut(0,b,s)}break;case 5:var w=u.stateNode;null===g&&4&u.effectTag&&X(w,u.type,u.memoizedProps,u);break;case 6:case 4:case 12:case 19:case 17:case 20:case 21:break;case 13:if(W&&null===u.memoizedState){var x=u.alternate;if(null!==x){var C=x.memoizedState;if(null!==C){var S=C.dehydrated;null!==S&&ke(S)}}}break;default:throw Error(o(163))}}if(128&m){u=void 0;var k=Ei.ref;if(null!==k){var E=Ei.stateNode;u=5===Ei.tag?_(E):E,"function"===typeof k?k(u):k.current=u}}Ei=Ei.nextEffect}}catch(I){if(null===Ei)throw Error(o(330));lo(Ei,I),Ei=Ei.nextEffect}}while(null!==Ei);Ei=null,rt(),hi=a}else e.current=n;if(Oi)Oi=!1,Ti=e,Di=t;else for(Ei=i;null!==Ei;)t=Ei.nextEffect,Ei.nextEffect=null,Ei=t;if(0===(t=e.firstPendingTime)&&(Pi=null),1073741823===t?e===Ni?Bi++:(Bi=0,Ni=e):Bi=0,"function"===typeof po&&po(n.stateNode,r),Ui(e),Ii)throw Ii=!1,e=_i,_i=null,e;return(hi&ii)!==ri||ft(),null}function io(){for(;null!==Ei;){var e=Ei.effectTag;0!==(256&e)&&Fr(Ei.alternate,Ei),0===(512&e)||Oi||(Oi=!0,pt(97,(function(){return oo(),null}))),Ei=Ei.nextEffect}}function oo(){if(90!==Di){var e=97<Di?97:Di;return Di=90,dt(e,ao)}}function ao(){if(null===Ti)return!1;var e=Ti;if(Ti=null,(hi&(oi|ai))!==ri)throw Error(o(331));var t=hi;for(hi|=ai,e=e.current.firstEffect;null!==e;){try{var n=e;if(0!==(512&n.effectTag))switch(n.tag){case 0:case 11:case 15:zr(128,0,n),zr(0,64,n)}}catch(r){if(null===e)throw Error(o(330));lo(e,r)}n=e.nextEffect,e.nextEffect=null,e=n}return hi=t,ft(),!0}function so(e,t,n){Rt(e,t=Xr(e,t=Nr(n,t),1073741823)),null!==(e=zi(e,1073741823))&&Ui(e)}function lo(e,t){if(3===e.tag)so(e,e,t);else for(var n=e.return;null!==n;){if(3===n.tag){so(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"===typeof n.type.getDerivedStateFromError||"function"===typeof r.componentDidCatch&&(null===Pi||!Pi.has(r))){Rt(n,e=Zr(n,e=Nr(t,e),1073741823)),null!==(n=zi(n,1073741823))&&Ui(n);break}}n=n.return}}function co(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),fi===e&&gi===n?vi===di||vi===ui&&1073741823===Ai&&lt()-Si<ki?Hi(e,gi):Ci=!0:Co(e,n)&&(0!==(t=e.lastPingedTime)&&t<n||(e.lastPingedTime=n,e.finishedExpirationTime===n&&(e.finishedExpirationTime=0,e.finishedWork=null),Ui(e)))}function uo(e,t){var n=e.stateNode;null!==n&&n.delete(t),0===(t=0)&&(t=Li(t=Ri(),e,null)),null!==(e=zi(e,t))&&Ui(e)}$r=function(e,t,n){var r=t.expirationTime;if(null!==e){var i=t.pendingProps;if(e.memoizedProps!==i||Be.current)dr=!0;else{if(r<n){switch(dr=!1,t.tag){case 3:br(t),cr();break;case 5:if(pn(t),4&t.mode&&1!==n&&F(t.type,i))return t.expirationTime=t.childExpirationTime=1,null;break;case 1:Re(t.type)&&Ue(t);break;case 4:un(t,t.stateNode.containerInfo);break;case 10:It(t,t.memoizedProps.value);break;case 13:if(null!==t.memoizedState)return 0!==(r=t.child.childExpirationTime)&&r>=n?Er(e,t,n):(Te(fn,1&fn.current),null!==(t=Or(e,t,n))?t.sibling:null);Te(fn,1&fn.current);break;case 19:if(r=t.childExpirationTime>=n,0!==(64&e.effectTag)){if(r)return Pr(e,t,n);t.effectTag|=64}if(null!==(i=t.memoizedState)&&(i.rendering=null,i.tail=null),Te(fn,fn.current),!r)return null}return Or(e,t,n)}dr=!1}}else dr=!1;switch(t.expirationTime=0,t.tag){case 2:if(r=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,i=Me(t,je.current),Ot(t,n),i=Bn(null,t,r,e,i,n),t.effectTag|=1,"object"===typeof i&&null!==i&&"function"===typeof i.render&&void 0===i.$$typeof){if(t.tag=1,Nn(),Re(r)){var a=!0;Ue(t)}else a=!1;t.memoizedState=null!==i.state&&void 0!==i.state?i.state:null;var s=r.getDerivedStateFromProps;"function"===typeof s&&Ht(t,r,s,e),i.updater=Wt,t.stateNode=i,i._reactInternalFiber=t,Xt(t,r,e,n),t=Ar(null,t,r,!0,a,n)}else t.tag=0,pr(null,t,i,n),t=t.child;return t;case 16:if(i=t.elementType,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,function(e){if(-1===e._status){e._status=0;var t=e._ctor;t=t(),e._result=t,t.then((function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)}),(function(t){0===e._status&&(e._status=2,e._result=t)}))}}(i),1!==i._status)throw i._result;switch(i=i._result,t.type=i,a=t.tag=function(e){if("function"===typeof e)return go(e)?1:0;if(void 0!==e&&null!==e){if((e=e.$$typeof)===g)return 11;if(e===A)return 14}return 2}(i),e=wt(i,e),a){case 0:t=vr(null,t,i,e,n);break;case 1:t=yr(null,t,i,e,n);break;case 11:t=hr(null,t,i,e,n);break;case 14:t=fr(null,t,i,wt(i.type,e),r,n);break;default:throw Error(o(306,i,""))}return t;case 0:return r=t.type,i=t.pendingProps,vr(e,t,r,i=t.elementType===r?i:wt(r,i),n);case 1:return r=t.type,i=t.pendingProps,yr(e,t,r,i=t.elementType===r?i:wt(r,i),n);case 3:if(br(t),null===(r=t.updateQueue))throw Error(o(282));if(i=null!==(i=t.memoizedState)?i.element:null,Qt(t,r,t.pendingProps,null,n),(r=t.memoizedState.element)===i)cr(),t=Or(e,t,n);else{if((i=t.stateNode.hydrate)&&(W?(nr=be(t.stateNode.containerInfo),tr=t,i=rr=!0):i=!1),i)for(n=rn(t,null,r,n),t.child=n;n;)n.effectTag=-3&n.effectTag|1024,n=n.sibling;else pr(e,t,r,n),cr();t=t.child}return t;case 5:return pn(t),null===e&&ar(t),r=t.type,i=t.pendingProps,a=null!==e?e.memoizedProps:null,s=i.children,L(r,i)?s=null:null!==a&&L(r,a)&&(t.effectTag|=16),gr(e,t),4&t.mode&&1!==n&&F(r,i)?(t.expirationTime=t.childExpirationTime=1,t=null):(pr(e,t,s,n),t=t.child),t;case 6:return null===e&&ar(t),null;case 13:return Er(e,t,n);case 4:return un(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=nn(t,null,r,n):pr(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,hr(e,t,r,i=t.elementType===r?i:wt(r,i),n);case 7:return pr(e,t,t.pendingProps,n),t.child;case 8:case 12:return pr(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,s=t.memoizedProps,It(t,a=i.value),null!==s){var l=s.value;if(0===(a=yt(l,a)?0:0|("function"===typeof r._calculateChangedBits?r._calculateChangedBits(l,a):1073741823))){if(s.children===i.children&&!Be.current){t=Or(e,t,n);break e}}else for(null!==(l=t.child)&&(l.return=t);null!==l;){var c=l.dependencies;if(null!==c){s=l.child;for(var u=c.firstContext;null!==u;){if(u.context===r&&0!==(u.observedBits&a)){1===l.tag&&((u=Nt(n,null)).tag=2,Rt(l,u)),l.expirationTime<n&&(l.expirationTime=n),null!==(u=l.alternate)&&u.expirationTime<n&&(u.expirationTime=n),Pt(l.return,n),c.expirationTime<n&&(c.expirationTime=n);break}u=u.next}}else s=10===l.tag&&l.type===t.type?null:l.child;if(null!==s)s.return=l;else for(s=l;null!==s;){if(s===t){s=null;break}if(null!==(l=s.sibling)){l.return=s.return,s=l;break}s=s.return}l=s}}pr(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=(a=t.pendingProps).children,Ot(t,n),r=r(i=Tt(i,a.unstable_observedBits)),t.effectTag|=1,pr(e,t,r,n),t.child;case 14:return a=wt(i=t.type,t.pendingProps),fr(e,t,i,a=wt(i.type,a),r,n);case 15:return mr(e,t,t.type,t.pendingProps,r,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:wt(r,i),null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),t.tag=1,Re(r)?(e=!0,Ue(t)):e=!1,Ot(t,n),Kt(t,r,i),Xt(t,r,i,n),Ar(null,t,r,!0,e,n);case 19:return Pr(e,t,n)}throw Error(o(156,t.tag))};var po=null,ho=null;function fo(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.effectTag=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childExpirationTime=this.expirationTime=0,this.alternate=null}function mo(e,t,n,r){return new fo(e,t,n,r)}function go(e){return!(!(e=e.prototype)||!e.isReactComponent)}function vo(e,t){var n=e.alternate;return null===n?((n=mo(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.effectTag=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childExpirationTime=e.childExpirationTime,n.expirationTime=e.expirationTime,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{expirationTime:t.expirationTime,firstContext:t.firstContext,responders:t.responders},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function yo(e,t,n,r,i,a){var s=2;if(r=e,"function"===typeof e)go(e)&&(s=1);else if("string"===typeof e)s=5;else e:switch(e){case u:return Ao(n.children,i,a,t);case m:s=8,i|=7;break;case d:s=8,i|=1;break;case p:return(e=mo(12,n,t,8|i)).elementType=p,e.type=p,e.expirationTime=a,e;case v:return(e=mo(13,n,t,i)).type=v,e.elementType=v,e.expirationTime=a,e;case y:return(e=mo(19,n,t,i)).elementType=y,e.expirationTime=a,e;default:if("object"===typeof e&&null!==e)switch(e.$$typeof){case h:s=10;break e;case f:s=9;break e;case g:s=11;break e;case A:s=14;break e;case b:s=16,r=null;break e}throw Error(o(130,null==e?e:typeof e,""))}return(t=mo(s,n,t,i)).elementType=e,t.type=r,t.expirationTime=a,t}function Ao(e,t,n,r){return(e=mo(7,e,r,t)).expirationTime=n,e}function bo(e,t,n){return(e=mo(6,e,null,t)).expirationTime=n,e}function wo(e,t,n){return(t=mo(4,null!==e.children?e.children:[],e.key,t)).expirationTime=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function xo(e,t,n){this.tag=t,this.current=null,this.containerInfo=e,this.pingCache=this.pendingChildren=null,this.finishedExpirationTime=0,this.finishedWork=null,this.timeoutHandle=V,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=90,this.lastExpiredTime=this.lastPingedTime=this.nextKnownPendingLevel=this.lastSuspendedTime=this.firstSuspendedTime=this.firstPendingTime=0}function Co(e,t){var n=e.firstSuspendedTime;return e=e.lastSuspendedTime,0!==n&&n>=t&&e<=t}function So(e,t){var n=e.firstSuspendedTime,r=e.lastSuspendedTime;n<t&&(e.firstSuspendedTime=t),(r>t||0===n)&&(e.lastSuspendedTime=t),t<=e.lastPingedTime&&(e.lastPingedTime=0),t<=e.lastExpiredTime&&(e.lastExpiredTime=0)}function ko(e,t){t>e.firstPendingTime&&(e.firstPendingTime=t);var n=e.firstSuspendedTime;0!==n&&(t>=n?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:t>=e.lastSuspendedTime&&(e.lastSuspendedTime=t+1),t>e.nextKnownPendingLevel&&(e.nextKnownPendingLevel=t))}function Eo(e,t){var n=e.lastExpiredTime;(0===n||n>t)&&(e.lastExpiredTime=t)}function Io(e){var t=e._reactInternalFiber;if(void 0===t){if("function"===typeof e.render)throw Error(o(188));throw Error(o(268,Object.keys(e)))}return null===(e=I(t))?null:e.stateNode}function _o(e,t){null!==(e=e.memoizedState)&&null!==e.dehydrated&&e.retryTime<t&&(e.retryTime=t)}function Po(e,t){_o(e,t),(e=e.alternate)&&_o(e,t)}var Oo={createContainer:function(e,t,n){return e=new xo(e,t,n),t=mo(3,null,null,2===t?7:1===t?3:0),e.current=t,t.stateNode=e},updateContainer:function(e,t,n,r){var i=t.current,a=Ri(),s=Gt.suspense;a=Li(a,i,s);e:if(n){t:{if(S(n=n._reactInternalFiber)!==n||1!==n.tag)throw Error(o(170));var l=n;do{switch(l.tag){case 3:l=l.stateNode.context;break t;case 1:if(Re(l.type)){l=l.stateNode.__reactInternalMemoizedMergedChildContext;break t}}l=l.return}while(null!==l);throw Error(o(171))}if(1===n.tag){var c=n.type;if(Re(c)){n=Qe(n,c,l);break e}}n=l}else n=De;return null===t.context?t.context=n:t.pendingContext=n,(t=Nt(a,s)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),Rt(i,t),Fi(i,a),a},batchedEventUpdates:function(e,t){var n=hi;hi|=2;try{return e(t)}finally{(hi=n)===ri&&ft()}},batchedUpdates:function(e,t){var n=hi;hi|=1;try{return e(t)}finally{(hi=n)===ri&&ft()}},unbatchedUpdates:function(e,t){var n=hi;hi&=-2,hi|=ii;try{return e(t)}finally{(hi=n)===ri&&ft()}},deferredUpdates:function(e){return dt(97,e)},syncUpdates:function(e,t,n,r){return dt(99,e.bind(null,t,n,r))},discreteUpdates:function(e,t,n,r){var i=hi;hi|=4;try{return dt(98,e.bind(null,t,n,r))}finally{(hi=i)===ri&&ft()}},flushDiscreteUpdates:function(){(hi&(1|oi|ai))===ri&&(function(){if(null!==ji){var e=ji;ji=null,e.forEach((function(e,t){Eo(t,e),Ui(t)})),ft()}}(),oo())},flushControlled:function(e){var t=hi;hi|=1;try{dt(99,e)}finally{(hi=t)===ri&&ft()}},flushSync:qi,flushPassiveEffects:oo,IsThisRendererActing:{current:!1},getPublicRootInstance:function(e){return(e=e.current).child?5===e.child.tag?_(e.child.stateNode):e.child.stateNode:null},attemptSynchronousHydration:function(e){switch(e.tag){case 3:var t=e.stateNode;t.hydrate&&function(e,t){Eo(e,t),Ui(e),(hi&(oi|ai))===ri&&ft()}(t,t.firstPendingTime);break;case 13:qi((function(){return Fi(e,1073741823)})),t=vt(Ri(),150,100),Po(e,t)}},attemptUserBlockingHydration:function(e){if(13===e.tag){var t=vt(Ri(),150,100);Fi(e,t),Po(e,t)}},attemptContinuousHydration:function(e){if(13===e.tag){Ri();var t=gt++;Fi(e,t),Po(e,t)}},attemptHydrationAtCurrentPriority:function(e){if(13===e.tag){var t=Ri();Fi(e,t=Li(t,e,null)),Po(e,t)}},findHostInstance:Io,findHostInstanceWithWarning:function(e){return Io(e)},findHostInstanceWithNoPortals:function(e){return null===(e=function(e){if(!(e=E(e)))return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child&&4!==t.tag)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}(e))?null:20===e.tag?e.stateNode.instance:e.stateNode},shouldSuspend:function(){return!1},injectIntoDevTools:function(e){var t=e.findFiberByHostInstance;return function(e){if("undefined"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled||!t.supportsFiber)return!0;try{var n=t.inject(e);po=function(e){try{t.onCommitFiberRoot(n,e,void 0,64===(64&e.current.effectTag))}catch(r){}},ho=function(e){try{t.onCommitFiberUnmount(n,e)}catch(r){}}}catch(r){}return!0}(n({},e,{overrideHookState:null,overrideProps:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:a.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=I(e))?null:e.stateNode},findFiberByHostInstance:function(e){return t?t(e):null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null}))}};fT.exports=Oo.default||Oo;var To=fT.exports;return fT.exports=e,To};var vT=pT(mT.exports);const yT=(e,t)=>{const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let i=0;i<n.length;i+=1){const r=n[i];if("render"===r&&!e[r]!==!t[r])return!1;if("children"!==r&&e[r]!==t[r]){if("object"===typeof e[r]&&"object"===typeof t[r]&&yT(e[r],t[r]))continue;return!1}if("children"===r&&("string"===typeof e[r]||"string"===typeof t[r]))return e[r]===t[r]}return!0},AT={},bT=(e,t)=>{const n="TEXT"===e.type||"LINK"===e.type||"TSPAN"===e.type;"TEXT_INSTANCE"!==t.type||n?e.children.push(t):console.warn(`Invalid '${t.value}' string child outside <Text> component`)};var wT={name:"@react-pdf/renderer",version:"4.0.0",license:"MIT",description:"Create PDF files on the browser and server",author:"Diego Muracciole <diegomuracciole@gmail.com>",homepage:"https://github.com/diegomura/react-pdf#readme",type:"module",main:"./lib/react-pdf.js",browser:{"./lib/react-pdf.js":"./lib/react-pdf.browser.js"},repository:{type:"git",url:"https://github.com/diegomura/react-pdf.git",directory:"packages/renderer"},scripts:{build:"rimraf ./lib && rollup -c",watch:"rimraf ./lib && rollup -c -w",size:"size-limit",lint:"eslint src",test:"vitest && vitest --config vitest.browser.config.js"},dependencies:{"@babel/runtime":"^7.20.13","@react-pdf/font":"^3.0.0","@react-pdf/layout":"^4.0.0","@react-pdf/pdfkit":"^4.0.0","@react-pdf/primitives":"^4.0.0","@react-pdf/render":"^4.0.0","@react-pdf/types":"^2.7.0",events:"^3.3.0","object-assign":"^4.1.1","prop-types":"^15.6.2",queue:"^6.0.1",scheduler:"^0.17.0"},peerDependencies:{react:"^16.8.0 || ^17.0.0 || ^18.0.0"},"lint-staged":{"*.js":["yarn lint","prettier --write"]},files:["lib","index.d.ts"],collective:{type:"opencollective",url:"https://opencollective.com/react-pdf",logo:"https://opencollective.com/opencollective/logo.txt"},devDependencies:{"@size-limit/preset-big-lib":"^11.0.1",assert:"^2.0.0","browserify-zlib":"^0.2.0",buffer:"^6.0.3",process:"^0.11.10","react-reconciler":"0.23.0","size-limit":"^11.0.1",util:"^0.12.4"}};const{version:xT}=wT,CT=new function(){let e={},t=null,n=null;this.register=t=>{const{family:n}=t;if(e[n]||(e[n]=$l.create(n)),t.fonts)for(let r=0;r<t.fonts.length;r+=1)e[n].register({family:n,...t.fonts[r]});else e[n].register(t)},this.registerEmojiSource=e=>{let{url:n,format:r="png",builder:i,withVariationSelectors:o=!1}=e;t={url:n,format:r,builder:i,withVariationSelectors:o}},this.registerHyphenationCallback=e=>{n=e},this.getFont=t=>{const{fontFamily:n}=t;if(ec.includes(n))return null;if(!e[n])throw new Error(`Font family not registered: ${n}. Please register it calling Font.register() method.`);return e[n].resolve(t)},this.load=async e=>{const{fontFamily:t}=e,n="string"===typeof t?[t]:[...t||[]],r=[];for(let i=n.length,o=0;o<i;o+=1){const t=n[o];if(ec.includes(t))return;const i=this.getFont({...e,fontFamily:t});r.push(i.load())}await Promise.all(r)},this.reset=()=>{const t=Object.keys(e);for(let n=0;n<t.length;n+=1){const r=t[n];e[r].data=null}},this.clear=()=>{e={}},this.getRegisteredFonts=()=>e,this.getEmojiSource=()=>t,this.getHyphenationCallback=()=>n,this.getRegisteredFontFamilies=()=>Object.keys(e)};let ST;const kT={},ET=e=>{const t={type:"ROOT",document:null};ST=ST||(e=>{let{onChange:t=()=>{}}=e;return vT({schedulePassiveEffects:cT.unstable_scheduleCallback,cancelPassiveEffects:cT.unstable_cancelCallback,supportsMutation:!0,isPrimaryRenderer:!1,warnsIfNotActing:!1,appendInitialChild:bT,createInstance(e,t){let{style:n,children:r,...i}=t;return{type:e,box:{},style:n||{},props:i||{},children:[]}},createTextInstance:(e,t)=>({type:"TEXT_INSTANCE",value:e}),finalizeInitialChildren:(e,t,n)=>!1,getPublicInstance:e=>e,prepareForCommit(){},clearContainer(){},prepareUpdate:(e,t,n,r)=>!yT(n,r),resetAfterCommit:t,resetTextContent(e){},getRootHostContext:()=>AT,getChildHostContext:()=>AT,shouldSetTextContent:(e,t)=>!1,now:Date.now,useSyncScheduling:!0,appendChild:bT,appendChildToContainer(e,t){"ROOT"===e.type?e.document=t:bT(e,t)},insertBefore(e,t,n){var r;const i=null===(r=e.children)||void 0===r?void 0:r.indexOf(n);void 0!==i&&-1!==i&&t&&e.children.splice(i,0,t)},removeChild(e,t){var n;const r=null===(n=e.children)||void 0===n?void 0:n.indexOf(t);void 0!==r&&-1!==r&&e.children.splice(r,1)},removeChildFromContainer(e,t){var n;const r=null===(n=e.children)||void 0===n?void 0:n.indexOf(t);void 0!==r&&-1!==r&&e.children.splice(r,1)},commitTextUpdate(e,t,n){e.value=n},commitUpdate(e,t,n,r,i){const{style:o,...a}=i;e.props=a,e.style=o}})})({onChange:()=>{var e;const t=(null===(e=kT.change)||void 0===e?void 0:e.slice())||[];for(let n=0;n<t.length;n+=1)t[n]()}});const n=ST.createContainer(t),r=(e,t)=>{ST.updateContainer(e,n,null,t)};e&&r(e);const i=async function(e){void 0===e&&(e=!0);const n=t.document.props||{},{pdfVersion:r,language:i,pageLayout:o,pageMode:a}=n,s=new LC({compress:e,pdfVersion:r,lang:i,displayTitle:!0,autoFirstPage:!1,pageLayout:o,pageMode:a}),l=await sT(t.document,CT);return{layout:l,fileStream:hu(s,l)}},o=function(e){void 0===e&&(e={}),t.document.props.onRender&&t.document.props.onRender(e)};return{on:(e,t)=>{kT[e]||(kT[e]=[]),kT[e].push(t)},container:t,toBlob:async()=>{const e=[],{layout:t,fileStream:n}=await i();return new Promise(((r,i)=>{n.on("data",(t=>{e.push(t instanceof Uint8Array?t:new Uint8Array(t))})),n.on("end",(()=>{try{const n=new Blob(e,{type:"application/pdf"});o({blob:n,_INTERNAL__LAYOUT__DATA_:t}),r(n)}catch(n){i(n)}}))}))},toBuffer:async()=>{const{layout:e,fileStream:t}=await i();return o({_INTERNAL__LAYOUT__DATA_:e}),t},toString:async()=>{let e="";const{fileStream:t}=await i(!1);return new Promise(((n,r)=>{try{t.on("data",(t=>{e+=t})),t.on("end",(()=>{o(),n(e)}))}catch(i){r(i)}}))},removeListener:(e,t)=>{if(!kT[e])return;const n=kT[e].indexOf(t);n>-1&&kT[e].splice(n,1)},updateContainer:r}},IT=CT,_T={create:e=>e},PT=function(e){let{document:t}=void 0===e?{}:e;const n=(0,P.useRef)(null),[r,i]=(0,P.useState)({url:null,blob:null,error:null,loading:!!t});(0,P.useEffect)((()=>{const e=_({autostart:!0,concurrency:1}),o=()=>{i((e=>({...e,loading:!0}))),e.splice(0,e.length,(()=>r.error?Promise.resolve():n.current.toBlob()))};return n.current=ET(),n.current.on("change",o),t&&n.current.updateContainer(t),e.on("error",(e=>{console.error(e),i((t=>({...t,loading:!1,error:e})))})),e.on("success",(e=>{i({blob:e,error:null,loading:!1,url:URL.createObjectURL(e)})})),()=>{e.end(),n.current.removeListener("change",o)}}),[]),(0,P.useEffect)((()=>()=>{r.url&&URL.revokeObjectURL(r.url)}),[r.url]);const o=(0,P.useCallback)((e=>{n.current.updateContainer(e)}),[]);return[r,o]},OT=e=>{throw new Error(`${e} is a Node specific API. You're either using this method in a browser, or your bundler is not loading react-pdf from the appropriate web build.`)}},50039:(e,t,n)=>{"use strict";function r(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function a(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function s(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}n.d(t,{$W:()=>c,Ec:()=>Vn,Hl:()=>mo,Ht:()=>mr,Ng:()=>Ra,Q1:()=>Ye,UZ:()=>Ka,X:()=>pa,ZS:()=>io,bR:()=>le,rw:()=>ui,uW:()=>Ns});class l{constructor(){r(this,"browserShadowBlurConstant",1),r(this,"DPI",96),r(this,"devicePixelRatio","undefined"!=typeof window?window.devicePixelRatio:1),r(this,"perfLimitSizeTotal",2097152),r(this,"maxCacheSideLimit",4096),r(this,"minCacheSideLimit",256),r(this,"disableStyleCopyPaste",!1),r(this,"enableGLFiltering",!0),r(this,"textureSize",4096),r(this,"forceGLPutImageData",!1),r(this,"cachesBoundsOfCurve",!1),r(this,"fontPaths",{}),r(this,"NUM_FRACTION_DIGITS",4)}}const c=new class extends l{constructor(e){super(),this.configure(e)}configure(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object.assign(this,e)}addFonts(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.fontPaths=o(o({},this.fontPaths),e)}removeFonts(){(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).forEach((e=>{delete this.fontPaths[e]}))}clearFonts(){this.fontPaths={}}restoreDefaults(e){const t=new l,n=(null==e?void 0:e.reduce(((e,n)=>(e[n]=t[n],e)),{}))||t;this.configure(n)}},u=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return console[e]("fabric",...n)};class d extends Error{constructor(e,t){super("fabric: ".concat(e),t)}}class p extends d{constructor(e){super("".concat(e," 'options.signal' is in 'aborted' state"))}}class h{}class f extends h{testPrecision(e,t){const n="precision ".concat(t," float;\nvoid main(){}"),r=e.createShader(e.FRAGMENT_SHADER);return!!r&&(e.shaderSource(r,n),e.compileShader(r),!!e.getShaderParameter(r,e.COMPILE_STATUS))}queryWebGL(e){const t=e.getContext("webgl");t&&(this.maxTextureSize=t.getParameter(t.MAX_TEXTURE_SIZE),this.GLPrecision=["highp","mediump","lowp"].find((e=>this.testPrecision(t,e))),t.getExtension("WEBGL_lose_context").loseContext(),u("log","WebGL: max texture size ".concat(this.maxTextureSize)))}isSupported(e){return!!this.maxTextureSize&&this.maxTextureSize>=e}}const m={};let g;const v=()=>g||(g={document:document,window:window,isTouchSupported:"ontouchstart"in window||"ontouchstart"in document||window&&window.navigator&&window.navigator.maxTouchPoints>0,WebGLProbe:new f,dispose(){},copyPasteData:m}),y=()=>v().document,A=()=>v().window,b=()=>{var e;return Math.max(null!==(e=c.devicePixelRatio)&&void 0!==e?e:A().devicePixelRatio,1)},w=new class{constructor(){r(this,"charWidthsCache",{}),r(this,"boundsOfCurveCache",{})}getFontCache(e){let{fontFamily:t,fontStyle:n,fontWeight:r}=e;t=t.toLowerCase(),this.charWidthsCache[t]||(this.charWidthsCache[t]={});const i=this.charWidthsCache[t],o="".concat(n.toLowerCase(),"_").concat((r+"").toLowerCase());return i[o]||(i[o]={}),i[o]}clearFontCache(e){(e=(e||"").toLowerCase())?this.charWidthsCache[e]&&delete this.charWidthsCache[e]:this.charWidthsCache={}}limitDimsByArea(e){const{perfLimitSizeTotal:t}=c,n=Math.sqrt(t*e);return[Math.floor(n),Math.floor(t/n)]}},x="6.4.3";function C(){}const S=Math.PI/2,k=2*Math.PI,E=Math.PI/180,I=Object.freeze([1,0,0,1,0,0]),_=16,P=.4477152502,O="center",T="left",D="top",j="bottom",B="right",N="none",M=/\r?\n/,R="moving",L="scaling",F="rotating",z="rotate",Q="skewing",U="resizing",V="modifyPoly",G="modifyPath",q="changed",H="scale",W="scaleX",Y="scaleY",K="skewX",J="skewY",X="fill",Z="stroke",$="modified",ee="json",te="svg",ne=new class{constructor(){this[ee]=new Map,this[te]=new Map}has(e){return this[ee].has(e)}getClass(e){const t=this[ee].get(e);if(!t)throw new d("No class registered for ".concat(e));return t}setClass(e,t){t?this[ee].set(t,e):(this[ee].set(e.type,e),this[ee].set(e.type.toLowerCase(),e))}getSVGClass(e){return this[te].get(e)}setSVGClass(e,t){this[te].set(null!=t?t:e.type.toLowerCase(),e)}},re=new class extends Array{remove(e){const t=this.indexOf(e);t>-1&&this.splice(t,1)}cancelAll(){const e=this.splice(0);return e.forEach((e=>e.abort())),e}cancelByCanvas(e){if(!e)return[];const t=this.filter((t=>{var n;return t.target===e||"object"==typeof t.target&&(null===(n=t.target)||void 0===n?void 0:n.canvas)===e}));return t.forEach((e=>e.abort())),t}cancelByTarget(e){if(!e)return[];const t=this.filter((t=>t.target===e));return t.forEach((e=>e.abort())),t}};class ie{constructor(){r(this,"__eventListeners",{})}on(e,t){if(this.__eventListeners||(this.__eventListeners={}),"object"==typeof e)return Object.entries(e).forEach((e=>{let[t,n]=e;this.on(t,n)})),()=>this.off(e);if(t){const n=e;return this.__eventListeners[n]||(this.__eventListeners[n]=[]),this.__eventListeners[n].push(t),()=>this.off(n,t)}return()=>!1}once(e,t){if("object"==typeof e){const t=[];return Object.entries(e).forEach((e=>{let[n,r]=e;t.push(this.once(n,r))})),()=>t.forEach((e=>e()))}if(t){const n=this.on(e,(function(){for(var e=arguments.length,r=new Array(e),i=0;i<e;i++)r[i]=arguments[i];t.call(this,...r),n()}));return n}return()=>!1}_removeEventListener(e,t){if(this.__eventListeners[e])if(t){const n=this.__eventListeners[e],r=n.indexOf(t);r>-1&&n.splice(r,1)}else this.__eventListeners[e]=[]}off(e,t){if(this.__eventListeners)if(void 0===e)for(const n in this.__eventListeners)this._removeEventListener(n);else"object"==typeof e?Object.entries(e).forEach((e=>{let[t,n]=e;this._removeEventListener(t,n)})):this._removeEventListener(e,t)}fire(e,t){var n;if(!this.__eventListeners)return;const r=null===(n=this.__eventListeners[e])||void 0===n?void 0:n.concat();if(r)for(let i=0;i<r.length;i++)r[i].call(this,t||{})}}const oe=(e,t)=>{const n=e.indexOf(t);return-1!==n&&e.splice(n,1),e},ae=e=>{if(0===e)return 1;switch(Math.abs(e)/S){case 1:case 3:return 0;case 2:return-1}return Math.cos(e)},se=e=>{if(0===e)return 0;const t=e/S,n=Math.sign(e);switch(t){case 1:return n;case 2:return 0;case 3:return-n}return Math.sin(e)};class le{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;"object"==typeof e?(this.x=e.x,this.y=e.y):(this.x=e,this.y=t)}add(e){return new le(this.x+e.x,this.y+e.y)}addEquals(e){return this.x+=e.x,this.y+=e.y,this}scalarAdd(e){return new le(this.x+e,this.y+e)}scalarAddEquals(e){return this.x+=e,this.y+=e,this}subtract(e){return new le(this.x-e.x,this.y-e.y)}subtractEquals(e){return this.x-=e.x,this.y-=e.y,this}scalarSubtract(e){return new le(this.x-e,this.y-e)}scalarSubtractEquals(e){return this.x-=e,this.y-=e,this}multiply(e){return new le(this.x*e.x,this.y*e.y)}scalarMultiply(e){return new le(this.x*e,this.y*e)}scalarMultiplyEquals(e){return this.x*=e,this.y*=e,this}divide(e){return new le(this.x/e.x,this.y/e.y)}scalarDivide(e){return new le(this.x/e,this.y/e)}scalarDivideEquals(e){return this.x/=e,this.y/=e,this}eq(e){return this.x===e.x&&this.y===e.y}lt(e){return this.x<e.x&&this.y<e.y}lte(e){return this.x<=e.x&&this.y<=e.y}gt(e){return this.x>e.x&&this.y>e.y}gte(e){return this.x>=e.x&&this.y>=e.y}lerp(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.5;return t=Math.max(Math.min(1,t),0),new le(this.x+(e.x-this.x)*t,this.y+(e.y-this.y)*t)}distanceFrom(e){const t=this.x-e.x,n=this.y-e.y;return Math.sqrt(t*t+n*n)}midPointFrom(e){return this.lerp(e)}min(e){return new le(Math.min(this.x,e.x),Math.min(this.y,e.y))}max(e){return new le(Math.max(this.x,e.x),Math.max(this.y,e.y))}toString(){return"".concat(this.x,",").concat(this.y)}setXY(e,t){return this.x=e,this.y=t,this}setX(e){return this.x=e,this}setY(e){return this.y=e,this}setFromPoint(e){return this.x=e.x,this.y=e.y,this}swap(e){const t=this.x,n=this.y;this.x=e.x,this.y=e.y,e.x=t,e.y=n}clone(){return new le(this.x,this.y)}rotate(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ce;const n=se(e),r=ae(e),i=this.subtract(t);return new le(i.x*r-i.y*n,i.x*n+i.y*r).add(t)}transform(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return new le(e[0]*this.x+e[2]*this.y+(t?0:e[4]),e[1]*this.x+e[3]*this.y+(t?0:e[5]))}}const ce=new le(0,0),ue=e=>!!e&&Array.isArray(e._objects);function de(e){class t extends e{constructor(){super(...arguments),r(this,"_objects",[])}_onObjectAdded(e){}_onObjectRemoved(e){}_onStackOrderChanged(e){}add(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const r=this._objects.push(...t);return t.forEach((e=>this._onObjectAdded(e))),r}insertAt(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return this._objects.splice(e,0,...n),n.forEach((e=>this._onObjectAdded(e))),this._objects.length}remove(){const e=this._objects,t=[];for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return r.forEach((n=>{const r=e.indexOf(n);-1!==r&&(e.splice(r,1),t.push(n),this._onObjectRemoved(n))})),t}forEachObject(e){this.getObjects().forEach(((t,n,r)=>e(t,n,r)))}getObjects(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?[...this._objects]:this._objects.filter((e=>e.isType(...t)))}item(e){return this._objects[e]}isEmpty(){return 0===this._objects.length}size(){return this._objects.length}contains(e,n){return!!this._objects.includes(e)||!!n&&this._objects.some((n=>n instanceof t&&n.contains(e,!0)))}complexity(){return this._objects.reduce(((e,t)=>e+(t.complexity?t.complexity():0)),0)}sendObjectToBack(e){return!(!e||e===this._objects[0])&&(oe(this._objects,e),this._objects.unshift(e),this._onStackOrderChanged(e),!0)}bringObjectToFront(e){return!(!e||e===this._objects[this._objects.length-1])&&(oe(this._objects,e),this._objects.push(e),this._onStackOrderChanged(e),!0)}sendObjectBackwards(e,t){if(!e)return!1;const n=this._objects.indexOf(e);if(0!==n){const r=this.findNewLowerIndex(e,n,t);return oe(this._objects,e),this._objects.splice(r,0,e),this._onStackOrderChanged(e),!0}return!1}bringObjectForward(e,t){if(!e)return!1;const n=this._objects.indexOf(e);if(n!==this._objects.length-1){const r=this.findNewUpperIndex(e,n,t);return oe(this._objects,e),this._objects.splice(r,0,e),this._onStackOrderChanged(e),!0}return!1}moveObjectTo(e,t){return e!==this._objects[t]&&(oe(this._objects,e),this._objects.splice(t,0,e),this._onStackOrderChanged(e),!0)}findNewLowerIndex(e,t,n){let r;if(n){r=t;for(let n=t-1;n>=0;--n)if(e.isOverlapping(this._objects[n])){r=n;break}}else r=t-1;return r}findNewUpperIndex(e,t,n){let r;if(n){r=t;for(let n=t+1;n<this._objects.length;++n)if(e.isOverlapping(this._objects[n])){r=n;break}}else r=t+1;return r}collectObjects(e){let{left:t,top:n,width:r,height:i}=e,{includeIntersecting:o=!0}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const a=[],s=new le(t,n),l=s.add(new le(r,i));for(let c=this._objects.length-1;c>=0;c--){const e=this._objects[c];e.selectable&&e.visible&&(o&&e.intersectsWithRect(s,l)||e.isContainedWithinRect(s,l)||o&&e.containsPoint(s)||o&&e.containsPoint(l))&&a.push(e)}return a}}return t}class pe extends ie{_setOptions(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};for(const t in e)this.set(t,e[t])}_setObject(e){for(const t in e)this._set(t,e[t])}set(e,t){return"object"==typeof e?this._setObject(e):this._set(e,t),this}_set(e,t){this[e]=t}toggle(e){const t=this.get(e);return"boolean"==typeof t&&this.set(e,!t),this}get(e){return this[e]}}function he(e){return A().requestAnimationFrame(e)}function fe(e){return A().cancelAnimationFrame(e)}let me=0;const ge=()=>me++,ve=()=>{const e=y().createElement("canvas");if(!e||void 0===e.getContext)throw new d("Failed to create `canvas` element");return e},ye=()=>y().createElement("img"),Ae=(e,t,n)=>e.toDataURL("image/".concat(t),n),be=e=>e*E,we=e=>e/E,xe=e=>e.every(((e,t)=>e===I[t])),Ce=(e,t,n)=>new le(e).transform(t,n),Se=e=>{const t=1/(e[0]*e[3]-e[1]*e[2]),n=[t*e[3],-t*e[1],-t*e[2],t*e[0],0,0],{x:r,y:i}=new le(e[4],e[5]).transform(n,!0);return n[4]=-r,n[5]=-i,n},ke=(e,t,n)=>[e[0]*t[0]+e[2]*t[1],e[1]*t[0]+e[3]*t[1],e[0]*t[2]+e[2]*t[3],e[1]*t[2]+e[3]*t[3],n?0:e[0]*t[4]+e[2]*t[5]+e[4],n?0:e[1]*t[4]+e[3]*t[5]+e[5]],Ee=(e,t)=>e.reduceRight(((e,n)=>n&&e?ke(n,e,t):n||e),void 0)||I.concat(),Ie=e=>{let[t,n]=e;return Math.atan2(n,t)},_e=e=>{const t=Ie(e),n=Math.pow(e[0],2)+Math.pow(e[1],2),r=Math.sqrt(n),i=(e[0]*e[3]-e[2]*e[1])/r,o=Math.atan2(e[0]*e[2]+e[1]*e[3],n);return{angle:we(t),scaleX:r,scaleY:i,skewX:we(o),skewY:0,translateX:e[4]||0,translateY:e[5]||0}},Pe=function(e){return[1,0,0,1,e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0]};function Oe(){let{angle:e=0}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{x:t=0,y:n=0}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=be(e),i=ae(r),o=se(r);return[i,o,-o,i,t?t-(i*t-o*n):0,n?n-(o*t+i*n):0]}const Te=function(e){return[e,0,0,arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,0,0]},De=e=>Math.tan(be(e)),je=e=>[1,0,De(e),1,0,0],Be=e=>[1,De(e),0,1,0,0],Ne=e=>{let{scaleX:t=1,scaleY:n=1,flipX:r=!1,flipY:i=!1,skewX:o=0,skewY:a=0}=e,s=Te(r?-t:t,i?-n:n);return o&&(s=ke(s,je(o),!0)),a&&(s=ke(s,Be(a),!0)),s},Me=e=>{const{translateX:t=0,translateY:n=0,angle:r=0}=e;let i=Pe(t,n);r&&(i=ke(i,Oe({angle:r})));const o=Ne(e);return xe(o)||(i=ke(i,o)),i},Re=function(e){let{signal:t,crossOrigin:n=null}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new Promise((function(r,i){if(t&&t.aborted)return i(new p("loadImage"));const o=ye();let a;t&&(a=function(e){o.src="",i(e)},t.addEventListener("abort",a,{once:!0}));const s=function(){o.onload=o.onerror=null,a&&(null==t||t.removeEventListener("abort",a)),r(o)};e?(o.onload=s,o.onerror=function(){a&&(null==t||t.removeEventListener("abort",a)),i(new d("Error loading ".concat(o.src)))},n&&(o.crossOrigin=n),o.src=e):s()}))},Le=function(e){let{signal:t,reviver:n=C}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new Promise(((r,i)=>{const o=[];t&&t.addEventListener("abort",i,{once:!0}),Promise.all(e.map((e=>ne.getClass(e.type).fromObject(e,{signal:t}).then((t=>(n(e,t),o.push(t),t)))))).then(r).catch((e=>{o.forEach((e=>{e.dispose&&e.dispose()})),i(e)})).finally((()=>{t&&t.removeEventListener("abort",i)}))}))},Fe=function(e){let{signal:t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new Promise(((n,r)=>{const i=[];t&&t.addEventListener("abort",r,{once:!0});const o=Object.values(e).map((e=>e&&e.type&&ne.has(e.type)?Le([e],{signal:t}).then((e=>{let[t]=e;return i.push(t),t})):e)),a=Object.keys(e);Promise.all(o).then((e=>e.reduce(((e,t,n)=>(e[a[n]]=t,e)),{}))).then(n).catch((e=>{i.forEach((e=>{e.dispose&&e.dispose()})),r(e)})).finally((()=>{t&&t.removeEventListener("abort",r)}))}))},ze=function(e){return(arguments.length>1&&void 0!==arguments[1]?arguments[1]:[]).reduce(((t,n)=>(n in e&&(t[n]=e[n]),t)),{})},Qe=(e,t)=>Object.keys(e).reduce(((n,r)=>(t(e[r],r,e)&&(n[r]=e[r]),n)),{}),Ue={aliceblue:"#F0F8FF",antiquewhite:"#FAEBD7",aqua:"#0FF",aquamarine:"#7FFFD4",azure:"#F0FFFF",beige:"#F5F5DC",bisque:"#FFE4C4",black:"#000",blanchedalmond:"#FFEBCD",blue:"#00F",blueviolet:"#8A2BE2",brown:"#A52A2A",burlywood:"#DEB887",cadetblue:"#5F9EA0",chartreuse:"#7FFF00",chocolate:"#D2691E",coral:"#FF7F50",cornflowerblue:"#6495ED",cornsilk:"#FFF8DC",crimson:"#DC143C",cyan:"#0FF",darkblue:"#00008B",darkcyan:"#008B8B",darkgoldenrod:"#B8860B",darkgray:"#A9A9A9",darkgrey:"#A9A9A9",darkgreen:"#006400",darkkhaki:"#BDB76B",darkmagenta:"#8B008B",darkolivegreen:"#556B2F",darkorange:"#FF8C00",darkorchid:"#9932CC",darkred:"#8B0000",darksalmon:"#E9967A",darkseagreen:"#8FBC8F",darkslateblue:"#483D8B",darkslategray:"#2F4F4F",darkslategrey:"#2F4F4F",darkturquoise:"#00CED1",darkviolet:"#9400D3",deeppink:"#FF1493",deepskyblue:"#00BFFF",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1E90FF",firebrick:"#B22222",floralwhite:"#FFFAF0",forestgreen:"#228B22",fuchsia:"#F0F",gainsboro:"#DCDCDC",ghostwhite:"#F8F8FF",gold:"#FFD700",goldenrod:"#DAA520",gray:"#808080",grey:"#808080",green:"#008000",greenyellow:"#ADFF2F",honeydew:"#F0FFF0",hotpink:"#FF69B4",indianred:"#CD5C5C",indigo:"#4B0082",ivory:"#FFFFF0",khaki:"#F0E68C",lavender:"#E6E6FA",lavenderblush:"#FFF0F5",lawngreen:"#7CFC00",lemonchiffon:"#FFFACD",lightblue:"#ADD8E6",lightcoral:"#F08080",lightcyan:"#E0FFFF",lightgoldenrodyellow:"#FAFAD2",lightgray:"#D3D3D3",lightgrey:"#D3D3D3",lightgreen:"#90EE90",lightpink:"#FFB6C1",lightsalmon:"#FFA07A",lightseagreen:"#20B2AA",lightskyblue:"#87CEFA",lightslategray:"#789",lightslategrey:"#789",lightsteelblue:"#B0C4DE",lightyellow:"#FFFFE0",lime:"#0F0",limegreen:"#32CD32",linen:"#FAF0E6",magenta:"#F0F",maroon:"#800000",mediumaquamarine:"#66CDAA",mediumblue:"#0000CD",mediumorchid:"#BA55D3",mediumpurple:"#9370DB",mediumseagreen:"#3CB371",mediumslateblue:"#7B68EE",mediumspringgreen:"#00FA9A",mediumturquoise:"#48D1CC",mediumvioletred:"#C71585",midnightblue:"#191970",mintcream:"#F5FFFA",mistyrose:"#FFE4E1",moccasin:"#FFE4B5",navajowhite:"#FFDEAD",navy:"#000080",oldlace:"#FDF5E6",olive:"#808000",olivedrab:"#6B8E23",orange:"#FFA500",orangered:"#FF4500",orchid:"#DA70D6",palegoldenrod:"#EEE8AA",palegreen:"#98FB98",paleturquoise:"#AFEEEE",palevioletred:"#DB7093",papayawhip:"#FFEFD5",peachpuff:"#FFDAB9",peru:"#CD853F",pink:"#FFC0CB",plum:"#DDA0DD",powderblue:"#B0E0E6",purple:"#800080",rebeccapurple:"#639",red:"#F00",rosybrown:"#BC8F8F",royalblue:"#4169E1",saddlebrown:"#8B4513",salmon:"#FA8072",sandybrown:"#F4A460",seagreen:"#2E8B57",seashell:"#FFF5EE",sienna:"#A0522D",silver:"#C0C0C0",skyblue:"#87CEEB",slateblue:"#6A5ACD",slategray:"#708090",slategrey:"#708090",snow:"#FFFAFA",springgreen:"#00FF7F",steelblue:"#4682B4",tan:"#D2B48C",teal:"#008080",thistle:"#D8BFD8",tomato:"#FF6347",turquoise:"#40E0D0",violet:"#EE82EE",wheat:"#F5DEB3",white:"#FFF",whitesmoke:"#F5F5F5",yellow:"#FF0",yellowgreen:"#9ACD32"},Ve=(e,t,n)=>(n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e),Ge=(e,t,n,r)=>{e/=255,t/=255,n/=255;const i=Math.max(e,t,n),o=Math.min(e,t,n);let a,s;const l=(i+o)/2;if(i===o)a=s=0;else{const r=i-o;switch(s=l>.5?r/(2-i-o):r/(i+o),i){case e:a=(t-n)/r+(t<n?6:0);break;case t:a=(n-e)/r+2;break;case n:a=(e-t)/r+4}a/=6}return[Math.round(360*a),Math.round(100*s),Math.round(100*l),r]},qe=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"1";return parseFloat(e)/(e.endsWith("%")?100:1)},He=e=>Math.min(Math.round(e),255).toString(16).toUpperCase().padStart(2,"0"),We=e=>{let[t,n,r,i=1]=e;const o=Math.round(.3*t+.59*n+.11*r);return[o,o,o,i]};class Ye{constructor(e){if(r(this,"isUnrecognised",!1),e)if(e instanceof Ye)this.setSource([...e._source]);else if(Array.isArray(e)){const[t,n,r,i=1]=e;this.setSource([t,n,r,i])}else this.setSource(this._tryParsingColor(e));else this.setSource([0,0,0,1])}_tryParsingColor(e){return e in Ue&&(e=Ue[e]),"transparent"===e?[255,255,255,0]:Ye.sourceFromHex(e)||Ye.sourceFromRgb(e)||Ye.sourceFromHsl(e)||(this.isUnrecognised=!0)&&[0,0,0,1]}getSource(){return this._source}setSource(e){this._source=e}toRgb(){const[e,t,n]=this.getSource();return"rgb(".concat(e,",").concat(t,",").concat(n,")")}toRgba(){return"rgba(".concat(this.getSource().join(","),")")}toHsl(){const[e,t,n]=Ge(...this.getSource());return"hsl(".concat(e,",").concat(t,"%,").concat(n,"%)")}toHsla(){const[e,t,n,r]=Ge(...this.getSource());return"hsla(".concat(e,",").concat(t,"%,").concat(n,"%,").concat(r,")")}toHex(){return this.toHexa().slice(0,6)}toHexa(){const[e,t,n,r]=this.getSource();return"".concat(He(e)).concat(He(t)).concat(He(n)).concat(He(Math.round(255*r)))}getAlpha(){return this.getSource()[3]}setAlpha(e){return this._source[3]=e,this}toGrayscale(){return this.setSource(We(this.getSource())),this}toBlackWhite(e){const[t,,,n]=We(this.getSource()),r=t<(e||127)?0:255;return this.setSource([r,r,r,n]),this}overlayWith(e){e instanceof Ye||(e=new Ye(e));const t=this.getSource(),n=e.getSource(),[r,i,o]=t.map(((e,t)=>Math.round(.5*e+.5*n[t])));return this.setSource([r,i,o,t[3]]),this}static fromRgb(e){return Ye.fromRgba(e)}static fromRgba(e){return new Ye(Ye.sourceFromRgb(e))}static sourceFromRgb(e){const t=e.match(/^rgba?\(\s*(\d{0,3}(?:\.\d+)?%?)\s*[\s|,]\s*(\d{0,3}(?:\.\d+)?%?)\s*[\s|,]\s*(\d{0,3}(?:\.\d+)?%?)\s*(?:\s*[,/]\s*(\d{0,3}(?:\.\d+)?%?)\s*)?\)$/i);if(t){const[e,n,r]=t.slice(1,4).map((e=>{const t=parseFloat(e);return e.endsWith("%")?Math.round(2.55*t):t}));return[e,n,r,qe(t[4])]}}static fromHsl(e){return Ye.fromHsla(e)}static fromHsla(e){return new Ye(Ye.sourceFromHsl(e))}static sourceFromHsl(e){const t=e.match(/^hsla?\(\s*([+-]?\d{0,3}(?:\.\d+)?(?:deg|turn|rad)?)\s*[\s|,]\s*(\d{0,3}(?:\.\d+)?%?)\s*[\s|,]\s*(\d{0,3}(?:\.\d+)?%?)\s*(?:\s*[,/]\s*(\d*(?:\.\d+)?%?)\s*)?\)$/i);if(!t)return;const n=(Ye.parseAngletoDegrees(t[1])%360+360)%360/360,r=parseFloat(t[2])/100,i=parseFloat(t[3])/100;let o,a,s;if(0===r)o=a=s=i;else{const e=i<=.5?i*(r+1):i+r-i*r,t=2*i-e;o=Ve(t,e,n+1/3),a=Ve(t,e,n),s=Ve(t,e,n-1/3)}return[Math.round(255*o),Math.round(255*a),Math.round(255*s),qe(t[4])]}static fromHex(e){return new Ye(Ye.sourceFromHex(e))}static sourceFromHex(e){if(e.match(/^#?(([0-9a-f]){3,4}|([0-9a-f]{2}){3,4})$/i)){const t=e.slice(e.indexOf("#")+1);let n;n=t.length<=4?t.split("").map((e=>e+e)):t.match(/.{2}/g);const[r,i,o,a=255]=n.map((e=>parseInt(e,16)));return[r,i,o,a/255]}}static parseAngletoDegrees(e){const t=e.toLowerCase(),n=parseFloat(t);return t.includes("rad")?we(n):t.includes("turn")?360*n:n}}const Ke=(e,t)=>parseFloat(Number(e).toFixed(t)),Je=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:_;const n=/\D{0,2}$/.exec(e),r=parseFloat(e),i=c.DPI;switch(null==n?void 0:n[0]){case"mm":return r*i/25.4;case"cm":return r*i/2.54;case"in":return r*i;case"pt":return r*i/72;case"pc":return r*i/72*12;case"em":return r*t;default:return r}},Xe=e=>{const[t,n]=e.trim().split(" "),[r,i]=(o=t)&&o!==N?[o.slice(1,4),o.slice(5,8)]:o===N?[o,o]:["Mid","Mid"];var o;return{meetOrSlice:n||"meet",alignX:r,alignY:i}},Ze=e=>"matrix("+e.map((e=>Ke(e,c.NUM_FRACTION_DIGITS))).join(" ")+")",$e=function(e,t){let n,r,i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(t)if(t.toLive)n="url(#SVGID_".concat(t.id,")");else{const e=new Ye(t),i=e.getAlpha();n=e.toRgb(),1!==i&&(r=i.toString())}else n="none";return i?"".concat(e,": ").concat(n,"; ").concat(r?"".concat(e,"-opacity: ").concat(r,"; "):""):"".concat(e,'="').concat(n,'" ').concat(r?"".concat(e,'-opacity="').concat(r,'" '):"")},et=e=>!!e&&void 0!==e.toLive,tt=e=>!!e&&"function"==typeof e.toObject,nt=e=>!!e&&void 0!==e.offsetX&&"source"in e,rt=e=>!!e&&"function"==typeof e._renderText,it=e=>!!e&&"multiSelectionStacking"in e;function ot(e){const t=e&&at(e);let n=0,r=0;if(!e||!t)return{left:n,top:r};let i=e;const o=t.documentElement,a=t.body||{scrollLeft:0,scrollTop:0};for(;i&&(i.parentNode||i.host)&&(i=i.parentNode||i.host,i===t?(n=a.scrollLeft||o.scrollLeft||0,r=a.scrollTop||o.scrollTop||0):(n+=i.scrollLeft||0,r+=i.scrollTop||0),1!==i.nodeType||"fixed"!==i.style.position););return{left:n,top:r}}const at=e=>e.ownerDocument||null,st=e=>{var t;return(null===(t=e.ownerDocument)||void 0===t?void 0:t.defaultView)||null},lt=function(e,t,n){let{width:r,height:i}=n,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;e.width=r,e.height=i,o>1&&(e.setAttribute("width",(r*o).toString()),e.setAttribute("height",(i*o).toString()),t.scale(o,o))},ct=(e,t)=>{let{width:n,height:r}=t;n&&(e.style.width="number"==typeof n?"".concat(n,"px"):n),r&&(e.style.height="number"==typeof r?"".concat(r,"px"):r)};function ut(e){return void 0!==e.onselectstart&&(e.onselectstart=()=>!1),e.style.userSelect=N,e}class dt{constructor(e){r(this,"_originalCanvasStyle",void 0),r(this,"lower",void 0);const t=this.createLowerCanvas(e);this.lower={el:t,ctx:t.getContext("2d")}}createLowerCanvas(e){const t=(n=e)&&void 0!==n.getContext?e:e&&y().getElementById(e)||ve();var n;if(t.hasAttribute("data-fabric"))throw new d("Trying to initialize a canvas that has already been initialized. Did you forget to dispose the canvas?");return this._originalCanvasStyle=t.style.cssText,t.setAttribute("data-fabric","main"),t.classList.add("lower-canvas"),t}cleanupDOM(e){let{width:t,height:n}=e;const{el:r}=this.lower;r.classList.remove("lower-canvas"),r.removeAttribute("data-fabric"),r.setAttribute("width","".concat(t)),r.setAttribute("height","".concat(n)),r.style.cssText=this._originalCanvasStyle||"",this._originalCanvasStyle=void 0}setDimensions(e,t){const{el:n,ctx:r}=this.lower;lt(n,r,e,t)}setCSSDimensions(e){ct(this.lower.el,e)}calcOffset(){return function(e){var t;const n=e&&at(e),r={left:0,top:0};if(!n)return r;const i=(null===(t=st(e))||void 0===t?void 0:t.getComputedStyle(e,null))||{};r.left+=parseInt(i.borderLeftWidth,10)||0,r.top+=parseInt(i.borderTopWidth,10)||0,r.left+=parseInt(i.paddingLeft,10)||0,r.top+=parseInt(i.paddingTop,10)||0;let o={left:0,top:0};const a=n.documentElement;void 0!==e.getBoundingClientRect&&(o=e.getBoundingClientRect());const s=ot(e);return{left:o.left+s.left-(a.clientLeft||0)+r.left,top:o.top+s.top-(a.clientTop||0)+r.top}}(this.lower.el)}dispose(){v().dispose(this.lower.el),delete this.lower}}const pt={backgroundVpt:!0,backgroundColor:"",overlayVpt:!0,overlayColor:"",includeDefaultValues:!0,svgViewportTransformation:!0,renderOnAddRemove:!0,skipOffscreen:!0,enableRetinaScaling:!0,imageSmoothingEnabled:!0,controlsAboveOverlay:!1,allowTouchScrolling:!1,viewportTransform:[...I]};class ht extends(de(pe)){get lowerCanvasEl(){var e;return null===(e=this.elements.lower)||void 0===e?void 0:e.el}get contextContainer(){var e;return null===(e=this.elements.lower)||void 0===e?void 0:e.ctx}static getDefaults(){return ht.ownDefaults}constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};super(),Object.assign(this,this.constructor.getDefaults()),this.set(t),this.initElements(e),this._setDimensionsImpl({width:this.width||this.elements.lower.el.width||0,height:this.height||this.elements.lower.el.height||0}),this.skipControlsDrawing=!1,this.viewportTransform=[...this.viewportTransform],this.calcViewportBoundaries()}initElements(e){this.elements=new dt(e)}add(){const e=super.add(...arguments);return arguments.length>0&&this.renderOnAddRemove&&this.requestRenderAll(),e}insertAt(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];const i=super.insertAt(e,...n);return n.length>0&&this.renderOnAddRemove&&this.requestRenderAll(),i}remove(){const e=super.remove(...arguments);return e.length>0&&this.renderOnAddRemove&&this.requestRenderAll(),e}_onObjectAdded(e){e.canvas&&e.canvas!==this&&(u("warn","Canvas is trying to add an object that belongs to a different canvas.\nResulting to default behavior: removing object from previous canvas and adding to new canvas"),e.canvas.remove(e)),e._set("canvas",this),e.setCoords(),this.fire("object:added",{target:e}),e.fire("added",{target:this})}_onObjectRemoved(e){e._set("canvas",void 0),this.fire("object:removed",{target:e}),e.fire("removed",{target:this})}_onStackOrderChanged(){this.renderOnAddRemove&&this.requestRenderAll()}getRetinaScaling(){return this.enableRetinaScaling?b():1}calcOffset(){return this._offset=this.elements.calcOffset()}getWidth(){return this.width}getHeight(){return this.height}setWidth(e,t){return this.setDimensions({width:e},t)}setHeight(e,t){return this.setDimensions({height:e},t)}_setDimensionsImpl(e){let{cssOnly:t=!1,backstoreOnly:n=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!t){const t=o({width:this.width,height:this.height},e);this.elements.setDimensions(t,this.getRetinaScaling()),this.hasLostContext=!0,this.width=t.width,this.height=t.height}n||this.elements.setCSSDimensions(e),this.calcOffset()}setDimensions(e,t){this._setDimensionsImpl(e,t),t&&t.cssOnly||this.requestRenderAll()}getZoom(){return this.viewportTransform[0]}setViewportTransform(e){this.viewportTransform=e,this.calcViewportBoundaries(),this.renderOnAddRemove&&this.requestRenderAll()}zoomToPoint(e,t){const n=e,r=[...this.viewportTransform],i=Ce(e,Se(r));r[0]=t,r[3]=t;const o=Ce(i,r);r[4]+=n.x-o.x,r[5]+=n.y-o.y,this.setViewportTransform(r)}setZoom(e){this.zoomToPoint(new le(0,0),e)}absolutePan(e){const t=[...this.viewportTransform];return t[4]=-e.x,t[5]=-e.y,this.setViewportTransform(t)}relativePan(e){return this.absolutePan(new le(-e.x-this.viewportTransform[4],-e.y-this.viewportTransform[5]))}getElement(){return this.elements.lower.el}clearContext(e){e.clearRect(0,0,this.width,this.height)}getContext(){return this.elements.lower.ctx}clear(){this.remove(...this.getObjects()),this.backgroundImage=void 0,this.overlayImage=void 0,this.backgroundColor="",this.overlayColor="",this.clearContext(this.getContext()),this.fire("canvas:cleared"),this.renderOnAddRemove&&this.requestRenderAll()}renderAll(){this.cancelRequestedRender(),this.destroyed||this.renderCanvas(this.getContext(),this._objects)}renderAndReset(){this.nextRenderHandle=0,this.renderAll()}requestRenderAll(){this.nextRenderHandle||this.disposed||this.destroyed||(this.nextRenderHandle=he((()=>this.renderAndReset())))}calcViewportBoundaries(){const e=this.width,t=this.height,n=Se(this.viewportTransform),r=Ce({x:0,y:0},n),i=Ce({x:e,y:t},n),o=r.min(i),a=r.max(i);return this.vptCoords={tl:o,tr:new le(a.x,o.y),bl:new le(o.x,a.y),br:a}}cancelRequestedRender(){this.nextRenderHandle&&(fe(this.nextRenderHandle),this.nextRenderHandle=0)}drawControls(e){}renderCanvas(e,t){if(this.destroyed)return;const n=this.viewportTransform,r=this.clipPath;this.calcViewportBoundaries(),this.clearContext(e),e.imageSmoothingEnabled=this.imageSmoothingEnabled,e.patternQuality="best",this.fire("before:render",{ctx:e}),this._renderBackground(e),e.save(),e.transform(n[0],n[1],n[2],n[3],n[4],n[5]),this._renderObjects(e,t),e.restore(),this.controlsAboveOverlay||this.skipControlsDrawing||this.drawControls(e),r&&(r._set("canvas",this),r.shouldCache(),r._transformDone=!0,r.renderCache({forClipping:!0}),this.drawClipPathOnCanvas(e,r)),this._renderOverlay(e),this.controlsAboveOverlay&&!this.skipControlsDrawing&&this.drawControls(e),this.fire("after:render",{ctx:e}),this.__cleanupTask&&(this.__cleanupTask(),this.__cleanupTask=void 0)}drawClipPathOnCanvas(e,t){const n=this.viewportTransform;e.save(),e.transform(...n),e.globalCompositeOperation="destination-in",t.transform(e),e.scale(1/t.zoomX,1/t.zoomY),e.drawImage(t._cacheCanvas,-t.cacheTranslationX,-t.cacheTranslationY),e.restore()}_renderObjects(e,t){for(let n=0,r=t.length;n<r;++n)t[n]&&t[n].render(e)}_renderBackgroundOrOverlay(e,t){const n=this["".concat(t,"Color")],r=this["".concat(t,"Image")],i=this.viewportTransform,o=this["".concat(t,"Vpt")];if(!n&&!r)return;const a=et(n);if(n){if(e.save(),e.beginPath(),e.moveTo(0,0),e.lineTo(this.width,0),e.lineTo(this.width,this.height),e.lineTo(0,this.height),e.closePath(),e.fillStyle=a?n.toLive(e):n,o&&e.transform(...i),a){e.transform(1,0,0,1,n.offsetX||0,n.offsetY||0);const t=n.gradientTransform||n.patternTransform;t&&e.transform(...t)}e.fill(),e.restore()}if(r){e.save();const{skipOffscreen:t}=this;this.skipOffscreen=o,o&&e.transform(...i),r.render(e),this.skipOffscreen=t,e.restore()}}_renderBackground(e){this._renderBackgroundOrOverlay(e,"background")}_renderOverlay(e){this._renderBackgroundOrOverlay(e,"overlay")}getCenter(){return{top:this.height/2,left:this.width/2}}getCenterPoint(){return new le(this.width/2,this.height/2)}centerObjectH(e){return this._centerObject(e,new le(this.getCenterPoint().x,e.getCenterPoint().y))}centerObjectV(e){return this._centerObject(e,new le(e.getCenterPoint().x,this.getCenterPoint().y))}centerObject(e){return this._centerObject(e,this.getCenterPoint())}viewportCenterObject(e){return this._centerObject(e,this.getVpCenter())}viewportCenterObjectH(e){return this._centerObject(e,new le(this.getVpCenter().x,e.getCenterPoint().y))}viewportCenterObjectV(e){return this._centerObject(e,new le(e.getCenterPoint().x,this.getVpCenter().y))}getVpCenter(){return Ce(this.getCenterPoint(),Se(this.viewportTransform))}_centerObject(e,t){e.setXY(t,O,O),e.setCoords(),this.renderOnAddRemove&&this.requestRenderAll()}toDatalessJSON(e){return this.toDatalessObject(e)}toObject(e){return this._toObjectMethod("toObject",e)}toJSON(){return this.toObject()}toDatalessObject(e){return this._toObjectMethod("toDatalessObject",e)}_toObjectMethod(e,t){const n=this.clipPath,r=n&&!n.excludeFromExport?this._toObject(n,e,t):null;return o(o(o({version:x},ze(this,t)),{},{objects:this._objects.filter((e=>!e.excludeFromExport)).map((n=>this._toObject(n,e,t)))},this.__serializeBgOverlay(e,t)),r?{clipPath:r}:null)}_toObject(e,t,n){let r;this.includeDefaultValues||(r=e.includeDefaultValues,e.includeDefaultValues=!1);const i=e[t](n);return this.includeDefaultValues||(e.includeDefaultValues=!!r),i}__serializeBgOverlay(e,t){const n={},r=this.backgroundImage,i=this.overlayImage,o=this.backgroundColor,a=this.overlayColor;return et(o)?o.excludeFromExport||(n.background=o.toObject(t)):o&&(n.background=o),et(a)?a.excludeFromExport||(n.overlay=a.toObject(t)):a&&(n.overlay=a),r&&!r.excludeFromExport&&(n.backgroundImage=this._toObject(r,e,t)),i&&!i.excludeFromExport&&(n.overlayImage=this._toObject(i,e,t)),n}toSVG(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;e.reviver=t;const n=[];return this._setSVGPreamble(n,e),this._setSVGHeader(n,e),this.clipPath&&n.push('<g clip-path="url(#'.concat(this.clipPath.clipPathId,')" >\n')),this._setSVGBgOverlayColor(n,"background"),this._setSVGBgOverlayImage(n,"backgroundImage",t),this._setSVGObjects(n,t),this.clipPath&&n.push("</g>\n"),this._setSVGBgOverlayColor(n,"overlay"),this._setSVGBgOverlayImage(n,"overlayImage",t),n.push("</svg>"),n.join("")}_setSVGPreamble(e,t){t.suppressPreamble||e.push('<?xml version="1.0" encoding="',t.encoding||"UTF-8",'" standalone="no" ?>\n','<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" ','"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">\n')}_setSVGHeader(e,t){const n=t.width||"".concat(this.width),r=t.height||"".concat(this.height),i=c.NUM_FRACTION_DIGITS,o=t.viewBox;let a;if(o)a='viewBox="'.concat(o.x," ").concat(o.y," ").concat(o.width," ").concat(o.height,'" ');else if(this.svgViewportTransformation){const e=this.viewportTransform;a='viewBox="'.concat(Ke(-e[4]/e[0],i)," ").concat(Ke(-e[5]/e[3],i)," ").concat(Ke(this.width/e[0],i)," ").concat(Ke(this.height/e[3],i),'" ')}else a='viewBox="0 0 '.concat(this.width," ").concat(this.height,'" ');e.push("<svg ",'xmlns="http://www.w3.org/2000/svg" ','xmlns:xlink="http://www.w3.org/1999/xlink" ','version="1.1" ','width="',n,'" ','height="',r,'" ',a,'xml:space="preserve">\n',"<desc>Created with Fabric.js ",x,"</desc>\n","<defs>\n",this.createSVGFontFacesMarkup(),this.createSVGRefElementsMarkup(),this.createSVGClipPathMarkup(t),"</defs>\n")}createSVGClipPathMarkup(e){const t=this.clipPath;return t?(t.clipPathId="CLIPPATH_".concat(ge()),'<clipPath id="'.concat(t.clipPathId,'" >\n').concat(t.toClipPathSVG(e.reviver),"</clipPath>\n")):""}createSVGRefElementsMarkup(){return["background","overlay"].map((e=>{const t=this["".concat(e,"Color")];if(et(t)){const n=this["".concat(e,"Vpt")],r=this.viewportTransform,i={isType:()=>!1,width:this.width/(n?r[0]:1),height:this.height/(n?r[3]:1)};return t.toSVG(i,{additionalTransform:n?Ze(r):""})}})).join("")}createSVGFontFacesMarkup(){const e=[],t={},n=c.fontPaths;this._objects.forEach((function t(n){e.push(n),ue(n)&&n._objects.forEach(t)})),e.forEach((e=>{if(!rt(e))return;const{styles:r,fontFamily:i}=e;!t[i]&&n[i]&&(t[i]=!0,r&&Object.values(r).forEach((e=>{Object.values(e).forEach((e=>{let{fontFamily:r=""}=e;!t[r]&&n[r]&&(t[r]=!0)}))})))}));const r=Object.keys(t).map((e=>"\t\t@font-face {\n\t\t\tfont-family: '".concat(e,"';\n\t\t\tsrc: url('").concat(n[e],"');\n\t\t}\n"))).join("");return r?'\t<style type="text/css"><![CDATA[\n'.concat(r,"]]></style>\n"):""}_setSVGObjects(e,t){this.forEachObject((n=>{n.excludeFromExport||this._setSVGObject(e,n,t)}))}_setSVGObject(e,t,n){e.push(t.toSVG(n))}_setSVGBgOverlayImage(e,t,n){const r=this[t];r&&!r.excludeFromExport&&r.toSVG&&e.push(r.toSVG(n))}_setSVGBgOverlayColor(e,t){const n=this["".concat(t,"Color")];if(n)if(et(n)){const r=n.repeat||"",i=this.width,o=this.height,a=this["".concat(t,"Vpt")]?Ze(Se(this.viewportTransform)):"";e.push('<rect transform="'.concat(a," translate(").concat(i/2,",").concat(o/2,')" x="').concat(n.offsetX-i/2,'" y="').concat(n.offsetY-o/2,'" width="').concat("repeat-y"!==r&&"no-repeat"!==r||!nt(n)?i:n.source.width,'" height="').concat("repeat-x"!==r&&"no-repeat"!==r||!nt(n)?o:n.source.height,'" fill="url(#SVGID_').concat(n.id,')"></rect>\n'))}else e.push('<rect x="0" y="0" width="100%" height="100%" ','fill="',n,'"',"></rect>\n")}loadFromJSON(e,t){let{signal:n}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!e)return Promise.reject(new d("`json` is undefined"));const r="string"==typeof e?JSON.parse(e):e,{objects:i=[],backgroundImage:o,background:a,overlayImage:s,overlay:l,clipPath:c}=r,u=this.renderOnAddRemove;return this.renderOnAddRemove=!1,Promise.all([Le(i,{reviver:t,signal:n}),Fe({backgroundImage:o,backgroundColor:a,overlayImage:s,overlayColor:l,clipPath:c},{signal:n})]).then((e=>{let[t,n]=e;return this.clear(),this.add(...t),this.set(r),this.set(n),this.renderOnAddRemove=u,this}))}clone(e){const t=this.toObject(e);return this.cloneWithoutData().loadFromJSON(t)}cloneWithoutData(){const e=ve();return e.width=this.width,e.height=this.height,new this.constructor(e)}toDataURL(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{format:t="png",quality:n=1,multiplier:r=1,enableRetinaScaling:i=!1}=e,o=r*(i?this.getRetinaScaling():1);return Ae(this.toCanvasElement(o,e),t,n)}toCanvasElement(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,{width:t,height:n,left:r,top:i,filter:o}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const a=(t||this.width)*e,s=(n||this.height)*e,l=this.getZoom(),c=this.width,u=this.height,d=this.skipControlsDrawing,p=l*e,h=this.viewportTransform,f=[p,0,0,p,(h[4]-(r||0))*e,(h[5]-(i||0))*e],m=this.enableRetinaScaling,g=ve(),v=o?this._objects.filter((e=>o(e))):this._objects;return g.width=a,g.height=s,this.enableRetinaScaling=!1,this.viewportTransform=f,this.width=a,this.height=s,this.skipControlsDrawing=!0,this.calcViewportBoundaries(),this.renderCanvas(g.getContext("2d"),v),this.viewportTransform=h,this.width=c,this.height=u,this.calcViewportBoundaries(),this.enableRetinaScaling=m,this.skipControlsDrawing=d,g}dispose(){return!this.disposed&&this.elements.cleanupDOM({width:this.width,height:this.height}),re.cancelByCanvas(this),this.disposed=!0,new Promise(((e,t)=>{const n=()=>{this.destroy(),e(!0)};n.kill=t,this.__cleanupTask&&this.__cleanupTask.kill("aborted"),this.destroyed?e(!1):this.nextRenderHandle?this.__cleanupTask=n:n()}))}destroy(){this.destroyed=!0,this.cancelRequestedRender(),this.forEachObject((e=>e.dispose())),this._objects=[],this.backgroundImage&&this.backgroundImage.dispose(),this.backgroundImage=void 0,this.overlayImage&&this.overlayImage.dispose(),this.overlayImage=void 0,this.elements.dispose()}toString(){return"#<Canvas (".concat(this.complexity(),"): { objects: ").concat(this._objects.length," }>")}}r(ht,"ownDefaults",pt);const ft=["touchstart","touchmove","touchend"],mt=e=>{const t=ot(e.target),n=function(e){const t=e.changedTouches;return t&&t[0]?t[0]:e}(e);return new le(n.clientX+t.left,n.clientY+t.top)},gt=e=>ft.includes(e.type)||"touch"===e.pointerType,vt=e=>{e.preventDefault(),e.stopPropagation()},yt=e=>{let t=0,n=0,r=0,i=0;for(let o=0,a=e.length;o<a;o++){const{x:a,y:s}=e[o];(a>r||!o)&&(r=a),(a<t||!o)&&(t=a),(s>i||!o)&&(i=s),(s<n||!o)&&(n=s)}return{left:t,top:n,width:r-t,height:i-n}},At=["translateX","translateY","scaleX","scaleY"],bt=(e,t)=>wt(e,ke(t,e.calcOwnMatrix())),wt=(e,t)=>{const n=_e(t),{translateX:r,translateY:i,scaleX:o,scaleY:s}=n,l=a(n,At),c=new le(r,i);e.flipX=!1,e.flipY=!1,Object.assign(e,l),e.set({scaleX:o,scaleY:s}),e.setPositionByOrigin(c,O,O)},xt=e=>{e.scaleX=1,e.scaleY=1,e.skewX=0,e.skewY=0,e.flipX=!1,e.flipY=!1,e.rotate(0)},Ct=e=>({scaleX:e.scaleX,scaleY:e.scaleY,skewX:e.skewX,skewY:e.skewY,angle:e.angle,left:e.left,flipX:e.flipX,flipY:e.flipY,top:e.top}),St=(e,t,n)=>{const r=e/2,i=t/2,o=[new le(-r,-i),new le(r,-i),new le(-r,i),new le(r,i)].map((e=>e.transform(n))),a=yt(o);return new le(a.width,a.height)},kt=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:I;return ke(Se(arguments.length>1&&void 0!==arguments[1]?arguments[1]:I),e)},Et=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:I,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:I;return e.transform(kt(t,n))},It=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:I,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:I;return e.transform(kt(t,n),!0)},_t=(e,t,n)=>{const r=kt(t,n);return wt(e,ke(r,e.calcOwnMatrix())),r},Pt=(e,t)=>{var n;const{transform:{target:r}}=t;null===(n=r.canvas)||void 0===n||n.fire("object:".concat(e),o(o({},t),{},{target:r})),r.fire(e,t)},Ot={left:-.5,top:-.5,center:0,bottom:.5,right:.5},Tt=e=>"string"==typeof e?Ot[e]:e-.5,Dt="not-allowed";function jt(e){return Tt(e.originX)===Tt(O)&&Tt(e.originY)===Tt(O)}function Bt(e){return.5-Tt(e)}const Nt=(e,t)=>e[t],Mt=(e,t,n,r)=>({e:e,transform:t,pointer:new le(n,r)});function Rt(e,t){const n=e.getTotalAngle()+we(Math.atan2(t.y,t.x))+360;return Math.round(n%360/45)}function Lt(e,t,n,r,i){var o;let{target:a,corner:s}=e;const l=a.controls[s],c=(null===(o=a.canvas)||void 0===o?void 0:o.getZoom())||1,u=a.padding/c,d=function(e,t,n,r){const i=e.getRelativeCenterPoint(),o=void 0!==n&&void 0!==r?e.translateToGivenOrigin(i,O,O,n,r):new le(e.left,e.top);return(e.angle?t.rotate(-be(e.angle),i):t).subtract(o)}(a,new le(r,i),t,n);return d.x>=u&&(d.x-=u),d.x<=-u&&(d.x+=u),d.y>=u&&(d.y-=u),d.y<=u&&(d.y+=u),d.x-=l.offsetX,d.y-=l.offsetY,d}const Ft=(e,t,n,r)=>{const{target:i,offsetX:o,offsetY:a}=t,s=n-o,l=r-a,c=!Nt(i,"lockMovementX")&&i.left!==s,u=!Nt(i,"lockMovementY")&&i.top!==l;return c&&i.set(T,s),u&&i.set(D,l),(c||u)&&Pt(R,Mt(e,t,n,r)),c||u};class zt{getSvgStyles(e){const t=this.fillRule?this.fillRule:"nonzero",n=this.strokeWidth?this.strokeWidth:"0",r=this.strokeDashArray?this.strokeDashArray.join(" "):N,i=this.strokeDashOffset?this.strokeDashOffset:"0",o=this.strokeLineCap?this.strokeLineCap:"butt",a=this.strokeLineJoin?this.strokeLineJoin:"miter",s=this.strokeMiterLimit?this.strokeMiterLimit:"4",l=void 0!==this.opacity?this.opacity:"1",c=this.visible?"":" visibility: hidden;",u=e?"":this.getSvgFilter(),d=$e(X,this.fill);return[$e(Z,this.stroke),"stroke-width: ",n,"; ","stroke-dasharray: ",r,"; ","stroke-linecap: ",o,"; ","stroke-dashoffset: ",i,"; ","stroke-linejoin: ",a,"; ","stroke-miterlimit: ",s,"; ",d,"fill-rule: ",t,"; ","opacity: ",l,";",u,c].join("")}getSvgFilter(){return this.shadow?"filter: url(#SVGID_".concat(this.shadow.id,");"):""}getSvgCommons(){return[this.id?'id="'.concat(this.id,'" '):"",this.clipPath?'clip-path="url(#'.concat(this.clipPath.clipPathId,')" '):""].join("")}getSvgTransform(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const n=e?this.calcTransformMatrix():this.calcOwnMatrix(),r='transform="'.concat(Ze(n));return"".concat(r).concat(t,'" ')}_toSVG(e){return[""]}toSVG(e){return this._createBaseSVGMarkup(this._toSVG(e),{reviver:e})}toClipPathSVG(e){return"\t"+this._createBaseClipPathSVGMarkup(this._toSVG(e),{reviver:e})}_createBaseClipPathSVGMarkup(e){let{reviver:t,additionalTransform:n=""}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=[this.getSvgTransform(!0,n),this.getSvgCommons()].join(""),i=e.indexOf("COMMON_PARTS");return e[i]=r,t?t(e.join("")):e.join("")}_createBaseSVGMarkup(e){let{noStyle:t,reviver:n,withShadow:r,additionalTransform:i}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const o=t?"":'style="'.concat(this.getSvgStyles(),'" '),a=r?'style="'.concat(this.getSvgFilter(),'" '):"",s=this.clipPath,l=this.strokeUniform?'vector-effect="non-scaling-stroke" ':"",c=s&&s.absolutePositioned,u=this.stroke,d=this.fill,p=this.shadow,h=[],f=e.indexOf("COMMON_PARTS");let m;s&&(s.clipPathId="CLIPPATH_".concat(ge()),m='<clipPath id="'.concat(s.clipPathId,'" >\n').concat(s.toClipPathSVG(n),"</clipPath>\n")),c&&h.push("<g ",a,this.getSvgCommons()," >\n"),h.push("<g ",this.getSvgTransform(!1),c?"":a+this.getSvgCommons()," >\n");const g=[o,l,t?"":this.addPaintOrder()," ",i?'transform="'.concat(i,'" '):""].join("");return e[f]=g,et(d)&&h.push(d.toSVG(this)),et(u)&&h.push(u.toSVG(this)),p&&h.push(p.toSVG(this)),s&&h.push(m),h.push(e.join("")),h.push("</g>\n"),c&&h.push("</g>\n"),n?n(h.join("")):h.join("")}addPaintOrder(){return this.paintFirst!==X?' paint-order="'.concat(this.paintFirst,'" '):""}}function Qt(e){return new RegExp("^("+e.join("|")+")\\b","i")}var Ut;const Vt=String.raw(Ut||(Ut=s(["(?:[-+]?(?:d*.d+|d+.?)(?:[eE][-+]?d+)?)"],["(?:[-+]?(?:\\d*\\.\\d+|\\d+\\.?)(?:[eE][-+]?\\d+)?)"]))),Gt=new RegExp("(normal|italic)?\\s*(normal|small-caps)?\\s*(normal|bold|bolder|lighter|100|200|300|400|500|600|700|800|900)?\\s*("+Vt+"(?:px|cm|mm|em|pt|pc|in)*)(?:\\/(normal|"+Vt+"))?\\s+(.*)"),qt={cx:T,x:T,r:"radius",cy:D,y:D,display:"visible",visibility:"visible",transform:"transformMatrix","fill-opacity":"fillOpacity","fill-rule":"fillRule","font-family":"fontFamily","font-size":"fontSize","font-style":"fontStyle","font-weight":"fontWeight","letter-spacing":"charSpacing","paint-order":"paintFirst","stroke-dasharray":"strokeDashArray","stroke-dashoffset":"strokeDashOffset","stroke-linecap":"strokeLineCap","stroke-linejoin":"strokeLineJoin","stroke-miterlimit":"strokeMiterLimit","stroke-opacity":"strokeOpacity","stroke-width":"strokeWidth","text-decoration":"textDecoration","text-anchor":"textAnchor",opacity:"opacity","clip-path":"clipPath","clip-rule":"clipRule","vector-effect":"strokeUniform","image-rendering":"imageSmoothing"},Ht="font-size",Wt="clip-path",Yt=(Qt(["path","circle","polygon","polyline","ellipse","rect","line","image","text"]),Qt(["symbol","image","marker","pattern","view","svg"]),Qt(["symbol","g","a","svg","clipPath","defs"])),Kt=(new RegExp("^\\s*("+Vt+"+)\\s*,?\\s*("+Vt+"+)\\s*,?\\s*("+Vt+"+)\\s*,?\\s*("+Vt+"+)\\s*$"),new le(1,0)),Jt=new le,Xt=(e,t)=>e.rotate(t),Zt=(e,t)=>new le(t).subtract(e),$t=e=>e.distanceFrom(Jt),en=(e,t)=>Math.atan2(on(e,t),an(e,t)),tn=e=>en(Kt,e),nn=e=>e.eq(Jt)?e:e.scalarDivide($t(e)),rn=function(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return nn(new le(-e.y,e.x).scalarMultiply(t?1:-1))},on=(e,t)=>e.x*t.y-e.y*t.x,an=(e,t)=>e.x*t.x+e.y*t.y,sn=(e,t,n)=>{if(e.eq(t)||e.eq(n))return!0;const r=on(t,n),i=on(t,e),o=on(n,e);return r>=0?i>=0&&o<=0:!(i<=0&&o>=0)},ln="(-?\\d+(?:\\.\\d*)?(?:px)?(?:\\s?|$))?",cn=new RegExp("(?:\\s|^)"+ln+ln+"("+Vt+"?(?:px)?)?(?:\\s?|$)(?:$|\\s)");class un{constructor(e){const t="string"==typeof e?un.parseShadow(e):e;Object.assign(this,un.ownDefaults,t),this.id=ge()}static parseShadow(e){const t=e.trim(),[,n=0,r=0,i=0]=(cn.exec(t)||[]).map((e=>parseFloat(e)||0));return{color:(t.replace(cn,"")||"rgb(0,0,0)").trim(),offsetX:n,offsetY:r,blur:i}}toString(){return[this.offsetX,this.offsetY,this.blur,this.color].join("px ")}toSVG(e){const t=Xt(new le(this.offsetX,this.offsetY),be(-e.angle)),n=new Ye(this.color);let r=40,i=40;return e.width&&e.height&&(r=100*Ke((Math.abs(t.x)+this.blur)/e.width,c.NUM_FRACTION_DIGITS)+20,i=100*Ke((Math.abs(t.y)+this.blur)/e.height,c.NUM_FRACTION_DIGITS)+20),e.flipX&&(t.x*=-1),e.flipY&&(t.y*=-1),'<filter id="SVGID_'.concat(this.id,'" y="-').concat(i,'%" height="').concat(100+2*i,'%" x="-').concat(r,'%" width="').concat(100+2*r,'%" >\n\t<feGaussianBlur in="SourceAlpha" stdDeviation="').concat(Ke(this.blur?this.blur/2:0,c.NUM_FRACTION_DIGITS),'"></feGaussianBlur>\n\t<feOffset dx="').concat(Ke(t.x,c.NUM_FRACTION_DIGITS),'" dy="').concat(Ke(t.y,c.NUM_FRACTION_DIGITS),'" result="oBlur" ></feOffset>\n\t<feFlood flood-color="').concat(n.toRgb(),'" flood-opacity="').concat(n.getAlpha(),'"/>\n\t<feComposite in2="oBlur" operator="in" />\n\t<feMerge>\n\t\t<feMergeNode></feMergeNode>\n\t\t<feMergeNode in="SourceGraphic"></feMergeNode>\n\t</feMerge>\n</filter>\n')}toObject(){const e={color:this.color,blur:this.blur,offsetX:this.offsetX,offsetY:this.offsetY,affectStroke:this.affectStroke,nonScaling:this.nonScaling,type:this.constructor.type},t=un.ownDefaults;return this.includeDefaultValues?e:Qe(e,((e,n)=>e!==t[n]))}static async fromObject(e){return new this(e)}}r(un,"ownDefaults",{color:"rgb(0,0,0)",blur:0,offsetX:0,offsetY:0,affectStroke:!1,includeDefaultValues:!0,nonScaling:!1}),r(un,"type","shadow"),ne.setClass(un,"shadow");const dn=(e,t,n)=>Math.max(e,Math.min(t,n)),pn=[D,T,W,Y,"flipX","flipY","originX","originY","angle","opacity","globalCompositeOperation","shadow","visible",K,J],hn=[X,Z,"strokeWidth","strokeDashArray","width","height","paintFirst","strokeUniform","strokeLineCap","strokeDashOffset","strokeLineJoin","strokeMiterLimit","backgroundColor","clipPath"],fn={top:0,left:0,width:0,height:0,angle:0,flipX:!1,flipY:!1,scaleX:1,scaleY:1,minScaleLimit:0,skewX:0,skewY:0,originX:T,originY:D,strokeWidth:1,strokeUniform:!1,padding:0,opacity:1,paintFirst:X,fill:"rgb(0,0,0)",fillRule:"nonzero",stroke:null,strokeDashArray:null,strokeDashOffset:0,strokeLineCap:"butt",strokeLineJoin:"miter",strokeMiterLimit:4,globalCompositeOperation:"source-over",backgroundColor:"",shadow:null,visible:!0,includeDefaultValues:!0,excludeFromExport:!1,objectCaching:!0,clipPath:void 0,inverted:!1,absolutePositioned:!1,centeredRotation:!0,centeredScaling:!1,dirty:!0},mn=(e,t,n,r)=>(e<Math.abs(t)?(e=t,r=n/4):r=0===t&&0===e?n/k*Math.asin(1):n/k*Math.asin(t/e),{a:e,c:t,p:n,s:r}),gn=(e,t,n,r,i)=>e*Math.pow(2,10*(r-=1))*Math.sin((r*i-t)*k/n),vn=(e,t,n,r)=>-n*Math.cos(e/r*S)+n+t,yn=(e,t,n,r)=>(e/=r)<1/2.75?n*(7.5625*e*e)+t:e<2/2.75?n*(7.5625*(e-=1.5/2.75)*e+.75)+t:e<2.5/2.75?n*(7.5625*(e-=2.25/2.75)*e+.9375)+t:n*(7.5625*(e-=2.625/2.75)*e+.984375)+t,An=(e,t,n,r)=>n-yn(r-e,0,n,r)+t;var bn=Object.freeze({__proto__:null,defaultEasing:vn,easeInBack:function(e,t,n,r){let i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1.70158;return n*(e/=r)*e*((i+1)*e-i)+t},easeInBounce:An,easeInCirc:(e,t,n,r)=>-n*(Math.sqrt(1-(e/=r)*e)-1)+t,easeInCubic:(e,t,n,r)=>n*(e/r)**3+t,easeInElastic:(e,t,n,r)=>{const i=n;let o=0;if(0===e)return t;if(1===(e/=r))return t+n;o||(o=.3*r);const{a:a,s:s,p:l}=mn(i,n,o,1.70158);return-gn(a,s,l,e,r)+t},easeInExpo:(e,t,n,r)=>0===e?t:n*2**(10*(e/r-1))+t,easeInOutBack:function(e,t,n,r){let i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1.70158;return(e/=r/2)<1?n/2*(e*e*((1+(i*=1.525))*e-i))+t:n/2*((e-=2)*e*((1+(i*=1.525))*e+i)+2)+t},easeInOutBounce:(e,t,n,r)=>e<r/2?.5*An(2*e,0,n,r)+t:.5*yn(2*e-r,0,n,r)+.5*n+t,easeInOutCirc:(e,t,n,r)=>(e/=r/2)<1?-n/2*(Math.sqrt(1-e**2)-1)+t:n/2*(Math.sqrt(1-(e-=2)*e)+1)+t,easeInOutCubic:(e,t,n,r)=>(e/=r/2)<1?n/2*e**3+t:n/2*((e-2)**3+2)+t,easeInOutElastic:(e,t,n,r)=>{const i=n;let o=0;if(0===e)return t;if(2===(e/=r/2))return t+n;o||(o=r*(.3*1.5));const{a:a,s:s,p:l,c:c}=mn(i,n,o,1.70158);return e<1?-.5*gn(a,s,l,e,r)+t:a*Math.pow(2,-10*(e-=1))*Math.sin((e*r-s)*k/l)*.5+c+t},easeInOutExpo:(e,t,n,r)=>0===e?t:e===r?t+n:(e/=r/2)<1?n/2*2**(10*(e-1))+t:n/2*-(2**(-10*--e)+2)+t,easeInOutQuad:(e,t,n,r)=>(e/=r/2)<1?n/2*e**2+t:-n/2*(--e*(e-2)-1)+t,easeInOutQuart:(e,t,n,r)=>(e/=r/2)<1?n/2*e**4+t:-n/2*((e-=2)*e**3-2)+t,easeInOutQuint:(e,t,n,r)=>(e/=r/2)<1?n/2*e**5+t:n/2*((e-2)**5+2)+t,easeInOutSine:(e,t,n,r)=>-n/2*(Math.cos(Math.PI*e/r)-1)+t,easeInQuad:(e,t,n,r)=>n*(e/=r)*e+t,easeInQuart:(e,t,n,r)=>n*(e/=r)*e**3+t,easeInQuint:(e,t,n,r)=>n*(e/r)**5+t,easeInSine:(e,t,n,r)=>-n*Math.cos(e/r*S)+n+t,easeOutBack:function(e,t,n,r){let i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1.70158;return n*((e=e/r-1)*e*((i+1)*e+i)+1)+t},easeOutBounce:yn,easeOutCirc:(e,t,n,r)=>n*Math.sqrt(1-(e=e/r-1)*e)+t,easeOutCubic:(e,t,n,r)=>n*((e/r-1)**3+1)+t,easeOutElastic:(e,t,n,r)=>{const i=n;let o=0;if(0===e)return t;if(1===(e/=r))return t+n;o||(o=.3*r);const{a:a,s:s,p:l,c:c}=mn(i,n,o,1.70158);return a*2**(-10*e)*Math.sin((e*r-s)*k/l)+c+t},easeOutExpo:(e,t,n,r)=>e===r?t+n:n*-(2**(-10*e/r)+1)+t,easeOutQuad:(e,t,n,r)=>-n*(e/=r)*(e-2)+t,easeOutQuart:(e,t,n,r)=>-n*((e=e/r-1)*e**3-1)+t,easeOutQuint:(e,t,n,r)=>n*((e/r-1)**5+1)+t,easeOutSine:(e,t,n,r)=>n*Math.sin(e/r*S)+t});const wn=()=>!1;class xn{constructor(e){let{startValue:t,byValue:n,duration:i=500,delay:o=0,easing:a=vn,onStart:s=C,onChange:l=C,onComplete:c=C,abort:u=wn,target:d}=e;r(this,"_state","pending"),r(this,"durationProgress",0),r(this,"valueProgress",0),this.tick=this.tick.bind(this),this.duration=i,this.delay=o,this.easing=a,this._onStart=s,this._onChange=l,this._onComplete=c,this._abort=u,this.target=d,this.startValue=t,this.byValue=n,this.value=this.startValue,this.endValue=Object.freeze(this.calculate(this.duration).value)}get state(){return this._state}isDone(){return"aborted"===this._state||"completed"===this._state}start(){const e=e=>{"pending"===this._state&&(this.startTime=e||+new Date,this._state="running",this._onStart(),this.tick(this.startTime))};this.register(),this.delay>0?setTimeout((()=>he(e)),this.delay):he(e)}tick(e){const t=(e||+new Date)-this.startTime,n=Math.min(t,this.duration);this.durationProgress=n/this.duration;const{value:r,valueProgress:i}=this.calculate(n);this.value=Object.freeze(r),this.valueProgress=i,"aborted"!==this._state&&(this._abort(this.value,this.valueProgress,this.durationProgress)?(this._state="aborted",this.unregister()):t>=this.duration?(this.durationProgress=this.valueProgress=1,this._onChange(this.endValue,this.valueProgress,this.durationProgress),this._state="completed",this._onComplete(this.endValue,this.valueProgress,this.durationProgress),this.unregister()):(this._onChange(this.value,this.valueProgress,this.durationProgress),he(this.tick)))}register(){re.push(this)}unregister(){re.remove(this)}abort(){this._state="aborted",this.unregister()}}const Cn=["startValue","endValue"];class Sn extends xn{constructor(e){let{startValue:t=0,endValue:n=100}=e;super(o(o({},a(e,Cn)),{},{startValue:t,byValue:n-t}))}calculate(e){const t=this.easing(e,this.startValue,this.byValue,this.duration);return{value:t,valueProgress:Math.abs((t-this.startValue)/this.byValue)}}}const kn=["startValue","endValue"];class En extends xn{constructor(e){let{startValue:t=[0],endValue:n=[100]}=e;super(o(o({},a(e,kn)),{},{startValue:t,byValue:n.map(((e,n)=>e-t[n]))}))}calculate(e){const t=this.startValue.map(((t,n)=>this.easing(e,t,this.byValue[n],this.duration,n)));return{value:t,valueProgress:Math.abs((t[0]-this.startValue[0])/this.byValue[0])}}}const In=["startValue","endValue","easing","onChange","onComplete","abort"],_n=(e,t,n,r)=>t+n*(1-Math.cos(e/r*S)),Pn=e=>e&&((t,n,r)=>e(new Ye(t).toRgba(),n,r));class On extends xn{constructor(e){let{startValue:t,endValue:n,easing:r=_n,onChange:i,onComplete:s,abort:l}=e,c=a(e,In);const u=new Ye(t).getSource(),d=new Ye(n).getSource();super(o(o({},c),{},{startValue:u,byValue:d.map(((e,t)=>e-u[t])),easing:r,onChange:Pn(i),onComplete:Pn(s),abort:Pn(l)}))}calculate(e){const[t,n,r,i]=this.startValue.map(((t,n)=>this.easing(e,t,this.byValue[n],this.duration,n))),o=[...[t,n,r].map(Math.round),dn(0,i,1)];return{value:o,valueProgress:o.map(((e,t)=>0!==this.byValue[t]?Math.abs((e-this.startValue[t])/this.byValue[t]):0)).find((e=>0!==e))||0}}}function Tn(e){const t=(e=>Array.isArray(e.startValue)||Array.isArray(e.endValue))(e)?new En(e):new Sn(e);return t.start(),t}function Dn(e){const t=new On(e);return t.start(),t}class jn{constructor(e){this.status=e,this.points=[]}includes(e){return this.points.some((t=>t.eq(e)))}append(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.points=this.points.concat(t.filter((e=>!this.includes(e)))),this}static isPointContained(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(t.eq(n))return e.eq(t);if(t.x===n.x)return e.x===t.x&&(r||e.y>=Math.min(t.y,n.y)&&e.y<=Math.max(t.y,n.y));if(t.y===n.y)return e.y===t.y&&(r||e.x>=Math.min(t.x,n.x)&&e.x<=Math.max(t.x,n.x));{const i=Zt(t,n),o=Zt(t,e).divide(i);return r?Math.abs(o.x)===Math.abs(o.y):o.x===o.y&&o.x>=0&&o.x<=1}}static isPointInPolygon(e,t){const n=new le(e).setX(Math.min(e.x-1,...t.map((e=>e.x))));let r=0;for(let i=0;i<t.length;i++){const o=this.intersectSegmentSegment(t[i],t[(i+1)%t.length],e,n);if(o.includes(e))return!0;r+=Number("Intersection"===o.status)}return r%2==1}static intersectLineLine(e,t,n,r){let i=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],o=!(arguments.length>5&&void 0!==arguments[5])||arguments[5];const a=t.x-e.x,s=t.y-e.y,l=r.x-n.x,c=r.y-n.y,u=e.x-n.x,d=e.y-n.y,p=l*d-c*u,h=a*d-s*u,f=c*a-l*s;if(0!==f){const t=p/f,n=h/f;return(i||0<=t&&t<=1)&&(o||0<=n&&n<=1)?new jn("Intersection").append(new le(e.x+t*a,e.y+t*s)):new jn}if(0===p||0===h){const a=i||o||jn.isPointContained(e,n,r)||jn.isPointContained(t,n,r)||jn.isPointContained(n,e,t)||jn.isPointContained(r,e,t);return new jn(a?"Coincident":void 0)}return new jn("Parallel")}static intersectSegmentLine(e,t,n,r){return jn.intersectLineLine(e,t,n,r,!1,!0)}static intersectSegmentSegment(e,t,n,r){return jn.intersectLineLine(e,t,n,r,!1,!1)}static intersectLinePolygon(e,t,n){let r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];const i=new jn,o=n.length;for(let a,s,l,c=0;c<o;c++){if(a=n[c],s=n[(c+1)%o],l=jn.intersectLineLine(e,t,a,s,r,!1),"Coincident"===l.status)return l;i.append(...l.points)}return i.points.length>0&&(i.status="Intersection"),i}static intersectSegmentPolygon(e,t,n){return jn.intersectLinePolygon(e,t,n,!1)}static intersectPolygonPolygon(e,t){const n=new jn,r=e.length,i=[];for(let o=0;o<r;o++){const a=e[o],s=e[(o+1)%r],l=jn.intersectSegmentPolygon(a,s,t);"Coincident"===l.status?(i.push(l),n.append(a,s)):n.append(...l.points)}return i.length>0&&i.length===e.length?new jn("Coincident"):(n.points.length>0&&(n.status="Intersection"),n)}static intersectPolygonRectangle(e,t,n){const r=t.min(n),i=t.max(n),o=new le(i.x,r.y),a=new le(r.x,i.y);return jn.intersectPolygonPolygon(e,[r,o,i,a])}}class Bn extends pe{getX(){return this.getXY().x}setX(e){this.setXY(this.getXY().setX(e))}getY(){return this.getXY().y}setY(e){this.setXY(this.getXY().setY(e))}getRelativeX(){return this.left}setRelativeX(e){this.left=e}getRelativeY(){return this.top}setRelativeY(e){this.top=e}getXY(){const e=this.getRelativeXY();return this.group?Ce(e,this.group.calcTransformMatrix()):e}setXY(e,t,n){this.group&&(e=Ce(e,Se(this.group.calcTransformMatrix()))),this.setRelativeXY(e,t,n)}getRelativeXY(){return new le(this.left,this.top)}setRelativeXY(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.originX,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.originY;this.setPositionByOrigin(e,t,n)}isStrokeAccountedForInDimensions(){return!1}getCoords(){const{tl:e,tr:t,br:n,bl:r}=this.aCoords||(this.aCoords=this.calcACoords()),i=[e,t,n,r];if(this.group){const e=this.group.calcTransformMatrix();return i.map((t=>Ce(t,e)))}return i}intersectsWithRect(e,t){return"Intersection"===jn.intersectPolygonRectangle(this.getCoords(),e,t).status}intersectsWithObject(e){const t=jn.intersectPolygonPolygon(this.getCoords(),e.getCoords());return"Intersection"===t.status||"Coincident"===t.status||e.isContainedWithinObject(this)||this.isContainedWithinObject(e)}isContainedWithinObject(e){return this.getCoords().every((t=>e.containsPoint(t)))}isContainedWithinRect(e,t){const{left:n,top:r,width:i,height:o}=this.getBoundingRect();return n>=e.x&&n+i<=t.x&&r>=e.y&&r+o<=t.y}isOverlapping(e){return this.intersectsWithObject(e)||this.isContainedWithinObject(e)||e.isContainedWithinObject(this)}containsPoint(e){return jn.isPointInPolygon(e,this.getCoords())}isOnScreen(){if(!this.canvas)return!1;const{tl:e,br:t}=this.canvas.vptCoords;return!!this.getCoords().some((n=>n.x<=t.x&&n.x>=e.x&&n.y<=t.y&&n.y>=e.y))||!!this.intersectsWithRect(e,t)||this.containsPoint(e.midPointFrom(t))}isPartiallyOnScreen(){if(!this.canvas)return!1;const{tl:e,br:t}=this.canvas.vptCoords;return!!this.intersectsWithRect(e,t)||this.getCoords().every((n=>(n.x>=t.x||n.x<=e.x)&&(n.y>=t.y||n.y<=e.y)))&&this.containsPoint(e.midPointFrom(t))}getBoundingRect(){return yt(this.getCoords())}getScaledWidth(){return this._getTransformedDimensions().x}getScaledHeight(){return this._getTransformedDimensions().y}scale(e){this._set(W,e),this._set(Y,e),this.setCoords()}scaleToWidth(e){const t=this.getBoundingRect().width/this.getScaledWidth();return this.scale(e/this.width/t)}scaleToHeight(e){const t=this.getBoundingRect().height/this.getScaledHeight();return this.scale(e/this.height/t)}getCanvasRetinaScaling(){var e;return(null===(e=this.canvas)||void 0===e?void 0:e.getRetinaScaling())||1}getTotalAngle(){return this.group?we(Ie(this.calcTransformMatrix())):this.angle}getViewportTransform(){var e;return(null===(e=this.canvas)||void 0===e?void 0:e.viewportTransform)||I.concat()}calcACoords(){const e=Oe({angle:this.angle}),{x:t,y:n}=this.getRelativeCenterPoint(),r=Pe(t,n),i=ke(r,e),o=this._getTransformedDimensions(),a=o.x/2,s=o.y/2;return{tl:Ce({x:-a,y:-s},i),tr:Ce({x:a,y:-s},i),bl:Ce({x:-a,y:s},i),br:Ce({x:a,y:s},i)}}setCoords(){this.aCoords=this.calcACoords()}transformMatrixKey(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=[];return!e&&this.group&&(t=this.group.transformMatrixKey(e)),t.push(this.top,this.left,this.width,this.height,this.scaleX,this.scaleY,this.angle,this.strokeWidth,this.skewX,this.skewY,+this.flipX,+this.flipY,Tt(this.originX),Tt(this.originY)),t}calcTransformMatrix(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.calcOwnMatrix();if(e||!this.group)return t;const n=this.transformMatrixKey(e),r=this.matrixCache;return r&&r.key.every(((e,t)=>e===n[t]))?r.value:(this.group&&(t=ke(this.group.calcTransformMatrix(!1),t)),this.matrixCache={key:n,value:t},t)}calcOwnMatrix(){const e=this.transformMatrixKey(!0),t=this.ownMatrixCache;if(t&&t.key===e)return t.value;const n=this.getRelativeCenterPoint(),r={angle:this.angle,translateX:n.x,translateY:n.y,scaleX:this.scaleX,scaleY:this.scaleY,skewX:this.skewX,skewY:this.skewY,flipX:this.flipX,flipY:this.flipY},i=Me(r);return this.ownMatrixCache={key:e,value:i},i}_getNonTransformedDimensions(){return new le(this.width,this.height).scalarAdd(this.strokeWidth)}_calculateCurrentDimensions(e){return this._getTransformedDimensions(e).transform(this.getViewportTransform(),!0).scalarAdd(2*this.padding)}_getTransformedDimensions(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=o({scaleX:this.scaleX,scaleY:this.scaleY,skewX:this.skewX,skewY:this.skewY,width:this.width,height:this.height,strokeWidth:this.strokeWidth},e),n=t.strokeWidth;let r=n,i=0;this.strokeUniform&&(r=0,i=n);const a=t.width+r,s=t.height+r;let l;return l=0===t.skewX&&0===t.skewY?new le(a*t.scaleX,s*t.scaleY):St(a,s,Ne(t)),l.scalarAdd(i)}translateToGivenOrigin(e,t,n,r,i){let o=e.x,a=e.y;const s=Tt(r)-Tt(t),l=Tt(i)-Tt(n);if(s||l){const e=this._getTransformedDimensions();o+=s*e.x,a+=l*e.y}return new le(o,a)}translateToCenterPoint(e,t,n){if(t===O&&n===O)return e;const r=this.translateToGivenOrigin(e,t,n,O,O);return this.angle?r.rotate(be(this.angle),e):r}translateToOriginPoint(e,t,n){const r=this.translateToGivenOrigin(e,O,O,t,n);return this.angle?r.rotate(be(this.angle),e):r}getCenterPoint(){const e=this.getRelativeCenterPoint();return this.group?Ce(e,this.group.calcTransformMatrix()):e}getRelativeCenterPoint(){return this.translateToCenterPoint(new le(this.left,this.top),this.originX,this.originY)}getPointByOrigin(e,t){return this.translateToOriginPoint(this.getRelativeCenterPoint(),e,t)}setPositionByOrigin(e,t,n){const r=this.translateToCenterPoint(e,t,n),i=this.translateToOriginPoint(r,this.originX,this.originY);this.set({left:i.x,top:i.y})}_getLeftTopCoords(){return this.translateToOriginPoint(this.getRelativeCenterPoint(),T,D)}}const Nn=["type"],Mn=["extraParam"];let Rn=class e extends Bn{static getDefaults(){return e.ownDefaults}get type(){const e=this.constructor.type;return"FabricObject"===e?"object":e.toLowerCase()}set type(e){u("warn","Setting type has no effect",e)}constructor(t){super(),r(this,"_cacheContext",null),Object.assign(this,e.ownDefaults),this.setOptions(t)}_createCacheCanvas(){this._cacheCanvas=ve(),this._cacheContext=this._cacheCanvas.getContext("2d"),this._updateCacheCanvas(),this.dirty=!0}_limitCacheSize(e){const t=e.width,n=e.height,r=c.maxCacheSideLimit,i=c.minCacheSideLimit;if(t<=r&&n<=r&&t*n<=c.perfLimitSizeTotal)return t<i&&(e.width=i),n<i&&(e.height=i),e;const o=t/n,[a,s]=w.limitDimsByArea(o),l=dn(i,a,r),u=dn(i,s,r);return t>l&&(e.zoomX/=t/l,e.width=l,e.capped=!0),n>u&&(e.zoomY/=n/u,e.height=u,e.capped=!0),e}_getCacheCanvasDimensions(){const e=this.getTotalObjectScaling(),t=this._getTransformedDimensions({skewX:0,skewY:0}),n=t.x*e.x/this.scaleX,r=t.y*e.y/this.scaleY;return{width:n+2,height:r+2,zoomX:e.x,zoomY:e.y,x:n,y:r}}_updateCacheCanvas(){const e=this._cacheCanvas,t=this._cacheContext,n=this._limitCacheSize(this._getCacheCanvasDimensions()),r=c.minCacheSideLimit,i=n.width,o=n.height,a=n.zoomX,s=n.zoomY,l=i!==e.width||o!==e.height,u=this.zoomX!==a||this.zoomY!==s;if(!e||!t)return!1;let d,p,h=l||u,f=0,m=0,g=!1;if(l){const e=this._cacheCanvas.width,t=this._cacheCanvas.height,a=i>e||o>t;g=a||(i<.9*e||o<.9*t)&&e>r&&t>r,a&&!n.capped&&(i>r||o>r)&&(f=.1*i,m=.1*o)}return rt(this)&&this.path&&(h=!0,g=!0,f+=this.getHeightOfLine(0)*this.zoomX,m+=this.getHeightOfLine(0)*this.zoomY),!!h&&(g?(e.width=Math.ceil(i+f),e.height=Math.ceil(o+m)):(t.setTransform(1,0,0,1,0,0),t.clearRect(0,0,e.width,e.height)),d=n.x/2,p=n.y/2,this.cacheTranslationX=Math.round(e.width/2-d)+d,this.cacheTranslationY=Math.round(e.height/2-p)+p,t.translate(this.cacheTranslationX,this.cacheTranslationY),t.scale(a,s),this.zoomX=a,this.zoomY=s,!0)}setOptions(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this._setOptions(e)}transform(e){const t=this.group&&!this.group._transformDone||this.group&&this.canvas&&e===this.canvas.contextTop,n=this.calcTransformMatrix(!t);e.transform(n[0],n[1],n[2],n[3],n[4],n[5])}getObjectScaling(){if(!this.group)return new le(Math.abs(this.scaleX),Math.abs(this.scaleY));const e=_e(this.calcTransformMatrix());return new le(Math.abs(e.scaleX),Math.abs(e.scaleY))}getTotalObjectScaling(){const e=this.getObjectScaling();if(this.canvas){const t=this.canvas.getZoom(),n=this.getCanvasRetinaScaling();return e.scalarMultiply(t*n)}return e}getObjectOpacity(){let e=this.opacity;return this.group&&(e*=this.group.getObjectOpacity()),e}_constrainScale(e){return Math.abs(e)<this.minScaleLimit?e<0?-this.minScaleLimit:this.minScaleLimit:0===e?1e-4:e}_set(e,t){e!==W&&e!==Y||(t=this._constrainScale(t)),e===W&&t<0?(this.flipX=!this.flipX,t*=-1):"scaleY"===e&&t<0?(this.flipY=!this.flipY,t*=-1):"shadow"!==e||!t||t instanceof un||(t=new un(t));const n=this[e]!==t;return this[e]=t,n&&this.constructor.cacheProperties.includes(e)&&(this.dirty=!0),this.parent&&(this.dirty||n&&this.constructor.stateProperties.includes(e))&&this.parent._set("dirty",!0),this}isNotVisible(){return 0===this.opacity||!this.width&&!this.height&&0===this.strokeWidth||!this.visible}render(e){this.isNotVisible()||this.canvas&&this.canvas.skipOffscreen&&!this.group&&!this.isOnScreen()||(e.save(),this._setupCompositeOperation(e),this.drawSelectionBackground(e),this.transform(e),this._setOpacity(e),this._setShadow(e),this.shouldCache()?(this.renderCache(),this.drawCacheOnCanvas(e)):(this._removeCacheCanvas(),this.drawObject(e),this.dirty=!1),e.restore())}drawSelectionBackground(e){}renderCache(e){e=e||{},this._cacheCanvas&&this._cacheContext||this._createCacheCanvas(),this.isCacheDirty()&&this._cacheContext&&(this.drawObject(this._cacheContext,e.forClipping),this.dirty=!1)}_removeCacheCanvas(){this._cacheCanvas=void 0,this._cacheContext=null}hasStroke(){return this.stroke&&"transparent"!==this.stroke&&0!==this.strokeWidth}hasFill(){return this.fill&&"transparent"!==this.fill}needsItsOwnCache(){return!!(this.paintFirst===Z&&this.hasFill()&&this.hasStroke()&&this.shadow)||!!this.clipPath}shouldCache(){return this.ownCaching=this.needsItsOwnCache()||this.objectCaching&&(!this.parent||!this.parent.isOnACache()),this.ownCaching}willDrawShadow(){return!!this.shadow&&(0!==this.shadow.offsetX||0!==this.shadow.offsetY)}drawClipPathOnCache(e,t){if(e.save(),t.inverted?e.globalCompositeOperation="destination-out":e.globalCompositeOperation="destination-in",t.absolutePositioned){const t=Se(this.calcTransformMatrix());e.transform(t[0],t[1],t[2],t[3],t[4],t[5])}t.transform(e),e.scale(1/t.zoomX,1/t.zoomY),e.drawImage(t._cacheCanvas,-t.cacheTranslationX,-t.cacheTranslationY),e.restore()}drawObject(e,t){const n=this.fill,r=this.stroke;t?(this.fill="black",this.stroke="",this._setClippingProperties(e)):this._renderBackground(e),this._render(e),this._drawClipPath(e,this.clipPath),this.fill=n,this.stroke=r}_drawClipPath(e,t){t&&(t._set("canvas",this.canvas),t.shouldCache(),t._transformDone=!0,t.renderCache({forClipping:!0}),this.drawClipPathOnCache(e,t))}drawCacheOnCanvas(e){e.scale(1/this.zoomX,1/this.zoomY),e.drawImage(this._cacheCanvas,-this.cacheTranslationX,-this.cacheTranslationY)}isCacheDirty(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(this.isNotVisible())return!1;const t=this._cacheCanvas,n=this._cacheContext;return!(!t||!n||e||!this._updateCacheCanvas())||!!(this.dirty||this.clipPath&&this.clipPath.absolutePositioned)&&(t&&n&&!e&&(n.save(),n.setTransform(1,0,0,1,0,0),n.clearRect(0,0,t.width,t.height),n.restore()),!0)}_renderBackground(e){if(!this.backgroundColor)return;const t=this._getNonTransformedDimensions();e.fillStyle=this.backgroundColor,e.fillRect(-t.x/2,-t.y/2,t.x,t.y),this._removeShadow(e)}_setOpacity(e){this.group&&!this.group._transformDone?e.globalAlpha=this.getObjectOpacity():e.globalAlpha*=this.opacity}_setStrokeStyles(e,t){const n=t.stroke;n&&(e.lineWidth=t.strokeWidth,e.lineCap=t.strokeLineCap,e.lineDashOffset=t.strokeDashOffset,e.lineJoin=t.strokeLineJoin,e.miterLimit=t.strokeMiterLimit,et(n)?"percentage"===n.gradientUnits||n.gradientTransform||n.patternTransform?this._applyPatternForTransformedGradient(e,n):(e.strokeStyle=n.toLive(e),this._applyPatternGradientTransform(e,n)):e.strokeStyle=t.stroke)}_setFillStyles(e,t){let{fill:n}=t;n&&(et(n)?(e.fillStyle=n.toLive(e),this._applyPatternGradientTransform(e,n)):e.fillStyle=n)}_setClippingProperties(e){e.globalAlpha=1,e.strokeStyle="transparent",e.fillStyle="#000000"}_setLineDash(e,t){t&&0!==t.length&&(1&t.length&&t.push(...t),e.setLineDash(t))}_setShadow(e){if(!this.shadow)return;const t=this.shadow,n=this.canvas,r=this.getCanvasRetinaScaling(),[i,,,o]=(null==n?void 0:n.viewportTransform)||I,a=i*r,s=o*r,l=t.nonScaling?new le(1,1):this.getObjectScaling();e.shadowColor=t.color,e.shadowBlur=t.blur*c.browserShadowBlurConstant*(a+s)*(l.x+l.y)/4,e.shadowOffsetX=t.offsetX*a*l.x,e.shadowOffsetY=t.offsetY*s*l.y}_removeShadow(e){this.shadow&&(e.shadowColor="",e.shadowBlur=e.shadowOffsetX=e.shadowOffsetY=0)}_applyPatternGradientTransform(e,t){if(!et(t))return{offsetX:0,offsetY:0};const n=t.gradientTransform||t.patternTransform,r=-this.width/2+t.offsetX||0,i=-this.height/2+t.offsetY||0;return"percentage"===t.gradientUnits?e.transform(this.width,0,0,this.height,r,i):e.transform(1,0,0,1,r,i),n&&e.transform(n[0],n[1],n[2],n[3],n[4],n[5]),{offsetX:r,offsetY:i}}_renderPaintInOrder(e){this.paintFirst===Z?(this._renderStroke(e),this._renderFill(e)):(this._renderFill(e),this._renderStroke(e))}_render(e){}_renderFill(e){this.fill&&(e.save(),this._setFillStyles(e,this),"evenodd"===this.fillRule?e.fill("evenodd"):e.fill(),e.restore())}_renderStroke(e){if(this.stroke&&0!==this.strokeWidth){if(this.shadow&&!this.shadow.affectStroke&&this._removeShadow(e),e.save(),this.strokeUniform){const t=this.getObjectScaling();e.scale(1/t.x,1/t.y)}this._setLineDash(e,this.strokeDashArray),this._setStrokeStyles(e,this),e.stroke(),e.restore()}}_applyPatternForTransformedGradient(e,t){var n;const r=this._limitCacheSize(this._getCacheCanvasDimensions()),i=ve(),o=this.getCanvasRetinaScaling(),a=r.x/this.scaleX/o,s=r.y/this.scaleY/o;i.width=Math.ceil(a),i.height=Math.ceil(s);const l=i.getContext("2d");l&&(l.beginPath(),l.moveTo(0,0),l.lineTo(a,0),l.lineTo(a,s),l.lineTo(0,s),l.closePath(),l.translate(a/2,s/2),l.scale(r.zoomX/this.scaleX/o,r.zoomY/this.scaleY/o),this._applyPatternGradientTransform(l,t),l.fillStyle=t.toLive(e),l.fill(),e.translate(-this.width/2-this.strokeWidth/2,-this.height/2-this.strokeWidth/2),e.scale(o*this.scaleX/r.zoomX,o*this.scaleY/r.zoomY),e.strokeStyle=null!==(n=l.createPattern(i,"no-repeat"))&&void 0!==n?n:"")}_findCenterFromElement(){return new le(this.left+this.width/2,this.top+this.height/2)}clone(e){const t=this.toObject(e);return this.constructor.fromObject(t)}cloneAsImage(e){const t=this.toCanvasElement(e);return new(ne.getClass("image"))(t)}toCanvasElement(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=Ct(this),n=this.group,r=this.shadow,i=Math.abs,o=e.enableRetinaScaling?b():1,a=(e.multiplier||1)*o,s=e.canvasProvider||(e=>new ht(e,{enableRetinaScaling:!1,renderOnAddRemove:!1,skipOffscreen:!1}));delete this.group,e.withoutTransform&&xt(this),e.withoutShadow&&(this.shadow=null),e.viewportTransform&&_t(this,this.getViewportTransform()),this.setCoords();const l=ve(),c=this.getBoundingRect(),u=this.shadow,d=new le;if(u){const e=u.blur,t=u.nonScaling?new le(1,1):this.getObjectScaling();d.x=2*Math.round(i(u.offsetX)+e)*i(t.x),d.y=2*Math.round(i(u.offsetY)+e)*i(t.y)}const p=c.width+d.x,h=c.height+d.y;l.width=Math.ceil(p),l.height=Math.ceil(h);const f=s(l);"jpeg"===e.format&&(f.backgroundColor="#fff"),this.setPositionByOrigin(new le(f.width/2,f.height/2),O,O);const m=this.canvas;f._objects=[this],this.set("canvas",f),this.setCoords();const g=f.toCanvasElement(a||1,e);return this.set("canvas",m),this.shadow=r,n&&(this.group=n),this.set(t),this.setCoords(),f._objects=[],f.destroy(),g}toDataURL(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Ae(this.toCanvasElement(e),e.format||"png",e.quality||1)}isType(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.includes(this.constructor.type)||t.includes(this.type)}complexity(){return 1}toJSON(){return this.toObject()}rotate(e){const{centeredRotation:t,originX:n,originY:r}=this;if(t){const{x:e,y:t}=this.getRelativeCenterPoint();this.originX=O,this.originY=O,this.left=e,this.top=t}if(this.set("angle",e),t){const{x:e,y:t}=this.translateToOriginPoint(this.getRelativeCenterPoint(),n,r);this.left=e,this.top=t,this.originX=n,this.originY=r}}setOnGroup(){}_setupCompositeOperation(e){this.globalCompositeOperation&&(e.globalCompositeOperation=this.globalCompositeOperation)}dispose(){re.cancelByTarget(this),this.off(),this._set("canvas",void 0),this._cacheCanvas&&v().dispose(this._cacheCanvas),this._cacheCanvas=void 0,this._cacheContext=null}animate(e,t){return Object.entries(e).reduce(((e,n)=>{let[r,i]=n;return e[r]=this._animate(r,i,t),e}),{})}_animate(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const r=e.split("."),i=this.constructor.colorProperties.includes(r[r.length-1]),{abort:a,startValue:s,onChange:l,onComplete:c}=n,u=o(o({},n),{},{target:this,startValue:null!=s?s:r.reduce(((e,t)=>e[t]),this),endValue:t,abort:null==a?void 0:a.bind(this),onChange:(e,t,n)=>{r.reduce(((t,n,i)=>(i===r.length-1&&(t[n]=e),t[n])),this),l&&l(e,t,n)},onComplete:(e,t,n)=>{this.setCoords(),c&&c(e,t,n)}});return i?Dn(u):Tn(u)}isDescendantOf(e){const{parent:t,group:n}=this;return t===e||n===e||!!t&&t.isDescendantOf(e)||!!n&&n!==t&&n.isDescendantOf(e)}getAncestors(){const e=[];let t=this;do{t=t.parent,t&&e.push(t)}while(t);return e}findCommonAncestors(e){if(this===e)return{fork:[],otherFork:[],common:[this,...this.getAncestors()]};const t=this.getAncestors(),n=e.getAncestors();if(0===t.length&&n.length>0&&this===n[n.length-1])return{fork:[],otherFork:[e,...n.slice(0,n.length-1)],common:[this]};for(let r,i=0;i<t.length;i++){if(r=t[i],r===e)return{fork:[this,...t.slice(0,i)],otherFork:[],common:t.slice(i)};for(let o=0;o<n.length;o++){if(this===n[o])return{fork:[],otherFork:[e,...n.slice(0,o)],common:[this,...t]};if(r===n[o])return{fork:[this,...t.slice(0,i)],otherFork:[e,...n.slice(0,o)],common:t.slice(i)}}}return{fork:[this,...t],otherFork:[e,...n],common:[]}}hasCommonAncestors(e){const t=this.findCommonAncestors(e);return t&&!!t.common.length}isInFrontOf(e){if(this===e)return;const t=this.findCommonAncestors(e);if(t.fork.includes(e))return!0;if(t.otherFork.includes(this))return!1;const n=t.common[0]||this.canvas;if(!n)return;const r=t.fork.pop(),i=t.otherFork.pop(),o=n._objects.indexOf(r),a=n._objects.indexOf(i);return o>-1&&o>a}toObject(){const t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).concat(e.customProperties,this.constructor.customProperties||[]);let n;const r=c.NUM_FRACTION_DIGITS,{clipPath:i,fill:a,stroke:s,shadow:l,strokeDashArray:u,left:d,top:p,originX:h,originY:f,width:m,height:g,strokeWidth:v,strokeLineCap:y,strokeDashOffset:A,strokeLineJoin:b,strokeUniform:w,strokeMiterLimit:C,scaleX:S,scaleY:k,angle:E,flipX:I,flipY:_,opacity:P,visible:O,backgroundColor:T,fillRule:D,paintFirst:j,globalCompositeOperation:B,skewX:N,skewY:M}=this;i&&!i.excludeFromExport&&(n=i.toObject(t.concat("inverted","absolutePositioned")));const R=e=>Ke(e,r),L=o(o({},ze(this,t)),{},{type:this.constructor.type,version:x,originX:h,originY:f,left:R(d),top:R(p),width:R(m),height:R(g),fill:tt(a)?a.toObject():a,stroke:tt(s)?s.toObject():s,strokeWidth:R(v),strokeDashArray:u?u.concat():u,strokeLineCap:y,strokeDashOffset:A,strokeLineJoin:b,strokeUniform:w,strokeMiterLimit:R(C),scaleX:R(S),scaleY:R(k),angle:R(E),flipX:I,flipY:_,opacity:R(P),shadow:l?l.toObject():l,visible:O,backgroundColor:T,fillRule:D,paintFirst:j,globalCompositeOperation:B,skewX:R(N),skewY:R(M)},n?{clipPath:n}:null);return this.includeDefaultValues?L:this._removeDefaultValues(L)}toDatalessObject(e){return this.toObject(e)}_removeDefaultValues(e){const t=this.constructor.getDefaults(),n=Object.keys(t).length>0?t:Object.getPrototypeOf(this);return Qe(e,((e,t)=>{if(t===T||t===D||"type"===t)return!0;const r=n[t];return e!==r&&!(Array.isArray(e)&&Array.isArray(r)&&0===e.length&&0===r.length)}))}toString(){return"#<".concat(this.constructor.type,">")}static _fromObject(e){let t=a(e,Nn),n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{extraParam:r}=n,i=a(n,Mn);return Fe(t,i).then((e=>r?(delete e[r],new this(t[r],e)):new this(e)))}static fromObject(e,t){return this._fromObject(e,t)}};r(Rn,"stateProperties",pn),r(Rn,"cacheProperties",hn),r(Rn,"ownDefaults",fn),r(Rn,"type","FabricObject"),r(Rn,"colorProperties",[X,Z,"backgroundColor"]),r(Rn,"customProperties",[]),ne.setClass(Rn),ne.setClass(Rn,"object");const Ln=(e,t,n)=>(r,i,a,s)=>{const l=t(r,i,a,s);return l&&Pt(e,o(o({},Mt(r,i,a,s)),n)),l};function Fn(e){return(t,n,r,i)=>{const{target:o,originX:a,originY:s}=n,l=o.getRelativeCenterPoint(),c=o.translateToOriginPoint(l,a,s),u=e(t,n,r,i);return o.setPositionByOrigin(c,n.originX,n.originY),u}}const zn=Ln(U,Fn(((e,t,n,r)=>{const i=Lt(t,t.originX,t.originY,n,r);if(Tt(t.originX)===Tt(O)||Tt(t.originX)===Tt(B)&&i.x<0||Tt(t.originX)===Tt(T)&&i.x>0){const{target:e}=t,n=e.strokeWidth/(e.strokeUniform?e.scaleX:1),r=jt(t)?2:1,o=e.width,a=Math.abs(i.x*r/e.scaleX)-n;return e.set("width",Math.max(a,1)),o!==e.width}return!1})));function Qn(e,t,n,r,i){r=r||{};const o=this.sizeX||r.cornerSize||i.cornerSize,a=this.sizeY||r.cornerSize||i.cornerSize,s=void 0!==r.transparentCorners?r.transparentCorners:i.transparentCorners,l=s?Z:X,c=!s&&(r.cornerStrokeColor||i.cornerStrokeColor);let u,d=t,p=n;e.save(),e.fillStyle=r.cornerColor||i.cornerColor||"",e.strokeStyle=r.cornerStrokeColor||i.cornerStrokeColor||"",o>a?(u=o,e.scale(1,a/o),p=n*o/a):a>o?(u=a,e.scale(o/a,1),d=t*a/o):u=o,e.lineWidth=1,e.beginPath(),e.arc(d,p,u/2,0,k,!1),e[l](),c&&e.stroke(),e.restore()}function Un(e,t,n,r,i){r=r||{};const o=this.sizeX||r.cornerSize||i.cornerSize,a=this.sizeY||r.cornerSize||i.cornerSize,s=void 0!==r.transparentCorners?r.transparentCorners:i.transparentCorners,l=s?Z:X,c=!s&&(r.cornerStrokeColor||i.cornerStrokeColor),u=o/2,d=a/2;e.save(),e.fillStyle=r.cornerColor||i.cornerColor||"",e.strokeStyle=r.cornerStrokeColor||i.cornerStrokeColor||"",e.lineWidth=1,e.translate(t,n);const p=i.getTotalAngle();e.rotate(be(p)),e["".concat(l,"Rect")](-u,-d,o,a),c&&e.strokeRect(-u,-d,o,a),e.restore()}class Vn{constructor(e){r(this,"visible",!0),r(this,"actionName",H),r(this,"angle",0),r(this,"x",0),r(this,"y",0),r(this,"offsetX",0),r(this,"offsetY",0),r(this,"sizeX",0),r(this,"sizeY",0),r(this,"touchSizeX",0),r(this,"touchSizeY",0),r(this,"cursorStyle","crosshair"),r(this,"withConnection",!1),Object.assign(this,e)}shouldActivate(e,t,n,r){var i;let{tl:o,tr:a,br:s,bl:l}=r;return(null===(i=t.canvas)||void 0===i?void 0:i.getActiveObject())===t&&t.isControlVisible(e)&&jn.isPointInPolygon(n,[o,a,s,l])}getActionHandler(e,t,n){return this.actionHandler}getMouseDownHandler(e,t,n){return this.mouseDownHandler}getMouseUpHandler(e,t,n){return this.mouseUpHandler}cursorStyleHandler(e,t,n){return t.cursorStyle}getActionName(e,t,n){return t.actionName}getVisibility(e,t){var n,r;return null!==(n=null===(r=e._controlsVisibility)||void 0===r?void 0:r[t])&&void 0!==n?n:this.visible}setVisibility(e,t,n){this.visible=e}positionHandler(e,t,n,r){return new le(this.x*e.x+this.offsetX,this.y*e.y+this.offsetY).transform(t)}calcCornerCoords(e,t,n,r,i,o){const a=Ee([Pe(n,r),Oe({angle:e}),Te((i?this.touchSizeX:this.sizeX)||t,(i?this.touchSizeY:this.sizeY)||t)]);return{tl:new le(-.5,-.5).transform(a),tr:new le(.5,-.5).transform(a),br:new le(.5,.5).transform(a),bl:new le(-.5,.5).transform(a)}}render(e,t,n,r,i){"circle"===((r=r||{}).cornerStyle||i.cornerStyle)?Qn.call(this,e,t,n,r,i):Un.call(this,e,t,n,r,i)}}const Gn=(e,t,n)=>n.lockRotation?Dt:t.cursorStyle,qn=Ln(F,Fn(((e,t,n,r)=>{let{target:i,ex:o,ey:a,theta:s,originX:l,originY:c}=t;const u=i.translateToOriginPoint(i.getRelativeCenterPoint(),l,c);if(Nt(i,"lockRotation"))return!1;const d=Math.atan2(a-u.y,o-u.x),p=Math.atan2(r-u.y,n-u.x);let h=we(p-d+s);if(i.snapAngle&&i.snapAngle>0){const e=i.snapAngle,t=i.snapThreshold||e,n=Math.ceil(h/e)*e,r=Math.floor(h/e)*e;Math.abs(h-r)<t?h=r:Math.abs(h-n)<t&&(h=n)}h<0&&(h=360+h),h%=360;const f=i.angle!==h;return i.angle=h,f})));function Hn(e,t){const n=t.canvas,r=e[n.uniScaleKey];return n.uniformScaling&&!r||!n.uniformScaling&&r}function Wn(e,t,n){const r=Nt(e,"lockScalingX"),i=Nt(e,"lockScalingY");if(r&&i)return!0;if(!t&&(r||i)&&n)return!0;if(r&&"x"===t)return!0;if(i&&"y"===t)return!0;const{width:o,height:a,strokeWidth:s}=e;return 0===o&&0===s&&"y"!==t||0===a&&0===s&&"x"!==t}const Yn=["e","se","s","sw","w","nw","n","ne","e"],Kn=(e,t,n)=>{const r=Hn(e,n);if(Wn(n,0!==t.x&&0===t.y?"x":0===t.x&&0!==t.y?"y":"",r))return Dt;const i=Rt(n,t);return"".concat(Yn[i],"-resize")};function Jn(e,t,n,r){let i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};const o=t.target,a=i.by,s=Hn(e,o);let l,c,u,d,p,h;if(Wn(o,a,s))return!1;if(t.gestureScale)c=t.scaleX*t.gestureScale,u=t.scaleY*t.gestureScale;else{if(l=Lt(t,t.originX,t.originY,n,r),p="y"!==a?Math.sign(l.x||t.signX||1):1,h="x"!==a?Math.sign(l.y||t.signY||1):1,t.signX||(t.signX=p),t.signY||(t.signY=h),Nt(o,"lockScalingFlip")&&(t.signX!==p||t.signY!==h))return!1;if(d=o._getTransformedDimensions(),s&&!a){const e=Math.abs(l.x)+Math.abs(l.y),{original:n}=t,r=e/(Math.abs(d.x*n.scaleX/o.scaleX)+Math.abs(d.y*n.scaleY/o.scaleY));c=n.scaleX*r,u=n.scaleY*r}else c=Math.abs(l.x*o.scaleX/d.x),u=Math.abs(l.y*o.scaleY/d.y);jt(t)&&(c*=2,u*=2),t.signX!==p&&"y"!==a&&(t.originX=Bt(t.originX),c*=-1,t.signX=p),t.signY!==h&&"x"!==a&&(t.originY=Bt(t.originY),u*=-1,t.signY=h)}const f=o.scaleX,m=o.scaleY;return a?("x"===a&&o.set(W,c),"y"===a&&o.set(Y,u)):(!Nt(o,"lockScalingX")&&o.set(W,c),!Nt(o,"lockScalingY")&&o.set(Y,u)),f!==o.scaleX||m!==o.scaleY}const Xn=Ln(L,Fn(((e,t,n,r)=>Jn(e,t,n,r)))),Zn=Ln(L,Fn(((e,t,n,r)=>Jn(e,t,n,r,{by:"x"})))),$n=Ln(L,Fn(((e,t,n,r)=>Jn(e,t,n,r,{by:"y"})))),er=["target","ex","ey","skewingSide"],tr={x:{counterAxis:"y",scale:W,skew:K,lockSkewing:"lockSkewingX",origin:"originX",flip:"flipX"},y:{counterAxis:"x",scale:Y,skew:J,lockSkewing:"lockSkewingY",origin:"originY",flip:"flipY"}},nr=["ns","nesw","ew","nwse"],rr=(e,t,n)=>{if(0!==t.x&&Nt(n,"lockSkewingY"))return Dt;if(0!==t.y&&Nt(n,"lockSkewingX"))return Dt;const r=Rt(n,t)%4;return"".concat(nr[r],"-resize")};function ir(e,t,n,r,i){const{target:s}=n,{counterAxis:l,origin:c,lockSkewing:u,skew:d,flip:p}=tr[e];if(Nt(s,u))return!1;const{origin:h,flip:f}=tr[l],m=Tt(n[h])*(s[f]?-1:1),g=-Math.sign(m)*(s[p]?-1:1),v=-(0===s[d]&&Lt(n,O,O,r,i)[e]>0||s[d]>0?1:-1)*g*.5+.5,y=Ln(Q,Fn(((t,n,r,i)=>function(e,t,n){let{target:r,ex:i,ey:o,skewingSide:s}=t,l=a(t,er);const{skew:c}=tr[e],u=n.subtract(new le(i,o)).divide(new le(r.scaleX,r.scaleY))[e],d=r[c],p=l[c],h=Math.tan(be(p)),f="y"===e?r._getTransformedDimensions({scaleX:1,scaleY:1,skewX:0}).x:r._getTransformedDimensions({scaleX:1,scaleY:1}).y,m=2*u*s/Math.max(f,1)+h,g=we(Math.atan(m));r.set(c,g);const v=d!==r[c];if(v&&"y"===e){const{skewX:e,scaleX:t}=r,n=r._getTransformedDimensions({skewY:d}),i=r._getTransformedDimensions(),o=0!==e?n.x/i.x:1;1!==o&&r.set(W,o*t)}return v}(e,n,new le(r,i)))));return y(t,o(o({},n),{},{[c]:v,skewingSide:g}),r,i)}const or=(e,t,n,r)=>ir("x",e,t,n,r),ar=(e,t,n,r)=>ir("y",e,t,n,r);function sr(e,t){return e[t.canvas.altActionKey]}const lr=(e,t,n)=>{const r=sr(e,n);return 0===t.x?r?K:Y:0===t.y?r?J:W:""},cr=(e,t,n)=>sr(e,n)?rr(0,t,n):Kn(e,t,n),ur=(e,t,n,r)=>sr(e,t.target)?ar(e,t,n,r):Zn(e,t,n,r),dr=(e,t,n,r)=>sr(e,t.target)?or(e,t,n,r):$n(e,t,n,r),pr=()=>({ml:new Vn({x:-.5,y:0,cursorStyleHandler:cr,actionHandler:ur,getActionName:lr}),mr:new Vn({x:.5,y:0,cursorStyleHandler:cr,actionHandler:ur,getActionName:lr}),mb:new Vn({x:0,y:.5,cursorStyleHandler:cr,actionHandler:dr,getActionName:lr}),mt:new Vn({x:0,y:-.5,cursorStyleHandler:cr,actionHandler:dr,getActionName:lr}),tl:new Vn({x:-.5,y:-.5,cursorStyleHandler:Kn,actionHandler:Xn}),tr:new Vn({x:.5,y:-.5,cursorStyleHandler:Kn,actionHandler:Xn}),bl:new Vn({x:-.5,y:.5,cursorStyleHandler:Kn,actionHandler:Xn}),br:new Vn({x:.5,y:.5,cursorStyleHandler:Kn,actionHandler:Xn}),mtr:new Vn({x:0,y:-.5,actionHandler:qn,cursorStyleHandler:Gn,offsetY:-40,withConnection:!0,actionName:z})}),hr=()=>({mr:new Vn({x:.5,y:0,actionHandler:zn,cursorStyleHandler:cr,actionName:U}),ml:new Vn({x:-.5,y:0,actionHandler:zn,cursorStyleHandler:cr,actionName:U})}),fr=()=>o(o({},pr()),hr());class mr extends Rn{static getDefaults(){return o(o({},super.getDefaults()),mr.ownDefaults)}constructor(e){super(),Object.assign(this,this.constructor.createControls(),mr.ownDefaults),this.setOptions(e)}static createControls(){return{controls:pr()}}_updateCacheCanvas(){const e=this.canvas;if(this.noScaleCache&&e&&e._currentTransform){const t=e._currentTransform,n=t.target,r=t.action;if(this===n&&r&&r.startsWith(H))return!1}return super._updateCacheCanvas()}getActiveControl(){const e=this.__corner;return e?{key:e,control:this.controls[e],coord:this.oCoords[e]}:void 0}findControl(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!this.hasControls||!this.canvas)return;this.__corner=void 0;const n=Object.entries(this.oCoords);for(let r=n.length-1;r>=0;r--){const[i,o]=n[r],a=this.controls[i];if(a.shouldActivate(i,this,e,t?o.touchCorner:o.corner))return this.__corner=i,{key:i,control:a,coord:this.oCoords[i]}}}calcOCoords(){const e=this.getViewportTransform(),t=this.getCenterPoint(),n=Pe(t.x,t.y),r=Oe({angle:this.getTotalAngle()-(this.group&&this.flipX?180:0)}),i=ke(n,r),o=ke(e,i),a=ke(o,[1/e[0],0,0,1/e[3],0,0]),s=this.group?_e(this.calcTransformMatrix()):void 0;s&&(s.scaleX=Math.abs(s.scaleX),s.scaleY=Math.abs(s.scaleY));const l=this._calculateCurrentDimensions(s),c={};return this.forEachControl(((e,t)=>{const n=e.positionHandler(l,a,this,e);c[t]=Object.assign(n,this._calcCornerCoords(e,n))})),c}_calcCornerCoords(e,t){const n=this.getTotalAngle();return{corner:e.calcCornerCoords(n,this.cornerSize,t.x,t.y,!1,this),touchCorner:e.calcCornerCoords(n,this.touchCornerSize,t.x,t.y,!0,this)}}setCoords(){super.setCoords(),this.canvas&&(this.oCoords=this.calcOCoords())}forEachControl(e){for(const t in this.controls)e(this.controls[t],t,this)}drawSelectionBackground(e){if(!this.selectionBackgroundColor||this.canvas&&this.canvas._activeObject!==this)return;e.save();const t=this.getRelativeCenterPoint(),n=this._calculateCurrentDimensions(),r=this.getViewportTransform();e.translate(t.x,t.y),e.scale(1/r[0],1/r[3]),e.rotate(be(this.angle)),e.fillStyle=this.selectionBackgroundColor,e.fillRect(-n.x/2,-n.y/2,n.x,n.y),e.restore()}strokeBorders(e,t){e.strokeRect(-t.x/2,-t.y/2,t.x,t.y)}_drawBorders(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const r=o({hasControls:this.hasControls,borderColor:this.borderColor,borderDashArray:this.borderDashArray},n);e.save(),e.strokeStyle=r.borderColor,this._setLineDash(e,r.borderDashArray),this.strokeBorders(e,t),r.hasControls&&this.drawControlsConnectingLines(e,t),e.restore()}_renderControls(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{hasBorders:n,hasControls:r}=this,i=o({hasBorders:n,hasControls:r},t),a=this.getViewportTransform(),s=i.hasBorders,l=i.hasControls,c=ke(a,this.calcTransformMatrix()),u=_e(c);e.save(),e.translate(u.translateX,u.translateY),e.lineWidth=1*this.borderScaleFactor,this.group===this.parent&&(e.globalAlpha=this.isMoving?this.borderOpacityWhenMoving:1),this.flipX&&(u.angle-=180),e.rotate(be(this.group?u.angle:this.angle)),s&&this.drawBorders(e,u,t),l&&this.drawControls(e,t),e.restore()}drawBorders(e,t,n){let r;if(n&&n.forActiveSelection||this.group){const e=St(this.width,this.height,Ne(t)),n=this.isStrokeAccountedForInDimensions()?ce:(this.strokeUniform?(new le).scalarAdd(this.canvas?this.canvas.getZoom():1):new le(t.scaleX,t.scaleY)).scalarMultiply(this.strokeWidth);r=e.add(n).scalarAdd(this.borderScaleFactor).scalarAdd(2*this.padding)}else r=this._calculateCurrentDimensions().scalarAdd(this.borderScaleFactor);this._drawBorders(e,r,n)}drawControlsConnectingLines(e,t){let n=!1;e.beginPath(),this.forEachControl(((r,i)=>{r.withConnection&&r.getVisibility(this,i)&&(n=!0,e.moveTo(r.x*t.x,r.y*t.y),e.lineTo(r.x*t.x+r.offsetX,r.y*t.y+r.offsetY))})),n&&e.stroke()}drawControls(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.save();const n=this.getCanvasRetinaScaling(),{cornerStrokeColor:r,cornerDashArray:i,cornerColor:a}=this,s=o({cornerStrokeColor:r,cornerDashArray:i,cornerColor:a},t);e.setTransform(n,0,0,n,0,0),e.strokeStyle=e.fillStyle=s.cornerColor,this.transparentCorners||(e.strokeStyle=s.cornerStrokeColor),this._setLineDash(e,s.cornerDashArray),this.forEachControl(((t,n)=>{if(t.getVisibility(this,n)){const r=this.oCoords[n];t.render(e,r.x,r.y,s,this)}})),e.restore()}isControlVisible(e){return this.controls[e]&&this.controls[e].getVisibility(this,e)}setControlVisible(e,t){this._controlsVisibility||(this._controlsVisibility={}),this._controlsVisibility[e]=t}setControlsVisibility(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object.entries(e).forEach((e=>{let[t,n]=e;return this.setControlVisible(t,n)}))}clearContextTop(e){if(!this.canvas)return;const t=this.canvas.contextTop;if(!t)return;const n=this.canvas.viewportTransform;t.save(),t.transform(n[0],n[1],n[2],n[3],n[4],n[5]),this.transform(t);const r=this.width+4,i=this.height+4;return t.clearRect(-r/2,-i/2,r,i),e||t.restore(),t}onDeselect(e){return!1}onSelect(e){return!1}shouldStartDragging(e){return!1}onDragStart(e){return!1}canDrop(e){return!1}renderDragSourceEffect(e){}renderDropTargetEffect(e){}}function gr(e,t){return t.forEach((t=>{Object.getOwnPropertyNames(t.prototype).forEach((n=>{"constructor"!==n&&Object.defineProperty(e.prototype,n,Object.getOwnPropertyDescriptor(t.prototype,n)||Object.create(null))}))})),e}r(mr,"ownDefaults",{noScaleCache:!0,lockMovementX:!1,lockMovementY:!1,lockRotation:!1,lockScalingX:!1,lockScalingY:!1,lockSkewingX:!1,lockSkewingY:!1,lockScalingFlip:!1,cornerSize:13,touchCornerSize:24,transparentCorners:!0,cornerColor:"rgb(178,204,255)",cornerStrokeColor:"",cornerStyle:"rect",cornerDashArray:null,hasControls:!0,borderColor:"rgb(178,204,255)",borderDashArray:null,borderOpacityWhenMoving:.4,borderScaleFactor:1,hasBorders:!0,selectionBackgroundColor:"",selectable:!0,evented:!0,perPixelTargetFind:!1,activeOn:"down",hoverCursor:null,moveCursor:null});class vr extends mr{}gr(vr,[zt]),ne.setClass(vr),ne.setClass(vr,"object");const yr=(e,t,n,r)=>{const i=2*(r=Math.round(r))+1,{data:o}=e.getImageData(t-r,n-r,i,i);for(let a=3;a<o.length;a+=4)if(o[a]>0)return!1;return!0};class Ar{constructor(e){this.options=e,this.strokeProjectionMagnitude=this.options.strokeWidth/2,this.scale=new le(this.options.scaleX,this.options.scaleY),this.strokeUniformScalar=this.options.strokeUniform?new le(1/this.options.scaleX,1/this.options.scaleY):new le(1,1)}createSideVector(e,t){const n=Zt(e,t);return this.options.strokeUniform?n.multiply(this.scale):n}projectOrthogonally(e,t,n){return this.applySkew(e.add(this.calcOrthogonalProjection(e,t,n)))}isSkewed(){return 0!==this.options.skewX||0!==this.options.skewY}applySkew(e){const t=new le(e);return t.y+=t.x*Math.tan(be(this.options.skewY)),t.x+=t.y*Math.tan(be(this.options.skewX)),t}scaleUnitVector(e,t){return e.multiply(this.strokeUniformScalar).scalarMultiply(t)}}const br=new le;class wr extends Ar{static getOrthogonalRotationFactor(e,t){const n=t?en(e,t):tn(e);return Math.abs(n)<S?-1:1}constructor(e,t,n,i){super(i),r(this,"AB",void 0),r(this,"AC",void 0),r(this,"alpha",void 0),r(this,"bisector",void 0),this.A=new le(e),this.B=new le(t),this.C=new le(n),this.AB=this.createSideVector(this.A,this.B),this.AC=this.createSideVector(this.A,this.C),this.alpha=en(this.AB,this.AC),this.bisector=nn(Xt(this.AB.eq(br)?this.AC:this.AB,this.alpha/2))}calcOrthogonalProjection(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.strokeProjectionMagnitude;const r=this.createSideVector(e,t),i=rn(r),o=wr.getOrthogonalRotationFactor(i,this.bisector);return this.scaleUnitVector(i,n*o)}projectBevel(){const e=[];return(this.alpha%k==0?[this.B]:[this.B,this.C]).forEach((t=>{e.push(this.projectOrthogonally(this.A,t)),e.push(this.projectOrthogonally(this.A,t,-this.strokeProjectionMagnitude))})),e}projectMiter(){const e=[],t=Math.abs(this.alpha),n=1/Math.sin(t/2),r=this.scaleUnitVector(this.bisector,-this.strokeProjectionMagnitude*n),i=this.options.strokeUniform?$t(this.scaleUnitVector(this.bisector,this.options.strokeMiterLimit)):this.options.strokeMiterLimit;return $t(r)/this.strokeProjectionMagnitude<=i&&e.push(this.applySkew(this.A.add(r))),e.push(...this.projectBevel()),e}projectRoundNoSkew(e,t){const n=[],r=new le(wr.getOrthogonalRotationFactor(this.bisector),wr.getOrthogonalRotationFactor(new le(this.bisector.y,this.bisector.x)));return[new le(1,0).scalarMultiply(this.strokeProjectionMagnitude).multiply(this.strokeUniformScalar).multiply(r),new le(0,1).scalarMultiply(this.strokeProjectionMagnitude).multiply(this.strokeUniformScalar).multiply(r)].forEach((r=>{sn(r,e,t)&&n.push(this.A.add(r))})),n}projectRoundWithSkew(e,t){const n=[],{skewX:r,skewY:i,scaleX:o,scaleY:a,strokeUniform:s}=this.options,l=new le(Math.tan(be(r)),Math.tan(be(i))),c=this.strokeProjectionMagnitude,u=s?c/a/Math.sqrt(1/a**2+1/o**2*l.y**2):c/Math.sqrt(1+l.y**2),d=new le(Math.sqrt(Math.max(c**2-u**2,0)),u),p=s?c/Math.sqrt(1+l.x**2*(1/a)**2/(1/o+1/o*l.x*l.y)**2):c/Math.sqrt(1+l.x**2/(1+l.x*l.y)**2),h=new le(p,Math.sqrt(Math.max(c**2-p**2,0)));return[h,h.scalarMultiply(-1),d,d.scalarMultiply(-1)].map((e=>this.applySkew(s?e.multiply(this.strokeUniformScalar):e))).forEach((r=>{sn(r,e,t)&&n.push(this.applySkew(this.A).add(r))})),n}projectRound(){const e=[];e.push(...this.projectBevel());const t=this.alpha%k==0,n=this.applySkew(this.A),r=e[t?0:2].subtract(n),i=e[t?1:0].subtract(n),o=t?this.applySkew(this.AB.scalarMultiply(-1)):this.applySkew(this.bisector.multiply(this.strokeUniformScalar).scalarMultiply(-1)),a=on(r,o)>0,s=a?r:i,l=a?i:r;return this.isSkewed()?e.push(...this.projectRoundWithSkew(s,l)):e.push(...this.projectRoundNoSkew(s,l)),e}projectPoints(){switch(this.options.strokeLineJoin){case"miter":return this.projectMiter();case"round":return this.projectRound();default:return this.projectBevel()}}project(){return this.projectPoints().map((e=>({originPoint:this.A,projectedPoint:e,angle:this.alpha,bisector:this.bisector})))}}class xr extends Ar{constructor(e,t,n){super(n),this.A=new le(e),this.T=new le(t)}calcOrthogonalProjection(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.strokeProjectionMagnitude;const r=this.createSideVector(e,t);return this.scaleUnitVector(rn(r),n)}projectButt(){return[this.projectOrthogonally(this.A,this.T,this.strokeProjectionMagnitude),this.projectOrthogonally(this.A,this.T,-this.strokeProjectionMagnitude)]}projectRound(){const e=[];if(!this.isSkewed()&&this.A.eq(this.T)){const t=new le(1,1).scalarMultiply(this.strokeProjectionMagnitude).multiply(this.strokeUniformScalar);e.push(this.applySkew(this.A.add(t)),this.applySkew(this.A.subtract(t)))}else e.push(...new wr(this.A,this.T,this.T,this.options).projectRound());return e}projectSquare(){const e=[];if(this.A.eq(this.T)){const t=new le(1,1).scalarMultiply(this.strokeProjectionMagnitude).multiply(this.strokeUniformScalar);e.push(this.A.add(t),this.A.subtract(t))}else{const t=this.calcOrthogonalProjection(this.A,this.T,this.strokeProjectionMagnitude),n=this.scaleUnitVector(nn(this.createSideVector(this.A,this.T)),-this.strokeProjectionMagnitude),r=this.A.add(n);e.push(r.add(t),r.subtract(t))}return e.map((e=>this.applySkew(e)))}projectPoints(){switch(this.options.strokeLineCap){case"round":return this.projectRound();case"square":return this.projectSquare();default:return this.projectButt()}}project(){return this.projectPoints().map((e=>({originPoint:this.A,projectedPoint:e})))}}const Cr=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const r=[];if(0===e.length)return r;const i=e.reduce(((e,t)=>(e[e.length-1].eq(t)||e.push(new le(t)),e)),[new le(e[0])]);if(1===i.length)n=!0;else if(!n){const e=i[0],t=((e,t)=>{for(let n=e.length-1;n>=0;n--)if(t(e[n]))return n;return-1})(i,(t=>!t.eq(e)));i.splice(t+1)}return i.forEach(((e,i,o)=>{let a,s;0===i?(s=o[1],a=n?e:o[o.length-1]):i===o.length-1?(a=o[i-1],s=n?e:o[0]):(a=o[i-1],s=o[i+1]),n&&1===o.length?r.push(...new xr(e,e,t).project()):!n||0!==i&&i!==o.length-1?r.push(...new wr(e,a,s,t).project()):r.push(...new xr(e,0===i?s:a,t).project())})),r},Sr=e=>{const t={};return Object.keys(e).forEach((n=>{t[n]={},Object.keys(e[n]).forEach((r=>{t[n][r]=o({},e[n][r])}))})),t},kr=e=>e.replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&apos;").replace(/</g,"&lt;").replace(/>/g,"&gt;"),Er=e=>{const t=[];for(let n,r=0;r<e.length;r++)!1!==(n=Ir(e,r))&&t.push(n);return t},Ir=(e,t)=>{const n=e.charCodeAt(t);if(isNaN(n))return"";if(n<55296||n>57343)return e.charAt(t);if(55296<=n&&n<=56319){if(e.length<=t+1)throw"High surrogate without following low surrogate";const n=e.charCodeAt(t+1);if(56320>n||n>57343)throw"High surrogate without following low surrogate";return e.charAt(t)+e.charAt(t+1)}if(0===t)throw"Low surrogate without preceding high surrogate";const r=e.charCodeAt(t-1);if(55296>r||r>56319)throw"Low surrogate without preceding high surrogate";return!1};var _r=Object.freeze({__proto__:null,capitalize:function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return"".concat(e.charAt(0).toUpperCase()).concat(t?e.slice(1):e.slice(1).toLowerCase())},escapeXml:kr,graphemeSplit:Er});const Pr=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return e.fill!==t.fill||e.stroke!==t.stroke||e.strokeWidth!==t.strokeWidth||e.fontSize!==t.fontSize||e.fontFamily!==t.fontFamily||e.fontWeight!==t.fontWeight||e.fontStyle!==t.fontStyle||e.textBackgroundColor!==t.textBackgroundColor||e.deltaY!==t.deltaY||n&&(e.overline!==t.overline||e.underline!==t.underline||e.linethrough!==t.linethrough)},Or=(e,t)=>{const n=t.split("\n"),r=[];let i=-1,o={};e=Sr(e);for(let a=0;a<n.length;a++){const t=Er(n[a]);if(e[a])for(let n=0;n<t.length;n++){i++;const t=e[a][n];t&&Object.keys(t).length>0&&(Pr(o,t,!0)?r.push({start:i,end:i+1,style:t}):r[r.length-1].end++),o=t||{}}else i+=t.length,o={}}return r},Tr=(e,t)=>{if(!Array.isArray(e))return Sr(e);const n=t.split(M),r={};let i=-1,a=0;for(let s=0;s<n.length;s++){const t=Er(n[s]);for(let n=0;n<t.length;n++)i++,e[a]&&e[a].start<=i&&i<e[a].end&&(r[s]=r[s]||{},r[s][n]=o({},e[a].style),i===e[a].end-1&&a++)}return r},Dr=["display","transform",X,"fill-opacity","fill-rule","opacity",Z,"stroke-dasharray","stroke-linecap","stroke-dashoffset","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","id","paint-order","vector-effect","instantiated_by_use","clip-path"];function jr(e,t){const n=e.nodeName,r=e.getAttribute("class"),i=e.getAttribute("id"),o="(?![a-zA-Z\\-]+)";let a;if(a=new RegExp("^"+n,"i"),t=t.replace(a,""),i&&t.length&&(a=new RegExp("#"+i+o,"i"),t=t.replace(a,"")),r&&t.length){const e=r.split(" ");for(let n=e.length;n--;)a=new RegExp("\\."+e[n]+o,"i"),t=t.replace(a,"")}return 0===t.length}function Br(e,t){let n=!0;const r=jr(e,t.pop());return r&&t.length&&(n=function(e,t){let n,r=!0;for(;e.parentElement&&1===e.parentElement.nodeType&&t.length;)r&&(n=t.pop()),r=jr(e=e.parentElement,n);return 0===t.length}(e,t)),r&&n&&0===t.length}const Nr=e=>{var t;return null!==(t=qt[e])&&void 0!==t?t:e},Mr=new RegExp("(".concat(Vt,")"),"gi");var Rr,Lr,Fr,zr,Qr,Ur,Vr;const Gr="(".concat(Vt,")"),qr=String.raw(Rr||(Rr=s(["(skewX)(",")"],["(skewX)\\(","\\)"])),Gr),Hr=String.raw(Lr||(Lr=s(["(skewY)(",")"],["(skewY)\\(","\\)"])),Gr),Wr=String.raw(Fr||(Fr=s(["(rotate)(","(?: "," ",")?)"],["(rotate)\\(","(?: "," ",")?\\)"])),Gr,Gr,Gr),Yr=String.raw(zr||(zr=s(["(scale)(","(?: ",")?)"],["(scale)\\(","(?: ",")?\\)"])),Gr,Gr),Kr=String.raw(Qr||(Qr=s(["(translate)(","(?: ",")?)"],["(translate)\\(","(?: ",")?\\)"])),Gr,Gr),Jr=String.raw(Ur||(Ur=s(["(matrix)("," "," "," "," "," ",")"],["(matrix)\\("," "," "," "," "," ","\\)"])),Gr,Gr,Gr,Gr,Gr,Gr),Xr="(?:".concat(Jr,"|").concat(Kr,"|").concat(Wr,"|").concat(Yr,"|").concat(qr,"|").concat(Hr,")"),Zr="(?:".concat(Xr,"*)"),$r=String.raw(Vr||(Vr=s(["^s*(?:","?)s*$"],["^\\s*(?:","?)\\s*$"])),Zr),ei=new RegExp($r),ti=new RegExp(Xr),ni=new RegExp(Xr,"g");function ri(e){const t=[];if(!(e=(e=>e.replace(Mr," $1 ").replace(/,/gi," ").replace(/\s+/gi," "))(e).replace(/\s*([()])\s*/gi,"$1"))||e&&!ei.test(e))return[...I];for(const n of e.matchAll(ni)){const e=ti.exec(n[0]);if(!e)continue;let r=I;const i=e.filter((e=>!!e)),[,o,...a]=i,[s,l,c,u,d,p]=a.map((e=>parseFloat(e)));switch(o){case"translate":r=Pe(s,l);break;case z:r=Oe({angle:s},{x:l,y:c});break;case H:r=Te(s,l);break;case K:r=je(s);break;case J:r=Be(s);break;case"matrix":r=[s,l,c,u,d,p]}t.push(r)}return Ee(t)}function ii(e,t,n,r){const i=Array.isArray(t);let o,a=t;if(e!==X&&e!==Z||t!==N){if("strokeUniform"===e)return"non-scaling-stroke"===t;if("strokeDashArray"===e)a=t===N?null:t.replace(/,/g," ").split(/\s+/).map(parseFloat);else if("transformMatrix"===e)a=n&&n.transformMatrix?ke(n.transformMatrix,ri(t)):ri(t);else if("visible"===e)a=t!==N&&"hidden"!==t,n&&!1===n.visible&&(a=!1);else if("opacity"===e)a=parseFloat(t),n&&void 0!==n.opacity&&(a*=n.opacity);else if("textAnchor"===e)a="start"===t?T:"end"===t?B:O;else if("charSpacing"===e)o=Je(t,r)/r*1e3;else if("paintFirst"===e){const e=t.indexOf(X),n=t.indexOf(Z);a=X,(e>-1&&n>-1&&n<e||-1===e&&n>-1)&&(a=Z)}else{if("href"===e||"xlink:href"===e||"font"===e||"id"===e)return t;if("imageSmoothing"===e)return"optimizeQuality"===t;o=i?t.map(Je):Je(t,r)}}else a="";return!i&&isNaN(o)?a:o}function oi(e,t){e.replace(/;\s*$/,"").split(";").forEach((e=>{if(!e)return;const[n,r]=e.split(":");t[n.trim().toLowerCase()]=r.trim()}))}const ai={stroke:"strokeOpacity",fill:"fillOpacity"};function si(e,t,n){if(!e)return{};let r,i={},a=_;e.parentNode&&Yt.test(e.parentNode.nodeName)&&(i=si(e.parentElement,t,n),i.fontSize&&(r=a=Je(i.fontSize)));const s=o(o(o({},t.reduce(((t,n)=>{const r=e.getAttribute(n);return r&&(t[n]=r),t}),{})),function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={};for(const r in t)Br(e,r.split(" "))&&(n=o(o({},n),t[r]));return n}(e,n)),function(e){const t={},n=e.getAttribute("style");return n?("string"==typeof n?oi(n,t):function(e,t){Object.entries(e).forEach((e=>{let[n,r]=e;void 0!==r&&(t[n.toLowerCase()]=r)}))}(n,t),t):t}(e));s[Wt]&&e.setAttribute(Wt,s[Wt]),s[Ht]&&(r=Je(s[Ht],a),s[Ht]="".concat(r));const l={};for(const o in s){const e=Nr(o),t=ii(e,s[o],i,r);l[e]=t}l&&l.font&&function(e,t){const n=e.match(Gt);if(!n)return;const r=n[1],i=n[3],o=n[4],a=n[5],s=n[6];r&&(t.fontStyle=r),i&&(t.fontWeight=isNaN(parseFloat(i))?i:parseFloat(i)),o&&(t.fontSize=Je(o)),s&&(t.fontFamily=s),a&&(t.lineHeight="normal"===a?1:a)}(l.font,l);const c=o(o({},i),l);return Yt.test(e.nodeName)?c:function(e){const t=vr.getDefaults();return Object.entries(ai).forEach((n=>{let[r,i]=n;if(void 0===e[i]||""===e[r])return;if(void 0===e[r]){if(!t[r])return;e[r]=t[r]}if(0===e[r].indexOf("url("))return;const o=new Ye(e[r]);e[r]=o.setAlpha(Ke(o.getAlpha()*e[i],2)).toRgba()})),e}(c)}const li=["left","top","width","height","visible"],ci=["rx","ry"];class ui extends vr{static getDefaults(){return o(o({},super.getDefaults()),ui.ownDefaults)}constructor(e){super(),Object.assign(this,ui.ownDefaults),this.setOptions(e),this._initRxRy()}_initRxRy(){const{rx:e,ry:t}=this;e&&!t?this.ry=e:t&&!e&&(this.rx=t)}_render(e){const{width:t,height:n}=this,r=-t/2,i=-n/2,o=this.rx?Math.min(this.rx,t/2):0,a=this.ry?Math.min(this.ry,n/2):0,s=0!==o||0!==a;e.beginPath(),e.moveTo(r+o,i),e.lineTo(r+t-o,i),s&&e.bezierCurveTo(r+t-P*o,i,r+t,i+P*a,r+t,i+a),e.lineTo(r+t,i+n-a),s&&e.bezierCurveTo(r+t,i+n-P*a,r+t-P*o,i+n,r+t-o,i+n),e.lineTo(r+o,i+n),s&&e.bezierCurveTo(r+P*o,i+n,r,i+n-P*a,r,i+n-a),e.lineTo(r,i+a),s&&e.bezierCurveTo(r,i+P*a,r+P*o,i,r+o,i),e.closePath(),this._renderPaintInOrder(e)}toObject(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return super.toObject([...ci,...e])}_toSVG(){const{width:e,height:t,rx:n,ry:r}=this;return["<rect ","COMMON_PARTS",'x="'.concat(-e/2,'" y="').concat(-t/2,'" rx="').concat(n,'" ry="').concat(r,'" width="').concat(e,'" height="').concat(t,'" />\n')]}static async fromElement(e,t,n){const r=si(e,this.ATTRIBUTE_NAMES,n),{left:i=0,top:s=0,width:l=0,height:c=0,visible:u=!0}=r,d=a(r,li);return new this(o(o(o({},t),d),{},{left:i,top:s,width:l,height:c,visible:Boolean(u&&l&&c)}))}}r(ui,"type","Rect"),r(ui,"cacheProperties",[...hn,...ci]),r(ui,"ownDefaults",{rx:0,ry:0}),r(ui,"ATTRIBUTE_NAMES",[...Dr,"x","y","rx","ry","width","height"]),ne.setClass(ui),ne.setSVGClass(ui);const di="initialization",pi="added",hi="removed",fi="imperative",mi=(e,t)=>{const{strokeUniform:n,strokeWidth:r,width:i,height:o,group:a}=t,s=a&&a!==e?kt(a.calcTransformMatrix(),e.calcTransformMatrix()):null,l=s?t.getRelativeCenterPoint().transform(s):t.getRelativeCenterPoint(),c=!t.isStrokeAccountedForInDimensions(),u=n&&c?It(new le(r,r),void 0,e.calcTransformMatrix()):ce,d=!n&&c?r:0,p=St(i+d,o+d,Ee([s,t.calcOwnMatrix()],!0)).add(u).scalarDivide(2);return[l.subtract(p),l.add(p)]};class gi{calcLayoutResult(e,t){if(this.shouldPerformLayout(e))return this.calcBoundingBox(t,e)}shouldPerformLayout(e){let{type:t,prevStrategy:n,strategy:r}=e;return t===di||t===fi||!!n&&r!==n}shouldLayoutClipPath(e){let{type:t,target:{clipPath:n}}=e;return t!==di&&n&&!n.absolutePositioned}getInitialSize(e,t){return t.size}calcBoundingBox(e,t){const{type:n,target:r}=t;if(n===fi&&t.overrides)return t.overrides;if(0===e.length)return;const{left:i,top:o,width:a,height:s}=yt(e.map((e=>mi(r,e))).reduce(((e,t)=>e.concat(t)),[])),l=new le(a,s),c=new le(i,o).add(l.scalarDivide(2));if(n===di){const e=this.getInitialSize(t,{size:l,center:c});return{center:c,relativeCorrection:new le(0,0),size:e}}return{center:c.transform(r.calcOwnMatrix()),size:l}}}r(gi,"type","strategy");class vi extends gi{shouldPerformLayout(e){return!0}}r(vi,"type","fit-content"),ne.setClass(vi);const yi=["strategy"],Ai=["target","strategy","bubbles","prevStrategy"],bi="layoutManager";class wi{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new vi;r(this,"strategy",void 0),this.strategy=e,this._subscriptions=new Map}performLayout(e){const t=o(o({bubbles:!0,strategy:this.strategy},e),{},{prevStrategy:this._prevLayoutStrategy,stopPropagation(){this.bubbles=!1}});this.onBeforeLayout(t);const n=this.getLayoutResult(t);n&&this.commitLayout(t,n),this.onAfterLayout(t,n),this._prevLayoutStrategy=t.strategy}attachHandlers(e,t){const{target:n}=t;return[$,R,U,F,L,Q,q,V,G].map((t=>e.on(t,(e=>this.performLayout(t===$?{type:"object_modified",trigger:t,e:e,target:n}:{type:"object_modifying",trigger:t,e:e,target:n})))))}subscribe(e,t){this.unsubscribe(e,t);const n=this.attachHandlers(e,t);this._subscriptions.set(e,n)}unsubscribe(e,t){(this._subscriptions.get(e)||[]).forEach((e=>e())),this._subscriptions.delete(e)}unsubscribeTargets(e){e.targets.forEach((t=>this.unsubscribe(t,e)))}subscribeTargets(e){e.targets.forEach((t=>this.subscribe(t,e)))}onBeforeLayout(e){const{target:t,type:n}=e,{canvas:r}=t;if(n===di||n===pi?this.subscribeTargets(e):n===hi&&this.unsubscribeTargets(e),t.fire("layout:before",{context:e}),r&&r.fire("object:layout:before",{target:t,context:e}),n===fi&&e.deep){const n=a(e,yi);t.forEachObject((e=>e.layoutManager&&e.layoutManager.performLayout(o(o({},n),{},{bubbles:!1,target:e}))))}}getLayoutResult(e){const{target:t,strategy:n,type:r}=e,i=n.calcLayoutResult(e,t.getObjects());if(!i)return;const o=r===di?new le:t.getRelativeCenterPoint(),{center:a,correction:s=new le,relativeCorrection:l=new le}=i,c=o.subtract(a).add(s).transform(r===di?I:Se(t.calcOwnMatrix()),!0).add(l);return{result:i,prevCenter:o,nextCenter:a,offset:c}}commitLayout(e,t){const{target:n}=e,{result:{size:r},nextCenter:i}=t;var o,a;n.set({width:r.x,height:r.y}),this.layoutObjects(e,t),e.type===di?n.set({left:null!==(o=e.x)&&void 0!==o?o:i.x+r.x*Tt(n.originX),top:null!==(a=e.y)&&void 0!==a?a:i.y+r.y*Tt(n.originY)}):(n.setPositionByOrigin(i,O,O),n.setCoords(),n.set("dirty",!0))}layoutObjects(e,t){const{target:n}=e;n.forEachObject((r=>{r.group===n&&this.layoutObject(e,t,r)})),e.strategy.shouldLayoutClipPath(e)&&this.layoutObject(e,t,n.clipPath)}layoutObject(e,t,n){let{offset:r}=t;n.set({left:n.left+r.x,top:n.top+r.y})}onAfterLayout(e,t){const{target:n,strategy:r,bubbles:i,prevStrategy:s}=e,l=a(e,Ai),{canvas:c}=n;n.fire("layout:after",{context:e,result:t}),c&&c.fire("object:layout:after",{context:e,result:t,target:n});const u=n.parent;i&&null!=u&&u.layoutManager&&((l.path||(l.path=[])).push(n),u.layoutManager.performLayout(o(o({},l),{},{target:u}))),n.set("dirty",!0)}dispose(){const{_subscriptions:e}=this;e.forEach((e=>e.forEach((e=>e())))),e.clear()}toObject(){return{type:bi,strategy:this.strategy.constructor.type}}toJSON(){return this.toObject()}}ne.setClass(wi,bi);const xi=["type","objects","layoutManager"];class Ci extends wi{performLayout(){}}class Si extends(de(vr)){static getDefaults(){return o(o({},super.getDefaults()),Si.ownDefaults)}constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};super(),r(this,"_activeObjects",[]),r(this,"__objectSelectionTracker",void 0),r(this,"__objectSelectionDisposer",void 0),Object.assign(this,Si.ownDefaults),this.setOptions(t),this.groupInit(e,t)}groupInit(e,t){var n;this._objects=[...e],this.__objectSelectionTracker=this.__objectSelectionMonitor.bind(this,!0),this.__objectSelectionDisposer=this.__objectSelectionMonitor.bind(this,!1),this.forEachObject((e=>{this.enterGroup(e,!1)})),this.layoutManager=null!==(n=t.layoutManager)&&void 0!==n?n:new wi,this.layoutManager.performLayout({type:di,target:this,targets:[...e],x:t.left,y:t.top})}canEnterGroup(e){return e===this||this.isDescendantOf(e)?(u("error","Group: circular object trees are not supported, this call has no effect"),!1):-1===this._objects.indexOf(e)||(u("error","Group: duplicate objects are not supported inside group, this call has no effect"),!1)}_filterObjectsBeforeEnteringGroup(e){return e.filter(((e,t,n)=>this.canEnterGroup(e)&&n.indexOf(e)===t))}add(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const r=this._filterObjectsBeforeEnteringGroup(t),i=super.add(...r);return this._onAfterObjectsChange(pi,r),i}insertAt(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];const i=this._filterObjectsBeforeEnteringGroup(n),o=super.insertAt(e,...i);return this._onAfterObjectsChange(pi,i),o}remove(){const e=super.remove(...arguments);return this._onAfterObjectsChange(hi,e),e}_onObjectAdded(e){this.enterGroup(e,!0),this.fire("object:added",{target:e}),e.fire("added",{target:this})}_onObjectRemoved(e,t){this.exitGroup(e,t),this.fire("object:removed",{target:e}),e.fire("removed",{target:this})}_onAfterObjectsChange(e,t){this.layoutManager.performLayout({type:e,targets:t,target:this})}_onStackOrderChanged(){this._set("dirty",!0)}_set(e,t){const n=this[e];return super._set(e,t),"canvas"===e&&n!==t&&(this._objects||[]).forEach((n=>{n._set(e,t)})),this}_shouldSetNestedCoords(){return this.subTargetCheck}removeAll(){return this._activeObjects=[],this.remove(...this._objects)}__objectSelectionMonitor(e,t){let{target:n}=t;const r=this._activeObjects;if(e)r.push(n),this._set("dirty",!0);else if(r.length>0){const e=r.indexOf(n);e>-1&&(r.splice(e,1),this._set("dirty",!0))}}_watchObject(e,t){e&&this._watchObject(!1,t),e?(t.on("selected",this.__objectSelectionTracker),t.on("deselected",this.__objectSelectionDisposer)):(t.off("selected",this.__objectSelectionTracker),t.off("deselected",this.__objectSelectionDisposer))}enterGroup(e,t){e.group&&e.group.remove(e),e._set("parent",this),this._enterGroup(e,t)}_enterGroup(e,t){t&&wt(e,ke(Se(this.calcTransformMatrix()),e.calcTransformMatrix())),this._shouldSetNestedCoords()&&e.setCoords(),e._set("group",this),e._set("canvas",this.canvas),this._watchObject(!0,e);const n=this.canvas&&this.canvas.getActiveObject&&this.canvas.getActiveObject();n&&(n===e||e.isDescendantOf(n))&&this._activeObjects.push(e)}exitGroup(e,t){this._exitGroup(e,t),e._set("parent",void 0),e._set("canvas",void 0)}_exitGroup(e,t){e._set("group",void 0),t||(wt(e,ke(this.calcTransformMatrix(),e.calcTransformMatrix())),e.setCoords()),this._watchObject(!1,e);const n=this._activeObjects.length>0?this._activeObjects.indexOf(e):-1;n>-1&&this._activeObjects.splice(n,1)}shouldCache(){const e=vr.prototype.shouldCache.call(this);if(e)for(let t=0;t<this._objects.length;t++)if(this._objects[t].willDrawShadow())return this.ownCaching=!1,!1;return e}willDrawShadow(){if(super.willDrawShadow())return!0;for(let e=0;e<this._objects.length;e++)if(this._objects[e].willDrawShadow())return!0;return!1}isOnACache(){return this.ownCaching||!!this.parent&&this.parent.isOnACache()}drawObject(e){this._renderBackground(e);for(let n=0;n<this._objects.length;n++){var t;null!==(t=this.canvas)&&void 0!==t&&t.preserveObjectStacking&&this._objects[n].group!==this?(e.save(),e.transform(...Se(this.calcTransformMatrix())),this._objects[n].render(e),e.restore()):this._objects[n].group===this&&this._objects[n].render(e)}this._drawClipPath(e,this.clipPath)}setCoords(){super.setCoords(),this._shouldSetNestedCoords()&&this.forEachObject((e=>e.setCoords()))}triggerLayout(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.layoutManager.performLayout(o({target:this,type:fi},e))}render(e){this._transformDone=!0,super.render(e),this._transformDone=!1}__serializeObjects(e,t){const n=this.includeDefaultValues;return this._objects.filter((function(e){return!e.excludeFromExport})).map((function(r){const i=r.includeDefaultValues;r.includeDefaultValues=n;const o=r[e||"toObject"](t);return r.includeDefaultValues=i,o}))}toObject(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];const t=this.layoutManager.toObject();return o(o(o({},super.toObject(["subTargetCheck","interactive",...e])),"fit-content"!==t.strategy||this.includeDefaultValues?{layoutManager:t}:{}),{},{objects:this.__serializeObjects("toObject",e)})}toString(){return"#<Group: (".concat(this.complexity(),")>")}dispose(){this.layoutManager.unsubscribeTargets({targets:this.getObjects(),target:this}),this._activeObjects=[],this.forEachObject((e=>{this._watchObject(!1,e),e.dispose()})),super.dispose()}_createSVGBgRect(e){if(!this.backgroundColor)return"";const t=ui.prototype._toSVG.call(this),n=t.indexOf("COMMON_PARTS");t[n]='for="group" ';const r=t.join("");return e?e(r):r}_toSVG(e){const t=["<g ","COMMON_PARTS"," >\n"],n=this._createSVGBgRect(e);n&&t.push("\t\t",n);for(let r=0;r<this._objects.length;r++)t.push("\t\t",this._objects[r].toSVG(e));return t.push("</g>\n"),t}getSvgStyles(){const e=void 0!==this.opacity&&1!==this.opacity?"opacity: ".concat(this.opacity,";"):"",t=this.visible?"":" visibility: hidden;";return[e,this.getSvgFilter(),t].join("")}toClipPathSVG(e){const t=[],n=this._createSVGBgRect(e);n&&t.push("\t",n);for(let r=0;r<this._objects.length;r++)t.push("\t",this._objects[r].toClipPathSVG(e));return this._createBaseClipPathSVGMarkup(t,{reviver:e})}static fromObject(e,t){let{type:n,objects:r=[],layoutManager:i}=e,s=a(e,xi);return Promise.all([Le(r,t),Fe(s,t)]).then((e=>{let[t,n]=e;const r=new this(t,o(o(o({},s),n),{},{layoutManager:new Ci}));if(i){const e=ne.getClass(i.type),t=ne.getClass(i.strategy);r.layoutManager=new e(new t)}else r.layoutManager=new wi;return r.layoutManager.subscribeTargets({type:di,target:r,targets:r.getObjects()}),r.setCoords(),r}))}}r(Si,"type","Group"),r(Si,"ownDefaults",{strokeWidth:0,subTargetCheck:!1,interactive:!1}),ne.setClass(Si);const ki=(e,t)=>Math.min(t.width/e.width,t.height/e.height),Ei=(e,t)=>Math.max(t.width/e.width,t.height/e.height),Ii="\\s*,?\\s*",_i="".concat(Ii,"(").concat(Vt,")"),Pi="".concat(_i).concat(_i).concat(_i).concat(Ii,"([01])").concat(Ii,"([01])").concat(_i).concat(_i),Oi={m:"l",M:"L"},Ti=(e,t,n,r,i,o,a,s,l,c,u)=>{const d=ae(e),p=se(e),h=ae(t),f=se(t),m=n*i*h-r*o*f+a,g=r*i*h+n*o*f+s;return["C",c+l*(-n*i*p-r*o*d),u+l*(-r*i*p+n*o*d),m+l*(n*i*f+r*o*h),g+l*(r*i*f-n*o*h),m,g]},Di=(e,t,n,r)=>{const i=Math.atan2(t,e),o=Math.atan2(r,n);return o>=i?o-i:2*Math.PI-(i-o)};function ji(e,t,n,r,i,o,a,s){let l;if(c.cachesBoundsOfCurve&&(l=[...arguments].join(),w.boundsOfCurveCache[l]))return w.boundsOfCurveCache[l];const u=Math.sqrt,d=Math.abs,p=[],h=[[0,0],[0,0]];let f=6*e-12*n+6*i,m=-3*e+9*n-9*i+3*a,g=3*n-3*e;for(let c=0;c<2;++c){if(c>0&&(f=6*t-12*r+6*o,m=-3*t+9*r-9*o+3*s,g=3*r-3*t),d(m)<1e-12){if(d(f)<1e-12)continue;const e=-g/f;0<e&&e<1&&p.push(e);continue}const e=f*f-4*g*m;if(e<0)continue;const n=u(e),i=(-f+n)/(2*m);0<i&&i<1&&p.push(i);const a=(-f-n)/(2*m);0<a&&a<1&&p.push(a)}let v=p.length;const y=v,A=Ri(e,t,n,r,i,o,a,s);for(;v--;){const{x:e,y:t}=A(p[v]);h[0][v]=e,h[1][v]=t}h[0][y]=e,h[1][y]=t,h[0][y+1]=a,h[1][y+1]=s;const b=[new le(Math.min(...h[0]),Math.min(...h[1])),new le(Math.max(...h[0]),Math.max(...h[1]))];return c.cachesBoundsOfCurve&&(w.boundsOfCurveCache[l]=b),b}const Bi=(e,t,n)=>{let[r,i,o,a,s,l,c,u]=n;const d=((e,t,n,r,i,o,a)=>{if(0===n||0===r)return[];let s=0,l=0,c=0;const u=Math.PI,d=a*E,p=se(d),h=ae(d),f=.5*(-h*e-p*t),m=.5*(-h*t+p*e),g=n**2,v=r**2,y=m**2,A=f**2,b=g*v-g*y-v*A;let w=Math.abs(n),x=Math.abs(r);if(b<0){const e=Math.sqrt(1-b/(g*v));w*=e,x*=e}else c=(i===o?-1:1)*Math.sqrt(b/(g*y+v*A));const C=c*w*m/x,S=-c*x*f/w,k=h*C-p*S+.5*e,I=p*C+h*S+.5*t;let _=Di(1,0,(f-C)/w,(m-S)/x),P=Di((f-C)/w,(m-S)/x,(-f-C)/w,(-m-S)/x);0===o&&P>0?P-=2*u:1===o&&P<0&&(P+=2*u);const O=Math.ceil(Math.abs(P/u*2)),T=[],D=P/O,j=8/3*Math.sin(D/4)*Math.sin(D/4)/Math.sin(D/2);let B=_+D;for(let E=0;E<O;E++)T[E]=Ti(_,B,h,p,w,x,k,I,j,s,l),s=T[E][5],l=T[E][6],_=B,B+=D;return T})(c-e,u-t,i,o,s,l,a);for(let p=0,h=d.length;p<h;p++)d[p][1]+=e,d[p][2]+=t,d[p][3]+=e,d[p][4]+=t,d[p][5]+=e,d[p][6]+=t;return d},Ni=e=>{let t=0,n=0,r=0,i=0;const o=[];let a,s=0,l=0;for(const c of e){const e=[...c];let u;switch(e[0]){case"l":e[1]+=t,e[2]+=n;case"L":t=e[1],n=e[2],u=["L",t,n];break;case"h":e[1]+=t;case"H":t=e[1],u=["L",t,n];break;case"v":e[1]+=n;case"V":n=e[1],u=["L",t,n];break;case"m":e[1]+=t,e[2]+=n;case"M":t=e[1],n=e[2],r=e[1],i=e[2],u=["M",t,n];break;case"c":e[1]+=t,e[2]+=n,e[3]+=t,e[4]+=n,e[5]+=t,e[6]+=n;case"C":s=e[3],l=e[4],t=e[5],n=e[6],u=["C",e[1],e[2],s,l,t,n];break;case"s":e[1]+=t,e[2]+=n,e[3]+=t,e[4]+=n;case"S":"C"===a?(s=2*t-s,l=2*n-l):(s=t,l=n),t=e[3],n=e[4],u=["C",s,l,e[1],e[2],t,n],s=u[3],l=u[4];break;case"q":e[1]+=t,e[2]+=n,e[3]+=t,e[4]+=n;case"Q":s=e[1],l=e[2],t=e[3],n=e[4],u=["Q",s,l,t,n];break;case"t":e[1]+=t,e[2]+=n;case"T":"Q"===a?(s=2*t-s,l=2*n-l):(s=t,l=n),t=e[1],n=e[2],u=["Q",s,l,t,n];break;case"a":e[6]+=t,e[7]+=n;case"A":Bi(t,n,e).forEach((e=>o.push(e))),t=e[6],n=e[7];break;case"z":case"Z":t=r,n=i,u=["Z"]}u?(o.push(u),a=u[0]):a=""}return o},Mi=(e,t,n,r)=>Math.sqrt((n-e)**2+(r-t)**2),Ri=(e,t,n,r,i,o,a,s)=>l=>{const c=l**3,u=(e=>3*e**2*(1-e))(l),d=(e=>3*e*(1-e)**2)(l),p=(e=>(1-e)**3)(l);return new le(a*c+i*u+n*d+e*p,s*c+o*u+r*d+t*p)},Li=e=>e**2,Fi=e=>2*e*(1-e),zi=e=>(1-e)**2,Qi=(e,t,n,r,i,o,a,s)=>l=>{const c=Li(l),u=Fi(l),d=zi(l),p=3*(d*(n-e)+u*(i-n)+c*(a-i)),h=3*(d*(r-t)+u*(o-r)+c*(s-o));return Math.atan2(h,p)},Ui=(e,t,n,r,i,o)=>a=>{const s=Li(a),l=Fi(a),c=zi(a);return new le(i*s+n*l+e*c,o*s+r*l+t*c)},Vi=(e,t,n,r,i,o)=>a=>{const s=1-a,l=2*(s*(n-e)+a*(i-n)),c=2*(s*(r-t)+a*(o-r));return Math.atan2(c,l)},Gi=(e,t,n)=>{let r=new le(t,n),i=0;for(let o=1;o<=100;o+=1){const t=e(o/100);i+=Mi(r.x,r.y,t.x,t.y),r=t}return i},qi=e=>{let t,n,r=0,i=0,o=0,a=0,s=0;const l=[];for(const c of e){const e={x:i,y:o,command:c[0],length:0};switch(c[0]){case"M":n=e,n.x=a=i=c[1],n.y=s=o=c[2];break;case"L":n=e,n.length=Mi(i,o,c[1],c[2]),i=c[1],o=c[2];break;case"C":t=Ri(i,o,c[1],c[2],c[3],c[4],c[5],c[6]),n=e,n.iterator=t,n.angleFinder=Qi(i,o,c[1],c[2],c[3],c[4],c[5],c[6]),n.length=Gi(t,i,o),i=c[5],o=c[6];break;case"Q":t=Ui(i,o,c[1],c[2],c[3],c[4]),n=e,n.iterator=t,n.angleFinder=Vi(i,o,c[1],c[2],c[3],c[4]),n.length=Gi(t,i,o),i=c[3],o=c[4];break;case"Z":n=e,n.destX=a,n.destY=s,n.length=Mi(i,o,a,s),i=a,o=s}r+=n.length,l.push(n)}return l.push({length:r,x:i,y:o}),l},Hi=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:qi(e),r=0;for(;t-n[r].length>0&&r<n.length-2;)t-=n[r].length,r++;const i=n[r],a=t/i.length,s=e[r];switch(i.command){case"M":return{x:i.x,y:i.y,angle:0};case"Z":return o(o({},new le(i.x,i.y).lerp(new le(i.destX,i.destY),a)),{},{angle:Math.atan2(i.destY-i.y,i.destX-i.x)});case"L":return o(o({},new le(i.x,i.y).lerp(new le(s[1],s[2]),a)),{},{angle:Math.atan2(s[2]-i.y,s[1]-i.x)});case"C":case"Q":return((e,t)=>{let n,r=0,i=0,a={x:e.x,y:e.y},s=o({},a),l=.01,c=0;const u=e.iterator,d=e.angleFinder;for(;i<t&&l>1e-4;)s=u(r),c=r,n=Mi(a.x,a.y,s.x,s.y),n+i>t?(r-=l,l/=2):(a=s,r+=l,i+=n);return o(o({},s),{},{angle:d(c)})})(i,t)}},Wi=new RegExp("[mzlhvcsqta][^mzlhvcsqta]*","gi"),Yi=new RegExp(Pi,"g"),Ki=new RegExp(Vt,"gi"),Ji={m:2,l:2,h:1,v:1,c:6,s:4,q:4,t:2,a:7},Xi=e=>{var t;const n=[],r=null!==(t=e.match(Wi))&&void 0!==t?t:[];for(const i of r){const e=i[0];if("z"===e||"Z"===e){n.push([e]);continue}const t=Ji[e.toLowerCase()];let r=[];if("a"===e||"A"===e){Yi.lastIndex=0;for(let e=null;e=Yi.exec(i);)r.push(...e.slice(1))}else r=i.match(Ki)||[];for(let i=0;i<r.length;i+=t){const o=new Array(t),a=Oi[e];o[0]=i>0&&a?a:e;for(let e=0;e<t;e++)o[e+1]=parseFloat(r[i+e]);n.push(o)}}return n},Zi=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=new le(e[0]),r=new le(e[1]),i=1,o=0;const a=[],s=e.length,l=s>2;let c;for(l&&(i=e[2].x<r.x?-1:e[2].x===r.x?0:1,o=e[2].y<r.y?-1:e[2].y===r.y?0:1),a.push(["M",n.x-i*t,n.y-o*t]),c=1;c<s;c++){if(!n.eq(r)){const e=n.midPointFrom(r);a.push(["Q",n.x,n.y,e.x,e.y])}n=e[c],c+1<e.length&&(r=e[c+1])}return l&&(i=n.x>e[c-2].x?1:n.x===e[c-2].x?0:-1,o=n.y>e[c-2].y?1:n.y===e[c-2].y?0:-1),a.push(["L",n.x+i*t,n.y+o*t]),a},$i=(e,t)=>e.map((e=>e.map(((e,n)=>0===n||void 0===t?e:Ke(e,t))).join(" "))).join(" ");function eo(e,t){const n=e.style;n&&t&&("string"==typeof t?n.cssText+=";"+t:Object.entries(t).forEach((e=>{let[t,r]=e;return n.setProperty(t,r)})))}const to=(e,t)=>Math.floor(Math.random()*(t-e+1))+e;function no(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=t.onComplete||C,r=new(A().XMLHttpRequest),i=t.signal,o=function(){r.abort()},a=function(){i&&i.removeEventListener("abort",o),r.onerror=r.ontimeout=C};if(i&&i.aborted)throw new p("request");return i&&i.addEventListener("abort",o,{once:!0}),r.onreadystatechange=function(){4===r.readyState&&(a(),n(r),r.onreadystatechange=C)},r.onerror=r.ontimeout=a,r.open("get",e,!0),r.send(),r}const ro=(e,t)=>{let n=e._findCenterFromElement();e.transformMatrix&&((e=>{if(e.transformMatrix){const{scaleX:t,scaleY:n,angle:r,skewX:i}=_e(e.transformMatrix);e.flipX=!1,e.flipY=!1,e.set(W,t),e.set(Y,n),e.angle=r,e.skewX=i,e.skewY=0}})(e),n=n.transform(e.transformMatrix)),delete e.transformMatrix,t&&(e.scaleX*=t.scaleX,e.scaleY*=t.scaleY,e.cropX=t.cropX,e.cropY=t.cropY,n.x+=t.offsetLeft,n.y+=t.offsetTop,e.width=t.width,e.height=t.height),e.setPositionByOrigin(n,O,O)};var io=Object.freeze({__proto__:null,addTransformToObject:bt,animate:Tn,animateColor:Dn,applyTransformToObject:wt,calcAngleBetweenVectors:en,calcDimensionsMatrix:Ne,calcPlaneChangeMatrix:kt,calcVectorRotation:tn,cancelAnimFrame:fe,capValue:dn,composeMatrix:Me,copyCanvasElement:e=>{var t;const n=ve();return n.width=e.width,n.height=e.height,null===(t=n.getContext("2d"))||void 0===t||t.drawImage(e,0,0),n},cos:ae,createCanvasElement:ve,createImage:ye,createRotateMatrix:Oe,createScaleMatrix:Te,createSkewXMatrix:je,createSkewYMatrix:Be,createTranslateMatrix:Pe,createVector:Zt,crossProduct:on,degreesToRadians:be,dotProduct:an,ease:bn,enlivenObjectEnlivables:Fe,enlivenObjects:Le,findScaleToCover:Ei,findScaleToFit:ki,getBoundsOfCurve:ji,getOrthonormalVector:rn,getPathSegmentsInfo:qi,getPointOnPath:Hi,getPointer:mt,getRandomInt:to,getRegularPolygonPath:(e,t)=>{const n=2*Math.PI/e;let r=-S;e%2==0&&(r+=n/2);const i=new Array(e+1);for(let o=0;o<e;o++){const e=o*n+r,{x:a,y:s}=new le(ae(e),se(e)).scalarMultiply(t);i[o]=[0===o?"M":"L",a,s]}return i[e]=["Z"],i},getSmoothPathFromPoints:Zi,getSvgAttributes:e=>{const t=["instantiated_by_use","style","id","class"];switch(e){case"linearGradient":return t.concat(["x1","y1","x2","y2","gradientUnits","gradientTransform"]);case"radialGradient":return t.concat(["gradientUnits","gradientTransform","cx","cy","r","fx","fy","fr"]);case"stop":return t.concat(["offset","stop-color","stop-opacity"])}return t},getUnitVector:nn,groupSVGElements:(e,t)=>e&&1===e.length?e[0]:new Si(e,t),hasStyleChanged:Pr,invertTransform:Se,isBetweenVectors:sn,isIdentityMatrix:xe,isTouchEvent:gt,isTransparent:yr,joinPath:$i,loadImage:Re,magnitude:$t,makeBoundingBoxFromPoints:yt,makePathSimpler:Ni,matrixToSVG:Ze,mergeClipPaths:(e,t)=>{var n;let r=e,i=t;r.inverted&&!i.inverted&&(r=t,i=e),_t(i,null===(n=i.group)||void 0===n?void 0:n.calcTransformMatrix(),r.calcTransformMatrix());const o=r.inverted&&i.inverted;return o&&(r.inverted=i.inverted=!1),new Si([r],{clipPath:i,inverted:o})},multiplyTransformMatrices:ke,multiplyTransformMatrixArray:Ee,parsePath:Xi,parsePreserveAspectRatioAttribute:Xe,parseUnit:Je,pick:ze,projectStrokeOnPoints:Cr,qrDecompose:_e,radiansToDegrees:we,removeFromArray:oe,removeTransformFromObject:(e,t)=>{const n=Se(t),r=ke(n,e.calcOwnMatrix());wt(e,r)},removeTransformMatrixForSvgParsing:ro,request:no,requestAnimFrame:he,resetObjectTransform:xt,rotatePoint:(e,t,n)=>e.rotate(n,t),rotateVector:Xt,saveObjectTransform:Ct,sendObjectToPlane:_t,sendPointToPlane:Et,sendVectorToPlane:It,setStyle:eo,sin:se,sizeAfterTransform:St,string:_r,stylesFromArray:Tr,stylesToArray:Or,toDataURL:Ae,toFixed:Ke,transformPath:(e,t,n)=>(n&&(t=ke(t,[1,0,0,1,-n.x,-n.y])),e.map((e=>{const n=[...e];for(let r=1;r<e.length-1;r+=2){const{x:i,y:o}=Ce({x:e[r],y:e[r+1]},t);n[r]=i,n[r+1]=o}return n}))),transformPoint:Ce});class oo extends dt{constructor(e){let{allowTouchScrolling:t=!1,containerClass:n=""}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};super(e),r(this,"upper",void 0),r(this,"container",void 0);const{el:i}=this.lower,o=this.createUpperCanvas();this.upper={el:o,ctx:o.getContext("2d")},this.applyCanvasStyle(i,{allowTouchScrolling:t}),this.applyCanvasStyle(o,{allowTouchScrolling:t,styles:{position:"absolute",left:"0",top:"0"}});const a=this.createContainerElement();a.classList.add(n),i.parentNode&&i.parentNode.replaceChild(a,i),a.append(i,o),this.container=a}createUpperCanvas(){const{el:e}=this.lower,t=ve();return t.className=e.className,t.classList.remove("lower-canvas"),t.classList.add("upper-canvas"),t.setAttribute("data-fabric","top"),t.style.cssText=e.style.cssText,t.setAttribute("draggable","true"),t}createContainerElement(){const e=y().createElement("div");return e.setAttribute("data-fabric","wrapper"),eo(e,{position:"relative"}),ut(e),e}applyCanvasStyle(e,t){const{styles:n,allowTouchScrolling:r}=t;eo(e,o(o({},n),{},{"touch-action":r?"manipulation":N})),ut(e)}setDimensions(e,t){super.setDimensions(e,t);const{el:n,ctx:r}=this.upper;lt(n,r,e,t)}setCSSDimensions(e){super.setCSSDimensions(e),ct(this.upper.el,e),ct(this.container,e)}cleanupDOM(e){const t=this.container,{el:n}=this.lower,{el:r}=this.upper;super.cleanupDOM(e),t.removeChild(r),t.removeChild(n),t.parentNode&&t.parentNode.replaceChild(n,t)}dispose(){super.dispose(),v().dispose(this.upper.el),delete this.upper,delete this.container}}class ao extends ht{constructor(){super(...arguments),r(this,"targets",[]),r(this,"_hoveredTargets",[]),r(this,"_objectsToRender",void 0),r(this,"_currentTransform",null),r(this,"_groupSelector",null),r(this,"contextTopDirty",!1)}static getDefaults(){return o(o({},super.getDefaults()),ao.ownDefaults)}get upperCanvasEl(){var e;return null===(e=this.elements.upper)||void 0===e?void 0:e.el}get contextTop(){var e;return null===(e=this.elements.upper)||void 0===e?void 0:e.ctx}get wrapperEl(){return this.elements.container}initElements(e){this.elements=new oo(e,{allowTouchScrolling:this.allowTouchScrolling,containerClass:this.containerClass}),this._createCacheCanvas()}_onObjectAdded(e){this._objectsToRender=void 0,super._onObjectAdded(e)}_onObjectRemoved(e){this._objectsToRender=void 0,e===this._activeObject&&(this.fire("before:selection:cleared",{deselected:[e]}),this._discardActiveObject(),this.fire("selection:cleared",{deselected:[e]}),e.fire("deselected",{target:e})),e===this._hoveredTarget&&(this._hoveredTarget=void 0,this._hoveredTargets=[]),super._onObjectRemoved(e)}_onStackOrderChanged(){this._objectsToRender=void 0,super._onStackOrderChanged()}_chooseObjectsToRender(){const e=this._activeObject;return!this.preserveObjectStacking&&e?this._objects.filter((t=>!t.group&&t!==e)).concat(e):this._objects}renderAll(){this.cancelRequestedRender(),this.destroyed||(!this.contextTopDirty||this._groupSelector||this.isDrawingMode||(this.clearContext(this.contextTop),this.contextTopDirty=!1),this.hasLostContext&&(this.renderTopLayer(this.contextTop),this.hasLostContext=!1),!this._objectsToRender&&(this._objectsToRender=this._chooseObjectsToRender()),this.renderCanvas(this.getContext(),this._objectsToRender))}renderTopLayer(e){e.save(),this.isDrawingMode&&this._isCurrentlyDrawing&&(this.freeDrawingBrush&&this.freeDrawingBrush._render(),this.contextTopDirty=!0),this.selection&&this._groupSelector&&(this._drawSelection(e),this.contextTopDirty=!0),e.restore()}renderTop(){const e=this.contextTop;this.clearContext(e),this.renderTopLayer(e),this.fire("after:render",{ctx:e})}setTargetFindTolerance(e){e=Math.round(e),this.targetFindTolerance=e;const t=this.getRetinaScaling(),n=Math.ceil((2*e+1)*t);this.pixelFindCanvasEl.width=this.pixelFindCanvasEl.height=n,this.pixelFindContext.scale(t,t)}isTargetTransparent(e,t,n){const r=this.targetFindTolerance,i=this.pixelFindContext;this.clearContext(i),i.save(),i.translate(-t+r,-n+r),i.transform(...this.viewportTransform);const o=e.selectionBackgroundColor;e.selectionBackgroundColor="",e.render(i),e.selectionBackgroundColor=o,i.restore();const a=Math.round(r*this.getRetinaScaling());return yr(i,a,a,a)}_isSelectionKeyPressed(e){const t=this.selectionKey;return!!t&&(Array.isArray(t)?!!t.find((t=>!!t&&!0===e[t])):e[t])}_shouldClearSelection(e,t){const n=this.getActiveObjects(),r=this._activeObject;return!!(!t||t&&r&&n.length>1&&-1===n.indexOf(t)&&r!==t&&!this._isSelectionKeyPressed(e)||t&&!t.evented||t&&!t.selectable&&r&&r!==t)}_shouldCenterTransform(e,t,n){if(!e)return;let r;return t===H||t===W||t===Y||t===U?r=this.centeredScaling||e.centeredScaling:t===z&&(r=this.centeredRotation||e.centeredRotation),r?!n:n}_getOriginFromCorner(e,t){const n={x:e.originX,y:e.originY};return t?(["ml","tl","bl"].includes(t)?n.x=B:["mr","tr","br"].includes(t)&&(n.x=T),["tl","mt","tr"].includes(t)?n.y=j:["bl","mb","br"].includes(t)&&(n.y=D),n):n}_setupCurrentTransform(e,t,n){var r;const i=t.group?Et(this.getScenePoint(e),void 0,t.group.calcTransformMatrix()):this.getScenePoint(e),{key:a="",control:s}=t.getActiveControl()||{},l=n&&s?null===(r=s.getActionHandler(e,t,s))||void 0===r?void 0:r.bind(s):Ft,c=((e,t,n,r)=>{if(!t||!e)return"drag";const i=r.controls[t];return i.getActionName(n,i,r)})(n,a,e,t),u=e[this.centeredKey],d=this._shouldCenterTransform(t,c,u)?{x:O,y:O}:this._getOriginFromCorner(t,a),p={target:t,action:c,actionHandler:l,actionPerformed:!1,corner:a,scaleX:t.scaleX,scaleY:t.scaleY,skewX:t.skewX,skewY:t.skewY,offsetX:i.x-t.left,offsetY:i.y-t.top,originX:d.x,originY:d.y,ex:i.x,ey:i.y,lastX:i.x,lastY:i.y,theta:be(t.angle),width:t.width,height:t.height,shiftKey:e.shiftKey,altKey:u,original:o(o({},Ct(t)),{},{originX:d.x,originY:d.y})};this._currentTransform=p,this.fire("before:transform",{e:e,transform:p})}setCursor(e){this.upperCanvasEl.style.cursor=e}_drawSelection(e){const{x:t,y:n,deltaX:r,deltaY:i}=this._groupSelector,o=new le(t,n).transform(this.viewportTransform),a=new le(t+r,n+i).transform(this.viewportTransform),s=this.selectionLineWidth/2;let l=Math.min(o.x,a.x),c=Math.min(o.y,a.y),u=Math.max(o.x,a.x),d=Math.max(o.y,a.y);this.selectionColor&&(e.fillStyle=this.selectionColor,e.fillRect(l,c,u-l,d-c)),this.selectionLineWidth&&this.selectionBorderColor&&(e.lineWidth=this.selectionLineWidth,e.strokeStyle=this.selectionBorderColor,l+=s,c+=s,u-=s,d-=s,vr.prototype._setLineDash.call(this,e,this.selectionDashArray),e.strokeRect(l,c,u-l,d-c))}findTarget(e){if(this.skipTargetFind)return;const t=this.getViewportPoint(e),n=this._activeObject,r=this.getActiveObjects();if(this.targets=[],n&&r.length>=1){if(n.findControl(t,gt(e)))return n;if(r.length>1&&this.searchPossibleTargets([n],t))return n;if(n===this.searchPossibleTargets([n],t)){if(this.preserveObjectStacking){const r=this.targets;this.targets=[];const i=this.searchPossibleTargets(this._objects,t);return e[this.altSelectionKey]&&i&&i!==n?(this.targets=r,n):i}return n}}return this.searchPossibleTargets(this._objects,t)}_pointIsInObjectSelectionArea(e,t){let n=e.getCoords();const r=this.getZoom(),i=e.padding/r;if(i){const[e,t,r,o]=n,a=Math.atan2(t.y-e.y,t.x-e.x),s=ae(a)*i,l=se(a)*i,c=s+l,u=s-l;n=[new le(e.x-u,e.y-c),new le(t.x+c,t.y-u),new le(r.x+u,r.y+c),new le(o.x-c,o.y+u)]}return jn.isPointInPolygon(t,n)}_checkTarget(e,t){if(e&&e.visible&&e.evented&&this._pointIsInObjectSelectionArea(e,Et(t,void 0,this.viewportTransform))){if(!this.perPixelTargetFind&&!e.perPixelTargetFind||e.isEditing)return!0;if(!this.isTargetTransparent(e,t.x,t.y))return!0}return!1}_searchPossibleTargets(e,t){let n=e.length;for(;n--;){const r=e[n];if(this._checkTarget(r,t)){if(ue(r)&&r.subTargetCheck){const e=this._searchPossibleTargets(r._objects,t);e&&this.targets.push(e)}return r}}}searchPossibleTargets(e,t){const n=this._searchPossibleTargets(e,t);if(n&&ue(n)&&n.interactive&&this.targets[0]){const e=this.targets;for(let t=e.length-1;t>0;t--){const n=e[t];if(!ue(n)||!n.interactive)return n}return e[0]}return n}getViewportPoint(e){return this._pointer?this._pointer:this.getPointer(e,!0)}getScenePoint(e){return this._absolutePointer?this._absolutePointer:this.getPointer(e)}getPointer(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const n=this.upperCanvasEl,r=n.getBoundingClientRect();let i=mt(e),o=r.width||0,a=r.height||0;o&&a||(D in r&&j in r&&(a=Math.abs(r.top-r.bottom)),B in r&&T in r&&(o=Math.abs(r.right-r.left))),this.calcOffset(),i.x=i.x-this._offset.left,i.y=i.y-this._offset.top,t||(i=Et(i,void 0,this.viewportTransform));const s=this.getRetinaScaling();1!==s&&(i.x/=s,i.y/=s);const l=0===o||0===a?new le(1,1):new le(n.width/o,n.height/a);return i.multiply(l)}_setDimensionsImpl(e,t){this._resetTransformEventData(),super._setDimensionsImpl(e,t),this._isCurrentlyDrawing&&this.freeDrawingBrush&&this.freeDrawingBrush._setBrushStyles(this.contextTop)}_createCacheCanvas(){this.pixelFindCanvasEl=ve(),this.pixelFindContext=this.pixelFindCanvasEl.getContext("2d",{willReadFrequently:!0}),this.setTargetFindTolerance(this.targetFindTolerance)}getTopContext(){return this.elements.upper.ctx}getSelectionContext(){return this.elements.upper.ctx}getSelectionElement(){return this.elements.upper.el}getActiveObject(){return this._activeObject}getActiveObjects(){const e=this._activeObject;return it(e)?e.getObjects():e?[e]:[]}_fireSelectionEvents(e,t){let n=!1,r=!1;const i=this.getActiveObjects(),o=[],a=[];e.forEach((e=>{i.includes(e)||(n=!0,e.fire("deselected",{e:t,target:e}),a.push(e))})),i.forEach((r=>{e.includes(r)||(n=!0,r.fire("selected",{e:t,target:r}),o.push(r))})),e.length>0&&i.length>0?(r=!0,n&&this.fire("selection:updated",{e:t,selected:o,deselected:a})):i.length>0?(r=!0,this.fire("selection:created",{e:t,selected:o})):e.length>0&&(r=!0,this.fire("selection:cleared",{e:t,deselected:a})),r&&(this._objectsToRender=void 0)}setActiveObject(e,t){const n=this.getActiveObjects(),r=this._setActiveObject(e,t);return this._fireSelectionEvents(n,t),r}_setActiveObject(e,t){const n=this._activeObject;return n!==e&&!(!this._discardActiveObject(t,e)&&this._activeObject)&&!e.onSelect({e:t})&&(this._activeObject=e,it(e)&&n!==e&&e.set("canvas",this),e.setCoords(),!0)}_discardActiveObject(e,t){const n=this._activeObject;return!!n&&!n.onDeselect({e:e,object:t})&&(this._currentTransform&&this._currentTransform.target===n&&this.endCurrentTransform(e),it(n)&&n===this._hoveredTarget&&(this._hoveredTarget=void 0),this._activeObject=void 0,!0)}discardActiveObject(e){const t=this.getActiveObjects(),n=this.getActiveObject();t.length&&this.fire("before:selection:cleared",{e:e,deselected:[n]});const r=this._discardActiveObject(e);return this._fireSelectionEvents(t,e),r}endCurrentTransform(e){const t=this._currentTransform;this._finalizeCurrentTransform(e),t&&t.target&&(t.target.isMoving=!1),this._currentTransform=null}_finalizeCurrentTransform(e){const t=this._currentTransform,n=t.target,r={e:e,target:n,transform:t,action:t.action};n._scaling&&(n._scaling=!1),n.setCoords(),t.actionPerformed&&(this.fire("object:modified",r),n.fire($,r))}setViewportTransform(e){super.setViewportTransform(e);const t=this._activeObject;t&&t.setCoords()}destroy(){const e=this._activeObject;it(e)&&(e.removeAll(),e.dispose()),delete this._activeObject,super.destroy(),this.pixelFindContext=null,this.pixelFindCanvasEl=void 0}clear(){this.discardActiveObject(),this._activeObject=void 0,this.clearContext(this.contextTop),super.clear()}drawControls(e){const t=this._activeObject;t&&t._renderControls(e)}_toObject(e,t,n){const r=this._realizeGroupTransformOnObject(e),i=super._toObject(e,t,n);return e.set(r),i}_realizeGroupTransformOnObject(e){const{group:t}=e;if(t&&it(t)&&this._activeObject===t){const n=ze(e,["angle","flipX","flipY",T,W,Y,K,J,D]);return bt(e,t.calcOwnMatrix()),n}return{}}_setSVGObject(e,t,n){const r=this._realizeGroupTransformOnObject(t);super._setSVGObject(e,t,n),t.set(r)}}r(ao,"ownDefaults",{uniformScaling:!0,uniScaleKey:"shiftKey",centeredScaling:!1,centeredRotation:!1,centeredKey:"altKey",altActionKey:"shiftKey",selection:!0,selectionKey:"shiftKey",selectionColor:"rgba(100, 100, 255, 0.3)",selectionDashArray:[],selectionBorderColor:"rgba(255, 255, 255, 0.3)",selectionLineWidth:1,selectionFullyContained:!1,hoverCursor:"move",moveCursor:"move",defaultCursor:"default",freeDrawingCursor:"crosshair",notAllowedCursor:"not-allowed",perPixelTargetFind:!1,targetFindTolerance:0,skipTargetFind:!1,stopContextMenu:!1,fireRightClick:!1,fireMiddleClick:!1,enablePointerEvents:!1,containerClass:"canvas-container",preserveObjectStacking:!1});class so{constructor(e){r(this,"targets",[]),r(this,"__disposer",void 0);const t=()=>{const{hiddenTextarea:t}=e.getActiveObject()||{};t&&t.focus()},n=e.upperCanvasEl;n.addEventListener("click",t),this.__disposer=()=>n.removeEventListener("click",t)}exitTextEditing(){this.target=void 0,this.targets.forEach((e=>{e.isEditing&&e.exitEditing()}))}add(e){this.targets.push(e)}remove(e){this.unregister(e),oe(this.targets,e)}register(e){this.target=e}unregister(e){e===this.target&&(this.target=void 0)}onMouseMove(e){var t;(null===(t=this.target)||void 0===t?void 0:t.isEditing)&&this.target.updateSelectionOnMouseMove(e)}clear(){this.targets=[],this.target=void 0}dispose(){this.clear(),this.__disposer(),delete this.__disposer}}const lo=["target","oldTarget","fireCanvas","e"],co={passive:!1},uo=(e,t)=>{const n=e.getViewportPoint(t),r=e.getScenePoint(t);return{viewportPoint:n,scenePoint:r,pointer:n,absolutePointer:r}},po=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return e.addEventListener(...n)},ho=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return e.removeEventListener(...n)},fo={mouse:{in:"over",out:"out",targetIn:"mouseover",targetOut:"mouseout",canvasIn:"mouse:over",canvasOut:"mouse:out"},drag:{in:"enter",out:"leave",targetIn:"dragenter",targetOut:"dragleave",canvasIn:"drag:enter",canvasOut:"drag:leave"}};class mo extends ao{constructor(e){super(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}),r(this,"_isClick",void 0),r(this,"textEditingManager",new so(this)),["_onMouseDown","_onTouchStart","_onMouseMove","_onMouseUp","_onTouchEnd","_onResize","_onMouseWheel","_onMouseOut","_onMouseEnter","_onContextMenu","_onDoubleClick","_onDragStart","_onDragEnd","_onDragProgress","_onDragOver","_onDragEnter","_onDragLeave","_onDrop"].forEach((e=>{this[e]=this[e].bind(this)})),this.addOrRemove(po,"add")}_getEventPrefix(){return this.enablePointerEvents?"pointer":"mouse"}addOrRemove(e,t){const n=this.upperCanvasEl,r=this._getEventPrefix();e(st(n),"resize",this._onResize),e(n,r+"down",this._onMouseDown),e(n,"".concat(r,"move"),this._onMouseMove,co),e(n,"".concat(r,"out"),this._onMouseOut),e(n,"".concat(r,"enter"),this._onMouseEnter),e(n,"wheel",this._onMouseWheel),e(n,"contextmenu",this._onContextMenu),e(n,"dblclick",this._onDoubleClick),e(n,"dragstart",this._onDragStart),e(n,"dragend",this._onDragEnd),e(n,"dragover",this._onDragOver),e(n,"dragenter",this._onDragEnter),e(n,"dragleave",this._onDragLeave),e(n,"drop",this._onDrop),this.enablePointerEvents||e(n,"touchstart",this._onTouchStart,co)}removeListeners(){this.addOrRemove(ho,"remove");const e=this._getEventPrefix(),t=at(this.upperCanvasEl);ho(t,"".concat(e,"up"),this._onMouseUp),ho(t,"touchend",this._onTouchEnd,co),ho(t,"".concat(e,"move"),this._onMouseMove,co),ho(t,"touchmove",this._onMouseMove,co)}_onMouseWheel(e){this.__onMouseWheel(e)}_onMouseOut(e){const t=this._hoveredTarget,n=o({e:e},uo(this,e));this.fire("mouse:out",o(o({},n),{},{target:t})),this._hoveredTarget=void 0,t&&t.fire("mouseout",o({},n)),this._hoveredTargets.forEach((e=>{this.fire("mouse:out",o(o({},n),{},{target:e})),e&&e.fire("mouseout",o({},n))})),this._hoveredTargets=[]}_onMouseEnter(e){this._currentTransform||this.findTarget(e)||(this.fire("mouse:over",o({e:e},uo(this,e))),this._hoveredTarget=void 0,this._hoveredTargets=[])}_onDragStart(e){this._isClick=!1;const t=this.getActiveObject();if(t&&t.onDragStart(e)){this._dragSource=t;const n={e:e,target:t};return this.fire("dragstart",n),t.fire("dragstart",n),void po(this.upperCanvasEl,"drag",this._onDragProgress)}vt(e)}_renderDragEffects(e,t,n){let r=!1;const i=this._dropTarget;i&&i!==t&&i!==n&&(i.clearContextTop(),r=!0),null==t||t.clearContextTop(),n!==t&&(null==n||n.clearContextTop());const o=this.contextTop;o.save(),o.transform(...this.viewportTransform),t&&(o.save(),t.transform(o),t.renderDragSourceEffect(e),o.restore(),r=!0),n&&(o.save(),n.transform(o),n.renderDropTargetEffect(e),o.restore(),r=!0),o.restore(),r&&(this.contextTopDirty=!0)}_onDragEnd(e){const t=!!e.dataTransfer&&e.dataTransfer.dropEffect!==N,n=t?this._activeObject:void 0,r={e:e,target:this._dragSource,subTargets:this.targets,dragSource:this._dragSource,didDrop:t,dropTarget:n};ho(this.upperCanvasEl,"drag",this._onDragProgress),this.fire("dragend",r),this._dragSource&&this._dragSource.fire("dragend",r),delete this._dragSource,this._onMouseUp(e)}_onDragProgress(e){const t={e:e,target:this._dragSource,dragSource:this._dragSource,dropTarget:this._draggedoverTarget};this.fire("drag",t),this._dragSource&&this._dragSource.fire("drag",t)}findDragTargets(e){return this.targets=[],{target:this._searchPossibleTargets(this._objects,this.getViewportPoint(e)),targets:[...this.targets]}}_onDragOver(e){const t="dragover",{target:n,targets:r}=this.findDragTargets(e),i=this._dragSource,o={e:e,target:n,subTargets:r,dragSource:i,canDrop:!1,dropTarget:void 0};let a;this.fire(t,o),this._fireEnterLeaveEvents(n,o),n&&(n.canDrop(e)&&(a=n),n.fire(t,o));for(let s=0;s<r.length;s++){const n=r[s];n.canDrop(e)&&(a=n),n.fire(t,o)}this._renderDragEffects(e,i,a),this._dropTarget=a}_onDragEnter(e){const{target:t,targets:n}=this.findDragTargets(e),r={e:e,target:t,subTargets:n,dragSource:this._dragSource};this.fire("dragenter",r),this._fireEnterLeaveEvents(t,r)}_onDragLeave(e){const t={e:e,target:this._draggedoverTarget,subTargets:this.targets,dragSource:this._dragSource};this.fire("dragleave",t),this._fireEnterLeaveEvents(void 0,t),this._renderDragEffects(e,this._dragSource),this._dropTarget=void 0,this.targets=[],this._hoveredTargets=[]}_onDrop(e){const{target:t,targets:n}=this.findDragTargets(e),r=this._basicEventHandler("drop:before",o({e:e,target:t,subTargets:n,dragSource:this._dragSource},uo(this,e)));r.didDrop=!1,r.dropTarget=void 0,this._basicEventHandler("drop",r),this.fire("drop:after",r)}_onContextMenu(e){const t=this.findTarget(e),n=this.targets||[],r=this._basicEventHandler("contextmenu:before",{e:e,target:t,subTargets:n});return this.stopContextMenu&&vt(e),this._basicEventHandler("contextmenu",r),!1}_onDoubleClick(e){this._cacheTransformEventData(e),this._handleEvent(e,"dblclick"),this._resetTransformEventData()}getPointerId(e){const t=e.changedTouches;return t?t[0]&&t[0].identifier:this.enablePointerEvents?e.pointerId:-1}_isMainEvent(e){return!0===e.isPrimary||!1!==e.isPrimary&&("touchend"===e.type&&0===e.touches.length||!e.changedTouches||e.changedTouches[0].identifier===this.mainTouchId)}_onTouchStart(e){e.preventDefault(),void 0===this.mainTouchId&&(this.mainTouchId=this.getPointerId(e)),this.__onMouseDown(e),this._resetTransformEventData();const t=this.upperCanvasEl,n=this._getEventPrefix(),r=at(t);po(r,"touchend",this._onTouchEnd,co),po(r,"touchmove",this._onMouseMove,co),ho(t,"".concat(n,"down"),this._onMouseDown)}_onMouseDown(e){this.__onMouseDown(e),this._resetTransformEventData();const t=this.upperCanvasEl,n=this._getEventPrefix();ho(t,"".concat(n,"move"),this._onMouseMove,co);const r=at(t);po(r,"".concat(n,"up"),this._onMouseUp),po(r,"".concat(n,"move"),this._onMouseMove,co)}_onTouchEnd(e){if(e.touches.length>0)return;this.__onMouseUp(e),this._resetTransformEventData(),delete this.mainTouchId;const t=this._getEventPrefix(),n=at(this.upperCanvasEl);ho(n,"touchend",this._onTouchEnd,co),ho(n,"touchmove",this._onMouseMove,co),this._willAddMouseDown&&clearTimeout(this._willAddMouseDown),this._willAddMouseDown=setTimeout((()=>{po(this.upperCanvasEl,"".concat(t,"down"),this._onMouseDown),this._willAddMouseDown=0}),400)}_onMouseUp(e){this.__onMouseUp(e),this._resetTransformEventData();const t=this.upperCanvasEl,n=this._getEventPrefix();if(this._isMainEvent(e)){const e=at(this.upperCanvasEl);ho(e,"".concat(n,"up"),this._onMouseUp),ho(e,"".concat(n,"move"),this._onMouseMove,co),po(t,"".concat(n,"move"),this._onMouseMove,co)}}_onMouseMove(e){const t=this.getActiveObject();!this.allowTouchScrolling&&(!t||!t.shouldStartDragging(e))&&e.preventDefault&&e.preventDefault(),this.__onMouseMove(e)}_onResize(){this.calcOffset(),this._resetTransformEventData()}_shouldRender(e){const t=this.getActiveObject();return!!t!=!!e||t&&e&&t!==e}__onMouseUp(e){var t;this._cacheTransformEventData(e),this._handleEvent(e,"up:before");const n=this._currentTransform,r=this._isClick,i=this._target,{button:o}=e;if(o)return(this.fireMiddleClick&&1===o||this.fireRightClick&&2===o)&&this._handleEvent(e,"up"),void this._resetTransformEventData();if(this.isDrawingMode&&this._isCurrentlyDrawing)return void this._onMouseUpInDrawingMode(e);if(!this._isMainEvent(e))return;let a,s,l=!1;if(n&&(this._finalizeCurrentTransform(e),l=n.actionPerformed),!r){const t=i===this._activeObject;this.handleSelection(e),l||(l=this._shouldRender(i)||!t&&i===this._activeObject)}if(i){const t=i.findControl(this.getViewportPoint(e),gt(e)),{key:r,control:o}=t||{};if(s=r,i.selectable&&i!==this._activeObject&&"up"===i.activeOn)this.setActiveObject(i,e),l=!0;else if(o){const t=o.getMouseUpHandler(e,i,o);t&&(a=this.getScenePoint(e),t.call(o,e,n,a.x,a.y))}i.isMoving=!1}if(n&&(n.target!==i||n.corner!==s)){const t=n.target&&n.target.controls[n.corner],r=t&&t.getMouseUpHandler(e,n.target,t);a=a||this.getScenePoint(e),r&&r.call(t,e,n,a.x,a.y)}this._setCursorFromEvent(e,i),this._handleEvent(e,"up"),this._groupSelector=null,this._currentTransform=null,i&&(i.__corner=void 0),l?this.requestRenderAll():r||null!==(t=this._activeObject)&&void 0!==t&&t.isEditing||this.renderTop()}_basicEventHandler(e,t){const{target:n,subTargets:r=[]}=t;this.fire(e,t),n&&n.fire(e,t);for(let i=0;i<r.length;i++)r[i]!==n&&r[i].fire(e,t);return t}_handleEvent(e,t){const n=this._target,r=this.targets||[],i=o(o({e:e,target:n,subTargets:r},uo(this,e)),{},{transform:this._currentTransform},"up:before"===t||"up"===t?{isClick:this._isClick,currentTarget:this.findTarget(e),currentSubTargets:this.targets}:{});this.fire("mouse:".concat(t),i),n&&n.fire("mouse".concat(t),i);for(let o=0;o<r.length;o++)r[o]!==n&&r[o].fire("mouse".concat(t),i)}_onMouseDownInDrawingMode(e){this._isCurrentlyDrawing=!0,this.getActiveObject()&&(this.discardActiveObject(e),this.requestRenderAll());const t=this.getScenePoint(e);this.freeDrawingBrush&&this.freeDrawingBrush.onMouseDown(t,{e:e,pointer:t}),this._handleEvent(e,"down")}_onMouseMoveInDrawingMode(e){if(this._isCurrentlyDrawing){const t=this.getScenePoint(e);this.freeDrawingBrush&&this.freeDrawingBrush.onMouseMove(t,{e:e,pointer:t})}this.setCursor(this.freeDrawingCursor),this._handleEvent(e,"move")}_onMouseUpInDrawingMode(e){const t=this.getScenePoint(e);this.freeDrawingBrush?this._isCurrentlyDrawing=!!this.freeDrawingBrush.onMouseUp({e:e,pointer:t}):this._isCurrentlyDrawing=!1,this._handleEvent(e,"up")}__onMouseDown(e){this._isClick=!0,this._cacheTransformEventData(e),this._handleEvent(e,"down:before");let t=this._target;const{button:n}=e;if(n)return(this.fireMiddleClick&&1===n||this.fireRightClick&&2===n)&&this._handleEvent(e,"down"),void this._resetTransformEventData();if(this.isDrawingMode)return void this._onMouseDownInDrawingMode(e);if(!this._isMainEvent(e))return;if(this._currentTransform)return;let r=this._shouldRender(t),i=!1;if(this.handleMultiSelection(e,t)?(t=this._activeObject,i=!0,r=!0):this._shouldClearSelection(e,t)&&this.discardActiveObject(e),this.selection&&(!t||!t.selectable&&!t.isEditing&&t!==this._activeObject)){const t=this.getScenePoint(e);this._groupSelector={x:t.x,y:t.y,deltaY:0,deltaX:0}}if(t){const n=t===this._activeObject;t.selectable&&"down"===t.activeOn&&this.setActiveObject(t,e);const r=t.findControl(this.getViewportPoint(e),gt(e));if(t===this._activeObject&&(r||!i)){this._setupCurrentTransform(e,t,n);const i=r?r.control:void 0,o=this.getScenePoint(e),a=i&&i.getMouseDownHandler(e,t,i);a&&a.call(i,e,this._currentTransform,o.x,o.y)}}r&&(this._objectsToRender=void 0),this._handleEvent(e,"down"),r&&this.requestRenderAll()}_resetTransformEventData(){this._target=void 0,this._pointer=void 0,this._absolutePointer=void 0}_cacheTransformEventData(e){this._resetTransformEventData(),this._pointer=this.getViewportPoint(e),this._absolutePointer=Et(this._pointer,void 0,this.viewportTransform),this._target=this._currentTransform?this._currentTransform.target:this.findTarget(e)}__onMouseMove(e){if(this._isClick=!1,this._cacheTransformEventData(e),this._handleEvent(e,"move:before"),this.isDrawingMode)return void this._onMouseMoveInDrawingMode(e);if(!this._isMainEvent(e))return;const t=this._groupSelector;if(t){const n=this.getScenePoint(e);t.deltaX=n.x-t.x,t.deltaY=n.y-t.y,this.renderTop()}else if(this._currentTransform)this._transformObject(e);else{const t=this.findTarget(e);this._setCursorFromEvent(e,t),this._fireOverOutEvents(e,t)}this.textEditingManager.onMouseMove(e),this._handleEvent(e,"move"),this._resetTransformEventData()}_fireOverOutEvents(e,t){const n=this._hoveredTarget,r=this._hoveredTargets,i=this.targets,o=Math.max(r.length,i.length);this.fireSyntheticInOutEvents("mouse",{e:e,target:t,oldTarget:n,fireCanvas:!0});for(let a=0;a<o;a++)this.fireSyntheticInOutEvents("mouse",{e:e,target:i[a],oldTarget:r[a]});this._hoveredTarget=t,this._hoveredTargets=this.targets.concat()}_fireEnterLeaveEvents(e,t){const n=this._draggedoverTarget,r=this._hoveredTargets,i=this.targets,a=Math.max(r.length,i.length);this.fireSyntheticInOutEvents("drag",o(o({},t),{},{target:e,oldTarget:n,fireCanvas:!0}));for(let s=0;s<a;s++)this.fireSyntheticInOutEvents("drag",o(o({},t),{},{target:i[s],oldTarget:r[s]}));this._draggedoverTarget=e}fireSyntheticInOutEvents(e,t){let{target:n,oldTarget:r,fireCanvas:i,e:s}=t,l=a(t,lo);const{targetIn:c,targetOut:u,canvasIn:d,canvasOut:p}=fo[e],h=r!==n;if(r&&h){const e=o(o({},l),{},{e:s,target:r,nextTarget:n},uo(this,s));i&&this.fire(p,e),r.fire(u,e)}if(n&&h){const e=o(o({},l),{},{e:s,target:n,previousTarget:r},uo(this,s));i&&this.fire(d,e),n.fire(c,e)}}__onMouseWheel(e){this._cacheTransformEventData(e),this._handleEvent(e,"wheel"),this._resetTransformEventData()}_transformObject(e){const t=this.getScenePoint(e),n=this._currentTransform,r=n.target,i=r.group?Et(t,void 0,r.group.calcTransformMatrix()):t;n.shiftKey=e.shiftKey,n.altKey=!!this.centeredKey&&e[this.centeredKey],this._performTransformAction(e,n,i),n.actionPerformed&&this.requestRenderAll()}_performTransformAction(e,t,n){const{action:r,actionHandler:i,target:o}=t,a=!!i&&i(e,t,n.x,n.y);a&&o.setCoords(),"drag"===r&&a&&(t.target.isMoving=!0,this.setCursor(t.target.moveCursor||this.moveCursor)),t.actionPerformed=t.actionPerformed||a}_setCursorFromEvent(e,t){if(!t)return void this.setCursor(this.defaultCursor);let n=t.hoverCursor||this.hoverCursor;const r=it(this._activeObject)?this._activeObject:null,i=(!r||t.group!==r)&&t.findControl(this.getViewportPoint(e));if(i){const n=i.control;this.setCursor(n.cursorStyleHandler(e,n,t))}else t.subTargetCheck&&this.targets.concat().reverse().map((e=>{n=e.hoverCursor||n})),this.setCursor(n)}handleMultiSelection(e,t){const n=this._activeObject,r=it(n);if(n&&this._isSelectionKeyPressed(e)&&this.selection&&t&&t.selectable&&(n!==t||r)&&(r||!t.isDescendantOf(n)&&!n.isDescendantOf(t))&&!t.onSelect({e:e})&&!n.getActiveControl()){if(r){const r=n.getObjects();if(t===n){const n=this.getViewportPoint(e);if(!(t=this.searchPossibleTargets(r,n)||this.searchPossibleTargets(this._objects,n))||!t.selectable)return!1}t.group===n?(n.remove(t),this._hoveredTarget=t,this._hoveredTargets=[...this.targets],1===n.size()&&this._setActiveObject(n.item(0),e)):(n.multiSelectAdd(t),this._hoveredTarget=n,this._hoveredTargets=[...this.targets]),this._fireSelectionEvents(r,e)}else{n.exitEditing&&n.exitEditing();const r=new(ne.getClass("ActiveSelection"))([],{canvas:this});r.multiSelectAdd(n,t),this._hoveredTarget=r,this._setActiveObject(r,e),this._fireSelectionEvents([n],e)}return!0}return!1}handleSelection(e){if(!this.selection||!this._groupSelector)return!1;const{x:t,y:n,deltaX:r,deltaY:i}=this._groupSelector,o=new le(t,n),a=o.add(new le(r,i)),s=o.min(a),l=o.max(a).subtract(s),c=this.collectObjects({left:s.x,top:s.y,width:l.x,height:l.y},{includeIntersecting:!this.selectionFullyContained}),u=o.eq(a)?c[0]?[c[0]]:[]:c.length>1?c.filter((t=>!t.onSelect({e:e}))).reverse():c;if(1===u.length)this.setActiveObject(u[0],e);else if(u.length>1){const t=ne.getClass("ActiveSelection");this.setActiveObject(new t(u,{canvas:this}),e)}return this._groupSelector=null,!0}clear(){this.textEditingManager.clear(),super.clear()}destroy(){this.removeListeners(),this.textEditingManager.dispose(),super.destroy()}}const go={x1:0,y1:0,x2:0,y2:0},vo=o(o({},go),{},{r1:0,r2:0}),yo=(e,t)=>isNaN(e)&&"number"==typeof t?t:e,Ao=/^(\d+\.\d+)%|(\d+)%$/;function bo(e){return e&&Ao.test(e)}function wo(e,t){const n="number"==typeof e?e:"string"==typeof e?parseFloat(e)/(bo(e)?100:1):NaN;return dn(0,yo(n,t),1)}const xo=/\s*;\s*/,Co=/\s*:\s*/;function So(e,t){let n,r;const i=e.getAttribute("style");if(i){const e=i.split(xo);""===e[e.length-1]&&e.pop();for(let t=e.length;t--;){const[i,o]=e[t].split(Co).map((e=>e.trim()));"stop-color"===i?n=o:"stop-opacity"===i&&(r=o)}}const o=new Ye(n||e.getAttribute("stop-color")||"rgb(0,0,0)");return{offset:wo(e.getAttribute("offset"),0),color:o.toRgb(),opacity:yo(parseFloat(r||e.getAttribute("stop-opacity")||""),1)*o.getAlpha()*t}}function ko(e,t){const n=[],r=e.getElementsByTagName("stop"),i=wo(t,1);for(let o=r.length;o--;)n.push(So(r[o],i));return n}function Eo(e){return"linearGradient"===e.nodeName||"LINEARGRADIENT"===e.nodeName?"linear":"radial"}function Io(e){return"userSpaceOnUse"===e.getAttribute("gradientUnits")?"pixels":"percentage"}function _o(e,t){return e.getAttribute(t)}function Po(e,t){return function(e,t){let n,{width:r,height:i,gradientUnits:o}=t;return Object.keys(e).reduce(((t,a)=>{const s=e[a];return"Infinity"===s?n=1:"-Infinity"===s?n=0:(n="string"==typeof s?parseFloat(s):s,"string"==typeof s&&bo(s)&&(n*=.01,"pixels"===o&&("x1"!==a&&"x2"!==a&&"r2"!==a||(n*=r),"y1"!==a&&"y2"!==a||(n*=i)))),t[a]=n,t}),{})}("linear"===Eo(e)?function(e){return{x1:_o(e,"x1")||0,y1:_o(e,"y1")||0,x2:_o(e,"x2")||"100%",y2:_o(e,"y2")||0}}(e):function(e){return{x1:_o(e,"fx")||_o(e,"cx")||"50%",y1:_o(e,"fy")||_o(e,"cy")||"50%",r1:0,x2:_o(e,"cx")||"50%",y2:_o(e,"cy")||"50%",r2:_o(e,"r")||"50%"}}(e),o(o({},t),{},{gradientUnits:Io(e)}))}class Oo{constructor(e){const{type:t="linear",gradientUnits:n="pixels",coords:r={},colorStops:i=[],offsetX:a=0,offsetY:s=0,gradientTransform:l,id:c}=e||{};Object.assign(this,{type:t,gradientUnits:n,coords:o(o({},"radial"===t?vo:go),r),colorStops:i,offsetX:a,offsetY:s,gradientTransform:l,id:c?"".concat(c,"_").concat(ge()):ge()})}addColorStop(e){for(const t in e){const n=new Ye(e[t]);this.colorStops.push({offset:parseFloat(t),color:n.toRgb(),opacity:n.getAlpha()})}return this}toObject(e){return o(o({},ze(this,e)),{},{type:this.type,coords:o({},this.coords),colorStops:this.colorStops.map((e=>o({},e))),offsetX:this.offsetX,offsetY:this.offsetY,gradientUnits:this.gradientUnits,gradientTransform:this.gradientTransform?[...this.gradientTransform]:void 0})}toSVG(e){let{additionalTransform:t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=[],r=this.gradientTransform?this.gradientTransform.concat():I.concat(),i="pixels"===this.gradientUnits?"userSpaceOnUse":"objectBoundingBox",a=this.colorStops.map((e=>o({},e))).sort(((e,t)=>e.offset-t.offset));let s=-this.offsetX,l=-this.offsetY;var c;"objectBoundingBox"===i?(s/=e.width,l/=e.height):(s+=e.width/2,l+=e.height/2),(c=e)&&"function"==typeof c._renderPathCommands&&"percentage"!==this.gradientUnits&&(s-=e.pathOffset.x,l-=e.pathOffset.y),r[4]-=s,r[5]-=l;const u=['id="SVGID_'.concat(this.id,'"'),'gradientUnits="'.concat(i,'"'),'gradientTransform="'.concat(t?t+" ":"").concat(Ze(r),'"'),""].join(" ");if("linear"===this.type){const{x1:e,y1:t,x2:r,y2:i}=this.coords;n.push("<linearGradient ",u,' x1="',e,'" y1="',t,'" x2="',r,'" y2="',i,'">\n')}else if("radial"===this.type){const{x1:e,y1:t,x2:r,y2:i,r1:o,r2:s}=this.coords,l=o>s;n.push("<radialGradient ",u,' cx="',l?e:r,'" cy="',l?t:i,'" r="',l?o:s,'" fx="',l?r:e,'" fy="',l?i:t,'">\n'),l&&(a.reverse(),a.forEach((e=>{e.offset=1-e.offset})));const c=Math.min(o,s);if(c>0){const e=c/Math.max(o,s);a.forEach((t=>{t.offset+=e*(1-t.offset)}))}}return a.forEach((e=>{let{color:t,offset:r,opacity:i}=e;n.push("<stop ",'offset="',100*r+"%",'" style="stop-color:',t,void 0!==i?";stop-opacity: "+i:";",'"/>\n')})),n.push("linear"===this.type?"</linearGradient>":"</radialGradient>","\n"),n.join("")}toLive(e){const{x1:t,y1:n,x2:r,y2:i,r1:o,r2:a}=this.coords,s="linear"===this.type?e.createLinearGradient(t,n,r,i):e.createRadialGradient(t,n,o,r,i,a);return this.colorStops.forEach((e=>{let{color:t,opacity:n,offset:r}=e;s.addColorStop(r,void 0!==n?new Ye(t).setAlpha(n).toRgba():t)})),s}static async fromObject(e){const{colorStops:t,gradientTransform:n}=e;return new this(o(o({},e),{},{colorStops:t?t.map((e=>o({},e))):void 0,gradientTransform:n?[...n]:void 0}))}static fromElement(e,t,n){const r=Io(e),i=t._findCenterFromElement();return new this(o({id:e.getAttribute("id")||void 0,type:Eo(e),coords:Po(e,{width:n.viewBoxWidth||n.width,height:n.viewBoxHeight||n.height}),colorStops:ko(e,n.opacity),gradientUnits:r,gradientTransform:ri(e.getAttribute("gradientTransform")||"")},"pixels"===r?{offsetX:t.width/2-i.x,offsetY:t.height/2-i.y}:{offsetX:0,offsetY:0}))}}r(Oo,"type","Gradient"),ne.setClass(Oo,"gradient"),ne.setClass(Oo,"linear"),ne.setClass(Oo,"radial");const To=["type","source","patternTransform"];class Do{get type(){return"pattern"}set type(e){u("warn","Setting type has no effect",e)}constructor(e){r(this,"repeat","repeat"),r(this,"offsetX",0),r(this,"offsetY",0),r(this,"crossOrigin",""),this.id=ge(),Object.assign(this,e)}isImageSource(){return!!this.source&&"string"==typeof this.source.src}isCanvasSource(){return!!this.source&&!!this.source.toDataURL}sourceToString(){return this.isImageSource()?this.source.src:this.isCanvasSource()?this.source.toDataURL():""}toLive(e){return this.source&&(!this.isImageSource()||this.source.complete&&0!==this.source.naturalWidth&&0!==this.source.naturalHeight)?e.createPattern(this.source,this.repeat):null}toObject(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];const{repeat:t,crossOrigin:n}=this;return o(o({},ze(this,e)),{},{type:"pattern",source:this.sourceToString(),repeat:t,crossOrigin:n,offsetX:Ke(this.offsetX,c.NUM_FRACTION_DIGITS),offsetY:Ke(this.offsetY,c.NUM_FRACTION_DIGITS),patternTransform:this.patternTransform?[...this.patternTransform]:null})}toSVG(e){let{width:t,height:n}=e;const{source:r,repeat:i,id:o}=this,a=yo(this.offsetX/t,0),s=yo(this.offsetY/n,0),l="repeat-y"===i||"no-repeat"===i?1+Math.abs(a||0):yo(r.width/t,0),c="repeat-x"===i||"no-repeat"===i?1+Math.abs(s||0):yo(r.height/n,0);return['<pattern id="SVGID_'.concat(o,'" x="').concat(a,'" y="').concat(s,'" width="').concat(l,'" height="').concat(c,'">'),'<image x="0" y="0" width="'.concat(r.width,'" height="').concat(r.height,'" xlink:href="').concat(this.sourceToString(),'"></image>'),"</pattern>",""].join("\n")}static async fromObject(e,t){let{type:n,source:r,patternTransform:i}=e,s=a(e,To);const l=await Re(r,o(o({},t),{},{crossOrigin:s.crossOrigin}));return new this(o(o({},s),{},{patternTransform:i&&i.slice(0),source:l}))}}r(Do,"type","Pattern"),ne.setClass(Do),ne.setClass(Do,"pattern");const jo=["path","left","top"],Bo=["d"];class No extends vr{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{path:n,left:r,top:i}=t,o=a(t,jo);super(),Object.assign(this,No.ownDefaults),this.setOptions(o),this._setPath(e||[],!0),"number"==typeof r&&this.set(T,r),"number"==typeof i&&this.set(D,i)}_setPath(e,t){this.path=Ni(Array.isArray(e)?e:Xi(e)),this.setBoundingBox(t)}_findCenterFromElement(){const e=this._calcBoundsFromPath();return new le(e.left+e.width/2,e.top+e.height/2)}_renderPathCommands(e){const t=-this.pathOffset.x,n=-this.pathOffset.y;e.beginPath();for(const r of this.path)switch(r[0]){case"L":e.lineTo(r[1]+t,r[2]+n);break;case"M":e.moveTo(r[1]+t,r[2]+n);break;case"C":e.bezierCurveTo(r[1]+t,r[2]+n,r[3]+t,r[4]+n,r[5]+t,r[6]+n);break;case"Q":e.quadraticCurveTo(r[1]+t,r[2]+n,r[3]+t,r[4]+n);break;case"Z":e.closePath()}}_render(e){this._renderPathCommands(e),this._renderPaintInOrder(e)}toString(){return"#<Path (".concat(this.complexity(),'): { "top": ').concat(this.top,', "left": ').concat(this.left," }>")}toObject(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return o(o({},super.toObject(e)),{},{path:this.path.map((e=>e.slice()))})}toDatalessObject(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];const t=this.toObject(e);return this.sourcePath&&(delete t.path,t.sourcePath=this.sourcePath),t}_toSVG(){const e=$i(this.path,c.NUM_FRACTION_DIGITS);return["<path ","COMMON_PARTS",'d="'.concat(e,'" stroke-linecap="round" />\n')]}_getOffsetTransform(){const e=c.NUM_FRACTION_DIGITS;return" translate(".concat(Ke(-this.pathOffset.x,e),", ").concat(Ke(-this.pathOffset.y,e),")")}toClipPathSVG(e){const t=this._getOffsetTransform();return"\t"+this._createBaseClipPathSVGMarkup(this._toSVG(),{reviver:e,additionalTransform:t})}toSVG(e){const t=this._getOffsetTransform();return this._createBaseSVGMarkup(this._toSVG(),{reviver:e,additionalTransform:t})}complexity(){return this.path.length}setDimensions(){this.setBoundingBox()}setBoundingBox(e){const{width:t,height:n,pathOffset:r}=this._calcDimensions();this.set({width:t,height:n,pathOffset:r}),e&&this.setPositionByOrigin(r,O,O)}_calcBoundsFromPath(){const e=[];let t=0,n=0,r=0,i=0;for(const o of this.path)switch(o[0]){case"L":r=o[1],i=o[2],e.push({x:t,y:n},{x:r,y:i});break;case"M":r=o[1],i=o[2],t=r,n=i;break;case"C":e.push(...ji(r,i,o[1],o[2],o[3],o[4],o[5],o[6])),r=o[5],i=o[6];break;case"Q":e.push(...ji(r,i,o[1],o[2],o[1],o[2],o[3],o[4])),r=o[3],i=o[4];break;case"Z":r=t,i=n}return yt(e)}_calcDimensions(){const e=this._calcBoundsFromPath();return o(o({},e),{},{pathOffset:new le(e.left+e.width/2,e.top+e.height/2)})}static fromObject(e){return this._fromObject(e,{extraParam:"path"})}static async fromElement(e,t,n){const r=si(e,this.ATTRIBUTE_NAMES,n),{d:i}=r;return new this(i,o(o(o({},a(r,Bo)),t),{},{left:void 0,top:void 0}))}}r(No,"type","Path"),r(No,"cacheProperties",[...hn,"path","fillRule"]),r(No,"ATTRIBUTE_NAMES",[...Dr,"d"]),ne.setClass(No),ne.setSVGClass(No);const Mo=["left","top","radius"],Ro=["radius","startAngle","endAngle","counterClockwise"];class Lo extends vr{static getDefaults(){return o(o({},super.getDefaults()),Lo.ownDefaults)}constructor(e){super(),Object.assign(this,Lo.ownDefaults),this.setOptions(e)}_set(e,t){return super._set(e,t),"radius"===e&&this.setRadius(t),this}_render(e){e.beginPath(),e.arc(0,0,this.radius,be(this.startAngle),be(this.endAngle),this.counterClockwise),this._renderPaintInOrder(e)}getRadiusX(){return this.get("radius")*this.get(W)}getRadiusY(){return this.get("radius")*this.get(Y)}setRadius(e){this.radius=e,this.set({width:2*e,height:2*e})}toObject(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return super.toObject([...Ro,...e])}_toSVG(){const e=(this.endAngle-this.startAngle)%360;if(0===e)return["<circle ","COMMON_PARTS",'cx="0" cy="0" ','r="',"".concat(this.radius),'" />\n'];{const{radius:t}=this,n=be(this.startAngle),r=be(this.endAngle),i=ae(n)*t,o=se(n)*t,a=ae(r)*t,s=se(r)*t,l=e>180?1:0,c=this.counterClockwise?0:1;return['<path d="M '.concat(i," ").concat(o," A ").concat(t," ").concat(t," 0 ").concat(l," ").concat(c," ").concat(a," ").concat(s,'" '),"COMMON_PARTS"," />\n"]}}static async fromElement(e,t,n){const r=si(e,this.ATTRIBUTE_NAMES,n),{left:i=0,top:s=0,radius:l=0}=r;return new this(o(o({},a(r,Mo)),{},{radius:l,left:i-l,top:s-l}))}static fromObject(e){return super._fromObject(e)}}r(Lo,"type","Circle"),r(Lo,"cacheProperties",[...hn,...Ro]),r(Lo,"ownDefaults",{radius:0,startAngle:0,endAngle:360,counterClockwise:!1}),r(Lo,"ATTRIBUTE_NAMES",["cx","cy","r",...Dr]),ne.setClass(Lo),ne.setSVGClass(Lo);const Fo=["x1","y1","x2","y2"],zo=["x1","y1","x2","y2"],Qo=["x1","x2","y1","y2"];class Uo extends vr{constructor(){let[e,t,n,r]=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[0,0,0,0],i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};super(),Object.assign(this,Uo.ownDefaults),this.setOptions(i),this.x1=e,this.x2=n,this.y1=t,this.y2=r,this._setWidthHeight();const{left:o,top:a}=i;"number"==typeof o&&this.set(T,o),"number"==typeof a&&this.set(D,a)}_setWidthHeight(){const{x1:e,y1:t,x2:n,y2:r}=this;this.width=Math.abs(n-e),this.height=Math.abs(r-t);const{left:i,top:o,width:a,height:s}=yt([{x:e,y:t},{x:n,y:r}]),l=new le(i+a/2,o+s/2);this.setPositionByOrigin(l,O,O)}_set(e,t){return super._set(e,t),Qo.includes(e)&&this._setWidthHeight(),this}_render(e){e.beginPath();const t=this.calcLinePoints();e.moveTo(t.x1,t.y1),e.lineTo(t.x2,t.y2),e.lineWidth=this.strokeWidth;const n=e.strokeStyle;var r;et(this.stroke)?e.strokeStyle=this.stroke.toLive(e):e.strokeStyle=null!==(r=this.stroke)&&void 0!==r?r:e.fillStyle,this.stroke&&this._renderStroke(e),e.strokeStyle=n}_findCenterFromElement(){return new le((this.x1+this.x2)/2,(this.y1+this.y2)/2)}toObject(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return o(o({},super.toObject(e)),this.calcLinePoints())}_getNonTransformedDimensions(){const e=super._getNonTransformedDimensions();return"butt"===this.strokeLineCap&&(0===this.width&&(e.y-=this.strokeWidth),0===this.height&&(e.x-=this.strokeWidth)),e}calcLinePoints(){const{x1:e,x2:t,y1:n,y2:r,width:i,height:o}=this,a=e<=t?-1:1,s=n<=r?-1:1;return{x1:a*i/2,x2:a*-i/2,y1:s*o/2,y2:s*-o/2}}_toSVG(){const{x1:e,x2:t,y1:n,y2:r}=this.calcLinePoints();return["<line ","COMMON_PARTS",'x1="'.concat(e,'" y1="').concat(n,'" x2="').concat(t,'" y2="').concat(r,'" />\n')]}static async fromElement(e,t,n){const r=si(e,this.ATTRIBUTE_NAMES,n),{x1:i=0,y1:o=0,x2:s=0,y2:l=0}=r;return new this([i,o,s,l],a(r,Fo))}static fromObject(e){let{x1:t,y1:n,x2:r,y2:i}=e,s=a(e,zo);return this._fromObject(o(o({},s),{},{points:[t,n,r,i]}),{extraParam:"points"})}}r(Uo,"type","Line"),r(Uo,"cacheProperties",[...hn,...Qo]),r(Uo,"ATTRIBUTE_NAMES",Dr.concat(Qo)),ne.setClass(Uo),ne.setSVGClass(Uo);class Vo extends vr{static getDefaults(){return o(o({},super.getDefaults()),Vo.ownDefaults)}constructor(e){super(),Object.assign(this,Vo.ownDefaults),this.setOptions(e)}_render(e){const t=this.width/2,n=this.height/2;e.beginPath(),e.moveTo(-t,n),e.lineTo(0,-n),e.lineTo(t,n),e.closePath(),this._renderPaintInOrder(e)}_toSVG(){const e=this.width/2,t=this.height/2;return["<polygon ","COMMON_PARTS",'points="',"".concat(-e," ").concat(t,",0 ").concat(-t,",").concat(e," ").concat(t),'" />']}}r(Vo,"type","Triangle"),r(Vo,"ownDefaults",{width:100,height:100}),ne.setClass(Vo),ne.setSVGClass(Vo);const Go=["rx","ry"];class qo extends vr{static getDefaults(){return o(o({},super.getDefaults()),qo.ownDefaults)}constructor(e){super(),Object.assign(this,qo.ownDefaults),this.setOptions(e)}_set(e,t){switch(super._set(e,t),e){case"rx":this.rx=t,this.set("width",2*t);break;case"ry":this.ry=t,this.set("height",2*t)}return this}getRx(){return this.get("rx")*this.get(W)}getRy(){return this.get("ry")*this.get(Y)}toObject(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return super.toObject([...Go,...e])}_toSVG(){return["<ellipse ","COMMON_PARTS",'cx="0" cy="0" rx="'.concat(this.rx,'" ry="').concat(this.ry,'" />\n')]}_render(e){e.beginPath(),e.save(),e.transform(1,0,0,this.ry/this.rx,0,0),e.arc(0,0,this.rx,0,k,!1),e.restore(),this._renderPaintInOrder(e)}static async fromElement(e,t,n){const r=si(e,this.ATTRIBUTE_NAMES,n);return r.left=(r.left||0)-r.rx,r.top=(r.top||0)-r.ry,new this(r)}}r(qo,"type","Ellipse"),r(qo,"cacheProperties",[...hn,...Go]),r(qo,"ownDefaults",{rx:0,ry:0}),r(qo,"ATTRIBUTE_NAMES",[...Dr,"cx","cy","rx","ry"]),ne.setClass(qo),ne.setSVGClass(qo);const Ho=["left","top"],Wo={exactBoundingBox:!1};class Yo extends vr{static getDefaults(){return o(o({},super.getDefaults()),Yo.ownDefaults)}constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};super(),r(this,"strokeDiff",void 0),Object.assign(this,Yo.ownDefaults),this.setOptions(t),this.points=e;const{left:n,top:i}=t;this.initialized=!0,this.setBoundingBox(!0),"number"==typeof n&&this.set(T,n),"number"==typeof i&&this.set(D,i)}isOpen(){return!0}_projectStrokeOnPoints(e){return Cr(this.points,e,this.isOpen())}_calcDimensions(e){e=o({scaleX:this.scaleX,scaleY:this.scaleY,skewX:this.skewX,skewY:this.skewY,strokeLineCap:this.strokeLineCap,strokeLineJoin:this.strokeLineJoin,strokeMiterLimit:this.strokeMiterLimit,strokeUniform:this.strokeUniform,strokeWidth:this.strokeWidth},e||{});const t=this.exactBoundingBox?this._projectStrokeOnPoints(e).map((e=>e.projectedPoint)):this.points;if(0===t.length)return{left:0,top:0,width:0,height:0,pathOffset:new le,strokeOffset:new le,strokeDiff:new le};const n=yt(t),r=Ne(o(o({},e),{},{scaleX:1,scaleY:1})),i=yt(this.points.map((e=>Ce(e,r,!0)))),a=new le(this.scaleX,this.scaleY);let s=n.left+n.width/2,l=n.top+n.height/2;return this.exactBoundingBox&&(s-=l*Math.tan(be(this.skewX)),l-=s*Math.tan(be(this.skewY))),o(o({},n),{},{pathOffset:new le(s,l),strokeOffset:new le(i.left,i.top).subtract(new le(n.left,n.top)).multiply(a),strokeDiff:new le(n.width,n.height).subtract(new le(i.width,i.height)).multiply(a)})}_findCenterFromElement(){const e=yt(this.points);return new le(e.left+e.width/2,e.top+e.height/2)}setDimensions(){this.setBoundingBox()}setBoundingBox(e){const{left:t,top:n,width:r,height:i,pathOffset:o,strokeOffset:a,strokeDiff:s}=this._calcDimensions();this.set({width:r,height:i,pathOffset:o,strokeOffset:a,strokeDiff:s}),e&&this.setPositionByOrigin(new le(t+r/2,n+i/2),O,O)}isStrokeAccountedForInDimensions(){return this.exactBoundingBox}_getNonTransformedDimensions(){return this.exactBoundingBox?new le(this.width,this.height):super._getNonTransformedDimensions()}_getTransformedDimensions(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(this.exactBoundingBox){let o;if(Object.keys(e).some((e=>this.strokeUniform||this.constructor.layoutProperties.includes(e)))){var t,n;const{width:r,height:i}=this._calcDimensions(e);o=new le(null!==(t=e.width)&&void 0!==t?t:r,null!==(n=e.height)&&void 0!==n?n:i)}else{var r,i;o=new le(null!==(r=e.width)&&void 0!==r?r:this.width,null!==(i=e.height)&&void 0!==i?i:this.height)}return o.multiply(new le(e.scaleX||this.scaleX,e.scaleY||this.scaleY))}return super._getTransformedDimensions(e)}_set(e,t){const n=this.initialized&&this[e]!==t,r=super._set(e,t);return this.exactBoundingBox&&n&&((e===W||e===Y)&&this.strokeUniform&&this.constructor.layoutProperties.includes("strokeUniform")||this.constructor.layoutProperties.includes(e))&&this.setDimensions(),r}toObject(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return o(o({},super.toObject(e)),{},{points:this.points.map((e=>{let{x:t,y:n}=e;return{x:t,y:n}}))})}_toSVG(){const e=[],t=this.pathOffset.x,n=this.pathOffset.y,r=c.NUM_FRACTION_DIGITS;for(let i=0,o=this.points.length;i<o;i++)e.push(Ke(this.points[i].x-t,r),",",Ke(this.points[i].y-n,r)," ");return["<".concat(this.constructor.type.toLowerCase()," "),"COMMON_PARTS",'points="'.concat(e.join(""),'" />\n')]}_render(e){const t=this.points.length,n=this.pathOffset.x,r=this.pathOffset.y;if(t&&!isNaN(this.points[t-1].y)){e.beginPath(),e.moveTo(this.points[0].x-n,this.points[0].y-r);for(let i=0;i<t;i++){const t=this.points[i];e.lineTo(t.x-n,t.y-r)}!this.isOpen()&&e.closePath(),this._renderPaintInOrder(e)}}complexity(){return this.points.length}static async fromElement(e,t,n){return new this(function(e){if(!e)return[];const t=e.replace(/,/g," ").trim().split(/\s+/),n=[];for(let r=0;r<t.length;r+=2)n.push({x:parseFloat(t[r]),y:parseFloat(t[r+1])});return n}(e.getAttribute("points")),o(o({},a(si(e,this.ATTRIBUTE_NAMES,n),Ho)),t))}static fromObject(e){return this._fromObject(e,{extraParam:"points"})}}r(Yo,"ownDefaults",Wo),r(Yo,"type","Polyline"),r(Yo,"layoutProperties",[K,J,"strokeLineCap","strokeLineJoin","strokeMiterLimit","strokeWidth","strokeUniform","points"]),r(Yo,"cacheProperties",[...hn,"points"]),r(Yo,"ATTRIBUTE_NAMES",[...Dr]),ne.setClass(Yo),ne.setSVGClass(Yo);class Ko extends Yo{isOpen(){return!1}}r(Ko,"ownDefaults",Wo),r(Ko,"type","Polygon"),ne.setClass(Ko),ne.setSVGClass(Ko);const Jo=["fontSize","fontWeight","fontFamily","fontStyle"],Xo=["underline","overline","linethrough"],Zo=[...Jo,"lineHeight","text","charSpacing","textAlign","styles","path","pathStartOffset","pathSide","pathAlign"],$o=[...Zo,...Xo,"textBackgroundColor","direction"],ea=[...Jo,...Xo,Z,"strokeWidth",X,"deltaY","textBackgroundColor"],ta={_reNewline:M,_reSpacesAndTabs:/[ \t\r]/g,_reSpaceAndTab:/[ \t\r]/,_reWords:/\S+/g,fontSize:40,fontWeight:"normal",fontFamily:"Times New Roman",underline:!1,overline:!1,linethrough:!1,textAlign:T,fontStyle:"normal",lineHeight:1.16,superscript:{size:.6,baseline:-.35},subscript:{size:.6,baseline:.11},textBackgroundColor:"",stroke:null,shadow:null,path:void 0,pathStartOffset:0,pathSide:T,pathAlign:"baseline",_fontSizeFraction:.222,offsets:{underline:.1,linethrough:-.315,overline:-.88},_fontSizeMult:1.13,charSpacing:0,deltaY:0,direction:"ltr",CACHE_FONT_SIZE:400,MIN_TEXT_WIDTH:2},na="justify",ra="justify-left",ia="justify-right",oa="justify-center";class aa extends vr{isEmptyStyles(e){if(!this.styles)return!0;if(void 0!==e&&!this.styles[e])return!0;const t=void 0===e?this.styles:{line:this.styles[e]};for(const n in t)for(const e in t[n])for(const r in t[n][e])return!1;return!0}styleHas(e,t){if(!this.styles)return!1;if(void 0!==t&&!this.styles[t])return!1;const n=void 0===t?this.styles:{0:this.styles[t]};for(const r in n)for(const t in n[r])if(void 0!==n[r][t][e])return!0;return!1}cleanStyle(e){if(!this.styles)return!1;const t=this.styles;let n,r,i=0,o=!0,a=0;for(const s in t){n=0;for(const a in t[s]){const l=t[s][a]||{};i++,void 0!==l[e]?(r?l[e]!==r&&(o=!1):r=l[e],l[e]===this[e]&&delete l[e]):o=!1,0!==Object.keys(l).length?n++:delete t[s][a]}0===n&&delete t[s]}for(let s=0;s<this._textLines.length;s++)a+=this._textLines[s].length;o&&i===a&&(this[e]=r,this.removeStyle(e))}removeStyle(e){if(!this.styles)return;const t=this.styles;let n,r,i;for(r in t){for(i in n=t[r],n)delete n[i][e],0===Object.keys(n[i]).length&&delete n[i];0===Object.keys(n).length&&delete t[r]}}_extendStyles(e,t){const{lineIndex:n,charIndex:r}=this.get2DCursorLocation(e);this._getLineStyle(n)||this._setLineStyle(n);const i=Qe(o(o({},this._getStyleDeclaration(n,r)),t),(e=>void 0!==e));this._setStyleDeclaration(n,r,i)}getSelectionStyles(e,t,n){const r=[];for(let i=e;i<(t||e);i++)r.push(this.getStyleAtPosition(i,n));return r}getStyleAtPosition(e,t){const{lineIndex:n,charIndex:r}=this.get2DCursorLocation(e);return t?this.getCompleteStyleDeclaration(n,r):this._getStyleDeclaration(n,r)}setSelectionStyles(e,t,n){for(let r=t;r<(n||t);r++)this._extendStyles(r,e);this._forceClearCache=!0}_getStyleDeclaration(e,t){var n;const r=this.styles&&this.styles[e];return r&&null!==(n=r[t])&&void 0!==n?n:{}}getCompleteStyleDeclaration(e,t){return o(o({},ze(this,this.constructor._styleProperties)),this._getStyleDeclaration(e,t))}_setStyleDeclaration(e,t,n){this.styles[e][t]=n}_deleteStyleDeclaration(e,t){delete this.styles[e][t]}_getLineStyle(e){return!!this.styles[e]}_setLineStyle(e){this.styles[e]={}}_deleteLineStyle(e){delete this.styles[e]}}r(aa,"_styleProperties",ea);const sa=/  +/g,la=/"/g;function ca(e,t,n,r,i){return"\t\t".concat(function(e,t){let{left:n,top:r,width:i,height:o}=t,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:c.NUM_FRACTION_DIGITS;const s=$e(X,e,!1),[l,u,d,p]=[n,r,i,o].map((e=>Ke(e,a)));return"<rect ".concat(s,' x="').concat(l,'" y="').concat(u,'" width="').concat(d,'" height="').concat(p,'"></rect>')}(e,{left:t,top:n,width:r,height:i}),"\n")}const ua=["textAnchor","textDecoration","dx","dy","top","left","fontSize","strokeWidth"];let da;class pa extends aa{static getDefaults(){return o(o({},super.getDefaults()),pa.ownDefaults)}constructor(e,t){super(),r(this,"__charBounds",[]),Object.assign(this,pa.ownDefaults),this.setOptions(t),this.styles||(this.styles={}),this.text=e,this.initialized=!0,this.path&&this.setPathInfo(),this.initDimensions(),this.setCoords()}setPathInfo(){const e=this.path;e&&(e.segmentsInfo=qi(e.path))}_splitText(){const e=this._splitTextIntoLines(this.text);return this.textLines=e.lines,this._textLines=e.graphemeLines,this._unwrappedTextLines=e._unwrappedLines,this._text=e.graphemeText,e}initDimensions(){this._splitText(),this._clearCache(),this.dirty=!0,this.path?(this.width=this.path.width,this.height=this.path.height):(this.width=this.calcTextWidth()||this.cursorWidth||this.MIN_TEXT_WIDTH,this.height=this.calcTextHeight()),this.textAlign.includes(na)&&this.enlargeSpaces()}enlargeSpaces(){let e,t,n,r,i,o,a;for(let s=0,l=this._textLines.length;s<l;s++)if((this.textAlign===na||s!==l-1&&!this.isEndOfWrapping(s))&&(r=0,i=this._textLines[s],t=this.getLineWidth(s),t<this.width&&(a=this.textLines[s].match(this._reSpacesAndTabs)))){n=a.length,e=(this.width-t)/n;for(let t=0;t<=i.length;t++)o=this.__charBounds[s][t],this._reSpaceAndTab.test(i[t])?(o.width+=e,o.kernedWidth+=e,o.left+=r,r+=e):o.left+=r}}isEndOfWrapping(e){return e===this._textLines.length-1}missingNewlineOffset(e){return 1}get2DCursorLocation(e,t){const n=t?this._unwrappedTextLines:this._textLines;let r;for(r=0;r<n.length;r++){if(e<=n[r].length)return{lineIndex:r,charIndex:e};e-=n[r].length+this.missingNewlineOffset(r,t)}return{lineIndex:r-1,charIndex:n[r-1].length<e?n[r-1].length:e}}toString(){return"#<Text (".concat(this.complexity(),'): { "text": "').concat(this.text,'", "fontFamily": "').concat(this.fontFamily,'" }>')}_getCacheCanvasDimensions(){const e=super._getCacheCanvasDimensions(),t=this.fontSize;return e.width+=t*e.zoomX,e.height+=t*e.zoomY,e}_render(e){const t=this.path;t&&!t.isNotVisible()&&t._render(e),this._setTextStyles(e),this._renderTextLinesBackground(e),this._renderTextDecoration(e,"underline"),this._renderText(e),this._renderTextDecoration(e,"overline"),this._renderTextDecoration(e,"linethrough")}_renderText(e){this.paintFirst===Z?(this._renderTextStroke(e),this._renderTextFill(e)):(this._renderTextFill(e),this._renderTextStroke(e))}_setTextStyles(e,t,n){if(e.textBaseline="alphabetic",this.path)switch(this.pathAlign){case O:e.textBaseline="middle";break;case"ascender":e.textBaseline=D;break;case"descender":e.textBaseline=j}e.font=this._getFontDeclaration(t,n)}calcTextWidth(){let e=this.getLineWidth(0);for(let t=1,n=this._textLines.length;t<n;t++){const n=this.getLineWidth(t);n>e&&(e=n)}return e}_renderTextLine(e,t,n,r,i,o){this._renderChars(e,t,n,r,i,o)}_renderTextLinesBackground(e){if(!this.textBackgroundColor&&!this.styleHas("textBackgroundColor"))return;const t=e.fillStyle,n=this._getLeftOffset();let r=this._getTopOffset();for(let i=0,o=this._textLines.length;i<o;i++){const t=this.getHeightOfLine(i);if(!this.textBackgroundColor&&!this.styleHas("textBackgroundColor",i)){r+=t;continue}const o=this._textLines[i].length,a=this._getLineLeftOffset(i);let s,l,c=0,u=0,d=this.getValueOfPropertyAt(i,0,"textBackgroundColor");for(let p=0;p<o;p++){const o=this.__charBounds[i][p];l=this.getValueOfPropertyAt(i,p,"textBackgroundColor"),this.path?(e.save(),e.translate(o.renderLeft,o.renderTop),e.rotate(o.angle),e.fillStyle=l,l&&e.fillRect(-o.width/2,-t/this.lineHeight*(1-this._fontSizeFraction),o.width,t/this.lineHeight),e.restore()):l!==d?(s=n+a+u,"rtl"===this.direction&&(s=this.width-s-c),e.fillStyle=d,d&&e.fillRect(s,r,c,t/this.lineHeight),u=o.left,c=o.width,d=l):c+=o.kernedWidth}l&&!this.path&&(s=n+a+u,"rtl"===this.direction&&(s=this.width-s-c),e.fillStyle=l,e.fillRect(s,r,c,t/this.lineHeight)),r+=t}e.fillStyle=t,this._removeShadow(e)}_measureChar(e,t,n,r){const i=w.getFontCache(t),o=this._getFontDeclaration(t),a=n+e,s=n&&o===this._getFontDeclaration(r),l=t.fontSize/this.CACHE_FONT_SIZE;let c,u,d,p;if(n&&void 0!==i[n]&&(d=i[n]),void 0!==i[e]&&(p=c=i[e]),s&&void 0!==i[a]&&(u=i[a],p=u-d),void 0===c||void 0===d||void 0===u){const r=function(){if(!da){const e=ve();e.width=e.height=0,da=e.getContext("2d")}return da}();this._setTextStyles(r,t,!0),void 0===c&&(p=c=r.measureText(e).width,i[e]=c),void 0===d&&s&&n&&(d=r.measureText(n).width,i[n]=d),s&&void 0===u&&(u=r.measureText(a).width,i[a]=u,p=u-d)}return{width:c*l,kernedWidth:p*l}}getHeightOfChar(e,t){return this.getValueOfPropertyAt(e,t,"fontSize")}measureLine(e){const t=this._measureLine(e);return 0!==this.charSpacing&&(t.width-=this._getWidthOfCharSpacing()),t.width<0&&(t.width=0),t}_measureLine(e){let t,n,r=0;const i=this.pathSide===B,o=this.path,a=this._textLines[e],s=a.length,l=new Array(s);this.__charBounds[e]=l;for(let c=0;c<s;c++){const i=a[c];n=this._getGraphemeBox(i,e,c,t),l[c]=n,r+=n.kernedWidth,t=i}if(l[s]={left:n?n.left+n.width:0,width:0,kernedWidth:0,height:this.fontSize,deltaY:0},o&&o.segmentsInfo){let e=0;const t=o.segmentsInfo[o.segmentsInfo.length-1].length;switch(this.textAlign){case T:e=i?t-r:0;break;case O:e=(t-r)/2;break;case B:e=i?0:t-r}e+=this.pathStartOffset*(i?-1:1);for(let r=i?s-1:0;i?r>=0:r<s;i?r--:r++)n=l[r],e>t?e%=t:e<0&&(e+=t),this._setGraphemeOnPath(e,n),e+=n.kernedWidth}return{width:r,numOfSpaces:0}}_setGraphemeOnPath(e,t){const n=e+t.kernedWidth/2,r=this.path,i=Hi(r.path,n,r.segmentsInfo);t.renderLeft=i.x-r.pathOffset.x,t.renderTop=i.y-r.pathOffset.y,t.angle=i.angle+(this.pathSide===B?Math.PI:0)}_getGraphemeBox(e,t,n,r,i){const o=this.getCompleteStyleDeclaration(t,n),a=r?this.getCompleteStyleDeclaration(t,n-1):{},s=this._measureChar(e,o,r,a);let l,c=s.kernedWidth,u=s.width;0!==this.charSpacing&&(l=this._getWidthOfCharSpacing(),u+=l,c+=l);const d={width:u,left:0,height:o.fontSize,kernedWidth:c,deltaY:o.deltaY};if(n>0&&!i){const e=this.__charBounds[t][n-1];d.left=e.left+e.width+s.kernedWidth-s.width}return d}getHeightOfLine(e){if(this.__lineHeights[e])return this.__lineHeights[e];let t=this.getHeightOfChar(e,0);for(let n=1,r=this._textLines[e].length;n<r;n++)t=Math.max(this.getHeightOfChar(e,n),t);return this.__lineHeights[e]=t*this.lineHeight*this._fontSizeMult}calcTextHeight(){let e,t=0;for(let n=0,r=this._textLines.length;n<r;n++)e=this.getHeightOfLine(n),t+=n===r-1?e/this.lineHeight:e;return t}_getLeftOffset(){return"ltr"===this.direction?-this.width/2:this.width/2}_getTopOffset(){return-this.height/2}_renderTextCommon(e,t){e.save();let n=0;const r=this._getLeftOffset(),i=this._getTopOffset();for(let o=0,a=this._textLines.length;o<a;o++){const a=this.getHeightOfLine(o),s=a/this.lineHeight,l=this._getLineLeftOffset(o);this._renderTextLine(t,e,this._textLines[o],r+l,i+n+s,o),n+=a}e.restore()}_renderTextFill(e){(this.fill||this.styleHas(X))&&this._renderTextCommon(e,"fillText")}_renderTextStroke(e){(this.stroke&&0!==this.strokeWidth||!this.isEmptyStyles())&&(this.shadow&&!this.shadow.affectStroke&&this._removeShadow(e),e.save(),this._setLineDash(e,this.strokeDashArray),e.beginPath(),this._renderTextCommon(e,"strokeText"),e.closePath(),e.restore())}_renderChars(e,t,n,r,i,o){const a=this.getHeightOfLine(o),s=this.textAlign.includes(na),l=this.path,c=!s&&0===this.charSpacing&&this.isEmptyStyles(o)&&!l,u="ltr"===this.direction,d="ltr"===this.direction?1:-1,p=t.direction;let h,f,m,g,v,y="",A=0;if(t.save(),p!==this.direction&&(t.canvas.setAttribute("dir",u?"ltr":"rtl"),t.direction=u?"ltr":"rtl",t.textAlign=u?T:B),i-=a*this._fontSizeFraction/this.lineHeight,c)return this._renderChar(e,t,o,0,n.join(""),r,i),void t.restore();for(let b=0,w=n.length-1;b<=w;b++)g=b===w||this.charSpacing||l,y+=n[b],m=this.__charBounds[o][b],0===A?(r+=d*(m.kernedWidth-m.width),A+=m.width):A+=m.kernedWidth,s&&!g&&this._reSpaceAndTab.test(n[b])&&(g=!0),g||(h=h||this.getCompleteStyleDeclaration(o,b),f=this.getCompleteStyleDeclaration(o,b+1),g=Pr(h,f,!1)),g&&(l?(t.save(),t.translate(m.renderLeft,m.renderTop),t.rotate(m.angle),this._renderChar(e,t,o,b,y,-A/2,0),t.restore()):(v=r,this._renderChar(e,t,o,b,y,v,i)),y="",h=f,r+=d*A,A=0);t.restore()}_applyPatternGradientTransformText(e){const t=ve(),n=this.width+this.strokeWidth,r=this.height+this.strokeWidth,i=t.getContext("2d");return t.width=n,t.height=r,i.beginPath(),i.moveTo(0,0),i.lineTo(n,0),i.lineTo(n,r),i.lineTo(0,r),i.closePath(),i.translate(n/2,r/2),i.fillStyle=e.toLive(i),this._applyPatternGradientTransform(i,e),i.fill(),i.createPattern(t,"no-repeat")}handleFiller(e,t,n){let r,i;return et(n)?"percentage"===n.gradientUnits||n.gradientTransform||n.patternTransform?(r=-this.width/2,i=-this.height/2,e.translate(r,i),e[t]=this._applyPatternGradientTransformText(n),{offsetX:r,offsetY:i}):(e[t]=n.toLive(e),this._applyPatternGradientTransform(e,n)):(e[t]=n,{offsetX:0,offsetY:0})}_setStrokeStyles(e,t){let{stroke:n,strokeWidth:r}=t;return e.lineWidth=r,e.lineCap=this.strokeLineCap,e.lineDashOffset=this.strokeDashOffset,e.lineJoin=this.strokeLineJoin,e.miterLimit=this.strokeMiterLimit,this.handleFiller(e,"strokeStyle",n)}_setFillStyles(e,t){let{fill:n}=t;return this.handleFiller(e,"fillStyle",n)}_renderChar(e,t,n,r,i,o,a){const s=this._getStyleDeclaration(n,r),l=this.getCompleteStyleDeclaration(n,r),c="fillText"===e&&l.fill,u="strokeText"===e&&l.stroke&&l.strokeWidth;if(u||c){if(t.save(),t.font=this._getFontDeclaration(l),s.textBackgroundColor&&this._removeShadow(t),s.deltaY&&(a+=s.deltaY),c){const e=this._setFillStyles(t,l);t.fillText(i,o-e.offsetX,a-e.offsetY)}if(u){const e=this._setStrokeStyles(t,l);t.strokeText(i,o-e.offsetX,a-e.offsetY)}t.restore()}}setSuperscript(e,t){this._setScript(e,t,this.superscript)}setSubscript(e,t){this._setScript(e,t,this.subscript)}_setScript(e,t,n){const r=this.get2DCursorLocation(e,!0),i=this.getValueOfPropertyAt(r.lineIndex,r.charIndex,"fontSize"),o=this.getValueOfPropertyAt(r.lineIndex,r.charIndex,"deltaY"),a={fontSize:i*n.size,deltaY:o+i*n.baseline};this.setSelectionStyles(a,e,t)}_getLineLeftOffset(e){const t=this.getLineWidth(e),n=this.width-t,r=this.textAlign,i=this.direction,o=this.isEndOfWrapping(e);let a=0;return r===na||r===oa&&!o||r===ia&&!o||r===ra&&!o?0:(r===O&&(a=n/2),r===B&&(a=n),r===oa&&(a=n/2),r===ia&&(a=n),"rtl"===i&&(r===B||r===na||r===ia?a=0:r===T||r===ra?a=-n:r!==O&&r!==oa||(a=-n/2)),a)}_clearCache(){this._forceClearCache=!1,this.__lineWidths=[],this.__lineHeights=[],this.__charBounds=[]}getLineWidth(e){if(void 0!==this.__lineWidths[e])return this.__lineWidths[e];const{width:t}=this.measureLine(e);return this.__lineWidths[e]=t,t}_getWidthOfCharSpacing(){return 0!==this.charSpacing?this.fontSize*this.charSpacing/1e3:0}getValueOfPropertyAt(e,t,n){var r;return null!==(r=this._getStyleDeclaration(e,t)[n])&&void 0!==r?r:this[n]}_renderTextDecoration(e,t){if(!this[t]&&!this.styleHas(t))return;let n=this._getTopOffset();const r=this._getLeftOffset(),i=this.path,o=this._getWidthOfCharSpacing(),a=this.offsets[t];for(let s=0,l=this._textLines.length;s<l;s++){const l=this.getHeightOfLine(s);if(!this[t]&&!this.styleHas(t,s)){n+=l;continue}const c=this._textLines[s],u=l/this.lineHeight,d=this._getLineLeftOffset(s);let p,h,f=0,m=0,g=this.getValueOfPropertyAt(s,0,t),v=this.getValueOfPropertyAt(s,0,X);const y=n+u*(1-this._fontSizeFraction);let A=this.getHeightOfChar(s,0),b=this.getValueOfPropertyAt(s,0,"deltaY");for(let n=0,o=c.length;n<o;n++){const o=this.__charBounds[s][n];p=this.getValueOfPropertyAt(s,n,t),h=this.getValueOfPropertyAt(s,n,X);const l=this.getHeightOfChar(s,n),c=this.getValueOfPropertyAt(s,n,"deltaY");if(i&&p&&h)e.save(),e.fillStyle=v,e.translate(o.renderLeft,o.renderTop),e.rotate(o.angle),e.fillRect(-o.kernedWidth/2,a*l+c,o.kernedWidth,this.fontSize/15),e.restore();else if((p!==g||h!==v||l!==A||c!==b)&&m>0){let t=r+d+f;"rtl"===this.direction&&(t=this.width-t-m),g&&v&&(e.fillStyle=v,e.fillRect(t,y+a*A+b,m,this.fontSize/15)),f=o.left,m=o.width,g=p,v=h,A=l,b=c}else m+=o.kernedWidth}let w=r+d+f;"rtl"===this.direction&&(w=this.width-w-m),e.fillStyle=h,p&&h&&e.fillRect(w,y+a*A+b,m-o,this.fontSize/15),n+=l}this._removeShadow(e)}_getFontDeclaration(){let{fontFamily:e=this.fontFamily,fontStyle:t=this.fontStyle,fontWeight:n=this.fontWeight,fontSize:r=this.fontSize}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=arguments.length>1?arguments[1]:void 0;const o=e.includes("'")||e.includes('"')||e.includes(",")||pa.genericFonts.includes(e.toLowerCase())?e:'"'.concat(e,'"');return[t,n,"".concat(i?this.CACHE_FONT_SIZE:r,"px"),o].join(" ")}render(e){this.visible&&(this.canvas&&this.canvas.skipOffscreen&&!this.group&&!this.isOnScreen()||(this._forceClearCache&&this.initDimensions(),super.render(e)))}graphemeSplit(e){return Er(e)}_splitTextIntoLines(e){const t=e.split(this._reNewline),n=new Array(t.length),r=["\n"];let i=[];for(let o=0;o<t.length;o++)n[o]=this.graphemeSplit(t[o]),i=i.concat(n[o],r);return i.pop(),{_unwrappedLines:n,lines:t,graphemeText:i,graphemeLines:n}}toObject(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return o(o({},super.toObject([...$o,...e])),{},{styles:Or(this.styles,this.text)},this.path?{path:this.path.toObject()}:{})}set(e,t){const{textLayoutProperties:n}=this.constructor;super.set(e,t);let r=!1,i=!1;if("object"==typeof e)for(const o in e)"path"===o&&this.setPathInfo(),r=r||n.includes(o),i=i||"path"===o;else r=n.includes(e),i="path"===e;return i&&this.setPathInfo(),r&&this.initialized&&(this.initDimensions(),this.setCoords()),this}complexity(){return 1}static async fromElement(e,t,n){const r=si(e,pa.ATTRIBUTE_NAMES,n),i=o(o({},t),r),{textAnchor:s=T,textDecoration:l="",dx:c=0,dy:u=0,top:d=0,left:p=0,fontSize:h=_,strokeWidth:f=1}=i,m=a(i,ua),g=new this((e.textContent||"").replace(/^\s+|\s+$|\n+/g,"").replace(/\s+/g," "),o({left:p+c,top:d+u,underline:l.includes("underline"),overline:l.includes("overline"),linethrough:l.includes("line-through"),strokeWidth:0,fontSize:h},m)),v=g.getScaledHeight()/g.height,y=((g.height+g.strokeWidth)*g.lineHeight-g.height)*v,A=g.getScaledHeight()+y;let b=0;return s===O&&(b=g.getScaledWidth()/2),s===B&&(b=g.getScaledWidth()),g.set({left:g.left-b,top:g.top-(A-g.fontSize*(.07+g._fontSizeFraction))/g.lineHeight,strokeWidth:f}),g}static fromObject(e){return this._fromObject(o(o({},e),{},{styles:Tr(e.styles||{},e.text)}),{extraParam:"text"})}}r(pa,"textLayoutProperties",Zo),r(pa,"cacheProperties",[...hn,...$o]),r(pa,"ownDefaults",ta),r(pa,"type","Text"),r(pa,"genericFonts",["serif","sans-serif","monospace","cursive","fantasy","system-ui","ui-serif","ui-sans-serif","ui-monospace","ui-rounded","math","emoji","fangsong"]),r(pa,"ATTRIBUTE_NAMES",Dr.concat("x","y","dx","dy","font-family","font-style","font-weight","font-size","letter-spacing","text-decoration","text-anchor")),gr(pa,[class extends zt{_toSVG(){const e=this._getSVGLeftTopOffsets(),t=this._getSVGTextAndBg(e.textTop,e.textLeft);return this._wrapSVGTextAndBg(t)}toSVG(e){return this._createBaseSVGMarkup(this._toSVG(),{reviver:e,noStyle:!0,withShadow:!0})}_getSVGLeftTopOffsets(){return{textLeft:-this.width/2,textTop:-this.height/2,lineTop:this.getHeightOfLine(0)}}_wrapSVGTextAndBg(e){let{textBgRects:t,textSpans:n}=e;const r=this.getSvgTextDecoration(this);return[t.join(""),'\t\t<text xml:space="preserve" ',this.fontFamily?'font-family="'.concat(this.fontFamily.replace(la,"'"),'" '):"",this.fontSize?'font-size="'.concat(this.fontSize,'" '):"",this.fontStyle?'font-style="'.concat(this.fontStyle,'" '):"",this.fontWeight?'font-weight="'.concat(this.fontWeight,'" '):"",r?'text-decoration="'.concat(r,'" '):"","rtl"===this.direction?'direction="'.concat(this.direction,'" '):"",'style="',this.getSvgStyles(!0),'"',this.addPaintOrder()," >",n.join(""),"</text>\n"]}_getSVGTextAndBg(e,t){const n=[],r=[];let i,o=e;this.backgroundColor&&r.push(...ca(this.backgroundColor,-this.width/2,-this.height/2,this.width,this.height));for(let a=0,s=this._textLines.length;a<s;a++)i=this._getLineLeftOffset(a),"rtl"===this.direction&&(i+=this.width),(this.textBackgroundColor||this.styleHas("textBackgroundColor",a))&&this._setSVGTextLineBg(r,a,t+i,o),this._setSVGTextLineText(n,a,t+i,o),o+=this.getHeightOfLine(a);return{textSpans:n,textBgRects:r}}_createTextCharSpan(e,t,n,r){const i=this.getSvgSpanStyles(t,e!==e.trim()||!!e.match(sa)),o=i?'style="'.concat(i,'"'):"",a=t.deltaY,s=a?' dy="'.concat(Ke(a,c.NUM_FRACTION_DIGITS),'" '):"";return'<tspan x="'.concat(Ke(n,c.NUM_FRACTION_DIGITS),'" y="').concat(Ke(r,c.NUM_FRACTION_DIGITS),'" ').concat(s).concat(o,">").concat(kr(e),"</tspan>")}_setSVGTextLineText(e,t,n,r){const i=this.getHeightOfLine(t),o=this.textAlign.includes(na),a=this._textLines[t];let s,l,c,u,d,p="",h=0;r+=i*(1-this._fontSizeFraction)/this.lineHeight;for(let f=0,m=a.length-1;f<=m;f++)d=f===m||this.charSpacing,p+=a[f],c=this.__charBounds[t][f],0===h?(n+=c.kernedWidth-c.width,h+=c.width):h+=c.kernedWidth,o&&!d&&this._reSpaceAndTab.test(a[f])&&(d=!0),d||(s=s||this.getCompleteStyleDeclaration(t,f),l=this.getCompleteStyleDeclaration(t,f+1),d=Pr(s,l,!0)),d&&(u=this._getStyleDeclaration(t,f),e.push(this._createTextCharSpan(p,u,n,r)),p="",s=l,"rtl"===this.direction?n-=h:n+=h,h=0)}_setSVGTextLineBg(e,t,n,r){const i=this._textLines[t],o=this.getHeightOfLine(t)/this.lineHeight;let a,s=0,l=0,c=this.getValueOfPropertyAt(t,0,"textBackgroundColor");for(let u=0;u<i.length;u++){const{left:i,width:d,kernedWidth:p}=this.__charBounds[t][u];a=this.getValueOfPropertyAt(t,u,"textBackgroundColor"),a!==c?(c&&e.push(...ca(c,n+l,r,s,o)),l=i,s=d,c=a):s+=p}a&&e.push(...ca(c,n+l,r,s,o))}_getSVGLineTopOffset(e){let t,n=0;for(t=0;t<e;t++)n+=this.getHeightOfLine(t);const r=this.getHeightOfLine(t);return{lineTop:n,offset:(this._fontSizeMult-this._fontSizeFraction)*r/(this.lineHeight*this._fontSizeMult)}}getSvgStyles(e){return"".concat(super.getSvgStyles(e)," white-space: pre;")}getSvgSpanStyles(e,t){const{fontFamily:n,strokeWidth:r,stroke:i,fill:o,fontSize:a,fontStyle:s,fontWeight:l,deltaY:c}=e,u=this.getSvgTextDecoration(e);return[i?$e(Z,i):"",r?"stroke-width: ".concat(r,"; "):"",n?"font-family: ".concat(n.includes("'")||n.includes('"')?n:"'".concat(n,"'"),"; "):"",a?"font-size: ".concat(a,"px; "):"",s?"font-style: ".concat(s,"; "):"",l?"font-weight: ".concat(l,"; "):"",u?"text-decoration: ".concat(u,"; "):u,o?$e(X,o):"",c?"baseline-shift: ".concat(-c,"; "):"",t?"white-space: pre; ":""].join("")}getSvgTextDecoration(e){return["overline","underline","line-through"].filter((t=>e[t.replace("-","")])).join(" ")}}]),ne.setClass(pa),ne.setSVGClass(pa);class ha{constructor(e){r(this,"target",void 0),r(this,"__mouseDownInPlace",!1),r(this,"__dragStartFired",!1),r(this,"__isDraggingOver",!1),r(this,"__dragStartSelection",void 0),r(this,"__dragImageDisposer",void 0),r(this,"_dispose",void 0),this.target=e;const t=[this.target.on("dragenter",this.dragEnterHandler.bind(this)),this.target.on("dragover",this.dragOverHandler.bind(this)),this.target.on("dragleave",this.dragLeaveHandler.bind(this)),this.target.on("dragend",this.dragEndHandler.bind(this)),this.target.on("drop",this.dropHandler.bind(this))];this._dispose=()=>{t.forEach((e=>e())),this._dispose=void 0}}isPointerOverSelection(e){const t=this.target,n=t.getSelectionStartFromPointer(e);return t.isEditing&&n>=t.selectionStart&&n<=t.selectionEnd&&t.selectionStart<t.selectionEnd}start(e){return this.__mouseDownInPlace=this.isPointerOverSelection(e)}isActive(){return this.__mouseDownInPlace}end(e){const t=this.isActive();return t&&!this.__dragStartFired&&(this.target.setCursorByClick(e),this.target.initDelayedCursor(!0)),this.__mouseDownInPlace=!1,this.__dragStartFired=!1,this.__isDraggingOver=!1,t}getDragStartSelection(){return this.__dragStartSelection}setDragImage(e,t){var n;let{selectionStart:r,selectionEnd:i}=t;const o=this.target,a=o.canvas,s=new le(o.flipX?-1:1,o.flipY?-1:1),l=o._getCursorBoundaries(r),c=new le(l.left+l.leftOffset,l.top+l.topOffset).multiply(s).transform(o.calcTransformMatrix()),u=a.getScenePoint(e).subtract(c),d=o.getCanvasRetinaScaling(),p=o.getBoundingRect(),h=c.subtract(new le(p.left,p.top)),f=a.viewportTransform,m=h.add(u).transform(f,!0),g=o.backgroundColor,v=Sr(o.styles);o.backgroundColor="";const y={stroke:"transparent",fill:"transparent",textBackgroundColor:"transparent"};o.setSelectionStyles(y,0,r),o.setSelectionStyles(y,i,o.text.length),o.dirty=!0;const A=o.toCanvasElement({enableRetinaScaling:a.enableRetinaScaling,viewportTransform:!0});o.backgroundColor=g,o.styles=v,o.dirty=!0,eo(A,{position:"fixed",left:"".concat(-A.width,"px"),border:N,width:"".concat(A.width/d,"px"),height:"".concat(A.height/d,"px")}),this.__dragImageDisposer&&this.__dragImageDisposer(),this.__dragImageDisposer=()=>{A.remove()},at(e.target||this.target.hiddenTextarea).body.appendChild(A),null===(n=e.dataTransfer)||void 0===n||n.setDragImage(A,m.x,m.y)}onDragStart(e){this.__dragStartFired=!0;const t=this.target,n=this.isActive();if(n&&e.dataTransfer){const n=this.__dragStartSelection={selectionStart:t.selectionStart,selectionEnd:t.selectionEnd},r=t._text.slice(n.selectionStart,n.selectionEnd).join(""),i=o({text:t.text,value:r},n);e.dataTransfer.setData("text/plain",r),e.dataTransfer.setData("application/fabric",JSON.stringify({value:r,styles:t.getSelectionStyles(n.selectionStart,n.selectionEnd,!0)})),e.dataTransfer.effectAllowed="copyMove",this.setDragImage(e,i)}return t.abortCursorAnimation(),n}canDrop(e){if(this.target.editable&&!this.target.getActiveControl()&&!e.defaultPrevented){if(this.isActive()&&this.__dragStartSelection){const t=this.target.getSelectionStartFromPointer(e),n=this.__dragStartSelection;return t<n.selectionStart||t>n.selectionEnd}return!0}return!1}targetCanDrop(e){return this.target.canDrop(e)}dragEnterHandler(e){let{e:t}=e;const n=this.targetCanDrop(t);!this.__isDraggingOver&&n&&(this.__isDraggingOver=!0)}dragOverHandler(e){const{e:t}=e,n=this.targetCanDrop(t);!this.__isDraggingOver&&n?this.__isDraggingOver=!0:this.__isDraggingOver&&!n&&(this.__isDraggingOver=!1),this.__isDraggingOver&&(t.preventDefault(),e.canDrop=!0,e.dropTarget=this.target)}dragLeaveHandler(){(this.__isDraggingOver||this.isActive())&&(this.__isDraggingOver=!1)}dropHandler(e){var t;const{e:n}=e,r=n.defaultPrevented;this.__isDraggingOver=!1,n.preventDefault();let i=null===(t=n.dataTransfer)||void 0===t?void 0:t.getData("text/plain");if(i&&!r){const t=this.target,r=t.canvas;let o=t.getSelectionStartFromPointer(n);const{styles:a}=n.dataTransfer.types.includes("application/fabric")?JSON.parse(n.dataTransfer.getData("application/fabric")):{},s=i[Math.max(0,i.length-1)],l=0;if(this.__dragStartSelection){const e=this.__dragStartSelection.selectionStart,n=this.__dragStartSelection.selectionEnd;o>e&&o<=n?o=e:o>n&&(o-=n-e),t.removeChars(e,n),delete this.__dragStartSelection}t._reNewline.test(s)&&(t._reNewline.test(t._text[o])||o===t._text.length)&&(i=i.trimEnd()),e.didDrop=!0,e.dropTarget=t,t.insertChars(i,a,o),r.setActiveObject(t),t.enterEditing(n),t.selectionStart=Math.min(o+l,t._text.length),t.selectionEnd=Math.min(t.selectionStart+i.length,t._text.length),t.hiddenTextarea.value=t.text,t._updateTextarea(),t.hiddenTextarea.focus(),t.fire(q,{index:o+l,action:"drop"}),r.fire("text:changed",{target:t}),r.contextTopDirty=!0,r.requestRenderAll()}}dragEndHandler(e){let{e:t}=e;if(this.isActive()&&this.__dragStartFired&&this.__dragStartSelection){var n;const e=this.target,r=this.target.canvas,{selectionStart:i,selectionEnd:o}=this.__dragStartSelection,a=(null===(n=t.dataTransfer)||void 0===n?void 0:n.dropEffect)||N;a===N?(e.selectionStart=i,e.selectionEnd=o,e._updateTextarea(),e.hiddenTextarea.focus()):(e.clearContextTop(),"move"===a&&(e.removeChars(i,o),e.selectionStart=e.selectionEnd=i,e.hiddenTextarea&&(e.hiddenTextarea.value=e.text),e._updateTextarea(),e.fire(q,{index:i,action:"dragend"}),r.fire("text:changed",{target:e}),r.requestRenderAll()),e.exitEditing())}this.__dragImageDisposer&&this.__dragImageDisposer(),delete this.__dragImageDisposer,delete this.__dragStartSelection,this.__isDraggingOver=!1}dispose(){this._dispose&&this._dispose()}}const fa=/[ \n\.,;!\?\-]/;class ma extends pa{constructor(){super(...arguments),r(this,"_currentCursorOpacity",1)}initBehavior(){this._tick=this._tick.bind(this),this._onTickComplete=this._onTickComplete.bind(this),this.updateSelectionOnMouseMove=this.updateSelectionOnMouseMove.bind(this)}onDeselect(e){return this.isEditing&&this.exitEditing(),this.selected=!1,super.onDeselect(e)}_animateCursor(e){let{toValue:t,duration:n,delay:r,onComplete:i}=e;return Tn({startValue:this._currentCursorOpacity,endValue:t,duration:n,delay:r,onComplete:i,abort:()=>!this.canvas||this.selectionStart!==this.selectionEnd,onChange:e=>{this._currentCursorOpacity=e,this.renderCursorOrSelection()}})}_tick(e){this._currentTickState=this._animateCursor({toValue:0,duration:this.cursorDuration/2,delay:Math.max(e||0,100),onComplete:this._onTickComplete})}_onTickComplete(){var e;null===(e=this._currentTickCompleteState)||void 0===e||e.abort(),this._currentTickCompleteState=this._animateCursor({toValue:1,duration:this.cursorDuration,onComplete:this._tick})}initDelayedCursor(e){this.abortCursorAnimation(),this._tick(e?0:this.cursorDelay)}abortCursorAnimation(){let e=!1;[this._currentTickState,this._currentTickCompleteState].forEach((t=>{t&&!t.isDone()&&(e=!0,t.abort())})),this._currentCursorOpacity=1,e&&this.clearContextTop()}restartCursorIfNeeded(){[this._currentTickState,this._currentTickCompleteState].some((e=>!e||e.isDone()))&&this.initDelayedCursor()}selectAll(){return this.selectionStart=0,this.selectionEnd=this._text.length,this._fireSelectionChanged(),this._updateTextarea(),this}getSelectedText(){return this._text.slice(this.selectionStart,this.selectionEnd).join("")}findWordBoundaryLeft(e){let t=0,n=e-1;if(this._reSpace.test(this._text[n]))for(;this._reSpace.test(this._text[n]);)t++,n--;for(;/\S/.test(this._text[n])&&n>-1;)t++,n--;return e-t}findWordBoundaryRight(e){let t=0,n=e;if(this._reSpace.test(this._text[n]))for(;this._reSpace.test(this._text[n]);)t++,n++;for(;/\S/.test(this._text[n])&&n<this._text.length;)t++,n++;return e+t}findLineBoundaryLeft(e){let t=0,n=e-1;for(;!/\n/.test(this._text[n])&&n>-1;)t++,n--;return e-t}findLineBoundaryRight(e){let t=0,n=e;for(;!/\n/.test(this._text[n])&&n<this._text.length;)t++,n++;return e+t}searchWordBoundary(e,t){const n=this._text;let r=e>0&&this._reSpace.test(n[e])&&(-1===t||!M.test(n[e-1]))?e-1:e,i=n[r];for(;r>0&&r<n.length&&!fa.test(i);)r+=t,i=n[r];return-1===t&&fa.test(i)&&r++,r}selectWord(e){e=e||this.selectionStart;const t=this.searchWordBoundary(e,-1),n=Math.max(t,this.searchWordBoundary(e,1));this.selectionStart=t,this.selectionEnd=n,this._fireSelectionChanged(),this._updateTextarea(),this.renderCursorOrSelection()}selectLine(e){e=e||this.selectionStart;const t=this.findLineBoundaryLeft(e),n=this.findLineBoundaryRight(e);return this.selectionStart=t,this.selectionEnd=n,this._fireSelectionChanged(),this._updateTextarea(),this}enterEditing(e){!this.isEditing&&this.editable&&(this.canvas&&(this.canvas.calcOffset(),this.canvas.textEditingManager.exitTextEditing()),this.isEditing=!0,this.initHiddenTextarea(),this.hiddenTextarea.focus(),this.hiddenTextarea.value=this.text,this._updateTextarea(),this._saveEditingProps(),this._setEditingProps(),this._textBeforeEdit=this.text,this._tick(),this.fire("editing:entered",e?{e:e}:void 0),this._fireSelectionChanged(),this.canvas&&(this.canvas.fire("text:editing:entered",{target:this,e:e}),this.canvas.requestRenderAll()))}updateSelectionOnMouseMove(e){if(this.getActiveControl())return;const t=this.hiddenTextarea;at(t).activeElement!==t&&t.focus();const n=this.getSelectionStartFromPointer(e),r=this.selectionStart,i=this.selectionEnd;(n===this.__selectionStartOnMouseDown&&r!==i||r!==n&&i!==n)&&(n>this.__selectionStartOnMouseDown?(this.selectionStart=this.__selectionStartOnMouseDown,this.selectionEnd=n):(this.selectionStart=n,this.selectionEnd=this.__selectionStartOnMouseDown),this.selectionStart===r&&this.selectionEnd===i||(this._fireSelectionChanged(),this._updateTextarea(),this.renderCursorOrSelection()))}_setEditingProps(){this.hoverCursor="text",this.canvas&&(this.canvas.defaultCursor=this.canvas.moveCursor="text"),this.borderColor=this.editingBorderColor,this.hasControls=this.selectable=!1,this.lockMovementX=this.lockMovementY=!0}fromStringToGraphemeSelection(e,t,n){const r=n.slice(0,e),i=this.graphemeSplit(r).length;if(e===t)return{selectionStart:i,selectionEnd:i};const o=n.slice(e,t);return{selectionStart:i,selectionEnd:i+this.graphemeSplit(o).length}}fromGraphemeToStringSelection(e,t,n){const r=n.slice(0,e).join("").length;return e===t?{selectionStart:r,selectionEnd:r}:{selectionStart:r,selectionEnd:r+n.slice(e,t).join("").length}}_updateTextarea(){if(this.cursorOffsetCache={},this.hiddenTextarea){if(!this.inCompositionMode){const e=this.fromGraphemeToStringSelection(this.selectionStart,this.selectionEnd,this._text);this.hiddenTextarea.selectionStart=e.selectionStart,this.hiddenTextarea.selectionEnd=e.selectionEnd}this.updateTextareaPosition()}}updateFromTextArea(){if(!this.hiddenTextarea)return;this.cursorOffsetCache={};const e=this.hiddenTextarea;this.text=e.value,this.set("dirty",!0),this.initDimensions(),this.setCoords();const t=this.fromStringToGraphemeSelection(e.selectionStart,e.selectionEnd,e.value);this.selectionEnd=this.selectionStart=t.selectionEnd,this.inCompositionMode||(this.selectionStart=t.selectionStart),this.updateTextareaPosition()}updateTextareaPosition(){if(this.selectionStart===this.selectionEnd){const e=this._calcTextareaPosition();this.hiddenTextarea.style.left=e.left,this.hiddenTextarea.style.top=e.top}}_calcTextareaPosition(){if(!this.canvas)return{left:"1px",top:"1px"};const e=this.inCompositionMode?this.compositionStart:this.selectionStart,t=this._getCursorBoundaries(e),n=this.get2DCursorLocation(e),r=n.lineIndex,i=n.charIndex,o=this.getValueOfPropertyAt(r,i,"fontSize")*this.lineHeight,a=t.leftOffset,s=this.getCanvasRetinaScaling(),l=this.canvas.upperCanvasEl,c=l.width/s,u=l.height/s,d=c-o,p=u-o,h=new le(t.left+a,t.top+t.topOffset+o).transform(this.calcTransformMatrix()).transform(this.canvas.viewportTransform).multiply(new le(l.clientWidth/c,l.clientHeight/u));return h.x<0&&(h.x=0),h.x>d&&(h.x=d),h.y<0&&(h.y=0),h.y>p&&(h.y=p),h.x+=this.canvas._offset.left,h.y+=this.canvas._offset.top,{left:"".concat(h.x,"px"),top:"".concat(h.y,"px"),fontSize:"".concat(o,"px"),charHeight:o}}_saveEditingProps(){this._savedProps={hasControls:this.hasControls,borderColor:this.borderColor,lockMovementX:this.lockMovementX,lockMovementY:this.lockMovementY,hoverCursor:this.hoverCursor,selectable:this.selectable,defaultCursor:this.canvas&&this.canvas.defaultCursor,moveCursor:this.canvas&&this.canvas.moveCursor}}_restoreEditingProps(){this._savedProps&&(this.hoverCursor=this._savedProps.hoverCursor,this.hasControls=this._savedProps.hasControls,this.borderColor=this._savedProps.borderColor,this.selectable=this._savedProps.selectable,this.lockMovementX=this._savedProps.lockMovementX,this.lockMovementY=this._savedProps.lockMovementY,this.canvas&&(this.canvas.defaultCursor=this._savedProps.defaultCursor||this.canvas.defaultCursor,this.canvas.moveCursor=this._savedProps.moveCursor||this.canvas.moveCursor),delete this._savedProps)}_exitEditing(){const e=this.hiddenTextarea;this.selected=!1,this.isEditing=!1,e&&(e.blur&&e.blur(),e.parentNode&&e.parentNode.removeChild(e)),this.hiddenTextarea=null,this.abortCursorAnimation(),this.selectionStart!==this.selectionEnd&&this.clearContextTop()}exitEditing(){const e=this._textBeforeEdit!==this.text;return this._exitEditing(),this.selectionEnd=this.selectionStart,this._restoreEditingProps(),this._forceClearCache&&(this.initDimensions(),this.setCoords()),this.fire("editing:exited"),e&&this.fire($),this.canvas&&(this.canvas.fire("text:editing:exited",{target:this}),e&&this.canvas.fire("object:modified",{target:this})),this}_removeExtraneousStyles(){for(const e in this.styles)this._textLines[e]||delete this.styles[e]}removeStyleFromTo(e,t){const{lineIndex:n,charIndex:r}=this.get2DCursorLocation(e,!0),{lineIndex:i,charIndex:o}=this.get2DCursorLocation(t,!0);if(n!==i){if(this.styles[n])for(let e=r;e<this._unwrappedTextLines[n].length;e++)delete this.styles[n][e];if(this.styles[i])for(let e=o;e<this._unwrappedTextLines[i].length;e++){const t=this.styles[i][e];t&&(this.styles[n]||(this.styles[n]={}),this.styles[n][r+e-o]=t)}for(let e=n+1;e<=i;e++)delete this.styles[e];this.shiftLineStyles(i,n-i)}else if(this.styles[n]){const e=this.styles[n],t=o-r;for(let n=r;n<o;n++)delete e[n];for(const r in this.styles[n]){const n=parseInt(r,10);n>=o&&(e[n-t]=e[r],delete e[r])}}}shiftLineStyles(e,t){const n=Object.assign({},this.styles);for(const r in this.styles){const i=parseInt(r,10);i>e&&(this.styles[i+t]=n[i],n[i-t]||delete this.styles[i])}}insertNewlineStyleObject(e,t,n,r){const i={},a=this._unwrappedTextLines[e].length,s=a===t;let l=!1;n||(n=1),this.shiftLineStyles(e,n);const c=this.styles[e]?this.styles[e][0===t?t:t-1]:void 0;for(const o in this.styles[e]){const n=parseInt(o,10);n>=t&&(l=!0,i[n-t]=this.styles[e][o],s&&0===t||delete this.styles[e][o])}let u=!1;for(l&&!s&&(this.styles[e+n]=i,u=!0),(u||a>t)&&n--;n>0;)r&&r[n-1]?this.styles[e+n]={0:o({},r[n-1])}:c?this.styles[e+n]={0:o({},c)}:delete this.styles[e+n],n--;this._forceClearCache=!0}insertCharStyleObject(e,t,n,r){this.styles||(this.styles={});const i=this.styles[e],a=i?o({},i):{};n||(n=1);for(const o in a){const e=parseInt(o,10);e>=t&&(i[e+n]=a[e],a[e-n]||delete i[e])}if(this._forceClearCache=!0,r){for(;n--;)Object.keys(r[n]).length&&(this.styles[e]||(this.styles[e]={}),this.styles[e][t+n]=o({},r[n]));return}if(!i)return;const s=i[t?t-1:1];for(;s&&n--;)this.styles[e][t+n]=o({},s)}insertNewStyleBlock(e,t,n){const r=this.get2DCursorLocation(t,!0),i=[0];let o,a=0;for(let s=0;s<e.length;s++)"\n"===e[s]?(a++,i[a]=0):i[a]++;for(i[0]>0&&(this.insertCharStyleObject(r.lineIndex,r.charIndex,i[0],n),n=n&&n.slice(i[0]+1)),a&&this.insertNewlineStyleObject(r.lineIndex,r.charIndex+i[0],a),o=1;o<a;o++)i[o]>0?this.insertCharStyleObject(r.lineIndex+o,0,i[o],n):n&&this.styles[r.lineIndex+o]&&n[0]&&(this.styles[r.lineIndex+o][0]=n[0]),n=n&&n.slice(i[o]+1);i[o]>0&&this.insertCharStyleObject(r.lineIndex+o,0,i[o],n)}removeChars(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e+1;this.removeStyleFromTo(e,t),this._text.splice(e,t-e),this.text=this._text.join(""),this.set("dirty",!0),this.initDimensions(),this.setCoords(),this._removeExtraneousStyles()}insertChars(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:n;r>n&&this.removeStyleFromTo(n,r);const i=this.graphemeSplit(e);this.insertNewStyleBlock(i,n,t),this._text=[...this._text.slice(0,n),...i,...this._text.slice(r)],this.text=this._text.join(""),this.set("dirty",!0),this.initDimensions(),this.setCoords(),this._removeExtraneousStyles()}setSelectionStartEndWithShift(e,t,n){n<=e?(t===e?this._selectionDirection=T:this._selectionDirection===B&&(this._selectionDirection=T,this.selectionEnd=e),this.selectionStart=n):n>e&&n<t?this._selectionDirection===B?this.selectionEnd=n:this.selectionStart=n:(t===e?this._selectionDirection=B:this._selectionDirection===T&&(this._selectionDirection=B,this.selectionStart=t),this.selectionEnd=n)}}class ga extends ma{initHiddenTextarea(){const e=this.canvas&&at(this.canvas.getElement())||y(),t=e.createElement("textarea");Object.entries({autocapitalize:"off",autocorrect:"off",autocomplete:"off",spellcheck:"false","data-fabric":"textarea",wrap:"off"}).map((e=>{let[n,r]=e;return t.setAttribute(n,r)}));const{top:n,left:r,fontSize:i}=this._calcTextareaPosition();t.style.cssText="position: absolute; top: ".concat(n,"; left: ").concat(r,"; z-index: -999; opacity: 0; width: 1px; height: 1px; font-size: 1px; padding-top: ").concat(i,";"),(this.hiddenTextareaContainer||e.body).appendChild(t),Object.entries({blur:"blur",keydown:"onKeyDown",keyup:"onKeyUp",input:"onInput",copy:"copy",cut:"copy",paste:"paste",compositionstart:"onCompositionStart",compositionupdate:"onCompositionUpdate",compositionend:"onCompositionEnd"}).map((e=>{let[n,r]=e;return t.addEventListener(n,this[r].bind(this))})),this.hiddenTextarea=t}blur(){this.abortCursorAnimation()}onKeyDown(e){if(!this.isEditing)return;const t="rtl"===this.direction?this.keysMapRtl:this.keysMap;if(e.keyCode in t)this[t[e.keyCode]](e);else{if(!(e.keyCode in this.ctrlKeysMapDown)||!e.ctrlKey&&!e.metaKey)return;this[this.ctrlKeysMapDown[e.keyCode]](e)}e.stopImmediatePropagation(),e.preventDefault(),e.keyCode>=33&&e.keyCode<=40?(this.inCompositionMode=!1,this.clearContextTop(),this.renderCursorOrSelection()):this.canvas&&this.canvas.requestRenderAll()}onKeyUp(e){!this.isEditing||this._copyDone||this.inCompositionMode?this._copyDone=!1:e.keyCode in this.ctrlKeysMapUp&&(e.ctrlKey||e.metaKey)&&(this[this.ctrlKeysMapUp[e.keyCode]](e),e.stopImmediatePropagation(),e.preventDefault(),this.canvas&&this.canvas.requestRenderAll())}onInput(e){const t=this.fromPaste;if(this.fromPaste=!1,e&&e.stopPropagation(),!this.isEditing)return;const n=()=>{this.updateFromTextArea(),this.fire(q),this.canvas&&(this.canvas.fire("text:changed",{target:this}),this.canvas.requestRenderAll())};if(""===this.hiddenTextarea.value)return this.styles={},void n();const r=this._splitTextIntoLines(this.hiddenTextarea.value).graphemeText,i=this._text.length,o=r.length,a=this.selectionStart,s=this.selectionEnd,l=a!==s;let u,d,p,h,f=o-i;const m=this.fromStringToGraphemeSelection(this.hiddenTextarea.selectionStart,this.hiddenTextarea.selectionEnd,this.hiddenTextarea.value),g=a>m.selectionStart;l?(d=this._text.slice(a,s),f+=s-a):o<i&&(d=g?this._text.slice(s+f,s):this._text.slice(a,a-f));const y=r.slice(m.selectionEnd-f,m.selectionEnd);if(d&&d.length&&(y.length&&(u=this.getSelectionStyles(a,a+1,!1),u=y.map((()=>u[0]))),l?(p=a,h=s):g?(p=s-d.length,h=s):(p=s,h=s+d.length),this.removeStyleFromTo(p,h)),y.length){const{copyPasteData:e}=v();t&&y.join("")===e.copiedText&&!c.disableStyleCopyPaste&&(u=e.copiedTextStyle),this.insertNewStyleBlock(y,a,u)}n()}onCompositionStart(){this.inCompositionMode=!0}onCompositionEnd(){this.inCompositionMode=!1}onCompositionUpdate(e){let{target:t}=e;const{selectionStart:n,selectionEnd:r}=t;this.compositionStart=n,this.compositionEnd=r,this.updateTextareaPosition()}copy(){if(this.selectionStart===this.selectionEnd)return;const{copyPasteData:e}=v();e.copiedText=this.getSelectedText(),c.disableStyleCopyPaste?e.copiedTextStyle=void 0:e.copiedTextStyle=this.getSelectionStyles(this.selectionStart,this.selectionEnd,!0),this._copyDone=!0}paste(){this.fromPaste=!0}_getWidthBeforeCursor(e,t){let n,r=this._getLineLeftOffset(e);return t>0&&(n=this.__charBounds[e][t-1],r+=n.left+n.width),r}getDownCursorOffset(e,t){const n=this._getSelectionForOffset(e,t),r=this.get2DCursorLocation(n),i=r.lineIndex;if(i===this._textLines.length-1||e.metaKey||34===e.keyCode)return this._text.length-n;const o=r.charIndex,a=this._getWidthBeforeCursor(i,o),s=this._getIndexOnLine(i+1,a);return this._textLines[i].slice(o).length+s+1+this.missingNewlineOffset(i)}_getSelectionForOffset(e,t){return e.shiftKey&&this.selectionStart!==this.selectionEnd&&t?this.selectionEnd:this.selectionStart}getUpCursorOffset(e,t){const n=this._getSelectionForOffset(e,t),r=this.get2DCursorLocation(n),i=r.lineIndex;if(0===i||e.metaKey||33===e.keyCode)return-n;const o=r.charIndex,a=this._getWidthBeforeCursor(i,o),s=this._getIndexOnLine(i-1,a),l=this._textLines[i].slice(0,o),c=this.missingNewlineOffset(i-1);return-this._textLines[i-1].length+s-l.length+(1-c)}_getIndexOnLine(e,t){const n=this._textLines[e];let r,i,o=this._getLineLeftOffset(e),a=0;for(let s=0,l=n.length;s<l;s++)if(r=this.__charBounds[e][s].width,o+=r,o>t){i=!0;const e=o-r,n=o,l=Math.abs(e-t);a=Math.abs(n-t)<l?s:s-1;break}return i||(a=n.length-1),a}moveCursorDown(e){this.selectionStart>=this._text.length&&this.selectionEnd>=this._text.length||this._moveCursorUpOrDown("Down",e)}moveCursorUp(e){0===this.selectionStart&&0===this.selectionEnd||this._moveCursorUpOrDown("Up",e)}_moveCursorUpOrDown(e,t){const n=this["get".concat(e,"CursorOffset")](t,this._selectionDirection===B);if(t.shiftKey?this.moveCursorWithShift(n):this.moveCursorWithoutShift(n),0!==n){const e=this.text.length;this.selectionStart=dn(0,this.selectionStart,e),this.selectionEnd=dn(0,this.selectionEnd,e),this.abortCursorAnimation(),this.initDelayedCursor(),this._fireSelectionChanged(),this._updateTextarea()}}moveCursorWithShift(e){const t=this._selectionDirection===T?this.selectionStart+e:this.selectionEnd+e;return this.setSelectionStartEndWithShift(this.selectionStart,this.selectionEnd,t),0!==e}moveCursorWithoutShift(e){return e<0?(this.selectionStart+=e,this.selectionEnd=this.selectionStart):(this.selectionEnd+=e,this.selectionStart=this.selectionEnd),0!==e}moveCursorLeft(e){0===this.selectionStart&&0===this.selectionEnd||this._moveCursorLeftOrRight("Left",e)}_move(e,t,n){let r;if(e.altKey)r=this["findWordBoundary".concat(n)](this[t]);else{if(!e.metaKey&&35!==e.keyCode&&36!==e.keyCode)return this[t]+="Left"===n?-1:1,!0;r=this["findLineBoundary".concat(n)](this[t])}return void 0!==r&&this[t]!==r&&(this[t]=r,!0)}_moveLeft(e,t){return this._move(e,t,"Left")}_moveRight(e,t){return this._move(e,t,"Right")}moveCursorLeftWithoutShift(e){let t=!0;return this._selectionDirection=T,this.selectionEnd===this.selectionStart&&0!==this.selectionStart&&(t=this._moveLeft(e,"selectionStart")),this.selectionEnd=this.selectionStart,t}moveCursorLeftWithShift(e){return this._selectionDirection===B&&this.selectionStart!==this.selectionEnd?this._moveLeft(e,"selectionEnd"):0!==this.selectionStart?(this._selectionDirection=T,this._moveLeft(e,"selectionStart")):void 0}moveCursorRight(e){this.selectionStart>=this._text.length&&this.selectionEnd>=this._text.length||this._moveCursorLeftOrRight("Right",e)}_moveCursorLeftOrRight(e,t){const n="moveCursor".concat(e).concat(t.shiftKey?"WithShift":"WithoutShift");this._currentCursorOpacity=1,this[n](t)&&(this.abortCursorAnimation(),this.initDelayedCursor(),this._fireSelectionChanged(),this._updateTextarea())}moveCursorRightWithShift(e){return this._selectionDirection===T&&this.selectionStart!==this.selectionEnd?this._moveRight(e,"selectionStart"):this.selectionEnd!==this._text.length?(this._selectionDirection=B,this._moveRight(e,"selectionEnd")):void 0}moveCursorRightWithoutShift(e){let t=!0;return this._selectionDirection=B,this.selectionStart===this.selectionEnd?(t=this._moveRight(e,"selectionStart"),this.selectionEnd=this.selectionStart):this.selectionStart=this.selectionEnd,t}}const va=e=>!!e.button;class ya extends ga{constructor(){super(...arguments),r(this,"draggableTextDelegate",void 0)}initBehavior(){this.on("mousedown",this._mouseDownHandler),this.on("mousedown:before",this._mouseDownHandlerBefore),this.on("mouseup",this.mouseUpHandler),this.on("mousedblclick",this.doubleClickHandler),this.on("tripleclick",this.tripleClickHandler),this.__lastClickTime=+new Date,this.__lastLastClickTime=+new Date,this.__lastPointer={},this.on("mousedown",this.onMouseDown),this.draggableTextDelegate=new ha(this),super.initBehavior()}shouldStartDragging(){return this.draggableTextDelegate.isActive()}onDragStart(e){return this.draggableTextDelegate.onDragStart(e)}canDrop(e){return this.draggableTextDelegate.canDrop(e)}onMouseDown(e){if(!this.canvas)return;this.__newClickTime=+new Date;const t=e.pointer;this.isTripleClick(t)&&(this.fire("tripleclick",e),vt(e.e)),this.__lastLastClickTime=this.__lastClickTime,this.__lastClickTime=this.__newClickTime,this.__lastPointer=t,this.__lastSelected=this.selected&&!this.getActiveControl()}isTripleClick(e){return this.__newClickTime-this.__lastClickTime<500&&this.__lastClickTime-this.__lastLastClickTime<500&&this.__lastPointer.x===e.x&&this.__lastPointer.y===e.y}doubleClickHandler(e){this.isEditing&&this.selectWord(this.getSelectionStartFromPointer(e.e))}tripleClickHandler(e){this.isEditing&&this.selectLine(this.getSelectionStartFromPointer(e.e))}_mouseDownHandler(e){let{e:t}=e;this.canvas&&this.editable&&!va(t)&&!this.getActiveControl()&&(this.draggableTextDelegate.start(t)||(this.canvas.textEditingManager.register(this),this.selected&&(this.inCompositionMode=!1,this.setCursorByClick(t)),this.isEditing&&(this.__selectionStartOnMouseDown=this.selectionStart,this.selectionStart===this.selectionEnd&&this.abortCursorAnimation(),this.renderCursorOrSelection())))}_mouseDownHandlerBefore(e){let{e:t}=e;this.canvas&&this.editable&&!va(t)&&(this.selected=this===this.canvas._activeObject)}mouseUpHandler(e){let{e:t,transform:n}=e;const r=this.draggableTextDelegate.end(t);if(this.canvas){this.canvas.textEditingManager.unregister(this);const e=this.canvas._activeObject;if(e&&e!==this)return}!this.editable||this.group&&!this.group.interactive||n&&n.actionPerformed||va(t)||r||(this.__lastSelected&&!this.getActiveControl()?(this.selected=!1,this.__lastSelected=!1,this.enterEditing(t),this.selectionStart===this.selectionEnd?this.initDelayedCursor(!0):this.renderCursorOrSelection()):this.selected=!0)}setCursorByClick(e){const t=this.getSelectionStartFromPointer(e),n=this.selectionStart,r=this.selectionEnd;e.shiftKey?this.setSelectionStartEndWithShift(n,r,t):(this.selectionStart=t,this.selectionEnd=t),this.isEditing&&(this._fireSelectionChanged(),this._updateTextarea())}getSelectionStartFromPointer(e){const t=this.canvas.getScenePoint(e).transform(Se(this.calcTransformMatrix())).add(new le(-this._getLeftOffset(),-this._getTopOffset()));let n=0,r=0,i=0;for(let l=0;l<this._textLines.length&&n<=t.y;l++)n+=this.getHeightOfLine(l),i=l,l>0&&(r+=this._textLines[l-1].length+this.missingNewlineOffset(l-1));let o=Math.abs(this._getLineLeftOffset(i));const a=this._textLines[i].length,s=this.__charBounds[i];for(let l=0;l<a;l++){const e=o+s[l].kernedWidth;if(t.x<=e){Math.abs(t.x-e)<=Math.abs(t.x-o)&&r++;break}o=e,r++}return Math.min(this.flipX?a-r:r,this._text.length)}}const Aa="moveCursorUp",ba="moveCursorDown",wa="moveCursorLeft",xa="moveCursorRight",Ca="exitEditing",Sa=o({selectionStart:0,selectionEnd:0,selectionColor:"rgba(17,119,255,0.3)",isEditing:!1,editable:!0,editingBorderColor:"rgba(102,153,255,0.25)",cursorWidth:2,cursorColor:"",cursorDelay:1e3,cursorDuration:600,caching:!0,hiddenTextareaContainer:null,keysMap:{9:Ca,27:Ca,33:Aa,34:ba,35:xa,36:wa,37:wa,38:Aa,39:xa,40:ba},keysMapRtl:{9:Ca,27:Ca,33:Aa,34:ba,35:wa,36:xa,37:xa,38:Aa,39:wa,40:ba},ctrlKeysMapDown:{65:"selectAll"},ctrlKeysMapUp:{67:"copy",88:"cut"}},{_selectionDirection:null,_reSpace:/\s|\r?\n/,inCompositionMode:!1});class ka extends ya{static getDefaults(){return o(o({},super.getDefaults()),ka.ownDefaults)}get type(){const e=super.type;return"itext"===e?"i-text":e}constructor(e,t){super(e,o(o({},ka.ownDefaults),t)),this.initBehavior()}_set(e,t){return this.isEditing&&this._savedProps&&e in this._savedProps?(this._savedProps[e]=t,this):("canvas"===e&&(this.canvas instanceof mo&&this.canvas.textEditingManager.remove(this),t instanceof mo&&t.textEditingManager.add(this)),super._set(e,t))}setSelectionStart(e){e=Math.max(e,0),this._updateAndFire("selectionStart",e)}setSelectionEnd(e){e=Math.min(e,this.text.length),this._updateAndFire("selectionEnd",e)}_updateAndFire(e,t){this[e]!==t&&(this._fireSelectionChanged(),this[e]=t),this._updateTextarea()}_fireSelectionChanged(){this.fire("selection:changed"),this.canvas&&this.canvas.fire("text:selection:changed",{target:this})}initDimensions(){this.isEditing&&this.initDelayedCursor(),super.initDimensions()}getSelectionStyles(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.selectionStart||0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.selectionEnd,n=arguments.length>2?arguments[2]:void 0;return super.getSelectionStyles(e,t,n)}setSelectionStyles(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.selectionStart||0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.selectionEnd;return super.setSelectionStyles(e,t,n)}get2DCursorLocation(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.selectionStart,t=arguments.length>1?arguments[1]:void 0;return super.get2DCursorLocation(e,t)}render(e){super.render(e),this.cursorOffsetCache={},this.renderCursorOrSelection()}toCanvasElement(e){const t=this.isEditing;this.isEditing=!1;const n=super.toCanvasElement(e);return this.isEditing=t,n}renderCursorOrSelection(){if(!this.isEditing)return;const e=this.clearContextTop(!0);if(!e)return;const t=this._getCursorBoundaries();this.selectionStart===this.selectionEnd?this.renderCursor(e,t):this.renderSelection(e,t),this.canvas.contextTopDirty=!0,e.restore()}_getCursorBoundaries(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.selectionStart,t=arguments.length>1?arguments[1]:void 0;const n=this._getLeftOffset(),r=this._getTopOffset(),i=this._getCursorBoundariesOffsets(e,t);return{left:n,top:r,leftOffset:i.left,topOffset:i.top}}_getCursorBoundariesOffsets(e,t){return t?this.__getCursorBoundariesOffsets(e):this.cursorOffsetCache&&"top"in this.cursorOffsetCache?this.cursorOffsetCache:this.cursorOffsetCache=this.__getCursorBoundariesOffsets(e)}__getCursorBoundariesOffsets(e){let t=0,n=0;const{charIndex:r,lineIndex:i}=this.get2DCursorLocation(e);for(let l=0;l<i;l++)t+=this.getHeightOfLine(l);const o=this._getLineLeftOffset(i),a=this.__charBounds[i][r];a&&(n=a.left),0!==this.charSpacing&&r===this._textLines[i].length&&(n-=this._getWidthOfCharSpacing());const s={top:t,left:o+(n>0?n:0)};return"rtl"===this.direction&&(this.textAlign===B||this.textAlign===na||this.textAlign===ia?s.left*=-1:this.textAlign===T||this.textAlign===ra?s.left=o-(n>0?n:0):this.textAlign!==O&&this.textAlign!==oa||(s.left=o-(n>0?n:0))),s}renderCursorAt(e){const t=this._getCursorBoundaries(e,!0);this._renderCursor(this.canvas.contextTop,t,e)}renderCursor(e,t){this._renderCursor(e,t,this.selectionStart)}_renderCursor(e,t,n){const r=this.get2DCursorLocation(n),i=r.lineIndex,o=r.charIndex>0?r.charIndex-1:0,a=this.getValueOfPropertyAt(i,o,"fontSize"),s=this.getObjectScaling().x*this.canvas.getZoom(),l=this.cursorWidth/s,c=this.getValueOfPropertyAt(i,o,"deltaY"),u=t.topOffset+(1-this._fontSizeFraction)*this.getHeightOfLine(i)/this.lineHeight-a*(1-this._fontSizeFraction);this.inCompositionMode&&this.renderSelection(e,t),e.fillStyle=this.cursorColor||this.getValueOfPropertyAt(i,o,X),e.globalAlpha=this._currentCursorOpacity,e.fillRect(t.left+t.leftOffset-l/2,u+t.top+c,l,a)}renderSelection(e,t){const n={selectionStart:this.inCompositionMode?this.hiddenTextarea.selectionStart:this.selectionStart,selectionEnd:this.inCompositionMode?this.hiddenTextarea.selectionEnd:this.selectionEnd};this._renderSelection(e,n,t)}renderDragSourceEffect(){const e=this.draggableTextDelegate.getDragStartSelection();this._renderSelection(this.canvas.contextTop,e,this._getCursorBoundaries(e.selectionStart,!0))}renderDropTargetEffect(e){const t=this.getSelectionStartFromPointer(e);this.renderCursorAt(t)}_renderSelection(e,t,n){const r=t.selectionStart,i=t.selectionEnd,o=this.textAlign.includes(na),a=this.get2DCursorLocation(r),s=this.get2DCursorLocation(i),l=a.lineIndex,c=s.lineIndex,u=a.charIndex<0?0:a.charIndex,d=s.charIndex<0?0:s.charIndex;for(let p=l;p<=c;p++){const t=this._getLineLeftOffset(p)||0;let r=this.getHeightOfLine(p),i=0,a=0,s=0;if(p===l&&(a=this.__charBounds[l][u].left),p>=l&&p<c)s=o&&!this.isEndOfWrapping(p)?this.width:this.getLineWidth(p)||5;else if(p===c)if(0===d)s=this.__charBounds[c][d].left;else{const e=this._getWidthOfCharSpacing();s=this.__charBounds[c][d-1].left+this.__charBounds[c][d-1].width-e}i=r,(this.lineHeight<1||p===c&&this.lineHeight>1)&&(r/=this.lineHeight);let h=n.left+t+a,f=r,m=0;const g=s-a;this.inCompositionMode?(e.fillStyle=this.compositionColor||"black",f=1,m=r):e.fillStyle=this.selectionColor,"rtl"===this.direction&&(this.textAlign===B||this.textAlign===na||this.textAlign===ia?h=this.width-h-g:this.textAlign===T||this.textAlign===ra?h=n.left+t-s:this.textAlign!==O&&this.textAlign!==oa||(h=n.left+t-s)),e.fillRect(h,n.top+n.topOffset+m,g,f),n.topOffset+=i}}getCurrentCharFontSize(){const e=this._getCurrentCharIndex();return this.getValueOfPropertyAt(e.l,e.c,"fontSize")}getCurrentCharColor(){const e=this._getCurrentCharIndex();return this.getValueOfPropertyAt(e.l,e.c,X)}_getCurrentCharIndex(){const e=this.get2DCursorLocation(this.selectionStart,!0),t=e.charIndex>0?e.charIndex-1:0;return{l:e.lineIndex,c:t}}dispose(){this._exitEditing(),this.draggableTextDelegate.dispose(),super.dispose()}}r(ka,"ownDefaults",Sa),r(ka,"type","IText"),ne.setClass(ka),ne.setClass(ka,"i-text");class Ea extends ka{static getDefaults(){return o(o({},super.getDefaults()),Ea.ownDefaults)}constructor(e,t){super(e,o(o({},Ea.ownDefaults),t))}static createControls(){return{controls:fr()}}initDimensions(){this.initialized&&(this.isEditing&&this.initDelayedCursor(),this._clearCache(),this.dynamicMinWidth=0,this._styleMap=this._generateStyleMap(this._splitText()),this.dynamicMinWidth>this.width&&this._set("width",this.dynamicMinWidth),this.textAlign.includes(na)&&this.enlargeSpaces(),this.height=this.calcTextHeight())}_generateStyleMap(e){let t=0,n=0,r=0;const i={};for(let o=0;o<e.graphemeLines.length;o++)"\n"===e.graphemeText[r]&&o>0?(n=0,r++,t++):!this.splitByGrapheme&&this._reSpaceAndTab.test(e.graphemeText[r])&&o>0&&(n++,r++),i[o]={line:t,offset:n},r+=e.graphemeLines[o].length,n+=e.graphemeLines[o].length;return i}styleHas(e,t){if(this._styleMap&&!this.isWrapping){const e=this._styleMap[t];e&&(t=e.line)}return super.styleHas(e,t)}isEmptyStyles(e){if(!this.styles)return!0;let t,n=0,r=e+1,i=!1;const o=this._styleMap[e],a=this._styleMap[e+1];o&&(e=o.line,n=o.offset),a&&(r=a.line,i=r===e,t=a.offset);const s=void 0===e?this.styles:{line:this.styles[e]};for(const l in s)for(const e in s[l]){const r=parseInt(e,10);if(r>=n&&(!i||r<t))for(const t in s[l][e])return!1}return!0}_getStyleDeclaration(e,t){if(this._styleMap&&!this.isWrapping){const n=this._styleMap[e];if(!n)return{};e=n.line,t=n.offset+t}return super._getStyleDeclaration(e,t)}_setStyleDeclaration(e,t,n){const r=this._styleMap[e];super._setStyleDeclaration(r.line,r.offset+t,n)}_deleteStyleDeclaration(e,t){const n=this._styleMap[e];super._deleteStyleDeclaration(n.line,n.offset+t)}_getLineStyle(e){const t=this._styleMap[e];return!!this.styles[t.line]}_setLineStyle(e){const t=this._styleMap[e];super._setLineStyle(t.line)}_wrapText(e,t){this.isWrapping=!0;const n=this.getGraphemeDataForRender(e),r=[];for(let i=0;i<n.wordsData.length;i++)r.push(...this._wrapLine(i,t,n));return this.isWrapping=!1,r}getGraphemeDataForRender(e){const t=this.splitByGrapheme,n=t?"":" ";let r=0;return{wordsData:e.map(((e,i)=>{let o=0;const a=t?this.graphemeSplit(e):this.wordSplit(e);return 0===a.length?[{word:[],width:0}]:a.map((e=>{const a=t?[e]:this.graphemeSplit(e),s=this._measureWord(a,i,o);return r=Math.max(s,r),o+=a.length+n.length,{word:a,width:s}}))})),largestWordWidth:r}}_measureWord(e,t){let n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=0;for(let o=0,a=e.length;o<a;o++)i+=this._getGraphemeBox(e[o],t,o+r,n,!0).kernedWidth,n=e[o];return i}wordSplit(e){return e.split(this._wordJoiners)}_wrapLine(e,t,n){let{largestWordWidth:r,wordsData:i}=n,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;const a=this._getWidthOfCharSpacing(),s=this.splitByGrapheme,l=[],c=s?"":" ";let u=0,d=[],p=0,h=0,f=!0;t-=o;const m=Math.max(t,r,this.dynamicMinWidth),g=i[e];let v;for(p=0,v=0;v<g.length;v++){const{word:t,width:n}=g[v];p+=t.length,u+=h+n-a,u>m&&!f?(l.push(d),d=[],u=n,f=!0):u+=a,f||s||d.push(c),d=d.concat(t),h=s?0:this._measureWord([c],e,p),p++,f=!1}return v&&l.push(d),r+o>this.dynamicMinWidth&&(this.dynamicMinWidth=r-a+o),l}isEndOfWrapping(e){return!this._styleMap[e+1]||this._styleMap[e+1].line!==this._styleMap[e].line}missingNewlineOffset(e,t){return this.splitByGrapheme&&!t?this.isEndOfWrapping(e)?1:0:1}_splitTextIntoLines(e){const t=super._splitTextIntoLines(e),n=this._wrapText(t.lines,this.width),r=new Array(n.length);for(let i=0;i<n.length;i++)r[i]=n[i].join("");return t.lines=r,t.graphemeLines=n,t}getMinWidth(){return Math.max(this.minWidth,this.dynamicMinWidth)}_removeExtraneousStyles(){const e=new Map;for(const t in this._styleMap){const n=parseInt(t,10);if(this._textLines[n]){const n=this._styleMap[t].line;e.set("".concat(n),!0)}}for(const t in this.styles)e.has(t)||delete this.styles[t]}toObject(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return super.toObject(["minWidth","splitByGrapheme",...e])}}r(Ea,"type","Textbox"),r(Ea,"textLayoutProperties",[...ka.textLayoutProperties,"width"]),r(Ea,"ownDefaults",{minWidth:20,dynamicMinWidth:2,lockScalingFlip:!0,noScaleCache:!1,_wordJoiners:/[ \t\r]/,splitByGrapheme:!1}),ne.setClass(Ea);class Ia extends gi{shouldPerformLayout(e){return!!e.target.clipPath&&super.shouldPerformLayout(e)}shouldLayoutClipPath(){return!1}calcLayoutResult(e,t){const{target:n}=e,{clipPath:r,group:i}=n;if(!r||!this.shouldPerformLayout(e))return;const{width:o,height:a}=yt(mi(n,r)),s=new le(o,a);if(r.absolutePositioned)return{center:Et(r.getRelativeCenterPoint(),void 0,i?i.calcTransformMatrix():void 0),size:s};{const i=r.getRelativeCenterPoint().transform(n.calcOwnMatrix(),!0);if(this.shouldPerformLayout(e)){const{center:n=new le,correction:r=new le}=this.calcBoundingBox(t,e)||{};return{center:n.add(i),correction:r.subtract(i),size:s}}return{center:n.getRelativeCenterPoint().add(i),size:s}}}}r(Ia,"type","clip-path"),ne.setClass(Ia);class _a extends gi{getInitialSize(e,t){let{target:n}=e,{size:r}=t;return new le(n.width||r.x,n.height||r.y)}}r(_a,"type","fixed"),ne.setClass(_a);class Pa extends wi{subscribeTargets(e){const t=e.target;e.targets.reduce(((e,t)=>(t.parent&&e.add(t.parent),e)),new Set).forEach((e=>{e.layoutManager.subscribeTargets({target:e,targets:[t]})}))}unsubscribeTargets(e){const t=e.target,n=t.getObjects();e.targets.reduce(((e,t)=>(t.parent&&e.add(t.parent),e)),new Set).forEach((e=>{!n.some((t=>t.parent===e))&&e.layoutManager.unsubscribeTargets({target:e,targets:[t]})}))}}class Oa extends Si{static getDefaults(){return o(o({},super.getDefaults()),Oa.ownDefaults)}constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};super(),Object.assign(this,Oa.ownDefaults),this.setOptions(t);const{left:n,top:r,layoutManager:i}=t;this.groupInit(e,{left:n,top:r,layoutManager:null!=i?i:new Pa})}_shouldSetNestedCoords(){return!0}__objectSelectionMonitor(){}multiSelectAdd(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];"selection-order"===this.multiSelectionStacking?this.add(...t):t.forEach((e=>{const t=this._objects.findIndex((t=>t.isInFrontOf(e))),n=-1===t?this.size():t;this.insertAt(n,e)}))}canEnterGroup(e){return this.getObjects().some((t=>t.isDescendantOf(e)||e.isDescendantOf(t)))?(u("error","ActiveSelection: circular object trees are not supported, this call has no effect"),!1):super.canEnterGroup(e)}enterGroup(e,t){e.parent&&e.parent===e.group?e.parent._exitGroup(e):e.group&&e.parent!==e.group&&e.group.remove(e),this._enterGroup(e,t)}exitGroup(e,t){this._exitGroup(e,t),e.parent&&e.parent._enterGroup(e,!0)}_onAfterObjectsChange(e,t){super._onAfterObjectsChange(e,t);const n=new Set;t.forEach((e=>{const{parent:t}=e;t&&n.add(t)})),e===hi?n.forEach((e=>{e._onAfterObjectsChange(pi,t)})):n.forEach((e=>{e._set("dirty",!0)}))}onDeselect(){return this.removeAll(),!1}toString(){return"#<ActiveSelection: (".concat(this.complexity(),")>")}shouldCache(){return!1}isOnACache(){return!1}_renderControls(e,t,n){e.save(),e.globalAlpha=this.isMoving?this.borderOpacityWhenMoving:1;const r=o(o({hasControls:!1},n),{},{forActiveSelection:!0});for(let i=0;i<this._objects.length;i++)this._objects[i]._renderControls(e,r);super._renderControls(e,t),e.restore()}}r(Oa,"type","ActiveSelection"),r(Oa,"ownDefaults",{multiSelectionStacking:"canvas-stacking"}),ne.setClass(Oa),ne.setClass(Oa,"activeSelection");class Ta{constructor(){r(this,"resources",{})}applyFilters(e,t,n,r,i){const o=i.getContext("2d");if(!o)return;o.drawImage(t,0,0,n,r);const a={sourceWidth:n,sourceHeight:r,imageData:o.getImageData(0,0,n,r),originalEl:t,originalImageData:o.getImageData(0,0,n,r),canvasEl:i,ctx:o,filterBackend:this};e.forEach((e=>{e.applyTo(a)}));const{imageData:s}=a;return s.width===n&&s.height===r||(i.width=s.width,i.height=s.height),o.putImageData(s,0,0),a}}class Da{constructor(){let{tileSize:e=c.textureSize}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};r(this,"aPosition",new Float32Array([0,0,0,1,1,0,1,1])),r(this,"resources",{}),this.tileSize=e,this.setupGLContext(e,e),this.captureGPUInfo()}setupGLContext(e,t){this.dispose(),this.createWebGLCanvas(e,t)}createWebGLCanvas(e,t){const n=ve();n.width=e,n.height=t;const r=n.getContext("webgl",{alpha:!0,premultipliedAlpha:!1,depth:!1,stencil:!1,antialias:!1});r&&(r.clearColor(0,0,0,0),this.canvas=n,this.gl=r)}applyFilters(e,t,n,r,i,o){const a=this.gl,s=i.getContext("2d");if(!a||!s)return;let l;o&&(l=this.getCachedTexture(o,t));const c={originalWidth:t.width||t.originalWidth||0,originalHeight:t.height||t.originalHeight||0,sourceWidth:n,sourceHeight:r,destinationWidth:n,destinationHeight:r,context:a,sourceTexture:this.createTexture(a,n,r,l?void 0:t),targetTexture:this.createTexture(a,n,r),originalTexture:l||this.createTexture(a,n,r,l?void 0:t),passes:e.length,webgl:!0,aPosition:this.aPosition,programCache:this.programCache,pass:0,filterBackend:this,targetCanvas:i},u=a.createFramebuffer();return a.bindFramebuffer(a.FRAMEBUFFER,u),e.forEach((e=>{e&&e.applyTo(c)})),function(e){const t=e.targetCanvas,n=t.width,r=t.height,i=e.destinationWidth,o=e.destinationHeight;n===i&&r===o||(t.width=i,t.height=o)}(c),this.copyGLTo2D(a,c),a.bindTexture(a.TEXTURE_2D,null),a.deleteTexture(c.sourceTexture),a.deleteTexture(c.targetTexture),a.deleteFramebuffer(u),s.setTransform(1,0,0,1,0,0),c}dispose(){this.canvas&&(this.canvas=null,this.gl=null),this.clearWebGLCaches()}clearWebGLCaches(){this.programCache={},this.textureCache={}}createTexture(e,t,n,r,i){const{NEAREST:o,TEXTURE_2D:a,RGBA:s,UNSIGNED_BYTE:l,CLAMP_TO_EDGE:c,TEXTURE_MAG_FILTER:u,TEXTURE_MIN_FILTER:d,TEXTURE_WRAP_S:p,TEXTURE_WRAP_T:h}=e,f=e.createTexture();return e.bindTexture(a,f),e.texParameteri(a,u,i||o),e.texParameteri(a,d,i||o),e.texParameteri(a,p,c),e.texParameteri(a,h,c),r?e.texImage2D(a,0,s,s,l,r):e.texImage2D(a,0,s,t,n,0,s,l,null),f}getCachedTexture(e,t,n){const{textureCache:r}=this;if(r[e])return r[e];{const i=this.createTexture(this.gl,t.width,t.height,t,n);return i&&(r[e]=i),i}}evictCachesForKey(e){this.textureCache[e]&&(this.gl.deleteTexture(this.textureCache[e]),delete this.textureCache[e])}copyGLTo2D(e,t){const n=e.canvas,r=t.targetCanvas,i=r.getContext("2d");if(!i)return;i.translate(0,r.height),i.scale(1,-1);const o=n.height-r.height;i.drawImage(n,0,o,r.width,r.height,0,0,r.width,r.height)}copyGLTo2DPutImageData(e,t){const n=t.targetCanvas.getContext("2d"),r=t.destinationWidth,i=t.destinationHeight,o=r*i*4;if(!n)return;const a=new Uint8Array(this.imageBuffer,0,o),s=new Uint8ClampedArray(this.imageBuffer,0,o);e.readPixels(0,0,r,i,e.RGBA,e.UNSIGNED_BYTE,a);const l=new ImageData(s,r,i);n.putImageData(l,0,0)}captureGPUInfo(){if(this.gpuInfo)return this.gpuInfo;const e=this.gl,t={renderer:"",vendor:""};if(!e)return t;const n=e.getExtension("WEBGL_debug_renderer_info");if(n){const r=e.getParameter(n.UNMASKED_RENDERER_WEBGL),i=e.getParameter(n.UNMASKED_VENDOR_WEBGL);r&&(t.renderer=r.toLowerCase()),i&&(t.vendor=i.toLowerCase())}return this.gpuInfo=t,t}}let ja;function Ba(){return!ja&&(!(arguments.length>0&&void 0!==arguments[0])||arguments[0])&&(ja=function(){const{WebGLProbe:e}=v();return e.queryWebGL(ve()),c.enableGLFiltering&&e.isSupported(c.textureSize)?new Da({tileSize:c.textureSize}):new Ta}()),ja}const Na=["filters","resizeFilter","src","crossOrigin","type"],Ma=["cropX","cropY"];class Ra extends vr{static getDefaults(){return o(o({},super.getDefaults()),Ra.ownDefaults)}constructor(e,t){super(),r(this,"_lastScaleX",1),r(this,"_lastScaleY",1),r(this,"_filterScalingX",1),r(this,"_filterScalingY",1),this.filters=[],Object.assign(this,Ra.ownDefaults),this.setOptions(t),this.cacheKey="texture".concat(ge()),this.setElement("string"==typeof e?(this.canvas&&at(this.canvas.getElement())||y()).getElementById(e):e,t)}getElement(){return this._element}setElement(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.removeTexture(this.cacheKey),this.removeTexture("".concat(this.cacheKey,"_filtered")),this._element=e,this._originalElement=e,this._setWidthHeight(t),e.classList.add(Ra.CSS_CANVAS),0!==this.filters.length&&this.applyFilters(),this.resizeFilter&&this.applyResizeFilters()}removeTexture(e){const t=Ba(!1);t instanceof Da&&t.evictCachesForKey(e)}dispose(){super.dispose(),this.removeTexture(this.cacheKey),this.removeTexture("".concat(this.cacheKey,"_filtered")),this._cacheContext=null,["_originalElement","_element","_filteredEl","_cacheCanvas"].forEach((e=>{const t=this[e];t&&v().dispose(t),this[e]=void 0}))}getCrossOrigin(){return this._originalElement&&(this._originalElement.crossOrigin||null)}getOriginalSize(){const e=this.getElement();return e?{width:e.naturalWidth||e.width,height:e.naturalHeight||e.height}:{width:0,height:0}}_stroke(e){if(!this.stroke||0===this.strokeWidth)return;const t=this.width/2,n=this.height/2;e.beginPath(),e.moveTo(-t,-n),e.lineTo(t,-n),e.lineTo(t,n),e.lineTo(-t,n),e.lineTo(-t,-n),e.closePath()}toObject(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];const t=[];return this.filters.forEach((e=>{e&&t.push(e.toObject())})),o(o({},super.toObject([...Ma,...e])),{},{src:this.getSrc(),crossOrigin:this.getCrossOrigin(),filters:t},this.resizeFilter?{resizeFilter:this.resizeFilter.toObject()}:{})}hasCrop(){return!!this.cropX||!!this.cropY||this.width<this._element.width||this.height<this._element.height}_toSVG(){const e=[],t=this._element,n=-this.width/2,r=-this.height/2;let i=[],o=[],a="",s="";if(!t)return[];if(this.hasCrop()){const e=ge();i.push('<clipPath id="imageCrop_'+e+'">\n','\t<rect x="'+n+'" y="'+r+'" width="'+this.width+'" height="'+this.height+'" />\n',"</clipPath>\n"),a=' clip-path="url(#imageCrop_'+e+')" '}if(this.imageSmoothing||(s=' image-rendering="optimizeSpeed"'),e.push("\t<image ","COMMON_PARTS",'xlink:href="'.concat(this.getSvgSrc(!0),'" x="').concat(n-this.cropX,'" y="').concat(r-this.cropY,'" width="').concat(t.width||t.naturalWidth,'" height="').concat(t.height||t.naturalHeight,'"').concat(s).concat(a,"></image>\n")),this.stroke||this.strokeDashArray){const e=this.fill;this.fill=null,o=['\t<rect x="'.concat(n,'" y="').concat(r,'" width="').concat(this.width,'" height="').concat(this.height,'" style="').concat(this.getSvgStyles(),'" />\n')],this.fill=e}return i=this.paintFirst!==X?i.concat(o,e):i.concat(e,o),i}getSrc(e){const t=e?this._element:this._originalElement;return t?t.toDataURL?t.toDataURL():this.srcFromAttribute?t.getAttribute("src")||"":t.src:this.src||""}getSvgSrc(e){return this.getSrc(e)}setSrc(e){let{crossOrigin:t,signal:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Re(e,{crossOrigin:t,signal:n}).then((e=>{void 0!==t&&this.set({crossOrigin:t}),this.setElement(e)}))}toString(){return'#<Image: { src: "'.concat(this.getSrc(),'" }>')}applyResizeFilters(){const e=this.resizeFilter,t=this.minimumScaleTrigger,n=this.getTotalObjectScaling(),r=n.x,i=n.y,o=this._filteredEl||this._originalElement;if(this.group&&this.set("dirty",!0),!e||r>t&&i>t)return this._element=o,this._filterScalingX=1,this._filterScalingY=1,this._lastScaleX=r,void(this._lastScaleY=i);const a=ve(),s=o.width,l=o.height;a.width=s,a.height=l,this._element=a,this._lastScaleX=e.scaleX=r,this._lastScaleY=e.scaleY=i,Ba().applyFilters([e],o,s,l,this._element),this._filterScalingX=a.width/this._originalElement.width,this._filterScalingY=a.height/this._originalElement.height}applyFilters(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.filters||[];if(e=e.filter((e=>e&&!e.isNeutralState())),this.set("dirty",!0),this.removeTexture("".concat(this.cacheKey,"_filtered")),0===e.length)return this._element=this._originalElement,this._filteredEl=void 0,this._filterScalingX=1,void(this._filterScalingY=1);const t=this._originalElement,n=t.naturalWidth||t.width,r=t.naturalHeight||t.height;if(this._element===this._originalElement){const e=ve();e.width=n,e.height=r,this._element=e,this._filteredEl=e}else this._filteredEl&&(this._element=this._filteredEl,this._filteredEl.getContext("2d").clearRect(0,0,n,r),this._lastScaleX=1,this._lastScaleY=1);Ba().applyFilters(e,this._originalElement,n,r,this._element),this._originalElement.width===this._element.width&&this._originalElement.height===this._element.height||(this._filterScalingX=this._element.width/this._originalElement.width,this._filterScalingY=this._element.height/this._originalElement.height)}_render(e){e.imageSmoothingEnabled=this.imageSmoothing,!0!==this.isMoving&&this.resizeFilter&&this._needsResize()&&this.applyResizeFilters(),this._stroke(e),this._renderPaintInOrder(e)}drawCacheOnCanvas(e){e.imageSmoothingEnabled=this.imageSmoothing,super.drawCacheOnCanvas(e)}shouldCache(){return this.needsItsOwnCache()}_renderFill(e){const t=this._element;if(!t)return;const n=this._filterScalingX,r=this._filterScalingY,i=this.width,o=this.height,a=Math.max(this.cropX,0),s=Math.max(this.cropY,0),l=t.naturalWidth||t.width,c=t.naturalHeight||t.height,u=a*n,d=s*r,p=Math.min(i*n,l-u),h=Math.min(o*r,c-d),f=-i/2,m=-o/2,g=Math.min(i,l/n-a),v=Math.min(o,c/r-s);t&&e.drawImage(t,u,d,p,h,f,m,g,v)}_needsResize(){const e=this.getTotalObjectScaling();return e.x!==this._lastScaleX||e.y!==this._lastScaleY}_resetWidthHeight(){this.set(this.getOriginalSize())}_setWidthHeight(){let{width:e,height:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const n=this.getOriginalSize();this.width=e||n.width,this.height=t||n.height}parsePreserveAspectRatioAttribute(){const e=Xe(this.preserveAspectRatio||""),t=this.width,n=this.height,r={width:t,height:n};let i,o=this._element.width,a=this._element.height,s=1,l=1,c=0,u=0,d=0,p=0;return!e||e.alignX===N&&e.alignY===N?(s=t/o,l=n/a):("meet"===e.meetOrSlice&&(s=l=ki(this._element,r),i=(t-o*s)/2,"Min"===e.alignX&&(c=-i),"Max"===e.alignX&&(c=i),i=(n-a*l)/2,"Min"===e.alignY&&(u=-i),"Max"===e.alignY&&(u=i)),"slice"===e.meetOrSlice&&(s=l=Ei(this._element,r),i=o-t/s,"Mid"===e.alignX&&(d=i/2),"Max"===e.alignX&&(d=i),i=a-n/l,"Mid"===e.alignY&&(p=i/2),"Max"===e.alignY&&(p=i),o=t/s,a=n/l)),{width:o,height:a,scaleX:s,scaleY:l,offsetLeft:c,offsetTop:u,cropX:d,cropY:p}}static fromObject(e,t){let{filters:n,resizeFilter:r,src:i,crossOrigin:s,type:l}=e,c=a(e,Na);return Promise.all([Re(i,o(o({},t),{},{crossOrigin:s})),n&&Le(n,t),r&&Le([r],t),Fe(c,t)]).then((e=>{let[t,n=[],[r]=[],a={}]=e;return new this(t,o(o({},c),{},{src:i,filters:n,resizeFilter:r},a))}))}static fromURL(e){let{crossOrigin:t=null,signal:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0;return Re(e,{crossOrigin:t,signal:n}).then((e=>new this(e,r)))}static async fromElement(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;const r=si(e,this.ATTRIBUTE_NAMES,n);return this.fromURL(r["xlink:href"],t,r).catch((e=>(u("log","Unable to parse Image",e),null)))}}r(Ra,"type","Image"),r(Ra,"cacheProperties",[...hn,...Ma]),r(Ra,"ownDefaults",{strokeWidth:0,srcFromAttribute:!1,minimumScaleTrigger:.5,cropX:0,cropY:0,imageSmoothing:!0}),r(Ra,"CSS_CANVAS","canvas-img"),r(Ra,"ATTRIBUTE_NAMES",[...Dr,"x","y","width","height","preserveAspectRatio","xlink:href","crossOrigin","image-rendering"]),ne.setClass(Ra),ne.setSVGClass(Ra);Qt(["pattern","defs","symbol","metadata","clipPath","mask","desc"]);const La=V,Fa=e=>function(t,n,r){const{points:i,pathOffset:o}=r;return new le(i[e]).subtract(o).transform(ke(r.getViewportTransform(),r.calcTransformMatrix()))},za=(e,t,n,r)=>{const{target:i,pointIndex:o}=t,a=i,s=Et(new le(n,r),void 0,a.calcOwnMatrix());return a.points[o]=s.add(a.pathOffset),a.setDimensions(),!0},Qa=(e,t)=>function(n,r,i,a){const s=r.target,l=new le(s.points[(e>0?e:s.points.length)-1]),c=l.subtract(s.pathOffset).transform(s.calcOwnMatrix()),u=t(n,o(o({},r),{},{pointIndex:e}),i,a),d=l.subtract(s.pathOffset).transform(s.calcOwnMatrix()).subtract(c);return s.left-=d.x,s.top-=d.y,u},Ua=e=>Ln(La,Qa(e,za)),Va=(e,t,n)=>{const{path:r,pathOffset:i}=e,o=r[t];return new le(o[n]-i.x,o[n+1]-i.y).transform(ke(e.getViewportTransform(),e.calcTransformMatrix()))};function Ga(e,t,n){const{commandIndex:r,pointIndex:i}=this;return Va(n,r,i)}function qa(e,t,n,r){const{target:i}=t,{commandIndex:a,pointIndex:s}=this,l=((e,t,n,r,i)=>{const{path:o,pathOffset:a}=e,s=o[(r>0?r:o.length)-1],l=new le(s[i],s[i+1]),c=l.subtract(a).transform(e.calcOwnMatrix()),u=Et(new le(t,n),void 0,e.calcOwnMatrix());o[r][i]=u.x+a.x,o[r][i+1]=u.y+a.y,e.setDimensions();const d=l.subtract(e.pathOffset).transform(e.calcOwnMatrix()).subtract(c);return e.left-=d.x,e.top-=d.y,e.set("dirty",!0),!0})(i,n,r,a,s);return Pt(this.actionName,o(o({},Mt(e,t,n,r)),{},{commandIndex:a,pointIndex:s})),l}class Ha extends Vn{constructor(e){super(e)}render(e,t,n,r,i){const a=o(o({},r),{},{cornerColor:this.controlFill,cornerStrokeColor:this.controlStroke,transparentCorners:!this.controlFill});super.render(e,t,n,a,i)}}class Wa extends Ha{constructor(e){super(e)}render(e,t,n,r,i){const{path:o}=i,{commandIndex:a,pointIndex:s,connectToCommandIndex:l,connectToPointIndex:c}=this;e.save(),e.strokeStyle=this.controlStroke,this.connectionDashArray&&e.setLineDash(this.connectionDashArray);const[u]=o[a],d=Va(i,l,c);if("Q"===u){const r=Va(i,a,s+2);e.moveTo(r.x,r.y),e.lineTo(t,n)}else e.moveTo(t,n);e.lineTo(d.x,d.y),e.stroke(),e.restore(),super.render(e,t,n,r,i)}}const Ya=(e,t,n,r,i,a)=>new(n?Wa:Ha)(o(o({commandIndex:e,pointIndex:t,actionName:"modifyPath",positionHandler:Ga,actionHandler:qa,connectToCommandIndex:i,connectToPointIndex:a},r),n?r.controlPointStyle:r.pointStyle));var Ka=Object.freeze({__proto__:null,changeWidth:zn,createObjectDefaultControls:pr,createPathControls:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n={};let r="M";return e.path.forEach(((e,i)=>{const o=e[0];switch("Z"!==o&&(n["c_".concat(i,"_").concat(o)]=Ya(i,e.length-2,!1,t)),o){case"C":n["c_".concat(i,"_C_CP_1")]=Ya(i,1,!0,t,i-1,(e=>"C"===e?5:"Q"===e?3:1)(r)),n["c_".concat(i,"_C_CP_2")]=Ya(i,3,!0,t,i,5);break;case"Q":n["c_".concat(i,"_Q_CP_1")]=Ya(i,1,!0,t,i,3)}r=o})),n},createPolyActionHandler:Ua,createPolyControls:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n={};for(let r=0;r<("number"==typeof e?e:e.points.length);r++)n["p".concat(r)]=new Vn(o({actionName:La,positionHandler:Fa(r),actionHandler:Ua(r)},t));return n},createPolyPositionHandler:Fa,createResizeControls:hr,createTextboxDefaultControls:fr,dragHandler:Ft,factoryPolyActionHandler:Qa,getLocalPoint:Lt,polyActionHandler:za,renderCircleControl:Qn,renderSquareControl:Un,rotationStyleHandler:Gn,rotationWithSnapping:qn,scaleCursorStyleHandler:Kn,scaleOrSkewActionName:lr,scaleSkewCursorStyleHandler:cr,scalingEqually:Xn,scalingX:Zn,scalingXOrSkewingY:ur,scalingY:$n,scalingYOrSkewingX:dr,skewCursorStyleHandler:rr,skewHandlerX:or,skewHandlerY:ar,wrapWithFireEvent:Ln,wrapWithFixedAnchor:Fn});const Ja=e=>void 0!==e.webgl,Xa="precision highp float",Za="\n    ".concat(Xa,";\n    varying vec2 vTexCoord;\n    uniform sampler2D uTexture;\n    void main() {\n      gl_FragColor = texture2D(uTexture, vTexCoord);\n    }"),$a=["type"],es=["type"],ts=new RegExp(Xa,"g");class ns{get type(){return this.constructor.type}constructor(){let e=a(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},$a);Object.assign(this,this.constructor.defaults,e)}getFragmentSource(){return Za}getVertexSource(){return"\n    attribute vec2 aPosition;\n    varying vec2 vTexCoord;\n    void main() {\n      vTexCoord = aPosition;\n      gl_Position = vec4(aPosition * 2.0 - 1.0, 0.0, 1.0);\n    }"}createProgram(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getFragmentSource(),n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.getVertexSource();const{WebGLProbe:{GLPrecision:r="highp"}}=v();"highp"!==r&&(t=t.replace(ts,Xa.replace("highp",r)));const i=e.createShader(e.VERTEX_SHADER),o=e.createShader(e.FRAGMENT_SHADER),a=e.createProgram();if(!i||!o||!a)throw new d("Vertex, fragment shader or program creation error");if(e.shaderSource(i,n),e.compileShader(i),!e.getShaderParameter(i,e.COMPILE_STATUS))throw new d("Vertex shader compile error for ".concat(this.type,": ").concat(e.getShaderInfoLog(i)));if(e.shaderSource(o,t),e.compileShader(o),!e.getShaderParameter(o,e.COMPILE_STATUS))throw new d("Fragment shader compile error for ".concat(this.type,": ").concat(e.getShaderInfoLog(o)));if(e.attachShader(a,i),e.attachShader(a,o),e.linkProgram(a),!e.getProgramParameter(a,e.LINK_STATUS))throw new d('Shader link error for "'.concat(this.type,'" ').concat(e.getProgramInfoLog(a)));const s=this.getUniformLocations(e,a)||{};return s.uStepW=e.getUniformLocation(a,"uStepW"),s.uStepH=e.getUniformLocation(a,"uStepH"),{program:a,attributeLocations:this.getAttributeLocations(e,a),uniformLocations:s}}getAttributeLocations(e,t){return{aPosition:e.getAttribLocation(t,"aPosition")}}getUniformLocations(e,t){const n=this.constructor.uniformLocations,r={};for(let i=0;i<n.length;i++)r[n[i]]=e.getUniformLocation(t,n[i]);return r}sendAttributeData(e,t,n){const r=t.aPosition,i=e.createBuffer();e.bindBuffer(e.ARRAY_BUFFER,i),e.enableVertexAttribArray(r),e.vertexAttribPointer(r,2,e.FLOAT,!1,0,0),e.bufferData(e.ARRAY_BUFFER,n,e.STATIC_DRAW)}_setupFrameBuffer(e){const t=e.context;if(e.passes>1){const n=e.destinationWidth,r=e.destinationHeight;e.sourceWidth===n&&e.sourceHeight===r||(t.deleteTexture(e.targetTexture),e.targetTexture=e.filterBackend.createTexture(t,n,r)),t.framebufferTexture2D(t.FRAMEBUFFER,t.COLOR_ATTACHMENT0,t.TEXTURE_2D,e.targetTexture,0)}else t.bindFramebuffer(t.FRAMEBUFFER,null),t.finish()}_swapTextures(e){e.passes--,e.pass++;const t=e.targetTexture;e.targetTexture=e.sourceTexture,e.sourceTexture=t}isNeutralState(e){return!1}applyTo(e){Ja(e)?(this._setupFrameBuffer(e),this.applyToWebGL(e),this._swapTextures(e)):this.applyTo2d(e)}applyTo2d(e){}getCacheKey(){return this.type}retrieveShader(e){const t=this.getCacheKey();return e.programCache[t]||(e.programCache[t]=this.createProgram(e.context)),e.programCache[t]}applyToWebGL(e){const t=e.context,n=this.retrieveShader(e);0===e.pass&&e.originalTexture?t.bindTexture(t.TEXTURE_2D,e.originalTexture):t.bindTexture(t.TEXTURE_2D,e.sourceTexture),t.useProgram(n.program),this.sendAttributeData(t,n.attributeLocations,e.aPosition),t.uniform1f(n.uniformLocations.uStepW,1/e.sourceWidth),t.uniform1f(n.uniformLocations.uStepH,1/e.sourceHeight),this.sendUniformData(t,n.uniformLocations),t.viewport(0,0,e.destinationWidth,e.destinationHeight),t.drawArrays(t.TRIANGLE_STRIP,0,4)}bindAdditionalTexture(e,t,n){e.activeTexture(n),e.bindTexture(e.TEXTURE_2D,t),e.activeTexture(e.TEXTURE0)}unbindAdditionalTexture(e,t){e.activeTexture(t),e.bindTexture(e.TEXTURE_2D,null),e.activeTexture(e.TEXTURE0)}sendUniformData(e,t){}createHelpLayer(e){if(!e.helpLayer){const t=ve();t.width=e.sourceWidth,t.height=e.sourceHeight,e.helpLayer=t}}toObject(){const e=Object.keys(this.constructor.defaults||{});return o({type:this.type},e.reduce(((e,t)=>(e[t]=this[t],e)),{}))}toJSON(){return this.toObject()}static async fromObject(e,t){return new this(a(e,es))}}r(ns,"type","BaseFilter"),r(ns,"uniformLocations",[]);const rs={multiply:"gl_FragColor.rgb *= uColor.rgb;\n",screen:"gl_FragColor.rgb = 1.0 - (1.0 - gl_FragColor.rgb) * (1.0 - uColor.rgb);\n",add:"gl_FragColor.rgb += uColor.rgb;\n",difference:"gl_FragColor.rgb = abs(gl_FragColor.rgb - uColor.rgb);\n",subtract:"gl_FragColor.rgb -= uColor.rgb;\n",lighten:"gl_FragColor.rgb = max(gl_FragColor.rgb, uColor.rgb);\n",darken:"gl_FragColor.rgb = min(gl_FragColor.rgb, uColor.rgb);\n",exclusion:"gl_FragColor.rgb += uColor.rgb - 2.0 * (uColor.rgb * gl_FragColor.rgb);\n",overlay:"\n    if (uColor.r < 0.5) {\n      gl_FragColor.r *= 2.0 * uColor.r;\n    } else {\n      gl_FragColor.r = 1.0 - 2.0 * (1.0 - gl_FragColor.r) * (1.0 - uColor.r);\n    }\n    if (uColor.g < 0.5) {\n      gl_FragColor.g *= 2.0 * uColor.g;\n    } else {\n      gl_FragColor.g = 1.0 - 2.0 * (1.0 - gl_FragColor.g) * (1.0 - uColor.g);\n    }\n    if (uColor.b < 0.5) {\n      gl_FragColor.b *= 2.0 * uColor.b;\n    } else {\n      gl_FragColor.b = 1.0 - 2.0 * (1.0 - gl_FragColor.b) * (1.0 - uColor.b);\n    }\n    ",tint:"\n    gl_FragColor.rgb *= (1.0 - uColor.a);\n    gl_FragColor.rgb += uColor.rgb;\n    "};class is extends ns{getCacheKey(){return"".concat(this.type,"_").concat(this.mode)}getFragmentSource(){return"\n      precision highp float;\n      uniform sampler2D uTexture;\n      uniform vec4 uColor;\n      varying vec2 vTexCoord;\n      void main() {\n        vec4 color = texture2D(uTexture, vTexCoord);\n        gl_FragColor = color;\n        if (color.a > 0.0) {\n          ".concat(rs[this.mode],"\n        }\n      }\n      ")}applyTo2d(e){let{imageData:{data:t}}=e;const n=new Ye(this.color).getSource(),r=n[0]*this.alpha,i=n[1]*this.alpha,o=n[2]*this.alpha,a=1-this.alpha;for(let s=0;s<t.length;s+=4){const e=t[s],n=t[s+1],l=t[s+2];switch(this.mode){case"multiply":t[s]=e*r/255,t[s+1]=n*i/255,t[s+2]=l*o/255;break;case"screen":t[s]=255-(255-e)*(255-r)/255,t[s+1]=255-(255-n)*(255-i)/255,t[s+2]=255-(255-l)*(255-o)/255;break;case"add":t[s]=e+r,t[s+1]=n+i,t[s+2]=l+o;break;case"difference":t[s]=Math.abs(e-r),t[s+1]=Math.abs(n-i),t[s+2]=Math.abs(l-o);break;case"subtract":t[s]=e-r,t[s+1]=n-i,t[s+2]=l-o;break;case"darken":t[s]=Math.min(e,r),t[s+1]=Math.min(n,i),t[s+2]=Math.min(l,o);break;case"lighten":t[s]=Math.max(e,r),t[s+1]=Math.max(n,i),t[s+2]=Math.max(l,o);break;case"overlay":t[s]=r<128?2*e*r/255:255-2*(255-e)*(255-r)/255,t[s+1]=i<128?2*n*i/255:255-2*(255-n)*(255-i)/255,t[s+2]=o<128?2*l*o/255:255-2*(255-l)*(255-o)/255;break;case"exclusion":t[s]=r+e-2*r*e/255,t[s+1]=i+n-2*i*n/255,t[s+2]=o+l-2*o*l/255;break;case"tint":t[s]=r+e*a,t[s+1]=i+n*a,t[s+2]=o+l*a}}}sendUniformData(e,t){const n=new Ye(this.color).getSource();n[0]=this.alpha*n[0]/255,n[1]=this.alpha*n[1]/255,n[2]=this.alpha*n[2]/255,n[3]=this.alpha,e.uniform4fv(t.uColor,n)}}r(is,"defaults",{color:"#F95C63",mode:"multiply",alpha:1}),r(is,"type","BlendColor"),r(is,"uniformLocations",["uColor"]),ne.setClass(is);const os={multiply:"\n    precision highp float;\n    uniform sampler2D uTexture;\n    uniform sampler2D uImage;\n    uniform vec4 uColor;\n    varying vec2 vTexCoord;\n    varying vec2 vTexCoord2;\n    void main() {\n      vec4 color = texture2D(uTexture, vTexCoord);\n      vec4 color2 = texture2D(uImage, vTexCoord2);\n      color.rgba *= color2.rgba;\n      gl_FragColor = color;\n    }\n    ",mask:"\n    precision highp float;\n    uniform sampler2D uTexture;\n    uniform sampler2D uImage;\n    uniform vec4 uColor;\n    varying vec2 vTexCoord;\n    varying vec2 vTexCoord2;\n    void main() {\n      vec4 color = texture2D(uTexture, vTexCoord);\n      vec4 color2 = texture2D(uImage, vTexCoord2);\n      color.a = color2.a;\n      gl_FragColor = color;\n    }\n    "},as=["type","image"];class ss extends ns{getCacheKey(){return"".concat(this.type,"_").concat(this.mode)}getFragmentSource(){return os[this.mode]}getVertexSource(){return"\n    attribute vec2 aPosition;\n    varying vec2 vTexCoord;\n    varying vec2 vTexCoord2;\n    uniform mat3 uTransformMatrix;\n    void main() {\n      vTexCoord = aPosition;\n      vTexCoord2 = (uTransformMatrix * vec3(aPosition, 1.0)).xy;\n      gl_Position = vec4(aPosition * 2.0 - 1.0, 0.0, 1.0);\n    }\n    "}applyToWebGL(e){const t=e.context,n=this.createTexture(e.filterBackend,this.image);this.bindAdditionalTexture(t,n,t.TEXTURE1),super.applyToWebGL(e),this.unbindAdditionalTexture(t,t.TEXTURE1)}createTexture(e,t){return e.getCachedTexture(t.cacheKey,t.getElement())}calculateMatrix(){const e=this.image,{width:t,height:n}=e.getElement();return[1/e.scaleX,0,0,0,1/e.scaleY,0,-e.left/t,-e.top/n,1]}applyTo2d(e){let{imageData:{data:t,width:n,height:r},filterBackend:{resources:i}}=e;const o=this.image;i.blendImage||(i.blendImage=ve());const a=i.blendImage,s=a.getContext("2d");a.width!==n||a.height!==r?(a.width=n,a.height=r):s.clearRect(0,0,n,r),s.setTransform(o.scaleX,0,0,o.scaleY,o.left,o.top),s.drawImage(o.getElement(),0,0,n,r);const l=s.getImageData(0,0,n,r).data;for(let c=0;c<t.length;c+=4){const e=t[c],n=t[c+1],r=t[c+2],i=t[c+3],o=l[c],a=l[c+1],s=l[c+2],u=l[c+3];switch(this.mode){case"multiply":t[c]=e*o/255,t[c+1]=n*a/255,t[c+2]=r*s/255,t[c+3]=i*u/255;break;case"mask":t[c+3]=u}}}sendUniformData(e,t){const n=this.calculateMatrix();e.uniform1i(t.uImage,1),e.uniformMatrix3fv(t.uTransformMatrix,!1,n)}toObject(){return o(o({},super.toObject()),{},{image:this.image&&this.image.toObject()})}static async fromObject(e,t){let{type:n,image:r}=e,i=a(e,as);return Ra.fromObject(r,t).then((e=>new this(o(o({},i),{},{image:e}))))}}r(ss,"type","BlendImage"),r(ss,"defaults",{mode:"multiply",alpha:1}),r(ss,"uniformLocations",["uTransformMatrix","uImage"]),ne.setClass(ss);class ls extends ns{getFragmentSource(){return"\n    precision highp float;\n    uniform sampler2D uTexture;\n    uniform vec2 uDelta;\n    varying vec2 vTexCoord;\n    const float nSamples = 15.0;\n    vec3 v3offset = vec3(12.9898, 78.233, 151.7182);\n    float random(vec3 scale) {\n      /* use the fragment position for a different seed per-pixel */\n      return fract(sin(dot(gl_FragCoord.xyz, scale)) * 43758.5453);\n    }\n    void main() {\n      vec4 color = vec4(0.0);\n      float total = 0.0;\n      float offset = random(v3offset);\n      for (float t = -nSamples; t <= nSamples; t++) {\n        float percent = (t + offset - 0.5) / nSamples;\n        float weight = 1.0 - abs(percent);\n        color += texture2D(uTexture, vTexCoord + uDelta * percent) * weight;\n        total += weight;\n      }\n      gl_FragColor = color / total;\n    }\n  "}applyTo(e){Ja(e)?(this.aspectRatio=e.sourceWidth/e.sourceHeight,e.passes++,this._setupFrameBuffer(e),this.horizontal=!0,this.applyToWebGL(e),this._swapTextures(e),this._setupFrameBuffer(e),this.horizontal=!1,this.applyToWebGL(e),this._swapTextures(e)):this.applyTo2d(e)}applyTo2d(e){e.imageData=this.simpleBlur(e)}simpleBlur(e){let{ctx:t,imageData:n,filterBackend:{resources:r}}=e;const{width:i,height:o}=n;r.blurLayer1||(r.blurLayer1=ve(),r.blurLayer2=ve());const a=r.blurLayer1,s=r.blurLayer2;a.width===i&&a.height===o||(s.width=a.width=i,s.height=a.height=o);const l=a.getContext("2d"),c=s.getContext("2d"),u=.06*this.blur*.5;let d,p,h,f;for(l.putImageData(n,0,0),c.clearRect(0,0,i,o),f=-15;f<=15;f++)d=(Math.random()-.5)/4,p=f/15,h=u*p*i+d,c.globalAlpha=1-Math.abs(p),c.drawImage(a,h,d),l.drawImage(s,0,0),c.globalAlpha=1,c.clearRect(0,0,s.width,s.height);for(f=-15;f<=15;f++)d=(Math.random()-.5)/4,p=f/15,h=u*p*o+d,c.globalAlpha=1-Math.abs(p),c.drawImage(a,d,h),l.drawImage(s,0,0),c.globalAlpha=1,c.clearRect(0,0,s.width,s.height);t.drawImage(a,0,0);const m=t.getImageData(0,0,a.width,a.height);return l.globalAlpha=1,l.clearRect(0,0,a.width,a.height),m}sendUniformData(e,t){const n=this.chooseRightDelta();e.uniform2fv(t.uDelta,n)}isNeutralState(){return 0===this.blur}chooseRightDelta(){let e=1;const t=[0,0];this.horizontal?this.aspectRatio>1&&(e=1/this.aspectRatio):this.aspectRatio<1&&(e=this.aspectRatio);const n=e*this.blur*.12;return this.horizontal?t[0]=n:t[1]=n,t}}r(ls,"type","Blur"),r(ls,"defaults",{blur:0}),r(ls,"uniformLocations",["uDelta"]),ne.setClass(ls);class cs extends ns{getFragmentSource(){return"\n  precision highp float;\n  uniform sampler2D uTexture;\n  uniform float uBrightness;\n  varying vec2 vTexCoord;\n  void main() {\n    vec4 color = texture2D(uTexture, vTexCoord);\n    color.rgb += uBrightness;\n    gl_FragColor = color;\n  }\n"}applyTo2d(e){let{imageData:{data:t}}=e;const n=Math.round(255*this.brightness);for(let r=0;r<t.length;r+=4)t[r]=t[r]+n,t[r+1]=t[r+1]+n,t[r+2]=t[r+2]+n}isNeutralState(){return 0===this.brightness}sendUniformData(e,t){e.uniform1f(t.uBrightness,this.brightness)}}r(cs,"type","Brightness"),r(cs,"defaults",{brightness:0}),r(cs,"uniformLocations",["uBrightness"]),ne.setClass(cs);class us extends ns{getFragmentSource(){return"\n  precision highp float;\n  uniform sampler2D uTexture;\n  varying vec2 vTexCoord;\n  uniform mat4 uColorMatrix;\n  uniform vec4 uConstants;\n  void main() {\n    vec4 color = texture2D(uTexture, vTexCoord);\n    color *= uColorMatrix;\n    color += uConstants;\n    gl_FragColor = color;\n  }"}applyTo2d(e){const t=e.imageData.data,n=this.matrix,r=this.colorsOnly;for(let i=0;i<t.length;i+=4){const e=t[i],o=t[i+1],a=t[i+2];if(r)t[i]=e*n[0]+o*n[1]+a*n[2]+255*n[4],t[i+1]=e*n[5]+o*n[6]+a*n[7]+255*n[9],t[i+2]=e*n[10]+o*n[11]+a*n[12]+255*n[14];else{const r=t[i+3];t[i]=e*n[0]+o*n[1]+a*n[2]+r*n[3]+255*n[4],t[i+1]=e*n[5]+o*n[6]+a*n[7]+r*n[8]+255*n[9],t[i+2]=e*n[10]+o*n[11]+a*n[12]+r*n[13]+255*n[14],t[i+3]=e*n[15]+o*n[16]+a*n[17]+r*n[18]+255*n[19]}}}sendUniformData(e,t){const n=this.matrix,r=[n[0],n[1],n[2],n[3],n[5],n[6],n[7],n[8],n[10],n[11],n[12],n[13],n[15],n[16],n[17],n[18]],i=[n[4],n[9],n[14],n[19]];e.uniformMatrix4fv(t.uColorMatrix,!1,r),e.uniform4fv(t.uConstants,i)}toObject(){return o(o({},super.toObject()),{},{matrix:[...this.matrix]})}}function ds(e,t){var n;const i=(r(n=class extends us{toObject(){return{type:this.type,colorsOnly:this.colorsOnly}}},"type",e),r(n,"defaults",{colorsOnly:!1,matrix:t}),n);return ne.setClass(i,e),i}r(us,"type","ColorMatrix"),r(us,"defaults",{matrix:[1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0],colorsOnly:!0}),r(us,"uniformLocations",["uColorMatrix","uConstants"]),ne.setClass(us);const ps=ds("Brownie",[.5997,.34553,-.27082,0,.186,-.0377,.86095,.15059,0,-.1449,.24113,-.07441,.44972,0,-.02965,0,0,0,1,0]),hs=ds("Vintage",[.62793,.32021,-.03965,0,.03784,.02578,.64411,.03259,0,.02926,.0466,-.08512,.52416,0,.02023,0,0,0,1,0]),fs=ds("Kodachrome",[1.12855,-.39673,-.03992,0,.24991,-.16404,1.08352,-.05498,0,.09698,-.16786,-.56034,1.60148,0,.13972,0,0,0,1,0]),ms=ds("Technicolor",[1.91252,-.85453,-.09155,0,.04624,-.30878,1.76589,-.10601,0,-.27589,-.2311,-.75018,1.84759,0,.12137,0,0,0,1,0]),gs=ds("Polaroid",[1.438,-.062,-.062,0,0,-.122,1.378,-.122,0,0,-.016,-.016,1.483,0,0,0,0,0,1,0]),vs=ds("Sepia",[.393,.769,.189,0,0,.349,.686,.168,0,0,.272,.534,.131,0,0,0,0,0,1,0]),ys=ds("BlackWhite",[1.5,1.5,1.5,0,-1,1.5,1.5,1.5,0,-1,1.5,1.5,1.5,0,-1,0,0,0,1,0]);class As extends ns{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};super(e),this.subFilters=e.subFilters||[]}applyTo(e){Ja(e)&&(e.passes+=this.subFilters.length-1),this.subFilters.forEach((t=>{t.applyTo(e)}))}toObject(){return{type:this.type,subFilters:this.subFilters.map((e=>e.toObject()))}}isNeutralState(){return!this.subFilters.some((e=>!e.isNeutralState()))}static fromObject(e,t){return Promise.all((e.subFilters||[]).map((e=>ne.getClass(e.type).fromObject(e,t)))).then((e=>new this({subFilters:e})))}}r(As,"type","Composed"),ne.setClass(As);class bs extends ns{getFragmentSource(){return"\n  precision highp float;\n  uniform sampler2D uTexture;\n  uniform float uContrast;\n  varying vec2 vTexCoord;\n  void main() {\n    vec4 color = texture2D(uTexture, vTexCoord);\n    float contrastF = 1.015 * (uContrast + 1.0) / (1.0 * (1.015 - uContrast));\n    color.rgb = contrastF * (color.rgb - 0.5) + 0.5;\n    gl_FragColor = color;\n  }"}isNeutralState(){return 0===this.contrast}applyTo2d(e){let{imageData:{data:t}}=e;const n=Math.floor(255*this.contrast),r=259*(n+255)/(255*(259-n));for(let i=0;i<t.length;i+=4)t[i]=r*(t[i]-128)+128,t[i+1]=r*(t[i+1]-128)+128,t[i+2]=r*(t[i+2]-128)+128}sendUniformData(e,t){e.uniform1f(t.uContrast,this.contrast)}}r(bs,"type","Contrast"),r(bs,"defaults",{contrast:0}),r(bs,"uniformLocations",["uContrast"]),ne.setClass(bs);const ws={Convolute_3_1:"\n    precision highp float;\n    uniform sampler2D uTexture;\n    uniform float uMatrix[9];\n    uniform float uStepW;\n    uniform float uStepH;\n    varying vec2 vTexCoord;\n    void main() {\n      vec4 color = vec4(0, 0, 0, 0);\n      for (float h = 0.0; h < 3.0; h+=1.0) {\n        for (float w = 0.0; w < 3.0; w+=1.0) {\n          vec2 matrixPos = vec2(uStepW * (w - 1), uStepH * (h - 1));\n          color += texture2D(uTexture, vTexCoord + matrixPos) * uMatrix[int(h * 3.0 + w)];\n        }\n      }\n      gl_FragColor = color;\n    }\n    ",Convolute_3_0:"\n    precision highp float;\n    uniform sampler2D uTexture;\n    uniform float uMatrix[9];\n    uniform float uStepW;\n    uniform float uStepH;\n    varying vec2 vTexCoord;\n    void main() {\n      vec4 color = vec4(0, 0, 0, 1);\n      for (float h = 0.0; h < 3.0; h+=1.0) {\n        for (float w = 0.0; w < 3.0; w+=1.0) {\n          vec2 matrixPos = vec2(uStepW * (w - 1.0), uStepH * (h - 1.0));\n          color.rgb += texture2D(uTexture, vTexCoord + matrixPos).rgb * uMatrix[int(h * 3.0 + w)];\n        }\n      }\n      float alpha = texture2D(uTexture, vTexCoord).a;\n      gl_FragColor = color;\n      gl_FragColor.a = alpha;\n    }\n    ",Convolute_5_1:"\n    precision highp float;\n    uniform sampler2D uTexture;\n    uniform float uMatrix[25];\n    uniform float uStepW;\n    uniform float uStepH;\n    varying vec2 vTexCoord;\n    void main() {\n      vec4 color = vec4(0, 0, 0, 0);\n      for (float h = 0.0; h < 5.0; h+=1.0) {\n        for (float w = 0.0; w < 5.0; w+=1.0) {\n          vec2 matrixPos = vec2(uStepW * (w - 2.0), uStepH * (h - 2.0));\n          color += texture2D(uTexture, vTexCoord + matrixPos) * uMatrix[int(h * 5.0 + w)];\n        }\n      }\n      gl_FragColor = color;\n    }\n    ",Convolute_5_0:"\n    precision highp float;\n    uniform sampler2D uTexture;\n    uniform float uMatrix[25];\n    uniform float uStepW;\n    uniform float uStepH;\n    varying vec2 vTexCoord;\n    void main() {\n      vec4 color = vec4(0, 0, 0, 1);\n      for (float h = 0.0; h < 5.0; h+=1.0) {\n        for (float w = 0.0; w < 5.0; w+=1.0) {\n          vec2 matrixPos = vec2(uStepW * (w - 2.0), uStepH * (h - 2.0));\n          color.rgb += texture2D(uTexture, vTexCoord + matrixPos).rgb * uMatrix[int(h * 5.0 + w)];\n        }\n      }\n      float alpha = texture2D(uTexture, vTexCoord).a;\n      gl_FragColor = color;\n      gl_FragColor.a = alpha;\n    }\n    ",Convolute_7_1:"\n    precision highp float;\n    uniform sampler2D uTexture;\n    uniform float uMatrix[49];\n    uniform float uStepW;\n    uniform float uStepH;\n    varying vec2 vTexCoord;\n    void main() {\n      vec4 color = vec4(0, 0, 0, 0);\n      for (float h = 0.0; h < 7.0; h+=1.0) {\n        for (float w = 0.0; w < 7.0; w+=1.0) {\n          vec2 matrixPos = vec2(uStepW * (w - 3.0), uStepH * (h - 3.0));\n          color += texture2D(uTexture, vTexCoord + matrixPos) * uMatrix[int(h * 7.0 + w)];\n        }\n      }\n      gl_FragColor = color;\n    }\n    ",Convolute_7_0:"\n    precision highp float;\n    uniform sampler2D uTexture;\n    uniform float uMatrix[49];\n    uniform float uStepW;\n    uniform float uStepH;\n    varying vec2 vTexCoord;\n    void main() {\n      vec4 color = vec4(0, 0, 0, 1);\n      for (float h = 0.0; h < 7.0; h+=1.0) {\n        for (float w = 0.0; w < 7.0; w+=1.0) {\n          vec2 matrixPos = vec2(uStepW * (w - 3.0), uStepH * (h - 3.0));\n          color.rgb += texture2D(uTexture, vTexCoord + matrixPos).rgb * uMatrix[int(h * 7.0 + w)];\n        }\n      }\n      float alpha = texture2D(uTexture, vTexCoord).a;\n      gl_FragColor = color;\n      gl_FragColor.a = alpha;\n    }\n    ",Convolute_9_1:"\n    precision highp float;\n    uniform sampler2D uTexture;\n    uniform float uMatrix[81];\n    uniform float uStepW;\n    uniform float uStepH;\n    varying vec2 vTexCoord;\n    void main() {\n      vec4 color = vec4(0, 0, 0, 0);\n      for (float h = 0.0; h < 9.0; h+=1.0) {\n        for (float w = 0.0; w < 9.0; w+=1.0) {\n          vec2 matrixPos = vec2(uStepW * (w - 4.0), uStepH * (h - 4.0));\n          color += texture2D(uTexture, vTexCoord + matrixPos) * uMatrix[int(h * 9.0 + w)];\n        }\n      }\n      gl_FragColor = color;\n    }\n    ",Convolute_9_0:"\n    precision highp float;\n    uniform sampler2D uTexture;\n    uniform float uMatrix[81];\n    uniform float uStepW;\n    uniform float uStepH;\n    varying vec2 vTexCoord;\n    void main() {\n      vec4 color = vec4(0, 0, 0, 1);\n      for (float h = 0.0; h < 9.0; h+=1.0) {\n        for (float w = 0.0; w < 9.0; w+=1.0) {\n          vec2 matrixPos = vec2(uStepW * (w - 4.0), uStepH * (h - 4.0));\n          color.rgb += texture2D(uTexture, vTexCoord + matrixPos).rgb * uMatrix[int(h * 9.0 + w)];\n        }\n      }\n      float alpha = texture2D(uTexture, vTexCoord).a;\n      gl_FragColor = color;\n      gl_FragColor.a = alpha;\n    }\n    "};class xs extends ns{getCacheKey(){return"".concat(this.type,"_").concat(Math.sqrt(this.matrix.length),"_").concat(this.opaque?1:0)}getFragmentSource(){return ws[this.getCacheKey()]}applyTo2d(e){const t=e.imageData,n=t.data,r=this.matrix,i=Math.round(Math.sqrt(r.length)),o=Math.floor(i/2),a=t.width,s=t.height,l=e.ctx.createImageData(a,s),c=l.data,u=this.opaque?1:0;let d,p,h,f,m,g,v,y,A,b,w,x,C;for(w=0;w<s;w++)for(b=0;b<a;b++){for(m=4*(w*a+b),d=0,p=0,h=0,f=0,C=0;C<i;C++)for(x=0;x<i;x++)v=w+C-o,g=b+x-o,v<0||v>=s||g<0||g>=a||(y=4*(v*a+g),A=r[C*i+x],d+=n[y]*A,p+=n[y+1]*A,h+=n[y+2]*A,u||(f+=n[y+3]*A));c[m]=d,c[m+1]=p,c[m+2]=h,c[m+3]=u?n[m+3]:f}e.imageData=l}sendUniformData(e,t){e.uniform1fv(t.uMatrix,this.matrix)}toObject(){return o(o({},super.toObject()),{},{opaque:this.opaque,matrix:[...this.matrix]})}}r(xs,"type","Convolute"),r(xs,"defaults",{opaque:!1,matrix:[0,0,0,0,1,0,0,0,0]}),r(xs,"uniformLocations",["uMatrix","uOpaque","uHalfSize","uSize"]),ne.setClass(xs);const Cs="Gamma";class Ss extends ns{getFragmentSource(){return"\n  precision highp float;\n  uniform sampler2D uTexture;\n  uniform vec3 uGamma;\n  varying vec2 vTexCoord;\n  void main() {\n    vec4 color = texture2D(uTexture, vTexCoord);\n    vec3 correction = (1.0 / uGamma);\n    color.r = pow(color.r, correction.r);\n    color.g = pow(color.g, correction.g);\n    color.b = pow(color.b, correction.b);\n    gl_FragColor = color;\n    gl_FragColor.rgb *= color.a;\n  }\n"}constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};super(e),this.gamma=e.gamma||this.constructor.defaults.gamma.concat()}applyTo2d(e){let{imageData:{data:t}}=e;const n=this.gamma,r=1/n[0],i=1/n[1],o=1/n[2];this.rgbValues||(this.rgbValues={r:new Uint8Array(256),g:new Uint8Array(256),b:new Uint8Array(256)});const a=this.rgbValues;for(let s=0;s<256;s++)a.r[s]=255*Math.pow(s/255,r),a.g[s]=255*Math.pow(s/255,i),a.b[s]=255*Math.pow(s/255,o);for(let s=0;s<t.length;s+=4)t[s]=a.r[t[s]],t[s+1]=a.g[t[s+1]],t[s+2]=a.b[t[s+2]]}sendUniformData(e,t){e.uniform3fv(t.uGamma,this.gamma)}isNeutralState(){const{gamma:e}=this;return 1===e[0]&&1===e[1]&&1===e[2]}toObject(){return{type:Cs,gamma:this.gamma.concat()}}}r(Ss,"type",Cs),r(Ss,"defaults",{gamma:[1,1,1]}),r(Ss,"uniformLocations",["uGamma"]),ne.setClass(Ss);const ks={average:"\n    precision highp float;\n    uniform sampler2D uTexture;\n    varying vec2 vTexCoord;\n    void main() {\n      vec4 color = texture2D(uTexture, vTexCoord);\n      float average = (color.r + color.b + color.g) / 3.0;\n      gl_FragColor = vec4(average, average, average, color.a);\n    }\n    ",lightness:"\n    precision highp float;\n    uniform sampler2D uTexture;\n    uniform int uMode;\n    varying vec2 vTexCoord;\n    void main() {\n      vec4 col = texture2D(uTexture, vTexCoord);\n      float average = (max(max(col.r, col.g),col.b) + min(min(col.r, col.g),col.b)) / 2.0;\n      gl_FragColor = vec4(average, average, average, col.a);\n    }\n    ",luminosity:"\n    precision highp float;\n    uniform sampler2D uTexture;\n    uniform int uMode;\n    varying vec2 vTexCoord;\n    void main() {\n      vec4 col = texture2D(uTexture, vTexCoord);\n      float average = 0.21 * col.r + 0.72 * col.g + 0.07 * col.b;\n      gl_FragColor = vec4(average, average, average, col.a);\n    }\n    "};class Es extends ns{applyTo2d(e){let{imageData:{data:t}}=e;for(let n,r=0;r<t.length;r+=4){switch(this.mode){case"average":n=(t[r]+t[r+1]+t[r+2])/3;break;case"lightness":n=(Math.min(t[r],t[r+1],t[r+2])+Math.max(t[r],t[r+1],t[r+2]))/2;break;case"luminosity":n=.21*t[r]+.72*t[r+1]+.07*t[r+2]}t[r]=n,t[r+1]=n,t[r+2]=n}}getCacheKey(){return"".concat(this.type,"_").concat(this.mode)}getFragmentSource(){return ks[this.mode]}sendUniformData(e,t){e.uniform1i(t.uMode,1)}isNeutralState(){return!1}}r(Es,"type","Grayscale"),r(Es,"defaults",{mode:"average"}),r(Es,"uniformLocations",["uMode"]),ne.setClass(Es);class Is extends us{calculateMatrix(){const e=this.rotation*Math.PI,t=ae(e),n=se(e),r=1/3,i=Math.sqrt(r)*n,o=1-t;this.matrix=[1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0],this.matrix[0]=t+o/3,this.matrix[1]=r*o-i,this.matrix[2]=r*o+i,this.matrix[5]=r*o+i,this.matrix[6]=t+r*o,this.matrix[7]=r*o-i,this.matrix[10]=r*o-i,this.matrix[11]=r*o+i,this.matrix[12]=t+r*o}isNeutralState(){return 0===this.rotation}applyTo(e){this.calculateMatrix(),super.applyTo(e)}toObject(){return{type:this.type,rotation:this.rotation}}}r(Is,"type","HueRotation"),r(Is,"defaults",{rotation:0}),ne.setClass(Is);class _s extends ns{applyTo2d(e){let{imageData:{data:t}}=e;for(let n=0;n<t.length;n+=4)t[n]=255-t[n],t[n+1]=255-t[n+1],t[n+2]=255-t[n+2],this.alpha&&(t[n+3]=255-t[n+3])}getFragmentSource(){return"\n  precision highp float;\n  uniform sampler2D uTexture;\n  uniform int uInvert;\n  uniform int uAlpha;\n  varying vec2 vTexCoord;\n  void main() {\n    vec4 color = texture2D(uTexture, vTexCoord);\n    if (uInvert == 1) {\n      if (uAlpha == 1) {\n        gl_FragColor = vec4(1.0 - color.r,1.0 -color.g,1.0 -color.b,1.0 -color.a);\n      } else {\n        gl_FragColor = vec4(1.0 - color.r,1.0 -color.g,1.0 -color.b,color.a);\n      }\n    } else {\n      gl_FragColor = color;\n    }\n  }\n"}isNeutralState(){return!this.invert}sendUniformData(e,t){e.uniform1i(t.uInvert,Number(this.invert)),e.uniform1i(t.uAlpha,Number(this.alpha))}}r(_s,"type","Invert"),r(_s,"defaults",{alpha:!1,invert:!0}),r(_s,"uniformLocations",["uInvert","uAlpha"]),ne.setClass(_s);class Ps extends ns{getFragmentSource(){return"\n  precision highp float;\n  uniform sampler2D uTexture;\n  uniform float uStepH;\n  uniform float uNoise;\n  uniform float uSeed;\n  varying vec2 vTexCoord;\n  float rand(vec2 co, float seed, float vScale) {\n    return fract(sin(dot(co.xy * vScale ,vec2(12.9898 , 78.233))) * 43758.5453 * (seed + 0.01) / 2.0);\n  }\n  void main() {\n    vec4 color = texture2D(uTexture, vTexCoord);\n    color.rgb += (0.5 - rand(vTexCoord, uSeed, 0.1 / uStepH)) * uNoise;\n    gl_FragColor = color;\n  }\n"}applyTo2d(e){let{imageData:{data:t}}=e;const n=this.noise;for(let r=0;r<t.length;r+=4){const e=(.5-Math.random())*n;t[r]+=e,t[r+1]+=e,t[r+2]+=e}}sendUniformData(e,t){e.uniform1f(t.uNoise,this.noise/255),e.uniform1f(t.uSeed,Math.random())}isNeutralState(){return 0===this.noise}}r(Ps,"type","Noise"),r(Ps,"defaults",{noise:0}),r(Ps,"uniformLocations",["uNoise","uSeed"]),ne.setClass(Ps);class Os extends ns{applyTo2d(e){let{imageData:{data:t,width:n,height:r}}=e;for(let i=0;i<r;i+=this.blocksize)for(let e=0;e<n;e+=this.blocksize){const o=4*i*n+4*e,a=t[o],s=t[o+1],l=t[o+2],c=t[o+3];for(let u=i;u<Math.min(i+this.blocksize,r);u++)for(let r=e;r<Math.min(e+this.blocksize,n);r++){const e=4*u*n+4*r;t[e]=a,t[e+1]=s,t[e+2]=l,t[e+3]=c}}}isNeutralState(){return 1===this.blocksize}getFragmentSource(){return"\n  precision highp float;\n  uniform sampler2D uTexture;\n  uniform float uBlocksize;\n  uniform float uStepW;\n  uniform float uStepH;\n  varying vec2 vTexCoord;\n  void main() {\n    float blockW = uBlocksize * uStepW;\n    float blockH = uBlocksize * uStepH;\n    int posX = int(vTexCoord.x / blockW);\n    int posY = int(vTexCoord.y / blockH);\n    float fposX = float(posX);\n    float fposY = float(posY);\n    vec2 squareCoords = vec2(fposX * blockW, fposY * blockH);\n    vec4 color = texture2D(uTexture, squareCoords);\n    gl_FragColor = color;\n  }\n"}sendUniformData(e,t){e.uniform1f(t.uBlocksize,this.blocksize)}}r(Os,"type","Pixelate"),r(Os,"defaults",{blocksize:4}),r(Os,"uniformLocations",["uBlocksize"]),ne.setClass(Os);class Ts extends ns{getFragmentSource(){return"\nprecision highp float;\nuniform sampler2D uTexture;\nuniform vec4 uLow;\nuniform vec4 uHigh;\nvarying vec2 vTexCoord;\nvoid main() {\n  gl_FragColor = texture2D(uTexture, vTexCoord);\n  if(all(greaterThan(gl_FragColor.rgb,uLow.rgb)) && all(greaterThan(uHigh.rgb,gl_FragColor.rgb))) {\n    gl_FragColor.a = 0.0;\n  }\n}\n"}applyTo2d(e){let{imageData:{data:t}}=e;const n=255*this.distance,r=new Ye(this.color).getSource(),i=[r[0]-n,r[1]-n,r[2]-n],o=[r[0]+n,r[1]+n,r[2]+n];for(let a=0;a<t.length;a+=4){const e=t[a],n=t[a+1],r=t[a+2];e>i[0]&&n>i[1]&&r>i[2]&&e<o[0]&&n<o[1]&&r<o[2]&&(t[a+3]=0)}}sendUniformData(e,t){const n=new Ye(this.color).getSource(),r=this.distance,i=[0+n[0]/255-r,0+n[1]/255-r,0+n[2]/255-r,1],o=[n[0]/255+r,n[1]/255+r,n[2]/255+r,1];e.uniform4fv(t.uLow,i),e.uniform4fv(t.uHigh,o)}}r(Ts,"type","RemoveColor"),r(Ts,"defaults",{color:"#FFFFFF",distance:.02,useAlpha:!1}),r(Ts,"uniformLocations",["uLow","uHigh"]),ne.setClass(Ts);class Ds extends ns{sendUniformData(e,t){e.uniform2fv(t.uDelta,this.horizontal?[1/this.width,0]:[0,1/this.height]),e.uniform1fv(t.uTaps,this.taps)}getFilterWindow(){const e=this.tempScale;return Math.ceil(this.lanczosLobes/e)}getCacheKey(){const e=this.getFilterWindow();return"".concat(this.type,"_").concat(e)}getFragmentSource(){const e=this.getFilterWindow();return this.generateShader(e)}getTaps(){const e=this.lanczosCreate(this.lanczosLobes),t=this.tempScale,n=this.getFilterWindow(),r=new Array(n);for(let i=1;i<=n;i++)r[i-1]=e(i*t);return r}generateShader(e){const t=new Array(e);for(let n=1;n<=e;n++)t[n-1]="".concat(n,".0 * uDelta");return"\n      precision highp float;\n      uniform sampler2D uTexture;\n      uniform vec2 uDelta;\n      varying vec2 vTexCoord;\n      uniform float uTaps[".concat(e,"];\n      void main() {\n        vec4 color = texture2D(uTexture, vTexCoord);\n        float sum = 1.0;\n        ").concat(t.map(((e,t)=>"\n              color += texture2D(uTexture, vTexCoord + ".concat(e,") * uTaps[").concat(t,"] + texture2D(uTexture, vTexCoord - ").concat(e,") * uTaps[").concat(t,"];\n              sum += 2.0 * uTaps[").concat(t,"];\n            "))).join("\n"),"\n        gl_FragColor = color / sum;\n      }\n    ")}applyToForWebgl(e){e.passes++,this.width=e.sourceWidth,this.horizontal=!0,this.dW=Math.round(this.width*this.scaleX),this.dH=e.sourceHeight,this.tempScale=this.dW/this.width,this.taps=this.getTaps(),e.destinationWidth=this.dW,super.applyTo(e),e.sourceWidth=e.destinationWidth,this.height=e.sourceHeight,this.horizontal=!1,this.dH=Math.round(this.height*this.scaleY),this.tempScale=this.dH/this.height,this.taps=this.getTaps(),e.destinationHeight=this.dH,super.applyTo(e),e.sourceHeight=e.destinationHeight}applyTo(e){Ja(e)?this.applyToForWebgl(e):this.applyTo2d(e)}isNeutralState(){return 1===this.scaleX&&1===this.scaleY}lanczosCreate(e){return t=>{if(t>=e||t<=-e)return 0;if(t<1.1920929e-7&&t>-1.1920929e-7)return 1;const n=(t*=Math.PI)/e;return Math.sin(t)/t*Math.sin(n)/n}}applyTo2d(e){const t=e.imageData,n=this.scaleX,r=this.scaleY;this.rcpScaleX=1/n,this.rcpScaleY=1/r;const i=t.width,o=t.height,a=Math.round(i*n),s=Math.round(o*r);let l;l="sliceHack"===this.resizeType?this.sliceByTwo(e,i,o,a,s):"hermite"===this.resizeType?this.hermiteFastResize(e,i,o,a,s):"bilinear"===this.resizeType?this.bilinearFiltering(e,i,o,a,s):"lanczos"===this.resizeType?this.lanczosResize(e,i,o,a,s):new ImageData(a,s),e.imageData=l}sliceByTwo(e,t,n,r,i){const o=e.imageData,a=.5;let s=!1,l=!1,c=t*a,u=n*a;const d=e.filterBackend.resources;let p=0,h=0;const f=t;let m=0;d.sliceByTwo||(d.sliceByTwo=ve());const g=d.sliceByTwo;(g.width<1.5*t||g.height<n)&&(g.width=1.5*t,g.height=n);const v=g.getContext("2d");for(v.clearRect(0,0,1.5*t,n),v.putImageData(o,0,0),r=Math.floor(r),i=Math.floor(i);!s||!l;)t=c,n=u,r<Math.floor(c*a)?c=Math.floor(c*a):(c=r,s=!0),i<Math.floor(u*a)?u=Math.floor(u*a):(u=i,l=!0),v.drawImage(g,p,h,t,n,f,m,c,u),p=f,h=m,m+=u;return v.getImageData(p,h,r,i)}lanczosResize(e,t,n,r,i){const o=e.imageData.data,a=e.ctx.createImageData(r,i),s=a.data,l=this.lanczosCreate(this.lanczosLobes),c=this.rcpScaleX,u=this.rcpScaleY,d=2/this.rcpScaleX,p=2/this.rcpScaleY,h=Math.ceil(c*this.lanczosLobes/2),f=Math.ceil(u*this.lanczosLobes/2),m={},g={x:0,y:0},v={x:0,y:0};return function e(y){let A,b,w,x,C,S,k,E,I,_,P;for(g.x=(y+.5)*c,v.x=Math.floor(g.x),A=0;A<i;A++){for(g.y=(A+.5)*u,v.y=Math.floor(g.y),C=0,S=0,k=0,E=0,I=0,b=v.x-h;b<=v.x+h;b++)if(!(b<0||b>=t)){_=Math.floor(1e3*Math.abs(b-g.x)),m[_]||(m[_]={});for(let e=v.y-f;e<=v.y+f;e++)e<0||e>=n||(P=Math.floor(1e3*Math.abs(e-g.y)),m[_][P]||(m[_][P]=l(Math.sqrt(Math.pow(_*d,2)+Math.pow(P*p,2))/1e3)),w=m[_][P],w>0&&(x=4*(e*t+b),C+=w,S+=w*o[x],k+=w*o[x+1],E+=w*o[x+2],I+=w*o[x+3]))}x=4*(A*r+y),s[x]=S/C,s[x+1]=k/C,s[x+2]=E/C,s[x+3]=I/C}return++y<r?e(y):a}(0)}bilinearFiltering(e,t,n,r,i){let o,a,s,l,c,u,d,p,h,f,m,g,v,y=0;const A=this.rcpScaleX,b=this.rcpScaleY,w=4*(t-1),x=e.imageData.data,C=e.ctx.createImageData(r,i),S=C.data;for(d=0;d<i;d++)for(p=0;p<r;p++)for(c=Math.floor(A*p),u=Math.floor(b*d),h=A*p-c,f=b*d-u,v=4*(u*t+c),m=0;m<4;m++)o=x[v+m],a=x[v+4+m],s=x[v+w+m],l=x[v+w+4+m],g=o*(1-h)*(1-f)+a*h*(1-f)+s*f*(1-h)+l*h*f,S[y++]=g;return C}hermiteFastResize(e,t,n,r,i){const o=this.rcpScaleX,a=this.rcpScaleY,s=Math.ceil(o/2),l=Math.ceil(a/2),c=e.imageData.data,u=e.ctx.createImageData(r,i),d=u.data;for(let p=0;p<i;p++)for(let e=0;e<r;e++){const n=4*(e+p*r);let i=0,u=0,h=0,f=0,m=0,g=0,v=0;const y=(p+.5)*a;for(let r=Math.floor(p*a);r<(p+1)*a;r++){const n=Math.abs(y-(r+.5))/l,a=(e+.5)*o,d=n*n;for(let l=Math.floor(e*o);l<(e+1)*o;l++){let e=Math.abs(a-(l+.5))/s;const n=Math.sqrt(d+e*e);n>1&&n<-1||(i=2*n*n*n-3*n*n+1,i>0&&(e=4*(l+r*t),v+=i*c[e+3],h+=i,c[e+3]<255&&(i=i*c[e+3]/250),f+=i*c[e],m+=i*c[e+1],g+=i*c[e+2],u+=i))}}d[n]=f/u,d[n+1]=m/u,d[n+2]=g/u,d[n+3]=v/h}return u}}r(Ds,"type","Resize"),r(Ds,"defaults",{resizeType:"hermite",scaleX:1,scaleY:1,lanczosLobes:3}),r(Ds,"uniformLocations",["uDelta","uTaps"]),ne.setClass(Ds);class js extends ns{getFragmentSource(){return"\n  precision highp float;\n  uniform sampler2D uTexture;\n  uniform float uSaturation;\n  varying vec2 vTexCoord;\n  void main() {\n    vec4 color = texture2D(uTexture, vTexCoord);\n    float rgMax = max(color.r, color.g);\n    float rgbMax = max(rgMax, color.b);\n    color.r += rgbMax != color.r ? (rgbMax - color.r) * uSaturation : 0.00;\n    color.g += rgbMax != color.g ? (rgbMax - color.g) * uSaturation : 0.00;\n    color.b += rgbMax != color.b ? (rgbMax - color.b) * uSaturation : 0.00;\n    gl_FragColor = color;\n  }\n"}applyTo2d(e){let{imageData:{data:t}}=e;const n=-this.saturation;for(let r=0;r<t.length;r+=4){const e=Math.max(t[r],t[r+1],t[r+2]);t[r]+=e!==t[r]?(e-t[r])*n:0,t[r+1]+=e!==t[r+1]?(e-t[r+1])*n:0,t[r+2]+=e!==t[r+2]?(e-t[r+2])*n:0}}sendUniformData(e,t){e.uniform1f(t.uSaturation,-this.saturation)}isNeutralState(){return 0===this.saturation}}r(js,"type","Saturation"),r(js,"defaults",{saturation:0}),r(js,"uniformLocations",["uSaturation"]),ne.setClass(js);class Bs extends ns{getFragmentSource(){return"\n  precision highp float;\n  uniform sampler2D uTexture;\n  uniform float uVibrance;\n  varying vec2 vTexCoord;\n  void main() {\n    vec4 color = texture2D(uTexture, vTexCoord);\n    float max = max(color.r, max(color.g, color.b));\n    float avg = (color.r + color.g + color.b) / 3.0;\n    float amt = (abs(max - avg) * 2.0) * uVibrance;\n    color.r += max != color.r ? (max - color.r) * amt : 0.00;\n    color.g += max != color.g ? (max - color.g) * amt : 0.00;\n    color.b += max != color.b ? (max - color.b) * amt : 0.00;\n    gl_FragColor = color;\n  }\n"}applyTo2d(e){let{imageData:{data:t}}=e;const n=-this.vibrance;for(let r=0;r<t.length;r+=4){const e=Math.max(t[r],t[r+1],t[r+2]),i=(t[r]+t[r+1]+t[r+2])/3,o=2*Math.abs(e-i)/255*n;t[r]+=e!==t[r]?(e-t[r])*o:0,t[r+1]+=e!==t[r+1]?(e-t[r+1])*o:0,t[r+2]+=e!==t[r+2]?(e-t[r+2])*o:0}}sendUniformData(e,t){e.uniform1f(t.uVibrance,-this.vibrance)}isNeutralState(){return 0===this.vibrance}}r(Bs,"type","Vibrance"),r(Bs,"defaults",{vibrance:0}),r(Bs,"uniformLocations",["uVibrance"]),ne.setClass(Bs);var Ns=Object.freeze({__proto__:null,BaseFilter:ns,BlackWhite:ys,BlendColor:is,BlendImage:ss,Blur:ls,Brightness:cs,Brownie:ps,ColorMatrix:us,Composed:As,Contrast:bs,Convolute:xs,Gamma:Ss,Grayscale:Es,HueRotation:Is,Invert:_s,Kodachrome:fs,Noise:Ps,Pixelate:Os,Polaroid:gs,RemoveColor:Ts,Resize:Ds,Saturation:js,Sepia:vs,Technicolor:ms,Vibrance:Bs,Vintage:hs})},74635:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>pe,t:()=>de});var r=n(82284),i=n(23029),o=n(92901),a=n(9417),s=n(85501),l=n(56822),c=n(53954),u=n(64467),d=n(87695);function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){(0,u.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var f={type:"logger",log:function(e){this.output("log",e)},warn:function(e){this.output("warn",e)},error:function(e){this.output("error",e)},output:function(e,t){console&&console[e]&&console[e].apply(console,t)}},m=new(function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,i.A)(this,e),this.init(t,n)}return(0,o.A)(e,[{key:"init",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=t.prefix||"i18next:",this.logger=e||f,this.options=t,this.debug=t.debug}},{key:"setDebug",value:function(e){this.debug=e}},{key:"log",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"log","",!0)}},{key:"warn",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","",!0)}},{key:"error",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"error","")}},{key:"deprecate",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","WARNING DEPRECATED: ",!0)}},{key:"forward",value:function(e,t,n,r){return r&&!this.debug?null:("string"===typeof e[0]&&(e[0]="".concat(n).concat(this.prefix," ").concat(e[0])),this.logger[t](e))}},{key:"create",value:function(t){return new e(this.logger,h(h({},{prefix:"".concat(this.prefix,":").concat(t,":")}),this.options))}},{key:"clone",value:function(t){return(t=t||this.options).prefix=t.prefix||this.prefix,new e(this.logger,t)}}]),e}()),g=function(){function e(){(0,i.A)(this,e),this.observers={}}return(0,o.A)(e,[{key:"on",value:function(e,t){var n=this;return e.split(" ").forEach((function(e){n.observers[e]=n.observers[e]||[],n.observers[e].push(t)})),this}},{key:"off",value:function(e,t){this.observers[e]&&(t?this.observers[e]=this.observers[e].filter((function(e){return e!==t})):delete this.observers[e])}},{key:"emit",value:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];this.observers[e]&&[].concat(this.observers[e]).forEach((function(e){e.apply(void 0,n)}));this.observers["*"]&&[].concat(this.observers["*"]).forEach((function(t){t.apply(t,[e].concat(n))}))}}]),e}();function v(){var e,t,n=new Promise((function(n,r){e=n,t=r}));return n.resolve=e,n.reject=t,n}function y(e){return null==e?"":""+e}function A(e,t,n){function r(e){return e&&e.indexOf("###")>-1?e.replace(/###/g,"."):e}function i(){return!e||"string"===typeof e}for(var o="string"!==typeof t?[].concat(t):t.split(".");o.length>1;){if(i())return{};var a=r(o.shift());!e[a]&&n&&(e[a]=new n),e=Object.prototype.hasOwnProperty.call(e,a)?e[a]:{}}return i()?{}:{obj:e,k:r(o.shift())}}function b(e,t,n){var r=A(e,t,Object);r.obj[r.k]=n}function w(e,t){var n=A(e,t),r=n.obj,i=n.k;if(r)return r[i]}function x(e,t,n){var r=w(e,n);return void 0!==r?r:w(t,n)}function C(e,t,n){for(var r in t)"__proto__"!==r&&"constructor"!==r&&(r in e?"string"===typeof e[r]||e[r]instanceof String||"string"===typeof t[r]||t[r]instanceof String?n&&(e[r]=t[r]):C(e[r],t[r],n):e[r]=t[r]);return e}function S(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var k={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};function E(e){return"string"===typeof e?e.replace(/[&<>"'\/]/g,(function(e){return k[e]})):e}var I="undefined"!==typeof window&&window.navigator&&"undefined"===typeof window.navigator.userAgentData&&window.navigator.userAgent&&window.navigator.userAgent.indexOf("MSIE")>-1,_=[" ",",","?","!",";"];function P(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function O(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?P(Object(n),!0).forEach((function(t){(0,u.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):P(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function T(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,c.A)(e);if(t){var i=(0,c.A)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,l.A)(this,n)}}function D(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".";if(e){if(e[t])return e[t];for(var r=t.split(n),i=e,o=0;o<r.length;++o){if(!i)return;if("string"===typeof i[r[o]]&&o+1<r.length)return;if(void 0===i[r[o]]){for(var a=2,s=r.slice(o,o+a).join(n),l=i[s];void 0===l&&r.length>o+a;)a++,l=i[s=r.slice(o,o+a).join(n)];if(void 0===l)return;if(null===l)return null;if(t.endsWith(s)){if("string"===typeof l)return l;if(s&&"string"===typeof l[s])return l[s]}var c=r.slice(o+a).join(n);return c?D(l,c,n):void 0}i=i[r[o]]}return i}}var j=function(e){(0,s.A)(n,e);var t=T(n);function n(e){var r,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};return(0,i.A)(this,n),r=t.call(this),I&&g.call((0,a.A)(r)),r.data=e||{},r.options=o,void 0===r.options.keySeparator&&(r.options.keySeparator="."),void 0===r.options.ignoreJSONStructure&&(r.options.ignoreJSONStructure=!0),r}return(0,o.A)(n,[{key:"addNamespaces",value:function(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}},{key:"removeNamespaces",value:function(e){var t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}},{key:"getResource",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=void 0!==r.keySeparator?r.keySeparator:this.options.keySeparator,o=void 0!==r.ignoreJSONStructure?r.ignoreJSONStructure:this.options.ignoreJSONStructure,a=[e,t];n&&"string"!==typeof n&&(a=a.concat(n)),n&&"string"===typeof n&&(a=a.concat(i?n.split(i):n)),e.indexOf(".")>-1&&(a=e.split("."));var s=w(this.data,a);return s||!o||"string"!==typeof n?s:D(this.data&&this.data[e]&&this.data[e][t],n,i)}},{key:"addResource",value:function(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1},o=this.options.keySeparator;void 0===o&&(o=".");var a=[e,t];n&&(a=a.concat(o?n.split(o):n)),e.indexOf(".")>-1&&(r=t,t=(a=e.split("."))[1]),this.addNamespaces(t),b(this.data,a,r),i.silent||this.emit("added",e,t,n,r)}},{key:"addResources",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(var i in n)"string"!==typeof n[i]&&"[object Array]"!==Object.prototype.toString.apply(n[i])||this.addResource(e,t,i,n[i],{silent:!0});r.silent||this.emit("added",e,t,n)}},{key:"addResourceBundle",value:function(e,t,n,r,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1},a=[e,t];e.indexOf(".")>-1&&(r=n,n=t,t=(a=e.split("."))[1]),this.addNamespaces(t);var s=w(this.data,a)||{};r?C(s,n,i):s=O(O({},s),n),b(this.data,a,s),o.silent||this.emit("added",e,t,n)}},{key:"removeResourceBundle",value:function(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}},{key:"hasResourceBundle",value:function(e,t){return void 0!==this.getResource(e,t)}},{key:"getResourceBundle",value:function(e,t){return t||(t=this.options.defaultNS),"v1"===this.options.compatibilityAPI?O(O({},{}),this.getResource(e,t)):this.getResource(e,t)}},{key:"getDataByLanguage",value:function(e){return this.data[e]}},{key:"hasLanguageSomeTranslations",value:function(e){var t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find((function(e){return t[e]&&Object.keys(t[e]).length>0}))}},{key:"toJSON",value:function(){return this.data}}]),n}(g),B={processors:{},addPostProcessor:function(e){this.processors[e.name]=e},handle:function(e,t,n,r,i){var o=this;return e.forEach((function(e){o.processors[e]&&(t=o.processors[e].process(t,n,r,i))})),t}};function N(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function M(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?N(Object(n),!0).forEach((function(t){(0,u.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):N(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function R(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,c.A)(e);if(t){var i=(0,c.A)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,l.A)(this,n)}}var L={},F=function(e){(0,s.A)(n,e);var t=R(n);function n(e){var r,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,i.A)(this,n),r=t.call(this),I&&g.call((0,a.A)(r)),function(e,t,n){e.forEach((function(e){t[e]&&(n[e]=t[e])}))}(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],e,(0,a.A)(r)),r.options=o,void 0===r.options.keySeparator&&(r.options.keySeparator="."),r.logger=m.create("translator"),r}return(0,o.A)(n,[{key:"changeLanguage",value:function(e){e&&(this.language=e)}},{key:"exists",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};if(void 0===e||null===e)return!1;var n=this.resolve(e,t);return n&&void 0!==n.res}},{key:"extractFromKey",value:function(e,t){var n=void 0!==t.nsSeparator?t.nsSeparator:this.options.nsSeparator;void 0===n&&(n=":");var r=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,i=t.ns||this.options.defaultNS||[],o=n&&e.indexOf(n)>-1,a=!this.options.userDefinedKeySeparator&&!t.keySeparator&&!this.options.userDefinedNsSeparator&&!t.nsSeparator&&!function(e,t,n){t=t||"",n=n||"";var r=_.filter((function(e){return t.indexOf(e)<0&&n.indexOf(e)<0}));if(0===r.length)return!0;var i=new RegExp("(".concat(r.map((function(e){return"?"===e?"\\?":e})).join("|"),")")),o=!i.test(e);if(!o){var a=e.indexOf(n);a>0&&!i.test(e.substring(0,a))&&(o=!0)}return o}(e,n,r);if(o&&!a){var s=e.match(this.interpolator.nestingRegexp);if(s&&s.length>0)return{key:e,namespaces:i};var l=e.split(n);(n!==r||n===r&&this.options.ns.indexOf(l[0])>-1)&&(i=l.shift()),e=l.join(r)}return"string"===typeof i&&(i=[i]),{key:e,namespaces:i}}},{key:"translate",value:function(e,t,i){var o=this;if("object"!==(0,r.A)(t)&&this.options.overloadTranslationOptionHandler&&(t=this.options.overloadTranslationOptionHandler(arguments)),t||(t={}),void 0===e||null===e)return"";Array.isArray(e)||(e=[String(e)]);var a=void 0!==t.returnDetails?t.returnDetails:this.options.returnDetails,s=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,l=this.extractFromKey(e[e.length-1],t),c=l.key,u=l.namespaces,d=u[u.length-1],p=t.lng||this.language,h=t.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(p&&"cimode"===p.toLowerCase()){if(h){var f=t.nsSeparator||this.options.nsSeparator;return a?(m.res="".concat(d).concat(f).concat(c),m):"".concat(d).concat(f).concat(c)}return a?(m.res=c,m):c}var m=this.resolve(e,t),g=m&&m.res,v=m&&m.usedKey||c,y=m&&m.exactUsedKey||c,A=Object.prototype.toString.apply(g),b=void 0!==t.joinArrays?t.joinArrays:this.options.joinArrays,w=!this.i18nFormat||this.i18nFormat.handleAsObject;if(w&&g&&("string"!==typeof g&&"boolean"!==typeof g&&"number"!==typeof g)&&["[object Number]","[object Function]","[object RegExp]"].indexOf(A)<0&&("string"!==typeof b||"[object Array]"!==A)){if(!t.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");var x=this.options.returnedObjectHandler?this.options.returnedObjectHandler(v,g,M(M({},t),{},{ns:u})):"key '".concat(c," (").concat(this.language,")' returned an object instead of string.");return a?(m.res=x,m):x}if(s){var C="[object Array]"===A,S=C?[]:{},k=C?y:v;for(var E in g)if(Object.prototype.hasOwnProperty.call(g,E)){var I="".concat(k).concat(s).concat(E);S[E]=this.translate(I,M(M({},t),{joinArrays:!1,ns:u})),S[E]===I&&(S[E]=g[E])}g=S}}else if(w&&"string"===typeof b&&"[object Array]"===A)(g=g.join(b))&&(g=this.extendTranslation(g,e,t,i));else{var _=!1,P=!1,O=void 0!==t.count&&"string"!==typeof t.count,T=n.hasDefaultValue(t),D=O?this.pluralResolver.getSuffix(p,t.count,t):"",j=t["defaultValue".concat(D)]||t.defaultValue;!this.isValidLookup(g)&&T&&(_=!0,g=j),this.isValidLookup(g)||(P=!0,g=c);var B=(t.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&P?void 0:g,N=T&&j!==g&&this.options.updateMissing;if(P||_||N){if(this.logger.log(N?"updateKey":"missingKey",p,d,c,N?j:g),s){var R=this.resolve(c,M(M({},t),{},{keySeparator:!1}));R&&R.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}var L=[],F=this.languageUtils.getFallbackCodes(this.options.fallbackLng,t.lng||this.language);if("fallback"===this.options.saveMissingTo&&F&&F[0])for(var z=0;z<F.length;z++)L.push(F[z]);else"all"===this.options.saveMissingTo?L=this.languageUtils.toResolveHierarchy(t.lng||this.language):L.push(t.lng||this.language);var Q=function(e,n,r){var i=T&&r!==g?r:B;o.options.missingKeyHandler?o.options.missingKeyHandler(e,d,n,i,N,t):o.backendConnector&&o.backendConnector.saveMissing&&o.backendConnector.saveMissing(e,d,n,i,N,t),o.emit("missingKey",e,d,n,g)};this.options.saveMissing&&(this.options.saveMissingPlurals&&O?L.forEach((function(e){o.pluralResolver.getSuffixes(e,t).forEach((function(n){Q([e],c+n,t["defaultValue".concat(n)]||j)}))})):Q(L,c,j))}g=this.extendTranslation(g,e,t,m,i),P&&g===c&&this.options.appendNamespaceToMissingKey&&(g="".concat(d,":").concat(c)),(P||_)&&this.options.parseMissingKeyHandler&&(g="v1"!==this.options.compatibilityAPI?this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?"".concat(d,":").concat(c):c,_?g:void 0):this.options.parseMissingKeyHandler(g))}return a?(m.res=g,m):g}},{key:"extendTranslation",value:function(e,t,n,r,i){var o=this;if(this.i18nFormat&&this.i18nFormat.parse)e=this.i18nFormat.parse(e,M(M({},this.options.interpolation.defaultVariables),n),r.usedLng,r.usedNS,r.usedKey,{resolved:r});else if(!n.skipInterpolation){n.interpolation&&this.interpolator.init(M(M({},n),{interpolation:M(M({},this.options.interpolation),n.interpolation)}));var a,s="string"===typeof e&&(n&&n.interpolation&&void 0!==n.interpolation.skipOnVariables?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);if(s){var l=e.match(this.interpolator.nestingRegexp);a=l&&l.length}var c=n.replace&&"string"!==typeof n.replace?n.replace:n;if(this.options.interpolation.defaultVariables&&(c=M(M({},this.options.interpolation.defaultVariables),c)),e=this.interpolator.interpolate(e,c,n.lng||this.language,n),s){var u=e.match(this.interpolator.nestingRegexp);a<(u&&u.length)&&(n.nest=!1)}!1!==n.nest&&(e=this.interpolator.nest(e,(function(){for(var e=arguments.length,r=new Array(e),a=0;a<e;a++)r[a]=arguments[a];return i&&i[0]===r[0]&&!n.context?(o.logger.warn("It seems you are nesting recursively key: ".concat(r[0]," in key: ").concat(t[0])),null):o.translate.apply(o,r.concat([t]))}),n)),n.interpolation&&this.interpolator.reset()}var d=n.postProcess||this.options.postProcess,p="string"===typeof d?[d]:d;return void 0!==e&&null!==e&&p&&p.length&&!1!==n.applyPostProcessor&&(e=B.handle(p,e,t,this.options&&this.options.postProcessPassResolved?M({i18nResolved:r},n):n,this)),e}},{key:"resolve",value:function(e){var t,n,r,i,o,a=this,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"string"===typeof e&&(e=[e]),e.forEach((function(e){if(!a.isValidLookup(t)){var l=a.extractFromKey(e,s),c=l.key;n=c;var u=l.namespaces;a.options.fallbackNS&&(u=u.concat(a.options.fallbackNS));var d=void 0!==s.count&&"string"!==typeof s.count,p=d&&!s.ordinal&&0===s.count&&a.pluralResolver.shouldUseIntlApi(),h=void 0!==s.context&&("string"===typeof s.context||"number"===typeof s.context)&&""!==s.context,f=s.lngs?s.lngs:a.languageUtils.toResolveHierarchy(s.lng||a.language,s.fallbackLng);u.forEach((function(e){a.isValidLookup(t)||(o=e,!L["".concat(f[0],"-").concat(e)]&&a.utils&&a.utils.hasLoadedNamespace&&!a.utils.hasLoadedNamespace(o)&&(L["".concat(f[0],"-").concat(e)]=!0,a.logger.warn('key "'.concat(n,'" for languages "').concat(f.join(", "),'" won\'t get resolved as namespace "').concat(o,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),f.forEach((function(n){if(!a.isValidLookup(t)){i=n;var o,l=[c];if(a.i18nFormat&&a.i18nFormat.addLookupKeys)a.i18nFormat.addLookupKeys(l,c,n,e,s);else{var u;d&&(u=a.pluralResolver.getSuffix(n,s.count,s));var f="".concat(a.options.pluralSeparator,"zero");if(d&&(l.push(c+u),p&&l.push(c+f)),h){var m="".concat(c).concat(a.options.contextSeparator).concat(s.context);l.push(m),d&&(l.push(m+u),p&&l.push(m+f))}}for(;o=l.pop();)a.isValidLookup(t)||(r=o,t=a.getResource(n,e,o,s))}})))}))}})),{res:t,usedKey:n,exactUsedKey:r,usedLng:i,usedNS:o}}},{key:"isValidLookup",value:function(e){return void 0!==e&&!(!this.options.returnNull&&null===e)&&!(!this.options.returnEmptyString&&""===e)}},{key:"getResource",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(e,t,n,r):this.resourceStore.getResource(e,t,n,r)}}],[{key:"hasDefaultValue",value:function(e){var t="defaultValue";for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t===n.substring(0,12)&&void 0!==e[n])return!0;return!1}}]),n}(g);function z(e){return e.charAt(0).toUpperCase()+e.slice(1)}var Q=function(){function e(t){(0,i.A)(this,e),this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=m.create("languageUtils")}return(0,o.A)(e,[{key:"getScriptPartFromCode",value:function(e){if(!e||e.indexOf("-")<0)return null;var t=e.split("-");return 2===t.length?null:(t.pop(),"x"===t[t.length-1].toLowerCase()?null:this.formatLanguageCode(t.join("-")))}},{key:"getLanguagePartFromCode",value:function(e){if(!e||e.indexOf("-")<0)return e;var t=e.split("-");return this.formatLanguageCode(t[0])}},{key:"formatLanguageCode",value:function(e){if("string"===typeof e&&e.indexOf("-")>-1){var t=["hans","hant","latn","cyrl","cans","mong","arab"],n=e.split("-");return this.options.lowerCaseLng?n=n.map((function(e){return e.toLowerCase()})):2===n.length?(n[0]=n[0].toLowerCase(),n[1]=n[1].toUpperCase(),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=z(n[1].toLowerCase()))):3===n.length&&(n[0]=n[0].toLowerCase(),2===n[1].length&&(n[1]=n[1].toUpperCase()),"sgn"!==n[0]&&2===n[2].length&&(n[2]=n[2].toUpperCase()),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=z(n[1].toLowerCase())),t.indexOf(n[2].toLowerCase())>-1&&(n[2]=z(n[2].toLowerCase()))),n.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}},{key:"isSupportedCode",value:function(e){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}},{key:"getBestMatchFromCodes",value:function(e){var t,n=this;return e?(e.forEach((function(e){if(!t){var r=n.formatLanguageCode(e);n.options.supportedLngs&&!n.isSupportedCode(r)||(t=r)}})),!t&&this.options.supportedLngs&&e.forEach((function(e){if(!t){var r=n.getLanguagePartFromCode(e);if(n.isSupportedCode(r))return t=r;t=n.options.supportedLngs.find((function(e){if(0===e.indexOf(r))return e}))}})),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t):null}},{key:"getFallbackCodes",value:function(e,t){if(!e)return[];if("function"===typeof e&&(e=e(t)),"string"===typeof e&&(e=[e]),"[object Array]"===Object.prototype.toString.apply(e))return e;if(!t)return e.default||[];var n=e[t];return n||(n=e[this.getScriptPartFromCode(t)]),n||(n=e[this.formatLanguageCode(t)]),n||(n=e[this.getLanguagePartFromCode(t)]),n||(n=e.default),n||[]}},{key:"toResolveHierarchy",value:function(e,t){var n=this,r=this.getFallbackCodes(t||this.options.fallbackLng||[],e),i=[],o=function(e){e&&(n.isSupportedCode(e)?i.push(e):n.logger.warn("rejecting language code not found in supportedLngs: ".concat(e)))};return"string"===typeof e&&e.indexOf("-")>-1?("languageOnly"!==this.options.load&&o(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&o(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&o(this.getLanguagePartFromCode(e))):"string"===typeof e&&o(this.formatLanguageCode(e)),r.forEach((function(e){i.indexOf(e)<0&&o(n.formatLanguageCode(e))})),i}}]),e}(),U=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],V={1:function(e){return Number(e>1)},2:function(e){return Number(1!=e)},3:function(e){return 0},4:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},5:function(e){return Number(0==e?0:1==e?1:2==e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5)},6:function(e){return Number(1==e?0:e>=2&&e<=4?1:2)},7:function(e){return Number(1==e?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},8:function(e){return Number(1==e?0:2==e?1:8!=e&&11!=e?2:3)},9:function(e){return Number(e>=2)},10:function(e){return Number(1==e?0:2==e?1:e<7?2:e<11?3:4)},11:function(e){return Number(1==e||11==e?0:2==e||12==e?1:e>2&&e<20?2:3)},12:function(e){return Number(e%10!=1||e%100==11)},13:function(e){return Number(0!==e)},14:function(e){return Number(1==e?0:2==e?1:3==e?2:3)},15:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2)},16:function(e){return Number(e%10==1&&e%100!=11?0:0!==e?1:2)},17:function(e){return Number(1==e||e%10==1&&e%100!=11?0:1)},18:function(e){return Number(0==e?0:1==e?1:2)},19:function(e){return Number(1==e?0:0==e||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3)},20:function(e){return Number(1==e?0:0==e||e%100>0&&e%100<20?1:2)},21:function(e){return Number(e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0)},22:function(e){return Number(1==e?0:2==e?1:(e<0||e>10)&&e%10==0?2:3)}},G=["v1","v2","v3"],q={zero:0,one:1,two:2,few:3,many:4,other:5};var H=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,i.A)(this,e),this.languageUtils=t,this.options=n,this.logger=m.create("pluralResolver"),this.options.compatibilityJSON&&"v4"!==this.options.compatibilityJSON||"undefined"!==typeof Intl&&Intl.PluralRules||(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=function(){var e={};return U.forEach((function(t){t.lngs.forEach((function(n){e[n]={numbers:t.nr,plurals:V[t.fc]}}))})),e}()}return(0,o.A)(e,[{key:"addRule",value:function(e,t){this.rules[e]=t}},{key:"getRule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(e,{type:t.ordinal?"ordinal":"cardinal"})}catch(n){return}return this.rules[e]||this.rules[this.languageUtils.getLanguagePartFromCode(e)]}},{key:"needsPlural",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.getRule(e,t);return this.shouldUseIntlApi()?n&&n.resolvedOptions().pluralCategories.length>1:n&&n.numbers.length>1}},{key:"getPluralFormsOfKey",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.getSuffixes(e,n).map((function(e){return"".concat(t).concat(e)}))}},{key:"getSuffixes",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=this.getRule(e,n);return r?this.shouldUseIntlApi()?r.resolvedOptions().pluralCategories.sort((function(e,t){return q[e]-q[t]})).map((function(e){return"".concat(t.options.prepend).concat(e)})):r.numbers.map((function(r){return t.getSuffix(e,r,n)})):[]}},{key:"getSuffix",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=this.getRule(e,n);return r?this.shouldUseIntlApi()?"".concat(this.options.prepend).concat(r.select(t)):this.getSuffixRetroCompatible(r,t):(this.logger.warn("no plural rule found for: ".concat(e)),"")}},{key:"getSuffixRetroCompatible",value:function(e,t){var n=this,r=e.noAbs?e.plurals(t):e.plurals(Math.abs(t)),i=e.numbers[r];this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]&&(2===i?i="plural":1===i&&(i=""));var o=function(){return n.options.prepend&&i.toString()?n.options.prepend+i.toString():i.toString()};return"v1"===this.options.compatibilityJSON?1===i?"":"number"===typeof i?"_plural_".concat(i.toString()):o():"v2"===this.options.compatibilityJSON||this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]?o():this.options.prepend&&r.toString()?this.options.prepend+r.toString():r.toString()}},{key:"shouldUseIntlApi",value:function(){return!G.includes(this.options.compatibilityJSON)}}]),e}();function W(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?W(Object(n),!0).forEach((function(t){(0,u.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):W(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var K=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,i.A)(this,e),this.logger=m.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||function(e){return e},this.init(t)}return(0,o.A)(e,[{key:"init",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});var t=e.interpolation;this.escape=void 0!==t.escape?t.escape:E,this.escapeValue=void 0===t.escapeValue||t.escapeValue,this.useRawValueToEscape=void 0!==t.useRawValueToEscape&&t.useRawValueToEscape,this.prefix=t.prefix?S(t.prefix):t.prefixEscaped||"{{",this.suffix=t.suffix?S(t.suffix):t.suffixEscaped||"}}",this.formatSeparator=t.formatSeparator?t.formatSeparator:t.formatSeparator||",",this.unescapePrefix=t.unescapeSuffix?"":t.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":t.unescapeSuffix||"",this.nestingPrefix=t.nestingPrefix?S(t.nestingPrefix):t.nestingPrefixEscaped||S("$t("),this.nestingSuffix=t.nestingSuffix?S(t.nestingSuffix):t.nestingSuffixEscaped||S(")"),this.nestingOptionsSeparator=t.nestingOptionsSeparator?t.nestingOptionsSeparator:t.nestingOptionsSeparator||",",this.maxReplaces=t.maxReplaces?t.maxReplaces:1e3,this.alwaysFormat=void 0!==t.alwaysFormat&&t.alwaysFormat,this.resetRegExp()}},{key:"reset",value:function(){this.options&&this.init(this.options)}},{key:"resetRegExp",value:function(){var e="".concat(this.prefix,"(.+?)").concat(this.suffix);this.regexp=new RegExp(e,"g");var t="".concat(this.prefix).concat(this.unescapePrefix,"(.+?)").concat(this.unescapeSuffix).concat(this.suffix);this.regexpUnescape=new RegExp(t,"g");var n="".concat(this.nestingPrefix,"(.+?)").concat(this.nestingSuffix);this.nestingRegexp=new RegExp(n,"g")}},{key:"interpolate",value:function(e,t,n,r){var i,o,a,s=this,l=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function c(e){return e.replace(/\$/g,"$$$$")}var u=function(e){if(e.indexOf(s.formatSeparator)<0){var i=x(t,l,e);return s.alwaysFormat?s.format(i,void 0,n,Y(Y(Y({},r),t),{},{interpolationkey:e})):i}var o=e.split(s.formatSeparator),a=o.shift().trim(),c=o.join(s.formatSeparator).trim();return s.format(x(t,l,a),c,n,Y(Y(Y({},r),t),{},{interpolationkey:a}))};this.resetRegExp();var d=r&&r.missingInterpolationHandler||this.options.missingInterpolationHandler,p=r&&r.interpolation&&void 0!==r.interpolation.skipOnVariables?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:function(e){return c(e)}},{regex:this.regexp,safeValue:function(e){return s.escapeValue?c(s.escape(e)):c(e)}}].forEach((function(t){for(a=0;i=t.regex.exec(e);){var n=i[1].trim();if(void 0===(o=u(n)))if("function"===typeof d){var l=d(e,i,r);o="string"===typeof l?l:""}else if(r&&r.hasOwnProperty(n))o="";else{if(p){o=i[0];continue}s.logger.warn("missed to pass in variable ".concat(n," for interpolating ").concat(e)),o=""}else"string"===typeof o||s.useRawValueToEscape||(o=y(o));var c=t.safeValue(o);if(e=e.replace(i[0],c),p?(t.regex.lastIndex+=o.length,t.regex.lastIndex-=i[0].length):t.regex.lastIndex=0,++a>=s.maxReplaces)break}})),e}},{key:"nest",value:function(e,t){var n,r,i=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=Y({},o);function s(e,t){var n=this.nestingOptionsSeparator;if(e.indexOf(n)<0)return e;var r=e.split(new RegExp("".concat(n,"[ ]*{"))),i="{".concat(r[1]);e=r[0];var o=(i=this.interpolate(i,a)).match(/'/g),s=i.match(/"/g);(o&&o.length%2===0&&!s||s.length%2!==0)&&(i=i.replace(/'/g,'"'));try{a=JSON.parse(i),t&&(a=Y(Y({},t),a))}catch(l){return this.logger.warn("failed parsing options string in nesting for key ".concat(e),l),"".concat(e).concat(n).concat(i)}return delete a.defaultValue,e}for(a.applyPostProcessor=!1,delete a.defaultValue;n=this.nestingRegexp.exec(e);){var l=[],c=!1;if(-1!==n[0].indexOf(this.formatSeparator)&&!/{.*}/.test(n[1])){var u=n[1].split(this.formatSeparator).map((function(e){return e.trim()}));n[1]=u.shift(),l=u,c=!0}if((r=t(s.call(this,n[1].trim(),a),a))&&n[0]===e&&"string"!==typeof r)return r;"string"!==typeof r&&(r=y(r)),r||(this.logger.warn("missed to resolve ".concat(n[1]," for nesting ").concat(e)),r=""),c&&(r=l.reduce((function(e,t){return i.format(e,t,o.lng,Y(Y({},o),{},{interpolationkey:n[1].trim()}))}),r.trim())),e=e.replace(n[0],r),this.regexp.lastIndex=0}return e}}]),e}();function J(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function X(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?J(Object(n),!0).forEach((function(t){(0,u.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):J(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Z(e){var t={};return function(n,r,i){var o=r+JSON.stringify(i),a=t[o];return a||(a=e(r,i),t[o]=a),a(n)}}var $=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,i.A)(this,e),this.logger=m.create("formatter"),this.options=t,this.formats={number:Z((function(e,t){var n=new Intl.NumberFormat(e,t);return function(e){return n.format(e)}})),currency:Z((function(e,t){var n=new Intl.NumberFormat(e,X(X({},t),{},{style:"currency"}));return function(e){return n.format(e)}})),datetime:Z((function(e,t){var n=new Intl.DateTimeFormat(e,X({},t));return function(e){return n.format(e)}})),relativetime:Z((function(e,t){var n=new Intl.RelativeTimeFormat(e,X({},t));return function(e){return n.format(e,t.range||"day")}})),list:Z((function(e,t){var n=new Intl.ListFormat(e,X({},t));return function(e){return n.format(e)}}))},this.init(t)}return(0,o.A)(e,[{key:"init",value:function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}}).interpolation;this.formatSeparator=t.formatSeparator?t.formatSeparator:t.formatSeparator||","}},{key:"add",value:function(e,t){this.formats[e.toLowerCase().trim()]=t}},{key:"addCached",value:function(e,t){this.formats[e.toLowerCase().trim()]=Z(t)}},{key:"format",value:function(e,t,n,r){var i=this;return t.split(this.formatSeparator).reduce((function(e,t){var o=function(e){var t=e.toLowerCase().trim(),n={};if(e.indexOf("(")>-1){var r=e.split("(");t=r[0].toLowerCase().trim();var i=r[1].substring(0,r[1].length-1);"currency"===t&&i.indexOf(":")<0?n.currency||(n.currency=i.trim()):"relativetime"===t&&i.indexOf(":")<0?n.range||(n.range=i.trim()):i.split(";").forEach((function(e){if(e){var t=e.split(":"),r=(0,d.A)(t),i=r[0],o=r.slice(1).join(":").trim().replace(/^'+|'+$/g,"");n[i.trim()]||(n[i.trim()]=o),"false"===o&&(n[i.trim()]=!1),"true"===o&&(n[i.trim()]=!0),isNaN(o)||(n[i.trim()]=parseInt(o,10))}}))}return{formatName:t,formatOptions:n}}(t),a=o.formatName,s=o.formatOptions;if(i.formats[a]){var l=e;try{var c=r&&r.formatParams&&r.formatParams[r.interpolationkey]||{},u=c.locale||c.lng||r.locale||r.lng||n;l=i.formats[a](e,u,X(X(X({},s),r),c))}catch(p){i.logger.warn(p)}return l}return i.logger.warn("there was no format function for ".concat(a)),e}),e)}}]),e}();function ee(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function te(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ee(Object(n),!0).forEach((function(t){(0,u.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ee(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ne(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,c.A)(e);if(t){var i=(0,c.A)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,l.A)(this,n)}}var re=function(e){(0,s.A)(n,e);var t=ne(n);function n(e,r,o){var s,l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return(0,i.A)(this,n),s=t.call(this),I&&g.call((0,a.A)(s)),s.backend=e,s.store=r,s.services=o,s.languageUtils=o.languageUtils,s.options=l,s.logger=m.create("backendConnector"),s.waitingReads=[],s.maxParallelReads=l.maxParallelReads||10,s.readingCalls=0,s.maxRetries=l.maxRetries>=0?l.maxRetries:5,s.retryTimeout=l.retryTimeout>=1?l.retryTimeout:350,s.state={},s.queue=[],s.backend&&s.backend.init&&s.backend.init(o,l.backend,l),s}return(0,o.A)(n,[{key:"queueLoad",value:function(e,t,n,r){var i=this,o={},a={},s={},l={};return e.forEach((function(e){var r=!0;t.forEach((function(t){var s="".concat(e,"|").concat(t);!n.reload&&i.store.hasResourceBundle(e,t)?i.state[s]=2:i.state[s]<0||(1===i.state[s]?void 0===a[s]&&(a[s]=!0):(i.state[s]=1,r=!1,void 0===a[s]&&(a[s]=!0),void 0===o[s]&&(o[s]=!0),void 0===l[t]&&(l[t]=!0)))})),r||(s[e]=!0)})),(Object.keys(o).length||Object.keys(a).length)&&this.queue.push({pending:a,pendingCount:Object.keys(a).length,loaded:{},errors:[],callback:r}),{toLoad:Object.keys(o),pending:Object.keys(a),toLoadLanguages:Object.keys(s),toLoadNamespaces:Object.keys(l)}}},{key:"loaded",value:function(e,t,n){var r=e.split("|"),i=r[0],o=r[1];t&&this.emit("failedLoading",i,o,t),n&&this.store.addResourceBundle(i,o,n),this.state[e]=t?-1:2;var a={};this.queue.forEach((function(n){!function(e,t,n,r){var i=A(e,t,Object),o=i.obj,a=i.k;o[a]=o[a]||[],r&&(o[a]=o[a].concat(n)),r||o[a].push(n)}(n.loaded,[i],o),function(e,t){void 0!==e.pending[t]&&(delete e.pending[t],e.pendingCount--)}(n,e),t&&n.errors.push(t),0!==n.pendingCount||n.done||(Object.keys(n.loaded).forEach((function(e){a[e]||(a[e]={});var t=n.loaded[e];t.length&&t.forEach((function(t){void 0===a[e][t]&&(a[e][t]=!0)}))})),n.done=!0,n.errors.length?n.callback(n.errors):n.callback())})),this.emit("loaded",a),this.queue=this.queue.filter((function(e){return!e.done}))}},{key:"read",value:function(e,t,n){var r=this,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:this.retryTimeout,a=arguments.length>5?arguments[5]:void 0;return e.length?this.readingCalls>=this.maxParallelReads?void this.waitingReads.push({lng:e,ns:t,fcName:n,tried:i,wait:o,callback:a}):(this.readingCalls++,this.backend[n](e,t,(function(s,l){if(r.readingCalls--,r.waitingReads.length>0){var c=r.waitingReads.shift();r.read(c.lng,c.ns,c.fcName,c.tried,c.wait,c.callback)}s&&l&&i<r.maxRetries?setTimeout((function(){r.read.call(r,e,t,n,i+1,2*o,a)}),o):a(s,l)}))):a(null,{})}},{key:"prepareLoading",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),i&&i();"string"===typeof e&&(e=this.languageUtils.toResolveHierarchy(e)),"string"===typeof t&&(t=[t]);var o=this.queueLoad(e,t,r,i);if(!o.toLoad.length)return o.pending.length||i(),null;o.toLoad.forEach((function(e){n.loadOne(e)}))}},{key:"load",value:function(e,t,n){this.prepareLoading(e,t,{},n)}},{key:"reload",value:function(e,t,n){this.prepareLoading(e,t,{reload:!0},n)}},{key:"loadOne",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=e.split("|"),i=r[0],o=r[1];this.read(i,o,"read",void 0,void 0,(function(r,a){r&&t.logger.warn("".concat(n,"loading namespace ").concat(o," for language ").concat(i," failed"),r),!r&&a&&t.logger.log("".concat(n,"loaded namespace ").concat(o," for language ").concat(i),a),t.loaded(e,r,a)}))}},{key:"saveMissing",value:function(e,t,n,r,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(t)?this.logger.warn('did not save key "'.concat(n,'" as the namespace "').concat(t,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!"):void 0!==n&&null!==n&&""!==n&&(this.backend&&this.backend.create&&this.backend.create(e,t,n,r,null,te(te({},o),{},{isUpdate:i})),e&&e[0]&&this.store.addResource(e[0],t,n,r))}}]),n}(g);function ie(e){return"string"===typeof e.ns&&(e.ns=[e.ns]),"string"===typeof e.fallbackLng&&(e.fallbackLng=[e.fallbackLng]),"string"===typeof e.fallbackNS&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function oe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ae(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?oe(Object(n),!0).forEach((function(t){(0,u.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):oe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function se(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,c.A)(e);if(t){var i=(0,c.A)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,l.A)(this,n)}}function le(){}var ce=function(e){(0,s.A)(n,e);var t=se(n);function n(){var e,r,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},s=arguments.length>1?arguments[1]:void 0;if((0,i.A)(this,n),e=t.call(this),I&&g.call((0,a.A)(e)),e.options=ie(o),e.services={},e.logger=m,e.modules={external:[]},r=(0,a.A)(e),Object.getOwnPropertyNames(Object.getPrototypeOf(r)).forEach((function(e){"function"===typeof r[e]&&(r[e]=r[e].bind(r))})),s&&!e.isInitialized&&!o.isClone){if(!e.options.initImmediate)return e.init(o,s),(0,l.A)(e,(0,a.A)(e));setTimeout((function(){e.init(o,s)}),0)}return e}return(0,o.A)(n,[{key:"init",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;"function"===typeof t&&(n=t,t={}),!t.defaultNS&&!1!==t.defaultNS&&t.ns&&("string"===typeof t.ns?t.defaultNS=t.ns:t.ns.indexOf("translation")<0&&(t.defaultNS=t.ns[0]));var i={debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!0,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(e){var t={};if("object"===(0,r.A)(e[1])&&(t=e[1]),"string"===typeof e[1]&&(t.defaultValue=e[1]),"string"===typeof e[2]&&(t.tDescription=e[2]),"object"===(0,r.A)(e[2])||"object"===(0,r.A)(e[3])){var n=e[3]||e[2];Object.keys(n).forEach((function(e){t[e]=n[e]}))}return t},interpolation:{escapeValue:!0,format:function(e,t,n,r){return e},prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}};function o(e){return e?"function"===typeof e?new e:e:null}if(this.options=ae(ae(ae({},i),this.options),ie(t)),"v1"!==this.options.compatibilityAPI&&(this.options.interpolation=ae(ae({},i.interpolation),this.options.interpolation)),void 0!==t.keySeparator&&(this.options.userDefinedKeySeparator=t.keySeparator),void 0!==t.nsSeparator&&(this.options.userDefinedNsSeparator=t.nsSeparator),!this.options.isClone){var a;this.modules.logger?m.init(o(this.modules.logger),this.options):m.init(null,this.options),this.modules.formatter?a=this.modules.formatter:"undefined"!==typeof Intl&&(a=$);var s=new Q(this.options);this.store=new j(this.options.resources,this.options);var l=this.services;l.logger=m,l.resourceStore=this.store,l.languageUtils=s,l.pluralResolver=new H(s,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),!a||this.options.interpolation.format&&this.options.interpolation.format!==i.interpolation.format||(l.formatter=o(a),l.formatter.init(l,this.options),this.options.interpolation.format=l.formatter.format.bind(l.formatter)),l.interpolator=new K(this.options),l.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},l.backendConnector=new re(o(this.modules.backend),l.resourceStore,l,this.options),l.backendConnector.on("*",(function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];e.emit.apply(e,[t].concat(r))})),this.modules.languageDetector&&(l.languageDetector=o(this.modules.languageDetector),l.languageDetector.init(l,this.options.detection,this.options)),this.modules.i18nFormat&&(l.i18nFormat=o(this.modules.i18nFormat),l.i18nFormat.init&&l.i18nFormat.init(this)),this.translator=new F(this.services,this.options),this.translator.on("*",(function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];e.emit.apply(e,[t].concat(r))})),this.modules.external.forEach((function(t){t.init&&t.init(e)}))}if(this.format=this.options.interpolation.format,n||(n=le),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){var c=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);c.length>0&&"dev"!==c[0]&&(this.options.lng=c[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined");["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach((function(t){e[t]=function(){var n;return(n=e.store)[t].apply(n,arguments)}}));["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach((function(t){e[t]=function(){var n;return(n=e.store)[t].apply(n,arguments),e}}));var u=v(),d=function(){var t=function(t,r){e.isInitialized&&!e.initializedStoreOnce&&e.logger.warn("init: i18next is already initialized. You should call init just once!"),e.isInitialized=!0,e.options.isClone||e.logger.log("initialized",e.options),e.emit("initialized",e.options),u.resolve(r),n(t,r)};if(e.languages&&"v1"!==e.options.compatibilityAPI&&!e.isInitialized)return t(null,e.t.bind(e));e.changeLanguage(e.options.lng,t)};return this.options.resources||!this.options.initImmediate?d():setTimeout(d,0),u}},{key:"loadResources",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:le,r="string"===typeof e?e:this.language;if("function"===typeof e&&(n=e),!this.options.resources||this.options.partialBundledLanguages){if(r&&"cimode"===r.toLowerCase())return n();var i=[],o=function(e){e&&t.services.languageUtils.toResolveHierarchy(e).forEach((function(e){i.indexOf(e)<0&&i.push(e)}))};if(r)o(r);else this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach((function(e){return o(e)}));this.options.preload&&this.options.preload.forEach((function(e){return o(e)})),this.services.backendConnector.load(i,this.options.ns,(function(e){e||t.resolvedLanguage||!t.language||t.setResolvedLanguage(t.language),n(e)}))}else n(null)}},{key:"reloadResources",value:function(e,t,n){var r=v();return e||(e=this.languages),t||(t=this.options.ns),n||(n=le),this.services.backendConnector.reload(e,t,(function(e){r.resolve(),n(e)})),r}},{key:"use",value:function(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===e.type&&(this.modules.backend=e),("logger"===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),"languageDetector"===e.type&&(this.modules.languageDetector=e),"i18nFormat"===e.type&&(this.modules.i18nFormat=e),"postProcessor"===e.type&&B.addPostProcessor(e),"formatter"===e.type&&(this.modules.formatter=e),"3rdParty"===e.type&&this.modules.external.push(e),this}},{key:"setResolvedLanguage",value:function(e){if(e&&this.languages&&!(["cimode","dev"].indexOf(e)>-1))for(var t=0;t<this.languages.length;t++){var n=this.languages[t];if(!(["cimode","dev"].indexOf(n)>-1)&&this.store.hasLanguageSomeTranslations(n)){this.resolvedLanguage=n;break}}}},{key:"changeLanguage",value:function(e,t){var n=this;this.isLanguageChangingTo=e;var r=v();this.emit("languageChanging",e);var i=function(e){n.language=e,n.languages=n.services.languageUtils.toResolveHierarchy(e),n.resolvedLanguage=void 0,n.setResolvedLanguage(e)},o=function(o){e||o||!n.services.languageDetector||(o=[]);var a="string"===typeof o?o:n.services.languageUtils.getBestMatchFromCodes(o);a&&(n.language||i(a),n.translator.language||n.translator.changeLanguage(a),n.services.languageDetector&&n.services.languageDetector.cacheUserLanguage(a)),n.loadResources(a,(function(e){!function(e,o){o?(i(o),n.translator.changeLanguage(o),n.isLanguageChangingTo=void 0,n.emit("languageChanged",o),n.logger.log("languageChanged",o)):n.isLanguageChangingTo=void 0,r.resolve((function(){return n.t.apply(n,arguments)})),t&&t(e,(function(){return n.t.apply(n,arguments)}))}(e,a)}))};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect(o):o(e):o(this.services.languageDetector.detect()),r}},{key:"getFixedT",value:function(e,t,n){var i=this,o=function e(t,o){var a;if("object"!==(0,r.A)(o)){for(var s=arguments.length,l=new Array(s>2?s-2:0),c=2;c<s;c++)l[c-2]=arguments[c];a=i.options.overloadTranslationOptionHandler([t,o].concat(l))}else a=ae({},o);a.lng=a.lng||e.lng,a.lngs=a.lngs||e.lngs,a.ns=a.ns||e.ns,a.keyPrefix=a.keyPrefix||n||e.keyPrefix;var u=i.options.keySeparator||".",d=a.keyPrefix?"".concat(a.keyPrefix).concat(u).concat(t):t;return i.t(d,a)};return"string"===typeof e?o.lng=e:o.lngs=e,o.ns=t,o.keyPrefix=n,o}},{key:"t",value:function(){var e;return this.translator&&(e=this.translator).translate.apply(e,arguments)}},{key:"exists",value:function(){var e;return this.translator&&(e=this.translator).exists.apply(e,arguments)}},{key:"setDefaultNamespace",value:function(e){this.options.defaultNS=e}},{key:"hasLoadedNamespace",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;var r=this.resolvedLanguage||this.languages[0],i=!!this.options&&this.options.fallbackLng,o=this.languages[this.languages.length-1];if("cimode"===r.toLowerCase())return!0;var a=function(e,n){var r=t.services.backendConnector.state["".concat(e,"|").concat(n)];return-1===r||2===r};if(n.precheck){var s=n.precheck(this,a);if(void 0!==s)return s}return!!this.hasResourceBundle(r,e)||(!(this.services.backendConnector.backend&&(!this.options.resources||this.options.partialBundledLanguages))||!(!a(r,e)||i&&!a(o,e)))}},{key:"loadNamespaces",value:function(e,t){var n=this,r=v();return this.options.ns?("string"===typeof e&&(e=[e]),e.forEach((function(e){n.options.ns.indexOf(e)<0&&n.options.ns.push(e)})),this.loadResources((function(e){r.resolve(),t&&t(e)})),r):(t&&t(),Promise.resolve())}},{key:"loadLanguages",value:function(e,t){var n=v();"string"===typeof e&&(e=[e]);var r=this.options.preload||[],i=e.filter((function(e){return r.indexOf(e)<0}));return i.length?(this.options.preload=r.concat(i),this.loadResources((function(e){n.resolve(),t&&t(e)})),n):(t&&t(),Promise.resolve())}},{key:"dir",value:function(e){if(e||(e=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!e)return"rtl";return["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"].indexOf(this.services.languageUtils.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}},{key:"cloneInstance",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:le,i=ae(ae(ae({},this.options),t),{isClone:!0}),o=new n(i);void 0===t.debug&&void 0===t.prefix||(o.logger=o.logger.clone(t));return["store","services","language"].forEach((function(t){o[t]=e[t]})),o.services=ae({},this.services),o.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)},o.translator=new F(o.services,o.options),o.translator.on("*",(function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];o.emit.apply(o,[e].concat(n))})),o.init(i,r),o.translator.options=o.options,o.translator.backendConnector.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)},o}},{key:"toJSON",value:function(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}]),n}(g);(0,u.A)(ce,"createInstance",(function(){return new ce(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},arguments.length>1?arguments[1]:void 0)}));var ue=ce.createInstance();ue.createInstance=ce.createInstance;ue.createInstance,ue.init,ue.loadResources,ue.reloadResources,ue.use,ue.changeLanguage,ue.getFixedT;var de=ue.t;ue.exists,ue.setDefaultNamespace,ue.hasLoadedNamespace,ue.loadNamespaces,ue.loadLanguages;const pe=ue},34911:(e,t,n)=>{"use strict";n.d(t,{A:()=>s,z:()=>l});var r=n(9950);const i=r.createContext({}),o=!0;function a(e){let{baseColor:t,highlightColor:n,width:r,height:i,borderRadius:a,circle:s,direction:l,duration:c,enableAnimation:u=o,customHighlightBackground:d}=e;const p={};return"rtl"===l&&(p["--animation-direction"]="reverse"),"number"===typeof c&&(p["--animation-duration"]=`${c}s`),u||(p["--pseudo-element-display"]="none"),"string"!==typeof r&&"number"!==typeof r||(p.width=r),"string"!==typeof i&&"number"!==typeof i||(p.height=i),"string"!==typeof a&&"number"!==typeof a||(p.borderRadius=a),s&&(p.borderRadius="50%"),"undefined"!==typeof t&&(p["--base-color"]=t),"undefined"!==typeof n&&(p["--highlight-color"]=n),"string"===typeof d&&(p["--custom-highlight-background"]=d),p}function s(e){let{count:t=1,wrapper:n,className:s,containerClassName:l,containerTestId:c,circle:u=!1,style:d,...p}=e;var h,f,m;const g=r.useContext(i),v={...p};for(const[r,i]of Object.entries(p))"undefined"===typeof i&&delete v[r];const y={...g,...v,circle:u},A={...d,...a(y)};let b="react-loading-skeleton";s&&(b+=` ${s}`);const w=null!==(h=y.inline)&&void 0!==h&&h,x=[],C=Math.ceil(t);for(let i=0;i<C;i++){let e=A;if(C>t&&i===C-1){const n=null!==(f=e.width)&&void 0!==f?f:"100%",r=t%1,i="number"===typeof n?n*r:`calc(${n} * ${r})`;e={...e,width:i}}const n=r.createElement("span",{className:b,style:e,key:i},"\u200c");w?x.push(n):x.push(r.createElement(r.Fragment,{key:i},n,r.createElement("br",null)))}return r.createElement("span",{className:l,"data-testid":c,"aria-live":"polite","aria-busy":null!==(m=y.enableAnimation)&&void 0!==m?m:o},n?x.map(((e,t)=>r.createElement(n,{key:t},e))):x)}function l(e){let{children:t,...n}=e;return r.createElement(i.Provider,{value:n},t)}},76266:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var r=n(9950),i=n(44414),o=e=>!e.firstChild||e.firstChild.offsetParent===e,a=(e,t)=>{let n=e,r=0;o(t)||(r+=e.offsetTop-t.offsetTop,t=e.offsetParent,r+=-e.offsetTop);do{r+=n.offsetTop,n=n.offsetParent}while(n&&n!==t);return r},s=null;"undefined"!==typeof CSS&&CSS.supports&&(CSS.supports("position","sticky")?s="sticky":CSS.supports("position","-webkit-sticky")&&(s="-webkit-sticky"));var l=!1;try{const e=Object.defineProperty({},"passive",{get(){l={passive:!0}}}),t=()=>{};window.addEventListener("testPassive",t,e),window.removeEventListener("testPassive",t,e)}catch(p){}var c=e=>{const{el:t,onChange:n,unsubs:r,measure:i}=e;if(t===window){const e=()=>({top:0,left:0,height:window.innerHeight,width:window.innerWidth}),t=i(e()),o=()=>{Object.assign(t,i(e())),n()};return window.addEventListener("resize",o,l),r.push((()=>window.removeEventListener("resize",o))),t}{const e=i(t.getBoundingClientRect()),o=new ResizeObserver((()=>{Object.assign(e,i(t.getBoundingClientRect())),n()}));return o.observe(t),r.push((()=>o.disconnect())),e}},u=(e,t,n)=>{const{bottom:r,offsetBottom:i,offsetTop:u}=n,d=(e=>{let t=e;for(;t=t.parentElement;){const e=getComputedStyle(t,null).getPropertyValue("overflow-y");if(t===document.body)return window;if("auto"===e||"scroll"===e||"overlay"===e)return t}return window})(e);let p=!1;const h=()=>{p||requestAnimationFrame((()=>{const t=g();if(t!==S)k(t);else if(1!==t||r){if(2===t){const{height:t,offsetTop:n}=y,{height:o,naturalTop:a}=w,{height:s}=x,l=Math.max(0,n+f+t-(a+s+i));if(r){const t=Math.max(0,o-s-l);e.style.bottom=`${t}px`}else e.style.top=`${l}px`}}else{const{height:t}=y,{height:n}=x;e.style.top=t-n-i+"px"}p=!1})),p=!0};let f=d===window?window.scrollY:d.scrollTop;const m=e=>{const{offsetTop:t,height:n}=y,{naturalTop:r}=w,{height:o}=x;return e+t+n>=r+o+C+i},g=()=>{const{height:e}=y,{height:t}=x;return t+u+i<=e?3:m(f)?1:2},v=d!==window&&o(d),y=c({el:d,onChange:h,unsubs:t,measure:e=>{let{height:t,top:n}=e;return{height:t,offsetTop:v?n:0}}}),A=(e=>{let t=e.parentElement;for(;t&&"contents"===getComputedStyle(t,null).getPropertyValue("display");)t=t.parentElement;return t||window})(e),b=A===window?{top:0,bottom:0}:(e=>{const t=getComputedStyle(e,null);return{top:parseInt(t.getPropertyValue("padding-top"),10),bottom:parseInt(t.getPropertyValue("padding-bottom"),10)}})(A),w=c({el:A,onChange:h,unsubs:t,measure:e=>{let{height:t}=e;return{height:t-b.top-b.bottom,naturalTop:A===window?0:a(A,d)+b.top+y.offsetTop}}}),x=c({el:e,onChange:h,unsubs:t,measure:e=>{let{height:t}=e;return{height:t}}});let C=0,S=g();const k=t=>{const n=S;if(S=t,2===n&&(C=-1),3===t)return e.style.position=s,void(r?e.style.bottom=`${i}px`:e.style.top=`${u}px`);const{height:o,offsetTop:a}=y,{height:l,naturalTop:c}=w,{height:d}=x;if(2===t)if(e.style.position="relative",C=0===n?Math.max(0,a+f-c+u):Math.max(0,a+f+o-(c+d+i)),r){const t=Math.max(0,l-d-C);e.style.bottom=`${t}px`}else e.style.top=`${C}px`;else e.style.position=s,1===t?r?e.style.bottom=`${i}px`:e.style.top=o-d-i+"px":r?e.style.bottom=o-d-i+"px":e.style.top=`${u}px`};k(S);const E=e=>{if(e===f)return;const t=e-f;if(f=e,3===S)return;const{offsetTop:n,height:r}=y,{naturalTop:o,height:a}=w,{height:s}=x;if(t>0)if(0===S){if(e+n+u>o){const t=Math.max(0,n+f-o+u);k(e+n+r<=o+s+t+i?2:1)}}else 2===S&&m(e)&&k(1);else if(1===S){if(n+e+r<o+a+i){const t=Math.max(0,n+f+r-(o+s+i));k(n+e+u>=o+t?2:0)}}else 2===S&&n+e+u<o+C&&k(0)},I=d===window?()=>E(window.scrollY):()=>E(d.scrollTop);d.addEventListener("scroll",I,l),d.addEventListener("mousewheel",I,l),t.push((()=>d.removeEventListener("scroll",I)),(()=>d.removeEventListener("mousewheel",I)))},d=e=>{const{offsetTop:t,offsetBottom:n,bottom:o,children:a,className:l,style:c}=e,d=function(){let{offsetTop:e=0,offsetBottom:t=0,bottom:n=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const[i,o]=(0,r.useState)(null);return(0,r.useEffect)((()=>{if(!i||!s)return;const r=[];return u(i,r,{offsetBottom:t,offsetTop:e,bottom:n}),()=>{r.forEach((e=>e()))}}),[i,t,e,n]),o}({offsetTop:t,offsetBottom:n,bottom:o});return(0,i.jsx)("div",{className:l,style:c,ref:d,children:a})}},12180:(e,t,n)=>{"use strict";n.d(t,{br:()=>M,K9:()=>R,N9:()=>F,oR:()=>O});var r=n(9950);function i(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=i(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}const o=function(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=i(e))&&(r&&(r+=" "),r+=t);return r},a=e=>"number"==typeof e&&!isNaN(e),s=e=>"string"==typeof e,l=e=>"function"==typeof e,c=e=>s(e)||l(e)?e:null,u=e=>(0,r.isValidElement)(e)||s(e)||l(e)||a(e);function d(e){let{enter:t,exit:n,appendPosition:i=!1,collapse:o=!0,collapseDuration:a=300}=e;return function(e){let{children:s,position:l,preventExitTransition:c,done:u,nodeRef:d,isIn:p,playToast:h}=e;const f=i?`${t}--${l}`:t,m=i?`${n}--${l}`:n,g=(0,r.useRef)(0);return(0,r.useLayoutEffect)((()=>{const e=d.current,t=f.split(" "),n=r=>{r.target===d.current&&(h(),e.removeEventListener("animationend",n),e.removeEventListener("animationcancel",n),0===g.current&&"animationcancel"!==r.type&&e.classList.remove(...t))};e.classList.add(...t),e.addEventListener("animationend",n),e.addEventListener("animationcancel",n)}),[]),(0,r.useEffect)((()=>{const e=d.current,t=()=>{e.removeEventListener("animationend",t),o?function(e,t,n){void 0===n&&(n=300);const{scrollHeight:r,style:i}=e;requestAnimationFrame((()=>{i.minHeight="initial",i.height=r+"px",i.transition=`all ${n}ms`,requestAnimationFrame((()=>{i.height="0",i.padding="0",i.margin="0",setTimeout(t,n)}))}))}(e,u,a):u()};p||(c?t():(g.current=1,e.className+=` ${m}`,e.addEventListener("animationend",t)))}),[p]),r.createElement(r.Fragment,null,s)}}function p(e,t){return null!=e?{content:e.content,containerId:e.props.containerId,id:e.props.toastId,theme:e.props.theme,type:e.props.type,data:e.props.data||{},isLoading:e.props.isLoading,icon:e.props.icon,status:t}:{}}const h=new Map;let f=[];const m=new Set,g=e=>m.forEach((t=>t(e))),v=()=>h.size>0;function y(e,t){var n;if(t)return!(null==(n=h.get(t))||!n.isToastActive(e));let r=!1;return h.forEach((t=>{t.isToastActive(e)&&(r=!0)})),r}function A(e,t){u(e)&&(v()||f.push({content:e,options:t}),h.forEach((n=>{n.buildToast(e,t)})))}function b(e,t){h.forEach((n=>{null!=t&&null!=t&&t.containerId?(null==t?void 0:t.containerId)===n.id&&n.toggle(e,null==t?void 0:t.id):n.toggle(e,null==t?void 0:t.id)}))}function w(e){const{subscribe:t,getSnapshot:n,setProps:i}=(0,r.useRef)(function(e){const t=e.containerId||1;return{subscribe(n){const i=function(e,t,n){let i=1,o=0,d=[],h=[],f=[],m=t;const g=new Map,v=new Set,y=()=>{f=Array.from(g.values()),v.forEach((e=>e()))},A=e=>{h=null==e?[]:h.filter((t=>t!==e)),y()},b=e=>{const{toastId:t,onOpen:i,updateId:o,children:a}=e.props,s=null==o;e.staleId&&g.delete(e.staleId),g.set(t,e),h=[...h,e.props.toastId].filter((t=>t!==e.staleId)),y(),n(p(e,s?"added":"updated")),s&&l(i)&&i((0,r.isValidElement)(a)&&a.props)};return{id:e,props:m,observe:e=>(v.add(e),()=>v.delete(e)),toggle:(e,t)=>{g.forEach((n=>{null!=t&&t!==n.props.toastId||l(n.toggle)&&n.toggle(e)}))},removeToast:A,toasts:g,clearQueue:()=>{o-=d.length,d=[]},buildToast:(t,h)=>{if((t=>{let{containerId:n,toastId:r,updateId:i}=t;const o=n?n!==e:1!==e,a=g.has(r)&&null==i;return o||a})(h))return;const{toastId:f,updateId:v,data:w,staleId:x,delay:C}=h,S=()=>{A(f)},k=null==v;k&&o++;const E={...m,style:m.toastStyle,key:i++,...Object.fromEntries(Object.entries(h).filter((e=>{let[t,n]=e;return null!=n}))),toastId:f,updateId:v,data:w,closeToast:S,isIn:!1,className:c(h.className||m.toastClassName),bodyClassName:c(h.bodyClassName||m.bodyClassName),progressClassName:c(h.progressClassName||m.progressClassName),autoClose:!h.isLoading&&(I=h.autoClose,_=m.autoClose,!1===I||a(I)&&I>0?I:_),deleteToast(){const e=g.get(f),{onClose:t,children:i}=e.props;l(t)&&t((0,r.isValidElement)(i)&&i.props),n(p(e,"removed")),g.delete(f),o--,o<0&&(o=0),d.length>0?b(d.shift()):y()}};var I,_;E.closeButton=m.closeButton,!1===h.closeButton||u(h.closeButton)?E.closeButton=h.closeButton:!0===h.closeButton&&(E.closeButton=!u(m.closeButton)||m.closeButton);let P=t;(0,r.isValidElement)(t)&&!s(t.type)?P=(0,r.cloneElement)(t,{closeToast:S,toastProps:E,data:w}):l(t)&&(P=t({closeToast:S,toastProps:E,data:w}));const O={content:P,props:E,staleId:x};m.limit&&m.limit>0&&o>m.limit&&k?d.push(O):a(C)?setTimeout((()=>{b(O)}),C):b(O)},setProps(e){m=e},setToggle:(e,t)=>{g.get(e).toggle=t},isToastActive:e=>h.some((t=>t===e)),getSnapshot:()=>f}}(t,e,g);h.set(t,i);const o=i.observe(n);return f.forEach((e=>A(e.content,e.options))),f=[],()=>{o(),h.delete(t)}},setProps(e){var n;null==(n=h.get(t))||n.setProps(e)},getSnapshot(){var e;return null==(e=h.get(t))?void 0:e.getSnapshot()}}}(e)).current;i(e);const o=(0,r.useSyncExternalStore)(t,n,n);return{getToastToRender:function(t){if(!o)return[];const n=new Map;return e.newestOnTop&&o.reverse(),o.forEach((e=>{const{position:t}=e.props;n.has(t)||n.set(t,[]),n.get(t).push(e)})),Array.from(n,(e=>t(e[0],e[1])))},isToastActive:y,count:null==o?void 0:o.length}}function x(e){const[t,n]=(0,r.useState)(!1),[i,o]=(0,r.useState)(!1),a=(0,r.useRef)(null),s=(0,r.useRef)({start:0,delta:0,removalDistance:0,canCloseOnClick:!0,canDrag:!1,didMove:!1}).current,{autoClose:l,pauseOnHover:c,closeToast:u,onClick:d,closeOnClick:p}=e;var f,m;function g(){n(!0)}function v(){n(!1)}function y(n){const r=a.current;s.canDrag&&r&&(s.didMove=!0,t&&v(),s.delta="x"===e.draggableDirection?n.clientX-s.start:n.clientY-s.start,s.start!==n.clientX&&(s.canCloseOnClick=!1),r.style.transform=`translate3d(${"x"===e.draggableDirection?`${s.delta}px, var(--y)`:`0, calc(${s.delta}px + var(--y))`},0)`,r.style.opacity=""+(1-Math.abs(s.delta/s.removalDistance)))}function A(){document.removeEventListener("pointermove",y),document.removeEventListener("pointerup",A);const t=a.current;if(s.canDrag&&s.didMove&&t){if(s.canDrag=!1,Math.abs(s.delta)>s.removalDistance)return o(!0),e.closeToast(),void e.collapseAll();t.style.transition="transform 0.2s, opacity 0.2s",t.style.removeProperty("transform"),t.style.removeProperty("opacity")}}null==(m=h.get((f={id:e.toastId,containerId:e.containerId,fn:n}).containerId||1))||m.setToggle(f.id,f.fn),(0,r.useEffect)((()=>{if(e.pauseOnFocusLoss)return document.hasFocus()||v(),window.addEventListener("focus",g),window.addEventListener("blur",v),()=>{window.removeEventListener("focus",g),window.removeEventListener("blur",v)}}),[e.pauseOnFocusLoss]);const b={onPointerDown:function(t){if(!0===e.draggable||e.draggable===t.pointerType){s.didMove=!1,document.addEventListener("pointermove",y),document.addEventListener("pointerup",A);const n=a.current;s.canCloseOnClick=!0,s.canDrag=!0,n.style.transition="none","x"===e.draggableDirection?(s.start=t.clientX,s.removalDistance=n.offsetWidth*(e.draggablePercent/100)):(s.start=t.clientY,s.removalDistance=n.offsetHeight*(80===e.draggablePercent?1.5*e.draggablePercent:e.draggablePercent)/100)}},onPointerUp:function(t){const{top:n,bottom:r,left:i,right:o}=a.current.getBoundingClientRect();"touchend"!==t.nativeEvent.type&&e.pauseOnHover&&t.clientX>=i&&t.clientX<=o&&t.clientY>=n&&t.clientY<=r?v():g()}};return l&&c&&(b.onMouseEnter=v,e.stacked||(b.onMouseLeave=g)),p&&(b.onClick=e=>{d&&d(e),s.canCloseOnClick&&u()}),{playToast:g,pauseToast:v,isRunning:t,preventExitTransition:i,toastRef:a,eventHandlers:b}}function C(e){let{delay:t,isRunning:n,closeToast:i,type:a="default",hide:s,className:c,style:u,controlledProgress:d,progress:p,rtl:h,isIn:f,theme:m}=e;const g=s||d&&0===p,v={...u,animationDuration:`${t}ms`,animationPlayState:n?"running":"paused"};d&&(v.transform=`scaleX(${p})`);const y=o("Toastify__progress-bar",d?"Toastify__progress-bar--controlled":"Toastify__progress-bar--animated",`Toastify__progress-bar-theme--${m}`,`Toastify__progress-bar--${a}`,{"Toastify__progress-bar--rtl":h}),A=l(c)?c({rtl:h,type:a,defaultClassName:y}):o(y,c),b={[d&&p>=1?"onTransitionEnd":"onAnimationEnd"]:d&&p<1?null:()=>{f&&i()}};return r.createElement("div",{className:"Toastify__progress-bar--wrp","data-hidden":g},r.createElement("div",{className:`Toastify__progress-bar--bg Toastify__progress-bar-theme--${m} Toastify__progress-bar--${a}`}),r.createElement("div",{role:"progressbar","aria-hidden":g?"true":"false","aria-label":"notification timer",className:A,style:v,...b}))}let S=1;const k=()=>""+S++;function E(e){return e&&(s(e.toastId)||a(e.toastId))?e.toastId:k()}function I(e,t){return A(e,t),t.toastId}function _(e,t){return{...t,type:t&&t.type||e,toastId:E(t)}}function P(e){return(t,n)=>I(t,_(e,n))}function O(e,t){return I(e,_("default",t))}O.loading=(e,t)=>I(e,_("default",{isLoading:!0,autoClose:!1,closeOnClick:!1,closeButton:!1,draggable:!1,...t})),O.promise=function(e,t,n){let r,{pending:i,error:o,success:a}=t;i&&(r=s(i)?O.loading(i,n):O.loading(i.render,{...n,...i}));const c={isLoading:null,autoClose:null,closeOnClick:null,closeButton:null,draggable:null},u=(e,t,i)=>{if(null==t)return void O.dismiss(r);const o={type:e,...c,...n,data:i},a=s(t)?{render:t}:t;return r?O.update(r,{...o,...a}):O(a.render,{...o,...a}),i},d=l(e)?e():e;return d.then((e=>u("success",a,e))).catch((e=>u("error",o,e))),d},O.success=P("success"),O.info=P("info"),O.error=P("error"),O.warning=P("warning"),O.warn=O.warning,O.dark=(e,t)=>I(e,_("default",{theme:"dark",...t})),O.dismiss=function(e){!function(e){var t;if(v()){if(null==e||s(t=e)||a(t))h.forEach((t=>{t.removeToast(e)}));else if(e&&("containerId"in e||"id"in e)){const t=h.get(e.containerId);t?t.removeToast(e.id):h.forEach((t=>{t.removeToast(e.id)}))}}else f=f.filter((t=>null!=e&&t.options.toastId!==e))}(e)},O.clearWaitingQueue=function(e){void 0===e&&(e={}),h.forEach((t=>{!t.props.limit||e.containerId&&t.id!==e.containerId||t.clearQueue()}))},O.isActive=y,O.update=function(e,t){void 0===t&&(t={});const n=((e,t)=>{var n;let{containerId:r}=t;return null==(n=h.get(r||1))?void 0:n.toasts.get(e)})(e,t);if(n){const{props:r,content:i}=n,o={delay:100,...r,...t,toastId:t.toastId||e,updateId:k()};o.toastId!==e&&(o.staleId=e);const a=o.render||i;delete o.render,I(a,o)}},O.done=e=>{O.update(e,{progress:1})},O.onChange=function(e){return m.add(e),()=>{m.delete(e)}},O.play=e=>b(!0,e),O.pause=e=>b(!1,e);const T="undefined"!=typeof window?r.useLayoutEffect:r.useEffect,D=e=>{let{theme:t,type:n,isLoading:i,...o}=e;return r.createElement("svg",{viewBox:"0 0 24 24",width:"100%",height:"100%",fill:"colored"===t?"currentColor":`var(--toastify-icon-color-${n})`,...o})},j={info:function(e){return r.createElement(D,{...e},r.createElement("path",{d:"M12 0a12 12 0 1012 12A12.013 12.013 0 0012 0zm.25 5a1.5 1.5 0 11-1.5 1.5 1.5 1.5 0 011.5-1.5zm2.25 13.5h-4a1 1 0 010-2h.75a.25.25 0 00.25-.25v-4.5a.25.25 0 00-.25-.25h-.75a1 1 0 010-2h1a2 2 0 012 2v4.75a.25.25 0 00.25.25h.75a1 1 0 110 2z"}))},warning:function(e){return r.createElement(D,{...e},r.createElement("path",{d:"M23.32 17.191L15.438 2.184C14.728.833 13.416 0 11.996 0c-1.42 0-2.733.833-3.443 2.184L.533 17.448a4.744 4.744 0 000 4.368C1.243 23.167 2.555 24 3.975 24h16.05C22.22 24 24 22.044 24 19.632c0-.904-.251-1.746-.68-2.44zm-9.622 1.46c0 1.033-.724 1.823-1.698 1.823s-1.698-.79-1.698-1.822v-.043c0-1.028.724-1.822 1.698-1.822s1.698.79 1.698 1.822v.043zm.039-12.285l-.84 8.06c-.057.581-.408.943-.897.943-.49 0-.84-.367-.896-.942l-.84-8.065c-.057-.624.25-1.095.779-1.095h1.91c.528.005.84.476.784 1.1z"}))},success:function(e){return r.createElement(D,{...e},r.createElement("path",{d:"M12 0a12 12 0 1012 12A12.014 12.014 0 0012 0zm6.927 8.2l-6.845 9.289a1.011 1.011 0 01-1.43.188l-4.888-3.908a1 1 0 111.25-1.562l4.076 3.261 6.227-8.451a1 1 0 111.61 1.183z"}))},error:function(e){return r.createElement(D,{...e},r.createElement("path",{d:"M11.983 0a12.206 12.206 0 00-8.51 3.653A11.8 11.8 0 000 12.207 11.779 11.779 0 0011.8 24h.214A12.111 12.111 0 0024 11.791 11.766 11.766 0 0011.983 0zM10.5 16.542a1.476 1.476 0 011.449-1.53h.027a1.527 1.527 0 011.523 1.47 1.475 1.475 0 01-1.449 1.53h-.027a1.529 1.529 0 01-1.523-1.47zM11 12.5v-6a1 1 0 012 0v6a1 1 0 11-2 0z"}))},spinner:function(){return r.createElement("div",{className:"Toastify__spinner"})}},B=e=>{const{isRunning:t,preventExitTransition:n,toastRef:i,eventHandlers:a,playToast:s}=x(e),{closeButton:c,children:u,autoClose:d,onClick:p,type:h,hideProgressBar:f,closeToast:m,transition:g,position:v,className:y,style:A,bodyClassName:b,bodyStyle:w,progressClassName:S,progressStyle:k,updateId:E,role:I,progress:_,rtl:P,toastId:O,deleteToast:T,isIn:D,isLoading:B,closeOnClick:N,theme:M}=e,R=o("Toastify__toast",`Toastify__toast-theme--${M}`,`Toastify__toast--${h}`,{"Toastify__toast--rtl":P},{"Toastify__toast--close-on-click":N}),L=l(y)?y({rtl:P,position:v,type:h,defaultClassName:R}):o(R,y),F=function(e){let{theme:t,type:n,isLoading:i,icon:o}=e,a=null;const s={theme:t,type:n};return!1===o||(l(o)?a=o({...s,isLoading:i}):(0,r.isValidElement)(o)?a=(0,r.cloneElement)(o,s):i?a=j.spinner():(e=>e in j)(n)&&(a=j[n](s))),a}(e),z=!!_||!d,Q={closeToast:m,type:h,theme:M};let U=null;return!1===c||(U=l(c)?c(Q):(0,r.isValidElement)(c)?(0,r.cloneElement)(c,Q):function(e){let{closeToast:t,theme:n,ariaLabel:i="close"}=e;return r.createElement("button",{className:`Toastify__close-button Toastify__close-button--${n}`,type:"button",onClick:e=>{e.stopPropagation(),t(e)},"aria-label":i},r.createElement("svg",{"aria-hidden":"true",viewBox:"0 0 14 16"},r.createElement("path",{fillRule:"evenodd",d:"M7.71 8.23l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75L1 11.98l3.75-3.75L1 4.48 2.48 3l3.75 3.75L9.98 3l1.48 1.48-3.75 3.75z"})))}(Q)),r.createElement(g,{isIn:D,done:T,position:v,preventExitTransition:n,nodeRef:i,playToast:s},r.createElement("div",{id:O,onClick:p,"data-in":D,className:L,...a,style:A,ref:i},r.createElement("div",{...D&&{role:I},className:l(b)?b({type:h}):o("Toastify__toast-body",b),style:w},null!=F&&r.createElement("div",{className:o("Toastify__toast-icon",{"Toastify--animate-icon Toastify__zoom-enter":!B})},F),r.createElement("div",null,u)),U,r.createElement(C,{...E&&!z?{key:`pb-${E}`}:{},rtl:P,theme:M,delay:d,isRunning:t,isIn:D,closeToast:m,hide:f,type:h,style:k,className:S,controlledProgress:z,progress:_||0})))},N=function(e,t){return void 0===t&&(t=!1),{enter:`Toastify--animate Toastify__${e}-enter`,exit:`Toastify--animate Toastify__${e}-exit`,appendPosition:t}},M=d(N("bounce",!0)),R=(d(N("slide",!0)),d(N("zoom")),d(N("flip"))),L={position:"top-right",transition:M,autoClose:5e3,closeButton:!0,pauseOnHover:!0,pauseOnFocusLoss:!0,draggable:"touch",draggablePercent:80,draggableDirection:"x",role:"alert",theme:"light"};function F(e){let t={...L,...e};const n=e.stacked,[i,a]=(0,r.useState)(!0),s=(0,r.useRef)(null),{getToastToRender:u,isToastActive:d,count:p}=w(t),{className:h,style:f,rtl:m,containerId:g}=t;function v(e){const t=o("Toastify__toast-container",`Toastify__toast-container--${e}`,{"Toastify__toast-container--rtl":m});return l(h)?h({position:e,rtl:m,defaultClassName:t}):o(t,c(h))}function y(){n&&(a(!0),O.play())}return T((()=>{if(n){var e;const n=s.current.querySelectorAll('[data-in="true"]'),r=12,o=null==(e=t.position)?void 0:e.includes("top");let a=0,l=0;Array.from(n).reverse().forEach(((e,t)=>{const n=e;n.classList.add("Toastify__toast--stacked"),t>0&&(n.dataset.collapsed=`${i}`),n.dataset.pos||(n.dataset.pos=o?"top":"bot");const s=a*(i?.2:1)+(i?0:r*t);n.style.setProperty("--y",`${o?s:-1*s}px`),n.style.setProperty("--g",`${r}`),n.style.setProperty("--s",""+(1-(i?l:0))),a+=n.offsetHeight,l+=.025}))}}),[i,p,n]),r.createElement("div",{ref:s,className:"Toastify",id:g,onMouseEnter:()=>{n&&(a(!1),O.pause())},onMouseLeave:y},u(((e,t)=>{const i=t.length?{...f}:{...f,pointerEvents:"none"};return r.createElement("div",{className:v(e),style:i,key:`container-${e}`},t.map((e=>{let{content:t,props:i}=e;return r.createElement(B,{...i,stacked:n,collapseAll:y,isIn:d(i.toastId,i.containerId),style:i.style,key:`toast-${i.key}`},t)})))})))}},64198:e=>{"use strict";e.exports=JSON.parse('{"name":"axios","version":"0.21.4","description":"Promise based HTTP client for the browser and node.js","main":"index.js","scripts":{"test":"grunt test","start":"node ./sandbox/server.js","build":"NODE_ENV=production grunt build","preversion":"npm test","version":"npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json","postversion":"git push && git push --tags","examples":"node ./examples/server.js","coveralls":"cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js","fix":"eslint --fix lib/**/*.js"},"repository":{"type":"git","url":"https://github.com/axios/axios.git"},"keywords":["xhr","http","ajax","promise","node"],"author":"Matt Zabriskie","license":"MIT","bugs":{"url":"https://github.com/axios/axios/issues"},"homepage":"https://axios-http.com","devDependencies":{"coveralls":"^3.0.0","es6-promise":"^4.2.4","grunt":"^1.3.0","grunt-banner":"^0.6.0","grunt-cli":"^1.2.0","grunt-contrib-clean":"^1.1.0","grunt-contrib-watch":"^1.0.0","grunt-eslint":"^23.0.0","grunt-karma":"^4.0.0","grunt-mocha-test":"^0.13.3","grunt-ts":"^6.0.0-beta.19","grunt-webpack":"^4.0.2","istanbul-instrumenter-loader":"^1.0.0","jasmine-core":"^2.4.1","karma":"^6.3.2","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.0","karma-jasmine":"^1.1.1","karma-jasmine-ajax":"^0.1.13","karma-safari-launcher":"^1.0.0","karma-sauce-launcher":"^4.3.6","karma-sinon":"^1.0.5","karma-sourcemap-loader":"^0.3.8","karma-webpack":"^4.0.2","load-grunt-tasks":"^3.5.2","minimist":"^1.2.0","mocha":"^8.2.1","sinon":"^4.5.0","terser-webpack-plugin":"^4.2.3","typescript":"^4.0.5","url-search-params":"^0.10.0","webpack":"^4.44.2","webpack-dev-server":"^3.11.0"},"browser":{"./lib/adapters/http.js":"./lib/adapters/xhr.js"},"jsdelivr":"dist/axios.min.js","unpkg":"dist/axios.min.js","typings":"./index.d.ts","dependencies":{"follow-redirects":"^1.14.0"},"bundlesize":[{"path":"./dist/axios.min.js","threshold":"5kB"}]}')}},t={};function n(r){var i=t[r];if(void 0!==i)return i.exports;var o=t[r]={id:r,loaded:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}n.m=e,n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},(()=>{var e,t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__;n.t=function(r,i){if(1&i&&(r=this(r)),8&i)return r;if("object"===typeof r&&r){if(4&i&&r.__esModule)return r;if(16&i&&"function"===typeof r.then)return r}var o=Object.create(null);n.r(o);var a={};e=e||[null,t({}),t([]),t(t)];for(var s=2&i&&r;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>a[e]=()=>r[e]));return a.default=()=>r,n.d(o,a),o}})(),n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.f={},n.e=e=>Promise.all(Object.keys(n.f).reduce(((t,r)=>(n.f[r](e,t),t)),[])),n.u=e=>"static/js/"+e+"."+{5:"68ae97a3",62:"f6f32efa",200:"0215625e",316:"5d1bf23e",435:"70b8f23a",441:"39703434",681:"a9cadd56",968:"96928dc0",1017:"d2490a20",1075:"b97dc10d",1106:"a966e750",1118:"a1a5c600",1208:"4a5b06ee",1258:"67e71111",1312:"00dd1d99",1339:"3b24134b",1515:"e42d5920",1710:"a11c0537",1798:"2b5a60b7",1930:"17030c29",2e3:"e46c2b71",2112:"10e0c761",2174:"a1133f3a",2369:"26d292f8",2480:"85a07b56",2504:"236cfd8b",2579:"aaf46b20",2589:"2cec84c6",2654:"d6e0e980",2733:"2fd8992c",2750:"0b2f84f9",2820:"03997016",2931:"4f70b260",2952:"e2794831",3006:"80c4993e",3023:"b3d1e284",3033:"044d497b",3104:"9f326965",3265:"0e0b4ab7",3358:"44c3bbd1",3614:"29a5ecb5",3856:"722aae52",3991:"21cbef2b",4107:"639efc78",4259:"c83fe2fb",4286:"9bec9b95",4314:"9ec44699",4474:"d5647788",4506:"52a118d7",4588:"f7254e19",4754:"bb136862",4834:"46b9493e",5009:"ba94629b",5018:"4e18d203",5058:"c2d14002",5068:"76fd2da6",5122:"a3100187",5210:"0171e1a9",5349:"1c75416b",5491:"dbfedb0c",5544:"28b4d32f",5640:"4b67c96d",5705:"febe93c1",5746:"b3a8f3ae",6002:"a374347b",6017:"062cb95a",6032:"9a5dc6de",6132:"45acf33d",6287:"da237ef4",6315:"73e711bf",6426:"8c0c8f12",6488:"8a571be5",6522:"2916813c",6537:"304680ca",6709:"7c563c0f",6860:"68e4a865",7025:"cda24682",7054:"46da136f",7158:"31bb86ab",7243:"45c5b11b",7250:"c2c15587",7285:"bbdfcf98",7291:"6b80e1a1",7347:"d1359026",7441:"9b693311",7495:"b085136b",7496:"426f28ff",7603:"e4b636e9",7619:"b2ab3060",7790:"46b386e4",8038:"150d03a5",8052:"0cf58791",8115:"85d46094",8267:"a8215912",8276:"2fb51a52",8320:"5b40c01d",8504:"7a127c45",8524:"879db0ca",8609:"14f8bbb0",8654:"6c7a0f24",8674:"4b4f6545",8686:"e704a238",8827:"6bda027f",8863:"a3cd3fd6",8867:"dfa9d40e",8973:"a0c17e2b",9042:"adce589f",9286:"221ee6b2",9340:"6d5f2663",9597:"da609ec5",9681:"f9a2b92e",9749:"2135d91c",9776:"b20a0d00",9830:"4b029b9b",9952:"f7049a40"}[e]+".chunk.js",n.miniCssF=e=>"static/css/"+e+".f2fa94c0.chunk.css",n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e={},t="nwg.web.react:";n.l=(r,i,o,a)=>{if(e[r])e[r].push(i);else{var s,l;if(void 0!==o)for(var c=document.getElementsByTagName("script"),u=0;u<c.length;u++){var d=c[u];if(d.getAttribute("src")==r||d.getAttribute("data-webpack")==t+o){s=d;break}}s||(l=!0,(s=document.createElement("script")).charset="utf-8",s.timeout=120,n.nc&&s.setAttribute("nonce",n.nc),s.setAttribute("data-webpack",t+o),s.src=r),e[r]=[i];var p=(t,n)=>{s.onerror=s.onload=null,clearTimeout(h);var i=e[r];if(delete e[r],s.parentNode&&s.parentNode.removeChild(s),i&&i.forEach((e=>e(n))),t)return t(n)},h=setTimeout(p.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=p.bind(null,s.onerror),s.onload=p.bind(null,s.onload),l&&document.head.appendChild(s)}}})(),n.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),n.p="/clientapp/build/",(()=>{if("undefined"!==typeof document){var e=e=>new Promise(((t,r)=>{var i=n.miniCssF(e),o=n.p+i;if(((e,t)=>{for(var n=document.getElementsByTagName("link"),r=0;r<n.length;r++){var i=(a=n[r]).getAttribute("data-href")||a.getAttribute("href");if("stylesheet"===a.rel&&(i===e||i===t))return a}var o=document.getElementsByTagName("style");for(r=0;r<o.length;r++){var a;if((i=(a=o[r]).getAttribute("data-href"))===e||i===t)return a}})(i,o))return t();((e,t,r,i,o)=>{var a=document.createElement("link");a.rel="stylesheet",a.type="text/css",n.nc&&(a.nonce=n.nc),a.onerror=a.onload=n=>{if(a.onerror=a.onload=null,"load"===n.type)i();else{var r=n&&n.type,s=n&&n.target&&n.target.href||t,l=new Error("Loading CSS chunk "+e+" failed.\n("+r+": "+s+")");l.name="ChunkLoadError",l.code="CSS_CHUNK_LOAD_FAILED",l.type=r,l.request=s,a.parentNode&&a.parentNode.removeChild(a),o(l)}},a.href=t,r?r.parentNode.insertBefore(a,r.nextSibling):document.head.appendChild(a)})(e,o,null,t,r)})),t={8792:0};n.f.miniCss=(n,r)=>{t[n]?r.push(t[n]):0!==t[n]&&{7285:1}[n]&&r.push(t[n]=e(n).then((()=>{t[n]=0}),(e=>{throw delete t[n],e})))}}})(),(()=>{var e={8792:0};n.f.j=(t,r)=>{var i=n.o(e,t)?e[t]:void 0;if(0!==i)if(i)r.push(i[2]);else{var o=new Promise(((n,r)=>i=e[t]=[n,r]));r.push(i[2]=o);var a=n.p+n.u(t),s=new Error;n.l(a,(r=>{if(n.o(e,t)&&(0!==(i=e[t])&&(e[t]=void 0),i)){var o=r&&("load"===r.type?"missing":r.type),a=r&&r.target&&r.target.src;s.message="Loading chunk "+t+" failed.\n("+o+": "+a+")",s.name="ChunkLoadError",s.type=o,s.request=a,i[1](s)}}),"chunk-"+t,t)}};var t=(t,r)=>{var i,o,a=r[0],s=r[1],l=r[2],c=0;if(a.some((t=>0!==e[t]))){for(i in s)n.o(s,i)&&(n.m[i]=s[i]);if(l)l(n)}for(t&&t(r);c<a.length;c++)o=a[c],n.o(e,o)&&e[o]&&e[o][0](),e[o]=0},r=self.webpackChunknwg_web_react=self.webpackChunknwg_web_react||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})(),n.nc=void 0,(()=>{"use strict";var e=n(44805),t=n(66197),r=n(28517),i=n(22360),o=n(74959),a=n(28646),s=n(33453),l=n(36355),c=n(23017),u=n(9950),d=n(70030),p=n(24937),h=n(61768),f=n(50361),m=n(44414);const g=e=>{let{content:t,contentWrapped:n,title:r,description:o,okLabel:a,cancelLabel:s,onOk:u,onCancel:p,stretchButtons:g,icon:v=i.tUE,color:I="error",hideCancel:_=!1,hideOk:O=!1,hideIcon:T=!1,showCustomerServiceInfo:D=!1,maxWidth:j,customButtons:B}=e;const{t:N}=(0,d.B)(),M=(0,c.jL)();return(0,m.jsx)(E,{className:"f1-400",align:"center",justify:"center","data-exclude-click":!0,children:(0,m.jsxs)(A,{maxWidth:j,children:[(0,m.jsx)(w,{children:(0,m.jsxs)(h.A,{align:"center",children:[!T&&(0,m.jsx)(y,{className:"mr-4",col:I,icon:v}),(0,m.jsxs)("div",{children:[(0,m.jsx)(b,{className:"f3-500",children:null!==r&&void 0!==r?r:N("error.error","Error!")}),o&&(0,m.jsx)(x,{children:o}),null!=n&&n]})]})}),null!=t&&t,D&&(0,m.jsx)(P,{className:"py-3 mt-3",children:(0,m.jsx)(l.A,{})}),O&&_?null:(0,m.jsxs)(C,{stretchButtons:g,className:"mt-3",children:[!O&&(0,m.jsx)(S,{"data-exclude-click":!0,height:44,bgColor:I,color:"fillWhite",onClick:()=>{M((0,f.Lr)()),u&&u()},fullwidth:_&&!1!==g,children:null!==a&&void 0!==a?a:N("action.ok","Ok")}),null===B||void 0===B?void 0:B.map(((e,t)=>{return(0,m.jsx)(S,{"data-exclude-click":!0,bgColor:I,color:"fillWhite",height:44,onClick:(n=e.onClick,()=>{M((0,f.Lr)()),n()}),children:e.label},t);var n})),!_&&(0,m.jsx)(k,{"data-exclude-click":!0,bgColor:"transparent",height:44,onClick:()=>{M((0,f.Lr)()),p&&p()},children:null!==s&&void 0!==s?s:N("action.cancel","Cancel")})]})]})})},v=()=>{const{alerts:e,currentAlert:t}=(0,c.GV)((e=>{let{alert:t}=e;return t})),n=(0,c.jL)(),r=(0,u.useRef)(null);return(0,u.useEffect)((()=>{!t&&e.length&&n((0,f.$G)())}),[e,t,n]),(0,u.useEffect)((()=>{const e=r.current;return t&&e&&(0,a.mh)(e),()=>{e&&(0,a.fY)(e)}}),[t,r]),t?(0,m.jsxs)(I,{ref:r,className:"exclude-click-listener",children:[(0,m.jsx)(_,{}),(0,m.jsx)(g,{...t})]}):null},y=(0,p.Ay)(o.g).withConfig({componentId:"sc-hyn6x3-0"})([""," font-size:28px;"],(e=>{let{col:t,theme:n}=e;return t&&`color: ${n.colors[t]};`})),A=p.Ay.div.withConfig({componentId:"sc-hyn6x3-1"})(["background:",";",";padding:30px 40px;",";"],(e=>{let{theme:t}=e;return t.colors.fillWhite}),(e=>{let{theme:t}=e;return t.shadows.high}),(e=>{let{maxWidth:t}=e;return t&&`max-width: ${t}px;`})),b=p.Ay.h3.withConfig({componentId:"sc-hyn6x3-2"})(["font-size:16px;margin:0;"]),w=(0,p.Ay)(h.A).withConfig({componentId:"sc-hyn6x3-3"})([""]),x=p.Ay.p.withConfig({componentId:"sc-hyn6x3-4"})(["font-size:14px;margin:5px 0 0 0;white-space:pre-line;"]),C=(0,p.Ay)(h.A).withConfig({componentId:"sc-hyn6x3-5"})(["margin-top:10px;> *:not(:first-child){margin-left:8px;}",""],(e=>{let{stretchButtons:t}=e;return t&&"\n  > button { flex: 1; }\n  "})),S=(0,p.Ay)(s.$n).withConfig({componentId:"sc-hyn6x3-6"})([""]),k=(0,p.Ay)(s.$n).withConfig({componentId:"sc-hyn6x3-7"})(["&:hover{background-color:",";}"],(e=>{let{theme:t}=e;return t.colors.fill})),E=(0,p.Ay)(h.A).withConfig({componentId:"sc-hyn6x3-8"})(["position:absolute;left:0;top:0;height:100%;width:100%;"]),I=p.Ay.div.withConfig({componentId:"sc-hyn6x3-9"})(["position:fixed;left:0;top:0;width:100%;height:100%;z-index:9999;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;"]),_=p.Ay.div.withConfig({componentId:"sc-hyn6x3-10"})(["width:100%;height:100%;pointer-events:none;cursor:default;backdrop-filter:blur(10px);overflow:hidden;overscroll-behavior:contain;"]),P=p.Ay.div.withConfig({componentId:"sc-hyn6x3-11"})(["border-top:1px solid ",";"],(e=>{let{theme:t}=e;return t.colors.borderGray}));var O=n(28429),T=n(44361);const D=e=>{let{type:t}=e;const{redirectUrl:n,authInitiated:r}=(0,c.GV)((e=>{let{authorization:t}=e;return t})),i=(0,c.GV)((e=>{let{siteDefinition:t}=e;return t})),o=(0,c.jL)(),a=(0,O.Zp)();return(0,u.useEffect)((()=>{if(r&&!n){let e=window.location.href;if(e.includes("/?")&&(e=e.replace("/?","?")),"signin"===t)o((0,T.cF)(e));else if("signout"===t)o((0,T.V_)(e));else if("login"===t){const t=new URL(e).searchParams.get("redirect");o((0,T.Pm)(null!==t&&void 0!==t?t:e))}else o((0,T.f2)(e))}if(n){let r=n;var e;if(n.includes(`${window.location.protocol}//`))r=null!==(e=n.replace(`${window.location.protocol}//${window.location.host}`,""))&&void 0!==e?e:"/",0===r.length&&(r="/");if(i.marketPages.length>0)return document.location=r.split("?")[0],void o((0,T.w0)());if("signout"===t)return document.location=r.split("?")[0],void o((0,T.w0)());a(r,{replace:!0}),o((0,T.w0)())}}),[t,o,a,r,n,i.marketPages.length]),(0,m.jsx)(s.y$,{})};var j=n(10025),B=n(43418),N=n(18627),M=n(1820),R=n(81925),L=n(27825),F=n(99393),z=n(16856);const Q=p.Ay.div.withConfig({componentId:"sc-qtvq7w-0"})(["background:",";color:",";"],(e=>{let{theme:t}=e;return t.colors.accent}),(e=>{let{theme:t}=e;return t.colors.accentText})),U=p.Ay.ul.withConfig({componentId:"sc-qtvq7w-1"})(["list-style-type:none;display:flex;flex-direction:column;justify-content:space-between;font-size:18px;padding:28px 20px 20px 20px;padding:2em 1.5em 1em 1.5em;margin:0;"]),V=e=>{let{className:t,usps:n}=e;return(0,m.jsx)(Q,{className:`mx-2 mx-md-4 mb-4 ${t||""}`,children:(0,m.jsx)(U,{className:"f1-500",children:n.map(((e,t)=>(0,m.jsxs)("li",{className:"mb-3",children:[(0,m.jsx)(o.g,{className:"mr-3",size:"lg","aria-hidden":"true",icon:i.e68}),e]},"usp_"+t)))})})};var G=n(7691),q=n(54459);const H=e=>{let{className:t,productNumbers:n}=e;const{t:r}=(0,d.B)(),{pending:i}=(0,G.A)((e=>{let{product:t}=e;return t})),o=(0,G.A)(L.Tf),a=(0,c.jL)();return(0,u.useEffect)((()=>{null!==n&&void 0!==n&&n.length&&a((0,L.Sz)(n))}),[n,a]),n&&!i&&null!==o&&void 0!==o&&o.length?(0,m.jsxs)("div",{className:`${t}`,children:[(0,m.jsx)(W,{className:"f1-700 mb-3 text-center",children:r("product.related","Related products")}),(0,m.jsx)(q.A,{products:o||[],pending:!1})]}):null},W=p.Ay.h2.withConfig({componentId:"sc-dgqi52-0"})(["font-size:28px;"]);var Y=n(34911),K=n(72608),J=n(28181),X=n(24380);const Z=()=>{var e,t,n,r,i,o,a,l,u,p,h,f,g,v;const y=(0,c.GV)((e=>{let{product:t}=e;return null===t||void 0===t?void 0:t.productSettings})),A=(0,c.GV)((e=>{let{product:t}=e;return t.pending})),b=(0,c.GV)(L.bW),{t:w}=(0,d.B)(),x=function(e){if(!e)return;return Object.entries(e).reduce(((e,t)=>{let[n,r]=t;return function(e){return ge.includes(e)}(n)?[...e,{key:n,value:r.join(", ")}]:e}),[])}(b.attributes),C=[...x&&!!x.length?[{header:null!==(e=null===y||void 0===y?void 0:y.productInformation)&&void 0!==e?e:w("product.info","Product information"),content:(0,m.jsx)($,{data:x}),open:!0}]:[],...null!==b&&void 0!==b&&null!==(t=b.features)&&void 0!==t&&t.length?[{header:null!==(n=null===y||void 0===y?void 0:y.features)&&void 0!==n?n:w("product.features","Features"),content:(0,m.jsx)(ee,{data:b.features})}]:[],...null!==b&&void 0!==b&&null!==(r=b.careInstructions)&&void 0!==r&&r.length?[{header:null!==(i=null===y||void 0===y?void 0:y.careInstructions)&&void 0!==i?i:w("product.care","Care instructions"),content:(0,m.jsx)(te,{data:b.careInstructions})}]:[],...null!==b&&void 0!==b&&null!==(o=b.certifications)&&void 0!==o&&o.length||null!==b&&void 0!==b&&b.certificationDescription?[{header:null!==(a=null===y||void 0===y?void 0:y.certifications)&&void 0!==a?a:w("product.certificates","Certificates"),content:(0,m.jsx)(ne,{data:null===b||void 0===b?void 0:b.certifications,certificationDescription:null===b||void 0===b?void 0:b.certificationDescription})}]:[],...null!==b&&void 0!==b&&null!==(l=b.documents)&&void 0!==l&&l.length?[{header:null!==(u=null===y||void 0===y?void 0:y.documents)&&void 0!==u?u:w("product.document","Document"),content:(0,m.jsx)(re,{data:b.documents})}]:[],...null!==(p=b.refinementTypes)&&void 0!==p&&p.length||null!==(h=b.refinementAreas)&&void 0!==h&&h.length||b.refinementInfo?[{header:null!==(f=null===y||void 0===y?void 0:y.refinementTypes)&&void 0!==f?f:w("refinement.refinement_other"),content:(0,m.jsx)(ie,{refinementInfo:null===b||void 0===b?void 0:b.refinementInfo,refinementTypes:null===b||void 0===b?void 0:b.refinementTypes,refinementAreas:null===b||void 0===b?void 0:b.refinementAreas})}]:[],...null!==b&&void 0!==b&&null!==(g=b.sizeGuides)&&void 0!==g&&g.length?[{header:null!==(v=null===y||void 0===y?void 0:y.sizeGuides)&&void 0!==v?v:w("size.sizeguide","Size guide"),content:(0,m.jsx)(oe,{data:b.sizeGuides})}]:[]];return(0,m.jsx)(m.Fragment,{children:A?(0,m.jsx)(Y.A,{height:400}):(null===C||void 0===C?void 0:C.length)>0&&(0,m.jsx)(m.Fragment,{children:(0,m.jsx)(s.nD,{items:C,className:"px-2 px-md-4 mt-1 pb-4"})})})},$=e=>{let{data:t}=e;const{t:n}=(0,d.B)();return(0,m.jsx)(m.Fragment,{children:null===t||void 0===t?void 0:t.map((e=>{let{key:t,value:r}=e;return r&&(0,m.jsxs)("div",{children:[(0,m.jsx)(s.EY,{className:"d-inline f3-700 mr-1",large:!0,children:(0,m.jsxs)(m.Fragment,{children:[n("product.",{context:t}),":"]})}),(0,m.jsx)(s.EY,{className:"d-inline",large:!0,children:r})]},t)}))})},ee=e=>{let{data:t}=e;return(0,m.jsx)(m.Fragment,{children:(0,m.jsx)(ae,{children:null===t||void 0===t?void 0:t.map(((e,t)=>{var n;return(0,m.jsx)(se,{className:"m-2",children:(0,m.jsxs)(s.so,{align:"center",column:!0,children:[null!==(n=e.image)&&void 0!==n&&n.fileName?(0,m.jsx)(le,{src:(0,X.Ay)(e.image,X.yj.Preview),alt:e.text}):(0,m.jsx)(ce,{align:"center",justify:"center",children:(0,m.jsx)(o.g,{icon:J.tUE,size:"2x"})}),(0,m.jsx)(s.EY,{center:!0,children:null===e||void 0===e?void 0:e.text})]})},t)}))})})},te=e=>{let{data:t}=e;return(0,m.jsx)(m.Fragment,{children:(0,m.jsx)(ae,{children:null===t||void 0===t?void 0:t.map(((e,t)=>{var n;return(0,m.jsx)(se,{className:"m-2",children:(0,m.jsxs)(s.so,{align:"center",column:!0,children:[null!==(n=e.image)&&void 0!==n&&n.fileName?(0,m.jsx)(le,{src:(0,X.Ay)(e.image,X.yj.Preview),alt:e.text}):(0,m.jsx)(ce,{align:"center",justify:"center",children:(0,m.jsx)(o.g,{icon:J.tUE,size:"2x"})}),(0,m.jsx)(s.EY,{center:!0,children:null===e||void 0===e?void 0:e.text})]})},t)}))})})},ne=e=>{let{data:t,certificationDescription:n}=e;return(0,m.jsxs)(m.Fragment,{children:[n&&(0,m.jsx)(s.EY,{center:!0,children:n}),(0,m.jsx)(ae,{children:null===t||void 0===t?void 0:t.map(((e,t)=>{var n;return(0,m.jsx)(se,{children:(0,m.jsxs)(s.so,{align:"center",column:!0,children:[null!==(n=e.image)&&void 0!==n&&n.fileName?(0,m.jsx)(ue,{src:(0,X.Ay)(e.image,X.yj.Preview),alt:e.text}):(0,m.jsx)(ce,{align:"center",justify:"center",children:(0,m.jsx)(o.g,{icon:i.fmL,size:"2x"})}),(0,m.jsx)(s.EY,{center:!0,children:null===e||void 0===e?void 0:e.text})]})},t)}))})]})},re=e=>{let{data:t}=e;return(0,m.jsx)(m.Fragment,{children:null===t||void 0===t?void 0:t.map(((e,t)=>(0,m.jsxs)(se,{className:"m-2",children:[(0,m.jsx)(o.g,{icon:K.O_q,size:"2x",className:"pl-2 pr-2"}),e.url?(0,m.jsx)(m.Fragment,{children:(0,m.jsx)(de,{className:"f3-700 mb-3",to:null===e||void 0===e?void 0:e.url,target:"_blank",children:null===e||void 0===e?void 0:e.name})}):null]},t)))})},ie=e=>{let{refinementInfo:t,refinementTypes:n,refinementAreas:r}=e;const{t:i}=(0,d.B)();return(0,m.jsxs)(m.Fragment,{children:[t?(0,m.jsx)(s.EY,{className:"mb-3",children:t}):null,(null===n||void 0===n?void 0:n.length)&&(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(s.EY,{className:"f3-700",large:!0,children:i("refinement.refinement_other")}),(0,m.jsx)(pe,{className:"mb-3",children:null===n||void 0===n?void 0:n.map(((e,t)=>(0,m.jsx)(he,{className:"d-inline",children:null===e||void 0===e?void 0:e.name},"type-"+t)))})]}),(null===r||void 0===r?void 0:r.length)&&(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(s.EY,{className:"f3-700",large:!0,children:i("refinement.placement_one")}),(0,m.jsx)(pe,{children:null===r||void 0===r?void 0:r.map(((e,t)=>(0,m.jsx)(he,{className:"d-inline",children:null===e||void 0===e?void 0:e.name},"area-"+t)))})]})]})},oe=e=>{let{data:t}=e;return(0,m.jsx)(m.Fragment,{children:(0,m.jsx)(pe,{children:(0,m.jsx)(s.so,{children:null===t||void 0===t?void 0:t.map(((e,t)=>(0,m.jsx)(me,{align:"center",children:(0,m.jsxs)(s.N_,{to:e.url,target:"_blank",children:[(0,m.jsx)(fe,{src:e.url,alt:""}),(0,m.jsxs)(s.EY,{children:[e.name,(0,m.jsx)(o.g,{className:"ml-1",icon:K.Ju_})]})]})},`size_guides_${t}`)))})})})},ae=p.Ay.ul.withConfig({componentId:"sc-12p30ct-0"})(["list-style-type:none;padding:0;margin:0;display:flex;flex-wrap:wrap;justify-content:flex-start;"]),se=p.Ay.li.withConfig({componentId:"sc-12p30ct-1"})(["flex-basis:136px;"]),le=p.Ay.img.withConfig({componentId:"sc-12p30ct-2"})(["width:60px;height:60px;object-fit:contain;"]),ce=(0,p.Ay)(s.so).withConfig({componentId:"sc-12p30ct-3"})(["width:60px;height:60px;color:",";"],(e=>{let{theme:t}=e;return t.colors.text})),ue=(0,p.Ay)(le).withConfig({componentId:"sc-12p30ct-4"})(["padding:0.5rem;"]),de=(0,p.Ay)(s.N_).withConfig({componentId:"sc-12p30ct-5"})(["font-size:16px;text-decoration:none;"]),pe=p.Ay.ul.withConfig({componentId:"sc-12p30ct-6"})(["list-style-type:disc;padding:0;display:flex;flex-direction:column;flex-wrap:wrap;"]),he=p.Ay.li.withConfig({componentId:"sc-12p30ct-7"})(["color:",";"],(e=>{let{theme:t}=e;return t.colors.textLight})),fe=p.Ay.img.withConfig({componentId:"sc-12p30ct-8"})(["max-height:200px;max-width:200px;object-fit:contain;"]),me=(0,p.Ay)(s.so).withConfig({componentId:"sc-12p30ct-9"})(["margin-right:1rem;text-align:center;"]),ge=["fabrics","gender","measure","weight","width","country","height","diameter","packaging","designer","presentationDate","limitedEdition","printCode","colorComment","techniqueComment","pockets","sleeve","hoodDetails","closure","neckline","dimensions","capacity","volume","length"];var ve=n(45679),ye=n(96011),Ae=n.n(ye),be=n(69435);const we=(0,p.Ay)(s.K0).withConfig({componentId:"sc-1mzftxc-0"})(["background-color:#fff;"]),xe=(0,p.Ay)(s._$).withConfig({componentId:"sc-1mzftxc-1"})(["background-color:#fff;font-weight:500;margin:0;& svg{width:18.75px;}"]),Ce=t=>{var n;const{t:r}=(0,d.B)(),o=null===(n=(0,c.GV)((e=>{let{user:t}=e;return t})))||void 0===n?void 0:n.userIdentity;return(0,m.jsxs)(s.so,{column:!0,align:"stretch",children:[t.displayCollectionTool&&(0,m.jsx)(we,{icon:i.AdY,onClick:(a=t.onOpenRefinementTool,()=>{a(),t.close()}),square:!0,flexJustify:"flex-start",children:r("collection.upgrade_product")}),(0,m.jsx)(xe,{disableFont:!0,square:!0,icon:i.cbP,fileName:`${t.selectedImage.fileName}${X._E[3]}`,apiCall:()=>Ae().get((0,X.Ay)(t.selectedImage,X.yj.HighRes,be.ImageExtension.Jpg),{responseType:"blob"}),flexJustify:"flex-start",children:r("product.downloadImage","Download image")}),o&&(0,m.jsx)(xe,{disableFont:!0,square:!0,icon:i.cbP,fileName:`${t.productNumber}.zip`,apiCall:()=>e.Ay.getImagesZip(t.productNumber),flexJustify:"flex-start",children:r("product.downloadImages","Download images")})]});var a};var Se=n(36855),ke=n(39695),Ee=n(55951);const Ie=()=>{var e;const t=(0,c.jL)(),n=(0,c.lW)(),r=(0,c.GV)(L.t2),[o,a]=(0,u.useState)(0),l=r[o],d=(0,c.GV)(L.Cu),{pending:p,product:h,variation:f}=(0,c.GV)((e=>{let{product:t}=e;return t})),g=(0,c.GV)((e=>{var t;let{product:n}=e;return null===(t=n.productSettings)||void 0===t?void 0:t.hideAdditionalMenu})),{isB2BReseller:v,isB2B:y}=(0,c.GV)(F.F),{productCategoryMap:A,categories:b,pageRootUrl:w}=(0,c.GV)((e=>{let{assortment:t}=e;return t})),x=(null===h||void 0===h?void 0:h.productNumber)&&(null===(e=A[null===h||void 0===h?void 0:h.productNumber])||void 0===e?void 0:e.code),C=x?b[x]:null,S=(v||y)&&!(null!==h&&void 0!==h&&h.refinementProduct)&&"none"!==(null===l||void 0===l?void 0:l.angle);return(0,m.jsxs)(s.fv,{xs:"12",md:"5",xl:"6",children:[(0,m.jsxs)(Pe,{justify:"between",className:"w-100 pt-3 px-4",children:[(0,m.jsx)("div",{children:n.width>=1400?(0,m.jsx)(Te,{bgColor:"gallery"===d?"white":"fill",className:"pb-2",activePageName:null===h||void 0===h?void 0:h.productName}):C&&(0,m.jsx)(s.N_,{to:(0,N._4)(C,w).url,noStyle:!0,children:(0,m.jsxs)(s.so,{align:"center",children:[(0,m.jsx)(s.K0,{icon:i.CeG}),(0,m.jsx)(_e,{className:"ml-1 px-1",children:null===C||void 0===C?void 0:C.name})]})})}),(0,m.jsx)("div",{children:!g&&(0,m.jsx)(s.IU,{icon:J.vaG,children:e=>{var n;return(0,m.jsx)(Ce,{productNumber:null!==(n=null===h||void 0===h?void 0:h.productNumber)&&void 0!==n?n:"",selectedImage:null!==l&&void 0!==l?l:void 0,displayCollectionTool:S,onOpenRefinementTool:()=>(null===f||void 0===f?void 0:f.variationNumber)&&t((0,ke.Gf)({type:"refinement",origin:"CollectionTool",skus:[{sku:f.variationNumber,quantity:1}],create:{variationNumber:f.variationNumber}})),close:e})}})})]}),(0,m.jsx)(Oe,{className:"",children:p?(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(Y.A,{height:"70vh"}),(0,m.jsx)(Y.A,{height:50})]}):(0,m.jsx)(Se.Ay,{onImageChange:e=>a(e)})})]})},_e=p.Ay.label.withConfig({componentId:"sc-bnpi9y-0"})(["margin-bottom:0;cursor:pointer;background:rgba(255,255,255,0.6);border-radius:1px;"]),Pe=(0,p.Ay)(s.so).withConfig({componentId:"sc-bnpi9y-1"})(["position:absolute;top:0;left:0;font-size:14px;z-index:2;"]),Oe=p.Ay.div.withConfig({componentId:"sc-bnpi9y-2"})([""]),Te=(0,p.Ay)(ve.A).withConfig({componentId:"sc-bnpi9y-3"})(["ol{padding-left:0.5rem;background:",";}a:visited{color:",";}"],(e=>{let{theme:t,bgColor:n}=e;return(0,Ee.No)(.5,t.colors[n])}),(e=>{let{theme:t}=e;return t.colors.text}));var De=n(43288),je=n(28086);const Be=e=>{let{hasVariations:t}=e;const n=(0,c.jL)(),{orderLayout:r,productSettings:o}=(0,c.GV)((e=>{let{product:t}=e;return t}));return!t||null!==o&&void 0!==o&&o.hideProductMatrix?null:(0,m.jsxs)(Ne,{className:"pr-2 pr-md-4",justify:"end",children:[(0,m.jsx)(Me,{square:!0,large:!0,icon:i.FK2,onClick:()=>n((0,L.jo)(L.VK.Normal)),selected:r===L.VK.Normal,color:r===L.VK.Normal?"text":"textLight"}),(0,m.jsx)(Me,{square:!0,large:!0,icon:i.w97,onClick:()=>n((0,L.jo)(L.VK.Matrix)),selected:r===L.VK.Matrix,color:r===L.VK.Matrix?"text":"textLight"}),(0,m.jsx)(Me,{square:!0,large:!0,icon:i.s7H,onClick:()=>n((0,L.jo)(L.VK.MatrixCompact)),selected:r===L.VK.MatrixCompact,color:r===L.VK.MatrixCompact?"text":"textLight"})]})},Ne=(0,p.Ay)(s.so).withConfig({componentId:"sc-2hi9l1-0"})([""]),Me=(0,p.Ay)(s.K0).withConfig({componentId:"sc-2hi9l1-1"})(["border-radius:0;margin-left:2px;font-size:11px;",";"],(e=>{let{selected:t,theme:n}=e;return t&&`\n    background-color: ${n.colors.fillWhite};\n    color: ${n.colors.text} !important;\n  `}));var Re=n(67529),Le=n(8218),Fe=n(26681);const ze=e=>{var t,n;let{product:r,category:i,gtm:o}=e;const{quickViewProduct:a,quickViewVariation:l}=(0,c.GV)((e=>{let{product:t}=e;return t})),d=(0,u.useRef)(null),p=(0,c.jL)(),h=(null===a||void 0===a?void 0:a.productNumber)===(null===r||void 0===r?void 0:r.productNumber)&&(null===l||void 0===l?void 0:l.colorCode)||(null===r||void 0===r?void 0:r.hasVariations)&&(null===r||void 0===r||null===(t=r.variations)||void 0===t||null===(n=t.find((e=>e.featured)))||void 0===n?void 0:n.colorCode)||void 0;if(!r)return null;const f=r.productNumber===(null===a||void 0===a?void 0:a.productNumber),g=()=>{o&&p((0,Le.We)({product:r,category:i}))};return(0,m.jsxs)(Qe,{as:s.so,selected:f,ref:d,className:"p-1 overflow-hidden",children:[(0,m.jsx)(qe,{children:(0,m.jsx)(Ve,{children:null===r||void 0===r?void 0:r.gender})}),(0,m.jsx)(Fe.A,{product:r,onClick:g,featuredColor:h,children:(0,m.jsx)(Ue,{alt:(null===r||void 0===r?void 0:r.productName)||"product",src:f&&null!==l&&void 0!==l&&l.image?(0,X.Ay)(l.image,X.yj.Preview,be.ImageExtension.Jpg):(0,X.Ay)(null===r||void 0===r?void 0:r.image,X.yj.Preview,be.ImageExtension.Jpg)})}),(0,m.jsx)("div",{children:(0,m.jsx)(Ge,{product:r,onClick:g,featuredColor:h,children:(0,m.jsx)(s.EY,{fontSize:12,itemProp:"name",children:r.productInternalNumber?r.productInternalNumber:r.productNumber})})})]})},Qe=p.Ay.div.withConfig({componentId:"sc-1rovd2x-0"})(["flex:1;",";background-color:white;text-align:-webkit-center;width:fit-content;flex-direction:column;justify-content:space-between;width:85px;&:not(:last-child){margin-right:4px;}"],(e=>{let{theme:t,selected:n}=e;return n?`border: ${(0,Ee.e$)(.1,t.colors.fillMedium)} 1px solid`:`border: ${t.colors.fill} 1px solid`})),Ue=p.Ay.img.withConfig({componentId:"sc-1rovd2x-1"})(["width:60px;"]),Ve=p.Ay.div.withConfig({componentId:"sc-1rovd2x-2"})(["align-self:center;padding:2px 6px;border-radius:2px;font-size:12px;&:not(:last-child){margin-right:3px;}margin-bottom:2px;margin-top:5px;width:fit-content;color:",";background-color:#fff;"],(e=>{let{theme:t}=e;return t.colors.fillBlack})),Ge=(0,p.Ay)(Fe.A).withConfig({componentId:"sc-1rovd2x-3"})(["&:hover{color:",";}"],(e=>{let{theme:t}=e;return t.colors.text})),qe=p.Ay.div.withConfig({componentId:"sc-1rovd2x-4"})([""]),He=e=>{let{products:t,pending:n,category:r,gtm:i}=e;const{t:o}=(0,d.B)();return n?(0,m.jsx)(We,{children:(0,m.jsx)(Y.A,{height:420})}):null!==t&&void 0!==t&&t.length?(0,m.jsx)(Ye,{as:s.so,className:"mt-2",children:null===t||void 0===t?void 0:t.map((e=>(0,m.jsx)(u.Fragment,{children:(0,m.jsx)(ze,{product:e,category:r,gtm:i})},e.productNumber)))}):(0,m.jsx)(s.so,{justify:"center",children:(0,m.jsx)(s.EY,{className:"my-4",large:!0,color:"textFaded",children:o("search.empty","No hits")})})},We=p.Ay.div.withConfig({componentId:"sc-2b4z0p-0"})(["flex-grow:1;"]),Ye=p.Ay.div.withConfig({componentId:"sc-2b4z0p-1"})(["display:flex;flex-grow:1;flex-direction:row;justify-content:'left';@media screen and (min-width:1410px){justify-content:center;}"]),Ke=p.Ay.div.withConfig({componentId:"sc-jli5oa-0"})(["position:relative;"]),Je=p.Ay.div.withConfig({componentId:"sc-jli5oa-1"})(["display:",";position:absolute;right:1em;min-width:10em;top:2em;background:",";z-index:2;"],(e=>{let{show:t}=e;return t?"block":"none"}),(e=>{let{theme:t}=e;return t.colors.fillWhite})),Xe=p.Ay.h4.withConfig({componentId:"sc-jli5oa-2"})(["margin-bottom:0;"]),Ze=e=>{let{productNumbers:t}=e;const{t:n}=(0,d.B)(),{relatedProducts:r}=(0,G.A)((e=>{let{product:t}=e;return t})),o=(0,c.jL)(),a=(0,c.lW)(),[l,p]=(0,u.useState)(!1),h=(0,c.Wr)((()=>p(!1)),l);(0,u.useEffect)((()=>{o((0,L.Sz)(t))}),[t,o]);const f=t.reduce(((e,t)=>r[t]?[...e,r[t]]:e),new Array);return null!==f&&void 0!==f&&f.length?(0,m.jsxs)(Ke,{className:"mt-2 mb-2",ref:h,children:[(0,m.jsx)(s.K0,{large:!0,icon:i.FsV,onClick:()=>p(!l)}),(0,m.jsxs)(Je,{show:l,className:"p-3",children:[(0,m.jsx)(Xe,{windowSize:a.width,className:"",children:n("product.relatedGender","Also available as")}),(0,m.jsx)(He,{products:f||[],pending:!1})]})]}):null};var $e=n(58847),et=n(31938),tt=n(86136);const nt=()=>{var e,t,n,r,o,a,l,p,h,f,g;const{t:v}=(0,d.B)(),y=(0,c.jL)(),A=(0,c.cb)(),b=(0,O.zy)(),[w,x]=(0,u.useState)(null),{pending:C,product:S,variation:k}=(0,c.GV)((e=>{let{product:t}=e;return t})),E=(null===k||void 0===k?void 0:k.price)||(null===S||void 0===S?void 0:S.price),I=(0,c.GV)(De.Lt.wishList),_=(0,c.GV)(De.Lt.pending),P=De.Wp.isInWishList(I,null!==(e=null!==(t=null===k||void 0===k?void 0:k.variationNumber)&&void 0!==t?t:null===S||void 0===S?void 0:S.productNumber)&&void 0!==e?e:""),D=(0,c.GV)((e=>{let{assortment:t}=e;return t.showBrand})),j=(0,c.GV)(L.ze),B=(0,c.GV)(L.G1),N=(0,c.GV)(L.Tb),M=(0,c.GV)($e.Lb),R="retailAndCustomer"===(0,c.GV)($e.O1),{isAuthenticated:z,anonymous:Q}=(0,c.GV)((e=>{let{authorization:t}=e;return t})),{isB2B:U}=(0,c.GV)(F.F),V=(0,c.GV)((e=>{var t;let{product:n}=e;return null===(t=n.productSettings)||void 0===t?void 0:t.hideProuctBrandImage})),G=null!==S&&void 0!==S&&null!==(n=S.marks)&&void 0!==n&&null!==(r=n.brand)&&void 0!==r&&r.length?S.marks.brand[0]:void 0,q=null!==S&&void 0!==S&&null!==(o=S.related)&&void 0!==o&&null!==(a=o.gender)&&void 0!==a&&a.length?S.related.gender:void 0,H=(0,c.GV)(L.Rb),W=(0,c.GV)((e=>{let{product:t}=e;return t.transferText})),K=(null===S||void 0===S||null===(l=S.refinementProduct)||void 0===l?void 0:l.type)===be.RefinementType.Text;return(0,u.useEffect)((()=>{K&&(x(void 0),y((0,$e._s)()).then((e=>x(e.payload))))}),[K,null===W||void 0===W?void 0:W.size,y]),(0,m.jsx)(at,{children:(0,m.jsxs)(st,{className:"pl-4 pr-3 py-2 py-md-3 position-relative",children:[C?(0,m.jsxs)(m.Fragment,{children:[(0,m.jsxs)(s.so,{justify:"between",className:"mb-1",children:[(0,m.jsx)(Y.A,{height:35,width:100}),(0,m.jsx)(Y.A,{height:30,width:180})]}),(0,m.jsx)("div",{children:(0,m.jsx)(Y.A,{height:54,width:500,className:"mt-3 mb-4"})}),(0,m.jsx)(Y.A,{height:100,className:"mb-4"}),(0,m.jsx)(Y.A,{height:48,width:200,className:"mb-3"})]}):(0,m.jsxs)(m.Fragment,{children:[(0,m.jsxs)(s.so,{justify:"between",className:"py-3 py-md-0",children:[(0,m.jsxs)(s.so,{column:!0,justify:"center",align:"start",children:[D&&(0,m.jsxs)(s.EY,{className:"f1-700",uppercase:!0,children:[null===S||void 0===S?void 0:S.productBrandName,(0,m.jsx)("meta",{itemProp:"brand",content:`${null===S||void 0===S?void 0:S.productBrandName}`})]}),(0,m.jsx)(s.EY,{itemProp:"productID",small:!0,light:!0,children:null===S||void 0===S?void 0:S.productNumber}),(null===S||void 0===S?void 0:S.productInternalNumber)&&(0,m.jsx)(s.EY,{small:!0,light:!0,children:null===S||void 0===S?void 0:S.productInternalNumber}),(0,m.jsx)("meta",{itemProp:"productID",content:`${null!==(p=null===S||void 0===S?void 0:S.productInternalNumber)&&void 0!==p?p:null===S||void 0===S?void 0:S.productNumber}`})]}),(0,m.jsxs)(s.so,{align:"start",children:[D&&A.md&&!V&&(0,m.jsx)(lt,{className:"mr-4",src:(0,X.Ay)(null===G||void 0===G?void 0:G.image,X.yj.LargeThumbNail)}),!_&&j&&(0,m.jsx)(s.K0,{large:!0,icon:P?J.qcK:i.qcK,bgColor:"fillWhite",color:P?"sale":void 0,onClick:()=>S&&y(De.w9.toggleVariation({product:S,variationNumber:null===k||void 0===k?void 0:k.variationNumber}))})]})]}),!C&&!(null===q||void 0===q||!q.length)&&(0,m.jsx)(ut,{children:(0,m.jsx)(Ze,{productNumbers:q})}),(0,m.jsx)(s.so,{$wrap:A.md,justify:A.md?"between":"start",children:(0,m.jsxs)(it,{column:!0,itemProp:"description",className:"mt-3 mt-md-3 mb-4 w-100",children:[(0,m.jsxs)(ot,{children:[(0,m.jsxs)(s.EY,{as:"h1",itemProp:"name",className:"f1-700 text-break mb-0",fontSize:A.lg?42:32,children:[null===S||void 0===S?void 0:S.productName,(0,m.jsx)("meta",{itemProp:"name",content:`${null===S||void 0===S?void 0:S.productName}`}),(0,m.jsx)("meta",{itemProp:"description",content:`${null===S||void 0===S?void 0:S.productName}`})]}),H.badgeTags.length>0&&(0,m.jsx)(et.A,{tags:H.badgeTags,className:""}),(0,m.jsx)("div",{className:"mt-3",children:(0,m.jsx)(s.PA,{children:null===S||void 0===S?void 0:S.description})})]}),(0,m.jsxs)(s.so,{gap:"10px",className:"f1-700 mt-3 w-100",justify:"between",$wrap:!0,children:[K&&null!==w?(0,m.jsx)(m.Fragment,{children:void 0===w?(0,m.jsx)(s.y$,{color:"buy",size:"medium"}):(0,m.jsx)(s.EY,{className:"d-inline-block",fontSize:32,color:"priceText",children:w})}):E&&(0,m.jsx)(Re.A,{price:E,showRetailPriceOnly:M,isAuthenticated:z,showRetailAndCustomerPrices:R}),(null!==(h=null===B||void 0===B?void 0:B.length)&&void 0!==h?h:0)>0&&(0,m.jsxs)(s.so,{column:!0,children:[(0,m.jsx)(s.EY,{small:!0,light:!0,className:"f1-500",children:v("product.document")}),null===B||void 0===B?void 0:B.map(((e,t)=>(0,m.jsx)(s.N_,{to:e.url,target:"_blank",rel:"noopener noreferrer",children:e.name},`doc_${e.name}_${t}`)))]})]}),H.priceTags.length>0&&(0,m.jsx)(et.A,{tags:H.priceTags,className:"mt-2"}),!z&&!Q&&U&&(0,m.jsx)(rt,{onClick:async()=>await y((0,T.Pm)(b.pathname)),height:43,color:"text",className:"f3-400",bgColor:"fillWhite",children:v("user.signInToOrder")})]})})]}),(null===S||void 0===S?void 0:S.productNumber)&&!S.refinementProduct&&(0,m.jsxs)(ct,{className:"position-absolute",justify:"end",children:[(0,m.jsx)(tt.A,{colored:!!N,productNumber:S.productNumber,name:S.productName,className:"mr-3",offerItems:N}),(0,m.jsx)(je.i,{square:!0,shrink:!0,className:"mr-3",productNumbers:[S.productNumber],featuredVariations:null!==k&&void 0!==k&&k.variationNumber?[k.variationNumber]:void 0,fileName:null!==(f=null!==(g=S.productName)&&void 0!==g?g:S.productNumber)&&void 0!==f?f:void 0}),(0,m.jsx)(Be,{hasVariations:(null===S||void 0===S?void 0:S.hasVariations)||!1})]})]})})},rt=(0,p.Ay)(s.$n).withConfig({componentId:"sc-17v82ep-0"})([""]),it=(0,p.Ay)(s.so).withConfig({componentId:"sc-17v82ep-1"})([""]),ot=p.Ay.div.withConfig({componentId:"sc-17v82ep-2"})(["max-width:540px;line-height:1.7;white-space:pre-line;"]),at=p.Ay.div.withConfig({componentId:"sc-17v82ep-3"})(["background-color:",";width:200%;padding-right:100%;"],(e=>e.theme.colors.fillMedium)),st=p.Ay.div.withConfig({componentId:"sc-17v82ep-4"})(["width:100%;"]),lt=p.Ay.img.withConfig({componentId:"sc-17v82ep-5"})(["height:36px;"]),ct=(0,p.Ay)(s.so).withConfig({componentId:"sc-17v82ep-6"})(["bottom:-16px;right:0;"]),ut=p.Ay.div.withConfig({componentId:"sc-17v82ep-7"})(["position:absolute;right:1em;"]),dt=p.Ay.div.withConfig({componentId:"sc-fkhjad-0"})(["overflow:hidden;max-width:100%;"]),pt=()=>{var e,t,n,r;const i=(0,c.jL)(),{pending:o,product:a,variation:l}=(0,c.GV)((e=>{let{product:t}=e;return t})),d=(0,c.GV)((e=>{let{currentPage:t}=e;return t.content})),p=(0,c.GV)((e=>{let{currentPage:t}=e;return t.loading})),{isNone:h}=(0,c.GV)(F.F),f=(0,c.GV)((e=>{var t;let{product:n}=e;return null===(t=n.productSettings)||void 0===t?void 0:t.showUSPText}));(0,u.useEffect)((()=>{a&&i((0,L.zA)())}),[a,i]);const g=null!==a&&void 0!==a&&null!==(e=a.related)&&void 0!==e&&null!==(t=e.products)&&void 0!==t&&t.length?a.related.products:void 0,v=h&&!(null!==l&&void 0!==l&&null!==(n=l.variationNumber)&&void 0!==n&&n.includes("-")),y=(0,c.GV)(L.D8);return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(dt,{children:(0,m.jsxs)(s.mc,{itemScope:!0,itemType:"https://schema.org/Product",gap:"0",children:[(0,m.jsx)(Ie,{}),(0,m.jsxs)(s.fv,{xs:"12",md:"7",xl:"6",children:[(0,m.jsx)(nt,{}),!v&&(0,m.jsx)(z.A,{product:a,variation:l,relatedVariations:y,pending:o,onVariationSelected:e=>i((0,L.R$)(e))}),(null===a||void 0===a||null===(r=a.attributes)||void 0===r?void 0:r.usp)&&f&&(0,m.jsx)(V,{className:"mt-3",usps:a.attributes.usp}),(0,m.jsx)(Z,{})]})]})}),(0,m.jsx)(s.mc,{grid:!1,className:"px-1 px-sm-3",children:(0,m.jsx)(H,{productNumbers:g,className:"mt-5 mb-4"})}),p?(0,m.jsx)(Y.A,{height:200}):(null===d||void 0===d?void 0:d.bottomArea)&&(0,m.jsx)("div",{className:"mt-5","data-epi-edit":"BottomArea",children:(0,m.jsx)(R.A,{name:"BottomArea",model:d.bottomArea})})]})};var ht=n(6716);const ft=e=>{var t,n,r,i,o;let{contentLinkId:a}=e;const l=(0,c.jL)(),d=(0,O.zy)(),{redirectData:p,categories:h,categoriesPending:f,options:g,assortmentPageStatus:v}=(0,c.GV)((e=>{let{assortment:t}=e;return t})),{product:y,pending:A}=(0,c.GV)((e=>{let{product:t}=e;return t})),b=(0,c.GV)(B.Lt.currentPageAsAssortment),w=(0,c.GV)((e=>{let{currentPage:t}=e;return t.loading})),x=(0,c.GV)((e=>{let{siteDefinition:t}=e;return t.assortmentPages}));return(0,u.useEffect)((()=>{g.mapped&&l((0,N.Po)(a))}),[a,l,g.mapped]),(0,u.useEffect)((()=>{if(0!==Object.keys(h).length&&!f){var e,t,n;l((0,N.V2)(void 0));const o=x.find((e=>e.contentLinkId===a));if(!o)throw new Error("AssortmentPageRootProblems");const s=null===o||void 0===o?void 0:o.url.toLowerCase();l((0,N.n9)(s));const c=d.pathname.toLowerCase(),[u,p]=null!==(e=d.state)&&void 0!==e&&e.category?[null===(t=d.state)||void 0===t?void 0:t.category]:(0,M.qM)(h,c),f=(null===(n=d.state)||void 0===n?void 0:n.pnr)||p;var r,i;if(f)l((0,N.G9)({contentLinkId:a,productSlug:f,productNumber:null===(r=d.state)||void 0===r?void 0:r.pnr,featuredColor:null===(i=d.state)||void 0===i?void 0:i.featuredColor}));else l((0,L.oN)()),u&&l((0,N.bo)({url:c,contentLinkId:a,categoryKey:u,pageRootUrl:s}))}}),[l,a,d.pathname,null===(t=d.state)||void 0===t?void 0:t.pnr,null===(n=d.state)||void 0===n?void 0:n.brand,null===(r=d.state)||void 0===r?void 0:r.featuredColor,null===(i=d.state)||void 0===i?void 0:i.category,h,f,x]),f?(0,m.jsx)(s.y$,{className:"m-5"}):p&&d.pathname!==p.url?(0,m.jsx)(O.C5,{to:p.url,state:{pnr:p.pnr,brand:p.brand,category:p.category}}):y||A||null!==(o=d.state)&&void 0!==o&&o.pnr?(0,m.jsx)(pt,{}):(0,m.jsxs)(m.Fragment,{children:[(null===b||void 0===b?void 0:b.topArea)&&!w&&(0,m.jsx)("div",{"data-epi-edit":"TopArea",children:(0,m.jsx)(R.A,{name:"TopArea",model:b.topArea})}),g.mapped&&"pending"!==v&&(0,m.jsx)(ht.Ay,{filterArea:w||null===b||void 0===b?void 0:b.filterArea}),(null===b||void 0===b?void 0:b.bottomArea)&&!w&&(0,m.jsx)(mt,{"data-epi-edit":"BottomArea",className:"mt-4",children:(0,m.jsx)(R.A,{name:"BottomArea",model:b.bottomArea})})]})},mt=p.Ay.div.withConfig({componentId:"sc-hry7sx-0"})([""]);var gt=n(84848),vt=n(92414),yt=n(41107);const At=()=>{const{t:e}=(0,d.B)(),t=(0,c.jL)(),{cartType:n}=(0,u.useContext)(vt.A),{activatedValid:r,activated:i}=(0,c.Ty)(n),o=(0,c.GV)((e=>{let{siteDefinition:t}=e;return t.cartPage})),a=(0,c.GV)(gt.C5),{identifier:s}=(0,O.g)(),l=(0,O.Zp)();return(0,u.useEffect)((()=>{i&&!0===r&&t((0,yt.Pr)("shoppingCart")({identity:void 0})),i||t((0,yt.pr)(n)({identifier:s||""})),!o||i&&!1===r?l(a):i&&!0===r&&l(`${o.url}${e("navigation.history","History").toLowerCase()}/`)}),[t,r,i,s,o,a,l,e,n]),null};var bt=n(73983),wt=n(52327);const xt=(e,t)=>t&&(0,m.jsxs)(Dt,{justify:"between",children:[(0,m.jsx)(Ot,{children:e}),(0,m.jsx)(jt,{children:t})]}),Ct=()=>{const{t:e}=(0,d.B)(),{cartType:t}=(0,u.useContext)(vt.A),{cart:n,history:r,historyPending:a,pending:l}=(0,c.Ty)(t),p=(0,c.jL)();return(0,u.useEffect)((()=>{a||r||null===n||void 0===n||!n.identifier||p((0,yt.FB)("shoppingCart")())}),[p,r,a,null===n||void 0===n?void 0:n.identifier]),(0,m.jsx)(m.Fragment,{children:(0,m.jsxs)(s.mc,{grid:!1,className:"px-1 px-sm-3",children:[(0,m.jsx)(s.zY,{className:"f1-700",children:e("order.history","Order history")}),a&&(0,m.jsx)(Y.A,{className:"mb-4",height:50}),r&&(0,m.jsx)(s.nD,{items:r.map((t=>{var n,r,a,c,d,h,f,g,v,y,A,b,w,x,C,S,k,E,I,_,P,O,T,D,j,B,N;const M=null===(n=t.refinements)||void 0===n?void 0:n.find((e=>null!=e.price));return{header:`${t.date} - #${t.orderNumber}`,content:(0,m.jsxs)(u.Fragment,{children:[(0,m.jsxs)("div",{className:"mb-3",children:[(0,m.jsx)(It,{children:`Ordernummer: ${t.orderNumber}`}),(0,m.jsx)(s.EY,{light:!0,children:`Datum: ${t.date}`})]}),(0,m.jsxs)(s.mc,{className:"mb-3",children:[(0,m.jsx)(s.fv,{md:"7",children:(0,m.jsxs)(St,{className:"f1-500 flex-grow-1",children:[null===(r=t.products)||void 0===r?void 0:r.map(((n,r)=>{var i;return(0,m.jsxs)(u.Fragment,{children:[(0,m.jsxs)(Ft,{className:"py-2 pr-2 "+(0!==r?"mt-2":""),align:"center",children:[(0,m.jsx)(s.EY,{children:n.productName}),(0,m.jsx)(s.EY,{small:!0,className:"f1-400",children:e("price.price")}),(0,m.jsx)(s.EY,{small:!0,className:"f1-400",children:e("cart.quantity","Quantity")})]}),null===(i=n.variations)||void 0===i?void 0:i.map((r=>{var i;return null===(i=r.skus)||void 0===i?void 0:i.map(((i,o)=>{var a;return(0,m.jsxs)(Ft,{className:"p-2",align:"center",fillWhite:!0,children:[(0,m.jsx)(bt.LT,{info:[i.sku],name:`${r.color||""}${r.color&&i.size?" / ":""}${i.size||""}`,productNumber:null!==(a=null===n||void 0===n?void 0:n.productNumber)&&void 0!==a?a:"",img:(0,X.Ay)(null===r||void 0===r?void 0:r.image,X.yj.ThumbNail,be.ImageExtension.Jpg),editingComment:!1,options:{hide:{comment:!0}}}),(0,m.jsx)(Et,{children:i.subTotal}),(0,m.jsxs)(s.EY,{small:!0,children:[i.quantity," ",e("stock.pcs","pcs")]})]},`order-${t.orderNumber}-${o}`)}))}))]},`order-product-${r}`)})),t.refinements&&t.refinements.length>0&&(0,m.jsxs)(m.Fragment,{children:[(0,m.jsxs)(Ft,{className:"py-2 mt-2 pr-2",align:"center",children:[(0,m.jsxs)(s.EY,{children:[(0,m.jsx)(o.g,{icon:i.hiR,className:"mr-2"}),e("refinement.refinement_other")]}),M&&(0,m.jsx)(s.EY,{small:!0,className:"f1-400",children:e("price.price")}),(0,m.jsx)(s.EY,{small:!0,className:"f1-400",children:e("cart.quantity","Quantity")})]}),t.refinements.map(((n,r)=>{var i,o,a,l,c,u;return(0,m.jsxs)(Ft,{className:"p-2",align:"center",fillWhite:!0,children:[(0,m.jsx)(bt.LT,{addonIndex:r,productNumber:null!==(i=null===(o=n.articleId)||void 0===o?void 0:o.toString())&&void 0!==i?i:"",info:n.inputs&&n.inputs.length>0?null===n||void 0===n?void 0:n.inputs.map((e=>{var t;return e.value?`${e.label}: ${e.value}`:null!==(t=e.label)&&void 0!==t?t:""})):[],colors:n.colors,name:`${r+1}: ${n.productName}`,img:null!==(a=null===(l=n.files)||void 0===l||null===(c=l.find((e=>{var t;return(0,wt.A)(null!==(t=e.fileExtension)&&void 0!==t?t:"")})))||void 0===c?void 0:c.url)&&void 0!==a?a:void 0,editingComment:!1,options:{hide:{comment:!0}}}),M&&(0,m.jsx)(Et,{children:null!==(u=n.price)&&void 0!==u?u:""}),(0,m.jsxs)(s.EY,{small:!0,children:[n.quantity," ",e("stock.pcs","pcs")]})]},`order-refinement-${t.orderNumber}-${r}`)}))]})]})}),(0,m.jsxs)(s.fv,{md:"5",children:[(0,m.jsx)(Mt,{className:"f3-700 py-2 mb-0",children:e("contact.address","Address")}),(0,m.jsxs)(Bt,{children:[(0,m.jsxs)(Nt,{children:[((null===(a=t.delivery)||void 0===a?void 0:a.company)||(null===(c=t.delivery)||void 0===c?void 0:c.companyId))&&(0,m.jsxs)(s.mc,{className:"mb-3",children:[(null===(d=t.delivery)||void 0===d?void 0:d.company)&&(0,m.jsxs)(s.fv,{md:"6",children:[(0,m.jsx)(Ot,{children:e("contact.company","Company")}),(0,m.jsx)(s.EY,{light:!0,children:null!==(h=null===(f=t.delivery)||void 0===f?void 0:f.company)&&void 0!==h?h:""})]}),(null===(g=t.delivery)||void 0===g?void 0:g.companyId)&&(0,m.jsxs)(s.fv,{md:"6",children:[(0,m.jsx)(Ot,{children:e("contact.companyNumber","Company number")}),(0,m.jsx)(s.EY,{light:!0,children:null!==(v=null===(y=t.delivery)||void 0===y?void 0:y.companyId)&&void 0!==v?v:""})]})]}),(0,m.jsxs)(s.mc,{className:"mb-3",children:[(0,m.jsxs)(s.fv,{md:"6",children:[(0,m.jsx)(Ot,{children:e("contact.firstName","First name")}),(0,m.jsx)(s.EY,{light:!0,children:null!==(A=null===(b=t.delivery)||void 0===b?void 0:b.firstName)&&void 0!==A?A:""})]}),(0,m.jsxs)(s.fv,{md:"6",children:[(0,m.jsx)(Ot,{children:e("contact.lastName","Last name")}),(0,m.jsx)(s.EY,{light:!0,children:null!==(w=null===(x=t.delivery)||void 0===x?void 0:x.lastName)&&void 0!==w?w:""})]})]}),(0,m.jsxs)(s.mc,{className:"mb-3",children:[(0,m.jsxs)(s.fv,{md:"6",children:[(0,m.jsx)(Ot,{children:e("contact.email","E-mail")}),(0,m.jsx)(s.EY,{light:!0,children:null!==(C=null===(S=t.delivery)||void 0===S?void 0:S.email)&&void 0!==C?C:""})]}),(0,m.jsxs)(s.fv,{md:"6",children:[(0,m.jsx)(Ot,{children:e("contact.phone","Phone number")}),(0,m.jsx)(s.EY,{light:!0,children:null!==(k=null===(E=t.delivery)||void 0===E?void 0:E.phone)&&void 0!==k?k:""})]})]}),(0,m.jsx)(s.mc,{className:"mb-3",children:(0,m.jsxs)(s.fv,{md:"6",children:[(0,m.jsx)(Ot,{children:e("contact.address","Address")}),(0,m.jsx)(s.EY,{light:!0,children:null!==(I=null===(_=t.delivery)||void 0===_?void 0:_.address1)&&void 0!==I?I:""}),(0,m.jsxs)(s.EY,{light:!0,children:[null!==(P=null===(O=t.delivery)||void 0===O?void 0:O.postalCode)&&void 0!==P?P:""," ",null!==(T=null===(D=t.delivery)||void 0===D?void 0:D.city)&&void 0!==T?T:""]})]})}),(0,m.jsx)(s.mc,{className:"mb-3",children:(0,m.jsxs)(s.fv,{md:"12",children:[(0,m.jsx)(Ot,{children:e("general.comment","Comment")}),(0,m.jsx)(s.EY,{light:!0,children:null!==(j=null===(B=t.delivery)||void 0===B?void 0:B.comment)&&void 0!==j?j:""})]})})]}),(0,m.jsx)(Nt,{children:(0,m.jsxs)(_t,{children:[t.total.total&&(0,m.jsxs)(Pt,{justify:"between",className:"f1-500",children:[(0,m.jsx)(Ot,{children:e("price.amount","Amount")}),(0,m.jsx)(Tt,{children:t.total.total})]}),xt(e("cartFee.shipping","Shipping Cost"),null===(N=t.total)||void 0===N?void 0:N.freight),xt(e("cart.discount","Discount"),t.total.discount),xt(e("cartFee.admin","Admin. fee"),t.total.fees),xt(e("price.vat"),t.total.vat),xt(e("price.amountIncVat","Amount (inc. vat)"),t.total.incVat),(0,m.jsxs)(Rt,{attention:!0,pill:!0,onClick:()=>{var e,n;return p((0,yt.dF)("shoppingCart")({clientOrderId:t.orderNumber,skus:null!==(e=null===(n=t.products)||void 0===n?void 0:n.flatMap((e=>{var t;return null===(t=e.variations)||void 0===t?void 0:t.flatMap((e=>e.skus))})).map((e=>({quantity:null===e||void 0===e?void 0:e.quantity,sku:null===e||void 0===e?void 0:e.sku}))))&&void 0!==e?e:[]}))},className:"d-block mt-5",height:35,fullwidth:!0,disabled:l,children:[l&&(0,m.jsx)(Lt,{children:(0,m.jsx)(s.y$,{})}),e("cart.add_other","Add products to cart")]})]})})]})]})]})]},t.orderNumber),open:!1}}))})]})})},St=p.Ay.div.withConfig({componentId:"sc-1h9tpn7-0"})(["font-size:12px;"]),kt=p.Ay.span.withConfig({componentId:"sc-1h9tpn7-1"})(["color:",";"],(e=>{let{theme:t}=e;return t.colors.textLight})),Et=(0,p.Ay)(kt).withConfig({componentId:"sc-1h9tpn7-2"})(["color:",";"],(e=>{let{theme:t}=e;return t.colors.priceText})),It=p.Ay.span.withConfig({componentId:"sc-1h9tpn7-3"})(["display:block;font-size:1rem;font-weight:normal;"]),_t=p.Ay.div.withConfig({componentId:"sc-1h9tpn7-4"})(["background-color:",";"],(e=>{let{theme:t}=e;return t.colors.fillWhite})),Pt=(0,p.Ay)(s.so).withConfig({componentId:"sc-1h9tpn7-5"})(["font-size:16px;"]),Ot=p.Ay.span.withConfig({componentId:"sc-1h9tpn7-6"})([""]),Tt=p.Ay.span.withConfig({componentId:"sc-1h9tpn7-7"})(["color:",";"],(e=>{let{theme:t}=e;return t.colors.priceText})),Dt=(0,p.Ay)(s.so).withConfig({componentId:"sc-1h9tpn7-8"})(["font-size:12px;"]),jt=p.Ay.span.withConfig({componentId:"sc-1h9tpn7-9"})([""]),Bt=p.Ay.aside.withConfig({componentId:"sc-1h9tpn7-10"})(["background:",";"],(e=>{let{theme:t}=e;return t.colors.fillWhite})),Nt=p.Ay.div.withConfig({componentId:"sc-1h9tpn7-11"})(["border-bottom:2px solid ",";padding:20px;"],(e=>{let{theme:t}=e;return t.colors.fill})),Mt=p.Ay.h2.withConfig({componentId:"sc-1h9tpn7-12"})(["font-size:16px;line-height:1.53;@media screen and (max-width:767px){margin-top:25px;}"]),Rt=(0,p.Ay)(s.$n).withConfig({componentId:"sc-1h9tpn7-13"})(["position:relative;"]),Lt=p.Ay.div.withConfig({componentId:"sc-1h9tpn7-14"})(["position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);"]),Ft=(0,p.Ay)(s.so).withConfig({componentId:"sc-1h9tpn7-15"})(["",";&:not(:last-child){border-bottom:2px solid ",";}> div:first-of-type{flex:1;}> div:nth-child(3){min-width:70px;text-align:right;}"],(e=>{let{fillWhite:t,theme:n}=e;return t&&`background-color: ${n.colors.fillWhite}`}),(e=>{let{theme:t}=e;return t.colors.fill}));var zt=n(32445),Qt=n(44634);const Ut=e=>{let{comp:t,ignoreUrlUpdate:n}=e;const{pathname:r,search:i}=(0,O.zy)(),{content:o,loading:a,loaded:s,error:l,tryResolveAssortmentPath:d,assortmentPath:p,redirect:h}=(0,c.GV)((e=>e.currentPage)),f=(0,c.GV)(N.Jk),g=(0,c.GV)(N.u),v=(0,c.jL)();return(0,u.useEffect)((()=>{v((0,B.Ap)(n?r:r+i))}),[v,r,i,n]),(0,u.useEffect)((()=>{0!==Object.keys(f).length&&!g&&d&&p&&v((0,B.yH)(p))}),[v,d,f,g,p]),h?(0,m.jsx)(O.C5,{replace:!0,to:h}):l?(0,m.jsx)(zt.default,{error:l.message}):(0,m.jsxs)(m.Fragment,{children:[!s&&a&&(0,m.jsx)(Qt.A,{}),o&&t]})};var Vt=n(50739);const Gt=()=>{const e=(0,c.jL)(),t=(0,c.GV)((e=>{var t;let{siteDefinition:n}=e;return null===(t=n.reseller)||void 0===t?void 0:t.listPage})),{resellers:n}=(0,c.GV)((e=>{let{resellers:t}=e;return t})),{reseller:r}=(0,O.g)(),i=(0,O.Zp)();return(0,u.useEffect)((()=>{if(n&&n.length>0){const o=`${null===t||void 0===t?void 0:t.url}${r}/`,a=n.find((e=>e.contentLink.url===o));a?(e((0,Vt.Hc)(a)),i("/")):i(t?`${null===t||void 0===t?void 0:t.url}`:"/")}}),[e,i,t,r,n]),(0,m.jsx)(Qt.A,{})};var qt=n(12520),Ht=n(49096),Wt=n(45798),Yt=n(2728),Kt=n(41103),Jt=n(93366);const Xt=()=>{const{t:e}=(0,d.B)(),t=(0,c.GV)(Jt.k0),n=(0,c.GV)(Yt.Lt.tabs),r=(0,c.GV)(Kt.N0);return(0,m.jsxs)(en,{children:[n.has("excel")&&(0,m.jsx)(Zt,{type:"excel",name:`${e("excel.excel","Excel")} ${t}`}),n.has("pdf")&&(0,m.jsx)(Zt,{type:"pdf",name:e("pdf.pdf","PDF")}),r&&n.has("images")&&(0,m.jsx)(Zt,{type:"images",name:e("image.image_other","Images")})]})},Zt=e=>{let{name:t,type:n}=e;const r=(0,c.GV)(Yt.Lt.selectedTab),i=(0,c.jL)(),a=n===r;return(0,m.jsxs)(tn,{active:a,className:a?"f3-500":"f3-400",onClick:()=>function(e){a||i((0,Yt.hc)(e))}(n),children:[(0,m.jsx)(o.g,{icon:$t(n),className:"mr-2"}),t]})};function $t(e){switch(e){case"excel":return K.fny;case"pdf":return K.O_q;case"images":return K.Cyq}}const en=(0,p.Ay)(s.Ul).withConfig({componentId:"sc-165l55a-0"})(["display:flex;flex-wrap:wrap;align-self:stretch;align-items:stretch;"]),tn=p.Ay.li.withConfig({componentId:"sc-165l55a-1"})(["display:flex;position:relative;align-items:center;padding:0.5rem 1rem;user-select:none;cursor:",";background-color:",";border-bottom:2px solid ",";&:hover{background-color:",";}"],(e=>{let{active:t}=e;return t?"normal":"pointer"}),(e=>{let{active:t,theme:n}=e;return t?(0,Ee.Qw)(.03,n.colors.fillMedium):n.colors.fillMedium}),(e=>{let{active:t,theme:n}=e;return t?n.colors.accent:"transparent"}),(e=>{let{theme:t,active:n}=e;return n?(0,Ee.Qw)(.03,t.colors.fillMedium):(0,Ee.Qw)(.06,t.colors.fillMedium)})),nn=e=>{let{files:t}=e;const n=(0,c.cb)(),{t:r}=(0,d.B)(),a=[r("general.type","Type"),r("general.created","Created"),r("general.expires","Expires"),""];function l(e,t){var n=new Date(e);return n.setDate(n.getDate()+t),n}const u=e=>{if(void 0===e)return(0,m.jsx)("span",{children:"-"});const t=2===e?i.E4F:i.fny,n=r(2===e?"image.image_other":"excel.excel"),a=2===e?"black":"green";return(0,m.jsxs)(on,{align:"center",children:[(0,m.jsx)(o.g,{icon:t,color:a}),(0,m.jsx)("span",{children:n})]})},p=e=>{let{file:t}=e;const{t:r}=(0,d.B)();return t.finished?(0,m.jsx)(s.K0,{icon:i.cbP,bgColor:"accent",color:"accentText",disabled:!t.finished||!t.fileUrl,square:n.lgBelow,style:{marginRight:"1rem"},onClick:e=>{e.stopPropagation(),t.fileUrl&&window.open(t.fileUrl,"_blank")},children:r("action.download")}):t.isError?(0,m.jsxs)(rn,{title:r("error.general"),height:"2rem",align:"center",justify:"center",width:"10rem",children:[(0,m.jsx)(o.g,{icon:i.QJT,color:"danger"}),(0,m.jsx)("span",{children:r("error.error")})]}):(0,m.jsxs)(s.so,{title:"Download progress",height:"2rem",align:"center",justify:"center",width:"10rem",children:[(0,m.jsx)(s.y$,{className:"mx-2",center:!0,useFullHeight:!0,size:"small"}),(0,m.jsxs)("span",{children:[t.estimatedProgress,"%"]})]})},h=t.map((e=>({arrow:!1,cells:[{el:u(e.typeExported)},{el:e.created?new Date(e.created).toLocaleDateString():"-"},{el:e.created?l(new Date(e.created),7).toLocaleDateString():"-"},{el:(0,m.jsx)(s.so,{align:"center",justify:"end",width:"100%",children:(0,m.jsx)(p,{file:e})})}]})));return(0,m.jsx)(s.XI,{tintOddRows:!0,className:"f3-300 mt-2",compact:!1,rows:h,cols:a.length,headers:a,arrow:!1})},rn=(0,p.Ay)(s.so).withConfig({componentId:"sc-esf40x-0"})(["color:",";span{margin-left:0.5rem;}"],(e=>{let{theme:t}=e;return t.colors.error})),on=(0,p.Ay)(s.so).withConfig({componentId:"sc-esf40x-1"})(["span{margin-left:0.5rem;}"]);var an=n(77813);const sn=(0,u.lazy)((()=>n.e(2931).then(n.bind(n,82931)))),ln=(0,u.lazy)((()=>Promise.all([n.e(4588),n.e(4259),n.e(5058)]).then(n.bind(n,85058)))),cn=(0,u.lazy)((()=>n.e(2e3).then(n.bind(n,42e3)))),un=()=>{const{t:e}=(0,d.B)(),t=(0,c.jL)(),n=(0,c.GV)(Yt.Lt.open),r=(0,c.GV)(Yt.Lt.selectedTab),o=(0,c.GV)(Yt.Lt.render),a=(0,c.GV)(Yt.Lt.fullscreen),s=(0,c.GV)(Yt.Lt.exportThresholdPollingActive),l=(0,c.GV)(Yt.Lt.fileExportPanelExpanded),p=(0,c.GV)(an.lk),h=(0,c.GV)(Yt.Lt.userHasExportExcelFeature),f=(0,c.GV)(Yt.Lt.userHasExportImagesFeature),g=(0,c.GV)(Yt.Lt.status),v=(0,c.GV)(Yt.Lt.exportLoadingFilters),y=(0,c.cb)(),A=(0,u.useRef)({firstLoad:!0,files:0});if(p.length>A.current.files){var b;if(A.current.files=p.length,!A.current.firstLoad)null===(b=document.getElementById("exportDialogExportedFilesButton"))||void 0===b||b.animate([{color:Wt.A.colors.text,backgroundColor:Wt.A.colors.fill},{color:Wt.A.colors.attentionText,backgroundColor:Wt.A.colors.attention},{color:Wt.A.colors.text,backgroundColor:Wt.A.colors.fill}],{duration:400,iterations:2});A.current.firstLoad=!1}(0,u.useEffect)((()=>{let e;function i(){"excel"===r&&s.excel?t(Yt.w9.getUserAllowedExportRequest(be.ProgressStatusSource.ProductExport)):"images"===r&&s.images&&t(Yt.w9.getUserAllowedExportRequest(be.ProgressStatusSource.ImageExport))}return n&&"tool"===o&&(t((0,Yt.lg)()),(h||f)&&(t((0,an.bu)()),i(),e=setInterval((()=>{i()}),1e4))),()=>{e&&clearInterval(e)}}),[t,n,r,s,h,f,o]);const w=(0,c.GV)(Yt.Lt.minimizeConfig);if(!n)return null;if("autoDownload"===o||"autoUpload"===o)return(0,m.jsx)(Ht.lG,{header:e("pdf.download"),blur:!0,tint:!0,onClose:()=>t(Yt.w9.closeExportTool()),children:(0,m.jsx)(fn,{className:"px-3 pb-3",align:"center",justify:"center",children:"pdf"===r&&(0,m.jsx)(ln,{})})});const x=[];return(h||f)&&x.push({icon:l?i.GF6:i.tdl,label:y.lg?`${e("seller.exportedFiles")} (${p.length})`:void 0,disabled:!1,id:"exportDialogExportedFilesButton",onClick:()=>{t(Yt.o1.setFileExportPanelExpanded(!l))}}),(0,m.jsx)(m.Fragment,{children:(0,m.jsx)(Ht.lG,{blur:!0,tint:!0,onClose:()=>t(Yt.w9.closeExportTool()),onFullscreen:e=>{t(Yt.o1.setExportToolFullscreen(e))},startFullscreen:a,width:"94%",height:"94%",overFlow:y.lg?"hidden":void 0,additionalActions:x,children:(0,m.jsxs)(hn,{minimizeConfig:w,columns:{lg:"calc(100% - 420px) 420px"},children:[(0,m.jsx)(pn,{className:"pl-3",align:"center",children:(0,m.jsx)(Xt,{})}),"excel"===r&&"ready"===g&&!1===v&&(0,m.jsx)(sn,{}),"pdf"===r&&(0,m.jsx)(ln,{}),"images"===r&&"ready"===g&&!1===v&&(0,m.jsx)(cn,{}),(0,m.jsx)(dn,{height:`calc(${l?"100":"0"}% - 50px)`,children:(0,m.jsx)("div",{style:{padding:"1rem 2rem",width:"100%"},children:(0,m.jsx)(nn,{files:p})})})]})})})},dn=(0,p.Ay)(s.so).withConfig({componentId:"sc-194n3co-0"})(["position:absolute;width:50%;max-width:600px;top:50px;right:0;z-index:200;overflow:auto;border-left:1px solid ",";background-color:",";transition:height 700ms;"],(e=>{let{theme:t}=e;return t.colors.fillMedium}),(e=>{let{theme:t}=e;return t.colors.fill})),pn=(0,p.Ay)(s.so).withConfig({componentId:"sc-194n3co-1"})(["height:50px;background-color:",";","{grid-column:span 2;}"],(e=>{let{theme:t}=e;return t.colors.fillMedium}),(e=>{let{theme:t}=e;return t.media.lg})),hn=(0,p.Ay)(s.xA).withConfig({componentId:"sc-194n3co-2"})(["height:100%;grid-template-rows:50px minmax(40%,100%) ",";","{grid-template-rows:50px minmax(50%,100%);}"],(e=>{let{minimizeConfig:t}=e;return t?"min-content":"minmax(calc(60% - 50px), 100%)"}),(e=>{let{theme:t}=e;return t.media.lg})),fn=(0,p.Ay)(s.so).withConfig({componentId:"sc-194n3co-3"})(["padding-top:60px;min-height:80px;min-width:300px;"]);var mn=n(95461),gn=n(57905),vn=n(55790),yn=n.n(vn),An=n(71751),bn=n(37423),wn=n(7418);const xn=e=>{var t;let{onSelect:n,hideSectionUi:r,className:i}=e;const{t:o}=(0,d.B)(),a=(0,c.GV)(bn.Lt.sectionValidating).articles,l=(0,c.GV)(bn.Lt.validateRefinementTypeSection),p=(0,c.GV)(bn.Lt.multiImagesProposals),h=(0,c.GV)(bn.Lt.isRepeat),f=(0,c.GV)(bn.Lt.refinementArticles),{selectedArticle:g,selectedProposalIndex:v}=null!==f&&void 0!==f?f:{};if((0,u.useEffect)((()=>{var e,t,r,i;if(null===f||void 0===f||null===(e=f.selectedArticle)||void 0===e||null===(t=e.refinements)||void 0===t||!t[0].id)return;!(null===f||void 0===f||null===(r=f.refinementArticles)||void 0===r?void 0:r.find((e=>{var t,n;return e.refinement.id===(null===(t=f.selectedArticle)||void 0===t||null===(n=t.refinements)||void 0===n?void 0:n[0].id)})))&&null!==f&&void 0!==f&&null!==(i=f.refinementArticles)&&void 0!==i&&i[0]&&n(f.refinementArticles[0])}),[null===f||void 0===f?void 0:f.selectedArticle,null===f||void 0===f?void 0:f.refinementArticles,n]),!f||!f.selectedArticle)return null;const y=(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(Sn,{children:f.refinementArticles.map((e=>{const t=e.article,r=e.refinement;return(0,m.jsxs)(kn,{column:!0,compatible:e.compatible,selected:t.productNumber===(null===g||void 0===g?void 0:g.productNumber)&&null==v,onClick:()=>n(e),children:[(0,m.jsx)(En,{src:(0,X.Ay)(t.image,X.yj.ThumbNail)}),(0,m.jsx)(s.EY,{small:!0,bold:!0,children:r.name}),(0,m.jsx)(s.EY,{small:!0,light:!0,children:r.productNumber})]},"article_"+t.productNumber)}))}),(0,m.jsx)(Sn,{className:"mt-3",children:f.refinementMultiArticles.map(((e,t)=>{const r=e.article,i=e.refinement,o=null===p||void 0===p?void 0:p.filter((t=>t.refinementId===e.refinement.id));return(0,m.jsxs)(u.Fragment,{children:[(0,m.jsxs)(kn,{column:!0,compatible:e.compatible,selected:r.productNumber===(null===g||void 0===g?void 0:g.productNumber)&&null==v,onClick:()=>n(e),children:[(0,m.jsx)(En,{src:(0,X.Ay)(r.image,X.yj.ThumbNail)}),(0,m.jsx)(s.EY,{small:!0,bold:!0,children:i.name}),(0,m.jsx)(s.EY,{small:!0,light:!0,children:i.productNumber})]}),null===o||void 0===o?void 0:o.map(((t,o)=>(0,m.jsxs)(kn,{column:!0,compatible:!0,selected:r.productNumber===(null===g||void 0===g?void 0:g.productNumber)&&v===t.index,onClick:()=>n(e,t),children:[(0,m.jsx)(En,{src:(0,X.Ay)(r.image,X.yj.ThumbNail)}),(0,m.jsxs)(s.EY,{small:!0,bold:!0,children:[i.name," ",o+1]}),(0,m.jsx)(s.EY,{small:!0,light:!0,children:i.productNumber})]},`multi_images_${t.refinementId}_${t.index}`)))]},"multi_article_"+r.productNumber+t)}))})]}),A=[null!==(t=null===g||void 0===g?void 0:g.productName)&&void 0!==t?t:""];return r?(0,m.jsx)(Cn,{className:i,children:y}):(0,m.jsx)(wn.A,{title:o("refinement.choose"),validating:a,valid:l,formSection:"articles",className:i,repeat:h,children:{open:y,collapsed:A}})},Cn=p.Ay.div.withConfig({componentId:"sc-1fhwqc2-0"})(["background:",";padding:1rem;"],(e=>{let{theme:t}=e;return t.colors.fill})),Sn=p.Ay.div.withConfig({componentId:"sc-1fhwqc2-1"})(["display:grid;grid-template-columns:repeat(auto-fill,minmax(100px,1fr));gap:0.5rem;"]),kn=(0,p.Ay)(s.so).withConfig({componentId:"sc-1fhwqc2-2"})(["cursor:",";padding:0.5rem;background:",";"," ",""],(e=>{let{compatible:t}=e;return t?"pointer":"normal"}),(e=>{let{theme:t}=e;return t.colors.fillWhite}),(e=>{let{selected:t,theme:n}=e;return t&&`\n    border: 2px solid ${n.colors.borderDark};\n    `}),(e=>{let{compatible:t,theme:n}=e;return t?` &:hover {\n          ${n.shadows.soft};\n        }`:`\n        div { color: ${n.colors.textDisabled}; }\n        img { filter: grayscale(1) opacity(0.5); }\n      `})),En=p.Ay.img.withConfig({componentId:"sc-1fhwqc2-3"})(["max-width:100%;"]);var In=n(46482);const _n=e=>{var t,n,r;let{onSelect:a,hideSectionUi:l,hideIfEmptyRefinement:u=!1,className:p}=e;const{t:h}=(0,d.B)(),f=(0,c.jL)(),g=(0,c.GV)(bn.Lt.sectionValidating).refinements,v=(0,c.GV)(bn.Lt.validateRefinementTypeSection),y=(0,c.GV)(bn.Lt.refinementTypes),A=(0,c.GV)(bn.Lt.type),b=(0,c.GV)(bn.Lt.activeCanvasFilesIsUserProof),w=null===(t=(0,c.GV)(bn.Lt.selectedRefinement))||void 0===t||null===(n=t.preview.data)||void 0===n?void 0:n.type,x=(0,c.GV)(bn.Lt.isRepeat);if(!y||!y.selectedRefinementType||u&&y.isEmpty)return null;const C=y.selectedRefinementType,S=y.refinementTypes.filter((e=>e.refinement.type===be.RefinementType.Image)),k=w===be.RefinementType.Image?[]:y.refinementTypes.filter((e=>e.refinement.type===be.RefinementType.Text)),E=e=>(0,m.jsx)(On,{children:e.map((e=>{var t,n;const r=e.refinement;var l;return r.active?(0,m.jsxs)(Tn,{column:!0,selected:r.id===C.id,compatible:e.compatible,onClick:()=>{var t,n;if(!e.compatible)return;if(-1===(null!==(t=r.id)&&void 0!==t?t:-1)||C.id===r.id)return;const i=(0,In.mU)().getActiveObject();let o=null;const s=!!r.multiColor&&!r.allowMultiColorPicker;if(r.type===be.RefinementType.Image&&i&&"applyFilters"in i&&!b){var l;const e=(0,In.lC)(i,s);o=(0,In.uv)(A,e),e&&null!==(l=o)&&void 0!==l&&l.sample&&f((0,In.kM)({fileData:{sampleFile:o.sample}}))}f((0,In.sl)({base64:null===(n=o)||void 0===n?void 0:n.preview,refinement:r})),null===a||void 0===a||a()},children:[(0,m.jsxs)(s.so,{align:"center",children:[r.imageUrl?(0,m.jsx)(Dn,{src:r.imageUrl,alt:null!==(t=r.name)&&void 0!==t?t:""}):(0,m.jsx)(o.g,{className:"mr-2 align-self-start",icon:null!=(null===(n=r.textOptions)||void 0===n?void 0:n.mode)?i.jwR:i.qIE}),(0,m.jsx)(s.EY,{small:!0,bold:!0,children:r.name})]}),r.description&&(0,m.jsx)(s.EY,{light:!0,small:!0,className:"mt-2",children:r.description})]},r.id):r.id===C.id?(0,m.jsxs)(Tn,{column:!0,selected:!0,compatible:!0,children:[(0,m.jsxs)(s.so,{align:"center",children:[r.imageUrl?(0,m.jsx)(Dn,{src:r.imageUrl,alt:null!==(l=r.name)&&void 0!==l?l:""}):(0,m.jsx)(o.g,{className:"mr-2 align-self-start",icon:i.qIE}),(0,m.jsx)(s.EY,{small:!0,bold:!0,children:r.name})]}),r.description&&(0,m.jsx)(s.EY,{light:!0,small:!0,className:"mt-2",children:r.description}),(0,m.jsx)(s.EY,{color:"error",small:!0,className:"mt-2",children:h("cart.errorInvalidSku")})]},r.id):null}))}),I=(0,m.jsxs)(s.so,{gap:"0.5rem",className:"w-100",align:"start",$wrap:!0,children:[S.length>0&&E(S),k.length>0&&E(k)]}),_=[null!==(r=C.name)&&void 0!==r?r:""];return l?(0,m.jsx)(Pn,{className:p,children:I}):(0,m.jsx)(wn.A,{title:h("refinement.choose"),validating:g,valid:v,formSection:"refinements",className:p,repeat:x,children:{open:I,collapsed:_}})},Pn=p.Ay.div.withConfig({componentId:"sc-5i3cji-0"})(["background:",";padding:1rem;"],(e=>{let{theme:t}=e;return t.colors.fill})),On=p.Ay.div.withConfig({componentId:"sc-5i3cji-1"})(["display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:0.5rem;flex:1;"]),Tn=(0,p.Ay)(s.so).withConfig({componentId:"sc-5i3cji-2"})(["background:",";min-height:40px;padding:0.5rem;cursor:",";"," ",""],(e=>{let{theme:t}=e;return t.colors.fillMedium}),(e=>{let{compatible:t}=e;return t?"pointer":"normal"}),(e=>{let{selected:t,theme:n}=e;return t&&`\n    border: 2px solid ${n.colors.accent};\n    `}),(e=>{let{compatible:t,theme:n}=e;return t?` &:hover {\n          ${n.shadows.soft};\n        }`:`\n        div, svg { color: ${n.colors.textDisabled}; }\n        img { filter: grayscale(1) opacity(0.5); }\n      `})),Dn=p.Ay.img.withConfig({componentId:"sc-5i3cji-3"})(["max-width:50%;"]),jn=p.Ay.div.withConfig({componentId:"sc-lbzlwl-0"})(["background:",";"],(e=>{let{theme:t}=e;return t.colors.fill})),Bn=()=>{const{t:e}=(0,d.B)(),t=(0,c.jL)(),n=(0,c.GV)(bn.Lt.type),r=(0,c.GV)(bn.Lt.selectedRefinementType),i=(0,c.GV)(bn.Lt.fileErrorAlert);return(0,u.useEffect)((()=>{var o;if(!i)return;function a(){t((0,In.S1)(void 0)),t({type:In.QM.fulfilled.type,payload:{guid:c,data:u},meta:{arg:d}}),t((0,f.$G)())}const s="article"===n?(0,m.jsx)(xn,{onSelect:(e,n)=>{t((0,In.xA)(e,n)),a()},hideSectionUi:!0}):(0,m.jsx)(_n,{hideSectionUi:!0,onSelect:a}),l=(0,m.jsx)(jn,{className:"my-2",children:s}),{guid:c,data:u,input:d,hasCompatible:p}=i,h=null!==(o=null===r||void 0===r?void 0:r.name)&&void 0!==o?o:e("refinement.refinement_one");var g;p?t((0,f.wp)({title:e("refinement.uploadFile"),hideOk:!0,description:`${e("refinementsSelector.errorIncompatible","The file cannot be handled by selected type: {{selectedProduct}}. Do you want to change process option?",{selectedProduct:h})}${null!==r&&void 0!==r&&null!==(g=r.fileTypes)&&void 0!==g&&g.length?` ${e("file.allowedType")} - ${h}: ${r.fileTypes.map((e=>`.${e} `))}`:""}`,content:l,onCancel:()=>{t((0,In.S1)(void 0)),t((0,In.ok)({guid:c,canvasFileId:In.sI})),t((0,In.B5)({section:"articles"}))}})):t((0,f.wp)({title:e("refinement.uploadFile"),hideCancel:!0,description:e("refinementsSelector.errorNoCompatible","Your selected file cannot be applied on any of the refinements on this product. Please select another file or contact us for more help!"),stretchButtons:!1,showCustomerServiceInfo:!0,onOk:()=>{t((0,In.S1)(void 0)),t((0,In.ok)({guid:c,canvasFileId:In.sI}))}}))}),[i,n,r,e,t]),null};var Nn=n(64267),Mn=n.n(Nn),Rn=n(73878),Ln=n(55901),Fn=n(69877),zn=n(50039);zn.$W.configure({textureSize:65536});const Qn={isPanning:!1,isDraging:!1,selection:!0,lastPosX:0,lastPosY:0};let Un=!1;const Vn=(e,t,n,r,i,o,a,s)=>{var l,c;const u=t&&100*t,d=100*e.getZoom();let p=null!==(l=null!==u&&void 0!==u?u:n&&d+n)&&void 0!==l?l:100;p>(null!==a&&void 0!==a?a:300)&&(p=null!==a&&void 0!==a?a:300),p<(null!==o&&void 0!==o?o:100)&&(p=null!==o&&void 0!==o?o:100),t=p/100;const h=e.getWidth(),f=e.getHeight();r||i?e.zoomToPoint(new zn.bR(null!==r&&void 0!==r?r:0,null!==i&&void 0!==i?i:0),t):e.zoomToPoint(new zn.bR(.5*h,.5*f),t);const m=null!==(c=e.viewportTransform)&&void 0!==c?c:[];t<400/h&&(m[4]=200-h*t*.5,m[5]=200-f*t*.5),null===s||void 0===s||s(Math.round(p))},Gn=e=>{let{id:t,loading:n,onDelete:r,getCanvasInstance:i}=e;const o=(0,u.useRef)(null),a=(0,c.GV)(bn.j1),s=(0,c.GV)(bn.sD),l=(0,c.jL)(),d=(0,u.useCallback)(((e,t)=>{for(const n of t)n.setControlsVisibility({lockControl:e,unlockControl:!e}),n.data&&(n.data.autoPositionLocked=e)}),[]),p=(0,u.useCallback)((e=>{const t=i();if(!t||0===e.length)return;let n=null===e||void 0===e?void 0:e[0];const r=n.getBoundingRect(),o=t.width/t.height,a=r.width/r.height;let s;n.setControlsVisibility({pinControl:!1,unpinControl:!0}),s=o>a?.5*t.height/r.height:.5*t.width/r.width,s=Math.min(s,2.5);const c=new zn.bR(r.left+r.width/2,r.top+r.height/2);t.viewportTransform=[s,0,0,s,0,0],t.zoomToPoint(c,s);const u=t.width/2-c.x*s,d=t.height/2-c.y*s;t.viewportTransform[4]=u,t.viewportTransform[5]=d,t.requestRenderAll(),l((0,In.Pf)({zoom:+(100*s).toFixed(0)}))}),[l,i]),h=(0,u.useCallback)((e=>{const t=i();t&&(null===e||void 0===e||e[0].setControlsVisibility({pinControl:!0,unpinControl:!1}),t.setViewportTransform([1,0,0,1,0,0]),t.requestRenderAll(),l((0,In.Pf)({zoom:100})))}),[l,i]),f=(e,t)=>{e.forEachObject((e=>{e.lockMovementX=t,e.lockMovementY=t}))};return(0,u.useEffect)((()=>{const e=i(),t=e=>{var t,n,r,o;e.setControlsVisibility({objectMainColor:!(null===s||void 0===s||!s.colorChange),objectChangeColor:!(null===s||void 0===s||!s.colorChange)}),e.controls.objectMainColor=(0,Fn.ju)(18,0,"bottom","left",(0,Fn.bh)((null===s||void 0===s||null===(t=s.pmsColors)||void 0===t||null===(n=t[0])||void 0===n?void 0:n.hex)||""),(()=>{var e,t;const n=i().getActiveObject();null===a||void 0===a||null===(e=a.variations.colors)||void 0===e||e.forEach(((e,t)=>{var r,i,o,a;e.visible&&(0,Fn.kd)(t,n,!1,null,null===s||void 0===s||null===(r=s.pmsColors)||void 0===r||null===(i=r[0])||void 0===i?void 0:i.hex,void 0,t<(null!==(o=null===s||void 0===s||null===(a=s.pmsColors)||void 0===a?void 0:a.length)&&void 0!==o?o:0)-1)})),l((0,In.Jk)({colorChange:void 0,guid:null===a||void 0===a?void 0:a.guid})),null===(t=i())||void 0===t||t.fire("object:modified",{target:n})})),e.controls.objectChangeColor=(0,Fn.ju)(18,22,"bottom","left",(0,Fn.bh)((null===s||void 0===s||null===(r=s.colorChangePms)||void 0===r||null===(o=r[0])||void 0===o?void 0:o.hex)||""),(()=>{var e,t,n;const r=i().getActiveObject();null===a||void 0===a||null===(e=a.variations.colors)||void 0===e||e.forEach(((e,t)=>{var n,i,o,a,l;e.visible&&(0,Fn.kd)(t,r,!1,null,null!==(n=null===s||void 0===s||null===(i=s.colorChangePms)||void 0===i||null===(o=i[0])||void 0===o?void 0:o.hex)&&void 0!==n?n:"",void 0,t<(null!==(a=null===s||void 0===s||null===(l=s.pmsColors)||void 0===l?void 0:l.length)&&void 0!==a?a:0)-1)})),l((0,In.Jk)({colorChange:null===s||void 0===s||null===(t=s.colorChangePms)||void 0===t?void 0:t[0],guid:null===a||void 0===a?void 0:a.guid})),null===(n=i())||void 0===n||n.fire("object:modified",{target:r})}))};e.getObjects().forEach(t);const n=e=>t(e.target);return e.on("object:added",n),()=>{e.off("object:added",n)}}),[l,i,s,null===a||void 0===a?void 0:a.guid,null===a||void 0===a?void 0:a.variations.colors]),(0,u.useEffect)((()=>{if(Un)return;const e=i(),t='<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="none"><g clip-path="url(#a)"><path fill="#6D6D6D" d="M15 0H5a5 5 0 0 0-5 5v10a5 5 0 0 0 5 5h10a5 5 0 0 0 5-5V5a5 5 0 0 0-5-5Z"/><g opacity="{opacity}"><path stroke="#fff" stroke-width="3" d="M6.9 6.172 5.609 8.313a4.5 4.5 0 1 0 7.707 4.649l1.29-2.141"/><path fill="#fff" d="M6.545 3.856a1 1 0 0 1 1.373-.34l.856.517a1 1 0 0 1 .34 1.373l-.516.856-2.57-1.55.517-.856ZM14.252 8.505a1 1 0 0 1 1.373-.34l.856.517a1 1 0 0 1 .34 1.372l-.517.857-2.569-1.55.517-.856Z"/></g></g><defs><clipPath id="a"><path fill="#fff" d="M0 0h20v20H0z"/></clipPath></defs></svg>',n='<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="none"><g clip-path="url(#a)"><g opacity="{opacity}"><mask id="b" width="20" height="20" x="0" y="0" maskUnits="userSpaceOnUse" style="mask-type:luminance"><path fill="#fff" d="M0 0h20v20H0V0Z"/></mask><g mask="url(#b)"><path fill="#6D6D6D" d="M15 0H5a5 5 0 0 0-5 5v10a5 5 0 0 0 5 5h10a5 5 0 0 0 5-5V5a5 5 0 0 0-5-5Z"/></g><circle cx="9.5" cy="9.5" r="4.5" stroke="#fff" stroke-width="2"/><path fill="#fff" d="M14.293 16.707a1 1 0 0 0 1.414-1.414l-1.414 1.414Zm-3-3 3 3 1.414-1.414-3-3-1.414 1.414Z"/></g></g><defs><clipPath id="a"><path fill="#fff" d="M0 0h20v20H0z"/></clipPath></defs></svg>';zn.Ht.createControls=()=>({controls:{}});const o=zn.UZ.createObjectDefaultControls();zn.Ht.ownDefaults.controls={...o,deleteControl:(0,Fn.ju)(-18,0,"top","right",(0,Fn.g0)('<svg width="20" height="20" fill="none" xmlns="http://www.w3.org/2000/svg"><rect width="20" height="20" rx="5" fill="#D78080"/><path d="m5 5 5 5m0 0 5 5m-5-5 5-5m-5 5-5 5" stroke="#fff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>'),r),pinControl:(0,Fn.ju)(18,0,"bottom","right",(0,Fn.g0)(n),(e=>p(e))),unpinControl:(0,Fn.ju)(18,0,"bottom","right",(0,Fn.g0)(n,.5),(e=>h(e))),unlockControl:(0,Fn.ju)(18,-22,"bottom","right",(0,Fn.g0)(t,.5),(e=>d(!0,e))),lockControl:(0,Fn.ju)(18,-22,"bottom","right",(0,Fn.g0)(t),(e=>d(!1,e)))},e.on("mouse:down",(t=>{let{e:n}=t;var r,i;(!0===n.altKey||Qn.isPanning)&&(Qn.isDraging=!0,Qn.selection=!1,Qn.lastPosX="clientX"in n?n.clientX:null===(r=n.touches[0])||void 0===r?void 0:r.clientX,Qn.lastPosY="clientY"in n?n.clientY:null===(i=n.touches[0])||void 0===i?void 0:i.clientY,f(e,!0))}));e.on("mouse:move",(t=>{var n,r,i;let{e:o,scenePoint:a}=t;if(!Qn.isDraging)return;const s="clientX"in o?o.clientX:null===(n=o.touches[0])||void 0===n?void 0:n.clientX,l="clientY"in o?o.clientY:null===(r=o.touches[0])||void 0===r?void 0:r.clientY,c=null!==(i=e.viewportTransform)&&void 0!==i?i:[];c[4]+=s-Qn.lastPosX,c[5]+=l-Qn.lastPosY,Qn.lastPosX=s,Qn.lastPosY=l,e.requestRenderAll(),(t=>{const n=e.getZoom(),{width:r,height:i}=e,o=150;t[4]=Math.max(Math.min(t[4],o),r-r*n-o),t[5]=Math.max(Math.min(t[5],o),i-i*n-o)})(c)})),e.on("mouse:up",(t=>{e.setViewportTransform(e.viewportTransform||[]),Object.assign(Qn,{isDraging:!1,selection:!0}),f(e,!1)})),e.requestRenderAll()}),[t,r,d,i,p,h]),(0,u.useEffect)((()=>(Un=!0,()=>{Un=!1})),[]),(0,u.useEffect)((()=>{}),[]),(0,m.jsxs)(qn,{ref:o,children:[(0,m.jsx)("canvas",{id:t}),!!n&&(0,m.jsx)(Hn,{})]})},qn=p.Ay.div.withConfig({componentId:"sc-booz8j-0"})(["display:flex;align-items:center;position:relative;overflow:hidden;width:100%;flex:1;"]),Hn=(0,p.Ay)(s.y$).withConfig({componentId:"sc-booz8j-1"})(["position:absolute;top:calc(50% - 1.5rem);left:calc(50% - 1.5rem);height:3rem;width:3rem;z-index:1;"]);var Wn=n(44344);const Yn=e=>{let{image:t,color:n,useColorOverlay:r}=e;const{pending:i,error:o,data:a}=(0,c.GV)(mn.RZ),s=(0,c.jL)();(0,u.useEffect)((()=>{a[t]||i[t]||o[t]||s((0,mn.wv)(t))}),[i,o,a,t,s]);const l=a[t],d=i[t],p=o[t];return d?(0,m.jsx)(Y.A,{height:50,width:50}):p?(0,m.jsxs)(Kn,{children:[(0,m.jsx)(Jn,{src:Wn}),";"]}):l?(0,m.jsxs)(Kn,{children:[(0,m.jsx)(Jn,{src:(0,mn.de)(t,"background"),alt:""}),r&&(0,m.jsx)(Jn,{src:`data:image/svg+xml,${encodeURIComponent(l.replace(/PLACEHOLDER_COLOR/g,n))}`||void 0,alt:""})]}):null},Kn=p.Ay.div.withConfig({componentId:"sc-wbkhm9-0"})(["width:100px;height:100px;display:block;margin:0 auto;position:relative;"]),Jn=p.Ay.img.withConfig({componentId:"sc-wbkhm9-1"})(["position:absolute;left:0;bottom:0;width:100%;"]);var Xn=n(86875);const Zn=()=>{var e;const{t:t}=(0,d.B)(),n=(0,c.jL)(),r=(0,c.GV)(bn.Lt.availableProductAddons),o=(0,c.GV)(bn.Lt.activeProductAddons),a=(0,c.GV)(bn.Lt.selectedSplit),l=!(null===(e=(0,c.GV)(bn.Lt.splits))||void 0===e||!e.splits.length),p=(0,u.useMemo)((()=>Mn()((()=>n((0,In.xe)())),1400)),[n]);if(!r)return null;const h=e=>{n((0,In._h)({...e,selectedSplit:a})),p()};return(0,m.jsxs)(er,{children:[(0,m.jsx)(tr,{bgColor:"fill",onClose:()=>n((0,In.Yo)(!1))}),(0,m.jsx)(rr,{padLeft:l,gap:"1rem",columns:{base:"repeat(auto-fit, 230px)"},children:r.map((e=>{var n,r,l,c,u,d,p,f,g,v,y,A;if(!e.id)return null;const b=o.find((t=>t.id===e.id)),w=null===(n=e.costs)||void 0===n?void 0:n.filter((e=>e.selectType!==be.AddonSelectType.Mandatory)),x=null===w||void 0===w?void 0:w.some((e=>e.color)),C=null===(r=e.placements)||void 0===r?void 0:r.split(","),S=null===b||void 0===b?void 0:b.input,k=null===e||void 0===e||null===(l=e.costs)||void 0===l||null===(c=l.find((e=>{var t;return(null===(t=e.id)||void 0===t?void 0:t.toString())===(null===S||void 0===S?void 0:S.toString())})))||void 0===c?void 0:c.color,E=null!==(u=null===b||void 0===b||null===(d=b.placements)||void 0===d?void 0:d.split(","))&&void 0!==u?u:[],I=null!==(p=null===(f=e.quantityOptions)||void 0===f?void 0:f.map((e=>({value:null!==e&&void 0!==e?e:"-",label:e.toString()}))))&&void 0!==p?p:[],_=!(!b||!(!b.split&&(null===(g=a.split)||void 0===g?void 0:g.id)!==Xn.vt||(null===(v=a.split)||void 0===v?void 0:v.id)===Xn.vt&&b.split));return(0,m.jsxs)(ir,{className:"p-2",selected:!(null===b||void 0===b||!b.input),children:[(0,m.jsxs)(ar,{justify:"between",align:"start",className:"mb-2 position-relative",children:[e.imageUrl&&e.fixedImage===be.AddonFixedImageType.None&&(0,m.jsx)(sr,{children:(0,m.jsx)("img",{src:e.imageUrl,alt:""})}),e.fixedImage&&(0,m.jsx)(Yn,{image:e.fixedImage,color:null!==k&&void 0!==k?k:"#333",useColorOverlay:x}),(null===b||void 0===b?void 0:b.input)&&(0,m.jsx)(ur,{icon:i.e68})]}),(0,m.jsx)(s.EY,{fontSize:14,bold:!0,className:"f3-500",children:e.name}),(0,m.jsx)(s.EY,{fontSize:12,light:!0,className:"mb-3",children:e.description}),1===(null===w||void 0===w?void 0:w.length)?(0,m.jsx)(s.so,{children:(0,m.jsx)($n,{addon:e,cost:w[0],inputAddon:b,checked:(null===(y=w[0].id)||void 0===y?void 0:y.toString())===S,disabled:_,prefix:t("action.select"),changeAddon:h})}):(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(s.EY,{fontSize:12,className:"f3-700 mt-2 mb-1",children:`${t("action.selectOne")}${x?` ${t("color.color_one").toLowerCase()}`:""}`}),(0,m.jsx)(s.so,{$wrap:!0,gap:"3px",children:null===w||void 0===w?void 0:w.map((t=>{var n;return(0,m.jsx)($n,{addon:e,cost:t,inputAddon:b,checked:(null===(n=t.id)||void 0===n?void 0:n.toString())===S,disabled:_,changeAddon:h})}))})]}),C&&C.length>1&&null!==b&&void 0!==b&&b.input?(0,m.jsxs)(m.Fragment,{children:[(0,m.jsxs)(s.EY,{fontSize:12,className:"f3-700 mt-2 mb-1",children:[t("action.select","Select")," ",t("refinement.placement_one").toLowerCase()]}),(0,m.jsx)(s.so,{$wrap:!0,gap:"3px",children:null===C||void 0===C?void 0:C.map((e=>{const t=E.includes(e);return(0,m.jsxs)(lr,{selected:t,children:[(0,m.jsx)(nr,{id:e,type:"checkbox",checked:t,onChange:t=>{if(_)return;const n=E.filter((t=>t!==e));t.currentTarget.checked&&n.push(e),n.length&&h({...b,placements:n.length?n.join(","):void 0})}}),(0,m.jsx)(s.EY,{fontSize:11,nowrap:!0,children:(0,Ln.pY)(e)})]},e)}))})]}):null,null!==I&&void 0!==I&&I.length&&b?(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(s.EY,{fontSize:12,extraBold:!0,className:"f3-700 mt-2 mb-1",children:t("cart.quantity")}),(0,m.jsx)(s.l6,{toggleBgColor:"fill",isDisabled:!(null!==b&&void 0!==b&&b.input),options:I,isSearchable:!1,isMulti:!1,defaultValue:null!==(A=I.find((e=>e.value===(null===b||void 0===b?void 0:b.inputQuantity))))&&void 0!==A?A:I[0],onChange:e=>{if(!e)return;const t=e.value,n=Number.isNaN(+t)?void 0:+t;b&&h({...b,quantity:n})}},(!(null===b||void 0===b||!b.input)).toString())]}):null,_&&(0,m.jsx)(or,{})]},e.id)}))})]})},$n=e=>{var t,n,r,i;let{addon:o,cost:a,inputAddon:l,checked:c,disabled:u,prefix:d,changeAddon:p}=e;return(0,m.jsxs)(lr,{disabled:u,as:"label",htmlFor:null===(t=a.id)||void 0===t?void 0:t.toString(),selected:c,align:"center",children:[(0,m.jsx)(nr,{id:null===(n=a.id)||void 0===n?void 0:n.toString(),type:"checkbox",disabled:u,checked:c,onChange:e=>{var t,n,r;if(!o.id||!a.id||u)return;const i=e.currentTarget.checked?a.id.toString():void 0,s=l?{...l,input:i}:{id:o.id,input:i,quantity:null===(t=o.quantityOptions)||void 0===t?void 0:t[0],placements:null===(n=o.placements)||void 0===n||null===(r=n.split(","))||void 0===r?void 0:r[0]};p(s)}}),d&&(0,m.jsx)(s.EY,{fontSize:11,children:d+" "}),a.color&&(0,m.jsx)(cr,{color:null!==(r=null===(i=a.color)||void 0===i?void 0:i.trim())&&void 0!==r?r:"#cfcfcf"}),(0,m.jsx)(s.EY,{fontSize:11,nowrap:!0,children:a.name})]},a.id)},er=p.Ay.div.withConfig({componentId:"sc-83m0pt-0"})(["position:relative;padding-top:50px;"]),tr=(0,p.Ay)(s.Jn).withConfig({componentId:"sc-83m0pt-1"})(["position:absolute;right:1rem;top:1rem;"]),nr=p.Ay.input.withConfig({componentId:"sc-83m0pt-2"})(["height:100%;width:100%;opacity:0;position:absolute;left:0;top:0;cursor:",";"],(e=>{let{disabled:t}=e;return t?"default":"pointer"})),rr=(0,p.Ay)(s.xA).withConfig({componentId:"sc-83m0pt-3"})(["justify-content:center;padding:calc(1.5rem + 19px) 1rem 1rem;","{","}"],(e=>{let{theme:t}=e;return t.media.lg}),(e=>{let{padLeft:t}=e;return t&&"padding-left: 108px;"})),ir=p.Ay.div.withConfig({componentId:"sc-83m0pt-4"})([""," background-color:",";pointer-events:all;border:2px solid ",";position:relative;"],(e=>{let{theme:t}=e;return t.shadows.medium}),(e=>{let{theme:t}=e;return t.colors.white}),(e=>{let{selected:t,theme:n}=e;return t?n.colors.accent:"transparent"})),or=p.Ay.div.withConfig({componentId:"sc-83m0pt-5"})(["height:100%;width:100%;position:absolute;top:0;left:0;background:#030303;opacity:0.2;"]),ar=(0,p.Ay)(s.so).withConfig({componentId:"sc-83m0pt-6"})([""]),sr=p.Ay.div.withConfig({componentId:"sc-83m0pt-7"})(["height:70px;width:110px;> img{height:100%;width:100%;object-fit:contain;object-position:0% 0%;}"]),lr=(0,p.Ay)(s.so).withConfig({componentId:"sc-83m0pt-8"})(["position:relative;min-width:45px;margin-bottom:0;border:1px solid ",";background-color:",";padding:4px;transition:background-color 0.2s linear;"," *:not(:last-child){margin-right:4px;}"],(e=>{let{theme:t,selected:n}=e;return n?t.colors.accent:t.colors.borderLight}),(e=>{let{theme:t,selected:n}=e;return n?t.colors.fill:t.colors.white}),(e=>{let{disabled:t,theme:n}=e;return t?"\n      cursor: default;\n    ":`\n      &:hover {\n        background-color: ${n.colors.fill};\n      }\n  `})),cr=p.Ay.div.withConfig({componentId:"sc-83m0pt-9"})(["flex-shrink:0;background-color:",";border:1px solid ",";height:10px;width:10px;border-radius:50%;cursor:pointer;"],(e=>{let{color:t}=e;return t}),(e=>{let{theme:t,color:n}=e;return(0,Ee.J1)(n)>.85?t.colors.borderLight:"transparent"})),ur=(0,p.Ay)(o.g).withConfig({componentId:"sc-83m0pt-10"})(["position:absolute;top:0;right:0;"]),dr=e=>{var t,n;let{headerSize:r}=e;const i=(0,c.jL)(),o=(0,c.GV)(bn.Lt.backgroundImages),a=(0,c.GV)(bn.Lt.selectedSplit),l=(0,c.GV)(bn.Lt.origin),p=(0,c.GV)(bn.Lt.selectedRefinementGuid),{t:h}=(0,d.B)();return(0,u.useEffect)((()=>{var e;if(null!==(e=o.image)&&void 0!==e&&e.invalid&&!p){var t;const e=null===(t=o.images[0])||void 0===t?void 0:t.angle;e&&i((0,In.Id)(e))}}),[o,p,i]),o.error?(0,m.jsx)(pr,{className:"px-3 pb-3",children:(0,m.jsx)(mr,{color:"error",small:!0,children:o.error})}):o.images.length||o.pending?(0,m.jsxs)(pr,{column:!0,justify:"center",align:"center",className:"w-100",children:[(0,m.jsxs)(s.EY,{fontSize:r,small:!r,bold:!0,center:!0,className:"mb-2",children:[h("image.angle",{context:"other"}),null!==(t=a.split)&&void 0!==t&&t.id&&a.split.id!==Xn.vt?` - ${a.split.id===Xn.y6?"CollectionTool"===l?a.nextId:h("stock.rest"):null===(n=a.split)||void 0===n?void 0:n.id}`:""]}),(0,m.jsxs)(s.so,{children:[o.pending&&(0,m.jsx)(Y.A,{style:{verticalAlign:"top"},count:4,height:60,width:60,className:"mx-2"}),o.images.map(((e,t)=>{var n,r;const a=e.angle===(null===(n=o.image)||void 0===n?void 0:n.angle),l=e.refinements;return(0,m.jsxs)(hr,{className:"mx-2",onClick:()=>(e=>{e&&i((0,In.Id)(e))})(e.angle),active:a,disabled:a,children:[(0,m.jsx)(fr,{active:a,children:(0,m.jsx)(s._V,{src:null!==(r=e.thumb)&&void 0!==r?r:"",alt:`Thumbnail for ${e.angle}`})}),(0,m.jsx)(s.EY,{center:!0,small:!0,children:e.angle?(0,Ln.TH)(e.angle):""}),l?(0,m.jsx)(gr,{bgColor:"borderLight",color:"text",children:l}):null]},`canvas-angle-image-${e.key}-${t}`)}))]})]}):null},pr=(0,p.Ay)(s.so).withConfig({componentId:"sc-6z66bt-0"})([""]),hr=p.Ay.div.withConfig({componentId:"sc-6z66bt-1"})(["position:relative;cursor:pointer;transition:width 0.2s ease,height 0.2s ease;",";"],(e=>{let{active:t,disabled:n}=e;return n&&`\n    opacity: ${t?1:.5};\n    pointer-events: none;\n    `})),fr=p.Ay.div.withConfig({componentId:"sc-6z66bt-2"})(["height:60px;width:60px;padding:3px;background:white;border:2px solid ",";> img{height:100%;width:100%;object-fit:contain;}"],(e=>{let{active:t,theme:n}=e;return t?n.colors.accent:n.colors.borderLight})),mr=(0,p.Ay)(s.EY).withConfig({componentId:"sc-6z66bt-3"})([""]),gr=(0,p.Ay)(s.Ex).withConfig({componentId:"sc-6z66bt-4"})(["user-select:none;bottom:0.8rem;z-index:2;"]);var vr=n(63364),yr=n(12508),Ar=n(76266);const br=e=>{var t;let{pending:n,small:r,excludedTypes:o=[],onToggle:a,...l}=e;const{t:u}=(0,d.B)(),p=(0,c.jL)(),h=(0,c.GV)(gn.Go),f=(0,c.GV)(gn.cy),g=(0,c.GV)(gn.Vn),v=(0,c.GV)(gn.xr),y=()=>p((0,gn.jk)()),A=(0,c.cb)(),b=(null===h||void 0===h?void 0:h.length)>0&&(null===h||void 0===h||null===(t=h.filter((e=>!o.includes(e.type))))||void 0===t?void 0:t.map((e=>(0,m.jsx)(Fr,{className:"mb-1",children:(0,m.jsx)(wr,{small:r,filter:e,active:f[e.type],onToggle:async(e,t)=>{a(e,t)},onEdit:async e=>await p((0,gn.Gw)(e)),currentEditTag:v})},e.label)))),w=g&&(A.lg?(0,m.jsx)(jr,{offsetBottom:8,className:"mr-lg-3",children:(0,m.jsx)(Mr,{children:(0,m.jsxs)(Rr,{className:"f1-500",children:[!1,b]})})}):(0,m.jsx)(s.FQ,{onClose:y,visible:!0,children:{headerLogo:(0,m.jsx)(s.d,{iconColor:"textLight",icon:i.wQq}),content:(0,m.jsx)(Vr,{column:!0,className:"p-3 f1-500",children:b}),footerContent:(0,m.jsx)(Ur,{className:"pb-3",children:(0,m.jsxs)(s.$n,{type:"button",onClick:y,pill:!0,className:"mt-3 mb-4 w-100",children:[u("article.show","Show articles"),n&&(0,m.jsx)(s.y$,{})]})})}}));return(0,m.jsx)(Lr,{...l,children:w})},wr=e=>{var t;let{filter:n,active:r,onToggle:o,onEdit:a,currentEditTag:l,small:p}=e;const{t:h}=(0,d.B)(),f=(0,c.GV)(gn.PO).data,[g,v]=(0,u.useState)(!0),y=h("article.filters",{context:n.label}),A=n.type===gn.RJ.Tag?null===(t=n.items)||void 0===t?void 0:t.map((e=>({name:e.label,value:e.value,type:0}))):[],b=e=>{var t;const r=null===n||void 0===n||null===(t=n.items)||void 0===t?void 0:t.find((t=>t.value===e.value));r&&o(r,n.type)},w=e=>{a(e)};return!A.length&&n.items.length<1?null:(0,m.jsxs)(m.Fragment,{children:[(0,m.jsxs)(s.so,{className:"mb-2",justify:"between",align:"center",children:[(0,m.jsx)(Br,{small:!0,children:y}),(0,m.jsx)(xr,{small:!0,icon:g?i.w2A:i.Jt$,onClick:e=>{e.preventDefault(),v(!g)}})]}),n.type!==gn.RJ.Tag&&g&&n.items.map(((e,t)=>{var i;return(0,m.jsx)(kr,{small:p,text:_r(n.type,null===(i=e.label)||void 0===i?void 0:i.toString(),h,f),isChecked:null===r||void 0===r?void 0:r.includes(null===e||void 0===e?void 0:e.value),onToggle:()=>{o(e,n.type)}},t)})),n.type===gn.RJ.Tag&&g&&(0,m.jsx)(et.A,{tags:A,children:(e,t)=>(0,m.jsx)(Cr,{tag:e,index:t,onSelectTag:b,selectedTags:r,onEditTag:w,editTag:l})})]})},xr=(0,p.Ay)(s.K0).withConfig({componentId:"sc-1nycy2b-0"})(["background:",";"],(e=>{let{theme:t}=e;return t.colors.fill})),Cr=e=>{var t,n,r;let{tag:a,index:s,compact:l,onSelectTag:u,selectedTags:d,onEditTag:h,editTag:f}=e;const{tagEdit:g}=(0,c.GV)((e=>{let{articles:t}=e;return t})),v=(0,p.DP)(),y=!(!a||!a.value)&&(null===d||void 0===d?void 0:d.includes(a.value)),A=!!(a&&a.value&&null!==f&&void 0!==f&&null!==(t=f.tag)&&void 0!==t&&t.includes(a.value));return(0,m.jsx)("div",{children:A&&y?(0,m.jsxs)(yr.E,{selectable:!!u,selected:y,compact:l,type:a.type,align:"center",children:[(0,m.jsx)(Sr,{type:"text",value:null!==(n=null!==(r=null===f||void 0===f?void 0:f.value)&&void 0!==r?r:a.value)&&void 0!==n?n:void 0,onChange:e=>{var t;return h&&h({tag:null!==(t=a.value)&&void 0!==t?t:"",edit:!0,value:e.target.value,save:!1})}}),(0,m.jsx)(o.g,{color:v.colors.text,className:"ml-2",icon:i.e68,onClick:()=>{h&&h({tag:g.tag,value:g.value,edit:!1,save:!0})}})]}):(0,m.jsx)(m.Fragment,{children:(0,m.jsxs)(yr.E,{selectable:!!u,selected:y,compact:l,type:a.type,children:[(0,m.jsxs)("div",{onClick:()=>u&&u(a),children:[y&&(0,m.jsx)(o.g,{color:v.colors.text,size:"lg",className:"mr-2",icon:i.e68}),a.value]}),(0,m.jsx)(m.Fragment,{children:y&&(0,m.jsx)(o.g,{color:v.colors.text,size:"lg",className:"ml-2",icon:i.cNj,onClick:()=>{var e;return h&&h({tag:null!==(e=a.value)&&void 0!==e?e:"",edit:!1,save:!1})}})})]})})},s)},Sr=p.Ay.input.withConfig({componentId:"sc-1nycy2b-1"})(["border:none;background:",";width:fit-content;outline:none;"],(e=>{let{theme:t}=e;return t.colors.fillGray})),kr=e=>{let{noBorder:t,text:n,isChecked:r,onToggle:i,invert:o,small:a}=e;return(0,m.jsx)(Qr,{noBorder:null!==t&&void 0!==t&&t,onClick:i,className:"pointer",children:(0,m.jsxs)(s.so,{justify:"between",align:"center",children:[(0,m.jsx)(s.EY,{large:!a,light:!0,children:n}),(0,m.jsx)(s.Sc,{name:n,small:a,defaultChecked:r,bgColor:o?"fill":"fillWhite"})]})})},Er=e=>{var t;let{inputs:n,pending:r,onInputChange:o,searchPlaceHolder:a,showDateInputs:l=!0,showLabel:c=!0}=e;const{t:u}=(0,d.B)();return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsxs)(Tr,{className:"mb-1",children:[c&&(0,m.jsx)(Or,{children:u("search.search")}),(0,m.jsx)(Dr,{type:"text",name:"Search",icon:i.MjD,rightSidedIcon:!0,loading:r,defaultValue:n.search,onChange:e=>{o({search:e.target.value})},placeholder:null!==(t=u("search.search"))&&void 0!==t?t:a,paddingRight:"59px"})]}),l&&(0,m.jsxs)(s.so,{children:[(0,m.jsxs)(Pr,{className:"mb-1 mr-1",children:[(0,m.jsx)(Or,{children:u("general.startDate","Start date")}),(0,m.jsx)(s.t1,{selectedDate:n.from,header:u("general.startDate","Start date"),onChange:e=>e instanceof Date&&o({from:e}),filter:"None"})]}),(0,m.jsxs)(Pr,{className:"mb-1",children:[(0,m.jsx)(Or,{children:u("general.endDate","End date")}),(0,m.jsx)(s.t1,{selectedDate:n.to,header:u("general.endDate","End date"),onChange:e=>e instanceof Date&&o({to:e}),filter:"None"})]})]})]})},Ir=()=>{const e=(0,c.jL)(),t=(0,c.GV)(gn.Vn),{t:n}=(0,d.B)();return(0,m.jsxs)(Nr,{large:!0,bgColor:"transparent",onClick:()=>e((0,gn.jk)()),className:"f1-400 mb-1",icon:i.wQq,square:!0,children:[n(t?"general.hide":"general.show")," ",n("filter.filters").toLowerCase()]})};function _r(e,t,n,r){switch(e){case gn.RJ.Status:return function(e,t){switch(e){case"0":return t("status.processing");case"1":return t("status.approved");case"2":return t("status.rejected");case"3":return t("status.draft");default:return""}}(t,n);case gn.RJ.Archived:return function(e,t){switch(e){case"0":return t("archived.notArchived","Not archived");case"1":return t("archived.archived","Archived");default:return""}}(t,n);case gn.RJ.Stock:return function(e,t){switch(e){case"1":return t("stockLevel.in","In stock");case"0":return t("stockLevel.no","No stock");default:return""}}(t,n);case gn.RJ.Product:return function(e,t){var n;const r=t.find((t=>t.productNumber===e));return null!==(n=null===r||void 0===r?void 0:r.productName)&&void 0!==n?n:e}(t,r);default:return""}}const Pr=p.Ay.div.withConfig({componentId:"sc-1nycy2b-2"})([""]),Or=p.Ay.label.withConfig({componentId:"sc-1nycy2b-3"})(["margin-bottom:0;font-size:14px;"]),Tr=p.Ay.div.withConfig({componentId:"sc-1nycy2b-4"})(["flex:1;"]),Dr=(0,p.Ay)(s.pd).withConfig({componentId:"sc-1nycy2b-5"})([""]),jr=(0,p.Ay)(Ar.A).withConfig({componentId:"sc-1nycy2b-6"})(["box-shadow:none;"]),Br=(0,p.Ay)(s.EY).withConfig({componentId:"sc-1nycy2b-7"})(["font-size:14px;line-height:2.5rem;"]),Nr=(0,p.Ay)(s.K0).withConfig({componentId:"sc-1nycy2b-8"})(["align-self:flex-start;"]),Mr=p.Ay.div.withConfig({componentId:"sc-1nycy2b-9"})(["flex-shrink:0;"]),Rr=p.Ay.div.withConfig({componentId:"sc-1nycy2b-10"})([""]),Lr=p.Ay.div.withConfig({componentId:"sc-1nycy2b-11"})([""]),Fr=p.Ay.div.withConfig({componentId:"sc-1nycy2b-12"})([""]),zr=p.Ay.div.withConfig({componentId:"sc-1nycy2b-13"})(["padding:5px 0;"]),Qr=(0,p.Ay)(zr).withConfig({componentId:"sc-1nycy2b-14"})([""," a:hover{text-decoration:underline;}"],(e=>{let{noBorder:t,theme:n}=e;return!t&&`border-bottom: 1px solid ${n.colors.border};`})),Ur=(0,p.Ay)(s.so).withConfig({componentId:"sc-1nycy2b-15"})(["padding:10px;background-color:",";"],(e=>{let{theme:t}=e;return t.colors.fillWhite})),Vr=(0,p.Ay)(s.so).withConfig({componentId:"sc-1nycy2b-16"})(["background-color:",";"],(e=>{let{theme:t}=e;return t.colors.fill}));var Gr=n(41665),qr=n(57033),Hr=n(98692);const Wr=()=>{var e,t,n,r;const a=(0,c.jL)(),{t:l}=(0,d.B)(),{isSeller:p,features:h}=(0,c.GV)((e=>{var t;let{user:n}=e;return null!==(t=n.userIdentity)&&void 0!==t?t:{}})),{isB2B:g}=(0,c.GV)(F.F),v=(0,c.GV)(bn.Lt.create),y=(0,c.GV)(bn.Lt.canvasFileCopies),A=(0,u.useRef)(null),b=(0,c.GV)(bn.Lt.proposals),w=(0,c.GV)(bn.Lt.articleList),x=(0,c.GV)(bn.Lt.showFilters),C=(0,c.GV)(bn.Lt.searchInputs),S=(0,c.GV)(bn.Lt.type),k=(0,c.GV)(bn.Lt.origin),E=(0,c.GV)(bn.Lt.selectedSplit),I=!(null===(e=(0,c.GV)(bn.Lt.splits))||void 0===e||!e.splits.length),_=(0,c.GV)(bn.Lt.isDraft),P=(0,c.GV)(bn.Lt.publicOrderId),O=(0,c.GV)(bn.Lt.selectedRefinementType),D=(0,c.GV)(bn.Lt.canCreate),j=(0,c.GV)(T.Kc),B=(0,c.GV)(L.iZ),N=null===(t=(0,c.GV)(bn.Lt.selectedRefinementType))||void 0===t?void 0:t.textOptions,M=(0,An.Yc)(null===N||void 0===N?void 0:N.fontCategories),R=null===O||void 0===O?void 0:O.fileTypes,z=null===O||void 0===O?void 0:O.multiColor,Q=(0,c.GV)(bn.Lt.multiImagesProposals),U=(0,c.GV)(bn.Lt.selectedBackground),[V,G]=(0,u.useState)({value:"",font:"",fill:{name:"Black",hex:"#000000",rgb:{r:0,g:0,b:0}}});(0,u.useEffect)((()=>{G((e=>{var t,n;return{...e,font:null!==(t=null===M||void 0===M||null===(n=M[0])||void 0===n?void 0:n.name)&&void 0!==t?t:""}}))}),[null===O||void 0===O?void 0:O.id]),(0,u.useEffect)((()=>{"refinement"===S&&(null!==h&&void 0!==h&&h.Articles||P)&&g&&(0,Rn.vA)((()=>{a((0,In.uO)(!1)),a((0,gn.gA)(P)),a((0,In.qe)({status:["1"],stock:["1"]})),a((0,gn._V)()),a((0,In.aL)({publicOrderId:P}))}))}),[a,g,p,S,null===h||void 0===h?void 0:h.Articles,P]);const q=async(e,t)=>{e&&(null!=A.current&&(A.current.value=""),a((0,In.QM)({file:e,guid:t})).then((e=>{if("CollectionTool"!==k&&a((0,In.xe)()),!1===z){var t,n;const{pmsAnalysis:r,pmsFile:i}=null!==(t=null===e||void 0===e||null===(n=e.payload)||void 0===n?void 0:n.data)&&void 0!==t?t:{};if(!localStorage.getItem("interpreted_colors_dismissed")&&r&&r.length>=1){const e=(0,m.jsxs)(s.so,{column:!0,className:"mt-4",children:[(0,m.jsx)(s.EY,{bold:!0,children:l("color.toolInterpretedColors")}),r.map((e=>{var t;const n=null!==i&&void 0!==i&&i.find((t=>t.name===e.name))?l("color.interpretedFromFile"):l("color.interpretedByTool");return(0,m.jsxs)(s.so,{align:"center",children:[(0,m.jsx)(s.EY,{children:e.name}),(0,m.jsx)(vr.M,{as:"div",color:null!==(t=e.hex)&&void 0!==t?t:"",small:!0,className:"ml-2 mr-1"}),(0,m.jsx)(s.EY,{light:!0,italic:!0,fontSize:12,children:n})]},`interpreted_color_${e.name}`)})),(0,m.jsx)(s.Sc,{className:"mt-3",label:l("general.dontShowAgain"),onChange:e=>{e.target.checked?localStorage.setItem("interpreted_colors_dismissed",Date.now().toString()):localStorage.removeItem("interpreted_colors_dismissed")}})]});setTimeout((()=>{a((0,f.wp)({color:"fillBlack",title:l("color.interpretedTitle"),description:l("color.warnInterpreted"),okLabel:l("action.ok"),hideCancel:!0,maxWidth:500,contentWrapped:e}))}),0)}}})),"CollectionTool"===k&&!B&&j&&a((0,In.uV)({data:{description:l("image.image_one")+" "+ +(In.vJ-100)}})))},H=(0,c.d7)((e=>{e&&(a((0,In.qM)(e)),a((0,In.aL)({publicOrderId:P})))}),500),W=null!==(n=null===R||void 0===R?void 0:R.map((e=>`.${e}`)).join(", "))&&void 0!==n?n:In.he;return(0,m.jsx)(Yr,{padLeft:I,align:"refinement"===S?"start":"center",justify:"center",className:"h-100",children:D?(0,m.jsx)(Kr,{column:!0,children:(0,m.jsxs)(Jr,{className:"mb-3",children:[(0,m.jsxs)(ei,{border:!1,bgColor:"fillMedium",justify:"between",className:"p-3 position-relative",children:[(0,m.jsx)(li,{children:l("refinement.create","Create refinement")}),(0,m.jsx)("div",{children:(0,m.jsx)(s.Jn,{onClose:()=>a((0,In.Kr)(!1))})})]}),b&&b.length>0&&(0,m.jsxs)(ei,{column:!0,className:"p-3",children:[(0,m.jsx)(s.EY,{fontSize:17,bold:!0,className:"mb-1",children:l("refinementsSelector.title")}),(0,m.jsx)(s.so,{$wrap:!0,children:b.map((e=>(0,m.jsxs)(Xr,{className:"mr-1 mb-1",onClick:()=>{return t=e.id,void a((0,In.Ps)(t,E));var t},children:[(0,m.jsx)(ii,{children:e.img?(0,m.jsx)("img",{src:e.img,alt:""}):(0,m.jsx)(o.g,{size:"2x",icon:i.p7g})}),(0,m.jsxs)(s.so,{className:"ml-2",column:!0,children:[(0,m.jsx)(s.EY,{textOverflow:"95",fontSize:10,nowrap:!0,children:e.name}),e.size&&(0,m.jsxs)(s.EY,{textOverflow:"95",fontSize:10,light:!0,nowrap:!0,children:[l("size.size"),": ",e.size]}),e.colors&&(0,m.jsx)(s.EY,{textOverflow:"95",fontSize:10,light:!0,nowrap:!0,children:e.colors}),e.placementCount&&(0,m.jsxs)(s.EY,{textOverflow:"95",fontSize:10,light:!0,nowrap:!0,children:[e.placementCount," ",l("refinement.placement_other")]})]})]},e.id)))})]}),"refinement"===S&&(w&&w.length>0||!!C.search)&&(0,m.jsxs)(ei,{column:!0,className:"p-3",children:[(0,m.jsxs)(ui,{fontSize:17,bold:!0,children:[l("action.add")," ",l("product.article_one").toLowerCase()]}),(0,m.jsxs)(s.so,{justify:"end",children:[(0,m.jsx)(s.K0,{large:!0,onClick:()=>a((0,In.uO)()),className:"pointer f1-400 mr-1",icon:i.wQq,square:!0}),(0,m.jsx)(Er,{pending:!1,showLabel:!1,showDateInputs:!1,onInputChange:H,inputs:{search:null===C||void 0===C?void 0:C.search,from:null===C||void 0===C?void 0:C.from,to:null===C||void 0===C?void 0:C.to}})]}),0===w.length&&(0,m.jsx)(s.EY,{fontSize:13,className:"mt-2",children:l("article.noHitsContent")}),(0,m.jsxs)(s.so,{children:[x&&(0,m.jsx)(oi,{small:!0,pending:!1,excludedTypes:[gn.RJ.Status,gn.RJ.Stock,gn.RJ.Archived],onToggle:(e,t)=>{a((0,In.vD)({filterItem:e,filterType:t})),a((0,In.aL)({publicOrderId:P}))}}),(0,m.jsx)(ti,{maxHeight:350,children:w.map((e=>{var t,n;return(0,m.jsxs)(ni,{column:!0,align:"center",justify:"between",incompatible:!1,onClick:()=>(async e=>{e.id&&a((0,In.o6)(e))})(e),children:[(0,m.jsx)(ri,{className:"mb-2",children:(0,m.jsx)("img",{alt:"",src:null!==(t=null===(n=e.image)||void 0===n?void 0:n.customUrl)&&void 0!==t?t:qr.A})}),(0,m.jsxs)(ai,{textOverflow:"90",fontSize:11,children:[e.id,". ",e.productName]}),(0,m.jsxs)(s.so,{align:"center",className:"mt-1",children:[(0,m.jsx)(si,{children:(0,m.jsx)(o.g,{size:"sm",className:"mr-1",icon:i.T8I})}),(0,m.jsx)(s.EY,{textOverflow:"90",fontSize:11,children:e.stockQuantity+l("stock.pcs")})]})]},`article_${e.id}`)}))})]}),C.pages&&C.pages>1?(0,m.jsx)(Gr.A,{page:C.page,pages:C.pages,pageSize:C.pageSize,itemCount:w.length,itemsTotal:C.total,setPage:e=>a((0,In.aL)({page:e,publicOrderId:P}))}):null]}),(0,m.jsx)(ci,{onDrop:e=>q(null===e||void 0===e?void 0:e[0]),singleFile:!0,children:(0,m.jsxs)(ei,{border:!1,column:!0,className:"p-3",children:["refinement"===S?(0,m.jsx)(_n,{hideSectionUi:!0,className:"px-0"}):(0,m.jsx)(xn,{onSelect:(e,t)=>a((0,In.xA)(e,t)),hideSectionUi:!0,className:"px-0"}),(null===O||void 0===O?void 0:O.type)===be.RefinementType.Text?(0,m.jsxs)(ei,{border:!1,borderTop:!0,column:!0,className:"pt-2",children:[(0,m.jsx)(Hr.PQ,{fonts:M,selectedFont:V.font,selectedColor:null===(r=V.fill)||void 0===r?void 0:r.hex,refinementType:O,onUpdateTextProperties:e=>G((t=>({...t,...e})))}),(0,m.jsx)(s.K0,{bgColor:"accent",large:!0,disableFont:!0,color:"accentText",icon:i.QLR,className:"w-100",disabled:!V.value,onClick:()=>(a((0,In.$3)({text:V.value,fontFamily:V.font,fontPmsColor:V.fill,textOptions:N})).then((()=>a((0,In.xe)()))),void("CollectionTool"===k&&!B&&j&&a((0,In.uV)({data:{description:l("general.text")+" "+ +(In.vJ-100)}})))),children:l("refinement.createTextElement")})]}):null,y.length?(0,m.jsx)(m.Fragment,{children:(0,m.jsx)(ti,{className:"mb-1",children:y.map((e=>(0,m.jsxs)(ni,{column:!0,align:"center",justify:"between",incompatible:e.incompatible,onClick:()=>{return!v.filesPending&&!e.incompatible&&void((t=e).canvasFile.fileName&&(a((0,In.m3)(t)),a((0,In.xe)())));var t},children:[(0,m.jsx)(ri,{className:"mb-2",children:e.convertedFile?(0,m.jsx)("img",{src:e.convertedFile,alt:""}):(0,m.jsx)(o.g,{size:"2x",icon:i.p7g})}),(0,m.jsx)(s.EY,{textOverflow:"90",fontSize:11,children:e.canvasFile.fileName})]},e.canvasFile.fileName)))})}):null,(0,m.jsx)(Zr,{children:v.filesEnabled||_?(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)($r,{"data-part-of-canvas":!0,id:"imagefile",type:"file",ref:A,accept:W,onChange:e=>{var t;return q(e.target.files?e.target.files[0]:void 0,null!=U.proposalIndex?null===Q||void 0===Q||null===(t=Q.find((e=>e.index===U.proposalIndex)))||void 0===t?void 0:t.id:void 0)}}),(0,m.jsx)(s.K0,{bgColor:"accent",large:!0,disableFont:!0,color:"accentText",icon:i.QLR,className:("refinement"===S&&y.length?"mt-2":"")+" w-100",disabled:v.filesPending,onClick:()=>{var e;return null===(e=A.current)||void 0===e?void 0:e.click()},children:l("logoAppTools.asset")}),null!==R&&void 0!==R&&R.length?(0,m.jsxs)(s.EY,{className:"text-right mx-2 m-1",children:[l("file.allowedType"),": ",W]}):null]}):null})]})})]})}):v.pending?(0,m.jsx)(ei,{border:!1,className:"p-3",children:(0,m.jsx)(Y.A,{height:"100",width:"200px"})}):"refinement"===S?(0,m.jsx)(ei,{error:!0,className:"p-3",children:(0,m.jsx)(s.EY,{color:"error",children:l("refinement.errorNoAvailableRefinements","This product is currently not possible to process.")})}):null})},Yr=(0,p.Ay)(s.so).withConfig({componentId:"sc-pypgzq-0"})(["pointer-events:all;padding-left:","px;padding-top:1rem;padding-right:1rem;padding-bottom:1rem;"],(e=>{let{padLeft:t}=e;return t?115:16})),Kr=(0,p.Ay)(s.so).withConfig({componentId:"sc-pypgzq-1"})(["width:calc(100% - 2rem);max-width:800px;"]),Jr=p.Ay.div.withConfig({componentId:"sc-pypgzq-2"})(["",""],(e=>{let{theme:t}=e;return t.shadows.soft})),Xr=(0,p.Ay)(s.so).withConfig({componentId:"sc-pypgzq-3"})(["cursor:pointer;background-color:",";border-radius:",";padding:8px;&:hover{background-color:",";}"],(e=>{let{theme:t}=e;return t.colors.fillMedium}),"2px",(e=>{let{theme:t}=e;return(0,Ee.Qw)(.03,t.colors.fillMedium)})),Zr=p.Ay.div.withConfig({componentId:"sc-pypgzq-4"})([""]),$r=p.Ay.input.withConfig({componentId:"sc-pypgzq-5"})(["display:none;"]),ei=(0,p.Ay)(s.so).withConfig({componentId:"sc-pypgzq-6"})(["background:",";width:100%;"," "," ",""],(e=>{let{theme:t,bgColor:n}=e;return n?t.colors[n]:t.colors.fill}),(e=>{let{border:t=!0,theme:n}=e;return t&&`border-bottom: 2px solid ${n.colors.border};`}),(e=>{let{borderTop:t=!1,theme:n}=e;return t&&`border-top: 2px solid ${n.colors.borderLight};`}),(e=>{let{error:t,theme:n}=e;return t&&`border: 2px solid ${n.colors.error};`})),ti=p.Ay.div.withConfig({componentId:"sc-pypgzq-7"})(["display:grid;grid-template-columns:repeat(auto-fill,minmax(90px,1fr));flex:1;gap:4px;",";"],(e=>{let{maxHeight:t}=e;return t&&`\n      max-height: ${t}px;\n      overflow: auto;\n    `})),ni=(0,p.Ay)(s.so).withConfig({componentId:"sc-pypgzq-8"})(["justify-content:flex-start;cursor:",";background:",";padding:8px;border-radius:",";height:auto;","{max-width:100;text-align:center;}"," &:hover{","}"],(e=>{let{incompatible:t}=e;return t?"default":"pointer"}),(e=>{let{theme:t}=e;return t.colors.fillMedium}),"2px",s.EY,(e=>{let{incompatible:t,theme:n}=e;return t&&`\n      background: ${n.colors.disabled};\n      ${s.EY} { color: ${n.colors.textDisabled}; }\n      img { filter: grayscale(1) opacity(0.5); }\n    `}),(e=>{let{theme:t,incompatible:n}=e;return!n&&`background:  ${(0,Ee.Qw)(.03,t.colors.fillMedium)};`})),ri=p.Ay.div.withConfig({componentId:"sc-pypgzq-9"})(["display:flex;justify-content:center;align-items:center;position:relative;width:100%;height:60px;margin:auto;background-color:",";> img{object-fit:contain;height:100%;width:100%;}"],(e=>{let{theme:t}=e;return t.colors.transparentBg})),ii=(0,p.Ay)(ri).withConfig({componentId:"sc-pypgzq-10"})(["width:60px;display:flex;align-items:center;justify-content:center;"]),oi=(0,p.Ay)(br).withConfig({componentId:"sc-pypgzq-11"})(["max-height:230px;overflow:auto;padding-top:5px;width:150px;"]),ai=(0,p.Ay)(s.EY).withConfig({componentId:"sc-pypgzq-12"})(["margin-top:auto;"]),si=p.Ay.div.withConfig({componentId:"sc-pypgzq-13"})(["font-size:14px;color:",";"],(e=>{let{theme:t}=e;return t.colors.textLight})),li=p.Ay.h3.withConfig({componentId:"sc-pypgzq-14"})(["margin:0;font-size:20px;"]),ci=(0,p.Ay)(s.BS).withConfig({componentId:"sc-pypgzq-15"})(["opacity:0.9;z-index:1;"]),ui=(0,p.Ay)(s.EY).withConfig({componentId:"sc-pypgzq-16"})(["margin-bottom:6px;"]),di=()=>{const{t:e}=(0,d.B)(),t=(0,c.jL)(),n=(0,c.GV)(bn.Lt.canCreate),r=(0,c.GV)(bn.Lt.showCreateModal),o=(0,c.GV)(bn.Lt.type);return r?(0,m.jsx)(Wr,{}):n?(0,m.jsx)(pi,{className:"pb-3 h-100",justify:"center",align:"center",children:(0,m.jsxs)(hi,{large:!0,bgColor:"accent",color:"accentText",icon:i.QLR,onClick:()=>t((0,In.Kr)(!0)),children:[`${e("action.create","Create")}`," ",(0,m.jsx)("span",{className:"text-lowercase",children:e("article"===o?"product.article_one":"refinement.refinement_one")})]})}):null},pi=(0,p.Ay)(s.so).withConfig({componentId:"sc-gfgsha-0"})(["backdrop-filter:blur(5px) grayscale(0.8);"]),hi=(0,p.Ay)(s.K0).withConfig({componentId:"sc-gfgsha-1"})(["",""],(e=>{let{theme:t}=e;return t.shadows.high}));var fi=n(40716),mi=n(47787),gi=n(57158);const vi=e=>{let{products:t,relatedProductNumbers:n,relatedVariations:r,selectedVariationNumber:o,selectedVariationColors:a,onRemoveVariation:l,onAddVariation:p,onModifyVariation:h,onSaveAndClose:f,onVariationSelected:g,skuLevel:v="sku",onToggleSkuLevel:y,pending:A}=e;const b=(0,c.jL)(),{t:w}=(0,d.B)(),[x,C]=(0,u.useState)(!1);(0,u.useEffect)((()=>{if(!n)return;const e=Object.values(n).flat();e.length&&b((0,L.Sz)(e))}),[n,b]);const S=(e,n)=>{var r;const i=t.find((e=>e.productNumber===n));null!==i&&void 0!==i&&null!==(r=i.variations)&&void 0!==r&&r.find((t=>t.variationNumber===e))||p(e,n)};return(0,m.jsxs)(Si,{className:"position-relative p-3",column:!0,children:[(0,m.jsxs)(s.so,{className:"mb-3",$wrap:!0,align:"start",gap:"1.2rem",children:[(0,m.jsx)(yi,{children:(0,m.jsx)(mi.A,{suggestionsMaxHeight:315,className:"",hideQuantity:!0,variationOnly:!0,onProductAdded:e=>{let{product:t}=e;null!==t&&void 0!==t&&t.variationNumber&&t.productNumber&&S(t.variationNumber,t.productNumber)}})}),(0,m.jsx)(s.so,{$wrap:!0,gap:"0.5rem",children:null===r||void 0===r?void 0:r.map((e=>e.products.length>0&&(0,m.jsxs)(Ai,{column:!0,children:[(0,m.jsx)(s.EY,{as:"label",fontSize:11,bold:!0,children:e.label}),(0,m.jsx)(s.so,{$wrap:!0,children:e.products.map((e=>(0,m.jsxs)(xi,{column:!0,className:"mr-1 mb-1 pointer",children:[(0,m.jsx)(Ci,{children:(0,m.jsx)("img",{alt:"",src:(0,X.Ay)(e.image,X.yj.ThumbNail)})}),(0,m.jsx)(s.EY,{center:!0,fontSize:10,extraBold:!0,className:"mt-1",children:e.name}),(0,m.jsxs)(s.EY,{center:!0,fontSize:10,className:"mt-1",children:[e.variationNumber," / ",e.color]}),(0,m.jsx)(wi,{align:"center",justify:"center",onClick:()=>S(e.variationNumber,e.productNumber),children:(0,m.jsx)(s.K0,{className:"",icon:J.QLR})})]},e.variationNumber)))})]},e.label)))})]}),y&&(0,m.jsx)(yi,{children:(0,m.jsx)(s.VO,{small:!1,className:"mb-3 mt-2",valueLabelLeft:w("collection.variations_other"),valueLabelRight:w("product.article_other"),checked:"sku"===v,onClick:()=>{y("sku"===v?"variation":"sku")}})}),(0,m.jsx)("div",{className:"flex-grow-1",children:t.map((e=>{var t,n,r;const c=null!==(t=null===(n=e.variations)||void 0===n?void 0:n.map((e=>({...e,skus:ki(e,v)}))))&&void 0!==t?t:[],u=c.some((e=>e.variationNumber===o));return(0,m.jsxs)("div",{className:"mb-3",children:[(0,m.jsx)(fi.A,{autoWidth:"auto",hideCartBadge:!0,rowAction:{icon:K.yLS,id:"remove",action:e=>{let{variationNumber:t}=e;l(t)}},firstColCellLabel:null!==(r=e.productName)&&void 0!==r?r:"",variations:c,selectedVariation:o,onVariationSelect:e=>{C(!1),e.variationNumber&&e.variationNumber!==o&&g(e.variationNumber)},onQuantityChange:(e,t,n,r)=>{((e,t,n)=>{h(e,t,n)})(n,e,t)},cells:Ei(c),addToCartEnabled:!A,variationMinQts:{}}),a&&(0,m.jsxs)(s.so,{align:"center",children:[(0,m.jsx)(s.K0,{bgColor:"fillMedium",icon:u&&x?i.EZy:J.QLR,onClick:()=>{var t;if(null!==(t=e.variations)&&void 0!==t&&t.map((e=>e.variationNumber)).includes(o))C(!x);else{var n,r;const t=null===(n=e.variations)||void 0===n||null===(r=n[0])||void 0===r?void 0:r.variationNumber;t&&(g(t),C(!0))}},className:"my-2"}),(0,m.jsx)(s.EY,{small:!0,bold:!0,className:"ml-1",children:w("cart.addVariation")})]}),u&&null!==a&&void 0!==a&&a.length?(0,m.jsx)(m.Fragment,{children:x&&(0,m.jsxs)(bi,{$wrap:!0,gap:"0.5rem",className:"p-2",children:[!a.length&&(0,m.jsx)(Y.A,{height:100}),null===a||void 0===a?void 0:a.map((e=>(0,m.jsxs)(xi,{column:!0,className:"pointer",children:[(0,m.jsx)(Ci,{children:(0,m.jsx)("img",{alt:"",src:(0,X.Ay)(e.image,X.yj.ThumbNail)})}),(0,m.jsx)(s.EY,{center:!0,fontSize:10,extraBold:!0,className:"mt-1 text-capitalize",children:e.color}),(0,m.jsx)(s.EY,{center:!0,fontSize:10,className:"mt-1",children:e.variationNumber}),(0,m.jsx)(wi,{align:"center",justify:"center",onClick:()=>S(e.variationNumber,e.productNumber),children:(0,m.jsx)(s.K0,{className:"",icon:J.QLR})})]},e.variationNumber)))]})}):null]},e.productNumber)}))}),(0,m.jsx)(s.so,{justify:"end",children:(0,m.jsx)(s.K0,{disabled:A,pending:A,square:!0,bgColor:"accent",color:"accentText",icon:i.e68,onClick:f,children:w("action.ok")})})]})},yi=p.Ay.div.withConfig({componentId:"sc-1v29tsg-0"})(["width:280px;"]),Ai=(0,p.Ay)(s.so).withConfig({componentId:"sc-1v29tsg-1"})([""]),bi=(0,p.Ay)(s.so).withConfig({componentId:"sc-1v29tsg-2"})(["background-color:",";width:fit-content;"],(e=>{let{theme:t}=e;return t.colors.fillWhite})),wi=(0,p.Ay)(s.so).withConfig({componentId:"sc-1v29tsg-3"})(["position:absolute;left:0;top:0;height:100%;width:100%;color:white;opacity:0;backdrop-filter:brightness(80%);transition:opacity 0.15s linear;"]),xi=(0,p.Ay)(s.so).withConfig({componentId:"sc-1v29tsg-4"})(["width:80px;line-height:11px;position:relative;&:hover ","{opacity:1;}"],wi),Ci=p.Ay.div.withConfig({componentId:"sc-1v29tsg-5"})(["width:100%;height:65px;position:relative;img{object-fit:contain;height:100%;width:100%;background:white;padding:2px;}"]),Si=(0,p.Ay)(s.so).withConfig({componentId:"sc-1v29tsg-6"})(["min-height:400px;"]);function ki(e,t){const n="sku"===t?null===e||void 0===e?void 0:e.skus:[{name:"",sku:e.variationNumber,sort:1,quantity:e.quantity}];return null!==n&&void 0!==n?n:[]}function Ei(e){const t=new Map,n=null===e||void 0===e?void 0:e.flatMap((e=>e.skus)).filter(gi.A);if(null===n||void 0===n||!n.length)return t;for(const r of n)r.sku&&t.set(r.sku,r.quantity);return t}const Ii=()=>{var e;const t=(0,c.jL)(),{t:n}=(0,d.B)(),r=(0,c.GV)(bn.Lt.collectionMatrix),i=(0,c.GV)(bn.Lt.relatedProductNumbers),o=(0,c.GV)(bn.Lt.relatedVariations),a=(0,c.GV)(bn.Lt.selectedVariationNr),s=(0,c.GV)(bn.Lt.refinements),l=!(null===(e=(0,c.GV)(bn.Lt.splits))||void 0===e||!e.splits.length),u=(0,c.GV)(bn.Lt.names),p=(0,c.GV)(bn.Lt.origin),h=()=>{t((0,In.J0)(!1));const e="CollectionTool"===p?[]:r.flatMap((e=>e.variations)).filter((e=>!e.skus.length)),n=e.flatMap((e=>s.filter((t=>{var n;return e.variationNumber&&(null===(n=t.variations.variationNumbers)||void 0===n?void 0:n.includes(e.variationNumber))&&1===t.variations.variationNumbers.length}))));(0,Rn.vA)((()=>{e.forEach((e=>e.variationNumber&&t((0,In.gY)(e.variationNumber)))),n.forEach((e=>t((0,In.Av)(e.guid))))})),t((0,In.xe)())};return(0,m.jsx)(_i,{padLeft:l,className:"p-4",children:(0,m.jsxs)(Pi,{column:!0,children:[(0,m.jsxs)(Oi,{className:"p-3 text-center flex-grow-1",children:[n("action.add")," / ",n("action.remove")," ",n("product.article_other")]}),(0,m.jsx)(vi,{products:r.map((e=>({...e,productName:e.name,variations:e.variations.map((e=>{var t;return{...e,skus:"CollectionTool"===p?[]:null===(t=e.productSkus)||void 0===t?void 0:t.map((t=>{var n;const r=e.skus.find((e=>e.sku===t.sku));return{...t,quantity:null!==(n=null===r||void 0===r?void 0:r.quantity)&&void 0!==n?n:0}}))}}))}))),relatedProductNumbers:i,relatedVariations:o,onAddVariation:async(e,n)=>{await t((0,In._6)({vnr:e,variation:{productNumber:n,skus:[]}})),t((0,In.R$)(e))},onModifyVariation:(e,n,i)=>{var o,a;const s=r.find((t=>t.variations.some((t=>t.variationNumber===e)))),l=null===s||void 0===s?void 0:s.variations.find((t=>t.variationNumber===e));if(!l)return;const c=null!==(o=null===(a=l.skus)||void 0===a?void 0:a.filter((e=>e.sku!==n)))&&void 0!==o?o:[],u={sku:n,quantity:i},d=i?[...c,u]:c,p={...l,skus:d};t((0,In._6)({vnr:e,variation:p}))},onRemoveVariation:e=>{const r=s.filter((t=>{var n;return(null===(n=t.variations.variationNumbers)||void 0===n?void 0:n.includes(e))&&1===t.variations.variationNumbers.length})),i=r.map((e=>{var t,n,r,i;return`${u[e.guid]} - ${null!==(t=null===(n=e.variations.data)||void 0===n?void 0:n.width)&&void 0!==t?t:""}x${null!==(r=null===(i=e.variations.data)||void 0===i?void 0:i.height)&&void 0!==r?r:""}cm`})),o={stretchButtons:!0,title:n("warning.note","Note!"),description:`${n("article.deleteWarning",{name:e})}\n       ${i.length?`${n("collection.refinementsRemovedWarning","The following refinements are only placed on this article and will also be removed: ")}\n\n        ${i.join("\r\n")}\n       `:""}`,onOk:()=>{(0,Rn.vA)((()=>{t((0,In.gY)(e)),r.forEach((e=>t((0,In.Av)(e.guid))))}))}};t((0,f.wp)(o))},onSaveAndClose:()=>{const e="CollectionTool"===p?[]:r.flatMap((e=>e.variations)).filter((e=>!e.skus.length)).map((e=>`${e.productName} - ${e.color}`));if(!e.length)return void h();const i={stretchButtons:!0,title:n("warning.note","Note!"),description:n("collection.noSkuWarning","The following articles have no selected quantities and will be removed: ")+"\r\n\r\n"+e.join("\r\n"),onOk:h};t((0,f.wp)(i))},onVariationSelected:e=>t((0,In.R$)(e)),selectedVariationNumber:a})]})})},_i=p.Ay.div.withConfig({componentId:"sc-u4ufh3-0"})(["",""],(e=>{let{padLeft:t}=e;return t&&"padding-left: 115px !important;"})),Pi=(0,p.Ay)(s.so).withConfig({componentId:"sc-u4ufh3-1"})([""," background-color:",";z-index:100;"],(e=>{let{theme:t}=e;return t.shadows.high}),(e=>{let{theme:t}=e;return t.colors.fill})),Oi=p.Ay.h3.withConfig({componentId:"sc-u4ufh3-2"})(["background:",";font-size:20px;margin-bottom:0;"],(e=>{let{theme:t}=e;return t.colors.fillMedium}));var Ti=n(77738);const Di=()=>{var e,t,n,r,i,o,a,s,l,d,p,h,f,g;const v=(0,c.GV)(bn.j1),y=(0,c.jL)(),A=(0,u.useMemo)((()=>Mn()((e=>{y((0,In.Yz)({quantity:e},null===v||void 0===v?void 0:v.guid))}),400)),[y,null===v||void 0===v?void 0:v.guid]),b=async e=>{const t=async(e,t)=>{if("values"===e){var n,r;const e=t;y((0,In.jJ)({text:{textValues:e,characters:e.reduce(((e,t)=>{var n,r,i;return e+(null!==(n=null===t||void 0===t?void 0:t.quantity)&&void 0!==n?n:0)*(null!==(r=null===t||void 0===t||null===(i=t.value)||void 0===i?void 0:i.length)&&void 0!==r?r:1)}),0)},guid:null===v||void 0===v?void 0:v.guid}));const i=null===v||void 0===v||null===(n=v.preview.data)||void 0===n||null===(r=n.textOptions)||void 0===r?void 0:r.priceByCharacter,o=e.reduce(((e,t)=>{var n,r,o;return e+(null!==(n=null===t||void 0===t?void 0:t.quantity)&&void 0!==n?n:0)*(i?null!==(r=null===t||void 0===t||null===(o=t.value)||void 0===o?void 0:o.length)&&void 0!==r?r:0:1)}),0);A(o)}else if("color"===e){const e=t;y((0,In.kM)({guid:null===v||void 0===v?void 0:v.guid,fileData:{colors:[{sourceHex:null===e||void 0===e?void 0:e.hex,sourceName:null===e||void 0===e?void 0:e.name,visible:!0}]}}))}else if("font"===e)y((0,In.jJ)({text:{font:t},guid:null===v||void 0===v?void 0:v.guid}));else if("size"===e){var i;const e=t,n=null===v||void 0===v||null===(i=v.preview.data)||void 0===i?void 0:i.sizeMode,r=n===be.SizeMode.FixedWidths?e:void 0,o=n===be.SizeMode.FixedHeights?e:void 0;y((0,In.Yz)({width:r,height:o,size:null!==r&&void 0!==r?r:o},null===v||void 0===v?void 0:v.guid))}};for(const[n,r]of Object.entries(e))await t(n,r)},w=null===v||void 0===v||null===(e=v.variations.colors)||void 0===e?void 0:e[0];return(0,m.jsx)(ji,{className:"h-100",justify:"center",align:"center",children:(0,m.jsx)(Bi,{sizeMode:null===v||void 0===v||null===(t=v.preview.data)||void 0===t?void 0:t.sizeMode,textOptions:null===v||void 0===v||null===(n=v.preview.data)||void 0===n?void 0:n.textOptions,fixedColors:null===v||void 0===v||null===(r=v.preview.data)||void 0===r?void 0:r.fixedColors,values:[{size:null!==(i=null===v||void 0===v||null===(o=v.variations.data)||void 0===o?void 0:o.size)&&void 0!==i?i:0,font:null===v||void 0===v||null===(a=v.variations.text)||void 0===a?void 0:a.font,color:{name:null===w||void 0===w?void 0:w.sourceName,hex:null===w||void 0===w?void 0:w.sourceHex},items:(null===v||void 0===v||null===(s=v.variations.text)||void 0===s?void 0:s.textValues)||[]}],sizes:(null===v||void 0===v||null===(l=v.preview.data)||void 0===l?void 0:l.sizes)||[],selectedText:{size:null!==(d=null===v||void 0===v||null===(p=v.variations.data)||void 0===p?void 0:p.size)&&void 0!==d?d:0,font:null===v||void 0===v||null===(h=v.variations.text)||void 0===h?void 0:h.font,color:{name:null===w||void 0===w?void 0:w.sourceName,hex:null===w||void 0===w?void 0:w.sourceHex}},onSelectText:e=>b(e),onQuantityChange:e=>{var t;return b({values:null===e||void 0===e||null===(t=e[0])||void 0===t?void 0:t.items})},useValuesAsMatrix:"Namn"===(null===v||void 0===v||null===(f=v.preview)||void 0===f||null===(g=f.data)||void 0===g?void 0:g.name)})})},ji=(0,p.Ay)(s.so).withConfig({componentId:"sc-1hisrv8-0"})(["backdrop-filter:blur(5px) grayscale(0.8);"]),Bi=(0,p.Ay)(Ti.A).withConfig({componentId:"sc-1hisrv8-1"})(["background:",";padding:25px;max-width:750px;"],(e=>{let{theme:t}=e;return t.colors.fill})),Ni=e=>{var t,n,r,a,l,p,h,f,g,v,y,A,b,w,x,C;let{fullScreen:S}=e;const k=(0,c.GV)(bn.Lt.filesPending),E=(0,c.GV)(bn.Lt.canvasStatus),I=(0,c.GV)(bn.Lt.config),_=(0,u.useRef)(null),P=(0,u.useRef)(null),O=(0,u.useRef)(null),T=(0,u.useRef)(null),D=(0,u.useRef)(null),j=(0,u.useRef)(),B=(0,c.GV)(bn.Lt.toast),N=(0,c.GV)(bn.Lt.refinementsPlacementAdjusted),[M,R]=(0,u.useState)(!0),[L,F]=(0,u.useState)(!0),z=(0,c.GV)(bn.Lt.positionIsDarkBg),Q=(0,c.GV)(bn.Lt.activeRefinements),U=(0,c.GV)(bn.Lt.selectedRefinement),V=(0,c.GV)(bn.Lt.refinements),G=(0,c.GV)(bn.Lt.selectedVariationNr),q=null===_||void 0===_||null===(t=_.current)||void 0===t?void 0:t.getBoundingClientRect(),H=(0,c.GV)(bn.Lt.backgroundImages),W=(0,c.GV)(bn.Lt.shouldPlaceObject),Y=(0,c.GV)(bn.Lt.type),J=(0,c.GV)(bn.Lt.refinementTypes),X=(0,c.GV)(bn.Lt.create),Z=(0,c.GV)(bn.Lt.activeCanvasFiles),$=(0,c.GV)(bn.Lt.filesEnabled),ee=(0,c.GV)(bn.Lt.printInfo),te=(0,c.GV)(bn.Lt.size),ne=(0,c.GV)(bn.Lt.showModifyCollection),re=(0,c.GV)(bn.Lt.showProductAddons),ie=(0,c.GV)(bn.Lt.backgroundProductsPending),oe=(0,c.GV)(bn.Lt.backgroundProductsError),ae=(0,c.GV)(bn.Lt.backgroundProduct),se=(0,c.GV)(bn.Lt.collectionIsEmpty),le=(0,c.GV)(bn.Lt.submitting),ce=(0,c.jL)(),{t:ue}=(0,d.B)(),de=(0,u.useMemo)((()=>{var e,t;return(null===H||void 0===H||null===(e=H.imageAreas)||void 0===e||null===(t=e.areas)||void 0===t?void 0:t.find((e=>/^constrained/i.test(e.type))))||null}),[null===H||void 0===H?void 0:H.imageAreas]);(0,u.useEffect)((()=>{if("refinement"===Y){var e,t;const r=(0,In.mU)();if(null!==(e=H.image)&&void 0!==e&&e.invalid)(0,In.JP)({backgroundImage:"",canvas:r}).then((()=>{ce((0,In.aj)(!0))}));else if(null!==(t=H.image)&&void 0!==t&&t.src){var n;j.current!==(null===H||void 0===H||null===(n=H.image)||void 0===n?void 0:n.src)&&(0,In.JP)({backgroundImage:H.image.src,canvas:r}).then((()=>{var e,t,n,r;ce((0,In.aj)(!0)),ce((0,In.Sm)({measurement:null===(e=H.imageAreas)||void 0===e?void 0:e.measurement})),ce((0,In.BH)(null===(t=H.imageAreas)||void 0===t?void 0:t.areas)),j.current=null!==(n=null===H||void 0===H||null===(r=H.image)||void 0===r?void 0:r.src)&&void 0!==n?n:""}))}else(0,In.JP)({backgroundImage:"",canvas:r}).then((()=>{ce((0,In.aj)(!1))})),j.current=""}}),[null===H||void 0===H?void 0:H.image,null===H||void 0===H||null===(n=H.imageAreas)||void 0===n?void 0:n.areas,null===(r=H.imageAreas)||void 0===r?void 0:r.measurement,Y,ce]),(0,u.useEffect)((()=>{var e;"article"===Y&&((null===U||void 0===U||null===(e=U.preview.data)||void 0===e?void 0:e.sizeMode)===be.SizeMode.FixedDimensions&&U.preview.data.dimensions?ce((0,In.to)(U.preview.data.dimensions,void 0,null===U||void 0===U?void 0:U.guid)):ce((0,In.UK)()))}),[Y,null===U||void 0===U||null===(a=U.preview.data)||void 0===a?void 0:a.sizeMode,null===U||void 0===U||null===(l=U.preview.data)||void 0===l?void 0:l.dimensions,null===U||void 0===U?void 0:U.guid,ce]),(0,u.useEffect)((()=>{var e;const t=(0,In.mU)();t.setViewportTransform([1,0,0,1,0,0]),ce((0,In.Pf)({zoom:100})),null===(e=t.getActiveObject())||void 0===e||e.setControlsVisibility({pinControl:!0,unpinControl:!1})}),[ce,null===H||void 0===H||null===(p=H.image)||void 0===p?void 0:p.src]);const pe=(0,u.useCallback)((e=>{const t=(0,In.mU)();for(const r of e){t.remove(r);const e=r.data;var n;if(null!==e&&void 0!==e&&e.guid&&e.canvasFileId)ce((0,In.ok)({...e,newCanvasPreview:"refinement"===Y?null===(n=(0,In.uv)(Y))||void 0===n?void 0:n.preview:void 0})),ce((0,In.xe)())}t.discardActiveObject(),t.renderAll()}),[ce,Y,In.mU]);(0,u.useEffect)((()=>{if(G&&"refinement"===Y&&!ie){var e;const[,t]=null!==(e=G.match(/(\w+)?[-]?(\d+)?/))&&void 0!==e?e:[];t&&(null===ae||void 0===ae?void 0:ae.productNumber)!==t&&!oe[t]&&ce((0,In.RE)(t))}}),[G,Y,ie,ae,oe,ce]),(0,u.useEffect)((()=>{ce((0,In.g1)())}),[Q,ce]),(0,u.useEffect)((()=>{const e=()=>{var e,t;const n=(0,In.mU)(),r=null===_||void 0===_||null===(e=_.current)||void 0===e?void 0:e.getBoundingClientRect();if(!r)return;const{width:i,height:o}=n;if(n.setDimensions({width:r.width,height:r.height}),i===r.width&&o===r.height)return;const a=n.backgroundImage;if(!a)return;const s=n.getWidth(),l=n.getHeight();a.getScaledWidth()>a.getScaledHeight()?a.scaleToWidth(Math.min(l,s)):a.scaleToHeight(Math.min(l,s)),a.set({top:r.height/2,left:r.width/2}),ce((0,In.BH)(null===(t=H.imageAreas)||void 0===t?void 0:t.areas)),n.getObjects().forEach((e=>{var t,r;if(e.data&&(null===(t=e.data)||void 0===t||!t.areaType)){var i,o,a,s;const t=(0,In.U0)(V,e.data.guid);if(!t)return;const r=null===J||void 0===J||null===(i=J.refinementTypes.find((e=>{var n;return e.refinement.id===(null===(n=t.variations.data)||void 0===n?void 0:n.id)})))||void 0===i||null===(o=i.refinement)||void 0===o?void 0:o.sizeMode;(0,Fn.Lq)(n,e,t,null===(a=H.imageAreas)||void 0===a?void 0:a.measurement,null===(s=e.data)||void 0===s?void 0:s.position,r)}null===(r=e.canvas)||void 0===r||r.renderAll()})),n.requestRenderAll()};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)}),[_,V,null===te||void 0===te?void 0:te.mode,null===(h=H.imageAreas)||void 0===h?void 0:h.measurement,null===(f=H.imageAreas)||void 0===f?void 0:f.areas,null===J||void 0===J?void 0:J.refinementTypes,ce]);const he=(0,u.useMemo)((()=>{var e,t;return null===Z||void 0===Z||null===(e=Z[0])||void 0===e||null===(t=e.position)||void 0===t?void 0:t.h}),[Z]);(0,u.useEffect)((()=>{if(le)return void(0,In.mU)().off();const e=(0,In.mU)(),t=function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];const t=(0,In.uv)(Y,e);ce((0,In.Jk)({base64:null===t||void 0===t?void 0:t.preview,placed:e})),e&&ce((0,In.kM)({fileData:{sampleFile:null===t||void 0===t?void 0:t.sample}}))},n=Mn()((n=>{var r;if(n.set({data:{...n.data,autoSizeLocked:!0}}),ce((0,In.bF)(!0)),t(),"article"!==Y)return;const i=n.getScaledHeight(),o=n.getScaledWidth();let a=e.getHeight()*(null!==he&&void 0!==he?he:200)/(null!==(r=null===te||void 0===te?void 0:te.height)&&void 0!==r?r:8);const s=+(i/a).toFixed(1),l=+(o/a).toFixed(1);ce((0,In.Yz)({width:l,height:s,size:l*s})),(0,In.XZ)(n)}),300),r=e=>{setTimeout((()=>{var n;!!e.target&&!(null===(n=e.target.data)||void 0===n||!n.savePreviewOnPlace)&&t(!0)}),300)},i=n=>{setTimeout((()=>{var r,i,a,s;if(t(),null==n.target)return;const l=e.getZoom(),[,,,,c,u]=e.viewportTransform||[1,0,0,1,0,0],d=null===(r=n.target)||void 0===r?void 0:r.getBoundingRect();var p,h,f,m,g;(o().forEach((e=>{var t;const r=e.getBoundingRect(),{left:i,top:o,width:a,height:s}=r,p=(i-c)/l,h=(o-u)/l,f=a/l,m=s/l;var g;d&&O.current&&d.left<p+f&&d.left+d.width>p&&d.top<h+m&&d.top+d.height>h&&"nonPrintable"===(null===(t=e.data)||void 0===t?void 0:t.areaType)&&(null===n||void 0===n||null===(g=n.target)||void 0===g||g.set({left:O.current.left,top:O.current.top}))})),[be.SizeMode.SquareCm,be.SizeMode.None].includes(null===te||void 0===te?void 0:te.mode)&&null!==(i=H.imageAreas)&&void 0!==i&&i.measurement||null!==U&&void 0!==U&&null!==(a=U.preview)&&void 0!==a&&null!==(s=a.data)&&void 0!==s&&s.dimensions)&&ce((0,In.F4)({obj:n.target,measurement:null!==(p=null===(h=H.imageAreas)||void 0===h?void 0:h.measurement)&&void 0!==p?p:(0,In.zz)(null===U||void 0===U||null===(f=U.preview)||void 0===f||null===(m=f.data)||void 0===m||null===(g=m.dimensions)||void 0===g?void 0:g.width)}));ce((0,In.jq)({obj:n.target})),O.current=null,T.current=null}),400)},o=()=>(0,In.mU)().getObjects().filter((e=>{var t;return null===(t=e.data)||void 0===t?void 0:t.areaType})),a=e=>{o().forEach((t=>t.set({visible:e})))},s=(e,t)=>{var n;null===e||void 0===e||null===(n=e.set)||void 0===n||n.call(e,{hasControls:t,hasBorders:t})},l=t=>{var r,i,o,s,l;const c=t.target;(c.flipY||c.flipX)&&(c.set({flipY:!1,flipX:!1}),e.requestRenderAll()),a(!0),null===D.current&&(D.current={left:+c.left,top:+c.top});const u=null!==U&&void 0!==U&&null!==(r=U.preview.data)&&void 0!==r&&r.dimensions?(0,In.zz)(null===U||void 0===U||null===(i=U.preview.data)||void 0===i||null===(o=i.dimensions)||void 0===o?void 0:o.width):null===(s=H.imageAreas)||void 0===s?void 0:s.measurement;if(u){var d,p,h;const t=e.backgroundImage,{width:n,height:r}=(0,Fn.SC)(c,t,u),i=n*r;let o;if(null!==te&&void 0!==te&&te.maxSize&&i>te.maxSize?o=te.maxSize:null!==te&&void 0!==te&&te.minSize&&i<te.minSize&&(o=te.minSize),null!==U&&void 0!==U&&null!==(d=U.preview.data)&&void 0!==d&&null!==(p=d.dimensions)&&void 0!==p&&p.width){const t=U.preview.data.dimensions.width;n>=t&&(T.current?c.set({left:T.current.left,top:T.current.top}):T.current={left:+c.left,top:+c.top},c.setCoords(),(0,Fn.Cv)(e,c,u,t))}if(void 0!==o){var f,m;const e=Math.sqrt(o/i);c.scaleX=(null!==(f=c.scaleX)&&void 0!==f?f:1)*e,c.scaleY=(null!==(m=c.scaleY)&&void 0!==m?m:1)*e,D.current||(D.current={left:c.left,top:c.top})}else D.current=null;D.current&&void 0!==o&&c.set({left:D.current.left,top:D.current.top});const a=e.getZoom(),[,,,,s,l]=e.viewportTransform||[1,0,0,1,0,0],g=c.getBoundingRect();let v=!1;if(e.getObjects().filter((e=>{var t;return"nonPrintable"===(null===(t=e.data)||void 0===t?void 0:t.areaType)})).forEach((e=>{const t=e.getBoundingRect(),{left:n,top:r,width:i,height:o}=t,c=(n-s)/a,u=(r-l)/a,d=i/a,p=o/a;g.left<c+d&&g.left+g.width>c&&g.top<u+p&&g.top+g.height>u&&(v=!0)})),null!==(h=c.data)&&void 0!==h&&h.originalGeometry&&v&&((null===c||void 0===c?void 0:c.scaleX)>c.data.originalGeometry.scaleX||(null===c||void 0===c?void 0:c.scaleY)>c.data.originalGeometry.scaleY)){const e=c.data.originalGeometry;c.set({left:e.left,top:e.top,scaleX:e.scaleX||1,scaleY:e.scaleY||1})}else{const e={top:c.top,left:c.left,scaleX:c.scaleX,scaleY:c.scaleY};c.data&&(c.data.originalGeometry=e)}c.setCoords(),e.requestRenderAll()}(null===U||void 0===U||null===(l=U.preview.data)||void 0===l?void 0:l.sizeMode)!==be.SizeMode.FixedDimensions&&n(c);const g=(0,In.b7)();if(g.length>1){const e=c.getScaledWidth(),t=c.getScaledHeight();for(const n of g)n.getScaledHeight()===t&&n.getScaledWidth()===e||(n.scaleToHeight(t),n.scaleToWidth(e))}},c=e=>{const t=e.target;O.current||(O.current={left:+t.left,top:+t.top}),a(!0),(0,Fn.B0)(e.target)},u=t=>{const n="selected"in t?t.selected:void 0,r="deselected"in t?t.deselected:void 0;if(n&&n.length>1)return e.setActiveObject(n[0]),void s(n[0],!0);if((!n||n.length<1)&&r&&r.length)s(r[0],!1);else if(null!==n&&void 0!==n&&n.length){var i;const e=null===(i=n[0])||void 0===i?void 0:i.data;null!==e&&void 0!==e&&e.guid&&ce((0,In.zH)(e.guid))}},d=t=>{var n;if(!t.target)return;s(t.target,!0),a(!1);const r=e.getZoom(),[,,,,i,l]=e.viewportTransform||[1,0,0,1,0,0],{x:c,y:u}=e.getViewportPoint(t.e),d=(c-i)/r,p=(u-l)/r,h=null===(n=t.target)||void 0===n?void 0:n.getBoundingRect();o().forEach((e=>{var n;const o=e.getBoundingRect(),{left:a,top:s,width:c,height:u}=o,f=(a-i)/r,m=(s-l)/r,g=c/r,v=u/r,y=d>=f&&d<=f+g&&p>=m&&p<=m+v,A=null===(n=e.data)||void 0===n?void 0:n.areaType;if(y&&A&&/^preff?err?ed/i.test(A)){var b,w,x,C;const e=null===(b=t.target)||void 0===b?void 0:b.data;if((null===e||void 0===e||!e.autoSizeLocked)&&(null===e||void 0===e||null===(w=e.text)||void 0===w||!w.value)&&(null!==(x=null===U||void 0===U||null===(C=U.variations)||void 0===C?void 0:C.articleId)&&void 0!==x?x:0)<=0){var S,k,E,I,_;const e=(null!==(S=null===t||void 0===t||null===(k=t.target)||void 0===k?void 0:k.width)&&void 0!==S?S:0)/(null!==(E=null===t||void 0===t||null===(I=t.target)||void 0===I?void 0:I.height)&&void 0!==E?E:0)>c/u,n=e?"scaleToWidth":"scaleToHeight";null===(_=t.target)||void 0===_||_[n](e?c*r:u*r)}var P;null!==e&&void 0!==e&&e.autoPositionLocked&&(null===(P=t.target)||void 0===P||P.set({left:a+c/2,top:s+u/2}))}else{var T;if(h&&O.current&&h.left<f+g&&h.left+h.width>f&&h.top<m+v&&h.top+h.height>m&&"nonPrintable"===A)null===(T=t.target)||void 0===T||T.set({left:O.current.left,top:O.current.top});else;}}))},p=Mn()((t=>{null===e||void 0===e||e.fire("object:modified",{target:t})}),350),h=Mn()((()=>{o().forEach((e=>e.visible=!0)),e.renderAll()}),300,{leading:!0}),f=t=>{const n=t.key,r=null===e||void 0===e?void 0:e.getActiveObjects();if(r&&e){if(["ArrowLeft","ArrowUp","ArrowRight","ArrowDown"].includes(n)){const t=["ArrowLeft","ArrowRight"].includes(n)?"left":"top",i=["ArrowRight","ArrowDown"].includes(n)?1:-1;h();for(const e of r)O.current||(O.current={left:e.left,top:e.top}),e[t]=e[t]?e[t]+i:i,p(e),(0,Fn.B0)(e);e.requestRenderAll()}["Delete"].includes(n)&&pe(r)}};return e.on("object:added",r),e.on("object:modified",i),e.on("object:scaling",l),e.on("object:moving",c),e.on("selection:created",u),e.on("selection:updated",u),e.on("selection:cleared",u),e.on("mouse:up",d),document.addEventListener("keydown",f,!0),()=>{e.off({"object:added":r,"object:modified":i,"object:scaling":l,"object:moving":c,"selection:created":u,"selection:updated":u,"selection:cleared":u,"mouse:up":d}),document.removeEventListener("keydown",f,!0)}}),[q,ce,S,Y,he,null===te||void 0===te?void 0:te.mode,null===te||void 0===te?void 0:te.height,null===te||void 0===te?void 0:te.minSize,null===te||void 0===te?void 0:te.maxSize,null===U||void 0===U||null===(g=U.variations)||void 0===g?void 0:g.articleId,null===(v=H.image)||void 0===v?void 0:v.angle,H.imageAreas,null===U||void 0===U||null===(y=U.preview)||void 0===y||null===(A=y.data)||void 0===A?void 0:A.dimensions,null===U||void 0===U||null===(b=U.preview)||void 0===b||null===(w=b.data)||void 0===w?void 0:w.sizeMode,de,le]),(0,u.useEffect)((()=>{W.place&&(Vn((0,In.mU)(),1,null,null,null,null,null,(e=>{ce((0,In.Pf)({zoom:e}))})),setTimeout((()=>{var e;ce((0,In.YX)(null===(e=H.imageAreas)||void 0===e?void 0:e.measurement))}),200))}),[W,null===(x=H.imageAreas)||void 0===x?void 0:x.measurement,ce]),(0,u.useEffect)((()=>{"boolean"===typeof z&&ce((0,In.Pf)({darkBg:z}))}),[ce,z]);const fe=e=>{Vn((0,In.mU)(),null,e,null,null,10,250,(e=>ce((0,In.Pf)({zoom:e}))))},me=(null===X||void 0===X?void 0:X.filesPending)||(null===X||void 0===X?void 0:X.placing);return(0,m.jsxs)(Mi,{column:!0,useDarkBg:I.darkBg,useGrid:I.grid,children:[(0,m.jsxs)(qi,{ref:_,padBottom:"refinement"===Y,children:[(0,m.jsx)(Gn,{id:In.NL,loading:k,onDelete:pe,getCanvasInstance:In.mU}),(0,m.jsxs)(Fi,{align:"end",justify:"end",pad:"refinement"===Y,children:[(0,m.jsxs)(Zi,{children:[(null===U||void 0===U?void 0:U.canvasFiles)&&U.canvasFiles.length>1&&(0,m.jsx)($i,{children:(0,m.jsxs)(m.Fragment,{children:[!L&&(0,m.jsx)(s.K0,{icon:i.LtC,onClick:()=>{F(!0)}}),!L&&(0,m.jsx)(s.Ex,{children:U.canvasFiles.length}),L&&(0,m.jsx)(eo,{className:"p-2",children:(0,m.jsxs)(s.so,{gap:"0.5rem",align:"start",children:[(0,m.jsx)(o.g,{className:"mt-1",size:"lg",icon:i.LtC}),(0,m.jsxs)(s.so,{column:!0,className:"flex-grow-1",children:[(0,m.jsxs)(s.EY,{fontSize:12,className:"f3-700",children:[ue("refinement.refinement_one")," ",ue("refinement.placement_one").toLowerCase()]}),N&&(0,m.jsx)(s.EY,{small:!0,className:"mb-2",children:ue("refinement.autoAdjustedPlacements")}),U.canvasFiles.map((e=>e.position?(0,m.jsxs)(to,{fontSize:"12px",onClick:()=>{var t,n;const{variationNumber:r,imageId:i,split:o}=null!==(t=null===(n=Z[0])||void 0===n?void 0:n.position)&&void 0!==t?t:{};(0,Rn.vA)((()=>{var t,n,a;null!==(t=e.position)&&void 0!==t&&t.imageId&&e.position.imageId!==i&&ce((0,In.Id)(e.position.imageId)),null!==(n=e.position)&&void 0!==n&&n.split&&e.position.split!==o&&ce((0,In.qr)(e.position.split)),null!==(a=e.position)&&void 0!==a&&a.variationNumber&&e.position.variationNumber!==r&&ce((0,In.R$)(e.position.variationNumber))}))},children:[e.position.variationNumber,e.position.imageId?`, ${(0,Ln.TH)(e.position.imageId,!0)}`:"",e.position.split?`, ${e.position.split}`:""]},e.id):null))]}),(0,m.jsx)(s.K0,{className:"align-self-start",small:!0,icon:K.$sC,onClick:()=>F(!1)})]})})]})}),ee&&(0,m.jsx)($i,{children:(0,m.jsxs)(m.Fragment,{children:[!M&&(0,m.jsx)(s.K0,{icon:K.iW_,onClick:()=>R(!0)}),M&&(0,m.jsx)(eo,{className:"p-2",children:(0,m.jsxs)(s.so,{gap:"0.5rem",align:"start",children:[(0,m.jsx)(o.g,{className:"mt-1",size:"lg",icon:K.iW_}),(0,m.jsx)(s.EY,{small:!0,light:!0,children:ee}),(0,m.jsx)(s.K0,{className:"align-self-start",small:!0,icon:K.$sC,onClick:()=>R(!1)})]})})]})}),"pendingBackground"===E?(0,m.jsx)(s.y$,{}):null]}),(0,m.jsxs)(Gi,{children:["refinement"===Y&&(0,m.jsx)(Qi,{children:(0,m.jsx)(dr,{})}),(re||ne||se)&&(0,m.jsx)(Vi,{}),(0,m.jsxs)(zi,{children:[X.showTransferMatrix?(0,m.jsx)(Di,{}):null!==X&&void 0!==X&&X.showCreate?(0,m.jsx)(di,{}):"refinement"===Y?(0,m.jsx)(no,{icon:i.QLR,color:"accent",title:`${ue("action.create")} ${ue("refinement.refinement_one").toLowerCase()}`,disabled:me,onClick:()=>{me||ce((0,In.Kr)(!0))}}):null,re&&!ne&&(0,m.jsx)(Zn,{}),se&&!ne&&(0,m.jsx)(s.so,{className:"h-100",align:"center",justify:"center",children:(0,m.jsx)(s.K0,{icon:i.QLR,square:!0,onClick:()=>ce((0,In.J0)(!0)),children:ue("product.add")})}),ne&&(0,m.jsx)(Ii,{})]}),(0,m.jsx)(Ui,{children:(0,m.jsxs)(Yi,{justify:"between",gap:"4px",className:"",children:[$&&(0,m.jsxs)(s.so,{children:[(0,m.jsx)(Ji,{"aria-label":"Pan tool",selected:I.isPanning,className:"mr-1",onClick:()=>{(async(e,t,n)=>{if(e)return Qn[t]=n,n})((0,In.mU)(),"isPanning",!I.isPanning).then((e=>{ce((0,In.Pf)({isPanning:!!e}))}))},children:(0,m.jsx)(o.g,{icon:K.wj_})}),(0,m.jsxs)(Ki,{children:[(0,m.jsx)(Ji,{"aria-label":"Decrease zoom",onClick:()=>fe(-10),children:(0,m.jsx)(o.g,{icon:i.EZy})}),(0,m.jsx)(Xi,{size:14,type:"number",value:null!==(C=I.zoom)&&void 0!==C?C:"",suffix:"%",centered:!0,onChange:e=>{var t;return fe(+e.target.value>(null!==(t=null===I||void 0===I?void 0:I.zoom)&&void 0!==t?t:0)?1:-1)}}),(0,m.jsx)(Ji,{"aria-label":"Increase zoom",onClick:()=>fe(10),children:(0,m.jsx)(o.g,{icon:i.QLR})})]})]}),"article"===Y&&!X.showTransferMatrix&&(0,m.jsxs)(Hi,{align:"center",children:[(0,m.jsx)(s.VO,{valueLabelLeft:ue("brightness.light","Light"),valueLabelRight:ue("brightness.dark","Dark"),checked:I.darkBg,onClick:()=>ce((0,In.Pf)({darkBg:!I.darkBg}))}),(0,m.jsx)(Wi,{circle:!0,checked:I.grid,onChange:e=>{const t=e.currentTarget.checked;ce((0,In.Pf)({grid:t}))}})]})]})})]})]})]}),(0,m.jsx)(s.pe,{ref:P,show:null!=B,top:"14px",message:null!==B&&void 0!==B?B:"",hideDelayInMs:8e3})]})},Mi=(0,p.Ay)(s.so).withConfig({componentId:"sc-122tmu5-0"})(["position:relative;width:100%;transition:background-color 0.2s ease;"," ",""],(e=>{let{useGrid:t=!1,useDarkBg:n,theme:r}=e;return t&&`\n    background-image:\n      linear-gradient(45deg, ${n?(0,Ee.e$)(.2,r.colors.transparentBg):r.colors.transparentBg} 25%, transparent 25%),\n      linear-gradient(135deg, ${n?(0,Ee.e$)(.2,r.colors.transparentBg):r.colors.transparentBg} 25%, transparent 25%),\n      linear-gradient(45deg, transparent 75%, ${n?(0,Ee.e$)(.2,r.colors.transparentBg):r.colors.transparentBg} 75%),\n      linear-gradient(135deg, ${n?r.colors.transparentBg:"white"} 75%, ${n?(0,Ee.e$)(.2,r.colors.transparentBg):r.colors.transparentBg} 75%);\n    background-size: 26px 26px;\n    background-position: 0 0, 13px 0, 13px -13px, 0px 13px;\n  `}),(e=>{let{useDarkBg:t,theme:n}=e;return t&&`background-color: ${n.colors.transparentBg};`})),Ri="100px",Li="48px",Fi=(0,p.Ay)(s.so).withConfig({componentId:"sc-122tmu5-1"})(["position:absolute;top:0;left:0;width:100%;height:",";z-index:3;pointer-events:none;"],(e=>{let{pad:t}=e;return t?`calc(100% + ${Ri} + ${Li})`:"100%"})),zi=p.Ay.div.withConfig({componentId:"sc-122tmu5-2"})(["position:relative;min-width:0;"]),Qi=p.Ay.div.withConfig({componentId:"sc-122tmu5-3"})(["height:",";"],Ri),Ui=p.Ay.div.withConfig({componentId:"sc-122tmu5-4"})(["height:",";"],Li),Vi=p.Ay.div.withConfig({componentId:"sc-122tmu5-5"})(["backdrop-filter:blur(5px) grayscale(0.8);position:absolute;height:100%;width:100%;pointer-events:all;"]),Gi=p.Ay.div.withConfig({componentId:"sc-122tmu5-6"})(["position:relative;display:grid;grid-template-rows:auto min-content min-content;height:100%;width:100%;","{grid-row:1;z-index:3;> *{pointer-events:all;}}","{grid-row:2;z-index:1;> *{pointer-events:all;}}","{grid-row:3;z-index:1;> *{pointer-events:all;}}","{grid-row:1 / 4;z-index:2;}"],zi,Qi,Ui,Vi),qi=p.Ay.div.withConfig({componentId:"sc-122tmu5-7"})(["position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;max-height:",";max-width:100%;flex:1;"],(e=>{let{padBottom:t}=e;return t?`calc(100% - ${Ri} - ${Li})`:"100%"})),Hi=(0,p.Ay)(s.so).withConfig({componentId:"sc-122tmu5-8"})(["left:12px;border-top-right-radius:18px;border-bottom-right-radius:18px;"]),Wi=(0,p.Ay)(s.Sc).withConfig({componentId:"sc-122tmu5-9"})(["margin:1px;margin-left:10px;& > div{border-width:2px;border-color:",";background-image:linear-gradient(45deg,"," 25%,transparent 25%),linear-gradient(135deg,"," 25%,transparent 25%),linear-gradient(45deg,transparent 75%,"," 75%),linear-gradient(135deg,"," 75%,"," 75%);background-size:14px 14px;background-position:0 0,7px 0,7px -7px,0px 7px;}"],(e=>{let{theme:t}=e;return t.colors.fillMedium}),(e=>{let{theme:t}=e;return t.colors.fillMedium}),(e=>{let{theme:t}=e;return t.colors.fillMedium}),(e=>{let{theme:t}=e;return t.colors.fillMedium}),"white",(e=>{let{theme:t}=e;return t.colors.fillMedium})),Yi=(0,p.Ay)(s.so).withConfig({componentId:"sc-122tmu5-10"})(["flex-direction:row-reverse;padding:0 1rem 1rem;"]),Ki=p.Ay.div.withConfig({componentId:"sc-122tmu5-11"})(["display:flex;"]),Ji=p.Ay.button.withConfig({componentId:"sc-122tmu5-12"})(["background:#eee;border:1px #eee solid;width:32px;height:32px;",";&:hover{filter:brightness(98%);}"],(e=>{let{selected:t}=e;return t?" background: #CACACA; border-color: #8F8F8F;":"background: #eee;"})),Xi=(0,p.Ay)(s.pd).withConfig({componentId:"sc-122tmu5-13"})(["width:65px;input{padding:6px 14px 6px 8px !important;height:32px;appearance:textfield;-moz-appearance:textfield;::-webkit-outer-spin-button,::-webkit-inner-spin-button{-webkit-appearance:none;margin:0;}}"]),Zi=(0,p.Ay)(s.L0).withConfig({componentId:"sc-122tmu5-14"})(["display:flex;flex-direction:column;align-items:end;gap:0.5rem;padding-right:0.5rem;padding-bottom:1rem;max-height:calc(100% - 80px);overflow-y:auto;right:0.5rem;z-index:2;"]),$i=p.Ay.div.withConfig({componentId:"sc-122tmu5-15"})(["position:relative;pointer-events:all;"]),eo=p.Ay.div.withConfig({componentId:"sc-122tmu5-16"})(["min-width:210px;max-width:280px;background-color:",";",";color:",";"],(e=>{let{theme:t}=e;return t.colors.fill}),(e=>{let{theme:t}=e;return t.shadows.soft}),(e=>{let{theme:t}=e;return t.colors.textLight})),to=(0,p.Ay)(s.gK).withConfig({componentId:"sc-122tmu5-17"})(["text-decoration:none;&:hover{text-decoration:underline;}"]),no=(0,p.Ay)(s.K0).withConfig({componentId:"sc-122tmu5-18"})(["height:60px;width:60px;border-radius:30px;position:absolute;bottom:0rem;right:2rem;font-size:22px;border:1px solid ",";"],(e=>{let{theme:t}=e;return t.colors.border})),ro=(0,p.Ay)(h.A).withConfig({componentId:"sc-1rro34n-0"})(["border-radius:0px;position:relative;height:50px;"]),io=p.Ay.button.withConfig({componentId:"sc-1rro34n-1"})(["background:",";border-radius:inherit;border:none;font-size:9px;outline:none;&:hover{background:",";}height:100%;width:30px;color:",";"],(e=>{let{theme:t,color:n}=e;return t.colors[n]}),(e=>{let{theme:t,disabled:n,color:r}=e;return!n&&(0,Ee.Qw)(.03,t.colors[r])}),(e=>{let{theme:t,disabled:n}=e;return n?t.colors.textFaded:t.colors.textLight})),oo=(0,p.Ay)(io).withConfig({componentId:"sc-1rro34n-2"})([""]),ao=p.Ay.input.withConfig({componentId:"sc-1rro34n-3"})(["height:100%;width:auto;text-align:center;border:none;outline:none;font-size:16px;background:",";flex-grow:2;",";&::placeholder{font-size:13px;user-select:none;}&::-webkit-outer-spin-button,&::-webkit-inner-spin-button{-webkit-appearance:none;margin:0;}&:focus::placeholder{color:",";}"],(e=>{let{theme:t,color:n}=e;return t.colors[n]}),(e=>{let{disabled:t,theme:n}=e;return t&&`color: ${n.colors.textDisabled}`}),(e=>{let{theme:t}=e;return t.colors.textFaded})),so=e=>{let{defaultQty:t,onQtyChange:n,disabled:r,debounceMs:a=400,min:s,max:l,step:c,firstStep:p,color:h="fillMedium",...f}=e;const{t:g}=(0,d.B)(),[v,y]=(0,u.useState)(t),A=(0,u.useMemo)((()=>Mn()((e=>{n(e)}),a)),[a,n]),b=e=>{if(!c)return"increase"===e?v+1:v-1;const t=(e=>c?"increase"===e?p?v>=c?c:p:c:p&&v<=c?p:c:1)(e),n="increase"===e?v+t:v-t;return Math.round(n/t)*t},w=e=>{const t=b(e);y(t),A(t)},x=()=>w("increase"),C=()=>w("decrease");return(0,m.jsxs)(ro,{align:"center",justify:"between",...f,children:[(0,m.jsx)(io,{color:h,tabIndex:-1,disabled:r||null!=s&&v<=s,onClick:C,children:(0,m.jsx)(o.g,{icon:i.EZy})}),(0,m.jsx)(ao,{type:"number",value:v||"",min:s,max:l,placeholder:g("stock.enterQuantity"),className:"flex-shrink-0",disabled:r,onKeyDown:e=>{"ArrowUp"===e.key?(e.preventDefault(),x()):"ArrowDown"===e.key&&(e.preventDefault(),C())},onChange:e=>{let t=+e.target.value;Number.isNaN(t)||("number"===typeof l&&t>l&&(t=l),y(t),A(t))},color:h,onFocus:e=>{e.target.select()}}),(0,m.jsx)(oo,{color:h,tabIndex:-1,disabled:r||null!=l&&v>=l,onClick:x,children:(0,m.jsx)(o.g,{icon:i.QLR})})]})},lo=()=>{var e;const t=(0,c.cb)(),[n,r]=(0,u.useState)(!1),[a,l]=(0,u.useState)(),p=(0,c.GV)(bn.Lt.splits),h=(0,c.GV)(bn.Lt.selectedExtendedVariation),f=(0,c.GV)(bn.Lt.selectedAngle),g=(0,c.GV)(bn.Lt.remainingName),v=(0,c.GV)(bn.Lt.selectedSplit),y=(0,c.GV)(bn.Lt.origin),A=(0,c.jL)(),{t:b}=(0,d.B)(),w=(0,c.Wr)((()=>r(!1)),n);if(!p)return null;const x=p.splits,C=v.split,S=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;r(!0),l(t),A((0,In.qr)(e))};return(0,m.jsxs)(po,{column:t.lg,align:"center",className:"text-center",children:[(0,m.jsxs)(s.so,{column:t.lg,$wrap:!0,className:t.lg?"w-100":"",children:[(0,m.jsxs)(ho,{column:t.lg,align:"center",justify:"center",selected:!!p.splits.length&&(!(null!==C&&void 0!==C&&C.id)||(null===C||void 0===C?void 0:C.id)===Xn.vt),as:"button",onClick:e=>S(Xn.vt,t.lg?e.currentTarget.getBoundingClientRect().top:e.currentTarget.getBoundingClientRect().left),children:[(0,m.jsx)(o.g,{size:"sm",icon:p.splits.length?J.GEE:i.WSb,color:"text",className:"pt-1 px-1"}),p.splits.length?!!p.noSplit.refinements&&(0,m.jsx)(Co,{bgColor:"borderLight",color:"text",children:p.noSplit.refinements}):null,(0,m.jsx)(fo,{children:x.length?`${b("part.all","All subparts")}${p.noSplit.totalQty?`, ${p.noSplit.totalQty}${b("stock.pcs")}`:""}`:b("part.partSizes","Split article")})]}),x.map(((e,n)=>(0,m.jsxs)(ho,{column:t.lg,align:"center",selected:e.id===(null===C||void 0===C?void 0:C.id),as:"button",onClick:n=>{const r=n.currentTarget.getBoundingClientRect(),i=t.lg?r.top:r.left;S(e.id,i),A((0,In.YX)())},children:[(0,m.jsx)(o.g,{className:"p-2",icon:i._w9,color:"text"}),(0,m.jsx)(Co,{bgColor:"borderLight",color:"text",children:e.refinements}),(0,m.jsx)(fo,{children:e.totalQty?`${e.id}, ${e.totalQty} ${b("stock.pcs")}`:e.id})]},e.id))),p.remaining.totalQty?(0,m.jsxs)(ho,{column:t.lg,align:"center",error:p.invalid,selected:(null===C||void 0===C?void 0:C.id)===Xn.y6,as:"button",onClick:e=>S(Xn.y6,t.lg?e.currentTarget.getBoundingClientRect().top:e.currentTarget.getBoundingClientRect().left),children:[(0,m.jsx)(o.g,{icon:i.W1p,color:"text",className:"p-2"}),(0,m.jsx)(fo,{children:"CollectionTool"===y?`${b("action.add")} ${b("part.part").toLowerCase()}`:`${b("stock.rest")}, ${p.remaining.totalQty} ${b("stock.pcs")}`})]}):null]}),n&&C&&(0,m.jsxs)(mo,{column:!0,className:"",ref:w,offset:a,children:[(0,m.jsx)(vo,{square:!0,icon:i.GRI,bgColor:"fill",onClick:()=>{r(!1)}}),(0,m.jsxs)(xo,{gap:"2px",children:[(0,m.jsxs)(wo,{className:"py-1",children:[null===h||void 0===h?void 0:h.productName," - ",null===h||void 0===h?void 0:h.color,(0,m.jsx)(s.EY,{light:!0,fontSize:10,uppercase:!0,className:"f3-400",children:f&&(0,Ln.TH)(f)})]}),C.id===Xn.vt?"CollectionTool"===y&&!p.splits.length&&p.canSplit?(0,m.jsx)(uo,{className:"p-1",children:(0,m.jsxs)(s.K0,{className:"w-100",icon:i.QLR,onClick:()=>{A((0,In.Mt)(C.id,v.nextId))},square:!0,children:[b("action.add")," ",b("part.part").toLowerCase()]})}):null:(0,m.jsx)(co,{className:"",defaultValue:C.id===Xn.y6?g:C.id,placeholder:b("general.name"),onFocus:e=>e.target.select(),onBlur:e=>{e.target.value&&A((0,In.wT)(e.target.value))}},C.id),C.id!==Xn.y6&&p.canSplit&&"CollectionTool"!==y&&(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(bo,{children:b("size.size","Size")}),(0,m.jsx)(bo,{children:b("part.partQty","Qty in part")}),(0,m.jsx)(bo,{children:b("cart.cart")}),(0,m.jsx)(bo,{children:b("stock.rest","Rest")}),null===(e=C.skus)||void 0===e?void 0:e.map((e=>{var t,n,r,i,o,a,s,l;const c=e.sku&&null!==(t=null===(n=p.collectionSkus.get(e.sku))||void 0===n?void 0:n.quantity)&&void 0!==t?t:0,d=e.sku&&null!==(r=null===(i=p.remainingSkus.get(e.sku))||void 0===i?void 0:i.quantity)&&void 0!==r?r:0,f=(null!==(o=e.quantity)&&void 0!==o?o:0)+d,g=null===h||void 0===h||null===(a=h.productSkus)||void 0===a||null===(s=a.find((t=>t.sku===e.sku)))||void 0===s?void 0:s.name;return(0,m.jsxs)(u.Fragment,{children:[(0,m.jsx)(Ao,{children:g}),(0,m.jsx)(yo,{children:(0,m.jsx)(so,{disabled:C.id===Xn.y6||C.id===Xn.vt&&!!p.splits.length,color:"white",defaultQty:null!==(l=e.quantity)&&void 0!==l?l:c,onQtyChange:t=>{if(e.sku&&t!==e.quantity&&t<=f){const n=C.skus.map((n=>n.sku===e.sku?{...n,quantity:t}:n));A((0,In.pm)(C.id,n,v.nextId))}},min:0,max:f},C.id)}),(0,m.jsx)(yo,{className:"px-2",children:(0,m.jsx)(m.Fragment,{children:c})}),(0,m.jsx)(yo,{className:"px-2",children:(0,m.jsx)(m.Fragment,{children:d})})]},e.sku)}))]})]}),(0,m.jsxs)(s.so,{className:"flex-grow-1",column:!0,align:"center",justify:"center",children:[(C.id===Xn.y6||!p.canSplit)&&(0,m.jsx)(s.EY,{small:!0,className:"p-2",color:"textLight",children:b("refinement.add")}),C.id===Xn.vt&&!!p.splits.length&&(0,m.jsx)(s.EY,{small:!0,className:"p-2",color:"textLight",children:b("refinement.noSplitPlaceInfo","Add refinements here that should be placed on all subparts of the variant/angle.")})]})]})]})},co=(0,p.Ay)(s.pd).withConfig({componentId:"sc-1u5jejk-0"})(["grid-column:1 / -1;width:calc(100% - 4px);margin:0 2px;"]),uo=p.Ay.div.withConfig({componentId:"sc-1u5jejk-1"})(["grid-column:1 / -1;"]),po=(0,p.Ay)(s.so).withConfig({componentId:"sc-1u5jejk-2"})(["pointer-events:all;background-color:",";position:relative;height:fit-content;width:100%;margin:2px 0px;","{width:calc(100% - 4px);margin:0 2px;}"],(e=>{let{theme:t}=e;return t.colors.fillMedium}),(e=>{let{theme:t}=e;return t.media.lg})),ho=(0,p.Ay)(s.so).withConfig({componentId:"sc-1u5jejk-3"})(["position:relative;min-height:50px;border:none;padding:0.2rem 0.5rem 0.5rem;background:",";color:",";","{width:100%;}"],(e=>{let{theme:t,selected:n,error:r}=e;return r?t.colors.error:n?t.colors.accent:t.colors.fillMedium}),(e=>{let{theme:t,selected:n,error:r}=e;return r?t.colors.white:n?t.colors.accentText:t.colors.text}),(e=>{let{theme:t}=e;return t.media.lg})),fo=p.Ay.label.withConfig({componentId:"sc-1u5jejk-4"})(["display:flex;cursor:pointer;margin:0;font-size:10px;line-height:10px;"]),mo=(0,p.Ay)(s.so).withConfig({componentId:"sc-1u5jejk-5"})(["background:",";",";position:absolute;min-height:200px;z-index:100;top:100%;left:1rem;width:calc(100% - 2rem);","{top:","px;left:calc(100% - 8px);width:auto;min-width:200px;}"],(e=>{let{theme:t}=e;return t.colors.white}),(e=>{let{theme:t}=e;return t.shadows.high}),(e=>{let{theme:t}=e;return t.media.lg}),(e=>{let{offset:t}=e;return t?t+16:16})),go="50px",vo=(0,p.Ay)(s.K0).withConfig({componentId:"sc-1u5jejk-6"})(["position:absolute;height:40px;top:0px;right:0px;"]),yo=p.Ay.div.withConfig({componentId:"sc-1u5jejk-7"})(["height:",";line-height:",";white-space:nowrap;text-align:center;background-color:",";"],go,go,(e=>{let{theme:t}=e;return t.colors.fill})),Ao=(0,p.Ay)(yo).withConfig({componentId:"sc-1u5jejk-8"})(["min-width:60px;background:",";font-weight:500;"],(e=>{let{theme:t}=e;return t.colors.fillMedium})),bo=(0,p.Ay)(yo).withConfig({componentId:"sc-1u5jejk-9"})(["height:20px;line-height:20px;background-color:transparent;font-size:10px;font-weight:500;padding:0 3px;"]),wo=(0,p.Ay)(yo).withConfig({componentId:"sc-1u5jejk-10"})(["background:",";text-align:left;min-width:min-content;display:flex;flex-direction:column;justify-content:center;height:40px;padding-right:44px;padding-left:0.5rem;line-height:1.2em;"],(e=>{let{theme:t}=e;return t.colors.fill})),xo=(0,p.Ay)(s.xA).withConfig({componentId:"sc-1u5jejk-11"})(["font-size:12px;grid-template-columns:auto 1fr auto auto;","{grid-column:1 / -1;}"],wo),Co=(0,p.Ay)(s.Ex).withConfig({componentId:"sc-1u5jejk-12"})(["z-index:2;"]),So=()=>{const e=(0,c.jL)(),t=(0,c.GV)(bn.Lt.extendedCollection),n=(0,c.GV)(bn.Lt.selectedExtendedVariation),{t:r}=(0,d.B)(),a=(0,c.cb)(),l=(0,u.useRef)(null),p=()=>(0,m.jsxs)(Do,{className:""+(a.lg?"w-100 mb-2":"h-100 mr-2"),bgColor:"fillMedium",onClick:()=>e((0,In.J0)(!0)),children:[(0,m.jsx)(o.g,{icon:i.DX_,fontSize:15,className:a.lg?"w-100":""}),(0,m.jsx)(s.EY,{fontSize:10,className:"f3-400",color:"text",children:r("product.addRemove","Add / Remove articles")})]});return(0,m.jsx)(m.Fragment,{children:(0,m.jsx)(ko,{column:a.lg,ref:l,children:(0,m.jsxs)(Eo,{gap:"2px",column:a.lg,className:"",children:[n&&(0,m.jsxs)(Oo,{selected:!0,justify:"start",align:"center",column:!0,className:"",children:[(0,m.jsx)(s.EY,{bold:!0,fontSize:12,center:!0,className:"f3-500 mb-2",children:n.productName}),(0,m.jsx)(Po,{className:"mb-1",children:(0,m.jsx)("img",{alt:"",src:(0,X.Ay)(n.image,X.yj.ThumbNail)})}),(0,m.jsx)(s.EY,{fontSize:10,bold:!0,textOverflow:"90",nowrap:!0}),(0,m.jsx)(s.EY,{fontSize:10,textOverflow:"90",nowrap:!0,className:"mt-1",children:n.color}),(0,m.jsx)(s.EY,{fontSize:10,light:!0,textOverflow:"90",nowrap:!0,children:n.variationNumber})]}),(0,m.jsxs)(Io,{className:"h-100",column:a.lg,justify:"start",align:"center",children:[(0,m.jsx)(p,{}),t.length>1?t.map((t=>{const r=t.variationNumber===(null===n||void 0===n?void 0:n.variationNumber);return(0,m.jsxs)(_o,{selected:r,align:"center",justify:"between",column:!0,onClick:()=>{var n;r||(n=t.variationNumber)&&e((0,In.R$)(n))},children:[(0,m.jsxs)(Po,{className:"mb-1",children:[(0,m.jsx)("img",{alt:"",src:(0,X.Ay)(t.image,X.yj.ThumbNail)}),t.badge.number?(0,m.jsx)(m.Fragment,{children:(0,m.jsx)(s.m_,{placement:"top-end",offset:[6,-16],tooltip:(0,m.jsx)(s.so,{column:!0,gap:"0.5rem",children:t.badge.names.map(((e,t)=>(0,m.jsx)(s.EY,{fontSize:9,color:"fillSecondaryText",children:e},t)))}),children:(0,m.jsx)(To,{id:"refinements-"+t.variationNumber,bgColor:"borderLight",color:"text",children:t.badge.number})})}):null]}),(0,m.jsx)(s.EY,{fontSize:10,textOverflow:"90",nowrap:!0,children:t.productName}),(0,m.jsx)(s.EY,{fontSize:10,textOverflow:"90",nowrap:!0,className:"mt-1",children:t.color}),(0,m.jsx)(s.EY,{fontSize:10,light:!0,textOverflow:"90",nowrap:!0,className:"mb-1",children:t.variationNumber})]},t.variationNumber)})):null]})]})})})},ko=(0,p.Ay)(s.so).withConfig({componentId:"sc-1xi277b-0"})(["position:relative;overflow:auto;flex-grow:1;"]),Eo=(0,p.Ay)(s.so).withConfig({componentId:"sc-1xi277b-1"})(["position:relative;width:auto;overflow:auto;flex-grow:1;","{width:120px;}"],(e=>{let{theme:t}=e;return t.media.lg})),Io=(0,p.Ay)(s.so).withConfig({componentId:"sc-1xi277b-2"})(["flex-grow:1;background-color:",";"],(e=>{let{theme:t}=e;return t.colors.fill})),_o=(0,p.Ay)(s.so).withConfig({componentId:"sc-1xi277b-3"})(["cursor:",";user-select:none;width:80px;img{object-fit:contain;height:100%;width:100%;border:2px solid ",";background:white;padding:2px;}","{text-align:center;line-height:1;}","{padding:0;width:100%;max-width:unset;}"],(e=>{let{selected:t}=e;return t?"normal":"pointer"}),(e=>{let{selected:t,theme:n}=e;return t?n.colors.accent:n.colors.borderLight}),s.EY,(e=>{let{theme:t}=e;return t.media.lg})),Po=p.Ay.div.withConfig({componentId:"sc-1xi277b-4"})(["width:85%;height:55px;position:relative;","{width:65%;}"],(e=>{let{theme:t}=e;return t.media.lg})),Oo=(0,p.Ay)(_o).withConfig({componentId:"sc-1xi277b-5"})(["background-color:",";padding:1rem;","{width:100%;","{height:80px;}}"],(e=>{let{theme:t}=e;return t.colors.fillMedium}),Po,(e=>{let{theme:t}=e;return t.media.lg})),To=(0,p.Ay)(s.Ex).withConfig({componentId:"sc-1xi277b-6"})(["pointer-events:all;user-select:none;z-index:2;"]),Do=(0,p.Ay)(s.$n).withConfig({componentId:"sc-1xi277b-7"})(["font-size:18px;min-height:50px;line-height:1.2;height:auto;padding:0.5rem;max-width:72px;flex-shrink:0;","{max-width:unset;}"],(e=>{let{theme:t}=e;return t.media.lg})),jo=e=>{var t;let{onSubmit:n}=e;const r=(0,c.jL)(),o=null===(t=(0,c.GV)(bn.lA))||void 0===t?void 0:t.disable,{t:a}=(0,d.B)();return(0,m.jsx)("div",{children:(0,m.jsx)(Bo,{column:!0,className:"px-3 pb-3",children:(0,m.jsx)(s.K0,{large:!0,icon:i.LFz,className:"mt-2 flex-grow-1",color:"textWhite",bgColor:"buy",disabled:o,onClick:async()=>{const e=await r((0,In.bE)());In.bE.fulfilled.match(e)&&(null===n||void 0===n||n())},children:a("action.save")})})})},Bo=(0,p.Ay)(s.so).withConfig({componentId:"sc-to45e3-0"})(["background:",";"],(e=>{let{theme:t}=e;return t.colors.fillMedium})),No=()=>{const{t:e}=(0,d.B)(),t=(0,c.jL)(),n=(0,c.GV)(bn.T7).attachments,r=(0,u.useRef)(null),i=(0,c.GV)(bn.Pl);if(!i)return null;const o=(0,m.jsxs)("div",{children:[i.map((e=>(0,m.jsxs)(s.so,{align:"center",justify:"between",className:"mb-1",children:[(0,m.jsx)(s.EY,{light:!0,small:!0,children:e}),(0,m.jsx)(s.K0,{icon:K.yLS,small:!0,onClick:()=>{t((0,In.uy)(e))}})]},e))),(0,m.jsx)(Mo,{"data-part-of-canvas":!0,id:"imagefile",type:"file",ref:r,accept:In.he,onChange:e=>{var n;(null===(n=e.target.files)||void 0===n?void 0:n.length)&&t((0,In.UO)(e.target.files[0])),r.current&&(r.current.value="")}}),(0,m.jsx)(s.K0,{fontSize:"13px",icon:K.QLR,square:!0,className:"mt-1 w-100",bgColor:"fillMedium",disableFont:!0,onClick:()=>{var e;return null===(e=r.current)||void 0===e?void 0:e.click()},children:e("refinement.uploadFile")})]}),a=i;return(0,m.jsx)(wn.A,{title:e("file.attachments","Attachments"),validating:n,valid:!0,formSection:"attachments",children:{open:o,collapsed:a}})},Mo=p.Ay.input.withConfig({componentId:"sc-aoau1y-0"})(["display:none;"]);var Ro=n(33345);const Lo=e=>{var t,n;let{pickerKey:r,defaultValue:i,initPmsColor:a,placeholder:s,color:l,colorList:c,initPmsColorSearchOnActive:d,allowColorToBeDisabled:p,allowColorToBeInvisible:h,useBorder:f,onInputChange:g,onColorPickerChange:v,...y}=e;const[A,b]=(0,u.useState)(void 0),[w,x]=(0,u.useState)(null),C=(0,u.useRef)(null),S=(0,u.useRef)(null);(0,u.useEffect)((()=>{const e=null!==l&&void 0!==l&&l.replaced&&null!==l&&void 0!==l&&l.replacedHex?{hex:l.replacedHex,name:l.replacedName,sourceType:be.PMSColorSource.Custom}:null!==l&&void 0!==l&&l.sourceHex?{hex:l.sourceHex,name:l.sourceName,sourceType:l.sourceType}:null!==i&&void 0!==i&&i.name?{hex:i.hex,name:i.name,sourceType:i.sourceType}:null;b({hex:null===e||void 0===e?void 0:e.hex,name:null===e||void 0===e?void 0:e.name,rgb:(0,Ro.E2)(null===e||void 0===e?void 0:e.hex),sourceType:null===e||void 0===e?void 0:e.sourceType})}),[l,i]);const k=(0,u.useCallback)((e=>{const t=C.current;if(null==t)return;t.innerHTML=e;const n=t.getBoundingClientRect(),r=Math.max(Math.min(150,(null===n||void 0===n?void 0:n.width)+20),null!=v?52:86);null!=S.current&&(S.current.value=e,x(`${r}px`))}),[]);(0,u.useEffect)((()=>{null!=S.current&&k((null===A||void 0===A?void 0:A.name)||(null===i||void 0===i?void 0:i.name)||"")}),[A,i,k]);return(0,m.jsxs)(Fo,{borderColor:f?null!==(t=null===A||void 0===A?void 0:A.hex)&&void 0!==t?t:"":void 0,...y,children:[((null===l||void 0===l?void 0:l.replaced)||!1===(null===l||void 0===l?void 0:l.visible)&&!h)&&l&&(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(vr.M,{color:null!==(n=l.sourceHex)&&void 0!==n?n:"",onClick:()=>(()=>{var e,t;null===v||void 0===v||v({hex:null!==(e=null===l||void 0===l?void 0:l.sourceHex)&&void 0!==e?e:"",name:null!==(t=null===l||void 0===l?void 0:l.sourceName)&&void 0!==t?t:"",sourceType:null===l||void 0===l?void 0:l.sourceType},!0)})()}),(0,m.jsx)(o.g,{icon:K.dmS,className:"ml-1"})]}),(0,m.jsx)(Uo,{ref:C}),(0,m.jsx)(zo,{style:w?{width:w}:void 0,colorIsDisabled:!1===(null===l||void 0===l?void 0:l.visible),ref:S,defaultValue:(null===A||void 0===A?void 0:A.name)||"",onFocusCapture:e=>{if(d&&null!=g){var t,n,r;const e=null!==(t=null===S||void 0===S||null===(n=S.current)||void 0===n?void 0:n.value)&&void 0!==t?t:"";null===S||void 0===S||null===(r=S.current)||void 0===r||r.select(),e.length>1&&g(e)}},placeholder:s,onChange:e=>{e.target.value.length>1&&(null===g||void 0===g||g(e.target.value)),k(e.target.value)}},r?`pms-color-picker-core-${r}`:void 0),null!=v&&(0,m.jsx)(Qo,{color:A,initPmsColor:a,colorList:c,colorIsDisabled:!1===(null===l||void 0===l?void 0:l.visible),allowColorToBeDisabled:p,onChange:v,onStaticChange:e=>{var t,n,r,i;b({hex:null!==(t=null===e||void 0===e?void 0:e.hex)&&void 0!==t?t:"",name:null!==(n=null===e||void 0===e?void 0:e.name)&&void 0!==n?n:"",rgb:(0,Ro.E2)(null!==(r=null===e||void 0===e?void 0:e.hex)&&void 0!==r?r:""),sourceType:null===e||void 0===e?void 0:e.sourceType}),k(null!==(i=null===e||void 0===e?void 0:e.name)&&void 0!==i?i:"")}})]})},Fo=p.Ay.div.withConfig({componentId:"sc-zk5nxo-0"})(["position:relative;display:inline-flex;justify-content:space-between;align-items:center;min-width:90px;width:min-content;height:35px;background-color:white;",";padding:0 2px;transition:background-color 0.2s linear;&:hover{background-color:",";}"],(e=>{let{borderColor:t,theme:n}=e;return void 0!==t&&`border: 2px solid ${t||n.colors.borderLight}`}),(e=>{let{theme:t}=e;return(0,Ee.Qw)(.03,t.colors.white)})),zo=p.Ay.input.withConfig({componentId:"sc-zk5nxo-1"})(["top:-17px;left:0;border:none;width:100%;height:100%;padding:6px;outline:none;font-size:12px;background-color:transparent;",";"],(e=>{let{colorIsDisabled:t}=e;return t&&"text-decoration: line-through;"})),Qo=(0,p.Ay)(vr.A).withConfig({componentId:"sc-zk5nxo-2"})(["margin-top:3px;margin-right:4px;"]),Uo=p.Ay.span.withConfig({componentId:"sc-zk5nxo-3"})(["position:absolute;color:transparent;pointer-events:none;font-size:12px;opacity:0;"]);var Vo=n(97589);const Go=()=>{var e,t,n,r,o,a,l,p,h,f;const{t:g}=(0,d.B)(),v=(0,c.jL)(),y=(0,c.GV)(bn.Lt.color),A=(0,c.GV)(bn.Lt.selectedRefinement),b=(0,c.GV)(bn.Lt.updatesPending),w=(0,c.GV)(bn.Lt.sectionValidating).color,x=(0,c.GV)(bn.Lt.validateColors),C=(0,c.GV)(bn.Lt.create),S=(0,c.GV)(bn.Lt.pmsColorsSuggestions),k=(0,c.GV)(bn.Lt.type),[E,I]=(0,u.useState)(),_=(0,c.GV)(bn.Lt.activeCanvasFiles),P=(0,c.GV)(bn.Lt.activeCanvasFilesIsUserProof),O=(0,c.GV)(bn.Lt.isEditable),T=(0,c.GV)(bn.Lt.isRepeat),D=(0,u.useMemo)((()=>{var e,t;return null!==(e=null===_||void 0===_||null===(t=_[0])||void 0===t?void 0:t.pmsFile)&&void 0!==e?e:[]}),[_]),j=(0,u.useMemo)((()=>{var e,t;return{used:[...null!==(e=null===C||void 0===C?void 0:C.colors.map((e=>null!==e&&void 0!==e&&e.replaced?{name:e.replacedName,hex:e.replacedHex,sourceType:be.PMSColorSource.Custom}:{name:e.sourceName,hex:e.sourceHex,sourceType:e.sourceType})))&&void 0!==e?e:[],...null!==(t=null===C||void 0===C?void 0:C.colors.map((e=>({name:e.sourceName,hex:e.sourceHex,sourceType:e.sourceType}))))&&void 0!==t?t:[]].filter((e=>!!e.name)).filter(((e,t,n)=>n.findIndex((t=>t.hex===e.hex))===t)),inFile:D}}),[null===C||void 0===C?void 0:C.colors,D]),B=(0,u.useCallback)((()=>{(0,In.b7)().forEach((e=>{var t;return null===y||void 0===y||null===(t=y.pmsColors)||void 0===t?void 0:t.forEach(((t,n)=>{var r,i;return(0,Fn.kd)(n,e,!1,null,t.hex,void 0,n<(null!==(r=null===y||void 0===y||null===(i=y.pmsColors)||void 0===i?void 0:i.length)&&void 0!==r?r:0)-1)}))})),v((0,In.Yz)({colorChange:!1}))}),[null===y||void 0===y?void 0:y.pmsColors,v]);if((0,u.useEffect)((()=>{var e,t,n;const r=null===y||void 0===y||null===(e=y.pmsColors)||void 0===e?void 0:e.some((e=>{var t;return e.hex!==(null===(t=y.pmsColors)||void 0===t?void 0:t[0].hex)}));null!==A&&void 0!==A&&null!==(t=A.variations.data)&&void 0!==t&&t.colorChange&&null!==A&&void 0!==A&&null!==(n=A.variations.data)&&void 0!==n&&n.colorChangePms&&r&&B()}),[y,A,B]),!y||y.hide)return null;const N=async(e,t)=>{v(t?(0,In.B1)({colorIndex:e,search:t}):(0,In.dY)())},M=(e,t)=>{var n,r;t&&(R(e,{hex:null!==(n=t.hex)&&void 0!==n?n:"",name:null!==(r=t.name)&&void 0!==r?r:"",sourceType:t.sourceType}),v((0,In.dY)()))},R=(e,t)=>{var n;let r;if(v((0,In.yT)("color")),P){var i;if(!t||null!==C&&void 0!==C&&C.colors.some((e=>e.sourceName===t.name)))r=null===C||void 0===C?void 0:C.colors.filter(((t,n)=>n!==e));else r=null===C||void 0===C||null===(i=C.colors)||void 0===i?void 0:i.map(((n,r)=>r===e?{...n,visible:!!t,replaced:!1,sourceHex:null===t||void 0===t?void 0:t.hex,sourceName:null===t||void 0===t?void 0:t.name,sourceType:null===t||void 0===t?void 0:t.sourceType}:n))}else{var o;const n=(0,In.b7)();for(const r of n){var a;(0,Fn.kd)(e,r,!1,null,null!==(a=null===t||void 0===t?void 0:t.hex)&&void 0!==a?a:"transparent",void 0)}r=null===C||void 0===C||null===(o=C.colors)||void 0===o?void 0:o.map(((n,r)=>r===e?{...n,visible:!!t,replaced:n.sourceName!==(null===t||void 0===t?void 0:t.name),replacedHex:null===t||void 0===t?void 0:t.hex,replacedName:null===t||void 0===t?void 0:t.name,replacedType:n.sourceName!==(null===t||void 0===t?void 0:t.name)?be.PMSColorSource.Custom:n.sourceType}:n))}let s=[];for(const p of null!==(l=r)&&void 0!==l?l:[]){var l;if(!1===p.visible)continue;const e=p.replaced?p.replacedName:p.sourceName;e&&!s.includes(e)&&s.push(e)}const c=s.length,u=(0,In.es)(null===(n=(0,In.mU)().getActiveObject())||void 0===n?void 0:n._filteredEl),d=(0,In.uv)(k,!0);(0,Rn.vA)((()=>{c!==y.colors&&v((0,In.Yz)({colors:c})),v((0,In.kM)({fileData:{colors:r,sampleFile:null===d||void 0===d?void 0:d.sample}})),!P&&v((0,In.Jk)({base64:null===d||void 0===d?void 0:d.preview,darkBg:!("article"!==k||!u),colors:"refinement"===k}))}))},L=null!==(e=null===C||void 0===C||null===(t=C.colors)||void 0===t?void 0:t.length)&&void 0!==e?e:0,F=(0,m.jsxs)(s.so,{column:!0,children:[(0,m.jsxs)(s.so,{className:"mt-2 f3-400",children:[(0,m.jsxs)(Wo,{fontSize:12,light:!0,nowrap:!0,className:"text-lowercase",children:[y.colors," ",g("color.color",{context:1===y.colors?"one":"other"})," ",y.colors>y.previewColorArray.length&&`(max ${y.previewColorArray.length})`]}),(0,m.jsxs)(s.so,{gap:"4px",column:!0,children:[!P&&(0,m.jsx)(Yo,{fontSize:12,light:!0,className:"ml-4",children:g("color.warnInterpreted","Note! The colors of the image are interpreted. Check that the color codes match carefully.")}),y.colorWarning&&(0,m.jsx)(Yo,{fontSize:12,light:!0,className:"ml-4",children:y.colorWarning})]})]}),(0,m.jsxs)(Ko,{className:"f3-700 mb-0 mt-2",children:[g("action.change")," ",g("color.color",{context:1===C.colors.length?"one":"other"}).toLowerCase()]}),(0,m.jsxs)(qo,{$wrap:!0,align:"center",children:[null===C||void 0===C||null===(n=C.colors)||void 0===n?void 0:n.map(((e,t)=>{var n;return(0,m.jsxs)(Ho,{children:[(0,m.jsx)(Lo,{pickerKey:`pms-color-picker-${t}`,allowColorToBeDisabled:!0,allowColorToBeInvisible:P,color:e,colorList:P?void 0:j,initPmsColorSearchOnActive:!0,onInputChange:Mn()((e=>{N(t,e)}),500),onColorPickerChange:e=>{R(t,e)}}),(null===S||void 0===S?void 0:S.index)===t&&(0,m.jsx)(Vo.A,{maxHeight:200,showColorDotFromHex:!0,colorKey:"hex",items:null!==(n=null===S||void 0===S?void 0:S.colors)&&void 0!==n?n:[],childrenTitleKey:"name",focusedItemRow:null===S||void 0===S?void 0:S.focusedRow,onFocusedItemRowChange:e=>v((0,In.rK)(e)),onItemPress:e=>M(t,e),onClickOutside:()=>v((0,In.dY)()),onEnter:(e,n)=>{e.preventDefault(),n&&M(t,n)}})]},`refinement-pms-color-${t}`)})),P&&(null===C||void 0===C?void 0:C.colors)&&C.colors.length<y.previewColorArray.length&&(0,m.jsx)(s.K0,{className:"ml-2",shadow:!0,bgColor:"fillWhite",icon:i.QLR,onClick:()=>{var e;v((0,In.yT)("color"));const t=[...null!==(e=null===C||void 0===C?void 0:C.colors)&&void 0!==e?e:[],{visible:!1,replaced:!1,sourceHex:null}];v((0,In.kM)({fileData:{colors:t}}))}})]}),"manual"===y.colorBackingAvailable&&(0,m.jsx)(s.Sc,{bgColor:"fillWhite",label:g("refinement.colorBacking","Backing color"),defaultChecked:y.colorBacking,onChange:e=>v((0,In.Yz)({colorBacking:e.target.checked})),className:"mt-4 mr-4"}),"auto"===y.colorBackingAvailable&&y.colorBacking&&(0,m.jsx)(Yo,{fontSize:12,className:"mt-2",children:g("color.warningAutoBackingColorApplied","Placed on non-white garment. Backing color applied.")}),"auto"===y.colorBackingAvailable&&!y.colorBacking&&(0,m.jsx)(Wo,{fontSize:12,className:"mt-2",children:g("color.warningAutoBackingColorNone","No backing color.")}),y.colorChangeEnabled&&(0,m.jsxs)(s.so,{className:"mt-4",children:[(0,m.jsx)(s.Sc,{bgColor:"fillWhite",label:g("refinement.colorChange"),defaultChecked:y.colorChange,onChange:e=>{e.target.checked||B(),v((0,In.Yz)({colorChange:e.target.checked}))},className:"mr-4 my-1"}),y.colorChange&&(0,m.jsxs)(Ho,{invalid:w&&!x.addons,children:[(0,m.jsx)(Lo,{pickerKey:`color-change-${null===(r=y.colorChangePms)||void 0===r||null===(o=r[0])||void 0===o?void 0:o.name}`,initPmsColor:null!==(a=null===(l=y.colorChangePms)||void 0===l||null===(p=l[0])||void 0===p?void 0:p.name)&&void 0!==a?a:void 0,color:E,initPmsColorSearchOnActive:!0,onInputChange:Mn()((e=>{N(L,e)}),500),onColorPickerChange:e=>{I({sourceHex:null===e||void 0===e?void 0:e.hex,sourceName:null===e||void 0===e?void 0:e.name}),v((0,In.uV)({data:{colorChangePms:[{name:null===e||void 0===e?void 0:e.name,hex:null===e||void 0===e?void 0:e.hex}]}}))}}),(null===S||void 0===S?void 0:S.index)===L&&(0,m.jsx)(Vo.A,{maxHeight:200,showColorDotFromHex:!0,colorKey:"hex",items:null!==(h=null===S||void 0===S?void 0:S.colors)&&void 0!==h?h:[],childrenTitleKey:"name",focusedItemRow:null===S||void 0===S?void 0:S.focusedRow,onFocusedItemRowChange:e=>v((0,In.rK)(e)),onItemPress:e=>{e&&(I({sourceHex:e.hex,sourceName:e.name}),v((0,In.uV)({data:{colorChangePms:[e]}})),v((0,In.dY)()))},onClickOutside:()=>v((0,In.dY)()),onEnter:(e,t)=>{e.preventDefault(),t&&(I({sourceHex:t.hex,sourceName:t.name}),v((0,In.dY)()),v((0,In.uV)({data:{colorChangePms:[t]}})))}})]})]}),w&&!x.value&&(0,m.jsx)(Yo,{fontSize:12,className:"mt-2",children:y.colors<1?g("color.errorNotEnough","You need to select a color"):g("color.errorTooMany","Too many colors for selected process option. Remove / combine colors or choose a refinement that supports more colors.")})]}),z=[y.colorChange?g("refinement.colorChangeColor","Color change color"):null,`${null===(f=y.pmsColors)||void 0===f?void 0:f.map((e=>e.name)).join(", ")}`];return(0,m.jsx)(wn.A,{title:`${g("color.color_other","Colors")} (PMS)`,validating:!O||w,valid:!O||x.value&&x.addons,hideChangeButton:!O,formSection:"color",pending:b,repeat:T,children:{open:F,collapsed:z}})},qo=(0,p.Ay)(s.so).withConfig({componentId:"sc-17po6yc-0"})(["> *{margin:5px 5px 0 0;}"]),Ho=p.Ay.div.withConfig({componentId:"sc-17po6yc-1"})(["position:relative;"," > ul{min-width:180px;}"],(e=>{let{invalid:t,theme:n}=e;return t&&`border: 1px solid ${n.colors.error};`})),Wo=(0,p.Ay)(s.EY).withConfig({componentId:"sc-17po6yc-2"})([""]),Yo=(0,p.Ay)(Wo).withConfig({componentId:"sc-17po6yc-3"})(["color:",";"],(e=>{let{theme:t}=e;return t.colors.error})),Ko=p.Ay.label.withConfig({componentId:"sc-17po6yc-4"})(["font-size:12px;"]),Jo=e=>{let{labels:t}=e;return t=t.filter((e=>!!e)),0===t.length?null:(0,m.jsx)(oa,{className:"mb-1",children:t.map(((e,t)=>(0,m.jsx)(s.EY,{light:!0,small:1===t,children:e},`combined-label-${t}`)))})},Xo=t=>{let{addonKey:n,addons:r,values:i,onChange:o,showValidationErrors:a,textColorCount:l,...c}=t;const[p,h]=(0,u.useState)(null),[f,g]=(0,u.useState)([]),[v,y]=(0,u.useState)(null),[A,b]=(0,u.useState)(null),[w,x]=(0,u.useState)(-1),[C,S]=(0,u.useState)(-1),[k,E]=(0,u.useState)([]),[I,_]=(0,u.useState)([]),{t:P}=(0,d.B)(),O=(0,u.useCallback)(((e,t,r,a,s,l)=>{var c;r=null===(c=r)||void 0===c?void 0:c.toString();const{id:u,inputRequeried:d,costs:p}=e;let h=[...null!==i&&void 0!==i?i:[]];const m=[...f].filter((e=>e!==u)),v=h.findIndex((e=>e.id===u));let y=!!a,A=!0;if(null!=r&&(h=h.map((e=>{var n,i,o;let l=null!==(n=null===(i=e.input)||void 0===i?void 0:i.split(","))&&void 0!==n?n:[];null!=s&&s.length>0&&(l=l.filter((e=>!s.includes(e))));const c=(t?a?[...l,r]:[r]:null===(o=l)||void 0===o?void 0:o.filter((e=>e!==r))).filter((e=>e));return 0===c.length&&(y=!1),e.id===u?{...e,input:c.length>0?c.join(","):null,hasCosts:!(null===p||void 0===p||!p.length)}:e}))),null!=u&&v>=0&&!y&&!t)h=h.filter((e=>e.id!==u)),A=void 0!==l?l:!d;else if(null!=u&&v<0){var b;h.push({id:u,input:null!==(b=r)&&void 0!==b?b:null,hasCosts:!(null===p||void 0===p||!p.length)}),A=void 0!==l?l:!d||!!r}else void 0!==l&&(A=l);A||m.push(u),o(n,h,m),g(m)}),[n,f,o,i]),T=(0,u.useCallback)(((e,t,n)=>{var r,o;const a=null===i||void 0===i?void 0:i.find((t=>t.id===e.id)),s=[...null!==(r=null===a||void 0===a||null===(o=a.input)||void 0===o?void 0:o.split(","))&&void 0!==r?r:[]];var c;"number"===typeof t&&(n=(null!==(c=n)&&void 0!==c?c:"").replace(/,/g,"."),s[t]=n);const u=s.filter((e=>!!e)).length===l;JSON.stringify(s)===JSON.stringify(i)&&u||O(e,!0,s.toString(),void 0,void 0,u)}),[l,O,i]),D=(e,t,n)=>{var r;T(e,t,null!==(r=null===n||void 0===n?void 0:n.name)&&void 0!==r?r:""),E((e=>({...e,[t]:n}))),b(null),setTimeout((()=>(e=>{_((t=>{var n;return t[e]=(null!==(n=t[e])&&void 0!==n?n:0)+1,t}))})(t)),10)};return(0,u.useEffect)((()=>{if(p)return;const e=[],t=[];for(const n of null!==r&&void 0!==r?r:[]){var a;const r=/[1|2|5]/.test(`${n.type}`)?"text":/[3|4]/.test(`${n.type}`)?"number":null,o=null!=r?/[1|3]/.test(`${n.type}`):null,s=!0!==o||!(null===i||void 0===i||!i.find((e=>e.id===n.id&&null!=e.input))),l=null!==(a=n.costs)&&void 0!==a?a:[],c=l.length>=1&&(null===i||void 0===i?void 0:i.filter((e=>e.id===n.id))),u=n.type===be.AddonType.RequiredCost;if(!s&&n.id&&e.push(n.id),!c){const e=u&&l.find((e=>e.selectType===be.AddonSelectType.OneOf));e&&O(n,!0,e.id,!0,[])}t.push({...n,inputType:r,inputRequeried:o,displayParentAsLabel:u,valid:!o||!(null===n||void 0===n||!n.input)})}h((null!==t&&void 0!==t?t:[]).sort(((e,t)=>!e.inputType&&t.inputType?-1:1))),o(n,i,e,!0),g(e)}),[n,r,p,o,O,i]),(0,u.useEffect)((()=>{if(null!=i&&null!=p&&l&&v!==l){y(l);for(const e of p)T(e)}}),[p,i,l,v,T]),(0,m.jsx)(Zo,{column:!0,...c,children:null===p||void 0===p?void 0:p.map((t=>{var n,r,o,c,d,p,h,f,g;const v=null!==(n=t.costs)&&void 0!==n?n:[],y=null===(r=v.filter((e=>e.selectType===be.AddonSelectType.OneOf)))||void 0===r?void 0:r.map((e=>e.id.toString())),_=1===v.length?v[0]:null,j=null===i||void 0===i?void 0:i.find((e=>e.id===t.id)),B=null!==(o=null===j||void 0===j||null===(c=j.input)||void 0===c?void 0:c.split(","))&&void 0!==o?o:[];return t.type===be.AddonType.RequiredTextByColor||t.type===be.AddonType.RequiredPMSByColor?(0,m.jsxs)(ia,{children:[(0,m.jsx)(Jo,{labels:[t.name,t.description]}),(0,m.jsx)(aa,{children:[...Array(l)].map(((n,r)=>{var i,o,a;return(0,m.jsxs)(ra,{children:[(0,m.jsx)(Lo,{useBorder:!0,pickerKey:`addons-pms-color-picker-${r}-${null!==(i=I[r])&&void 0!==i?i:"0"}`,placeholder:`${P("color.color_one")} ${r+1}`,defaultValue:null!==(o=null===k||void 0===k?void 0:k[r])&&void 0!==o?o:"",initPmsColor:null===B||void 0===B?void 0:B[r],onInputChange:Mn()((n=>{t.type===be.AddonType.RequiredPMSByColor&&(async(t,n)=>{if(x(null!==t&&void 0!==t?t:-1),n){var r;const i=null===(r=await e.Ay.searchPMSColor(n,!1))||void 0===r?void 0:r.data;b({index:t,colors:i}),S(0)}else b(null)})(r,n),T(t,r,n)}),500),onColorPickerChange:t.type===be.AddonType.RequiredPMSByColor?e=>{E((t=>({...t,[r]:e}))),T(t,r,null===e||void 0===e?void 0:e.name)}:void 0}),w===r&&(0,m.jsx)(Vo.A,{maxHeight:200,showColorDotFromHex:!0,colorKey:"hex",items:null!==(a=null===A||void 0===A?void 0:A.colors)&&void 0!==a?a:[],childrenTitleKey:"name",focusedItemRow:C,onFocusedItemRowChange:e=>S(e),onItemPress:e=>D(t,r,e),onClickOutside:()=>x(-1),onEnter:(e,n)=>{e.preventDefault(),n&&D(t,r,n)}})]},`addon__${t.id}_${r}`)}))})]},`addon_${t.id}_wrapper`):v.length<=1?(0,m.jsx)(u.Fragment,{children:null==t.inputType?(0,m.jsx)(s.Sc,{bgColor:"fillWhite",label:[t.name,null===_||void 0===_?void 0:_.name].filter((e=>!!e)).join(": "),subLabel:null!==(d=t.description)&&void 0!==d?d:void 0,defaultChecked:!!j,onChange:e=>{var n;return O(t,e.target.checked,null!==(n=null===_||void 0===_?void 0:_.id)&&void 0!==n?n:void 0)},className:"mb-3"}):(0,m.jsx)(na,{name:`addon_${t.id}`,lightLabel:!0,smallLabel:!1,label:null!==(p=t.name)&&void 0!==p?p:void 0,placeholder:t.description||"",defaultValue:null!==(h=null===j||void 0===j?void 0:j.input)&&void 0!==h?h:"",onChange:Mn()((e=>O(_||t,!!e.target.value,e.target.value)),500),type:null!==(f=t.inputType)&&void 0!==f?f:"text",required:t.inputRequeried,validate:(null!==a&&void 0!==a?a:(null===j||void 0===j?void 0:j.input.length)>0)&&t.inputRequeried,showValidateIcon:!0})},`addon_${t.id}`):(0,m.jsxs)(u.Fragment,{children:[t.displayParentAsLabel?(0,m.jsx)(Jo,{labels:[t.name,t.description]}):(0,m.jsx)(s.Sc,{bgColor:"fillWhite",className:"mb-3",label:`${t.name} (${v.length} ${P("refinement.addonVariations","variations")})`,subLabel:null!==(g=t.description)&&void 0!==g?g:void 0,defaultChecked:!!j,onChange:e=>O(t,e.target.checked,null===y||void 0===y?void 0:y[0])}),(0,m.jsx)($o,{column:!0,show:!!j||!!t.displayParentAsLabel,children:(!!j||!!t.displayParentAsLabel)&&v.filter((e=>e.selectType!==be.AddonSelectType.Mandatory)).map((e=>{var n,r;return e.selectType===be.AddonSelectType.OneOf?(0,m.jsx)(ea,{id:`addon_${t.id}_${e.id}`,bgColor:"fillWhite",label:e.name,subLabel:e.description,addLeftMargin:!t.displayParentAsLabel,addRightMargin:!1,checked:null!==(n=null===B||void 0===B?void 0:B.includes(e.id.toString()))&&void 0!==n&&n,onChange:n=>O(t,n.target.checked,e.id,!0,y)},`addon_${t.id}_${e.id}`):(0,m.jsx)(ta,{id:`addon_${t.id}_${e.id}`,bgColor:"fillWhite",label:e.name,subLabel:e.description,addLeftMargin:!t.displayParentAsLabel,checked:null!==(r=null===B||void 0===B?void 0:B.includes(e.id.toString()))&&void 0!==r&&r,onChange:n=>O(t,n.target.checked,e.id,!0)},`addon_${t.id}_${e.id}`)}))})]},`addon_${t.id}`)}))})},Zo=(0,p.Ay)(s.so).withConfig({componentId:"sc-16zno0q-0"})([""]),$o=(0,p.Ay)(s.so).withConfig({componentId:"sc-16zno0q-1"})(["margin-bottom:",";transition:opacity 0.2s ease,max-height 0.2s ease-in-out;max-height:",";overflow:",";opacity:",";"],(e=>{let{show:t}=e;return t?"10px":"0"}),(e=>{let{show:t}=e;return t?"100rem":"0"}),(e=>{let{show:t}=e;return t?"auto":"hidden"}),(e=>{let{show:t}=e;return t?"1":"0"})),ea=(0,p.Ay)(s.sx).withConfig({componentId:"sc-16zno0q-2"})(["margin:0 0 10px ",";"],(e=>{let{addLeftMargin:t}=e;return t?"44px":"0px"})),ta=(0,p.Ay)(s.Sc).withConfig({componentId:"sc-16zno0q-3"})(["margin:0 0 10px ",";"],(e=>{let{addLeftMargin:t}=e;return t?"44px":"0px"})),na=(0,p.Ay)(s.pd).withConfig({componentId:"sc-16zno0q-4"})(["flex:1;input{height:45px;}"]),ra=p.Ay.div.withConfig({componentId:"sc-16zno0q-5"})(["position:relative;> ul{min-width:180px;}"]),ia=p.Ay.div.withConfig({componentId:"sc-16zno0q-6"})(["display:flex;flex-direction:column;&:not(:last-of-type){margin-bottom:10px;}"]),oa=p.Ay.div.withConfig({componentId:"sc-16zno0q-7"})([""]),aa=p.Ay.div.withConfig({componentId:"sc-16zno0q-8"})(["position:relative;display:flex;flex-direction:row;flex-wrap:wrap;> *:not(:last-child){margin:0 4px 4px 0px;}"]),sa=()=>{const e=(0,c.jL)(),t=(0,c.GV)(bn.Lt.sectionValidating).customAddons,n=(0,c.GV)(bn.Lt.validateCustomAddons),r=(0,c.GV)(bn.Lt.selectedRefinementInputAddons),i=(0,c.GV)(bn.Lt.customAddons);if(!i||!i.addons.length)return null;const o=(0,m.jsx)("div",{className:"pt-2",children:(0,m.jsx)(Xo,{addonKey:"addons_customAddons",addons:i.addons,onChange:(i,o,a,s)=>{s||(!n&&t&&e((0,In.yT)("customAddons")),(0,In.w_)(o,r)?e((0,In.Yz)({addons:o})):e((0,In.uV)({data:{addons:o}})))},showValidationErrors:!n&&t,values:r})}),a=r.map((e=>{var t,n;const r=i.addons.find((t=>t.id===e.id)),o=null===r||void 0===r||null===(t=r.costs)||void 0===t?void 0:t.find((t=>{var n;return(null===(n=t.id)||void 0===n?void 0:n.toString())===e.input}));return null!==(n=null===o||void 0===o?void 0:o.name)&&void 0!==n?n:null}));return(0,m.jsx)(wn.A,{title:i.title,validating:t,valid:n,formSection:"customAddons",children:{open:o,collapsed:a}})},la=()=>{var e,t,n;const r=null===(e=(0,c.GV)(bn.Lt.backgroundImages))||void 0===e||null===(t=e.imageAreas)||void 0===t?void 0:t.measurement,i=(0,c.GV)(bn.Lt.isEditable),o=(0,c.GV)(bn.Lt.isRepeat),a=(0,c.GV)(bn.Lt.type),l=(0,c.GV)(bn.Lt.sectionValidating).size,{value:u,addons:p}=(0,c.GV)(bn.Lt.validateSize),h=(0,c.GV)(bn.Lt.size),f=(0,c.jL)(),{t:g}=(0,d.B)(),v=null!==(n=(null===h||void 0===h?void 0:h.mode)===be.SizeMode.FixedWidths?null===h||void 0===h?void 0:h.width:null===h||void 0===h?void 0:h.height)&&void 0!==n?n:0;if(null===h||void 0===h||!h.sizes)return null;const y=[`${h.width}cm x ${h.height}cm, ${h.size.toFixed(0)} cm\xb2`],A=(0,m.jsx)(s.so,{gap:"5px",$wrap:!0,children:h.sizes.map((e=>{const t=v===e/10;return(0,m.jsx)(s.$n,{onClick:()=>(e=>{const t=(0,In.mU)(),n=(0,In.b7)(),i=n[0];if(!i)return;const o=(null===h||void 0===h?void 0:h.mode)===be.SizeMode.FixedWidths?e/10:null,s=(null===h||void 0===h?void 0:h.mode)===be.SizeMode.FixedHeights?e/10:null;(0,In.GZ)(i,o,s,null===i||void 0===i?void 0:i.width,null===i||void 0===i?void 0:i.height,a).then((e=>{if(!e)return;const{width:i,height:l}=e;if(f((0,In.yT)("size")),r){for(const i of n)(0,Fn.Cv)(t,i,r,o,s),f((0,In.F4)({obj:i,measurement:r}));const e=(0,In.uv)(a,!1);f((0,In.Jk)({size:!0,base64:null===e||void 0===e?void 0:e.preview}))}else f((0,In.Yz)({width:i,height:l,size:i*l}))}))})(e),color:t?"accentText":"text",bgColor:t?"accent":"fillMedium",children:e+"mm"},`fixed_size_${e}`)}))});return(0,m.jsx)(wn.A,{formSection:"size",title:g((null===h||void 0===h?void 0:h.mode)===be.SizeMode.FixedHeights?"product._height":"product._width"),hideCollapseButton:!i,hideChangeButton:!i,collapsedVisibleForOpen:!0,validating:!i||l,valid:!i||u&&p,repeat:o,children:{open:A,collapsed:y}})},ca=()=>{const e=(0,c.jL)(),t=(0,c.GV)(bn.Lt.selectedRefinement),n=(0,c.GV)(bn.Lt.sectionValidating),r=(0,c.GV)(bn.Lt.names),o=(0,c.GV)(bn.Lt.isRepeat),a=(0,c.GV)(bn.Lt.isEditable),{t:l}=(0,d.B)();return t?(0,m.jsxs)(ua,{align:"center",justify:"center",className:"px-3 py-2",children:[t.convertedFile&&(0,m.jsx)(pa,{src:t.convertedFile,className:"mr-2"}),(0,m.jsxs)(da,{children:[r[t.guid],o&&(0,m.jsx)(s.EY,{small:!0,light:!0,children:l("order.repeat")})]}),a&&(0,m.jsx)(s.L0,{top:"6px",right:"10px",children:(0,m.jsx)(s.K0,{onClick:()=>{e(o?(0,f.wp)({title:"Repeat order",description:"Repeat order will be removed, price might change.",onOk:()=>{e((0,In._x)(!1)),e((0,In._u)(!n.all))}}):(0,In._u)(!n.all))},title:n.all?l("general.expand"):l("general.minimize"),icon:n.all?i.WxX:i.$sC})})]}):null},ua=(0,p.Ay)(s.so).withConfig({componentId:"sc-1aw7v39-0"})(["background-color:",";",";position:relative;height:48px;"],(e=>{let{theme:t}=e;return t.colors.fill}),(e=>{let{theme:t}=e;return`${t.borders.underline2} ${t.colors.border}`})),da=p.Ay.h2.withConfig({componentId:"sc-1aw7v39-1"})(["font-size:18px;line-height:18px;margin:0;"]),pa=p.Ay.img.withConfig({componentId:"sc-1aw7v39-2"})(["height:30px;width:50px;object-fit:contain;"]);var ha=n(98380);const fa=e=>{var t;let{label:n,smallLabel:r,lightLabel:a,value:s=[],suggestions:l=[],suggestionsPending:p,onValue:h,onChange:f,className:g}=e;const[v,y]=(0,u.useState)(!1),[A,b]=(0,u.useState)(-1),w=(0,u.useRef)(null),x=(0,u.useRef)(null),C=(0,c.Wr)((()=>y(!1))),{t:S}=(0,d.B)(),k=(e,t)=>{var n,r,i,o;if(null===e||void 0===e||e.preventDefault(),!(t=null!==(n=t)&&void 0!==n?n:null===e||void 0===e||null===(r=e.currentTarget)||void 0===r||null===(i=r[0])||void 0===i||null===(o=i.value)||void 0===o?void 0:o.trim())||s.find((e=>{var n;return e.toLowerCase()===(null===(n=t)||void 0===n?void 0:n.toLowerCase())})))return;const a=s.concat(t.trim());h(a),null!=x.current&&(x.current.value="")};return(0,m.jsxs)(m.Fragment,{children:[n&&(0,m.jsx)(ha.J,{smallLabel:r,className:a?void 0:"f3-700",light:a,children:n}),(0,m.jsxs)(ga,{as:"ul",className:g,gap:"6px",children:[s.map(((e,t)=>(0,m.jsxs)(va,{align:"center",as:"li",onClick:()=>{setTimeout((()=>h(s.filter(((e,n)=>n!==t)))),1)},children:[(0,m.jsx)("span",{children:e}),(0,m.jsx)("span",{className:"ml-1",children:(0,m.jsx)(o.g,{icon:i.Jyw})})]},`tag_${t}`))),(0,m.jsxs)(ba,{asInput:v,minWidth:null===w||void 0===w||null===(t=w.current)||void 0===t?void 0:t.getBoundingClientRect().width,children:[(0,m.jsxs)(ya,{ref:w,onClick:()=>{var e;y((t=>{const n=null!=e?e:!t;return n&&setTimeout((()=>{var e;null===x||void 0===x||null===(e=x.current)||void 0===e||e.focus()}),50),n}))},children:[(0,m.jsx)(o.g,{icon:i.QLR}),(0,m.jsxs)("span",{className:"ml-1",children:[S("general.new")," ",S("general.tag_one").toLowerCase()]})]}),(0,m.jsxs)("form",{ref:C,onSubmit:k,children:[(0,m.jsxs)("div",{children:[(0,m.jsx)(Aa,{autoFocus:!0,ref:x,onChange:Mn()((e=>{b(-1),null===f||void 0===f||f(e.target.value)}),300)}),v&&(0,m.jsx)(ma,{onClick:()=>{var e;const t=null===(e=x.current)||void 0===e?void 0:e.value;k&&t&&k(void 0,t)},children:(0,m.jsx)(o.g,{icon:i.e68})})]}),v&&(l.length>0||p)&&(0,m.jsx)(Vo.A,{thin:!0,maxHeight:100,items:l,focusedItemRow:A,onFocusedItemRowChange:e=>b(e),onItemPress:e=>{var t;k(void 0,e),null===x||void 0===x||null===(t=x.current)||void 0===t||t.focus()},onEnter:(e,t)=>{t&&(e.preventDefault(),k(void 0,t))},pending:p})]})]})]})]})},ma=p.Ay.span.withConfig({componentId:"sc-wtyypm-0"})(["position:absolute;right:3px;top:3px;cursor:pointer;"]),ga=(0,p.Ay)(s.so).withConfig({componentId:"sc-wtyypm-1"})(["flex-wrap:wrap;padding:0;margin:0;color:",";"],(e=>{let{theme:t}=e;return t.colors.text})),va=(0,p.Ay)(s.so).withConfig({componentId:"sc-wtyypm-2"})(["padding:2px 6px;border-radius:2px;background-color:",";border:1px solid ",";font-size:14px;cursor:pointer;"],(e=>{let{theme:t}=e;return t.colors.fillMedium}),(e=>{let{theme:t}=e;return t.colors.borderLight})),ya=p.Ay.button.withConfig({componentId:"sc-wtyypm-3"})(["position:relative;display:flex;justify-content:center;align-items:center;height:100%;padding:0 4px;background-color:transparent;border:none;transition:transform 0.2s ease,opacity 0.2s ease,visibility 0.2s ease;visibility:visible;opacity:1;"]),Aa=p.Ay.input.withConfig({componentId:"sc-wtyypm-4"})(["position:absolute;display:flex;justify-content:center;align-items:center;height:100%;padding:0 18px 0 4px;background-color:transparent;border:none;overflow:hidden;width:0px;transition:width 0.2s ease,opacity 0.2s ease,visibility 0.2s ease;visibility:hidden;opacity:0;outline:none;"]),ba=p.Ay.div.withConfig({componentId:"sc-wtyypm-5"})(["position:relative;display:flex;justify-content:center;align-items:center;height:28px;background-color:#b1c8ea;border:1px solid #97b2db;border-radius:2px;font-size:14px;min-width:","px;white-space:nowrap;overflow:hidden;",""],(e=>{let{minWidth:t}=e;return null!==t&&void 0!==t?t:0}),(e=>{let{asInput:t}=e;return t&&`\n      ${ya} {\n        position: absolute;\n        left: 0;\n        transform: translateX(-100%);\n        visibility: hidden;\n        opacity: 0;\n      }\n\n      ${Aa} {\n        position: relative;\n        width: 140px;\n        visibility: visible;\n        opacity: 1;\n      }\n  `})),wa=e=>{let{tags:t,label:n,onChange:r}=e;const i=(0,c.GV)((e=>(0,gn.NR)(e,t))),o=(0,c.GV)((e=>{let{articles:t}=e;return t.tagSuggestions.loading})),{t:a}=(0,d.B)(),s=(0,c.jL)();return(0,m.jsx)(fa,{smallLabel:!0,label:n?a("general.tag_other"):void 0,value:t,suggestions:i,onValue:e=>(e=>{s((0,gn.p3)()),r&&r(e)})(e),onChange:e=>(e=>{if(!e)return s((0,gn.p3)());s((0,gn.qX)(e))})(e),suggestionsPending:o})},xa=e=>{var t,n;let{tagsEnabled:r=!0,updateCollection:i}=e;const o=(0,c.GV)(bn.Lt.nameAndTags),a=(0,c.GV)(bn.Lt.collectionNameAndTags),l=(0,c.jL)(),{t:u}=(0,d.B)(),p=(0,c.GV)(bn.Lt.sectionValidating).nameAndTags,h=(0,c.GV)(bn.Lt.selectedRefinementGuid),f=(0,c.GV)(bn.Lt.isEditable),g=(0,c.GV)(bn.Lt.isRepeat),v=(0,c.GV)(bn.Lt.origin);if(!o&&!a)return null;const y=null!==(t=i?null===a||void 0===a?void 0:a.name:null===o||void 0===o?void 0:o.name)&&void 0!==t?t:"",A=null!==(n=i?null===a||void 0===a?void 0:a.categories:null===o||void 0===o?void 0:o.categories)&&void 0!==n?n:[],b=i||f?(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(s.pd,{type:"text",placeholder:u("general.name"),defaultValue:y,onChange:e=>(e=>{l("CollectionTool"===v&&i?(0,In.vh)(e):(0,In.uV)({data:{description:e}}))})(e.currentTarget.value),className:"flex-grow-1 mb-2"},h),r&&(0,m.jsx)(wa,{tags:A,onChange:e=>{l("CollectionTool"===v&&i?(0,In.Ww)(e):(0,In.uV)({data:{categories:e}}))}})]}):(0,m.jsx)(s.EY,{children:`${A.join(", ")}`}),w=[`${y}`,`${A.join(", ")}`];return(0,m.jsx)(wn.A,{valid:!0,title:f?u(r?"refinement.nameAndTags":"general.name"):y,validating:"CollectionTool"!==v&&f?p:void 0,hideCollapseButton:"CollectionTool"===v||!f,hideChangeButton:"CollectionTool"===v||!f,formSection:"nameAndTags",repeat:g,children:{open:b,collapsed:w}})},Ca=e=>{let{commentEnabled:t=!0,addonsEnabled:n=!0}=e;const{t:r}=(0,d.B)(),i=(0,c.jL)(),o=(0,c.Ty)("shoppingCart").cmsOptions.mockupRefinementText,a=(0,c.GV)(bn.Lt.sectionValidating).other,l=(0,c.GV)(bn.Lt.validateOther),u=(0,c.GV)(bn.Lt.selectedRefinementGuid),p=(0,c.GV)(bn.Lt.selectedRefinementInputAddons),h=(0,c.GV)(bn.Lt.other);if(!h)return null;const f=(0,m.jsxs)(m.Fragment,{children:[o&&(0,m.jsx)(s.EY,{fontSize:12,light:!0,children:o}),t&&(0,m.jsx)(s.pd,{className:"w-100 mt-2",label:r("general.comment","Comment"),defaultValue:h.comment,onChange:e=>{i((0,In.uV)({data:{comment:e.target.value}}))}},u),t&&n&&h.addons.length>0&&(0,m.jsx)(s.EY,{fontSize:12,light:!0,className:"mt-3 f3-400",children:r("refinement.commentDescription")}),n&&h.addons.length>0&&(0,m.jsx)("div",{className:"pt-2",children:(0,m.jsx)(Xo,{addonKey:"addons_main",addons:h.addons,onChange:(e,t,n,r)=>{r||(!l&&a&&i((0,In.yT)("other")),(0,In.w_)(t,p)?i((0,In.Yz)({addons:t})):i((0,In.uV)({data:{addons:t}})))},showValidationErrors:!l&&a,values:p})})]}),g=[`${h.comment}`];return(0,m.jsx)(wn.A,{title:r("refinement.otherInformation"),validating:a,valid:l,formSection:"other",children:{open:f,collapsed:g}})},Sa=(0,m.jsxs)(m.Fragment,{children:["cm",(0,m.jsx)("sup",{children:"2"})]}),ka=()=>{var e,t,n,r,a,l,p;const{t:h}=(0,d.B)(),f=(0,c.jL)(),g=(0,c.GV)(bn.Lt.selectedRefinementInputAddons),v=(0,c.GV)(bn.Lt.hasEditedObjectSize),y=(0,c.GV)(bn.Lt.size),A=null===(e=(0,c.GV)(bn.Lt.backgroundImages))||void 0===e||null===(t=e.imageAreas)||void 0===t?void 0:t.measurement,b=(0,c.GV)(bn.Lt.sectionValidating).size,{value:w,addons:x}=(0,c.GV)(bn.Lt.validateSize),C=(0,c.GV)(bn.Lt.type),S=(0,c.GV)(bn.Lt.isEditable),k=(0,c.GV)(bn.Lt.isRepeat),E=(0,u.useRef)(A);(0,u.useEffect)((()=>{E.current=A}),[A]);const I=(0,u.useRef)(Mn()(((e,t,n,r)=>{const i=(0,In.mU)(),o=(0,In.b7)(),a=o[0];a&&(0,In.GZ)(a,e,t,n,r,C).then((n=>{if(!n)return;const{width:r,height:a}=n;if(f((0,In.yT)("size")),E.current){for(const r of o)(0,Fn.Cv)(i,r,E.current,e,t),f((0,In.F4)({obj:r,measurement:E.current}));const n=(0,In.uv)(C,!1);f((0,In.Jk)({size:!0,base64:null===n||void 0===n?void 0:n.preview}))}else f((0,In.Yz)({width:r,height:a,size:r*a}))}))}),400));if(!y||y.hide)return null;const _=(0,m.jsxs)(m.Fragment,{children:[(0,m.jsxs)(m.Fragment,{children:[(0,m.jsxs)(s.so,{justify:"between",children:[(0,m.jsx)(s.EY,{fontSize:12,light:!0,children:y.maxSize||y.minSize?`${h("size.allowedMinMax","Allowed size: {{min}}-{{max}}",{min:y.minSize,max:null!==(n=y.maxSize)&&void 0!==n?n:" "})} (cm\xb2)`:null}),(0,m.jsxs)(Ea,{fontSize:12,light:!0,warning:y.warning,className:"text-right ml-3",children:[+y.size.toFixed(0)," ",Sa]})]}),(0,m.jsxs)(s.so,{align:"center",justify:"between",className:"mb-3 mt-2",children:[(0,m.jsx)(s.pd,{type:"number",label:h("product._width")+" (cm)",value:0===y.width?"":y.width,onChange:e=>{const t=+parseFloat(e.target.value||"0").toFixed(1);Number.isNaN(t)||(f((0,In.uV)({data:{width:t}})),I.current(t,null,y.width,y.height))},className:"flex-grow-1",warning:y.warning,validate:b&&!w,onFocus:e=>e.currentTarget.select(),min:1}),(0,m.jsx)(o.g,{className:"mx-2 mt-3",icon:i.GRI}),(0,m.jsx)(s.pd,{type:"number",label:h("product._height")+" (cm)",value:0===y.height?"":y.height,onChange:e=>{const t=+parseFloat(e.target.value||"0").toFixed(1);Number.isNaN(t)||(f((0,In.uV)({data:{height:t}})),I.current(null,t,y.width,y.height))},className:"flex-grow-1",warning:y.warning,onFocus:e=>e.currentTarget.select(),validate:b&&!w,min:1})]}),v&&(0,m.jsx)(s.EY,{fontSize:12,children:h("refinement.objectSizeChangedWarning")})]}),y.addons.length>0&&(0,m.jsx)("div",{className:"pt-2",children:(0,m.jsx)(Xo,{addonKey:"addons_main",addons:y.addons,onChange:(e,t,n,r)=>{!x&&w&&b&&f((0,In.yT)("size")),r||((0,In.w_)(t,g)?f((0,In.Yz)({addons:t})):f((0,In.uV)({data:{addons:t}})))},showValidationErrors:b&&!x,values:g})})]}),P=[y.mode===be.SizeMode.FixedDimensions?`${null!==(r=null===(a=y.dimensions)||void 0===a?void 0:a.width)&&void 0!==r?r:0} x ${null!==(l=null===(p=y.dimensions)||void 0===p?void 0:p.height)&&void 0!==l?l:0}`:`${y.width}x${y.height}, ${y.size.toFixed(0)} cm\xb2`];return(0,m.jsx)(wn.A,{formSection:"size",title:h("size.size","Size"),validating:!S||b,valid:!S||w&&x,hideCollapseButton:!S,hideChangeButton:!S,repeat:k,children:{open:_,collapsed:P}})},Ea=(0,p.Ay)(s.EY).withConfig({componentId:"sc-3n5eb6-0"})(["",";"],(e=>{let{warning:t,theme:n}=e;return t&&`color: ${n.colors.error}`}));var Ia=n(54579),_a=n(3781),Pa=n(27761);const Oa=e=>{var t,n,r,o,a,l;let{qty:u}=e;const{t:p}=(0,d.B)(),h=(0,c.GV)(bn.Lt.origin),f=(0,c.GV)(bn.Lt.priceTable),g=(0,c.GV)(bn.Lt.isMounting),v=(0,c.GV)($e.Bm),y=(0,c.GV)($e._M),A=(0,c.GV)(bn.Lt.selectedRefinement),b=(0,c.GV)(bn.Lt.isDraft),w=(0,c.GV)(bn.Lt.type),x=(0,c.GV)(bn.Lt.names),C=(0,c.jL)();if(!f)return null;const{price:S,minQuantityWarning:k,minQuantity:E,pending:I}=f,_=null!==S&&void 0!==S&&S.positions?[...S.positions]:[],P=(null!==(t=null===S||void 0===S||null===(n=S.quantityCosts)||void 0===n?void 0:n.length)&&void 0!==t?t:0)>0,O=e=>e?(0,m.jsx)(Pa.Q3,{label:e.label,value:e.value,pending:I}):null;return"PublicOrder"===h||v?(0,m.jsxs)(Ta,{column:!0,justify:"between",children:[(0,m.jsxs)(s.so,{column:!0,children:[!S&&I&&(0,m.jsx)(Y.A,{height:"60px",className:"mb-2"}),(0,m.jsx)(Pa.Ay,{label:p(b?"price.priceSuggestion":"price.amount"),total:null===S||void 0===S?void 0:S.total,pending:I,children:(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(Pa.Q3,{label:`${p("price.price")} / ${p("stock.pcs")}`,value:null===S||void 0===S?void 0:S.price,pending:I}),P?(0,m.jsxs)("div",{className:"mb-1",children:[(0,m.jsx)(s.EY,{fontSize:12,light:!0,children:p("cart.specification")}),O(null===S||void 0===S||null===(r=S.startCosts)||void 0===r?void 0:r[0]),O(null===S||void 0===S||null===(o=S.addonCosts)||void 0===o?void 0:o[0]),null===S||void 0===S?void 0:S.quantityCosts.map(((e,t)=>{var n,r,i,o;return(0,m.jsx)(Pa.Q3,{label:`${null!==(n=null===e||void 0===e?void 0:e.quantity)&&void 0!==n?n:1} ${p("stock.pcs")}. ${e.type===be.RefinementCostType.Mounting?p("stock.mounting"):null!==(r=_[0])&&void 0!==r&&null!==(i=r[1])&&void 0!==i&&null!==(o=i[0])&&void 0!==o&&o.refinementGuid?x[_[0][1][0].refinementGuid]:""}`,value:e.price,pending:I},t)}))]}):null,null!==S&&void 0!==S&&null!==(a=S.variationCosts)&&void 0!==a&&a.length?(0,m.jsx)("div",{className:"mb-1",children:S.variationCosts.map(((e,t)=>(0,m.jsx)(Pa.Q3,{label:e.label,value:e.value,pending:I},t)))}):null,_.length?_.map((e=>{let[t,n]=e;if(!n.length)return null;const{refinementGuid:r,refinementSize:i}=n[0],o=null===S||void 0===S?void 0:S.startCosts.find((e=>e.index===t)),a=null===S||void 0===S?void 0:S.addonCosts.find((e=>e.index===t));return(0,m.jsx)("div",{children:(0,m.jsxs)("div",{className:"mb-1",children:[P?(0,m.jsx)(s.EY,{fontSize:12,light:!0,children:p("refinement.placement_other")}):(0,m.jsxs)(s.EY,{fontSize:12,light:!0,children:[r&&x[r],i?`, ${i}`:""]}),o&&!P&&O(null===S||void 0===S?void 0:S.startCosts.find((e=>e.index===t))),a&&!P&&O(a),n.map(((e,t)=>(0,m.jsx)(Pa.Q3,{label:`${e.quantity} ${p("stock.pcs")}. ${"refinement"===w?e.variationNumber:""}${"refinement"===w&&e.angle?`, ${(0,Ln.TH)(e.angle,!0)}`:""}${e.split?`, ${e.split}`:""}`,value:e.price&&!P?e.price:" ",pending:I},`${e.variationNumber}${e.angle}${e.split}${e.index}-${t}`)))]})},t)})):null,null!==S&&void 0!==S&&null!==(l=S.productAddonCosts)&&void 0!==l&&l.length?(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(s.EY,{fontSize:12,light:!0,children:p("microshop.addons","Addons")}),S.productAddonCosts.map(((e,t)=>(0,m.jsx)(Pa.Q3,{label:e.label,value:e.value,pending:I},t)))]}):null]})})]}),g&&"number"===typeof u&&(null===A||void 0===A?void 0:A.articleStockQty)&&u>A.articleStockQty&&(0,m.jsx)(s.EY,{color:"error",fontSize:13,className:"mt-3",children:p("cart.qtyAdjustedByArticleQuantity")}),k&&(0,m.jsx)(Da,{className:"mt-2",children:p("refinement.minQuantityWarning",{minQuantity:E,articles:g?p("refinement.mountings"):(null===A||void 0===A?void 0:A.guid)&&x[A.guid]})})]}):(0,m.jsxs)(s.so,{column:!0,justify:"center",children:[(0,m.jsx)(s.EY,{center:!0,className:"mb-2",children:p("price.noPrice")}),!y&&(0,m.jsx)(s.K0,{icon:i.wq_,square:!0,bgColor:"white",onClick:()=>C((0,_a.Jf)({priceSetting:be.PriceViewSetting.Customer})),children:p("price.applyCustomer","Apply partner price")})]})},Ta=(0,p.Ay)(s.so).withConfig({componentId:"sc-nxfdie-0"})([""]),Da=p.Ay.div.withConfig({componentId:"sc-nxfdie-1"})(["max-width:310px;font-size:0.85em;"]);var ja=n(7430),Ba=n(51673);const Na=e=>{var t;let{currentFile:n,closeModal:r,onNewFile:i}=e;const[o,a]=(0,u.useState)(!1),[l,p]=(0,u.useState)(!0),[h,f]=(0,u.useState)(null),g=(0,c.jL)(),{t:v}=(0,d.B)();(0,u.useEffect)((()=>{h||async function(){p(!0);try{const e=await g((0,In.sF)(n));f(e.payload)}catch(e){Ba.A.error("Failed to fetch variable text data",e)}p(!1)}()}),[h,n,g]);const y=(0,u.useMemo)((()=>{var e,t,n,r;return[...null!==(e=null===h||void 0===h||null===(t=h.labels)||void 0===t?void 0:t.map(((e,t)=>(0,m.jsx)(Qa,{centered:0!==t,children:e}))))&&void 0!==e?e:[],...null!==(n=null===h||void 0===h||null===(r=h.textRefinements)||void 0===r?void 0:r.map((e=>(0,m.jsx)(Qa,{centered:!0,children:e.title}))))&&void 0!==n?n:[]]}),[h]);return(0,m.jsx)(Ga,{className:"pt-5 pl-4 pr-4 pb-4",children:l?(0,m.jsx)(Ha,{children:(0,m.jsx)(s.y$,{size:"large"})}):(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(za,{renderCompactHeaders:!0,colLayout:`repeat(${y.length+1}, minmax(max-content, auto))`,rows:null!==(A=null===h||void 0===h?void 0:h.splits,t=null===A||void 0===A?void 0:A.flatMap(((e,t)=>{var n,r;const i=[],o={border:!0,useDarkBackground:!0,cells:[{border:!0,el:(0,m.jsx)(Ua,{darkBackground:!0,children:e.title})},{border:!0,el:(0,m.jsx)(Ua,{darkBackground:!0})}]};null===h||void 0===h||null===(n=h.textRefinements)||void 0===n||n.forEach((()=>{o.cells.push({border:!0,el:(0,m.jsx)(Ua,{darkBackground:!0})})})),i.push(o);const a=null===e||void 0===e||null===(r=e.skus)||void 0===r?void 0:r.map(((e,n)=>{var r;const i=[{border:!0,el:(0,m.jsx)(Ua,{children:e.sku})},{border:!0,el:(0,m.jsx)(Ua,{centered:!0,children:e.size})}];return null===h||void 0===h||null===(r=h.textRefinements)||void 0===r||r.forEach((r=>{var o,a,s;const l=null===e||void 0===e||null===(o=e.inputs)||void 0===o?void 0:o.find((e=>e.colName===r.colName));i.push({border:!0,el:l?(0,m.jsx)(Va,{value:l.value,onChange:e=>((e,t,n,r)=>{f((i=>{var o,a;if(null===i||void 0===i||!i.splits)return i;const s={...i},l=null===s||void 0===s||null===(o=s.splits)||void 0===o?void 0:o[t],c=null===l||void 0===l||null===(a=l.skus)||void 0===a?void 0:a[n];if(c){var u;const t=null!==(u=c.inputs)&&void 0!==u?u:[],n=null===t||void 0===t?void 0:t.findIndex((e=>e.colName===r));if(-1!==n){const r=[...t],i={...r[n],value:e};r[n]=i,c.inputs=r}}return s}))})(e,t,n,l.colName),textOptions:{maxCharacters:null===(a=l.validation)||void 0===a?void 0:a.maxChars,textValidation:null===(s=l.validation)||void 0===s?void 0:s.type}}):(0,m.jsx)(Ua,{})})})),{border:!0,cells:i}}));return a&&i.push(...a),i})))&&void 0!==t?t:[],tintOddRows:!0,showCellReferencing:!0,headers:y,cols:y.length+1,useCellBorder:!0}),(0,m.jsx)(qa,{className:"pt-4",children:(0,m.jsxs)(s.$n,{color:"fillWhite",bgColor:"fillBlack",onClick:()=>(()=>{var e,t;a(!0);const n=null!==(e=null===h||void 0===h||null===(t=h.splits)||void 0===t?void 0:t.flatMap((e=>{var t;return null===(t=e.skus)||void 0===t?void 0:t.flatMap((e=>{var t;return null===e||void 0===e||null===(t=e.inputs)||void 0===t?void 0:t.filter((e=>null!==e&&void 0!==e))}))})))&&void 0!==e?e:[];g((0,In.q)(n)).then((e=>{const t=e.payload,n=new File([t],"Text.xlsx",{type:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"});i(n,null===h||void 0===h?void 0:h.textRefinements).then((e=>{e&&(null===r||void 0===r||r())}))})).finally((()=>{setTimeout((()=>{a(!1)}),120)}))})(),disabled:o,children:[v("action.save"),o&&(0,m.jsx)(Wa,{children:(0,m.jsx)(s.y$,{})})]})})]})});var A},Ma=e=>{let{refinements:t,textRefinements:n,onSubmit:r}=e;const[i,o]=(0,u.useState)({}),a=(0,c.GV)(bn.Lt.variableRefinements),l=(0,c.jL)(),{t:p}=(0,d.B)();return(0,m.jsxs)(s.so,{column:!0,className:"mt-2",children:[null===t||void 0===t?void 0:t.map(((e,t)=>{var r,l,c;const u=a.find((t=>t.orgIndex===e.index)),d=null===n||void 0===n?void 0:n.find((e=>e.index===(null===u||void 0===u?void 0:u.orgIndex)));return(0,m.jsxs)(s.so,{column:!0,className:"mt-2",children:[(0,m.jsxs)(s.EY,{fontSize:13,children:[(0,m.jsx)("strong",{children:null!==(r=null===d||void 0===d?void 0:d.title)&&void 0!==r?r:""}),", ",p("variableText.refinementRowTitle",{count:null===(l=e.previewTexts)||void 0===l?void 0:l.length,of:e.textCount})]}),(0,m.jsx)(s.so,{$wrap:!0,gap:"5px",className:"mt-1",children:null===(c=e.previewTexts)||void 0===c?void 0:c.map(((n,r)=>{const a=i[e.index]===r||void 0===i[e.index]&&0===r;return(0,m.jsx)(s.$n,{onClick:()=>o((t=>({...t,[e.index]:r}))),color:a?"accentText":"text",bgColor:a?"accent":"fillMedium",children:n},`preview_text_${t}_${r}`)}))})]},`refinement_preview_${t}`)})),(0,m.jsx)(s.$n,{className:"mt-4",color:"fillWhite",bgColor:"fillBlack",onClick:()=>{const e=a.map((e=>{var n,r,o,a,s;const l=null===t||void 0===t?void 0:t.find((t=>t.index===e.orgIndex));return{index:e.orgIndex,totalChars:null!==(n=e.preview.data)&&void 0!==n&&null!==(r=n.textOptions)&&void 0!==r&&r.priceByCharacter?null!==(o=null===l||void 0===l?void 0:l.totalChars)&&void 0!==o?o:0:null,text:null!==(a=null===l||void 0===l||null===(s=l.previewTexts)||void 0===s?void 0:s[i[e.orgIndex]||0])&&void 0!==a?a:""}}));r(e),l((0,f.Lr)())},children:p("action.ok")})]})},Ra=()=>{const[,e]=(0,u.useState)(!1),t=(0,c.GV)(bn.Lt.variableRefinements),n=(0,c.GV)(bn.Lt.invalidVariableText),r=(0,c.GV)(bn.Lt.refinementTypes),o=(0,c.GV)(bn.Lt.type),a=(0,u.useRef)(null),[l,p]=(0,u.useState)(null),[h,g]=(0,u.useState)(""),v=(0,c.jL)(),{t:y}=(0,d.B)();(0,u.useEffect)((()=>{const e=t.map((e=>{var t;return null===(t=e.canvasFiles)||void 0===t?void 0:t.map((e=>{var t,n;return`${null===(t=e.position)||void 0===t?void 0:t.variationNumber}_${null===(n=e.position)||void 0===n?void 0:n.quantity}`})).join("-")})).join(":");h&&h!==e&&v((0,In.PA)(!0)),g(e)}),[t,h,v]);const A=async e=>{const n=new Set(t.flatMap((e=>{var t,n;return null!==(t=null===(n=e.variations.text)||void 0===n?void 0:n.font)&&void 0!==t?t:[]})));for(const t of n)await new(yn())(t).load().catch((()=>null));let i=!1;for(const b of t){var a,s,l,c,u,d,p,h,f,m,g,y;const{text:t,totalChars:n}=null!==(a=e.find((e=>b.orgIndex===e.index)))&&void 0!==a?a:{},w=(0,In.mU)();if(!w||!t)continue;const x=w.getObjects().filter((e=>{var t;return(null===(t=e.data)||void 0===t?void 0:t.guid)===b.guid})),C=null===r||void 0===r?void 0:r.refinementTypes.find((e=>{var t;return e.refinement.id===(null===(t=b.variations.data)||void 0===t?void 0:t.id)})),S=await(0,In.Um)(t,{fontFamily:null!==(s=null===b||void 0===b||null===(l=b.variations)||void 0===l||null===(c=l.text)||void 0===c?void 0:c.font)&&void 0!==s?s:"Arial",fill:null!==(u=null===b||void 0===b||null===(d=b.variations)||void 0===d||null===(p=d.colors)||void 0===p||null===(h=p[0])||void 0===h?void 0:h.sourceHex)&&void 0!==u?u:"#000000"},null===C||void 0===C?void 0:C.refinement.textOptions),k=S.base64;v((0,In.jJ)({text:{value:t,characters:n},guid:b.guid}));const E={};for(const e of x){var A;null===e||void 0===e||e.set({height:S.fabricImage.height,width:S.fabricImage.width,data:{...e.data,text:{...null===(A=e.data)||void 0===A?void 0:A.text,value:t,previewText:!0}},_element:S.fabricImage._element,_originalElement:S.fabricImage._originalElement}),E[b.guid]||(E[b.guid]=(0,In.uv)(o,!0,b.guid,e))}v((0,In.kM)({guid:b.guid,fileData:{sampleFile:null===(f=E[b.guid])||void 0===f?void 0:f.sample,convertedFile:k}})),v((0,In.Jk)({convertedFile:!0,base64:null===(m=E[b.guid])||void 0===m?void 0:m.preview})),null!==(g=b.preview.data)&&void 0!==g&&null!==(y=g.textOptions)&&void 0!==y&&y.priceByCharacter&&(i=!0),w.renderAll()}i&&v((0,In.xe)())},b=async(t,n)=>{let r=!1;try{const a=await v((0,In.j8)(t));if(a&&a.payload){const{isValid:l,errors:c=[],refinements:u}=a.payload;if(l)r=!0,v((0,In.UO)(t)),v((0,In.PA)(!1)),p(t),v((0,f.wp)({color:"fillBlack",title:y("variableText.validateSuccessTitle"),description:y("variableText.validateSuccessDesc"),okLabel:y("action.ok"),maxWidth:700,hideOk:!0,hideIcon:!0,hideCancel:!0,contentWrapped:(0,m.jsx)(Ma,{refinements:u,onSubmit:A,textRefinements:n})}));else{var i,o;const e=null!==(i=null===c||void 0===c?void 0:c.slice(0,10))&&void 0!==i?i:[],t=(null===c||void 0===c?void 0:c.length)-(null===e||void 0===e?void 0:e.length);v((0,f.wp)({color:"fillBlack",title:y("variableText.validateErrorTitle",{count:null!==(o=null===c||void 0===c?void 0:c.length)&&void 0!==o?o:0}),description:y("variableText.validateErrorDesc"),okLabel:y("action.ok"),hideCancel:!0,maxWidth:500,contentWrapped:(0,m.jsxs)(s.so,{column:!0,className:"mt-2",children:[null===e||void 0===e?void 0:e.map(((e,t)=>(0,m.jsxs)(s.EY,{color:"error",fontSize:13,children:[y("error.cellRowCol",{row:e.row,col:e.colName})," ",y("error.code",{context:be.TextTableValidationErrorType[e.type]})]},e.row))),t>0&&(0,m.jsxs)(s.EY,{color:"error",fontSize:13,children:["+ ",t]})]})}))}e(!1)}}catch(a){e(!1)}return r},w=async t=>{var n,r;e(!0);const i=null!=t?null===(n=(0,ja.HL)(t))||void 0===n?void 0:n[0]:void 0,o=null===(r=(await v((0,In.P2)(i))).payload)||void 0===r?void 0:r.data,s=new File([o],"Text.xlsx",{type:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"});b(s),null!=a.current&&(a.current.value="")};return(0,m.jsxs)(s.so,{column:!0,className:"p-3",children:[(0,m.jsx)(wn.C,{children:y("general.text_other")}),(0,m.jsxs)(s.so,{className:"mt-2",children:[(0,m.jsx)(Fa,{square:!0,color:n?"white":"text",bgColor:n?"error":"fillMedium",icon:J.cbP,onClick:()=>(async()=>{var e;const t=null===(e=(await v((0,In.P2)(l))).payload)||void 0===e?void 0:e.data;if(t){const e=new File([t],"Text.xlsx",{type:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"});v((0,In.UO)(e));const n=window.URL.createObjectURL(t),r=document.createElement("a");r.href=n,r.setAttribute("download",e.name),document.body.appendChild(r),r.click(),document.body.removeChild(r),window.URL.revokeObjectURL(n)}})()}),(0,m.jsx)(s.g6,{portal:!1,renderTrigger:e=>(0,m.jsx)(Fa,{square:!0,color:n?"white":"text",bgColor:n?"error":"fillMedium",icon:i.hpd,onClick:e}),children:(0,m.jsx)(Na,{currentFile:l,onNewFile:(e,t)=>b(e,t)})}),(0,m.jsx)(La,{multiple:!0,icon:i.fny,fileInputRef:a,handleDrop:e=>w(e),uploadFiles:e=>w(e.target.files),handlePastedText:e=>w(null),getDataFromClipboardEnabled:!0,clipboardImageEnabled:!1})]}),n&&(0,m.jsx)(s.EY,{color:"error",className:"mt-3",fontSize:12,children:y("variableText.inputDataUpdated")})]})},La=(0,p.Ay)(s.ef).withConfig({componentId:"sc-1jlxwjo-0"})(["height:65px;"]),Fa=(0,p.Ay)(s.K0).withConfig({componentId:"sc-1jlxwjo-1"})(["margin-right:10px;padding:20px;height:auto;"]),za=(0,p.Ay)(s.XI).withConfig({componentId:"sc-1jlxwjo-2"})(["margin-left:0;margin-right:0;"]),Qa=p.Ay.span.withConfig({componentId:"sc-1jlxwjo-3"})(["font-weight:500;min-height:26px;word-wrap:normal;word-break:break-all;display:flex;flex-direction:column;justify-content:center;align-items:",";min-width:50px;background-color:#1a4c8b;color:white;margin:-0px -6px;padding:0px 8px;"],(e=>e.centered?"center":"start")),Ua=p.Ay.span.withConfig({componentId:"sc-1jlxwjo-4"})(["min-height:26px;word-wrap:normal;word-break:break-all;display:flex;flex-direction:column;align-items:",";justify-content:center;min-width:50px;background-color:",";margin:-8px -8px;padding:0px 8px;flex:1;"],(e=>e.centered?"center":"start"),(e=>e.green?"#e6f4ea":e.darkBackground?"#D3D3D3":"transparent")),Va=(0,p.Ay)(Hr.Tk).withConfig({componentId:"sc-1jlxwjo-5"})(["background:#e1f7e3;border:none;margin:-6px -8px;padding-left:8px;padding-right:8px;text-align:center;"]),Ga=(0,p.Ay)(s.so).withConfig({componentId:"sc-1jlxwjo-6"})(["flex:1;flex-direction:column;max-height:100vh;"]),qa=(0,p.Ay)(s.so).withConfig({componentId:"sc-1jlxwjo-7"})(["justify-content:flex-end;margin-top:auto;"]),Ha=p.Ay.div.withConfig({componentId:"sc-1jlxwjo-8"})(["display:flex;align-items:center;justify-content:center;height:100px;width:150px;"]),Wa=p.Ay.div.withConfig({componentId:"sc-1jlxwjo-9"})(["position:absolute;top:50%;right:50%;transform:translate(50%,-50%);"]),Ya=()=>{var e;const{t:t}=(0,d.B)(),n=null===(e=(0,c.GV)(bn.cG))||void 0===e?void 0:e.tieredPrice;return null!==n&&void 0!==n&&n.length?(0,m.jsx)(Ka,{justify:"start",className:"p-3 mt-4 mb-2",children:(0,m.jsxs)(Ja,{className:"",children:[(0,m.jsx)("thead",{children:(0,m.jsxs)("tr",{className:"f3-400",children:[(0,m.jsx)("th",{children:t("price.tiered","Tiered price")}),(0,m.jsxs)("th",{children:[t("price.price","Price")," / ",t("stock.pcs","pcs")]}),(0,m.jsx)("th",{children:t("refinement.startCost","Start cost")})]})}),(0,m.jsx)("tbody",{children:null===n||void 0===n?void 0:n.map(((e,t)=>(0,m.jsxs)("tr",{children:[(0,m.jsxs)("td",{children:[e.from," - ",e.to]}),(0,m.jsx)("td",{children:e.price}),(0,m.jsx)("td",{children:e.startCost})]},`staffed_${t}`)))})]})}):null},Ka=(0,p.Ay)(s.so).withConfig({componentId:"sc-fmlyji-0"})([""]),Ja=p.Ay.table.withConfig({componentId:"sc-fmlyji-1"})(["font-size:12px;td,th{padding:0.2em 1em;&:first-of-type{padding-left:0;}&:last-of-type{padding-right:0;}}"]),Xa=e=>{let{onSubmit:t}=e;const{t:n}=(0,d.B)(),r=(0,c.GV)(bn.Lt.origin),a=(0,c.GV)(bn.Lt.isDraft),l="OfferTool"===r||"PublicOrder"===r,p=(0,c.GV)(bn.Lt.submit),h=(0,c.GV)(bn.Lt.selectedVariationNr),g=(0,c.GV)(bn.Lt.validateForm),v=(0,c.GV)(bn.Lt.sectionValidating).all,y=(0,c.GV)(bn.Lt.invalidQuantity),A=(0,c.GV)(bn.Lt.type),b=(0,c.GV)(bn.Lt.activePriceTab),w=(0,c.GV)(bn.Lt.selectedRefinementGuid),x="article"===A&&a,C=(0,c.GV)(bn.Lt.showVariableTexts),S=(0,c.jL)(),k=(0,u.useCallback)((e=>{null!==p&&void 0!==p&&p.minStock&&(null===p||void 0===p?void 0:p.stockOperation)===be.StockOperation.Add&&e<p.minStock&&S((0,In.F2)(be.StockOperation.None)),S((0,In.Yz)({quantity:e}))}),[S,p]);if(!p)return(0,m.jsx)("div",{});const{disable:E,disableDeposit:I,enableStock:_,minQuantity:P,minStock:O,quantity:T,stepQuantity:D,stockOperation:j,submitting:B}=p,N=x?[25,50,100,150,200,300,500].map((e=>({value:e.toString(),label:e.toString()}))):[],M="refinement"===A||"number"===typeof T,R=[{id:"selectedRefinement",label:n("price.selectedRefinement","Selected refinement price")},{id:"selectedVariation",label:n("price.selectedArticle","Selected article price")},{id:"allRefinements",label:n("price.totalCart","Summary")}],L=(0,m.jsx)(m.Fragment,{children:M&&(0,m.jsxs)(m.Fragment,{children:["refinement"===A&&(0,m.jsx)(cs,{children:(0,m.jsx)(s.tU,{active:b,onChange:e=>{S((0,In.rX)(e)),(0,In.Vl)(e)},className:"w-100",options:R})}),(0,m.jsxs)(es,{column:!0,justify:"between",className:"p-3",children:[(0,m.jsx)(Oa,{qty:"refinement"===A?T:null}),B&&(0,m.jsx)(as,{center:!0,className:"my-3"}),N.length?(0,m.jsxs)(s.so,{column:!0,children:[(0,m.jsx)(s.l6,{menuPlacement:"top",toggleBgColor:"fill",defaultValue:N[0],className:"mt-3",options:N,isMulti:!1,isSearchable:!1,onChange:e=>e&&k(parseInt(e.value))}),(0,m.jsxs)(s.so,{className:"mt-3",align:"center",children:[(0,m.jsx)(o.g,{className:"mr-3",icon:i.iW_}),(0,m.jsx)(s.EY,{fontSize:12,children:n("refinement.articleDraftSuggestionInfo")})]})]}):"article"===A&&"number"===typeof T?(0,m.jsxs)(s.so,{column:!0,children:["number"===typeof j&&_&&(0,m.jsx)(s.Sc,{checked:j===be.StockOperation.Add,className:"f3-400 flex-grow-1",onChange:e=>{S((0,In.F2)(e.currentTarget.checked?be.StockOperation.Add:be.StockOperation.None))},disabled:I,label:(0,m.jsxs)(s.so,{align:"center",children:[(0,m.jsx)(o.g,{icon:K.T8I}),(0,m.jsxs)(s.EY,{nowrap:!0,small:!0,className:"f3-500 ml-2",children:[n("cart.depositToStock"),null!=O&&O>T?` (${n("cart.depositToStockMinText",{minStock:O})})`:""]})]})}),!p.hideQty&&(0,m.jsx)(so,{defaultQty:null!==T&&void 0!==T?T:0,onQtyChange:k,min:null!==O&&void 0!==O?O:25,disabled:p.disableQty,step:null!==D&&void 0!==D?D:50,firstStep:null!==P&&void 0!==P?P:25,className:"mt-2"},null!==w&&void 0!==w?w:h),y&&(0,m.jsx)(s.EY,{color:"error",fontSize:13,className:"mt-3 mb-1",children:n("refinement.invalidTransferAmount",{stepQuantity:D})})]}):null]})]})});return(0,m.jsxs)("div",{children:[C&&(0,m.jsx)(Ra,{}),(0,m.jsx)(Ya,{}),(0,m.jsx)(ls,{light:"selectedRefinement"===b,children:M?(0,m.jsx)(wn.A,{hideBorder:!0,children:{open:L}}):null}),(0,m.jsxs)(ts,{column:!0,className:"px-3 pb-3",children:[!x&&(0,m.jsx)(Za,{}),("PublicOrder"===r||"OfferTool"===r)&&(0,m.jsx)($a,{}),(0,m.jsx)(s.K0,{large:!0,icon:a?i.LFz:i.qj_,"data-testid":"add-refinement-button",className:"mt-2 flex-grow-1",color:"textWhite",bgColor:v&&!g?"error":"buy",disabled:E,onClick:()=>x?void S((0,In.w7)({callback:t})).then((e=>{const t="string"===typeof(null===e||void 0===e?void 0:e.payload)?e.payload:"";localStorage.getItem("article_draft_info_dismissed")||S((0,f.wp)({color:"fillBlack",title:n("status.saved"),description:n("refinement.articleAddedToDraftInfo"),okLabel:n("action.ok"),hideCancel:!0,maxWidth:500,contentWrapped:(0,m.jsxs)(s.so,{column:!0,children:[t&&(0,m.jsx)(ss,{src:t,alt:""}),(0,m.jsx)(s.Sc,{className:"mt-3",label:n("general.dontShowAgain"),onChange:e=>{e.target.checked?localStorage.setItem("article_draft_info_dismissed",Date.now().toString()):localStorage.removeItem("article_draft_info_dismissed")}})]})}))})):(async()=>{const e=await S((0,In.bE)());In.bE.fulfilled.match(e)&&(null===t||void 0===t||t())})(),children:n(l?"action.save":x?"cart.saveToArticles":"cart.saveToCart")})]})]})},Za=()=>{var e;const{t:t}=(0,d.B)(),n=(0,c.jL)(),r=(0,c.GV)(bn.Lt.submit),a=(0,c.GV)(bn.Lt.sectionValidating).all,l=(0,c.GV)(bn.Lt.validateSubmit),p=(0,c.GV)(bn.Lt.acceptLabel),[h,f]=(0,u.useState)(!1),{refinementPolicies:g}=(0,c.GV)(yt.u5),v=(0,c.GV)(bn.ms);if(!r)return null;const{proofType:y,submitting:A,proofServicePrice:b,proofServiceEnabled:w,finalProofAgreed:x,finalProofEnabled:C,policiesEnabled:S}=r,k=e=>{n((0,In.VO)(e))},E=e=>{n((0,In.eL)({...null!==v&&void 0!==v?v:{},[e.target.name]:e.target.checked}))},I=e=>{n((0,In.JB)(e)),x||k(!0)},_=(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(s.EY,{small:!0,children:t("proof.service","We create a design proof for you")}),(0,m.jsxs)(s.so,{align:"center",children:[(0,m.jsx)(o.g,{color:Wt.A.colors.textLight,icon:K.wq_}),(0,m.jsx)(s.EY,{light:!0,small:!0,className:"ml-2",children:b})]})]}),P=p&&p.length>300?(0,m.jsxs)(s.gK,{onClick:e=>{f(!0),e.preventDefault(),e.stopPropagation()},children:[t("general.agreeTo")," ",t("general.terms").toLocaleLowerCase()]}):p,O=S&&(null===g||void 0===g?void 0:g.value)&&(null===g||void 0===g||null===(e=g.value)||void 0===e?void 0:e.length)>0&&(0,m.jsx)(s.so,{className:"mt-4",column:!0,children:g.value.map((e=>(0,m.jsx)(s.so,{justify:"start",children:(0,m.jsx)(is,{required:!0,type:"checkbox",name:e.key,onChange:E,checked:null===v||void 0===v?void 0:v[e.key],bgColor:"fill",id:e.key,label:(0,m.jsx)(R.A,{name:`refinementPolicy${e.key}`,model:{propertyDataType:"PropertyXhtmlString",value:e.text}})})},`policy_${e.key}`)))}),T=w&&C?(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(rs,{disabled:A,className:"mt-2",name:"agreement",checked:"tool"===y&&x,onChange:()=>{I("tool")},label:P}),(0,m.jsx)(rs,{disabled:A,className:"mt-2",name:"agreement",checked:"service"===y,onChange:()=>I("service"),label:_})]}):(0,m.jsxs)(m.Fragment,{children:[C&&(0,m.jsx)(os,{checked:x,onChange:e=>k(e.currentTarget.checked),className:"f3-300",disabled:A,label:P}),w&&(0,m.jsx)(os,{checked:"service"===y,onChange:e=>I(e.currentTarget.checked?"service":"tool"),className:"f3-300",disabled:A,label:_})]});return w||C||S?(0,m.jsxs)("div",{className:"my-3",children:[O,T,a&&!l&&(0,m.jsx)(s.EY,{color:"error",small:!0,className:"mt-1",children:t("validation.required","Please select")}),h&&(0,m.jsx)(Ht.lG,{blur:!0,tint:!0,closeOutside:!0,header:t("general.terms"),onClose:()=>f(!1),maxWidth:"800px",children:(0,m.jsxs)(s.so,{column:!0,className:"p-3 mt-5",children:[(0,m.jsx)(s.EY,{children:p}),(0,m.jsxs)(s.K0,{className:"mt-4 ",large:!0,bgColor:"attention",color:"accentText",icon:i.e68,onClick:()=>{f(!1),k(!0)},children:[t("action.ok")," "]})]})})]}):null},$a=()=>{const{services:e,submitting:t}=(0,c.GV)(bn.Lt.submit),{t:n}=(0,d.B)(),r=(0,c.jL)(),[i,o]=(0,u.useState)(!1);if(!e.length)return null;const a=(0,Ia.$)(e,(e=>e.type)),l=a.get(be.PartnerCostType.DeliveryOption),p=a.get(be.PartnerCostType.OptionalCostByQuantity);return(0,m.jsxs)("div",{children:[(0,m.jsx)(s.EY,{underline:!0,pointer:!0,fontSize:12,bold:!0,onClick:()=>o(!i),className:"mb-2",children:n("shipment.deliveryOptional_other")}),i&&(0,m.jsxs)(m.Fragment,{children:[l&&l.length>1?l.map((e=>{var n;return(0,m.jsx)(rs,{className:"mb-1",disabled:t,name:"delivery",checked:e.selected,onChange:t=>r((0,In.jO)({id:e.id,selected:t.currentTarget.checked})),label:null!==(n=e.description)&&void 0!==n?n:e.name},e.name)})):null,null===p||void 0===p?void 0:p.map(((e,n)=>{var i;return(0,m.jsx)(os,{className:"mb-1"+(0===n?" mt-3":""),checked:e.selected,onChange:t=>r((0,In.jO)({id:e.id,selected:t.currentTarget.checked})),disabled:t,label:null!==(i=e.description)&&void 0!==i?i:e.name},e.name)}))]})]})},es=(0,p.Ay)(s.so).withConfig({componentId:"sc-1y7f6z7-0"})([""]),ts=(0,p.Ay)(s.so).withConfig({componentId:"sc-1y7f6z7-1"})(["background:",";"],(e=>{let{theme:t}=e;return t.colors.fillMedium})),ns=(0,p.AH)(["font-size:13px;white-space:pre-line;"]),rs=(0,p.Ay)(s.sx).withConfig({componentId:"sc-1y7f6z7-2"})(["",""],ns),is=(0,p.Ay)(s.Sc).withConfig({componentId:"sc-1y7f6z7-3"})(["",""],ns),os=(0,p.Ay)(s.Sc).withConfig({componentId:"sc-1y7f6z7-4"})(["",""],ns),as=(0,p.Ay)(s.y$).withConfig({componentId:"sc-1y7f6z7-5"})(["font-size:19px;"]),ss=p.Ay.img.withConfig({componentId:"sc-1y7f6z7-6"})(["max-width:100px;max-height:80px;object-fit:contain;object-position:left;margin-top:15px;"]),ls=p.Ay.div.withConfig({componentId:"sc-1y7f6z7-7"})(["background-color:",";transition:background-color 200ms linear;","{background-color:",";transition:background-color 200ms linear;}"],(e=>{let{theme:t,light:n}=e;return n?t.colors.fill:t.colors.fillMedium}),es,(e=>{let{theme:t,light:n}=e;return n?t.colors.fillWhite:t.colors.fill})),cs=p.Ay.div.withConfig({componentId:"sc-1y7f6z7-8"})(["font-size:12px;"]),us=()=>{const{t:e}=(0,d.B)(),t=(0,c.jL)(),n=(0,c.GV)(bn.T7).userProof,r=(0,u.useRef)(null),i=(0,c.GV)(bn.AR);if(!i)return null;const{placement:o,areas:a,attachments:l,guid:p}=i,h=(0,m.jsxs)("div",{className:"mt-2",children:[a.length>0?(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(s.EY,{light:!0,small:!0,className:"mb-2",children:e("refinement.placementDescription")}),(0,m.jsx)(s.EY,{fontSize:12,className:"f3-700",children:e("refinement.placement_one","Placement")}),(0,m.jsx)(s.l6,{isSearchable:!1,isMulti:!1,className:"mt-1 mb-3",defaultValue:a.find((e=>e.value===o)),options:a,onChange:e=>e&&t((0,In.uV)({data:{placement:e.value}}))})]}):null,(0,m.jsx)(s.EY,{fontSize:12,className:"f3-700",children:e("file.attachments")}),l.map((e=>(0,m.jsxs)(s.so,{align:"center",justify:"between",className:"mt-1",children:[(0,m.jsx)(s.EY,{light:!0,small:!0,children:e}),(0,m.jsx)(s.K0,{icon:K.yLS,small:!0,onClick:()=>{t((0,In.uy)(e))}})]},e))),(0,m.jsx)(ds,{"data-part-of-canvas":!0,id:"imagefile",type:"file",ref:r,accept:In.he,onChange:e=>{var n;(null===(n=e.target.files)||void 0===n?void 0:n.length)&&t((0,In.UO)(e.target.files[0])),r.current&&(r.current.value="")}}),(0,m.jsx)(s.K0,{small:!0,fontSize:"14px",icon:K.QLR,square:!0,className:"mt-1 w-100",disableFont:!0,onClick:()=>{var e;return null===(e=r.current)||void 0===e?void 0:e.click()},children:e("refinement.uploadFile")}),(0,m.jsxs)(s.K0,{fontSize:"14px",icon:K.yLS,square:!0,bgColor:"fillMedium",className:"mt-5 w-100",disableFont:!0,onClick:()=>{t((0,In.ok)({guid:p}))},children:[e("action.remove")," ",(0,m.jsx)("span",{className:"text-lowercase",children:e("refinement.userProof","User proof")})]})]}),f=l;return(0,m.jsx)(wn.A,{title:e("refinement.userProof","User proof"),validating:n,valid:!0,formSection:"userProof",children:{open:h,collapsed:f}})},ds=p.Ay.input.withConfig({componentId:"sc-11rz2l-0"})(["display:none;"]),ps=e=>{let{onSubmit:t}=e;const n=(0,c.jL)(),r=(0,c.GV)((e=>{let{authorization:t}=e;return t.isAuthenticated})),i=(0,c.GV)(bn.Lt.formSections),o=(0,c.GV)(bn.Lt.origin),a=(0,c.GV)(L.iZ),s=r&&("CollectionTool"===o||!a),l="CollectionTool"!==o,d=(0,u.useCallback)(((e,t)=>{n((0,In.xA)(e,t))}),[n]);return(0,m.jsxs)(hs,{column:!0,children:["CollectionTool"===o&&r&&(0,m.jsx)(xa,{updateCollection:!0}),(0,m.jsx)(ca,{}),i.has("articles")&&(0,m.jsx)(xn,{onSelect:d}),i.has("refinements")&&(0,m.jsx)(_n,{hideIfEmptyRefinement:!0}),i.has("nameAndTags")&&(0,m.jsx)(xa,{}),i.has("name")&&(0,m.jsx)(xa,{tagsEnabled:!1}),i.has("text")&&(0,m.jsx)(Hr.Ay,{}),i.has("color")&&(0,m.jsx)(Go,{}),i.has("size")&&(0,m.jsx)(ka,{}),i.has("fixedSizes")&&(0,m.jsx)(la,{}),i.has("customAddons")&&(0,m.jsx)(sa,{}),i.has("other")&&(0,m.jsx)(Ca,{commentEnabled:"CollectionTool"!==o}),i.has("userProof")&&(0,m.jsx)(us,{}),i.has("attachments")&&(0,m.jsx)(No,{}),(0,m.jsxs)(fs,{children:[s&&(0,m.jsx)(jo,{onSubmit:t}),!s&&l&&(0,m.jsx)(Xa,{onSubmit:t})]})]})},hs=(0,p.Ay)(s.so).withConfig({componentId:"sc-1wmhyoo-0"})(["height:100%;overflow:auto;overscroll-behavior:contain;background:",";"],(e=>{let{theme:t}=e;return t.colors.fill})),fs=p.Ay.div.withConfig({componentId:"sc-1wmhyoo-1"})(["margin-top:auto;border-bottom:0;"]);var ms=n(32833);const gs=()=>{const{t:e}=(0,d.B)(),t=(0,c.GV)(bn.Lt.selectedRefinement),n=(0,c.GV)(bn.Lt.invalidRefinementSet),r=(0,c.GV)(bn.Lt.refinementTypes),a=(0,c.GV)(bn.Lt.visibleRefinements),l=(0,c.GV)(bn.Lt.availableProductAddons),p=(0,c.GV)(bn.Lt.activeProductAddons),h=(0,c.GV)(bn.Lt.showProductAddons),f=(0,c.GV)(bn.Lt.delayedShowAddonRefinements),g=(0,c.GV)(bn.Lt.type),v=(0,c.GV)(bn.Lt.create),y=(0,c.jL)(),A=(0,c.GV)(bn.Lt.names),b=(0,c.GV)(bn.Lt.canCreate);function w(e){const t=e.sampleFile||e.convertedFile;return t?(0,m.jsx)(As,{src:t}):(0,m.jsx)(o.g,{className:"mr-1",icon:K.hiR})}(0,u.useEffect)((()=>{f&&l&&y((0,In.Yo)(!0))}),[f,l,y]);const x=(null===v||void 0===v?void 0:v.filesPending)||(null===v||void 0===v?void 0:v.placing),C=void 0===t&&!h,S=p.filter((e=>!!e.input));return(0,m.jsxs)(vs,{children:[null!==l&&void 0!==l&&l.length?(0,m.jsxs)(Cs,{children:[(0,m.jsx)(Ss,{icon:i.p7g,square:!0,disableFont:!0,fontSize:"12px",color:h?"accentText":"text",bgColor:h?"accent":"fillMedium",onClick:()=>{y((0,In.Yo)(!h))},children:e("microshop.addons","Addons")}),S.length>0?(0,m.jsx)(ks,{bgColor:"borderLight",color:"text",children:S.length}):null]}):null,a.map((e=>{var r,i,o,a,l,c,u,d;const p=e.guid,h=t===e;return(0,m.jsx)(xs,{active:h,invalid:n.has(p),disabled:x,onClick:()=>{x||t!==e&&y((0,In.zH)(p))},children:(0,m.jsxs)(s.so,{align:"center",justify:"center",children:[(0,m.jsx)(ys,{className:"mr-1",children:w(e)}),(0,m.jsxs)(s.so,{column:!0,children:[(0,m.jsx)(s.EY,{color:h?"accentText":"text",textOverflow:"128",bold:!0,nowrap:!0,lineheight:12,fontSize:12,children:A[e.guid]}),(null!==(r=null===(i=e.variations.text)||void 0===i||null===(o=i.textValues)||void 0===o?void 0:o.length)&&void 0!==r?r:0)>0&&null!==(a=e.variations.data)&&void 0!==a&&a.size?(0,m.jsx)(s.EY,{color:h?"accentText":"textLight",textOverflow:"128",lineheight:12,fontSize:12,children:[e.variations.data.size/10+"cm",null===(l=e.variations.colors)||void 0===l?void 0:l.map((e=>{var t;return null!==(t=e.replacedName)&&void 0!==t?t:e.sourceName})),null===(c=e.variations.text)||void 0===c?void 0:c.font].filter(Boolean).join(", ")}):null!==(u=e.variations.data)&&void 0!==u&&u.width&&null!==(d=e.variations.data)&&void 0!==d&&d.height?(0,m.jsx)(s.EY,{color:h?"accentText":"textLight",textOverflow:"128",lineheight:12,fontSize:12,children:`${e.variations.data.width}x${e.variations.data.height}cm`}):null]})]})},p)})),b&&(0,m.jsx)(ws,{disabled:x,active:C,onClick:()=>{var e;if(!x&&(y((0,In.Kr)(!0)),null!==r&&void 0!==r&&r.selectedRefinementType&&(null===(e=r.selectedRefinementType)||void 0===e?void 0:e.type)!==be.RefinementType.Image)){var t,n;const e=null===r||void 0===r||null===(t=r.refinementTypes.find((e=>e.refinement.type===be.RefinementType.Image)))||void 0===t||null===(n=t.refinement)||void 0===n?void 0:n.id;e&&y((0,In.Jr)(e))}},children:(0,m.jsxs)(s.so,{align:"center",children:[(0,m.jsx)(o.g,{icon:i.TSx}),(0,m.jsx)(s.EY,{fontSize:12,color:C?"accentText":"text",className:"ml-2",children:"article"===g?e("article.new","New article"):e("refinement.new","New refinement")})]})})]})},vs=(0,p.Ay)(ms.Ul).withConfig({componentId:"sc-1n8b7fd-0"})(["display:flex;flex-wrap:wrap;align-self:stretch;align-items:stretch;z-index:2;"]),ys=p.Ay.div.withConfig({componentId:"sc-1n8b7fd-1"})(["display:flex;height:30px;width:30px;"]),As=p.Ay.img.withConfig({componentId:"sc-1n8b7fd-2"})(["transition:all linear 0.2s;width:100%;height:100%;object-fit:contain;vertical-align:center;"]),bs=p.Ay.li.withConfig({componentId:"sc-1n8b7fd-3"})(["display:flex;position:relative;padding:0.5rem 1rem;cursor:",";user-select:none;background-color:",";color:",";&:hover{background-color:",";}"],(e=>{let{disabled:t}=e;return t?"progress":"pointer"}),(e=>{let{theme:t,active:n}=e;return n?t.colors.accent:t.colors.fillMedium}),(e=>{let{theme:t,active:n}=e;return n?t.colors.accentText:t.colors.text}),(e=>{let{theme:t,active:n}=e;return n?(0,Ee.Qw)(.03,t.colors.accent):(0,Ee.Qw)(.03,t.colors.fillMedium)})),ws=(0,p.Ay)(bs).withConfig({componentId:"sc-1n8b7fd-4"})(["border:1px "," dashed;background-color:",";"],(e=>{let{theme:t}=e;return t.colors.textDisabled}),(e=>{let{theme:t,active:n}=e;return n?t.colors.accent:t.colors.fillMedium})),xs=(0,p.Ay)(bs).withConfig({componentId:"sc-1n8b7fd-5"})(["transition:all linear 0.2s;"," color:",";"],(e=>{let{theme:t,invalid:n,active:r}=e;return n&&!r&&`background-color: ${(0,Ee.a)(.15,t.colors.error)};`}),(e=>{let{theme:t,disabled:n}=e;return n?t.colors.textDisabled:t.colors.text})),Cs=p.Ay.div.withConfig({componentId:"sc-1n8b7fd-6"})(["position:relative;"]),Ss=(0,p.Ay)(s.K0).withConfig({componentId:"sc-1n8b7fd-7"})(["border-radius:0;height:50px;min-width:50px;margin-right:2px;"]),ks=(0,p.Ay)(s.Ex).withConfig({componentId:"sc-1n8b7fd-8"})(["z-index:2;"]),Es=e=>{var t;let{initData:n,onSubmit:r,fullScreen:i}=e;const o=(0,c.jL)(),a=(0,c.GV)(bn.Lt.status),s=(0,c.GV)(bn.Lt.barErrors),l=(0,c.GV)(bn.Lt.shouldLoadPreviewForGuid),d=(0,c.GV)(bn.Lt.isDraft),p=(0,c.GV)(bn.Lt.sectionValidating).canvas,h=(0,c.GV)(bn.Lt.validateFiles),f=(0,c.GV)(bn.Lt.type),g=(0,c.GV)(gn.PO),v=(0,c.GV)(bn.Lt.selectedVariationNr),y=null===(t=(0,c.GV)(bn.Lt.selectedRefinementType))||void 0===t?void 0:t.textOptions,A=(0,An.Yc)(null===y||void 0===y?void 0:y.fontCategories);if((0,u.useEffect)((()=>{"uninitiated"===a&&o((0,In.Ts)(n)),"ready"===a&&o((0,In.xe)())}),[n,a,o]),(0,u.useEffect)((()=>{l&&o((0,In.LJ)(l))}),[l,o]),(0,u.useEffect)((()=>{if(0===A.length)return;const e=[];for(const n of A){var t;const r=new(yn())(null!==(t=n.fontName)&&void 0!==t?t:n.name);e.push(r.load().catch((e=>{})))}Promise.all(e)}),[A]),(0,u.useEffect)((()=>{g.shouldLoad&&o((0,gn._V)())}),[g,o]),"uninitiated"===a)return(0,m.jsx)(m.Fragment,{});if("pending"===a)return(0,m.jsx)(m.Fragment,{});if("error"===a)return(0,m.jsx)(m.Fragment,{});const b=(0,m.jsxs)(m.Fragment,{children:["refinement"===f&&(0,m.jsx)(Is,{children:(0,m.jsx)(So,{})}),"refinement"===f&&!!v&&(0,m.jsx)(_s,{children:(0,m.jsx)(lo,{})}),(0,m.jsx)(Ps,{align:"center",children:!d&&(0,m.jsx)(gs,{})}),(0,m.jsx)(Os,{invalid:p&&!h,children:(0,m.jsx)(Ni,{fullScreen:i})}),(0,m.jsx)(Ds,{children:(0,m.jsx)(ps,{onSubmit:r})}),s.length>0?(0,m.jsx)(Ts,{children:s.map(((e,t)=>{var n;return(0,m.jsx)("div",{children:e.message},`${null!==(n=e.code)&&void 0!==n?n:e.name}_${t}`)}))}):null,(0,m.jsx)(Bn,{})]});return"refinement"===f?(0,m.jsx)(Bs,{hideSplit:!v,className:"f3-400",children:b}):(0,m.jsx)(js,{children:b})},Is=(0,p.Ay)(s.so).withConfig({componentId:"sc-1p47t82-0"})([""]),_s=(0,p.Ay)(s.so).withConfig({componentId:"sc-1p47t82-1"})([""]),Ps=(0,p.Ay)(s.so).withConfig({componentId:"sc-1p47t82-2"})(["background:",";padding-right:100px;min-height:50px;","{padding-right:350px;}"],(e=>{let{theme:t}=e;return t.colors.fillMedium}),(e=>{let{theme:t}=e;return t.media.lg})),Os=(0,p.Ay)(s.so).withConfig({componentId:"sc-1p47t82-3"})([""," overflow-y:auto;overflow-x:hidden;> *{flex-grow:1;}"],(e=>{let{invalid:t,theme:n}=e;return t&&`border: 1px solid ${n.colors.error};`})),Ts=p.Ay.div.withConfig({componentId:"sc-1p47t82-4"})(["background:",";color:",";padding:0.5rem;"],(e=>{let{theme:t}=e;return(0,Ee.a)(.05,t.colors.error)}),(e=>{let{theme:t}=e;return(0,Ee.a)(.05,t.colors.textWhite)})),Ds=p.Ay.div.withConfig({componentId:"sc-1p47t82-5"})(["height:100%;"]),js=p.Ay.div.withConfig({componentId:"sc-1p47t82-6"})(["display:flex;flex-direction:column;width:100%;min-height:100%;","{display:grid;overflow:unset;height:100%;grid-template-columns:auto 420px;grid-template-rows:minmax(50px,min-content) minmax(50%,100%) 152px min-content;}","{min-height:60vh;max-height:calc(100vh - 50px);z-index:1;flex-grow:1;}","{","{grid-column:1 / -1;grid-row:1;}","{grid-column:1;grid-row:2 / 4;max-height:unset;}","{grid-column:2;grid-row:2 / 4;}","{grid-row:4;grid-column:1 / -1;}}"],(e=>{let{theme:t}=e;return t.media.lg}),Os,(e=>{let{theme:t}=e;return t.media.lg}),Ps,Os,Ds,Ts),Bs=(0,p.Ay)(js).withConfig({componentId:"sc-1p47t82-7"})(["","{grid-template-columns:120px 100px auto 420px;grid-template-rows:50px minmax(50%,100%) 152px min-content;","{grid-column:1;grid-row:1 / 4;}","{grid-column:2;grid-row:1 / 3;z-index:3;pointer-events:none;}","{grid-column:",";grid-row:1;}","{grid-column:2 / 4;grid-row:2 / 4;}","{grid-column:4;grid-row:2 / 4;}","{grid-row:4;grid-column:1 / -1;}}"],(e=>{let{theme:t}=e;return t.media.lg}),Is,_s,Ps,(e=>{let{hideSplit:t}=e;return t?"2 / -1":"3 / -1"}),Os,Ds,Ts),Ns=()=>{var e;const{status:t,fullscreen:n,init:r}=(0,c.GV)((e=>{let{refinementToolModal:t}=e;return t})),{refinements:i,cartVariations:o}=(0,c.GV)(bn.Lt.refinementAsPDF),a=(0,c.GV)(bn.Lt.accesoryImages),l="ready"===(0,c.GV)(bn.Lt.status),p=(0,c.GV)(bn.Lt.extendedCollection),h=(0,c.jL)(),{t:g}=(0,d.B)(),v=(0,c.cb)(),y=(0,c.GV)(bn.Lt.dirty);(0,u.useEffect)((()=>{if(a.toLoad.length)for(const e of a.toLoad)h((0,mn.wv)(e))}),[a.toLoad,h]);const A=()=>{(0,In.Ob)(),(0,Rn.vA)((()=>{h((0,In.C3)()),h((0,ke.RP)())}))};return"hide"===t?null:(0,m.jsxs)(Ht.lG,{overFlow:v.lg?"hidden":void 0,width:"96%",maxWidth:"2100px",height:"96%",onClose:()=>{y?h((0,f.wp)({title:g("action.continueWithoutSaving"),onOk:A,onCancel:()=>{}})):A()},onFullscreen:e=>h((0,ke.ms)(e)),startFullscreen:n,additionalActions:[i&&i.length?{icon:K.O_q,label:v.lg?g("pdf.preview"):void 0,disabled:null!==(e=a.pending)&&void 0!==e?e:a.toLoad.length,onClick:()=>{const e=p.map((e=>e.productNumber)),t=p.map((e=>e.variationNumber)).filter(gi.A);h(Yt.w9.exportToolOpened({origin:"refinements",parameters:{productNumbers:e},data:{refinements:i,pdfCartVariations:o,variationNumbers:t},selectedTab:"pdf",options:{tabs:["pdf"],render:"autoDownload",fileName:`${g("pdf.preview")}-${g("proof.proof_one")}`}}))}}:null,{icon:K.cbP,label:v.xl?g("refinement.downloadPreviewImage"):void 0,onClick:()=>(()=>{var e;const t=(0,In.mU)(),n=null===t||void 0===t||null===(e=t.viewportTransform)||void 0===e?void 0:e.map((e=>e));null===t||void 0===t||t.setViewportTransform([1,0,0,1,0,0]);try{const e=null===t||void 0===t?void 0:t.toDataURL({format:"png",quality:1,multiplier:1}),r=document.createElement("a");r.href=null!==e&&void 0!==e?e:"",r.setAttribute("download","product-mockup.png"),document.body.appendChild(r),r.click(),(0,Fn.XD)(n)&&(null===t||void 0===t||t.setViewportTransform(n))}catch(r){}})(),disabled:!l}].filter(gi.A),blur:!0,tint:!0,children:["pending"===t&&(0,m.jsxs)(Ms,{align:"center",justify:"center",className:"h-100 w-100",children:[(0,m.jsx)(s.y$,{className:"mr-2"}),g("status.waiting")]}),r&&(0,m.jsx)(Es,{onSubmit:A,fullScreen:n,initData:r})]})},Ms=(0,p.Ay)(s.so).withConfig({componentId:"sc-7kzds7-0"})(["font-size:larger;"]),Rs=()=>{const{currentReseller:e}=(0,G.A)((e=>{let{resellers:t}=e;return t})),{t:t}=(0,d.B)(),{isB2BReseller:n}=(0,G.A)(F.F);return n&&e?(0,m.jsx)(s.yP,{children:(0,m.jsxs)(Ls,{className:"mx-auto py-2",children:[(0,m.jsx)("dt",{className:"pr-2 visually-hidden",children:t("reseller.reseller_one","Reseller")}),(0,m.jsx)("dd",{children:e.name})]})}):null},Ls=p.Ay.dl.withConfig({componentId:"sc-1caidbt-0"})(["width:fit-content;margin-bottom:0;dt,dd{display:inline-block;vertical-align:middle;}dd{margin-bottom:0;}"]);var Fs=n(12180),zs=n(85913);const Qs=(0,zs.Mz)((e=>e.bookmark.showBookmark),(e=>e.search.visible),(e=>e.cart.showCart),((e,t,n)=>e||t||n?420:0)),Us=(0,p.Ay)(Fs.N9).attrs({}).withConfig({componentId:"sc-albpy8-0"})(["--toastify-color-progress-light:linear-gradient( to right,"," );margin-top:70px;","{width:auto;margin:1em;margin-top:6rem;margin-right:",";}transition:margin 150ms linear;.Toastify__toast-container--bottom-center{transform:none;}.Toastify__toast-container--top-right{top:6rem;}.Toastify__toast{padding:0;border-radius:2px;transition-duration:100ms !important;}.Toastify__toast-body{padding:0;}"],(e=>{let{theme:t}=e;return`${t.colors.accent}, ${(0,Ee.a)(.2,t.colors.accent)}`}),(e=>{let{theme:t}=e;return t.media.lg}),(e=>{let{offset:t}=e;return t?`${t}px`:"2rem"})),Vs=()=>{const e=(0,c.GV)(Qs);return(0,m.jsx)(Us,{offset:e,position:"top-right",transition:Fs.K9,autoClose:!1,hideProgressBar:!1,newestOnTop:!0,closeButton:!1,closeOnClick:!0,rtl:!1,pauseOnFocusLoss:!0,icon:!1})};var Gs=n(78247),qs=n(43099);const Hs=e=>{let{label:t,icon:n,id:r,active:i,minimized:a,onClick:l,className:c,arrow:d}=e;const p=(0,u.useRef)(null);return(0,m.jsx)(m.Fragment,{children:(0,m.jsx)(s.m_,{placement:"right",tooltip:t,disabled:!a,children:(0,m.jsxs)(Xs,{className:`${c||""} ${d?"py-1":""}`,active:i,"data-testid":`menu-item-${r}`,onClick:()=>l&&l(),ref:p,children:[(0,m.jsxs)(s.so,{align:"center",children:[n&&(0,m.jsx)($s,{justify:"center",children:(0,m.jsx)(o.g,{icon:n})}),(0,m.jsx)(Zs,{minimized:a,children:t})]}),d&&(0,m.jsx)(s.K0,{icon:K.dmS,bgColor:"fill"})]})})})},Ws=e=>{let{activeItem:t}=e;const n=(0,c.jL)(),r=(0,c.GV)(qs.Oe),i=(0,c.GV)(qs.Q),o=(0,c.cb)(),{t:a}=(0,d.B)(),s=(e,i)=>{const s=function(e){return{Orders:{label:e("order.order_other"),icon:K.YEm},Articles:{label:e("product.article_other"),icon:K.hiR},Offers:{label:e("offer.offer_other"),icon:K.DO5},Microshops:{label:e("microshop.microshop_other"),icon:K.vmT},Files:{label:e("file.file_other"),icon:K.Uj9},Collections:{label:e("collection.collection_other"),icon:K.AdY},CustomerSelector:{label:e("seller.selectCustomer"),icon:K.O26},PartnersOverview:{label:e("seller.partnerOverview","Partner overview"),icon:K.N$P},OrderMonitoring:{label:e("seller.orderMonitoring"),icon:K.pS3},CustomerMicroshops:{label:e("seller.customerShops"),icon:K.vmT},Salesboard:{label:e("salesBoard.salesBoard"),icon:K.gqO},PriceSettings:{label:e("price.prices"),icon:K.wq_},ExportedFiles:{label:e("seller.exportedFiles"),icon:K.cbP}}}(a);return(0,m.jsxs)(m.Fragment,{children:[i&&e.length>0&&(0,m.jsx)(el,{className:"m-3"}),e.map((e=>s[e]&&(0,m.jsx)(Hs,{...s[e],active:e===t,minimized:r,onClick:()=>n((0,qs.On)(e)),arrow:o.lgBelow,id:e},e)))]})};return(0,m.jsxs)(Js,{justify:"between",column:!0,className:"pt-2",children:[(0,m.jsxs)(Ys,{children:[o.lg&&(0,m.jsx)(Hs,{minimized:r,label:a(r?"general.expand":"general.minimize"),icon:r?K.omj:K.f9x,onClick:()=>n((0,qs.Yp)()),className:"mb-4"}),s(i.main,!1),s(i.seller,!0),s(i.settings,!0)]}),o.lg&&(0,m.jsx)(Ks,{children:(0,m.jsx)(Hs,{minimized:r,label:a("general.hide"),icon:K.GRI,onClick:()=>n((0,qs._S)()),className:"mb-1"})})]})},Ys=p.Ay.div.withConfig({componentId:"sc-iv3bix-0"})(["flex-grow:1;"]),Ks=p.Ay.div.withConfig({componentId:"sc-iv3bix-1"})([""]),Js=(0,p.Ay)(s.so).withConfig({componentId:"sc-iv3bix-2"})(["flex-grow:1;background-color:",";"],(e=>{let{theme:t}=e;return t.colors.fillMedium})),Xs=p.Ay.span.withConfig({componentId:"sc-iv3bix-3"})(["cursor:pointer;display:flex;align-items:center;min-height:35px;width:100%;padding:10px 8px;border:none;justify-content:space-between;"," &:hover{background-color:",";}"],(e=>{let{active:t,theme:n}=e;return t?`background-color: ${(0,Ee.Qw)(.06,n.colors.fillMedium)};`:""}),(e=>{let{theme:t}=e;return(0,Ee.Qw)(.03,t.colors.fillMedium)})),Zs=p.Ay.div.withConfig({componentId:"sc-iv3bix-4"})(["","{opacity:",";width:",";}transition:opacity 0.2s,width 0.2s;white-space:nowrap;display:inline-flex;vertical-align:middle;"],(e=>{let{theme:t}=e;return t.media.lg}),(e=>{let{minimized:t}=e;return t?"0":"1"}),(e=>{let{minimized:t}=e;return t?"0px":"120px"})),$s=(0,p.Ay)(s.so).withConfig({componentId:"sc-iv3bix-5"})(["width:38px;font-size:16px;flex-shrink:0;"]),el=p.Ay.div.withConfig({componentId:"sc-iv3bix-6"})(["border-bottom:1px solid ",";&:hover{background-color:transparent !important;}"],(e=>{let{theme:t}=e;return t.colors.border}));var tl=n(43693),nl=n(24394),rl=n(12087);const il=p.Ay.div.withConfig({componentId:"sc-uqy59g-0"})(["background-color:",";padding:1rem;position:relative;"," ","{padding:1.5rem;","}"],(e=>{let{theme:t,color:n}=e;return t.colors[null!==n&&void 0!==n?n:"fillWhite"]}),(e=>{let{padBottom:t}=e;return t&&"padding-bottom: 2.5rem;"}),(e=>{let{theme:t}=e;return t.media.lg}),(e=>{let{padBottom:t}=e;return t&&"padding-bottom: 3rem;"})),ol=e=>{let{header:t,icon:n,className:r,children:i,...a}=e;return(0,m.jsxs)(il,{className:r,...a,children:[(0,m.jsxs)(ll,{children:[(0,m.jsx)(o.g,{icon:n,className:"mr-2"}),t]}),i]})},al=e=>{let{onClick:t,onOk:n,editing:r,label:a,icon:s}=e;const{t:l}=(0,d.B)();return(0,m.jsxs)(sl,{onClick:r&&null!==n&&void 0!==n?n:t,children:[(0,m.jsx)(o.g,{size:"xs",className:"mr-1",icon:s||(r?i.e68:i.hpd)}),a||l(r?"action.ok":"action.edit")]})},sl=(0,p.Ay)(s.gK).withConfig({componentId:"sc-uqy59g-1"})(["font-size:14px;"]),ll=p.Ay.h3.withConfig({componentId:"sc-uqy59g-2"})(["font-size:14px;"]);var cl=n(53530);const ul=e=>{var t,n,r,i,o,a,l;let{article:p,className:h,hideSubmitForApproval:f}=e;const g=(0,c.jL)(),[v,y]=(0,u.useState)(null!==(t=p.minStock)&&void 0!==t?t:1),[A,b]=(0,u.useState)(!1),{t:w}=(0,d.B)(),{isCartAvailable:x,isCartLoading:C,pending:S}=(0,c.Ty)("shoppingCart"),k=(0,c.GV)(gn.iP),E=(0,c.GV)((e=>{var t;let{siteDefinition:n}=e;return null===(t=n.cartPage)||void 0===t?void 0:t.url})),I=(0,c.GV)((e=>{var t,n;let{user:r}=e;return null!==(t=null===(n=r.userIdentity)||void 0===n?void 0:n.isSeller)&&void 0!==t&&t})),_=e=>{g((0,yt.Nz)("shoppingCart")({stockOperation:e,article:p,quantity:v})).then((()=>E&&b(!0)));const t=p.minStock?p.minStock:1;y(t)},P=k||!x||C||v<1||S||v<(null!==(n=p.minQuantity)&&void 0!==n?n:0),O=k||P||v+(null!==(r=p.stockQuantity)&&void 0!==r?r:0)<(null!==(i=p.minStock)&&void 0!==i?i:0),T=!(p.status===be.ArticleStatus.Pending||p.status===be.ArticleStatus.Draft),D=!(p.status===be.ArticleStatus.Pending),j=!f&&p.status===be.ArticleStatus.Draft;return(0,m.jsxs)("div",{className:h||void 0,children:[(0,m.jsxs)(dl,{justify:"between",align:"center",children:[(0,m.jsx)(s.K0,{large:!0,square:!0,icon:K.EZy,bgColor:"fillWhite",disabled:v<=1,onClick:()=>y(v-1)}),S?(0,m.jsx)(s.y$,{}):(0,m.jsx)(pl,{type:"number",value:v,min:1,autoFocus:!0,onFocus:e=>e.target.select(),onChange:e=>y(+e.target.value)}),(0,m.jsx)(s.K0,{large:!0,square:!0,icon:K.QLR,bgColor:"fillWhite",onClick:()=>y(v+1)})]}),(0,m.jsxs)(s.K0,{large:!0,square:!0,disableFont:!0,fontSize:"12px",bgColor:"buy",color:"accentText",icon:K.qj_,className:"w-100 mt-2 f3-400",onClick:()=>_(be.StockOperation.None),disabled:P,children:[w("stock.operation_order","Order directly"),P&&` (${w("stock.min","Min:")} ${p.minQuantity}) `]}),j&&(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(s.K0,{large:!0,square:!0,disableFont:!0,fontSize:"12px",bgColor:"buy",disabled:k,color:"accentText",icon:K.Zsp,className:"w-100 mt-2 f3-400",onClick:()=>{p.id&&g((0,gn.b2)({id:p.id,immediate:!1}))},children:k?(0,m.jsx)(s.y$,{}):w("article.submitApproval","Submit draft for approval")}),I&&(0,m.jsx)(s.K0,{large:!0,square:!0,disableFont:!0,fontSize:"12px",bgColor:"buy",disabled:k,color:"accentText",icon:K.Zsp,className:"w-100 mt-2 f3-400",onClick:()=>{p.id&&g((0,gn.b2)({id:p.id,immediate:!0}))},children:k?(0,m.jsx)(s.y$,{}):w("status.approvedAction")})]}),D&&(0,m.jsxs)(s.K0,{square:!0,icon:K.T8I,color:"text",fontSize:"12px",bgColor:"fillMedium",disableFont:!0,className:"mt-2 f3-400 w-100",disabled:O,onClick:()=>_(be.StockOperation.Add),children:[w("stock.operation_add"),O&&` (${w("stock.min")} ${(null!==(o=p.minStock)&&void 0!==o?o:0)-(null!==(a=p.stockQuantity)&&void 0!==a?a:0)})`]}),T&&(0,m.jsx)(m.Fragment,{children:(0,m.jsx)(s.K0,{square:!0,icon:K.K3L,color:"text",fontSize:"12px",disableFont:!0,bgColor:"fillMedium",className:"mt-2 f3-400 w-100",disabled:P||v>(null!==(l=p.stockQuantity)&&void 0!==l?l:0),onClick:()=>_(be.StockOperation.Remove),children:w("stock.operation_withdraw")})}),A&&(0,m.jsx)(s.z9,{to:E,pill:!0,bgColor:"buy",color:"accentText",className:"mt-3 f3-400 d-block",onClick:()=>g((0,qs.On)()),children:w("cart.toCart")})]})},dl=(0,p.Ay)(s.so).withConfig({componentId:"sc-458c01-0"})(["border:1px solid ",";height:42px;"],(e=>{let{theme:t}=e;return t.colors.borderLight})),pl=p.Ay.input.withConfig({componentId:"sc-458c01-1"})(["border:none;background-color:white;-moz-appearance:textfield;text-align:center;width:100%;height:100%;&:focus{outline:none;}::-webkit-outer-spin-button,::-webkit-inner-spin-button{-webkit-appearance:none;margin:0;}"]);var hl=n(9030),fl=n(38187);const ml=()=>{var e,t,n;const{article:r,details:i}=(0,G.A)(gn.gQ),a=(0,G.A)(gn.PO),l=(0,gn.J5)(r,a),u=(0,c.jL)(),{t:p}=(0,d.B)();return r?(0,m.jsxs)(m.Fragment,{children:[(0,m.jsxs)(il,{className:"p-0 mb-2",color:"transparent",children:[(0,m.jsx)(cl.V,{header:p("general.description","Description"),type:"h3"}),(0,m.jsxs)(gl,{children:[(0,m.jsxs)(vl,{bold:!0,className:"mr-1 d-inline-block",children:[p("product.articleNumber"),":"]}),(0,m.jsx)(yl,{className:"d-inline-block",children:r.id})]}),(0,m.jsxs)(gl,{children:[(0,m.jsxs)(vl,{bold:!0,className:"mr-1 d-inline-block",children:[p("size.size"),":"]}),(0,m.jsxs)(yl,{className:"d-inline-block",children:[r.width,"x",r.height,"cm"]})]}),(0,m.jsxs)(gl,{children:[(0,m.jsxs)(vl,{bold:!0,className:"mr-1",children:[p("color.color",{context:"other"})," (PMS):"]}),(0,m.jsx)(yl,{children:(0,m.jsx)(s.so,{className:"my-1",$wrap:!0,children:null===(e=r.color)||void 0===e?void 0:e.map(((e,t)=>(0,m.jsxs)(Al,{itemProp:"color",className:"mr-3 mb-1 py-3",children:[(0,m.jsx)(hl.A,{hex:[null===e||void 0===e?void 0:e.hex],className:"mr-1",border:"black"}),e.name]},t)))})})]})]}),(null===(t=i.data)||void 0===t?void 0:t.file)&&(0,m.jsxs)(il,{className:"p-0 mb-2",color:"transparent",children:[(0,m.jsx)(cl.V,{header:p("general.basis","Basis"),type:"h3"}),(0,m.jsx)(bl,{children:(0,m.jsxs)(wl,{className:"pb-2 mb-2",children:[(0,m.jsx)(o.g,{size:"lg",icon:K.A4h,className:"mr-2"}),(0,m.jsx)(s.EY,{className:"mr-2 word-break",fontSize:13,children:null===(n=i.data)||void 0===n?void 0:n.file.fileName}),(0,m.jsx)(s.K0,{bgColor:"fillWhite",icon:K.cbP,onClick:()=>{var e;return(0,fl.K)(null!==(e=i.data.file.url)&&void 0!==e?e:"",i.data.file.fileName)},className:"ml-auto"})]})})]}),(0,m.jsx)(s.K0,{icon:K.O_q,square:!0,onClick:()=>u(Yt.w9.exportToolOpened({origin:"refinements",parameters:{},data:{refinements:[l]},selectedTab:"pdf",options:{tabs:["pdf"],render:"autoDownload",fileName:`${p("proof.proof_one").toLocaleLowerCase()}-${l.productName}`}})),color:"text",bgColor:"fillWhite",className:"mr-2",children:p("product.pdfDownload","Download as PDF")})]}):null},gl=p.Ay.div.withConfig({componentId:"sc-xdh35j-0"})(["margin-bottom:3px;"]),vl=(0,p.Ay)(s.EY).withConfig({componentId:"sc-xdh35j-1"})([""]),yl=(0,p.Ay)(vl).withConfig({componentId:"sc-xdh35j-2"})([""]),Al=(0,p.Ay)(s.so).withConfig({componentId:"sc-xdh35j-3"})(["align-items:center;height:21px;"]),bl=p.Ay.ul.withConfig({componentId:"sc-xdh35j-4"})(["list-style:none;margin:0;padding:0;"]),wl=p.Ay.li.withConfig({componentId:"sc-xdh35j-5"})(["word-break:break-all;display:flex;align-items:center;border-bottom:1px solid ",";"],(e=>{let{theme:t}=e;return t.colors.borderDark})),xl=()=>{const{t:e}=(0,d.B)(),{minQuantity:t,email:n}=(0,c.GV)(gn.zW);return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsxs)(Cl,{children:[(0,m.jsxs)(Sl,{bold:!0,className:"mr-1 d-inline-block",children:[e("article.orderMonitoringMinNum"),":"]}),(0,m.jsx)(kl,{className:"d-inline-block",children:t||e("article.notDefined","Not defined")})]}),(0,m.jsxs)(Cl,{children:[(0,m.jsx)(Sl,{bold:!0,className:"mr-1 d-inline-block",children:e("seller.orderMonitoringNotificationInfo")}),(0,m.jsx)(kl,{className:"d-inline-block",children:n||e("article.notDefined","Not defined")})]})]})},Cl=p.Ay.div.withConfig({componentId:"sc-1bs956v-0"})(["margin-bottom:3px;"]),Sl=(0,p.Ay)(s.EY).withConfig({componentId:"sc-1bs956v-1"})([""]),kl=(0,p.Ay)(Sl).withConfig({componentId:"sc-1bs956v-2"})([""]);var El=n(58473),Il=n(84238);const _l={[be.WebOrderStatus.UnConfirmed]:"#ADD2DE",[be.WebOrderStatus.Confirmed]:"#5A70BD",[be.WebOrderStatus.InProgress]:"#EABD49",[be.WebOrderStatus.Approved]:"#5A70BD",[be.WebOrderStatus.Processing]:"#EABD49",[be.WebOrderStatus.InProduction]:"#EABD49",[be.WebOrderStatus.Completed]:"#9930CB",[be.WebOrderStatus.Invoiced]:"#3BBD2F",[be.WebOrderStatus.Cancelled]:"#DF5252"},Pl="#CED4DA",Ol={[be.WebOrderStatus.UnConfirmed]:()=>Il.A.t("status.unconfirmed","Unconfirmed"),[be.WebOrderStatus.Confirmed]:()=>Il.A.t("status.confirmed","Confirmed"),[be.WebOrderStatus.InProgress]:()=>Il.A.t("status.inprogress","Shipping in progress"),[be.WebOrderStatus.Approved]:()=>Il.A.t("status.approved","Approved"),[be.WebOrderStatus.Processing]:()=>Il.A.t("status.processing","Processing"),[be.WebOrderStatus.InProduction]:()=>Il.A.t("status.inproduction","In Production"),[be.WebOrderStatus.Completed]:()=>Il.A.t("status.completed","Completed shipping"),[be.WebOrderStatus.Invoiced]:()=>Il.A.t("status.invoiced","Invoiced"),[be.WebOrderStatus.Cancelled]:()=>Il.A.t("status.cancelled","Cancelled")},Tl=e=>{switch(e){case be.WebErpOrderType.RefinmentOrder:return[be.WebOrderStatus.UnConfirmed,be.WebOrderStatus.Confirmed,be.WebOrderStatus.Approved,be.WebOrderStatus.Processing,be.WebOrderStatus.InProduction,be.WebOrderStatus.InProgress,be.WebOrderStatus.Completed,be.WebOrderStatus.Invoiced];case be.WebErpOrderType.Credit:return[be.WebOrderStatus.Confirmed,be.WebOrderStatus.Invoiced]}return[be.WebOrderStatus.UnConfirmed,be.WebOrderStatus.Confirmed,be.WebOrderStatus.InProgress,be.WebOrderStatus.Completed,be.WebOrderStatus.Invoiced]},Dl=e=>{let{status:t,large:n,reverse:r,pending:i,type:o,...a}=e;if(i)return n?(0,m.jsx)(Y.A,{height:56,...a}):(0,m.jsx)(s.y$,{});if("number"!==typeof t)return null;if(!n)return(0,m.jsxs)(Rl,{align:"center",$reverse:r,...a,children:[(0,m.jsx)(s.tk,{className:r?"ml-1":"mr-1",color:_l[t]})," ",Ol[t]()]});const l=Tl(null!==o&&void 0!==o?o:be.WebErpOrderType.Order),c=l.indexOf(t);return(0,m.jsxs)(jl,{cols:l.length,...a,children:[l.map(((e,n)=>((e,n,r)=>{const i=n>=e,o=i?_l[n]:Pl,a=t===be.WebOrderStatus.Cancelled?K.GRI:i?K.e68:null;return(0,m.jsxs)(Bl,{col:r+1,children:[(0,m.jsx)(s.tk,{size:30,border:!0,color:o}),a&&(0,m.jsx)(Nl,{align:"center",justify:"center",children:(0,m.jsx)(Ml,{icon:a})})]},r)})(e,t,n))),l.map(((e,n)=>((e,n,r)=>{const i=t!==be.WebOrderStatus.Cancelled&&n>=e||t===be.WebOrderStatus.Cancelled&&e<3,o=t===be.WebOrderStatus.Cancelled&&e===be.WebOrderStatus.InProgress?Ol[be.WebOrderStatus.Cancelled]():Ol[e]();return(0,m.jsx)(Ll,{color:i?"text":"textDisabled",col:r+1,children:o},r)})(e,t,n))),(0,m.jsx)(Fl,{span:l.length+1,children:(0,m.jsx)(zl,{color:Pl})}),(0,m.jsx)(Fl,{span:c+1,children:(0,m.jsx)(zl,{color:_l[t]})})]})},jl=p.Ay.div.withConfig({componentId:"sc-5la90t-0"})(["display:grid;grid-template-columns:repeat(",",1fr);grid-template-rows:30px auto;align-items:start;justify-items:center;"],(e=>{let{cols:t}=e;return t})),Bl=p.Ay.div.withConfig({componentId:"sc-5la90t-1"})(["grid-row:1;grid-column:",";z-index:2;position:relative;"],(e=>{let{col:t}=e;return t})),Nl=(0,p.Ay)(s.so).withConfig({componentId:"sc-5la90t-2"})(["position:absolute;left:0;top:0;width:30px;height:30px;font-size:18px;"]),Ml=(0,p.Ay)(o.g).withConfig({componentId:"sc-5la90t-3"})(["color:white;"]),Rl=(0,p.Ay)(s.so).withConfig({componentId:"sc-5la90t-4"})(["text-align:right;"]),Ll=p.Ay.span.withConfig({componentId:"sc-5la90t-5"})(["font-size:14px;text-align:center;grid-row:2;grid-column:",";padding:3px 1em;color:",";"],(e=>{let{col:t}=e;return t}),(e=>{let{color:t,theme:n}=e;return t?n.colors[t]:n.colors.text})),Fl=p.Ay.div.withConfig({componentId:"sc-5la90t-6"})(["grid-row:1;grid-column:1 / span ",";width:100%;align-self:center;justify-self:center;width:","%;z-index:1;"],(e=>{let{span:t}=e;return t}),(e=>{let{span:t}=e;return(t-1)/t*100})),zl=p.Ay.div.withConfig({componentId:"sc-5la90t-7"})(["border-bottom:2px dashed ",";background:white;"],(e=>{let{color:t}=e;return t})),Ql=(0,p.Ay)(Dl).withConfig({componentId:"sc-12citcm-0"})(["text-align:left;"]),Ul=e=>{var t,n,r,i,o;let{renderWidth:a}=e;const{details:l}=(0,c.GV)(gn.gQ),{webOrderStatuses:p}=(0,c.GV)((e=>{let{orders:t}=e;return t})),{t:h}=(0,d.B)(),f=(0,c.cb)(),g=(0,c.jL)();(0,u.useEffect)((()=>{var e,t;null!==(e=l.data)&&void 0!==e&&e.orders&&g((0,El.h)(null!==(t=l.data.orders)&&void 0!==t?t:[]))}),[null===(t=l.data)||void 0===t?void 0:t.orders,g]);const v=null!==(n=null===(r=l.data)||void 0===r||null===(i=r.orders)||void 0===i?void 0:i.filter((e=>e.confirmed)))&&void 0!==n?n:[],y=null!==(o=v.map((e=>{var t;const n=e.orderNumber?p[e.orderNumber]:null;return{onClick:()=>{e.orderNumber&&g((0,gn.kS)(e.orderNumber))},cells:[e.orderNumber,(0,m.jsx)(Ql,{pending:!n,reverse:!0,status:n,type:null}),null===(t=e.created)||void 0===t?void 0:t.str,e.createdBy,e.quantity,e.stockChange].map((e=>({el:e})))}})))&&void 0!==o?o:[],A=[h("order.orderNumber"),h("general.status"),h("general.created"),h("order.placedBy"),h("cart.quantity"),`${h("stock.stock")} +/-`];return l.loading||v.length?(0,m.jsxs)(s.so,{column:!0,children:[l.loading&&(0,m.jsx)(Y.A,{height:200}),!l.loading&&(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(cl.V,{header:h("order.order_other","Orders")}),(0,m.jsx)(s.so,{column:!0,children:(0,m.jsx)(s.XI,{tintOddRows:!0,colLayout:`repeat(${A.length-1}, minmax(80px, auto)) max-content`,className:"f3-300 mt-2 w-100",compact:"wide"!==a,rows:y,cols:A.length,headers:A,arrow:f.xs})})]})]}):null},Vl=()=>{const e=(0,c.jL)(),{article:t}=(0,c.GV)(gn.gQ),{t:n}=(0,d.B)();return(0,u.useMemo)((()=>{if(!t)return null;const r=t.status===be.ArticleStatus.Draft,i=r?()=>{var n;return e((0,gn.BC)({id:null!==(n=t.id)&&void 0!==n?n:0}))}:()=>{var n;return e((0,gn.Oz)({id:null!==(n=t.id)&&void 0!==n?n:0,archive:!(null!==t&&void 0!==t&&t.archived)}))};return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(s.K0,{square:!0,icon:t.archived?K.LJS:K.LX6,color:"text",fontSize:"12px",disableFont:!0,bgColor:"fillMedium",className:"mt-2 f3-400 w-100",onClick:i,children:r?n("action.remove"):t.archived?n("archived.remove","Remove archive"):n("archived.archive","Archive")}),!r&&t.archived&&(0,m.jsx)(s.so,{className:"pt-2",children:(0,m.jsxs)(s.EY,{color:"attention",children:[(0,m.jsx)(o.g,{icon:K.bxP,className:"pr-1"}),n("archived.articleArchived","This article is archived")]})})]})}),[e,t,n])},Gl=()=>{var e,t;const n=(0,c.jL)(),{article:r}=(0,c.GV)(gn.gQ),{t:i}=(0,d.B)(),o=(0,c.GV)(gn.zW),[a,l]=(0,u.useState)({id:o.id,name:null===o||void 0===o?void 0:o.name,tags:null===o||void 0===o?void 0:o.tags,email:null!==(e=null===o||void 0===o?void 0:o.email)&&void 0!==e?e:"",minQuantity:null!==(t=null===o||void 0===o?void 0:o.minQuantity)&&void 0!==t?t:void 0}),p=(0,u.useCallback)((()=>{o.id&&n((0,gn.iZ)({id:o.id,name:a.name,tags:a.tags,minQuantity:a.minQuantity,email:a.email}))}),[n,o.id,a.email,a.minQuantity,a.name,a.tags]);if(!r)return null;const h=!(r.status===be.ArticleStatus.Pending||r.status===be.ArticleStatus.Draft);if(!o)return null;const f=JSON.stringify(o)===JSON.stringify(a);return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsxs)("div",{className:"mb-4",children:[(0,m.jsx)(s.pd,{type:"text",value:a.name,onChange:e=>l((t=>({...t,name:e.target.value}))),label:i("general.name"),className:"flex-grow-1 mb-2"}),(0,m.jsx)(wa,{tags:a.tags,label:!0,onChange:e=>l((t=>({...t,tags:e})))})]}),h&&(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(s.EY,{children:i("article.articleMonitoring","Article monitoring")}),(0,m.jsx)(s.pd,{type:"number",value:a.minQuantity,onChange:e=>l((t=>({...t,minQuantity:Math.abs(e.target.valueAsNumber)}))),label:i("article.orderMonitoringMinNum","Min. number"),className:"flex-grow-1 mb-2"}),(0,m.jsx)(s.pd,{type:"email",value:a.email,onChange:e=>l((t=>({...t,email:e.target.value}))),label:i("contact.email"),className:"flex-grow-1 mb-2"})]}),(0,m.jsx)(s.so,{justify:"end",children:(0,m.jsx)(s.$n,{className:"mt-3 mb-3",disabled:f,accent:!0,onClick:p,children:i("action.save")})})]})},ql=e=>{var t,n,r,i,a;let{renderWidth:l}=e;const{article:u,loading:p,error:h,details:f}=(0,c.GV)(gn.gQ),{t:g}=(0,d.B)();return h?(0,m.jsx)("div",{children:h.message}):p.fetching?(0,m.jsx)(s.y$,{}):u?(0,m.jsx)(s.so,{column:!0,children:(0,m.jsxs)(nl.A,{onlyChild:!0,gap:"2rem",columns:{lg:"1fr 400px",xl:"1fr 500px"},children:[(0,m.jsx)(il,{className:"p-0",color:"transparent",children:(0,m.jsxs)(nl.A,{gap:"2rem",columns:{md:"repeat(2, 1fr)"},children:[(0,m.jsx)(Kl,{className:"p-2",color:"fillWhite",children:(0,m.jsx)(Hl,{imgBg:u.darkBg,justify:"center",align:"center",className:"w-100 py-5 px-3",children:(0,m.jsx)(Yl,{src:(0,X.Ay)(u.image,X.yj.Preview)})})}),(0,m.jsxs)(Kl,{color:"transparent",className:"p-0",children:[f.loading&&(0,m.jsx)(Y.A,{className:"my-5",height:200,count:2}),!f.loading&&(0,m.jsx)(ml,{})]}),"wide"===l&&(0,m.jsx)(Wl,{children:(0,m.jsx)(Ul,{renderWidth:l})})]})}),(0,m.jsxs)(il,{color:"transparent",className:"p-0",children:[(0,m.jsxs)(il,{className:"mb-3",children:[(0,m.jsx)(rl.Ay,{className:"my-1",status:u.status}),!(u.status===be.ArticleStatus.Pending)&&(0,m.jsxs)(m.Fragment,{children:[!(u.status===be.ArticleStatus.Draft)&&(0,m.jsx)(s.so,{justify:"between",align:"center",children:(0,m.jsxs)(s.so,{align:"center",children:[(0,m.jsx)(o.g,{size:"sm",icon:K.T8I}),(0,m.jsxs)(s.EY,{className:"ml-1",light:!0,children:[g("stock.stock"),": ",u.stockQuantity]})]})}),(0,m.jsx)(ul,{article:u,className:"mb-2"}),!(null===(t=u.price)||void 0===t||null===(n=t.customer)||void 0===n||!n.num)&&u.status!==be.ArticleStatus.Draft&&(0,m.jsxs)(Jl,{children:[(0,m.jsxs)(Xl,{bold:!0,className:"mr-1 d-inline-block",children:[g("price.latestPrice","Latest price"),":"]}),(0,m.jsxs)(Zl,{className:"d-inline-block",children:[null===(r=u.price)||void 0===r||null===(i=r.customer)||void 0===i?void 0:i.str," (",u.priceQuantity," ",g("stock.pcs","pcs"),")"]})]})]}),(0,m.jsxs)(Jl,{children:[(0,m.jsxs)(Xl,{bold:!0,className:"mr-1 d-inline-block",children:[g("general.created"),":"]}),(0,m.jsx)(Zl,{className:"d-inline-block",children:null===(a=u.created)||void 0===a?void 0:a.str})]}),(0,m.jsxs)(Jl,{children:[(0,m.jsxs)(Xl,{bold:!0,className:"mr-1 d-inline-block",children:[g("seller.customer"),":"]}),(0,m.jsx)(Zl,{className:"d-inline-block",children:u.creator})]})]}),!(u.status!==be.ArticleStatus.Approved)&&(0,m.jsxs)(il,{className:"mb-3",children:[(0,m.jsx)(cl.V,{header:g("article.articleMonitoring","Order point"),type:"h3"}),(0,m.jsx)(xl,{})]}),(0,m.jsxs)(il,{children:[(0,m.jsx)(cl.V,{header:g("general.settings","Settings"),type:"h3"}),(0,m.jsx)(Gl,{}),(0,m.jsx)(Vl,{})]})]}),"mobile"===l&&(0,m.jsx)(Wl,{children:(0,m.jsx)(Ul,{renderWidth:l})})]})}):null},Hl=(0,p.Ay)(s.so).withConfig({componentId:"sc-uphanx-0"})(["height:100%;",""],(e=>{let{theme:t,imgBg:n}=e;return n&&`background-color: ${t.colors.transparentBg};`})),Wl=p.Ay.div.withConfig({componentId:"sc-uphanx-1"})(["grid-column:1 / -1;"]),Yl=p.Ay.img.withConfig({componentId:"sc-uphanx-2"})(["max-width:100%;max-height:300px;"]),Kl=(0,p.Ay)(il).withConfig({componentId:"sc-uphanx-3"})(["height:max-content;"]),Jl=p.Ay.div.withConfig({componentId:"sc-uphanx-4"})(["margin-bottom:3px;"]),Xl=(0,p.Ay)(s.EY).withConfig({componentId:"sc-uphanx-5"})([""]),Zl=(0,p.Ay)(Xl).withConfig({componentId:"sc-uphanx-6"})([""]),$l={publicRoute:"/public/",publicOrder:"/public/order/"};function ec(e){if(e)return e.map(((e,t)=>({...e,index:t})))}const tc=e=>{let{parent:t}=e;const{t:n}=(0,d.B)(),[r,o]=(0,u.useState)(!1);return(0,c.Mq)((e=>{var n,r;let{position:i,direction:a}=e;const s=null!==(n=null===(r=t.current)||void 0===r?void 0:r.scrollHeight)&&void 0!==n?n:0;i.y>800&&i.y>.15*s?o(!0):"up"===a&&o(!1)}),[r],300,null===t||void 0===t?void 0:t.current),(0,m.jsx)(nc,{children:(0,m.jsx)(rc,{children:r&&(0,m.jsx)(s.K0,{square:!0,icon:i.INu,onClick:()=>{var e;return null===t||void 0===t||null===(e=t.current)||void 0===e?void 0:e.scrollTo({top:0,behavior:"smooth"})},children:n("navigation.toTop","To top")})})})},nc=p.Ay.div.withConfig({componentId:"sc-ff77dg-0"})(["grid-column:1 / -1;position:sticky;bottom:1rem;right:0;"]),rc=p.Ay.div.withConfig({componentId:"sc-ff77dg-1"})(["justify-content:flex-end;display:flex;width:100%;position:absolute;"]);var ic=n(11359);const oc=(0,ic.Z0)({name:"sectionedContent",initialState:{collapsed:{},pageMapOpen:!1},reducers:{collapseToggled(e,t){const{componentId:n,sectionId:r}=t.payload;e.collapsed[n]||(e.collapsed[n]={}),e.collapsed[n][r]=!e.collapsed[n][r]},collapseAllToggled(e,t){const{componentId:n,sectionIds:r,collapse:i}=t.payload;e.collapsed[n]||(e.collapsed[n]={});for(const o of r)e.collapsed[n][o]=i},pageMapToggled(e,t){e.pageMapOpen="boolean"===typeof t.payload?t.payload:!e.pageMapOpen}}}),{collapseToggled:ac,collapseAllToggled:sc,pageMapToggled:lc}=oc.actions,cc=oc.reducer,uc=e=>e.sectionedContent.pageMapOpen,dc=(0,zs.Mz)(((e,t)=>t),(e=>e.sectionedContent.collapsed),((e,t)=>{var n;const r=null!==(n=t[e])&&void 0!==n?n:{},i=Object.values(r),o=i.filter((e=>!!e)),a=!!o.length,s=!i.length||o.length<i.length;return{collapsed:r,all:s&&a?"mixed":s?"expanded":"collapsed"}}));var pc=n(74635),hc=n(42074),fc=function(){return fc=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},fc.apply(this,arguments)};var mc="",gc=null,vc=null,yc=null;function Ac(){mc="",null!==gc&&gc.disconnect(),null!==vc&&(window.clearTimeout(vc),vc=null)}function bc(e){return["BUTTON","INPUT","SELECT","TEXTAREA"].includes(e.tagName)&&!e.hasAttribute("disabled")||["A","AREA"].includes(e.tagName)&&e.hasAttribute("href")}function wc(){var e=null;if("#"===mc)e=document.body;else{var t=mc.replace("#","");null===(e=document.getElementById(t))&&"#top"===mc&&(e=document.body)}if(null!==e){yc(e);var n=e.getAttribute("tabindex");return null!==n||bc(e)||e.setAttribute("tabindex",-1),e.focus({preventScroll:!0}),null!==n||bc(e)||(e.blur(),e.removeAttribute("tabindex")),Ac(),!0}return!1}function xc(e){return u.forwardRef((function(t,n){var r="";"string"===typeof t.to&&t.to.includes("#")?r="#"+t.to.split("#").slice(1).join("#"):"object"===typeof t.to&&"string"===typeof t.to.hash&&(r=t.to.hash);var i={};e===hc.k2&&(i.isActive=function(e,t){return e&&e.isExact&&t.hash===r});var o=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}(t,["scroll","smooth","timeout","elementId"]);return u.createElement(e,fc({},i,o,{onClick:function(e){var n;Ac(),mc=t.elementId?"#"+t.elementId:r,t.onClick&&t.onClick(e),""===mc||e.defaultPrevented||0!==e.button||t.target&&"_self"!==t.target||e.metaKey||e.altKey||e.ctrlKey||e.shiftKey||(yc=t.scroll||function(e){return t.smooth?e.scrollIntoView({behavior:"smooth"}):e.scrollIntoView()},n=t.timeout,window.setTimeout((function(){!1===wc()&&(null===gc&&(gc=new MutationObserver(wc)),gc.observe(document,{attributes:!0,childList:!0,subtree:!0}),vc=window.setTimeout((function(){Ac()}),n||1e4))}),0))},ref:n}),t.children)}))}var Cc=xc(hc.N_);xc(hc.k2);const Sc=e=>{let{onBack:t,sections:n,id:r}=e;const a=(0,c.jL)(),{all:l}=(0,c.GV)((e=>dc(e,r))),u=(0,c.GV)(uc),d=(0,c.Wr)((()=>a(lc(!1))),u);return(0,m.jsx)(Ec,{children:(0,m.jsxs)(Ic,{open:u,ref:d,children:[(0,m.jsx)(kc,{bgColor:"white",icon:u?i.omj:i.QLL,open:u,onClick:()=>a(lc())}),u&&(0,m.jsxs)(m.Fragment,{children:[t&&(0,m.jsxs)(Pc,{onClick:()=>{t()},className:"pointer mt-4 mb-3 d-block",children:[(0,m.jsx)(o.g,{icon:i.Uec})," ",(0,pc.t)("action.back")]}),(0,m.jsx)(s.EY,{fontSize:13,bold:!0,className:"mt-3",children:(0,pc.t)("navigation.onThisPage","On this page")}),n.map((e=>(0,m.jsx)(_c,{className:"my-3 my-lg-2",smooth:!0,to:`#${e.id}`,children:e.header},e.id))),(0,m.jsx)("div",{className:"py-2 pointer",onClick:()=>a(sc({componentId:r,sectionIds:n.map((e=>e.id)),collapse:"collapsed"!==l})),children:(0,m.jsxs)(s.EY,{fontSize:13,bold:!0,children:[(0,m.jsx)(o.g,{icon:"collapsed"===l?i.QLR:i.CCK,className:"mr-1"}),"collapsed"!==l?(0,pc.t)("general.collapseAll","Collapse all"):(0,pc.t)("general.expandAll","Expand all")," "]})})]})]})})},kc=(0,p.Ay)(s.K0).withConfig({componentId:"sc-6erc6q-0"})(["position:absolute;right:",";top:1rem;",""],(e=>{let{open:t}=e;return t?"1rem":0}),(e=>{let{theme:t}=e;return t.shadows.soft})),Ec=p.Ay.div.withConfig({componentId:"sc-6erc6q-1"})(["position:absolute;top:-1rem;right:0;height:100%;pointer-events:none;& > *{pointer-events:all;}"]),Ic=p.Ay.div.withConfig({componentId:"sc-6erc6q-2"})(["position:sticky;top:1rem;right:0;background:",";border-radius:",";",";z-index:2;"," padding:2rem 2.5rem 2rem 2rem;"],(e=>{let{theme:t}=e;return t.colors.white}),(e=>{let{theme:t}=e;return t.borders.radius}),(e=>{let{open:t,theme:n}=e;return t&&`\n      ${n.shadows.high};\n    `}),(e=>{let{open:t}=e;return!t&&"\n      background: none;\n    "})),_c=(0,p.Ay)(Cc).withConfig({componentId:"sc-6erc6q-3"})(["display:block;text-decoration:none;font-size:14px;color:",";transition:color 0.15s linear;&:visited{color:",";}&:active,&:hover{text-decoration:none;color:",";}"],(e=>{let{theme:t}=e;return t.colors.textLight}),(e=>{let{theme:t}=e;return t.colors.textLight}),(e=>{let{theme:t}=e;return t.colors.text})),Pc=(0,p.Ay)(s.gK).withConfig({componentId:"sc-6erc6q-4"})(["font-size:13px;text-decoration:none;"]),Oc=e=>{let{id:t,sections:n,containerRef:r,onBack:o,className:a}=e;const l=(0,c.jL)(),u=(0,c.GV)((e=>dc(e,t))).collapsed;return(0,m.jsxs)(Fc,{className:a,children:[(0,m.jsx)(Dc,{children:n.map((e=>{var n,r,o;return(0,m.jsxs)(Rc,{id:e.id,collapsed:!!u[e.id],children:[e.hideExpandedHeader&&!u[e.id]?null:(0,m.jsx)(cl.V,{header:e.header}),u[e.id]&&!0!==e.alwaysOpen?(0,m.jsx)(jc,{children:null===(n=e.collapsedInfo)||void 0===n?void 0:n.map(((e,t)=>e&&(0,m.jsx)("div",{children:(0,m.jsx)(s.EY,{className:"text-right",fontSize:14,bold:!0,children:e})},t)))}):(0,m.jsx)(Lc,{className:"mt-3",children:e.content}),(0,m.jsxs)(Bc,{justify:"end",$wrap:!0,children:[(null===(r=e.actions)||void 0===r?void 0:r.length)&&(null===(o=e.actions)||void 0===o?void 0:o.map(((e,t,n)=>e.hide?null:(0,m.jsx)(Tc,{action:e},e.label)))),!0!==e.alwaysOpen&&(0,m.jsx)(Tc,{collapseAction:!0,action:{label:"",icon:u[e.id]?i.WxX:i.$sC,onClick:()=>l(ac({componentId:t,sectionId:e.id}))}})]})]},e.id)}))}),(0,m.jsx)(Sc,{sections:n,onBack:o,id:t}),r&&(0,m.jsx)(tc,{parent:r})]})},Tc=e=>{var t,n,r;let{action:i,collapseAction:o=!1}=e;const[a,s]=(0,u.useState)(!1);return(0,m.jsxs)(Nc,{className:"position-relative",justify:"end",children:[(0,m.jsx)(Mc,{collapseAction:o,className:"f3-500",disableFont:!0,color:null!==(t=i.textColor)&&void 0!==t?t:"text",icon:i.icon,onClick:null!==(n=i.subActions)&&void 0!==n&&n.length?()=>s(!0):i.onClick,disabled:i.disabled,pending:i.pending,children:i.label.length?i.label:null}),null!==(r=i.subActions)&&void 0!==r&&r.length&&a?(0,m.jsx)(Vo.A,{onClickOutside:()=>s(!1),items:i.subActions,childrenTitleKey:"label",childrenIconKey:"icon",breakParentWidth:!0,onItemPress:e=>{e.onClick()}}):null]})},Dc=p.Ay.div.withConfig({componentId:"sc-1740jyb-0"})([""]),jc=p.Ay.div.withConfig({componentId:"sc-1740jyb-1"})(["position:absolute;right:54px;bottom:0.5rem;"]),Bc=(0,p.Ay)(s.so).withConfig({componentId:"sc-1740jyb-2"})(["flex-grow:1;grid-template-columns:repeat(auto-fill,minmax(100px,1fr));gap:2px;margin-bottom:2px;","{position:absolute;bottom:0;right:0;padding-right:0;}"],(e=>{let{theme:t}=e;return t.media.lg})),Nc=(0,p.Ay)(s.so).withConfig({componentId:"sc-1740jyb-3"})(["min-width:100%;","{min-width:calc(50% - 1px);}","{min-width:auto;}"],(e=>{let{theme:t}=e;return t.media.xs}),(e=>{let{theme:t}=e;return t.media.lg})),Mc=(0,p.Ay)(s.K0).withConfig({componentId:"sc-1740jyb-4"})(["border-radius:",";border:1px solid ",";background-color:",";width:100%;&:not(:last-of-type){border-right:2px solid ",";}"," &:focus-visible{outline:0;border:1px solid black;}"],(e=>{let{theme:t}=e;return t.borders.radius}),(e=>{let{theme:t}=e;return(0,Ee.Qw)(.02,t.colors.fillMedium)}),(e=>{let{theme:t}=e;return(0,Ee.Qw)(.02,t.colors.fillMedium)}),(e=>{let{theme:t}=e;return t.colors.borderLight}),(e=>{let{collapseAction:t}=e;return t&&"\n      width: 50px;\n  "})),Rc=p.Ay.div.withConfig({componentId:"sc-1740jyb-5"})(["scroll-margin-top:1.5rem;margin-bottom:",";border-bottom:","px solid ",";position:relative;"],(e=>{let{collapsed:t}=e;return t?"2rem":"4rem"}),2,(e=>{let{theme:t}=e;return t.colors.borderLight})),Lc=p.Ay.div.withConfig({componentId:"sc-1740jyb-6"})(["padding-bottom:1rem;","{padding-bottom:50px;}"],(e=>{let{theme:t}=e;return t.media.lg})),Fc=p.Ay.div.withConfig({componentId:"sc-1740jyb-7"})(["padding-bottom:5rem;position:relative;"]);var zc=n(57730),Qc=n(31664),Uc=n(52454);const Vc=e=>{var t,n,r;let{tracking:i,orderNumber:o,deliveryNote:a,useBorder:l=!0,onRemoveShipment:u}=e;const p=(0,c.jL)(),h=null!==(t=null===(n=i.skus)||void 0===n?void 0:n.reduce(((e,t)=>{var n;return e+(null!==(n=null===t||void 0===t?void 0:t.quantity)&&void 0!==n?n:0)}),0))&&void 0!==t?t:0,{t:f}=(0,d.B)();return(0,m.jsx)(qc,{useBorder:l,className:l?"pt-2 pl-2 pr-2 mt-1":"mt-1",children:(0,m.jsxs)(s.so,{column:!0,className:"w-100",children:[i.carrier&&(0,m.jsx)(s.EY,{fontSize:12,children:i.carrier}),i.service&&i.carrier!==i.service&&(0,m.jsx)(s.EY,{fontSize:12,children:i.service}),i.trackingNumber&&(0,m.jsx)(s.EY,{fontSize:11,children:i.trackingNumber}),(0,m.jsxs)(s.so,{children:[h>0&&a&&(0,m.jsx)(Wc,{icon:K.XYS,onClick:()=>{var e,t,n,r,s;const l=null!==(e=null===(t=a.orders)||void 0===t?void 0:t.flatMap((e=>{var t;return null!==(t=e.products)&&void 0!==t?t:[]})))&&void 0!==e?e:[],c=l.map((e=>e.productNumber)).filter((e=>!!e)),u=l.flatMap((e=>{var t,n;return null!==(t=null===(n=e.variations)||void 0===n?void 0:n.map((e=>e.variationNumber)).filter((e=>!!e)))&&void 0!==t?t:[]})),d=`${o}-${(null!==(n=null===i||void 0===i?void 0:i.index)&&void 0!==n?n:0)+1}`;p(Yt.w9.exportToolOpened({origin:"order",parameters:{productNumbers:c},data:{variationNumbers:u,refinements:null!==(r=a.refinements)&&void 0!==r?r:[],pdfOrders:[{...a,deliveryNumber:d}],pdfOrderType:"delivery-note",pdfCartVariations:null===(s=a.products)||void 0===s?void 0:s.flatMap((e=>{var t;return null!==(t=e.variations)&&void 0!==t?t:[]}))},selectedTab:"pdf",options:{tabs:["pdf"],render:"autoDownload",fileName:`${(0,Uc.A)(`${f("order.deliveryNote")}-${d}`)}`}}))},children:f("action.download")}),i.trackingUrl&&(0,m.jsx)(Wc,{icon:K.k02,href:i.trackingUrl,target:"_BLANK",children:f("order.track")}),null!=u&&(0,m.jsx)(Wc,{icon:K.yLS,onClick:()=>u(i),children:f("action.remove")}),!i.masterShipment&&h>0&&(0,m.jsx)(Hc,{fontSize:12,children:f("shipment.qtyArticles",void 0,{count:h})})]}),null===(r=i.children)||void 0===r?void 0:r.map(((e,t)=>(0,m.jsx)(Vc,{onRemoveShipment:null!=u?()=>u(e):void 0,orderNumber:o,useBorder:!1,tracking:e},`tracking_${i.providerId}_${t}`)))]})})},Gc=Vc,qc=(0,p.Ay)(s.so).withConfig({componentId:"sc-e0hs37-0"})(["",";"],(e=>{let{theme:t,useBorder:n}=e;return n&&`border: 1px solid ${t.colors.borderLight};`})),Hc=(0,p.Ay)(s.EY).withConfig({componentId:"sc-e0hs37-1"})(["align-self:center;margin-left:auto;text-align:right;"]),Wc=(0,p.Ay)(s.K0).withConfig({componentId:"sc-e0hs37-2"})(["padding:0;background:transparent;position:relative;> span{font-size:14px;font-weight:400;text-decoration:underline;padding-left:5px;}&:not(:last-child){margin-right:12px;}&:hover{background:transparent;opacity:0.8;}"]),Yc=e=>{var t,n,r;let{order:o,orderStatus:a}=e;const l=(0,c.GV)((e=>{var t,n;let{orders:r}=e;return null!==(t=null===(n=r.publicOrder.order)||void 0===n?void 0:n.orderNumber)&&void 0!==t?t:null===o||void 0===o?void 0:o.orderNumber})),p=(0,c.GV)(El.Tp),h="PendingOrder"===a,f=(0,c.GV)(El.aj),{t:g}=(0,d.B)();return h?(0,m.jsx)(Y.A,{height:100,width:200}):(0,m.jsxs)("div",{children:[(0,m.jsx)(cl.V,{type:"h3",header:g("order.customerDetails","Customer details")}),(0,m.jsxs)(il,{className:"p-0",children:[(null!==(t=null===o||void 0===o||null===(n=o.deliveryAdresses)||void 0===n?void 0:n.length)&&void 0!==t?t:0)>0&&(0,m.jsx)(bt.iv,{header:g("shipment.address","Delivery address"),headerIcon:i.WWd,valid:Qc.H.Valid,children:null===o||void 0===o||null===(r=o.deliveryAdresses)||void 0===r?void 0:r.map(((e,t)=>{var n,r,i,a,l;return(0,m.jsxs)(u.Fragment,{children:[(0,m.jsx)(bt.vM,{delivery:(0,zc.M)(e,o)}),(null!==(n=null===(r=e.skus)||void 0===r?void 0:r.length)&&void 0!==n?n:0)>0&&(0,m.jsx)(s.VU,{label:`${null===(i=e.skus)||void 0===i?void 0:i.reduce(((e,t)=>{var n;return e+(null!==(n=t.quantity)&&void 0!==n?n:0)}),0)} ${g("product.article_other","Articles").toLowerCase()}`,children:null===(a=e.skus)||void 0===a||null===(l=a.filter((e=>{var t;return(null!==(t=null===e||void 0===e?void 0:e.quantity)&&void 0!==t?t:0)>0})))||void 0===l?void 0:l.map(((t,n)=>{var r,i;return(0,m.jsxs)(Kc,{align:"center",className:n===(null!==(r=null===(i=e.skus)||void 0===i?void 0:i.length)&&void 0!==r?r:0)-1?"pb-2":void 0,children:[(0,m.jsx)(Jc,{className:"f3-700 pr-1",children:t.sku})," /",(0,m.jsx)(Jc,{children:`${t.quantity} ${g("stock.pcs")}`})]},`${e.adressLine1}_${n}`)}))})]},`delivery_${e.adressLine1}}_${t}`)}))}),(0,m.jsxs)(bt.iv,{valid:Qc.H.Valid,header:g("shipment.info"),headerIcon:i.DX_,children:[(0,m.jsx)(bt.rD,{order:o}),f&&f.some((e=>null!=e.trackingUrl))&&(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(s.EY,{className:"f3-700 my-1",fontSize:14,children:g("shipment.tracking")}),(0,m.jsx)(Xc,{children:f.map(((e,t)=>(0,m.jsx)(Gc,{tracking:{...e,index:t},orderNumber:null!==l&&void 0!==l?l:"",deliveryNote:null===p||void 0===p?void 0:p[t]},`tracking_${t}`)))})]})]},"DeliveryInfo"),(null===o||void 0===o?void 0:o.orderType)&&(0,m.jsx)(bt.iv,{header:g("order.type"),headerIcon:i.Inp,children:(0,m.jsx)(bt.ZR,{orderTypeDescription:(0,El.w8)(o.type,g,o.orderType)})}),(null===o||void 0===o?void 0:o.comment)&&(0,m.jsx)(bt.iv,{header:g("order.notes"),valid:Qc.H.Valid,children:(0,m.jsx)(s.EY,{children:null===o||void 0===o?void 0:o.comment})})]})]})},Kc=(0,p.Ay)(s.so).withConfig({componentId:"sc-h652gg-0"})(["padding-left:8px;"]),Jc=p.Ay.span.withConfig({componentId:"sc-h652gg-1"})([""]),Xc=p.Ay.div.withConfig({componentId:"sc-h652gg-2"})([""]),Zc=t=>{let{order:n}=t;const{t:r}=(0,d.B)(),o=(0,c.lW)();return null===n||void 0===n||!n.invoices||n.invoices.length<1?null:(0,m.jsxs)("div",{className:"pb-3",children:[(0,m.jsx)(cl.V,{header:r("invoice.invoice_other","Invoices"),type:"h3",description:n.type===be.WebErpOrderType.Credit?(0,m.jsx)(nu,{children:r("invoice.credit","Credit order")}):null}),n.invoices.map((t=>{var n;return(0,m.jsx)(il,{className:"p-0",children:(0,m.jsx)(bt.iv,{children:(0,m.jsxs)(s.VU,{label:`#${t.invoiceNumber}`,actionButtons:[(0,m.jsx)($c,{className:o.width<400?"my-2":"",disableFont:!0,icon:i.mHA,fileName:`${t.invoiceNumber}.pdf`,apiCall:()=>e.Ay.invoice(t.invoiceNumber)})],children:[(0,m.jsxs)("div",{children:[(0,m.jsx)(eu,{className:"f3-700",children:r("general.created","Created")}),(0,m.jsx)(tu,{children:null===(n=t.created)||void 0===n?void 0:n.str})]}),(0,m.jsxs)("div",{children:[(0,m.jsx)(eu,{className:"f3-700",children:r("price.vat","VAT")}),(0,m.jsx)(tu,{children:t.vat})]}),(0,m.jsxs)("div",{children:[(0,m.jsx)(eu,{className:"f3-700",children:r("price.total_exVat","Total (ex VAT)")}),(0,m.jsx)(tu,{children:t.totalExVat})]}),t.paymentDescription&&(0,m.jsxs)("div",{children:[(0,m.jsx)(eu,{className:"f3-700",children:r("cart.payment","Payment")}),(0,m.jsx)(tu,{children:t.paymentDescription})]})]})})},t.invoiceNumber)}))]})},$c=(0,p.Ay)(s._$).withConfig({componentId:"sc-1v3gt67-0"})(["background-color:transparent;"]),eu=(0,p.Ay)(s.EY).withConfig({componentId:"sc-1v3gt67-1"})(["display:inline-block;margin-right:0.5em;font-size:14px;",""],(e=>{let{red:t,theme:n}=e;return t&&`color: ${n.colors.error};`})),tu=(0,p.Ay)(eu).withConfig({componentId:"sc-1v3gt67-2"})([""]),nu=p.Ay.span.withConfig({componentId:"sc-1v3gt67-3"})(["color:",";"],(e=>{let{theme:t}=e;return t.colors.error})),ru=(p.Ay.div.withConfig({componentId:"sc-1xo4riz-0"})(["padding:0.5rem 0;"]),e=>{var t,n,r,i,o,a,s,l,c,u,p,h,f,g;let{order:v,orderStatus:y}=e;const{t:A}=(0,d.B)(),b=(null===v||void 0===v?void 0:v.type)===be.WebErpOrderType.Credit;return"PendingOrder"===y?(0,m.jsx)(Y.A,{height:50}):null!==v&&void 0!==v&&v.total&&(null!==v&&void 0!==v&&null!==(t=v.total)&&void 0!==t&&t.orderTotal||null!==v&&void 0!==v&&null!==(n=v.total)&&void 0!==n&&null!==(r=n.fees)&&void 0!==r&&r.total||null!==v&&void 0!==v&&null!==(i=v.total)&&void 0!==i&&i.vat||null!==v&&void 0!==v&&v.totalIncVat)?(0,m.jsx)("div",{children:(0,m.jsx)(il,{className:"p-0",children:(0,m.jsx)(bt.iv,{children:(0,m.jsx)(Pa.Ay,{total:v.total.orderTotal,sumColor:b?"error":"text",children:(0,m.jsxs)(m.Fragment,{children:[(null===(o=v.total.fees)||void 0===o?void 0:o.administration)&&(0,m.jsx)(Pa.Q3,{label:A("cartFee.admin","Admin. fees"),value:null===(a=v.total.fees)||void 0===a?void 0:a.administration}),(null===(s=v.total.fees)||void 0===s?void 0:s.freight)&&(0,m.jsx)(Pa.Q3,{label:A("cartFee.freight","Freight fees"),value:null===(l=v.total.fees)||void 0===l?void 0:l.freight}),(null===(c=v.total.fees)||void 0===c?void 0:c.insurance)&&(0,m.jsx)(Pa.Q3,{label:A("cartFee.insurance","Insurance fees"),value:null===(u=v.total.fees)||void 0===u?void 0:u.insurance}),(null===(p=v.total.fees)||void 0===p?void 0:p.invoice)&&(0,m.jsx)(Pa.Q3,{label:A("cartFee.invoice","Invoice fees"),value:null===(h=v.total.fees)||void 0===h?void 0:h.invoice}),(null===(f=v.total.fees)||void 0===f?void 0:f.postage)&&(0,m.jsx)(Pa.Q3,{label:A("cartFee.postage","Postage fees"),value:null===(g=v.total.fees)||void 0===g?void 0:g.postage}),v.total.vat&&(0,m.jsx)(Pa.Q3,{label:A("price.vat","VAT"),value:v.total.vat}),v.totalIncVat&&(0,m.jsx)(Pa.Q3,{label:A("price.total_incVat","Incl. VAT"),value:v.totalIncVat})]})})})})}):null});var iu=n(78225),ou=n(35732),au=n(24872),su=n(74012),lu=n(55628);const cu="partnerInput";let uu,du,pu=function(e){return e.Relevance="Relevance",e.Ascending="Ascending",e.Descending="Descending",e}({});const hu={[pu.Relevance]:{sortBy:be.SortOption.Created,ascending:!1},[pu.Ascending]:{sortBy:be.SortOption.Expected,ascending:!0},[pu.Descending]:{sortBy:be.SortOption.Expected,ascending:!1}},fu=(0,ic.zD)("partner/setArticleStockQuantity",(async(t,n)=>{let{partner:r,secret:i,id:o,quantity:a}=t,{rejectWithValue:s}=n;try{return i?await e.Ay.articlePublicPartnerOverviewQuantityWithSecret(r,i,o,a):await e.Ay.articlePublicPartnerOverviewQuantity(o,a),{id:o,quantity:a}}catch(l){return(0,Fs.oR)((()=>od),{autoClose:3e3}),Ae().isCancel(l)?s(void 0):s({message:l instanceof Error?l.toString():"Unknown error"})}})),mu=(0,ic.zD)("partner/setOrderListColumns",(async e=>{let{partner:t,columns:n}=e;const r=(0,lu.A)([...td],n,(e=>e));return Qu("partnerOverview_"+t.toLowerCase()+"_orders_columns",JSON.stringify(r)),r})),gu=(0,ic.zD)("partner/getOrderListColumns",(async e=>{let{partner:t}=e;return function(e){const t=zu("partnerOverview_"+e.toLowerCase()+"_orders_columns");if(t){const e=JSON.parse(t);if(Array.isArray(e))return e}return[...td]}(t.toLowerCase())})),vu=(0,ic.zD)("partner/setArticleStatus",(async(t,n)=>{let{partner:r,secret:i,id:o,status:a}=t,{rejectWithValue:s}=n;try{return i?await e.Ay.updateStatusPartner(r,i,o,a):await e.Ay.updateStatus(o,a),{id:o,status:a}}catch(l){return(0,Fs.oR)((()=>od),{autoClose:3e3}),Ae().isCancel(l)?s(void 0):s({message:l instanceof Error?l.toString():"Unknown error"})}})),yu=(0,ic.zD)("partner/setSecret",(async(e,t)=>{let{secret:n}=e,{getState:r}=t;return{...r().partner.partner,secret:n}})),Au=(0,ic.zD)("partner/checkPartnerExist",(async(t,n)=>{let{partner:r}=t,{rejectWithValue:i}=n;try{const{data:t}=await e.Ay.orderPublicPartnerExist(r);if(t)return t;throw new Error}catch(o){return Ae().isCancel(o)?i(void 0):i({message:o instanceof Error?o.toString():"Unknown error"})}})),bu=(0,ic.zD)("partner/getSession",(async(e,t)=>{let{partner:n}=e,{rejectWithValue:r,dispatch:i}=t;try{if(null==!sessionStorage.getItem("partner_"+n))return;try{let e=JSON.parse(window.atob(sessionStorage.getItem("partner_"+n))||"{}");e.partner===n&&e.secret&&i(yu({partner:n,secret:e.secret}))}catch(o){}}catch(a){return Ae().isCancel(a)?r(void 0):r({partner:n,message:a instanceof Error?a.toString():"Unknown error"})}})),wu=(0,ic.zD)("partner/setSession",(async(e,t)=>{let{partner:n,secret:r}=e,{rejectWithValue:i,dispatch:o}=t;try{n&&(sessionStorage.setItem("partner_"+n,window.btoa(JSON.stringify({partner:n,secret:r}))),o(yu({partner:n,secret:r})))}catch(a){return Ae().isCancel(a)?i(void 0):i({partner:n,message:a instanceof Error?a.toString():"Unknown error"})}})),xu=(0,ic.zD)("partner/getPartnerContent",(async(e,t)=>{let{partner:n,isSeller:r,secret:i}=e,{rejectWithValue:o,dispatch:a,getState:s}=t;try{if(await a(ku({partner:n,secret:i})),await a(Eu({partner:n,secret:i})),await a(gu({partner:n})),await a((0,gn._V)()),r&&(await a(Iu({partner:n,secret:void 0,isSeller:r})),a(Ou({partner:n,secret:void 0,isSeller:r,onlyApproval:!1})),a(Ou({partner:n,secret:void 0,isSeller:r,onlyApproval:!0}))),n&&i){if("rejected"===(await a(Iu({partner:n,secret:i,loadPersisted:!0}))).meta.requestStatus)throw a(wu({partner:n,secret:""})),new Error;a(Ou({partner:n,secret:i,loadPersisted:!0,onlyApproval:!1})),a(Ou({partner:n,secret:i,loadPersisted:!0,onlyApproval:!0})),a(Cu({partner:n}))}return[]}catch(l){return Ae().isCancel(l)?o(void 0):o({partner:n,message:l instanceof Error?l.toString():"Unknown error"})}})),Cu=(0,ic.zD)("partner/setPartnerTab",(async(e,t)=>{let{partner:n,selectedTab:r}=e,{rejectWithValue:i}=t;if(!r){const e=zu("partnerOverview_"+n.toLowerCase()+"_tab");return{partner:n,selectedTab:null!==e&&void 0!==e?e:"orders"}}try{return Qu("partnerOverview_"+n.toLowerCase()+"_tab",r),{partner:n,selectedTab:r}}catch(o){return Ae().isCancel(o)?i(void 0):i({partner:n,message:o instanceof Error?o.toString():"Unknown error"})}})),Su=(0,ic.zD)("order/public/partner/removePublicOrder",(async(t,n)=>{let{orderId:r}=t,{rejectWithValue:i}=n;try{if(!r)throw new Error;return await e.Ay.orderPublicRemove(r),{orderId:r}}catch(o){return(0,Fs.oR)((()=>od),{autoClose:3e3}),Ae().isCancel(o)?i(void 0):i({message:o instanceof Error?o.toString():"Unknown error"})}})),ku=(0,ic.zD)("partner/getPartnerOverviewOrdersFilters",(async(t,n)=>{let{partner:r,secret:i}=t,{rejectWithValue:o}=n;try{const{data:t}=i?await e.Ay.orderPublicPartnerOverviewOrderFilters(r,i):await e.Ay.orderPartnerOverviewOrderFilters();var a,s,l;if(t)return[{values:(null!==(a=t.orderTypes)&&void 0!==a?a:[]).map((e=>({label:e,value:e}))),label:Il.A.t("order.type","Ordertype"),id:"orderTypes"},{values:(null!==(s=t.orderStatuses)&&void 0!==s?s:[]).map((e=>({label:El.ZM[e](Il.A.t).label,value:e.toString()}))),label:Il.A.t("order.status","Orderstatus"),id:"orderStatus"},{values:(null!==(l=t.additionalCosts)&&void 0!==l?l:[]).map((e=>({label:e,value:e}))),label:Il.A.t("shipment.deliveryType","Delivery type"),id:"additionalCosts"}];throw new Error}catch(c){return Ae().isCancel(c)?o(void 0):o({message:c instanceof Error?c.toString():"Unknown error"})}}),{condition:(e,t)=>{var n;let{getState:r}=t;return!(null!==(n=r().partner.partnerFilters.orders)&&void 0!==n&&n.length)}}),Eu=(0,ic.zD)("partner/getPartnerOverviewArticlesFilters",(async(t,n)=>{let{partner:r,secret:i}=t,{rejectWithValue:o}=n;try{const{data:t}=i?await e.Ay.articlePublicPartnerOverviewArticleFilters(r,i):await e.Ay.articlePartnerOverviewArticleFilters();var a,s;if(t)return[{values:(null!==(a=t.products)&&void 0!==a?a:[]).map((e=>({label:e,value:e}))),label:Il.A.t("product.product_other"),id:"products"},{values:(null!==(s=t.status)&&void 0!==s?s:[]).map((e=>({label:e,value:e}))),label:Il.A.t("general.status","Status"),id:"status"}];throw new Error}catch(l){return Ae().isCancel(l)?o(void 0):o({message:l instanceof Error?l.toString():"Unknown error"})}}),{condition:(e,t)=>{var n;let{getState:r}=t;return!(null!==(n=r().partner.partnerFilters.articles)&&void 0!==n&&n.length)}}),Iu=(0,ic.zD)("partner/getPartnerOverviewOrders",(async(t,n)=>{let{partner:r,secret:i,search:o,loadPersisted:a,isSeller:s=!1}=t,{getState:l,rejectWithValue:c,dispatch:u}=n;uu&&uu.cancel("Fetching new orders, cancel in flight request");let d={startDate:(0,au.aC)(0,-6),endDate:(0,au.aC)(0),page:1,sortOrder:pu.Relevance,...o};var p;a&&!s&&(d={...d,...zu("partnerOverview_"+r.toLowerCase()+"_orders")}),d={size:30,...d,...d.sortOrder?(p=d.sortOrder,hu[p]):{}};try{var h;await u(Bu({search:d})),s||Qu("partnerOverview_"+r.toLowerCase()+"_orders",(0,su.l)(d,["startDate","endDate"]));const t=null===(h=l().partner.partner.orders)||void 0===h?void 0:h.search;uu=(0,e.ws)();const{data:n}=i?await e.Ay.orderPublicPartnerOverviewSearch(r,i,t,uu.token):await e.Ay.orderPartnerOverviewSearch(r,t,uu.token);if(n)return{partner:r,result:n};throw new Error}catch(f){return Ae().isCancel(f)?c(void 0):c({message:f instanceof Error?f.toString():"Unknown error"})}})),_u=(0,ic.zD)("partner/getPartnerOverviewOrdersFixedResult",(async(t,n)=>{let{partner:r,secret:i,search:o}=t,{dispatch:a,rejectWithValue:s,getState:l}=n;const c={startDate:null,endDate:null,size:50,page:1,sortOrder:pu.Relevance,...o};try{var u;await a(Nu({search:c}));const t=null===(u=l().partner.partner.fixedOrders)||void 0===u?void 0:u.search,{data:n}=i?await e.Ay.orderPublicPartnerOverviewSearch(r,i,t):await e.Ay.orderPartnerOverviewSearch(r,t);if(n){var d,p;if(0!==(null===(d=n.items)||void 0===d?void 0:d.length))a(Lu(null!==(p=null===t||void 0===t?void 0:t.fixedResult)&&void 0!==p?p:null));return{partner:r,result:n}}throw new Error}catch(h){return Ae().isCancel(h)?s(void 0):s({message:h instanceof Error?h.toString():"Unknown error"})}})),Pu=(0,ic.zD)("partner/getPartnerStockQuantity",(async(t,n)=>{let{partner:r,secret:i,id:o}=t,{rejectWithValue:a}=n;try{return(r&&i?await e.Ay.articlePublicPartnerGetStockQuantityPartner(r,i,o):await e.Ay.articlePublicPartnerGetStockQuantity(o)).data}catch(s){return Ae().isCancel(s)?a(void 0):a({message:s instanceof Error?s.toString():"Unknown error"})}})),Ou=(0,ic.zD)("partner/getPartnerOverviewArticles",(async(t,n)=>{let{partner:r,secret:i,search:o,loadPersisted:a,isSeller:s=!1,onlyApproval:l}=t,{getState:c,rejectWithValue:u,dispatch:d}=n;du&&du.cancel("Fetching new orders, cancel in flight request");let p={ascending:!1,page:1,...o};a&&!s&&(p={...p,...zu("partnerOverview_"+r.toLowerCase()+"_articles")}),p.size=30;try{var h;await d(Mu({search:p,onlyApproval:l})),s||Qu("partnerOverview_"+r.toLowerCase()+"_articles",(0,su.l)(p,["startDate","endDate"]));const t=null===(h=c().partner.partner.articles)||void 0===h?void 0:h.search,n=c().partner.partnerFilters.articles.reduce(((e,n)=>({...e,[`${n.id}`]:null===t||void 0===t?void 0:t[n.id]})),{});du=(0,e.ws)();const o=[null===t||void 0===t?void 0:t.search,Object.keys(n).length&&!l?JSON.stringify(n):void 0,null===t||void 0===t?void 0:t.size,null===t||void 0===t?void 0:t.page,l?"":null===t||void 0===t?void 0:t.startDate,l?"":null===t||void 0===t?void 0:t.endDate,!!l,du.token],a=i?await e.Ay.articlePublicPartnerOverviewSearch(r,i,...o):await e.Ay.articlePartnerOverviewSearch(...o);if(a.data)return{partner:r,result:a.data,approval:!!l};throw new Error}catch(f){return Ae().isCancel(f)?u(void 0):u({message:f instanceof Error?f.toString():"Unknown error"})}})),Tu=e=>(t,n)=>{const r={...n().partner.partnerInput,...e};!function(e){try{localStorage.setItem(cu,JSON.stringify(e))}catch(t){}}(r),t(Ru(r))},Du={partner:{},partnersLoading:void 0,partnerFilters:{articles:[],orders:[]},partnerColumns:{orders:[]},partnerInput:function(){try{const e=localStorage.getItem(cu);if(e){const t=JSON.parse(e);if("email"in t||"productionNote"in t)return t}}catch(e){"message"in e&&Ba.A.warn(e.message)}return{email:""}}(),currentFixedResultOrders:null,selectedPublicPartnerStatusOverview:null},ju=(0,ic.Z0)({name:"partner",initialState:Du,reducers:{publicPartnerStatsOverviewSelected:(e,t)=>{e.selectedPublicPartnerStatusOverview=t.payload},partnerInputSet(e,t){e.partnerInput=t.payload},setOrderSearch(e,t){const n=e.partner;e.partner={...n,orders:{...n.orders,search:t.payload.search}}},setFixedOrdersSearch(e,t){const n=e.partner;e.partner={...n,fixedOrders:{...n.fixedOrders,search:t.payload.search}}},setArticleSearch(e,t){const n=e.partner,r=t.payload.onlyApproval?"articlesPending":"articles";e.partner={...n,[r]:{...n.articles,search:t.payload.search}}}},extraReducers:e=>{e.addCase(fu.fulfilled,((e,t)=>{var n,r,i;const o=[...null!==(n=null===(r=e.partner.articles)||void 0===r||null===(i=r.articles)||void 0===i?void 0:i.items)&&void 0!==n?n:[]],a=o.findIndex((e=>t.payload.id===e.id)),s=o[a],l=e.partner.articles;o.splice(a,1,{...s,stockQuantity:t.payload.quantity}),e.partner.articles={...l,articles:{...l.articles,items:o}}})),e.addCase(vu.fulfilled,((e,t)=>{var n,r,i;const o=[...null!==(n=null===(r=e.partner.articles)||void 0===r||null===(i=r.articles)||void 0===i?void 0:i.items)&&void 0!==n?n:[]],a=o.findIndex((e=>t.payload.id===e.id)),s=o[a],l=e.partner.articles;o.splice(a,1,{...s,status:t.payload.status}),e.partner.articles={...l,articles:{...l.articles,items:o}}})),e.addCase(ku.fulfilled,((e,t)=>{e.partnerFilters.orders=t.payload})),e.addCase(Eu.fulfilled,((e,t)=>{e.partnerFilters.articles=t.payload})),e.addCase(mu.fulfilled,((e,t)=>{e.partnerColumns.orders=t.payload})),e.addCase(gu.fulfilled,((e,t)=>{e.partnerColumns.orders=t.payload})),e.addCase(Iu.pending,((e,t)=>{e.partner.orders={...e.partner.orders,pending:!0}})),e.addCase(Iu.fulfilled,((e,t)=>{var n;e.partner.valid=!0,e.partner.orders={...e.partner.orders,orders:null!==(n=t.payload.result)&&void 0!==n?n:null,pending:!1,error:null}})),e.addCase(_u.pending,((e,t)=>{e.partner.fixedOrders={...e.partner.fixedOrders,pending:!0}})),e.addCase(_u.fulfilled,((e,t)=>{var n;e.partner.valid=!0,e.partner.fixedOrders={...e.partner.fixedOrders,orders:null!==(n=t.payload.result)&&void 0!==n?n:null,pending:!1,error:null}})),e.addCase(bu.pending,((e,t)=>{e.partner={...e.partner,resolveSession:!0}})),e.addCase(bu.fulfilled,((e,t)=>{e.partner={...e.partner,resolveSession:!1}})),e.addCase(xu.pending,((e,t)=>{e.partner={...e.partner,loading:!0,initialLoad:!0}})),e.addCase(xu.fulfilled,((e,t)=>{e.partner={...e.partner,loading:!1,initialLoad:!1,error:null}})),e.addCase(xu.rejected,((e,t)=>{e.partner={...e.partner,loading:!1,initialLoad:!1,error:t.error.message}})),e.addCase(yu.fulfilled,((e,t)=>{e.partner={...t.payload}})),e.addCase(Ou.pending,((e,t)=>{const n=t.meta.arg.onlyApproval?"articlesPending":"articles";e.partner[n]={...e.partner.articles,pending:!0}})),e.addCase(Ou.fulfilled,((e,t)=>{var n,r,i,o,a,s,l;e.partner.valid=!0;const c=t.meta.arg.onlyApproval?"articlesPending":"articles";e.partner[c]={...e.partner[c],articles:null!==(n=t.payload.result)&&void 0!==n?n:null,showTab:null!==(r=null===(i=e.partner[c])||void 0===i?void 0:i.showTab)&&void 0!==r?r:(null!==(o=null===(a=t.payload)||void 0===a||null===(s=a.result)||void 0===s||null===(l=s.items)||void 0===l?void 0:l.length)&&void 0!==o?o:0)>0,pending:!1,error:null}})),e.addCase(Au.pending,((e,t)=>{e.partner={...e.partner,loading:!0,error:null}})),e.addCase(Au.rejected,((e,t)=>{var n;e.partner={...e.partner,loading:!1,error:null===(n=t.payload)||void 0===n?void 0:n.message}})),e.addCase(Au.fulfilled,((e,t)=>{var n,r;const i=null!==(n=null===(r=t.payload)||void 0===r?void 0:r.name)&&void 0!==n?n:"";e.partner={...e.partner,name:i,loading:!1,error:null}})),e.addCase(Cu.fulfilled,((e,t)=>{const{selectedTab:n}=t.payload;e.partner.selectedTab=n})),e.addCase(Pu.pending,(e=>{e.partner.articles&&(e.partner.articles.stockQuantityHistory={history:void 0,loading:!0})})),e.addCase(Pu.fulfilled,((e,t)=>{e.partner.articles&&(e.partner.articles.stockQuantityHistory={history:t.payload,loading:!1})})),e.addMatcher((0,ou.b5)("partner"),((e,t)=>{var n;e.partner={...e.partner,valid:!1,loading:!1,error:null===(n=t.payload)||void 0===n?void 0:n.message}}))}}),{setOrderSearch:Bu,setFixedOrdersSearch:Nu,setArticleSearch:Mu,partnerInputSet:Ru,publicPartnerStatsOverviewSelected:Lu}=ju.actions,Fu=ju.reducer,zu=e=>{try{const t=localStorage.getItem(e);return t?JSON.parse(t):null}catch(t){localStorage.removeItem(e)}return{}},Qu=(e,t)=>{localStorage.setItem(e,JSON.stringify(t))},Uu=(e,t)=>({value:e,label:t}),Vu=e=>e.partner.partner,Gu=e=>e.partner.partnerColumns,qu=e=>e.partner.partnerFilters,Hu=e=>e.partner.partnerInput,Wu=(0,zs.Mz)(qu,gn.sr,((e,t)=>({filters:e.articles.map((e=>"products"===e.id?{...e,values:e.values.map((e=>{var n,r;return{...e,label:null!==(n=null===t||void 0===t||null===(r=t.find((t=>t.productNumber===e.value)))||void 0===r?void 0:r.productName)&&void 0!==n?n:e.label}}))}:"status"===e.id?{...e,values:e.values.map((e=>({...e,label:_r(gn.RJ.Status,e.value,Il.A.t,[])})))}:e)),tableHeaders:[Il.A.t("product.article_one","Article"),Il.A.t("stock.stock","Stock"),Il.A.t("general.status","Status"),Il.A.t("product.product_other"),Il.A.t("color.color_other"),Il.A.t("size.size","Size"),Il.A.t("user.customerNumber","Customer number"),Il.A.t("general.created")]}))),Yu=(0,zs.Mz)(Vu,(e=>e)),Ku=(0,zs.Mz)(Vu,(e=>{var t,n,r,i,o,a,s;return{items:null!==(t=null===(n=e.orders)||void 0===n||null===(r=n.orders)||void 0===r?void 0:r.items)&&void 0!==t?t:[],page:null===(i=e.orders)||void 0===i?void 0:i.orders,search:null!==(o=null===(a=e.orders)||void 0===a?void 0:a.search)&&void 0!==o?o:{},pending:null===(s=e.orders)||void 0===s?void 0:s.pending}})),Ju=(0,zs.Mz)(Vu,(e=>{var t,n,r,i,o,a,s;return{items:null!==(t=null===(n=e.fixedOrders)||void 0===n||null===(r=n.orders)||void 0===r?void 0:r.items)&&void 0!==t?t:[],page:null===(i=e.fixedOrders)||void 0===i?void 0:i.orders,search:null!==(o=null===(a=e.fixedOrders)||void 0===a?void 0:a.search)&&void 0!==o?o:{},pending:null===(s=e.fixedOrders)||void 0===s?void 0:s.pending}})),Xu=(0,zs.Mz)(Vu,(e=>{var t,n,r,i,o,a,s,l;return{items:null!==(t=null===(n=e.articles)||void 0===n||null===(r=n.articles)||void 0===r?void 0:r.items)&&void 0!==t?t:[],page:null===(i=e.articles)||void 0===i?void 0:i.articles,search:null!==(o=null===(a=e.articles)||void 0===a?void 0:a.search)&&void 0!==o?o:{},pending:null===(s=e.articles)||void 0===s?void 0:s.pending,showTab:null===(l=e.articles)||void 0===l?void 0:l.showTab}})),Zu=(0,zs.Mz)(Vu,(e=>{var t,n,r,i,o,a,s,l;return{items:null!==(t=null===(n=e.articlesPending)||void 0===n||null===(r=n.articles)||void 0===r?void 0:r.items)&&void 0!==t?t:[],page:null===(i=e.articlesPending)||void 0===i?void 0:i.articles,search:null!==(o=null===(a=e.articlesPending)||void 0===a?void 0:a.search)&&void 0!==o?o:{},pending:null===(s=e.articlesPending)||void 0===s?void 0:s.pending,showTab:null===(l=e.articlesPending)||void 0===l?void 0:l.showTab}})),$u=(0,zs.Mz)(Vu,(e=>{var t;return null!==(t=e.selectedTab)&&void 0!==t?t:"orders"})),ed={Icons:()=>" ",OrderNumber:()=>Il.A.t("order.orderNumber","Order number"),Created:()=>Il.A.t("general.created","Created"),CustomerName:()=>Il.A.t("seller.customer","Customer"),CustomerNumber:()=>Il.A.t("user.customerNumber","Customer number"),CustomerReference:()=>Il.A.t("order.reference","Order reference"),CustomerOrderReference:()=>Il.A.t("shipment.yourOrderNumber"),Expected:()=>Il.A.t("refinement.expected"),Email:()=>Il.A.t("contact.email","Email"),ArticleName:()=>Il.A.t("product.article_other","Articles"),Refinements:()=>Il.A.t("refinement.refinement_other"),AdditionalCosts:()=>Il.A.t("shipment.deliveryOptional_other"),RefinementQuantity:()=>Il.A.t("cart.quantity"),StatusDate:()=>Il.A.t("general.status"),Updated:()=>Il.A.t("general.updated")},td=[...Object.keys(ed)],nd=e=>(0,zs.Mz)($u,Gu,((t,n)=>{if("orders"===t){const t=["Partner"],r=["Icons","OrderNumber"],i=[...td].filter((n=>!!e||!t.includes(n))).filter((e=>!r.includes(e))),o=n.orders.filter((n=>!!e||!t.includes(n)));return{unselectable:r,selectable:i,active:o}}return{selectable:[],unselectable:[],active:[]}})),rd=e=>{if(ed[e])return ed[e]();throw new Error("Unknown key, should not happen")};const id={Transfer:()=>Il.A.t("product.transfer","Transfer"),Refinements:()=>Il.A.t("refinement.refinement_other","Refinement"),ProductAddons:()=>Il.A.t("refinement.addon","Addon"),Mounting:()=>Il.A.t("stock.mounting","Mounting")};const od=(0,m.jsx)(iu.A,{message:Il.A.t("error.general")});var ad=n(47518);const sd=e=>{var t,n,r,o,l,p,h,g,v,y;let{identifier:A,closeModal:b}=e;const w=(0,c.GV)(El.Tp),x=(0,c.GV)(El.Mb),C=(0,c.GV)(El.bD),S=(0,c.GV)(El._9),k=(0,c.GV)(El.mW),E=(0,c.GV)((e=>{let{orders:t}=e;return t.publicOrderShippingCosts})),I=(0,c.GV)(El.Lt.publicOrderCustomerInfo),_=(0,c.GV)(El.Lt.publicOrderCustomerCountryOptions),P=(0,c.GV)(El.Lt.publicOrderProducts),O=(0,c.GV)(El.Lt.publicOrder),T=(0,c.GV)(El.Lt.publicOrderRefinementArticles),D=(0,c.GV)(El.Lt.selectPublicOrderValidVariations),{deliveryAddresses:j,updatingAddresses:B,updatingShipment:N}=(0,c.GV)((e=>{var t;let{orders:n}=e;return null!==(t=n.publicOrder.inProgressOrder)&&void 0!==t?t:{}})),M=(0,c.GV)(El.aj),[R,L]=(0,u.useState)([]),[F,z]=(0,u.useState)({}),[Q,U]=(0,u.useState)(!1),[V,G]=(0,u.useState)(null!==(t=null===j||void 0===j?void 0:j.id)&&void 0!==t?t:-1),[q,H]=(0,u.useState)([]),[W,Y]=(0,u.useState)(!1),[X,Z]=(0,u.useState)(void 0),[$,ee]=(0,u.useState)(null),te=(0,u.useRef)(null),ne=(0,c.jL)(),{t:re}=(0,d.B)(),ie=(null!==(n=null===O||void 0===O||null===(r=O.refinementStatus)||void 0===r?void 0:r.status)&&void 0!==n?n:0)>=be.RefinementOrderStatus.InProduction,oe=R.find((e=>{var t;return e.addressId===(null===q||void 0===q||null===(t=q[V])||void 0===t?void 0:t.id)})),ae=null===M||void 0===M?void 0:M.filter((e=>{var t;return e.addressId===(null===q||void 0===q||null===(t=q[V])||void 0===t?void 0:t.id)})),se=function(){var e,t,n,r;let i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null===(e=q[V])||void 0===e?void 0:e.id,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:q;const a=M.filter((e=>e.addressId===i));return null!==(t=null===(n=o.find((e=>e.id===i)))||void 0===n||null===(r=n.skus)||void 0===r?void 0:r.map((e=>({sku:e.sku,quantity:e.quantity-a.reduce(((t,n)=>{var r,i,o;return t+(null!==(r=null===(i=n.skus)||void 0===i||null===(o=i.find((t=>t.sku===e.sku)))||void 0===o?void 0:o.quantity)&&void 0!==r?r:0)}),0)}))))&&void 0!==t?t:[]},le=(e,t)=>{const n=se(e,t).some((e=>e.quantity>0));Y(n),n||L((t=>t.filter((t=>t.addressId!==e))))};(0,u.useEffect)((()=>(A&&(ne((0,El.xD)(A)).then((e=>{if(Array.isArray(null===e||void 0===e?void 0:e.payload)){var t,n;const r=localStorage.getItem("default_shipping_option_id"),i=!r||Number.isNaN(+r)?void 0:+r;Z(null!==i&&void 0!==i?i:null===e||void 0===e||null===(t=e.payload)||void 0===t||null===(n=t[0])||void 0===n?void 0:n.id)}})),ne((0,El.tY)({identifier:A})),ne((0,El.xc)({identifier:A}))),null!==te&&void 0!==te&&te.current&&(0,a.mh)(te.current),()=>(0,a.qY)())),[null===O||void 0===O?void 0:O.refinementStatus,A,ne,te]),(0,u.useEffect)((()=>{var e,t,n;const r=null!==(e=null===j||void 0===j?void 0:j.map(((e,t)=>{var n,r;let i=[];var o,a;1!==j.length||null!==(n=e.skus)&&void 0!==n&&n.length?i=[...null!==(o=e.skus)&&void 0!==o?o:[],...T.flatMap((e=>e.skus)).filter((t=>{var n;return!(null!==e&&void 0!==e&&null!==(n=e.skus)&&void 0!==n&&n.some((e=>e.sku===(null===t||void 0===t?void 0:t.sku))))})).map((e=>({...e,quantity:0})))]:i=[...T.map((e=>{var t;return{sku:e.variationNumber,quantity:null===(t=e.skus)||void 0===t?void 0:t[0].quantity}})),...null!==(a=null===P||void 0===P?void 0:P.flatMap((e=>{var t;return null===(t=e.variations)||void 0===t?void 0:t.flatMap((e=>{var t;return null===(t=e.orderLines)||void 0===t?void 0:t.map((e=>{var t,n;return{sku:null!==(t=e.sku)&&void 0!==t?t:"",quantity:null!==(n=e.quantity)&&void 0!==n?n:0}}))}))})))&&void 0!==a?a:[]].filter((e=>e));return{...e,index:t,id:(null!==(r=null===e||void 0===e?void 0:e.id)&&void 0!==r?r:t).toString(),skus:i}})))&&void 0!==e?e:[];le(null===(t=r[null!==V&&void 0!==V?V:0])||void 0===t?void 0:t.id,r),G(null===(n=r[null!==V&&void 0!==V?V:0])||void 0===n?void 0:n.index),H(r)}),[j,P,T]),(0,u.useEffect)((()=>{-1!==V&&W&&ue()}),[V,W,M]);const ce=()=>{ne((0,El.z5)({identifier:A,deliveryAddresses:null!==q&&void 0!==q?q:[]})).then((e=>{le()}))},ue=()=>{var e,t;const n=null===q||void 0===q||null===(e=q[V])||void 0===e?void 0:e.id;if(!n)return;const r=R.filter((e=>e.addressId!==n));L(r);const i=se(n,q),o=null===(t=q[V])||void 0===t?void 0:t.skus,a=((null===o||void 0===o?void 0:o.map(((e,t)=>{var o;const a=(null===(o=i.find((t=>t.sku===e.sku)))||void 0===o?void 0:o.quantity)||0,s=((e,t)=>e.reduce(((e,n)=>{var r,i;return e+((null===n||void 0===n||null===(r=n.skus)||void 0===r||null===(i=r.find((e=>e.sku===t)))||void 0===i?void 0:i.quantity)||0)}),0))(r.filter((e=>e.addressId===n)),e.sku);return{...e,quantity:Math.min((null===e||void 0===e?void 0:e.quantity)-s,a)}})))||[]).filter((e=>e.quantity>0));a.length&&L((e=>{const t=Math.max(...e.map((e=>e.guid)),0);return[...e,{guid:t+1,addressId:n,skus:a}]}))},de=async(e,t)=>{var n,r;const i=null===M||void 0===M?void 0:M.filter((t=>t.addressId===e));if((null===i||void 0===i?void 0:i.length)>0&&!t)return void ne((0,f.wp)({color:"warning",title:re("order.removeAddressTitle"),description:re("order.removeAddressText"),okLabel:re("order.removeAddressYesOption"),onOk:()=>de(e,!0),onCancel:()=>null,stretchButtons:!0}));if((null===i||void 0===i?void 0:i.length)>0)for(const a of i)await pe(a);const o=q.filter((t=>t.id!==e));H(o),ne((0,El.z5)({identifier:A,deliveryAddresses:o})).then((()=>ee(null))),G(null!==(n=null===(r=o[0])||void 0===r?void 0:r.index)&&void 0!==n?n:-1)},pe=async e=>{for(const n of null!==(t=e.children)&&void 0!==t?t:[]){var t;await ne((0,El.nD)({identifier:A,shipment:n}))}await ne((0,El.nD)({identifier:A,shipment:e}))};return(0,m.jsxs)(ld,{column:!0,ref:te,className:"p-3",children:[(0,m.jsxs)(s.so,{className:"p-2",justify:"between",children:[(0,m.jsxs)(s.so,{column:!0,align:"start",children:[(0,m.jsx)(s.EY,{fontSize:22,bold:!0,children:re("shipment.addressesAndShipmentsTitle")}),(0,m.jsx)(s.EY,{children:re("shipment.qtyArticles",void 0,{count:k})})]}),(0,m.jsx)(s.so,{column:!0,align:"end",children:(0,m.jsxs)(s.so,{className:"p-2",justify:"between",children:[(0,m.jsxs)(s.so,{column:!0,align:"start",className:"pr-5",children:[(0,m.jsx)(s.EY,{fontSize:22,bold:!0,children:null===I||void 0===I?void 0:I.customerCode}),(0,m.jsx)(s.EY,{children:null===I||void 0===I?void 0:I.name}),(0,m.jsxs)(s.EY,{children:[null===I||void 0===I?void 0:I.transportType,", ",null===I||void 0===I?void 0:I.termsOfDelivery]})]}),(0,m.jsx)(s.so,{column:!0,align:"end",children:(0,m.jsxs)("div",{children:[(0,m.jsx)(s.EY,{fontSize:22,bold:!0,children:null!==(o=null===O||void 0===O?void 0:O.orderNumber)&&void 0!==o?o:""}),(0,m.jsxs)(s.EY,{children:[re("general.total"),": ",null!==(l=null===O||void 0===O||null===(p=O.total)||void 0===p?void 0:p.orderTotal)&&void 0!==l?l:""]}),(0,m.jsxs)(s.EY,{children:[null===O||void 0===O?void 0:O.deliveryType," ",null!==O&&void 0!==O&&O.transportType?` (${null===O||void 0===O?void 0:O.transportType})`:""]})]})})]})})]}),(0,m.jsxs)(cd,{children:[(0,m.jsx)(ud,{className:"p-2",column:!0,children:$?(0,m.jsxs)(dd,{onSubmit:async e=>{var t,n,r,i,o,a,s,l,c;e.preventDefault();const u=e.currentTarget.elements,d={adressLine1:null===(t=u.address)||void 0===t?void 0:t.value,adressLine2:null===(n=u.address2)||void 0===n?void 0:n.value,city:null===(r=u.city)||void 0===r?void 0:r.value,name:null===(i=u.company)||void 0===i?void 0:i.value,postalCode:null===(o=u.postalCode)||void 0===o?void 0:o.value,email:null===(a=u.email)||void 0===a?void 0:a.value,phone:null===(s=u.phone)||void 0===s?void 0:s.value,country:null===(l=u.country)||void 0===l?void 0:l.value},p=null===(c=u.addressId)||void 0===c?void 0:c.value,h=Math.max(...q.map((e=>e.index)))+1,f=p?(q||[]).map((e=>e.id===p?{...e,...d}:e)):(q||[]).concat({...d,index:h,skus:null!==C&&void 0!==C?C:[]});ne((0,El.z5)({identifier:A,deliveryAddresses:f})).then((e=>{if(ee(null),!p){const t=e.payload.deliveryAdresses,n=t[t.length-1].id;le(n,t),G(h)}}))},children:[(0,m.jsx)("input",{type:"hidden",name:"addressId",value:null!==(h=$.addressId)&&void 0!==h?h:""}),(0,m.jsx)(s.pd,{label:re("contact.company"),name:"company",type:"text",maxLength:30,minLength:2,defaultValue:$.company,required:!0}),(0,m.jsxs)("div",{className:"my-4",children:[(0,m.jsxs)(s.so,{column:!0,gap:"0.5rem",$wrap:!0,children:[(0,m.jsx)(s.pd,{label:re("contact.address"),name:"address",type:"text",defaultValue:$.address,required:!0}),(0,m.jsx)(s.pd,{name:"address2",type:"text",defaultValue:$.address2})]}),(0,m.jsxs)(s.so,{gap:"0.5rem",$wrap:!0,children:[(0,m.jsx)(s.pd,{label:re("contact.postalCode"),name:"postalCode",type:"text",className:"flex-grow-1",defaultValue:$.postalCode,required:!0}),(0,m.jsx)(s.pd,{label:re("contact.city"),name:"city",type:"text",className:"flex-grow-1",defaultValue:$.city,required:!0})]}),_.length?(0,m.jsx)("div",{children:(0,m.jsx)(s.l6,{label:re("contact.country"),smallLabel:!0,name:"country",menuPosition:"fixed",isMulti:!1,defaultValue:_.find((e=>{var t;return e.value===(null!==(t=$.country)&&void 0!==t?t:null===I||void 0===I?void 0:I.countryCode)})),options:_})}):null]}),(0,m.jsxs)(s.so,{gap:"0.5rem",$wrap:!0,children:[(0,m.jsx)(s.pd,{className:"flex-grow-1",label:re("contact.email"),name:"email",type:"text",defaultValue:$.email}),(0,m.jsx)(s.pd,{className:"flex-grow-1",label:re("contact.phone"),name:"phone",type:"text",defaultValue:$.phone})]}),(0,m.jsxs)(s.so,{justify:"between",className:"mt-3",children:[$.addressId&&(null===q||void 0===q?void 0:q.length)>1?(0,m.jsx)(pd,{type:"button",icon:K.yLS,onClick:()=>de($.addressId),children:re("action.remove")}):(0,m.jsx)("span",{}),(0,m.jsxs)(s.so,{children:[(0,m.jsx)(s.K0,{className:"mr-2",icon:K.rCU,square:!0,onClick:()=>ee(null),children:$.addressId?re("action.back"):re("action.undo")+" "+re("shipment.new").toLowerCase()}),(0,m.jsx)(s.$n,{disabled:B,type:"submit",children:re("action.save")})]})]})]}):(0,m.jsxs)(m.Fragment,{children:[null===q||void 0===q?void 0:q.map((e=>{var t,n;return(0,m.jsxs)(hd,{className:"p-3",active:V===(null===e||void 0===e?void 0:e.index),onClick:t=>{t.preventDefault(),(null===e||void 0===e?void 0:e.index)!==V&&(G(null===e||void 0===e?void 0:e.index),le(e.id))},children:[(0,m.jsxs)(s.so,{width:"100%",justify:"between",children:[(0,m.jsxs)(fd,{children:[(0,m.jsx)(s.EY,{bold:!0,fontSize:14,children:e.name}),(0,m.jsx)(s.EY,{fontSize:14,children:e.adressLine1}),(0,m.jsx)(s.EY,{fontSize:14,children:e.postalCode+" "+e.city})]}),(0,m.jsxs)(s.so,{column:!0,className:"ml-4",align:"end",children:[(0,m.jsx)(s.EY,{fontSize:13,children:re("shipment.qtyShipments",void 0,{count:null!==(t=M.filter((t=>t.addressId===e.id)).length)&&void 0!==t?t:0})}),(0,m.jsx)(s.EY,{fontSize:13,children:(0,m.jsx)(s.EY,{fontSize:13,children:re("shipment.qtyArticles",void 0,{count:null===(n=e.skus)||void 0===n?void 0:n.reduce(((e,t)=>{var n;return e+(null!==(n=null===t||void 0===t?void 0:t.quantity)&&void 0!==n?n:0)}),0)})})})]})]}),(0,m.jsxs)(s.so,{className:"mt-3 w-100",children:[(0,m.jsx)(s.$n,{className:"mr-3",onClick:()=>{z((t=>({...t,[e.index]:!t[e.index]}))),F[e.index]&&ce()},children:F[e.index]?re("general.saveAndClose"):re("general.show")+"/"+re("action.change").toLowerCase()+" "+re("product.article_other").toLowerCase()}),(0,m.jsxs)(s.$n,{onClick:()=>{var t,n,r,i,o,a,s,l,c;ee({addressId:null!==(t=e.id)&&void 0!==t?t:"",address:null!==(n=e.adressLine1)&&void 0!==n?n:"",address2:null!==(r=e.adressLine2)&&void 0!==r?r:"",city:null!==(i=e.city)&&void 0!==i?i:"",postalCode:null!==(o=e.postalCode)&&void 0!==o?o:"",email:null!==(a=e.email)&&void 0!==a?a:"",phone:null!==(s=e.phone)&&void 0!==s?s:"",company:null!==(l=e.name)&&void 0!==l?l:"",country:null!==(c=e.country)&&void 0!==c?c:""})},children:[re("action.change")," ",re("contact.address").toLowerCase()]}),(0,m.jsx)(md,{icon:i.SGM,$valid:V===(null===e||void 0===e?void 0:e.index)?!W:S[null===e||void 0===e?void 0:e.id]})]}),F[e.index]&&(0,m.jsx)(Ad,{id:`address_variations_${e.index}`,addresses:null!==q&&void 0!==q?q:[],variations:D,selectedAddress:null===q||void 0===q?void 0:q[e.index],onAddressesChange:(t,n,r)=>((e,t,n,r)=>{var i,o,a;le(e,t),H(t);const s=null!==(i=null===x||void 0===x||null===(o=x[e])||void 0===o?void 0:o[n])&&void 0!==i?i:0;(null===oe||void 0===oe||null===(a=oe.skus)||void 0===a?void 0:a.find((e=>e.sku===n&&r-s<(null===e||void 0===e?void 0:e.quantity))))&&L((t=>t.map((t=>{var i;return t.addressId===e?{...t,skus:null===(i=t.skus)||void 0===i?void 0:i.map((e=>e.sku===n?{...e,quantity:r-s}:e))}:t}))))})(e.id,t,n,r),shipments:x[e.id],minValues:x[e.id]})]},`address_${e.index}`)})),(0,m.jsx)("div",{children:(0,m.jsx)(s.K0,{className:"mt-3",icon:J.QLR,square:!0,onClick:()=>ee({}),children:re("order.addNewAddress")})})]})}),ie?(0,m.jsxs)(ud,{className:"m-2",children:[null!=ae&&(null===ae||void 0===ae?void 0:ae.length)>=1&&(0,m.jsxs)(gd,{className:"p-3 mb-1",children:[(0,m.jsx)(s.EY,{fontSize:16,bold:!0,children:re("order.createdDeliveries")}),ae.map(((e,t)=>{var n;return(0,m.jsx)(Gc,{tracking:e,orderNumber:null!==(n=null===O||void 0===O?void 0:O.orderNumber)&&void 0!==n?n:"",deliveryNote:null===w||void 0===w?void 0:w[e.index],onRemoveShipment:e=>pe(e)},`tracking_${V}_${t}`)}))]}),!!oe&&W&&(0,m.jsxs)(gd,{className:"p-3",children:[(0,m.jsx)(s.VO,{valueLabelLeft:re("shipment.delivery_other","Deliveries"),valueLabelRight:re("shipment.manualDelivery"),checked:null===oe||void 0===oe?void 0:oe.manual,onClick:()=>{L((e=>e.map((e=>e.guid===oe.guid?{...e,manual:!e.manual}:e))))}}),(0,m.jsxs)("form",{className:"mt-2",onSubmit:e=>{var t,n,r,i,o,a;e.preventDefault();const s=e.currentTarget.elements;ce(),ne((0,El.mz)({identifier:A,quantity:null===(t=s.quantity)||void 0===t?void 0:t.value,shipments:{addressId:null===(n=s.addressId)||void 0===n?void 0:n.id,trackingNumber:null===(r=s.tracking_number)||void 0===r?void 0:r.value,trackingUrl:null===(i=s.tracking_url)||void 0===i?void 0:i.value,carrier:null===(o=s.carrier)||void 0===o?void 0:o.value,service:null===(a=s.service)||void 0===a?void 0:a.value,shippingOptionId:X,...oe}})),U(!1)},children:[(0,m.jsx)("input",{type:"hidden",name:"addressId",value:oe.guid}),(0,m.jsxs)(vd,{children:[(0,m.jsxs)("div",{children:[(0,m.jsx)(s.dN,{className:"f3-700 mb-1",children:re("order.deliveryType")}),(0,m.jsx)(s.l6,{className:"mt-2",menuPosition:"fixed",isMulti:!1,value:"number"===typeof X?{label:null!==(g=null===(v=E.find((e=>e.id===X)))||void 0===v?void 0:v.description)&&void 0!==g?g:X.toString(),value:X}:void 0,options:E.filter((e=>"number"===typeof e.id)).map((e=>{var t;return{label:null!==(t=e.description)&&void 0!==t?t:"",value:e.id}})),onChange:e=>{e&&(localStorage.setItem("default_shipping_option_id",e.value.toString()),Z(e.value))}})]}),(0,m.jsx)(yd,{type:"button",bgColor:"white",className:"w-100",onClick:()=>U((e=>!e)),children:Q?`${re("general.hide")} ${re("product.article_other").toLowerCase()}`:re("order.showEditArticles",void 0,{count:null===oe||void 0===oe||null===(y=oe.skus)||void 0===y?void 0:y.reduce(((e,t)=>{var n;return e+(null!==(n=null===t||void 0===t?void 0:t.quantity)&&void 0!==n?n:0)}),0)})}),oe.manual?(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(s.pd,{type:"text",name:"tracking_number",label:re("shipment.trackingNumber"),required:!0}),(0,m.jsx)(s.pd,{type:"text",name:"tracking_url",label:re("shipment.trackingUrl")}),(0,m.jsx)(s.pd,{type:"text",name:"carrier",label:re("shipment.trackingCarrier")}),(0,m.jsx)(s.pd,{type:"text",name:"service",label:re("shipment.trackingService")})]}):(0,m.jsx)(s.pd,{type:"number",min:1,defaultValue:1,name:"quantity",label:re("shipment.deliveryQuantity")})]}),Q&&(0,m.jsx)(Ad,{id:"delivery_variations",addresses:null!==q&&void 0!==q?q:[],variations:D,selectedAddress:null===q||void 0===q?void 0:q[V],values:null===oe||void 0===oe?void 0:oe.skus,maxValues:se(),shipments:x[oe.addressId],showOnlyVariationsWithMaxValue:!0,onAddressesChange:(e,t,n)=>{L((e=>e.map((e=>{var r;return e.guid===oe.guid?{...e,skus:null===(r=e.skus)||void 0===r?void 0:r.map((e=>e.sku===t?{...e,quantity:n}:e))}:e}))))}}),(0,m.jsx)(s.so,{className:"mt-3",children:(0,m.jsx)(yd,{type:"submit",color:"accentText",bgColor:"accent",disabled:!X||N,children:re("order.createDelivery",{context:oe.manual?"one":"other"})})})]})]})]}):(0,m.jsx)(ud,{align:"center",justify:"center",children:(0,m.jsx)(s.EY,{className:"p-3",fontSize:16,center:!0,bold:!0,children:re("order.skuEditorDisabledTitle")})})]}),(0,m.jsx)(s.so,{justify:"end",children:(0,m.jsx)(s.$n,{type:"button",onClick:e=>{e.preventDefault(),e.stopPropagation(),b()},bgColor:"transparent",children:re("general.close")})})]})},ld=(0,p.Ay)(s.so).withConfig({componentId:"sc-bqoykm-0"})(["width:100%;","{width:90vw;max-height:90vh;max-width:1350px;}"],(e=>{let{theme:t}=e;return t.media.lg})),cd=(0,p.Ay)(s.so).withConfig({componentId:"sc-bqoykm-1"})(["overflow:auto;flex-direction:row;@media screen and (max-width:600px){flex-direction:column;}"]),ud=(0,p.Ay)(s.so).withConfig({componentId:"sc-bqoykm-2"})(["flex-direction:column;flex-wrap:nowrap;max-height:100%;overflow:auto;min-width:300px;flex:1;@media screen and (max-width:600px){overflow:unset;}"]),dd=p.Ay.form.withConfig({componentId:"sc-bqoykm-3"})(["display:flex;flex-direction:column;> *{margin-bottom:5px;}"]),pd=(0,p.Ay)(s.K0).withConfig({componentId:"sc-bqoykm-4"})(["padding:0;background:transparent;> span{font-size:14px;font-weight:400;text-decoration:underline;padding-left:5px;}&:not(:last-child){margin-right:12px;}&:hover{background:transparent;opacity:0.8;}"]),hd=p.Ay.div.withConfig({componentId:"sc-bqoykm-5"})(["display:flex;flex-direction:column;align-items:flex-start;border:1px solid ",";background:transparent;border-radius:2px;width:100%;"],(e=>{let{theme:t,active:n}=e;return n?"#9b9fc4":t.colors.borderLight})),fd=p.Ay.div.withConfig({componentId:"sc-bqoykm-6"})(["text-align:left;"]),md=(0,p.Ay)(o.g).withConfig({componentId:"sc-bqoykm-7"})(["align-self:center;margin-left:auto;font-size:20px;color:",";"],(e=>{let{theme:t,$valid:n}=e;return n?t.colors.success:t.colors.textDisabled})),gd=(0,p.Ay)(s.so).withConfig({componentId:"sc-bqoykm-8"})(["flex-direction:column;background-color:#f5f5f5;"]),vd=p.Ay.div.withConfig({componentId:"sc-bqoykm-9"})(["display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,2fr));grid-gap:10px;width:100%;align-items:flex-end;"]),yd=(0,p.Ay)(s.$n).withConfig({componentId:"sc-bqoykm-10"})(["width:fit-content;"]),Ad=e=>{let{id:t,variations:n,selectedAddress:r,addresses:i,onAddressesChange:a,values:l,maxValues:c,minValues:u,shipments:d,showOnlyVariationsWithMaxValue:p}=e;const h=p?null===n||void 0===n?void 0:n.map((e=>{var t;return{...e,skus:null===(t=e.skus)||void 0===t?void 0:t.filter((e=>{var t,n;return(null!==(t=null===c||void 0===c||null===(n=c.find((t=>t.sku===e.sku)))||void 0===n?void 0:n.quantity)&&void 0!==t?t:0)>0}))}})).filter((e=>e.skus&&e.skus.length>0)):n;return(0,m.jsx)(bd,{className:"mt-2",children:null===h||void 0===h?void 0:h.map((e=>{var n;return(0,m.jsxs)(wd,{children:[(0,m.jsx)(s.EY,{className:"ml-2 mt-2",fontSize:12,bold:!0,children:e.productName}),null===(n=e.skus)||void 0===n?void 0:n.map((e=>{var n,p,h,f,g,v,y,A,b,w,x;const C=null!==(n=Array.isArray(l)?null===l||void 0===l||null===(p=l.find((t=>t.sku===e.sku)))||void 0===p?void 0:p.quantity:null===(h=r.skus)||void 0===h||null===(f=h.find((t=>t.sku===e.sku)))||void 0===f?void 0:f.quantity)&&void 0!==n?n:0;return(0,m.jsxs)(xd,{children:[(0,m.jsxs)(s.so,{column:!0,children:[(0,m.jsx)(s.EY,{fontSize:14,className:"mr-3",children:e.sku}),(0,m.jsxs)(s.so,{align:"center",children:[(0,m.jsx)(o.g,{fontSize:10,icon:K.THi}),(0,m.jsx)(s.EY,{fontSize:12,className:"ml-2",children:Array.isArray(l)?`${C} / ${null!==(g=null===c||void 0===c||null===(v=c.find((t=>t.sku===e.sku)))||void 0===v?void 0:v.quantity)&&void 0!==g?g:0}`:`${null!==(y=null===d||void 0===d?void 0:d[null===e||void 0===e?void 0:e.sku])&&void 0!==y?y:0} / ${e.quantity}`}),Array.isArray(l)&&0!==C&&C===(null===c||void 0===c||null===(A=c.find((t=>t.sku===e.sku)))||void 0===A?void 0:A.quantity)&&(0,m.jsx)(Sd,{icon:J.e68})]})]}),r&&(0,m.jsx)(Cd,{id:`sku_${e.sku}`,address:r,addresses:null!==i&&void 0!==i?i:[],value:C,minValue:null!==(b=null===u||void 0===u?void 0:u[null===e||void 0===e?void 0:e.sku])&&void 0!==b?b:0,maxValue:null!=c?null!==(w=null===c||void 0===c||null===(x=c.find((t=>t.sku===e.sku)))||void 0===x?void 0:x.quantity)&&void 0!==w?w:0:void 0,sku:e,validationError:!1,onChange:t=>{const n=i.map((n=>{var i,o,a;return n.id===r.id?{...n,skus:null!==(i=n.skus)&&void 0!==i&&i.some((t=>t.sku===e.sku))?null===(o=n.skus)||void 0===o?void 0:o.map((n=>n.sku===e.sku?{...n,quantity:t}:n)):[...null!==(a=n.skus)&&void 0!==a?a:[],{sku:e.sku,quantity:t}]}:n}));a(n,e.sku,t)}})]},`product_variation_sku_${t}_${e.sku}`)}))]},`${t}_${e.variationNumber}`)}))},t)},bd=p.Ay.div.withConfig({componentId:"sc-bqoykm-11"})(["display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,2fr));width:100%;"]),wd=(0,p.Ay)(s.so).withConfig({componentId:"sc-bqoykm-12"})(["flex-direction:column;margin:5px;border:1px solid ",";"],(e=>{let{theme:t}=e;return t.colors.borderLight})),xd=(0,p.Ay)(s.so).withConfig({componentId:"sc-bqoykm-13"})(["padding:5px 8px;align-items:center;justify-content:space-between;&:not(:last-child){border-bottom:1px solid ",";}> input{opacity:0.1;}"],(e=>{let{theme:t}=e;return t.colors.borderLight})),Cd=(0,p.Ay)(ad.Z).withConfig({componentId:"sc-bqoykm-14"})(["font-size:14px;width:65px;input{line-height:unset;}"]),Sd=(0,p.Ay)(o.g).withConfig({componentId:"sc-bqoykm-15"})(["align-self:center;margin-left:5px;font-size:12px;color:",";"],(e=>{let{theme:t}=e;return t.colors.success}));var kd=function(e){return e[e.System=be.RefinementOrderStatusCreator.System]="System",e[e.User=be.RefinementOrderStatusCreator.User]="User",e[e.Partner=be.RefinementOrderStatusCreator.Partner]="Partner",e[e.Customer=be.RefinementOrderStatusCreator.Customer]="Customer",e[e.All=5]="All",e}(kd||{});const Ed=e=>{var t;let{log:n,handleOnPin:r,disableInteractions:i=!1}=e;const{order:a}=(0,c.GV)((e=>{let{orders:t}=e;return t.publicOrder})),{t:l}=(0,d.B)(),[p,h]=(0,u.useState)(!1),[f,g]=(0,u.useState)([]),v=null===n||void 0===n||null===(t=n.filter((e=>!0===e.pinned)))||void 0===t?void 0:t.length,y=null===n||void 0===n?void 0:n.at(-1);if((0,u.useEffect)((()=>{n&&g(n)}),[n]),!n)return(0,m.jsx)(m.Fragment,{});const A=e=>{const t=El.ZM[f[e].status](l).label;return f[e].status===be.RefinementOrderStatus.Rejected&&f[e].action===be.RefinementOrderAction.ExternalComment?`${t} (${l("seller.customer")})`:f[e].status===be.RefinementOrderStatus.Registred&&f[e].customerStatus===be.RefinementCustomerStatus.CustomerSubmittedChanges?`${t} (${l("seller.customer")}/${l("action.submitChanges")})`:f[e].status===be.RefinementOrderStatus.Rejected&&f[e].customerStatus===be.RefinementCustomerStatus.RejectToCustomer?`${t} till ${l("seller.customer")}`:t},b=e=>{const t=f[e].status;return e+1>=f.length?A(e):f[e+1].status===t?null:A(e)},w=(e,t)=>{v&&v>=2&&!t||r(e,t)},x=Object.values(kd).filter((e=>!isNaN(Number(e)))).map((e=>{var t,n;return{value:e,label:e===kd.Partner?null!==(t=null===a||void 0===a||null===(n=a.refinementPartner)||void 0===n?void 0:n.name)&&void 0!==t?t:"":_d[e](l).label}})),C=(0,m.jsx)(s.l6,{isMulti:!1,menuPosition:"fixed",isSearchable:!1,indicatorIcon:K.OM7,toggleBgColor:"fill",defaultValue:x[x.length-1],onChange:e=>{e&&g((e=>[...n].sort(((t,n)=>t.creatorType===e&&n.creatorType!==e?-1:n.creatorType===e&&t.creatorType!==e?1:0)))(e.value))},options:x}),S=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const r=(()=>{let e;const t=[be.RefinementOrderStatus.Pending,be.RefinementOrderStatus.Registred,be.RefinementOrderStatus.Rejected];return n.slice().reverse().map((n=>{var r;if(t.includes(n.status))return null;const i=null===(r=n.expected)||void 0===r?void 0:r.str,o=i&&i!==e&&n.id;return e=o?i:e,o?n.id:null})).filter(Boolean)})();return e.map(((e,n)=>{var o;return t&&!e.pinned||p&&!e.comment&&!t?null:(0,m.jsx)(Id,{log:e,t:l,partner:null===a||void 0===a||null===(o=a.refinementPartner)||void 0===o?void 0:o.name,status:b(n),handleOnPin:w,isPin:t,hasNewExpectedDeliveryDate:r.includes(e.id),disableInteractions:i,firstLog:y},`log_${n}`)}))};return(0,m.jsxs)(m.Fragment,{children:[!i&&(0,m.jsxs)(s.so,{justify:"between",align:"center",className:"mt-2 mb-3",children:[(0,m.jsxs)(jd,{toggle:p,onClick:()=>h(!p),children:[p&&(0,m.jsx)(o.g,{color:"#818CDB",icon:J.e68})," ",l("refinement.messages")]}),C]}),!i&&(0,m.jsx)(m.Fragment,{children:(null===f||void 0===f?void 0:f.some((e=>!0===e.pinned)))&&(0,m.jsx)(s.VU,{label:l("refinement.pin"),labelColor:"textLight",defaultOpen:!0,children:S(f,!0)})}),(0,m.jsx)(Bd,{children:null!==f&&void 0!==f&&f.some((e=>!0===e.pinned))?(0,m.jsx)(s.VU,{label:l("refinement.latest"),labelColor:"textLight",defaultOpen:!0,children:(0,m.jsx)(Rd,{children:S(f)})}):(0,m.jsx)(Rd,{children:S(f)})})]})},Id=e=>{var t,n,r,i,a;let{log:l,t:c,partner:u,status:d,handleOnPin:p,isPin:h,hasNewExpectedDeliveryDate:f,disableInteractions:g,firstLog:v}=e;return(0,m.jsx)(m.Fragment,{children:(0,m.jsxs)(Pd,{className:"mb-2 mt-2",isPin:h,children:[(0,m.jsxs)(s.so,{justify:""+(null!==l&&void 0!==l&&l.creatorType?"between":"end"),style:{marginBottom:0===(null===l||void 0===l?void 0:l.creatorType)?"-25px":""},children:[null!==l&&void 0!==l&&l.creatorType?(0,m.jsx)(Od,{children:h?(0,m.jsxs)(Td,{children:[l.creatorType===be.RefinementOrderStatusCreator.Partner?u:_d[l.creatorType](c).label," ",(null===l||void 0===l||null===(t=l.created)||void 0===t?void 0:t.str)&&l.created.str]}):(0,m.jsx)(Dd,{creatorType:l.creatorType,children:l.creatorType===be.RefinementOrderStatusCreator.Partner?u:_d[l.creatorType](c).label})}):null,!g&&(0,m.jsx)(Nd,{pinned:null===l||void 0===l?void 0:l.pinned,onClick:()=>{p(l.id,null===l||void 0===l?void 0:l.pinned)},children:(0,m.jsx)(o.g,{icon:K.RUA})})]}),d&&(0,m.jsx)(Od,{children:(0,m.jsx)(Td,{header:!0,children:`${c("general.status","Status")}: ${d}`})}),!!l.action&&(0,m.jsx)(Od,{children:l.customerStatus===be.RefinementCustomerStatus.CustomerApproval&&(0,m.jsx)(Td,{header:!0,children:`${c("general.status")}: Inv\xe4ntar kundgodk\xe4nnande`})}),(null===l||void 0===l?void 0:l.creatorType)===be.RefinementOrderStatusCreator.Customer&&(0,m.jsx)(m.Fragment,{children:(null===l||void 0===l?void 0:l.customerStatus)===be.RefinementCustomerStatus.CustomerRejected&&null===d&&(0,m.jsx)(Td,{header:!0,children:`${c("general.status")}: ${c("orderstatuses.customerRejected")}`})}),l.action===be.RefinementOrderAction.Edited&&(0,m.jsx)(Od,{children:(0,m.jsx)(Td,{header:!0,children:`${c("general.changed")}`})}),(null===(n=l.created)||void 0===n?void 0:n.str)&&!h&&(0,m.jsx)(Od,{children:(0,m.jsx)(Td,{color:"textLight",children:l.created.str})}),l.comment&&(0,m.jsx)(Od,{children:(0,m.jsx)(Td,{children:`${l.comment}`})}),(null===(r=l.expected)||void 0===r?void 0:r.str)&&(0,m.jsx)(Od,{children:f?(0,m.jsxs)(s.so,{gap:"4px",align:"center",children:[(0,m.jsx)(Md,{children:(0,m.jsx)(o.g,{icon:J.lEd})}),(0,m.jsx)(Td,{bold:!0,children:`${c("refinement.expected","Expected delivery")}: `}),(0,m.jsx)(Td,{children:`${null===(i=l.expected)||void 0===i?void 0:i.str}`})]}):(0,m.jsx)(m.Fragment,{children:(null===v||void 0===v?void 0:v.id)===(null===l||void 0===l?void 0:l.id)&&(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(Td,{bold:!0,children:`${c("refinement.expected","Expected delivery")}: `}),(0,m.jsx)(Td,{children:`${null===(a=l.expected)||void 0===a?void 0:a.str}`})]})})}),l.createdBy&&!h&&(0,m.jsx)(Od,{children:(0,m.jsxs)(s.so,{$wrap:!0,children:[(0,m.jsxs)(Td,{bold:!0,children:[c("refinement.sender"),": "]}),(0,m.jsx)(Td,{children:`${l.createdBy}`})]})})]})})},_d={[kd.System]:e=>({label:e("order.system")}),[kd.User]:e=>({label:e("contact.customerSupport")}),[kd.Partner]:e=>({label:e("order.partner_one")}),[kd.Customer]:e=>({label:e("seller.customer")}),[kd.All]:e=>({label:e("general.all")})},Pd=p.Ay.div.withConfig({componentId:"sc-b1vju4-0"})(["padding-bottom:4px;border-bottom:1px solid ",";background-color:",";padding:8px;"],(e=>{let{theme:t}=e;return t.colors.borderLight}),(e=>{let{isPin:t}=e;return t?"#FFFBE5":"transparent"})),Od=(0,p.Ay)(s.so).withConfig({componentId:"sc-b1vju4-1"})([""]),Td=(0,p.Ay)(s.EY).withConfig({componentId:"sc-b1vju4-2"})(["font-size:12px;",";"," "," white-space:normal;"],(e=>{let{warning:t,theme:n}=e;return t&&`color: ${n.colors.error}`}),(e=>{let{header:t}=e;return t?"font-weight: 500; padding-right: 4px; font-size: 14px;":""}),(e=>{let{bold:t}=e;return t?"font-weight: 500; padding-right: 4px;":""})),Dd=p.Ay.div.withConfig({componentId:"sc-b1vju4-3"})(["color:#000000;border:0.3px solid;"," "," "," "," display:inline-block;padding:2px 4px;border-radius:2px;font-size:12px;margin-right:4px;"],(e=>{let{creatorType:t}=e;return t===be.RefinementOrderStatusCreator.System?"background-color: #AADBFF4F; border-color: #9B9FC4;":""}),(e=>{let{creatorType:t}=e;return t===be.RefinementOrderStatusCreator.User?"background-color: #9B9FC44F; border-color: #9B9FC4;":""}),(e=>{let{creatorType:t}=e;return t===be.RefinementOrderStatusCreator.Partner?"background-color: #F4F4F4; border-color: #E9E9E9;":""}),(e=>{let{creatorType:t}=e;return t===be.RefinementOrderStatusCreator.Customer?"background-color: #C0F0D6; border-color: #9B9FC4;":""})),jd=(0,p.Ay)(Dd).withConfig({componentId:"sc-b1vju4-4"})(["padding:4px 8px;border-radius:500px;background-color:",";border:",";cursor:pointer;"],(e=>{let{toggle:t}=e;return t?"#EBEDFD":"#FFFFFF"}),(e=>{let{toggle:t}=e;return t?"0.3px solid #818CDB":"0.3px solid #CFCEC8;"})),Bd=p.Ay.div.withConfig({componentId:"sc-b1vju4-5"})(["margin-top:12px;"]),Nd=p.Ay.div.withConfig({componentId:"sc-b1vju4-6"})(["cursor:pointer;margin-right:4px;color:",";"],(e=>{let{pinned:t,theme:n}=e;return t?n.colors.sale:n.colors.textLight})),Md=(p.Ay.div.withConfig({componentId:"sc-b1vju4-7"})(["color:",";"],(e=>{let{theme:t}=e;return t.colors.sale})),p.Ay.div.withConfig({componentId:"sc-b1vju4-8"})(["color:",";"],(e=>{let{theme:t}=e;return t.colors.sale}))),Rd=p.Ay.div.withConfig({componentId:"sc-b1vju4-9"})(["max-height:600px;overflow-y:auto;scrollbar-width:thin;"]);const Ld=()=>{var t,n,r,a,l,c,p,h,g,v,y,A,b,w,x,C,S,k,E,I,_;const{order:P,updating:T}=(0,G.A)((e=>{let{orders:t}=e;return t.publicOrder})),D=(0,G.A)((e=>{var t;let{orders:n}=e;return null===(t=n.publicOrder.inProgressOrder)||void 0===t?void 0:t.show})),j=(0,G.A)(Hu),B=(0,G.A)(gt.j),[N,M]=(0,u.useState)(""),[R,L]=(0,u.useState)(""),[F,z]=(0,u.useState)(null===P||void 0===P||null===(t=P.refinementStatus)||void 0===t?void 0:t.internalStatus),[Q,U]=(0,u.useState)(null!==P&&void 0!==P&&null!==(n=P.refinementStatus)&&void 0!==n&&null!==(r=n.expected)&&void 0!==r&&r.utc?new Date(null===P||void 0===P||null===(a=P.refinementStatus)||void 0===a||null===(l=a.expected)||void 0===l?void 0:l.utc):null),{t:V,i18n:q}=(0,d.B)(),H=(0,Rn.wA)(),{identifier:W}=(0,O.g)(),Y=(null===P||void 0===P?void 0:P.identifierType)===be.IdentifierType.Partner,K=(null===P||void 0===P?void 0:P.identifierType)===be.IdentifierType.Seller,X=null===P||void 0===P?void 0:P.refinementStatus;let Z=null!==(c=null===X||void 0===X?void 0:X.status)&&void 0!==c?c:be.RefinementOrderStatus.Pending;(0,u.useEffect)((()=>{var e,t;const n=null===P||void 0===P||null===(e=P.refinementStatus)||void 0===e||null===(t=e.expected)||void 0===t?void 0:t.utc;n&&U(new Date(n))}),[null===P||void 0===P||null===(p=P.refinementStatus)||void 0===p?void 0:p.expected]);const $=async e=>{H(e?(0,El.H4)({identifier:null!==W&&void 0!==W?W:""}):(0,f.wp)({color:"warning",title:V("order.setPublicOrderAsCompletedTitle"),description:V("order.setPublicOrderAsCompletedDescription"),okLabel:V("order.setPublicOrderAsCompletedYesOption"),onOk:()=>$(!0),onCancel:()=>null,stretchButtons:!0}))},ee=()=>{H((0,El.sA)(null!==W&&void 0!==W?W:"")),H((0,El.YA)(!1))},te=e=>e.type===be.ShopCartRefinementType.Product||e.type===be.ShopCartRefinementType.TextProduct,ne=(null===P||void 0===P||null===(h=P.refinements)||void 0===h?void 0:h.length)&&P.refinements.every(te),re=null!==(g=(null===P||void 0===P?void 0:P.warningSkus)&&(null===P||void 0===P?void 0:P.warningSkus.length)>0)&&void 0!==g&&g,ie=El.ZM[Z](V),oe=Z===be.RefinementOrderStatus.Registred?{status:be.RefinementOrderStatus.Approved,showComment:!0,showDate:!0}:Z!==be.RefinementOrderStatus.Rejected||Y?Z===be.RefinementOrderStatus.Approved?{status:be.RefinementOrderStatus.AwaitingDelivery,showComment:!1,showDate:Y,onClick:()=>(async()=>{var e;const t=e=>{var t;return H((0,El.gt)({identifier:null!==W&&void 0!==W?W:"",status:{comment:N,expected:Q?Q.toJSON():null===X||void 0===X||null===(t=X.expected)||void 0===t?void 0:t.utc,status:oe.status,force:e}}))};var n,r;null!==P&&void 0!==P&&null!==(e=P.warningSkus)&&void 0!==e&&e.length?H((0,f.wp)({color:"warning",title:V("refinement.awaitingDeliveryAction"),okLabel:V("refinement.deliverWhenInStock","When in stock")+" ("+(null===P||void 0===P||null===(n=P.refinementStatus)||void 0===n||null===(r=n.readyForShipment)||void 0===r?void 0:r.str)+")",customButtons:[{label:V("refinement.deliverNowAndOnwards","Now and ongoing"),onClick:()=>t(!0)}],onOk:()=>t(!1),onCancel:()=>null,hideCancel:!1,hideOk:!1,stretchButtons:!1})):t(!0)})()}:Z===be.RefinementOrderStatus.AwaitingDelivery?{status:be.RefinementOrderStatus.AwaitingDelivery,showComment:!1,showDate:!0}:Z===be.RefinementOrderStatus.InProduction||Z===be.RefinementOrderStatus.InProgress?{status:be.RefinementOrderStatus.Completed,showComment:!1,showDate:!0,onClick:()=>$()}:{status:Z,showComment:!1,showDate:!0}:{status:be.RefinementOrderStatus.Registred,showComment:!1,showDate:!1},ae=El.b4[oe.status](V),se=oe.status===be.RefinementOrderStatus.Approved,le=oe.status!==(null===X||void 0===X?void 0:X.status)&&oe.status!==be.RefinementOrderStatus.Pending,ce=((null===P||void 0===P||null===(v=P.products)||void 0===v?void 0:v.length)||(null===P||void 0===P||null===(y=P.refinements)||void 0===y?void 0:y.some(te)))&&Z<=be.RefinementOrderStatus.InProgress&&(null===(A=P.deliveryAdresses)||void 0===A?void 0:A.length),ue=async t=>{if(W){var n,r,i,o;const a=await async function(t,n){if((0,ja.qe)())try{const e=await fetch("./test_orderPrices.json"),t=await e.json();if(t.orderNumber)return t}catch(r){}return(await e.Ay.orderPublicSetOrderDocuments(t,n)).data}(W,j.lang),s=null!==(n=null===a||void 0===a?void 0:a.products)&&void 0!==n?n:[],l=s.map((e=>e.productNumber)).filter((e=>!!e)),c=s.flatMap((e=>{var t,n;return null!==(t=null===(n=e.variations)||void 0===n?void 0:n.map((e=>e.variationNumber)).filter((e=>!!e)))&&void 0!==t?t:[]})),u=a?[{...a,tracking:null===(r=a.tracking)||void 0===r?void 0:r.map((e=>{var t,n;return{...e,date:null!==(t=null===(n=e.date)||void 0===n?void 0:n.str)&&void 0!==t?t:void 0}})),refinements:ec(a.refinements),marketName:a.marketId&&null!==(i=null===(o=B.find((e=>e.id===a.marketId)))||void 0===o?void 0:o.name)&&void 0!==i?i:void 0}]:[],d=q.language;j.lang&&(e.Ay.setLanguage(j.lang),q.changeLanguage(j.lang)),H(Yt.w9.exportToolOpened({origin:"order",parameters:{productNumbers:l},data:{variationNumbers:c,pdfOrders:u,refinements:u.flatMap((e=>{var t;return null!==(t=e.refinements)&&void 0!==t?t:[]})),pdfOrderType:"order-document",pdfSettings:{showSizeMatrix:!0,showSizes:!0,useApplicationPage:!0,productionNote:j.productionNote,useLandscape:!0},pdfCartVariations:u.flatMap((e=>{var t,n;return null!==(t=null===(n=e.products)||void 0===n?void 0:n.flatMap((e=>{var t;return null!==(t=e.variations)&&void 0!==t?t:[]})))&&void 0!==t?t:[]}))},selectedTab:"pdf",options:{tabs:["pdf"],render:t?"autoUpload":"autoDownload",email:j.email,identifier:W,fileName:(0,Uc.A)(`${null===a||void 0===a?void 0:a.orderNumber}`)}})),H(Yt.w9.setCloseListener((()=>{q.language!==d&&(e.Ay.setLanguage(d),q.changeLanguage(d))})))}};return(null===P||void 0===P?void 0:P.identifierType)===be.IdentifierType.Customer?(0,m.jsx)(m.Fragment,{}):(0,m.jsxs)(s.so,{column:!0,gap:"4px",children:[(0,m.jsx)(cl.V,{type:"h3",header:V("action.actions")}),(0,m.jsxs)(il,{className:"p-3",children:[T&&(0,m.jsx)(s.y$,{}),!T&&(0,m.jsxs)(m.Fragment,{children:[K&&(0,m.jsx)("small",{children:`${V("seller.loggedInAs")}: ${V("contact.customerSupport")}`}),Y&&(0,m.jsx)("small",{children:`${V("seller.loggedInAs")}: ${V("order.partner_one")} (${null===P||void 0===P||null===(b=P.refinementPartner)||void 0===b?void 0:b.name})`}),(0,m.jsx)(s.EY,{className:"mb-2",children:ie.label}),(0,m.jsx)(rl.Ay,{hideLabel:!1,type:"RefinementInternalStatus",className:"mr-1 mb-2",status:null===P||void 0===P||null===(w=P.refinementStatus)||void 0===w?void 0:w.internalStatus}),(0,m.jsxs)(s.so,{column:!0,align:"stretch",children:[(null===X||void 0===X?void 0:X.dateWarning)&&(0,m.jsx)(m.Fragment,{children:(0,m.jsxs)(Fd,{warning:!0,className:"mb-2",children:[(0,m.jsx)(o.g,{color:"red",icon:J.zpE,className:"mr-2"}),V("shipment.warningLongDelivery")," ",(0,m.jsx)(s.gK,{fontSize:"12px",color:"textFaded",onClick:()=>(async()=>{await H((0,El.dj)(null!==W&&void 0!==W?W:"")),H((0,El.sA)(null!==W&&void 0!==W?W:""))})(),children:V("action.remove")})]})}),(null===X||void 0===X||null===(x=X.readyForShipment)||void 0===x?void 0:x.str)&&!ne&&(0,m.jsxs)(m.Fragment,{children:[(0,m.jsxs)(Fd,{warning:re,className:"mb-2",children:[re&&(0,m.jsx)(o.g,{color:"red",icon:J.zpE,className:"mr-2"}),`${V("stockLevel.in")} ${null===X||void 0===X||null===(C=X.readyForShipment)||void 0===C?void 0:C.str}`]}),(0,m.jsx)(Fd,{className:"mb-2",children:`${V("general.to","To")} ${null===P||void 0===P||null===(S=P.refinementPartner)||void 0===S?void 0:S.name} ${null===X||void 0===X||null===(k=X.toProduction)||void 0===k?void 0:k.str}`})]}),(null===X||void 0===X?void 0:X.comment)&&(0,m.jsx)(Fd,{className:"mb-2",children:X.comment}),!oe.showDate&&(null===X||void 0===X||null===(E=X.expected)||void 0===E?void 0:E.str)&&(0,m.jsx)(Fd,{className:"mb-2",children:`${V("refinement.expected")} ${null===X||void 0===X||null===(I=X.expected)||void 0===I?void 0:I.str}`}),oe.showComment&&(0,m.jsx)(Qd,{label:V("general.comment"),name:"comment",value:N,onChange:e=>{var t,n;return M(null!==(t=null===e||void 0===e||null===(n=e.target)||void 0===n?void 0:n.value)&&void 0!==t?t:"")},className:"mb-2"}),le&&(0,m.jsx)(zd,{attention:!0,bgColor:"buy",color:"buyText",className:"mb-2",onClick:()=>{var e;oe.onClick?oe.onClick():H((0,El.gt)({identifier:null!==W&&void 0!==W?W:"",status:{comment:N,expected:Q?Q.toJSON():null===X||void 0===X||null===(e=X.expected)||void 0===e?void 0:e.utc,status:oe.status}})),M("")},children:ae.label}),se&&(0,m.jsxs)(m.Fragment,{children:[(0,m.jsxs)(zd,{onClick:()=>{H((0,El.gt)({identifier:null!==W&&void 0!==W?W:"",status:{comment:N,expected:Q?Q.toJSON():void 0,status:be.RefinementOrderStatus.Rejected}})),M("")},className:"mb-2",children:[V("refinement.reject")," - ",V("contact.customerSupport")]}),(0,m.jsxs)(zd,{onClick:()=>{var e,t,n;H((0,f.wp)({title:V("refinement.reject")+" - "+V("seller.customer"),content:(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)("p",{children:(0,m.jsxs)("span",{children:[(0,m.jsxs)("b",{children:[V("shipment.receiver"),":"]})," ",null!==(e=null!==(t=null===P||void 0===P?void 0:P.email)&&void 0!==t?t:null===P||void 0===P||null===(n=P.creator)||void 0===n?void 0:n.email)&&void 0!==e?e:""]})}),(0,m.jsx)("p",{children:(0,m.jsxs)("span",{children:[(0,m.jsxs)("b",{children:[V("general.comment"),":"]})," ",N]})})]}),okLabel:V("action.ok"),cancelLabel:V("action.cancel"),onOk:()=>{M(""),H((0,El.v8)({identifier:null!==W&&void 0!==W?W:"",status:{comment:N,expected:Q?Q.toJSON():void 0,status:be.RefinementOrderStatus.Rejected}}))}}))},className:"mb-2",children:[V("refinement.reject")," - ",V("seller.customer")]}),(0,m.jsx)(zd,{onClick:()=>{var e,t,n;H((0,f.wp)({title:V("refinement.sendForReviewApprove"),content:(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)("p",{children:(0,m.jsxs)("span",{children:[(0,m.jsxs)("b",{children:[V("shipment.receiver"),":"]})," ",null!==(e=null!==(t=null===P||void 0===P?void 0:P.email)&&void 0!==t?t:null===P||void 0===P||null===(n=P.creator)||void 0===n?void 0:n.email)&&void 0!==e?e:""]})}),(0,m.jsx)("p",{children:(0,m.jsxs)("span",{children:[(0,m.jsxs)("b",{children:[V("general.comment"),":"]})," ",N]})})]}),okLabel:V("action.ok"),cancelLabel:V("action.cancel"),onOk:()=>{M(""),H((0,El.VQ)({identifier:null!==W&&void 0!==W?W:"",status:{comment:N,expected:Q?Q.toJSON():void 0,status:be.RefinementOrderStatus.Registred}}))}}))},className:"mb-2",children:V("refinement.sendForReviewApprove")})]}),oe.showDate&&(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(s.dN,{children:V("refinement.expected")}),(0,m.jsx)(s.t1,{header:V("refinement.expected"),showIcon:!0,onChange:e=>{Array.isArray(e)||(null===e||void 0===e||e.setHours(12+e.getTimezoneOffset()/60),U(e),(null===oe||void 0===oe?void 0:oe.status)!==be.RefinementOrderStatus.Approved&&H((0,El.gt)({identifier:null!==W&&void 0!==W?W:"",status:{status:null===X||void 0===X?void 0:X.status,expected:null===e||void 0===e?void 0:e.toJSON()}})))},selectedDate:Q,filter:"Future",className:"mb-2"})]}),ce?(0,m.jsx)(s.K0,{icon:i.MT7,square:!0,className:"mb-2",onClick:()=>H((0,El.YA)(!0)),children:Z<be.RefinementOrderStatus.InProduction?V("order.handleAddresses"):V("order.handleAddressesAndDeliveries")}):null]}),D&&(0,m.jsx)(Ht.lG,{blur:!0,tint:!0,closeOutside:!0,maxHeight:"90%",onClose:ee,children:(0,m.jsx)(sd,{identifier:W,closeModal:ee})})]}),(0,m.jsx)(s.K0,{square:!0,icon:i.O_q,className:"mt-2 w-100",onClick:()=>{var e,t;const n=null!==(e=null===P||void 0===P?void 0:P.products)&&void 0!==e?e:[],r=n.map((e=>e.productNumber)).filter((e=>!!e)),i=n.flatMap((e=>{var t,n;return null!==(t=null===(n=e.variations)||void 0===n?void 0:n.map((e=>e.variationNumber)).filter((e=>!!e)))&&void 0!==t?t:[]})),o=P?[{...P,tracking:null===(t=P.tracking)||void 0===t?void 0:t.map((e=>{var t,n;return{...e,date:null!==(t=null===(n=e.date)||void 0===n?void 0:n.str)&&void 0!==t?t:void 0}})),refinements:ec(P.refinements)}]:[];H(Yt.w9.exportToolOpened({origin:"order",parameters:{productNumbers:r},data:{variationNumbers:i,pdfOrders:o,pdfOrderType:"delivery-note",pdfCartVariations:o.flatMap((e=>{var t,n;return null!==(t=null===(n=e.products)||void 0===n?void 0:n.flatMap((e=>{var t;return null!==(t=e.variations)&&void 0!==t?t:[]})))&&void 0!==t?t:[]}))},selectedTab:"pdf",options:{tabs:["pdf"],render:"autoDownload",fileName:(0,Uc.A)(`${V("order.deliveryNote")}-${null===P||void 0===P?void 0:P.orderNumber}`)}}))},children:V("order.downloadDeliveryNote")})]}),K&&(0,m.jsx)(il,{className:"p-3",children:(0,m.jsx)(s.VU,{label:V("order.sendOrderDocument"),children:(0,m.jsxs)("form",{className:"my-2",onSubmit:e=>{e.preventDefault(),e.stopPropagation(),ue(!0)},children:[(0,m.jsx)(s.dN,{children:V("general.email")}),(0,m.jsx)(s.pd,{value:j.email,className:"mb-2",onChange:e=>{H(Tu({email:e.target.value}))},name:"Email"}),(0,m.jsx)(s.dN,{children:V("general.comment")}),(0,m.jsx)(s.Lz,{rows:3,value:j.productionNote,className:"mb-2",onChange:e=>{H(Tu({productionNote:e.target.value}))},name:"Production note"}),"en"!==q.language&&(0,m.jsxs)(Ud,{className:"my-3",children:[(0,m.jsx)(s.sx,{className:"mr-3",bgColor:"fill",checked:"en"===j.lang,name:"partnerEmailLang",onChange:()=>H(Tu({lang:"en"})),label:"English"}),(0,m.jsx)(s.sx,{bgColor:"fill",checked:j.lang===q.language,name:"partnerEmailLang",onChange:()=>H(Tu({lang:q.language})),label:(0,ja.xK)(q.language,q.language)})]}),(0,m.jsx)(s.K0,{type:"submit",className:"w-100",square:!0,icon:i.isI,disabled:!j,children:V("pdfImages.sendEmail")}),(0,m.jsx)(s.K0,{type:"button",onClick:()=>ue(!1),className:"w-100 mt-1",square:!0,icon:i.O_q,disabled:!1,children:V("action.download")})]})})}),(0,m.jsx)(il,{className:"p-3",children:(0,m.jsxs)(s.so,{column:!0,align:"stretch",children:[(0,m.jsx)("label",{className:"f1-400 mb-0",children:V("general.status")}),(0,m.jsx)(s.l6,{className:"my-2",toggleBgColor:"fill",isSearchable:!1,isMulti:!1,defaultValue:{value:F,label:(0,m.jsx)(rl.Ay,{type:"RefinementInternalStatus",status:F})},options:Object.values(be.RefinementInternalStatus).filter((e=>!isNaN(Number(e)))).map((e=>({value:e,label:(0,m.jsx)(rl.Ay,{type:"RefinementInternalStatus",status:e})}))),onChange:e=>{e&&z(e.value)}}),(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(Qd,{className:"mb-2",label:V("refinement.message"),name:"comment",value:R,onChange:e=>{var t,n;return L(null!==(t=null===e||void 0===e||null===(n=e.target)||void 0===n?void 0:n.value)&&void 0!==t?t:"")}}),(0,m.jsx)(zd,{fullwidth:!0,className:"mb-2",onClick:()=>{H((0,El.VB)({identifier:null!==W&&void 0!==W?W:"",comment:R,external:!1,internalStatus:F})),L("")},children:`${V("action.refresh")} ${V("general.status")}`}),null!==P&&void 0!==P&&null!==(_=P.refinementStatus)&&void 0!==_&&_.customerStatus?(0,m.jsx)(zd,{fullwidth:!0,onClick:()=>{H((0,El.VB)({identifier:null!==W&&void 0!==W?W:"",comment:R,external:!0,internalStatus:F})),L("")},className:"mb-2",children:`${V("refinement.send")} ${V("general.to").toLocaleLowerCase()} ${V("seller.customer")}`}):null]}),(null===X||void 0===X?void 0:X.log)&&(0,m.jsx)(m.Fragment,{children:(0,m.jsx)(s.VU,{label:V("general.log"),icon:i.iwy,defaultOpen:X.log.some((e=>!0===e.pinned)),children:(0,m.jsx)(Ed,{log:X.log,handleOnPin:(e,t)=>{H((0,El.db)({identifier:null!==W&&void 0!==W?W:"",id:e,pinned:!t}))}})})})]})})]})},Fd=(0,p.Ay)(s.EY).withConfig({componentId:"sc-jx1rt6-0"})(["font-size:12px;",";",""],(e=>{let{warning:t,theme:n}=e;return t&&`color: ${n.colors.error}`}),(e=>{let{header:t}=e;return t?"font-weight: bold; padding-right: 4px;":""})),zd=(0,p.Ay)(s.$n).withConfig({componentId:"sc-jx1rt6-1"})([""]),Qd=(0,p.Ay)(s.Lz).withConfig({componentId:"sc-jx1rt6-2"})([""]),Ud=(0,p.Ay)(s.so).withConfig({componentId:"sc-jx1rt6-3"})(["label{font-size:12px;text-transform:capitalize;}"]),Vd=u.forwardRef(((e,t)=>{let{order:n,orderStatus:r,publicOrder:i}=e;const o=(0,c.GV)($e._M);return(0,m.jsxs)(Gd,{column:!0,gap:"1rem",ref:t,children:[i&&(0,m.jsx)(Ld,{}),(0,m.jsx)(Yc,{order:n,orderStatus:r}),(0,m.jsx)(ru,{order:n,orderStatus:r}),!o&&(0,m.jsx)(Zc,{order:n})]})})),Gd=(0,p.Ay)(s.so).withConfig({componentId:"sc-p4qfhp-0"})(["flex-shrink:1;"]),qd=e=>{var t,n;let{sku:r,quantity:a,warningSkus:s}=e;if(!r)return null;const l=s&&(null===s||void 0===s?void 0:s.find((e=>e.sku===r&&e.quantity===a)));return l?(0,m.jsx)(o.g,{title:null!==(t=null===(n=l.date)||void 0===n?void 0:n.str)&&void 0!==t?t:"",color:"red",icon:i.zpE,className:"mr-2"}):null},Hd=e=>{let{order:t}=e;const{t:n}=(0,d.B)(),r=(0,c.cb)(),a=(0,c.GV)($e._M),[l,p]=(0,u.useMemo)((()=>{var e,n;return[!a&&(null===t||void 0===t||null===(e=t.additionalCosts)||void 0===e?void 0:e.some((e=>e.price))),null===t||void 0===t||null===(n=t.additionalCosts)||void 0===n?void 0:n.some((e=>e.deliveryDate))]}),[t,a]),h=(0,u.useMemo)((()=>[(0,m.jsx)(cl.V,{type:"h3",header:n("shipment.deliveryOptional_other")}),p?n("shipment.date","Dispatch date"):void 0,n("cart.quantity","Quantity"),l?n("price.price","Price"):void 0,l?n("price.total_exVat"):void 0].filter(gi.A)),[n,l,p]),f=(0,u.useMemo)((()=>{var e,n,r;const a=null!==(e=t&&void 0!==t.identifierType)&&void 0!==e&&e;return null!==(n=null===t||void 0===t||null===(r=t.additionalCosts)||void 0===r?void 0:r.map((e=>{var n;return{cells:[{hideCompactHeader:!0,el:(0,m.jsxs)(s.so,{align:"center",children:[(0,m.jsx)(Wd,{align:"center",justify:"center",children:(0,m.jsx)(o.g,{icon:i.wq_,size:"lg"})}),(0,m.jsxs)(s.so,{align:"start",children:[(0,m.jsxs)("div",{children:[(0,m.jsx)(s.EY,{bold:!0,fontSize:15,lineheight:15,className:e.sku?"pr-1":void 0,children:e.description}),(0,m.jsx)(s.EY,{fontSize:13,lineheight:13,children:e.sku})]}),a?(0,m.jsx)(qd,{sku:e.sku,quantity:e.quantity,warningSkus:t.warningSkus}):null]})]})},{el:null===(n=e.deliveryDate)||void 0===n?void 0:n.str,hide:!p},{el:e.quantity},{el:e.price,hide:!l},{el:(0,m.jsx)("span",{className:"mr-1",children:e.totalExVat}),align:"right",hide:!l}]}})))&&void 0!==n?n:[]}),[t,l,p]);return f.length?(0,m.jsxs)("div",{children:[r.lgBelow&&(0,m.jsx)(cl.V,{className:"mb-1",type:"h3",header:n("shipment.deliveryOptional_other")}),(0,m.jsx)(s.XI,{colLayout:`auto repeat(${h.length-1}, minmax(80px, max-content))`,compact:r.lgBelow,bgColor:"white",cols:h.length,headers:h,rows:f})]}):null},Wd=(0,p.Ay)(s.so).withConfig({componentId:"sc-1pxrl3s-0"})(["width:50px;height:50px;"]);var Yd=n(97383);const Kd=e=>{let{productHeader:t,variation:n,className:r,children:a,refinements:l,expanded:c,expandedLabel:u,onExpand:d,onComment:p,sku:h,refinementImage:f}=e;const g=h||n.variationNumber;return(0,m.jsxs)(s.so,{className:r,children:[(0,m.jsx)(Zd,{src:null!==f&&void 0!==f?f:(0,X.Ay)(n.image,X.yj.ThumbNail,be.ImageExtension.Jpg),alt:"Product"}),(0,m.jsxs)(Jd,{column:!0,className:"pl-2",children:[(0,m.jsxs)(s.so,{align:"center",children:[t&&(0,m.jsx)(s.EY,{bold:!0,fontSize:15,lineheight:15,children:t}),p&&(0,m.jsx)($d,{fontSize:"11px",className:"ml-1 pointer",icon:K.G7W,onClick:p})]}),(0,m.jsx)(s.so,{align:"center",children:(0,m.jsx)(s.EY,{fontSize:13,lineheight:13,children:[n.color,g].filter(gi.A).join(" / ")})}),n.variationNumber&&l&&(0,m.jsx)(Yd.A,{variationNumber:n.variationNumber,refinements:l.cartRowRefinements,origin:l.origin,sku:h,publicOrderId:l.publicOrderId,fontSize:13,editable:l.editable,className:"mt-1"}),d?(0,m.jsxs)(m.Fragment,{children:[a,(0,m.jsx)(Xd,{onClick:()=>{var e;return d(null!==(e=n.variationNumber)&&void 0!==e?e:"")},children:(0,m.jsxs)(s.so,{align:"center",children:[(0,m.jsx)(o.g,{icon:c?i.GF6:i.tdl,className:"mr-1"}),(0,m.jsx)("span",{className:"ml-1",children:u})]})})]}):a]})]})},Jd=(0,p.Ay)(s.so).withConfig({componentId:"sc-5ddm3e-0"})(["justify-content:center;> *:not(:last-child){margin-bottom:3px;}"]),Xd=p.Ay.div.withConfig({componentId:"sc-5ddm3e-1"})(["cursor:pointer;font-size:14px;"]),Zd=p.Ay.img.withConfig({componentId:"sc-5ddm3e-2"})(["object-fit:contain;width:50px;height:50px;"]),$d=(0,p.Ay)(o.g).withConfig({componentId:"sc-5ddm3e-3"})(["padding:2px 4px;"]),ep=e=>{let{order:t,identifier:n}=e;const r=(0,c.GV)($e._M),{t:i}=(0,d.B)(),o=(0,c.cb)(),[a,l]=(0,u.useMemo)((()=>{var e,n;return[!r&&(null===t||void 0===t||null===(e=t.products)||void 0===e?void 0:e.some((e=>{var t;return null===(t=e.variations)||void 0===t?void 0:t.some((e=>{var t;return null===(t=e.orderLines)||void 0===t?void 0:t.some((e=>e.price))}))}))),null===t||void 0===t||null===(n=t.products)||void 0===n?void 0:n.some((e=>{var t;return null===(t=e.variations)||void 0===t?void 0:t.some((e=>{var t;return null===(t=e.orderLines)||void 0===t?void 0:t.some((e=>e.deliveryDate))}))}))]}),[t,r]),p=(0,u.useMemo)((()=>{var e,r,i;const o=null!==(e=t&&void 0!==t.identifierType)&&void 0!==e&&e,c=o&&(null===t||void 0===t?void 0:t.identifierType)===be.IdentifierType.Seller;return null!==(r=null===t||void 0===t||null===(i=t.products)||void 0===i?void 0:i.flatMap((e=>{var r;return e.variations?null===(r=e.variations)||void 0===r?void 0:r.flatMap(((r,i)=>r.orderLines?r.orderLines.flatMap(((i,u)=>{var d,p,h,f;const g=t.refinements&&r.addons&&r.variationNumber?(0,yt.$L)(t.refinements.map(((e,t)=>({...e,index:t}))),r.addons,r.variationNumber):void 0,v=null!==(d=null===g||void 0===g?void 0:g.cartRowRefinements)&&void 0!==d?d:[];return[{cells:[{hideCompactHeader:!0,el:(0,m.jsxs)(s.so,{align:"start",gap:"0.5rem",children:[(0,m.jsx)(Kd,{refinementImage:null===g||void 0===g?void 0:g.image,productHeader:null!==(p=e.productName)&&void 0!==p?p:"",variation:r,refinements:{cartRowRefinements:v,editable:c,origin:"PublicOrder",publicOrderId:n},sku:i.sku}),o?(0,m.jsx)(qd,{sku:i.sku,quantity:i.quantity,warningSkus:t.warningSkus}):null]})},{el:(0,m.jsx)(Dl,{pending:!1,status:i.status,type:null!==(h=t.type)&&void 0!==h?h:be.WebErpOrderType.Order})},{el:null===(f=i.deliveryDate)||void 0===f?void 0:f.str,hide:!l},{el:i.quantity},{el:i.price,hide:!a},{align:"right",hide:!a,el:(0,m.jsx)("span",{className:"mr-1",children:i.totalExVat})}]}]})):[])):[]})))&&void 0!==r?r:[]}),[t,n,a,l]),h=(0,u.useMemo)((()=>[(0,m.jsx)(cl.V,{type:"h3",header:i("product.products","Products")}),i("general.status","Status"),l?i("shipment.date","Dispatch date"):void 0,i("cart.quantity","Quantity"),a?i("price.price","Price"):void 0,a?i("price.total_exVat"):void 0].filter(gi.A)),[i,a,l]);return p.length?(0,m.jsxs)("div",{children:[o.lgBelow&&(0,m.jsx)(cl.V,{className:"mb-1",type:"h3",header:i("product.products","Products")}),(0,m.jsx)(s.XI,{colLayout:`auto repeat(${h.length-1}, minmax(80px, max-content))`,compact:o.lgBelow,bgColor:"white",cols:h.length,headers:h,rows:p})]}):null};var tp=n(32452),np=n(7436);const rp=e=>{let{refinements:t,header:n,identifier:r,identifierType:i,type:o,warningSkus:a}=e;const l=(0,c.GV)($e._M),p=void 0!==i,h=p&&i===be.IdentifierType.Seller,f=(0,c.jL)(),g=(0,c.cb)(),{t:v}=(0,d.B)(),[y,A]=(0,u.useMemo)((()=>[!l&&(null===t||void 0===t?void 0:t.some((e=>{var t;return null===(t=e.orderLines)||void 0===t?void 0:t.some((e=>e.price))}))),null===t||void 0===t?void 0:t.some((e=>{var t;return null===(t=e.orderLines)||void 0===t?void 0:t.some((e=>e.deliveryDate))}))]),[t,l]),b=(0,u.useMemo)((()=>[(0,m.jsx)(cl.V,{type:"h3",header:null!==n&&void 0!==n?n:v("refinement.refinement_other")}),A?v("shipment.date","Dispatch date"):void 0,v("cart.quantity","Quantity"),y?v("price.price","Price"):void 0,y?v("price.total_exVat"):void 0].filter(gi.A)),[v,y,A,n]),w=(0,u.useMemo)((()=>{var e;return null!==(e=null===t||void 0===t?void 0:t.flatMap((e=>{var t,n,i,l,c,u,d,g;const v=e.type===be.ShopCartRefinementType.Mounting,w=e.type===be.ShopCartRefinementType.Product||v,x=null===(t=e.files)||void 0===t?void 0:t.find((t=>{var n,r;return t.fileName===(null===(n=e.positions)||void 0===n||null===(r=n[0])||void 0===r?void 0:r.sample)})),C=null===x||void 0===x?void 0:x.darkBg,S=e.index,k=w&&e.stockOperation?{hideCompactPadding:!0,cells:[{padding:"0",span:b.length,hideCompactHeader:!0,el:(0,m.jsx)(np.A,{stockOperation:e.stockOperation,mounting:v,stockOperationSummary:{articleId:e.articleId,after:null!==(n=e.stock)&&void 0!==n?n:void 0}})}]}:void 0,E={removeGap:!0,cells:[{span:b.length,hideCompactHeader:!0,el:(0,m.jsx)(tp.Ay,{name:`${S+1}. ${(0,tp.vV)(e)}`,info:null!==(i=e.inputs)&&void 0!==i&&i.length?e.inputs.filter((e=>{let{type:t}=e;return function(e){if(void 0===e)return!1;switch(e){case be.ShopCartRefinementInputType.FixedImage:case be.ShopCartRefinementInputType.Size:return!1;default:return!0}}(t)})).map((e=>(0,yt._7)(e))):[],colors:e.colors,productNumber:null!==(l=null===(c=e.articleId)||void 0===c?void 0:c.toString())&&void 0!==l?l:"",img:null!==(u=null===x||void 0===x?void 0:x.url)&&void 0!==u?u:void 0,files:(0,tp.J8)(e),addonIndex:S,editingComment:!1,showDetailedColors:!0,onEditRefinements:h?()=>{return e=S,void f((0,ke.Gf)({type:o,origin:"PublicOrder",publicOrderId:r,edit:{refinementIndex:e}}));var e}:void 0,onRemoveRefinements:h?()=>(e=>{f((0,El.Dz)({identifier:null!==r&&void 0!==r?r:"",index:e}))})(S):void 0,options:{largeName:!0,image:{darkBackground:C},hide:{comment:!0}}})}]},I=null!==(d=null===(g=e.orderLines)||void 0===g?void 0:g.map((e=>{var t;return{removeGap:!0,cells:[{hideCompactHeader:!0,el:(0,m.jsxs)(s.so,{align:"start",children:[(0,m.jsxs)("div",{children:[(0,m.jsx)(s.EY,{bold:!0,fontSize:15,lineheight:18,className:e.sku?"pr-1":void 0,children:e.description}),e.sku&&(0,m.jsx)(s.EY,{fontSize:12,light:!0,children:e.sku})]}),p?(0,m.jsx)(qd,{sku:e.sku,quantity:e.quantity,warningSkus:a}):null]})},{el:null===(t=e.deliveryDate)||void 0===t?void 0:t.str,hide:!A},{el:e.quantity},{el:e.price,hide:!y},{el:(0,m.jsx)("span",{className:"mr-1",children:e.totalExVat}),hide:!y,align:"right"}]}})))&&void 0!==d?d:[];let _=[E];return k&&_.unshift(k),null!==I&&void 0!==I&&I.length&&(_=_.concat(I)),_})))&&void 0!==e?e:[]}),[h,y,A,b.length,p,t,a,f,r,o]);return w.length?(0,m.jsxs)("div",{children:[g.lgBelow&&(0,m.jsx)(cl.V,{className:"mb-1",type:"h3",header:null!==n&&void 0!==n?n:v("refinement.refinement_other")}),(0,m.jsx)(s.XI,{colLayout:`auto repeat(${b.length-1}, minmax(80px, max-content))`,compact:g.lgBelow,bgColor:"white",cols:b.length,headers:b,rows:w})]}):null};const ip=e=>e.type===be.ShopCartRefinementType.Product||e.type===be.ShopCartRefinementType.TextProduct,op=e=>{var t,n,r,i,o,a;let{order:l,orderStatus:c,...u}=e;const{identifier:p}=(0,O.g)(),{t:h}=(0,d.B)(),f=null!==(t=l&&void 0!==l.identifierType)&&void 0!==t&&t,g="PendingOrder"===c,v=null!==(n=ec(null===l||void 0===l?void 0:l.refinements))&&void 0!==n?n:[],y=v.filter((e=>!ip(e))),A=v.filter((e=>ip(e))).map((e=>{const t=e.articleId,n=e.productName;return{...e,productName:n,articleId:t,type:be.ShopCartRefinementType.Product}}));if(g)return(0,m.jsx)(Y.A,{height:"80px"});const b=null===(r=null!==(i=null===l||void 0===l?void 0:l.missingSkus)&&void 0!==i?i:[])||void 0===r?void 0:r.map((e=>({thin:!0,cells:[{el:e.sku},{el:e.quantity,align:"right"}]}))),w=null===(o=null!==(a=null===l||void 0===l?void 0:l.unwantedSkus)&&void 0!==a?a:[])||void 0===o?void 0:o.map((e=>({thin:!0,cells:[{el:e.sku},{el:e.quantity,align:"right"}]})));return(0,m.jsxs)(s.so,{column:!0,gap:"2rem",...u,children:[(b.length>0||w.length>0)&&(null===l||void 0===l?void 0:l.identifierType)===be.IdentifierType.Seller&&(0,m.jsxs)("div",{children:[(0,m.jsx)(cl.V,{type:"h3",header:h("product.orderDifference","Order difference")}),(0,m.jsxs)(ap,{className:"p-3 mb-4",children:[f&&b.length>0&&(0,m.jsx)(sp,{headers:[`${h("product.missingSkus","Missing articles")}`,h("cart.quantity","Quantity")],cols:2,rows:b}),f&&w.length>0&&(0,m.jsx)(sp,{className:b.length>0?"mt-3":void 0,headers:[`${h("product.unwantedSkus","Unknown articles")}:`,h("cart.quantity","Quantity")],cols:2,rows:w})]})]}),(0,m.jsx)(ep,{order:l,identifier:p}),(0,m.jsx)(rp,{refinements:A,header:h("product.article_other","Articles"),type:"article",identifierType:null===l||void 0===l?void 0:l.identifierType,identifier:p}),(0,m.jsx)(rp,{refinements:y,type:"refinement",identifierType:null===l||void 0===l?void 0:l.identifierType,identifier:p}),(0,m.jsx)(Hd,{order:l})]})},ap=(0,p.Ay)(il).withConfig({componentId:"sc-qf35y-0"})(["display:flex;flex-direction:column;align-items:flex-end;margin-bottom:1px;> div{width:100%;}"]),sp=(0,p.Ay)(s.XI).withConfig({componentId:"sc-qf35y-1"})(["width:100%;> *:nth-child(2){text-align:right;}"]);var lp=n(75081),cp=n(83907);const up=e=>{var t,n,r,i,o,a,l;let{order:u}=e;const{t:p}=(0,d.B)(),h=(0,c.jL)();return(0,m.jsx)(m.Fragment,{children:(0,m.jsxs)("div",{className:"mb-3 mb-lg-0",children:[(null===u||void 0===u?void 0:u.customerNumber)&&(0,m.jsx)(m.Fragment,{children:(0,m.jsxs)(dp,{children:[p("user.customerNumber","Customer no")," ",null===u||void 0===u?void 0:u.customerNumber,(null===u||void 0===u?void 0:u.customerName)&&`, ${u.customerName}`,(null!==(t=null===u||void 0===u||null===(n=u.creator)||void 0===n?void 0:n.email)&&void 0!==t?t:void 0)!==(null!==(r=u.email)&&void 0!==r?r:void 0)&&(0,m.jsxs)(m.Fragment,{children:[", ",u.email]})]})}),(null===u||void 0===u||null===(i=u.creator)||void 0===i?void 0:i.email)&&(0,m.jsxs)(dp,{children:[p("order.placedBy","Placed by")," ",null===u||void 0===u||null===(o=u.creator)||void 0===o?void 0:o.email,(null===u||void 0===u||null===(a=u.creator)||void 0===a?void 0:a.email)!==u.email]}),(null===u||void 0===u||null===(l=u.creator)||void 0===l?void 0:l.source)&&(0,m.jsxs)(dp,{children:[pp(u.creator.source.type)," ",(0,m.jsx)(s.gK,{fontSize:"15px",onClick:e=>{var t,n,r,i,o,a,s;(null===(t=u.creator)||void 0===t||null===(n=t.source)||void 0===n?void 0:n.type)===be.WebErpOrderSourceType.MasterOrder?(h((0,qs.On)("Microshops")),h((0,cp.PE)([null!==(r=null===(i=u.creator)||void 0===i||null===(o=i.source)||void 0===o?void 0:o.id)&&void 0!==r?r:0,!0])),h((0,cp.dg)("OrderDetails"))):(h((0,qs.On)("Offers")),h((0,lp.HV)(null===(a=u.creator)||void 0===a||null===(s=a.source)||void 0===s?void 0:s.id)))},children:u.creator.source.name})," - ",u.creator.source.customerReference," ",u.creator.source.customerName]})]})})},dp=p.Ay.div.withConfig({componentId:"sc-1r4r51t-0"})([""]);function pp(e){switch(e){case be.WebErpOrderSourceType.Offer:return Il.A.t("offer.offer_one");case be.WebErpOrderSourceType.MasterOrder:return Il.A.t("microshop.microshop");default:return""}}const hp=t=>{let{renderWidth:n,order:r,orderStatus:o,publicOrder:a,identifier:l}=t;const{t:p}=(0,d.B)(),h="PendingOrder"===o,g=(0,c.cb)(),[v,y]=(0,u.useState)(!1),A=(0,c.jL)(),b=(0,c.GV)(gt.V4),w=(0,c.GV)(yt.eT),x=(0,c.GV)((0,yt.oM)("shoppingCart")),C=(0,O.Zp)(),S=()=>{A((0,f.wp)({title:p("error.error","Error!"),description:p("error.general","Something went wrong, please try again or contact support."),hideCancel:!0}))},k=()=>{if(!r)return;const t=`order-${null===r||void 0===r?void 0:r.orderNumber}.xlsx`;y(!0),e.Ay.orderGetOrderXlsx(r.orderNumber).then((e=>{200===e.status?(0,ja.PE)(new Blob([e.data]),t):S()})).catch((e=>{S()})).finally((()=>{y(!1)}))},E=async()=>{var e,t,n;if(!r||x)return;const i=null!==(e=r.clientOrderId)&&void 0!==e?e:void 0,o=null!==(t=r.orderNumber)&&void 0!==t?t:void 0,a=null===(n=r.products)||void 0===n?void 0:n.flatMap((e=>e.variations.flatMap((e=>e.orderLines.flatMap((e=>({sku:e.sku,quantity:e.quantity})))))));await A((0,yt.dF)("shoppingCart")({clientOrderId:i,orderNumber:o,skus:a})),A((0,qs.Yp)(!0)),A((0,qs.On)()),b&&C(b)},I=[];return!(0,O.zy)().pathname.includes($l.publicRoute)&&(null===r||void 0===r?void 0:r.type)!==be.WebErpOrderType.Credit&&b&&I.push({label:(null===r||void 0===r?void 0:r.type)===be.WebErpOrderType.RefinmentOrder?p("order.createRepeatOrder","Create repeat order"):p("order.createOrder","Create order"),onClick:E,icon:i.Tu5,disabled:!w,pending:x}),I.push({label:p("pdf.download"),icon:i.o1d,onClick:async()=>{var e,t,n;A(Yt.w9.exportToolOpened({origin:"order",parameters:{productNumbers:null===r||void 0===r||null===(e=r.products)||void 0===e?void 0:e.map((e=>e.productNumber)).filter(gi.A)},data:{refinements:null===r||void 0===r?void 0:r.refinements,variationNumbers:(0,yt.Uz)(null===r||void 0===r?void 0:r.products),pdfCartVariations:null===r||void 0===r||null===(t=r.products)||void 0===t?void 0:t.flatMap((e=>{var t;return null!==(t=e.variations)&&void 0!==t?t:[]})),pdfOrders:[{...r,tracking:null===r||void 0===r||null===(n=r.tracking)||void 0===n?void 0:n.map((e=>{var t,n;return{...e,date:null!==(t=null===(n=e.date)||void 0===n?void 0:n.str)&&void 0!==t?t:void 0}})),refinements:ec(null===r||void 0===r?void 0:r.refinements)}],pdfOrderType:"order",pdfSettings:{useApplicationPage:!0}},selectedTab:"pdf",options:{fileName:`order-${null===r||void 0===r?void 0:r.orderNumber}`,tabs:["pdf"],render:"autoDownload",identifier:l}}))}}),a||I.push({label:p("order.downloadExcel","Download Excel"),onClick:k,icon:i.cbP,disabled:v,pending:v}),(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(up,{order:r}),(0,m.jsx)(Oc,{id:"order_details",className:"pt-5",sections:[{id:"status",header:p("general.status","Status"),hideExpandedHeader:g.md,alwaysOpen:!0,content:(0,m.jsxs)(m.Fragment,{children:["Error"===o&&(0,m.jsx)(s.EY,{color:"error",children:p("error.general","Something went wrong, please try again or contact support.")}),(0,m.jsx)(Dl,{pending:h,status:null===r||void 0===r?void 0:r.status,large:g.md,className:"mb-4 mt-1 mt-lg-5",type:a?be.WebErpOrderType.RefinmentOrder:null===r||void 0===r?void 0:r.type})]}),actions:I},{id:"order",header:p("order.order_one"),hideExpandedHeader:!0,content:(0,m.jsxs)(s.$K,{onlyChild:!0,gap:"1rem",children:[(0,m.jsx)(op,{className:"mb-4",order:r,orderStatus:o}),(0,m.jsx)(Vd,{renderWidth:n,order:r,publicOrder:a,orderStatus:o})]})}]})]})},fp=e=>{let{renderWidth:t}=e;const n=(0,c.GV)(gn.gQ),r=(0,c.jL)();return(0,u.useEffect)((()=>{"NoOrder"===n.order.status&&n.order.orderNumber&&(r((0,gn.r$)(n.order.orderNumber)),r((0,qs.tc)(!0)))}),[n.order.status,n.order.orderNumber,r]),"PendingOrder"===n.order.status?(0,m.jsx)(s.y$,{}):(0,m.jsx)(hp,{order:n.order.order,orderStatus:n.order.status,renderWidth:t})};var mp=n(10599);const gp=e=>{let{width:t,heading:n,description:r,className:o}=e;return(0,m.jsxs)(vp,{className:`${null!==o&&void 0!==o?o:"m-auto pt-4 "}`,column:!0,align:"center",width:t,children:[(0,m.jsx)(mp.A,{iconColor:"textDisabled",icon:i.x4K}),(0,m.jsx)("h3",{className:"f3-400",children:n}),(0,m.jsx)(s.EY,{className:"f3-300",center:!0,children:r})]})},vp=(0,p.Ay)(s.so).withConfig({componentId:"sc-nswhfj-0"})(["width:",";"],(e=>{let{width:t}=e;return t||""}));var yp=n(955);const Ap=e=>{let{articleId:t}=e;const n=(0,c.GV)(gn.bl),r=(0,c.Wr)((()=>i((0,gn.zq)())),!0,"exclude-click-listener"),i=(0,c.jL)();return(null===n||void 0===n?void 0:n.id)!==t?null:(0,m.jsx)(bp,{column:!0,ref:r,className:"exclude-click-listener",children:(0,m.jsx)(ul,{article:n,hideSubmitForApproval:!0})})},bp=(0,p.Ay)(s.so).withConfig({componentId:"sc-nxwiud-0"})(["position:absolute;bottom:1px;left:1px;background-color:",";"," padding:10px;width:calc(100% - 2px);z-index:2;"],(e=>{let{theme:t}=e;return t.colors.fill}),(e=>{let{theme:t}=e;return t.shadows.high})),wp=e=>{var t,n;let{article:r,onClick:i,showPriceContainer:a=!0,showStatusContainer:l=!0,showTagsContainer:d=!0}=e;const p=(0,c.GV)(gn.bl),h=(0,Rn.wA)(),f=(0,c.GV)(gn.PO),g=null!==(t=r.labels)&&void 0!==t?t:[],v=!(null===(n=(0,c.Ty)("shoppingCart"))||void 0===n?void 0:n.isCartAvailable)||r.status!==be.ArticleStatus.Approved&&r.status!==be.ArticleStatus.Draft,y=(0,u.useCallback)((()=>{const{status:e,color:t,created:n,height:i,width:a,specialProductNumber:c}=r,u=f.data.find((e=>e.productNumber===c));return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsxs)(s.so,{justify:"between",children:[n&&(0,m.jsxs)(s.EY,{light:!0,fontSize:12,children:[r.id," / ",null===u||void 0===u?void 0:u.productName]}),n&&(0,m.jsx)(s.EY,{fontSize:12,children:n.str})]}),i&&a&&(0,m.jsxs)(s.EY,{light:!0,fontSize:12,className:"my-2",children:[a,"x",i,"cm -- ",null===t||void 0===t?void 0:t.map((e=>e.name)).join(", ")]}),l&&(0,m.jsxs)(s.so,{justify:"between",children:[(0,m.jsx)("div",{children:"number"===typeof e&&(0,m.jsx)(rl.Ay,{className:"my-1",status:e})}),(0,m.jsxs)(s.so,{align:"center",children:[(0,m.jsx)(Cp,{children:(0,m.jsx)(o.g,{size:"sm",className:"mr-1",icon:K.T8I})}),r.stockQuantity+(0,pc.t)("stock.pcs")]})]})]})}),[r,f.data,l]);return(0,m.jsxs)(xp,{children:[(0,m.jsx)(yp.Z,{isSelected:(null===p||void 0===p?void 0:p.id)===r.id,product:r,imgBg:r.darkBg,onBuy:()=>h((0,gn.zo)(r.id)),rows:y(),disableBuyButton:v,priceText:v?"":(0,pc.t)("cart.add_one"),showPriceContainer:a,tags:d?g.map((e=>({name:e,position:be.TagPosition.Badge,type:be.TagType.Label,value:e}))):[],onClick:e=>{e.preventDefault(),i()},useQuickView:!0},r.id),r.id&&(0,m.jsx)(Ap,{articleId:r.id})]},r.id)},xp=p.Ay.div.withConfig({componentId:"sc-ixj1gq-0"})(["position:relative;"]),Cp=p.Ay.div.withConfig({componentId:"sc-ixj1gq-1"})(["font-size:14px;color:",";"],(e=>{let{theme:t}=e;return t.colors.textLight})),Sp=p.Ay.div.withConfig({componentId:"sc-1gnorj1-0"})(["display:grid;margin-bottom:2rem;grid-template-columns:repeat(auto-fill,minmax(245px,1fr));"]),kp=e=>{let{pending:t}=e;const n=(0,c.jL)(),r=(0,c.GV)(gn.HQ),i=(0,c.GV)(gn.FB),o=(0,c.GV)(gn.S8),{t:a}=(0,d.B)();return t?(0,m.jsx)("div",{className:"flex-grow-1",children:(0,m.jsx)(Y.A,{count:2,height:420})}):(0,m.jsxs)(s.so,{className:"flex-grow-1",column:!0,justify:"between",children:[(0,m.jsxs)(s.so,{justify:"between",align:"center",children:[(0,m.jsx)(Ir,{}),i.length>0&&(0,m.jsx)(s.K0,{icon:K.O_q,large:!0,square:!0,fontSize:"14px",color:"text",bgColor:"fillWhite",disableFont:!0,className:"f1-400",onClick:()=>{var e,t;n(Yt.w9.exportToolOpened({origin:"refinements",parameters:{},data:{refinements:i},selectedTab:"pdf",options:{tabs:["pdf"],render:"autoDownload",fileName:`${a("proof.proof_other")}-${null===i||void 0===i||null===(e=i[0])||void 0===e?void 0:e.articleId}-${null===i||void 0===i||null===(t=i[(null===i||void 0===i?void 0:i.length)-1])||void 0===t?void 0:t.articleId}`,skipProductSearch:!0}}))},children:a("product.pdfDownload","Download as PDF")})]}),(0,m.jsx)(Sp,{className:"flex-grow-1 position-relative",itemScope:!0,itemType:"https://schema.org/ItemList",itemProp:"itemListElement",children:null===r||void 0===r?void 0:r.map(((e,t)=>(0,m.jsx)(wp,{article:e,onClick:()=>e.id?n((0,gn.xA)(e.id)):null},`${e.id}_${t}`)))}),(0,m.jsx)(Gr.A,{page:o.page,pages:o.pages,pageSize:o.pageSize,itemCount:r.length,itemsTotal:o.total,label:a("product.article_other","Articles"),setPage:e=>n((0,gn.aL)(e))}),!r.length&&(0,m.jsx)(gp,{heading:a("article.noHitsHeader","No hits"),description:a("article.noHitsContent","No articles could be found with current search criteria")})]})};var Ep=n(93522);const Ip=()=>{var e;const t=(0,c.jL)(),n=(0,c.GV)((e=>{var t;let{siteDefinition:n}=e;return null===(t=n.cartPage)||void 0===t?void 0:t.url})),r=null===(e=(0,c.Ty)("shoppingCart").cmsOptions)||void 0===e?void 0:e.articlesCartText,{t:i}=(0,d.B)(),o=(0,c.GV)((0,yt.qs)("shoppingCart")),a=(0,c.GV)(yt.lR),l=(0,c.GV)(yt.y5);return a?(0,m.jsxs)(s.so,{column:!0,children:[(0,m.jsx)(cl.V,{header:i("cart.specification","Price specification")}),l.map(((e,n)=>(0,m.jsx)(Ep.A,{product:e,refinements:o,forceSize:"min",onLink:()=>t((0,qs.On)())},`${e.productNumber}_${n}`))),n&&(0,m.jsx)(_p,{to:n,pill:!0,bgColor:"buy",color:"accentText",className:"f3-400 d-block",onClick:()=>t((0,qs.On)()),children:i("cart.toCart","Shopping cart")}),(null===r||void 0===r?void 0:r.value)&&(0,m.jsx)(Pp,{className:"p-3",children:(0,m.jsx)(R.A,{name:"PriceSpecificationText",model:r})})]}):null},_p=(0,p.Ay)(s.z9).withConfig({componentId:"sc-1nx3t6w-0"})([""]),Pp=p.Ay.div.withConfig({componentId:"sc-1nx3t6w-1"})(["background-color:",";color:",";"],(e=>{let{theme:t}=e;return t.colors.fillSecondary}),(e=>{let{theme:t}=e;return t.colors.fillSecondaryText})),Op=(0,p.Ay)(s.so).withConfig({componentId:"sc-1rm8dx1-0"})(["","{flex-direction:column;& > *{width:100%;}}"],(e=>{let{theme:t}=e;return t.media.lgBelow})),Tp=(0,p.Ay)(s.so).withConfig({componentId:"sc-1rm8dx1-1"})(["max-width:250px;margin-right:10px;"]),Dp=()=>{var e,t,n;const r=(0,c.jL)(),{t:i}=(0,d.B)(),o=(0,c.GV)(gn.Di),a=(0,c.GV)(gn.S8),l=(0,c.GV)(gn.gQ),p=(0,c.GV)(gn.Vn),h=l.article,f=null===l||void 0===l?void 0:l.order,g=(0,c.GV)(Kt.mB),v=(0,c.d7)((e=>{e&&(r((0,gn.y3)(e)),r((0,gn.aL)()))}),500);(0,u.useEffect)((()=>{r((0,gn._V)())}),[r]),(0,u.useEffect)((()=>{var e;null!==g&&void 0!==g&&null!==(e=g.customer)&&void 0!==e&&e.code&&(r((0,gn.aL)()),r((0,gn.gA)()))}),[r,null===g||void 0===g||null===(e=g.customer)||void 0===e?void 0:e.code]);const y=(0,u.useCallback)((()=>{r((0,gn.to)())}),[r]),A=(0,u.useCallback)((()=>{r((0,gn.zC)())}),[r]),b={title:i("product.article_other","Articles"),description:i("article.description","Here you can access your items that you have bought in the transfer shop"),content:(0,m.jsxs)(s.$K,{onlyChild:!0,gap:"1rem",children:[(0,m.jsxs)(Op,{align:"start",className:"",children:[p&&(0,m.jsxs)(Tp,{column:!0,children:[(0,m.jsx)(Er,{pending:!1,inputs:{search:null===a||void 0===a?void 0:a.search,from:null===a||void 0===a?void 0:a.from,to:null===a||void 0===a?void 0:a.to},onInputChange:v}),(0,m.jsx)(br,{pending:o,onToggle:(e,t)=>{r((0,gn.VH)({filterItem:e,filterType:t})),r((0,gn.aL)())}})]}),(0,m.jsx)(kp,{pending:o})]}),(0,m.jsx)(Ip,{})]})},w={title:null!==(t=null===h||void 0===h?void 0:h.productName)&&void 0!==t?t:i("product.article_one","Article"),onBack:y,content:e=>(0,m.jsx)(ql,{renderWidth:e})},x={title:null!==(n=f.orderNumber)&&void 0!==n?n:i("order.order_one"),onBack:A,content:e=>(0,m.jsx)(fp,{renderWidth:e})};return(0,m.jsx)(tl.A,{type:"Articles",children:{options:{sellingOrOverriding:!0},component:h?f.orderNumber?x:w:b}})},jp=p.Ay.div.withConfig({componentId:"sc-1m4fqqt-0"})(["padding:1rem;width:100%;position:relative;","{background-color:",";min-height:100%;box-sizing:border-box;","}"],(e=>{let{theme:t}=e;return t.media.lg}),(e=>{let{type:t}=e;return"list"===t?"#f8f8f8":"transparent"}),(e=>{let{left:t,theme:n}=e;return t?`\n          width: 250px;\n          border-right: 1px solid ${n.colors.borderLight};\n        `:"\n          padding: 2rem 2rem;\n        "})),Bp=(p.Ay.div.withConfig({componentId:"sc-1m4fqqt-1"})(["width:100%;","{min-height:100%;height:",";overflow-y:auto;}"],(e=>{let{theme:t}=e;return t.media.lg}),(e=>{let{isSelling:t}=e;return t?"calc(100vh - 38.5px)":"100vh"})),p.Ay.div.withConfig({componentId:"sc-1m4fqqt-2"})(["background-color:",";h2{margin-bottom:0;}"],(e=>{let{theme:t}=e;return t.colors.fillWhite}))),Np=((0,p.Ay)(s.K0).withConfig({componentId:"sc-1m4fqqt-3"})(["background-color:transparent;"]),p.Ay.div.withConfig({componentId:"sc-1m4fqqt-4"})(["position:absolute;top:",";right:4rem;",""],(e=>{let{$low:t}=e;return t?"50px":"15px"}),(e=>{let{renderMobile:t}=e;return t&&"\n    position: sticky;\n    width: 100%;\n    top: 0;\n    right: unset;\n    z-index: 1001;\n  "})),p.Ay.div.withConfig({componentId:"sc-1m4fqqt-5"})(["position:absolute;bottom:1rem;right:1.5rem;"]),(0,p.Ay)(s.so).withConfig({componentId:"sc-1m4fqqt-6"})(["min-height:100%;background:#f3f3f3;",""],(e=>{let{renderMobile:t}=e;return t?"width: 100%;":""})),p.Ay.div.withConfig({componentId:"sc-1m4fqqt-7"})([""]),p.Ay.h1.withConfig({componentId:"sc-1m4fqqt-8"})(["font-size:","px;margin:0;font-family:",",helvetica,sans-serif;font-weight:700;line-height:1.4;"],(e=>{let{size:t}=e;return t||28}),(e=>{let{theme:t}=e;return t.typography.f3400family}))),Mp=(0,p.Ay)(s.EY).withConfig({componentId:"sc-1m4fqqt-9"})(["display:inline-block;font-size:14px;margin-right:0.5em;"]),Rp=(0,p.Ay)(Mp).withConfig({componentId:"sc-1m4fqqt-10"})([""]),Lp=(p.Ay.h2.withConfig({componentId:"sc-1m4fqqt-11"})(["font-size:","px;margin:0;font-family:",",helvetica,sans-serif;font-weight:500;line-height:1.4;"],(e=>{let{size:t}=e;return t||18}),(e=>{let{theme:t}=e;return t.typography.f3400family})),e=>{let{header:t,description:n,className:r}=e;return(0,m.jsxs)(Fp,{className:[r,"mb-3"].filter((e=>!!e)).join(" "),children:[(0,m.jsx)(zp,{className:"f3-700",children:t}),n&&(0,m.jsx)(s.EY,{fontSize:13,light:!0,children:n})]})}),Fp=p.Ay.div.withConfig({componentId:"sc-1m4fqqt-12"})([""]),zp=p.Ay.h2.withConfig({componentId:"sc-1m4fqqt-13"})(["font-size:20px;line-height:1em;margin-bottom:0;font-weight:700;"]);p.Ay.p.withConfig({componentId:"sc-1m4fqqt-14"})(["font-size:","px;margin:0;font-family:",",helvetica,sans-serif;font-weight:400;white-space:pre-line;"],(e=>{let{size:t}=e;return t||16}),(e=>{let{theme:t}=e;return t.typography.f3400family}));var Qp=n(4159),Up=n.n(Qp);const Vp=e=>{let{setting:t}=e;const[n,r]=(0,u.useState)(!1);return(0,m.jsx)(s.pd,{style:{marginTop:t.required&&!n?"0px":""},placeholder:t.placeholder,className:t.className?t.className:"",defaultValue:t.defaultValue,label:t.label,name:t.name,type:"text",required:t.required,onChange:e=>{r(!0),t.onChange(e)},disabled:t.disabled,value:t.value,errorText:t.errorText,validate:t.required&&(t.validate||n)})};var Gp=n(37411);const qp=e=>{var t,n,r,a,l,p;let{defaultName:h,wrapperColor:f="fillWhite",validate:g}=e;const v=(0,c.jL)(),{t:y}=(0,d.B)(),A=(0,c.GV)(B.Lt.languageOptions),b=(0,c.GV)(gt.Fu),w=(0,c.GV)(Gp.Ap),x=(0,c.GV)(Gp.Iq),C=(0,c.GV)(Gp.ls),S=(0,c.GV)(Gp.Kg),[k,E]=(0,u.useState)(null),[I,_]=(0,u.useState)(null===b||void 0===b?void 0:b.name),[P,O]=(0,u.useState)(void 0);return(0,u.useEffect)((()=>{void 0!==w||x||v((0,cp.k$)())}),[w,v,x]),(0,u.useEffect)((()=>{C||v((0,cp.fr)())}),[v,C]),(0,m.jsxs)(s.so,{column:!0,gap:"0.3rem",children:[(0,ja.qe)()&&(0,m.jsxs)(Xp,{children:[(0,m.jsx)(Jp,{type:"checkbox",value:be.ShopType.Units,name:"type"}),(0,m.jsx)($p,{children:(0,m.jsxs)(Zp,{className:"icon",children:[(0,m.jsx)(o.g,{icon:i.vmT}),y("microshop.units","Units")]})})]}),(0,m.jsx)(Vp,{setting:{name:"name",label:y("product.name","Name"),defaultValue:null!==h&&void 0!==h?h:"",required:!0,onChange:()=>{},validate:g}}),(0,m.jsxs)(s.so,{align:"start",className:"w-100",children:[(0,m.jsx)("input",{value:null!==(t=S.url)&&void 0!==t?t:"",hidden:!0,name:"url",readOnly:!0}),(0,m.jsx)(Vp,{setting:{name:"",required:!0,defaultValue:null!==(n=S.host)&&void 0!==n?n:"",errorText:!S.host||S.url||S.pending?void 0:y("microshop.invalidUrl","Url already taken, choose another one"),onChange:Mn()((e=>{var t;v((0,cp.cV)({host:null===e||void 0===e||null===(t=e.target)||void 0===t?void 0:t.value}))}),400),label:y("general.url","Url"),validate:g}}),null!==C&&void 0!==C&&null!==(r=C.defaultDomains)&&void 0!==r&&r.length?(0,m.jsx)(s.l6,{isMulti:!1,isSearchable:!1,toggleBgColor:"fill"===f?"fillWhite":"fill",className:"mt-4 ml-2",value:S.domain?{label:S.domain,value:S.domain}:void 0,options:null!==(a=C.defaultDomains.map((e=>({label:e,value:e}))))&&void 0!==a?a:[],onChange:e=>e&&v((0,cp.cV)({domain:e.value}))}):null]}),(0,m.jsx)(s.dN,{className:"f3-700",children:y("offer.expires")}),(0,m.jsx)(Wp,{children:(0,m.jsx)(s.t1,{name:"expires",header:y("offer.expires"),showIcon:!0,minDate:Up()().add(1,"day").toDate(),onChange:e=>{Array.isArray(e)||E(e)},selectedDate:k,filter:"Future"})}),null!==A&&void 0!==A&&A.length?(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(s.dN,{className:"f3-700",children:y("general.language","Language")}),(0,m.jsxs)(Wp,{children:[(0,m.jsx)(s.l6,{isMulti:!1,isSearchable:!1,toggleBgColor:"fill"===f?"fillWhite":"fill",options:A,value:I?A.find((e=>e.value===I)):void 0,onChange:e=>e&&_(e.value)}),I&&(0,m.jsx)("input",{name:"language",hidden:!0,value:I,readOnly:!0})]})]}):null,x&&(0,m.jsx)(Y.A,{width:100,height:40}),null!==w&&void 0!==w&&w.length?(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(s.dN,{className:"f3-700",children:y("microshop.copyShop","Copy settings from existing shop")}),(0,m.jsxs)(Wp,{children:[(0,m.jsx)(s.l6,{isMulti:!1,isSearchable:!1,toggleBgColor:"fill"===f?"fillWhite":"fill",options:null!==(l=null===(p=[{id:null,name:y("general.none","None")},...w])||void 0===p?void 0:p.map((e=>{var t,n;return{value:null!==(t=e.id)&&void 0!==t?t:"",label:null!==(n=e.name)&&void 0!==n?n:""}})))&&void 0!==l?l:[],onChange:e=>e&&O(e.value)}),P&&(0,m.jsx)("input",{name:"copyShopId",hidden:!0,value:P,readOnly:!0})]})]}):null]})},Hp=(0,p.Ay)(jp).withConfig({componentId:"sc-ioechg-0"})(["padding:0;","{min-height:100%;min-width:calc(100vw - 710px);}","{}"],(e=>{let{theme:t}=e;return t.media.lg}),(e=>{let{theme:t}=e;return t.media.xl})),Wp=p.Ay.div.withConfig({componentId:"sc-ioechg-1"})(["width:222px;"]),Yp=()=>{const{t:e}=(0,d.B)(),t=(0,Rn.wA)();return(0,m.jsx)(m.Fragment,{children:(0,m.jsx)(Hp,{children:(0,m.jsx)(Bp,{className:"p-4",children:(0,m.jsxs)("form",{onSubmit:async e=>{e.preventDefault();const n=e.target;if(n instanceof HTMLFormElement){const e=Kp(n);if(!e)return;await t((0,cp.$e)(e)),t((0,cp.Sj)()),t((0,cp.kb)("")),t((0,cp.dg)("Details"))}},children:[(0,m.jsx)(qp,{}),(0,m.jsxs)("div",{className:"pt-3",children:[(0,m.jsx)(s.$n,{className:"mr-2",type:"submit",bgColor:"main",color:"mainText",children:e("action.save","Save")}),(0,m.jsx)(s.$n,{onClick:()=>t((0,cp.dg)("List")),children:e("action.cancel")})]})]})})})})};function Kp(e){const t=new FormData(e),n={};let r;for(const[i,o]of t.entries())switch(i){case"type":"string"===typeof o&&(n[i]=parseInt(o));break;case"url":"string"===typeof o&&o.length&&(r=o);break;case"expires":if("string"===typeof o&&o.length){const e=Up()(o,["DD-MM-YYYY","YYYY-MM-DD"]);e.isValid()&&(n[i]=e.format("YYYY-MM-DD"))}break;case"name":case"copyShopId":case"language":"string"===typeof o&&o.length&&(n[i]=o)}if(r&&(n.uri=r),function(e){var t,n,r;return!!(null!==(t=e.name)&&void 0!==t&&t.length&&null!==(n=e.uri)&&void 0!==n&&n.length&&null!==(r=e.language)&&void 0!==r&&r.length)}(n))return n}const Jp=p.Ay.input.withConfig({componentId:"sc-ioechg-2"})(["position:absolute;opacity:0;width:0;height:0;"]),Xp=p.Ay.label.withConfig({componentId:"sc-ioechg-3"})(["display:inline-block;cursor:pointer;width:99px;"]),Zp=(0,p.Ay)(s.so).withConfig({componentId:"sc-ioechg-4"})(["font-size:14px;color:",";vertical-align:middle;gap:8px;align-items:center;"],(e=>{let{theme:t}=e;return t.colors.text})),$p=p.Ay.div.withConfig({componentId:"sc-ioechg-5"})(["padding:14px 10px 14px 10px;border:1px solid;border-radius:8px;font-size:14px;font-weight:500;border-color:",";color:",";",":checked + &{border-color:#224382;color:#224382;& .icon{color:#224382;}}"],(e=>{let{theme:t}=e;return t.colors.borderLight}),(e=>{let{theme:t}=e;return t.colors.text}),Jp),eh=e=>{let{defaultName:t}=e;const{t:n}=(0,d.B)(),[r,i]=(0,u.useState)(),o=(0,c.cb)();return(0,m.jsxs)(s.so,{column:o.lgBelow,className:"mb-2",align:o.lg?"end":"stretch",children:[(0,m.jsx)(ih,{"data-testid":"create-offer-title-input",label:n("contact.name","Name"),name:"name",defaultValue:t,type:"text",required:!0,onFocus:e=>e.currentTarget.select(),className:"mr-lg-2 flex-grow-1"}),(0,m.jsxs)(s.so,{column:o.lgBelow,className:"",align:o.lg?"end":"stretch",children:[(0,m.jsxs)(s.so,{column:!0,className:o.lgBelow?"":"pr-2",children:[(0,m.jsx)(s.dN,{className:"f3-700",children:n("offer.expires")}),(0,m.jsx)(oh,{header:n("offer.expires"),showIcon:!0,minDate:Up()().toDate(),name:"expirationDate",onChange:e=>{e instanceof Date?(null===e||void 0===e||e.setHours(e.getHours()+e.getTimezoneOffset()/60),i(e)):i(void 0)},selectedDate:r,filter:"Future"})]}),(0,m.jsx)(s.pd,{"data-testid":"create-offer-days-before-reminder-title-input",label:n("offer.daysBeforeReminder","Reminder - days before expiration"),name:"daysBeforeReminder",type:"number"})]})]})},th=()=>{const{t:e}=(0,d.B)(),t=(0,c.jL)();return(0,m.jsx)(nh,{children:(0,m.jsx)(il,{children:(0,m.jsxs)(rh,{onSubmit:e=>(e=>{e.preventDefault();const n=e.target;if(n instanceof HTMLFormElement){const e=new FormData(n),r={};for(const[t,n]of e.entries())switch(t){case"name":"string"===typeof n&&(r.name=n);break;case"expirationDate":if("string"===typeof n){const e=Up()(n,["DD-MM-YYYY","YYYY-MM-DD"]);e.isValid()&&(r.expiryDate=e.format("YYYY-MM-DD"))}break;case"daysBeforeReminder":const e=+n;Number.isNaN(e)||(r.daysBeforeReminder=e)}t((0,lp.ts)(r))}})(e),children:[(0,m.jsx)(eh,{}),(0,m.jsx)(s.so,{children:(0,m.jsx)(s.$n,{className:"mr-2",type:"submit",children:e("action.create","Create")})})]})})})},nh=p.Ay.div.withConfig({componentId:"sc-wn6n9f-0"})([""]),rh=p.Ay.form.withConfig({componentId:"sc-wn6n9f-1"})(["width:100%;"]),ih=(0,p.Ay)(s.pd).withConfig({componentId:"sc-wn6n9f-2"})(["","{max-width:400px;}"],(e=>{let{theme:t}=e;return t.media.lg})),oh=(0,p.Ay)(s.t1).withConfig({componentId:"sc-wn6n9f-3"})(["min-width:128px;"]);var ah=n(79858);const sh=(0,p.Ay)(s.K0).withConfig({componentId:"sc-1d4miry-0"})([""]),lh=e=>{var t,n;let{products:r,id:o,onApply:a,pending:l,disabled:u,button:p,selectBy:h="skuQty"}=e;const f=(0,c.jL)(),{t:g}=(0,d.B)(),v=(0,c.GV)(ah.Cn),y=(0,c.GV)(ah.Vo);if(!o||!r.length)return null;return(0,m.jsxs)(s.so,{column:!0,children:[(0,m.jsx)(s.so,{column:!0,children:null===r||void 0===r?void 0:r.map((e=>{var t,n;const r="variationQty"===h||"variationSelect"===h?null===(t=e.variations)||void 0===t?void 0:t.map((e=>{var t,n;const r=null===(t=e.skus)||void 0===t||null===(n=t[0])||void 0===n?void 0:n.sku,i="variationSelect"===h?`${e.variationNumber}`:r;return{...e,skus:[{name:"",sku:i,sort:1}]}})):e.variations;if(!e.productNumber||!r)return null;const i=null!==(n=v[e.productNumber])&&void 0!==n?n:[],o=r.flatMap((e=>e.skus)).reduce(((e,t)=>{if(null===t||void 0===t||!t.sku)return e;const n=i.find((e=>(0,ah.Ox)(e.sku,e.split)===t.sku));return null!==n&&void 0!==n&&n.sku?(e.set(t.sku,n.quantity),e):(e.set(t.sku,void 0),e)}),new Map);return(0,m.jsx)(s.so,{column:!0,children:(0,m.jsx)(fi.A,{hideCartBadge:!0,firstColCellLabel:null===e||void 0===e?void 0:e.productName,variations:r,onQuantityChange:(t,n)=>{const r=t.split("%%"),i=r[0],o=r[1];e.productNumber&&(async(e,t,n,r)=>{var i;if(Number.isNaN(n)||!t)return;const o=(null!==(i=v[e])&&void 0!==i?i:[]).filter((e=>t!==e.sku||r!==e.split));n&&o.push({sku:t,quantity:n,split:r}),f((0,ah.d3)({productNumber:e,newInputs:o}))})(e.productNumber,i,n,o)},cells:o,addToCartEnabled:!u,variationMinQts:{},compact:!1,className:"mb-2",autoWidth:"skuQty"!==h?"400px":void 0,useSelect:"variationSelect"===h})},e.productNumber)}))}),(0,m.jsx)(s.so,{className:"w-100",children:(0,m.jsx)(sh,{large:!0,onClick:a,icon:i.qj_,className:"flex-grow-1",disabled:!y.length||l||u,pending:l,color:"buyText",bgColor:"buy",type:null!==(t=null===p||void 0===p?void 0:p.type)&&void 0!==t?t:"button",children:null!==(n=null===p||void 0===p?void 0:p.label)&&void 0!==n?n:g("cart.add_one","Add to cart")})})]})},ch=e=>{let{id:t,name:n,products:r}=e;const{t:i}=(0,d.B)(),o=(0,c.jL)(),a=(0,c.GV)(ah.Ft),l=(0,c.GV)(ah.Vo),p=(0,c.GV)(yt.eT),h=(0,c.GV)(ah.w4),f=(0,c.GV)(Gp.Kg),g=(0,u.useRef)(null),v=(0,u.useRef)(null),[y,A]=(0,u.useState)("variations"),[b,w]=(0,u.useState)(!1);if(!a||!t)return null;const x=()=>{o((0,ah.P3)(void 0)),o((0,ah.u8)())};return(0,m.jsx)(Ht.lG,{tint:!0,blur:!0,maxWidth:"1200px",maxHeight:"90%",width:"80%",onClose:x,onFullscreen:()=>{},children:(0,m.jsx)(il,{color:"fill",children:(()=>{switch(a){case"cart":return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(cl.V,{header:i("cart.add_one"),className:"mb-3"}),(0,m.jsx)(lh,{onApply:async()=>{await o((0,ah.sJ)({id:t,name:n,skuQuantity:l})),x()},id:t,pending:h,products:r,disabled:!p})]});case"offer":return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(cl.V,{header:i("cart.createOffer"),className:"mb-3"}),(0,m.jsx)("form",{ref:v,children:(0,m.jsx)(eh,{defaultName:null!==n&&void 0!==n?n:""})}),(0,m.jsx)(s.VO,{small:!1,className:"mb-2",valueLabelLeft:i("collection.variations_other"),valueLabelRight:i("product.article_other"),checked:"skus"===y,onClick:()=>{o((0,ah.u8)()),A("skus"===y?"variations":"skus")}}),(0,m.jsx)(lh,{onApply:async()=>{if(!v.current)return;const e=new FormData(v.current),n={};for(const[t,r]of e.entries())switch(t){case"name":"string"===typeof r&&(n.name=r);break;case"expirationDate":if("string"===typeof r){const e=Up()(r,["DD-MM-YYYY","YYYY-MM-DD"]);e.isValid()&&(n.expiryDate=e.format("YYYY-MM-DD"))}break;case"daysBeforeReminder":const e=+r;Number.isNaN(e)||(n.daysBeforeReminder=e)}v.current.checkValidity()?(await o((0,ah.yi)({...n,skus:l,collectionId:t})),x()):v.current.reportValidity()},id:t,button:{type:"submit",label:i("action.create")},pending:h,products:r,selectBy:"variations"===y?"variationQty":"skuQty"})]});case"microshop":return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(cl.V,{header:i("microshop.create","Create new microshop"),className:"mb-3"}),(0,m.jsx)("form",{ref:g,className:"mb-3",children:(0,m.jsx)(qp,{wrapperColor:"fill",defaultName:null!==n&&void 0!==n?n:"",validate:b})}),(0,m.jsx)(lh,{onApply:async()=>{const e=g.current;if(!e)return;const n=Kp(e);n?(await o((0,ah.Iq)({...n,variationNumbers:l.map((e=>e.sku)).filter(gi.A),collectionId:t})),x()):w(!0)},id:t,pending:h,products:r,disabled:f.pending,selectBy:"variationSelect",button:{type:"submit",label:i("action.create")}})]});default:return null}})()})})},uh=(0,p.Ay)(s.so).withConfig({componentId:"sc-12vbc89-0"})(["max-width:300px;"]),dh=e=>{var t;let{isDraft:n,archived:r,collection:i}=e;const{t:o}=(0,d.B)();return(0,m.jsxs)(m.Fragment,{children:[!n&&r&&(0,m.jsx)(s.so,{className:"mb-2",children:(0,m.jsxs)(s.EY,{color:"attention",fontSize:16,children:[o("archived.collectionArchived","This collection is archived"),"!"]})}),(0,m.jsx)(rl.Ay,{className:"my-1",status:i.status}),(0,m.jsxs)(uh,{className:"mt-3",justify:"between",gap:"1rem",children:[(0,m.jsxs)("div",{children:[(0,m.jsx)(s.EY,{fontSize:14,bold:!0,className:"f3-700",children:o("general.created")}),(0,m.jsx)(s.EY,{fontSize:14,bold:!0,className:"f3-700",children:o("seller.customer")})]}),(0,m.jsxs)("div",{children:[(0,m.jsx)(s.EY,{fontSize:14,className:"f3-400",children:null===(t=i.created)||void 0===t?void 0:t.str}),(0,m.jsx)(s.EY,{fontSize:14,className:"f3-400",children:i.creator})]})]})]})};var ph=n(8268),hh=n(72727);const fh=e=>{var t,n;let{collectionId:r,label:o,input:a,options:s}=e;const l=(0,c.jL)(),u=(0,c.GV)((e=>(0,ah.wY)(e,r))),d=(0,c.GV)(ah.VL),p=(0,c.cb)();if(!u)return null;const{collection:h}=u;return d?(0,m.jsx)(Y.A,{height:100,count:2}):null!==(t=h.refinements)&&void 0!==t&&t.length?(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(hh.A,{icon:i.qIE,name:null!==o&&void 0!==o?o:(0,pc.t)("refinement.refinement_other"),options:{size:p.lgBelow?"xs":void 0,hide:{tableHeaders:!0}}}),(0,m.jsx)(m.Fragment,{children:null===(n=h.refinements)||void 0===n?void 0:n.map(((e,t)=>{var n,r,i,o,c,d;const h=null===(n=e.positions)||void 0===n?void 0:n[0],f=null===(r=e.files)||void 0===r?void 0:r.find((e=>e.fileName===(null===h||void 0===h?void 0:h.sample))),g=e.type===be.ShopCartRefinementType.Mounting;return(0,m.jsx)(ph.A,{addonIndex:t,name:`${t+1}. ${(0,tp.vV)(e)}`,info:(0,tp.d2)(e.inputs),colors:e.colors,img:(null===f||void 0===f?void 0:f.url)||void 0,onEditRefinements:()=>{l((0,ke.Gf)({type:"refinement",origin:"CollectionTool",edit:{collectionId:u.collectionId,variationNumber:null===h||void 0===h?void 0:h.variationNumber,angle:null===h||void 0===h?void 0:h.angle,split:null===h||void 0===h?void 0:h.split,refinementIndex:t,type:e.type}}))},files:(0,bt.J8)(e),stockOperations:g?{mounting:!0,stockOperation:be.StockOperation.None,stockOperationSummary:null===(i=u.collection.articleStock)||void 0===i||null===(o=i.stock)||void 0===o?void 0:o.find((e=>{var n;return null===(n=e.index)||void 0===n?void 0:n.includes(t)}))}:void 0,options:{image:{modalPortal:!1,...null!==(c=null===s||void 0===s?void 0:s.image)&&void 0!==c?c:{}},hide:{date:!0,remove:!0,...null!==(d=null===s||void 0===s?void 0:s.hide)&&void 0!==d?d:{}},forceSize:p.lgBelow?"xs":void 0,additionalCell:null===a||void 0===a?void 0:a(e)}},`addon_${t}`)}))})]}):null},mh=e=>{let{tags:t,label:n,onChange:r,className:i}=e;const o=(0,c.GV)((e=>(0,ah.NR)(e,t))),a=(0,c.GV)((e=>{let{collections:t}=e;return t.tagSuggestions.loading})),{t:s}=(0,d.B)(),l=(0,c.jL)();return(0,m.jsx)(fa,{className:i,smallLabel:!0,label:n?s("general.tag_other"):void 0,value:t,suggestions:o,onValue:e=>(e=>{l((0,ah.Q5)()),r&&r(e)})(e),onChange:e=>(e=>{if(!e)return l((0,ah.Q5)());l((0,ah.qX)(e))})(e),suggestionsPending:a})},gh=()=>{var e,t;const n=(0,c.jL)(),r=(0,c.GV)(ah.zn),{t:i}=(0,d.B)(),[o,a]=(0,u.useState)({id:null===r||void 0===r?void 0:r.id,name:null!==(e=null===r||void 0===r?void 0:r.name)&&void 0!==e?e:"",tags:null!==(t=null===r||void 0===r?void 0:r.tags)&&void 0!==t?t:[]}),l=(0,u.useCallback)((()=>{null!==r&&void 0!==r&&r.id&&n((0,ah.IX)({id:r.id,name:o.name,tags:o.tags}))}),[n,null===r||void 0===r?void 0:r.id,o.name,o.tags]);if(!r)return null;const p=JSON.stringify(r)===JSON.stringify(o);return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsxs)(s.so,{$wrap:!0,className:"flex-grow-1",gap:"1rem",children:[(0,m.jsx)(s.pd,{className:"flex-grow-1",type:"text",value:o.name,onChange:e=>a((t=>({...t,name:e.target.value}))),label:i("general.name")}),(0,m.jsx)("div",{className:"flex-grow-1",children:(0,m.jsx)(mh,{tags:o.tags,label:!0,onChange:e=>a((t=>({...t,tags:e})))})})]}),(0,m.jsx)(s.$n,{className:"align-self-end mt-2",disabled:p,accent:!0,onClick:l,children:i("action.save")})]})},vh=()=>{const e=(0,c.GV)(ah.VL),t=(0,c.GV)(ah.wY),n=(0,c.cb)();return(0,m.jsxs)(m.Fragment,{children:[e&&(0,m.jsx)("div",{className:"flex-grow-1",children:(0,m.jsx)(Y.A,{count:1,height:420})}),(0,m.jsx)(wh,{className:"mb-4",gap:"10px",columns:{base:`repeat(auto-fill, ${n.lg?222:192}px)`},children:null===t||void 0===t?void 0:t.cards.map((e=>(0,m.jsx)(yh,{data:e,collectionId:t.collectionId},e.id)))})]})},yh=e=>{let{data:t,collectionId:n,origin:r="CollectionTool",publicOrderId:i,editDisabled:o=!1}=e;const a=(0,c.jL)(),{t:l}=(0,d.B)(),{angles:u,name:p,variationNumber:h,description:f}=t;return(0,m.jsxs)(xh,{columns:u.length,column:!0,children:[(0,m.jsxs)(Eh,{column:!0,justify:"start",align:"start",className:"pt-2 pb-1 px-2 flex-grow-1",children:[(0,m.jsx)(s.EY,{extraBold:!0,fontSize:14,children:p}),(0,m.jsxs)(s.so,{className:"w-100",justify:"between",children:[(0,m.jsx)(s.EY,{small:!0,light:!0,className:"text-capitalize",children:f}),(0,m.jsx)(s.EY,{small:!0,light:!0})]})]}),(0,m.jsx)(Sh,{gap:"2px",columns:{base:"repeat(auto-fit, minmax(192px, 1fr))"},children:u.map((e=>{var t;const{refinements:c,image:u,angle:d}=e;return(0,m.jsxs)(Ch,{className:"px-3 pb-3 pt-2",children:[(0,m.jsx)(s.EY,{center:!0,uppercase:!0,light:!0,fontSize:10,children:d?(0,Ln.TH)(d):""}),u&&u.url?(0,m.jsx)(s.g6,{portal:!1,renderTrigger:e=>{var t;return(0,m.jsx)(Ah,{className:"pointer mb-2",justify:"center",onClick:e,children:(0,m.jsx)(bh,{src:null!==(t=u.url)&&void 0!==t?t:void 0})},`${u.url}`)},children:(0,m.jsx)(Ah,{large:!0,children:(0,m.jsx)(bh,{src:null!==(t=u.url)&&void 0!==t?t:void 0})})}):null,(0,m.jsx)("div",{className:"",children:c.map((t=>{var c,u,d;const p=null===(c=t.inputs)||void 0===c?void 0:c.find((e=>e.type===be.ShopCartRefinementInputType.Size)),f=null===(u=t.colors)||void 0===u?void 0:u.length,g=null===(d=t.positions)||void 0===d?void 0:d.find((t=>t.angle===e.angle&&t.variationNumber===e.variationNumber&&t.split===e.split));return(0,m.jsxs)(s.so,{className:"mb-1",children:[(0,m.jsxs)(s.EY,{fontSize:13,lineheight:12,className:"mr-1",children:[t.index+1,"."]}),(0,m.jsxs)("div",{children:[o?(0,m.jsx)(s.EY,{fontSize:13,lineheight:12,children:t.productName}):(0,m.jsx)(kh,{fontSize:13,lineheight:12,onClick:()=>{a((0,ke.Gf)({type:"refinement",origin:r,publicOrderId:i,edit:{collectionId:n,variationNumber:h,refinementIndex:t.index,angle:null===g||void 0===g?void 0:g.angle,split:null===g||void 0===g?void 0:g.split}}))},children:t.productName}),p&&(0,m.jsxs)(s.EY,{fontSize:11,light:!0,children:[p.value,f?`, ${f} ${l("color.color",{context:1===f?"one":"other"})}`:""]})]})]},t.index)}))})]},d)}))})]})},Ah=(0,p.Ay)(s.so).withConfig({componentId:"sc-k2o2ud-0"})(["",";height:",";max-height:100%;max-width:100%;"],(e=>{let{theme:t,imgBg:n}=e;return n&&`background-color: ${t.colors.transparentBg};`}),(e=>{let{large:t}=e;return t?"auto":"170px"})),bh=p.Ay.img.withConfig({componentId:"sc-k2o2ud-1"})(["width:100%;height:100%;object-fit:contain;"]),wh=(0,p.Ay)(s.xA).withConfig({componentId:"sc-k2o2ud-2"})([""]),xh=(0,p.Ay)(s.so).withConfig({componentId:"sc-k2o2ud-3"})(["grid-column:span ",";"],(e=>{let{columns:t}=e;return t})),Ch=p.Ay.div.withConfig({componentId:"sc-k2o2ud-4"})(["background:white;flex-grow:1;"]),Sh=(0,p.Ay)(s.xA).withConfig({componentId:"sc-k2o2ud-5"})(["flex-grow:1;"]),kh=(0,p.Ay)(s.EY).withConfig({componentId:"sc-k2o2ud-6"})(["cursor:pointer;&:hover{text-decoration:underline;}"]),Eh=(0,p.Ay)(s.so).withConfig({componentId:"sc-k2o2ud-7"})(["max-height:68px;flex-grow:4;background:",";"],(e=>{let{theme:t}=e;return t.colors.fillMedium})),Ih=()=>(0,m.jsxs)(il,{className:"p-0",color:"transparent",children:[(0,m.jsx)(vh,{}),(0,m.jsx)(fh,{})]}),_h=e=>{let{isDraft:t,archived:n}=e;const r=(0,c.GV)(ah.wY),i=(0,c.cb)();if(!r)return null;const o=r.collection;return(0,m.jsxs)(s.so,{column:i.mdBelow,className:"",align:"stretch",gap:"0.5rem",children:[(0,m.jsx)(Oh,{className:"",children:(0,m.jsx)(gh,{})}),(0,m.jsx)(Th,{children:(0,m.jsx)(dh,{isDraft:t,archived:n,collection:o})})]})},Ph=()=>{const{t:e}=(0,d.B)(),t=(0,c.jL)(),n=(0,c.GV)(ah.wY),r=(0,c.GV)(ah.ez),o=(0,c.GV)(ah.VL);if(!n)return null;const{collection:a,error:s,isDraft:l}=n;if(s)return(0,m.jsx)("div",{children:s.message});const u=l?()=>{var e,n;return t((0,ah.Nk)({id:null!==(e=a.id)&&void 0!==e?e:0,name:null!==(n=a.name)&&void 0!==n?n:""}))}:()=>{var e;return t((0,ah.Oz)({id:null!==(e=a.id)&&void 0!==e?e:0,archive:!(null!==a&&void 0!==a&&a.archived)}))},p=e=>{t((0,ah.P3)(e)),"microshop"===e&&t((0,cp.K5)())},h=l?e("action.remove"):a.archived?e("archived.remove","Remove archive"):e("archived.archive","Archive");return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(Oc,{id:"offer_list",className:"pt-5",sections:[{id:"summary",header:e("general.settings","Settings"),content:(0,m.jsx)(_h,{isDraft:l,archived:a.archived}),actions:[{label:e("action.apply","Apply"),disabled:o,onClick:()=>{},subActions:[{label:e("cart.add_one"),icon:i.qj_,onClick:()=>p("cart")},{label:e("cart.createOffer"),icon:i.DO5,onClick:()=>p("offer")},{label:e("microshop.create"),icon:i.vmT,onClick:()=>p("microshop")}],icon:i.rC2},{label:e("pdf.download"),disabled:o,onClick:()=>r&&t(Yt.w9.exportToolOpened({origin:"refinements",parameters:{productNumbers:r.productNumbers},data:{refinements:r.refinements,pdfCartVariations:r.collectionVariations},selectedTab:"pdf",options:{tabs:["pdf"],render:"autoDownload",fileName:r.name}})),icon:i.O_q},{label:e("action.edit"),onClick:()=>t((0,ke.Gf)({type:"refinement",origin:"CollectionTool",edit:{collectionId:a.id}})),icon:i.G7W,disabled:!1},{label:h,onClick:u,icon:l?i.yLS:a.archived?i.LJS:J.LX6}]},{id:"list",header:e("product.product_other"),content:(0,m.jsx)(Ih,{})}]}),(0,m.jsx)(ch,{id:n.collectionId,products:n.splitProducts,name:n.collection.name})]})},Oh=(0,p.Ay)(il).withConfig({componentId:"sc-1pdxjbb-0"})(["flex-grow:2;"]),Th=(0,p.Ay)(il).withConfig({componentId:"sc-1pdxjbb-1"})(["flex-grow:1;","{max-width:300px;}"],(e=>{let{theme:t}=e;return t.media.md})),Dh=e=>{var t;let{pending:n,small:r,excludedTypes:o=[],onToggle:a,...l}=e;const{t:u}=(0,d.B)(),p=(0,c.jL)(),h=(0,c.GV)(ah.Go),f=(0,c.GV)(ah.cy),g=(0,c.GV)(ah.Vn),v=(0,c.GV)(ah.xr),y=()=>p((0,ah.jk)()),A=(0,c.cb)(),b=(null===h||void 0===h?void 0:h.length)>0&&(null===h||void 0===h||null===(t=h.filter((e=>!o.includes(e.type))))||void 0===t?void 0:t.map((e=>(0,m.jsx)(Zh,{className:"mb-1",children:(0,m.jsx)(jh,{small:r,filter:e,active:f[e.type],onToggle:async(e,t)=>{a(e,t)},onEdit:async e=>await p((0,ah.Gw)(e)),currentEditTag:v})},e.label)))),w=g&&(A.lg?(0,m.jsx)(Hh,{offsetBottom:8,className:"mr-lg-3",children:(0,m.jsx)(Kh,{children:(0,m.jsxs)(Jh,{className:"f1-500",children:[!1,b]})})}):(0,m.jsx)(s.FQ,{onClose:y,visible:!0,children:{headerLogo:(0,m.jsx)(s.d,{iconColor:"textLight",icon:i.wQq}),content:(0,m.jsx)(nf,{column:!0,className:"p-3 f1-500",children:b}),footerContent:(0,m.jsx)(tf,{className:"pb-3",children:(0,m.jsxs)(s.$n,{type:"button",onClick:y,pill:!0,className:"mt-3 mb-4 w-100",children:[u("collection.show","Show collections"),n&&(0,m.jsx)(s.y$,{})]})})}}));return(0,m.jsx)(Xh,{...l,children:w})},jh=e=>{var t;let{filter:n,active:r,onToggle:o,onEdit:a,currentEditTag:l,small:c}=e;const{t:p}=(0,d.B)(),[h,f]=(0,u.useState)(!0),g=p("article.filters",{context:n.label}),v=n.type===ah.RJ.Tag?null===(t=n.items)||void 0===t?void 0:t.map((e=>({name:e.label,value:e.value,type:0}))):[],y=e=>{var t;const r=null===n||void 0===n||null===(t=n.items)||void 0===t?void 0:t.find((t=>t.value===e.value));r&&o(r,n.type)},A=e=>{a(e)};return!v.length&&n.items.length<1?null:(0,m.jsxs)(m.Fragment,{children:[(0,m.jsxs)(s.so,{className:"mb-2",justify:"between",align:"center",children:[(0,m.jsx)(Wh,{small:!0,children:g}),(0,m.jsx)(Bh,{small:!0,icon:h?i.w2A:i.Jt$,onClick:e=>{e.preventDefault(),f(!h)}})]}),n.type!==ah.RJ.Tag&&h&&n.items.map(((e,t)=>{var i;return(0,m.jsx)(Rh,{small:c,text:zh(n.type,null===(i=e.label)||void 0===i?void 0:i.toString(),p),isChecked:null===r||void 0===r?void 0:r.includes(null===e||void 0===e?void 0:e.value),onToggle:()=>{o(e,n.type)}},t)})),n.type===ah.RJ.Tag&&h&&(0,m.jsx)(et.A,{tags:v,children:(e,t)=>(0,m.jsx)(Nh,{tag:e,index:t,onSelectTag:y,selectedTags:r,onEditTag:A,editTag:l})})]})},Bh=(0,p.Ay)(s.K0).withConfig({componentId:"sc-1kc2wvc-0"})(["background:",";"],(e=>{let{theme:t}=e;return t.colors.fill})),Nh=e=>{var t,n,r;let{tag:a,index:s,compact:l,onSelectTag:u,selectedTags:d,onEditTag:h,editTag:f}=e;const{tagEdit:g}=(0,c.GV)((e=>{let{collections:t}=e;return t})),v=(0,p.DP)(),y=!(!a||!a.value)&&(null===d||void 0===d?void 0:d.includes(a.value)),A=!!(a&&a.value&&null!==f&&void 0!==f&&null!==(t=f.tag)&&void 0!==t&&t.includes(a.value));return(0,m.jsx)("div",{children:A&&y?(0,m.jsxs)(yr.E,{selectable:!!u,selected:y,compact:l,type:a.type,align:"center",children:[(0,m.jsx)(Mh,{type:"text",value:null!==(n=null!==(r=null===f||void 0===f?void 0:f.value)&&void 0!==r?r:a.value)&&void 0!==n?n:void 0,onChange:e=>{var t;return h&&h({tag:null!==(t=a.value)&&void 0!==t?t:"",edit:!0,value:e.target.value,save:!1})}}),(0,m.jsx)(o.g,{color:v.colors.text,className:"ml-2",icon:i.e68,onClick:()=>{h&&h({tag:g.tag,value:g.value,edit:!1,save:!0})}})]}):(0,m.jsx)(m.Fragment,{children:(0,m.jsxs)(yr.E,{selectable:!!u,selected:y,compact:l,type:a.type,children:[(0,m.jsxs)("div",{onClick:()=>u&&u(a),children:[y&&(0,m.jsx)(o.g,{color:v.colors.text,size:"lg",className:"mr-2",icon:i.e68}),a.value]}),(0,m.jsx)(m.Fragment,{children:y&&(0,m.jsx)(o.g,{color:v.colors.text,size:"lg",className:"ml-2",icon:i.cNj,onClick:()=>{var e;return h&&h({tag:null!==(e=a.value)&&void 0!==e?e:"",edit:!1,save:!1})}})})]})})},s)},Mh=p.Ay.input.withConfig({componentId:"sc-1kc2wvc-1"})(["border:none;background:",";width:fit-content;outline:none;"],(e=>{let{theme:t}=e;return t.colors.fillGray})),Rh=e=>{let{noBorder:t,text:n,isChecked:r,onToggle:i,invert:o,small:a}=e;return(0,m.jsx)(ef,{noBorder:null!==t&&void 0!==t&&t,onClick:i,className:"pointer",children:(0,m.jsxs)(s.so,{justify:"between",align:"center",children:[(0,m.jsx)(s.EY,{large:!a,light:!0,children:n}),(0,m.jsx)(s.Sc,{name:n,small:a,defaultChecked:r,bgColor:o?"fill":"fillWhite"})]})})},Lh=e=>{var t;let{inputs:n,pending:r,onInputChange:o,searchPlaceHolder:a,showDateInputs:l=!0,showLabel:c=!0}=e;const{t:u}=(0,d.B)();return(0,m.jsxs)(Qh,{children:[(0,m.jsx)(Uh,{className:"w-100",children:(0,m.jsxs)(Gh,{className:"mb-1 mr-1",children:[c&&(0,m.jsx)(Vh,{children:u("search.search")}),(0,m.jsx)(qh,{type:"text",name:"Search",icon:i.MjD,rightSidedIcon:!0,loading:r,defaultValue:n.search,onChange:e=>{o({search:e.target.value})},placeholder:null!==(t=u("search.search"))&&void 0!==t?t:a,paddingRight:"59px"})]})}),l&&(0,m.jsxs)(s.so,{children:[(0,m.jsxs)(Uh,{className:"mb-1 mr-1",children:[(0,m.jsx)(Vh,{children:u("general.startDate","Start date")}),(0,m.jsx)(s.t1,{selectedDate:n.from,header:u("general.startDate","Start date"),onChange:e=>e instanceof Date&&o({from:e}),filter:"None"})]}),(0,m.jsxs)(Uh,{className:"mb-1",children:[(0,m.jsx)(Vh,{children:u("general.endDate","End date")}),(0,m.jsx)(s.t1,{selectedDate:n.to,header:u("general.endDate","End date"),onChange:e=>e instanceof Date&&o({to:e}),filter:"None"})]})]})]})},Fh=()=>{const e=(0,c.jL)(),t=(0,c.GV)(ah.Vn),{t:n}=(0,d.B)();return(0,m.jsxs)(Yh,{large:!0,bgColor:"transparent",onClick:()=>e((0,ah.jk)()),className:"f1-400 mb-1",icon:i.wQq,square:!0,children:[n(t?"general.hide":"general.show")," ",n("filter.filters").toLowerCase()]})};function zh(e,t,n){switch(e){case ah.RJ.Status:return function(e,t){switch(e){case"0":return t("status.processing");case"1":return t("status.approved");case"2":return t("status.rejected");case"3":return t("status.draft");default:return""}}(t,n);case ah.RJ.Archived:return function(e,t){switch(e){case"0":return t("archived.notArchived","Not archived");case"1":return t("archived.archived","Archived");default:return""}}(t,n);case ah.RJ.Stock:return function(e,t){switch(e){case"1":return t("stockLevel.in","In stock");case"0":return t("stockLevel.no","No stock");default:return""}}(t,n);default:return""}}const Qh=p.Ay.div.withConfig({componentId:"sc-1kc2wvc-2"})(["display:grid;grid-template-columns:repeat(2,1fr);gap:10px;","{grid-template-columns:1fr;}","{grid-template-columns:1fr;}"],(e=>{let{theme:t}=e;return t.media.xsBelow}),(e=>{let{theme:t}=e;return t.media.lg})),Uh=p.Ay.div.withConfig({componentId:"sc-1kc2wvc-3"})([""]),Vh=p.Ay.label.withConfig({componentId:"sc-1kc2wvc-4"})(["margin-bottom:0;font-size:14px;"]),Gh=p.Ay.div.withConfig({componentId:"sc-1kc2wvc-5"})(["flex:1;"]),qh=(0,p.Ay)(s.pd).withConfig({componentId:"sc-1kc2wvc-6"})([""]),Hh=(0,p.Ay)(Ar.A).withConfig({componentId:"sc-1kc2wvc-7"})(["box-shadow:none;"]),Wh=(0,p.Ay)(s.EY).withConfig({componentId:"sc-1kc2wvc-8"})(["font-size:14px;line-height:2.5rem;"]),Yh=(0,p.Ay)(s.K0).withConfig({componentId:"sc-1kc2wvc-9"})(["align-self:flex-start;"]),Kh=p.Ay.div.withConfig({componentId:"sc-1kc2wvc-10"})(["flex-shrink:0;"]),Jh=p.Ay.div.withConfig({componentId:"sc-1kc2wvc-11"})([""]),Xh=p.Ay.div.withConfig({componentId:"sc-1kc2wvc-12"})([""]),Zh=p.Ay.div.withConfig({componentId:"sc-1kc2wvc-13"})([""]),$h=p.Ay.div.withConfig({componentId:"sc-1kc2wvc-14"})(["padding:5px 0;"]),ef=(0,p.Ay)($h).withConfig({componentId:"sc-1kc2wvc-15"})([""," a:hover{text-decoration:underline;}"],(e=>{let{noBorder:t,theme:n}=e;return!t&&`border-bottom: 1px solid ${n.colors.border};`})),tf=(0,p.Ay)(s.so).withConfig({componentId:"sc-1kc2wvc-16"})(["padding:10px;background-color:",";"],(e=>{let{theme:t}=e;return t.colors.fillWhite})),nf=(0,p.Ay)(s.so).withConfig({componentId:"sc-1kc2wvc-17"})(["background-color:",";"],(e=>{let{theme:t}=e;return t.colors.fill})),rf=e=>{let{collectionId:t}=e;const n=(0,c.GV)(ah.vb);if(!n)return null;const{id:r}=n;return r!==t?null:(0,m.jsx)(ch,{id:n.id,products:n.products,name:n.name})};var of=n(1173);const af=e=>{var t;let{collection:n,onClick:r,showPriceContainer:o=!0,showStatusContainer:a=!0,showTagsContainer:l=!0}=e;const d=(0,Rn.wA)(),p=(0,c.GV)(ah.vb),h=(0,c.GV)(yt.eT),f=l?null===(t=n.labels)||void 0===t?void 0:t.map((e=>({name:e,position:be.TagPosition.Badge,type:be.TagType.Label,value:e}))):[],g=(0,u.useCallback)((()=>{const{status:e,created:t,totalRefinements:r,totalVariations:i,totalAddons:o}=n,l=[`${i} ${(0,pc.t)("collection.variations",{context:1===i?"one":"other"})} `,r&&r>0?`${r} ${(0,pc.t)("refinement.refinement",{context:1===r?"one":"other"})}`:void 0,o&&o>0?`${o} ${(0,pc.t)("refinement.addon")}`:void 0].filter((e=>e)).join(" / ");return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsxs)(s.so,{justify:"between",className:"mt-1",children:[l&&(0,m.jsx)(s.EY,{light:!0,fontSize:12,className:"",children:l}),t&&(0,m.jsx)(s.EY,{light:!0,fontSize:12,className:"",children:t.str})]}),a&&"number"===typeof e&&(0,m.jsx)(s.so,{justify:"between",children:(0,m.jsx)(cf,{className:"my-1",status:e})})]})}),[n,a]),v=e=>{n.id&&(d((0,of.ld)({id:n.id})),d((0,ah.u8)()),d((0,ah.pH)(n.id)),d((0,ah.P3)(e)),"microshop"===e&&d((0,cp.K5)()))};return(0,m.jsxs)(lf,{children:[(0,m.jsx)(sf,{children:(0,m.jsx)(yp.Z,{isSelected:(null===p||void 0===p?void 0:p.id)===n.id,product:{...n,productName:n.name},onBuy:()=>{},buyIcon:i.rC2,buySubActions:[{label:(0,pc.t)("cart.add_one"),icon:i.qj_,onClick:()=>v("cart")},{label:(0,pc.t)("cart.createOffer"),icon:i.DO5,onClick:()=>v("offer")},{label:(0,pc.t)("microshop.create"),icon:i.vmT,onClick:()=>v("microshop")}],rows:g(),disableBuyButton:!h,priceText:(0,pc.t)("action.apply"),showPriceContainer:o,tags:f,onClick:e=>{e.preventDefault(),r()},useQuickView:!0},n.id)},n.id),n.id&&(0,m.jsx)(rf,{collectionId:n.id})]})},sf=p.Ay.div.withConfig({componentId:"sc-1uzgz0o-0"})(["position:relative;height:100%;"]),lf=p.Ay.div.withConfig({componentId:"sc-1uzgz0o-1"})([""]),cf=(0,p.Ay)(rl.Ay).withConfig({componentId:"sc-1uzgz0o-2"})(["font-size:14px;"]),uf=p.Ay.div.withConfig({componentId:"sc-lhv2kv-0"})(["display:grid;margin-bottom:2rem;grid-template-columns:repeat(auto-fill,minmax(245px,1fr));"]),df=e=>{let{pending:t}=e;const n=(0,c.jL)(),{t:r}=(0,d.B)(),i=(0,c.GV)(ah.de),o=(0,c.GV)(ah.S8);return t?(0,m.jsx)("div",{className:"flex-grow-1",children:(0,m.jsx)(Y.A,{count:2,height:420})}):(0,m.jsxs)(s.so,{className:"flex-grow-1",column:!0,justify:"between",children:[(0,m.jsx)(s.so,{justify:"between",align:"center",children:(0,m.jsx)(Fh,{})}),(0,m.jsx)(uf,{className:"flex-grow-1 position-relative",itemScope:!0,itemType:"https://schema.org/ItemList",itemProp:"itemListElement",children:null===i||void 0===i?void 0:i.map(((e,t)=>(0,m.jsx)(af,{collection:e,onClick:()=>e.id?n((0,ah.JC)({id:e.id})):null},`${e.id}_${t}`)))}),(0,m.jsx)(Gr.A,{page:o.page,pages:o.pages,pageSize:o.pageSize,itemCount:i.length,itemsTotal:o.total,label:r("collection.collection_other","Collections"),setPage:e=>{n((0,ah.Eh)({page:e})),n((0,ah.EO)())}}),!i.length&&(0,m.jsx)(gp,{heading:r("search.empty","No hits"),description:r("collection.noHitsContent","No collections could be found with current search criteria")})]})},pf=(0,p.Ay)(s.so).withConfig({componentId:"sc-mzl35w-0"})(["","{flex-direction:column;& > *{width:100%;}}"],(e=>{let{theme:t}=e;return t.media.lgBelow})),hf=(0,p.Ay)(s.so).withConfig({componentId:"sc-mzl35w-1"})(["","{max-width:250px;margin-right:10px;}"],(e=>{let{theme:t}=e;return t.media.lg})),ff=p.Ay.div.withConfig({componentId:"sc-mzl35w-2"})(["display:flex;flex-direction:column;align-items:center;text-align:center;margin:auto;min-width:300px;max-width:100vw;"]),mf=()=>{var e,t,n;const r=(0,c.jL)(),{t:i}=(0,d.B)(),o=(0,c.GV)(ah.Di),a=(0,c.GV)(ah.S8),l=(0,c.GV)(ah.wY),p=(0,c.GV)(ah.dG),h=(0,c.GV)(ah.Vn),f=null===l||void 0===l?void 0:l.collection,g=(0,c.GV)(Kt.mB),v=(0,c.cb)(),y=(0,c.d7)((e=>{e&&(r((0,ah.Eh)({...e,page:1})),r((0,ah.EO)()))}),500);(0,u.useEffect)((()=>{var e;null!==g&&void 0!==g&&null!==(e=g.customer)&&void 0!==e&&e.code&&r((0,ah.Lr)())}),[r,null===g||void 0===g||null===(e=g.customer)||void 0===e?void 0:e.code]),(0,u.useEffect)((()=>{var e;null===g||void 0===g||null===(e=g.customer)||void 0===e||!e.code||!p||null!==f&&void 0!==f&&f.id||(r((0,ah.EO)()),r((0,ah.gA)()))}),[p,r,null===f||void 0===f?void 0:f.id,null===g||void 0===g||null===(t=g.customer)||void 0===t?void 0:t.code]);const A=(0,u.useCallback)((()=>{r((0,ah.Hg)())}),[r]),b=(0,m.jsx)(s.K0,{square:!0,bgColor:"accent",color:"accentText",icon:K.QLR,onClick:()=>{r((0,ke.Gf)({type:"refinement",origin:"CollectionTool"}))},children:`${i("action.create")} ${i("collection.collection_one","Collection").toLowerCase()}`}),w={title:i("collection.collection_other","Collections"),description:(0,m.jsx)(s.so,{column:!0,children:i("collection.description","Your collections are gathered here.")}),content:(0,m.jsxs)("div",{children:[(0,m.jsx)(s.so,{justify:"end",className:"mb-3",children:!0===p&&b}),(0,m.jsxs)(s.xA,{children:[!0===p&&(0,m.jsx)(s.$K,{onlyChild:!0,gap:"1rem",children:(0,m.jsxs)(pf,{align:"start",className:"",children:[(h&&v.lg||v.lgBelow)&&(0,m.jsxs)(hf,{column:!0,children:[(0,m.jsx)(Lh,{pending:o,inputs:{search:null===a||void 0===a?void 0:a.search,from:null===a||void 0===a?void 0:a.from,to:null===a||void 0===a?void 0:a.to},onInputChange:y}),h&&(0,m.jsx)(Dh,{pending:o,onToggle:(e,t)=>{r((0,ah.L7)({filterItem:e,filterType:t})),r((0,ah.EO)())}})]}),(0,m.jsx)(df,{pending:o})]})}),!1===p&&(0,m.jsxs)(ff,{className:"mt-5",children:[(0,m.jsx)(Np,{className:"mb-3",size:31,children:i("collection.noContent","Create your first collection!")}),b]})]})]})},x={title:null!==(n=null===f||void 0===f?void 0:f.name)&&void 0!==n?n:i("collection.collection_one","Collection"),onBack:A,content:(0,m.jsx)(Ph,{})};return(0,m.jsx)(tl.A,{type:"Collections",children:{options:{sellingOrOverriding:!0},component:f?x:w}})};var gf=n(67857);const vf=()=>{const{t:e}=(0,d.B)(),t=(0,c.jL)(),[n,r]=(0,u.useState)({showInspectFileModal:!1,file:null}),o=e=>{r({...n,...e})},{files:a,loading:l,status:p}=(0,c.GV)((e=>{let{files:t}=e;return t})),h=(0,u.useRef)(null);(0,u.useEffect)((()=>{"uninitiated"===p&&t((0,gf.oc)())}),[t,p]);const f=a.length>0,g=f?a.map(((e,n)=>(0,m.jsx)(Af,{"data-testid":`file-item-${n}`,children:(0,m.jsxs)(Ef,{children:[(0,m.jsx)(If,{onClick:()=>o({showInspectFileModal:!0,file:e}),children:(0,m.jsx)(Sf,{src:e.url})}),(0,m.jsxs)(Cf,{children:[(0,m.jsxs)(bf,{className:"f1-200",fontSize:12,children:[(0,m.jsx)(s.d,{style:{margin:"0px 5px"},size:"lg",icon:i.xdS}),e.fileName]}),(0,m.jsx)(s.K0,{bgColor:"transparent",icon:i.yLS,onClick:()=>t((0,gf.WS)([e.fileName]))})]})]})},`lgc-${n}`))):(0,m.jsx)(m.Fragment,{}),{showInspectFileModal:v,file:y}=n;return(0,m.jsx)(tl.A,{type:"Files",children:{options:{sellingOrOverriding:!0},component:{title:e("file.file_other","Files"),content:(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(kf,{className:"my-4",multiple:!0,fileInputRef:h,handleDrop:async e=>{t((0,gf.Zn)((0,ja.HL)(e)))},uploadFiles:e=>(async e=>{t((0,gf.Zn)((0,ja.HL)(e)))})(e.target.files),allowedFiletypes:e("file.supported",".jpg, .jpeg, .png, .gif, .pdf and .svg. Max 5Mb.")}),l&&(0,m.jsx)(wf,{className:"ml-2"}),(0,m.jsx)(yf,{children:g}),!f&&(0,m.jsx)(xf,{children:e("file.none","No files have been uploaded yet. Add some files!")}),v&&y&&(0,m.jsx)(Ht.lG,{blur:!0,tint:!0,closeOutside:!0,header:null===y||void 0===y?void 0:y.fileName,onClose:()=>o({showInspectFileModal:!1}),height:"auto",width:"auto",children:(0,m.jsx)(_f,{children:(0,m.jsx)("img",{src:y.url,alt:y.fileName})})})]})}}})},yf=p.Ay.div.withConfig({componentId:"sc-1lk72l-0"})(["display:grid;grid-template-columns:repeat(auto-fill,180px);grid-gap:1em;"]),Af=p.Ay.div.withConfig({componentId:"sc-1lk72l-1"})([""]),bf=(0,p.Ay)(s.EY).withConfig({componentId:"sc-1lk72l-2"})(["margin:10px 6px 0px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;"]),wf=(0,p.Ay)(s.y$).withConfig({componentId:"sc-1lk72l-3"})(["font-size:30px;"]),xf=p.Ay.div.withConfig({componentId:"sc-1lk72l-4"})([""]),Cf=p.Ay.div.withConfig({componentId:"sc-1lk72l-5"})(["display:flex;justify-content:space-between;"]),Sf=(0,p.Ay)(s._V).withConfig({componentId:"sc-1lk72l-6"})(["margin:auto;max-height:100%;max-width:60px;"]),kf=(0,p.Ay)(s.ef).withConfig({componentId:"sc-1lk72l-7"})(["height:112px;max-width:400px;"]),Ef=p.Ay.div.withConfig({componentId:"sc-1lk72l-8"})(["background:",";width:180px;height:130px;cursor:pointer;transition:box-shadow 0.2s;&:hover{box-shadow:0 4px 8px 0 rgba(29,29,29,0.2),0 6px 20px 0 rgba(22,22,22,0.19);}"],(e=>{let{theme:t}=e;return t.colors.fillWhite})),If=p.Ay.div.withConfig({componentId:"sc-1lk72l-9"})(["border-top:solid 1px ",";border-bottom:solid 1px #f5f5f5;height:70%;display:flex;align-content:center;"],(e=>{let{theme:t}=e;return t.colors.fillHover})),_f=p.Ay.div.withConfig({componentId:"sc-1lk72l-10"})(["position:relative;padding:3rem 0.6rem 0.6rem;background-color:white;> img{max-width:calc(100vh - 10rem);max-height:calc(100vh - 10rem);}"]);var Pf=n(61545);const Of=p.Ay.h3.withConfig({componentId:"sc-dd4jjj-0"})([""]),Tf=p.Ay.div.withConfig({componentId:"sc-dd4jjj-1"})(["color:",";"],(e=>{let{theme:t,successful:n}=e;return n?t.colors.success:t.colors.error})),Df=(0,p.Ay)(s.$n).withConfig({componentId:"sc-dd4jjj-2"})(["font-size:14px;"]),jf=()=>{var e;const{t:t}=(0,d.B)(),n=(0,c.jL)(),r=(0,c.GV)(Gp.Kq),i=(0,c.GV)(Gp.RO),o=(0,c.d7)((e=>{e&&n((0,cp.Io)(e))}),300);return(0,m.jsxs)("form",{noValidate:!0,onSubmit:e=>{e.preventDefault();e.target.checkValidity()&&n((0,cp.qJ)(i.email))},children:[(0,m.jsx)(Of,{children:t("microshop.changeOwner","Change owner")}),(0,m.jsx)(s.dN,{className:"f3-700",children:t("microshop.currentOwner")}),null===r||void 0===r||null===(e=r.owner)||void 0===e?void 0:e.email,(0,m.jsxs)("div",{className:"py-4",children:[(0,m.jsx)(m.Fragment,{children:t("microshop.changeTo","Change to")}),(0,m.jsx)(s.pd,{type:"email",name:"email",placeholder:t("contact.email","Email"),className:"pb-3",onChange:e=>o(e.target.value),required:!0,validate:!!i.email}),i.resultMessage&&(0,m.jsx)(Tf,{className:"pb-3",successful:i.successful,children:i.resultMessage}),(0,m.jsx)(Df,{className:"d-block mt-3 mt-md-0 f1-400",height:35,children:(0,m.jsxs)(s.so,{align:"center",children:[i.pending&&(0,m.jsx)(s.y$,{className:"mr-2"}),t("action.change","Change")]})})]})]})},Bf=(0,p.Ay)(s.N_).withConfig({componentId:"sc-1n5lpo2-0"})(["text-decoration:none;&:hover{text-decoration:none;}"]),Nf=e=>{let{items:t,spinner:n,className:r}=e;const{t:i}=(0,d.B)(),o=(0,c.GV)(Gp.Kq),a=(0,c.GV)(Gp.ig),l=(0,c.GV)(Gp.jJ),u=(0,c.GV)(Gp.wk),p=(0,c.jL)();return(0,m.jsxs)(s.so,{align:"center",className:r,children:[n&&(0,m.jsx)(s.y$,{className:"mr-2"}),(null!==t&&void 0!==t?t:[{id:"save",label:i("action.save"),disabled:l,onClick:e=>{e.preventDefault(),p((0,cp.WH)())},highlight:!0},{id:"cancel",label:i("action.cancel"),disabled:u,onClick:()=>{const e=a.find((e=>e.id===(null===o||void 0===o?void 0:o.id)));e&&p((0,cp.lp)({...e,resetSelectedTab:!1}))}}]).map((e=>(0,m.jsx)(Mf,{className:"mr-2",disabled:e.disabled,bgColor:e.highlight?"main":"fillWhite",color:e.highlight&&!e.disabled?"mainText":void 0,onClick:e.onClick,children:e.label},e.id)))]})},Mf=(0,p.Ay)(s.$n).withConfig({componentId:"sc-1n5lpo2-1"})(["&:disabled{color:rgba(47,47,47) !important;}"]),Rf=t=>{const{t:n}=(0,d.B)(),r=(0,c.jL)(),o=(0,c.GV)(Kt.tO),a=(0,c.GV)(Gp.Kq),[l,p]=(0,u.useState)(!1);return{List:()=>{var i;return t.isCustomer?(0,m.jsx)(s._$,{bgColor:"fillWhite",square:!0,icon:J.cbP,fileName:`${n("microshop.microshop_other")}_${(new Date).toISOString().substring(0,10)}.xlsx`,apiCall:()=>e.Ay.microshopGetMicroshopsXlsx(),flexJustify:"flex-start",disabled:(null!==(i=t.totalMicroshops)&&void 0!==i?i:0)<=0,children:n("order.downloadExcel","Download Excel")}):(0,m.jsx)(s.K0,{bgColor:"accent",color:"accentText",square:!0,icon:J.QLR,onClick:()=>r((0,cp.dg)("Create")),children:n("microshop.create","Create new shop")})},Details:()=>(0,m.jsxs)(s.so,{children:[o&&(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(s.K0,{bgColor:"accent",color:"accentText",className:"mr-2 ml-2",square:!0,icon:J.rLL,onClick:e=>{p(!0)},children:n("microshop.changeOwner","Change owner")}),l&&(0,m.jsx)(Pf.A,{handleClose:()=>{p(!1),r((0,cp.k)({resultMessage:null,successful:!1}))},content:(0,m.jsx)(jf,{})})]}),(0,m.jsx)(Bf,{to:null!==a&&void 0!==a&&a.uri?`https://${null===a||void 0===a?void 0:a.uri}`:void 0,target:"_blank",children:(0,m.jsx)(s.K0,{bgColor:"accent",color:"accentText",square:!0,icon:i.pS3,onClick:e=>{e.stopPropagation()},children:n("microshop.visitShop","Show shop")})})]}),CreateNewUser:()=>null,OrderList:()=>null,OrderDetails:()=>null,Create:()=>null,Checkout:()=>null,UserList:()=>null,ImportUsers:()=>null,EditUser:()=>null}[t.type]()},Lf=p.Ay.span.withConfig({componentId:"sc-nqo69r-0"})([""]),Ff=p.Ay.span.withConfig({componentId:"sc-nqo69r-1"})(["min-height:40px;cursor:pointer;",""],(e=>{let{active:t,theme:n}=e;return t&&`\n    cursor: default;\n    color: ${n.colors.disabled};\n  `})),zf=(0,p.Ay)(s.so).withConfig({componentId:"sc-nqo69r-2"})(["width:100%;top:0;background-color:",";border-bottom:1px solid ",";"],(e=>{let{theme:t}=e;return t.colors.fillWhite}),(e=>{let{theme:t}=e;return t.colors.borderLight})),Qf=p.Ay.div.withConfig({componentId:"sc-nqo69r-3"})(["height:0;z-index:1002;top:40px;display:flex;flex-direction:column;overflow:hidden;transition:height 2s;background-color:",";",""],(e=>{let{theme:t}=e;return t.colors.fillWhite}),(e=>{let{open:t}=e;return t&&"\n    height: unset;\n    margin-bottom: 8px;\n  "})),Uf=(0,p.Ay)(s.Ul).withConfig({componentId:"sc-nqo69r-4"})(["display:flex;background-color:#eaeaea;flex-wrap:wrap;align-self:stretch;align-items:stretch;"]),Vf=p.Ay.li.withConfig({componentId:"sc-nqo69r-5"})(["display:flex;position:relative;align-items:center;padding:0.5rem 1rem;user-select:none;cursor:",";background-color:",";border-bottom:2px solid ",";&:hover{background-color:",";}"],(e=>{let{active:t}=e;return t?"normal":"pointer"}),(e=>{let{active:t,theme:n}=e;return t?(0,Ee.Qw)(.03,n.colors.fillMedium):n.colors.fillMedium}),(e=>{let{active:t,theme:n}=e;return t?n.colors.accent:"transparent"}),(e=>{let{theme:t,active:n}=e;return n?(0,Ee.Qw)(.03,t.colors.fillMedium):(0,Ee.Qw)(.06,t.colors.fillMedium)})),Gf=e=>{let{items:t,spinner:n,renderMobile:r,selectedTab:a}=e;const[l,c]=(0,u.useState)(!1),d=t.find((e=>e.id===a));return(0,m.jsxs)(m.Fragment,{children:[r&&(0,m.jsxs)(m.Fragment,{children:[(0,m.jsxs)(zf,{align:"center",justify:"between",className:"pr-2 py-2",onClick:()=>c((e=>!e)),children:[(0,m.jsx)(Lf,{className:"f3-500 pl-4",children:null===d||void 0===d?void 0:d.label}),(0,m.jsxs)(s.so,{align:"center",children:[n&&(0,m.jsx)(s.y$,{className:"mr-2"}),(0,m.jsx)(s.K0,{bgColor:"fillWhite",icon:l?i.w2A:i.Jt$})]})]}),(0,m.jsx)(Qf,{className:"mb-2",open:l,children:t.map((e=>(0,m.jsx)(Ff,{active:e.id===a,className:"px-4 pt-2",onClick:t=>{c(!1),e.onClick(t)},children:e.label},e.id)))})]}),!r&&(0,m.jsx)(Uf,{children:t.map((e=>(0,m.jsxs)(Vf,{active:e.disabled,className:e.disabled?"f3-500":"f3-400",onClick:e.onClick,children:[e.icon&&(0,m.jsx)(o.g,{icon:e.icon,className:"mr-2"}),e.label]},e.id)))})]})},qf=e=>{var t;let{setting:n}=e;return(0,m.jsxs)(Hf,{className:"mr-4",children:[(0,m.jsx)(Wf,{className:"f3-700",children:n.label}),(0,m.jsx)(s.ef,{small:!0,multiple:null!==(t=n.multiple)&&void 0!==t&&t,fileInputRef:n.inputRef,handleDrop:n.handleDrop,uploadFiles:n.uploadFiles,hoverFontSize:20})]})},Hf=p.Ay.div.withConfig({componentId:"sc-6nfqsg-0"})(["margin-bottom:55px;width:200px;height:200px;"]),Wf=(0,p.Ay)(s.dN).withConfig({componentId:"sc-6nfqsg-1"})(["font-size:18px;"]),Yf=e=>{let{children:t,className:n}=e;return(0,m.jsx)(Kf,{className:`${n} py-2`,children:t})},Kf=p.Ay.form.withConfig({componentId:"sc-1uqr3qd-0"})([""]),Jf=e=>{let{header:t}=e;return(0,m.jsx)(Xf,{children:(0,m.jsx)(Lp,{header:t})})},Xf=p.Ay.div.withConfig({componentId:"sc-105tiyl-0"})([""]),Zf=e=>{let{setting:t}=e;return(0,m.jsx)(s.Lz,{className:t.className?t.className:t.renderMobile?"w-100":"w-50",defaultValue:t.defaultValue,label:t.label,name:t.name,onChange:t.onChange})},$f=(0,p.Ay)(s._V).withConfig({componentId:"sc-g197ph-0"})(["height:100px;max-width:200px;"]),em=e=>{let{fileName:t,onRemove:n,onUndoRemove:r,removed:o,children:a}=e;return(0,m.jsxs)(nm,{removed:o,children:[a,(0,m.jsxs)(s.so,{className:"py-2",justify:"between",align:"center",children:[(0,m.jsx)(tm,{className:"m-0",children:t}),(0,m.jsx)(s.K0,{bgColor:"fillWhite",icon:o?i.bE_:i.yLS,onClick:o?r:n})]})]})},tm=p.Ay.span.withConfig({componentId:"sc-1n4e93p-0"})(["color:",";"],(e=>{let{removed:t,theme:n}=e;return t?n.colors.textDisabled:n.colors.fillBlack})),nm=p.Ay.div.withConfig({componentId:"sc-1n4e93p-1"})([""," height:100%;width:100%;"],(e=>{let{removed:t}=e;return t?"opacity: 0.5;":""})),rm={created:void 0,description:null,fileExtension:null,fileName:null,name:null,type:null,url:null},im=e=>{var t,n,r,i,o,a,l,p,h,f,g,v;let{renderMobile:y}=e;const A=(0,c.jL)(),{t:b}=(0,d.B)(),w=(0,c.GV)(Gp.lP),x=(0,c.GV)(Gp.Kq),C=(0,u.useRef)(null),[S,k]=(0,u.useState)({}),E=(0,u.useRef)(null),[I,_]=(0,u.useState)({}),P=(0,u.useMemo)((()=>e=>{A((0,cp.z8)(e))}),[A]),O=async(e,t,n)=>{const r=e[0];if(r){t({file:r,blobish:r instanceof File?URL.createObjectURL(r):r}),P({outcast:{value:r,type:n}})}"updateLogoType"===n&&P({logoType:void 0}),"updateBackgroundImage"===n&&P({backgroundImage:void 0})};return(0,u.useEffect)((()=>{var e;k({blobish:null===x||void 0===x||null===(e=x.logoType)||void 0===e?void 0:e.url})}),[null===x||void 0===x||null===(t=x.logoType)||void 0===t?void 0:t.url]),(0,u.useEffect)((()=>{var e;_({blobish:null===x||void 0===x||null===(e=x.backgroundImage)||void 0===e?void 0:e.url})}),[null===x||void 0===x||null===(n=x.backgroundImage)||void 0===n?void 0:n.url]),(0,m.jsxs)(Yf,{children:[(0,m.jsxs)(s.so,{column:y,align:"start",children:[(0,m.jsxs)(om,{className:"mr-4",column:!0,align:"start",justify:"start",children:[(0,m.jsx)(qf,{setting:{handleDrop:e=>O(e,k,"updateLogoType"),uploadFiles:e=>O(e.target.files,k,"updateLogoType"),label:b("microshop.logotype","Logotype"),inputRef:C}}),S.blobish&&(0,m.jsx)(em,{removed:!1,fileName:"",onRemove:e=>{e.preventDefault(),k({}),null!==C&&void 0!==C&&C.current&&(C.current.value=""),P({logoType:rm})},onUndoRemove:e=>{e.preventDefault()},children:(0,m.jsx)($f,{src:null!==(r=S.blobish)&&void 0!==r?r:"",alt:"Logotype"})})]}),(0,m.jsxs)(om,{column:!0,align:"start",justify:"start",children:[(0,m.jsx)(qf,{setting:{handleDrop:e=>O(e,_,"updateBackgroundImage"),uploadFiles:e=>O(e.target.files,_,"updateBackgroundImage"),label:b("microshop.backgroundImage","Background image"),inputRef:E}}),I.blobish&&(0,m.jsx)(em,{removed:!1,fileName:"",onRemove:e=>{e.preventDefault(),_({}),null!==E&&void 0!==E&&E.current&&(E.current.value=""),P({backgroundImage:rm})},onUndoRemove:e=>{e.preventDefault()},children:(0,m.jsx)($f,{src:I.blobish,alt:"Background image"})})]})]}),(0,m.jsxs)(s.so,{className:"mb-4",column:!0,children:[(0,m.jsx)(Zf,{setting:{renderMobile:y,className:"mb-2 "+(y?"w-100":"w-50"),name:"description",defaultValue:null!==(i=null===w||void 0===w?void 0:w.description)&&void 0!==i?i:"",label:b("pdf.description","Description"),onChange:Mn()((e=>{var t;return P({description:null===e||void 0===e||null===(t=e.target)||void 0===t?void 0:t.value})}),1e3)}}),(0,m.jsx)(Zf,{setting:{renderMobile:y,className:"mb-2 "+(y?"w-100":"w-50"),name:"bodyText",defaultValue:null!==(o=null===w||void 0===w?void 0:w.bodyText)&&void 0!==o?o:"",label:b("microshop.welcomeMessage","Welcome message"),onChange:Mn()((e=>{var t;return P({bodyText:null===e||void 0===e||null===(t=e.target)||void 0===t?void 0:t.value})}),1e3)}}),(0,m.jsx)(Jf,{header:b("microshop.footer","Footer")}),(0,m.jsx)(Vp,{setting:{renderMobile:y,className:"mb-2 "+(y?"w-100":"w-50"),defaultValue:null!==(a=null===w||void 0===w?void 0:w.contactName)&&void 0!==a?a:"",label:b("contact.contactName","Contact name"),name:"contactName",onChange:Mn()((e=>{var t;return P({contactName:null===e||void 0===e||null===(t=e.target)||void 0===t?void 0:t.value})}),1e3)}}),(0,m.jsx)(Vp,{setting:{renderMobile:y,className:"mb-2 "+(y?"w-100":"w-50"),defaultValue:null!==(l=null===w||void 0===w?void 0:w.contactEmail)&&void 0!==l?l:"",label:b("contact.email","E-mail"),name:"contactEmail",onChange:Mn()((e=>{var t;return P({contactEmail:null===e||void 0===e||null===(t=e.target)||void 0===t?void 0:t.value})}),1e3)}}),(0,m.jsx)(Vp,{setting:{renderMobile:y,className:"mb-2 "+(y?"w-100":"w-50"),defaultValue:null!==(p=null===w||void 0===w?void 0:w.contactPhone)&&void 0!==p?p:"",label:b("contact.phone","Phone number"),name:"contactPhone",onChange:Mn()((e=>{var t;return P({contactPhone:null===e||void 0===e||null===(t=e.target)||void 0===t?void 0:t.value})}),1e3)}}),(0,m.jsx)(Vp,{setting:{renderMobile:y,className:"mb-2 "+(y?"w-100":"w-50"),defaultValue:null!==(h=null===w||void 0===w?void 0:w.company)&&void 0!==h?h:"",label:b("contact.company","Company"),name:"company",onChange:Mn()((e=>{var t;return P({company:null===e||void 0===e||null===(t=e.target)||void 0===t?void 0:t.value})}),1e3)}}),(0,m.jsx)(Zf,{setting:{renderMobile:y,className:"mb-2 "+(y?"w-100":"w-50"),defaultValue:null!==(f=null===w||void 0===w?void 0:w.companyText)&&void 0!==f?f:"",label:b("contact.companyText","Company text"),name:"companyText",onChange:Mn()((e=>{var t;return P({companyText:null===e||void 0===e||null===(t=e.target)||void 0===t?void 0:t.value})}),1e3)}}),(0,m.jsx)(Vp,{setting:{renderMobile:y,className:"mb-2 "+(y?"w-100":"w-50"),defaultValue:null!==(g=null===w||void 0===w?void 0:w.legalNoticeUrl)&&void 0!==g?g:"",label:b("microshop.legalNotice","Legal notice"),name:"legalNotice",onChange:Mn()((e=>{var t;return P({legalNoticeUrl:null===e||void 0===e||null===(t=e.target)||void 0===t?void 0:t.value})}),1e3),placeholder:"http://"}}),(0,m.jsx)(Vp,{setting:{renderMobile:y,className:"mb-2 "+(y?"w-100":"w-50"),defaultValue:null!==(v=null===w||void 0===w?void 0:w.privacyPolicyUrl)&&void 0!==v?v:"",label:b("microshop.privacyPolicy","Privacy policy"),name:"privacyPolicy",onChange:Mn()((e=>{var t;return P({privacyPolicyUrl:null===e||void 0===e||null===(t=e.target)||void 0===t?void 0:t.value})}),1e3),placeholder:"http://"}})]}),(0,m.jsx)(Nf,{className:"mb-2"})]})},om=(0,p.Ay)(s.so).withConfig({componentId:"sc-rkgpi6-0"})(["width:200px;"]);var am=n(58168),sm=n(23029),lm=n(92901),cm=n(9417),um=n(85501),dm=n(56822),pm=n(53954),hm=n(64467),fm=n(4758);function mm(){return mm=fm?fm.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},mm.apply(null,arguments)}function gm(e,t){var n=(0,u.useState)((function(){return{inputs:t,result:e()}}))[0],r=(0,u.useRef)(!0),i=(0,u.useRef)(n),o=r.current||Boolean(t&&i.current.inputs&&function(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}(t,i.current.inputs))?i.current:{inputs:t,result:e()};return(0,u.useEffect)((function(){r.current=!1,i.current=o}),[o]),o.result}var vm=gm,ym=function(e,t){return gm((function(){return e}),t)},Am=n(92247),bm=n(34724);function wm(e,t){return wm=bm?bm.bind():function(e,t){return e.__proto__=t,e},wm(e,t)}function xm(e,t){e.prototype=Am(t.prototype),e.prototype.constructor=e,wm(e,t)}var Cm="Invariant failed";function Sm(e,t){if(!e)throw new Error(Cm)}var km=n(58522),Em=function(e){var t=e.top,n=e.right,r=e.bottom,i=e.left;return{top:t,right:n,bottom:r,left:i,width:n-i,height:r-t,x:i,y:t,center:{x:(n+i)/2,y:(r+t)/2}}},Im=function(e,t){return{top:e.top-t.top,left:e.left-t.left,bottom:e.bottom+t.bottom,right:e.right+t.right}},_m=function(e,t){return{top:e.top+t.top,left:e.left+t.left,bottom:e.bottom-t.bottom,right:e.right-t.right}},Pm={top:0,right:0,bottom:0,left:0},Om=function(e){var t=e.borderBox,n=e.margin,r=void 0===n?Pm:n,i=e.border,o=void 0===i?Pm:i,a=e.padding,s=void 0===a?Pm:a,l=Em(Im(t,r)),c=Em(_m(t,o)),u=Em(_m(c,s));return{marginBox:l,borderBox:Em(t),paddingBox:c,contentBox:u,margin:r,border:o,padding:s}},Tm=function(e){var t=e.slice(0,-2);if("px"!==e.slice(-2))return 0;var n=Number(t);return isNaN(n)&&Sm(!1),n},Dm=function(e,t){var n,r,i=e.borderBox,o=e.border,a=e.margin,s=e.padding,l=(r=t,{top:(n=i).top+r.y,left:n.left+r.x,bottom:n.bottom+r.y,right:n.right+r.x});return Om({borderBox:l,border:o,margin:a,padding:s})},jm=function(e,t){return void 0===t&&(t={x:window.pageXOffset,y:window.pageYOffset}),Dm(e,t)},Bm=function(e,t){var n={top:Tm(t.marginTop),right:Tm(t.marginRight),bottom:Tm(t.marginBottom),left:Tm(t.marginLeft)},r={top:Tm(t.paddingTop),right:Tm(t.paddingRight),bottom:Tm(t.paddingBottom),left:Tm(t.paddingLeft)},i={top:Tm(t.borderTopWidth),right:Tm(t.borderRightWidth),bottom:Tm(t.borderBottomWidth),left:Tm(t.borderLeftWidth)};return Om({borderBox:e,margin:n,padding:r,border:i})},Nm=function(e){var t=e.getBoundingClientRect(),n=window.getComputedStyle(e);return Bm(t,n)},Mm=Number.isNaN||function(e){return"number"===typeof e&&e!==e};function Rm(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(r=e[n],i=t[n],!(r===i||Mm(r)&&Mm(i)))return!1;var r,i;return!0}const Lm=function(e,t){var n;void 0===t&&(t=Rm);var r,i=[],o=!1;return function(){for(var a=[],s=0;s<arguments.length;s++)a[s]=arguments[s];return o&&n===this&&t(a,i)||(r=e.apply(this,a),o=!0,n=this,i=a),r}};var Fm=n(75938),zm=n.n(Fm),Qm=n(69736),Um=n.n(Qm),Vm=n(45249),Gm=n.n(Vm);const qm=function(e){var t=[],n=null,r=function(){for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];t=i,n||(n=requestAnimationFrame((function(){n=null,e.apply(void 0,t)})))};return r.cancel=function(){n&&(cancelAnimationFrame(n),n=null)},r};var Hm=n(23165),Wm=n.n(Hm);n(43929);function Ym(e){return-1!==e.message.indexOf("Invariant failed")}var Km=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).onError=void 0,t.setOnError=function(e){t.onError=e},t.onFatalError=function(e){t.onError&&t.onError(),Ym(e)&&t.setState({})},t}xm(t,e);var n=t.prototype;return n.componentDidMount=function(){window.addEventListener("error",this.onFatalError)},n.componentWillUnmount=function(){window.removeEventListener("error",this.onFatalError)},n.componentDidCatch=function(e){if(this.onFatalError(e),!Ym(e))throw e},n.render=function(){return this.props.children(this.setOnError)},t}(u.Component),Jm={x:0,y:0},Xm=function(e,t){return{x:e.x+t.x,y:e.y+t.y}},Zm=function(e,t){return{x:e.x-t.x,y:e.y-t.y}},$m=function(e,t){return e.x===t.x&&e.y===t.y},eg=function(e){return{x:0!==e.x?-e.x:0,y:0!==e.y?-e.y:0}},tg=function(e,t,n){var r;return void 0===n&&(n=0),(r={})[e]=t,r["x"===e?"y":"x"]=n,r},ng=function(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))},rg=function(e,t){return Math.min.apply(Math,t.map((function(t){return ng(e,t)})))},ig=function(e){return function(t){return{x:e(t.x),y:e(t.y)}}},og=function(e,t){return{top:e.top+t.y,left:e.left+t.x,bottom:e.bottom+t.y,right:e.right+t.x}},ag=function(e){return[{x:e.left,y:e.top},{x:e.right,y:e.top},{x:e.left,y:e.bottom},{x:e.right,y:e.bottom}]},sg=function(e,t){return t&&t.shouldClipSubject?function(e,t){var n=Em({top:Math.max(t.top,e.top),right:Math.min(t.right,e.right),bottom:Math.min(t.bottom,e.bottom),left:Math.max(t.left,e.left)});return n.width<=0||n.height<=0?null:n}(t.pageMarginBox,e):Em(e)},lg=function(e){var t=e.page,n=e.withPlaceholder,r=e.axis,i=e.frame,o=function(e,t){return t?og(e,t.scroll.diff.displacement):e}(t.marginBox,i),a=function(e,t,n){var r;return n&&n.increasedBy?mm({},e,((r={})[t.end]=e[t.end]+n.increasedBy[t.line],r)):e}(o,r,n);return{page:t,withPlaceholder:n,active:sg(a,i)}},cg=function(e,t){e.frame||Sm(!1);var n=e.frame,r=Zm(t,n.scroll.initial),i=eg(r),o=mm({},n,{scroll:{initial:n.scroll.initial,current:t,diff:{value:r,displacement:i},max:n.scroll.max}});return mm({},e,{frame:o,subject:lg({page:e.subject.page,withPlaceholder:e.subject.withPlaceholder,axis:e.axis,frame:o})})},ug=function(e){var t=e.merge,n=e.destination;return n?n.droppableId:t?t.combine.droppableId:null};function dg(e){return zm()(e)}function pg(e,t){if(e.findIndex)return e.findIndex(t);for(var n=0;n<e.length;n++)if(t(e[n]))return n;return-1}function hg(e,t){if(e.find)return e.find(t);var n=pg(e,t);return-1!==n?e[n]:void 0}var fg=Lm((function(e){return e.reduce((function(e,t){return e[t.descriptor.id]=t,e}),{})})),mg=Lm((function(e){return e.reduce((function(e,t){return e[t.descriptor.id]=t,e}),{})})),gg=Lm((function(e){return dg(e)})),vg=Lm((function(e){return dg(e)})),yg=function(e,t){return function(n){return e<=n&&n<=t}},Ag=function(e){var t=yg(e.top,e.bottom),n=yg(e.left,e.right);return function(e){return t(e.y)&&t(e.y)&&n(e.x)&&n(e.x)}},bg=Lm((function(e,t){var n=vg(t).filter((function(t){return e===t.descriptor.droppableId})).sort((function(e,t){return e.descriptor.index-t.descriptor.index}));return n})),wg={direction:"vertical",line:"y",crossAxisLine:"x",start:"top",end:"bottom",size:"height",crossAxisStart:"left",crossAxisEnd:"right",crossAxisSize:"width"},xg={direction:"horizontal",line:"x",crossAxisLine:"y",start:"left",end:"right",size:"width",crossAxisStart:"top",crossAxisEnd:"bottom",crossAxisSize:"height"},Cg=function(e,t){return e===wg?"down"===t.vertical:"right"===t.horizontal},Sg=function(e,t){return Boolean(t.wasDisplaced[e])},kg=function(e){var t=e.displaced,n=e.onLift,r=e.combineWith,i=e.displacedBy,o=Boolean(t[r]);return Sg(r,n)?o?Jm:eg(i.point):o?i.point:Jm},Eg=function(e,t,n){return n?e!==n.combine.draggableId?t:n.whenEntered:t},Ig=function(e){var t=e.pageBorderBoxCenterWithDroppableScrollChange,n=e.previousImpact,r=e.destination,i=e.insideDestinationWithoutDraggable,o=e.userDirection,a=e.onLift;if(!r.isCombineEnabled)return null;var s=r.axis,l=n.movement.map,c=n.movement.displacedBy,u=n.merge,d=hg(i,(function(e){var n=e.descriptor.id,r=kg({displaced:l,onLift:a,combineWith:n,displacedBy:c});return function(e){var t=e.id,n=e.currentCenter,r=e.axis,i=e.borderBox,o=e.displaceBy,a=e.currentUserDirection,s=e.oldMerge,l=i[r.start]+o[r.line],c=i[r.end]+o[r.line],u=.666*i[r.size],d=Eg(t,a,s),p=Cg(r,d),h=n[r.line];return p?yg(l,l+u)(h):yg(c-u,c)(h)}({id:n,currentCenter:t,axis:s,borderBox:e.page.borderBox,displaceBy:r,currentUserDirection:o,oldMerge:u})}));return d?mm({},n,{destination:null,merge:{whenEntered:Eg(d.descriptor.id,o,u),combine:{draggableId:d.descriptor.id,droppableId:r.descriptor.id}}}):null},_g=function(e){var t=yg(e.top,e.bottom),n=yg(e.left,e.right);return function(r){if(t(r.top)&&t(r.bottom)&&n(r.left)&&n(r.right))return!0;var i=t(r.top)||t(r.bottom),o=n(r.left)||n(r.right);if(i&&o)return!0;var a=r.top<e.top&&r.bottom>e.bottom,s=r.left<e.left&&r.right>e.right;return!(!a||!s)||(a&&o||s&&i)}},Pg=function(e){var t=yg(e.top,e.bottom),n=yg(e.left,e.right);return function(e){return t(e.top)&&t(e.bottom)&&n(e.left)&&n(e.right)}},Og=function(e){var t=e.target,n=e.destination,r=e.viewport,i=e.withDroppableDisplacement,o=e.isVisibleThroughFrameFn,a=i?function(e,t){var n=t.frame?t.frame.scroll.diff.displacement:Jm;return og(e,n)}(t,n):t;return function(e,t,n){return!!t.subject.active&&n(t.subject.active)(e)}(a,n,o)&&function(e,t,n){return n(t)(e)}(a,r,o)},Tg=function(e){return Og(mm({},e,{isVisibleThroughFrameFn:_g}))},Dg=function(e){return Og(mm({},e,{isVisibleThroughFrameFn:Pg}))},jg=function(e){var t=e.draggable,n=e.destination,r=e.previousImpact,i=e.viewport,o=e.onLift,a=e.forceShouldAnimate,s=t.descriptor.id,l=r.movement.map,c=function(e,t){var n=e.page.marginBox;if(!Sg(e.descriptor.id,t))return n;var r={top:t.displacedBy.point.y,right:0,bottom:0,left:t.displacedBy.point.x};return Em(Im(n,r))}(t,o),u=Tg({target:c,destination:n,viewport:i,withDroppableDisplacement:!0}),d=function(e,t,n){return"boolean"===typeof e?e:!!t&&(!n||n.shouldAnimate)}(a,u,l[s]);return{draggableId:s,isVisible:u,shouldAnimate:d}},Bg=Lm((function(e){return e.reduce((function(e,t){return e[t.draggableId]=t,e}),{})})),Ng=Lm((function(e,t){var n=t[e.line];return{value:n,point:tg(e.line,n)}})),Mg={displaced:[],map:{},displacedBy:{point:Jm,value:0}},Rg={movement:Mg,destination:null,merge:null},Lg=Lm((function(e,t){return t.filter((function(t){return t.descriptor.id!==e.descriptor.id}))})),Fg=function(e){var t=e.pageBorderBoxCenter,n=e.draggable,r=e.draggables,i=e.droppables,o=e.previousImpact,a=e.viewport,s=e.userDirection,l=e.onLift,c=function(e){var t=e.target,n=e.droppables,r=hg(gg(n),(function(e){if(!e.isEnabled)return!1;var n=e.subject.active;return!!n&&Ag(n)(t)}));return r?r.descriptor.id:null}({target:t,droppables:i});if(!c)return Rg;var u=i[c],d=bg(u.descriptor.id,r),p=Lg(n,d),h=function(e,t){var n=e.frame;return n?Xm(t,n.scroll.diff.value):t}(u,t),f=Ig({pageBorderBoxCenterWithDroppableScrollChange:h,previousImpact:o,destination:u,insideDestinationWithoutDraggable:p,userDirection:s,onLift:l});return f||function(e){var t=e.pageBorderBoxCenterWithDroppableScrollChange,n=e.draggable,r=e.destination,i=e.insideDestinationWithoutDraggable,o=e.previousImpact,a=e.viewport,s=e.userDirection,l=e.onLift,c=r.axis,u=Cg(r.axis,s),d=Ng(r.axis,n.displaceBy),p=t[c.line],h=d.value,f=i.filter((function(e){var t=e.page.borderBox,n=t[c.start],r=t[c.end],i=Sg(e.descriptor.id,l);return u?i?p<n:p<n+h:i?p<=r-h:p<=r})).map((function(e){return jg({draggable:e,destination:r,previousImpact:o,viewport:a.frame,onLift:l})})),m=i.length-f.length;return{movement:{displacedBy:d,displaced:f,map:Bg(f)},destination:{droppableId:r.descriptor.id,index:m},merge:null}}({pageBorderBoxCenterWithDroppableScrollChange:h,destination:u,draggable:n,insideDestinationWithoutDraggable:p,previousImpact:o,viewport:a,userDirection:s,onLift:l})},zg=function(e){var t,n=e.draggable,r=e.home,i=e.draggables,o=e.viewport,a=Ng(r.axis,n.displaceBy),s=bg(r.descriptor.id,i).slice(n.descriptor.index+1),l={displacedBy:a,wasDisplaced:s.reduce((function(e,t){return e[t.descriptor.id]=!0,e}),{})},c=s.map((function(e){return jg({draggable:e,destination:r,previousImpact:Rg,viewport:o.frame,forceShouldAnimate:!1,onLift:l})}));return{impact:{movement:{displaced:c,map:Bg(c),displacedBy:a},destination:(t=n.descriptor,{index:t.index,droppableId:t.droppableId}),merge:null},onLift:l}},Qg=function(e){var t=e.draggable,n=e.offset,r=e.initialWindowScroll,i=Dm(t.client,n),o=jm(i,r);return mm({},t,{placeholder:mm({},t.placeholder,{client:i}),client:i,page:o})},Ug=function(e){var t=e.updatedDroppables,n=e.criticalId,r=e.existing,i=e.additions,o=e.removals,a=e.viewport,s=function(e){var t=e.existing,n=e.droppables,r=e.additions,i=e.removals,o=e.viewport,a={};return gg(n).forEach((function(e){var n=e.axis,s=bg(e.descriptor.id,t),l={},c=function(e,t){var n=l[e];l[e]=n?{indexChange:n.indexChange+t.indexChange,offset:Xm(n.offset,t.offset)}:t},u=mg(i.map((function(e){var n=t[e];return n||Sm(!1),n})).filter((function(t){return t.descriptor.droppableId===e.descriptor.id}))),d=s.filter((function(e,t){if(!Boolean(u[e.descriptor.id]))return!0;var r=eg(tg(n.line,e.displaceBy[n.line]));return s.slice(t).forEach((function(e){u[e.descriptor.id]||c(e.descriptor.id,{indexChange:-1,offset:r})})),!1})),p=r.filter((function(t){return t.descriptor.droppableId===e.descriptor.id})),h=d.slice(0);p.forEach((function(e){h.splice(e.descriptor.index,0,e)}));var f=mg(p);h.forEach((function(e,t){if(Boolean(f[e.descriptor.id])){var r=tg(n.line,e.client.marginBox[n.size]);h.slice(t).forEach((function(e){f[e.descriptor.id]||c(e.descriptor.id,{indexChange:1,offset:r})}))}})),h.forEach((function(e){if(!f[e.descriptor.id]){var t=l[e.descriptor.id];if(t){var n=Qg({draggable:e,offset:t.offset,initialWindowScroll:o.scroll.initial}),r=e.descriptor.index+t.indexChange,i=mm({},n,{descriptor:mm({},e.descriptor,{index:r})});a[n.descriptor.id]=i}}}))})),mm({},t,a)}({droppables:t,existing:r,additions:i,removals:o,viewport:a}),l=s[n],c=t[l.descriptor.droppableId],u=function(e){var t=e.additions,n=e.updatedDroppables,r=e.viewport,i=r.scroll.diff.value;return t.map((function(e){var t=e.descriptor.droppableId,o=n[t].frame;o||Sm(!1);var a=o.scroll.diff.value,s=Xm(i,a);return Qg({draggable:e,offset:s,initialWindowScroll:r.scroll.initial})}))}({additions:i,updatedDroppables:t,viewport:a}),d=function(e){var t=e.additions,n=e.dragging,r=e.home,i=e.viewport,o=Ng(r.axis,n.displaceBy);return t.map((function(e){return e.descriptor.droppableId!==r.descriptor.id||e.descriptor.index<n.descriptor.index?e:Qg({draggable:e,offset:o.point,initialWindowScroll:i.scroll.initial})}))}({additions:u,dragging:l,home:c,viewport:a}),p=mm({},s,mg(d));return o.forEach((function(e){delete p[e]})),p},Vg=function(e){var t=e.scrollHeight,n=e.scrollWidth,r=e.height,i=e.width,o=Zm({x:n,y:t},{x:i,y:r});return{x:Math.max(0,o.x),y:Math.max(0,o.y)}},Gg=function(e){var t=e.descriptor,n=e.isEnabled,r=e.isCombineEnabled,i=e.isFixedOnPage,o=e.direction,a=e.client,s=e.page,l=e.closest,c=function(){if(!l)return null;var e=l.scrollSize,t=l.client,n=Vg({scrollHeight:e.scrollHeight,scrollWidth:e.scrollWidth,height:t.paddingBox.height,width:t.paddingBox.width});return{pageMarginBox:l.page.marginBox,frameClient:t,scrollSize:e,shouldClipSubject:l.shouldClipSubject,scroll:{initial:l.scroll,current:l.scroll,max:n,diff:{value:Jm,displacement:Jm}}}}(),u="vertical"===o?wg:xg;return{descriptor:t,isCombineEnabled:r,isFixedOnPage:i,axis:u,isEnabled:n,client:a,page:s,frame:c,subject:lg({page:s,withPlaceholder:null,axis:u,frame:c})}},qg=function(e,t){return e.descriptor.droppableId===t.descriptor.id},Hg=function(e,t){return mm({},e,{scroll:mm({},e.scroll,{max:t})})},Wg=function(e,t,n){var r=e.frame;qg(t,e)&&Sm(!1),e.subject.withPlaceholder&&Sm(!1);var i=Ng(e.axis,t.displaceBy).point,o=function(e,t,n){var r=e.axis,i=e.subject.page.contentBox[r.size],o=bg(e.descriptor.id,n).reduce((function(e,t){return e+t.client.marginBox[r.size]}),0)+t[r.line]-i;return o<=0?null:tg(r.line,o)}(e,i,n),a={placeholderSize:i,increasedBy:o,oldFrameMaxScroll:e.frame?e.frame.scroll.max:null};if(!r)return mm({},e,{subject:lg({page:e.subject.page,withPlaceholder:a,axis:e.axis,frame:e.frame})});var s=o?Xm(r.scroll.max,o):r.scroll.max,l=Hg(r,s);return mm({},e,{subject:lg({page:e.subject.page,withPlaceholder:a,axis:e.axis,frame:l}),frame:l})},Yg=function(e){var t=e.subject.withPlaceholder;t||Sm(!1);var n=e.frame;if(!n)return mm({},e,{subject:lg({page:e.subject.page,axis:e.axis,frame:null,withPlaceholder:null})});var r=t.oldFrameMaxScroll;r||Sm(!1);var i=Hg(n,r);return mm({},e,{subject:lg({page:e.subject.page,axis:e.axis,frame:i,withPlaceholder:null}),frame:i})},Kg=function(e){var t=e.frame;return t||Sm(!1),t},Jg=function(e,t){var n;return mm({},e,((n={})[t.descriptor.id]=t,n))},Xg=function(e){var t=e.draggable,n=e.draggables,r=e.droppables,i=e.previousImpact,o=e.impact,a=function(e){var t=e.previousImpact,n=e.impact,r=e.droppables,i=ug(t),o=ug(n);if(!i)return r;if(i===o)return r;var a=r[i];if(!a.subject.withPlaceholder)return r;var s=Yg(a);return Jg(r,s)}({previousImpact:i,impact:o,droppables:r}),s=ug(o);if(!s)return a;var l=r[s];if(qg(t,l))return a;if(l.subject.withPlaceholder)return a;var c=Wg(l,t,n);return Jg(a,c)},Zg=function(e){var t,n,r=e.state,i=e.published,o=function(e){var t=e.modified,n=e.existing,r=e.viewport;if(!t.length)return n;var i=t.map((function(e){var t=n[e.descriptor.id];t||Sm(!1);var i,o,a=Boolean(t.subject.withPlaceholder)?Yg(t):t,s=a.client,l=e.client,c=Kg(a),u=Kg(e),d=Om({borderBox:(a.axis,i=s.borderBox,o=l.borderBox,{top:i.top,left:i.left,right:i.left+o.width,bottom:i.top+o.height}),margin:s.margin,border:s.border,padding:s.padding}),p={client:c.frameClient,page:jm(c.frameClient,r.scroll.initial),shouldClipSubject:c.shouldClipSubject,scrollSize:u.scrollSize,scroll:c.scroll.initial},h=Gg({descriptor:e.descriptor,isEnabled:e.isEnabled,isCombineEnabled:e.isCombineEnabled,isFixedOnPage:e.isFixedOnPage,direction:e.axis.direction,client:d,page:jm(d,r.scroll.initial),closest:p});return cg(h,u.scroll.current)}));return mm({},n,fg(i))}({modified:i.modified,existing:r.dimensions.droppables,viewport:r.viewport}),a=Ug({updatedDroppables:o,criticalId:r.critical.draggable.id,existing:r.dimensions.draggables,additions:i.additions,removals:i.removals,viewport:r.viewport}),s={draggable:a[r.critical.draggable.id].descriptor,droppable:o[r.critical.droppable.id].descriptor},l=r.dimensions.draggables[s.draggable.id],c=a[s.draggable.id],u={draggables:a,droppables:Xg({draggable:c,draggables:a,droppables:o,previousImpact:r.impact,impact:r.impact})},d=function(e){var t=e.initial,n=e.current,r=e.oldClientBorderBoxCenter,i=e.newClientBorderBoxCenter,o=e.viewport,a=Zm(i,r),s=function(){var e={selection:Xm(t.client.selection,a),borderBoxCenter:i,offset:Jm};return{client:e,page:{selection:Xm(e.selection,o.scroll.initial),borderBoxCenter:Xm(e.selection,o.scroll.initial)}}}(),l=function(){var e=eg(a),t=Xm(n.client.offset,e),r={selection:Xm(s.client.selection,t),borderBoxCenter:Xm(s.client.borderBoxCenter,t),offset:t},i={selection:Xm(r.selection,o.scroll.current),borderBoxCenter:Xm(r.borderBoxCenter,o.scroll.current)};return $m(n.client.borderBoxCenter,r.borderBoxCenter)||Sm(!1),{client:r,page:i}}();return{current:l,initial:s}}({initial:r.initial,current:r.current,oldClientBorderBoxCenter:l.client.borderBox.center,newClientBorderBoxCenter:c.client.borderBox.center,viewport:r.viewport}),p=d.initial,h=d.current,f=zg({draggable:c,home:u.droppables[s.droppable.id],draggables:u.draggables,viewport:r.viewport}),m=f.impact,g=f.onLift,v=function(e){var t=e.movement.displaced;if(!t.length)return e;var n=t.map((function(e){return e.isVisible&&e.shouldAnimate?mm({},e,{shouldAnimate:!1}):e}));return mm({},e,{movement:mm({},e.movement,{displaced:n,map:Bg(n)})})}(Fg({pageBorderBoxCenter:h.page.borderBoxCenter,draggable:c,draggables:u.draggables,droppables:u.droppables,previousImpact:m,viewport:r.viewport,userDirection:r.userDirection,onLift:g}));Boolean("SNAP"===r.movementMode&&!ug(v))&&Sm(!1);var y=mm({phase:"DRAGGING"},r,((t={}).phase="DRAGGING",t.critical=s,t.current=h,t.initial=p,t.impact=v,t.dimensions=u,t.onLift=g,t.onLiftImpact=m,t.forceShouldAnimate=!1,t));return"COLLECTING"===r.phase?y:mm({phase:"DROP_PENDING"},y,((n={}).phase="DROP_PENDING",n.reason=r.reason,n.isWaiting=!1,n))},$g={vertical:"down",horizontal:"right"},ev={vertical:"up",horizontal:"left"},tv=function(e){var t=e.isMovingForward,n=e.isInHomeList,r=e.draggable,i=e.draggables,o=e.destination,a=e.insideDestination,s=e.previousImpact,l=e.onLift,c=s.destination?function(e){var t=e.isMovingForward,n=e.isInHomeList,r=e.draggable,i=e.insideDestination,o=e.location,a=i.slice(),s=o.index;!n&&a.splice(o.index,0,r);var l=t?s+1:s-1;return l<0||l>a.length-1?null:{proposedIndex:l,modifyDisplacement:!0}}({isMovingForward:t,isInHomeList:n,draggable:r,location:s.destination,insideDestination:a}):s.merge?function(e){var t=e.isMovingForward,n=e.destination,r=e.previousImpact,i=e.draggables,o=e.merge,a=e.onLift;if(!n.isCombineEnabled)return null;var s=r.movement,l=o.combine.draggableId,c=i[l].descriptor.index;return Sg(l,a)?s.map[l]?t?{proposedIndex:c,modifyDisplacement:!0}:{proposedIndex:c-1,modifyDisplacement:!1}:t?{proposedIndex:c,modifyDisplacement:!1}:{proposedIndex:c-1,modifyDisplacement:!0}:Boolean(s.map[l])?t?{proposedIndex:c+1,modifyDisplacement:!0}:{proposedIndex:c,modifyDisplacement:!1}:t?{proposedIndex:c+1,modifyDisplacement:!1}:{proposedIndex:c,modifyDisplacement:!0}}({isMovingForward:t,destination:o,previousImpact:s,draggables:i,merge:s.merge,onLift:l}):null;if(null==c)return null;var u=c.proposedIndex,d=c.modifyDisplacement,p=Ng(o.axis,r.displaceBy),h=function(){var e=s.movement.displaced;return d?t?function(e){return e.slice(1)}(e):function(e,t){return[{draggableId:e.descriptor.id,isVisible:!0,shouldAnimate:!0}].concat(t)}(Lg(r,a)[u],e):e}();return{movement:{displacedBy:p,displaced:h,map:Bg(h)},destination:{droppableId:o.descriptor.id,index:u},merge:null}},nv=function(e,t){return t.margin[e.start]+t.borderBox[e.size]/2},rv=function(e,t,n){return t[e.crossAxisStart]+n.margin[e.crossAxisStart]+n.borderBox[e.crossAxisSize]/2},iv=function(e){var t=e.axis,n=e.moveRelativeTo,r=e.isMoving;return tg(t.line,n.marginBox[t.end]+nv(t,r),rv(t,n.marginBox,r))},ov=function(e){var t=e.axis,n=e.moveRelativeTo,r=e.isMoving;return tg(t.line,n.marginBox[t.start]-function(e,t){return t.margin[e.end]+t.borderBox[e.size]/2}(t,r),rv(t,n.marginBox,r))},av=function(e){var t=e.movement,n=e.draggable,r=e.draggables,i=e.droppable,o=e.onLift,a=bg(i.descriptor.id,r),s=n.page,l=i.axis;if(!a.length)return function(e){var t=e.axis,n=e.moveInto,r=e.isMoving;return tg(t.line,n.contentBox[t.start]+nv(t,r),rv(t,n.contentBox,r))}({axis:l,moveInto:i.page,isMoving:s});var c=t.displaced,u=t.displacedBy;if(c.length){var d=r[c[0].draggableId];if(Sg(d.descriptor.id,o))return ov({axis:l,moveRelativeTo:d.page,isMoving:s});var p=Dm(d.page,u.point);return ov({axis:l,moveRelativeTo:p,isMoving:s})}var h=a[a.length-1];if(h.descriptor.id===n.descriptor.id)return s.borderBox.center;if(Sg(h.descriptor.id,o)){var f=Dm(h.page,eg(o.displacedBy.point));return iv({axis:l,moveRelativeTo:f,isMoving:s})}return iv({axis:l,moveRelativeTo:h.page,isMoving:s})},sv=function(e,t){var n=e.frame;return n?Xm(t,n.scroll.diff.displacement):t},lv=function(e){var t=e.impact,n=e.draggable,r=e.droppable,i=e.draggables,o=e.onLift,a=t.merge,s=t.destination,l=n.page.borderBox.center;return r?s?av({movement:t.movement,draggable:n,draggables:i,droppable:r,onLift:o}):a?function(e){var t=e.combine,n=e.onLift,r=e.movement,i=e.draggables,o=t.draggableId,a=i[o].page.borderBox.center,s=kg({displaced:r.map,onLift:n,combineWith:o,displacedBy:r.displacedBy});return Xm(a,s)}({movement:t.movement,combine:a.combine,draggables:i,onLift:o}):l:l},cv=function(e){var t=lv(e),n=e.droppable;return n?sv(n,t):t},uv=function(e,t){var n=Zm(t,e.scroll.initial),r=eg(n);return{frame:Em({top:t.y,bottom:t.y+e.frame.height,left:t.x,right:t.x+e.frame.width}),scroll:{initial:e.scroll.initial,max:e.scroll.max,current:t,diff:{value:n,displacement:r}}}},dv=function(e,t){return mm({},e,{movement:mm({},e.movement,{displaced:t,map:Bg(t)})})},pv=function(e){var t=e.pageBorderBoxCenter,n=e.draggable,r=function(e,t){return Xm(e.scroll.diff.displacement,t)}(e.viewport,t),i=Zm(r,n.page.borderBox.center);return Xm(n.client.borderBox.center,i)},hv=function(e){var t=e.draggable,n=e.destination,r=e.newPageBorderBoxCenter,i=e.viewport,o=e.withDroppableDisplacement,a=e.onlyOnMainAxis,s=void 0!==a&&a,l=Zm(r,t.page.borderBox.center),c={target:og(t.page.borderBox,l),destination:n,withDroppableDisplacement:o,viewport:i};return s?function(e){return Og(mm({},e,{isVisibleThroughFrameFn:(t=e.destination.axis,function(e){var n=yg(e.top,e.bottom),r=yg(e.left,e.right);return function(e){return t===wg?n(e.top)&&n(e.bottom):r(e.left)&&r(e.right)}})}));var t}(c):Dg(c)},fv=function(e){var t=e.isMovingForward,n=e.draggable,r=e.destination,i=e.draggables,o=e.previousImpact,a=e.viewport,s=e.previousPageBorderBoxCenter,l=e.previousClientSelection,c=e.onLift;if(!r.isEnabled)return null;var u=bg(r.descriptor.id,i),d=qg(n,r),p=function(e){var t=e.isMovingForward,n=e.isInHomeList,r=e.draggable,i=e.destination,o=e.insideDestination,a=e.previousImpact;if(!i.isCombineEnabled)return null;if(a.merge)return null;var s=a.destination;s||Sm(!1);var l=s.index,c=function(){var e=o.slice();return n&&e.splice(r.descriptor.index,1),e.splice(s.index,0,r),e}(),u=t?l+1:l-1;if(u<0)return null;if(u>c.length-1)return null;var d=c[u];d===r&&Sm(!1);var p={whenEntered:t?$g:ev,combine:{draggableId:d.descriptor.id,droppableId:i.descriptor.id}};return{movement:a.movement,destination:null,merge:p}}({isInHomeList:d,isMovingForward:t,draggable:n,destination:r,insideDestination:u,previousImpact:o})||tv({isMovingForward:t,isInHomeList:d,draggable:n,draggables:i,destination:r,insideDestination:u,previousImpact:o,onLift:c});if(!p)return null;var h=cv({impact:p,draggable:n,droppable:r,draggables:i,onLift:c});if(hv({draggable:n,destination:r,newPageBorderBoxCenter:h,viewport:a.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0}))return{clientSelection:pv({pageBorderBoxCenter:h,draggable:n,viewport:a}),impact:p,scrollJumpRequest:null};var f=Zm(h,s),m=function(e){var t=e.impact,n=e.viewport,r=e.destination,i=e.draggables,o=e.maxScrollChange,a=e.onLift,s=t.movement.displaced,l=uv(n,Xm(n.scroll.current,o)),c=r.frame?cg(r,Xm(r.frame.scroll.current,o)):r,u=s.map((function(e){if(e.isVisible)return e;var o=i[e.draggableId],s=jg({draggable:o,destination:r,previousImpact:t,viewport:l.frame,onLift:a,forceShouldAnimate:!1});if(s.isVisible)return s;var u=jg({draggable:o,destination:c,previousImpact:t,viewport:n.frame,onLift:a,forceShouldAnimate:!1});return u.isVisible?u:e}));return dv(t,u)}({impact:p,viewport:a,destination:r,draggables:i,maxScrollChange:f,onLift:c});return{clientSelection:l,impact:m,scrollJumpRequest:f}},mv=function(e){var t=e.subject.active;return t||Sm(!1),t},gv=function(e,t){var n=e.page.borderBox.center;return Sg(e.descriptor.id,t)?Zm(n,t.displacedBy.point):n},vv=function(e,t){var n=e.page.borderBox;return Sg(e.descriptor.id,t)?og(n,eg(t.displacedBy.point)):n},yv=function(e){var t=e.isMovingForward,n=e.previousPageBorderBoxCenter,r=e.draggable,i=e.isOver,o=e.draggables,a=e.droppables,s=e.previousImpact,l=e.viewport,c=e.onLift,u=function(e){var t=e.isMovingForward,n=e.pageBorderBoxCenter,r=e.source,i=e.droppables,o=e.viewport,a=r.subject.active;if(!a)return null;var s=r.axis,l=yg(a[s.start],a[s.end]),c=gg(i).filter((function(e){return e!==r})).filter((function(e){return e.isEnabled})).filter((function(e){return Boolean(e.subject.active)})).filter((function(e){return _g(o.frame)(mv(e))})).filter((function(e){var n=mv(e);return t?a[s.crossAxisEnd]<n[s.crossAxisEnd]:n[s.crossAxisStart]<a[s.crossAxisStart]})).filter((function(e){var t=mv(e),n=yg(t[s.start],t[s.end]);return l(t[s.start])||l(t[s.end])||n(a[s.start])||n(a[s.end])})).sort((function(e,n){var r=mv(e)[s.crossAxisStart],i=mv(n)[s.crossAxisStart];return t?r-i:i-r})).filter((function(e,t,n){return mv(e)[s.crossAxisStart]===mv(n[0])[s.crossAxisStart]}));if(!c.length)return null;if(1===c.length)return c[0];var u=c.filter((function(e){return yg(mv(e)[s.start],mv(e)[s.end])(n[s.line])}));return 1===u.length?u[0]:u.length>1?u.sort((function(e,t){return mv(e)[s.start]-mv(t)[s.start]}))[0]:c.sort((function(e,t){var r=rg(n,ag(mv(e))),i=rg(n,ag(mv(t)));return r!==i?r-i:mv(e)[s.start]-mv(t)[s.start]}))[0]}({isMovingForward:t,pageBorderBoxCenter:n,source:i,droppables:a,viewport:l});if(!u)return null;var d=bg(u.descriptor.id,o),p=function(e){var t=e.pageBorderBoxCenter,n=e.viewport,r=e.destination,i=e.insideDestination,o=e.onLift,a=i.filter((function(e){return Dg({target:vv(e,o),destination:r,viewport:n.frame,withDroppableDisplacement:!0})})).sort((function(e,n){var i=ng(t,sv(r,gv(e,o))),a=ng(t,sv(r,gv(n,o)));return i<a?-1:a<i?1:e.descriptor.index-n.descriptor.index}));return a[0]||null}({pageBorderBoxCenter:n,viewport:l,destination:u,insideDestination:d,onLift:c}),h=function(e){var t=e.previousPageBorderBoxCenter,n=e.moveRelativeTo,r=e.insideDestination,i=e.draggable,o=e.draggables,a=e.destination,s=e.previousImpact,l=e.viewport,c=e.onLift;if(!n){if(r.length)return null;var u={movement:Mg,destination:{droppableId:a.descriptor.id,index:0},merge:null},d=cv({impact:u,draggable:i,droppable:a,draggables:o,onLift:c}),p=qg(i,a)?a:Wg(a,i,o);return hv({draggable:i,destination:p,newPageBorderBoxCenter:d,viewport:l.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0})?u:null}var h=Boolean(t[a.axis.line]<n.page.borderBox.center[a.axis.line]),f=r.indexOf(n);-1===f&&Sm(!1);var m=n.descriptor.id===i.descriptor.id||h?f:f+1,g=Lg(i,r).slice(m).map((function(e){return jg({draggable:e,destination:a,viewport:l.frame,previousImpact:s,onLift:c})}));return{movement:{displacedBy:Ng(a.axis,i.displaceBy),displaced:g,map:Bg(g)},destination:{droppableId:a.descriptor.id,index:m},merge:null}}({previousPageBorderBoxCenter:n,destination:u,draggable:r,draggables:o,moveRelativeTo:p,insideDestination:d,previousImpact:s,viewport:l,onLift:c});if(!h)return null;var f=cv({impact:h,draggable:r,droppable:u,draggables:o,onLift:c});return{clientSelection:pv({pageBorderBoxCenter:f,draggable:r,viewport:l}),impact:h,scrollJumpRequest:null}},Av=function(e){var t=e.state,n=e.type,r=function(e,t){var n=ug(e);return n?t[n]:null}(t.impact,t.dimensions.droppables),i=Boolean(r),o=t.dimensions.droppables[t.critical.droppable.id],a=r||o,s=a.axis.direction,l="vertical"===s&&("MOVE_UP"===n||"MOVE_DOWN"===n)||"horizontal"===s&&("MOVE_LEFT"===n||"MOVE_RIGHT"===n);if(l&&!i)return null;var c="MOVE_DOWN"===n||"MOVE_RIGHT"===n,u=t.dimensions.draggables[t.critical.draggable.id],d=t.current.page.borderBoxCenter,p=t.dimensions,h=p.draggables,f=p.droppables;return l?fv({isMovingForward:c,previousPageBorderBoxCenter:d,draggable:u,destination:a,draggables:h,viewport:t.viewport,previousClientSelection:t.current.client.selection,previousImpact:t.impact,onLift:t.onLift}):yv({isMovingForward:c,previousPageBorderBoxCenter:d,draggable:u,isOver:a,draggables:h,droppables:f,previousImpact:t.impact,viewport:t.viewport,onLift:t.onLift})};function bv(e){return"DRAGGING"===e.phase||"COLLECTING"===e.phase}var wv=function(e,t){return 0===t?e:t>0?"down":"up"},xv=function(e,t){return 0===t?e:t>0?"right":"left"},Cv=function(e){var t=e.state,n=e.clientSelection,r=e.dimensions,i=e.viewport,o=e.impact,a=e.scrollJumpRequest,s=i||t.viewport,l=s.scroll.current,c=r||t.dimensions,u=n||t.current.client.selection,d=Zm(u,t.initial.client.selection),p={offset:d,selection:u,borderBoxCenter:Xm(t.initial.client.borderBoxCenter,d)},h={selection:Xm(p.selection,l),borderBoxCenter:Xm(p.borderBoxCenter,l)},f={client:p,page:h},m=function(e,t,n){var r=Zm(n,t);return{horizontal:xv(e.horizontal,r.x),vertical:wv(e.vertical,r.y)}}(t.userDirection,t.current.page.borderBoxCenter,f.page.borderBoxCenter);if("COLLECTING"===t.phase)return mm({phase:"COLLECTING"},t,{dimensions:c,viewport:s,current:f,userDirection:m});var g=c.draggables[t.critical.draggable.id],v=o||Fg({pageBorderBoxCenter:h.borderBoxCenter,draggable:g,draggables:c.draggables,droppables:c.droppables,previousImpact:t.impact,viewport:s,userDirection:m,onLift:t.onLift}),y=Xg({draggable:g,impact:v,previousImpact:t.impact,draggables:c.draggables,droppables:c.droppables});return mm({},t,{current:f,userDirection:m,dimensions:{draggables:c.draggables,droppables:y},impact:v,viewport:s,scrollJumpRequest:a||null,forceShouldAnimate:!a&&null})},Sv=function(e){var t=e.impact,n=e.viewport,r=e.destination,i=e.draggables,o=e.onLift,a=e.forceShouldAnimate,s=t.movement.displaced.map((function(e){return jg({draggable:i[e.draggableId],destination:r,previousImpact:t,viewport:n.frame,onLift:o,forceShouldAnimate:a})}));return dv(t,s)},kv=function(e){var t=e.impact,n=e.draggable,r=e.droppable,i=e.draggables,o=e.viewport,a=e.onLift,s=cv({impact:t,draggable:n,draggables:i,droppable:r,onLift:a});return pv({pageBorderBoxCenter:s,draggable:n,viewport:o})},Ev=function(e){var t=e.state,n=e.dimensions,r=e.viewport;"SNAP"!==t.movementMode&&Sm(!1);var i=t.impact,o=r||t.viewport,a=n||t.dimensions,s=a.draggables,l=a.droppables,c=s[t.critical.draggable.id],u=ug(i);u||Sm(!1);var d=l[u],p=Sv({impact:i,viewport:o,destination:d,draggables:s,onLift:t.onLift}),h=kv({impact:p,draggable:c,droppable:d,draggables:s,viewport:o,onLift:t.onLift});return Cv({impact:p,clientSelection:h,state:t,dimensions:a,viewport:o})},Iv=function(e){return"SNAP"===e.movementMode},_v=function(e,t,n){var r=function(e,t){return{draggables:e.draggables,droppables:Jg(e.droppables,t)}}(e.dimensions,t);return!Iv(e)||n?Cv({state:e,dimensions:r}):Ev({state:e,dimensions:r})},Pv={phase:"IDLE",completed:null,shouldFlush:!1},Ov=function(e,t){if(void 0===e&&(e=Pv),"CLEAN"===t.type)return mm({},Pv,{shouldFlush:t.payload.shouldFlush});if("INITIAL_PUBLISH"===t.type){"IDLE"!==e.phase&&Sm(!1);var n=t.payload,r=n.critical,i=n.clientSelection,o=n.viewport,a=n.dimensions,s=n.movementMode,l=a.draggables[r.draggable.id],c=a.droppables[r.droppable.id],u={selection:i,borderBoxCenter:l.client.borderBox.center,offset:Jm},d={client:u,page:{selection:Xm(u.selection,o.scroll.initial),borderBoxCenter:Xm(u.selection,o.scroll.initial)}},p=gg(a.droppables).every((function(e){return!e.isFixedOnPage})),h=zg({draggable:l,home:c,draggables:a.draggables,viewport:o}),f=h.impact;return{phase:"DRAGGING",isDragging:!0,critical:r,movementMode:s,dimensions:a,initial:d,current:d,isWindowScrollAllowed:p,impact:f,onLift:h.onLift,onLiftImpact:f,viewport:o,userDirection:$g,scrollJumpRequest:null,forceShouldAnimate:null}}var m;if("COLLECTION_STARTING"===t.type)return"COLLECTING"===e.phase||"DROP_PENDING"===e.phase?e:("DRAGGING"!==e.phase&&Sm(!1),mm({phase:"COLLECTING"},e,((m={}).phase="COLLECTING",m)));if("PUBLISH_WHILE_DRAGGING"===t.type)return"COLLECTING"!==e.phase&&"DROP_PENDING"!==e.phase&&Sm(!1),Zg({state:e,published:t.payload});if("MOVE"===t.type){if("DROP_PENDING"===e.phase)return e;bv(e)||Sm(!1);var g=t.payload.client;return $m(g,e.current.client.selection)?e:Cv({state:e,clientSelection:g,impact:Iv(e)?e.impact:null})}if("UPDATE_DROPPABLE_SCROLL"===t.type){if("DROP_PENDING"===e.phase)return e;if("COLLECTING"===e.phase)return e;bv(e)||Sm(!1);var v=t.payload,y=v.id,A=v.offset,b=e.dimensions.droppables[y];if(!b)return e;var w=cg(b,A);return _v(e,w,!1)}if("UPDATE_DROPPABLE_IS_ENABLED"===t.type){if("DROP_PENDING"===e.phase)return e;bv(e)||Sm(!1);var x=t.payload,C=x.id,S=x.isEnabled,k=e.dimensions.droppables[C];k||Sm(!1),k.isEnabled===S&&Sm(!1);var E=mm({},k,{isEnabled:S});return _v(e,E,!0)}if("UPDATE_DROPPABLE_IS_COMBINE_ENABLED"===t.type){if("DROP_PENDING"===e.phase)return e;bv(e)||Sm(!1);var I=t.payload,_=I.id,P=I.isCombineEnabled,O=e.dimensions.droppables[_];O||Sm(!1),O.isCombineEnabled===P&&Sm(!1);var T=mm({},O,{isCombineEnabled:P});return _v(e,T,!0)}if("MOVE_BY_WINDOW_SCROLL"===t.type){if("DROP_PENDING"===e.phase||"DROP_ANIMATING"===e.phase)return e;bv(e)||Sm(!1),e.isWindowScrollAllowed||Sm(!1);var D=t.payload.newScroll;if($m(e.viewport.scroll.current,D))return e;var j=uv(e.viewport,D);return Iv(e)?Ev({state:e,viewport:j}):Cv({state:e,viewport:j})}if("UPDATE_VIEWPORT_MAX_SCROLL"===t.type){if(!bv(e))return e;var B=t.payload.maxScroll;if($m(B,e.viewport.scroll.max))return e;var N=mm({},e.viewport,{scroll:mm({},e.viewport.scroll,{max:B})});return mm({phase:"DRAGGING"},e,{viewport:N})}if("MOVE_UP"===t.type||"MOVE_DOWN"===t.type||"MOVE_LEFT"===t.type||"MOVE_RIGHT"===t.type){if("COLLECTING"===e.phase||"DROP_PENDING"===e.phase)return e;"DRAGGING"!==e.phase&&Sm(!1);var M=Av({state:e,type:t.type});return M?Cv({state:e,impact:M.impact,clientSelection:M.clientSelection,scrollJumpRequest:M.scrollJumpRequest}):e}if("DROP_PENDING"===t.type){var R,L=t.payload.reason;return"COLLECTING"!==e.phase&&Sm(!1),mm({phase:"DROP_PENDING"},e,((R={}).phase="DROP_PENDING",R.isWaiting=!0,R.reason=L,R))}if("DROP_ANIMATE"===t.type){var F=t.payload,z=F.completed,Q=F.dropDuration,U=F.newHomeClientOffset;return"DRAGGING"!==e.phase&&"DROP_PENDING"!==e.phase&&Sm(!1),{phase:"DROP_ANIMATING",dimensions:e.dimensions,completed:z,dropDuration:Q,newHomeClientOffset:U}}if("DROP_COMPLETE"===t.type){var V=t.payload;return{phase:"IDLE",completed:V.completed,shouldFlush:V.shouldFlush}}return e},Tv=function(e){return{type:"PUBLISH_WHILE_DRAGGING",payload:e}},Dv=function(){return{type:"COLLECTION_STARTING",payload:null}},jv=function(e){return{type:"UPDATE_DROPPABLE_SCROLL",payload:e}},Bv=function(e){return{type:"UPDATE_DROPPABLE_IS_ENABLED",payload:e}},Nv=function(e){return{type:"UPDATE_DROPPABLE_IS_COMBINE_ENABLED",payload:e}},Mv=function(e){return{type:"MOVE",payload:e}},Rv=function(e){return{type:"DROP_COMPLETE",payload:e}},Lv=function(e){return{type:"DROP",payload:e}},Fv="cubic-bezier(.2,1,.1,1)",zv={drop:0,combining:.7},Qv={drop:.75},Uv=.2+"s "+"cubic-bezier(0.2, 0, 0, 1)",Vv={fluid:"opacity "+Uv,snap:"transform "+Uv+", opacity "+Uv,drop:function(e){var t=e+"s "+Fv;return"transform "+t+", opacity "+t},outOfTheWay:"transform "+Uv,placeholder:"height "+Uv+", width "+Uv+", margin "+Uv},Gv=function(e){return $m(e,Jm)?null:"translate("+e.x+"px, "+e.y+"px)"},qv=Gv,Hv=function(e,t){var n=Gv(e);return n?t?n+" scale("+Qv.drop+")":n:null},Wv=.33,Yv=.55,Kv=Yv-Wv,Jv=function(e){var t=e.getState,n=e.dispatch;return function(e){return function(r){if("DROP"===r.type){var i=t(),o=r.payload.reason;if("COLLECTING"!==i.phase){if("IDLE"!==i.phase){"DROP_PENDING"===i.phase&&i.isWaiting&&Sm(!1),"DRAGGING"!==i.phase&&"DROP_PENDING"!==i.phase&&Sm(!1);var a=i.critical,s=i.dimensions,l=function(e){var t=e.reason,n=e.lastImpact,r=e.home,i=e.viewport,o=e.draggables,a=e.onLiftImpact,s=e.onLift,l="DROP"===t&&Boolean(ug(n));return l?n.destination?{impact:n,didDropInsideDroppable:l}:{impact:mm({},n,{movement:Mg}),didDropInsideDroppable:l}:{impact:Sv({impact:a,destination:r,viewport:i,draggables:o,onLift:s,forceShouldAnimate:!0}),didDropInsideDroppable:l}}({reason:o,lastImpact:i.impact,onLift:i.onLift,onLiftImpact:i.onLiftImpact,home:i.dimensions.droppables[i.critical.droppable.id],viewport:i.viewport,draggables:i.dimensions.draggables}),c=l.impact,u=l.didDropInsideDroppable,d=s.draggables[i.critical.draggable.id],p=u?c.destination:null,h=u&&c.merge?c.merge.combine:null,f={index:a.draggable.index,droppableId:a.droppable.id},m={draggableId:d.descriptor.id,type:d.descriptor.type,source:f,reason:o,mode:i.movementMode,destination:p,combine:h},g=function(e){var t=e.impact,n=e.draggable,r=e.dimensions,i=e.viewport,o=e.onLift,a=r.draggables,s=r.droppables,l=ug(t),c=l?s[l]:null,u=s[n.descriptor.droppableId],d=kv({impact:t,draggable:n,draggables:a,onLift:o,droppable:c||u,viewport:i}),p=Zm(d,n.client.borderBox.center),h=t.merge;return h&&Sg(h.combine.draggableId,o)?Zm(p,o.displacedBy.point):p}({impact:c,draggable:d,dimensions:s,viewport:i.viewport,onLift:i.onLift}),v={critical:i.critical,result:m,impact:c};if(!$m(i.current.client.offset,g)||Boolean(m.combine)){var y=function(e){var t=e.current,n=e.destination,r=e.reason,i=ng(t,n);if(i<=0)return Wv;if(i>=1500)return Yv;var o=Wv+Kv*(i/1500);return Number(("CANCEL"===r?.6*o:o).toFixed(2))}({current:i.current.client.offset,destination:g,reason:o});n(function(e){return{type:"DROP_ANIMATE",payload:e}}({newHomeClientOffset:g,dropDuration:y,completed:v}))}else n(Rv({completed:v,shouldFlush:!1}))}}else n(function(e){return{type:"DROP_PENDING",payload:e}}({reason:o}))}else e(r)}}},Xv=function(e){return e+1},Zv=function(e,t){var n=e.droppableId===t.droppableId,r=Xv(e.index),i=Xv(t.index);return n?"\n      You have moved the item from position "+r+"\n      to position "+i+"\n    ":"\n    You have moved the item from position "+r+"\n    in list "+e.droppableId+"\n    to list "+t.droppableId+"\n    in position "+i+"\n  "},$v=function(e,t,n){return t.droppableId===n.droppableId?"\n      The item "+e+"\n      has been combined with "+n.draggableId:"\n      The item "+e+"\n      in list "+t.droppableId+"\n      has been combined with "+n.draggableId+"\n      in list "+n.droppableId+"\n    "},ey=function(e){return"\n  The item has returned to its starting position\n  of "+Xv(e.index)+"\n"},ty=function(e){return"\n  You have lifted an item in position "+Xv(e.source.index)+".\n  Use the arrow keys to move, space bar to drop, and escape to cancel.\n"},ny=function(e){var t=e.destination;if(t)return Zv(e.source,t);var n=e.combine;return n?$v(e.draggableId,e.source,n):"You are over an area that cannot be dropped on"},ry=function(e){if("CANCEL"===e.reason)return"\n      Movement cancelled.\n      "+ey(e.source)+"\n    ";var t=e.destination,n=e.combine;return t?"\n      You have dropped the item.\n      "+Zv(e.source,t)+"\n    ":n?"\n      You have dropped the item.\n      "+$v(e.draggableId,e.source,n)+"\n    ":"\n    The item has been dropped while not over a drop area.\n    "+ey(e.source)+"\n  "},iy=function(){var e=[];return{add:function(t){var n=setTimeout((function(){return function(t){var n=pg(e,(function(e){return e.timerId===t}));-1===n&&Sm(!1),e.splice(n,1)[0].callback()}(n)})),r={timerId:n,callback:t};e.push(r)},flush:function(){if(e.length){var t=[].concat(e);e.length=0,t.forEach((function(e){clearTimeout(e.timerId),e.callback()}))}}}},oy=function(e,t){t()},ay=function(e,t){return{draggableId:e.draggable.id,type:e.droppable.type,source:{droppableId:e.droppable.id,index:e.draggable.index},mode:t}},sy=function(e,t,n,r){if(e){var i=function(e){var t=!1,n=!1,r=setTimeout((function(){n=!0})),i=function(i){t||n||(t=!0,e(i),clearTimeout(r))};return i.wasCalled=function(){return t},i}(n);e(t,{announce:i}),i.wasCalled()||n(r(t))}else n(r(t))},ly=function(e,t){var n=function(e,t){var n=iy(),r=null,i=function(n){r||Sm(!1),r=null,oy(0,(function(){return sy(e().onDragEnd,n,t,ry)}))};return{beforeStart:function(t,n){r&&Sm(!1),oy(0,(function(){var r=e().onBeforeDragStart;r&&r(ay(t,n))}))},start:function(i,o){r&&Sm(!1);var a=ay(i,o);r={mode:o,lastCritical:i,lastLocation:a.source,lastCombine:null},n.add((function(){oy(0,(function(){return sy(e().onDragStart,a,t,ty)}))}))},update:function(i,o){var a=o.destination,s=o.merge?o.merge.combine:null;r||Sm(!1);var l=!function(e,t){if(e===t)return!0;var n=e.draggable.id===t.draggable.id&&e.draggable.droppableId===t.draggable.droppableId&&e.draggable.type===t.draggable.type&&e.draggable.index===t.draggable.index,r=e.droppable.id===t.droppable.id&&e.droppable.type===t.droppable.type;return n&&r}(i,r.lastCritical);l&&(r.lastCritical=i);var c,u,d=(u=a,!(null==(c=r.lastLocation)&&null==u||null!=c&&null!=u&&c.droppableId===u.droppableId&&c.index===u.index));d&&(r.lastLocation=a);var p=!function(e,t){return null==e&&null==t||null!=e&&null!=t&&e.draggableId===t.draggableId&&e.droppableId===t.droppableId}(r.lastCombine,s);if(p&&(r.lastCombine=s),l||d||p){var h=mm({},ay(i,r.mode),{combine:s,destination:a});n.add((function(){oy(0,(function(){return sy(e().onDragUpdate,h,t,ny)}))}))}},flush:function(){r||Sm(!1),n.flush()},drop:i,abort:function(){if(r){var e=mm({},ay(r.lastCritical,r.mode),{combine:null,destination:null,reason:"CANCEL"});i(e)}}}}(e,t);return function(e){return function(t){return function(r){if("INITIAL_PUBLISH"===r.type){var i=r.payload.critical;return n.beforeStart(i,r.payload.movementMode),t(r),void n.start(i,r.payload.movementMode)}if("DROP_COMPLETE"===r.type){var o=r.payload.completed.result;return n.flush(),t(r),void n.drop(o)}if(t(r),"CLEAN"!==r.type){var a=e.getState();"DRAGGING"===a.phase&&n.update(a.critical,a.impact)}else n.abort()}}}},cy=function(e){return function(t){return function(n){if("DROP_ANIMATION_FINISHED"===n.type){var r=e.getState();"DROP_ANIMATING"!==r.phase&&Sm(!1),e.dispatch(Rv({completed:r.completed,shouldFlush:!1}))}else t(n)}}},uy=function(e){return function(t){return function(n){if(t(n),"PUBLISH_WHILE_DRAGGING"===n.type){var r=e.getState();"DROP_PENDING"===r.phase&&(r.isWaiting||e.dispatch(Lv({reason:r.reason})))}}}},dy=km.Zz,py=function(e){var t,n=e.dimensionMarshal,r=e.styleMarshal,i=e.getResponders,o=e.announce,a=e.autoScroller;return(0,km.y$)(Ov,dy((0,km.Tw)((t=r,function(){return function(e){return function(n){"INITIAL_PUBLISH"===n.type&&t.dragging(),"DROP_ANIMATE"===n.type&&t.dropping(n.payload.completed.result.reason),"CLEAN"!==n.type&&"DROP_COMPLETE"!==n.type||t.resting(),e(n)}}}),function(e){return function(){return function(t){return function(n){"DROP_COMPLETE"!==n.type&&"CLEAN"!==n.type&&"DROP_ANIMATE"!==n.type||e.stopPublishing(),t(n)}}}}(n),function(e){return function(t){var n=t.getState,r=t.dispatch;return function(t){return function(i){if("LIFT"===i.type){var o=i.payload,a=o.id,s=o.clientSelection,l=o.movementMode,c=n();"DROP_ANIMATING"===c.phase&&r(Rv({completed:c.completed,shouldFlush:!0})),"IDLE"!==n().phase&&Sm(!1);var u={draggableId:a,scrollOptions:{shouldPublishImmediately:"SNAP"===l}},d=e.startPublishing(u),p=d.critical,h=d.dimensions,f=d.viewport;r({type:"INITIAL_PUBLISH",payload:{critical:p,dimensions:h,clientSelection:s,movementMode:l,viewport:f}})}else t(i)}}}}(n),Jv,cy,uy,function(e){return function(t){return function(n){return function(r){if(function(e){return"DROP_COMPLETE"===e.type||"DROP_ANIMATE"===e.type||"CLEAN"===e.type}(r))return e.stop(),void n(r);if(function(e){return"COLLECTION_STARTING"===e.type}(r))return e.cancelPending(),void n(r);if("INITIAL_PUBLISH"===r.type){n(r);var i=t.getState();return"DRAGGING"!==i.phase&&Sm(!1),void e.start(i)}n(r),e.scroll(t.getState())}}}}(a),ly(i,o))))},hy=function(){return{x:window.pageXOffset,y:window.pageYOffset}},fy=function(){var e=document.documentElement;return e||Sm(!1),e},my=function(){var e=fy();return Vg({scrollHeight:e.scrollHeight,scrollWidth:e.scrollWidth,width:e.clientWidth,height:e.clientHeight})},gy=function(e){var t=e.critical,n=e.scrollOptions,r=e.entries,i=function(){var e=hy(),t=my(),n=e.y,r=e.x,i=fy(),o=i.clientWidth,a=i.clientHeight;return{frame:Em({top:n,left:r,right:r+o,bottom:n+a}),scroll:{initial:e,current:e,max:t,diff:{value:Jm,displacement:Jm}}}}(),o=i.scroll.current,a=t.droppable,s=dg(r.droppables).filter((function(e){return e.descriptor.type===a.type})).map((function(e){return e.callbacks.getDimensionAndWatchScroll(o,n)})),l=dg(r.draggables).filter((function(e){return e.descriptor.type===t.draggable.type})).map((function(e){return e.getDimension(o)}));return{dimensions:{draggables:mg(l),droppables:fg(s)},critical:t,viewport:i}},vy=function(e,t){e.critical.draggable.type!==t.type&&Sm(!1)},yy=function(e){var t={droppables:{},draggables:{}},n=null,r=function(e){var t=e.getEntries,n=e.callbacks,r=function(){},i={additions:{},removals:{},modified:{}},o=null,a=function(){r(),o||(o=requestAnimationFrame((function(){o=null,n.collectionStarting();var e=n.getCritical(),r=t(),a=i,s=a.additions,l=a.removals,c=a.modified,u=Um()(s).map((function(e){return r.draggables[e].getDimension(Jm)})).sort((function(e,t){return e.descriptor.index-t.descriptor.index})),d=Um()(c).map((function(t){var n=r.droppables[t];n||Sm(!1);var i={withoutPlaceholder:!(n.descriptor.id===e.droppable.id)};return n.callbacks.recollect(i)})),p={additions:u,removals:Um()(l),modified:d};i={additions:{},removals:{},modified:{}},n.publish(p)})))};return{add:function(e){i.additions[e.id]=e,i.modified[e.droppableId]=!0,i.removals[e.id]&&delete i.removals[e.id],a()},remove:function(e){i.removals[e.id]=e,i.modified[e.droppableId]=!0,i.additions[e.id]&&delete i.additions[e.id],a()},stop:function(){o&&(cancelAnimationFrame(o),o=null,i={additions:{},removals:{},modified:{}})}}}({callbacks:{publish:e.publishWhileDragging,collectionStarting:e.collectionStarting,getCritical:function(){return n||Sm(!1),n.critical}},getEntries:function(){return t}}),i={registerDraggable:function(e,i){var o={descriptor:e,getDimension:i};t.draggables[e.id]=o,n&&(vy(n,e),r.add(e))},updateDraggable:function(e,n,r){var i=t.draggables[e.id];i||Sm(!1),i.descriptor===e&&delete t.draggables[e.id];var o={descriptor:n,getDimension:r};t.draggables[n.id]=o},unregisterDraggable:function(e){var i=t.draggables[e.id];i||Sm(!1),i.descriptor===e&&(delete t.draggables[e.id],n&&(n.critical.draggable.id===e.id&&Sm(!1),vy(n,e),r.remove(e)))},registerDroppable:function(e,r){var i=e.id;t.droppables[i]={descriptor:e,callbacks:r},n&&Sm(!1)},unregisterDroppable:function(e){var r=t.droppables[e.id];r||Sm(!1),r.descriptor===e&&(delete t.droppables[e.id],n&&Sm(!1))},updateDroppableIsEnabled:function(r,i){t.droppables[r]||Sm(!1),n&&e.updateDroppableIsEnabled({id:r,isEnabled:i})},updateDroppableIsCombineEnabled:function(r,i){t.droppables[r]||Sm(!1),n&&e.updateDroppableIsCombineEnabled({id:r,isCombineEnabled:i})},scrollDroppable:function(e,r){var i=t.droppables[e];i||Sm(!1),n&&i.callbacks.scroll(r)},updateDroppableScroll:function(r,i){t.droppables[r]||Sm(!1),n&&e.updateDroppableScroll({id:r,offset:i})},startPublishing:function(e){n&&Sm(!1);var r=t.draggables[e.draggableId];r||Sm(!1);var i=t.droppables[r.descriptor.droppableId];i||Sm(!1);var o={draggable:r.descriptor,droppable:i.descriptor};return n={critical:o},gy({critical:o,entries:t,scrollOptions:e.scrollOptions})},stopPublishing:function(){if(n){r.stop();var e=n.critical.droppable;dg(t.droppables).filter((function(t){return t.descriptor.type===e.type})).forEach((function(e){return e.callbacks.dragStopped()})),n=null}}};return i},Ay=function(e){window.scrollBy(e.x,e.y)},by=Lm((function(e){return gg(e).filter((function(e){return!!e.isEnabled&&!!e.frame}))})),wy=function(e){var t=e.center,n=e.destination,r=e.droppables;if(n){var i=r[n];return i.frame?i:null}var o=function(e,t){var n=hg(by(t),(function(t){return t.frame||Sm(!1),Ag(t.frame.pageMarginBox)(e)}));return n}(t,r);return o},xy=.25,Cy=.05,Sy=28,ky=function(e){return Math.pow(e,2)},Ey={stopDampeningAt:1200,accelerateAt:360},Iy=function(e){var t=e.startOfRange,n=e.endOfRange,r=e.current,i=n-t;return 0===i?0:(r-t)/i},_y=Ey.accelerateAt,Py=Ey.stopDampeningAt,Oy=function(e){var t=e.distanceToEdge,n=e.thresholds,r=e.dragStartTime,i=e.shouldUseTimeDampening,o=function(e,t){if(e>t.startScrollingFrom)return 0;if(e<=t.maxScrollValueAt)return Sy;if(e===t.startScrollingFrom)return 1;var n=Iy({startOfRange:t.maxScrollValueAt,endOfRange:t.startScrollingFrom,current:e}),r=Sy*ky(1-n);return Math.ceil(r)}(t,n);return 0===o?0:i?Math.max(function(e,t){var n=t,r=Py,i=Gm()()-n;if(i>=Py)return e;if(i<_y)return 1;var o=Iy({startOfRange:_y,endOfRange:r,current:i}),a=e*ky(o);return Math.ceil(a)}(o,r),1):o},Ty=function(e){var t=e.container,n=e.distanceToEdges,r=e.dragStartTime,i=e.axis,o=e.shouldUseTimeDampening,a=function(e,t){return{startScrollingFrom:e[t.size]*xy,maxScrollValueAt:e[t.size]*Cy}}(t,i);return n[i.end]<n[i.start]?Oy({distanceToEdge:n[i.end],thresholds:a,dragStartTime:r,shouldUseTimeDampening:o}):-1*Oy({distanceToEdge:n[i.start],thresholds:a,dragStartTime:r,shouldUseTimeDampening:o})},Dy=ig((function(e){return 0===e?0:e})),jy=function(e){var t=e.dragStartTime,n=e.container,r=e.subject,i=e.center,o=e.shouldUseTimeDampening,a={top:i.y-n.top,right:n.right-i.x,bottom:n.bottom-i.y,left:i.x-n.left},s=Ty({container:n,distanceToEdges:a,dragStartTime:t,axis:wg,shouldUseTimeDampening:o}),l=Ty({container:n,distanceToEdges:a,dragStartTime:t,axis:xg,shouldUseTimeDampening:o}),c=Dy({x:l,y:s});if($m(c,Jm))return null;var u=function(e){var t=e.container,n=e.subject,r=e.proposedScroll,i=n.height>t.height,o=n.width>t.width;return o||i?o&&i?null:{x:o?0:r.x,y:i?0:r.y}:r}({container:n,subject:r,proposedScroll:c});return u?$m(u,Jm)?null:u:null},By=ig((function(e){return 0===e?0:e>0?1:-1})),Ny=function(){var e=function(e,t){return e<0?e:e>t?e-t:0};return function(t){var n=t.current,r=t.max,i=t.change,o=Xm(n,i),a={x:e(o.x,r.x),y:e(o.y,r.y)};return $m(a,Jm)?null:a}}(),My=function(e){var t=e.max,n=e.current,r=e.change,i={x:Math.max(n.x,t.x),y:Math.max(n.y,t.y)},o=By(r),a=Ny({max:i,current:n,change:o});return!a||(0!==o.x&&0===a.x||0!==o.y&&0===a.y)},Ry=function(e,t){return My({current:e.scroll.current,max:e.scroll.max,change:t})},Ly=function(e,t){var n=e.frame;return!!n&&My({current:n.scroll.current,max:n.scroll.max,change:t})},Fy=function(e){var t=e.state,n=e.dragStartTime,r=e.shouldUseTimeDampening,i=e.scrollWindow,o=e.scrollDroppable,a=t.current.page.borderBoxCenter,s=t.dimensions.draggables[t.critical.draggable.id].page.marginBox;if(t.isWindowScrollAllowed){var l=function(e){var t=e.viewport,n=e.subject,r=e.center,i=e.dragStartTime,o=e.shouldUseTimeDampening,a=jy({dragStartTime:i,container:t.frame,subject:n,center:r,shouldUseTimeDampening:o});return a&&Ry(t,a)?a:null}({dragStartTime:n,viewport:t.viewport,subject:s,center:a,shouldUseTimeDampening:r});if(l)return void i(l)}var c=wy({center:a,destination:ug(t.impact),droppables:t.dimensions.droppables});if(c){var u=function(e){var t=e.droppable,n=e.subject,r=e.center,i=e.dragStartTime,o=e.shouldUseTimeDampening,a=t.frame;if(!a)return null;var s=jy({dragStartTime:i,container:a.pageMarginBox,subject:n,center:r,shouldUseTimeDampening:o});return s&&Ly(t,s)?s:null}({dragStartTime:n,droppable:c,subject:s,center:a,shouldUseTimeDampening:r});u&&o(c.descriptor.id,u)}},zy=function(e){var t=e.move,n=e.scrollDroppable,r=e.scrollWindow,i=function(e,t){if(!Ly(e,t))return t;var r=function(e,t){var n=e.frame;return n&&Ly(e,t)?Ny({current:n.scroll.current,max:n.scroll.max,change:t}):null}(e,t);if(!r)return n(e.descriptor.id,t),null;var i=Zm(t,r);return n(e.descriptor.id,i),Zm(t,i)},o=function(e,t,n){if(!e)return n;if(!Ry(t,n))return n;var i=function(e,t){if(!Ry(e,t))return null;var n=e.scroll.max,r=e.scroll.current;return Ny({current:r,max:n,change:t})}(t,n);if(!i)return r(n),null;var o=Zm(n,i);return r(o),Zm(n,o)};return function(e){var n=e.scrollJumpRequest;if(n){var r=ug(e.impact);r||Sm(!1);var a=i(e.dimensions.droppables[r],n);if(a){var s=e.viewport,l=o(e.isWindowScrollAllowed,s,a);l&&function(e,n){var r=Xm(e.current.client.selection,n);t({client:r})}(e,l)}}}},Qy=function(e){var t=e.scrollDroppable,n=e.scrollWindow,r=e.move,i=function(e){var t=e.scrollWindow,n=e.scrollDroppable,r=qm(t),i=qm(n),o=null,a=function(e){o||Sm(!1);var t=o,n=t.shouldUseTimeDampening,a=t.dragStartTime;Fy({state:e,scrollWindow:r,scrollDroppable:i,dragStartTime:a,shouldUseTimeDampening:n})},s=function(){o||Sm(!1),r.cancel(),i.cancel()};return{start:function(e){o&&Sm(!1);var t=Gm()(),n=!1,r=function(){n=!0};Fy({state:e,dragStartTime:0,shouldUseTimeDampening:!1,scrollWindow:r,scrollDroppable:r}),o={dragStartTime:t,shouldUseTimeDampening:n},n&&a(e)},stop:function(){o&&(s(),o=null)},cancelPending:s,scroll:a}}({scrollWindow:n,scrollDroppable:t}),o=zy({move:r,scrollWindow:n,scrollDroppable:t});return{scroll:function(e){"DRAGGING"===e.phase&&("FLUID"!==e.movementMode?e.scrollJumpRequest&&o(e):i.scroll(e))},cancelPending:i.cancelPending,start:i.start,stop:i.stop}},Uy="data-react-beautiful-dnd",Vy=Uy+"-drag-handle",Gy=Uy+"-draggable",qy=Uy+"-droppable",Hy=function(e,t){return e.map((function(e){var n=e.styles[t];return n?e.selector+" { "+n+" }":""})).join(" ")},Wy="undefined"!==typeof window?u.useLayoutEffect:u.useEffect,Yy=function(){var e=document.querySelector("head");return e||Sm(!1),e},Ky=function(){var e=document.createElement("style");return e.type="text/css",e};function Jy(e){var t=vm((function(){return""+e}),[e]),n=vm((function(){return function(e){var t,n=(t=e,function(e){return"["+e+'="'+t+'"]'}),r=function(){var e="\n      cursor: -webkit-grab;\n      cursor: grab;\n    ";return{selector:n(Vy),styles:{always:"\n          -webkit-touch-callout: none;\n          -webkit-tap-highlight-color: rgba(0,0,0,0);\n          touch-action: manipulation;\n        ",resting:e,dragging:"pointer-events: none;",dropAnimating:e}}}(),i=[function(){var e="\n      transition: "+Vv.outOfTheWay+";\n    ";return{selector:n(Gy),styles:{dragging:e,dropAnimating:e,userCancel:e}}}(),r,{selector:n(qy),styles:{always:"overflow-anchor: none;"}},{selector:"body",styles:{dragging:"\n        cursor: grabbing;\n        cursor: -webkit-grabbing;\n        user-select: none;\n        -webkit-user-select: none;\n        -moz-user-select: none;\n        -ms-user-select: none;\n        overflow-anchor: none;\n      "}}];return{always:Hy(i,"always"),resting:Hy(i,"resting"),dragging:Hy(i,"dragging"),dropAnimating:Hy(i,"dropAnimating"),userCancel:Hy(i,"userCancel")}}(t)}),[t]),r=(0,u.useRef)(null),i=(0,u.useRef)(null),o=ym(Lm((function(e){var t=i.current;t||Sm(!1),t.textContent=e})),[]),a=ym((function(e){var t=r.current;t||Sm(!1),t.textContent=e}),[]);Wy((function(){(r.current||i.current)&&Sm(!1);var e=Ky(),s=Ky();return r.current=e,i.current=s,e.setAttribute(Uy+"-always",t),s.setAttribute(Uy+"-dynamic",t),Yy().appendChild(e),Yy().appendChild(s),a(n.always),o(n.resting),function(){var e=function(e){var t=e.current;t||Sm(!1),Yy().removeChild(t),e.current=null};e(r),e(i)}}),[a,o,n.always,n.resting,t]);var s=ym((function(){return o(n.dragging)}),[o,n.dragging]),l=ym((function(e){o("DROP"!==e?n.userCancel:n.dropAnimating)}),[o,n.dropAnimating,n.userCancel]),c=ym((function(){i.current&&o(n.resting)}),[o,n.resting]);return vm((function(){return{dragging:s,dropping:l,resting:c,styleContext:t}}),[s,l,c,t])}var Xy=u.createContext(null),Zy=function(){var e=document.body;return e||Sm(!1),e},$y={position:"absolute",width:"1px",height:"1px",margin:"-1px",border:"0",padding:"0",overflow:"hidden",clip:"rect(0 0 0 0)","clip-path":"inset(100%)"};var eA=u.createContext(null);function tA(){(0,u.useEffect)((function(){}),[])}function nA(e){var t=(0,u.useRef)(e);return(0,u.useEffect)((function(){t.current=e})),t}function rA(e){return e.current||Sm(!1),e.current}function iA(e){var t=e.uniqueId,n=e.setOnError,r=(0,u.useRef)(null);tA();var i=nA(e),o=ym((function(){return function(e){return{onBeforeDragStart:e.onBeforeDragStart,onDragStart:e.onDragStart,onDragEnd:e.onDragEnd,onDragUpdate:e.onDragUpdate}}(i.current)}),[i]),a=function(e){var t=vm((function(){return function(e){return"react-beautiful-dnd-announcement-"+e}(e)}),[e]),n=(0,u.useRef)(null);return(0,u.useEffect)((function(){n.current&&Sm(!1);var e=document.createElement("div");return n.current=e,e.id=t,e.setAttribute("aria-live","assertive"),e.setAttribute("role","log"),e.setAttribute("aria-atomic","true"),Wm()(e.style,$y),Zy().appendChild(e),function(){var e=n.current;e||Sm(!1),Zy().removeChild(e),n.current=null}}),[t]),ym((function(e){var t=n.current;t&&(t.textContent=e)}),[])}(t),s=Jy(t),l=ym((function(e){rA(r).dispatch(e)}),[]),c=vm((function(){return(0,km.zH)({publishWhileDragging:Tv,updateDroppableScroll:jv,updateDroppableIsEnabled:Bv,updateDroppableIsCombineEnabled:Nv,collectionStarting:Dv},l)}),[l]),d=vm((function(){return yy(c)}),[c]),p=vm((function(){return Qy(mm({scrollWindow:Ay,scrollDroppable:d.scrollDroppable},(0,km.zH)({move:Mv},l)))}),[d.scrollDroppable,l]),h=vm((function(){return py({dimensionMarshal:d,styleMarshal:s,announce:a,autoScroller:p,getResponders:o})}),[a,p,d,o,s]);r.current=h;var f=ym((function(){var e,t=rA(r);"IDLE"!==t.getState().phase&&t.dispatch((void 0===(e={shouldFlush:!0})&&(e={shouldFlush:!1}),{type:"CLEAN",payload:e}))}),[]);n(f);var m=ym((function(e){return function(e,t){return"IDLE"===e.phase||"DROP_ANIMATING"===e.phase&&e.completed.result.draggableId!==t&&"DROP"===e.completed.result.reason}(rA(r).getState(),e)}),[]),g=ym((function(){return bv(rA(r).getState())}),[]),v=vm((function(){return{marshal:d,style:s.styleContext,canLift:m,isMovementAllowed:g}}),[d,m,g,s.styleContext]);return(0,u.useEffect)((function(){return f}),[f]),u.createElement(eA.Provider,{value:v},u.createElement(Rn.Kq,{context:Xy,store:h},e.children))}var oA=0;function aA(e){var t=vm((function(){return oA++}),[]);return u.createElement(Km,null,(function(n){return u.createElement(iA,mm({setOnError:n,uniqueId:t},e),e.children)}))}var sA=function(e){return function(t){return e===t}},lA=sA("scroll"),cA=sA("auto"),uA=(sA("visible"),function(e,t){return t(e.overflowX)||t(e.overflowY)}),dA=function(e){var t=window.getComputedStyle(e),n={overflowX:t.overflowX,overflowY:t.overflowY};return uA(n,lA)||uA(n,cA)},pA=function e(t){return null==t||t===document.body||t===document.documentElement?null:dA(t)?t:e(t.parentElement)},hA=function(e){return{x:e.scrollLeft,y:e.scrollTop}},fA=function e(t){return!!t&&("fixed"===window.getComputedStyle(t).position||e(t.parentElement))},mA=function(e){return{closestScrollable:pA(e),isFixedOnPage:fA(e)}},gA=function(e){var t=e.ref,n=e.descriptor,r=e.env,i=e.windowScroll,o=e.direction,a=e.isDropDisabled,s=e.isCombineEnabled,l=e.shouldClipSubject,c=r.closestScrollable,u=function(e,t){var n=Nm(e);if(!t)return n;if(e!==t)return n;var r=n.paddingBox.top-t.scrollTop,i=n.paddingBox.left-t.scrollLeft,o=r+t.scrollHeight,a=i+t.scrollWidth,s=Im({top:r,right:a,bottom:o,left:i},n.border);return Om({borderBox:s,margin:n.margin,border:n.border,padding:n.padding})}(t,c),d=jm(u,i),p=function(){if(!c)return null;var e=Nm(c),t={scrollHeight:c.scrollHeight,scrollWidth:c.scrollWidth};return{client:e,page:jm(e,i),scroll:hA(c),scrollSize:t,shouldClipSubject:l}}();return Gg({descriptor:n,isEnabled:!a,isCombineEnabled:s,isFixedOnPage:r.isFixedOnPage,direction:o,client:u,page:d,closest:p})};var vA={passive:!1},yA={passive:!0},AA=function(e){return e.shouldPublishImmediately?vA:yA};function bA(e){var t=(0,u.useContext)(e);return t||Sm(!1),t}var wA=function(e){return e&&e.env.closestScrollable||null};function xA(){}var CA={width:0,height:0,margin:{top:0,right:0,bottom:0,left:0}},SA=function(e){var t=e.isAnimatingOpenOnMount,n=e.placeholder,r=function(e){var t=e.isAnimatingOpenOnMount,n=e.placeholder,r=e.animate;return t||"close"===r?CA:{height:n.client.borderBox.height,width:n.client.borderBox.width,margin:n.client.margin}}({isAnimatingOpenOnMount:t,placeholder:n,animate:e.animate});return{display:n.display,boxSizing:"border-box",width:r.width,height:r.height,marginTop:r.margin.top,marginRight:r.margin.right,marginBottom:r.margin.bottom,marginLeft:r.margin.left,flexShrink:"0",flexGrow:"0",pointerEvents:"none",transition:Vv.placeholder}};var kA=u.memo((function(e){var t=(0,u.useRef)(null),n=ym((function(){t.current&&(clearTimeout(t.current),t.current=null)}),[]),r=e.animate,i=e.onTransitionEnd,o=e.onClose,a=e.styleContext,s=(0,u.useState)("open"===e.animate),l=s[0],c=s[1];(0,u.useEffect)((function(){return l?"open"!==r?(n(),c(!1),xA):t.current?xA:(t.current=setTimeout((function(){t.current=null,c(!1)})),n):xA}),[r,l,n]);var d=ym((function(e){"height"===e.propertyName&&(i(),"close"===r&&o())}),[r,o,i]),p=SA({isAnimatingOpenOnMount:l,animate:e.animate,placeholder:e.placeholder});return u.createElement(e.placeholder.tagName,{style:p,"data-react-beautiful-dnd-placeholder":a,onTransitionEnd:d,ref:e.innerRef})})),EA=u.createContext(null),IA=function(e){return e&&e.ownerDocument?e.ownerDocument.defaultView:window};function _A(e){return e instanceof IA(e).HTMLElement}var PA=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).state={isVisible:Boolean(t.props.on),data:t.props.on,animate:t.props.shouldAnimate&&t.props.on?"open":"none"},t.onClose=function(){"close"===t.state.animate&&t.setState({isVisible:!1})},t}return xm(t,e),t.getDerivedStateFromProps=function(e,t){return e.shouldAnimate?e.on?{isVisible:!0,data:e.on,animate:"open"}:t.isVisible?{isVisible:!0,data:t.data,animate:"close"}:{isVisible:!1,animate:"close",data:null}:{isVisible:Boolean(e.on),data:e.on,animate:"none"}},t.prototype.render=function(){if(!this.state.isVisible)return null;var e={onClose:this.onClose,data:this.state.data,animate:this.state.animate};return this.props.children(e)},t}(u.PureComponent);var OA=function(e,t){return e===t},TA=function(e){var t=e.combine,n=e.destination;return n?n.droppableId:t?t.droppableId:null},DA=function(e,t){return e===t.droppable.type},jA=function(e,t){return t.draggables[e.draggable.id]},BA={updateViewportMaxScroll:function(e){return{type:"UPDATE_VIEWPORT_MAX_SCROLL",payload:e}}},NA=(0,Rn.Ng)((function(){var e={placeholder:null,shouldAnimatePlaceholder:!0,snapshot:{isDraggingOver:!1,draggingOverWith:null,draggingFromThisWith:null}},t=mm({},e,{shouldAnimatePlaceholder:!1}),n=Lm((function(t,n,r,i){return r.descriptor.droppableId===t?{placeholder:r.placeholder,shouldAnimatePlaceholder:!1,snapshot:i}:n?{placeholder:r.placeholder,shouldAnimatePlaceholder:!0,snapshot:i}:e})),r=Lm((function(e,t,n){var r=n.descriptor.id;return{isDraggingOver:t,draggingOverWith:t?r:null,draggingFromThisWith:n.descriptor.droppableId===e?r:null}}));return function(i,o){var a=o.droppableId,s=o.type;if(i.isDragging){var l=i.critical;if(!DA(s,l))return e;var c=jA(l,i.dimensions),u=ug(i.impact)===a,d=r(a,u,c);return n(a,u,c,d)}if("DROP_ANIMATING"===i.phase){var p=i.completed;if(!DA(s,p.critical))return e;var h=jA(p.critical,i.dimensions),f=r(a,TA(p.result)===a,h);return n(a,ug(p.impact)===a,h,f)}if("IDLE"===i.phase&&!i.completed&&i.shouldFlush)return t;if("IDLE"===i.phase&&i.completed){var m=i.completed;if(!DA(s,m.critical))return e;var g=ug(m.impact)===a,v=Boolean(m.impact.merge);return i.shouldFlush?t:g?v?e:t:e}return e}}),BA,null,{context:Xy,pure:!0,areStatePropsEqual:OA})((function(e){var t=(0,u.useContext)(eA);t||Sm(!1);var n=t.style,r=t.isMovementAllowed,i=(0,u.useRef)(null),o=(0,u.useRef)(null),a=e.children,s=e.droppableId,l=e.type,c=e.direction,d=e.ignoreContainerClipping,p=e.isDropDisabled,h=e.isCombineEnabled,f=e.snapshot,m=e.updateViewportMaxScroll,g=ym((function(){return i.current}),[]),v=ym((function(){return o.current}),[]),y=ym((function(e){i.current=e}),[]),A=ym((function(e){o.current=e}),[]),b=ym((function(){r()&&m({maxScroll:my()})}),[r,m]);!function(e){var t=(0,u.useRef)(null),n=bA(eA).marshal,r=nA(e),i=vm((function(){return{id:e.droppableId,type:e.type}}),[e.droppableId,e.type]),o=(0,u.useRef)(i),a=vm((function(){return Lm((function(e,r){t.current||Sm(!1);var o={x:e,y:r};n.updateDroppableScroll(i.id,o)}))}),[i.id,n]),s=ym((function(){var e=t.current;return e&&e.env.closestScrollable?hA(e.env.closestScrollable):Jm}),[]),l=ym((function(){var e=s();a(e.x,e.y)}),[s,a]),c=vm((function(){return qm(l)}),[l]),d=ym((function(){var e=t.current,n=wA(e);e&&n||Sm(!1),e.scrollOptions.shouldPublishImmediately?l():c()}),[c,l]),p=ym((function(e,n){t.current&&Sm(!1);var o=r.current,a=o.getDroppableRef();a||Sm(!1);var s=mA(a),l={ref:a,descriptor:i,env:s,scrollOptions:n};t.current=l;var c=gA({ref:a,descriptor:i,env:s,windowScroll:e,direction:o.direction,isDropDisabled:o.isDropDisabled,isCombineEnabled:o.isCombineEnabled,shouldClipSubject:!o.ignoreContainerClipping});return s.closestScrollable&&s.closestScrollable.addEventListener("scroll",d,AA(l.scrollOptions)),c}),[i,d,r]),h=ym((function(e){var n=t.current,i=wA(n);n&&i||Sm(!1);var o=r.current,a=function(){return gA({ref:n.ref,descriptor:n.descriptor,env:n.env,windowScroll:Jm,direction:o.direction,isDropDisabled:o.isDropDisabled,isCombineEnabled:o.isCombineEnabled,shouldClipSubject:!o.ignoreContainerClipping})};return e.withoutPlaceholder?function(e,t){if(!e)return t();var n=e.style.display;e.style.display="none";var r=t();return e.style.display=n,r}(o.getPlaceholderRef(),a):a()}),[r]),f=ym((function(){var e=t.current;e||Sm(!1);var n=wA(e);t.current=null,n&&(c.cancel(),n.removeEventListener("scroll",d,AA(e.scrollOptions)))}),[d,c]),m=ym((function(e){var n=t.current;n||Sm(!1);var r=wA(n);r||Sm(!1),r.scrollTop+=e.y,r.scrollLeft+=e.x}),[]),g=vm((function(){return{getDimensionAndWatchScroll:p,recollect:h,dragStopped:f,scroll:m}}),[f,p,h,m]);Wy((function(){return o.current=i,n.registerDroppable(i,g),function(){t.current&&f(),n.unregisterDroppable(i)}}),[g,i,f,n]),Wy((function(){t.current&&n.updateDroppableIsEnabled(o.current.id,!e.isDropDisabled)}),[e.isDropDisabled,n]),Wy((function(){t.current&&n.updateDroppableIsCombineEnabled(o.current.id,e.isCombineEnabled)}),[e.isCombineEnabled,n])}({droppableId:s,type:l,direction:c,isDropDisabled:p,isCombineEnabled:h,ignoreContainerClipping:d,getDroppableRef:g,getPlaceholderRef:v});var w,x=u.createElement(PA,{on:e.placeholder,shouldAnimate:e.shouldAnimatePlaceholder},(function(e){var t=e.onClose,r=e.data,i=e.animate;return u.createElement(kA,{placeholder:r,onClose:t,innerRef:A,animate:i,styleContext:n,onTransitionEnd:b})})),C=vm((function(){return{innerRef:y,placeholder:x,droppableProps:{"data-react-beautiful-dnd-droppable":n}}}),[x,y,n]),S=vm((function(){return{droppableId:s,type:l}}),[s,l]);return(w={props:e,getDroppableRef:function(){return i.current},getPlaceholderRef:function(){return o.current}}).props,w.getDroppableRef,w.getPlaceholderRef,(0,u.useEffect)((function(){})),u.createElement(EA.Provider,{value:S},a(C,f))}));NA.defaultProps={type:"DEFAULT",direction:"vertical",isDropDisabled:!1,isCombineEnabled:!1,ignoreContainerClipping:!1};var MA=5e3,RA=4500,LA=function(e,t){return t?Vv.drop(t.duration):e?Vv.snap:Vv.fluid},FA=function(e,t){return e?t?zv.drop:zv.combining:null};function zA(e){return"DRAGGING"===e.type?function(e){var t=e.dimension.client,n=e.offset,r=e.combineWith,i=e.dropping,o=Boolean(r),a=function(e){return null!=e.forceShouldAnimate?e.forceShouldAnimate:"SNAP"===e.mode}(e),s=Boolean(i),l=s?Hv(n,o):qv(n);return{position:"fixed",top:t.marginBox.top,left:t.marginBox.left,boxSizing:"border-box",width:t.borderBox.width,height:t.borderBox.height,transition:LA(a,i),transform:l,opacity:FA(o,s),zIndex:s?RA:MA,pointerEvents:"none"}}(e):{transform:qv((t=e).offset),transition:t.shouldAnimateDisplacement?null:"none"};var t}var QA,UA=function(){var e=!1;return{handle:function(){e&&Sm(!1),e=!0},isHandled:function(){return e},reset:function(){e=!1}}},VA=function(e,t){return mm({},e,t)},GA=function(e,t,n){t.forEach((function(t){var r=VA(n,t.options);e.addEventListener(t.eventName,t.fn,r)}))},qA=function(e,t,n){t.forEach((function(t){var r=VA(n,t.options);e.removeEventListener(t.eventName,t.fn,r)}))},HA=function(e){var t=Lm((function(t,n){var r={x:t,y:n};e.onMove(r)})),n=qm((function(e){return t(e.x,e.y)})),r=qm(e.onMoveUp),i=qm(e.onMoveDown),o=qm(e.onMoveRight),a=qm(e.onMoveLeft),s=qm(e.onWindowScroll);return{move:n,moveUp:r,moveDown:i,moveRight:o,moveLeft:a,windowScrollMove:s,cancel:function(){n.cancel(),r.cancel(),i.cancel(),o.cancel(),a.cancel(),s.cancel()}}},WA=function(){var e="visibilitychange";return"undefined"===typeof document?e:hg([e,"ms"+e,"webkit"+e,"moz"+e,"o"+e],(function(e){return"on"+e in document}))||e}(),YA={capture:!0},KA=function(e){var t=!1,n=function(){t&&(t=!1,qA(e(),r,YA))},r=[{eventName:"click",fn:function(e){e.preventDefault(),n()}},{eventName:"mousedown",fn:n},{eventName:"touchstart",fn:n}];return{preventNext:function(){t&&n(),t||(t=!0,GA(e(),r,YA))},abort:n}},JA=((QA={})[13]=!0,QA[9]=!0,QA),XA=function(e){JA[e.keyCode]&&e.preventDefault()},ZA=function(){},$A=UA();function eb(e){var t=e.canStartCapturing,n=e.getWindow,r=e.callbacks,i=e.onCaptureStart,o=e.onCaptureEnd,a=(0,u.useRef)(null),s=(0,u.useRef)(!1),l=(0,u.useRef)(ZA),c=ym((function(){return Boolean(a.current||s.current)}),[]),d=vm((function(){return c()&&Sm(!1),HA(r)}),[r,c]),p=vm((function(){return KA(n)}),[n]),h=ym((function(){if(c()){d.cancel(),l.current();var e=s.current;$A.reset(),e&&p.preventNext(),a.current=null,s.current=!1,o()}}),[c,o,p,d]),f=ym((function(){var e=s.current;h(),e&&r.onCancel()}),[r,h]),m=ym((function(){s.current&&Sm(!1);var e=a.current;e||Sm(!1),a.current=null,s.current=!0,r.onLift({clientSelection:e,movementMode:"FLUID"})}),[r]),g=vm((function(){return c()&&Sm(!1),[{eventName:"mousemove",fn:function(e){var t=e.button,n=e.clientX,r=e.clientY;if(0===t){var i={x:n,y:r};if(s.current)return e.preventDefault(),void d.move(i);var o=a.current;o||(h(),Sm(!1)),function(e,t){return Math.abs(t.x-e.x)>=5||Math.abs(t.y-e.y)>=5}(o,i)&&(e.preventDefault(),m())}}},{eventName:"mouseup",fn:function(e){var t=s.current;h(),t&&(e.preventDefault(),r.onDrop())}},{eventName:"mousedown",fn:function(e){s.current&&e.preventDefault(),f()}},{eventName:"keydown",fn:function(e){if(!a.current)return 27===e.keyCode?(e.preventDefault(),void f()):void XA(e);h()}},{eventName:"resize",fn:f},{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(e){e.currentTarget===n()&&(a.current?h():d.windowScrollMove())}},{eventName:"webkitmouseforcedown",fn:function(){f()}},{eventName:WA,fn:f}]}),[c,f,m,d,h,r,n]),v=ym((function(){var e=n(),t={capture:!0};l.current=function(){return qA(e,g,t)},GA(e,g,t)}),[n,g]),y=ym((function(e){a.current&&Sm(!1),a.current=e,i(h),v()}),[v,i,h]);return ym((function(e){if(!$A.isHandled()&&(c()&&Sm(!1),t(e)&&0===e.button&&!(e.ctrlKey||e.metaKey||e.shiftKey||e.altKey))){$A.handle(),e.preventDefault();var n={x:e.clientX,y:e.clientY};y(n)}}),[t,c,y])}function tb(e){return e instanceof IA(e).Element}var nb,rb={input:!0,button:!0,textarea:!0,select:!0,option:!0,optgroup:!0,video:!0,audio:!0},ib=function e(t,n){if(null==n)return!1;if(Boolean(rb[n.tagName.toLowerCase()]))return!0;var r=n.getAttribute("contenteditable");return"true"===r||""===r||n!==t&&e(t,n.parentElement)},ob=function(e,t){if(t)return!0;var n=e.target,r=e.currentTarget;return!tb(n)||!tb(r)||!ib(r,n)},ab=((nb={})[34]=!0,nb[33]=!0,nb[36]=!0,nb[35]=!0,nb);function sb(){}function lb(e){var t=e.canStartCapturing,n=e.getWindow,r=e.callbacks,i=e.onCaptureStart,o=e.onCaptureEnd,a=e.getDraggableRef,s=(0,u.useRef)(!1),l=(0,u.useRef)(sb),c=ym((function(){return s.current}),[]),d=vm((function(){return c()&&Sm(!1),HA(r)}),[r,c]),p=ym((function(){c()&&(d.cancel(),l.current(),s.current=!1,o())}),[c,o,d]),h=ym((function(){var e=s.current;p(),e&&r.onCancel()}),[r,p]),f=vm((function(){return c()&&Sm(!1),[{eventName:"mousedown",fn:h},{eventName:"mouseup",fn:h},{eventName:"click",fn:h},{eventName:"touchstart",fn:h},{eventName:"resize",fn:h},{eventName:"wheel",fn:h,options:{passive:!0}},{eventName:"scroll",options:{capture:!1},fn:function(e){e.currentTarget===n()&&r.onWindowScroll()}},{eventName:WA,fn:h}]}),[r,h,c,n]),m=ym((function(){var e=n(),t={capture:!0};l.current=function(){return qA(e,f,t)},GA(e,f,t)}),[n,f]),g=ym((function(){s.current&&Sm(!1);var e=a();e||Sm(!1),s.current=!0,i(p),m();var t=Em(e.getBoundingClientRect()).center;r.onLift({clientSelection:t,movementMode:"SNAP"})}),[m,r,a,i,p]);return ym((function(e){if(!c()){if(e.defaultPrevented)return;if(!t(e))return;if(32!==e.keyCode)return;return e.preventDefault(),void g()}return 27===e.keyCode?(e.preventDefault(),void h()):32===e.keyCode?(e.preventDefault(),p(),void r.onDrop()):40===e.keyCode?(e.preventDefault(),void d.moveDown()):38===e.keyCode?(e.preventDefault(),void d.moveUp()):39===e.keyCode?(e.preventDefault(),void d.moveRight()):37===e.keyCode?(e.preventDefault(),void d.moveLeft()):void(ab[e.keyCode]?e.preventDefault():XA(e))}),[r,t,h,c,d,g,p])}var cb=UA(),ub=function(){};var db="["+Vy+"]",pb=function(e){!function(e){return Boolean(IA(e).SVGElement)&&e instanceof IA(e).SVGElement}(e)||Sm(!1)},hb=function(e){if(e.hasAttribute(Vy))return pb(e),e;var t=e.querySelector(db);return pb(e),t||Sm(!1),_A(t)||Sm(!1),t};var fb=null,mb={capture:!0},gb=function(){var e=!1,t=function(){e&&(e=!1,window.removeEventListener("focus",n,mb))},n=function(){t(),fb=null},r=function(){e||(e=!0,window.addEventListener("focus",n,mb))};return r.cancel=function(){return t()},r}(),vb=function(e){fb=e,gb()},yb=function(e,t){if(fb&&e===fb){fb=null,gb.cancel();var n=hb(t);n&&n.focus()}};function Ab(){}function bb(e){e.preventDefault()}function wb(e){var t=(0,u.useRef)(null),n=ym((function(e){t.current&&Sm(!1),t.current={abort:e}}),[]),r=ym((function(){t.current||Sm(!1),t.current=null}),[]),i=ym((function(){t.current||Sm(!1),t.current.abort()}),[]),o=bA(eA),a=o.canLift,s=o.style,l=e.isDragging,c=e.isEnabled,d=e.draggableId,p=e.callbacks,h=e.getDraggableRef,f=e.getShouldRespectForcePress,m=e.canDragInteractiveElements,g=nA(e);!function(e){var t=e.isEnabled,n=e.getDraggableRef;(0,u.useEffect)((function(){}),[n,t])}({isEnabled:c,getDraggableRef:h});var v=ym((function(){return IA(h())}),[h]),y=ym((function(e){return!!c&&(!t.current&&(!!a(d)&&ob(e,m)))}),[m,a,d,c]),A=function(e){var t=(0,u.useRef)(!1),n=nA(e),r=e.getDraggableRef,i=ym((function(){t.current=!0}),[]),o=ym((function(){t.current=!1}),[]);Wy((function(){var e=n.current;if(!e.isEnabled)return Ab;var i=r();i||Sm(!1);var o=hb(i);return yb(e.draggableId,o),function(){var e=n.current;e.isEnabled&&t.current&&(e.isDragging||e.isDropAnimating)&&vb(e.draggableId)}}),[r,n]);var a=(0,u.useRef)(null);return Wy((function(){if(a.current){var e=r();e&&e!==a.current&&t.current&&n.current.isEnabled&&hb(e).focus()}})),Wy((function(){a.current=r()})),{onBlur:o,onFocus:i}}(e),b=A.onBlur,w=A.onFocus,x=eb(vm((function(){return{callbacks:p,getDraggableRef:h,getWindow:v,canStartCapturing:y,onCaptureStart:n,onCaptureEnd:r,getShouldRespectForcePress:f}}),[p,h,v,y,n,r,f])),C=lb(vm((function(){return{callbacks:p,getDraggableRef:h,getWindow:v,canStartCapturing:y,onCaptureStart:n,onCaptureEnd:r}}),[p,y,h,v,r,n])),S=function(e){var t=e.callbacks,n=e.getWindow,r=e.canStartCapturing,i=e.getShouldRespectForcePress,o=e.onCaptureStart,a=e.onCaptureEnd,s=(0,u.useRef)(null),l=(0,u.useRef)(!1),c=(0,u.useRef)(!1),d=(0,u.useRef)(ub),p=ym((function(){return Boolean(s.current||l.current)}),[]),h=vm((function(){return KA(n)}),[n]),f=vm((function(){return p()&&Sm(!1),HA(t)}),[t,p]),m=ym((function(){if(p()){if(f.cancel(),d.current(),cb.reset(),c.current=!1,a(),l.current)return h.preventNext(),void(l.current=!1);var e=s.current;e||Sm(!1),clearTimeout(e.longPressTimerId),s.current=null}}),[p,a,h,f]),g=ym((function(){var e=l.current;m(),e&&t.onCancel()}),[t,m]),v=vm((function(){return p()&&Sm(!1),[{eventName:"touchmove",options:{passive:!1,capture:!1},fn:function(e){if(l.current){c.current||(c.current=!0);var t=e.touches[0];if(t){var n={x:t.clientX,y:t.clientY};e.preventDefault(),f.move(n)}}else m()}},{eventName:"touchend",fn:function(e){l.current?(e.preventDefault(),m(),t.onDrop()):m()}},{eventName:"touchcancel",fn:function(e){l.current?(e.preventDefault(),g()):m()}},{eventName:"touchstart",fn:g},{eventName:"orientationchange",fn:g},{eventName:"resize",fn:g},{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(){s.current?m():f.windowScrollMove()}},{eventName:"contextmenu",fn:function(e){e.preventDefault()}},{eventName:"keydown",fn:function(e){l.current?(27===e.keyCode&&e.preventDefault(),g()):g()}},{eventName:"touchforcechange",fn:function(e){if(e.touches[0].force>=.15){var t=i();if(!s.current)return t?c.current?void e.preventDefault():void g():void e.preventDefault();t&&g()}}},{eventName:WA,fn:g}]}),[t,g,p,i,f,m]),y=ym((function(){var e=n(),t={capture:!0};d.current=function(){return qA(e,v,t)},GA(e,v,t)}),[n,v]),A=ym((function(){var e=s.current;e||Sm(!1),l.current=!0,s.current=null,c.current=!1,t.onLift({clientSelection:e.point,movementMode:"FLUID"})}),[t]),b=ym((function(e){s.current&&Sm(!1);var t=e.touches[0],n={point:{x:t.clientX,y:t.clientY},longPressTimerId:setTimeout(A,120)};s.current=n,o(m),y()}),[y,o,A,m]);return Wy((function(){return GA(window,[{eventName:"touchmove",fn:ub,options:{capture:!1,passive:!1}}])}),[]),function(e){cb.isHandled()||(p()&&Sm(!1),r(e)&&(cb.handle(),b(e)))}}(vm((function(){return{callbacks:p,getDraggableRef:h,getWindow:v,canStartCapturing:y,getShouldRespectForcePress:f,onCaptureStart:n,onCaptureEnd:r}}),[p,h,v,y,f,n,r]));return Wy((function(){return function(){t.current&&(i(),g.current.isDragging&&g.current.callbacks.onCancel())}}),[]),!c&&t.current&&(i(),g.current.isDragging&&p.onCancel()),Wy((function(){!l&&t.current&&i()}),[i,l]),vm((function(){return c?{onMouseDown:x,onKeyDown:C,onTouchStart:S,onFocus:w,onBlur:b,tabIndex:0,"data-react-beautiful-dnd-drag-handle":s,"aria-roledescription":"Draggable item. Press space bar to lift",draggable:!1,onDragStart:bb}:null}),[c,b,w,C,x,S,s])}function xb(e){var t=e.draggableId,n=e.index,r=e.getDraggableRef,i=bA(eA).marshal,o=bA(EA),a=o.droppableId,s=o.type,l=vm((function(){return{id:t,droppableId:a,type:s,index:n}}),[t,a,n,s]),c=(0,u.useRef)(l),d=ym((function(e){var t=c.current,n=r();return n||Sm(!1),function(e,t,n){void 0===n&&(n=Jm);var r=window.getComputedStyle(t),i=t.getBoundingClientRect(),o=Bm(i,r),a=jm(o,n);return{descriptor:e,placeholder:{client:o,tagName:t.tagName.toLowerCase(),display:r.display},displaceBy:{x:o.marginBox.width,y:o.marginBox.height},client:o,page:a}}(t,n,e)}),[r]);Wy((function(){return i.registerDraggable(c.current,d),function(){return i.unregisterDraggable(c.current)}}),[d,i]),Wy((function(){if(c.current!==l){var e=c.current;c.current=l,i.updateDraggable(e,l,d)}}),[l,d,i])}var Cb={lift:function(e){return{type:"LIFT",payload:e}},move:Mv,moveUp:function(){return{type:"MOVE_UP",payload:null}},moveDown:function(){return{type:"MOVE_DOWN",payload:null}},moveLeft:function(){return{type:"MOVE_LEFT",payload:null}},moveRight:function(){return{type:"MOVE_RIGHT",payload:null}},moveByWindowScroll:function(e){return{type:"MOVE_BY_WINDOW_SCROLL",payload:e}},drop:Lv,dropAnimationFinished:function(){return{type:"DROP_ANIMATION_FINISHED",payload:null}}},Sb=(0,Rn.Ng)((function(){var e=Lm((function(e,t,n,r){return{isDragging:!0,isDropAnimating:Boolean(r),dropAnimation:r,mode:e,draggingOver:t,combineWith:n,combineTargetFor:null}})),t=Lm((function(e){return{isDragging:!1,isDropAnimating:!1,dropAnimation:null,mode:null,draggingOver:null,combineTargetFor:e,combineWith:null}})),n={mapped:{type:"SECONDARY",offset:Jm,combineTargetFor:null,shouldAnimateDisplacement:!0,snapshot:t(null)}},r=Lm((function(e,t){return{x:e,y:t}})),i=Lm((function(t,n,r,i,o,a){return{mapped:{type:"DRAGGING",dropping:null,draggingOver:i,combineWith:o,mode:n,offset:t,dimension:r,forceShouldAnimate:a,snapshot:e(n,i,o,null)}}})),o=Lm((function(e,n,r){return void 0===n&&(n=null),{mapped:{type:"SECONDARY",offset:e,combineTargetFor:n,shouldAnimateDisplacement:r,snapshot:t(n)}}})),a=function(e,t,n){var i=n.movement.map[e],a=n.movement,s=n.merge,l=Boolean(s&&s.combine.draggableId===e),c=a.displacedBy.point,u=r(c.x,c.y);return l?o(i?u:Jm,t,!i||i.shouldAnimate):i&&i.isVisible?o(u,null,i.shouldAnimate):null};return function(t,o){return function(t,n){if(t.isDragging){if(t.critical.draggable.id!==n.draggableId)return null;var o=t.current.client.offset,a=t.dimensions.draggables[n.draggableId],s=t.movementMode,l=ug(t.impact),c=(d=t.impact).merge?d.merge.combine.draggableId:null,u=t.forceShouldAnimate;return i(r(o.x,o.y),s,a,l,c,u)}var d;if("DROP_ANIMATING"===t.phase){var p=t.completed;if(p.result.draggableId!==n.draggableId)return null;var h=t.dimensions.draggables[n.draggableId],f=p.result,m=f.mode,g=TA(f),v=function(e){return e.combine?e.combine.draggableId:null}(f),y={duration:t.dropDuration,curve:Fv,moveTo:t.newHomeClientOffset,opacity:v?zv.drop:null,scale:v?Qv.drop:null};return{mapped:{type:"DRAGGING",offset:t.newHomeClientOffset,dimension:h,dropping:y,draggingOver:g,combineWith:v,mode:m,forceShouldAnimate:null,snapshot:e(m,g,v,y)}}}return null}(t,o)||function(e,t){if(e.isDragging)return e.critical.draggable.id===t.draggableId?null:a(t.draggableId,e.critical.draggable.id,e.impact);if("DROP_ANIMATING"===e.phase){var n=e.completed;return n.result.draggableId===t.draggableId?null:a(t.draggableId,n.result.draggableId,n.impact)}return null}(t,o)||n}}),Cb,null,{context:Xy,pure:!0,areStatePropsEqual:OA})((function(e){var t=(0,u.useRef)(null),n=ym((function(e){t.current=e}),[]),r=ym((function(){return t.current}),[]),i=bA(eA);(0,u.useEffect)((function(){}));var o=e.children,a=e.draggableId,s=e.isDragDisabled,l=e.shouldRespectForcePress,c=e.disableInteractiveElementBlocking,d=e.index,p=e.mapped,h=e.moveUp,f=e.move,m=e.drop,g=e.moveDown,v=e.moveRight,y=e.moveLeft,A=e.moveByWindowScroll,b=e.lift,w=e.dropAnimationFinished;xb(vm((function(){return{draggableId:a,index:d,getDraggableRef:r}}),[a,r,d]));var x=ym((function(e){t.current||Sm(!1),s&&Sm(!1);var n=e.clientSelection,r=e.movementMode;b({id:a,clientSelection:n,movementMode:r})}),[a,s,b]),C=ym((function(){return l}),[l]),S=vm((function(){return{onLift:x,onMove:function(e){return f({client:e})},onDrop:function(){return m({reason:"DROP"})},onCancel:function(){return m({reason:"CANCEL"})},onMoveUp:h,onMoveDown:g,onMoveRight:v,onMoveLeft:y,onWindowScroll:function(){return A({newScroll:hy()})}}}),[m,f,A,g,y,v,h,x]),k="DRAGGING"===p.type,E="DRAGGING"===p.type&&Boolean(p.dropping),I=wb(vm((function(){return{draggableId:a,isDragging:k,isDropAnimating:E,isEnabled:!s,callbacks:S,getDraggableRef:r,canDragInteractiveElements:c,getShouldRespectForcePress:C}}),[S,c,a,r,C,s,k,E])),_=ym((function(e){"DRAGGING"===p.type&&p.dropping&&"transform"===e.propertyName&&w()}),[w,p]),P=vm((function(){var e=zA(p),t="DRAGGING"===p.type&&p.dropping?_:null;return{innerRef:n,draggableProps:{"data-react-beautiful-dnd-draggable":i.style,style:e,onTransitionEnd:t},dragHandleProps:I}}),[i.style,I,p,_,n]);return o(P,p.snapshot)}));Sb.defaultProps={isDragDisabled:!1,disableInteractiveElementBlocking:!1,shouldRespectForcePress:!1};var kb=n(4306),Eb=n(79517),Ib=function(){},_b=function(e,t,n){return Math.min(t,Math.max(e,n))},Pb=function(e,t){return e[t].path},Ob=function(e,t,n,r){var i=n>t,o=Pb(e,t),a=n===t,s=i?e[n].path:e[n-1]&&e[n-1].path,l=i||a?e[n+1]&&e[n+1].path:e[n].path;if(a){if("number"!==typeof r)return o;if(!s)return o;var c=l?l.length:1,u=Math.max(o.length,s.length),d=_b(c,u,r);if(d===o.length)return o;var p=(0,Eb.Nk)(s,d);return(0,Eb.tI)(p,o)}if(l&&(0,Eb.BA)(l,s))return l;if(s&&l&&(0,Eb.ds)(s,l))return i&&(0,Eb.ds)(s,o)?s:l;if(s){var h=Tb(o,s,l,r),f=(0,Eb.Nk)(s,h);return(0,Eb.tI)(f,o)}return o},Tb=function(e,t,n,r){var i=t.length,o=n?n.length:1,a=e.length;return"number"===typeof r?_b(o,i,r):a<=o?o:i};function Db(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var jb=function(e,t,n){var r=n.source,i=n.destination,o=n.combine,a=n.horizontalLevel,s=Pb(t,r.index),l=(0,kb.Ge)(e,s);if(o)return{sourcePosition:l,destinationPosition:{parentId:o.draggableId}};if(!i)return{sourcePosition:l,destinationPosition:void 0};var c=Ob(t,r.index,i.index,a),u=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Db(Object(n),!0).forEach((function(t){(0,hm.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Db(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},(0,kb.Ge)(e,c));return{sourcePosition:l,destinationPosition:u}},Bb=n(48664);function Nb(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Mb(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Nb(Object(n),!0).forEach((function(t){(0,hm.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Nb(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Rb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Rb=function(){return!!e})()}var Lb=function(e){(0,um.A)(n,e);var t=function(e){var t=Rb();return function(){var n,r=(0,pm.A)(e);if(t){var i=(0,pm.A)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,dm.A)(this,n)}}(n);function n(){var e;(0,sm.A)(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return e=t.call.apply(t,[this].concat(i)),(0,hm.A)((0,cm.A)(e),"patchDraggableProps",(function(t,n){var r=e.props,i=r.path,o=r.offsetPerLevel,a=t.style&&t.style.transition?[t.style.transition]:[];n.dropAnimation&&a.push("padding-left ".concat(n.dropAnimation.duration,"s ").concat(n.dropAnimation.curve));var s=a.join(", ");return Mb(Mb({},t),{},{style:Mb(Mb({},t.style),{},{paddingLeft:(i.length-1)*o,transition:s})})})),e}return(0,lm.A)(n,[{key:"shouldComponentUpdate",value:function(e){return t=this.props,n=e,!(void 0===["item","provided","snapshot","onCollapse","onExpand"].find((function(e){return t[e]!==n[e]})))||!(0,Eb.ys)(this.props.path,e.path)||null===this.props.provided.dragHandleProps;var t,n}},{key:"render",value:function(){var e=this.props,t=e.item,n=e.path,r=e.onExpand,i=e.onCollapse,o=e.renderItem,a=e.provided,s=e.snapshot,l=e.itemRef,c={draggableProps:this.patchDraggableProps(a.draggableProps,s),dragHandleProps:a.dragHandleProps,innerRef:function(e){l(t.id,e),a.innerRef(e)}};return o({item:t,depth:n.length-1,onExpand:function(e){return r(e,n)},onCollapse:function(e){return i(e,n)},provided:c,snapshot:s})}}]),n}(u.Component),Fb=function(){function e(t){(0,sm.A)(this,e),this.delay=t}return(0,lm.A)(e,[{key:"start",value:function(e){this.stop(),this.timeoutId=window.setTimeout(e,this.delay)}},{key:"stop",value:function(){this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=void 0)}}]),e}();function zb(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Qb(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?zb(Object(n),!0).forEach((function(t){(0,hm.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):zb(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ub(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Ub=function(){return!!e})()}var Vb=function(e){(0,um.A)(n,e);var t=function(e){var t=Ub();return function(){var n,r=(0,pm.A)(e);if(t){var i=(0,pm.A)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,dm.A)(this,n)}}(n);function n(){var e;(0,sm.A)(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return e=t.call.apply(t,[this].concat(i)),(0,hm.A)((0,cm.A)(e),"state",{flattenedTree:[],draggedItemId:void 0}),(0,hm.A)((0,cm.A)(e),"itemsElement",{}),(0,hm.A)((0,cm.A)(e),"expandTimer",new Fb(500)),(0,hm.A)((0,cm.A)(e),"onDragStart",(function(t){var n=e.props.onDragStart;e.dragState={source:t.source,destination:t.source,mode:t.mode},e.setState({draggedItemId:t.draggableId}),n&&n(t.draggableId)})),(0,hm.A)((0,cm.A)(e),"onDragUpdate",(function(t){var n=e.props.onExpand,r=e.state.flattenedTree;if(e.dragState){if(e.expandTimer.stop(),t.combine){var i=t.combine.draggableId,o=function(e,t){return e.find((function(e){return e.item.id===t}))}(r,i);o&&e.isExpandable(o)&&e.expandTimer.start((function(){return n(i,o.path)}))}e.dragState=Qb(Qb({},e.dragState),{},{destination:t.destination,combine:t.combine})}})),(0,hm.A)((0,cm.A)(e),"onDropAnimating",(function(){e.expandTimer.stop()})),(0,hm.A)((0,cm.A)(e),"onDragEnd",(function(t){var n=e.props,r=n.onDragEnd,i=n.tree,o=e.state.flattenedTree;e.expandTimer.stop();var a=Qb(Qb({},e.dragState),{},{source:t.source,destination:t.destination,combine:t.combine});e.setState({draggedItemId:void 0});var s=jb(i,o,a);r(s.sourcePosition,s.destinationPosition),e.dragState=void 0})),(0,hm.A)((0,cm.A)(e),"onPointerMove",(function(){e.dragState&&(e.dragState=Qb(Qb({},e.dragState),{},{horizontalLevel:e.getDroppedLevel()}))})),(0,hm.A)((0,cm.A)(e),"calculateEffectivePath",(function(t,n){var r=e.state,i=r.flattenedTree,o=r.draggedItemId;if(e.dragState&&o===t.item.id&&(e.dragState.destination||e.dragState.combine)){var a=e.dragState,s=a.source,l=a.destination,c=a.combine,u=a.horizontalLevel;if("SNAP"===a.mode||n.isDropAnimating){if(l)return Ob(i,s.index,l.index,u);if(c)return Ob(i,s.index,function(e,t){return e.findIndex((function(e){return e.item.id===t}))}(i,c.draggableId),u)}}return t.path})),(0,hm.A)((0,cm.A)(e),"isExpandable",(function(e){return!!e.item.hasChildren&&!e.item.isExpanded})),(0,hm.A)((0,cm.A)(e),"getDroppedLevel",(function(){var t=e.props.offsetPerLevel,n=e.state.draggedItemId;if(e.dragState&&e.containerElement){var r=Nm(e.containerElement).contentBox.left,i=e.itemsElement[n];if(i){var o=Nm(i).contentBox.left,a=Math.max(o-r,0);return Math.floor((a+t/2)/t)+1}}})),(0,hm.A)((0,cm.A)(e),"patchDroppableProvided",(function(t){return Qb(Qb({},t),{},{innerRef:function(n){e.containerElement=n,t.innerRef(n)}})})),(0,hm.A)((0,cm.A)(e),"setItemRef",(function(t,n){n&&(e.itemsElement[t]=n)})),(0,hm.A)((0,cm.A)(e),"renderItems",(function(){return e.state.flattenedTree.map(e.renderItem)})),(0,hm.A)((0,cm.A)(e),"renderItem",(function(t,n){var r=e.props.isDragEnabled;if(!1===r)return e.renderTreeItem({flatItem:t,path:t.path,provided:{draggableProps:{"data-react-beautiful-dnd-draggable":""},innerRef:function(){},dragHandleProps:null},snapshot:{isDragging:!1,isDropAnimating:!1}});var i="function"===typeof r?!r(t.item):!r;return u.createElement(Sb,{key:t.item.id,draggableId:t.item.id.toString(),index:n,isDragDisabled:i},e.renderDraggableItem(t))})),(0,hm.A)((0,cm.A)(e),"renderDraggableItem",(function(t){return function(n,r){var i=e.calculateEffectivePath(t,r);return r.isDropAnimating&&e.onDropAnimating(),e.renderTreeItem({flatItem:t,path:i,provided:n,snapshot:r})}})),(0,hm.A)((0,cm.A)(e),"renderTreeItem",(function(t){var n=t.flatItem,r=t.path,i=t.provided,o=t.snapshot,a=e.props,s=a.renderItem,l=a.onExpand,c=a.onCollapse,d=a.offsetPerLevel;return u.createElement(Lb,{key:n.item.id,item:n.item,path:r,onExpand:l,onCollapse:c,renderItem:s,provided:i,snapshot:o,itemRef:e.setItemRef,offsetPerLevel:d})})),e}return(0,lm.A)(n,[{key:"render",value:function(){var e=this,t=this.props.isNestingEnabled,n=this.renderItems();return u.createElement(aA,{onDragStart:this.onDragStart,onDragEnd:this.onDragEnd,onDragUpdate:this.onDragUpdate},u.createElement(NA,{droppableId:"tree",isCombineEnabled:t,ignoreContainerClipping:!0},(function(t){var r=e.patchDroppableProvided(t);return u.createElement("div",(0,am.A)({ref:r.innerRef,style:{pointerEvents:"auto"},onTouchMove:e.onPointerMove,onMouseMove:e.onPointerMove},r.droppableProps),n,t.placeholder)})))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var r=t.draggedItemId,i=e.tree,o=n.closeParentIfNeeded(i,r),a=(0,kb.dG)(o);return Qb(Qb({},t),{},{flattenedTree:a})}},{key:"closeParentIfNeeded",value:function(e,t){return t?(0,Bb.r)(e,t,{isExpanded:!1}):e}}]),n}(u.Component);(0,hm.A)(Vb,"defaultProps",{tree:{children:[]},onExpand:Ib,onCollapse:Ib,onDragStart:Ib,onDragEnd:Ib,renderItem:Ib,offsetPerLevel:35,isDragEnabled:!1,isNestingEnabled:!1});const Gb=()=>{const e=(0,c.GV)(Gp.bU),t=(0,c.GV)(Gp.Lg),n=(0,c.GV)(N.yr),{t:r}=(0,d.B)(),i=(0,c.jL)();(0,u.useEffect)((()=>{i((0,cp.ND)(null!==n&&void 0!==n?n:{}))}),[i,n]);const o=(0,u.useMemo)((()=>async e=>{i((0,cp.z8)(e))}),[i]);return(0,m.jsx)(m.Fragment,{children:(0,m.jsx)(s.so,{column:!0,children:t?t.map(((t,n)=>(0,m.jsx)(s.Sc,{name:"dispatch",bgColor:"fillWhite",label:r("filter.filter",{context:t}),checked:e.includes(null!==t&&void 0!==t?t:""),onChange:()=>t&&((e,t)=>{i((0,cp.fb)(e));const n=t.includes(e)?t.filter((t=>t!==e)):[...new Set([...t,e])];return o({assortmentFilters:n})})(t,e),className:"m-1"},n))):r("microshop.noFilters","No filters to choose from")})})},qb=e=>{var t,n,r,a,l,p,h,f,g;let{product:v,index:y,onProductNameChange:A,onTextModeChange:b,onDescriptionChange:w,onDeleteProduct:x,onCustomImages:C,onAddonChange:S,onPriceChange:k,onCategoryChange:E,onRemoveCollectionFromProduct:I,..._}=e;const{t:P}=(0,d.B)(),O=(0,c.jL)(),T=(0,c.GV)(Gp.Kq),[D,j]=(0,u.useState)(!1),[B,N]=(0,u.useState)({}),[M,R]=(0,u.useState)(!1),[L,F]=(0,u.useState)(`${Wb(v,null===v||void 0===v||null===(t=v.price)||void 0===t?void 0:t.priceType)}`),z=(0,u.useRef)(null),Q=(0,u.useRef)(null),U=(0,u.useRef)(null),V=(0,c.GV)((e=>{let{microshops:t}=e;return t.customImagesRefs})),G=(0,u.useCallback)((e=>{N((t=>({...t,[e]:!t[e]})))}),[]),q=async(e,t,n)=>{O((0,cp.Di)((0,ja.HL)(e))).then((e=>{var r,i,o,a;O((0,cp.c6)({[null===(r=e.payload[0])||void 0===r?void 0:r.fileName]:null===(i=e.payload[0])||void 0===i?void 0:i.url})),C(null!==(o=v.productNumber)&&void 0!==o?o:"",t,[...n,null===(a=e.payload[0])||void 0===a?void 0:a.fileName])}))},H=e=>{var t;let{value:n,type:r}=e;k(null!==(t=null===v||void 0===v?void 0:v.productNumber)&&void 0!==t?t:"",r,n),F(null!==n&&void 0!==n?n:"")},W=null!==(n=v.customName)&&void 0!==n?n:null===v||void 0===v?void 0:v.productName,Y=[{value:be.ElasticMicroshopProductTextMode.Default,label:P("microshop.descOptionDefault")},{value:be.ElasticMicroshopProductTextMode.Replace,label:P("action.replace")},{value:be.ElasticMicroshopProductTextMode.Combine,label:P("microshop.descOptionCombine")}],Z=[{value:be.ShopPriceModelType.None,label:P("microshop.priceOptionNone")},{value:be.ShopPriceModelType.Fixed,label:P("microshop.priceOptionFixed")},{value:be.ShopPriceModelType.Retail,label:P("microshop.priceOptionRetail")}];return(0,m.jsxs)(Kb,{"data-draggable":!0,className:"mb-3 mt-3",..._,children:[(0,m.jsxs)(Jb,{children:[(0,m.jsx)(Xb,{children:(0,m.jsx)(o.g,{icon:J.IMq})}),(0,m.jsxs)(Xb,{flex:1,children:[null===v||void 0===v?void 0:v.productNumber,null!=A&&M?(0,m.jsx)(pw,{type:"text",ref:U,defaultValue:null!==W&&void 0!==W?W:"",onBlurCapture:()=>R(!1),onChange:Mn()((e=>{var t;return A(v.productNumber,null===(t=e.target.value)||void 0===t?void 0:t.trim())}),300)}):(0,m.jsxs)(m.Fragment,{children:[" "+W,(0,m.jsx)(dw,{icon:i.hpd,className:"px-2 py-1",onClick:()=>{R(!0),setTimeout((()=>{var e;return null===(e=U.current)||void 0===e?void 0:e.focus()}),50)}})]})]}),(0,m.jsx)(sw,{className:"mr-2",square:!0,icon:i.yLS,bgColor:"accent",color:"accentText",onClick:()=>{var e;return x(null!==(e=v.productNumber)&&void 0!==e?e:"")},children:P("microshop.deleteProduct")})]}),null===v||void 0===v||null===(r=v.variations)||void 0===r||null===(a=r.filter((e=>e.status!==be.ChangeStatus.Deleted)))||void 0===a?void 0:a.map(((e,t)=>{var n,r,a,l,c,u,d,p,h,f,g,y,A,b;const w=!(null===B||void 0===B||!B[null!==(n=e.variationNumber)&&void 0!==n?n:""]),S=null!==(r=null===(a=e.customImages)||void 0===a?void 0:a.length)&&void 0!==r?r:0,k=null!==(l=null===(c=e.customImages)||void 0===c?void 0:c.map((t=>{var n,r,i;return{fileId:t,thumbnail:null!==(n=e.pictures)&&void 0!==n&&n.find((e=>e.imageId===t))?(0,X.Ay)(null===(r=e.pictures)||void 0===r?void 0:r.find((e=>(null===e||void 0===e?void 0:e.imageId)===t)),X.yj.ThumbNail):(null===(i=e.image)||void 0===i?void 0:i.imageId)===t&&(0,X.Ay)(null===e||void 0===e?void 0:e.image,X.yj.ThumbNail)}})))&&void 0!==l?l:[],E=(null!==(u=null===e||void 0===e||null===(d=e.collectionIds)||void 0===d?void 0:d.length)&&void 0!==u?u:0)>0;return(0,m.jsx)(Jb,{children:(0,m.jsxs)(Xb,{flex:1,children:[(0,m.jsxs)(s.so,{justify:"between",align:"center",children:[E?(0,m.jsx)(aw,{variation:e,expanded:w,expandedLabel:P("image.image_other","Images"),onExpand:G,children:(0,m.jsxs)(s.so,{align:"center",children:[(0,m.jsx)(o.g,{icon:K.AdY,className:"mr-1"}),null===e||void 0===e||null===(p=e.collectionIds)||void 0===p?void 0:p.map((n=>(0,m.jsxs)(hw,{onClick:()=>null===I||void 0===I?void 0:I(v.productNumber,e.variationNumber,n),children:[(0,m.jsx)(Hb,{id:n}),(0,m.jsx)(o.g,{icon:i.yLS,className:"ml-1",color:"accentText",fontSize:12})]},`collection-${t}-${n}`)))]})}):(0,m.jsx)(aw,{variation:e,expanded:w,expandedLabel:P("image.image_other","Images"),onExpand:G}),(0,m.jsxs)(ow,{className:"ml-3",children:[(null===v||void 0===v||null===(h=v.price)||void 0===h?void 0:h.priceType)===be.ShopPriceModelType.None?(0,m.jsx)("span",{children:P("microshop.priceOptionNone")}):(0,m.jsx)("span",{children:null!==(f=null===v||void 0===v||null===(g=v.price)||void 0===g||null===(y=g.selected)||void 0===y?void 0:y.str)&&void 0!==f?f:"-"}),(0,m.jsxs)("span",{children:[P("microshop.retailPrice"),": ",null===v||void 0===v||null===(A=v.price)||void 0===A||null===(b=A.retailPrice)||void 0===b?void 0:b.str]})]}),(0,m.jsx)(s.K0,{icon:i.yLS,className:"ml-3",bgColor:"transparent",onClick:()=>x(v.productNumber,e.variationNumber,e.collectionIds)})]}),w&&(0,m.jsxs)("div",{children:[(0,m.jsxs)(s.so,{className:"my-2",children:[(0,m.jsxs)(s.EY,{className:"mr-2",children:[P("microshop.productAddImages")+" "," "]}),(0,m.jsx)(s.EY,{light:!0,children:P("productAddImagesAfter",void 0,{added:k.length,max:4})})]}),k.length>0&&(0,m.jsx)(Zb,{className:"mb-1",children:k.map(((t,n)=>(0,m.jsxs)($b,{children:[(0,m.jsxs)(ew,{className:"m-2",children:[0===n&&(0,m.jsx)(tw,{className:"f1-400",children:"Omslagsbild"}),(0,m.jsx)("img",{alt:"Custom productimage",src:!1!==t.thumbnail?t.thumbnail:V[t.fileId]})]}),(0,m.jsxs)(nw,{justify:"between",className:"px-2 py-1",children:[(0,m.jsx)(s.EY,{children:n+1}),(0,m.jsxs)(rw,{onClick:()=>{var n,r;return((e,t,n)=>{var r;O((0,cp.c6)({[n]:void 0})),C(null!==(r=v.productNumber)&&void 0!==r?r:"",e,t.filter((e=>e!==n)))})(null!==(n=e.variationNumber)&&void 0!==n?n:"",null!==(r=e.customImages)&&void 0!==r?r:[],t.fileId)},children:[(0,m.jsx)(o.g,{icon:i.yLS}),(0,m.jsx)("span",{className:"f1-400",children:P("action.remove")})]})]})]},`custom_image_${n}`)))}),S<4&&(0,m.jsx)(iw,{multiple:!0,fileInputRef:z,handleDrop:t=>{var n,r;return q(t,null!==(n=e.variationNumber)&&void 0!==n?n:"",null!==(r=e.customImages)&&void 0!==r?r:[])},uploadFiles:t=>{var n,r;return q(t.target.files,null!==(n=e.variationNumber)&&void 0!==n?n:"",null!==(r=e.customImages)&&void 0!==r?r:[])}})]})]})},`product-variation-row-${t}`)})),(0,m.jsxs)(lw,{column:!0,className:"mt-2 px-2 pb-2",children:[(0,m.jsxs)(cw,{onClick:()=>j((e=>!e)),children:[P("microshop.handleProductsSettings"),(0,m.jsx)(o.g,{icon:i.GF6,className:"ml-2 "+(D?"":"fa-flip-vertical")})]}),D&&(0,m.jsxs)(s.so,{column:!0,className:"mt-3",children:[(0,m.jsxs)(s.so,{column:!0,justify:"between",className:"w-100",children:[(0,m.jsx)(uw,{children:P("general.description")}),(0,m.jsxs)(s.so,{className:"mt-2",column:!0,children:[(0,m.jsx)(s.so,{children:(0,m.jsx)(s.l6,{isMulti:!1,isSearchable:!1,toggleBgColor:"fill",value:Y.find((e=>e.value===(null===v||void 0===v?void 0:v.textMode))),options:Y,onChange:e=>{var t;return e&&b(null!==(t=v.productNumber)&&void 0!==t?t:"",e.value)}})}),v.textMode!==be.ElasticMicroshopProductTextMode.Default&&(0,m.jsx)(s.Lz,{name:"custom-product-description",className:"mt-2",defaultValue:null!==(l=null===v||void 0===v?void 0:v.customDescription)&&void 0!==l?l:"",onChange:e=>{var t;return w(null!==(t=v.productNumber)&&void 0!==t?t:"",e.target.value)}})]}),(0,m.jsx)(uw,{className:"mt-3",children:P("microshop.priceModel")}),(0,m.jsxs)(s.so,{className:"mt-2",children:[(0,m.jsx)(s.l6,{isMulti:!1,isSearchable:!1,toggleBgColor:"fill",value:Z.find((e=>{var t;return e.value===(null===v||void 0===v||null===(t=v.price)||void 0===t?void 0:t.priceType)})),options:Z,onChange:e=>e&&((e,t)=>{const n=Yb(v,t);H({value:`${n}`,type:t})})(v.productNumber,e.value)}),(null===v||void 0===v||null===(p=v.price)||void 0===p?void 0:p.priceType)!==be.ShopPriceModelType.None&&(0,m.jsx)(s.pd,{ref:Q,value:`${L}`,onChange:e=>{var t;return H({value:e.target.value,type:null===v||void 0===v||null===(t=v.price)||void 0===t?void 0:t.priceType})},placeholder:"0",className:"ml-1",type:"number",min:0,suffix:(null===v||void 0===v||null===(h=v.price)||void 0===h?void 0:h.priceType)===be.ShopPriceModelType.Fixed?null===v||void 0===v||null===(f=v.price)||void 0===f?void 0:f.currency:(null===v||void 0===v||null===(g=v.price)||void 0===g?void 0:g.priceType)===be.ShopPriceModelType.Retail?"%":""})]})]}),(0,m.jsxs)(s.so,{column:!0,className:"mt-3",children:[(0,m.jsx)(uw,{children:P("microshop.addons")}),null!==T&&void 0!==T&&T.addons&&T.addons.length>0?T.addons.map((e=>{var t,n;return null!==e&&void 0!==e&&e.id?(0,m.jsx)(s.Sc,{className:"mt-2",label:e.productName,onChange:t=>{var n,r;return S(null!==(n=v.productNumber)&&void 0!==n?n:"",+(null!==(r=e.id)&&void 0!==r?r:0),t.target.checked)},required:e.type===be.ShopProductAddOnType.Mandatory,checked:null!==(t=null===(n=v.addOns)||void 0===n?void 0:n.includes(e.id))&&void 0!==t&&t},`addon_${e.id}`):null})):(0,m.jsx)(s.EY,{className:"mt-1",children:P("microshop.zeroContentAddons",{tab:`${P("refinement.refinement_other")} & ${P("microshop.addons").toLowerCase()}`})})]})]})]})]})},Hb=e=>{let{id:t}=e;const n=(0,c.GV)((0,Gp.Y_)(t));return(0,m.jsx)(m.Fragment,{children:n})},Wb=(e,t)=>{var n,r,i,o;switch(t){case be.ShopPriceModelType.Retail:return 100*(null!==(n=null===e||void 0===e||null===(r=e.price)||void 0===r?void 0:r.priceModifier)&&void 0!==n?n:1);case be.ShopPriceModelType.Fixed:return null===e||void 0===e||null===(i=e.price)||void 0===i||null===(o=i.selected)||void 0===o?void 0:o.num;default:return""}},Yb=(e,t)=>{var n,r,i;return null!==(n=t===be.ShopPriceModelType.Retail?100:t===be.ShopPriceModelType.Fixed?null===e||void 0===e||null===(r=e.price)||void 0===r||null===(i=r.retailPrice)||void 0===i?void 0:i.num:0)&&void 0!==n?n:0},Kb=p.Ay.div.withConfig({componentId:"sc-s53gyi-0"})(["position:relative;display:flex;flex-direction:column;background:white;padding:5px;"]),Jb=p.Ay.div.withConfig({componentId:"sc-s53gyi-1"})(["position:relative;display:flex;flex-direction:row;align-items:center;"]),Xb=p.Ay.div.withConfig({componentId:"sc-s53gyi-2"})(["display:flex;position:relative;padding:8px;",""],(e=>{let{flex:t}=e;return t&&`flex: ${t};`})),Zb=(0,p.Ay)(s.so).withConfig({componentId:"sc-s53gyi-3"})(["flex-wrap:wrap;"]),$b=p.Ay.div.withConfig({componentId:"sc-s53gyi-4"})(["position:relative;display:flex;flex-direction:column;border-radius:2px;border:1px #ececec solid;margin:6px 0;&:not(:last-of-type){margin-right:12px;}"]),ew=p.Ay.div.withConfig({componentId:"sc-s53gyi-5"})(["height:57px;width:85px;> img{object-fit:contain;height:100%;width:100%;}"]),tw=p.Ay.div.withConfig({componentId:"sc-s53gyi-6"})(["position:absolute;top:0;left:0;color:white;background-color:rgba(117,117,117,0.62);border-radius:1px;padding:2px 4px;font-size:11px;"]),nw=(0,p.Ay)(s.so).withConfig({componentId:"sc-s53gyi-7"})(["border-top:1px #ececec solid;"]),rw=p.Ay.button.withConfig({componentId:"sc-s53gyi-8"})(["display:flex;justify-content:center;align-items:center;background-color:transparent;border:none;font-size:12px;padding-right:0;> span{margin-left:6px;}"]),iw=(0,p.Ay)(s.ef).withConfig({componentId:"sc-s53gyi-9"})(["height:85px;"]),ow=p.Ay.div.withConfig({componentId:"sc-s53gyi-10"})(["display:flex;flex-direction:column;span:nth-child(2){font-size:12px;font-weight:300;}"]),aw=(0,p.Ay)(Kd).withConfig({componentId:"sc-s53gyi-11"})(["align-items:center;flex:1;"]),sw=(0,p.Ay)(s.K0).withConfig({componentId:"sc-s53gyi-12"})(["padding:10px;> span{font-size:14px;font-weight:400;}"]),lw=(0,p.Ay)(s.so).withConfig({componentId:"sc-s53gyi-13"})([""]),cw=(0,p.Ay)(s.$n).withConfig({componentId:"sc-s53gyi-14"})(["display:flex;align-items:center;justify-content:center;"]),uw=(0,p.Ay)(s.EY).withConfig({componentId:"sc-s53gyi-15"})(["text-transform:capitalize;font-weight:500;"]),dw=(0,p.Ay)(o.g).withConfig({componentId:"sc-s53gyi-16"})(["cursor:pointer;"]),pw=p.Ay.input.withConfig({componentId:"sc-s53gyi-17"})(["display:block;border:0;padding:0px 2px;width:100%;background:#00000010;margin-left:2px;&:focus{outline:none;}"]),hw=(0,p.Ay)(s.$n).withConfig({componentId:"sc-s53gyi-18"})(["display:flex;align-items:center;padding:6px;font-size:14px;line-height:1;height:unset;&:not(:last-of-type){margin-right:5px;}> svg{opacity:0.8;}&:hover{> svg{opacity:1;}}"]);var fw=n(22789),mw=n(63236),gw=n(43045);const vw=(0,p.Ay)(s.qU).withConfig({componentId:"sc-10f3q2s-0"})(["> .dragging-element{max-height:75px;overflow:hidden;}"]),yw=(0,p.Ay)(s.so).withConfig({componentId:"sc-10f3q2s-1"})(["&:not(:last-child){border-bottom:1px solid ",";}"],(e=>{let{theme:t}=e;return t.colors.borderLight})),Aw=t=>{let{type:n,products:r,addedSkus:a,addedCollectionsSkus:l,onProductItemAdded:p,onItemDropped:h}=t;const{t:f}=(0,d.B)(),[g,v]=(0,u.useState)({}),y=(0,c.jL)(),A=async t=>{var i;const{showVariations:o,variations:a}=null!==(i=g[t])&&void 0!==i?i:{},s=r.find((e=>e[n]===t));if(a)v((e=>({...e,[t]:{...e[t],showVariations:!o}})));else{var l,c,u;const n=null!==(l=null===s||void 0===s?void 0:s.variations)&&void 0!==l?l:null===(c=await e.Ay.getProduct(`${t}`))||void 0===c||null===(u=c.data)||void 0===u?void 0:u.variations;v((e=>({...e,[t]:{showVariations:!0,variations:n}})))}},b=e=>{var t,n;return null!==(t=null===e||void 0===e||null===(n=e.variations)||void 0===n?void 0:n.filter((t=>{var n,r,i;const o=null===a||void 0===a?void 0:a.includes(null!==(n=t.variationNumber)&&void 0!==n?n:""),s=!!e.collectionId&&(null===l||void 0===l||null===(r=l[e.collectionId.toString()])||void 0===r?void 0:r.includes(null!==(i=t.variationNumber)&&void 0!==i?i:""));return!o&&!s})))&&void 0!==t?t:[]},w=r.reduce(((e,t)=>e+b(t).length),0);return(0,m.jsxs)(vw,{onDrop:e=>h(e.item),children:["productNumber"===n&&(0,m.jsxs)(s.$n,{bgColor:"fill",className:"mb-2 p-1 w-100 h-100",fontSize:"14px",disabled:0===w,onClick:()=>(async e=>{var t=null===e||void 0===e?void 0:e.map((e=>e.productNumber));t&&(null===t||void 0===t?void 0:t.length)>0&&await y((0,cp.kD)(t))})(r),children:[(0,m.jsx)(o.g,{icon:i.QLR}),` ${f("microshop.allProducts","All products")} (${w})`]}),null===r||void 0===r?void 0:r.map(((e,t)=>{var r;const o=g[null!==(r=e[n])&&void 0!==r?r:""],a=b(e),l=null===o||void 0===o?void 0:o.showVariations,c=l&&(null===a||void 0===a?void 0:a.length)>=1;return(0,m.jsxs)(yw,{column:!0,"data-draggable":!0,"data-item":JSON.stringify({...e}),children:[(0,m.jsx)(gw.L,{item:e,onClick:async()=>{var t;return await A(null!==(t=e[n])&&void 0!==t?t:"")},customActions:[{icon:i.QLR,smallIcon:!0,onClick:async()=>h(e,void 0,!0)},{icon:l?i.GF6:i.tdl,smallIcon:!0,onClick:async()=>{var t;return await A(null!==(t=e[n])&&void 0!==t?t:"")}}],goToProductPageOnClick:!1,className:"my-2"}),l&&(c?a.map(((t,r)=>{var a,s;return(0,m.jsx)(gw.L,{"data-ignore-drag":!0,item:{...t,productNumber:e.productNumber,skuText:t.variationNumber,text:null!==(s=t.color)&&void 0!==s?s:""},goToProductPageOnClick:!1,customActions:[{icon:i.QLR,smallIcon:!0,onClick:async()=>p({productNumber:e.productNumber,...t})}],rightIcon:i.QLR,smallRightIcon:!0,className:"py-2"},`${n}_${null!==(a=o.productNumber)&&void 0!==a?a:r}_${t.variationNumber} `)})):(0,m.jsx)(s.EY,{className:"p-2",children:f("microshop.assortmentAvailableVariationsAdded")}))]},`product_item_wrapper_${e.productNumber}_${t}`)}))]})},bw=e=>{let{collections:t,onItemAdd:n,onItemDropped:r}=e;const i=xw(t),o=(0,G.A)(Gp.eW),a=(0,u.useMemo)((()=>null===o||void 0===o?void 0:o.reduce(((e,t)=>{var n;return null===(n=t.data.variations)||void 0===n||n.forEach((t=>{let{variationNumber:n,collectionIds:r}=t;null===r||void 0===r||r.forEach((t=>{const r=t.toString();e[r]=e[r]||[],n&&e[r].push(n)}))})),e}),{})),[o]);return(0,m.jsx)(s.so,{column:!0,children:(0,m.jsx)(Aw,{type:"collectionId",products:i,onProductItemAdded:e=>n({productNumber:null===e||void 0===e?void 0:e.productNumber,variationNumbers:[null===e||void 0===e?void 0:e.variationNumber],collectionId:null===e||void 0===e?void 0:e.collectionId}),addedCollectionsSkus:a,onItemDropped:r,addedSkus:[]})})},ww=t=>{let{onItemAdd:n,onItemDropped:r}=t;const{t:o}=(0,d.B)(),a=(0,G.A)(De.Lt.items),l=(0,G.A)(N.Jk),c=(0,u.useRef)(null),[p,h]=(0,u.useState)("categories"),[f]=(0,u.useState)(null),g=(0,G.A)(Gp.eW),v=(0,u.useMemo)((()=>(null!==g&&void 0!==g?g:[]).reduce(((e,t)=>{var n,r;return[...e,...null!==(n=null===(r=t.data.variations)||void 0===r?void 0:r.map((e=>e.variationNumber)))&&void 0!==n?n:[]]}),[])),[g]),[y,A]=(0,u.useState)({categories:[],products:null,selectedCategory:null,status:"uninitiated"}),[b,w]=(0,u.useState)({searchPhrase:"",result:[],status:"uninitiated"}),x=(0,mw.A)((async t=>{if(t){w((e=>({...e,status:"loading"})));try{const{data:n}=await e.Ay.searchCollections(t,void 0,5,void 0,void 0,void 0);w({searchPhrase:t,result:n.items,status:"idle"})}catch(n){w((e=>({...e,status:"error"})))}}}),500);return(0,u.useEffect)((()=>{A((e=>({...e,categories:Object.values(l).filter((e=>e.code&&e.products&&e.products.length>0)).map((e=>{var t,n;return{value:null!==(t=e.code)&&void 0!==t?t:"",label:null!==(n=e.name)&&void 0!==n?n:""}}))})))}),[l]),(0,u.useEffect)((()=>{"collections"===p&&"uninitiated"===b.status&&x(" ")}),[p,b.status,x]),(0,m.jsx)(s.so,{column:!0,children:(0,m.jsx)(Cw,{className:"p-3",children:(0,m.jsxs)(Sw,{children:["collections"!==p&&(0,m.jsxs)(kw,{className:"",children:[(0,m.jsx)("label",{className:"f3-400",children:o("product.search")}),(0,m.jsx)(fw.A,{clearOnSubmit:!0,variationOnly:!0,inputRef:c,inputValue:null===f||void 0===f?void 0:f.productNumber,disableSubmitOnEnter:!0,onProductItemAdd:e=>n({productNumber:e.productNumber,variationNumbers:[e.variationNumber]})})]}),"collections"===p&&(0,m.jsxs)(kw,{className:"",children:[(0,m.jsxs)("label",{className:"f3-400",children:[o("search.search")," ",o("collection.collection_one").toLowerCase()]}),(0,m.jsx)(s.pd,{large:!0,size:13,defaultValue:b.searchPhrase,icon:i.MjD,placeholder:o("product.searchPlaceholderProduct"),onChange:e=>x(null===e||void 0===e?void 0:e.target.value),autoFocus:!1})]}),(0,m.jsx)(s.tU,{active:p,onChange:e=>h(e),className:"my-1",options:[{id:"categories",label:o("assortment.category_other")},{id:"favourites",label:o("general.favourites"),hidden:!(null!==a&&void 0!==a&&a.length)},{id:"collections",label:o("collection.collection_other")}]}),"categories"===p&&(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(s.l6,{isMulti:!1,placeholder:`${o("action.select")} ${o("assortment.category_one").toLowerCase()}`,toggleBgColor:"fill",className:"mb-2 p-1 mt-2",value:y.categories.find((e=>e.value===y.selectedCategory)),options:y.categories,onChange:t=>t&&(t=>{var n,r;A((e=>({...e,selectedCategory:t,products:null,status:"loading"}))),e.Ay.getProducts(null!==(n=null===(r=l[t])||void 0===r?void 0:r.products)&&void 0!==n?n:[]).then((e=>{A((t=>{var n;return{...t,products:null===(n=e.data)||void 0===n?void 0:n.map((e=>({...e,text:e.productName,imgUrl:(0,X.Ay)(null===e||void 0===e?void 0:e.image,X.yj.ThumbNail,be.ImageExtension.Jpg)}))),status:"idle"}}))})).catch((()=>A((e=>({...e,selectedCategory:t,products:null,status:"error"})))))})(t.value)}),"loading"===y.status&&(0,m.jsx)(Ew,{justify:"center",className:"mt-2 mb-2",children:(0,m.jsx)(s.y$,{})}),y.categories&&y.products&&(0,m.jsx)(Aw,{type:"productNumber",products:y.products,onProductItemAdded:e=>n({productNumber:null===e||void 0===e?void 0:e.productNumber,variationNumbers:[null===e||void 0===e?void 0:e.variationNumber]}),addedSkus:null!==v&&void 0!==v?v:[],onItemDropped:r})]}),"favourites"===p&&(0,m.jsx)(Aw,{type:"productNumber",products:a,addedSkus:null!==v&&void 0!==v?v:[],onProductItemAdded:e=>n({productNumber:null===e||void 0===e?void 0:e.productNumber,variationNumbers:[null===e||void 0===e?void 0:e.variationNumber]}),onItemDropped:r}),"collections"===p&&(0,m.jsxs)(s.so,{column:!0,className:"mt-2",children:["loading"===b.status&&(0,m.jsx)(Ew,{justify:"center",className:"mt-2 mb-2",children:(0,m.jsx)(s.y$,{})}),"idle"===b.status&&(0,m.jsx)(bw,{collections:b.result,onItemAdd:n,onItemDropped:r})]})]})})})},xw=e=>e.flatMap((e=>{var t;const n=(null!==(t=e.variations)&&void 0!==t?t:[]).reduce(((t,n)=>{var r;return{...t,[e.id]:[...null!==(r=t[e.id])&&void 0!==r?r:[],n]}}),{});return Object.entries(n).map((t=>{let[n,r]=t;return{variations:r.map((t=>({...t,collectionId:e.id})))}})).map((t=>{var n,r;return{text:e.name,parentPath:"",skuText:`${(0,pc.t)("general.created")}: ${null===(n=e.created)||void 0===n?void 0:n.str}`,imgUrl:null===(r=e.image)||void 0===r?void 0:r.customUrl,collectionId:e.id,variations:t.variations.map((t=>({...t,collectionId:e.id})))}}))})),Cw=p.Ay.div.withConfig({componentId:"sc-16w6ccf-0"})(["display:flex;flex-direction:column;top:0;background:white;@media screen and (max-width:750px){max-height:550px;}"]),Sw=p.Ay.div.withConfig({componentId:"sc-16w6ccf-1"})(["flex:1;"]),kw=p.Ay.div.withConfig({componentId:"sc-16w6ccf-2"})(["font-size:14px;"]),Ew=(0,p.Ay)(s.so).withConfig({componentId:"sc-16w6ccf-3"})([""]),Iw=e=>{var t;let{done:n}=e;const{t:r}=(0,d.B)(),i=(0,c.jL)(),[o,a]=(0,u.useState)({name:""});return(0,m.jsx)(s.aF,{show:!0,blur:!0,children:(0,m.jsxs)(Ht.sC,{children:[(0,m.jsx)(s.EY,{bold:!0,fontSize:18,className:"mb-2",children:r("microshop.addCategory")}),(0,m.jsxs)("form",{onSubmit:async e=>{e.preventDefault();const{payload:t}=await i((0,cp.wv)({name:o.name}));t&&"code"in t&&"SAME_NAME_EXISTS"===t.code?a((e=>({...e,invalid:!0}))):n()},children:[(0,m.jsx)(s.pd,{autoFocus:!0,name:"name_change",type:"text",onChange:e=>{var t;return a({name:null!==(t=e.target.value)&&void 0!==t?t:""})},className:"mb-2",error:!(null===o||void 0===o||!o.invalid),errorText:null!==(t=null===o||void 0===o?void 0:o.invalid)&&void 0!==t&&t?r("microshop.categoryExists","Category already exists, please pick another name"):""}),(0,m.jsx)(s.$n,{className:"mr-2",type:"submit",bgColor:"main",color:"fillWhite",disabled:0===(null===o||void 0===o?void 0:o.name.trim().length),children:r("action.save","Save")}),(0,m.jsx)(s.$n,{onClick:n,children:r("action.cancel","Cancel")})]})]})})},_w=e=>{let{done:t}=e;const{t:n}=(0,d.B)(),r=(0,c.jL)(),i=(0,c.GV)(Gp.L1);return(0,m.jsx)(s.aF,{show:!0,blur:!0,children:(0,m.jsxs)(Ht.sC,{children:[(0,m.jsxs)(s.EY,{bold:!0,fontSize:18,className:"mb-2",children:[n("action.remove")," ",i.name]}),(0,m.jsxs)("form",{onSubmit:async e=>{e.preventDefault(),r((0,cp.uB)()),t()},children:[(0,m.jsx)(s.$n,{className:"mr-2",type:"submit",bgColor:"main",color:"fillWhite",children:n("action.remove","Remove")}),(0,m.jsx)(s.$n,{onClick:t,children:n("action.cancel","Cancel")})]})]})})},Pw=e=>{var t;let{done:n}=e;const{t:r}=(0,d.B)(),i=(0,c.jL)(),o=(0,c.GV)(Gp.L1),[a,l]=(0,u.useState)({current:o.name,new:o.name});return(0,m.jsx)(s.aF,{show:!0,blur:!0,children:(0,m.jsxs)(Ht.sC,{children:[(0,m.jsx)(s.EY,{bold:!0,fontSize:18,className:"mb-2",children:r("offer.editName")}),(0,m.jsxs)("form",{onSubmit:async e=>{var t;e.preventDefault();const{payload:r}=await i((0,cp.MS)({name:null===(t=a.new)||void 0===t?void 0:t.trim()}));"code"in r&&"SAME_NAME_EXISTS"===r.code?l((e=>({...e,invalid:!0}))):n()},children:[(0,m.jsx)(s.pd,{autoFocus:!0,name:"name_change",type:"text",value:null===a||void 0===a?void 0:a.new,onChange:e=>{l((t=>({...t,new:e.target.value})))},error:!(null===a||void 0===a||!a.invalid),errorText:null!==a&&void 0!==a&&a.invalid?r("microshop.categoryExists"):"",className:"mb-2"}),(0,m.jsxs)(s.so,{children:[(0,m.jsx)(s.$n,{type:"submit",className:"mr-2",disabled:0===(null===a||void 0===a||null===(t=a.new)||void 0===t?void 0:t.length)||(null===a||void 0===a?void 0:a.current)===(null===a||void 0===a?void 0:a.new),children:r("action.save")}),(0,m.jsx)(s.$n,{onClick:n,children:r("action.cancel")})]})]})]})})},Ow=(e,t,n,r,a,s)=>{var l,c,u;return e.children?(0,m.jsxs)(Tw,{className:"f1-500 align-items-center",children:[(0,m.jsx)(jw,{onClick:()=>{e.isExpanded?n(e.id):t(e.id)},icon:e.isExpanded?i.Jt$:i.XkK,className:"mr-1",$hasChildren:!(null===(l=e.children)||void 0===l||!l.length)}),(0,m.jsxs)(Dw,{className:"px-1",$selected:e.id===a,onClick:()=>{s(e.id)},children:[(0,m.jsx)(o.g,{icon:i.ao0,className:"mr-1"})," ",r," (",null!==(c=null===(u=e.data.products)||void 0===u?void 0:u.length)&&void 0!==c?c:0,")"]})]}):(0,m.jsx)(m.Fragment,{children:r})},Tw=(0,p.Ay)(s.so).withConfig({componentId:"sc-mwo5iq-0"})(["font-size:16px;"]),Dw=p.Ay.span.withConfig({componentId:"sc-mwo5iq-1"})(["",""],(e=>{let{$selected:t,theme:n}=e;return t?`border: 1px solid ${n.colors.disabled}; background: ${n.colors.disabled};`:"border: 1px solid transparent"})),jw=(0,p.Ay)(o.g).withConfig({componentId:"sc-mwo5iq-2"})([""," width:20px;"],(e=>{let{$hasChildren:t}=e;return!t&&"visibility: hidden;"})),Bw=e=>{var t,n;let{item:r,onExpand:i,onCollapse:o,provided:a}=e;const s=(0,c.jL)(),l=(0,c.GV)(Gp.L1);return(0,m.jsx)("div",{ref:a.innerRef,...a.draggableProps,...a.dragHandleProps,children:Ow(r,i,o,r.data?null!==(t=null!==(n=r.data.name)&&void 0!==n?n:r.data.productNumber)&&void 0!==t?t:r.data.productVariant:r.id,l.id,(e=>s((0,cp.Fq)(e))))})},Nw={dropAvailable:!1,position:null},Mw=e=>{let{action:t,done:n}=e;return"Modify"===t?(0,m.jsx)(Pw,{done:n}):"Delete"===t?(0,m.jsx)(_w,{done:n}):"Add"===t?(0,m.jsx)(Iw,{done:n}):null},Rw=p.Ay.h2.withConfig({componentId:"sc-1blvtix-0"})(["font-size:16px;line-height:16px;","{font-size:16px;line-height:16px;}"],(e=>{let{theme:t}=e;return t.media.sm})),Lw=p.Ay.div.withConfig({componentId:"sc-1blvtix-1"})(["font-size:10px;background:white;"]),Fw=p.Ay.p.withConfig({componentId:"sc-1blvtix-2"})(["text-align:center;font-size:18px;font-weight:500;line-height:21px;max-width:320px;"]),zw=p.Ay.p.withConfig({componentId:"sc-1blvtix-3"})(["text-align:center;font-size:16px;margin-top:11px;max-width:320px;padding:0;"]),Qw=(0,p.Ay)(s.qU).withConfig({componentId:"sc-1blvtix-4"})(["width:100%;"]),Uw=p.Ay.div.withConfig({componentId:"sc-1blvtix-5"})(["background:white;"]),Vw=p.Ay.div.withConfig({componentId:"sc-1blvtix-6"})(["display:flex;flex-direction:column;top:0;background:white;@media screen and (max-width:750px){max-height:550px;}"]),Gw=p.Ay.div.withConfig({componentId:"sc-1blvtix-7"})(["width:fit-content;"]),qw=(0,p.Ay)(o.g).withConfig({componentId:"sc-1blvtix-8"})(["cursor:pointer;"]),Hw=p.Ay.div.withConfig({componentId:"sc-1blvtix-9"})(["flex-grow:1;height:100%;"]),Ww=()=>{const[t,n]=(0,u.useState)(0),[r,a]=(0,u.useState)(null),l=(0,c.GV)(Gp.Rx),p=(0,c.GV)(Gp.L1),h=(0,c.GV)(Gp.Er),f=(0,c.GV)(Gp.CN),g=(0,c.GV)(Gp.oq),v=(0,c.GV)(Gp.eW),y=(0,c.GV)(Gp.th),A=(0,c.GV)(N.yr),b=(0,c.GV)(Gp.rZ),w=(0,c.GV)(Gp.ig),x=(0,c.jL)(),{t:C}=(0,d.B)();if((0,u.useEffect)((()=>{x((0,cp.Wk)())}),[x]),h.isEmpty)return(0,m.jsxs)(s.so,{column:!0,justify:"center",align:"center",className:"w-100 my-4",children:[(0,m.jsx)(Fw,{className:"f2-500 mb-2",children:C("microshop.zeroContentTitle")}),(0,m.jsx)(zw,{className:"f2-400 mt-0",children:C("microshop.zeroContentText")})]});if(h.isPending||!l)return(0,m.jsx)(Y.A,{count:1,height:420});const S=async(e,t)=>{await x((0,cp.Bj)({product:e,index:t}))};return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(Mw,{action:r,done:()=>a(null)}),(0,m.jsxs)(s.xA,{columns:{lg:"300px 1fr 300px",xl:"300px 1fr 300px"},children:[(0,m.jsxs)(s.so,{column:!0,className:"p-0 mb-3",children:[(0,m.jsxs)(Vw,{className:"p-3",children:[(0,m.jsx)(Jf,{header:C("microshop.assortment","Assortment")}),(0,m.jsx)(Gw,{className:"mb-2",children:(0,m.jsx)(Vb,{tree:l,renderItem:e=>(0,m.jsx)(Bw,{...e}),onExpand:e=>x((0,cp.D3)({id:e,type:"expand"})),onCollapse:e=>x((0,cp.D3)({id:e,type:"collapse"})),onDragEnd:(e,t)=>x((0,cp.Wg)({source:e,destination:t})),isDragEnabled:!0,isNestingEnabled:!0})}),(0,m.jsx)(s.K0,{square:!0,bgColor:"accent",color:"accentText",icon:K.QLR,onClick:()=>a("Add"),children:C("microshop.addCategory")})]}),(0,m.jsx)(Uw,{className:"px-3 pb-3",children:(0,m.jsx)(Nf,{items:[{id:"save",label:C("action.save"),disabled:!f&&!g,onClick:()=>(g&&x((0,cp.WH)()),void(f&&x((0,cp.is)()))),highlight:!0},{id:"cancel",label:C("action.cancel"),disabled:!f,onClick:()=>{const e=w.find((e=>e.id===b));e&&x((0,cp.lp)({...e,resetSelectedTab:!1}))}}]})}),!!A&&(0,m.jsxs)(Vw,{className:"p-3 mt-2",children:[(0,m.jsx)(Jf,{header:C("filter.filters")}),(0,m.jsx)(Gb,{})]})]}),(0,m.jsxs)(s.so,{column:!0,className:"px-lg-2 px-0",children:[p.name&&(0,m.jsx)(Lw,{className:"p-3",children:(0,m.jsx)(Rw,{className:"f1-700 m-0",children:(0,m.jsxs)(s.so,{children:[(0,m.jsx)(o.g,{icon:i.ao0,className:"mr-2"}),p.name,(0,m.jsxs)(s.so,{className:"ml-auto",children:[(0,m.jsx)(qw,{icon:i.hpd,className:"mr-2",onClick:()=>a("Modify")}),(0,m.jsx)(qw,{icon:i.yLS,onClick:()=>a("Delete")})]})]})})}),(0,m.jsx)(Hw,{onMouseEnter:()=>Nw.dropAvailable=!0,onMouseLeave:()=>Nw.dropAvailable=!1,children:(0,m.jsx)(Qw,{className:"mb-3",firstTopMargin:16,dragToListEnabled:!0,onDraggingListPosition:e=>Nw.position=e,onChange:(e,t)=>{e!==t&&(n((e=>e+1)),x((0,cp.IF)({from:e,to:t})))},children:v.map(((e,t)=>(0,m.jsx)(qb,{index:t,product:null===e||void 0===e?void 0:e.data,onDeleteProduct:(e,t,n)=>x((0,cp.Mn)({folderId:p.id,productNumber:e,variationNumber:t,collectionIds:n})),onProductNameChange:(e,t)=>{x((0,cp.vc)({productNumber:e,updateType:"name",data:{customName:t}}))},onTextModeChange:(e,t)=>{x((0,cp.vc)({productNumber:e,updateType:"textMode",data:{textMode:t}}))},onDescriptionChange:(e,t)=>{x((0,cp.vc)({productNumber:e,updateType:"description",data:{description:t}}))},onCustomImages:(e,t,n)=>{x((0,cp.vc)({productNumber:e,updateType:"images",data:{variationNumber:t,images:n}}))},onAddonChange:(e,t,n)=>{x((0,cp.vc)({productNumber:e,updateType:"addons",data:{addonId:t,checked:n}}))},onPriceChange:(e,t,n)=>{x((0,cp.vc)({productNumber:e,updateType:"price",data:{type:t,value:n}}))},onRemoveCollectionFromProduct:(e,t,n)=>{x((0,cp.ek)({folderId:p.id,productNumber:e,variationNumber:t,collectionId:n}))}},`product_row_${null===e||void 0===e?void 0:e.data.productNumber}`)))},`renderKey_${t}`)})]}),y&&(0,m.jsx)(ww,{onItemDropped:async(t,n,r)=>{var i,o,a;if(!r&&!Nw.dropAvailable||!t)return;if(null!==t&&void 0!==t&&t.collectionId){var s;const e=(null!==(s=null===t||void 0===t?void 0:t.variations)&&void 0!==s?s:[]).reduce(((e,t)=>{var n;return{...e,[t.productNumber]:[...null!==(n=e[t.productNumber])&&void 0!==n?n:[],t]}}),{});for(const[n,r]of Object.entries(e))await S({productNumber:n,variationNumbers:r.map((e=>e.variationNumber)),collectionId:t.collectionId},null!=Nw.position?Nw.position+1:null);return}const l=(null!==(i=null===(o=await e.Ay.getProduct(t.productNumber))||void 0===o||null===(a=o.data)||void 0===a?void 0:a.variations)&&void 0!==i?i:[]).map((e=>e.variationNumber)).filter((e=>e));S({productNumber:t.productNumber,variationNumbers:l,collectionId:t.collectionId},null!=Nw.position?Nw.position+1:null)},onItemAdd:S})]})]})},Yw=()=>{const e=(0,c.jL)(),t=(0,c.GV)(Gp.Et),[n]=(0,u.useState)({}),[r,i]=(0,u.useState)([]),[o,a]=(0,u.useState)(!1);return(0,u.useEffect)((()=>i(t)),[t]),(0,u.useEffect)((()=>{o&&(e((0,cp._s)(r)),a(!1))}),[e,o,r]),n.products&&Y.A,(0,m.jsx)(Ww,{})};var Kw=n(73027);const Jw=(0,p.Ay)(s.XI).withConfig({componentId:"sc-1c4yndd-0"})(["width:100%;","{width:75%;}"],(e=>{let{theme:t}=e;return t.media.lg})),Xw=(0,p.Ay)(s.K0).withConfig({componentId:"sc-1c4yndd-1"})([""]),Zw=(0,p.Ay)(s.pd).withConfig({componentId:"sc-1c4yndd-2"})(["",""],(e=>{let{fullWidth:t}=e;return t&&"width: 100%;"})),$w=p.Ay.div.withConfig({componentId:"sc-1c4yndd-3"})(["position:relative;"]),ex=e=>{var t,n;let{renderMobile:r}=e;const{t:i}=(0,d.B)(),a=(0,c.jL)(),l=(0,c.cb)(),p=(0,c.GV)(Gp.lP),h=(0,c.GV)(Gp.Hj),f=async e=>{if(p)try{await a((0,cp.Ce)((0,ja.HL)(e)))}finally{a((0,cp.Z_)(i("microshop.filesUploaded")))}},g=e=>t=>{var n;const r=null===p||void 0===p||null===(n=p.files)||void 0===n?void 0:n[e];r&&a((0,cp.z8)({files:[{...r,description:t.target.value}]}))},v=(0,u.useRef)(null),y=[i("file.filename"),i("general.name"),i("general.description"),""],A=(null===p||void 0===p?void 0:p.files)&&p.files.length>0,b=null!==(t=null===p||void 0===p||null===(n=p.files)||void 0===n?void 0:n.map(((e,t)=>{var n,r,c,u,d,f;const v=null===(n=e.fileExtension)||void 0===n?void 0:n.toLowerCase(),y=(0,Kw.uO)(null!==(r=e.fileName)&&void 0!==r?r:"",h);return{faded:y,cells:[{el:(0,m.jsxs)(s.so,{align:"center",children:[(0,m.jsx)(o.g,{className:"mr-3",size:"2x",icon:".pdf"===v?K.O_q:(0,wt.A)(null!==v&&void 0!==v?v:"")?K.xdS:K.A4h}),e.fileName]})},{el:(0,m.jsx)(Zw,{disabled:y,type:"text",value:null!==(c=e.name)&&void 0!==c?c:"",onChange:(b=t,e=>{var t;const n=null===p||void 0===p||null===(t=p.files)||void 0===t?void 0:t[b];n&&a((0,cp.z8)({files:[{...n,name:e.target.value}]}))})})},{el:(0,m.jsx)(Zw,{type:"text",value:null!==(u=e.description)&&void 0!==u?u:"",onChange:g(t),disabled:y})},{el:(0,m.jsx)(Xw,{square:l.lgBelow,icon:(0,Kw.uO)(null!==(d=e.fileName)&&void 0!==d?d:"",h)?K.bE_:K.yLS,onClick:(A=null!==(f=e.fileName)&&void 0!==f?f:"",e=>{e.preventDefault(),a((0,cp.go)(A))}),disableFont:!0,children:l.lgBelow&&i("action.remove")})}]};var A,b})))&&void 0!==t?t:[];return(0,m.jsxs)(Yf,{children:[(0,m.jsx)($w,{children:(0,m.jsx)(qf,{setting:{handleDrop:f,uploadFiles:e=>f(e.target.files),label:i("microshop.files"),inputRef:v,multiple:!0}})}),A&&(0,m.jsx)(Jw,{className:"mb-4",compact:r,cols:y.length,headers:y,rows:b}),(0,m.jsx)(Nf,{className:"mb-2"})]})},tx=p.Ay.div.withConfig({componentId:"sc-1vous1m-0"})(["background-color:",";border-radius:1rem;padding:8px;width:max-content;&:hover{background-color:",";cursor:pointer;}"],(e=>{let{theme:t,$selected:n}=e;return n&&t.colors.fillGray}),(e=>{let{theme:t}=e;return t.colors.fillGray})),nx=(0,p.Ay)(s.so).withConfig({componentId:"sc-1vous1m-1"})(["height:max-content;align-items:flex-start;"]),rx=(0,p.Ay)(s.so).withConfig({componentId:"sc-1vous1m-2"})(["max-height:80px;width:200px;background-color:",";"],(e=>{let{theme:t}=e;return t.colors.fillWhite})),ix=(0,p.Ay)(s.so).withConfig({componentId:"sc-1vous1m-3"})(["max-width:300px;width:300px;"]),ox=p.Ay.div.withConfig({componentId:"sc-1vous1m-4"})(["display:flex;flex-direction:column;top:0;background:white;"]),ax=()=>{var t,n,r;const i=(0,c.jL)(),a=(0,c.cb)(),l=(0,c.GV)(Gp.Vj),d=(0,c.GV)(Gp.nO),p=(0,c.GV)(Gp.zi),[h,f]=(0,u.useState)(null),[g,v]=(0,u.useState)(null),[y,A]=(0,u.useState)({}),[b,w]=(0,u.useState)([]);(0,u.useEffect)((()=>{d&&w(d)}),[d]),(0,u.useEffect)((()=>{i((0,cp.lW)())}),[i]);const x=(0,u.useMemo)((()=>async e=>{i((0,cp.z8)(e))}),[i]),C=function(t,n){var r,a,l,c,u;let d=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const g={code:t.code,name:t.name,heirarchy:[...null!==(r=n.heirarchy)&&void 0!==r?r:[],null!==(a=t.name)&&void 0!==a?a:""]},y=t.code&&p.some((e=>e.assortment===t.code&&e.title===t.name)),C=!(null!==(l=t.children)&&void 0!==l&&l.length),k=S(t.children||[],g),E=b.some((e=>e.assortment===t.code&&e.title===t.name));return E||t.displayInNavigation||void 0===t.displayInNavigation?(0,m.jsxs)(m.Fragment,{children:[d&&(0,m.jsx)(s.Sc,{name:"dispatch",bgColor:"fillWhite",checked:E,onChange:()=>{var e,n;return t.code&&(e=>{let t=[...b];const n=e;return t.some((e=>e.assortment===n.code&&e.title===n.name))?t=b.filter((e=>!(e.title===n.name&&e.assortment===n.code))):t.push({title:n.name,assortment:n.code}),w(t),x({assortmentEntryPoint:t})})({code:null!==(e=t.code)&&void 0!==e?e:"",name:null!==(n=t.name)&&void 0!==n?n:""})},className:"m-1"}),(0,m.jsxs)("div",{children:[(0,m.jsx)("div",{onClick:()=>{var r,o,a,s,l,c,u,d,p;return d={parent:{code:null!==(r=n.code)&&void 0!==r?r:"",name:null!==(o=n.name)&&void 0!==o?o:"",heirarchy:[...null!==(a=null===n||void 0===n?void 0:n.heirarchy)&&void 0!==a?a:[],null!==(s=t.name)&&void 0!==s?s:""]},code:null!==(l=t.code)&&void 0!==l?l:"",name:null!==(c=t.name)&&void 0!==c?c:""},p=null!==(u=t.products)&&void 0!==u?u:null,A((e=>({...e,categories:!0}))),v(null),d&&(f(d),i((0,cp.Po)(d))),void e.Ay.getProducts(null!==p&&void 0!==p?p:[]).then((e=>{var t;v(null===(t=e.data)||void 0===t?void 0:t.map((e=>({...e,text:e.productName,imgUrl:(0,X.Ay)(null===e||void 0===e?void 0:e.image,X.yj.ThumbNail,be.ImageExtension.Jpg)}))))})).finally((()=>A((e=>({...e,categories:!1})))))},children:(0,m.jsxs)(tx,{$selected:n.name===(null===h||void 0===h||null===(c=h.parent)||void 0===c?void 0:c.name)&&(null===h||void 0===h?void 0:h.code)===t.code&&(null===h||void 0===h?void 0:h.name)===t.name,children:[(0,m.jsx)(o.g,{icon:y||C?K.EZy:K.QLR,className:"mr-2"}),t.name," (",null===(u=t.products)||void 0===u?void 0:u.length,")"]})}),y&&(0,m.jsx)(m.Fragment,{children:k})]})]}):null},S=(e,t)=>e.length?(0,m.jsx)("ul",{className:"pl-4",children:e.map(((e,n)=>(0,m.jsx)(u.Fragment,{children:C(e,t)},n)))}):void 0,k=(0,m.jsxs)(s.so,{column:!0,className:"mb-3",children:[(0,m.jsx)(Jf,{header:(0,pc.t)("filter.filters")}),(0,m.jsx)(Gb,{})]});return(0,m.jsxs)(ox,{className:"mb-2",children:[(0,m.jsxs)(s.so,{column:a.mdBelow,className:"mb-3",children:[(0,m.jsxs)(s.so,{column:!0,className:"mb-3",children:[(0,m.jsxs)(s.so,{column:!0,className:"mb-3",children:[(0,m.jsx)(Jf,{header:(0,pc.t)("microshop.assortment")}),l?l.map(((e,t)=>(0,m.jsx)(ix,{className:"align-items-start",children:C(e,{code:e.code,name:e.name},!0)},t))):(0,m.jsx)(m.Fragment,{children:(0,pc.t)("microshop.emptyAssortments","No assortment to choose from")})]}),a.md&&(0,m.jsx)("div",{children:k})]}),(0,m.jsxs)(nx,{className:"ml-2",children:[y.categories&&(0,m.jsx)(s.y$,{className:"align-items-start"}),!y.categories&&(0,m.jsxs)(s.so,{column:!0,children:[(null===h||void 0===h||null===(t=h.parent)||void 0===t?void 0:t.heirarchy)&&(0,m.jsx)(Jf,{header:`/ ${null===h||void 0===h||null===(n=h.parent)||void 0===n||null===(r=n.heirarchy)||void 0===r?void 0:r.join(" / ")}`}),(0,m.jsx)(s.so,{$wrap:!0,children:null===g||void 0===g?void 0:g.map(((e,t)=>{var n;return(0,m.jsx)(rx,{"data-item":`{"productNumber": "${e.productNumber}"}`,children:(0,m.jsx)(gw.L,{item:e,smallRightIcon:!0,goToProductPageOnClick:!1,className:"pr-2"})},`product_item_wrapper_${null!==(n=e.productNumber)&&void 0!==n?n:t}`)}))}),0===(null===g||void 0===g?void 0:g.length)&&(0,m.jsx)(m.Fragment,{children:(0,pc.t)("microshop.emptyProducts","No products found")})]})]})]}),a.mdBelow&&(0,m.jsx)("div",{children:k}),(0,m.jsx)(Nf,{className:"mb-2"}),"aaaa"]})},sx=()=>(0,m.jsx)(Yf,{children:(0,m.jsx)(ax,{})}),lx=e=>{let{setting:t,className:n}=e;return(0,m.jsxs)(s.so,{column:!0,className:`${n}`,children:[(0,m.jsx)(s.dN,{className:"f3-700",children:t.label}),(0,m.jsx)(s.t1,{header:t.label,showIcon:!0,onChange:t.onChange,selectedDate:t.selectedDate,filter:t.dateFilter})]})},cx=e=>{let{children:t,className:n}=e;return(0,m.jsx)(s.dN,{className:n?n+" f3-700":"f3-700",children:t})},ux=(0,p.Ay)(s.xA).withConfig({componentId:"sc-yxj6k6-0"})(["align-items:end;"]),dx=e=>{var t,n,r,i,o,a,l,p,h,f,g,v;let{renderMobile:y}=e;const{t:A}=(0,d.B)(),b=(0,c.jL)(),w=(0,c.GV)(Gp.Kg),x=(0,c.GV)(Gp.lP),{uri:C,domain:S}=(0,c.GV)(Gp.nP),k=(0,c.GV)(Gp.ls),E=(0,c.GV)(Gp.z3),I=(0,c.GV)(B.Lt.languageOptions),_=null!==(t=null===k||void 0===k||null===(n=k.defaultDomains)||void 0===n?void 0:n.map((e=>({label:e,value:e}))))&&void 0!==t?t:[],P=_.find((e=>e.value===S)),O=I.find((e=>(null===x||void 0===x?void 0:x.language)===e.value));(0,u.useEffect)((()=>{k||b((0,cp.fr)())}),[b,k]);const T=(0,u.useMemo)((()=>async(e,t,n)=>{if(null!=t&&n){const r=(await b((0,cp.cV)({host:t,domain:n}))).payload;null!==r&&void 0!==r&&r.url?e.uri=r.url:delete e.uri}b((0,cp.z8)(e))}),[b]),D=[{label:A("microshop.securityOptionNone","No security"),type:be.ShopSecurityType.None},{label:A("microshop.securityOptionSecret","General secret"),type:be.ShopSecurityType.Secret,extraInput:(0,m.jsx)(Vp,{setting:{className:"mb-1 ml-5 w-100",name:"generalSecret",label:A("microshop.securityOptionSecret"),defaultValue:null!==(r=null!==(i=null===x||void 0===x||null===(o=x.inputSecurity)||void 0===o?void 0:o.secret)&&void 0!==i?i:null===x||void 0===x||null===(a=x.security)||void 0===a?void 0:a.secret)&&void 0!==r?r:"",onChange:e=>T({inputSecurity:{...null===x||void 0===x?void 0:x.security,...null===x||void 0===x?void 0:x.inputSecurity,secret:e.target.value}})}})},{label:A("microshop.securityOptionRegister","Register with account"),type:be.ShopSecurityType.Register},{label:A("microshop.securityOptionSecregAndRegister","Register and general password"),type:be.ShopSecurityType.SecretAndRegister,extraInput:(0,m.jsx)(Vp,{setting:{className:"mb-1 ml-5 w-100",name:"generalSecret",label:A("microshop.securityOptionSecret"),defaultValue:null!==(l=null!==(p=null===x||void 0===x||null===(h=x.inputSecurity)||void 0===h?void 0:h.secret)&&void 0!==p?p:null===x||void 0===x||null===(f=x.security)||void 0===f?void 0:f.secret)&&void 0!==l?l:"",onChange:e=>T({inputSecurity:{...null===x||void 0===x?void 0:x.security,...null===x||void 0===x?void 0:x.inputSecurity,secret:e.target.value}})}})}];return(0,m.jsxs)(Yf,{children:[(0,m.jsx)(Vp,{setting:{renderMobile:y,name:"name",label:A("product.name","Name"),defaultValue:null!==(g=null===x||void 0===x?void 0:x.name)&&void 0!==g?g:"",required:!0,onChange:Mn()((e=>{var t;return T({name:null===e||void 0===e||null===(t=e.target)||void 0===t?void 0:t.value})}),1e3)}}),(0,m.jsxs)(s.so,{column:y,align:y?"start":"end",className:"w-100 mt-1",gap:"10px",children:[(0,m.jsx)(Vp,{setting:{renderMobile:y,name:"url",required:!0,defaultValue:null!==C&&void 0!==C?C:"",errorText:!w.host||w.pending||w.url?void 0:A("microshop.invalidUrl"),onChange:Mn()((e=>{var t;T({},null===e||void 0===e||null===(t=e.target)||void 0===t?void 0:t.value,S)}),500),label:A("general.url","Url")}}),(0,m.jsx)(s.l6,{isMulti:!1,isSearchable:!1,value:P,onChange:e=>{var t;return T({},C,null!==(t=e.value)&&void 0!==t?t:"")},options:_})]}),(0,m.jsxs)(ux,{columns:{mdBelow:"1fr",md:"1fr 1fr"},gap:"0.5rem",className:y?"w-100":"w-50",children:[(0,m.jsxs)(s.so,{column:!0,className:"w-100 mr-2",children:[(0,m.jsx)(cx,{className:"pt-2",children:A("general.language","Language")}),(0,m.jsx)(s.l6,{onChange:e=>{var t;const n=I.find((t=>t.value===e.value));n&&T({language:null!==(t=n.value)&&void 0!==t?t:""})},value:O,options:I})]}),(0,m.jsx)(lx,{className:"w-100",setting:{label:A("offer.expires"),selectedDate:null!==x&&void 0!==x&&null!==(v=x.expires)&&void 0!==v&&v.utc?new Date(x.expires.utc):void 0,onChange:e=>{Array.isArray(e)||e&&T({expires:{str:e.toJSON(),utc:e.toJSON()}})},dateFilter:"Future"}})]}),(0,m.jsxs)(s.so,{className:"pt-3 mb-4",children:[(0,m.jsxs)("div",{className:"pr-5",children:[(0,m.jsx)(cx,{className:"pb-2",children:A("general.safety","Safety")}),D.map((e=>{var t,n,r,i,o,a;return(0,m.jsxs)(u.Fragment,{children:[(0,m.jsx)(s.sx,{className:"mb-2",bgColor:"fillWhite",checked:(null!==(t=null===x||void 0===x||null===(n=x.inputSecurity)||void 0===n?void 0:n.type)&&void 0!==t?t:null===x||void 0===x||null===(r=x.security)||void 0===r?void 0:r.type)===e.type,name:"noPrice",onChange:()=>{e.type!==be.ShopSecurityType.None?T({inputSecurity:{...null===x||void 0===x?void 0:x.security,...null===x||void 0===x?void 0:x.inputSecurity,type:e.type}}):T({inputSecurity:{...null===x||void 0===x?void 0:x.security,...null===x||void 0===x?void 0:x.inputSecurity,type:e.type},customerNumber:"",customerMarketId:void 0})},label:e.label}),(null!==(i=null===x||void 0===x||null===(o=x.inputSecurity)||void 0===o?void 0:o.type)&&void 0!==i?i:null===x||void 0===x||null===(a=x.security)||void 0===a?void 0:a.type)===e.type&&e.extraInput]},e.label)}))]}),(0,m.jsxs)(s.so,{column:!0,children:[(0,m.jsx)(cx,{className:"pb-2",children:A("microshop.assortment","Assortment Type")}),E.map((e=>(0,m.jsx)(s.sx,{className:"mb-2",bgColor:"fillWhite",checked:(null===x||void 0===x?void 0:x.assortmentType)===e.type,name:"noPrice",onChange:()=>T({assortmentType:e.type}),label:e.label},e.label)))]})]}),(0,m.jsx)(Nf,{className:"mb-2"})]})},px=e=>{let{setting:t}=e;return(0,m.jsx)(s.pd,{className:t.className?t.className:t.renderMobile?"w-100":"w-50",defaultValue:t.defaultValue,label:t.label,name:t.name,type:"number",required:t.required,onChange:t.onChange,disabled:t.disabled,value:t.value,suffix:t.suffix})},hx=p.Ay.div.withConfig({componentId:"sc-1ms03az-0"})(["font-size:12px;color:",";margin-top:-4px;margin-bottom:6px;"],(e=>{let{theme:t}=e;return t.colors.textFaded})),fx=(0,p.Ay)(o.g).withConfig({componentId:"sc-1ms03az-1"})(["color:",";"],(e=>{let{theme:t}=e;return t.colors.accent})),mx=p.Ay.div.withConfig({componentId:"sc-1ms03az-2"})(["",""],(e=>{let{disabled:t}=e;return t&&"pointer-events: none;\n    opacity: 0.7;"})),gx=e=>{var t,n,r,o,a,l,p,h,f,g,v,y,A,b,w,x;let{renderMobile:C}=e;const{t:S}=(0,d.B)(),k=(0,c.jL)(),E=(0,c.GV)(Gp.lP),I=(0,c.GV)(Gp.ls),_=(0,c.GV)(Kt.tO),[P,O]=(0,u.useState)(!(null===E||void 0===E||!E.customerNumber)&&(null===E||void 0===E||null===(t=E.security)||void 0===t?void 0:t.type)!==be.ShopSecurityType.None),T=(null===E||void 0===E?void 0:E.assortmentType)===be.ShopAssortmentType.Full,D=(0,u.useMemo)((()=>e=>{k((0,cp.z8)(e))}),[k]),j=[{label:S("microshop.priceOptionNone"),type:be.ShopPriceModelType.None},{label:S("microshop.priceOptionRetail"),type:be.ShopPriceModelType.Retail,description:S("microshop.retailPriceExplanation"),extraInput:(0,m.jsx)(px,{setting:{className:"mb-1 ml-5 w-25",name:"retailPrice",label:S("microshop.retailModifier"),defaultValue:null!==(n=null===E||void 0===E||null===(r=E.defaultPriceModel)||void 0===r?void 0:r.priceModifier)&&void 0!==n?n:1,onChange:e=>D({defaultPriceModel:{...null===E||void 0===E?void 0:E.defaultPriceModel,priceModifier:e.target.value?e.target.value:1}})}})}],B=[{label:S("microshop.notificationOptionNone","None"),type:be.ShopOrderNotificationType.None},{label:S("microshop.notificationOptionInstant","Instant e-mail"),type:be.ShopOrderNotificationType.InstantEmail},{label:S("microshop.notificationOptionDaily","Daily overview"),type:be.ShopOrderNotificationType.DailyEmail}],N=null!==(o=null===I||void 0===I||null===(a=I.markets)||void 0===a?void 0:a.map((e=>{var t;return{value:e.id,label:null!==(t=e.name)&&void 0!==t?t:""}})))&&void 0!==o?o:[],M=null===E||void 0===E?void 0:E.customerMarketId;return(0,m.jsxs)(Yf,{children:[_&&(0,m.jsxs)(s.so,{column:!0,children:[(0,m.jsx)(cx,{className:"mb-2",children:`${S("seller.erpNumber","Customer number")} ${S("price.price","price")}`}),(0,m.jsxs)("div",{children:[(0,m.jsx)(s.Sc,{className:"mb-2",bgColor:"fillWhite",checked:P,onChange:e=>{O(e.target.checked),e.target.checked||D({customerNumber:"",customerMarketId:void 0})},label:S("seller.selectCustomer","Select customer"),disabled:(null===E||void 0===E||null===(l=E.security)||void 0===l?void 0:l.type)===be.ShopSecurityType.None}),(null===E||void 0===E||null===(p=E.security)||void 0===p?void 0:p.type)===be.ShopSecurityType.None&&(0,m.jsxs)(hx,{className:"p-2",children:[(0,m.jsx)(fx,{className:"mr-3",icon:i.iW_}),S("microshop.CustomerNumberSecurityInfo","Security option has to be activated.")]})]}),P&&(0,m.jsxs)(s.so,{className:"mb-3",align:"end",children:[(0,m.jsx)(Vp,{setting:{required:!0,className:"mb-1 w-25 mr-2",name:"customerNumber",label:S("seller.erpNumber","Customer number"),defaultValue:null!==(h=null===E||void 0===E?void 0:E.customerNumber)&&void 0!==h?h:"",onChange:e=>D({customerNumber:e.target.value?e.target.value:"",customerMarketId:null!==E&&void 0!==E&&E.customerMarketId?null===E||void 0===E?void 0:E.customerMarketId:0})}}),null!==I&&void 0!==I&&null!==(f=I.markets)&&void 0!==f&&f.length?(0,m.jsx)(s.l6,{isMulti:!1,isSearchable:!1,value:N.find((e=>e.value===M)),options:N,onChange:e=>{var t,n,r;if(!e)return;const i=null!==(t=null===I||void 0===I||null===(n=I.markets)||void 0===n||null===(r=n.find((t=>e.value===t.id)))||void 0===r?void 0:r.id)&&void 0!==t?t:0;D({customerMarketId:i})}}):null]})]}),(0,m.jsxs)(mx,{"aria-disabled":P,disabled:P,children:[T&&(0,m.jsxs)(s.so,{column:!0,className:"mb-4",children:[(0,m.jsx)(cx,{className:"mb-2",children:S("microshop.standardPrice","Standard price calculation")}),j.map((e=>{var t,n;return(0,m.jsxs)(u.Fragment,{children:[(0,m.jsx)("div",{children:(0,m.jsx)(s.sx,{disabled:e.type===be.ShopPriceModelType.Fixed&&T,className:"mb-2",bgColor:"fillWhite",checked:(null===E||void 0===E||null===(t=E.defaultPriceModel)||void 0===t?void 0:t.type)===e.type,name:"noPrice",subLabel:e.description,onChange:()=>D({defaultPriceModel:{...null===E||void 0===E?void 0:E.defaultPriceModel,type:e.type}}),label:e.label},e.label)}),(null===E||void 0===E||null===(n=E.defaultPriceModel)||void 0===n?void 0:n.type)===e.type&&e.extraInput]},e.label)}))]}),(0,m.jsxs)(s.so,{column:!0,children:[(0,m.jsx)(cx,{className:"mb-2",children:S("microshop.notificationsTitle","Order notifications")}),(0,m.jsx)(hx,{children:S("microshop.orderrNotificationExplanation",{email:null===E||void 0===E||null===(g=E.owner)||void 0===g?void 0:g.email})}),B.map((e=>(0,m.jsx)(u.Fragment,{children:(0,m.jsx)(s.sx,{className:"mb-2",bgColor:"fillWhite",checked:(null===E||void 0===E?void 0:E.orderNotificationType)===e.type,name:"noPrice",onChange:()=>D({orderNotificationType:e.type}),label:e.label},e.label)},e.label)))]}),(0,m.jsx)(px,{setting:{className:"my-3 w-50",label:S("cartFee.admin"),name:"adminFee",defaultValue:null===E||void 0===E||null===(v=E.shipping)||void 0===v?void 0:v.adminFee,onChange:e=>D({shipping:{...null===E||void 0===E?void 0:E.shipping,adminFee:parseFloat(e.target.value)}})}}),(0,m.jsx)(px,{setting:{className:"my-3 w-50",label:S("cartFee.freight"),name:"freightFee",defaultValue:null===E||void 0===E||null===(y=E.shipping)||void 0===y?void 0:y.shippingFee,onChange:e=>D({shipping:{...null===E||void 0===E?void 0:E.shipping,shippingFee:parseFloat(e.target.value)}})}}),(0,m.jsx)(px,{setting:{className:"my-3 w-50",label:S("microshop.freeShipping"),name:"freeShipping",defaultValue:null===E||void 0===E||null===(A=E.shipping)||void 0===A?void 0:A.shippingFeeBelow,onChange:e=>D({shipping:{...null===E||void 0===E?void 0:E.shipping,shippingFeeBelow:parseFloat(e.target.value)}})}}),(0,m.jsx)(px,{setting:{className:"my-3 w-50",label:`${S("price.vat")} (%)`,defaultValue:null===E||void 0===E||null===(b=E.shipping)||void 0===b?void 0:b.vatPercent,name:"vat",onChange:e=>{var t;return D({shipping:{...null===E||void 0===E?void 0:E.shipping,vatPercent:isNaN(parseFloat(e.target.value))?0:parseFloat(e.target.value),vatExcluded:!isNaN(parseFloat(e.target.value))&&(null===E||void 0===E||null===(t=E.shipping)||void 0===t?void 0:t.vatExcluded)}})}}}),null!==E&&void 0!==E&&null!==(w=E.shipping)&&void 0!==w&&w.vatPercent?(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(s.sx,{className:"my-3",label:S("microshop.vatNotIncluded"),bgColor:"fillWhite",checked:E.shipping.vatExcluded,onChange:e=>D({shipping:{...E.shipping,vatExcluded:e.target.checked}})}),(0,m.jsx)(s.sx,{className:"my-3",label:S("microshop.vatIsIncluded","VAT is included in prices"),bgColor:"fillWhite",checked:!E.shipping.vatExcluded,onChange:e=>D({shipping:{...E.shipping,vatExcluded:!e.target.checked}})})]}):(0,m.jsx)(m.Fragment,{})]}),(0,m.jsx)(Zf,{setting:{className:"my-3 mb-4 "+(C?"w-100":"w-50"),label:S("microshop.agreement"),name:"agreement",defaultValue:null!==(x=null===E||void 0===E?void 0:E.agreement)&&void 0!==x?x:"",onChange:e=>D({agreement:e.target.value})}}),(0,m.jsx)(Nf,{className:"mb-2"})]})},vx=()=>{var e;const{t:t}=(0,d.B)(),n=(0,c.jL)(),r=(0,c.GV)(Kt.mB),o=(0,c.GV)(Gp.lP),a=[{label:t("microshop.customerInputNone"),value:be.ShopProductAddOnInputType.None},{label:t("microshop.customerInputText"),value:be.ShopProductAddOnInputType.Text},{label:t("microshop.customerInputNumber"),value:be.ShopProductAddOnInputType.Number}],l=(0,u.useCallback)(((e,t)=>r=>{var i,a;const s=null!==(i=null===o||void 0===o||null===(a=o.addons)||void 0===a?void 0:a.findIndex((t=>t.id===e.id)))&&void 0!==i?i:-1;if(s>=0){var l;const e={...null===o||void 0===o||null===(l=o.addons)||void 0===l?void 0:l[s]};e[t]=r.target.value,e.action!==be.MicroshopUpdateAction.Add&&(e.action=be.MicroshopUpdateAction.Update),n((0,cp.z8)({addons:[e]}))}}),[n,o]),p=(0,u.useCallback)((()=>{var e;const t=null===o||void 0===o||null===(e=o.addons)||void 0===e?void 0:e.map((e=>e.id)),r={id:(t.length?Math.max(...t):0)+1,action:be.MicroshopUpdateAction.Add,inputType:be.ShopProductAddOnInputType.None,price:"0",productName:"",productNumber:"",type:0};n((0,cp.z8)({addons:[r]}))}),[n,o]),h=(0,u.useCallback)((e=>t=>{var r;t.preventDefault(),t.stopPropagation();const i=JSON.parse(JSON.stringify(null===o||void 0===o?void 0:o.addons)),a=null!==(r=i.findIndex((t=>t.id===e.id)))&&void 0!==r?r:-1;if(a>=0){const e=i[a],t={...e};e.action===be.MicroshopUpdateAction.Delete?t.action=be.MicroshopUpdateAction.Update:t.action=be.MicroshopUpdateAction.Delete,e.action===be.MicroshopUpdateAction.Add?i.splice(a,1):i.splice(a,1,t),n((0,cp.z8)({addons:[t]}))}}),[n,o]),f=e=>t=>{l(e,"type")({target:{value:t.target.checked?be.ShopProductAddOnType.Mandatory:be.ShopProductAddOnType.Optional}})},g=(0,m.jsx)(s.K0,{square:!0,bgColor:"accent",color:"accentText",icon:i.QLR,onClick:e=>{e.preventDefault(),e.stopPropagation(),p()},children:t("microshop.addAddon","Add addon")}),v=(null===o||void 0===o?void 0:o.addons)&&o.addons.length>0;return(0,m.jsxs)(bx,{children:[(0,m.jsxs)(s.so,{className:"mb-2",justify:"between",children:[(0,m.jsx)(s.so,{children:(0,m.jsx)(hh.A,{icon:J.S5R,name:t("microshop.addons"),options:{size:void 0,hide:{tableHeaders:!0}}})}),v&&g]}),!v&&(0,m.jsx)(s.so,{justify:"start",className:"mb-3",children:g}),v&&(0,m.jsx)(m.Fragment,{children:(0,m.jsx)(s.so,{column:!0,className:"mb-4 pt-2",children:(0,m.jsx)(s.so,{column:!0,$reverse:!0,children:null===o||void 0===o||null===(e=o.addons)||void 0===e?void 0:e.map((e=>{var n,i,o,c;const u=e.price?+parseFloat(null!==(n=e.price)&&void 0!==n?n:"0"):0,d=u?null===r||void 0===r||null===(i=r.customer)||void 0===i?void 0:i.currency:void 0,p=e.action===be.MicroshopUpdateAction.Delete;return(0,m.jsxs)(xx,{className:"mb-2",children:[(0,m.jsx)(Vp,{setting:{label:t("microshop.productName"),disabled:p,className:"my-0 p-0",name:"addonName",defaultValue:null!==(o=e.productName)&&void 0!==o?o:"",onChange:l(e,"productName"),required:!0}}),(0,m.jsx)(Vp,{setting:{label:t("microshop.productNumber"),disabled:p,className:"my-0 p-0",name:"addonProductNumber",defaultValue:null!==(c=e.productNumber)&&void 0!==c?c:"",onChange:l(e,"productNumber")}}),(0,m.jsx)(px,{setting:{label:t("price.price"),disabled:p,className:"my-0 p-0",name:"addonPrice",value:u,onChange:l(e,"price"),suffix:d}}),(0,m.jsx)(Cx,{column:!0,align:"start",children:(0,m.jsx)(s.l6,{isMulti:!1,isSearchable:!1,smallLabel:!0,label:t("microshop.customerInputType"),value:a.find((t=>t.value===e.inputType)),options:a,onChange:t=>t&&l(e,"inputType")({target:{value:t.value}})})}),(0,m.jsx)(s.Sc,{label:t("general.mandatory"),disabled:p,className:"align-items-end",id:`${e.id}`,bgColor:"fillWhite",checked:e.type===be.ShopProductAddOnType.Mandatory,onChange:f(e)}),(0,m.jsx)(wx,{bgColor:"fillWhite",icon:p?K.bE_:K.yLS,onClick:h(e)})]},e.id)}))})})})]})},yx=()=>{const e=(0,c.jL)(),t=(0,c.GV)(Gp.ji),n=(0,c.GV)(Gp.lP),r=JSON.stringify(t);(0,u.useEffect)((()=>{e((0,cp.jT)())}),[e,r]);const i=(0,u.useCallback)(((t,r,i)=>{var o;const a=null!==(o=null===n||void 0===n?void 0:n.collectionPrices)&&void 0!==o?o:[],s=a.findIndex((e=>e.id===t&&e.key===r)),l=s>=0?a.map(((e,t)=>t===s?{...e,price:i}:e)):[...a,{id:t,key:r,price:i}];e((0,cp.z8)({collectionPrices:l}))}),[e,null===n||void 0===n?void 0:n.collectionPrices]);return t.length?(0,m.jsx)(bx,{className:"mb-3",children:t.map((e=>(0,m.jsx)(Ax,{id:e,onPriceChange:(t,n)=>i(e,t,+n)},e)))}):null},Ax=e=>{let{id:t,onPriceChange:n}=e;const r=(0,c.GV)((0,Gp.Y_)(t)),i=(0,c.GV)(Gp.nz),{t:o}=(0,d.B)();return(0,m.jsx)(s.so,{className:"mb-4",column:!0,children:(0,m.jsx)(fh,{collectionId:t,label:`${o("refinement.refinement_other")} -  ${r} `,options:{hide:{qty:!0,customerPrices:!0}},input:e=>{var t;const r=null===i||void 0===i?void 0:i.find((t=>t.key===e.key));return(0,m.jsx)(s.pd,{type:"number",placeholder:"0",className:"ml-3",label:o("price.price"),onChange:t=>n(e.key,t.target.value),defaultValue:null!==(t=null===r||void 0===r?void 0:r.price)&&void 0!==t?t:0,min:0})}})})},bx=(0,p.Ay)(Yf).withConfig({componentId:"sc-1xcqoj4-0"})(["","{width:fit-content;}"],(e=>{let{theme:t}=e;return t.media.md})),wx=(0,p.Ay)(s.K0).withConfig({componentId:"sc-1xcqoj4-1"})(["align-self:end;margin-bottom:2px;"]),xx=(0,p.Ay)(s.so).withConfig({componentId:"sc-1xcqoj4-2"})(["flex-direction:column;gap:0.5rem;","{flex-direction:row;gap:1rem;}"],(e=>{let{theme:t}=e;return t.media.md})),Cx=(0,p.Ay)(s.so).withConfig({componentId:"sc-1xcqoj4-3"})(["flex:1;"]),Sx=()=>(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(yx,{}),(0,m.jsx)(vx,{}),(0,m.jsx)(s.so,{justify:"start",children:(0,m.jsx)(Nf,{})})]}),kx=e=>{var t,n,r,i,o,a,s,l;let{themeColors:c,className:u}=e;const{t:p}=(0,d.B)();return(0,m.jsxs)(Ex,{className:u,children:[(0,m.jsx)(Ix,{align:"center",color:null!==(t=null===c||void 0===c?void 0:c.mainBackgroundColor)&&void 0!==t?t:"#000",children:(0,m.jsx)(_x,{color:null!==(n=null===c||void 0===c?void 0:c.mainTextColor)&&void 0!==n?n:"#fff",children:p("microshop.mainColor")})}),(0,m.jsxs)(Px,{children:[(0,m.jsx)(Ox,{backgroundColor:null!==(r=null===c||void 0===c?void 0:c.accentBackgroundColor)&&void 0!==r?r:"#000",color:null!==(i=null===c||void 0===c?void 0:c.accentTextColor)&&void 0!==i?i:"#fff",children:p("microshop.accentColor")}),(0,m.jsx)(Ox,{backgroundColor:null!==(o=null===c||void 0===c?void 0:c.accentBackgroundColor2)&&void 0!==o?o:"#000",color:null!==(a=null===c||void 0===c?void 0:c.accentTextColor2)&&void 0!==a?a:"#fff",children:`${p("microshop.accentColor")}-2`})]}),(0,m.jsx)(Tx,{color:null!==(s=null===c||void 0===c?void 0:c.footerBackgroundColor)&&void 0!==s?s:"#000",children:(0,m.jsx)(Dx,{color:null!==(l=null===c||void 0===c?void 0:c.footerTextColor)&&void 0!==l?l:"#000",children:p("microshop.footer")})})]})},Ex=p.Ay.div.withConfig({componentId:"sc-1qil3sl-0"})(["width:250px;box-sizing:content-box;"]),Ix=(0,p.Ay)(s.so).withConfig({componentId:"sc-1qil3sl-1"})(["width:100%;height:50px;",";"],(e=>{let{color:t}=e;return"background-color: "+t})),_x=p.Ay.span.withConfig({componentId:"sc-1qil3sl-2"})(["font-size:15px;padding-left:10px;",";"],(e=>{let{color:t}=e;return"color: "+t})),Px=(0,p.Ay)(s.so).withConfig({componentId:"sc-1qil3sl-3"})(["width:100%;justify-content:space-around;align-items:center;"]),Ox=(0,p.Ay)(s.so).withConfig({componentId:"sc-1qil3sl-4"})(["height:50px;padding:10px;width:100%;align-items:center;text-align:center;",";",";"],(e=>{let{backgroundColor:t}=e;return"background-color: "+t}),(e=>{let{color:t}=e;return"color: "+t})),Tx=(0,p.Ay)(s.so).withConfig({componentId:"sc-1qil3sl-5"})(["width:100%;height:50px;align-items:center;",";"],(e=>{let{color:t}=e;return"background-color: "+t})),Dx=p.Ay.span.withConfig({componentId:"sc-1qil3sl-6"})(["font-size:15px;padding-left:10px;",";"],(e=>{let{color:t}=e;return"color: "+t})),jx=(0,p.Ay)(s.so).withConfig({componentId:"sc-1qil3sl-7"})(["min-width:100px;"]),Bx=()=>{var e,t,n,r,i,o,a,l,p,h,f,g,v,y,A,b,w,x,C,S,k,E,I,_,P,O,T,D,j,B,N,M,R,L,F,z,Q;const{t:U}=(0,d.B)(),V=(0,c.jL)(),G=(0,c.GV)(Gp.ls),q=(0,c.GV)(Gp.lP),H=(0,c.GV)(Gp.T$);(0,u.useEffect)((()=>{G||V((0,cp.fr)())}),[V,G]),(0,u.useEffect)((()=>{var e,t;q&&V((0,cp.kU)({...null!==(e=null===q||void 0===q?void 0:q.inputTheme)&&void 0!==e?e:q.theme,shopId:null!==(t=null===q||void 0===q?void 0:q.id)&&void 0!==t?t:""}))}),[V,q]);const W=(0,u.useMemo)((()=>e=>{V((0,cp.z8)(e))}),[V]),Y={red:U("colors.red","Red"),pink:U("colors.pink","Pink"),purple:U("colors.purple","Purple"),"deep-purple":U("colors.deepPurple","Deep purple"),indigo:U("colors.indigo","Indigo"),blue:U("colors.blue","Blue"),"light-blue":U("colors.lightBlue","Light blue"),cyan:U("colors.cyan","Cyan"),teal:U("colors.teal","Teal"),green:U("colors.green","Green"),"light-green":U("colors.lightGreen","Light green"),lime:U("colors.lime","Lime"),yellow:U("colors.yellow","Yellow"),amber:U("colors.amber","Amber"),orange:U("colors.orange","Orange"),"deep-orange":U("colors.deepOrange","Deep orange"),brown:U("colors.brown","Brown"),grey:U("colors.grey","Grey"),"blue-grey":U("colors.blueGrey","Blue grey"),"mdb-color":"mdb-color"},K=null!==(e=null===G||void 0===G||null===(t=G.availableColors)||void 0===t||null===(n=t.main)||void 0===n?void 0:n.map((e=>({label:Y[e],value:e}))))&&void 0!==e?e:[],J=null!==(r=null===G||void 0===G||null===(i=G.availableColors)||void 0===i||null===(o=i.accent)||void 0===o?void 0:o.map((e=>({label:Y[e],value:e}))))&&void 0!==r?r:[],X=null!==(a=null===G||void 0===G||null===(l=G.availableColors)||void 0===l||null===(p=l.lightness)||void 0===p?void 0:p.map((e=>({label:e,value:e}))))&&void 0!==a?a:[],Z=null!==(h=null===G||void 0===G||null===(f=G.availableFontStyles)||void 0===f?void 0:f.map((e=>({label:e,value:e}))))&&void 0!==h?h:[],$=null!==(g=null!==(v=null===q||void 0===q||null===(y=q.inputTheme)||void 0===y?void 0:y.main)&&void 0!==v?v:null===q||void 0===q||null===(A=q.theme)||void 0===A?void 0:A.main)&&void 0!==g?g:"blue-grey",ee=null!==(b=null!==(w=null===q||void 0===q||null===(x=q.inputTheme)||void 0===x?void 0:x.footer)&&void 0!==w?w:null===q||void 0===q||null===(C=q.theme)||void 0===C?void 0:C.footer)&&void 0!==b?b:"blue-grey",te=null!==(S=null!==(k=null===q||void 0===q||null===(E=q.inputTheme)||void 0===E?void 0:E.accent)&&void 0!==k?k:null===q||void 0===q||null===(I=q.theme)||void 0===I?void 0:I.accent)&&void 0!==S?S:"amber",ne=null!==(_=null!==(P=null===q||void 0===q||null===(O=q.inputTheme)||void 0===O||null===(T=O.lightness)||void 0===T?void 0:T.toString())&&void 0!==P?P:null===q||void 0===q||null===(D=q.theme)||void 0===D||null===(j=D.lightness)||void 0===j?void 0:j.toString())&&void 0!==_?_:"5",re=null!==(B=null!==(N=null===q||void 0===q||null===(M=q.inputTheme)||void 0===M?void 0:M.fontBody)&&void 0!==N?N:null===q||void 0===q||null===(R=q.theme)||void 0===R?void 0:R.fontBody)&&void 0!==B?B:"Roboto",ie=null!==(L=null!==(F=null===q||void 0===q||null===(z=q.inputTheme)||void 0===z?void 0:z.fontHeader)&&void 0!==F?F:null===q||void 0===q||null===(Q=q.theme)||void 0===Q?void 0:Q.fontHeader)&&void 0!==L?L:"Roboto";return(0,m.jsxs)(Yf,{children:[(0,m.jsxs)(s.so,{align:"center",justify:"start",className:"mb-4",gap:"8px",$wrap:!0,children:[(0,m.jsxs)(jx,{column:!0,children:[(0,m.jsx)(cx,{children:U("microshop.mainColor","Main color")}),(0,m.jsx)(s.l6,{isMulti:!1,value:K.find((e=>e.value===$)),onChange:e=>{var t,n;return e&&W({inputTheme:{...null!==(t=null!==(n=null===q||void 0===q?void 0:q.inputTheme)&&void 0!==n?n:null===q||void 0===q?void 0:q.theme)&&void 0!==t?t:{},main:e.value}})},options:K})]}),(0,m.jsxs)(jx,{column:!0,children:[(0,m.jsx)(cx,{children:U("microshop.footColor","Foot color")}),(0,m.jsx)(s.l6,{isMulti:!1,value:K.find((e=>e.value===ee)),onChange:e=>{var t,n;return e&&W({inputTheme:{...null!==(t=null!==(n=null===q||void 0===q?void 0:q.inputTheme)&&void 0!==n?n:null===q||void 0===q?void 0:q.theme)&&void 0!==t?t:{},footer:e.value}})},options:K})]}),(0,m.jsxs)(jx,{column:!0,children:[(0,m.jsx)(cx,{children:U("microshop.accentColor","Accent color")}),(0,m.jsx)(s.l6,{isMulti:!1,value:J.find((e=>e.value===te)),onChange:e=>{var t,n;return e&&W({inputTheme:{...null!==(t=null!==(n=null===q||void 0===q?void 0:q.inputTheme)&&void 0!==n?n:null===q||void 0===q?void 0:q.theme)&&void 0!==t?t:{},accent:e.value}})},options:J})]}),(0,m.jsxs)(jx,{column:!0,children:[(0,m.jsx)(cx,{children:U("microshop.lightnessColor","Lightness")}),(0,m.jsx)(s.l6,{isMulti:!1,value:X.find((e=>e.value===ne)),onChange:e=>{var t,n;return e&&W({inputTheme:{...null!==(t=null!==(n=null===q||void 0===q?void 0:q.inputTheme)&&void 0!==n?n:null===q||void 0===q?void 0:q.theme)&&void 0!==t?t:{},lightness:parseInt(e.value,10)}})},options:X})]}),(0,m.jsxs)(jx,{column:!0,children:[(0,m.jsx)(cx,{children:U("microshop.bodyFont","Body font")}),(0,m.jsx)(s.l6,{isMulti:!1,value:Z.find((e=>e.value===re)),onChange:e=>{var t,n;return e&&W({inputTheme:{...null!==(t=null!==(n=null===q||void 0===q?void 0:q.inputTheme)&&void 0!==n?n:null===q||void 0===q?void 0:q.theme)&&void 0!==t?t:{},fontBody:e.value}})},options:Z})]}),(0,m.jsxs)(jx,{column:!0,children:[(0,m.jsx)(cx,{children:U("microshop.headerFont","Header font")}),(0,m.jsx)(s.l6,{isMulti:!1,value:Z.find((e=>e.value===ie)),onChange:e=>{var t,n;return e&&W({inputTheme:{...null!==(t=null!==(n=null===q||void 0===q?void 0:q.inputTheme)&&void 0!==n?n:null===q||void 0===q?void 0:q.theme)&&void 0!==t?t:{},fontHeader:e.value}})},options:Z})]})]}),H&&(0,m.jsx)(kx,{className:"mb-4",themeColors:H}),(0,m.jsx)(Nf,{className:"mb-2"})]})},Nx=e=>{let{isDirty:t,onCancel:n,onSave:r}=e;const{t:i}=(0,d.B)(),o=(0,c.GV)((e=>e.microshops.units.validation));return(0,m.jsx)("div",{children:(0,m.jsxs)(s.so,{gap:"8px",children:[(0,m.jsx)(s.$n,{disabled:!t,onClick:n,children:i("action.cancel","Cancel")}),(0,m.jsx)(Mx,{disabled:!t||0!==(null===o||void 0===o?void 0:o.length),isDirty:t,color:t?"white":"text",onClick:r,children:i("action.save","Save")})]})})},Mx=(0,p.Ay)(s.$n).withConfig({componentId:"sc-1ywpz0i-0"})(["background-color:",";&:hover{background-color:",";}"],(e=>{let{isDirty:t}=e;return t?"#224382;":"#F4F4F4"}),(e=>{let{isDirty:t}=e;return t?"#224382;":""}));var Rx=n(84647);const Lx=e=>{var t;let{formState:n,onChange:r}=e;const a=(0,c.GV)(Gp.ld),{t:s}=(0,d.B)(),[l,p]=(0,u.useState)(!1),h=(0,c.Wr)((()=>p(!1))),f=(null===n||void 0===n?void 0:n.assortments)&&(null===n||void 0===n?void 0:n.assortments.map((e=>e.id)));return(0,m.jsx)(m.Fragment,{children:(0,m.jsxs)(Fx,{ref:h,children:[(0,m.jsxs)(zx,{onClick:()=>p(!l),active:l,children:[`${s("action.select")} ${s("microshop.assortment")}`," ",(0,m.jsx)(o.g,{fontSize:20,color:Wt.A.colors.border,icon:l?i.GF6:i.tdl})]}),(0,m.jsx)(Qx,{visible:l,children:a&&a.length>0?(0,m.jsx)(Rx.P,{value:null!==(t=f)&&void 0!==t?t:[],tree:a,handleOnValueChange:e=>r(e),noBorder:!0,bgColor:"transparent"}):"Inget valt sortiment"})]})})},Fx=p.Ay.div.withConfig({componentId:"sc-1p6lci1-0"})(["position:relative;"]),zx=p.Ay.div.withConfig({componentId:"sc-1p6lci1-1"})(["padding:8px;background-color:#ffffff;border:1px solid #e9e9e9;display:flex;justify-content:space-between;align-items:center;padding-left:12px;padding-right:12px;position:relative;"," &:hover{cursor:default;}"],(e=>{let{active:t}=e;return t&&"box-shadow: rgba(0, 0, 0, 0.06) 0px 0px 14px;"})),Qx=p.Ay.div.withConfig({componentId:"sc-1p6lci1-2"})(["padding:10px;padding-left:12px;padding-right:12px;padding-top:12px;padding-bottom:12px;margin-top:4px;background-color:#ffffff;border:1px solid #e9e9e9;position:absolute;width:100%;display:",";z-index:10;max-height:200px;overflow-y:auto;scrollbar-width:thin;box-shadow:rgba(0,0,0,0.06) 0px 0px 14px;"],(e=>{let{visible:t}=e;return t?"block":"none"})),Ux=e=>{var t,n,r,i,o,a,l,p,h;let{onChange:f,formState:g,validationErrors:v,handleOnUnitAssortmentChange:y,unitAssortments:A}=e;const{t:b}=(0,d.B)(),w=(0,c.jL)(),x=(0,c.cb)(),C=(0,c.GV)(Kt.eN),S=(0,c.GV)(Kt.q_);return(0,m.jsx)(u.Fragment,{children:(0,m.jsxs)("div",{children:[(0,m.jsx)(s.EY,{bold:!0,children:b("microshop.settings","Settings")}),(0,m.jsxs)("div",{children:[(0,m.jsx)(ha.A,{name:"name",label:b("microshop.unitName","Name"),value:null!==(t=null===g||void 0===g?void 0:g.name)&&void 0!==t?t:"",className:"mb-3",required:!0,errorText:""===g.name||null===g.name?b("validation.required"):"",onChange:e=>{w((0,cp.wd)(v.filter((e=>"name"!==e)))),f({[e.target.name]:""!==e.target.value?e.target.value:null})}}),(0,m.jsxs)(ha.J,{htmlFor:"customerNumber",smallLabel:!0,className:"f3-700",children:[b("user.customerNumber","Customer number"),(0,m.jsx)(s.l6,{id:"customerNumber",className:"mb-3",name:"customerNumber",value:{value:null!==(n=g.customerNumber)&&void 0!==n?n:"",label:null!==(r=g.customerNumber)&&void 0!==r?r:""},options:(null===S||void 0===S?void 0:S.length)>0?[...S.map((e=>({value:e.code,label:e.code}))),{value:"",label:"-"}]:[{value:null!==(i=null===C||void 0===C||null===(o=C.user)||void 0===o?void 0:o.customerCode)&&void 0!==i?i:"",label:null!==(a=null===C||void 0===C||null===(l=C.user)||void 0===l?void 0:l.customerCode)&&void 0!==a?a:""},{value:"",label:"-"}],isMulti:!1,onChange:e=>(e=>{f({customerNumber:null!==e&&void 0!==e?e:null})})(e&&""!==e.value?e.value:null)},"customerNumber")]})]}),A&&(0,m.jsxs)("div",{className:"mb-3",children:[(0,m.jsx)(ha.J,{htmlFor:"customerNumber",smallLabel:!0,className:"f3-700",children:b("microshop.assortment","Assortment")}),(0,m.jsx)(Lx,{formState:g,onChange:e=>y(e)})]}),(0,m.jsxs)("div",{children:[(0,m.jsx)(s.EY,{bold:!0,children:b("salesBoard.section_budget","Budget")}),(0,m.jsx)(px,{setting:{className:"mb-3",name:"budget",label:b("microshop.unitBudgetDepartment","Department (SEK)"),value:null!==(p=g.budget)&&void 0!==p?p:0,onChange:e=>f({[e.target.name]:Number(e.target.value)})}}),(0,m.jsx)(px,{setting:{className:"mb-3",name:"personalBudget",label:b("microshop.individual","Individual (SEK)"),value:null!==(h=g.personalBudget)&&void 0!==h?h:0,onChange:e=>f({[e.target.name]:Number(e.target.value)})}})]}),(0,m.jsxs)("div",{className:"mb-3",children:[(0,m.jsx)(cx,{children:b("microshop.currency","Currency")}),(0,m.jsx)(s.so,{column:x.smBelow,gap:x.smBelow?"8px":"0",children:Object.keys(be.ShopUnitCurrencyType).map((e=>{if(isNaN(Number(e))){const t=be.ShopUnitCurrencyType[e];let n;switch(t){case be.ShopUnitCurrencyType.Standard:n=b("microshop.standard","Standard");break;case be.ShopUnitCurrencyType.Custom:n=b("microshop.custom","Custom");break;case be.ShopUnitCurrencyType.Points:n=b("microshop.points","Points")}return(0,m.jsx)(s.sx,{label:n,value:t,checked:g.currency===t,onChange:e=>f({currency:Number(e.target.value)})},t)}}))})]})]})})},Vx=p.Ay.div.withConfig({componentId:"sc-u64dxa-0"})([""]),Gx=(0,p.Ay)(s.so).withConfig({componentId:"sc-u64dxa-1"})(["padding:8px 16px;"," "," box-sizing:border-box;&:hover{background-color:#ececec;cursor:pointer;}"],(e=>{let{depth:t,marginLeft:n,baseIndent:r}=e;return t>0&&`padding-left: ${r*t+(n?r:0)}px;`}),(e=>{let{selected:t}=e;return t&&"background-color: #ececec;"})),qx=p.Ay.div.withConfig({componentId:"sc-u64dxa-2"})(["width:24px;"]),Hx=p.Ay.div.withConfig({componentId:"sc-u64dxa-3"})(["position:absolute;left:25px;right:auto;bottom:-15px;z-index:200;"," ","{right:25px;left:auto;}","{right:25px;left:auto;}",""],(e=>{let{theme:t}=e;return t.shadows.soft}),(e=>{let{theme:t}=e;return t.media.lg}),(e=>{let{theme:t}=e;return t.media.lg}),(e=>{let{width:t}=e;return t<1025&&"left: -124px;"})),Wx=e=>{var t;let{units:n,selectedUnitId:r,handleOnNewUnit:o,formState:a,setFormState:l,isDirty:p}=e;const h=(0,c.jL)(),{t:g}=(0,d.B)(),[v,y]=(0,u.useState)([]),[A,b]=(0,u.useState)(!1),w=null===n||void 0===n?void 0:n.filter((e=>null===e.parentId)),x=(0,c.cb)(),C=e=>{y((t=>t.includes(e)?t.filter((t=>t!==e)):[...t,e]))},S=function(e){var t;let c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;const{id:d,name:y}=e,w=n.filter((e=>e.parentId===d)),k=w.length>0,E=r===d,I=null!==e.parentId,_=c,P=null===v||void 0===v?void 0:v.includes(null!==d&&void 0!==d?d:"");return(0,m.jsxs)(u.Fragment,{children:[(0,m.jsxs)(Gx,{depth:_,marginLeft:!!I&&k||!k&&null===r&&a.parentId===d,align:"center",selected:E||void 0===d,baseIndent:16,justify:"between",onClick:()=>{var t;r!==d&&void 0!==d&&(p||null===r?h((0,f.wp)(Kx({onOk:()=>{var t;h((0,cp.ss)(null!==(t=e.id)&&void 0!==t?t:null)),l({...e})}}))):(h((0,cp.ss)(null!==(t=e.id)&&void 0!==t?t:null)),l({...e})))},children:[(0,m.jsxs)(s.so,{children:[k||!k&&null===r&&a.parentId===d?(0,m.jsx)(s.K0,{bgColor:"transparent",small:!0,icon:P?i.Jt$:i.XkK,onClick:e=>{e.stopPropagation(),C(d)}}):(0,m.jsx)(qx,{}),(0,m.jsx)(s.EY,{children:null!==y&&void 0!==y?y:g("microshop.new_unit","New unit")})]}),E?(0,m.jsxs)(s.so,{className:"position-relative",children:[(0,m.jsx)(s.K0,{icon:i.nx5,small:!0,disableFont:!0,onClick:e=>{e.stopPropagation(),e.preventDefault(),b(!0)}}),A&&(0,m.jsx)(Hx,{width:x.width,children:(0,m.jsx)(Vo.A,{onClickOutside:()=>b(!1),items:[{icon:i.QLR,label:"L\xe4gg till enhet",onClick:async()=>{v.includes(d)||C(d),o(d),b(!1)}},{icon:i.iuH,label:"Ta bort enhet",onClick:()=>{h((0,cp.yf)()),b(!1)}}],childrenTitleKey:"label",childrenIconKey:"icon",breakParentWidth:!0,onItemPress:async e=>{e.onClick()}})})]}):null]}),P&&(0,m.jsx)(m.Fragment,{children:null===(t=[...w,...null===r&&(null===a||void 0===a?void 0:a.parentId)===d?[{name:""!==(null===a||void 0===a?void 0:a.name)?null===a||void 0===a?void 0:a.name:"Ny enhet",id:void 0,children:[],ChildNodes:[]}]:[]])||void 0===t?void 0:t.map(((t,n)=>(0,m.jsx)(Vx,{hasChildren:k,selected:r===e.id,children:S(t,c+1,n)},n)))})]})};return(0,m.jsx)(m.Fragment,{children:null===(t=[...w,...null===r&&null===(null===a||void 0===a?void 0:a.parentId)?[{name:""!==(null===a||void 0===a?void 0:a.name)?null===a||void 0===a?void 0:a.name:"Ny enhet",id:void 0,children:[],ChildNodes:[]}]:[]])||void 0===t?void 0:t.map(((e,t)=>(0,m.jsxs)(u.Fragment,{children:[" ",S(e,0)]},`topNode-${t}`)))})},Yx=e=>{var t,n,r,i,o,a;let{onChange:l,formState:u,validationErrors:p}=e;const{t:h}=(0,d.B)(),f=(0,c.jL)();return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(s.EY,{bold:!0,children:h("microshop.administrator","Administrator")}),(0,m.jsx)(s.pd,{name:"email",label:h("general.email","E-mail"),value:null!==(t=null===u||void 0===u||null===(n=u.manager)||void 0===n?void 0:n.email)&&void 0!==t?t:"",onChange:e=>{f((0,cp.wd)(p.filter((e=>"email"!==e)))),l({manager:{...u.manager,[e.target.name]:""!==e.target.value?e.target.value:null}})},error:!!p.includes("email"),errorText:p.includes("email")?h("microshop.emailWarning","There is something wrong with the email that is entered, please check for mistype or spelling errors."):""}),(0,m.jsx)(s.Sc,{className:"mb-4 mt-2",name:"isAttestent",bgColor:"fillWhite",checked:null!==(r=null===(i=u.manager)||void 0===i?void 0:i.isAttestent)&&void 0!==r&&r,onChange:e=>{l({manager:{...u.manager,isAttestent:e.target.checked}})},label:h("microshop.unitCertifier","Certifier")}),(0,m.jsxs)("div",{className:"mb-3",children:[(0,m.jsx)(cx,{children:h("microshop.alternativeUnitCertifier","Alternative certifier")}),(0,m.jsx)(s.pd,{name:"alternativeManager",label:h("general.email","E-mail"),value:null!==(o=null===u||void 0===u||null===(a=u.manager)||void 0===a?void 0:a.alternativeManager)&&void 0!==o?o:"",onChange:e=>{f((0,cp.wd)(p.filter((e=>"alternativeManager"!==e)))),l({manager:{...u.manager,[e.target.name]:""!==e.target.value?e.target.value:null}})},error:!!p.includes("alternativeManager"),errorText:p.includes("alternativeManager")?h("microshop.emailWarning","There is something wrong with the email that is entered, please check for mistype or spelling errors."):""})]})]})},Kx=e=>{let{onOk:t}=e;return{stretchButtons:!0,title:Il.A.t("action.continueWithoutSaving","Continue without saving?"),onOk:()=>{t()}}},Jx=p.Ay.div.withConfig({componentId:"sc-1ubudk-0"})(["padding:24px 0 24px 0;"]),Xx=p.Ay.div.withConfig({componentId:"sc-1ubudk-1"})(["background-color:#fbfbfb;"]),Zx=p.Ay.div.withConfig({componentId:"sc-1ubudk-2"})(["margin-left:18px;"]),$x=(0,p.Ay)(s.so).withConfig({componentId:"sc-1ubudk-3"})(["padding:16px 0;margin-bottom:16px;border-bottom:",";"],(e=>{let{theme:t}=e;return`1px solid ${t.colors.borderLight}`})),eC=()=>{const e=(0,c.jL)(),{t:t}=(0,d.B)(),n=(0,c.cb)(),{units:r,selectedUnitId:o,loading:a,validation:l}=(0,c.GV)(Gp.PX),p=(0,c.GV)(Gp.Ps),h=(0,c.GV)(Gp.i9),[g,v]=(0,u.useState)({...h}),[y,A]=(0,u.useState)(null);let b=JSON.stringify(g)!==JSON.stringify(h);(0,u.useEffect)((()=>(e((0,cp.YU)()),e((0,cp.bJ)()),()=>{e((0,cp.ss)(null))})),[e]),(0,u.useEffect)((()=>{h&&v({...h})}),[h]);const w=e=>{v({...g,...e})},x=async t=>{A(null!==t&&void 0!==t?t:o),e((0,cp.ss)(null)),v({id:null,name:null,parentId:null!==t&&void 0!==t?t:null,childIds:null,customerNumber:null,manager:{email:null,isAttestent:!1,manageBudget:!1,alternativeManager:null},assortments:null,currency:0,budget:0,personalBudget:0})};return(0,m.jsx)(s.so,{column:!0,children:(0,m.jsxs)(s.xA,{columns:{lg:"300px 1fr",xl:"300px 1fr",sm:"1fr"},children:[(0,m.jsx)(s.so,{column:!0,children:(0,m.jsxs)(Jx,{children:[(0,m.jsxs)(s.so,{justify:"between",align:"center",style:{paddingLeft:"24px",paddingRight:"12px"},children:[(0,m.jsx)(s.EY,{bold:!0,children:t("microshop.units")}),(0,m.jsx)(s.K0,{icon:i.QLR,onClick:()=>{null!==o&&x(null)}})]}),a?(0,m.jsx)(Zx,{children:(0,m.jsx)(s.y$,{})}):(0,m.jsx)(Wx,{units:r,selectedUnitId:o,handleOnNewUnit:x,formState:g,setFormState:v,isDirty:b})]})}),(0,m.jsx)(Xx,{className:"p-4",children:h&&g||null===o&&g?(0,m.jsxs)(m.Fragment,{children:[(0,m.jsxs)($x,{justify:"between",children:[(0,m.jsx)(s.EY,{fontSize:20,bold:!0,children:null!==h&&void 0!==h&&h.name?null===h||void 0===h?void 0:h.name:t("microshop.addUnit","Add new unit")}),(0,m.jsx)(Nx,{isDirty:b,onCancel:()=>{e((0,f.wp)(Kx({onOk:()=>null===o?(e((0,cp.ss)(y)),void v({...r.find((e=>e.id===y))})):null!==o&&b?(v({...h}),void e((0,cp.wd)([]))):void 0})))},onSave:()=>{e((0,cp.vk)(g))}})]}),(0,m.jsxs)(s.xA,{columns:{lg:""+(n.width>1428?"1fr 1fr":"1fr"),xl:"1fr 1fr",md:"1fr"},gap:"24px",children:[(0,m.jsxs)("div",{children:[(0,m.jsx)(Ux,{formState:g,onChange:e=>w(e),validationErrors:null!==l&&void 0!==l?l:[],handleOnUnitAssortmentChange:e=>(e=>{v({...g,assortments:0===e.length?null:e.map((e=>({id:e})))})})(e),unitAssortments:p}),n.width>1428&&null!==o&&(0,m.jsxs)("div",{className:"mt-3",children:[(0,m.jsx)(s.EY,{bold:!0,className:"mb-1",children:t("microshop.deleteUnit","Delete unit")}),(0,m.jsx)(s.EY,{className:"mb-2",children:t("microshop.deleteUnitWarning","Deleting your account will permanently remove all your data, including all users, your settings, and all the content you have created. This action cannot be undone.")}),(0,m.jsxs)(s.$n,{bgColor:"sale",color:"white",className:"mb-1",onClick:()=>e((0,cp.yf)()),children:[t("action.remove","Delete")," ",null===h||void 0===h?void 0:h.name]})]})]}),(0,m.jsx)("div",{children:(0,m.jsx)(Yx,{formState:g,onChange:e=>w(e),validationErrors:null!==l&&void 0!==l?l:[]})}),n.width<=1428&&null!==o&&(0,m.jsxs)("div",{className:"mt-3",children:[(0,m.jsx)(s.EY,{bold:!0,className:"mb-1",children:t("microshop.deleteUnit","Delete unit")}),(0,m.jsx)(s.EY,{className:"mb-2",children:t("microshop.deleteUnitWarning","Deleting your account will permanently remove all your data, including all users, your settings, and all the content you have created. This action cannot be undone.")}),(0,m.jsxs)(s.$n,{bgColor:"sale",color:"white",className:"mb-1",onClick:()=>e((0,cp.yf)()),children:[t("action.remove","Delete")," ",null===h||void 0===h?void 0:h.name]})]})]})]}):(0,m.jsx)(m.Fragment,{})})]})})},tC=()=>{const e=(0,c.jL)(),t=(0,c.GV)(Gp.Et),[n]=(0,u.useState)({}),[r,i]=(0,u.useState)([]),[o,a]=(0,u.useState)(!1);return(0,u.useEffect)((()=>i(t)),[t]),(0,u.useEffect)((()=>{o&&(e((0,cp._s)(r)),a(!1))}),[e,o,r]),n.products&&Y.A,(0,m.jsx)(eC,{})};var nC=n(41397);const rC=e=>{let{heading:t,radioOptions:n,onChange:r}=e;return(0,m.jsxs)(s.so,{column:!0,children:[(0,m.jsx)(cx,{className:"pb-2",children:t}),(0,m.jsx)(s.so,{column:!0,children:n.map((e=>(0,m.jsx)(iC,{className:"mb-2",checked:e.checked,name:e.label,onChange:()=>r(e),label:e.label},e.label)))})]})},iC=(0,p.Ay)(s.sx).withConfig({componentId:"sc-l5yadi-0"})([""]),oC=(e,t)=>e.find((e=>t===e.value)),aC=()=>{var e,t,n,r,i,o,a,l,p,h,f,g,v,y,A,b;const{t:w}=(0,d.B)(),x=(0,c.jL)(),C=(0,c.GV)(Gp.Kg),{uri:S,domain:k}=(0,c.GV)(Gp.nP),E=(0,c.GV)(Gp.lP),I=(0,c.GV)(Gp.z3),_=(0,c.GV)(Gp.ls),P=(0,c.GV)(B.Lt.languageOptions),O=(0,c.GV)(Gp.mT),T=(0,c.GV)(Gp.TX),D=(0,c.GV)(Gp.Vu),j=(0,c.GV)(Gp.Lu),[N,M]=(0,u.useState)(!1),[R,L]=(0,u.useState)(0),[F,z]=(0,u.useState)(!!(null!==(e=null===E||void 0===E||null===(t=E.inputSecurity)||void 0===t?void 0:t.type)&&void 0!==e?e:null===E||void 0===E||null===(n=E.security)||void 0===n?void 0:n.type)),Q=(0,u.useMemo)((()=>async(e,t,n)=>{if(null!=t&&n){const r=(await x((0,cp.cV)({host:t,domain:n}))).payload;null!==r&&void 0!==r&&r.url?e.uri=r.url:delete e.uri}M(!0),x((0,cp.z8)(e))}),[x]),U=null!==(r=null===_||void 0===_||null===(i=_.defaultDomains)||void 0===i?void 0:i.map((e=>({label:e,value:e}))))&&void 0!==r?r:[],V=(G=be.ShopUnitCurrencyType,Object.keys(G).filter((e=>isNaN(Number(e)))).map((e=>({label:e,value:G[e]}))));var G;const q=oC(U,k),H=oC(P,null===E||void 0===E?void 0:E.language),W=oC(V,null===E||void 0===E?void 0:E.currency),Y=oC(T,null===E||void 0===E?void 0:E.type),K=(e,t)=>t?[...(null===E||void 0===E?void 0:E.budgetAndAttest)||[],e]:((null===E||void 0===E?void 0:E.budgetAndAttest)||[]).filter((t=>t!==e));return(0,m.jsxs)(lC,{className:"p-4",children:[(0,m.jsxs)(sC,{justify:"between",children:[(0,m.jsx)(s.EY,{fontSize:20,children:null!==(o=null===E||void 0===E?void 0:E.name)&&void 0!==o?o:""}),(0,m.jsx)(Nx,{isDirty:N,onCancel:()=>{N&&(M(!1),L(R+1),x((0,cp.K5)()))},onSave:async()=>{try{if(N)return M(!1),void await x((0,cp.WH)()).unwrap()}catch(e){M(!0)}}})]}),(0,m.jsxs)(s.EY,{className:"heading",children:[w("microshop.general")," ",w("general.settings")]}),(0,m.jsxs)(s.xA,{gap:"1.5rem",columns:{lg:"1fr 1fr",xl:"1fr 1fr",sm:"1fr"},children:[(0,m.jsxs)(cC,{column:!0,children:[(0,m.jsxs)(cx,{className:"pt-2",children:[w("product.name","Name"),"*"]}),(0,m.jsx)(s.pd,{name:"name",defaultValue:null!==(a=null===E||void 0===E?void 0:E.name)&&void 0!==a?a:"",onChange:(0,nC.debounce)((e=>{var t;return Q({name:null===e||void 0===e||null===(t=e.target)||void 0===t?void 0:t.value})}),500),required:!0}),(0,m.jsxs)(s.so,{gap:"10px",children:[(0,m.jsxs)(dC,{$flex:2,children:[(0,m.jsxs)(cx,{className:"pt-2",children:[w("general.url","Url"),"*"]}),(0,m.jsx)(s.pd,{name:"url",required:!0,defaultValue:null!==S&&void 0!==S?S:"",errorText:!C.host||C.pending||C.url?void 0:w("microshop.invalidUrl"),onChange:(0,nC.debounce)((e=>{var t;Q({},null===e||void 0===e||null===(t=e.target)||void 0===t?void 0:t.value,k)}),500)})]}),(0,m.jsxs)(dC,{$flex:1,children:[(0,m.jsx)(cx,{className:"pt-2",children:" Domain "}),(0,m.jsx)(s.l6,{isMulti:!1,value:q,onChange:e=>{var t;return Q({},S,null!==(t=e.value)&&void 0!==t?t:"")},options:U})]})]}),(0,m.jsxs)(s.so,{column:!0,children:[(0,m.jsx)(cx,{className:"pt-2",children:w("general.language","Language")}),(0,m.jsx)(s.l6,{onChange:e=>{var t;const n=P.find((t=>t.value===e.value));n&&Q({language:null!==(t=n.value)&&void 0!==t?t:""})},value:H,options:P})]}),(0,m.jsx)(dC,{className:"pt-2",children:(0,m.jsx)(lx,{setting:{label:w("offer.expires"),selectedDate:null!==E&&void 0!==E&&null!==(l=E.expires)&&void 0!==l&&l.utc?new Date(E.expires.utc):void 0,onChange:e=>{Array.isArray(e)||e&&Q({expires:{str:e.toJSON(),utc:e.toJSON()}})},dateFilter:"Future"}})}),(0,m.jsxs)(s.so,{column:!0,className:"pt-2",children:[(0,m.jsx)(cx,{children:w("microshop.currency")}),(0,m.jsx)(s.l6,{onChange:e=>{},options:V,value:W})]}),(0,m.jsxs)(s.so,{column:!0,className:"pt-2",children:[(0,m.jsx)(cx,{children:w("microshop.units")}),(0,m.jsx)(s.l6,{options:T,value:Y,onChange:e=>{var t;const n=T.find((t=>t.value===e.value));n&&Q({type:null!==(t=n.value)&&void 0!==t?t:""})}})]})]}),(0,m.jsxs)(uC,{column:!0,children:[(0,m.jsxs)(s.so,{column:!0,children:[(0,m.jsx)(rC,{heading:w("microshop.assortment","Assortment Type"),radioOptions:I.map((e=>({...e,checked:(null===E||void 0===E?void 0:E.assortmentType)===e.type}))),onChange:e=>Q({assortmentType:e.type})}),(0,m.jsx)(rC,{heading:w("microshop.displayOptions","Display options for size and quantity"),radioOptions:D.map((e=>({...e,checked:(null===E||void 0===E?void 0:E.productSizeDisplay)===e.value}))),onChange:e=>Q({productSizeDisplay:e.value})}),(0,m.jsx)(rC,{heading:w("microshop.order_flow","Order flow"),radioOptions:j.map((e=>({...e,checked:(null===E||void 0===E?void 0:E.orderProcessType)===e.value}))),onChange:e=>{Q({orderProcessType:e.value})}}),(0,m.jsxs)(s.so,{column:!0,children:[(0,m.jsx)(cx,{children:w("microshop.budget_approval","Budget & Approval")}),O.map((e=>{var t;return(0,m.jsx)(s.Sc,{className:"mb-2",name:e.label,checked:null===E||void 0===E||null===(t=E.budgetAndAttest)||void 0===t?void 0:t.includes(e.value),onChange:t=>{Q({budgetAndAttest:K(e.value,t.target.checked)})},label:e.label},e.label)}))]})]}),(0,m.jsxs)(s.so,{column:!0,children:[(0,m.jsx)(cx,{children:w("microshop.security_protection","Registration & Protection")}),(0,m.jsx)(s.Sc,{className:"mb-2",label:w("microshop.securityOptionRegister","Registration"),name:"emailVerification",checked:null!==(p=null!==(h=null===E||void 0===E||null===(f=E.inputSecurity)||void 0===f?void 0:f.emailVerification)&&void 0!==h?h:null===E||void 0===E||null===(g=E.security)||void 0===g?void 0:g.emailVerification)&&void 0!==p&&p,onChange:e=>{var t,n;Q({inputSecurity:{secret:null===E||void 0===E||null===(t=E.inputSecurity)||void 0===t?void 0:t.secret,type:null===E||void 0===E||null===(n=E.inputSecurity)||void 0===n?void 0:n.type,emailVerification:e.target.checked}})}}),(0,m.jsx)(s.Sc,{className:"mb-2",label:w("microshop.securityOptionSecret"),name:"type",checked:F,onChange:e=>{var t,n;const r=e.target.checked;z(r),Q({inputSecurity:{secret:null===E||void 0===E||null===(t=E.inputSecurity)||void 0===t?void 0:t.secret,emailVerification:null===E||void 0===E||null===(n=E.inputSecurity)||void 0===n?void 0:n.emailVerification,...r&&{type:be.ShopSecurityType.SecretAndRegister}}})}}),F&&(0,m.jsx)(s.pd,{defaultValue:null!==(v=null!==(y=null===E||void 0===E||null===(A=E.security)||void 0===A?void 0:A.secret)&&void 0!==y?y:null===E||void 0===E||null===(b=E.inputSecurity)||void 0===b?void 0:b.secret)&&void 0!==v?v:"",name:"secret",onChange:e=>{Q({inputSecurity:{...null===E||void 0===E?void 0:E.security,...null===E||void 0===E?void 0:E.inputSecurity,secret:e.target.value}})}})]})]})]})]})},sC=(0,p.Ay)(s.so).withConfig({componentId:"sc-1698v08-0"})(["border-bottom:",";padding:16px 0;margin-bottom:16px;"],(e=>{let{theme:t}=e;return`1px solid ${t.colors.borderLight}`})),lC=p.Ay.div.withConfig({componentId:"sc-1698v08-1"})(["display:flex;flex-direction:column;background-color:#fbfbfb;gap:10px;"]),cC=(0,p.Ay)(s.so).withConfig({componentId:"sc-1698v08-2"})([""]),uC=(0,p.Ay)(s.so).withConfig({componentId:"sc-1698v08-3"})([""]),dC=p.Ay.div.withConfig({componentId:"sc-1698v08-4"})(["flex:",";"],(e=>{let{$flex:t}=e;return`${t};`})),pC=(e,t)=>[{name:"general",label:e("microshop.general","General")},...(0,ja.qe)()?[{name:"generalNew",label:"General new"}]:[],{name:"content",label:e("microshop.content","Content")},{name:"look",label:e("microshop.look","Look & feel")},...(0,ja.qe)()&&(null===t||void 0===t?void 0:t.type)===be.ShopType.Units?[{name:"units",label:e("microshop.units","Units")}]:[],{name:"assortment",label:e("microshop.assortment","Assortment")},{name:"files",label:e("microshop.files","Files")},{name:"orderPrices",label:e("microshop.orderPrices","Order & Prices")},{name:"other",label:e("microshop.refinementsAndAddons","Refinements & addons")}],hC=(e,t,n)=>({general:(0,m.jsx)(dx,{renderMobile:t}),generalNew:(0,m.jsx)(aC,{}),content:(0,m.jsx)(im,{renderMobile:t}),look:(0,m.jsx)(Bx,{}),units:(0,m.jsx)(tC,{}),assortment:(null===n||void 0===n?void 0:n.assortmentType)===be.ShopAssortmentType.Full?(0,m.jsx)(sx,{}):(0,m.jsx)(Yw,{}),files:(0,m.jsx)(ex,{renderMobile:t}),orderPrices:(0,m.jsx)(gx,{renderMobile:t}),other:(0,m.jsx)(Sx,{})}[e]),fC=e=>{const{t:t}=(0,d.B)(),n=(0,c.jL)(),r=(0,c.GV)(Gp.Kq),i=(0,c.GV)(Gp.Nh),o=(0,c.GV)(Gp.GK),a=(0,c.GV)(Gp.yX),l=(0,c.GV)(Gp.A1),p=(0,c.GV)(qs.Oe),h=(0,c.lW)().width<(p?1230:1430)||e.renderMobile,[f,g]=(0,u.useState)(!1),v=pC(t,r),y=hC(null!==i&&void 0!==i?i:"general",e.renderMobile,r);return(0,u.useEffect)((()=>{g(!0)}),[o]),(0,m.jsxs)(mC,{children:[l&&!r&&(0,m.jsx)(Y.A,{height:400,width:600}),r&&(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(Gf,{selectedTab:null!==i&&void 0!==i?i:"",renderMobile:h,spinner:a,items:v.map((e=>({...e,id:e.name,disabled:i===e.name,onClick:()=>n((0,cp.UY)(e.name))})))}),(0,m.jsxs)(gC,{className:"mt-2",column:!0,children:[l&&(0,m.jsx)(Y.A,{count:1,height:420}),!l&&y,(0,m.jsx)(vC,{children:(0,m.jsx)(s.pe,{right:"10px",show:f,icon:J.e68,message:o,iconColor:"warning",onClose:()=>{g(!1),n((0,cp.L)())},hideDelayInMs:4e3})})]})]})]})},mC=p.Ay.div.withConfig({componentId:"sc-1n7o307-0"})(["","{min-height:100%;}","{}"],(e=>{let{theme:t}=e;return t.media.lg}),(e=>{let{theme:t}=e;return t.media.xl})),gC=(0,p.Ay)(s.so).withConfig({componentId:"sc-1n7o307-1"})(["position:relative;"]),vC=p.Ay.div.withConfig({componentId:"sc-1n7o307-2"})(["position:fixed;width:100%;right:10px;bottom:50px;"]);var yC=n(6265);const AC=()=>{const{cmsOptions:e,isCartLoading:t}=(0,c.Ty)("microshopCart"),n=(0,c.GV)(Gp._s),{t:r}=(0,d.B)();return t?(0,m.jsx)(Y.A,{height:400}):(0,m.jsx)(vt.A.Provider,{value:{cartType:"microshopCart",cartHeader:`${r("order.order_one")} - ${null===n||void 0===n?void 0:n.orderNr}`},children:(0,m.jsx)(yC.A,{...e})})},bC=e=>{let{text:t}=e;const{t:n}=(0,d.B)();return(0,m.jsxs)(s.so,{column:!0,align:"center",className:"w-100 mt-4",children:[(0,m.jsx)(o.g,{size:"4x",icon:K.x4K}),(0,m.jsx)(s.EY,{className:"mt-1",fontSize:20,bold:!0,children:n("microshop.noOrders","No orders")}),(0,m.jsx)(wC,{fontSize:15,children:n("microshop.noOrdersExplanation",{orderText:t.toLowerCase()})})]})},wC=(0,p.Ay)(s.EY).withConfig({componentId:"sc-izeo22-0"})(["max-width:65%;text-align:center;margin-bottom:15px;margin-top:5px;"]),xC=e=>{let{orders:t=[],selectedOrders:n,onOrderClick:r,renderMobile:o,t:a,onSelectOrder:l,onDelete:c,deleteable:u=!1,vatIncluded:d}=e;return null===t||void 0===t?void 0:t.map((e=>{var t;const p=[null===(t=e.orderDate)||void 0===t?void 0:t.str,(0,m.jsx)(CC,{className:"f3-500",children:e.customerEmail}),e.customerPhoneNumber,e.quantity,d?e.customerTotalIncludedVat:e.customerTotalExcludedVat].map((e=>({el:e})));var h;c&&p.unshift({el:(0,m.jsx)(s.Sc,{bgColor:"white",checked:n.includes(null!==(h=e.id)&&void 0!==h?h:-1),onClick:t=>{var n;t.preventDefault(),t.stopPropagation(),null===l||void 0===l||l(null!==(n=e.id)&&void 0!==n?n:-1)},onChange:e=>{e.preventDefault(),e.stopPropagation()}})});return u&&p.push({el:(0,m.jsx)(s.K0,{onClick:t=>{var n;t.preventDefault(),t.stopPropagation(),null===c||void 0===c||c(null!==(n=e.id)&&void 0!==n?n:-1)},icon:i.yLS,bgColor:"white",square:o,children:o&&a("action.remove")}),align:"right"}),{thin:!0,onClick:()=>{var t;return r(null!==(t=e.id)&&void 0!==t?t:-1)},selected:!1,cells:p}}))},CC=p.Ay.span.withConfig({componentId:"sc-egi49j-0"})([""]),SC=e=>{var t;let{loading:n,selectable:r=!1,deleteable:i=!1,selectedOrders:o,onSelectAll:a,onSelectOrder:l,orders:p,renderMobile:h=!1}=e;const{t:f}=(0,d.B)(),g=(0,c.jL)(),v=(0,c.cb)(),y=(0,c.GV)(Gp.Hc),A=(0,c.GV)(Gp.q_);let b=[f("microshop.ordered"),f("seller.customer"),f("contact.phone"),f("cart.quantity"),f("microshop.totalCustomer")];i&&(b=b.slice(1)),r&&(b=["",...b],v.lg?b.unshift((0,m.jsx)(s.Sc,{checked:(null===o||void 0===o?void 0:o.length)===A.total,onChange:a})):b.unshift(" ")),i&&b.push(" ");const w=(0,u.useCallback)((function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];g((0,cp.PE)([e,t])),g((0,cp.dg)("OrderDetails"))}),[g]),x=(0,u.useCallback)((e=>{g((0,cp.aJ)(e))}),[g]),C=(null!==(t=null===p||void 0===p?void 0:p.length)&&void 0!==t?t:0)>0;return(0,m.jsx)(m.Fragment,{children:n&&!C?(0,m.jsx)(Y.A,{height:400}):n||C?(0,m.jsx)(s.XI,{className:"mb-4",compact:h,arrow:!0,tintOddRows:!0,cols:b.length,headers:b,rows:xC({orders:p,selectedOrders:null!==o&&void 0!==o?o:[],onOrderClick:w,renderMobile:h,t:f,onSelectOrder:l,onDelete:i?x:void 0,deleteable:i,vatIncluded:y})}):(0,m.jsx)(bC,{text:f("microshop.pendingOrders")})})},kC=e=>{var t,n,r,i,o,a,l,u,p,h,f;let{selectedMicroshopOrder:g,onSave:v}=e;const{t:y}=(0,d.B)(),A=(0,c.jL)(),{delivery:b}=g,w=(0,c.GV)((e=>{var t,n;let{user:r}=e;return null===(t=r.userIdentity)||void 0===t||null===(n=t.orderOptions)||void 0===n?void 0:n.deliveryCountries}));if(!g)return null;const x=null===w||void 0===w?void 0:w.map((e=>{var t,n;return{value:null!==(t=e.name)&&void 0!==t?t:"",label:null!==(n=e.name)&&void 0!==n?n:""}}));return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(EC,{children:(0,m.jsx)(s.EY,{extraBold:!0,children:`${y("action.edit")} ${y("shipment.address")}`})}),(0,m.jsx)(IC,{children:(0,m.jsxs)("form",{onSubmit:e=>(e=>{e.preventDefault();const t=e.currentTarget,n=new FormData(t),r={};n.forEach(((e,t)=>{r[t]=""===e?null:e})),A((0,cp.aC)(r)),v()})(e),children:[(0,m.jsx)(s.pd,{name:"name",label:y("contact.name","Name"),className:"mb-3",defaultValue:null!==(t=null===b||void 0===b?void 0:b.name)&&void 0!==t?t:""}),(0,m.jsxs)(s.so,{gap:"10px",children:[(0,m.jsx)(s.pd,{name:"adressLine1",label:`${y("contact.address","Address")}`,className:"mb-3 w-50",defaultValue:null!==(n=null===b||void 0===b?void 0:b.adressLine1)&&void 0!==n?n:""}),(0,m.jsx)(s.pd,{name:"adressLine2",label:`${y("contact.address","Address")} 2`,className:"mb-3 w-50",defaultValue:null!==(r=null===b||void 0===b?void 0:b.adressLine2)&&void 0!==r?r:""})]}),w&&(null===w||void 0===w?void 0:w.length)>0&&(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(s.EY,{fontSize:12,extraBold:!0,children:y("contact.country","Country")}),(0,m.jsx)(s.l6,{name:"country",className:"mb-3",options:x,defaultValue:null!==(i=null===x||void 0===x?void 0:x.find((e=>e.value===(null===b||void 0===b?void 0:b.country))))&&void 0!==i?i:""===(null===b||void 0===b?void 0:b.country)||null===(null===b||void 0===b?void 0:b.country)?null===x||void 0===x?void 0:x[0]:{label:null!==(o=null===b||void 0===b?void 0:b.country)&&void 0!==o?o:"",value:null!==(a=null===b||void 0===b?void 0:b.country)&&void 0!==a?a:""},isMulti:!1})]}),(0,m.jsxs)(s.so,{gap:"10px",children:[(0,m.jsx)(s.pd,{name:"postalCode",label:y("contact.postalCode","Postal code"),className:"mb-3 w-50",defaultValue:null!==(l=null===b||void 0===b?void 0:b.postalCode)&&void 0!==l?l:""}),(0,m.jsx)(s.pd,{name:"city",label:y("contact.city","City"),className:"mb-3 w-50",defaultValue:null!==(u=null===b||void 0===b?void 0:b.city)&&void 0!==u?u:""})]}),(0,m.jsxs)(s.so,{gap:"10px",children:[(0,m.jsx)(s.pd,{name:"phone",label:y("contact.phone","Phone"),className:"mb-3 w-50",defaultValue:null!==(p=null===b||void 0===b?void 0:b.phone)&&void 0!==p?p:""}),(0,m.jsx)(s.pd,{name:"email",label:y("contact.email","Email"),className:"mb-4 w-50",defaultValue:null!==(h=null!==(f=null===b||void 0===b?void 0:b.email)&&void 0!==f?f:null===g||void 0===g?void 0:g.customerEmail)&&void 0!==h?h:""})]}),(0,m.jsx)(s.so,{justify:"end",children:(0,m.jsx)(s.$n,{children:y("action.save")})})]})})]})},EC=p.Ay.div.withConfig({componentId:"sc-11m655f-0"})(["padding:20px;background:",";"],(e=>{let{theme:t}=e;return t.colors.fillMedium})),IC=p.Ay.div.withConfig({componentId:"sc-11m655f-1"})(["padding:20px;"]),_C=()=>{var e,t,n,r,a,l,p,h,f;const{t:g}=(0,d.B)(),v=(0,c.jL)(),y=(0,c.cb)(),A=(0,c.GV)(Gp.s3),[b,w]=(0,u.useState)(!1);return(0,m.jsxs)(OC,{column:y.lgBelow,children:[A&&(0,m.jsx)(Bp,{className:"mb-4",children:(0,m.jsxs)(PC,{header:g("order.order_one"),headerIcon:i.KTq,children:[A.orderCreated&&(0,m.jsxs)("div",{children:[(0,m.jsx)(Mp,{className:"f3-700",children:null!==A&&void 0!==A&&A.isMasterOrder?g("general.created"):g("microshop.ordered")}),(0,m.jsx)(Rp,{children:null!==(e=null===(t=A.orderCreated)||void 0===t?void 0:t.str)&&void 0!==e?e:""})]}),(0,m.jsxs)("div",{children:[(0,m.jsx)(Mp,{className:"f3-700",children:g("price.total_exVat")}),(0,m.jsx)(Rp,{children:null===A||void 0===A||null===(n=A.total)||void 0===n?void 0:n.totalExVat})]}),(0,m.jsxs)("div",{children:[(0,m.jsx)(Mp,{className:"f3-700",children:g("price.total_incVat")}),(0,m.jsx)(Rp,{children:null===A||void 0===A||null===(r=A.total)||void 0===r?void 0:r.totalIncVat})]}),(null===A||void 0===A||null===(a=A.total)||void 0===a||null===(l=a.fees)||void 0===l?void 0:l.freight)&&(0,m.jsxs)("div",{children:[(0,m.jsx)(Mp,{className:"f3-700",children:g("cartFee.freight")}),(0,m.jsx)(Rp,{children:null===(p=A.total.fees)||void 0===p?void 0:p.freight})]}),(null===A||void 0===A||null===(h=A.total)||void 0===h||null===(f=h.fees)||void 0===f?void 0:f.administration)&&(0,m.jsxs)("div",{children:[(0,m.jsx)(Mp,{className:"f3-700",children:g("cartFee.admin")}),(0,m.jsx)(Rp,{children:A.total.fees.administration})]}),(null===A||void 0===A?void 0:A.orderStatus)&&A.orderStatus>be.OrderStatus.Created&&(0,m.jsxs)("div",{className:"mt-3",children:[(0,m.jsxs)(s.gK,{fontSize:"14px",onClick:()=>{v((0,qs.On)("Orders")),A.orderNumber&&v((0,El.r$)(A.orderNumber))},children:[A.orderNumber,(0,m.jsx)(o.g,{icon:i.Ju_,size:"sm",className:"ml-1"})]}),(0,m.jsxs)(s.so,{align:"center",className:"mt-3",children:[(0,m.jsx)(o.g,{fontSize:20,color:Wt.A.colors.warning,icon:i.tUE}),(0,m.jsx)(Rp,{children:g("warning.changesPartlyDisabled")})]})]})]})}),(null===A||void 0===A?void 0:A.delivery)&&(0,m.jsx)(Bp,{className:"mb-4",children:(0,m.jsxs)(PC,{header:g("shipment.address","Delivery address"),headerIcon:i.WWd,children:[(0,m.jsx)(bt.vM,{delivery:(0,zc.M)(A.delivery),email:A.customerEmail,changeable:!(null!==A&&void 0!==A&&A.isMasterOrder),onChangeClick:()=>w(!0)}),b&&!A.isMasterOrder&&(0,m.jsx)(Ht.lG,{onClose:()=>{w(!1)},blur:!0,tint:!0,closeOutside:!0,maxHeight:"90%",maxWidth:"680px",width:"100%",children:(0,m.jsx)(kC,{selectedMicroshopOrder:A,onSave:()=>w(!1)})})]})}),(null===A||void 0===A?void 0:A.orderComment)&&(0,m.jsx)(Bp,{className:"mb-4",children:(0,m.jsx)(PC,{header:g("general.comment","Comment"),headerIcon:i.wXH,children:(0,m.jsx)(Rp,{children:null===A||void 0===A?void 0:A.orderComment})})})]})},PC=(0,p.Ay)(bt.iv).withConfig({componentId:"sc-1y0tgzi-0"})(["height:100%;position:relative;"]),OC=(0,p.Ay)(s.so).withConfig({componentId:"sc-1y0tgzi-1"})(["gap:4px;> div{flex-grow:1;}"]);function TC(e,t,n,r){var i,o,a,l,c,u,d,p,h,f,g,v;const y=null!==(i=null===(o=e.files)||void 0===o||null===(a=o.find((t=>{var n,r;return t.fileName===(null===(n=e.positions)||void 0===n||null===(r=n[0])||void 0===r?void 0:r.sample)})))||void 0===a?void 0:a.url)&&void 0!==i?i:"";return[{cells:[(0,m.jsx)(tp.Ay,{addonIndex:t,productNumber:"",info:(0,tp.d2)(e.inputs),colors:e.colors,name:`${t+1}. ${(0,tp.vV)(e)}`,files:null!==(l=(0,tp.J8)(e))&&void 0!==l?l:[],img:y,editingComment:!1}),(0,m.jsx)("div",{style:{justifyContent:"normal",width:"100%"},children:(0,m.jsx)("div",{children:e.quantity})}),(0,m.jsxs)(s.so,{justify:"between",style:{fontSize:"14px",width:"100%"},children:[(0,m.jsx)("div",{}),(0,m.jsx)("div",{}),(0,m.jsx)("div",{style:{marginLeft:"30px"},children:n?null===(c=e.customerPrices)||void 0===c?void 0:c.priceIncludedVat:null===(u=e.customerPrices)||void 0===u?void 0:u.priceExcludedVat}),(0,m.jsx)("div",{children:n?null===(d=e.customerPrices)||void 0===d?void 0:d.totalIncludedVat:null===(p=e.customerPrices)||void 0===p?void 0:p.totalExcludedVat}),(0,m.jsx)("div",{})]}),r?(0,m.jsxs)(s.so,{justify:"between",style:{fontSize:"14px",width:"100%"},children:[(0,m.jsx)("div",{}),(0,m.jsx)("div",{}),(0,m.jsx)("div",{style:{marginLeft:"30px"},children:n?null===(h=e.purchasePrices)||void 0===h?void 0:h.priceIncludedVat:null===(f=e.purchasePrices)||void 0===f?void 0:f.priceExcludedVat}),(0,m.jsx)("div",{children:n?null===(g=e.purchasePrices)||void 0===g?void 0:g.totalIncludedVat:null===(v=e.purchasePrices)||void 0===v?void 0:v.totalExcludedVat}),(0,m.jsx)("div",{})]}):null].filter((e=>!!e)).filter(Boolean).map((e=>({el:e,align:"right"})))}]}function DC(e,t,n,r,i,o){var a,l;return null!==(a=null===(l=e.variations)||void 0===l?void 0:l.flatMap((e=>{var a,l;return null!==(a=null===(l=e.skus)||void 0===l?void 0:l.flatMap((a=>{var l,c,u,d,p,h,f,g,v,y,A,b,w,x,C,S;const k=o&&e.addons&&e.variationNumber?(0,yt.$L)(o.map(((e,t)=>({...e,index:t}))),e.addons,e.variationNumber):void 0,E=null===k||void 0===k?void 0:k.cartRowRefinements;return[{cells:[(0,m.jsxs)(s.so,{style:{width:"100%"},children:[(0,m.jsx)(MC,{className:"mr-2",src:(0,X.Ay)(e.image,X.yj.ThumbNail,be.ImageExtension.Jpg)}),(0,m.jsxs)("div",{children:[(0,m.jsx)(LC,{className:"f3-500",children:`${null!==e&&void 0!==e&&e.split?`${e.split} / `:""}${a.size}`}),(0,m.jsx)(FC,{children:a.sku}),E&&(0,m.jsx)(Yd.A,{className:"p-2 s",variationNumber:null!==(l=e.variationNumber)&&void 0!==l?l:"",refinements:E||[],sku:null===a||void 0===a?void 0:a.sku,fontSize:12,editable:!1})]})]}),(0,m.jsx)("div",{style:{justifyContent:"normal",width:"100%"},children:(0,m.jsx)("div",{children:a.quantity})}),(0,m.jsxs)(s.so,{justify:"between",style:{fontSize:"14px",width:"100%"},children:[(0,m.jsx)("div",{}),(0,m.jsx)("div",{}),(0,m.jsx)("div",{style:{marginLeft:"30px"},children:r?null===(c=a.customerPrices)||void 0===c?void 0:c.priceIncludedVat:null===(u=a.customerPrices)||void 0===u?void 0:u.priceExcludedVat}),(0,m.jsx)("div",{children:r?null===(d=a.customerPrices)||void 0===d?void 0:d.totalIncludedVat:null===(p=a.customerPrices)||void 0===p?void 0:p.totalExcludedVat}),(0,m.jsx)("div",{})]}),i?(0,m.jsxs)(s.so,{justify:"between",style:{fontSize:"14px",width:"100%"},children:[(0,m.jsx)("div",{}),(0,m.jsx)("div",{}),(0,m.jsx)("div",{style:{marginLeft:"30px"},children:r?null===(h=a.purchasePrices)||void 0===h?void 0:h.priceIncludedVat:null===(f=a.purchasePrices)||void 0===f?void 0:f.priceExcludedVat}),(0,m.jsx)("div",{children:r?null===(g=a.purchasePrices)||void 0===g?void 0:g.totalIncludedVat:null===(v=a.purchasePrices)||void 0===v?void 0:v.totalExcludedVat}),(0,m.jsx)("div",{})]}):null,t&&(null!==(y=null===(A=a.addons)||void 0===A?void 0:A.length)&&void 0!==y?y:0)>0?(0,m.jsxs)(s.so,{align:"start",$wrap:!0,column:!0,children:[(0,m.jsx)("div",{className:"f3-500 pr-1",children:n("microshop.addons")}),null===(b=a.addons)||void 0===b?void 0:b.map((e=>(0,m.jsx)(jC,{addon:e,renderMobile:!0})))]}):null].filter((e=>e)).map((e=>({el:e,align:"right"})))},...null!==(w=null===(x=a.inputs)||void 0===x?void 0:x.map((e=>{var t;return{cells:[(0,m.jsx)(s.so,{column:!0,style:{width:"100%"},children:null===(t=e.values)||void 0===t?void 0:t.map((e=>(0,m.jsxs)(FC,{children:[e.label,": ",e.input]},e.key)))}),(0,m.jsx)(s.so,{style:{alignSelf:"flex-start"},children:e.quantity}),(0,m.jsx)(m.Fragment,{}),i?(0,m.jsx)(m.Fragment,{}):null].filter((e=>!!e)).map((e=>({el:e})))}})))&&void 0!==w?w:[],...t?[]:null!==(C=null===(S=a.addons)||void 0===S?void 0:S.map((e=>{var t;return{cells:[(0,m.jsx)(jC,{addon:e}),null!==(t=e.quantity)&&void 0!==t?t:"",(0,m.jsxs)(s.so,{justify:"between",style:{fontSize:"14px",width:"100%"},children:[(0,m.jsx)("div",{}),(0,m.jsx)("div",{}),(0,m.jsx)("div",{style:{marginLeft:"30px"},children:e.price}),(0,m.jsx)("div",{children:e.totalPrice}),(0,m.jsx)("div",{})]}),i?(0,m.jsxs)(s.so,{justify:"between",style:{fontSize:"14px",width:"100%"},children:[(0,m.jsx)("div",{}),(0,m.jsx)("div",{}),(0,m.jsx)("div",{style:{marginLeft:"30px"},children:e.price}),(0,m.jsx)("div",{children:e.totalPrice}),(0,m.jsx)("div",{})]}):null].filter((e=>!!e)).map((e=>({el:e})))}})))&&void 0!==C?C:[]]})))&&void 0!==a?a:[]})))&&void 0!==a?a:[]}const jC=e=>{var t,n;let{addon:r,renderMobile:i}=e;return(0,m.jsx)(zC,{background:i,column:!0,align:"start",className:i?void 0:"pl-5",children:(0,m.jsxs)(s.so,{$wrap:!0,align:"center",children:[(0,m.jsx)(QC,{children:r.productNumber}),(0,m.jsx)(UC,{className:"f3-500",children:r.productName}),(0,m.jsx)(s.so,{align:"center",$wrap:!0,children:null===(t=r.inputs)||void 0===t||null===(n=t.map(((e,t)=>{var n,i;return t===(null!==(n=null===(i=r.inputs)||void 0===i?void 0:i.length)&&void 0!==n?n:0)-1?e:`${e}, `})))||void 0===n?void 0:n.map(((e,t)=>(0,m.jsx)(VC,{className:"my-1",children:e},`${e}_${t}`)))})]})})},BC=(0,p.Ay)(s.so).withConfig({componentId:"sc-13464ao-0"})(["justify-content:end;"]),NC=p.Ay.div.withConfig({componentId:"sc-13464ao-1"})(["","{min-height:100%;}","{}"],(e=>{let{theme:t}=e;return t.media.lg}),(e=>{let{theme:t}=e;return t.media.xl})),MC=(0,p.Ay)(s._V).withConfig({componentId:"sc-13464ao-2"})(["height:",";height:'fit-content';"],(e=>{let{tall:t}=e;return t?"90px":"45px"})),RC=(0,p.Ay)(s.EY).withConfig({componentId:"sc-13464ao-3"})(["min-width:250px;"]),LC=p.Ay.div.withConfig({componentId:"sc-13464ao-4"})(["font-size:14px;"]),FC=p.Ay.div.withConfig({componentId:"sc-13464ao-5"})(["font-size:14px;"]),zC=(0,p.Ay)(s.so).withConfig({componentId:"sc-13464ao-6"})(["max-width:350px;"," border-radius:2px;padding:4px;"],(e=>{let{theme:t,background:n}=e;return n&&`\n    background-color: ${t.colors.borderGray};\n    margin: 1px 0px;\n  `})),QC=p.Ay.span.withConfig({componentId:"sc-13464ao-7"})(["opacity:0.5;padding-right:4px;"]),UC=p.Ay.span.withConfig({componentId:"sc-13464ao-8"})(["padding-right:4px;"]),VC=p.Ay.span.withConfig({componentId:"sc-13464ao-9"})(["padding-right:4px;"]),GC=t=>{var n;let{renderMobile:r,onBack:o,containerRef:a,handleError:l}=t;const p=(0,c.GV)(Gp.Kq),h=(0,c.GV)(Gp.zR),f=(0,c.GV)(Gp.s3),g=(0,c.GV)(Gp.Hc),v=(0,c.GV)(Gp.G6),y=(0,c.GV)(Gp.bf),{cartType:A}=(0,u.useContext)(vt.A),[b,w]=(0,u.useState)(!1),x=(0,c.jL)(),{t:C}=(0,d.B)();(0,u.useEffect)((()=>{x((0,cp.zI)(null!==h&&void 0!==h?h:-1))}),[x,h]);const S=[{label:C("pdf.download","Download pdf"),disabled:b,onClick:async()=>{var t,n,r,i,o,a,s,l,c;w(!0);const u=(await e.Ay.microshopGetMasterOrderPdf(null===p||void 0===p?void 0:p.id,null===f||void 0===f?void 0:f.id,null===f||void 0===f?void 0:f.isMasterOrder)).data;var d=null!==(t=null!==f&&void 0!==f&&f.isMasterOrder?u.masterOrders:u.subOrders)&&void 0!==t?t:[],h=null!==(n=u.pendingOrders)&&void 0!==n?n:[],m=null!==(r=null===d||void 0===d?void 0:d.flatMap((e=>{var t;return null!==(t=null===e||void 0===e?void 0:e.orders)&&void 0!==t?t:[]})).filter((e=>null!==e&&void 0!==e)))&&void 0!==r?r:[];const g=[...d.map((e=>({...e,refinements:e.refinements?ec(e.refinements):[]}))),...h.map((e=>({...e,refinements:[]}))),...m.map((e=>({...e,refinements:[]})))],v=null!==(i=null===g||void 0===g?void 0:g.flatMap((e=>{var t;return null!==(t=e.products)&&void 0!==t?t:[]})))&&void 0!==i?i:[],y=v.map((e=>e.productNumber)).filter((e=>!!e)),A=v.flatMap((e=>{var t,n;return null!==(t=null===(n=e.variations)||void 0===n?void 0:n.map((e=>e.variationNumber)).filter((e=>!!e)))&&void 0!==t?t:[]})),b=`order-${(null!==(o=g.length)&&void 0!==o?o:0)>1?null===p||void 0===p?void 0:p.name:null===g||void 0===g||null===(a=g.at(0))||void 0===a?void 0:a.orderNumber}_${(0,au.t7)(new Date)}.pdf`;x(Yt.w9.exportToolOpened({origin:"microshop",parameters:{productNumbers:y},data:{variationNumbers:A,pdfOrders:g,refinements:null===(s=g[0])||void 0===s?void 0:s.refinements,pdfCartVariations:null===(l=g[0])||void 0===l||null===(c=l.products)||void 0===c?void 0:c.flatMap((e=>e.variations)),pdfOrderType:null!==f&&void 0!==f&&f.isMasterOrder?"master-order":"order"},options:{tabs:["pdf"],render:"autoDownload",fileName:b}})),w(!1)},icon:i.O_q},{label:C("order.downloadExcel","Download Excel"),disabled:b,onClick:()=>{var t;w(!0),e.Ay.microshopGetOrdersXlsx(null===p||void 0===p?void 0:p.id,null!==(t=null===f||void 0===f?void 0:f.isMasterOrder)&&void 0!==t&&t,h?[h]:[]).then((e=>{if(200===e.status){var t;const n=`${null!==(t=null===p||void 0===p?void 0:p.name)&&void 0!==t?t:C("order.order_other")}_${(new Date).toISOString().substring(0,10)}.xlsx`;(0,ja.PE)(new Blob([e.data]),n)}else l()})).catch((()=>{l()})).finally((()=>{w(!1)}))},icon:i.fny}],k=[{id:"summary",header:C("general.summary"),content:(0,m.jsx)(_C,{}),actions:[{label:C("cart.add_one"),onClick:()=>{x((0,yt.ZC)("shoppingCart")(null!==h&&void 0!==h?h:0))},icon:i.WfV,disabled:!f,hide:(null===f||void 0===f?void 0:f.orderStatus)!==be.OrderStatus.Created},{label:C("microshop.confirmMasterOrder"),onClick:async()=>{x((0,yt.iR)(A)()),x((0,cp.XS)({id:null===f||void 0===f?void 0:f.id,orderNr:null===f||void 0===f?void 0:f.orderNumber})),x((0,yt.Bb)(A)()),x((0,cp.dg)("Checkout"))},icon:J.dmS,disabled:!f,hide:(null===f||void 0===f?void 0:f.orderStatus)!==be.OrderStatus.Created},...S]},{id:"products",header:C("product.product_other"),content:f?(0,m.jsxs)(m.Fragment,{children:[v!==be.ShopVatMode.None&&(0,m.jsx)(BC,{children:(0,m.jsx)(s.VO,{valueLabelLeft:C("microshop.vatExcluded","VAT Excluded"),valueLabelRight:C("microshop.vatIncluded","VAT Included"),small:!1,checked:g,onClick:()=>x((0,cp.Km)())})}),null===f||void 0===f||null===(n=f.products)||void 0===n?void 0:n.map((e=>{var t,n,i,o,a,l;const c=[(0,m.jsx)(RC,{fontSize:16,children:null!==(t=e.productName)&&void 0!==t?t:""}),(0,m.jsx)("div",{children:C("cart.quantity")}),(0,m.jsxs)(s.so,{column:!0,children:[(0,m.jsxs)(s.so,{align:"center",justify:"between",children:[(0,m.jsx)("div",{}),(0,m.jsx)("div",{}),(0,m.jsx)("div",{style:{fontSize:"15px",marginTop:"-10px"},children:C("price.customerPrice","Customerprice")}),(0,m.jsx)("div",{})]}),(0,m.jsxs)(s.so,{justify:"between",style:{fontSize:"14px"},children:[(0,m.jsx)("div",{}),(0,m.jsx)("div",{}),(0,m.jsx)("div",{children:C("price.priceSt")}),(0,m.jsx)("div",{children:C("general.total")}),(0,m.jsx)("div",{})]})]}),null!==f&&void 0!==f&&f.isMasterOrder?(0,m.jsxs)(s.so,{column:!0,children:[(0,m.jsxs)(s.so,{align:"center",justify:"between",children:[(0,m.jsx)("div",{}),(0,m.jsx)("div",{}),(0,m.jsx)("div",{style:{fontSize:"15px",marginTop:"-10px"},children:C("price.purchasePrice")}),(0,m.jsx)("div",{})]}),(0,m.jsxs)(s.so,{justify:"between",style:{fontSize:"14px"},children:[(0,m.jsx)("div",{}),(0,m.jsx)("div",{}),(0,m.jsx)("div",{children:C("price.priceSt")}),(0,m.jsx)("div",{children:C("general.total")}),(0,m.jsx)("div",{})]})]}):null].filter((e=>!!e));return(0,m.jsx)(Bp,{className:"mt-1 p-2 mb-2",children:(0,m.jsx)(s.XI,{compact:r,headers:c,cols:c.length,rows:[...DC(e,null!==r&&void 0!==r&&r,C,g,!(null===f||void 0===f||!f.isMasterOrder),null!==(n=null===f||void 0===f?void 0:f.refinements)&&void 0!==n?n:[]),r?null:{thin:!0,cells:[{el:C("general.total")},{el:e.quantity},{el:(0,m.jsxs)(s.so,{justify:"between",style:{fontSize:"14px",width:"100%"},children:[(0,m.jsx)("div",{}),(0,m.jsx)("div",{}),(0,m.jsx)("div",{}),(0,m.jsx)("div",{style:{marginLeft:"85px"},children:g?null===(i=e.customerPrice)||void 0===i?void 0:i.totalIncludedVat:null===(o=e.customerPrice)||void 0===o?void 0:o.totalExcludedVat}),(0,m.jsx)("div",{})]}),align:"right"},null!==f&&void 0!==f&&f.isMasterOrder?{el:(0,m.jsxs)(s.so,{justify:"between",style:{fontSize:"14px",width:"100%"},children:[(0,m.jsx)("div",{}),(0,m.jsx)("div",{}),(0,m.jsx)("div",{}),(0,m.jsx)("div",{style:{marginLeft:"85px"},children:g?null===(a=e.purchasePrice)||void 0===a?void 0:a.totalIncludedVat:null===(l=e.purchasePrice)||void 0===l?void 0:l.totalExcludedVat}),(0,m.jsx)("div",{})]})}:null].filter((e=>!!e))}].filter((e=>null!=e))})},e.productNumber)}))]}):(0,m.jsx)(NC,{children:(0,m.jsx)(Y.A,{height:75,count:2})})}];var E,I;f&&null!==f&&void 0!==f&&f.refinements&&k.push({id:"refinements",header:C("refinement.refinement_other"),content:f?(0,m.jsx)(m.Fragment,{children:null===f||void 0===f||null===(E=f.refinements)||void 0===E?void 0:E.map(((e,t)=>{var n;const i=[(0,m.jsx)(RC,{fontSize:16,children:`${t+1}. ${(0,tp.vV)(e)}`}),(0,m.jsx)("div",{children:C("cart.quantity")}),(0,m.jsxs)(s.so,{column:!0,children:[(0,m.jsxs)(s.so,{align:"center",justify:"between",children:[(0,m.jsx)("div",{}),(0,m.jsx)("div",{}),(0,m.jsx)("div",{style:{fontSize:"15px",marginTop:"-10px"},children:C("price.customerPrice","Customerprice")}),(0,m.jsx)("div",{})]}),(0,m.jsxs)(s.so,{justify:"between",style:{fontSize:"14px"},children:[(0,m.jsx)("div",{}),(0,m.jsx)("div",{}),(0,m.jsx)("div",{children:C("price.priceSt")}),(0,m.jsx)("div",{children:C("general.total")}),(0,m.jsx)("div",{})]})]}),null!==f&&void 0!==f&&f.isMasterOrder?(0,m.jsxs)(s.so,{column:!0,children:[(0,m.jsxs)(s.so,{align:"center",justify:"between",children:[(0,m.jsx)("div",{}),(0,m.jsx)("div",{}),(0,m.jsx)("div",{style:{fontSize:"15px",marginTop:"-10px"},children:C("price.purchasePrice")}),(0,m.jsx)("div",{})]}),(0,m.jsxs)(s.so,{justify:"between",style:{fontSize:"14px"},children:[(0,m.jsx)("div",{}),(0,m.jsx)("div",{}),(0,m.jsx)("div",{children:C("price.priceSt")}),(0,m.jsx)("div",{children:C("general.total")}),(0,m.jsx)("div",{})]})]}):null].filter((e=>!!e));return(0,m.jsx)(Bp,{className:"mt-1 p-2 mb-2",children:(0,m.jsx)(s.XI,{compact:r,headers:i,cols:i.length,rows:[...TC(e,t,g,null!==(n=null===f||void 0===f?void 0:f.isMasterOrder)&&void 0!==n&&n)]})},`refinement_${t}`)}))}):(0,m.jsx)(NC,{children:(0,m.jsx)(Y.A,{height:75,count:2})})});null!==f&&void 0!==f&&f.isMasterOrder&&y&&k.push({id:"orders",header:C("order.order_other"),content:(0,m.jsx)(SC,{orders:null!==(I=f.orders)&&void 0!==I?I:[],renderMobile:r})});return(0,m.jsx)(Oc,{id:"microshop_order_details",className:"pt-5",containerRef:a,onBack:o,sections:k})},qC=e=>{var t,n,r,o,a,s;let{showOrderInfo:l}=e;const u=(0,c.GV)(Gp.s3),p=(0,c.GV)(Gp.rs),h=(0,c.GV)(Gp.D3),f=(0,c.GV)(Gp.p5),g=(0,c.jL)(),{t:v}=(0,d.B)(),y=(0,c.cb)();return(0,m.jsxs)(WC,{column:y.lgBelow,children:[!l&&(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(Bp,{className:"mb-4",children:(0,m.jsxs)(HC,{align:"center",header:v("order.order_other"),headerIcon:i.WfV,headerLink:"OrderList"===f?null:(0,m.jsx)(YC,{bgColor:"fillWhite",icon:i.dmS,onClick:()=>g((0,cp.dg)("OrderList"))}),children:[(0,m.jsxs)("div",{children:[(0,m.jsx)(Mp,{className:"f3-700",children:v("order.masterOrder_other")}),(0,m.jsx)(Rp,{children:h.master})]}),(0,m.jsxs)("div",{children:[(0,m.jsx)(Mp,{className:"f3-700",children:v("microshop.pendingOrders","Pending")}),(0,m.jsx)(Rp,{children:h.pending})]})]})}),(0,m.jsx)(Bp,{className:"mb-4",children:(0,m.jsxs)(HC,{header:v("user.user_other"),headerIcon:i.gdJ,headerLink:"UserList"===f?null:(0,m.jsx)(YC,{bgColor:"fillWhite",icon:i.dmS,onClick:()=>g((0,cp.dg)("UserList"))}),children:[(0,m.jsxs)("div",{children:[(0,m.jsx)(Mp,{className:"f3-700",children:v("user.anonymousUsers")}),(0,m.jsx)(Rp,{children:null===p||void 0===p?void 0:p.filter((e=>e.anonymous)).length})]}),(0,m.jsxs)("div",{children:[(0,m.jsx)(Mp,{className:"f3-700",children:v("user.registeredUsers")}),(0,m.jsx)(Rp,{children:null===p||void 0===p?void 0:p.filter((e=>!e.anonymous)).length})]})]})})]}),l&&u&&(0,m.jsx)(Bp,{className:"mb-4",children:(0,m.jsxs)(HC,{header:v("order.order_one"),headerIcon:i.KTq,children:[(0,m.jsxs)("div",{children:[(0,m.jsx)(Mp,{className:"f3-700",children:v("general.total")}),(0,m.jsx)(Rp,{children:null===u||void 0===u||null===(t=u.total)||void 0===t?void 0:t.orderTotal})]}),(null===u||void 0===u||null===(n=u.total)||void 0===n||null===(r=n.fees)||void 0===r?void 0:r.freight)&&(0,m.jsxs)("div",{children:[(0,m.jsx)(Mp,{className:"f3-700",children:v("cartFee.freight")}),(0,m.jsx)(Rp,{children:null===(o=u.total.fees)||void 0===o?void 0:o.freight})]}),(null===u||void 0===u||null===(a=u.total)||void 0===a||null===(s=a.fees)||void 0===s?void 0:s.administration)&&(0,m.jsxs)("div",{children:[(0,m.jsx)(Mp,{className:"f3-700",children:v("cartFee.admin")}),(0,m.jsx)(Rp,{children:u.total.fees.administration})]})]})}),l&&(null===u||void 0===u?void 0:u.delivery)&&(0,m.jsx)(Bp,{className:"mb-4",children:(0,m.jsx)(HC,{header:v("shipment.address","Delivery address"),headerIcon:i.WWd,children:(0,m.jsx)(bt.vM,{delivery:(0,zc.M)(u.delivery)})})}),l&&(null===u||void 0===u?void 0:u.orderComment)&&(0,m.jsx)(Bp,{className:"mb-4",children:(0,m.jsx)(HC,{header:v("general.comment","Comment"),headerIcon:i.wXH,children:(0,m.jsx)(Rp,{children:null===u||void 0===u?void 0:u.orderComment})})})]})},HC=(0,p.Ay)(bt.iv).withConfig({componentId:"sc-11uxfge-0"})(["height:100%;"]),WC=(0,p.Ay)(s.so).withConfig({componentId:"sc-11uxfge-1"})(["gap:4px;> div{flex-grow:1;}"]),YC=(0,p.Ay)(s.K0).withConfig({componentId:"sc-11uxfge-2"})([""]),KC=e=>{let{masterOrders:t,onOrderClick:n,onCancelOrder:r,onCheckOutOrder:o,t:a,renderMobile:l,vatIncluded:c,dispatch:u,cartType:d}=e;const p={[be.OrderStatus.Failed]:{color:"#DF5252",icon:J.Jyw,label:a("order.statusFailed")},[be.OrderStatus.Created]:{color:"#EABD49",icon:J.QLR,label:a("order.statusCreated")},[be.OrderStatus.Placed]:{color:"#3BBD2F",icon:J.e68,label:a("order.statusPlaced")},[be.OrderStatus.Confirmed]:{color:"#3BBD2F",icon:J.e68,label:a("status.confirmed")}};return t.map(((e,t)=>{var h,f,g,v,y;const A=p[null!==(h=e.orderStatus)&&void 0!==h?h:0].icon,b=p[null!==(f=e.orderStatus)&&void 0!==f?f:0].color,w=p[null!==(g=e.orderStatus)&&void 0!==g?g:0].label;return{onClick:()=>{var t;return n(null!==(t=e.id)&&void 0!==t?t:-1,!0)},thin:!0,cells:[{el:(0,m.jsx)(s.EY,{fontSize:14,className:"f3-700",children:e.orderNr})},{el:(0,m.jsxs)(s.so,{align:"center",children:[(0,m.jsxs)(JC,{col:t+1,children:[(0,m.jsx)(s.tk,{size:20,border:!0,color:b}),A&&(0,m.jsx)(XC,{align:"center",justify:"center",children:(0,m.jsx)(ZC,{icon:A})})]},t),(0,m.jsx)($C,{className:"ml-1",children:w})]})},{el:null===(v=e.created)||void 0===v?void 0:v.str},{el:e.orders},{el:null!==(y=e.quantity)&&void 0!==y?y:0},{el:e.hasSalesPrice?c?e.customerTotalIncVat:e.customerPrice:""},{el:e.hasSalesPrice&&e.margin?`${(100*e.margin).toFixed(0)}%`:""},{el:c?e.purchaseTotalIncVat:e.purchasePrice},{el:null!==e&&void 0!==e&&e.orderStatus&&e.orderStatus<be.OrderStatus.Placed?(0,m.jsx)(s.K0,{onClick:async t=>{var n,r;t.preventDefault(),t.stopPropagation(),e.delivery&&u((0,yt.o$)(d)(e.delivery)),await u((0,yt.zm)(d)()),u((0,yt.iR)(d)()),o(null!==(n=e.id)&&void 0!==n?n:-1,null!==(r=e.orderNr)&&void 0!==r?r:"")},icon:i.Tu5,bgColor:"white",square:l,children:l&&a("microshop.confirmMasterOrder")}):""},{el:null!==e&&void 0!==e&&e.orderStatus&&e.orderStatus<be.OrderStatus.Placed?(0,m.jsx)(s.K0,{onClick:t=>{var n,i;t.preventDefault(),t.stopPropagation(),r(null!==(n=e.id)&&void 0!==n?n:-1,null!==(i=e.orderNr)&&void 0!==i?i:"")},icon:i.yLS,bgColor:"white",square:l,children:l&&a("action.remove")}):"",align:"right"}]}}))},JC=p.Ay.div.withConfig({componentId:"sc-ae3liy-0"})(["margin-top:5px;grid-row:1;grid-column:",";z-index:2;position:relative;"],(e=>{let{col:t}=e;return t})),XC=(0,p.Ay)(s.so).withConfig({componentId:"sc-ae3liy-1"})(["position:absolute;left:0;top:0;width:20px;height:20px;font-size:12px;"]),ZC=(0,p.Ay)(o.g).withConfig({componentId:"sc-ae3liy-2"})(["color:white;"]),$C=p.Ay.span.withConfig({componentId:"sc-ae3liy-3"})([""]),eS=e=>{let{renderMobile:t}=e;const n=(0,c.GV)(Gp.bu),r=(0,c.GV)(Gp.jy),i=(0,c.GV)(Gp.Hv),o=(0,c.GV)(Gp.Hc),{t:a}=(0,d.B)(),l=(0,c.jL)(),{cartType:p}=(0,u.useContext)(vt.A),h=[a("order.order_one"),a("general.status"),a("general.created"),a("order.order_other"),(0,m.jsx)(s.EY,{className:"text-break",children:a("microshop.productQuantity","Product quantity")}),a("microshop.totalCustomer"),a("offer.margin"),a("price.purchasePrice"),a("status.confirmedAction")," "],f=(0,u.useCallback)((function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];l((0,cp.PE)([e,t])),l((0,cp.dg)("OrderDetails"))}),[l]),g=(0,u.useCallback)(((e,t)=>{l((0,cp.XS)({id:e,orderNr:t})),l((0,yt.Bb)("microshopCart")()),l((0,cp.dg)("Checkout"))}),[l]),v=(0,u.useCallback)(((e,t)=>{l((0,cp.Vm)({masterOrderId:e,orderNumber:t}))}),[l]);return(0,m.jsx)(m.Fragment,{children:r||i?i&&!r?(0,m.jsx)(Y.A,{height:400}):(0,m.jsx)(s.XI,{className:"mb-4",compact:t,arrow:!0,tintOddRows:!0,cols:h.length,headers:h,rows:KC({masterOrders:null!==n&&void 0!==n?n:[],onOrderClick:f,onCancelOrder:v,onCheckOutOrder:g,t:a,renderMobile:null!==t&&void 0!==t&&t,vatIncluded:o,dispatch:l,cartType:p})}):(0,m.jsx)(bC,{text:a("order.masterOrder_other")})})},tS=e=>{let{renderMobile:t,containerRef:n,onBack:r,orderActions:o}=e;const{t:a}=(0,d.B)(),l=(0,c.jL)(),p=(0,c.GV)(Gp.Kq),h=(0,c.GV)(Gp.Hv),g=(0,c.GV)(Gp.bf),v=(0,c.GV)(Gp.Hc),y=(0,c.GV)(Gp.G6),A=(0,c.GV)(Gp.Vf),b=(0,c.GV)(Gp.Nr),w=(0,c.GV)(Gp.bu),x=(0,c.GV)(Gp.q_),C=(0,c.GV)(Gp.wo);(0,u.useEffect)((()=>{l((0,cp.D9)()),l((0,cp.AG)())}),[l]);const S=(0,u.useCallback)((e=>{A.includes(e)?l((0,cp.LF)(A.filter((t=>t!==e)))):l((0,cp.LF)([...A,e]))}),[l,A]),k=(0,u.useCallback)((()=>{A.length===x.total?l((0,cp.LF)([])):l((0,cp.ej)())}),[A.length,x.total,l]),E=(0,u.useCallback)((()=>{const e={stretchButtons:!0,okLabel:a("general.yes","Yes"),cancelLabel:a("general.no","No"),icon:i.QJT,color:"warning",title:a("microshop.addMasterDeliveryAddress","Do you want to have a set delivery address to this masterorder?"),onOk:async()=>{await l((0,cp.Vz)({orderIds:A,hasAddress:!0})),l((0,cp.AG)()),l((0,cp.D9)())},onCancel:async()=>{await l((0,cp.Vz)({orderIds:A,hasAddress:!1})),l((0,cp.AG)()),l((0,cp.D9)())}};l((0,f.wp)(e))}),[l,A,a]),I=(0,u.useCallback)((()=>{l((0,cp.q9)(A))}),[l,A]);return(0,m.jsx)(m.Fragment,{children:(0,m.jsx)(Oc,{id:"microshop_order_lists",className:"pt-5",containerRef:n,onBack:r,sections:[{id:"summary",header:a("general.summary","Summary"),content:(0,m.jsx)(qC,{})},{id:"master-orders",header:a("order.masterOrder_other"),content:p?(0,m.jsxs)(m.Fragment,{children:[y!==be.ShopVatMode.None&&(0,m.jsx)(nS,{children:(0,m.jsx)(s.VO,{valueLabelLeft:a("microshop.vatExcluded","VAT Excluded"),valueLabelRight:a("microshop.vatIncluded","VAT Included"),small:!1,checked:v,onClick:()=>l((0,cp.Km)())})}),(0,m.jsx)(eS,{renderMobile:t}),(0,m.jsx)(Gr.A,{page:b.page,pages:b.pages,pageSize:b.pageSize,itemCount:w.length,itemsTotal:b.total,label:a("order.order_other","Orders"),setPage:e=>l((0,cp.AG)(e))})]}):(0,m.jsx)(Y.A,{height:100})},{id:"content",header:a("microshop.pendingOrders","Pending orders"),actions:[{label:a("microshop.createMasterOrder","Create master order from selected orders"),disabled:A.length<=0,onClick:E,icon:J.QLR},{label:a("microshop.deleteSelectedOrder","Remove selected orders"),disabled:A.length<=0,onClick:I,icon:i.yLS},...o],content:p?(0,m.jsxs)(m.Fragment,{children:[y!==be.ShopVatMode.None&&(0,m.jsx)(nS,{children:(0,m.jsx)(s.VO,{valueLabelLeft:a("microshop.vatExcluded","VAT Excluded"),valueLabelRight:a("microshop.vatIncluded","VAT Included"),small:!1,checked:v,onClick:()=>l((0,cp.Km)())})}),(0,m.jsx)(SC,{selectable:!0,deleteable:!0,orders:g,onSelectAll:k,onSelectOrder:S,selectedOrders:A,renderMobile:t,loading:h}),(0,m.jsx)(Gr.A,{page:x.page,pages:x.pages,pageSize:x.pageSize,itemCount:C.length,itemsTotal:x.total,label:a("order.order_other","Orders"),setPage:e=>l((0,cp.D9)(e))})]}):(0,m.jsx)(Y.A,{height:100,count:2})}]})})},nS=(0,p.Ay)(s.so).withConfig({componentId:"sc-oij7uh-0"})(["justify-content:end;padding-bottom:1rem;"]),rS=e=>{let{showAll:t,compact:n,disableDelete:r}=e;const{t:o}=(0,d.B)(),a=(0,c.jL)(),l=(0,c.GV)(Gp.rZ),p=(0,c.GV)(Gp.ig),h=(0,c.GV)(Gp.O_),f=(0,c.GV)(Gp.uc),g=(0,c.GV)(Kt.Np),[v,y]=(0,u.useState)("");(0,u.useEffect)((()=>{a(t?(0,cp.bZ)(v):(0,cp.kb)(v))}),[a,v,t,g]);const A=[o("product.name"),t?o("seller.customer"):null,t?o("general.email"):null,o("offer.expires"),o("user.user_other","Users"),o("order.masterOrder_other"),o("microshop.pendingOrders","Pending")," "].filter((e=>e));return(0,m.jsxs)(oS,{children:[(0,m.jsx)(sS,{className:"mb-2","data-testid":"order-list-search-input",children:(0,m.jsxs)(lS,{children:[(0,m.jsx)("label",{children:o("search.search","Search")}),(0,m.jsx)(s.pd,{name:"Search",icon:i.MjD,rightSidedIcon:!0,loading:f,defaultValue:v,onChange:Mn()((e=>y(e.target.value)),500)})]})}),f&&!h&&(0,m.jsx)(Y.A,{height:400}),h&&(0,m.jsx)(s.XI,{tintOddRows:!0,arrow:!0,compact:n,rows:p.map((e=>{const c=function(e,t,n,r,o,a){var l,c,u;return t?[{el:null!==(l=e.name)&&void 0!==l?l:"Name missing",header:!0},{el:null===(c=e.created)||void 0===c?void 0:c.str,small:!0},{el:o?(0,m.jsx)(s.EY,{fontSize:12,children:e.email}):"",small:!0},{el:(0,m.jsxs)(s.so,{align:"center",children:[(0,m.jsx)(cS,{className:"pr-1",icon:i.X46}),(0,m.jsx)(uS,{children:e.userCount})]}),align:"right"}]:[{el:e.name},{el:o?`${e.customerName} (${e.customerCode})`:"remove"},{el:o?e.email:"remove"},{el:null===(u=e.expires)||void 0===u?void 0:u.str},{el:e.userCount},{el:e.masterOrderCount},{el:e.pendingOrderCount},{align:"right",el:(0,m.jsxs)(s.so,{align:"center",children:[!a&&(0,m.jsx)(m.Fragment,{children:(0,m.jsx)(s.m_,{tooltip:r("microshop.cantDeleteWarning"),placement:"bottom",disabled:!e.canDelete,children:(0,m.jsx)("span",{id:`delete-button-${e.id}`,children:(0,m.jsx)(dS,{disabled:!e.canDelete,icon:i.yLS,onClick:t=>{var i;t.preventDefault(),t.stopPropagation(),e.id&&n((0,cp.EC)({id:e.id,name:null!==(i=e.name)&&void 0!==i?i:"",t:r}))}})})})}),(0,m.jsx)(s.N_,{to:e.uri?`//${e.uri}`:void 0,target:"_blank",children:(0,m.jsx)(dS,{icon:i.pS3,onClick:e=>{e.stopPropagation()}})})]})}].filter((e=>"remove"!==e.el))}(e,n,a,o,t,r);return{arrow:!0,onClick:async()=>{e.id&&await a((0,cp.lp)(e))},selected:null!=l&&l===e.id,cells:c}})),cols:A.length,headers:A}),!f&&!h&&(0,m.jsx)(iS,{})]})},iS=()=>{const{t:e}=(0,d.B)();return(0,m.jsxs)(aS,{className:"m-auto pt-4",column:!0,align:"center",children:[(0,m.jsx)(mp.A,{iconColor:"textDisabled",icon:i.x4K}),(0,m.jsx)("h3",{className:"f3-400",children:e("order.noHitsHeader","No hits")}),(0,m.jsx)(s.EY,{className:"f3-300",center:!0,children:e("microshop.noHitsContent","No microshops could be found with current search critera")})]})},oS=p.Ay.div.withConfig({componentId:"sc-1ngjmi-0"})(["","{min-height:100%;}"],(e=>{let{theme:t}=e;return t.media.lg})),aS=(0,p.Ay)(s.so).withConfig({componentId:"sc-1ngjmi-1"})([""]),sS=(0,p.Ay)(s.so).withConfig({componentId:"sc-1ngjmi-2"})(["font-size:14px;flex-wrap:wrap;flex:0 1 auto;margin:0 -4px;","{}"],(e=>{let{theme:t}=e;return t.media.lg})),lS=p.Ay.div.withConfig({componentId:"sc-1ngjmi-3"})(["font-size:14px;flex-grow:1;margin:4px;","{flex-grow:0.25;width:auto;}"],(e=>{let{theme:t}=e;return t.media.lg})),cS=(0,p.Ay)(o.g).withConfig({componentId:"sc-1ngjmi-4"})(["height:12px;width:10px;"]),uS=p.Ay.div.withConfig({componentId:"sc-1ngjmi-5"})(["margin-top:1px;"]),dS=(0,p.Ay)(s.K0).withConfig({componentId:"sc-1ngjmi-6"})(["background-color:transparent;"]);const pS=e=>{var t,n,r,i,o,a,l,c,u,d;let{editUser:p,selectedUnitIds:h,units:f,onChangeHandler:g,form:v,t:y,handleOnUnitSelect:A}=e;const b=f.map((e=>{var t,n;return{value:null!==(t=e.id)&&void 0!==t?t:"",label:null!==(n=e.name)&&void 0!==n?n:""}})),w=Object.entries(be.ShopUserType).filter((e=>{let[t]=e;return isNaN(Number(t))})).map((e=>{let[t,n]=e;return{value:n,label:t}}));return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsxs)(s.xA,{style:{maxWidth:"1000px"},columns:{lg:"1fr 1fr",xl:"1fr 1fr",sm:"1fr"},gap:"48px",children:[(0,m.jsxs)("div",{children:[(0,m.jsx)(s.EY,{bold:!0,fontSize:16,className:"mb-2",children:y("microshop.userInformation","Information")}),(0,m.jsx)(s.pd,{className:"mb-2",type:"text",name:"employmentNumber",label:"Anst\xe4llningsnr",onChange:g}),(0,m.jsxs)(hS,{className:"mb-2",children:[(0,m.jsx)(s.pd,{defaultValue:null!==(t=null===p||void 0===p?void 0:p.firstName)&&void 0!==t?t:"",type:"text",name:"firstName",label:y("contact.name","Name"),onChange:g}),(0,m.jsx)(s.pd,{defaultValue:null!==(n=null===p||void 0===p?void 0:p.lastName)&&void 0!==n?n:"",type:"text",name:"lastName",label:y("contact.lastName","Surname"),onChange:g})]}),(0,m.jsxs)(hS,{className:"mb-2",children:[(0,m.jsx)(s.pd,{defaultValue:null!==(r=null===p||void 0===p?void 0:p.phoneNumber)&&void 0!==r?r:"",type:"text",name:"phoneNumber",label:y("contact.phone","Phonenumber"),onChange:g}),(0,m.jsx)(s.pd,{defaultValue:null!==(i=null===p||void 0===p?void 0:p.email)&&void 0!==i?i:"",type:"email",name:"email",label:y("contact.email","Email"),onChange:g})]}),(0,m.jsx)(hS,{className:"mb-2",children:(0,m.jsx)(s.pd,{type:"text",name:"company",label:"F\xf6retag"})}),(0,m.jsx)(hS,{className:"mb-2",children:(0,m.jsx)(s.pd,{type:"text",name:"budget",label:y("salesBoard.section_budget","Budget")})})]}),(0,m.jsxs)("div",{children:[(0,m.jsxs)(s.EY,{bold:!0,fontSize:16,className:"mb-2",children:[y("product.replacement")," ",y("shipment.address").toLocaleLowerCase()]}),(0,m.jsx)(s.pd,{type:"text",defaultValue:null!==(o=null===p||void 0===p?void 0:p.addressLine1)&&void 0!==o?o:"",name:"addressLine1",label:y("contact.address","Address"),className:"mb-2",onChange:g}),(0,m.jsx)(s.pd,{type:"text",name:"addressLine2",label:`${y("contact.address","Address")} 2`,className:"mb-2",onChange:g}),(0,m.jsxs)(hS,{className:"mb-2",children:[(0,m.jsx)(s.pd,{type:"text",defaultValue:null!==(a=null===p||void 0===p?void 0:p.postalCode)&&void 0!==a?a:"",name:"postalCode",label:y("contact.postalCode","Postalcode"),onChange:g}),(0,m.jsx)(s.pd,{type:"text",name:"city",label:y("contact.city","City"),onChange:g,defaultValue:null!==(l=null===p||void 0===p?void 0:p.city)&&void 0!==l?l:""})]}),(0,m.jsx)(s.pd,{type:"text",name:"country",label:y("contact.country","Country"),defaultValue:null!==(c=null===p||void 0===p?void 0:p.country)&&void 0!==c?c:"",className:"mb-2",onChange:g})]})]}),(0,m.jsx)(fS,{}),(0,m.jsx)(gS,{className:"mb-4",style:{maxWidth:"800px"},children:(0,m.jsx)(s.l6,{name:"unit",label:y("microshop.departmentUnit","department/ unit"),isMulti:!0,isSearchable:!1,toggleBgColor:"fillWhite",options:b,value:h?b.filter((e=>h.includes(e.value))):void 0,onChange:e=>{A(e)}})}),!!h&&h.length>0&&(0,m.jsx)(mS,{className:"mb-2",tintOddRows:!0,headers:[y("microshop.unit","Unit"),y("microshop.role","Role"),y("microshop.requiresattestation","Requires attestation"),y("microshop.budget","Budget")],cols:4,compact:!1,rows:null!==(u=null===(d=(null===v||void 0===v?void 0:v.shopUsers)||[])||void 0===d?void 0:d.map(((e,t)=>({cells:[(0,m.jsx)(s.EY,{bold:!0,children:e.shopUnitName}),(0,m.jsx)(gS,{style:{width:"100px"},children:(0,m.jsx)(s.l6,{menuPosition:"fixed",name:"role",isMulti:!1,isSearchable:!1,options:w,value:w.find((t=>t.value===e.role)),onChange:e=>{if(e){const n={target:{name:"role",value:e.value}};g(n,t)}}})}),(0,m.jsx)(s.Sc,{name:"requiresAttestation",checked:!!e.requiresAttestation,onChange:e=>g(e,t)}),(0,m.jsx)(s.pd,{type:"number",name:"budget",value:e.budget,className:"mb-2",onChange:e=>g(e,t)})].map((e=>({el:(0,m.jsx)("span",{children:e})})))}))))&&void 0!==u?u:[]})]})},hS=(0,p.Ay)(s.so).withConfig({componentId:"sc-1uscguu-0"})(["gap:12px;& > div{width:100%;}","{flex-wrap:wrap;}"],(e=>{let{theme:t}=e;return t.media.mdBelow})),fS=p.Ay.div.withConfig({componentId:"sc-1uscguu-1"})(["border:1px solid ",";margin:20px 0;"],(e=>{let{theme:t}=e;return t.colors.borderDark})),mS=(0,p.Ay)(s.XI).withConfig({componentId:"sc-1uscguu-2"})(["max-width:800px;"]),gS=p.Ay.div.withConfig({componentId:"sc-1uscguu-3"})(["label{font-size:12px;}"]),vS=()=>{const[e,t]=(0,u.useState)(!1),[n,r]=(0,u.useState)([]),[i,o]=(0,u.useState)({email:null,firstName:null,lastName:null,phoneNumber:null,addressLine1:null,addressLine2:"",postalCode:null,city:null,country:null,shopUsers:Array()}),a=(0,c.jL)(),{units:l}=(0,c.GV)(Gp.PX),{t:p}=(0,d.B)();return(0,m.jsx)(s.so,{column:!0,className:"mt-4",children:(0,m.jsxs)(AS,{onSubmit:e=>{e.preventDefault(),a((0,cp.oi)(i))},onInput:()=>t(!0),children:[(0,m.jsx)(yS,{hasChanges:e,dispatch:a,t:p}),(0,m.jsx)(pS,{selectedUnitIds:n,units:l,onChangeHandler:(e,t)=>{const{name:n,type:r,value:i,checked:a}=e.target,s="checkbox"===r?a:"number"===r?Number(i):i;o((e=>"number"===typeof t?{...e,shopUsers:(e.shopUsers||[]).map(((e,r)=>r===t?{...e,[n]:s}:e))}:{...e,[n]:s}))},form:i,t:p,handleOnUnitSelect:e=>{const t=e?e.map((e=>e.value)):[];r(t),o((e=>{const n=(e.shopUsers||[]).filter((e=>t.includes(e.shopUnitId))),r=t.filter((e=>!n.some((t=>t.shopUnitId===e)))).map((e=>{var t,n;return{shopUnitName:null!==(t=null===(n=l.find((t=>t.id===e)))||void 0===n?void 0:n.name)&&void 0!==t?t:"",shopUnitId:e}}));return{...e,shopUsers:[...n,...r]}}))}})]})})},yS=e=>{let{hasChanges:t,dispatch:n,t:r}=e;return(0,m.jsxs)(s.so,{justify:"end",gap:"12px",children:[(0,m.jsx)(s.$n,{bgColor:"main",color:"white",type:"submit",disabled:!t,children:r("action.save")}),(0,m.jsx)(s.$n,{bgColor:"fillWhite",onClick:e=>{e.preventDefault(),n((0,cp.dg)("UserList"))},children:r("action.cancel")})]})},AS=p.Ay.form.withConfig({componentId:"sc-gzu719-0"})(["margin:0 24px;"]),bS=()=>{var e,t,n,r,i,o,a,s,l,p;const{t:h}=(0,d.B)(),f=(0,c.jL)(),{userToEdit:g}=(0,c.GV)(Gp.Y2),{users:v}=(0,c.GV)(Gp.VR),{units:y}=(0,c.GV)(Gp.PX),[A,b]=(0,u.useState)(!1),w=null===v||void 0===v?void 0:v.find((e=>e.email===g)),[x,C]=(0,u.useState)(y.filter((e=>((null===w||void 0===w?void 0:w.shopUsers)||[]).some((t=>t.shopUnitName===e.name)))).map((e=>e.id)).filter((e=>void 0!==e)));(0,u.useEffect)((()=>{const e=((null===w||void 0===w?void 0:w.shopUsers)||[]).map((e=>e.shopUnitId)),t=y.filter((t=>e.includes(t.id))).map((e=>e.id));t&&(null===t||void 0===t?void 0:t.length)>0&&C(t)}),[w]);const[S,k]=(0,u.useState)({employeeNumber:null!==(e=null===w||void 0===w?void 0:w.employeeNumber)&&void 0!==e?e:null,addressLine1:null!==(t=null===w||void 0===w?void 0:w.addressLine1)&&void 0!==t?t:null,addressLine2:null,city:null!==(n=null===w||void 0===w?void 0:w.city)&&void 0!==n?n:null,country:null!==(r=null===w||void 0===w?void 0:w.country)&&void 0!==r?r:null,email:null!==(i=null===w||void 0===w?void 0:w.email)&&void 0!==i?i:null,firstName:null!==(o=null===w||void 0===w?void 0:w.firstName)&&void 0!==o?o:null,lastName:null!==(a=null===w||void 0===w?void 0:w.lastName)&&void 0!==a?a:null,phoneNumber:null!==(s=null===w||void 0===w?void 0:w.phoneNumber)&&void 0!==s?s:null,postalCode:null!==(l=null===w||void 0===w?void 0:w.postalCode)&&void 0!==l?l:null,shopUsers:null!==(p=null===w||void 0===w?void 0:w.shopUsers)&&void 0!==p?p:[]});return(0,m.jsx)("div",{style:{maxWidth:"1000px"},children:(0,m.jsxs)("form",{onSubmit:e=>{e.preventDefault(),f((0,cp.oi)(S))},onInput:()=>b(!0),children:[(0,m.jsx)(wS,{hasChanges:A,dispatch:f,t:h}),(0,m.jsx)(pS,{editUser:w,form:S,onChangeHandler:(e,t)=>{const{name:n,type:r,value:i,checked:o}=e.target,a="checkbox"===r?o:"number"===r?Number(i):i;k((e=>"number"===typeof t?{...e,shopUsers:(e.shopUsers||[]).map(((e,r)=>r===t?{...e,[n]:a}:e))}:{...e,[n]:a}))},selectedUnitIds:x,units:y,t:h,handleOnUnitSelect:e=>{const t=e?e.map((e=>e.value)):[];C(t),k((e=>{const n=(e.shopUsers||[]).filter((e=>t.includes(e.shopUnitId))),r=t.filter((e=>!n.some((t=>t.shopUnitId===e)))).map((e=>{var t,n;return{shopUnitName:null!==(t=null===(n=y.find((t=>t.id===e)))||void 0===n?void 0:n.name)&&void 0!==t?t:"",shopUnitId:e}}));return{...e,shopUsers:[...n,...r]}}))}})]})})},wS=e=>{let{hasChanges:t,dispatch:n,t:r}=e;return(0,m.jsxs)(s.so,{justify:"end",gap:"12px",children:[(0,m.jsx)(s.$n,{bgColor:"main",color:"white",type:"submit",disabled:!t,children:r("action.save")}),(0,m.jsx)(s.$n,{bgColor:"fillWhite",onClick:e=>{e.preventDefault(),n((0,cp.dg)("UserList"))},children:r("action.cancel")})]})},xS=()=>{const{t:e}=(0,d.B)(),t=(0,c.jL)(),[n,r]=(0,u.useState)(null),[i,o]=(0,u.useState)(null),[a,l]=(0,u.useState)(0),{units:p}=(0,c.GV)(Gp.PX),[h,f]=(0,u.useState)(),[g,v]=(0,u.useState)(),[y,A]=(0,u.useState)(),b=(0,u.useRef)(null),w=(0,c.cb)(),x=p.map((e=>{var t,n;return{value:null!==(t=e.id)&&void 0!==t?t:"",label:null!==(n=e.name)&&void 0!==n?n:""}})),C=()=>{l(a+1)},S=async e=>{var n;f(void 0),v(void 0),A(void 0);const i=await t((0,cp.Q0)({file:null!=e?null===(n=(0,ja.HL)(e))||void 0===n?void 0:n[0]:void 0}));var o,a,s;cp.Q0.fulfilled.match(i)&&(C(),(null===i||void 0===i||null===(o=i.payload)||void 0===o||null===(a=o.errors)||void 0===a?void 0:a.length)&&f(i.payload.errors),null!==i&&void 0!==i&&null!==(s=i.payload)&&void 0!==s&&s.isSuccessful&&(r(null===e||void 0===e?void 0:e[0].name),A(i.payload.shopUsers)))};return(0,m.jsxs)(OS,{columns:{md:"2fr 1fr",sm:"1fr"},gap:"48px",children:[(0,m.jsxs)(MS,{children:[(0,m.jsx)(s.EY,{bold:!0,fontSize:40,className:"mb-3",children:e("microshop.import","Import")}),(0,m.jsx)(CS,{t:e,onClick:()=>t((0,cp.rP)()),bp:w}),(0,m.jsxs)(NS,{children:[(0,m.jsx)(s.EY,{bold:!0,className:"mb-1",children:e("microshop.addNewUsers","Add new Users")}),(0,m.jsx)(_S,{multiple:!1,className:"mb-4",fileInputRef:b,handleDrop:e=>S(e),uploadFiles:e=>S(e.target.files),allowedFiletypes:".xlsx, .csv. Max 6Mb."},a),!!h&&h.length>0&&(0,m.jsx)(SS,{type:"error",t:e,isToggle:!0,children:(0,m.jsx)(m.Fragment,{children:h.map(((t,n)=>(0,m.jsx)(kS,{error:t,t:e},`${n}-${t.errorCode}`)))})}),!!y&&(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(SS,{type:"success",t:e,children:(0,m.jsx)(s.EY,{children:e("microshop.readyForImport",'The file is ready for import. Continue by clicking "Import".')})}),(0,m.jsx)(ES,{onClick:()=>{A(void 0),r(null),v(void 0),C()},fileName:n,t:e}),(0,m.jsx)(s.$n,{className:"mb-3",bgColor:"main",color:"white",onClick:async()=>{const e=await t((0,cp.eg)(y));var n,r;cp.eg.fulfilled.match(e)&&((null===e||void 0===e||null===(n=e.payload)||void 0===n||null===(r=n.errors)||void 0===r?void 0:r.length)&&v(e.payload.errors))},children:e("microshop.import","Import")}),!!g&&g.length>0&&(0,m.jsx)(SS,{type:"error",t:e,isToggle:!0,children:(0,m.jsx)(m.Fragment,{children:g.map(((t,n)=>(0,m.jsx)(kS,{error:t,t:e},`${n}-${t.errorCode}`)))})})]})]})]}),(0,m.jsxs)(RS,{className:"export-users",children:[(0,m.jsx)(s.EY,{bold:!0,fontSize:40,className:"mb-3",children:e("action.export","Export")}),(0,m.jsx)(s.l6,{options:x,isMulti:!1,value:x.find((e=>e.value===i)),onChange:e=>{o(null===e||void 0===e?void 0:e.value)},className:"mb-2"}),(0,m.jsx)(s.$n,{onClick:()=>{i&&t((0,cp.fd)(i))},bgColor:"fillWhite",disabled:!i,children:e("action.export","Export")})]})]})},CS=e=>{let{t:t,onClick:n,bp:r}=e;return(0,m.jsx)(PS,{className:"mb-3",children:(0,m.jsxs)(s.so,{justify:"between",align:"center",gap:"8px",$wrap:r.smBelow,children:[(0,m.jsxs)(s.so,{column:!0,children:[(0,m.jsxs)(s.so,{align:"center",gap:"6px",children:[(0,m.jsx)(o.g,{color:"#224382",icon:i.__G}),(0,m.jsx)(s.EY,{bold:!0,fontSize:18,children:t("microshop.excelTemplate","Exceltemplate")})]}),(0,m.jsx)(s.EY,{color:"textLight",fontSize:14,children:t("microshop.excelTemplateDescription","You can download the attached example and use it as a starting point for your own file.")})]}),(0,m.jsx)(s.$n,{bgColor:"fill",onClick:n,children:t("action.download","Download")})]})})},SS=e=>{let{children:t,type:n,t:r,isToggle:o=!1}=e;const[a,l]=(0,u.useState)(!1);return(0,m.jsxs)(jS,{type:n,className:"mb-3",children:[(0,m.jsxs)(s.so,{justify:"between",align:"center",children:[(0,m.jsx)(s.EY,{bold:!0,children:"error"===n?r("microshop.error","An error has occurred!"):r("microshop.uploadDone","Upload is complete!")}),!!o&&(0,m.jsx)(BS,{iconRight:!0,bgColor:"transparent",icon:a?i.w2A:i.Jt$,onClick:()=>l(!a),children:r(a?"general.show_less":"general.show_more")})]}),o?!!a&&t:t]})},kS=e=>{let{error:t,t:n}=e;return(0,m.jsxs)("div",{className:"mb-3",children:[(0,m.jsx)(s.EY,{bold:!0,fontSize:14,children:t.errorCode?`${IS(n,t.errorCode)}: `:null}),!(null===t||void 0===t||!t.column)&&(0,m.jsxs)(s.EY,{fontSize:12,children:[n("microshop.column","Column"),": ",t.column]}),!(null===t||void 0===t||!t.row)&&(0,m.jsxs)(s.EY,{fontSize:12,children:[n("microshop.row","Row"),": ",t.row]}),!(null===t||void 0===t||!t.value)&&(0,m.jsxs)(s.EY,{fontSize:12,children:[n("microshop.value","Value"),": ",t.value]})]})},ES=e=>{let{fileName:t,t:n,onClick:r}=e;return(0,m.jsxs)("div",{className:"mb-3",children:[(0,m.jsx)(s.EY,{children:n("microshop.uploadedFile","Uploaded file")}),(0,m.jsxs)(TS,{className:"mb-3",children:[(0,m.jsxs)(s.so,{align:"center",gap:"8px",children:[(0,m.jsx)(DS,{icon:i.A4h}),(0,m.jsx)(s.EY,{fontSize:14,color:"text",children:t})]}),(0,m.jsx)(DS,{icon:i.yLS,onClick:()=>{r()}})]})]})},IS=(e,t)=>({[be.UploadErrorCode.InvalidEmailFormat]:e("microshopUploadErrorCodes.invalidEmailFormat","Invalid email format"),[be.UploadErrorCode.InvalidIsAttestantValue]:e("microshopUploadErrorCodes.invalidIsAttestantValue","Invalid isAttestant value"),[be.UploadErrorCode.InvalidManageBudgetValue]:e("microshopUploadErrorCodes.invalidManageBudgetValue","Invalid manageBudget value"),[be.UploadErrorCode.InvalidRequiresAttestationValue]:e("microshopUploadErrorCodes.invalidRequiresAttestationValue","Invalid requiresAttestation value"),[be.UploadErrorCode.InvalidRoleValue]:e("microshopUploadErrorCodes.invalidRoleValue","Invalid role value"),[be.UploadErrorCode.MissingMicroshop]:e("microshopUploadErrorCodes.missingMicroshop","Missing microshop"),[be.UploadErrorCode.MissingOrIncorrectHeaders]:e("microshopUploadErrorCodes.missingOrIncorrectHeaders","Missing or incorrect headers"),[be.UploadErrorCode.MissingShopUnits]:e("microshopUploadErrorCodes.missingShopUnits","Missing shop units"),[be.UploadErrorCode.MissingUsers]:e("microshopUploadErrorCodes.missingUsers","Missing users"),[be.UploadErrorCode.NoDataInFile]:e("microshopUploadErrorCodes.noDataInFile","No data in file"),[be.UploadErrorCode.NoFileSelected]:e("microshopUploadErrorCodes.noFileSelected","No file selected"),[be.UploadErrorCode.NoRowsInFile]:e("microshopUploadErrorCodes.noRowsInFile","No rows in file"),[be.UploadErrorCode.DatabaseError]:e("microshopUploadErrorCodes.databaseError","Database error occured")}[t]||""),_S=(0,p.Ay)(s.ef).withConfig({componentId:"sc-1c7bxfo-0"})(["padding-top:62px;padding-bottom:62px;height:auto;"]),PS=p.Ay.div.withConfig({componentId:"sc-1c7bxfo-1"})(["padding:16px;",""],(e=>{let{theme:t}=e;return`\n    background-color: ${t.colors.textWhite};\n  `})),OS=(0,p.Ay)(s.xA).withConfig({componentId:"sc-1c7bxfo-2"})(["max-width:1224px;","{.export-users{grid-row:3 / 3;}}"],(e=>{let{theme:t}=e;return t.media.mdBelow})),TS=p.Ay.div.withConfig({componentId:"sc-1c7bxfo-3"})(["display:flex;justify-content:space-between;align-items:center;border:2px solid;border-radius:4px;padding:16px 20px;border-color:",";"],(e=>{let{theme:t}=e;return t.colors.borderLight})),DS=(0,p.Ay)(o.g).withConfig({componentId:"sc-1c7bxfo-4"})(["color:",";cursor:pointer;"],(e=>{let{theme:t}=e;return t.colors.textLight})),jS=p.Ay.div.withConfig({componentId:"sc-1c7bxfo-5"})(["",""],(e=>{let{theme:t,type:n}=e;return`\n    padding: 16px;\n    border-radius: 4px;\n    border: ${"error"===n?`1px solid ${t.colors.error}`:`1px solid ${t.colors.success}`};\n    background-color: ${"error"===n?"#FFE6E6":"#ECFFE6"};\n    color: ${t.colors.text};\n  `})),BS=(0,p.Ay)(s.K0).withConfig({componentId:"sc-1c7bxfo-6"})(["&:hover{background-color:transparent;}"]),NS=p.Ay.div.withConfig({componentId:"sc-1c7bxfo-7"})([""]),MS=p.Ay.div.withConfig({componentId:"sc-1c7bxfo-8"})([""]),RS=p.Ay.div.withConfig({componentId:"sc-1c7bxfo-9"})([""]),LS=e=>{var t;let{headers:n,users:r,units:o,dispatch:a,renderMobile:l}=e;return(0,m.jsx)(m.Fragment,{children:(0,m.jsx)(s.XI,{className:"mb-2",tintOddRows:!0,headers:n,cols:n.length,compact:l,rows:null!==(t=null===r||void 0===r?void 0:r.map(((e,t)=>{var n,r,l;const c=null===(n=e.shopUsers)||void 0===n?void 0:n.map((e=>e.shopUnitId)),u=o.filter((e=>null===c||void 0===c?void 0:c.includes(e.id))).map((e=>e.name));return{cells:[`${null!==(r=e.firstName)&&void 0!==r?r:""} ${null!==(l=e.lastName)&&void 0!==l?l:""}`,e.email,u.join(", ").substring(0,50),e.phoneNumber,(0,m.jsxs)(s.so,{gap:"12px",children:[(0,m.jsx)(US,{hovercolor:"rejected",icon:i.yLS}),(0,m.jsx)(US,{onClick:()=>{null!==e&&void 0!==e&&e.email&&a((0,cp.xH)(null===e||void 0===e?void 0:e.email)),a((0,cp.dg)("EditUser"))},hovercolor:"main",icon:i.MT7})]})].map((e=>({el:(0,m.jsx)("span",{children:e},t)})))}})))&&void 0!==t?t:[]})})},FS=()=>{const{t:e}=(0,d.B)(),t=(0,c.jL)();return(0,m.jsxs)(s.so,{column:!0,justify:"center",align:"center",children:[(0,m.jsx)(s.EY,{className:"mb-2",fontSize:38,bold:!0,children:e("microshop.noUsers","No users yet")}),(0,m.jsx)(s.EY,{className:"mb-2",fontSize:20,children:e("microshop.noUserDescription","Crate new users here, or import!.")}),(0,m.jsxs)(s.so,{gap:"16px",children:[(0,m.jsx)(s.K0,{onClick:()=>t((0,cp.dg)("CreateNewUser")),square:!0,bgColor:"fillWhite",icon:i.X46,children:e("microshop.createUser","Create new user")}),(0,m.jsx)(s.K0,{onClick:()=>t((0,cp.dg)("ImportUsers")),square:!0,bgColor:"fillWhite",icon:i.$MS,children:e("microshop.import","Import")})]})]})},zS=e=>{let{renderMobile:t}=e;const{t:n}=(0,d.B)(),{anonymous:r,users:i}=(0,c.GV)(Gp.VR),o=(0,c.GV)(Gp.PX),a=(0,c.jL)(),l=null===i||void 0===i?void 0:i.filter((e=>!e.anonymous));(0,u.useEffect)((()=>{a((0,cp.ZZ)())}),[]);const p=[n("contact.name"),n("contact.email"),n("microshop.unit"),n("contact.phone"),""];return(0,ja.qe)()&&!l||(0,ja.qe)()&&0===(null===l||void 0===l?void 0:l.length)?(0,m.jsx)(FS,{}):(0,m.jsx)(m.Fragment,{children:(0,ja.qe)()?(0,m.jsxs)(s.so,{column:!0,children:[!!l&&(null===l||void 0===l?void 0:l.length)>0&&(0,m.jsx)(m.Fragment,{children:(0,m.jsxs)(s.so,{justify:"between",align:"center",$wrap:!0,children:[(0,m.jsx)(cl.V,{className:"mb-2",header:n("user.user_other")}),(0,m.jsxs)(s.so,{gap:"12px",$wrap:!0,children:[(0,m.jsx)(s.$n,{onClick:()=>a((0,cp.dg)("CreateNewUser")),bgColor:"fillWhite",children:n("action.add")}),(0,m.jsxs)(s.$n,{onClick:()=>a((0,cp.dg)("ImportUsers")),bgColor:"fillWhite",children:[n("microshop.import"),"/ ",n("action.export")]})]})]})}),(0,m.jsx)(LS,{headers:p,users:l,units:o.units,dispatch:a,renderMobile:t})]}):(0,m.jsx)(QS,{users:l,anonymous:r,renderMobile:t})})},QS=e=>{var t,n;let{users:r,anonymous:i,renderMobile:o=!1}=e;const{t:a}=(0,d.B)(),l=[a("general.name"),a("general.email"),a("general.created"),a("cart.created"),a("order.order_other"),a("order.lastOrder")],c=[a("general.created"),a("cart.created"),a("order.order_other"),a("order.lastOrder")];return(0,m.jsxs)(m.Fragment,{children:[r.length>0&&(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(cl.V,{className:"mb-2",header:a("user.registeredUsers")}),(0,m.jsx)(s.XI,{className:"mb-2",tintOddRows:!0,headers:l,cols:l.length,compact:o,rows:null!==(t=null===r||void 0===r?void 0:r.map((e=>{var t,n,r,i,o,a,s,l,c,u;const d=null===e||void 0===e||null===(t=e.shopUsers)||void 0===t||null===(n=t[0])||void 0===n?void 0:n.order;return{cells:[`${null!==(r=e.firstName)&&void 0!==r?r:""} ${null!==(i=e.lastName)&&void 0!==i?i:""}`,null===e||void 0===e?void 0:e.email,null!==(o=null===d||void 0===d||null===(a=d.created)||void 0===a?void 0:a.str)&&void 0!==o?o:"-",null!==(s=null===d||void 0===d||null===(l=d.cartCreated)||void 0===l?void 0:l.str)&&void 0!==s?s:"-",null===d||void 0===d?void 0:d.orders,null!==(c=null===d||void 0===d||null===(u=d.lastOrder)||void 0===u?void 0:u.str)&&void 0!==c?c:"-"].map((e=>({el:(0,m.jsx)("span",{children:e})})))}})))&&void 0!==t?t:[]})]}),i.length>0&&(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(cl.V,{className:"mb-2",header:a("user.anonymousUsers")}),(0,m.jsx)(s.XI,{tintOddRows:!0,headers:c,cols:c.length,compact:o,rows:null!==(n=null===i||void 0===i?void 0:i.map((e=>{var t,n,r,i,o,a,s,l;const c=null===e||void 0===e||null===(t=e.shopUsers)||void 0===t||null===(n=t[0])||void 0===n?void 0:n.order;return{cells:[null!==(r=null===c||void 0===c||null===(i=c.created)||void 0===i?void 0:i.str)&&void 0!==r?r:"-",null!==(o=null===c||void 0===c||null===(a=c.cartCreated)||void 0===a?void 0:a.str)&&void 0!==o?o:"-",null===c||void 0===c?void 0:c.orders,null!==(s=null===c||void 0===c||null===(l=c.lastOrder)||void 0===l?void 0:l.str)&&void 0!==s?s:"-"].map((e=>({el:(0,m.jsx)("span",{children:e})})))}})))&&void 0!==n?n:[]})]})]})},US=(0,p.Ay)(o.g).withConfig({componentId:"sc-1fu7d1t-0"})(["cursor:pointer;color:",";transition:color 0.2s;&:hover{color:",";}"],(e=>e.theme.colors.text),(e=>e.theme.colors[e.hovercolor])),VS=t=>{let{customer:n,currentPage:r,currentMicroshop:o,currentOrder:a,totalMicroshops:s}=t;const l=(0,c.GV)(Gp.s3),p=(0,c.GV)(Gp.zR),h=(0,c.GV)(Gp.Vf),g=(0,c.GV)(Gp.Kq),[v,y]=(0,u.useState)(!1),{t:A}=(0,d.B)(),b=(0,c.jL)(),w=(0,u.useCallback)((()=>{b((0,cp.dg)("List"))}),[b]),x=(0,u.useCallback)((()=>{b((0,cp.dg)("Details"))}),[b]),C=(0,u.useCallback)((()=>{if(null===a||void 0===a||!a.masterOrderId)return b((0,cp.dg)("OrderList"));b((0,cp.PE)([a.masterOrderId,!0]))}),[b,null===a||void 0===a?void 0:a.masterOrderId]),S=(0,u.useCallback)((()=>{b((0,cp.dg)("OrderDetails"))}),[b]),k=(0,u.useCallback)((()=>{b((0,cp.dg)("UserList"))}),[b]),E=()=>{b((0,f.wp)({title:A("error.error","Error!"),description:A("error.general","Something went wrong, please try again or contact support."),hideCancel:!0}))},I=[{label:A("pdf.download","Download pdf"),disabled:0===h.length||v,onClick:async()=>{var t,n,r,i;y(!0);const o=[...(null!==(t=(await(async(t,n)=>(await e.Ay.microshopGetSelectedOrdersForPdf(null!==t&&void 0!==t?t:"",n)).data)(null===g||void 0===g?void 0:g.id,h)).pendingOrders)&&void 0!==t?t:[]).map((e=>({...e,refinements:[]})))],a=null!==(n=null===o||void 0===o?void 0:o.flatMap((e=>{var t;return null!==(t=e.products)&&void 0!==t?t:[]})))&&void 0!==n?n:[],s=a.map((e=>e.productNumber)).filter((e=>!!e)),l=a.flatMap((e=>{var t,n;return null!==(t=null===(n=e.variations)||void 0===n?void 0:n.map((e=>e.variationNumber)).filter((e=>!!e)))&&void 0!==t?t:[]})),c=`order-${(null!==(r=o.length)&&void 0!==r?r:0)>1?null===g||void 0===g?void 0:g.name:null===o||void 0===o||null===(i=o.at(0))||void 0===i?void 0:i.orderNumber}_${(0,au.t7)(new Date)}.pdf`;b(Yt.w9.exportToolOpened({origin:"microshop",parameters:{productNumbers:s},data:{variationNumbers:l,pdfOrders:o,pdfCartVariations:o.flatMap((e=>{var t,n;return null!==(t=null===e||void 0===e||null===(n=e.products)||void 0===n?void 0:n.flatMap((e=>{var t;return null!==(t=e.variations)&&void 0!==t?t:[]})))&&void 0!==t?t:[]})),pdfOrderType:"order"},options:{tabs:["pdf"],render:"autoDownload",fileName:c}})),y(!1)},icon:i.O_q}],_=e=>{var t,r,i,a,c;return{List:{title:A("microshop.microshop_other","Microshops"),content:e=>(0,m.jsx)(rS,{showAll:n,compact:"mobile"===e,disableDelete:n}),actions:(0,m.jsx)(Rf,{type:"List",isCustomer:n,totalMicroshops:s})},Create:{title:A("microshop.create","Create new microshop"),content:e=>(0,m.jsx)(Yp,{}),onBack:w},Details:{title:null!==(t=null===o||void 0===o?void 0:o.name)&&void 0!==t?t:"",content:e=>(0,m.jsxs)("div",{children:[(0,m.jsx)(qC,{}),(0,m.jsx)(fC,{renderMobile:"mobile"===e,customer:n})]}),actions:(0,m.jsx)(Rf,{type:"Details"}),onBack:w},OrderList:{title:null!==(r=null===o||void 0===o?void 0:o.name)&&void 0!==r?r:"",content:(e,t)=>(0,m.jsx)(vt.A.Provider,{value:{cartType:"microshopCart",cartHeader:`${A("order.order_one")} - ${p}`},children:(0,m.jsx)(tS,{orderActions:I,containerRef:t.main,onBack:x,renderMobile:"mobile"===e})}),onBack:x},OrderDetails:{title:null!==(i=null===o||void 0===o?void 0:o.name)&&void 0!==i?i:"",content:(e,t)=>(0,m.jsx)("div",{children:(0,m.jsx)(vt.A.Provider,{value:{cartType:"microshopCart",cartHeader:`${A("order.order_one")} - ${p}`},children:(0,m.jsx)(GC,{containerRef:t.main,onBack:C,handleError:E})})}),actions:(0,m.jsx)(Rf,{type:"OrderDetails"}),onBack:C},Checkout:{title:null!==(a=null===o||void 0===o?void 0:o.name)&&void 0!==a?a:"",content:()=>(0,m.jsx)(AC,{}),onBack:null!==l?S:C},UserList:{title:(0,ja.qe)()?"":null!==(c=null===o||void 0===o?void 0:o.name)&&void 0!==c?c:"",content:e=>(0,m.jsxs)("div",{children:[!(0,ja.qe)()&&(0,m.jsx)(qC,{}),(0,m.jsx)(zS,{renderMobile:"mobile"===e})]}),onBack:x},CreateNewUser:{title:"L\xe4gg till anv\xe4ndare",content:()=>(0,m.jsx)(vS,{}),actions:(0,m.jsx)(Rf,{type:"CreateNewUser"}),onBack:k},EditUser:{title:"Redigera anv\xe4ndare",content:()=>(0,m.jsx)(bS,{}),onBack:k},ImportUsers:{title:"",content:()=>(0,m.jsx)(xS,{}),onBack:k}}[e]};return{component:_("List"),subComponent:"List"!==r?_(r):void 0}},GS=()=>{var e,t;const n=(0,G.A)(Kt.Np),r=(0,G.A)(Gp.p5),i=(0,G.A)(Gp.Kq),o=(0,G.A)(Gp.ig),a=(0,G.A)(Gp.s3),s=VS({customer:!1,currentPage:r,currentMicroshop:i,currentOrder:a,totalMicroshops:null!==(e=o.length)&&void 0!==e?e:0});return(0,m.jsx)(tl.A,{type:"Microshops",children:{options:{sellingOrOverriding:n},component:null!==(t=s.subComponent)&&void 0!==t?t:s.component}})},qS=()=>{const{cmsOptions:e,isCartLoading:t}=(0,G.T)("offerCart");return t?(0,m.jsx)(Y.A,{width:"100%",height:400}):(0,m.jsx)(vt.A.Provider,{value:{cartType:"offerCart",cartHeader:""},children:(0,m.jsx)(yC.A,{...e})})};var HS=n(70930);const WS={[be.OfferStatus.Waiting]:{color:Wt.A.colors.pending,icon:J.ld_,label:"status.waiting"},[be.OfferStatus.Accepted]:{color:Wt.A.colors.approved,icon:J.pCJ,label:"status.accepted"},[be.OfferStatus.Rejected]:{color:Wt.A.colors.rejected,icon:J.uOc,label:"order.statusCreated"},[be.OfferStatus.OrderCreated]:{color:Wt.A.colors.warning,icon:J.KTq,label:"status.waiting"},[be.OfferStatus.OrderPlaced]:{color:Wt.A.colors.success,icon:J.YEm,label:"status.confirmed"}},YS=e=>{let{status:t,className:n,tooltipLabel:r}=e;const{t:i}=(0,d.B)(),a=WS[t].icon,l=WS[t].color,c=WS[t].label,p=(0,u.useRef)(null),h=i(c),f="string"===typeof h?h:void 0;return(0,m.jsxs)(s.so,{align:"center",ref:p,className:n,children:[(0,m.jsx)(s.m_,{placement:"right",tooltip:f,disabled:!r,children:(0,m.jsx)(s.tk,{size:20,color:l,children:(0,m.jsx)(KS,{align:"center",justify:"center",children:(0,m.jsx)(o.g,{color:"#FFF",size:"sm",icon:a})})})}),!r&&(0,m.jsx)(JS,{className:"ml-2 f3-400",children:f})]})},KS=(0,p.Ay)(s.so).withConfig({componentId:"sc-fq3cb9-0"})(["width:20px;height:20px;font-size:12px;"]),JS=p.Ay.label.withConfig({componentId:"sc-fq3cb9-1"})(["font-size:14px;margin:0;"]),XS=e=>{var t,n;let{renderWidth:r,onRemoveOffer:a}=e;const{t:l}=(0,d.B)(),u=(0,HS.A)(),p=(0,c.lW)(),h=(0,c.GV)(lp.Dz),{offers:f,updatePending:g,pending:v}=(0,c.GV)(lp.DP),y=!!f.find((e=>{var t,n;return!(null===(t=e.customer)||void 0===t||!t.customerName)||!(null===(n=e.customer)||void 0===n||!n.customerCode)})),A=!!f.find((e=>{var t,n;return(null!==(t=null===(n=e.orderNumber)||void 0===n?void 0:n.length)&&void 0!==t?t:0)>0})),b=!!f.find((e=>e.publicIdentifier||e.status&&e.status>=be.OfferStatus.OrderCreated)),w=[...b?[l("general.status")]:[],...A?[l("order.orderNumber")]:[],l("contact.name"),l("general.created"),l("offer.expires"),l("general.total"),...y?[l("seller.customer")]:[],""],x=e=>{var t,n,r,i,o;if(!e)return"";let a=null!==(t=null===e||void 0===e?void 0:e.customerCode)&&void 0!==t?t:"";return a+=a.length>0&&e.customerName?" "+e.customerName:null!==(n=null===e||void 0===e?void 0:e.customerName)&&void 0!==n?n:"",a+=a.length>0&&(null!==e&&void 0!==e&&e.email||null!==e&&void 0!==e&&e.fullName)?", "+(null!==(r=e.fullName)&&void 0!==r?r:e.email):null!==(i=null!==(o=e.fullName)&&void 0!==o?o:e.email)&&void 0!==i?i:"",a},C=e=>{var t,n;return(0,m.jsxs)(s.so,{children:[(null===e||void 0===e?void 0:e.sellerOffer)&&(0,m.jsx)(ok,{size:"sm",icon:K.CQO,className:"mr-1"}),(0,m.jsx)(s.EY,{title:null!==(t=null===(n=e.customer)||void 0===n?void 0:n.email)&&void 0!==t?t:"",children:x(null===e||void 0===e?void 0:e.customer)})]})},S=f.map((e=>{var t,n;return{onClick:()=>{u((0,lp.HV)(e.id))},arrow:!0,cells:[...b?[{align:"center",el:"number"===typeof e.status&&(e.status>be.OfferStatus.Rejected||e.publicIdentifier)?(0,m.jsx)(YS,{tooltipLabel:!0,status:e.status}):""}]:[],...A?[{el:(0,m.jsx)(s.so,{align:"center",children:e.orderNumber&&(0,m.jsxs)(s.gK,{fontSize:"15px",onClick:t=>{t.stopPropagation(),t.preventDefault(),u((0,qs.On)("Orders")),e.orderNumber&&u((0,El.r$)(e.orderNumber))},className:"mr-1",children:[e.orderNumber,(0,m.jsx)(o.g,{icon:K.Ju_,size:"sm",className:"ml-1"})]})})}]:[],{el:(0,m.jsx)(m.Fragment,{children:(0,m.jsx)(s.so,{align:"center",children:(0,m.jsx)(ik,{className:"mr-1",children:e.name})})})},{el:null===(t=e.created)||void 0===t?void 0:t.str},{el:null===(n=e.expirationDate)||void 0===n?void 0:n.str},{el:e.value},...y?[{el:C(e)}]:[],{el:(0,m.jsx)(ZS,{offer:e,onRemoveOffer:a}),overflow:"visible"}]}}));return(0,m.jsxs)(rk,{children:[(0,m.jsxs)(ek,{column:!0,className:"mb-3",children:[(0,m.jsx)("label",{className:"mb-0",children:l("search.search")}),(0,m.jsx)(s.pd,{type:"text",name:"Search",icon:i.MjD,rightSidedIcon:!0,loading:v,defaultValue:h.search,onChange:Mn()((e=>u((0,lp.Sw)({search:e.target.value}))),500),placeholder:`${l("general.name")}, ${l("seller.customer").toLowerCase()}`,paddingRight:"59px"})]}),v?(0,m.jsx)(Y.A,{className:"pb-4",height:700,width:"100%"}):(0,m.jsxs)(m.Fragment,{children:[g&&(0,m.jsx)(nk,{}),(0,m.jsx)(s.XI,{className:"p-3",tintOddRows:!0,compact:"mobile"===r,rows:S,cols:w.length,headers:w,colLayout:`${b?"60px ":""}repeat(${w.length-(b?2:1)}, minmax(80px, auto)) min-content`,arrow:p.width>=400}),(0,m.jsx)(tk,{children:(0,m.jsx)(Gr.A,{page:h.page,pages:null!==(t=h.pages)&&void 0!==t?t:0,pageSize:h.pageSize,setPage:e=>e!==h.page&&u((0,lp.Sw)({page:e})),itemCount:f.length,itemsTotal:null!==(n=h.total)&&void 0!==n?n:0,label:l("offer.offer_other","Offers")})})]})]})},ZS=e=>{let{offer:t,onRemoveOffer:n}=e;const{t:r}=(0,d.B)(),o=(0,HS.A)(),[a,l]=(0,u.useState)(!1),c=[{icon:i.jPR,label:r("action.duplicate"),onClick:()=>o((0,lp.ts)({name:`${t.name} - copy`,copyFromOffer:t.id}))}];return t.status!==be.OfferStatus.OrderCreated&&t.status!==be.OfferStatus.OrderPlaced&&c.push({icon:i.yLS,label:r("action.remove"),onClick:()=>{var e;t.id&&n(t.id,null!==(e=t.name)&&void 0!==e?e:"")}}),(0,m.jsxs)(s.so,{align:"center",className:"position-relative",children:[(0,m.jsx)(s.K0,{icon:i.nx5,bgColor:"white",disableFont:!0,onClick:e=>{e.stopPropagation(),e.preventDefault(),l(!0)}}),a&&(0,m.jsx)(Vo.k,{children:(0,m.jsx)(Vo.A,{absolutePositioned:null,onClickOutside:()=>l(!1),items:c,childrenTitleKey:"label",childrenIconKey:"icon",breakParentWidth:!0,onItemPress:e=>{e.onClick()}})})]})},$S=e=>{let{renderWidth:t,onRemoveOffer:n}=e;const{t:r}=(0,d.B)(),i=(0,c.GV)(lp.Dz).total,o=[{id:"create",header:`${r("action.create")} ${r("offer.offer_one").toLowerCase()}`,content:(0,m.jsx)(th,{})},{id:"list",header:r("offer.offer_other"),content:(0,m.jsx)(XS,{renderWidth:t,onRemoveOffer:n}),collapsedInfo:i?[`${i} ${r("offer.offer",{context:1===i?"one":"other"})}`]:void 0}];return(0,m.jsx)(Oc,{id:"offer_list",className:"pt-5",sections:o})},ek=(0,p.Ay)(s.so).withConfig({componentId:"sc-1j5sjej-0"})(["min-width:200px;max-width:400px;"]),tk=p.Ay.div.withConfig({componentId:"sc-1j5sjej-1"})(["padding:20px;text-align:center;margin:0 auto;"]),nk=(0,p.Ay)(s.y$).withConfig({componentId:"sc-1j5sjej-2"})(["position:absolute;right:0;top:0;"]),rk=p.Ay.div.withConfig({componentId:"sc-1j5sjej-3"})(["position:relative;"]),ik=p.Ay.span.withConfig({componentId:"sc-1j5sjej-4"})(["word-break:break-all;max-width:550px;"]),ok=(0,p.Ay)(o.g).withConfig({componentId:"sc-1j5sjej-5"})(["display:block;text-align:center;margin-top:4px;"]),ak=e=>{let{initialValue:t,skuPattern:n,refinementIndex:r,costId:i,className:o,id:a,width:s="100px"}=e;const l=(0,c.jL)(),{t:u}=(0,d.B)(),p=(0,c.GV)(lp.Lt.percentType),h=(0,c.GV)(lp.Lt.detailsSerialNr),{offer:f}=(0,c.GV)(lp.Lt.offer),g=(0,c.GV)(lp.Lt.selectedOfferUpdatePending);return(0,m.jsx)(sk,{width:s,disabled:g,id:a,className:o,name:"margin",placeholder:u("margin"===p?"offer.margin":"offer.discount"),type:"number",onChange:Mn()((e=>{if(null===f||void 0===f||!f.id)return;const t=Math.min(e.target.valueAsNumber,99.99);l((0,lp.Gz)({operation:{type:"margin"===p?be.OfferOperationType.Margin:be.OfferOperationType.Discount,skuPattern:null!==n&&void 0!==n?n:void 0,refinementIndex:"number"===typeof r?r:void 0,costId:"number"===typeof i?i:void 0,value:Number.isNaN(t)?0:t},send:!0,debounce:!0}))}),500),defaultValue:t&&!Number.isNaN(t)?+t.toFixed(2):0},h+p)},sk=(0,p.Ay)(s.pd).withConfig({componentId:"sc-13v36vo-0"})(["max-width:",";"],(e=>{let{width:t}=e;return t})),lk=e=>{let{costId:t,refinementIndex:n,skuPattern:r,initialValue:i,className:o}=e;const a=(0,c.jL)(),s=(0,c.GV)(lp.Lt.detailsSerialNr),l=(0,c.GV)(lp.Lt.offer).offer,u=(0,c.GV)(lp.Lt.selectedOfferUpdatePending);return(0,m.jsx)(ck,{disabled:u,className:o,name:"price",type:"number",onChange:Mn()((e=>{if(null===l||void 0===l||!l.id)return;const i=e.target.valueAsNumber;a((0,lp.Gz)({operation:{type:be.OfferOperationType.Price,skuPattern:r,refinementIndex:n,costId:t,value:i},send:!0,debounce:!0}))}),400),defaultValue:i&&!Number.isNaN(i)?+i.toFixed(2):0},s)},ck=(0,p.Ay)(s.pd).withConfig({componentId:"sc-1jpmich-0"})(["width:85px;"]),uk=e=>{let{skuPattern:t,initialValue:n,costId:r}=e;const i=(0,c.jL)(),o=(0,c.GV)(lp.Lt.detailsSerialNr),a=(0,c.GV)(lp.Lt.selectedOfferUpdatePending),s=(0,c.GV)(lp.Lt.isOfferOrder);return(0,m.jsx)(dk,{type:"number",disabled:a||s,defaultValue:n,min:1,name:"Sku_quantity",onChange:Mn()((e=>{let n=Math.max(1,e.target.valueAsNumber);Number.isNaN(n)&&(n=1),e.target.value!==n&&(e.target.value=n),i((0,lp.Gz)({operation:{quantity:Number.isNaN(n)?1:n,skuPattern:t,costId:r,type:be.OfferOperationType.Set},send:!0,debounce:!0}))}),400)},o)},dk=(0,p.Ay)(s.pd).withConfig({componentId:"sc-1t8szwa-0"})(["width:75px;"]),pk=()=>{var e,t,n;const r=(0,c.jL)(),{t:i}=(0,d.B)(),{offer:a,pending:l,updatePending:p}=(0,c.GV)(lp.Lt.offer),h=(0,c.GV)(lp.Lt.percentType),f=(0,c.GV)(lp.Lt.selectedOfferSortingActive),g=(0,c.GV)(lp.Lt.selectedOfferOrderedProduct),[v,y]=(0,u.useState)([]),A=null!==(e=null===a||void 0===a?void 0:a.products)&&void 0!==e?e:[],b=null!==(t=null===a||void 0===a||null===(n=a.refinements)||void 0===n?void 0:n.map(((e,t)=>({...e,index:t}))))&&void 0!==t?t:[],w=b.length>0,x=A.length>0,C=(0,c.GV)($e.Bm),S=(0,c.GV)($e.IR),k=(0,c.GV)($e.hI),E=(0,c.GV)(lp.Lt.discountMode),I=(0,c.cb)(),_=(0,c.GV)(lp.Lt.detailsSerialNr),P=(0,c.GV)(lp.Lt.isOfferOrder),O=["","",C||S&&"discount"===h?"discount"===h?`${i("offer.discount","Discount")} (%)`:`${i("offer.margin","Margin")} (%)`:"",i("price.price","Price"),i("cart.quantity","Quantity"),i("general.total"),""];return(0,u.useEffect)((()=>{y([...g.map((e=>e.productNumber))])}),[g]),l||p&&f?(0,m.jsx)(il,{className:"my-4",children:(0,m.jsx)(Y.A,{height:80})}):x||w?x?f?(0,m.jsx)(s.so,{className:"mb-2 mt-4",column:!0,children:(0,m.jsx)(s.qU,{onChange:(e,t)=>{const n=[...v];n.splice(t,0,n.splice(e,1)[0]),r((0,lp.fv)(n)),y([...n])},children:g.map((e=>(0,m.jsx)(s.so,{"data-draggable":!0,align:"center",children:(0,m.jsxs)(fk,{grip:!0,className:"position-relative w-100 mb-1",children:[(0,m.jsx)(mk,{align:"center",children:(0,m.jsx)(o.g,{icon:K.IMq,className:"pr-3"})}),(0,m.jsx)(gk,{size:20,className:"f3-400",children:e.productName})]})},e.productNumber)))})}):(0,m.jsx)(m.Fragment,{children:(0,m.jsx)(s.XI,{className:"pb-4 mx-0",bgColor:"white",colLayout:`auto repeat(${O.length-2}, minmax(80px, max-content)) 50px`,compact:I.lgBelow,cols:O.length,headers:O,rows:A.flatMap((e=>[...(e.variations||[]).reduce(((t,n)=>{var o,a,l,c,u,d,f,g,v,y,A,w,x,I,T,D,j,B,N,M;if(!e.productNumber)return t;const R=null!==(o=n.variationNumber)&&void 0!==o?o:"",L=b&&n.addons&&n.variationNumber?(0,yt.$L)(b,n.addons,n.variationNumber):void 0,F=null!==(a=null===L||void 0===L?void 0:L.cartRowRefinements)&&void 0!==a?a:[],z="string"===typeof n.comment?[{cells:[{span:O.length-1,el:(0,m.jsx)(vk,{autoFocus:!0,disabled:p,className:"w-100",placeholder:i("general.comment"),name:"comment",type:"text",usePlaceHolderAsLabel:!0,smallLabel:!0,onChange:Mn()((e=>{n.variationNumber&&r((0,lp.JR)({comment:e.target.value,variationNumber:n.variationNumber}))}),800),defaultValue:n.comment})},{el:(0,m.jsx)(s.K0,{icon:K.yLS,onClick:()=>{n.variationNumber&&r((0,lp.JR)({variationNumber:n.variationNumber,comment:null}))}})}]}]:[];return[...t,{key:`v-${R}`,cells:[{el:(0,m.jsx)(Kd,{productHeader:null!==(l=e.productName)&&void 0!==l?l:"",variation:n,refinements:{cartRowRefinements:F,editable:!P,origin:"OfferTool"},onComment:()=>{r((0,lp.JR)({variationNumber:R,comment:"",create:!0}))}})},{el:(0,m.jsxs)(s.xA,{columns:{base:"1fr 1fr"},gap:"5px",width:"100%",children:[C&&(null===(c=n.price)||void 0===c||null===(u=c.customer)||void 0===u?void 0:u.str)&&(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(s.EY,{light:!0,small:!0,children:i("price.customer")}),(0,m.jsx)(s.EY,{small:!0,right:!0,extraBold:"margin"===h||E===be.DiscountMode.CustomerPrice,children:n.price.customer.str})]}),S&&(null===(d=n.price)||void 0===d||null===(f=d.regular)||void 0===f?void 0:f.str)&&(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(s.EY,{light:!0,small:!0,children:null!==(g=null===k||void 0===k?void 0:k.prefixSales)&&void 0!==g?g:i("price.regular_short")}),(0,m.jsx)(s.EY,{small:!0,right:!0,extraBold:"discount"===h&&E===be.DiscountMode.Secondary,children:n.price.regular.str})]}),S&&(null===n||void 0===n||null===(v=n.price)||void 0===v||null===(y=v.retail)||void 0===y?void 0:y.str)&&(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(s.EY,{light:!0,small:!0,children:i("price.rrp_short")}),(0,m.jsx)(s.EY,{small:!0,right:!0,extraBold:"discount"===h&&E===be.DiscountMode.Retail,children:n.price.retail.str})]})]})},{el:C||S&&"discount"===h?(0,m.jsx)(ak,{skuPattern:null!==(A=n.variationNumber)&&void 0!==A?A:"",initialValue:"margin"===h?n.margin:n.discount},_+h):(0,m.jsx)("div",{})},{el:(0,m.jsx)(lk,{skuPattern:null!==(w=n.variationNumber)&&void 0!==w?w:"",initialValue:null!==(x=null!==(I=null===(T=n.price)||void 0===T||null===(D=T.special)||void 0===D?void 0:D.num)&&void 0!==I?I:null===(j=n.price)||void 0===j||null===(B=j.customer)||void 0===B?void 0:B.num)&&void 0!==x?x:0})},{el:(0,m.jsx)(uk,{skuPattern:null!==(N=n.variationNumber)&&void 0!==N?N:"",initialValue:null!==(M=n.quantity)&&void 0!==M?M:0},_)},{el:n.offerPriceTotal},{el:(0,m.jsx)(s.K0,{icon:K.yLS,disabled:p,onClick:()=>r((0,lp.Gz)({operation:{type:be.OfferOperationType.Remove,skuPattern:R},send:!0}))})}]},...z]}),[])]))})}):null:(0,m.jsx)(hk,{})},hk=()=>{const{t:e}=(0,d.B)();return(0,m.jsx)(s.so,{className:"w-100 mt-5 mb-4",justify:"center",align:"center",children:(0,m.jsxs)(s.so,{column:!0,align:"center",children:[(0,m.jsx)(s.EY,{fontSize:16,bold:!0,children:e("product.noProducts","No products")}),(0,m.jsx)(s.EY,{fontSize:14,children:e("offer.noProductInfo","Start by adding products above.")})]})})},fk=p.Ay.div.withConfig({componentId:"sc-mfc68h-0"})(["background-color:white;padding:1rem;"," ",";"],(e=>{let{grip:t}=e;return t&&"display: flex;"}),(e=>{let{grip:t}=e;return!t&&`\n    ${mk} {\n      display: none;\n    }\n  `})),mk=(0,p.Ay)(s.so).withConfig({componentId:"sc-mfc68h-1"})(["background-color:",";cursor:grab;"],(e=>{let{theme:t}=e;return t.colors.fillWhite})),gk=p.Ay.div.withConfig({componentId:"sc-mfc68h-2"})(["font-size:","px;"],(e=>{let{size:t}=e;return t||16})),vk=(0,p.Ay)(s.pd).withConfig({componentId:"sc-mfc68h-3"})(["&:-webkit-autofill{box-shadow:0 0 0px 1000px white inset;}"]),yk=e=>{var t;let{type:n}=e;const r=(0,c.jL)(),i=(0,c.cb)(),{t:o}=(0,d.B)(),{offer:a,updatePending:l}=(0,c.GV)(lp.Lt.offer),u=(0,c.GV)(lp.Lt.percentType),p=(0,c.GV)(lp.Lt.detailsSerialNr),h=(0,c.GV)(lp.Lt.discountMode),g=(0,c.GV)(lp.Lt.isOfferOrder),v=(0,c.GV)($e.Bm),y=(0,c.GV)($e.IR),A=(e=>e===be.ShopCartRefinementType.Product?{filter:e=>(0,yt.BG)(e),heading:o("product.article_other"),changeableQuantity:!0}:{filter:e=>!(0,yt.BG)(e),heading:o("refinement.refinement_other")})(n),b=null===a||void 0===a||null===(t=a.refinements)||void 0===t?void 0:t.filter(A.filter);if(!a||null===b||void 0===b||!b.length)return null;const w=(y||v)&&b.some((e=>e.discountEnabled)),x=v&&b.some((e=>e.price));let C="";"margin"===u&&x&&(C=`${o("offer.margin","Margin")} (%)`),"discount"===u&&w&&(C=`${o("offer.discount","Discount")} (%)`);const S=[(0,m.jsx)(cl.V,{type:"h3",header:A.heading}),"",C,o("price.price","Price"),o("cart.quantity","Quantity"),o("general.total"),""];return(0,m.jsx)(Ak,{className:"mt-4 pb-2",children:b&&(0,m.jsx)(s.XI,{className:"mx-0",bgColor:"white",compact:i.lgBelow,cols:S.length,colLayout:`auto repeat(${S.length-2}, minmax(80px, max-content)) 50px`,headers:S,rows:b.map(((e,t)=>{var n,i,a,c,d,b,C;const S=null===(n=e.files)||void 0===n?void 0:n.find((t=>{var n,r;return t.fileName===(null===(n=e.positions)||void 0===n||null===(r=n[0])||void 0===r?void 0:r.sample)}));return{key:`${t}`,cells:[{el:(0,m.jsx)("div",{children:(0,m.jsx)(bt.LT,{name:`${e.articleId?e.articleId:t+1}${e.articleId?":":"."} ${(0,tp.vV)(e)}`,info:(0,tp.d2)(e.inputs),colors:e.colors,productNumber:null!==(i=null===(a=e.articleId)||void 0===a?void 0:a.toString())&&void 0!==i?i:"",img:null!==(c=null===S||void 0===S?void 0:S.url)&&void 0!==c?c:void 0,files:(0,bt.J8)(e),editingComment:!1,addonIndex:e.someId,onEditRefinements:g?void 0:()=>{var t;const n=null===(t=e.positions)||void 0===t?void 0:t[0];r((0,ke.Gf)({type:e.type===be.ShopCartRefinementType.Product?"article":"refinement",origin:"OfferTool",edit:{refinementIndex:e.someId,type:e.type,angle:null===n||void 0===n?void 0:n.angle,split:null===n||void 0===n?void 0:n.split,variationNumber:null===n||void 0===n?void 0:n.variationNumber}}))},options:{hide:{comment:!0},largeName:!0}})})},{el:(0,m.jsxs)(s.xA,{columns:{base:"1fr 1fr"},gap:"5px",width:"100%",children:[v&&e.price&&(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(s.EY,{light:!0,small:!0,children:o("price.customer")}),(0,m.jsx)(s.EY,{small:!0,right:!0,extraBold:"margin"===u||h===be.DiscountMode.CustomerPrice,children:e.price})]}),y&&e.retailPrice&&(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(s.EY,{light:!0,small:!0,children:o("price.rrp_short")}),(0,m.jsx)(s.EY,{small:!0,right:!0,extraBold:"discount"===u&&h!==be.DiscountMode.CustomerPrice,children:e.retailPrice.str})]})]})},{el:w&&"discount"===u&&e.discountEnabled||x&&"margin"===u&&e.price?(0,m.jsx)(s.so,{className:"py-1 w-100",align:"center",children:(0,m.jsx)(ak,{initialValue:"margin"===u?e.margin:e.discount,refinementIndex:t},p+u)}):(0,m.jsx)(m.Fragment,{})},{el:(0,m.jsx)(s.so,{className:"py-1 w-100",align:"center",children:(0,m.jsx)(lk,{refinementIndex:t,initialValue:null!==(d=null===(b=e.offerPrice)||void 0===b?void 0:b.num)&&void 0!==d?d:0})})},{el:A.changeableQuantity?(0,m.jsx)(m.Fragment,{children:(0,m.jsx)(bk,{disabled:l||g,type:"number",defaultValue:e.quantity,name:"quantity",onChange:Mn()((e=>!Number.isNaN(+e.target.value)&&((e,t)=>{r((0,lp.Gz)({operation:{type:be.OfferOperationType.Set,refinementIndex:e,quantity:t.quantity},send:!0,debounce:!0}))})(t,{quantity:+e.target.value})),500)},e.quantity)}):(0,m.jsx)("span",{children:e.quantity})},{el:(0,m.jsx)("span",{children:null===(C=e.offerPriceTotal)||void 0===C?void 0:C.str})},{el:(0,m.jsx)(s.K0,{onClick:()=>{var n,i;return((e,t)=>{const n={stretchButtons:!0,title:o("action.remove"),description:`${o("article.deleteWarning",{name:t})}`,okLabel:o("confirmation.remove","Yes, remove"),onOk:()=>{r((0,lp.Gz)({operation:{type:be.OfferOperationType.Remove,refinementIndex:e},send:!0}))}};r((0,f.wp)(n))})(t,null!==(n=null!==(i=e.name)&&void 0!==i?i:e.productName)&&void 0!==n?n:"")},icon:K.yLS,disabled:g||l})}]}}))})})},Ak=p.Ay.div.withConfig({componentId:"sc-11a0l51-0"})(["width:100%;"]),bk=(0,p.Ay)(s.pd).withConfig({componentId:"sc-11a0l51-1"})(["width:75px;"]),wk=()=>{var e,t,n,r;const i=(0,c.jL)(),{t:o}=(0,d.B)(),{offer:a,updatePending:l}=(0,c.GV)(lp.Lt.offer),u=(null!==(e=null===a||void 0===a?void 0:a.costs)&&void 0!==e?e:[]).length>0,p=(0,c.GV)(lp.Lt.detailsSerialNr),h=(0,c.GV)($e.Bm),f=(0,c.GV)($e.IR),g=(0,c.cb)(),v=(0,c.GV)(lp.Lt.percentType),y=(0,c.GV)(lp.Lt.discountMode);if(null===(t=a.costs)||void 0===t||!t.length)return null;const A=a.costs.some((e=>e.fixed)),b=h?"discount"===v?`${o("offer.discount","Discount")} (%)`:`${o("offer.margin","Margin")} (%)`:"",w=[(0,m.jsx)(cl.V,{type:"h3",header:o("offer.additionalCosts")}),A?"":null,A?b:null,o("price.price","Price"),o("cart.quantity","Quantity"),o("general.total"),""].filter((e=>null!==e)),x=null!==(n=null===(r=a.costs)||void 0===r?void 0:r.map(((e,t)=>{var n,r,a,c,u,d;return{key:`${null!==(n=e.id)&&void 0!==n?n:t}`,cells:[{el:(0,m.jsx)(xk,{className:"w-100",type:"text",defaultValue:null!==(r=e.description)&&void 0!==r?r:"",name:"description",onBlur:t=>i(lp.w9.addCostDescription({costId:e.id,description:t.target.value}))})},...A?[{el:(0,m.jsxs)(s.xA,{columns:{base:"1fr 1fr"},gap:"5px",width:"100%",children:[h&&e.retailPrice&&(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(s.EY,{light:!0,small:!0,children:o("price.customer")}),(0,m.jsx)(s.EY,{right:!0,small:!0,extraBold:"margin"===v||y===be.DiscountMode.CustomerPrice,children:e.price})]}),f&&e.retailPrice&&(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(s.EY,{light:!0,small:!0,children:o("price.rrp_short")}),(0,m.jsx)(s.EY,{right:!0,small:!0,extraBold:"discount"===v&&y!==be.DiscountMode.CustomerPrice,children:e.retailPrice.str})]})]})},{small:!0,el:e.discountEnabled&&(h||f&&"discount"===v)?(0,m.jsx)(s.so,{className:"py-1 w-10 0",align:"center",children:(0,m.jsx)(ak,{initialValue:"margin"===v?e.margin:e.discount,costId:e.id},p+v)}):(0,m.jsx)(m.Fragment,{})}]:[],{el:(0,m.jsx)(lk,{initialValue:null!==(a=null===(c=e.offerPrice)||void 0===c?void 0:c.num)&&void 0!==a?a:0,costId:e.id},p)},{el:e.fixed?(0,m.jsx)(s.EY,{children:e.quantity}):(0,m.jsx)(uk,{initialValue:null!==(u=e.quantity)&&void 0!==u?u:0,costId:e.id},p)},{el:(0,m.jsx)(s.EY,{children:null===(d=e.offerPriceTotal)||void 0===d?void 0:d.str})},{el:(0,m.jsx)(s.K0,{icon:K.yLS,disableFont:!0,disabled:e.fixed||l,onClick:()=>{i((0,lp.Gz)({operation:{type:be.OfferOperationType.Remove,costId:e.id},send:!0}))}})}]}})))&&void 0!==n?n:[];return(0,m.jsx)("div",{className:"mt-4 pb-2",children:u&&(0,m.jsx)(s.XI,{bgColor:"white",compact:g.lgBelow,headers:w,colLayout:`auto repeat(${w.length-2}, minmax(80px, max-content)) 50px`,cols:w.length,rows:x,className:"mx-0"})})},xk=(0,p.Ay)(s.pd).withConfig({componentId:"sc-ofjyvs-0"})(["width:85px;"]);var Ck=n(1027);function Sk(e){return!!e&&(e.customerCode||e.customerName||e.email||e.fullName)}const kk=e=>{var t,n,r,o,a,l,p;let{className:h}=e;const{cartType:f}=(0,u.useContext)(vt.A),{t:g}=(0,d.B)(),v=(0,c.jL)(),{offer:y,pending:A}=(0,c.GV)(lp.LF),[b,w]=(0,u.useState)(!1),[x,C]=(0,u.useState)(),S=(0,c.GV)(lp.hQ),k=(0,c.GV)(Kt.tO),E=(0,c.GV)(Kt.eN),I=(0,c.GV)(lp.Co),_=(0,c.GV)(lp.y9),P=(0,c.GV)(Kt.GY),O=(0,c.GV)((0,yt.FH)(f)),T="selling"===(null===E||void 0===E?void 0:E.customerRelation),D=I||!(!y||A||b),j=!I&&y&&!A&&b,B=k&&b,N=T&&b&&(null===(t=E.user)||void 0===t?void 0:t.email)!==(null===S||void 0===S?void 0:S.email),M=P.has("ExternalCustomers")&&b&&!T,R=!A&&(Sk(S)||b),L=e=>{const t={...S,...e};v((0,lp.PE)(t)),(e=>{const t=Sk(e);y.id&&v(t?(0,lp.nP)({id:y.id,customer:e}):(0,lp.nP)({id:y.id,customer:void 0}))})(t)},F=async e=>{v((0,yt.o$)(f)(e)),await v((0,yt.zm)(f)()),v((0,yt.iR)(f)())};return(0,m.jsxs)(Ik,{header:g("seller.customer"),icon:i.USd,className:`${h||""}`,padBottom:!0,children:[(A||_)&&(0,m.jsx)(Y.A,{height:70}),D&&!_&&(0,m.jsx)(_k,{column:!0,className:b?"":"h-100",children:S&&Sk(S)?(0,m.jsxs)(Dk,{sellerOffer:I,children:[(0,m.jsxs)(s.EY,{fontSize:14,extraBold:!0,uppercase:!0,children:[S.customerCode," ",S.customerName]}),(0,m.jsx)(s.EY,{children:S.fullName}),(0,m.jsx)(s.EY,{children:S.email})]}):(0,m.jsx)(Pk,{align:"center",justify:"center",children:(0,m.jsx)(s.K0,{disabled:A||_,onClick:()=>{w(!0)},className:"mr-1",square:!0,icon:i.X46,children:g("seller.customer")})})}),j&&(0,m.jsxs)(Ek,{gap:"8px",columns:{base:"repeat(auto-fit, minmax(300px, 1fr))"},children:[(0,m.jsx)(s.pd,{label:g("user.customerNumber"),name:"code_change",type:"text",value:null!==(n=null===S||void 0===S?void 0:S.customerCode)&&void 0!==n?n:"",className:"",onFocus:e=>e.currentTarget.select(),onChange:e=>L({customerCode:e.target.value})}),(0,m.jsx)(s.pd,{name:"customername_change",label:g("contact.company"),type:"text",value:null!==(r=null===S||void 0===S?void 0:S.customerName)&&void 0!==r?r:"",className:"",onFocus:e=>e.currentTarget.select(),onChange:e=>L({customerName:e.target.value})}),(0,m.jsx)(s.pd,{label:g("contact.name"),name:"fullname_change",type:"text",value:null!==(o=null===S||void 0===S?void 0:S.fullName)&&void 0!==o?o:"",className:"",onFocus:e=>e.currentTarget.select(),onChange:e=>L({fullName:e.target.value})}),(0,m.jsx)(s.pd,{name:"email_change",label:g("contact.email"),type:"text",value:null!==(a=null===S||void 0===S?void 0:S.email)&&void 0!==a?a:"",className:"",onFocus:e=>e.currentTarget.select(),onChange:e=>L({email:e.target.value})})]}),(0,m.jsxs)(s.so,{gap:"8px",column:!0,className:"mt-3",children:[N&&(0,m.jsxs)(Tk,{disabled:A||_,icon:i.X46,square:!0,onClick:async()=>{var e;null!==(e=E.user)&&void 0!==e&&e.email&&y.id&&(w(!1),await v((0,lp.OB)({email:E.user.email,offerId:y.id})),F({addressId:0}))},children:[g("action.select")," ",null===(l=E.user)||void 0===l?void 0:l.customerCode," - ",null===(p=E.user)||void 0===p?void 0:p.email]}),B&&(0,m.jsx)(Tk,{disabled:A||_,square:!0,onClick:()=>{C("seller")},icon:i.ORS,children:g("seller.selectCustomer")}),M&&(0,m.jsxs)(Tk,{disabled:A||_,icon:i.ORS,square:!0,onClick:()=>C("external"),children:[g("seller.selectCustomer"),B?` (${g("reseller.externalSupplier").toLowerCase()})`:""]}),x&&y.id&&(0,m.jsx)(Ht.lG,{blur:!0,tint:!0,closeOutside:!0,maxHeight:"90%",onClose:()=>{C(void 0)},children:(0,m.jsxs)(Ok,{children:["seller"===x&&(0,m.jsx)(Ck.C1,{onSelect:async e=>{e.email&&y.id&&(C(void 0),w(!1),await v((0,lp.OB)({email:e.email,offerId:y.id})),F({addressId:0}))},selected:null===S||void 0===S?void 0:S.email}),"external"===x&&(0,m.jsx)(Ck.bO,{onSelect:async e=>{C(void 0),I&&y.id&&await v((0,lp.OB)({email:null,offerId:y.id})),L({customerCode:e.customerCode,customerName:e.customerName,email:void 0,fullName:void 0});const t=e.address?{addressId:999,...e.address,companyId:e.id,company:e.customerName}:{companyId:e.id,company:e.customerName};F(t),w(!1)},selectedId:null===O||void 0===O?void 0:O.companyId})]})})]}),(0,m.jsx)(s.L0,{top:"calc(100% - 2rem)",children:(0,m.jsxs)(s.so,{gap:"1em",children:[R&&(0,m.jsx)(al,{onClick:()=>{w(!b)},onOk:()=>w(!1),editing:b}),Sk(S)&&(0,m.jsx)(al,{onClick:async()=>{y.id&&(w(!1),v((0,lp.PE)(void 0)),I?await v((0,lp.OB)({email:null,offerId:y.id})):(v((0,yt.o$)(f)({companyId:void 0,company:void 0,address1:void 0,address2:void 0,city:void 0,addressId:void 0,country:void 0,postalCode:void 0})),v((0,lp.nP)({id:y.id,customer:void 0})),await v((0,yt.zm)(f)())),v((0,yt.iR)(f)()))},label:g("action.remove"),icon:i.yLS,editing:!1})]})})]})},Ek=(0,p.Ay)(s.xA).withConfig({componentId:"sc-2t1ta8-0"})([""]),Ik=(0,p.Ay)(ol).withConfig({componentId:"sc-2t1ta8-1"})(["label{font-size:14px;}"]),_k=(0,p.Ay)(s.so).withConfig({componentId:"sc-2t1ta8-2"})([""]),Pk=(0,p.Ay)(s.so).withConfig({componentId:"sc-2t1ta8-3"})(["height:100%;"]),Ok=p.Ay.div.withConfig({componentId:"sc-2t1ta8-4"})(["background:",";padding:3rem;padding-right:3.5rem;"],(e=>{let{theme:t}=e;return t.colors.fill})),Tk=(0,p.Ay)(s.K0).withConfig({componentId:"sc-2t1ta8-5"})(["width:100%;"]),Dk=p.Ay.div.withConfig({componentId:"sc-2t1ta8-6"})(["padding:1rem;background-color:",";","{color:",";}"],(e=>{let{theme:t,sellerOffer:n}=e;return n?t.colors.attention:t.colors.accent}),s.EY,(e=>{let{theme:t,sellerOffer:n}=e;return n?t.colors.attentionText:t.colors.accentText}));var jk=n(62721);const Bk=e=>{let{className:t}=e;const{cartType:n}=(0,u.useContext)(vt.A),{t:r}=(0,d.B)(),a=(0,c.jL)(),l=(0,c.GV)((0,yt.IG)(n)),p=(0,c.GV)(lp.y9),h="initialized"!==l||p,f=(0,c.GV)(yt.u5),[g,v]=(0,u.useState)(!1),y=(0,c.GV)((0,yt.i6)(n)),A=(0,c.GV)((0,yt.FH)(n)),b=(0,c.GV)(lp.Co),w=(0,c.GV)(Kt.GY),x=(0,c.GV)((0,yt.zW)(n)),C=(0,c.GV)(lp.bj),S=(0,c.GV)((0,yt.vQ)(n)),k=(0,c.GV)((0,yt.ZD)(n));(0,u.useEffect)((()=>{C||"uninitialized"!==l||a((0,lp.XE)())}),[a,l,C]);const E=x.address===Qc.H.Valid,I=!g&&!h&&E,_=g&&!h;return(0,m.jsxs)(Nk,{header:r("cart.orderAndDelivery","Order & Delivery"),icon:i.LCj,className:`${t||""}`,padBottom:!h,children:[h&&(0,m.jsx)(Y.A,{height:70}),I?(0,m.jsxs)("div",{className:"mb-2",children:[S&&k.length?(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(jk.jv,{fontSize:14,address:k[0]}),(0,m.jsx)(s.EY,{fontSize:14,className:"mt-3",children:r("shipment.sendTo_other","Send to multiple addresses")}),(0,m.jsxs)(s.EY,{fontSize:14,children:[k.length," ",r("cart.addressSelected",{context:1===k.length?"one":"other"})]})]}):(0,m.jsx)(jk.jv,{fontSize:14,address:y}),(0,m.jsx)(s.L0,{top:"24px",children:(0,m.jsx)(s.IZ,{valid:x.allExceptTerms})})]}):h?null:(0,m.jsx)(s.so,{align:"center",justify:"center",className:"h-100",children:(0,m.jsx)(s.K0,{onClick:()=>{v(!0)},className:"mr-1",square:!0,icon:i.HCy,children:r("cart.configureCheckout","Configure checkout")})}),_&&(0,m.jsx)(Ht.lG,{onClose:()=>{v(!1)},blur:!0,tint:!0,closeOutside:!0,maxHeight:"90%",maxWidth:"680px",children:(0,m.jsxs)(Mk,{className:"",children:[(0,m.jsx)(Fk,{className:"",children:w.has("ExternalCustomers")&&!b?(0,m.jsx)(m.Fragment,{children:null!==A&&void 0!==A&&A.companyId?(0,m.jsxs)(m.Fragment,{children:[(0,m.jsxs)(s.EY,{extraBold:!0,children:[r("seller.customer"),(0,m.jsx)(o.g,{className:"ml-2",icon:i.USd})]}),(0,m.jsx)(s.EY,{children:A.company})]}):(0,m.jsx)(s.EY,{color:"error",children:r("offer.warnExternalCustomerMissing","Missing customer reference!")})}):(0,m.jsx)(s.EY,{extraBold:!0,children:r("cart.orderAndDelivery","Order & Delivery")})}),(0,m.jsx)(yC.b,{...f}),(0,m.jsx)(Lk,{justify:"end",children:(0,m.jsx)(s.$n,{onClick:()=>v(!1),children:r("action.ok")})})]})}),(0,m.jsx)(s.L0,{top:"calc(100% - 2rem)",children:(0,m.jsx)(s.so,{gap:"1em",children:I&&(0,m.jsx)(al,{onClick:()=>{v(!g)},onOk:()=>v(!1),editing:g})})})]})},Nk=(0,p.Ay)(ol).withConfig({componentId:"sc-1ve2xx7-0"})(["font-size:14px;"]),Mk=p.Ay.div.withConfig({componentId:"sc-1ve2xx7-1"})([""]),Rk=(0,p.AH)(["padding:20px;"]),Lk=(0,p.Ay)(s.so).withConfig({componentId:"sc-1ve2xx7-2"})([""," background:white;border-top:2px solid ",";position:sticky;bottom:0;margin-top:-2px;"],Rk,(e=>{let{theme:t}=e;return t.colors.fill})),Fk=p.Ay.div.withConfig({componentId:"sc-1ve2xx7-3"})([""," background:",";"],Rk,(e=>{let{theme:t}=e;return t.colors.fillMedium}));var zk=n(72840);const Qk=()=>{const e=(0,c.jL)(),{t:t}=(0,d.B)(),n=(0,c.GV)(lp.Lt.offerMatrixProducts),r=(0,c.GV)(lp.Lt.matrixSkuLevel),i=(0,c.GV)(lp.Lt.selectedOfferUpdatePending),o=(0,c.GV)(lp.Lt.selectedOfferRefinements),a=(0,c.GV)(lp.Lt.matrixOperations),s=(0,c.GV)(lp.Lt.relatedProductNumbers),l=(0,c.GV)(lp.Lt.relatedVariations),u=(0,c.GV)(lp.Lt.selectedVariationNumber),p=(0,c.GV)(lp.Lt.selectedVariationColors),h=()=>{const i=function(e,t){const n=[];for(const i of e)if(i.variations)for(const e of i.variations){var r;("variation"===t?null!==(r=e.quantity)&&void 0!==r?r:0:(0,zk.Y)(e.skus,"quantity"))<=0&&n.push(`${i.productName} - ${e.color}`)}return n}(n,r);function o(){e((0,lp.FU)()).then((()=>{e((0,lp.Sz)(!1))}))}const a={stretchButtons:!0,title:t("warning.note","Note!"),description:t("collection.noSkuWarning","The following articles have no selected quantities and will be removed together with any placed refinement: ")+"\r\n\r\n"+i.join("\r\n"),onOk:o};i.length?e((0,f.wp)(a)):o()};return(0,m.jsx)(Ht.lG,{header:t("product.addRemove","Add / Remove articles"),blur:!0,tint:!0,width:"80%",onClose:()=>{if(a.length){const n={stretchButtons:!0,title:t("unsavedWarning.title"),description:t("unsavedWarning.text"),okLabel:t("unsavedWarning.yes"),cancelLabel:t("unsavedWarning.no"),onOk:h,onCancel:()=>{e((0,lp.$4)()),e((0,lp.Sz)(!1))}};e((0,f.wp)(n))}else e((0,lp.Sz)(!1))},maxHeight:"100vh",children:(0,m.jsx)(Uk,{children:(0,m.jsx)(vi,{products:n,relatedProductNumbers:s,relatedVariations:l,onAddVariation:async(t,n)=>{e((0,lp.Gz)({operation:{type:be.OfferOperationType.Add,skuPattern:t,quantity:1},send:!0})),await e((0,lp.EF)([n])),e((0,lp.rM)(t))},onModifyVariation:(t,n,r)=>{e((0,lp.Gz)({operation:{type:be.OfferOperationType.Set,skuPattern:n,quantity:r}}))},onRemoveVariation:n=>{const r=o.filter((e=>{var t;return null===(t=e.positions)||void 0===t?void 0:t.every((e=>e.variationNumber===n))})),i=r.map(((e,t)=>{var n,r;const i=null===(n=e.inputs)||void 0===n||null===(r=n.find((e=>e.type===be.ShopCartRefinementInputType.Size)))||void 0===r?void 0:r.value;return`${t+1}. ${e.name}${i?` - ${i}`:""}`}));if(r.length){const r={stretchButtons:!0,title:t("warning.note","Note!"),description:`${t("article.deleteWarning",{name:n})}\n       ${i.length?`${t("collection.refinementsRemovedWarning","The following refinements are only placed on this article and will also be removed: ")}\n        ${i.join("\r\n")}\n       `:""}`,onOk:()=>{e((0,lp.Gz)({operation:{type:be.OfferOperationType.Remove,skuPattern:n},send:!0}))}};e((0,f.wp)(r))}else{const r={stretchButtons:!0,title:t("cart.removeVariation"),description:`${t("article.deleteWarning",{name:n})}`,okLabel:t("confirmation.remove","Yes, remove"),onOk:()=>{e((0,lp.Gz)({operation:{type:be.OfferOperationType.Remove,skuPattern:n},send:!0}))}};e((0,f.wp)(r))}},onSaveAndClose:h,onVariationSelected:t=>e((0,lp.rM)(t)),onToggleSkuLevel:n=>{if(a.length){const r={stretchButtons:!0,title:t("unsavedWarning.title"),description:t("unsavedWarning.text"),okLabel:t("unsavedWarning.yes"),cancelLabel:t("unsavedWarning.no"),onOk:()=>{e((0,lp.FU)()).then((()=>{e((0,lp.tL)(n))}))},onCancel:()=>{e((0,lp.$4)()),e((0,lp.tL)(n))}};e((0,f.wp)(r))}else e((0,lp.tL)(n))},skuLevel:r,pending:i,selectedVariationNumber:u,selectedVariationColors:p})})})},Uk=p.Ay.div.withConfig({componentId:"sc-14tgkrl-0"})(["background-color:",";padding-top:3rem;"],(e=>{let{theme:t}=e;return t.colors.fill}));const Vk=()=>{const{t:e}=(0,d.B)(),t=(0,c.jL)(),{offer:n,pending:r}=(0,c.GV)(lp.LF);return n||r?(0,m.jsxs)(ol,{header:e("order.order_one"),icon:i.YEm,padBottom:!0,children:[(0,m.jsxs)(s.gK,{fontSize:"14px",onClick:()=>{t((0,qs.On)("Orders")),n.orderNumber&&t((0,El.r$)(n.orderNumber))},children:[n.orderNumber,(0,m.jsx)(o.g,{icon:K.Ju_,size:"sm",className:"ml-1"})]}),"number"===typeof n.status&&(0,m.jsx)(YS,{className:"f3-400 mt-3",status:n.status}),(0,m.jsxs)(s.so,{align:"center",className:"mt-3",children:[(0,m.jsx)(o.g,{fontSize:20,color:Wt.A.colors.warning,icon:i.tUE}),(0,m.jsx)(s.EY,{fontSize:14,className:"ml-2",children:e("warning.changesPartlyDisabled")})]})]}):null};var Gk=n(74383);const qk=(0,p.Ay)(s.so).withConfig({componentId:"sc-nck2kt-0"})(["border-bottom:1px solid ",";padding-bottom:0.5rem;"],(e=>{let{theme:t}=e;return t.colors.borderLight})),Hk=()=>{var e;const{t:t}=(0,d.B)(),{pending:n,offer:r,updatePending:i}=(0,c.GV)(lp.LF),o=(0,c.GV)(lp.yL),a=(0,c.GV)($e.Bm),s=(0,c.GV)($e.IR),l=(0,c.GV)($e.hI);if(n)return(0,m.jsx)(Y.A,{height:"100%",width:300});if(!r.total)return null;const u=function(e){if(!e)return!1;let t=0;null!==e&&void 0!==e&&e.totalProducts&&(t+=1);null!==e&&void 0!==e&&e.totalCostLines&&(t+=1);null!==e&&void 0!==e&&e.totalRefinement&&(t+=1);return t>1}(r.total),p=a&&r.total.priceTotal,h=s&&r.total.priceTotal&&"discount"===o&&r.discountMode!==be.DiscountMode.CustomerPrice;return(0,m.jsx)(Wk,{children:(0,m.jsx)(Pa.Ay,{total:r.total.totalExVat,pending:i,children:(0,m.jsxs)(m.Fragment,{children:[u&&r.total.totalProducts&&(0,m.jsx)(Pa.Q3,{label:t("product.product_other"),value:r.total.totalProducts,pending:i}),u&&r.total.totalCostLines&&(0,m.jsx)(Pa.Q3,{label:t("offer.additionalCosts"),value:r.total.totalCostLines,pending:i}),u&&r.total.totalRefinement&&(0,m.jsx)(Pa.Q3,{label:t("refinement.refinement_other"),value:r.total.totalRefinement,pending:i}),p&&(0,m.jsx)(Pa.Q3,{className:"mt-1",label:`${t("general.total")}, ${t("price.customer")}`,value:r.total.priceTotal,pending:i,bold:"margin"===o||r.discountMode===be.DiscountMode.CustomerPrice}),h&&(0,m.jsx)(Pa.Q3,{className:p?"":"mt-1",label:`${t("general.total")}, ${r.discountMode===be.DiscountMode.Retail?t("price.rrp_short"):null!==(e=null===l||void 0===l?void 0:l.prefixSales)&&void 0!==e?e:t("price.regular_short")}`,value:r.discountCostPrice,pending:i,bold:"discount"===o&&r.discountMode!==be.DiscountMode.CustomerPrice}),(a||s&&"discount"===o)&&(0,m.jsx)(Pa.Q3,{className:"mt-1",label:t("discount"===o?"offer.discount":"offer.margin"),value:"discount"===o?r.discountValue:r.markup,pending:i})]})})})};const Wk=p.Ay.div.withConfig({componentId:"sc-nablxo-0"})(["flex-grow:1;min-width:225px;height:fit-content;"]),Yk=()=>{const{t:e}=(0,d.B)(),t=(0,c.jL)(),n=(0,c.cb)(),r=(0,c.GV)(lp.Lt.selectedOfferOrderedProduct),o=(0,c.GV)(lp.Lt.selectedOfferSortingActive),a=(0,c.GV)(lp.Lt.isSellerOffer),l=(0,c.GV)(lp.Lt.discountMode),u=(0,c.GV)(lp.Lt.percentType),{offer:p,pending:h,updatePending:f}=(0,c.GV)(lp.Lt.offer),g=(0,c.GV)(lp.Lt.detailsSerialNr),v=(0,c.GV)(lp.Lt.discountModeOptions),y=(0,c.GV)($e.V2),A=(0,c.GV)($e.Bm),b=(0,c.GV)($e._M),w=(0,c.GV)(Kt.tO);return(0,m.jsxs)(qk,{align:n.width>1270?"end":"start",gap:"1rem",$reverse:n.width<1270,column:n.width<1270,children:[(0,m.jsxs)(s.so,{$grow:1,gap:"0.5rem",children:[r.length>1&&(0,m.jsx)(s.K0,{square:!0,icon:i.o97,bgColor:o?"accent":"fillMedium",color:o?"accentText":"text",onClick:()=>t(lp.w9.toggleSorting()),disabled:f,children:o?`${e("action.save","Save")}`:`${e("action.sort","Sort")}`}),(0,m.jsx)(s.K0,{square:!0,icon:i.DX_,bgColor:"fillMedium",onClick:()=>{t(lp.o1.showModifyProductsSet(!0))},disabled:f,children:e("product.addRemove","Add / Remove articles")})]}),(0,m.jsx)(Kk,{children:(0,m.jsxs)(s.so,{gap:"1rem",children:[h?(0,m.jsx)(Y.A,{height:"100%",width:180}):(0,m.jsxs)(Jk,{column:!0,gap:"1rem",justify:"center",align:"center",$grow:1,children:[y!==be.PriceViewSetting.None&&(0,m.jsxs)(s.so,{column:!0,className:"w-100",children:[(0,m.jsxs)(s.EY,{bold:!0,fontSize:14,children:[e("discount"===u?"offer.discount":"offer.margin")," (%)"]}),(0,m.jsx)(s.m_,{tooltip:"discount"===u?e("offer.discountInfo","All products receives a discount in percentage."):e("offer.marginInfo","All products receives a margin in percentage."),placement:"bottom",children:(0,m.jsx)(ak,{width:"none",className:"w-100",id:"margin-input",initialValue:"margin"===u?p.margin:p.discount},g+u)})]}),y!==be.PriceViewSetting.None&&(0,m.jsxs)(m.Fragment,{children:[A&&(0,m.jsx)(Gk.A,{className:"w-100",small:!1,valueLabelLeft:e("offer.discount"),valueLabelRight:e("offer.margin"),checked:"margin"===u,onClick:()=>{t(lp.o1.percentTypeToggled())}}),w&&a&&"discount"===u&&v.length>1&&(0,m.jsx)(Gk.k,{className:"w-100",small:!1,options:v,checked:l,onClick:e=>{t(lp.w9.setDiscountMode(e))}})]}),y!==be.PriceViewSetting.RetailAndCustomer&&!b&&(0,m.jsx)(s.K0,{icon:i.wq_,square:!0,bgColor:"fill",onClick:async()=>{await t((0,_a.Jf)({priceSetting:be.PriceViewSetting.RetailAndCustomer}))},children:e("price.retailAndCustomer")})]}),(0,m.jsx)(Xk,{}),(0,m.jsx)(Hk,{})]})})]})},Kk=(0,p.Ay)(il).withConfig({componentId:"sc-1ncuxoa-0"})(["background-color:",";flex-grow:1;width:100%;","{width:auto;}"],(e=>{let{theme:t}=e;return t.colors.white}),(e=>{let{theme:t}=e;return t.media.lg})),Jk=(0,p.Ay)(s.so).withConfig({componentId:"sc-1ncuxoa-1"})([""]),Xk=p.Ay.div.withConfig({componentId:"sc-1ncuxoa-2"})(["border-left:1px solid ",";"],(e=>{let{theme:t}=e;return t.colors.border})),Zk=e=>{var t,n,r,o,a;let{className:l}=e;const{t:p}=(0,d.B)(),h=(0,c.jL)(),{offer:f,pending:g}=(0,c.GV)(lp.LF),[v,y]=(0,u.useState)(!1);return(0,m.jsxs)($k,{header:null!==(t=f.name)&&void 0!==t?t:p("offer.offer_one"),icon:i.DO5,className:`${l||""}`,padBottom:!0,children:[g&&(0,m.jsx)(Y.A,{height:70}),!g&&f&&!v&&(0,m.jsx)(m.Fragment,{children:(0,m.jsxs)(s.xA,{gap:"0 1rem",columns:{base:"auto 1fr"},children:[(0,m.jsx)(s.EY,{fontSize:14,className:"mr-2 f3-700",children:p("general.created","Created")}),(0,m.jsx)(s.EY,{fontSize:14,children:null===(n=f.created)||void 0===n?void 0:n.str}),f.expirationDate&&(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(s.EY,{fontSize:14,className:"mr-2 f3-700",children:p("offer.expires")}),(0,m.jsx)(s.EY,{fontSize:14,children:f.expirationDate.str})]}),f.daysBeforeReminder?(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(s.EY,{fontSize:14,className:"mr-2 f3-700",children:p("offer.daysBeforeReminder")}),(0,m.jsx)(s.EY,{fontSize:14,children:f.daysBeforeReminder})]}):null]})}),!g&&f&&v&&(0,m.jsx)(m.Fragment,{children:(0,m.jsxs)(s.so,{column:!0,gap:"8px",align:"stretch",children:[(0,m.jsx)(s.pd,{label:p("general.name"),name:"name_change",type:"text",defaultValue:null!==(r=f.name)&&void 0!==r?r:"",className:"",onFocus:e=>e.currentTarget.select(),onChange:Mn()((e=>f.id&&h((0,lp._D)({id:f.id,name:e.target.value}))),500)}),(0,m.jsxs)("div",{children:[(0,m.jsx)(eE,{as:"label",fontSize:14,className:"f3-700 mb-0",children:p("offer.expires","Expires")}),(0,m.jsx)(s.t1,{header:p("offer.expires","Expires"),showIcon:!0,selectedDate:null!==(o=f.expirationDate)&&void 0!==o&&o.utc?new Date(f.expirationDate.utc):void 0,onChange:e=>{e&&!Array.isArray(e)&&(e.setHours(0,0,0,0),h((0,lp.EO)(e.toISOString())))},filter:"Future"})]}),(0,m.jsx)(s.pd,{label:p("offer.daysBeforeReminder","Days before reminder"),type:"number",defaultValue:null!==(a=f.daysBeforeReminder)&&void 0!==a?a:0,onChange:Mn()((e=>{h((0,lp.FW)(e.target.valueAsNumber||null))}),500)})]})}),!g&&(0,m.jsx)(s.L0,{top:"calc(100% - 2rem)",children:(0,m.jsx)(al,{onClick:()=>y(!v),editing:v})})]})},$k=(0,p.Ay)(ol).withConfig({componentId:"sc-1mrcgxk-0"})(["label{font-size:14px;}"]),eE=(0,p.Ay)(s.EY).withConfig({componentId:"sc-1mrcgxk-1"})(["margin:0;padding-top:3px;padding-bottom:3px;"]),{origin:tE}=document.location,nE=()=>{const{t:e}=(0,d.B)(),t=(0,c.jL)(),{offer:n,pending:r}=(0,c.GV)(lp.LF),a=(0,c.GV)(gt.Fu);return n||r?(0,m.jsx)(ol,{header:e("offer.shareOffer"),icon:i.jBL,padBottom:!0,children:r?(0,m.jsx)(Y.A,{height:70}):n?(0,m.jsxs)(m.Fragment,{children:[!n.publicIdentifier&&(0,m.jsx)(oE,{align:"center",justify:"center",children:(0,m.jsx)(s.K0,{onClick:()=>{t((0,lp.QN)())},className:"mr-1",square:!0,icon:K.P7h,children:e("offer.shareOffer","Share offer")})}),n.publicIdentifier&&(0,m.jsxs)(rE,{className:"w-100",align:"start",justify:"between",gap:"16px",children:[(0,m.jsxs)("div",{children:[(0,m.jsxs)(iE,{to:`${tE}${null!==a&&void 0!==a&&a.isMasterLanguage||null===a||void 0===a||!a.name?"":"/"+a.name}/public/offer/${n.publicIdentifier}`,target:"_blank",rel:"noreferrer",children:[e("offer.publicOffer"),(0,m.jsx)(o.g,{size:"sm",className:"ml-1",icon:K.Ju_})]}),n.publicIdentifier&&"number"===typeof n.visitors&&(0,m.jsx)(m.Fragment,{children:(0,m.jsx)(s.so,{className:"mr-3",justify:"between",children:(0,m.jsxs)(s.EY,{fontSize:14,children:[n.visitors," ",e("offer.visitors","Visitors")]})})}),n.comment&&(0,m.jsxs)("div",{className:"mt-2",children:[(0,m.jsx)(s.EY,{fontSize:14,bold:!0,className:"f3-700",children:e("general.comment")}),(0,m.jsx)(s.EY,{fontSize:14,className:"f3-400",children:n.comment})]}),"number"===typeof n.status&&(0,m.jsx)(YS,{className:"f3-400 mt-3",status:n.status>be.OfferStatus.Rejected?be.OfferStatus.Accepted:n.status})]}),(0,m.jsx)(s.L0,{top:"calc(100% - 2rem)",children:(0,m.jsx)(al,{editing:!1,label:e("action.remove"),icon:i.yLS,onClick:async()=>{t((0,f.wp)({title:e("offer.removePublicUrlAlert","Remove public url?"),okLabel:e("offer.removePublicUrlAlertConfirm","Yes remove."),cancelLabel:e("general.no"),content:(0,m.jsx)("span",{children:e("offer.removePublicUrlAlertContent","Do you want to remove your public offer from offer {{name}}",{name:n.name})}),onOk:()=>t((0,lp.l4)())}))}})})]})]}):null}):null},rE=(0,p.Ay)(s.so).withConfig({componentId:"sc-1v6u7sr-0"})(["white-space:nowrap;font-size:16px;"]),iE=(0,p.Ay)(s.N_).withConfig({componentId:"sc-1v6u7sr-1"})(["font-size:14px;"]),oE=(0,p.Ay)(s.so).withConfig({componentId:"sc-1v6u7sr-2"})(["height:100%;"]),aE=e=>{var t,n,r;let{containerRef:o,onRemoveOffer:a,onBack:s}=e;const l=(0,c.jL)(),{t:p}=(0,d.B)(),h=(0,c.cb)(),{offer:f,pending:g}=(0,c.GV)(lp.Lt.offer),v=(0,c.GV)(lp.Lt.percentType),y=(0,c.GV)(lp.Lt.isOfferOrder),A=(0,c.GV)(lp.Lt.showModifyProducts),b=(0,c.GV)(lp.Lt.discountMode),w=(0,c.GV)($e.V2),x=!(null!==(t=f.products)&&void 0!==t&&t.length)&&!(null!==(n=f.refinements)&&void 0!==n&&n.length);(0,u.useEffect)((()=>{w===be.PriceViewSetting.Retail&&"margin"===v&&l(lp.o1.percentTypeToggled())}),[w,v,b,l]);const C=[{value:be.DiscountMode.CustomerPrice,label:p("price.customer")},{value:be.DiscountMode.Retail,label:p("price.rrp_short")}];return null!==(r=f.products)&&void 0!==r&&r.find((e=>{var t;return null===(t=e.variations)||void 0===t?void 0:t.find((e=>{var t;return null===(t=e.price)||void 0===t?void 0:t.regular}))}))&&C.push({value:be.DiscountMode.Secondary,label:p("price.regular_short")}),(0,m.jsx)(vt.A.Provider,{value:{cartType:"offerCart",cartHeader:""},children:(0,m.jsx)(Oc,{id:"offer_details",className:"pt-5",containerRef:o,onBack:s,sections:[{id:"summary",header:p("general.summary","Summary"),hideExpandedHeader:!0,content:(0,m.jsxs)(lE,{column:h.lgBelow,align:"stretch",gap:"0.5rem",$wrap:!0,children:[(0,m.jsx)(Zk,{}),(0,m.jsx)(kk,{}),y?(0,m.jsx)(Vk,{}):(0,m.jsx)(Bk,{}),(0,m.jsx)(nE,{})]}),actions:f?[{label:`${p("action.configure","Configure")} ${p("pdf.pdf","PDF").toLowerCase()}`,onClick:()=>{var e,t,n;f&&l(Yt.w9.exportToolOpened({origin:"offer",parameters:{productNumbers:null!==(e=null===(t=f.products)||void 0===t?void 0:t.map((e=>{var t;return null!==(t=e.productNumber)&&void 0!==t?t:""})))&&void 0!==e?e:[]},data:{refinements:f.refinements,pdfSettings:{...f.settings},variationNumbers:(0,yt.Uz)(f.products),pdfCartVariations:null===(n=f.products)||void 0===n?void 0:n.flatMap((e=>{var t,n;return null!==(t=null===(n=e.variations)||void 0===n?void 0:n.filter((e=>e.total&&!0!==e.refinementProduct)).map((e=>{var t;return{...e,comment:null!==(t=e.comment)&&void 0!==t?t:void 0}})))&&void 0!==t?t:[]}))},selectedTab:"pdf",options:{tabs:["pdf"]}}))},icon:i._$s,disabled:x||g},...y?[]:[{label:p("offer.confirmOffer","Confirm offer"),onClick:()=>{l((0,yt.Bb)("offerCart")()),l((0,lp.GB)("OfferCart"))},icon:i.WfV,disabled:x||g}],{label:p("cart.add_one"),onClick:()=>{f&&f.id&&l((0,yt.ZC)("shoppingCart")(f.id))},icon:i.K$j,disabled:x||g},{label:p("action.actions"),onClick:()=>{},icon:i.nx5,subActions:[{label:p("action.duplicate","Duplicate"),pending:g,onClick:()=>l((0,lp.ts)({name:`${f.name} - copy`,copyFromOffer:f.id})),icon:i.jPR},{label:p("offer.remove","Remove offer"),pending:g,disabled:y,onClick:()=>{var e;return f.id&&a(f.id,null!==(e=f.name)&&void 0!==e?e:"")},icon:i.yLS}]}]:[]},{id:"products",header:p("product.product_other"),actions:[{label:p("offer.additionalCost"),onClick:()=>{l(lp.w9.addCostDescription({}))},icon:i.wq_,disabled:x||g},{label:p("refinement.add"),onClick:()=>{var e,t,n,r,i;l((0,ke.Gf)({type:"refinement",origin:"OfferTool",create:{variationNumber:null!==(e=null===(t=f.products)||void 0===t||null===(n=t[0])||void 0===n||null===(r=n.variations)||void 0===r||null===(i=r[0])||void 0===i?void 0:i.variationNumber)&&void 0!==e?e:""}}))},icon:i.hiR,disabled:x||g}],content:(0,m.jsxs)(sE,{column:!0,children:[(0,m.jsx)(Yk,{}),(0,m.jsxs)("div",{className:"mt-4",children:[(0,m.jsx)(pk,{}),(0,m.jsx)(yk,{}),(0,m.jsx)(yk,{type:be.ShopCartRefinementType.Product}),(0,m.jsx)(wk,{})]}),A&&(0,m.jsx)(Qk,{})]})}]})})},sE=(0,p.Ay)(s.so).withConfig({componentId:"sc-wvg5et-0"})(["position:relative;"]),lE=(0,p.Ay)(s.so).withConfig({componentId:"sc-wvg5et-1"})(["> div{flex-grow:1;min-width:20%;}"]),cE=()=>{const{t:e}=(0,d.B)(),t=(0,c.jL)(),n=(0,c.GV)(lp.p5),r=(0,c.GV)(lp.vW),i=(0,c.GV)(lp.LF).offer,o=(0,c.GV)(Kt.eN);(0,u.useEffect)((()=>{t((0,lp.Sw)({}))}),[t]);const a=(n,r)=>{t((0,f.wp)({title:`${e("offer.remove")}`,okLabel:e("action.remove"),content:(0,m.jsxs)("p",{children:[(0,m.jsxs)("span",{children:[e("offer.removeConfirmation","Are you sure you want to remove offer")," "]}),(0,m.jsx)("span",{className:"f3-700",children:r})]}),onOk:()=>(e=>{t((0,lp.jb)(e)),t((0,lp.GB)("AllOffers"))})(n)}))},s=(0,u.useCallback)((()=>{t((0,lp.GB)("AllOffers"))}),[t]),l=(0,u.useCallback)((()=>{t((0,lp.GB)("OfferDetails")),r&&t((0,lp.tP)({offerId:r,force:!0}))}),[t,r]);return(0,m.jsx)(tl.A,{type:"Offers",children:{options:{sellingOrOverriding:!(null===o||void 0===o||!o.customerRelation),sellingDisabled:"AllOffers"!==n},component:(t=>{var n,r;switch(t){case"AllOffers":return{title:e("offer.offer_other","Offers"),content:e=>(0,m.jsx)($S,{onRemoveOffer:a,renderWidth:e})};case"OfferCart":return{title:null!==(n=null===i||void 0===i?void 0:i.name)&&void 0!==n?n:"",content:()=>(0,m.jsx)(qS,{}),onBack:l};case"OfferDetails":return{title:null!==(r=null===i||void 0===i?void 0:i.name)&&void 0!==r?r:"",content:(e,t)=>(0,m.jsx)(m.Fragment,{children:(0,m.jsx)(aE,{onRemoveOffer:a,containerRef:t.main,onBack:s})}),onBack:s}}})(n)}})},uE=e=>{var t,n,r,o;let{className:a}=e;const l=(0,c.GV)((e=>{let{user:t}=e;return t.userIdentity})),p=(0,c.GV)((e=>{let{orders:t}=e;return t.filter.orderType})),h=(0,c.jL)(),{t:f}=(0,d.B)(),[g,v]=(0,u.useState)(null),y=null===l||void 0===l||null===(t=l.orderOptions)||void 0===t||null===(n=t.systemOrderTypes)||void 0===n?void 0:n.map((e=>({name:(0,El.w8)(e,f),value:e}))),A=[...null!==(r=null===l||void 0===l||null===(o=l.orderOptions)||void 0===o?void 0:o.orderTypes)&&void 0!==r?r:[],...null!==y&&void 0!==y?y:[]];return(0,u.useEffect)((()=>{v(p)}),[p]),null==A&&null==y?null:(0,m.jsx)(dE,{background:"white",className:a||"",label:f("filter.filter_other","Filters"),icon:i.P0b,square:!0,children:e=>(0,m.jsxs)(hE,{children:[(0,m.jsx)(pE,{children:f("order.type","Order type")}),(0,m.jsxs)(fE,{children:[(0,m.jsx)(mE,{className:"my-1 pr-2",label:f("general.all","All"),checked:null===g,onChange:()=>v(null),bgColor:"fill",defaultChecked:!1}),null===A||void 0===A?void 0:A.map(((e,t)=>{var n;return(0,m.jsx)(mE,{className:"my-1 pr-2",label:null!==(n=e.name)&&void 0!==n?n:void 0,checked:g===e.value,onChange:()=>{var t;return v(null!==(t=e.value)&&void 0!==t?t:"")},bgColor:"fill",defaultChecked:!1},`userType_${t}`)}))]}),(0,m.jsx)(s.so,{justify:"end",children:(0,m.jsxs)("div",{className:"align-self-end mt-2 mr-2 mb-1",children:[(0,m.jsx)(s.$n,{className:"mr-1",bgColor:"fillWhite",onClick:()=>{e()},children:f("action.cancel","Cancel")}),(0,m.jsx)(s.$n,{onClick:()=>{h((0,El.ZU)(g)),h((0,El.WF)(1)),e()},children:f("action.apply","Apply")})]})})]})})},dE=(0,p.Ay)(s.IU).withConfig({componentId:"sc-195dj9e-0"})([""]),pE=p.Ay.h4.withConfig({componentId:"sc-195dj9e-1"})(["font-size:12px;color:",";text-transform:uppercase;"],(e=>{let{theme:t}=e;return t.colors.textLight})),hE=p.Ay.div.withConfig({componentId:"sc-195dj9e-2"})(["min-width:200px;"]),fE=(0,p.Ay)(s.so).withConfig({componentId:"sc-195dj9e-3"})(["width:auto;flex-wrap:wrap;max-width:400px;"]),mE=(0,p.Ay)(s.sx).withConfig({componentId:"sc-195dj9e-4"})(["min-width:45%;"]),gE=["DateCreated","YourRef","OrderRef","TotalExVat","TotalIncVat","PackageLabel"],vE=["Id","Status"],yE=e=>{let{className:t}=e;const{selectedColumns:n}=(0,c.GV)((e=>{let{orders:t}=e;return t})),[r,o]=(0,u.useState)(n),a=(0,c.GV)($e._M),l=(0,c.jL)(),{t:p}=(0,d.B)();return(0,m.jsx)(s.IU,{background:"white",className:t||"",label:p("general.columns","Columns"),icon:i.F6g,square:!0,clickOutside:()=>o(n),children:e=>(0,m.jsxs)(bE,{children:[(0,m.jsx)(AE,{className:"f3-400 mb-2",children:p("general.columns","Columns")}),(0,m.jsxs)(wE,{children:[vE.map(((e,t)=>(0,m.jsx)(xE,{className:"my-1 pr-2",name:e,disabled:!0,bgColor:"fill",label:(0,El.n9)(e,p),checked:!0,readOnly:!0},e+t))),gE.filter((e=>!a||!El.KU.has(e))).map(((e,t)=>(0,m.jsx)(xE,{className:"my-1 pr-2",name:e,bgColor:"fill",label:(0,El.n9)(e,p),checked:r.includes(e),onChange:()=>(e=>{const t=r.filter((t=>t!==e));t.length===r.length&&t.push(e),o(t)})(e)},e+t)))]}),(0,m.jsx)(s.so,{justify:"end",children:(0,m.jsxs)("div",{className:"align-self-end mt-2 mr-2 mb-1",children:[(0,m.jsx)(s.$n,{className:"mr-1",bgColor:"fillWhite",onClick:()=>{o(n),e()},children:p("action.cancel","Cancel")}),(0,m.jsx)(s.$n,{onClick:()=>{l((0,El.Qn)(r)),e()},children:p("action.apply","Apply")})]})})]})})},AE=p.Ay.h4.withConfig({componentId:"sc-mqxrxf-0"})(["font-size:12px;color:",";text-transform:uppercase;"],(e=>{let{theme:t}=e;return t.colors.textLight})),bE=p.Ay.div.withConfig({componentId:"sc-mqxrxf-1"})(["min-width:200px;"]),wE=(0,p.Ay)(s.so).withConfig({componentId:"sc-mqxrxf-2"})(["width:auto;flex-wrap:wrap;max-width:400px;"]),xE=(0,p.Ay)(s.Sc).withConfig({componentId:"sc-mqxrxf-3"})(["min-width:50%;"]),CE=e=>{let{renderWidth:t}=e;const{t:n}=(0,d.B)(),r=(0,c.cb)(),o=(0,HS.A)(),a=(0,c.lW)(),{orders:l,ordersStatus:u,webOrderStatuses:p,order:h,searchInputs:f,pages:g,page:v,pageSize:y,totalOrders:A}=(0,c.GV)((e=>{let{orders:t}=e;return t})),b=(0,c.GV)(El.PA),w=(0,c.d7)((e=>{const t={...f,...e};o((0,El.y3)(t)),o((0,El.WF)(1))}),500),x=function(e,t){return e("order.reference","Order reference"),[(0,El.n9)("Id",e),(0,El.n9)("Status",e),...t.map((t=>(0,El.n9)(t,e)))]}(n,b),C=l.map(((e,t)=>{const r=e.orderNumber?p[e.orderNumber]:null;let i=[];return i="PendingOrders"===u||"Error"===u?"PendingOrders"===u?[]:[{el:(0,m.jsx)(s.EY,{color:"error",children:n("error.general","Something went wrong, please try again or contact support.")}),span:x.length}]:function(e,t,n){return[{el:e.orderNumber},{el:(0,m.jsx)(Dl,{pending:null===n,status:n,type:null===e||void 0===e?void 0:e.type})},...t.map((t=>({el:TE(t,e)})))]}(e,b,r),{selected:e.orderNumber===(null===h||void 0===h?void 0:h.orderNumber),onClick:()=>{return e.orderNumber&&(t=e.orderNumber,o((0,El.r$)(t)),void o((0,qs.tc)(!0)));var t},testId:`go-to-order-button-${t}`,cells:i}})),S="PendingOrders"===u;return(0,m.jsxs)("div",{children:[(0,m.jsxs)(s.so,{className:"mb-2",justify:"between",align:"end",column:r.mdBelow,children:[(0,m.jsxs)(_E,{className:"","data-testid":"order-list-search-input",children:[(0,m.jsxs)(PE,{className:"",children:[(0,m.jsx)(EE,{children:n("search.search","Search")}),(0,m.jsx)(OE,{type:"text",name:"Search",icon:i.MjD,rightSidedIcon:!0,loading:"PendingOrders"===u,defaultValue:f.search,onChange:e=>{w({search:e.target.value})},placeholder:n("order.entire","Entire ordernumber"),paddingRight:"59px"})]}),(0,m.jsxs)(IE,{className:"",children:[(0,m.jsx)(EE,{children:n("general.startDate","Start date")}),(0,m.jsx)(s.t1,{selectedDate:f.from,header:n("general.startDate","Start date"),onChange:e=>e instanceof Date&&w({from:e}),showIcon:!0,filter:"None"})]}),(0,m.jsxs)(IE,{children:[(0,m.jsx)(EE,{children:n("general.endDate","End date")}),(0,m.jsx)(s.t1,{selectedDate:f.to,header:n("general.endDate","End date"),onChange:e=>e instanceof Date&&w({to:e}),showIcon:!0,filter:"None"})]})]}),(0,m.jsxs)(kE,{className:"ml-4 mt-4",justify:"end",column:"wide"!==t,children:[(0,m.jsx)(uE,{className:""}),(0,m.jsx)(yE,{className:"ml-2 mt-2 "+("wide"===t?"mt-md-0":"")})]})]}),S&&(0,m.jsx)(Y.A,{height:"wide"===t?700:400}),!S&&C.length>0&&(0,m.jsx)(s.XI,{tintOddRows:!0,className:"f3-300 mt-2",compact:"wide"!==t,rows:C,cols:x.length,headers:x,arrow:a.width>=400}),!S&&C.length<=0&&(0,m.jsx)(gp,{width:"wide"===t?"1029px":"",heading:n("order.noHitsHeader","No hits"),description:n("order.noHitsContent","Remember you have to search by a complete order number")}),"OrdersLoaded"===u&&(0,m.jsx)(SE,{children:(0,m.jsx)(Gr.A,{page:v,pages:g,pageSize:y,setPage:e=>o((0,El.WF)(e)),itemCount:l.length,itemsTotal:A,label:n("order.order_other","Orders")})})]})},SE=p.Ay.div.withConfig({componentId:"sc-j9ce45-0"})(["padding:20px;text-align:center;margin:0 auto;"]),kE=(0,p.Ay)(s.so).withConfig({componentId:"sc-j9ce45-1"})(["margin-bottom:1px;"]),EE=p.Ay.label.withConfig({componentId:"sc-j9ce45-2"})(["margin-bottom:0;"]),IE=(0,p.Ay)(s.so).withConfig({componentId:"sc-j9ce45-3"})(["flex-direction:column;"]),_E=p.Ay.div.withConfig({componentId:"sc-j9ce45-4"})(["display:grid;grid-gap:6px;grid-template-columns:1fr;font-size:14px;width:100%;max-width:700px;flex-grow:1;","{grid-template-columns:1fr 130px 130px;}"],(e=>{let{theme:t}=e;return t.media.lg})),PE=p.Ay.div.withConfig({componentId:"sc-j9ce45-5"})([""]),OE=(0,p.Ay)(s.pd).withConfig({componentId:"sc-j9ce45-6"})([""]);function TE(e,t){var n,r;switch(e){case"Id":return t.orderNumber;case"YourRef":return t.reference;case"OrderRef":return t.orderReference;case"DateCreated":return null===(n=t.created)||void 0===n?void 0:n.str;case"TotalExVat":return t.totalExVat||"0,00";case"TotalIncVat":return t.totalIncVat||"0,00";case"PackageLabel":return null!==(r=t.packageLabel)&&void 0!==r?r:"";default:throw new Error("Unknown key, should not happen")}}const DE=()=>{const e=(0,c.jL)(),{t:t}=(0,d.B)(),{order:n,orderStatus:r,ordersStatus:i}=(0,c.GV)((e=>{let{orders:t}=e;return t})),o="NoOrder"!==r;(0,u.useEffect)((()=>{"Initiating"===i&&e((0,El.WF)(1))}),[e,i]);const a=(0,u.useCallback)((()=>{e((0,El.Pj)())}),[e]);return(0,m.jsx)(tl.A,{type:"Orders",children:{options:{sellingOrOverriding:!0,skipMainTopMargin:o},component:o?{content:e=>(0,m.jsx)(hp,{renderWidth:e,order:n,orderStatus:r}),title:`${t("order.order_one","Order")} #${null===n||void 0===n?void 0:n.orderNumber}`,onBack:a}:{content:e=>(0,m.jsx)(CE,{renderWidth:e}),title:t("order.order_other","Orders")}}})},jE=e=>{let{className:t,partner:n,sellerView:r}=e;const{selectable:o,active:a,unselectable:l}=(0,c.GV)(nd(r)),[p,h]=(0,u.useState)(a),f=(0,c.jL)(),{t:g}=(0,d.B)();return[...o,...a,...l].length<1?null:(0,m.jsx)(LE,{background:"white",className:t||"",label:g("general.columns","Columns"),icon:i.F6g,square:!0,clickOutside:()=>{h(a)},children:e=>(0,m.jsxs)(NE,{children:[(0,m.jsx)(BE,{className:"f3-400 mb-2",children:g("general.columns","Columns")}),(0,m.jsxs)(ME,{children:[l.map(((e,t)=>rd(e).length>0?(0,m.jsx)(RE,{className:"my-1 pr-2",name:e,disabled:!0,bgColor:"fill",label:rd(e),checked:!0,readOnly:!0},e+t):null)),o.map(((e,t)=>(0,m.jsx)(RE,{className:"my-1 pr-2 ",name:e,bgColor:"fill",label:rd(e),checked:p.includes(e),onChange:()=>(e=>{const t=p.filter((t=>t!==e));t.length===p.length&&t.push(e),h(t)})(e)},e+t)))]}),(0,m.jsx)(s.so,{justify:"end",children:(0,m.jsxs)("div",{className:"align-self-end mt-2 mr-2 mb-1",children:[(0,m.jsx)(s.$n,{className:"mr-1",bgColor:"fillWhite",onClick:()=>{h(a),e()},children:g("action.cancel","Cancel")}),(0,m.jsx)(s.$n,{onClick:()=>{f(mu({partner:n,columns:p})),e()},children:g("action.apply","Apply")})]})})]})})},BE=p.Ay.h4.withConfig({componentId:"sc-qpd8tx-0"})(["font-size:12px;color:",";text-transform:uppercase;"],(e=>{let{theme:t}=e;return t.colors.textLight})),NE=p.Ay.div.withConfig({componentId:"sc-qpd8tx-1"})(["min-width:200px;"]),ME=(0,p.Ay)(s.so).withConfig({componentId:"sc-qpd8tx-2"})(["width:auto;flex-wrap:wrap;max-width:400px;"]),RE=(0,p.Ay)(s.Sc).withConfig({componentId:"sc-qpd8tx-3"})(["min-width:50%;"]),LE=(0,p.Ay)(s.IU).withConfig({componentId:"sc-qpd8tx-4"})(["button{height:40px !important;}& > div{max-height:70vh;overflow-y:auto;}"]),FE=e=>{var t,n,r;let{debouncedHandleInput:o,searchPlaceholder:a,sortOrders:l,filters:p,search:h,partner:f,sellerView:g,hiddenDatepickers:v=!1}=e;const{t:y}=(0,d.B)(),A=(0,c.cb)(),[b,w]=(0,u.useState)({...h});(0,u.useEffect)((()=>{w({...h})}),[h]);const x=e=>(0,m.jsx)(GE,{children:e.values.map(((t,n)=>{var r;const i=null!==(r=null===b||void 0===b?void 0:b[e.id])&&void 0!==r?r:[];return(0,m.jsx)(qE,{className:"my-1 pr-2",name:`${t.value}`,bgColor:"fill",label:t.label,onChange:()=>{w((n=>{var r;const i=null!==(r=null===n||void 0===n?void 0:n[e.id])&&void 0!==r?r:[];if(Array.isArray(i))return{...n,[e.id]:t.value&&i.includes(t.value)?i.filter((e=>e!==t.value)):[...i,t.value]}}))},checked:Array.isArray(i)&&i.includes(t.value)},n)}))}),C=e=>(0,m.jsx)(m.Fragment,{children:e.values.map((t=>{var n;const r=null!==(n=null===h||void 0===h?void 0:h[e.id])&&void 0!==n?n:[];return Array.isArray(r)&&r.includes(t.value)&&(0,m.jsx)($E,{className:"mb-1 mt-2",text:t.label,onRemove:()=>o({...h,[e.id]:r.filter((e=>e!==t.value)),page:1})},t.value)}))});return(0,m.jsxs)(s.so,{column:!0,className:"w-100 mb-3",children:[(0,m.jsxs)(KE,{compact:!1,children:[(0,m.jsxs)(HE,{children:[(0,m.jsx)(JE,{children:y("search.search","Search")}),(0,m.jsx)(WE,{defaultValue:null!==(t=null===b||void 0===b?void 0:b.search)&&void 0!==t?t:"",type:"text",name:"Search",icon:i.MjD,rightSidedIcon:!0,onChange:e=>{o({search:e.target.value,page:1})},placeholder:null!==a&&void 0!==a?a:y("order.entirePartnerOrders","Entire ordernumber"),paddingRight:"59px"})]}),!v&&(0,m.jsxs)(m.Fragment,{children:[(0,m.jsxs)(YE,{className:"",children:[(0,m.jsxs)(JE,{children:[y("general.startDate","Start date")," (",y("general.created","Created"),")"]}),(0,m.jsx)(s.t1,{selectedDate:new Date(null!==(n=h.startDate)&&void 0!==n?n:""),header:y("general.startDate","Start date"),onChange:e=>e instanceof Date&&o({startDate:e.toISOString(),page:1}),showIcon:!0,filter:"None"})]}),(0,m.jsxs)(YE,{children:[(0,m.jsxs)(JE,{children:[y("general.endDate","End date")," (",y("general.created","Created"),")"]}),(0,m.jsx)(s.t1,{selectedDate:new Date(null!==(r=h.endDate)&&void 0!==r?r:""),header:y("general.endDate","End date"),onChange:e=>e instanceof Date&&o({endDate:e.toISOString(),page:1}),showIcon:!0,filter:"None"})]})]}),p&&(0,m.jsx)(zE,{shiftRight:v&&!A.mdBelow,className:"ml-2",background:"white",label:y("filter.filter_other","Filters"),clickOutside:()=>{w({...h})},icon:i.P0b,square:!0,children:e=>(0,m.jsxs)(UE,{className:"h-100",children:[null===p||void 0===p?void 0:p.filter((e=>{var t;return(null===(t=e.values)||void 0===t?void 0:t.length)>0})).map(((e,t)=>(0,m.jsxs)(u.Fragment,{children:[(0,m.jsx)(QE,{children:e.label}),(0,m.jsx)(VE,{className:"mb-4",children:x(e)})]},`${t}`))),(0,m.jsx)(s.so,{justify:"end",className:"pb-2",children:(0,m.jsxs)("div",{className:"align-self-end mt-2 mr-2 mb-1",children:[(0,m.jsx)(s.$n,{className:"mr-1",bgColor:"fillWhite",onClick:()=>{w({...h}),e()},children:y("action.cancel","Cancel")}),(0,m.jsx)(s.$n,{onClick:()=>{o({...h,...b,page:1}),e()},children:y("action.apply","Apply")})]})})]})}),p&&(0,m.jsx)(jE,{sellerView:g,partner:f,className:"ml-2 mt-2"}),l&&(0,m.jsx)(s.so,{justify:"end",children:(0,m.jsx)(s.l6,{isMulti:!1,isSearchable:!1,indicatorIcon:K.OM7,className:"p-1 ml-2 mt-2",value:l.find((e=>e.value===h.sortOrder)),options:l,onChange:e=>{e&&o({sortOrder:e.value})}})})]}),(0,m.jsx)(s.so,{justify:"start",children:(0,m.jsx)(XE,{className:"w-100",children:(0,m.jsx)(ZE,{children:null===p||void 0===p?void 0:p.map(((e,t)=>(0,m.jsx)(u.Fragment,{children:C(e)},`${t}`)))})})})]})},zE=(0,p.Ay)(s.IU).withConfig({componentId:"sc-sqvv86-0"})(["button{height:40px !important;}& > div{max-height:70vh;overflow-y:auto;","}"],(e=>{let{shiftRight:t}=e;return t&&"right: -330px;"})),QE=p.Ay.h4.withConfig({componentId:"sc-sqvv86-1"})(["font-size:12px;color:",";text-transform:uppercase;"],(e=>{let{theme:t}=e;return t.colors.textLight})),UE=p.Ay.div.withConfig({componentId:"sc-sqvv86-2"})(["min-width:200px;"]),VE=(0,p.Ay)(s.so).withConfig({componentId:"sc-sqvv86-3"})(["width:auto;flex-wrap:wrap;max-width:400px;"]),GE=p.Ay.div.withConfig({componentId:"sc-sqvv86-4"})(["display:grid;width:max-content;","{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));}max-width:400px;"],(e=>{let{theme:t}=e;return t.media.md})),qE=(0,p.Ay)(s.Sc).withConfig({componentId:"sc-sqvv86-5"})(["min-width:50%;"]),HE=p.Ay.div.withConfig({componentId:"sc-sqvv86-6"})(["","{margin-bottom:1rem;}"],(e=>{let{theme:t}=e;return t.media.mdBelow})),WE=(0,p.Ay)(s.pd).withConfig({componentId:"sc-sqvv86-7"})([""]),YE=p.Ay.div.withConfig({componentId:"sc-sqvv86-8"})(["","{margin-bottom:1rem;}"],(e=>{let{theme:t}=e;return t.media.mdBelow})),KE=p.Ay.div.withConfig({componentId:"sc-sqvv86-9"})(["display:flex;align-items:end;grid-gap:6px;grid-template-columns:1fr;font-size:14px;width:100%;flex-grow:1;","{display:block;}","{grid-template-columns:1fr 160px 150px;}",""],(e=>{let{theme:t}=e;return t.media.mdBelow}),(e=>{let{theme:t}=e;return t.media.lg}),(e=>{let{compact:t}=e;return t&&"grid-template-columns: 1fr !important;"})),JE=p.Ay.label.withConfig({componentId:"sc-sqvv86-10"})(["margin-bottom:4px;display:block;"]),XE=(0,p.Ay)(s.so).withConfig({componentId:"sc-sqvv86-11"})(["background-color:transparent;"]),ZE=p.Ay.div.withConfig({componentId:"sc-sqvv86-12"})(["max-width:100%;"]),$E=(0,p.Ay)(s.S6).withConfig({componentId:"sc-sqvv86-13"})(["background-color:",";"],(e=>{let{theme:t}=e;return t.colors.fillWhite})),eI=e=>{let{sellerView:t,partner:n,secret:r,onlyApproval:i,className:o}=e;const a=(0,c.cb)(),l=(0,c.jL)(),{t:u}=(0,d.B)(),{filters:p,tableHeaders:h}=(0,c.GV)(Wu),{items:f,page:g,search:v,pending:y}=(0,c.GV)((A=i,(0,zs.Mz)(Xu,Zu,((e,t)=>A?t:e))));var A;const b=(0,c.d7)((e=>{l(Ou({partner:n,secret:r,isSeller:t,search:{...v,...e},onlyApproval:!!i}))}),500),w=oI({articles:f,set:((e,t)=>({stockQuantity:async n=>{let{id:r,quantity:i}=n;const{payload:o}=await l(fu({partner:e,secret:t,id:r,quantity:i}));return o},status:async n=>{let{id:r,status:i}=n;const{payload:o}=await l(vu({partner:e,secret:t,id:r,status:i}));return o}}))(n,r),partner:n,secret:r});return(0,m.jsxs)(sI,{column:!0,className:o,children:[!i&&(0,m.jsx)(cI,{className:`w-100 ${!t&&"px-4"}`,justify:"between",align:"end",children:(0,m.jsx)(FE,{search:v,searchPlaceholder:u("search.search"),filters:p,partner:n,sellerView:t,debouncedHandleInput:b,hiddenDatepickers:!0},i?"partner_article_approval":"partner_article")}),(0,m.jsxs)(dI,{column:!0,className:"w-100 flex-grow-1",children:[y&&(0,m.jsx)(vI,{children:(0,m.jsx)(s.y$,{})}),!y&&(f.length>0?(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(s.so,{className:`${(null===g||void 0===g?void 0:g.totalPages)>1&&"mb-3"}`,column:!0,children:(0,m.jsx)(lI,{renderCompactHeaders:!0,colLayout:`minmax(250px, auto) 130px 200px repeat(${h.length-3}, minmax(95px, auto))`,compact:a.lgBelow,className:`${!t&&"px-4"} pt-2 f3-300`,rows:w,tintOddRows:!0,headers:h,cols:h.length})}),g&&(0,m.jsx)(Gr.A,{page:g.currentPage,pages:g.totalPages,pageSize:g.pageSize,itemCount:f.length,itemsTotal:g.totalItems,setPage:e=>b({page:e}),label:u("product.article",{context:"other"})})]}):(0,m.jsx)(gp,{className:"p-4 mb-4",heading:u("article.noHitsHeader","No hits"),description:u("article.noHitsContent","No orders could be found with current search criteria")}))]})]})},tI=e=>{let{id:t,quantity:n,save:r,partner:i,secret:o}=e;const[a,l]=(0,u.useState)({expanded:!1,quantity:n,saving:!1});return a.expanded?(0,m.jsxs)(s.so,{children:[(0,m.jsx)(aI,{qty:a.quantity,onChange:e=>{l((t=>({...t,quantity:e})))},pending:a.saving}),(0,m.jsx)(s.K0,{bgColor:"transparent",icon:K.e68,small:!0,className:"ml-1",iconSize:"sm",onClick:async e=>{e.preventDefault(),l((e=>({...e,saving:!0})));const n=await r({id:t,quantity:a.quantity});l((e=>({...e,saving:!1,expanded:!n.id})))}}),(0,m.jsx)(s.K0,{bgColor:"transparent",icon:K.yYc,className:"ml-1",small:!0,iconSize:"sm",onClick:()=>l((e=>({...e,quantity:n,expanded:!1})))})]}):(0,m.jsxs)(s.so,{children:[(0,m.jsx)(uI,{children:n}),(0,m.jsx)(s.K0,{bgColor:"transparent",icon:J.hpd,small:!0,iconSize:"xs",className:"ml-1",onClick:()=>l((e=>({...e,expanded:!0})))}),(0,m.jsx)(nI,{partner:i,secret:o,id:t})]})},nI=e=>{var t,n;let{partner:r,secret:o,id:a}=e;const l=(0,c.jL)(),{t:p}=(0,d.B)(),[h,f]=(0,u.useState)(!1),g=(0,c.GV)((e=>{var t;return null===(t=e.partner.partner.articles)||void 0===t?void 0:t.stockQuantityHistory})),v=null!==(t=null===g||void 0===g?void 0:g.history)&&void 0!==t?t:[],y=null!==(n=null===g||void 0===g?void 0:g.loading)&&void 0!==n&&n,A=e=>{const{date:t,userEmail:n,quantity:r,manualCorrection:i,orderNumber:o}=e;return(0,m.jsxs)("div",{className:"mb-1 mt-1",children:[(0,m.jsx)(s.so,{children:(0,m.jsx)(s.EY,{small:!0,children:null===t||void 0===t?void 0:t.split("T")[0]})}),!i&&o?(0,m.jsxs)(s.so,{children:[(0,m.jsxs)(s.EY,{bold:!0,small:!0,style:{whiteSpace:"pre"},children:[p("order.order_one"),":"," "]}),(0,m.jsxs)(s.EY,{small:!0,children:[" ",o]})]}):(0,m.jsx)(s.EY,{bold:!0,small:!0,children:p("order.adjustment","Adjustment")}),n&&(0,m.jsx)(s.EY,{small:!0,children:n}),(0,m.jsxs)(s.so,{children:[(0,m.jsxs)(s.EY,{bold:!0,small:!0,style:{whiteSpace:"pre"},children:[p("cart.quantity"),":"," "]}),(0,m.jsx)(s.EY,{small:!0,children:r})]})]})};return(0,m.jsx)(s.AM,{label:p("navigation.history"),buttonIcon:i.Int,showPopover:h,onClickOutside:()=>f(!1),onClick:()=>{f(!0),l(Pu({partner:r,secret:o,id:a}))},children:(0,m.jsxs)(m.Fragment,{children:[y&&(0,m.jsx)("div",{style:{position:"absolute",top:"50%"},children:(0,m.jsx)(s.y$,{useFullHeight:!0})}),!y&&(null===v||void 0===v?void 0:v.map(((e,t)=>(0,m.jsx)("div",{style:{borderBottom:"1px solid #e9e9e9"},children:A(e)},t)))),!y&&0===(null===v||void 0===v?void 0:v.length)&&(0,m.jsx)(s.EY,{className:"mt-3",children:p("search.empty")})]})},a)},rI=e=>{var t,n;let{article:r}=e;const[i,a]=(0,u.useState)(!1),l=(0,m.jsx)(pI,{src:(0,X.Ay)(null===r||void 0===r?void 0:r.image,X.yj.Preview)});return(0,m.jsxs)(uI,{children:[i&&(0,m.jsx)(Ht.lG,{portal:!0,blur:!0,tint:!0,onClose:()=>a(!1),closeOutside:!0,width:"auto",height:"auto",children:(0,m.jsx)(gI,{darkBg:r.darkBg,children:l})}),(0,m.jsxs)(s.so,{align:"center",children:[(0,m.jsx)(gI,{darkBg:r.darkBg,thumbNail:!0,className:"p-2 mr-2",onClick:()=>a(!0),children:l}),(0,m.jsxs)(s.so,{column:!0,$wrap:!0,children:[(0,m.jsxs)(s.EY,{className:"mr-2 mb-1",children:[r.id,". ",r.productName]}),(0,m.jsx)(s.EY,{children:r.originalImage&&(0,X.Ay)(r.originalImage,X.yj.Preview)&&(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(o.g,{icon:K.A4h,className:"mr-1"}),(0,m.jsx)(s.N_,{fontSize:"10",to:(0,X.Ay)(r.originalImage,X.yj.Preview),children:null===(t=r.originalImage)||void 0===t||null===(n=t.imageId)||void 0===n?void 0:n.replace(/^Articles\/[0-9]+\//g,"")})]})})]})]})]})},iI=e=>{let{id:t,status:n,save:r}=e;const{t:i}=(0,d.B)(),[o,a]=(0,u.useState)({expanded:!1,status:n,saving:!1}),l=[be.ArticleStatus.Approved,be.ArticleStatus.Rejected].map((e=>({value:e,label:`${_r(gn.RJ.Status,`${e}`,i,[])}`})));return(0,m.jsx)(s.so,{align:"center",children:o.expanded?(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(s.l6,{tiny:!0,isSearchable:!1,isMulti:!1,defaultValue:l.find((e=>e.value===n)),options:l,onChange:e=>{e&&a((t=>({...t,status:e.value})))}}),(0,m.jsx)(s.K0,{bgColor:"transparent",icon:K.e68,small:!0,className:"ml-1",iconSize:"sm",onClick:async e=>{e.preventDefault(),a((e=>({...e,saving:!0})));const n=await r({id:t,status:o.status});a((e=>({...e,saving:!1,expanded:!n.id})))}}),(0,m.jsx)(s.K0,{bgColor:"transparent",icon:K.yYc,className:"ml-1",small:!0,iconSize:"sm",onClick:()=>a((e=>({...e,status:n,expanded:!1})))})]}):(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(uI,{children:_r(gn.RJ.Status,`${n}`,i,[])}),(0,m.jsx)(s.K0,{bgColor:"transparent",icon:J.hpd,className:"ml-1",small:!0,iconSize:"xs",onClick:()=>a((e=>({...e,expanded:!0})))})]})})},oI=e=>{let{articles:t,set:n,partner:r,secret:i}=e;return t.flatMap((e=>{var t,o,a,l,c,u;const d=e.id;return[{border:!0,cells:[(0,m.jsx)(rI,{article:e}),(0,m.jsx)(m.Fragment,{children:(0,m.jsx)(tI,{id:d,quantity:null!==(t=e.stockQuantity)&&void 0!==t?t:0,save:n.stockQuantity,partner:r,secret:i})}),(0,m.jsx)(iI,{id:d,status:e.status,save:n.status}),(0,m.jsx)(uI,{children:null!==(o=e.refinementProductName)&&void 0!==o?o:""}),(0,m.jsx)(uI,{children:(null!==(a=e.color)&&void 0!==a?a:[]).map((e=>{var t;return null!==(t=e.name)&&void 0!==t?t:""})).join(", ")}),(0,m.jsxs)(uI,{children:[e.width,"x",e.height,"cm"]}),(0,m.jsx)(uI,{children:null!==(l=e.customerNumber)&&void 0!==l?l:""}),(0,m.jsx)(s.m_,{tooltip:null!==(c=e.creator)&&void 0!==c?c:"",placement:"left",children:(0,m.jsx)(uI,{id:"partner-created-tooltip-"+d,children:null===(u=e.created)||void 0===u?void 0:u.str})})].map(((e,t)=>({el:e,overflow:"visible"})))}]}))},aI=e=>{let{qty:t,onChange:n,pending:r}=e;const[i,o]=(0,u.useState)(t);return(0,m.jsx)(mI,{justify:"between",align:"center",children:(0,m.jsx)(hI,{justify:"center",children:r?(0,m.jsx)(s.y$,{}):(0,m.jsx)(fI,{type:"number",value:i,min:0,autoFocus:!0,onFocus:e=>e.target.select(),onChange:e=>o((t=>(n(Math.abs(+e.target.value)),Math.abs(+e.target.value))))})})})},sI=(0,p.Ay)(s.so).withConfig({componentId:"sc-1vf1ezx-0"})(["height:100%;"]),lI=(0,p.Ay)(s.XI).withConfig({componentId:"sc-1vf1ezx-1"})([""]),cI=(0,p.Ay)(s.so).withConfig({componentId:"sc-1vf1ezx-2"})(["","{flex-direction:row;align-items:flex-end;}","{flex-direction:column;align-items:flex-end;}"],(e=>{let{theme:t}=e;return t.media.lgBelow}),(e=>{let{theme:t}=e;return t.media.mdBelow})),uI=p.Ay.span.withConfig({componentId:"sc-1vf1ezx-3"})(["word-wrap:normal;word-break:break-all;display:flex;flex-direction:column;align-items:start;"]),dI=(0,p.Ay)(s.so).withConfig({componentId:"sc-1vf1ezx-4"})([""]),pI=(0,p.Ay)(s._V).withConfig({componentId:"sc-1vf1ezx-5"})(["width:100%;"]),hI=(0,p.Ay)(s.so).withConfig({componentId:"sc-1vf1ezx-6"})(["min-width:50px;max-width:50px;width:100%;"]),fI=p.Ay.input.withConfig({componentId:"sc-1vf1ezx-7"})(["border:none;background-color:white;appearance:textfield;text-align:center;width:100%;height:100%;&:focus{outline:none;}::-webkit-outer-spin-button,::-webkit-inner-spin-button{-webkit-appearance:none;margin:0;}"]),mI=(0,p.Ay)(s.so).withConfig({componentId:"sc-1vf1ezx-8"})(["border:1px solid ",";height:26px;"],(e=>{let{theme:t}=e;return t.colors.borderLight})),gI=(p.Ay.div.withConfig({componentId:"sc-1vf1ezx-9"})(["width:200px;background:transparent;"]),p.Ay.div.withConfig({componentId:"sc-1vf1ezx-10"})(["background-color:",";",";"],(e=>{let{theme:t,darkBg:n}=e;return n?t.colors.transparentBg:"white"}),(e=>{let{thumbNail:t}=e;return t?"\n      min-width: 47px;\n      max-width: 47px;\n      cursor: pointer;\n      max-height: 47px;\n    ":"\n      position: relative;\n      padding: 2rem;\n      > img {\n        max-width: 80vh;\n        max-height: 80vh;\n      }\n    "}))),vI=p.Ay.div.withConfig({componentId:"sc-1vf1ezx-11"})(["height:500px;display:flex;flex-direction:column;justify-content:center;align-items:center;font-size:40px;"]),yI=e=>{let{secret:t,partner:n}=e;const r=(0,Rn.wA)(),a=(0,c.GV)((e=>e.orders.publicPartnerStats)),l=(0,c.GV)((e=>e.partner.selectedPublicPartnerStatusOverview)),p=(0,c.GV)(gt.EG),{t:h}=(0,d.B)(),[f,g]=(0,u.useState)(!1),[v,y]=(0,u.useState)([]),[A,b]=(0,u.useState)([]),w=localStorage.getItem("pinnedFilterCards"),x=h("order.infoMessage_boxDesign_partnerOverview","Selected boxes are always displayed. If no selection is made, boxes that havve a value is displayed."),C=f||0===A.length?a:a.filter((e=>A.includes(e.type)));(0,u.useEffect)((()=>{r((0,El.Mm)({partner:n,secret:t})),w&&b(JSON.parse(w))}),[]),(0,u.useEffect)((()=>{y(A)}),[A]);const S=a.every((e=>0===e.value))&&0===A.length;return(0,m.jsxs)("div",{children:[(0,m.jsxs)(wI,{justify:"between",children:[(0,m.jsx)("p",{children:S?h("order.noOrdersLast30Days","No orders last 30 days"):h("order.allOrdersLast30Days","All orders last 30 days")}),f?(0,m.jsxs)(s.so,{gap:"10px",children:[(0,m.jsx)(s.m_,{placement:"left",tooltip:x,children:(0,m.jsx)(o.g,{icon:i.mEO})}),(0,m.jsx)(xI,{onClick:()=>{b(v),localStorage.setItem("pinnedFilterCards",JSON.stringify(v)),g(!f)},children:(0,m.jsx)("b",{children:h("action.save")})}),(0,m.jsx)(xI,{onClick:()=>{g(!f),y(A)},children:h("action.cancel")})]}):(0,m.jsxs)(xI,{onClick:()=>{g(!f)},children:[(0,m.jsx)(o.g,{icon:i.LFz})," ",S?h("action.showBoxes","Show boxes"):h("action.rearrangeBoxes","Rearrange boxes")]})]}),(0,m.jsx)(CI,{className:"mb-3",children:C.map(((e,i)=>0!==e.value||f||A.includes(e.type)?(0,m.jsx)(bI,{stat:e,isChanging:f,handleOnPinClick:()=>{(e=>{y((t=>t.includes(e)?t.filter((t=>t!==e)):[...t,e]))})(e.type)},pinnedFilterCards:v,onClick:()=>{(e=>{e.value&&(e.type===l?r(Lu(null)):r(_u({partner:n,secret:t,search:{fixedResult:e.type}})))})(e)},selected:l,currentSiteName:null!==p&&void 0!==p?p:""},i):null))})]})},AI=(e,t,n)=>{switch(t){case"Unhandled":return e("orderstatuses.unhandled");case"AwaitingCustomer":return e("orderstatuses.awaitingCustomer");case"CustomerRejected":return e("orderstatuses.customerRejected");case"CustomerChanges":return e("orderstatuses.customerChanges");case"Rejected":return e("orderstatuses.rejected",{siteName:n});case"Approved":return e("orderstatuses.approved");case"InProduction":return e("orderstatuses.inProduction");case"DeliveryChanged":return e("orderstatuses.deliveryChanged");case"ExpressOrder":return e("orderstatuses.expressOrder");case"Pinned":return e("orderstatuses.pinned")}},bI=e=>{let{stat:t,onClick:n,selected:r,isChanging:a,handleOnPinClick:l,pinnedFilterCards:c,currentSiteName:u}=e;const{t:p}=(0,d.B)(),h=c.includes(t.type),f=0===t.value;return(0,m.jsxs)(SI,{isChanging:a,selected:t.type===r,onClick:!a||f?n:void 0,noResults:f,children:[(0,m.jsxs)(s.so,{justify:"between",align:"center",children:[(0,m.jsx)(s.EY,{children:AI(p,be.PartnerOrderStatisticType[t.type],u)}),a||f?null:r===t.type?(0,m.jsx)(o.g,{icon:i.yYc}):(0,m.jsx)(o.g,{icon:i.dmS})]}),(0,m.jsxs)(s.so,{justify:"between",align:"center",children:[(0,m.jsxs)(kI,{children:[t.value," st"]}),a&&(0,m.jsx)(EI,{color:h?"red":"black",icon:J.RUA,onClick:l})]})]})},wI=(0,p.Ay)(s.so).withConfig({componentId:"sc-ge1c6b-0"})(["p{margin:0;font-weight:500;}StyledButton:first-child{margin-right:15px;}"]),xI=p.Ay.button.withConfig({componentId:"sc-ge1c6b-1"})(["background:none;border:none;padding:0;font-size:14px;"]),CI=p.Ay.div.withConfig({componentId:"sc-ge1c6b-2"})(["display:flex;flex-wrap:wrap;overflow-x:auto;scrollbar-width:thin;scroll-behavior:smooth;gap:1rem;margin-top:1rem;padding-bottom:6px;user-select:none;","{flex-wrap:nowrap;}"],(e=>{let{theme:t}=e;return t.media.lgBelow})),SI=p.Ay.div.withConfig({componentId:"sc-ge1c6b-3"})(["display:flex;flex-direction:column;gap:10px;justify-content:space-between;padding:12px 16px;border-radius:4px;background-color:",";cursor:",";transition:all 0.2s;width:200px;flex-shrink:0;&:hover{background-color:",";}"],(e=>{let{selected:t}=e;return t?"#e5e5e5":"#ffffff"}),(e=>{let{isChanging:t,noResults:n}=e;return t||n?void 0:"pointer"}),(e=>{let{isChanging:t,noResults:n}=e;return t||n?"none":"#e5e5e5"})),kI=(0,p.Ay)(s.EY).withConfig({componentId:"sc-ge1c6b-4"})(["font-size:24px;font-weight:500;line-height:29.05px;"]),EI=(0,p.Ay)(o.g).withConfig({componentId:"sc-ge1c6b-5"})(["cursor:pointer;"]),II=e=>{const t=`${$l.publicOrder}${e}`;window.open(t,"_blank","noopener,noreferrer")},_I=e=>{let{dispatch:t,t:n,deleteOrder:r,onSuccess:i}=e;return(e,o)=>{t((0,f.wp)({title:n("action.remove"),description:n("order.deleteWarning",{name:o}),onOk:async()=>{r((t=>({...t,[e]:{...t[e],pending:!0}})));(await t(Su({orderId:e}))).orderId?(r((t=>({...(0,su.A)(t,`${e}`)}))),i()):r((t=>({...t,[e]:{...t[e],pending:!1}})))}}))}},PI=(0,u.forwardRef)(((e,t)=>{var n;const{sellerView:r,partner:i,secret:o,className:a}=e;(0,u.useImperativeHandle)(t,(()=>({callDebouncedHandleInput:()=>{h((0,El.Mm)({partner:i,secret:o})),N.debouncedHandleInput()}})));const{t:l}=(0,d.B)(),p=(0,c.cb)(),h=(0,Rn.wA)(),{active:f}=(0,c.GV)(nd(r)),{items:g,page:v,search:y,pending:A}=(0,c.GV)(Ku),{filters:b,sortOrders:w,tableHeaders:x,useArticles:C}=(0,c.GV)((S=r,(0,zs.Mz)(qu,nd(S),((e,t)=>{const n=e.orders.filter((e=>"orderTypes"===e.id&&e.values.length>0)).length>0;let r=t.active.map((e=>rd(e)));return S&&(r=r.concat([" "])),{filters:e.orders.map((e=>"orderStatus"===e.id?{...e,values:e.values.map((e=>({...e,label:El.ZM[e.value](Il.A.t).label})))}:"orderTypes"===e.id?{...e,values:e.values.map((e=>({...e,label:id[e.value](Il.A.t)})))}:e)),sortOrders:[Uu(pu.Relevance,Il.A.t("sort.relevance","Relevance")),Uu(pu.Ascending,Il.A.t("order.deliveryAsc","Ascending delivery date")),Uu(pu.Descending,Il.A.t("order.deliveryDesc","Descending delivery date"))],tableHeaders:r,useArticles:n}}))));var S;const{items:k,page:E,search:I,pending:_}=(0,c.GV)(Ju),P=(0,c.GV)((e=>e.partner.selectedPublicPartnerStatusOverview)),O=(0,c.GV)(gt.EG),[T,D]=(0,u.useState)({}),j=(0,c.d7)((e=>{h(Iu({partner:i,secret:o,isSeller:r,search:{...y,...e}}))}),500),B=(0,c.d7)((e=>{h(_u({partner:i,secret:o,search:{...e,fixedResult:null!==P&&void 0!==P?P:be.PartnerOrderStatisticType.Approved}}))}),500),N=(0,u.useMemo)((()=>P?{items:k,page:E,search:I,pending:_,debouncedHandleInput:B}:{items:g,page:v,search:y,pending:A,debouncedHandleInput:j}),[P,k,E,I,_,B,g,v,y,A,j]),M=OI({orders:N.items,columns:f,deletingOrder:T,onRowClick:II,onRowRemove:_I({dispatch:h,t:l,deleteOrder:D,onSuccess:N.debouncedHandleInput}),isSeller:r,useArticles:C});return(0,u.useEffect)((()=>{const e=setInterval((()=>{h((0,El.Mm)({partner:i,secret:o})),N.debouncedHandleInput()}),6e4);return()=>clearInterval(e)}),[h,i,o,N]),(0,m.jsxs)(DI,{column:!0,className:a,children:[(0,m.jsx)(yI,{secret:o,partner:i}),(0,m.jsx)(BI,{className:"w-100",justify:"between",align:"end",children:(0,m.jsx)(FE,{search:N.search,filters:b,sortOrders:w,partner:i,sellerView:r,debouncedHandleInput:N.debouncedHandleInput,hiddenDatepickers:!!P},P?1:2)}),(0,m.jsxs)(MI,{column:!0,className:"w-100 flex-grow-1",children:[N.pending&&(0,m.jsx)(RI,{children:(0,m.jsx)(s.y$,{})}),!N.pending&&(N.items.length>0?(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(s.so,{align:"baseline",gap:"8px",children:(0,m.jsx)(cl.V,{header:null!==(n=AI(l,be.PartnerOrderStatisticType[P],null!==O&&void 0!==O?O:""))&&void 0!==n?n:""})}),(0,m.jsx)(s.so,{className:`${(null===v||void 0===v?void 0:v.totalPages)>1&&"mb-3"}`,column:!0,children:(0,m.jsx)(jI,{renderCompactHeaders:!0,colLayout:`repeat(${x.length}, minmax(max-content, auto))`,compact:p.lgBelow,className:"pt-2 f3-300",rows:M,tintOddRows:!0,headers:x,cols:x.length})}),N.page&&(0,m.jsx)(Gr.A,{page:N.page.currentPage,pages:N.page.totalPages,pageSize:N.page.pageSize,itemCount:N.items.length,itemsTotal:N.page.totalItems,setPage:e=>N.debouncedHandleInput({page:e,fixedResult:P}),label:l("order.order_other","Orders")})]}):(0,m.jsx)(gp,{className:"p-4 mb-4",heading:l("article.noHitsHeader","No hits"),description:l("order.noHitsContent","No orders could be found with current search criteria")}))]})]})})),OI=e=>{let{orders:t,columns:n,deletingOrder:r,onRowClick:i,onRowRemove:o,isSeller:a,useArticles:l}=e;return t.flatMap((e=>{var t,c,u;const d=null!==(t=null===r||void 0===r||null===(c=r[null!==(u=e.identifier)&&void 0!==u?u:""])||void 0===c?void 0:c.pending)&&void 0!==t&&t;let p=n.map((t=>TI(t,e,l,a))).map((e=>"object"===typeof e&&null!==e&&"el"in e?e:{el:(0,m.jsx)(NI,{children:e})}));return a&&(p=p.concat([{el:(0,m.jsx)(s.so,{className:"w-100",children:(0,m.jsx)(LI,{children:d?(0,m.jsx)(s.y$,{}):(0,m.jsx)(s.K0,{icon:J.yLS,onClick:t=>{var n,r;t.stopPropagation(),null===o||void 0===o||o(null!==(n=e.identifier)&&void 0!==n?n:"",null!==(r=e.orderNumber)&&void 0!==r?r:"")}})})})}])),[{border:!0,onClick:()=>{var t;return!d&&(null===i||void 0===i?void 0:i(null!==(t=e.identifier)&&void 0!==t?t:""))},cells:p}]}))},TI=(e,t,n,r)=>{var a,l,c,u,d,p;switch(e){case"Icons":return(0,m.jsxs)(s.so,{gap:"12px",align:"center",children:[(0,m.jsx)(rl.Ay,{hideLabel:!0,type:"RefinementInternalStatus",className:"my-1",status:t.internalStatus}),t.dateWarning?(0,m.jsx)(FI,{col:"sale",title:Il.A.t("shipment.warningLongDelivery"),icon:K.zpE}):null,t.isExpress?(0,m.jsx)(FI,{col:"sale",icon:K.raf}):null,t.pinned?(0,m.jsx)(FI,{col:"sale",icon:K.RUA}):null,t.customerIdentifier?(0,m.jsx)(s.N_,{target:"_blank",to:`${$l.publicOrder}${t.customerIdentifier}`,onClick:e=>e.stopPropagation(),children:(0,m.jsx)(FI,{className:"mr-4",col:"text",onHover:"accent",icon:i.USd})}):null]});case"OrderNumber":return{el:(0,m.jsx)(NI,{children:t.orderNumber}),header:!0};case"Created":return null===(a=t.created)||void 0===a?void 0:a.str;case"CustomerName":return t.customerName;case"CustomerNumber":return t.customerNumber;case"CustomerReference":return t.customerReference;case"CustomerOrderReference":return t.customerOrderReference;case"Expected":return null===(l=t.expected)||void 0===l?void 0:l.str;case"Email":return t.email;case"ArticleName":return n?(0,m.jsx)(m.Fragment,{children:null===(c=t.articles)||void 0===c?void 0:c.map(((e,t)=>(0,m.jsxs)(s.EY,{children:[e.reapeat?null:(0,m.jsx)(o.g,{className:"mr-1",size:"1x",icon:J._dY,color:"red"}),e.name]},t)))}):"";case"Refinements":return(0,m.jsx)(m.Fragment,{children:null===(u=t.refinements)||void 0===u?void 0:u.map(((e,t)=>(0,m.jsx)(s.EY,{children:`${e.name} (${e.quantity})`},`${e.name} ${t}`)))});case"AdditionalCosts":return null===(d=t.additionalCosts)||void 0===d?void 0:d.map((e=>e)).join(", ");case"RefinementQuantity":return t.quantityRefinements;case"StatusDate":return t.status?El.ZM[t.status](Il.A.t).label:null;case"Updated":return null===(p=t.statusDate)||void 0===p?void 0:p.str;case"Partner":return t.partner;default:throw new Error("Unknown key, should not happen")}},DI=(0,p.Ay)(s.so).withConfig({componentId:"sc-88ektq-0"})(["height:100%;padding:0 1.5rem 0 1.5rem;"]),jI=(0,p.Ay)(s.XI).withConfig({componentId:"sc-88ektq-1"})([""]),BI=(0,p.Ay)(s.so).withConfig({componentId:"sc-88ektq-2"})(["","{flex-direction:row;align-items:flex-end;}","{flex-direction:column;align-items:flex-end;}"],(e=>{let{theme:t}=e;return t.media.lgBelow}),(e=>{let{theme:t}=e;return t.media.mdBelow})),NI=p.Ay.span.withConfig({componentId:"sc-88ektq-3"})(["vertical-align:text-top;min-height:26px;white-space:normal;word-wrap:normal;word-break:break-word;display:flex;flex-direction:column;align-items:start;"]),MI=(0,p.Ay)(s.so).withConfig({componentId:"sc-88ektq-4"})([""]),RI=p.Ay.div.withConfig({componentId:"sc-88ektq-5"})(["height:500px;display:flex;flex-direction:column;justify-content:center;align-items:center;font-size:40px;"]),LI=p.Ay.div.withConfig({componentId:"sc-88ektq-6"})(["width:100%;display:flex;","{justify-content:right;}"],(e=>{let{theme:t}=e;return t.media.lg})),FI=(0,p.Ay)(o.g).withConfig({componentId:"sc-88ektq-7"})([""," &:hover{","}"],(e=>{let{col:t,theme:n}=e;return t&&`color: ${n.colors[t]};`}),(e=>{let{onHover:t,theme:n}=e;return t&&`color: ${n.colors[t]};`})),zI=e=>{var t,n;let{sellerView:r,partner:i}=e;const o=(0,Rn.wA)(),{t:a}=(0,d.B)(),l=(0,c.GV)(Yu),p=(0,c.GV)($u),h=null===(t=(0,c.GV)(Xu))||void 0===t?void 0:t.showTab,f=null===(n=(0,c.GV)(Zu))||void 0===n?void 0:n.showTab,g=!(null!==l&&void 0!==l&&l.valid)&&!r,v=(0,u.useRef)(null),y=`Copyright \xa9 ${(new Date).getFullYear()} New Wave Group`;(0,u.useEffect)((()=>{i&&o(bu({partner:i}))}),[i,o,r]),(0,u.useEffect)((()=>{(null!==l&&void 0!==l&&l.secret||r)&&o(xu({partner:null!==i&&void 0!==i?i:"",secret:null===l||void 0===l?void 0:l.secret,isSeller:r}))}),[null===l||void 0===l?void 0:l.secret,i,o,r]);const A=!(null===l||void 0===l||!l.error),b=!(null!==l&&void 0!==l&&l.error),w=l.initialLoad||(null===l||void 0===l?void 0:l.loading)||!l||l.resolveSession;return w?(0,m.jsx)(VI,{children:(0,m.jsx)(s.y$,{})}):(0,m.jsxs)(GI,{sellerView:null!==r&&void 0!==r&&r,children:[l.name&&(0,m.jsx)(UI,{className:`${!r&&"pt-4 pl-4"}`,fontSize:24,children:l.name}),(0,m.jsxs)(s.so,{className:"w-100",$grow:1,align:"center",justify:"center",column:!0,children:[g&&void 0!==w&&!w&&(0,m.jsx)(Bp,{className:"p-4",children:(0,m.jsxs)(HI,{className:"m-2",width:"585px",children:[(0,m.jsxs)(WI,{children:[(0,m.jsx)(s.EY,{fontSize:24,bold:!0,children:a("order.viewOrders","View and manage orders")}),(0,m.jsx)(s.EY,{light:!0,fontSize:14,children:a("general.enterPassword","Enter the password to continue.")})]}),(0,m.jsxs)(YI,{onSubmit:e=>{var t;e.preventDefault();const n=e.currentTarget.elements,r=null===(t=n.secret)||void 0===t?void 0:t.value;o(wu({partner:null!==i&&void 0!==i?i:"",secret:r})),n.secret.value=""},children:[A&&(0,m.jsx)(KI,{children:(0,m.jsx)("p",{className:"ml-3 mb-1 mt-1",children:a("order.wrongPasswordTryAgain","The password you entered is incorrect. Please try again.")})}),(0,m.jsx)("label",{className:"f3-400",htmlFor:"secret",children:a("general.password","Password")}),(0,m.jsxs)(s.so,{column:!0,children:[(0,m.jsx)(JI,{useBottomBorder:!1,name:"secret",id:"secret",type:"password"}),(0,m.jsx)(s.$n,{main:!0,fullwidth:!0,height:40,className:"mt-2",type:"submit",children:a("user.signIn")})]})]})]})}),b&&l.valid&&(0,m.jsxs)(qI,{column:!0,children:[(0,m.jsx)(ZI,{children:(0,m.jsx)($I,{className:`mb-3 ${!r&&"mx-4"}`,active:p,onChange:e=>o(Cu({partner:null!==i&&void 0!==i?i:"",selectedTab:e})),ordersSelected:"orders"===p,options:[{id:"orders",label:a("order.order_other","Orders")},h&&{id:"articles",label:a("product.article_other","Articles")},f&&{id:"articles-approval",label:a("product.approveArticles","Approve Articles")},{label:a("action.refresh","Refresh"),hidden:"orders"!==p,customOnClick:()=>{var e;null===(e=v.current)||void 0===e||e.callDebouncedHandleInput()}}].filter((e=>void 0!==e))})}),(0,m.jsxs)(XI,{children:["orders"===p&&(0,m.jsx)(PI,{sellerView:r,partner:null!==i&&void 0!==i?i:"",secret:null===l||void 0===l?void 0:l.secret,ref:v}),"articles"===p&&(0,m.jsx)(eI,{sellerView:r,partner:null!==i&&void 0!==i?i:"",secret:null===l||void 0===l?void 0:l.secret}),"articles-approval"===p&&(0,m.jsx)(eI,{sellerView:r,partner:null!==i&&void 0!==i?i:"",secret:null===l||void 0===l?void 0:l.secret,onlyApproval:!0})]})]})]}),g&&void 0!==w&&!w&&(0,m.jsxs)(s.so,{className:"w-100",align:"center",justify:"center",column:!0,children:[(0,m.jsx)("img",{className:"mb-3",src:"https://id.gateway.nwg.se/static/assets/nwg-blue-logo.svg",alt:"Logo"}),(0,m.jsx)("p",{children:y})]})]})},QI=e=>{let{sellerView:t=!1}=e;const{partner:n}=(0,O.g)(),r=(0,Rn.wA)();return(0,u.useEffect)((()=>{n&&!t&&r(Au({partner:n}))}),[r,n,t]),(0,m.jsx)(zI,{sellerView:t,partner:n})},UI=(0,p.Ay)(s.EY).withConfig({componentId:"sc-1wv0jsr-0"})([""]),VI=p.Ay.div.withConfig({componentId:"sc-1wv0jsr-1"})(["height:100vh;display:flex;flex-direction:column;justify-content:center;align-items:center;font-size:40px;"]),GI=p.Ay.div.withConfig({componentId:"sc-1wv0jsr-2"})([""," background-color:transparent;display:flex;flex-direction:column;margin:auto;","{max-width:1800px;}"],(e=>{let{sellerView:t}=e;return!t&&"\n      min-height: 100vh;\n      overflow: hidden;\n   "}),(e=>{let{theme:t}=e;return t.media.xl})),qI=(0,p.Ay)(s.so).withConfig({componentId:"sc-1wv0jsr-3"})(["flex-grow:1;width:100%;"]),HI=(0,p.Ay)(s.so).withConfig({componentId:"sc-1wv0jsr-4"})(["gap:10px;","{flex-direction:column;width:270px;gap:15px;}"],(e=>{let{theme:t}=e;return t.media.mdBelow})),WI=p.Ay.div.withConfig({componentId:"sc-1wv0jsr-5"})(["flex-grow:1;max-width:293px;"]),YI=p.Ay.form.withConfig({componentId:"sc-1wv0jsr-6"})(["flex-grow:1;max-width:282px;"]),KI=p.Ay.div.withConfig({componentId:"sc-1wv0jsr-7"})(["display:flex;align-items:center;"," border-radius:2px;margin-bottom:0.5rem;background-color:#ffe6e6;p{color:#842029;}"],(e=>{let{theme:t}=e;return`border: 1px solid ${t.colors.error};`})),JI=(0,p.Ay)(s.pd).withConfig({componentId:"sc-1wv0jsr-8"})(["border-radius:2px;"]),XI=p.Ay.div.withConfig({componentId:"sc-1wv0jsr-9"})(["height:100%;display:flex;flex-direction:column;"]),ZI=(0,p.Ay)(s.so).withConfig({componentId:"sc-1wv0jsr-10"})([""]),$I=(0,p.Ay)(s.tU).withConfig({componentId:"sc-1wv0jsr-11"})(["width:100%;button:last-of-type{","}"],(e=>{let{ordersSelected:t}=e;return t&&"margin-left: auto;"})),e_=()=>{const{t:e}=(0,d.B)();return(0,m.jsx)(tl.A,{type:"PartnersOverview",children:{options:{},component:{title:e("seller.partnerOverview","Partner overview"),content:(0,m.jsx)(QI,{sellerView:!0})}}})};function t_(){const[e,t]=(0,u.useState)(!1),n=(0,u.useRef)(null),r=(0,u.useCallback)((()=>{(document.fullscreenElement||document.webkitFullscreenElement||document.mozFullScreenElement||document.msFullscreenElement)===n.current?t(!0):t(!1)}),[]),i=(0,u.useCallback)((()=>{n.current&&(e=>{const t=e,n=t.requestFullScreen||t.webkitRequestFullscreen||t.webkitRequestFullScreen||t.mozRequestFullScreen||t.msRequestFullscreen;n&&n.apply(e)})(n.current)}),[]);return(0,u.useEffect)((()=>("onfullscreenchange"in document&&document.addEventListener("fullscreenchange",r),"onwebkitfullscreenchange"in document&&document.addEventListener("webkitfullscreenchange",r),"onmozfullscreenchange"in document&&document.addEventListener("mozfullscreenchange",r),"onmsfullscreenchange"in document&&document.addEventListener("MSFullscreenChange",r),()=>{"onfullscreenchange"in document&&document.removeEventListener("fullscreenchange",r),"onwebkitfullscreenchange"in document&&document.removeEventListener("webkitfullscreenchange",r),"onmozfullscreenchange"in document&&document.removeEventListener("mozfullscreenchange",r),"onmsfullscreenchange"in document&&document.removeEventListener("MSFullscreenChange",r)})),[r]),{isFullscreen:e,requestFullscreen:i,elementRef:n}}const n_=3e5;let r_=function(e){return e[e.Day=0]="Day",e[e.Week=1]="Week",e[e.Month=2]="Month",e[e.Year=3]="Year",e}({});const i_={[r_.Day]:n_,[r_.Month]:9e5,[r_.Week]:36e5,[r_.Year]:36e5},o_=(0,ic.zD)("salesboard/board/getLeaderboard",(async(t,n)=>{let{getState:r,dispatch:i}=n;const{boards:o,selectedFilters:a}=r().salesboard,s=o.leaderboard[t];if(!s||s.reload||Date.now()-i_[t]>s.timeStamp){const n=new Set(a),s=await e.Ay.getLeaderboard(C_(t),n.has("visits"),n.has("compare"));if(r().salesboard.playing){const e=S_(t),n=o.leaderboard[e];r().salesboard.pending.leaderboard[e]||n&&!(Date.now()-i_[t]>n.timeStamp)||i(o_(e))}return{timeStamp:Date.now(),data:k_(s.data),reload:!1}}return s})),a_=(0,ic.zD)("salesboard/board/getTotalValue",(async(t,n)=>{let{getState:r,dispatch:i}=n;const{boards:o,selectedFilters:a}=r().salesboard,s=o.totalValue[t];if(!s||s.reload||Date.now()-i_[t]>s.timeStamp){const n=new Set(a),s=await e.Ay.getTotalOrderValue(C_(t),n.has("compare"));if(r().salesboard.playing){const e=S_(t),n=o.totalValue[e];r().salesboard.pending.totalValue[e]||n&&!(Date.now()-i_[t]>n.timeStamp)||i(a_(e))}return{timeStamp:Date.now(),data:s.data,reload:!1}}return s})),s_=(0,ic.zD)("salesboard/board/getTopOrders",(async(t,n)=>{let{getState:r,dispatch:i}=n;const{boards:o}=r().salesboard,a=o.topOrders[t];if(!a||Date.now()-i_[t]>a.timeStamp){const n=await e.Ay.getTopOrders(C_(t));if(r().salesboard.playing){const e=S_(t),n=o.topOrders[e];r().salesboard.pending.topOrders[e]||n&&!(Date.now()-i_[t]>n.timeStamp)||i(s_(e))}return{timeStamp:Date.now(),data:null===n||void 0===n?void 0:n.data,reload:!1}}return a})),l_=(0,ic.zD)("salesboard/board/getTopProducts",(async(t,n)=>{var r,i;let{getState:o,dispatch:a}=n;const{boards:s}=o().salesboard,l=s.topProducts[t],c=null!==(r=null===(i=o().siteDefinition.language)||void 0===i?void 0:i.name)&&void 0!==r?r:"en";if(!l||Date.now()-i_[t]>l.timeStamp){const n=await e.Ay.getTopProducts(c,C_(t));if(o().salesboard.playing){const e=S_(t),n=s.topProducts[e];o().salesboard.pending.topProducts[e]||n&&!(Date.now()-i_[t]>n.timeStamp)||a(l_(e))}const r=o().assortment.productCategoryMap,i=n.data.reduce(((e,t)=>{if(!t||!t.productNumber)return e;const n=function(e,t){if(!t||!t.productNumber)return null;const n=e[t.productNumber];return{slug:t.slug,text:t.productName||"",productNumber:t.productNumber,productBrandName:t.productBrandName,imgUrl:(0,X.Ay)(t.image,X.yj.ThumbNail,be.ImageExtension.Jpg),parentText:null===n||void 0===n?void 0:n.name,parentPath:null===n||void 0===n?void 0:n.url}}(r,t.product);return n?[...e,{...t,product:n}]:e}),new Array).sort(((e,t)=>{var n,r;return(null!==(n=t.sum)&&void 0!==n?n:0)-(null!==(r=e.sum)&&void 0!==r?r:0)}));return{timeStamp:Date.now(),data:i,reload:!1}}return l})),c_=(0,ic.zD)("salesboard/board/period",(async(e,t)=>{let{getState:n,dispatch:r}=t;const i=n().salesboard.selectedWidgets;function o(t){switch(t){case"topOrders":r(s_(e));break;case"topProducts":r(l_(e));break;case"totalValue":r(a_(e));break;case"leaderboard":r(o_(e))}}for(let a=0;a<i.length;a++){o(i[a])}})),u_=(0,ic.zD)("salesboard/board/selected",(async(e,t)=>{let{dispatch:n,getState:r}=t;const i=r().salesboard.selectedPeriod;n(c_(i))})),d_=(0,ic.zD)("salesboard/board/next",(async(e,t)=>{let{dispatch:n,getState:r}=t;const i=r().salesboard.selectedPeriod;n(c_(S_(i)))})),p_=(0,ic.zD)("salesboard/togglePlay",(async(e,t)=>{let{dispatch:n,getState:r}=t;r().salesboard.playing||n(d_())})),h_=(0,ic.zD)("salesboard/toggleWidget",(async(e,t)=>{let{getState:n}=t;const r=n().salesboard.selectedWidgets,i=new Set(r);i.has(e)?i.delete(e):i.add(e);const o=Array.from(i);return function(e){localStorage.setItem("salesboard_widgets",JSON.stringify(e))}(o),o})),f_=(0,ic.zD)("salesboard/toggleFilter",(async(e,t)=>{let{getState:n,dispatch:r}=t;const i=n().salesboard.selectedFilters,o=new Set(i);o.has(e)?o.delete(e):(r(b_(function(e){return"visits"===e?["leaderboard"]:"compare"===e?["totalValue","leaderboard"]:[]}(e))),o.add(e));const a=Array.from(o);return function(e){localStorage.setItem("salesboard_filters",JSON.stringify(e))}(a),a})),m_=e=>(t,n)=>{const r=n().salesboard.selectedPeriod,i="prev"===e?function(e){switch(e){case r_.Day:return r_.Year;case r_.Week:return r_.Day;case r_.Month:return r_.Week;case r_.Year:return r_.Month}}(r):S_(r);var o;o=i,localStorage.setItem("salesboard_period",JSON.stringify(o)),t(w_(i))},g_=["leaderboard","topProducts","topOrders","totalValue"],v_=["visits","compare","budget"],y_={playing:!1,selectedPeriod:function(){const e=localStorage.getItem("salesboard_period");return e?JSON.parse(e):r_.Day}(),boards:{leaderboard:{},topOrders:{},topProducts:{},totalValue:{}},pending:{leaderboard:{},topOrders:{},topProducts:{},totalValue:{}},error:{leaderboard:{},topOrders:{},topProducts:{},totalValue:{}},selectedWidgets:function(){const e=localStorage.getItem("salesboard_widgets");return e?JSON.parse(e):g_}(),selectedFilters:function(){const e=localStorage.getItem("salesboard_filters");return e?JSON.parse(e):v_}(),authError:!1},A_=(0,ic.Z0)({name:"Salesboard",initialState:y_,reducers:{periodSelected(e,t){e.selectedPeriod=t.payload},widgetReloadSet(e,t){const n=t.payload;for(let r=0;r<n.length;r++){const t=n[r],i=e.boards[t][r_.Day],o=e.boards[t][r_.Week],a=e.boards[t][r_.Month],s=e.boards[t][r_.Year];i&&(i.reload=!0),o&&(o.reload=!0),a&&(a.reload=!0),s&&(s.reload=!0)}}},extraReducers:e=>{e.addCase(s_.pending,((e,t)=>{e.pending.topOrders[t.meta.arg]=!0})),e.addCase(s_.fulfilled,((e,t)=>{const n=t.meta.arg;e.boards.topOrders[n]=t.payload,delete e.error.topOrders[n],e.pending.topOrders[n]=!1})),e.addCase(s_.rejected,((e,t)=>{var n,r;null!==t&&void 0!==t&&null!==(n=t.error)&&void 0!==n&&null!==(r=n.message)&&void 0!==r&&r.includes("401")&&(e.authError=!0);const i=t.meta.arg;e.error.topOrders[i]=t.error,e.pending.topOrders[i]=!1})),e.addCase(a_.pending,((e,t)=>{e.pending.totalValue[t.meta.arg]=!0})),e.addCase(a_.fulfilled,((e,t)=>{const n=t.meta.arg;e.boards.totalValue[n]=t.payload,delete e.error.totalValue[n],e.pending.totalValue[n]=!1})),e.addCase(a_.rejected,((e,t)=>{var n,r;null!==t&&void 0!==t&&null!==(n=t.error)&&void 0!==n&&null!==(r=n.message)&&void 0!==r&&r.includes("401")&&(e.authError=!0);const i=t.meta.arg;e.error.totalValue[i]=t.error,e.pending.totalValue[i]=!1})),e.addCase(l_.pending,((e,t)=>{e.pending.topProducts[t.meta.arg]=!0})),e.addCase(l_.fulfilled,((e,t)=>{const n=t.meta.arg;e.boards.topProducts[n]=t.payload,delete e.error.topProducts[n],e.pending.topProducts[n]=!1})),e.addCase(l_.rejected,((e,t)=>{var n,r;null!==t&&void 0!==t&&null!==(n=t.error)&&void 0!==n&&null!==(r=n.message)&&void 0!==r&&r.includes("401")&&(e.authError=!0);const i=t.meta.arg;e.error.topProducts[i]=t.error,e.pending.topProducts[i]=!1})),e.addCase(o_.pending,((e,t)=>{e.pending.leaderboard[t.meta.arg]=!0})),e.addCase(o_.fulfilled,((e,t)=>{const n=t.meta.arg;e.boards.leaderboard[n]=t.payload,delete e.error.leaderboard[n],e.pending.leaderboard[n]=!1})),e.addCase(o_.rejected,((e,t)=>{var n,r;null!==t&&void 0!==t&&null!==(n=t.error)&&void 0!==n&&null!==(r=n.message)&&void 0!==r&&r.includes("401")&&(e.authError=!0);const i=t.meta.arg;e.error.leaderboard[i]=t.error,e.pending.leaderboard[i]=!1})),e.addCase(h_.fulfilled,((e,t)=>{e.selectedWidgets=t.payload})),e.addCase(f_.fulfilled,((e,t)=>{e.selectedFilters=t.payload})),e.addCase(p_.fulfilled,(e=>{e.playing=!e.playing}))}}),{widgetReloadSet:b_,periodSelected:w_}=A_.actions,x_=A_.reducer;function C_(e){switch(e){case r_.Day:return"today";case r_.Week:return"week";case r_.Month:return"month";case r_.Year:return"year"}}function S_(e){switch(e){case r_.Day:return r_.Week;case r_.Week:return r_.Month;case r_.Month:return r_.Year;case r_.Year:return r_.Day}}function k_(e){var t;return null!==(t=e.filter((e=>!!e.erpUserId)).sort(((e,t)=>{var n,r;return(null!==(n=t.salesCurrentPeriod)&&void 0!==n?n:0)-(null!==(r=e.salesCurrentPeriod)&&void 0!==r?r:0)})))&&void 0!==t?t:[]}const E_=(0,zs.Mz)((e=>e.salesboard.selectedFilters),(e=>new Set(e))),I_=(0,zs.Mz)((e=>e.salesboard.selectedWidgets),(e=>new Set(e))),__=e=>e.salesboard.selectedPeriod,P_=e=>e.salesboard.boards,O_=e=>e.salesboard.pending,T_=e=>e.salesboard.error,D_=(0,zs.Mz)(__,E_,((e,t)=>e!==r_.Day&&t.has("visits"))),j_=(0,zs.Mz)(P_,O_,T_,__,((e,t,n,r)=>{var i,o,a;return{data:null!==(i=null===(o=e.leaderboard[r])||void 0===o?void 0:o.data)&&void 0!==i?i:[],pending:null!==(a=t.leaderboard[r])&&void 0!==a&&a,error:n.leaderboard[r]}})),B_=(0,zs.Mz)(P_,O_,T_,__,((e,t,n,r)=>{var i,o,a;return{data:null!==(i=null===(o=e.totalValue[r])||void 0===o?void 0:o.data)&&void 0!==i?i:{},pending:null!==(a=t.totalValue[r])&&void 0!==a&&a,error:n.totalValue[r]}})),N_=(0,zs.Mz)(P_,O_,T_,__,((e,t,n,r)=>{var i,o,a;return{data:null!==(i=null===(o=e.topOrders[r])||void 0===o?void 0:o.data)&&void 0!==i?i:[],pending:null!==(a=t.topOrders[r])&&void 0!==a&&a,error:n.topOrders[r]}})),M_=(0,zs.Mz)(P_,O_,T_,__,((e,t,n,r)=>{var i,o,a;return{data:null!==(i=null===(o=e.topProducts[r])||void 0===o?void 0:o.data)&&void 0!==i?i:[],pending:null!==(a=t.topProducts[r])&&void 0!==a&&a,error:n.topProducts[r]}})),R_=(0,zs.Mz)(j_,(e=>{var t;const{data:n}=e;return Math.max(...null!==(t=null===n||void 0===n?void 0:n.map((e=>{var t;return null!==(t=e.salesCurrentPeriod)&&void 0!==t?t:0})))&&void 0!==t?t:[])})),L_=(0,zs.Mz)(j_,(e=>{var t;const{data:n}=e;return Math.max(...null!==(t=null===n||void 0===n?void 0:n.map((e=>{var t;return null!==(t=e.salesPreviousPeriod)&&void 0!==t?t:0})))&&void 0!==t?t:[])})),F_=(0,zs.Mz)(__,E_,((e,t)=>e>1&&t.has("budget"))),z_=(0,zs.Mz)(F_,j_,((e,t)=>{if(!e)return{};const{data:n}=t;return n.reduce(((e,t)=>{if(!t.erpUserId)return e;const n=t.budgetCurrentPeriod,r=t.salesCurrentPeriod;if("undefined"===typeof n||"undefined"===typeof r)return e;const i=0===n?0:r/n*100;return e[t.erpUserId]=i,e}),{})})),Q_=e=>{let{onFullScreen:t}=e;const n=(0,c.jL)(),{t:r}=(0,d.B)(),o=(0,c.cb)(),{playing:a}=(0,c.GV)((e=>{let{salesboard:t}=e;return t})),l=(0,c.GV)(I_),u=(0,c.GV)(E_);return(0,m.jsxs)(U_,{column:o.mdBelow,justify:"between",align:o.mdBelow?"stretch":"end",className:"my-3",children:[(0,m.jsxs)(V_,{column:o.mdBelow,className:"mr-5 pr-5",children:[(0,m.jsxs)(s.so,{column:!0,children:[(0,m.jsx)("h4",{className:"f3-700",children:"Widgets"}),g_.map((e=>(0,m.jsx)(s.Sc,{checked:l.has(e),onChange:t=>{n(h_(e)),t.currentTarget.checked&&setTimeout((()=>n(u_())),100)},label:r("salesBoard.section",{context:e}),className:"mr-2 my-1"},e)))]}),(0,m.jsxs)(s.so,{column:!0,children:[(0,m.jsx)("h4",{className:"f3-700",children:"Filters"}),v_.map((e=>(0,m.jsx)(s.Sc,{checked:u.has(e),onChange:t=>{n(f_(e)),t.currentTarget.checked&&setTimeout((()=>n(u_())),100)},label:r("salesBoard.section",{context:e}),className:"mr-2 my-1"},e)))]})]}),(0,m.jsx)(G_,{align:"center",className:"my-1",children:(0,m.jsxs)(q_,{justify:"between",children:[(0,m.jsxs)(s.so,{children:[(0,m.jsx)(s.K0,{bgColor:"fillWhite",onClick:()=>n(m_("prev")),className:"mr-1",large:!0,icon:J.dDM}),(0,m.jsx)(s.K0,{bgColor:"fillWhite",onClick:()=>{n(p_())},className:"mr-1",large:!0,icon:a?J.G1Y:J.ijD}),(0,m.jsx)(s.K0,{bgColor:"fillWhite",onClick:()=>n(m_("next")),className:"mr-1",large:!0,icon:J.dxS})]}),(0,m.jsx)(s.K0,{bgColor:"fillWhite",large:!0,className:"ml-3",icon:i.oZK,onClick:t,children:r("action.fullScreen","Full screen")})]})})]})},U_=(0,p.Ay)(s.so).withConfig({componentId:"sc-143vhlm-0"})(["border-bottom:1px solid ",";padding-bottom:1rem;"],(e=>{let{theme:t}=e;return t.colors.borderLight})),V_=p.Ay.div.withConfig({componentId:"sc-143vhlm-1"})(["display:grid;grid-template-columns:1fr;gap:10px;","{grid-template-columns:repeat(2,1fr);}","{grid-template-columns:repeat(3,1fr);}"],(e=>{let{theme:t}=e;return t.media.md}),(e=>{let{theme:t}=e;return t.media.xl})),G_=(0,p.Ay)(s.so).withConfig({componentId:"sc-143vhlm-2"})(["flex-grow:2;justify-content:space-between;","{justify-content:flex-end;}"],(e=>{let{theme:t}=e;return t.media.md})),q_=(0,p.Ay)(s.so).withConfig({componentId:"sc-143vhlm-3"})(["flex-grow:2;","{flex-grow:0;}"],(e=>{let{theme:t}=e;return t.media.md})),H_=e=>{let{updating:t,loading:n,children:r,className:i,skeletonHeight:o,error:a}=e;return(0,m.jsx)(W_,{className:`${i||""} p-4`,children:a?(0,m.jsx)(s.EY,{small:!0,className:"mt-3",color:"error",children:a.message}):n?(0,m.jsx)(Y.A,{height:null!==o&&void 0!==o?o:200}):(0,m.jsxs)(m.Fragment,{children:[r,t&&(0,m.jsx)(Y_,{})]})})},W_=p.Ay.div.withConfig({componentId:"sc-112any1-0"})(["background:white;flex-grow:1;padding:2em;border-radius:",";position:relative;"],(e=>{let{theme:t}=e;return t.borders.radius})),Y_=(0,p.Ay)(s.y$).withConfig({componentId:"sc-112any1-1"})(["position:absolute;right:1rem;top:1rem;"]);var K_=n(39876);const J_=e=>{var t;let{value:n,max:r,currency:i,primary:o,pending:a}=e;const{language:l}=(0,c.GV)((e=>{let{siteDefinition:t}=e;return t})),u=n&&Math.ceil(n/r*100),d=u?`${u}%`:"2px";return!a||n&&0!==n?(0,m.jsx)(s.so,{align:"center",children:(0,m.jsx)(tP,{align:"center",primary:o,$width:d,children:(0,m.jsx)(eP,{className:"f3-500 ml-2",children:`${(0,K_.A)(Math.ceil(null!==n&&void 0!==n?n:0),null!==(t=null===l||void 0===l?void 0:l.name)&&void 0!==t?t:"en",i)}`})})}):(0,m.jsx)(Y.A,{height:40})},X_=e=>{let{user:t,pending:n}=e;const{t:r}=(0,d.B)(),i=(0,c.GV)(R_),o=(0,c.GV)(L_),a=(0,c.GV)(E_),l=(0,c.GV)(D_),u=(0,c.GV)(z_)[t.erpUserId];return(0,m.jsxs)($_,{className:"w-100 mb-2",align:"center",children:[(0,m.jsx)(s.so,{align:"center",children:(0,m.jsxs)(cP,{column:!0,align:"center",children:[(0,m.jsxs)(rP,{align:"center",justify:"center",children:["number"===typeof u&&(0,m.jsx)(oP,{p:u}),(0,m.jsx)(iP,{className:"mr-4 f3-400",align:"center",justify:"center",children:t.logo?(0,m.jsx)(aP,{src:t.logo,alt:"profile image"}):(0,m.jsx)(sP,{children:lP(t)})})]}),(0,m.jsx)(s.EY,{small:!0,className:"text-break text-center f3-500",children:t.fullName}),l&&(0,m.jsxs)(s.EY,{small:!0,className:"f3-500",children:[r("salesBoard.section_visits","Visits"),"number"!==typeof t.visitsCurrentPeriod&&n?(0,m.jsx)(s.y$,{className:"ml-2"}):(0,m.jsx)("span",{className:"ml-1",children:t.visitsCurrentPeriod})]})]})}),(0,m.jsx)(s.so,{column:!0,className:"ml-2",children:"number"===typeof u&&(0,m.jsxs)(Z_,{small:!0,className:"f3-500",children:[Math.ceil(u),"%"]})}),(0,m.jsxs)(nP,{children:[(0,m.jsx)(J_,{value:t.salesCurrentPeriod,max:i,currency:t.currency,primary:!0,pending:n}),a.has("compare")&&(0,m.jsx)(J_,{value:t.salesPreviousPeriod,max:o,currency:t.currency,pending:n})]})]})},Z_=(0,p.Ay)(s.EY).withConfig({componentId:"sc-1rlgbu7-0"})(["width:40px;"]),$_=(0,p.Ay)(s.so).withConfig({componentId:"sc-1rlgbu7-1"})([""]),eP=(0,p.Ay)(s.EY).withConfig({componentId:"sc-1rlgbu7-2"})(["white-space:nowrap;color:",";"],(e=>{let{theme:t}=e;return t.colors.text})),tP=(0,p.Ay)(s.so).withConfig({componentId:"sc-1rlgbu7-3"})([""," "," height:40px;border-radius:2px;position:relative;"," ",""],(e=>{let{primary:t,theme:n}=e;return`background-color: ${t?(0,Ee.a)(.5,(0,Ee.Vl)(.6,n.colors.main)):n.colors.disabled};`}),(e=>{let{$width:t}=e;return`width: ${t};`}),(e=>{let{primary:t}=e;return t&&"z-index: 1;"}),(e=>{let{primary:t}=e;return!t&&"margin: -3px 0  0 4px;"})),nP=p.Ay.div.withConfig({componentId:"sc-1rlgbu7-4"})(["flex-grow:1;padding:0.5rem;"]),rP=(0,p.Ay)(s.so).withConfig({componentId:"sc-1rlgbu7-5"})(["position:relative;height:70px;width:70px;"]),iP=(0,p.Ay)(s.so).withConfig({componentId:"sc-1rlgbu7-6"})(["height:50px;width:50px;flex-shrink:0;background:",";border-radius:30px;font-size:20px;color:",";overflow:hidden;position:absolute;left:10px;"],(e=>{let{theme:t}=e;return t.colors.main}),(e=>{let{theme:t}=e;return t.colors.mainText})),oP=p.Ay.div.withConfig({componentId:"sc-1rlgbu7-7"})(["flex-shrink:0;height:100%;width:100%;color:",";--p:",";--b:10px;--c:",";aspect-ratio:1;position:relative;&::before,&::after{content:'';position:absolute;border-radius:50%;}&::before{inset:0;background:radial-gradient(farthest-side,var(--c) 98%,#0000) top/var(--b) var(--b) no-repeat,conic-gradient(var(--c) calc(var(--p) * 1%),#0000 0);-webkit-mask:radial-gradient(farthest-side,#0000 calc(99% - var(--b)),#000 calc(100% - var(--b)));mask:radial-gradient(farthest-side,#0000 calc(99% - var(--b)),#000 calc(100% - var(--b)));}&::after{inset:calc(50% - var(--b) / 2);background:var(--c);transform:rotate(calc(var(--p) * 3.6deg)) translateY(calc(50% - var(--w) / 2));}"],(e=>{let{theme:t}=e;return t.colors.attentionText}),(e=>{let{p:t}=e;return t}),(e=>{let{theme:t,p:n}=e;return n>99?(0,Ee.Vl)(.2,t.colors.success):(0,Ee.a)(.1,(0,Ee.Vl)(.2,t.colors.attention))})),aP=p.Ay.img.withConfig({componentId:"sc-1rlgbu7-8"})(["width:100%;height:100%;object-fit:cover;background-color:",";"],(e=>{let{theme:t}=e;return(0,Ee.J1)(t.colors.main)>.95?(0,Ee.Qw)(.03,t.colors.main):(0,Ee.a)(.08,t.colors.main)})),sP=p.Ay.div.withConfig({componentId:"sc-1rlgbu7-9"})(["letter-spacing:2px;"]);function lP(e){var t,n;return[null===(t=e.firstName)||void 0===t?void 0:t.slice(0,1),null===(n=e.lastName)||void 0===n?void 0:n.slice(0,1)].filter((e=>e))}const cP=(0,p.Ay)(s.so).withConfig({componentId:"sc-1rlgbu7-10"})(["width:100px;"]),uP=e=>{let{className:t}=e;const{t:n}=(0,d.B)(),{data:r,pending:i,error:o}=(0,c.GV)(j_);return(0,m.jsxs)(H_,{loading:!r.length,updating:i,className:t,error:o,children:[(0,m.jsx)("h3",{children:n("salesBoard.section_leaderboard","Leaderboard")}),(0,m.jsx)(s.so,{column:!0,className:"w-100 z-context",children:r.map(((e,t)=>(0,m.jsx)(X_,{user:e,pending:i},`${e.firstName}_${e.lastName}_${t}`)))})]})},dP=e=>{let{list:t,title:n}=e;return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)("h3",{children:n}),(0,m.jsx)(pP,{children:t.map(((e,t)=>(0,m.jsx)(hP,{children:e.item},e.key)))})]})},pP=p.Ay.ol.withConfig({componentId:"sc-7h1ni6-0"})([""]),hP=p.Ay.li.withConfig({componentId:"sc-7h1ni6-1"})([""," ",";"],(e=>{let{theme:t}=e;return t.borders.underline1}),(e=>{let{theme:t}=e;return t.colors.borderLight})),fP=e=>{var t;let{className:n}=e;const{t:r}=(0,d.B)(),i=(0,c.GV)((e=>{let{siteDefinition:t}=e;return t.language})),{data:o,pending:a,error:l}=(0,c.GV)(N_),u=null!==(t=o.map(((e,t)=>{var n,r,o;return{key:`${null===(n=e.orderNumber)||void 0===n?void 0:n.toString()}_${t}`,item:(0,m.jsxs)(mP,{justify:"between",align:"center",children:[(0,m.jsxs)("div",{children:[(0,m.jsx)(s.EY,{small:!0,className:"f3-400",children:e.customerName}),(0,m.jsx)(s.EY,{small:!0,light:!0,children:e.customerNumber})]}),(0,m.jsx)("div",{className:"f3-500",children:e.currency?(0,K_.A)(Math.ceil(null!==(r=e.orderValue)&&void 0!==r?r:Number.NaN),null!==(o=null===i||void 0===i?void 0:i.name)&&void 0!==o?o:"en",e.currency):Number.NaN.toString()})]})}})))&&void 0!==t?t:[];return(0,m.jsx)(H_,{updating:a,loading:!o.length&&a,className:n,error:l,children:(0,m.jsx)(dP,{list:u,title:r("salesBoard.section_topOrders","Top Orders")})})},mP=(0,p.Ay)(s.so).withConfig({componentId:"sc-ipx5zv-0"})(["padding:0.8rem 0;"]),gP=e=>{var t;let{className:n}=e;const{t:r}=(0,d.B)(),{data:i,pending:o,error:a}=(0,c.GV)(M_),l=(0,c.GV)((e=>{let{assortment:t}=e;return t.showBrand})),u=null!==(t=i.map(((e,t)=>({key:`${e.productNumber}_${t}`,item:(0,m.jsxs)(s.so,{justify:"between",align:"center",children:[(0,m.jsx)(gw.L,{item:e.product,showBrand:l,leftPadding:!1,goToProductPageOnClick:!0,smallThumbnail:!0},`${e.productNumber}_${t}`),(0,m.jsx)(s.EY,{className:"f3-700",children:e.sum})]})}))))&&void 0!==t?t:[];return(0,m.jsx)(H_,{updating:o,loading:!i.length&&o,className:n,error:a,children:(0,m.jsx)(dP,{list:u,title:r("salesBoard.section_topProducts","Top Products")})})},vP=e=>{var t,n,r,i;let{className:o}=e;const{t:a}=(0,d.B)(),s=(0,c.GV)((e=>{let{salesboard:t}=e;return t.selectedPeriod})),l=(0,c.GV)(E_),{language:u}=(0,c.GV)((e=>{let{siteDefinition:t}=e;return t})),{data:p,pending:h,error:f}=(0,c.GV)(B_),g=null!==(t=p.currentPeriod)&&void 0!==t?t:0,v=null!==(n=p.previousPeriod)&&void 0!==n?n:0,y=p.currency;return(0,m.jsx)(H_,{updating:h,loading:0===Object.keys(p).length,className:o,skeletonHeight:105,error:f,children:(0,m.jsxs)(bP,{children:[(0,m.jsx)("h3",{children:a("price.totalValue","Total Value")}),(0,m.jsxs)(wP,{children:[(0,m.jsxs)("div",{children:[l.has("compare")&&(0,m.jsx)("h4",{className:"",children:yP(s,a)}),(0,m.jsx)(xP,{children:(0,K_.A)(Math.ceil(g),null!==(r=null===u||void 0===u?void 0:u.name)&&void 0!==r?r:"en",y)})]}),l.has("compare")&&(0,m.jsxs)("div",{children:[(0,m.jsx)("h4",{className:"",children:AP(s,a)}),(0,m.jsx)(xP,{prev:!0,children:(0,K_.A)(Math.ceil(v),null!==(i=null===u||void 0===u?void 0:u.name)&&void 0!==i?i:"en",y)})]})]})]})})};function yP(e,t){switch(e){case r_.Day:return t("calendar.today","Today");case r_.Week:return t("calendar.week","Week");case r_.Month:return t("calendar.month","Month");case r_.Year:return t("calendar.year","Year")}}function AP(e,t){return e===r_.Day?t("calendar.yesterday","Yesterday"):t("calendar.previousYear","Last year")}const bP=p.Ay.div.withConfig({componentId:"sc-efb1no-0"})(["text-align:center;"]),wP=(0,p.Ay)(s.so).withConfig({componentId:"sc-efb1no-1"})(["justify-content:space-between;","{gap:200px;justify-content:center;}h4{margin-bottom:0;}"],(e=>{let{theme:t}=e;return t.media.md})),xP=p.Ay.span.withConfig({componentId:"sc-efb1no-2"})(["font-size:28px;color:",";"],(e=>{let{theme:t,prev:n}=e;return n?t.colors.textLight:t.colors.text}));let CP;const SP=()=>{const{t:e}=(0,d.B)(),t=(0,c.jL)(),{selectedPeriod:n}=(0,c.GV)((e=>{let{salesboard:t}=e;return t})),r=(0,c.GV)(I_);return(0,u.useEffect)((()=>{t(u_())}),[t,n]),(0,u.useEffect)((()=>(CP=setInterval((()=>{t(u_())}),3e5),()=>clearInterval(CP))),[t]),(0,m.jsxs)(EP,{column:!0,children:[(0,m.jsx)(IP,{justify:"between",className:"mt-4 px-3",children:(0,m.jsx)("h1",{children:kP(n,e)})}),r.has("leaderboard")&&(0,m.jsx)(uP,{}),r.has("totalValue")&&(0,m.jsx)(vP,{}),(0,m.jsxs)(EP,{$wrap:!0,className:"w-100",children:[r.has("topOrders")&&(0,m.jsx)(fP,{}),r.has("topProducts")&&(0,m.jsx)(gP,{})]})]})};function kP(e,t){switch(e){case r_.Week:return t("calendar.week","Week");case r_.Month:return t("calendar.month","Month");case r_.Year:return t("calendar.year","Year");case r_.Day:default:return t("calendar.day","Day")}}const EP=(0,p.Ay)(s.so).withConfig({componentId:"sc-4rutjy-0"})(["gap:12px;"]),IP=(0,p.Ay)(s.so).withConfig({componentId:"sc-4rutjy-1"})(["border-radius:",";"],(e=>{let{theme:t}=e;return t.borders.radius}));let _P;const PP=()=>{const e=(0,c.jL)(),{t:t}=(0,d.B)(),{isFullscreen:n,requestFullscreen:r,elementRef:i}=t_(),{playing:o,authError:a}=(0,c.GV)((e=>{let{salesboard:t}=e;return t}));return(0,u.useEffect)((()=>(o&&(_P=setInterval((()=>{e(a?n?(0,T.U0)(window.location.href):p_():m_("next"))}),3e4)),()=>{clearInterval(_P)})),[o,a,n,e]),(0,m.jsx)(tl.A,{type:"Salesboard",children:{options:{},component:{title:t("salesBoard.salesBoard","Sales Board"),content:(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(s.so,{align:"center",justify:"between",children:(0,m.jsx)(Np,{className:"mb-2",size:26})}),(0,m.jsx)(Q_,{onFullScreen:r}),(0,m.jsx)(OP,{ref:i,children:(0,m.jsx)(SP,{})})]})}}})},OP=p.Ay.div.withConfig({componentId:"sc-1mrk0ep-0"})(["&::backdrop{background:",";}ol,ul{list-style-type:none;padding:0;margin:0;}"],(e=>{let{theme:t}=e;return t.colors.fill})),TP=()=>{var e,t;const n=(0,c.jL)(),r=(0,G.A)(Kt.Np),i=(0,G.A)(Gp.p5),o=(0,G.A)(Gp.Kq),a=(0,G.A)(Gp.ig),s=(0,G.A)(Gp.s3),l=(0,G.A)(Gp.ls),d=(0,G.A)(gt.Fu),p=VS({customer:!0,currentPage:i,currentMicroshop:o,currentOrder:s,totalMicroshops:null!==(e=a.length)&&void 0!==e?e:0});return(0,u.useEffect)((()=>{l||n((0,cp.fr)())}),[n,l,null===d||void 0===d?void 0:d.name]),(0,u.useEffect)((()=>{n((0,cp.dg)("List"))}),[n,r]),(0,m.jsx)(tl.A,{type:"CustomerMicroshops",children:{options:{sellingOrOverriding:r},component:null!==(t=p.subComponent)&&void 0!==t?t:p.component}})},DP=()=>{var e;const t=(0,c.GV)((e=>{let{user:t}=e;return t.userIdentity})),{subscriptions:n,loading:r}=(0,c.GV)((e=>{let{user:t}=e;return t.orderSubscriptions})),{t:i}=(0,d.B)(),o=n.length>0;return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsxs)(s.so,{align:"start",column:!0,className:"f3-300",children:[(0,m.jsx)(RP,{className:"pb-3",children:i("seller.orderMonitoringInfo","Here you can follow your customer's orders. Every time a customer makes an order, you will receive a notification to your e-mail.")}),(0,m.jsxs)("span",{children:[i("seller.orderMonitoringNotificationInfo","Notifications are sent to: ")," ",(0,m.jsx)("span",{className:"f3-400",children:null===t||void 0===t||null===(e=t.user)||void 0===e?void 0:e.email})]})]}),(0,m.jsx)(NP,{}),r&&(0,m.jsx)(s.y$,{className:"m-auto mt-5"}),o?(0,m.jsx)(jP,{}):(0,m.jsx)(BP,{})]})},jP=()=>{const{subscriptions:e}=(0,c.GV)((e=>{let{user:t}=e;return t.orderSubscriptions})),{t:t}=(0,d.B)(),n=(0,c.jL)(),r=(0,c.cb)(),o=(0,u.useCallback)((e=>()=>{n((0,f.wp)({title:t("action.remove","Remove"),description:t("seller.orderMonitoringRemoved","Customer {{sub.customerName}} ({{sub.customerCode}}) will no longer be monitored.",{customerName:e.customerName,cusomerCode:e.customerCode}),okLabel:t("confirmation.remove","Yes, remove"),onOk:()=>e.id&&n((0,_a.b5)(e.id))}))}),[n,t]),a=[t("seller.customer","Customer"),t("general.created","Created"),t("offer.expires","Expiration date"),t("order.status","Order status"),""],l=(0,u.useMemo)((()=>e.map((e=>({cells:[{el:`${e.customerName} (${e.customerCode})`},{el:e.created},{el:e.expire},{el:e.orderStatus},{el:(0,m.jsx)(LP,{icon:i.yLS,iconRight:!0,onClick:o(e)}),align:"right"}]})))),[e,o]),p=(0,u.useMemo)((()=>e.map((e=>({border:!1,cells:[{span:3,el:(0,m.jsxs)(s.so,{align:"center",justify:"between",className:"w-100",children:[(0,m.jsxs)(FP,{children:[e.customerName," (",e.customerCode,")"]}),(0,m.jsx)(LP,{icon:i.yLS,iconRight:!0,onClick:o(e)})]})},{el:`${t("general.created")} ${e.created}`},{el:`${t("offer.expires","Expiration date")} ${e.expire}`},{el:`${t("order.status","Order status")} ${e.orderStatus}`}]})))),[e,o,t]);return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)("h3",{children:t("seller.customers","Customers")}),(0,m.jsx)(il,{children:(0,m.jsx)(s.XI,{compact:r.lgBelow,cols:a.length,headers:a,rows:r.lgBelow?p:l})})]})},BP=()=>{const{t:e}=(0,d.B)();return(0,m.jsxs)(RP,{column:!0,children:[(0,m.jsx)(mp.A,{iconColor:"textDisabled",icon:i.pS3}),(0,m.jsx)("h3",{className:"f3-400 mt-2 text-center",children:e("seller.noCustomers","No customers added.")}),(0,m.jsx)("p",{className:"f3-300",children:e("seller.orderMonitoringEmpty","You have not added any customers to monitor their orders yet. Enter customer number (ERP) below to start monitoring.")})]})},NP=()=>{const{loading:e,rejected:t}=(0,c.GV)((e=>{let{user:t}=e;return t.orderSubscriptions})),[n,r]=(0,u.useState)(""),i=(0,c.jL)(),{t:o}=(0,d.B)(),a=(0,u.useCallback)((()=>{i((0,_a.Te)(n)),r("")}),[i,n]);return(0,m.jsxs)(RP,{className:"py-5",align:"center",children:[(0,m.jsx)(s.pd,{className:"flex-grow-1",onChange:e=>r(e.target.value),name:"erp",value:n,placeholder:o("seller.erpNumber","ERP number"),usePlaceHolderAsLabel:!0,loading:e,onKeyUp:e=>{"Enter"===e.key&&a()},errorText:t?o("user.customerNumberError","Enter the entire customer number"):void 0}),(0,m.jsx)(s.$n,{form:"erp",className:"ml-2",bgColor:"fillWhite",onClick:a,children:o("general.add","Add")})]})},MP=()=>{const{t:e}=(0,d.B)(),t=(0,c.jL)();return(0,u.useEffect)((()=>{t((0,_a.Xt)())}),[t]),(0,m.jsx)(tl.A,{type:"OrderMonitoring",children:{options:{},component:{content:(0,m.jsx)(DP,{}),title:e("seller.orderMonitoring","Order monitoring")}}})},RP=(0,p.Ay)(s.so).withConfig({componentId:"sc-3wfpyd-0"})(["max-width:510px;"]),LP=(0,p.Ay)(s.K0).withConfig({componentId:"sc-3wfpyd-1"})(["justify-self:right;"]),FP=p.Ay.span.withConfig({componentId:"sc-3wfpyd-2"})(["font-weight:bold;"]),zP=()=>{const{t:e}=(0,d.B)(),t=(0,c.jL)(),{priceViewSetting:n,priceLists:r}=(0,c.GV)((e=>{let{user:t}=e;return t})),o=(0,c.GV)((e=>{var t,n;let{user:r}=e;return null===(t=r.userIdentity)||void 0===t||null===(n=t.orderOptions)||void 0===n?void 0:n.priceEnabled})),a=(0,c.GV)($e._M),l=e=>{t((0,_a.Jf)({priceSetting:e,persistToLocalStorage:!0})),t((0,qs.On)("PriceSettings"))};(0,u.useEffect)((()=>{t((0,_a.Ck)())}),[t]);r.length;const p=void 0===r.find((e=>e.state===be.State.Ordered||e.state===be.State.Processing)),h=(0,m.jsx)(m.Fragment,{});s.K0,i.fny,e("price.orderpricelist","Order pricelist");return(0,m.jsx)(tl.A,{type:"PriceSettings",children:{options:{narrow:!0},component:{title:e("price.prices","Prices"),content:(0,m.jsxs)(m.Fragment,{children:[(0,m.jsxs)(QP,{className:"pt-4",column:!0,children:[!a&&(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(s.sx,{className:"pb-2",bgColor:"fillWhite",defaultChecked:n===be.PriceViewSetting.RetailAndCustomer,name:"price.retailAndCustomer",onClick:e=>l(be.PriceViewSetting.RetailAndCustomer),label:e("price.retailAndCustomer","Retail and customer")},"price.retailAndCustomer"),(0,m.jsx)(s.sx,{className:"pb-2",bgColor:"fillWhite",defaultChecked:n===be.PriceViewSetting.Customer,name:"price.customer",onClick:e=>l(be.PriceViewSetting.Customer),label:e("price.customer","Partner price")},"price.customer")]}),(0,m.jsx)(s.sx,{className:"pb-2",bgColor:"fillWhite",defaultChecked:n===be.PriceViewSetting.Retail,name:"price.retail",onClick:e=>l(be.PriceViewSetting.Retail),label:e("price.retail","Retail")},"price.retail"),(0,m.jsx)(s.sx,{className:"pb-2",bgColor:"fillWhite",defaultChecked:n===be.PriceViewSetting.None,name:"price.showNoPrice",onClick:e=>l(be.PriceViewSetting.None),label:e("price.showNoPrice","None")},"price.showNoPrice")]}),o&&p&&!1,o&&h]})}}})},QP=(0,p.Ay)(s.so).withConfig({componentId:"sc-11xink8-0"})([""]),UP=((0,p.Ay)(s.so).withConfig({componentId:"sc-11xink8-1"})(["background:",";border:solid 1px ",";width:fit-content;margin-top:10px;cursor:pointer;transition:all 0.3s;&:hover{box-shadow:0 4px 8px 0 rgba(29,29,29,0.2),0 6px 20px 0 rgba(22,22,22,0.19);}"],(e=>{let{theme:t}=e;return t.colors.fillWhite}),(e=>{let{theme:t}=e;return t.colors.fillHover})),p.Ay.div.withConfig({componentId:"sc-11xink8-2"})(["display:flex;justify-content:space-between;align-items:center;"]),(0,p.Ay)(s.EY).withConfig({componentId:"sc-11xink8-3"})(["margin:10px 6px 0px;"]),(0,p.Ay)(s.EY).withConfig({componentId:"sc-11xink8-4"})(["margin:10px 6px 0px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;"]),e=>{let{children:t}=e;const n=(0,u.useRef)(null),r=(0,c.jL)(),i=(0,c.GV)((e=>{let{controlPanel:t}=e;return t.scrollTop}));return(0,u.useEffect)((()=>(n.current&&(0,a.mh)(n.current),()=>(0,a.qY)())),[n]),(0,u.useEffect)((()=>{var e;i&&(r((0,qs.tc)(!1)),null===(e=n.current)||void 0===e||e.scrollTo({top:0}))}),[i,n,r]),(0,m.jsx)(VP,{ref:n,className:"f3-400",children:t})}),VP=p.Ay.div.withConfig({componentId:"sc-juz9zk-0"})(["position:relative;animation:fadein 0.5s;overflow:auto;z-index:1;"," ","{width:fit-content;}@keyframes fadein{from{opacity:0;}to{opacity:1;}}"],(e=>{let{theme:t}=e;return t.shadows.soft}),(e=>{let{theme:t}=e;return t.media.lg})),GP={Orders:DE,Articles:Dp,Offers:cE,Microshops:GS,Files:vf,Collections:mf,CustomerMicroshops:TP,PartnersOverview:e_,CustomerSelector:Ck.Ay,OrderMonitoring:MP,Salesboard:PP,ExportedFiles:()=>{const e=(0,c.GV)(an.lk),t=(0,c.jL)();return(0,u.useEffect)((()=>{t((0,an.bu)())}),[t]),(0,m.jsx)(tl.A,{type:"ExportedFiles",children:{options:{narrow:!0},component:{title:(0,pc.t)("seller.exportedFiles","Exported files"),content:(0,m.jsx)(nn,{files:e})}}})},PriceSettings:zP};function qP(e){const t=GP[e];return t?(0,m.jsx)(UP,{children:(0,m.jsx)(t,{})}):null}const HP=e=>{let{offset:t}=e;const{minimized:n,mobileHeader:r}=(0,c.GV)((e=>{let{controlPanel:t}=e;return t})),{component:o,narrowComponent:a,mobileComponent:l,isActive:d}=(0,c.GV)(qs.P),p=(0,c.GV)((e=>{let{navigation:t}=e;return t.showHeader})),h=(0,c.GV)(qs.N2),f=(0,c.jL)(),g=(0,c.cb)(),[v,y]=(0,u.useState)(0);(0,u.useEffect)((()=>{function e(){y(window.pageYOffset)}return window.addEventListener("scroll",e),()=>{window.removeEventListener("scroll",e)}}),[]);return h?g.lg?(0,m.jsxs)(m.Fragment,{children:[(0,m.jsxs)(WP,{showHeader:p&&!d,active:d,scrollY:v,children:[(0,m.jsxs)(JP,{column:!0,className:"f3-400",minimized:n,"data-testid":"control-panel","data-exclude-click":!0,children:[(0,m.jsx)(YP,{h:t||0}),(0,m.jsx)(Ws,{activeItem:o})]}),o&&qP(o),a&&qP(a)]}),d&&(0,m.jsx)(XP,{})]}):(0,m.jsx)(s.FQ,{onClose:()=>f((0,qs._S)()),visible:!0,children:{headerLogo:l?(0,m.jsxs)(s.so,{className:"w-100",align:"center",children:[(0,m.jsx)(s.v$,{iconColor:"textLight",bgColor:"fillWhite",icon:i.Uec,"aria-label":"angleLeft",onClick:()=>{r?r.onBack():f((0,qs.On)())}}),(0,m.jsx)(KP,{className:"f1-400 w-100 text-center",children:null===r||void 0===r?void 0:r.title})]}):(0,m.jsx)(s.d,{iconColor:"textLight",icon:i.X46}),content:l?qP(l):(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(Gs.A,{}),(0,m.jsx)(Ws,{})]})}}):null},WP=p.Ay.div.withConfig({componentId:"sc-1i6tqv9-0"})(["position:fixed;top:",";height:",";transition:all 0.3s ease;z-index:",";max-width:2100px;display:grid;grid-template-columns:min-content auto;> *{grid-column:2;grid-row:1;}","{width:100vw;}"],(e=>{let{showHeader:t,scrollY:n}=e;return t?n>=30?"80px":`calc(120px - ${n}px)`:"0px"}),(e=>{let{showHeader:t,scrollY:n}=e;return t?n>=30?"calc(100vh - 80px)":`calc(100vh - ${120-n}px)`:"100vh"}),(e=>{let{active:t}=e;return t?105:100}),(e=>{let{theme:t}=e;return t.media.lgBelow})),YP=p.Ay.div.withConfig({componentId:"sc-1i6tqv9-1"})([""]),KP=p.Ay.h2.withConfig({componentId:"sc-1i6tqv9-2"})(["text-overflow:ellipsis;overflow-x:hidden;max-width:calc(100vw - 110px);font-size:22px;margin-bottom:0;"]),JP=(0,p.Ay)(s.so).withConfig({componentId:"sc-1i6tqv9-3"})(["background:",";","{width:",";}grid-column:1;transition:width 0.1s;display:inline-flex;overflow:hidden;flex-shrink:0;"],(e=>{let{theme:t}=e;return t.colors.fillMedium}),(e=>{let{theme:t}=e;return t.media.lg}),(e=>{let{minimized:t}=e;return t?"54px":"214px"})),XP=p.Ay.div.withConfig({componentId:"sc-1i6tqv9-4"})(["width:100%;height:100%;position:fixed;top:0;left:0;bottom:0;right:0;backdrop-filter:blur(3px);background-color:rgb(0 0 0 / 28%);z-index:104;"]);var ZP=n(562);const $P=()=>{const{t:e}=(0,d.B)(),t=(0,c.jL)(),{publicOfferForm:n,selectedOffer:r,publicOfferUpdatePending:i}=(0,c.GV)((e=>{let{offers:t}=e;return t})),o={publicIdentifier:(null===r||void 0===r?void 0:r.publicIdentifier)||""};if(!n)return null;const{status:a,comment:l}=n;return(0,m.jsxs)(nO,{className:"p-3",children:[" ",(0,m.jsx)(s.EY,{fontSize:18,children:e("action.message","Message")}),(0,m.jsx)(tO,{bgColor:"borderGray",type:"checkbox",checked:0===a,onChange:()=>{const r={status:be.OfferStatus.Waiting,...o,statusLabel:e("status.waiting","Waiting")},i={...n,...r};t((0,lp.YL)(i))},circle:!0,label:e("status.waiting","Waiting")}),(0,m.jsx)(tO,{bgColor:"borderGray",type:"checkbox",checked:1===a,onChange:()=>{const r={status:be.OfferStatus.Accepted,...o,statusLabel:e("status.accepted","Accepted")},i={...n,...r};t((0,lp.YL)(i))},circle:!0,label:e("status.accepted","Accepted")}),(0,m.jsx)(tO,{bgColor:"borderGray",type:"checkbox",checked:2===a,onChange:()=>{const r={status:be.OfferStatus.Rejected,...o,statusLabel:e("status.rejected","Rejected")},i={...n,...r};t((0,lp.YL)(i))},circle:!0,label:e("status.rejected","Rejected")}),(0,m.jsx)(s.pd,{className:"my-3",onChange:e=>{const r={comment:e.target.value,...o},i={...n,...r};t((0,lp.YL)(i))},name:"Comment",type:"textarea",label:e("general.comment","Comment"),value:l}),(0,m.jsxs)(eO,{children:[(0,m.jsx)(s.$n,{disabled:i,onClick:()=>{const e={...n,...o};t((0,lp.k0)(e))},children:e("action.save","Save")}),i&&(0,m.jsx)(s.y$,{className:"ml-1"})]})]})},eO=p.Ay.div.withConfig({componentId:"sc-1gdhe6h-0"})(["display:flex;flex-direction:row;align-items:center;"]),tO=(0,p.Ay)(s.Sc).withConfig({componentId:"sc-1gdhe6h-1"})(["background:#fff;margin-top:8px;"]),nO=p.Ay.div.withConfig({componentId:"sc-1gdhe6h-2"})(["background-color:",";max-width:400px;min-width:300px;"],(e=>{let{theme:t}=e;return t.colors.fillWhite})),rO=(0,u.lazy)((()=>Promise.all([n.e(4588),n.e(4259)]).then(n.bind(n,24259)))),iO=()=>{const e=(0,c.jL)(),{identifier:t}=(0,O.g)(),{selectedOffer:n,publicOfferForm:r}=(0,c.GV)((e=>{let{offers:t}=e;return t})),i=(0,c.GV)(ZP.Lt.imagesPending),o=(0,c.cb)(),a=(0,c.GV)(ZP.Lt.status),l=(0,c.GV)(Yt.Lt.status);return(0,u.useEffect)((()=>{e((0,lp.S4)(t||""))}),[e,t]),(0,u.useEffect)((()=>{var t,r,i;n&&e(Yt.w9.exportToolOpened({origin:"offer",parameters:{productNumbers:null!==(t=null===(r=n.products)||void 0===r?void 0:r.map((e=>{var t;return null!==(t=e.productNumber)&&void 0!==t?t:""})))&&void 0!==t?t:[]},data:{refinements:n.refinements,pdfSettings:{...n.settings},variationNumbers:(0,yt.Uz)(n.products),pdfCartVariations:null===(i=n.products)||void 0===i?void 0:i.flatMap((e=>{var t,n;return null!==(t=null===(n=e.variations)||void 0===n?void 0:n.filter((e=>e.total&&!0!==e.refinementProduct)).map((e=>{var t;return{...e,comment:null!==(t=e.comment)&&void 0!==t?t:void 0}})))&&void 0!==t?t:[]}))},selectedTab:"pdf",options:{tabs:["pdf"],render:"none"}}))}),[e,n]),(0,u.useEffect)((()=>{"ready"===l&&"uninitiated"===a&&e(ZP.w9.init())}),[a,l,e]),n?(0,m.jsxs)(oO,{className:"p-3",justify:"center",align:"center",column:!0,children:[(0,m.jsx)(aO,{className:"my-3",children:n.name}),(0,m.jsx)(sO,{column:o.lgBelow,children:i||"ready"!==a?(0,m.jsx)(s.so,{justify:"center",align:"center",children:(0,m.jsx)(s.y$,{size:"medium"})}):(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(u.Suspense,{fallback:(0,m.jsx)(m.Fragment,{}),children:(0,m.jsx)(rO,{})}),r&&(0,m.jsx)($P,{})]})})]}):null},oO=(0,p.Ay)(s.so).withConfig({componentId:"sc-1kfqyp6-0"})(["height:100vh;width:100vw;"]),aO=p.Ay.h1.withConfig({componentId:"sc-1kfqyp6-1"})(["display:flex;align-self:left;"]),sO=(0,p.Ay)(s.so).withConfig({componentId:"sc-1kfqyp6-2"})(["position:relative;display:flex;justify-content:center;background:",";width:97%;height:calc(100vh - 100px);"],(e=>{let{theme:t}=e;return t.colors.fillWhite})),lO=e=>{let{label:t,value:n,secondaryValue:r}=e;return(0,m.jsxs)(gO,{children:[(0,m.jsx)(pO,{children:t}),(0,m.jsxs)(pO,{bold:!0,children:[n,""+(r?","+r:"")]})]})},cO=e=>{let{expected:t,orderNumber:n,customerNumber:r,creator:a,deliveryAdresses:l,customerStatus:c,message:u}=e;const{name:p="",email:h="",adressLine1:f="",city:g=""}=null!==l&&void 0!==l?l:{},{t:v}=(0,d.B)();return(0,m.jsx)(m.Fragment,{children:(0,m.jsxs)(dO,{children:[(0,m.jsxs)("h3",{children:[c===be.RefinementCustomerStatus.CustomerApproval?(0,m.jsx)(mO,{customerStatus:c,children:(0,m.jsx)(o.g,{icon:i.a$})}):(0,m.jsx)(mO,{customerStatus:c,children:(0,m.jsx)(o.g,{icon:i.bnw})}),c===be.RefinementCustomerStatus.CustomerApproval?"Godk\xe4nn korrektur":"Din order beh\xf6ver granskas"]}),(0,m.jsxs)(uO,{children:[(0,m.jsxs)(hO,{children:[(0,m.jsx)(lO,{label:`${v("refinement.expected")}: `,value:null!==t&&void 0!==t?t:""}),(0,m.jsx)(lO,{label:`${v("order.orderNumber")}: `,value:null!==n&&void 0!==n?n:""}),(0,m.jsx)(lO,{label:`${v("user.customerNumber")}: `,value:null!==r&&void 0!==r?r:""}),(0,m.jsx)(lO,{label:`${v("order.placedBy")}: `,value:null!==a&&void 0!==a?a:""}),(0,m.jsx)(lO,{label:"Best\xe4llare: ",value:null!==p&&void 0!==p?p:"",secondaryValue:null!==h&&void 0!==h?h:""})]}),(0,m.jsxs)(fO,{children:[(0,m.jsxs)(s.EY,{bold:!0,children:[v("shipment.address"),": "]}),(0,m.jsx)("span",{children:p}),(0,m.jsx)("span",{children:f}),(0,m.jsx)("span",{children:g})]})]}),u&&c===be.RefinementCustomerStatus.CustomerApproval&&(0,m.jsxs)(vO,{className:"mt-4",children:[(0,m.jsx)(s.EY,{bold:!0,children:v("refinement.message")}),(0,m.jsx)(s.EY,{children:u})]})]})})},uO=(0,p.Ay)(il).withConfig({componentId:"sc-idx4lu-0"})(["display:flex;padding:0;justify-content:space-between;margin-bottom:1px;"]),dO=p.Ay.div.withConfig({componentId:"sc-idx4lu-1"})(["max-width:881px;margin:0 auto;background-color:#ffffff;padding:32px;"]),pO=(0,p.Ay)(s.EY).withConfig({componentId:"sc-idx4lu-2"})(["flex:1;word-wrap:break-word;overflow-wrap:anywhere;white-space:normal;"]),hO=p.Ay.div.withConfig({componentId:"sc-idx4lu-3"})([""]),fO=p.Ay.div.withConfig({componentId:"sc-idx4lu-4"})(["display:flex;flex-direction:column;line-height:18px;"]),mO=p.Ay.span.withConfig({componentId:"sc-idx4lu-5"})(["margin-right:8px;color:",";"],(e=>{let{theme:t,customerStatus:n}=e;return n===be.RefinementCustomerStatus.CustomerApproval?t.colors.warning:t.colors.error})),gO=(0,p.Ay)(s.so).withConfig({componentId:"sc-idx4lu-6"})(["","{flex-direction:column;}"],(e=>{let{theme:t}=e;return t.media.smBelow})),vO=p.Ay.div.withConfig({componentId:"sc-idx4lu-7"})(["padding:20px 16px 20px 16px;background-color:#f8f8f8;"]),yO=e=>{let{log:t,identifier:n,customerName:r}=e;const o=(0,c.jL)(),{t:a}=(0,d.B)(),l=(0,c.GV)(gt.z6),[p,h]=(0,u.useState)("");let f=null;return(0,m.jsxs)(dO,{style:{marginTop:"24px"},children:[(0,m.jsx)("h3",{className:"mb-0",children:" Skriv med kundtj\xe4nst"}),(0,m.jsx)(s.EY,{small:!0,children:"Vi svarar vanligtvis inom 24 timmar."}),(0,m.jsx)(wO,{}),(0,m.jsx)("div",{style:{maxHeight:"800px",overflow:"auto",scrollbarWidth:"thin"},children:t&&t.filter((e=>e.comment)).length>0?t.slice().reverse().filter((e=>e.comment)).map(((e,t)=>{var n,i,o;const l=e.creatorType===be.RefinementOrderStatusCreator.Customer,c=new Date(null!==(n=null===e||void 0===e||null===(i=e.created)||void 0===i?void 0:i.str)&&void 0!==n?n:"").toDateString(),d=c!==f;return f=d?c:f,(0,m.jsxs)(u.Fragment,{children:[d&&(0,m.jsx)(s.so,{justify:"center",className:"mt-2 mb-2",children:(0,m.jsx)(s.EY,{small:!0,children:null===e||void 0===e||null===(o=e.created)||void 0===o?void 0:o.str})}),(0,m.jsxs)(s.so,{column:!0,align:l?"end":"start",gap:"4px",style:{marginRight:"10px",marginLeft:"10px"},className:"mt-2",children:[(0,m.jsx)(s.EY,{small:!0,children:l?null!==r&&void 0!==r?r:a("seller.customer"):a("contact.customerSupport")}),(0,m.jsx)(AO,{right:l,children:e.comment})]},t)]},t)})):(0,m.jsx)(s.so,{className:"mt-5 mb-5",justify:"center",children:"Det finns \xe4nnu inga meddelanden att visa!"})}),(0,m.jsxs)(s.so,{gap:"8px",className:"mt-5",children:[(0,m.jsxs)(bO,{children:[(0,m.jsx)(s.pd,{style:{borderRadius:"50px",border:"1px solid #ECECEC",paddingLeft:"20px"},placeholder:"Skriv ett meddelande",value:p,onChange:e=>h(e.target.value)})," "]}),(0,m.jsx)(xO,{icon:i.O3E,color:"white",onClick:()=>{o((0,El.VB)({identifier:null!==n&&void 0!==n?n:"",comment:p,external:!0})),h("")}})]}),!!l&&(0,m.jsx)(CO,{className:"mt-3",children:(0,m.jsx)(SO,{children:(0,m.jsx)(R.A,{name:"customerServiceText",model:{propertyDataType:"PropertyXhtmlString",value:l}})})})]})},AO=p.Ay.div.withConfig({componentId:"sc-1cn8oxc-0"})(["padding:20px 16px 20px 16px;border-radius:",";background-color:",";"],(e=>{let{right:t}=e;return t?"10px 10px 0px 10px":"10px 10px 10px 0px"}),(e=>{let{right:t}=e;return t?"#DDE1FF":"#f4f4f4"})),bO=p.Ay.div.withConfig({componentId:"sc-1cn8oxc-1"})(["width:100%;"]),wO=p.Ay.div.withConfig({componentId:"sc-1cn8oxc-2"})(["border:1px solid #ececec;margin-bottom:16px;"]),xO=(0,p.Ay)(s.K0).withConfig({componentId:"sc-1cn8oxc-3"})(["background:#818cdb;&:hover{background:#6a73b4;}"]),CO=p.Ay.div.withConfig({componentId:"sc-1cn8oxc-4"})(["padding:20px 16px 20px 16px;background-color:#f8f8f8;"]),SO=p.Ay.div.withConfig({componentId:"sc-1cn8oxc-5"})(["h2{font-size:24px;margin:0;}article{margin:0;}"]),kO=e=>{var t,n,r,a,l,p,h,g,v,y,A,b,w,x,C;let{order:S}=e;const{identifier:k}=(0,O.g)(),[E,I]=(0,u.useState)(!1),[_,P]=(0,u.useState)(!1),T=(0,u.useRef)(""),D=(0,ah.ED)(null!==(t=null===S||void 0===S?void 0:S.products)&&void 0!==t?t:[],null!==(n=null===S||void 0===S?void 0:S.refinements)&&void 0!==n?n:[],null===S||void 0===S||null===(r=S.products)||void 0===r?void 0:r.flatMap((e=>{var t;return null!==(t=e.variations)&&void 0!==t?t:[]}))),j=null===S||void 0===S||null===(a=S.refinementStatus)||void 0===a||null===(l=a.log)||void 0===l||null===(p=l.find((e=>{let{status:t,customerStatus:n,creatorType:r}=e;return n===be.RefinementCustomerStatus.CustomerApproval&&r===be.RefinementOrderStatusCreator.User||r===be.RefinementOrderStatusCreator.Partner})))||void 0===p?void 0:p.comment,B=(0,c.jL)(),{t:N}=(0,d.B)(),M=(0,c.cb)();return(0,m.jsx)(EO,{children:(0,m.jsxs)(IO,{bp:M,children:[(0,m.jsx)(cO,{expected:null===S||void 0===S||null===(h=S.refinementStatus)||void 0===h||null===(g=h.expected)||void 0===g?void 0:g.str,orderNumber:null===S||void 0===S?void 0:S.orderNumber,customerNumber:null===S||void 0===S?void 0:S.customerNumber,creator:null===S||void 0===S||null===(v=S.creator)||void 0===v?void 0:v.email,deliveryAdresses:null!==(y=null===S||void 0===S||null===(A=S.deliveryAdresses)||void 0===A?void 0:A[0])&&void 0!==y?y:null,customerStatus:null!==(b=null===S||void 0===S||null===(w=S.refinementStatus)||void 0===w?void 0:w.customerStatus)&&void 0!==b?b:0,message:j}),(0,m.jsxs)(dO,{style:{marginTop:"24px"},children:[(0,m.jsx)("h3",{children:N("file.attachments")}),(0,m.jsx)(s.EY,{children:N("refinement.review_proof")}),(0,m.jsxs)(s.EY,{style:{cursor:"pointer",color:"#224382"},onClick:()=>{var e,t,n;B(Yt.w9.exportToolOpened({origin:"order",parameters:{productNumbers:null===S||void 0===S||null===(e=S.products)||void 0===e?void 0:e.map((e=>{var t;return null!==(t=e.productNumber)&&void 0!==t?t:""}))},data:{refinements:null===S||void 0===S?void 0:S.refinements,variationNumbers:(0,yt.Uz)(null===S||void 0===S?void 0:S.products),pdfCartVariations:null===S||void 0===S||null===(t=S.products)||void 0===t?void 0:t.flatMap((e=>{var t;return null!==(t=e.variations)&&void 0!==t?t:[]})),pdfOrders:[{...S,tracking:null===S||void 0===S||null===(n=S.tracking)||void 0===n?void 0:n.map((e=>{var t,n;return{...e,date:null!==(t=null===(n=e.date)||void 0===n?void 0:n.str)&&void 0!==t?t:void 0}})),refinements:ec(null===S||void 0===S?void 0:S.refinements)}],pdfOrderType:"order",pdfSettings:{useApplicationPage:!0}},selectedTab:"pdf",options:{fileName:`order-${null===S||void 0===S?void 0:S.orderNumber}`,tabs:["pdf"],render:"autoDownload"}}))},children:[(0,m.jsx)(o.g,{icon:i.O_q})," ",`order-${null===S||void 0===S?void 0:S.orderNumber}.pdf`]}),(0,m.jsxs)("div",{style:{background:"#F8F8F8",padding:"24px"},className:"mt-3",children:[(0,m.jsx)("h3",{children:N("proof.proof_one")}),(0,m.jsx)(s.xA,{className:"mb-4",gap:"10px",columns:{base:`repeat(auto-fill, ${M.lg?222:192}px)`},children:null===D||void 0===D?void 0:D.map(((e,t)=>(0,m.jsx)(yh,{data:e,origin:"PublicOrder",publicOrderId:k,editDisabled:!0},e.id)))})]})]}),(0,m.jsx)(yO,{log:null!==(x=null===S||void 0===S||null===(C=S.refinementStatus)||void 0===C?void 0:C.log)&&void 0!==x?x:[],identifier:k,customerName:null===S||void 0===S?void 0:S.customerName}),E?(0,m.jsxs)(dO,{style:{marginTop:"24px"},children:[(0,m.jsxs)(s.so,{align:"baseline",gap:"6px",children:[(0,m.jsx)(o.g,{icon:i.QRE,color:"#3BBD2F"}),(0,m.jsxs)("h4",{children:[N("general.thankYou"),"!"]})]}),(0,m.jsx)(s.EY,{children:N("order.thankYou_message_customerApproval")})]}):(0,m.jsxs)(s.so,{gap:"8px",className:"mt-4",children:[(0,m.jsxs)(s.$n,{height:60,bgColor:"sale",color:"white",fullwidth:!0,onClick:()=>{B((0,f.wp)({title:N("refinement.reject")+" korrektur",content:(0,m.jsx)(m.Fragment,{children:(0,m.jsxs)(dO,{className:"mt-2",style:{padding:"0"},children:[(0,m.jsx)(s.EY,{children:"V\xe4nligen ange varf\xf6r du vill avvisa korrekturet."}),(0,m.jsx)(s.Lz,{name:"rejectText",onChange:e=>T.current=e.target.value})]})}),okLabel:N("action.ok"),cancelLabel:N("action.cancel"),onOk:()=>{B((0,El.TM)({identifier:null!==k&&void 0!==k?k:"",approved:!1,comment:T.current})).then((()=>{I(!0)}))}}))},children:[N("refinement.reject")," ",N("proof.proof")]}),(0,m.jsx)(s.$n,{height:60,bgColor:"buy",color:"white",fullwidth:!0,onClick:()=>{P(!0),B((0,El.TM)({identifier:null!==k&&void 0!==k?k:"",approved:!0,comment:""})).then((()=>{P(!1),I(!0)}))},children:_?(0,m.jsx)(s.so,{justify:"center",children:_&&(0,m.jsx)(s.y$,{})}):`${N("status.approvedAction")} ${N("proof.proof")}`})]})]})})},EO=p.Ay.div.withConfig({componentId:"sc-27787z-0"})(["max-width:881px;margin:0 auto;"]),IO=p.Ay.div.withConfig({componentId:"sc-27787z-1"})(["padding:24px 0;margin:",";background-color:#f4f4f4;"],(e=>{let{bp:t}=e;return t.mdBelow?"0 12px":"0 auto"})),_O=t=>{var n,r,a,l,p,h,f,g,v,y,A,b,w,x,C,S;let{order:k}=t;const{identifier:E}=(0,O.g)(),{t:I}=(0,d.B)(),_=(0,c.cb)(),[P,T]=(0,u.useState)(!1),[D,j]=(0,u.useState)(!1),B=(0,ah.ED)(null!==(n=null===k||void 0===k?void 0:k.products)&&void 0!==n?n:[],null!==(r=null===k||void 0===k?void 0:k.refinements)&&void 0!==r?r:[],null===k||void 0===k||null===(a=k.products)||void 0===a?void 0:a.flatMap((e=>{var t;return null!==(t=e.variations)&&void 0!==t?t:[]}))),N=null===k||void 0===k||null===(l=k.refinementStatus)||void 0===l||null===(p=l.log)||void 0===p||null===(h=p.find((e=>{let{status:t,customerStatus:n,creatorType:r}=e;return t===be.RefinementOrderStatus.Rejected&&n===be.RefinementCustomerStatus.RejectToCustomer&&r===be.RefinementOrderStatusCreator.User||r===be.RefinementOrderStatusCreator.Partner})))||void 0===h?void 0:h.comment;return(0,m.jsx)(PO,{children:(0,m.jsxs)(TO,{bp:_,children:[(0,m.jsx)(cO,{expected:null===k||void 0===k||null===(f=k.refinementStatus)||void 0===f||null===(g=f.expected)||void 0===g?void 0:g.str,orderNumber:null===k||void 0===k?void 0:k.orderNumber,customerNumber:null===k||void 0===k?void 0:k.customerNumber,creator:null===k||void 0===k||null===(v=k.creator)||void 0===v?void 0:v.email,deliveryAdresses:null!==(y=null===k||void 0===k||null===(A=k.deliveryAdresses)||void 0===A?void 0:A[0])&&void 0!==y?y:null,customerStatus:null!==(b=null===k||void 0===k||null===(w=k.refinementStatus)||void 0===w?void 0:w.customerStatus)&&void 0!==b?b:0,message:N}),(0,m.jsxs)(dO,{style:{marginTop:"24px"},children:[(0,m.jsx)("h3",{children:I("proof.proof_one")}),N&&(null===k||void 0===k||null===(x=k.refinementStatus)||void 0===x?void 0:x.customerStatus)!==be.RefinementCustomerStatus.CustomerApproval&&(0,m.jsxs)(OO,{className:"mt-4 mb-4",children:[(0,m.jsxs)(s.EY,{bold:!0,children:[I("action.actions"),":"]}),(0,m.jsx)(s.EY,{children:N})]}),(0,m.jsx)(s.xA,{className:"mb-4",gap:"10px",columns:{base:`repeat(${_.lg?2:1}, 1fr)`},children:null===B||void 0===B?void 0:B.map(((e,t)=>(0,m.jsx)(yh,{data:e,origin:"PublicOrder",publicOrderId:E,editDisabled:D},e.id)))})]}),(0,m.jsx)(yO,{log:null!==(C=null===k||void 0===k||null===(S=k.refinementStatus)||void 0===S?void 0:S.log)&&void 0!==C?C:[],identifier:E,customerName:null===k||void 0===k?void 0:k.customerName}),D?(0,m.jsxs)(dO,{style:{marginTop:"24px"},children:[(0,m.jsxs)(s.so,{align:"baseline",gap:"6px",children:[(0,m.jsx)(o.g,{icon:i.QRE,color:"#3BBD2F"}),(0,m.jsxs)("h4",{children:[I("general.thankYou"),"!"]})]}),(0,m.jsx)(s.EY,{children:I("order.thankYou_message_rejectToCustomer")})]}):(0,m.jsx)(s.$n,{height:60,className:"mt-4",fullwidth:!0,bgColor:"buy",color:"white",disabled:D,onClick:()=>{T(!0),e.Ay.orderPublicCustomerSubmit(E,"").then((e=>{T(!1),j(!0)}))},children:P?(0,m.jsx)(s.so,{justify:"center",children:P&&(0,m.jsx)(s.y$,{})}):I("action.submitChanges")})]})})},PO=p.Ay.div.withConfig({componentId:"sc-1067xvt-0"})(["max-width:881px;margin:0 auto;"]),OO=p.Ay.div.withConfig({componentId:"sc-1067xvt-1"})(["padding:20px 16px;background-color:#f8f8f8;"]),TO=p.Ay.div.withConfig({componentId:"sc-1067xvt-2"})(["padding:24px 0;margin:",";background-color:#f4f4f4;"],(e=>{let{bp:t}=e;return t.mdBelow?"0 12px":"0 auto"})),DO=()=>{var e,t,n,r;const{loading:i,order:o,error:a}=(0,c.GV)((e=>{let{orders:t}=e;return t.publicOrder})),{identifier:l}=(0,O.g)(),p=(0,Rn.wA)(),{t:h}=(0,d.B)();return(0,u.useEffect)((()=>{p((0,El.sA)(null!==l&&void 0!==l?l:""))}),[p,l]),i?(0,m.jsx)(BO,{children:(0,m.jsx)(s.y$,{})}):a?(0,m.jsx)(BO,{children:(0,m.jsx)(jO,{error:a})}):(document.title=`Order #${null!==(e=null===o||void 0===o?void 0:o.orderNumber)&&void 0!==e?e:""}`,(null===o||void 0===o?void 0:o.identifierType)===be.IdentifierType.Customer&&(null===o||void 0===o||null===(t=o.refinementStatus)||void 0===t?void 0:t.customerStatus)!==be.RefinementCustomerStatus.CustomerApproval?(0,m.jsx)(_O,{order:o}):(null===o||void 0===o||null===(n=o.refinementStatus)||void 0===n?void 0:n.customerStatus)===be.RefinementCustomerStatus.CustomerApproval&&(null===o||void 0===o?void 0:o.identifierType)===be.IdentifierType.Customer?(0,m.jsx)(kO,{order:o}):(0,m.jsx)(m.Fragment,{children:o&&(0,m.jsxs)(NO,{className:"p-4",children:[(0,m.jsx)(cl.d,{className:"mt-3",header:`${h("order.order_one")} #${null!==(r=null===o||void 0===o?void 0:o.orderNumber)&&void 0!==r?r:""}`}),(0,m.jsx)(hp,{renderWidth:"wide",publicOrder:!0,order:o,orderStatus:"OrderLoaded",identifier:l})]})}))},jO=e=>{let{error:t}=e;const{t:n}=(0,d.B)();let r=n("error.general");return(0,m.jsxs)(s.so,{className:"m-auto pt-4",column:!0,align:"center",children:[(0,m.jsx)(mp.A,{iconColor:"textDisabled",icon:i.buE}),(0,m.jsx)("h3",{className:"f3-400",children:n("error.error")}),(0,m.jsx)(s.so,{column:!0,children:(0,m.jsx)("span",{className:"f3-300",children:r})})]})},BO=p.Ay.div.withConfig({componentId:"sc-1sde2xz-0"})(["height:100vh;display:flex;flex-direction:column;justify-content:center;align-items:center;font-size:40px;"]),NO=p.Ay.div.withConfig({componentId:"sc-1sde2xz-1"})(["display:flex;flex-direction:column;justify-content:center;margin:auto;width:100%;","{max-width:1500px;}"],(e=>{let{theme:t}=e;return t.media.xl}));var MO=n(5874),RO=n(7827);const LO=(0,p.DU)([".FormContainerBlock{margin:0 auto;width:100%;}.EPiServerForms .Form__Success__Message{background-color:transparent !important;}.EPiServerForms .Form__Warning__Message{background-color:transparent !important;}.EPiServerForms .Form__Element__Caption{width:100%;font-size:16px;margin-bottom:0;}.EPiServerForms .hide{display:none !important;}.EPiServerForms .Form__Title{padding-bottom:10px;}.EPiServerForms .Form__Status{background:",";}.FormTextbox__Input,.FormDateTime__Input{width:100%;border:1px solid ",";border-radius:0;padding:6px 8px;&:focus{outline:none;border:1px solid ",";box-shadow:none;}}.FormTextbox--Textarea textarea{min-height:150px;}.Form__NavigationBar{border:0 !important;width:100%;padding:10px 0px   !important;display:flex;gap:0.5rem;}.Form__NavigationBar__ProgressBar{flex-grow:1;height:20px;margin-top:10px;border-radius:10px;border:1px solid "," !important;}.Form__NavigationBar__ProgressBar--Progress{height:100% !important;background:"," !important;border-radius:20px;}.Form__NavigationBar__Action.btnPrev,.Form__NavigationBar__Action.btnNext{position:relative;border:0 !important;background:"," !important;color:"," !important;border-radius:2px !important;border-radius:50% !important;width:40px !important;height:40px !important;font-size:0 !important;}.Form__NavigationBar__Action::after,.FormChoice__Input.FormChoice__Input--Checkbox:checked::after{content:'\xab';font-size:20px;position:absolute;left:0;top:-1px;width:100%;height:100%;display:flex;align-items:center;justify-content:center;}.Form__NavigationBar__Action.btnNext::after{content:'\xbb';}.Form__NavigationBar__ProgressBar--Text{display:block !important;margin-top:4px;text-align:center;}.Form__NavigationBar__Action:disabled{cursor:default !important;}.Form__Element.FormSubmitButton{border:0;width:fit-content;padding:10px 15px;background:",";color:",";border-radius:2px;}.FormChoice__Input.FormChoice__Input--Checkbox{height:30px !important;width:30px !important;border-radius:0 !important;appearance:none;background:white;position:relative;border:1px solid "," !important;}.FormChoice__Input.FormChoice__Input--Checkbox:checked::after{content:'\u2714';}.FormChoice--Image__Item{margin:0.5rem 1rem 0.5rem 0 !important;text-align:left !important;vertical-align:top;}.FormChoice--Image__Item img{max-width:100%;max-height:150px;object-fit:contain;display:block;}.EPiServerForms .FormChoice--Image .FormChoice__Input~img{border:1px solid "," !important;}.EPiServerForms .FormChoice--Image .FormChoice__Input:checked~img{border:1px solid "," !important;}.FormChoice--Image__Item__Caption{vertical-align:text-bottom;}.FormSubmitButton{width:100% !important;border-radius:30px !important;}"],(e=>{let{theme:t}=e;return t.colors.fillMedium}),(e=>{let{theme:t}=e;return t.colors.borderLight}),(e=>{let{theme:t}=e;return t.colors.border}),(e=>{let{theme:t}=e;return t.colors.border}),(e=>{let{theme:t}=e;return t.colors.fillMedium}),(e=>{let{theme:t}=e;return t.colors.accent}),(e=>{let{theme:t}=e;return t.colors.accentText}),(e=>{let{theme:t}=e;return t.colors.accent}),(e=>{let{theme:t}=e;return t.colors.textWhite}),(e=>{let{theme:t}=e;return t.colors.border}),(e=>{let{theme:t}=e;return t.colors.borderLight}),(e=>{let{theme:t}=e;return t.colors.attention})),FO=(0,p.DU)([".react-datepicker{border:1px solid ",";border-radius:0;border:0;",";}.react-datepicker__header{border-top-right-radius:0 !important;border-top-left-radius:0 !important;border:0;background:",";}.react-datepicker__day--selected,.react-datepicker__day--keyboard-selected{background:",";color:",";&:hover{color:",";background:","}}"],(e=>{let{theme:t}=e;return t.colors.borderLight}),(e=>{let{theme:t}=e;return t.shadows.soft}),(e=>{let{theme:t}=e;return t.colors.fillWhite}),(e=>{let{theme:t}=e;return t.colors.accent}),(e=>{let{theme:t}=e;return t.colors.accentText}),(e=>{let{theme:t}=e;return t.colors.accentText}),(e=>{let{theme:t}=e;return(0,Ee.e$)(.08,t.colors.accent)})),zO=(0,p.DU)(["*,*::before,*::after{box-sizing:border-box;}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:#00000000;}body{margin:0;text-align:left;}[tabindex='-1']:focus:not(:focus-visible){outline:0 !important;}hr{box-sizing:content-box;height:0;overflow:visible;}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:0.5rem;}p{margin-top:0;margin-bottom:1rem;}address{margin-bottom:1rem;font-style:normal;line-height:inherit;}ol,ul,dl{margin-top:0;margin-bottom:1rem;}ol ol,ul ul,ol ul,ul ol{margin-bottom:0;}dt{font-weight:700;}dd{margin-bottom:0.5rem;margin-left:0;}blockquote{margin:0 0 1rem;}b,strong{font-weight:bolder;}small{font-size:80%;}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline;}sub{bottom:-0.25em;}sup{top:-0.5em;}a{text-decoration:none;&:hover{text-decoration:underline;}}a:not([href]):not([class]){color:inherit;text-decoration:none;:hover{color:inherit;text-decoration:none;}}pre,code,kbd,samp{font-family:SFMono-Regular,Menlo,Monaco,Consolas,\"Liberation Mono\",\"Courier New\",monospace;font-size:1em;}pre{margin-top:0;margin-bottom:1rem;overflow:auto;-ms-overflow-style:scrollbar;}figure{margin:0 0 1rem;}img{vertical-align:middle;}table{border-collapse:collapse;}caption{padding-top:$table-cell-padding;padding-bottom:$table-cell-padding;color:$table-caption-color;text-align:left;caption-side:bottom;}th{font-weight:$table-th-font-weight;text-align:inherit;text-align:-webkit-match-parent;}label{display:inline-block;margin-bottom:$label-margin-bottom;}button{border-radius:0;}button:focus:not(:focus-visible){outline:0;}input,button,select,optgroup,textarea{margin:0;font-family:inherit;font-size:inherit;line-height:inherit;}button,input{overflow:visible;}button,select{text-transform:none;}[role='button']{cursor:pointer;}select{word-wrap:normal;}button,[type=\"button\"],[type=\"reset\"],[type=\"submit\"]{appearance:button;-webkit-appearance:button;}button,[type='button'],[type='reset'],[type='submit']{&:not(:disabled){cursor:pointer;}}button::-moz-focus-inner,[type='button']::-moz-focus-inner,[type='reset']::-moz-focus-inner,[type='submit']::-moz-focus-inner{padding:0;border-style:none;}input[type='radio'],input[type='checkbox']{box-sizing:border-box;padding:0;}textarea{overflow:auto;resize:vertical;}fieldset{min-width:0;padding:0;margin:0;border:0;}legend{display:block;width:100%;max-width:100%;padding:0;margin-bottom:0.5rem;font-size:1.5rem;line-height:inherit;color:inherit;white-space:normal;}progress{vertical-align:baseline;}[type='number']::-webkit-inner-spin-button,[type='number']::-webkit-outer-spin-button{height:auto;}[type='search']{outline-offset:-2px;appearance:none;-webkit-appearance:none;}[type='search']::-webkit-search-decoration{-webkit-appearance:none;}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button;}output{display:inline-block;}summary{display:list-item;cursor:pointer;}"]),QO=(0,p.DU)([".m-0{margin:0 !important;}.mt-0,.my-0{margin-top:0 !important;}.mr-0,.mx-0{margin-right:0 !important;}.mb-0,.my-0{margin-bottom:0 !important;}.ml-0,.mx-0{margin-left:0 !important;}.m-1{margin:0.25rem !important;}.mt-1,.my-1{margin-top:0.25rem !important;}.mr-1,.mx-1{margin-right:0.25rem !important;}.mb-1,.my-1{margin-bottom:0.25rem !important;}.ml-1,.mx-1{margin-left:0.25rem !important;}.m-2{margin:0.5rem !important;}.mt-2,.my-2{margin-top:0.5rem !important;}.mr-2,.mx-2{margin-right:0.5rem !important;}.mb-2,.my-2{margin-bottom:0.5rem !important;}.ml-2,.mx-2{margin-left:0.5rem !important;}.m-3{margin:1rem !important;}.mt-3,.my-3{margin-top:1rem !important;}.mr-3,.mx-3{margin-right:1rem !important;}.mb-3,.my-3{margin-bottom:1rem !important;}.ml-3,.mx-3{margin-left:1rem !important;}.m-4{margin:1.5rem !important;}.mt-4,.my-4{margin-top:1.5rem !important;}.mr-4,.mx-4{margin-right:1.5rem !important;}.mb-4,.my-4{margin-bottom:1.5rem !important;}.ml-4,.mx-4{margin-left:1.5rem !important;}.m-5{margin:3rem !important;}.mt-5,.my-5{margin-top:3rem !important;}.mr-5,.mx-5{margin-right:3rem !important;}.mb-5,.my-5{margin-bottom:3rem !important;}.ml-5,.mx-5{margin-left:3rem !important;}.p-0{padding:0 !important;}.pt-0,.py-0{padding-top:0 !important;}.pr-0,.px-0{padding-right:0 !important;}.pb-0,.py-0{padding-bottom:0 !important;}.pl-0,.px-0{padding-left:0 !important;}.p-1{padding:0.25rem !important;}.pt-1,.py-1{padding-top:0.25rem !important;}.pr-1,.px-1{padding-right:0.25rem !important;}.pb-1,.py-1{padding-bottom:0.25rem !important;}.pl-1,.px-1{padding-left:0.25rem !important;}.p-2{padding:0.5rem !important;}.pt-2,.py-2{padding-top:0.5rem !important;}.pr-2,.px-2{padding-right:0.5rem !important;}.pb-2,.py-2{padding-bottom:0.5rem !important;}.pl-2,.px-2{padding-left:0.5rem !important;}.p-3{padding:1rem !important;}.pt-3,.py-3{padding-top:1rem !important;}.pr-3,.px-3{padding-right:1rem !important;}.pb-3,.py-3{padding-bottom:1rem !important;}.pl-3,.px-3{padding-left:1rem !important;}.p-4{padding:1.5rem !important;}.pt-4,.py-4{padding-top:1.5rem !important;}.pr-4,.px-4{padding-right:1.5rem !important;}.pb-4,.py-4{padding-bottom:1.5rem !important;}.pl-4,.px-4{padding-left:1.5rem !important;}.p-5{padding:3rem !important;}.pt-5,.py-5{padding-top:3rem !important;}.pr-5,.px-5{padding-right:3rem !important;}.pb-5,.py-5{padding-bottom:3rem !important;}.pl-5,.px-5{padding-left:3rem !important;}.m-auto{margin:auto !important;}.mt-auto,.my-auto{margin-top:auto !important;}.mr-auto,.mx-auto{margin-right:auto !important;}.mb-auto,.my-auto{margin-bottom:auto !important;}.ml-auto,.mx-auto{margin-left:auto !important;}","{.m-sm-0{margin:0 !important;}.mt-sm-0,.my-sm-0{margin-top:0 !important;}.mr-sm-0,.mx-sm-0{margin-right:0 !important;}.mb-sm-0,.my-sm-0{margin-bottom:0 !important;}.ml-sm-0,.mx-sm-0{margin-left:0 !important;}.m-sm-1{margin:0.25rem !important;}.mt-sm-1,.my-sm-1{margin-top:0.25rem !important;}.mr-sm-1,.mx-sm-1{margin-right:0.25rem !important;}.mb-sm-1,.my-sm-1{margin-bottom:0.25rem !important;}.ml-sm-1,.mx-sm-1{margin-left:0.25rem !important;}.m-sm-2{margin:0.5rem !important;}.mt-sm-2,.my-sm-2{margin-top:0.5rem !important;}.mr-sm-2,.mx-sm-2{margin-right:0.5rem !important;}.mb-sm-2,.my-sm-2{margin-bottom:0.5rem !important;}.ml-sm-2,.mx-sm-2{margin-left:0.5rem !important;}.m-sm-3{margin:1rem !important;}.mt-sm-3,.my-sm-3{margin-top:1rem !important;}.mr-sm-3,.mx-sm-3{margin-right:1rem !important;}.mb-sm-3,.my-sm-3{margin-bottom:1rem !important;}.ml-sm-3,.mx-sm-3{margin-left:1rem !important;}.m-sm-4{margin:1.5rem !important;}.mt-sm-4,.my-sm-4{margin-top:1.5rem !important;}.mr-sm-4,.mx-sm-4{margin-right:1.5rem !important;}.mb-sm-4,.my-sm-4{margin-bottom:1.5rem !important;}.ml-sm-4,.mx-sm-4{margin-left:1.5rem !important;}.m-sm-5{margin:3rem !important;}.mt-sm-5,.my-sm-5{margin-top:3rem !important;}.mr-sm-5,.mx-sm-5{margin-right:3rem !important;}.mb-sm-5,.my-sm-5{margin-bottom:3rem !important;}.ml-sm-5,.mx-sm-5{margin-left:3rem !important;}.p-sm-0{padding:0 !important;}.pt-sm-0,.py-sm-0{padding-top:0 !important;}.pr-sm-0,.px-sm-0{padding-right:0 !important;}.pb-sm-0,.py-sm-0{padding-bottom:0 !important;}.pl-sm-0,.px-sm-0{padding-left:0 !important;}.p-sm-1{padding:0.25rem !important;}.pt-sm-1,.py-sm-1{padding-top:0.25rem !important;}.pr-sm-1,.px-sm-1{padding-right:0.25rem !important;}.pb-sm-1,.py-sm-1{padding-bottom:0.25rem !important;}.pl-sm-1,.px-sm-1{padding-left:0.25rem !important;}.p-sm-2{padding:0.5rem !important;}.pt-sm-2,.py-sm-2{padding-top:0.5rem !important;}.pr-sm-2,.px-sm-2{padding-right:0.5rem !important;}.pb-sm-2,.py-sm-2{padding-bottom:0.5rem !important;}.pl-sm-2,.px-sm-2{padding-left:0.5rem !important;}.p-sm-3{padding:1rem !important;}.pt-sm-3,.py-sm-3{padding-top:1rem !important;}.pr-sm-3,.px-sm-3{padding-right:1rem !important;}.pb-sm-3,.py-sm-3{padding-bottom:1rem !important;}.pl-sm-3,.px-sm-3{padding-left:1rem !important;}.p-sm-4{padding:1.5rem !important;}.pt-sm-4,.py-sm-4{padding-top:1.5rem !important;}.pr-sm-4,.px-sm-4{padding-right:1.5rem !important;}.pb-sm-4,.py-sm-4{padding-bottom:1.5rem !important;}.pl-sm-4,.px-sm-4{padding-left:1.5rem !important;}.p-sm-5{padding:3rem !important;}.pt-sm-5,.py-sm-5{padding-top:3rem !important;}.pr-sm-5,.px-sm-5{padding-right:3rem !important;}.pb-sm-5,.py-sm-5{padding-bottom:3rem !important;}.pl-sm-5,.px-sm-5{padding-left:3rem !important;}.m-sm-auto{margin:auto !important;}.mt-sm-auto,.my-sm-auto{margin-top:auto !important;}.mr-sm-auto,.mx-sm-auto{margin-right:auto !important;}.mb-sm-auto,.my-sm-auto{margin-bottom:auto !important;}.ml-sm-auto,.mx-sm-auto{margin-left:auto !important;}}","{.m-md-0{margin:0 !important;}.mt-md-0,.my-md-0{margin-top:0 !important;}.mr-md-0,.mx-md-0{margin-right:0 !important;}.mb-md-0,.my-md-0{margin-bottom:0 !important;}.ml-md-0,.mx-md-0{margin-left:0 !important;}.m-md-1{margin:0.25rem !important;}.mt-md-1,.my-md-1{margin-top:0.25rem !important;}.mr-md-1,.mx-md-1{margin-right:0.25rem !important;}.mb-md-1,.my-md-1{margin-bottom:0.25rem !important;}.ml-md-1,.mx-md-1{margin-left:0.25rem !important;}.m-md-2{margin:0.5rem !important;}.mt-md-2,.my-md-2{margin-top:0.5rem !important;}.mr-md-2,.mx-md-2{margin-right:0.5rem !important;}.mb-md-2,.my-md-2{margin-bottom:0.5rem !important;}.ml-md-2,.mx-md-2{margin-left:0.5rem !important;}.m-md-3{margin:1rem !important;}.mt-md-3,.my-md-3{margin-top:1rem !important;}.mr-md-3,.mx-md-3{margin-right:1rem !important;}.mb-md-3,.my-md-3{margin-bottom:1rem !important;}.ml-md-3,.mx-md-3{margin-left:1rem !important;}.m-md-4{margin:1.5rem !important;}.mt-md-4,.my-md-4{margin-top:1.5rem !important;}.mr-md-4,.mx-md-4{margin-right:1.5rem !important;}.mb-md-4,.my-md-4{margin-bottom:1.5rem !important;}.ml-md-4,.mx-md-4{margin-left:1.5rem !important;}.m-md-5{margin:3rem !important;}.mt-md-5,.my-md-5{margin-top:3rem !important;}.mr-md-5,.mx-md-5{margin-right:3rem !important;}.mb-md-5,.my-md-5{margin-bottom:3rem !important;}.ml-md-5,.mx-md-5{margin-left:3rem !important;}.p-md-0{padding:0 !important;}.pt-md-0,.py-md-0{padding-top:0 !important;}.pr-md-0,.px-md-0{padding-right:0 !important;}.pb-md-0,.py-md-0{padding-bottom:0 !important;}.pl-md-0,.px-md-0{padding-left:0 !important;}.p-md-1{padding:0.25rem !important;}.pt-md-1,.py-md-1{padding-top:0.25rem !important;}.pr-md-1,.px-md-1{padding-right:0.25rem !important;}.pb-md-1,.py-md-1{padding-bottom:0.25rem !important;}.pl-md-1,.px-md-1{padding-left:0.25rem !important;}.p-md-2{padding:0.5rem !important;}.pt-md-2,.py-md-2{padding-top:0.5rem !important;}.pr-md-2,.px-md-2{padding-right:0.5rem !important;}.pb-md-2,.py-md-2{padding-bottom:0.5rem !important;}.pl-md-2,.px-md-2{padding-left:0.5rem !important;}.p-md-3{padding:1rem !important;}.pt-md-3,.py-md-3{padding-top:1rem !important;}.pr-md-3,.px-md-3{padding-right:1rem !important;}.pb-md-3,.py-md-3{padding-bottom:1rem !important;}.pl-md-3,.px-md-3{padding-left:1rem !important;}.p-md-4{padding:1.5rem !important;}.pt-md-4,.py-md-4{padding-top:1.5rem !important;}.pr-md-4,.px-md-4{padding-right:1.5rem !important;}.pb-md-4,.py-md-4{padding-bottom:1.5rem !important;}.pl-md-4,.px-md-4{padding-left:1.5rem !important;}.p-md-5{padding:3rem !important;}.pt-md-5,.py-md-5{padding-top:3rem !important;}.pr-md-5,.px-md-5{padding-right:3rem !important;}.pb-md-5,.py-md-5{padding-bottom:3rem !important;}.pl-md-5,.px-md-5{padding-left:3rem !important;}.m-md-auto{margin:auto !important;}.mt-md-auto,.my-md-auto{margin-top:auto !important;}.mr-md-auto,.mx-md-auto{margin-right:auto !important;}.mb-md-auto,.my-md-auto{margin-bottom:auto !important;}.ml-md-auto,.mx-md-auto{margin-left:auto !important;}}","{.m-lg-0{margin:0 !important;}.mt-lg-0,.my-lg-0{margin-top:0 !important;}.mr-lg-0,.mx-lg-0{margin-right:0 !important;}.mb-lg-0,.my-lg-0{margin-bottom:0 !important;}.ml-lg-0,.mx-lg-0{margin-left:0 !important;}.m-lg-1{margin:0.25rem !important;}.mt-lg-1,.my-lg-1{margin-top:0.25rem !important;}.mr-lg-1,.mx-lg-1{margin-right:0.25rem !important;}.mb-lg-1,.my-lg-1{margin-bottom:0.25rem !important;}.ml-lg-1,.mx-lg-1{margin-left:0.25rem !important;}.m-lg-2{margin:0.5rem !important;}.mt-lg-2,.my-lg-2{margin-top:0.5rem !important;}.mr-lg-2,.mx-lg-2{margin-right:0.5rem !important;}.mb-lg-2,.my-lg-2{margin-bottom:0.5rem !important;}.ml-lg-2,.mx-lg-2{margin-left:0.5rem !important;}.m-lg-3{margin:1rem !important;}.mt-lg-3,.my-lg-3{margin-top:1rem !important;}.mr-lg-3,.mx-lg-3{margin-right:1rem !important;}.mb-lg-3,.my-lg-3{margin-bottom:1rem !important;}.ml-lg-3,.mx-lg-3{margin-left:1rem !important;}.m-lg-4{margin:1.5rem !important;}.mt-lg-4,.my-lg-4{margin-top:1.5rem !important;}.mr-lg-4,.mx-lg-4{margin-right:1.5rem !important;}.mb-lg-4,.my-lg-4{margin-bottom:1.5rem !important;}.ml-lg-4,.mx-lg-4{margin-left:1.5rem !important;}.m-lg-5{margin:3rem !important;}.mt-lg-5,.my-lg-5{margin-top:3rem !important;}.mr-lg-5,.mx-lg-5{margin-right:3rem !important;}.mb-lg-5,.my-lg-5{margin-bottom:3rem !important;}.ml-lg-5,.mx-lg-5{margin-left:3rem !important;}.p-lg-0{padding:0 !important;}.pt-lg-0,.py-lg-0{padding-top:0 !important;}.pr-lg-0,.px-lg-0{padding-right:0 !important;}.pb-lg-0,.py-lg-0{padding-bottom:0 !important;}.pl-lg-0,.px-lg-0{padding-left:0 !important;}.p-lg-1{padding:0.25rem !important;}.pt-lg-1,.py-lg-1{padding-top:0.25rem !important;}.pr-lg-1,.px-lg-1{padding-right:0.25rem !important;}.pb-lg-1,.py-lg-1{padding-bottom:0.25rem !important;}.pl-lg-1,.px-lg-1{padding-left:0.25rem !important;}.p-lg-2{padding:0.5rem !important;}.pt-lg-2,.py-lg-2{padding-top:0.5rem !important;}.pr-lg-2,.px-lg-2{padding-right:0.5rem !important;}.pb-lg-2,.py-lg-2{padding-bottom:0.5rem !important;}.pl-lg-2,.px-lg-2{padding-left:0.5rem !important;}.p-lg-3{padding:1rem !important;}.pt-lg-3,.py-lg-3{padding-top:1rem !important;}.pr-lg-3,.px-lg-3{padding-right:1rem !important;}.pb-lg-3,.py-lg-3{padding-bottom:1rem !important;}.pl-lg-3,.px-lg-3{padding-left:1rem !important;}.p-lg-4{padding:1.5rem !important;}.pt-lg-4,.py-lg-4{padding-top:1.5rem !important;}.pr-lg-4,.px-lg-4{padding-right:1.5rem !important;}.pb-lg-4,.py-lg-4{padding-bottom:1.5rem !important;}.pl-lg-4,.px-lg-4{padding-left:1.5rem !important;}.p-lg-5{padding:3rem !important;}.pt-lg-5,.py-lg-5{padding-top:3rem !important;}.pr-lg-5,.px-lg-5{padding-right:3rem !important;}.pb-lg-5,.py-lg-5{padding-bottom:3rem !important;}.pl-lg-5,.px-lg-5{padding-left:3rem !important;}.m-lg-auto{margin:auto !important;}.mt-lg-auto,.my-lg-auto{margin-top:auto !important;}.mr-lg-auto,.mx-lg-auto{margin-right:auto !important;}.mb-lg-auto,.my-lg-auto{margin-bottom:auto !important;}.ml-lg-auto,.mx-lg-auto{margin-left:auto !important;}}","{.m-xl-0{margin:0 !important;}.mt-xl-0,.my-xl-0{margin-top:0 !important;}.mr-xl-0,.mx-xl-0{margin-right:0 !important;}.mb-xl-0,.my-xl-0{margin-bottom:0 !important;}.ml-xl-0,.mx-xl-0{margin-left:0 !important;}.m-xl-1{margin:0.25rem !important;}.mt-xl-1,.my-xl-1{margin-top:0.25rem !important;}.mr-xl-1,.mx-xl-1{margin-right:0.25rem !important;}.mb-xl-1,.my-xl-1{margin-bottom:0.25rem !important;}.ml-xl-1,.mx-xl-1{margin-left:0.25rem !important;}.m-xl-2{margin:0.5rem !important;}.mt-xl-2,.my-xl-2{margin-top:0.5rem !important;}.mr-xl-2,.mx-xl-2{margin-right:0.5rem !important;}.mb-xl-2,.my-xl-2{margin-bottom:0.5rem !important;}.ml-xl-2,.mx-xl-2{margin-left:0.5rem !important;}.m-xl-3{margin:1rem !important;}.mt-xl-3,.my-xl-3{margin-top:1rem !important;}.mr-xl-3,.mx-xl-3{margin-right:1rem !important;}.mb-xl-3,.my-xl-3{margin-bottom:1rem !important;}.ml-xl-3,.mx-xl-3{margin-left:1rem !important;}.m-xl-4{margin:1.5rem !important;}.mt-xl-4,.my-xl-4{margin-top:1.5rem !important;}.mr-xl-4,.mx-xl-4{margin-right:1.5rem !important;}.mb-xl-4,.my-xl-4{margin-bottom:1.5rem !important;}.ml-xl-4,.mx-xl-4{margin-left:1.5rem !important;}.m-xl-5{margin:3rem !important;}.mt-xl-5,.my-xl-5{margin-top:3rem !important;}.mr-xl-5,.mx-xl-5{margin-right:3rem !important;}.mb-xl-5,.my-xl-5{margin-bottom:3rem !important;}.ml-xl-5,.mx-xl-5{margin-left:3rem !important;}.p-xl-0{padding:0 !important;}.pt-xl-0,.py-xl-0{padding-top:0 !important;}.pr-xl-0,.px-xl-0{padding-right:0 !important;}.pb-xl-0,.py-xl-0{padding-bottom:0 !important;}.pl-xl-0,.px-xl-0{padding-left:0 !important;}.p-xl-1{padding:0.25rem !important;}.pt-xl-1,.py-xl-1{padding-top:0.25rem !important;}.pr-xl-1,.px-xl-1{padding-right:0.25rem !important;}.pb-xl-1,.py-xl-1{padding-bottom:0.25rem !important;}.pl-xl-1,.px-xl-1{padding-left:0.25rem !important;}.p-xl-2{padding:0.5rem !important;}.pt-xl-2,.py-xl-2{padding-top:0.5rem !important;}.pr-xl-2,.px-xl-2{padding-right:0.5rem !important;}.pb-xl-2,.py-xl-2{padding-bottom:0.5rem !important;}.pl-xl-2,.px-xl-2{padding-left:0.5rem !important;}.p-xl-3{padding:1rem !important;}.pt-xl-3,.py-xl-3{padding-top:1rem !important;}.pr-xl-3,.px-xl-3{padding-right:1rem !important;}.pb-xl-3,.py-xl-3{padding-bottom:1rem !important;}.pl-xl-3,.px-xl-3{padding-left:1rem !important;}.p-xl-4{padding:1.5rem !important;}.pt-xl-4,.py-xl-4{padding-top:1.5rem !important;}.pr-xl-4,.px-xl-4{padding-right:1.5rem !important;}.pb-xl-4,.py-xl-4{padding-bottom:1.5rem !important;}.pl-xl-4,.px-xl-4{padding-left:1.5rem !important;}.p-xl-5{padding:3rem !important;}.pt-xl-5,.py-xl-5{padding-top:3rem !important;}.pr-xl-5,.px-xl-5{padding-right:3rem !important;}.pb-xl-5,.py-xl-5{padding-bottom:3rem !important;}.pl-xl-5,.px-xl-5{padding-left:3rem !important;}.m-xl-auto{margin:auto !important;}.mt-xl-auto,.my-xl-auto{margin-top:auto !important;}.mr-xl-auto,.mx-xl-auto{margin-right:auto !important;}.mb-xl-auto,.my-xl-auto{margin-bottom:auto !important;}.ml-xl-auto,.mx-xl-auto{margin-left:auto !important;}}"],(e=>{let{theme:t}=e;return t.media.sm}),(e=>{let{theme:t}=e;return t.media.md}),(e=>{let{theme:t}=e;return t.media.lg}),(e=>{let{theme:t}=e;return t.media.xl})),UO=(0,p.DU)(["#root{background:",";}::selection{background:",";color:",";}body{line-height:1.5;}h1{font-size:38px;line-height:1.2em;}h2{font-size:28px;line-height:1.2em;}h3{font-size:19px;}b,strong{font-weight:bold;}.pointer{cursor:pointer;}.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);padding:0;border:0;white-space:nowrap;}.float-left{float:left;}.z-context{position:relative;z-index:0;}.light-text{color:",";}hr{border:0;border-bottom:1px solid ",";}a{color:",";text-decoration:underline;&:hover,&:focus,&:visited{color:",";}&:focus-visible{outline:1px solid ",";}}a.button,a.button:visited{color:",";border:2px solid ",";padding:10px 20px;margin-top:10px;display:inline-block;border-radius:4px;text-decoration:none;transition:background 0.5s linear;width:fit-content;}a.button:hover,a.button:focus{text-decoration:none;color:",";background:",";}iframe{max-width:100%;}","{h1{font-size:48px;}h2{font-size:38px;}}","{h1{font-size:58px;}}","{h1{font-size:72px;}h2{font-size:48px;}}"],(e=>{let{theme:t}=e;return t.colors.fill}),(e=>{let{theme:t}=e;return t.colors.accent}),(e=>{let{theme:t}=e;return t.colors.accentText}),(e=>{let{theme:t}=e;return(0,Ee.a)(.1,t.colors.text)}),(e=>{let{theme:t}=e;return t.colors.border}),(e=>{let{theme:t}=e;return(0,Ee.e$)(.2,t.colors.accent)}),(e=>{let{theme:t}=e;return(0,Ee.e$)(.3,t.colors.accent)}),(e=>{let{theme:t}=e;return t.colors.accent}),(e=>{let{theme:t}=e;return t.colors.text}),(e=>{let{theme:t}=e;return t.colors.accent}),(e=>{let{theme:t}=e;return t.colors.text}),(e=>{let{theme:t}=e;return(0,Ee.a)(.35,t.colors.accent)}),(e=>{let{theme:t}=e;return t.media.md}),(e=>{let{theme:t}=e;return t.media.lg}),(e=>{let{theme:t}=e;return t.media.xl})),VO=(0,p.DU)(["@supports (-webkit-overflow-scrolling:touch){select,textarea,input{font-size:16px !important;}}"]),GO=(0,p.DU)(["#Coi-Renew{z-index:104 !important;bottom:6px !important;left:","px !important;border-radius:50%;"," width:50px !important;height:50px !important;}#launcher{z-index:500 !important;right:6px !important;bottom:6px !important;margin:0 !important;button{padding:0.6rem;}}"],(e=>e.adjustForControlPanel?60:6),(e=>{let{theme:t}=e;return t.shadows.soft})),qO=(0,p.DU)([".text-capitalize{text-transform:capitalize !important;}.text-lowercase{text-transform:lowercase !important;}.text-uppercase{text-transform:uppercase !important;}.text-center{text-align:center !important;}.text-left{text-align:left !important;}.text-right{text-align:right !important;}.text-break{word-break:break-word !important;word-wrap:break-word !important;}.text-nowrap{white-space:nowrap !important;}.d-none{display:none !important;}.d-inline{display:inline !important;}.d-inline-block{display:inline-block !important;}.d-block{display:block !important;}.overflow-hidden{overflow:hidden !important;}.w-50{width:50% !important;}.w-100{width:100% !important;}.h-100{height:100% !important;}.position-relative{position:relative !important;}.position-absolute{position:absolute !important;}.flex-grow-1{flex-grow:1 !important;}.flex-grow-3{flex-grow:3 !important;}.flex-shrink-0{flex-shrink:0 !important}.flex-shrink-1{flex-shrink:1 !important}.align-self-start{align-self:flex-start !important}.align-self-end{align-self:flex-end !important}.align-self-center{align-self:center !important}.align-self-stretch{align-self:stretch !important}.align-items-baseline{align-items:baseline !important}.align-items-center{align-items:center !important}.align-items-start{align-items:start !important}.align-items-end{align-items:end !important}"]),HO=e=>{let{adjustForControlPanel:t}=e;return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(zO,{}),(0,m.jsx)(QO,{}),(0,m.jsx)(UO,{}),(0,m.jsx)(qO,{}),(0,m.jsx)(LO,{}),(0,m.jsx)(FO,{}),(0,m.jsx)(VO,{}),(0,m.jsx)(RO.Ay,{}),(0,m.jsx)(GO,{adjustForControlPanel:t})]})};var WO=n(72348);const YO={be:()=>n.e(8654).then(n.bind(n,88654)),da:()=>n.e(8276).then(n.bind(n,28276)),de:()=>n.e(7496).then(n.bind(n,57496)),en:()=>n.e(7603).then(n.bind(n,67603)),"de-CH":()=>n.e(7496).then(n.bind(n,57496)),es:()=>n.e(6017).then(n.bind(n,66017)),fi:()=>n.e(3006).then(n.bind(n,33006)),fr:()=>n.e(8973).then(n.bind(n,28973)),"fr-CH":()=>n.e(8973).then(n.bind(n,28973)),it:()=>n.e(5122).then(n.bind(n,35122)),nl:()=>n.e(7243).then(n.bind(n,67243)),no:()=>n.e(8609).then(n.bind(n,58609)),nb:()=>n.e(8609).then(n.bind(n,58609)),nn:()=>n.e(8609).then(n.bind(n,58609)),sl:()=>n.e(316).then(n.bind(n,20316)),sv:()=>n.e(4286).then(n.bind(n,24286))};var KO=n(90923),JO=n.n(KO),XO=n(77588),ZO=n.n(XO);const $O={be:()=>n.e(6002).then(n.t.bind(n,26002,23)),da:()=>n.e(2820).then(n.t.bind(n,82820,23)),de:()=>n.e(200).then(n.t.bind(n,50200,23)),"de-ch":()=>n.e(7250).then(n.t.bind(n,37250,23)),en:()=>n.e(3856).then(n.t.bind(n,53856,23)),es:()=>n.e(1208).then(n.t.bind(n,58827,23)),fi:()=>n.e(1258).then(n.t.bind(n,91258,23)),fr:()=>n.e(6287).then(n.t.bind(n,96287,23)),"fr-ch":()=>n.e(2579).then(n.t.bind(n,12579,23)),it:()=>n.e(7790).then(n.t.bind(n,67790,23)),nl:()=>n.e(2733).then(n.t.bind(n,12733,23)),no:()=>n.e(8827).then(n.t.bind(n,48827,23)),sv:()=>n.e(62).then(n.t.bind(n,30062,23)),sl:()=>n.e(8524).then(n.t.bind(n,68524,23))};var eT=n(95806),tT=n(71173),nT=n.n(tT),rT=n(11942),iT=n.n(rT),oT=n(41876),aT=n.n(oT),sT=n(24901),lT=n.n(sT),cT=n(26470),uT=n.n(cT),dT="bodyAttributes",pT="htmlAttributes",hT="titleAttributes",fT={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title"},mT=(Object.keys(fT).map((function(e){return fT[e]})),"charset"),gT="cssText",vT="href",yT="http-equiv",AT="innerHTML",bT="itemprop",wT="name",xT="property",CT="rel",ST="src",kT="target",ET={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},IT="defaultTitle",_T="defer",PT="encodeSpecialCharacters",OT="onChangeClientState",TT="titleTemplate",DT=Object.keys(ET).reduce((function(e,t){return e[ET[t]]=t,e}),{}),jT=[fT.NOSCRIPT,fT.SCRIPT,fT.STYLE],BT="data-react-helmet",NT="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},MT=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),RT=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},LT=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n},FT=function(e){return!1===(!(arguments.length>1&&void 0!==arguments[1])||arguments[1])?String(e):String(e).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")},zT=function(e){var t=qT(e,fT.TITLE),n=qT(e,TT);if(n&&t)return n.replace(/%s/g,(function(){return Array.isArray(t)?t.join(""):t}));var r=qT(e,IT);return t||r||void 0},QT=function(e){return qT(e,OT)||function(){}},UT=function(e,t){return t.filter((function(t){return"undefined"!==typeof t[e]})).map((function(t){return t[e]})).reduce((function(e,t){return RT({},e,t)}),{})},VT=function(e,t){return t.filter((function(e){return"undefined"!==typeof e[fT.BASE]})).map((function(e){return e[fT.BASE]})).reverse().reduce((function(t,n){if(!t.length)for(var r=Object.keys(n),i=0;i<r.length;i++){var o=r[i].toLowerCase();if(-1!==e.indexOf(o)&&n[o])return t.concat(n)}return t}),[])},GT=function(e,t,n){var r={};return n.filter((function(t){return!!Array.isArray(t[e])||("undefined"!==typeof t[e]&&JT("Helmet: "+e+' should be of type "Array". Instead found type "'+NT(t[e])+'"'),!1)})).map((function(t){return t[e]})).reverse().reduce((function(e,n){var i={};n.filter((function(e){for(var n=void 0,o=Object.keys(e),a=0;a<o.length;a++){var s=o[a],l=s.toLowerCase();-1===t.indexOf(l)||n===CT&&"canonical"===e[n].toLowerCase()||l===CT&&"stylesheet"===e[l].toLowerCase()||(n=l),-1===t.indexOf(s)||s!==AT&&s!==gT&&s!==bT||(n=s)}if(!n||!e[n])return!1;var c=e[n].toLowerCase();return r[n]||(r[n]={}),i[n]||(i[n]={}),!r[n][c]&&(i[n][c]=!0,!0)})).reverse().forEach((function(t){return e.push(t)}));for(var o=Object.keys(i),a=0;a<o.length;a++){var s=o[a],l=uT()({},r[s],i[s]);r[s]=l}return e}),[]).reverse()},qT=function(e,t){for(var n=e.length-1;n>=0;n--){var r=e[n];if(r.hasOwnProperty(t))return r[t]}return null},HT=function(){var e=Date.now();return function(t){var n=Date.now();n-e>16?(e=n,t(n)):setTimeout((function(){HT(t)}),0)}}(),WT=function(e){return clearTimeout(e)},YT="undefined"!==typeof window?window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||HT:n.g.requestAnimationFrame||HT,KT="undefined"!==typeof window?window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||WT:n.g.cancelAnimationFrame||WT,JT=function(e){return console&&"function"===typeof console.warn&&console.warn(e)},XT=null,ZT=function(e,t){var n=e.baseTag,r=e.bodyAttributes,i=e.htmlAttributes,o=e.linkTags,a=e.metaTags,s=e.noscriptTags,l=e.onChangeClientState,c=e.scriptTags,u=e.styleTags,d=e.title,p=e.titleAttributes;tD(fT.BODY,r),tD(fT.HTML,i),eD(d,p);var h={baseTag:nD(fT.BASE,n),linkTags:nD(fT.LINK,o),metaTags:nD(fT.META,a),noscriptTags:nD(fT.NOSCRIPT,s),scriptTags:nD(fT.SCRIPT,c),styleTags:nD(fT.STYLE,u)},f={},m={};Object.keys(h).forEach((function(e){var t=h[e],n=t.newTags,r=t.oldTags;n.length&&(f[e]=n),r.length&&(m[e]=h[e].oldTags)})),t&&t(),l(e,f,m)},$T=function(e){return Array.isArray(e)?e.join(""):e},eD=function(e,t){"undefined"!==typeof e&&document.title!==e&&(document.title=$T(e)),tD(fT.TITLE,t)},tD=function(e,t){var n=document.getElementsByTagName(e)[0];if(n){for(var r=n.getAttribute(BT),i=r?r.split(","):[],o=[].concat(i),a=Object.keys(t),s=0;s<a.length;s++){var l=a[s],c=t[l]||"";n.getAttribute(l)!==c&&n.setAttribute(l,c),-1===i.indexOf(l)&&i.push(l);var u=o.indexOf(l);-1!==u&&o.splice(u,1)}for(var d=o.length-1;d>=0;d--)n.removeAttribute(o[d]);i.length===o.length?n.removeAttribute(BT):n.getAttribute(BT)!==a.join(",")&&n.setAttribute(BT,a.join(","))}},nD=function(e,t){var n=document.head||document.querySelector(fT.HEAD),r=n.querySelectorAll(e+"["+BT+"]"),i=Array.prototype.slice.call(r),o=[],a=void 0;return t&&t.length&&t.forEach((function(t){var n=document.createElement(e);for(var r in t)if(t.hasOwnProperty(r))if(r===AT)n.innerHTML=t.innerHTML;else if(r===gT)n.styleSheet?n.styleSheet.cssText=t.cssText:n.appendChild(document.createTextNode(t.cssText));else{var s="undefined"===typeof t[r]?"":t[r];n.setAttribute(r,s)}n.setAttribute(BT,"true"),i.some((function(e,t){return a=t,n.isEqualNode(e)}))?i.splice(a,1):o.push(n)})),i.forEach((function(e){return e.parentNode.removeChild(e)})),o.forEach((function(e){return n.appendChild(e)})),{oldTags:i,newTags:o}},rD=function(e){return Object.keys(e).reduce((function(t,n){var r="undefined"!==typeof e[n]?n+'="'+e[n]+'"':""+n;return t?t+" "+r:r}),"")},iD=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).reduce((function(t,n){return t[ET[n]||n]=e[n],t}),t)},oD=function(e,t,n){switch(e){case fT.TITLE:return{toComponent:function(){return function(e,t,n){var r,i=((r={key:t})[BT]=!0,r),o=iD(n,i);return[u.createElement(fT.TITLE,o,t)]}(0,t.title,t.titleAttributes)},toString:function(){return function(e,t,n,r){var i=rD(n),o=$T(t);return i?"<"+e+" "+BT+'="true" '+i+">"+FT(o,r)+"</"+e+">":"<"+e+" "+BT+'="true">'+FT(o,r)+"</"+e+">"}(e,t.title,t.titleAttributes,n)}};case dT:case pT:return{toComponent:function(){return iD(t)},toString:function(){return rD(t)}};default:return{toComponent:function(){return function(e,t){return t.map((function(t,n){var r,i=((r={key:n})[BT]=!0,r);return Object.keys(t).forEach((function(e){var n=ET[e]||e;if(n===AT||n===gT){var r=t.innerHTML||t.cssText;i.dangerouslySetInnerHTML={__html:r}}else i[n]=t[e]})),u.createElement(e,i)}))}(e,t)},toString:function(){return function(e,t,n){return t.reduce((function(t,r){var i=Object.keys(r).filter((function(e){return!(e===AT||e===gT)})).reduce((function(e,t){var i="undefined"===typeof r[t]?t:t+'="'+FT(r[t],n)+'"';return e?e+" "+i:i}),""),o=r.innerHTML||r.cssText||"",a=-1===jT.indexOf(e);return t+"<"+e+" "+BT+'="true" '+i+(a?"/>":">"+o+"</"+e+">")}),"")}(e,t,n)}}}},aD=function(e){var t=e.baseTag,n=e.bodyAttributes,r=e.encode,i=e.htmlAttributes,o=e.linkTags,a=e.metaTags,s=e.noscriptTags,l=e.scriptTags,c=e.styleTags,u=e.title,d=void 0===u?"":u,p=e.titleAttributes;return{base:oD(fT.BASE,t,r),bodyAttributes:oD(dT,n,r),htmlAttributes:oD(pT,i,r),link:oD(fT.LINK,o,r),meta:oD(fT.META,a,r),noscript:oD(fT.NOSCRIPT,s,r),script:oD(fT.SCRIPT,l,r),style:oD(fT.STYLE,c,r),title:oD(fT.TITLE,{title:d,titleAttributes:p},r)}},sD=function(e){var t,n;return n=t=function(t){function n(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,t.apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,t),n.prototype.shouldComponentUpdate=function(e){return!lT()(this.props,e)},n.prototype.mapNestedChildrenToProps=function(e,t){if(!t)return null;switch(e.type){case fT.SCRIPT:case fT.NOSCRIPT:return{innerHTML:t};case fT.STYLE:return{cssText:t}}throw new Error("<"+e.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")},n.prototype.flattenArrayTypeChildren=function(e){var t,n=e.child,r=e.arrayTypeChildren,i=e.newChildProps,o=e.nestedChildren;return RT({},r,((t={})[n.type]=[].concat(r[n.type]||[],[RT({},i,this.mapNestedChildrenToProps(n,o))]),t))},n.prototype.mapObjectTypeChildren=function(e){var t,n,r=e.child,i=e.newProps,o=e.newChildProps,a=e.nestedChildren;switch(r.type){case fT.TITLE:return RT({},i,((t={})[r.type]=a,t.titleAttributes=RT({},o),t));case fT.BODY:return RT({},i,{bodyAttributes:RT({},o)});case fT.HTML:return RT({},i,{htmlAttributes:RT({},o)})}return RT({},i,((n={})[r.type]=RT({},o),n))},n.prototype.mapArrayTypeChildrenToProps=function(e,t){var n=RT({},t);return Object.keys(e).forEach((function(t){var r;n=RT({},n,((r={})[t]=e[t],r))})),n},n.prototype.warnOnInvalidChildren=function(e,t){return!0},n.prototype.mapChildrenToProps=function(e,t){var n=this,r={};return u.Children.forEach(e,(function(e){if(e&&e.props){var i=e.props,o=i.children,a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).reduce((function(t,n){return t[DT[n]||n]=e[n],t}),t)}(LT(i,["children"]));switch(n.warnOnInvalidChildren(e,o),e.type){case fT.LINK:case fT.META:case fT.NOSCRIPT:case fT.SCRIPT:case fT.STYLE:r=n.flattenArrayTypeChildren({child:e,arrayTypeChildren:r,newChildProps:a,nestedChildren:o});break;default:t=n.mapObjectTypeChildren({child:e,newProps:t,newChildProps:a,nestedChildren:o})}}})),t=this.mapArrayTypeChildrenToProps(r,t)},n.prototype.render=function(){var t=this.props,n=t.children,r=LT(t,["children"]),i=RT({},r);return n&&(i=this.mapChildrenToProps(n,i)),u.createElement(e,i)},MT(n,null,[{key:"canUseDOM",set:function(t){e.canUseDOM=t}}]),n}(u.Component),t.propTypes={base:iT().object,bodyAttributes:iT().object,children:iT().oneOfType([iT().arrayOf(iT().node),iT().node]),defaultTitle:iT().string,defer:iT().bool,encodeSpecialCharacters:iT().bool,htmlAttributes:iT().object,link:iT().arrayOf(iT().object),meta:iT().arrayOf(iT().object),noscript:iT().arrayOf(iT().object),onChangeClientState:iT().func,script:iT().arrayOf(iT().object),style:iT().arrayOf(iT().object),title:iT().string,titleAttributes:iT().object,titleTemplate:iT().string},t.defaultProps={defer:!0,encodeSpecialCharacters:!0},t.peek=e.peek,t.rewind=function(){var t=e.rewind();return t||(t=aD({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}})),t},n}(aT()((function(e){return{baseTag:VT([vT,kT],e),bodyAttributes:UT(dT,e),defer:qT(e,_T),encode:qT(e,PT),htmlAttributes:UT(pT,e),linkTags:GT(fT.LINK,[CT,vT],e),metaTags:GT(fT.META,[wT,mT,yT,xT,bT],e),noscriptTags:GT(fT.NOSCRIPT,[AT],e),onChangeClientState:QT(e),scriptTags:GT(fT.SCRIPT,[ST,AT],e),styleTags:GT(fT.STYLE,[gT],e),title:zT(e),titleAttributes:UT(hT,e)}}),(function(e){XT&&KT(XT),e.defer?XT=YT((function(){ZT(e,(function(){XT=null}))})):(ZT(e),XT=null)}),aD)((function(){return null})));sD.renderStatic=sD.rewind;const lD=e=>{let{canonicalUrl:t}=e;const{title:n,name:r,isAssortment:i}=(0,G.A)((e=>{let{currentPage:t}=e;return t.head}));let{metaDescription:o}=(0,G.A)((e=>{let{currentPage:t}=e;return t.head}));const{fontBody:a,fontHeading:s}=(0,G.A)((e=>{let{siteDefinition:t}=e;return t.siteTheme.typography})),{gtm:l,siteTitle:c}=(0,G.A)((e=>{let{siteDefinition:t}=e;return t})),d=(0,G.A)((e=>{let{assortment:t}=e;return t.selectedCategory})),p=(0,G.A)((e=>{let{product:t}=e;return t.product})),h=(0,G.A)((e=>{var t;let{resellers:n}=e;return null===(t=n.currentReseller)||void 0===t?void 0:t.name})),f=(0,RO.km)(a||""),g=(0,RO.km)(s||""),v=(0,RO.km)("Inter"),y=n||r;let A,b,w,x=y,C="website";if(i){let e;if(d){e=d.name,o=d.text,A=(0,X.VG)(d.picture,X.yj.Preview,be.ImageExtension.Jpg);const t=e&&y!==e&&y;x=t||[e,t].filter((e=>e)).join(" | ")}if(p){var S,k,E,I;C="product",e=p.productName,o=p.description,A=(0,X.VG)(p.image,X.yj.Preview,be.ImageExtension.Jpg),b=null===(S=p.price)||void 0===S||null===(k=S.retail)||void 0===k||null===(E=k.num)||void 0===E?void 0:E.toFixed(2),w=null===(I=p.price)||void 0===I?void 0:I.currency;x=[e,e&&y!==e&&y].filter((e=>e)).join(" | ")}}return c&&x&&!x.startsWith(c)&&(x=c+" | "+x),(0,u.useEffect)((()=>{if(null!==l&&void 0!==l&&l.gtmId){var e,t;let n=void 0===h?"":h;const r={gtmId:l.gtmId,auth:null!==(e=l.auth)&&void 0!==e?e:void 0,dataLayer:{environment:"production",language:pc.Ay.languages[0],retailer:n},preview:null!==(t=l.preview)&&void 0!==t?t:void 0};nT().initialize(r)}}),[l,h]),(0,m.jsx)(m.Fragment,{children:(0,m.jsxs)(sD,{children:[(0,m.jsx)("title",{children:x}),(0,m.jsx)("meta",{name:"title",content:x}),(0,m.jsx)("meta",{name:"description",content:o||(r||"")}),(0,m.jsx)("meta",{property:"og:title",content:x}),(0,m.jsx)("meta",{property:"og:description",content:o||(r||"")}),(0,m.jsx)("meta",{property:"og:type",content:C}),(0,m.jsx)("meta",{property:"og:url",content:null!==t&&void 0!==t?t:window.location.href}),b&&(0,m.jsx)("meta",{property:"product:price.amount",content:b}),w&&(0,m.jsx)("meta",{property:"product:price.currency",content:w}),A&&(0,m.jsx)("meta",{property:"og:image",content:A}),(0,m.jsx)("link",{rel:"preconnect",href:"https://fonts.gstatic.com"}),t&&(0,m.jsx)("link",{rel:"canonical",href:t}),f,g!==f&&g,v!==f&&v!==g&&v]},"page-helmet")})},cD=()=>{const{t:e}=(0,d.B)(),[t,n]=(0,u.useState)(!0),r=(0,c.GV)((e=>{let{siteDefinition:t}=e;return t.notification})),i=(0,c.cb)();return r&&t?(0,m.jsx)(s.yP,{bgColor:r.warning?"attention":void 0,color:r.warning?"attentionText":void 0,children:(0,m.jsxs)(dD,{column:i.smBelow,align:"center",justify:"center",className:"py-3 px-3",children:[(0,m.jsx)(uD,{className:"",children:r.label}),(0,m.jsx)(s.$n,{onClick:()=>n(!1),className:"ml-sm-4 mt-3 mt-sm-0",fullwidth:i.smBelow,children:e("general.close","Close")})]})}):null},uD=p.Ay.div.withConfig({componentId:"sc-13i79n8-0"})(["width:fit-content;max-width:1000px;margin-bottom:0;"]),dD=(0,p.Ay)(s.so).withConfig({componentId:"sc-13i79n8-1"})(["max-width:","px;margin:0 auto;width:100%;"],(e=>{let{theme:t}=e;return t.breakpoints.xl})),pD=()=>{const e=(0,c.jL)(),{t:n}=(0,d.B)(),{error:i,siteId:o,siteTheme:a,header:l,footer:h,cartPage:f,searchPage:g,reseller:y,assortmentPages:A,baseUrl:b,loading:w,loadingSettings:x,language:C}=(0,c.GV)((e=>{let{siteDefinition:t}=e;return t})),{content:S}=(0,c.GV)((e=>{let{currentPage:t}=e;return t})),k=(0,c.lW)(),E=(0,c.GV)(qs.N2),I=(0,O.zy)(),_=(0,O.wQ)(),P=b+I.pathname,T=(0,u.useRef)(null),[B,N]=(0,u.useState)(),{publicRoute:M,publicOrder:L}=$l,F=I.pathname.includes(M);if((0,u.useEffect)((()=>{(0,RO.Jv)(t.KQ,a.typography.f1400family)}),[a.typography.f1400family]),(0,u.useEffect)((()=>{!T.current||w||x||i||N(T.current.offsetTop)}),[T,w,x,i]),(0,u.useEffect)((()=>{e(F?(0,gt.tr)():(0,gt.Wn)())}),[e,o,F]),(0,u.useEffect)((()=>{null!==C&&void 0!==C&&C.name&&((e=>{const t=e.toLowerCase();var n;Up().extend(ZO()),Up().extend(JO()),$O[t]&&(null===(n=$O[t])||void 0===n||n.call($O).then((e=>{let{default:t}=e;const{name:n}=t;n&&Up().locale(n)})))})(null===C||void 0===C?void 0:C.name),(e=>{var t;YO[e]&&(null===(t=YO[e])||void 0===t||t.call(YO).then((e=>{let{default:t}=e;t.code&&((0,WO.registerLocale)(t.code,t),(0,WO.setDefaultLocale)(t.code))})))})(null===C||void 0===C?void 0:C.name))}),[null===C||void 0===C?void 0:C.name]),(0,u.useEffect)((()=>{var e;null!==(e=I.state)&&void 0!==e&&e.noscroll||"POP"===_||(0,ja.eG)()}),[I.pathname,I.state,_]),w||x)return(0,m.jsx)(s.M4,{});if(i)return(0,m.jsx)(m.Fragment,{children:i.message});if(!I.pathname.endsWith("/")&&!I.pathname.includes("/authentication/"))return(0,m.jsx)(O.C5,{replace:!0,to:{pathname:I.pathname+"/",search:I.search}});const z=S&&(0,j.A)(S)||(0,m.jsx)(m.Fragment,{}),Q=E&&k.width<1804,U=(0,m.jsx)(yD,{"aria-label":"Skip to content",children:(0,m.jsx)(AD,{className:"px-4 m-2",title:n("general.skipToContent","Skip to content"),onClick:e=>{var t,n;null!==T&&void 0!==T&&T.current&&(null===(t=T.current)||void 0===t||t.setAttribute("tabindex","-1"),null===(n=T.current)||void 0===n||n.focus(),setTimeout((()=>{var e;return null===(e=T.current)||void 0===e?void 0:e.removeAttribute("tabindex")}),1e3))},tabIndex:0,children:n("general.skipToContent","Skip to content")})});return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(lD,{canonicalUrl:P}),(0,m.jsx)(p.NP,{theme:a,children:(0,m.jsxs)(Y.z,{baseColor:(0,Ee.a)(.015,null===a||void 0===a?void 0:a.colors.fill),highlightColor:null===a||void 0===a?void 0:a.colors.fill,children:[(0,m.jsx)(HO,{adjustForControlPanel:Q}),F&&(0,m.jsx)(m.Fragment,{children:(0,m.jsx)(u.Suspense,{fallback:(0,m.jsx)(m.Fragment,{}),children:(0,m.jsxs)(O.BV,{children:[(0,m.jsx)(O.qh,{path:":lang/public/offer/:identifier",element:(0,m.jsx)(iO,{})}),(0,m.jsx)(O.qh,{path:"/public/offer/:identifier",element:(0,m.jsx)(iO,{})}),(0,m.jsx)(O.qh,{path:`:lang${L}:identifier`,element:(0,m.jsx)(DO,{})}),(0,m.jsx)(O.qh,{path:`${L}:identifier`,element:(0,m.jsx)(DO,{})}),(0,m.jsx)(O.qh,{path:"/public/partner/:partner",element:(0,m.jsx)(QI,{})})]})})}),!F&&(0,m.jsx)(m.Fragment,{children:(0,m.jsxs)(vD,{column:!0,children:[U,(0,m.jsx)(fD,{show:null!==l,name:"Header",model:null!==l&&void 0!==l?l:{propertyDataType:"",value:""}}),(0,m.jsxs)(mD,{id:"content",controlPanel:Q,column:!0,ref:T,className:Q?"controlpanel":"",tabIndex:-1,children:[(0,m.jsx)(Rs,{}),(0,m.jsx)(MO.A,{}),(0,m.jsx)(cD,{}),(0,m.jsx)(u.Suspense,{fallback:(0,m.jsx)(m.Fragment,{}),children:(0,m.jsxs)(O.BV,{children:[(0,m.jsx)(O.qh,{path:"/*",element:(0,m.jsx)(hD,{show:null!==S,children:(0,m.jsx)(Ut,{comp:z})})}),A.length>0&&A.map(((e,t)=>(0,eT.g)(e)?(0,m.jsx)(O.qh,{path:`${e.url}*`,element:(0,m.jsx)(ft,{contentLinkId:e.contentLinkId})},`${e.contentLinkId}_${t}`):(0,m.jsx)(O.qh,{path:`${e.url}*`,element:(0,m.jsx)(hD,{show:null!==S,children:(0,m.jsx)(Ut,{comp:z})})},`${e.contentLinkId}_${t}`))),f&&(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(O.qh,{path:`${f.url}`,element:(0,m.jsx)(Ut,{comp:z})}),(0,m.jsx)(O.qh,{path:`${f.url}${n("navigation.history","History").toLowerCase()}/*`,element:(0,m.jsx)(Ct,{})}),(0,m.jsx)(O.qh,{path:`${f.url}activate/:identifier`,element:(0,m.jsx)(At,{})})]}),(null===y||void 0===y?void 0:y.listPage)&&(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(O.qh,{path:`${null===y||void 0===y?void 0:y.listPage.url}`,element:(0,m.jsx)(hD,{show:null!==S,children:(0,m.jsx)(Ut,{comp:z})})}),(0,m.jsx)(O.qh,{path:`${null===y||void 0===y?void 0:y.listPage.url}:reseller/select`,element:(0,m.jsx)(Gt,{})})]}),g&&(0,m.jsx)(O.qh,{path:`${g.url}`,element:(0,m.jsx)(qt.default,{})}),(0,m.jsx)(O.qh,{path:`${r.p_.loginCb}`,element:(0,m.jsx)(D,{type:"signin"})}),(0,m.jsx)(O.qh,{path:`${r.p_.logoutCb}`,element:(0,m.jsx)(D,{type:"signout"})}),(0,m.jsx)(O.qh,{path:`${r.p_.silent}`,element:(0,m.jsx)(D,{type:"silent"})}),(0,m.jsx)(O.qh,{path:`${r.p_.login}`,element:(0,m.jsx)(D,{type:"login"})})]})})]}),(0,m.jsx)(hD,{show:null!=h,children:h&&(0,m.jsx)(gD,{controlPanel:Q,children:(0,m.jsx)(R.A,{name:"Footer",model:h})})}),E&&(0,m.jsx)(hD,{show:null!==S,children:(0,m.jsx)(HP,{offset:B})})]})}),(0,m.jsx)(Vs,{}),(0,m.jsx)(Ns,{}),(0,m.jsx)(u.Suspense,{fallback:(0,m.jsx)(s.M4,{}),children:(0,m.jsx)(un,{})}),(0,m.jsx)(v,{})]})})]})},hD=p.Ay.div.withConfig({componentId:"sc-atv04o-0"})(["",""],(e=>{let{show:t}=e;return t?"":"display: none;"})),fD=(0,p.Ay)(R.A).withConfig({componentId:"sc-atv04o-1"})(["",""],(e=>{let{show:t}=e;return t?"":"display: none;"})),mD=(0,p.Ay)(s.so).withConfig({componentId:"sc-atv04o-2"})(["flex-grow:2;",""],(e=>{let{controlPanel:t}=e;return t&&"padding-left: 54px;"})),gD=p.Ay.div.withConfig({componentId:"sc-atv04o-3"})(["",""],(e=>{let{controlPanel:t}=e;return t&&"padding-left: 54px;"})),vD=(0,p.Ay)(s.so).withConfig({componentId:"sc-atv04o-4"})(["min-height:100vh;"]),yD=p.Ay.nav.withConfig({componentId:"sc-atv04o-5"})(["display:Flex;justify-content:center;"]),AD=p.Ay.button.withConfig({componentId:"sc-atv04o-6"})(["position:absolute;background-color:#ffffff;color:#1b1b1b;display:inline-block;font-weight:700;text-decoration:none;text-transform:uppercase;top:auto;width:1px;border:0;height:1px;width:1px;left:-10000px;&:focus{outline:2px solid #1b1b1b;outline-offset:2px;clip:auto;height:auto;overflow:visible;position:static;width:auto;position:static;transform:translateX(0);}"]);var bD=n(77018);const wD=(0,ic.zD)("sites/getSiteDefinitions",(async(e,t)=>{let{getState:n}=t;return(await bD.A.getSiteDefinitions(n().siteDefinition.baseUrl)).data})),xD=(0,ic.Z0)({name:"sites",initialState:{sites:[],pending:!0},reducers:{},extraReducers:e=>{e.addCase(wD.fulfilled,((e,t)=>{try{const n=t.payload||e.sites;e.sites=n.reduce(((e,t)=>{var n,r;return[...e,{name:t.name,id:t.id,url:(null===(n=t.languages)||void 0===n||null===(r=n.find((e=>e.isMasterLanguage)))||void 0===r?void 0:r.url)||"Unknown host"}]}),new Array)}catch(n){Ba.A.warn("getSliceDefinitions.fulfilled",n)}e.pending=!1})),e.addCase(wD.rejected,(e=>{e.pending=!1,Ba.A.error("Could not load sites")})),e.addCase(wD.pending,(e=>{e.pending=!0}))}}).reducer,CD=()=>{const{sites:e,pending:t}=(0,c.GV)((e=>{let{sites:t}=e;return t})),{siteId:n,baseUrl:r,language:i,commerceApiPath:o}=(0,c.GV)((e=>{let{siteDefinition:t}=e;return t})),a=(0,c.jL)();(0,u.useEffect)((()=>{r&&a(wD())}),[a,r]);const l=[...e].sort(((e,t)=>e.name<t.name?-1:e.name>t.name?1:0)).map((e=>({value:e.id,label:e.name}))),d=l.find((e=>e.value===n));return e.length>0?(0,m.jsx)(p.NP,{theme:Wt.A,children:(0,m.jsxs)(SD,{align:"center",justify:"center",$wrap:!0,gap:"1rem",children:[(0,m.jsx)(ED,{maxMenuHeight:600,name:"sites",className:"p-1 f3-400",id:"site-selector",menuPlacement:"top",value:d,onChange:async t=>{const n=e.find((e=>t.value===e.id));n&&(await a((0,T.a1)()),a({type:"RESET"}),a((0,gt.nu)({id:n.id,baseUrl:n.url.endsWith("/")?n.url.slice(0,-1):n.url})),window.location.href="http://localhost:3000/",(0,gt.jF)(n.id,n.url.endsWith("/")?n.url.slice(0,-1):n.url))},options:l}),(0,m.jsx)(s.$n,{bgColor:"fillMedium",onClick:()=>a((0,yt.a_)("shoppingCart")()),children:"T\xf6m varukorg"})]})}):t?null:(0,m.jsx)(p.NP,{theme:Wt.A,children:(0,m.jsx)(kD,{children:(0,m.jsxs)(s.so,{className:"w-100 h-100",column:!0,justify:"center",align:"center",children:[(0,m.jsx)("div",{className:"mb-2",children:"Kan inte ladda sites - rensa och anv\xe4nd .env defaults "}),(0,m.jsx)(s.$n,{bgColor:"fillBlack",color:"textWhite",onClick:()=>{(0,Rn.vA)((()=>{var e,t;a(T.a1),(0,gt.jF)(null!==(e="fa2225e0-7c06-47f3-9117-1dfb77535f27")?e:"",null!==(t="https://newwave-se.dev.nwg.wan")?t:""),window.location.href="http://localhost:3000/"}))},children:"Ladda om"})]})})})},SD=(0,p.Ay)(s.so).withConfig({componentId:"sc-p80ws1-0"})(["padding:1em 1em 2em;"]),kD=(0,p.Ay)(s.so).withConfig({componentId:"sc-p80ws1-1"})(["position:absolute;height:80vh;width:100vw;top:0;left:0;"]),ED=(0,p.Ay)(s.l6).withConfig({componentId:"sc-p80ws1-2"})(["width:300px;"]);var ID=n(1352),_D=n(57923),PD=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,OD=(0,_D.A)((function(e){return PD.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}));var TD=n(578);const DD=(0,ic.Z0)({name:"epiContext",initialState:{inEditMode:!1,isEditable:!1},reducers:{epiContextUpdated:(e,t)=>({...e,...t.payload})}}),{epiContextUpdated:jD}=DD.actions,BD=DD.reducer;var ND=n(43183),MD=n(2090),RD=n(13284),LD=n(9603),FD=n(3260),zD=n(8589),QD=n(63211),UD=n(55759),VD=n(34869);const GD=(0,yt.t7)("microshopCart").reducer,qD=(0,yt.t7)("offerCart").reducer;var HD=n(58883);const WD=(0,km.HY)({accessoryImages:mn.Ay,alert:f.Ay,articles:gn.Ay,assortment:N.Ay,authorization:T.Ay,bookmark:ND.Ay,bookmarkPage:MD.Ay,cart:yt.Ay,collections:ah.Ay,controlPanel:qs.Ay,currentPage:B.Ay,customerSelector:HD.Ay,epiContext:BD,events:LD.Ay,excelSettings:Jt.Ay,export:Yt.Ay,exportedFiles:an.Ay,files:gf.Ay,images:FD.Ay,microshopCart:GD,microshops:cp.Ay,navigation:QD.Ay,newsletter:zD.Ay,newsLists:UD.Ay,offers:lp.Ay,offerCart:qD,orders:El.Ay,partner:Fu,pdfSettings:ZP.Ay,price:$e.Ay,product:L.Ay,property:RD.A,refinementTool:In.Ay,refinementToolModal:ke.Ay,resellers:Vt.Ay,search:VD.Ay,salesboard:x_,sectionedContent:cc,siteDefinition:gt.Ay,sites:xD,user:_a.Ay,wishList:De.Ay}),YD=(0,ic.U1)({reducer:(e,t)=>("RESET"===t.type&&(e={user:e.user}),WD(e,t)),middleware:e=>e({immutableCheck:!1,serializableCheck:!1})});var KD=n(91935);function JD(){const e={inEditMode:window.epi.inEditMode,isEditable:window.epi.isEditable};YD.dispatch(jD(e)),window.epi.isEditable&&(Ba.A.log("model upated by epi edit"),window.epi.subscribe("contentSaved",(e=>{YD.dispatch((0,KD.y)(e.contentLink))})))}window.addEventListener("load",(()=>{window.epi&&(!0===window.epi.ready?JD():window.epi.subscribe&&window.epi.subscribe("epiReady",(()=>JD())))})),(0,e.ZQ)(YD);const XD=document.getElementById("root");(0,ID.H)(XD).render((0,m.jsx)(Rn.Kq,{store:YD,children:(0,m.jsxs)(p.ID,{shouldForwardProp:function(e,t){return"string"!==typeof t||OD(e)},children:[(0,m.jsx)(hc.Kd,{children:(0,m.jsx)(pD,{})}),(0,TD.q)()&&"true"!=={NODE_ENV:"production",PUBLIC_URL:"/clientapp/build",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_API:"https://b2bcommerceapi.nwg.wan",REACT_APP_APPCONTEXTID:"fa2225e0-7c06-47f3-9117-1dfb77535f27",REACT_APP_CMS:"https://newwave-se.dev.nwg.wan",REACT_APP_IDENTITY:"https://b2bidentity.nwg.wan",REACT_APP_MEDIASERVICEURL:"https://images.nwgmedia.com"}.REACT_APP_CMSLOCAL&&(0,m.jsx)(CD,{})]})}))})()})();