@retailrocketgroup/retailrocket-edit.next-best-offer-2-vue-email-template-render 3.0.354465 → 3.0.354778
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/assets/main.js
CHANGED
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
* vue-i18n v9.8.0
|
|
42
42
|
* (c) 2023 kazuya kawaguchi
|
|
43
43
|
* Released under the MIT License.
|
|
44
|
-
*/const V8="9.8.0";function L8(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(Pr().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(Pr().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(Pr().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Pr().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Pr().__INTLIFY_PROD_DEVTOOLS__=!1)}const dD=r8.__EXTEND_POINT__,ps=og(dD);ps(),ps(),ps(),ps(),ps(),ps(),ps(),ps();const mD=Ei.__EXTEND_POINT__,Vn=og(mD),Ao={UNEXPECTED_RETURN_TYPE:mD,INVALID_ARGUMENT:Vn(),MUST_BE_CALL_SETUP_TOP:Vn(),NOT_INSTALLED:Vn(),NOT_AVAILABLE_IN_LEGACY_MODE:Vn(),REQUIRED_VALUE:Vn(),INVALID_VALUE:Vn(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:Vn(),NOT_INSTALLED_WITH_PROVIDE:Vn(),UNEXPECTED_ERROR:Vn(),NOT_COMPATIBLE_LEGACY_VUE_I18N:Vn(),BRIDGE_SUPPORT_VUE_2_ONLY:Vn(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:Vn(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:Vn(),__EXTEND_POINT__:Vn()};function $o(t,...o){return eu(t,null,void 0)}const zh=Ks("__translateVNode"),Gh=Ks("__datetimeParts"),Kh=Ks("__numberParts"),cD=Ks("__setPluralRules"),fD=Ks("__injectWithOption"),Yh=Ks("__dispose");function Fd(t){if(!Ze(t))return t;for(const o in t)if(hd(t,o))if(!o.includes("."))Ze(t[o])&&Fd(t[o]);else{const e=o.split("."),n=e.length-1;let s=t,i=!1;for(let r=0;r<n;r++){if(e[r]in s||(s[e[r]]={}),!Ze(s[e[r]])){i=!0;break}s=s[e[r]]}i||(s[e[n]]=t[o],delete t[o]),Ze(s[e[n]])&&Fd(s[e[n]])}return t}function Gf(t,o){const{messages:e,__i18n:n,messageResolver:s,flatJson:i}=o,r=Fe(e)?e:mo(n)?{}:{[t]:{}};if(mo(n)&&n.forEach(a=>{if("locale"in a&&"resource"in a){const{locale:d,resource:u}=a;d?(r[d]=r[d]||{},td(u,r[d])):td(u,r)}else kt(a)&&td(JSON.parse(a),r)}),s==null&&i)for(const a in r)hd(r,a)&&Fd(r[a]);return r}function pD(t){return t.type}function CD(t,o,e){let n=Ze(o.messages)?o.messages:{};"__i18nGlobal"in e&&(n=Gf(t.locale.value,{messages:n,__i18n:e.__i18nGlobal}));const s=Object.keys(n);s.length&&s.forEach(i=>{t.mergeLocaleMessage(i,n[i])});{if(Ze(o.datetimeFormats)){const i=Object.keys(o.datetimeFormats);i.length&&i.forEach(r=>{t.mergeDateTimeFormat(r,o.datetimeFormats[r])})}if(Ze(o.numberFormats)){const i=Object.keys(o.numberFormats);i.length&&i.forEach(r=>{t.mergeNumberFormat(r,o.numberFormats[r])})}}}function Cb(t){return P(Ar,null,t,0)}const hb="__INTLIFY_META__",gb=()=>[],D8=()=>!1;let Fb=0;function yb(t){return(o,e,n,s)=>t(e,n,Uo()||void 0,s)}const v8=()=>{const t=Uo();let o=null;return t&&(o=pD(t)[hb])?{[hb]:o}:null};function sg(t={},o){const{__root:e,__injectWithOption:n}=t,s=e===void 0,i=t.flatJson;let r=we(t.inheritLocale)?t.inheritLocale:!0;const a=Te(e&&r?e.locale.value:kt(t.locale)?t.locale:Ml),d=Te(e&&r?e.fallbackLocale.value:kt(t.fallbackLocale)||mo(t.fallbackLocale)||Fe(t.fallbackLocale)||t.fallbackLocale===!1?t.fallbackLocale:a.value),u=Te(Gf(a.value,t)),c=Te(Fe(t.datetimeFormats)?t.datetimeFormats:{[a.value]:{}}),p=Te(Fe(t.numberFormats)?t.numberFormats:{[a.value]:{}});let h=e?e.missingWarn:we(t.missingWarn)||Ws(t.missingWarn)?t.missingWarn:!0,g=e?e.fallbackWarn:we(t.fallbackWarn)||Ws(t.fallbackWarn)?t.fallbackWarn:!0,y=e?e.fallbackRoot:we(t.fallbackRoot)?t.fallbackRoot:!0,b=!!t.fallbackFormat,v=so(t.missing)?t.missing:null,D=so(t.missing)?yb(t.missing):null,I=so(t.postTranslation)?t.postTranslation:null,R=e?e.warnHtmlMessage:we(t.warnHtmlMessage)?t.warnHtmlMessage:!0,L=!!t.escapeParameter;const N=e?e.modifiers:Fe(t.modifiers)?t.modifiers:{};let W=t.pluralRules||e&&e.pluralRules,O;O=(()=>{s&&sb(null);const z={version:V8,locale:a.value,fallbackLocale:d.value,messages:u.value,modifiers:N,pluralRules:W,missing:D===null?void 0:D,missingWarn:h,fallbackWarn:g,fallbackFormat:b,unresolving:!0,postTranslation:I===null?void 0:I,warnHtmlMessage:R,escapeParameter:L,messageResolver:t.messageResolver,messageCompiler:t.messageCompiler,__meta:{framework:"vue"}};z.datetimeFormats=c.value,z.numberFormats=p.value,z.__datetimeFormatters=Fe(O)?O.__datetimeFormatters:void 0,z.__numberFormatters=Fe(O)?O.__numberFormatters:void 0;const ot=h8(z);return s&&sb(ot),ot})(),Iu(O,a.value,d.value);function H(){return[a.value,d.value,u.value,c.value,p.value]}const U=Yt({get:()=>a.value,set:z=>{a.value=z,O.locale=a.value}}),rt=Yt({get:()=>d.value,set:z=>{d.value=z,O.fallbackLocale=d.value,Iu(O,a.value,z)}}),et=Yt(()=>u.value),tt=Yt(()=>c.value),ct=Yt(()=>p.value);function Rt(){return so(I)?I:null}function nt(z){I=z,O.postTranslation=z}function pt(){return v}function Tt(z){z!==null&&(D=yb(z)),v=z,O.missing=D}const Mt=(z,ot,It,At,ie,G)=>{H();let J;try{__INTLIFY_PROD_DEVTOOLS__,s||(O.fallbackContext=e?C8():void 0),J=z(O)}finally{__INTLIFY_PROD_DEVTOOLS__,s||(O.fallbackContext=void 0)}if(It!=="translate exists"&&No(J)&&J===zf||It==="translate exists"&&!J){const[it,ht]=ot();return e&&y?At(e):ie(it)}else{if(G(J))return J;throw $o(Ao.UNEXPECTED_RETURN_TYPE)}};function Xt(...z){return Mt(ot=>Reflect.apply(db,null,[ot,...z]),()=>$h(...z),"translate",ot=>Reflect.apply(ot.t,ot,[...z]),ot=>ot,ot=>kt(ot))}function oe(...z){const[ot,It,At]=z;if(At&&!Ze(At))throw $o(Ao.INVALID_ARGUMENT);return Xt(ot,It,Xo({resolvedMessage:!0},At||{}))}function $t(...z){return Mt(ot=>Reflect.apply(mb,null,[ot,...z]),()=>Uh(...z),"datetime format",ot=>Reflect.apply(ot.d,ot,[...z]),()=>nb,ot=>kt(ot))}function Ee(...z){return Mt(ot=>Reflect.apply(fb,null,[ot,...z]),()=>jh(...z),"number format",ot=>Reflect.apply(ot.n,ot,[...z]),()=>nb,ot=>kt(ot))}function Qt(z){return z.map(ot=>kt(ot)||No(ot)||we(ot)?Cb(String(ot)):ot)}const ue={normalize:Qt,interpolate:z=>z,type:"vnode"};function ye(...z){return Mt(ot=>{let It;const At=ot;try{At.processor=ue,It=Reflect.apply(db,null,[At,...z])}finally{At.processor=null}return It},()=>$h(...z),"translate",ot=>ot[zh](...z),ot=>[Cb(ot)],ot=>mo(ot))}function Be(...z){return Mt(ot=>Reflect.apply(fb,null,[ot,...z]),()=>jh(...z),"number format",ot=>ot[Kh](...z),gb,ot=>kt(ot)||mo(ot))}function _e(...z){return Mt(ot=>Reflect.apply(mb,null,[ot,...z]),()=>Uh(...z),"datetime format",ot=>ot[Gh](...z),gb,ot=>kt(ot)||mo(ot))}function ze(z){W=z,O.pluralRules=W}function Oe(z,ot){return Mt(()=>{if(!z)return!1;const It=kt(ot)?ot:a.value,At=B(It),ie=O.messageResolver(At,z);return Ol(ie)||ui(ie)||kt(ie)},()=>[z],"translate exists",It=>Reflect.apply(It.te,It,[z,ot]),D8,It=>we(It))}function Xe(z){let ot=null;const It=QL(O,d.value,a.value);for(let At=0;At<It.length;At++){const ie=u.value[It[At]]||{},G=O.messageResolver(ie,z);if(G!=null){ot=G;break}}return ot}function V(z){const ot=Xe(z);return ot??(e?e.tm(z)||{}:{})}function B(z){return u.value[z]||{}}function M(z,ot){if(i){const It={[z]:ot};for(const At in It)hd(It,At)&&Fd(It[At]);ot=It[z]}u.value[z]=ot,O.messages=u.value}function K(z,ot){u.value[z]=u.value[z]||{};const It={[z]:ot};for(const At in It)hd(It,At)&&Fd(It[At]);ot=It[z],td(ot,u.value[z]),O.messages=u.value}function Q(z){return c.value[z]||{}}function ut(z,ot){c.value[z]=ot,O.datetimeFormats=c.value,cb(O,z,ot)}function Dt(z,ot){c.value[z]=Xo(c.value[z]||{},ot),O.datetimeFormats=c.value,cb(O,z,ot)}function Ct(z){return p.value[z]||{}}function bt(z,ot){p.value[z]=ot,O.numberFormats=p.value,pb(O,z,ot)}function Ft(z,ot){p.value[z]=Xo(p.value[z]||{},ot),O.numberFormats=p.value,pb(O,z,ot)}Fb++,e&&Mh&&(qe(e.locale,z=>{r&&(a.value=z,O.locale=z,Iu(O,a.value,d.value))}),qe(e.fallbackLocale,z=>{r&&(d.value=z,O.fallbackLocale=z,Iu(O,a.value,d.value))}));const xt={id:Fb,locale:U,fallbackLocale:rt,get inheritLocale(){return r},set inheritLocale(z){r=z,z&&e&&(a.value=e.locale.value,d.value=e.fallbackLocale.value,Iu(O,a.value,d.value))},get availableLocales(){return Object.keys(u.value).sort()},messages:et,get modifiers(){return N},get pluralRules(){return W||{}},get isGlobal(){return s},get missingWarn(){return h},set missingWarn(z){h=z,O.missingWarn=h},get fallbackWarn(){return g},set fallbackWarn(z){g=z,O.fallbackWarn=g},get fallbackRoot(){return y},set fallbackRoot(z){y=z},get fallbackFormat(){return b},set fallbackFormat(z){b=z,O.fallbackFormat=b},get warnHtmlMessage(){return R},set warnHtmlMessage(z){R=z,O.warnHtmlMessage=z},get escapeParameter(){return L},set escapeParameter(z){L=z,O.escapeParameter=z},t:Xt,getLocaleMessage:B,setLocaleMessage:M,mergeLocaleMessage:K,getPostTranslationHandler:Rt,setPostTranslationHandler:nt,getMissingHandler:pt,setMissingHandler:Tt,[cD]:ze};return xt.datetimeFormats=tt,xt.numberFormats=ct,xt.rt=oe,xt.te=Oe,xt.tm=V,xt.d=$t,xt.n=Ee,xt.getDateTimeFormat=Q,xt.setDateTimeFormat=ut,xt.mergeDateTimeFormat=Dt,xt.getNumberFormat=Ct,xt.setNumberFormat=bt,xt.mergeNumberFormat=Ft,xt[fD]=n,xt[zh]=ye,xt[Gh]=_e,xt[Kh]=Be,xt}function R8(t){const o=kt(t.locale)?t.locale:Ml,e=kt(t.fallbackLocale)||mo(t.fallbackLocale)||Fe(t.fallbackLocale)||t.fallbackLocale===!1?t.fallbackLocale:o,n=so(t.missing)?t.missing:void 0,s=we(t.silentTranslationWarn)||Ws(t.silentTranslationWarn)?!t.silentTranslationWarn:!0,i=we(t.silentFallbackWarn)||Ws(t.silentFallbackWarn)?!t.silentFallbackWarn:!0,r=we(t.fallbackRoot)?t.fallbackRoot:!0,a=!!t.formatFallbackMessages,d=Fe(t.modifiers)?t.modifiers:{},u=t.pluralizationRules,c=so(t.postTranslation)?t.postTranslation:void 0,p=kt(t.warnHtmlInMessage)?t.warnHtmlInMessage!=="off":!0,h=!!t.escapeParameterHtml,g=we(t.sync)?t.sync:!0;let y=t.messages;if(Fe(t.sharedMessages)){const N=t.sharedMessages;y=Object.keys(N).reduce((O,X)=>{const H=O[X]||(O[X]={});return Xo(H,N[X]),O},y||{})}const{__i18n:b,__root:v,__injectWithOption:D}=t,I=t.datetimeFormats,R=t.numberFormats,L=t.flatJson;return{locale:o,fallbackLocale:e,messages:y,flatJson:L,datetimeFormats:I,numberFormats:R,missing:n,missingWarn:s,fallbackWarn:i,fallbackRoot:r,fallbackFormat:a,modifiers:d,pluralRules:u,postTranslation:c,warnHtmlMessage:p,escapeParameter:h,messageResolver:t.messageResolver,inheritLocale:g,__i18n:b,__root:v,__injectWithOption:D}}function Zh(t={},o){{const e=sg(R8(t)),{__extender:n}=t,s={id:e.id,get locale(){return e.locale.value},set locale(i){e.locale.value=i},get fallbackLocale(){return e.fallbackLocale.value},set fallbackLocale(i){e.fallbackLocale.value=i},get messages(){return e.messages.value},get datetimeFormats(){return e.datetimeFormats.value},get numberFormats(){return e.numberFormats.value},get availableLocales(){return e.availableLocales},get formatter(){return{interpolate(){return[]}}},set formatter(i){},get missing(){return e.getMissingHandler()},set missing(i){e.setMissingHandler(i)},get silentTranslationWarn(){return we(e.missingWarn)?!e.missingWarn:e.missingWarn},set silentTranslationWarn(i){e.missingWarn=we(i)?!i:i},get silentFallbackWarn(){return we(e.fallbackWarn)?!e.fallbackWarn:e.fallbackWarn},set silentFallbackWarn(i){e.fallbackWarn=we(i)?!i:i},get modifiers(){return e.modifiers},get formatFallbackMessages(){return e.fallbackFormat},set formatFallbackMessages(i){e.fallbackFormat=i},get postTranslation(){return e.getPostTranslationHandler()},set postTranslation(i){e.setPostTranslationHandler(i)},get sync(){return e.inheritLocale},set sync(i){e.inheritLocale=i},get warnHtmlInMessage(){return e.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(i){e.warnHtmlMessage=i!=="off"},get escapeParameterHtml(){return e.escapeParameter},set escapeParameterHtml(i){e.escapeParameter=i},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(i){},get pluralizationRules(){return e.pluralRules||{}},__composer:e,t(...i){const[r,a,d]=i,u={};let c=null,p=null;if(!kt(r))throw $o(Ao.INVALID_ARGUMENT);const h=r;return kt(a)?u.locale=a:mo(a)?c=a:Fe(a)&&(p=a),mo(d)?c=d:Fe(d)&&(p=d),Reflect.apply(e.t,e,[h,c||p||{},u])},rt(...i){return Reflect.apply(e.rt,e,[...i])},tc(...i){const[r,a,d]=i,u={plural:1};let c=null,p=null;if(!kt(r))throw $o(Ao.INVALID_ARGUMENT);const h=r;return kt(a)?u.locale=a:No(a)?u.plural=a:mo(a)?c=a:Fe(a)&&(p=a),kt(d)?u.locale=d:mo(d)?c=d:Fe(d)&&(p=d),Reflect.apply(e.t,e,[h,c||p||{},u])},te(i,r){return e.te(i,r)},tm(i){return e.tm(i)},getLocaleMessage(i){return e.getLocaleMessage(i)},setLocaleMessage(i,r){e.setLocaleMessage(i,r)},mergeLocaleMessage(i,r){e.mergeLocaleMessage(i,r)},d(...i){return Reflect.apply(e.d,e,[...i])},getDateTimeFormat(i){return e.getDateTimeFormat(i)},setDateTimeFormat(i,r){e.setDateTimeFormat(i,r)},mergeDateTimeFormat(i,r){e.mergeDateTimeFormat(i,r)},n(...i){return Reflect.apply(e.n,e,[...i])},getNumberFormat(i){return e.getNumberFormat(i)},setNumberFormat(i,r){e.setNumberFormat(i,r)},mergeNumberFormat(i,r){e.mergeNumberFormat(i,r)},getChoiceIndex(i,r){return-1}};return s.__extender=n,s}}const ag={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:t=>t==="parent"||t==="global",default:"parent"},i18n:{type:Object}};function x8({slots:t},o){return o.length===1&&o[0]==="default"?(t.default?t.default():[]).reduce((n,s)=>[...n,...s.type===Lt?s.children:[s]],[]):o.reduce((e,n)=>{const s=t[n];return s&&(e[n]=s()),e},{})}function hD(t){return Lt}const _8=lt({name:"i18n-t",props:Xo({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:t=>No(t)||!isNaN(t)}},ag),setup(t,o){const{slots:e,attrs:n}=o,s=t.i18n||Kf({useScope:t.scope,__useComponent:!0});return()=>{const i=Object.keys(e).filter(p=>p!=="_"),r={};t.locale&&(r.locale=t.locale),t.plural!==void 0&&(r.plural=kt(t.plural)?+t.plural:t.plural);const a=x8(o,i),d=s[zh](t.keypath,a,r),u=Xo({},n),c=kt(t.tag)||Ze(t.tag)?t.tag:hD();return Xl(c,u,d)}}}),Sb=_8;function I8(t){return mo(t)&&!kt(t[0])}function gD(t,o,e,n){const{slots:s,attrs:i}=o;return()=>{const r={part:!0};let a={};t.locale&&(r.locale=t.locale),kt(t.format)?r.key=t.format:Ze(t.format)&&(kt(t.format.key)&&(r.key=t.format.key),a=Object.keys(t.format).reduce((h,g)=>e.includes(g)?Xo({},h,{[g]:t.format[g]}):h,{}));const d=n(t.value,r,a);let u=[r.key];mo(d)?u=d.map((h,g)=>{const y=s[h.type],b=y?y({[h.type]:h.value,index:g,parts:d}):[h.value];return I8(b)&&(b[0].key=`${h.type}-${g}`),b}):kt(d)&&(u=[d]);const c=Xo({},i),p=kt(t.tag)||Ze(t.tag)?t.tag:hD();return Xl(p,c,u)}}const E8=lt({name:"i18n-n",props:Xo({value:{type:Number,required:!0},format:{type:[String,Object]}},ag),setup(t,o){const e=t.i18n||Kf({useScope:"parent",__useComponent:!0});return gD(t,o,uD,(...n)=>e[Kh](...n))}}),bb=E8,P8=lt({name:"i18n-d",props:Xo({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},ag),setup(t,o){const e=t.i18n||Kf({useScope:"parent",__useComponent:!0});return gD(t,o,lD,(...n)=>e[Gh](...n))}}),Tb=P8;function N8(t,o){const e=t;if(t.mode==="composition")return e.__getInstance(o)||t.global;{const n=e.__getInstance(o);return n!=null?n.__composer:t.global.__composer}}function w8(t){const o=r=>{const{instance:a,modifiers:d,value:u}=r;if(!a||!a.$)throw $o(Ao.UNEXPECTED_ERROR);const c=N8(t,a.$),p=Bb(u);return[Reflect.apply(c.t,c,[...Vb(p)]),c]};return{created:(r,a)=>{const[d,u]=o(a);Mh&&t.global===u&&(r.__i18nWatcher=qe(u.locale,()=>{a.instance&&a.instance.$forceUpdate()})),r.__composer=u,r.textContent=d},unmounted:r=>{Mh&&r.__i18nWatcher&&(r.__i18nWatcher(),r.__i18nWatcher=void 0,delete r.__i18nWatcher),r.__composer&&(r.__composer=void 0,delete r.__composer)},beforeUpdate:(r,{value:a})=>{if(r.__composer){const d=r.__composer,u=Bb(a);r.textContent=Reflect.apply(d.t,d,[...Vb(u)])}},getSSRProps:r=>{const[a]=o(r);return{textContent:a}}}}function Bb(t){if(kt(t))return{path:t};if(Fe(t)){if(!("path"in t))throw $o(Ao.REQUIRED_VALUE,"path");return t}else throw $o(Ao.INVALID_VALUE)}function Vb(t){const{path:o,locale:e,args:n,choice:s,plural:i}=t,r={},a=n||{};return kt(e)&&(r.locale=e),No(s)&&(r.plural=s),No(i)&&(r.plural=i),[o,a,r]}function A8(t,o,...e){const n=Fe(e[0])?e[0]:{},s=!!n.useI18nComponentName;(we(n.globalInstall)?n.globalInstall:!0)&&([s?"i18n":Sb.name,"I18nT"].forEach(r=>t.component(r,Sb)),[bb.name,"I18nN"].forEach(r=>t.component(r,bb)),[Tb.name,"I18nD"].forEach(r=>t.component(r,Tb))),t.directive("t",w8(o))}function W8(t,o,e){return{beforeCreate(){const n=Uo();if(!n)throw $o(Ao.UNEXPECTED_ERROR);const s=this.$options;if(s.i18n){const i=s.i18n;if(s.__i18n&&(i.__i18n=s.__i18n),i.__root=o,this===this.$root)this.$i18n=Lb(t,i);else{i.__injectWithOption=!0,i.__extender=e.__vueI18nExtend,this.$i18n=Zh(i);const r=this.$i18n;r.__extender&&(r.__disposer=r.__extender(this.$i18n))}}else if(s.__i18n)if(this===this.$root)this.$i18n=Lb(t,s);else{this.$i18n=Zh({__i18n:s.__i18n,__injectWithOption:!0,__extender:e.__vueI18nExtend,__root:o});const i=this.$i18n;i.__extender&&(i.__disposer=i.__extender(this.$i18n))}else this.$i18n=t;s.__i18nGlobal&&CD(o,s,s),this.$t=(...i)=>this.$i18n.t(...i),this.$rt=(...i)=>this.$i18n.rt(...i),this.$tc=(...i)=>this.$i18n.tc(...i),this.$te=(i,r)=>this.$i18n.te(i,r),this.$d=(...i)=>this.$i18n.d(...i),this.$n=(...i)=>this.$i18n.n(...i),this.$tm=i=>this.$i18n.tm(i),e.__setInstance(n,this.$i18n)},mounted(){},unmounted(){const n=Uo();if(!n)throw $o(Ao.UNEXPECTED_ERROR);const s=this.$i18n;delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,s.__disposer&&(s.__disposer(),delete s.__disposer,delete s.__extender),e.__deleteInstance(n),delete this.$i18n}}}function Lb(t,o){t.locale=o.locale||t.locale,t.fallbackLocale=o.fallbackLocale||t.fallbackLocale,t.missing=o.missing||t.missing,t.silentTranslationWarn=o.silentTranslationWarn||t.silentFallbackWarn,t.silentFallbackWarn=o.silentFallbackWarn||t.silentFallbackWarn,t.formatFallbackMessages=o.formatFallbackMessages||t.formatFallbackMessages,t.postTranslation=o.postTranslation||t.postTranslation,t.warnHtmlInMessage=o.warnHtmlInMessage||t.warnHtmlInMessage,t.escapeParameterHtml=o.escapeParameterHtml||t.escapeParameterHtml,t.sync=o.sync||t.sync,t.__composer[cD](o.pluralizationRules||t.pluralizationRules);const e=Gf(t.locale,{messages:o.messages,__i18n:o.__i18n});return Object.keys(e).forEach(n=>t.mergeLocaleMessage(n,e[n])),o.datetimeFormats&&Object.keys(o.datetimeFormats).forEach(n=>t.mergeDateTimeFormat(n,o.datetimeFormats[n])),o.numberFormats&&Object.keys(o.numberFormats).forEach(n=>t.mergeNumberFormat(n,o.numberFormats[n])),t}const k8=Ks("global-vue-i18n");function M8(t={},o){const e=__VUE_I18N_LEGACY_API__&&we(t.legacy)?t.legacy:__VUE_I18N_LEGACY_API__,n=we(t.globalInjection)?t.globalInjection:!0,s=__VUE_I18N_LEGACY_API__&&e?!!t.allowComposition:!0,i=new Map,[r,a]=O8(t,e),d=Ks("");function u(h){return i.get(h)||null}function c(h,g){i.set(h,g)}function p(h){i.delete(h)}{const h={get mode(){return __VUE_I18N_LEGACY_API__&&e?"legacy":"composition"},get allowComposition(){return s},async install(g,...y){if(g.__VUE_I18N_SYMBOL__=d,g.provide(g.__VUE_I18N_SYMBOL__,h),Fe(y[0])){const D=y[0];h.__composerExtend=D.__composerExtend,h.__vueI18nExtend=D.__vueI18nExtend}let b=null;!e&&n&&(b=Z8(g,h.global)),__VUE_I18N_FULL_INSTALL__&&A8(g,h,...y),__VUE_I18N_LEGACY_API__&&e&&g.mixin(W8(a,a.__composer,h));const v=g.unmount;g.unmount=()=>{b&&b(),h.dispose(),v()}},get global(){return a},dispose(){r.stop()},__instances:i,__getInstance:u,__setInstance:c,__deleteInstance:p};return h}}function Kf(t={}){const o=Uo();if(o==null)throw $o(Ao.MUST_BE_CALL_SETUP_TOP);if(!o.isCE&&o.appContext.app!=null&&!o.appContext.app.__VUE_I18N_SYMBOL__)throw $o(Ao.NOT_INSTALLED);const e=H8(o),n=U8(e),s=pD(o),i=$8(t,s);if(__VUE_I18N_LEGACY_API__&&e.mode==="legacy"&&!t.__useComponent){if(!e.allowComposition)throw $o(Ao.NOT_AVAILABLE_IN_LEGACY_MODE);return K8(o,i,n,t)}if(i==="global")return CD(n,t,s),n;if(i==="parent"){let d=j8(e,o,t.__useComponent);return d==null&&(d=n),d}const r=e;let a=r.__getInstance(o);if(a==null){const d=Xo({},t);"__i18n"in s&&(d.__i18n=s.__i18n),n&&(d.__root=n),a=sg(d),r.__composerExtend&&(a[Yh]=r.__composerExtend(a)),G8(r,o,a),r.__setInstance(o,a)}return a}function O8(t,o,e){const n=f0();{const s=__VUE_I18N_LEGACY_API__&&o?n.run(()=>Zh(t)):n.run(()=>sg(t));if(s==null)throw $o(Ao.UNEXPECTED_ERROR);return[n,s]}}function H8(t){{const o=wr(t.isCE?k8:t.appContext.app.__VUE_I18N_SYMBOL__);if(!o)throw $o(t.isCE?Ao.NOT_INSTALLED_WITH_PROVIDE:Ao.UNEXPECTED_ERROR);return o}}function $8(t,o){return jf(t)?"__i18n"in o?"local":"global":t.useScope?t.useScope:"local"}function U8(t){return t.mode==="composition"?t.global:t.global.__composer}function j8(t,o,e=!1){let n=null;const s=o.root;let i=z8(o,e);for(;i!=null;){const r=t;if(t.mode==="composition")n=r.__getInstance(i);else if(__VUE_I18N_LEGACY_API__){const a=r.__getInstance(i);a!=null&&(n=a.__composer,e&&n&&!n[fD]&&(n=null))}if(n!=null||s===i)break;i=i.parent}return n}function z8(t,o=!1){return t==null?null:o&&t.vnode.ctx||t.parent}function G8(t,o,e){Wi(()=>{},o),Ed(()=>{const n=e;t.__deleteInstance(o);const s=n[Yh];s&&(s(),delete n[Yh])},o)}function K8(t,o,e,n={}){const s=o==="local",i=qi(null);if(s&&t.proxy&&!(t.proxy.$options.i18n||t.proxy.$options.__i18n))throw $o(Ao.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const r=we(n.inheritLocale)?n.inheritLocale:!kt(n.locale),a=Te(!s||r?e.locale.value:kt(n.locale)?n.locale:Ml),d=Te(!s||r?e.fallbackLocale.value:kt(n.fallbackLocale)||mo(n.fallbackLocale)||Fe(n.fallbackLocale)||n.fallbackLocale===!1?n.fallbackLocale:a.value),u=Te(Gf(a.value,n)),c=Te(Fe(n.datetimeFormats)?n.datetimeFormats:{[a.value]:{}}),p=Te(Fe(n.numberFormats)?n.numberFormats:{[a.value]:{}}),h=s?e.missingWarn:we(n.missingWarn)||Ws(n.missingWarn)?n.missingWarn:!0,g=s?e.fallbackWarn:we(n.fallbackWarn)||Ws(n.fallbackWarn)?n.fallbackWarn:!0,y=s?e.fallbackRoot:we(n.fallbackRoot)?n.fallbackRoot:!0,b=!!n.fallbackFormat,v=so(n.missing)?n.missing:null,D=so(n.postTranslation)?n.postTranslation:null,I=s?e.warnHtmlMessage:we(n.warnHtmlMessage)?n.warnHtmlMessage:!0,R=!!n.escapeParameter,L=s?e.modifiers:Fe(n.modifiers)?n.modifiers:{},N=n.pluralRules||s&&e.pluralRules;function W(){return[a.value,d.value,u.value,c.value,p.value]}const O=Yt({get:()=>i.value?i.value.locale.value:a.value,set:B=>{i.value&&(i.value.locale.value=B),a.value=B}}),X=Yt({get:()=>i.value?i.value.fallbackLocale.value:d.value,set:B=>{i.value&&(i.value.fallbackLocale.value=B),d.value=B}}),H=Yt(()=>i.value?i.value.messages.value:u.value),U=Yt(()=>c.value),rt=Yt(()=>p.value);function et(){return i.value?i.value.getPostTranslationHandler():D}function tt(B){i.value&&i.value.setPostTranslationHandler(B)}function ct(){return i.value?i.value.getMissingHandler():v}function Rt(B){i.value&&i.value.setMissingHandler(B)}function nt(B){return W(),B()}function pt(...B){return i.value?nt(()=>Reflect.apply(i.value.t,null,[...B])):nt(()=>"")}function Tt(...B){return i.value?Reflect.apply(i.value.rt,null,[...B]):""}function Mt(...B){return i.value?nt(()=>Reflect.apply(i.value.d,null,[...B])):nt(()=>"")}function Xt(...B){return i.value?nt(()=>Reflect.apply(i.value.n,null,[...B])):nt(()=>"")}function oe(B){return i.value?i.value.tm(B):{}}function $t(B,M){return i.value?i.value.te(B,M):!1}function Ee(B){return i.value?i.value.getLocaleMessage(B):{}}function Qt(B,M){i.value&&(i.value.setLocaleMessage(B,M),u.value[B]=M)}function pe(B,M){i.value&&i.value.mergeLocaleMessage(B,M)}function ue(B){return i.value?i.value.getDateTimeFormat(B):{}}function ye(B,M){i.value&&(i.value.setDateTimeFormat(B,M),c.value[B]=M)}function Be(B,M){i.value&&i.value.mergeDateTimeFormat(B,M)}function _e(B){return i.value?i.value.getNumberFormat(B):{}}function ze(B,M){i.value&&(i.value.setNumberFormat(B,M),p.value[B]=M)}function Oe(B,M){i.value&&i.value.mergeNumberFormat(B,M)}const Xe={get id(){return i.value?i.value.id:-1},locale:O,fallbackLocale:X,messages:H,datetimeFormats:U,numberFormats:rt,get inheritLocale(){return i.value?i.value.inheritLocale:r},set inheritLocale(B){i.value&&(i.value.inheritLocale=B)},get availableLocales(){return i.value?i.value.availableLocales:Object.keys(u.value)},get modifiers(){return i.value?i.value.modifiers:L},get pluralRules(){return i.value?i.value.pluralRules:N},get isGlobal(){return i.value?i.value.isGlobal:!1},get missingWarn(){return i.value?i.value.missingWarn:h},set missingWarn(B){i.value&&(i.value.missingWarn=B)},get fallbackWarn(){return i.value?i.value.fallbackWarn:g},set fallbackWarn(B){i.value&&(i.value.missingWarn=B)},get fallbackRoot(){return i.value?i.value.fallbackRoot:y},set fallbackRoot(B){i.value&&(i.value.fallbackRoot=B)},get fallbackFormat(){return i.value?i.value.fallbackFormat:b},set fallbackFormat(B){i.value&&(i.value.fallbackFormat=B)},get warnHtmlMessage(){return i.value?i.value.warnHtmlMessage:I},set warnHtmlMessage(B){i.value&&(i.value.warnHtmlMessage=B)},get escapeParameter(){return i.value?i.value.escapeParameter:R},set escapeParameter(B){i.value&&(i.value.escapeParameter=B)},t:pt,getPostTranslationHandler:et,setPostTranslationHandler:tt,getMissingHandler:ct,setMissingHandler:Rt,rt:Tt,d:Mt,n:Xt,tm:oe,te:$t,getLocaleMessage:Ee,setLocaleMessage:Qt,mergeLocaleMessage:pe,getDateTimeFormat:ue,setDateTimeFormat:ye,mergeDateTimeFormat:Be,getNumberFormat:_e,setNumberFormat:ze,mergeNumberFormat:Oe};function V(B){B.locale.value=a.value,B.fallbackLocale.value=d.value,Object.keys(u.value).forEach(M=>{B.mergeLocaleMessage(M,u.value[M])}),Object.keys(c.value).forEach(M=>{B.mergeDateTimeFormat(M,c.value[M])}),Object.keys(p.value).forEach(M=>{B.mergeNumberFormat(M,p.value[M])}),B.escapeParameter=R,B.fallbackFormat=b,B.fallbackRoot=y,B.fallbackWarn=g,B.missingWarn=h,B.warnHtmlMessage=I}return _d(()=>{if(t.proxy==null||t.proxy.$i18n==null)throw $o(Ao.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const B=i.value=t.proxy.$i18n.__composer;o==="global"?(a.value=B.locale.value,d.value=B.fallbackLocale.value,u.value=B.messages.value,c.value=B.datetimeFormats.value,p.value=B.numberFormats.value):s&&V(B)}),Xe}const Y8=["locale","fallbackLocale","availableLocales"],Db=["t","rt","d","n","tm","te"];function Z8(t,o){const e=Object.create(null);return Y8.forEach(s=>{const i=Object.getOwnPropertyDescriptor(o,s);if(!i)throw $o(Ao.UNEXPECTED_ERROR);const r=To(i.value)?{get(){return i.value.value},set(a){i.value.value=a}}:{get(){return i.get&&i.get()}};Object.defineProperty(e,s,r)}),t.config.globalProperties.$i18n=e,Db.forEach(s=>{const i=Object.getOwnPropertyDescriptor(o,s);if(!i||!i.value)throw $o(Ao.UNEXPECTED_ERROR);Object.defineProperty(t.config.globalProperties,`$${s}`,i)}),()=>{delete t.config.globalProperties.$i18n,Db.forEach(s=>{delete t.config.globalProperties[`$${s}`]})}}L8();__INTLIFY_JIT_COMPILATION__?rb(y8):rb(F8);m8(G7);c8(QL);if(__INTLIFY_PROD_DEVTOOLS__){const t=Pr();t.__INTLIFY__=!0,e8(t.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const J8={favoritesTemplateList:{title:"Choose a template or start from scratch",customFavoritesButton:"Custom",defaultFavoritesButton:"Default",emailTemplatePreview:{title:"Preview",applyButton:"Select",cancelButton:"Cancel"},newTemplate:"Blank Template"},asideMenu:{exitButtonTooltip:"Exit",componentLibraryButtonTooltip:"Select a component to add to the template",themeLibraryButtonTooltip:"Themes",themeStylesButtonTooltip:"Styles",componentLibrary:{title:"Components",myComponentsButton:"Custom",defaultComponentsButton:"Default",hideEmptySectionsCheckbox:"Hide empty sections",addComponentLibrarySectionButton:"Add section",createComponentLibrarySectionModalWindow:{title:"New section",inputLabel:"Name",inputPlaceholder:"Section name...",cancelButton:"Cancel",applyButton:"Save"},componentSection:{emptySectionText:"No components in this group",deleteSectionButton:"Delete section",cancelDragging:"Cancel",deleteComponentLibrarySectionModalWindow:{title:"Delete section",description:"Are you sure you want to delete the section?",cancelButton:"Cancel",applyButton:"Delete"},componentSectionItem:{editComponentButton:"Edit",deleteComponentButton:"Delete",editComponentLibrarySectionModalWindow:{title:"Edit component",componentNameLabel:"Name",componentNamePlaceholder:"Component name...",componentSectionLabel:"Section",cancelButton:"Cancel",applyButton:"Save"},deleteComponentLibrarySectionItemModalWindow:{title:"Delete component",description:"Are you sure you want to delete the component?",cancelButton:"Cancel",applyButton:"Delete"}}}},themeStyles:{title:"Styles",templateSettingsButton:"Template",componentsSettingsButton:"Components",themeTemplateSettings:{themeTemplateWidthLabel:"Width",templateResponsiveWidthLabel:"Responsive width",templateResponsiveWidthToolbar:"Email width automatically adapts to mobile and tablet devices.",themeTemplateRadiusLabel:"Border radius",templateColorTitle:"Color",templateBodyColor:"Email body",templateBackgroundColor:"Background",themeTemplateFontFamilyTitle:"Font",themePaddings:{title:"Content paddings",allButton:"All",manualButton:"Separately",custom:{topLabel:"Top",bottomLabel:"Bottom",leftLabel:"Left",rightLabel:"Right"}}},themeComponentSettings:{themeComponentPaddings:{title:"Paddings",smallLabel:"Small",mediumLabel:"Medium",largeLabel:"Large",hugeLabel:"Huge",buttonLabel:"Buttons",buttonLeftRightLabel:"Left, right",buttonTopBottomLabel:"Top, bottom"},themeComponentRadius:{title:"Border radius",manualComponentRadiusCheckbox:"Customize separately",cardLabel:"Cards",buttonLabel:"Buttons",bannerLabel:"Banners"},themeComponentColor:{title:"Color",primaryColorLabel:"Primary",primaryTextColorLabel:"Primary text",secondaryColorLabel:"Secondary",secondaryTextColorLabel:"Secondary text",cardBackgroundColor:"Product cards"},themeComponentFontSettings:{title:"Font",titleLabel:"Title",headingLabel:"Heading",subHeadingLabel:"Subheading",largeTextLabel:"Large text",normalTextLabel:"Text",descriptionTextLabel:"Descriptions",buttonTextLabel:"Buttons",linkTextLabel:"Links"}}},themeLibrary:{title:"Theme",userThemeButtonText:"Custom",defaultThemeButtonText:"Default",hideEmptySectionsCheckbox:"Hide empty sections",addThemeLibrarySectionButton:"Add section",addThemeLibrarySectionItemButton:"Save theme",addThemeLibrarySectionItemButtonTooltip:"You need to create a theme section before saving",createThemeLibrarySectionModalWindow:{title:"New section",inputLabel:"Name",inputPlaceholder:"Section name...",cancelButton:"Cancel",applyButton:"Save"},addThemeLibrarySectionItemModalWindow:{title:"Save theme",inputNameLabel:"Name",inputNamePlaceholder:"Theme name...",inputGroupLabel:"Group",cancelButton:"Cancel",applyButton:"Save"},themeSection:{emptySectionText:"No theme templates in this group",deleteSectionButton:"Delete section",deleteThemeLibrarySectionModalWindow:{title:"Delete section",description:"Are you sure you want to delete the section?",cancelButton:"Cancel",applyButton:"Delete"},themeSectionItem:{editThemeButton:"Edit",deleteThemeButton:"Delete",editThemeLibrarySectionModalWindow:{title:"Edit theme",themeNameLabel:"Name",themeNamePlaceholder:"Theme name...",themeSectionLabel:"Group",cancelButton:"Cancel",applyButton:"Save"},deleteThemeLibrarySectionItemModalWindow:{title:"Delete theme",description:"Are you sure you want to delete the theme?",cancelButton:"Cancel",applyButton:"Delete"}}}}},productShelfBuilderComponent:{title:"Product shelf settings",algorithmLabel:"Product selection algorithm",cancelButton:"Cancel",applyButton:"Apply",listSelector:{productListShelf:"Product shelf",relatedProductsForProductListShelf:"Related products for products",alternativeProductsForProductListShelf:"Alternative products for products",popularProductsInCategoryListShelf:"Popular products in category",popularProductsShelf:"Popular products",latestProductsShelf:"Latest products",saleByLatestShelf:"Latest products on sale",saleByPopularShelf:"Popular products on sale",abandonedBasketProductListShelf:"Abandoned cart products",alternativeProductsForAbandonedProductListShelf:"Alternative products for abandoned cart",relatedProductsForAbandonedProductListShelf:"Related products for abandoned cart",abandonedViewProductListShelf:"Abandoned view products",alternativeProductsForAbandonedViewProductListShelf:"Alternative products for abandoned view",relatedProductsForAbandonedViewProductListShelf:"Related products for abandoned view",abandonedViewPriceDropProductListShelf:"Abandoned view products with price drop",alternativeProductsForAbandonedViewPriceDropProductListShelf:"Alternative products with price drop for abandoned view",relatedProductsForAbandonedViewPriceDropProductListShelf:"Related products with price drop for abandoned view",priceDropProductListShelf:"Price Drop Products",alternativeProductsForPriceDropProductListShelf:"Alternative products for price drop products",relatedProductsForPriceDropProductListShelf:"Related products for price drop products",abandonedViewNAProductListShelf:"Abandoned view products are not available",relatedProductsForAbandonedViewNAProductListShelf:"Related products to not available products from abandoned view",alternativeProductsForAbandonedViewNAProductListShelf:"Alternative products to not available products from abandoned view",popularProductsForAbandonedCategoriesShelf:"Popular products from Abandoned category",searchRecommendationsForAbandonedSearchShelf:"Search recommendations for Abandoned search",abandonedBasketPriceDropProductListShelf:"Price drop on abandoned cart products",alternativeProductsForAbandonedBasketPriceDropProductListShelf:"Alternative products for abandoned cart price drop products",postTransactionProductListShelf:"Post transaction products",relatedProductsForPostTransactionProductListShelf:"Related products for post transaction products",alternativeProductsForPostTransactionProductListShelf:"Alternative products for post transaction products",productBackInStockProductListShelf:"Product back in stock",relatedProductsForProductBackInStockProductListShelf:"Related products for product back in stock",alternativeProductsForProductBackInStockProductListShelf:"Alternative products for product back in stock",productStillOutOfStockProductListShelf:"Product still out of stock",relatedProductsForProductStillOutOfStockProductListShelf:"Related products for product still out of stock",alternativeProductsForProductStillOutOfStockProductListShelf:"Alternative products for product still out of stock",repurchaseProductListShelf:"Repurchase products",relatedProductsForRepurchaseProductListShelf:"Related products for repurchase products",alternativeProductsForRepurchaseProductListShelf:"Alternative products for repurchase products",nextBestOffer2RecommendationsShelf:"Products from recommended categories for purchased products"},productShelfBuilders:{stockLabel:"Stock ID",stockPlaceholder:"Select an ID",defaultStock:"Default",defaultStockCheckbox:"Use default stock ID",productListShelfLimiterLabel:"Number of products",emptySearch:"No results for search",notAvailableLabel:"not available",productsAtLeast:"From",productsLimit:"To",popularProductListDescription:"The email will display the most popular products in the store.",productListDescription:"Select products to display",relatedProductListDescription:"Select a product block to define which items will receive <b>related product</b> recommendations.<br>Note: Customers will see algorithmically generated <b>related products</b> in the email, not the specific products you select here.",alternativeProductListDescription:"Select a block of products to define which ones we will offer <b>alternative products</b> for.<br>Please note that customers will see in the email not the selected products, but the products calculated by the <b>alternative products</b> algorithm for the selected products.",popularFromCategoryListDescription:"Select a block of categories to define which ones we will offer <b>popular products</b> for.<br>Please note that customers will see additional products in the email that match your selection.",latestProductListDescription:"The email will display the latest products in the store",saleByLatestProductListDescription:"The email will display the latest products in the store on sale",saleByPopularProductListDescription:"The email will display popular products in the store on sale",productsSelectButton:"Select products",categorySelectButton:"Select categories",abandonedBasketProductListDescription:"The email will display products from the abandoned cart",alternativeProductsForAbandonedBasketProductListDescription:"The email will display alternative recommendations for abandoned cart products",relatedProductsForAbandonedBasketProductListDescription:"The email will display related recommendations for abandoned cart products",abandonedViewProductListDescription:"The email will display products from the abandoned view",alternativeProductsForAbandonedViewProductListDescription:"The email will display alternative recommendations for abandoned view products",relatedProductsForAbandonedViewProductListDescription:"The email will display related recommendations for abandoned view products",abandonedViewPriceDropProductListDescription:"The email will display products with price drop from the abandoned view",alternativeProductsForAbandonedViewPriceDropProductListDescription:"The email will display alternative recommendations for abandoned view products with price drop",relatedProductsForAbandonedViewPriceDropProductListDescription:"The email will display related recommendations for abandoned view products with price drop",priceDropProductListDescription:"The email will display products from the price drop",alternativeProductsForPriceDropProductListDescription:"The email will display alternative recommendations for price drop products",relatedProductsForPriceDropProductListDescription:"The email will display related recommendations for abandoned price drop",abandonedViewNAProductListDescription:"The email will display not available products from Abandoned view",relatedProductsForAbandonedViewNAProductListDescription:"The email will display related recommendations for abandoned view not available products",alternativeProductsForAbandonedViewNAProductListDescription:"The email will display alternative recommendations for abandoned view not available products",popularProductsForAbandonedCategoriesDescription:"The email will display popular products from abandoned categories",searchRecommendationsForAbandonedSearchDescription:"The email will display search recommendations for the abandoned search",abandonedBasketPriceDropProductListDescription:"The email will display products from the abandoned cart with price drop",alternativeProductsForAbandonedBasketPriceDropProductListDescription:"The email will display alternative recommendations for abandoned cart products with price drop",postTransactionProductListDescription:"The email will display products from the post transaction",relatedProductsForPostTransactionProductListDescription:"The email will display related recommendations for post transaction products",alternativeProductsForPostTransactionProductListDescription:"The email will display alternative recommendations for post transaction products",productBackInStockProductListDescription:"The email will display products from back in stock",relatedProductsForProductBackInStockProductListDescription:"The email will display related recommendations for back in stock products",alternativeProductsForProductBackInStockProductListDescription:"The email will display alternative recommendations for back in stock products",productStillOutOfStockProductListDescription:"The email will display products still out of stock",relatedProductsForProductStillOutOfStockProductListDescription:"The email will display related recommendations for still out of stock products",alternativeProductsForProductStillOutOfStockProductListDescription:"The email will display alternative recommendations for still out of stock products",repurchaseProductListDescription:"The email will display repurchase products",relatedProductsForRepurchaseProductListDescription:"The email will display related recommendations for repurchase products",alternativeProductsForRepurchaseProductListDescription:"The email will display alternative recommendations for repurchase products",nextBestOffer2RecommendationsDescription:"The email will display products from recommended categories for purchased products"}},productListComposerModalWindow:{title:"Product list",cancelButton:"Cancel",applyButton:"Apply",clearListButton:"Clear",notAvailableLabel:"not available",searching:"Search...",loading:"Loading...",transferAllButton:"Add all",searchInputPlaceholder:"Name of one product or list of IDs",emptySearchProductListTopText:"Name of one product",emptySearchProductListBottomText:"or a list of IDs separated by commas",emptySelectedProductList:"The product list is currently empty.",selectedProductListTitle:"Product list",selectedProductListDeclensions:{one:"product",few:"products",many:"products"}},categoryListComposerModalWindow:{title:"Select categories",cancelButton:"Cancel",applyButton:"Apply",searching:"Search...",loading:"Loading...",transferAllButton:"Add all",searchInputPlaceholder:"Name of one category or list of IDs",emptySearchCategoryListText:"Enter a category name to display results.",emptySelectedCategoryListText:"The category list is currently empty.",selectedCategoryListTitleText:"Category list",selectedCategoryListDeclensions:{one:"category",few:"categories",many:"categories"}},topMenu:{preheaderSubjectUpdateButton:"Set subject",preheaderSubjectUpdateButtonTooltip:"Edit email subject and preheader",preheaderSubjectUpdateModalWindow:{title:"Subject settings",themeLabel:"Subject",themeInputPlaceholder:"Title that recipients will see in their email",preheaderLabel:"Preheader",preheaderInputPlaceholder:"Brief description visible right after the subject in the email list",applyButton:"Apply",cancelButton:"Cancel"},toggleDeviceBar:{disabledButtonTooltip:"Turn on responsive width to ensure proper display on all mobile devices and tablets"},exportMenu:{resetTemplateButton:{resetTemplateButton:"Reset template",resetTemplateButtonTooltip:"Reset template",modalWindow:{title:"Reset template",applyButton:"Reset",cancelButton:"Cancel",description:"Resetting the template will delete all current settings and content. This action cannot be undone."}},transactionalDataAppSettingsModifier:{button:"Email data",buttonTooltip:"Transactional email data settings",modalWindow:{title:"Transactional email data",label:"JSON",cancelButton:"Cancel",applyButton:"Apply"}},saveTemplateButton:{saveButton:"Save",errorButton:"Error",saveButtonTooltip:"Save template",errorButtonTooltip:"Template save error",errorNotificationWindowTitle:"Save error",errorNotificationWindowDescription:"Don't close the window! Contact Retail Rocket."}}},emailTemplate:{emailComponent:{emptyEmailComponentText:"Product shelf is hidden due to insufficient products",emptyEmailComponentTooltip:"The product shelf won't be displayed to recipients until it contains enough products"},dropHere:"Drop here",movementMenu:{draggingMenu:{moving:"Moving"},draggingButtonTooltip:"Move",moveToBottomButtonTooltip:"Move to bottom",moveToTopButtonTooltip:"Move to top",copyButtonTooltip:"Duplicate",saveButtonTooltip:"Save to library",disabledSaveButtonTooltip:"Для сохранения создайте секцию библиотеки компонентов",removeButtonTooltip:"Delete",removeWindowTitle:"Delete component",removeConfirmMessage:"Are you sure you want to delete the component?"},addComponentLibrarySectionItemModalWindow:{title:"Save component",nameLabel:"Name",namePlaceholder:"Component name...",groupLabel:"Group",cancelButton:"Cancel",applyButton:"Save"}},emailTemplateEditors:{emptyEditorText:"Select any email element to configure it",imageEditor:{title:"Image",removeWindowTitle:"Delete element",removeWindowDescription:"Are you sure you want to delete the Image element?",srcLabel:"Image link",srcPlaceholder:"Image link...",altLabel:"Alt text",altPlaceholder:"Alt text...",hrefLabel:"Click link",hrefPlaceholder:"Optional",retinaLabel:"For retina screens"},buttonEditor:{title:"Button",removeWindowTitle:"Delete element",removeWindowDescription:"Are you sure you want to delete the Button element?",inputTextLabel:"Text",inputTextPlaceholder:"Button text...",hrefLabel:"Click link",hrefPlaceholder:"Link address",backgroundColorLabel:"Background color",textStyleLabel:"Style"},spanEditor:{title:"Text",removeWindowTitle:"Delete element",removeWindowDescription:"Are you sure you want to delete the Text element?",inputTextPlaceholder:"Text...",textStyleLabel:"Style",inputHRefPlaceholder:"Link...",minHeightLabel:"Minimum number of lines"},spacerEditor:{title:"Spacer",removeWindowTitle:"Delete element",removeWindowDescription:"Are you sure you want to delete the Spacer element?",paddingLabel:"Spacer size",customPaddingLabel:"Custom",separatorLabel:"Separator"},unsubscribeLinkEditor:{title:"Unsubscribe link text",removeWindowTitle:"Delete element",removeWindowDescription:"Are you sure you want to delete the Unsubscribe link text element?",inputTextPlaceholder:"Text..."},emailComponentEditor:{title:"Row",removeWindowTitle:"Delete component",removeWindowDescription:"Are you sure you want to delete the component?",backgroundColorLabel:"Background color"},commonEditors:{cannotBeEditedLabel:"Cannot be edited",otherLabel:"Other",contentAlign:{label:"Alignment",fullWidthCheckboxLabel:"Full width"},border:{label:"Border"},borderRadius:{label:"Border radius",top:"Top",bottom:"Bottom",themeStyleLinkedText:"From component settings"},padding:{label:"Paddings",top:"Top",bottom:"Bottom",left:"Left",right:"Right",leftRight:"Left, right",topBottom:"Top, bottom",manualValue:"Manual",themeStyleLinked:"Automatic",labels:{themePaddingsSmall:"Small",themePaddingsMedium:"Medium",themePaddingsLarge:"Large",themePaddingsHuge:"Huge",bodyPaddingsLeft:"Left",bodyPaddingsBottom:"Bottom",bodyPaddingsRight:"Right",bodyPaddingsTop:"Top",custom:"Custom"}},color:{customColorLabel:"Other color",colorLabels:{none:"None",styleLinkedColor:"Link to style",emailBackgroundColor:"Email background",bodyColor:"Email body",primaryColor:"Primary color",secondaryColor:"Secondary color",primaryTextColor:"Primary text",secondaryTextColor:"Secondary text",cardBackgroundColor:"Product card color",buttonTextColor:"Buttons",titleColor:"Title",headingColor:"Heading",subHeadingColor:"Subheading",largeTextColor:"Large text",normalTextColor:"Text",descriptionTextColor:"Description",linkColor:"Link",custom:"Custom"}},fontStyle:{colorLabel:"Color",fontStyleLabel:"Style",settingLabels:{title:"Title",heading:"Heading",subHeading:"Subheading",largeText:"Large text",normalText:"Text",descriptionText:"Description",link:"Link",button:"Button",custom:"Custom"},customFontSettings:{textColorLabel:"Text color"}}}},UIComponents:{removeConfirmModalWindow:{title:"Delete element",cancelButton:"Cancel",applyButton:"Delete"},modalWindow:{closeButton:"Close"}},defaultThemeLibrary:{sections:{default:"Default",defaultThemeSectionItemName:"Default theme",detskiyMirSectionItemName:"Detskiy Mir",voltSectionItemName:"220 Volt"}},defaultComponentLibrary:{sections:{header:{sectionTitle:"Headers",components:{clothing:"Clothing",home:"Home",outdoor:"Outdoor",catalog:"Catalog",description:"Follow us for useful content and updates",youHave:"You have: ",bonuses:"435 points"}},menu:{sectionTitle:"Menu",components:{electronics:"Electronics",sale:"Sale",toys:"Toys",care:"Hygiene & Care",food:"Food",clothing:"Clothing & Footwear"}},banner:{sectionTitle:"Banners"},content:{sectionTitle:"Content",components:{cols:{col_1:{title:"Best Office Apps for Tablets",description:"Tablets have made office work much easier. Discover the best apps to help you stay productive wherever you are."},col_2:{title:"Digital Security Secrets: How to Protect Your Data",description:"With hacking and data leaks becoming more common, digital security is increasingly important. Learn how to protect your personal data online."},col_3:{title:"Gaming Keyboards: Selection Tips and Advice",description:"For gamers, choosing the right keyboard is crucial for your gaming experience. Learn what to look for in a gaming keyboard and how to improve your performance."},col_4:{title:"Success Secrets: 5 Simple Steps",description:"Discover five simple yet effective steps to help you achieve success in any area of life. Don't miss this opportunity to learn more and apply these principles today!"},col_5:{title:"Research: How Color Affects Mood",description:"We conducted research on how different colors affect our mood and emotional state. Learn more about our findings and how color choices can impact your brand perception."}},date:"October 23, 2023",read:"Read",site:"Site",open:"Open",title:"Discover Our Email Creation Service",largeText:"We're excited to introduce our new product - an email creation service. With this user-friendly and intuitive tool, you can easily create beautiful, professional emails in just a few simple steps. Our service offers a wide selection of customizable templates and design elements to help you create unique, engaging emails for your audience."}},button:{sectionTitle:"Buttons",components:{button:{catalog:"Catalog",account:"Account",site:"Website"}}},productShelf:{title:"Product Shelves",components:{productShelf:{title:"Title",currency:" RUB",button:"Buy",label:"Sale"}}},separator:{title:"Separator"},footer:{sectionTitle:"Footers",components:{link:{electronics:"Electronics",appliances:"Appliances",clothing:"Clothing",home:"Home",outdoor:"Outdoor",food:"Food",here:"here",unsubscribe:"Unsubscribe",copyRight:"© 2023-2024 Company name"},text:{description:"You received this email because you subscribed to Company name newsletters. You can unsubscribe by clicking ",copyRight:"© 2022 Nike"}}}}}},X8={favoritesTemplateList:{title:"Выберите шаблон или начните с чистого листа",defaultFavoritesButton:"Стандартные",customFavoritesButton:"Пользовательские",emailTemplatePreview:{title:"Предпросмотр",applyButton:"Выбрать",cancelButton:"Отмена"},newTemplate:"Чистый лист"},asideMenu:{exitButtonTooltip:"Выйти",componentLibraryButtonTooltip:"Выбрать компонент для добавления в шаблон",themeLibraryButtonTooltip:"Темы",themeStylesButtonTooltip:"Стили",componentLibrary:{title:"Компоненты",myComponentsButton:"Мои",defaultComponentsButton:"Стандартные",hideEmptySectionsCheckbox:"Скрыть пустые секции",addComponentLibrarySectionButton:"Добавить секцию",createComponentLibrarySectionModalWindow:{title:"Новая секция",inputLabel:"Название",inputPlaceholder:"Название секции...",cancelButton:"Отмена",applyButton:"Сохранить"},componentSection:{emptySectionText:"В этой группе нет компонентов",deleteSectionButton:"Удалить секцию",cancelDragging:"Отменить",deleteComponentLibrarySectionModalWindow:{title:"Удаление секции",description:"Вы действительно хотите удалить секцию",cancelButton:"Отмена",applyButton:"Удалить"},componentSectionItem:{editComponentButton:"Редактировать",deleteComponentButton:"Удалить",editComponentLibrarySectionModalWindow:{title:"Редактирование компонента",componentNameLabel:"Название",componentNamePlaceholder:"Название компонента...",componentSectionLabel:"Секция",cancelButton:"Отмена",applyButton:"Сохранить"},deleteComponentLibrarySectionItemModalWindow:{title:"Удаление компонента",description:"Вы действительно хотите удалить компонент?",cancelButton:"Отмена",applyButton:"Удалить"}}}},themeStyles:{title:"Стили",templateSettingsButton:"Письма",componentsSettingsButton:"Компонентов",themeTemplateSettings:{themeTemplateWidthLabel:"Ширина",templateResponsiveWidthLabel:"Адаптивная ширина",templateResponsiveWidthToolbar:"Письмо автоматически подстраивается под ширину телефонов и планшетов.",themeTemplateRadiusLabel:"Скругление",templateColorTitle:"Цвет",templateBodyColor:"Тело письма",templateBackgroundColor:"Фон",themeTemplateFontFamilyTitle:"Шрифт",themePaddings:{title:"Отступы до контента",allButton:"Все",manualButton:"Отдельно",custom:{topLabel:"Сверху",bottomLabel:"Снизу",leftLabel:"Слева",rightLabel:"Справа"}}},themeComponentSettings:{themeComponentPaddings:{title:"Отступы",smallLabel:"Маленькие",mediumLabel:"Средние",largeLabel:"Большие",hugeLabel:"Гигантские",buttonLabel:"У кнопок",buttonLeftRightLabel:"Слева, справа",buttonTopBottomLabel:"Сверху, снизу"},themeComponentRadius:{title:"Скругления",manualComponentRadiusCheckbox:"Настроить отдельно",cardLabel:"Карточки",buttonLabel:"Кнопки",bannerLabel:"Баннеры"},themeComponentColor:{title:"Цвет",primaryColorLabel:"Основной",primaryTextColorLabel:"Текст на нём",secondaryColorLabel:"Вторичный",secondaryTextColorLabel:"Текст на нём",cardBackgroundColor:"Карточки товаров"},themeComponentFontSettings:{title:"Шрифт",titleLabel:"Большой заголовок",headingLabel:"Заголовок",subHeadingLabel:"Подзаголовок",largeTextLabel:"Большой текст",normalTextLabel:"Текст",descriptionTextLabel:"Описания",buttonTextLabel:"Кнопки",linkTextLabel:"Ссылки"}}},themeLibrary:{title:"Тема оформления",userThemeButtonText:"Мои",defaultThemeButtonText:"Стандартные",hideEmptySectionsCheckbox:"Скрыть пустые секции",addThemeLibrarySectionButton:"Добавить секцию",addThemeLibrarySectionItemButton:"Сохранить тему",addThemeLibrarySectionItemButtonTooltip:"Для сохранения создайте секцию темы оформления",createThemeLibrarySectionModalWindow:{title:"Новая секция",inputLabel:"Название",inputPlaceholder:"Название секции...",cancelButton:"Отмена",applyButton:"Сохранить"},addThemeLibrarySectionItemModalWindow:{title:"Сохранение темы",inputNameLabel:"Название",inputNamePlaceholder:"Название темы...",inputGroupLabel:"Группа",cancelButton:"Отмена",applyButton:"Сохранить"},themeSection:{emptySectionText:"В этой группе нет шаблонов тем",deleteSectionButton:"Удалить секцию",deleteThemeLibrarySectionModalWindow:{title:"Удаление секции",description:"Вы действительно хотите удалить секцию?",cancelButton:"Отмена",applyButton:"Удалить"},themeSectionItem:{editThemeButton:"Редактировать",deleteThemeButton:"Удалить",editThemeLibrarySectionModalWindow:{title:"Редактирование темы",themeNameLabel:"Название",themeNamePlaceholder:"Название темы...",themeSectionLabel:"Группа",cancelButton:"Отмена",applyButton:"Сохранить"},deleteThemeLibrarySectionItemModalWindow:{title:"Удаление темы",description:"Вы действительно хотите удалить тему?",cancelButton:"Отмена",applyButton:"Удалить"}}}}},productShelfBuilderComponent:{title:"Настройки товарной полки",algorithmLabel:"Алгоритм подбора товаров",cancelButton:"Отмена",applyButton:"Применить",listSelector:{productListShelf:"Продуктовая полка",relatedProductsForProductListShelf:"Сопутствующие товары к товарам",alternativeProductsForProductListShelf:"Альтернативы товаров",popularProductsInCategoryListShelf:"Популярные товары из категории",popularProductsShelf:"Популярные товары",latestProductsShelf:"Новинки магазина",saleByLatestShelf:"Новинки магазина со скидкой",saleByPopularShelf:"Популярные товары со скидкой",abandonedBasketProductListShelf:"Товары из брошенной корзины",alternativeProductsForAbandonedProductListShelf:"Альтернативы товаров из брошенной корзины",relatedProductsForAbandonedProductListShelf:"Сопутствующие товары к товарам из брошенной корзины",abandonedViewProductListShelf:"Товары из брошенного просмотра",alternativeProductsForAbandonedViewProductListShelf:"Альтернативы товаров из брошенного просмотра",relatedProductsForAbandonedViewProductListShelf:"Сопутствующие товары к товарам из брошенного просмотра",abandonedViewPriceDropProductListShelf:"Товары из брошенного просмотра со снижением цены",alternativeProductsForAbandonedViewPriceDropProductListShelf:"Альтернативы товаров из брошенного просмотра со снижением цены",relatedProductsForAbandonedViewPriceDropProductListShelf:"Сопутствующие товары к товарам из брошенного просмотра со снижением цены",priceDropProductListShelf:"Товары со снижением цены",alternativeProductsForPriceDropProductListShelf:"Альтернативы товаров к товарам со снижением цены",relatedProductsForPriceDropProductListShelf:"Сопутствующие товары к товарам со снижением цены",abandonedViewNAProductListShelf:"Товары не в наличии из брошенного просмотра",relatedProductsForAbandonedViewNAProductListShelf:"Сопутствующие товары к товарам не в наличии из брошенного просмотра",alternativeProductsForAbandonedViewNAProductListShelf:"Альтернативы товаров не в наличии из брошенного просмотра",popularProductsForAbandonedCategoriesShelf:"Популярные товары к брошенной категории",searchRecommendationsForAbandonedSearchShelf:"Поисковые рекомендации к брошенному поиску",abandonedBasketPriceDropProductListShelf:"Снижение цены на товары из брошенной корзины",alternativeProductsForAbandonedBasketPriceDropProductListShelf:"Альтернативные товары к товарам со снижением цены из брошенной корзины",postTransactionProductListShelf:"Товары из выполненного заказа",relatedProductsForPostTransactionProductListShelf:"Сопутствующие товары к товарам из выполненного заказа",alternativeProductsForPostTransactionProductListShelf:"Альтернативные товары к товарам из выполненного заказа",productBackInStockProductListShelf:"Товары появившиеся на складе",relatedProductsForProductBackInStockProductListShelf:"Сопутствующие товары к товарам появившимся на складе",alternativeProductsForProductBackInStockProductListShelf:"Альтернативные товары к товарам появившимся на складе",productStillOutOfStockProductListShelf:"Товары отсутствующие на складе",relatedProductsForProductStillOutOfStockProductListShelf:"Сопутствующие товары к товарам отсутствующим на складе",alternativeProductsForProductStillOutOfStockProductListShelf:"Альтернативные товары к товарам отсутствующим на складе",repurchaseProductListShelf:"Товары для повторного заказа",relatedProductsForRepurchaseProductListShelf:"Сопутствующие товары к товарам для повторного заказа",alternativeProductsForRepurchaseProductListShelf:"Альтернативные товары к товарам для повторного заказа",nextBestOffer2RecommendationsShelf:"Товары из рекомендуемых категорий к купленным товарам"},productShelfBuilders:{stockLabel:"Идентификатор склада",stockPlaceholder:"Выберите идентификатор",defaultStock:"Идентификатор по умолчанию",defaultStockCheckbox:"Использовать идентификатор по умолчанию",productListShelfLimiterLabel:"Количество товаров",emptySearch:"Нет результатов поиска",notAvailableLabel:"нет в наличии",productsAtLeast:"От",productsLimit:"До",popularProductListDescription:"В письме будут отображаться самые популярные товары магазина.",productListDescription:"Выберите товары для отображения",relatedProductListDescription:"Выберите блок товаров, чтобы определить, к каким из них мы предложим <b>сопутствующие товары</b>.<br>Пожалуйста, учтите, что клиенты увидят в письме не выбранные товары, а товары рассчитанные по алгоритму <b>сопутствующие товары</b> к выбранным товарам.",alternativeProductListDescription:"Выберите блок товаров, чтобы определить, к каким из них мы предложим <b>альтернативные товары</b>.<br>Пожалуйста, учтите, что клиенты увидят в письме не выбранные товары, а товары рассчитанные по алгоритму <b>альтернативные товары</b> к выбранным товарам.",popularFromCategoryListDescription:"Выберите блок категорий, чтобы определить, к каким из них мы предложим <b>популярные товары</b>.<br>Пожалуйста, учтите, что клиенты увидят в письме дополнительные товары, соответствующие вашему выбору.",latestProductListDescription:"В письме будут отображаться новинки магазина",saleByLatestProductListDescription:"В письме будут отображаться новинки магазина со скидкой",saleByPopularProductListDescription:"В письме будут отображаться популярные товары магазина со скидкой",productsSelectButton:"Выбрать товары",categorySelectButton:"Выбрать категории",abandonedBasketProductListDescription:"В письме будут отображаться товары из брошенной корзины",abandonedViewProductListDescription:"В письме будут отображаться товары из брошенного просмотра",alternativeProductsForAbandonedBasketProductListDescription:"В письме будут отображаться альтернативные рекомендации к товарам из брошенной корзины",relatedProductsForAbandonedBasketProductListDescription:"В письме будут отображаться сопутствующие рекомендации к товарам из брошенной корзины",alternativeProductsForAbandonedViewProductListDescription:"В письме будут отображаться альтернативные рекомендации к товарам из брошенного просмотра",relatedProductsForAbandonedViewProductListDescription:"В письме будут отображаться сопутствующие рекомендации к товарам из брошенного просмотра",abandonedViewPriceDropProductListDescription:"В письме будут отображаться товары со снижением цены из брошенного просмотра",alternativeProductsForAbandonedViewPriceDropProductListDescription:"В письме будут отображаться альтернативные рекомендации к товарам из брошенного просмотра со снижением цены",relatedProductsForAbandonedViewPriceDropProductListDescription:"В письме будут отображаться сопутствующие рекомендации к товарам из брошенного просмотра со снижением цены",priceDropProductListDescription:"В письме будут отображаться товары со снижением цены",alternativeProductsForPriceDropProductListDescription:"В письме будут отображаться альтернативные рекомендации к товарам со снижением цены",relatedProductsForPriceDropProductListDescription:"В письме будут отображаться сопутствующие рекомендации к товарам со снижением цены",abandonedViewNAProductListDescription:"В письме будут отображаться товары не в наличии из брошенного просмотра",relatedProductsForAbandonedViewNAProductListDescription:"В письме будут отображаться сопутствующие рекомендации к товарам не в наличии из брошенного просмотра",alternativeProductsForAbandonedViewNAProductListDescription:"В письме будут отображаться альтернативные рекомендации к товарам не в наличии из брошенного просмотра",popularProductsForAbandonedCategoriesDescription:"В письме будут отображаться популярные товары из брошенных категорий",searchRecommendationsForAbandonedSearchDescription:"В письме будут отображаться поисковые рекомендации к брошенному поиску",abandonedBasketPriceDropProductListDescription:"В письме будут отображаться товары cо снижением цены из брошенной корзины",alternativeProductsForAbandonedBasketPriceDropProductListDescription:"В письме будут отображаться альтернативные рекомендации к товарам со сниженной ценой из брошенной корзины",postTransactionProductListDescription:"В письме будут отображаться товары из выполненного заказа",relatedProductsForPostTransactionProductListDescription:"В письме будут отображаться сопутствующие рекомендации к товарам из выполненного заказа",alternativeProductsForPostTransactionProductListDescription:"В письме будут отображаться альтернативные рекомендации к товарам из выполненного заказа",productBackInStockProductListDescription:"В письме будут отображаться товары появившиеся на складе",relatedProductsForProductBackInStockProductListDescription:"В письме будут отображаться сопутствующие рекомендации к товарам появившимся на складе",alternativeProductsForProductBackInStockProductListDescription:"В письме будут отображаться альтернативные рекомендации к товарам появившимся на складе",productStillOutOfStockProductListDescription:"В письме будут отображаться товары все еще отсутствующие на складе",relatedProductsForProductStillOutOfStockProductListDescription:"В письме будут отображаться сопутствующие рекомендации к товарам отсутствующим на складе",alternativeProductsForProductStillOutOfStockProductListDescription:"В письме будут отображаться альтернативные рекомендации к товарам отсутствующим на складе",repurchaseProductListDescription:"В письме будут отображаться товары для повторного заказа",relatedProductsForRepurchaseProductListDescription:"В письме будут отображаться сопутствующие рекомендации к товарам для повторного заказа",alternativeProductsForRepurchaseProductListDescription:"В письме будут отображаться альтернативные рекомендации к товарам для повторного заказа",nextBestOffer2RecommendationsDescription:"В письме будут отображаться товары из рекомендуемых категорий к купленным товарам"}},productListComposerModalWindow:{title:"Список товаров",cancelButton:"Отменить",applyButton:"Применить",clearListButton:"Очистить список",notAvailableLabel:"нет в наличии",searching:"Поиск...",loading:"Загрузка...",transferAllButton:"Перенести все",searchInputPlaceholder:"Название одного товара или список ID",emptySearchProductListTopText:"Название одного товара",emptySearchProductListBottomText:"или список ID через запятую",emptySelectedProductList:"Список товаров пока что пуст.",selectedProductListTitle:"Список товаров",selectedProductListDeclensions:{one:"продукт",few:"продукта",many:"продуктов"}},categoryListComposerModalWindow:{title:"Выбор категорий",cancelButton:"Отменить",applyButton:"Применить",searching:"Поиск...",loading:"Загрузка...",transferAllButton:"Перенести все",searchInputPlaceholder:"Название одной категории или список ID",emptySearchCategoryListText:"Введите название категории, чтобы отобразились результаты.",emptySelectedCategoryListText:"Список категорий пока что пуст.",selectedCategoryListTitleText:"Список категорий",selectedCategoryListDeclensions:{one:"категория",few:"категории",many:"категорий"}},topMenu:{preheaderSubjectUpdateButton:"Указать тему",preheaderSubjectUpdateButtonTooltip:"Редактировать тему и прехедер письма",preheaderSubjectUpdateModalWindow:{title:"Настройки темы",themeLabel:"Тема",themeInputPlaceholder:"Заголовок, который увидят получатели в своей почте",preheaderLabel:"Прехедер",preheaderInputPlaceholder:"Краткое описание, которое будет видно сразу после темы в списке писем",applyButton:"Применить",cancelButton:"Отмена"},toggleDeviceBar:{disabledButtonTooltip:"Включите адаптивную ширину, чтобы письмо подстраивалось под размер телефонов и планшетов."},exportMenu:{resetTemplateButton:{resetTemplateButton:"Сбросить шаблон",resetTemplateButtonTooltip:"Сбросить шаблон",modalWindow:{title:"Сброс шаблона",applyButton:"Сбросить",cancelButton:"Отмена",description:"Сброс шаблона приведёт к удалению всех текущих настроек и контента. Это действие нельзя отменить."}},transactionalDataAppSettingsModifier:{button:"Данные письма",buttonTooltip:"Настройка данных транзакционного письма",modalWindow:{title:"Данные транзакционного письма",label:"JSON",cancelButton:"Отмена",applyButton:"Применить"}},saveTemplateButton:{saveButton:"Сохранить",errorButton:"Ошибка",saveButtonTooltip:"Сохранить шаблон",errorButtonTooltip:"Ошибка сохранения шаблона",errorNotificationWindowTitle:"Ошибка сохранения",errorNotificationWindowDescription:"Не закрывайте окно! Позовите Retail Rocket."}}},emailTemplate:{emailComponent:{emptyEmailComponentText:"Товарная полка скрыта из-за недостатка товаров",emptyEmailComponentTooltip:"Товарная полка не будет отображаться у получателей письма пока в ней недостаточно товаров"},dropHere:"Бросьте сюда",movementMenu:{draggingMenu:{moving:"Перемещение"},draggingButtonTooltip:"Переместить",moveToTopButtonTooltip:"Переместить вверх",moveToBottomButtonTooltip:"Переместить вниз",copyButtonTooltip:"Дублировать",saveButtonTooltip:"Сохранить в библиотеку",disabledSaveButtonTooltip:"Для сохранения создайте секцию библиотеки компонентов",removeButtonTooltip:"Удалить",removeWindowTitle:"Удаление компонента",removeConfirmMessage:"Вы действительно хотите удалить компонент ?"},addComponentLibrarySectionItemModalWindow:{title:"Сохранение компонента",nameLabel:"Название",namePlaceholder:"Название компонента...",groupLabel:"Группа",cancelButton:"Отмена",applyButton:"Сохранить"}},emailTemplateEditors:{emptyEditorText:"Выберите любой<br>элемент письма для<br>его настройки",imageEditor:{title:"Изображение",removeWindowTitle:"Удаление элемента",removeWindowDescription:"Вы действительно хотите удалить элемент Image ?",srcLabel:"Ссылка на картинку",srcPlaceholder:"Ссылка на картинку...",altLabel:"Альтернативный текст",altPlaceholder:"Альтернативный текст...",hrefLabel:"Ссылка при клике",hrefPlaceholder:"Не обязательно",retinaLabel:"Для retina-экранов"},buttonEditor:{title:"Кнопка",removeWindowTitle:"Удаление элемента",removeWindowDescription:"Вы действительно хотите удалить элемент Button ?",inputTextLabel:"Текст",inputTextPlaceholder:"Текст кнопки...",hrefLabel:"Ссылка при клике",hrefPlaceholder:"Адрес ссылки",backgroundColorLabel:"Цвет заливки",textStyleLabel:"Стиль"},spanEditor:{title:"Текст",removeWindowTitle:"Удаление элемента",removeWindowDescription:"Вы действительно хотите удалить элемент Text ?",inputTextPlaceholder:"Текст...",textStyleLabel:"Стиль",inputHRefPlaceholder:"Адрес ссылки",minHeightLabel:"Минимальное кол-во строк"},spacerEditor:{title:"Отступ",removeWindowTitle:"Удаление элемента",removeWindowDescription:"Вы действительно хотите удалить элемент Spacer ?",paddingLabel:"Размер отступа",customPaddingLabel:"Свой",separatorLabel:"Разделитель"},unsubscribeLinkEditor:{title:"Текст отписки от рассылки",removeWindowTitle:"Удаление Текста отписки от рассылки",removeWindowDescription:"Вы действительно хотите удалить элемент Текст отписки от рассылки ?",inputTextPlaceholder:"Текст..."},emailComponentEditor:{title:"Строка",removeWindowTitle:"Удаление компонента",removeWindowDescription:"Вы действительно хотите удалить компонент ?",backgroundColorLabel:"Цвет фона"},commonEditors:{cannotBeEditedLabel:"Нельзя редактировать",otherLabel:"Остальное",contentAlign:{label:"Выравнивание",fullWidthCheckboxLabel:"На всю ширину"},border:{label:"Обводка"},borderRadius:{label:"Скругление",top:"Сверху",bottom:"Снизу",themeStyleLinkedText:"Из настроек компонента"},padding:{label:"Отступы",top:"Сверху",bottom:"Снизу",left:"Слева",right:"Справа",leftRight:"Слева, справа",topBottom:"Сверху, снизу",manualValue:"Внучную",themeStyleLinked:"Автоматически",labels:{themePaddingsSmall:"Маленький",themePaddingsMedium:"Средний",themePaddingsLarge:"Большой",themePaddingsHuge:"Гигантский",bodyPaddingsLeft:"Слева",bodyPaddingsBottom:"Снизу",bodyPaddingsRight:"Справа",bodyPaddingsTop:"Сверху",custom:"Свой"}},color:{customColorLabel:"Другой цвет",colorLabels:{none:"Нет",styleLinkedColor:"Связать со стилем",emailBackgroundColor:"Фон письма",bodyColor:"Тело письма",primaryColor:"Основной цвет",secondaryColor:"Вторичный цвет",primaryTextColor:"Текст на основном цвете",secondaryTextColor:"Текст на вторичном цвете",cardBackgroundColor:"Цвет карточек товара",buttonTextColor:"Кнопки",titleColor:"Большой заголовок",headingColor:"Заголовок",subHeadingColor:"Подзаголовок",largeTextColor:"Большой текст",normalTextColor:"Текст",descriptionTextColor:"Описание",linkColor:"Ссылка",custom:"Пользовательский"}},fontStyle:{colorLabel:"Цвет",fontStyleLabel:"Стиль",settingLabels:{title:"Большой заголовок",heading:"Заголовок",subHeading:"Подзаголовок",largeText:"Большой текст",normalText:"Текст",descriptionText:"Описание",link:"Ссылка",button:"Кнопка",custom:"Пользовательский"},customFontSettings:{textColorLabel:"Цвет текста"}}}},UIComponents:{removeConfirmModalWindow:{title:"Удаление элемента",cancelButton:"Отмена",applyButton:"Удалить"},modalWindow:{closeButton:"Закрыть"}},defaultThemeLibrary:{sections:{default:"Стандартные",defaultThemeSectionItemName:"Стандартная тема",detskiyMirSectionItemName:"Детский мир",voltSectionItemName:"220 Вольт"}},defaultComponentLibrary:{sections:{header:{sectionTitle:"Хедеры",components:{clothing:"Одежда",home:"Для дома",outdoor:"Туризм",catalog:"Каталог",description:"Полезные статьи и новости в наших соцсетях",youHave:"У вас: ",bonuses:"435 баллов"}},menu:{sectionTitle:"Меню",components:{electronics:"Электроника",sale:"Акции",toys:"Игрушки",care:"Гигиена и уход",food:"Питание",clothing:"Одежда и обувь"}},banner:{sectionTitle:"Баннеры"},content:{sectionTitle:"Контент",components:{cols:{col_1:{title:"Лучшие приложения для офиса на планшете",description:"Работа в офисе стала гораздо проще благодаря планшетам. Узнайте о лучших приложениях, которые помогут вам оставаться продуктивными, где бы вы ни находились."},col_2:{title:"Секреты цифровой безопасности: как защитить свои данные",description:"С взломами и утечками данных на повестке дня, цифровая безопасность становится всё более важной. Узнайте, как можно защитить свои личные данные и информацию в интернете."},col_3:{title:"Геймерская клавиатура: выбор и советы",description:"Если вы - геймер, выбор клавиатуры играет ключевую роль в вашем опыте игры. Узнайте, на что следует обратить внимание при выборе геймерской клавиатуры и как улучшить вашу игровую производительность."},col_4:{title:"Секрет успеха: 5 простых шагов",description:"Узнайте пять простых, но эффективных шагов, которые помогут вам достичь успеха в любой сфере жизни. Не упустите возможность узнать больше и применить эти принципы уже сегодня!"},col_5:{title:"Исследование: Влияние цвета на настроение",description:"Мы провели исследование о том, как различные цвета влияют на наше настроение и эмоциональное состояние. Узнайте больше о наших открытиях и о том, как выбор цвета может повлиять на восприятие вашего бренда."}},date:"23 Октября 2023",read:"Читать",site:"Перейти на сайт",open:"Открыть",title:"Познакомьтесь с сервисом создания электронных писем",largeText:"Мы рады представить вам наш новый продукт - сервис создания электронных писем. С помощью этого удобного и интуитивно понятного инструмента, вы сможете легко создавать красивые и профессиональные письма всего в несколько простых шагов. Наш сервис предлагает широкий выбор шаблонов и элементов дизайна, которые можно настраивать под ваши нужды, чтобы создавать уникальные и привлекательные письма для вашей аудитории."}},button:{sectionTitle:"Кнопки",components:{button:{catalog:"Перейти в каталог",account:"Личный кабинет",site:"Перейти на сайт"}}},productShelf:{title:"Продуктовые полки",components:{productShelf:{title:"Заголовок",currency:" руб.",button:"Купить",label:"Акция"}}},separator:{title:"Разделители"},footer:{sectionTitle:"Подвалы",components:{link:{electronics:"Электроника",appliances:"Техника",clothing:"Одежда",home:"Для дома",outdoor:"Туризм",food:"Продукты",here:"сюда",unsubscribe:"Отписаться",copyRight:"© 2023-2024 Company name"},text:{description:"Вы получили это письмо, потому что подписались на рассылку Company name. Вы можете отписаться, нажав ",copyRight:"© 2022 Nike"}}}}}},FD=M8({locale:"en",legacy:!1,fallbackWarn:!1,missingWarn:!1,messages:{en:J8,ru:X8},warnHtmlMessage:!1}),Q8=()=>{const{t}=FD.global;return(o,e)=>e?t(o,e):t(o)},_=Q8(),q8=async t=>{Kf().locale.value=t},tO={class:"bootstrap-styles modal fade show d-block position-absolute"},eO={class:"bootstrap-styles modal-dialog modal-dialog-centered"},oO={class:"bootstrap-styles modal-content border rounded-3 shadow","data-test":"modal-window__content"},nO={class:"bootstrap-styles modal-header p-0"},iO={class:"bootstrap-styles container-fluid border-bottom g-0"},rO={class:"bootstrap-styles d-flex justify-content-between align-items-center px-11 py-7"},sO={class:"bootstrap-styles modal-title border-0","data-test":"modal-window__header-text"},aO={class:"bootstrap-styles modal-body p-0","data-test":"modal-window__body"},lO={class:"bootstrap-styles modal-footer p-0 g-0"},uO={class:"bootstrap-styles container-fluid border-top"},dO={class:"bootstrap-styles d-flex justify-content-end py-8 px-11"},mO={class:"bootstrap-styles col-6 d-flex justify-content-end","data-test":"modal-window__footer-actions"},cO=lt({__name:"ModalWindow",props:{headerText:{}},emits:["close"],setup(t,{emit:o}){const e=t,n=o;return(s,i)=>(S(),E("div",tO,[f("div",{class:"bootstrap-styles modal-blur d-block position-fixed top-0 left-0 w-100 vh-100","data-test":"modal-window__outside",onClick:i[0]||(i[0]=r=>n("close"))}),f("div",eO,[f("div",oO,[f("div",nO,[f("div",iO,[f("div",rO,[f("h5",sO,k(e.headerText),1),Ot((S(),E("button",{type:"button","aria-label":"Close","data-bs-dismiss":"modal","data-test":"modal-window__close-button",onClick:i[1]||(i[1]=r=>n("close"))},i[2]||(i[2]=[f("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},[f("path",{d:"M3 3L13 13",stroke:"var(--gray-500)"}),f("path",{d:"M13 3L3 13",stroke:"var(--gray-500)"})],-1)]))),[[T(Ho),{title:T(_)("UIComponents.modalWindow.closeButton"),placement:"top"}]])])])]),f("div",aO,[cd(s.$slots,"body",{},void 0,!0)]),f("div",lO,[f("div",uO,[f("div",dO,[f("div",mO,[cd(s.$slots,"footer-actions",{},void 0,!0)])])])])])])]))}});const yn=mt(cO,[["__scopeId","data-v-fd7bc93f"]]),fO={},pO={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"};function CO(t,o){return S(),E("svg",pO,o[0]||(o[0]=[f("path",{d:"M8.00033 10.0002L5.17188 7.17184L6.11469 6.229L8.00033 8.11464L9.88593 6.229L10.8287 7.17184L8.00033 10.0002Z",fill:"var(--gray-500)"},null,-1)]))}const jo=mt(fO,[["render",CO]]),vb={display:"dynamic",reference:"parent",autoClose:"outside",offset:[0,5]},Nn={mounted(t,o){return new En(t,{...vb,...o.value})},updated(t,o){const e=En.getInstance(t);return e!==null&&e.hide(),new En(t,{...vb,...o.value})},unmounted(t){const o=En.getInstance(t);o!==null&&o.dispose()}};const hO={},gO={class:"bootstrap-styles d-flex justify-content-center align-items-center icon-fill icon-loading"};function FO(t,o){return S(),E("i",gO,o[0]||(o[0]=[f("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},[f("path",{d:"M12.2427 3.75736L11.2998 4.70017C10.4553 3.85567 9.28867 3.33333 8 3.33333C5.42267 3.33333 3.33333 5.42267 3.33333 8C3.33333 10.5773 5.42267 12.6667 8 12.6667C10.5773 12.6667 12.6667 10.5773 12.6667 8H14C14 11.3137 11.3137 14 8 14C4.68629 14 2 11.3137 2 8C2 4.68629 4.68629 2 8 2C9.65687 2 11.1569 2.67157 12.2427 3.75736Z",fill:"var(--gray-500)"})],-1)]))}const Jn=mt(hO,[["render",FO],["__scopeId","data-v-bdca96e4"]]);const yO={},SO={class:"bootstrap-styles d-flex justify-content-center align-items-center icon-fill icon-loading"};function bO(t,o){return S(),E("i",SO,o[0]||(o[0]=[f("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"17",viewBox:"0 0 16 16",fill:"none"},[f("path",{d:"M12.2427 3.75736L11.2998 4.70017C10.4553 3.85567 9.28867 3.33333 8 3.33333C5.42267 3.33333 3.33333 5.42267 3.33333 8C3.33333 10.5773 5.42267 12.6667 8 12.6667C10.5773 12.6667 12.6667 10.5773 12.6667 8H14C14 11.3137 11.3137 14 8 14C4.68629 14 2 11.3137 2 8C2 4.68629 4.68629 2 8 2C9.65687 2 11.1569 2.67157 12.2427 3.75736Z",fill:"white"})],-1)]))}const lr=mt(yO,[["render",bO],["__scopeId","data-v-5227279d"]]),TO={class:"bootstrap-styles fw-bold mb-5"},BO={class:"bootstrap-styles col-12 mb-13"},VO={class:"bootstrap-styles bg-color-input border rounded-2 py-1 px-3 d-flex"},LO=["placeholder","disabled"],DO={class:"bootstrap-styles fw-bold mb-5"},vO={class:"bootstrap-styles dropdown border rounded-2 bg-color-input"},RO=["disabled"],xO={class:"bootstrap-styles d-flex justify-content-center align-items-center"},_O={class:"bootstrap-styles dropdown-menu w-100 rounded-2","aria-labelledby":"dropdownMenuSectionSelect"},IO=["onClick"],EO={class:"bootstrap-styles d-block py-1 px-3 text-decoration-none text-reset cursor-pointer"},PO=lt({__name:"AddThemeLibrarySectionItemModalWindow",props:{deps:{},themeSettings:{}},emits:["themeSectionItemAdded","cancel"],setup(t,{emit:o}){const e=t,n=Et({themeLibrarySections:[],sectionItemName:"",selectedParentSectionId:"",selectedParentSectionName:"",isDropdownMenuShown:!1,isLoadedThemeLibrarySectionList:!0,isLoaded:!0});e.deps.getThemeLibrarySections().then(a=>{n.themeLibrarySections=a,n.selectedParentSectionId=a[0].sectionId,n.selectedParentSectionName=a[0].sectionName,n.isLoadedThemeLibrarySectionList=!1});const s=o,i=async()=>{n.sectionItemName.length&&(n.isLoaded=!1,await e.deps.addThemeSectionItem({sectionItemName:n.sectionItemName,parentSectionId:n.selectedParentSectionId,theme:e.themeSettings}),s("themeSectionItemAdded"))},r=()=>{s("cancel")};return(a,d)=>(S(),st(yn,{class:"save-theme-modal-window",headerText:T(_)("asideMenu.themeLibrary.addThemeLibrarySectionItemModalWindow.title"),onClose:d[3]||(d[3]=()=>r())},{body:le(()=>[P(Jn,{class:at(["bootstrap-styles position-absolute top-50 start-50",{invisible:!n.isLoadedThemeLibrarySectionList}])},null,8,["class"]),f("div",{class:at(["bootstrap-styles px-11 py-7 text-start",{invisible:n.isLoadedThemeLibrarySectionList}])},[f("label",TO,k(T(_)("asideMenu.themeLibrary.addThemeLibrarySectionItemModalWindow.inputNameLabel")),1),f("div",BO,[f("div",VO,[Ot(f("input",{"onUpdate:modelValue":d[0]||(d[0]=u=>n.sectionItemName=u),type:"text",class:"bootstrap-styles w-100",placeholder:T(_)("asideMenu.themeLibrary.addThemeLibrarySectionItemModalWindow.inputNamePlaceholder"),disabled:!n.isLoaded},null,8,LO),[[Pn,n.sectionItemName]])])]),f("div",null,[f("label",DO,k(T(_)("asideMenu.themeLibrary.addThemeLibrarySectionItemModalWindow.inputGroupLabel")),1),f("div",vO,[Ot((S(),E("button",{id:"dropdownMenuSectionSelect",class:"bootstrap-styles w-100 d-flex justify-content-between align-items-center py-1 px-3",type:"button","data-bs-toggle":"dropdown","aria-expanded":"false",disabled:!n.isLoaded},[f("span",null,k(n.selectedParentSectionName),1),f("i",xO,[P(jo)])],8,RO)),[[T(Nn)]]),f("ul",_O,[(S(!0),E(Lt,null,ge(n.themeLibrarySections,u=>(S(),E("li",{key:u.sectionId,class:"bootstrap-styles dropdown-item p-0",onClick:()=>{n.selectedParentSectionId=u.sectionId,n.selectedParentSectionName=u.sectionName}},[f("span",EO,k(u.sectionName),1)],8,IO))),128))])])])],2)]),"footer-actions":le(()=>[f("button",{class:at([{button__locked:!n.isLoaded},"modal-footer__button bootstrap-styles d-flex justify-content-center align-center py-1 px-3 me-3 rounded-2 bg-blue-selected button__hover-blue-100 text-color-selected"]),onClick:d[1]||(d[1]=De(u=>r(),["stop"]))},k(T(_)("asideMenu.themeLibrary.addThemeLibrarySectionItemModalWindow.cancelButton")),3),f("button",{class:"modal-footer__button bootstrap-styles d-flex justify-content-center align-center py-1 px-3 rounded-2 text-white cursor-pointer bg-color-selected button__hover-blue-400",onClick:d[2]||(d[2]=De(u=>i(),["stop"]))},[f("span",{class:at({"bootstrap-styles invisible":!n.isLoaded})},k(T(_)("asideMenu.themeLibrary.addThemeLibrarySectionItemModalWindow.applyButton")),3),P(lr,{class:at(["bootstrap-styles position-absolute",{invisible:n.isLoaded}])},null,8,["class"])])]),_:1},8,["headerText"]))}}),NO={class:"bootstrap-styles fw-bold mb-5"},wO={class:"bootstrap-styles bg-color-input border rounded-2 py-1 px-3 d-flex"},AO=["placeholder","disabled"],WO=lt({__name:"CreateThemeLibrarySectionModalWindow",props:{deps:{}},emits:["onCanceled","onThemeLibrarySectionCreated"],setup(t,{emit:o}){const e=t,n=Et({isDropdownMenuShown:!1,sectionName:"",isLoaded:!0}),s=async()=>{n.sectionName.length!==0&&(n.isLoaded=!1,await e.deps.createThemeLibrarySection({sectionName:n.sectionName}),r("onThemeLibrarySectionCreated"))},i=()=>{r("onCanceled")},r=o;return(a,d)=>(S(),st(yn,{headerText:T(_)("asideMenu.themeLibrary.createThemeLibrarySectionModalWindow.title"),onClose:d[4]||(d[4]=()=>i())},{body:le(()=>[f("div",{class:"bootstrap-styles px-11 py-7 text-start",onClick:d[1]||(d[1]=u=>n.isDropdownMenuShown=!1)},[f("label",NO,k(T(_)("asideMenu.themeLibrary.createThemeLibrarySectionModalWindow.inputLabel")),1),f("div",wO,[Ot(f("input",{"onUpdate:modelValue":d[0]||(d[0]=u=>n.sectionName=u),type:"text",class:"bootstrap-styles w-100",placeholder:T(_)("asideMenu.themeLibrary.createThemeLibrarySectionModalWindow.inputPlaceholder"),disabled:!n.isLoaded},null,8,AO),[[Pn,n.sectionName]])])])]),"footer-actions":le(()=>[f("button",{class:at([{button__locked:!n.isLoaded},"modal-footer__button bootstrap-styles d-flex justify-content-center align-center py-1 px-3 me-3 rounded-2 bg-blue-selected button__hover-blue-100 text-color-selected"]),onClick:d[2]||(d[2]=De(u=>i(),["stop"]))},k(T(_)("asideMenu.themeLibrary.createThemeLibrarySectionModalWindow.cancelButton")),3),f("button",{class:"modal-footer__button bootstrap-styles d-flex justify-content-center align-center py-1 px-3 rounded-2 text-white cursor-pointer bg-color-selected button__hover-blue-400",onClick:d[3]||(d[3]=De(u=>s(),["stop"]))},[f("span",{class:at({"bootstrap-styles invisible":!n.isLoaded})},k(T(_)("asideMenu.themeLibrary.createThemeLibrarySectionModalWindow.applyButton")),3),P(lr,{class:at(["bootstrap-styles position-absolute",{invisible:n.isLoaded}])},null,8,["class"])])]),_:1},8,["headerText"]))}}),kO={},MO={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"};function OO(t,o){return S(),E("svg",MO,o[0]||(o[0]=[f("path",{d:"M2 8H14",stroke:"var(--blue-400)","stroke-width":"1.5"},null,-1),f("path",{d:"M8 2L8 14",stroke:"var(--blue-400)","stroke-width":"1.5"},null,-1)]))}const Yf=mt(kO,[["render",OO]]),HO={},$O={xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 12 12",fill:"none"};function UO(t,o){return S(),E("svg",$O,o[0]||(o[0]=[f("path",{d:"M3.21879 5.33327H11.3332V6.6666H3.21879L6.79477 10.2425L5.85197 11.1853L0.666504 5.99993L5.85197 0.814453L6.79477 1.75726L3.21879 5.33327Z",fill:"var(--black)"},null,-1)]))}const jO=mt(HO,[["render",UO]]),zO={class:"bootstrap-styles prev-menu d-flex align-items-center justify-content-start gap-2 mb-13 text-hover__blue"},GO={class:"bootstrap-styles d-flex justify-content-center align-items-center icon-hover"},KO={class:"bootstrap-styles fs-6 fw-bold text-start"},Zf=lt({__name:"PrevMenuButton",props:{title:{}},setup(t){const o=t;return(e,n)=>(S(),E("button",zO,[f("i",GO,[P(jO)]),f("span",KO,k(o.title),1)]))}}),Jh=Math.min,Vl=Math.max,ef=Math.round,ic=Math.floor,ks=t=>({x:t,y:t});function YO(t,o){return typeof t=="function"?t(o):t}function lg(t){return t.split("-")[0]}function yD(t){return t.split("-")[1]}function ZO(t){return t==="x"?"y":"x"}function JO(t){return t==="y"?"height":"width"}function ug(t){return["top","bottom"].includes(lg(t))?"y":"x"}function XO(t){return ZO(ug(t))}function SD(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Rb(t,o,e){let{reference:n,floating:s}=t;const i=ug(o),r=XO(o),a=JO(r),d=lg(o),u=i==="y",c=n.x+n.width/2-s.width/2,p=n.y+n.height/2-s.height/2,h=n[a]/2-s[a]/2;let g;switch(d){case"top":g={x:c,y:n.y-s.height};break;case"bottom":g={x:c,y:n.y+n.height};break;case"right":g={x:n.x+n.width,y:p};break;case"left":g={x:n.x-s.width,y:p};break;default:g={x:n.x,y:n.y}}switch(yD(o)){case"start":g[r]-=h*(e&&u?-1:1);break;case"end":g[r]+=h*(e&&u?-1:1);break}return g}const QO=async(t,o,e)=>{const{placement:n="bottom",strategy:s="absolute",middleware:i=[],platform:r}=e,a=i.filter(Boolean),d=await(r.isRTL==null?void 0:r.isRTL(o));let u=await r.getElementRects({reference:t,floating:o,strategy:s}),{x:c,y:p}=Rb(u,n,d),h=n,g={},y=0;for(let b=0;b<a.length;b++){const{name:v,fn:D}=a[b],{x:I,y:R,data:L,reset:N}=await D({x:c,y:p,initialPlacement:n,placement:h,strategy:s,middlewareData:g,rects:u,platform:r,elements:{reference:t,floating:o}});c=I??c,p=R??p,g={...g,[v]:{...g[v],...L}},N&&y<=50&&(y++,typeof N=="object"&&(N.placement&&(h=N.placement),N.rects&&(u=N.rects===!0?await r.getElementRects({reference:t,floating:o,strategy:s}):N.rects),{x:c,y:p}=Rb(u,h,d)),b=-1)}return{x:c,y:p,placement:h,strategy:s,middlewareData:g}};async function qO(t,o){const{placement:e,platform:n,elements:s}=t,i=await(n.isRTL==null?void 0:n.isRTL(s.floating)),r=lg(e),a=yD(e),d=ug(e)==="y",u=["left","top"].includes(r)?-1:1,c=i&&d?-1:1,p=YO(o,t);let{mainAxis:h,crossAxis:g,alignmentAxis:y}=typeof p=="number"?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...p};return a&&typeof y=="number"&&(g=a==="end"?y*-1:y),d?{x:g*c,y:h*u}:{x:h*u,y:g*c}}const of=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(o){var e,n;const{x:s,y:i,placement:r,middlewareData:a}=o,d=await qO(o,t);return r===((e=a.offset)==null?void 0:e.placement)&&(n=a.arrow)!=null&&n.alignmentOffset?{}:{x:s+d.x,y:i+d.y,data:{...d,placement:r}}}}};function Ur(t){return dg(t)?(t.nodeName||"").toLowerCase():"#document"}function Gn(t){var o;return(t==null||(o=t.ownerDocument)==null?void 0:o.defaultView)||window}function Zr(t){var o;return(o=(dg(t)?t.ownerDocument:t.document)||window.document)==null?void 0:o.documentElement}function dg(t){return t instanceof Node||t instanceof Gn(t).Node}function jr(t){return t instanceof Element||t instanceof Gn(t).Element}function rr(t){return t instanceof HTMLElement||t instanceof Gn(t).HTMLElement}function xb(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof Gn(t).ShadowRoot}function Od(t){const{overflow:o,overflowX:e,overflowY:n,display:s}=gi(t);return/auto|scroll|overlay|hidden|clip/.test(o+n+e)&&!["inline","contents"].includes(s)}function t9(t){return["table","td","th"].includes(Ur(t))}function mg(t){const o=cg(),e=gi(t);return e.transform!=="none"||e.perspective!=="none"||(e.containerType?e.containerType!=="normal":!1)||!o&&(e.backdropFilter?e.backdropFilter!=="none":!1)||!o&&(e.filter?e.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(e.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(e.contain||"").includes(n))}function e9(t){let o=Hl(t);for(;rr(o)&&!Jf(o);){if(mg(o))return o;o=Hl(o)}return null}function cg(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Jf(t){return["html","body","#document"].includes(Ur(t))}function gi(t){return Gn(t).getComputedStyle(t)}function Xf(t){return jr(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Hl(t){if(Ur(t)==="html")return t;const o=t.assignedSlot||t.parentNode||xb(t)&&t.host||Zr(t);return xb(o)?o.host:o}function bD(t){const o=Hl(t);return Jf(o)?t.ownerDocument?t.ownerDocument.body:t.body:rr(o)&&Od(o)?o:bD(o)}function yd(t,o,e){var n;o===void 0&&(o=[]),e===void 0&&(e=!0);const s=bD(t),i=s===((n=t.ownerDocument)==null?void 0:n.body),r=Gn(s);return i?o.concat(r,r.visualViewport||[],Od(s)?s:[],r.frameElement&&e?yd(r.frameElement):[]):o.concat(s,yd(s,[],e))}function TD(t){const o=gi(t);let e=parseFloat(o.width)||0,n=parseFloat(o.height)||0;const s=rr(t),i=s?t.offsetWidth:e,r=s?t.offsetHeight:n,a=ef(e)!==i||ef(n)!==r;return a&&(e=i,n=r),{width:e,height:n,$:a}}function fg(t){return jr(t)?t:t.contextElement}function Ll(t){const o=fg(t);if(!rr(o))return ks(1);const e=o.getBoundingClientRect(),{width:n,height:s,$:i}=TD(o);let r=(i?ef(e.width):e.width)/n,a=(i?ef(e.height):e.height)/s;return(!r||!Number.isFinite(r))&&(r=1),(!a||!Number.isFinite(a))&&(a=1),{x:r,y:a}}const o9=ks(0);function BD(t){const o=Gn(t);return!cg()||!o.visualViewport?o9:{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}}function n9(t,o,e){return o===void 0&&(o=!1),!e||o&&e!==Gn(t)?!1:o}function xa(t,o,e,n){o===void 0&&(o=!1),e===void 0&&(e=!1);const s=t.getBoundingClientRect(),i=fg(t);let r=ks(1);o&&(n?jr(n)&&(r=Ll(n)):r=Ll(t));const a=n9(i,e,n)?BD(i):ks(0);let d=(s.left+a.x)/r.x,u=(s.top+a.y)/r.y,c=s.width/r.x,p=s.height/r.y;if(i){const h=Gn(i),g=n&&jr(n)?Gn(n):n;let y=h,b=y.frameElement;for(;b&&n&&g!==y;){const v=Ll(b),D=b.getBoundingClientRect(),I=gi(b),R=D.left+(b.clientLeft+parseFloat(I.paddingLeft))*v.x,L=D.top+(b.clientTop+parseFloat(I.paddingTop))*v.y;d*=v.x,u*=v.y,c*=v.x,p*=v.y,d+=R,u+=L,y=Gn(b),b=y.frameElement}}return SD({width:c,height:p,x:d,y:u})}const i9=[":popover-open",":modal"];function VD(t){return i9.some(o=>{try{return t.matches(o)}catch{return!1}})}function r9(t){let{elements:o,rect:e,offsetParent:n,strategy:s}=t;const i=s==="fixed",r=Zr(n),a=o?VD(o.floating):!1;if(n===r||a&&i)return e;let d={scrollLeft:0,scrollTop:0},u=ks(1);const c=ks(0),p=rr(n);if((p||!p&&!i)&&((Ur(n)!=="body"||Od(r))&&(d=Xf(n)),rr(n))){const h=xa(n);u=Ll(n),c.x=h.x+n.clientLeft,c.y=h.y+n.clientTop}return{width:e.width*u.x,height:e.height*u.y,x:e.x*u.x-d.scrollLeft*u.x+c.x,y:e.y*u.y-d.scrollTop*u.y+c.y}}function s9(t){return Array.from(t.getClientRects())}function LD(t){return xa(Zr(t)).left+Xf(t).scrollLeft}function a9(t){const o=Zr(t),e=Xf(t),n=t.ownerDocument.body,s=Vl(o.scrollWidth,o.clientWidth,n.scrollWidth,n.clientWidth),i=Vl(o.scrollHeight,o.clientHeight,n.scrollHeight,n.clientHeight);let r=-e.scrollLeft+LD(t);const a=-e.scrollTop;return gi(n).direction==="rtl"&&(r+=Vl(o.clientWidth,n.clientWidth)-s),{width:s,height:i,x:r,y:a}}function l9(t,o){const e=Gn(t),n=Zr(t),s=e.visualViewport;let i=n.clientWidth,r=n.clientHeight,a=0,d=0;if(s){i=s.width,r=s.height;const u=cg();(!u||u&&o==="fixed")&&(a=s.offsetLeft,d=s.offsetTop)}return{width:i,height:r,x:a,y:d}}function u9(t,o){const e=xa(t,!0,o==="fixed"),n=e.top+t.clientTop,s=e.left+t.clientLeft,i=rr(t)?Ll(t):ks(1),r=t.clientWidth*i.x,a=t.clientHeight*i.y,d=s*i.x,u=n*i.y;return{width:r,height:a,x:d,y:u}}function _b(t,o,e){let n;if(o==="viewport")n=l9(t,e);else if(o==="document")n=a9(Zr(t));else if(jr(o))n=u9(o,e);else{const s=BD(t);n={...o,x:o.x-s.x,y:o.y-s.y}}return SD(n)}function DD(t,o){const e=Hl(t);return e===o||!jr(e)||Jf(e)?!1:gi(e).position==="fixed"||DD(e,o)}function d9(t,o){const e=o.get(t);if(e)return e;let n=yd(t,[],!1).filter(a=>jr(a)&&Ur(a)!=="body"),s=null;const i=gi(t).position==="fixed";let r=i?Hl(t):t;for(;jr(r)&&!Jf(r);){const a=gi(r),d=mg(r);!d&&a.position==="fixed"&&(s=null),(i?!d&&!s:!d&&a.position==="static"&&!!s&&["absolute","fixed"].includes(s.position)||Od(r)&&!d&&DD(t,r))?n=n.filter(c=>c!==r):s=a,r=Hl(r)}return o.set(t,n),n}function m9(t){let{element:o,boundary:e,rootBoundary:n,strategy:s}=t;const r=[...e==="clippingAncestors"?d9(o,this._c):[].concat(e),n],a=r[0],d=r.reduce((u,c)=>{const p=_b(o,c,s);return u.top=Vl(p.top,u.top),u.right=Jh(p.right,u.right),u.bottom=Jh(p.bottom,u.bottom),u.left=Vl(p.left,u.left),u},_b(o,a,s));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function c9(t){const{width:o,height:e}=TD(t);return{width:o,height:e}}function f9(t,o,e){const n=rr(o),s=Zr(o),i=e==="fixed",r=xa(t,!0,i,o);let a={scrollLeft:0,scrollTop:0};const d=ks(0);if(n||!n&&!i)if((Ur(o)!=="body"||Od(s))&&(a=Xf(o)),n){const p=xa(o,!0,i,o);d.x=p.x+o.clientLeft,d.y=p.y+o.clientTop}else s&&(d.x=LD(s));const u=r.left+a.scrollLeft-d.x,c=r.top+a.scrollTop-d.y;return{x:u,y:c,width:r.width,height:r.height}}function Ib(t,o){return!rr(t)||gi(t).position==="fixed"?null:o?o(t):t.offsetParent}function vD(t,o){const e=Gn(t);if(!rr(t)||VD(t))return e;let n=Ib(t,o);for(;n&&t9(n)&&gi(n).position==="static";)n=Ib(n,o);return n&&(Ur(n)==="html"||Ur(n)==="body"&&gi(n).position==="static"&&!mg(n))?e:n||e9(t)||e}const p9=async function(t){const o=this.getOffsetParent||vD,e=this.getDimensions;return{reference:f9(t.reference,await o(t.floating),t.strategy),floating:{x:0,y:0,...await e(t.floating)}}};function C9(t){return gi(t).direction==="rtl"}const h9={convertOffsetParentRelativeRectToViewportRelativeRect:r9,getDocumentElement:Zr,getClippingRect:m9,getOffsetParent:vD,getElementRects:p9,getClientRects:s9,getDimensions:c9,getScale:Ll,isElement:jr,isRTL:C9};function g9(t,o){let e=null,n;const s=Zr(t);function i(){var a;clearTimeout(n),(a=e)==null||a.disconnect(),e=null}function r(a,d){a===void 0&&(a=!1),d===void 0&&(d=1),i();const{left:u,top:c,width:p,height:h}=t.getBoundingClientRect();if(a||o(),!p||!h)return;const g=ic(c),y=ic(s.clientWidth-(u+p)),b=ic(s.clientHeight-(c+h)),v=ic(u),I={rootMargin:-g+"px "+-y+"px "+-b+"px "+-v+"px",threshold:Vl(0,Jh(1,d))||1};let R=!0;function L(N){const W=N[0].intersectionRatio;if(W!==d){if(!R)return r();W?r(!1,W):n=setTimeout(()=>{r(!1,1e-7)},100)}R=!1}try{e=new IntersectionObserver(L,{...I,root:s.ownerDocument})}catch{e=new IntersectionObserver(L,I)}e.observe(t)}return r(!0),i}function nf(t,o,e,n){n===void 0&&(n={});const{ancestorScroll:s=!0,ancestorResize:i=!0,elementResize:r=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:d=!1}=n,u=fg(t),c=s||i?[...u?yd(u):[],...yd(o)]:[];c.forEach(D=>{s&&D.addEventListener("scroll",e,{passive:!0}),i&&D.addEventListener("resize",e)});const p=u&&a?g9(u,e):null;let h=-1,g=null;r&&(g=new ResizeObserver(D=>{let[I]=D;I&&I.target===u&&g&&(g.unobserve(o),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var R;(R=g)==null||R.observe(o)})),e()}),u&&!d&&g.observe(u),g.observe(o));let y,b=d?xa(t):null;d&&v();function v(){const D=xa(t);b&&(D.x!==b.x||D.y!==b.y||D.width!==b.width||D.height!==b.height)&&e(),b=D,y=requestAnimationFrame(v)}return e(),()=>{var D;c.forEach(I=>{s&&I.removeEventListener("scroll",e),i&&I.removeEventListener("resize",e)}),p==null||p(),(D=g)==null||D.disconnect(),g=null,d&&cancelAnimationFrame(y)}}const F9=(t,o,e)=>{const n=new Map,s={platform:h9,...e},i={...s.platform,_c:n};return QO(t,o,{...s,platform:i})};function y9(t){return t!=null&&typeof t=="object"&&"$el"in t}function Eb(t){if(y9(t)){const o=t.$el;return dg(o)&&Ur(o)==="#comment"?null:o}return t}function RD(t){return typeof window>"u"?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function Pb(t,o){const e=RD(t);return Math.round(o*e)/e}function rf(t,o,e){e===void 0&&(e={});const n=e.whileElementsMounted,s=Yt(()=>{var O;return(O=T(e.open))!=null?O:!0}),i=Yt(()=>T(e.middleware)),r=Yt(()=>{var O;return(O=T(e.placement))!=null?O:"bottom"}),a=Yt(()=>{var O;return(O=T(e.strategy))!=null?O:"absolute"}),d=Yt(()=>{var O;return(O=T(e.transform))!=null?O:!0}),u=Yt(()=>Eb(t.value)),c=Yt(()=>Eb(o.value)),p=Te(0),h=Te(0),g=Te(a.value),y=Te(r.value),b=qi({}),v=Te(!1),D=Yt(()=>{const O={position:g.value,left:"0",top:"0"};if(!c.value)return O;const X=Pb(c.value,p.value),H=Pb(c.value,h.value);return d.value?{...O,transform:"translate("+X+"px, "+H+"px)",...RD(c.value)>=1.5&&{willChange:"transform"}}:{position:g.value,left:X+"px",top:H+"px"}});let I;function R(){u.value==null||c.value==null||F9(u.value,c.value,{middleware:i.value,placement:r.value,strategy:a.value}).then(O=>{p.value=O.x,h.value=O.y,g.value=O.strategy,y.value=O.placement,b.value=O.middlewareData,v.value=!0})}function L(){typeof I=="function"&&(I(),I=void 0)}function N(){if(L(),n===void 0){R();return}if(u.value!=null&&c.value!=null){I=n(u.value,c.value,R);return}}function W(){s.value||(v.value=!1)}return qe([i,r,a],R,{flush:"sync"}),qe([u,c],N,{flush:"sync"}),qe(s,W,{flush:"sync"}),p0()&&C0(L),{x:pa(p),y:pa(h),strategy:pa(g),placement:pa(y),middlewareData:pa(b),isPositioned:pa(v),floatingStyles:D,update:R}}const S9={},b9={class:"icon-hover",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function T9(t,o){return S(),E("svg",b9,o[0]||(o[0]=[f("path",{d:"M10.4853 6.38419L9.54247 5.44138L3.33333 11.6505V12.5933H4.27614L10.4853 6.38419ZM11.4281 5.44138L12.3709 4.49858L11.4281 3.55576L10.4853 4.49858L11.4281 5.44138ZM4.82843 13.9267H2V11.0982L10.9567 2.14155C11.2171 1.8812 11.6391 1.8812 11.8995 2.14155L13.7851 4.02717C14.0455 4.28752 14.0455 4.70963 13.7851 4.96998L4.82843 13.9267Z",fill:"var(--gray-500)"},null,-1)]))}const xD=mt(S9,[["render",T9]]),B9={},V9={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function L9(t,o){return S(),E("svg",V9,o[0]||(o[0]=[f("path",{d:"M2 8C2 8.55 2.45 9 3 9C3.55 9 4 8.55 4 8C4 7.45 3.55 7 3 7C2.45 7 2 7.45 2 8ZM12 8C12 8.55 12.45 9 13 9C13.55 9 14 8.55 14 8C14 7.45 13.55 7 13 7C12.45 7 12 7.45 12 8ZM7 8C7 8.55 7.45 9 8 9C8.55 9 9 8.55 9 8C9 7.45 8.55 7 8 7C7.45 7 7 7.45 7 8Z",fill:"var(--gray-500)"},null,-1)]))}const _D=mt(B9,[["render",L9]]),D9={},v9={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"};function R9(t,o){return S(),E("svg",v9,o[0]||(o[0]=[ar('<path d="M3 3.3335V14.6668H13V3.3335H3Z" stroke="var(--red-400)" stroke-width="1.25"></path><path d="M6.66675 6.6665V10.9998" stroke="var(--red-400)" stroke-width="1.25"></path><path d="M9.33325 6.6665V10.9998" stroke="var(--red-400)" stroke-width="1.25"></path><path d="M1.33325 3.3335H14.6666" stroke="var(--red-400)" stroke-width="1.25"></path><path d="M5.33325 3.3335L6.42959 1.3335H9.59229L10.6666 3.3335H5.33325Z" stroke="var(--red-400)" stroke-width="1.25"></path>',5)]))}const Hd=mt(D9,[["render",R9]]),x9={class:"bootstrap-styles px-11 py-7 text-start"},Jr=lt({__name:"RemoveConfirmModalWindow",props:{headerText:{}},emits:["cancel","confirmed"],setup(t,{emit:o}){const e=t,n=()=>{s("cancel")},s=o;return(i,r)=>(S(),st(yn,{headerText:e.headerText,class:"remove-element-confirm-modal-window",onClose:r[2]||(r[2]=()=>n())},{body:le(()=>[f("div",x9,[cd(i.$slots,"body-content")])]),"footer-actions":le(()=>[f("button",{class:"modal-footer__button bootstrap-styles d-flex justify-content-center align-center py-1 px-3 me-3 rounded-2 bg-blue-selected button__hover-blue-100 text-color-selected",onClick:r[0]||(r[0]=De(a=>n(),["stop"]))},k(T(_)("UIComponents.removeConfirmModalWindow.cancelButton")),1),f("button",{class:"modal-footer__button bootstrap-styles d-flex justify-content-center align-center py-1 px-3 rounded-2 text-white cursor-pointer remove-element-confirm__button",onClick:r[1]||(r[1]=De(a=>s("confirmed"),["stop"]))},k(T(_)("UIComponents.removeConfirmModalWindow.applyButton")),1)]),_:3},8,["headerText"]))}});const _9=lt({__name:"DeleteThemeLibrarySectionItemModalWindow",props:{deps:{},sectionItemId:{}},emits:["cancel","confirmed"],setup(t,{emit:o}){const e=t,n=o,s=async()=>{await e.deps.deleteThemeLibrarySectionItem({sectionItemId:e.sectionItemId}),n("confirmed")};return(i,r)=>(S(),st(Jr,{headerText:T(_)("asideMenu.themeLibrary.themeSection.themeSectionItem.deleteThemeLibrarySectionItemModalWindow.title"),onCancel:r[0]||(r[0]=a=>n("cancel")),onConfirmed:r[1]||(r[1]=a=>s())},{"body-content":le(()=>[je(k(T(_)("asideMenu.themeLibrary.themeSection.themeSectionItem.deleteThemeLibrarySectionItemModalWindow.description")),1)]),_:1},8,["headerText"]))}}),I9={class:"bootstrap-styles fw-bold mb-5"},E9={class:"bootstrap-styles col-12 mb-13"},P9={class:"bootstrap-styles bg-color-input border rounded-2 py-1 px-3 d-flex"},N9=["placeholder"],w9={class:"bootstrap-styles fw-bold mb-5"},A9={class:"bootstrap-styles dropdown border rounded-2 bg-color-input"},W9={id:"dropdownMenuSectionSelect",class:"bootstrap-styles w-100 d-flex justify-content-between align-items-center py-1 px-3",type:"button","data-bs-toggle":"dropdown","aria-expanded":"false"},k9={class:"bootstrap-styles d-flex justify-content-center align-items-center"},M9={class:"bootstrap-styles dropdown-menu w-100 rounded-2","aria-labelledby":"dropdownMenuSectionSelect"},O9=["onClick"],H9={class:"bootstrap-styles d-block py-1 px-3 text-decoration-none text-reset cursor-pointer"},$9=lt({__name:"EditThemeLibrarySectionItemModalWindow",props:{deps:{},initialThemeSection:{},themeName:{},themeId:{}},emits:["cancel","onThemeLibrarySectionItemUpdated"],setup(t,{emit:o}){const e=t,n=Et({isLoadedThemeLibrarySectionList:!0,themeLibrarySections:[],sectionItemName:e.themeName,selectedSectionId:e.initialThemeSection.sectionId,selectedSectionName:e.initialThemeSection.sectionName});e.deps.getThemeLibrarySections().then(a=>{n.themeLibrarySections=a,n.isLoadedThemeLibrarySectionList=!1});const s=async()=>{n.sectionItemName.length&&(await e.deps.updateThemeLibrarySectionItem({sectionItemId:e.themeId,updatedParentSectionId:n.selectedSectionId,updatedSectionItemName:n.sectionItemName}),r("onThemeLibrarySectionItemUpdated"))},i=()=>{r("cancel")},r=o;return(a,d)=>(S(),st(yn,{class:"edit-theme-modal-window",headerText:T(_)("asideMenu.themeLibrary.themeSection.themeSectionItem.editThemeLibrarySectionModalWindow.title"),onClose:d[2]||(d[2]=()=>i())},{body:le(()=>[P(Jn,{class:at(["bootstrap-styles position-absolute top-50 start-50",{invisible:!n.isLoadedThemeLibrarySectionList}])},null,8,["class"]),f("div",{class:at(["bootstrap-styles px-11 py-7 text-start",{invisible:n.isLoadedThemeLibrarySectionList}])},[f("label",I9,k(T(_)("asideMenu.themeLibrary.themeSection.themeSectionItem.editThemeLibrarySectionModalWindow.themeNameLabel")),1),f("div",E9,[f("div",P9,[Ot(f("input",{"onUpdate:modelValue":d[0]||(d[0]=u=>n.sectionItemName=u),type:"text",class:"bootstrap-styles w-100",placeholder:T(_)("asideMenu.themeLibrary.themeSection.themeSectionItem.editThemeLibrarySectionModalWindow.themeNamePlaceholder")},null,8,N9),[[Pn,n.sectionItemName]])])]),f("div",null,[f("label",w9,k(T(_)("asideMenu.themeLibrary.themeSection.themeSectionItem.editThemeLibrarySectionModalWindow.themeSectionLabel")),1),f("div",A9,[Ot((S(),E("button",W9,[f("span",null,k(n.selectedSectionName),1),f("i",k9,[P(jo)])])),[[T(Nn)]]),f("ul",M9,[(S(!0),E(Lt,null,ge(n.themeLibrarySections,u=>(S(),E("li",{key:u.sectionName,class:"bootstrap-styles dropdown-item p-0",onClick:()=>{n.selectedSectionId=u.sectionId,n.selectedSectionName=u.sectionName}},[f("span",H9,k(u.sectionName),1)],8,O9))),128))])])])],2)]),"footer-actions":le(()=>[f("button",{class:"modal-footer__button bootstrap-styles d-flex justify-content-center align-center py-1 px-3 me-3 rounded-2 bg-blue-selected button__hover-blue-100 text-color-selected",onClick:d[1]||(d[1]=De(u=>i(),["stop"]))},k(T(_)("asideMenu.themeLibrary.themeSection.themeSectionItem.editThemeLibrarySectionModalWindow.cancelButton")),1),f("button",{class:"modal-footer__button bootstrap-styles d-flex justify-content-center align-center py-1 px-3 rounded-2 text-white cursor-pointer bg-color-selected button__hover-blue-400",onClick:De(s,["stop"])},k(T(_)("asideMenu.themeLibrary.themeSection.themeSectionItem.editThemeLibrarySectionModalWindow.applyButton")),1)]),_:1},8,["headerText"]))}}),U9={class:"bootstrap-styles input__settings-text__item__content"},j9={class:"overflow-hidden"},z9={class:"bootstrap-styles mb-5"},G9={class:"bootstrap-styles mb-5 text-nowrap"},K9={class:"bootstrap-styles preview-theme__label input__settings-text__item__title border-top bg-white pt-1 pb-3 px-3 d-flex justify-content-between align-items-center"},Y9={class:"preview-theme__context"},Z9={class:"bootstrap-styles p-14"},J9={class:"bootstrap-styles me-1"},X9={class:"bootstrap-styles me-1"},Q9=lt({__name:"CustomThemeSectionItem",props:{deps:{},theme:{},themeSection:{}},emits:["back","themeSectionItemRemoved","onThemeLibrarySectionItemUpdated","selectedThemeSettings"],setup(t,{emit:o}){const e=t,n=Et({isRemoveThemeWindowShown:!1,isEditThemeWindowShown:!1,isContextWindowShown:!1}),s=Te(null),i=Te(null),{floatingStyles:r}=rf(s,i,{placement:"right",whileElementsMounted:nf,middleware:[of(20)]}),a=o;return(d,u)=>(S(),E(Lt,null,[f("div",{class:"bootstrap-styles input__settings-text__item overflow-hidden cursor-pointer border rounded-1 shadow-hover-1",onClick:u[5]||(u[5]=c=>a("selectedThemeSettings",e.theme.theme))},[f("div",U9,[f("div",j9,[f("section",{class:"bootstrap-styles d-flex w-100 h-100",style:Nt({background:e.theme.theme.Colors.EmailBackgroundColor,padding:"16px 0 0 16px"})},[f("div",{class:"bootstrap-styles w-100 h-100",style:Nt({background:e.theme.theme.Colors.BodyColor,borderTopLeftRadius:`${e.theme.theme.BorderRadius.TopLeft}px`,paddingLeft:`${e.theme.theme.BodyPaddings.Left}px`,paddingTop:`${e.theme.theme.BodyPaddings.Top}px`})},[f("div",z9,[f("span",{style:Nt({fontFamily:e.theme.theme.FontFamily,color:e.theme.theme.Colors.HeadingColor,fontSize:`${e.theme.theme.FontSettingsPresets.Heading.FontSize}px`,fontWeight:e.theme.theme.FontSettingsPresets.Button.IsBold?"bold":"normal",fontStyle:e.theme.theme.FontSettingsPresets.Button.IsItalic?"italic":"normal",textDecoration:e.theme.theme.FontSettingsPresets.Heading.Decoration,marginRight:"4px"})}," Aa ",4),f("span",{style:Nt({fontFamily:e.theme.theme.FontFamily,color:e.theme.theme.Colors.NormalTextColor,fontSize:`${e.theme.theme.FontSettingsPresets.NormalText.FontSize}px`,fontWeight:e.theme.theme.FontSettingsPresets.Button.IsBold?"bold":"normal",fontStyle:e.theme.theme.FontSettingsPresets.Button.IsItalic?"italic":"normal",textDecoration:e.theme.theme.FontSettingsPresets.NormalText.Decoration,marginRight:"4px"})}," Aa ",4),f("span",{style:Nt({fontFamily:e.theme.theme.FontFamily,color:e.theme.theme.Colors.DescriptionTextColor,fontSize:`${e.theme.theme.FontSettingsPresets.DescriptionText.FontSize}px`,fontWeight:e.theme.theme.FontSettingsPresets.DescriptionText.IsBold?"bold":"normal",fontStyle:e.theme.theme.FontSettingsPresets.DescriptionText.IsItalic?"italic":"normal",textDecoration:e.theme.theme.FontSettingsPresets.DescriptionText.Decoration})}," Aa ",4)]),f("div",G9,[f("span",{class:"bootstrap-styles me-2 d-inline-block",style:Nt({fontFamily:e.theme.theme.FontFamily,color:e.theme.theme.Colors.PrimaryTextColor,fontSize:`${e.theme.theme.FontSettingsPresets.Button.FontSize}px`,fontWeight:e.theme.theme.FontSettingsPresets.Button.IsBold?"bold":"normal",fontStyle:e.theme.theme.FontSettingsPresets.Button.IsItalic?"italic":"normal",textDecoration:e.theme.theme.FontSettingsPresets.Button.Decoration,background:e.theme.theme.Colors.PrimaryColor,borderTopLeftRadius:`${e.theme.theme.BorderRadiusButton.TopLeft}px`,borderTopRightRadius:`${e.theme.theme.BorderRadiusButton.TopRight}px`,borderBottomRightRadius:`${e.theme.theme.BorderRadiusButton.BottomRight}px`,borderBottomLeftRadius:`${e.theme.theme.BorderRadiusButton.BottomLeft}px`,padding:"12px 24px"})}," Button ",4),f("span",{class:"bootstrap-styles d-inline-block",style:Nt({fontFamily:e.theme.theme.FontFamily,color:e.theme.theme.Colors.SecondaryTextColor,fontSize:`${e.theme.theme.FontSettingsPresets.Button.FontSize}px`,fontWeight:e.theme.theme.FontSettingsPresets.Button.IsBold?"bold":"normal",fontStyle:e.theme.theme.FontSettingsPresets.Button.IsItalic?"italic":"normal",textDecoration:e.theme.theme.FontSettingsPresets.Button.Decoration,background:e.theme.theme.Colors.SecondaryColor,borderTopLeftRadius:`${e.theme.theme.BorderRadiusButton.TopLeft}px`,borderTopRightRadius:`${e.theme.theme.BorderRadiusButton.TopRight}px`,borderBottomRightRadius:`${e.theme.theme.BorderRadiusButton.BottomRight}px`,borderBottomLeftRadius:`${e.theme.theme.BorderRadiusButton.BottomLeft}px`,padding:"12px 24px"})}," Button ",4)])],4)],4)])]),f("div",K9,[je(k(e.theme.sectionItemName)+" ",1),f("div",Y9,[f("button",{ref_key:"themePreviewContextButtonElmRef",ref:s,class:at(["preview-theme__context-button",{"preview-theme__context-button__active":n.isContextWindowShown}]),onClick:u[0]||(u[0]=De(c=>n.isContextWindowShown=!n.isContextWindowShown,["stop"])),onBlur:u[1]||(u[1]=c=>n.isContextWindowShown=!1)},[f("i",Z9,[P(_D)])],34)])]),n.isContextWindowShown?(S(),E("div",{key:0,ref_key:"themePreviewContextMenuElmRef",ref:i,class:"preview-theme__context-menu bootstrap-styles rounded-1 border shadow-1 bg-white position-absolute z-index-3",style:Nt(T(r)),onMouseleave:u[4]||(u[4]=c=>n.isContextWindowShown=!1)},[f("button",{class:"edit-button",onMousedown:u[2]||(u[2]=c=>n.isEditThemeWindowShown=!0)},[f("i",J9,[P(xD)]),je(" "+k(T(_)("asideMenu.themeLibrary.themeSection.themeSectionItem.editThemeButton")),1)],32),f("button",{class:"remove-button",onMousedown:u[3]||(u[3]=c=>n.isRemoveThemeWindowShown=!0)},[f("i",X9,[P(Hd)]),je(" "+k(T(_)("asideMenu.themeLibrary.themeSection.themeSectionItem.deleteThemeButton")),1)],32)],36)):St("",!0)]),(S(),st(lo,{to:"#app"},[n.isEditThemeWindowShown?(S(),st($9,{key:0,deps:e.deps.editThemeLibrarySectionItemModalWindowDeps,initialThemeSection:e.themeSection,themeId:e.theme.sectionItemId,themeName:e.theme.sectionItemName,onOnThemeLibrarySectionItemUpdated:u[6]||(u[6]=()=>{a("onThemeLibrarySectionItemUpdated"),n.isEditThemeWindowShown=!1}),onCancel:u[7]||(u[7]=c=>n.isEditThemeWindowShown=!1)},null,8,["deps","initialThemeSection","themeId","themeName"])):St("",!0)])),(S(),st(lo,{to:"#app"},[n.isRemoveThemeWindowShown?(S(),st(_9,{key:0,deps:e.deps.deleteThemeLibrarySectionItemModalWindowDeps,sectionItemId:d.theme.sectionItemId,onCancel:u[8]||(u[8]=c=>n.isRemoveThemeWindowShown=!1),onConfirmed:u[9]||(u[9]=()=>{a("themeSectionItemRemoved"),n.isRemoveThemeWindowShown=!1})},null,8,["deps","sectionItemId"])):St("",!0)]))],64))}});const q9=mt(Q9,[["__scopeId","data-v-934f841f"]]),tH={},eH={width:"60",height:"61",viewBox:"0 0 60 61",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function oH(t,o){return S(),E("svg",eH,o[0]||(o[0]=[ar('<path d="M26.6998 43.4001C35.4811 43.4001 42.5998 36.2814 42.5998 27.5001C42.5998 18.7188 35.4811 11.6001 26.6998 11.6001C17.9185 11.6001 10.7998 18.7188 10.7998 27.5001C10.7998 36.2814 17.9185 43.4001 26.6998 43.4001Z" stroke="var(--gray-200)" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path d="M20.7629 23.3031C20.5313 23.6386 20.4051 24.034 20.4001 24.4398C20.3967 24.7158 20.4494 24.9897 20.5553 25.2453C20.6611 25.5008 20.8179 25.7329 21.0163 25.9277C21.2146 26.1225 21.4506 26.2761 21.7103 26.3794C21.9699 26.4828 22.248 26.5337 22.528 26.5293C22.9396 26.5228 23.3402 26.3968 23.6796 26.1671C24.0191 25.9373 24.2823 25.6141 24.4364 25.2377C24.5905 24.8614 24.6287 24.4486 24.5462 24.0509C24.4636 23.6533 24.264 23.2885 23.9723 23.002C23.6806 22.7156 23.3098 22.5203 22.9061 22.4405C22.5024 22.3607 22.0838 22.3999 21.7026 22.5533C21.3215 22.7068 20.9946 22.9675 20.7629 23.3031Z" fill="var(--gray-200)"></path><path d="M31.7405 34.3108C31.8531 34.2517 31.949 34.1659 32.0197 34.0613C32.0918 33.9571 32.1364 33.8369 32.1496 33.7114C32.1627 33.586 32.144 33.4593 32.0951 33.3428C31.6717 32.2665 30.9355 31.3374 29.9788 30.6719C29.022 30.0063 27.8872 29.634 26.7167 29.6015C25.5405 29.6276 24.3984 29.9969 23.4351 30.6628C22.4718 31.3288 21.7304 32.2614 21.3048 33.3428C21.2552 33.4579 21.2351 33.5833 21.2464 33.7079C21.2578 33.8325 21.3001 33.9524 21.3697 34.057C21.4393 34.1616 21.5341 34.2476 21.6455 34.3074C21.757 34.3672 21.8817 34.399 22.0085 34.3999C22.1888 34.4008 22.3637 34.3395 22.5028 34.2265C23.6884 33.286 25.17 32.7835 26.6916 32.8059C28.2132 32.7835 29.6948 33.286 30.8804 34.2265C31.0195 34.3395 31.1944 34.4008 31.3747 34.3999C31.5022 34.4005 31.6279 34.3698 31.7405 34.3108Z" fill="var(--gray-200)"></path><path d="M29.7419 26.1813C30.0864 26.4082 30.4913 26.5293 30.9055 26.5293C31.461 26.5293 31.9937 26.3118 32.3865 25.9246C32.7792 25.5373 32.9999 25.0122 32.9999 24.4646C32.9999 24.0562 32.8771 23.6571 32.6469 23.3175C32.4168 22.978 32.0897 22.7133 31.707 22.5571C31.3243 22.4008 30.9032 22.3599 30.4969 22.4396C30.0906 22.5192 29.7175 22.7159 29.4246 23.0046C29.1317 23.2934 28.9322 23.6613 28.8514 24.0618C28.7706 24.4623 28.812 24.8774 28.9706 25.2547C29.1291 25.632 29.3975 25.9545 29.7419 26.1813Z" fill="var(--gray-200)"></path><path d="M49.1999 49.4001L38.3999 38.6001" stroke="var(--gray-200)" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path>',5)]))}const ID=mt(tH,[["render",oH]]),nH=lt({__name:"DeleteThemeLibrarySectionModalWindow",props:{deps:{},sectionName:{},sectionId:{}},emits:["cancel","confirmed"],setup(t,{emit:o}){const e=t,n=async()=>{await e.deps.deleteThemeLibrarySection({sectionId:e.sectionId}),s("confirmed")},s=o;return(i,r)=>(S(),st(Jr,{headerText:T(_)("asideMenu.themeLibrary.themeSection.deleteThemeLibrarySectionModalWindow.title"),onCancel:r[0]||(r[0]=a=>s("cancel")),onConfirmed:r[1]||(r[1]=a=>n())},{"body-content":le(()=>[je(" Вы действительно хотите удалить секцию «"+k(e.sectionName)+"» ? ",1)]),_:1},8,["headerText"]))}}),iH={class:"bootstrap-styles d-flex flex-column justify-content-center align-items-center h-100 pe-7"},rH={class:"bootstrap-styles mt-auto d-flex flex-column justify-content-center align-items-center"},sH={class:"bootstrap-styles text-gray-600"},aH=lt({__name:"EmptyThemeSection",props:{deps:{},sectionName:{},sectionId:{}},emits:["onThemeLibrarySectionRemoved"],setup(t,{emit:o}){const e=t,n=Et({isRemoveThemeLibrarySectionModalWindowShown:!1}),s=o;return(i,r)=>(S(),E(Lt,null,[f("div",iH,[f("div",rH,[P(ID),f("p",sH,k(T(_)("asideMenu.themeLibrary.themeSection.emptySectionText")),1)]),f("button",{class:"bootstrap-styles py-1 px-3 rounded-2 w-100 mt-auto section__remove-button",onClick:r[0]||(r[0]=a=>n.isRemoveThemeLibrarySectionModalWindowShown=!0)},[f("i",null,[P(Hd)]),je(" "+k(T(_)("asideMenu.themeLibrary.themeSection.deleteSectionButton")),1)])]),(S(),st(lo,{to:"#app"},[n.isRemoveThemeLibrarySectionModalWindowShown?(S(),st(nH,{key:0,deps:e.deps.deleteThemeLibrarySectionModalWindowDeps,sectionName:e.sectionName,sectionId:e.sectionId,onCancel:r[1]||(r[1]=a=>n.isRemoveThemeLibrarySectionModalWindowShown=!1),onConfirmed:r[2]||(r[2]=()=>{s("onThemeLibrarySectionRemoved"),n.isRemoveThemeLibrarySectionModalWindowShown=!1})},null,8,["deps","sectionName","sectionId"])):St("",!0)]))],64))}});const lH=mt(aH,[["__scopeId","data-v-dc27045f"]]),uH={key:0,class:"bootstrap-styles h-100 d-flex flex-column overflow-scroll"},dH={class:"bootstrap-styles scrollable d-flex flex-column gap-5 overflow-scroll"},mH=lt({__name:"CustomThemeSection",props:{deps:{},themeLibrary:{},themeSection:{}},emits:["back","themeSectionItemRemoved","onThemeLibrarySectionItemUpdated","selectedThemeSettings","onThemeLibrarySectionRemoved"],setup(t,{emit:o}){const e=t,n=o;return(s,i)=>(S(),E(Lt,null,[P(Zf,{title:e.themeSection.sectionName,onClick:i[0]||(i[0]=r=>n("back"))},null,8,["title"]),e.themeSection.sectionItems.length>0?(S(),E("div",uH,[f("div",dH,[(S(!0),E(Lt,null,ge(e.themeSection.sectionItems,r=>(S(),E("div",{key:r.sectionItemId,class:"bootstrap-styles list-group me-3"},[P(q9,{deps:e.deps.themeSectionItemDeps,theme:r,themeSection:e.themeSection,onSelectedThemeSettings:i[1]||(i[1]=a=>n("selectedThemeSettings",a)),onOnThemeLibrarySectionItemUpdated:i[2]||(i[2]=()=>n("onThemeLibrarySectionItemUpdated")),onThemeSectionItemRemoved:i[3]||(i[3]=a=>n("themeSectionItemRemoved"))},null,8,["deps","theme","themeSection"])]))),128))])])):(S(),st(lH,{key:1,deps:e.deps.emptyThemeSectionDeps,sectionName:e.themeSection.sectionName,sectionId:e.themeSection.sectionId,onOnThemeLibrarySectionRemoved:i[4]||(i[4]=()=>{n("back"),n("onThemeLibrarySectionRemoved")})},null,8,["deps","sectionName","sectionId"]))],64))}});const cH=mt(mH,[["__scopeId","data-v-ccb7e914"]]),fH={class:"bootstrap-styles h-100 d-flex flex-column"},pH={class:"bootstrap-styles list-group list-group-flush p-0"},CH=["onClick"],hH={class:"bootstrap-styles me-1"},gH={class:"bootstrap-styles d-flex align-items-center"},FH={class:"bootstrap-styles icon-hover-stroke"},yH={for:"button-hide-empty-theme-section",class:"label__checkbox-input"},SH={class:"bootstrap-styles d-flex justify-content-center align-items-center me-1 icon-stroke"},bH=lt({__name:"CustomThemeLibrary",props:{deps:{},currentThemeSettings:{},themeLibrary:{}},emits:["selectedThemeSettings","onThemeLibrarySectionItemUpdated","onThemeLibrarySectionAdded","themeSectionItemAdded","themeSectionItemRemoved","onThemeLibrarySectionRemoved","onMenuOptionIndexChanged"],setup(t,{emit:o}){const e=t,n=Et({menuOptionIndex:null,isAddThemeLibrarySectionItemModalWindowShown:!1,isAddThemeLibrarySectionModalWindowShown:!1,isHiddenThemeLibraryEmptySection:e.themeLibrary.some(a=>{var d;return((d=a==null?void 0:a.sectionItems)==null?void 0:d.length)>0}),isLoaded:!0}),s=a=>e.themeLibrary[a].sectionItems.length==0,i=()=>{n.isHiddenThemeLibraryEmptySection=!n.isHiddenThemeLibraryEmptySection};qe(()=>e.themeLibrary,a=>{a&&(n.isLoaded=!0)});const r=o;return(a,d)=>{const u=If("VSkeletonLoader");return S(),E("div",fH,[(S(!0),E(Lt,null,ge(e.themeLibrary,(c,p)=>(S(),E("div",{key:p,class:at({"bootstrap-styles h-100 d-flex flex-column":n.menuOptionIndex===p})},[n.menuOptionIndex===p?(S(),st(cH,{key:0,deps:e.deps.themeSectionDeps,themeLibrary:e.themeLibrary,themeSection:c,onBack:d[0]||(d[0]=()=>{r("onMenuOptionIndexChanged"),n.menuOptionIndex=null}),onOnThemeLibrarySectionItemUpdated:d[1]||(d[1]=h=>r("onThemeLibrarySectionItemUpdated")),onSelectedThemeSettings:d[2]||(d[2]=h=>r("selectedThemeSettings",h)),onThemeSectionItemRemoved:d[3]||(d[3]=h=>r("themeSectionItemRemoved")),onOnThemeLibrarySectionRemoved:d[4]||(d[4]=h=>r("onThemeLibrarySectionRemoved"))},null,8,["deps","themeLibrary","themeSection"])):St("",!0)],2))),128)),f("div",{class:at(["bootstrap-styles h-100 flex-column pe-5 me-14 overflow-scroll",[n.menuOptionIndex===null?"d-flex":"d-none"]])},[f("div",pH,[(S(!0),E(Lt,null,ge(e.themeLibrary,(c,p)=>(S(),E("button",{key:p,class:at(["bootstrap-styles list-group-item py-5 px-0 text-start border-gray-200 justify-content-between",[n.isHiddenThemeLibraryEmptySection&&s(p)?"d-none":"d-flex"]]),onClick:()=>{r("onMenuOptionIndexChanged"),n.menuOptionIndex=p}},[f("span",hH,k(c.sectionName),1),f("span",gH,[f("span",{class:at(["bootstrap-styles themes-quantity px-1 me-1",{empty:s(p)}])},k(e.themeLibrary[p].sectionItems.length),3),f("i",FH,[P(Uf)])])],10,CH))),128)),!n.isLoaded&&!n.isHiddenThemeLibraryEmptySection?(S(),st(u,{key:0,class:"bootstrap-styles my-5",width:"216",height:"17"})):St("",!0)])],2),f("div",{class:at(["bootstrap-styles mt-7 me-7 mb-7",[n.menuOptionIndex===null?"d-flex":"d-none"]])},[P(ir,{id:"button-hide-empty-theme-section",checked:n.isHiddenThemeLibraryEmptySection,onChange:d[5]||(d[5]=c=>i())},null,8,["checked"]),f("label",yH,k(T(_)("asideMenu.themeLibrary.hideEmptySectionsCheckbox")),1)],2),f("button",{class:at(["bootstrap-styles d-flex align-items-center justify-content-center py-1 px-3 me-7 mb-3 rounded-2 bg-blue-selected button__hover-blue-100 text-color-selected",[n.menuOptionIndex===null?"d-flex":"d-none"]]),onClick:d[6]||(d[6]=c=>n.isAddThemeLibrarySectionModalWindowShown=!0)},[f("i",SH,[P(Yf)]),je(" "+k(T(_)("asideMenu.themeLibrary.addThemeLibrarySectionButton")),1)],2),f("div",{class:at(["bootstrap-styles aside-menu__groups__add-element_add mt-auto me-7",[n.menuOptionIndex===null?"d-flex":"d-none"]])},[Ot((S(),E("button",{class:at([{"save-theme__disabled":e.themeLibrary.length===0},"bootstrap-styles button_aside-menu__save-theme d-flex align-items-center justify-content-center text-white border-0 rounded-2 w-100 py-1 px-3 gap-1 button__hover-blue-400"]),onClick:d[7]||(d[7]=()=>n.isAddThemeLibrarySectionItemModalWindowShown=e.themeLibrary.length>0)},[P(XM),je(" "+k(T(_)("asideMenu.themeLibrary.addThemeLibrarySectionItemButton")),1)],2)),[[T(Ho),{title:T(_)("asideMenu.themeLibrary.addThemeLibrarySectionItemButtonTooltip"),placement:"right",trigger:e.themeLibrary.length===0?"hover":"manual"}]])],2),(S(),st(lo,{to:"#app"},[n.isAddThemeLibrarySectionItemModalWindowShown?(S(),st(PO,{key:0,deps:a.deps.addThemeSectionItemModalWindowDeps,themeSettings:e.currentThemeSettings,onCancel:d[8]||(d[8]=c=>n.isAddThemeLibrarySectionItemModalWindowShown=!1),onThemeSectionItemAdded:d[9]||(d[9]=c=>{n.isAddThemeLibrarySectionItemModalWindowShown=!1,r("themeSectionItemAdded")})},null,8,["deps","themeSettings"])):St("",!0)])),(S(),st(lo,{to:"#app"},[n.isAddThemeLibrarySectionModalWindowShown?(S(),st(WO,{key:0,deps:e.deps.createThemeLibrarySectionModalWindowDeps,onOnThemeLibrarySectionCreated:d[10]||(d[10]=()=>{n.isLoaded=!1,r("onThemeLibrarySectionAdded"),n.isAddThemeLibrarySectionModalWindowShown=!1}),onOnCanceled:d[11]||(d[11]=c=>n.isAddThemeLibrarySectionModalWindowShown=!1)},null,8,["deps"])):St("",!0)]))])}}});const TH=mt(bH,[["__scopeId","data-v-9d62ae76"]]),BH={class:"bootstrap-styles input__settings-text__item__content"},VH={class:"overflow-hidden"},LH={class:"bootstrap-styles mb-5"},DH={class:"bootstrap-styles mb-5 text-nowrap"},vH={class:"bootstrap-styles preview-theme__label input__settings-text__item__title border-top bg-white pt-1 pb-3 px-3 d-flex justify-content-between align-items-center"},RH=lt({__name:"DefaultThemeSectionItem",props:{theme:{},themeSection:{}},emits:["back","selectedThemeSettings"],setup(t,{emit:o}){const e=t,n=o;return(s,i)=>(S(),E("div",{class:"bootstrap-styles input__settings-text__item overflow-hidden cursor-pointer border rounded-1 shadow-hover-1",onClick:i[0]||(i[0]=r=>n("selectedThemeSettings",e.theme.theme))},[f("div",BH,[f("div",VH,[f("section",{class:"bootstrap-styles d-flex w-100 h-100",style:Nt({background:e.theme.theme.Colors.EmailBackgroundColor,padding:"16px 0 0 16px"})},[f("div",{class:"bootstrap-styles w-100 h-100",style:Nt({background:e.theme.theme.Colors.BodyColor,borderTopLeftRadius:`${e.theme.theme.BorderRadius.TopLeft}px`,paddingLeft:`${e.theme.theme.BodyPaddings.Left}px`,paddingTop:`${e.theme.theme.BodyPaddings.Top}px`})},[f("div",LH,[f("span",{style:Nt({fontFamily:e.theme.theme.FontFamily,color:e.theme.theme.Colors.HeadingColor,fontSize:`${e.theme.theme.FontSettingsPresets.Heading.FontSize}px`,fontWeight:e.theme.theme.FontSettingsPresets.Button.IsBold?"bold":"normal",fontStyle:e.theme.theme.FontSettingsPresets.Button.IsItalic?"italic":"normal",textDecoration:e.theme.theme.FontSettingsPresets.Heading.Decoration,marginRight:"4px"})}," Aa ",4),f("span",{style:Nt({fontFamily:e.theme.theme.FontFamily,color:e.theme.theme.Colors.NormalTextColor,fontSize:`${e.theme.theme.FontSettingsPresets.NormalText.FontSize}px`,fontWeight:e.theme.theme.FontSettingsPresets.Button.IsBold?"bold":"normal",fontStyle:e.theme.theme.FontSettingsPresets.Button.IsItalic?"italic":"normal",textDecoration:e.theme.theme.FontSettingsPresets.NormalText.Decoration,marginRight:"4px"})}," Aa ",4),f("span",{style:Nt({fontFamily:e.theme.theme.FontFamily,color:e.theme.theme.Colors.DescriptionTextColor,fontSize:`${e.theme.theme.FontSettingsPresets.DescriptionText.FontSize}px`,fontWeight:e.theme.theme.FontSettingsPresets.DescriptionText.IsBold?"bold":"normal",fontStyle:e.theme.theme.FontSettingsPresets.DescriptionText.IsItalic?"italic":"normal",textDecoration:e.theme.theme.FontSettingsPresets.DescriptionText.Decoration})}," Aa ",4)]),f("div",DH,[f("span",{class:"bootstrap-styles me-2 d-inline-block",style:Nt({fontFamily:e.theme.theme.FontFamily,color:e.theme.theme.Colors.PrimaryTextColor,fontSize:`${e.theme.theme.FontSettingsPresets.Button.FontSize}px`,fontWeight:e.theme.theme.FontSettingsPresets.Button.IsBold?"bold":"normal",fontStyle:e.theme.theme.FontSettingsPresets.Button.IsItalic?"italic":"normal",textDecoration:e.theme.theme.FontSettingsPresets.Button.Decoration,background:e.theme.theme.Colors.PrimaryColor,borderTopLeftRadius:`${e.theme.theme.BorderRadiusButton.TopLeft}px`,borderTopRightRadius:`${e.theme.theme.BorderRadiusButton.TopRight}px`,borderBottomRightRadius:`${e.theme.theme.BorderRadiusButton.BottomRight}px`,borderBottomLeftRadius:`${e.theme.theme.BorderRadiusButton.BottomLeft}px`,padding:"12px 24px"})}," Button ",4),f("span",{class:"bootstrap-styles d-inline-block",style:Nt({fontFamily:e.theme.theme.FontFamily,color:e.theme.theme.Colors.SecondaryTextColor,fontSize:`${e.theme.theme.FontSettingsPresets.Button.FontSize}px`,fontWeight:e.theme.theme.FontSettingsPresets.Button.IsBold?"bold":"normal",fontStyle:e.theme.theme.FontSettingsPresets.Button.IsItalic?"italic":"normal",textDecoration:e.theme.theme.FontSettingsPresets.Button.Decoration,background:e.theme.theme.Colors.SecondaryColor,borderTopLeftRadius:`${e.theme.theme.BorderRadiusButton.TopLeft}px`,borderTopRightRadius:`${e.theme.theme.BorderRadiusButton.TopRight}px`,borderBottomRightRadius:`${e.theme.theme.BorderRadiusButton.BottomRight}px`,borderBottomLeftRadius:`${e.theme.theme.BorderRadiusButton.BottomLeft}px`,padding:"12px 24px"})}," Button ",4)])],4)],4)])]),f("div",vH,k(e.theme.sectionItemName),1)]))}});const xH=mt(RH,[["__scopeId","data-v-ae007019"]]),_H={class:"bootstrap-styles h-100 d-flex flex-column overflow-scroll"},IH={class:"bootstrap-styles scrollable d-flex flex-column gap-5 overflow-scroll"},EH=lt({__name:"DefaultThemeSection",props:{themeLibrary:{},themeSection:{}},emits:["back","selectedThemeSettings"],setup(t,{emit:o}){const e=t,n=o;return(s,i)=>(S(),E(Lt,null,[P(Zf,{title:e.themeSection.sectionName,onClick:i[0]||(i[0]=r=>n("back"))},null,8,["title"]),f("div",_H,[f("div",IH,[(S(!0),E(Lt,null,ge(e.themeSection.sectionItems,r=>(S(),E("div",{key:r.sectionItemId,class:"bootstrap-styles list-group me-3"},[P(xH,{theme:r,themeSection:e.themeSection,onSelectedThemeSettings:i[1]||(i[1]=a=>n("selectedThemeSettings",a))},null,8,["theme","themeSection"])]))),128))])])],64))}});const PH=mt(EH,[["__scopeId","data-v-d1b831e4"]]),NH={class:"bootstrap-styles h-100 d-flex flex-column"},wH={class:"bootstrap-styles list-group list-group-flush p-0"},AH=["onClick"],WH={class:"bootstrap-styles me-1"},kH={class:"bootstrap-styles d-flex align-items-center"},MH={class:"bootstrap-styles themes-quantity px-1 me-1"},OH={class:"bootstrap-styles icon-hover-stroke"},HH=lt({__name:"DefaultThemeLibrary",props:{currentThemeSettings:{},themeLibrary:{}},emits:["selectedThemeSettings","onMenuOptionIndexChanged"],setup(t,{emit:o}){const e=t,n=Et({menuOptionIndex:null}),s=o;return(i,r)=>(S(),E("div",NH,[(S(!0),E(Lt,null,ge(e.themeLibrary,(a,d)=>(S(),E("div",{key:d,class:at({"bootstrap-styles h-100 d-flex flex-column":n.menuOptionIndex===d})},[n.menuOptionIndex===d?(S(),st(PH,{key:0,themeLibrary:e.themeLibrary,themeSection:a,onBack:r[0]||(r[0]=()=>{s("onMenuOptionIndexChanged"),n.menuOptionIndex=null}),onSelectedThemeSettings:r[1]||(r[1]=u=>s("selectedThemeSettings",u))},null,8,["themeLibrary","themeSection"])):St("",!0)],2))),128)),f("div",{class:at(["bootstrap-styles h-100 flex-column pe-5 me-14 overflow-scroll",[n.menuOptionIndex===null?"d-flex":"d-none"]])},[f("div",wH,[(S(!0),E(Lt,null,ge(e.themeLibrary,(a,d)=>(S(),E("button",{key:d,class:"bootstrap-styles d-flex list-group-item py-5 px-0 text-start border-gray-200 justify-content-between",onClick:()=>{s("onMenuOptionIndexChanged"),n.menuOptionIndex=d}},[f("span",WH,k(a.sectionName),1),f("span",kH,[f("span",MH,k(e.themeLibrary[d].sectionItems.length),1),f("i",OH,[P(Uf)])])],8,AH))),128))])],2)]))}});const $H=mt(HH,[["__scopeId","data-v-147cc9a5"]]),UH={ref:"tabsRef",class:"bootstrap-styles w-100 tabs-container p-14 rounded-2 border bg-color-input"},jH={class:"bootstrap-styles d-flex position-relative w-100"},zH=["data-key","onClick"],GH=lt({__name:"TabList",props:{initialTab:{},tabList:{}},emits:["onTabClicked"],setup(t,{emit:o}){const e=t,n=Et({activeTab:e.initialTab,sliderStyle:{width:"0px",transform:"translateX(0px)"}}),s=Te([]),i=d=>{Gr(()=>{const u=s.value.find(c=>c.dataset.key===d);u&&(n.sliderStyle={width:`${u.offsetWidth}px`,transform:`translateX(${u.offsetLeft}px)`})})},r=d=>{n.activeTab=d,i(d),a("onTabClicked",d)};Wi(()=>{i(n.activeTab)});const a=o;return(d,u)=>(S(),E("div",UH,[f("div",jH,[f("div",{class:"slider",style:Nt(n.sliderStyle)},null,4),(S(!0),E(Lt,null,ge(e.tabList,(c,p)=>(S(),E("button",{ref_for:!0,ref_key:"tabRefs",ref:s,key:p,"data-key":p,class:at(["bootstrap-styles tab-button w-100 d-flex justify-content-center py-14 px-1 text-gray-600 z-1 position-relative",{active:n.activeTab===p}]),onClick:()=>r(p)},k(c),11,zH))),128))])],512))}});const Qf=mt(GH,[["__scopeId","data-v-de8dff0d"]]),KH={class:"bootstrap-styles scrollable d-block h-100"},YH={class:"bootstrap-styles flex-column gap-13 me-3 d-flex h-100"},Nb="custom",ZH=lt({__name:"ThemeLibrary",props:{deps:{},currentThemeSettings:{},themeLibrary:{},defaultThemeLibrary:{}},emits:["selectedThemeSettings","onThemeLibrarySectionItemUpdated","onThemeLibrarySectionAdded","themeSectionItemAdded","themeSectionItemRemoved","onThemeLibrarySectionRemoved"],setup(t,{emit:o}){const e=t,n=Et({themeLibrarySourceKey:Nb,isHeaderShow:!0}),s={custom:_("asideMenu.themeLibrary.userThemeButtonText"),default:_("asideMenu.themeLibrary.defaultThemeButtonText")},i=o;return(r,a)=>(S(),E("div",KH,[f("div",YH,[f("h2",{class:at(["bootstrap-styles fs-6 fw-bold mb-0 me-7",{"d-none":!n.isHeaderShow}])},k(T(_)("asideMenu.themeLibrary.title")),3),f("div",{class:at([{"d-none":!n.isHeaderShow},"bootstrap-styles me-3"])},[P(Qf,{initialTab:Nb,tabList:s,onOnTabClicked:a[0]||(a[0]=d=>n.themeLibrarySourceKey=d)})],2),n.themeLibrarySourceKey==="custom"?(S(),st(TH,{key:0,deps:e.deps.customThemeLibraryDeps,themeLibrary:e.themeLibrary,currentThemeSettings:e.currentThemeSettings,onOnThemeLibrarySectionItemUpdated:a[1]||(a[1]=()=>i("onThemeLibrarySectionItemUpdated")),onSelectedThemeSettings:a[2]||(a[2]=d=>i("selectedThemeSettings",d)),onThemeSectionItemAdded:a[3]||(a[3]=()=>i("themeSectionItemAdded")),onThemeSectionItemRemoved:a[4]||(a[4]=()=>i("themeSectionItemRemoved")),onOnThemeLibrarySectionRemoved:a[5]||(a[5]=d=>i("onThemeLibrarySectionRemoved")),onOnThemeLibrarySectionAdded:a[6]||(a[6]=d=>i("onThemeLibrarySectionAdded")),onOnMenuOptionIndexChanged:a[7]||(a[7]=d=>n.isHeaderShow=!n.isHeaderShow)},null,8,["deps","themeLibrary","currentThemeSettings"])):St("",!0),n.themeLibrarySourceKey==="default"?(S(),st($H,{key:1,themeLibrary:e.defaultThemeLibrary,currentThemeSettings:e.currentThemeSettings,onSelectedThemeSettings:a[8]||(a[8]=d=>i("selectedThemeSettings",d)),onOnMenuOptionIndexChanged:a[9]||(a[9]=d=>n.isHeaderShow=!n.isHeaderShow)},null,8,["themeLibrary","currentThemeSettings"])):St("",!0)])]))}});var Wt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function JH(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function ED(t){if(t.__esModule)return t;var o=t.default;if(typeof o=="function"){var e=function n(){return this instanceof n?Reflect.construct(o,arguments,this.constructor):o.apply(this,arguments)};e.prototype=o.prototype}else e={};return Object.defineProperty(e,"__esModule",{value:!0}),Object.keys(t).forEach(function(n){var s=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,s.get?s:{enumerable:!0,get:function(){return t[n]}})}),e}var PD={exports:{}};const XH=ED(IA);/**!
|
|
44
|
+
*/const V8="9.8.0";function L8(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(Pr().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(Pr().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(Pr().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Pr().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Pr().__INTLIFY_PROD_DEVTOOLS__=!1)}const dD=r8.__EXTEND_POINT__,ps=og(dD);ps(),ps(),ps(),ps(),ps(),ps(),ps(),ps();const mD=Ei.__EXTEND_POINT__,Vn=og(mD),Ao={UNEXPECTED_RETURN_TYPE:mD,INVALID_ARGUMENT:Vn(),MUST_BE_CALL_SETUP_TOP:Vn(),NOT_INSTALLED:Vn(),NOT_AVAILABLE_IN_LEGACY_MODE:Vn(),REQUIRED_VALUE:Vn(),INVALID_VALUE:Vn(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:Vn(),NOT_INSTALLED_WITH_PROVIDE:Vn(),UNEXPECTED_ERROR:Vn(),NOT_COMPATIBLE_LEGACY_VUE_I18N:Vn(),BRIDGE_SUPPORT_VUE_2_ONLY:Vn(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:Vn(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:Vn(),__EXTEND_POINT__:Vn()};function $o(t,...o){return eu(t,null,void 0)}const zh=Ks("__translateVNode"),Gh=Ks("__datetimeParts"),Kh=Ks("__numberParts"),cD=Ks("__setPluralRules"),fD=Ks("__injectWithOption"),Yh=Ks("__dispose");function Fd(t){if(!Ze(t))return t;for(const o in t)if(hd(t,o))if(!o.includes("."))Ze(t[o])&&Fd(t[o]);else{const e=o.split("."),n=e.length-1;let s=t,i=!1;for(let r=0;r<n;r++){if(e[r]in s||(s[e[r]]={}),!Ze(s[e[r]])){i=!0;break}s=s[e[r]]}i||(s[e[n]]=t[o],delete t[o]),Ze(s[e[n]])&&Fd(s[e[n]])}return t}function Gf(t,o){const{messages:e,__i18n:n,messageResolver:s,flatJson:i}=o,r=Fe(e)?e:mo(n)?{}:{[t]:{}};if(mo(n)&&n.forEach(a=>{if("locale"in a&&"resource"in a){const{locale:d,resource:u}=a;d?(r[d]=r[d]||{},td(u,r[d])):td(u,r)}else kt(a)&&td(JSON.parse(a),r)}),s==null&&i)for(const a in r)hd(r,a)&&Fd(r[a]);return r}function pD(t){return t.type}function CD(t,o,e){let n=Ze(o.messages)?o.messages:{};"__i18nGlobal"in e&&(n=Gf(t.locale.value,{messages:n,__i18n:e.__i18nGlobal}));const s=Object.keys(n);s.length&&s.forEach(i=>{t.mergeLocaleMessage(i,n[i])});{if(Ze(o.datetimeFormats)){const i=Object.keys(o.datetimeFormats);i.length&&i.forEach(r=>{t.mergeDateTimeFormat(r,o.datetimeFormats[r])})}if(Ze(o.numberFormats)){const i=Object.keys(o.numberFormats);i.length&&i.forEach(r=>{t.mergeNumberFormat(r,o.numberFormats[r])})}}}function Cb(t){return P(Ar,null,t,0)}const hb="__INTLIFY_META__",gb=()=>[],D8=()=>!1;let Fb=0;function yb(t){return(o,e,n,s)=>t(e,n,Uo()||void 0,s)}const v8=()=>{const t=Uo();let o=null;return t&&(o=pD(t)[hb])?{[hb]:o}:null};function sg(t={},o){const{__root:e,__injectWithOption:n}=t,s=e===void 0,i=t.flatJson;let r=we(t.inheritLocale)?t.inheritLocale:!0;const a=Te(e&&r?e.locale.value:kt(t.locale)?t.locale:Ml),d=Te(e&&r?e.fallbackLocale.value:kt(t.fallbackLocale)||mo(t.fallbackLocale)||Fe(t.fallbackLocale)||t.fallbackLocale===!1?t.fallbackLocale:a.value),u=Te(Gf(a.value,t)),c=Te(Fe(t.datetimeFormats)?t.datetimeFormats:{[a.value]:{}}),p=Te(Fe(t.numberFormats)?t.numberFormats:{[a.value]:{}});let h=e?e.missingWarn:we(t.missingWarn)||Ws(t.missingWarn)?t.missingWarn:!0,g=e?e.fallbackWarn:we(t.fallbackWarn)||Ws(t.fallbackWarn)?t.fallbackWarn:!0,y=e?e.fallbackRoot:we(t.fallbackRoot)?t.fallbackRoot:!0,b=!!t.fallbackFormat,v=so(t.missing)?t.missing:null,D=so(t.missing)?yb(t.missing):null,I=so(t.postTranslation)?t.postTranslation:null,R=e?e.warnHtmlMessage:we(t.warnHtmlMessage)?t.warnHtmlMessage:!0,L=!!t.escapeParameter;const N=e?e.modifiers:Fe(t.modifiers)?t.modifiers:{};let W=t.pluralRules||e&&e.pluralRules,O;O=(()=>{s&&sb(null);const z={version:V8,locale:a.value,fallbackLocale:d.value,messages:u.value,modifiers:N,pluralRules:W,missing:D===null?void 0:D,missingWarn:h,fallbackWarn:g,fallbackFormat:b,unresolving:!0,postTranslation:I===null?void 0:I,warnHtmlMessage:R,escapeParameter:L,messageResolver:t.messageResolver,messageCompiler:t.messageCompiler,__meta:{framework:"vue"}};z.datetimeFormats=c.value,z.numberFormats=p.value,z.__datetimeFormatters=Fe(O)?O.__datetimeFormatters:void 0,z.__numberFormatters=Fe(O)?O.__numberFormatters:void 0;const ot=h8(z);return s&&sb(ot),ot})(),Iu(O,a.value,d.value);function H(){return[a.value,d.value,u.value,c.value,p.value]}const U=Yt({get:()=>a.value,set:z=>{a.value=z,O.locale=a.value}}),rt=Yt({get:()=>d.value,set:z=>{d.value=z,O.fallbackLocale=d.value,Iu(O,a.value,z)}}),et=Yt(()=>u.value),tt=Yt(()=>c.value),ct=Yt(()=>p.value);function Rt(){return so(I)?I:null}function nt(z){I=z,O.postTranslation=z}function pt(){return v}function Tt(z){z!==null&&(D=yb(z)),v=z,O.missing=D}const Mt=(z,ot,It,At,ie,G)=>{H();let J;try{__INTLIFY_PROD_DEVTOOLS__,s||(O.fallbackContext=e?C8():void 0),J=z(O)}finally{__INTLIFY_PROD_DEVTOOLS__,s||(O.fallbackContext=void 0)}if(It!=="translate exists"&&No(J)&&J===zf||It==="translate exists"&&!J){const[it,ht]=ot();return e&&y?At(e):ie(it)}else{if(G(J))return J;throw $o(Ao.UNEXPECTED_RETURN_TYPE)}};function Xt(...z){return Mt(ot=>Reflect.apply(db,null,[ot,...z]),()=>$h(...z),"translate",ot=>Reflect.apply(ot.t,ot,[...z]),ot=>ot,ot=>kt(ot))}function oe(...z){const[ot,It,At]=z;if(At&&!Ze(At))throw $o(Ao.INVALID_ARGUMENT);return Xt(ot,It,Xo({resolvedMessage:!0},At||{}))}function $t(...z){return Mt(ot=>Reflect.apply(mb,null,[ot,...z]),()=>Uh(...z),"datetime format",ot=>Reflect.apply(ot.d,ot,[...z]),()=>nb,ot=>kt(ot))}function Ee(...z){return Mt(ot=>Reflect.apply(fb,null,[ot,...z]),()=>jh(...z),"number format",ot=>Reflect.apply(ot.n,ot,[...z]),()=>nb,ot=>kt(ot))}function Qt(z){return z.map(ot=>kt(ot)||No(ot)||we(ot)?Cb(String(ot)):ot)}const ue={normalize:Qt,interpolate:z=>z,type:"vnode"};function ye(...z){return Mt(ot=>{let It;const At=ot;try{At.processor=ue,It=Reflect.apply(db,null,[At,...z])}finally{At.processor=null}return It},()=>$h(...z),"translate",ot=>ot[zh](...z),ot=>[Cb(ot)],ot=>mo(ot))}function Be(...z){return Mt(ot=>Reflect.apply(fb,null,[ot,...z]),()=>jh(...z),"number format",ot=>ot[Kh](...z),gb,ot=>kt(ot)||mo(ot))}function _e(...z){return Mt(ot=>Reflect.apply(mb,null,[ot,...z]),()=>Uh(...z),"datetime format",ot=>ot[Gh](...z),gb,ot=>kt(ot)||mo(ot))}function ze(z){W=z,O.pluralRules=W}function Oe(z,ot){return Mt(()=>{if(!z)return!1;const It=kt(ot)?ot:a.value,At=B(It),ie=O.messageResolver(At,z);return Ol(ie)||ui(ie)||kt(ie)},()=>[z],"translate exists",It=>Reflect.apply(It.te,It,[z,ot]),D8,It=>we(It))}function Xe(z){let ot=null;const It=QL(O,d.value,a.value);for(let At=0;At<It.length;At++){const ie=u.value[It[At]]||{},G=O.messageResolver(ie,z);if(G!=null){ot=G;break}}return ot}function V(z){const ot=Xe(z);return ot??(e?e.tm(z)||{}:{})}function B(z){return u.value[z]||{}}function M(z,ot){if(i){const It={[z]:ot};for(const At in It)hd(It,At)&&Fd(It[At]);ot=It[z]}u.value[z]=ot,O.messages=u.value}function K(z,ot){u.value[z]=u.value[z]||{};const It={[z]:ot};for(const At in It)hd(It,At)&&Fd(It[At]);ot=It[z],td(ot,u.value[z]),O.messages=u.value}function Q(z){return c.value[z]||{}}function ut(z,ot){c.value[z]=ot,O.datetimeFormats=c.value,cb(O,z,ot)}function Dt(z,ot){c.value[z]=Xo(c.value[z]||{},ot),O.datetimeFormats=c.value,cb(O,z,ot)}function Ct(z){return p.value[z]||{}}function bt(z,ot){p.value[z]=ot,O.numberFormats=p.value,pb(O,z,ot)}function Ft(z,ot){p.value[z]=Xo(p.value[z]||{},ot),O.numberFormats=p.value,pb(O,z,ot)}Fb++,e&&Mh&&(qe(e.locale,z=>{r&&(a.value=z,O.locale=z,Iu(O,a.value,d.value))}),qe(e.fallbackLocale,z=>{r&&(d.value=z,O.fallbackLocale=z,Iu(O,a.value,d.value))}));const xt={id:Fb,locale:U,fallbackLocale:rt,get inheritLocale(){return r},set inheritLocale(z){r=z,z&&e&&(a.value=e.locale.value,d.value=e.fallbackLocale.value,Iu(O,a.value,d.value))},get availableLocales(){return Object.keys(u.value).sort()},messages:et,get modifiers(){return N},get pluralRules(){return W||{}},get isGlobal(){return s},get missingWarn(){return h},set missingWarn(z){h=z,O.missingWarn=h},get fallbackWarn(){return g},set fallbackWarn(z){g=z,O.fallbackWarn=g},get fallbackRoot(){return y},set fallbackRoot(z){y=z},get fallbackFormat(){return b},set fallbackFormat(z){b=z,O.fallbackFormat=b},get warnHtmlMessage(){return R},set warnHtmlMessage(z){R=z,O.warnHtmlMessage=z},get escapeParameter(){return L},set escapeParameter(z){L=z,O.escapeParameter=z},t:Xt,getLocaleMessage:B,setLocaleMessage:M,mergeLocaleMessage:K,getPostTranslationHandler:Rt,setPostTranslationHandler:nt,getMissingHandler:pt,setMissingHandler:Tt,[cD]:ze};return xt.datetimeFormats=tt,xt.numberFormats=ct,xt.rt=oe,xt.te=Oe,xt.tm=V,xt.d=$t,xt.n=Ee,xt.getDateTimeFormat=Q,xt.setDateTimeFormat=ut,xt.mergeDateTimeFormat=Dt,xt.getNumberFormat=Ct,xt.setNumberFormat=bt,xt.mergeNumberFormat=Ft,xt[fD]=n,xt[zh]=ye,xt[Gh]=_e,xt[Kh]=Be,xt}function R8(t){const o=kt(t.locale)?t.locale:Ml,e=kt(t.fallbackLocale)||mo(t.fallbackLocale)||Fe(t.fallbackLocale)||t.fallbackLocale===!1?t.fallbackLocale:o,n=so(t.missing)?t.missing:void 0,s=we(t.silentTranslationWarn)||Ws(t.silentTranslationWarn)?!t.silentTranslationWarn:!0,i=we(t.silentFallbackWarn)||Ws(t.silentFallbackWarn)?!t.silentFallbackWarn:!0,r=we(t.fallbackRoot)?t.fallbackRoot:!0,a=!!t.formatFallbackMessages,d=Fe(t.modifiers)?t.modifiers:{},u=t.pluralizationRules,c=so(t.postTranslation)?t.postTranslation:void 0,p=kt(t.warnHtmlInMessage)?t.warnHtmlInMessage!=="off":!0,h=!!t.escapeParameterHtml,g=we(t.sync)?t.sync:!0;let y=t.messages;if(Fe(t.sharedMessages)){const N=t.sharedMessages;y=Object.keys(N).reduce((O,X)=>{const H=O[X]||(O[X]={});return Xo(H,N[X]),O},y||{})}const{__i18n:b,__root:v,__injectWithOption:D}=t,I=t.datetimeFormats,R=t.numberFormats,L=t.flatJson;return{locale:o,fallbackLocale:e,messages:y,flatJson:L,datetimeFormats:I,numberFormats:R,missing:n,missingWarn:s,fallbackWarn:i,fallbackRoot:r,fallbackFormat:a,modifiers:d,pluralRules:u,postTranslation:c,warnHtmlMessage:p,escapeParameter:h,messageResolver:t.messageResolver,inheritLocale:g,__i18n:b,__root:v,__injectWithOption:D}}function Zh(t={},o){{const e=sg(R8(t)),{__extender:n}=t,s={id:e.id,get locale(){return e.locale.value},set locale(i){e.locale.value=i},get fallbackLocale(){return e.fallbackLocale.value},set fallbackLocale(i){e.fallbackLocale.value=i},get messages(){return e.messages.value},get datetimeFormats(){return e.datetimeFormats.value},get numberFormats(){return e.numberFormats.value},get availableLocales(){return e.availableLocales},get formatter(){return{interpolate(){return[]}}},set formatter(i){},get missing(){return e.getMissingHandler()},set missing(i){e.setMissingHandler(i)},get silentTranslationWarn(){return we(e.missingWarn)?!e.missingWarn:e.missingWarn},set silentTranslationWarn(i){e.missingWarn=we(i)?!i:i},get silentFallbackWarn(){return we(e.fallbackWarn)?!e.fallbackWarn:e.fallbackWarn},set silentFallbackWarn(i){e.fallbackWarn=we(i)?!i:i},get modifiers(){return e.modifiers},get formatFallbackMessages(){return e.fallbackFormat},set formatFallbackMessages(i){e.fallbackFormat=i},get postTranslation(){return e.getPostTranslationHandler()},set postTranslation(i){e.setPostTranslationHandler(i)},get sync(){return e.inheritLocale},set sync(i){e.inheritLocale=i},get warnHtmlInMessage(){return e.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(i){e.warnHtmlMessage=i!=="off"},get escapeParameterHtml(){return e.escapeParameter},set escapeParameterHtml(i){e.escapeParameter=i},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(i){},get pluralizationRules(){return e.pluralRules||{}},__composer:e,t(...i){const[r,a,d]=i,u={};let c=null,p=null;if(!kt(r))throw $o(Ao.INVALID_ARGUMENT);const h=r;return kt(a)?u.locale=a:mo(a)?c=a:Fe(a)&&(p=a),mo(d)?c=d:Fe(d)&&(p=d),Reflect.apply(e.t,e,[h,c||p||{},u])},rt(...i){return Reflect.apply(e.rt,e,[...i])},tc(...i){const[r,a,d]=i,u={plural:1};let c=null,p=null;if(!kt(r))throw $o(Ao.INVALID_ARGUMENT);const h=r;return kt(a)?u.locale=a:No(a)?u.plural=a:mo(a)?c=a:Fe(a)&&(p=a),kt(d)?u.locale=d:mo(d)?c=d:Fe(d)&&(p=d),Reflect.apply(e.t,e,[h,c||p||{},u])},te(i,r){return e.te(i,r)},tm(i){return e.tm(i)},getLocaleMessage(i){return e.getLocaleMessage(i)},setLocaleMessage(i,r){e.setLocaleMessage(i,r)},mergeLocaleMessage(i,r){e.mergeLocaleMessage(i,r)},d(...i){return Reflect.apply(e.d,e,[...i])},getDateTimeFormat(i){return e.getDateTimeFormat(i)},setDateTimeFormat(i,r){e.setDateTimeFormat(i,r)},mergeDateTimeFormat(i,r){e.mergeDateTimeFormat(i,r)},n(...i){return Reflect.apply(e.n,e,[...i])},getNumberFormat(i){return e.getNumberFormat(i)},setNumberFormat(i,r){e.setNumberFormat(i,r)},mergeNumberFormat(i,r){e.mergeNumberFormat(i,r)},getChoiceIndex(i,r){return-1}};return s.__extender=n,s}}const ag={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:t=>t==="parent"||t==="global",default:"parent"},i18n:{type:Object}};function x8({slots:t},o){return o.length===1&&o[0]==="default"?(t.default?t.default():[]).reduce((n,s)=>[...n,...s.type===Lt?s.children:[s]],[]):o.reduce((e,n)=>{const s=t[n];return s&&(e[n]=s()),e},{})}function hD(t){return Lt}const _8=lt({name:"i18n-t",props:Xo({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:t=>No(t)||!isNaN(t)}},ag),setup(t,o){const{slots:e,attrs:n}=o,s=t.i18n||Kf({useScope:t.scope,__useComponent:!0});return()=>{const i=Object.keys(e).filter(p=>p!=="_"),r={};t.locale&&(r.locale=t.locale),t.plural!==void 0&&(r.plural=kt(t.plural)?+t.plural:t.plural);const a=x8(o,i),d=s[zh](t.keypath,a,r),u=Xo({},n),c=kt(t.tag)||Ze(t.tag)?t.tag:hD();return Xl(c,u,d)}}}),Sb=_8;function I8(t){return mo(t)&&!kt(t[0])}function gD(t,o,e,n){const{slots:s,attrs:i}=o;return()=>{const r={part:!0};let a={};t.locale&&(r.locale=t.locale),kt(t.format)?r.key=t.format:Ze(t.format)&&(kt(t.format.key)&&(r.key=t.format.key),a=Object.keys(t.format).reduce((h,g)=>e.includes(g)?Xo({},h,{[g]:t.format[g]}):h,{}));const d=n(t.value,r,a);let u=[r.key];mo(d)?u=d.map((h,g)=>{const y=s[h.type],b=y?y({[h.type]:h.value,index:g,parts:d}):[h.value];return I8(b)&&(b[0].key=`${h.type}-${g}`),b}):kt(d)&&(u=[d]);const c=Xo({},i),p=kt(t.tag)||Ze(t.tag)?t.tag:hD();return Xl(p,c,u)}}const E8=lt({name:"i18n-n",props:Xo({value:{type:Number,required:!0},format:{type:[String,Object]}},ag),setup(t,o){const e=t.i18n||Kf({useScope:"parent",__useComponent:!0});return gD(t,o,uD,(...n)=>e[Kh](...n))}}),bb=E8,P8=lt({name:"i18n-d",props:Xo({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},ag),setup(t,o){const e=t.i18n||Kf({useScope:"parent",__useComponent:!0});return gD(t,o,lD,(...n)=>e[Gh](...n))}}),Tb=P8;function N8(t,o){const e=t;if(t.mode==="composition")return e.__getInstance(o)||t.global;{const n=e.__getInstance(o);return n!=null?n.__composer:t.global.__composer}}function w8(t){const o=r=>{const{instance:a,modifiers:d,value:u}=r;if(!a||!a.$)throw $o(Ao.UNEXPECTED_ERROR);const c=N8(t,a.$),p=Bb(u);return[Reflect.apply(c.t,c,[...Vb(p)]),c]};return{created:(r,a)=>{const[d,u]=o(a);Mh&&t.global===u&&(r.__i18nWatcher=qe(u.locale,()=>{a.instance&&a.instance.$forceUpdate()})),r.__composer=u,r.textContent=d},unmounted:r=>{Mh&&r.__i18nWatcher&&(r.__i18nWatcher(),r.__i18nWatcher=void 0,delete r.__i18nWatcher),r.__composer&&(r.__composer=void 0,delete r.__composer)},beforeUpdate:(r,{value:a})=>{if(r.__composer){const d=r.__composer,u=Bb(a);r.textContent=Reflect.apply(d.t,d,[...Vb(u)])}},getSSRProps:r=>{const[a]=o(r);return{textContent:a}}}}function Bb(t){if(kt(t))return{path:t};if(Fe(t)){if(!("path"in t))throw $o(Ao.REQUIRED_VALUE,"path");return t}else throw $o(Ao.INVALID_VALUE)}function Vb(t){const{path:o,locale:e,args:n,choice:s,plural:i}=t,r={},a=n||{};return kt(e)&&(r.locale=e),No(s)&&(r.plural=s),No(i)&&(r.plural=i),[o,a,r]}function A8(t,o,...e){const n=Fe(e[0])?e[0]:{},s=!!n.useI18nComponentName;(we(n.globalInstall)?n.globalInstall:!0)&&([s?"i18n":Sb.name,"I18nT"].forEach(r=>t.component(r,Sb)),[bb.name,"I18nN"].forEach(r=>t.component(r,bb)),[Tb.name,"I18nD"].forEach(r=>t.component(r,Tb))),t.directive("t",w8(o))}function W8(t,o,e){return{beforeCreate(){const n=Uo();if(!n)throw $o(Ao.UNEXPECTED_ERROR);const s=this.$options;if(s.i18n){const i=s.i18n;if(s.__i18n&&(i.__i18n=s.__i18n),i.__root=o,this===this.$root)this.$i18n=Lb(t,i);else{i.__injectWithOption=!0,i.__extender=e.__vueI18nExtend,this.$i18n=Zh(i);const r=this.$i18n;r.__extender&&(r.__disposer=r.__extender(this.$i18n))}}else if(s.__i18n)if(this===this.$root)this.$i18n=Lb(t,s);else{this.$i18n=Zh({__i18n:s.__i18n,__injectWithOption:!0,__extender:e.__vueI18nExtend,__root:o});const i=this.$i18n;i.__extender&&(i.__disposer=i.__extender(this.$i18n))}else this.$i18n=t;s.__i18nGlobal&&CD(o,s,s),this.$t=(...i)=>this.$i18n.t(...i),this.$rt=(...i)=>this.$i18n.rt(...i),this.$tc=(...i)=>this.$i18n.tc(...i),this.$te=(i,r)=>this.$i18n.te(i,r),this.$d=(...i)=>this.$i18n.d(...i),this.$n=(...i)=>this.$i18n.n(...i),this.$tm=i=>this.$i18n.tm(i),e.__setInstance(n,this.$i18n)},mounted(){},unmounted(){const n=Uo();if(!n)throw $o(Ao.UNEXPECTED_ERROR);const s=this.$i18n;delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,s.__disposer&&(s.__disposer(),delete s.__disposer,delete s.__extender),e.__deleteInstance(n),delete this.$i18n}}}function Lb(t,o){t.locale=o.locale||t.locale,t.fallbackLocale=o.fallbackLocale||t.fallbackLocale,t.missing=o.missing||t.missing,t.silentTranslationWarn=o.silentTranslationWarn||t.silentFallbackWarn,t.silentFallbackWarn=o.silentFallbackWarn||t.silentFallbackWarn,t.formatFallbackMessages=o.formatFallbackMessages||t.formatFallbackMessages,t.postTranslation=o.postTranslation||t.postTranslation,t.warnHtmlInMessage=o.warnHtmlInMessage||t.warnHtmlInMessage,t.escapeParameterHtml=o.escapeParameterHtml||t.escapeParameterHtml,t.sync=o.sync||t.sync,t.__composer[cD](o.pluralizationRules||t.pluralizationRules);const e=Gf(t.locale,{messages:o.messages,__i18n:o.__i18n});return Object.keys(e).forEach(n=>t.mergeLocaleMessage(n,e[n])),o.datetimeFormats&&Object.keys(o.datetimeFormats).forEach(n=>t.mergeDateTimeFormat(n,o.datetimeFormats[n])),o.numberFormats&&Object.keys(o.numberFormats).forEach(n=>t.mergeNumberFormat(n,o.numberFormats[n])),t}const k8=Ks("global-vue-i18n");function M8(t={},o){const e=__VUE_I18N_LEGACY_API__&&we(t.legacy)?t.legacy:__VUE_I18N_LEGACY_API__,n=we(t.globalInjection)?t.globalInjection:!0,s=__VUE_I18N_LEGACY_API__&&e?!!t.allowComposition:!0,i=new Map,[r,a]=O8(t,e),d=Ks("");function u(h){return i.get(h)||null}function c(h,g){i.set(h,g)}function p(h){i.delete(h)}{const h={get mode(){return __VUE_I18N_LEGACY_API__&&e?"legacy":"composition"},get allowComposition(){return s},async install(g,...y){if(g.__VUE_I18N_SYMBOL__=d,g.provide(g.__VUE_I18N_SYMBOL__,h),Fe(y[0])){const D=y[0];h.__composerExtend=D.__composerExtend,h.__vueI18nExtend=D.__vueI18nExtend}let b=null;!e&&n&&(b=Z8(g,h.global)),__VUE_I18N_FULL_INSTALL__&&A8(g,h,...y),__VUE_I18N_LEGACY_API__&&e&&g.mixin(W8(a,a.__composer,h));const v=g.unmount;g.unmount=()=>{b&&b(),h.dispose(),v()}},get global(){return a},dispose(){r.stop()},__instances:i,__getInstance:u,__setInstance:c,__deleteInstance:p};return h}}function Kf(t={}){const o=Uo();if(o==null)throw $o(Ao.MUST_BE_CALL_SETUP_TOP);if(!o.isCE&&o.appContext.app!=null&&!o.appContext.app.__VUE_I18N_SYMBOL__)throw $o(Ao.NOT_INSTALLED);const e=H8(o),n=U8(e),s=pD(o),i=$8(t,s);if(__VUE_I18N_LEGACY_API__&&e.mode==="legacy"&&!t.__useComponent){if(!e.allowComposition)throw $o(Ao.NOT_AVAILABLE_IN_LEGACY_MODE);return K8(o,i,n,t)}if(i==="global")return CD(n,t,s),n;if(i==="parent"){let d=j8(e,o,t.__useComponent);return d==null&&(d=n),d}const r=e;let a=r.__getInstance(o);if(a==null){const d=Xo({},t);"__i18n"in s&&(d.__i18n=s.__i18n),n&&(d.__root=n),a=sg(d),r.__composerExtend&&(a[Yh]=r.__composerExtend(a)),G8(r,o,a),r.__setInstance(o,a)}return a}function O8(t,o,e){const n=f0();{const s=__VUE_I18N_LEGACY_API__&&o?n.run(()=>Zh(t)):n.run(()=>sg(t));if(s==null)throw $o(Ao.UNEXPECTED_ERROR);return[n,s]}}function H8(t){{const o=wr(t.isCE?k8:t.appContext.app.__VUE_I18N_SYMBOL__);if(!o)throw $o(t.isCE?Ao.NOT_INSTALLED_WITH_PROVIDE:Ao.UNEXPECTED_ERROR);return o}}function $8(t,o){return jf(t)?"__i18n"in o?"local":"global":t.useScope?t.useScope:"local"}function U8(t){return t.mode==="composition"?t.global:t.global.__composer}function j8(t,o,e=!1){let n=null;const s=o.root;let i=z8(o,e);for(;i!=null;){const r=t;if(t.mode==="composition")n=r.__getInstance(i);else if(__VUE_I18N_LEGACY_API__){const a=r.__getInstance(i);a!=null&&(n=a.__composer,e&&n&&!n[fD]&&(n=null))}if(n!=null||s===i)break;i=i.parent}return n}function z8(t,o=!1){return t==null?null:o&&t.vnode.ctx||t.parent}function G8(t,o,e){Wi(()=>{},o),Ed(()=>{const n=e;t.__deleteInstance(o);const s=n[Yh];s&&(s(),delete n[Yh])},o)}function K8(t,o,e,n={}){const s=o==="local",i=qi(null);if(s&&t.proxy&&!(t.proxy.$options.i18n||t.proxy.$options.__i18n))throw $o(Ao.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const r=we(n.inheritLocale)?n.inheritLocale:!kt(n.locale),a=Te(!s||r?e.locale.value:kt(n.locale)?n.locale:Ml),d=Te(!s||r?e.fallbackLocale.value:kt(n.fallbackLocale)||mo(n.fallbackLocale)||Fe(n.fallbackLocale)||n.fallbackLocale===!1?n.fallbackLocale:a.value),u=Te(Gf(a.value,n)),c=Te(Fe(n.datetimeFormats)?n.datetimeFormats:{[a.value]:{}}),p=Te(Fe(n.numberFormats)?n.numberFormats:{[a.value]:{}}),h=s?e.missingWarn:we(n.missingWarn)||Ws(n.missingWarn)?n.missingWarn:!0,g=s?e.fallbackWarn:we(n.fallbackWarn)||Ws(n.fallbackWarn)?n.fallbackWarn:!0,y=s?e.fallbackRoot:we(n.fallbackRoot)?n.fallbackRoot:!0,b=!!n.fallbackFormat,v=so(n.missing)?n.missing:null,D=so(n.postTranslation)?n.postTranslation:null,I=s?e.warnHtmlMessage:we(n.warnHtmlMessage)?n.warnHtmlMessage:!0,R=!!n.escapeParameter,L=s?e.modifiers:Fe(n.modifiers)?n.modifiers:{},N=n.pluralRules||s&&e.pluralRules;function W(){return[a.value,d.value,u.value,c.value,p.value]}const O=Yt({get:()=>i.value?i.value.locale.value:a.value,set:B=>{i.value&&(i.value.locale.value=B),a.value=B}}),X=Yt({get:()=>i.value?i.value.fallbackLocale.value:d.value,set:B=>{i.value&&(i.value.fallbackLocale.value=B),d.value=B}}),H=Yt(()=>i.value?i.value.messages.value:u.value),U=Yt(()=>c.value),rt=Yt(()=>p.value);function et(){return i.value?i.value.getPostTranslationHandler():D}function tt(B){i.value&&i.value.setPostTranslationHandler(B)}function ct(){return i.value?i.value.getMissingHandler():v}function Rt(B){i.value&&i.value.setMissingHandler(B)}function nt(B){return W(),B()}function pt(...B){return i.value?nt(()=>Reflect.apply(i.value.t,null,[...B])):nt(()=>"")}function Tt(...B){return i.value?Reflect.apply(i.value.rt,null,[...B]):""}function Mt(...B){return i.value?nt(()=>Reflect.apply(i.value.d,null,[...B])):nt(()=>"")}function Xt(...B){return i.value?nt(()=>Reflect.apply(i.value.n,null,[...B])):nt(()=>"")}function oe(B){return i.value?i.value.tm(B):{}}function $t(B,M){return i.value?i.value.te(B,M):!1}function Ee(B){return i.value?i.value.getLocaleMessage(B):{}}function Qt(B,M){i.value&&(i.value.setLocaleMessage(B,M),u.value[B]=M)}function pe(B,M){i.value&&i.value.mergeLocaleMessage(B,M)}function ue(B){return i.value?i.value.getDateTimeFormat(B):{}}function ye(B,M){i.value&&(i.value.setDateTimeFormat(B,M),c.value[B]=M)}function Be(B,M){i.value&&i.value.mergeDateTimeFormat(B,M)}function _e(B){return i.value?i.value.getNumberFormat(B):{}}function ze(B,M){i.value&&(i.value.setNumberFormat(B,M),p.value[B]=M)}function Oe(B,M){i.value&&i.value.mergeNumberFormat(B,M)}const Xe={get id(){return i.value?i.value.id:-1},locale:O,fallbackLocale:X,messages:H,datetimeFormats:U,numberFormats:rt,get inheritLocale(){return i.value?i.value.inheritLocale:r},set inheritLocale(B){i.value&&(i.value.inheritLocale=B)},get availableLocales(){return i.value?i.value.availableLocales:Object.keys(u.value)},get modifiers(){return i.value?i.value.modifiers:L},get pluralRules(){return i.value?i.value.pluralRules:N},get isGlobal(){return i.value?i.value.isGlobal:!1},get missingWarn(){return i.value?i.value.missingWarn:h},set missingWarn(B){i.value&&(i.value.missingWarn=B)},get fallbackWarn(){return i.value?i.value.fallbackWarn:g},set fallbackWarn(B){i.value&&(i.value.missingWarn=B)},get fallbackRoot(){return i.value?i.value.fallbackRoot:y},set fallbackRoot(B){i.value&&(i.value.fallbackRoot=B)},get fallbackFormat(){return i.value?i.value.fallbackFormat:b},set fallbackFormat(B){i.value&&(i.value.fallbackFormat=B)},get warnHtmlMessage(){return i.value?i.value.warnHtmlMessage:I},set warnHtmlMessage(B){i.value&&(i.value.warnHtmlMessage=B)},get escapeParameter(){return i.value?i.value.escapeParameter:R},set escapeParameter(B){i.value&&(i.value.escapeParameter=B)},t:pt,getPostTranslationHandler:et,setPostTranslationHandler:tt,getMissingHandler:ct,setMissingHandler:Rt,rt:Tt,d:Mt,n:Xt,tm:oe,te:$t,getLocaleMessage:Ee,setLocaleMessage:Qt,mergeLocaleMessage:pe,getDateTimeFormat:ue,setDateTimeFormat:ye,mergeDateTimeFormat:Be,getNumberFormat:_e,setNumberFormat:ze,mergeNumberFormat:Oe};function V(B){B.locale.value=a.value,B.fallbackLocale.value=d.value,Object.keys(u.value).forEach(M=>{B.mergeLocaleMessage(M,u.value[M])}),Object.keys(c.value).forEach(M=>{B.mergeDateTimeFormat(M,c.value[M])}),Object.keys(p.value).forEach(M=>{B.mergeNumberFormat(M,p.value[M])}),B.escapeParameter=R,B.fallbackFormat=b,B.fallbackRoot=y,B.fallbackWarn=g,B.missingWarn=h,B.warnHtmlMessage=I}return _d(()=>{if(t.proxy==null||t.proxy.$i18n==null)throw $o(Ao.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const B=i.value=t.proxy.$i18n.__composer;o==="global"?(a.value=B.locale.value,d.value=B.fallbackLocale.value,u.value=B.messages.value,c.value=B.datetimeFormats.value,p.value=B.numberFormats.value):s&&V(B)}),Xe}const Y8=["locale","fallbackLocale","availableLocales"],Db=["t","rt","d","n","tm","te"];function Z8(t,o){const e=Object.create(null);return Y8.forEach(s=>{const i=Object.getOwnPropertyDescriptor(o,s);if(!i)throw $o(Ao.UNEXPECTED_ERROR);const r=To(i.value)?{get(){return i.value.value},set(a){i.value.value=a}}:{get(){return i.get&&i.get()}};Object.defineProperty(e,s,r)}),t.config.globalProperties.$i18n=e,Db.forEach(s=>{const i=Object.getOwnPropertyDescriptor(o,s);if(!i||!i.value)throw $o(Ao.UNEXPECTED_ERROR);Object.defineProperty(t.config.globalProperties,`$${s}`,i)}),()=>{delete t.config.globalProperties.$i18n,Db.forEach(s=>{delete t.config.globalProperties[`$${s}`]})}}L8();__INTLIFY_JIT_COMPILATION__?rb(y8):rb(F8);m8(G7);c8(QL);if(__INTLIFY_PROD_DEVTOOLS__){const t=Pr();t.__INTLIFY__=!0,e8(t.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const J8={favoritesTemplateList:{title:"Choose a template or start from scratch",customFavoritesButton:"Custom",defaultFavoritesButton:"Default",emailTemplatePreview:{title:"Preview",applyButton:"Select",cancelButton:"Cancel"},newTemplate:"Blank Template"},asideMenu:{exitButtonTooltip:"Exit",componentLibraryButtonTooltip:"Select a component to add to the template",themeLibraryButtonTooltip:"Themes",themeStylesButtonTooltip:"Styles",componentLibrary:{title:"Components",myComponentsButton:"Custom",defaultComponentsButton:"Default",hideEmptySectionsCheckbox:"Hide empty sections",addComponentLibrarySectionButton:"Add section",createComponentLibrarySectionModalWindow:{title:"New section",inputLabel:"Name",inputPlaceholder:"Section name...",cancelButton:"Cancel",applyButton:"Save"},componentSection:{emptySectionText:"No components in this group",deleteSectionButton:"Delete section",cancelDragging:"Cancel",deleteComponentLibrarySectionModalWindow:{title:"Delete section",description:"Are you sure you want to delete the section?",cancelButton:"Cancel",applyButton:"Delete"},componentSectionItem:{editComponentButton:"Edit",deleteComponentButton:"Delete",editComponentLibrarySectionModalWindow:{title:"Edit component",componentNameLabel:"Name",componentNamePlaceholder:"Component name...",componentSectionLabel:"Section",cancelButton:"Cancel",applyButton:"Save"},deleteComponentLibrarySectionItemModalWindow:{title:"Delete component",description:"Are you sure you want to delete the component?",cancelButton:"Cancel",applyButton:"Delete"}}}},themeStyles:{title:"Styles",templateSettingsButton:"Template",componentsSettingsButton:"Components",themeTemplateSettings:{themeTemplateWidthLabel:"Width",templateResponsiveWidthLabel:"Responsive width",templateResponsiveWidthToolbar:"Email width automatically adapts to mobile and tablet devices.",themeTemplateRadiusLabel:"Border radius",templateColorTitle:"Color",templateBodyColor:"Email body",templateBackgroundColor:"Background",themeTemplateFontFamilyTitle:"Font",themePaddings:{title:"Content paddings",allButton:"All",manualButton:"Separately",custom:{topLabel:"Top",bottomLabel:"Bottom",leftLabel:"Left",rightLabel:"Right"}}},themeComponentSettings:{themeComponentPaddings:{title:"Paddings",smallLabel:"Small",mediumLabel:"Medium",largeLabel:"Large",hugeLabel:"Huge",buttonLabel:"Buttons",buttonLeftRightLabel:"Left, right",buttonTopBottomLabel:"Top, bottom"},themeComponentRadius:{title:"Border radius",manualComponentRadiusCheckbox:"Customize separately",cardLabel:"Cards",buttonLabel:"Buttons",bannerLabel:"Banners"},themeComponentColor:{title:"Color",primaryColorLabel:"Primary",primaryTextColorLabel:"Primary text",secondaryColorLabel:"Secondary",secondaryTextColorLabel:"Secondary text",cardBackgroundColor:"Product cards"},themeComponentFontSettings:{title:"Font",titleLabel:"Title",headingLabel:"Heading",subHeadingLabel:"Subheading",largeTextLabel:"Large text",normalTextLabel:"Text",descriptionTextLabel:"Descriptions",buttonTextLabel:"Buttons",linkTextLabel:"Links"}}},themeLibrary:{title:"Theme",userThemeButtonText:"Custom",defaultThemeButtonText:"Default",hideEmptySectionsCheckbox:"Hide empty sections",addThemeLibrarySectionButton:"Add section",addThemeLibrarySectionItemButton:"Save theme",addThemeLibrarySectionItemButtonTooltip:"You need to create a theme section before saving",createThemeLibrarySectionModalWindow:{title:"New section",inputLabel:"Name",inputPlaceholder:"Section name...",cancelButton:"Cancel",applyButton:"Save"},addThemeLibrarySectionItemModalWindow:{title:"Save theme",inputNameLabel:"Name",inputNamePlaceholder:"Theme name...",inputGroupLabel:"Group",cancelButton:"Cancel",applyButton:"Save"},themeSection:{emptySectionText:"No theme templates in this group",deleteSectionButton:"Delete section",deleteThemeLibrarySectionModalWindow:{title:"Delete section",description:"Are you sure you want to delete the section?",cancelButton:"Cancel",applyButton:"Delete"},themeSectionItem:{editThemeButton:"Edit",deleteThemeButton:"Delete",editThemeLibrarySectionModalWindow:{title:"Edit theme",themeNameLabel:"Name",themeNamePlaceholder:"Theme name...",themeSectionLabel:"Group",cancelButton:"Cancel",applyButton:"Save"},deleteThemeLibrarySectionItemModalWindow:{title:"Delete theme",description:"Are you sure you want to delete the theme?",cancelButton:"Cancel",applyButton:"Delete"}}}}},productShelfBuilderComponent:{title:"Product shelf settings",algorithmLabel:"Product selection algorithm",cancelButton:"Cancel",applyButton:"Apply",listSelector:{productListShelf:"Product shelf",relatedProductsForProductListShelf:"Related products for products",alternativeProductsForProductListShelf:"Alternative products for products",popularProductsInCategoryListShelf:"Popular products in category",popularProductsShelf:"Popular products",latestProductsShelf:"Latest products",saleByLatestShelf:"Latest products on sale",saleByPopularShelf:"Popular products on sale",abandonedBasketProductListShelf:"Abandoned cart products",alternativeProductsForAbandonedProductListShelf:"Alternative products for abandoned cart",relatedProductsForAbandonedProductListShelf:"Related products for abandoned cart",abandonedViewProductListShelf:"Abandoned view products",alternativeProductsForAbandonedViewProductListShelf:"Alternative products for abandoned view",relatedProductsForAbandonedViewProductListShelf:"Related products for abandoned view",abandonedViewPriceDropProductListShelf:"Abandoned view products with price drop",alternativeProductsForAbandonedViewPriceDropProductListShelf:"Alternative products with price drop for abandoned view",relatedProductsForAbandonedViewPriceDropProductListShelf:"Related products with price drop for abandoned view",priceDropProductListShelf:"Price Drop Products",alternativeProductsForPriceDropProductListShelf:"Alternative products for price drop products",relatedProductsForPriceDropProductListShelf:"Related products for price drop products",abandonedViewNAProductListShelf:"Abandoned view products are not available",relatedProductsForAbandonedViewNAProductListShelf:"Related products to not available products from abandoned view",alternativeProductsForAbandonedViewNAProductListShelf:"Alternative products to not available products from abandoned view",popularProductsForAbandonedCategoriesShelf:"Popular products from Abandoned category",searchRecommendationsForAbandonedSearchShelf:"Search recommendations for Abandoned search",abandonedBasketPriceDropProductListShelf:"Price drop on abandoned cart products",alternativeProductsForAbandonedBasketPriceDropProductListShelf:"Alternative products for abandoned cart price drop products",postTransactionProductListShelf:"Post transaction products",relatedProductsForPostTransactionProductListShelf:"Related products for post transaction products",alternativeProductsForPostTransactionProductListShelf:"Alternative products for post transaction products",productBackInStockProductListShelf:"Product back in stock",relatedProductsForProductBackInStockProductListShelf:"Related products for product back in stock",alternativeProductsForProductBackInStockProductListShelf:"Alternative products for product back in stock",productStillOutOfStockProductListShelf:"Product still out of stock",relatedProductsForProductStillOutOfStockProductListShelf:"Related products for product still out of stock",alternativeProductsForProductStillOutOfStockProductListShelf:"Alternative products for product still out of stock",repurchaseProductListShelf:"Repurchase products",relatedProductsForRepurchaseProductListShelf:"Related products for repurchase products",alternativeProductsForRepurchaseProductListShelf:"Alternative products for repurchase products",nextBestOfferRecommendationsShelf:"Products from recommended categories for purchased products"},productShelfBuilders:{stockLabel:"Stock ID",stockPlaceholder:"Select an ID",defaultStock:"Default",defaultStockCheckbox:"Use default stock ID",productListShelfLimiterLabel:"Number of products",emptySearch:"No results for search",notAvailableLabel:"not available",productsAtLeast:"From",productsLimit:"To",popularProductListDescription:"The email will display the most popular products in the store.",productListDescription:"Select products to display",relatedProductListDescription:"Select a product block to define which items will receive <b>related product</b> recommendations.<br>Note: Customers will see algorithmically generated <b>related products</b> in the email, not the specific products you select here.",alternativeProductListDescription:"Select a block of products to define which ones we will offer <b>alternative products</b> for.<br>Please note that customers will see in the email not the selected products, but the products calculated by the <b>alternative products</b> algorithm for the selected products.",popularFromCategoryListDescription:"Select a block of categories to define which ones we will offer <b>popular products</b> for.<br>Please note that customers will see additional products in the email that match your selection.",latestProductListDescription:"The email will display the latest products in the store",saleByLatestProductListDescription:"The email will display the latest products in the store on sale",saleByPopularProductListDescription:"The email will display popular products in the store on sale",productsSelectButton:"Select products",categorySelectButton:"Select categories",abandonedBasketProductListDescription:"The email will display products from the abandoned cart",alternativeProductsForAbandonedBasketProductListDescription:"The email will display alternative recommendations for abandoned cart products",relatedProductsForAbandonedBasketProductListDescription:"The email will display related recommendations for abandoned cart products",abandonedViewProductListDescription:"The email will display products from the abandoned view",alternativeProductsForAbandonedViewProductListDescription:"The email will display alternative recommendations for abandoned view products",relatedProductsForAbandonedViewProductListDescription:"The email will display related recommendations for abandoned view products",abandonedViewPriceDropProductListDescription:"The email will display products with price drop from the abandoned view",alternativeProductsForAbandonedViewPriceDropProductListDescription:"The email will display alternative recommendations for abandoned view products with price drop",relatedProductsForAbandonedViewPriceDropProductListDescription:"The email will display related recommendations for abandoned view products with price drop",priceDropProductListDescription:"The email will display products from the price drop",alternativeProductsForPriceDropProductListDescription:"The email will display alternative recommendations for price drop products",relatedProductsForPriceDropProductListDescription:"The email will display related recommendations for abandoned price drop",abandonedViewNAProductListDescription:"The email will display not available products from Abandoned view",relatedProductsForAbandonedViewNAProductListDescription:"The email will display related recommendations for abandoned view not available products",alternativeProductsForAbandonedViewNAProductListDescription:"The email will display alternative recommendations for abandoned view not available products",popularProductsForAbandonedCategoriesDescription:"The email will display popular products from abandoned categories",searchRecommendationsForAbandonedSearchDescription:"The email will display search recommendations for the abandoned search",abandonedBasketPriceDropProductListDescription:"The email will display products from the abandoned cart with price drop",alternativeProductsForAbandonedBasketPriceDropProductListDescription:"The email will display alternative recommendations for abandoned cart products with price drop",postTransactionProductListDescription:"The email will display products from the post transaction",relatedProductsForPostTransactionProductListDescription:"The email will display related recommendations for post transaction products",alternativeProductsForPostTransactionProductListDescription:"The email will display alternative recommendations for post transaction products",productBackInStockProductListDescription:"The email will display products from back in stock",relatedProductsForProductBackInStockProductListDescription:"The email will display related recommendations for back in stock products",alternativeProductsForProductBackInStockProductListDescription:"The email will display alternative recommendations for back in stock products",productStillOutOfStockProductListDescription:"The email will display products still out of stock",relatedProductsForProductStillOutOfStockProductListDescription:"The email will display related recommendations for still out of stock products",alternativeProductsForProductStillOutOfStockProductListDescription:"The email will display alternative recommendations for still out of stock products",repurchaseProductListDescription:"The email will display repurchase products",relatedProductsForRepurchaseProductListDescription:"The email will display related recommendations for repurchase products",alternativeProductsForRepurchaseProductListDescription:"The email will display alternative recommendations for repurchase products",nextBestOfferRecommendationsDescription:"The email will display products from recommended categories for purchased products"}},productListComposerModalWindow:{title:"Product list",cancelButton:"Cancel",applyButton:"Apply",clearListButton:"Clear",notAvailableLabel:"not available",searching:"Search...",loading:"Loading...",transferAllButton:"Add all",searchInputPlaceholder:"Name of one product or list of IDs",emptySearchProductListTopText:"Name of one product",emptySearchProductListBottomText:"or a list of IDs separated by commas",emptySelectedProductList:"The product list is currently empty.",selectedProductListTitle:"Product list",selectedProductListDeclensions:{one:"product",few:"products",many:"products"}},categoryListComposerModalWindow:{title:"Select categories",cancelButton:"Cancel",applyButton:"Apply",searching:"Search...",loading:"Loading...",transferAllButton:"Add all",searchInputPlaceholder:"Name of one category or list of IDs",emptySearchCategoryListText:"Enter a category name to display results.",emptySelectedCategoryListText:"The category list is currently empty.",selectedCategoryListTitleText:"Category list",selectedCategoryListDeclensions:{one:"category",few:"categories",many:"categories"}},topMenu:{preheaderSubjectUpdateButton:"Set subject",preheaderSubjectUpdateButtonTooltip:"Edit email subject and preheader",preheaderSubjectUpdateModalWindow:{title:"Subject settings",themeLabel:"Subject",themeInputPlaceholder:"Title that recipients will see in their email",preheaderLabel:"Preheader",preheaderInputPlaceholder:"Brief description visible right after the subject in the email list",applyButton:"Apply",cancelButton:"Cancel"},toggleDeviceBar:{disabledButtonTooltip:"Turn on responsive width to ensure proper display on all mobile devices and tablets"},exportMenu:{resetTemplateButton:{resetTemplateButton:"Reset template",resetTemplateButtonTooltip:"Reset template",modalWindow:{title:"Reset template",applyButton:"Reset",cancelButton:"Cancel",description:"Resetting the template will delete all current settings and content. This action cannot be undone."}},transactionalDataAppSettingsModifier:{button:"Email data",buttonTooltip:"Transactional email data settings",modalWindow:{title:"Transactional email data",label:"JSON",cancelButton:"Cancel",applyButton:"Apply"}},saveTemplateButton:{saveButton:"Save",errorButton:"Error",saveButtonTooltip:"Save template",errorButtonTooltip:"Template save error",errorNotificationWindowTitle:"Save error",errorNotificationWindowDescription:"Don't close the window! Contact Retail Rocket."}}},emailTemplate:{emailComponent:{emptyEmailComponentText:"Product shelf is hidden due to insufficient products",emptyEmailComponentTooltip:"The product shelf won't be displayed to recipients until it contains enough products"},dropHere:"Drop here",movementMenu:{draggingMenu:{moving:"Moving"},draggingButtonTooltip:"Move",moveToBottomButtonTooltip:"Move to bottom",moveToTopButtonTooltip:"Move to top",copyButtonTooltip:"Duplicate",saveButtonTooltip:"Save to library",disabledSaveButtonTooltip:"Для сохранения создайте секцию библиотеки компонентов",removeButtonTooltip:"Delete",removeWindowTitle:"Delete component",removeConfirmMessage:"Are you sure you want to delete the component?"},addComponentLibrarySectionItemModalWindow:{title:"Save component",nameLabel:"Name",namePlaceholder:"Component name...",groupLabel:"Group",cancelButton:"Cancel",applyButton:"Save"}},emailTemplateEditors:{emptyEditorText:"Select any email element to configure it",imageEditor:{title:"Image",removeWindowTitle:"Delete element",removeWindowDescription:"Are you sure you want to delete the Image element?",srcLabel:"Image link",srcPlaceholder:"Image link...",altLabel:"Alt text",altPlaceholder:"Alt text...",hrefLabel:"Click link",hrefPlaceholder:"Optional",retinaLabel:"For retina screens"},buttonEditor:{title:"Button",removeWindowTitle:"Delete element",removeWindowDescription:"Are you sure you want to delete the Button element?",inputTextLabel:"Text",inputTextPlaceholder:"Button text...",hrefLabel:"Click link",hrefPlaceholder:"Link address",backgroundColorLabel:"Background color",textStyleLabel:"Style"},spanEditor:{title:"Text",removeWindowTitle:"Delete element",removeWindowDescription:"Are you sure you want to delete the Text element?",inputTextPlaceholder:"Text...",textStyleLabel:"Style",inputHRefPlaceholder:"Link...",minHeightLabel:"Minimum number of lines"},spacerEditor:{title:"Spacer",removeWindowTitle:"Delete element",removeWindowDescription:"Are you sure you want to delete the Spacer element?",paddingLabel:"Spacer size",customPaddingLabel:"Custom",separatorLabel:"Separator"},unsubscribeLinkEditor:{title:"Unsubscribe link text",removeWindowTitle:"Delete element",removeWindowDescription:"Are you sure you want to delete the Unsubscribe link text element?",inputTextPlaceholder:"Text..."},emailComponentEditor:{title:"Row",removeWindowTitle:"Delete component",removeWindowDescription:"Are you sure you want to delete the component?",backgroundColorLabel:"Background color"},commonEditors:{cannotBeEditedLabel:"Cannot be edited",otherLabel:"Other",contentAlign:{label:"Alignment",fullWidthCheckboxLabel:"Full width"},border:{label:"Border"},borderRadius:{label:"Border radius",top:"Top",bottom:"Bottom",themeStyleLinkedText:"From component settings"},padding:{label:"Paddings",top:"Top",bottom:"Bottom",left:"Left",right:"Right",leftRight:"Left, right",topBottom:"Top, bottom",manualValue:"Manual",themeStyleLinked:"Automatic",labels:{themePaddingsSmall:"Small",themePaddingsMedium:"Medium",themePaddingsLarge:"Large",themePaddingsHuge:"Huge",bodyPaddingsLeft:"Left",bodyPaddingsBottom:"Bottom",bodyPaddingsRight:"Right",bodyPaddingsTop:"Top",custom:"Custom"}},color:{customColorLabel:"Other color",colorLabels:{none:"None",styleLinkedColor:"Link to style",emailBackgroundColor:"Email background",bodyColor:"Email body",primaryColor:"Primary color",secondaryColor:"Secondary color",primaryTextColor:"Primary text",secondaryTextColor:"Secondary text",cardBackgroundColor:"Product card color",buttonTextColor:"Buttons",titleColor:"Title",headingColor:"Heading",subHeadingColor:"Subheading",largeTextColor:"Large text",normalTextColor:"Text",descriptionTextColor:"Description",linkColor:"Link",custom:"Custom"}},fontStyle:{colorLabel:"Color",fontStyleLabel:"Style",settingLabels:{title:"Title",heading:"Heading",subHeading:"Subheading",largeText:"Large text",normalText:"Text",descriptionText:"Description",link:"Link",button:"Button",custom:"Custom"},customFontSettings:{textColorLabel:"Text color"}}}},UIComponents:{removeConfirmModalWindow:{title:"Delete element",cancelButton:"Cancel",applyButton:"Delete"},modalWindow:{closeButton:"Close"}},defaultThemeLibrary:{sections:{default:"Default",defaultThemeSectionItemName:"Default theme",detskiyMirSectionItemName:"Detskiy Mir",voltSectionItemName:"220 Volt"}},defaultComponentLibrary:{sections:{header:{sectionTitle:"Headers",components:{clothing:"Clothing",home:"Home",outdoor:"Outdoor",catalog:"Catalog",description:"Follow us for useful content and updates",youHave:"You have: ",bonuses:"435 points"}},menu:{sectionTitle:"Menu",components:{electronics:"Electronics",sale:"Sale",toys:"Toys",care:"Hygiene & Care",food:"Food",clothing:"Clothing & Footwear"}},banner:{sectionTitle:"Banners"},content:{sectionTitle:"Content",components:{cols:{col_1:{title:"Best Office Apps for Tablets",description:"Tablets have made office work much easier. Discover the best apps to help you stay productive wherever you are."},col_2:{title:"Digital Security Secrets: How to Protect Your Data",description:"With hacking and data leaks becoming more common, digital security is increasingly important. Learn how to protect your personal data online."},col_3:{title:"Gaming Keyboards: Selection Tips and Advice",description:"For gamers, choosing the right keyboard is crucial for your gaming experience. Learn what to look for in a gaming keyboard and how to improve your performance."},col_4:{title:"Success Secrets: 5 Simple Steps",description:"Discover five simple yet effective steps to help you achieve success in any area of life. Don't miss this opportunity to learn more and apply these principles today!"},col_5:{title:"Research: How Color Affects Mood",description:"We conducted research on how different colors affect our mood and emotional state. Learn more about our findings and how color choices can impact your brand perception."}},date:"October 23, 2023",read:"Read",site:"Site",open:"Open",title:"Discover Our Email Creation Service",largeText:"We're excited to introduce our new product - an email creation service. With this user-friendly and intuitive tool, you can easily create beautiful, professional emails in just a few simple steps. Our service offers a wide selection of customizable templates and design elements to help you create unique, engaging emails for your audience."}},button:{sectionTitle:"Buttons",components:{button:{catalog:"Catalog",account:"Account",site:"Website"}}},productShelf:{title:"Product Shelves",components:{productShelf:{title:"Title",currency:" RUB",button:"Buy",label:"Sale"}}},separator:{title:"Separator"},footer:{sectionTitle:"Footers",components:{link:{electronics:"Electronics",appliances:"Appliances",clothing:"Clothing",home:"Home",outdoor:"Outdoor",food:"Food",here:"here",unsubscribe:"Unsubscribe",copyRight:"© 2023-2024 Company name"},text:{description:"You received this email because you subscribed to Company name newsletters. You can unsubscribe by clicking ",copyRight:"© 2022 Nike"}}}}}},X8={favoritesTemplateList:{title:"Выберите шаблон или начните с чистого листа",defaultFavoritesButton:"Стандартные",customFavoritesButton:"Пользовательские",emailTemplatePreview:{title:"Предпросмотр",applyButton:"Выбрать",cancelButton:"Отмена"},newTemplate:"Чистый лист"},asideMenu:{exitButtonTooltip:"Выйти",componentLibraryButtonTooltip:"Выбрать компонент для добавления в шаблон",themeLibraryButtonTooltip:"Темы",themeStylesButtonTooltip:"Стили",componentLibrary:{title:"Компоненты",myComponentsButton:"Мои",defaultComponentsButton:"Стандартные",hideEmptySectionsCheckbox:"Скрыть пустые секции",addComponentLibrarySectionButton:"Добавить секцию",createComponentLibrarySectionModalWindow:{title:"Новая секция",inputLabel:"Название",inputPlaceholder:"Название секции...",cancelButton:"Отмена",applyButton:"Сохранить"},componentSection:{emptySectionText:"В этой группе нет компонентов",deleteSectionButton:"Удалить секцию",cancelDragging:"Отменить",deleteComponentLibrarySectionModalWindow:{title:"Удаление секции",description:"Вы действительно хотите удалить секцию",cancelButton:"Отмена",applyButton:"Удалить"},componentSectionItem:{editComponentButton:"Редактировать",deleteComponentButton:"Удалить",editComponentLibrarySectionModalWindow:{title:"Редактирование компонента",componentNameLabel:"Название",componentNamePlaceholder:"Название компонента...",componentSectionLabel:"Секция",cancelButton:"Отмена",applyButton:"Сохранить"},deleteComponentLibrarySectionItemModalWindow:{title:"Удаление компонента",description:"Вы действительно хотите удалить компонент?",cancelButton:"Отмена",applyButton:"Удалить"}}}},themeStyles:{title:"Стили",templateSettingsButton:"Письма",componentsSettingsButton:"Компонентов",themeTemplateSettings:{themeTemplateWidthLabel:"Ширина",templateResponsiveWidthLabel:"Адаптивная ширина",templateResponsiveWidthToolbar:"Письмо автоматически подстраивается под ширину телефонов и планшетов.",themeTemplateRadiusLabel:"Скругление",templateColorTitle:"Цвет",templateBodyColor:"Тело письма",templateBackgroundColor:"Фон",themeTemplateFontFamilyTitle:"Шрифт",themePaddings:{title:"Отступы до контента",allButton:"Все",manualButton:"Отдельно",custom:{topLabel:"Сверху",bottomLabel:"Снизу",leftLabel:"Слева",rightLabel:"Справа"}}},themeComponentSettings:{themeComponentPaddings:{title:"Отступы",smallLabel:"Маленькие",mediumLabel:"Средние",largeLabel:"Большие",hugeLabel:"Гигантские",buttonLabel:"У кнопок",buttonLeftRightLabel:"Слева, справа",buttonTopBottomLabel:"Сверху, снизу"},themeComponentRadius:{title:"Скругления",manualComponentRadiusCheckbox:"Настроить отдельно",cardLabel:"Карточки",buttonLabel:"Кнопки",bannerLabel:"Баннеры"},themeComponentColor:{title:"Цвет",primaryColorLabel:"Основной",primaryTextColorLabel:"Текст на нём",secondaryColorLabel:"Вторичный",secondaryTextColorLabel:"Текст на нём",cardBackgroundColor:"Карточки товаров"},themeComponentFontSettings:{title:"Шрифт",titleLabel:"Большой заголовок",headingLabel:"Заголовок",subHeadingLabel:"Подзаголовок",largeTextLabel:"Большой текст",normalTextLabel:"Текст",descriptionTextLabel:"Описания",buttonTextLabel:"Кнопки",linkTextLabel:"Ссылки"}}},themeLibrary:{title:"Тема оформления",userThemeButtonText:"Мои",defaultThemeButtonText:"Стандартные",hideEmptySectionsCheckbox:"Скрыть пустые секции",addThemeLibrarySectionButton:"Добавить секцию",addThemeLibrarySectionItemButton:"Сохранить тему",addThemeLibrarySectionItemButtonTooltip:"Для сохранения создайте секцию темы оформления",createThemeLibrarySectionModalWindow:{title:"Новая секция",inputLabel:"Название",inputPlaceholder:"Название секции...",cancelButton:"Отмена",applyButton:"Сохранить"},addThemeLibrarySectionItemModalWindow:{title:"Сохранение темы",inputNameLabel:"Название",inputNamePlaceholder:"Название темы...",inputGroupLabel:"Группа",cancelButton:"Отмена",applyButton:"Сохранить"},themeSection:{emptySectionText:"В этой группе нет шаблонов тем",deleteSectionButton:"Удалить секцию",deleteThemeLibrarySectionModalWindow:{title:"Удаление секции",description:"Вы действительно хотите удалить секцию?",cancelButton:"Отмена",applyButton:"Удалить"},themeSectionItem:{editThemeButton:"Редактировать",deleteThemeButton:"Удалить",editThemeLibrarySectionModalWindow:{title:"Редактирование темы",themeNameLabel:"Название",themeNamePlaceholder:"Название темы...",themeSectionLabel:"Группа",cancelButton:"Отмена",applyButton:"Сохранить"},deleteThemeLibrarySectionItemModalWindow:{title:"Удаление темы",description:"Вы действительно хотите удалить тему?",cancelButton:"Отмена",applyButton:"Удалить"}}}}},productShelfBuilderComponent:{title:"Настройки товарной полки",algorithmLabel:"Алгоритм подбора товаров",cancelButton:"Отмена",applyButton:"Применить",listSelector:{productListShelf:"Продуктовая полка",relatedProductsForProductListShelf:"Сопутствующие товары к товарам",alternativeProductsForProductListShelf:"Альтернативы товаров",popularProductsInCategoryListShelf:"Популярные товары из категории",popularProductsShelf:"Популярные товары",latestProductsShelf:"Новинки магазина",saleByLatestShelf:"Новинки магазина со скидкой",saleByPopularShelf:"Популярные товары со скидкой",abandonedBasketProductListShelf:"Товары из брошенной корзины",alternativeProductsForAbandonedProductListShelf:"Альтернативы товаров из брошенной корзины",relatedProductsForAbandonedProductListShelf:"Сопутствующие товары к товарам из брошенной корзины",abandonedViewProductListShelf:"Товары из брошенного просмотра",alternativeProductsForAbandonedViewProductListShelf:"Альтернативы товаров из брошенного просмотра",relatedProductsForAbandonedViewProductListShelf:"Сопутствующие товары к товарам из брошенного просмотра",abandonedViewPriceDropProductListShelf:"Товары из брошенного просмотра со снижением цены",alternativeProductsForAbandonedViewPriceDropProductListShelf:"Альтернативы товаров из брошенного просмотра со снижением цены",relatedProductsForAbandonedViewPriceDropProductListShelf:"Сопутствующие товары к товарам из брошенного просмотра со снижением цены",priceDropProductListShelf:"Товары со снижением цены",alternativeProductsForPriceDropProductListShelf:"Альтернативы товаров к товарам со снижением цены",relatedProductsForPriceDropProductListShelf:"Сопутствующие товары к товарам со снижением цены",abandonedViewNAProductListShelf:"Товары не в наличии из брошенного просмотра",relatedProductsForAbandonedViewNAProductListShelf:"Сопутствующие товары к товарам не в наличии из брошенного просмотра",alternativeProductsForAbandonedViewNAProductListShelf:"Альтернативы товаров не в наличии из брошенного просмотра",popularProductsForAbandonedCategoriesShelf:"Популярные товары к брошенной категории",searchRecommendationsForAbandonedSearchShelf:"Поисковые рекомендации к брошенному поиску",abandonedBasketPriceDropProductListShelf:"Снижение цены на товары из брошенной корзины",alternativeProductsForAbandonedBasketPriceDropProductListShelf:"Альтернативные товары к товарам со снижением цены из брошенной корзины",postTransactionProductListShelf:"Товары из выполненного заказа",relatedProductsForPostTransactionProductListShelf:"Сопутствующие товары к товарам из выполненного заказа",alternativeProductsForPostTransactionProductListShelf:"Альтернативные товары к товарам из выполненного заказа",productBackInStockProductListShelf:"Товары появившиеся на складе",relatedProductsForProductBackInStockProductListShelf:"Сопутствующие товары к товарам появившимся на складе",alternativeProductsForProductBackInStockProductListShelf:"Альтернативные товары к товарам появившимся на складе",productStillOutOfStockProductListShelf:"Товары отсутствующие на складе",relatedProductsForProductStillOutOfStockProductListShelf:"Сопутствующие товары к товарам отсутствующим на складе",alternativeProductsForProductStillOutOfStockProductListShelf:"Альтернативные товары к товарам отсутствующим на складе",repurchaseProductListShelf:"Товары для повторного заказа",relatedProductsForRepurchaseProductListShelf:"Сопутствующие товары к товарам для повторного заказа",alternativeProductsForRepurchaseProductListShelf:"Альтернативные товары к товарам для повторного заказа",nextBestOfferRecommendationsShelf:"Товары из рекомендуемых категорий к купленным товарам"},productShelfBuilders:{stockLabel:"Идентификатор склада",stockPlaceholder:"Выберите идентификатор",defaultStock:"Идентификатор по умолчанию",defaultStockCheckbox:"Использовать идентификатор по умолчанию",productListShelfLimiterLabel:"Количество товаров",emptySearch:"Нет результатов поиска",notAvailableLabel:"нет в наличии",productsAtLeast:"От",productsLimit:"До",popularProductListDescription:"В письме будут отображаться самые популярные товары магазина.",productListDescription:"Выберите товары для отображения",relatedProductListDescription:"Выберите блок товаров, чтобы определить, к каким из них мы предложим <b>сопутствующие товары</b>.<br>Пожалуйста, учтите, что клиенты увидят в письме не выбранные товары, а товары рассчитанные по алгоритму <b>сопутствующие товары</b> к выбранным товарам.",alternativeProductListDescription:"Выберите блок товаров, чтобы определить, к каким из них мы предложим <b>альтернативные товары</b>.<br>Пожалуйста, учтите, что клиенты увидят в письме не выбранные товары, а товары рассчитанные по алгоритму <b>альтернативные товары</b> к выбранным товарам.",popularFromCategoryListDescription:"Выберите блок категорий, чтобы определить, к каким из них мы предложим <b>популярные товары</b>.<br>Пожалуйста, учтите, что клиенты увидят в письме дополнительные товары, соответствующие вашему выбору.",latestProductListDescription:"В письме будут отображаться новинки магазина",saleByLatestProductListDescription:"В письме будут отображаться новинки магазина со скидкой",saleByPopularProductListDescription:"В письме будут отображаться популярные товары магазина со скидкой",productsSelectButton:"Выбрать товары",categorySelectButton:"Выбрать категории",abandonedBasketProductListDescription:"В письме будут отображаться товары из брошенной корзины",abandonedViewProductListDescription:"В письме будут отображаться товары из брошенного просмотра",alternativeProductsForAbandonedBasketProductListDescription:"В письме будут отображаться альтернативные рекомендации к товарам из брошенной корзины",relatedProductsForAbandonedBasketProductListDescription:"В письме будут отображаться сопутствующие рекомендации к товарам из брошенной корзины",alternativeProductsForAbandonedViewProductListDescription:"В письме будут отображаться альтернативные рекомендации к товарам из брошенного просмотра",relatedProductsForAbandonedViewProductListDescription:"В письме будут отображаться сопутствующие рекомендации к товарам из брошенного просмотра",abandonedViewPriceDropProductListDescription:"В письме будут отображаться товары со снижением цены из брошенного просмотра",alternativeProductsForAbandonedViewPriceDropProductListDescription:"В письме будут отображаться альтернативные рекомендации к товарам из брошенного просмотра со снижением цены",relatedProductsForAbandonedViewPriceDropProductListDescription:"В письме будут отображаться сопутствующие рекомендации к товарам из брошенного просмотра со снижением цены",priceDropProductListDescription:"В письме будут отображаться товары со снижением цены",alternativeProductsForPriceDropProductListDescription:"В письме будут отображаться альтернативные рекомендации к товарам со снижением цены",relatedProductsForPriceDropProductListDescription:"В письме будут отображаться сопутствующие рекомендации к товарам со снижением цены",abandonedViewNAProductListDescription:"В письме будут отображаться товары не в наличии из брошенного просмотра",relatedProductsForAbandonedViewNAProductListDescription:"В письме будут отображаться сопутствующие рекомендации к товарам не в наличии из брошенного просмотра",alternativeProductsForAbandonedViewNAProductListDescription:"В письме будут отображаться альтернативные рекомендации к товарам не в наличии из брошенного просмотра",popularProductsForAbandonedCategoriesDescription:"В письме будут отображаться популярные товары из брошенных категорий",searchRecommendationsForAbandonedSearchDescription:"В письме будут отображаться поисковые рекомендации к брошенному поиску",abandonedBasketPriceDropProductListDescription:"В письме будут отображаться товары cо снижением цены из брошенной корзины",alternativeProductsForAbandonedBasketPriceDropProductListDescription:"В письме будут отображаться альтернативные рекомендации к товарам со сниженной ценой из брошенной корзины",postTransactionProductListDescription:"В письме будут отображаться товары из выполненного заказа",relatedProductsForPostTransactionProductListDescription:"В письме будут отображаться сопутствующие рекомендации к товарам из выполненного заказа",alternativeProductsForPostTransactionProductListDescription:"В письме будут отображаться альтернативные рекомендации к товарам из выполненного заказа",productBackInStockProductListDescription:"В письме будут отображаться товары появившиеся на складе",relatedProductsForProductBackInStockProductListDescription:"В письме будут отображаться сопутствующие рекомендации к товарам появившимся на складе",alternativeProductsForProductBackInStockProductListDescription:"В письме будут отображаться альтернативные рекомендации к товарам появившимся на складе",productStillOutOfStockProductListDescription:"В письме будут отображаться товары все еще отсутствующие на складе",relatedProductsForProductStillOutOfStockProductListDescription:"В письме будут отображаться сопутствующие рекомендации к товарам отсутствующим на складе",alternativeProductsForProductStillOutOfStockProductListDescription:"В письме будут отображаться альтернативные рекомендации к товарам отсутствующим на складе",repurchaseProductListDescription:"В письме будут отображаться товары для повторного заказа",relatedProductsForRepurchaseProductListDescription:"В письме будут отображаться сопутствующие рекомендации к товарам для повторного заказа",alternativeProductsForRepurchaseProductListDescription:"В письме будут отображаться альтернативные рекомендации к товарам для повторного заказа",nextBestOfferRecommendationsDescription:"В письме будут отображаться товары из рекомендуемых категорий к купленным товарам"}},productListComposerModalWindow:{title:"Список товаров",cancelButton:"Отменить",applyButton:"Применить",clearListButton:"Очистить список",notAvailableLabel:"нет в наличии",searching:"Поиск...",loading:"Загрузка...",transferAllButton:"Перенести все",searchInputPlaceholder:"Название одного товара или список ID",emptySearchProductListTopText:"Название одного товара",emptySearchProductListBottomText:"или список ID через запятую",emptySelectedProductList:"Список товаров пока что пуст.",selectedProductListTitle:"Список товаров",selectedProductListDeclensions:{one:"продукт",few:"продукта",many:"продуктов"}},categoryListComposerModalWindow:{title:"Выбор категорий",cancelButton:"Отменить",applyButton:"Применить",searching:"Поиск...",loading:"Загрузка...",transferAllButton:"Перенести все",searchInputPlaceholder:"Название одной категории или список ID",emptySearchCategoryListText:"Введите название категории, чтобы отобразились результаты.",emptySelectedCategoryListText:"Список категорий пока что пуст.",selectedCategoryListTitleText:"Список категорий",selectedCategoryListDeclensions:{one:"категория",few:"категории",many:"категорий"}},topMenu:{preheaderSubjectUpdateButton:"Указать тему",preheaderSubjectUpdateButtonTooltip:"Редактировать тему и прехедер письма",preheaderSubjectUpdateModalWindow:{title:"Настройки темы",themeLabel:"Тема",themeInputPlaceholder:"Заголовок, который увидят получатели в своей почте",preheaderLabel:"Прехедер",preheaderInputPlaceholder:"Краткое описание, которое будет видно сразу после темы в списке писем",applyButton:"Применить",cancelButton:"Отмена"},toggleDeviceBar:{disabledButtonTooltip:"Включите адаптивную ширину, чтобы письмо подстраивалось под размер телефонов и планшетов."},exportMenu:{resetTemplateButton:{resetTemplateButton:"Сбросить шаблон",resetTemplateButtonTooltip:"Сбросить шаблон",modalWindow:{title:"Сброс шаблона",applyButton:"Сбросить",cancelButton:"Отмена",description:"Сброс шаблона приведёт к удалению всех текущих настроек и контента. Это действие нельзя отменить."}},transactionalDataAppSettingsModifier:{button:"Данные письма",buttonTooltip:"Настройка данных транзакционного письма",modalWindow:{title:"Данные транзакционного письма",label:"JSON",cancelButton:"Отмена",applyButton:"Применить"}},saveTemplateButton:{saveButton:"Сохранить",errorButton:"Ошибка",saveButtonTooltip:"Сохранить шаблон",errorButtonTooltip:"Ошибка сохранения шаблона",errorNotificationWindowTitle:"Ошибка сохранения",errorNotificationWindowDescription:"Не закрывайте окно! Позовите Retail Rocket."}}},emailTemplate:{emailComponent:{emptyEmailComponentText:"Товарная полка скрыта из-за недостатка товаров",emptyEmailComponentTooltip:"Товарная полка не будет отображаться у получателей письма пока в ней недостаточно товаров"},dropHere:"Бросьте сюда",movementMenu:{draggingMenu:{moving:"Перемещение"},draggingButtonTooltip:"Переместить",moveToTopButtonTooltip:"Переместить вверх",moveToBottomButtonTooltip:"Переместить вниз",copyButtonTooltip:"Дублировать",saveButtonTooltip:"Сохранить в библиотеку",disabledSaveButtonTooltip:"Для сохранения создайте секцию библиотеки компонентов",removeButtonTooltip:"Удалить",removeWindowTitle:"Удаление компонента",removeConfirmMessage:"Вы действительно хотите удалить компонент ?"},addComponentLibrarySectionItemModalWindow:{title:"Сохранение компонента",nameLabel:"Название",namePlaceholder:"Название компонента...",groupLabel:"Группа",cancelButton:"Отмена",applyButton:"Сохранить"}},emailTemplateEditors:{emptyEditorText:"Выберите любой<br>элемент письма для<br>его настройки",imageEditor:{title:"Изображение",removeWindowTitle:"Удаление элемента",removeWindowDescription:"Вы действительно хотите удалить элемент Image ?",srcLabel:"Ссылка на картинку",srcPlaceholder:"Ссылка на картинку...",altLabel:"Альтернативный текст",altPlaceholder:"Альтернативный текст...",hrefLabel:"Ссылка при клике",hrefPlaceholder:"Не обязательно",retinaLabel:"Для retina-экранов"},buttonEditor:{title:"Кнопка",removeWindowTitle:"Удаление элемента",removeWindowDescription:"Вы действительно хотите удалить элемент Button ?",inputTextLabel:"Текст",inputTextPlaceholder:"Текст кнопки...",hrefLabel:"Ссылка при клике",hrefPlaceholder:"Адрес ссылки",backgroundColorLabel:"Цвет заливки",textStyleLabel:"Стиль"},spanEditor:{title:"Текст",removeWindowTitle:"Удаление элемента",removeWindowDescription:"Вы действительно хотите удалить элемент Text ?",inputTextPlaceholder:"Текст...",textStyleLabel:"Стиль",inputHRefPlaceholder:"Адрес ссылки",minHeightLabel:"Минимальное кол-во строк"},spacerEditor:{title:"Отступ",removeWindowTitle:"Удаление элемента",removeWindowDescription:"Вы действительно хотите удалить элемент Spacer ?",paddingLabel:"Размер отступа",customPaddingLabel:"Свой",separatorLabel:"Разделитель"},unsubscribeLinkEditor:{title:"Текст отписки от рассылки",removeWindowTitle:"Удаление Текста отписки от рассылки",removeWindowDescription:"Вы действительно хотите удалить элемент Текст отписки от рассылки ?",inputTextPlaceholder:"Текст..."},emailComponentEditor:{title:"Строка",removeWindowTitle:"Удаление компонента",removeWindowDescription:"Вы действительно хотите удалить компонент ?",backgroundColorLabel:"Цвет фона"},commonEditors:{cannotBeEditedLabel:"Нельзя редактировать",otherLabel:"Остальное",contentAlign:{label:"Выравнивание",fullWidthCheckboxLabel:"На всю ширину"},border:{label:"Обводка"},borderRadius:{label:"Скругление",top:"Сверху",bottom:"Снизу",themeStyleLinkedText:"Из настроек компонента"},padding:{label:"Отступы",top:"Сверху",bottom:"Снизу",left:"Слева",right:"Справа",leftRight:"Слева, справа",topBottom:"Сверху, снизу",manualValue:"Внучную",themeStyleLinked:"Автоматически",labels:{themePaddingsSmall:"Маленький",themePaddingsMedium:"Средний",themePaddingsLarge:"Большой",themePaddingsHuge:"Гигантский",bodyPaddingsLeft:"Слева",bodyPaddingsBottom:"Снизу",bodyPaddingsRight:"Справа",bodyPaddingsTop:"Сверху",custom:"Свой"}},color:{customColorLabel:"Другой цвет",colorLabels:{none:"Нет",styleLinkedColor:"Связать со стилем",emailBackgroundColor:"Фон письма",bodyColor:"Тело письма",primaryColor:"Основной цвет",secondaryColor:"Вторичный цвет",primaryTextColor:"Текст на основном цвете",secondaryTextColor:"Текст на вторичном цвете",cardBackgroundColor:"Цвет карточек товара",buttonTextColor:"Кнопки",titleColor:"Большой заголовок",headingColor:"Заголовок",subHeadingColor:"Подзаголовок",largeTextColor:"Большой текст",normalTextColor:"Текст",descriptionTextColor:"Описание",linkColor:"Ссылка",custom:"Пользовательский"}},fontStyle:{colorLabel:"Цвет",fontStyleLabel:"Стиль",settingLabels:{title:"Большой заголовок",heading:"Заголовок",subHeading:"Подзаголовок",largeText:"Большой текст",normalText:"Текст",descriptionText:"Описание",link:"Ссылка",button:"Кнопка",custom:"Пользовательский"},customFontSettings:{textColorLabel:"Цвет текста"}}}},UIComponents:{removeConfirmModalWindow:{title:"Удаление элемента",cancelButton:"Отмена",applyButton:"Удалить"},modalWindow:{closeButton:"Закрыть"}},defaultThemeLibrary:{sections:{default:"Стандартные",defaultThemeSectionItemName:"Стандартная тема",detskiyMirSectionItemName:"Детский мир",voltSectionItemName:"220 Вольт"}},defaultComponentLibrary:{sections:{header:{sectionTitle:"Хедеры",components:{clothing:"Одежда",home:"Для дома",outdoor:"Туризм",catalog:"Каталог",description:"Полезные статьи и новости в наших соцсетях",youHave:"У вас: ",bonuses:"435 баллов"}},menu:{sectionTitle:"Меню",components:{electronics:"Электроника",sale:"Акции",toys:"Игрушки",care:"Гигиена и уход",food:"Питание",clothing:"Одежда и обувь"}},banner:{sectionTitle:"Баннеры"},content:{sectionTitle:"Контент",components:{cols:{col_1:{title:"Лучшие приложения для офиса на планшете",description:"Работа в офисе стала гораздо проще благодаря планшетам. Узнайте о лучших приложениях, которые помогут вам оставаться продуктивными, где бы вы ни находились."},col_2:{title:"Секреты цифровой безопасности: как защитить свои данные",description:"С взломами и утечками данных на повестке дня, цифровая безопасность становится всё более важной. Узнайте, как можно защитить свои личные данные и информацию в интернете."},col_3:{title:"Геймерская клавиатура: выбор и советы",description:"Если вы - геймер, выбор клавиатуры играет ключевую роль в вашем опыте игры. Узнайте, на что следует обратить внимание при выборе геймерской клавиатуры и как улучшить вашу игровую производительность."},col_4:{title:"Секрет успеха: 5 простых шагов",description:"Узнайте пять простых, но эффективных шагов, которые помогут вам достичь успеха в любой сфере жизни. Не упустите возможность узнать больше и применить эти принципы уже сегодня!"},col_5:{title:"Исследование: Влияние цвета на настроение",description:"Мы провели исследование о том, как различные цвета влияют на наше настроение и эмоциональное состояние. Узнайте больше о наших открытиях и о том, как выбор цвета может повлиять на восприятие вашего бренда."}},date:"23 Октября 2023",read:"Читать",site:"Перейти на сайт",open:"Открыть",title:"Познакомьтесь с сервисом создания электронных писем",largeText:"Мы рады представить вам наш новый продукт - сервис создания электронных писем. С помощью этого удобного и интуитивно понятного инструмента, вы сможете легко создавать красивые и профессиональные письма всего в несколько простых шагов. Наш сервис предлагает широкий выбор шаблонов и элементов дизайна, которые можно настраивать под ваши нужды, чтобы создавать уникальные и привлекательные письма для вашей аудитории."}},button:{sectionTitle:"Кнопки",components:{button:{catalog:"Перейти в каталог",account:"Личный кабинет",site:"Перейти на сайт"}}},productShelf:{title:"Продуктовые полки",components:{productShelf:{title:"Заголовок",currency:" руб.",button:"Купить",label:"Акция"}}},separator:{title:"Разделители"},footer:{sectionTitle:"Подвалы",components:{link:{electronics:"Электроника",appliances:"Техника",clothing:"Одежда",home:"Для дома",outdoor:"Туризм",food:"Продукты",here:"сюда",unsubscribe:"Отписаться",copyRight:"© 2023-2024 Company name"},text:{description:"Вы получили это письмо, потому что подписались на рассылку Company name. Вы можете отписаться, нажав ",copyRight:"© 2022 Nike"}}}}}},FD=M8({locale:"en",legacy:!1,fallbackWarn:!1,missingWarn:!1,messages:{en:J8,ru:X8},warnHtmlMessage:!1}),Q8=()=>{const{t}=FD.global;return(o,e)=>e?t(o,e):t(o)},_=Q8(),q8=async t=>{Kf().locale.value=t},tO={class:"bootstrap-styles modal fade show d-block position-absolute"},eO={class:"bootstrap-styles modal-dialog modal-dialog-centered"},oO={class:"bootstrap-styles modal-content border rounded-3 shadow","data-test":"modal-window__content"},nO={class:"bootstrap-styles modal-header p-0"},iO={class:"bootstrap-styles container-fluid border-bottom g-0"},rO={class:"bootstrap-styles d-flex justify-content-between align-items-center px-11 py-7"},sO={class:"bootstrap-styles modal-title border-0","data-test":"modal-window__header-text"},aO={class:"bootstrap-styles modal-body p-0","data-test":"modal-window__body"},lO={class:"bootstrap-styles modal-footer p-0 g-0"},uO={class:"bootstrap-styles container-fluid border-top"},dO={class:"bootstrap-styles d-flex justify-content-end py-8 px-11"},mO={class:"bootstrap-styles col-6 d-flex justify-content-end","data-test":"modal-window__footer-actions"},cO=lt({__name:"ModalWindow",props:{headerText:{}},emits:["close"],setup(t,{emit:o}){const e=t,n=o;return(s,i)=>(S(),E("div",tO,[f("div",{class:"bootstrap-styles modal-blur d-block position-fixed top-0 left-0 w-100 vh-100","data-test":"modal-window__outside",onClick:i[0]||(i[0]=r=>n("close"))}),f("div",eO,[f("div",oO,[f("div",nO,[f("div",iO,[f("div",rO,[f("h5",sO,k(e.headerText),1),Ot((S(),E("button",{type:"button","aria-label":"Close","data-bs-dismiss":"modal","data-test":"modal-window__close-button",onClick:i[1]||(i[1]=r=>n("close"))},i[2]||(i[2]=[f("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},[f("path",{d:"M3 3L13 13",stroke:"var(--gray-500)"}),f("path",{d:"M13 3L3 13",stroke:"var(--gray-500)"})],-1)]))),[[T(Ho),{title:T(_)("UIComponents.modalWindow.closeButton"),placement:"top"}]])])])]),f("div",aO,[cd(s.$slots,"body",{},void 0,!0)]),f("div",lO,[f("div",uO,[f("div",dO,[f("div",mO,[cd(s.$slots,"footer-actions",{},void 0,!0)])])])])])])]))}});const yn=mt(cO,[["__scopeId","data-v-fd7bc93f"]]),fO={},pO={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"};function CO(t,o){return S(),E("svg",pO,o[0]||(o[0]=[f("path",{d:"M8.00033 10.0002L5.17188 7.17184L6.11469 6.229L8.00033 8.11464L9.88593 6.229L10.8287 7.17184L8.00033 10.0002Z",fill:"var(--gray-500)"},null,-1)]))}const jo=mt(fO,[["render",CO]]),vb={display:"dynamic",reference:"parent",autoClose:"outside",offset:[0,5]},Nn={mounted(t,o){return new En(t,{...vb,...o.value})},updated(t,o){const e=En.getInstance(t);return e!==null&&e.hide(),new En(t,{...vb,...o.value})},unmounted(t){const o=En.getInstance(t);o!==null&&o.dispose()}};const hO={},gO={class:"bootstrap-styles d-flex justify-content-center align-items-center icon-fill icon-loading"};function FO(t,o){return S(),E("i",gO,o[0]||(o[0]=[f("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},[f("path",{d:"M12.2427 3.75736L11.2998 4.70017C10.4553 3.85567 9.28867 3.33333 8 3.33333C5.42267 3.33333 3.33333 5.42267 3.33333 8C3.33333 10.5773 5.42267 12.6667 8 12.6667C10.5773 12.6667 12.6667 10.5773 12.6667 8H14C14 11.3137 11.3137 14 8 14C4.68629 14 2 11.3137 2 8C2 4.68629 4.68629 2 8 2C9.65687 2 11.1569 2.67157 12.2427 3.75736Z",fill:"var(--gray-500)"})],-1)]))}const Jn=mt(hO,[["render",FO],["__scopeId","data-v-bdca96e4"]]);const yO={},SO={class:"bootstrap-styles d-flex justify-content-center align-items-center icon-fill icon-loading"};function bO(t,o){return S(),E("i",SO,o[0]||(o[0]=[f("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"17",viewBox:"0 0 16 16",fill:"none"},[f("path",{d:"M12.2427 3.75736L11.2998 4.70017C10.4553 3.85567 9.28867 3.33333 8 3.33333C5.42267 3.33333 3.33333 5.42267 3.33333 8C3.33333 10.5773 5.42267 12.6667 8 12.6667C10.5773 12.6667 12.6667 10.5773 12.6667 8H14C14 11.3137 11.3137 14 8 14C4.68629 14 2 11.3137 2 8C2 4.68629 4.68629 2 8 2C9.65687 2 11.1569 2.67157 12.2427 3.75736Z",fill:"white"})],-1)]))}const lr=mt(yO,[["render",bO],["__scopeId","data-v-5227279d"]]),TO={class:"bootstrap-styles fw-bold mb-5"},BO={class:"bootstrap-styles col-12 mb-13"},VO={class:"bootstrap-styles bg-color-input border rounded-2 py-1 px-3 d-flex"},LO=["placeholder","disabled"],DO={class:"bootstrap-styles fw-bold mb-5"},vO={class:"bootstrap-styles dropdown border rounded-2 bg-color-input"},RO=["disabled"],xO={class:"bootstrap-styles d-flex justify-content-center align-items-center"},_O={class:"bootstrap-styles dropdown-menu w-100 rounded-2","aria-labelledby":"dropdownMenuSectionSelect"},IO=["onClick"],EO={class:"bootstrap-styles d-block py-1 px-3 text-decoration-none text-reset cursor-pointer"},PO=lt({__name:"AddThemeLibrarySectionItemModalWindow",props:{deps:{},themeSettings:{}},emits:["themeSectionItemAdded","cancel"],setup(t,{emit:o}){const e=t,n=Et({themeLibrarySections:[],sectionItemName:"",selectedParentSectionId:"",selectedParentSectionName:"",isDropdownMenuShown:!1,isLoadedThemeLibrarySectionList:!0,isLoaded:!0});e.deps.getThemeLibrarySections().then(a=>{n.themeLibrarySections=a,n.selectedParentSectionId=a[0].sectionId,n.selectedParentSectionName=a[0].sectionName,n.isLoadedThemeLibrarySectionList=!1});const s=o,i=async()=>{n.sectionItemName.length&&(n.isLoaded=!1,await e.deps.addThemeSectionItem({sectionItemName:n.sectionItemName,parentSectionId:n.selectedParentSectionId,theme:e.themeSettings}),s("themeSectionItemAdded"))},r=()=>{s("cancel")};return(a,d)=>(S(),st(yn,{class:"save-theme-modal-window",headerText:T(_)("asideMenu.themeLibrary.addThemeLibrarySectionItemModalWindow.title"),onClose:d[3]||(d[3]=()=>r())},{body:le(()=>[P(Jn,{class:at(["bootstrap-styles position-absolute top-50 start-50",{invisible:!n.isLoadedThemeLibrarySectionList}])},null,8,["class"]),f("div",{class:at(["bootstrap-styles px-11 py-7 text-start",{invisible:n.isLoadedThemeLibrarySectionList}])},[f("label",TO,k(T(_)("asideMenu.themeLibrary.addThemeLibrarySectionItemModalWindow.inputNameLabel")),1),f("div",BO,[f("div",VO,[Ot(f("input",{"onUpdate:modelValue":d[0]||(d[0]=u=>n.sectionItemName=u),type:"text",class:"bootstrap-styles w-100",placeholder:T(_)("asideMenu.themeLibrary.addThemeLibrarySectionItemModalWindow.inputNamePlaceholder"),disabled:!n.isLoaded},null,8,LO),[[Pn,n.sectionItemName]])])]),f("div",null,[f("label",DO,k(T(_)("asideMenu.themeLibrary.addThemeLibrarySectionItemModalWindow.inputGroupLabel")),1),f("div",vO,[Ot((S(),E("button",{id:"dropdownMenuSectionSelect",class:"bootstrap-styles w-100 d-flex justify-content-between align-items-center py-1 px-3",type:"button","data-bs-toggle":"dropdown","aria-expanded":"false",disabled:!n.isLoaded},[f("span",null,k(n.selectedParentSectionName),1),f("i",xO,[P(jo)])],8,RO)),[[T(Nn)]]),f("ul",_O,[(S(!0),E(Lt,null,ge(n.themeLibrarySections,u=>(S(),E("li",{key:u.sectionId,class:"bootstrap-styles dropdown-item p-0",onClick:()=>{n.selectedParentSectionId=u.sectionId,n.selectedParentSectionName=u.sectionName}},[f("span",EO,k(u.sectionName),1)],8,IO))),128))])])])],2)]),"footer-actions":le(()=>[f("button",{class:at([{button__locked:!n.isLoaded},"modal-footer__button bootstrap-styles d-flex justify-content-center align-center py-1 px-3 me-3 rounded-2 bg-blue-selected button__hover-blue-100 text-color-selected"]),onClick:d[1]||(d[1]=De(u=>r(),["stop"]))},k(T(_)("asideMenu.themeLibrary.addThemeLibrarySectionItemModalWindow.cancelButton")),3),f("button",{class:"modal-footer__button bootstrap-styles d-flex justify-content-center align-center py-1 px-3 rounded-2 text-white cursor-pointer bg-color-selected button__hover-blue-400",onClick:d[2]||(d[2]=De(u=>i(),["stop"]))},[f("span",{class:at({"bootstrap-styles invisible":!n.isLoaded})},k(T(_)("asideMenu.themeLibrary.addThemeLibrarySectionItemModalWindow.applyButton")),3),P(lr,{class:at(["bootstrap-styles position-absolute",{invisible:n.isLoaded}])},null,8,["class"])])]),_:1},8,["headerText"]))}}),NO={class:"bootstrap-styles fw-bold mb-5"},wO={class:"bootstrap-styles bg-color-input border rounded-2 py-1 px-3 d-flex"},AO=["placeholder","disabled"],WO=lt({__name:"CreateThemeLibrarySectionModalWindow",props:{deps:{}},emits:["onCanceled","onThemeLibrarySectionCreated"],setup(t,{emit:o}){const e=t,n=Et({isDropdownMenuShown:!1,sectionName:"",isLoaded:!0}),s=async()=>{n.sectionName.length!==0&&(n.isLoaded=!1,await e.deps.createThemeLibrarySection({sectionName:n.sectionName}),r("onThemeLibrarySectionCreated"))},i=()=>{r("onCanceled")},r=o;return(a,d)=>(S(),st(yn,{headerText:T(_)("asideMenu.themeLibrary.createThemeLibrarySectionModalWindow.title"),onClose:d[4]||(d[4]=()=>i())},{body:le(()=>[f("div",{class:"bootstrap-styles px-11 py-7 text-start",onClick:d[1]||(d[1]=u=>n.isDropdownMenuShown=!1)},[f("label",NO,k(T(_)("asideMenu.themeLibrary.createThemeLibrarySectionModalWindow.inputLabel")),1),f("div",wO,[Ot(f("input",{"onUpdate:modelValue":d[0]||(d[0]=u=>n.sectionName=u),type:"text",class:"bootstrap-styles w-100",placeholder:T(_)("asideMenu.themeLibrary.createThemeLibrarySectionModalWindow.inputPlaceholder"),disabled:!n.isLoaded},null,8,AO),[[Pn,n.sectionName]])])])]),"footer-actions":le(()=>[f("button",{class:at([{button__locked:!n.isLoaded},"modal-footer__button bootstrap-styles d-flex justify-content-center align-center py-1 px-3 me-3 rounded-2 bg-blue-selected button__hover-blue-100 text-color-selected"]),onClick:d[2]||(d[2]=De(u=>i(),["stop"]))},k(T(_)("asideMenu.themeLibrary.createThemeLibrarySectionModalWindow.cancelButton")),3),f("button",{class:"modal-footer__button bootstrap-styles d-flex justify-content-center align-center py-1 px-3 rounded-2 text-white cursor-pointer bg-color-selected button__hover-blue-400",onClick:d[3]||(d[3]=De(u=>s(),["stop"]))},[f("span",{class:at({"bootstrap-styles invisible":!n.isLoaded})},k(T(_)("asideMenu.themeLibrary.createThemeLibrarySectionModalWindow.applyButton")),3),P(lr,{class:at(["bootstrap-styles position-absolute",{invisible:n.isLoaded}])},null,8,["class"])])]),_:1},8,["headerText"]))}}),kO={},MO={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"};function OO(t,o){return S(),E("svg",MO,o[0]||(o[0]=[f("path",{d:"M2 8H14",stroke:"var(--blue-400)","stroke-width":"1.5"},null,-1),f("path",{d:"M8 2L8 14",stroke:"var(--blue-400)","stroke-width":"1.5"},null,-1)]))}const Yf=mt(kO,[["render",OO]]),HO={},$O={xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 12 12",fill:"none"};function UO(t,o){return S(),E("svg",$O,o[0]||(o[0]=[f("path",{d:"M3.21879 5.33327H11.3332V6.6666H3.21879L6.79477 10.2425L5.85197 11.1853L0.666504 5.99993L5.85197 0.814453L6.79477 1.75726L3.21879 5.33327Z",fill:"var(--black)"},null,-1)]))}const jO=mt(HO,[["render",UO]]),zO={class:"bootstrap-styles prev-menu d-flex align-items-center justify-content-start gap-2 mb-13 text-hover__blue"},GO={class:"bootstrap-styles d-flex justify-content-center align-items-center icon-hover"},KO={class:"bootstrap-styles fs-6 fw-bold text-start"},Zf=lt({__name:"PrevMenuButton",props:{title:{}},setup(t){const o=t;return(e,n)=>(S(),E("button",zO,[f("i",GO,[P(jO)]),f("span",KO,k(o.title),1)]))}}),Jh=Math.min,Vl=Math.max,ef=Math.round,ic=Math.floor,ks=t=>({x:t,y:t});function YO(t,o){return typeof t=="function"?t(o):t}function lg(t){return t.split("-")[0]}function yD(t){return t.split("-")[1]}function ZO(t){return t==="x"?"y":"x"}function JO(t){return t==="y"?"height":"width"}function ug(t){return["top","bottom"].includes(lg(t))?"y":"x"}function XO(t){return ZO(ug(t))}function SD(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Rb(t,o,e){let{reference:n,floating:s}=t;const i=ug(o),r=XO(o),a=JO(r),d=lg(o),u=i==="y",c=n.x+n.width/2-s.width/2,p=n.y+n.height/2-s.height/2,h=n[a]/2-s[a]/2;let g;switch(d){case"top":g={x:c,y:n.y-s.height};break;case"bottom":g={x:c,y:n.y+n.height};break;case"right":g={x:n.x+n.width,y:p};break;case"left":g={x:n.x-s.width,y:p};break;default:g={x:n.x,y:n.y}}switch(yD(o)){case"start":g[r]-=h*(e&&u?-1:1);break;case"end":g[r]+=h*(e&&u?-1:1);break}return g}const QO=async(t,o,e)=>{const{placement:n="bottom",strategy:s="absolute",middleware:i=[],platform:r}=e,a=i.filter(Boolean),d=await(r.isRTL==null?void 0:r.isRTL(o));let u=await r.getElementRects({reference:t,floating:o,strategy:s}),{x:c,y:p}=Rb(u,n,d),h=n,g={},y=0;for(let b=0;b<a.length;b++){const{name:v,fn:D}=a[b],{x:I,y:R,data:L,reset:N}=await D({x:c,y:p,initialPlacement:n,placement:h,strategy:s,middlewareData:g,rects:u,platform:r,elements:{reference:t,floating:o}});c=I??c,p=R??p,g={...g,[v]:{...g[v],...L}},N&&y<=50&&(y++,typeof N=="object"&&(N.placement&&(h=N.placement),N.rects&&(u=N.rects===!0?await r.getElementRects({reference:t,floating:o,strategy:s}):N.rects),{x:c,y:p}=Rb(u,h,d)),b=-1)}return{x:c,y:p,placement:h,strategy:s,middlewareData:g}};async function qO(t,o){const{placement:e,platform:n,elements:s}=t,i=await(n.isRTL==null?void 0:n.isRTL(s.floating)),r=lg(e),a=yD(e),d=ug(e)==="y",u=["left","top"].includes(r)?-1:1,c=i&&d?-1:1,p=YO(o,t);let{mainAxis:h,crossAxis:g,alignmentAxis:y}=typeof p=="number"?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...p};return a&&typeof y=="number"&&(g=a==="end"?y*-1:y),d?{x:g*c,y:h*u}:{x:h*u,y:g*c}}const of=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(o){var e,n;const{x:s,y:i,placement:r,middlewareData:a}=o,d=await qO(o,t);return r===((e=a.offset)==null?void 0:e.placement)&&(n=a.arrow)!=null&&n.alignmentOffset?{}:{x:s+d.x,y:i+d.y,data:{...d,placement:r}}}}};function Ur(t){return dg(t)?(t.nodeName||"").toLowerCase():"#document"}function Gn(t){var o;return(t==null||(o=t.ownerDocument)==null?void 0:o.defaultView)||window}function Zr(t){var o;return(o=(dg(t)?t.ownerDocument:t.document)||window.document)==null?void 0:o.documentElement}function dg(t){return t instanceof Node||t instanceof Gn(t).Node}function jr(t){return t instanceof Element||t instanceof Gn(t).Element}function rr(t){return t instanceof HTMLElement||t instanceof Gn(t).HTMLElement}function xb(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof Gn(t).ShadowRoot}function Od(t){const{overflow:o,overflowX:e,overflowY:n,display:s}=gi(t);return/auto|scroll|overlay|hidden|clip/.test(o+n+e)&&!["inline","contents"].includes(s)}function t9(t){return["table","td","th"].includes(Ur(t))}function mg(t){const o=cg(),e=gi(t);return e.transform!=="none"||e.perspective!=="none"||(e.containerType?e.containerType!=="normal":!1)||!o&&(e.backdropFilter?e.backdropFilter!=="none":!1)||!o&&(e.filter?e.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(e.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(e.contain||"").includes(n))}function e9(t){let o=Hl(t);for(;rr(o)&&!Jf(o);){if(mg(o))return o;o=Hl(o)}return null}function cg(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Jf(t){return["html","body","#document"].includes(Ur(t))}function gi(t){return Gn(t).getComputedStyle(t)}function Xf(t){return jr(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Hl(t){if(Ur(t)==="html")return t;const o=t.assignedSlot||t.parentNode||xb(t)&&t.host||Zr(t);return xb(o)?o.host:o}function bD(t){const o=Hl(t);return Jf(o)?t.ownerDocument?t.ownerDocument.body:t.body:rr(o)&&Od(o)?o:bD(o)}function yd(t,o,e){var n;o===void 0&&(o=[]),e===void 0&&(e=!0);const s=bD(t),i=s===((n=t.ownerDocument)==null?void 0:n.body),r=Gn(s);return i?o.concat(r,r.visualViewport||[],Od(s)?s:[],r.frameElement&&e?yd(r.frameElement):[]):o.concat(s,yd(s,[],e))}function TD(t){const o=gi(t);let e=parseFloat(o.width)||0,n=parseFloat(o.height)||0;const s=rr(t),i=s?t.offsetWidth:e,r=s?t.offsetHeight:n,a=ef(e)!==i||ef(n)!==r;return a&&(e=i,n=r),{width:e,height:n,$:a}}function fg(t){return jr(t)?t:t.contextElement}function Ll(t){const o=fg(t);if(!rr(o))return ks(1);const e=o.getBoundingClientRect(),{width:n,height:s,$:i}=TD(o);let r=(i?ef(e.width):e.width)/n,a=(i?ef(e.height):e.height)/s;return(!r||!Number.isFinite(r))&&(r=1),(!a||!Number.isFinite(a))&&(a=1),{x:r,y:a}}const o9=ks(0);function BD(t){const o=Gn(t);return!cg()||!o.visualViewport?o9:{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}}function n9(t,o,e){return o===void 0&&(o=!1),!e||o&&e!==Gn(t)?!1:o}function xa(t,o,e,n){o===void 0&&(o=!1),e===void 0&&(e=!1);const s=t.getBoundingClientRect(),i=fg(t);let r=ks(1);o&&(n?jr(n)&&(r=Ll(n)):r=Ll(t));const a=n9(i,e,n)?BD(i):ks(0);let d=(s.left+a.x)/r.x,u=(s.top+a.y)/r.y,c=s.width/r.x,p=s.height/r.y;if(i){const h=Gn(i),g=n&&jr(n)?Gn(n):n;let y=h,b=y.frameElement;for(;b&&n&&g!==y;){const v=Ll(b),D=b.getBoundingClientRect(),I=gi(b),R=D.left+(b.clientLeft+parseFloat(I.paddingLeft))*v.x,L=D.top+(b.clientTop+parseFloat(I.paddingTop))*v.y;d*=v.x,u*=v.y,c*=v.x,p*=v.y,d+=R,u+=L,y=Gn(b),b=y.frameElement}}return SD({width:c,height:p,x:d,y:u})}const i9=[":popover-open",":modal"];function VD(t){return i9.some(o=>{try{return t.matches(o)}catch{return!1}})}function r9(t){let{elements:o,rect:e,offsetParent:n,strategy:s}=t;const i=s==="fixed",r=Zr(n),a=o?VD(o.floating):!1;if(n===r||a&&i)return e;let d={scrollLeft:0,scrollTop:0},u=ks(1);const c=ks(0),p=rr(n);if((p||!p&&!i)&&((Ur(n)!=="body"||Od(r))&&(d=Xf(n)),rr(n))){const h=xa(n);u=Ll(n),c.x=h.x+n.clientLeft,c.y=h.y+n.clientTop}return{width:e.width*u.x,height:e.height*u.y,x:e.x*u.x-d.scrollLeft*u.x+c.x,y:e.y*u.y-d.scrollTop*u.y+c.y}}function s9(t){return Array.from(t.getClientRects())}function LD(t){return xa(Zr(t)).left+Xf(t).scrollLeft}function a9(t){const o=Zr(t),e=Xf(t),n=t.ownerDocument.body,s=Vl(o.scrollWidth,o.clientWidth,n.scrollWidth,n.clientWidth),i=Vl(o.scrollHeight,o.clientHeight,n.scrollHeight,n.clientHeight);let r=-e.scrollLeft+LD(t);const a=-e.scrollTop;return gi(n).direction==="rtl"&&(r+=Vl(o.clientWidth,n.clientWidth)-s),{width:s,height:i,x:r,y:a}}function l9(t,o){const e=Gn(t),n=Zr(t),s=e.visualViewport;let i=n.clientWidth,r=n.clientHeight,a=0,d=0;if(s){i=s.width,r=s.height;const u=cg();(!u||u&&o==="fixed")&&(a=s.offsetLeft,d=s.offsetTop)}return{width:i,height:r,x:a,y:d}}function u9(t,o){const e=xa(t,!0,o==="fixed"),n=e.top+t.clientTop,s=e.left+t.clientLeft,i=rr(t)?Ll(t):ks(1),r=t.clientWidth*i.x,a=t.clientHeight*i.y,d=s*i.x,u=n*i.y;return{width:r,height:a,x:d,y:u}}function _b(t,o,e){let n;if(o==="viewport")n=l9(t,e);else if(o==="document")n=a9(Zr(t));else if(jr(o))n=u9(o,e);else{const s=BD(t);n={...o,x:o.x-s.x,y:o.y-s.y}}return SD(n)}function DD(t,o){const e=Hl(t);return e===o||!jr(e)||Jf(e)?!1:gi(e).position==="fixed"||DD(e,o)}function d9(t,o){const e=o.get(t);if(e)return e;let n=yd(t,[],!1).filter(a=>jr(a)&&Ur(a)!=="body"),s=null;const i=gi(t).position==="fixed";let r=i?Hl(t):t;for(;jr(r)&&!Jf(r);){const a=gi(r),d=mg(r);!d&&a.position==="fixed"&&(s=null),(i?!d&&!s:!d&&a.position==="static"&&!!s&&["absolute","fixed"].includes(s.position)||Od(r)&&!d&&DD(t,r))?n=n.filter(c=>c!==r):s=a,r=Hl(r)}return o.set(t,n),n}function m9(t){let{element:o,boundary:e,rootBoundary:n,strategy:s}=t;const r=[...e==="clippingAncestors"?d9(o,this._c):[].concat(e),n],a=r[0],d=r.reduce((u,c)=>{const p=_b(o,c,s);return u.top=Vl(p.top,u.top),u.right=Jh(p.right,u.right),u.bottom=Jh(p.bottom,u.bottom),u.left=Vl(p.left,u.left),u},_b(o,a,s));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function c9(t){const{width:o,height:e}=TD(t);return{width:o,height:e}}function f9(t,o,e){const n=rr(o),s=Zr(o),i=e==="fixed",r=xa(t,!0,i,o);let a={scrollLeft:0,scrollTop:0};const d=ks(0);if(n||!n&&!i)if((Ur(o)!=="body"||Od(s))&&(a=Xf(o)),n){const p=xa(o,!0,i,o);d.x=p.x+o.clientLeft,d.y=p.y+o.clientTop}else s&&(d.x=LD(s));const u=r.left+a.scrollLeft-d.x,c=r.top+a.scrollTop-d.y;return{x:u,y:c,width:r.width,height:r.height}}function Ib(t,o){return!rr(t)||gi(t).position==="fixed"?null:o?o(t):t.offsetParent}function vD(t,o){const e=Gn(t);if(!rr(t)||VD(t))return e;let n=Ib(t,o);for(;n&&t9(n)&&gi(n).position==="static";)n=Ib(n,o);return n&&(Ur(n)==="html"||Ur(n)==="body"&&gi(n).position==="static"&&!mg(n))?e:n||e9(t)||e}const p9=async function(t){const o=this.getOffsetParent||vD,e=this.getDimensions;return{reference:f9(t.reference,await o(t.floating),t.strategy),floating:{x:0,y:0,...await e(t.floating)}}};function C9(t){return gi(t).direction==="rtl"}const h9={convertOffsetParentRelativeRectToViewportRelativeRect:r9,getDocumentElement:Zr,getClippingRect:m9,getOffsetParent:vD,getElementRects:p9,getClientRects:s9,getDimensions:c9,getScale:Ll,isElement:jr,isRTL:C9};function g9(t,o){let e=null,n;const s=Zr(t);function i(){var a;clearTimeout(n),(a=e)==null||a.disconnect(),e=null}function r(a,d){a===void 0&&(a=!1),d===void 0&&(d=1),i();const{left:u,top:c,width:p,height:h}=t.getBoundingClientRect();if(a||o(),!p||!h)return;const g=ic(c),y=ic(s.clientWidth-(u+p)),b=ic(s.clientHeight-(c+h)),v=ic(u),I={rootMargin:-g+"px "+-y+"px "+-b+"px "+-v+"px",threshold:Vl(0,Jh(1,d))||1};let R=!0;function L(N){const W=N[0].intersectionRatio;if(W!==d){if(!R)return r();W?r(!1,W):n=setTimeout(()=>{r(!1,1e-7)},100)}R=!1}try{e=new IntersectionObserver(L,{...I,root:s.ownerDocument})}catch{e=new IntersectionObserver(L,I)}e.observe(t)}return r(!0),i}function nf(t,o,e,n){n===void 0&&(n={});const{ancestorScroll:s=!0,ancestorResize:i=!0,elementResize:r=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:d=!1}=n,u=fg(t),c=s||i?[...u?yd(u):[],...yd(o)]:[];c.forEach(D=>{s&&D.addEventListener("scroll",e,{passive:!0}),i&&D.addEventListener("resize",e)});const p=u&&a?g9(u,e):null;let h=-1,g=null;r&&(g=new ResizeObserver(D=>{let[I]=D;I&&I.target===u&&g&&(g.unobserve(o),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var R;(R=g)==null||R.observe(o)})),e()}),u&&!d&&g.observe(u),g.observe(o));let y,b=d?xa(t):null;d&&v();function v(){const D=xa(t);b&&(D.x!==b.x||D.y!==b.y||D.width!==b.width||D.height!==b.height)&&e(),b=D,y=requestAnimationFrame(v)}return e(),()=>{var D;c.forEach(I=>{s&&I.removeEventListener("scroll",e),i&&I.removeEventListener("resize",e)}),p==null||p(),(D=g)==null||D.disconnect(),g=null,d&&cancelAnimationFrame(y)}}const F9=(t,o,e)=>{const n=new Map,s={platform:h9,...e},i={...s.platform,_c:n};return QO(t,o,{...s,platform:i})};function y9(t){return t!=null&&typeof t=="object"&&"$el"in t}function Eb(t){if(y9(t)){const o=t.$el;return dg(o)&&Ur(o)==="#comment"?null:o}return t}function RD(t){return typeof window>"u"?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function Pb(t,o){const e=RD(t);return Math.round(o*e)/e}function rf(t,o,e){e===void 0&&(e={});const n=e.whileElementsMounted,s=Yt(()=>{var O;return(O=T(e.open))!=null?O:!0}),i=Yt(()=>T(e.middleware)),r=Yt(()=>{var O;return(O=T(e.placement))!=null?O:"bottom"}),a=Yt(()=>{var O;return(O=T(e.strategy))!=null?O:"absolute"}),d=Yt(()=>{var O;return(O=T(e.transform))!=null?O:!0}),u=Yt(()=>Eb(t.value)),c=Yt(()=>Eb(o.value)),p=Te(0),h=Te(0),g=Te(a.value),y=Te(r.value),b=qi({}),v=Te(!1),D=Yt(()=>{const O={position:g.value,left:"0",top:"0"};if(!c.value)return O;const X=Pb(c.value,p.value),H=Pb(c.value,h.value);return d.value?{...O,transform:"translate("+X+"px, "+H+"px)",...RD(c.value)>=1.5&&{willChange:"transform"}}:{position:g.value,left:X+"px",top:H+"px"}});let I;function R(){u.value==null||c.value==null||F9(u.value,c.value,{middleware:i.value,placement:r.value,strategy:a.value}).then(O=>{p.value=O.x,h.value=O.y,g.value=O.strategy,y.value=O.placement,b.value=O.middlewareData,v.value=!0})}function L(){typeof I=="function"&&(I(),I=void 0)}function N(){if(L(),n===void 0){R();return}if(u.value!=null&&c.value!=null){I=n(u.value,c.value,R);return}}function W(){s.value||(v.value=!1)}return qe([i,r,a],R,{flush:"sync"}),qe([u,c],N,{flush:"sync"}),qe(s,W,{flush:"sync"}),p0()&&C0(L),{x:pa(p),y:pa(h),strategy:pa(g),placement:pa(y),middlewareData:pa(b),isPositioned:pa(v),floatingStyles:D,update:R}}const S9={},b9={class:"icon-hover",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function T9(t,o){return S(),E("svg",b9,o[0]||(o[0]=[f("path",{d:"M10.4853 6.38419L9.54247 5.44138L3.33333 11.6505V12.5933H4.27614L10.4853 6.38419ZM11.4281 5.44138L12.3709 4.49858L11.4281 3.55576L10.4853 4.49858L11.4281 5.44138ZM4.82843 13.9267H2V11.0982L10.9567 2.14155C11.2171 1.8812 11.6391 1.8812 11.8995 2.14155L13.7851 4.02717C14.0455 4.28752 14.0455 4.70963 13.7851 4.96998L4.82843 13.9267Z",fill:"var(--gray-500)"},null,-1)]))}const xD=mt(S9,[["render",T9]]),B9={},V9={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function L9(t,o){return S(),E("svg",V9,o[0]||(o[0]=[f("path",{d:"M2 8C2 8.55 2.45 9 3 9C3.55 9 4 8.55 4 8C4 7.45 3.55 7 3 7C2.45 7 2 7.45 2 8ZM12 8C12 8.55 12.45 9 13 9C13.55 9 14 8.55 14 8C14 7.45 13.55 7 13 7C12.45 7 12 7.45 12 8ZM7 8C7 8.55 7.45 9 8 9C8.55 9 9 8.55 9 8C9 7.45 8.55 7 8 7C7.45 7 7 7.45 7 8Z",fill:"var(--gray-500)"},null,-1)]))}const _D=mt(B9,[["render",L9]]),D9={},v9={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"};function R9(t,o){return S(),E("svg",v9,o[0]||(o[0]=[ar('<path d="M3 3.3335V14.6668H13V3.3335H3Z" stroke="var(--red-400)" stroke-width="1.25"></path><path d="M6.66675 6.6665V10.9998" stroke="var(--red-400)" stroke-width="1.25"></path><path d="M9.33325 6.6665V10.9998" stroke="var(--red-400)" stroke-width="1.25"></path><path d="M1.33325 3.3335H14.6666" stroke="var(--red-400)" stroke-width="1.25"></path><path d="M5.33325 3.3335L6.42959 1.3335H9.59229L10.6666 3.3335H5.33325Z" stroke="var(--red-400)" stroke-width="1.25"></path>',5)]))}const Hd=mt(D9,[["render",R9]]),x9={class:"bootstrap-styles px-11 py-7 text-start"},Jr=lt({__name:"RemoveConfirmModalWindow",props:{headerText:{}},emits:["cancel","confirmed"],setup(t,{emit:o}){const e=t,n=()=>{s("cancel")},s=o;return(i,r)=>(S(),st(yn,{headerText:e.headerText,class:"remove-element-confirm-modal-window",onClose:r[2]||(r[2]=()=>n())},{body:le(()=>[f("div",x9,[cd(i.$slots,"body-content")])]),"footer-actions":le(()=>[f("button",{class:"modal-footer__button bootstrap-styles d-flex justify-content-center align-center py-1 px-3 me-3 rounded-2 bg-blue-selected button__hover-blue-100 text-color-selected",onClick:r[0]||(r[0]=De(a=>n(),["stop"]))},k(T(_)("UIComponents.removeConfirmModalWindow.cancelButton")),1),f("button",{class:"modal-footer__button bootstrap-styles d-flex justify-content-center align-center py-1 px-3 rounded-2 text-white cursor-pointer remove-element-confirm__button",onClick:r[1]||(r[1]=De(a=>s("confirmed"),["stop"]))},k(T(_)("UIComponents.removeConfirmModalWindow.applyButton")),1)]),_:3},8,["headerText"]))}});const _9=lt({__name:"DeleteThemeLibrarySectionItemModalWindow",props:{deps:{},sectionItemId:{}},emits:["cancel","confirmed"],setup(t,{emit:o}){const e=t,n=o,s=async()=>{await e.deps.deleteThemeLibrarySectionItem({sectionItemId:e.sectionItemId}),n("confirmed")};return(i,r)=>(S(),st(Jr,{headerText:T(_)("asideMenu.themeLibrary.themeSection.themeSectionItem.deleteThemeLibrarySectionItemModalWindow.title"),onCancel:r[0]||(r[0]=a=>n("cancel")),onConfirmed:r[1]||(r[1]=a=>s())},{"body-content":le(()=>[je(k(T(_)("asideMenu.themeLibrary.themeSection.themeSectionItem.deleteThemeLibrarySectionItemModalWindow.description")),1)]),_:1},8,["headerText"]))}}),I9={class:"bootstrap-styles fw-bold mb-5"},E9={class:"bootstrap-styles col-12 mb-13"},P9={class:"bootstrap-styles bg-color-input border rounded-2 py-1 px-3 d-flex"},N9=["placeholder"],w9={class:"bootstrap-styles fw-bold mb-5"},A9={class:"bootstrap-styles dropdown border rounded-2 bg-color-input"},W9={id:"dropdownMenuSectionSelect",class:"bootstrap-styles w-100 d-flex justify-content-between align-items-center py-1 px-3",type:"button","data-bs-toggle":"dropdown","aria-expanded":"false"},k9={class:"bootstrap-styles d-flex justify-content-center align-items-center"},M9={class:"bootstrap-styles dropdown-menu w-100 rounded-2","aria-labelledby":"dropdownMenuSectionSelect"},O9=["onClick"],H9={class:"bootstrap-styles d-block py-1 px-3 text-decoration-none text-reset cursor-pointer"},$9=lt({__name:"EditThemeLibrarySectionItemModalWindow",props:{deps:{},initialThemeSection:{},themeName:{},themeId:{}},emits:["cancel","onThemeLibrarySectionItemUpdated"],setup(t,{emit:o}){const e=t,n=Et({isLoadedThemeLibrarySectionList:!0,themeLibrarySections:[],sectionItemName:e.themeName,selectedSectionId:e.initialThemeSection.sectionId,selectedSectionName:e.initialThemeSection.sectionName});e.deps.getThemeLibrarySections().then(a=>{n.themeLibrarySections=a,n.isLoadedThemeLibrarySectionList=!1});const s=async()=>{n.sectionItemName.length&&(await e.deps.updateThemeLibrarySectionItem({sectionItemId:e.themeId,updatedParentSectionId:n.selectedSectionId,updatedSectionItemName:n.sectionItemName}),r("onThemeLibrarySectionItemUpdated"))},i=()=>{r("cancel")},r=o;return(a,d)=>(S(),st(yn,{class:"edit-theme-modal-window",headerText:T(_)("asideMenu.themeLibrary.themeSection.themeSectionItem.editThemeLibrarySectionModalWindow.title"),onClose:d[2]||(d[2]=()=>i())},{body:le(()=>[P(Jn,{class:at(["bootstrap-styles position-absolute top-50 start-50",{invisible:!n.isLoadedThemeLibrarySectionList}])},null,8,["class"]),f("div",{class:at(["bootstrap-styles px-11 py-7 text-start",{invisible:n.isLoadedThemeLibrarySectionList}])},[f("label",I9,k(T(_)("asideMenu.themeLibrary.themeSection.themeSectionItem.editThemeLibrarySectionModalWindow.themeNameLabel")),1),f("div",E9,[f("div",P9,[Ot(f("input",{"onUpdate:modelValue":d[0]||(d[0]=u=>n.sectionItemName=u),type:"text",class:"bootstrap-styles w-100",placeholder:T(_)("asideMenu.themeLibrary.themeSection.themeSectionItem.editThemeLibrarySectionModalWindow.themeNamePlaceholder")},null,8,N9),[[Pn,n.sectionItemName]])])]),f("div",null,[f("label",w9,k(T(_)("asideMenu.themeLibrary.themeSection.themeSectionItem.editThemeLibrarySectionModalWindow.themeSectionLabel")),1),f("div",A9,[Ot((S(),E("button",W9,[f("span",null,k(n.selectedSectionName),1),f("i",k9,[P(jo)])])),[[T(Nn)]]),f("ul",M9,[(S(!0),E(Lt,null,ge(n.themeLibrarySections,u=>(S(),E("li",{key:u.sectionName,class:"bootstrap-styles dropdown-item p-0",onClick:()=>{n.selectedSectionId=u.sectionId,n.selectedSectionName=u.sectionName}},[f("span",H9,k(u.sectionName),1)],8,O9))),128))])])])],2)]),"footer-actions":le(()=>[f("button",{class:"modal-footer__button bootstrap-styles d-flex justify-content-center align-center py-1 px-3 me-3 rounded-2 bg-blue-selected button__hover-blue-100 text-color-selected",onClick:d[1]||(d[1]=De(u=>i(),["stop"]))},k(T(_)("asideMenu.themeLibrary.themeSection.themeSectionItem.editThemeLibrarySectionModalWindow.cancelButton")),1),f("button",{class:"modal-footer__button bootstrap-styles d-flex justify-content-center align-center py-1 px-3 rounded-2 text-white cursor-pointer bg-color-selected button__hover-blue-400",onClick:De(s,["stop"])},k(T(_)("asideMenu.themeLibrary.themeSection.themeSectionItem.editThemeLibrarySectionModalWindow.applyButton")),1)]),_:1},8,["headerText"]))}}),U9={class:"bootstrap-styles input__settings-text__item__content"},j9={class:"overflow-hidden"},z9={class:"bootstrap-styles mb-5"},G9={class:"bootstrap-styles mb-5 text-nowrap"},K9={class:"bootstrap-styles preview-theme__label input__settings-text__item__title border-top bg-white pt-1 pb-3 px-3 d-flex justify-content-between align-items-center"},Y9={class:"preview-theme__context"},Z9={class:"bootstrap-styles p-14"},J9={class:"bootstrap-styles me-1"},X9={class:"bootstrap-styles me-1"},Q9=lt({__name:"CustomThemeSectionItem",props:{deps:{},theme:{},themeSection:{}},emits:["back","themeSectionItemRemoved","onThemeLibrarySectionItemUpdated","selectedThemeSettings"],setup(t,{emit:o}){const e=t,n=Et({isRemoveThemeWindowShown:!1,isEditThemeWindowShown:!1,isContextWindowShown:!1}),s=Te(null),i=Te(null),{floatingStyles:r}=rf(s,i,{placement:"right",whileElementsMounted:nf,middleware:[of(20)]}),a=o;return(d,u)=>(S(),E(Lt,null,[f("div",{class:"bootstrap-styles input__settings-text__item overflow-hidden cursor-pointer border rounded-1 shadow-hover-1",onClick:u[5]||(u[5]=c=>a("selectedThemeSettings",e.theme.theme))},[f("div",U9,[f("div",j9,[f("section",{class:"bootstrap-styles d-flex w-100 h-100",style:Nt({background:e.theme.theme.Colors.EmailBackgroundColor,padding:"16px 0 0 16px"})},[f("div",{class:"bootstrap-styles w-100 h-100",style:Nt({background:e.theme.theme.Colors.BodyColor,borderTopLeftRadius:`${e.theme.theme.BorderRadius.TopLeft}px`,paddingLeft:`${e.theme.theme.BodyPaddings.Left}px`,paddingTop:`${e.theme.theme.BodyPaddings.Top}px`})},[f("div",z9,[f("span",{style:Nt({fontFamily:e.theme.theme.FontFamily,color:e.theme.theme.Colors.HeadingColor,fontSize:`${e.theme.theme.FontSettingsPresets.Heading.FontSize}px`,fontWeight:e.theme.theme.FontSettingsPresets.Button.IsBold?"bold":"normal",fontStyle:e.theme.theme.FontSettingsPresets.Button.IsItalic?"italic":"normal",textDecoration:e.theme.theme.FontSettingsPresets.Heading.Decoration,marginRight:"4px"})}," Aa ",4),f("span",{style:Nt({fontFamily:e.theme.theme.FontFamily,color:e.theme.theme.Colors.NormalTextColor,fontSize:`${e.theme.theme.FontSettingsPresets.NormalText.FontSize}px`,fontWeight:e.theme.theme.FontSettingsPresets.Button.IsBold?"bold":"normal",fontStyle:e.theme.theme.FontSettingsPresets.Button.IsItalic?"italic":"normal",textDecoration:e.theme.theme.FontSettingsPresets.NormalText.Decoration,marginRight:"4px"})}," Aa ",4),f("span",{style:Nt({fontFamily:e.theme.theme.FontFamily,color:e.theme.theme.Colors.DescriptionTextColor,fontSize:`${e.theme.theme.FontSettingsPresets.DescriptionText.FontSize}px`,fontWeight:e.theme.theme.FontSettingsPresets.DescriptionText.IsBold?"bold":"normal",fontStyle:e.theme.theme.FontSettingsPresets.DescriptionText.IsItalic?"italic":"normal",textDecoration:e.theme.theme.FontSettingsPresets.DescriptionText.Decoration})}," Aa ",4)]),f("div",G9,[f("span",{class:"bootstrap-styles me-2 d-inline-block",style:Nt({fontFamily:e.theme.theme.FontFamily,color:e.theme.theme.Colors.PrimaryTextColor,fontSize:`${e.theme.theme.FontSettingsPresets.Button.FontSize}px`,fontWeight:e.theme.theme.FontSettingsPresets.Button.IsBold?"bold":"normal",fontStyle:e.theme.theme.FontSettingsPresets.Button.IsItalic?"italic":"normal",textDecoration:e.theme.theme.FontSettingsPresets.Button.Decoration,background:e.theme.theme.Colors.PrimaryColor,borderTopLeftRadius:`${e.theme.theme.BorderRadiusButton.TopLeft}px`,borderTopRightRadius:`${e.theme.theme.BorderRadiusButton.TopRight}px`,borderBottomRightRadius:`${e.theme.theme.BorderRadiusButton.BottomRight}px`,borderBottomLeftRadius:`${e.theme.theme.BorderRadiusButton.BottomLeft}px`,padding:"12px 24px"})}," Button ",4),f("span",{class:"bootstrap-styles d-inline-block",style:Nt({fontFamily:e.theme.theme.FontFamily,color:e.theme.theme.Colors.SecondaryTextColor,fontSize:`${e.theme.theme.FontSettingsPresets.Button.FontSize}px`,fontWeight:e.theme.theme.FontSettingsPresets.Button.IsBold?"bold":"normal",fontStyle:e.theme.theme.FontSettingsPresets.Button.IsItalic?"italic":"normal",textDecoration:e.theme.theme.FontSettingsPresets.Button.Decoration,background:e.theme.theme.Colors.SecondaryColor,borderTopLeftRadius:`${e.theme.theme.BorderRadiusButton.TopLeft}px`,borderTopRightRadius:`${e.theme.theme.BorderRadiusButton.TopRight}px`,borderBottomRightRadius:`${e.theme.theme.BorderRadiusButton.BottomRight}px`,borderBottomLeftRadius:`${e.theme.theme.BorderRadiusButton.BottomLeft}px`,padding:"12px 24px"})}," Button ",4)])],4)],4)])]),f("div",K9,[je(k(e.theme.sectionItemName)+" ",1),f("div",Y9,[f("button",{ref_key:"themePreviewContextButtonElmRef",ref:s,class:at(["preview-theme__context-button",{"preview-theme__context-button__active":n.isContextWindowShown}]),onClick:u[0]||(u[0]=De(c=>n.isContextWindowShown=!n.isContextWindowShown,["stop"])),onBlur:u[1]||(u[1]=c=>n.isContextWindowShown=!1)},[f("i",Z9,[P(_D)])],34)])]),n.isContextWindowShown?(S(),E("div",{key:0,ref_key:"themePreviewContextMenuElmRef",ref:i,class:"preview-theme__context-menu bootstrap-styles rounded-1 border shadow-1 bg-white position-absolute z-index-3",style:Nt(T(r)),onMouseleave:u[4]||(u[4]=c=>n.isContextWindowShown=!1)},[f("button",{class:"edit-button",onMousedown:u[2]||(u[2]=c=>n.isEditThemeWindowShown=!0)},[f("i",J9,[P(xD)]),je(" "+k(T(_)("asideMenu.themeLibrary.themeSection.themeSectionItem.editThemeButton")),1)],32),f("button",{class:"remove-button",onMousedown:u[3]||(u[3]=c=>n.isRemoveThemeWindowShown=!0)},[f("i",X9,[P(Hd)]),je(" "+k(T(_)("asideMenu.themeLibrary.themeSection.themeSectionItem.deleteThemeButton")),1)],32)],36)):St("",!0)]),(S(),st(lo,{to:"#app"},[n.isEditThemeWindowShown?(S(),st($9,{key:0,deps:e.deps.editThemeLibrarySectionItemModalWindowDeps,initialThemeSection:e.themeSection,themeId:e.theme.sectionItemId,themeName:e.theme.sectionItemName,onOnThemeLibrarySectionItemUpdated:u[6]||(u[6]=()=>{a("onThemeLibrarySectionItemUpdated"),n.isEditThemeWindowShown=!1}),onCancel:u[7]||(u[7]=c=>n.isEditThemeWindowShown=!1)},null,8,["deps","initialThemeSection","themeId","themeName"])):St("",!0)])),(S(),st(lo,{to:"#app"},[n.isRemoveThemeWindowShown?(S(),st(_9,{key:0,deps:e.deps.deleteThemeLibrarySectionItemModalWindowDeps,sectionItemId:d.theme.sectionItemId,onCancel:u[8]||(u[8]=c=>n.isRemoveThemeWindowShown=!1),onConfirmed:u[9]||(u[9]=()=>{a("themeSectionItemRemoved"),n.isRemoveThemeWindowShown=!1})},null,8,["deps","sectionItemId"])):St("",!0)]))],64))}});const q9=mt(Q9,[["__scopeId","data-v-934f841f"]]),tH={},eH={width:"60",height:"61",viewBox:"0 0 60 61",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function oH(t,o){return S(),E("svg",eH,o[0]||(o[0]=[ar('<path d="M26.6998 43.4001C35.4811 43.4001 42.5998 36.2814 42.5998 27.5001C42.5998 18.7188 35.4811 11.6001 26.6998 11.6001C17.9185 11.6001 10.7998 18.7188 10.7998 27.5001C10.7998 36.2814 17.9185 43.4001 26.6998 43.4001Z" stroke="var(--gray-200)" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path><path d="M20.7629 23.3031C20.5313 23.6386 20.4051 24.034 20.4001 24.4398C20.3967 24.7158 20.4494 24.9897 20.5553 25.2453C20.6611 25.5008 20.8179 25.7329 21.0163 25.9277C21.2146 26.1225 21.4506 26.2761 21.7103 26.3794C21.9699 26.4828 22.248 26.5337 22.528 26.5293C22.9396 26.5228 23.3402 26.3968 23.6796 26.1671C24.0191 25.9373 24.2823 25.6141 24.4364 25.2377C24.5905 24.8614 24.6287 24.4486 24.5462 24.0509C24.4636 23.6533 24.264 23.2885 23.9723 23.002C23.6806 22.7156 23.3098 22.5203 22.9061 22.4405C22.5024 22.3607 22.0838 22.3999 21.7026 22.5533C21.3215 22.7068 20.9946 22.9675 20.7629 23.3031Z" fill="var(--gray-200)"></path><path d="M31.7405 34.3108C31.8531 34.2517 31.949 34.1659 32.0197 34.0613C32.0918 33.9571 32.1364 33.8369 32.1496 33.7114C32.1627 33.586 32.144 33.4593 32.0951 33.3428C31.6717 32.2665 30.9355 31.3374 29.9788 30.6719C29.022 30.0063 27.8872 29.634 26.7167 29.6015C25.5405 29.6276 24.3984 29.9969 23.4351 30.6628C22.4718 31.3288 21.7304 32.2614 21.3048 33.3428C21.2552 33.4579 21.2351 33.5833 21.2464 33.7079C21.2578 33.8325 21.3001 33.9524 21.3697 34.057C21.4393 34.1616 21.5341 34.2476 21.6455 34.3074C21.757 34.3672 21.8817 34.399 22.0085 34.3999C22.1888 34.4008 22.3637 34.3395 22.5028 34.2265C23.6884 33.286 25.17 32.7835 26.6916 32.8059C28.2132 32.7835 29.6948 33.286 30.8804 34.2265C31.0195 34.3395 31.1944 34.4008 31.3747 34.3999C31.5022 34.4005 31.6279 34.3698 31.7405 34.3108Z" fill="var(--gray-200)"></path><path d="M29.7419 26.1813C30.0864 26.4082 30.4913 26.5293 30.9055 26.5293C31.461 26.5293 31.9937 26.3118 32.3865 25.9246C32.7792 25.5373 32.9999 25.0122 32.9999 24.4646C32.9999 24.0562 32.8771 23.6571 32.6469 23.3175C32.4168 22.978 32.0897 22.7133 31.707 22.5571C31.3243 22.4008 30.9032 22.3599 30.4969 22.4396C30.0906 22.5192 29.7175 22.7159 29.4246 23.0046C29.1317 23.2934 28.9322 23.6613 28.8514 24.0618C28.7706 24.4623 28.812 24.8774 28.9706 25.2547C29.1291 25.632 29.3975 25.9545 29.7419 26.1813Z" fill="var(--gray-200)"></path><path d="M49.1999 49.4001L38.3999 38.6001" stroke="var(--gray-200)" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path>',5)]))}const ID=mt(tH,[["render",oH]]),nH=lt({__name:"DeleteThemeLibrarySectionModalWindow",props:{deps:{},sectionName:{},sectionId:{}},emits:["cancel","confirmed"],setup(t,{emit:o}){const e=t,n=async()=>{await e.deps.deleteThemeLibrarySection({sectionId:e.sectionId}),s("confirmed")},s=o;return(i,r)=>(S(),st(Jr,{headerText:T(_)("asideMenu.themeLibrary.themeSection.deleteThemeLibrarySectionModalWindow.title"),onCancel:r[0]||(r[0]=a=>s("cancel")),onConfirmed:r[1]||(r[1]=a=>n())},{"body-content":le(()=>[je(" Вы действительно хотите удалить секцию «"+k(e.sectionName)+"» ? ",1)]),_:1},8,["headerText"]))}}),iH={class:"bootstrap-styles d-flex flex-column justify-content-center align-items-center h-100 pe-7"},rH={class:"bootstrap-styles mt-auto d-flex flex-column justify-content-center align-items-center"},sH={class:"bootstrap-styles text-gray-600"},aH=lt({__name:"EmptyThemeSection",props:{deps:{},sectionName:{},sectionId:{}},emits:["onThemeLibrarySectionRemoved"],setup(t,{emit:o}){const e=t,n=Et({isRemoveThemeLibrarySectionModalWindowShown:!1}),s=o;return(i,r)=>(S(),E(Lt,null,[f("div",iH,[f("div",rH,[P(ID),f("p",sH,k(T(_)("asideMenu.themeLibrary.themeSection.emptySectionText")),1)]),f("button",{class:"bootstrap-styles py-1 px-3 rounded-2 w-100 mt-auto section__remove-button",onClick:r[0]||(r[0]=a=>n.isRemoveThemeLibrarySectionModalWindowShown=!0)},[f("i",null,[P(Hd)]),je(" "+k(T(_)("asideMenu.themeLibrary.themeSection.deleteSectionButton")),1)])]),(S(),st(lo,{to:"#app"},[n.isRemoveThemeLibrarySectionModalWindowShown?(S(),st(nH,{key:0,deps:e.deps.deleteThemeLibrarySectionModalWindowDeps,sectionName:e.sectionName,sectionId:e.sectionId,onCancel:r[1]||(r[1]=a=>n.isRemoveThemeLibrarySectionModalWindowShown=!1),onConfirmed:r[2]||(r[2]=()=>{s("onThemeLibrarySectionRemoved"),n.isRemoveThemeLibrarySectionModalWindowShown=!1})},null,8,["deps","sectionName","sectionId"])):St("",!0)]))],64))}});const lH=mt(aH,[["__scopeId","data-v-dc27045f"]]),uH={key:0,class:"bootstrap-styles h-100 d-flex flex-column overflow-scroll"},dH={class:"bootstrap-styles scrollable d-flex flex-column gap-5 overflow-scroll"},mH=lt({__name:"CustomThemeSection",props:{deps:{},themeLibrary:{},themeSection:{}},emits:["back","themeSectionItemRemoved","onThemeLibrarySectionItemUpdated","selectedThemeSettings","onThemeLibrarySectionRemoved"],setup(t,{emit:o}){const e=t,n=o;return(s,i)=>(S(),E(Lt,null,[P(Zf,{title:e.themeSection.sectionName,onClick:i[0]||(i[0]=r=>n("back"))},null,8,["title"]),e.themeSection.sectionItems.length>0?(S(),E("div",uH,[f("div",dH,[(S(!0),E(Lt,null,ge(e.themeSection.sectionItems,r=>(S(),E("div",{key:r.sectionItemId,class:"bootstrap-styles list-group me-3"},[P(q9,{deps:e.deps.themeSectionItemDeps,theme:r,themeSection:e.themeSection,onSelectedThemeSettings:i[1]||(i[1]=a=>n("selectedThemeSettings",a)),onOnThemeLibrarySectionItemUpdated:i[2]||(i[2]=()=>n("onThemeLibrarySectionItemUpdated")),onThemeSectionItemRemoved:i[3]||(i[3]=a=>n("themeSectionItemRemoved"))},null,8,["deps","theme","themeSection"])]))),128))])])):(S(),st(lH,{key:1,deps:e.deps.emptyThemeSectionDeps,sectionName:e.themeSection.sectionName,sectionId:e.themeSection.sectionId,onOnThemeLibrarySectionRemoved:i[4]||(i[4]=()=>{n("back"),n("onThemeLibrarySectionRemoved")})},null,8,["deps","sectionName","sectionId"]))],64))}});const cH=mt(mH,[["__scopeId","data-v-ccb7e914"]]),fH={class:"bootstrap-styles h-100 d-flex flex-column"},pH={class:"bootstrap-styles list-group list-group-flush p-0"},CH=["onClick"],hH={class:"bootstrap-styles me-1"},gH={class:"bootstrap-styles d-flex align-items-center"},FH={class:"bootstrap-styles icon-hover-stroke"},yH={for:"button-hide-empty-theme-section",class:"label__checkbox-input"},SH={class:"bootstrap-styles d-flex justify-content-center align-items-center me-1 icon-stroke"},bH=lt({__name:"CustomThemeLibrary",props:{deps:{},currentThemeSettings:{},themeLibrary:{}},emits:["selectedThemeSettings","onThemeLibrarySectionItemUpdated","onThemeLibrarySectionAdded","themeSectionItemAdded","themeSectionItemRemoved","onThemeLibrarySectionRemoved","onMenuOptionIndexChanged"],setup(t,{emit:o}){const e=t,n=Et({menuOptionIndex:null,isAddThemeLibrarySectionItemModalWindowShown:!1,isAddThemeLibrarySectionModalWindowShown:!1,isHiddenThemeLibraryEmptySection:e.themeLibrary.some(a=>{var d;return((d=a==null?void 0:a.sectionItems)==null?void 0:d.length)>0}),isLoaded:!0}),s=a=>e.themeLibrary[a].sectionItems.length==0,i=()=>{n.isHiddenThemeLibraryEmptySection=!n.isHiddenThemeLibraryEmptySection};qe(()=>e.themeLibrary,a=>{a&&(n.isLoaded=!0)});const r=o;return(a,d)=>{const u=If("VSkeletonLoader");return S(),E("div",fH,[(S(!0),E(Lt,null,ge(e.themeLibrary,(c,p)=>(S(),E("div",{key:p,class:at({"bootstrap-styles h-100 d-flex flex-column":n.menuOptionIndex===p})},[n.menuOptionIndex===p?(S(),st(cH,{key:0,deps:e.deps.themeSectionDeps,themeLibrary:e.themeLibrary,themeSection:c,onBack:d[0]||(d[0]=()=>{r("onMenuOptionIndexChanged"),n.menuOptionIndex=null}),onOnThemeLibrarySectionItemUpdated:d[1]||(d[1]=h=>r("onThemeLibrarySectionItemUpdated")),onSelectedThemeSettings:d[2]||(d[2]=h=>r("selectedThemeSettings",h)),onThemeSectionItemRemoved:d[3]||(d[3]=h=>r("themeSectionItemRemoved")),onOnThemeLibrarySectionRemoved:d[4]||(d[4]=h=>r("onThemeLibrarySectionRemoved"))},null,8,["deps","themeLibrary","themeSection"])):St("",!0)],2))),128)),f("div",{class:at(["bootstrap-styles h-100 flex-column pe-5 me-14 overflow-scroll",[n.menuOptionIndex===null?"d-flex":"d-none"]])},[f("div",pH,[(S(!0),E(Lt,null,ge(e.themeLibrary,(c,p)=>(S(),E("button",{key:p,class:at(["bootstrap-styles list-group-item py-5 px-0 text-start border-gray-200 justify-content-between",[n.isHiddenThemeLibraryEmptySection&&s(p)?"d-none":"d-flex"]]),onClick:()=>{r("onMenuOptionIndexChanged"),n.menuOptionIndex=p}},[f("span",hH,k(c.sectionName),1),f("span",gH,[f("span",{class:at(["bootstrap-styles themes-quantity px-1 me-1",{empty:s(p)}])},k(e.themeLibrary[p].sectionItems.length),3),f("i",FH,[P(Uf)])])],10,CH))),128)),!n.isLoaded&&!n.isHiddenThemeLibraryEmptySection?(S(),st(u,{key:0,class:"bootstrap-styles my-5",width:"216",height:"17"})):St("",!0)])],2),f("div",{class:at(["bootstrap-styles mt-7 me-7 mb-7",[n.menuOptionIndex===null?"d-flex":"d-none"]])},[P(ir,{id:"button-hide-empty-theme-section",checked:n.isHiddenThemeLibraryEmptySection,onChange:d[5]||(d[5]=c=>i())},null,8,["checked"]),f("label",yH,k(T(_)("asideMenu.themeLibrary.hideEmptySectionsCheckbox")),1)],2),f("button",{class:at(["bootstrap-styles d-flex align-items-center justify-content-center py-1 px-3 me-7 mb-3 rounded-2 bg-blue-selected button__hover-blue-100 text-color-selected",[n.menuOptionIndex===null?"d-flex":"d-none"]]),onClick:d[6]||(d[6]=c=>n.isAddThemeLibrarySectionModalWindowShown=!0)},[f("i",SH,[P(Yf)]),je(" "+k(T(_)("asideMenu.themeLibrary.addThemeLibrarySectionButton")),1)],2),f("div",{class:at(["bootstrap-styles aside-menu__groups__add-element_add mt-auto me-7",[n.menuOptionIndex===null?"d-flex":"d-none"]])},[Ot((S(),E("button",{class:at([{"save-theme__disabled":e.themeLibrary.length===0},"bootstrap-styles button_aside-menu__save-theme d-flex align-items-center justify-content-center text-white border-0 rounded-2 w-100 py-1 px-3 gap-1 button__hover-blue-400"]),onClick:d[7]||(d[7]=()=>n.isAddThemeLibrarySectionItemModalWindowShown=e.themeLibrary.length>0)},[P(XM),je(" "+k(T(_)("asideMenu.themeLibrary.addThemeLibrarySectionItemButton")),1)],2)),[[T(Ho),{title:T(_)("asideMenu.themeLibrary.addThemeLibrarySectionItemButtonTooltip"),placement:"right",trigger:e.themeLibrary.length===0?"hover":"manual"}]])],2),(S(),st(lo,{to:"#app"},[n.isAddThemeLibrarySectionItemModalWindowShown?(S(),st(PO,{key:0,deps:a.deps.addThemeSectionItemModalWindowDeps,themeSettings:e.currentThemeSettings,onCancel:d[8]||(d[8]=c=>n.isAddThemeLibrarySectionItemModalWindowShown=!1),onThemeSectionItemAdded:d[9]||(d[9]=c=>{n.isAddThemeLibrarySectionItemModalWindowShown=!1,r("themeSectionItemAdded")})},null,8,["deps","themeSettings"])):St("",!0)])),(S(),st(lo,{to:"#app"},[n.isAddThemeLibrarySectionModalWindowShown?(S(),st(WO,{key:0,deps:e.deps.createThemeLibrarySectionModalWindowDeps,onOnThemeLibrarySectionCreated:d[10]||(d[10]=()=>{n.isLoaded=!1,r("onThemeLibrarySectionAdded"),n.isAddThemeLibrarySectionModalWindowShown=!1}),onOnCanceled:d[11]||(d[11]=c=>n.isAddThemeLibrarySectionModalWindowShown=!1)},null,8,["deps"])):St("",!0)]))])}}});const TH=mt(bH,[["__scopeId","data-v-9d62ae76"]]),BH={class:"bootstrap-styles input__settings-text__item__content"},VH={class:"overflow-hidden"},LH={class:"bootstrap-styles mb-5"},DH={class:"bootstrap-styles mb-5 text-nowrap"},vH={class:"bootstrap-styles preview-theme__label input__settings-text__item__title border-top bg-white pt-1 pb-3 px-3 d-flex justify-content-between align-items-center"},RH=lt({__name:"DefaultThemeSectionItem",props:{theme:{},themeSection:{}},emits:["back","selectedThemeSettings"],setup(t,{emit:o}){const e=t,n=o;return(s,i)=>(S(),E("div",{class:"bootstrap-styles input__settings-text__item overflow-hidden cursor-pointer border rounded-1 shadow-hover-1",onClick:i[0]||(i[0]=r=>n("selectedThemeSettings",e.theme.theme))},[f("div",BH,[f("div",VH,[f("section",{class:"bootstrap-styles d-flex w-100 h-100",style:Nt({background:e.theme.theme.Colors.EmailBackgroundColor,padding:"16px 0 0 16px"})},[f("div",{class:"bootstrap-styles w-100 h-100",style:Nt({background:e.theme.theme.Colors.BodyColor,borderTopLeftRadius:`${e.theme.theme.BorderRadius.TopLeft}px`,paddingLeft:`${e.theme.theme.BodyPaddings.Left}px`,paddingTop:`${e.theme.theme.BodyPaddings.Top}px`})},[f("div",LH,[f("span",{style:Nt({fontFamily:e.theme.theme.FontFamily,color:e.theme.theme.Colors.HeadingColor,fontSize:`${e.theme.theme.FontSettingsPresets.Heading.FontSize}px`,fontWeight:e.theme.theme.FontSettingsPresets.Button.IsBold?"bold":"normal",fontStyle:e.theme.theme.FontSettingsPresets.Button.IsItalic?"italic":"normal",textDecoration:e.theme.theme.FontSettingsPresets.Heading.Decoration,marginRight:"4px"})}," Aa ",4),f("span",{style:Nt({fontFamily:e.theme.theme.FontFamily,color:e.theme.theme.Colors.NormalTextColor,fontSize:`${e.theme.theme.FontSettingsPresets.NormalText.FontSize}px`,fontWeight:e.theme.theme.FontSettingsPresets.Button.IsBold?"bold":"normal",fontStyle:e.theme.theme.FontSettingsPresets.Button.IsItalic?"italic":"normal",textDecoration:e.theme.theme.FontSettingsPresets.NormalText.Decoration,marginRight:"4px"})}," Aa ",4),f("span",{style:Nt({fontFamily:e.theme.theme.FontFamily,color:e.theme.theme.Colors.DescriptionTextColor,fontSize:`${e.theme.theme.FontSettingsPresets.DescriptionText.FontSize}px`,fontWeight:e.theme.theme.FontSettingsPresets.DescriptionText.IsBold?"bold":"normal",fontStyle:e.theme.theme.FontSettingsPresets.DescriptionText.IsItalic?"italic":"normal",textDecoration:e.theme.theme.FontSettingsPresets.DescriptionText.Decoration})}," Aa ",4)]),f("div",DH,[f("span",{class:"bootstrap-styles me-2 d-inline-block",style:Nt({fontFamily:e.theme.theme.FontFamily,color:e.theme.theme.Colors.PrimaryTextColor,fontSize:`${e.theme.theme.FontSettingsPresets.Button.FontSize}px`,fontWeight:e.theme.theme.FontSettingsPresets.Button.IsBold?"bold":"normal",fontStyle:e.theme.theme.FontSettingsPresets.Button.IsItalic?"italic":"normal",textDecoration:e.theme.theme.FontSettingsPresets.Button.Decoration,background:e.theme.theme.Colors.PrimaryColor,borderTopLeftRadius:`${e.theme.theme.BorderRadiusButton.TopLeft}px`,borderTopRightRadius:`${e.theme.theme.BorderRadiusButton.TopRight}px`,borderBottomRightRadius:`${e.theme.theme.BorderRadiusButton.BottomRight}px`,borderBottomLeftRadius:`${e.theme.theme.BorderRadiusButton.BottomLeft}px`,padding:"12px 24px"})}," Button ",4),f("span",{class:"bootstrap-styles d-inline-block",style:Nt({fontFamily:e.theme.theme.FontFamily,color:e.theme.theme.Colors.SecondaryTextColor,fontSize:`${e.theme.theme.FontSettingsPresets.Button.FontSize}px`,fontWeight:e.theme.theme.FontSettingsPresets.Button.IsBold?"bold":"normal",fontStyle:e.theme.theme.FontSettingsPresets.Button.IsItalic?"italic":"normal",textDecoration:e.theme.theme.FontSettingsPresets.Button.Decoration,background:e.theme.theme.Colors.SecondaryColor,borderTopLeftRadius:`${e.theme.theme.BorderRadiusButton.TopLeft}px`,borderTopRightRadius:`${e.theme.theme.BorderRadiusButton.TopRight}px`,borderBottomRightRadius:`${e.theme.theme.BorderRadiusButton.BottomRight}px`,borderBottomLeftRadius:`${e.theme.theme.BorderRadiusButton.BottomLeft}px`,padding:"12px 24px"})}," Button ",4)])],4)],4)])]),f("div",vH,k(e.theme.sectionItemName),1)]))}});const xH=mt(RH,[["__scopeId","data-v-ae007019"]]),_H={class:"bootstrap-styles h-100 d-flex flex-column overflow-scroll"},IH={class:"bootstrap-styles scrollable d-flex flex-column gap-5 overflow-scroll"},EH=lt({__name:"DefaultThemeSection",props:{themeLibrary:{},themeSection:{}},emits:["back","selectedThemeSettings"],setup(t,{emit:o}){const e=t,n=o;return(s,i)=>(S(),E(Lt,null,[P(Zf,{title:e.themeSection.sectionName,onClick:i[0]||(i[0]=r=>n("back"))},null,8,["title"]),f("div",_H,[f("div",IH,[(S(!0),E(Lt,null,ge(e.themeSection.sectionItems,r=>(S(),E("div",{key:r.sectionItemId,class:"bootstrap-styles list-group me-3"},[P(xH,{theme:r,themeSection:e.themeSection,onSelectedThemeSettings:i[1]||(i[1]=a=>n("selectedThemeSettings",a))},null,8,["theme","themeSection"])]))),128))])])],64))}});const PH=mt(EH,[["__scopeId","data-v-d1b831e4"]]),NH={class:"bootstrap-styles h-100 d-flex flex-column"},wH={class:"bootstrap-styles list-group list-group-flush p-0"},AH=["onClick"],WH={class:"bootstrap-styles me-1"},kH={class:"bootstrap-styles d-flex align-items-center"},MH={class:"bootstrap-styles themes-quantity px-1 me-1"},OH={class:"bootstrap-styles icon-hover-stroke"},HH=lt({__name:"DefaultThemeLibrary",props:{currentThemeSettings:{},themeLibrary:{}},emits:["selectedThemeSettings","onMenuOptionIndexChanged"],setup(t,{emit:o}){const e=t,n=Et({menuOptionIndex:null}),s=o;return(i,r)=>(S(),E("div",NH,[(S(!0),E(Lt,null,ge(e.themeLibrary,(a,d)=>(S(),E("div",{key:d,class:at({"bootstrap-styles h-100 d-flex flex-column":n.menuOptionIndex===d})},[n.menuOptionIndex===d?(S(),st(PH,{key:0,themeLibrary:e.themeLibrary,themeSection:a,onBack:r[0]||(r[0]=()=>{s("onMenuOptionIndexChanged"),n.menuOptionIndex=null}),onSelectedThemeSettings:r[1]||(r[1]=u=>s("selectedThemeSettings",u))},null,8,["themeLibrary","themeSection"])):St("",!0)],2))),128)),f("div",{class:at(["bootstrap-styles h-100 flex-column pe-5 me-14 overflow-scroll",[n.menuOptionIndex===null?"d-flex":"d-none"]])},[f("div",wH,[(S(!0),E(Lt,null,ge(e.themeLibrary,(a,d)=>(S(),E("button",{key:d,class:"bootstrap-styles d-flex list-group-item py-5 px-0 text-start border-gray-200 justify-content-between",onClick:()=>{s("onMenuOptionIndexChanged"),n.menuOptionIndex=d}},[f("span",WH,k(a.sectionName),1),f("span",kH,[f("span",MH,k(e.themeLibrary[d].sectionItems.length),1),f("i",OH,[P(Uf)])])],8,AH))),128))])],2)]))}});const $H=mt(HH,[["__scopeId","data-v-147cc9a5"]]),UH={ref:"tabsRef",class:"bootstrap-styles w-100 tabs-container p-14 rounded-2 border bg-color-input"},jH={class:"bootstrap-styles d-flex position-relative w-100"},zH=["data-key","onClick"],GH=lt({__name:"TabList",props:{initialTab:{},tabList:{}},emits:["onTabClicked"],setup(t,{emit:o}){const e=t,n=Et({activeTab:e.initialTab,sliderStyle:{width:"0px",transform:"translateX(0px)"}}),s=Te([]),i=d=>{Gr(()=>{const u=s.value.find(c=>c.dataset.key===d);u&&(n.sliderStyle={width:`${u.offsetWidth}px`,transform:`translateX(${u.offsetLeft}px)`})})},r=d=>{n.activeTab=d,i(d),a("onTabClicked",d)};Wi(()=>{i(n.activeTab)});const a=o;return(d,u)=>(S(),E("div",UH,[f("div",jH,[f("div",{class:"slider",style:Nt(n.sliderStyle)},null,4),(S(!0),E(Lt,null,ge(e.tabList,(c,p)=>(S(),E("button",{ref_for:!0,ref_key:"tabRefs",ref:s,key:p,"data-key":p,class:at(["bootstrap-styles tab-button w-100 d-flex justify-content-center py-14 px-1 text-gray-600 z-1 position-relative",{active:n.activeTab===p}]),onClick:()=>r(p)},k(c),11,zH))),128))])],512))}});const Qf=mt(GH,[["__scopeId","data-v-de8dff0d"]]),KH={class:"bootstrap-styles scrollable d-block h-100"},YH={class:"bootstrap-styles flex-column gap-13 me-3 d-flex h-100"},Nb="custom",ZH=lt({__name:"ThemeLibrary",props:{deps:{},currentThemeSettings:{},themeLibrary:{},defaultThemeLibrary:{}},emits:["selectedThemeSettings","onThemeLibrarySectionItemUpdated","onThemeLibrarySectionAdded","themeSectionItemAdded","themeSectionItemRemoved","onThemeLibrarySectionRemoved"],setup(t,{emit:o}){const e=t,n=Et({themeLibrarySourceKey:Nb,isHeaderShow:!0}),s={custom:_("asideMenu.themeLibrary.userThemeButtonText"),default:_("asideMenu.themeLibrary.defaultThemeButtonText")},i=o;return(r,a)=>(S(),E("div",KH,[f("div",YH,[f("h2",{class:at(["bootstrap-styles fs-6 fw-bold mb-0 me-7",{"d-none":!n.isHeaderShow}])},k(T(_)("asideMenu.themeLibrary.title")),3),f("div",{class:at([{"d-none":!n.isHeaderShow},"bootstrap-styles me-3"])},[P(Qf,{initialTab:Nb,tabList:s,onOnTabClicked:a[0]||(a[0]=d=>n.themeLibrarySourceKey=d)})],2),n.themeLibrarySourceKey==="custom"?(S(),st(TH,{key:0,deps:e.deps.customThemeLibraryDeps,themeLibrary:e.themeLibrary,currentThemeSettings:e.currentThemeSettings,onOnThemeLibrarySectionItemUpdated:a[1]||(a[1]=()=>i("onThemeLibrarySectionItemUpdated")),onSelectedThemeSettings:a[2]||(a[2]=d=>i("selectedThemeSettings",d)),onThemeSectionItemAdded:a[3]||(a[3]=()=>i("themeSectionItemAdded")),onThemeSectionItemRemoved:a[4]||(a[4]=()=>i("themeSectionItemRemoved")),onOnThemeLibrarySectionRemoved:a[5]||(a[5]=d=>i("onThemeLibrarySectionRemoved")),onOnThemeLibrarySectionAdded:a[6]||(a[6]=d=>i("onThemeLibrarySectionAdded")),onOnMenuOptionIndexChanged:a[7]||(a[7]=d=>n.isHeaderShow=!n.isHeaderShow)},null,8,["deps","themeLibrary","currentThemeSettings"])):St("",!0),n.themeLibrarySourceKey==="default"?(S(),st($H,{key:1,themeLibrary:e.defaultThemeLibrary,currentThemeSettings:e.currentThemeSettings,onSelectedThemeSettings:a[8]||(a[8]=d=>i("selectedThemeSettings",d)),onOnMenuOptionIndexChanged:a[9]||(a[9]=d=>n.isHeaderShow=!n.isHeaderShow)},null,8,["themeLibrary","currentThemeSettings"])):St("",!0)])]))}});var Wt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function JH(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function ED(t){if(t.__esModule)return t;var o=t.default;if(typeof o=="function"){var e=function n(){return this instanceof n?Reflect.construct(o,arguments,this.constructor):o.apply(this,arguments)};e.prototype=o.prototype}else e={};return Object.defineProperty(e,"__esModule",{value:!0}),Object.keys(t).forEach(function(n){var s=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,s.get?s:{enumerable:!0,get:function(){return t[n]}})}),e}var PD={exports:{}};const XH=ED(IA);/**!
|
|
45
45
|
* Sortable 1.14.0
|
|
46
46
|
* @author RubaXa <trash@rubaxa.org>
|
|
47
47
|
* @author owenm <owen23355@gmail.com>
|
|
@@ -93,4 +93,4 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
93
93
|
Expected #hex, #hexa, rgb(), rgba(), hsl(), hsla(), object or number`)}function Vd(t){const{h:o,s:e,v:n,a:s}=t,i=a=>{const d=(a+o/60)%6;return n-n*e*Math.max(Math.min(d,4-d,1),0)},r=[i(5),i(3),i(1)].map(a=>Math.round(a*255));return{r:r[0],g:r[1],b:r[2],a:s}}function RT(t){return Vd(CR(t))}function CR(t){const{h:o,s:e,l:n,a:s}=t,i=n+e*Math.min(n,1-n),r=i===0?0:2-2*n/i;return{h:o,s:r,v:i,a:s}}function Fc(t){const o=Math.round(t).toString(16);return("00".substr(0,2-o.length)+o).toUpperCase()}function Umt(t){let{r:o,g:e,b:n,a:s}=t;return`#${[Fc(o),Fc(e),Fc(n),s!==void 0?Fc(Math.round(s*255)):""].join("")}`}function jmt(t){t=zmt(t);let[o,e,n,s]=Dmt(t,2).map(i=>parseInt(i,16));return s=s===void 0?s:s/255,{r:o,g:e,b:n,a:s}}function zmt(t){return t.startsWith("#")&&(t=t.slice(1)),t=t.replace(/([^0-9a-f])/gi,"F"),(t.length===3||t.length===4)&&(t=t.split("").map(o=>o+o).join("")),t.length!==6&&(t=gT(gT(t,6),8,"F")),t}function Gmt(t,o){const e=cR(Gg(t));return e[0]=e[0]+o*10,pR(fR(e))}function Kmt(t,o){const e=cR(Gg(t));return e[0]=e[0]-o*10,pR(fR(e))}function Ymt(t){const o=Qi(t);return Gg(o)[1]}function hR(t){const o=Math.abs(DT(Qi(0),Qi(t)));return Math.abs(DT(Qi(16777215),Qi(t)))>Math.min(o,50)?"#fff":"#000"}function iu(t,o){return e=>Object.keys(t).reduce((n,s)=>{const r=typeof t[s]=="object"&&t[s]!=null&&!Array.isArray(t[s])?t[s]:{type:t[s]};return e&&s in e?n[s]={...r,default:e[s]}:n[s]=r,o&&!n[s].source&&(n[s].source=o),n},{})}function ru(t,o){const e=Uo();if(!e)throw new Error(`[Vuetify] ${t} ${o||"must be called from inside a setup function"}`);return e}let gR=0,Pc=new WeakMap;function FR(){const t=ru("getUid");if(Pc.has(t))return Pc.get(t);{const o=gR++;return Pc.set(t,o),o}}FR.reset=()=>{gR=0,Pc=new WeakMap};function Zmt(t){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ru("injectSelf");const{provides:e}=o;if(e&&t in e)return e[t]}const Ld=Symbol.for("vuetify:defaults");function Jmt(t){return Te(t)}function yR(){const t=wr(Ld);if(!t)throw new Error("[Vuetify] Could not find defaults instance");return t}function Xmt(t,o){var e,n;return typeof((e=t.props)==null?void 0:e[o])<"u"||typeof((n=t.props)==null?void 0:n[Dl(o)])<"u"}function Qmt(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=arguments.length>1?arguments[1]:void 0,e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:yR();const n=ru("useDefaults");if(o=o??n.type.name??n.type.__name,!o)throw new Error("[Vuetify] Could not determine component name");const s=Yt(()=>{var d;return(d=e.value)==null?void 0:d[t._as??o]}),i=new Proxy(t,{get(d,u){var p,h,g,y,b,v,D;const c=Reflect.get(d,u);return u==="class"||u==="style"?[(p=s.value)==null?void 0:p[u],c].filter(I=>I!=null):typeof u=="string"&&!Xmt(n.vnode,u)?((h=s.value)==null?void 0:h[u])!==void 0?(g=s.value)==null?void 0:g[u]:((b=(y=e.value)==null?void 0:y.global)==null?void 0:b[u])!==void 0?(D=(v=e.value)==null?void 0:v.global)==null?void 0:D[u]:c:c}}),r=qi();Jl(()=>{if(s.value){const d=Object.entries(s.value).filter(u=>{let[c]=u;return c.startsWith(c[0].toUpperCase())});r.value=d.length?Object.fromEntries(d):void 0}else r.value=void 0});function a(){const d=Zmt(Ld,n);Ef(Ld,Yt(()=>r.value?zr((d==null?void 0:d.value)??{},r.value):d==null?void 0:d.value))}return{props:i,provideSubDefaults:a}}function zd(t){if(t._setup=t._setup??t.setup,!t.name)return t;if(t._setup){t.props=iu(t.props??{},t.name)();const o=Object.keys(t.props).filter(e=>e!=="class"&&e!=="style");t.filterProps=function(n){return Bmt(n,o)},t.props._as=String,t.setup=function(n,s){const i=yR();if(!i.value)return t._setup(n,s);const{props:r,provideSubDefaults:a}=Qmt(n,n._as??t.name,i),d=t._setup(r,s);return a(),d}}return t}function SR(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return o=>(t?zd:lt)(o)}function qmt(t){const o=ru("useRender");o.render=t}function tct(t,o,e){let n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:p=>p,s=arguments.length>4&&arguments[4]!==void 0?arguments[4]:p=>p;const i=ru("useProxiedModel"),r=Te(t[o]!==void 0?t[o]:e),a=Dl(o),u=Yt(a!==o?()=>{var p,h,g,y;return t[o],!!(((p=i.vnode.props)!=null&&p.hasOwnProperty(o)||(h=i.vnode.props)!=null&&h.hasOwnProperty(a))&&((g=i.vnode.props)!=null&&g.hasOwnProperty(`onUpdate:${o}`)||(y=i.vnode.props)!=null&&y.hasOwnProperty(`onUpdate:${a}`)))}:()=>{var p,h;return t[o],!!((p=i.vnode.props)!=null&&p.hasOwnProperty(o)&&((h=i.vnode.props)!=null&&h.hasOwnProperty(`onUpdate:${o}`)))});Smt(()=>!u.value,()=>{qe(()=>t[o],p=>{r.value=p})});const c=Yt({get(){const p=t[o];return n(u.value?p:r.value)},set(p){const h=s(p),g=$e(u.value?t[o]:r.value);g===h||n(g)===p||(r.value=h,i==null||i.emit(`update:${o}`,h))}});return Object.defineProperty(c,"externalValue",{get:()=>u.value?t[o]:r.value}),c}const ect={badge:"Badge",open:"Open",close:"Close",dismiss:"Dismiss",confirmEdit:{ok:"OK",cancel:"Cancel"},dataIterator:{noResultsText:"No matching records found",loadingText:"Loading items..."},dataTable:{itemsPerPageText:"Rows per page:",ariaLabel:{sortDescending:"Sorted descending.",sortAscending:"Sorted ascending.",sortNone:"Not sorted.",activateNone:"Activate to remove sorting.",activateDescending:"Activate to sort descending.",activateAscending:"Activate to sort ascending."},sortBy:"Sort by"},dataFooter:{itemsPerPageText:"Items per page:",itemsPerPageAll:"All",nextPage:"Next page",prevPage:"Previous page",firstPage:"First page",lastPage:"Last page",pageText:"{0}-{1} of {2}"},dateRangeInput:{divider:"to"},datePicker:{itemsSelected:"{0} selected",range:{title:"Select dates",header:"Enter dates"},title:"Select date",header:"Enter date",input:{placeholder:"Enter date"}},noDataText:"No data available",carousel:{prev:"Previous visual",next:"Next visual",ariaLabel:{delimiter:"Carousel slide {0} of {1}"}},calendar:{moreEvents:"{0} more",today:"Today"},input:{clear:"Clear {0}",prependAction:"{0} prepended action",appendAction:"{0} appended action",otp:"Please enter OTP character {0}"},fileInput:{counter:"{0} files",counterSize:"{0} files ({1} in total)"},timePicker:{am:"AM",pm:"PM",title:"Select Time"},pagination:{ariaLabel:{root:"Pagination Navigation",next:"Next page",previous:"Previous page",page:"Go to page {0}",currentPage:"Page {0}, Current page",first:"First page",last:"Last page"}},stepper:{next:"Next",prev:"Previous"},rating:{ariaLabel:{item:"Rating {0} of {1}"}},loading:"Loading...",infiniteScroll:{loadMore:"Load more",empty:"No more"}},xT="$vuetify.",_T=(t,o)=>t.replace(/\{(\d+)\}/g,(e,n)=>String(o[+n])),bR=(t,o,e)=>function(n){for(var s=arguments.length,i=new Array(s>1?s-1:0),r=1;r<s;r++)i[r-1]=arguments[r];if(!n.startsWith(xT))return _T(n,i);const a=n.replace(xT,""),d=t.value&&e.value[t.value],u=o.value&&e.value[o.value];let c=CT(d,a,null);return c||(`${n}${t.value}`,c=CT(u,a,null)),c||(c=n),typeof c!="string"&&(c=n),_T(c,i)};function TR(t,o){return(e,n)=>new Intl.NumberFormat([t.value,o.value],n).format(e)}function ch(t,o,e){const n=tct(t,o,t[o]??e.value);return n.value=t[o]??e.value,qe(e,s=>{t[o]==null&&(n.value=e.value)}),n}function BR(t){return o=>{const e=ch(o,"locale",t.current),n=ch(o,"fallback",t.fallback),s=ch(o,"messages",t.messages);return{name:"vuetify",current:e,fallback:n,messages:s,t:bR(e,n,s),n:TR(e,n),provide:BR({current:e,fallback:n,messages:s})}}}function oct(t){const o=qi((t==null?void 0:t.locale)??"en"),e=qi((t==null?void 0:t.fallback)??"en"),n=Te({en:ect,...t==null?void 0:t.messages});return{name:"vuetify",current:o,fallback:e,messages:n,t:bR(o,e,n),n:TR(o,e),provide:BR({current:o,fallback:e,messages:n})}}const s0=Symbol.for("vuetify:locale");function nct(t){return t.name!=null}function ict(t){const o=t!=null&&t.adapter&&nct(t==null?void 0:t.adapter)?t==null?void 0:t.adapter:oct(t),e=act(o,t);return{...o,...e}}function rct(){const t=wr(s0);if(!t)throw new Error("[Vuetify] Could not find injected locale instance");return t}function sct(){return{af:!1,ar:!0,bg:!1,ca:!1,ckb:!1,cs:!1,de:!1,el:!1,en:!1,es:!1,et:!1,fa:!0,fi:!1,fr:!1,hr:!1,hu:!1,he:!0,id:!1,it:!1,ja:!1,km:!1,ko:!1,lv:!1,lt:!1,nl:!1,no:!1,pl:!1,pt:!1,ro:!1,ru:!1,sk:!1,sl:!1,srCyrl:!1,srLatn:!1,sv:!1,th:!1,tr:!1,az:!1,uk:!1,vi:!1,zhHans:!1,zhHant:!1}}function act(t,o){const e=Te((o==null?void 0:o.rtl)??sct()),n=Yt(()=>e.value[t.current.value]??!1);return{isRtl:n,rtl:e,rtlClasses:Yt(()=>`v-locale--is-${n.value?"rtl":"ltr"}`)}}const tp={"001":1,AD:1,AE:6,AF:6,AG:0,AI:1,AL:1,AM:1,AN:1,AR:1,AS:0,AT:1,AU:1,AX:1,AZ:1,BA:1,BD:0,BE:1,BG:1,BH:6,BM:1,BN:1,BR:0,BS:0,BT:0,BW:0,BY:1,BZ:0,CA:0,CH:1,CL:1,CM:1,CN:1,CO:0,CR:1,CY:1,CZ:1,DE:1,DJ:6,DK:1,DM:0,DO:0,DZ:6,EC:1,EE:1,EG:6,ES:1,ET:0,FI:1,FJ:1,FO:1,FR:1,GB:1,"GB-alt-variant":0,GE:1,GF:1,GP:1,GR:1,GT:0,GU:0,HK:0,HN:0,HR:1,HU:1,ID:0,IE:1,IL:0,IN:0,IQ:6,IR:6,IS:1,IT:1,JM:0,JO:6,JP:0,KE:0,KG:1,KH:0,KR:0,KW:6,KZ:1,LA:0,LB:1,LI:1,LK:1,LT:1,LU:1,LV:1,LY:6,MC:1,MD:1,ME:1,MH:0,MK:1,MM:0,MN:1,MO:0,MQ:1,MT:0,MV:5,MX:0,MY:1,MZ:0,NI:0,NL:1,NO:1,NP:0,NZ:1,OM:6,PA:0,PE:0,PH:0,PK:0,PL:1,PR:0,PT:0,PY:0,QA:6,RE:1,RO:1,RS:1,RU:1,SA:0,SD:6,SE:1,SG:0,SI:1,SK:1,SM:1,SV:0,SY:6,TH:0,TJ:1,TM:1,TR:1,TT:0,TW:0,UA:1,UM:0,US:0,UY:1,UZ:1,VA:1,VE:0,VI:0,VN:1,WS:0,XK:1,YE:0,ZA:0,ZW:0};function lct(t,o,e){const n=[];let s=[];const i=VR(t),r=LR(t),a=e??tp[o.slice(-2).toUpperCase()]??0,d=(i.getDay()-a+7)%7,u=(r.getDay()-a+7)%7;for(let c=0;c<d;c++){const p=new Date(i);p.setDate(p.getDate()-(d-c)),s.push(p)}for(let c=1;c<=r.getDate();c++){const p=new Date(t.getFullYear(),t.getMonth(),c);s.push(p),s.length===7&&(n.push(s),s=[])}for(let c=1;c<7-u;c++){const p=new Date(r);p.setDate(p.getDate()+c),s.push(p)}return s.length>0&&n.push(s),n}function uct(t,o,e){const n=e??tp[o.slice(-2).toUpperCase()]??0,s=new Date(t);for(;s.getDay()!==n;)s.setDate(s.getDate()-1);return s}function dct(t,o){const e=new Date(t),n=((tp[o.slice(-2).toUpperCase()]??0)+6)%7;for(;e.getDay()!==n;)e.setDate(e.getDate()+1);return e}function VR(t){return new Date(t.getFullYear(),t.getMonth(),1)}function LR(t){return new Date(t.getFullYear(),t.getMonth()+1,0)}function mct(t){const o=t.split("-").map(Number);return new Date(o[0],o[1]-1,o[2])}const cct=/^([12]\d{3}-([1-9]|0[1-9]|1[0-2])-([1-9]|0[1-9]|[12]\d|3[01]))$/;function DR(t){if(t==null)return new Date;if(t instanceof Date)return t;if(typeof t=="string"){let o;if(cct.test(t))return mct(t);if(o=Date.parse(t),!isNaN(o))return new Date(o)}return null}const IT=new Date(2e3,0,2);function fct(t,o){const e=o??tp[t.slice(-2).toUpperCase()]??0;return mR(7).map(n=>{const s=new Date(IT);return s.setDate(IT.getDate()+e+n),new Intl.DateTimeFormat(t,{weekday:"narrow"}).format(s)})}function pct(t,o,e,n){const s=DR(t)??new Date,i=n==null?void 0:n[o];if(typeof i=="function")return i(s,o,e);let r={};switch(o){case"fullDate":r={year:"numeric",month:"long",day:"numeric"};break;case"fullDateWithWeekday":r={weekday:"long",year:"numeric",month:"long",day:"numeric"};break;case"normalDate":const a=s.getDate(),d=new Intl.DateTimeFormat(e,{month:"long"}).format(s);return`${a} ${d}`;case"normalDateWithWeekday":r={weekday:"short",day:"numeric",month:"short"};break;case"shortDate":r={month:"short",day:"numeric"};break;case"year":r={year:"numeric"};break;case"month":r={month:"long"};break;case"monthShort":r={month:"short"};break;case"monthAndYear":r={month:"long",year:"numeric"};break;case"monthAndDate":r={month:"long",day:"numeric"};break;case"weekday":r={weekday:"long"};break;case"weekdayShort":r={weekday:"short"};break;case"dayOfMonth":return new Intl.NumberFormat(e).format(s.getDate());case"hours12h":r={hour:"numeric",hour12:!0};break;case"hours24h":r={hour:"numeric",hour12:!1};break;case"minutes":r={minute:"numeric"};break;case"seconds":r={second:"numeric"};break;case"fullTime":r={hour:"numeric",minute:"numeric",second:"numeric",hour12:!0};break;case"fullTime12h":r={hour:"numeric",minute:"numeric",second:"numeric",hour12:!0};break;case"fullTime24h":r={hour:"numeric",minute:"numeric",second:"numeric",hour12:!1};break;case"fullDateTime":r={year:"numeric",month:"long",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric",hour12:!0};break;case"fullDateTime12h":r={year:"numeric",month:"long",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric",hour12:!0};break;case"fullDateTime24h":r={year:"numeric",month:"long",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric",hour12:!1};break;case"keyboardDate":r={year:"numeric",month:"2-digit",day:"2-digit"};break;case"keyboardDateTime":r={year:"numeric",month:"2-digit",day:"2-digit",hour:"numeric",minute:"numeric",second:"numeric",hour12:!1};break;case"keyboardDateTime12h":r={year:"numeric",month:"2-digit",day:"2-digit",hour:"numeric",minute:"numeric",second:"numeric",hour12:!0};break;case"keyboardDateTime24h":r={year:"numeric",month:"2-digit",day:"2-digit",hour:"numeric",minute:"numeric",second:"numeric",hour12:!1};break;default:r=i??{timeZone:"UTC",timeZoneName:"short"}}return new Intl.DateTimeFormat(e,r).format(s)}function Cct(t,o){const e=t.toJsDate(o),n=e.getFullYear(),s=FT(String(e.getMonth()+1),2,"0"),i=FT(String(e.getDate()),2,"0");return`${n}-${s}-${i}`}function hct(t){const[o,e,n]=t.split("-").map(Number);return new Date(o,e-1,n)}function gct(t,o){const e=new Date(t);return e.setMinutes(e.getMinutes()+o),e}function Fct(t,o){const e=new Date(t);return e.setHours(e.getHours()+o),e}function yct(t,o){const e=new Date(t);return e.setDate(e.getDate()+o),e}function Sct(t,o){const e=new Date(t);return e.setDate(e.getDate()+o*7),e}function bct(t,o){const e=new Date(t);return e.setDate(1),e.setMonth(e.getMonth()+o),e}function Tct(t){return t.getFullYear()}function Bct(t){return t.getMonth()}function Vct(t){return t.getDate()}function Lct(t){return new Date(t.getFullYear(),t.getMonth()+1,1)}function Dct(t){return new Date(t.getFullYear(),t.getMonth()-1,1)}function vct(t){return t.getHours()}function Rct(t){return t.getMinutes()}function xct(t){return new Date(t.getFullYear(),0,1)}function _ct(t){return new Date(t.getFullYear(),11,31)}function Ict(t,o){return pf(t,o[0])&&Nct(t,o[1])}function Ect(t){const o=new Date(t);return o instanceof Date&&!isNaN(o.getTime())}function pf(t,o){return t.getTime()>o.getTime()}function Pct(t,o){return pf(a0(t),a0(o))}function Nct(t,o){return t.getTime()<o.getTime()}function ET(t,o){return t.getTime()===o.getTime()}function wct(t,o){return t.getDate()===o.getDate()&&t.getMonth()===o.getMonth()&&t.getFullYear()===o.getFullYear()}function Act(t,o){return t.getMonth()===o.getMonth()&&t.getFullYear()===o.getFullYear()}function Wct(t,o){return t.getFullYear()===o.getFullYear()}function kct(t,o,e){const n=new Date(t),s=new Date(o);switch(e){case"years":return n.getFullYear()-s.getFullYear();case"quarters":return Math.floor((n.getMonth()-s.getMonth()+(n.getFullYear()-s.getFullYear())*12)/4);case"months":return n.getMonth()-s.getMonth()+(n.getFullYear()-s.getFullYear())*12;case"weeks":return Math.floor((n.getTime()-s.getTime())/(1e3*60*60*24*7));case"days":return Math.floor((n.getTime()-s.getTime())/(1e3*60*60*24));case"hours":return Math.floor((n.getTime()-s.getTime())/(1e3*60*60));case"minutes":return Math.floor((n.getTime()-s.getTime())/(1e3*60));case"seconds":return Math.floor((n.getTime()-s.getTime())/1e3);default:return n.getTime()-s.getTime()}}function Mct(t,o){const e=new Date(t);return e.setHours(o),e}function Oct(t,o){const e=new Date(t);return e.setMinutes(o),e}function Hct(t,o){const e=new Date(t);return e.setMonth(o),e}function $ct(t,o){const e=new Date(t);return e.setDate(o),e}function Uct(t,o){const e=new Date(t);return e.setFullYear(o),e}function a0(t){return new Date(t.getFullYear(),t.getMonth(),t.getDate(),0,0,0,0)}function jct(t){return new Date(t.getFullYear(),t.getMonth(),t.getDate(),23,59,59,999)}class zct{constructor(o){this.locale=o.locale,this.formats=o.formats}date(o){return DR(o)}toJsDate(o){return o}toISO(o){return Cct(this,o)}parseISO(o){return hct(o)}addMinutes(o,e){return gct(o,e)}addHours(o,e){return Fct(o,e)}addDays(o,e){return yct(o,e)}addWeeks(o,e){return Sct(o,e)}addMonths(o,e){return bct(o,e)}getWeekArray(o,e){return lct(o,this.locale,e?Number(e):void 0)}startOfWeek(o,e){return uct(o,this.locale,e?Number(e):void 0)}endOfWeek(o){return dct(o,this.locale)}startOfMonth(o){return VR(o)}endOfMonth(o){return LR(o)}format(o,e){return pct(o,e,this.locale,this.formats)}isEqual(o,e){return ET(o,e)}isValid(o){return Ect(o)}isWithinRange(o,e){return Ict(o,e)}isAfter(o,e){return pf(o,e)}isAfterDay(o,e){return Pct(o,e)}isBefore(o,e){return!pf(o,e)&&!ET(o,e)}isSameDay(o,e){return wct(o,e)}isSameMonth(o,e){return Act(o,e)}isSameYear(o,e){return Wct(o,e)}setMinutes(o,e){return Oct(o,e)}setHours(o,e){return Mct(o,e)}setMonth(o,e){return Hct(o,e)}setDate(o,e){return $ct(o,e)}setYear(o,e){return Uct(o,e)}getDiff(o,e,n){return kct(o,e,n)}getWeekdays(o){return fct(this.locale,o?Number(o):void 0)}getYear(o){return Tct(o)}getMonth(o){return Bct(o)}getDate(o){return Vct(o)}getNextMonth(o){return Lct(o)}getPreviousMonth(o){return Dct(o)}getHours(o){return vct(o)}getMinutes(o){return Rct(o)}startOfDay(o){return a0(o)}endOfDay(o){return jct(o)}startOfYear(o){return xct(o)}endOfYear(o){return _ct(o)}}const Gct=Symbol.for("vuetify:date-options"),PT=Symbol.for("vuetify:date-adapter");function Kct(t,o){const e=zr({adapter:zct,locale:{af:"af-ZA",bg:"bg-BG",ca:"ca-ES",ckb:"",cs:"cs-CZ",de:"de-DE",el:"el-GR",en:"en-US",et:"et-EE",fa:"fa-IR",fi:"fi-FI",hr:"hr-HR",hu:"hu-HU",he:"he-IL",id:"id-ID",it:"it-IT",ja:"ja-JP",ko:"ko-KR",lv:"lv-LV",lt:"lt-LT",nl:"nl-NL",no:"no-NO",pl:"pl-PL",pt:"pt-PT",ro:"ro-RO",ru:"ru-RU",sk:"sk-SK",sl:"sl-SI",srCyrl:"sr-SP",srLatn:"sr-SP",sv:"sv-SE",th:"th-TH",tr:"tr-TR",az:"az-AZ",uk:"uk-UA",vi:"vi-VN",zhHans:"zh-CN",zhHant:"zh-TW"}},t);return{options:e,instance:Yct(e,o)}}function Yct(t,o){const e=Et(typeof t.adapter=="function"?new t.adapter({locale:t.locale[o.current.value]??o.current.value,formats:t.formats}):t.adapter);return qe(o.current,n=>{e.locale=t.locale[n]??n??e.locale}),e}const NT=Symbol.for("vuetify:display"),wT={mobileBreakpoint:"lg",thresholds:{xs:0,sm:600,md:960,lg:1280,xl:1920,xxl:2560}},Zct=function(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:wT;return zr(wT,t)};function AT(t){return Xi&&!t?window.innerWidth:typeof t=="object"&&t.clientWidth||0}function WT(t){return Xi&&!t?window.innerHeight:typeof t=="object"&&t.clientHeight||0}function kT(t){const o=Xi&&!t?window.navigator.userAgent:"ssr";function e(y){return!!o.match(y)}const n=e(/android/i),s=e(/iphone|ipad|ipod/i),i=e(/cordova/i),r=e(/electron/i),a=e(/chrome/i),d=e(/edge/i),u=e(/firefox/i),c=e(/opera/i),p=e(/win/i),h=e(/mac/i),g=e(/linux/i);return{android:n,ios:s,cordova:i,electron:r,chrome:a,edge:d,firefox:u,opera:c,win:p,mac:h,linux:g,touch:bmt,ssr:o==="ssr"}}function Jct(t,o){const{thresholds:e,mobileBreakpoint:n}=Zct(t),s=qi(WT(o)),i=qi(kT(o)),r=Et({}),a=qi(AT(o));function d(){s.value=WT(),a.value=AT()}function u(){d(),i.value=kT()}return Jl(()=>{const c=a.value<e.sm,p=a.value<e.md&&!c,h=a.value<e.lg&&!(p||c),g=a.value<e.xl&&!(h||p||c),y=a.value<e.xxl&&!(g||h||p||c),b=a.value>=e.xxl,v=c?"xs":p?"sm":h?"md":g?"lg":y?"xl":"xxl",D=typeof n=="number"?n:e[n],I=a.value<D;r.xs=c,r.sm=p,r.md=h,r.lg=g,r.xl=y,r.xxl=b,r.smAndUp=!c,r.mdAndUp=!(c||p),r.lgAndUp=!(c||p||h),r.xlAndUp=!(c||p||h||g),r.smAndDown=!(h||g||y||b),r.mdAndDown=!(g||y||b),r.lgAndDown=!(y||b),r.xlAndDown=!b,r.name=v,r.height=s.value,r.width=a.value,r.mobile=I,r.mobileBreakpoint=n,r.platform=i.value,r.thresholds=e}),Xi&&window.addEventListener("resize",d,{passive:!0}),{...b0(r),update:u,ssr:!!o}}const Xct=Symbol.for("vuetify:goto");function Qct(){return{container:void 0,duration:300,layout:!1,offset:0,easing:"easeInOutCubic",patterns:{linear:t=>t,easeInQuad:t=>t**2,easeOutQuad:t=>t*(2-t),easeInOutQuad:t=>t<.5?2*t**2:-1+(4-2*t)*t,easeInCubic:t=>t**3,easeOutCubic:t=>--t**3+1,easeInOutCubic:t=>t<.5?4*t**3:(t-1)*(2*t-2)*(2*t-2)+1,easeInQuart:t=>t**4,easeOutQuart:t=>1- --t**4,easeInOutQuart:t=>t<.5?8*t**4:1-8*--t**4,easeInQuint:t=>t**5,easeOutQuint:t=>1+--t**5,easeInOutQuint:t=>t<.5?16*t**5:1+16*--t**5}}}function qct(t,o){return{rtl:o.isRtl,options:zr(Qct(),t)}}const tft={collapse:"mdi-chevron-up",complete:"mdi-check",cancel:"mdi-close-circle",close:"mdi-close",delete:"mdi-close-circle",clear:"mdi-close-circle",success:"mdi-check-circle",info:"mdi-information",warning:"mdi-alert-circle",error:"mdi-close-circle",prev:"mdi-chevron-left",next:"mdi-chevron-right",checkboxOn:"mdi-checkbox-marked",checkboxOff:"mdi-checkbox-blank-outline",checkboxIndeterminate:"mdi-minus-box",delimiter:"mdi-circle",sortAsc:"mdi-arrow-up",sortDesc:"mdi-arrow-down",expand:"mdi-chevron-down",menu:"mdi-menu",subgroup:"mdi-menu-down",dropdown:"mdi-menu-down",radioOn:"mdi-radiobox-marked",radioOff:"mdi-radiobox-blank",edit:"mdi-pencil",ratingEmpty:"mdi-star-outline",ratingFull:"mdi-star",ratingHalf:"mdi-star-half-full",loading:"mdi-cached",first:"mdi-page-first",last:"mdi-page-last",unfold:"mdi-unfold-more-horizontal",file:"mdi-paperclip",plus:"mdi-plus",minus:"mdi-minus",calendar:"mdi-calendar",treeviewCollapse:"mdi-menu-down",treeviewExpand:"mdi-menu-right",eyeDropper:"mdi-eyedropper"},eft={component:t=>Xl(vR,{...t,class:"mdi"})},oft=[String,Function,Object,Array],MT=Symbol.for("vuetify:icons"),ep=iu({icon:{type:oft},tag:{type:String,required:!0}},"icon");SR()({name:"VComponentIcon",props:ep(),setup(t,o){let{slots:e}=o;return()=>{const n=t.icon;return P(t.tag,null,{default:()=>{var s;return[t.icon?P(n,null,null):(s=e.default)==null?void 0:s.call(e)]}})}}});const nft=zd({name:"VSvgIcon",inheritAttrs:!1,props:ep(),setup(t,o){let{attrs:e}=o;return()=>P(t.tag,Es(e,{style:null}),{default:()=>[P("svg",{class:"v-icon__svg",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",role:"img","aria-hidden":"true"},[Array.isArray(t.icon)?t.icon.map(n=>Array.isArray(n)?P("path",{d:n[0],"fill-opacity":n[1]},null):P("path",{d:n},null)):P("path",{d:t.icon},null)])]})}});zd({name:"VLigatureIcon",props:ep(),setup(t){return()=>P(t.tag,null,{default:()=>[t.icon]})}});const vR=zd({name:"VClassIcon",props:ep(),setup(t){return()=>P(t.tag,{class:t.icon},null)}});function ift(){return{svg:{component:nft},class:{component:vR}}}function rft(t){const o=ift(),e=(t==null?void 0:t.defaultSet)??"mdi";return e==="mdi"&&!o.mdi&&(o.mdi=eft),zr({defaultSet:e,sets:o,aliases:{...tft,vuetify:["M8.2241 14.2009L12 21L22 3H14.4459L8.2241 14.2009Z",["M7.26303 12.4733L7.00113 12L2 3H12.5261C12.5261 3 12.5261 3 12.5261 3L7.26303 12.4733Z",.6]],"vuetify-outline":"svg:M7.26 12.47 12.53 3H2L7.26 12.47ZM14.45 3 8.22 14.2 12 21 22 3H14.45ZM18.6 5 12 16.88 10.51 14.2 15.62 5ZM7.26 8.35 5.4 5H9.13L7.26 8.35Z","vuetify-play":["m6.376 13.184-4.11-7.192C1.505 4.66 2.467 3 4.003 3h8.532l-.953 1.576-.006.01-.396.677c-.429.732-.214 1.507.194 2.015.404.503 1.092.878 1.869.806a3.72 3.72 0 0 1 1.005.022c.276.053.434.143.523.237.138.146.38.635-.25 2.09-.893 1.63-1.553 1.722-1.847 1.677-.213-.033-.468-.158-.756-.406a4.95 4.95 0 0 1-.8-.927c-.39-.564-1.04-.84-1.66-.846-.625-.006-1.316.27-1.693.921l-.478.826-.911 1.506Z",["M9.093 11.552c.046-.079.144-.15.32-.148a.53.53 0 0 1 .43.207c.285.414.636.847 1.046 1.2.405.35.914.662 1.516.754 1.334.205 2.502-.698 3.48-2.495l.014-.028.013-.03c.687-1.574.774-2.852-.005-3.675-.37-.391-.861-.586-1.333-.676a5.243 5.243 0 0 0-1.447-.044c-.173.016-.393-.073-.54-.257-.145-.18-.127-.316-.082-.392l.393-.672L14.287 3h5.71c1.536 0 2.499 1.659 1.737 2.992l-7.997 13.996c-.768 1.344-2.706 1.344-3.473 0l-3.037-5.314 1.377-2.278.004-.006.004-.007.481-.831Z",.6]]}},t)}const Cf=Symbol.for("vuetify:theme"),sft=iu({theme:String},"theme");function OT(){return{defaultTheme:"light",variations:{colors:[],lighten:0,darken:0},themes:{light:{dark:!1,colors:{background:"#FFFFFF",surface:"#FFFFFF","surface-bright":"#FFFFFF","surface-light":"#EEEEEE","surface-variant":"#424242","on-surface-variant":"#EEEEEE",primary:"#1867C0","primary-darken-1":"#1F5592",secondary:"#48A9A6","secondary-darken-1":"#018786",error:"#B00020",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"},variables:{"border-color":"#000000","border-opacity":.12,"high-emphasis-opacity":.87,"medium-emphasis-opacity":.6,"disabled-opacity":.38,"idle-opacity":.04,"hover-opacity":.04,"focus-opacity":.12,"selected-opacity":.08,"activated-opacity":.12,"pressed-opacity":.12,"dragged-opacity":.08,"theme-kbd":"#212529","theme-on-kbd":"#FFFFFF","theme-code":"#F5F5F5","theme-on-code":"#000000"}},dark:{dark:!0,colors:{background:"#121212",surface:"#212121","surface-bright":"#ccbfd6","surface-light":"#424242","surface-variant":"#a3a3a3","on-surface-variant":"#424242",primary:"#2196F3","primary-darken-1":"#277CC1",secondary:"#54B6B2","secondary-darken-1":"#48A9A6",error:"#CF6679",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"},variables:{"border-color":"#FFFFFF","border-opacity":.12,"high-emphasis-opacity":1,"medium-emphasis-opacity":.7,"disabled-opacity":.5,"idle-opacity":.1,"hover-opacity":.04,"focus-opacity":.12,"selected-opacity":.08,"activated-opacity":.12,"pressed-opacity":.16,"dragged-opacity":.08,"theme-kbd":"#212529","theme-on-kbd":"#FFFFFF","theme-code":"#343434","theme-on-code":"#CCCCCC"}}}}}function aft(){var n,s;let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:OT();const o=OT();if(!t)return{...o,isDisabled:!0};const e={};for(const[i,r]of Object.entries(t.themes??{})){const a=r.dark||i==="dark"?(n=o.themes)==null?void 0:n.dark:(s=o.themes)==null?void 0:s.light;e[i]=zr(a,r)}return zr(o,{...t,themes:e})}function lft(t){const o=aft(t),e=Te(o.defaultTheme),n=Te(o.themes),s=Yt(()=>{const c={};for(const[p,h]of Object.entries(n.value)){const g=c[p]={...h,colors:{...h.colors}};if(o.variations)for(const y of o.variations.colors){const b=g.colors[y];if(b)for(const v of["lighten","darken"]){const D=v==="lighten"?Gmt:Kmt;for(const I of mR(o.variations[v],1))g.colors[`${y}-${v}-${I}`]=Umt(D(Qi(b),I))}}for(const y of Object.keys(g.colors)){if(/^on-[a-z]/.test(y)||g.colors[`on-${y}`])continue;const b=`on-${y}`,v=Qi(g.colors[y]);g.colors[b]=hR(v)}}return c}),i=Yt(()=>s.value[e.value]),r=Yt(()=>{var y;const c=[];(y=i.value)!=null&&y.dark&&fa(c,":root",["color-scheme: dark"]),fa(c,":root",HT(i.value));for(const[b,v]of Object.entries(s.value))fa(c,`.v-theme--${b}`,[`color-scheme: ${v.dark?"dark":"normal"}`,...HT(v)]);const p=[],h=[],g=new Set(Object.values(s.value).flatMap(b=>Object.keys(b.colors)));for(const b of g)/^on-[a-z]/.test(b)?fa(h,`.${b}`,[`color: rgb(var(--v-theme-${b})) !important`]):(fa(p,`.bg-${b}`,[`--v-theme-overlay-multiplier: var(--v-theme-${b}-overlay-multiplier)`,`background-color: rgb(var(--v-theme-${b})) !important`,`color: rgb(var(--v-theme-on-${b})) !important`]),fa(h,`.text-${b}`,[`color: rgb(var(--v-theme-${b})) !important`]),fa(h,`.border-${b}`,[`--v-border-color: var(--v-theme-${b})`]));return c.push(...p,...h),c.map((b,v)=>v===0?b:` ${b}`).join("")});function a(){return{style:[{children:r.value,id:"vuetify-theme-stylesheet",nonce:o.cspNonce||!1}]}}function d(c){if(o.isDisabled)return;const p=c._context.provides.usehead;if(p)if(p.push){const g=p.push(a);Xi&&qe(r,()=>{g.patch(a)})}else Xi?(p.addHeadObjs(Yt(a)),Jl(()=>p.updateDOM())):p.addHeadObjs(a());else{let y=function(){if(typeof document<"u"&&!g){const b=document.createElement("style");b.type="text/css",b.id="vuetify-theme-stylesheet",o.cspNonce&&b.setAttribute("nonce",o.cspNonce),g=b,document.head.appendChild(g)}g&&(g.innerHTML=r.value)};var h=y;let g=Xi?document.getElementById("vuetify-theme-stylesheet"):null;Xi?qe(r,y,{immediate:!0}):y()}}const u=Yt(()=>o.isDisabled?void 0:`v-theme--${e.value}`);return{install:d,isDisabled:o.isDisabled,name:e,themes:n,current:i,computedThemes:s,themeClasses:u,styles:r,global:{name:e,current:i}}}function uft(t){ru("provideTheme");const o=wr(Cf,null);if(!o)throw new Error("Could not find Vuetify theme injection");const e=Yt(()=>t.theme??o.name.value),n=Yt(()=>o.themes.value[e.value]),s=Yt(()=>o.isDisabled?void 0:`v-theme--${e.value}`),i={...o,name:e,current:n,themeClasses:s};return Ef(Cf,i),i}function fa(t,o,e){t.push(`${o} {
|
|
94
94
|
`,...e.map(n=>` ${n};
|
|
95
95
|
`),`}
|
|
96
|
-
`)}function HT(t){const o=t.dark?2:1,e=t.dark?1:2,n=[];for(const[s,i]of Object.entries(t.colors)){const r=Qi(i);n.push(`--v-theme-${s}: ${r.r},${r.g},${r.b}`),s.startsWith("on-")||n.push(`--v-theme-${s}-overlay-multiplier: ${Ymt(i)>.18?o:e}`)}for(const[s,i]of Object.entries(t.variables)){const r=typeof i=="string"&&i.startsWith("#")?Qi(i):void 0,a=r?`${r.r}, ${r.g}, ${r.b}`:void 0;n.push(`--v-${s}: ${a??i}`)}return n}function RR(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{blueprint:o,...e}=t,n=zr(o,e),{aliases:s={},components:i={},directives:r={}}=n,a=Jmt(n.defaults),d=Jct(n.display,n.ssr),u=lft(n.theme),c=rft(n.icons),p=ict(n.locale),h=Kct(n.date,p),g=qct(n.goTo,p);return{install:b=>{for(const v in r)b.directive(v,r[v]);for(const v in i)b.component(v,i[v]);for(const v in s)b.component(v,zd({...s[v],name:v,aliasName:s[v].name}));if(u.install(b),b.provide(Ld,a),b.provide(NT,d),b.provide(Cf,u),b.provide(MT,c),b.provide(s0,p),b.provide(Gct,h.options),b.provide(PT,h.instance),b.provide(Xct,g),Xi&&n.ssr)if(b.$nuxt)b.$nuxt.hook("app:suspense:resolve",()=>{d.update()});else{const{mount:v}=b;b.mount=function(){const D=v(...arguments);return Gr(()=>d.update()),b.mount=v,D}}FR.reset(),b.mixin({computed:{$vuetify(){return Et({defaults:sl.call(this,Ld),display:sl.call(this,NT),theme:sl.call(this,Cf),icons:sl.call(this,MT),locale:sl.call(this,s0),date:sl.call(this,PT)})}}})},defaults:a,display:d,theme:u,icons:c,locale:p,date:h,goTo:g}}const dft="3.7.2";RR.version=dft;function sl(t){var n,s;const o=this.$,e=((n=o.parent)==null?void 0:n.provides)??((s=o.vnode.appContext)==null?void 0:s.provides);if(e&&t in e)return e[t]}function mft(t){return vmt(()=>{const o=[],e={};if(t.value.background)if(r0(t.value.background)){if(e.backgroundColor=t.value.background,!t.value.text&&Hmt(t.value.background)){const n=Qi(t.value.background);if(n.a==null||n.a===1){const s=hR(n);e.color=s,e.caretColor=s}}}else o.push(`bg-${t.value.background}`);return t.value.text&&(r0(t.value.text)?(e.color=t.value.text,e.caretColor=t.value.text):o.push(`text-${t.value.text}`)),{colorClasses:o,colorStyles:e}})}function cft(t,o){const e=Yt(()=>({background:To(t)?t.value:o?t[o]:null})),{colorClasses:n,colorStyles:s}=mft(e);return{backgroundColorClasses:n,backgroundColorStyles:s}}const fft=iu({height:[Number,String],maxHeight:[Number,String],maxWidth:[Number,String],minHeight:[Number,String],minWidth:[Number,String],width:[Number,String]},"dimension");function pft(t){return{dimensionStyles:Yt(()=>{const e={},n=il(t.height),s=il(t.maxHeight),i=il(t.maxWidth),r=il(t.minHeight),a=il(t.minWidth),d=il(t.width);return n!=null&&(e.height=n),s!=null&&(e.maxHeight=s),i!=null&&(e.maxWidth=i),r!=null&&(e.minHeight=r),a!=null&&(e.minWidth=a),d!=null&&(e.width=d),e})}}const Cft=iu({elevation:{type:[Number,String],validator(t){const o=parseInt(t);return!isNaN(o)&&o>=0&&o<=24}}},"elevation");function hft(t){return{elevationClasses:Yt(()=>{const e=To(t)?t.value:t.elevation,n=[];return e==null||n.push(`elevation-${e}`),n})}}const gft={actions:"button@2",article:"heading, paragraph",avatar:"avatar",button:"button",card:"image, heading","card-avatar":"image, list-item-avatar",chip:"chip","date-picker":"list-item, heading, divider, date-picker-options, date-picker-days, actions","date-picker-options":"text, avatar@2","date-picker-days":"avatar@28",divider:"divider",heading:"heading",image:"image","list-item":"text","list-item-avatar":"avatar, text","list-item-two-line":"sentences","list-item-avatar-two-line":"avatar, sentences","list-item-three-line":"paragraph","list-item-avatar-three-line":"avatar, paragraph",ossein:"ossein",paragraph:"text@3",sentences:"text@2",subtitle:"text",table:"table-heading, table-thead, table-tbody, table-tfoot","table-heading":"chip, text","table-thead":"heading@6","table-tbody":"table-row-divider@6","table-row-divider":"table-row, divider","table-row":"text@6","table-tfoot":"text@2, avatar@2",text:"text"};function Fft(t){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return P("div",{class:["v-skeleton-loader__bone",`v-skeleton-loader__${t}`]},[o])}function $T(t){const[o,e]=t.split("@");return Array.from({length:e}).map(()=>op(o))}function op(t){let o=[];if(!t)return o;const e=gft[t];if(t!==e){if(t.includes(","))return UT(t);if(t.includes("@"))return $T(t);e.includes(",")?o=UT(e):e.includes("@")?o=$T(e):e&&o.push(op(e))}return[Fft(t,o)]}function UT(t){return t.replace(/\s/g,"").split(",").map(op)}const yft=iu({boilerplate:Boolean,color:String,loading:Boolean,loadingText:{type:String,default:"$vuetify.loading"},type:{type:[String,Array],default:"ossein"},...fft(),...Cft(),...sft()},"VSkeletonLoader"),Sft=SR()({name:"VSkeletonLoader",props:yft(),setup(t,o){let{slots:e}=o;const{backgroundColorClasses:n,backgroundColorStyles:s}=cft(gB(t,"color")),{dimensionStyles:i}=pft(t),{elevationClasses:r}=hft(t),{themeClasses:a}=uft(t),{t:d}=rct(),u=Yt(()=>op(Vmt(t.type).join(",")));return qmt(()=>{var h;const c=!e.default||t.loading,p=t.boilerplate||!c?{}:{ariaLive:"polite",ariaLabel:d(t.loadingText),role:"alert"};return P("div",Es({class:["v-skeleton-loader",{"v-skeleton-loader--boilerplate":t.boilerplate},a.value,n.value,r.value],style:[s.value,c?i.value:{}]},p),[c?u.value:(h=e.default)==null?void 0:h.call(e)])}),{}}}),bft=t=>async({context:o,expression:e})=>t.numberExpressionEvaluator({numberExpression:e.ProductId,context:o}).then(n=>"https://cdn.retailrocket.net/api/1.0/partner/"+t.partnerId+"/item/"+n+"/picture/?format=png&width="+e.ImageSize.Width+"&height="+e.ImageSize.Height+"&scale=both"),Dd=t=>({Match:o=>{switch(typeof t){case"string":return(o.String??o.defaultValue)(t);case"number":return(o.Number??o.defaultValue)(t);case"boolean":return(o.Boolean??o.defaultValue)(t);case"object":return Tft(t)?(o.Array??o.defaultValue)(t):(o.Struct??o.defaultValue)(t);default:return Mi(t)}}}),Tft=t=>Array.isArray(t),Bft=vo,Kg=(t,o)=>{let e=o;for(const n of t)e=Bft(n).Match({PropertyName:s=>Dd(e).Match({defaultValue:()=>{throw console.error("Property not found: "+s),new Error("Property not found: "+s)},Struct:i=>i[s]}),ArrayIndex:s=>Dd(e).Match({defaultValue:()=>{throw console.error("Array index out of bounds: "+s),new Error("Array index out of bounds: "+s)},Array:i=>i[s]})});return e},Vft=(t,o)=>Dd(Kg(t,o)).Match({defaultValue:()=>{throw console.error("Value is not a list"),new Error("Value is not a list")},Array:e=>e}),Lft=t=>{const o=e=>Sv(e.listExpression).Match({ContextValueExpression:n=>Promise.resolve(Vft(n.Path,e.context)),ChunkExpression:async n=>{const s=await o({listExpression:n.ListExpression,context:e.context});return s.slice(0,Math.floor(s.length/n.ChunkSize)*n.ChunkSize)},LimitExpression:async n=>(await o({listExpression:n.ListExpression,context:e.context})).slice(0,n.Limit),DataSource:n=>t.listExpressionDataSourceEvaluator(n)});return o},Dft=(t,o)=>Dd(Kg(t,o)).Match({defaultValue:()=>{throw console.error("Value is not a number"),new Error("Value is not a number")},Number:e=>e}),vft=t=>o=>bv(o.numberExpression).Match({ContextValueExpression:e=>Promise.resolve(Dft(e.Path,o.context)),ConstValueExpression:e=>Promise.resolve(e.Value),ListLengthExpression:async e=>t.listExpressionEvaluator({listExpression:e.ListExpression,context:o.context}).then(n=>n.length),DataSource:e=>Promise.resolve(t.numberExpressionDataSourceEvaluator(e))}),Rft=(t,o)=>Dd(Kg(t,o)).Match({defaultValue:()=>{throw console.error("Value is not a string "+o+t),new Error("Value is not a string")},String:e=>e}),xft=t=>{const o=e=>{const n=t.stringExpressionDataSourceEvaluatorFactory(o);return Tv(e.stringExpression).Match({ConcatStringExpressions:s=>Pft({concatStringExpressions:s,stringExpressionEvaluator:o,context:e.context}),ContextValueExpression:s=>_ft({contextValueExpression:s,context:e.context}),ConstValueExpression:s=>Nft({stringConstValueExpression:s}),TruncateValueExpression:s=>Ift({truncateValueExpression:s,context:e.context,stringExpressionEvaluator:o}),DataSource:s=>n({stringExpressionDataSource:s,context:e.context}),NumberToStringExpression:s=>Eft({numberToStringExpression:s,context:e.context,numberExpressionEvaluator:t.numberExpressionEvaluator}),UnsubscribeUrlExpression:()=>Promise.resolve("#")})};return o},_ft=t=>Promise.resolve(Rft(t.contextValueExpression.Path,t.context)),Ift=async t=>{const o=t.truncateValueExpression.MaxLength,e=await t.stringExpressionEvaluator({stringExpression:t.truncateValueExpression.StringExpression,context:t.context});return o<e.length?e.slice(0,t.truncateValueExpression.MaxLength)+t.truncateValueExpression.Tail:e},Eft=async t=>(await t.numberExpressionEvaluator({numberExpression:t.numberToStringExpression.NumberExpression,context:t.context})).toString(),Pft=t=>Promise.all(t.concatStringExpressions.StringExpressions.map(o=>t.stringExpressionEvaluator({stringExpression:o,context:t.context}))).then(o=>o.join("")),Nft=t=>Promise.resolve(t.stringConstValueExpression.Value),xR=t=>({dataStructBuilderExpression:o,context:e})=>Promise.all(Object.entries(o).map(async([n,s])=>({key:n,value:await t.expressionEvaluator({expression:s,context:e})}))).then(n=>Object.fromEntries(n.map(s=>[s.key,s.value]))),wft=t=>{const o=({expression:e,context:n})=>{const s=t.dataStructBuilderExpressionEvaluatorFactory(o);return Tg(e).Match({NumberExpression:i=>t.numberExpressionEvaluator({numberExpression:i,context:n}),StringExpression:i=>t.stringExpressionEvaluator({stringExpression:i,context:n}),ListExpression:i=>t.listExpressionEvaluator({listExpression:i,context:n}),RecordBuilderExpression:i=>s({dataStructBuilderExpression:i,context:n})})};return o},Qr=t=>async()=>(await t.getAllStockIdsHttpClient({body:{partnerId:t.partnerId}})).body.stockIds,Aft=t=>({getAllStockIds:Qr({partnerId:t.partnerId,getAllStockIdsHttpClient:t.getAllStockIdsHttpClient})}),Wft=t=>({getAllStockIds:Qr({partnerId:t.partnerId,getAllStockIdsHttpClient:t.getAllStockIdsHttpClient})}),kft=t=>({getAllStockIds:Qr({partnerId:t.partnerId,getAllStockIdsHttpClient:t.getAllStockIdsHttpClient})}),Mft=t=>({getAllStockIds:Qr({partnerId:t.partnerId,getAllStockIdsHttpClient:t.getAllStockIdsHttpClient})}),Oft=t=>({getAllStockIds:Qr({partnerId:t.partnerId,getAllStockIdsHttpClient:t.getAllStockIdsHttpClient})}),_R=t=>({InternalProductId:t.internalId,ExternalProductId:t.externalId,PictureUrl:t.pictureUrl,Name:t.name,IsAvailable:t.isAvailable}),Yg=t=>{switch(t.stockSource._t){case"CustomerStockIdSource":return t.customerStockId;case"DefaultStoreStockIdSource":return;case"SpecificStockIdSource":return t.stockSource.Value;default:Mi(t.stockSource)}},Hft=t=>async(o,e)=>{const n=Yg({stockSource:e,customerStockId:t.customerStockId});return(await t.findProductsBySearchPhrase({body:{partnerId:t.partnerId,searchPhrase:o,stockId:n}})).body.products.map(s=>_R(s))},$ft=t=>({getProductsByIDs:t.getProductsByIDs,findProductsByPhrase:t.findProductsByPhrase}),Uft=t=>({getProductsByIDs:t.getProductsByIDs,findProductsByPhrase:t.findProductsByPhrase}),jft=t=>async(o,e)=>{const n=Yg({stockSource:e,customerStockId:t.customerStockId});return(await t.getProductsByIDsHttpClient({body:{partnerId:t.partnerId,internalProductIds:o.concat([]),stockId:n}})).body.products.map(s=>_R(s))},zft=t=>{const o=jft({partnerId:t.partnerId,productCache:{},customerStockId:t.customerStockId,getProductsByIDsHttpClient:t.productPickerModalWindowBffClient.postGetProductsByIds}),e=Hft({partnerId:t.partnerId,customerStockId:t.customerStockId,findProductsBySearchPhrase:t.productPickerModalWindowBffClient.postFindProductsBySearchPhrase});return{selectProductComponentDeps:$ft({getProductsByIDs:o,findProductsByPhrase:e}),productSearchComponentDeps:Uft({getProductsByIDs:o,findProductsByPhrase:e})}},Gft=t=>({CategoryId:t.id,Path:t.path,Name:t.name}),Kft=async t=>{const o=t.categoryIds.filter(e=>!t.categoryCache[e]);return o.length>0&&(await t.findCategoriesByID({partnerId:t.partnerId,categoryIds:o})).forEach(e=>t.categoryCache[e.id]=e),t.categoryIds.filter(e=>t.categoryCache[e]).map(e=>t.categoryCache[e])},IR=t=>async o=>(await Kft({partnerId:t.partnerId,categoryIds:o,categoryCache:{},findCategoriesByID:async e=>(await t.getCategoriesByIDsHttpClient({body:{partnerId:t.partnerId,categoryIds:e.categoryIds.concat([])}})).body.categories})).map(e=>Gft(e)),Yft=t=>({CategoryId:t.id,Path:t.path,Name:t.name}),Zft=async t=>{const o=await t.findCategoriesByPhrase({phrase:t.phrase});return o.forEach(e=>t.categoryCache[e.id]=e),o},Jft=t=>async o=>(await Zft({phrase:o,categoryCache:t.categoryCache,findCategoriesByPhrase:async e=>(await t.findProductCategoriesBySearchPhrase({body:{partnerId:t.partnerId,searchPhrase:e.phrase}})).body.categories})).map(e=>Yft(e)),Xft=t=>({getCategoriesByIDs:t.getCategoriesByIDs}),Qft=t=>({findCategoriesByName:t.findCategoriesByName,getCategoriesByIDs:t.getCategoriesByIDs}),ER=t=>{const o={},e=IR({partnerId:t.partnerId,categoryCache:o,getCategoriesByIDsHttpClient:t.productCategoryPickerModalWindowBffClient.postGetProductCategoriesByIds}),n=Jft({partnerId:t.partnerId,categoryCache:o,findProductCategoriesBySearchPhrase:t.productCategoryPickerModalWindowBffClient.postFindProductCategoriesBySearchPhrase});return{selectCategoryComponentDeps:Xft({getCategoriesByIDs:e}),categorySearchComponentDeps:Qft({getCategoriesByIDs:e,findCategoriesByName:n})}},qft=t=>({InternalProductId:t.internalId,ExternalProductId:t.externalId,PictureUrl:t.pictureUrl,Name:t.name,IsAvailable:t.isAvailable}),Zg=t=>async(o,e)=>{const n=Yg({stockSource:e,customerStockId:t.customerStockId});return(await t.getProductsByIDsHttpClient({body:{partnerId:t.partnerId,internalProductIds:o.concat([]),stockId:n}})).body.products.map(s=>qft(s))},tpt=t=>({getProductsByIDs:Zg({partnerId:t.partnerId,customerStockId:t.customerStockId,productCache:t.productCache,getProductsByIDsHttpClient:t.getProductsByIDsHttpClient}),getAllStockIds:Qr({partnerId:t.partnerId,getAllStockIdsHttpClient:t.getAllStockIdsHttpClient}),productListComposerModalWindowDeps:t.productListComposerModalWindowDeps}),ept=t=>({getProductsByIDs:Zg({partnerId:t.partnerId,customerStockId:t.customerStockId,productCache:t.productCache,getProductsByIDsHttpClient:t.getProductsByIDsHttpClient}),getAllStockIds:Qr({partnerId:t.partnerId,getAllStockIdsHttpClient:t.getAllStockIdsHttpClient}),productListComposerModalWindowDeps:t.productListComposerModalWindowDeps}),opt=t=>({getProductsByIDs:Zg({partnerId:t.partnerId,customerStockId:t.customerStockId,productCache:t.productCache,getProductsByIDsHttpClient:t.getProductsByIDsHttpClient}),getAllStockIds:Qr({partnerId:t.partnerId,getAllStockIdsHttpClient:t.getAllStockIdsHttpClient}),productListComposerModalWindowDeps:t.productListComposerModalWindowDeps}),npt=t=>({getCategoriesByIDs:IR({partnerId:t.partnerId,categoryCache:t.categoryCache,getCategoriesByIDsHttpClient:t.getCategoriesByIDsHttpClient}),getAllStockIds:Qr({partnerId:t.partnerId,getAllStockIdsHttpClient:t.getAllStockIdsHttpClient}),categoryListComposerModalWindowDeps:ER({partnerId:t.partnerId,productCategoryPickerModalWindowBffClient:t.productCategoryPickerModalWindowBffClient})}),ipt=t=>{const o={},e={},n=zft({partnerId:t.partnerId,customerStockId:t.customerStockId,productPickerModalWindowBffClient:t.productPickerModalWindowBffClient});return{ProductListComposerModalWindowDeps:n,CategoryListComposerModalWindowDeps:ER({partnerId:t.partnerId,productCategoryPickerModalWindowBffClient:t.productCategoryPickerModalWindowBffClient}),NextBestOffer2RecommendationsShelfBuilderDeps:Wft({partnerId:t.partnerId,getAllStockIdsHttpClient:t.productShelfBuilderModalWindowBffClient.postGetAllStockIds}),ProductListShelfBuilderDeps:opt({partnerId:t.partnerId,customerStockId:t.customerStockId,productCache:o,getProductsByIDsHttpClient:t.productShelfBuilderModalWindowBffClient.postGetProductsByIds,getAllStockIdsHttpClient:t.productShelfBuilderModalWindowBffClient.postGetAllStockIds,productListComposerModalWindowDeps:n}),RelatedProductListShelfBuilderDeps:ept({partnerId:t.partnerId,customerStockId:t.customerStockId,productCache:o,getProductsByIDsHttpClient:t.productShelfBuilderModalWindowBffClient.postGetProductsByIds,getAllStockIdsHttpClient:t.productShelfBuilderModalWindowBffClient.postGetAllStockIds,productListComposerModalWindowDeps:n}),AlternativeProductListShelfBuilderDeps:tpt({partnerId:t.partnerId,customerStockId:t.customerStockId,productCache:o,getProductsByIDsHttpClient:t.productShelfBuilderModalWindowBffClient.postGetProductsByIds,getAllStockIdsHttpClient:t.productShelfBuilderModalWindowBffClient.postGetAllStockIds,productListComposerModalWindowDeps:n}),PopularFromCategoryListShelfBuilderDeps:npt({partnerId:t.partnerId,categoryCache:e,getAllStockIdsHttpClient:t.productShelfBuilderModalWindowBffClient.postGetAllStockIds,getCategoriesByIDsHttpClient:t.productShelfBuilderModalWindowBffClient.postGetProductCategoriesByIds,productCategoryPickerModalWindowBffClient:t.productCategoryPickerModalWindowBffClient}),PopularProductListShelfBuilderDeps:Aft({partnerId:t.partnerId,getAllStockIdsHttpClient:t.productShelfBuilderModalWindowBffClient.postGetAllStockIds}),LatestProductListShelfBuilderDeps:kft({partnerId:t.partnerId,getAllStockIdsHttpClient:t.productShelfBuilderModalWindowBffClient.postGetAllStockIds}),SaleByPopularProductListShelfBuilderDeps:Mft({partnerId:t.partnerId,getAllStockIdsHttpClient:t.productShelfBuilderModalWindowBffClient.postGetAllStockIds}),SaleByLatestProductListShelfBuilderDeps:Oft({partnerId:t.partnerId,getAllStockIdsHttpClient:t.productShelfBuilderModalWindowBffClient.postGetAllStockIds})}},rpt=t=>({nextBestOffer2ProductShelfDataSourceExpressionBuilderModalDeps:ipt({partnerId:t.partnerId,customerStockId:t.customerStockId,productShelfBuilderModalWindowBffClient:t.productShelfBuilderModalWindowBffClient,productCategoryPickerModalWindowBffClient:t.productCategoryPickerModalWindowBffClient,productPickerModalWindowBffClient:t.productPickerModalWindowBffClient})}),spt={},apt={class:"icon-hover d-flex align-items-center justify-content-center"};function lpt(t,o){return S(),E("i",apt,o[0]||(o[0]=[f("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},[f("path",{d:"M3.33333 8.33333C3.33333 8.54227 3.64067 8.9056 4.35365 9.26207C5.27603 9.72327 6.58451 10 8 10C9.41547 10 10.7239 9.72327 11.6463 9.26207C12.3593 8.9056 12.6667 8.54227 12.6667 8.33333V6.8858C11.5667 7.56547 9.88487 8 8 8C6.11515 8 4.43331 7.56547 3.33333 6.8858V8.33333ZM12.6667 10.2191C11.5667 10.8988 9.88487 11.3333 8 11.3333C6.11515 11.3333 4.43331 10.8988 3.33333 10.2191V11.6667C3.33333 11.8756 3.64067 12.2389 4.35365 12.5954C5.27603 13.0566 6.58451 13.3333 8 13.3333C9.41547 13.3333 10.7239 13.0566 11.6463 12.5954C12.3593 12.2389 12.6667 11.8756 12.6667 11.6667V10.2191ZM2 11.6667V5C2 3.34315 4.68629 2 8 2C11.3137 2 14 3.34315 14 5V11.6667C14 13.3235 11.3137 14.6667 8 14.6667C4.68629 14.6667 2 13.3235 2 11.6667ZM8 6.66667C9.41547 6.66667 10.7239 6.38995 11.6463 5.92875C12.3593 5.57227 12.6667 5.20895 12.6667 5C12.6667 4.79105 12.3593 4.42773 11.6463 4.07125C10.7239 3.61005 9.41547 3.33333 8 3.33333C6.58451 3.33333 5.27603 3.61005 4.35365 4.07125C3.64067 4.42773 3.33333 4.79105 3.33333 5C3.33333 5.20895 3.64067 5.57227 4.35365 5.92875C5.27603 6.38995 6.58451 6.66667 8 6.66667Z",fill:"black"})],-1)]))}const upt=mt(spt,[["render",lpt]]),PR=t=>yv(t.listExpression,o=>o.ChunkExpression,o=>o.ListExpression.LimitExpression,o=>o.ListExpression.DataSource).match({none:()=>Ji.None,some:([o,e,n,s])=>t.productShelfFactoryFromDataSource({limit:n.Limit,atLeast:e.ChunkSize,dataSourceExpression:s}).match({none:()=>Ji.None,some:i=>Va.Some(i)})}),dpt={class:"bootstrap-styles dropdown border rounded-2 bg-color-input"},mpt={id:"dropdownMenuAlgorithmSelector",class:"bootstrap-styles w-100 d-flex justify-content-between align-items-center py-1 px-3",type:"button","data-bs-toggle":"dropdown","aria-expanded":"false","data-test":"list-selector__select-button"},cpt={"data-test":"list-selector__current-value"},fpt={class:"bootstrap-styles dropdown-menu w-100 rounded-2","data-test":"list-selector__options","aria-labelledby":"dropdownMenuAlgorithmSelector"},ppt=["onClick"],Cpt={class:"bootstrap-styles d-block py-1 px-3 text-decoration-none text-reset cursor-pointer"},hpt=lt({__name:"ListSelector",props:{list:{},currentKey:{}},emits:["update:currentKey"],setup(t,{emit:o}){const e=t,n=Et({isDropdownMenuShown:!1,currentKey:e.currentKey}),s=a=>{n.currentKey=a},i=Yt(()=>e.list[n.currentKey]),r=o;return(a,d)=>(S(),E("div",dpt,[f("button",mpt,[f("span",cpt,k(i.value),1),P(jo)]),f("ul",fpt,[(S(!0),E(Lt,null,ge(e.list,(u,c)=>(S(),E("li",{key:c,class:"bootstrap-styles dropdown-item p-0","data-test":"list-selector__option",onClick:()=>{s(c),r("update:currentKey",c)}},[f("span",Cpt,k(u),1)],8,ppt))),128))])]))}}),gpt=t=>{for(const o in t)if(t[o]!==void 0)return o;throw Error("")},Fpt={class:"bootstrap-styles fw-bold mb-5"},ypt={class:"bootstrap-styles container-fluid mb-5 product-list-shelf-limiter"},Spt={class:"bootstrap-styles row gx-2"},bpt={class:"bootstrap-styles col-6"},Tpt={class:"bootstrap-styles input-group-prepend me-14 cursor-default"},Bpt={class:"input-group-text"},Vpt={class:"bootstrap-styles col-6"},Lpt={class:"bootstrap-styles input-group-prepend me-14 cursor-default"},Dpt={class:"input-group-text"},vpt=lt({__name:"ProductListShelfLimiter",props:{productsAtLeast:{},productsLimit:{}},emits:["update:productsAtLeast","update:productsLimit"],setup(t,{emit:o}){const e=t,n=Et({productsAtLeast:e.productsAtLeast,productsLimit:e.productsLimit,hasError:!1}),s=a=>{n.hasError=a>e.productsLimit||a===0,r("update:productsAtLeast",a)},i=a=>{n.hasError=a===0,r("update:productsLimit",a)},r=o;return Wi(()=>{n.hasError=e.productsAtLeast>e.productsLimit}),(a,d)=>(S(),E(Lt,null,[f("label",Fpt,k(T(_)("productShelfBuilderComponent.productShelfBuilders.productListShelfLimiterLabel")),1),f("div",ypt,[f("div",Spt,[f("div",bpt,[f("div",{class:at(["bootstrap-styles input-number__wrapper rounded-2 py-1 px-3 d-flex position-relative",{"has-error":n.hasError}]),"data-test":"product-shelf-limiter__products-at-least"},[f("div",Tpt,[f("span",Bpt,k(T(_)("productShelfBuilderComponent.productShelfBuilders.productsAtLeast")),1)]),P(go,{modelValue:e.productsAtLeast,"onUpdate:modelValue":d[0]||(d[0]=u=>s(u))},null,8,["modelValue"])],2)]),f("div",Vpt,[f("div",{class:at(["bootstrap-styles input-number__wrapper rounded-2 py-1 px-3 d-flex position-relative",{"has-error":n.hasError}]),"data-test":"product-shelf-limiter__products-limit"},[f("div",Lpt,[f("span",Dpt,k(T(_)("productShelfBuilderComponent.productShelfBuilders.productsLimit")),1)]),P(go,{modelValue:e.productsLimit,"onUpdate:modelValue":d[1]||(d[1]=u=>i(u))},null,8,["modelValue"])],2)])])])],64))}});const qr=mt(vpt,[["__scopeId","data-v-17f0cda8"]]),jT=t=>({_t:"SpecificStockIdSource",Value:t}),zi=()=>({_t:"DefaultStoreStockIdSource"}),Rpt=["value","placeholder"],xpt=["tabindex","onClick"],_pt={class:"bootstrap-styles d-block py-1 px-3 text-decoration-none text-reset cursor-pointer"},Ipt={key:0,class:"bootstrap-styles dropdown-item dropdown-item__empty p-0"},Ept={class:"bootstrap-styles d-block py-1 px-3 text-decoration-none text-reset cursor-default"},Ppt={for:"default-stock-checkbox",class:"bootstrap-styles user-select-none label__checkbox-input"},Npt=lt({__name:"StockSelector",props:{stockIdList:{},stockSource:{}},emits:["onStockSourceUpdated"],setup(t,{emit:o}){const e=t,n=g=>{switch(g._t){case"CustomerStockIdSource":return"";case"DefaultStoreStockIdSource":return"";case"SpecificStockIdSource":return g.Value}},s=Yt(()=>e.stockIdList.filter(g=>g.includes(i.searchPhrase))),i=Et({isDropdownMenuShown:!1,searchPhrase:n(e.stockSource),stockSource:e.stockSource}),r=g=>{g.target.checked?(i.searchPhrase="",i.stockSource=zi()):i.stockSource=jT(i.searchPhrase),h("onStockSourceUpdated",i.stockSource)},a=g=>{i.isDropdownMenuShown=!1,i.stockSource=jT(g),i.searchPhrase=g,h("onStockSourceUpdated",i.stockSource)},d=g=>{i.isDropdownMenuShown=!0,i.searchPhrase=g},u=g=>{g.relatedTarget===null&&(i.searchPhrase=n(i.stockSource),i.isDropdownMenuShown=!1)},c=Te(null),p=()=>{i.isDropdownMenuShown=!0,Gr(()=>{var g;c.value&&((g=c.value.querySelector(".dropdown-item.selected"))==null||g.scrollIntoView())})},h=o;return(g,y)=>(S(),E(Lt,null,[f("div",{class:at([{"pe-none":e.stockSource._t==="DefaultStoreStockIdSource"},"bootstrap-styles stock-selector dropdown d-flex justify-content-between w-100 border rounded-2 bg-color-input position-relative mb-5"])},[f("input",{class:at(["bootstrap-styles w-100 text-start py-1 px-3 stock-selector__input",{disabled:e.stockSource._t==="DefaultStoreStockIdSource"}]),value:e.stockSource._t==="DefaultStoreStockIdSource"?T(_)("productShelfBuilderComponent.productShelfBuilders.defaultStock"):i.searchPhrase,placeholder:T(_)("productShelfBuilderComponent.productShelfBuilders.stockPlaceholder"),onInput:y[0]||(y[0]=b=>d(b.target.value)),onFocusin:y[1]||(y[1]=()=>p()),onBlur:y[2]||(y[2]=b=>u(b))},null,42,Rpt),P(jo,{class:at(["stock-selector__icon",{"stock-selector__icon-rotate":i.isDropdownMenuShown}])},null,8,["class"]),i.stockSource._t==="SpecificStockIdSource"?(S(),E("ul",{key:0,ref_key:"refStockIdListWrapper",ref:c,class:at(["bootstrap-styles stock-selector__dropdown-menu w-100 rounded-2",{"d-block":i.isDropdownMenuShown}])},[(S(!0),E(Lt,null,ge(s.value,(b,v)=>(S(),E("li",{key:v,class:at(["bootstrap-styles dropdown-item p-0",{selected:b===i.stockSource.Value}]),tabindex:v,onClick:()=>a(b)},[f("span",_pt,k(b),1)],10,xpt))),128)),s.value.length===0?(S(),E("li",Ipt,[f("span",Ept,k(`${T(_)("productShelfBuilderComponent.productShelfBuilders.emptySearch")} "${i.searchPhrase}"`),1)])):St("",!0)],2)):St("",!0)],2),f("div",{class:at([{"disabled pe-none":e.stockIdList.length===0},"bootstrap-styles d-flex justify-content-start align-items-center"])},[P(ir,{id:"default-stock-checkbox",checked:e.stockSource._t==="DefaultStoreStockIdSource",onChange:y[3]||(y[3]=b=>r(b))},null,8,["checked"]),f("label",Ppt,k(T(_)("productShelfBuilderComponent.productShelfBuilders.defaultStockCheckbox")),1)],2)],64))}});const ts=mt(Npt,[["__scopeId","data-v-2adccb72"]]),wpt={class:"bootstrap-styles fw-bold mb-5"},Apt={class:"bootstrap-styles container-fluid mb-8"},Wpt={class:"bootstrap-styles border border-1 rounded bg-blue-selected py-5 px-3 d-flex justify-content-center align-items-center border-blue-selected mb-8 algorithm-description"},kpt={class:"bootstrap-styles me-3"},Mpt=lt({__name:"PopularProductListShelfBuilder",props:{deps:{},popularProductListShelf:{}},emits:["updatedPopularProductListShelf","cancel"],setup(t,{emit:o}){const e=t,n=Et({stockIdList:[],isStockLoaded:!1});n.isStockLoaded=!1,e.deps.getAllStockIds().then(i=>{n.stockIdList=i,n.isStockLoaded=!0});const s=o;return(i,r)=>(S(),E(Lt,null,[P(Jn,{class:at(["bootstrap-styles position-absolute top-50 start-50",{invisible:n.isStockLoaded}])},null,8,["class"]),f("div",{class:at(["bootstrap-styles container-fluid px-11 mt-8 position-relative",{invisible:!n.isStockLoaded}])},[f("label",wpt,k(T(_)("productShelfBuilderComponent.productShelfBuilders.stockLabel")),1),f("div",Apt,[P(ts,{stockIdList:n.stockIdList,stockSource:e.popularProductListShelf.StockSource,onOnStockSourceUpdated:r[0]||(r[0]=a=>{s("updatedPopularProductListShelf",{...e.popularProductListShelf,StockSource:a})})},null,8,["stockIdList","stockSource"])]),f("div",Wpt,[f("div",kpt,[f("i",null,[P(ur)])]),f("div",null,k(T(_)("productShelfBuilderComponent.productShelfBuilders.popularProductListDescription")),1)]),P(qr,{productsAtLeast:e.popularProductListShelf.AtLeast,productsLimit:e.popularProductListShelf.Limit,"onUpdate:productsAtLeast":r[1]||(r[1]=a=>s("updatedPopularProductListShelf",{...e.popularProductListShelf,AtLeast:a})),"onUpdate:productsLimit":r[2]||(r[2]=a=>s("updatedPopularProductListShelf",{...e.popularProductListShelf,Limit:a}))},null,8,["productsAtLeast","productsLimit"])],2)],64))}});const Opt=mt(Mpt,[["__scopeId","data-v-9f862dd9"]]),NR=vo,Lr=t=>NR(t).Match({CustomerStockId:()=>({_t:"CustomerStockIdSource"}),DefaultStoreStockId:()=>({_t:"DefaultStoreStockIdSource"}),SpecificStockId:o=>({_t:"SpecificStockIdSource",Value:o.Value})}),wR=vo,Hpt=vo,AR=t=>Va.Some(wR(t.dataSourceExpression).Match({NextBestOffer2Recommendations:({StockSource:o})=>({NextBestOffer2RecommendationsShelf:{Limit:t.limit,AtLeast:t.atLeast,StockSource:Lr(o)}}),ProductList:({ProductIds:o,StockSource:e})=>({ProductListShelf:{ProductInternalIDs:o,Limit:t.limit,AtLeast:t.atLeast,StockSource:Lr(e)}}),RelatedProductsFor:({ProductIds:o,StockSource:e})=>({RelatedProductsForProductListShelf:{ProductInternalIDs:o,Limit:t.limit,AtLeast:t.atLeast,StockSource:Lr(e)}}),AlternativeProductsFor:({ProductIds:o,StockSource:e})=>({AlternativeProductsForProductListShelf:{ProductInternalIDs:o,Limit:t.limit,AtLeast:t.atLeast,StockSource:Lr(e)}}),PopularProductsInCategories:({CategoryIds:o,StockSource:e})=>({PopularProductsInCategoryListShelf:{CategoryIdList:o,Limit:t.limit,AtLeast:t.atLeast,StockSource:Lr(e)}}),Popular:({StockSource:o})=>({PopularProductsShelf:{Limit:t.limit,AtLeast:t.atLeast,StockSource:Lr(o)}}),Latest:({StockSource:o})=>({LatestProductsShelf:{Limit:t.limit,AtLeast:t.atLeast,StockSource:Lr(o)}}),SaleByPopular:({StockSource:o})=>({SaleByPopularProductsShelf:{Limit:t.limit,AtLeast:t.atLeast,StockSource:Lr(o)}}),SaleByLatest:({StockSource:o})=>({SaleByLatestProductsShelf:{Limit:t.limit,AtLeast:t.atLeast,StockSource:Lr(o)}})})),Dr=t=>({ChunkExpression:{ChunkSize:t.atLeast,ListExpression:{LimitExpression:{Limit:t.limit,ListExpression:{DataSource:t.dataSource}}}}}),vr=t=>{switch(t._t){case"CustomerStockIdSource":return{CustomerStockId:{}};case"DefaultStoreStockIdSource":return{DefaultStoreStockId:{}};case"SpecificStockIdSource":return{SpecificStockId:{Value:t.Value}};default:return Mi(t)}},$pt=t=>Hpt(t).Match({NextBestOffer2RecommendationsShelf:({AtLeast:o,Limit:e,StockSource:n})=>Dr({limit:e,atLeast:o,dataSource:{NextBestOffer2Recommendations:{StockSource:vr(n)}}}),ProductListShelf:({ProductInternalIDs:o,AtLeast:e,Limit:n,StockSource:s})=>Dr({limit:n,atLeast:e,dataSource:{ProductList:{ProductIds:o,StockSource:vr(s)}}}),RelatedProductsForProductListShelf:({ProductInternalIDs:o,AtLeast:e,Limit:n,StockSource:s})=>Dr({limit:n,atLeast:e,dataSource:{RelatedProductsFor:{ProductIds:o,StockSource:vr(s)}}}),AlternativeProductsForProductListShelf:({ProductInternalIDs:o,AtLeast:e,Limit:n,StockSource:s})=>Dr({limit:n,atLeast:e,dataSource:{AlternativeProductsFor:{ProductIds:o,StockSource:vr(s)}}}),PopularProductsInCategoryListShelf:({CategoryIdList:o,AtLeast:e,Limit:n,StockSource:s})=>Dr({limit:n,atLeast:e,dataSource:{PopularProductsInCategories:{CategoryIds:o,StockSource:vr(s)}}}),PopularProductsShelf:({AtLeast:o,Limit:e,StockSource:n})=>Dr({limit:e,atLeast:o,dataSource:{Popular:{StockSource:vr(n)}}}),LatestProductsShelf:({AtLeast:o,Limit:e,StockSource:n})=>Dr({limit:e,atLeast:o,dataSource:{Latest:{StockSource:vr(n)}}}),SaleByPopularProductsShelf:({AtLeast:o,Limit:e,StockSource:n})=>Dr({limit:e,atLeast:o,dataSource:{SaleByPopular:{StockSource:vr(n)}}}),SaleByLatestProductsShelf:({AtLeast:o,Limit:e,StockSource:n})=>Dr({limit:e,atLeast:o,dataSource:{SaleByLatest:{StockSource:vr(n)}}})}),Upt={class:"bootstrap-styles container-fluid px-11 mt-8"},jpt={class:"bootstrap-styles fw-bold mb-5"},zpt={class:"bootstrap-styles container-fluid mb-8"},Gpt={class:"bootstrap-styles border border-1 rounded bg-blue-selected py-5 px-3 d-flex justify-content-center align-items-center border-blue-selected mb-8 algorithm-description"},Kpt={class:"bootstrap-styles me-3"},Ypt=lt({__name:"LatestProductListShelfBuilder",props:{deps:{},latestProductListShelf:{}},emits:["updatedLatestProductListShelf","cancel"],setup(t,{emit:o}){const e=t,n=Et({stockIdList:[]});e.deps.getAllStockIds().then(i=>{n.stockIdList=i});const s=o;return(i,r)=>(S(),E("div",Upt,[f("label",jpt,k(T(_)("productShelfBuilderComponent.productShelfBuilders.stockLabel")),1),f("div",zpt,[P(ts,{stockIdList:n.stockIdList,stockSource:e.latestProductListShelf.StockSource,onOnStockSourceUpdated:r[0]||(r[0]=a=>{s("updatedLatestProductListShelf",{...e.latestProductListShelf,StockSource:a})})},null,8,["stockIdList","stockSource"])]),f("div",Gpt,[f("div",Kpt,[f("i",null,[P(ur)])]),Ot(f("div",null,null,512),[[T(Ai),T(_)("productShelfBuilderComponent.productShelfBuilders.latestProductListDescription")]])]),P(qr,{productsAtLeast:e.latestProductListShelf.AtLeast,productsLimit:e.latestProductListShelf.Limit,"onUpdate:productsAtLeast":r[1]||(r[1]=a=>s("updatedLatestProductListShelf",{...e.latestProductListShelf,AtLeast:a})),"onUpdate:productsLimit":r[2]||(r[2]=a=>s("updatedLatestProductListShelf",{...e.latestProductListShelf,Limit:a}))},null,8,["productsAtLeast","productsLimit"])]))}});const Zpt=mt(Ypt,[["__scopeId","data-v-d6abe5ff"]]),Jpt={class:"bootstrap-styles container-fluid px-11 mt-8"},Xpt={class:"bootstrap-styles fw-bold mb-5"},Qpt={class:"bootstrap-styles container-fluid mb-8"},qpt={class:"bootstrap-styles border border-1 rounded bg-blue-selected py-5 px-3 d-flex justify-content-center align-items-center border-blue-selected mb-8 algorithm-description"},tCt={class:"bootstrap-styles me-3"},eCt=lt({__name:"SaleByPopularProductListShelfBuilder",props:{deps:{},saleByPopularProductListShelf:{}},emits:["updatedSaleByPopularProductListShelf","cancel"],setup(t,{emit:o}){const e=t,n=Et({stockIdList:[]});e.deps.getAllStockIds().then(i=>{n.stockIdList=i});const s=o;return(i,r)=>(S(),E("div",Jpt,[f("label",Xpt,k(T(_)("productShelfBuilderComponent.productShelfBuilders.stockLabel")),1),f("div",Qpt,[P(ts,{stockIdList:n.stockIdList,stockSource:e.saleByPopularProductListShelf.StockSource,onOnStockSourceUpdated:r[0]||(r[0]=a=>{s("updatedSaleByPopularProductListShelf",{...e.saleByPopularProductListShelf,StockSource:a})})},null,8,["stockIdList","stockSource"])]),f("div",qpt,[f("div",tCt,[f("i",null,[P(ur)])]),Ot(f("div",null,null,512),[[T(Ai),T(_)("productShelfBuilderComponent.productShelfBuilders.saleByPopularProductListDescription")]])]),P(qr,{productsAtLeast:e.saleByPopularProductListShelf.AtLeast,productsLimit:e.saleByPopularProductListShelf.Limit,"onUpdate:productsAtLeast":r[1]||(r[1]=a=>s("updatedSaleByPopularProductListShelf",{...e.saleByPopularProductListShelf,AtLeast:a})),"onUpdate:productsLimit":r[2]||(r[2]=a=>s("updatedSaleByPopularProductListShelf",{...e.saleByPopularProductListShelf,Limit:a}))},null,8,["productsAtLeast","productsLimit"])]))}});const oCt=mt(eCt,[["__scopeId","data-v-eb00a4b2"]]),nCt={class:"bootstrap-styles container-fluid px-11 mt-8"},iCt={class:"bootstrap-styles fw-bold mb-5"},rCt={class:"bootstrap-styles container-fluid mb-8"},sCt={class:"bootstrap-styles border border-1 rounded bg-blue-selected py-5 px-3 d-flex justify-content-center align-items-center border-blue-selected mb-8 algorithm-description"},aCt={class:"bootstrap-styles me-3"},lCt=lt({__name:"SaleByLatestProductListShelfBuilder",props:{saleByLatestProductListShelf:{},deps:{}},emits:["updatedSaleByLatestProductListShelf","cancel"],setup(t,{emit:o}){const e=t,n=Et({stockIdList:[]});e.deps.getAllStockIds().then(i=>{n.stockIdList=i});const s=o;return(i,r)=>(S(),E("div",nCt,[f("label",iCt,k(T(_)("productShelfBuilderComponent.productShelfBuilders.stockLabel")),1),f("div",rCt,[P(ts,{stockIdList:n.stockIdList,stockSource:e.saleByLatestProductListShelf.StockSource,onOnStockSourceUpdated:r[0]||(r[0]=a=>{s("updatedSaleByLatestProductListShelf",{...e.saleByLatestProductListShelf,StockSource:a})})},null,8,["stockIdList","stockSource"])]),f("div",sCt,[f("div",aCt,[f("i",null,[P(ur)])]),Ot(f("div",null,null,512),[[T(Ai),T(_)("productShelfBuilderComponent.productShelfBuilders.saleByLatestProductListDescription")]])]),P(qr,{productsAtLeast:e.saleByLatestProductListShelf.AtLeast,productsLimit:e.saleByLatestProductListShelf.Limit,"onUpdate:productsAtLeast":r[1]||(r[1]=a=>s("updatedSaleByLatestProductListShelf",{...e.saleByLatestProductListShelf,AtLeast:a})),"onUpdate:productsLimit":r[2]||(r[2]=a=>s("updatedSaleByLatestProductListShelf",{...e.saleByLatestProductListShelf,Limit:a}))},null,8,["productsAtLeast","productsLimit"])]))}});const uCt=mt(lCt,[["__scopeId","data-v-48bf1030"]]),dCt={},mCt={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"};function cCt(t,o){return S(),E("svg",mCt,o[0]||(o[0]=[f("path",{d:"M12.0208 11.0778L14.876 13.9329L13.9332 14.8757L11.078 12.0206C10.0514 12.8419 8.7495 13.3333 7.3335 13.3333C4.0215 13.3333 1.3335 10.6453 1.3335 7.33325C1.3335 4.02125 4.0215 1.33325 7.3335 1.33325C10.6455 1.33325 13.3335 4.02125 13.3335 7.33325C13.3335 8.74925 12.8422 10.0512 12.0208 11.0778ZM10.6833 10.5831C11.4985 9.74298 12.0002 8.59698 12.0002 7.33325C12.0002 4.75492 9.91183 2.66659 7.3335 2.66659C4.75516 2.66659 2.66683 4.75492 2.66683 7.33325C2.66683 9.91158 4.75516 11.9999 7.3335 11.9999C8.59723 11.9999 9.74323 11.4983 10.5834 10.6831L10.6833 10.5831Z",fill:"var(--gray-500)"},null,-1)]))}const WR=mt(dCt,[["render",cCt]]),fCt={},pCt={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function CCt(t,o){return S(),E("svg",pCt,o[0]||(o[0]=[f("path",{d:"M12.0194 11.0778L14.8745 13.9329L13.9317 14.8757L11.0766 12.0206C10.05 12.8419 8.74803 13.3333 7.33203 13.3333C4.02003 13.3333 1.33203 10.6453 1.33203 7.33325C1.33203 4.02125 4.02003 1.33325 7.33203 1.33325C10.644 1.33325 13.332 4.02125 13.332 7.33325C13.332 8.74925 12.8407 10.0512 12.0194 11.0778ZM10.6818 10.5831C11.497 9.74298 11.9987 8.59698 11.9987 7.33325C11.9987 4.75492 9.91036 2.66659 7.33203 2.66659C4.7537 2.66659 2.66536 4.75492 2.66536 7.33325C2.66536 9.91158 4.7537 11.9999 7.33203 11.9999C8.59576 11.9999 9.74176 11.4983 10.5819 10.6831L10.6818 10.5831Z",fill:"white"},null,-1)]))}const kR=mt(fCt,[["render",CCt]]),hCt={class:"bootstrap-styles row g-0 mb-7"},gCt={class:"bootstrap-styles col-8 d-flex justify-content-between align-items-center"},FCt={class:"bootstrap-styles bg-color-input border rounded-2 py-1 px-3 d-flex w-100"},yCt={class:"bootstrap-styles d-flex justify-content-center align-items-center me-1"},SCt=["placeholder"],bCt={class:"bootstrap-styles ps-1 me-7"},TCt={key:0,class:"bootstrap-styles d-flex justify-content-center align-items-center icon-fill"},BCt={class:"bootstrap-styles col-4"},VCt={class:"bootstrap-styles d-flex justify-content-center align-items-center me-1 icon-stroke"},LCt=lt({__name:"ProductSearchBar",props:{isButtonAddAllEnable:{type:Boolean},isLoaded:{type:Boolean}},emits:["search","addAllFoundProducts"],setup(t,{emit:o}){const e=t,n=Et({phrase:""}),s=()=>{n.phrase.length&&i("search",n.phrase)},i=o;return(r,a)=>(S(),E("div",hCt,[f("div",gCt,[f("div",FCt,[f("i",yCt,[P(WR)]),f("form",{class:"bootstrap-styles w-100 search-form",onSubmit:De(s,["prevent"])},[Ot(f("input",{"onUpdate:modelValue":a[0]||(a[0]=d=>n.phrase=d),type:"text",class:"bootstrap-styles w-100",placeholder:T(_)("productListComposerModalWindow.searchInputPlaceholder"),required:""},null,8,SCt),[[Pn,n.phrase]])],32),Ot(f("button",{class:"bootstrap-styles px-14",onClick:a[1]||(a[1]=d=>n.phrase="")},a[3]||(a[3]=[f("i",{class:"bootstrap-styles d-flex justify-content-center align-items-center icon-hover-stroke"},[f("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 16 16",fill:"none"},[f("path",{d:"M3 3L13 13",stroke:"var(--gray-500)"}),f("path",{d:"M13 3L3 13",stroke:"var(--gray-500)"})])],-1)]),512),[[Pa,n.phrase.length>0]])]),f("div",bCt,[f("button",{class:at([{"button__active-700":n.phrase.length,button__locked:!e.isLoaded||!n.phrase.length},"bootstrap-styles d-flex justify-content-center align-items-center py-1 px-3 rounded-2 button__disabled-700"]),onClick:s},[e.isLoaded?(S(),E("i",TCt,[P(kR)])):(S(),st(lr,{key:1}))],2)])]),f("div",BCt,[f("button",{class:at([{"button__active-100 button__hover-blue-100":e.isButtonAddAllEnable,button__locked:!e.isButtonAddAllEnable},"bootstrap-styles d-flex justify-content-center align-center py-1 px-3 rounded-2 bg-blue-selected button__disabled-100 w-100 me-1"]),onClick:a[2]||(a[2]=()=>i("addAllFoundProducts"))},[f("i",VCt,[P(Yf)]),je(" "+k(T(_)("productListComposerModalWindow.transferAllButton")),1)],2)])]))}});const DCt=mt(LCt,[["__scopeId","data-v-4461b11f"]]),vCt={},RCt={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function xCt(t,o){return S(),E("svg",RCt,o[0]||(o[0]=[f("path",{d:"M5 11.75C5 7.89453 8.11719 4.75 12 4.75C15.8555 4.75 19 7.89453 19 11.75C19 15.6328 15.8555 18.75 12 18.75C8.11719 18.75 5 15.6328 5 11.75ZM12 14.8125C12.3555 14.8125 12.6562 14.5391 12.6562 14.1562V12.4062H14.4062C14.7617 12.4062 15.0625 12.1328 15.0625 11.75C15.0625 11.3945 14.7617 11.0938 14.4062 11.0938H12.6562V9.34375C12.6562 8.98828 12.3555 8.6875 12 8.6875C11.6172 8.6875 11.3438 8.98828 11.3438 9.34375V11.0938H9.59375C9.21094 11.0938 8.9375 11.3945 8.9375 11.75C8.9375 12.1328 9.21094 12.4062 9.59375 12.4062H11.3438V14.1562C11.3438 14.5391 11.6172 14.8125 12 14.8125Z",fill:"var(--blue-400)"},null,-1)]))}const MR=mt(vCt,[["render",xCt]]),_Ct={},ICt={width:"48",height:"49",viewBox:"0 0 48 49",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function ECt(t,o){return S(),E("svg",ICt,o[0]||(o[0]=[f("rect",{x:"2",y:"2.5",width:"44",height:"44",rx:"2.61259",fill:"#F6F6F6"},null,-1),f("path",{d:"M17.9952 30.5C17.63 30.5 17.334 30.2034 17.334 29.8377V19.1623C17.334 18.7965 17.6375 18.5 17.9952 18.5H30.0061C30.3713 18.5 30.6673 18.7966 30.6673 19.1623V29.8377C30.6673 30.2035 30.3638 30.5 30.0061 30.5H17.9952ZM29.334 26.5V19.8333H18.6673V29.1667L25.334 22.5L29.334 26.5ZM29.334 28.3856L25.334 24.3856L20.5529 29.1667H29.334V28.3856ZM21.334 23.8333C20.5976 23.8333 20.0007 23.2364 20.0007 22.5C20.0007 21.7636 20.5976 21.1667 21.334 21.1667C22.0704 21.1667 22.6673 21.7636 22.6673 22.5C22.6673 23.2364 22.0704 23.8333 21.334 23.8333Z",fill:"#999999"},null,-1)]))}const Jg=mt(_Ct,[["render",ECt]]),PCt={class:"bootstrap-styles container-fluid product-list-item"},NCt={class:"bootstrap-styles row g-0 py-1"},wCt={class:"bootstrap-styles col-1"},ACt={class:"bootstrap-styles w-100 d-flex justify-content-center align-items-center product-list-item__image"},WCt=["src","alt"],kCt={class:"bootstrap-styles col-10 ps-3"},MCt={class:"bootstrap-styles h-100 d-flex flex-column align-items-start justify-content-center"},OCt={key:0,class:"bootstrap-styles mb-1 product-list-item__not-available"},HCt={class:"bootstrap-styles mb-1 text-gray-600"},$Ct={"data-test":"searched-product-list__item-id"},UCt={class:"bootstrap-styles","data-test":"searched-product-list__item-name"},jCt={class:"bootstrap-styles col-1"},zCt={class:"bootstrap-styles w-100 h-100 d-flex justify-content-end align-items-center pe-14"},GCt=lt({__name:"SearchedProductListItem",props:{product:{}},emits:["addSearchedProduct"],setup(t,{emit:o}){const e=t,n=Et({isBrokenImage:!1}),s=o;return(i,r)=>(S(),E("div",PCt,[f("div",NCt,[f("div",wCt,[f("div",ACt,[n.isBrokenImage?(S(),st(Jg,{key:1})):(S(),E("img",{key:0,class:"bootstrap-styles mw-100 mh-100",src:e.product.PictureUrl,alt:e.product.Name,"data-test":"searched-product-list__item-image",onError:r[0]||(r[0]=()=>n.isBrokenImage=!0)},null,40,WCt))])]),f("div",kCt,[f("div",MCt,[e.product.IsAvailable?St("",!0):(S(),E("div",OCt,k(T(_)("productListComposerModalWindow.notAvailableLabel")),1)),f("div",HCt,[r[2]||(r[2]=f("span",{class:"bootstrap-styles me-14"},"ID",-1)),f("span",$Ct,k(e.product.ExternalProductId),1)]),f("div",UCt,k(e.product.Name),1)])]),f("div",jCt,[f("div",zCt,[f("button",{"data-test":"searched-product-list__item-add-button",onClick:r[1]||(r[1]=a=>s("addSearchedProduct"))},[f("i",null,[P(MR)])])])])])]))}});const KCt=mt(GCt,[["__scopeId","data-v-b301cf42"]]),YCt={class:"bootstrap-styles d-flex justify-content-center align-items-center py-7 h-100 overflow-hidden"},ZCt={class:"bootstrap-styles empty-product-list d-flex flex-column justify-content-center align-items-center"},JCt={class:"bootstrap-styles bg-color-gray rounded-2 p-3"},XCt={class:"bootstrap-styles text-gray-600 p-3"},QCt=lt({__name:"EmptySearchProductList",setup(t){return(o,e)=>(S(),E("div",YCt,[f("div",ZCt,[e[0]||(e[0]=ar('<div class="bootstrap-styles"><i><svg width="29" height="145" viewBox="0 0 29 145" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1.34301 0.806801C1.39524 0.535643 1.65739 0.358164 1.92855 0.410391L6.34733 1.26148C6.61849 1.31371 6.79597 1.57587 6.74374 1.84702C6.69152 2.11818 6.42936 2.29566 6.1582 2.24343L2.23039 1.48691L1.47387 5.41472C1.42164 5.68587 1.15949 5.86335 0.888327 5.81113C0.617168 5.7589 0.439689 5.49674 0.491917 5.22558L1.34301 0.806801ZM2.24802 0.621063C15.8989 20.785 26.0105 46.9369 28.2169 72.9399C30.4235 98.9456 24.7247 124.849 6.69023 144.437L5.95455 143.76C23.7465 124.435 29.4109 98.8391 27.2205 73.0245C25.0298 47.2071 14.9839 21.2171 1.41994 1.18167L2.24802 0.621063Z" fill="url(#paint0_linear_2569_17987)"></path><defs><linearGradient id="paint0_linear_2569_17987" x1="1.71323" y1="0.434833" x2="8.14345" y2="145.179" gradientUnits="userSpaceOnUse"><stop stop-color="#ADB2B8"></stop><stop offset="1" stop-color="#DBE1E8" stop-opacity="0"></stop></linearGradient></defs></svg></i></div>',1)),f("div",JCt,k(T(_)("productListComposerModalWindow.emptySearchProductListTopText")),1),f("div",XCt,k(T(_)("productListComposerModalWindow.emptySearchProductListBottomText")),1),e[1]||(e[1]=f("div",{class:"bootstrap-styles d-flex align-items-end"},[f("span",{class:"bootstrap-styles bg-color-gray rounded-2 p-3 me-1"},"123456"),je(", "),f("span",{class:"bootstrap-styles bg-color-gray rounded-2 p-3 ms-1 me-1"},"123457"),je(", "),f("span",{class:"bootstrap-styles bg-color-gray rounded-2 p-3 ms-1"},"123458")],-1))])]))}}),qCt={key:0,class:"bootstrap-styles d-flex flex-column scrollable","data-test":"searched-product-list"},tht=lt({__name:"SearchedProductList",props:{searchedProductList:{}},emits:["addSearchedProduct"],setup(t,{emit:o}){const e=t,n=o;return(s,i)=>e.searchedProductList.length?(S(),E("div",qCt,[(S(!0),E(Lt,null,ge(e.searchedProductList,(r,a)=>(S(),st(KCt,{key:r.InternalProductId,product:r,index:a+1,onAddSearchedProduct:d=>n("addSearchedProduct",r)},null,8,["product","index","onAddSearchedProduct"]))),128))])):(S(),st(QCt,{key:1}))}});const eht=mt(tht,[["__scopeId","data-v-4cc75e29"]]),oht={class:"bootstrap-styles col-6 border-end h-100"},nht={class:"bootstrap-styles container-fluid g-0 px-11 py-8 d-flex flex-column h-100"},iht={key:1,class:"bootstrap-styles d-flex justify-content-center align-items-center h-100"},rht=lt({__name:"ProductSearchComponent",props:{deps:{},excluded:{},stockSource:{}},emits:["selected"],setup(t,{emit:o}){const e=t,n=a=>a.filter(d=>e.excluded.every(u=>d.InternalProductId!==u)),s=Et({foundProducts:[],isLoaded:!0}),i=Ls.debounce(a=>{s.isLoaded=!1,e.deps.findProductsByPhrase(a,e.stockSource).then(d=>{s.foundProducts=d,s.isLoaded=!0})},50),r=o;return(a,d)=>(S(),E("div",oht,[f("div",nht,[P(DCt,{isButtonAddAllEnable:n(s.foundProducts).length>0,isLoaded:s.isLoaded,onAddAllFoundProducts:d[0]||(d[0]=()=>{r("selected",n(s.foundProducts).map(u=>u.InternalProductId))}),onSearch:d[1]||(d[1]=u=>T(i)(u))},null,8,["isButtonAddAllEnable","isLoaded"]),s.isLoaded?(S(),st(eht,{key:0,searchedProductList:n(s.foundProducts),onAddSearchedProduct:d[2]||(d[2]=u=>r("selected",[u.InternalProductId]))},null,8,["searchedProductList"])):(S(),E("div",iht,k(T(_)("productListComposerModalWindow.searching")),1))])]))}}),OR=t=>{const o=t.number%10===1&&t.number%100!==1,e=t.number%10>=2&&t.number%10<=4&&(t.number%100<10||t.number%100>=20);return o?t.titles.one:e?t.titles.few:t.titles.many},sht={},aht={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function lht(t,o){return S(),E("svg",aht,o[0]||(o[0]=[f("path",{d:"M5 11.75C5 7.89453 8.11719 4.75 12 4.75C15.8555 4.75 19 7.89453 19 11.75C19 15.6328 15.8555 18.75 12 18.75C8.11719 18.75 5 15.6328 5 11.75ZM9.78516 10.4648L11.0703 11.75L9.78516 13.0352C9.51172 13.3086 9.51172 13.7188 9.78516 13.9648C10.0312 14.2383 10.4414 14.2383 10.6875 13.9648L11.9727 12.6797L13.2852 13.9648C13.5312 14.2383 13.9414 14.2383 14.1875 13.9648C14.4609 13.7188 14.4609 13.3086 14.1875 13.0352L12.9023 11.75L14.1875 10.4648C14.4609 10.2188 14.4609 9.80859 14.1875 9.53516C13.9414 9.28906 13.5312 9.28906 13.2852 9.53516L11.9727 10.8477L10.6875 9.53516C10.4414 9.28906 10.0312 9.28906 9.78516 9.53516C9.51172 9.80859 9.51172 10.2188 9.78516 10.4648Z",fill:"#E23A4F"},null,-1)]))}const np=mt(sht,[["render",lht]]),uht={class:"bootstrap-styles container-fluid product-list-item"},dht={class:"bootstrap-styles row g-0 py-1"},mht={class:"bootstrap-styles col-1"},cht={class:"bootstrap-styles w-100 h-100 d-flex justify-content-start align-items-center px-14","data-test":"selected-product-list__item-index"},fht={class:"bootstrap-styles col-1"},pht={class:"bootstrap-styles w-100 d-flex justify-content-center align-items-center product-list-item__image"},Cht=["src","alt"],hht={class:"bootstrap-styles col-9 ps-3"},ght={class:"bootstrap-styles h-100 d-flex flex-column align-items-start justify-content-center"},Fht={key:0,class:"bootstrap-styles mb-1 product-list-item__not-available"},yht={class:"bootstrap-styles mb-1 text-gray-600"},Sht={"data-test":"selected-product-list__item-id"},bht={class:"bootstrap-styles","data-test":"selected-product-list__item-name"},Tht={class:"bootstrap-styles col-1"},Bht={class:"bootstrap-styles w-100 h-100 d-flex justify-content-end align-items-center pe-14"},Vht=lt({__name:"SelectedProductListItem",props:{index:{},product:{}},emits:["remove"],setup(t,{emit:o}){const e=t,n=Et({isBrokenImage:!1}),s=o;return(i,r)=>(S(),E("div",uht,[f("div",dht,[f("div",mht,[f("div",cht,k(e.index),1)]),f("div",fht,[f("div",pht,[n.isBrokenImage?(S(),st(Jg,{key:1})):(S(),E("img",{key:0,class:"bootstrap-styles mw-100 mh-100",src:e.product.PictureUrl,alt:e.product.Name,"data-test":"selected-product-list__item-image",onError:r[0]||(r[0]=()=>n.isBrokenImage=!0)},null,40,Cht))])]),f("div",hht,[f("div",ght,[e.product.IsAvailable?St("",!0):(S(),E("div",Fht,k(T(_)("productListComposerModalWindow.notAvailableLabel")),1)),f("div",yht,[r[2]||(r[2]=f("span",{class:"bootstrap-styles me-14"},"ID",-1)),f("span",Sht,k(e.product.ExternalProductId),1)]),f("div",bht,k(e.product.Name),1)])]),f("div",Tht,[f("div",Bht,[f("button",{"data-test":"selected-product-list__item-remove-button",onClick:r[1]||(r[1]=a=>s("remove"))},[f("i",null,[P(np)])])])])])]))}});const Lht=mt(Vht,[["__scopeId","data-v-c2917fe1"]]),Dht={class:"bootstrap-styles d-flex flex-column scrollable"},vht=lt({__name:"SelectedProductList",props:{selectedProductList:{}},emits:["remove"],setup(t,{emit:o}){const e=t,n=o;return(s,i)=>(S(),E("div",Dht,[(S(!0),E(Lt,null,ge(e.selectedProductList,(r,a)=>(S(),st(Lht,{key:r.InternalProductId,product:r,index:a+1,onRemove:d=>n("remove",r.InternalProductId)},null,8,["product","index","onRemove"]))),128))]))}});const Rht=mt(vht,[["__scopeId","data-v-90ef23ff"]]),xht={class:"bootstrap-styles container-fluid g-0 h-100 empty-product-list"},_ht={class:"bootstrap-styles d-flex flex-column justify-content-center align-items-center h-100"},Iht=lt({__name:"EmptyProductList",setup(t){return(o,e)=>(S(),E("div",xht,[f("div",_ht,[e[0]||(e[0]=ar('<i class="bootstrap-styles mb-5"><svg width="100" height="101" viewBox="0 0 100 101" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M17.5703 20.5264C17.5703 13.8057 23.0186 8.35742 29.7393 8.35742H63.4097L82.2847 26.6932V80.8564C82.2847 87.5771 76.8364 93.0254 70.1157 93.0254H29.7393C23.0186 93.0254 17.5703 87.5771 17.5703 80.8564V20.5264Z" fill="#E3E9FC"></path><path d="M69.3144 26.6934H82.1895L63.3144 8.35762V20.6934C63.3144 24.0071 66.0007 26.6934 69.3144 26.6934Z" fill="#A5B4E3"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M49.9997 44.0713C49.2107 44.0713 48.5711 44.7109 48.5711 45.4999V50.4999H43.5711C42.7822 50.4999 42.1426 51.1395 42.1426 51.9284C42.1426 52.7174 42.7822 53.357 43.5711 53.357H48.5711V58.357C48.5711 59.146 49.2107 59.7856 49.9997 59.7856C50.7887 59.7856 51.4283 59.146 51.4283 58.357V53.357H56.4283C57.2173 53.357 57.8569 52.7174 57.8569 51.9284C57.8569 51.1395 57.2173 50.4999 56.4283 50.4999H51.4283V45.4999C51.4283 44.7109 50.7887 44.0713 49.9997 44.0713Z" fill="#A5B4E3"></path></svg></i>',1)),f("div",null,k(T(_)("productListComposerModalWindow.emptySelectedProductList")),1)])]))}}),Eht={class:"bootstrap-styles col-6 h-100"},Pht={key:0,class:"bootstrap-styles container-fluid g-0 px-11 py-9 d-flex flex-column h-100"},Nht={class:"bootstrap-styles mb-7 mt-1"},wht={class:"bootstrap-styles d-flex justify-content-between align-items-center"},Aht={class:"bootstrap-styles fw-bold mb-0"},Wht={class:"bootstrap-styles d-flex align-items-center gap-5"},kht={class:"bootstrap-styles text-gray-600"},Mht={key:1,class:"bootstrap-styles d-flex justify-content-center align-items-center h-100"},Oht=lt({__name:"SelectProductComponent",props:{deps:{},productIdList:{},stockSource:{}},emits:["remove","onProductListRemoved"],setup(t,{emit:o}){const e=t,n=Et({productList:[],isLoaded:!1});Wi(()=>{n.isLoaded=!1,e.deps.getProductsByIDs(e.productIdList,e.stockSource).then(i=>{n.productList=i,n.isLoaded=!0})}),qe(()=>e.productIdList,()=>{n.isLoaded=!1,e.deps.getProductsByIDs(e.productIdList,e.stockSource).then(i=>{n.productList=i,n.isLoaded=!0})});const s=o;return(i,r)=>(S(),E("div",Eht,[e.productIdList.length?(S(),E("div",Pht,[f("div",Nht,[f("div",wht,[f("h6",Aht,k(T(_)("productListComposerModalWindow.selectedProductListTitle")),1),f("div",Wht,[f("div",kht,k(e.productIdList.length)+" "+k(T(OR)({number:e.productIdList.length,titles:{one:T(_)("productListComposerModalWindow.selectedProductListDeclensions.one"),few:T(_)("productListComposerModalWindow.selectedProductListDeclensions.few"),many:T(_)("productListComposerModalWindow.selectedProductListDeclensions.many")}})),1),f("button",{class:"bootstrap-styles d-flex justify-content-center align-center py-1 px-3 me-3 rounded-2 bg-blue-selected button__hover-blue-100 text-color-selected",onClick:r[0]||(r[0]=a=>s("onProductListRemoved"))},k(T(_)("productListComposerModalWindow.clearListButton")),1)])])]),n.isLoaded?(S(),st(Rht,{key:0,selectedProductList:n.productList,onRemove:r[1]||(r[1]=a=>s("remove",a))},null,8,["selectedProductList"])):(S(),E("div",Mht,k(T(_)("productListComposerModalWindow.loading")),1))])):(S(),st(Iht,{key:1}))]))}}),Hht={class:"bootstrap-styles container-fluid g-0 d-flex flex-column product-list-composer-modal-window__body"},$ht={class:"bootstrap-styles row g-0 flex-grow-1 h-100 d-flex"},Uht=lt({__name:"ProductListComposerModalWindow",props:{deps:{},stockSource:{},internalIProductDs:{}},emits:["cancel","apply"],setup(t,{emit:o}){const e=t,n=Et({selectedProductIDs:[...e.internalIProductDs]}),s=()=>{i("cancel")},i=o;return(r,a)=>(S(),st(yn,{class:"product-list-composer-modal-window",headerText:T(_)("productListComposerModalWindow.title"),onClose:a[5]||(a[5]=()=>s())},{body:le(()=>[f("div",Hht,[f("div",$ht,[P(rht,{excluded:n.selectedProductIDs,deps:e.deps.productSearchComponentDeps,stockSource:e.stockSource,onSelected:a[0]||(a[0]=d=>{n.selectedProductIDs=[...n.selectedProductIDs,...d]})},null,8,["excluded","deps","stockSource"]),P(Oht,{productIdList:n.selectedProductIDs,deps:e.deps.selectProductComponentDeps,stockSource:e.stockSource,onRemove:a[1]||(a[1]=d=>{n.selectedProductIDs=n.selectedProductIDs.filter(u=>u!==d)}),onOnProductListRemoved:a[2]||(a[2]=()=>n.selectedProductIDs=[])},null,8,["productIdList","deps","stockSource"])])])]),"footer-actions":le(()=>[f("button",{class:"modal-footer__button bootstrap-styles d-flex justify-content-center align-center py-1 px-3 me-3 rounded-2 bg-blue-selected button__hover-blue-100 text-color-selected",onClick:a[3]||(a[3]=De(d=>s(),["stop"]))},k(T(_)("productListComposerModalWindow.cancelButton")),1),f("button",{class:"modal-footer__button bootstrap-styles d-flex justify-content-center align-center py-1 px-3 rounded-2 bg-color-selected text-white cursor-pointer button__hover-blue-400",onClick:a[4]||(a[4]=De(d=>i("apply",n.selectedProductIDs),["stop"]))},k(T(_)("productListComposerModalWindow.applyButton")),1)]),_:1},8,["headerText"]))}});const Xg=mt(Uht,[["__scopeId","data-v-c92c5143"]]),jht={class:"bootstrap-styles container-fluid product-list-item"},zht={class:"bootstrap-styles row g-0 py-1"},Ght={class:"bootstrap-styles col-1 m-auto"},Kht={class:"bootstrap-styles w-100 h-100 d-flex flex-column justify-content-start align-items-center px-14"},Yht={class:"product-list-item__sort-button"},Zht={"data-test":"product-list-item__index"},Jht={class:"product-list-item__sort-button"},Xht={class:"bootstrap-styles col-1 m-auto"},Qht={class:"bootstrap-styles w-100 d-flex justify-content-center align-items-center product-list-item__image"},qht=["alt","src"],t0t={class:"bootstrap-styles col-9 ps-3"},e0t={class:"bootstrap-styles h-100 d-flex flex-column align-items-start justify-content-center"},o0t={key:0,class:"bootstrap-styles mb-1 product-list-item__not-available"},n0t={class:"bootstrap-styles mb-1 text-gray-600"},i0t={"data-test":"product-list-item__id"},r0t={class:"bootstrap-styles col-1"},s0t={class:"bootstrap-styles w-100 h-100 d-flex justify-content-end align-items-center pe-14"},a0t=lt({__name:"ProductListItem",props:{index:{},product:{}},emits:["remove","moveUp","moveDown"],setup(t,{emit:o}){const e=t,n=Et({isBrokenImage:!1}),s=o;return(i,r)=>(S(),E("div",jht,[f("div",zht,[f("div",Ght,[f("div",Kht,[f("div",Yht,[f("button",{class:"bootstrap-styles d-flex justify-content-center align-items-center w-100 h-100","data-test":"product-list-item__move-up-button",onClick:r[0]||(r[0]=a=>s("moveUp"))},[P(uv)])]),f("span",Zht,k(e.index),1),f("div",Jht,[f("button",{class:"bootstrap-styles d-flex justify-content-center align-items-center w-100 h-100","data-test":"product-list-item__move-down-button",onClick:r[1]||(r[1]=a=>s("moveDown"))},[P(dv)])])])]),f("div",Xht,[f("div",Qht,[n.isBrokenImage?(S(),st(Jg,{key:1})):(S(),E("img",{key:0,alt:e.product.Name,src:e.product.PictureUrl,class:"bootstrap-styles mw-100 mh-100","data-test":"product-list-item__image",onError:r[2]||(r[2]=()=>n.isBrokenImage=!0)},null,40,qht))])]),f("div",t0t,[f("div",e0t,[e.product.IsAvailable?St("",!0):(S(),E("div",o0t,k(T(_)("productShelfBuilderComponent.productShelfBuilders.notAvailableLabel")),1)),f("div",n0t,[r[4]||(r[4]=f("span",{class:"bootstrap-styles me-14"},"ID",-1)),f("span",i0t,k(e.product.ExternalProductId),1)]),f("div",{class:at(["bootstrap-styles",{"text-gray-600":!e.product.IsAvailable}]),"data-test":"product-list-item__name"},k(e.product.Name),3)])]),f("div",r0t,[f("div",s0t,[f("button",{"data-test":"product-list-item__remove-button",onClick:r[3]||(r[3]=a=>s("remove"))},[f("i",null,[P(np)])])])])])]))}});const l0t=mt(a0t,[["__scopeId","data-v-446bb8c0"]]),u0t={class:"bootstrap-styles container-fluid scrollable","data-test":"product-list"},d0t={class:"bootstrap-styles d-flex flex-column"},m0t=lt({__name:"ProductList",props:{productList:{}},emits:["updatedProductList"],setup(t,{emit:o}){const e=t,n=a=>{const d=e.productList.filter(u=>u.InternalProductId!==a);r("updatedProductList",d)},s=a=>{if(a===e.productList.length-1)return;const d=[...e.productList],u=d.splice(a,1);d.splice(a+1,0,u[0]),r("updatedProductList",d)},i=a=>{if(a===0)return;const d=[...e.productList],u=d.splice(a,1);d.splice(a-1,0,u[0]),r("updatedProductList",d)},r=o;return(a,d)=>(S(),E("div",u0t,[f("div",d0t,[(S(!0),E(Lt,null,ge(e.productList,(u,c)=>(S(),st(l0t,{key:u.InternalProductId,index:c+1,product:u,"data-test":"product-list__item",onRemove:p=>n(u.InternalProductId),onMoveUp:p=>i(c),onMoveDown:p=>s(c)},null,8,["index","product","onRemove","onMoveUp","onMoveDown"]))),128))])]))}});const Qg=mt(m0t,[["__scopeId","data-v-1906e819"]]),c0t={class:"bootstrap-styles fw-bold mb-5"},f0t={class:"bootstrap-styles container-fluid mb-8"},p0t={class:"bootstrap-styles position-relative"},C0t={key:1,class:"bootstrap-styles border border-1 rounded bg-blue-selected py-5 px-3 d-flex justify-content-center align-items-center border-blue-selected mb-8 algorithm-description"},h0t={class:"bootstrap-styles me-3"},g0t={class:"bootstrap-styles container-fluid mb-5"},F0t=lt({__name:"ProductListShelfBuilder",props:{deps:{},productListShelf:{}},emits:["updatedProductListShelf","cancel"],setup(t,{emit:o}){const e=t,n=Et({productListComposerModalWindowIsShown:!1,productList:[],stockIdList:[],isProductListLoaded:!1,isStockLoaded:!1}),s=(r,a)=>{n.isProductListLoaded=!1,e.deps.getProductsByIDs(r,a).then(d=>{n.productList=d,n.isProductListLoaded=!0})};s(e.productListShelf.ProductInternalIDs,e.productListShelf.StockSource),e.deps.getAllStockIds().then(r=>{n.stockIdList=r,n.isStockLoaded=!0});const i=o;return(r,a)=>(S(),E(Lt,null,[P(Jn,{class:at(["bootstrap-styles position-absolute top-50 start-50",{invisible:n.isStockLoaded}])},null,8,["class"]),f("div",{class:at(["bootstrap-styles container-fluid px-11 mt-8",{invisible:!n.isStockLoaded}])},[f("label",c0t,k(T(_)("productShelfBuilderComponent.productShelfBuilders.stockLabel")),1),f("div",f0t,[P(ts,{stockIdList:n.stockIdList,stockSource:e.productListShelf.StockSource,onOnStockSourceUpdated:a[0]||(a[0]=d=>{i("updatedProductListShelf",{...e.productListShelf,StockSource:d}),s(e.productListShelf.ProductInternalIDs,d)})},null,8,["stockIdList","stockSource"])]),f("div",p0t,[P(Jn,{class:at(["bootstrap-styles position-absolute top-50 start-50",{invisible:n.isProductListLoaded}])},null,8,["class"]),n.productList.length>0?(S(),st(Qg,{key:0,class:at({"mb-8":n.productList.length,invisible:!n.isProductListLoaded}),productList:n.productList,onUpdatedProductList:a[1]||(a[1]=d=>{n.productList=d,i("updatedProductListShelf",{...e.productListShelf,ProductInternalIDs:d.map(u=>u.InternalProductId)})})},null,8,["class","productList"])):(S(),E("div",C0t,[f("div",h0t,[f("i",null,[P(ur)])]),Ot(f("div",null,null,512),[[T(Ai),T(_)("productShelfBuilderComponent.productShelfBuilders.productListDescription")]])]))]),f("div",g0t,[f("button",{class:"bootstrap-styles button__hover-blue-100 d-flex justify-content-center align-items-center text-color-selected border rounded-2 bg-blue-selected border-blue-selected w-100 py-1 px-3",onClick:a[2]||(a[2]=d=>n.productListComposerModalWindowIsShown=!0)},k(T(_)("productShelfBuilderComponent.productShelfBuilders.productsSelectButton")),1)]),P(qr,{productsAtLeast:e.productListShelf.AtLeast,productsLimit:e.productListShelf.Limit,"onUpdate:productsAtLeast":a[3]||(a[3]=d=>i("updatedProductListShelf",{...e.productListShelf,AtLeast:d})),"onUpdate:productsLimit":a[4]||(a[4]=d=>i("updatedProductListShelf",{...e.productListShelf,Limit:d}))},null,8,["productsAtLeast","productsLimit"])],2),(S(),st(lo,{to:"#app"},[n.productListComposerModalWindowIsShown?(S(),st(Xg,{key:0,deps:e.deps.productListComposerModalWindowDeps,internalIProductDs:e.productListShelf.ProductInternalIDs,stockSource:e.productListShelf.StockSource,onApply:a[5]||(a[5]=d=>{n.productListComposerModalWindowIsShown=!1,i("updatedProductListShelf",{...e.productListShelf,ProductInternalIDs:d}),s(d,e.productListShelf.StockSource)}),onCancel:a[6]||(a[6]=()=>n.productListComposerModalWindowIsShown=!1)},null,8,["deps","internalIProductDs","stockSource"])):St("",!0)]))],64))}});const y0t=mt(F0t,[["__scopeId","data-v-c6314696"]]),S0t={class:"bootstrap-styles fw-bold mb-5"},b0t={class:"bootstrap-styles container-fluid mb-8"},T0t={class:"bootstrap-styles position-relative"},B0t={key:1,class:"bootstrap-styles container-fluid g-0 mb-8"},V0t={class:"bootstrap-styles border border-1 rounded bg-blue-selected py-5 px-3 d-flex justify-content-between align-items-center border-blue-selected algorithm-description"},L0t={class:"bootstrap-styles me-3"},D0t={class:"bootstrap-styles container-fluid mb-5"},v0t=lt({__name:"RelatedProductListShelfBuilder",props:{deps:{},relatedProductListShelf:{}},emits:["updatedRelatedProductListShelf","cancel"],setup(t,{emit:o}){const e=t,n=Et({isProductListComposerModalWindowShown:!1,productList:[],stockIdList:[],isProductListLoaded:!1,isStockLoaded:!1}),s=(r,a)=>{n.isProductListLoaded=!1,e.deps.getProductsByIDs(r,a).then(d=>{n.productList=d,n.isProductListLoaded=!0})};s(e.relatedProductListShelf.ProductInternalIDs,e.relatedProductListShelf.StockSource),e.deps.getAllStockIds().then(r=>{n.stockIdList=r,n.isStockLoaded=!0});const i=o;return(r,a)=>(S(),E(Lt,null,[P(Jn,{class:at(["bootstrap-styles position-absolute top-50 start-50",{invisible:n.isStockLoaded}])},null,8,["class"]),f("div",{class:at(["bootstrap-styles container-fluid px-11 mt-8",{invisible:!n.isStockLoaded}])},[f("label",S0t,k(T(_)("productShelfBuilderComponent.productShelfBuilders.stockLabel")),1),f("div",b0t,[P(ts,{stockIdList:n.stockIdList,stockSource:e.relatedProductListShelf.StockSource,onOnStockSourceUpdated:a[0]||(a[0]=d=>{i("updatedRelatedProductListShelf",{...e.relatedProductListShelf,StockSource:d}),s(e.relatedProductListShelf.ProductInternalIDs,d)})},null,8,["stockIdList","stockSource"])]),f("div",T0t,[P(Jn,{class:at(["bootstrap-styles position-absolute top-50 start-50",{invisible:n.isProductListLoaded}])},null,8,["class"]),n.productList.length>0?(S(),st(Qg,{key:0,class:at({"mb-8":n.productList.length,invisible:!n.isProductListLoaded}),productList:n.productList,onUpdatedProductList:a[1]||(a[1]=d=>{n.productList=d,i("updatedRelatedProductListShelf",{...e.relatedProductListShelf,ProductInternalIDs:d.map(u=>u.InternalProductId)})})},null,8,["class","productList"])):(S(),E("div",B0t,[f("div",V0t,[f("div",L0t,[f("i",null,[P(ur)])]),Ot(f("div",null,null,512),[[T(Ai),T(_)("productShelfBuilderComponent.productShelfBuilders.relatedProductListDescription")]])])]))]),f("div",D0t,[f("button",{class:"bootstrap-styles button__hover-blue-100 d-flex justify-content-center align-items-center text-color-selected border rounded-2 bg-blue-selected border-blue-selected w-100 py-1 px-3",onClick:a[2]||(a[2]=d=>n.isProductListComposerModalWindowShown=!0)},k(T(_)("productShelfBuilderComponent.productShelfBuilders.productsSelectButton")),1)]),P(qr,{productsAtLeast:e.relatedProductListShelf.AtLeast,productsLimit:e.relatedProductListShelf.Limit,"onUpdate:productsAtLeast":a[3]||(a[3]=d=>i("updatedRelatedProductListShelf",{...e.relatedProductListShelf,AtLeast:d})),"onUpdate:productsLimit":a[4]||(a[4]=d=>i("updatedRelatedProductListShelf",{...e.relatedProductListShelf,Limit:d}))},null,8,["productsAtLeast","productsLimit"])],2),(S(),st(lo,{to:"#app"},[n.isProductListComposerModalWindowShown?(S(),st(Xg,{key:0,deps:e.deps.productListComposerModalWindowDeps,internalIProductDs:e.relatedProductListShelf.ProductInternalIDs,stockSource:e.relatedProductListShelf.StockSource,onApply:a[5]||(a[5]=d=>{n.isProductListComposerModalWindowShown=!1,i("updatedRelatedProductListShelf",{...e.relatedProductListShelf,ProductInternalIDs:d}),s(d,e.relatedProductListShelf.StockSource)}),onCancel:a[6]||(a[6]=()=>n.isProductListComposerModalWindowShown=!1)},null,8,["deps","internalIProductDs","stockSource"])):St("",!0)]))],64))}});const R0t=mt(v0t,[["__scopeId","data-v-55cda6b9"]]),x0t={class:"bootstrap-styles d-flex justify-content-center align-items-center py-7 h-100 overflow-hidden"},_0t={class:"bootstrap-styles empty-product-list d-flex flex-column justify-content-center align-items-center"},I0t={class:"bootstrap-styles text-gray-600 p-3"},E0t=lt({__name:"EmptySearchCategoryList",setup(t){return(o,e)=>(S(),E("div",x0t,[f("div",_0t,[e[0]||(e[0]=ar('<div class="bootstrap-styles"><i><svg width="29" height="145" viewBox="0 0 29 145" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1.34301 0.806801C1.39524 0.535643 1.65739 0.358164 1.92855 0.410391L6.34733 1.26148C6.61849 1.31371 6.79597 1.57587 6.74374 1.84702C6.69152 2.11818 6.42936 2.29566 6.1582 2.24343L2.23039 1.48691L1.47387 5.41472C1.42164 5.68587 1.15949 5.86335 0.888327 5.81113C0.617168 5.7589 0.439689 5.49674 0.491917 5.22558L1.34301 0.806801ZM2.24802 0.621063C15.8989 20.785 26.0105 46.9369 28.2169 72.9399C30.4235 98.9456 24.7247 124.849 6.69023 144.437L5.95455 143.76C23.7465 124.435 29.4109 98.8391 27.2205 73.0245C25.0298 47.2071 14.9839 21.2171 1.41994 1.18167L2.24802 0.621063Z" fill="url(#paint0_linear_2569_17987)"></path><defs><linearGradient id="paint0_linear_2569_17987" x1="1.71323" y1="0.434833" x2="8.14345" y2="145.179" gradientUnits="userSpaceOnUse"><stop stop-color="#ADB2B8"></stop><stop offset="1" stop-color="#DBE1E8" stop-opacity="0"></stop></linearGradient></defs></svg></i></div>',1)),f("div",I0t,k(T(_)("categoryListComposerModalWindow.emptySearchCategoryListText")),1)])]))}}),P0t={class:"bootstrap-styles container-fluid category-list-item"},N0t={class:"bootstrap-styles row g-0 py-1"},w0t={class:"bootstrap-styles col-11"},A0t={class:"bootstrap-styles h-100 d-flex flex-column align-items-start justify-content-center"},W0t={class:"bootstrap-styles d-flex justify-content-start align-items-center mb-1"},k0t={class:"bootstrap-styles fw-bold me-1"},M0t={class:"bootstrap-styles text-gray-600"},O0t={class:"bootstrap-styles"},H0t={class:"bootstrap-styles col-1"},$0t={class:"bootstrap-styles w-100 h-100 d-flex justify-content-end align-items-center pe-14"},U0t=lt({__name:"SearchedCategoryListItem",props:{category:{}},emits:["addSearchedCategory"],setup(t,{emit:o}){const e=t,n=o;return(s,i)=>(S(),E("div",P0t,[f("div",N0t,[f("div",w0t,[f("div",A0t,[f("div",W0t,[f("div",k0t,k(e.category.Name),1),f("div",M0t,[i[1]||(i[1]=f("span",{class:"bootstrap-styles me-14"},"ID",-1)),f("span",null,k(e.category.CategoryId),1)])]),f("div",O0t,k(e.category.Path),1)])]),f("div",H0t,[f("div",$0t,[f("button",{onClick:i[0]||(i[0]=r=>n("addSearchedCategory"))},[f("i",null,[P(MR)])])])])])]))}});const j0t=mt(U0t,[["__scopeId","data-v-3de1bdba"]]),z0t={key:0,class:"bootstrap-styles d-flex flex-column scrollable"},G0t=lt({__name:"SearchedCategoryList",props:{searchedCategoryList:{}},emits:["addSearchedCategory"],setup(t,{emit:o}){const e=t,n=o;return(s,i)=>e.searchedCategoryList.length?(S(),E("div",z0t,[(S(!0),E(Lt,null,ge(e.searchedCategoryList,(r,a)=>(S(),st(j0t,{key:a,category:r,index:a+1,onAddSearchedCategory:d=>n("addSearchedCategory",r)},null,8,["category","index","onAddSearchedCategory"]))),128))])):(S(),st(E0t,{key:1}))}});const K0t=mt(G0t,[["__scopeId","data-v-07c9e700"]]),Y0t={class:"bootstrap-styles row g-0 mb-7"},Z0t={class:"bootstrap-styles col-8 d-flex justify-content-between align-items-center"},J0t={class:"bootstrap-styles bg-color-input border rounded-2 py-1 px-3 d-flex w-100"},X0t={class:"bootstrap-styles d-flex justify-content-center align-items-center me-1"},Q0t=["placeholder"],q0t={class:"bootstrap-styles ps-1 me-7"},tgt={key:0,class:"bootstrap-styles d-flex justify-content-center align-items-center icon-fill"},egt={class:"bootstrap-styles col-4"},ogt={class:"bootstrap-styles d-flex justify-content-center align-items-center me-1 icon-stroke"},ngt=lt({__name:"CategorySearchBar",props:{isButtonAddAllEnable:{type:Boolean},isLoaded:{type:Boolean}},emits:["search","addAllFoundCategories"],setup(t,{emit:o}){const e=t,n=Et({phrase:""}),s=()=>{n.phrase.length&&i("search",n.phrase)},i=o;return(r,a)=>(S(),E("div",Y0t,[f("div",Z0t,[f("div",J0t,[f("i",X0t,[P(WR)]),f("form",{class:"bootstrap-styles w-100 search-form",onSubmit:De(s,["prevent"])},[Ot(f("input",{"onUpdate:modelValue":a[0]||(a[0]=d=>n.phrase=d),type:"text",class:"bootstrap-styles w-100",placeholder:T(_)("categoryListComposerModalWindow.searchInputPlaceholder"),required:""},null,8,Q0t),[[Pn,n.phrase]])],32),Ot(f("button",{class:"bootstrap-styles px-14",onClick:a[1]||(a[1]=d=>n.phrase="")},a[3]||(a[3]=[f("i",{class:"bootstrap-styles d-flex justify-content-center align-items-center icon-hover-stroke"},[f("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 16 16",fill:"none"},[f("path",{d:"M3 3L13 13",stroke:"var(--gray-500)"}),f("path",{d:"M13 3L3 13",stroke:"var(--gray-500)"})])],-1)]),512),[[Pa,n.phrase.length>0]])]),f("div",q0t,[f("button",{class:at([{"button__active-700":n.phrase.length,button__locked:!e.isLoaded||!n.phrase.length},"bootstrap-styles d-flex justify-content-center align-items-center py-1 px-3 rounded-2 button__disabled-700"]),onClick:s},[e.isLoaded?(S(),E("i",tgt,[P(kR)])):(S(),st(lr,{key:1}))],2)])]),f("div",egt,[f("button",{class:at([{"button__active-100 button__hover-blue-100":e.isButtonAddAllEnable,button__locked:!e.isButtonAddAllEnable},"bootstrap-styles d-flex justify-content-center align-center py-1 px-3 rounded-2 bg-blue-selected button__disabled-100 w-100 me-1"]),onClick:a[2]||(a[2]=()=>i("addAllFoundCategories"))},[f("i",ogt,[P(Yf)]),je(" "+k(T(_)("categoryListComposerModalWindow.transferAllButton")),1)],2)])]))}});const igt=mt(ngt,[["__scopeId","data-v-f8cd85fe"]]),rgt={class:"bootstrap-styles col-6 border-end h-100"},sgt={class:"bootstrap-styles container-fluid g-0 px-11 py-8 d-flex flex-column h-100"},agt={key:1,class:"bootstrap-styles d-flex justify-content-center align-items-center h-100"},lgt=lt({__name:"CategorySearchComponent",props:{deps:{},excluded:{}},emits:["selected"],setup(t,{emit:o}){const e=t,n=a=>a.filter(d=>e.excluded.every(u=>d.CategoryId!==u)),s=Et({isLoaded:!0,foundCategories:[]}),i=Ls.debounce(a=>{if(s.isLoaded=!1,a.split(",").every(u=>!isNaN(Number(u.trim())))){const u=a.split(",").map(Number);e.deps.getCategoriesByIDs(u).then(c=>{s.foundCategories=c,s.isLoaded=!0})}else e.deps.findCategoriesByName(a).then(u=>{s.foundCategories=u,s.isLoaded=!0})},50),r=o;return(a,d)=>(S(),E("div",rgt,[f("div",sgt,[P(igt,{isButtonAddAllEnable:n(s.foundCategories).length>0,isLoaded:s.isLoaded,onAddAllFoundCategories:d[0]||(d[0]=()=>{r("selected",n(s.foundCategories).map(u=>u.CategoryId))}),onSearch:d[1]||(d[1]=u=>T(i)(u))},null,8,["isButtonAddAllEnable","isLoaded"]),s.isLoaded?(S(),st(K0t,{key:0,searchedCategoryList:n(s.foundCategories),onAddSearchedCategory:d[2]||(d[2]=u=>r("selected",[u.CategoryId]))},null,8,["searchedCategoryList"])):(S(),E("div",agt,k(T(_)("categoryListComposerModalWindow.searching")),1))])]))}}),ugt={class:"bootstrap-styles container-fluid category-list-item"},dgt={class:"bootstrap-styles row g-0 py-1"},mgt={class:"bootstrap-styles col-11"},cgt={class:"bootstrap-styles h-100 d-flex flex-column align-items-start justify-content-center"},fgt={class:"bootstrap-styles d-flex justify-content-start align-items-center mb-1"},pgt={class:"bootstrap-styles fw-bold me-1"},Cgt={class:"bootstrap-styles text-gray-600"},hgt={class:"bootstrap-styles"},ggt={class:"bootstrap-styles col-1"},Fgt={class:"bootstrap-styles w-100 h-100 d-flex justify-content-end align-items-center pe-14"},ygt=lt({__name:"SelectedCategoryListItem",props:{category:{}},emits:["remove"],setup(t,{emit:o}){const e=t,n=o;return(s,i)=>(S(),E("div",ugt,[f("div",dgt,[f("div",mgt,[f("div",cgt,[f("div",fgt,[f("div",pgt,k(e.category.Name),1),f("div",Cgt,[i[1]||(i[1]=f("span",{class:"bootstrap-styles me-14"},"ID",-1)),f("span",null,k(e.category.CategoryId),1)])]),f("div",hgt,k(e.category.Path),1)])]),f("div",ggt,[f("div",Fgt,[f("button",{onClick:i[0]||(i[0]=r=>n("remove"))},[f("i",null,[P(np)])])])])])]))}});const Sgt=mt(ygt,[["__scopeId","data-v-0205956d"]]),bgt={class:"bootstrap-styles d-flex flex-column scrollable"},Tgt=lt({__name:"SelectedCategoryList",props:{selectedCategoryList:{}},emits:["remove"],setup(t,{emit:o}){const e=t,n=o;return(s,i)=>(S(),E("div",bgt,[(S(!0),E(Lt,null,ge(e.selectedCategoryList,(r,a)=>(S(),st(Sgt,{key:a,category:r,index:a+1,onRemove:d=>n("remove",r.CategoryId)},null,8,["category","index","onRemove"]))),128))]))}});const Bgt=mt(Tgt,[["__scopeId","data-v-854c6a31"]]),Vgt={class:"bootstrap-styles container-fluid g-0 h-100 empty-product-list"},Lgt={class:"bootstrap-styles d-flex flex-column justify-content-center align-items-center h-100"},Dgt=lt({__name:"EmptyCategoryList",setup(t){return(o,e)=>(S(),E("div",Vgt,[f("div",Lgt,[e[0]||(e[0]=ar('<i class="bootstrap-styles mb-5"><svg width="100" height="101" viewBox="0 0 100 101" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M17.5703 20.5264C17.5703 13.8057 23.0186 8.35742 29.7393 8.35742H63.4097L82.2847 26.6932V80.8564C82.2847 87.5771 76.8364 93.0254 70.1157 93.0254H29.7393C23.0186 93.0254 17.5703 87.5771 17.5703 80.8564V20.5264Z" fill="#E3E9FC"></path><path d="M69.3144 26.6934H82.1895L63.3144 8.35762V20.6934C63.3144 24.0071 66.0007 26.6934 69.3144 26.6934Z" fill="#A5B4E3"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M49.9997 44.0713C49.2107 44.0713 48.5711 44.7109 48.5711 45.4999V50.4999H43.5711C42.7822 50.4999 42.1426 51.1395 42.1426 51.9284C42.1426 52.7174 42.7822 53.357 43.5711 53.357H48.5711V58.357C48.5711 59.146 49.2107 59.7856 49.9997 59.7856C50.7887 59.7856 51.4283 59.146 51.4283 58.357V53.357H56.4283C57.2173 53.357 57.8569 52.7174 57.8569 51.9284C57.8569 51.1395 57.2173 50.4999 56.4283 50.4999H51.4283V45.4999C51.4283 44.7109 50.7887 44.0713 49.9997 44.0713Z" fill="#A5B4E3"></path></svg></i>',1)),f("div",null,k(T(_)("categoryListComposerModalWindow.emptySelectedCategoryListText")),1)])]))}}),vgt={class:"bootstrap-styles col-6 h-100"},Rgt={key:0,class:"bootstrap-styles container-fluid g-0 px-11 py-9 d-flex flex-column h-100"},xgt={class:"bootstrap-styles mb-7 mt-1"},_gt={class:"bootstrap-styles d-flex justify-content-between align-items-center"},Igt={class:"bootstrap-styles fw-bold mb-0"},Egt={class:"bootstrap-styles text-gray-600"},Pgt={key:1,class:"bootstrap-styles d-flex justify-content-center align-items-center h-100"},Ngt=lt({__name:"SelectCategoryComponent",props:{deps:{},categoryIdList:{}},emits:["remove"],setup(t,{emit:o}){const e=t,n=Et({isLoaded:!0,categoryList:[]});Jl(()=>{n.isLoaded=!1,e.deps.getCategoriesByIDs(e.categoryIdList).then(i=>{n.categoryList=i,n.isLoaded=!0})});const s=o;return(i,r)=>(S(),E("div",vgt,[e.categoryIdList.length?(S(),E("div",Rgt,[f("div",xgt,[f("div",_gt,[f("h6",Igt,k(T(_)("categoryListComposerModalWindow.selectedCategoryListTitleText")),1),f("div",Egt,k(e.categoryIdList.length)+" "+k(T(OR)({number:e.categoryIdList.length,titles:{one:T(_)("categoryListComposerModalWindow.selectedCategoryListDeclensions.one"),few:T(_)("categoryListComposerModalWindow.selectedCategoryListDeclensions.few"),many:T(_)("categoryListComposerModalWindow.selectedCategoryListDeclensions.many")}})),1)])]),n.isLoaded?(S(),st(Bgt,{key:0,selectedCategoryList:n.categoryList,onRemove:r[0]||(r[0]=a=>s("remove",a))},null,8,["selectedCategoryList"])):(S(),E("div",Pgt,k(T(_)("categoryListComposerModalWindow.loading")),1))])):(S(),st(Dgt,{key:1}))]))}}),wgt={class:"bootstrap-styles container-fluid g-0 d-flex flex-column category-list-composer-modal-window__body"},Agt={class:"bootstrap-styles row g-0 flex-grow-1 h-100 d-flex"},Wgt=lt({__name:"CategoryListComposerModalWindow",props:{deps:{},categoryIdList:{}},emits:["cancel","apply"],setup(t,{emit:o}){const e=t,n=Et({selectedCategoryIdList:[...e.categoryIdList]}),s=()=>{i("cancel")},i=o;return(r,a)=>(S(),st(yn,{class:"category-list-composer-modal-window",headerText:T(_)("categoryListComposerModalWindow.title"),onClose:a[4]||(a[4]=()=>s())},{body:le(()=>[f("div",wgt,[f("div",Agt,[P(lgt,{deps:e.deps.categorySearchComponentDeps,excluded:n.selectedCategoryIdList,onSelected:a[0]||(a[0]=d=>{n.selectedCategoryIdList=[...n.selectedCategoryIdList,...d]})},null,8,["deps","excluded"]),P(Ngt,{deps:e.deps.selectCategoryComponentDeps,categoryIdList:n.selectedCategoryIdList,onRemove:a[1]||(a[1]=d=>{n.selectedCategoryIdList=n.selectedCategoryIdList.filter(u=>u!==d)})},null,8,["deps","categoryIdList"])])])]),"footer-actions":le(()=>[f("button",{class:"modal-footer__button bootstrap-styles d-flex justify-content-center align-center py-1 px-3 me-3 rounded-2 bg-blue-selected button__hover-blue-100 text-color-selected",onClick:a[2]||(a[2]=De(d=>s(),["stop"]))},k(T(_)("categoryListComposerModalWindow.cancelButton")),1),f("button",{class:"modal-footer__button bootstrap-styles d-flex justify-content-center align-center py-1 px-3 rounded-2 bg-color-selected text-white cursor-pointer button__hover-blue-400",onClick:a[3]||(a[3]=De(d=>i("apply",n.selectedCategoryIdList),["stop"]))},k(T(_)("categoryListComposerModalWindow.applyButton")),1)]),_:1},8,["headerText"]))}});const kgt=mt(Wgt,[["__scopeId","data-v-62049c68"]]),Mgt={class:"bootstrap-styles container-fluid category-list-item"},Ogt={class:"bootstrap-styles row g-0 py-1"},Hgt={class:"bootstrap-styles col-11"},$gt={class:"bootstrap-styles h-100 d-flex flex-column align-items-start justify-content-center"},Ugt={class:"bootstrap-styles d-flex justify-content-start align-items-center mb-1"},jgt={class:"bootstrap-styles fw-bold me-1"},zgt={class:"bootstrap-styles text-gray-600"},Ggt={class:"bootstrap-styles"},Kgt={class:"bootstrap-styles col-1"},Ygt={class:"bootstrap-styles w-100 h-100 d-flex justify-content-end align-items-center pe-14"},Zgt=lt({__name:"CategoryListItem",props:{category:{}},emits:["removeItem"],setup(t,{emit:o}){const e=t,n=o;return(s,i)=>(S(),E("div",Mgt,[f("div",Ogt,[f("div",Hgt,[f("div",$gt,[f("div",Ugt,[f("div",jgt,k(e.category.Name),1),f("div",zgt,[i[1]||(i[1]=f("span",{class:"bootstrap-styles me-14"},"ID",-1)),f("span",null,k(e.category.CategoryId),1)])]),f("div",Ggt,k(e.category.Path),1)])]),f("div",Kgt,[f("div",Ygt,[f("button",{onClick:i[0]||(i[0]=r=>n("removeItem"))},[f("i",null,[P(np)])])])])])]))}});const Jgt=mt(Zgt,[["__scopeId","data-v-867dfd55"]]),Xgt={class:"bootstrap-styles container-fluid scrollable"},Qgt={class:"bootstrap-styles d-flex flex-column"},qgt=lt({__name:"CategoryList",props:{categoryList:{}},emits:["updatedCategoryList"],setup(t,{emit:o}){const e=t,n=i=>{const r=e.categoryList.filter(a=>a.CategoryId!==i);s("updatedCategoryList",r)},s=o;return(i,r)=>(S(),E("div",Xgt,[f("div",Qgt,[(S(!0),E(Lt,null,ge(e.categoryList,(a,d)=>(S(),st(Jgt,{key:d,category:a,onRemoveItem:u=>n(a.CategoryId)},null,8,["category","onRemoveItem"]))),128))])]))}});const tFt=mt(qgt,[["__scopeId","data-v-51b77cb1"]]),eFt={class:"bootstrap-styles fw-bold mb-5"},oFt={class:"bootstrap-styles container-fluid mb-8"},nFt={class:"bootstrap-styles position-relative"},iFt={key:1,class:"bootstrap-styles border border-1 rounded bg-blue-selected py-5 px-3 d-flex justify-content-center align-items-center border-blue-selected mb-8 algorithm-description"},rFt={class:"bootstrap-styles me-3"},sFt={class:"bootstrap-styles container-fluid mb-5"},aFt=lt({__name:"PopularFromCategoryListShelfBuilder",props:{deps:{},popularFromCategoryListShelf:{}},emits:["updatedPopularFromCategoryListShelf","cancel"],setup(t,{emit:o}){const e=t,n=Et({isCategoryListComposerModalWindowShown:!1,categoryList:[],stockIdList:[],isCategoryListLoaded:!1,isStockLoaded:!1}),s=r=>{n.isCategoryListLoaded=!1,e.deps.getCategoriesByIDs(r).then(a=>{n.categoryList=a,n.isCategoryListLoaded=!0})};s(e.popularFromCategoryListShelf.CategoryIdList),e.deps.getAllStockIds().then(r=>{n.stockIdList=r,n.isStockLoaded=!0});const i=o;return(r,a)=>(S(),E(Lt,null,[P(Jn,{class:at(["bootstrap-styles position-absolute top-50 start-50",{invisible:n.isStockLoaded}])},null,8,["class"]),f("div",{class:at(["bootstrap-styles container-fluid px-11 mt-8",{invisible:!n.isStockLoaded}])},[f("label",eFt,k(T(_)("productShelfBuilderComponent.productShelfBuilders.stockLabel")),1),f("div",oFt,[P(ts,{stockIdList:n.stockIdList,stockSource:e.popularFromCategoryListShelf.StockSource,onOnStockSourceUpdated:a[0]||(a[0]=d=>{i("updatedPopularFromCategoryListShelf",{...e.popularFromCategoryListShelf,StockSource:d})})},null,8,["stockIdList","stockSource"])]),f("div",nFt,[P(Jn,{class:at(["bootstrap-styles position-absolute top-50 start-50",{invisible:n.isCategoryListLoaded}])},null,8,["class"]),n.categoryList.length>0?(S(),st(tFt,{key:0,class:at({"mb-8":n.categoryList.length,invisible:!n.isCategoryListLoaded}),categoryList:n.categoryList,onUpdatedCategoryList:a[1]||(a[1]=d=>{n.categoryList=d,i("updatedPopularFromCategoryListShelf",{...e.popularFromCategoryListShelf,CategoryIdList:d.map(u=>u.CategoryId)})})},null,8,["class","categoryList"])):(S(),E("div",iFt,[f("div",rFt,[f("i",null,[P(ur)])]),Ot(f("div",null,null,512),[[T(Ai),T(_)("productShelfBuilderComponent.productShelfBuilders.popularFromCategoryListDescription")]])]))]),f("div",sFt,[f("button",{class:"bootstrap-styles button__hover-blue-100 d-flex justify-content-center align-items-center text-color-selected border rounded-2 bg-blue-selected border-blue-selected w-100 py-1 px-3",onClick:a[2]||(a[2]=d=>n.isCategoryListComposerModalWindowShown=!0)},k(T(_)("productShelfBuilderComponent.productShelfBuilders.categorySelectButton")),1)]),P(qr,{productsAtLeast:e.popularFromCategoryListShelf.AtLeast,productsLimit:e.popularFromCategoryListShelf.Limit,"onUpdate:productsAtLeast":a[3]||(a[3]=d=>i("updatedPopularFromCategoryListShelf",{...e.popularFromCategoryListShelf,AtLeast:d})),"onUpdate:productsLimit":a[4]||(a[4]=d=>i("updatedPopularFromCategoryListShelf",{...e.popularFromCategoryListShelf,Limit:d}))},null,8,["productsAtLeast","productsLimit"])],2),(S(),st(lo,{to:"#app"},[n.isCategoryListComposerModalWindowShown?(S(),st(kgt,{key:0,deps:e.deps.categoryListComposerModalWindowDeps,categoryIdList:e.popularFromCategoryListShelf.CategoryIdList,onApply:a[5]||(a[5]=d=>{n.isCategoryListComposerModalWindowShown=!1,i("updatedPopularFromCategoryListShelf",{...e.popularFromCategoryListShelf,CategoryIdList:d}),s(d)}),onCancel:a[6]||(a[6]=()=>n.isCategoryListComposerModalWindowShown=!1)},null,8,["deps","categoryIdList"])):St("",!0)]))],64))}});const lFt=mt(aFt,[["__scopeId","data-v-1f890ba1"]]),uFt={class:"bootstrap-styles fw-bold mb-5"},dFt={class:"bootstrap-styles container-fluid mb-8"},mFt={class:"bootstrap-styles position-relative"},cFt={key:1,class:"bootstrap-styles container-fluid g-0 mb-8"},fFt={class:"bootstrap-styles border border-1 rounded bg-blue-selected py-5 px-3 d-flex justify-content-between align-items-center border-blue-selected algorithm-description"},pFt={class:"bootstrap-styles me-3"},CFt={class:"bootstrap-styles container-fluid mb-5"},hFt=lt({__name:"AlternativeProductListShelfBuilder",props:{deps:{},alternativeProductListShelf:{}},emits:["updatedAlternativeProductListShelf","cancel"],setup(t,{emit:o}){const e=t,n=Et({isProductListComposerModalWindowShown:!1,productList:[],stockIdList:[],isProductListLoaded:!1,isStockLoaded:!1}),s=(r,a)=>{n.isProductListLoaded=!1,e.deps.getProductsByIDs(r,a).then(d=>{n.productList=d,n.isProductListLoaded=!0})};s(e.alternativeProductListShelf.ProductInternalIDs,e.alternativeProductListShelf.StockSource),e.deps.getAllStockIds().then(r=>{n.stockIdList=r,n.isStockLoaded=!0});const i=o;return(r,a)=>(S(),E(Lt,null,[P(Jn,{class:at(["bootstrap-styles position-absolute top-50 start-50",{invisible:n.isStockLoaded}])},null,8,["class"]),f("div",{class:at(["bootstrap-styles container-fluid px-11 mt-8",{invisible:!n.isStockLoaded}])},[f("label",uFt,k(T(_)("productShelfBuilderComponent.productShelfBuilders.stockLabel")),1),f("div",dFt,[P(ts,{stockIdList:n.stockIdList,stockSource:e.alternativeProductListShelf.StockSource,onOnStockSourceUpdated:a[0]||(a[0]=d=>{i("updatedAlternativeProductListShelf",{...e.alternativeProductListShelf,StockSource:d}),s(e.alternativeProductListShelf.ProductInternalIDs,d)})},null,8,["stockIdList","stockSource"])]),f("div",mFt,[P(Jn,{class:at(["bootstrap-styles position-absolute top-50 start-50",{invisible:n.isProductListLoaded}])},null,8,["class"]),n.productList.length>0?(S(),st(Qg,{key:0,class:at({"mb-8":n.productList.length,invisible:!n.isProductListLoaded}),productList:n.productList,onUpdatedProductList:a[1]||(a[1]=d=>{n.productList=d,i("updatedAlternativeProductListShelf",{...e.alternativeProductListShelf,ProductInternalIDs:d.map(u=>u.InternalProductId)})})},null,8,["class","productList"])):(S(),E("div",cFt,[f("div",fFt,[f("div",pFt,[f("i",null,[P(ur)])]),Ot(f("div",null,null,512),[[T(Ai),T(_)("productShelfBuilderComponent.productShelfBuilders.alternativeProductListDescription")]])])]))]),f("div",CFt,[f("button",{class:"bootstrap-styles button__hover-blue-100 d-flex justify-content-center align-items-center text-color-selected border rounded-2 bg-blue-selected border-blue-selected w-100 py-1 px-3",onClick:a[2]||(a[2]=d=>n.isProductListComposerModalWindowShown=!0)},k(T(_)("productShelfBuilderComponent.productShelfBuilders.productsSelectButton")),1)]),P(qr,{productsAtLeast:e.alternativeProductListShelf.AtLeast,productsLimit:e.alternativeProductListShelf.Limit,"onUpdate:productsAtLeast":a[3]||(a[3]=d=>i("updatedAlternativeProductListShelf",{...e.alternativeProductListShelf,AtLeast:d})),"onUpdate:productsLimit":a[4]||(a[4]=d=>i("updatedAlternativeProductListShelf",{...e.alternativeProductListShelf,Limit:d}))},null,8,["productsAtLeast","productsLimit"])],2),(S(),st(lo,{to:"#app"},[n.isProductListComposerModalWindowShown?(S(),st(Xg,{key:0,deps:e.deps.productListComposerModalWindowDeps,internalIProductDs:e.alternativeProductListShelf.ProductInternalIDs,stockSource:e.alternativeProductListShelf.StockSource,onApply:a[5]||(a[5]=d=>{n.isProductListComposerModalWindowShown=!1,i("updatedAlternativeProductListShelf",{...e.alternativeProductListShelf,ProductInternalIDs:d}),s(d,e.alternativeProductListShelf.StockSource)}),onCancel:a[6]||(a[6]=()=>n.isProductListComposerModalWindowShown=!1)},null,8,["deps","internalIProductDs","stockSource"])):St("",!0)]))],64))}});const gFt=mt(hFt,[["__scopeId","data-v-ddb604b3"]]),FFt={class:"bootstrap-styles container-fluid px-11 mt-8"},yFt={class:"bootstrap-styles fw-bold mb-5"},SFt={class:"bootstrap-styles container-fluid mb-8"},bFt={class:"bootstrap-styles border border-1 rounded bg-blue-selected py-5 px-3 d-flex justify-content-center align-items-center border-blue-selected mb-8 algorithm-description"},TFt={class:"bootstrap-styles me-3"},BFt=lt({__name:"NextBestOffer2RecommendationsShelfBuilder",props:{nextBestOffer2RecommendationsShelf:{},deps:{}},emits:["updatedNextBestOffer2RecommendationsShelf","cancel"],setup(t,{emit:o}){const e=t,n=Et({stockIdList:[]});e.deps.getAllStockIds().then(i=>{n.stockIdList=i});const s=o;return(i,r)=>(S(),E("div",FFt,[f("label",yFt,k(T(_)("productShelfBuilderComponent.productShelfBuilders.stockLabel")),1),f("div",SFt,[P(ts,{stockIdList:n.stockIdList,stockSource:e.nextBestOffer2RecommendationsShelf.StockSource,onOnStockSourceUpdated:r[0]||(r[0]=a=>{s("updatedNextBestOffer2RecommendationsShelf",{...e.nextBestOffer2RecommendationsShelf,StockSource:a})})},null,8,["stockIdList","stockSource"])]),f("div",bFt,[f("div",TFt,[f("i",null,[P(ur)])]),f("div",null,k(T(_)("productShelfBuilderComponent.productShelfBuilders.nextBestOffer2RecommendationsDescription")),1)]),P(qr,{productsAtLeast:e.nextBestOffer2RecommendationsShelf.AtLeast,productsLimit:e.nextBestOffer2RecommendationsShelf.Limit,"onUpdate:productsAtLeast":r[1]||(r[1]=a=>s("updatedNextBestOffer2RecommendationsShelf",{...e.nextBestOffer2RecommendationsShelf,AtLeast:a})),"onUpdate:productsLimit":r[2]||(r[2]=a=>s("updatedNextBestOffer2RecommendationsShelf",{...e.nextBestOffer2RecommendationsShelf,Limit:a}))},null,8,["productsAtLeast","productsLimit"])]))}});const VFt=mt(BFt,[["__scopeId","data-v-8491d75a"]]),LFt={class:"bootstrap-styles container-fluid g-0 mt-8"},DFt={class:"bootstrap-styles container-fluid px-11"},vFt={class:"bootstrap-styles fw-bold mb-5"},RFt={class:"bootstrap-styles row g-0"},xFt={class:"bootstrap-styles container-fluid g-0 mb-8"},_Ft=lt({__name:"NextBestOffer2ProductShelfDataSourceExpressionBuilderModal",props:{deps:{},emailComponent:{}},emits:["cancel","apply"],setup(t,{emit:o}){const e=t,n=o,s={NextBestOffer2RecommendationsShelf:{AtLeast:3,Limit:6,StockSource:zi()},ProductListShelf:{ProductInternalIDs:[],AtLeast:3,Limit:6,StockSource:zi()},RelatedProductsForProductListShelf:{ProductInternalIDs:[],AtLeast:3,Limit:6,StockSource:zi()},AlternativeProductsForProductListShelf:{ProductInternalIDs:[],AtLeast:3,Limit:6,StockSource:zi()},PopularProductsInCategoryListShelf:{CategoryIdList:[],Limit:6,AtLeast:1,StockSource:zi()},PopularProductsShelf:{Limit:6,AtLeast:1,StockSource:zi()},LatestProductsShelf:{Limit:6,AtLeast:1,StockSource:zi()},SaleByPopularProductsShelf:{Limit:6,AtLeast:1,StockSource:zi()},SaleByLatestProductsShelf:{Limit:6,AtLeast:1,StockSource:zi()}},i=()=>{var p,h,g;return PR({listExpression:(g=(h=(p=e.emailComponent)==null?void 0:p.ContextBuilderExpression)==null?void 0:h.ProductShelfDataSource)==null?void 0:g.ListExpression,productShelfFactoryFromDataSource:AR}).match({some:y=>({currentKey:gpt(y),model:{...s,...y}}),none:()=>({currentKey:"PopularProductsShelf",model:s})})},r=Et(i()),a=()=>{const p={[r.currentKey]:r.model[r.currentKey]},h=vo(p),g=v=>v.length===0,y=v=>v.length===0,b=v=>v?"Error":"OK";return h.Match({NextBestOffer2RecommendationsShelf:()=>"OK",ProductListShelf:({ProductInternalIDs:v})=>b(g(v)),RelatedProductsForProductListShelf:({ProductInternalIDs:v})=>b(g(v)),AlternativeProductsForProductListShelf:({ProductInternalIDs:v})=>b(g(v)),PopularProductsInCategoryListShelf:({CategoryIdList:v})=>b(y(v)),PopularProductsShelf:()=>"OK",LatestProductsShelf:()=>"OK",SaleByPopularProductsShelf:()=>"OK",SaleByLatestProductsShelf:()=>"OK"})},d={NextBestOffer2RecommendationsShelf:_("productShelfBuilderComponent.listSelector.nextBestOffer2RecommendationsShelf"),ProductListShelf:_("productShelfBuilderComponent.listSelector.productListShelf"),RelatedProductsForProductListShelf:_("productShelfBuilderComponent.listSelector.relatedProductsForProductListShelf"),AlternativeProductsForProductListShelf:_("productShelfBuilderComponent.listSelector.alternativeProductsForProductListShelf"),PopularProductsInCategoryListShelf:_("productShelfBuilderComponent.listSelector.popularProductsInCategoryListShelf"),PopularProductsShelf:_("productShelfBuilderComponent.listSelector.popularProductsShelf"),LatestProductsShelf:_("productShelfBuilderComponent.listSelector.latestProductsShelf"),SaleByLatestProductsShelf:_("productShelfBuilderComponent.listSelector.saleByLatestShelf"),SaleByPopularProductsShelf:_("productShelfBuilderComponent.listSelector.saleByPopularShelf")},u=()=>{r.currentKey=i().currentKey,n("cancel")},c=()=>{n("apply",{...e.emailComponent.ContextBuilderExpression,ProductShelfDataSource:{ListExpression:$pt({[r.currentKey]:r.model[r.currentKey]})}})};return(p,h)=>(S(),st(yn,{class:"mass-mailing-product-shelf-builder-modal-window",headerText:T(_)("productShelfBuilderComponent.title"),onClose:h[12]||(h[12]=g=>u())},{body:le(()=>[f("div",LFt,[f("div",DFt,[f("label",vFt,k(T(_)("productShelfBuilderComponent.algorithmLabel")),1),f("div",RFt,[P(hpt,{currentKey:r.currentKey,list:d,"onUpdate:currentKey":h[0]||(h[0]=g=>r.currentKey=g)},null,8,["currentKey"])])]),f("div",xFt,[r.currentKey=="NextBestOffer2RecommendationsShelf"?(S(),st(VFt,{key:0,nextBestOffer2RecommendationsShelf:r.model.NextBestOffer2RecommendationsShelf,deps:e.deps.NextBestOffer2RecommendationsShelfBuilderDeps,onUpdatedNextBestOffer2RecommendationsShelf:h[1]||(h[1]=g=>r.model={...r.model,NextBestOffer2RecommendationsShelf:g})},null,8,["nextBestOffer2RecommendationsShelf","deps"])):St("",!0),r.currentKey=="ProductListShelf"?(S(),st(y0t,{key:1,deps:e.deps.ProductListShelfBuilderDeps,productListShelf:r.model.ProductListShelf,onUpdatedProductListShelf:h[2]||(h[2]=g=>r.model={...r.model,ProductListShelf:g})},null,8,["deps","productListShelf"])):St("",!0),r.currentKey=="RelatedProductsForProductListShelf"?(S(),st(R0t,{key:2,deps:e.deps.RelatedProductListShelfBuilderDeps,relatedProductListShelf:r.model.RelatedProductsForProductListShelf,onUpdatedRelatedProductListShelf:h[3]||(h[3]=g=>r.model={...r.model,RelatedProductsForProductListShelf:g})},null,8,["deps","relatedProductListShelf"])):St("",!0),r.currentKey=="AlternativeProductsForProductListShelf"?(S(),st(gFt,{key:3,deps:e.deps.AlternativeProductListShelfBuilderDeps,alternativeProductListShelf:r.model.AlternativeProductsForProductListShelf,onUpdatedAlternativeProductListShelf:h[4]||(h[4]=g=>r.model={...r.model,AlternativeProductsForProductListShelf:g})},null,8,["deps","alternativeProductListShelf"])):St("",!0),r.currentKey=="PopularProductsInCategoryListShelf"?(S(),st(lFt,{key:4,deps:e.deps.PopularFromCategoryListShelfBuilderDeps,popularFromCategoryListShelf:r.model.PopularProductsInCategoryListShelf,onUpdatedPopularFromCategoryListShelf:h[5]||(h[5]=g=>r.model={...r.model,PopularProductsInCategoryListShelf:g})},null,8,["deps","popularFromCategoryListShelf"])):St("",!0),r.currentKey=="PopularProductsShelf"?(S(),st(Opt,{key:5,popularProductListShelf:r.model.PopularProductsShelf,deps:e.deps.PopularProductListShelfBuilderDeps,onUpdatedPopularProductListShelf:h[6]||(h[6]=g=>r.model={...r.model,PopularProductsShelf:g})},null,8,["popularProductListShelf","deps"])):St("",!0),r.currentKey=="LatestProductsShelf"?(S(),st(Zpt,{key:6,latestProductListShelf:r.model.LatestProductsShelf,deps:e.deps.LatestProductListShelfBuilderDeps,onUpdatedLatestProductListShelf:h[7]||(h[7]=g=>r.model={...r.model,LatestProductsShelf:g})},null,8,["latestProductListShelf","deps"])):St("",!0),r.currentKey=="SaleByPopularProductsShelf"?(S(),st(oCt,{key:7,saleByPopularProductListShelf:r.model.SaleByPopularProductsShelf,deps:e.deps.SaleByPopularProductListShelfBuilderDeps,onUpdatedSaleByPopularProductListShelf:h[8]||(h[8]=g=>r.model={...r.model,SaleByPopularProductsShelf:g})},null,8,["saleByPopularProductListShelf","deps"])):St("",!0),r.currentKey=="SaleByLatestProductsShelf"?(S(),st(uCt,{key:8,saleByLatestProductListShelf:r.model.SaleByLatestProductsShelf,deps:e.deps.SaleByLatestProductListShelfBuilderDeps,onUpdatedSaleByLatestProductListShelf:h[9]||(h[9]=g=>r.model={...r.model,SaleByLatestProductsShelf:g})},null,8,["saleByLatestProductListShelf","deps"])):St("",!0)])])]),"footer-actions":le(()=>[f("button",{class:"modal-footer__button bootstrap-styles d-flex justify-content-center align-center py-1 px-3 me-3 rounded-2 bg-blue-selected button__hover-blue-100 text-color-selected",onClick:h[10]||(h[10]=De(g=>u(),["stop"]))},k(T(_)("productShelfBuilderComponent.cancelButton")),1),f("button",{class:at([{"disabled cursor-not-allowed":a()==="Error"},"modal-footer__button bootstrap-styles d-flex justify-content-center align-center py-1 px-3 rounded-2 bg-color-selected text-white cursor-pointer button__hover-blue-400"]),onClick:h[11]||(h[11]=De(g=>c(),["stop"]))},k(T(_)("productShelfBuilderComponent.applyButton")),3)]),_:1},8,["headerText"]))}});const IFt=mt(_Ft,[["__scopeId","data-v-15620eba"]]),EFt={key:0},PFt={class:"data-source-container__inner"},NFt=lt({__name:"NextBestOffer2ProductShelfDataSourceExpressionBuilder",props:{deps:{},modelValue:{}},emits:["update:modelValue"],setup(t,{emit:o}){const e=t,n=o,i=Et((()=>{var d,u,c;return PR({listExpression:(c=(u=(d=e.modelValue)==null?void 0:d.ContextBuilderExpression)==null?void 0:u.ProductShelfDataSource)==null?void 0:c.ListExpression,productShelfFactoryFromDataSource:AR}).match({some:()=>({isValidExpression:!0,dataSourceModalIsShown:!1}),none:()=>({isValidExpression:!1,dataSourceModalIsShown:!1})})})()),r=()=>{i.dataSourceModalIsShown=!1},a=d=>{n("update:modelValue",{...e.modelValue,ContextBuilderExpression:d}),i.dataSourceModalIsShown=!1};return(d,u)=>i.isValidExpression?(S(),E("span",EFt,[f("button",{class:"bootstrap-styles bg-white rounded-2 shadow data-source-container",onClick:u[0]||(u[0]=()=>i.dataSourceModalIsShown=!0)},[f("span",PFt,[P(upt)])]),(S(),st(lo,{to:"#app"},[i.dataSourceModalIsShown?(S(),st(IFt,{key:0,deps:e.deps.nextBestOffer2ProductShelfDataSourceExpressionBuilderModalDeps,emailComponent:e.modelValue,onCancel:u[1]||(u[1]=c=>r()),onApply:u[2]||(u[2]=c=>a(c))},null,8,["deps","emailComponent"])):St("",!0)]))])):St("",!0)}}),Aa=t=>({InternalProductId:t.internalProductId,Name:t.name,Description:t.description,Price:t.price,OldPrice:t.oldPrice,PictureUrl:t.pictureUrl,Url:t.url,CategoryIds:[],Vendor:"p.vendor"}),wFt=async t=>(await t.getPopularProductsHttpClient({body:{partnerId:t.partnerId,stockId:t.stockId}})).body.recommendations.map(o=>Aa(o)),hs=t=>NR(t.stockSource).Match({CustomerStockId:()=>t.customerStockId,DefaultStoreStockId:()=>{},SpecificStockId:o=>o.Value}),HR=t=>({InternalProductId:t.internalId,Name:t.name,Description:t.description,Url:t.url,Price:t.price,OldPrice:t.oldPrice,PictureUrl:t.pictureUrl,CategoryIds:[],Vendor:"p.vendor"}),AFt=async t=>(await t.getProductsByIDsHttpClient({body:{partnerId:t.partnerId,internalProductIds:t.productIDs.concat([]),stockId:t.stockId}})).body.products.map(o=>HR(o)),WFt=async t=>(await t.getRelatedProducts({body:{partnerId:t.partnerId,internalProductIds:t.productIDs.concat([]),stockId:t.stockId}})).body.recommendations.map(o=>Aa(o)),kFt=async t=>(await t.getAlternativeProductsHttpClient({body:{partnerId:t.partnerId,internalProductIds:t.productIDs.concat([]),stockId:t.stockId}})).body.recommendations.map(o=>Aa(o)),MFt=async t=>(await t.getPopularProductsInCategoriesHttpClient({body:{partnerId:t.partnerId,categoryIds:t.categoryIds.concat([]),stockId:t.stockId}})).body.recommendations.map(o=>Aa(o)),OFt=async t=>(await t.getLatestProductsHttpClient({body:{partnerId:t.partnerId,stockId:t.stockId}})).body.recommendations.map(o=>Aa(o)),HFt=async t=>(await t.getSaleByPopularProductsHttpClient({body:{partnerId:t.partnerId,stockId:t.stockId}})).body.recommendations.map(o=>Aa(o)),$Ft=async t=>(await t.getSaleByLatestProductsHttpClient({body:{partnerId:t.partnerId,stockId:t.stockId}})).body.recommendations.map(o=>Aa(o)),UFt=async t=>(await t.getSampleProductsForPreviewHttpClient({body:{partnerId:t.partnerId,stockId:t.stockId}})).body.products.map(o=>HR(o)),jFt=t=>{let o={};return e=>wR(e).Match({NextBestOffer2Recommendations:({StockSource:n})=>UFt({partnerId:t.partnerId,stockId:hs({stockSource:n,customerStockId:t.customerStockId}),getSampleProductsForPreviewHttpClient:t.listExpressionDataSourceBffClient.postGetSampleProductsForPreview}),ProductList:({ProductIds:n,StockSource:s})=>AFt({partnerId:t.partnerId,productIDs:n,stockId:hs({stockSource:s,customerStockId:t.customerStockId}),productCache:o,getProductsByIDsHttpClient:t.listExpressionDataSourceBffClient.postGetProductsByIds}),RelatedProductsFor:({ProductIds:n,StockSource:s})=>{var i;return WFt({partnerId:t.partnerId,productIDs:n,stockId:((i=s.SpecificStockId)==null?void 0:i.Value)??void 0,getRelatedProducts:t.listExpressionDataSourceBffClient.postGetRelatedRecommendations})},AlternativeProductsFor:({ProductIds:n,StockSource:s})=>kFt({partnerId:t.partnerId,productIDs:n,stockId:hs({stockSource:s,customerStockId:t.customerStockId}),getAlternativeProductsHttpClient:t.listExpressionDataSourceBffClient.postGetAlternativeRecommendations}),PopularProductsInCategories:({CategoryIds:n,StockSource:s})=>MFt({partnerId:t.partnerId,categoryIds:n,stockId:hs({stockSource:s,customerStockId:t.customerStockId}),getPopularProductsInCategoriesHttpClient:t.listExpressionDataSourceBffClient.postGetPopularInCategoriesRecommendations}),Popular:({StockSource:n})=>wFt({partnerId:t.partnerId,stockId:hs({stockSource:n,customerStockId:t.customerStockId}),getPopularProductsHttpClient:t.listExpressionDataSourceBffClient.postGetPopularRecommendations}),Latest:({StockSource:n})=>OFt({partnerId:t.partnerId,stockId:hs({stockSource:n,customerStockId:t.customerStockId}),getLatestProductsHttpClient:t.listExpressionDataSourceBffClient.postGetLatestRecommendations}),SaleByPopular:({StockSource:n})=>HFt({partnerId:t.partnerId,stockId:hs({stockSource:n,customerStockId:t.customerStockId}),getSaleByPopularProductsHttpClient:t.listExpressionDataSourceBffClient.postGetSaleByPopularRecommendations}),SaleByLatest:({StockSource:n})=>$Ft({partnerId:t.partnerId,stockId:hs({stockSource:n,customerStockId:t.customerStockId}),getSaleByLatestProductsHttpClient:t.listExpressionDataSourceBffClient.postGetSaleByLatestRecommendations})})},zFt=()=>()=>Promise.resolve(0),GFt=vo,KFt=t=>{const o=t.contactCustomData;return e=>GFt(e.stringExpressionDataSource).Match({NextBestOffer2ContactCustomData:n=>Promise.resolve(o[n.FieldName]),ProductImageUrlBuilderExpression:n=>t.productImageUrlBuilderExpressionEvaluator({expression:n,context:e.context})})},YFt=t=>t.triggerNextBestOffer2?JSON.parse(t.triggerNextBestOffer2.componentJson):JSON.parse(t.common.componentJson),ZFt=t=>({sectionItemId:t.sectionItemId,sectionItemName:t.sectionItemName,componentTemplate:YFt(t.component)}),JFt=t=>({sectionId:t.sectionId,sectionName:t.sectionName,componentList:t.sectionItems.map(o=>ZFt(o))}),XFt=t=>t.map(o=>JFt(o));var qg={},$R=Wt&&Wt.__awaiter||function(t,o,e,n){function s(i){return i instanceof e?i:new e(function(r){r(i)})}return new(e||(e=Promise))(function(i,r){function a(c){try{u(n.next(c))}catch(p){r(p)}}function d(c){try{u(n.throw(c))}catch(p){r(p)}}function u(c){c.done?i(c.value):s(c.value).then(a,d)}u((n=n.apply(t,o||[])).next())})},UR=Wt&&Wt.__generator||function(t,o){var e={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,s,i,r=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return r.next=a(0),r.throw=a(1),r.return=a(2),typeof Symbol=="function"&&(r[Symbol.iterator]=function(){return this}),r;function a(u){return function(c){return d([u,c])}}function d(u){if(n)throw new TypeError("Generator is already executing.");for(;r&&(r=0,u[0]&&(e=0)),e;)try{if(n=1,s&&(i=u[0]&2?s.return:u[0]?s.throw||((i=s.return)&&i.call(s),0):s.next)&&!(i=i.call(s,u[1])).done)return i;switch(s=0,i&&(u=[u[0]&2,i.value]),u[0]){case 0:case 1:i=u;break;case 4:return e.label++,{value:u[1],done:!1};case 5:e.label++,s=u[1],u=[0];continue;case 7:u=e.ops.pop(),e.trys.pop();continue;default:if(i=e.trys,!(i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){e=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){e.label=u[1];break}if(u[0]===6&&e.label<i[1]){e.label=i[1],i=u;break}if(i&&e.label<i[2]){e.label=i[2],e.ops.push(u);break}i[2]&&e.ops.pop(),e.trys.pop();continue}u=o.call(t,e)}catch(c){u=[6,c],s=0}finally{n=i=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}};Object.defineProperty(qg,"__esModule",{value:!0});var jR=qg.createApi=void 0,zT=function(t,o){return function(e){return t(e,o)}},QFt=function(t){return{categories:t.categories.map(function(o){return zR(o)})}},qFt=function(t){return{categories:t.categories.map(function(o){return zR(o)})}},zR=function(t){return{id:t.id,name:t.name,path:t.path}};function tyt(t,o){return $R(this,void 0,void 0,function(){var e,n,s;return UR(this,function(i){switch(i.label){case 0:return e="wysiwyg/bff/v2/productCategoryPickerModalWindow/getProductCategoriesByIds/",n=new URLSearchParams,[4,o({path:e,method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t.body),query:n.toString()})];case 1:if(s=i.sent(),s.status===200)return[2,{status:200,body:QFt(s.body)}];throw new Error("Unknown response")}})})}function eyt(t,o){return $R(this,void 0,void 0,function(){var e,n,s;return UR(this,function(i){switch(i.label){case 0:return e="wysiwyg/bff/v2/productCategoryPickerModalWindow/findProductCategoriesBySearchPhrase/",n=new URLSearchParams,[4,o({path:e,method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t.body),query:n.toString()})];case 1:if(s=i.sent(),s.status===200)return[2,{status:200,body:qFt(s.body)}];throw new Error("Unknown response")}})})}var oyt=function(t){return{postGetProductCategoriesByIds:zT(tyt,t),postFindProductCategoriesBySearchPhrase:zT(eyt,t)}};jR=qg.createApi=oyt;var tF={},GR=Wt&&Wt.__awaiter||function(t,o,e,n){function s(i){return i instanceof e?i:new e(function(r){r(i)})}return new(e||(e=Promise))(function(i,r){function a(c){try{u(n.next(c))}catch(p){r(p)}}function d(c){try{u(n.throw(c))}catch(p){r(p)}}function u(c){c.done?i(c.value):s(c.value).then(a,d)}u((n=n.apply(t,o||[])).next())})},KR=Wt&&Wt.__generator||function(t,o){var e={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,s,i,r=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return r.next=a(0),r.throw=a(1),r.return=a(2),typeof Symbol=="function"&&(r[Symbol.iterator]=function(){return this}),r;function a(u){return function(c){return d([u,c])}}function d(u){if(n)throw new TypeError("Generator is already executing.");for(;r&&(r=0,u[0]&&(e=0)),e;)try{if(n=1,s&&(i=u[0]&2?s.return:u[0]?s.throw||((i=s.return)&&i.call(s),0):s.next)&&!(i=i.call(s,u[1])).done)return i;switch(s=0,i&&(u=[u[0]&2,i.value]),u[0]){case 0:case 1:i=u;break;case 4:return e.label++,{value:u[1],done:!1};case 5:e.label++,s=u[1],u=[0];continue;case 7:u=e.ops.pop(),e.trys.pop();continue;default:if(i=e.trys,!(i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){e=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){e.label=u[1];break}if(u[0]===6&&e.label<i[1]){e.label=i[1],i=u;break}if(i&&e.label<i[2]){e.label=i[2],e.ops.push(u);break}i[2]&&e.ops.pop(),e.trys.pop();continue}u=o.call(t,e)}catch(c){u=[6,c],s=0}finally{n=i=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}};Object.defineProperty(tF,"__esModule",{value:!0});var YR=tF.createApi=void 0,GT=function(t,o){return function(e){return t(e,o)}},nyt=function(t){return{products:t.products.map(function(o){return ZR(o)})}},iyt=function(t){return{products:t.products.map(function(o){return ZR(o)})}},ZR=function(t){return{internalId:t.internalId,externalId:t.externalId,name:t.name,pictureUrl:t.pictureUrl,isAvailable:t.isAvailable}};function ryt(t,o){return GR(this,void 0,void 0,function(){var e,n,s;return KR(this,function(i){switch(i.label){case 0:return e="wysiwyg/bff/v2/productPickerModalWindow/findProductsBySearchPhrase/",n=new URLSearchParams,[4,o({path:e,method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t.body),query:n.toString()})];case 1:if(s=i.sent(),s.status===200)return[2,{status:200,body:nyt(s.body)}];throw new Error("Unknown response")}})})}function syt(t,o){return GR(this,void 0,void 0,function(){var e,n,s;return KR(this,function(i){switch(i.label){case 0:return e="wysiwyg/bff/v2/productPickerModalWindow/getProductsByIds/",n=new URLSearchParams,[4,o({path:e,method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t.body),query:n.toString()})];case 1:if(s=i.sent(),s.status===200)return[2,{status:200,body:iyt(s.body)}];throw new Error("Unknown response")}})})}var ayt=function(t){return{postFindProductsBySearchPhrase:GT(ryt,t),postGetProductsByIds:GT(syt,t)}};YR=tF.createApi=ayt;const JR="#app",li=document.querySelector(JR),Kt={partnerId:li.getAttribute("data-partner-id"),wysiwygBffProxyBaseUrl:li.getAttribute("data-wysiwyg-bff-proxy-base-url"),wysiwygTemplateEditorBffBaseUrl:li.getAttribute("data-wysiwyg-template-editor-bff-base-url"),antiForgeryHeaderTokenName:li.getAttribute("data-anti-forgery-header-token-name"),antiForgeryHeaderTokenValue:li.getAttribute("data-anti-forgery-header-token-value"),antiForgeryFormTokenName:li.getAttribute("data-anti-forgery-form-token-name"),antiForgeryFormTokenValue:li.getAttribute("data-anti-forgery-form-token-value"),emailTemplateJson:li.getAttribute("data-email-template-json"),previewTemplateDataJson:li.getAttribute("data-preview-template-data-json"),resetTemplateFormUrl:li.getAttribute("data-reset-template-form-url"),exitLink:li.getAttribute("data-exit-link"),localeKey:li.getAttribute("data-locale-key")},lyt=t=>Ko({baseUrl:t.baseUrl,antiForgeryTokenHeaderName:Kt.antiForgeryHeaderTokenName,antiForgeryTokenValue:Kt.antiForgeryHeaderTokenValue}),uyt=Hv(Ko({baseUrl:Kt.wysiwygTemplateEditorBffBaseUrl,antiForgeryTokenHeaderName:Kt.antiForgeryHeaderTokenName,antiForgeryTokenValue:Kt.antiForgeryHeaderTokenValue})),dyt=()=>{const t=new FormData;t.append(Kt.antiForgeryFormTokenName,Kt.antiForgeryFormTokenValue);const o=nN({method:"POST",action:Kt.resetTemplateFormUrl,formData:t});document.body.appendChild(o),o.submit()};let myt={};const cyt=$v(lyt({baseUrl:Kt.wysiwygBffProxyBaseUrl})),fyt=jFt({partnerId:Kt.partnerId,listExpressionDataSourceBffClient:cyt,customerStockId:void 0}),ip=Lft({listExpressionDataSourceEvaluator:fyt}),pyt=zFt(),hf=vft({listExpressionEvaluator:ip,numberExpressionDataSourceEvaluator:pyt}),XR=xft({listExpressionEvaluator:ip,numberExpressionEvaluator:hf,stringExpressionDataSourceEvaluatorFactory:()=>KFt({productImageUrlBuilderExpressionEvaluator:bft({partnerId:Kt.partnerId,numberExpressionEvaluator:hf}),contactCustomData:myt})}),QR=wft({listExpressionEvaluator:ip,numberExpressionEvaluator:hf,stringExpressionEvaluator:XR,dataStructBuilderExpressionEvaluatorFactory:t=>xR({expressionEvaluator:t})}),Cyt=xR({expressionEvaluator:QR}),eF=Jc(Oat,{onTemplateReset:()=>{dyt()},deps:zlt({partnerId:Kt.partnerId,localeKey:Kt.localeKey,exitLink:Kt.exitLink,saveEmailTemplate:async t=>(await uyt.postSaveTemplate({body:{partnerId:Kt.partnerId,templateJson:JSON.stringify(t.emailTemplate)}})).status===200?"Success":"Fail",listExpressionEvaluator:ip,numberExpressionEvaluator:hf,stringExpressionEvaluator:XR,dataStructExpressionEvaluator:Cyt,expressionEvaluator:QR,getComponentLibraryFactory:t=>()=>t.getComponentLibraryHttpClient({body:{partnerId:t.partnerId,componentTypes:[{triggerNextBestOffer2:{}},{common:{}}]}}).then(o=>XFt(o.body.sections)),canProductShelfDataSourceBeConverted:()=>!1,httpClientComponentFactoryDelegate:t=>({triggerNextBestOffer2:{componentJson:JSON.stringify(t)}}),emailComponentSettingsModifierPlugin:Lut({productShelfDataSourceExpressionBuilderComponent:NFt,deps:rpt({partnerId:Kt.partnerId,customerStockId:"customerStockId",productShelfBuilderModalWindowBffClient:Kv(Ko({baseUrl:Kt.wysiwygBffProxyBaseUrl,antiForgeryTokenHeaderName:Kt.antiForgeryHeaderTokenName,antiForgeryTokenValue:Kt.antiForgeryHeaderTokenValue})),productCategoryPickerModalWindowBffClient:jR(Ko({baseUrl:Kt.wysiwygBffProxyBaseUrl,antiForgeryTokenHeaderName:Kt.antiForgeryHeaderTokenName,antiForgeryTokenValue:Kt.antiForgeryHeaderTokenValue})),productPickerModalWindowBffClient:YR(Ko({baseUrl:Kt.wysiwygBffProxyBaseUrl,antiForgeryTokenHeaderName:Kt.antiForgeryHeaderTokenName,antiForgeryTokenValue:Kt.antiForgeryHeaderTokenValue}))})}),initialEmailTemplate:JSON.parse(Kt.emailTemplateJson),wysiwygTemplateEditorBffClient:jat({themeLibraryBffClient:Yv(Ko({baseUrl:Kt.wysiwygBffProxyBaseUrl,antiForgeryTokenHeaderName:Kt.antiForgeryHeaderTokenName,antiForgeryTokenValue:Kt.antiForgeryHeaderTokenValue})),componentLibraryBffClient:Zv(Ko({baseUrl:Kt.wysiwygBffProxyBaseUrl,antiForgeryTokenHeaderName:Kt.antiForgeryHeaderTokenName,antiForgeryTokenValue:Kt.antiForgeryHeaderTokenValue}))}),addThemeLibrarySectionItemModalWindowBffClient:Qv(Ko({baseUrl:Kt.wysiwygBffProxyBaseUrl,antiForgeryTokenHeaderName:Kt.antiForgeryHeaderTokenName,antiForgeryTokenValue:Kt.antiForgeryHeaderTokenValue})),addComponentLibrarySectionItemModalWindowBffClient:Gv(Ko({baseUrl:Kt.wysiwygBffProxyBaseUrl,antiForgeryTokenHeaderName:Kt.antiForgeryHeaderTokenName,antiForgeryTokenValue:Kt.antiForgeryHeaderTokenValue})),deleteThemeLibrarySectionItemModalWindowBffClient:qv(Ko({baseUrl:Kt.wysiwygBffProxyBaseUrl,antiForgeryTokenHeaderName:Kt.antiForgeryHeaderTokenName,antiForgeryTokenValue:Kt.antiForgeryHeaderTokenValue})),deleteThemeLibrarySectionModalWindowBffClient:tR(Ko({baseUrl:Kt.wysiwygBffProxyBaseUrl,antiForgeryTokenHeaderName:Kt.antiForgeryHeaderTokenName,antiForgeryTokenValue:Kt.antiForgeryHeaderTokenValue})),editThemeLibrarySectionItemModalWindowBffClient:nR(Ko({baseUrl:Kt.wysiwygBffProxyBaseUrl,antiForgeryTokenHeaderName:Kt.antiForgeryHeaderTokenName,antiForgeryTokenValue:Kt.antiForgeryHeaderTokenValue})),createComponentLibrarySectionModalWindowBffClient:iR(Ko({baseUrl:Kt.wysiwygBffProxyBaseUrl,antiForgeryTokenHeaderName:Kt.antiForgeryHeaderTokenName,antiForgeryTokenValue:Kt.antiForgeryHeaderTokenValue})),editComponentLibrarySectionItemModalWindowBffClient:aR(Ko({baseUrl:Kt.wysiwygBffProxyBaseUrl,antiForgeryTokenHeaderName:Kt.antiForgeryHeaderTokenName,antiForgeryTokenValue:Kt.antiForgeryHeaderTokenValue})),deleteComponentLibrarySectionItemModalWindowBffClient:lR(Ko({baseUrl:Kt.wysiwygBffProxyBaseUrl,antiForgeryTokenHeaderName:Kt.antiForgeryHeaderTokenName,antiForgeryTokenValue:Kt.antiForgeryHeaderTokenValue})),createThemeLibrarySectionModalWindowBffClient:uR(Ko({baseUrl:Kt.wysiwygBffProxyBaseUrl,antiForgeryTokenHeaderName:Kt.antiForgeryHeaderTokenName,antiForgeryTokenValue:Kt.antiForgeryHeaderTokenValue})),deleteComponentLibrarySectionModalWindowBffClient:dR(Ko({baseUrl:Kt.wysiwygBffProxyBaseUrl,antiForgeryTokenHeaderName:Kt.antiForgeryHeaderTokenName,antiForgeryTokenValue:Kt.antiForgeryHeaderTokenValue}))})});eF.use(RR({theme:!1,components:{VSkeletonLoader:Sft}}));eF.use(FD);eF.mount(JR);
|
|
96
|
+
`)}function HT(t){const o=t.dark?2:1,e=t.dark?1:2,n=[];for(const[s,i]of Object.entries(t.colors)){const r=Qi(i);n.push(`--v-theme-${s}: ${r.r},${r.g},${r.b}`),s.startsWith("on-")||n.push(`--v-theme-${s}-overlay-multiplier: ${Ymt(i)>.18?o:e}`)}for(const[s,i]of Object.entries(t.variables)){const r=typeof i=="string"&&i.startsWith("#")?Qi(i):void 0,a=r?`${r.r}, ${r.g}, ${r.b}`:void 0;n.push(`--v-${s}: ${a??i}`)}return n}function RR(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{blueprint:o,...e}=t,n=zr(o,e),{aliases:s={},components:i={},directives:r={}}=n,a=Jmt(n.defaults),d=Jct(n.display,n.ssr),u=lft(n.theme),c=rft(n.icons),p=ict(n.locale),h=Kct(n.date,p),g=qct(n.goTo,p);return{install:b=>{for(const v in r)b.directive(v,r[v]);for(const v in i)b.component(v,i[v]);for(const v in s)b.component(v,zd({...s[v],name:v,aliasName:s[v].name}));if(u.install(b),b.provide(Ld,a),b.provide(NT,d),b.provide(Cf,u),b.provide(MT,c),b.provide(s0,p),b.provide(Gct,h.options),b.provide(PT,h.instance),b.provide(Xct,g),Xi&&n.ssr)if(b.$nuxt)b.$nuxt.hook("app:suspense:resolve",()=>{d.update()});else{const{mount:v}=b;b.mount=function(){const D=v(...arguments);return Gr(()=>d.update()),b.mount=v,D}}FR.reset(),b.mixin({computed:{$vuetify(){return Et({defaults:sl.call(this,Ld),display:sl.call(this,NT),theme:sl.call(this,Cf),icons:sl.call(this,MT),locale:sl.call(this,s0),date:sl.call(this,PT)})}}})},defaults:a,display:d,theme:u,icons:c,locale:p,date:h,goTo:g}}const dft="3.7.2";RR.version=dft;function sl(t){var n,s;const o=this.$,e=((n=o.parent)==null?void 0:n.provides)??((s=o.vnode.appContext)==null?void 0:s.provides);if(e&&t in e)return e[t]}function mft(t){return vmt(()=>{const o=[],e={};if(t.value.background)if(r0(t.value.background)){if(e.backgroundColor=t.value.background,!t.value.text&&Hmt(t.value.background)){const n=Qi(t.value.background);if(n.a==null||n.a===1){const s=hR(n);e.color=s,e.caretColor=s}}}else o.push(`bg-${t.value.background}`);return t.value.text&&(r0(t.value.text)?(e.color=t.value.text,e.caretColor=t.value.text):o.push(`text-${t.value.text}`)),{colorClasses:o,colorStyles:e}})}function cft(t,o){const e=Yt(()=>({background:To(t)?t.value:o?t[o]:null})),{colorClasses:n,colorStyles:s}=mft(e);return{backgroundColorClasses:n,backgroundColorStyles:s}}const fft=iu({height:[Number,String],maxHeight:[Number,String],maxWidth:[Number,String],minHeight:[Number,String],minWidth:[Number,String],width:[Number,String]},"dimension");function pft(t){return{dimensionStyles:Yt(()=>{const e={},n=il(t.height),s=il(t.maxHeight),i=il(t.maxWidth),r=il(t.minHeight),a=il(t.minWidth),d=il(t.width);return n!=null&&(e.height=n),s!=null&&(e.maxHeight=s),i!=null&&(e.maxWidth=i),r!=null&&(e.minHeight=r),a!=null&&(e.minWidth=a),d!=null&&(e.width=d),e})}}const Cft=iu({elevation:{type:[Number,String],validator(t){const o=parseInt(t);return!isNaN(o)&&o>=0&&o<=24}}},"elevation");function hft(t){return{elevationClasses:Yt(()=>{const e=To(t)?t.value:t.elevation,n=[];return e==null||n.push(`elevation-${e}`),n})}}const gft={actions:"button@2",article:"heading, paragraph",avatar:"avatar",button:"button",card:"image, heading","card-avatar":"image, list-item-avatar",chip:"chip","date-picker":"list-item, heading, divider, date-picker-options, date-picker-days, actions","date-picker-options":"text, avatar@2","date-picker-days":"avatar@28",divider:"divider",heading:"heading",image:"image","list-item":"text","list-item-avatar":"avatar, text","list-item-two-line":"sentences","list-item-avatar-two-line":"avatar, sentences","list-item-three-line":"paragraph","list-item-avatar-three-line":"avatar, paragraph",ossein:"ossein",paragraph:"text@3",sentences:"text@2",subtitle:"text",table:"table-heading, table-thead, table-tbody, table-tfoot","table-heading":"chip, text","table-thead":"heading@6","table-tbody":"table-row-divider@6","table-row-divider":"table-row, divider","table-row":"text@6","table-tfoot":"text@2, avatar@2",text:"text"};function Fft(t){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return P("div",{class:["v-skeleton-loader__bone",`v-skeleton-loader__${t}`]},[o])}function $T(t){const[o,e]=t.split("@");return Array.from({length:e}).map(()=>op(o))}function op(t){let o=[];if(!t)return o;const e=gft[t];if(t!==e){if(t.includes(","))return UT(t);if(t.includes("@"))return $T(t);e.includes(",")?o=UT(e):e.includes("@")?o=$T(e):e&&o.push(op(e))}return[Fft(t,o)]}function UT(t){return t.replace(/\s/g,"").split(",").map(op)}const yft=iu({boilerplate:Boolean,color:String,loading:Boolean,loadingText:{type:String,default:"$vuetify.loading"},type:{type:[String,Array],default:"ossein"},...fft(),...Cft(),...sft()},"VSkeletonLoader"),Sft=SR()({name:"VSkeletonLoader",props:yft(),setup(t,o){let{slots:e}=o;const{backgroundColorClasses:n,backgroundColorStyles:s}=cft(gB(t,"color")),{dimensionStyles:i}=pft(t),{elevationClasses:r}=hft(t),{themeClasses:a}=uft(t),{t:d}=rct(),u=Yt(()=>op(Vmt(t.type).join(",")));return qmt(()=>{var h;const c=!e.default||t.loading,p=t.boilerplate||!c?{}:{ariaLive:"polite",ariaLabel:d(t.loadingText),role:"alert"};return P("div",Es({class:["v-skeleton-loader",{"v-skeleton-loader--boilerplate":t.boilerplate},a.value,n.value,r.value],style:[s.value,c?i.value:{}]},p),[c?u.value:(h=e.default)==null?void 0:h.call(e)])}),{}}}),bft=t=>async({context:o,expression:e})=>t.numberExpressionEvaluator({numberExpression:e.ProductId,context:o}).then(n=>"https://cdn.retailrocket.net/api/1.0/partner/"+t.partnerId+"/item/"+n+"/picture/?format=png&width="+e.ImageSize.Width+"&height="+e.ImageSize.Height+"&scale=both"),Dd=t=>({Match:o=>{switch(typeof t){case"string":return(o.String??o.defaultValue)(t);case"number":return(o.Number??o.defaultValue)(t);case"boolean":return(o.Boolean??o.defaultValue)(t);case"object":return Tft(t)?(o.Array??o.defaultValue)(t):(o.Struct??o.defaultValue)(t);default:return Mi(t)}}}),Tft=t=>Array.isArray(t),Bft=vo,Kg=(t,o)=>{let e=o;for(const n of t)e=Bft(n).Match({PropertyName:s=>Dd(e).Match({defaultValue:()=>{throw console.error("Property not found: "+s),new Error("Property not found: "+s)},Struct:i=>i[s]}),ArrayIndex:s=>Dd(e).Match({defaultValue:()=>{throw console.error("Array index out of bounds: "+s),new Error("Array index out of bounds: "+s)},Array:i=>i[s]})});return e},Vft=(t,o)=>Dd(Kg(t,o)).Match({defaultValue:()=>{throw console.error("Value is not a list"),new Error("Value is not a list")},Array:e=>e}),Lft=t=>{const o=e=>Sv(e.listExpression).Match({ContextValueExpression:n=>Promise.resolve(Vft(n.Path,e.context)),ChunkExpression:async n=>{const s=await o({listExpression:n.ListExpression,context:e.context});return s.slice(0,Math.floor(s.length/n.ChunkSize)*n.ChunkSize)},LimitExpression:async n=>(await o({listExpression:n.ListExpression,context:e.context})).slice(0,n.Limit),DataSource:n=>t.listExpressionDataSourceEvaluator(n)});return o},Dft=(t,o)=>Dd(Kg(t,o)).Match({defaultValue:()=>{throw console.error("Value is not a number"),new Error("Value is not a number")},Number:e=>e}),vft=t=>o=>bv(o.numberExpression).Match({ContextValueExpression:e=>Promise.resolve(Dft(e.Path,o.context)),ConstValueExpression:e=>Promise.resolve(e.Value),ListLengthExpression:async e=>t.listExpressionEvaluator({listExpression:e.ListExpression,context:o.context}).then(n=>n.length),DataSource:e=>Promise.resolve(t.numberExpressionDataSourceEvaluator(e))}),Rft=(t,o)=>Dd(Kg(t,o)).Match({defaultValue:()=>{throw console.error("Value is not a string "+o+t),new Error("Value is not a string")},String:e=>e}),xft=t=>{const o=e=>{const n=t.stringExpressionDataSourceEvaluatorFactory(o);return Tv(e.stringExpression).Match({ConcatStringExpressions:s=>Pft({concatStringExpressions:s,stringExpressionEvaluator:o,context:e.context}),ContextValueExpression:s=>_ft({contextValueExpression:s,context:e.context}),ConstValueExpression:s=>Nft({stringConstValueExpression:s}),TruncateValueExpression:s=>Ift({truncateValueExpression:s,context:e.context,stringExpressionEvaluator:o}),DataSource:s=>n({stringExpressionDataSource:s,context:e.context}),NumberToStringExpression:s=>Eft({numberToStringExpression:s,context:e.context,numberExpressionEvaluator:t.numberExpressionEvaluator}),UnsubscribeUrlExpression:()=>Promise.resolve("#")})};return o},_ft=t=>Promise.resolve(Rft(t.contextValueExpression.Path,t.context)),Ift=async t=>{const o=t.truncateValueExpression.MaxLength,e=await t.stringExpressionEvaluator({stringExpression:t.truncateValueExpression.StringExpression,context:t.context});return o<e.length?e.slice(0,t.truncateValueExpression.MaxLength)+t.truncateValueExpression.Tail:e},Eft=async t=>(await t.numberExpressionEvaluator({numberExpression:t.numberToStringExpression.NumberExpression,context:t.context})).toString(),Pft=t=>Promise.all(t.concatStringExpressions.StringExpressions.map(o=>t.stringExpressionEvaluator({stringExpression:o,context:t.context}))).then(o=>o.join("")),Nft=t=>Promise.resolve(t.stringConstValueExpression.Value),xR=t=>({dataStructBuilderExpression:o,context:e})=>Promise.all(Object.entries(o).map(async([n,s])=>({key:n,value:await t.expressionEvaluator({expression:s,context:e})}))).then(n=>Object.fromEntries(n.map(s=>[s.key,s.value]))),wft=t=>{const o=({expression:e,context:n})=>{const s=t.dataStructBuilderExpressionEvaluatorFactory(o);return Tg(e).Match({NumberExpression:i=>t.numberExpressionEvaluator({numberExpression:i,context:n}),StringExpression:i=>t.stringExpressionEvaluator({stringExpression:i,context:n}),ListExpression:i=>t.listExpressionEvaluator({listExpression:i,context:n}),RecordBuilderExpression:i=>s({dataStructBuilderExpression:i,context:n})})};return o},Qr=t=>async()=>(await t.getAllStockIdsHttpClient({body:{partnerId:t.partnerId}})).body.stockIds,Aft=t=>({getAllStockIds:Qr({partnerId:t.partnerId,getAllStockIdsHttpClient:t.getAllStockIdsHttpClient})}),Wft=t=>({getAllStockIds:Qr({partnerId:t.partnerId,getAllStockIdsHttpClient:t.getAllStockIdsHttpClient})}),kft=t=>({getAllStockIds:Qr({partnerId:t.partnerId,getAllStockIdsHttpClient:t.getAllStockIdsHttpClient})}),Mft=t=>({getAllStockIds:Qr({partnerId:t.partnerId,getAllStockIdsHttpClient:t.getAllStockIdsHttpClient})}),Oft=t=>({getAllStockIds:Qr({partnerId:t.partnerId,getAllStockIdsHttpClient:t.getAllStockIdsHttpClient})}),_R=t=>({InternalProductId:t.internalId,ExternalProductId:t.externalId,PictureUrl:t.pictureUrl,Name:t.name,IsAvailable:t.isAvailable}),Yg=t=>{switch(t.stockSource._t){case"CustomerStockIdSource":return t.customerStockId;case"DefaultStoreStockIdSource":return;case"SpecificStockIdSource":return t.stockSource.Value;default:Mi(t.stockSource)}},Hft=t=>async(o,e)=>{const n=Yg({stockSource:e,customerStockId:t.customerStockId});return(await t.findProductsBySearchPhrase({body:{partnerId:t.partnerId,searchPhrase:o,stockId:n}})).body.products.map(s=>_R(s))},$ft=t=>({getProductsByIDs:t.getProductsByIDs,findProductsByPhrase:t.findProductsByPhrase}),Uft=t=>({getProductsByIDs:t.getProductsByIDs,findProductsByPhrase:t.findProductsByPhrase}),jft=t=>async(o,e)=>{const n=Yg({stockSource:e,customerStockId:t.customerStockId});return(await t.getProductsByIDsHttpClient({body:{partnerId:t.partnerId,internalProductIds:o.concat([]),stockId:n}})).body.products.map(s=>_R(s))},zft=t=>{const o=jft({partnerId:t.partnerId,productCache:{},customerStockId:t.customerStockId,getProductsByIDsHttpClient:t.productPickerModalWindowBffClient.postGetProductsByIds}),e=Hft({partnerId:t.partnerId,customerStockId:t.customerStockId,findProductsBySearchPhrase:t.productPickerModalWindowBffClient.postFindProductsBySearchPhrase});return{selectProductComponentDeps:$ft({getProductsByIDs:o,findProductsByPhrase:e}),productSearchComponentDeps:Uft({getProductsByIDs:o,findProductsByPhrase:e})}},Gft=t=>({CategoryId:t.id,Path:t.path,Name:t.name}),Kft=async t=>{const o=t.categoryIds.filter(e=>!t.categoryCache[e]);return o.length>0&&(await t.findCategoriesByID({partnerId:t.partnerId,categoryIds:o})).forEach(e=>t.categoryCache[e.id]=e),t.categoryIds.filter(e=>t.categoryCache[e]).map(e=>t.categoryCache[e])},IR=t=>async o=>(await Kft({partnerId:t.partnerId,categoryIds:o,categoryCache:{},findCategoriesByID:async e=>(await t.getCategoriesByIDsHttpClient({body:{partnerId:t.partnerId,categoryIds:e.categoryIds.concat([])}})).body.categories})).map(e=>Gft(e)),Yft=t=>({CategoryId:t.id,Path:t.path,Name:t.name}),Zft=async t=>{const o=await t.findCategoriesByPhrase({phrase:t.phrase});return o.forEach(e=>t.categoryCache[e.id]=e),o},Jft=t=>async o=>(await Zft({phrase:o,categoryCache:t.categoryCache,findCategoriesByPhrase:async e=>(await t.findProductCategoriesBySearchPhrase({body:{partnerId:t.partnerId,searchPhrase:e.phrase}})).body.categories})).map(e=>Yft(e)),Xft=t=>({getCategoriesByIDs:t.getCategoriesByIDs}),Qft=t=>({findCategoriesByName:t.findCategoriesByName,getCategoriesByIDs:t.getCategoriesByIDs}),ER=t=>{const o={},e=IR({partnerId:t.partnerId,categoryCache:o,getCategoriesByIDsHttpClient:t.productCategoryPickerModalWindowBffClient.postGetProductCategoriesByIds}),n=Jft({partnerId:t.partnerId,categoryCache:o,findProductCategoriesBySearchPhrase:t.productCategoryPickerModalWindowBffClient.postFindProductCategoriesBySearchPhrase});return{selectCategoryComponentDeps:Xft({getCategoriesByIDs:e}),categorySearchComponentDeps:Qft({getCategoriesByIDs:e,findCategoriesByName:n})}},qft=t=>({InternalProductId:t.internalId,ExternalProductId:t.externalId,PictureUrl:t.pictureUrl,Name:t.name,IsAvailable:t.isAvailable}),Zg=t=>async(o,e)=>{const n=Yg({stockSource:e,customerStockId:t.customerStockId});return(await t.getProductsByIDsHttpClient({body:{partnerId:t.partnerId,internalProductIds:o.concat([]),stockId:n}})).body.products.map(s=>qft(s))},tpt=t=>({getProductsByIDs:Zg({partnerId:t.partnerId,customerStockId:t.customerStockId,productCache:t.productCache,getProductsByIDsHttpClient:t.getProductsByIDsHttpClient}),getAllStockIds:Qr({partnerId:t.partnerId,getAllStockIdsHttpClient:t.getAllStockIdsHttpClient}),productListComposerModalWindowDeps:t.productListComposerModalWindowDeps}),ept=t=>({getProductsByIDs:Zg({partnerId:t.partnerId,customerStockId:t.customerStockId,productCache:t.productCache,getProductsByIDsHttpClient:t.getProductsByIDsHttpClient}),getAllStockIds:Qr({partnerId:t.partnerId,getAllStockIdsHttpClient:t.getAllStockIdsHttpClient}),productListComposerModalWindowDeps:t.productListComposerModalWindowDeps}),opt=t=>({getProductsByIDs:Zg({partnerId:t.partnerId,customerStockId:t.customerStockId,productCache:t.productCache,getProductsByIDsHttpClient:t.getProductsByIDsHttpClient}),getAllStockIds:Qr({partnerId:t.partnerId,getAllStockIdsHttpClient:t.getAllStockIdsHttpClient}),productListComposerModalWindowDeps:t.productListComposerModalWindowDeps}),npt=t=>({getCategoriesByIDs:IR({partnerId:t.partnerId,categoryCache:t.categoryCache,getCategoriesByIDsHttpClient:t.getCategoriesByIDsHttpClient}),getAllStockIds:Qr({partnerId:t.partnerId,getAllStockIdsHttpClient:t.getAllStockIdsHttpClient}),categoryListComposerModalWindowDeps:ER({partnerId:t.partnerId,productCategoryPickerModalWindowBffClient:t.productCategoryPickerModalWindowBffClient})}),ipt=t=>{const o={},e={},n=zft({partnerId:t.partnerId,customerStockId:t.customerStockId,productPickerModalWindowBffClient:t.productPickerModalWindowBffClient});return{ProductListComposerModalWindowDeps:n,CategoryListComposerModalWindowDeps:ER({partnerId:t.partnerId,productCategoryPickerModalWindowBffClient:t.productCategoryPickerModalWindowBffClient}),NextBestOfferRecommendationsShelfBuilderDeps:Wft({partnerId:t.partnerId,getAllStockIdsHttpClient:t.productShelfBuilderModalWindowBffClient.postGetAllStockIds}),ProductListShelfBuilderDeps:opt({partnerId:t.partnerId,customerStockId:t.customerStockId,productCache:o,getProductsByIDsHttpClient:t.productShelfBuilderModalWindowBffClient.postGetProductsByIds,getAllStockIdsHttpClient:t.productShelfBuilderModalWindowBffClient.postGetAllStockIds,productListComposerModalWindowDeps:n}),RelatedProductListShelfBuilderDeps:ept({partnerId:t.partnerId,customerStockId:t.customerStockId,productCache:o,getProductsByIDsHttpClient:t.productShelfBuilderModalWindowBffClient.postGetProductsByIds,getAllStockIdsHttpClient:t.productShelfBuilderModalWindowBffClient.postGetAllStockIds,productListComposerModalWindowDeps:n}),AlternativeProductListShelfBuilderDeps:tpt({partnerId:t.partnerId,customerStockId:t.customerStockId,productCache:o,getProductsByIDsHttpClient:t.productShelfBuilderModalWindowBffClient.postGetProductsByIds,getAllStockIdsHttpClient:t.productShelfBuilderModalWindowBffClient.postGetAllStockIds,productListComposerModalWindowDeps:n}),PopularFromCategoryListShelfBuilderDeps:npt({partnerId:t.partnerId,categoryCache:e,getAllStockIdsHttpClient:t.productShelfBuilderModalWindowBffClient.postGetAllStockIds,getCategoriesByIDsHttpClient:t.productShelfBuilderModalWindowBffClient.postGetProductCategoriesByIds,productCategoryPickerModalWindowBffClient:t.productCategoryPickerModalWindowBffClient}),PopularProductListShelfBuilderDeps:Aft({partnerId:t.partnerId,getAllStockIdsHttpClient:t.productShelfBuilderModalWindowBffClient.postGetAllStockIds}),LatestProductListShelfBuilderDeps:kft({partnerId:t.partnerId,getAllStockIdsHttpClient:t.productShelfBuilderModalWindowBffClient.postGetAllStockIds}),SaleByPopularProductListShelfBuilderDeps:Mft({partnerId:t.partnerId,getAllStockIdsHttpClient:t.productShelfBuilderModalWindowBffClient.postGetAllStockIds}),SaleByLatestProductListShelfBuilderDeps:Oft({partnerId:t.partnerId,getAllStockIdsHttpClient:t.productShelfBuilderModalWindowBffClient.postGetAllStockIds})}},rpt=t=>({nextBestOffer2ProductShelfDataSourceExpressionBuilderModalDeps:ipt({partnerId:t.partnerId,customerStockId:t.customerStockId,productShelfBuilderModalWindowBffClient:t.productShelfBuilderModalWindowBffClient,productCategoryPickerModalWindowBffClient:t.productCategoryPickerModalWindowBffClient,productPickerModalWindowBffClient:t.productPickerModalWindowBffClient})}),spt={},apt={class:"icon-hover d-flex align-items-center justify-content-center"};function lpt(t,o){return S(),E("i",apt,o[0]||(o[0]=[f("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},[f("path",{d:"M3.33333 8.33333C3.33333 8.54227 3.64067 8.9056 4.35365 9.26207C5.27603 9.72327 6.58451 10 8 10C9.41547 10 10.7239 9.72327 11.6463 9.26207C12.3593 8.9056 12.6667 8.54227 12.6667 8.33333V6.8858C11.5667 7.56547 9.88487 8 8 8C6.11515 8 4.43331 7.56547 3.33333 6.8858V8.33333ZM12.6667 10.2191C11.5667 10.8988 9.88487 11.3333 8 11.3333C6.11515 11.3333 4.43331 10.8988 3.33333 10.2191V11.6667C3.33333 11.8756 3.64067 12.2389 4.35365 12.5954C5.27603 13.0566 6.58451 13.3333 8 13.3333C9.41547 13.3333 10.7239 13.0566 11.6463 12.5954C12.3593 12.2389 12.6667 11.8756 12.6667 11.6667V10.2191ZM2 11.6667V5C2 3.34315 4.68629 2 8 2C11.3137 2 14 3.34315 14 5V11.6667C14 13.3235 11.3137 14.6667 8 14.6667C4.68629 14.6667 2 13.3235 2 11.6667ZM8 6.66667C9.41547 6.66667 10.7239 6.38995 11.6463 5.92875C12.3593 5.57227 12.6667 5.20895 12.6667 5C12.6667 4.79105 12.3593 4.42773 11.6463 4.07125C10.7239 3.61005 9.41547 3.33333 8 3.33333C6.58451 3.33333 5.27603 3.61005 4.35365 4.07125C3.64067 4.42773 3.33333 4.79105 3.33333 5C3.33333 5.20895 3.64067 5.57227 4.35365 5.92875C5.27603 6.38995 6.58451 6.66667 8 6.66667Z",fill:"black"})],-1)]))}const upt=mt(spt,[["render",lpt]]),PR=t=>yv(t.listExpression,o=>o.ChunkExpression,o=>o.ListExpression.LimitExpression,o=>o.ListExpression.DataSource).match({none:()=>Ji.None,some:([o,e,n,s])=>t.productShelfFactoryFromDataSource({limit:n.Limit,atLeast:e.ChunkSize,dataSourceExpression:s}).match({none:()=>Ji.None,some:i=>Va.Some(i)})}),dpt={class:"bootstrap-styles dropdown border rounded-2 bg-color-input"},mpt={id:"dropdownMenuAlgorithmSelector",class:"bootstrap-styles w-100 d-flex justify-content-between align-items-center py-1 px-3",type:"button","data-bs-toggle":"dropdown","aria-expanded":"false","data-test":"list-selector__select-button"},cpt={"data-test":"list-selector__current-value"},fpt={class:"bootstrap-styles dropdown-menu w-100 rounded-2","data-test":"list-selector__options","aria-labelledby":"dropdownMenuAlgorithmSelector"},ppt=["onClick"],Cpt={class:"bootstrap-styles d-block py-1 px-3 text-decoration-none text-reset cursor-pointer"},hpt=lt({__name:"ListSelector",props:{list:{},currentKey:{}},emits:["update:currentKey"],setup(t,{emit:o}){const e=t,n=Et({isDropdownMenuShown:!1,currentKey:e.currentKey}),s=a=>{n.currentKey=a},i=Yt(()=>e.list[n.currentKey]),r=o;return(a,d)=>(S(),E("div",dpt,[f("button",mpt,[f("span",cpt,k(i.value),1),P(jo)]),f("ul",fpt,[(S(!0),E(Lt,null,ge(e.list,(u,c)=>(S(),E("li",{key:c,class:"bootstrap-styles dropdown-item p-0","data-test":"list-selector__option",onClick:()=>{s(c),r("update:currentKey",c)}},[f("span",Cpt,k(u),1)],8,ppt))),128))])]))}}),gpt=t=>{for(const o in t)if(t[o]!==void 0)return o;throw Error("")},Fpt={class:"bootstrap-styles fw-bold mb-5"},ypt={class:"bootstrap-styles container-fluid mb-5 product-list-shelf-limiter"},Spt={class:"bootstrap-styles row gx-2"},bpt={class:"bootstrap-styles col-6"},Tpt={class:"bootstrap-styles input-group-prepend me-14 cursor-default"},Bpt={class:"input-group-text"},Vpt={class:"bootstrap-styles col-6"},Lpt={class:"bootstrap-styles input-group-prepend me-14 cursor-default"},Dpt={class:"input-group-text"},vpt=lt({__name:"ProductListShelfLimiter",props:{productsAtLeast:{},productsLimit:{}},emits:["update:productsAtLeast","update:productsLimit"],setup(t,{emit:o}){const e=t,n=Et({productsAtLeast:e.productsAtLeast,productsLimit:e.productsLimit,hasError:!1}),s=a=>{n.hasError=a>e.productsLimit||a===0,r("update:productsAtLeast",a)},i=a=>{n.hasError=a===0,r("update:productsLimit",a)},r=o;return Wi(()=>{n.hasError=e.productsAtLeast>e.productsLimit}),(a,d)=>(S(),E(Lt,null,[f("label",Fpt,k(T(_)("productShelfBuilderComponent.productShelfBuilders.productListShelfLimiterLabel")),1),f("div",ypt,[f("div",Spt,[f("div",bpt,[f("div",{class:at(["bootstrap-styles input-number__wrapper rounded-2 py-1 px-3 d-flex position-relative",{"has-error":n.hasError}]),"data-test":"product-shelf-limiter__products-at-least"},[f("div",Tpt,[f("span",Bpt,k(T(_)("productShelfBuilderComponent.productShelfBuilders.productsAtLeast")),1)]),P(go,{modelValue:e.productsAtLeast,"onUpdate:modelValue":d[0]||(d[0]=u=>s(u))},null,8,["modelValue"])],2)]),f("div",Vpt,[f("div",{class:at(["bootstrap-styles input-number__wrapper rounded-2 py-1 px-3 d-flex position-relative",{"has-error":n.hasError}]),"data-test":"product-shelf-limiter__products-limit"},[f("div",Lpt,[f("span",Dpt,k(T(_)("productShelfBuilderComponent.productShelfBuilders.productsLimit")),1)]),P(go,{modelValue:e.productsLimit,"onUpdate:modelValue":d[1]||(d[1]=u=>i(u))},null,8,["modelValue"])],2)])])])],64))}});const qr=mt(vpt,[["__scopeId","data-v-17f0cda8"]]),jT=t=>({_t:"SpecificStockIdSource",Value:t}),zi=()=>({_t:"DefaultStoreStockIdSource"}),Rpt=["value","placeholder"],xpt=["tabindex","onClick"],_pt={class:"bootstrap-styles d-block py-1 px-3 text-decoration-none text-reset cursor-pointer"},Ipt={key:0,class:"bootstrap-styles dropdown-item dropdown-item__empty p-0"},Ept={class:"bootstrap-styles d-block py-1 px-3 text-decoration-none text-reset cursor-default"},Ppt={for:"default-stock-checkbox",class:"bootstrap-styles user-select-none label__checkbox-input"},Npt=lt({__name:"StockSelector",props:{stockIdList:{},stockSource:{}},emits:["onStockSourceUpdated"],setup(t,{emit:o}){const e=t,n=g=>{switch(g._t){case"CustomerStockIdSource":return"";case"DefaultStoreStockIdSource":return"";case"SpecificStockIdSource":return g.Value}},s=Yt(()=>e.stockIdList.filter(g=>g.includes(i.searchPhrase))),i=Et({isDropdownMenuShown:!1,searchPhrase:n(e.stockSource),stockSource:e.stockSource}),r=g=>{g.target.checked?(i.searchPhrase="",i.stockSource=zi()):i.stockSource=jT(i.searchPhrase),h("onStockSourceUpdated",i.stockSource)},a=g=>{i.isDropdownMenuShown=!1,i.stockSource=jT(g),i.searchPhrase=g,h("onStockSourceUpdated",i.stockSource)},d=g=>{i.isDropdownMenuShown=!0,i.searchPhrase=g},u=g=>{g.relatedTarget===null&&(i.searchPhrase=n(i.stockSource),i.isDropdownMenuShown=!1)},c=Te(null),p=()=>{i.isDropdownMenuShown=!0,Gr(()=>{var g;c.value&&((g=c.value.querySelector(".dropdown-item.selected"))==null||g.scrollIntoView())})},h=o;return(g,y)=>(S(),E(Lt,null,[f("div",{class:at([{"pe-none":e.stockSource._t==="DefaultStoreStockIdSource"},"bootstrap-styles stock-selector dropdown d-flex justify-content-between w-100 border rounded-2 bg-color-input position-relative mb-5"])},[f("input",{class:at(["bootstrap-styles w-100 text-start py-1 px-3 stock-selector__input",{disabled:e.stockSource._t==="DefaultStoreStockIdSource"}]),value:e.stockSource._t==="DefaultStoreStockIdSource"?T(_)("productShelfBuilderComponent.productShelfBuilders.defaultStock"):i.searchPhrase,placeholder:T(_)("productShelfBuilderComponent.productShelfBuilders.stockPlaceholder"),onInput:y[0]||(y[0]=b=>d(b.target.value)),onFocusin:y[1]||(y[1]=()=>p()),onBlur:y[2]||(y[2]=b=>u(b))},null,42,Rpt),P(jo,{class:at(["stock-selector__icon",{"stock-selector__icon-rotate":i.isDropdownMenuShown}])},null,8,["class"]),i.stockSource._t==="SpecificStockIdSource"?(S(),E("ul",{key:0,ref_key:"refStockIdListWrapper",ref:c,class:at(["bootstrap-styles stock-selector__dropdown-menu w-100 rounded-2",{"d-block":i.isDropdownMenuShown}])},[(S(!0),E(Lt,null,ge(s.value,(b,v)=>(S(),E("li",{key:v,class:at(["bootstrap-styles dropdown-item p-0",{selected:b===i.stockSource.Value}]),tabindex:v,onClick:()=>a(b)},[f("span",_pt,k(b),1)],10,xpt))),128)),s.value.length===0?(S(),E("li",Ipt,[f("span",Ept,k(`${T(_)("productShelfBuilderComponent.productShelfBuilders.emptySearch")} "${i.searchPhrase}"`),1)])):St("",!0)],2)):St("",!0)],2),f("div",{class:at([{"disabled pe-none":e.stockIdList.length===0},"bootstrap-styles d-flex justify-content-start align-items-center"])},[P(ir,{id:"default-stock-checkbox",checked:e.stockSource._t==="DefaultStoreStockIdSource",onChange:y[3]||(y[3]=b=>r(b))},null,8,["checked"]),f("label",Ppt,k(T(_)("productShelfBuilderComponent.productShelfBuilders.defaultStockCheckbox")),1)],2)],64))}});const ts=mt(Npt,[["__scopeId","data-v-2adccb72"]]),wpt={class:"bootstrap-styles fw-bold mb-5"},Apt={class:"bootstrap-styles container-fluid mb-8"},Wpt={class:"bootstrap-styles border border-1 rounded bg-blue-selected py-5 px-3 d-flex justify-content-center align-items-center border-blue-selected mb-8 algorithm-description"},kpt={class:"bootstrap-styles me-3"},Mpt=lt({__name:"PopularProductListShelfBuilder",props:{deps:{},popularProductListShelf:{}},emits:["updatedPopularProductListShelf","cancel"],setup(t,{emit:o}){const e=t,n=Et({stockIdList:[],isStockLoaded:!1});n.isStockLoaded=!1,e.deps.getAllStockIds().then(i=>{n.stockIdList=i,n.isStockLoaded=!0});const s=o;return(i,r)=>(S(),E(Lt,null,[P(Jn,{class:at(["bootstrap-styles position-absolute top-50 start-50",{invisible:n.isStockLoaded}])},null,8,["class"]),f("div",{class:at(["bootstrap-styles container-fluid px-11 mt-8 position-relative",{invisible:!n.isStockLoaded}])},[f("label",wpt,k(T(_)("productShelfBuilderComponent.productShelfBuilders.stockLabel")),1),f("div",Apt,[P(ts,{stockIdList:n.stockIdList,stockSource:e.popularProductListShelf.StockSource,onOnStockSourceUpdated:r[0]||(r[0]=a=>{s("updatedPopularProductListShelf",{...e.popularProductListShelf,StockSource:a})})},null,8,["stockIdList","stockSource"])]),f("div",Wpt,[f("div",kpt,[f("i",null,[P(ur)])]),f("div",null,k(T(_)("productShelfBuilderComponent.productShelfBuilders.popularProductListDescription")),1)]),P(qr,{productsAtLeast:e.popularProductListShelf.AtLeast,productsLimit:e.popularProductListShelf.Limit,"onUpdate:productsAtLeast":r[1]||(r[1]=a=>s("updatedPopularProductListShelf",{...e.popularProductListShelf,AtLeast:a})),"onUpdate:productsLimit":r[2]||(r[2]=a=>s("updatedPopularProductListShelf",{...e.popularProductListShelf,Limit:a}))},null,8,["productsAtLeast","productsLimit"])],2)],64))}});const Opt=mt(Mpt,[["__scopeId","data-v-9f862dd9"]]),NR=vo,Lr=t=>NR(t).Match({CustomerStockId:()=>({_t:"CustomerStockIdSource"}),DefaultStoreStockId:()=>({_t:"DefaultStoreStockIdSource"}),SpecificStockId:o=>({_t:"SpecificStockIdSource",Value:o.Value})}),wR=vo,Hpt=vo,AR=t=>Va.Some(wR(t.dataSourceExpression).Match({NextBestOfferRecommendations:({StockSource:o})=>({NextBestOfferRecommendationsShelf:{Limit:t.limit,AtLeast:t.atLeast,StockSource:Lr(o)}}),ProductList:({ProductIds:o,StockSource:e})=>({ProductListShelf:{ProductInternalIDs:o,Limit:t.limit,AtLeast:t.atLeast,StockSource:Lr(e)}}),RelatedProductsFor:({ProductIds:o,StockSource:e})=>({RelatedProductsForProductListShelf:{ProductInternalIDs:o,Limit:t.limit,AtLeast:t.atLeast,StockSource:Lr(e)}}),AlternativeProductsFor:({ProductIds:o,StockSource:e})=>({AlternativeProductsForProductListShelf:{ProductInternalIDs:o,Limit:t.limit,AtLeast:t.atLeast,StockSource:Lr(e)}}),PopularProductsInCategories:({CategoryIds:o,StockSource:e})=>({PopularProductsInCategoryListShelf:{CategoryIdList:o,Limit:t.limit,AtLeast:t.atLeast,StockSource:Lr(e)}}),Popular:({StockSource:o})=>({PopularProductsShelf:{Limit:t.limit,AtLeast:t.atLeast,StockSource:Lr(o)}}),Latest:({StockSource:o})=>({LatestProductsShelf:{Limit:t.limit,AtLeast:t.atLeast,StockSource:Lr(o)}}),SaleByPopular:({StockSource:o})=>({SaleByPopularProductsShelf:{Limit:t.limit,AtLeast:t.atLeast,StockSource:Lr(o)}}),SaleByLatest:({StockSource:o})=>({SaleByLatestProductsShelf:{Limit:t.limit,AtLeast:t.atLeast,StockSource:Lr(o)}})})),Dr=t=>({ChunkExpression:{ChunkSize:t.atLeast,ListExpression:{LimitExpression:{Limit:t.limit,ListExpression:{DataSource:t.dataSource}}}}}),vr=t=>{switch(t._t){case"CustomerStockIdSource":return{CustomerStockId:{}};case"DefaultStoreStockIdSource":return{DefaultStoreStockId:{}};case"SpecificStockIdSource":return{SpecificStockId:{Value:t.Value}};default:return Mi(t)}},$pt=t=>Hpt(t).Match({NextBestOfferRecommendationsShelf:({AtLeast:o,Limit:e,StockSource:n})=>Dr({limit:e,atLeast:o,dataSource:{NextBestOfferRecommendations:{StockSource:vr(n)}}}),ProductListShelf:({ProductInternalIDs:o,AtLeast:e,Limit:n,StockSource:s})=>Dr({limit:n,atLeast:e,dataSource:{ProductList:{ProductIds:o,StockSource:vr(s)}}}),RelatedProductsForProductListShelf:({ProductInternalIDs:o,AtLeast:e,Limit:n,StockSource:s})=>Dr({limit:n,atLeast:e,dataSource:{RelatedProductsFor:{ProductIds:o,StockSource:vr(s)}}}),AlternativeProductsForProductListShelf:({ProductInternalIDs:o,AtLeast:e,Limit:n,StockSource:s})=>Dr({limit:n,atLeast:e,dataSource:{AlternativeProductsFor:{ProductIds:o,StockSource:vr(s)}}}),PopularProductsInCategoryListShelf:({CategoryIdList:o,AtLeast:e,Limit:n,StockSource:s})=>Dr({limit:n,atLeast:e,dataSource:{PopularProductsInCategories:{CategoryIds:o,StockSource:vr(s)}}}),PopularProductsShelf:({AtLeast:o,Limit:e,StockSource:n})=>Dr({limit:e,atLeast:o,dataSource:{Popular:{StockSource:vr(n)}}}),LatestProductsShelf:({AtLeast:o,Limit:e,StockSource:n})=>Dr({limit:e,atLeast:o,dataSource:{Latest:{StockSource:vr(n)}}}),SaleByPopularProductsShelf:({AtLeast:o,Limit:e,StockSource:n})=>Dr({limit:e,atLeast:o,dataSource:{SaleByPopular:{StockSource:vr(n)}}}),SaleByLatestProductsShelf:({AtLeast:o,Limit:e,StockSource:n})=>Dr({limit:e,atLeast:o,dataSource:{SaleByLatest:{StockSource:vr(n)}}})}),Upt={class:"bootstrap-styles container-fluid px-11 mt-8"},jpt={class:"bootstrap-styles fw-bold mb-5"},zpt={class:"bootstrap-styles container-fluid mb-8"},Gpt={class:"bootstrap-styles border border-1 rounded bg-blue-selected py-5 px-3 d-flex justify-content-center align-items-center border-blue-selected mb-8 algorithm-description"},Kpt={class:"bootstrap-styles me-3"},Ypt=lt({__name:"LatestProductListShelfBuilder",props:{deps:{},latestProductListShelf:{}},emits:["updatedLatestProductListShelf","cancel"],setup(t,{emit:o}){const e=t,n=Et({stockIdList:[]});e.deps.getAllStockIds().then(i=>{n.stockIdList=i});const s=o;return(i,r)=>(S(),E("div",Upt,[f("label",jpt,k(T(_)("productShelfBuilderComponent.productShelfBuilders.stockLabel")),1),f("div",zpt,[P(ts,{stockIdList:n.stockIdList,stockSource:e.latestProductListShelf.StockSource,onOnStockSourceUpdated:r[0]||(r[0]=a=>{s("updatedLatestProductListShelf",{...e.latestProductListShelf,StockSource:a})})},null,8,["stockIdList","stockSource"])]),f("div",Gpt,[f("div",Kpt,[f("i",null,[P(ur)])]),Ot(f("div",null,null,512),[[T(Ai),T(_)("productShelfBuilderComponent.productShelfBuilders.latestProductListDescription")]])]),P(qr,{productsAtLeast:e.latestProductListShelf.AtLeast,productsLimit:e.latestProductListShelf.Limit,"onUpdate:productsAtLeast":r[1]||(r[1]=a=>s("updatedLatestProductListShelf",{...e.latestProductListShelf,AtLeast:a})),"onUpdate:productsLimit":r[2]||(r[2]=a=>s("updatedLatestProductListShelf",{...e.latestProductListShelf,Limit:a}))},null,8,["productsAtLeast","productsLimit"])]))}});const Zpt=mt(Ypt,[["__scopeId","data-v-d6abe5ff"]]),Jpt={class:"bootstrap-styles container-fluid px-11 mt-8"},Xpt={class:"bootstrap-styles fw-bold mb-5"},Qpt={class:"bootstrap-styles container-fluid mb-8"},qpt={class:"bootstrap-styles border border-1 rounded bg-blue-selected py-5 px-3 d-flex justify-content-center align-items-center border-blue-selected mb-8 algorithm-description"},tCt={class:"bootstrap-styles me-3"},eCt=lt({__name:"SaleByPopularProductListShelfBuilder",props:{deps:{},saleByPopularProductListShelf:{}},emits:["updatedSaleByPopularProductListShelf","cancel"],setup(t,{emit:o}){const e=t,n=Et({stockIdList:[]});e.deps.getAllStockIds().then(i=>{n.stockIdList=i});const s=o;return(i,r)=>(S(),E("div",Jpt,[f("label",Xpt,k(T(_)("productShelfBuilderComponent.productShelfBuilders.stockLabel")),1),f("div",Qpt,[P(ts,{stockIdList:n.stockIdList,stockSource:e.saleByPopularProductListShelf.StockSource,onOnStockSourceUpdated:r[0]||(r[0]=a=>{s("updatedSaleByPopularProductListShelf",{...e.saleByPopularProductListShelf,StockSource:a})})},null,8,["stockIdList","stockSource"])]),f("div",qpt,[f("div",tCt,[f("i",null,[P(ur)])]),Ot(f("div",null,null,512),[[T(Ai),T(_)("productShelfBuilderComponent.productShelfBuilders.saleByPopularProductListDescription")]])]),P(qr,{productsAtLeast:e.saleByPopularProductListShelf.AtLeast,productsLimit:e.saleByPopularProductListShelf.Limit,"onUpdate:productsAtLeast":r[1]||(r[1]=a=>s("updatedSaleByPopularProductListShelf",{...e.saleByPopularProductListShelf,AtLeast:a})),"onUpdate:productsLimit":r[2]||(r[2]=a=>s("updatedSaleByPopularProductListShelf",{...e.saleByPopularProductListShelf,Limit:a}))},null,8,["productsAtLeast","productsLimit"])]))}});const oCt=mt(eCt,[["__scopeId","data-v-eb00a4b2"]]),nCt={class:"bootstrap-styles container-fluid px-11 mt-8"},iCt={class:"bootstrap-styles fw-bold mb-5"},rCt={class:"bootstrap-styles container-fluid mb-8"},sCt={class:"bootstrap-styles border border-1 rounded bg-blue-selected py-5 px-3 d-flex justify-content-center align-items-center border-blue-selected mb-8 algorithm-description"},aCt={class:"bootstrap-styles me-3"},lCt=lt({__name:"SaleByLatestProductListShelfBuilder",props:{saleByLatestProductListShelf:{},deps:{}},emits:["updatedSaleByLatestProductListShelf","cancel"],setup(t,{emit:o}){const e=t,n=Et({stockIdList:[]});e.deps.getAllStockIds().then(i=>{n.stockIdList=i});const s=o;return(i,r)=>(S(),E("div",nCt,[f("label",iCt,k(T(_)("productShelfBuilderComponent.productShelfBuilders.stockLabel")),1),f("div",rCt,[P(ts,{stockIdList:n.stockIdList,stockSource:e.saleByLatestProductListShelf.StockSource,onOnStockSourceUpdated:r[0]||(r[0]=a=>{s("updatedSaleByLatestProductListShelf",{...e.saleByLatestProductListShelf,StockSource:a})})},null,8,["stockIdList","stockSource"])]),f("div",sCt,[f("div",aCt,[f("i",null,[P(ur)])]),Ot(f("div",null,null,512),[[T(Ai),T(_)("productShelfBuilderComponent.productShelfBuilders.saleByLatestProductListDescription")]])]),P(qr,{productsAtLeast:e.saleByLatestProductListShelf.AtLeast,productsLimit:e.saleByLatestProductListShelf.Limit,"onUpdate:productsAtLeast":r[1]||(r[1]=a=>s("updatedSaleByLatestProductListShelf",{...e.saleByLatestProductListShelf,AtLeast:a})),"onUpdate:productsLimit":r[2]||(r[2]=a=>s("updatedSaleByLatestProductListShelf",{...e.saleByLatestProductListShelf,Limit:a}))},null,8,["productsAtLeast","productsLimit"])]))}});const uCt=mt(lCt,[["__scopeId","data-v-48bf1030"]]),dCt={},mCt={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"};function cCt(t,o){return S(),E("svg",mCt,o[0]||(o[0]=[f("path",{d:"M12.0208 11.0778L14.876 13.9329L13.9332 14.8757L11.078 12.0206C10.0514 12.8419 8.7495 13.3333 7.3335 13.3333C4.0215 13.3333 1.3335 10.6453 1.3335 7.33325C1.3335 4.02125 4.0215 1.33325 7.3335 1.33325C10.6455 1.33325 13.3335 4.02125 13.3335 7.33325C13.3335 8.74925 12.8422 10.0512 12.0208 11.0778ZM10.6833 10.5831C11.4985 9.74298 12.0002 8.59698 12.0002 7.33325C12.0002 4.75492 9.91183 2.66659 7.3335 2.66659C4.75516 2.66659 2.66683 4.75492 2.66683 7.33325C2.66683 9.91158 4.75516 11.9999 7.3335 11.9999C8.59723 11.9999 9.74323 11.4983 10.5834 10.6831L10.6833 10.5831Z",fill:"var(--gray-500)"},null,-1)]))}const WR=mt(dCt,[["render",cCt]]),fCt={},pCt={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function CCt(t,o){return S(),E("svg",pCt,o[0]||(o[0]=[f("path",{d:"M12.0194 11.0778L14.8745 13.9329L13.9317 14.8757L11.0766 12.0206C10.05 12.8419 8.74803 13.3333 7.33203 13.3333C4.02003 13.3333 1.33203 10.6453 1.33203 7.33325C1.33203 4.02125 4.02003 1.33325 7.33203 1.33325C10.644 1.33325 13.332 4.02125 13.332 7.33325C13.332 8.74925 12.8407 10.0512 12.0194 11.0778ZM10.6818 10.5831C11.497 9.74298 11.9987 8.59698 11.9987 7.33325C11.9987 4.75492 9.91036 2.66659 7.33203 2.66659C4.7537 2.66659 2.66536 4.75492 2.66536 7.33325C2.66536 9.91158 4.7537 11.9999 7.33203 11.9999C8.59576 11.9999 9.74176 11.4983 10.5819 10.6831L10.6818 10.5831Z",fill:"white"},null,-1)]))}const kR=mt(fCt,[["render",CCt]]),hCt={class:"bootstrap-styles row g-0 mb-7"},gCt={class:"bootstrap-styles col-8 d-flex justify-content-between align-items-center"},FCt={class:"bootstrap-styles bg-color-input border rounded-2 py-1 px-3 d-flex w-100"},yCt={class:"bootstrap-styles d-flex justify-content-center align-items-center me-1"},SCt=["placeholder"],bCt={class:"bootstrap-styles ps-1 me-7"},TCt={key:0,class:"bootstrap-styles d-flex justify-content-center align-items-center icon-fill"},BCt={class:"bootstrap-styles col-4"},VCt={class:"bootstrap-styles d-flex justify-content-center align-items-center me-1 icon-stroke"},LCt=lt({__name:"ProductSearchBar",props:{isButtonAddAllEnable:{type:Boolean},isLoaded:{type:Boolean}},emits:["search","addAllFoundProducts"],setup(t,{emit:o}){const e=t,n=Et({phrase:""}),s=()=>{n.phrase.length&&i("search",n.phrase)},i=o;return(r,a)=>(S(),E("div",hCt,[f("div",gCt,[f("div",FCt,[f("i",yCt,[P(WR)]),f("form",{class:"bootstrap-styles w-100 search-form",onSubmit:De(s,["prevent"])},[Ot(f("input",{"onUpdate:modelValue":a[0]||(a[0]=d=>n.phrase=d),type:"text",class:"bootstrap-styles w-100",placeholder:T(_)("productListComposerModalWindow.searchInputPlaceholder"),required:""},null,8,SCt),[[Pn,n.phrase]])],32),Ot(f("button",{class:"bootstrap-styles px-14",onClick:a[1]||(a[1]=d=>n.phrase="")},a[3]||(a[3]=[f("i",{class:"bootstrap-styles d-flex justify-content-center align-items-center icon-hover-stroke"},[f("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 16 16",fill:"none"},[f("path",{d:"M3 3L13 13",stroke:"var(--gray-500)"}),f("path",{d:"M13 3L3 13",stroke:"var(--gray-500)"})])],-1)]),512),[[Pa,n.phrase.length>0]])]),f("div",bCt,[f("button",{class:at([{"button__active-700":n.phrase.length,button__locked:!e.isLoaded||!n.phrase.length},"bootstrap-styles d-flex justify-content-center align-items-center py-1 px-3 rounded-2 button__disabled-700"]),onClick:s},[e.isLoaded?(S(),E("i",TCt,[P(kR)])):(S(),st(lr,{key:1}))],2)])]),f("div",BCt,[f("button",{class:at([{"button__active-100 button__hover-blue-100":e.isButtonAddAllEnable,button__locked:!e.isButtonAddAllEnable},"bootstrap-styles d-flex justify-content-center align-center py-1 px-3 rounded-2 bg-blue-selected button__disabled-100 w-100 me-1"]),onClick:a[2]||(a[2]=()=>i("addAllFoundProducts"))},[f("i",VCt,[P(Yf)]),je(" "+k(T(_)("productListComposerModalWindow.transferAllButton")),1)],2)])]))}});const DCt=mt(LCt,[["__scopeId","data-v-4461b11f"]]),vCt={},RCt={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function xCt(t,o){return S(),E("svg",RCt,o[0]||(o[0]=[f("path",{d:"M5 11.75C5 7.89453 8.11719 4.75 12 4.75C15.8555 4.75 19 7.89453 19 11.75C19 15.6328 15.8555 18.75 12 18.75C8.11719 18.75 5 15.6328 5 11.75ZM12 14.8125C12.3555 14.8125 12.6562 14.5391 12.6562 14.1562V12.4062H14.4062C14.7617 12.4062 15.0625 12.1328 15.0625 11.75C15.0625 11.3945 14.7617 11.0938 14.4062 11.0938H12.6562V9.34375C12.6562 8.98828 12.3555 8.6875 12 8.6875C11.6172 8.6875 11.3438 8.98828 11.3438 9.34375V11.0938H9.59375C9.21094 11.0938 8.9375 11.3945 8.9375 11.75C8.9375 12.1328 9.21094 12.4062 9.59375 12.4062H11.3438V14.1562C11.3438 14.5391 11.6172 14.8125 12 14.8125Z",fill:"var(--blue-400)"},null,-1)]))}const MR=mt(vCt,[["render",xCt]]),_Ct={},ICt={width:"48",height:"49",viewBox:"0 0 48 49",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function ECt(t,o){return S(),E("svg",ICt,o[0]||(o[0]=[f("rect",{x:"2",y:"2.5",width:"44",height:"44",rx:"2.61259",fill:"#F6F6F6"},null,-1),f("path",{d:"M17.9952 30.5C17.63 30.5 17.334 30.2034 17.334 29.8377V19.1623C17.334 18.7965 17.6375 18.5 17.9952 18.5H30.0061C30.3713 18.5 30.6673 18.7966 30.6673 19.1623V29.8377C30.6673 30.2035 30.3638 30.5 30.0061 30.5H17.9952ZM29.334 26.5V19.8333H18.6673V29.1667L25.334 22.5L29.334 26.5ZM29.334 28.3856L25.334 24.3856L20.5529 29.1667H29.334V28.3856ZM21.334 23.8333C20.5976 23.8333 20.0007 23.2364 20.0007 22.5C20.0007 21.7636 20.5976 21.1667 21.334 21.1667C22.0704 21.1667 22.6673 21.7636 22.6673 22.5C22.6673 23.2364 22.0704 23.8333 21.334 23.8333Z",fill:"#999999"},null,-1)]))}const Jg=mt(_Ct,[["render",ECt]]),PCt={class:"bootstrap-styles container-fluid product-list-item"},NCt={class:"bootstrap-styles row g-0 py-1"},wCt={class:"bootstrap-styles col-1"},ACt={class:"bootstrap-styles w-100 d-flex justify-content-center align-items-center product-list-item__image"},WCt=["src","alt"],kCt={class:"bootstrap-styles col-10 ps-3"},MCt={class:"bootstrap-styles h-100 d-flex flex-column align-items-start justify-content-center"},OCt={key:0,class:"bootstrap-styles mb-1 product-list-item__not-available"},HCt={class:"bootstrap-styles mb-1 text-gray-600"},$Ct={"data-test":"searched-product-list__item-id"},UCt={class:"bootstrap-styles","data-test":"searched-product-list__item-name"},jCt={class:"bootstrap-styles col-1"},zCt={class:"bootstrap-styles w-100 h-100 d-flex justify-content-end align-items-center pe-14"},GCt=lt({__name:"SearchedProductListItem",props:{product:{}},emits:["addSearchedProduct"],setup(t,{emit:o}){const e=t,n=Et({isBrokenImage:!1}),s=o;return(i,r)=>(S(),E("div",PCt,[f("div",NCt,[f("div",wCt,[f("div",ACt,[n.isBrokenImage?(S(),st(Jg,{key:1})):(S(),E("img",{key:0,class:"bootstrap-styles mw-100 mh-100",src:e.product.PictureUrl,alt:e.product.Name,"data-test":"searched-product-list__item-image",onError:r[0]||(r[0]=()=>n.isBrokenImage=!0)},null,40,WCt))])]),f("div",kCt,[f("div",MCt,[e.product.IsAvailable?St("",!0):(S(),E("div",OCt,k(T(_)("productListComposerModalWindow.notAvailableLabel")),1)),f("div",HCt,[r[2]||(r[2]=f("span",{class:"bootstrap-styles me-14"},"ID",-1)),f("span",$Ct,k(e.product.ExternalProductId),1)]),f("div",UCt,k(e.product.Name),1)])]),f("div",jCt,[f("div",zCt,[f("button",{"data-test":"searched-product-list__item-add-button",onClick:r[1]||(r[1]=a=>s("addSearchedProduct"))},[f("i",null,[P(MR)])])])])])]))}});const KCt=mt(GCt,[["__scopeId","data-v-b301cf42"]]),YCt={class:"bootstrap-styles d-flex justify-content-center align-items-center py-7 h-100 overflow-hidden"},ZCt={class:"bootstrap-styles empty-product-list d-flex flex-column justify-content-center align-items-center"},JCt={class:"bootstrap-styles bg-color-gray rounded-2 p-3"},XCt={class:"bootstrap-styles text-gray-600 p-3"},QCt=lt({__name:"EmptySearchProductList",setup(t){return(o,e)=>(S(),E("div",YCt,[f("div",ZCt,[e[0]||(e[0]=ar('<div class="bootstrap-styles"><i><svg width="29" height="145" viewBox="0 0 29 145" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1.34301 0.806801C1.39524 0.535643 1.65739 0.358164 1.92855 0.410391L6.34733 1.26148C6.61849 1.31371 6.79597 1.57587 6.74374 1.84702C6.69152 2.11818 6.42936 2.29566 6.1582 2.24343L2.23039 1.48691L1.47387 5.41472C1.42164 5.68587 1.15949 5.86335 0.888327 5.81113C0.617168 5.7589 0.439689 5.49674 0.491917 5.22558L1.34301 0.806801ZM2.24802 0.621063C15.8989 20.785 26.0105 46.9369 28.2169 72.9399C30.4235 98.9456 24.7247 124.849 6.69023 144.437L5.95455 143.76C23.7465 124.435 29.4109 98.8391 27.2205 73.0245C25.0298 47.2071 14.9839 21.2171 1.41994 1.18167L2.24802 0.621063Z" fill="url(#paint0_linear_2569_17987)"></path><defs><linearGradient id="paint0_linear_2569_17987" x1="1.71323" y1="0.434833" x2="8.14345" y2="145.179" gradientUnits="userSpaceOnUse"><stop stop-color="#ADB2B8"></stop><stop offset="1" stop-color="#DBE1E8" stop-opacity="0"></stop></linearGradient></defs></svg></i></div>',1)),f("div",JCt,k(T(_)("productListComposerModalWindow.emptySearchProductListTopText")),1),f("div",XCt,k(T(_)("productListComposerModalWindow.emptySearchProductListBottomText")),1),e[1]||(e[1]=f("div",{class:"bootstrap-styles d-flex align-items-end"},[f("span",{class:"bootstrap-styles bg-color-gray rounded-2 p-3 me-1"},"123456"),je(", "),f("span",{class:"bootstrap-styles bg-color-gray rounded-2 p-3 ms-1 me-1"},"123457"),je(", "),f("span",{class:"bootstrap-styles bg-color-gray rounded-2 p-3 ms-1"},"123458")],-1))])]))}}),qCt={key:0,class:"bootstrap-styles d-flex flex-column scrollable","data-test":"searched-product-list"},tht=lt({__name:"SearchedProductList",props:{searchedProductList:{}},emits:["addSearchedProduct"],setup(t,{emit:o}){const e=t,n=o;return(s,i)=>e.searchedProductList.length?(S(),E("div",qCt,[(S(!0),E(Lt,null,ge(e.searchedProductList,(r,a)=>(S(),st(KCt,{key:r.InternalProductId,product:r,index:a+1,onAddSearchedProduct:d=>n("addSearchedProduct",r)},null,8,["product","index","onAddSearchedProduct"]))),128))])):(S(),st(QCt,{key:1}))}});const eht=mt(tht,[["__scopeId","data-v-4cc75e29"]]),oht={class:"bootstrap-styles col-6 border-end h-100"},nht={class:"bootstrap-styles container-fluid g-0 px-11 py-8 d-flex flex-column h-100"},iht={key:1,class:"bootstrap-styles d-flex justify-content-center align-items-center h-100"},rht=lt({__name:"ProductSearchComponent",props:{deps:{},excluded:{},stockSource:{}},emits:["selected"],setup(t,{emit:o}){const e=t,n=a=>a.filter(d=>e.excluded.every(u=>d.InternalProductId!==u)),s=Et({foundProducts:[],isLoaded:!0}),i=Ls.debounce(a=>{s.isLoaded=!1,e.deps.findProductsByPhrase(a,e.stockSource).then(d=>{s.foundProducts=d,s.isLoaded=!0})},50),r=o;return(a,d)=>(S(),E("div",oht,[f("div",nht,[P(DCt,{isButtonAddAllEnable:n(s.foundProducts).length>0,isLoaded:s.isLoaded,onAddAllFoundProducts:d[0]||(d[0]=()=>{r("selected",n(s.foundProducts).map(u=>u.InternalProductId))}),onSearch:d[1]||(d[1]=u=>T(i)(u))},null,8,["isButtonAddAllEnable","isLoaded"]),s.isLoaded?(S(),st(eht,{key:0,searchedProductList:n(s.foundProducts),onAddSearchedProduct:d[2]||(d[2]=u=>r("selected",[u.InternalProductId]))},null,8,["searchedProductList"])):(S(),E("div",iht,k(T(_)("productListComposerModalWindow.searching")),1))])]))}}),OR=t=>{const o=t.number%10===1&&t.number%100!==1,e=t.number%10>=2&&t.number%10<=4&&(t.number%100<10||t.number%100>=20);return o?t.titles.one:e?t.titles.few:t.titles.many},sht={},aht={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function lht(t,o){return S(),E("svg",aht,o[0]||(o[0]=[f("path",{d:"M5 11.75C5 7.89453 8.11719 4.75 12 4.75C15.8555 4.75 19 7.89453 19 11.75C19 15.6328 15.8555 18.75 12 18.75C8.11719 18.75 5 15.6328 5 11.75ZM9.78516 10.4648L11.0703 11.75L9.78516 13.0352C9.51172 13.3086 9.51172 13.7188 9.78516 13.9648C10.0312 14.2383 10.4414 14.2383 10.6875 13.9648L11.9727 12.6797L13.2852 13.9648C13.5312 14.2383 13.9414 14.2383 14.1875 13.9648C14.4609 13.7188 14.4609 13.3086 14.1875 13.0352L12.9023 11.75L14.1875 10.4648C14.4609 10.2188 14.4609 9.80859 14.1875 9.53516C13.9414 9.28906 13.5312 9.28906 13.2852 9.53516L11.9727 10.8477L10.6875 9.53516C10.4414 9.28906 10.0312 9.28906 9.78516 9.53516C9.51172 9.80859 9.51172 10.2188 9.78516 10.4648Z",fill:"#E23A4F"},null,-1)]))}const np=mt(sht,[["render",lht]]),uht={class:"bootstrap-styles container-fluid product-list-item"},dht={class:"bootstrap-styles row g-0 py-1"},mht={class:"bootstrap-styles col-1"},cht={class:"bootstrap-styles w-100 h-100 d-flex justify-content-start align-items-center px-14","data-test":"selected-product-list__item-index"},fht={class:"bootstrap-styles col-1"},pht={class:"bootstrap-styles w-100 d-flex justify-content-center align-items-center product-list-item__image"},Cht=["src","alt"],hht={class:"bootstrap-styles col-9 ps-3"},ght={class:"bootstrap-styles h-100 d-flex flex-column align-items-start justify-content-center"},Fht={key:0,class:"bootstrap-styles mb-1 product-list-item__not-available"},yht={class:"bootstrap-styles mb-1 text-gray-600"},Sht={"data-test":"selected-product-list__item-id"},bht={class:"bootstrap-styles","data-test":"selected-product-list__item-name"},Tht={class:"bootstrap-styles col-1"},Bht={class:"bootstrap-styles w-100 h-100 d-flex justify-content-end align-items-center pe-14"},Vht=lt({__name:"SelectedProductListItem",props:{index:{},product:{}},emits:["remove"],setup(t,{emit:o}){const e=t,n=Et({isBrokenImage:!1}),s=o;return(i,r)=>(S(),E("div",uht,[f("div",dht,[f("div",mht,[f("div",cht,k(e.index),1)]),f("div",fht,[f("div",pht,[n.isBrokenImage?(S(),st(Jg,{key:1})):(S(),E("img",{key:0,class:"bootstrap-styles mw-100 mh-100",src:e.product.PictureUrl,alt:e.product.Name,"data-test":"selected-product-list__item-image",onError:r[0]||(r[0]=()=>n.isBrokenImage=!0)},null,40,Cht))])]),f("div",hht,[f("div",ght,[e.product.IsAvailable?St("",!0):(S(),E("div",Fht,k(T(_)("productListComposerModalWindow.notAvailableLabel")),1)),f("div",yht,[r[2]||(r[2]=f("span",{class:"bootstrap-styles me-14"},"ID",-1)),f("span",Sht,k(e.product.ExternalProductId),1)]),f("div",bht,k(e.product.Name),1)])]),f("div",Tht,[f("div",Bht,[f("button",{"data-test":"selected-product-list__item-remove-button",onClick:r[1]||(r[1]=a=>s("remove"))},[f("i",null,[P(np)])])])])])]))}});const Lht=mt(Vht,[["__scopeId","data-v-c2917fe1"]]),Dht={class:"bootstrap-styles d-flex flex-column scrollable"},vht=lt({__name:"SelectedProductList",props:{selectedProductList:{}},emits:["remove"],setup(t,{emit:o}){const e=t,n=o;return(s,i)=>(S(),E("div",Dht,[(S(!0),E(Lt,null,ge(e.selectedProductList,(r,a)=>(S(),st(Lht,{key:r.InternalProductId,product:r,index:a+1,onRemove:d=>n("remove",r.InternalProductId)},null,8,["product","index","onRemove"]))),128))]))}});const Rht=mt(vht,[["__scopeId","data-v-90ef23ff"]]),xht={class:"bootstrap-styles container-fluid g-0 h-100 empty-product-list"},_ht={class:"bootstrap-styles d-flex flex-column justify-content-center align-items-center h-100"},Iht=lt({__name:"EmptyProductList",setup(t){return(o,e)=>(S(),E("div",xht,[f("div",_ht,[e[0]||(e[0]=ar('<i class="bootstrap-styles mb-5"><svg width="100" height="101" viewBox="0 0 100 101" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M17.5703 20.5264C17.5703 13.8057 23.0186 8.35742 29.7393 8.35742H63.4097L82.2847 26.6932V80.8564C82.2847 87.5771 76.8364 93.0254 70.1157 93.0254H29.7393C23.0186 93.0254 17.5703 87.5771 17.5703 80.8564V20.5264Z" fill="#E3E9FC"></path><path d="M69.3144 26.6934H82.1895L63.3144 8.35762V20.6934C63.3144 24.0071 66.0007 26.6934 69.3144 26.6934Z" fill="#A5B4E3"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M49.9997 44.0713C49.2107 44.0713 48.5711 44.7109 48.5711 45.4999V50.4999H43.5711C42.7822 50.4999 42.1426 51.1395 42.1426 51.9284C42.1426 52.7174 42.7822 53.357 43.5711 53.357H48.5711V58.357C48.5711 59.146 49.2107 59.7856 49.9997 59.7856C50.7887 59.7856 51.4283 59.146 51.4283 58.357V53.357H56.4283C57.2173 53.357 57.8569 52.7174 57.8569 51.9284C57.8569 51.1395 57.2173 50.4999 56.4283 50.4999H51.4283V45.4999C51.4283 44.7109 50.7887 44.0713 49.9997 44.0713Z" fill="#A5B4E3"></path></svg></i>',1)),f("div",null,k(T(_)("productListComposerModalWindow.emptySelectedProductList")),1)])]))}}),Eht={class:"bootstrap-styles col-6 h-100"},Pht={key:0,class:"bootstrap-styles container-fluid g-0 px-11 py-9 d-flex flex-column h-100"},Nht={class:"bootstrap-styles mb-7 mt-1"},wht={class:"bootstrap-styles d-flex justify-content-between align-items-center"},Aht={class:"bootstrap-styles fw-bold mb-0"},Wht={class:"bootstrap-styles d-flex align-items-center gap-5"},kht={class:"bootstrap-styles text-gray-600"},Mht={key:1,class:"bootstrap-styles d-flex justify-content-center align-items-center h-100"},Oht=lt({__name:"SelectProductComponent",props:{deps:{},productIdList:{},stockSource:{}},emits:["remove","onProductListRemoved"],setup(t,{emit:o}){const e=t,n=Et({productList:[],isLoaded:!1});Wi(()=>{n.isLoaded=!1,e.deps.getProductsByIDs(e.productIdList,e.stockSource).then(i=>{n.productList=i,n.isLoaded=!0})}),qe(()=>e.productIdList,()=>{n.isLoaded=!1,e.deps.getProductsByIDs(e.productIdList,e.stockSource).then(i=>{n.productList=i,n.isLoaded=!0})});const s=o;return(i,r)=>(S(),E("div",Eht,[e.productIdList.length?(S(),E("div",Pht,[f("div",Nht,[f("div",wht,[f("h6",Aht,k(T(_)("productListComposerModalWindow.selectedProductListTitle")),1),f("div",Wht,[f("div",kht,k(e.productIdList.length)+" "+k(T(OR)({number:e.productIdList.length,titles:{one:T(_)("productListComposerModalWindow.selectedProductListDeclensions.one"),few:T(_)("productListComposerModalWindow.selectedProductListDeclensions.few"),many:T(_)("productListComposerModalWindow.selectedProductListDeclensions.many")}})),1),f("button",{class:"bootstrap-styles d-flex justify-content-center align-center py-1 px-3 me-3 rounded-2 bg-blue-selected button__hover-blue-100 text-color-selected",onClick:r[0]||(r[0]=a=>s("onProductListRemoved"))},k(T(_)("productListComposerModalWindow.clearListButton")),1)])])]),n.isLoaded?(S(),st(Rht,{key:0,selectedProductList:n.productList,onRemove:r[1]||(r[1]=a=>s("remove",a))},null,8,["selectedProductList"])):(S(),E("div",Mht,k(T(_)("productListComposerModalWindow.loading")),1))])):(S(),st(Iht,{key:1}))]))}}),Hht={class:"bootstrap-styles container-fluid g-0 d-flex flex-column product-list-composer-modal-window__body"},$ht={class:"bootstrap-styles row g-0 flex-grow-1 h-100 d-flex"},Uht=lt({__name:"ProductListComposerModalWindow",props:{deps:{},stockSource:{},internalIProductDs:{}},emits:["cancel","apply"],setup(t,{emit:o}){const e=t,n=Et({selectedProductIDs:[...e.internalIProductDs]}),s=()=>{i("cancel")},i=o;return(r,a)=>(S(),st(yn,{class:"product-list-composer-modal-window",headerText:T(_)("productListComposerModalWindow.title"),onClose:a[5]||(a[5]=()=>s())},{body:le(()=>[f("div",Hht,[f("div",$ht,[P(rht,{excluded:n.selectedProductIDs,deps:e.deps.productSearchComponentDeps,stockSource:e.stockSource,onSelected:a[0]||(a[0]=d=>{n.selectedProductIDs=[...n.selectedProductIDs,...d]})},null,8,["excluded","deps","stockSource"]),P(Oht,{productIdList:n.selectedProductIDs,deps:e.deps.selectProductComponentDeps,stockSource:e.stockSource,onRemove:a[1]||(a[1]=d=>{n.selectedProductIDs=n.selectedProductIDs.filter(u=>u!==d)}),onOnProductListRemoved:a[2]||(a[2]=()=>n.selectedProductIDs=[])},null,8,["productIdList","deps","stockSource"])])])]),"footer-actions":le(()=>[f("button",{class:"modal-footer__button bootstrap-styles d-flex justify-content-center align-center py-1 px-3 me-3 rounded-2 bg-blue-selected button__hover-blue-100 text-color-selected",onClick:a[3]||(a[3]=De(d=>s(),["stop"]))},k(T(_)("productListComposerModalWindow.cancelButton")),1),f("button",{class:"modal-footer__button bootstrap-styles d-flex justify-content-center align-center py-1 px-3 rounded-2 bg-color-selected text-white cursor-pointer button__hover-blue-400",onClick:a[4]||(a[4]=De(d=>i("apply",n.selectedProductIDs),["stop"]))},k(T(_)("productListComposerModalWindow.applyButton")),1)]),_:1},8,["headerText"]))}});const Xg=mt(Uht,[["__scopeId","data-v-c92c5143"]]),jht={class:"bootstrap-styles container-fluid product-list-item"},zht={class:"bootstrap-styles row g-0 py-1"},Ght={class:"bootstrap-styles col-1 m-auto"},Kht={class:"bootstrap-styles w-100 h-100 d-flex flex-column justify-content-start align-items-center px-14"},Yht={class:"product-list-item__sort-button"},Zht={"data-test":"product-list-item__index"},Jht={class:"product-list-item__sort-button"},Xht={class:"bootstrap-styles col-1 m-auto"},Qht={class:"bootstrap-styles w-100 d-flex justify-content-center align-items-center product-list-item__image"},qht=["alt","src"],t0t={class:"bootstrap-styles col-9 ps-3"},e0t={class:"bootstrap-styles h-100 d-flex flex-column align-items-start justify-content-center"},o0t={key:0,class:"bootstrap-styles mb-1 product-list-item__not-available"},n0t={class:"bootstrap-styles mb-1 text-gray-600"},i0t={"data-test":"product-list-item__id"},r0t={class:"bootstrap-styles col-1"},s0t={class:"bootstrap-styles w-100 h-100 d-flex justify-content-end align-items-center pe-14"},a0t=lt({__name:"ProductListItem",props:{index:{},product:{}},emits:["remove","moveUp","moveDown"],setup(t,{emit:o}){const e=t,n=Et({isBrokenImage:!1}),s=o;return(i,r)=>(S(),E("div",jht,[f("div",zht,[f("div",Ght,[f("div",Kht,[f("div",Yht,[f("button",{class:"bootstrap-styles d-flex justify-content-center align-items-center w-100 h-100","data-test":"product-list-item__move-up-button",onClick:r[0]||(r[0]=a=>s("moveUp"))},[P(uv)])]),f("span",Zht,k(e.index),1),f("div",Jht,[f("button",{class:"bootstrap-styles d-flex justify-content-center align-items-center w-100 h-100","data-test":"product-list-item__move-down-button",onClick:r[1]||(r[1]=a=>s("moveDown"))},[P(dv)])])])]),f("div",Xht,[f("div",Qht,[n.isBrokenImage?(S(),st(Jg,{key:1})):(S(),E("img",{key:0,alt:e.product.Name,src:e.product.PictureUrl,class:"bootstrap-styles mw-100 mh-100","data-test":"product-list-item__image",onError:r[2]||(r[2]=()=>n.isBrokenImage=!0)},null,40,qht))])]),f("div",t0t,[f("div",e0t,[e.product.IsAvailable?St("",!0):(S(),E("div",o0t,k(T(_)("productShelfBuilderComponent.productShelfBuilders.notAvailableLabel")),1)),f("div",n0t,[r[4]||(r[4]=f("span",{class:"bootstrap-styles me-14"},"ID",-1)),f("span",i0t,k(e.product.ExternalProductId),1)]),f("div",{class:at(["bootstrap-styles",{"text-gray-600":!e.product.IsAvailable}]),"data-test":"product-list-item__name"},k(e.product.Name),3)])]),f("div",r0t,[f("div",s0t,[f("button",{"data-test":"product-list-item__remove-button",onClick:r[3]||(r[3]=a=>s("remove"))},[f("i",null,[P(np)])])])])])]))}});const l0t=mt(a0t,[["__scopeId","data-v-446bb8c0"]]),u0t={class:"bootstrap-styles container-fluid scrollable","data-test":"product-list"},d0t={class:"bootstrap-styles d-flex flex-column"},m0t=lt({__name:"ProductList",props:{productList:{}},emits:["updatedProductList"],setup(t,{emit:o}){const e=t,n=a=>{const d=e.productList.filter(u=>u.InternalProductId!==a);r("updatedProductList",d)},s=a=>{if(a===e.productList.length-1)return;const d=[...e.productList],u=d.splice(a,1);d.splice(a+1,0,u[0]),r("updatedProductList",d)},i=a=>{if(a===0)return;const d=[...e.productList],u=d.splice(a,1);d.splice(a-1,0,u[0]),r("updatedProductList",d)},r=o;return(a,d)=>(S(),E("div",u0t,[f("div",d0t,[(S(!0),E(Lt,null,ge(e.productList,(u,c)=>(S(),st(l0t,{key:u.InternalProductId,index:c+1,product:u,"data-test":"product-list__item",onRemove:p=>n(u.InternalProductId),onMoveUp:p=>i(c),onMoveDown:p=>s(c)},null,8,["index","product","onRemove","onMoveUp","onMoveDown"]))),128))])]))}});const Qg=mt(m0t,[["__scopeId","data-v-1906e819"]]),c0t={class:"bootstrap-styles fw-bold mb-5"},f0t={class:"bootstrap-styles container-fluid mb-8"},p0t={class:"bootstrap-styles position-relative"},C0t={key:1,class:"bootstrap-styles border border-1 rounded bg-blue-selected py-5 px-3 d-flex justify-content-center align-items-center border-blue-selected mb-8 algorithm-description"},h0t={class:"bootstrap-styles me-3"},g0t={class:"bootstrap-styles container-fluid mb-5"},F0t=lt({__name:"ProductListShelfBuilder",props:{deps:{},productListShelf:{}},emits:["updatedProductListShelf","cancel"],setup(t,{emit:o}){const e=t,n=Et({productListComposerModalWindowIsShown:!1,productList:[],stockIdList:[],isProductListLoaded:!1,isStockLoaded:!1}),s=(r,a)=>{n.isProductListLoaded=!1,e.deps.getProductsByIDs(r,a).then(d=>{n.productList=d,n.isProductListLoaded=!0})};s(e.productListShelf.ProductInternalIDs,e.productListShelf.StockSource),e.deps.getAllStockIds().then(r=>{n.stockIdList=r,n.isStockLoaded=!0});const i=o;return(r,a)=>(S(),E(Lt,null,[P(Jn,{class:at(["bootstrap-styles position-absolute top-50 start-50",{invisible:n.isStockLoaded}])},null,8,["class"]),f("div",{class:at(["bootstrap-styles container-fluid px-11 mt-8",{invisible:!n.isStockLoaded}])},[f("label",c0t,k(T(_)("productShelfBuilderComponent.productShelfBuilders.stockLabel")),1),f("div",f0t,[P(ts,{stockIdList:n.stockIdList,stockSource:e.productListShelf.StockSource,onOnStockSourceUpdated:a[0]||(a[0]=d=>{i("updatedProductListShelf",{...e.productListShelf,StockSource:d}),s(e.productListShelf.ProductInternalIDs,d)})},null,8,["stockIdList","stockSource"])]),f("div",p0t,[P(Jn,{class:at(["bootstrap-styles position-absolute top-50 start-50",{invisible:n.isProductListLoaded}])},null,8,["class"]),n.productList.length>0?(S(),st(Qg,{key:0,class:at({"mb-8":n.productList.length,invisible:!n.isProductListLoaded}),productList:n.productList,onUpdatedProductList:a[1]||(a[1]=d=>{n.productList=d,i("updatedProductListShelf",{...e.productListShelf,ProductInternalIDs:d.map(u=>u.InternalProductId)})})},null,8,["class","productList"])):(S(),E("div",C0t,[f("div",h0t,[f("i",null,[P(ur)])]),Ot(f("div",null,null,512),[[T(Ai),T(_)("productShelfBuilderComponent.productShelfBuilders.productListDescription")]])]))]),f("div",g0t,[f("button",{class:"bootstrap-styles button__hover-blue-100 d-flex justify-content-center align-items-center text-color-selected border rounded-2 bg-blue-selected border-blue-selected w-100 py-1 px-3",onClick:a[2]||(a[2]=d=>n.productListComposerModalWindowIsShown=!0)},k(T(_)("productShelfBuilderComponent.productShelfBuilders.productsSelectButton")),1)]),P(qr,{productsAtLeast:e.productListShelf.AtLeast,productsLimit:e.productListShelf.Limit,"onUpdate:productsAtLeast":a[3]||(a[3]=d=>i("updatedProductListShelf",{...e.productListShelf,AtLeast:d})),"onUpdate:productsLimit":a[4]||(a[4]=d=>i("updatedProductListShelf",{...e.productListShelf,Limit:d}))},null,8,["productsAtLeast","productsLimit"])],2),(S(),st(lo,{to:"#app"},[n.productListComposerModalWindowIsShown?(S(),st(Xg,{key:0,deps:e.deps.productListComposerModalWindowDeps,internalIProductDs:e.productListShelf.ProductInternalIDs,stockSource:e.productListShelf.StockSource,onApply:a[5]||(a[5]=d=>{n.productListComposerModalWindowIsShown=!1,i("updatedProductListShelf",{...e.productListShelf,ProductInternalIDs:d}),s(d,e.productListShelf.StockSource)}),onCancel:a[6]||(a[6]=()=>n.productListComposerModalWindowIsShown=!1)},null,8,["deps","internalIProductDs","stockSource"])):St("",!0)]))],64))}});const y0t=mt(F0t,[["__scopeId","data-v-c6314696"]]),S0t={class:"bootstrap-styles fw-bold mb-5"},b0t={class:"bootstrap-styles container-fluid mb-8"},T0t={class:"bootstrap-styles position-relative"},B0t={key:1,class:"bootstrap-styles container-fluid g-0 mb-8"},V0t={class:"bootstrap-styles border border-1 rounded bg-blue-selected py-5 px-3 d-flex justify-content-between align-items-center border-blue-selected algorithm-description"},L0t={class:"bootstrap-styles me-3"},D0t={class:"bootstrap-styles container-fluid mb-5"},v0t=lt({__name:"RelatedProductListShelfBuilder",props:{deps:{},relatedProductListShelf:{}},emits:["updatedRelatedProductListShelf","cancel"],setup(t,{emit:o}){const e=t,n=Et({isProductListComposerModalWindowShown:!1,productList:[],stockIdList:[],isProductListLoaded:!1,isStockLoaded:!1}),s=(r,a)=>{n.isProductListLoaded=!1,e.deps.getProductsByIDs(r,a).then(d=>{n.productList=d,n.isProductListLoaded=!0})};s(e.relatedProductListShelf.ProductInternalIDs,e.relatedProductListShelf.StockSource),e.deps.getAllStockIds().then(r=>{n.stockIdList=r,n.isStockLoaded=!0});const i=o;return(r,a)=>(S(),E(Lt,null,[P(Jn,{class:at(["bootstrap-styles position-absolute top-50 start-50",{invisible:n.isStockLoaded}])},null,8,["class"]),f("div",{class:at(["bootstrap-styles container-fluid px-11 mt-8",{invisible:!n.isStockLoaded}])},[f("label",S0t,k(T(_)("productShelfBuilderComponent.productShelfBuilders.stockLabel")),1),f("div",b0t,[P(ts,{stockIdList:n.stockIdList,stockSource:e.relatedProductListShelf.StockSource,onOnStockSourceUpdated:a[0]||(a[0]=d=>{i("updatedRelatedProductListShelf",{...e.relatedProductListShelf,StockSource:d}),s(e.relatedProductListShelf.ProductInternalIDs,d)})},null,8,["stockIdList","stockSource"])]),f("div",T0t,[P(Jn,{class:at(["bootstrap-styles position-absolute top-50 start-50",{invisible:n.isProductListLoaded}])},null,8,["class"]),n.productList.length>0?(S(),st(Qg,{key:0,class:at({"mb-8":n.productList.length,invisible:!n.isProductListLoaded}),productList:n.productList,onUpdatedProductList:a[1]||(a[1]=d=>{n.productList=d,i("updatedRelatedProductListShelf",{...e.relatedProductListShelf,ProductInternalIDs:d.map(u=>u.InternalProductId)})})},null,8,["class","productList"])):(S(),E("div",B0t,[f("div",V0t,[f("div",L0t,[f("i",null,[P(ur)])]),Ot(f("div",null,null,512),[[T(Ai),T(_)("productShelfBuilderComponent.productShelfBuilders.relatedProductListDescription")]])])]))]),f("div",D0t,[f("button",{class:"bootstrap-styles button__hover-blue-100 d-flex justify-content-center align-items-center text-color-selected border rounded-2 bg-blue-selected border-blue-selected w-100 py-1 px-3",onClick:a[2]||(a[2]=d=>n.isProductListComposerModalWindowShown=!0)},k(T(_)("productShelfBuilderComponent.productShelfBuilders.productsSelectButton")),1)]),P(qr,{productsAtLeast:e.relatedProductListShelf.AtLeast,productsLimit:e.relatedProductListShelf.Limit,"onUpdate:productsAtLeast":a[3]||(a[3]=d=>i("updatedRelatedProductListShelf",{...e.relatedProductListShelf,AtLeast:d})),"onUpdate:productsLimit":a[4]||(a[4]=d=>i("updatedRelatedProductListShelf",{...e.relatedProductListShelf,Limit:d}))},null,8,["productsAtLeast","productsLimit"])],2),(S(),st(lo,{to:"#app"},[n.isProductListComposerModalWindowShown?(S(),st(Xg,{key:0,deps:e.deps.productListComposerModalWindowDeps,internalIProductDs:e.relatedProductListShelf.ProductInternalIDs,stockSource:e.relatedProductListShelf.StockSource,onApply:a[5]||(a[5]=d=>{n.isProductListComposerModalWindowShown=!1,i("updatedRelatedProductListShelf",{...e.relatedProductListShelf,ProductInternalIDs:d}),s(d,e.relatedProductListShelf.StockSource)}),onCancel:a[6]||(a[6]=()=>n.isProductListComposerModalWindowShown=!1)},null,8,["deps","internalIProductDs","stockSource"])):St("",!0)]))],64))}});const R0t=mt(v0t,[["__scopeId","data-v-55cda6b9"]]),x0t={class:"bootstrap-styles d-flex justify-content-center align-items-center py-7 h-100 overflow-hidden"},_0t={class:"bootstrap-styles empty-product-list d-flex flex-column justify-content-center align-items-center"},I0t={class:"bootstrap-styles text-gray-600 p-3"},E0t=lt({__name:"EmptySearchCategoryList",setup(t){return(o,e)=>(S(),E("div",x0t,[f("div",_0t,[e[0]||(e[0]=ar('<div class="bootstrap-styles"><i><svg width="29" height="145" viewBox="0 0 29 145" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1.34301 0.806801C1.39524 0.535643 1.65739 0.358164 1.92855 0.410391L6.34733 1.26148C6.61849 1.31371 6.79597 1.57587 6.74374 1.84702C6.69152 2.11818 6.42936 2.29566 6.1582 2.24343L2.23039 1.48691L1.47387 5.41472C1.42164 5.68587 1.15949 5.86335 0.888327 5.81113C0.617168 5.7589 0.439689 5.49674 0.491917 5.22558L1.34301 0.806801ZM2.24802 0.621063C15.8989 20.785 26.0105 46.9369 28.2169 72.9399C30.4235 98.9456 24.7247 124.849 6.69023 144.437L5.95455 143.76C23.7465 124.435 29.4109 98.8391 27.2205 73.0245C25.0298 47.2071 14.9839 21.2171 1.41994 1.18167L2.24802 0.621063Z" fill="url(#paint0_linear_2569_17987)"></path><defs><linearGradient id="paint0_linear_2569_17987" x1="1.71323" y1="0.434833" x2="8.14345" y2="145.179" gradientUnits="userSpaceOnUse"><stop stop-color="#ADB2B8"></stop><stop offset="1" stop-color="#DBE1E8" stop-opacity="0"></stop></linearGradient></defs></svg></i></div>',1)),f("div",I0t,k(T(_)("categoryListComposerModalWindow.emptySearchCategoryListText")),1)])]))}}),P0t={class:"bootstrap-styles container-fluid category-list-item"},N0t={class:"bootstrap-styles row g-0 py-1"},w0t={class:"bootstrap-styles col-11"},A0t={class:"bootstrap-styles h-100 d-flex flex-column align-items-start justify-content-center"},W0t={class:"bootstrap-styles d-flex justify-content-start align-items-center mb-1"},k0t={class:"bootstrap-styles fw-bold me-1"},M0t={class:"bootstrap-styles text-gray-600"},O0t={class:"bootstrap-styles"},H0t={class:"bootstrap-styles col-1"},$0t={class:"bootstrap-styles w-100 h-100 d-flex justify-content-end align-items-center pe-14"},U0t=lt({__name:"SearchedCategoryListItem",props:{category:{}},emits:["addSearchedCategory"],setup(t,{emit:o}){const e=t,n=o;return(s,i)=>(S(),E("div",P0t,[f("div",N0t,[f("div",w0t,[f("div",A0t,[f("div",W0t,[f("div",k0t,k(e.category.Name),1),f("div",M0t,[i[1]||(i[1]=f("span",{class:"bootstrap-styles me-14"},"ID",-1)),f("span",null,k(e.category.CategoryId),1)])]),f("div",O0t,k(e.category.Path),1)])]),f("div",H0t,[f("div",$0t,[f("button",{onClick:i[0]||(i[0]=r=>n("addSearchedCategory"))},[f("i",null,[P(MR)])])])])])]))}});const j0t=mt(U0t,[["__scopeId","data-v-3de1bdba"]]),z0t={key:0,class:"bootstrap-styles d-flex flex-column scrollable"},G0t=lt({__name:"SearchedCategoryList",props:{searchedCategoryList:{}},emits:["addSearchedCategory"],setup(t,{emit:o}){const e=t,n=o;return(s,i)=>e.searchedCategoryList.length?(S(),E("div",z0t,[(S(!0),E(Lt,null,ge(e.searchedCategoryList,(r,a)=>(S(),st(j0t,{key:a,category:r,index:a+1,onAddSearchedCategory:d=>n("addSearchedCategory",r)},null,8,["category","index","onAddSearchedCategory"]))),128))])):(S(),st(E0t,{key:1}))}});const K0t=mt(G0t,[["__scopeId","data-v-07c9e700"]]),Y0t={class:"bootstrap-styles row g-0 mb-7"},Z0t={class:"bootstrap-styles col-8 d-flex justify-content-between align-items-center"},J0t={class:"bootstrap-styles bg-color-input border rounded-2 py-1 px-3 d-flex w-100"},X0t={class:"bootstrap-styles d-flex justify-content-center align-items-center me-1"},Q0t=["placeholder"],q0t={class:"bootstrap-styles ps-1 me-7"},tgt={key:0,class:"bootstrap-styles d-flex justify-content-center align-items-center icon-fill"},egt={class:"bootstrap-styles col-4"},ogt={class:"bootstrap-styles d-flex justify-content-center align-items-center me-1 icon-stroke"},ngt=lt({__name:"CategorySearchBar",props:{isButtonAddAllEnable:{type:Boolean},isLoaded:{type:Boolean}},emits:["search","addAllFoundCategories"],setup(t,{emit:o}){const e=t,n=Et({phrase:""}),s=()=>{n.phrase.length&&i("search",n.phrase)},i=o;return(r,a)=>(S(),E("div",Y0t,[f("div",Z0t,[f("div",J0t,[f("i",X0t,[P(WR)]),f("form",{class:"bootstrap-styles w-100 search-form",onSubmit:De(s,["prevent"])},[Ot(f("input",{"onUpdate:modelValue":a[0]||(a[0]=d=>n.phrase=d),type:"text",class:"bootstrap-styles w-100",placeholder:T(_)("categoryListComposerModalWindow.searchInputPlaceholder"),required:""},null,8,Q0t),[[Pn,n.phrase]])],32),Ot(f("button",{class:"bootstrap-styles px-14",onClick:a[1]||(a[1]=d=>n.phrase="")},a[3]||(a[3]=[f("i",{class:"bootstrap-styles d-flex justify-content-center align-items-center icon-hover-stroke"},[f("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 16 16",fill:"none"},[f("path",{d:"M3 3L13 13",stroke:"var(--gray-500)"}),f("path",{d:"M13 3L3 13",stroke:"var(--gray-500)"})])],-1)]),512),[[Pa,n.phrase.length>0]])]),f("div",q0t,[f("button",{class:at([{"button__active-700":n.phrase.length,button__locked:!e.isLoaded||!n.phrase.length},"bootstrap-styles d-flex justify-content-center align-items-center py-1 px-3 rounded-2 button__disabled-700"]),onClick:s},[e.isLoaded?(S(),E("i",tgt,[P(kR)])):(S(),st(lr,{key:1}))],2)])]),f("div",egt,[f("button",{class:at([{"button__active-100 button__hover-blue-100":e.isButtonAddAllEnable,button__locked:!e.isButtonAddAllEnable},"bootstrap-styles d-flex justify-content-center align-center py-1 px-3 rounded-2 bg-blue-selected button__disabled-100 w-100 me-1"]),onClick:a[2]||(a[2]=()=>i("addAllFoundCategories"))},[f("i",ogt,[P(Yf)]),je(" "+k(T(_)("categoryListComposerModalWindow.transferAllButton")),1)],2)])]))}});const igt=mt(ngt,[["__scopeId","data-v-f8cd85fe"]]),rgt={class:"bootstrap-styles col-6 border-end h-100"},sgt={class:"bootstrap-styles container-fluid g-0 px-11 py-8 d-flex flex-column h-100"},agt={key:1,class:"bootstrap-styles d-flex justify-content-center align-items-center h-100"},lgt=lt({__name:"CategorySearchComponent",props:{deps:{},excluded:{}},emits:["selected"],setup(t,{emit:o}){const e=t,n=a=>a.filter(d=>e.excluded.every(u=>d.CategoryId!==u)),s=Et({isLoaded:!0,foundCategories:[]}),i=Ls.debounce(a=>{if(s.isLoaded=!1,a.split(",").every(u=>!isNaN(Number(u.trim())))){const u=a.split(",").map(Number);e.deps.getCategoriesByIDs(u).then(c=>{s.foundCategories=c,s.isLoaded=!0})}else e.deps.findCategoriesByName(a).then(u=>{s.foundCategories=u,s.isLoaded=!0})},50),r=o;return(a,d)=>(S(),E("div",rgt,[f("div",sgt,[P(igt,{isButtonAddAllEnable:n(s.foundCategories).length>0,isLoaded:s.isLoaded,onAddAllFoundCategories:d[0]||(d[0]=()=>{r("selected",n(s.foundCategories).map(u=>u.CategoryId))}),onSearch:d[1]||(d[1]=u=>T(i)(u))},null,8,["isButtonAddAllEnable","isLoaded"]),s.isLoaded?(S(),st(K0t,{key:0,searchedCategoryList:n(s.foundCategories),onAddSearchedCategory:d[2]||(d[2]=u=>r("selected",[u.CategoryId]))},null,8,["searchedCategoryList"])):(S(),E("div",agt,k(T(_)("categoryListComposerModalWindow.searching")),1))])]))}}),ugt={class:"bootstrap-styles container-fluid category-list-item"},dgt={class:"bootstrap-styles row g-0 py-1"},mgt={class:"bootstrap-styles col-11"},cgt={class:"bootstrap-styles h-100 d-flex flex-column align-items-start justify-content-center"},fgt={class:"bootstrap-styles d-flex justify-content-start align-items-center mb-1"},pgt={class:"bootstrap-styles fw-bold me-1"},Cgt={class:"bootstrap-styles text-gray-600"},hgt={class:"bootstrap-styles"},ggt={class:"bootstrap-styles col-1"},Fgt={class:"bootstrap-styles w-100 h-100 d-flex justify-content-end align-items-center pe-14"},ygt=lt({__name:"SelectedCategoryListItem",props:{category:{}},emits:["remove"],setup(t,{emit:o}){const e=t,n=o;return(s,i)=>(S(),E("div",ugt,[f("div",dgt,[f("div",mgt,[f("div",cgt,[f("div",fgt,[f("div",pgt,k(e.category.Name),1),f("div",Cgt,[i[1]||(i[1]=f("span",{class:"bootstrap-styles me-14"},"ID",-1)),f("span",null,k(e.category.CategoryId),1)])]),f("div",hgt,k(e.category.Path),1)])]),f("div",ggt,[f("div",Fgt,[f("button",{onClick:i[0]||(i[0]=r=>n("remove"))},[f("i",null,[P(np)])])])])])]))}});const Sgt=mt(ygt,[["__scopeId","data-v-0205956d"]]),bgt={class:"bootstrap-styles d-flex flex-column scrollable"},Tgt=lt({__name:"SelectedCategoryList",props:{selectedCategoryList:{}},emits:["remove"],setup(t,{emit:o}){const e=t,n=o;return(s,i)=>(S(),E("div",bgt,[(S(!0),E(Lt,null,ge(e.selectedCategoryList,(r,a)=>(S(),st(Sgt,{key:a,category:r,index:a+1,onRemove:d=>n("remove",r.CategoryId)},null,8,["category","index","onRemove"]))),128))]))}});const Bgt=mt(Tgt,[["__scopeId","data-v-854c6a31"]]),Vgt={class:"bootstrap-styles container-fluid g-0 h-100 empty-product-list"},Lgt={class:"bootstrap-styles d-flex flex-column justify-content-center align-items-center h-100"},Dgt=lt({__name:"EmptyCategoryList",setup(t){return(o,e)=>(S(),E("div",Vgt,[f("div",Lgt,[e[0]||(e[0]=ar('<i class="bootstrap-styles mb-5"><svg width="100" height="101" viewBox="0 0 100 101" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M17.5703 20.5264C17.5703 13.8057 23.0186 8.35742 29.7393 8.35742H63.4097L82.2847 26.6932V80.8564C82.2847 87.5771 76.8364 93.0254 70.1157 93.0254H29.7393C23.0186 93.0254 17.5703 87.5771 17.5703 80.8564V20.5264Z" fill="#E3E9FC"></path><path d="M69.3144 26.6934H82.1895L63.3144 8.35762V20.6934C63.3144 24.0071 66.0007 26.6934 69.3144 26.6934Z" fill="#A5B4E3"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M49.9997 44.0713C49.2107 44.0713 48.5711 44.7109 48.5711 45.4999V50.4999H43.5711C42.7822 50.4999 42.1426 51.1395 42.1426 51.9284C42.1426 52.7174 42.7822 53.357 43.5711 53.357H48.5711V58.357C48.5711 59.146 49.2107 59.7856 49.9997 59.7856C50.7887 59.7856 51.4283 59.146 51.4283 58.357V53.357H56.4283C57.2173 53.357 57.8569 52.7174 57.8569 51.9284C57.8569 51.1395 57.2173 50.4999 56.4283 50.4999H51.4283V45.4999C51.4283 44.7109 50.7887 44.0713 49.9997 44.0713Z" fill="#A5B4E3"></path></svg></i>',1)),f("div",null,k(T(_)("categoryListComposerModalWindow.emptySelectedCategoryListText")),1)])]))}}),vgt={class:"bootstrap-styles col-6 h-100"},Rgt={key:0,class:"bootstrap-styles container-fluid g-0 px-11 py-9 d-flex flex-column h-100"},xgt={class:"bootstrap-styles mb-7 mt-1"},_gt={class:"bootstrap-styles d-flex justify-content-between align-items-center"},Igt={class:"bootstrap-styles fw-bold mb-0"},Egt={class:"bootstrap-styles text-gray-600"},Pgt={key:1,class:"bootstrap-styles d-flex justify-content-center align-items-center h-100"},Ngt=lt({__name:"SelectCategoryComponent",props:{deps:{},categoryIdList:{}},emits:["remove"],setup(t,{emit:o}){const e=t,n=Et({isLoaded:!0,categoryList:[]});Jl(()=>{n.isLoaded=!1,e.deps.getCategoriesByIDs(e.categoryIdList).then(i=>{n.categoryList=i,n.isLoaded=!0})});const s=o;return(i,r)=>(S(),E("div",vgt,[e.categoryIdList.length?(S(),E("div",Rgt,[f("div",xgt,[f("div",_gt,[f("h6",Igt,k(T(_)("categoryListComposerModalWindow.selectedCategoryListTitleText")),1),f("div",Egt,k(e.categoryIdList.length)+" "+k(T(OR)({number:e.categoryIdList.length,titles:{one:T(_)("categoryListComposerModalWindow.selectedCategoryListDeclensions.one"),few:T(_)("categoryListComposerModalWindow.selectedCategoryListDeclensions.few"),many:T(_)("categoryListComposerModalWindow.selectedCategoryListDeclensions.many")}})),1)])]),n.isLoaded?(S(),st(Bgt,{key:0,selectedCategoryList:n.categoryList,onRemove:r[0]||(r[0]=a=>s("remove",a))},null,8,["selectedCategoryList"])):(S(),E("div",Pgt,k(T(_)("categoryListComposerModalWindow.loading")),1))])):(S(),st(Dgt,{key:1}))]))}}),wgt={class:"bootstrap-styles container-fluid g-0 d-flex flex-column category-list-composer-modal-window__body"},Agt={class:"bootstrap-styles row g-0 flex-grow-1 h-100 d-flex"},Wgt=lt({__name:"CategoryListComposerModalWindow",props:{deps:{},categoryIdList:{}},emits:["cancel","apply"],setup(t,{emit:o}){const e=t,n=Et({selectedCategoryIdList:[...e.categoryIdList]}),s=()=>{i("cancel")},i=o;return(r,a)=>(S(),st(yn,{class:"category-list-composer-modal-window",headerText:T(_)("categoryListComposerModalWindow.title"),onClose:a[4]||(a[4]=()=>s())},{body:le(()=>[f("div",wgt,[f("div",Agt,[P(lgt,{deps:e.deps.categorySearchComponentDeps,excluded:n.selectedCategoryIdList,onSelected:a[0]||(a[0]=d=>{n.selectedCategoryIdList=[...n.selectedCategoryIdList,...d]})},null,8,["deps","excluded"]),P(Ngt,{deps:e.deps.selectCategoryComponentDeps,categoryIdList:n.selectedCategoryIdList,onRemove:a[1]||(a[1]=d=>{n.selectedCategoryIdList=n.selectedCategoryIdList.filter(u=>u!==d)})},null,8,["deps","categoryIdList"])])])]),"footer-actions":le(()=>[f("button",{class:"modal-footer__button bootstrap-styles d-flex justify-content-center align-center py-1 px-3 me-3 rounded-2 bg-blue-selected button__hover-blue-100 text-color-selected",onClick:a[2]||(a[2]=De(d=>s(),["stop"]))},k(T(_)("categoryListComposerModalWindow.cancelButton")),1),f("button",{class:"modal-footer__button bootstrap-styles d-flex justify-content-center align-center py-1 px-3 rounded-2 bg-color-selected text-white cursor-pointer button__hover-blue-400",onClick:a[3]||(a[3]=De(d=>i("apply",n.selectedCategoryIdList),["stop"]))},k(T(_)("categoryListComposerModalWindow.applyButton")),1)]),_:1},8,["headerText"]))}});const kgt=mt(Wgt,[["__scopeId","data-v-62049c68"]]),Mgt={class:"bootstrap-styles container-fluid category-list-item"},Ogt={class:"bootstrap-styles row g-0 py-1"},Hgt={class:"bootstrap-styles col-11"},$gt={class:"bootstrap-styles h-100 d-flex flex-column align-items-start justify-content-center"},Ugt={class:"bootstrap-styles d-flex justify-content-start align-items-center mb-1"},jgt={class:"bootstrap-styles fw-bold me-1"},zgt={class:"bootstrap-styles text-gray-600"},Ggt={class:"bootstrap-styles"},Kgt={class:"bootstrap-styles col-1"},Ygt={class:"bootstrap-styles w-100 h-100 d-flex justify-content-end align-items-center pe-14"},Zgt=lt({__name:"CategoryListItem",props:{category:{}},emits:["removeItem"],setup(t,{emit:o}){const e=t,n=o;return(s,i)=>(S(),E("div",Mgt,[f("div",Ogt,[f("div",Hgt,[f("div",$gt,[f("div",Ugt,[f("div",jgt,k(e.category.Name),1),f("div",zgt,[i[1]||(i[1]=f("span",{class:"bootstrap-styles me-14"},"ID",-1)),f("span",null,k(e.category.CategoryId),1)])]),f("div",Ggt,k(e.category.Path),1)])]),f("div",Kgt,[f("div",Ygt,[f("button",{onClick:i[0]||(i[0]=r=>n("removeItem"))},[f("i",null,[P(np)])])])])])]))}});const Jgt=mt(Zgt,[["__scopeId","data-v-867dfd55"]]),Xgt={class:"bootstrap-styles container-fluid scrollable"},Qgt={class:"bootstrap-styles d-flex flex-column"},qgt=lt({__name:"CategoryList",props:{categoryList:{}},emits:["updatedCategoryList"],setup(t,{emit:o}){const e=t,n=i=>{const r=e.categoryList.filter(a=>a.CategoryId!==i);s("updatedCategoryList",r)},s=o;return(i,r)=>(S(),E("div",Xgt,[f("div",Qgt,[(S(!0),E(Lt,null,ge(e.categoryList,(a,d)=>(S(),st(Jgt,{key:d,category:a,onRemoveItem:u=>n(a.CategoryId)},null,8,["category","onRemoveItem"]))),128))])]))}});const tFt=mt(qgt,[["__scopeId","data-v-51b77cb1"]]),eFt={class:"bootstrap-styles fw-bold mb-5"},oFt={class:"bootstrap-styles container-fluid mb-8"},nFt={class:"bootstrap-styles position-relative"},iFt={key:1,class:"bootstrap-styles border border-1 rounded bg-blue-selected py-5 px-3 d-flex justify-content-center align-items-center border-blue-selected mb-8 algorithm-description"},rFt={class:"bootstrap-styles me-3"},sFt={class:"bootstrap-styles container-fluid mb-5"},aFt=lt({__name:"PopularFromCategoryListShelfBuilder",props:{deps:{},popularFromCategoryListShelf:{}},emits:["updatedPopularFromCategoryListShelf","cancel"],setup(t,{emit:o}){const e=t,n=Et({isCategoryListComposerModalWindowShown:!1,categoryList:[],stockIdList:[],isCategoryListLoaded:!1,isStockLoaded:!1}),s=r=>{n.isCategoryListLoaded=!1,e.deps.getCategoriesByIDs(r).then(a=>{n.categoryList=a,n.isCategoryListLoaded=!0})};s(e.popularFromCategoryListShelf.CategoryIdList),e.deps.getAllStockIds().then(r=>{n.stockIdList=r,n.isStockLoaded=!0});const i=o;return(r,a)=>(S(),E(Lt,null,[P(Jn,{class:at(["bootstrap-styles position-absolute top-50 start-50",{invisible:n.isStockLoaded}])},null,8,["class"]),f("div",{class:at(["bootstrap-styles container-fluid px-11 mt-8",{invisible:!n.isStockLoaded}])},[f("label",eFt,k(T(_)("productShelfBuilderComponent.productShelfBuilders.stockLabel")),1),f("div",oFt,[P(ts,{stockIdList:n.stockIdList,stockSource:e.popularFromCategoryListShelf.StockSource,onOnStockSourceUpdated:a[0]||(a[0]=d=>{i("updatedPopularFromCategoryListShelf",{...e.popularFromCategoryListShelf,StockSource:d})})},null,8,["stockIdList","stockSource"])]),f("div",nFt,[P(Jn,{class:at(["bootstrap-styles position-absolute top-50 start-50",{invisible:n.isCategoryListLoaded}])},null,8,["class"]),n.categoryList.length>0?(S(),st(tFt,{key:0,class:at({"mb-8":n.categoryList.length,invisible:!n.isCategoryListLoaded}),categoryList:n.categoryList,onUpdatedCategoryList:a[1]||(a[1]=d=>{n.categoryList=d,i("updatedPopularFromCategoryListShelf",{...e.popularFromCategoryListShelf,CategoryIdList:d.map(u=>u.CategoryId)})})},null,8,["class","categoryList"])):(S(),E("div",iFt,[f("div",rFt,[f("i",null,[P(ur)])]),Ot(f("div",null,null,512),[[T(Ai),T(_)("productShelfBuilderComponent.productShelfBuilders.popularFromCategoryListDescription")]])]))]),f("div",sFt,[f("button",{class:"bootstrap-styles button__hover-blue-100 d-flex justify-content-center align-items-center text-color-selected border rounded-2 bg-blue-selected border-blue-selected w-100 py-1 px-3",onClick:a[2]||(a[2]=d=>n.isCategoryListComposerModalWindowShown=!0)},k(T(_)("productShelfBuilderComponent.productShelfBuilders.categorySelectButton")),1)]),P(qr,{productsAtLeast:e.popularFromCategoryListShelf.AtLeast,productsLimit:e.popularFromCategoryListShelf.Limit,"onUpdate:productsAtLeast":a[3]||(a[3]=d=>i("updatedPopularFromCategoryListShelf",{...e.popularFromCategoryListShelf,AtLeast:d})),"onUpdate:productsLimit":a[4]||(a[4]=d=>i("updatedPopularFromCategoryListShelf",{...e.popularFromCategoryListShelf,Limit:d}))},null,8,["productsAtLeast","productsLimit"])],2),(S(),st(lo,{to:"#app"},[n.isCategoryListComposerModalWindowShown?(S(),st(kgt,{key:0,deps:e.deps.categoryListComposerModalWindowDeps,categoryIdList:e.popularFromCategoryListShelf.CategoryIdList,onApply:a[5]||(a[5]=d=>{n.isCategoryListComposerModalWindowShown=!1,i("updatedPopularFromCategoryListShelf",{...e.popularFromCategoryListShelf,CategoryIdList:d}),s(d)}),onCancel:a[6]||(a[6]=()=>n.isCategoryListComposerModalWindowShown=!1)},null,8,["deps","categoryIdList"])):St("",!0)]))],64))}});const lFt=mt(aFt,[["__scopeId","data-v-1f890ba1"]]),uFt={class:"bootstrap-styles fw-bold mb-5"},dFt={class:"bootstrap-styles container-fluid mb-8"},mFt={class:"bootstrap-styles position-relative"},cFt={key:1,class:"bootstrap-styles container-fluid g-0 mb-8"},fFt={class:"bootstrap-styles border border-1 rounded bg-blue-selected py-5 px-3 d-flex justify-content-between align-items-center border-blue-selected algorithm-description"},pFt={class:"bootstrap-styles me-3"},CFt={class:"bootstrap-styles container-fluid mb-5"},hFt=lt({__name:"AlternativeProductListShelfBuilder",props:{deps:{},alternativeProductListShelf:{}},emits:["updatedAlternativeProductListShelf","cancel"],setup(t,{emit:o}){const e=t,n=Et({isProductListComposerModalWindowShown:!1,productList:[],stockIdList:[],isProductListLoaded:!1,isStockLoaded:!1}),s=(r,a)=>{n.isProductListLoaded=!1,e.deps.getProductsByIDs(r,a).then(d=>{n.productList=d,n.isProductListLoaded=!0})};s(e.alternativeProductListShelf.ProductInternalIDs,e.alternativeProductListShelf.StockSource),e.deps.getAllStockIds().then(r=>{n.stockIdList=r,n.isStockLoaded=!0});const i=o;return(r,a)=>(S(),E(Lt,null,[P(Jn,{class:at(["bootstrap-styles position-absolute top-50 start-50",{invisible:n.isStockLoaded}])},null,8,["class"]),f("div",{class:at(["bootstrap-styles container-fluid px-11 mt-8",{invisible:!n.isStockLoaded}])},[f("label",uFt,k(T(_)("productShelfBuilderComponent.productShelfBuilders.stockLabel")),1),f("div",dFt,[P(ts,{stockIdList:n.stockIdList,stockSource:e.alternativeProductListShelf.StockSource,onOnStockSourceUpdated:a[0]||(a[0]=d=>{i("updatedAlternativeProductListShelf",{...e.alternativeProductListShelf,StockSource:d}),s(e.alternativeProductListShelf.ProductInternalIDs,d)})},null,8,["stockIdList","stockSource"])]),f("div",mFt,[P(Jn,{class:at(["bootstrap-styles position-absolute top-50 start-50",{invisible:n.isProductListLoaded}])},null,8,["class"]),n.productList.length>0?(S(),st(Qg,{key:0,class:at({"mb-8":n.productList.length,invisible:!n.isProductListLoaded}),productList:n.productList,onUpdatedProductList:a[1]||(a[1]=d=>{n.productList=d,i("updatedAlternativeProductListShelf",{...e.alternativeProductListShelf,ProductInternalIDs:d.map(u=>u.InternalProductId)})})},null,8,["class","productList"])):(S(),E("div",cFt,[f("div",fFt,[f("div",pFt,[f("i",null,[P(ur)])]),Ot(f("div",null,null,512),[[T(Ai),T(_)("productShelfBuilderComponent.productShelfBuilders.alternativeProductListDescription")]])])]))]),f("div",CFt,[f("button",{class:"bootstrap-styles button__hover-blue-100 d-flex justify-content-center align-items-center text-color-selected border rounded-2 bg-blue-selected border-blue-selected w-100 py-1 px-3",onClick:a[2]||(a[2]=d=>n.isProductListComposerModalWindowShown=!0)},k(T(_)("productShelfBuilderComponent.productShelfBuilders.productsSelectButton")),1)]),P(qr,{productsAtLeast:e.alternativeProductListShelf.AtLeast,productsLimit:e.alternativeProductListShelf.Limit,"onUpdate:productsAtLeast":a[3]||(a[3]=d=>i("updatedAlternativeProductListShelf",{...e.alternativeProductListShelf,AtLeast:d})),"onUpdate:productsLimit":a[4]||(a[4]=d=>i("updatedAlternativeProductListShelf",{...e.alternativeProductListShelf,Limit:d}))},null,8,["productsAtLeast","productsLimit"])],2),(S(),st(lo,{to:"#app"},[n.isProductListComposerModalWindowShown?(S(),st(Xg,{key:0,deps:e.deps.productListComposerModalWindowDeps,internalIProductDs:e.alternativeProductListShelf.ProductInternalIDs,stockSource:e.alternativeProductListShelf.StockSource,onApply:a[5]||(a[5]=d=>{n.isProductListComposerModalWindowShown=!1,i("updatedAlternativeProductListShelf",{...e.alternativeProductListShelf,ProductInternalIDs:d}),s(d,e.alternativeProductListShelf.StockSource)}),onCancel:a[6]||(a[6]=()=>n.isProductListComposerModalWindowShown=!1)},null,8,["deps","internalIProductDs","stockSource"])):St("",!0)]))],64))}});const gFt=mt(hFt,[["__scopeId","data-v-ddb604b3"]]),FFt={class:"bootstrap-styles container-fluid px-11 mt-8"},yFt={class:"bootstrap-styles fw-bold mb-5"},SFt={class:"bootstrap-styles container-fluid mb-8"},bFt={class:"bootstrap-styles border border-1 rounded bg-blue-selected py-5 px-3 d-flex justify-content-center align-items-center border-blue-selected mb-8 algorithm-description"},TFt={class:"bootstrap-styles me-3"},BFt=lt({__name:"NextBestOfferRecommendationsShelfBuilder",props:{nextBestOfferRecommendationsShelf:{},deps:{}},emits:["updatedNextBestOfferRecommendationsShelf","cancel"],setup(t,{emit:o}){const e=t,n=Et({stockIdList:[]});e.deps.getAllStockIds().then(i=>{n.stockIdList=i});const s=o;return(i,r)=>(S(),E("div",FFt,[f("label",yFt,k(T(_)("productShelfBuilderComponent.productShelfBuilders.stockLabel")),1),f("div",SFt,[P(ts,{stockIdList:n.stockIdList,stockSource:e.nextBestOfferRecommendationsShelf.StockSource,onOnStockSourceUpdated:r[0]||(r[0]=a=>{s("updatedNextBestOfferRecommendationsShelf",{...e.nextBestOfferRecommendationsShelf,StockSource:a})})},null,8,["stockIdList","stockSource"])]),f("div",bFt,[f("div",TFt,[f("i",null,[P(ur)])]),f("div",null,k(T(_)("productShelfBuilderComponent.productShelfBuilders.nextBestOfferRecommendationsDescription")),1)]),P(qr,{productsAtLeast:e.nextBestOfferRecommendationsShelf.AtLeast,productsLimit:e.nextBestOfferRecommendationsShelf.Limit,"onUpdate:productsAtLeast":r[1]||(r[1]=a=>s("updatedNextBestOfferRecommendationsShelf",{...e.nextBestOfferRecommendationsShelf,AtLeast:a})),"onUpdate:productsLimit":r[2]||(r[2]=a=>s("updatedNextBestOfferRecommendationsShelf",{...e.nextBestOfferRecommendationsShelf,Limit:a}))},null,8,["productsAtLeast","productsLimit"])]))}});const VFt=mt(BFt,[["__scopeId","data-v-c5487e93"]]),LFt={class:"bootstrap-styles container-fluid g-0 mt-8"},DFt={class:"bootstrap-styles container-fluid px-11"},vFt={class:"bootstrap-styles fw-bold mb-5"},RFt={class:"bootstrap-styles row g-0"},xFt={class:"bootstrap-styles container-fluid g-0 mb-8"},_Ft=lt({__name:"NextBestOffer2ProductShelfDataSourceExpressionBuilderModal",props:{deps:{},emailComponent:{}},emits:["cancel","apply"],setup(t,{emit:o}){const e=t,n=o,s={NextBestOfferRecommendationsShelf:{AtLeast:3,Limit:6,StockSource:zi()},ProductListShelf:{ProductInternalIDs:[],AtLeast:3,Limit:6,StockSource:zi()},RelatedProductsForProductListShelf:{ProductInternalIDs:[],AtLeast:3,Limit:6,StockSource:zi()},AlternativeProductsForProductListShelf:{ProductInternalIDs:[],AtLeast:3,Limit:6,StockSource:zi()},PopularProductsInCategoryListShelf:{CategoryIdList:[],Limit:6,AtLeast:1,StockSource:zi()},PopularProductsShelf:{Limit:6,AtLeast:1,StockSource:zi()},LatestProductsShelf:{Limit:6,AtLeast:1,StockSource:zi()},SaleByPopularProductsShelf:{Limit:6,AtLeast:1,StockSource:zi()},SaleByLatestProductsShelf:{Limit:6,AtLeast:1,StockSource:zi()}},i=()=>{var p,h,g;return PR({listExpression:(g=(h=(p=e.emailComponent)==null?void 0:p.ContextBuilderExpression)==null?void 0:h.ProductShelfDataSource)==null?void 0:g.ListExpression,productShelfFactoryFromDataSource:AR}).match({some:y=>({currentKey:gpt(y),model:{...s,...y}}),none:()=>({currentKey:"PopularProductsShelf",model:s})})},r=Et(i()),a=()=>{const p={[r.currentKey]:r.model[r.currentKey]},h=vo(p),g=v=>v.length===0,y=v=>v.length===0,b=v=>v?"Error":"OK";return h.Match({NextBestOfferRecommendationsShelf:()=>"OK",ProductListShelf:({ProductInternalIDs:v})=>b(g(v)),RelatedProductsForProductListShelf:({ProductInternalIDs:v})=>b(g(v)),AlternativeProductsForProductListShelf:({ProductInternalIDs:v})=>b(g(v)),PopularProductsInCategoryListShelf:({CategoryIdList:v})=>b(y(v)),PopularProductsShelf:()=>"OK",LatestProductsShelf:()=>"OK",SaleByPopularProductsShelf:()=>"OK",SaleByLatestProductsShelf:()=>"OK"})},d={NextBestOfferRecommendationsShelf:_("productShelfBuilderComponent.listSelector.nextBestOfferRecommendationsShelf"),ProductListShelf:_("productShelfBuilderComponent.listSelector.productListShelf"),RelatedProductsForProductListShelf:_("productShelfBuilderComponent.listSelector.relatedProductsForProductListShelf"),AlternativeProductsForProductListShelf:_("productShelfBuilderComponent.listSelector.alternativeProductsForProductListShelf"),PopularProductsInCategoryListShelf:_("productShelfBuilderComponent.listSelector.popularProductsInCategoryListShelf"),PopularProductsShelf:_("productShelfBuilderComponent.listSelector.popularProductsShelf"),LatestProductsShelf:_("productShelfBuilderComponent.listSelector.latestProductsShelf"),SaleByLatestProductsShelf:_("productShelfBuilderComponent.listSelector.saleByLatestShelf"),SaleByPopularProductsShelf:_("productShelfBuilderComponent.listSelector.saleByPopularShelf")},u=()=>{r.currentKey=i().currentKey,n("cancel")},c=()=>{n("apply",{...e.emailComponent.ContextBuilderExpression,ProductShelfDataSource:{ListExpression:$pt({[r.currentKey]:r.model[r.currentKey]})}})};return(p,h)=>(S(),st(yn,{class:"mass-mailing-product-shelf-builder-modal-window",headerText:T(_)("productShelfBuilderComponent.title"),onClose:h[12]||(h[12]=g=>u())},{body:le(()=>[f("div",LFt,[f("div",DFt,[f("label",vFt,k(T(_)("productShelfBuilderComponent.algorithmLabel")),1),f("div",RFt,[P(hpt,{currentKey:r.currentKey,list:d,"onUpdate:currentKey":h[0]||(h[0]=g=>r.currentKey=g)},null,8,["currentKey"])])]),f("div",xFt,[r.currentKey=="NextBestOfferRecommendationsShelf"?(S(),st(VFt,{key:0,nextBestOfferRecommendationsShelf:r.model.NextBestOfferRecommendationsShelf,deps:e.deps.NextBestOfferRecommendationsShelfBuilderDeps,onUpdatedNextBestOfferRecommendationsShelf:h[1]||(h[1]=g=>r.model={...r.model,NextBestOfferRecommendationsShelf:g})},null,8,["nextBestOfferRecommendationsShelf","deps"])):St("",!0),r.currentKey=="ProductListShelf"?(S(),st(y0t,{key:1,deps:e.deps.ProductListShelfBuilderDeps,productListShelf:r.model.ProductListShelf,onUpdatedProductListShelf:h[2]||(h[2]=g=>r.model={...r.model,ProductListShelf:g})},null,8,["deps","productListShelf"])):St("",!0),r.currentKey=="RelatedProductsForProductListShelf"?(S(),st(R0t,{key:2,deps:e.deps.RelatedProductListShelfBuilderDeps,relatedProductListShelf:r.model.RelatedProductsForProductListShelf,onUpdatedRelatedProductListShelf:h[3]||(h[3]=g=>r.model={...r.model,RelatedProductsForProductListShelf:g})},null,8,["deps","relatedProductListShelf"])):St("",!0),r.currentKey=="AlternativeProductsForProductListShelf"?(S(),st(gFt,{key:3,deps:e.deps.AlternativeProductListShelfBuilderDeps,alternativeProductListShelf:r.model.AlternativeProductsForProductListShelf,onUpdatedAlternativeProductListShelf:h[4]||(h[4]=g=>r.model={...r.model,AlternativeProductsForProductListShelf:g})},null,8,["deps","alternativeProductListShelf"])):St("",!0),r.currentKey=="PopularProductsInCategoryListShelf"?(S(),st(lFt,{key:4,deps:e.deps.PopularFromCategoryListShelfBuilderDeps,popularFromCategoryListShelf:r.model.PopularProductsInCategoryListShelf,onUpdatedPopularFromCategoryListShelf:h[5]||(h[5]=g=>r.model={...r.model,PopularProductsInCategoryListShelf:g})},null,8,["deps","popularFromCategoryListShelf"])):St("",!0),r.currentKey=="PopularProductsShelf"?(S(),st(Opt,{key:5,popularProductListShelf:r.model.PopularProductsShelf,deps:e.deps.PopularProductListShelfBuilderDeps,onUpdatedPopularProductListShelf:h[6]||(h[6]=g=>r.model={...r.model,PopularProductsShelf:g})},null,8,["popularProductListShelf","deps"])):St("",!0),r.currentKey=="LatestProductsShelf"?(S(),st(Zpt,{key:6,latestProductListShelf:r.model.LatestProductsShelf,deps:e.deps.LatestProductListShelfBuilderDeps,onUpdatedLatestProductListShelf:h[7]||(h[7]=g=>r.model={...r.model,LatestProductsShelf:g})},null,8,["latestProductListShelf","deps"])):St("",!0),r.currentKey=="SaleByPopularProductsShelf"?(S(),st(oCt,{key:7,saleByPopularProductListShelf:r.model.SaleByPopularProductsShelf,deps:e.deps.SaleByPopularProductListShelfBuilderDeps,onUpdatedSaleByPopularProductListShelf:h[8]||(h[8]=g=>r.model={...r.model,SaleByPopularProductsShelf:g})},null,8,["saleByPopularProductListShelf","deps"])):St("",!0),r.currentKey=="SaleByLatestProductsShelf"?(S(),st(uCt,{key:8,saleByLatestProductListShelf:r.model.SaleByLatestProductsShelf,deps:e.deps.SaleByLatestProductListShelfBuilderDeps,onUpdatedSaleByLatestProductListShelf:h[9]||(h[9]=g=>r.model={...r.model,SaleByLatestProductsShelf:g})},null,8,["saleByLatestProductListShelf","deps"])):St("",!0)])])]),"footer-actions":le(()=>[f("button",{class:"modal-footer__button bootstrap-styles d-flex justify-content-center align-center py-1 px-3 me-3 rounded-2 bg-blue-selected button__hover-blue-100 text-color-selected",onClick:h[10]||(h[10]=De(g=>u(),["stop"]))},k(T(_)("productShelfBuilderComponent.cancelButton")),1),f("button",{class:at([{"disabled cursor-not-allowed":a()==="Error"},"modal-footer__button bootstrap-styles d-flex justify-content-center align-center py-1 px-3 rounded-2 bg-color-selected text-white cursor-pointer button__hover-blue-400"]),onClick:h[11]||(h[11]=De(g=>c(),["stop"]))},k(T(_)("productShelfBuilderComponent.applyButton")),3)]),_:1},8,["headerText"]))}});const IFt=mt(_Ft,[["__scopeId","data-v-1eb80513"]]),EFt={key:0},PFt={class:"data-source-container__inner"},NFt=lt({__name:"NextBestOffer2ProductShelfDataSourceExpressionBuilder",props:{deps:{},modelValue:{}},emits:["update:modelValue"],setup(t,{emit:o}){const e=t,n=o,i=Et((()=>{var d,u,c;return PR({listExpression:(c=(u=(d=e.modelValue)==null?void 0:d.ContextBuilderExpression)==null?void 0:u.ProductShelfDataSource)==null?void 0:c.ListExpression,productShelfFactoryFromDataSource:AR}).match({some:()=>({isValidExpression:!0,dataSourceModalIsShown:!1}),none:()=>({isValidExpression:!1,dataSourceModalIsShown:!1})})})()),r=()=>{i.dataSourceModalIsShown=!1},a=d=>{n("update:modelValue",{...e.modelValue,ContextBuilderExpression:d}),i.dataSourceModalIsShown=!1};return(d,u)=>i.isValidExpression?(S(),E("span",EFt,[f("button",{class:"bootstrap-styles bg-white rounded-2 shadow data-source-container",onClick:u[0]||(u[0]=()=>i.dataSourceModalIsShown=!0)},[f("span",PFt,[P(upt)])]),(S(),st(lo,{to:"#app"},[i.dataSourceModalIsShown?(S(),st(IFt,{key:0,deps:e.deps.nextBestOffer2ProductShelfDataSourceExpressionBuilderModalDeps,emailComponent:e.modelValue,onCancel:u[1]||(u[1]=c=>r()),onApply:u[2]||(u[2]=c=>a(c))},null,8,["deps","emailComponent"])):St("",!0)]))])):St("",!0)}}),Aa=t=>({InternalProductId:t.internalProductId,Name:t.name,Description:t.description,Price:t.price,OldPrice:t.oldPrice,PictureUrl:t.pictureUrl,Url:t.url,CategoryIds:[],Vendor:"p.vendor"}),wFt=async t=>(await t.getPopularProductsHttpClient({body:{partnerId:t.partnerId,stockId:t.stockId}})).body.recommendations.map(o=>Aa(o)),hs=t=>NR(t.stockSource).Match({CustomerStockId:()=>t.customerStockId,DefaultStoreStockId:()=>{},SpecificStockId:o=>o.Value}),HR=t=>({InternalProductId:t.internalId,Name:t.name,Description:t.description,Url:t.url,Price:t.price,OldPrice:t.oldPrice,PictureUrl:t.pictureUrl,CategoryIds:[],Vendor:"p.vendor"}),AFt=async t=>(await t.getProductsByIDsHttpClient({body:{partnerId:t.partnerId,internalProductIds:t.productIDs.concat([]),stockId:t.stockId}})).body.products.map(o=>HR(o)),WFt=async t=>(await t.getRelatedProducts({body:{partnerId:t.partnerId,internalProductIds:t.productIDs.concat([]),stockId:t.stockId}})).body.recommendations.map(o=>Aa(o)),kFt=async t=>(await t.getAlternativeProductsHttpClient({body:{partnerId:t.partnerId,internalProductIds:t.productIDs.concat([]),stockId:t.stockId}})).body.recommendations.map(o=>Aa(o)),MFt=async t=>(await t.getPopularProductsInCategoriesHttpClient({body:{partnerId:t.partnerId,categoryIds:t.categoryIds.concat([]),stockId:t.stockId}})).body.recommendations.map(o=>Aa(o)),OFt=async t=>(await t.getLatestProductsHttpClient({body:{partnerId:t.partnerId,stockId:t.stockId}})).body.recommendations.map(o=>Aa(o)),HFt=async t=>(await t.getSaleByPopularProductsHttpClient({body:{partnerId:t.partnerId,stockId:t.stockId}})).body.recommendations.map(o=>Aa(o)),$Ft=async t=>(await t.getSaleByLatestProductsHttpClient({body:{partnerId:t.partnerId,stockId:t.stockId}})).body.recommendations.map(o=>Aa(o)),UFt=async t=>(await t.getSampleProductsForPreviewHttpClient({body:{partnerId:t.partnerId,stockId:t.stockId}})).body.products.map(o=>HR(o)),jFt=t=>{let o={};return e=>wR(e).Match({NextBestOfferRecommendations:({StockSource:n})=>UFt({partnerId:t.partnerId,stockId:hs({stockSource:n,customerStockId:t.customerStockId}),getSampleProductsForPreviewHttpClient:t.listExpressionDataSourceBffClient.postGetSampleProductsForPreview}),ProductList:({ProductIds:n,StockSource:s})=>AFt({partnerId:t.partnerId,productIDs:n,stockId:hs({stockSource:s,customerStockId:t.customerStockId}),productCache:o,getProductsByIDsHttpClient:t.listExpressionDataSourceBffClient.postGetProductsByIds}),RelatedProductsFor:({ProductIds:n,StockSource:s})=>{var i;return WFt({partnerId:t.partnerId,productIDs:n,stockId:((i=s.SpecificStockId)==null?void 0:i.Value)??void 0,getRelatedProducts:t.listExpressionDataSourceBffClient.postGetRelatedRecommendations})},AlternativeProductsFor:({ProductIds:n,StockSource:s})=>kFt({partnerId:t.partnerId,productIDs:n,stockId:hs({stockSource:s,customerStockId:t.customerStockId}),getAlternativeProductsHttpClient:t.listExpressionDataSourceBffClient.postGetAlternativeRecommendations}),PopularProductsInCategories:({CategoryIds:n,StockSource:s})=>MFt({partnerId:t.partnerId,categoryIds:n,stockId:hs({stockSource:s,customerStockId:t.customerStockId}),getPopularProductsInCategoriesHttpClient:t.listExpressionDataSourceBffClient.postGetPopularInCategoriesRecommendations}),Popular:({StockSource:n})=>wFt({partnerId:t.partnerId,stockId:hs({stockSource:n,customerStockId:t.customerStockId}),getPopularProductsHttpClient:t.listExpressionDataSourceBffClient.postGetPopularRecommendations}),Latest:({StockSource:n})=>OFt({partnerId:t.partnerId,stockId:hs({stockSource:n,customerStockId:t.customerStockId}),getLatestProductsHttpClient:t.listExpressionDataSourceBffClient.postGetLatestRecommendations}),SaleByPopular:({StockSource:n})=>HFt({partnerId:t.partnerId,stockId:hs({stockSource:n,customerStockId:t.customerStockId}),getSaleByPopularProductsHttpClient:t.listExpressionDataSourceBffClient.postGetSaleByPopularRecommendations}),SaleByLatest:({StockSource:n})=>$Ft({partnerId:t.partnerId,stockId:hs({stockSource:n,customerStockId:t.customerStockId}),getSaleByLatestProductsHttpClient:t.listExpressionDataSourceBffClient.postGetSaleByLatestRecommendations})})},zFt=()=>()=>Promise.resolve(0),GFt=vo,KFt=t=>{const o=t.contactCustomData;return e=>GFt(e.stringExpressionDataSource).Match({NextBestOffer2ContactCustomData:n=>Promise.resolve(o[n.FieldName]),ProductImageUrlBuilderExpression:n=>t.productImageUrlBuilderExpressionEvaluator({expression:n,context:e.context})})},YFt=t=>t.triggerNextBestOffer2?JSON.parse(t.triggerNextBestOffer2.componentJson):JSON.parse(t.common.componentJson),ZFt=t=>({sectionItemId:t.sectionItemId,sectionItemName:t.sectionItemName,componentTemplate:YFt(t.component)}),JFt=t=>({sectionId:t.sectionId,sectionName:t.sectionName,componentList:t.sectionItems.map(o=>ZFt(o))}),XFt=t=>t.map(o=>JFt(o));var qg={},$R=Wt&&Wt.__awaiter||function(t,o,e,n){function s(i){return i instanceof e?i:new e(function(r){r(i)})}return new(e||(e=Promise))(function(i,r){function a(c){try{u(n.next(c))}catch(p){r(p)}}function d(c){try{u(n.throw(c))}catch(p){r(p)}}function u(c){c.done?i(c.value):s(c.value).then(a,d)}u((n=n.apply(t,o||[])).next())})},UR=Wt&&Wt.__generator||function(t,o){var e={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,s,i,r=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return r.next=a(0),r.throw=a(1),r.return=a(2),typeof Symbol=="function"&&(r[Symbol.iterator]=function(){return this}),r;function a(u){return function(c){return d([u,c])}}function d(u){if(n)throw new TypeError("Generator is already executing.");for(;r&&(r=0,u[0]&&(e=0)),e;)try{if(n=1,s&&(i=u[0]&2?s.return:u[0]?s.throw||((i=s.return)&&i.call(s),0):s.next)&&!(i=i.call(s,u[1])).done)return i;switch(s=0,i&&(u=[u[0]&2,i.value]),u[0]){case 0:case 1:i=u;break;case 4:return e.label++,{value:u[1],done:!1};case 5:e.label++,s=u[1],u=[0];continue;case 7:u=e.ops.pop(),e.trys.pop();continue;default:if(i=e.trys,!(i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){e=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){e.label=u[1];break}if(u[0]===6&&e.label<i[1]){e.label=i[1],i=u;break}if(i&&e.label<i[2]){e.label=i[2],e.ops.push(u);break}i[2]&&e.ops.pop(),e.trys.pop();continue}u=o.call(t,e)}catch(c){u=[6,c],s=0}finally{n=i=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}};Object.defineProperty(qg,"__esModule",{value:!0});var jR=qg.createApi=void 0,zT=function(t,o){return function(e){return t(e,o)}},QFt=function(t){return{categories:t.categories.map(function(o){return zR(o)})}},qFt=function(t){return{categories:t.categories.map(function(o){return zR(o)})}},zR=function(t){return{id:t.id,name:t.name,path:t.path}};function tyt(t,o){return $R(this,void 0,void 0,function(){var e,n,s;return UR(this,function(i){switch(i.label){case 0:return e="wysiwyg/bff/v2/productCategoryPickerModalWindow/getProductCategoriesByIds/",n=new URLSearchParams,[4,o({path:e,method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t.body),query:n.toString()})];case 1:if(s=i.sent(),s.status===200)return[2,{status:200,body:QFt(s.body)}];throw new Error("Unknown response")}})})}function eyt(t,o){return $R(this,void 0,void 0,function(){var e,n,s;return UR(this,function(i){switch(i.label){case 0:return e="wysiwyg/bff/v2/productCategoryPickerModalWindow/findProductCategoriesBySearchPhrase/",n=new URLSearchParams,[4,o({path:e,method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t.body),query:n.toString()})];case 1:if(s=i.sent(),s.status===200)return[2,{status:200,body:qFt(s.body)}];throw new Error("Unknown response")}})})}var oyt=function(t){return{postGetProductCategoriesByIds:zT(tyt,t),postFindProductCategoriesBySearchPhrase:zT(eyt,t)}};jR=qg.createApi=oyt;var tF={},GR=Wt&&Wt.__awaiter||function(t,o,e,n){function s(i){return i instanceof e?i:new e(function(r){r(i)})}return new(e||(e=Promise))(function(i,r){function a(c){try{u(n.next(c))}catch(p){r(p)}}function d(c){try{u(n.throw(c))}catch(p){r(p)}}function u(c){c.done?i(c.value):s(c.value).then(a,d)}u((n=n.apply(t,o||[])).next())})},KR=Wt&&Wt.__generator||function(t,o){var e={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,s,i,r=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return r.next=a(0),r.throw=a(1),r.return=a(2),typeof Symbol=="function"&&(r[Symbol.iterator]=function(){return this}),r;function a(u){return function(c){return d([u,c])}}function d(u){if(n)throw new TypeError("Generator is already executing.");for(;r&&(r=0,u[0]&&(e=0)),e;)try{if(n=1,s&&(i=u[0]&2?s.return:u[0]?s.throw||((i=s.return)&&i.call(s),0):s.next)&&!(i=i.call(s,u[1])).done)return i;switch(s=0,i&&(u=[u[0]&2,i.value]),u[0]){case 0:case 1:i=u;break;case 4:return e.label++,{value:u[1],done:!1};case 5:e.label++,s=u[1],u=[0];continue;case 7:u=e.ops.pop(),e.trys.pop();continue;default:if(i=e.trys,!(i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){e=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){e.label=u[1];break}if(u[0]===6&&e.label<i[1]){e.label=i[1],i=u;break}if(i&&e.label<i[2]){e.label=i[2],e.ops.push(u);break}i[2]&&e.ops.pop(),e.trys.pop();continue}u=o.call(t,e)}catch(c){u=[6,c],s=0}finally{n=i=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}};Object.defineProperty(tF,"__esModule",{value:!0});var YR=tF.createApi=void 0,GT=function(t,o){return function(e){return t(e,o)}},nyt=function(t){return{products:t.products.map(function(o){return ZR(o)})}},iyt=function(t){return{products:t.products.map(function(o){return ZR(o)})}},ZR=function(t){return{internalId:t.internalId,externalId:t.externalId,name:t.name,pictureUrl:t.pictureUrl,isAvailable:t.isAvailable}};function ryt(t,o){return GR(this,void 0,void 0,function(){var e,n,s;return KR(this,function(i){switch(i.label){case 0:return e="wysiwyg/bff/v2/productPickerModalWindow/findProductsBySearchPhrase/",n=new URLSearchParams,[4,o({path:e,method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t.body),query:n.toString()})];case 1:if(s=i.sent(),s.status===200)return[2,{status:200,body:nyt(s.body)}];throw new Error("Unknown response")}})})}function syt(t,o){return GR(this,void 0,void 0,function(){var e,n,s;return KR(this,function(i){switch(i.label){case 0:return e="wysiwyg/bff/v2/productPickerModalWindow/getProductsByIds/",n=new URLSearchParams,[4,o({path:e,method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t.body),query:n.toString()})];case 1:if(s=i.sent(),s.status===200)return[2,{status:200,body:iyt(s.body)}];throw new Error("Unknown response")}})})}var ayt=function(t){return{postFindProductsBySearchPhrase:GT(ryt,t),postGetProductsByIds:GT(syt,t)}};YR=tF.createApi=ayt;const JR="#app",li=document.querySelector(JR),Kt={partnerId:li.getAttribute("data-partner-id"),wysiwygBffProxyBaseUrl:li.getAttribute("data-wysiwyg-bff-proxy-base-url"),wysiwygTemplateEditorBffBaseUrl:li.getAttribute("data-wysiwyg-template-editor-bff-base-url"),antiForgeryHeaderTokenName:li.getAttribute("data-anti-forgery-header-token-name"),antiForgeryHeaderTokenValue:li.getAttribute("data-anti-forgery-header-token-value"),antiForgeryFormTokenName:li.getAttribute("data-anti-forgery-form-token-name"),antiForgeryFormTokenValue:li.getAttribute("data-anti-forgery-form-token-value"),emailTemplateJson:li.getAttribute("data-email-template-json"),previewTemplateDataJson:li.getAttribute("data-preview-template-data-json"),resetTemplateFormUrl:li.getAttribute("data-reset-template-form-url"),exitLink:li.getAttribute("data-exit-link"),localeKey:li.getAttribute("data-locale-key")},lyt=t=>Ko({baseUrl:t.baseUrl,antiForgeryTokenHeaderName:Kt.antiForgeryHeaderTokenName,antiForgeryTokenValue:Kt.antiForgeryHeaderTokenValue}),uyt=Hv(Ko({baseUrl:Kt.wysiwygTemplateEditorBffBaseUrl,antiForgeryTokenHeaderName:Kt.antiForgeryHeaderTokenName,antiForgeryTokenValue:Kt.antiForgeryHeaderTokenValue})),dyt=()=>{const t=new FormData;t.append(Kt.antiForgeryFormTokenName,Kt.antiForgeryFormTokenValue);const o=nN({method:"POST",action:Kt.resetTemplateFormUrl,formData:t});document.body.appendChild(o),o.submit()};let myt={};const cyt=$v(lyt({baseUrl:Kt.wysiwygBffProxyBaseUrl})),fyt=jFt({partnerId:Kt.partnerId,listExpressionDataSourceBffClient:cyt,customerStockId:void 0}),ip=Lft({listExpressionDataSourceEvaluator:fyt}),pyt=zFt(),hf=vft({listExpressionEvaluator:ip,numberExpressionDataSourceEvaluator:pyt}),XR=xft({listExpressionEvaluator:ip,numberExpressionEvaluator:hf,stringExpressionDataSourceEvaluatorFactory:()=>KFt({productImageUrlBuilderExpressionEvaluator:bft({partnerId:Kt.partnerId,numberExpressionEvaluator:hf}),contactCustomData:myt})}),QR=wft({listExpressionEvaluator:ip,numberExpressionEvaluator:hf,stringExpressionEvaluator:XR,dataStructBuilderExpressionEvaluatorFactory:t=>xR({expressionEvaluator:t})}),Cyt=xR({expressionEvaluator:QR}),eF=Jc(Oat,{onTemplateReset:()=>{dyt()},deps:zlt({partnerId:Kt.partnerId,localeKey:Kt.localeKey,exitLink:Kt.exitLink,saveEmailTemplate:async t=>(await uyt.postSaveTemplate({body:{partnerId:Kt.partnerId,templateJson:JSON.stringify(t.emailTemplate)}})).status===200?"Success":"Fail",listExpressionEvaluator:ip,numberExpressionEvaluator:hf,stringExpressionEvaluator:XR,dataStructExpressionEvaluator:Cyt,expressionEvaluator:QR,getComponentLibraryFactory:t=>()=>t.getComponentLibraryHttpClient({body:{partnerId:t.partnerId,componentTypes:[{triggerNextBestOffer2:{}},{common:{}}]}}).then(o=>XFt(o.body.sections)),canProductShelfDataSourceBeConverted:()=>!1,httpClientComponentFactoryDelegate:t=>({triggerNextBestOffer2:{componentJson:JSON.stringify(t)}}),emailComponentSettingsModifierPlugin:Lut({productShelfDataSourceExpressionBuilderComponent:NFt,deps:rpt({partnerId:Kt.partnerId,customerStockId:"customerStockId",productShelfBuilderModalWindowBffClient:Kv(Ko({baseUrl:Kt.wysiwygBffProxyBaseUrl,antiForgeryTokenHeaderName:Kt.antiForgeryHeaderTokenName,antiForgeryTokenValue:Kt.antiForgeryHeaderTokenValue})),productCategoryPickerModalWindowBffClient:jR(Ko({baseUrl:Kt.wysiwygBffProxyBaseUrl,antiForgeryTokenHeaderName:Kt.antiForgeryHeaderTokenName,antiForgeryTokenValue:Kt.antiForgeryHeaderTokenValue})),productPickerModalWindowBffClient:YR(Ko({baseUrl:Kt.wysiwygBffProxyBaseUrl,antiForgeryTokenHeaderName:Kt.antiForgeryHeaderTokenName,antiForgeryTokenValue:Kt.antiForgeryHeaderTokenValue}))})}),initialEmailTemplate:JSON.parse(Kt.emailTemplateJson),wysiwygTemplateEditorBffClient:jat({themeLibraryBffClient:Yv(Ko({baseUrl:Kt.wysiwygBffProxyBaseUrl,antiForgeryTokenHeaderName:Kt.antiForgeryHeaderTokenName,antiForgeryTokenValue:Kt.antiForgeryHeaderTokenValue})),componentLibraryBffClient:Zv(Ko({baseUrl:Kt.wysiwygBffProxyBaseUrl,antiForgeryTokenHeaderName:Kt.antiForgeryHeaderTokenName,antiForgeryTokenValue:Kt.antiForgeryHeaderTokenValue}))}),addThemeLibrarySectionItemModalWindowBffClient:Qv(Ko({baseUrl:Kt.wysiwygBffProxyBaseUrl,antiForgeryTokenHeaderName:Kt.antiForgeryHeaderTokenName,antiForgeryTokenValue:Kt.antiForgeryHeaderTokenValue})),addComponentLibrarySectionItemModalWindowBffClient:Gv(Ko({baseUrl:Kt.wysiwygBffProxyBaseUrl,antiForgeryTokenHeaderName:Kt.antiForgeryHeaderTokenName,antiForgeryTokenValue:Kt.antiForgeryHeaderTokenValue})),deleteThemeLibrarySectionItemModalWindowBffClient:qv(Ko({baseUrl:Kt.wysiwygBffProxyBaseUrl,antiForgeryTokenHeaderName:Kt.antiForgeryHeaderTokenName,antiForgeryTokenValue:Kt.antiForgeryHeaderTokenValue})),deleteThemeLibrarySectionModalWindowBffClient:tR(Ko({baseUrl:Kt.wysiwygBffProxyBaseUrl,antiForgeryTokenHeaderName:Kt.antiForgeryHeaderTokenName,antiForgeryTokenValue:Kt.antiForgeryHeaderTokenValue})),editThemeLibrarySectionItemModalWindowBffClient:nR(Ko({baseUrl:Kt.wysiwygBffProxyBaseUrl,antiForgeryTokenHeaderName:Kt.antiForgeryHeaderTokenName,antiForgeryTokenValue:Kt.antiForgeryHeaderTokenValue})),createComponentLibrarySectionModalWindowBffClient:iR(Ko({baseUrl:Kt.wysiwygBffProxyBaseUrl,antiForgeryTokenHeaderName:Kt.antiForgeryHeaderTokenName,antiForgeryTokenValue:Kt.antiForgeryHeaderTokenValue})),editComponentLibrarySectionItemModalWindowBffClient:aR(Ko({baseUrl:Kt.wysiwygBffProxyBaseUrl,antiForgeryTokenHeaderName:Kt.antiForgeryHeaderTokenName,antiForgeryTokenValue:Kt.antiForgeryHeaderTokenValue})),deleteComponentLibrarySectionItemModalWindowBffClient:lR(Ko({baseUrl:Kt.wysiwygBffProxyBaseUrl,antiForgeryTokenHeaderName:Kt.antiForgeryHeaderTokenName,antiForgeryTokenValue:Kt.antiForgeryHeaderTokenValue})),createThemeLibrarySectionModalWindowBffClient:uR(Ko({baseUrl:Kt.wysiwygBffProxyBaseUrl,antiForgeryTokenHeaderName:Kt.antiForgeryHeaderTokenName,antiForgeryTokenValue:Kt.antiForgeryHeaderTokenValue})),deleteComponentLibrarySectionModalWindowBffClient:dR(Ko({baseUrl:Kt.wysiwygBffProxyBaseUrl,antiForgeryTokenHeaderName:Kt.antiForgeryHeaderTokenName,antiForgeryTokenValue:Kt.antiForgeryHeaderTokenValue}))})});eF.use(RR({theme:!1,components:{VSkeletonLoader:Sft}}));eF.use(FD);eF.mount(JR);
|