@retailrocketgroup/retailrocket-edit.product-back-in-stock-vue-email-template-render 3.0.354638 → 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 +1 -1
- package/package.json +1 -1
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 L7="9.8.0";function D7(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(Wr().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(Wr().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(Wr().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Wr().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Wr().__INTLIFY_PROD_DEVTOOLS__=!1)}const mD=s7.__EXTEND_POINT__,Cs=ng(mD);Cs(),Cs(),Cs(),Cs(),Cs(),Cs(),Cs(),Cs();const cD=ki.__EXTEND_POINT__,Vn=ng(cD),Ao={UNEXPECTED_RETURN_TYPE:cD,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 Gh=Ks("__translateVNode"),Kh=Ks("__datetimeParts"),Yh=Ks("__numberParts"),pD=Ks("__setPluralRules"),fD=Ks("__injectWithOption"),Zh=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 zp(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 CD(t){return t.type}function hD(t,o,e){let n=Ze(o.messages)?o.messages:{};"__i18nGlobal"in e&&(n=zp(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 hb(t){return E(Or,null,t,0)}const gb="__INTLIFY_META__",Fb=()=>[],v7=()=>!1;let yb=0;function Sb(t){return(o,e,n,s)=>t(e,n,Uo()||void 0,s)}const R7=()=>{const t=Uo();let o=null;return t&&(o=CD(t)[gb])?{[gb]:o}:null};function ag(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(zp(a.value,t)),c=Te(Fe(t.datetimeFormats)?t.datetimeFormats:{[a.value]:{}}),f=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)?Sb(t.missing):null,P=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&&ab(null);const z={version:L7,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:P===null?void 0:P,warnHtmlMessage:R,escapeParameter:L,messageResolver:t.messageResolver,messageCompiler:t.messageCompiler,__meta:{framework:"vue"}};z.datetimeFormats=c.value,z.numberFormats=f.value,z.__datetimeFormatters=Fe(O)?O.__datetimeFormatters:void 0,z.__numberFormatters=Fe(O)?O.__numberFormatters:void 0;const ot=g7(z);return s&&ab(ot),ot})(),Pu(O,a.value,d.value);function H(){return[a.value,d.value,u.value,c.value,f.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,Pu(O,a.value,z)}}),et=Yt(()=>u.value),tt=Yt(()=>c.value),ct=Yt(()=>f.value);function Rt(){return so(P)?P:null}function nt(z){P=z,O.postTranslation=z}function ft(){return v}function Tt(z){z!==null&&(D=Sb(z)),v=z,O.missing=D}const Ot=(z,ot,Pt,At,ie,G)=>{H();let J;try{__INTLIFY_PROD_DEVTOOLS__,s||(O.fallbackContext=e?h7():void 0),J=z(O)}finally{__INTLIFY_PROD_DEVTOOLS__,s||(O.fallbackContext=void 0)}if(Pt!=="translate exists"&&No(J)&&J===jp||Pt==="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 Ot(ot=>Reflect.apply(mb,null,[ot,...z]),()=>Uh(...z),"translate",ot=>Reflect.apply(ot.t,ot,[...z]),ot=>ot,ot=>kt(ot))}function oe(...z){const[ot,Pt,At]=z;if(At&&!Ze(At))throw $o(Ao.INVALID_ARGUMENT);return Xt(ot,Pt,Xo({resolvedMessage:!0},At||{}))}function $t(...z){return Ot(ot=>Reflect.apply(cb,null,[ot,...z]),()=>jh(...z),"datetime format",ot=>Reflect.apply(ot.d,ot,[...z]),()=>ib,ot=>kt(ot))}function Ie(...z){return Ot(ot=>Reflect.apply(fb,null,[ot,...z]),()=>zh(...z),"number format",ot=>Reflect.apply(ot.n,ot,[...z]),()=>ib,ot=>kt(ot))}function Qt(z){return z.map(ot=>kt(ot)||No(ot)||we(ot)?hb(String(ot)):ot)}const ue={normalize:Qt,interpolate:z=>z,type:"vnode"};function ye(...z){return Ot(ot=>{let Pt;const At=ot;try{At.processor=ue,Pt=Reflect.apply(mb,null,[At,...z])}finally{At.processor=null}return Pt},()=>Uh(...z),"translate",ot=>ot[Gh](...z),ot=>[hb(ot)],ot=>mo(ot))}function Be(...z){return Ot(ot=>Reflect.apply(fb,null,[ot,...z]),()=>zh(...z),"number format",ot=>ot[Yh](...z),Fb,ot=>kt(ot)||mo(ot))}function _e(...z){return Ot(ot=>Reflect.apply(cb,null,[ot,...z]),()=>jh(...z),"datetime format",ot=>ot[Kh](...z),Fb,ot=>kt(ot)||mo(ot))}function ze(z){W=z,O.pluralRules=W}function Oe(z,ot){return Ot(()=>{if(!z)return!1;const Pt=kt(ot)?ot:a.value,At=B(Pt),ie=O.messageResolver(At,z);return Ol(ie)||mi(ie)||kt(ie)},()=>[z],"translate exists",Pt=>Reflect.apply(Pt.te,Pt,[z,ot]),v7,Pt=>we(Pt))}function Xe(z){let ot=null;const Pt=qL(O,d.value,a.value);for(let At=0;At<Pt.length;At++){const ie=u.value[Pt[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 Pt={[z]:ot};for(const At in Pt)hd(Pt,At)&&Fd(Pt[At]);ot=Pt[z]}u.value[z]=ot,O.messages=u.value}function K(z,ot){u.value[z]=u.value[z]||{};const Pt={[z]:ot};for(const At in Pt)hd(Pt,At)&&Fd(Pt[At]);ot=Pt[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,pb(O,z,ot)}function Dt(z,ot){c.value[z]=Xo(c.value[z]||{},ot),O.datetimeFormats=c.value,pb(O,z,ot)}function Ct(z){return f.value[z]||{}}function bt(z,ot){f.value[z]=ot,O.numberFormats=f.value,Cb(O,z,ot)}function Ft(z,ot){f.value[z]=Xo(f.value[z]||{},ot),O.numberFormats=f.value,Cb(O,z,ot)}yb++,e&&Oh&&(qe(e.locale,z=>{r&&(a.value=z,O.locale=z,Pu(O,a.value,d.value))}),qe(e.fallbackLocale,z=>{r&&(d.value=z,O.fallbackLocale=z,Pu(O,a.value,d.value))}));const xt={id:yb,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,Pu(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:ft,setMissingHandler:Tt,[pD]:ze};return xt.datetimeFormats=tt,xt.numberFormats=ct,xt.rt=oe,xt.te=Oe,xt.tm=V,xt.d=$t,xt.n=Ie,xt.getDateTimeFormat=Q,xt.setDateTimeFormat=ut,xt.mergeDateTimeFormat=Dt,xt.getNumberFormat=Ct,xt.setNumberFormat=bt,xt.mergeNumberFormat=Ft,xt[fD]=n,xt[Gh]=ye,xt[Kh]=_e,xt[Yh]=Be,xt}function x7(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,f=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,P=t.datetimeFormats,R=t.numberFormats,L=t.flatJson;return{locale:o,fallbackLocale:e,messages:y,flatJson:L,datetimeFormats:P,numberFormats:R,missing:n,missingWarn:s,fallbackWarn:i,fallbackRoot:r,fallbackFormat:a,modifiers:d,pluralRules:u,postTranslation:c,warnHtmlMessage:f,escapeParameter:h,messageResolver:t.messageResolver,inheritLocale:g,__i18n:b,__root:v,__injectWithOption:D}}function Jh(t={},o){{const e=ag(x7(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,f=null;if(!kt(r))throw $o(Ao.INVALID_ARGUMENT);const h=r;return kt(a)?u.locale=a:mo(a)?c=a:Fe(a)&&(f=a),mo(d)?c=d:Fe(d)&&(f=d),Reflect.apply(e.t,e,[h,c||f||{},u])},rt(...i){return Reflect.apply(e.rt,e,[...i])},tc(...i){const[r,a,d]=i,u={plural:1};let c=null,f=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)&&(f=a),kt(d)?u.locale=d:mo(d)?c=d:Fe(d)&&(f=d),Reflect.apply(e.t,e,[h,c||f||{},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 lg={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:t=>t==="parent"||t==="global",default:"parent"},i18n:{type:Object}};function _7({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 gD(t){return Lt}const P7=lt({name:"i18n-t",props:Xo({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:t=>No(t)||!isNaN(t)}},lg),setup(t,o){const{slots:e,attrs:n}=o,s=t.i18n||Gp({useScope:t.scope,__useComponent:!0});return()=>{const i=Object.keys(e).filter(f=>f!=="_"),r={};t.locale&&(r.locale=t.locale),t.plural!==void 0&&(r.plural=kt(t.plural)?+t.plural:t.plural);const a=_7(o,i),d=s[Gh](t.keypath,a,r),u=Xo({},n),c=kt(t.tag)||Ze(t.tag)?t.tag:gD();return Xl(c,u,d)}}}),bb=P7;function I7(t){return mo(t)&&!kt(t[0])}function FD(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 I7(b)&&(b[0].key=`${h.type}-${g}`),b}):kt(d)&&(u=[d]);const c=Xo({},i),f=kt(t.tag)||Ze(t.tag)?t.tag:gD();return Xl(f,c,u)}}const E7=lt({name:"i18n-n",props:Xo({value:{type:Number,required:!0},format:{type:[String,Object]}},lg),setup(t,o){const e=t.i18n||Gp({useScope:"parent",__useComponent:!0});return FD(t,o,dD,(...n)=>e[Yh](...n))}}),Tb=E7,N7=lt({name:"i18n-d",props:Xo({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},lg),setup(t,o){const e=t.i18n||Gp({useScope:"parent",__useComponent:!0});return FD(t,o,uD,(...n)=>e[Kh](...n))}}),Bb=N7;function w7(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 A7(t){const o=r=>{const{instance:a,modifiers:d,value:u}=r;if(!a||!a.$)throw $o(Ao.UNEXPECTED_ERROR);const c=w7(t,a.$),f=Vb(u);return[Reflect.apply(c.t,c,[...Lb(f)]),c]};return{created:(r,a)=>{const[d,u]=o(a);Oh&&t.global===u&&(r.__i18nWatcher=qe(u.locale,()=>{a.instance&&a.instance.$forceUpdate()})),r.__composer=u,r.textContent=d},unmounted:r=>{Oh&&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=Vb(a);r.textContent=Reflect.apply(d.t,d,[...Lb(u)])}},getSSRProps:r=>{const[a]=o(r);return{textContent:a}}}}function Vb(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 Lb(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 W7(t,o,...e){const n=Fe(e[0])?e[0]:{},s=!!n.useI18nComponentName;(we(n.globalInstall)?n.globalInstall:!0)&&([s?"i18n":bb.name,"I18nT"].forEach(r=>t.component(r,bb)),[Tb.name,"I18nN"].forEach(r=>t.component(r,Tb)),[Bb.name,"I18nD"].forEach(r=>t.component(r,Bb))),t.directive("t",A7(o))}function k7(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=Db(t,i);else{i.__injectWithOption=!0,i.__extender=e.__vueI18nExtend,this.$i18n=Jh(i);const r=this.$i18n;r.__extender&&(r.__disposer=r.__extender(this.$i18n))}}else if(s.__i18n)if(this===this.$root)this.$i18n=Db(t,s);else{this.$i18n=Jh({__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&&hD(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 Db(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[pD](o.pluralizationRules||t.pluralizationRules);const e=zp(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 M7=Ks("global-vue-i18n");function O7(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]=H7(t,e),d=Ks("");function u(h){return i.get(h)||null}function c(h,g){i.set(h,g)}function f(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=J7(g,h.global)),__VUE_I18N_FULL_INSTALL__&&W7(g,h,...y),__VUE_I18N_LEGACY_API__&&e&&g.mixin(k7(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:f};return h}}function Gp(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=$7(o),n=j7(e),s=CD(o),i=U7(t,s);if(__VUE_I18N_LEGACY_API__&&e.mode==="legacy"&&!t.__useComponent){if(!e.allowComposition)throw $o(Ao.NOT_AVAILABLE_IN_LEGACY_MODE);return Y7(o,i,n,t)}if(i==="global")return hD(n,t,s),n;if(i==="parent"){let d=z7(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=ag(d),r.__composerExtend&&(a[Zh]=r.__composerExtend(a)),K7(r,o,a),r.__setInstance(o,a)}return a}function H7(t,o,e){const n=f0();{const s=__VUE_I18N_LEGACY_API__&&o?n.run(()=>Jh(t)):n.run(()=>ag(t));if(s==null)throw $o(Ao.UNEXPECTED_ERROR);return[n,s]}}function $7(t){{const o=Mr(t.isCE?M7:t.appContext.app.__VUE_I18N_SYMBOL__);if(!o)throw $o(t.isCE?Ao.NOT_INSTALLED_WITH_PROVIDE:Ao.UNEXPECTED_ERROR);return o}}function U7(t,o){return Up(t)?"__i18n"in o?"local":"global":t.useScope?t.useScope:"local"}function j7(t){return t.mode==="composition"?t.global:t.global.__composer}function z7(t,o,e=!1){let n=null;const s=o.root;let i=G7(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 G7(t,o=!1){return t==null?null:o&&t.vnode.ctx||t.parent}function K7(t,o,e){$i(()=>{},o),Id(()=>{const n=e;t.__deleteInstance(o);const s=n[Zh];s&&(s(),delete n[Zh])},o)}function Y7(t,o,e,n={}){const s=o==="local",i=ar(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(zp(a.value,n)),c=Te(Fe(n.datetimeFormats)?n.datetimeFormats:{[a.value]:{}}),f=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,P=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,f.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(()=>f.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 ft(...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 Ot(...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 Ie(B){return i.value?i.value.getLocaleMessage(B):{}}function Qt(B,M){i.value&&(i.value.setLocaleMessage(B,M),u.value[B]=M)}function fe(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),f.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:P},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:ft,getPostTranslationHandler:et,setPostTranslationHandler:tt,getMissingHandler:ct,setMissingHandler:Rt,rt:Tt,d:Ot,n:Xt,tm:oe,te:$t,getLocaleMessage:Ie,setLocaleMessage:Qt,mergeLocaleMessage:fe,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(f.value).forEach(M=>{B.mergeNumberFormat(M,f.value[M])}),B.escapeParameter=R,B.fallbackFormat=b,B.fallbackRoot=y,B.fallbackWarn=g,B.missingWarn=h,B.warnHtmlMessage=P}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,f.value=B.numberFormats.value):s&&V(B)}),Xe}const Z7=["locale","fallbackLocale","availableLocales"],vb=["t","rt","d","n","tm","te"];function J7(t,o){const e=Object.create(null);return Z7.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,vb.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,vb.forEach(s=>{delete t.config.globalProperties[`$${s}`]})}}D7();__INTLIFY_JIT_COMPILATION__?sb(S7):sb(y7);c7(K8);p7(qL);if(__INTLIFY_PROD_DEVTOOLS__){const t=Wr();t.__INTLIFY__=!0,o7(t.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const X7={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"}}}}}},Q7={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"}}}}}},yD=O7({locale:"en",legacy:!1,fallbackWarn:!1,missingWarn:!1,messages:{en:X7,ru:Q7},warnHtmlMessage:!1}),q7=()=>{const{t}=yD.global;return(o,e)=>e?t(o,e):t(o)},x=q7(),tO=async t=>{Gp().locale.value=t},eO={class:"bootstrap-styles modal fade show d-block position-absolute"},oO={class:"bootstrap-styles modal-dialog modal-dialog-centered"},nO={class:"bootstrap-styles modal-content border rounded-3 shadow","data-test":"modal-window__content"},iO={class:"bootstrap-styles modal-header p-0"},rO={class:"bootstrap-styles container-fluid border-bottom g-0"},sO={class:"bootstrap-styles d-flex justify-content-between align-items-center px-11 py-7"},aO={class:"bootstrap-styles modal-title border-0","data-test":"modal-window__header-text"},lO={class:"bootstrap-styles modal-body p-0","data-test":"modal-window__body"},uO={class:"bootstrap-styles modal-footer p-0 g-0"},dO={class:"bootstrap-styles container-fluid border-top"},mO={class:"bootstrap-styles d-flex justify-content-end py-8 px-11"},cO={class:"bootstrap-styles col-6 d-flex justify-content-end","data-test":"modal-window__footer-actions"},pO=lt({__name:"ModalWindow",props:{headerText:{}},emits:["close"],setup(t,{emit:o}){const e=t,n=o;return(s,i)=>(S(),I("div",eO,[p("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"))}),p("div",oO,[p("div",nO,[p("div",iO,[p("div",rO,[p("div",sO,[p("h5",aO,k(e.headerText),1),Mt((S(),I("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]=[p("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},[p("path",{d:"M3 3L13 13",stroke:"var(--gray-500)"}),p("path",{d:"M13 3L3 13",stroke:"var(--gray-500)"})],-1)]))),[[T(Ho),{title:T(x)("UIComponents.modalWindow.closeButton"),placement:"top"}]])])])]),p("div",lO,[cd(s.$slots,"body",{},void 0,!0)]),p("div",uO,[p("div",dO,[p("div",mO,[p("div",cO,[cd(s.$slots,"footer-actions",{},void 0,!0)])])])])])])]))}});const yn=mt(pO,[["__scopeId","data-v-fd7bc93f"]]),fO={},CO={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"};function hO(t,o){return S(),I("svg",CO,o[0]||(o[0]=[p("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",hO]]),Rb={display:"dynamic",reference:"parent",autoClose:"outside",offset:[0,5]},Nn={mounted(t,o){return new In(t,{...Rb,...o.value})},updated(t,o){const e=In.getInstance(t);return e!==null&&e.hide(),new In(t,{...Rb,...o.value})},unmounted(t){const o=In.getInstance(t);o!==null&&o.dispose()}};const gO={},FO={class:"bootstrap-styles d-flex justify-content-center align-items-center icon-fill icon-loading"};function yO(t,o){return S(),I("i",FO,o[0]||(o[0]=[p("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},[p("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(gO,[["render",yO],["__scopeId","data-v-bdca96e4"]]);const SO={},bO={class:"bootstrap-styles d-flex justify-content-center align-items-center icon-fill icon-loading"};function TO(t,o){return S(),I("i",bO,o[0]||(o[0]=[p("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"17",viewBox:"0 0 16 16",fill:"none"},[p("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 hr=mt(SO,[["render",TO],["__scopeId","data-v-5227279d"]]),BO={class:"bootstrap-styles fw-bold mb-5"},VO={class:"bootstrap-styles col-12 mb-13"},LO={class:"bootstrap-styles bg-color-input border rounded-2 py-1 px-3 d-flex"},DO=["placeholder","disabled"],vO={class:"bootstrap-styles fw-bold mb-5"},RO={class:"bootstrap-styles dropdown border rounded-2 bg-color-input"},xO=["disabled"],_O={class:"bootstrap-styles d-flex justify-content-center align-items-center"},PO={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"},NO=lt({__name:"AddThemeLibrarySectionItemModalWindow",props:{deps:{},themeSettings:{}},emits:["themeSectionItemAdded","cancel"],setup(t,{emit:o}){const e=t,n=It({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(x)("asideMenu.themeLibrary.addThemeLibrarySectionItemModalWindow.title"),onClose:d[3]||(d[3]=()=>r())},{body:le(()=>[E(Jn,{class:at(["bootstrap-styles position-absolute top-50 start-50",{invisible:!n.isLoadedThemeLibrarySectionList}])},null,8,["class"]),p("div",{class:at(["bootstrap-styles px-11 py-7 text-start",{invisible:n.isLoadedThemeLibrarySectionList}])},[p("label",BO,k(T(x)("asideMenu.themeLibrary.addThemeLibrarySectionItemModalWindow.inputNameLabel")),1),p("div",VO,[p("div",LO,[Mt(p("input",{"onUpdate:modelValue":d[0]||(d[0]=u=>n.sectionItemName=u),type:"text",class:"bootstrap-styles w-100",placeholder:T(x)("asideMenu.themeLibrary.addThemeLibrarySectionItemModalWindow.inputNamePlaceholder"),disabled:!n.isLoaded},null,8,DO),[[En,n.sectionItemName]])])]),p("div",null,[p("label",vO,k(T(x)("asideMenu.themeLibrary.addThemeLibrarySectionItemModalWindow.inputGroupLabel")),1),p("div",RO,[Mt((S(),I("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},[p("span",null,k(n.selectedParentSectionName),1),p("i",_O,[E(jo)])],8,xO)),[[T(Nn)]]),p("ul",PO,[(S(!0),I(Lt,null,ge(n.themeLibrarySections,u=>(S(),I("li",{key:u.sectionId,class:"bootstrap-styles dropdown-item p-0",onClick:()=>{n.selectedParentSectionId=u.sectionId,n.selectedParentSectionName=u.sectionName}},[p("span",EO,k(u.sectionName),1)],8,IO))),128))])])])],2)]),"footer-actions":le(()=>[p("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(x)("asideMenu.themeLibrary.addThemeLibrarySectionItemModalWindow.cancelButton")),3),p("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"]))},[p("span",{class:at({"bootstrap-styles invisible":!n.isLoaded})},k(T(x)("asideMenu.themeLibrary.addThemeLibrarySectionItemModalWindow.applyButton")),3),E(hr,{class:at(["bootstrap-styles position-absolute",{invisible:n.isLoaded}])},null,8,["class"])])]),_:1},8,["headerText"]))}}),wO={class:"bootstrap-styles fw-bold mb-5"},AO={class:"bootstrap-styles bg-color-input border rounded-2 py-1 px-3 d-flex"},WO=["placeholder","disabled"],kO=lt({__name:"CreateThemeLibrarySectionModalWindow",props:{deps:{}},emits:["onCanceled","onThemeLibrarySectionCreated"],setup(t,{emit:o}){const e=t,n=It({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(x)("asideMenu.themeLibrary.createThemeLibrarySectionModalWindow.title"),onClose:d[4]||(d[4]=()=>i())},{body:le(()=>[p("div",{class:"bootstrap-styles px-11 py-7 text-start",onClick:d[1]||(d[1]=u=>n.isDropdownMenuShown=!1)},[p("label",wO,k(T(x)("asideMenu.themeLibrary.createThemeLibrarySectionModalWindow.inputLabel")),1),p("div",AO,[Mt(p("input",{"onUpdate:modelValue":d[0]||(d[0]=u=>n.sectionName=u),type:"text",class:"bootstrap-styles w-100",placeholder:T(x)("asideMenu.themeLibrary.createThemeLibrarySectionModalWindow.inputPlaceholder"),disabled:!n.isLoaded},null,8,WO),[[En,n.sectionName]])])])]),"footer-actions":le(()=>[p("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(x)("asideMenu.themeLibrary.createThemeLibrarySectionModalWindow.cancelButton")),3),p("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"]))},[p("span",{class:at({"bootstrap-styles invisible":!n.isLoaded})},k(T(x)("asideMenu.themeLibrary.createThemeLibrarySectionModalWindow.applyButton")),3),E(hr,{class:at(["bootstrap-styles position-absolute",{invisible:n.isLoaded}])},null,8,["class"])])]),_:1},8,["headerText"]))}}),MO={},OO={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"};function HO(t,o){return S(),I("svg",OO,o[0]||(o[0]=[p("path",{d:"M2 8H14",stroke:"var(--blue-400)","stroke-width":"1.5"},null,-1),p("path",{d:"M8 2L8 14",stroke:"var(--blue-400)","stroke-width":"1.5"},null,-1)]))}const Kp=mt(MO,[["render",HO]]),$O={},UO={xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 12 12",fill:"none"};function jO(t,o){return S(),I("svg",UO,o[0]||(o[0]=[p("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 zO=mt($O,[["render",jO]]),GO={class:"bootstrap-styles prev-menu d-flex align-items-center justify-content-start gap-2 mb-13 text-hover__blue"},KO={class:"bootstrap-styles d-flex justify-content-center align-items-center icon-hover"},YO={class:"bootstrap-styles fs-6 fw-bold text-start"},Yp=lt({__name:"PrevMenuButton",props:{title:{}},setup(t){const o=t;return(e,n)=>(S(),I("button",GO,[p("i",KO,[E(zO)]),p("span",YO,k(o.title),1)]))}}),Xh=Math.min,Vl=Math.max,ep=Math.round,ic=Math.floor,ks=t=>({x:t,y:t});function ZO(t,o){return typeof t=="function"?t(o):t}function ug(t){return t.split("-")[0]}function SD(t){return t.split("-")[1]}function JO(t){return t==="x"?"y":"x"}function XO(t){return t==="y"?"height":"width"}function dg(t){return["top","bottom"].includes(ug(t))?"y":"x"}function QO(t){return JO(dg(t))}function bD(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function xb(t,o,e){let{reference:n,floating:s}=t;const i=dg(o),r=QO(o),a=XO(r),d=ug(o),u=i==="y",c=n.x+n.width/2-s.width/2,f=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:f};break;case"left":g={x:n.x-s.width,y:f};break;default:g={x:n.x,y:n.y}}switch(SD(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:f}=xb(u,n,d),h=n,g={},y=0;for(let b=0;b<a.length;b++){const{name:v,fn:D}=a[b],{x:P,y:R,data:L,reset:N}=await D({x:c,y:f,initialPlacement:n,placement:h,strategy:s,middlewareData:g,rects:u,platform:r,elements:{reference:t,floating:o}});c=P??c,f=R??f,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:f}=xb(u,h,d)),b=-1)}return{x:c,y:f,placement:h,strategy:s,middlewareData:g}};async function t9(t,o){const{placement:e,platform:n,elements:s}=t,i=await(n.isRTL==null?void 0:n.isRTL(s.floating)),r=ug(e),a=SD(e),d=dg(e)==="y",u=["left","top"].includes(r)?-1:1,c=i&&d?-1:1,f=ZO(o,t);let{mainAxis:h,crossAxis:g,alignmentAxis:y}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...f};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 op=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 t9(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 Kr(t){return mg(t)?(t.nodeName||"").toLowerCase():"#document"}function Gn(t){var o;return(t==null||(o=t.ownerDocument)==null?void 0:o.defaultView)||window}function qr(t){var o;return(o=(mg(t)?t.ownerDocument:t.document)||window.document)==null?void 0:o.documentElement}function mg(t){return t instanceof Node||t instanceof Gn(t).Node}function Yr(t){return t instanceof Element||t instanceof Gn(t).Element}function pr(t){return t instanceof HTMLElement||t instanceof Gn(t).HTMLElement}function _b(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}=yi(t);return/auto|scroll|overlay|hidden|clip/.test(o+n+e)&&!["inline","contents"].includes(s)}function e9(t){return["table","td","th"].includes(Kr(t))}function cg(t){const o=pg(),e=yi(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 o9(t){let o=Hl(t);for(;pr(o)&&!Zp(o);){if(cg(o))return o;o=Hl(o)}return null}function pg(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Zp(t){return["html","body","#document"].includes(Kr(t))}function yi(t){return Gn(t).getComputedStyle(t)}function Jp(t){return Yr(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Hl(t){if(Kr(t)==="html")return t;const o=t.assignedSlot||t.parentNode||_b(t)&&t.host||qr(t);return _b(o)?o.host:o}function TD(t){const o=Hl(t);return Zp(o)?t.ownerDocument?t.ownerDocument.body:t.body:pr(o)&&Od(o)?o:TD(o)}function yd(t,o,e){var n;o===void 0&&(o=[]),e===void 0&&(e=!0);const s=TD(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 BD(t){const o=yi(t);let e=parseFloat(o.width)||0,n=parseFloat(o.height)||0;const s=pr(t),i=s?t.offsetWidth:e,r=s?t.offsetHeight:n,a=ep(e)!==i||ep(n)!==r;return a&&(e=i,n=r),{width:e,height:n,$:a}}function fg(t){return Yr(t)?t:t.contextElement}function Ll(t){const o=fg(t);if(!pr(o))return ks(1);const e=o.getBoundingClientRect(),{width:n,height:s,$:i}=BD(o);let r=(i?ep(e.width):e.width)/n,a=(i?ep(e.height):e.height)/s;return(!r||!Number.isFinite(r))&&(r=1),(!a||!Number.isFinite(a))&&(a=1),{x:r,y:a}}const n9=ks(0);function VD(t){const o=Gn(t);return!pg()||!o.visualViewport?n9:{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}}function i9(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?Yr(n)&&(r=Ll(n)):r=Ll(t));const a=i9(i,e,n)?VD(i):ks(0);let d=(s.left+a.x)/r.x,u=(s.top+a.y)/r.y,c=s.width/r.x,f=s.height/r.y;if(i){const h=Gn(i),g=n&&Yr(n)?Gn(n):n;let y=h,b=y.frameElement;for(;b&&n&&g!==y;){const v=Ll(b),D=b.getBoundingClientRect(),P=yi(b),R=D.left+(b.clientLeft+parseFloat(P.paddingLeft))*v.x,L=D.top+(b.clientTop+parseFloat(P.paddingTop))*v.y;d*=v.x,u*=v.y,c*=v.x,f*=v.y,d+=R,u+=L,y=Gn(b),b=y.frameElement}}return bD({width:c,height:f,x:d,y:u})}const r9=[":popover-open",":modal"];function LD(t){return r9.some(o=>{try{return t.matches(o)}catch{return!1}})}function s9(t){let{elements:o,rect:e,offsetParent:n,strategy:s}=t;const i=s==="fixed",r=qr(n),a=o?LD(o.floating):!1;if(n===r||a&&i)return e;let d={scrollLeft:0,scrollTop:0},u=ks(1);const c=ks(0),f=pr(n);if((f||!f&&!i)&&((Kr(n)!=="body"||Od(r))&&(d=Jp(n)),pr(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 a9(t){return Array.from(t.getClientRects())}function DD(t){return xa(qr(t)).left+Jp(t).scrollLeft}function l9(t){const o=qr(t),e=Jp(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+DD(t);const a=-e.scrollTop;return yi(n).direction==="rtl"&&(r+=Vl(o.clientWidth,n.clientWidth)-s),{width:s,height:i,x:r,y:a}}function u9(t,o){const e=Gn(t),n=qr(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=pg();(!u||u&&o==="fixed")&&(a=s.offsetLeft,d=s.offsetTop)}return{width:i,height:r,x:a,y:d}}function d9(t,o){const e=xa(t,!0,o==="fixed"),n=e.top+t.clientTop,s=e.left+t.clientLeft,i=pr(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 Pb(t,o,e){let n;if(o==="viewport")n=u9(t,e);else if(o==="document")n=l9(qr(t));else if(Yr(o))n=d9(o,e);else{const s=VD(t);n={...o,x:o.x-s.x,y:o.y-s.y}}return bD(n)}function vD(t,o){const e=Hl(t);return e===o||!Yr(e)||Zp(e)?!1:yi(e).position==="fixed"||vD(e,o)}function m9(t,o){const e=o.get(t);if(e)return e;let n=yd(t,[],!1).filter(a=>Yr(a)&&Kr(a)!=="body"),s=null;const i=yi(t).position==="fixed";let r=i?Hl(t):t;for(;Yr(r)&&!Zp(r);){const a=yi(r),d=cg(r);!d&&a.position==="fixed"&&(s=null),(i?!d&&!s:!d&&a.position==="static"&&!!s&&["absolute","fixed"].includes(s.position)||Od(r)&&!d&&vD(t,r))?n=n.filter(c=>c!==r):s=a,r=Hl(r)}return o.set(t,n),n}function c9(t){let{element:o,boundary:e,rootBoundary:n,strategy:s}=t;const r=[...e==="clippingAncestors"?m9(o,this._c):[].concat(e),n],a=r[0],d=r.reduce((u,c)=>{const f=Pb(o,c,s);return u.top=Vl(f.top,u.top),u.right=Xh(f.right,u.right),u.bottom=Xh(f.bottom,u.bottom),u.left=Vl(f.left,u.left),u},Pb(o,a,s));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function p9(t){const{width:o,height:e}=BD(t);return{width:o,height:e}}function f9(t,o,e){const n=pr(o),s=qr(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((Kr(o)!=="body"||Od(s))&&(a=Jp(o)),n){const f=xa(o,!0,i,o);d.x=f.x+o.clientLeft,d.y=f.y+o.clientTop}else s&&(d.x=DD(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!pr(t)||yi(t).position==="fixed"?null:o?o(t):t.offsetParent}function RD(t,o){const e=Gn(t);if(!pr(t)||LD(t))return e;let n=Ib(t,o);for(;n&&e9(n)&&yi(n).position==="static";)n=Ib(n,o);return n&&(Kr(n)==="html"||Kr(n)==="body"&&yi(n).position==="static"&&!cg(n))?e:n||o9(t)||e}const C9=async function(t){const o=this.getOffsetParent||RD,e=this.getDimensions;return{reference:f9(t.reference,await o(t.floating),t.strategy),floating:{x:0,y:0,...await e(t.floating)}}};function h9(t){return yi(t).direction==="rtl"}const g9={convertOffsetParentRelativeRectToViewportRelativeRect:s9,getDocumentElement:qr,getClippingRect:c9,getOffsetParent:RD,getElementRects:C9,getClientRects:a9,getDimensions:p9,getScale:Ll,isElement:Yr,isRTL:h9};function F9(t,o){let e=null,n;const s=qr(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:f,height:h}=t.getBoundingClientRect();if(a||o(),!f||!h)return;const g=ic(c),y=ic(s.clientWidth-(u+f)),b=ic(s.clientHeight-(c+h)),v=ic(u),P={rootMargin:-g+"px "+-y+"px "+-b+"px "+-v+"px",threshold:Vl(0,Xh(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,{...P,root:s.ownerDocument})}catch{e=new IntersectionObserver(L,P)}e.observe(t)}return r(!0),i}function np(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 f=u&&a?F9(u,e):null;let h=-1,g=null;r&&(g=new ResizeObserver(D=>{let[P]=D;P&&P.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(P=>{s&&P.removeEventListener("scroll",e),i&&P.removeEventListener("resize",e)}),f==null||f(),(D=g)==null||D.disconnect(),g=null,d&&cancelAnimationFrame(y)}}const y9=(t,o,e)=>{const n=new Map,s={platform:g9,...e},i={...s.platform,_c:n};return qO(t,o,{...s,platform:i})};function S9(t){return t!=null&&typeof t=="object"&&"$el"in t}function Eb(t){if(S9(t)){const o=t.$el;return mg(o)&&Kr(o)==="#comment"?null:o}return t}function xD(t){return typeof window>"u"?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function Nb(t,o){const e=xD(t);return Math.round(o*e)/e}function ip(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)),f=Te(0),h=Te(0),g=Te(a.value),y=Te(r.value),b=ar({}),v=Te(!1),D=Yt(()=>{const O={position:g.value,left:"0",top:"0"};if(!c.value)return O;const X=Nb(c.value,f.value),H=Nb(c.value,h.value);return d.value?{...O,transform:"translate("+X+"px, "+H+"px)",...xD(c.value)>=1.5&&{willChange:"transform"}}:{position:g.value,left:X+"px",top:H+"px"}});let P;function R(){u.value==null||c.value==null||y9(u.value,c.value,{middleware:i.value,placement:r.value,strategy:a.value}).then(O=>{f.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 P=="function"&&(P(),P=void 0)}function N(){if(L(),n===void 0){R();return}if(u.value!=null&&c.value!=null){P=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"}),C0()&&h0(L),{x:fa(f),y:fa(h),strategy:fa(g),placement:fa(y),middlewareData:fa(b),isPositioned:fa(v),floatingStyles:D,update:R}}const b9={},T9={class:"icon-hover",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function B9(t,o){return S(),I("svg",T9,o[0]||(o[0]=[p("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 _D=mt(b9,[["render",B9]]),V9={},L9={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function D9(t,o){return S(),I("svg",L9,o[0]||(o[0]=[p("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 PD=mt(V9,[["render",D9]]),v9={},R9={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"};function x9(t,o){return S(),I("svg",R9,o[0]||(o[0]=[Cr('<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(v9,[["render",x9]]),_9={class:"bootstrap-styles px-11 py-7 text-start"},ts=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(()=>[p("div",_9,[cd(i.$slots,"body-content")])]),"footer-actions":le(()=>[p("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(x)("UIComponents.removeConfirmModalWindow.cancelButton")),1),p("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(x)("UIComponents.removeConfirmModalWindow.applyButton")),1)]),_:3},8,["headerText"]))}});const P9=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(ts,{headerText:T(x)("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(x)("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"},N9={class:"bootstrap-styles bg-color-input border rounded-2 py-1 px-3 d-flex"},w9=["placeholder"],A9={class:"bootstrap-styles fw-bold mb-5"},W9={class:"bootstrap-styles dropdown border rounded-2 bg-color-input"},k9={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"},M9={class:"bootstrap-styles d-flex justify-content-center align-items-center"},O9={class:"bootstrap-styles dropdown-menu w-100 rounded-2","aria-labelledby":"dropdownMenuSectionSelect"},H9=["onClick"],$9={class:"bootstrap-styles d-block py-1 px-3 text-decoration-none text-reset cursor-pointer"},U9=lt({__name:"EditThemeLibrarySectionItemModalWindow",props:{deps:{},initialThemeSection:{},themeName:{},themeId:{}},emits:["cancel","onThemeLibrarySectionItemUpdated"],setup(t,{emit:o}){const e=t,n=It({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(x)("asideMenu.themeLibrary.themeSection.themeSectionItem.editThemeLibrarySectionModalWindow.title"),onClose:d[2]||(d[2]=()=>i())},{body:le(()=>[E(Jn,{class:at(["bootstrap-styles position-absolute top-50 start-50",{invisible:!n.isLoadedThemeLibrarySectionList}])},null,8,["class"]),p("div",{class:at(["bootstrap-styles px-11 py-7 text-start",{invisible:n.isLoadedThemeLibrarySectionList}])},[p("label",I9,k(T(x)("asideMenu.themeLibrary.themeSection.themeSectionItem.editThemeLibrarySectionModalWindow.themeNameLabel")),1),p("div",E9,[p("div",N9,[Mt(p("input",{"onUpdate:modelValue":d[0]||(d[0]=u=>n.sectionItemName=u),type:"text",class:"bootstrap-styles w-100",placeholder:T(x)("asideMenu.themeLibrary.themeSection.themeSectionItem.editThemeLibrarySectionModalWindow.themeNamePlaceholder")},null,8,w9),[[En,n.sectionItemName]])])]),p("div",null,[p("label",A9,k(T(x)("asideMenu.themeLibrary.themeSection.themeSectionItem.editThemeLibrarySectionModalWindow.themeSectionLabel")),1),p("div",W9,[Mt((S(),I("button",k9,[p("span",null,k(n.selectedSectionName),1),p("i",M9,[E(jo)])])),[[T(Nn)]]),p("ul",O9,[(S(!0),I(Lt,null,ge(n.themeLibrarySections,u=>(S(),I("li",{key:u.sectionName,class:"bootstrap-styles dropdown-item p-0",onClick:()=>{n.selectedSectionId=u.sectionId,n.selectedSectionName=u.sectionName}},[p("span",$9,k(u.sectionName),1)],8,H9))),128))])])])],2)]),"footer-actions":le(()=>[p("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(x)("asideMenu.themeLibrary.themeSection.themeSectionItem.editThemeLibrarySectionModalWindow.cancelButton")),1),p("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(x)("asideMenu.themeLibrary.themeSection.themeSectionItem.editThemeLibrarySectionModalWindow.applyButton")),1)]),_:1},8,["headerText"]))}}),j9={class:"bootstrap-styles input__settings-text__item__content"},z9={class:"overflow-hidden"},G9={class:"bootstrap-styles mb-5"},K9={class:"bootstrap-styles mb-5 text-nowrap"},Y9={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"},Z9={class:"preview-theme__context"},J9={class:"bootstrap-styles p-14"},X9={class:"bootstrap-styles me-1"},Q9={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=It({isRemoveThemeWindowShown:!1,isEditThemeWindowShown:!1,isContextWindowShown:!1}),s=Te(null),i=Te(null),{floatingStyles:r}=ip(s,i,{placement:"right",whileElementsMounted:np,middleware:[op(20)]}),a=o;return(d,u)=>(S(),I(Lt,null,[p("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))},[p("div",j9,[p("div",z9,[p("section",{class:"bootstrap-styles d-flex w-100 h-100",style:Nt({background:e.theme.theme.Colors.EmailBackgroundColor,padding:"16px 0 0 16px"})},[p("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`})},[p("div",G9,[p("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),p("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),p("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)]),p("div",K9,[p("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),p("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)])]),p("div",Y9,[je(k(e.theme.sectionItemName)+" ",1),p("div",Z9,[p("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)},[p("i",J9,[E(PD)])],34)])]),n.isContextWindowShown?(S(),I("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)},[p("button",{class:"edit-button",onMousedown:u[2]||(u[2]=c=>n.isEditThemeWindowShown=!0)},[p("i",X9,[E(_D)]),je(" "+k(T(x)("asideMenu.themeLibrary.themeSection.themeSectionItem.editThemeButton")),1)],32),p("button",{class:"remove-button",onMousedown:u[3]||(u[3]=c=>n.isRemoveThemeWindowShown=!0)},[p("i",Q9,[E(Hd)]),je(" "+k(T(x)("asideMenu.themeLibrary.themeSection.themeSectionItem.deleteThemeButton")),1)],32)],36)):St("",!0)]),(S(),st(lo,{to:"#app"},[n.isEditThemeWindowShown?(S(),st(U9,{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(P9,{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 tH=mt(q9,[["__scopeId","data-v-934f841f"]]),eH={},oH={width:"60",height:"61",viewBox:"0 0 60 61",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function nH(t,o){return S(),I("svg",oH,o[0]||(o[0]=[Cr('<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(eH,[["render",nH]]),iH=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(ts,{headerText:T(x)("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"]))}}),rH={class:"bootstrap-styles d-flex flex-column justify-content-center align-items-center h-100 pe-7"},sH={class:"bootstrap-styles mt-auto d-flex flex-column justify-content-center align-items-center"},aH={class:"bootstrap-styles text-gray-600"},lH=lt({__name:"EmptyThemeSection",props:{deps:{},sectionName:{},sectionId:{}},emits:["onThemeLibrarySectionRemoved"],setup(t,{emit:o}){const e=t,n=It({isRemoveThemeLibrarySectionModalWindowShown:!1}),s=o;return(i,r)=>(S(),I(Lt,null,[p("div",rH,[p("div",sH,[E(ID),p("p",aH,k(T(x)("asideMenu.themeLibrary.themeSection.emptySectionText")),1)]),p("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)},[p("i",null,[E(Hd)]),je(" "+k(T(x)("asideMenu.themeLibrary.themeSection.deleteSectionButton")),1)])]),(S(),st(lo,{to:"#app"},[n.isRemoveThemeLibrarySectionModalWindowShown?(S(),st(iH,{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 uH=mt(lH,[["__scopeId","data-v-dc27045f"]]),dH={key:0,class:"bootstrap-styles h-100 d-flex flex-column overflow-scroll"},mH={class:"bootstrap-styles scrollable d-flex flex-column gap-5 overflow-scroll"},cH=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(),I(Lt,null,[E(Yp,{title:e.themeSection.sectionName,onClick:i[0]||(i[0]=r=>n("back"))},null,8,["title"]),e.themeSection.sectionItems.length>0?(S(),I("div",dH,[p("div",mH,[(S(!0),I(Lt,null,ge(e.themeSection.sectionItems,r=>(S(),I("div",{key:r.sectionItemId,class:"bootstrap-styles list-group me-3"},[E(tH,{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(uH,{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 pH=mt(cH,[["__scopeId","data-v-ccb7e914"]]),fH={class:"bootstrap-styles h-100 d-flex flex-column"},CH={class:"bootstrap-styles list-group list-group-flush p-0"},hH=["onClick"],gH={class:"bootstrap-styles me-1"},FH={class:"bootstrap-styles d-flex align-items-center"},yH={class:"bootstrap-styles icon-hover-stroke"},SH={for:"button-hide-empty-theme-section",class:"label__checkbox-input"},bH={class:"bootstrap-styles d-flex justify-content-center align-items-center me-1 icon-stroke"},TH=lt({__name:"CustomThemeLibrary",props:{deps:{},currentThemeSettings:{},themeLibrary:{}},emits:["selectedThemeSettings","onThemeLibrarySectionItemUpdated","onThemeLibrarySectionAdded","themeSectionItemAdded","themeSectionItemRemoved","onThemeLibrarySectionRemoved","onMenuOptionIndexChanged"],setup(t,{emit:o}){const e=t,n=It({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=_p("VSkeletonLoader");return S(),I("div",fH,[(S(!0),I(Lt,null,ge(e.themeLibrary,(c,f)=>(S(),I("div",{key:f,class:at({"bootstrap-styles h-100 d-flex flex-column":n.menuOptionIndex===f})},[n.menuOptionIndex===f?(S(),st(pH,{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)),p("div",{class:at(["bootstrap-styles h-100 flex-column pe-5 me-14 overflow-scroll",[n.menuOptionIndex===null?"d-flex":"d-none"]])},[p("div",CH,[(S(!0),I(Lt,null,ge(e.themeLibrary,(c,f)=>(S(),I("button",{key:f,class:at(["bootstrap-styles list-group-item py-5 px-0 text-start border-gray-200 justify-content-between",[n.isHiddenThemeLibraryEmptySection&&s(f)?"d-none":"d-flex"]]),onClick:()=>{r("onMenuOptionIndexChanged"),n.menuOptionIndex=f}},[p("span",gH,k(c.sectionName),1),p("span",FH,[p("span",{class:at(["bootstrap-styles themes-quantity px-1 me-1",{empty:s(f)}])},k(e.themeLibrary[f].sectionItems.length),3),p("i",yH,[E($p)])])],10,hH))),128)),!n.isLoaded&&!n.isHiddenThemeLibraryEmptySection?(S(),st(u,{key:0,class:"bootstrap-styles my-5",width:"216",height:"17"})):St("",!0)])],2),p("div",{class:at(["bootstrap-styles mt-7 me-7 mb-7",[n.menuOptionIndex===null?"d-flex":"d-none"]])},[E(cr,{id:"button-hide-empty-theme-section",checked:n.isHiddenThemeLibraryEmptySection,onChange:d[5]||(d[5]=c=>i())},null,8,["checked"]),p("label",SH,k(T(x)("asideMenu.themeLibrary.hideEmptySectionsCheckbox")),1)],2),p("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)},[p("i",bH,[E(Kp)]),je(" "+k(T(x)("asideMenu.themeLibrary.addThemeLibrarySectionButton")),1)],2),p("div",{class:at(["bootstrap-styles aside-menu__groups__add-element_add mt-auto me-7",[n.menuOptionIndex===null?"d-flex":"d-none"]])},[Mt((S(),I("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)},[E(QM),je(" "+k(T(x)("asideMenu.themeLibrary.addThemeLibrarySectionItemButton")),1)],2)),[[T(Ho),{title:T(x)("asideMenu.themeLibrary.addThemeLibrarySectionItemButtonTooltip"),placement:"right",trigger:e.themeLibrary.length===0?"hover":"manual"}]])],2),(S(),st(lo,{to:"#app"},[n.isAddThemeLibrarySectionItemModalWindowShown?(S(),st(NO,{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(kO,{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 BH=mt(TH,[["__scopeId","data-v-9d62ae76"]]),VH={class:"bootstrap-styles input__settings-text__item__content"},LH={class:"overflow-hidden"},DH={class:"bootstrap-styles mb-5"},vH={class:"bootstrap-styles mb-5 text-nowrap"},RH={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"},xH=lt({__name:"DefaultThemeSectionItem",props:{theme:{},themeSection:{}},emits:["back","selectedThemeSettings"],setup(t,{emit:o}){const e=t,n=o;return(s,i)=>(S(),I("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))},[p("div",VH,[p("div",LH,[p("section",{class:"bootstrap-styles d-flex w-100 h-100",style:Nt({background:e.theme.theme.Colors.EmailBackgroundColor,padding:"16px 0 0 16px"})},[p("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`})},[p("div",DH,[p("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),p("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),p("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)]),p("div",vH,[p("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),p("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)])]),p("div",RH,k(e.theme.sectionItemName),1)]))}});const _H=mt(xH,[["__scopeId","data-v-ae007019"]]),PH={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(),I(Lt,null,[E(Yp,{title:e.themeSection.sectionName,onClick:i[0]||(i[0]=r=>n("back"))},null,8,["title"]),p("div",PH,[p("div",IH,[(S(!0),I(Lt,null,ge(e.themeSection.sectionItems,r=>(S(),I("div",{key:r.sectionItemId,class:"bootstrap-styles list-group me-3"},[E(_H,{theme:r,themeSection:e.themeSection,onSelectedThemeSettings:i[1]||(i[1]=a=>n("selectedThemeSettings",a))},null,8,["theme","themeSection"])]))),128))])])],64))}});const NH=mt(EH,[["__scopeId","data-v-d1b831e4"]]),wH={class:"bootstrap-styles h-100 d-flex flex-column"},AH={class:"bootstrap-styles list-group list-group-flush p-0"},WH=["onClick"],kH={class:"bootstrap-styles me-1"},MH={class:"bootstrap-styles d-flex align-items-center"},OH={class:"bootstrap-styles themes-quantity px-1 me-1"},HH={class:"bootstrap-styles icon-hover-stroke"},$H=lt({__name:"DefaultThemeLibrary",props:{currentThemeSettings:{},themeLibrary:{}},emits:["selectedThemeSettings","onMenuOptionIndexChanged"],setup(t,{emit:o}){const e=t,n=It({menuOptionIndex:null}),s=o;return(i,r)=>(S(),I("div",wH,[(S(!0),I(Lt,null,ge(e.themeLibrary,(a,d)=>(S(),I("div",{key:d,class:at({"bootstrap-styles h-100 d-flex flex-column":n.menuOptionIndex===d})},[n.menuOptionIndex===d?(S(),st(NH,{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)),p("div",{class:at(["bootstrap-styles h-100 flex-column pe-5 me-14 overflow-scroll",[n.menuOptionIndex===null?"d-flex":"d-none"]])},[p("div",AH,[(S(!0),I(Lt,null,ge(e.themeLibrary,(a,d)=>(S(),I("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}},[p("span",kH,k(a.sectionName),1),p("span",MH,[p("span",OH,k(e.themeLibrary[d].sectionItems.length),1),p("i",HH,[E($p)])])],8,WH))),128))])],2)]))}});const UH=mt($H,[["__scopeId","data-v-147cc9a5"]]),jH={ref:"tabsRef",class:"bootstrap-styles w-100 tabs-container p-14 rounded-2 border bg-color-input"},zH={class:"bootstrap-styles d-flex position-relative w-100"},GH=["data-key","onClick"],KH=lt({__name:"TabList",props:{initialTab:{},tabList:{}},emits:["onTabClicked"],setup(t,{emit:o}){const e=t,n=It({activeTab:e.initialTab,sliderStyle:{width:"0px",transform:"translateX(0px)"}}),s=Te([]),i=d=>{Jr(()=>{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)};$i(()=>{i(n.activeTab)});const a=o;return(d,u)=>(S(),I("div",jH,[p("div",zH,[p("div",{class:"slider",style:Nt(n.sliderStyle)},null,4),(S(!0),I(Lt,null,ge(e.tabList,(c,f)=>(S(),I("button",{ref_for:!0,ref_key:"tabRefs",ref:s,key:f,"data-key":f,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===f}]),onClick:()=>r(f)},k(c),11,GH))),128))])],512))}});const Xp=mt(KH,[["__scopeId","data-v-de8dff0d"]]),YH={class:"bootstrap-styles scrollable d-block h-100"},ZH={class:"bootstrap-styles flex-column gap-13 me-3 d-flex h-100"},wb="custom",JH=lt({__name:"ThemeLibrary",props:{deps:{},currentThemeSettings:{},themeLibrary:{},defaultThemeLibrary:{}},emits:["selectedThemeSettings","onThemeLibrarySectionItemUpdated","onThemeLibrarySectionAdded","themeSectionItemAdded","themeSectionItemRemoved","onThemeLibrarySectionRemoved"],setup(t,{emit:o}){const e=t,n=It({themeLibrarySourceKey:wb,isHeaderShow:!0}),s={custom:x("asideMenu.themeLibrary.userThemeButtonText"),default:x("asideMenu.themeLibrary.defaultThemeButtonText")},i=o;return(r,a)=>(S(),I("div",YH,[p("div",ZH,[p("h2",{class:at(["bootstrap-styles fs-6 fw-bold mb-0 me-7",{"d-none":!n.isHeaderShow}])},k(T(x)("asideMenu.themeLibrary.title")),3),p("div",{class:at([{"d-none":!n.isHeaderShow},"bootstrap-styles me-3"])},[E(Xp,{initialTab:wb,tabList:s,onOnTabClicked:a[0]||(a[0]=d=>n.themeLibrarySourceKey=d)})],2),n.themeLibrarySourceKey==="custom"?(S(),st(BH,{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(UH,{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 XH(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 ND={exports:{}};const QH=ED(IA);/**!
|
|
44
|
+
*/const L7="9.8.0";function D7(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(Wr().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(Wr().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(Wr().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Wr().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Wr().__INTLIFY_PROD_DEVTOOLS__=!1)}const mD=s7.__EXTEND_POINT__,Cs=ng(mD);Cs(),Cs(),Cs(),Cs(),Cs(),Cs(),Cs(),Cs();const cD=ki.__EXTEND_POINT__,Vn=ng(cD),Ao={UNEXPECTED_RETURN_TYPE:cD,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 Gh=Ks("__translateVNode"),Kh=Ks("__datetimeParts"),Yh=Ks("__numberParts"),pD=Ks("__setPluralRules"),fD=Ks("__injectWithOption"),Zh=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 zp(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 CD(t){return t.type}function hD(t,o,e){let n=Ze(o.messages)?o.messages:{};"__i18nGlobal"in e&&(n=zp(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 hb(t){return E(Or,null,t,0)}const gb="__INTLIFY_META__",Fb=()=>[],v7=()=>!1;let yb=0;function Sb(t){return(o,e,n,s)=>t(e,n,Uo()||void 0,s)}const R7=()=>{const t=Uo();let o=null;return t&&(o=CD(t)[gb])?{[gb]:o}:null};function ag(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(zp(a.value,t)),c=Te(Fe(t.datetimeFormats)?t.datetimeFormats:{[a.value]:{}}),f=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)?Sb(t.missing):null,P=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&&ab(null);const z={version:L7,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:P===null?void 0:P,warnHtmlMessage:R,escapeParameter:L,messageResolver:t.messageResolver,messageCompiler:t.messageCompiler,__meta:{framework:"vue"}};z.datetimeFormats=c.value,z.numberFormats=f.value,z.__datetimeFormatters=Fe(O)?O.__datetimeFormatters:void 0,z.__numberFormatters=Fe(O)?O.__numberFormatters:void 0;const ot=g7(z);return s&&ab(ot),ot})(),Pu(O,a.value,d.value);function H(){return[a.value,d.value,u.value,c.value,f.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,Pu(O,a.value,z)}}),et=Yt(()=>u.value),tt=Yt(()=>c.value),ct=Yt(()=>f.value);function Rt(){return so(P)?P:null}function nt(z){P=z,O.postTranslation=z}function ft(){return v}function Tt(z){z!==null&&(D=Sb(z)),v=z,O.missing=D}const Ot=(z,ot,Pt,At,ie,G)=>{H();let J;try{__INTLIFY_PROD_DEVTOOLS__,s||(O.fallbackContext=e?h7():void 0),J=z(O)}finally{__INTLIFY_PROD_DEVTOOLS__,s||(O.fallbackContext=void 0)}if(Pt!=="translate exists"&&No(J)&&J===jp||Pt==="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 Ot(ot=>Reflect.apply(mb,null,[ot,...z]),()=>Uh(...z),"translate",ot=>Reflect.apply(ot.t,ot,[...z]),ot=>ot,ot=>kt(ot))}function oe(...z){const[ot,Pt,At]=z;if(At&&!Ze(At))throw $o(Ao.INVALID_ARGUMENT);return Xt(ot,Pt,Xo({resolvedMessage:!0},At||{}))}function $t(...z){return Ot(ot=>Reflect.apply(cb,null,[ot,...z]),()=>jh(...z),"datetime format",ot=>Reflect.apply(ot.d,ot,[...z]),()=>ib,ot=>kt(ot))}function Ie(...z){return Ot(ot=>Reflect.apply(fb,null,[ot,...z]),()=>zh(...z),"number format",ot=>Reflect.apply(ot.n,ot,[...z]),()=>ib,ot=>kt(ot))}function Qt(z){return z.map(ot=>kt(ot)||No(ot)||we(ot)?hb(String(ot)):ot)}const ue={normalize:Qt,interpolate:z=>z,type:"vnode"};function ye(...z){return Ot(ot=>{let Pt;const At=ot;try{At.processor=ue,Pt=Reflect.apply(mb,null,[At,...z])}finally{At.processor=null}return Pt},()=>Uh(...z),"translate",ot=>ot[Gh](...z),ot=>[hb(ot)],ot=>mo(ot))}function Be(...z){return Ot(ot=>Reflect.apply(fb,null,[ot,...z]),()=>zh(...z),"number format",ot=>ot[Yh](...z),Fb,ot=>kt(ot)||mo(ot))}function _e(...z){return Ot(ot=>Reflect.apply(cb,null,[ot,...z]),()=>jh(...z),"datetime format",ot=>ot[Kh](...z),Fb,ot=>kt(ot)||mo(ot))}function ze(z){W=z,O.pluralRules=W}function Oe(z,ot){return Ot(()=>{if(!z)return!1;const Pt=kt(ot)?ot:a.value,At=B(Pt),ie=O.messageResolver(At,z);return Ol(ie)||mi(ie)||kt(ie)},()=>[z],"translate exists",Pt=>Reflect.apply(Pt.te,Pt,[z,ot]),v7,Pt=>we(Pt))}function Xe(z){let ot=null;const Pt=qL(O,d.value,a.value);for(let At=0;At<Pt.length;At++){const ie=u.value[Pt[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 Pt={[z]:ot};for(const At in Pt)hd(Pt,At)&&Fd(Pt[At]);ot=Pt[z]}u.value[z]=ot,O.messages=u.value}function K(z,ot){u.value[z]=u.value[z]||{};const Pt={[z]:ot};for(const At in Pt)hd(Pt,At)&&Fd(Pt[At]);ot=Pt[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,pb(O,z,ot)}function Dt(z,ot){c.value[z]=Xo(c.value[z]||{},ot),O.datetimeFormats=c.value,pb(O,z,ot)}function Ct(z){return f.value[z]||{}}function bt(z,ot){f.value[z]=ot,O.numberFormats=f.value,Cb(O,z,ot)}function Ft(z,ot){f.value[z]=Xo(f.value[z]||{},ot),O.numberFormats=f.value,Cb(O,z,ot)}yb++,e&&Oh&&(qe(e.locale,z=>{r&&(a.value=z,O.locale=z,Pu(O,a.value,d.value))}),qe(e.fallbackLocale,z=>{r&&(d.value=z,O.fallbackLocale=z,Pu(O,a.value,d.value))}));const xt={id:yb,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,Pu(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:ft,setMissingHandler:Tt,[pD]:ze};return xt.datetimeFormats=tt,xt.numberFormats=ct,xt.rt=oe,xt.te=Oe,xt.tm=V,xt.d=$t,xt.n=Ie,xt.getDateTimeFormat=Q,xt.setDateTimeFormat=ut,xt.mergeDateTimeFormat=Dt,xt.getNumberFormat=Ct,xt.setNumberFormat=bt,xt.mergeNumberFormat=Ft,xt[fD]=n,xt[Gh]=ye,xt[Kh]=_e,xt[Yh]=Be,xt}function x7(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,f=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,P=t.datetimeFormats,R=t.numberFormats,L=t.flatJson;return{locale:o,fallbackLocale:e,messages:y,flatJson:L,datetimeFormats:P,numberFormats:R,missing:n,missingWarn:s,fallbackWarn:i,fallbackRoot:r,fallbackFormat:a,modifiers:d,pluralRules:u,postTranslation:c,warnHtmlMessage:f,escapeParameter:h,messageResolver:t.messageResolver,inheritLocale:g,__i18n:b,__root:v,__injectWithOption:D}}function Jh(t={},o){{const e=ag(x7(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,f=null;if(!kt(r))throw $o(Ao.INVALID_ARGUMENT);const h=r;return kt(a)?u.locale=a:mo(a)?c=a:Fe(a)&&(f=a),mo(d)?c=d:Fe(d)&&(f=d),Reflect.apply(e.t,e,[h,c||f||{},u])},rt(...i){return Reflect.apply(e.rt,e,[...i])},tc(...i){const[r,a,d]=i,u={plural:1};let c=null,f=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)&&(f=a),kt(d)?u.locale=d:mo(d)?c=d:Fe(d)&&(f=d),Reflect.apply(e.t,e,[h,c||f||{},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 lg={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:t=>t==="parent"||t==="global",default:"parent"},i18n:{type:Object}};function _7({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 gD(t){return Lt}const P7=lt({name:"i18n-t",props:Xo({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:t=>No(t)||!isNaN(t)}},lg),setup(t,o){const{slots:e,attrs:n}=o,s=t.i18n||Gp({useScope:t.scope,__useComponent:!0});return()=>{const i=Object.keys(e).filter(f=>f!=="_"),r={};t.locale&&(r.locale=t.locale),t.plural!==void 0&&(r.plural=kt(t.plural)?+t.plural:t.plural);const a=_7(o,i),d=s[Gh](t.keypath,a,r),u=Xo({},n),c=kt(t.tag)||Ze(t.tag)?t.tag:gD();return Xl(c,u,d)}}}),bb=P7;function I7(t){return mo(t)&&!kt(t[0])}function FD(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 I7(b)&&(b[0].key=`${h.type}-${g}`),b}):kt(d)&&(u=[d]);const c=Xo({},i),f=kt(t.tag)||Ze(t.tag)?t.tag:gD();return Xl(f,c,u)}}const E7=lt({name:"i18n-n",props:Xo({value:{type:Number,required:!0},format:{type:[String,Object]}},lg),setup(t,o){const e=t.i18n||Gp({useScope:"parent",__useComponent:!0});return FD(t,o,dD,(...n)=>e[Yh](...n))}}),Tb=E7,N7=lt({name:"i18n-d",props:Xo({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},lg),setup(t,o){const e=t.i18n||Gp({useScope:"parent",__useComponent:!0});return FD(t,o,uD,(...n)=>e[Kh](...n))}}),Bb=N7;function w7(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 A7(t){const o=r=>{const{instance:a,modifiers:d,value:u}=r;if(!a||!a.$)throw $o(Ao.UNEXPECTED_ERROR);const c=w7(t,a.$),f=Vb(u);return[Reflect.apply(c.t,c,[...Lb(f)]),c]};return{created:(r,a)=>{const[d,u]=o(a);Oh&&t.global===u&&(r.__i18nWatcher=qe(u.locale,()=>{a.instance&&a.instance.$forceUpdate()})),r.__composer=u,r.textContent=d},unmounted:r=>{Oh&&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=Vb(a);r.textContent=Reflect.apply(d.t,d,[...Lb(u)])}},getSSRProps:r=>{const[a]=o(r);return{textContent:a}}}}function Vb(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 Lb(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 W7(t,o,...e){const n=Fe(e[0])?e[0]:{},s=!!n.useI18nComponentName;(we(n.globalInstall)?n.globalInstall:!0)&&([s?"i18n":bb.name,"I18nT"].forEach(r=>t.component(r,bb)),[Tb.name,"I18nN"].forEach(r=>t.component(r,Tb)),[Bb.name,"I18nD"].forEach(r=>t.component(r,Bb))),t.directive("t",A7(o))}function k7(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=Db(t,i);else{i.__injectWithOption=!0,i.__extender=e.__vueI18nExtend,this.$i18n=Jh(i);const r=this.$i18n;r.__extender&&(r.__disposer=r.__extender(this.$i18n))}}else if(s.__i18n)if(this===this.$root)this.$i18n=Db(t,s);else{this.$i18n=Jh({__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&&hD(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 Db(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[pD](o.pluralizationRules||t.pluralizationRules);const e=zp(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 M7=Ks("global-vue-i18n");function O7(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]=H7(t,e),d=Ks("");function u(h){return i.get(h)||null}function c(h,g){i.set(h,g)}function f(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=J7(g,h.global)),__VUE_I18N_FULL_INSTALL__&&W7(g,h,...y),__VUE_I18N_LEGACY_API__&&e&&g.mixin(k7(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:f};return h}}function Gp(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=$7(o),n=j7(e),s=CD(o),i=U7(t,s);if(__VUE_I18N_LEGACY_API__&&e.mode==="legacy"&&!t.__useComponent){if(!e.allowComposition)throw $o(Ao.NOT_AVAILABLE_IN_LEGACY_MODE);return Y7(o,i,n,t)}if(i==="global")return hD(n,t,s),n;if(i==="parent"){let d=z7(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=ag(d),r.__composerExtend&&(a[Zh]=r.__composerExtend(a)),K7(r,o,a),r.__setInstance(o,a)}return a}function H7(t,o,e){const n=f0();{const s=__VUE_I18N_LEGACY_API__&&o?n.run(()=>Jh(t)):n.run(()=>ag(t));if(s==null)throw $o(Ao.UNEXPECTED_ERROR);return[n,s]}}function $7(t){{const o=Mr(t.isCE?M7:t.appContext.app.__VUE_I18N_SYMBOL__);if(!o)throw $o(t.isCE?Ao.NOT_INSTALLED_WITH_PROVIDE:Ao.UNEXPECTED_ERROR);return o}}function U7(t,o){return Up(t)?"__i18n"in o?"local":"global":t.useScope?t.useScope:"local"}function j7(t){return t.mode==="composition"?t.global:t.global.__composer}function z7(t,o,e=!1){let n=null;const s=o.root;let i=G7(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 G7(t,o=!1){return t==null?null:o&&t.vnode.ctx||t.parent}function K7(t,o,e){$i(()=>{},o),Id(()=>{const n=e;t.__deleteInstance(o);const s=n[Zh];s&&(s(),delete n[Zh])},o)}function Y7(t,o,e,n={}){const s=o==="local",i=ar(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(zp(a.value,n)),c=Te(Fe(n.datetimeFormats)?n.datetimeFormats:{[a.value]:{}}),f=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,P=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,f.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(()=>f.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 ft(...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 Ot(...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 Ie(B){return i.value?i.value.getLocaleMessage(B):{}}function Qt(B,M){i.value&&(i.value.setLocaleMessage(B,M),u.value[B]=M)}function fe(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),f.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:P},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:ft,getPostTranslationHandler:et,setPostTranslationHandler:tt,getMissingHandler:ct,setMissingHandler:Rt,rt:Tt,d:Ot,n:Xt,tm:oe,te:$t,getLocaleMessage:Ie,setLocaleMessage:Qt,mergeLocaleMessage:fe,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(f.value).forEach(M=>{B.mergeNumberFormat(M,f.value[M])}),B.escapeParameter=R,B.fallbackFormat=b,B.fallbackRoot=y,B.fallbackWarn=g,B.missingWarn=h,B.warnHtmlMessage=P}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,f.value=B.numberFormats.value):s&&V(B)}),Xe}const Z7=["locale","fallbackLocale","availableLocales"],vb=["t","rt","d","n","tm","te"];function J7(t,o){const e=Object.create(null);return Z7.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,vb.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,vb.forEach(s=>{delete t.config.globalProperties[`$${s}`]})}}D7();__INTLIFY_JIT_COMPILATION__?sb(S7):sb(y7);c7(K8);p7(qL);if(__INTLIFY_PROD_DEVTOOLS__){const t=Wr();t.__INTLIFY__=!0,o7(t.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const X7={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"}}}}}},Q7={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"}}}}}},yD=O7({locale:"en",legacy:!1,fallbackWarn:!1,missingWarn:!1,messages:{en:X7,ru:Q7},warnHtmlMessage:!1}),q7=()=>{const{t}=yD.global;return(o,e)=>e?t(o,e):t(o)},x=q7(),tO=async t=>{Gp().locale.value=t},eO={class:"bootstrap-styles modal fade show d-block position-absolute"},oO={class:"bootstrap-styles modal-dialog modal-dialog-centered"},nO={class:"bootstrap-styles modal-content border rounded-3 shadow","data-test":"modal-window__content"},iO={class:"bootstrap-styles modal-header p-0"},rO={class:"bootstrap-styles container-fluid border-bottom g-0"},sO={class:"bootstrap-styles d-flex justify-content-between align-items-center px-11 py-7"},aO={class:"bootstrap-styles modal-title border-0","data-test":"modal-window__header-text"},lO={class:"bootstrap-styles modal-body p-0","data-test":"modal-window__body"},uO={class:"bootstrap-styles modal-footer p-0 g-0"},dO={class:"bootstrap-styles container-fluid border-top"},mO={class:"bootstrap-styles d-flex justify-content-end py-8 px-11"},cO={class:"bootstrap-styles col-6 d-flex justify-content-end","data-test":"modal-window__footer-actions"},pO=lt({__name:"ModalWindow",props:{headerText:{}},emits:["close"],setup(t,{emit:o}){const e=t,n=o;return(s,i)=>(S(),I("div",eO,[p("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"))}),p("div",oO,[p("div",nO,[p("div",iO,[p("div",rO,[p("div",sO,[p("h5",aO,k(e.headerText),1),Mt((S(),I("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]=[p("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},[p("path",{d:"M3 3L13 13",stroke:"var(--gray-500)"}),p("path",{d:"M13 3L3 13",stroke:"var(--gray-500)"})],-1)]))),[[T(Ho),{title:T(x)("UIComponents.modalWindow.closeButton"),placement:"top"}]])])])]),p("div",lO,[cd(s.$slots,"body",{},void 0,!0)]),p("div",uO,[p("div",dO,[p("div",mO,[p("div",cO,[cd(s.$slots,"footer-actions",{},void 0,!0)])])])])])])]))}});const yn=mt(pO,[["__scopeId","data-v-fd7bc93f"]]),fO={},CO={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"};function hO(t,o){return S(),I("svg",CO,o[0]||(o[0]=[p("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",hO]]),Rb={display:"dynamic",reference:"parent",autoClose:"outside",offset:[0,5]},Nn={mounted(t,o){return new In(t,{...Rb,...o.value})},updated(t,o){const e=In.getInstance(t);return e!==null&&e.hide(),new In(t,{...Rb,...o.value})},unmounted(t){const o=In.getInstance(t);o!==null&&o.dispose()}};const gO={},FO={class:"bootstrap-styles d-flex justify-content-center align-items-center icon-fill icon-loading"};function yO(t,o){return S(),I("i",FO,o[0]||(o[0]=[p("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},[p("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(gO,[["render",yO],["__scopeId","data-v-bdca96e4"]]);const SO={},bO={class:"bootstrap-styles d-flex justify-content-center align-items-center icon-fill icon-loading"};function TO(t,o){return S(),I("i",bO,o[0]||(o[0]=[p("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"17",viewBox:"0 0 16 16",fill:"none"},[p("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 hr=mt(SO,[["render",TO],["__scopeId","data-v-5227279d"]]),BO={class:"bootstrap-styles fw-bold mb-5"},VO={class:"bootstrap-styles col-12 mb-13"},LO={class:"bootstrap-styles bg-color-input border rounded-2 py-1 px-3 d-flex"},DO=["placeholder","disabled"],vO={class:"bootstrap-styles fw-bold mb-5"},RO={class:"bootstrap-styles dropdown border rounded-2 bg-color-input"},xO=["disabled"],_O={class:"bootstrap-styles d-flex justify-content-center align-items-center"},PO={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"},NO=lt({__name:"AddThemeLibrarySectionItemModalWindow",props:{deps:{},themeSettings:{}},emits:["themeSectionItemAdded","cancel"],setup(t,{emit:o}){const e=t,n=It({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(x)("asideMenu.themeLibrary.addThemeLibrarySectionItemModalWindow.title"),onClose:d[3]||(d[3]=()=>r())},{body:le(()=>[E(Jn,{class:at(["bootstrap-styles position-absolute top-50 start-50",{invisible:!n.isLoadedThemeLibrarySectionList}])},null,8,["class"]),p("div",{class:at(["bootstrap-styles px-11 py-7 text-start",{invisible:n.isLoadedThemeLibrarySectionList}])},[p("label",BO,k(T(x)("asideMenu.themeLibrary.addThemeLibrarySectionItemModalWindow.inputNameLabel")),1),p("div",VO,[p("div",LO,[Mt(p("input",{"onUpdate:modelValue":d[0]||(d[0]=u=>n.sectionItemName=u),type:"text",class:"bootstrap-styles w-100",placeholder:T(x)("asideMenu.themeLibrary.addThemeLibrarySectionItemModalWindow.inputNamePlaceholder"),disabled:!n.isLoaded},null,8,DO),[[En,n.sectionItemName]])])]),p("div",null,[p("label",vO,k(T(x)("asideMenu.themeLibrary.addThemeLibrarySectionItemModalWindow.inputGroupLabel")),1),p("div",RO,[Mt((S(),I("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},[p("span",null,k(n.selectedParentSectionName),1),p("i",_O,[E(jo)])],8,xO)),[[T(Nn)]]),p("ul",PO,[(S(!0),I(Lt,null,ge(n.themeLibrarySections,u=>(S(),I("li",{key:u.sectionId,class:"bootstrap-styles dropdown-item p-0",onClick:()=>{n.selectedParentSectionId=u.sectionId,n.selectedParentSectionName=u.sectionName}},[p("span",EO,k(u.sectionName),1)],8,IO))),128))])])])],2)]),"footer-actions":le(()=>[p("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(x)("asideMenu.themeLibrary.addThemeLibrarySectionItemModalWindow.cancelButton")),3),p("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"]))},[p("span",{class:at({"bootstrap-styles invisible":!n.isLoaded})},k(T(x)("asideMenu.themeLibrary.addThemeLibrarySectionItemModalWindow.applyButton")),3),E(hr,{class:at(["bootstrap-styles position-absolute",{invisible:n.isLoaded}])},null,8,["class"])])]),_:1},8,["headerText"]))}}),wO={class:"bootstrap-styles fw-bold mb-5"},AO={class:"bootstrap-styles bg-color-input border rounded-2 py-1 px-3 d-flex"},WO=["placeholder","disabled"],kO=lt({__name:"CreateThemeLibrarySectionModalWindow",props:{deps:{}},emits:["onCanceled","onThemeLibrarySectionCreated"],setup(t,{emit:o}){const e=t,n=It({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(x)("asideMenu.themeLibrary.createThemeLibrarySectionModalWindow.title"),onClose:d[4]||(d[4]=()=>i())},{body:le(()=>[p("div",{class:"bootstrap-styles px-11 py-7 text-start",onClick:d[1]||(d[1]=u=>n.isDropdownMenuShown=!1)},[p("label",wO,k(T(x)("asideMenu.themeLibrary.createThemeLibrarySectionModalWindow.inputLabel")),1),p("div",AO,[Mt(p("input",{"onUpdate:modelValue":d[0]||(d[0]=u=>n.sectionName=u),type:"text",class:"bootstrap-styles w-100",placeholder:T(x)("asideMenu.themeLibrary.createThemeLibrarySectionModalWindow.inputPlaceholder"),disabled:!n.isLoaded},null,8,WO),[[En,n.sectionName]])])])]),"footer-actions":le(()=>[p("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(x)("asideMenu.themeLibrary.createThemeLibrarySectionModalWindow.cancelButton")),3),p("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"]))},[p("span",{class:at({"bootstrap-styles invisible":!n.isLoaded})},k(T(x)("asideMenu.themeLibrary.createThemeLibrarySectionModalWindow.applyButton")),3),E(hr,{class:at(["bootstrap-styles position-absolute",{invisible:n.isLoaded}])},null,8,["class"])])]),_:1},8,["headerText"]))}}),MO={},OO={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"};function HO(t,o){return S(),I("svg",OO,o[0]||(o[0]=[p("path",{d:"M2 8H14",stroke:"var(--blue-400)","stroke-width":"1.5"},null,-1),p("path",{d:"M8 2L8 14",stroke:"var(--blue-400)","stroke-width":"1.5"},null,-1)]))}const Kp=mt(MO,[["render",HO]]),$O={},UO={xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 12 12",fill:"none"};function jO(t,o){return S(),I("svg",UO,o[0]||(o[0]=[p("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 zO=mt($O,[["render",jO]]),GO={class:"bootstrap-styles prev-menu d-flex align-items-center justify-content-start gap-2 mb-13 text-hover__blue"},KO={class:"bootstrap-styles d-flex justify-content-center align-items-center icon-hover"},YO={class:"bootstrap-styles fs-6 fw-bold text-start"},Yp=lt({__name:"PrevMenuButton",props:{title:{}},setup(t){const o=t;return(e,n)=>(S(),I("button",GO,[p("i",KO,[E(zO)]),p("span",YO,k(o.title),1)]))}}),Xh=Math.min,Vl=Math.max,ep=Math.round,ic=Math.floor,ks=t=>({x:t,y:t});function ZO(t,o){return typeof t=="function"?t(o):t}function ug(t){return t.split("-")[0]}function SD(t){return t.split("-")[1]}function JO(t){return t==="x"?"y":"x"}function XO(t){return t==="y"?"height":"width"}function dg(t){return["top","bottom"].includes(ug(t))?"y":"x"}function QO(t){return JO(dg(t))}function bD(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function xb(t,o,e){let{reference:n,floating:s}=t;const i=dg(o),r=QO(o),a=XO(r),d=ug(o),u=i==="y",c=n.x+n.width/2-s.width/2,f=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:f};break;case"left":g={x:n.x-s.width,y:f};break;default:g={x:n.x,y:n.y}}switch(SD(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:f}=xb(u,n,d),h=n,g={},y=0;for(let b=0;b<a.length;b++){const{name:v,fn:D}=a[b],{x:P,y:R,data:L,reset:N}=await D({x:c,y:f,initialPlacement:n,placement:h,strategy:s,middlewareData:g,rects:u,platform:r,elements:{reference:t,floating:o}});c=P??c,f=R??f,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:f}=xb(u,h,d)),b=-1)}return{x:c,y:f,placement:h,strategy:s,middlewareData:g}};async function t9(t,o){const{placement:e,platform:n,elements:s}=t,i=await(n.isRTL==null?void 0:n.isRTL(s.floating)),r=ug(e),a=SD(e),d=dg(e)==="y",u=["left","top"].includes(r)?-1:1,c=i&&d?-1:1,f=ZO(o,t);let{mainAxis:h,crossAxis:g,alignmentAxis:y}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...f};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 op=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 t9(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 Kr(t){return mg(t)?(t.nodeName||"").toLowerCase():"#document"}function Gn(t){var o;return(t==null||(o=t.ownerDocument)==null?void 0:o.defaultView)||window}function qr(t){var o;return(o=(mg(t)?t.ownerDocument:t.document)||window.document)==null?void 0:o.documentElement}function mg(t){return t instanceof Node||t instanceof Gn(t).Node}function Yr(t){return t instanceof Element||t instanceof Gn(t).Element}function pr(t){return t instanceof HTMLElement||t instanceof Gn(t).HTMLElement}function _b(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}=yi(t);return/auto|scroll|overlay|hidden|clip/.test(o+n+e)&&!["inline","contents"].includes(s)}function e9(t){return["table","td","th"].includes(Kr(t))}function cg(t){const o=pg(),e=yi(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 o9(t){let o=Hl(t);for(;pr(o)&&!Zp(o);){if(cg(o))return o;o=Hl(o)}return null}function pg(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Zp(t){return["html","body","#document"].includes(Kr(t))}function yi(t){return Gn(t).getComputedStyle(t)}function Jp(t){return Yr(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Hl(t){if(Kr(t)==="html")return t;const o=t.assignedSlot||t.parentNode||_b(t)&&t.host||qr(t);return _b(o)?o.host:o}function TD(t){const o=Hl(t);return Zp(o)?t.ownerDocument?t.ownerDocument.body:t.body:pr(o)&&Od(o)?o:TD(o)}function yd(t,o,e){var n;o===void 0&&(o=[]),e===void 0&&(e=!0);const s=TD(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 BD(t){const o=yi(t);let e=parseFloat(o.width)||0,n=parseFloat(o.height)||0;const s=pr(t),i=s?t.offsetWidth:e,r=s?t.offsetHeight:n,a=ep(e)!==i||ep(n)!==r;return a&&(e=i,n=r),{width:e,height:n,$:a}}function fg(t){return Yr(t)?t:t.contextElement}function Ll(t){const o=fg(t);if(!pr(o))return ks(1);const e=o.getBoundingClientRect(),{width:n,height:s,$:i}=BD(o);let r=(i?ep(e.width):e.width)/n,a=(i?ep(e.height):e.height)/s;return(!r||!Number.isFinite(r))&&(r=1),(!a||!Number.isFinite(a))&&(a=1),{x:r,y:a}}const n9=ks(0);function VD(t){const o=Gn(t);return!pg()||!o.visualViewport?n9:{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}}function i9(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?Yr(n)&&(r=Ll(n)):r=Ll(t));const a=i9(i,e,n)?VD(i):ks(0);let d=(s.left+a.x)/r.x,u=(s.top+a.y)/r.y,c=s.width/r.x,f=s.height/r.y;if(i){const h=Gn(i),g=n&&Yr(n)?Gn(n):n;let y=h,b=y.frameElement;for(;b&&n&&g!==y;){const v=Ll(b),D=b.getBoundingClientRect(),P=yi(b),R=D.left+(b.clientLeft+parseFloat(P.paddingLeft))*v.x,L=D.top+(b.clientTop+parseFloat(P.paddingTop))*v.y;d*=v.x,u*=v.y,c*=v.x,f*=v.y,d+=R,u+=L,y=Gn(b),b=y.frameElement}}return bD({width:c,height:f,x:d,y:u})}const r9=[":popover-open",":modal"];function LD(t){return r9.some(o=>{try{return t.matches(o)}catch{return!1}})}function s9(t){let{elements:o,rect:e,offsetParent:n,strategy:s}=t;const i=s==="fixed",r=qr(n),a=o?LD(o.floating):!1;if(n===r||a&&i)return e;let d={scrollLeft:0,scrollTop:0},u=ks(1);const c=ks(0),f=pr(n);if((f||!f&&!i)&&((Kr(n)!=="body"||Od(r))&&(d=Jp(n)),pr(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 a9(t){return Array.from(t.getClientRects())}function DD(t){return xa(qr(t)).left+Jp(t).scrollLeft}function l9(t){const o=qr(t),e=Jp(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+DD(t);const a=-e.scrollTop;return yi(n).direction==="rtl"&&(r+=Vl(o.clientWidth,n.clientWidth)-s),{width:s,height:i,x:r,y:a}}function u9(t,o){const e=Gn(t),n=qr(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=pg();(!u||u&&o==="fixed")&&(a=s.offsetLeft,d=s.offsetTop)}return{width:i,height:r,x:a,y:d}}function d9(t,o){const e=xa(t,!0,o==="fixed"),n=e.top+t.clientTop,s=e.left+t.clientLeft,i=pr(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 Pb(t,o,e){let n;if(o==="viewport")n=u9(t,e);else if(o==="document")n=l9(qr(t));else if(Yr(o))n=d9(o,e);else{const s=VD(t);n={...o,x:o.x-s.x,y:o.y-s.y}}return bD(n)}function vD(t,o){const e=Hl(t);return e===o||!Yr(e)||Zp(e)?!1:yi(e).position==="fixed"||vD(e,o)}function m9(t,o){const e=o.get(t);if(e)return e;let n=yd(t,[],!1).filter(a=>Yr(a)&&Kr(a)!=="body"),s=null;const i=yi(t).position==="fixed";let r=i?Hl(t):t;for(;Yr(r)&&!Zp(r);){const a=yi(r),d=cg(r);!d&&a.position==="fixed"&&(s=null),(i?!d&&!s:!d&&a.position==="static"&&!!s&&["absolute","fixed"].includes(s.position)||Od(r)&&!d&&vD(t,r))?n=n.filter(c=>c!==r):s=a,r=Hl(r)}return o.set(t,n),n}function c9(t){let{element:o,boundary:e,rootBoundary:n,strategy:s}=t;const r=[...e==="clippingAncestors"?m9(o,this._c):[].concat(e),n],a=r[0],d=r.reduce((u,c)=>{const f=Pb(o,c,s);return u.top=Vl(f.top,u.top),u.right=Xh(f.right,u.right),u.bottom=Xh(f.bottom,u.bottom),u.left=Vl(f.left,u.left),u},Pb(o,a,s));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function p9(t){const{width:o,height:e}=BD(t);return{width:o,height:e}}function f9(t,o,e){const n=pr(o),s=qr(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((Kr(o)!=="body"||Od(s))&&(a=Jp(o)),n){const f=xa(o,!0,i,o);d.x=f.x+o.clientLeft,d.y=f.y+o.clientTop}else s&&(d.x=DD(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!pr(t)||yi(t).position==="fixed"?null:o?o(t):t.offsetParent}function RD(t,o){const e=Gn(t);if(!pr(t)||LD(t))return e;let n=Ib(t,o);for(;n&&e9(n)&&yi(n).position==="static";)n=Ib(n,o);return n&&(Kr(n)==="html"||Kr(n)==="body"&&yi(n).position==="static"&&!cg(n))?e:n||o9(t)||e}const C9=async function(t){const o=this.getOffsetParent||RD,e=this.getDimensions;return{reference:f9(t.reference,await o(t.floating),t.strategy),floating:{x:0,y:0,...await e(t.floating)}}};function h9(t){return yi(t).direction==="rtl"}const g9={convertOffsetParentRelativeRectToViewportRelativeRect:s9,getDocumentElement:qr,getClippingRect:c9,getOffsetParent:RD,getElementRects:C9,getClientRects:a9,getDimensions:p9,getScale:Ll,isElement:Yr,isRTL:h9};function F9(t,o){let e=null,n;const s=qr(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:f,height:h}=t.getBoundingClientRect();if(a||o(),!f||!h)return;const g=ic(c),y=ic(s.clientWidth-(u+f)),b=ic(s.clientHeight-(c+h)),v=ic(u),P={rootMargin:-g+"px "+-y+"px "+-b+"px "+-v+"px",threshold:Vl(0,Xh(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,{...P,root:s.ownerDocument})}catch{e=new IntersectionObserver(L,P)}e.observe(t)}return r(!0),i}function np(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 f=u&&a?F9(u,e):null;let h=-1,g=null;r&&(g=new ResizeObserver(D=>{let[P]=D;P&&P.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(P=>{s&&P.removeEventListener("scroll",e),i&&P.removeEventListener("resize",e)}),f==null||f(),(D=g)==null||D.disconnect(),g=null,d&&cancelAnimationFrame(y)}}const y9=(t,o,e)=>{const n=new Map,s={platform:g9,...e},i={...s.platform,_c:n};return qO(t,o,{...s,platform:i})};function S9(t){return t!=null&&typeof t=="object"&&"$el"in t}function Eb(t){if(S9(t)){const o=t.$el;return mg(o)&&Kr(o)==="#comment"?null:o}return t}function xD(t){return typeof window>"u"?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function Nb(t,o){const e=xD(t);return Math.round(o*e)/e}function ip(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)),f=Te(0),h=Te(0),g=Te(a.value),y=Te(r.value),b=ar({}),v=Te(!1),D=Yt(()=>{const O={position:g.value,left:"0",top:"0"};if(!c.value)return O;const X=Nb(c.value,f.value),H=Nb(c.value,h.value);return d.value?{...O,transform:"translate("+X+"px, "+H+"px)",...xD(c.value)>=1.5&&{willChange:"transform"}}:{position:g.value,left:X+"px",top:H+"px"}});let P;function R(){u.value==null||c.value==null||y9(u.value,c.value,{middleware:i.value,placement:r.value,strategy:a.value}).then(O=>{f.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 P=="function"&&(P(),P=void 0)}function N(){if(L(),n===void 0){R();return}if(u.value!=null&&c.value!=null){P=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"}),C0()&&h0(L),{x:fa(f),y:fa(h),strategy:fa(g),placement:fa(y),middlewareData:fa(b),isPositioned:fa(v),floatingStyles:D,update:R}}const b9={},T9={class:"icon-hover",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function B9(t,o){return S(),I("svg",T9,o[0]||(o[0]=[p("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 _D=mt(b9,[["render",B9]]),V9={},L9={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function D9(t,o){return S(),I("svg",L9,o[0]||(o[0]=[p("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 PD=mt(V9,[["render",D9]]),v9={},R9={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"};function x9(t,o){return S(),I("svg",R9,o[0]||(o[0]=[Cr('<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(v9,[["render",x9]]),_9={class:"bootstrap-styles px-11 py-7 text-start"},ts=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(()=>[p("div",_9,[cd(i.$slots,"body-content")])]),"footer-actions":le(()=>[p("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(x)("UIComponents.removeConfirmModalWindow.cancelButton")),1),p("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(x)("UIComponents.removeConfirmModalWindow.applyButton")),1)]),_:3},8,["headerText"]))}});const P9=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(ts,{headerText:T(x)("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(x)("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"},N9={class:"bootstrap-styles bg-color-input border rounded-2 py-1 px-3 d-flex"},w9=["placeholder"],A9={class:"bootstrap-styles fw-bold mb-5"},W9={class:"bootstrap-styles dropdown border rounded-2 bg-color-input"},k9={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"},M9={class:"bootstrap-styles d-flex justify-content-center align-items-center"},O9={class:"bootstrap-styles dropdown-menu w-100 rounded-2","aria-labelledby":"dropdownMenuSectionSelect"},H9=["onClick"],$9={class:"bootstrap-styles d-block py-1 px-3 text-decoration-none text-reset cursor-pointer"},U9=lt({__name:"EditThemeLibrarySectionItemModalWindow",props:{deps:{},initialThemeSection:{},themeName:{},themeId:{}},emits:["cancel","onThemeLibrarySectionItemUpdated"],setup(t,{emit:o}){const e=t,n=It({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(x)("asideMenu.themeLibrary.themeSection.themeSectionItem.editThemeLibrarySectionModalWindow.title"),onClose:d[2]||(d[2]=()=>i())},{body:le(()=>[E(Jn,{class:at(["bootstrap-styles position-absolute top-50 start-50",{invisible:!n.isLoadedThemeLibrarySectionList}])},null,8,["class"]),p("div",{class:at(["bootstrap-styles px-11 py-7 text-start",{invisible:n.isLoadedThemeLibrarySectionList}])},[p("label",I9,k(T(x)("asideMenu.themeLibrary.themeSection.themeSectionItem.editThemeLibrarySectionModalWindow.themeNameLabel")),1),p("div",E9,[p("div",N9,[Mt(p("input",{"onUpdate:modelValue":d[0]||(d[0]=u=>n.sectionItemName=u),type:"text",class:"bootstrap-styles w-100",placeholder:T(x)("asideMenu.themeLibrary.themeSection.themeSectionItem.editThemeLibrarySectionModalWindow.themeNamePlaceholder")},null,8,w9),[[En,n.sectionItemName]])])]),p("div",null,[p("label",A9,k(T(x)("asideMenu.themeLibrary.themeSection.themeSectionItem.editThemeLibrarySectionModalWindow.themeSectionLabel")),1),p("div",W9,[Mt((S(),I("button",k9,[p("span",null,k(n.selectedSectionName),1),p("i",M9,[E(jo)])])),[[T(Nn)]]),p("ul",O9,[(S(!0),I(Lt,null,ge(n.themeLibrarySections,u=>(S(),I("li",{key:u.sectionName,class:"bootstrap-styles dropdown-item p-0",onClick:()=>{n.selectedSectionId=u.sectionId,n.selectedSectionName=u.sectionName}},[p("span",$9,k(u.sectionName),1)],8,H9))),128))])])])],2)]),"footer-actions":le(()=>[p("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(x)("asideMenu.themeLibrary.themeSection.themeSectionItem.editThemeLibrarySectionModalWindow.cancelButton")),1),p("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(x)("asideMenu.themeLibrary.themeSection.themeSectionItem.editThemeLibrarySectionModalWindow.applyButton")),1)]),_:1},8,["headerText"]))}}),j9={class:"bootstrap-styles input__settings-text__item__content"},z9={class:"overflow-hidden"},G9={class:"bootstrap-styles mb-5"},K9={class:"bootstrap-styles mb-5 text-nowrap"},Y9={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"},Z9={class:"preview-theme__context"},J9={class:"bootstrap-styles p-14"},X9={class:"bootstrap-styles me-1"},Q9={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=It({isRemoveThemeWindowShown:!1,isEditThemeWindowShown:!1,isContextWindowShown:!1}),s=Te(null),i=Te(null),{floatingStyles:r}=ip(s,i,{placement:"right",whileElementsMounted:np,middleware:[op(20)]}),a=o;return(d,u)=>(S(),I(Lt,null,[p("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))},[p("div",j9,[p("div",z9,[p("section",{class:"bootstrap-styles d-flex w-100 h-100",style:Nt({background:e.theme.theme.Colors.EmailBackgroundColor,padding:"16px 0 0 16px"})},[p("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`})},[p("div",G9,[p("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),p("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),p("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)]),p("div",K9,[p("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),p("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)])]),p("div",Y9,[je(k(e.theme.sectionItemName)+" ",1),p("div",Z9,[p("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)},[p("i",J9,[E(PD)])],34)])]),n.isContextWindowShown?(S(),I("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)},[p("button",{class:"edit-button",onMousedown:u[2]||(u[2]=c=>n.isEditThemeWindowShown=!0)},[p("i",X9,[E(_D)]),je(" "+k(T(x)("asideMenu.themeLibrary.themeSection.themeSectionItem.editThemeButton")),1)],32),p("button",{class:"remove-button",onMousedown:u[3]||(u[3]=c=>n.isRemoveThemeWindowShown=!0)},[p("i",Q9,[E(Hd)]),je(" "+k(T(x)("asideMenu.themeLibrary.themeSection.themeSectionItem.deleteThemeButton")),1)],32)],36)):St("",!0)]),(S(),st(lo,{to:"#app"},[n.isEditThemeWindowShown?(S(),st(U9,{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(P9,{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 tH=mt(q9,[["__scopeId","data-v-934f841f"]]),eH={},oH={width:"60",height:"61",viewBox:"0 0 60 61",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function nH(t,o){return S(),I("svg",oH,o[0]||(o[0]=[Cr('<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(eH,[["render",nH]]),iH=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(ts,{headerText:T(x)("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"]))}}),rH={class:"bootstrap-styles d-flex flex-column justify-content-center align-items-center h-100 pe-7"},sH={class:"bootstrap-styles mt-auto d-flex flex-column justify-content-center align-items-center"},aH={class:"bootstrap-styles text-gray-600"},lH=lt({__name:"EmptyThemeSection",props:{deps:{},sectionName:{},sectionId:{}},emits:["onThemeLibrarySectionRemoved"],setup(t,{emit:o}){const e=t,n=It({isRemoveThemeLibrarySectionModalWindowShown:!1}),s=o;return(i,r)=>(S(),I(Lt,null,[p("div",rH,[p("div",sH,[E(ID),p("p",aH,k(T(x)("asideMenu.themeLibrary.themeSection.emptySectionText")),1)]),p("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)},[p("i",null,[E(Hd)]),je(" "+k(T(x)("asideMenu.themeLibrary.themeSection.deleteSectionButton")),1)])]),(S(),st(lo,{to:"#app"},[n.isRemoveThemeLibrarySectionModalWindowShown?(S(),st(iH,{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 uH=mt(lH,[["__scopeId","data-v-dc27045f"]]),dH={key:0,class:"bootstrap-styles h-100 d-flex flex-column overflow-scroll"},mH={class:"bootstrap-styles scrollable d-flex flex-column gap-5 overflow-scroll"},cH=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(),I(Lt,null,[E(Yp,{title:e.themeSection.sectionName,onClick:i[0]||(i[0]=r=>n("back"))},null,8,["title"]),e.themeSection.sectionItems.length>0?(S(),I("div",dH,[p("div",mH,[(S(!0),I(Lt,null,ge(e.themeSection.sectionItems,r=>(S(),I("div",{key:r.sectionItemId,class:"bootstrap-styles list-group me-3"},[E(tH,{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(uH,{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 pH=mt(cH,[["__scopeId","data-v-ccb7e914"]]),fH={class:"bootstrap-styles h-100 d-flex flex-column"},CH={class:"bootstrap-styles list-group list-group-flush p-0"},hH=["onClick"],gH={class:"bootstrap-styles me-1"},FH={class:"bootstrap-styles d-flex align-items-center"},yH={class:"bootstrap-styles icon-hover-stroke"},SH={for:"button-hide-empty-theme-section",class:"label__checkbox-input"},bH={class:"bootstrap-styles d-flex justify-content-center align-items-center me-1 icon-stroke"},TH=lt({__name:"CustomThemeLibrary",props:{deps:{},currentThemeSettings:{},themeLibrary:{}},emits:["selectedThemeSettings","onThemeLibrarySectionItemUpdated","onThemeLibrarySectionAdded","themeSectionItemAdded","themeSectionItemRemoved","onThemeLibrarySectionRemoved","onMenuOptionIndexChanged"],setup(t,{emit:o}){const e=t,n=It({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=_p("VSkeletonLoader");return S(),I("div",fH,[(S(!0),I(Lt,null,ge(e.themeLibrary,(c,f)=>(S(),I("div",{key:f,class:at({"bootstrap-styles h-100 d-flex flex-column":n.menuOptionIndex===f})},[n.menuOptionIndex===f?(S(),st(pH,{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)),p("div",{class:at(["bootstrap-styles h-100 flex-column pe-5 me-14 overflow-scroll",[n.menuOptionIndex===null?"d-flex":"d-none"]])},[p("div",CH,[(S(!0),I(Lt,null,ge(e.themeLibrary,(c,f)=>(S(),I("button",{key:f,class:at(["bootstrap-styles list-group-item py-5 px-0 text-start border-gray-200 justify-content-between",[n.isHiddenThemeLibraryEmptySection&&s(f)?"d-none":"d-flex"]]),onClick:()=>{r("onMenuOptionIndexChanged"),n.menuOptionIndex=f}},[p("span",gH,k(c.sectionName),1),p("span",FH,[p("span",{class:at(["bootstrap-styles themes-quantity px-1 me-1",{empty:s(f)}])},k(e.themeLibrary[f].sectionItems.length),3),p("i",yH,[E($p)])])],10,hH))),128)),!n.isLoaded&&!n.isHiddenThemeLibraryEmptySection?(S(),st(u,{key:0,class:"bootstrap-styles my-5",width:"216",height:"17"})):St("",!0)])],2),p("div",{class:at(["bootstrap-styles mt-7 me-7 mb-7",[n.menuOptionIndex===null?"d-flex":"d-none"]])},[E(cr,{id:"button-hide-empty-theme-section",checked:n.isHiddenThemeLibraryEmptySection,onChange:d[5]||(d[5]=c=>i())},null,8,["checked"]),p("label",SH,k(T(x)("asideMenu.themeLibrary.hideEmptySectionsCheckbox")),1)],2),p("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)},[p("i",bH,[E(Kp)]),je(" "+k(T(x)("asideMenu.themeLibrary.addThemeLibrarySectionButton")),1)],2),p("div",{class:at(["bootstrap-styles aside-menu__groups__add-element_add mt-auto me-7",[n.menuOptionIndex===null?"d-flex":"d-none"]])},[Mt((S(),I("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)},[E(QM),je(" "+k(T(x)("asideMenu.themeLibrary.addThemeLibrarySectionItemButton")),1)],2)),[[T(Ho),{title:T(x)("asideMenu.themeLibrary.addThemeLibrarySectionItemButtonTooltip"),placement:"right",trigger:e.themeLibrary.length===0?"hover":"manual"}]])],2),(S(),st(lo,{to:"#app"},[n.isAddThemeLibrarySectionItemModalWindowShown?(S(),st(NO,{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(kO,{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 BH=mt(TH,[["__scopeId","data-v-9d62ae76"]]),VH={class:"bootstrap-styles input__settings-text__item__content"},LH={class:"overflow-hidden"},DH={class:"bootstrap-styles mb-5"},vH={class:"bootstrap-styles mb-5 text-nowrap"},RH={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"},xH=lt({__name:"DefaultThemeSectionItem",props:{theme:{},themeSection:{}},emits:["back","selectedThemeSettings"],setup(t,{emit:o}){const e=t,n=o;return(s,i)=>(S(),I("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))},[p("div",VH,[p("div",LH,[p("section",{class:"bootstrap-styles d-flex w-100 h-100",style:Nt({background:e.theme.theme.Colors.EmailBackgroundColor,padding:"16px 0 0 16px"})},[p("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`})},[p("div",DH,[p("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),p("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),p("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)]),p("div",vH,[p("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),p("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)])]),p("div",RH,k(e.theme.sectionItemName),1)]))}});const _H=mt(xH,[["__scopeId","data-v-ae007019"]]),PH={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(),I(Lt,null,[E(Yp,{title:e.themeSection.sectionName,onClick:i[0]||(i[0]=r=>n("back"))},null,8,["title"]),p("div",PH,[p("div",IH,[(S(!0),I(Lt,null,ge(e.themeSection.sectionItems,r=>(S(),I("div",{key:r.sectionItemId,class:"bootstrap-styles list-group me-3"},[E(_H,{theme:r,themeSection:e.themeSection,onSelectedThemeSettings:i[1]||(i[1]=a=>n("selectedThemeSettings",a))},null,8,["theme","themeSection"])]))),128))])])],64))}});const NH=mt(EH,[["__scopeId","data-v-d1b831e4"]]),wH={class:"bootstrap-styles h-100 d-flex flex-column"},AH={class:"bootstrap-styles list-group list-group-flush p-0"},WH=["onClick"],kH={class:"bootstrap-styles me-1"},MH={class:"bootstrap-styles d-flex align-items-center"},OH={class:"bootstrap-styles themes-quantity px-1 me-1"},HH={class:"bootstrap-styles icon-hover-stroke"},$H=lt({__name:"DefaultThemeLibrary",props:{currentThemeSettings:{},themeLibrary:{}},emits:["selectedThemeSettings","onMenuOptionIndexChanged"],setup(t,{emit:o}){const e=t,n=It({menuOptionIndex:null}),s=o;return(i,r)=>(S(),I("div",wH,[(S(!0),I(Lt,null,ge(e.themeLibrary,(a,d)=>(S(),I("div",{key:d,class:at({"bootstrap-styles h-100 d-flex flex-column":n.menuOptionIndex===d})},[n.menuOptionIndex===d?(S(),st(NH,{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)),p("div",{class:at(["bootstrap-styles h-100 flex-column pe-5 me-14 overflow-scroll",[n.menuOptionIndex===null?"d-flex":"d-none"]])},[p("div",AH,[(S(!0),I(Lt,null,ge(e.themeLibrary,(a,d)=>(S(),I("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}},[p("span",kH,k(a.sectionName),1),p("span",MH,[p("span",OH,k(e.themeLibrary[d].sectionItems.length),1),p("i",HH,[E($p)])])],8,WH))),128))])],2)]))}});const UH=mt($H,[["__scopeId","data-v-147cc9a5"]]),jH={ref:"tabsRef",class:"bootstrap-styles w-100 tabs-container p-14 rounded-2 border bg-color-input"},zH={class:"bootstrap-styles d-flex position-relative w-100"},GH=["data-key","onClick"],KH=lt({__name:"TabList",props:{initialTab:{},tabList:{}},emits:["onTabClicked"],setup(t,{emit:o}){const e=t,n=It({activeTab:e.initialTab,sliderStyle:{width:"0px",transform:"translateX(0px)"}}),s=Te([]),i=d=>{Jr(()=>{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)};$i(()=>{i(n.activeTab)});const a=o;return(d,u)=>(S(),I("div",jH,[p("div",zH,[p("div",{class:"slider",style:Nt(n.sliderStyle)},null,4),(S(!0),I(Lt,null,ge(e.tabList,(c,f)=>(S(),I("button",{ref_for:!0,ref_key:"tabRefs",ref:s,key:f,"data-key":f,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===f}]),onClick:()=>r(f)},k(c),11,GH))),128))])],512))}});const Xp=mt(KH,[["__scopeId","data-v-de8dff0d"]]),YH={class:"bootstrap-styles scrollable d-block h-100"},ZH={class:"bootstrap-styles flex-column gap-13 me-3 d-flex h-100"},wb="custom",JH=lt({__name:"ThemeLibrary",props:{deps:{},currentThemeSettings:{},themeLibrary:{},defaultThemeLibrary:{}},emits:["selectedThemeSettings","onThemeLibrarySectionItemUpdated","onThemeLibrarySectionAdded","themeSectionItemAdded","themeSectionItemRemoved","onThemeLibrarySectionRemoved"],setup(t,{emit:o}){const e=t,n=It({themeLibrarySourceKey:wb,isHeaderShow:!0}),s={custom:x("asideMenu.themeLibrary.userThemeButtonText"),default:x("asideMenu.themeLibrary.defaultThemeButtonText")},i=o;return(r,a)=>(S(),I("div",YH,[p("div",ZH,[p("h2",{class:at(["bootstrap-styles fs-6 fw-bold mb-0 me-7",{"d-none":!n.isHeaderShow}])},k(T(x)("asideMenu.themeLibrary.title")),3),p("div",{class:at([{"d-none":!n.isHeaderShow},"bootstrap-styles me-3"])},[E(Xp,{initialTab:wb,tabList:s,onOnTabClicked:a[0]||(a[0]=d=>n.themeLibrarySourceKey=d)})],2),n.themeLibrarySourceKey==="custom"?(S(),st(BH,{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(UH,{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 XH(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 ND={exports:{}};const QH=ED(IA);/**!
|
|
45
45
|
* Sortable 1.14.0
|
|
46
46
|
* @author RubaXa <trash@rubaxa.org>
|
|
47
47
|
* @author owenm <owen23355@gmail.com>
|
package/package.json
CHANGED