officialblock 1.0.8 → 1.0.9

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.
Files changed (41) hide show
  1. package/dist/official-block.cjs.js +1 -1
  2. package/dist/official-block.es.js +43 -11
  3. package/dist/official-block.umd.js +1 -1
  4. package/dist/style.css +1 -1
  5. package/package.json +1 -1
  6. package/src/assets/icon-email.svg +3 -0
  7. package/src/components/ArticleList/setting.vue +316 -142
  8. package/src/components/BannerImageWithLink/index.ts +11 -0
  9. package/src/components/BannerImageWithLink/index.vue +323 -0
  10. package/src/components/BannerImageWithLink/setting.vue +344 -0
  11. package/src/components/BannerImageWithLink/type.ts +17 -0
  12. package/src/components/ContactUsList/index.ts +11 -0
  13. package/src/components/ContactUsList/index.vue +369 -0
  14. package/src/components/ContactUsList/setting.vue +497 -0
  15. package/src/components/ContactUsList/type.ts +17 -0
  16. package/src/components/CountDown/index.ts +11 -0
  17. package/src/components/CountDown/index.vue +315 -0
  18. package/src/components/CountDown/setting.vue +302 -0
  19. package/src/components/CountDown/type.ts +17 -0
  20. package/src/components/CustomIframe/index.ts +11 -0
  21. package/src/components/CustomIframe/index.vue +118 -0
  22. package/src/components/CustomIframe/setting.vue +323 -0
  23. package/src/components/CustomIframe/type.ts +17 -0
  24. package/src/components/Operate/index.vue +1 -2
  25. package/src/components/ScrollKeyInfo/index.ts +11 -0
  26. package/src/components/ScrollKeyInfo/index.vue +1345 -0
  27. package/src/components/ScrollKeyInfo/setting.vue +302 -0
  28. package/src/components/ScrollKeyInfo/type.ts +17 -0
  29. package/src/components/TabDefault/components/ComponentSelector/compsData.js +143 -0
  30. package/src/components/TabDefault/components/ComponentSelector/index.vue +188 -0
  31. package/src/components/TabDefault/components/PageContent.vue +207 -0
  32. package/src/components/TabDefault/index.vue +475 -0
  33. package/src/components/TabDefault/setting.vue +581 -0
  34. package/src/components/TabDefault/type.ts +17 -0
  35. package/src/components/TableTwo/index.ts +11 -0
  36. package/src/components/TableTwo/index.vue +232 -0
  37. package/src/components/TableTwo/setting.vue +558 -0
  38. package/src/components/TableTwo/type.ts +17 -0
  39. package/src/components/index.ts +17 -0
  40. package/src/styles/component-isolation.scss +2 -1
  41. package/src/views/components/ArticleListDemo.vue +50 -49
@@ -183,4 +183,4 @@ Can not construct a instance`)}return e.setEditorConfig=function(t){t===void 0&&
183
183
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
184
184
  PERFORMANCE OF THIS SOFTWARE.
185
185
  ***************************************************************************** */function wl(e){var t=e.menus,n=e.renderElems,r=e.renderStyle,o=e.elemsToHtml,i=e.styleToHtml,a=e.preParseHtml,s=e.parseElemsHtml,l=e.parseStyleHtml,u=e.editorPlugin;t&&t.forEach(function(c){return hn.registerMenu(c)}),n&&n.forEach(function(c){return hn.registerRenderElem(c)}),r&&hn.registerRenderStyle(r),o&&o.forEach(function(c){return hn.registerElemToHtml(c)}),i&&hn.registerStyleToHtml(i),a&&a.forEach(function(c){return hn.registerPreParseHtml(c)}),s&&s.forEach(function(c){return hn.registerParseElemHtml(c)}),l&&hn.registerParseStyleHtml(l),u&&hn.registerPlugin(u)}cle.forEach(function(e){return wl(e)}),wl(zce),wl(ppe),wl(Cme),wl(hye),wl(n1e);var gz='<svg viewBox="0 0 1024 1024"><path d="M959.877 128l0.123 0.123v767.775l-0.123 0.122H64.102l-0.122-0.122V128.123l0.122-0.123h895.775zM960 64H64C28.795 64 0 92.795 0 128v768c0 35.205 28.795 64 64 64h896c35.205 0 64-28.795 64-64V128c0-35.205-28.795-64-64-64zM832 288.01c0 53.023-42.988 96.01-96.01 96.01s-96.01-42.987-96.01-96.01S682.967 192 735.99 192 832 234.988 832 288.01zM896 832H128V704l224.01-384 256 320h64l224.01-192z"></path></svg>',mz={link:{menuKeys:["editLink","unLink","viewLink"]},image:{menuKeys:["imageWidth30","imageWidth50","imageWidth100","editImage","viewImageLink","deleteImage"]},pre:{menuKeys:["enter","codeBlock","codeSelectLang"]},table:{menuKeys:["enter","tableHeader","tableFullWidth","insertTableRow","deleteTableRow","insertTableCol","deleteTableCol","deleteTable"]},divider:{menuKeys:["enter"]},video:{menuKeys:["enter","editVideoSize"]}},i1e={hoverbarKeys:Bt(Bt({},mz),{text:{menuKeys:["headerSelect","insertLink","bulletedList","|","bold","through","color","bgColor","clearStyle"]}})};hn.setEditorConfig(Bt(Bt({},i1e),{decorate:hz}));var a1e={hoverbarKeys:mz};hn.setSimpleEditorConfig(Bt(Bt({},a1e),{decorate:hz}));var s1e={toolbarKeys:["headerSelect","blockquote","|","bold","underline","italic",{key:"group-more-style",title:oe("editor.more"),iconSvg:'<svg viewBox="0 0 1024 1024"><path d="M204.8 505.6m-76.8 0a76.8 76.8 0 1 0 153.6 0 76.8 76.8 0 1 0-153.6 0Z"></path><path d="M505.6 505.6m-76.8 0a76.8 76.8 0 1 0 153.6 0 76.8 76.8 0 1 0-153.6 0Z"></path><path d="M806.4 505.6m-76.8 0a76.8 76.8 0 1 0 153.6 0 76.8 76.8 0 1 0-153.6 0Z"></path></svg>',menuKeys:["through","code","sup","sub","clearStyle"]},"color","bgColor","|","fontSize","fontFamily","lineHeight","|","bulletedList","numberedList","todo",{key:"group-justify",title:oe("editor.justify"),iconSvg:'<svg viewBox="0 0 1024 1024"><path d="M768 793.6v102.4H51.2v-102.4h716.8z m204.8-230.4v102.4H51.2v-102.4h921.6z m-204.8-230.4v102.4H51.2v-102.4h716.8zM972.8 102.4v102.4H51.2V102.4h921.6z"></path></svg>',menuKeys:["justifyLeft","justifyRight","justifyCenter","justifyJustify"]},{key:"group-indent",title:oe("editor.indent"),iconSvg:'<svg viewBox="0 0 1024 1024"><path d="M0 64h1024v128H0z m384 192h640v128H384z m0 192h640v128H384z m0 192h640v128H384zM0 832h1024v128H0z m0-128V320l256 192z"></path></svg>',menuKeys:["indent","delIndent"]},"|","emotion","insertLink",{key:"group-image",title:oe("editor.image"),iconSvg:gz,menuKeys:["insertImage","uploadImage"]},{key:"group-video",title:oe("editor.video"),iconSvg:'<svg viewBox="0 0 1024 1024"><path d="M981.184 160.096C837.568 139.456 678.848 128 512 128S186.432 139.456 42.816 160.096C15.296 267.808 0 386.848 0 512s15.264 244.16 42.816 351.904C186.464 884.544 345.152 896 512 896s325.568-11.456 469.184-32.096C1008.704 756.192 1024 637.152 1024 512s-15.264-244.16-42.816-351.904zM384 704V320l320 192-320 192z"></path></svg>',menuKeys:["insertVideo","uploadVideo"]},"insertTable","codeBlock","divider","|","undo","redo","|","fullScreen"]};hn.setToolbarConfig(s1e);var l1e={toolbarKeys:["blockquote","header1","header2","header3","|","bold","underline","italic","through","color","bgColor","clearStyle","|","bulletedList","numberedList","todo","justifyLeft","justifyRight","justifyCenter","|","insertLink",{key:"group-image",title:oe("editor.image"),iconSvg:gz,menuKeys:["insertImage","uploadImage"]},"insertVideo","insertTable","codeBlock","|","undo","redo","|","fullScreen"]};function u1e(e){e===void 0&&(e={});var t=e.selector,n=t===void 0?"":t,r=e.content,o=r===void 0?[]:r,i=e.html,a=e.config,s=a===void 0?{}:a,l=e.mode,u=(l===void 0?"default":l)==="simple"?hn.simpleEditorConfig:hn.editorConfig,c=Bt(Bt({},u.hoverbarKeys||{}),s.hoverbarKeys||{});return pte({selector:n,config:Bt(Bt(Bt({},u),s),{hoverbarKeys:c}),content:o,html:i,plugins:hn.plugins})}function c1e(e){var t=e.selector,n=e.editor,r=e.config,o=r===void 0?{}:r,i=e.mode,a=i===void 0?"default":i;if(!t)throw new Error("Cannot find 'selector' when create toolbar");var s=a==="simple"?hn.simpleToolbarConfig:hn.toolbarConfig,l=function(u,c){if(u==null)throw new Error("Cannot create toolbar, because editor is null");var f=c.selector,p=c.config,h=p===void 0?{}:p;if(function(y,b){return B9(y,"data-w-e-toolbar",b)}(u,f))throw new Error("Repeated create toolbar by selector '"+f+"'");var v=Ar({toolbarKeys:[],excludeKeys:[],insertKeys:{index:0,keys:[]},modalAppendToBody:!1},h||{}),m=new yte(f,v);return W2.set(m,u),ym.set(u,m),m}(n,{selector:t,config:Bt(Bt({},s),o)});return l}hn.setSimpleToolbarConfig(l1e);var d1e=Object.defineProperty,f1e=Object.defineProperties,p1e=Object.getOwnPropertyDescriptors,vz=Object.getOwnPropertySymbols,h1e=Object.prototype.hasOwnProperty,g1e=Object.prototype.propertyIsEnumerable,yz=(e,t,n)=>t in e?d1e(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,m1e=(e,t)=>{for(var n in t||(t={}))h1e.call(t,n)&&yz(e,n,t[n]);if(vz)for(var n of vz(t))g1e.call(t,n)&&yz(e,n,t[n]);return e},v1e=(e,t)=>f1e(e,p1e(t));function za(e){let t=`请使用 '@${e}' 事件,不要放在 props 中`;return t+=`
186
- Please use '@${e}' event instead of props`,t}var bz=(e,t)=>{for(const[n,r]of t)e[n]=r;return e};const y1e=d.defineComponent({props:{mode:{type:String,default:"default"},defaultContent:{type:Array,default:[]},defaultHtml:{type:String,default:""},defaultConfig:{type:Object,default:{}},modelValue:{type:String,default:""}},setup(e,t){const n=d.ref(null),r=d.shallowRef(null),o=d.ref(""),i=()=>{if(!n.value)return;const s=d.toRaw(e.defaultContent);u1e({selector:n.value,mode:e.mode,content:s||[],html:e.defaultHtml||e.modelValue||"",config:v1e(m1e({},e.defaultConfig),{onCreated(l){if(r.value=l,t.emit("onCreated",l),e.defaultConfig.onCreated){const u=za("onCreated");throw new Error(u)}},onChange(l){const u=l.getHtml();if(o.value=u,t.emit("update:modelValue",u),t.emit("onChange",l),e.defaultConfig.onChange){const c=za("onChange");throw new Error(c)}},onDestroyed(l){if(t.emit("onDestroyed",l),e.defaultConfig.onDestroyed){const u=za("onDestroyed");throw new Error(u)}},onMaxLength(l){if(t.emit("onMaxLength",l),e.defaultConfig.onMaxLength){const u=za("onMaxLength");throw new Error(u)}},onFocus(l){if(t.emit("onFocus",l),e.defaultConfig.onFocus){const u=za("onFocus");throw new Error(u)}},onBlur(l){if(t.emit("onBlur",l),e.defaultConfig.onBlur){const u=za("onBlur");throw new Error(u)}},customAlert(l,u){if(t.emit("customAlert",l,u),e.defaultConfig.customAlert){const c=za("customAlert");throw new Error(c)}},customPaste:(l,u)=>{if(e.defaultConfig.customPaste){const f=za("customPaste");throw new Error(f)}let c;return t.emit("customPaste",l,u,f=>{c=f}),c}})})};function a(s){const l=r.value;l!=null&&l.setHtml(s)}return d.onMounted(()=>{i()}),d.watch(()=>e.modelValue,s=>{s!==o.value&&a(s)}),{box:n}}}),b1e={ref:"box",style:{height:"100%"}};function w1e(e,t,n,r,o,i){return d.openBlock(),d.createElementBlock("div",b1e,null,512)}var E1e=bz(y1e,[["render",w1e]]);const x1e=d.defineComponent({props:{editor:{type:Object},mode:{type:String,default:"default"},defaultConfig:{type:Object,default:{}}},setup(e){const t=d.ref(null),n=r=>{if(t.value){if(r==null)throw new Error("Not found instance of Editor when create <Toolbar/> component");B.getToolbar(r)||c1e({editor:r,selector:t.value||"<div></div>",mode:e.mode,config:e.defaultConfig})}};return d.watchEffect(()=>{const{editor:r}=e;r!=null&&n(r)}),{selector:t}}}),C1e={ref:"selector"};function S1e(e,t,n,r,o,i){return d.openBlock(),d.createElementBlock("div",C1e,null,512)}var D1e=bz(x1e,[["render",S1e]]);const k1e={class:"rich-text-editor"},yh=lt(d.defineComponent({__name:"RichTextEditor",props:{modelValue:{default:""},placeholder:{default:"请输入内容..."},height:{default:"400px"},mode:{default:"default"},disabled:{type:Boolean,default:!1},maxLength:{default:1e4},excludeKeys:{default:()=>[]},includeKeys:{default:()=>[]},uploadImgServer:{default:""},uploadVideoServer:{default:""}},emits:["update:modelValue","change","focus","blur","created"],setup(e,{expose:t,emit:n}){const r=e,o=n,i=d.shallowRef(),a=d.ref(""),s=d.computed(()=>typeof r.height=="number"?`${r.height}px`:r.height),l={excludeKeys:r.excludeKeys,insertKeys:{index:0,keys:r.includeKeys}},u={placeholder:r.placeholder,readOnly:r.disabled,maxLength:r.maxLength,MENU_CONF:{uploadImage:{server:r.uploadImgServer,fieldName:"file",maxFileSize:5*1024*1024,allowedFileTypes:["image/*"],meta:{},headers:{},withCredentials:!1,timeout:30*1e3,onBeforeUpload(m){return console.log("onBeforeUpload",m),m},onProgress(m){console.log("onProgress",m)},onSuccess(m,y){console.log("onSuccess",m,y)},onFailed(m,y){console.log("onFailed",m,y)},onError(m,y){console.log("onError",m,y)}},uploadVideo:{server:r.uploadVideoServer,fieldName:"file",maxFileSize:50*1024*1024,allowedFileTypes:["video/*"],meta:{},headers:{},withCredentials:!1,timeout:60*1e3,onBeforeUpload(m){return console.log("onBeforeUpload video",m),m},onProgress(m){console.log("onProgress video",m)},onSuccess(m,y){console.log("onSuccess video",m,y)},onFailed(m,y){console.log("onFailed video",m,y)},onError(m,y){console.log("onError video",m,y)}}}};d.onBeforeUnmount(()=>{const m=i.value;m!=null&&m.destroy()}),d.watch(()=>r.modelValue,m=>{m!==a.value&&(a.value=m||"")},{immediate:!0});const c=m=>{i.value=m,o("created",m)},f=m=>{o("update:modelValue",a.value),o("change",m)},p=()=>{i.value=void 0},h=m=>{o("focus",m)},v=m=>{o("blur",m)};return t({editor:i,getHtml:()=>a.value,getText:()=>{var m;return((m=i.value)==null?void 0:m.getText())||""},isEmpty:()=>{var m;return((m=i.value)==null?void 0:m.isEmpty())||!0},clear:()=>{var m;return(m=i.value)==null?void 0:m.clear()},focus:()=>{var m;return(m=i.value)==null?void 0:m.focus()},blur:()=>{var m;return(m=i.value)==null?void 0:m.blur()},disable:()=>{var m;return(m=i.value)==null?void 0:m.disable()},enable:()=>{var m;return(m=i.value)==null?void 0:m.enable()}}),(m,y)=>(d.openBlock(),d.createElementBlock("div",k1e,[d.createVNode(d.unref(D1e),{class:"editor-toolbar",editor:i.value,defaultConfig:l,mode:m.mode},null,8,["editor","mode"]),d.createVNode(d.unref(E1e),{class:"editor-content",style:d.normalizeStyle({height:s.value}),modelValue:a.value,"onUpdate:modelValue":y[0]||(y[0]=b=>a.value=b),defaultConfig:u,mode:m.mode,onOnCreated:c,onOnChange:f,onOnDestroyed:p,onOnFocus:h,onOnBlur:v},null,8,["style","modelValue","mode"])]))}}),[["__scopeId","data-v-760a12a3"]]),A1e={class:"setting-content"},O1e={class:"setting-header flex items-center"},T1e={class:"setting-header flex items-center"},B1e={class:"setting-body"},_1e={class:"setting-item"},N1e={class:"item-name"},P1e={class:"btn-group"},F1e={class:"drag-handle"},V1e={class:"btn-group"},L1e={key:0,class:"drag-handle"},I1e={class:"item-action flex items-center"},j1e=["onClick"],M1e={class:"btn-group"},R1e={key:0,class:"drag-handle"},z1e={class:"item-action flex items-center"},H1e=["onClick"],U1e={class:"btn-group"},G1e={key:0,class:"drag-handle"},W1e={class:"item-action flex items-center"},q1e=["onClick"],K1e={class:"btn-group"},Y1e={key:0,class:"drag-handle"},X1e={class:"item-action flex items-center"},Z1e=["onClick"],J1e=["src"],Q1e={class:"item-uplaod flex items-center"},$1e={class:"item-img-list"},ewe={class:"btn-group"},twe={key:0,class:"drag-handle"},nwe={key:0,class:"item-img-box"},rwe=["src"],owe={class:"item-right flex-1"},iwe=["onClick"],awe=["src"],swe={class:"item-uplaod flex items-center"},lwe=["src"],uwe={class:"item-uplaod flex items-center"},cwe=lt(d.defineComponent({__name:"setting",props:{show:{type:Boolean,default:!1},data:{type:Object,default:()=>{}}},emits:["update:show"],setup(e,{emit:t}){const n=d.ref(!1),r=d.computed(()=>({animation:200,group:"item",disabled:!1,ghostClass:"ghost"})),o=d.computed(()=>({animation:200,group:"buttons",disabled:!1,ghostClass:"ghost"})),i=d.computed(()=>({animation:200,group:"links",disabled:!1,ghostClass:"ghost"})),a=d.computed(()=>({animation:200,group:"categories",disabled:!1,ghostClass:"ghost"})),s=d.computed(()=>({animation:200,group:"images",disabled:!1,ghostClass:"ghost"})),l=S=>S&&S.length>1,u=e,c=t,f=()=>{c("update:show",!1)},p=S=>{const x=u.data;S==="Article"?x.data.push({id:ve(),type:"Article",title:"",content:"",buttonList:[],linkList:[]}):S==="Contact"?x.data.push({id:ve(),type:"Contact",title:"",content:"",categories:[],linkList:[]}):S==="Image"?x.data.push({id:ve(),type:"Image",imgSrc:"",caption:"",alt:"",isRound:!1}):S==="ImageList"?x.data.push({id:ve(),type:"ImageList",imageList:[]}):S==="Video"&&x.data.push({id:ve(),type:"Video",videoSrc:"",imgSrc:""})},h=S=>{u.data.data=u.data.data.filter(x=>x.id!==S)},v=S=>{S.push({id:ve(),text:"查看更多",url:void 0,isExternal:!1})},m=(S,x)=>{S.splice(S.findIndex(k=>k.id===x),1)},y=S=>{S.push({id:ve(),text:"查看更多",url:void 0,isExternal:!1})},b=(S,x)=>{S.splice(S.findIndex(k=>k.id===x),1)},g=S=>{S.push({id:ve(),text:"分类"})},w=(S,x)=>{S.splice(S.findIndex(k=>k.id===x),1)},E=S=>{S.push({id:ve(),src:""})},C=(S,x)=>{S.splice(S.findIndex(k=>k===x),1)};return(S,x)=>{const k=d.resolveComponent("a-option"),O=d.resolveComponent("a-select"),_=d.resolveComponent("icon-plus"),P=d.resolveComponent("a-button"),F=d.resolveComponent("a-button-group"),H=d.resolveComponent("icon-drag-arrow"),R=d.resolveComponent("icon-delete"),z=d.resolveComponent("a-input"),U=d.resolveComponent("a-checkbox"),Q=d.resolveComponent("a-link"),Z=d.resolveComponent("a-upload"),te=d.resolveComponent("a-drawer");return d.openBlock(),d.createBlock(te,{width:500,visible:e.show,footer:!1,onCancel:f,unmountOnClose:""},{title:d.withCtx(()=>[d.createTextVNode(d.toDisplayString(e.data.type)+"组件编辑 ",1)]),default:d.withCtx(()=>[d.createElementVNode("div",A1e,[d.createElementVNode("div",O1e,[x[24]||(x[24]=d.createElementVNode("span",{class:"header-title"},"组件宽度",-1)),d.createVNode(O,{modelValue:e.data.width,"onUpdate:modelValue":x[0]||(x[0]=G=>e.data.width=G),placeholder:"请选择","allow-clear":""},{default:d.withCtx(()=>[d.createVNode(k,{value:"default"},{default:d.withCtx(()=>x[20]||(x[20]=[d.createTextVNode("默认")])),_:1,__:[20]}),d.createVNode(k,{value:"small"},{default:d.withCtx(()=>x[21]||(x[21]=[d.createTextVNode("小")])),_:1,__:[21]}),d.createVNode(k,{value:"medium"},{default:d.withCtx(()=>x[22]||(x[22]=[d.createTextVNode("中")])),_:1,__:[22]}),d.createVNode(k,{value:"large"},{default:d.withCtx(()=>x[23]||(x[23]=[d.createTextVNode("大")])),_:1,__:[23]})]),_:1},8,["modelValue"])]),d.createElementVNode("div",T1e,[x[27]||(x[27]=d.createElementVNode("span",{class:"header-title"},"组件背景",-1)),d.createVNode(O,{modelValue:e.data.background,"onUpdate:modelValue":x[1]||(x[1]=G=>e.data.background=G),placeholder:"请选择","allow-clear":""},{default:d.withCtx(()=>[d.createVNode(k,{value:"white"},{default:d.withCtx(()=>x[25]||(x[25]=[d.createTextVNode("白色")])),_:1,__:[25]}),d.createVNode(k,{value:"grey"},{default:d.withCtx(()=>x[26]||(x[26]=[d.createTextVNode("灰色")])),_:1,__:[26]})]),_:1},8,["modelValue"])]),d.createVNode(F,{type:"primary"},{default:d.withCtx(()=>[d.createVNode(P,{size:"mini",onClick:x[2]||(x[2]=G=>p("Article"))},{icon:d.withCtx(()=>[d.createVNode(_)]),default:d.withCtx(()=>[x[28]||(x[28]=d.createTextVNode(" Article "))]),_:1,__:[28]}),d.createVNode(P,{size:"mini",onClick:x[3]||(x[3]=G=>p("Contact"))},{icon:d.withCtx(()=>[d.createVNode(_)]),default:d.withCtx(()=>[x[29]||(x[29]=d.createTextVNode(" Contact "))]),_:1,__:[29]}),d.createVNode(P,{size:"mini",onClick:x[4]||(x[4]=G=>p("Image"))},{icon:d.withCtx(()=>[d.createVNode(_)]),default:d.withCtx(()=>[x[30]||(x[30]=d.createTextVNode(" Image "))]),_:1,__:[30]}),d.createVNode(P,{size:"mini",onClick:x[5]||(x[5]=G=>p("ImageList"))},{icon:d.withCtx(()=>[d.createVNode(_)]),default:d.withCtx(()=>[x[31]||(x[31]=d.createTextVNode(" ImageList "))]),_:1,__:[31]}),d.createVNode(P,{size:"mini",onClick:x[6]||(x[6]=G=>p("Video"))},{icon:d.withCtx(()=>[d.createVNode(_)]),default:d.withCtx(()=>[x[32]||(x[32]=d.createTextVNode(" Video "))]),_:1,__:[32]})]),_:1}),d.createElementVNode("div",B1e,[d.createVNode(d.unref(an),d.mergeProps({modelValue:e.data.data,"onUpdate:modelValue":x[17]||(x[17]=G=>e.data.data=G),"component-data":{tag:"div",type:"transition-group",name:n.value?null:"flip-list"}},r.value,{onStart:x[18]||(x[18]=G=>n.value=!0),onEnd:x[19]||(x[19]=G=>n.value=!1),"item-key":"id"}),{item:d.withCtx(({element:G})=>[d.createElementVNode("div",_1e,[d.createElementVNode("p",N1e,d.toDisplayString(G.type),1),d.createElementVNode("div",P1e,[d.createElementVNode("div",F1e,[d.createVNode(H,{class:"drag-icon"})]),d.createVNode(R,{class:"btn-delete",onClick:A=>h(G.id)},null,8,["onClick"])]),G.type==="Article"?(d.openBlock(),d.createElementBlock(d.Fragment,{key:0},[x[37]||(x[37]=d.createElementVNode("p",{class:"item-title"},"标题",-1)),d.createVNode(z,{modelValue:G.title,"onUpdate:modelValue":A=>G.title=A,placeholder:"请输入标题","allow-clear":""},null,8,["modelValue","onUpdate:modelValue"]),x[38]||(x[38]=d.createElementVNode("p",{class:"item-title"},"内容",-1)),d.createVNode(d.unref(yh),{modelValue:G.content,"onUpdate:modelValue":A=>G.content=A},null,8,["modelValue","onUpdate:modelValue"]),x[39]||(x[39]=d.createElementVNode("p",{class:"item-title"},"按钮",-1)),d.createVNode(d.unref(an),d.mergeProps({modelValue:G.buttonList,"onUpdate:modelValue":A=>G.buttonList=A,"component-data":{tag:"div",type:"transition-group",name:n.value?null:"flip-list"}},o.value,{disabled:!l(G.buttonList),onStart:x[7]||(x[7]=A=>n.value=!0),onEnd:x[8]||(x[8]=A=>n.value=!1),"item-key":"id"}),{item:d.withCtx(({element:A})=>[(d.openBlock(),d.createElementBlock("div",{class:d.normalizeClass(["item-button draggable-item",{"sortable-disabled":!l(G.buttonList)}]),key:A.id},[d.createElementVNode("div",V1e,[l(G.buttonList)?(d.openBlock(),d.createElementBlock("div",L1e,[d.createVNode(H,{class:"drag-icon"})])):d.createCommentVNode("",!0),d.createVNode(R,{class:"btn-delete",onClick:T=>m(G.buttonList,A.id)},null,8,["onClick"])]),d.createVNode(P,{type:"primary"},{default:d.withCtx(()=>[d.createTextVNode(d.toDisplayString(A.text),1)]),_:2},1024),d.createElementVNode("div",I1e,[d.createVNode(z,{class:"action-text",modelValue:A.text,"onUpdate:modelValue":T=>A.text=T,placeholder:"按钮文本","allow-clear":""},null,8,["modelValue","onUpdate:modelValue"]),d.createVNode(z,{modelValue:A.url,"onUpdate:modelValue":T=>A.url=T,placeholder:"按钮链接","allow-clear":""},null,8,["modelValue","onUpdate:modelValue"])]),d.createVNode(U,{"model-value":A.isExternal},{default:d.withCtx(()=>x[33]||(x[33]=[d.createTextVNode("是否外部链接")])),_:2,__:[33]},1032,["model-value"])],2))]),_:2},1040,["modelValue","onUpdate:modelValue","component-data","disabled"]),d.createElementVNode("div",{class:"item-add-btn flex items-center",onClick:A=>v(G.buttonList)},[d.createVNode(_),x[34]||(x[34]=d.createElementVNode("span",{class:"btn-text"},"添加按钮",-1))],8,j1e),x[40]||(x[40]=d.createElementVNode("p",{class:"item-title"},"链接",-1)),d.createVNode(d.unref(an),d.mergeProps({modelValue:G.linkList,"onUpdate:modelValue":A=>G.linkList=A,"component-data":{tag:"div",type:"transition-group",name:n.value?null:"flip-list"}},i.value,{disabled:!l(G.linkList),onStart:x[9]||(x[9]=A=>n.value=!0),onEnd:x[10]||(x[10]=A=>n.value=!1),"item-key":"id"}),{item:d.withCtx(({element:A})=>[(d.openBlock(),d.createElementBlock("div",{class:d.normalizeClass(["item-button draggable-item",{"sortable-disabled":!l(G.linkList)}]),key:A.id},[d.createElementVNode("div",M1e,[l(G.linkList)?(d.openBlock(),d.createElementBlock("div",R1e,[d.createVNode(H,{class:"drag-icon"})])):d.createCommentVNode("",!0),d.createVNode(R,{class:"btn-delete",onClick:T=>b(G.linkList,A.id)},null,8,["onClick"])]),d.createVNode(Q,{href:"link"},{default:d.withCtx(()=>[d.createTextVNode(d.toDisplayString(A.text),1)]),_:2},1024),d.createElementVNode("div",z1e,[d.createVNode(z,{class:"action-text",modelValue:A.text,"onUpdate:modelValue":T=>A.text=T,placeholder:"按钮文本","allow-clear":""},null,8,["modelValue","onUpdate:modelValue"]),d.createVNode(z,{modelValue:A.url,"onUpdate:modelValue":T=>A.url=T,placeholder:"按钮链接","allow-clear":""},null,8,["modelValue","onUpdate:modelValue"])]),d.createVNode(U,{"model-value":A.isExternal},{default:d.withCtx(()=>x[35]||(x[35]=[d.createTextVNode("是否外部链接")])),_:2,__:[35]},1032,["model-value"])],2))]),_:2},1040,["modelValue","onUpdate:modelValue","component-data","disabled"]),d.createElementVNode("div",{class:"item-add-btn flex items-center",onClick:A=>y(G.linkList)},[d.createVNode(_),x[36]||(x[36]=d.createElementVNode("span",{class:"btn-text"},"添加链接",-1))],8,H1e)],64)):d.createCommentVNode("",!0),G.type==="Contact"?(d.openBlock(),d.createElementBlock(d.Fragment,{key:1},[x[44]||(x[44]=d.createElementVNode("p",{class:"item-title"},"标题",-1)),d.createVNode(z,{modelValue:G.title,"onUpdate:modelValue":A=>G.title=A,placeholder:"请输入标题","allow-clear":""},null,8,["modelValue","onUpdate:modelValue"]),x[45]||(x[45]=d.createElementVNode("p",{class:"item-title"},"内容",-1)),d.createVNode(d.unref(yh),{modelValue:G.content,"onUpdate:modelValue":A=>G.content=A},null,8,["modelValue","onUpdate:modelValue"]),x[46]||(x[46]=d.createElementVNode("p",{class:"item-title"},"分类",-1)),d.createVNode(d.unref(an),d.mergeProps({modelValue:G.categories,"onUpdate:modelValue":A=>G.categories=A,"component-data":{tag:"div",type:"transition-group",name:n.value?null:"flip-list"}},a.value,{disabled:!l(G.categories),onStart:x[11]||(x[11]=A=>n.value=!0),onEnd:x[12]||(x[12]=A=>n.value=!1),"item-key":"id"}),{item:d.withCtx(({element:A})=>[(d.openBlock(),d.createElementBlock("div",{class:d.normalizeClass(["item-button draggable-item",{"sortable-disabled":!l(G.categories)}]),key:A.id},[d.createElementVNode("div",U1e,[l(G.categories)?(d.openBlock(),d.createElementBlock("div",G1e,[d.createVNode(H,{class:"drag-icon"})])):d.createCommentVNode("",!0),d.createVNode(R,{class:"btn-delete",onClick:T=>w(G.categories,A.id)},null,8,["onClick"])]),d.createVNode(R,{class:"btn-delete",onClick:T=>w(G.categories,A.id)},null,8,["onClick"]),d.createVNode(Q,{href:"link"},{default:d.withCtx(()=>[d.createTextVNode(d.toDisplayString(A.text),1)]),_:2},1024),d.createElementVNode("div",W1e,[d.createVNode(z,{modelValue:A.text,"onUpdate:modelValue":T=>A.text=T,placeholder:"分类名称","allow-clear":""},null,8,["modelValue","onUpdate:modelValue"])])],2))]),_:2},1040,["modelValue","onUpdate:modelValue","component-data","disabled"]),d.createElementVNode("div",{class:"item-add-btn flex items-center",onClick:A=>g(G.categories)},[d.createVNode(_),x[41]||(x[41]=d.createElementVNode("span",{class:"btn-text"},"添加分类",-1))],8,q1e),x[47]||(x[47]=d.createElementVNode("p",{class:"item-title"},"链接",-1)),d.createVNode(d.unref(an),d.mergeProps({modelValue:G.linkList,"onUpdate:modelValue":A=>G.linkList=A,"component-data":{tag:"div",type:"transition-group",name:n.value?null:"flip-list"}},i.value,{disabled:!l(G.linkList),onStart:x[13]||(x[13]=A=>n.value=!0),onEnd:x[14]||(x[14]=A=>n.value=!1),"item-key":"id"}),{item:d.withCtx(({element:A})=>[(d.openBlock(),d.createElementBlock("div",{class:d.normalizeClass(["item-button draggable-item",{"sortable-disabled":!l(G.linkList)}]),key:A.id},[d.createElementVNode("div",K1e,[l(G.linkList)?(d.openBlock(),d.createElementBlock("div",Y1e,[d.createVNode(H,{class:"drag-icon"})])):d.createCommentVNode("",!0),d.createVNode(R,{class:"btn-delete",onClick:T=>b(G.linkList,A.id)},null,8,["onClick"])]),d.createVNode(Q,{href:"link"},{default:d.withCtx(()=>[d.createTextVNode(d.toDisplayString(A.text),1)]),_:2},1024),d.createElementVNode("div",X1e,[d.createVNode(z,{class:"action-text",modelValue:A.text,"onUpdate:modelValue":T=>A.text=T,placeholder:"按钮文本","allow-clear":""},null,8,["modelValue","onUpdate:modelValue"]),d.createVNode(z,{modelValue:A.url,"onUpdate:modelValue":T=>A.url=T,placeholder:"按钮链接","allow-clear":""},null,8,["modelValue","onUpdate:modelValue"])]),d.createVNode(U,{"model-value":A.isExternal},{default:d.withCtx(()=>x[42]||(x[42]=[d.createTextVNode("是否外部链接")])),_:2,__:[42]},1032,["model-value"])],2))]),_:2},1040,["modelValue","onUpdate:modelValue","component-data","disabled"]),d.createElementVNode("div",{class:"item-add-btn flex items-center",onClick:A=>y(G.linkList)},[d.createVNode(_),x[43]||(x[43]=d.createElementVNode("span",{class:"btn-text"},"添加链接",-1))],8,Z1e)],64)):d.createCommentVNode("",!0),G.type==="Image"?(d.openBlock(),d.createElementBlock(d.Fragment,{key:2},[d.createElementVNode("img",{class:"item-img",src:G.imgSrc},null,8,J1e),d.createElementVNode("div",Q1e,[d.createVNode(z,{modelValue:G.imgSrc,"onUpdate:modelValue":A=>G.imgSrc=A,placeholder:"请输入标题","allow-clear":""},null,8,["modelValue","onUpdate:modelValue"]),d.createVNode(Z,{class:"fit-content","show-file-list":!1,action:"/"})]),d.createVNode(z,{class:"mt-2",modelValue:G.caption,"onUpdate:modelValue":A=>G.caption=A,placeholder:"图片描述","allow-clear":""},null,8,["modelValue","onUpdate:modelValue"]),d.createVNode(z,{class:"mt-2",modelValue:G.alt,"onUpdate:modelValue":A=>G.alt=A,placeholder:"图片alt","allow-clear":""},null,8,["modelValue","onUpdate:modelValue"]),d.createVNode(U,{class:"pt-2","model-value":G.isRound},{default:d.withCtx(()=>x[48]||(x[48]=[d.createTextVNode("圆角")])),_:2,__:[48]},1032,["model-value"])],64)):d.createCommentVNode("",!0),G.type==="ImageList"?(d.openBlock(),d.createElementBlock(d.Fragment,{key:3},[x[50]||(x[50]=d.createElementVNode("p",{class:"item-title"},"图片组",-1)),d.createElementVNode("div",$1e,[d.createVNode(d.unref(an),d.mergeProps({modelValue:G.imageList,"onUpdate:modelValue":A=>G.imageList=A,"component-data":{tag:"div",type:"transition-group",name:n.value?null:"flip-list"}},s.value,{disabled:!l(G.imageList),onStart:x[15]||(x[15]=A=>n.value=!0),onEnd:x[16]||(x[16]=A=>n.value=!1),"item-key":"id"}),{item:d.withCtx(({element:A})=>[(d.openBlock(),d.createElementBlock("div",{class:d.normalizeClass(["img-list-item flex draggable-item",{"sortable-disabled":!l(G.imageList)}]),key:A.id},[d.createElementVNode("div",ewe,[l(G.imageList)?(d.openBlock(),d.createElementBlock("div",twe,[d.createVNode(H,{class:"drag-icon"})])):d.createCommentVNode("",!0),d.createVNode(R,{class:"btn-delete",onClick:T=>C(G.imageList,A.id)},null,8,["onClick"])]),A.src?(d.openBlock(),d.createElementBlock("div",nwe,[d.createElementVNode("img",{class:"item-img small-img",src:A.src},null,8,rwe)])):d.createCommentVNode("",!0),d.createElementVNode("div",owe,[d.createVNode(z,{style:{"margin-bottom":"12px"},modelValue:A.src,"onUpdate:modelValue":T=>A.src=T,placeholder:"请输入图片路径","allow-clear":""},null,8,["modelValue","onUpdate:modelValue"]),d.createVNode(Z,{"show-file-list":!1,action:"/"})])],2))]),_:2},1040,["modelValue","onUpdate:modelValue","component-data","disabled"])]),d.createElementVNode("div",{class:"item-add-btn flex items-center",onClick:A=>E(G.imageList)},[d.createVNode(_),x[49]||(x[49]=d.createElementVNode("span",{class:"btn-text"},"添加图片",-1))],8,iwe)],64)):d.createCommentVNode("",!0),G.type==="Video"?(d.openBlock(),d.createElementBlock(d.Fragment,{key:4},[x[51]||(x[51]=d.createElementVNode("p",{class:"item-title"},"视频",-1)),d.createElementVNode("video",{class:"item-img",src:G.videoSrc,controls:""},null,8,awe),d.createElementVNode("div",swe,[d.createVNode(z,{modelValue:G.videoSrc,"onUpdate:modelValue":A=>G.videoSrc=A,placeholder:"请输入视频链接","allow-clear":""},null,8,["modelValue","onUpdate:modelValue"]),d.createVNode(Z,{class:"fit-content","show-file-list":!1,action:"/"})]),d.createElementVNode("img",{class:"item-img",src:G.imgSrc},null,8,lwe),d.createElementVNode("div",uwe,[d.createVNode(z,{modelValue:G.imgSrc,"onUpdate:modelValue":A=>G.imgSrc=A,placeholder:"视频封面","allow-clear":""},null,8,["modelValue","onUpdate:modelValue"]),d.createVNode(Z,{class:"fit-content","show-file-list":!1,action:"/"})])],64)):d.createCommentVNode("",!0)])]),_:1},16,["modelValue","component-data"])])])]),_:1},8,["visible"])}}}),[["__scopeId","data-v-ab056873"]]),dwe={class:"operate-page operate-component"},fwe={class:"operate-btn d-flex justify-end"},bi=lt(d.defineComponent({__name:"index",props:{show:{type:Boolean,default:!1}},emits:["handleCopy","handleDelete","handleEdit"],setup(e,{emit:t}){const n=t,r=()=>{n("handleCopy")},o=()=>{n("handleDelete")},i=()=>{n("handleEdit")};return(a,s)=>{const l=d.resolveComponent("icon-copy"),u=d.resolveComponent("icon-delete"),c=d.resolveComponent("icon-edit");return d.withDirectives((d.openBlock(),d.createElementBlock("div",dwe,[d.createElementVNode("div",fwe,[d.createElementVNode("div",{class:"btn-item btn-copy d-flex align-center fs-10",onClick:r},[d.createVNode(l),s[0]||(s[0]=d.createElementVNode("span",{class:"btn-text"},"复制",-1))]),d.createElementVNode("div",{class:"btn-item btn-delete d-flex align-center fs-10",onClick:o},[d.createVNode(u),s[1]||(s[1]=d.createElementVNode("span",{class:"btn-text"},"删除",-1))]),d.createElementVNode("div",{class:"btn-item btn-edit d-flex align-center fs-10",onClick:i},[d.createVNode(c),s[2]||(s[2]=d.createElementVNode("span",{class:"btn-text"},"编辑",-1))])])],512)),[[d.vShow,e.show]])}}}),[["__scopeId","data-v-56c55041"]]),pwe={class:"article-list-left"},hwe={class:"article-list-right"},uD=lt(d.defineComponent({name:"ArticleList",__name:"index",props:{modelValue:{type:Object,default:()=>{}},isPreview:{type:Boolean,default:!1}},emits:["update:modelValue","handleDelete","handleCopy"],setup(e,{emit:t}){const n=e,r=t,o=d.computed(()=>n.modelValue&&n.modelValue.data&&n.modelValue.data.length?n.modelValue.data.some(c=>c.type==="Image"||c.type==="Video"||c.type==="ImageList"):!1),i=()=>{var f,p;if(n.modelValue&&n.modelValue.data)return;const c={id:((f=n.modelValue)==null?void 0:f.id)||ve(),type:"ArticleList",readOnly:((p=n.modelValue)==null?void 0:p.readOnly)||!1,width:"",bgColor:"",data:[{id:ve(),type:"Article",title:"耀华国际教育学校浙江桐乡",content:"耀华国际教育学校浙江桐乡校区成立于 2017 年,先进的校园设施确保学 生在安全友好的环境中学习。学校坐落于高桥镇,提供从幼儿阶段至高中 阶段 (K2 至13 年级) 的教育服务,招收2 岁至18 岁本地和外籍学生。",buttonList:[],linkList:[{id:ve(),text:"了解更多",url:"https://www.baidu.com",isExternal:!1}]},{id:ve(),type:"Image",imgSrc:"https://osswebsite.ycyw.com/media-library/ywies-bj/images/home/ywies-tx.jpg",caption:"",alt:"",isRound:!1}]};r("update:modelValue",c)},a=d.ref(!1),s=d.ref(!1),l=()=>{r("handleDelete",n.modelValue.id)},u=()=>{r("handleCopy",n.modelValue)};return i(),(c,f)=>{var v,m,y;const p=d.resolveComponent("a-col"),h=d.resolveComponent("a-row");return d.openBlock(),d.createElementBlock(d.Fragment,null,[d.createElementVNode("div",{class:"article-list-container",style:d.normalizeStyle({backgroundColor:(v=e.modelValue)==null?void 0:v.bgColor}),onMouseenter:f[2]||(f[2]=b=>a.value=!0),onMouseleave:f[3]||(f[3]=b=>a.value=!1)},[d.createVNode(h,{class:d.normalizeClass(["article-list",[(m=e.modelValue)!=null&&m.width?`container-content-${(y=e.modelValue)==null?void 0:y.width}`:"container-content"]])},{default:d.withCtx(()=>{var b;return[d.createVNode(p,{sm:{span:24},md:{span:o.value?12:24}},{default:d.withCtx(()=>{var g;return[d.createElementVNode("div",pwe,[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList((g=e.modelValue)==null?void 0:g.data,w=>(d.openBlock(),d.createElementBlock(d.Fragment,{key:w.id},[w.type==="Article"?(d.openBlock(),d.createBlock(Qz,{key:0,article:w},null,8,["article"])):d.createCommentVNode("",!0),w.type==="Contact"?(d.openBlock(),d.createBlock(oH,{key:1,contact:w},null,8,["contact"])):d.createCommentVNode("",!0)],64))),128))])]}),_:1},8,["md"]),o.value?(d.openBlock(),d.createBlock(p,{key:0,sm:{span:24},md:{span:12}},{default:d.withCtx(()=>{var g;return[d.createElementVNode("div",hwe,[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList((g=e.modelValue)==null?void 0:g.data,w=>(d.openBlock(),d.createBlock(gH,{key:w.id,type:w.type,data:w,preview:e.modelValue.isPreview},null,8,["type","data","preview"]))),128))])]}),_:1})):d.createCommentVNode("",!0),(b=e.modelValue)!=null&&b.readOnly?d.createCommentVNode("",!0):(d.openBlock(),d.createBlock(bi,{key:1,show:a.value,"onUpdate:show":f[0]||(f[0]=g=>a.value=g),onHandleEdit:f[1]||(f[1]=g=>s.value=!0),onHandleDelete:l,onHandleCopy:u},null,8,["show"]))]}),_:1},8,["class"])],36),d.createVNode(cwe,{show:s.value,"onUpdate:show":f[4]||(f[4]=b=>s.value=b),data:e.modelValue},null,8,["show","data"])],64)}}}),[["__scopeId","data-v-821771c9"]]),gwe={class:"setting-content"},mwe=["src"],vwe={class:"item-uplaod flex items-center"},ywe=lt(d.defineComponent({__name:"setting",props:{show:{type:Boolean,default:!1},data:{type:Object,default:()=>{}}},emits:["update:show"],setup(e,{emit:t}){const n=t,r=()=>{n("update:show",!1)};return(o,i)=>{const a=d.resolveComponent("a-input"),s=d.resolveComponent("a-upload"),l=d.resolveComponent("a-drawer");return d.openBlock(),d.createBlock(l,{width:500,visible:e.show,footer:!1,onCancel:r,unmountOnClose:""},{title:d.withCtx(()=>[d.createTextVNode(d.toDisplayString(e.data.type)+"组件编辑 ",1)]),default:d.withCtx(()=>{var u,c;return[d.createElementVNode("div",gwe,[i[2]||(i[2]=d.createElementVNode("p",{class:"item-title"},"标题",-1)),d.createVNode(a,{modelValue:e.data.data.title,"onUpdate:modelValue":i[0]||(i[0]=f=>e.data.data.title=f),placeholder:"请输入标题","allow-clear":""},null,8,["modelValue"]),i[3]||(i[3]=d.createElementVNode("p",{class:"item-title"},"图片",-1)),d.createElementVNode("img",{class:"item-img",src:(c=(u=e.data)==null?void 0:u.data)==null?void 0:c.imgSrc},null,8,mwe),d.createElementVNode("div",vwe,[d.createVNode(a,{modelValue:e.data.data.imgSrc,"onUpdate:modelValue":i[1]||(i[1]=f=>e.data.data.imgSrc=f),placeholder:"请输入图片链接","allow-clear":""},null,8,["modelValue"]),d.createVNode(s,{class:"fit-content","show-file-list":!1,action:"/"})])])]}),_:1},8,["visible"])}}}),[["__scopeId","data-v-c2966fed"]]),bwe={class:"red"},wwe={class:"banner-page__title"},Ewe={class:"position-absolute triangle-position"},xwe={class:"position-relative h-100 banner-strips"},cD=lt(d.defineComponent({name:"BannerPage",__name:"index",props:{modelValue:{type:Object,default:()=>{}},isPreview:{type:Boolean,default:!1}},emits:["update:modelValue","handleDelete","handleCopy"],setup(e,{emit:t}){const n=e,r=t,o=()=>{var c,f;if(n.modelValue&&n.modelValue.data)return;const u={id:((c=n.modelValue)==null?void 0:c.id)||ve(),type:"BannerPage",readOnly:((f=n.modelValue)==null?void 0:f.readOnly)||!1,data:{title:"冷风机奥附件哦啊金佛阿吉佛大金佛电极法对哦就对哦就发哦就发哦激发激发哦飞机奥飞机",imgSrc:"https://osswebsite.ycyw.com/media-library/ywies-bj/images/home/ywies-tx.jpg"}};r("update:modelValue",u)},i=d.ref(!1),a=d.ref(!1),s=()=>{r("handleDelete",n.modelValue.id)},l=()=>{r("handleCopy",n.modelValue)};return o(),(u,c)=>{var f,p,h,v,m;return d.openBlock(),d.createElementBlock(d.Fragment,null,[d.createElementVNode("div",{class:"banner-page",onMouseenter:c[2]||(c[2]=y=>i.value=!0),onMouseleave:c[3]||(c[3]=y=>i.value=!1)},[d.createElementVNode("div",bwe,[d.createElementVNode("p",wwe,d.toDisplayString((p=(f=e.modelValue)==null?void 0:f.data)==null?void 0:p.title),1)]),c[6]||(c[6]=d.createElementVNode("div",{class:"orange"},null,-1)),d.createElementVNode("div",Ewe,[d.createElementVNode("div",xwe,[c[5]||(c[5]=d.createElementVNode("img",{src:"https://ywies-tx.cedim.cn/images/material/banner-strips.png",alt:""},null,-1)),d.createElementVNode("div",{class:"triangle",style:d.normalizeStyle({backgroundImage:"url("+((v=(h=e.modelValue)==null?void 0:h.data)==null?void 0:v.imgSrc)+")"}),"data-v-24231ec2":""},null,4)])]),(m=e.modelValue)!=null&&m.readOnly?d.createCommentVNode("",!0):(d.openBlock(),d.createBlock(bi,{key:0,show:i.value,"onUpdate:show":c[0]||(c[0]=y=>i.value=y),onHandleEdit:c[1]||(c[1]=y=>a.value=!0),onHandleDelete:s,onHandleCopy:l},null,8,["show"]))],32),d.createVNode(ywe,{show:a.value,"onUpdate:show":c[4]||(c[4]=y=>a.value=y),data:e.modelValue},null,8,["show","data"])],64)}}}),[["__scopeId","data-v-9d303384"]]),Cwe={class:"setting-content"},Swe=lt(d.defineComponent({__name:"setting",props:{show:{type:Boolean,default:!1},data:{type:Object,default:()=>{}}},emits:["update:show"],setup(e,{emit:t}){const n=e,r=t,o=()=>{r("update:show",!1)},i=d.ref(1),a=s=>{s===1?(n.data.data.desktopHeight=49,n.data.data.mobileHeight=24):s===2?(n.data.data.desktopHeight=80,n.data.data.mobileHeight=40):s===3?(n.data.data.desktopHeight=32,n.data.data.mobileHeight=40):s===4?(n.data.data.desktopHeight=16,n.data.data.mobileHeight=16):s===5&&(n.data.data.desktopHeight=160,n.data.data.mobileHeight=80)};return(s,l)=>{const u=d.resolveComponent("a-option"),c=d.resolveComponent("a-select"),f=d.resolveComponent("a-input"),p=d.resolveComponent("a-drawer");return d.openBlock(),d.createBlock(p,{width:500,visible:e.show,footer:!1,onCancel:o,unmountOnClose:""},{title:d.withCtx(()=>[d.createTextVNode(d.toDisplayString(e.data.type)+"组件编辑 ",1)]),default:d.withCtx(()=>[d.createElementVNode("div",Cwe,[l[12]||(l[12]=d.createElementVNode("p",{class:"item-title"},"背景颜色",-1)),d.createVNode(c,{modelValue:e.data.bgColor,"onUpdate:modelValue":l[0]||(l[0]=h=>e.data.bgColor=h),placeholder:"请选择","allow-clear":""},{default:d.withCtx(()=>[d.createVNode(u,{value:"#ffffff"},{default:d.withCtx(()=>l[5]||(l[5]=[d.createTextVNode("白色")])),_:1,__:[5]}),d.createVNode(u,{value:"#F7F7FA"},{default:d.withCtx(()=>l[6]||(l[6]=[d.createTextVNode("灰色")])),_:1,__:[6]})]),_:1},8,["modelValue"]),l[13]||(l[13]=d.createElementVNode("p",{class:"item-title"},"间距设置",-1)),d.createVNode(c,{modelValue:i.value,"onUpdate:modelValue":l[1]||(l[1]=h=>i.value=h),placeholder:"请选择",onChange:a,"allow-clear":""},{default:d.withCtx(()=>[d.createVNode(u,{value:1},{default:d.withCtx(()=>l[7]||(l[7]=[d.createTextVNode("制表符起始间距(49px,24px)")])),_:1,__:[7]}),d.createVNode(u,{value:2},{default:d.withCtx(()=>l[8]||(l[8]=[d.createTextVNode("部分间距(80px,40px)")])),_:1,__:[8]}),d.createVNode(u,{value:3},{default:d.withCtx(()=>l[9]||(l[9]=[d.createTextVNode("组件间距(32px,40px)")])),_:1,__:[9]}),d.createVNode(u,{value:4},{default:d.withCtx(()=>l[10]||(l[10]=[d.createTextVNode("链接间距(16px,16px)")])),_:1,__:[10]}),d.createVNode(u,{value:5},{default:d.withCtx(()=>l[11]||(l[11]=[d.createTextVNode("页末间距(160px,80px)")])),_:1,__:[11]})]),_:1},8,["modelValue"]),l[14]||(l[14]=d.createElementVNode("p",{class:"item-title"},"PC高度(单位:px)",-1)),d.createVNode(f,{modelValue:e.data.data.desktopHeight,"onUpdate:modelValue":l[2]||(l[2]=h=>e.data.data.desktopHeight=h),disabled:""},null,8,["modelValue"]),l[15]||(l[15]=d.createElementVNode("p",{class:"item-title"},"移动端高度(单位:px)",-1)),d.createVNode(f,{modelValue:e.data.data.mobileHeight,"onUpdate:modelValue":l[3]||(l[3]=h=>e.data.data.mobileHeight=h),disabled:""},null,8,["modelValue"]),l[16]||(l[16]=d.createElementVNode("p",{class:"item-title"},"唯一标识",-1)),d.createVNode(f,{modelValue:e.data.data.id,"onUpdate:modelValue":l[4]||(l[4]=h=>e.data.data.id=h),placeholder:"请输入唯一标识","allow-clear":""},null,8,["modelValue"])])]),_:1},8,["visible"])}}}),[["__scopeId","data-v-72d8e435"]]),Dwe=["id"],dD=lt(d.defineComponent({name:"CustomSpace",__name:"index",props:{modelValue:{type:Object,default:()=>{}},isPreview:{type:Boolean,default:!1}},emits:["update:modelValue","handleDelete","handleCopy"],setup(e,{emit:t}){const n=e,r=t,o=()=>{var c,f;if(n.modelValue&&n.modelValue.data)return;const u={id:((c=n.modelValue)==null?void 0:c.id)||ve(),type:"CustomSpace",readOnly:((f=n.modelValue)==null?void 0:f.readOnly)||!1,data:{id:"",desktopHeight:"49",mobileHeight:"24",bgColor:""}};r("update:modelValue",u)},i=d.ref(!1),a=d.ref(!1),s=()=>{r("handleDelete",n.modelValue.id)},l=()=>{r("handleCopy",n.modelValue)};return o(),(u,c)=>{var f,p,h,v,m,y,b,g,w;return d.openBlock(),d.createElementBlock(d.Fragment,null,[d.createElementVNode("div",{id:(p=(f=e.modelValue)==null?void 0:f.data)==null?void 0:p.id,class:"custom-space",style:d.normalizeStyle({"--desktop-height":((v=(h=e.modelValue)==null?void 0:h.data)==null?void 0:v.desktopHeight)+"px","--mobile-height":((y=(m=e.modelValue)==null?void 0:m.data)==null?void 0:y.mobileHeight)+"px","--bg-color":(g=(b=e.modelValue)==null?void 0:b.data)==null?void 0:g.bgColor}),onMouseenter:c[2]||(c[2]=E=>i.value=!0),onMouseleave:c[3]||(c[3]=E=>i.value=!1)},[(w=e.modelValue)!=null&&w.readOnly?d.createCommentVNode("",!0):(d.openBlock(),d.createBlock(bi,{key:0,show:i.value,"onUpdate:show":c[0]||(c[0]=E=>i.value=E),onHandleEdit:c[1]||(c[1]=E=>a.value=!0),onHandleDelete:s,onHandleCopy:l},null,8,["show"]))],44,Dwe),d.createVNode(Swe,{show:a.value,"onUpdate:show":c[4]||(c[4]=E=>a.value=E),data:e.modelValue},null,8,["show","data"])],64)}}}),[["__scopeId","data-v-05d34a76"]]),kwe={class:"setting-content"},Awe={class:"setting-body"},Owe={class:"item-name"},Twe={class:"btn-group"},Bwe={key:0,class:"drag-handle"},_we={class:"item-name"},Nwe=["src"],Pwe={class:"mt-2 flex items-center"},Fwe=["src"],Vwe={class:"mt-2 flex items-center"},Lwe=["src"],Iwe={class:"mt-2 flex items-center"},jwe={class:"btn-group"},Mwe={key:0,class:"drag-handle"},Rwe={class:"item-action flex items-center"},zwe=["onClick"],Hwe=lt(d.defineComponent({__name:"setting",props:{show:{type:Boolean,default:!1},data:{type:Object,default:()=>{}}},emits:["update:show","updateSwiper"],setup(e,{emit:t}){const n=d.ref(!1),r=d.computed(()=>({animation:200,group:"banners",disabled:!1,ghostClass:"ghost"})),o=d.computed(()=>({animation:200,group:"links",disabled:!1,ghostClass:"ghost"})),i=p=>p&&p.length>1,a=t,s=()=>{a("update:show",!1)},l=(p,h)=>{p.push({id:ve(),type:h,imgSrc:"",title:"",alt:"",link:"",videoSrc:h==="Video"?"":void 0}),a("updateSwiper")},u=(p,h)=>{p.splice(p.findIndex(v=>v.id===h),1),a("updateSwiper")},c=p=>{p.push({id:ve(),text:"查看更多",url:void 0,isExternal:!1})},f=(p,h)=>{p.splice(p.findIndex(v=>v.id===h),1)};return(p,h)=>{const v=d.resolveComponent("icon-drag-arrow"),m=d.resolveComponent("icon-delete"),y=d.resolveComponent("a-input"),b=d.resolveComponent("a-upload"),g=d.resolveComponent("a-checkbox"),w=d.resolveComponent("icon-plus"),E=d.resolveComponent("a-button"),C=d.resolveComponent("a-button-group"),S=d.resolveComponent("a-link"),x=d.resolveComponent("a-drawer");return d.openBlock(),d.createBlock(x,{width:500,visible:e.show,footer:!1,onCancel:s,unmountOnClose:""},{title:d.withCtx(()=>[d.createTextVNode(d.toDisplayString(e.data.type)+"组件编辑 ",1)]),default:d.withCtx(()=>[d.createElementVNode("div",kwe,[d.createElementVNode("div",Awe,[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(e.data.data,k=>(d.openBlock(),d.createElementBlock("div",{class:"setting-item",key:k.id},[d.createElementVNode("p",Owe,d.toDisplayString(k.type),1),k.type==="Banners"?(d.openBlock(),d.createElementBlock(d.Fragment,{key:0},[d.createVNode(d.unref(an),d.mergeProps({modelValue:k.data,"onUpdate:modelValue":O=>k.data=O,"component-data":{tag:"div",type:"transition-group",name:n.value?null:"flip-list"}},{ref_for:!0},r.value,{disabled:!i(k.data),onStart:h[0]||(h[0]=O=>n.value=!0),onEnd:h[1]||(h[1]=O=>n.value=!1),"item-key":"id"}),{item:d.withCtx(({element:O})=>[(d.openBlock(),d.createElementBlock("div",{class:d.normalizeClass(["item-button draggable-item",{"sortable-disabled":!i(k.data)}]),key:k.id},[d.createElementVNode("div",Twe,[i(k.data)?(d.openBlock(),d.createElementBlock("div",Bwe,[d.createVNode(v,{class:"drag-icon"})])):d.createCommentVNode("",!0),d.createVNode(m,{class:"btn-delete",onClick:_=>u(k.data,k.id)},null,8,["onClick"])]),d.createElementVNode("p",_we,d.toDisplayString(O.type),1),d.createVNode(y,{class:"mt-2",modelValue:O.title,"onUpdate:modelValue":_=>O.title=_,placeholder:"标题","allow-clear":""},null,8,["modelValue","onUpdate:modelValue"]),d.createVNode(y,{class:"mt-2",modelValue:O.alt,"onUpdate:modelValue":_=>O.alt=_,placeholder:"图片alt","allow-clear":""},null,8,["modelValue","onUpdate:modelValue"]),d.createVNode(y,{class:"mt-2",modelValue:O.link,"onUpdate:modelValue":_=>O.link=_,placeholder:"链接","allow-clear":""},null,8,["modelValue","onUpdate:modelValue"]),O.type==="Image"?(d.openBlock(),d.createElementBlock(d.Fragment,{key:0},[d.createElementVNode("img",{class:"item-img",src:O.imgSrc},null,8,Nwe),d.createElementVNode("div",Pwe,[d.createVNode(y,{modelValue:O.imgSrc,"onUpdate:modelValue":_=>O.imgSrc=_,placeholder:"请输入图片链接","allow-clear":""},null,8,["modelValue","onUpdate:modelValue"]),d.createVNode(b,{class:"fit-content","show-file-list":!1,action:"/"})])],64)):(d.openBlock(),d.createElementBlock(d.Fragment,{key:1},[d.createElementVNode("video",{class:"item-img",src:O.videoSrc,controls:""},null,8,Fwe),d.createElementVNode("div",Vwe,[d.createVNode(y,{modelValue:O.videoSrc,"onUpdate:modelValue":_=>O.videoSrc=_,placeholder:"请输入视频链接","allow-clear":""},null,8,["modelValue","onUpdate:modelValue"]),d.createVNode(b,{class:"fit-content","show-file-list":!1,action:"/"})]),d.createElementVNode("img",{class:"item-img",src:O.imgSrc},null,8,Lwe),d.createElementVNode("div",Iwe,[d.createVNode(y,{modelValue:O.imgSrc,"onUpdate:modelValue":_=>O.imgSrc=_,placeholder:"视频封面","allow-clear":""},null,8,["modelValue","onUpdate:modelValue"]),d.createVNode(b,{class:"fit-content","show-file-list":!1,action:"/"})])],64)),d.createVNode(g,{class:"mt-2","model-value":O.isExternal},{default:d.withCtx(()=>h[4]||(h[4]=[d.createTextVNode("是否外部链接")])),_:2,__:[4]},1032,["model-value"])],2))]),_:2},1040,["modelValue","onUpdate:modelValue","component-data","disabled"]),d.createVNode(C,{class:"mt-2",type:"primary"},{default:d.withCtx(()=>[d.createVNode(E,{size:"mini",type:"outline",onClick:O=>l(k.data,"Image")},{icon:d.withCtx(()=>[d.createVNode(w)]),default:d.withCtx(()=>[h[5]||(h[5]=d.createTextVNode(" 图片 "))]),_:2,__:[5]},1032,["onClick"]),d.createVNode(E,{size:"mini",type:"outline",onClick:O=>l(k.data,"Video")},{icon:d.withCtx(()=>[d.createVNode(w)]),default:d.withCtx(()=>[h[6]||(h[6]=d.createTextVNode(" 视频 "))]),_:2,__:[6]},1032,["onClick"])]),_:2},1024)],64)):d.createCommentVNode("",!0),k.type==="Links"?(d.openBlock(),d.createElementBlock(d.Fragment,{key:1},[d.createVNode(d.unref(an),d.mergeProps({modelValue:k.data,"onUpdate:modelValue":O=>k.data=O,"component-data":{tag:"div",type:"transition-group",name:n.value?null:"flip-list"}},{ref_for:!0},o.value,{disabled:!i(k.data),onStart:h[2]||(h[2]=O=>n.value=!0),onEnd:h[3]||(h[3]=O=>n.value=!1),"item-key":"id"}),{item:d.withCtx(({element:O})=>[(d.openBlock(),d.createElementBlock("div",{class:d.normalizeClass(["item-button draggable-item",{"sortable-disabled":!i(k.data)}]),key:O.id},[d.createElementVNode("div",jwe,[i(k.data)?(d.openBlock(),d.createElementBlock("div",Mwe,[d.createVNode(v,{class:"drag-icon"})])):d.createCommentVNode("",!0),d.createVNode(m,{class:"btn-delete",onClick:_=>f(k.data,O.id)},null,8,["onClick"])]),d.createVNode(S,{href:"link"},{default:d.withCtx(()=>[d.createTextVNode(d.toDisplayString(O.text),1)]),_:2},1024),d.createElementVNode("div",Rwe,[d.createVNode(y,{class:"action-text",modelValue:O.text,"onUpdate:modelValue":_=>O.text=_,placeholder:"按钮文本","allow-clear":""},null,8,["modelValue","onUpdate:modelValue"]),d.createVNode(y,{modelValue:O.url,"onUpdate:modelValue":_=>O.url=_,placeholder:"按钮链接","allow-clear":""},null,8,["modelValue","onUpdate:modelValue"])]),d.createVNode(g,{"model-value":O.isExternal},{default:d.withCtx(()=>h[7]||(h[7]=[d.createTextVNode("是否外部链接")])),_:2,__:[7]},1032,["model-value"])],2))]),_:2},1040,["modelValue","onUpdate:modelValue","component-data","disabled"]),d.createElementVNode("div",{class:"item-add-btn flex items-center",onClick:O=>c(k.data)},[d.createVNode(w),h[8]||(h[8]=d.createElementVNode("span",{class:"btn-text"},"添加链接",-1))],8,zwe)],64)):d.createCommentVNode("",!0)]))),128))])])]),_:1},8,["visible"])}}}),[["__scopeId","data-v-adf57909"]]),Uwe={class:"banner-quicklinks"},Gwe={class:"quick-links__list"},Wwe=lt(d.defineComponent({__name:"index",props:{data:{type:Array,default:()=>[]}},setup(e){const t=e,n=d.ref(null),r=d.ref(!1),o=d.ref(!1),i=()=>{const u=n.value;u&&(r.value=u.scrollLeft>0,o.value=u.scrollLeft+u.clientWidth<u.scrollWidth)},a=()=>{const u=n.value;u&&u.scrollBy({left:-u.clientWidth/1.5,behavior:"smooth"})},s=()=>{const u=n.value;u&&u.scrollBy({left:u.clientWidth/1.5,behavior:"smooth"})},l=()=>{i()};return d.watch(()=>t.data,async()=>{await d.nextTick(),i()}),d.onMounted(()=>{window.addEventListener("resize",i),d.nextTick(i)}),d.onUnmounted(()=>{window.removeEventListener("resize",i)}),(u,c)=>(d.openBlock(),d.createElementBlock("div",Uwe,[d.withDirectives(d.createElementVNode("div",{class:"quick-links__nav__prev",onClick:a},null,512),[[d.vShow,r.value]]),d.createElementVNode("div",{class:"quick-links__wrapper",ref_key:"quickLinksWrapperRef",ref:n,onScroll:l},[d.createElementVNode("div",Gwe,[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(e.data,f=>(d.openBlock(),d.createBlock(Sh,{key:f.id,data:f,hasHoverBg:!1},null,8,["data"]))),128))])],544),d.withDirectives(d.createElementVNode("div",{class:"quick-links__nav__next",onClick:s},null,512),[[d.vShow,o.value]])]))}}),[["__scopeId","data-v-7ef2a320"]]),qwe={class:"swiper-wrapper"},Kwe={class:"swiper-slide__media"},Ywe=["src","alt"],Xwe={key:1,class:"video-player"},Zwe=["poster"],Jwe=["src"],Qwe=["href"],$we={class:"swiper-slide__body"},e2e={class:"swiper-slide__body__title text-center"},t2e={class:"video-box"},n2e=["src"],r2e=lt(d.defineComponent({__name:"index",props:{data:{},imageInterval:{},videoAutoNext:{type:Boolean}},setup(e,{expose:t}){const n=e,r=d.ref();let o=null,i=0,a=null,s=null,l=null,u=null,c=null;const f=async()=>{try{const P=await Promise.resolve().then(()=>yCe),{Navigation:F,Pagination:H,Autoplay:R}=await Promise.resolve().then(()=>xCe);s=P.Swiper,l=F,u=H,c=R,await Promise.resolve().then(()=>CCe),await Promise.resolve().then(()=>SCe),await Promise.resolve().then(()=>DCe),r.value&&(o=new s(r.value,{modules:[l,u,c],autoHeight:!1,speed:1e3,effect:"fade",fadeEffect:{crossFade:!0},navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},pagination:{el:".swiper-pagination",clickable:!0},on:{slideChange:z=>{i=z.activeIndex,m(i)},touchStart:()=>{h()},touchEnd:()=>{setTimeout(()=>{const z=n.data[p.value];z&&z.type==="Image"&&v()},100)}}}))}catch(P){console.error("Failed to load Swiper:",P)}},p=d.ref(0),h=()=>{a&&(clearTimeout(a),a=null)},v=()=>{h();const P=n.data[p.value];if(P&&P.type==="Image"){const F=n.imageInterval||5e3;a=setTimeout(()=>{o&&o.slideNext()},F)}},m=P=>{h(),C(),p.value=P;const F=n.data[p.value];F.type==="Video"?E():F.type==="Image"&&v()},y=()=>{w.value=!1,n.videoAutoNext!==!1&&o&&setTimeout(()=>{o.slideNext()},200)},b=d.ref([]),g=(P,F)=>{const H=P&&"$el"in P?P.$el:P;H instanceof HTMLVideoElement&&(b.value[F]=H)},w=d.ref(!1),E=()=>{b.value[p.value]&&(b.value[p.value].play(),w.value=!0,h())},C=()=>{b.value[p.value]&&(b.value[p.value].pause(),w.value=!1)},S=d.ref(!1),x=d.ref(),k=d.ref(),O=()=>{C(),k.value=n.data[p.value].videoSrc,d.nextTick(()=>{var P;S.value=!0,(P=x.value)==null||P.play()})},_=()=>{var P;(P=x.value)==null||P.pause(),S.value=!1};return d.onMounted(async()=>{await f(),m(0)}),d.onUnmounted(()=>{h(),o&&o.destroy(!0,!0)}),t({initSwiper:f}),(P,F)=>{const H=d.resolveComponent("a-modal");return d.openBlock(),d.createElementBlock(d.Fragment,null,[d.createElementVNode("div",{class:"swiper-container",ref_key:"swiperContainer",ref:r},[d.createElementVNode("div",qwe,[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(P.data,(R,z)=>(d.openBlock(),d.createElementBlock("div",{class:"swiper-slide",key:R.id},[d.createElementVNode("div",Kwe,[R.type==="Image"?(d.openBlock(),d.createElementBlock("img",{key:0,class:"swiper-slide__media-img",src:R.imgSrc,alt:R.alt},null,8,Ywe)):R.type==="Video"?(d.openBlock(),d.createElementBlock("div",Xwe,[d.createElementVNode("video",{ref_for:!0,ref:U=>g(U,z),playsinline:"",poster:R.imgSrc,onEnded:y},[d.createElementVNode("source",{src:R.videoSrc,type:"video/mp4"},null,8,Jwe)],40,Zwe)])):d.createCommentVNode("",!0)]),d.createElementVNode("a",{href:R.link,target:"_blank",class:"swiper-slide__link"},null,8,Qwe),d.createElementVNode("div",$we,[d.createElementVNode("div",e2e,d.toDisplayString(R.title),1),R.type==="Video"?(d.openBlock(),d.createElementBlock(d.Fragment,{key:0},[w.value?d.createCommentVNode("",!0):(d.openBlock(),d.createElementBlock("button",{key:0,type:"button",class:"swiper-slide__body__play",onClick:d.withModifiers(E,["stop"])})),d.createElementVNode("button",{type:"button",class:"swiper-slide__body__link",onClick:d.withModifiers(O,["stop"])},"观看完整视频")],64)):d.createCommentVNode("",!0)])]))),128))]),F[1]||(F[1]=d.createElementVNode("div",{class:"swiper-pagination"},null,-1)),F[2]||(F[2]=d.createElementVNode("div",{class:"swiper-button-next"},null,-1)),F[3]||(F[3]=d.createElementVNode("div",{class:"swiper-button-prev"},null,-1))],512),d.createVNode(H,{visible:S.value,"onUpdate:visible":F[0]||(F[0]=R=>S.value=R),footer:!1,width:"1200px",onCancel:_},{title:d.withCtx(()=>F[4]||(F[4]=[d.createTextVNode(" 观看完整视频 ")])),default:d.withCtx(()=>[d.createElementVNode("div",t2e,[d.createElementVNode("video",{ref_key:"videoElement",ref:x,controls:""},[d.createElementVNode("source",{src:k.value,type:"video/mp4"},null,8,n2e)],512)])]),_:1},8,["visible"])],64)}}}),[["__scopeId","data-v-2e7fac84"]]),fD=lt(d.defineComponent({name:"HeroSlide",__name:"index",props:{modelValue:{type:Object,default:()=>{}},isPreview:{type:Boolean,default:!1}},emits:["update:modelValue","handleDelete","handleCopy"],setup(e,{emit:t}){const n=e,r=t,o=()=>{var p,h;if(n.modelValue&&n.modelValue.data)return;const f={id:((p=n.modelValue)==null?void 0:p.id)||ve(),type:"HeroSlide",readOnly:((h=n.modelValue)==null?void 0:h.readOnly)||!1,data:[{id:ve(),type:"Banners",data:[{id:ve(),type:"Image",title:"耀华国际教育学校浙江桐乡",imgSrc:"https://osswebsite-test.cedim.cn/media-library/ywies-tx/images/high-school-test/home/different_1_optim.png",alt:"",link:"https://www.baidu.com"},{id:ve(),type:"Video",title:"耀华国际教育学校浙江桐乡",imgSrc:"https://osswebsite-test.cedim.cn/media-library/ywies-tx/images/high-school-test/home/different_1_optim.png",alt:"",link:"",videoSrc:"https://mvideo.ycyw.com/2e1a9441vodgzp1253458132/a31402d51397757891052265568/SW8B19vOtzMA.mp4"}]},{id:ve(),type:"Links",data:[{id:ve(),text:"了解更多",url:"https://www.baidu.com",isExternal:!1}]}]};r("update:modelValue",f)},i=d.ref(!1),a=d.ref(!1),s=()=>{r("handleDelete",n.modelValue.id)},l=()=>{r("handleCopy",n.modelValue)},u=d.ref(),c=()=>{var f;(f=u.value)==null||f.initSwiper()};return o(),(f,p)=>{var h,v;return d.openBlock(),d.createElementBlock(d.Fragment,null,[d.createElementVNode("div",{class:"hero-slide has-quick-links is-video-and-image",onMouseenter:p[2]||(p[2]=m=>i.value=!0),onMouseleave:p[3]||(p[3]=m=>i.value=!1)},[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList((h=e.modelValue)==null?void 0:h.data,m=>(d.openBlock(),d.createElementBlock(d.Fragment,{key:m.id},[m.type==="Banners"?(d.openBlock(),d.createBlock(r2e,{key:0,ref_for:!0,ref_key:"swiperRef",ref:u,data:m.data},null,8,["data"])):d.createCommentVNode("",!0),m.type==="Links"&&m.data.length?(d.openBlock(),d.createBlock(Wwe,{key:1,data:m.data},null,8,["data"])):d.createCommentVNode("",!0)],64))),128)),(v=e.modelValue)!=null&&v.readOnly?d.createCommentVNode("",!0):(d.openBlock(),d.createBlock(bi,{key:0,show:i.value,"onUpdate:show":p[0]||(p[0]=m=>i.value=m),onHandleEdit:p[1]||(p[1]=m=>a.value=!0),onHandleDelete:s,onHandleCopy:l},null,8,["show"]))],32),d.createVNode(Hwe,{show:a.value,"onUpdate:show":p[4]||(p[4]=m=>a.value=m),data:e.modelValue,onUpdateSwiper:c},null,8,["show","data"])],64)}}}),[["__scopeId","data-v-fbb9a937"]]),o2e={class:"setting-content"},i2e=["src"],a2e={class:"item-uplaod flex items-center"},s2e=lt(d.defineComponent({__name:"setting",props:{show:{type:Boolean,default:!1},data:{type:Object,default:()=>{}}},emits:["update:show"],setup(e,{emit:t}){const n=t,r=()=>{n("update:show",!1)};return(o,i)=>{const a=d.resolveComponent("a-input"),s=d.resolveComponent("a-upload"),l=d.resolveComponent("a-drawer");return d.openBlock(),d.createBlock(l,{width:500,visible:e.show,footer:!1,onCancel:r,unmountOnClose:""},{title:d.withCtx(()=>[d.createTextVNode(d.toDisplayString(e.data.type)+"组件编辑 ",1)]),default:d.withCtx(()=>{var u,c;return[d.createElementVNode("div",o2e,[i[2]||(i[2]=d.createElementVNode("p",{class:"item-title"},"标题",-1)),d.createVNode(a,{modelValue:e.data.data.title,"onUpdate:modelValue":i[0]||(i[0]=f=>e.data.data.title=f),placeholder:"请输入标题","allow-clear":""},null,8,["modelValue"]),i[3]||(i[3]=d.createElementVNode("p",{class:"item-title"},"图片",-1)),d.createElementVNode("img",{class:"item-img",src:(c=(u=e.data)==null?void 0:u.data)==null?void 0:c.imgSrc},null,8,i2e),d.createElementVNode("div",a2e,[d.createVNode(a,{modelValue:e.data.data.imgSrc,"onUpdate:modelValue":i[1]||(i[1]=f=>e.data.data.imgSrc=f),placeholder:"请输入图片链接","allow-clear":""},null,8,["modelValue"]),d.createVNode(s,{class:"fit-content","show-file-list":!1,action:"/"})])])]}),_:1},8,["visible"])}}}),[["__scopeId","data-v-1bc09ad8"]]),l2e={class:"banner-image__title is-zh"},pD=lt(d.defineComponent({name:"BannerImage",__name:"index",props:{modelValue:{type:Object,default:()=>{}},isPreview:{type:Boolean,default:!1}},emits:["update:modelValue","handleDelete","handleCopy"],setup(e,{emit:t}){const n=e,r=t,o=()=>{var c,f;if(n.modelValue&&n.modelValue.data)return;const u={id:((c=n.modelValue)==null?void 0:c.id)||ve(),type:"BannerImage",readOnly:((f=n.modelValue)==null?void 0:f.readOnly)||!1,data:{title:"About YWIES",imgSrc:"https://osswebsite-test.cedim.cn/ywies-tx/static-images/about-ywies/01_About_YWIES_1_Header.jpg"}};r("update:modelValue",u)},i=d.ref(!1),a=d.ref(!1),s=()=>{r("handleDelete",n.modelValue.id)},l=()=>{r("handleCopy",n.modelValue)};return o(),(u,c)=>{var f,p,h,v,m;return d.openBlock(),d.createElementBlock(d.Fragment,null,[d.createElementVNode("div",{class:"banner-image",onMouseenter:c[2]||(c[2]=y=>i.value=!0),onMouseleave:c[3]||(c[3]=y=>i.value=!1)},[d.createElementVNode("div",{class:"banner-image__image",style:d.normalizeStyle({backgroundImage:"url("+((p=(f=e.modelValue)==null?void 0:f.data)==null?void 0:p.imgSrc)+")","background-position":"center"})},[d.createElementVNode("div",l2e,d.toDisplayString((v=(h=e.modelValue)==null?void 0:h.data)==null?void 0:v.title),1)],4),(m=e.modelValue)!=null&&m.readOnly?d.createCommentVNode("",!0):(d.openBlock(),d.createBlock(bi,{key:0,show:i.value,"onUpdate:show":c[0]||(c[0]=y=>i.value=y),onHandleEdit:c[1]||(c[1]=y=>a.value=!0),onHandleDelete:s,onHandleCopy:l},null,8,["show"]))],32),d.createVNode(s2e,{show:a.value,"onUpdate:show":c[4]||(c[4]=y=>a.value=y),data:e.modelValue},null,8,["show","data"])],64)}}}),[["__scopeId","data-v-6f9fc6c4"]]),u2e={class:"setting-content"},c2e={class:"setting-header flex items-center"},d2e={class:"setting-header flex items-center"},f2e={class:"setting-body"},p2e={class:"setting-item"},h2e={class:"btn-group"},g2e={key:0,class:"drag-handle"},m2e={class:"item-action flex items-center"},v2e=lt(d.defineComponent({__name:"setting",props:{show:{type:Boolean,default:!1},data:{type:Object,default:()=>{}}},emits:["update:show"],setup(e,{emit:t}){const n=d.ref(!1),r=d.computed(()=>({animation:200,group:"buttons",disabled:!1,ghostClass:"ghost"})),o=c=>c&&c.length>1,i=e,a=t,s=()=>{a("update:show",!1)},l=c=>{i.data.data.push({id:ve(),type:c,text:"查看更多",url:void 0,isExternal:!1})},u=c=>{i.data.data=i.data.data.filter(f=>f.id!==c)};return(c,f)=>{const p=d.resolveComponent("a-option"),h=d.resolveComponent("a-select"),v=d.resolveComponent("icon-plus"),m=d.resolveComponent("a-button"),y=d.resolveComponent("a-button-group"),b=d.resolveComponent("icon-drag-arrow"),g=d.resolveComponent("icon-delete"),w=d.resolveComponent("a-input"),E=d.resolveComponent("a-checkbox"),C=d.resolveComponent("a-drawer");return d.openBlock(),d.createBlock(C,{width:500,visible:e.show,footer:!1,onCancel:s,unmountOnClose:""},{title:d.withCtx(()=>[d.createTextVNode(d.toDisplayString(e.data.type)+"组件编辑 ",1)]),default:d.withCtx(()=>[d.createElementVNode("div",u2e,[d.createElementVNode("div",c2e,[f[13]||(f[13]=d.createElementVNode("span",{class:"header-title"},"组件宽度",-1)),d.createVNode(h,{modelValue:e.data.width,"onUpdate:modelValue":f[0]||(f[0]=S=>e.data.width=S),placeholder:"请选择","allow-clear":""},{default:d.withCtx(()=>[d.createVNode(p,{value:""},{default:d.withCtx(()=>f[9]||(f[9]=[d.createTextVNode("默认")])),_:1,__:[9]}),d.createVNode(p,{value:"small"},{default:d.withCtx(()=>f[10]||(f[10]=[d.createTextVNode("小")])),_:1,__:[10]}),d.createVNode(p,{value:"middle"},{default:d.withCtx(()=>f[11]||(f[11]=[d.createTextVNode("中")])),_:1,__:[11]}),d.createVNode(p,{value:"max"},{default:d.withCtx(()=>f[12]||(f[12]=[d.createTextVNode("大")])),_:1,__:[12]})]),_:1},8,["modelValue"])]),d.createElementVNode("div",d2e,[f[16]||(f[16]=d.createElementVNode("span",{class:"header-title"},"组件背景",-1)),d.createVNode(h,{modelValue:e.data.bgColor,"onUpdate:modelValue":f[1]||(f[1]=S=>e.data.bgColor=S),placeholder:"请选择","allow-clear":""},{default:d.withCtx(()=>[d.createVNode(p,{value:"#ffffff"},{default:d.withCtx(()=>f[14]||(f[14]=[d.createTextVNode("白色")])),_:1,__:[14]}),d.createVNode(p,{value:"#F7F7FA"},{default:d.withCtx(()=>f[15]||(f[15]=[d.createTextVNode("灰色")])),_:1,__:[15]})]),_:1},8,["modelValue"])]),d.createVNode(y,{type:"primary"},{default:d.withCtx(()=>[d.createVNode(m,{size:"mini",onClick:f[2]||(f[2]=S=>l(""))},{icon:d.withCtx(()=>[d.createVNode(v)]),default:d.withCtx(()=>[f[17]||(f[17]=d.createTextVNode(" 默认按钮 "))]),_:1,__:[17]}),d.createVNode(m,{size:"mini",onClick:f[3]||(f[3]=S=>l("white"))},{icon:d.withCtx(()=>[d.createVNode(v)]),default:d.withCtx(()=>[f[18]||(f[18]=d.createTextVNode(" 白色按钮 "))]),_:1,__:[18]}),d.createVNode(m,{size:"mini",onClick:f[4]||(f[4]=S=>l("light"))},{icon:d.withCtx(()=>[d.createVNode(v)]),default:d.withCtx(()=>[f[19]||(f[19]=d.createTextVNode(" 亮色按钮 "))]),_:1,__:[19]}),d.createVNode(m,{size:"mini",onClick:f[5]||(f[5]=S=>l("blue"))},{icon:d.withCtx(()=>[d.createVNode(v)]),default:d.withCtx(()=>[f[20]||(f[20]=d.createTextVNode(" 蓝色按钮 "))]),_:1,__:[20]})]),_:1}),d.createElementVNode("div",f2e,[d.createElementVNode("div",p2e,[f[22]||(f[22]=d.createElementVNode("p",{class:"item-name"},"按钮",-1)),d.createVNode(d.unref(an),d.mergeProps({modelValue:e.data.data,"onUpdate:modelValue":f[6]||(f[6]=S=>e.data.data=S),"component-data":{tag:"div",type:"transition-group",name:n.value?null:"flip-list"}},r.value,{disabled:!o(e.data.data),onStart:f[7]||(f[7]=S=>n.value=!0),onEnd:f[8]||(f[8]=S=>n.value=!1),"item-key":"id"}),{item:d.withCtx(({element:S})=>[(d.openBlock(),d.createElementBlock("div",{class:d.normalizeClass(["item-button draggable-item",{"sortable-disabled":!o(e.data.data)}]),key:S.id},[d.createElementVNode("div",h2e,[o(e.data.data)?(d.openBlock(),d.createElementBlock("div",g2e,[d.createVNode(b,{class:"drag-icon"})])):d.createCommentVNode("",!0),d.createVNode(g,{class:"btn-delete",onClick:x=>u(S.id)},null,8,["onClick"])]),d.createVNode(m,{type:"primary"},{default:d.withCtx(()=>[d.createTextVNode(d.toDisplayString(S.text),1)]),_:2},1024),d.createElementVNode("div",m2e,[d.createVNode(w,{class:"action-text",modelValue:S.text,"onUpdate:modelValue":x=>S.text=x,placeholder:"按钮文本","allow-clear":""},null,8,["modelValue","onUpdate:modelValue"]),d.createVNode(w,{modelValue:S.url,"onUpdate:modelValue":x=>S.url=x,placeholder:"按钮链接","allow-clear":""},null,8,["modelValue","onUpdate:modelValue"])]),d.createVNode(E,{"model-value":S.isExternal},{default:d.withCtx(()=>f[21]||(f[21]=[d.createTextVNode("是否外部链接")])),_:2,__:[21]},1032,["model-value"])],2))]),_:1},16,["modelValue","component-data","disabled"])])])])]),_:1},8,["visible"])}}}),[["__scopeId","data-v-3f125042"]]),y2e={class:"btn-list__row"},b2e=["href"],w2e={class:"btn-primary__text"},_y=lt(d.defineComponent({name:"BtnList",__name:"index",props:{modelValue:{type:Object,default:()=>{}},isPreview:{type:Boolean,default:!1}},emits:["update:modelValue","handleDelete","handleCopy"],setup(e,{emit:t}){const n=e,r=t,o=()=>{var c,f;if(n.modelValue&&n.modelValue.data)return;const u={id:((c=n.modelValue)==null?void 0:c.id)||ve(),type:"BtnList",readOnly:((f=n.modelValue)==null?void 0:f.readOnly)||!1,width:"",bgColor:"",data:[{id:ve(),type:"",text:"了解更多",url:"https://www.baidu.com",isExternal:!1},{id:ve(),type:"white",text:"了解更多",url:"https://www.baidu.com",isExternal:!1},{id:ve(),type:"light",text:"了解更多",url:"https://www.baidu.com",isExternal:!1},{id:ve(),type:"blue",text:"了解更多",url:"https://www.baidu.com",isExternal:!1}]};r("update:modelValue",u)},i=d.ref(!1),a=d.ref(!1),s=()=>{r("handleDelete",n.modelValue.id)},l=()=>{r("handleCopy",n.modelValue)};return o(),(u,c)=>{var f,p,h,v,m;return d.openBlock(),d.createElementBlock(d.Fragment,null,[d.createElementVNode("div",{class:"btn-list center",style:d.normalizeStyle({backgroundColor:(f=e.modelValue)==null?void 0:f.bgColor}),onMouseenter:c[2]||(c[2]=y=>i.value=!0),onMouseleave:c[3]||(c[3]=y=>i.value=!1)},[d.createElementVNode("div",{class:d.normalizeClass(["btn-list__container",[(p=e.modelValue)!=null&&p.width?`container-content-${(h=e.modelValue)==null?void 0:h.width}`:"container-content"]])},[d.createElementVNode("div",y2e,[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList((v=e.modelValue)==null?void 0:v.data,y=>(d.openBlock(),d.createElementBlock("div",{class:"btn-list__item",key:y.id},[d.createElementVNode("a",{href:y.url||"#",class:d.normalizeClass(["size-normal btn-primary",[y.type?`btn-primary--${y.type}`:""]])},[d.createElementVNode("div",w2e,d.toDisplayString(y.text),1),c[5]||(c[5]=d.createElementVNode("span",{class:"btn-primary__icon"},null,-1))],10,b2e)]))),128))])],2),(m=e.modelValue)!=null&&m.readOnly?d.createCommentVNode("",!0):(d.openBlock(),d.createBlock(bi,{key:0,show:i.value,"onUpdate:show":c[0]||(c[0]=y=>i.value=y),onHandleEdit:c[1]||(c[1]=y=>a.value=!0),onHandleDelete:s,onHandleCopy:l},null,8,["show"]))],36),d.createVNode(v2e,{show:a.value,"onUpdate:show":c[4]||(c[4]=y=>a.value=y),data:e.modelValue},null,8,["show","data"])],64)}}}),[["__scopeId","data-v-d0761976"]]),E2e=["src"],x2e={class:"item-uplaod flex items-center"},C2e=["src"],S2e={class:"item-uplaod flex items-center"},D2e={class:"item-title pt-2"},k2e={class:"btn-group"},A2e={key:0,class:"drag-handle"},O2e={class:"item-action flex items-center"},T2e={class:"btn-group"},B2e={key:0,class:"drag-handle"},wz=lt(d.defineComponent({__name:"setting",props:{data:{type:Object,default:()=>{}},showLogo:{type:Boolean,default:!0},maxNum:{type:Number,default:2},canAddParagraph:{type:Boolean,default:!1}},setup(e){const t=d.ref(!1),n=d.computed(()=>({animation:200,group:"buttons",disabled:!1,ghostClass:"ghost"})),r=d.computed(()=>({animation:200,group:"paragraphs",disabled:!1,ghostClass:"ghost"})),o=u=>u&&u.length>1,i=e,a=(u,c)=>{c.length>=i.maxNum||c.push({id:ve(),type:u,text:"查看更多",url:void 0,isExternal:!1})},s=(u,c)=>{u.splice(u.findIndex(f=>f.id===c),1)},l=u=>{u.push({title:"耀华国际教育学校浙江桐乡",subTitle:"耀华国际教育学校浙江桐乡",name:"耀华国际教育学校浙江桐乡",label:"123",imgSrc:"https://osswebsite.ycyw.com/media-library/ywies-bj/images/home/ywies-tx.jpg",alt:"",buttonList:{id:ve(),type:"BtnList",readOnly:!0,width:"",bgColor:"",data:[]},paragraphs:{title:"",content:""}})};return(u,c)=>{const f=d.resolveComponent("a-input"),p=d.resolveComponent("a-upload"),h=d.resolveComponent("icon-drag-arrow"),v=d.resolveComponent("icon-delete"),m=d.resolveComponent("a-button"),y=d.resolveComponent("a-checkbox"),b=d.resolveComponent("icon-plus"),g=d.resolveComponent("a-button-group");return d.openBlock(),d.createElementBlock(d.Fragment,null,[e.showLogo?(d.openBlock(),d.createElementBlock(d.Fragment,{key:0},[c[18]||(c[18]=d.createElementVNode("p",{class:"item-title"},"学校logo",-1)),d.createElementVNode("img",{class:"item-img",src:e.data.logo},null,8,E2e),d.createElementVNode("div",x2e,[d.createVNode(f,{modelValue:e.data.logo,"onUpdate:modelValue":c[0]||(c[0]=w=>e.data.logo=w),placeholder:"请输入图片链接","allow-clear":""},null,8,["modelValue"]),d.createVNode(p,{class:"fit-content","show-file-list":!1,action:"/"})])],64)):d.createCommentVNode("",!0),c[27]||(c[27]=d.createElementVNode("p",{class:"item-title"},"标题",-1)),d.createVNode(f,{modelValue:e.data.title,"onUpdate:modelValue":c[1]||(c[1]=w=>e.data.title=w),placeholder:"请输入标题","allow-clear":""},null,8,["modelValue"]),c[28]||(c[28]=d.createElementVNode("p",{class:"item-title"},"子标题",-1)),d.createVNode(f,{modelValue:e.data.subTitle,"onUpdate:modelValue":c[2]||(c[2]=w=>e.data.subTitle=w),placeholder:"请输入子标题","allow-clear":""},null,8,["modelValue"]),c[29]||(c[29]=d.createElementVNode("p",{class:"item-title"},"名称",-1)),d.createVNode(f,{modelValue:e.data.name,"onUpdate:modelValue":c[3]||(c[3]=w=>e.data.name=w),placeholder:"请输入名称","allow-clear":""},null,8,["modelValue"]),c[30]||(c[30]=d.createElementVNode("p",{class:"item-title"},"标签",-1)),d.createVNode(f,{modelValue:e.data.label,"onUpdate:modelValue":c[4]||(c[4]=w=>e.data.label=w),placeholder:"请输入标签","allow-clear":""},null,8,["modelValue"]),c[31]||(c[31]=d.createElementVNode("p",{class:"item-title"},"图片",-1)),d.createElementVNode("img",{class:"item-img",src:e.data.imgSrc},null,8,C2e),d.createElementVNode("div",S2e,[d.createVNode(f,{modelValue:e.data.imgSrc,"onUpdate:modelValue":c[5]||(c[5]=w=>e.data.imgSrc=w),placeholder:"请输入图片链接","allow-clear":""},null,8,["modelValue"]),d.createVNode(p,{class:"fit-content","show-file-list":!1,action:"/"})]),d.createVNode(f,{class:"mt-2",modelValue:e.data.alt,"onUpdate:modelValue":c[6]||(c[6]=w=>e.data.alt=w),placeholder:"图片alt","allow-clear":""},null,8,["modelValue"]),d.createElementVNode("p",D2e,"按钮(最多"+d.toDisplayString(e.maxNum)+"个)",1),d.createVNode(d.unref(an),d.mergeProps({modelValue:e.data.buttonList.data,"onUpdate:modelValue":c[7]||(c[7]=w=>e.data.buttonList.data=w),"component-data":{tag:"div",type:"transition-group",name:t.value?null:"flip-list"}},n.value,{disabled:!o(e.data.buttonList.data),onStart:c[8]||(c[8]=w=>t.value=!0),onEnd:c[9]||(c[9]=w=>t.value=!1),"item-key":"id"}),{item:d.withCtx(({element:w})=>[(d.openBlock(),d.createElementBlock("div",{class:d.normalizeClass(["item-button item-link draggable-item",{"sortable-disabled":!o(e.data.buttonList.data)}]),key:w.id},[d.createElementVNode("div",k2e,[o(e.data.buttonList.data)?(d.openBlock(),d.createElementBlock("div",A2e,[d.createVNode(h,{class:"drag-icon"})])):d.createCommentVNode("",!0),d.createVNode(v,{class:"btn-delete",onClick:E=>s(e.data.buttonList.data,w.id)},null,8,["onClick"])]),d.createVNode(m,{type:"primary"},{default:d.withCtx(()=>[d.createTextVNode(d.toDisplayString(w.text),1)]),_:2},1024),d.createElementVNode("div",O2e,[d.createVNode(f,{class:"action-text",modelValue:w.text,"onUpdate:modelValue":E=>w.text=E,placeholder:"按钮文本","allow-clear":""},null,8,["modelValue","onUpdate:modelValue"]),d.createVNode(f,{modelValue:w.url,"onUpdate:modelValue":E=>w.url=E,placeholder:"按钮链接","allow-clear":""},null,8,["modelValue","onUpdate:modelValue"])]),d.createVNode(y,{"model-value":w.isExternal},{default:d.withCtx(()=>c[19]||(c[19]=[d.createTextVNode("是否外部链接")])),_:2,__:[19]},1032,["model-value"])],2))]),_:1},16,["modelValue","component-data","disabled"]),d.createVNode(g,{class:"mt-2",type:"primary"},{default:d.withCtx(()=>[d.createVNode(m,{size:"mini",onClick:c[10]||(c[10]=w=>a("default",e.data.buttonList.data))},{icon:d.withCtx(()=>[d.createVNode(b)]),default:d.withCtx(()=>[c[20]||(c[20]=d.createTextVNode(" 默认按钮 "))]),_:1,__:[20]}),d.createVNode(m,{size:"mini",onClick:c[11]||(c[11]=w=>a("white",e.data.buttonList.data))},{icon:d.withCtx(()=>[d.createVNode(b)]),default:d.withCtx(()=>[c[21]||(c[21]=d.createTextVNode(" 白色按钮 "))]),_:1,__:[21]}),d.createVNode(m,{size:"mini",onClick:c[12]||(c[12]=w=>a("light",e.data.buttonList.data))},{icon:d.withCtx(()=>[d.createVNode(b)]),default:d.withCtx(()=>[c[22]||(c[22]=d.createTextVNode(" 亮色按钮 "))]),_:1,__:[22]}),d.createVNode(m,{size:"mini",onClick:c[13]||(c[13]=w=>a("blue",e.data.buttonList.data))},{icon:d.withCtx(()=>[d.createVNode(b)]),default:d.withCtx(()=>[c[23]||(c[23]=d.createTextVNode(" 蓝色按钮 "))]),_:1,__:[23]})]),_:1}),c[32]||(c[32]=d.createElementVNode("p",{class:"item-name mt-2"},"段落",-1)),d.createVNode(d.unref(an),d.mergeProps({modelValue:e.data.paragraphs,"onUpdate:modelValue":c[14]||(c[14]=w=>e.data.paragraphs=w),"component-data":{tag:"div",type:"transition-group",name:t.value?null:"flip-list"}},r.value,{disabled:!o(e.data.paragraphs),onStart:c[15]||(c[15]=w=>t.value=!0),onEnd:c[16]||(c[16]=w=>t.value=!1),"item-key":"id"}),{item:d.withCtx(({element:w})=>[(d.openBlock(),d.createElementBlock("div",{class:d.normalizeClass(["item-button item-link draggable-item",{"sortable-disabled":!o(e.data.paragraphs)}]),key:w.id},[d.createElementVNode("div",T2e,[o(e.data.paragraphs)?(d.openBlock(),d.createElementBlock("div",B2e,[d.createVNode(h,{class:"drag-icon"})])):d.createCommentVNode("",!0),e.canAddParagraph?(d.openBlock(),d.createBlock(v,{key:1,class:"btn-delete",onClick:E=>s(e.data.paragraphs,w.id)},null,8,["onClick"])):d.createCommentVNode("",!0)]),c[24]||(c[24]=d.createElementVNode("p",{class:"item-title"},"标题",-1)),d.createVNode(f,{modelValue:w.title,"onUpdate:modelValue":E=>w.title=E,placeholder:"请输入标题","allow-clear":""},null,8,["modelValue","onUpdate:modelValue"]),c[25]||(c[25]=d.createElementVNode("p",{class:"item-title mt-2"},"内容",-1)),d.createVNode(d.unref(yh),{modelValue:w.content,"onUpdate:modelValue":E=>w.content=E},null,8,["modelValue","onUpdate:modelValue"])],2))]),_:1},16,["modelValue","component-data","disabled"]),e.canAddParagraph?(d.openBlock(),d.createElementBlock("div",{key:1,class:"item-add-btn flex items-center",onClick:c[17]||(c[17]=w=>l(e.data.paragraphs))},[d.createVNode(b),c[26]||(c[26]=d.createElementVNode("span",{class:"btn-text"},"添加段落",-1))])):d.createCommentVNode("",!0)],64)}}}),[["__scopeId","data-v-6523839a"]]),_2e={class:"setting-content"},N2e={class:"setting-header flex items-center"},P2e={class:"setting-header flex items-center"},F2e={class:"setting-header flex items-center"},V2e={class:"setting-body"},L2e={class:"setting-item"},I2e={class:"btn-group"},j2e={key:0,class:"drag-handle"},M2e=["src"],R2e={class:"item-uplaod flex items-center"},z2e=lt(d.defineComponent({__name:"setting",props:{show:{type:Boolean,default:!1},data:{type:Object,default:()=>{}}},emits:["update:show"],setup(e,{emit:t}){const n=d.ref(!1),r=d.computed(()=>({animation:200,group:"gallerys",disabled:!1,ghostClass:"ghost"})),o=c=>c&&c.length>1,i=e,a=t,s=()=>{a("update:show",!1)},l=c=>{i.data.data.push({id:ve(),type:c,text:"查看更多",url:void 0,isExternal:!1,isLight:!1})},u=c=>{i.data.data=i.data.data.filter(f=>f.id!==c)};return(c,f)=>{const p=d.resolveComponent("a-option"),h=d.resolveComponent("a-select"),v=d.resolveComponent("a-input"),m=d.resolveComponent("icon-plus"),y=d.resolveComponent("a-button"),b=d.resolveComponent("a-button-group"),g=d.resolveComponent("icon-drag-arrow"),w=d.resolveComponent("icon-delete"),E=d.resolveComponent("a-upload"),C=d.resolveComponent("a-drawer");return d.openBlock(),d.createBlock(C,{width:500,visible:e.show,footer:!1,onCancel:s,unmountOnClose:""},{title:d.withCtx(()=>[d.createTextVNode(d.toDisplayString(e.data.type)+"组件编辑 ",1)]),default:d.withCtx(()=>[d.createElementVNode("div",_2e,[d.createElementVNode("div",N2e,[f[10]||(f[10]=d.createElementVNode("span",{class:"header-title"},"组件背景",-1)),d.createVNode(h,{modelValue:e.data.bgColor,"onUpdate:modelValue":f[0]||(f[0]=S=>e.data.bgColor=S),placeholder:"请选择","allow-clear":""},{default:d.withCtx(()=>[d.createVNode(p,{value:"#ffffff"},{default:d.withCtx(()=>f[8]||(f[8]=[d.createTextVNode("白色")])),_:1,__:[8]}),d.createVNode(p,{value:"#F7F7FA"},{default:d.withCtx(()=>f[9]||(f[9]=[d.createTextVNode("灰色")])),_:1,__:[9]})]),_:1},8,["modelValue"])]),d.createElementVNode("div",P2e,[f[11]||(f[11]=d.createElementVNode("span",{class:"header-title"},"pc列数",-1)),d.createVNode(v,{modelValue:e.data.desktopCol,"onUpdate:modelValue":f[1]||(f[1]=S=>e.data.desktopCol=S),placeholder:"请输入","allow-clear":""},null,8,["modelValue"])]),d.createElementVNode("div",F2e,[f[12]||(f[12]=d.createElementVNode("span",{class:"header-title"},"移动端列数",-1)),d.createVNode(v,{modelValue:e.data.mobileCol,"onUpdate:modelValue":f[2]||(f[2]=S=>e.data.mobileCol=S),placeholder:"请输入","allow-clear":""},null,8,["modelValue"])]),d.createVNode(b,{type:"primary"},{default:d.withCtx(()=>[d.createVNode(y,{size:"mini",onClick:f[3]||(f[3]=S=>l("GalleryListItem"))},{icon:d.withCtx(()=>[d.createVNode(m)]),default:d.withCtx(()=>[f[13]||(f[13]=d.createTextVNode(" 普通项目 "))]),_:1,__:[13]}),d.createVNode(y,{size:"mini",onClick:f[4]||(f[4]=S=>l("GalleryListProfile"))},{icon:d.withCtx(()=>[d.createVNode(m)]),default:d.withCtx(()=>[f[14]||(f[14]=d.createTextVNode(" 文章项目 "))]),_:1,__:[14]})]),_:1}),d.createElementVNode("div",V2e,[d.createElementVNode("div",L2e,[d.createVNode(d.unref(an),d.mergeProps({modelValue:e.data.data,"onUpdate:modelValue":f[5]||(f[5]=S=>e.data.data=S),"component-data":{tag:"div",type:"transition-group",name:n.value?null:"flip-list"}},r.value,{disabled:!o(e.data.data),onStart:f[6]||(f[6]=S=>n.value=!0),onEnd:f[7]||(f[7]=S=>n.value=!1),"item-key":"id"}),{item:d.withCtx(({element:S})=>[(d.openBlock(),d.createElementBlock("div",{class:d.normalizeClass(["item-button draggable-item",{"sortable-disabled":!o(e.data.data)}]),key:S.id},[d.createElementVNode("div",I2e,[o(e.data.data)?(d.openBlock(),d.createElementBlock("div",j2e,[d.createVNode(g,{class:"drag-icon"})])):d.createCommentVNode("",!0),d.createVNode(w,{class:"btn-delete",onClick:x=>u(S.id)},null,8,["onClick"])]),f[15]||(f[15]=d.createElementVNode("p",{class:"item-title"},"标题",-1)),d.createVNode(v,{modelValue:S.title,"onUpdate:modelValue":x=>S.title=x,placeholder:"请输入标题","allow-clear":""},null,8,["modelValue","onUpdate:modelValue"]),f[16]||(f[16]=d.createElementVNode("p",{class:"item-title"},"文本",-1)),d.createVNode(v,{modelValue:S.text,"onUpdate:modelValue":x=>S.text=x,placeholder:"请输入文本","allow-clear":""},null,8,["modelValue","onUpdate:modelValue"]),f[17]||(f[17]=d.createElementVNode("p",{class:"item-title"},"图片",-1)),d.createElementVNode("img",{class:"item-img",src:S.imgSrc},null,8,M2e),d.createElementVNode("div",R2e,[d.createVNode(v,{modelValue:S.imgSrc,"onUpdate:modelValue":x=>S.imgSrc=x,placeholder:"请输入图片链接","allow-clear":""},null,8,["modelValue","onUpdate:modelValue"]),d.createVNode(E,{class:"fit-content","show-file-list":!1,action:"/"})]),d.createVNode(v,{class:"mt-2",modelValue:S.alt,"onUpdate:modelValue":x=>S.alt=x,placeholder:"图片alt","allow-clear":""},null,8,["modelValue","onUpdate:modelValue"]),f[18]||(f[18]=d.createElementVNode("p",{class:"item-title"},"网址",-1)),d.createVNode(v,{modelValue:S.url,"onUpdate:modelValue":x=>S.url=x,placeholder:"请输入网址","allow-clear":""},null,8,["modelValue","onUpdate:modelValue"]),f[19]||(f[19]=d.createElementVNode("p",{class:"item-title"},"Profile Information",-1)),S.profile?(d.openBlock(),d.createBlock(wz,{key:0,data:S.profile,showLogo:!1,canAddParagraph:!0},null,8,["data"])):d.createCommentVNode("",!0)],2))]),_:1},16,["modelValue","component-data","disabled"])])])])]),_:1},8,["visible"])}}}),[["__scopeId","data-v-33218bbc"]]),H2e={class:"lightbox__content"},U2e={class:"lightbox__content__head"},G2e={class:"lightbox__content__head__image"},W2e=["src","alt"],q2e={class:"lightbox__content__head__info"},K2e={class:"lightbox__content__head__info__title"},Y2e={class:"lightbox__content__head__info__subtitle"},X2e={class:"lightbox__content__head__info__label"},Z2e={class:"lightbox__content__head__info__btn"},J2e={class:"lightbox__content__main",style:{"--head-height":"297px"}},Q2e={class:"scroll-bar"},$2e={"data-simplebar-auto-hide":"false",class:"simple-bar","data-simplebar":"init"},eEe={class:"simplebar-wrapper",style:{margin:"0px -24px 0px 0px"}},tEe={class:"simplebar-mask"},nEe={class:"simplebar-offset",style:{right:"0px",bottom:"0px"}},rEe={class:"simplebar-content-wrapper",tabindex:"0",role:"region","aria-label":"scrollable content",style:{height:"auto",overflow:"hidden"}},oEe={class:"simplebar-content",style:{padding:"0px 24px 0px 0px"}},iEe={class:"lightbox__content__body"},aEe={class:"lightbox__content__body__title"},sEe=["innerHTML"],lEe={class:"lightbox__content__footer"},uEe={class:"lightbox__content__footer__logo"},cEe=["src"],dEe=lt(d.defineComponent({__name:"index",props:{data:{type:Object,default:()=>{}}},emits:["close"],setup(e,{emit:t}){const n=t,r=()=>{n("close")};return(o,i)=>{var a,s,l,u,c,f;return d.openBlock(),d.createElementBlock("div",H2e,[d.createElementVNode("div",{class:"lightbox__content__cross i i-cross-modal",onClick:r}),d.createElementVNode("div",{class:"lightbox__content__prev i i-arrow-prev",onClick:r}),d.createElementVNode("div",U2e,[d.createElementVNode("div",G2e,[d.createElementVNode("img",{src:(a=e.data)==null?void 0:a.imgSrc,alt:(s=e.data)==null?void 0:s.alt},null,8,W2e)]),d.createElementVNode("div",q2e,[d.createElementVNode("h2",K2e,d.toDisplayString((l=e.data)==null?void 0:l.title),1),d.createElementVNode("h6",Y2e,d.toDisplayString((u=e.data)==null?void 0:u.subTitle),1),d.createElementVNode("div",X2e,d.toDisplayString((c=e.data)==null?void 0:c.label),1),d.createElementVNode("div",Z2e,[d.createVNode(_y,{modelValue:e.data.buttonList,"onUpdate:modelValue":i[0]||(i[0]=p=>e.data.buttonList=p)},null,8,["modelValue"])])])]),d.createElementVNode("div",J2e,[d.createElementVNode("div",Q2e,[d.createElementVNode("div",$2e,[d.createElementVNode("div",eEe,[i[1]||(i[1]=d.createElementVNode("div",{class:"simplebar-height-auto-observer-wrapper"},[d.createElementVNode("div",{class:"simplebar-height-auto-observer"})],-1)),d.createElementVNode("div",tEe,[d.createElementVNode("div",nEe,[d.createElementVNode("div",rEe,[d.createElementVNode("div",oEe,[d.createElementVNode("div",iEe,[d.createElementVNode("ul",null,[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList((f=e.data)==null?void 0:f.paragraphs,p=>(d.openBlock(),d.createElementBlock("li",{class:"lightbox__content__body__list",key:p.id},[d.createElementVNode("div",aEe,d.toDisplayString(p.title),1),d.createElementVNode("div",{class:"lightbox__content__body__text",innerHTML:p.content},null,8,sEe)]))),128))])]),d.createElementVNode("div",lEe,[d.createElementVNode("div",uEe,[d.createElementVNode("img",{src:e.data.logo||"https://ywies-tx.cedim.cn/images/logo/logo-ycyw.png",alt:"school logo"},null,8,cEe)])])])])])]),i[2]||(i[2]=d.createElementVNode("div",{class:"simplebar-placeholder",style:{width:"auto",height:"222px"}},null,-1))]),i[3]||(i[3]=d.createElementVNode("div",{class:"simplebar-track simplebar-horizontal",style:{visibility:"hidden"}},[d.createElementVNode("div",{class:"simplebar-scrollbar simplebar-visible",style:{width:"0px",display:"none"}})],-1)),i[4]||(i[4]=d.createElementVNode("div",{class:"simplebar-track simplebar-vertical",style:{visibility:"hidden"}},[d.createElementVNode("div",{class:"simplebar-scrollbar simplebar-visible",style:{height:"0px",display:"none"}})],-1))])])])])}}}),[["__scopeId","data-v-5fc66282"]]),Ez=d.defineComponent({__name:"modal",props:{show:{type:Boolean,default:!1},data:{type:Object,default:()=>{}}},emits:["update:show"],setup(e,{emit:t}){const n=e,r=d.computed(()=>n.show),o=t,i=()=>{o("update:show",!1)};return(a,s)=>{const l=d.resolveComponent("a-modal");return d.openBlock(),d.createBlock(l,{visible:r.value,"onUpdate:visible":s[0]||(s[0]=u=>r.value=u),hideTitle:!0,footer:!1,bodyClass:"profile-model",onCancel:i},{default:d.withCtx(()=>[d.createVNode(dEe,{data:e.data,onClose:i},null,8,["data"])]),_:1},8,["visible"])}}}),fEe=["onClick"],pEe={class:"gallery-caption__img"},hEe=["src","alt"],gEe={class:"gallery-caption__title tx-subtitle text-blue text-center mt-3 mt-md-4 px-3"},mEe={key:0,class:"tx-body text-teal-darkest text-center mt-2 mt-md-3 mb-3"},hD=lt(d.defineComponent({name:"GalleryList",__name:"index",props:{modelValue:{type:Object,default:()=>{}},isPreview:{type:Boolean,default:!1}},emits:["update:modelValue","handleDelete","handleCopy"],setup(e,{emit:t}){const n=e,r=t,o=()=>{var h,v;if(n.modelValue&&n.modelValue.data)return;const p={id:((h=n.modelValue)==null?void 0:h.id)||ve(),type:"GalleryList",readOnly:((v=n.modelValue)==null?void 0:v.readOnly)||!1,bgColor:"",desktopCol:4,mobileCol:2,data:[{id:ve(),type:"GalleryListItem",title:"耀华国际教育学校浙江桐乡",text:"123",imgSrc:"https://osswebsite-test.cedim.cn/media-library/ywies-tx/images/high-school-test/home/different_1_optim.png",alt:"",url:"https://www.baidu.com"},{id:ve(),type:"GalleryListProfile",title:"耀华国际教育学校浙江桐乡",text:"123",imgSrc:"https://osswebsite-test.cedim.cn/media-library/ywies-tx/images/high-school-test/home/different_1_optim.png",alt:"",url:"",profile:{title:"耀华国际教育学校浙江桐乡",subTitle:"耀华国际教育学校浙江桐乡",name:"耀华国际教育学校浙江桐乡",label:"123",imgSrc:"https://osswebsite.ycyw.com/media-library/ywies-bj/images/home/ywies-tx.jpg",alt:"",buttonList:{id:ve(),type:"BtnList",readOnly:!0,width:"",bgColor:"",data:[{id:ve(),type:"white",text:"了解更多",url:"https://www.baidu.com",isExternal:!1},{id:ve(),type:"light",text:"了解更多",url:"https://www.baidu.com",isExternal:!1}]},paragraphs:[{id:ve(),title:"123",content:"123"}]}}]};r("update:modelValue",p)},i=d.ref(!1),a=d.ref(!1),s=()=>{r("handleDelete",n.modelValue.id)},l=()=>{r("handleCopy",n.modelValue)},u=d.ref(!1),c=d.ref({}),f=p=>{p.type==="GalleryListProfile"&&(c.value=p.profile,u.value=!0)};return o(),(p,h)=>{var y,b;const v=d.resolveComponent("a-col"),m=d.resolveComponent("a-row");return d.openBlock(),d.createElementBlock(d.Fragment,null,[d.createElementVNode("div",{class:"gallery-list",onMouseenter:h[2]||(h[2]=g=>i.value=!0),onMouseleave:h[3]||(h[3]=g=>i.value=!1)},[d.createElementVNode("div",{class:"gallery-container gallery-caption container-content",style:d.normalizeStyle({backgroundColor:(y=e.modelValue)==null?void 0:y.bgColor})},[d.createVNode(m,{class:"caption-row"},{default:d.withCtx(()=>{var g;return[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList((g=e.modelValue)==null?void 0:g.data,w=>{var E,C;return d.openBlock(),d.createBlock(v,{key:w.id,sm:{span:24/((E=e.modelValue)==null?void 0:E.mobileCol)},md:{span:24/((C=e.modelValue)==null?void 0:C.desktopCol)}},{default:d.withCtx(()=>[d.createElementVNode("div",{class:d.normalizeClass(["gallery-caption",[w.url&&"has-url",w.profile&&"has-profile"]]),onClick:S=>f(w)},[d.createElementVNode("div",pEe,[d.createElementVNode("img",{src:w.imgSrc,alt:w.alt},null,8,hEe)]),d.createElementVNode("div",gEe,d.toDisplayString(w.title),1),w.text?(d.openBlock(),d.createElementBlock("div",mEe,d.toDisplayString(w.text),1)):d.createCommentVNode("",!0)],10,fEe)]),_:2},1032,["sm","md"])}),128))]}),_:1})],4),(b=e.modelValue)!=null&&b.readOnly?d.createCommentVNode("",!0):(d.openBlock(),d.createBlock(bi,{key:0,show:i.value,"onUpdate:show":h[0]||(h[0]=g=>i.value=g),onHandleEdit:h[1]||(h[1]=g=>a.value=!0),onHandleDelete:s,onHandleCopy:l},null,8,["show"]))],32),d.createVNode(z2e,{show:a.value,"onUpdate:show":h[4]||(h[4]=g=>a.value=g),data:e.modelValue},null,8,["show","data"]),d.createVNode(Ez,{show:u.value,"onUpdate:show":h[5]||(h[5]=g=>u.value=g),data:c.value},null,8,["show","data"])],64)}}}),[["__scopeId","data-v-25124312"]]),vEe={class:"setting-content"},yEe={class:"setting-header flex items-center"},bEe={class:"setting-header flex items-center"},wEe={class:"setting-body"},EEe={class:"setting-item"},xEe={class:"btn-group"},CEe={key:0,class:"drag-handle"},SEe={class:"item-action flex items-center"},DEe=lt(d.defineComponent({__name:"setting",props:{show:{type:Boolean,default:!1},data:{type:Object,default:()=>{}}},emits:["update:show"],setup(e,{emit:t}){const n=d.ref(!1),r=d.computed(()=>({animation:200,group:"links",disabled:!1,ghostClass:"ghost"})),o=c=>c&&c.length>1,i=e,a=t,s=()=>{a("update:show",!1)},l=c=>{i.data.data.push({id:ve(),type:c,text:"查看更多",url:void 0,isExternal:!1,isLight:!1})},u=c=>{i.data.data=i.data.data.filter(f=>f.id!==c)};return(c,f)=>{const p=d.resolveComponent("a-option"),h=d.resolveComponent("a-select"),v=d.resolveComponent("icon-plus"),m=d.resolveComponent("a-button"),y=d.resolveComponent("a-button-group"),b=d.resolveComponent("icon-drag-arrow"),g=d.resolveComponent("icon-delete"),w=d.resolveComponent("a-link"),E=d.resolveComponent("a-input"),C=d.resolveComponent("a-checkbox"),S=d.resolveComponent("a-drawer");return d.openBlock(),d.createBlock(S,{width:500,visible:e.show,footer:!1,onCancel:s,unmountOnClose:""},{title:d.withCtx(()=>[d.createTextVNode(d.toDisplayString(e.data.type)+"组件编辑 ",1)]),default:d.withCtx(()=>[d.createElementVNode("div",vEe,[d.createElementVNode("div",yEe,[f[11]||(f[11]=d.createElementVNode("span",{class:"header-title"},"组件宽度",-1)),d.createVNode(h,{modelValue:e.data.width,"onUpdate:modelValue":f[0]||(f[0]=x=>e.data.width=x),placeholder:"请选择","allow-clear":""},{default:d.withCtx(()=>[d.createVNode(p,{value:""},{default:d.withCtx(()=>f[7]||(f[7]=[d.createTextVNode("默认")])),_:1,__:[7]}),d.createVNode(p,{value:"small"},{default:d.withCtx(()=>f[8]||(f[8]=[d.createTextVNode("小")])),_:1,__:[8]}),d.createVNode(p,{value:"middle"},{default:d.withCtx(()=>f[9]||(f[9]=[d.createTextVNode("中")])),_:1,__:[9]}),d.createVNode(p,{value:"max"},{default:d.withCtx(()=>f[10]||(f[10]=[d.createTextVNode("大")])),_:1,__:[10]})]),_:1},8,["modelValue"])]),d.createElementVNode("div",bEe,[f[14]||(f[14]=d.createElementVNode("span",{class:"header-title"},"组件背景",-1)),d.createVNode(h,{modelValue:e.data.bgColor,"onUpdate:modelValue":f[1]||(f[1]=x=>e.data.bgColor=x),placeholder:"请选择","allow-clear":""},{default:d.withCtx(()=>[d.createVNode(p,{value:"#ffffff"},{default:d.withCtx(()=>f[12]||(f[12]=[d.createTextVNode("白色")])),_:1,__:[12]}),d.createVNode(p,{value:"#F7F7FA"},{default:d.withCtx(()=>f[13]||(f[13]=[d.createTextVNode("灰色")])),_:1,__:[13]})]),_:1},8,["modelValue"])]),d.createVNode(y,{type:"primary"},{default:d.withCtx(()=>[d.createVNode(m,{size:"mini",onClick:f[2]||(f[2]=x=>l("circle"))},{icon:d.withCtx(()=>[d.createVNode(v)]),default:d.withCtx(()=>[f[15]||(f[15]=d.createTextVNode(" 圆链接 "))]),_:1,__:[15]}),d.createVNode(m,{size:"mini",onClick:f[3]||(f[3]=x=>l("text"))},{icon:d.withCtx(()=>[d.createVNode(v)]),default:d.withCtx(()=>[f[16]||(f[16]=d.createTextVNode(" 文字链接 "))]),_:1,__:[16]})]),_:1}),d.createElementVNode("div",wEe,[d.createElementVNode("div",EEe,[f[20]||(f[20]=d.createElementVNode("p",{class:"item-name"},"链接",-1)),d.createVNode(d.unref(an),d.mergeProps({modelValue:e.data.data,"onUpdate:modelValue":f[4]||(f[4]=x=>e.data.data=x),"component-data":{tag:"div",type:"transition-group",name:n.value?null:"flip-list"}},r.value,{disabled:!o(e.data.data),onStart:f[5]||(f[5]=x=>n.value=!0),onEnd:f[6]||(f[6]=x=>n.value=!1),"item-key":"id"}),{item:d.withCtx(({element:x})=>[(d.openBlock(),d.createElementBlock("div",{class:d.normalizeClass(["item-button draggable-item",{"sortable-disabled":!o(e.data.data)}]),key:x.id},[d.createElementVNode("div",xEe,[o(e.data.data)?(d.openBlock(),d.createElementBlock("div",CEe,[d.createVNode(b,{class:"drag-icon"})])):d.createCommentVNode("",!0),d.createVNode(g,{class:"btn-delete",onClick:k=>u(x.id)},null,8,["onClick"])]),d.createVNode(w,{href:"link"},{default:d.withCtx(()=>[d.createTextVNode(d.toDisplayString(x.text),1)]),_:2},1024),x.type==="circle"?(d.openBlock(),d.createElementBlock(d.Fragment,{key:0},[d.createElementVNode("div",SEe,[d.createVNode(E,{class:"action-text",modelValue:x.text,"onUpdate:modelValue":k=>x.text=k,placeholder:"链接文本","allow-clear":""},null,8,["modelValue","onUpdate:modelValue"]),d.createVNode(E,{modelValue:x.url,"onUpdate:modelValue":k=>x.url=k,placeholder:"链接链接","allow-clear":""},null,8,["modelValue","onUpdate:modelValue"])]),d.createVNode(C,{"model-value":x.isExternal},{default:d.withCtx(()=>f[17]||(f[17]=[d.createTextVNode("是否外部链接")])),_:2,__:[17]},1032,["model-value"]),d.createVNode(C,{style:{"padding-left":"10px"},"model-value":x.isLight},{default:d.withCtx(()=>f[18]||(f[18]=[d.createTextVNode("是否亮色")])),_:2,__:[18]},1032,["model-value"])],64)):(d.openBlock(),d.createElementBlock(d.Fragment,{key:1},[d.createVNode(E,{class:"action-text m-2",modelValue:x.text,"onUpdate:modelValue":k=>x.text=k,placeholder:"链接文本","allow-clear":""},null,8,["modelValue","onUpdate:modelValue"]),f[19]||(f[19]=d.createElementVNode("p",{class:"item-name"},"Profile Information",-1)),d.createVNode(wz,{data:x.profile},null,8,["data"])],64))],2))]),_:1},16,["modelValue","component-data","disabled"])])])])]),_:1},8,["visible"])}}}),[["__scopeId","data-v-a50a1faa"]]),kEe=["onClick"],AEe=["href"],OEe={key:1,class:"text-link"},TEe={type:"button",class:"text-link__wrapper link link--udrline-2"},BEe={class:"text-link__text"},gD=lt(d.defineComponent({name:"LinkList",__name:"index",props:{modelValue:{type:Object,default:()=>{}},isPreview:{type:Boolean,default:!1}},emits:["update:modelValue","handleDelete","handleCopy"],setup(e,{emit:t}){const n=e,r=t,o=()=>{var h,v,m;if(n.modelValue&&n.modelValue.data)return;const p={id:((h=n.modelValue)==null?void 0:h.id)||ve(),type:"LinkList",readOnly:((v=n.modelValue)==null?void 0:v.readOnly)||!1,width:"",bgColor:"",data:[{id:ve(),type:"circle",text:"了解更多",url:"https://www.baidu.com",isExternal:!1,isLight:!1},{id:ve(),type:"circle",text:"了解更多",url:"https://www.baidu.com",isExternal:!1,isLight:!0},{id:ve(),type:"text",text:"了解更多",profile:{logo:"https://ywies-tx.cedim.cn/images/logo/logo-ycyw.png",title:"耀华国际教育学校浙江桐乡",subTitle:"耀华国际教育学校浙江桐乡",name:"耀华国际教育学校浙江桐乡",label:"123",imgSrc:"https://osswebsite.ycyw.com/media-library/ywies-bj/images/home/ywies-tx.jpg",alt:"",buttonList:{id:((m=n.modelValue)==null?void 0:m.id)||ve(),type:"BtnList",readOnly:!0,width:"",bgColor:"",data:[{id:ve(),type:"white",text:"了解更多",url:"https://www.baidu.com",isExternal:!1},{id:ve(),type:"light",text:"了解更多",url:"https://www.baidu.com",isExternal:!1}]},paragraphs:[{id:ve(),title:"123",content:"123"}]}}]};r("update:modelValue",p)},i=d.ref(!1),a=d.ref(!1),s=()=>{r("handleDelete",n.modelValue.id)},l=()=>{r("handleCopy",n.modelValue)},u=d.ref(!1),c=d.ref({}),f=p=>{p.type==="text"&&(c.value=p.profile,u.value=!0)};return o(),(p,h)=>{var v,m,y,b,g;return d.openBlock(),d.createElementBlock(d.Fragment,null,[d.createElementVNode("div",{class:"link-list",style:d.normalizeStyle({backgroundColor:(v=e.modelValue)==null?void 0:v.bgColor}),onMouseenter:h[2]||(h[2]=w=>i.value=!0),onMouseleave:h[3]||(h[3]=w=>i.value=!1)},[d.createElementVNode("div",{class:d.normalizeClass(["link-list__container justify-content-center",[(m=e.modelValue)!=null&&m.width?`container-content-${(y=e.modelValue)==null?void 0:y.width}`:"container-content"]])},[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList((b=e.modelValue)==null?void 0:b.data,w=>(d.openBlock(),d.createElementBlock("div",{class:"link-list__item",key:w.id,onClick:E=>f(w)},[w.type==="circle"?(d.openBlock(),d.createElementBlock("div",{key:0,class:d.normalizeClass(["circle-link",[w.isLight?"circle-link--light":""]])},[d.createElementVNode("a",{href:w.url||"#",class:d.normalizeClass([w.isLight?"nuxt-link-exact-active nuxt-link-active":""])},[d.createElementVNode("div",null,d.toDisplayString(w.text),1),d.createElementVNode("span",{class:d.normalizeClass(["circle-link__icon",[w.isLight?"circle-link__icon--light":""]])},null,2)],10,AEe)],2)):(d.openBlock(),d.createElementBlock("div",OEe,[d.createElementVNode("button",TEe,[d.createElementVNode("span",BEe,d.toDisplayString(w.text),1)])]))],8,kEe))),128))],2),(g=e.modelValue)!=null&&g.readOnly?d.createCommentVNode("",!0):(d.openBlock(),d.createBlock(bi,{key:0,show:i.value,"onUpdate:show":h[0]||(h[0]=w=>i.value=w),onHandleEdit:h[1]||(h[1]=w=>a.value=!0),onHandleDelete:s,onHandleCopy:l},null,8,["show"]))],36),d.createVNode(DEe,{show:a.value,"onUpdate:show":h[4]||(h[4]=w=>a.value=w),data:e.modelValue},null,8,["show","data"]),d.createVNode(Ez,{show:u.value,"onUpdate:show":h[5]||(h[5]=w=>u.value=w),data:c.value},null,8,["show","data"])],64)}}}),[["__scopeId","data-v-5e2bae1f"]]),_Ee={class:"setting-content"},NEe={class:"setting-header flex items-center"},PEe={class:"setting-header flex items-center"},FEe={class:"setting-header flex items-center"},VEe=lt(d.defineComponent({__name:"setting",props:{show:{type:Boolean,default:!1},data:{type:Object,default:()=>{}}},emits:["update:show"],setup(e,{emit:t}){const n=t,r=()=>{n("update:show",!1)};return(o,i)=>{const a=d.resolveComponent("a-option"),s=d.resolveComponent("a-select"),l=d.resolveComponent("a-drawer");return d.openBlock(),d.createBlock(l,{width:500,visible:e.show,footer:!1,onCancel:r,unmountOnClose:""},{title:d.withCtx(()=>[d.createTextVNode(d.toDisplayString(e.data.type)+"组件编辑 ",1)]),default:d.withCtx(()=>[d.createElementVNode("div",_Ee,[d.createElementVNode("div",NEe,[i[9]||(i[9]=d.createElementVNode("span",{class:"header-title"},"组件宽度",-1)),d.createVNode(s,{modelValue:e.data.data.width,"onUpdate:modelValue":i[0]||(i[0]=u=>e.data.data.width=u),placeholder:"请选择","allow-clear":""},{default:d.withCtx(()=>[d.createVNode(a,{value:"default"},{default:d.withCtx(()=>i[5]||(i[5]=[d.createTextVNode("默认")])),_:1,__:[5]}),d.createVNode(a,{value:"small"},{default:d.withCtx(()=>i[6]||(i[6]=[d.createTextVNode("小")])),_:1,__:[6]}),d.createVNode(a,{value:"medium"},{default:d.withCtx(()=>i[7]||(i[7]=[d.createTextVNode("中")])),_:1,__:[7]}),d.createVNode(a,{value:"large"},{default:d.withCtx(()=>i[8]||(i[8]=[d.createTextVNode("大")])),_:1,__:[8]})]),_:1},8,["modelValue"])]),d.createElementVNode("div",PEe,[i[12]||(i[12]=d.createElementVNode("span",{class:"header-title"},"组件背景",-1)),d.createVNode(s,{modelValue:e.data.data.bgColor,"onUpdate:modelValue":i[1]||(i[1]=u=>e.data.data.bgColor=u),placeholder:"请选择","allow-clear":""},{default:d.withCtx(()=>[d.createVNode(a,{value:"#ffffff"},{default:d.withCtx(()=>i[10]||(i[10]=[d.createTextVNode("白色")])),_:1,__:[10]}),d.createVNode(a,{value:"#F7F7FA"},{default:d.withCtx(()=>i[11]||(i[11]=[d.createTextVNode("灰色")])),_:1,__:[11]})]),_:1},8,["modelValue"])]),d.createElementVNode("div",FEe,[i[15]||(i[15]=d.createElementVNode("span",{class:"header-title"},"是否显示下划线",-1)),d.createVNode(s,{modelValue:e.data.data.hasLine,"onUpdate:modelValue":i[2]||(i[2]=u=>e.data.data.hasLine=u),placeholder:"请选择","allow-clear":""},{default:d.withCtx(()=>[d.createVNode(a,{value:!0},{default:d.withCtx(()=>i[13]||(i[13]=[d.createTextVNode("是")])),_:1,__:[13]}),d.createVNode(a,{value:!1},{default:d.withCtx(()=>i[14]||(i[14]=[d.createTextVNode("否")])),_:1,__:[14]})]),_:1},8,["modelValue"])]),i[16]||(i[16]=d.createElementVNode("p",{class:"item-title"},"标题",-1)),d.createVNode(d.unref(yh),{modelValue:e.data.data.text,"onUpdate:modelValue":i[3]||(i[3]=u=>e.data.data.text=u)},null,8,["modelValue"]),i[17]||(i[17]=d.createElementVNode("p",{class:"item-title"},"内容",-1)),d.createVNode(d.unref(yh),{modelValue:e.data.data.desc,"onUpdate:modelValue":i[4]||(i[4]=u=>e.data.data.desc=u)},null,8,["modelValue"])])]),_:1},8,["visible"])}}}),[["__scopeId","data-v-5f93f285"]]),LEe={key:0,class:"quote-text__line"},IEe=["innerHTML"],jEe=["innerHTML"],mD=lt(d.defineComponent({name:"OuoteText",__name:"index",props:{modelValue:{type:Object,default:()=>{}},isPreview:{type:Boolean,default:!1}},emits:["update:modelValue","handleDelete","handleCopy"],setup(e,{emit:t}){const n=e,r=t,o=()=>{var c,f;if(n.modelValue&&n.modelValue.data)return;const u={id:((c=n.modelValue)==null?void 0:c.id)||ve(),type:"OuoteText",readOnly:((f=n.modelValue)==null?void 0:f.readOnly)||!1,data:{width:"",bgColor:"",hasLine:!0,text:"浙江桐乡特色高中将于今年9月成立!",desc:"耀华国际教育学校浙江桐乡校区成立于 2017 年,先进的校园设施确保学 生在安全友好的环境中学习。学校坐落于高桥镇,提供从幼儿阶段至高中 阶段 (K2 至13 年级) 的教育服务,招收2 岁至18 岁本地和外籍学生。"}};r("update:modelValue",u)},i=d.ref(!1),a=d.ref(!1),s=()=>{r("handleDelete",n.modelValue.id)},l=()=>{r("handleCopy",n.modelValue)};return o(),(u,c)=>{var f,p,h,v,m;return d.openBlock(),d.createElementBlock(d.Fragment,null,[d.createElementVNode("div",{class:"quote-text",onMouseenter:c[2]||(c[2]=y=>i.value=!0),onMouseleave:c[3]||(c[3]=y=>i.value=!1)},[d.createElementVNode("div",{class:"quote-text__container quote-text--normal container-content",style:d.normalizeStyle({background:((f=e.modelValue)==null?void 0:f.data.bgColor)||"transparent"})},[(p=e.modelValue)!=null&&p.data.hasLine?(d.openBlock(),d.createElementBlock("div",LEe)):d.createCommentVNode("",!0),d.createElementVNode("div",{class:"quote-text__content",innerHTML:(h=e.modelValue)==null?void 0:h.data.text},null,8,IEe),d.createElementVNode("div",{class:"quote-text__desc",innerHTML:(v=e.modelValue)==null?void 0:v.data.desc},null,8,jEe)],4),(m=e.modelValue)!=null&&m.readOnly?d.createCommentVNode("",!0):(d.openBlock(),d.createBlock(bi,{key:0,show:i.value,"onUpdate:show":c[0]||(c[0]=y=>i.value=y),onHandleEdit:c[1]||(c[1]=y=>a.value=!0),onHandleDelete:s,onHandleCopy:l},null,8,["show"]))],32),d.createVNode(VEe,{show:a.value,"onUpdate:show":c[4]||(c[4]=y=>a.value=y),data:e.modelValue},null,8,["show","data"])],64)}}}),[["__scopeId","data-v-8392822c"]]),MEe={install:e=>{e.component("ArticleList",uD)}},REe={install:e=>{e.component("BannerPage",cD)}},zEe={install:e=>{e.component("CustomSpace",dD)}},HEe={install:e=>{e.component("HeroSlide",fD)}},UEe={install:e=>{e.component("BannerImage",pD)}},GEe={install:e=>{e.component("BtnList",_y)}},WEe={install:e=>{e.component("GalleryList",hD)}},qEe={install:e=>{e.component("LinkList",gD)}},KEe={install:e=>{e.component("BannerImage",mD)}},vD={default:{primaryColor:"#3b82f6",secondaryColor:"#a855f7",fontSize:"14px",fontFamily:"Inter, sans-serif",borderRadius:"6px",spacing:"16px"},dark:{primaryColor:"#60a5fa",secondaryColor:"#c084fc",fontSize:"14px",fontFamily:"Inter, sans-serif",borderRadius:"6px",spacing:"16px"},compact:{primaryColor:"#3b82f6",secondaryColor:"#a855f7",fontSize:"12px",fontFamily:"Inter, sans-serif",borderRadius:"4px",spacing:"12px"},large:{primaryColor:"#3b82f6",secondaryColor:"#a855f7",fontSize:"16px",fontFamily:"Inter, sans-serif",borderRadius:"8px",spacing:"20px"}},$n=d.ref(vD.default),Mo=d.ref(!1);function YEe(){const e=v=>{typeof v=="string"?$n.value={...vD[v]}:$n.value={...v},r()},t=v=>{$n.value={...$n.value,...v},r()},n=()=>{Mo.value=!Mo.value,document.documentElement.classList.toggle("dark",Mo.value)},r=()=>{const v=document.documentElement,m=$n.value;v.style.setProperty("--theme-primary",m.primaryColor),v.style.setProperty("--theme-secondary",m.secondaryColor),v.style.setProperty("--font-size-default",m.fontSize),v.style.setProperty("--font-family-sans",m.fontFamily),v.style.setProperty("--radius-md",m.borderRadius),v.style.setProperty("--spacing-md",m.spacing)},o=v=>d.computed(()=>v==="primary"?$n.value.primaryColor:$n.value.secondaryColor),i=()=>d.computed(()=>$n.value.fontSize),a=()=>d.computed(()=>$n.value.fontFamily),s=()=>d.computed(()=>$n.value.borderRadius),l=()=>d.computed(()=>$n.value.spacing),u=()=>{e("default"),Mo.value=!1,document.documentElement.classList.remove("dark")},c=()=>JSON.stringify($n.value,null,2),f=v=>{try{const m=JSON.parse(v);return e(m),!0}catch(m){return console.error("Invalid theme configuration:",m),!1}},p=()=>{const v=localStorage.getItem("officialblock-theme"),m=localStorage.getItem("officialblock-dark-mode");if(v)try{const g=JSON.parse(v);e(g)}catch(g){console.error("Failed to restore theme:",g)}m&&(Mo.value=m==="true",document.documentElement.classList.toggle("dark",Mo.value));const y=window.matchMedia("(prefers-color-scheme: dark)"),b=g=>{localStorage.getItem("officialblock-dark-mode")||(Mo.value=g.matches,document.documentElement.classList.toggle("dark",Mo.value))};y.addEventListener("change",b),r()},h=()=>{localStorage.setItem("officialblock-theme",JSON.stringify($n.value)),localStorage.setItem("officialblock-dark-mode",Mo.value.toString())};return{currentTheme:d.computed(()=>$n.value),isDarkMode:d.computed(()=>Mo.value),themePresets:vD,setTheme:e,updateTheme:t,toggleDarkMode:n,resetTheme:u,exportTheme:c,importTheme:f,initTheme:p,saveTheme:h,getThemeColor:o,getFontSize:i,getFontFamily:a,getBorderRadius:s,getSpacing:l}}class XEe{static hexToRgb(t){const n=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);return n?{r:parseInt(n[1],16),g:parseInt(n[2],16),b:parseInt(n[3],16)}:null}static rgbToHex(t,n,r){return"#"+((1<<24)+(t<<16)+(n<<8)+r).toString(16).slice(1)}static adjustBrightness(t,n){const r=this.hexToRgb(t);if(!r)return t;const o=i=>{const a=Math.round(i*(1+n/100));return Math.max(0,Math.min(255,a))};return this.rgbToHex(o(r.r),o(r.g),o(r.b))}static generateColorScale(t){const n=[50,100,200,300,400,500,600,700,800,900,950],r={};return n.forEach((o,i)=>{let a;o<=500?a=80-i*16:a=-20-(i-5)*12,r[o.toString()]=this.adjustBrightness(t,a)}),r}static getContrastRatio(t,n){const r=l=>{const u=this.hexToRgb(l);if(!u)return 0;const c=f=>{const p=f/255;return p<=.03928?p/12.92:Math.pow((p+.055)/1.055,2.4)};return .2126*c(u.r)+.7152*c(u.g)+.0722*c(u.b)},o=r(t),i=r(n),a=Math.max(o,i),s=Math.min(o,i);return(a+.05)/(s+.05)}static isDarkColor(t){const n=this.hexToRgb(t);return n?(n.r*299+n.g*587+n.b*114)/1e3<128:!1}static getBestTextColor(t){return this.isDarkColor(t)?"#ffffff":"#000000"}static mixColors(t,n,r=.5){const o=this.hexToRgb(t),i=this.hexToRgb(n);if(!o||!i)return t;const a=(s,l)=>Math.round(s*(1-r)+l*r);return this.rgbToHex(a(o.r,i.r),a(o.g,i.g),a(o.b,i.b))}}class ZEe{static getCurrentBreakpoint(){const t=window.innerWidth;return t<475?"xs":t<640?"sm":t<768?"md":t<1024?"lg":t<1280?"xl":"2xl"}static isMobile(){return window.innerWidth<768}static isTablet(){const t=window.innerWidth;return t>=768&&t<1024}static isDesktop(){return window.innerWidth>=1024}static onBreakpointChange(t){let n=this.getCurrentBreakpoint();const r=()=>{const o=this.getCurrentBreakpoint();o!==n&&(n=o,t(o))};return window.addEventListener("resize",r),()=>{window.removeEventListener("resize",r)}}}class xz{static animate(t,n,r,o,i=this.easing.easeOutQuad){const a=performance.now();let s;const l=u=>{const c=u-a,f=Math.min(c/r,1),p=i(f),h=t+(n-t)*p;o(h),f<1&&(s=requestAnimationFrame(l))};return s=requestAnimationFrame(l),()=>{s&&cancelAnimationFrame(s)}}static scrollTo(t,n,r=300,o=this.easing.easeOutQuad){return new Promise(i=>{const a=t===window,s=a?window.pageYOffset:t.scrollTop;this.animate(s,n,r,l=>{a?window.scrollTo(0,l):t.scrollTop=l},o),setTimeout(i,r)})}}Hz(xz,"easing",{linear:t=>t,easeInQuad:t=>t*t,easeOutQuad:t=>t*(2-t),easeInOutQuad:t=>t<.5?2*t*t:-1+(4-2*t)*t,easeInCubic:t=>t*t*t,easeOutCubic:t=>--t*t*t+1,easeInOutCubic:t=>t<.5?4*t*t*t:(t-1)*(2*t-2)*(2*t-2)+1});class JEe{static setItem(t,n){try{return localStorage.setItem(t,JSON.stringify(n)),!0}catch(r){return console.warn("Failed to save to localStorage:",r),!1}}static getItem(t,n){try{const r=localStorage.getItem(t);return r?JSON.parse(r):n||null}catch(r){return console.warn("Failed to read from localStorage:",r),n||null}}static removeItem(t){try{return localStorage.removeItem(t),!0}catch(n){return console.warn("Failed to remove from localStorage:",n),!1}}static cleanExpired(){const t=Date.now(),n=[];for(let r=0;r<localStorage.length;r++){const o=localStorage.key(r);if(o&&o.startsWith("officialblock-"))try{const i=JSON.parse(localStorage.getItem(o)||"{}");i.expires&&i.expires<t&&n.push(o)}catch{}}n.forEach(r=>localStorage.removeItem(r))}}const QEe={install:e=>{e.component("ArticleList",uD),e.component("BannerImage",pD),e.component("BannerPage",cD),e.component("BtnList",_y),e.component("CustomSpace",dD),e.component("GalleryList",hD),e.component("HeroSlide",fD),e.component("LinkList",gD),e.component("QuoteText",mD)}};function Cz(e){return e!==null&&typeof e=="object"&&"constructor"in e&&e.constructor===Object}function yD(e,t){e===void 0&&(e={}),t===void 0&&(t={});const n=["__proto__","constructor","prototype"];Object.keys(t).filter(r=>n.indexOf(r)<0).forEach(r=>{typeof e[r]>"u"?e[r]=t[r]:Cz(t[r])&&Cz(e[r])&&Object.keys(t[r]).length>0&&yD(e[r],t[r])})}const Sz={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector(){return null},querySelectorAll(){return[]},getElementById(){return null},createEvent(){return{initEvent(){}}},createElement(){return{children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName(){return[]}}},createElementNS(){return{}},importNode(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function Ro(){const e=typeof document<"u"?document:{};return yD(e,Sz),e}const $Ee={document:Sz,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle(){return{getPropertyValue(){return""}}},Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia(){return{}},requestAnimationFrame(e){return typeof setTimeout>"u"?(e(),null):setTimeout(e,0)},cancelAnimationFrame(e){typeof setTimeout>"u"||clearTimeout(e)}};function Mn(){const e=typeof window<"u"?window:{};return yD(e,$Ee),e}function exe(e){return e===void 0&&(e=""),e.trim().split(" ").filter(t=>!!t.trim())}function txe(e){const t=e;Object.keys(t).forEach(n=>{try{t[n]=null}catch{}try{delete t[n]}catch{}})}function Dz(e,t){return t===void 0&&(t=0),setTimeout(e,t)}function Ny(){return Date.now()}function nxe(e){const t=Mn();let n;return t.getComputedStyle&&(n=t.getComputedStyle(e,null)),!n&&e.currentStyle&&(n=e.currentStyle),n||(n=e.style),n}function rxe(e,t){t===void 0&&(t="x");const n=Mn();let r,o,i;const a=nxe(e);return n.WebKitCSSMatrix?(o=a.transform||a.webkitTransform,o.split(",").length>6&&(o=o.split(", ").map(s=>s.replace(",",".")).join(", ")),i=new n.WebKitCSSMatrix(o==="none"?"":o)):(i=a.MozTransform||a.OTransform||a.MsTransform||a.msTransform||a.transform||a.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),r=i.toString().split(",")),t==="x"&&(n.WebKitCSSMatrix?o=i.m41:r.length===16?o=parseFloat(r[12]):o=parseFloat(r[4])),t==="y"&&(n.WebKitCSSMatrix?o=i.m42:r.length===16?o=parseFloat(r[13]):o=parseFloat(r[5])),o||0}function Py(e){return typeof e=="object"&&e!==null&&e.constructor&&Object.prototype.toString.call(e).slice(8,-1)==="Object"}function oxe(e){return typeof window<"u"&&typeof window.HTMLElement<"u"?e instanceof HTMLElement:e&&(e.nodeType===1||e.nodeType===11)}function yr(){const e=Object(arguments.length<=0?void 0:arguments[0]),t=["__proto__","constructor","prototype"];for(let n=1;n<arguments.length;n+=1){const r=n<0||arguments.length<=n?void 0:arguments[n];if(r!=null&&!oxe(r)){const o=Object.keys(Object(r)).filter(i=>t.indexOf(i)<0);for(let i=0,a=o.length;i<a;i+=1){const s=o[i],l=Object.getOwnPropertyDescriptor(r,s);l!==void 0&&l.enumerable&&(Py(e[s])&&Py(r[s])?r[s].__swiper__?e[s]=r[s]:yr(e[s],r[s]):!Py(e[s])&&Py(r[s])?(e[s]={},r[s].__swiper__?e[s]=r[s]:yr(e[s],r[s])):e[s]=r[s])}}}return e}function Fy(e,t,n){e.style.setProperty(t,n)}function kz(e){let{swiper:t,targetPosition:n,side:r}=e;const o=Mn(),i=-t.translate;let a=null,s;const l=t.params.speed;t.wrapperEl.style.scrollSnapType="none",o.cancelAnimationFrame(t.cssModeFrameID);const u=n>i?"next":"prev",c=(p,h)=>u==="next"&&p>=h||u==="prev"&&p<=h,f=()=>{s=new Date().getTime(),a===null&&(a=s);const p=Math.max(Math.min((s-a)/l,1),0),h=.5-Math.cos(p*Math.PI)/2;let v=i+h*(n-i);if(c(v,n)&&(v=n),t.wrapperEl.scrollTo({[r]:v}),c(v,n)){t.wrapperEl.style.overflow="hidden",t.wrapperEl.style.scrollSnapType="",setTimeout(()=>{t.wrapperEl.style.overflow="",t.wrapperEl.scrollTo({[r]:v})}),o.cancelAnimationFrame(t.cssModeFrameID);return}t.cssModeFrameID=o.requestAnimationFrame(f)};f()}function zo(e,t){t===void 0&&(t="");const n=Mn(),r=[...e.children];return n.HTMLSlotElement&&e instanceof HTMLSlotElement&&r.push(...e.assignedElements()),t?r.filter(o=>o.matches(t)):r}function ixe(e,t){const n=[t];for(;n.length>0;){const r=n.shift();if(e===r)return!0;n.push(...r.children,...r.shadowRoot?r.shadowRoot.children:[],...r.assignedElements?r.assignedElements():[])}}function axe(e,t){const n=Mn();let r=t.contains(e);return!r&&n.HTMLSlotElement&&t instanceof HTMLSlotElement&&(r=[...t.assignedElements()].includes(e),r||(r=ixe(e,t))),r}function Vy(e){try{console.warn(e);return}catch{}}function Ly(e,t){t===void 0&&(t=[]);const n=document.createElement(e);return n.classList.add(...Array.isArray(t)?t:exe(t)),n}function sxe(e,t){const n=[];for(;e.previousElementSibling;){const r=e.previousElementSibling;t?r.matches(t)&&n.push(r):n.push(r),e=r}return n}function lxe(e,t){const n=[];for(;e.nextElementSibling;){const r=e.nextElementSibling;t?r.matches(t)&&n.push(r):n.push(r),e=r}return n}function Ha(e,t){return Mn().getComputedStyle(e,null).getPropertyValue(t)}function Iy(e){let t=e,n;if(t){for(n=0;(t=t.previousSibling)!==null;)t.nodeType===1&&(n+=1);return n}}function Az(e,t){const n=[];let r=e.parentElement;for(;r;)t?r.matches(t)&&n.push(r):n.push(r),r=r.parentElement;return n}function bD(e,t,n){const r=Mn();return e[t==="width"?"offsetWidth":"offsetHeight"]+parseFloat(r.getComputedStyle(e,null).getPropertyValue(t==="width"?"margin-right":"margin-top"))+parseFloat(r.getComputedStyle(e,null).getPropertyValue(t==="width"?"margin-left":"margin-bottom"))}function gn(e){return(Array.isArray(e)?e:[e]).filter(t=>!!t)}function Oz(e,t){t===void 0&&(t=""),typeof trustedTypes<"u"?e.innerHTML=trustedTypes.createPolicy("html",{createHTML:n=>n}).createHTML(t):e.innerHTML=t}let wD;function uxe(){const e=Mn(),t=Ro();return{smoothScroll:t.documentElement&&t.documentElement.style&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch)}}function Tz(){return wD||(wD=uxe()),wD}let ED;function cxe(e){let{userAgent:t}=e===void 0?{}:e;const n=Tz(),r=Mn(),o=r.navigator.platform,i=t||r.navigator.userAgent,a={ios:!1,android:!1},s=r.screen.width,l=r.screen.height,u=i.match(/(Android);?[\s\/]+([\d.]+)?/);let c=i.match(/(iPad).*OS\s([\d_]+)/);const f=i.match(/(iPod)(.*OS\s([\d_]+))?/),p=!c&&i.match(/(iPhone\sOS|iOS)\s([\d_]+)/),h=o==="Win32";let v=o==="MacIntel";const m=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!c&&v&&n.touch&&m.indexOf(`${s}x${l}`)>=0&&(c=i.match(/(Version)\/([\d.]+)/),c||(c=[0,1,"13_0_0"]),v=!1),u&&!h&&(a.os="android",a.android=!0),(c||p||f)&&(a.os="ios",a.ios=!0),a}function Bz(e){return e===void 0&&(e={}),ED||(ED=cxe(e)),ED}let xD;function dxe(){const e=Mn(),t=Bz();let n=!1;function r(){const s=e.navigator.userAgent.toLowerCase();return s.indexOf("safari")>=0&&s.indexOf("chrome")<0&&s.indexOf("android")<0}if(r()){const s=String(e.navigator.userAgent);if(s.includes("Version/")){const[l,u]=s.split("Version/")[1].split(" ")[0].split(".").map(c=>Number(c));n=l<16||l===16&&u<2}}const o=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent),i=r(),a=i||o&&t.ios;return{isSafari:n||i,needPerspectiveFix:n,need3dFix:a,isWebView:o}}function _z(){return xD||(xD=dxe()),xD}function fxe(e){let{swiper:t,on:n,emit:r}=e;const o=Mn();let i=null,a=null;const s=()=>{!t||t.destroyed||!t.initialized||(r("beforeResize"),r("resize"))},l=()=>{!t||t.destroyed||!t.initialized||(i=new ResizeObserver(f=>{a=o.requestAnimationFrame(()=>{const{width:p,height:h}=t;let v=p,m=h;f.forEach(y=>{let{contentBoxSize:b,contentRect:g,target:w}=y;w&&w!==t.el||(v=g?g.width:(b[0]||b).inlineSize,m=g?g.height:(b[0]||b).blockSize)}),(v!==p||m!==h)&&s()})}),i.observe(t.el))},u=()=>{a&&o.cancelAnimationFrame(a),i&&i.unobserve&&t.el&&(i.unobserve(t.el),i=null)},c=()=>{!t||t.destroyed||!t.initialized||r("orientationchange")};n("init",()=>{if(t.params.resizeObserver&&typeof o.ResizeObserver<"u"){l();return}o.addEventListener("resize",s),o.addEventListener("orientationchange",c)}),n("destroy",()=>{u(),o.removeEventListener("resize",s),o.removeEventListener("orientationchange",c)})}function pxe(e){let{swiper:t,extendParams:n,on:r,emit:o}=e;const i=[],a=Mn(),s=function(c,f){f===void 0&&(f={});const p=a.MutationObserver||a.WebkitMutationObserver,h=new p(v=>{if(t.__preventObserver__)return;if(v.length===1){o("observerUpdate",v[0]);return}const m=function(){o("observerUpdate",v[0])};a.requestAnimationFrame?a.requestAnimationFrame(m):a.setTimeout(m,0)});h.observe(c,{attributes:typeof f.attributes>"u"?!0:f.attributes,childList:t.isElement||(typeof f.childList>"u"?!0:f).childList,characterData:typeof f.characterData>"u"?!0:f.characterData}),i.push(h)},l=()=>{if(t.params.observer){if(t.params.observeParents){const c=Az(t.hostEl);for(let f=0;f<c.length;f+=1)s(c[f])}s(t.hostEl,{childList:t.params.observeSlideChildren}),s(t.wrapperEl,{attributes:!1})}},u=()=>{i.forEach(c=>{c.disconnect()}),i.splice(0,i.length)};n({observer:!1,observeParents:!1,observeSlideChildren:!1}),r("init",l),r("destroy",u)}var hxe={on(e,t,n){const r=this;if(!r.eventsListeners||r.destroyed||typeof t!="function")return r;const o=n?"unshift":"push";return e.split(" ").forEach(i=>{r.eventsListeners[i]||(r.eventsListeners[i]=[]),r.eventsListeners[i][o](t)}),r},once(e,t,n){const r=this;if(!r.eventsListeners||r.destroyed||typeof t!="function")return r;function o(){r.off(e,o),o.__emitterProxy&&delete o.__emitterProxy;for(var i=arguments.length,a=new Array(i),s=0;s<i;s++)a[s]=arguments[s];t.apply(r,a)}return o.__emitterProxy=t,r.on(e,o,n)},onAny(e,t){const n=this;if(!n.eventsListeners||n.destroyed||typeof e!="function")return n;const r=t?"unshift":"push";return n.eventsAnyListeners.indexOf(e)<0&&n.eventsAnyListeners[r](e),n},offAny(e){const t=this;if(!t.eventsListeners||t.destroyed||!t.eventsAnyListeners)return t;const n=t.eventsAnyListeners.indexOf(e);return n>=0&&t.eventsAnyListeners.splice(n,1),t},off(e,t){const n=this;return!n.eventsListeners||n.destroyed||!n.eventsListeners||e.split(" ").forEach(r=>{typeof t>"u"?n.eventsListeners[r]=[]:n.eventsListeners[r]&&n.eventsListeners[r].forEach((o,i)=>{(o===t||o.__emitterProxy&&o.__emitterProxy===t)&&n.eventsListeners[r].splice(i,1)})}),n},emit(){const e=this;if(!e.eventsListeners||e.destroyed||!e.eventsListeners)return e;let t,n,r;for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return typeof i[0]=="string"||Array.isArray(i[0])?(t=i[0],n=i.slice(1,i.length),r=e):(t=i[0].events,n=i[0].data,r=i[0].context||e),n.unshift(r),(Array.isArray(t)?t:t.split(" ")).forEach(l=>{e.eventsAnyListeners&&e.eventsAnyListeners.length&&e.eventsAnyListeners.forEach(u=>{u.apply(r,[l,...n])}),e.eventsListeners&&e.eventsListeners[l]&&e.eventsListeners[l].forEach(u=>{u.apply(r,n)})}),e}};function gxe(){const e=this;let t,n;const r=e.el;typeof e.params.width<"u"&&e.params.width!==null?t=e.params.width:t=r.clientWidth,typeof e.params.height<"u"&&e.params.height!==null?n=e.params.height:n=r.clientHeight,!(t===0&&e.isHorizontal()||n===0&&e.isVertical())&&(t=t-parseInt(Ha(r,"padding-left")||0,10)-parseInt(Ha(r,"padding-right")||0,10),n=n-parseInt(Ha(r,"padding-top")||0,10)-parseInt(Ha(r,"padding-bottom")||0,10),Number.isNaN(t)&&(t=0),Number.isNaN(n)&&(n=0),Object.assign(e,{width:t,height:n,size:e.isHorizontal()?t:n}))}function mxe(){const e=this;function t(_,P){return parseFloat(_.getPropertyValue(e.getDirectionLabel(P))||0)}const n=e.params,{wrapperEl:r,slidesEl:o,size:i,rtlTranslate:a,wrongRTL:s}=e,l=e.virtual&&n.virtual.enabled,u=l?e.virtual.slides.length:e.slides.length,c=zo(o,`.${e.params.slideClass}, swiper-slide`),f=l?e.virtual.slides.length:c.length;let p=[];const h=[],v=[];let m=n.slidesOffsetBefore;typeof m=="function"&&(m=n.slidesOffsetBefore.call(e));let y=n.slidesOffsetAfter;typeof y=="function"&&(y=n.slidesOffsetAfter.call(e));const b=e.snapGrid.length,g=e.slidesGrid.length;let w=n.spaceBetween,E=-m,C=0,S=0;if(typeof i>"u")return;typeof w=="string"&&w.indexOf("%")>=0?w=parseFloat(w.replace("%",""))/100*i:typeof w=="string"&&(w=parseFloat(w)),e.virtualSize=-w,c.forEach(_=>{a?_.style.marginLeft="":_.style.marginRight="",_.style.marginBottom="",_.style.marginTop=""}),n.centeredSlides&&n.cssMode&&(Fy(r,"--swiper-centered-offset-before",""),Fy(r,"--swiper-centered-offset-after",""));const x=n.grid&&n.grid.rows>1&&e.grid;x?e.grid.initSlides(c):e.grid&&e.grid.unsetSlides();let k;const O=n.slidesPerView==="auto"&&n.breakpoints&&Object.keys(n.breakpoints).filter(_=>typeof n.breakpoints[_].slidesPerView<"u").length>0;for(let _=0;_<f;_+=1){k=0;let P;if(c[_]&&(P=c[_]),x&&e.grid.updateSlide(_,P,c),!(c[_]&&Ha(P,"display")==="none")){if(n.slidesPerView==="auto"){O&&(c[_].style[e.getDirectionLabel("width")]="");const F=getComputedStyle(P),H=P.style.transform,R=P.style.webkitTransform;if(H&&(P.style.transform="none"),R&&(P.style.webkitTransform="none"),n.roundLengths)k=e.isHorizontal()?bD(P,"width"):bD(P,"height");else{const z=t(F,"width"),U=t(F,"padding-left"),Q=t(F,"padding-right"),Z=t(F,"margin-left"),te=t(F,"margin-right"),G=F.getPropertyValue("box-sizing");if(G&&G==="border-box")k=z+Z+te;else{const{clientWidth:A,offsetWidth:T}=P;k=z+U+Q+Z+te+(T-A)}}H&&(P.style.transform=H),R&&(P.style.webkitTransform=R),n.roundLengths&&(k=Math.floor(k))}else k=(i-(n.slidesPerView-1)*w)/n.slidesPerView,n.roundLengths&&(k=Math.floor(k)),c[_]&&(c[_].style[e.getDirectionLabel("width")]=`${k}px`);c[_]&&(c[_].swiperSlideSize=k),v.push(k),n.centeredSlides?(E=E+k/2+C/2+w,C===0&&_!==0&&(E=E-i/2-w),_===0&&(E=E-i/2-w),Math.abs(E)<1/1e3&&(E=0),n.roundLengths&&(E=Math.floor(E)),S%n.slidesPerGroup===0&&p.push(E),h.push(E)):(n.roundLengths&&(E=Math.floor(E)),(S-Math.min(e.params.slidesPerGroupSkip,S))%e.params.slidesPerGroup===0&&p.push(E),h.push(E),E=E+k+w),e.virtualSize+=k+w,C=k,S+=1}}if(e.virtualSize=Math.max(e.virtualSize,i)+y,a&&s&&(n.effect==="slide"||n.effect==="coverflow")&&(r.style.width=`${e.virtualSize+w}px`),n.setWrapperSize&&(r.style[e.getDirectionLabel("width")]=`${e.virtualSize+w}px`),x&&e.grid.updateWrapperSize(k,p),!n.centeredSlides){const _=[];for(let P=0;P<p.length;P+=1){let F=p[P];n.roundLengths&&(F=Math.floor(F)),p[P]<=e.virtualSize-i&&_.push(F)}p=_,Math.floor(e.virtualSize-i)-Math.floor(p[p.length-1])>1&&p.push(e.virtualSize-i)}if(l&&n.loop){const _=v[0]+w;if(n.slidesPerGroup>1){const P=Math.ceil((e.virtual.slidesBefore+e.virtual.slidesAfter)/n.slidesPerGroup),F=_*n.slidesPerGroup;for(let H=0;H<P;H+=1)p.push(p[p.length-1]+F)}for(let P=0;P<e.virtual.slidesBefore+e.virtual.slidesAfter;P+=1)n.slidesPerGroup===1&&p.push(p[p.length-1]+_),h.push(h[h.length-1]+_),e.virtualSize+=_}if(p.length===0&&(p=[0]),w!==0){const _=e.isHorizontal()&&a?"marginLeft":e.getDirectionLabel("marginRight");c.filter((P,F)=>!n.cssMode||n.loop?!0:F!==c.length-1).forEach(P=>{P.style[_]=`${w}px`})}if(n.centeredSlides&&n.centeredSlidesBounds){let _=0;v.forEach(F=>{_+=F+(w||0)}),_-=w;const P=_>i?_-i:0;p=p.map(F=>F<=0?-m:F>P?P+y:F)}if(n.centerInsufficientSlides){let _=0;v.forEach(F=>{_+=F+(w||0)}),_-=w;const P=(n.slidesOffsetBefore||0)+(n.slidesOffsetAfter||0);if(_+P<i){const F=(i-_-P)/2;p.forEach((H,R)=>{p[R]=H-F}),h.forEach((H,R)=>{h[R]=H+F})}}if(Object.assign(e,{slides:c,snapGrid:p,slidesGrid:h,slidesSizesGrid:v}),n.centeredSlides&&n.cssMode&&!n.centeredSlidesBounds){Fy(r,"--swiper-centered-offset-before",`${-p[0]}px`),Fy(r,"--swiper-centered-offset-after",`${e.size/2-v[v.length-1]/2}px`);const _=-e.snapGrid[0],P=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map(F=>F+_),e.slidesGrid=e.slidesGrid.map(F=>F+P)}if(f!==u&&e.emit("slidesLengthChange"),p.length!==b&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),h.length!==g&&e.emit("slidesGridLengthChange"),n.watchSlidesProgress&&e.updateSlidesOffset(),e.emit("slidesUpdated"),!l&&!n.cssMode&&(n.effect==="slide"||n.effect==="fade")){const _=`${n.containerModifierClass}backface-hidden`,P=e.el.classList.contains(_);f<=n.maxBackfaceHiddenSlides?P||e.el.classList.add(_):P&&e.el.classList.remove(_)}}function vxe(e){const t=this,n=[],r=t.virtual&&t.params.virtual.enabled;let o=0,i;typeof e=="number"?t.setTransition(e):e===!0&&t.setTransition(t.params.speed);const a=s=>r?t.slides[t.getSlideIndexByData(s)]:t.slides[s];if(t.params.slidesPerView!=="auto"&&t.params.slidesPerView>1)if(t.params.centeredSlides)(t.visibleSlides||[]).forEach(s=>{n.push(s)});else for(i=0;i<Math.ceil(t.params.slidesPerView);i+=1){const s=t.activeIndex+i;if(s>t.slides.length&&!r)break;n.push(a(s))}else n.push(a(t.activeIndex));for(i=0;i<n.length;i+=1)if(typeof n[i]<"u"){const s=n[i].offsetHeight;o=s>o?s:o}(o||o===0)&&(t.wrapperEl.style.height=`${o}px`)}function yxe(){const e=this,t=e.slides,n=e.isElement?e.isHorizontal()?e.wrapperEl.offsetLeft:e.wrapperEl.offsetTop:0;for(let r=0;r<t.length;r+=1)t[r].swiperSlideOffset=(e.isHorizontal()?t[r].offsetLeft:t[r].offsetTop)-n-e.cssOverflowAdjustment()}const Nz=(e,t,n)=>{t&&!e.classList.contains(n)?e.classList.add(n):!t&&e.classList.contains(n)&&e.classList.remove(n)};function bxe(e){e===void 0&&(e=this&&this.translate||0);const t=this,n=t.params,{slides:r,rtlTranslate:o,snapGrid:i}=t;if(r.length===0)return;typeof r[0].swiperSlideOffset>"u"&&t.updateSlidesOffset();let a=-e;o&&(a=e),t.visibleSlidesIndexes=[],t.visibleSlides=[];let s=n.spaceBetween;typeof s=="string"&&s.indexOf("%")>=0?s=parseFloat(s.replace("%",""))/100*t.size:typeof s=="string"&&(s=parseFloat(s));for(let l=0;l<r.length;l+=1){const u=r[l];let c=u.swiperSlideOffset;n.cssMode&&n.centeredSlides&&(c-=r[0].swiperSlideOffset);const f=(a+(n.centeredSlides?t.minTranslate():0)-c)/(u.swiperSlideSize+s),p=(a-i[0]+(n.centeredSlides?t.minTranslate():0)-c)/(u.swiperSlideSize+s),h=-(a-c),v=h+t.slidesSizesGrid[l],m=h>=0&&h<=t.size-t.slidesSizesGrid[l],y=h>=0&&h<t.size-1||v>1&&v<=t.size||h<=0&&v>=t.size;y&&(t.visibleSlides.push(u),t.visibleSlidesIndexes.push(l)),Nz(u,y,n.slideVisibleClass),Nz(u,m,n.slideFullyVisibleClass),u.progress=o?-f:f,u.originalProgress=o?-p:p}}function wxe(e){const t=this;if(typeof e>"u"){const c=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*c||0}const n=t.params,r=t.maxTranslate()-t.minTranslate();let{progress:o,isBeginning:i,isEnd:a,progressLoop:s}=t;const l=i,u=a;if(r===0)o=0,i=!0,a=!0;else{o=(e-t.minTranslate())/r;const c=Math.abs(e-t.minTranslate())<1,f=Math.abs(e-t.maxTranslate())<1;i=c||o<=0,a=f||o>=1,c&&(o=0),f&&(o=1)}if(n.loop){const c=t.getSlideIndexByData(0),f=t.getSlideIndexByData(t.slides.length-1),p=t.slidesGrid[c],h=t.slidesGrid[f],v=t.slidesGrid[t.slidesGrid.length-1],m=Math.abs(e);m>=p?s=(m-p)/v:s=(m+v-h)/v,s>1&&(s-=1)}Object.assign(t,{progress:o,progressLoop:s,isBeginning:i,isEnd:a}),(n.watchSlidesProgress||n.centeredSlides&&n.autoHeight)&&t.updateSlidesProgress(e),i&&!l&&t.emit("reachBeginning toEdge"),a&&!u&&t.emit("reachEnd toEdge"),(l&&!i||u&&!a)&&t.emit("fromEdge"),t.emit("progress",o)}const CD=(e,t,n)=>{t&&!e.classList.contains(n)?e.classList.add(n):!t&&e.classList.contains(n)&&e.classList.remove(n)};function Exe(){const e=this,{slides:t,params:n,slidesEl:r,activeIndex:o}=e,i=e.virtual&&n.virtual.enabled,a=e.grid&&n.grid&&n.grid.rows>1,s=f=>zo(r,`.${n.slideClass}${f}, swiper-slide${f}`)[0];let l,u,c;if(i)if(n.loop){let f=o-e.virtual.slidesBefore;f<0&&(f=e.virtual.slides.length+f),f>=e.virtual.slides.length&&(f-=e.virtual.slides.length),l=s(`[data-swiper-slide-index="${f}"]`)}else l=s(`[data-swiper-slide-index="${o}"]`);else a?(l=t.find(f=>f.column===o),c=t.find(f=>f.column===o+1),u=t.find(f=>f.column===o-1)):l=t[o];l&&(a||(c=lxe(l,`.${n.slideClass}, swiper-slide`)[0],n.loop&&!c&&(c=t[0]),u=sxe(l,`.${n.slideClass}, swiper-slide`)[0],n.loop&&!u===0&&(u=t[t.length-1]))),t.forEach(f=>{CD(f,f===l,n.slideActiveClass),CD(f,f===c,n.slideNextClass),CD(f,f===u,n.slidePrevClass)}),e.emitSlidesClasses()}const jy=(e,t)=>{if(!e||e.destroyed||!e.params)return;const n=()=>e.isElement?"swiper-slide":`.${e.params.slideClass}`,r=t.closest(n());if(r){let o=r.querySelector(`.${e.params.lazyPreloaderClass}`);!o&&e.isElement&&(r.shadowRoot?o=r.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{r.shadowRoot&&(o=r.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`),o&&o.remove())})),o&&o.remove()}},SD=(e,t)=>{if(!e.slides[t])return;const n=e.slides[t].querySelector('[loading="lazy"]');n&&n.removeAttribute("loading")},DD=e=>{if(!e||e.destroyed||!e.params)return;let t=e.params.lazyPreloadPrevNext;const n=e.slides.length;if(!n||!t||t<0)return;t=Math.min(t,n);const r=e.params.slidesPerView==="auto"?e.slidesPerViewDynamic():Math.ceil(e.params.slidesPerView),o=e.activeIndex;if(e.params.grid&&e.params.grid.rows>1){const a=o,s=[a-t];s.push(...Array.from({length:t}).map((l,u)=>a+r+u)),e.slides.forEach((l,u)=>{s.includes(l.column)&&SD(e,u)});return}const i=o+r-1;if(e.params.rewind||e.params.loop)for(let a=o-t;a<=i+t;a+=1){const s=(a%n+n)%n;(s<o||s>i)&&SD(e,s)}else for(let a=Math.max(o-t,0);a<=Math.min(i+t,n-1);a+=1)a!==o&&(a>i||a<o)&&SD(e,a)};function xxe(e){const{slidesGrid:t,params:n}=e,r=e.rtlTranslate?e.translate:-e.translate;let o;for(let i=0;i<t.length;i+=1)typeof t[i+1]<"u"?r>=t[i]&&r<t[i+1]-(t[i+1]-t[i])/2?o=i:r>=t[i]&&r<t[i+1]&&(o=i+1):r>=t[i]&&(o=i);return n.normalizeSlideIndex&&(o<0||typeof o>"u")&&(o=0),o}function Cxe(e){const t=this,n=t.rtlTranslate?t.translate:-t.translate,{snapGrid:r,params:o,activeIndex:i,realIndex:a,snapIndex:s}=t;let l=e,u;const c=h=>{let v=h-t.virtual.slidesBefore;return v<0&&(v=t.virtual.slides.length+v),v>=t.virtual.slides.length&&(v-=t.virtual.slides.length),v};if(typeof l>"u"&&(l=xxe(t)),r.indexOf(n)>=0)u=r.indexOf(n);else{const h=Math.min(o.slidesPerGroupSkip,l);u=h+Math.floor((l-h)/o.slidesPerGroup)}if(u>=r.length&&(u=r.length-1),l===i&&!t.params.loop){u!==s&&(t.snapIndex=u,t.emit("snapIndexChange"));return}if(l===i&&t.params.loop&&t.virtual&&t.params.virtual.enabled){t.realIndex=c(l);return}const f=t.grid&&o.grid&&o.grid.rows>1;let p;if(t.virtual&&o.virtual.enabled&&o.loop)p=c(l);else if(f){const h=t.slides.find(m=>m.column===l);let v=parseInt(h.getAttribute("data-swiper-slide-index"),10);Number.isNaN(v)&&(v=Math.max(t.slides.indexOf(h),0)),p=Math.floor(v/o.grid.rows)}else if(t.slides[l]){const h=t.slides[l].getAttribute("data-swiper-slide-index");h?p=parseInt(h,10):p=l}else p=l;Object.assign(t,{previousSnapIndex:s,snapIndex:u,previousRealIndex:a,realIndex:p,previousIndex:i,activeIndex:l}),t.initialized&&DD(t),t.emit("activeIndexChange"),t.emit("snapIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&(a!==p&&t.emit("realIndexChange"),t.emit("slideChange"))}function Sxe(e,t){const n=this,r=n.params;let o=e.closest(`.${r.slideClass}, swiper-slide`);!o&&n.isElement&&t&&t.length>1&&t.includes(e)&&[...t.slice(t.indexOf(e)+1,t.length)].forEach(s=>{!o&&s.matches&&s.matches(`.${r.slideClass}, swiper-slide`)&&(o=s)});let i=!1,a;if(o){for(let s=0;s<n.slides.length;s+=1)if(n.slides[s]===o){i=!0,a=s;break}}if(o&&i)n.clickedSlide=o,n.virtual&&n.params.virtual.enabled?n.clickedIndex=parseInt(o.getAttribute("data-swiper-slide-index"),10):n.clickedIndex=a;else{n.clickedSlide=void 0,n.clickedIndex=void 0;return}r.slideToClickedSlide&&n.clickedIndex!==void 0&&n.clickedIndex!==n.activeIndex&&n.slideToClickedSlide()}var Dxe={updateSize:gxe,updateSlides:mxe,updateAutoHeight:vxe,updateSlidesOffset:yxe,updateSlidesProgress:bxe,updateProgress:wxe,updateSlidesClasses:Exe,updateActiveIndex:Cxe,updateClickedSlide:Sxe};function kxe(e){e===void 0&&(e=this.isHorizontal()?"x":"y");const t=this,{params:n,rtlTranslate:r,translate:o,wrapperEl:i}=t;if(n.virtualTranslate)return r?-o:o;if(n.cssMode)return o;let a=rxe(i,e);return a+=t.cssOverflowAdjustment(),r&&(a=-a),a||0}function Axe(e,t){const n=this,{rtlTranslate:r,params:o,wrapperEl:i,progress:a}=n;let s=0,l=0;const u=0;n.isHorizontal()?s=r?-e:e:l=e,o.roundLengths&&(s=Math.floor(s),l=Math.floor(l)),n.previousTranslate=n.translate,n.translate=n.isHorizontal()?s:l,o.cssMode?i[n.isHorizontal()?"scrollLeft":"scrollTop"]=n.isHorizontal()?-s:-l:o.virtualTranslate||(n.isHorizontal()?s-=n.cssOverflowAdjustment():l-=n.cssOverflowAdjustment(),i.style.transform=`translate3d(${s}px, ${l}px, ${u}px)`);let c;const f=n.maxTranslate()-n.minTranslate();f===0?c=0:c=(e-n.minTranslate())/f,c!==a&&n.updateProgress(e),n.emit("setTranslate",n.translate,t)}function Oxe(){return-this.snapGrid[0]}function Txe(){return-this.snapGrid[this.snapGrid.length-1]}function Bxe(e,t,n,r,o){e===void 0&&(e=0),t===void 0&&(t=this.params.speed),n===void 0&&(n=!0),r===void 0&&(r=!0);const i=this,{params:a,wrapperEl:s}=i;if(i.animating&&a.preventInteractionOnTransition)return!1;const l=i.minTranslate(),u=i.maxTranslate();let c;if(r&&e>l?c=l:r&&e<u?c=u:c=e,i.updateProgress(c),a.cssMode){const f=i.isHorizontal();if(t===0)s[f?"scrollLeft":"scrollTop"]=-c;else{if(!i.support.smoothScroll)return kz({swiper:i,targetPosition:-c,side:f?"left":"top"}),!0;s.scrollTo({[f?"left":"top"]:-c,behavior:"smooth"})}return!0}return t===0?(i.setTransition(0),i.setTranslate(c),n&&(i.emit("beforeTransitionStart",t,o),i.emit("transitionEnd"))):(i.setTransition(t),i.setTranslate(c),n&&(i.emit("beforeTransitionStart",t,o),i.emit("transitionStart")),i.animating||(i.animating=!0,i.onTranslateToWrapperTransitionEnd||(i.onTranslateToWrapperTransitionEnd=function(p){!i||i.destroyed||p.target===this&&(i.wrapperEl.removeEventListener("transitionend",i.onTranslateToWrapperTransitionEnd),i.onTranslateToWrapperTransitionEnd=null,delete i.onTranslateToWrapperTransitionEnd,i.animating=!1,n&&i.emit("transitionEnd"))}),i.wrapperEl.addEventListener("transitionend",i.onTranslateToWrapperTransitionEnd))),!0}var _xe={getTranslate:kxe,setTranslate:Axe,minTranslate:Oxe,maxTranslate:Txe,translateTo:Bxe};function Nxe(e,t){const n=this;n.params.cssMode||(n.wrapperEl.style.transitionDuration=`${e}ms`,n.wrapperEl.style.transitionDelay=e===0?"0ms":""),n.emit("setTransition",e,t)}function Pz(e){let{swiper:t,runCallbacks:n,direction:r,step:o}=e;const{activeIndex:i,previousIndex:a}=t;let s=r;s||(i>a?s="next":i<a?s="prev":s="reset"),t.emit(`transition${o}`),n&&s==="reset"?t.emit(`slideResetTransition${o}`):n&&i!==a&&(t.emit(`slideChangeTransition${o}`),s==="next"?t.emit(`slideNextTransition${o}`):t.emit(`slidePrevTransition${o}`))}function Pxe(e,t){e===void 0&&(e=!0);const n=this,{params:r}=n;r.cssMode||(r.autoHeight&&n.updateAutoHeight(),Pz({swiper:n,runCallbacks:e,direction:t,step:"Start"}))}function Fxe(e,t){e===void 0&&(e=!0);const n=this,{params:r}=n;n.animating=!1,!r.cssMode&&(n.setTransition(0),Pz({swiper:n,runCallbacks:e,direction:t,step:"End"}))}var Vxe={setTransition:Nxe,transitionStart:Pxe,transitionEnd:Fxe};function Lxe(e,t,n,r,o){e===void 0&&(e=0),n===void 0&&(n=!0),typeof e=="string"&&(e=parseInt(e,10));const i=this;let a=e;a<0&&(a=0);const{params:s,snapGrid:l,slidesGrid:u,previousIndex:c,activeIndex:f,rtlTranslate:p,wrapperEl:h,enabled:v}=i;if(!v&&!r&&!o||i.destroyed||i.animating&&s.preventInteractionOnTransition)return!1;typeof t>"u"&&(t=i.params.speed);const m=Math.min(i.params.slidesPerGroupSkip,a);let y=m+Math.floor((a-m)/i.params.slidesPerGroup);y>=l.length&&(y=l.length-1);const b=-l[y];if(s.normalizeSlideIndex)for(let x=0;x<u.length;x+=1){const k=-Math.floor(b*100),O=Math.floor(u[x]*100),_=Math.floor(u[x+1]*100);typeof u[x+1]<"u"?k>=O&&k<_-(_-O)/2?a=x:k>=O&&k<_&&(a=x+1):k>=O&&(a=x)}if(i.initialized&&a!==f&&(!i.allowSlideNext&&(p?b>i.translate&&b>i.minTranslate():b<i.translate&&b<i.minTranslate())||!i.allowSlidePrev&&b>i.translate&&b>i.maxTranslate()&&(f||0)!==a))return!1;a!==(c||0)&&n&&i.emit("beforeSlideChangeStart"),i.updateProgress(b);let g;a>f?g="next":a<f?g="prev":g="reset";const w=i.virtual&&i.params.virtual.enabled;if(!(w&&o)&&(p&&-b===i.translate||!p&&b===i.translate))return i.updateActiveIndex(a),s.autoHeight&&i.updateAutoHeight(),i.updateSlidesClasses(),s.effect!=="slide"&&i.setTranslate(b),g!=="reset"&&(i.transitionStart(n,g),i.transitionEnd(n,g)),!1;if(s.cssMode){const x=i.isHorizontal(),k=p?b:-b;if(t===0)w&&(i.wrapperEl.style.scrollSnapType="none",i._immediateVirtual=!0),w&&!i._cssModeVirtualInitialSet&&i.params.initialSlide>0?(i._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{h[x?"scrollLeft":"scrollTop"]=k})):h[x?"scrollLeft":"scrollTop"]=k,w&&requestAnimationFrame(()=>{i.wrapperEl.style.scrollSnapType="",i._immediateVirtual=!1});else{if(!i.support.smoothScroll)return kz({swiper:i,targetPosition:k,side:x?"left":"top"}),!0;h.scrollTo({[x?"left":"top"]:k,behavior:"smooth"})}return!0}const S=_z().isSafari;return w&&!o&&S&&i.isElement&&i.virtual.update(!1,!1,a),i.setTransition(t),i.setTranslate(b),i.updateActiveIndex(a),i.updateSlidesClasses(),i.emit("beforeTransitionStart",t,r),i.transitionStart(n,g),t===0?i.transitionEnd(n,g):i.animating||(i.animating=!0,i.onSlideToWrapperTransitionEnd||(i.onSlideToWrapperTransitionEnd=function(k){!i||i.destroyed||k.target===this&&(i.wrapperEl.removeEventListener("transitionend",i.onSlideToWrapperTransitionEnd),i.onSlideToWrapperTransitionEnd=null,delete i.onSlideToWrapperTransitionEnd,i.transitionEnd(n,g))}),i.wrapperEl.addEventListener("transitionend",i.onSlideToWrapperTransitionEnd)),!0}function Ixe(e,t,n,r){e===void 0&&(e=0),n===void 0&&(n=!0),typeof e=="string"&&(e=parseInt(e,10));const o=this;if(o.destroyed)return;typeof t>"u"&&(t=o.params.speed);const i=o.grid&&o.params.grid&&o.params.grid.rows>1;let a=e;if(o.params.loop)if(o.virtual&&o.params.virtual.enabled)a=a+o.virtual.slidesBefore;else{let s;if(i){const p=a*o.params.grid.rows;s=o.slides.find(h=>h.getAttribute("data-swiper-slide-index")*1===p).column}else s=o.getSlideIndexByData(a);const l=i?Math.ceil(o.slides.length/o.params.grid.rows):o.slides.length,{centeredSlides:u}=o.params;let c=o.params.slidesPerView;c==="auto"?c=o.slidesPerViewDynamic():(c=Math.ceil(parseFloat(o.params.slidesPerView,10)),u&&c%2===0&&(c=c+1));let f=l-s<c;if(u&&(f=f||s<Math.ceil(c/2)),r&&u&&o.params.slidesPerView!=="auto"&&!i&&(f=!1),f){const p=u?s<o.activeIndex?"prev":"next":s-o.activeIndex-1<o.params.slidesPerView?"next":"prev";o.loopFix({direction:p,slideTo:!0,activeSlideIndex:p==="next"?s+1:s-l+1,slideRealIndex:p==="next"?o.realIndex:void 0})}if(i){const p=a*o.params.grid.rows;a=o.slides.find(h=>h.getAttribute("data-swiper-slide-index")*1===p).column}else a=o.getSlideIndexByData(a)}return requestAnimationFrame(()=>{o.slideTo(a,t,n,r)}),o}function jxe(e,t,n){t===void 0&&(t=!0);const r=this,{enabled:o,params:i,animating:a}=r;if(!o||r.destroyed)return r;typeof e>"u"&&(e=r.params.speed);let s=i.slidesPerGroup;i.slidesPerView==="auto"&&i.slidesPerGroup===1&&i.slidesPerGroupAuto&&(s=Math.max(r.slidesPerViewDynamic("current",!0),1));const l=r.activeIndex<i.slidesPerGroupSkip?1:s,u=r.virtual&&i.virtual.enabled;if(i.loop){if(a&&!u&&i.loopPreventsSliding)return!1;if(r.loopFix({direction:"next"}),r._clientLeft=r.wrapperEl.clientLeft,r.activeIndex===r.slides.length-1&&i.cssMode)return requestAnimationFrame(()=>{r.slideTo(r.activeIndex+l,e,t,n)}),!0}return i.rewind&&r.isEnd?r.slideTo(0,e,t,n):r.slideTo(r.activeIndex+l,e,t,n)}function Mxe(e,t,n){t===void 0&&(t=!0);const r=this,{params:o,snapGrid:i,slidesGrid:a,rtlTranslate:s,enabled:l,animating:u}=r;if(!l||r.destroyed)return r;typeof e>"u"&&(e=r.params.speed);const c=r.virtual&&o.virtual.enabled;if(o.loop){if(u&&!c&&o.loopPreventsSliding)return!1;r.loopFix({direction:"prev"}),r._clientLeft=r.wrapperEl.clientLeft}const f=s?r.translate:-r.translate;function p(g){return g<0?-Math.floor(Math.abs(g)):Math.floor(g)}const h=p(f),v=i.map(g=>p(g)),m=o.freeMode&&o.freeMode.enabled;let y=i[v.indexOf(h)-1];if(typeof y>"u"&&(o.cssMode||m)){let g;i.forEach((w,E)=>{h>=w&&(g=E)}),typeof g<"u"&&(y=m?i[g]:i[g>0?g-1:g])}let b=0;if(typeof y<"u"&&(b=a.indexOf(y),b<0&&(b=r.activeIndex-1),o.slidesPerView==="auto"&&o.slidesPerGroup===1&&o.slidesPerGroupAuto&&(b=b-r.slidesPerViewDynamic("previous",!0)+1,b=Math.max(b,0))),o.rewind&&r.isBeginning){const g=r.params.virtual&&r.params.virtual.enabled&&r.virtual?r.virtual.slides.length-1:r.slides.length-1;return r.slideTo(g,e,t,n)}else if(o.loop&&r.activeIndex===0&&o.cssMode)return requestAnimationFrame(()=>{r.slideTo(b,e,t,n)}),!0;return r.slideTo(b,e,t,n)}function Rxe(e,t,n){t===void 0&&(t=!0);const r=this;if(!r.destroyed)return typeof e>"u"&&(e=r.params.speed),r.slideTo(r.activeIndex,e,t,n)}function zxe(e,t,n,r){t===void 0&&(t=!0),r===void 0&&(r=.5);const o=this;if(o.destroyed)return;typeof e>"u"&&(e=o.params.speed);let i=o.activeIndex;const a=Math.min(o.params.slidesPerGroupSkip,i),s=a+Math.floor((i-a)/o.params.slidesPerGroup),l=o.rtlTranslate?o.translate:-o.translate;if(l>=o.snapGrid[s]){const u=o.snapGrid[s],c=o.snapGrid[s+1];l-u>(c-u)*r&&(i+=o.params.slidesPerGroup)}else{const u=o.snapGrid[s-1],c=o.snapGrid[s];l-u<=(c-u)*r&&(i-=o.params.slidesPerGroup)}return i=Math.max(i,0),i=Math.min(i,o.slidesGrid.length-1),o.slideTo(i,e,t,n)}function Hxe(){const e=this;if(e.destroyed)return;const{params:t,slidesEl:n}=e,r=t.slidesPerView==="auto"?e.slidesPerViewDynamic():t.slidesPerView;let o=e.getSlideIndexWhenGrid(e.clickedIndex),i;const a=e.isElement?"swiper-slide":`.${t.slideClass}`,s=e.grid&&e.params.grid&&e.params.grid.rows>1;if(t.loop){if(e.animating)return;i=parseInt(e.clickedSlide.getAttribute("data-swiper-slide-index"),10),t.centeredSlides?e.slideToLoop(i):o>(s?(e.slides.length-r)/2-(e.params.grid.rows-1):e.slides.length-r)?(e.loopFix(),o=e.getSlideIndex(zo(n,`${a}[data-swiper-slide-index="${i}"]`)[0]),Dz(()=>{e.slideTo(o)})):e.slideTo(o)}else e.slideTo(o)}var Uxe={slideTo:Lxe,slideToLoop:Ixe,slideNext:jxe,slidePrev:Mxe,slideReset:Rxe,slideToClosest:zxe,slideToClickedSlide:Hxe};function Gxe(e,t){const n=this,{params:r,slidesEl:o}=n;if(!r.loop||n.virtual&&n.params.virtual.enabled)return;const i=()=>{zo(o,`.${r.slideClass}, swiper-slide`).forEach((h,v)=>{h.setAttribute("data-swiper-slide-index",v)})},a=()=>{const p=zo(o,`.${r.slideBlankClass}`);p.forEach(h=>{h.remove()}),p.length>0&&(n.recalcSlides(),n.updateSlides())},s=n.grid&&r.grid&&r.grid.rows>1;r.loopAddBlankSlides&&(r.slidesPerGroup>1||s)&&a();const l=r.slidesPerGroup*(s?r.grid.rows:1),u=n.slides.length%l!==0,c=s&&n.slides.length%r.grid.rows!==0,f=p=>{for(let h=0;h<p;h+=1){const v=n.isElement?Ly("swiper-slide",[r.slideBlankClass]):Ly("div",[r.slideClass,r.slideBlankClass]);n.slidesEl.append(v)}};if(u){if(r.loopAddBlankSlides){const p=l-n.slides.length%l;f(p),n.recalcSlides(),n.updateSlides()}else Vy("Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");i()}else if(c){if(r.loopAddBlankSlides){const p=r.grid.rows-n.slides.length%r.grid.rows;f(p),n.recalcSlides(),n.updateSlides()}else Vy("Swiper Loop Warning: The number of slides is not even to grid.rows, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");i()}else i();n.loopFix({slideRealIndex:e,direction:r.centeredSlides?void 0:"next",initial:t})}function Wxe(e){let{slideRealIndex:t,slideTo:n=!0,direction:r,setTranslate:o,activeSlideIndex:i,initial:a,byController:s,byMousewheel:l}=e===void 0?{}:e;const u=this;if(!u.params.loop)return;u.emit("beforeLoopFix");const{slides:c,allowSlidePrev:f,allowSlideNext:p,slidesEl:h,params:v}=u,{centeredSlides:m,initialSlide:y}=v;if(u.allowSlidePrev=!0,u.allowSlideNext=!0,u.virtual&&v.virtual.enabled){n&&(!v.centeredSlides&&u.snapIndex===0?u.slideTo(u.virtual.slides.length,0,!1,!0):v.centeredSlides&&u.snapIndex<v.slidesPerView?u.slideTo(u.virtual.slides.length+u.snapIndex,0,!1,!0):u.snapIndex===u.snapGrid.length-1&&u.slideTo(u.virtual.slidesBefore,0,!1,!0)),u.allowSlidePrev=f,u.allowSlideNext=p,u.emit("loopFix");return}let b=v.slidesPerView;b==="auto"?b=u.slidesPerViewDynamic():(b=Math.ceil(parseFloat(v.slidesPerView,10)),m&&b%2===0&&(b=b+1));const g=v.slidesPerGroupAuto?b:v.slidesPerGroup;let w=m?Math.max(g,Math.ceil(b/2)):g;w%g!==0&&(w+=g-w%g),w+=v.loopAdditionalSlides,u.loopedSlides=w;const E=u.grid&&v.grid&&v.grid.rows>1;c.length<b+w||u.params.effect==="cards"&&c.length<b+w*2?Vy("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled or not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters"):E&&v.grid.fill==="row"&&Vy("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const C=[],S=[],x=E?Math.ceil(c.length/v.grid.rows):c.length,k=a&&x-y<b&&!m;let O=k?y:u.activeIndex;typeof i>"u"?i=u.getSlideIndex(c.find(U=>U.classList.contains(v.slideActiveClass))):O=i;const _=r==="next"||!r,P=r==="prev"||!r;let F=0,H=0;const z=(E?c[i].column:i)+(m&&typeof o>"u"?-b/2+.5:0);if(z<w){F=Math.max(w-z,g);for(let U=0;U<w-z;U+=1){const Q=U-Math.floor(U/x)*x;if(E){const Z=x-Q-1;for(let te=c.length-1;te>=0;te-=1)c[te].column===Z&&C.push(te)}else C.push(x-Q-1)}}else if(z+b>x-w){H=Math.max(z-(x-w*2),g),k&&(H=Math.max(H,b-x+y+1));for(let U=0;U<H;U+=1){const Q=U-Math.floor(U/x)*x;E?c.forEach((Z,te)=>{Z.column===Q&&S.push(te)}):S.push(Q)}}if(u.__preventObserver__=!0,requestAnimationFrame(()=>{u.__preventObserver__=!1}),u.params.effect==="cards"&&c.length<b+w*2&&(S.includes(i)&&S.splice(S.indexOf(i),1),C.includes(i)&&C.splice(C.indexOf(i),1)),P&&C.forEach(U=>{c[U].swiperLoopMoveDOM=!0,h.prepend(c[U]),c[U].swiperLoopMoveDOM=!1}),_&&S.forEach(U=>{c[U].swiperLoopMoveDOM=!0,h.append(c[U]),c[U].swiperLoopMoveDOM=!1}),u.recalcSlides(),v.slidesPerView==="auto"?u.updateSlides():E&&(C.length>0&&P||S.length>0&&_)&&u.slides.forEach((U,Q)=>{u.grid.updateSlide(Q,U,u.slides)}),v.watchSlidesProgress&&u.updateSlidesOffset(),n){if(C.length>0&&P){if(typeof t>"u"){const U=u.slidesGrid[O],Z=u.slidesGrid[O+F]-U;l?u.setTranslate(u.translate-Z):(u.slideTo(O+Math.ceil(F),0,!1,!0),o&&(u.touchEventsData.startTranslate=u.touchEventsData.startTranslate-Z,u.touchEventsData.currentTranslate=u.touchEventsData.currentTranslate-Z))}else if(o){const U=E?C.length/v.grid.rows:C.length;u.slideTo(u.activeIndex+U,0,!1,!0),u.touchEventsData.currentTranslate=u.translate}}else if(S.length>0&&_)if(typeof t>"u"){const U=u.slidesGrid[O],Z=u.slidesGrid[O-H]-U;l?u.setTranslate(u.translate-Z):(u.slideTo(O-H,0,!1,!0),o&&(u.touchEventsData.startTranslate=u.touchEventsData.startTranslate-Z,u.touchEventsData.currentTranslate=u.touchEventsData.currentTranslate-Z))}else{const U=E?S.length/v.grid.rows:S.length;u.slideTo(u.activeIndex-U,0,!1,!0)}}if(u.allowSlidePrev=f,u.allowSlideNext=p,u.controller&&u.controller.control&&!s){const U={slideRealIndex:t,direction:r,setTranslate:o,activeSlideIndex:i,byController:!0};Array.isArray(u.controller.control)?u.controller.control.forEach(Q=>{!Q.destroyed&&Q.params.loop&&Q.loopFix({...U,slideTo:Q.params.slidesPerView===v.slidesPerView?n:!1})}):u.controller.control instanceof u.constructor&&u.controller.control.params.loop&&u.controller.control.loopFix({...U,slideTo:u.controller.control.params.slidesPerView===v.slidesPerView?n:!1})}u.emit("loopFix")}function qxe(){const e=this,{params:t,slidesEl:n}=e;if(!t.loop||!n||e.virtual&&e.params.virtual.enabled)return;e.recalcSlides();const r=[];e.slides.forEach(o=>{const i=typeof o.swiperSlideIndex>"u"?o.getAttribute("data-swiper-slide-index")*1:o.swiperSlideIndex;r[i]=o}),e.slides.forEach(o=>{o.removeAttribute("data-swiper-slide-index")}),r.forEach(o=>{n.append(o)}),e.recalcSlides(),e.slideTo(e.realIndex,0)}var Kxe={loopCreate:Gxe,loopFix:Wxe,loopDestroy:qxe};function Yxe(e){const t=this;if(!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;const n=t.params.touchEventsTarget==="container"?t.el:t.wrapperEl;t.isElement&&(t.__preventObserver__=!0),n.style.cursor="move",n.style.cursor=e?"grabbing":"grab",t.isElement&&requestAnimationFrame(()=>{t.__preventObserver__=!1})}function Xxe(){const e=this;e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e.isElement&&(e.__preventObserver__=!0),e[e.params.touchEventsTarget==="container"?"el":"wrapperEl"].style.cursor="",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1}))}var Zxe={setGrabCursor:Yxe,unsetGrabCursor:Xxe};function Jxe(e,t){t===void 0&&(t=this);function n(r){if(!r||r===Ro()||r===Mn())return null;r.assignedSlot&&(r=r.assignedSlot);const o=r.closest(e);return!o&&!r.getRootNode?null:o||n(r.getRootNode().host)}return n(t)}function Fz(e,t,n){const r=Mn(),{params:o}=e,i=o.edgeSwipeDetection,a=o.edgeSwipeThreshold;return i&&(n<=a||n>=r.innerWidth-a)?i==="prevent"?(t.preventDefault(),!0):!1:!0}function Qxe(e){const t=this,n=Ro();let r=e;r.originalEvent&&(r=r.originalEvent);const o=t.touchEventsData;if(r.type==="pointerdown"){if(o.pointerId!==null&&o.pointerId!==r.pointerId)return;o.pointerId=r.pointerId}else r.type==="touchstart"&&r.targetTouches.length===1&&(o.touchId=r.targetTouches[0].identifier);if(r.type==="touchstart"){Fz(t,r,r.targetTouches[0].pageX);return}const{params:i,touches:a,enabled:s}=t;if(!s||!i.simulateTouch&&r.pointerType==="mouse"||t.animating&&i.preventInteractionOnTransition)return;!t.animating&&i.cssMode&&i.loop&&t.loopFix();let l=r.target;if(i.touchEventsTarget==="wrapper"&&!axe(l,t.wrapperEl)||"which"in r&&r.which===3||"button"in r&&r.button>0||o.isTouched&&o.isMoved)return;const u=!!i.noSwipingClass&&i.noSwipingClass!=="",c=r.composedPath?r.composedPath():r.path;u&&r.target&&r.target.shadowRoot&&c&&(l=c[0]);const f=i.noSwipingSelector?i.noSwipingSelector:`.${i.noSwipingClass}`,p=!!(r.target&&r.target.shadowRoot);if(i.noSwiping&&(p?Jxe(f,l):l.closest(f))){t.allowClick=!0;return}if(i.swipeHandler&&!l.closest(i.swipeHandler))return;a.currentX=r.pageX,a.currentY=r.pageY;const h=a.currentX,v=a.currentY;if(!Fz(t,r,h))return;Object.assign(o,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),a.startX=h,a.startY=v,o.touchStartTime=Ny(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,i.threshold>0&&(o.allowThresholdMove=!1);let m=!0;l.matches(o.focusableElements)&&(m=!1,l.nodeName==="SELECT"&&(o.isTouched=!1)),n.activeElement&&n.activeElement.matches(o.focusableElements)&&n.activeElement!==l&&(r.pointerType==="mouse"||r.pointerType!=="mouse"&&!l.matches(o.focusableElements))&&n.activeElement.blur();const y=m&&t.allowTouchMove&&i.touchStartPreventDefault;(i.touchStartForcePreventDefault||y)&&!l.isContentEditable&&r.preventDefault(),i.freeMode&&i.freeMode.enabled&&t.freeMode&&t.animating&&!i.cssMode&&t.freeMode.onTouchStart(),t.emit("touchStart",r)}function $xe(e){const t=Ro(),n=this,r=n.touchEventsData,{params:o,touches:i,rtlTranslate:a,enabled:s}=n;if(!s||!o.simulateTouch&&e.pointerType==="mouse")return;let l=e;if(l.originalEvent&&(l=l.originalEvent),l.type==="pointermove"&&(r.touchId!==null||l.pointerId!==r.pointerId))return;let u;if(l.type==="touchmove"){if(u=[...l.changedTouches].find(C=>C.identifier===r.touchId),!u||u.identifier!==r.touchId)return}else u=l;if(!r.isTouched){r.startMoving&&r.isScrolling&&n.emit("touchMoveOpposite",l);return}const c=u.pageX,f=u.pageY;if(l.preventedByNestedSwiper){i.startX=c,i.startY=f;return}if(!n.allowTouchMove){l.target.matches(r.focusableElements)||(n.allowClick=!1),r.isTouched&&(Object.assign(i,{startX:c,startY:f,currentX:c,currentY:f}),r.touchStartTime=Ny());return}if(o.touchReleaseOnEdges&&!o.loop)if(n.isVertical()){if(f<i.startY&&n.translate<=n.maxTranslate()||f>i.startY&&n.translate>=n.minTranslate()){r.isTouched=!1,r.isMoved=!1;return}}else{if(a&&(c>i.startX&&-n.translate<=n.maxTranslate()||c<i.startX&&-n.translate>=n.minTranslate()))return;if(!a&&(c<i.startX&&n.translate<=n.maxTranslate()||c>i.startX&&n.translate>=n.minTranslate()))return}if(t.activeElement&&t.activeElement.matches(r.focusableElements)&&t.activeElement!==l.target&&l.pointerType!=="mouse"&&t.activeElement.blur(),t.activeElement&&l.target===t.activeElement&&l.target.matches(r.focusableElements)){r.isMoved=!0,n.allowClick=!1;return}r.allowTouchCallbacks&&n.emit("touchMove",l),i.previousX=i.currentX,i.previousY=i.currentY,i.currentX=c,i.currentY=f;const p=i.currentX-i.startX,h=i.currentY-i.startY;if(n.params.threshold&&Math.sqrt(p**2+h**2)<n.params.threshold)return;if(typeof r.isScrolling>"u"){let C;n.isHorizontal()&&i.currentY===i.startY||n.isVertical()&&i.currentX===i.startX?r.isScrolling=!1:p*p+h*h>=25&&(C=Math.atan2(Math.abs(h),Math.abs(p))*180/Math.PI,r.isScrolling=n.isHorizontal()?C>o.touchAngle:90-C>o.touchAngle)}if(r.isScrolling&&n.emit("touchMoveOpposite",l),typeof r.startMoving>"u"&&(i.currentX!==i.startX||i.currentY!==i.startY)&&(r.startMoving=!0),r.isScrolling||l.type==="touchmove"&&r.preventTouchMoveFromPointerMove){r.isTouched=!1;return}if(!r.startMoving)return;n.allowClick=!1,!o.cssMode&&l.cancelable&&l.preventDefault(),o.touchMoveStopPropagation&&!o.nested&&l.stopPropagation();let v=n.isHorizontal()?p:h,m=n.isHorizontal()?i.currentX-i.previousX:i.currentY-i.previousY;o.oneWayMovement&&(v=Math.abs(v)*(a?1:-1),m=Math.abs(m)*(a?1:-1)),i.diff=v,v*=o.touchRatio,a&&(v=-v,m=-m);const y=n.touchesDirection;n.swipeDirection=v>0?"prev":"next",n.touchesDirection=m>0?"prev":"next";const b=n.params.loop&&!o.cssMode,g=n.touchesDirection==="next"&&n.allowSlideNext||n.touchesDirection==="prev"&&n.allowSlidePrev;if(!r.isMoved){if(b&&g&&n.loopFix({direction:n.swipeDirection}),r.startTranslate=n.getTranslate(),n.setTransition(0),n.animating){const C=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});n.wrapperEl.dispatchEvent(C)}r.allowMomentumBounce=!1,o.grabCursor&&(n.allowSlideNext===!0||n.allowSlidePrev===!0)&&n.setGrabCursor(!0),n.emit("sliderFirstMove",l)}if(new Date().getTime(),o._loopSwapReset!==!1&&r.isMoved&&r.allowThresholdMove&&y!==n.touchesDirection&&b&&g&&Math.abs(v)>=1){Object.assign(i,{startX:c,startY:f,currentX:c,currentY:f,startTranslate:r.currentTranslate}),r.loopSwapReset=!0,r.startTranslate=r.currentTranslate;return}n.emit("sliderMove",l),r.isMoved=!0,r.currentTranslate=v+r.startTranslate;let w=!0,E=o.resistanceRatio;if(o.touchReleaseOnEdges&&(E=0),v>0?(b&&g&&r.allowThresholdMove&&r.currentTranslate>(o.centeredSlides?n.minTranslate()-n.slidesSizesGrid[n.activeIndex+1]-(o.slidesPerView!=="auto"&&n.slides.length-o.slidesPerView>=2?n.slidesSizesGrid[n.activeIndex+1]+n.params.spaceBetween:0)-n.params.spaceBetween:n.minTranslate())&&n.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),r.currentTranslate>n.minTranslate()&&(w=!1,o.resistance&&(r.currentTranslate=n.minTranslate()-1+(-n.minTranslate()+r.startTranslate+v)**E))):v<0&&(b&&g&&r.allowThresholdMove&&r.currentTranslate<(o.centeredSlides?n.maxTranslate()+n.slidesSizesGrid[n.slidesSizesGrid.length-1]+n.params.spaceBetween+(o.slidesPerView!=="auto"&&n.slides.length-o.slidesPerView>=2?n.slidesSizesGrid[n.slidesSizesGrid.length-1]+n.params.spaceBetween:0):n.maxTranslate())&&n.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:n.slides.length-(o.slidesPerView==="auto"?n.slidesPerViewDynamic():Math.ceil(parseFloat(o.slidesPerView,10)))}),r.currentTranslate<n.maxTranslate()&&(w=!1,o.resistance&&(r.currentTranslate=n.maxTranslate()+1-(n.maxTranslate()-r.startTranslate-v)**E))),w&&(l.preventedByNestedSwiper=!0),!n.allowSlideNext&&n.swipeDirection==="next"&&r.currentTranslate<r.startTranslate&&(r.currentTranslate=r.startTranslate),!n.allowSlidePrev&&n.swipeDirection==="prev"&&r.currentTranslate>r.startTranslate&&(r.currentTranslate=r.startTranslate),!n.allowSlidePrev&&!n.allowSlideNext&&(r.currentTranslate=r.startTranslate),o.threshold>0)if(Math.abs(v)>o.threshold||r.allowThresholdMove){if(!r.allowThresholdMove){r.allowThresholdMove=!0,i.startX=i.currentX,i.startY=i.currentY,r.currentTranslate=r.startTranslate,i.diff=n.isHorizontal()?i.currentX-i.startX:i.currentY-i.startY;return}}else{r.currentTranslate=r.startTranslate;return}!o.followFinger||o.cssMode||((o.freeMode&&o.freeMode.enabled&&n.freeMode||o.watchSlidesProgress)&&(n.updateActiveIndex(),n.updateSlidesClasses()),o.freeMode&&o.freeMode.enabled&&n.freeMode&&n.freeMode.onTouchMove(),n.updateProgress(r.currentTranslate),n.setTranslate(r.currentTranslate))}function eCe(e){const t=this,n=t.touchEventsData;let r=e;r.originalEvent&&(r=r.originalEvent);let o;if(r.type==="touchend"||r.type==="touchcancel"){if(o=[...r.changedTouches].find(C=>C.identifier===n.touchId),!o||o.identifier!==n.touchId)return}else{if(n.touchId!==null||r.pointerId!==n.pointerId)return;o=r}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(r.type)&&!(["pointercancel","contextmenu"].includes(r.type)&&(t.browser.isSafari||t.browser.isWebView)))return;n.pointerId=null,n.touchId=null;const{params:a,touches:s,rtlTranslate:l,slidesGrid:u,enabled:c}=t;if(!c||!a.simulateTouch&&r.pointerType==="mouse")return;if(n.allowTouchCallbacks&&t.emit("touchEnd",r),n.allowTouchCallbacks=!1,!n.isTouched){n.isMoved&&a.grabCursor&&t.setGrabCursor(!1),n.isMoved=!1,n.startMoving=!1;return}a.grabCursor&&n.isMoved&&n.isTouched&&(t.allowSlideNext===!0||t.allowSlidePrev===!0)&&t.setGrabCursor(!1);const f=Ny(),p=f-n.touchStartTime;if(t.allowClick){const C=r.path||r.composedPath&&r.composedPath();t.updateClickedSlide(C&&C[0]||r.target,C),t.emit("tap click",r),p<300&&f-n.lastClickTime<300&&t.emit("doubleTap doubleClick",r)}if(n.lastClickTime=Ny(),Dz(()=>{t.destroyed||(t.allowClick=!0)}),!n.isTouched||!n.isMoved||!t.swipeDirection||s.diff===0&&!n.loopSwapReset||n.currentTranslate===n.startTranslate&&!n.loopSwapReset){n.isTouched=!1,n.isMoved=!1,n.startMoving=!1;return}n.isTouched=!1,n.isMoved=!1,n.startMoving=!1;let h;if(a.followFinger?h=l?t.translate:-t.translate:h=-n.currentTranslate,a.cssMode)return;if(a.freeMode&&a.freeMode.enabled){t.freeMode.onTouchEnd({currentPos:h});return}const v=h>=-t.maxTranslate()&&!t.params.loop;let m=0,y=t.slidesSizesGrid[0];for(let C=0;C<u.length;C+=C<a.slidesPerGroupSkip?1:a.slidesPerGroup){const S=C<a.slidesPerGroupSkip-1?1:a.slidesPerGroup;typeof u[C+S]<"u"?(v||h>=u[C]&&h<u[C+S])&&(m=C,y=u[C+S]-u[C]):(v||h>=u[C])&&(m=C,y=u[u.length-1]-u[u.length-2])}let b=null,g=null;a.rewind&&(t.isBeginning?g=a.virtual&&a.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1:t.isEnd&&(b=0));const w=(h-u[m])/y,E=m<a.slidesPerGroupSkip-1?1:a.slidesPerGroup;if(p>a.longSwipesMs){if(!a.longSwipes){t.slideTo(t.activeIndex);return}t.swipeDirection==="next"&&(w>=a.longSwipesRatio?t.slideTo(a.rewind&&t.isEnd?b:m+E):t.slideTo(m)),t.swipeDirection==="prev"&&(w>1-a.longSwipesRatio?t.slideTo(m+E):g!==null&&w<0&&Math.abs(w)>a.longSwipesRatio?t.slideTo(g):t.slideTo(m))}else{if(!a.shortSwipes){t.slideTo(t.activeIndex);return}t.navigation&&(r.target===t.navigation.nextEl||r.target===t.navigation.prevEl)?r.target===t.navigation.nextEl?t.slideTo(m+E):t.slideTo(m):(t.swipeDirection==="next"&&t.slideTo(b!==null?b:m+E),t.swipeDirection==="prev"&&t.slideTo(g!==null?g:m))}}function Vz(){const e=this,{params:t,el:n}=e;if(n&&n.offsetWidth===0)return;t.breakpoints&&e.setBreakpoint();const{allowSlideNext:r,allowSlidePrev:o,snapGrid:i}=e,a=e.virtual&&e.params.virtual.enabled;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses();const s=a&&t.loop;(t.slidesPerView==="auto"||t.slidesPerView>1)&&e.isEnd&&!e.isBeginning&&!e.params.centeredSlides&&!s?e.slideTo(e.slides.length-1,0,!1,!0):e.params.loop&&!a?e.slideToLoop(e.realIndex,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&(clearTimeout(e.autoplay.resizeTimeout),e.autoplay.resizeTimeout=setTimeout(()=>{e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.resume()},500)),e.allowSlidePrev=o,e.allowSlideNext=r,e.params.watchOverflow&&i!==e.snapGrid&&e.checkOverflow()}function tCe(e){const t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}function nCe(){const e=this,{wrapperEl:t,rtlTranslate:n,enabled:r}=e;if(!r)return;e.previousTranslate=e.translate,e.isHorizontal()?e.translate=-t.scrollLeft:e.translate=-t.scrollTop,e.translate===0&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();let o;const i=e.maxTranslate()-e.minTranslate();i===0?o=0:o=(e.translate-e.minTranslate())/i,o!==e.progress&&e.updateProgress(n?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}function rCe(e){const t=this;jy(t,e.target),!(t.params.cssMode||t.params.slidesPerView!=="auto"&&!t.params.autoHeight)&&t.update()}function oCe(){const e=this;e.documentTouchHandlerProceeded||(e.documentTouchHandlerProceeded=!0,e.params.touchReleaseOnEdges&&(e.el.style.touchAction="auto"))}const Lz=(e,t)=>{const n=Ro(),{params:r,el:o,wrapperEl:i,device:a}=e,s=!!r.nested,l=t==="on"?"addEventListener":"removeEventListener",u=t;!o||typeof o=="string"||(n[l]("touchstart",e.onDocumentTouchStart,{passive:!1,capture:s}),o[l]("touchstart",e.onTouchStart,{passive:!1}),o[l]("pointerdown",e.onTouchStart,{passive:!1}),n[l]("touchmove",e.onTouchMove,{passive:!1,capture:s}),n[l]("pointermove",e.onTouchMove,{passive:!1,capture:s}),n[l]("touchend",e.onTouchEnd,{passive:!0}),n[l]("pointerup",e.onTouchEnd,{passive:!0}),n[l]("pointercancel",e.onTouchEnd,{passive:!0}),n[l]("touchcancel",e.onTouchEnd,{passive:!0}),n[l]("pointerout",e.onTouchEnd,{passive:!0}),n[l]("pointerleave",e.onTouchEnd,{passive:!0}),n[l]("contextmenu",e.onTouchEnd,{passive:!0}),(r.preventClicks||r.preventClicksPropagation)&&o[l]("click",e.onClick,!0),r.cssMode&&i[l]("scroll",e.onScroll),r.updateOnWindowResize?e[u](a.ios||a.android?"resize orientationchange observerUpdate":"resize observerUpdate",Vz,!0):e[u]("observerUpdate",Vz,!0),o[l]("load",e.onLoad,{capture:!0}))};function iCe(){const e=this,{params:t}=e;e.onTouchStart=Qxe.bind(e),e.onTouchMove=$xe.bind(e),e.onTouchEnd=eCe.bind(e),e.onDocumentTouchStart=oCe.bind(e),t.cssMode&&(e.onScroll=nCe.bind(e)),e.onClick=tCe.bind(e),e.onLoad=rCe.bind(e),Lz(e,"on")}function aCe(){Lz(this,"off")}var sCe={attachEvents:iCe,detachEvents:aCe};const Iz=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;function lCe(){const e=this,{realIndex:t,initialized:n,params:r,el:o}=e,i=r.breakpoints;if(!i||i&&Object.keys(i).length===0)return;const a=Ro(),s=r.breakpointsBase==="window"||!r.breakpointsBase?r.breakpointsBase:"container",l=["window","container"].includes(r.breakpointsBase)||!r.breakpointsBase?e.el:a.querySelector(r.breakpointsBase),u=e.getBreakpoint(i,s,l);if(!u||e.currentBreakpoint===u)return;const f=(u in i?i[u]:void 0)||e.originalParams,p=Iz(e,r),h=Iz(e,f),v=e.params.grabCursor,m=f.grabCursor,y=r.enabled;p&&!h?(o.classList.remove(`${r.containerModifierClass}grid`,`${r.containerModifierClass}grid-column`),e.emitContainerClasses()):!p&&h&&(o.classList.add(`${r.containerModifierClass}grid`),(f.grid.fill&&f.grid.fill==="column"||!f.grid.fill&&r.grid.fill==="column")&&o.classList.add(`${r.containerModifierClass}grid-column`),e.emitContainerClasses()),v&&!m?e.unsetGrabCursor():!v&&m&&e.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(S=>{if(typeof f[S]>"u")return;const x=r[S]&&r[S].enabled,k=f[S]&&f[S].enabled;x&&!k&&e[S].disable(),!x&&k&&e[S].enable()});const b=f.direction&&f.direction!==r.direction,g=r.loop&&(f.slidesPerView!==r.slidesPerView||b),w=r.loop;b&&n&&e.changeDirection(),yr(e.params,f);const E=e.params.enabled,C=e.params.loop;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),y&&!E?e.disable():!y&&E&&e.enable(),e.currentBreakpoint=u,e.emit("_beforeBreakpoint",f),n&&(g?(e.loopDestroy(),e.loopCreate(t),e.updateSlides()):!w&&C?(e.loopCreate(t),e.updateSlides()):w&&!C&&e.loopDestroy()),e.emit("breakpoint",f)}function uCe(e,t,n){if(t===void 0&&(t="window"),!e||t==="container"&&!n)return;let r=!1;const o=Mn(),i=t==="window"?o.innerHeight:n.clientHeight,a=Object.keys(e).map(s=>{if(typeof s=="string"&&s.indexOf("@")===0){const l=parseFloat(s.substr(1));return{value:i*l,point:s}}return{value:s,point:s}});a.sort((s,l)=>parseInt(s.value,10)-parseInt(l.value,10));for(let s=0;s<a.length;s+=1){const{point:l,value:u}=a[s];t==="window"?o.matchMedia(`(min-width: ${u}px)`).matches&&(r=l):u<=n.clientWidth&&(r=l)}return r||"max"}var cCe={setBreakpoint:lCe,getBreakpoint:uCe};function dCe(e,t){const n=[];return e.forEach(r=>{typeof r=="object"?Object.keys(r).forEach(o=>{r[o]&&n.push(t+o)}):typeof r=="string"&&n.push(t+r)}),n}function fCe(){const e=this,{classNames:t,params:n,rtl:r,el:o,device:i}=e,a=dCe(["initialized",n.direction,{"free-mode":e.params.freeMode&&n.freeMode.enabled},{autoheight:n.autoHeight},{rtl:r},{grid:n.grid&&n.grid.rows>1},{"grid-column":n.grid&&n.grid.rows>1&&n.grid.fill==="column"},{android:i.android},{ios:i.ios},{"css-mode":n.cssMode},{centered:n.cssMode&&n.centeredSlides},{"watch-progress":n.watchSlidesProgress}],n.containerModifierClass);t.push(...a),o.classList.add(...t),e.emitContainerClasses()}function pCe(){const e=this,{el:t,classNames:n}=e;!t||typeof t=="string"||(t.classList.remove(...n),e.emitContainerClasses())}var hCe={addClasses:fCe,removeClasses:pCe};function gCe(){const e=this,{isLocked:t,params:n}=e,{slidesOffsetBefore:r}=n;if(r){const o=e.slides.length-1,i=e.slidesGrid[o]+e.slidesSizesGrid[o]+r*2;e.isLocked=e.size>i}else e.isLocked=e.snapGrid.length===1;n.allowSlideNext===!0&&(e.allowSlideNext=!e.isLocked),n.allowSlidePrev===!0&&(e.allowSlidePrev=!e.isLocked),t&&t!==e.isLocked&&(e.isEnd=!1),t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock")}var mCe={checkOverflow:gCe},jz={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function vCe(e,t){return function(r){r===void 0&&(r={});const o=Object.keys(r)[0],i=r[o];if(typeof i!="object"||i===null){yr(t,r);return}if(e[o]===!0&&(e[o]={enabled:!0}),o==="navigation"&&e[o]&&e[o].enabled&&!e[o].prevEl&&!e[o].nextEl&&(e[o].auto=!0),["pagination","scrollbar"].indexOf(o)>=0&&e[o]&&e[o].enabled&&!e[o].el&&(e[o].auto=!0),!(o in e&&"enabled"in i)){yr(t,r);return}typeof e[o]=="object"&&!("enabled"in e[o])&&(e[o].enabled=!0),e[o]||(e[o]={enabled:!1}),yr(t,r)}}const kD={eventsEmitter:hxe,update:Dxe,translate:_xe,transition:Vxe,slide:Uxe,loop:Kxe,grabCursor:Zxe,events:sCe,breakpoints:cCe,checkOverflow:mCe,classes:hCe},AD={};class br{constructor(){let t,n;for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];o.length===1&&o[0].constructor&&Object.prototype.toString.call(o[0]).slice(8,-1)==="Object"?n=o[0]:[t,n]=o,n||(n={}),n=yr({},n),t&&!n.el&&(n.el=t);const a=Ro();if(n.el&&typeof n.el=="string"&&a.querySelectorAll(n.el).length>1){const c=[];return a.querySelectorAll(n.el).forEach(f=>{const p=yr({},n,{el:f});c.push(new br(p))}),c}const s=this;s.__swiper__=!0,s.support=Tz(),s.device=Bz({userAgent:n.userAgent}),s.browser=_z(),s.eventsListeners={},s.eventsAnyListeners=[],s.modules=[...s.__modules__],n.modules&&Array.isArray(n.modules)&&s.modules.push(...n.modules);const l={};s.modules.forEach(c=>{c({params:n,swiper:s,extendParams:vCe(n,l),on:s.on.bind(s),once:s.once.bind(s),off:s.off.bind(s),emit:s.emit.bind(s)})});const u=yr({},jz,l);return s.params=yr({},u,AD,n),s.originalParams=yr({},s.params),s.passedParams=yr({},n),s.params&&s.params.on&&Object.keys(s.params.on).forEach(c=>{s.on(c,s.params.on[c])}),s.params&&s.params.onAny&&s.onAny(s.params.onAny),Object.assign(s,{enabled:s.params.enabled,el:t,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return s.params.direction==="horizontal"},isVertical(){return s.params.direction==="vertical"},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:s.params.allowSlideNext,allowSlidePrev:s.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:s.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:s.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),s.emit("_swiper"),s.params.init&&s.init(),s}getDirectionLabel(t){return this.isHorizontal()?t:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[t]}getSlideIndex(t){const{slidesEl:n,params:r}=this,o=zo(n,`.${r.slideClass}, swiper-slide`),i=Iy(o[0]);return Iy(t)-i}getSlideIndexByData(t){return this.getSlideIndex(this.slides.find(n=>n.getAttribute("data-swiper-slide-index")*1===t))}getSlideIndexWhenGrid(t){return this.grid&&this.params.grid&&this.params.grid.rows>1&&(this.params.grid.fill==="column"?t=Math.floor(t/this.params.grid.rows):this.params.grid.fill==="row"&&(t=t%Math.ceil(this.slides.length/this.params.grid.rows))),t}recalcSlides(){const t=this,{slidesEl:n,params:r}=t;t.slides=zo(n,`.${r.slideClass}, swiper-slide`)}enable(){const t=this;t.enabled||(t.enabled=!0,t.params.grabCursor&&t.setGrabCursor(),t.emit("enable"))}disable(){const t=this;t.enabled&&(t.enabled=!1,t.params.grabCursor&&t.unsetGrabCursor(),t.emit("disable"))}setProgress(t,n){const r=this;t=Math.min(Math.max(t,0),1);const o=r.minTranslate(),a=(r.maxTranslate()-o)*t+o;r.translateTo(a,typeof n>"u"?0:n),r.updateActiveIndex(),r.updateSlidesClasses()}emitContainerClasses(){const t=this;if(!t.params._emitClasses||!t.el)return;const n=t.el.className.split(" ").filter(r=>r.indexOf("swiper")===0||r.indexOf(t.params.containerModifierClass)===0);t.emit("_containerClasses",n.join(" "))}getSlideClasses(t){const n=this;return n.destroyed?"":t.className.split(" ").filter(r=>r.indexOf("swiper-slide")===0||r.indexOf(n.params.slideClass)===0).join(" ")}emitSlidesClasses(){const t=this;if(!t.params._emitClasses||!t.el)return;const n=[];t.slides.forEach(r=>{const o=t.getSlideClasses(r);n.push({slideEl:r,classNames:o}),t.emit("_slideClass",r,o)}),t.emit("_slideClasses",n)}slidesPerViewDynamic(t,n){t===void 0&&(t="current"),n===void 0&&(n=!1);const r=this,{params:o,slides:i,slidesGrid:a,slidesSizesGrid:s,size:l,activeIndex:u}=r;let c=1;if(typeof o.slidesPerView=="number")return o.slidesPerView;if(o.centeredSlides){let f=i[u]?Math.ceil(i[u].swiperSlideSize):0,p;for(let h=u+1;h<i.length;h+=1)i[h]&&!p&&(f+=Math.ceil(i[h].swiperSlideSize),c+=1,f>l&&(p=!0));for(let h=u-1;h>=0;h-=1)i[h]&&!p&&(f+=i[h].swiperSlideSize,c+=1,f>l&&(p=!0))}else if(t==="current")for(let f=u+1;f<i.length;f+=1)(n?a[f]+s[f]-a[u]<l:a[f]-a[u]<l)&&(c+=1);else for(let f=u-1;f>=0;f-=1)a[u]-a[f]<l&&(c+=1);return c}update(){const t=this;if(!t||t.destroyed)return;const{snapGrid:n,params:r}=t;r.breakpoints&&t.setBreakpoint(),[...t.el.querySelectorAll('[loading="lazy"]')].forEach(a=>{a.complete&&jy(t,a)}),t.updateSize(),t.updateSlides(),t.updateProgress(),t.updateSlidesClasses();function o(){const a=t.rtlTranslate?t.translate*-1:t.translate,s=Math.min(Math.max(a,t.maxTranslate()),t.minTranslate());t.setTranslate(s),t.updateActiveIndex(),t.updateSlidesClasses()}let i;if(r.freeMode&&r.freeMode.enabled&&!r.cssMode)o(),r.autoHeight&&t.updateAutoHeight();else{if((r.slidesPerView==="auto"||r.slidesPerView>1)&&t.isEnd&&!r.centeredSlides){const a=t.virtual&&r.virtual.enabled?t.virtual.slides:t.slides;i=t.slideTo(a.length-1,0,!1,!0)}else i=t.slideTo(t.activeIndex,0,!1,!0);i||o()}r.watchOverflow&&n!==t.snapGrid&&t.checkOverflow(),t.emit("update")}changeDirection(t,n){n===void 0&&(n=!0);const r=this,o=r.params.direction;return t||(t=o==="horizontal"?"vertical":"horizontal"),t===o||t!=="horizontal"&&t!=="vertical"||(r.el.classList.remove(`${r.params.containerModifierClass}${o}`),r.el.classList.add(`${r.params.containerModifierClass}${t}`),r.emitContainerClasses(),r.params.direction=t,r.slides.forEach(i=>{t==="vertical"?i.style.width="":i.style.height=""}),r.emit("changeDirection"),n&&r.update()),r}changeLanguageDirection(t){const n=this;n.rtl&&t==="rtl"||!n.rtl&&t==="ltr"||(n.rtl=t==="rtl",n.rtlTranslate=n.params.direction==="horizontal"&&n.rtl,n.rtl?(n.el.classList.add(`${n.params.containerModifierClass}rtl`),n.el.dir="rtl"):(n.el.classList.remove(`${n.params.containerModifierClass}rtl`),n.el.dir="ltr"),n.update())}mount(t){const n=this;if(n.mounted)return!0;let r=t||n.params.el;if(typeof r=="string"&&(r=document.querySelector(r)),!r)return!1;r.swiper=n,r.parentNode&&r.parentNode.host&&r.parentNode.host.nodeName===n.params.swiperElementNodeName.toUpperCase()&&(n.isElement=!0);const o=()=>`.${(n.params.wrapperClass||"").trim().split(" ").join(".")}`;let a=r&&r.shadowRoot&&r.shadowRoot.querySelector?r.shadowRoot.querySelector(o()):zo(r,o())[0];return!a&&n.params.createElements&&(a=Ly("div",n.params.wrapperClass),r.append(a),zo(r,`.${n.params.slideClass}`).forEach(s=>{a.append(s)})),Object.assign(n,{el:r,wrapperEl:a,slidesEl:n.isElement&&!r.parentNode.host.slideSlots?r.parentNode.host:a,hostEl:n.isElement?r.parentNode.host:r,mounted:!0,rtl:r.dir.toLowerCase()==="rtl"||Ha(r,"direction")==="rtl",rtlTranslate:n.params.direction==="horizontal"&&(r.dir.toLowerCase()==="rtl"||Ha(r,"direction")==="rtl"),wrongRTL:Ha(a,"display")==="-webkit-box"}),!0}init(t){const n=this;if(n.initialized||n.mount(t)===!1)return n;n.emit("beforeInit"),n.params.breakpoints&&n.setBreakpoint(),n.addClasses(),n.updateSize(),n.updateSlides(),n.params.watchOverflow&&n.checkOverflow(),n.params.grabCursor&&n.enabled&&n.setGrabCursor(),n.params.loop&&n.virtual&&n.params.virtual.enabled?n.slideTo(n.params.initialSlide+n.virtual.slidesBefore,0,n.params.runCallbacksOnInit,!1,!0):n.slideTo(n.params.initialSlide,0,n.params.runCallbacksOnInit,!1,!0),n.params.loop&&n.loopCreate(void 0,!0),n.attachEvents();const o=[...n.el.querySelectorAll('[loading="lazy"]')];return n.isElement&&o.push(...n.hostEl.querySelectorAll('[loading="lazy"]')),o.forEach(i=>{i.complete?jy(n,i):i.addEventListener("load",a=>{jy(n,a.target)})}),DD(n),n.initialized=!0,DD(n),n.emit("init"),n.emit("afterInit"),n}destroy(t,n){t===void 0&&(t=!0),n===void 0&&(n=!0);const r=this,{params:o,el:i,wrapperEl:a,slides:s}=r;return typeof r.params>"u"||r.destroyed||(r.emit("beforeDestroy"),r.initialized=!1,r.detachEvents(),o.loop&&r.loopDestroy(),n&&(r.removeClasses(),i&&typeof i!="string"&&i.removeAttribute("style"),a&&a.removeAttribute("style"),s&&s.length&&s.forEach(l=>{l.classList.remove(o.slideVisibleClass,o.slideFullyVisibleClass,o.slideActiveClass,o.slideNextClass,o.slidePrevClass),l.removeAttribute("style"),l.removeAttribute("data-swiper-slide-index")})),r.emit("destroy"),Object.keys(r.eventsListeners).forEach(l=>{r.off(l)}),t!==!1&&(r.el&&typeof r.el!="string"&&(r.el.swiper=null),txe(r)),r.destroyed=!0),null}static extendDefaults(t){yr(AD,t)}static get extendedDefaults(){return AD}static get defaults(){return jz}static installModule(t){br.prototype.__modules__||(br.prototype.__modules__=[]);const n=br.prototype.__modules__;typeof t=="function"&&n.indexOf(t)<0&&n.push(t)}static use(t){return Array.isArray(t)?(t.forEach(n=>br.installModule(n)),br):(br.installModule(t),br)}}Object.keys(kD).forEach(e=>{Object.keys(kD[e]).forEach(t=>{br.prototype[t]=kD[e][t]})}),br.use([fxe,pxe]);const yCe=Object.freeze(Object.defineProperty({__proto__:null,Swiper:br,default:br},Symbol.toStringTag,{value:"Module"}));function Mz(e,t,n,r){return e.params.createElements&&Object.keys(r).forEach(o=>{if(!n[o]&&n.auto===!0){let i=zo(e.el,`.${r[o]}`)[0];i||(i=Ly("div",r[o]),i.className=r[o],e.el.append(i)),n[o]=i,t[o]=i}}),n}function bCe(e){let{swiper:t,extendParams:n,on:r,emit:o}=e;n({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),t.navigation={nextEl:null,prevEl:null};function i(v){let m;return v&&typeof v=="string"&&t.isElement&&(m=t.el.querySelector(v)||t.hostEl.querySelector(v),m)?m:(v&&(typeof v=="string"&&(m=[...document.querySelectorAll(v)]),t.params.uniqueNavElements&&typeof v=="string"&&m&&m.length>1&&t.el.querySelectorAll(v).length===1?m=t.el.querySelector(v):m&&m.length===1&&(m=m[0])),v&&!m?v:m)}function a(v,m){const y=t.params.navigation;v=gn(v),v.forEach(b=>{b&&(b.classList[m?"add":"remove"](...y.disabledClass.split(" ")),b.tagName==="BUTTON"&&(b.disabled=m),t.params.watchOverflow&&t.enabled&&b.classList[t.isLocked?"add":"remove"](y.lockClass))})}function s(){const{nextEl:v,prevEl:m}=t.navigation;if(t.params.loop){a(m,!1),a(v,!1);return}a(m,t.isBeginning&&!t.params.rewind),a(v,t.isEnd&&!t.params.rewind)}function l(v){v.preventDefault(),!(t.isBeginning&&!t.params.loop&&!t.params.rewind)&&(t.slidePrev(),o("navigationPrev"))}function u(v){v.preventDefault(),!(t.isEnd&&!t.params.loop&&!t.params.rewind)&&(t.slideNext(),o("navigationNext"))}function c(){const v=t.params.navigation;if(t.params.navigation=Mz(t,t.originalParams.navigation,t.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!(v.nextEl||v.prevEl))return;let m=i(v.nextEl),y=i(v.prevEl);Object.assign(t.navigation,{nextEl:m,prevEl:y}),m=gn(m),y=gn(y);const b=(g,w)=>{g&&g.addEventListener("click",w==="next"?u:l),!t.enabled&&g&&g.classList.add(...v.lockClass.split(" "))};m.forEach(g=>b(g,"next")),y.forEach(g=>b(g,"prev"))}function f(){let{nextEl:v,prevEl:m}=t.navigation;v=gn(v),m=gn(m);const y=(b,g)=>{b.removeEventListener("click",g==="next"?u:l),b.classList.remove(...t.params.navigation.disabledClass.split(" "))};v.forEach(b=>y(b,"next")),m.forEach(b=>y(b,"prev"))}r("init",()=>{t.params.navigation.enabled===!1?h():(c(),s())}),r("toEdge fromEdge lock unlock",()=>{s()}),r("destroy",()=>{f()}),r("enable disable",()=>{let{nextEl:v,prevEl:m}=t.navigation;if(v=gn(v),m=gn(m),t.enabled){s();return}[...v,...m].filter(y=>!!y).forEach(y=>y.classList.add(t.params.navigation.lockClass))}),r("click",(v,m)=>{let{nextEl:y,prevEl:b}=t.navigation;y=gn(y),b=gn(b);const g=m.target;let w=b.includes(g)||y.includes(g);if(t.isElement&&!w){const E=m.path||m.composedPath&&m.composedPath();E&&(w=E.find(C=>y.includes(C)||b.includes(C)))}if(t.params.navigation.hideOnClick&&!w){if(t.pagination&&t.params.pagination&&t.params.pagination.clickable&&(t.pagination.el===g||t.pagination.el.contains(g)))return;let E;y.length?E=y[0].classList.contains(t.params.navigation.hiddenClass):b.length&&(E=b[0].classList.contains(t.params.navigation.hiddenClass)),o(E===!0?"navigationShow":"navigationHide"),[...y,...b].filter(C=>!!C).forEach(C=>C.classList.toggle(t.params.navigation.hiddenClass))}});const p=()=>{t.el.classList.remove(...t.params.navigation.navigationDisabledClass.split(" ")),c(),s()},h=()=>{t.el.classList.add(...t.params.navigation.navigationDisabledClass.split(" ")),f()};Object.assign(t.navigation,{enable:p,disable:h,update:s,init:c,destroy:f})}function bh(e){return e===void 0&&(e=""),`.${e.trim().replace(/([\.:!+\/()[\]])/g,"\\$1").replace(/ /g,".")}`}function wCe(e){let{swiper:t,extendParams:n,on:r,emit:o}=e;const i="swiper-pagination";n({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:g=>g,formatFractionTotal:g=>g,bulletClass:`${i}-bullet`,bulletActiveClass:`${i}-bullet-active`,modifierClass:`${i}-`,currentClass:`${i}-current`,totalClass:`${i}-total`,hiddenClass:`${i}-hidden`,progressbarFillClass:`${i}-progressbar-fill`,progressbarOppositeClass:`${i}-progressbar-opposite`,clickableClass:`${i}-clickable`,lockClass:`${i}-lock`,horizontalClass:`${i}-horizontal`,verticalClass:`${i}-vertical`,paginationDisabledClass:`${i}-disabled`}}),t.pagination={el:null,bullets:[]};let a,s=0;function l(){return!t.params.pagination.el||!t.pagination.el||Array.isArray(t.pagination.el)&&t.pagination.el.length===0}function u(g,w){const{bulletActiveClass:E}=t.params.pagination;g&&(g=g[`${w==="prev"?"previous":"next"}ElementSibling`],g&&(g.classList.add(`${E}-${w}`),g=g[`${w==="prev"?"previous":"next"}ElementSibling`],g&&g.classList.add(`${E}-${w}-${w}`)))}function c(g,w,E){if(g=g%E,w=w%E,w===g+1)return"next";if(w===g-1)return"previous"}function f(g){const w=g.target.closest(bh(t.params.pagination.bulletClass));if(!w)return;g.preventDefault();const E=Iy(w)*t.params.slidesPerGroup;if(t.params.loop){if(t.realIndex===E)return;const C=c(t.realIndex,E,t.slides.length);C==="next"?t.slideNext():C==="previous"?t.slidePrev():t.slideToLoop(E)}else t.slideTo(E)}function p(){const g=t.rtl,w=t.params.pagination;if(l())return;let E=t.pagination.el;E=gn(E);let C,S;const x=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.slides.length,k=t.params.loop?Math.ceil(x/t.params.slidesPerGroup):t.snapGrid.length;if(t.params.loop?(S=t.previousRealIndex||0,C=t.params.slidesPerGroup>1?Math.floor(t.realIndex/t.params.slidesPerGroup):t.realIndex):typeof t.snapIndex<"u"?(C=t.snapIndex,S=t.previousSnapIndex):(S=t.previousIndex||0,C=t.activeIndex||0),w.type==="bullets"&&t.pagination.bullets&&t.pagination.bullets.length>0){const O=t.pagination.bullets;let _,P,F;if(w.dynamicBullets&&(a=bD(O[0],t.isHorizontal()?"width":"height"),E.forEach(H=>{H.style[t.isHorizontal()?"width":"height"]=`${a*(w.dynamicMainBullets+4)}px`}),w.dynamicMainBullets>1&&S!==void 0&&(s+=C-(S||0),s>w.dynamicMainBullets-1?s=w.dynamicMainBullets-1:s<0&&(s=0)),_=Math.max(C-s,0),P=_+(Math.min(O.length,w.dynamicMainBullets)-1),F=(P+_)/2),O.forEach(H=>{const R=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(z=>`${w.bulletActiveClass}${z}`)].map(z=>typeof z=="string"&&z.includes(" ")?z.split(" "):z).flat();H.classList.remove(...R)}),E.length>1)O.forEach(H=>{const R=Iy(H);R===C?H.classList.add(...w.bulletActiveClass.split(" ")):t.isElement&&H.setAttribute("part","bullet"),w.dynamicBullets&&(R>=_&&R<=P&&H.classList.add(...`${w.bulletActiveClass}-main`.split(" ")),R===_&&u(H,"prev"),R===P&&u(H,"next"))});else{const H=O[C];if(H&&H.classList.add(...w.bulletActiveClass.split(" ")),t.isElement&&O.forEach((R,z)=>{R.setAttribute("part",z===C?"bullet-active":"bullet")}),w.dynamicBullets){const R=O[_],z=O[P];for(let U=_;U<=P;U+=1)O[U]&&O[U].classList.add(...`${w.bulletActiveClass}-main`.split(" "));u(R,"prev"),u(z,"next")}}if(w.dynamicBullets){const H=Math.min(O.length,w.dynamicMainBullets+4),R=(a*H-a)/2-F*a,z=g?"right":"left";O.forEach(U=>{U.style[t.isHorizontal()?z:"top"]=`${R}px`})}}E.forEach((O,_)=>{if(w.type==="fraction"&&(O.querySelectorAll(bh(w.currentClass)).forEach(P=>{P.textContent=w.formatFractionCurrent(C+1)}),O.querySelectorAll(bh(w.totalClass)).forEach(P=>{P.textContent=w.formatFractionTotal(k)})),w.type==="progressbar"){let P;w.progressbarOpposite?P=t.isHorizontal()?"vertical":"horizontal":P=t.isHorizontal()?"horizontal":"vertical";const F=(C+1)/k;let H=1,R=1;P==="horizontal"?H=F:R=F,O.querySelectorAll(bh(w.progressbarFillClass)).forEach(z=>{z.style.transform=`translate3d(0,0,0) scaleX(${H}) scaleY(${R})`,z.style.transitionDuration=`${t.params.speed}ms`})}w.type==="custom"&&w.renderCustom?(Oz(O,w.renderCustom(t,C+1,k)),_===0&&o("paginationRender",O)):(_===0&&o("paginationRender",O),o("paginationUpdate",O)),t.params.watchOverflow&&t.enabled&&O.classList[t.isLocked?"add":"remove"](w.lockClass)})}function h(){const g=t.params.pagination;if(l())return;const w=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.grid&&t.params.grid.rows>1?t.slides.length/Math.ceil(t.params.grid.rows):t.slides.length;let E=t.pagination.el;E=gn(E);let C="";if(g.type==="bullets"){let S=t.params.loop?Math.ceil(w/t.params.slidesPerGroup):t.snapGrid.length;t.params.freeMode&&t.params.freeMode.enabled&&S>w&&(S=w);for(let x=0;x<S;x+=1)g.renderBullet?C+=g.renderBullet.call(t,x,g.bulletClass):C+=`<${g.bulletElement} ${t.isElement?'part="bullet"':""} class="${g.bulletClass}"></${g.bulletElement}>`}g.type==="fraction"&&(g.renderFraction?C=g.renderFraction.call(t,g.currentClass,g.totalClass):C=`<span class="${g.currentClass}"></span> / <span class="${g.totalClass}"></span>`),g.type==="progressbar"&&(g.renderProgressbar?C=g.renderProgressbar.call(t,g.progressbarFillClass):C=`<span class="${g.progressbarFillClass}"></span>`),t.pagination.bullets=[],E.forEach(S=>{g.type!=="custom"&&Oz(S,C||""),g.type==="bullets"&&t.pagination.bullets.push(...S.querySelectorAll(bh(g.bulletClass)))}),g.type!=="custom"&&o("paginationRender",E[0])}function v(){t.params.pagination=Mz(t,t.originalParams.pagination,t.params.pagination,{el:"swiper-pagination"});const g=t.params.pagination;if(!g.el)return;let w;typeof g.el=="string"&&t.isElement&&(w=t.el.querySelector(g.el)),!w&&typeof g.el=="string"&&(w=[...document.querySelectorAll(g.el)]),w||(w=g.el),!(!w||w.length===0)&&(t.params.uniqueNavElements&&typeof g.el=="string"&&Array.isArray(w)&&w.length>1&&(w=[...t.el.querySelectorAll(g.el)],w.length>1&&(w=w.find(E=>Az(E,".swiper")[0]===t.el))),Array.isArray(w)&&w.length===1&&(w=w[0]),Object.assign(t.pagination,{el:w}),w=gn(w),w.forEach(E=>{g.type==="bullets"&&g.clickable&&E.classList.add(...(g.clickableClass||"").split(" ")),E.classList.add(g.modifierClass+g.type),E.classList.add(t.isHorizontal()?g.horizontalClass:g.verticalClass),g.type==="bullets"&&g.dynamicBullets&&(E.classList.add(`${g.modifierClass}${g.type}-dynamic`),s=0,g.dynamicMainBullets<1&&(g.dynamicMainBullets=1)),g.type==="progressbar"&&g.progressbarOpposite&&E.classList.add(g.progressbarOppositeClass),g.clickable&&E.addEventListener("click",f),t.enabled||E.classList.add(g.lockClass)}))}function m(){const g=t.params.pagination;if(l())return;let w=t.pagination.el;w&&(w=gn(w),w.forEach(E=>{E.classList.remove(g.hiddenClass),E.classList.remove(g.modifierClass+g.type),E.classList.remove(t.isHorizontal()?g.horizontalClass:g.verticalClass),g.clickable&&(E.classList.remove(...(g.clickableClass||"").split(" ")),E.removeEventListener("click",f))})),t.pagination.bullets&&t.pagination.bullets.forEach(E=>E.classList.remove(...g.bulletActiveClass.split(" ")))}r("changeDirection",()=>{if(!t.pagination||!t.pagination.el)return;const g=t.params.pagination;let{el:w}=t.pagination;w=gn(w),w.forEach(E=>{E.classList.remove(g.horizontalClass,g.verticalClass),E.classList.add(t.isHorizontal()?g.horizontalClass:g.verticalClass)})}),r("init",()=>{t.params.pagination.enabled===!1?b():(v(),h(),p())}),r("activeIndexChange",()=>{typeof t.snapIndex>"u"&&p()}),r("snapIndexChange",()=>{p()}),r("snapGridLengthChange",()=>{h(),p()}),r("destroy",()=>{m()}),r("enable disable",()=>{let{el:g}=t.pagination;g&&(g=gn(g),g.forEach(w=>w.classList[t.enabled?"remove":"add"](t.params.pagination.lockClass)))}),r("lock unlock",()=>{p()}),r("click",(g,w)=>{const E=w.target,C=gn(t.pagination.el);if(t.params.pagination.el&&t.params.pagination.hideOnClick&&C&&C.length>0&&!E.classList.contains(t.params.pagination.bulletClass)){if(t.navigation&&(t.navigation.nextEl&&E===t.navigation.nextEl||t.navigation.prevEl&&E===t.navigation.prevEl))return;const S=C[0].classList.contains(t.params.pagination.hiddenClass);o(S===!0?"paginationShow":"paginationHide"),C.forEach(x=>x.classList.toggle(t.params.pagination.hiddenClass))}});const y=()=>{t.el.classList.remove(t.params.pagination.paginationDisabledClass);let{el:g}=t.pagination;g&&(g=gn(g),g.forEach(w=>w.classList.remove(t.params.pagination.paginationDisabledClass))),v(),h(),p()},b=()=>{t.el.classList.add(t.params.pagination.paginationDisabledClass);let{el:g}=t.pagination;g&&(g=gn(g),g.forEach(w=>w.classList.add(t.params.pagination.paginationDisabledClass))),m()};Object.assign(t.pagination,{enable:y,disable:b,render:h,update:p,init:v,destroy:m})}function ECe(e){let{swiper:t,extendParams:n,on:r,emit:o,params:i}=e;t.autoplay={running:!1,paused:!1,timeLeft:0},n({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let a,s,l=i&&i.autoplay?i.autoplay.delay:3e3,u=i&&i.autoplay?i.autoplay.delay:3e3,c,f=new Date().getTime(),p,h,v,m,y,b,g;function w(Z){!t||t.destroyed||!t.wrapperEl||Z.target===t.wrapperEl&&(t.wrapperEl.removeEventListener("transitionend",w),!(g||Z.detail&&Z.detail.bySwiperTouchMove)&&_())}const E=()=>{if(t.destroyed||!t.autoplay.running)return;t.autoplay.paused?p=!0:p&&(u=c,p=!1);const Z=t.autoplay.paused?c:f+u-new Date().getTime();t.autoplay.timeLeft=Z,o("autoplayTimeLeft",Z,Z/l),s=requestAnimationFrame(()=>{E()})},C=()=>{let Z;return t.virtual&&t.params.virtual.enabled?Z=t.slides.find(G=>G.classList.contains("swiper-slide-active")):Z=t.slides[t.activeIndex],Z?parseInt(Z.getAttribute("data-swiper-autoplay"),10):void 0},S=Z=>{if(t.destroyed||!t.autoplay.running)return;cancelAnimationFrame(s),E();let te=typeof Z>"u"?t.params.autoplay.delay:Z;l=t.params.autoplay.delay,u=t.params.autoplay.delay;const G=C();!Number.isNaN(G)&&G>0&&typeof Z>"u"&&(te=G,l=G,u=G),c=te;const A=t.params.speed,T=()=>{!t||t.destroyed||(t.params.autoplay.reverseDirection?!t.isBeginning||t.params.loop||t.params.rewind?(t.slidePrev(A,!0,!0),o("autoplay")):t.params.autoplay.stopOnLastSlide||(t.slideTo(t.slides.length-1,A,!0,!0),o("autoplay")):!t.isEnd||t.params.loop||t.params.rewind?(t.slideNext(A,!0,!0),o("autoplay")):t.params.autoplay.stopOnLastSlide||(t.slideTo(0,A,!0,!0),o("autoplay")),t.params.cssMode&&(f=new Date().getTime(),requestAnimationFrame(()=>{S()})))};return te>0?(clearTimeout(a),a=setTimeout(()=>{T()},te)):requestAnimationFrame(()=>{T()}),te},x=()=>{f=new Date().getTime(),t.autoplay.running=!0,S(),o("autoplayStart")},k=()=>{t.autoplay.running=!1,clearTimeout(a),cancelAnimationFrame(s),o("autoplayStop")},O=(Z,te)=>{if(t.destroyed||!t.autoplay.running)return;clearTimeout(a),Z||(b=!0);const G=()=>{o("autoplayPause"),t.params.autoplay.waitForTransition?t.wrapperEl.addEventListener("transitionend",w):_()};if(t.autoplay.paused=!0,te){y&&(c=t.params.autoplay.delay),y=!1,G();return}c=(c||t.params.autoplay.delay)-(new Date().getTime()-f),!(t.isEnd&&c<0&&!t.params.loop)&&(c<0&&(c=0),G())},_=()=>{t.isEnd&&c<0&&!t.params.loop||t.destroyed||!t.autoplay.running||(f=new Date().getTime(),b?(b=!1,S(c)):S(),t.autoplay.paused=!1,o("autoplayResume"))},P=()=>{if(t.destroyed||!t.autoplay.running)return;const Z=Ro();Z.visibilityState==="hidden"&&(b=!0,O(!0)),Z.visibilityState==="visible"&&_()},F=Z=>{Z.pointerType==="mouse"&&(b=!0,g=!0,!(t.animating||t.autoplay.paused)&&O(!0))},H=Z=>{Z.pointerType==="mouse"&&(g=!1,t.autoplay.paused&&_())},R=()=>{t.params.autoplay.pauseOnMouseEnter&&(t.el.addEventListener("pointerenter",F),t.el.addEventListener("pointerleave",H))},z=()=>{t.el&&typeof t.el!="string"&&(t.el.removeEventListener("pointerenter",F),t.el.removeEventListener("pointerleave",H))},U=()=>{Ro().addEventListener("visibilitychange",P)},Q=()=>{Ro().removeEventListener("visibilitychange",P)};r("init",()=>{t.params.autoplay.enabled&&(R(),U(),x())}),r("destroy",()=>{z(),Q(),t.autoplay.running&&k()}),r("_freeModeStaticRelease",()=>{(v||b)&&_()}),r("_freeModeNoMomentumRelease",()=>{t.params.autoplay.disableOnInteraction?k():O(!0,!0)}),r("beforeTransitionStart",(Z,te,G)=>{t.destroyed||!t.autoplay.running||(G||!t.params.autoplay.disableOnInteraction?O(!0,!0):k())}),r("sliderFirstMove",()=>{if(!(t.destroyed||!t.autoplay.running)){if(t.params.autoplay.disableOnInteraction){k();return}h=!0,v=!1,b=!1,m=setTimeout(()=>{b=!0,v=!0,O(!0)},200)}}),r("touchEnd",()=>{if(!(t.destroyed||!t.autoplay.running||!h)){if(clearTimeout(m),clearTimeout(a),t.params.autoplay.disableOnInteraction){v=!1,h=!1;return}v&&t.params.cssMode&&_(),v=!1,h=!1}}),r("slideChange",()=>{t.destroyed||!t.autoplay.running||(y=!0)}),Object.assign(t.autoplay,{start:x,stop:k,pause:O,resume:_})}const xCe=Object.freeze(Object.defineProperty({__proto__:null,Autoplay:ECe,Navigation:bCe,Pagination:wCe},Symbol.toStringTag,{value:"Module"})),CCe=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),SCe=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),DCe=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"}));ze.AnimationUtils=xz,ze.ArticleList=uD,ze.ArticleListPlugin=MEe,ze.BannerImage=pD,ze.BannerImagePlugin=UEe,ze.BannerPage=cD,ze.BannerPagePlugin=REe,ze.BtnList=_y,ze.BtnListPlugin=GEe,ze.CustomSpace=dD,ze.CustomSpacePlugin=zEe,ze.GalleryList=hD,ze.GalleryListPlugin=WEe,ze.HeroSlide=fD,ze.HeroSlidePlugin=HEe,ze.LinkList=gD,ze.LinkListPlugin=qEe,ze.QuoteText=mD,ze.QuoteTextPlugin=KEe,ze.ResponsiveUtils=ZEe,ze.StorageUtils=JEe,ze.ThemeUtils=XEe,ze.default=QEe,ze.useTheme=YEe,Object.defineProperties(ze,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
186
+ Please use '@${e}' event instead of props`,t}var bz=(e,t)=>{for(const[n,r]of t)e[n]=r;return e};const y1e=d.defineComponent({props:{mode:{type:String,default:"default"},defaultContent:{type:Array,default:[]},defaultHtml:{type:String,default:""},defaultConfig:{type:Object,default:{}},modelValue:{type:String,default:""}},setup(e,t){const n=d.ref(null),r=d.shallowRef(null),o=d.ref(""),i=()=>{if(!n.value)return;const s=d.toRaw(e.defaultContent);u1e({selector:n.value,mode:e.mode,content:s||[],html:e.defaultHtml||e.modelValue||"",config:v1e(m1e({},e.defaultConfig),{onCreated(l){if(r.value=l,t.emit("onCreated",l),e.defaultConfig.onCreated){const u=za("onCreated");throw new Error(u)}},onChange(l){const u=l.getHtml();if(o.value=u,t.emit("update:modelValue",u),t.emit("onChange",l),e.defaultConfig.onChange){const c=za("onChange");throw new Error(c)}},onDestroyed(l){if(t.emit("onDestroyed",l),e.defaultConfig.onDestroyed){const u=za("onDestroyed");throw new Error(u)}},onMaxLength(l){if(t.emit("onMaxLength",l),e.defaultConfig.onMaxLength){const u=za("onMaxLength");throw new Error(u)}},onFocus(l){if(t.emit("onFocus",l),e.defaultConfig.onFocus){const u=za("onFocus");throw new Error(u)}},onBlur(l){if(t.emit("onBlur",l),e.defaultConfig.onBlur){const u=za("onBlur");throw new Error(u)}},customAlert(l,u){if(t.emit("customAlert",l,u),e.defaultConfig.customAlert){const c=za("customAlert");throw new Error(c)}},customPaste:(l,u)=>{if(e.defaultConfig.customPaste){const f=za("customPaste");throw new Error(f)}let c;return t.emit("customPaste",l,u,f=>{c=f}),c}})})};function a(s){const l=r.value;l!=null&&l.setHtml(s)}return d.onMounted(()=>{i()}),d.watch(()=>e.modelValue,s=>{s!==o.value&&a(s)}),{box:n}}}),b1e={ref:"box",style:{height:"100%"}};function w1e(e,t,n,r,o,i){return d.openBlock(),d.createElementBlock("div",b1e,null,512)}var E1e=bz(y1e,[["render",w1e]]);const x1e=d.defineComponent({props:{editor:{type:Object},mode:{type:String,default:"default"},defaultConfig:{type:Object,default:{}}},setup(e){const t=d.ref(null),n=r=>{if(t.value){if(r==null)throw new Error("Not found instance of Editor when create <Toolbar/> component");B.getToolbar(r)||c1e({editor:r,selector:t.value||"<div></div>",mode:e.mode,config:e.defaultConfig})}};return d.watchEffect(()=>{const{editor:r}=e;r!=null&&n(r)}),{selector:t}}}),C1e={ref:"selector"};function S1e(e,t,n,r,o,i){return d.openBlock(),d.createElementBlock("div",C1e,null,512)}var D1e=bz(x1e,[["render",S1e]]);const k1e={class:"rich-text-editor"},yh=lt(d.defineComponent({__name:"RichTextEditor",props:{modelValue:{default:""},placeholder:{default:"请输入内容..."},height:{default:"400px"},mode:{default:"default"},disabled:{type:Boolean,default:!1},maxLength:{default:1e4},excludeKeys:{default:()=>[]},includeKeys:{default:()=>[]},uploadImgServer:{default:""},uploadVideoServer:{default:""}},emits:["update:modelValue","change","focus","blur","created"],setup(e,{expose:t,emit:n}){const r=e,o=n,i=d.shallowRef(),a=d.ref(""),s=d.computed(()=>typeof r.height=="number"?`${r.height}px`:r.height),l={excludeKeys:r.excludeKeys,insertKeys:{index:0,keys:r.includeKeys}},u={placeholder:r.placeholder,readOnly:r.disabled,maxLength:r.maxLength,MENU_CONF:{uploadImage:{server:r.uploadImgServer,fieldName:"file",maxFileSize:5*1024*1024,allowedFileTypes:["image/*"],meta:{},headers:{},withCredentials:!1,timeout:30*1e3,onBeforeUpload(m){return console.log("onBeforeUpload",m),m},onProgress(m){console.log("onProgress",m)},onSuccess(m,y){console.log("onSuccess",m,y)},onFailed(m,y){console.log("onFailed",m,y)},onError(m,y){console.log("onError",m,y)}},uploadVideo:{server:r.uploadVideoServer,fieldName:"file",maxFileSize:50*1024*1024,allowedFileTypes:["video/*"],meta:{},headers:{},withCredentials:!1,timeout:60*1e3,onBeforeUpload(m){return console.log("onBeforeUpload video",m),m},onProgress(m){console.log("onProgress video",m)},onSuccess(m,y){console.log("onSuccess video",m,y)},onFailed(m,y){console.log("onFailed video",m,y)},onError(m,y){console.log("onError video",m,y)}}}};d.onBeforeUnmount(()=>{const m=i.value;m!=null&&m.destroy()}),d.watch(()=>r.modelValue,m=>{m!==a.value&&(a.value=m||"")},{immediate:!0});const c=m=>{i.value=m,o("created",m)},f=m=>{o("update:modelValue",a.value),o("change",m)},p=()=>{i.value=void 0},h=m=>{o("focus",m)},v=m=>{o("blur",m)};return t({editor:i,getHtml:()=>a.value,getText:()=>{var m;return((m=i.value)==null?void 0:m.getText())||""},isEmpty:()=>{var m;return((m=i.value)==null?void 0:m.isEmpty())||!0},clear:()=>{var m;return(m=i.value)==null?void 0:m.clear()},focus:()=>{var m;return(m=i.value)==null?void 0:m.focus()},blur:()=>{var m;return(m=i.value)==null?void 0:m.blur()},disable:()=>{var m;return(m=i.value)==null?void 0:m.disable()},enable:()=>{var m;return(m=i.value)==null?void 0:m.enable()}}),(m,y)=>(d.openBlock(),d.createElementBlock("div",k1e,[d.createVNode(d.unref(D1e),{class:"editor-toolbar",editor:i.value,defaultConfig:l,mode:m.mode},null,8,["editor","mode"]),d.createVNode(d.unref(E1e),{class:"editor-content",style:d.normalizeStyle({height:s.value}),modelValue:a.value,"onUpdate:modelValue":y[0]||(y[0]=b=>a.value=b),defaultConfig:u,mode:m.mode,onOnCreated:c,onOnChange:f,onOnDestroyed:p,onOnFocus:h,onOnBlur:v},null,8,["style","modelValue","mode"])]))}}),[["__scopeId","data-v-760a12a3"]]),A1e={class:"setting-content"},O1e={class:"setting-header flex items-center"},T1e={class:"setting-header flex items-center"},B1e={class:"setting-body"},_1e={class:"setting-item"},N1e={class:"item-name"},P1e={class:"btn-group"},F1e={class:"drag-handle"},V1e={class:"btn-group"},L1e={key:0,class:"drag-handle"},I1e={class:"item-action flex items-center"},j1e=["onClick"],M1e={class:"btn-group"},R1e={key:0,class:"drag-handle"},z1e={class:"item-action flex items-center"},H1e=["onClick"],U1e={class:"btn-group"},G1e={key:0,class:"drag-handle"},W1e={class:"item-action flex items-center"},q1e=["onClick"],K1e={class:"btn-group"},Y1e={key:0,class:"drag-handle"},X1e={class:"item-action flex items-center"},Z1e=["onClick"],J1e=["src"],Q1e={class:"item-uplaod flex items-center"},$1e={class:"item-img-list"},ewe={class:"btn-group"},twe={key:0,class:"drag-handle"},nwe={key:0,class:"item-img-box"},rwe=["src"],owe={class:"item-right flex-1"},iwe=["onClick"],awe=["src"],swe={class:"item-uplaod flex items-center"},lwe=["src"],uwe={class:"item-uplaod flex items-center"},cwe=lt(d.defineComponent({__name:"setting",props:{show:{type:Boolean,default:!1},data:{type:Object,default:()=>{}}},emits:["update:show"],setup(e,{emit:t}){const n=d.ref(!1),r=d.computed(()=>({animation:200,group:"item",disabled:!1,ghostClass:"ghost"})),o=d.computed(()=>({animation:200,group:"buttons",disabled:!1,ghostClass:"ghost"})),i=d.computed(()=>({animation:200,group:"links",disabled:!1,ghostClass:"ghost"})),a=d.computed(()=>({animation:200,group:"categories",disabled:!1,ghostClass:"ghost"})),s=d.computed(()=>({animation:200,group:"images",disabled:!1,ghostClass:"ghost"})),l=S=>S&&S.length>1,u=e,c=t,f=()=>{c("update:show",!1)},p=S=>{const x=u.data;S==="Article"?x.data.push({id:ve(),type:"Article",title:"",content:"",buttonList:[],linkList:[]}):S==="Contact"?x.data.push({id:ve(),type:"Contact",title:"",content:"",categories:[],linkList:[]}):S==="Image"?x.data.push({id:ve(),type:"Image",imgSrc:"",caption:"",alt:"",isRound:!1}):S==="ImageList"?x.data.push({id:ve(),type:"ImageList",imageList:[]}):S==="Video"&&x.data.push({id:ve(),type:"Video",videoSrc:"",imgSrc:""})},h=S=>{u.data.data=u.data.data.filter(x=>x.id!==S)},v=S=>{S.push({id:ve(),text:"查看更多",url:void 0,isExternal:!1})},m=(S,x)=>{S.splice(S.findIndex(k=>k.id===x),1)},y=S=>{S.push({id:ve(),text:"查看更多",url:void 0,isExternal:!1})},b=(S,x)=>{S.splice(S.findIndex(k=>k.id===x),1)},g=S=>{S.push({id:ve(),text:"分类"})},w=(S,x)=>{S.splice(S.findIndex(k=>k.id===x),1)},E=S=>{S.push({id:ve(),src:""})},C=(S,x)=>{S.splice(S.findIndex(k=>k===x),1)};return(S,x)=>{const k=d.resolveComponent("a-option"),O=d.resolveComponent("a-select"),_=d.resolveComponent("icon-plus"),P=d.resolveComponent("a-button"),F=d.resolveComponent("a-button-group"),H=d.resolveComponent("icon-drag-arrow"),R=d.resolveComponent("icon-delete"),z=d.resolveComponent("a-input"),U=d.resolveComponent("a-checkbox"),Q=d.resolveComponent("a-link"),Z=d.resolveComponent("a-upload"),te=d.resolveComponent("a-drawer");return d.openBlock(),d.createBlock(te,{width:500,visible:e.show,footer:!1,onCancel:f,unmountOnClose:""},{title:d.withCtx(()=>[d.createTextVNode(d.toDisplayString(e.data.type)+"组件编辑 ",1)]),default:d.withCtx(()=>[d.createElementVNode("div",A1e,[d.createElementVNode("div",O1e,[x[24]||(x[24]=d.createElementVNode("span",{class:"header-title"},"组件宽度",-1)),d.createVNode(O,{modelValue:e.data.width,"onUpdate:modelValue":x[0]||(x[0]=G=>e.data.width=G),placeholder:"请选择","allow-clear":""},{default:d.withCtx(()=>[d.createVNode(k,{value:"default"},{default:d.withCtx(()=>x[20]||(x[20]=[d.createTextVNode("默认")])),_:1,__:[20]}),d.createVNode(k,{value:"small"},{default:d.withCtx(()=>x[21]||(x[21]=[d.createTextVNode("小")])),_:1,__:[21]}),d.createVNode(k,{value:"medium"},{default:d.withCtx(()=>x[22]||(x[22]=[d.createTextVNode("中")])),_:1,__:[22]}),d.createVNode(k,{value:"large"},{default:d.withCtx(()=>x[23]||(x[23]=[d.createTextVNode("大")])),_:1,__:[23]})]),_:1},8,["modelValue"])]),d.createElementVNode("div",T1e,[x[27]||(x[27]=d.createElementVNode("span",{class:"header-title"},"组件背景",-1)),d.createVNode(O,{modelValue:e.data.background,"onUpdate:modelValue":x[1]||(x[1]=G=>e.data.background=G),placeholder:"请选择","allow-clear":""},{default:d.withCtx(()=>[d.createVNode(k,{value:"white"},{default:d.withCtx(()=>x[25]||(x[25]=[d.createTextVNode("白色")])),_:1,__:[25]}),d.createVNode(k,{value:"grey"},{default:d.withCtx(()=>x[26]||(x[26]=[d.createTextVNode("灰色")])),_:1,__:[26]})]),_:1},8,["modelValue"])]),d.createVNode(F,{type:"primary"},{default:d.withCtx(()=>[d.createVNode(P,{size:"mini",onClick:x[2]||(x[2]=G=>p("Article"))},{icon:d.withCtx(()=>[d.createVNode(_)]),default:d.withCtx(()=>[x[28]||(x[28]=d.createTextVNode(" Article "))]),_:1,__:[28]}),d.createVNode(P,{size:"mini",onClick:x[3]||(x[3]=G=>p("Contact"))},{icon:d.withCtx(()=>[d.createVNode(_)]),default:d.withCtx(()=>[x[29]||(x[29]=d.createTextVNode(" Contact "))]),_:1,__:[29]}),d.createVNode(P,{size:"mini",onClick:x[4]||(x[4]=G=>p("Image"))},{icon:d.withCtx(()=>[d.createVNode(_)]),default:d.withCtx(()=>[x[30]||(x[30]=d.createTextVNode(" Image "))]),_:1,__:[30]}),d.createVNode(P,{size:"mini",onClick:x[5]||(x[5]=G=>p("ImageList"))},{icon:d.withCtx(()=>[d.createVNode(_)]),default:d.withCtx(()=>[x[31]||(x[31]=d.createTextVNode(" ImageList "))]),_:1,__:[31]}),d.createVNode(P,{size:"mini",onClick:x[6]||(x[6]=G=>p("Video"))},{icon:d.withCtx(()=>[d.createVNode(_)]),default:d.withCtx(()=>[x[32]||(x[32]=d.createTextVNode(" Video "))]),_:1,__:[32]})]),_:1}),d.createElementVNode("div",B1e,[d.createVNode(d.unref(an),d.mergeProps({modelValue:e.data.data,"onUpdate:modelValue":x[17]||(x[17]=G=>e.data.data=G),"component-data":{tag:"div",type:"transition-group",name:n.value?null:"flip-list"}},r.value,{onStart:x[18]||(x[18]=G=>n.value=!0),onEnd:x[19]||(x[19]=G=>n.value=!1),"item-key":"id"}),{item:d.withCtx(({element:G})=>[d.createElementVNode("div",_1e,[d.createElementVNode("p",N1e,d.toDisplayString(G.type),1),d.createElementVNode("div",P1e,[d.createElementVNode("div",F1e,[d.createVNode(H,{class:"drag-icon"})]),d.createVNode(R,{class:"btn-delete",onClick:A=>h(G.id)},null,8,["onClick"])]),G.type==="Article"?(d.openBlock(),d.createElementBlock(d.Fragment,{key:0},[x[37]||(x[37]=d.createElementVNode("p",{class:"item-title"},"标题",-1)),d.createVNode(z,{modelValue:G.title,"onUpdate:modelValue":A=>G.title=A,placeholder:"请输入标题","allow-clear":""},null,8,["modelValue","onUpdate:modelValue"]),x[38]||(x[38]=d.createElementVNode("p",{class:"item-title"},"内容",-1)),d.createVNode(d.unref(yh),{modelValue:G.content,"onUpdate:modelValue":A=>G.content=A},null,8,["modelValue","onUpdate:modelValue"]),x[39]||(x[39]=d.createElementVNode("p",{class:"item-title"},"按钮",-1)),d.createVNode(d.unref(an),d.mergeProps({modelValue:G.buttonList,"onUpdate:modelValue":A=>G.buttonList=A,"component-data":{tag:"div",type:"transition-group",name:n.value?null:"flip-list"}},o.value,{disabled:!l(G.buttonList),onStart:x[7]||(x[7]=A=>n.value=!0),onEnd:x[8]||(x[8]=A=>n.value=!1),"item-key":"id"}),{item:d.withCtx(({element:A})=>[(d.openBlock(),d.createElementBlock("div",{class:d.normalizeClass(["item-button draggable-item",{"sortable-disabled":!l(G.buttonList)}]),key:A.id},[d.createElementVNode("div",V1e,[l(G.buttonList)?(d.openBlock(),d.createElementBlock("div",L1e,[d.createVNode(H,{class:"drag-icon"})])):d.createCommentVNode("",!0),d.createVNode(R,{class:"btn-delete",onClick:T=>m(G.buttonList,A.id)},null,8,["onClick"])]),d.createVNode(P,{type:"primary"},{default:d.withCtx(()=>[d.createTextVNode(d.toDisplayString(A.text),1)]),_:2},1024),d.createElementVNode("div",I1e,[d.createVNode(z,{class:"action-text",modelValue:A.text,"onUpdate:modelValue":T=>A.text=T,placeholder:"按钮文本","allow-clear":""},null,8,["modelValue","onUpdate:modelValue"]),d.createVNode(z,{modelValue:A.url,"onUpdate:modelValue":T=>A.url=T,placeholder:"按钮链接","allow-clear":""},null,8,["modelValue","onUpdate:modelValue"])]),d.createVNode(U,{"model-value":A.isExternal},{default:d.withCtx(()=>x[33]||(x[33]=[d.createTextVNode("是否外部链接")])),_:2,__:[33]},1032,["model-value"])],2))]),_:2},1040,["modelValue","onUpdate:modelValue","component-data","disabled"]),d.createElementVNode("div",{class:"item-add-btn flex items-center",onClick:A=>v(G.buttonList)},[d.createVNode(_),x[34]||(x[34]=d.createElementVNode("span",{class:"btn-text"},"添加按钮",-1))],8,j1e),x[40]||(x[40]=d.createElementVNode("p",{class:"item-title"},"链接",-1)),d.createVNode(d.unref(an),d.mergeProps({modelValue:G.linkList,"onUpdate:modelValue":A=>G.linkList=A,"component-data":{tag:"div",type:"transition-group",name:n.value?null:"flip-list"}},i.value,{disabled:!l(G.linkList),onStart:x[9]||(x[9]=A=>n.value=!0),onEnd:x[10]||(x[10]=A=>n.value=!1),"item-key":"id"}),{item:d.withCtx(({element:A})=>[(d.openBlock(),d.createElementBlock("div",{class:d.normalizeClass(["item-button draggable-item",{"sortable-disabled":!l(G.linkList)}]),key:A.id},[d.createElementVNode("div",M1e,[l(G.linkList)?(d.openBlock(),d.createElementBlock("div",R1e,[d.createVNode(H,{class:"drag-icon"})])):d.createCommentVNode("",!0),d.createVNode(R,{class:"btn-delete",onClick:T=>b(G.linkList,A.id)},null,8,["onClick"])]),d.createVNode(Q,{href:"link"},{default:d.withCtx(()=>[d.createTextVNode(d.toDisplayString(A.text),1)]),_:2},1024),d.createElementVNode("div",z1e,[d.createVNode(z,{class:"action-text",modelValue:A.text,"onUpdate:modelValue":T=>A.text=T,placeholder:"按钮文本","allow-clear":""},null,8,["modelValue","onUpdate:modelValue"]),d.createVNode(z,{modelValue:A.url,"onUpdate:modelValue":T=>A.url=T,placeholder:"按钮链接","allow-clear":""},null,8,["modelValue","onUpdate:modelValue"])]),d.createVNode(U,{"model-value":A.isExternal},{default:d.withCtx(()=>x[35]||(x[35]=[d.createTextVNode("是否外部链接")])),_:2,__:[35]},1032,["model-value"])],2))]),_:2},1040,["modelValue","onUpdate:modelValue","component-data","disabled"]),d.createElementVNode("div",{class:"item-add-btn flex items-center",onClick:A=>y(G.linkList)},[d.createVNode(_),x[36]||(x[36]=d.createElementVNode("span",{class:"btn-text"},"添加链接",-1))],8,H1e)],64)):d.createCommentVNode("",!0),G.type==="Contact"?(d.openBlock(),d.createElementBlock(d.Fragment,{key:1},[x[44]||(x[44]=d.createElementVNode("p",{class:"item-title"},"标题",-1)),d.createVNode(z,{modelValue:G.title,"onUpdate:modelValue":A=>G.title=A,placeholder:"请输入标题","allow-clear":""},null,8,["modelValue","onUpdate:modelValue"]),x[45]||(x[45]=d.createElementVNode("p",{class:"item-title"},"内容",-1)),d.createVNode(d.unref(yh),{modelValue:G.content,"onUpdate:modelValue":A=>G.content=A},null,8,["modelValue","onUpdate:modelValue"]),x[46]||(x[46]=d.createElementVNode("p",{class:"item-title"},"分类",-1)),d.createVNode(d.unref(an),d.mergeProps({modelValue:G.categories,"onUpdate:modelValue":A=>G.categories=A,"component-data":{tag:"div",type:"transition-group",name:n.value?null:"flip-list"}},a.value,{disabled:!l(G.categories),onStart:x[11]||(x[11]=A=>n.value=!0),onEnd:x[12]||(x[12]=A=>n.value=!1),"item-key":"id"}),{item:d.withCtx(({element:A})=>[(d.openBlock(),d.createElementBlock("div",{class:d.normalizeClass(["item-button draggable-item",{"sortable-disabled":!l(G.categories)}]),key:A.id},[d.createElementVNode("div",U1e,[l(G.categories)?(d.openBlock(),d.createElementBlock("div",G1e,[d.createVNode(H,{class:"drag-icon"})])):d.createCommentVNode("",!0),d.createVNode(R,{class:"btn-delete",onClick:T=>w(G.categories,A.id)},null,8,["onClick"])]),d.createVNode(R,{class:"btn-delete",onClick:T=>w(G.categories,A.id)},null,8,["onClick"]),d.createVNode(Q,{href:"link"},{default:d.withCtx(()=>[d.createTextVNode(d.toDisplayString(A.text),1)]),_:2},1024),d.createElementVNode("div",W1e,[d.createVNode(z,{modelValue:A.text,"onUpdate:modelValue":T=>A.text=T,placeholder:"分类名称","allow-clear":""},null,8,["modelValue","onUpdate:modelValue"])])],2))]),_:2},1040,["modelValue","onUpdate:modelValue","component-data","disabled"]),d.createElementVNode("div",{class:"item-add-btn flex items-center",onClick:A=>g(G.categories)},[d.createVNode(_),x[41]||(x[41]=d.createElementVNode("span",{class:"btn-text"},"添加分类",-1))],8,q1e),x[47]||(x[47]=d.createElementVNode("p",{class:"item-title"},"链接",-1)),d.createVNode(d.unref(an),d.mergeProps({modelValue:G.linkList,"onUpdate:modelValue":A=>G.linkList=A,"component-data":{tag:"div",type:"transition-group",name:n.value?null:"flip-list"}},i.value,{disabled:!l(G.linkList),onStart:x[13]||(x[13]=A=>n.value=!0),onEnd:x[14]||(x[14]=A=>n.value=!1),"item-key":"id"}),{item:d.withCtx(({element:A})=>[(d.openBlock(),d.createElementBlock("div",{class:d.normalizeClass(["item-button draggable-item",{"sortable-disabled":!l(G.linkList)}]),key:A.id},[d.createElementVNode("div",K1e,[l(G.linkList)?(d.openBlock(),d.createElementBlock("div",Y1e,[d.createVNode(H,{class:"drag-icon"})])):d.createCommentVNode("",!0),d.createVNode(R,{class:"btn-delete",onClick:T=>b(G.linkList,A.id)},null,8,["onClick"])]),d.createVNode(Q,{href:"link"},{default:d.withCtx(()=>[d.createTextVNode(d.toDisplayString(A.text),1)]),_:2},1024),d.createElementVNode("div",X1e,[d.createVNode(z,{class:"action-text",modelValue:A.text,"onUpdate:modelValue":T=>A.text=T,placeholder:"按钮文本","allow-clear":""},null,8,["modelValue","onUpdate:modelValue"]),d.createVNode(z,{modelValue:A.url,"onUpdate:modelValue":T=>A.url=T,placeholder:"按钮链接","allow-clear":""},null,8,["modelValue","onUpdate:modelValue"])]),d.createVNode(U,{"model-value":A.isExternal},{default:d.withCtx(()=>x[42]||(x[42]=[d.createTextVNode("是否外部链接")])),_:2,__:[42]},1032,["model-value"])],2))]),_:2},1040,["modelValue","onUpdate:modelValue","component-data","disabled"]),d.createElementVNode("div",{class:"item-add-btn flex items-center",onClick:A=>y(G.linkList)},[d.createVNode(_),x[43]||(x[43]=d.createElementVNode("span",{class:"btn-text"},"添加链接",-1))],8,Z1e)],64)):d.createCommentVNode("",!0),G.type==="Image"?(d.openBlock(),d.createElementBlock(d.Fragment,{key:2},[d.createElementVNode("img",{class:"item-img",src:G.imgSrc},null,8,J1e),d.createElementVNode("div",Q1e,[d.createVNode(z,{modelValue:G.imgSrc,"onUpdate:modelValue":A=>G.imgSrc=A,placeholder:"请输入标题","allow-clear":""},null,8,["modelValue","onUpdate:modelValue"]),d.createVNode(Z,{class:"fit-content","show-file-list":!1,action:"/"})]),d.createVNode(z,{class:"mt-2",modelValue:G.caption,"onUpdate:modelValue":A=>G.caption=A,placeholder:"图片描述","allow-clear":""},null,8,["modelValue","onUpdate:modelValue"]),d.createVNode(z,{class:"mt-2",modelValue:G.alt,"onUpdate:modelValue":A=>G.alt=A,placeholder:"图片alt","allow-clear":""},null,8,["modelValue","onUpdate:modelValue"]),d.createVNode(U,{class:"pt-2","model-value":G.isRound},{default:d.withCtx(()=>x[48]||(x[48]=[d.createTextVNode("圆角")])),_:2,__:[48]},1032,["model-value"])],64)):d.createCommentVNode("",!0),G.type==="ImageList"?(d.openBlock(),d.createElementBlock(d.Fragment,{key:3},[x[50]||(x[50]=d.createElementVNode("p",{class:"item-title"},"图片组",-1)),d.createElementVNode("div",$1e,[d.createVNode(d.unref(an),d.mergeProps({modelValue:G.imageList,"onUpdate:modelValue":A=>G.imageList=A,"component-data":{tag:"div",type:"transition-group",name:n.value?null:"flip-list"}},s.value,{disabled:!l(G.imageList),onStart:x[15]||(x[15]=A=>n.value=!0),onEnd:x[16]||(x[16]=A=>n.value=!1),"item-key":"id"}),{item:d.withCtx(({element:A})=>[(d.openBlock(),d.createElementBlock("div",{class:d.normalizeClass(["img-list-item flex draggable-item",{"sortable-disabled":!l(G.imageList)}]),key:A.id},[d.createElementVNode("div",ewe,[l(G.imageList)?(d.openBlock(),d.createElementBlock("div",twe,[d.createVNode(H,{class:"drag-icon"})])):d.createCommentVNode("",!0),d.createVNode(R,{class:"btn-delete",onClick:T=>C(G.imageList,A.id)},null,8,["onClick"])]),A.src?(d.openBlock(),d.createElementBlock("div",nwe,[d.createElementVNode("img",{class:"item-img small-img",src:A.src},null,8,rwe)])):d.createCommentVNode("",!0),d.createElementVNode("div",owe,[d.createVNode(z,{style:{"margin-bottom":"12px"},modelValue:A.src,"onUpdate:modelValue":T=>A.src=T,placeholder:"请输入图片路径","allow-clear":""},null,8,["modelValue","onUpdate:modelValue"]),d.createVNode(Z,{"show-file-list":!1,action:"/"})])],2))]),_:2},1040,["modelValue","onUpdate:modelValue","component-data","disabled"])]),d.createElementVNode("div",{class:"item-add-btn flex items-center",onClick:A=>E(G.imageList)},[d.createVNode(_),x[49]||(x[49]=d.createElementVNode("span",{class:"btn-text"},"添加图片",-1))],8,iwe)],64)):d.createCommentVNode("",!0),G.type==="Video"?(d.openBlock(),d.createElementBlock(d.Fragment,{key:4},[x[51]||(x[51]=d.createElementVNode("p",{class:"item-title"},"视频",-1)),d.createElementVNode("video",{class:"item-img",src:G.videoSrc,controls:""},null,8,awe),d.createElementVNode("div",swe,[d.createVNode(z,{modelValue:G.videoSrc,"onUpdate:modelValue":A=>G.videoSrc=A,placeholder:"请输入视频链接","allow-clear":""},null,8,["modelValue","onUpdate:modelValue"]),d.createVNode(Z,{class:"fit-content","show-file-list":!1,action:"/"})]),d.createElementVNode("img",{class:"item-img",src:G.imgSrc},null,8,lwe),d.createElementVNode("div",uwe,[d.createVNode(z,{modelValue:G.imgSrc,"onUpdate:modelValue":A=>G.imgSrc=A,placeholder:"视频封面","allow-clear":""},null,8,["modelValue","onUpdate:modelValue"]),d.createVNode(Z,{class:"fit-content","show-file-list":!1,action:"/"})])],64)):d.createCommentVNode("",!0)])]),_:1},16,["modelValue","component-data"])])])]),_:1},8,["visible"])}}}),[["__scopeId","data-v-c3067679"]]),dwe={class:"operate-page operate-component"},fwe={class:"operate-btn d-flex justify-end"},bi=lt(d.defineComponent({__name:"index",props:{show:{type:Boolean,default:!1}},emits:["handleCopy","handleDelete","handleEdit"],setup(e,{emit:t}){const n=t,r=()=>{n("handleCopy")},o=()=>{n("handleDelete")},i=()=>{n("handleEdit")};return(a,s)=>{const l=d.resolveComponent("icon-copy"),u=d.resolveComponent("icon-delete"),c=d.resolveComponent("icon-edit");return d.withDirectives((d.openBlock(),d.createElementBlock("div",dwe,[d.createElementVNode("div",fwe,[d.createElementVNode("div",{class:"btn-item btn-copy d-flex align-center fs-10",onClick:r},[d.createVNode(l),s[0]||(s[0]=d.createElementVNode("span",{class:"btn-text"},"复制",-1))]),d.createElementVNode("div",{class:"btn-item btn-delete d-flex align-center fs-10",onClick:o},[d.createVNode(u),s[1]||(s[1]=d.createElementVNode("span",{class:"btn-text"},"删除",-1))]),d.createElementVNode("div",{class:"btn-item btn-edit d-flex align-center fs-10",onClick:i},[d.createVNode(c),s[2]||(s[2]=d.createElementVNode("span",{class:"btn-text"},"编辑",-1))])])],512)),[[d.vShow,e.show]])}}}),[["__scopeId","data-v-7426c151"]]),pwe={class:"article-list-left"},hwe={class:"article-list-right"},uD=lt(d.defineComponent({name:"ArticleList",__name:"index",props:{modelValue:{type:Object,default:()=>{}},isPreview:{type:Boolean,default:!1}},emits:["update:modelValue","handleDelete","handleCopy"],setup(e,{emit:t}){const n=e,r=t,o=d.computed(()=>n.modelValue&&n.modelValue.data&&n.modelValue.data.length?n.modelValue.data.some(c=>c.type==="Image"||c.type==="Video"||c.type==="ImageList"):!1),i=()=>{var f,p;if(n.modelValue&&n.modelValue.data)return;const c={id:((f=n.modelValue)==null?void 0:f.id)||ve(),type:"ArticleList",readOnly:((p=n.modelValue)==null?void 0:p.readOnly)||!1,width:"",bgColor:"",data:[{id:ve(),type:"Article",title:"耀华国际教育学校浙江桐乡",content:"耀华国际教育学校浙江桐乡校区成立于 2017 年,先进的校园设施确保学 生在安全友好的环境中学习。学校坐落于高桥镇,提供从幼儿阶段至高中 阶段 (K2 至13 年级) 的教育服务,招收2 岁至18 岁本地和外籍学生。",buttonList:[],linkList:[{id:ve(),text:"了解更多",url:"https://www.baidu.com",isExternal:!1}]},{id:ve(),type:"Image",imgSrc:"https://osswebsite.ycyw.com/media-library/ywies-bj/images/home/ywies-tx.jpg",caption:"",alt:"",isRound:!1}]};r("update:modelValue",c)},a=d.ref(!1),s=d.ref(!1),l=()=>{r("handleDelete",n.modelValue.id)},u=()=>{r("handleCopy",n.modelValue)};return i(),(c,f)=>{var v,m,y;const p=d.resolveComponent("a-col"),h=d.resolveComponent("a-row");return d.openBlock(),d.createElementBlock(d.Fragment,null,[d.createElementVNode("div",{class:"article-list-container",style:d.normalizeStyle({backgroundColor:(v=e.modelValue)==null?void 0:v.bgColor}),onMouseenter:f[2]||(f[2]=b=>a.value=!0),onMouseleave:f[3]||(f[3]=b=>a.value=!1)},[d.createVNode(h,{class:d.normalizeClass(["article-list",[(m=e.modelValue)!=null&&m.width?`container-content-${(y=e.modelValue)==null?void 0:y.width}`:"container-content"]])},{default:d.withCtx(()=>{var b;return[d.createVNode(p,{sm:{span:24},md:{span:o.value?12:24}},{default:d.withCtx(()=>{var g;return[d.createElementVNode("div",pwe,[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList((g=e.modelValue)==null?void 0:g.data,w=>(d.openBlock(),d.createElementBlock(d.Fragment,{key:w.id},[w.type==="Article"?(d.openBlock(),d.createBlock(Qz,{key:0,article:w},null,8,["article"])):d.createCommentVNode("",!0),w.type==="Contact"?(d.openBlock(),d.createBlock(oH,{key:1,contact:w},null,8,["contact"])):d.createCommentVNode("",!0)],64))),128))])]}),_:1},8,["md"]),o.value?(d.openBlock(),d.createBlock(p,{key:0,sm:{span:24},md:{span:12}},{default:d.withCtx(()=>{var g;return[d.createElementVNode("div",hwe,[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList((g=e.modelValue)==null?void 0:g.data,w=>(d.openBlock(),d.createBlock(gH,{key:w.id,type:w.type,data:w,preview:e.modelValue.isPreview},null,8,["type","data","preview"]))),128))])]}),_:1})):d.createCommentVNode("",!0),(b=e.modelValue)!=null&&b.readOnly?d.createCommentVNode("",!0):(d.openBlock(),d.createBlock(bi,{key:1,show:a.value,"onUpdate:show":f[0]||(f[0]=g=>a.value=g),onHandleEdit:f[1]||(f[1]=g=>s.value=!0),onHandleDelete:l,onHandleCopy:u},null,8,["show"]))]}),_:1},8,["class"])],36),d.createVNode(cwe,{show:s.value,"onUpdate:show":f[4]||(f[4]=b=>s.value=b),data:e.modelValue},null,8,["show","data"])],64)}}}),[["__scopeId","data-v-821771c9"]]),gwe={class:"setting-content"},mwe=["src"],vwe={class:"item-uplaod flex items-center"},ywe=lt(d.defineComponent({__name:"setting",props:{show:{type:Boolean,default:!1},data:{type:Object,default:()=>{}}},emits:["update:show"],setup(e,{emit:t}){const n=t,r=()=>{n("update:show",!1)};return(o,i)=>{const a=d.resolveComponent("a-input"),s=d.resolveComponent("a-upload"),l=d.resolveComponent("a-drawer");return d.openBlock(),d.createBlock(l,{width:500,visible:e.show,footer:!1,onCancel:r,unmountOnClose:""},{title:d.withCtx(()=>[d.createTextVNode(d.toDisplayString(e.data.type)+"组件编辑 ",1)]),default:d.withCtx(()=>{var u,c;return[d.createElementVNode("div",gwe,[i[2]||(i[2]=d.createElementVNode("p",{class:"item-title"},"标题",-1)),d.createVNode(a,{modelValue:e.data.data.title,"onUpdate:modelValue":i[0]||(i[0]=f=>e.data.data.title=f),placeholder:"请输入标题","allow-clear":""},null,8,["modelValue"]),i[3]||(i[3]=d.createElementVNode("p",{class:"item-title"},"图片",-1)),d.createElementVNode("img",{class:"item-img",src:(c=(u=e.data)==null?void 0:u.data)==null?void 0:c.imgSrc},null,8,mwe),d.createElementVNode("div",vwe,[d.createVNode(a,{modelValue:e.data.data.imgSrc,"onUpdate:modelValue":i[1]||(i[1]=f=>e.data.data.imgSrc=f),placeholder:"请输入图片链接","allow-clear":""},null,8,["modelValue"]),d.createVNode(s,{class:"fit-content","show-file-list":!1,action:"/"})])])]}),_:1},8,["visible"])}}}),[["__scopeId","data-v-c2966fed"]]),bwe={class:"red"},wwe={class:"banner-page__title"},Ewe={class:"position-absolute triangle-position"},xwe={class:"position-relative h-100 banner-strips"},cD=lt(d.defineComponent({name:"BannerPage",__name:"index",props:{modelValue:{type:Object,default:()=>{}},isPreview:{type:Boolean,default:!1}},emits:["update:modelValue","handleDelete","handleCopy"],setup(e,{emit:t}){const n=e,r=t,o=()=>{var c,f;if(n.modelValue&&n.modelValue.data)return;const u={id:((c=n.modelValue)==null?void 0:c.id)||ve(),type:"BannerPage",readOnly:((f=n.modelValue)==null?void 0:f.readOnly)||!1,data:{title:"冷风机奥附件哦啊金佛阿吉佛大金佛电极法对哦就对哦就发哦就发哦激发激发哦飞机奥飞机",imgSrc:"https://osswebsite.ycyw.com/media-library/ywies-bj/images/home/ywies-tx.jpg"}};r("update:modelValue",u)},i=d.ref(!1),a=d.ref(!1),s=()=>{r("handleDelete",n.modelValue.id)},l=()=>{r("handleCopy",n.modelValue)};return o(),(u,c)=>{var f,p,h,v,m;return d.openBlock(),d.createElementBlock(d.Fragment,null,[d.createElementVNode("div",{class:"banner-page",onMouseenter:c[2]||(c[2]=y=>i.value=!0),onMouseleave:c[3]||(c[3]=y=>i.value=!1)},[d.createElementVNode("div",bwe,[d.createElementVNode("p",wwe,d.toDisplayString((p=(f=e.modelValue)==null?void 0:f.data)==null?void 0:p.title),1)]),c[6]||(c[6]=d.createElementVNode("div",{class:"orange"},null,-1)),d.createElementVNode("div",Ewe,[d.createElementVNode("div",xwe,[c[5]||(c[5]=d.createElementVNode("img",{src:"https://ywies-tx.cedim.cn/images/material/banner-strips.png",alt:""},null,-1)),d.createElementVNode("div",{class:"triangle",style:d.normalizeStyle({backgroundImage:"url("+((v=(h=e.modelValue)==null?void 0:h.data)==null?void 0:v.imgSrc)+")"}),"data-v-24231ec2":""},null,4)])]),(m=e.modelValue)!=null&&m.readOnly?d.createCommentVNode("",!0):(d.openBlock(),d.createBlock(bi,{key:0,show:i.value,"onUpdate:show":c[0]||(c[0]=y=>i.value=y),onHandleEdit:c[1]||(c[1]=y=>a.value=!0),onHandleDelete:s,onHandleCopy:l},null,8,["show"]))],32),d.createVNode(ywe,{show:a.value,"onUpdate:show":c[4]||(c[4]=y=>a.value=y),data:e.modelValue},null,8,["show","data"])],64)}}}),[["__scopeId","data-v-9d303384"]]),Cwe={class:"setting-content"},Swe=lt(d.defineComponent({__name:"setting",props:{show:{type:Boolean,default:!1},data:{type:Object,default:()=>{}}},emits:["update:show"],setup(e,{emit:t}){const n=e,r=t,o=()=>{r("update:show",!1)},i=d.ref(1),a=s=>{s===1?(n.data.data.desktopHeight=49,n.data.data.mobileHeight=24):s===2?(n.data.data.desktopHeight=80,n.data.data.mobileHeight=40):s===3?(n.data.data.desktopHeight=32,n.data.data.mobileHeight=40):s===4?(n.data.data.desktopHeight=16,n.data.data.mobileHeight=16):s===5&&(n.data.data.desktopHeight=160,n.data.data.mobileHeight=80)};return(s,l)=>{const u=d.resolveComponent("a-option"),c=d.resolveComponent("a-select"),f=d.resolveComponent("a-input"),p=d.resolveComponent("a-drawer");return d.openBlock(),d.createBlock(p,{width:500,visible:e.show,footer:!1,onCancel:o,unmountOnClose:""},{title:d.withCtx(()=>[d.createTextVNode(d.toDisplayString(e.data.type)+"组件编辑 ",1)]),default:d.withCtx(()=>[d.createElementVNode("div",Cwe,[l[12]||(l[12]=d.createElementVNode("p",{class:"item-title"},"背景颜色",-1)),d.createVNode(c,{modelValue:e.data.bgColor,"onUpdate:modelValue":l[0]||(l[0]=h=>e.data.bgColor=h),placeholder:"请选择","allow-clear":""},{default:d.withCtx(()=>[d.createVNode(u,{value:"#ffffff"},{default:d.withCtx(()=>l[5]||(l[5]=[d.createTextVNode("白色")])),_:1,__:[5]}),d.createVNode(u,{value:"#F7F7FA"},{default:d.withCtx(()=>l[6]||(l[6]=[d.createTextVNode("灰色")])),_:1,__:[6]})]),_:1},8,["modelValue"]),l[13]||(l[13]=d.createElementVNode("p",{class:"item-title"},"间距设置",-1)),d.createVNode(c,{modelValue:i.value,"onUpdate:modelValue":l[1]||(l[1]=h=>i.value=h),placeholder:"请选择",onChange:a,"allow-clear":""},{default:d.withCtx(()=>[d.createVNode(u,{value:1},{default:d.withCtx(()=>l[7]||(l[7]=[d.createTextVNode("制表符起始间距(49px,24px)")])),_:1,__:[7]}),d.createVNode(u,{value:2},{default:d.withCtx(()=>l[8]||(l[8]=[d.createTextVNode("部分间距(80px,40px)")])),_:1,__:[8]}),d.createVNode(u,{value:3},{default:d.withCtx(()=>l[9]||(l[9]=[d.createTextVNode("组件间距(32px,40px)")])),_:1,__:[9]}),d.createVNode(u,{value:4},{default:d.withCtx(()=>l[10]||(l[10]=[d.createTextVNode("链接间距(16px,16px)")])),_:1,__:[10]}),d.createVNode(u,{value:5},{default:d.withCtx(()=>l[11]||(l[11]=[d.createTextVNode("页末间距(160px,80px)")])),_:1,__:[11]})]),_:1},8,["modelValue"]),l[14]||(l[14]=d.createElementVNode("p",{class:"item-title"},"PC高度(单位:px)",-1)),d.createVNode(f,{modelValue:e.data.data.desktopHeight,"onUpdate:modelValue":l[2]||(l[2]=h=>e.data.data.desktopHeight=h),disabled:""},null,8,["modelValue"]),l[15]||(l[15]=d.createElementVNode("p",{class:"item-title"},"移动端高度(单位:px)",-1)),d.createVNode(f,{modelValue:e.data.data.mobileHeight,"onUpdate:modelValue":l[3]||(l[3]=h=>e.data.data.mobileHeight=h),disabled:""},null,8,["modelValue"]),l[16]||(l[16]=d.createElementVNode("p",{class:"item-title"},"唯一标识",-1)),d.createVNode(f,{modelValue:e.data.data.id,"onUpdate:modelValue":l[4]||(l[4]=h=>e.data.data.id=h),placeholder:"请输入唯一标识","allow-clear":""},null,8,["modelValue"])])]),_:1},8,["visible"])}}}),[["__scopeId","data-v-72d8e435"]]),Dwe=["id"],dD=lt(d.defineComponent({name:"CustomSpace",__name:"index",props:{modelValue:{type:Object,default:()=>{}},isPreview:{type:Boolean,default:!1}},emits:["update:modelValue","handleDelete","handleCopy"],setup(e,{emit:t}){const n=e,r=t,o=()=>{var c,f;if(n.modelValue&&n.modelValue.data)return;const u={id:((c=n.modelValue)==null?void 0:c.id)||ve(),type:"CustomSpace",readOnly:((f=n.modelValue)==null?void 0:f.readOnly)||!1,data:{id:"",desktopHeight:"49",mobileHeight:"24",bgColor:""}};r("update:modelValue",u)},i=d.ref(!1),a=d.ref(!1),s=()=>{r("handleDelete",n.modelValue.id)},l=()=>{r("handleCopy",n.modelValue)};return o(),(u,c)=>{var f,p,h,v,m,y,b,g,w;return d.openBlock(),d.createElementBlock(d.Fragment,null,[d.createElementVNode("div",{id:(p=(f=e.modelValue)==null?void 0:f.data)==null?void 0:p.id,class:"custom-space",style:d.normalizeStyle({"--desktop-height":((v=(h=e.modelValue)==null?void 0:h.data)==null?void 0:v.desktopHeight)+"px","--mobile-height":((y=(m=e.modelValue)==null?void 0:m.data)==null?void 0:y.mobileHeight)+"px","--bg-color":(g=(b=e.modelValue)==null?void 0:b.data)==null?void 0:g.bgColor}),onMouseenter:c[2]||(c[2]=E=>i.value=!0),onMouseleave:c[3]||(c[3]=E=>i.value=!1)},[(w=e.modelValue)!=null&&w.readOnly?d.createCommentVNode("",!0):(d.openBlock(),d.createBlock(bi,{key:0,show:i.value,"onUpdate:show":c[0]||(c[0]=E=>i.value=E),onHandleEdit:c[1]||(c[1]=E=>a.value=!0),onHandleDelete:s,onHandleCopy:l},null,8,["show"]))],44,Dwe),d.createVNode(Swe,{show:a.value,"onUpdate:show":c[4]||(c[4]=E=>a.value=E),data:e.modelValue},null,8,["show","data"])],64)}}}),[["__scopeId","data-v-05d34a76"]]),kwe={class:"setting-content"},Awe={class:"setting-body"},Owe={class:"item-name"},Twe={class:"btn-group"},Bwe={key:0,class:"drag-handle"},_we={class:"item-name"},Nwe=["src"],Pwe={class:"mt-2 flex items-center"},Fwe=["src"],Vwe={class:"mt-2 flex items-center"},Lwe=["src"],Iwe={class:"mt-2 flex items-center"},jwe={class:"btn-group"},Mwe={key:0,class:"drag-handle"},Rwe={class:"item-action flex items-center"},zwe=["onClick"],Hwe=lt(d.defineComponent({__name:"setting",props:{show:{type:Boolean,default:!1},data:{type:Object,default:()=>{}}},emits:["update:show","updateSwiper"],setup(e,{emit:t}){const n=d.ref(!1),r=d.computed(()=>({animation:200,group:"banners",disabled:!1,ghostClass:"ghost"})),o=d.computed(()=>({animation:200,group:"links",disabled:!1,ghostClass:"ghost"})),i=p=>p&&p.length>1,a=t,s=()=>{a("update:show",!1)},l=(p,h)=>{p.push({id:ve(),type:h,imgSrc:"",title:"",alt:"",link:"",videoSrc:h==="Video"?"":void 0}),a("updateSwiper")},u=(p,h)=>{p.splice(p.findIndex(v=>v.id===h),1),a("updateSwiper")},c=p=>{p.push({id:ve(),text:"查看更多",url:void 0,isExternal:!1})},f=(p,h)=>{p.splice(p.findIndex(v=>v.id===h),1)};return(p,h)=>{const v=d.resolveComponent("icon-drag-arrow"),m=d.resolveComponent("icon-delete"),y=d.resolveComponent("a-input"),b=d.resolveComponent("a-upload"),g=d.resolveComponent("a-checkbox"),w=d.resolveComponent("icon-plus"),E=d.resolveComponent("a-button"),C=d.resolveComponent("a-button-group"),S=d.resolveComponent("a-link"),x=d.resolveComponent("a-drawer");return d.openBlock(),d.createBlock(x,{width:500,visible:e.show,footer:!1,onCancel:s,unmountOnClose:""},{title:d.withCtx(()=>[d.createTextVNode(d.toDisplayString(e.data.type)+"组件编辑 ",1)]),default:d.withCtx(()=>[d.createElementVNode("div",kwe,[d.createElementVNode("div",Awe,[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(e.data.data,k=>(d.openBlock(),d.createElementBlock("div",{class:"setting-item",key:k.id},[d.createElementVNode("p",Owe,d.toDisplayString(k.type),1),k.type==="Banners"?(d.openBlock(),d.createElementBlock(d.Fragment,{key:0},[d.createVNode(d.unref(an),d.mergeProps({modelValue:k.data,"onUpdate:modelValue":O=>k.data=O,"component-data":{tag:"div",type:"transition-group",name:n.value?null:"flip-list"}},{ref_for:!0},r.value,{disabled:!i(k.data),onStart:h[0]||(h[0]=O=>n.value=!0),onEnd:h[1]||(h[1]=O=>n.value=!1),"item-key":"id"}),{item:d.withCtx(({element:O})=>[(d.openBlock(),d.createElementBlock("div",{class:d.normalizeClass(["item-button draggable-item",{"sortable-disabled":!i(k.data)}]),key:k.id},[d.createElementVNode("div",Twe,[i(k.data)?(d.openBlock(),d.createElementBlock("div",Bwe,[d.createVNode(v,{class:"drag-icon"})])):d.createCommentVNode("",!0),d.createVNode(m,{class:"btn-delete",onClick:_=>u(k.data,k.id)},null,8,["onClick"])]),d.createElementVNode("p",_we,d.toDisplayString(O.type),1),d.createVNode(y,{class:"mt-2",modelValue:O.title,"onUpdate:modelValue":_=>O.title=_,placeholder:"标题","allow-clear":""},null,8,["modelValue","onUpdate:modelValue"]),d.createVNode(y,{class:"mt-2",modelValue:O.alt,"onUpdate:modelValue":_=>O.alt=_,placeholder:"图片alt","allow-clear":""},null,8,["modelValue","onUpdate:modelValue"]),d.createVNode(y,{class:"mt-2",modelValue:O.link,"onUpdate:modelValue":_=>O.link=_,placeholder:"链接","allow-clear":""},null,8,["modelValue","onUpdate:modelValue"]),O.type==="Image"?(d.openBlock(),d.createElementBlock(d.Fragment,{key:0},[d.createElementVNode("img",{class:"item-img",src:O.imgSrc},null,8,Nwe),d.createElementVNode("div",Pwe,[d.createVNode(y,{modelValue:O.imgSrc,"onUpdate:modelValue":_=>O.imgSrc=_,placeholder:"请输入图片链接","allow-clear":""},null,8,["modelValue","onUpdate:modelValue"]),d.createVNode(b,{class:"fit-content","show-file-list":!1,action:"/"})])],64)):(d.openBlock(),d.createElementBlock(d.Fragment,{key:1},[d.createElementVNode("video",{class:"item-img",src:O.videoSrc,controls:""},null,8,Fwe),d.createElementVNode("div",Vwe,[d.createVNode(y,{modelValue:O.videoSrc,"onUpdate:modelValue":_=>O.videoSrc=_,placeholder:"请输入视频链接","allow-clear":""},null,8,["modelValue","onUpdate:modelValue"]),d.createVNode(b,{class:"fit-content","show-file-list":!1,action:"/"})]),d.createElementVNode("img",{class:"item-img",src:O.imgSrc},null,8,Lwe),d.createElementVNode("div",Iwe,[d.createVNode(y,{modelValue:O.imgSrc,"onUpdate:modelValue":_=>O.imgSrc=_,placeholder:"视频封面","allow-clear":""},null,8,["modelValue","onUpdate:modelValue"]),d.createVNode(b,{class:"fit-content","show-file-list":!1,action:"/"})])],64)),d.createVNode(g,{class:"mt-2","model-value":O.isExternal},{default:d.withCtx(()=>h[4]||(h[4]=[d.createTextVNode("是否外部链接")])),_:2,__:[4]},1032,["model-value"])],2))]),_:2},1040,["modelValue","onUpdate:modelValue","component-data","disabled"]),d.createVNode(C,{class:"mt-2",type:"primary"},{default:d.withCtx(()=>[d.createVNode(E,{size:"mini",type:"outline",onClick:O=>l(k.data,"Image")},{icon:d.withCtx(()=>[d.createVNode(w)]),default:d.withCtx(()=>[h[5]||(h[5]=d.createTextVNode(" 图片 "))]),_:2,__:[5]},1032,["onClick"]),d.createVNode(E,{size:"mini",type:"outline",onClick:O=>l(k.data,"Video")},{icon:d.withCtx(()=>[d.createVNode(w)]),default:d.withCtx(()=>[h[6]||(h[6]=d.createTextVNode(" 视频 "))]),_:2,__:[6]},1032,["onClick"])]),_:2},1024)],64)):d.createCommentVNode("",!0),k.type==="Links"?(d.openBlock(),d.createElementBlock(d.Fragment,{key:1},[d.createVNode(d.unref(an),d.mergeProps({modelValue:k.data,"onUpdate:modelValue":O=>k.data=O,"component-data":{tag:"div",type:"transition-group",name:n.value?null:"flip-list"}},{ref_for:!0},o.value,{disabled:!i(k.data),onStart:h[2]||(h[2]=O=>n.value=!0),onEnd:h[3]||(h[3]=O=>n.value=!1),"item-key":"id"}),{item:d.withCtx(({element:O})=>[(d.openBlock(),d.createElementBlock("div",{class:d.normalizeClass(["item-button draggable-item",{"sortable-disabled":!i(k.data)}]),key:O.id},[d.createElementVNode("div",jwe,[i(k.data)?(d.openBlock(),d.createElementBlock("div",Mwe,[d.createVNode(v,{class:"drag-icon"})])):d.createCommentVNode("",!0),d.createVNode(m,{class:"btn-delete",onClick:_=>f(k.data,O.id)},null,8,["onClick"])]),d.createVNode(S,{href:"link"},{default:d.withCtx(()=>[d.createTextVNode(d.toDisplayString(O.text),1)]),_:2},1024),d.createElementVNode("div",Rwe,[d.createVNode(y,{class:"action-text",modelValue:O.text,"onUpdate:modelValue":_=>O.text=_,placeholder:"按钮文本","allow-clear":""},null,8,["modelValue","onUpdate:modelValue"]),d.createVNode(y,{modelValue:O.url,"onUpdate:modelValue":_=>O.url=_,placeholder:"按钮链接","allow-clear":""},null,8,["modelValue","onUpdate:modelValue"])]),d.createVNode(g,{"model-value":O.isExternal},{default:d.withCtx(()=>h[7]||(h[7]=[d.createTextVNode("是否外部链接")])),_:2,__:[7]},1032,["model-value"])],2))]),_:2},1040,["modelValue","onUpdate:modelValue","component-data","disabled"]),d.createElementVNode("div",{class:"item-add-btn flex items-center",onClick:O=>c(k.data)},[d.createVNode(w),h[8]||(h[8]=d.createElementVNode("span",{class:"btn-text"},"添加链接",-1))],8,zwe)],64)):d.createCommentVNode("",!0)]))),128))])])]),_:1},8,["visible"])}}}),[["__scopeId","data-v-adf57909"]]),Uwe={class:"banner-quicklinks"},Gwe={class:"quick-links__list"},Wwe=lt(d.defineComponent({__name:"index",props:{data:{type:Array,default:()=>[]}},setup(e){const t=e,n=d.ref(null),r=d.ref(!1),o=d.ref(!1),i=()=>{const u=n.value;u&&(r.value=u.scrollLeft>0,o.value=u.scrollLeft+u.clientWidth<u.scrollWidth)},a=()=>{const u=n.value;u&&u.scrollBy({left:-u.clientWidth/1.5,behavior:"smooth"})},s=()=>{const u=n.value;u&&u.scrollBy({left:u.clientWidth/1.5,behavior:"smooth"})},l=()=>{i()};return d.watch(()=>t.data,async()=>{await d.nextTick(),i()}),d.onMounted(()=>{window.addEventListener("resize",i),d.nextTick(i)}),d.onUnmounted(()=>{window.removeEventListener("resize",i)}),(u,c)=>(d.openBlock(),d.createElementBlock("div",Uwe,[d.withDirectives(d.createElementVNode("div",{class:"quick-links__nav__prev",onClick:a},null,512),[[d.vShow,r.value]]),d.createElementVNode("div",{class:"quick-links__wrapper",ref_key:"quickLinksWrapperRef",ref:n,onScroll:l},[d.createElementVNode("div",Gwe,[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(e.data,f=>(d.openBlock(),d.createBlock(Sh,{key:f.id,data:f,hasHoverBg:!1},null,8,["data"]))),128))])],544),d.withDirectives(d.createElementVNode("div",{class:"quick-links__nav__next",onClick:s},null,512),[[d.vShow,o.value]])]))}}),[["__scopeId","data-v-7ef2a320"]]),qwe={class:"swiper-wrapper"},Kwe={class:"swiper-slide__media"},Ywe=["src","alt"],Xwe={key:1,class:"video-player"},Zwe=["poster"],Jwe=["src"],Qwe=["href"],$we={class:"swiper-slide__body"},e2e={class:"swiper-slide__body__title text-center"},t2e={class:"video-box"},n2e=["src"],r2e=lt(d.defineComponent({__name:"index",props:{data:{},imageInterval:{},videoAutoNext:{type:Boolean}},setup(e,{expose:t}){const n=e,r=d.ref();let o=null,i=0,a=null,s=null,l=null,u=null,c=null;const f=async()=>{try{const P=await Promise.resolve().then(()=>yCe),{Navigation:F,Pagination:H,Autoplay:R}=await Promise.resolve().then(()=>xCe);s=P.Swiper,l=F,u=H,c=R,await Promise.resolve().then(()=>CCe),await Promise.resolve().then(()=>SCe),await Promise.resolve().then(()=>DCe),r.value&&(o=new s(r.value,{modules:[l,u,c],autoHeight:!1,speed:1e3,effect:"fade",fadeEffect:{crossFade:!0},navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},pagination:{el:".swiper-pagination",clickable:!0},on:{slideChange:z=>{i=z.activeIndex,m(i)},touchStart:()=>{h()},touchEnd:()=>{setTimeout(()=>{const z=n.data[p.value];z&&z.type==="Image"&&v()},100)}}}))}catch(P){console.error("Failed to load Swiper:",P)}},p=d.ref(0),h=()=>{a&&(clearTimeout(a),a=null)},v=()=>{h();const P=n.data[p.value];if(P&&P.type==="Image"){const F=n.imageInterval||5e3;a=setTimeout(()=>{o&&o.slideNext()},F)}},m=P=>{h(),C(),p.value=P;const F=n.data[p.value];F.type==="Video"?E():F.type==="Image"&&v()},y=()=>{w.value=!1,n.videoAutoNext!==!1&&o&&setTimeout(()=>{o.slideNext()},200)},b=d.ref([]),g=(P,F)=>{const H=P&&"$el"in P?P.$el:P;H instanceof HTMLVideoElement&&(b.value[F]=H)},w=d.ref(!1),E=()=>{b.value[p.value]&&(b.value[p.value].play(),w.value=!0,h())},C=()=>{b.value[p.value]&&(b.value[p.value].pause(),w.value=!1)},S=d.ref(!1),x=d.ref(),k=d.ref(),O=()=>{C(),k.value=n.data[p.value].videoSrc,d.nextTick(()=>{var P;S.value=!0,(P=x.value)==null||P.play()})},_=()=>{var P;(P=x.value)==null||P.pause(),S.value=!1};return d.onMounted(async()=>{await f(),m(0)}),d.onUnmounted(()=>{h(),o&&o.destroy(!0,!0)}),t({initSwiper:f}),(P,F)=>{const H=d.resolveComponent("a-modal");return d.openBlock(),d.createElementBlock(d.Fragment,null,[d.createElementVNode("div",{class:"swiper-container",ref_key:"swiperContainer",ref:r},[d.createElementVNode("div",qwe,[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(P.data,(R,z)=>(d.openBlock(),d.createElementBlock("div",{class:"swiper-slide",key:R.id},[d.createElementVNode("div",Kwe,[R.type==="Image"?(d.openBlock(),d.createElementBlock("img",{key:0,class:"swiper-slide__media-img",src:R.imgSrc,alt:R.alt},null,8,Ywe)):R.type==="Video"?(d.openBlock(),d.createElementBlock("div",Xwe,[d.createElementVNode("video",{ref_for:!0,ref:U=>g(U,z),playsinline:"",poster:R.imgSrc,onEnded:y},[d.createElementVNode("source",{src:R.videoSrc,type:"video/mp4"},null,8,Jwe)],40,Zwe)])):d.createCommentVNode("",!0)]),d.createElementVNode("a",{href:R.link,target:"_blank",class:"swiper-slide__link"},null,8,Qwe),d.createElementVNode("div",$we,[d.createElementVNode("div",e2e,d.toDisplayString(R.title),1),R.type==="Video"?(d.openBlock(),d.createElementBlock(d.Fragment,{key:0},[w.value?d.createCommentVNode("",!0):(d.openBlock(),d.createElementBlock("button",{key:0,type:"button",class:"swiper-slide__body__play",onClick:d.withModifiers(E,["stop"])})),d.createElementVNode("button",{type:"button",class:"swiper-slide__body__link",onClick:d.withModifiers(O,["stop"])},"观看完整视频")],64)):d.createCommentVNode("",!0)])]))),128))]),F[1]||(F[1]=d.createElementVNode("div",{class:"swiper-pagination"},null,-1)),F[2]||(F[2]=d.createElementVNode("div",{class:"swiper-button-next"},null,-1)),F[3]||(F[3]=d.createElementVNode("div",{class:"swiper-button-prev"},null,-1))],512),d.createVNode(H,{visible:S.value,"onUpdate:visible":F[0]||(F[0]=R=>S.value=R),footer:!1,width:"1200px",onCancel:_},{title:d.withCtx(()=>F[4]||(F[4]=[d.createTextVNode(" 观看完整视频 ")])),default:d.withCtx(()=>[d.createElementVNode("div",t2e,[d.createElementVNode("video",{ref_key:"videoElement",ref:x,controls:""},[d.createElementVNode("source",{src:k.value,type:"video/mp4"},null,8,n2e)],512)])]),_:1},8,["visible"])],64)}}}),[["__scopeId","data-v-2e7fac84"]]),fD=lt(d.defineComponent({name:"HeroSlide",__name:"index",props:{modelValue:{type:Object,default:()=>{}},isPreview:{type:Boolean,default:!1}},emits:["update:modelValue","handleDelete","handleCopy"],setup(e,{emit:t}){const n=e,r=t,o=()=>{var p,h;if(n.modelValue&&n.modelValue.data)return;const f={id:((p=n.modelValue)==null?void 0:p.id)||ve(),type:"HeroSlide",readOnly:((h=n.modelValue)==null?void 0:h.readOnly)||!1,data:[{id:ve(),type:"Banners",data:[{id:ve(),type:"Image",title:"耀华国际教育学校浙江桐乡",imgSrc:"https://osswebsite-test.cedim.cn/media-library/ywies-tx/images/high-school-test/home/different_1_optim.png",alt:"",link:"https://www.baidu.com"},{id:ve(),type:"Video",title:"耀华国际教育学校浙江桐乡",imgSrc:"https://osswebsite-test.cedim.cn/media-library/ywies-tx/images/high-school-test/home/different_1_optim.png",alt:"",link:"",videoSrc:"https://mvideo.ycyw.com/2e1a9441vodgzp1253458132/a31402d51397757891052265568/SW8B19vOtzMA.mp4"}]},{id:ve(),type:"Links",data:[{id:ve(),text:"了解更多",url:"https://www.baidu.com",isExternal:!1}]}]};r("update:modelValue",f)},i=d.ref(!1),a=d.ref(!1),s=()=>{r("handleDelete",n.modelValue.id)},l=()=>{r("handleCopy",n.modelValue)},u=d.ref(),c=()=>{var f;(f=u.value)==null||f.initSwiper()};return o(),(f,p)=>{var h,v;return d.openBlock(),d.createElementBlock(d.Fragment,null,[d.createElementVNode("div",{class:"hero-slide has-quick-links is-video-and-image",onMouseenter:p[2]||(p[2]=m=>i.value=!0),onMouseleave:p[3]||(p[3]=m=>i.value=!1)},[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList((h=e.modelValue)==null?void 0:h.data,m=>(d.openBlock(),d.createElementBlock(d.Fragment,{key:m.id},[m.type==="Banners"?(d.openBlock(),d.createBlock(r2e,{key:0,ref_for:!0,ref_key:"swiperRef",ref:u,data:m.data},null,8,["data"])):d.createCommentVNode("",!0),m.type==="Links"&&m.data.length?(d.openBlock(),d.createBlock(Wwe,{key:1,data:m.data},null,8,["data"])):d.createCommentVNode("",!0)],64))),128)),(v=e.modelValue)!=null&&v.readOnly?d.createCommentVNode("",!0):(d.openBlock(),d.createBlock(bi,{key:0,show:i.value,"onUpdate:show":p[0]||(p[0]=m=>i.value=m),onHandleEdit:p[1]||(p[1]=m=>a.value=!0),onHandleDelete:s,onHandleCopy:l},null,8,["show"]))],32),d.createVNode(Hwe,{show:a.value,"onUpdate:show":p[4]||(p[4]=m=>a.value=m),data:e.modelValue,onUpdateSwiper:c},null,8,["show","data"])],64)}}}),[["__scopeId","data-v-fbb9a937"]]),o2e={class:"setting-content"},i2e=["src"],a2e={class:"item-uplaod flex items-center"},s2e=lt(d.defineComponent({__name:"setting",props:{show:{type:Boolean,default:!1},data:{type:Object,default:()=>{}}},emits:["update:show"],setup(e,{emit:t}){const n=t,r=()=>{n("update:show",!1)};return(o,i)=>{const a=d.resolveComponent("a-input"),s=d.resolveComponent("a-upload"),l=d.resolveComponent("a-drawer");return d.openBlock(),d.createBlock(l,{width:500,visible:e.show,footer:!1,onCancel:r,unmountOnClose:""},{title:d.withCtx(()=>[d.createTextVNode(d.toDisplayString(e.data.type)+"组件编辑 ",1)]),default:d.withCtx(()=>{var u,c;return[d.createElementVNode("div",o2e,[i[2]||(i[2]=d.createElementVNode("p",{class:"item-title"},"标题",-1)),d.createVNode(a,{modelValue:e.data.data.title,"onUpdate:modelValue":i[0]||(i[0]=f=>e.data.data.title=f),placeholder:"请输入标题","allow-clear":""},null,8,["modelValue"]),i[3]||(i[3]=d.createElementVNode("p",{class:"item-title"},"图片",-1)),d.createElementVNode("img",{class:"item-img",src:(c=(u=e.data)==null?void 0:u.data)==null?void 0:c.imgSrc},null,8,i2e),d.createElementVNode("div",a2e,[d.createVNode(a,{modelValue:e.data.data.imgSrc,"onUpdate:modelValue":i[1]||(i[1]=f=>e.data.data.imgSrc=f),placeholder:"请输入图片链接","allow-clear":""},null,8,["modelValue"]),d.createVNode(s,{class:"fit-content","show-file-list":!1,action:"/"})])])]}),_:1},8,["visible"])}}}),[["__scopeId","data-v-1bc09ad8"]]),l2e={class:"banner-image__title is-zh"},pD=lt(d.defineComponent({name:"BannerImage",__name:"index",props:{modelValue:{type:Object,default:()=>{}},isPreview:{type:Boolean,default:!1}},emits:["update:modelValue","handleDelete","handleCopy"],setup(e,{emit:t}){const n=e,r=t,o=()=>{var c,f;if(n.modelValue&&n.modelValue.data)return;const u={id:((c=n.modelValue)==null?void 0:c.id)||ve(),type:"BannerImage",readOnly:((f=n.modelValue)==null?void 0:f.readOnly)||!1,data:{title:"About YWIES",imgSrc:"https://osswebsite-test.cedim.cn/ywies-tx/static-images/about-ywies/01_About_YWIES_1_Header.jpg"}};r("update:modelValue",u)},i=d.ref(!1),a=d.ref(!1),s=()=>{r("handleDelete",n.modelValue.id)},l=()=>{r("handleCopy",n.modelValue)};return o(),(u,c)=>{var f,p,h,v,m;return d.openBlock(),d.createElementBlock(d.Fragment,null,[d.createElementVNode("div",{class:"banner-image",onMouseenter:c[2]||(c[2]=y=>i.value=!0),onMouseleave:c[3]||(c[3]=y=>i.value=!1)},[d.createElementVNode("div",{class:"banner-image__image",style:d.normalizeStyle({backgroundImage:"url("+((p=(f=e.modelValue)==null?void 0:f.data)==null?void 0:p.imgSrc)+")","background-position":"center"})},[d.createElementVNode("div",l2e,d.toDisplayString((v=(h=e.modelValue)==null?void 0:h.data)==null?void 0:v.title),1)],4),(m=e.modelValue)!=null&&m.readOnly?d.createCommentVNode("",!0):(d.openBlock(),d.createBlock(bi,{key:0,show:i.value,"onUpdate:show":c[0]||(c[0]=y=>i.value=y),onHandleEdit:c[1]||(c[1]=y=>a.value=!0),onHandleDelete:s,onHandleCopy:l},null,8,["show"]))],32),d.createVNode(s2e,{show:a.value,"onUpdate:show":c[4]||(c[4]=y=>a.value=y),data:e.modelValue},null,8,["show","data"])],64)}}}),[["__scopeId","data-v-6f9fc6c4"]]),u2e={class:"setting-content"},c2e={class:"setting-header flex items-center"},d2e={class:"setting-header flex items-center"},f2e={class:"setting-body"},p2e={class:"setting-item"},h2e={class:"btn-group"},g2e={key:0,class:"drag-handle"},m2e={class:"item-action flex items-center"},v2e=lt(d.defineComponent({__name:"setting",props:{show:{type:Boolean,default:!1},data:{type:Object,default:()=>{}}},emits:["update:show"],setup(e,{emit:t}){const n=d.ref(!1),r=d.computed(()=>({animation:200,group:"buttons",disabled:!1,ghostClass:"ghost"})),o=c=>c&&c.length>1,i=e,a=t,s=()=>{a("update:show",!1)},l=c=>{i.data.data.push({id:ve(),type:c,text:"查看更多",url:void 0,isExternal:!1})},u=c=>{i.data.data=i.data.data.filter(f=>f.id!==c)};return(c,f)=>{const p=d.resolveComponent("a-option"),h=d.resolveComponent("a-select"),v=d.resolveComponent("icon-plus"),m=d.resolveComponent("a-button"),y=d.resolveComponent("a-button-group"),b=d.resolveComponent("icon-drag-arrow"),g=d.resolveComponent("icon-delete"),w=d.resolveComponent("a-input"),E=d.resolveComponent("a-checkbox"),C=d.resolveComponent("a-drawer");return d.openBlock(),d.createBlock(C,{width:500,visible:e.show,footer:!1,onCancel:s,unmountOnClose:""},{title:d.withCtx(()=>[d.createTextVNode(d.toDisplayString(e.data.type)+"组件编辑 ",1)]),default:d.withCtx(()=>[d.createElementVNode("div",u2e,[d.createElementVNode("div",c2e,[f[13]||(f[13]=d.createElementVNode("span",{class:"header-title"},"组件宽度",-1)),d.createVNode(h,{modelValue:e.data.width,"onUpdate:modelValue":f[0]||(f[0]=S=>e.data.width=S),placeholder:"请选择","allow-clear":""},{default:d.withCtx(()=>[d.createVNode(p,{value:""},{default:d.withCtx(()=>f[9]||(f[9]=[d.createTextVNode("默认")])),_:1,__:[9]}),d.createVNode(p,{value:"small"},{default:d.withCtx(()=>f[10]||(f[10]=[d.createTextVNode("小")])),_:1,__:[10]}),d.createVNode(p,{value:"middle"},{default:d.withCtx(()=>f[11]||(f[11]=[d.createTextVNode("中")])),_:1,__:[11]}),d.createVNode(p,{value:"max"},{default:d.withCtx(()=>f[12]||(f[12]=[d.createTextVNode("大")])),_:1,__:[12]})]),_:1},8,["modelValue"])]),d.createElementVNode("div",d2e,[f[16]||(f[16]=d.createElementVNode("span",{class:"header-title"},"组件背景",-1)),d.createVNode(h,{modelValue:e.data.bgColor,"onUpdate:modelValue":f[1]||(f[1]=S=>e.data.bgColor=S),placeholder:"请选择","allow-clear":""},{default:d.withCtx(()=>[d.createVNode(p,{value:"#ffffff"},{default:d.withCtx(()=>f[14]||(f[14]=[d.createTextVNode("白色")])),_:1,__:[14]}),d.createVNode(p,{value:"#F7F7FA"},{default:d.withCtx(()=>f[15]||(f[15]=[d.createTextVNode("灰色")])),_:1,__:[15]})]),_:1},8,["modelValue"])]),d.createVNode(y,{type:"primary"},{default:d.withCtx(()=>[d.createVNode(m,{size:"mini",onClick:f[2]||(f[2]=S=>l(""))},{icon:d.withCtx(()=>[d.createVNode(v)]),default:d.withCtx(()=>[f[17]||(f[17]=d.createTextVNode(" 默认按钮 "))]),_:1,__:[17]}),d.createVNode(m,{size:"mini",onClick:f[3]||(f[3]=S=>l("white"))},{icon:d.withCtx(()=>[d.createVNode(v)]),default:d.withCtx(()=>[f[18]||(f[18]=d.createTextVNode(" 白色按钮 "))]),_:1,__:[18]}),d.createVNode(m,{size:"mini",onClick:f[4]||(f[4]=S=>l("light"))},{icon:d.withCtx(()=>[d.createVNode(v)]),default:d.withCtx(()=>[f[19]||(f[19]=d.createTextVNode(" 亮色按钮 "))]),_:1,__:[19]}),d.createVNode(m,{size:"mini",onClick:f[5]||(f[5]=S=>l("blue"))},{icon:d.withCtx(()=>[d.createVNode(v)]),default:d.withCtx(()=>[f[20]||(f[20]=d.createTextVNode(" 蓝色按钮 "))]),_:1,__:[20]})]),_:1}),d.createElementVNode("div",f2e,[d.createElementVNode("div",p2e,[f[22]||(f[22]=d.createElementVNode("p",{class:"item-name"},"按钮",-1)),d.createVNode(d.unref(an),d.mergeProps({modelValue:e.data.data,"onUpdate:modelValue":f[6]||(f[6]=S=>e.data.data=S),"component-data":{tag:"div",type:"transition-group",name:n.value?null:"flip-list"}},r.value,{disabled:!o(e.data.data),onStart:f[7]||(f[7]=S=>n.value=!0),onEnd:f[8]||(f[8]=S=>n.value=!1),"item-key":"id"}),{item:d.withCtx(({element:S})=>[(d.openBlock(),d.createElementBlock("div",{class:d.normalizeClass(["item-button draggable-item",{"sortable-disabled":!o(e.data.data)}]),key:S.id},[d.createElementVNode("div",h2e,[o(e.data.data)?(d.openBlock(),d.createElementBlock("div",g2e,[d.createVNode(b,{class:"drag-icon"})])):d.createCommentVNode("",!0),d.createVNode(g,{class:"btn-delete",onClick:x=>u(S.id)},null,8,["onClick"])]),d.createVNode(m,{type:"primary"},{default:d.withCtx(()=>[d.createTextVNode(d.toDisplayString(S.text),1)]),_:2},1024),d.createElementVNode("div",m2e,[d.createVNode(w,{class:"action-text",modelValue:S.text,"onUpdate:modelValue":x=>S.text=x,placeholder:"按钮文本","allow-clear":""},null,8,["modelValue","onUpdate:modelValue"]),d.createVNode(w,{modelValue:S.url,"onUpdate:modelValue":x=>S.url=x,placeholder:"按钮链接","allow-clear":""},null,8,["modelValue","onUpdate:modelValue"])]),d.createVNode(E,{"model-value":S.isExternal},{default:d.withCtx(()=>f[21]||(f[21]=[d.createTextVNode("是否外部链接")])),_:2,__:[21]},1032,["model-value"])],2))]),_:1},16,["modelValue","component-data","disabled"])])])])]),_:1},8,["visible"])}}}),[["__scopeId","data-v-3f125042"]]),y2e={class:"btn-list__row"},b2e=["href"],w2e={class:"btn-primary__text"},_y=lt(d.defineComponent({name:"BtnList",__name:"index",props:{modelValue:{type:Object,default:()=>{}},isPreview:{type:Boolean,default:!1}},emits:["update:modelValue","handleDelete","handleCopy"],setup(e,{emit:t}){const n=e,r=t,o=()=>{var c,f;if(n.modelValue&&n.modelValue.data)return;const u={id:((c=n.modelValue)==null?void 0:c.id)||ve(),type:"BtnList",readOnly:((f=n.modelValue)==null?void 0:f.readOnly)||!1,width:"",bgColor:"",data:[{id:ve(),type:"",text:"了解更多",url:"https://www.baidu.com",isExternal:!1},{id:ve(),type:"white",text:"了解更多",url:"https://www.baidu.com",isExternal:!1},{id:ve(),type:"light",text:"了解更多",url:"https://www.baidu.com",isExternal:!1},{id:ve(),type:"blue",text:"了解更多",url:"https://www.baidu.com",isExternal:!1}]};r("update:modelValue",u)},i=d.ref(!1),a=d.ref(!1),s=()=>{r("handleDelete",n.modelValue.id)},l=()=>{r("handleCopy",n.modelValue)};return o(),(u,c)=>{var f,p,h,v,m;return d.openBlock(),d.createElementBlock(d.Fragment,null,[d.createElementVNode("div",{class:"btn-list center",style:d.normalizeStyle({backgroundColor:(f=e.modelValue)==null?void 0:f.bgColor}),onMouseenter:c[2]||(c[2]=y=>i.value=!0),onMouseleave:c[3]||(c[3]=y=>i.value=!1)},[d.createElementVNode("div",{class:d.normalizeClass(["btn-list__container",[(p=e.modelValue)!=null&&p.width?`container-content-${(h=e.modelValue)==null?void 0:h.width}`:"container-content"]])},[d.createElementVNode("div",y2e,[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList((v=e.modelValue)==null?void 0:v.data,y=>(d.openBlock(),d.createElementBlock("div",{class:"btn-list__item",key:y.id},[d.createElementVNode("a",{href:y.url||"#",class:d.normalizeClass(["size-normal btn-primary",[y.type?`btn-primary--${y.type}`:""]])},[d.createElementVNode("div",w2e,d.toDisplayString(y.text),1),c[5]||(c[5]=d.createElementVNode("span",{class:"btn-primary__icon"},null,-1))],10,b2e)]))),128))])],2),(m=e.modelValue)!=null&&m.readOnly?d.createCommentVNode("",!0):(d.openBlock(),d.createBlock(bi,{key:0,show:i.value,"onUpdate:show":c[0]||(c[0]=y=>i.value=y),onHandleEdit:c[1]||(c[1]=y=>a.value=!0),onHandleDelete:s,onHandleCopy:l},null,8,["show"]))],36),d.createVNode(v2e,{show:a.value,"onUpdate:show":c[4]||(c[4]=y=>a.value=y),data:e.modelValue},null,8,["show","data"])],64)}}}),[["__scopeId","data-v-d0761976"]]),E2e=["src"],x2e={class:"item-uplaod flex items-center"},C2e=["src"],S2e={class:"item-uplaod flex items-center"},D2e={class:"item-title pt-2"},k2e={class:"btn-group"},A2e={key:0,class:"drag-handle"},O2e={class:"item-action flex items-center"},T2e={class:"btn-group"},B2e={key:0,class:"drag-handle"},wz=lt(d.defineComponent({__name:"setting",props:{data:{type:Object,default:()=>{}},showLogo:{type:Boolean,default:!0},maxNum:{type:Number,default:2},canAddParagraph:{type:Boolean,default:!1}},setup(e){const t=d.ref(!1),n=d.computed(()=>({animation:200,group:"buttons",disabled:!1,ghostClass:"ghost"})),r=d.computed(()=>({animation:200,group:"paragraphs",disabled:!1,ghostClass:"ghost"})),o=u=>u&&u.length>1,i=e,a=(u,c)=>{c.length>=i.maxNum||c.push({id:ve(),type:u,text:"查看更多",url:void 0,isExternal:!1})},s=(u,c)=>{u.splice(u.findIndex(f=>f.id===c),1)},l=u=>{u.push({title:"耀华国际教育学校浙江桐乡",subTitle:"耀华国际教育学校浙江桐乡",name:"耀华国际教育学校浙江桐乡",label:"123",imgSrc:"https://osswebsite.ycyw.com/media-library/ywies-bj/images/home/ywies-tx.jpg",alt:"",buttonList:{id:ve(),type:"BtnList",readOnly:!0,width:"",bgColor:"",data:[]},paragraphs:{title:"",content:""}})};return(u,c)=>{const f=d.resolveComponent("a-input"),p=d.resolveComponent("a-upload"),h=d.resolveComponent("icon-drag-arrow"),v=d.resolveComponent("icon-delete"),m=d.resolveComponent("a-button"),y=d.resolveComponent("a-checkbox"),b=d.resolveComponent("icon-plus"),g=d.resolveComponent("a-button-group");return d.openBlock(),d.createElementBlock(d.Fragment,null,[e.showLogo?(d.openBlock(),d.createElementBlock(d.Fragment,{key:0},[c[18]||(c[18]=d.createElementVNode("p",{class:"item-title"},"学校logo",-1)),d.createElementVNode("img",{class:"item-img",src:e.data.logo},null,8,E2e),d.createElementVNode("div",x2e,[d.createVNode(f,{modelValue:e.data.logo,"onUpdate:modelValue":c[0]||(c[0]=w=>e.data.logo=w),placeholder:"请输入图片链接","allow-clear":""},null,8,["modelValue"]),d.createVNode(p,{class:"fit-content","show-file-list":!1,action:"/"})])],64)):d.createCommentVNode("",!0),c[27]||(c[27]=d.createElementVNode("p",{class:"item-title"},"标题",-1)),d.createVNode(f,{modelValue:e.data.title,"onUpdate:modelValue":c[1]||(c[1]=w=>e.data.title=w),placeholder:"请输入标题","allow-clear":""},null,8,["modelValue"]),c[28]||(c[28]=d.createElementVNode("p",{class:"item-title"},"子标题",-1)),d.createVNode(f,{modelValue:e.data.subTitle,"onUpdate:modelValue":c[2]||(c[2]=w=>e.data.subTitle=w),placeholder:"请输入子标题","allow-clear":""},null,8,["modelValue"]),c[29]||(c[29]=d.createElementVNode("p",{class:"item-title"},"名称",-1)),d.createVNode(f,{modelValue:e.data.name,"onUpdate:modelValue":c[3]||(c[3]=w=>e.data.name=w),placeholder:"请输入名称","allow-clear":""},null,8,["modelValue"]),c[30]||(c[30]=d.createElementVNode("p",{class:"item-title"},"标签",-1)),d.createVNode(f,{modelValue:e.data.label,"onUpdate:modelValue":c[4]||(c[4]=w=>e.data.label=w),placeholder:"请输入标签","allow-clear":""},null,8,["modelValue"]),c[31]||(c[31]=d.createElementVNode("p",{class:"item-title"},"图片",-1)),d.createElementVNode("img",{class:"item-img",src:e.data.imgSrc},null,8,C2e),d.createElementVNode("div",S2e,[d.createVNode(f,{modelValue:e.data.imgSrc,"onUpdate:modelValue":c[5]||(c[5]=w=>e.data.imgSrc=w),placeholder:"请输入图片链接","allow-clear":""},null,8,["modelValue"]),d.createVNode(p,{class:"fit-content","show-file-list":!1,action:"/"})]),d.createVNode(f,{class:"mt-2",modelValue:e.data.alt,"onUpdate:modelValue":c[6]||(c[6]=w=>e.data.alt=w),placeholder:"图片alt","allow-clear":""},null,8,["modelValue"]),d.createElementVNode("p",D2e,"按钮(最多"+d.toDisplayString(e.maxNum)+"个)",1),d.createVNode(d.unref(an),d.mergeProps({modelValue:e.data.buttonList.data,"onUpdate:modelValue":c[7]||(c[7]=w=>e.data.buttonList.data=w),"component-data":{tag:"div",type:"transition-group",name:t.value?null:"flip-list"}},n.value,{disabled:!o(e.data.buttonList.data),onStart:c[8]||(c[8]=w=>t.value=!0),onEnd:c[9]||(c[9]=w=>t.value=!1),"item-key":"id"}),{item:d.withCtx(({element:w})=>[(d.openBlock(),d.createElementBlock("div",{class:d.normalizeClass(["item-button item-link draggable-item",{"sortable-disabled":!o(e.data.buttonList.data)}]),key:w.id},[d.createElementVNode("div",k2e,[o(e.data.buttonList.data)?(d.openBlock(),d.createElementBlock("div",A2e,[d.createVNode(h,{class:"drag-icon"})])):d.createCommentVNode("",!0),d.createVNode(v,{class:"btn-delete",onClick:E=>s(e.data.buttonList.data,w.id)},null,8,["onClick"])]),d.createVNode(m,{type:"primary"},{default:d.withCtx(()=>[d.createTextVNode(d.toDisplayString(w.text),1)]),_:2},1024),d.createElementVNode("div",O2e,[d.createVNode(f,{class:"action-text",modelValue:w.text,"onUpdate:modelValue":E=>w.text=E,placeholder:"按钮文本","allow-clear":""},null,8,["modelValue","onUpdate:modelValue"]),d.createVNode(f,{modelValue:w.url,"onUpdate:modelValue":E=>w.url=E,placeholder:"按钮链接","allow-clear":""},null,8,["modelValue","onUpdate:modelValue"])]),d.createVNode(y,{"model-value":w.isExternal},{default:d.withCtx(()=>c[19]||(c[19]=[d.createTextVNode("是否外部链接")])),_:2,__:[19]},1032,["model-value"])],2))]),_:1},16,["modelValue","component-data","disabled"]),d.createVNode(g,{class:"mt-2",type:"primary"},{default:d.withCtx(()=>[d.createVNode(m,{size:"mini",onClick:c[10]||(c[10]=w=>a("default",e.data.buttonList.data))},{icon:d.withCtx(()=>[d.createVNode(b)]),default:d.withCtx(()=>[c[20]||(c[20]=d.createTextVNode(" 默认按钮 "))]),_:1,__:[20]}),d.createVNode(m,{size:"mini",onClick:c[11]||(c[11]=w=>a("white",e.data.buttonList.data))},{icon:d.withCtx(()=>[d.createVNode(b)]),default:d.withCtx(()=>[c[21]||(c[21]=d.createTextVNode(" 白色按钮 "))]),_:1,__:[21]}),d.createVNode(m,{size:"mini",onClick:c[12]||(c[12]=w=>a("light",e.data.buttonList.data))},{icon:d.withCtx(()=>[d.createVNode(b)]),default:d.withCtx(()=>[c[22]||(c[22]=d.createTextVNode(" 亮色按钮 "))]),_:1,__:[22]}),d.createVNode(m,{size:"mini",onClick:c[13]||(c[13]=w=>a("blue",e.data.buttonList.data))},{icon:d.withCtx(()=>[d.createVNode(b)]),default:d.withCtx(()=>[c[23]||(c[23]=d.createTextVNode(" 蓝色按钮 "))]),_:1,__:[23]})]),_:1}),c[32]||(c[32]=d.createElementVNode("p",{class:"item-name mt-2"},"段落",-1)),d.createVNode(d.unref(an),d.mergeProps({modelValue:e.data.paragraphs,"onUpdate:modelValue":c[14]||(c[14]=w=>e.data.paragraphs=w),"component-data":{tag:"div",type:"transition-group",name:t.value?null:"flip-list"}},r.value,{disabled:!o(e.data.paragraphs),onStart:c[15]||(c[15]=w=>t.value=!0),onEnd:c[16]||(c[16]=w=>t.value=!1),"item-key":"id"}),{item:d.withCtx(({element:w})=>[(d.openBlock(),d.createElementBlock("div",{class:d.normalizeClass(["item-button item-link draggable-item",{"sortable-disabled":!o(e.data.paragraphs)}]),key:w.id},[d.createElementVNode("div",T2e,[o(e.data.paragraphs)?(d.openBlock(),d.createElementBlock("div",B2e,[d.createVNode(h,{class:"drag-icon"})])):d.createCommentVNode("",!0),e.canAddParagraph?(d.openBlock(),d.createBlock(v,{key:1,class:"btn-delete",onClick:E=>s(e.data.paragraphs,w.id)},null,8,["onClick"])):d.createCommentVNode("",!0)]),c[24]||(c[24]=d.createElementVNode("p",{class:"item-title"},"标题",-1)),d.createVNode(f,{modelValue:w.title,"onUpdate:modelValue":E=>w.title=E,placeholder:"请输入标题","allow-clear":""},null,8,["modelValue","onUpdate:modelValue"]),c[25]||(c[25]=d.createElementVNode("p",{class:"item-title mt-2"},"内容",-1)),d.createVNode(d.unref(yh),{modelValue:w.content,"onUpdate:modelValue":E=>w.content=E},null,8,["modelValue","onUpdate:modelValue"])],2))]),_:1},16,["modelValue","component-data","disabled"]),e.canAddParagraph?(d.openBlock(),d.createElementBlock("div",{key:1,class:"item-add-btn flex items-center",onClick:c[17]||(c[17]=w=>l(e.data.paragraphs))},[d.createVNode(b),c[26]||(c[26]=d.createElementVNode("span",{class:"btn-text"},"添加段落",-1))])):d.createCommentVNode("",!0)],64)}}}),[["__scopeId","data-v-6523839a"]]),_2e={class:"setting-content"},N2e={class:"setting-header flex items-center"},P2e={class:"setting-header flex items-center"},F2e={class:"setting-header flex items-center"},V2e={class:"setting-body"},L2e={class:"setting-item"},I2e={class:"btn-group"},j2e={key:0,class:"drag-handle"},M2e=["src"],R2e={class:"item-uplaod flex items-center"},z2e=lt(d.defineComponent({__name:"setting",props:{show:{type:Boolean,default:!1},data:{type:Object,default:()=>{}}},emits:["update:show"],setup(e,{emit:t}){const n=d.ref(!1),r=d.computed(()=>({animation:200,group:"gallerys",disabled:!1,ghostClass:"ghost"})),o=c=>c&&c.length>1,i=e,a=t,s=()=>{a("update:show",!1)},l=c=>{i.data.data.push({id:ve(),type:c,text:"查看更多",url:void 0,isExternal:!1,isLight:!1})},u=c=>{i.data.data=i.data.data.filter(f=>f.id!==c)};return(c,f)=>{const p=d.resolveComponent("a-option"),h=d.resolveComponent("a-select"),v=d.resolveComponent("a-input"),m=d.resolveComponent("icon-plus"),y=d.resolveComponent("a-button"),b=d.resolveComponent("a-button-group"),g=d.resolveComponent("icon-drag-arrow"),w=d.resolveComponent("icon-delete"),E=d.resolveComponent("a-upload"),C=d.resolveComponent("a-drawer");return d.openBlock(),d.createBlock(C,{width:500,visible:e.show,footer:!1,onCancel:s,unmountOnClose:""},{title:d.withCtx(()=>[d.createTextVNode(d.toDisplayString(e.data.type)+"组件编辑 ",1)]),default:d.withCtx(()=>[d.createElementVNode("div",_2e,[d.createElementVNode("div",N2e,[f[10]||(f[10]=d.createElementVNode("span",{class:"header-title"},"组件背景",-1)),d.createVNode(h,{modelValue:e.data.bgColor,"onUpdate:modelValue":f[0]||(f[0]=S=>e.data.bgColor=S),placeholder:"请选择","allow-clear":""},{default:d.withCtx(()=>[d.createVNode(p,{value:"#ffffff"},{default:d.withCtx(()=>f[8]||(f[8]=[d.createTextVNode("白色")])),_:1,__:[8]}),d.createVNode(p,{value:"#F7F7FA"},{default:d.withCtx(()=>f[9]||(f[9]=[d.createTextVNode("灰色")])),_:1,__:[9]})]),_:1},8,["modelValue"])]),d.createElementVNode("div",P2e,[f[11]||(f[11]=d.createElementVNode("span",{class:"header-title"},"pc列数",-1)),d.createVNode(v,{modelValue:e.data.desktopCol,"onUpdate:modelValue":f[1]||(f[1]=S=>e.data.desktopCol=S),placeholder:"请输入","allow-clear":""},null,8,["modelValue"])]),d.createElementVNode("div",F2e,[f[12]||(f[12]=d.createElementVNode("span",{class:"header-title"},"移动端列数",-1)),d.createVNode(v,{modelValue:e.data.mobileCol,"onUpdate:modelValue":f[2]||(f[2]=S=>e.data.mobileCol=S),placeholder:"请输入","allow-clear":""},null,8,["modelValue"])]),d.createVNode(b,{type:"primary"},{default:d.withCtx(()=>[d.createVNode(y,{size:"mini",onClick:f[3]||(f[3]=S=>l("GalleryListItem"))},{icon:d.withCtx(()=>[d.createVNode(m)]),default:d.withCtx(()=>[f[13]||(f[13]=d.createTextVNode(" 普通项目 "))]),_:1,__:[13]}),d.createVNode(y,{size:"mini",onClick:f[4]||(f[4]=S=>l("GalleryListProfile"))},{icon:d.withCtx(()=>[d.createVNode(m)]),default:d.withCtx(()=>[f[14]||(f[14]=d.createTextVNode(" 文章项目 "))]),_:1,__:[14]})]),_:1}),d.createElementVNode("div",V2e,[d.createElementVNode("div",L2e,[d.createVNode(d.unref(an),d.mergeProps({modelValue:e.data.data,"onUpdate:modelValue":f[5]||(f[5]=S=>e.data.data=S),"component-data":{tag:"div",type:"transition-group",name:n.value?null:"flip-list"}},r.value,{disabled:!o(e.data.data),onStart:f[6]||(f[6]=S=>n.value=!0),onEnd:f[7]||(f[7]=S=>n.value=!1),"item-key":"id"}),{item:d.withCtx(({element:S})=>[(d.openBlock(),d.createElementBlock("div",{class:d.normalizeClass(["item-button draggable-item",{"sortable-disabled":!o(e.data.data)}]),key:S.id},[d.createElementVNode("div",I2e,[o(e.data.data)?(d.openBlock(),d.createElementBlock("div",j2e,[d.createVNode(g,{class:"drag-icon"})])):d.createCommentVNode("",!0),d.createVNode(w,{class:"btn-delete",onClick:x=>u(S.id)},null,8,["onClick"])]),f[15]||(f[15]=d.createElementVNode("p",{class:"item-title"},"标题",-1)),d.createVNode(v,{modelValue:S.title,"onUpdate:modelValue":x=>S.title=x,placeholder:"请输入标题","allow-clear":""},null,8,["modelValue","onUpdate:modelValue"]),f[16]||(f[16]=d.createElementVNode("p",{class:"item-title"},"文本",-1)),d.createVNode(v,{modelValue:S.text,"onUpdate:modelValue":x=>S.text=x,placeholder:"请输入文本","allow-clear":""},null,8,["modelValue","onUpdate:modelValue"]),f[17]||(f[17]=d.createElementVNode("p",{class:"item-title"},"图片",-1)),d.createElementVNode("img",{class:"item-img",src:S.imgSrc},null,8,M2e),d.createElementVNode("div",R2e,[d.createVNode(v,{modelValue:S.imgSrc,"onUpdate:modelValue":x=>S.imgSrc=x,placeholder:"请输入图片链接","allow-clear":""},null,8,["modelValue","onUpdate:modelValue"]),d.createVNode(E,{class:"fit-content","show-file-list":!1,action:"/"})]),d.createVNode(v,{class:"mt-2",modelValue:S.alt,"onUpdate:modelValue":x=>S.alt=x,placeholder:"图片alt","allow-clear":""},null,8,["modelValue","onUpdate:modelValue"]),f[18]||(f[18]=d.createElementVNode("p",{class:"item-title"},"网址",-1)),d.createVNode(v,{modelValue:S.url,"onUpdate:modelValue":x=>S.url=x,placeholder:"请输入网址","allow-clear":""},null,8,["modelValue","onUpdate:modelValue"]),f[19]||(f[19]=d.createElementVNode("p",{class:"item-title"},"Profile Information",-1)),S.profile?(d.openBlock(),d.createBlock(wz,{key:0,data:S.profile,showLogo:!1,canAddParagraph:!0},null,8,["data"])):d.createCommentVNode("",!0)],2))]),_:1},16,["modelValue","component-data","disabled"])])])])]),_:1},8,["visible"])}}}),[["__scopeId","data-v-33218bbc"]]),H2e={class:"lightbox__content"},U2e={class:"lightbox__content__head"},G2e={class:"lightbox__content__head__image"},W2e=["src","alt"],q2e={class:"lightbox__content__head__info"},K2e={class:"lightbox__content__head__info__title"},Y2e={class:"lightbox__content__head__info__subtitle"},X2e={class:"lightbox__content__head__info__label"},Z2e={class:"lightbox__content__head__info__btn"},J2e={class:"lightbox__content__main",style:{"--head-height":"297px"}},Q2e={class:"scroll-bar"},$2e={"data-simplebar-auto-hide":"false",class:"simple-bar","data-simplebar":"init"},eEe={class:"simplebar-wrapper",style:{margin:"0px -24px 0px 0px"}},tEe={class:"simplebar-mask"},nEe={class:"simplebar-offset",style:{right:"0px",bottom:"0px"}},rEe={class:"simplebar-content-wrapper",tabindex:"0",role:"region","aria-label":"scrollable content",style:{height:"auto",overflow:"hidden"}},oEe={class:"simplebar-content",style:{padding:"0px 24px 0px 0px"}},iEe={class:"lightbox__content__body"},aEe={class:"lightbox__content__body__title"},sEe=["innerHTML"],lEe={class:"lightbox__content__footer"},uEe={class:"lightbox__content__footer__logo"},cEe=["src"],dEe=lt(d.defineComponent({__name:"index",props:{data:{type:Object,default:()=>{}}},emits:["close"],setup(e,{emit:t}){const n=t,r=()=>{n("close")};return(o,i)=>{var a,s,l,u,c,f;return d.openBlock(),d.createElementBlock("div",H2e,[d.createElementVNode("div",{class:"lightbox__content__cross i i-cross-modal",onClick:r}),d.createElementVNode("div",{class:"lightbox__content__prev i i-arrow-prev",onClick:r}),d.createElementVNode("div",U2e,[d.createElementVNode("div",G2e,[d.createElementVNode("img",{src:(a=e.data)==null?void 0:a.imgSrc,alt:(s=e.data)==null?void 0:s.alt},null,8,W2e)]),d.createElementVNode("div",q2e,[d.createElementVNode("h2",K2e,d.toDisplayString((l=e.data)==null?void 0:l.title),1),d.createElementVNode("h6",Y2e,d.toDisplayString((u=e.data)==null?void 0:u.subTitle),1),d.createElementVNode("div",X2e,d.toDisplayString((c=e.data)==null?void 0:c.label),1),d.createElementVNode("div",Z2e,[d.createVNode(_y,{modelValue:e.data.buttonList,"onUpdate:modelValue":i[0]||(i[0]=p=>e.data.buttonList=p)},null,8,["modelValue"])])])]),d.createElementVNode("div",J2e,[d.createElementVNode("div",Q2e,[d.createElementVNode("div",$2e,[d.createElementVNode("div",eEe,[i[1]||(i[1]=d.createElementVNode("div",{class:"simplebar-height-auto-observer-wrapper"},[d.createElementVNode("div",{class:"simplebar-height-auto-observer"})],-1)),d.createElementVNode("div",tEe,[d.createElementVNode("div",nEe,[d.createElementVNode("div",rEe,[d.createElementVNode("div",oEe,[d.createElementVNode("div",iEe,[d.createElementVNode("ul",null,[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList((f=e.data)==null?void 0:f.paragraphs,p=>(d.openBlock(),d.createElementBlock("li",{class:"lightbox__content__body__list",key:p.id},[d.createElementVNode("div",aEe,d.toDisplayString(p.title),1),d.createElementVNode("div",{class:"lightbox__content__body__text",innerHTML:p.content},null,8,sEe)]))),128))])]),d.createElementVNode("div",lEe,[d.createElementVNode("div",uEe,[d.createElementVNode("img",{src:e.data.logo||"https://ywies-tx.cedim.cn/images/logo/logo-ycyw.png",alt:"school logo"},null,8,cEe)])])])])])]),i[2]||(i[2]=d.createElementVNode("div",{class:"simplebar-placeholder",style:{width:"auto",height:"222px"}},null,-1))]),i[3]||(i[3]=d.createElementVNode("div",{class:"simplebar-track simplebar-horizontal",style:{visibility:"hidden"}},[d.createElementVNode("div",{class:"simplebar-scrollbar simplebar-visible",style:{width:"0px",display:"none"}})],-1)),i[4]||(i[4]=d.createElementVNode("div",{class:"simplebar-track simplebar-vertical",style:{visibility:"hidden"}},[d.createElementVNode("div",{class:"simplebar-scrollbar simplebar-visible",style:{height:"0px",display:"none"}})],-1))])])])])}}}),[["__scopeId","data-v-5fc66282"]]),Ez=d.defineComponent({__name:"modal",props:{show:{type:Boolean,default:!1},data:{type:Object,default:()=>{}}},emits:["update:show"],setup(e,{emit:t}){const n=e,r=d.computed(()=>n.show),o=t,i=()=>{o("update:show",!1)};return(a,s)=>{const l=d.resolveComponent("a-modal");return d.openBlock(),d.createBlock(l,{visible:r.value,"onUpdate:visible":s[0]||(s[0]=u=>r.value=u),hideTitle:!0,footer:!1,bodyClass:"profile-model",onCancel:i},{default:d.withCtx(()=>[d.createVNode(dEe,{data:e.data,onClose:i},null,8,["data"])]),_:1},8,["visible"])}}}),fEe=["onClick"],pEe={class:"gallery-caption__img"},hEe=["src","alt"],gEe={class:"gallery-caption__title tx-subtitle text-blue text-center mt-3 mt-md-4 px-3"},mEe={key:0,class:"tx-body text-teal-darkest text-center mt-2 mt-md-3 mb-3"},hD=lt(d.defineComponent({name:"GalleryList",__name:"index",props:{modelValue:{type:Object,default:()=>{}},isPreview:{type:Boolean,default:!1}},emits:["update:modelValue","handleDelete","handleCopy"],setup(e,{emit:t}){const n=e,r=t,o=()=>{var h,v;if(n.modelValue&&n.modelValue.data)return;const p={id:((h=n.modelValue)==null?void 0:h.id)||ve(),type:"GalleryList",readOnly:((v=n.modelValue)==null?void 0:v.readOnly)||!1,bgColor:"",desktopCol:4,mobileCol:2,data:[{id:ve(),type:"GalleryListItem",title:"耀华国际教育学校浙江桐乡",text:"123",imgSrc:"https://osswebsite-test.cedim.cn/media-library/ywies-tx/images/high-school-test/home/different_1_optim.png",alt:"",url:"https://www.baidu.com"},{id:ve(),type:"GalleryListProfile",title:"耀华国际教育学校浙江桐乡",text:"123",imgSrc:"https://osswebsite-test.cedim.cn/media-library/ywies-tx/images/high-school-test/home/different_1_optim.png",alt:"",url:"",profile:{title:"耀华国际教育学校浙江桐乡",subTitle:"耀华国际教育学校浙江桐乡",name:"耀华国际教育学校浙江桐乡",label:"123",imgSrc:"https://osswebsite.ycyw.com/media-library/ywies-bj/images/home/ywies-tx.jpg",alt:"",buttonList:{id:ve(),type:"BtnList",readOnly:!0,width:"",bgColor:"",data:[{id:ve(),type:"white",text:"了解更多",url:"https://www.baidu.com",isExternal:!1},{id:ve(),type:"light",text:"了解更多",url:"https://www.baidu.com",isExternal:!1}]},paragraphs:[{id:ve(),title:"123",content:"123"}]}}]};r("update:modelValue",p)},i=d.ref(!1),a=d.ref(!1),s=()=>{r("handleDelete",n.modelValue.id)},l=()=>{r("handleCopy",n.modelValue)},u=d.ref(!1),c=d.ref({}),f=p=>{p.type==="GalleryListProfile"&&(c.value=p.profile,u.value=!0)};return o(),(p,h)=>{var y,b;const v=d.resolveComponent("a-col"),m=d.resolveComponent("a-row");return d.openBlock(),d.createElementBlock(d.Fragment,null,[d.createElementVNode("div",{class:"gallery-list",onMouseenter:h[2]||(h[2]=g=>i.value=!0),onMouseleave:h[3]||(h[3]=g=>i.value=!1)},[d.createElementVNode("div",{class:"gallery-container gallery-caption container-content",style:d.normalizeStyle({backgroundColor:(y=e.modelValue)==null?void 0:y.bgColor})},[d.createVNode(m,{class:"caption-row"},{default:d.withCtx(()=>{var g;return[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList((g=e.modelValue)==null?void 0:g.data,w=>{var E,C;return d.openBlock(),d.createBlock(v,{key:w.id,sm:{span:24/((E=e.modelValue)==null?void 0:E.mobileCol)},md:{span:24/((C=e.modelValue)==null?void 0:C.desktopCol)}},{default:d.withCtx(()=>[d.createElementVNode("div",{class:d.normalizeClass(["gallery-caption",[w.url&&"has-url",w.profile&&"has-profile"]]),onClick:S=>f(w)},[d.createElementVNode("div",pEe,[d.createElementVNode("img",{src:w.imgSrc,alt:w.alt},null,8,hEe)]),d.createElementVNode("div",gEe,d.toDisplayString(w.title),1),w.text?(d.openBlock(),d.createElementBlock("div",mEe,d.toDisplayString(w.text),1)):d.createCommentVNode("",!0)],10,fEe)]),_:2},1032,["sm","md"])}),128))]}),_:1})],4),(b=e.modelValue)!=null&&b.readOnly?d.createCommentVNode("",!0):(d.openBlock(),d.createBlock(bi,{key:0,show:i.value,"onUpdate:show":h[0]||(h[0]=g=>i.value=g),onHandleEdit:h[1]||(h[1]=g=>a.value=!0),onHandleDelete:s,onHandleCopy:l},null,8,["show"]))],32),d.createVNode(z2e,{show:a.value,"onUpdate:show":h[4]||(h[4]=g=>a.value=g),data:e.modelValue},null,8,["show","data"]),d.createVNode(Ez,{show:u.value,"onUpdate:show":h[5]||(h[5]=g=>u.value=g),data:c.value},null,8,["show","data"])],64)}}}),[["__scopeId","data-v-25124312"]]),vEe={class:"setting-content"},yEe={class:"setting-header flex items-center"},bEe={class:"setting-header flex items-center"},wEe={class:"setting-body"},EEe={class:"setting-item"},xEe={class:"btn-group"},CEe={key:0,class:"drag-handle"},SEe={class:"item-action flex items-center"},DEe=lt(d.defineComponent({__name:"setting",props:{show:{type:Boolean,default:!1},data:{type:Object,default:()=>{}}},emits:["update:show"],setup(e,{emit:t}){const n=d.ref(!1),r=d.computed(()=>({animation:200,group:"links",disabled:!1,ghostClass:"ghost"})),o=c=>c&&c.length>1,i=e,a=t,s=()=>{a("update:show",!1)},l=c=>{i.data.data.push({id:ve(),type:c,text:"查看更多",url:void 0,isExternal:!1,isLight:!1})},u=c=>{i.data.data=i.data.data.filter(f=>f.id!==c)};return(c,f)=>{const p=d.resolveComponent("a-option"),h=d.resolveComponent("a-select"),v=d.resolveComponent("icon-plus"),m=d.resolveComponent("a-button"),y=d.resolveComponent("a-button-group"),b=d.resolveComponent("icon-drag-arrow"),g=d.resolveComponent("icon-delete"),w=d.resolveComponent("a-link"),E=d.resolveComponent("a-input"),C=d.resolveComponent("a-checkbox"),S=d.resolveComponent("a-drawer");return d.openBlock(),d.createBlock(S,{width:500,visible:e.show,footer:!1,onCancel:s,unmountOnClose:""},{title:d.withCtx(()=>[d.createTextVNode(d.toDisplayString(e.data.type)+"组件编辑 ",1)]),default:d.withCtx(()=>[d.createElementVNode("div",vEe,[d.createElementVNode("div",yEe,[f[11]||(f[11]=d.createElementVNode("span",{class:"header-title"},"组件宽度",-1)),d.createVNode(h,{modelValue:e.data.width,"onUpdate:modelValue":f[0]||(f[0]=x=>e.data.width=x),placeholder:"请选择","allow-clear":""},{default:d.withCtx(()=>[d.createVNode(p,{value:""},{default:d.withCtx(()=>f[7]||(f[7]=[d.createTextVNode("默认")])),_:1,__:[7]}),d.createVNode(p,{value:"small"},{default:d.withCtx(()=>f[8]||(f[8]=[d.createTextVNode("小")])),_:1,__:[8]}),d.createVNode(p,{value:"middle"},{default:d.withCtx(()=>f[9]||(f[9]=[d.createTextVNode("中")])),_:1,__:[9]}),d.createVNode(p,{value:"max"},{default:d.withCtx(()=>f[10]||(f[10]=[d.createTextVNode("大")])),_:1,__:[10]})]),_:1},8,["modelValue"])]),d.createElementVNode("div",bEe,[f[14]||(f[14]=d.createElementVNode("span",{class:"header-title"},"组件背景",-1)),d.createVNode(h,{modelValue:e.data.bgColor,"onUpdate:modelValue":f[1]||(f[1]=x=>e.data.bgColor=x),placeholder:"请选择","allow-clear":""},{default:d.withCtx(()=>[d.createVNode(p,{value:"#ffffff"},{default:d.withCtx(()=>f[12]||(f[12]=[d.createTextVNode("白色")])),_:1,__:[12]}),d.createVNode(p,{value:"#F7F7FA"},{default:d.withCtx(()=>f[13]||(f[13]=[d.createTextVNode("灰色")])),_:1,__:[13]})]),_:1},8,["modelValue"])]),d.createVNode(y,{type:"primary"},{default:d.withCtx(()=>[d.createVNode(m,{size:"mini",onClick:f[2]||(f[2]=x=>l("circle"))},{icon:d.withCtx(()=>[d.createVNode(v)]),default:d.withCtx(()=>[f[15]||(f[15]=d.createTextVNode(" 圆链接 "))]),_:1,__:[15]}),d.createVNode(m,{size:"mini",onClick:f[3]||(f[3]=x=>l("text"))},{icon:d.withCtx(()=>[d.createVNode(v)]),default:d.withCtx(()=>[f[16]||(f[16]=d.createTextVNode(" 文字链接 "))]),_:1,__:[16]})]),_:1}),d.createElementVNode("div",wEe,[d.createElementVNode("div",EEe,[f[20]||(f[20]=d.createElementVNode("p",{class:"item-name"},"链接",-1)),d.createVNode(d.unref(an),d.mergeProps({modelValue:e.data.data,"onUpdate:modelValue":f[4]||(f[4]=x=>e.data.data=x),"component-data":{tag:"div",type:"transition-group",name:n.value?null:"flip-list"}},r.value,{disabled:!o(e.data.data),onStart:f[5]||(f[5]=x=>n.value=!0),onEnd:f[6]||(f[6]=x=>n.value=!1),"item-key":"id"}),{item:d.withCtx(({element:x})=>[(d.openBlock(),d.createElementBlock("div",{class:d.normalizeClass(["item-button draggable-item",{"sortable-disabled":!o(e.data.data)}]),key:x.id},[d.createElementVNode("div",xEe,[o(e.data.data)?(d.openBlock(),d.createElementBlock("div",CEe,[d.createVNode(b,{class:"drag-icon"})])):d.createCommentVNode("",!0),d.createVNode(g,{class:"btn-delete",onClick:k=>u(x.id)},null,8,["onClick"])]),d.createVNode(w,{href:"link"},{default:d.withCtx(()=>[d.createTextVNode(d.toDisplayString(x.text),1)]),_:2},1024),x.type==="circle"?(d.openBlock(),d.createElementBlock(d.Fragment,{key:0},[d.createElementVNode("div",SEe,[d.createVNode(E,{class:"action-text",modelValue:x.text,"onUpdate:modelValue":k=>x.text=k,placeholder:"链接文本","allow-clear":""},null,8,["modelValue","onUpdate:modelValue"]),d.createVNode(E,{modelValue:x.url,"onUpdate:modelValue":k=>x.url=k,placeholder:"链接链接","allow-clear":""},null,8,["modelValue","onUpdate:modelValue"])]),d.createVNode(C,{"model-value":x.isExternal},{default:d.withCtx(()=>f[17]||(f[17]=[d.createTextVNode("是否外部链接")])),_:2,__:[17]},1032,["model-value"]),d.createVNode(C,{style:{"padding-left":"10px"},"model-value":x.isLight},{default:d.withCtx(()=>f[18]||(f[18]=[d.createTextVNode("是否亮色")])),_:2,__:[18]},1032,["model-value"])],64)):(d.openBlock(),d.createElementBlock(d.Fragment,{key:1},[d.createVNode(E,{class:"action-text m-2",modelValue:x.text,"onUpdate:modelValue":k=>x.text=k,placeholder:"链接文本","allow-clear":""},null,8,["modelValue","onUpdate:modelValue"]),f[19]||(f[19]=d.createElementVNode("p",{class:"item-name"},"Profile Information",-1)),d.createVNode(wz,{data:x.profile},null,8,["data"])],64))],2))]),_:1},16,["modelValue","component-data","disabled"])])])])]),_:1},8,["visible"])}}}),[["__scopeId","data-v-a50a1faa"]]),kEe=["onClick"],AEe=["href"],OEe={key:1,class:"text-link"},TEe={type:"button",class:"text-link__wrapper link link--udrline-2"},BEe={class:"text-link__text"},gD=lt(d.defineComponent({name:"LinkList",__name:"index",props:{modelValue:{type:Object,default:()=>{}},isPreview:{type:Boolean,default:!1}},emits:["update:modelValue","handleDelete","handleCopy"],setup(e,{emit:t}){const n=e,r=t,o=()=>{var h,v,m;if(n.modelValue&&n.modelValue.data)return;const p={id:((h=n.modelValue)==null?void 0:h.id)||ve(),type:"LinkList",readOnly:((v=n.modelValue)==null?void 0:v.readOnly)||!1,width:"",bgColor:"",data:[{id:ve(),type:"circle",text:"了解更多",url:"https://www.baidu.com",isExternal:!1,isLight:!1},{id:ve(),type:"circle",text:"了解更多",url:"https://www.baidu.com",isExternal:!1,isLight:!0},{id:ve(),type:"text",text:"了解更多",profile:{logo:"https://ywies-tx.cedim.cn/images/logo/logo-ycyw.png",title:"耀华国际教育学校浙江桐乡",subTitle:"耀华国际教育学校浙江桐乡",name:"耀华国际教育学校浙江桐乡",label:"123",imgSrc:"https://osswebsite.ycyw.com/media-library/ywies-bj/images/home/ywies-tx.jpg",alt:"",buttonList:{id:((m=n.modelValue)==null?void 0:m.id)||ve(),type:"BtnList",readOnly:!0,width:"",bgColor:"",data:[{id:ve(),type:"white",text:"了解更多",url:"https://www.baidu.com",isExternal:!1},{id:ve(),type:"light",text:"了解更多",url:"https://www.baidu.com",isExternal:!1}]},paragraphs:[{id:ve(),title:"123",content:"123"}]}}]};r("update:modelValue",p)},i=d.ref(!1),a=d.ref(!1),s=()=>{r("handleDelete",n.modelValue.id)},l=()=>{r("handleCopy",n.modelValue)},u=d.ref(!1),c=d.ref({}),f=p=>{p.type==="text"&&(c.value=p.profile,u.value=!0)};return o(),(p,h)=>{var v,m,y,b,g;return d.openBlock(),d.createElementBlock(d.Fragment,null,[d.createElementVNode("div",{class:"link-list",style:d.normalizeStyle({backgroundColor:(v=e.modelValue)==null?void 0:v.bgColor}),onMouseenter:h[2]||(h[2]=w=>i.value=!0),onMouseleave:h[3]||(h[3]=w=>i.value=!1)},[d.createElementVNode("div",{class:d.normalizeClass(["link-list__container justify-content-center",[(m=e.modelValue)!=null&&m.width?`container-content-${(y=e.modelValue)==null?void 0:y.width}`:"container-content"]])},[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList((b=e.modelValue)==null?void 0:b.data,w=>(d.openBlock(),d.createElementBlock("div",{class:"link-list__item",key:w.id,onClick:E=>f(w)},[w.type==="circle"?(d.openBlock(),d.createElementBlock("div",{key:0,class:d.normalizeClass(["circle-link",[w.isLight?"circle-link--light":""]])},[d.createElementVNode("a",{href:w.url||"#",class:d.normalizeClass([w.isLight?"nuxt-link-exact-active nuxt-link-active":""])},[d.createElementVNode("div",null,d.toDisplayString(w.text),1),d.createElementVNode("span",{class:d.normalizeClass(["circle-link__icon",[w.isLight?"circle-link__icon--light":""]])},null,2)],10,AEe)],2)):(d.openBlock(),d.createElementBlock("div",OEe,[d.createElementVNode("button",TEe,[d.createElementVNode("span",BEe,d.toDisplayString(w.text),1)])]))],8,kEe))),128))],2),(g=e.modelValue)!=null&&g.readOnly?d.createCommentVNode("",!0):(d.openBlock(),d.createBlock(bi,{key:0,show:i.value,"onUpdate:show":h[0]||(h[0]=w=>i.value=w),onHandleEdit:h[1]||(h[1]=w=>a.value=!0),onHandleDelete:s,onHandleCopy:l},null,8,["show"]))],36),d.createVNode(DEe,{show:a.value,"onUpdate:show":h[4]||(h[4]=w=>a.value=w),data:e.modelValue},null,8,["show","data"]),d.createVNode(Ez,{show:u.value,"onUpdate:show":h[5]||(h[5]=w=>u.value=w),data:c.value},null,8,["show","data"])],64)}}}),[["__scopeId","data-v-5e2bae1f"]]),_Ee={class:"setting-content"},NEe={class:"setting-header flex items-center"},PEe={class:"setting-header flex items-center"},FEe={class:"setting-header flex items-center"},VEe=lt(d.defineComponent({__name:"setting",props:{show:{type:Boolean,default:!1},data:{type:Object,default:()=>{}}},emits:["update:show"],setup(e,{emit:t}){const n=t,r=()=>{n("update:show",!1)};return(o,i)=>{const a=d.resolveComponent("a-option"),s=d.resolveComponent("a-select"),l=d.resolveComponent("a-drawer");return d.openBlock(),d.createBlock(l,{width:500,visible:e.show,footer:!1,onCancel:r,unmountOnClose:""},{title:d.withCtx(()=>[d.createTextVNode(d.toDisplayString(e.data.type)+"组件编辑 ",1)]),default:d.withCtx(()=>[d.createElementVNode("div",_Ee,[d.createElementVNode("div",NEe,[i[9]||(i[9]=d.createElementVNode("span",{class:"header-title"},"组件宽度",-1)),d.createVNode(s,{modelValue:e.data.data.width,"onUpdate:modelValue":i[0]||(i[0]=u=>e.data.data.width=u),placeholder:"请选择","allow-clear":""},{default:d.withCtx(()=>[d.createVNode(a,{value:"default"},{default:d.withCtx(()=>i[5]||(i[5]=[d.createTextVNode("默认")])),_:1,__:[5]}),d.createVNode(a,{value:"small"},{default:d.withCtx(()=>i[6]||(i[6]=[d.createTextVNode("小")])),_:1,__:[6]}),d.createVNode(a,{value:"medium"},{default:d.withCtx(()=>i[7]||(i[7]=[d.createTextVNode("中")])),_:1,__:[7]}),d.createVNode(a,{value:"large"},{default:d.withCtx(()=>i[8]||(i[8]=[d.createTextVNode("大")])),_:1,__:[8]})]),_:1},8,["modelValue"])]),d.createElementVNode("div",PEe,[i[12]||(i[12]=d.createElementVNode("span",{class:"header-title"},"组件背景",-1)),d.createVNode(s,{modelValue:e.data.data.bgColor,"onUpdate:modelValue":i[1]||(i[1]=u=>e.data.data.bgColor=u),placeholder:"请选择","allow-clear":""},{default:d.withCtx(()=>[d.createVNode(a,{value:"#ffffff"},{default:d.withCtx(()=>i[10]||(i[10]=[d.createTextVNode("白色")])),_:1,__:[10]}),d.createVNode(a,{value:"#F7F7FA"},{default:d.withCtx(()=>i[11]||(i[11]=[d.createTextVNode("灰色")])),_:1,__:[11]})]),_:1},8,["modelValue"])]),d.createElementVNode("div",FEe,[i[15]||(i[15]=d.createElementVNode("span",{class:"header-title"},"是否显示下划线",-1)),d.createVNode(s,{modelValue:e.data.data.hasLine,"onUpdate:modelValue":i[2]||(i[2]=u=>e.data.data.hasLine=u),placeholder:"请选择","allow-clear":""},{default:d.withCtx(()=>[d.createVNode(a,{value:!0},{default:d.withCtx(()=>i[13]||(i[13]=[d.createTextVNode("是")])),_:1,__:[13]}),d.createVNode(a,{value:!1},{default:d.withCtx(()=>i[14]||(i[14]=[d.createTextVNode("否")])),_:1,__:[14]})]),_:1},8,["modelValue"])]),i[16]||(i[16]=d.createElementVNode("p",{class:"item-title"},"标题",-1)),d.createVNode(d.unref(yh),{modelValue:e.data.data.text,"onUpdate:modelValue":i[3]||(i[3]=u=>e.data.data.text=u)},null,8,["modelValue"]),i[17]||(i[17]=d.createElementVNode("p",{class:"item-title"},"内容",-1)),d.createVNode(d.unref(yh),{modelValue:e.data.data.desc,"onUpdate:modelValue":i[4]||(i[4]=u=>e.data.data.desc=u)},null,8,["modelValue"])])]),_:1},8,["visible"])}}}),[["__scopeId","data-v-5f93f285"]]),LEe={key:0,class:"quote-text__line"},IEe=["innerHTML"],jEe=["innerHTML"],mD=lt(d.defineComponent({name:"OuoteText",__name:"index",props:{modelValue:{type:Object,default:()=>{}},isPreview:{type:Boolean,default:!1}},emits:["update:modelValue","handleDelete","handleCopy"],setup(e,{emit:t}){const n=e,r=t,o=()=>{var c,f;if(n.modelValue&&n.modelValue.data)return;const u={id:((c=n.modelValue)==null?void 0:c.id)||ve(),type:"OuoteText",readOnly:((f=n.modelValue)==null?void 0:f.readOnly)||!1,data:{width:"",bgColor:"",hasLine:!0,text:"浙江桐乡特色高中将于今年9月成立!",desc:"耀华国际教育学校浙江桐乡校区成立于 2017 年,先进的校园设施确保学 生在安全友好的环境中学习。学校坐落于高桥镇,提供从幼儿阶段至高中 阶段 (K2 至13 年级) 的教育服务,招收2 岁至18 岁本地和外籍学生。"}};r("update:modelValue",u)},i=d.ref(!1),a=d.ref(!1),s=()=>{r("handleDelete",n.modelValue.id)},l=()=>{r("handleCopy",n.modelValue)};return o(),(u,c)=>{var f,p,h,v,m;return d.openBlock(),d.createElementBlock(d.Fragment,null,[d.createElementVNode("div",{class:"quote-text",onMouseenter:c[2]||(c[2]=y=>i.value=!0),onMouseleave:c[3]||(c[3]=y=>i.value=!1)},[d.createElementVNode("div",{class:"quote-text__container quote-text--normal container-content",style:d.normalizeStyle({background:((f=e.modelValue)==null?void 0:f.data.bgColor)||"transparent"})},[(p=e.modelValue)!=null&&p.data.hasLine?(d.openBlock(),d.createElementBlock("div",LEe)):d.createCommentVNode("",!0),d.createElementVNode("div",{class:"quote-text__content",innerHTML:(h=e.modelValue)==null?void 0:h.data.text},null,8,IEe),d.createElementVNode("div",{class:"quote-text__desc",innerHTML:(v=e.modelValue)==null?void 0:v.data.desc},null,8,jEe)],4),(m=e.modelValue)!=null&&m.readOnly?d.createCommentVNode("",!0):(d.openBlock(),d.createBlock(bi,{key:0,show:i.value,"onUpdate:show":c[0]||(c[0]=y=>i.value=y),onHandleEdit:c[1]||(c[1]=y=>a.value=!0),onHandleDelete:s,onHandleCopy:l},null,8,["show"]))],32),d.createVNode(VEe,{show:a.value,"onUpdate:show":c[4]||(c[4]=y=>a.value=y),data:e.modelValue},null,8,["show","data"])],64)}}}),[["__scopeId","data-v-8392822c"]]),MEe={install:e=>{e.component("ArticleList",uD)}},REe={install:e=>{e.component("BannerPage",cD)}},zEe={install:e=>{e.component("CustomSpace",dD)}},HEe={install:e=>{e.component("HeroSlide",fD)}},UEe={install:e=>{e.component("BannerImage",pD)}},GEe={install:e=>{e.component("BtnList",_y)}},WEe={install:e=>{e.component("GalleryList",hD)}},qEe={install:e=>{e.component("LinkList",gD)}},KEe={install:e=>{e.component("BannerImage",mD)}},vD={default:{primaryColor:"#3b82f6",secondaryColor:"#a855f7",fontSize:"14px",fontFamily:"Inter, sans-serif",borderRadius:"6px",spacing:"16px"},dark:{primaryColor:"#60a5fa",secondaryColor:"#c084fc",fontSize:"14px",fontFamily:"Inter, sans-serif",borderRadius:"6px",spacing:"16px"},compact:{primaryColor:"#3b82f6",secondaryColor:"#a855f7",fontSize:"12px",fontFamily:"Inter, sans-serif",borderRadius:"4px",spacing:"12px"},large:{primaryColor:"#3b82f6",secondaryColor:"#a855f7",fontSize:"16px",fontFamily:"Inter, sans-serif",borderRadius:"8px",spacing:"20px"}},$n=d.ref(vD.default),Mo=d.ref(!1);function YEe(){const e=v=>{typeof v=="string"?$n.value={...vD[v]}:$n.value={...v},r()},t=v=>{$n.value={...$n.value,...v},r()},n=()=>{Mo.value=!Mo.value,document.documentElement.classList.toggle("dark",Mo.value)},r=()=>{const v=document.documentElement,m=$n.value;v.style.setProperty("--theme-primary",m.primaryColor),v.style.setProperty("--theme-secondary",m.secondaryColor),v.style.setProperty("--font-size-default",m.fontSize),v.style.setProperty("--font-family-sans",m.fontFamily),v.style.setProperty("--radius-md",m.borderRadius),v.style.setProperty("--spacing-md",m.spacing)},o=v=>d.computed(()=>v==="primary"?$n.value.primaryColor:$n.value.secondaryColor),i=()=>d.computed(()=>$n.value.fontSize),a=()=>d.computed(()=>$n.value.fontFamily),s=()=>d.computed(()=>$n.value.borderRadius),l=()=>d.computed(()=>$n.value.spacing),u=()=>{e("default"),Mo.value=!1,document.documentElement.classList.remove("dark")},c=()=>JSON.stringify($n.value,null,2),f=v=>{try{const m=JSON.parse(v);return e(m),!0}catch(m){return console.error("Invalid theme configuration:",m),!1}},p=()=>{const v=localStorage.getItem("officialblock-theme"),m=localStorage.getItem("officialblock-dark-mode");if(v)try{const g=JSON.parse(v);e(g)}catch(g){console.error("Failed to restore theme:",g)}m&&(Mo.value=m==="true",document.documentElement.classList.toggle("dark",Mo.value));const y=window.matchMedia("(prefers-color-scheme: dark)"),b=g=>{localStorage.getItem("officialblock-dark-mode")||(Mo.value=g.matches,document.documentElement.classList.toggle("dark",Mo.value))};y.addEventListener("change",b),r()},h=()=>{localStorage.setItem("officialblock-theme",JSON.stringify($n.value)),localStorage.setItem("officialblock-dark-mode",Mo.value.toString())};return{currentTheme:d.computed(()=>$n.value),isDarkMode:d.computed(()=>Mo.value),themePresets:vD,setTheme:e,updateTheme:t,toggleDarkMode:n,resetTheme:u,exportTheme:c,importTheme:f,initTheme:p,saveTheme:h,getThemeColor:o,getFontSize:i,getFontFamily:a,getBorderRadius:s,getSpacing:l}}class XEe{static hexToRgb(t){const n=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);return n?{r:parseInt(n[1],16),g:parseInt(n[2],16),b:parseInt(n[3],16)}:null}static rgbToHex(t,n,r){return"#"+((1<<24)+(t<<16)+(n<<8)+r).toString(16).slice(1)}static adjustBrightness(t,n){const r=this.hexToRgb(t);if(!r)return t;const o=i=>{const a=Math.round(i*(1+n/100));return Math.max(0,Math.min(255,a))};return this.rgbToHex(o(r.r),o(r.g),o(r.b))}static generateColorScale(t){const n=[50,100,200,300,400,500,600,700,800,900,950],r={};return n.forEach((o,i)=>{let a;o<=500?a=80-i*16:a=-20-(i-5)*12,r[o.toString()]=this.adjustBrightness(t,a)}),r}static getContrastRatio(t,n){const r=l=>{const u=this.hexToRgb(l);if(!u)return 0;const c=f=>{const p=f/255;return p<=.03928?p/12.92:Math.pow((p+.055)/1.055,2.4)};return .2126*c(u.r)+.7152*c(u.g)+.0722*c(u.b)},o=r(t),i=r(n),a=Math.max(o,i),s=Math.min(o,i);return(a+.05)/(s+.05)}static isDarkColor(t){const n=this.hexToRgb(t);return n?(n.r*299+n.g*587+n.b*114)/1e3<128:!1}static getBestTextColor(t){return this.isDarkColor(t)?"#ffffff":"#000000"}static mixColors(t,n,r=.5){const o=this.hexToRgb(t),i=this.hexToRgb(n);if(!o||!i)return t;const a=(s,l)=>Math.round(s*(1-r)+l*r);return this.rgbToHex(a(o.r,i.r),a(o.g,i.g),a(o.b,i.b))}}class ZEe{static getCurrentBreakpoint(){const t=window.innerWidth;return t<475?"xs":t<640?"sm":t<768?"md":t<1024?"lg":t<1280?"xl":"2xl"}static isMobile(){return window.innerWidth<768}static isTablet(){const t=window.innerWidth;return t>=768&&t<1024}static isDesktop(){return window.innerWidth>=1024}static onBreakpointChange(t){let n=this.getCurrentBreakpoint();const r=()=>{const o=this.getCurrentBreakpoint();o!==n&&(n=o,t(o))};return window.addEventListener("resize",r),()=>{window.removeEventListener("resize",r)}}}class xz{static animate(t,n,r,o,i=this.easing.easeOutQuad){const a=performance.now();let s;const l=u=>{const c=u-a,f=Math.min(c/r,1),p=i(f),h=t+(n-t)*p;o(h),f<1&&(s=requestAnimationFrame(l))};return s=requestAnimationFrame(l),()=>{s&&cancelAnimationFrame(s)}}static scrollTo(t,n,r=300,o=this.easing.easeOutQuad){return new Promise(i=>{const a=t===window,s=a?window.pageYOffset:t.scrollTop;this.animate(s,n,r,l=>{a?window.scrollTo(0,l):t.scrollTop=l},o),setTimeout(i,r)})}}Hz(xz,"easing",{linear:t=>t,easeInQuad:t=>t*t,easeOutQuad:t=>t*(2-t),easeInOutQuad:t=>t<.5?2*t*t:-1+(4-2*t)*t,easeInCubic:t=>t*t*t,easeOutCubic:t=>--t*t*t+1,easeInOutCubic:t=>t<.5?4*t*t*t:(t-1)*(2*t-2)*(2*t-2)+1});class JEe{static setItem(t,n){try{return localStorage.setItem(t,JSON.stringify(n)),!0}catch(r){return console.warn("Failed to save to localStorage:",r),!1}}static getItem(t,n){try{const r=localStorage.getItem(t);return r?JSON.parse(r):n||null}catch(r){return console.warn("Failed to read from localStorage:",r),n||null}}static removeItem(t){try{return localStorage.removeItem(t),!0}catch(n){return console.warn("Failed to remove from localStorage:",n),!1}}static cleanExpired(){const t=Date.now(),n=[];for(let r=0;r<localStorage.length;r++){const o=localStorage.key(r);if(o&&o.startsWith("officialblock-"))try{const i=JSON.parse(localStorage.getItem(o)||"{}");i.expires&&i.expires<t&&n.push(o)}catch{}}n.forEach(r=>localStorage.removeItem(r))}}const QEe={install:e=>{e.component("ArticleList",uD),e.component("BannerImage",pD),e.component("BannerPage",cD),e.component("BtnList",_y),e.component("CustomSpace",dD),e.component("GalleryList",hD),e.component("HeroSlide",fD),e.component("LinkList",gD),e.component("QuoteText",mD)}};function Cz(e){return e!==null&&typeof e=="object"&&"constructor"in e&&e.constructor===Object}function yD(e,t){e===void 0&&(e={}),t===void 0&&(t={});const n=["__proto__","constructor","prototype"];Object.keys(t).filter(r=>n.indexOf(r)<0).forEach(r=>{typeof e[r]>"u"?e[r]=t[r]:Cz(t[r])&&Cz(e[r])&&Object.keys(t[r]).length>0&&yD(e[r],t[r])})}const Sz={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector(){return null},querySelectorAll(){return[]},getElementById(){return null},createEvent(){return{initEvent(){}}},createElement(){return{children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName(){return[]}}},createElementNS(){return{}},importNode(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function Ro(){const e=typeof document<"u"?document:{};return yD(e,Sz),e}const $Ee={document:Sz,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle(){return{getPropertyValue(){return""}}},Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia(){return{}},requestAnimationFrame(e){return typeof setTimeout>"u"?(e(),null):setTimeout(e,0)},cancelAnimationFrame(e){typeof setTimeout>"u"||clearTimeout(e)}};function Mn(){const e=typeof window<"u"?window:{};return yD(e,$Ee),e}function exe(e){return e===void 0&&(e=""),e.trim().split(" ").filter(t=>!!t.trim())}function txe(e){const t=e;Object.keys(t).forEach(n=>{try{t[n]=null}catch{}try{delete t[n]}catch{}})}function Dz(e,t){return t===void 0&&(t=0),setTimeout(e,t)}function Ny(){return Date.now()}function nxe(e){const t=Mn();let n;return t.getComputedStyle&&(n=t.getComputedStyle(e,null)),!n&&e.currentStyle&&(n=e.currentStyle),n||(n=e.style),n}function rxe(e,t){t===void 0&&(t="x");const n=Mn();let r,o,i;const a=nxe(e);return n.WebKitCSSMatrix?(o=a.transform||a.webkitTransform,o.split(",").length>6&&(o=o.split(", ").map(s=>s.replace(",",".")).join(", ")),i=new n.WebKitCSSMatrix(o==="none"?"":o)):(i=a.MozTransform||a.OTransform||a.MsTransform||a.msTransform||a.transform||a.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),r=i.toString().split(",")),t==="x"&&(n.WebKitCSSMatrix?o=i.m41:r.length===16?o=parseFloat(r[12]):o=parseFloat(r[4])),t==="y"&&(n.WebKitCSSMatrix?o=i.m42:r.length===16?o=parseFloat(r[13]):o=parseFloat(r[5])),o||0}function Py(e){return typeof e=="object"&&e!==null&&e.constructor&&Object.prototype.toString.call(e).slice(8,-1)==="Object"}function oxe(e){return typeof window<"u"&&typeof window.HTMLElement<"u"?e instanceof HTMLElement:e&&(e.nodeType===1||e.nodeType===11)}function yr(){const e=Object(arguments.length<=0?void 0:arguments[0]),t=["__proto__","constructor","prototype"];for(let n=1;n<arguments.length;n+=1){const r=n<0||arguments.length<=n?void 0:arguments[n];if(r!=null&&!oxe(r)){const o=Object.keys(Object(r)).filter(i=>t.indexOf(i)<0);for(let i=0,a=o.length;i<a;i+=1){const s=o[i],l=Object.getOwnPropertyDescriptor(r,s);l!==void 0&&l.enumerable&&(Py(e[s])&&Py(r[s])?r[s].__swiper__?e[s]=r[s]:yr(e[s],r[s]):!Py(e[s])&&Py(r[s])?(e[s]={},r[s].__swiper__?e[s]=r[s]:yr(e[s],r[s])):e[s]=r[s])}}}return e}function Fy(e,t,n){e.style.setProperty(t,n)}function kz(e){let{swiper:t,targetPosition:n,side:r}=e;const o=Mn(),i=-t.translate;let a=null,s;const l=t.params.speed;t.wrapperEl.style.scrollSnapType="none",o.cancelAnimationFrame(t.cssModeFrameID);const u=n>i?"next":"prev",c=(p,h)=>u==="next"&&p>=h||u==="prev"&&p<=h,f=()=>{s=new Date().getTime(),a===null&&(a=s);const p=Math.max(Math.min((s-a)/l,1),0),h=.5-Math.cos(p*Math.PI)/2;let v=i+h*(n-i);if(c(v,n)&&(v=n),t.wrapperEl.scrollTo({[r]:v}),c(v,n)){t.wrapperEl.style.overflow="hidden",t.wrapperEl.style.scrollSnapType="",setTimeout(()=>{t.wrapperEl.style.overflow="",t.wrapperEl.scrollTo({[r]:v})}),o.cancelAnimationFrame(t.cssModeFrameID);return}t.cssModeFrameID=o.requestAnimationFrame(f)};f()}function zo(e,t){t===void 0&&(t="");const n=Mn(),r=[...e.children];return n.HTMLSlotElement&&e instanceof HTMLSlotElement&&r.push(...e.assignedElements()),t?r.filter(o=>o.matches(t)):r}function ixe(e,t){const n=[t];for(;n.length>0;){const r=n.shift();if(e===r)return!0;n.push(...r.children,...r.shadowRoot?r.shadowRoot.children:[],...r.assignedElements?r.assignedElements():[])}}function axe(e,t){const n=Mn();let r=t.contains(e);return!r&&n.HTMLSlotElement&&t instanceof HTMLSlotElement&&(r=[...t.assignedElements()].includes(e),r||(r=ixe(e,t))),r}function Vy(e){try{console.warn(e);return}catch{}}function Ly(e,t){t===void 0&&(t=[]);const n=document.createElement(e);return n.classList.add(...Array.isArray(t)?t:exe(t)),n}function sxe(e,t){const n=[];for(;e.previousElementSibling;){const r=e.previousElementSibling;t?r.matches(t)&&n.push(r):n.push(r),e=r}return n}function lxe(e,t){const n=[];for(;e.nextElementSibling;){const r=e.nextElementSibling;t?r.matches(t)&&n.push(r):n.push(r),e=r}return n}function Ha(e,t){return Mn().getComputedStyle(e,null).getPropertyValue(t)}function Iy(e){let t=e,n;if(t){for(n=0;(t=t.previousSibling)!==null;)t.nodeType===1&&(n+=1);return n}}function Az(e,t){const n=[];let r=e.parentElement;for(;r;)t?r.matches(t)&&n.push(r):n.push(r),r=r.parentElement;return n}function bD(e,t,n){const r=Mn();return e[t==="width"?"offsetWidth":"offsetHeight"]+parseFloat(r.getComputedStyle(e,null).getPropertyValue(t==="width"?"margin-right":"margin-top"))+parseFloat(r.getComputedStyle(e,null).getPropertyValue(t==="width"?"margin-left":"margin-bottom"))}function gn(e){return(Array.isArray(e)?e:[e]).filter(t=>!!t)}function Oz(e,t){t===void 0&&(t=""),typeof trustedTypes<"u"?e.innerHTML=trustedTypes.createPolicy("html",{createHTML:n=>n}).createHTML(t):e.innerHTML=t}let wD;function uxe(){const e=Mn(),t=Ro();return{smoothScroll:t.documentElement&&t.documentElement.style&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch)}}function Tz(){return wD||(wD=uxe()),wD}let ED;function cxe(e){let{userAgent:t}=e===void 0?{}:e;const n=Tz(),r=Mn(),o=r.navigator.platform,i=t||r.navigator.userAgent,a={ios:!1,android:!1},s=r.screen.width,l=r.screen.height,u=i.match(/(Android);?[\s\/]+([\d.]+)?/);let c=i.match(/(iPad).*OS\s([\d_]+)/);const f=i.match(/(iPod)(.*OS\s([\d_]+))?/),p=!c&&i.match(/(iPhone\sOS|iOS)\s([\d_]+)/),h=o==="Win32";let v=o==="MacIntel";const m=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!c&&v&&n.touch&&m.indexOf(`${s}x${l}`)>=0&&(c=i.match(/(Version)\/([\d.]+)/),c||(c=[0,1,"13_0_0"]),v=!1),u&&!h&&(a.os="android",a.android=!0),(c||p||f)&&(a.os="ios",a.ios=!0),a}function Bz(e){return e===void 0&&(e={}),ED||(ED=cxe(e)),ED}let xD;function dxe(){const e=Mn(),t=Bz();let n=!1;function r(){const s=e.navigator.userAgent.toLowerCase();return s.indexOf("safari")>=0&&s.indexOf("chrome")<0&&s.indexOf("android")<0}if(r()){const s=String(e.navigator.userAgent);if(s.includes("Version/")){const[l,u]=s.split("Version/")[1].split(" ")[0].split(".").map(c=>Number(c));n=l<16||l===16&&u<2}}const o=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent),i=r(),a=i||o&&t.ios;return{isSafari:n||i,needPerspectiveFix:n,need3dFix:a,isWebView:o}}function _z(){return xD||(xD=dxe()),xD}function fxe(e){let{swiper:t,on:n,emit:r}=e;const o=Mn();let i=null,a=null;const s=()=>{!t||t.destroyed||!t.initialized||(r("beforeResize"),r("resize"))},l=()=>{!t||t.destroyed||!t.initialized||(i=new ResizeObserver(f=>{a=o.requestAnimationFrame(()=>{const{width:p,height:h}=t;let v=p,m=h;f.forEach(y=>{let{contentBoxSize:b,contentRect:g,target:w}=y;w&&w!==t.el||(v=g?g.width:(b[0]||b).inlineSize,m=g?g.height:(b[0]||b).blockSize)}),(v!==p||m!==h)&&s()})}),i.observe(t.el))},u=()=>{a&&o.cancelAnimationFrame(a),i&&i.unobserve&&t.el&&(i.unobserve(t.el),i=null)},c=()=>{!t||t.destroyed||!t.initialized||r("orientationchange")};n("init",()=>{if(t.params.resizeObserver&&typeof o.ResizeObserver<"u"){l();return}o.addEventListener("resize",s),o.addEventListener("orientationchange",c)}),n("destroy",()=>{u(),o.removeEventListener("resize",s),o.removeEventListener("orientationchange",c)})}function pxe(e){let{swiper:t,extendParams:n,on:r,emit:o}=e;const i=[],a=Mn(),s=function(c,f){f===void 0&&(f={});const p=a.MutationObserver||a.WebkitMutationObserver,h=new p(v=>{if(t.__preventObserver__)return;if(v.length===1){o("observerUpdate",v[0]);return}const m=function(){o("observerUpdate",v[0])};a.requestAnimationFrame?a.requestAnimationFrame(m):a.setTimeout(m,0)});h.observe(c,{attributes:typeof f.attributes>"u"?!0:f.attributes,childList:t.isElement||(typeof f.childList>"u"?!0:f).childList,characterData:typeof f.characterData>"u"?!0:f.characterData}),i.push(h)},l=()=>{if(t.params.observer){if(t.params.observeParents){const c=Az(t.hostEl);for(let f=0;f<c.length;f+=1)s(c[f])}s(t.hostEl,{childList:t.params.observeSlideChildren}),s(t.wrapperEl,{attributes:!1})}},u=()=>{i.forEach(c=>{c.disconnect()}),i.splice(0,i.length)};n({observer:!1,observeParents:!1,observeSlideChildren:!1}),r("init",l),r("destroy",u)}var hxe={on(e,t,n){const r=this;if(!r.eventsListeners||r.destroyed||typeof t!="function")return r;const o=n?"unshift":"push";return e.split(" ").forEach(i=>{r.eventsListeners[i]||(r.eventsListeners[i]=[]),r.eventsListeners[i][o](t)}),r},once(e,t,n){const r=this;if(!r.eventsListeners||r.destroyed||typeof t!="function")return r;function o(){r.off(e,o),o.__emitterProxy&&delete o.__emitterProxy;for(var i=arguments.length,a=new Array(i),s=0;s<i;s++)a[s]=arguments[s];t.apply(r,a)}return o.__emitterProxy=t,r.on(e,o,n)},onAny(e,t){const n=this;if(!n.eventsListeners||n.destroyed||typeof e!="function")return n;const r=t?"unshift":"push";return n.eventsAnyListeners.indexOf(e)<0&&n.eventsAnyListeners[r](e),n},offAny(e){const t=this;if(!t.eventsListeners||t.destroyed||!t.eventsAnyListeners)return t;const n=t.eventsAnyListeners.indexOf(e);return n>=0&&t.eventsAnyListeners.splice(n,1),t},off(e,t){const n=this;return!n.eventsListeners||n.destroyed||!n.eventsListeners||e.split(" ").forEach(r=>{typeof t>"u"?n.eventsListeners[r]=[]:n.eventsListeners[r]&&n.eventsListeners[r].forEach((o,i)=>{(o===t||o.__emitterProxy&&o.__emitterProxy===t)&&n.eventsListeners[r].splice(i,1)})}),n},emit(){const e=this;if(!e.eventsListeners||e.destroyed||!e.eventsListeners)return e;let t,n,r;for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return typeof i[0]=="string"||Array.isArray(i[0])?(t=i[0],n=i.slice(1,i.length),r=e):(t=i[0].events,n=i[0].data,r=i[0].context||e),n.unshift(r),(Array.isArray(t)?t:t.split(" ")).forEach(l=>{e.eventsAnyListeners&&e.eventsAnyListeners.length&&e.eventsAnyListeners.forEach(u=>{u.apply(r,[l,...n])}),e.eventsListeners&&e.eventsListeners[l]&&e.eventsListeners[l].forEach(u=>{u.apply(r,n)})}),e}};function gxe(){const e=this;let t,n;const r=e.el;typeof e.params.width<"u"&&e.params.width!==null?t=e.params.width:t=r.clientWidth,typeof e.params.height<"u"&&e.params.height!==null?n=e.params.height:n=r.clientHeight,!(t===0&&e.isHorizontal()||n===0&&e.isVertical())&&(t=t-parseInt(Ha(r,"padding-left")||0,10)-parseInt(Ha(r,"padding-right")||0,10),n=n-parseInt(Ha(r,"padding-top")||0,10)-parseInt(Ha(r,"padding-bottom")||0,10),Number.isNaN(t)&&(t=0),Number.isNaN(n)&&(n=0),Object.assign(e,{width:t,height:n,size:e.isHorizontal()?t:n}))}function mxe(){const e=this;function t(_,P){return parseFloat(_.getPropertyValue(e.getDirectionLabel(P))||0)}const n=e.params,{wrapperEl:r,slidesEl:o,size:i,rtlTranslate:a,wrongRTL:s}=e,l=e.virtual&&n.virtual.enabled,u=l?e.virtual.slides.length:e.slides.length,c=zo(o,`.${e.params.slideClass}, swiper-slide`),f=l?e.virtual.slides.length:c.length;let p=[];const h=[],v=[];let m=n.slidesOffsetBefore;typeof m=="function"&&(m=n.slidesOffsetBefore.call(e));let y=n.slidesOffsetAfter;typeof y=="function"&&(y=n.slidesOffsetAfter.call(e));const b=e.snapGrid.length,g=e.slidesGrid.length;let w=n.spaceBetween,E=-m,C=0,S=0;if(typeof i>"u")return;typeof w=="string"&&w.indexOf("%")>=0?w=parseFloat(w.replace("%",""))/100*i:typeof w=="string"&&(w=parseFloat(w)),e.virtualSize=-w,c.forEach(_=>{a?_.style.marginLeft="":_.style.marginRight="",_.style.marginBottom="",_.style.marginTop=""}),n.centeredSlides&&n.cssMode&&(Fy(r,"--swiper-centered-offset-before",""),Fy(r,"--swiper-centered-offset-after",""));const x=n.grid&&n.grid.rows>1&&e.grid;x?e.grid.initSlides(c):e.grid&&e.grid.unsetSlides();let k;const O=n.slidesPerView==="auto"&&n.breakpoints&&Object.keys(n.breakpoints).filter(_=>typeof n.breakpoints[_].slidesPerView<"u").length>0;for(let _=0;_<f;_+=1){k=0;let P;if(c[_]&&(P=c[_]),x&&e.grid.updateSlide(_,P,c),!(c[_]&&Ha(P,"display")==="none")){if(n.slidesPerView==="auto"){O&&(c[_].style[e.getDirectionLabel("width")]="");const F=getComputedStyle(P),H=P.style.transform,R=P.style.webkitTransform;if(H&&(P.style.transform="none"),R&&(P.style.webkitTransform="none"),n.roundLengths)k=e.isHorizontal()?bD(P,"width"):bD(P,"height");else{const z=t(F,"width"),U=t(F,"padding-left"),Q=t(F,"padding-right"),Z=t(F,"margin-left"),te=t(F,"margin-right"),G=F.getPropertyValue("box-sizing");if(G&&G==="border-box")k=z+Z+te;else{const{clientWidth:A,offsetWidth:T}=P;k=z+U+Q+Z+te+(T-A)}}H&&(P.style.transform=H),R&&(P.style.webkitTransform=R),n.roundLengths&&(k=Math.floor(k))}else k=(i-(n.slidesPerView-1)*w)/n.slidesPerView,n.roundLengths&&(k=Math.floor(k)),c[_]&&(c[_].style[e.getDirectionLabel("width")]=`${k}px`);c[_]&&(c[_].swiperSlideSize=k),v.push(k),n.centeredSlides?(E=E+k/2+C/2+w,C===0&&_!==0&&(E=E-i/2-w),_===0&&(E=E-i/2-w),Math.abs(E)<1/1e3&&(E=0),n.roundLengths&&(E=Math.floor(E)),S%n.slidesPerGroup===0&&p.push(E),h.push(E)):(n.roundLengths&&(E=Math.floor(E)),(S-Math.min(e.params.slidesPerGroupSkip,S))%e.params.slidesPerGroup===0&&p.push(E),h.push(E),E=E+k+w),e.virtualSize+=k+w,C=k,S+=1}}if(e.virtualSize=Math.max(e.virtualSize,i)+y,a&&s&&(n.effect==="slide"||n.effect==="coverflow")&&(r.style.width=`${e.virtualSize+w}px`),n.setWrapperSize&&(r.style[e.getDirectionLabel("width")]=`${e.virtualSize+w}px`),x&&e.grid.updateWrapperSize(k,p),!n.centeredSlides){const _=[];for(let P=0;P<p.length;P+=1){let F=p[P];n.roundLengths&&(F=Math.floor(F)),p[P]<=e.virtualSize-i&&_.push(F)}p=_,Math.floor(e.virtualSize-i)-Math.floor(p[p.length-1])>1&&p.push(e.virtualSize-i)}if(l&&n.loop){const _=v[0]+w;if(n.slidesPerGroup>1){const P=Math.ceil((e.virtual.slidesBefore+e.virtual.slidesAfter)/n.slidesPerGroup),F=_*n.slidesPerGroup;for(let H=0;H<P;H+=1)p.push(p[p.length-1]+F)}for(let P=0;P<e.virtual.slidesBefore+e.virtual.slidesAfter;P+=1)n.slidesPerGroup===1&&p.push(p[p.length-1]+_),h.push(h[h.length-1]+_),e.virtualSize+=_}if(p.length===0&&(p=[0]),w!==0){const _=e.isHorizontal()&&a?"marginLeft":e.getDirectionLabel("marginRight");c.filter((P,F)=>!n.cssMode||n.loop?!0:F!==c.length-1).forEach(P=>{P.style[_]=`${w}px`})}if(n.centeredSlides&&n.centeredSlidesBounds){let _=0;v.forEach(F=>{_+=F+(w||0)}),_-=w;const P=_>i?_-i:0;p=p.map(F=>F<=0?-m:F>P?P+y:F)}if(n.centerInsufficientSlides){let _=0;v.forEach(F=>{_+=F+(w||0)}),_-=w;const P=(n.slidesOffsetBefore||0)+(n.slidesOffsetAfter||0);if(_+P<i){const F=(i-_-P)/2;p.forEach((H,R)=>{p[R]=H-F}),h.forEach((H,R)=>{h[R]=H+F})}}if(Object.assign(e,{slides:c,snapGrid:p,slidesGrid:h,slidesSizesGrid:v}),n.centeredSlides&&n.cssMode&&!n.centeredSlidesBounds){Fy(r,"--swiper-centered-offset-before",`${-p[0]}px`),Fy(r,"--swiper-centered-offset-after",`${e.size/2-v[v.length-1]/2}px`);const _=-e.snapGrid[0],P=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map(F=>F+_),e.slidesGrid=e.slidesGrid.map(F=>F+P)}if(f!==u&&e.emit("slidesLengthChange"),p.length!==b&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),h.length!==g&&e.emit("slidesGridLengthChange"),n.watchSlidesProgress&&e.updateSlidesOffset(),e.emit("slidesUpdated"),!l&&!n.cssMode&&(n.effect==="slide"||n.effect==="fade")){const _=`${n.containerModifierClass}backface-hidden`,P=e.el.classList.contains(_);f<=n.maxBackfaceHiddenSlides?P||e.el.classList.add(_):P&&e.el.classList.remove(_)}}function vxe(e){const t=this,n=[],r=t.virtual&&t.params.virtual.enabled;let o=0,i;typeof e=="number"?t.setTransition(e):e===!0&&t.setTransition(t.params.speed);const a=s=>r?t.slides[t.getSlideIndexByData(s)]:t.slides[s];if(t.params.slidesPerView!=="auto"&&t.params.slidesPerView>1)if(t.params.centeredSlides)(t.visibleSlides||[]).forEach(s=>{n.push(s)});else for(i=0;i<Math.ceil(t.params.slidesPerView);i+=1){const s=t.activeIndex+i;if(s>t.slides.length&&!r)break;n.push(a(s))}else n.push(a(t.activeIndex));for(i=0;i<n.length;i+=1)if(typeof n[i]<"u"){const s=n[i].offsetHeight;o=s>o?s:o}(o||o===0)&&(t.wrapperEl.style.height=`${o}px`)}function yxe(){const e=this,t=e.slides,n=e.isElement?e.isHorizontal()?e.wrapperEl.offsetLeft:e.wrapperEl.offsetTop:0;for(let r=0;r<t.length;r+=1)t[r].swiperSlideOffset=(e.isHorizontal()?t[r].offsetLeft:t[r].offsetTop)-n-e.cssOverflowAdjustment()}const Nz=(e,t,n)=>{t&&!e.classList.contains(n)?e.classList.add(n):!t&&e.classList.contains(n)&&e.classList.remove(n)};function bxe(e){e===void 0&&(e=this&&this.translate||0);const t=this,n=t.params,{slides:r,rtlTranslate:o,snapGrid:i}=t;if(r.length===0)return;typeof r[0].swiperSlideOffset>"u"&&t.updateSlidesOffset();let a=-e;o&&(a=e),t.visibleSlidesIndexes=[],t.visibleSlides=[];let s=n.spaceBetween;typeof s=="string"&&s.indexOf("%")>=0?s=parseFloat(s.replace("%",""))/100*t.size:typeof s=="string"&&(s=parseFloat(s));for(let l=0;l<r.length;l+=1){const u=r[l];let c=u.swiperSlideOffset;n.cssMode&&n.centeredSlides&&(c-=r[0].swiperSlideOffset);const f=(a+(n.centeredSlides?t.minTranslate():0)-c)/(u.swiperSlideSize+s),p=(a-i[0]+(n.centeredSlides?t.minTranslate():0)-c)/(u.swiperSlideSize+s),h=-(a-c),v=h+t.slidesSizesGrid[l],m=h>=0&&h<=t.size-t.slidesSizesGrid[l],y=h>=0&&h<t.size-1||v>1&&v<=t.size||h<=0&&v>=t.size;y&&(t.visibleSlides.push(u),t.visibleSlidesIndexes.push(l)),Nz(u,y,n.slideVisibleClass),Nz(u,m,n.slideFullyVisibleClass),u.progress=o?-f:f,u.originalProgress=o?-p:p}}function wxe(e){const t=this;if(typeof e>"u"){const c=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*c||0}const n=t.params,r=t.maxTranslate()-t.minTranslate();let{progress:o,isBeginning:i,isEnd:a,progressLoop:s}=t;const l=i,u=a;if(r===0)o=0,i=!0,a=!0;else{o=(e-t.minTranslate())/r;const c=Math.abs(e-t.minTranslate())<1,f=Math.abs(e-t.maxTranslate())<1;i=c||o<=0,a=f||o>=1,c&&(o=0),f&&(o=1)}if(n.loop){const c=t.getSlideIndexByData(0),f=t.getSlideIndexByData(t.slides.length-1),p=t.slidesGrid[c],h=t.slidesGrid[f],v=t.slidesGrid[t.slidesGrid.length-1],m=Math.abs(e);m>=p?s=(m-p)/v:s=(m+v-h)/v,s>1&&(s-=1)}Object.assign(t,{progress:o,progressLoop:s,isBeginning:i,isEnd:a}),(n.watchSlidesProgress||n.centeredSlides&&n.autoHeight)&&t.updateSlidesProgress(e),i&&!l&&t.emit("reachBeginning toEdge"),a&&!u&&t.emit("reachEnd toEdge"),(l&&!i||u&&!a)&&t.emit("fromEdge"),t.emit("progress",o)}const CD=(e,t,n)=>{t&&!e.classList.contains(n)?e.classList.add(n):!t&&e.classList.contains(n)&&e.classList.remove(n)};function Exe(){const e=this,{slides:t,params:n,slidesEl:r,activeIndex:o}=e,i=e.virtual&&n.virtual.enabled,a=e.grid&&n.grid&&n.grid.rows>1,s=f=>zo(r,`.${n.slideClass}${f}, swiper-slide${f}`)[0];let l,u,c;if(i)if(n.loop){let f=o-e.virtual.slidesBefore;f<0&&(f=e.virtual.slides.length+f),f>=e.virtual.slides.length&&(f-=e.virtual.slides.length),l=s(`[data-swiper-slide-index="${f}"]`)}else l=s(`[data-swiper-slide-index="${o}"]`);else a?(l=t.find(f=>f.column===o),c=t.find(f=>f.column===o+1),u=t.find(f=>f.column===o-1)):l=t[o];l&&(a||(c=lxe(l,`.${n.slideClass}, swiper-slide`)[0],n.loop&&!c&&(c=t[0]),u=sxe(l,`.${n.slideClass}, swiper-slide`)[0],n.loop&&!u===0&&(u=t[t.length-1]))),t.forEach(f=>{CD(f,f===l,n.slideActiveClass),CD(f,f===c,n.slideNextClass),CD(f,f===u,n.slidePrevClass)}),e.emitSlidesClasses()}const jy=(e,t)=>{if(!e||e.destroyed||!e.params)return;const n=()=>e.isElement?"swiper-slide":`.${e.params.slideClass}`,r=t.closest(n());if(r){let o=r.querySelector(`.${e.params.lazyPreloaderClass}`);!o&&e.isElement&&(r.shadowRoot?o=r.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{r.shadowRoot&&(o=r.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`),o&&o.remove())})),o&&o.remove()}},SD=(e,t)=>{if(!e.slides[t])return;const n=e.slides[t].querySelector('[loading="lazy"]');n&&n.removeAttribute("loading")},DD=e=>{if(!e||e.destroyed||!e.params)return;let t=e.params.lazyPreloadPrevNext;const n=e.slides.length;if(!n||!t||t<0)return;t=Math.min(t,n);const r=e.params.slidesPerView==="auto"?e.slidesPerViewDynamic():Math.ceil(e.params.slidesPerView),o=e.activeIndex;if(e.params.grid&&e.params.grid.rows>1){const a=o,s=[a-t];s.push(...Array.from({length:t}).map((l,u)=>a+r+u)),e.slides.forEach((l,u)=>{s.includes(l.column)&&SD(e,u)});return}const i=o+r-1;if(e.params.rewind||e.params.loop)for(let a=o-t;a<=i+t;a+=1){const s=(a%n+n)%n;(s<o||s>i)&&SD(e,s)}else for(let a=Math.max(o-t,0);a<=Math.min(i+t,n-1);a+=1)a!==o&&(a>i||a<o)&&SD(e,a)};function xxe(e){const{slidesGrid:t,params:n}=e,r=e.rtlTranslate?e.translate:-e.translate;let o;for(let i=0;i<t.length;i+=1)typeof t[i+1]<"u"?r>=t[i]&&r<t[i+1]-(t[i+1]-t[i])/2?o=i:r>=t[i]&&r<t[i+1]&&(o=i+1):r>=t[i]&&(o=i);return n.normalizeSlideIndex&&(o<0||typeof o>"u")&&(o=0),o}function Cxe(e){const t=this,n=t.rtlTranslate?t.translate:-t.translate,{snapGrid:r,params:o,activeIndex:i,realIndex:a,snapIndex:s}=t;let l=e,u;const c=h=>{let v=h-t.virtual.slidesBefore;return v<0&&(v=t.virtual.slides.length+v),v>=t.virtual.slides.length&&(v-=t.virtual.slides.length),v};if(typeof l>"u"&&(l=xxe(t)),r.indexOf(n)>=0)u=r.indexOf(n);else{const h=Math.min(o.slidesPerGroupSkip,l);u=h+Math.floor((l-h)/o.slidesPerGroup)}if(u>=r.length&&(u=r.length-1),l===i&&!t.params.loop){u!==s&&(t.snapIndex=u,t.emit("snapIndexChange"));return}if(l===i&&t.params.loop&&t.virtual&&t.params.virtual.enabled){t.realIndex=c(l);return}const f=t.grid&&o.grid&&o.grid.rows>1;let p;if(t.virtual&&o.virtual.enabled&&o.loop)p=c(l);else if(f){const h=t.slides.find(m=>m.column===l);let v=parseInt(h.getAttribute("data-swiper-slide-index"),10);Number.isNaN(v)&&(v=Math.max(t.slides.indexOf(h),0)),p=Math.floor(v/o.grid.rows)}else if(t.slides[l]){const h=t.slides[l].getAttribute("data-swiper-slide-index");h?p=parseInt(h,10):p=l}else p=l;Object.assign(t,{previousSnapIndex:s,snapIndex:u,previousRealIndex:a,realIndex:p,previousIndex:i,activeIndex:l}),t.initialized&&DD(t),t.emit("activeIndexChange"),t.emit("snapIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&(a!==p&&t.emit("realIndexChange"),t.emit("slideChange"))}function Sxe(e,t){const n=this,r=n.params;let o=e.closest(`.${r.slideClass}, swiper-slide`);!o&&n.isElement&&t&&t.length>1&&t.includes(e)&&[...t.slice(t.indexOf(e)+1,t.length)].forEach(s=>{!o&&s.matches&&s.matches(`.${r.slideClass}, swiper-slide`)&&(o=s)});let i=!1,a;if(o){for(let s=0;s<n.slides.length;s+=1)if(n.slides[s]===o){i=!0,a=s;break}}if(o&&i)n.clickedSlide=o,n.virtual&&n.params.virtual.enabled?n.clickedIndex=parseInt(o.getAttribute("data-swiper-slide-index"),10):n.clickedIndex=a;else{n.clickedSlide=void 0,n.clickedIndex=void 0;return}r.slideToClickedSlide&&n.clickedIndex!==void 0&&n.clickedIndex!==n.activeIndex&&n.slideToClickedSlide()}var Dxe={updateSize:gxe,updateSlides:mxe,updateAutoHeight:vxe,updateSlidesOffset:yxe,updateSlidesProgress:bxe,updateProgress:wxe,updateSlidesClasses:Exe,updateActiveIndex:Cxe,updateClickedSlide:Sxe};function kxe(e){e===void 0&&(e=this.isHorizontal()?"x":"y");const t=this,{params:n,rtlTranslate:r,translate:o,wrapperEl:i}=t;if(n.virtualTranslate)return r?-o:o;if(n.cssMode)return o;let a=rxe(i,e);return a+=t.cssOverflowAdjustment(),r&&(a=-a),a||0}function Axe(e,t){const n=this,{rtlTranslate:r,params:o,wrapperEl:i,progress:a}=n;let s=0,l=0;const u=0;n.isHorizontal()?s=r?-e:e:l=e,o.roundLengths&&(s=Math.floor(s),l=Math.floor(l)),n.previousTranslate=n.translate,n.translate=n.isHorizontal()?s:l,o.cssMode?i[n.isHorizontal()?"scrollLeft":"scrollTop"]=n.isHorizontal()?-s:-l:o.virtualTranslate||(n.isHorizontal()?s-=n.cssOverflowAdjustment():l-=n.cssOverflowAdjustment(),i.style.transform=`translate3d(${s}px, ${l}px, ${u}px)`);let c;const f=n.maxTranslate()-n.minTranslate();f===0?c=0:c=(e-n.minTranslate())/f,c!==a&&n.updateProgress(e),n.emit("setTranslate",n.translate,t)}function Oxe(){return-this.snapGrid[0]}function Txe(){return-this.snapGrid[this.snapGrid.length-1]}function Bxe(e,t,n,r,o){e===void 0&&(e=0),t===void 0&&(t=this.params.speed),n===void 0&&(n=!0),r===void 0&&(r=!0);const i=this,{params:a,wrapperEl:s}=i;if(i.animating&&a.preventInteractionOnTransition)return!1;const l=i.minTranslate(),u=i.maxTranslate();let c;if(r&&e>l?c=l:r&&e<u?c=u:c=e,i.updateProgress(c),a.cssMode){const f=i.isHorizontal();if(t===0)s[f?"scrollLeft":"scrollTop"]=-c;else{if(!i.support.smoothScroll)return kz({swiper:i,targetPosition:-c,side:f?"left":"top"}),!0;s.scrollTo({[f?"left":"top"]:-c,behavior:"smooth"})}return!0}return t===0?(i.setTransition(0),i.setTranslate(c),n&&(i.emit("beforeTransitionStart",t,o),i.emit("transitionEnd"))):(i.setTransition(t),i.setTranslate(c),n&&(i.emit("beforeTransitionStart",t,o),i.emit("transitionStart")),i.animating||(i.animating=!0,i.onTranslateToWrapperTransitionEnd||(i.onTranslateToWrapperTransitionEnd=function(p){!i||i.destroyed||p.target===this&&(i.wrapperEl.removeEventListener("transitionend",i.onTranslateToWrapperTransitionEnd),i.onTranslateToWrapperTransitionEnd=null,delete i.onTranslateToWrapperTransitionEnd,i.animating=!1,n&&i.emit("transitionEnd"))}),i.wrapperEl.addEventListener("transitionend",i.onTranslateToWrapperTransitionEnd))),!0}var _xe={getTranslate:kxe,setTranslate:Axe,minTranslate:Oxe,maxTranslate:Txe,translateTo:Bxe};function Nxe(e,t){const n=this;n.params.cssMode||(n.wrapperEl.style.transitionDuration=`${e}ms`,n.wrapperEl.style.transitionDelay=e===0?"0ms":""),n.emit("setTransition",e,t)}function Pz(e){let{swiper:t,runCallbacks:n,direction:r,step:o}=e;const{activeIndex:i,previousIndex:a}=t;let s=r;s||(i>a?s="next":i<a?s="prev":s="reset"),t.emit(`transition${o}`),n&&s==="reset"?t.emit(`slideResetTransition${o}`):n&&i!==a&&(t.emit(`slideChangeTransition${o}`),s==="next"?t.emit(`slideNextTransition${o}`):t.emit(`slidePrevTransition${o}`))}function Pxe(e,t){e===void 0&&(e=!0);const n=this,{params:r}=n;r.cssMode||(r.autoHeight&&n.updateAutoHeight(),Pz({swiper:n,runCallbacks:e,direction:t,step:"Start"}))}function Fxe(e,t){e===void 0&&(e=!0);const n=this,{params:r}=n;n.animating=!1,!r.cssMode&&(n.setTransition(0),Pz({swiper:n,runCallbacks:e,direction:t,step:"End"}))}var Vxe={setTransition:Nxe,transitionStart:Pxe,transitionEnd:Fxe};function Lxe(e,t,n,r,o){e===void 0&&(e=0),n===void 0&&(n=!0),typeof e=="string"&&(e=parseInt(e,10));const i=this;let a=e;a<0&&(a=0);const{params:s,snapGrid:l,slidesGrid:u,previousIndex:c,activeIndex:f,rtlTranslate:p,wrapperEl:h,enabled:v}=i;if(!v&&!r&&!o||i.destroyed||i.animating&&s.preventInteractionOnTransition)return!1;typeof t>"u"&&(t=i.params.speed);const m=Math.min(i.params.slidesPerGroupSkip,a);let y=m+Math.floor((a-m)/i.params.slidesPerGroup);y>=l.length&&(y=l.length-1);const b=-l[y];if(s.normalizeSlideIndex)for(let x=0;x<u.length;x+=1){const k=-Math.floor(b*100),O=Math.floor(u[x]*100),_=Math.floor(u[x+1]*100);typeof u[x+1]<"u"?k>=O&&k<_-(_-O)/2?a=x:k>=O&&k<_&&(a=x+1):k>=O&&(a=x)}if(i.initialized&&a!==f&&(!i.allowSlideNext&&(p?b>i.translate&&b>i.minTranslate():b<i.translate&&b<i.minTranslate())||!i.allowSlidePrev&&b>i.translate&&b>i.maxTranslate()&&(f||0)!==a))return!1;a!==(c||0)&&n&&i.emit("beforeSlideChangeStart"),i.updateProgress(b);let g;a>f?g="next":a<f?g="prev":g="reset";const w=i.virtual&&i.params.virtual.enabled;if(!(w&&o)&&(p&&-b===i.translate||!p&&b===i.translate))return i.updateActiveIndex(a),s.autoHeight&&i.updateAutoHeight(),i.updateSlidesClasses(),s.effect!=="slide"&&i.setTranslate(b),g!=="reset"&&(i.transitionStart(n,g),i.transitionEnd(n,g)),!1;if(s.cssMode){const x=i.isHorizontal(),k=p?b:-b;if(t===0)w&&(i.wrapperEl.style.scrollSnapType="none",i._immediateVirtual=!0),w&&!i._cssModeVirtualInitialSet&&i.params.initialSlide>0?(i._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{h[x?"scrollLeft":"scrollTop"]=k})):h[x?"scrollLeft":"scrollTop"]=k,w&&requestAnimationFrame(()=>{i.wrapperEl.style.scrollSnapType="",i._immediateVirtual=!1});else{if(!i.support.smoothScroll)return kz({swiper:i,targetPosition:k,side:x?"left":"top"}),!0;h.scrollTo({[x?"left":"top"]:k,behavior:"smooth"})}return!0}const S=_z().isSafari;return w&&!o&&S&&i.isElement&&i.virtual.update(!1,!1,a),i.setTransition(t),i.setTranslate(b),i.updateActiveIndex(a),i.updateSlidesClasses(),i.emit("beforeTransitionStart",t,r),i.transitionStart(n,g),t===0?i.transitionEnd(n,g):i.animating||(i.animating=!0,i.onSlideToWrapperTransitionEnd||(i.onSlideToWrapperTransitionEnd=function(k){!i||i.destroyed||k.target===this&&(i.wrapperEl.removeEventListener("transitionend",i.onSlideToWrapperTransitionEnd),i.onSlideToWrapperTransitionEnd=null,delete i.onSlideToWrapperTransitionEnd,i.transitionEnd(n,g))}),i.wrapperEl.addEventListener("transitionend",i.onSlideToWrapperTransitionEnd)),!0}function Ixe(e,t,n,r){e===void 0&&(e=0),n===void 0&&(n=!0),typeof e=="string"&&(e=parseInt(e,10));const o=this;if(o.destroyed)return;typeof t>"u"&&(t=o.params.speed);const i=o.grid&&o.params.grid&&o.params.grid.rows>1;let a=e;if(o.params.loop)if(o.virtual&&o.params.virtual.enabled)a=a+o.virtual.slidesBefore;else{let s;if(i){const p=a*o.params.grid.rows;s=o.slides.find(h=>h.getAttribute("data-swiper-slide-index")*1===p).column}else s=o.getSlideIndexByData(a);const l=i?Math.ceil(o.slides.length/o.params.grid.rows):o.slides.length,{centeredSlides:u}=o.params;let c=o.params.slidesPerView;c==="auto"?c=o.slidesPerViewDynamic():(c=Math.ceil(parseFloat(o.params.slidesPerView,10)),u&&c%2===0&&(c=c+1));let f=l-s<c;if(u&&(f=f||s<Math.ceil(c/2)),r&&u&&o.params.slidesPerView!=="auto"&&!i&&(f=!1),f){const p=u?s<o.activeIndex?"prev":"next":s-o.activeIndex-1<o.params.slidesPerView?"next":"prev";o.loopFix({direction:p,slideTo:!0,activeSlideIndex:p==="next"?s+1:s-l+1,slideRealIndex:p==="next"?o.realIndex:void 0})}if(i){const p=a*o.params.grid.rows;a=o.slides.find(h=>h.getAttribute("data-swiper-slide-index")*1===p).column}else a=o.getSlideIndexByData(a)}return requestAnimationFrame(()=>{o.slideTo(a,t,n,r)}),o}function jxe(e,t,n){t===void 0&&(t=!0);const r=this,{enabled:o,params:i,animating:a}=r;if(!o||r.destroyed)return r;typeof e>"u"&&(e=r.params.speed);let s=i.slidesPerGroup;i.slidesPerView==="auto"&&i.slidesPerGroup===1&&i.slidesPerGroupAuto&&(s=Math.max(r.slidesPerViewDynamic("current",!0),1));const l=r.activeIndex<i.slidesPerGroupSkip?1:s,u=r.virtual&&i.virtual.enabled;if(i.loop){if(a&&!u&&i.loopPreventsSliding)return!1;if(r.loopFix({direction:"next"}),r._clientLeft=r.wrapperEl.clientLeft,r.activeIndex===r.slides.length-1&&i.cssMode)return requestAnimationFrame(()=>{r.slideTo(r.activeIndex+l,e,t,n)}),!0}return i.rewind&&r.isEnd?r.slideTo(0,e,t,n):r.slideTo(r.activeIndex+l,e,t,n)}function Mxe(e,t,n){t===void 0&&(t=!0);const r=this,{params:o,snapGrid:i,slidesGrid:a,rtlTranslate:s,enabled:l,animating:u}=r;if(!l||r.destroyed)return r;typeof e>"u"&&(e=r.params.speed);const c=r.virtual&&o.virtual.enabled;if(o.loop){if(u&&!c&&o.loopPreventsSliding)return!1;r.loopFix({direction:"prev"}),r._clientLeft=r.wrapperEl.clientLeft}const f=s?r.translate:-r.translate;function p(g){return g<0?-Math.floor(Math.abs(g)):Math.floor(g)}const h=p(f),v=i.map(g=>p(g)),m=o.freeMode&&o.freeMode.enabled;let y=i[v.indexOf(h)-1];if(typeof y>"u"&&(o.cssMode||m)){let g;i.forEach((w,E)=>{h>=w&&(g=E)}),typeof g<"u"&&(y=m?i[g]:i[g>0?g-1:g])}let b=0;if(typeof y<"u"&&(b=a.indexOf(y),b<0&&(b=r.activeIndex-1),o.slidesPerView==="auto"&&o.slidesPerGroup===1&&o.slidesPerGroupAuto&&(b=b-r.slidesPerViewDynamic("previous",!0)+1,b=Math.max(b,0))),o.rewind&&r.isBeginning){const g=r.params.virtual&&r.params.virtual.enabled&&r.virtual?r.virtual.slides.length-1:r.slides.length-1;return r.slideTo(g,e,t,n)}else if(o.loop&&r.activeIndex===0&&o.cssMode)return requestAnimationFrame(()=>{r.slideTo(b,e,t,n)}),!0;return r.slideTo(b,e,t,n)}function Rxe(e,t,n){t===void 0&&(t=!0);const r=this;if(!r.destroyed)return typeof e>"u"&&(e=r.params.speed),r.slideTo(r.activeIndex,e,t,n)}function zxe(e,t,n,r){t===void 0&&(t=!0),r===void 0&&(r=.5);const o=this;if(o.destroyed)return;typeof e>"u"&&(e=o.params.speed);let i=o.activeIndex;const a=Math.min(o.params.slidesPerGroupSkip,i),s=a+Math.floor((i-a)/o.params.slidesPerGroup),l=o.rtlTranslate?o.translate:-o.translate;if(l>=o.snapGrid[s]){const u=o.snapGrid[s],c=o.snapGrid[s+1];l-u>(c-u)*r&&(i+=o.params.slidesPerGroup)}else{const u=o.snapGrid[s-1],c=o.snapGrid[s];l-u<=(c-u)*r&&(i-=o.params.slidesPerGroup)}return i=Math.max(i,0),i=Math.min(i,o.slidesGrid.length-1),o.slideTo(i,e,t,n)}function Hxe(){const e=this;if(e.destroyed)return;const{params:t,slidesEl:n}=e,r=t.slidesPerView==="auto"?e.slidesPerViewDynamic():t.slidesPerView;let o=e.getSlideIndexWhenGrid(e.clickedIndex),i;const a=e.isElement?"swiper-slide":`.${t.slideClass}`,s=e.grid&&e.params.grid&&e.params.grid.rows>1;if(t.loop){if(e.animating)return;i=parseInt(e.clickedSlide.getAttribute("data-swiper-slide-index"),10),t.centeredSlides?e.slideToLoop(i):o>(s?(e.slides.length-r)/2-(e.params.grid.rows-1):e.slides.length-r)?(e.loopFix(),o=e.getSlideIndex(zo(n,`${a}[data-swiper-slide-index="${i}"]`)[0]),Dz(()=>{e.slideTo(o)})):e.slideTo(o)}else e.slideTo(o)}var Uxe={slideTo:Lxe,slideToLoop:Ixe,slideNext:jxe,slidePrev:Mxe,slideReset:Rxe,slideToClosest:zxe,slideToClickedSlide:Hxe};function Gxe(e,t){const n=this,{params:r,slidesEl:o}=n;if(!r.loop||n.virtual&&n.params.virtual.enabled)return;const i=()=>{zo(o,`.${r.slideClass}, swiper-slide`).forEach((h,v)=>{h.setAttribute("data-swiper-slide-index",v)})},a=()=>{const p=zo(o,`.${r.slideBlankClass}`);p.forEach(h=>{h.remove()}),p.length>0&&(n.recalcSlides(),n.updateSlides())},s=n.grid&&r.grid&&r.grid.rows>1;r.loopAddBlankSlides&&(r.slidesPerGroup>1||s)&&a();const l=r.slidesPerGroup*(s?r.grid.rows:1),u=n.slides.length%l!==0,c=s&&n.slides.length%r.grid.rows!==0,f=p=>{for(let h=0;h<p;h+=1){const v=n.isElement?Ly("swiper-slide",[r.slideBlankClass]):Ly("div",[r.slideClass,r.slideBlankClass]);n.slidesEl.append(v)}};if(u){if(r.loopAddBlankSlides){const p=l-n.slides.length%l;f(p),n.recalcSlides(),n.updateSlides()}else Vy("Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");i()}else if(c){if(r.loopAddBlankSlides){const p=r.grid.rows-n.slides.length%r.grid.rows;f(p),n.recalcSlides(),n.updateSlides()}else Vy("Swiper Loop Warning: The number of slides is not even to grid.rows, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");i()}else i();n.loopFix({slideRealIndex:e,direction:r.centeredSlides?void 0:"next",initial:t})}function Wxe(e){let{slideRealIndex:t,slideTo:n=!0,direction:r,setTranslate:o,activeSlideIndex:i,initial:a,byController:s,byMousewheel:l}=e===void 0?{}:e;const u=this;if(!u.params.loop)return;u.emit("beforeLoopFix");const{slides:c,allowSlidePrev:f,allowSlideNext:p,slidesEl:h,params:v}=u,{centeredSlides:m,initialSlide:y}=v;if(u.allowSlidePrev=!0,u.allowSlideNext=!0,u.virtual&&v.virtual.enabled){n&&(!v.centeredSlides&&u.snapIndex===0?u.slideTo(u.virtual.slides.length,0,!1,!0):v.centeredSlides&&u.snapIndex<v.slidesPerView?u.slideTo(u.virtual.slides.length+u.snapIndex,0,!1,!0):u.snapIndex===u.snapGrid.length-1&&u.slideTo(u.virtual.slidesBefore,0,!1,!0)),u.allowSlidePrev=f,u.allowSlideNext=p,u.emit("loopFix");return}let b=v.slidesPerView;b==="auto"?b=u.slidesPerViewDynamic():(b=Math.ceil(parseFloat(v.slidesPerView,10)),m&&b%2===0&&(b=b+1));const g=v.slidesPerGroupAuto?b:v.slidesPerGroup;let w=m?Math.max(g,Math.ceil(b/2)):g;w%g!==0&&(w+=g-w%g),w+=v.loopAdditionalSlides,u.loopedSlides=w;const E=u.grid&&v.grid&&v.grid.rows>1;c.length<b+w||u.params.effect==="cards"&&c.length<b+w*2?Vy("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled or not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters"):E&&v.grid.fill==="row"&&Vy("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const C=[],S=[],x=E?Math.ceil(c.length/v.grid.rows):c.length,k=a&&x-y<b&&!m;let O=k?y:u.activeIndex;typeof i>"u"?i=u.getSlideIndex(c.find(U=>U.classList.contains(v.slideActiveClass))):O=i;const _=r==="next"||!r,P=r==="prev"||!r;let F=0,H=0;const z=(E?c[i].column:i)+(m&&typeof o>"u"?-b/2+.5:0);if(z<w){F=Math.max(w-z,g);for(let U=0;U<w-z;U+=1){const Q=U-Math.floor(U/x)*x;if(E){const Z=x-Q-1;for(let te=c.length-1;te>=0;te-=1)c[te].column===Z&&C.push(te)}else C.push(x-Q-1)}}else if(z+b>x-w){H=Math.max(z-(x-w*2),g),k&&(H=Math.max(H,b-x+y+1));for(let U=0;U<H;U+=1){const Q=U-Math.floor(U/x)*x;E?c.forEach((Z,te)=>{Z.column===Q&&S.push(te)}):S.push(Q)}}if(u.__preventObserver__=!0,requestAnimationFrame(()=>{u.__preventObserver__=!1}),u.params.effect==="cards"&&c.length<b+w*2&&(S.includes(i)&&S.splice(S.indexOf(i),1),C.includes(i)&&C.splice(C.indexOf(i),1)),P&&C.forEach(U=>{c[U].swiperLoopMoveDOM=!0,h.prepend(c[U]),c[U].swiperLoopMoveDOM=!1}),_&&S.forEach(U=>{c[U].swiperLoopMoveDOM=!0,h.append(c[U]),c[U].swiperLoopMoveDOM=!1}),u.recalcSlides(),v.slidesPerView==="auto"?u.updateSlides():E&&(C.length>0&&P||S.length>0&&_)&&u.slides.forEach((U,Q)=>{u.grid.updateSlide(Q,U,u.slides)}),v.watchSlidesProgress&&u.updateSlidesOffset(),n){if(C.length>0&&P){if(typeof t>"u"){const U=u.slidesGrid[O],Z=u.slidesGrid[O+F]-U;l?u.setTranslate(u.translate-Z):(u.slideTo(O+Math.ceil(F),0,!1,!0),o&&(u.touchEventsData.startTranslate=u.touchEventsData.startTranslate-Z,u.touchEventsData.currentTranslate=u.touchEventsData.currentTranslate-Z))}else if(o){const U=E?C.length/v.grid.rows:C.length;u.slideTo(u.activeIndex+U,0,!1,!0),u.touchEventsData.currentTranslate=u.translate}}else if(S.length>0&&_)if(typeof t>"u"){const U=u.slidesGrid[O],Z=u.slidesGrid[O-H]-U;l?u.setTranslate(u.translate-Z):(u.slideTo(O-H,0,!1,!0),o&&(u.touchEventsData.startTranslate=u.touchEventsData.startTranslate-Z,u.touchEventsData.currentTranslate=u.touchEventsData.currentTranslate-Z))}else{const U=E?S.length/v.grid.rows:S.length;u.slideTo(u.activeIndex-U,0,!1,!0)}}if(u.allowSlidePrev=f,u.allowSlideNext=p,u.controller&&u.controller.control&&!s){const U={slideRealIndex:t,direction:r,setTranslate:o,activeSlideIndex:i,byController:!0};Array.isArray(u.controller.control)?u.controller.control.forEach(Q=>{!Q.destroyed&&Q.params.loop&&Q.loopFix({...U,slideTo:Q.params.slidesPerView===v.slidesPerView?n:!1})}):u.controller.control instanceof u.constructor&&u.controller.control.params.loop&&u.controller.control.loopFix({...U,slideTo:u.controller.control.params.slidesPerView===v.slidesPerView?n:!1})}u.emit("loopFix")}function qxe(){const e=this,{params:t,slidesEl:n}=e;if(!t.loop||!n||e.virtual&&e.params.virtual.enabled)return;e.recalcSlides();const r=[];e.slides.forEach(o=>{const i=typeof o.swiperSlideIndex>"u"?o.getAttribute("data-swiper-slide-index")*1:o.swiperSlideIndex;r[i]=o}),e.slides.forEach(o=>{o.removeAttribute("data-swiper-slide-index")}),r.forEach(o=>{n.append(o)}),e.recalcSlides(),e.slideTo(e.realIndex,0)}var Kxe={loopCreate:Gxe,loopFix:Wxe,loopDestroy:qxe};function Yxe(e){const t=this;if(!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;const n=t.params.touchEventsTarget==="container"?t.el:t.wrapperEl;t.isElement&&(t.__preventObserver__=!0),n.style.cursor="move",n.style.cursor=e?"grabbing":"grab",t.isElement&&requestAnimationFrame(()=>{t.__preventObserver__=!1})}function Xxe(){const e=this;e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e.isElement&&(e.__preventObserver__=!0),e[e.params.touchEventsTarget==="container"?"el":"wrapperEl"].style.cursor="",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1}))}var Zxe={setGrabCursor:Yxe,unsetGrabCursor:Xxe};function Jxe(e,t){t===void 0&&(t=this);function n(r){if(!r||r===Ro()||r===Mn())return null;r.assignedSlot&&(r=r.assignedSlot);const o=r.closest(e);return!o&&!r.getRootNode?null:o||n(r.getRootNode().host)}return n(t)}function Fz(e,t,n){const r=Mn(),{params:o}=e,i=o.edgeSwipeDetection,a=o.edgeSwipeThreshold;return i&&(n<=a||n>=r.innerWidth-a)?i==="prevent"?(t.preventDefault(),!0):!1:!0}function Qxe(e){const t=this,n=Ro();let r=e;r.originalEvent&&(r=r.originalEvent);const o=t.touchEventsData;if(r.type==="pointerdown"){if(o.pointerId!==null&&o.pointerId!==r.pointerId)return;o.pointerId=r.pointerId}else r.type==="touchstart"&&r.targetTouches.length===1&&(o.touchId=r.targetTouches[0].identifier);if(r.type==="touchstart"){Fz(t,r,r.targetTouches[0].pageX);return}const{params:i,touches:a,enabled:s}=t;if(!s||!i.simulateTouch&&r.pointerType==="mouse"||t.animating&&i.preventInteractionOnTransition)return;!t.animating&&i.cssMode&&i.loop&&t.loopFix();let l=r.target;if(i.touchEventsTarget==="wrapper"&&!axe(l,t.wrapperEl)||"which"in r&&r.which===3||"button"in r&&r.button>0||o.isTouched&&o.isMoved)return;const u=!!i.noSwipingClass&&i.noSwipingClass!=="",c=r.composedPath?r.composedPath():r.path;u&&r.target&&r.target.shadowRoot&&c&&(l=c[0]);const f=i.noSwipingSelector?i.noSwipingSelector:`.${i.noSwipingClass}`,p=!!(r.target&&r.target.shadowRoot);if(i.noSwiping&&(p?Jxe(f,l):l.closest(f))){t.allowClick=!0;return}if(i.swipeHandler&&!l.closest(i.swipeHandler))return;a.currentX=r.pageX,a.currentY=r.pageY;const h=a.currentX,v=a.currentY;if(!Fz(t,r,h))return;Object.assign(o,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),a.startX=h,a.startY=v,o.touchStartTime=Ny(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,i.threshold>0&&(o.allowThresholdMove=!1);let m=!0;l.matches(o.focusableElements)&&(m=!1,l.nodeName==="SELECT"&&(o.isTouched=!1)),n.activeElement&&n.activeElement.matches(o.focusableElements)&&n.activeElement!==l&&(r.pointerType==="mouse"||r.pointerType!=="mouse"&&!l.matches(o.focusableElements))&&n.activeElement.blur();const y=m&&t.allowTouchMove&&i.touchStartPreventDefault;(i.touchStartForcePreventDefault||y)&&!l.isContentEditable&&r.preventDefault(),i.freeMode&&i.freeMode.enabled&&t.freeMode&&t.animating&&!i.cssMode&&t.freeMode.onTouchStart(),t.emit("touchStart",r)}function $xe(e){const t=Ro(),n=this,r=n.touchEventsData,{params:o,touches:i,rtlTranslate:a,enabled:s}=n;if(!s||!o.simulateTouch&&e.pointerType==="mouse")return;let l=e;if(l.originalEvent&&(l=l.originalEvent),l.type==="pointermove"&&(r.touchId!==null||l.pointerId!==r.pointerId))return;let u;if(l.type==="touchmove"){if(u=[...l.changedTouches].find(C=>C.identifier===r.touchId),!u||u.identifier!==r.touchId)return}else u=l;if(!r.isTouched){r.startMoving&&r.isScrolling&&n.emit("touchMoveOpposite",l);return}const c=u.pageX,f=u.pageY;if(l.preventedByNestedSwiper){i.startX=c,i.startY=f;return}if(!n.allowTouchMove){l.target.matches(r.focusableElements)||(n.allowClick=!1),r.isTouched&&(Object.assign(i,{startX:c,startY:f,currentX:c,currentY:f}),r.touchStartTime=Ny());return}if(o.touchReleaseOnEdges&&!o.loop)if(n.isVertical()){if(f<i.startY&&n.translate<=n.maxTranslate()||f>i.startY&&n.translate>=n.minTranslate()){r.isTouched=!1,r.isMoved=!1;return}}else{if(a&&(c>i.startX&&-n.translate<=n.maxTranslate()||c<i.startX&&-n.translate>=n.minTranslate()))return;if(!a&&(c<i.startX&&n.translate<=n.maxTranslate()||c>i.startX&&n.translate>=n.minTranslate()))return}if(t.activeElement&&t.activeElement.matches(r.focusableElements)&&t.activeElement!==l.target&&l.pointerType!=="mouse"&&t.activeElement.blur(),t.activeElement&&l.target===t.activeElement&&l.target.matches(r.focusableElements)){r.isMoved=!0,n.allowClick=!1;return}r.allowTouchCallbacks&&n.emit("touchMove",l),i.previousX=i.currentX,i.previousY=i.currentY,i.currentX=c,i.currentY=f;const p=i.currentX-i.startX,h=i.currentY-i.startY;if(n.params.threshold&&Math.sqrt(p**2+h**2)<n.params.threshold)return;if(typeof r.isScrolling>"u"){let C;n.isHorizontal()&&i.currentY===i.startY||n.isVertical()&&i.currentX===i.startX?r.isScrolling=!1:p*p+h*h>=25&&(C=Math.atan2(Math.abs(h),Math.abs(p))*180/Math.PI,r.isScrolling=n.isHorizontal()?C>o.touchAngle:90-C>o.touchAngle)}if(r.isScrolling&&n.emit("touchMoveOpposite",l),typeof r.startMoving>"u"&&(i.currentX!==i.startX||i.currentY!==i.startY)&&(r.startMoving=!0),r.isScrolling||l.type==="touchmove"&&r.preventTouchMoveFromPointerMove){r.isTouched=!1;return}if(!r.startMoving)return;n.allowClick=!1,!o.cssMode&&l.cancelable&&l.preventDefault(),o.touchMoveStopPropagation&&!o.nested&&l.stopPropagation();let v=n.isHorizontal()?p:h,m=n.isHorizontal()?i.currentX-i.previousX:i.currentY-i.previousY;o.oneWayMovement&&(v=Math.abs(v)*(a?1:-1),m=Math.abs(m)*(a?1:-1)),i.diff=v,v*=o.touchRatio,a&&(v=-v,m=-m);const y=n.touchesDirection;n.swipeDirection=v>0?"prev":"next",n.touchesDirection=m>0?"prev":"next";const b=n.params.loop&&!o.cssMode,g=n.touchesDirection==="next"&&n.allowSlideNext||n.touchesDirection==="prev"&&n.allowSlidePrev;if(!r.isMoved){if(b&&g&&n.loopFix({direction:n.swipeDirection}),r.startTranslate=n.getTranslate(),n.setTransition(0),n.animating){const C=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});n.wrapperEl.dispatchEvent(C)}r.allowMomentumBounce=!1,o.grabCursor&&(n.allowSlideNext===!0||n.allowSlidePrev===!0)&&n.setGrabCursor(!0),n.emit("sliderFirstMove",l)}if(new Date().getTime(),o._loopSwapReset!==!1&&r.isMoved&&r.allowThresholdMove&&y!==n.touchesDirection&&b&&g&&Math.abs(v)>=1){Object.assign(i,{startX:c,startY:f,currentX:c,currentY:f,startTranslate:r.currentTranslate}),r.loopSwapReset=!0,r.startTranslate=r.currentTranslate;return}n.emit("sliderMove",l),r.isMoved=!0,r.currentTranslate=v+r.startTranslate;let w=!0,E=o.resistanceRatio;if(o.touchReleaseOnEdges&&(E=0),v>0?(b&&g&&r.allowThresholdMove&&r.currentTranslate>(o.centeredSlides?n.minTranslate()-n.slidesSizesGrid[n.activeIndex+1]-(o.slidesPerView!=="auto"&&n.slides.length-o.slidesPerView>=2?n.slidesSizesGrid[n.activeIndex+1]+n.params.spaceBetween:0)-n.params.spaceBetween:n.minTranslate())&&n.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),r.currentTranslate>n.minTranslate()&&(w=!1,o.resistance&&(r.currentTranslate=n.minTranslate()-1+(-n.minTranslate()+r.startTranslate+v)**E))):v<0&&(b&&g&&r.allowThresholdMove&&r.currentTranslate<(o.centeredSlides?n.maxTranslate()+n.slidesSizesGrid[n.slidesSizesGrid.length-1]+n.params.spaceBetween+(o.slidesPerView!=="auto"&&n.slides.length-o.slidesPerView>=2?n.slidesSizesGrid[n.slidesSizesGrid.length-1]+n.params.spaceBetween:0):n.maxTranslate())&&n.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:n.slides.length-(o.slidesPerView==="auto"?n.slidesPerViewDynamic():Math.ceil(parseFloat(o.slidesPerView,10)))}),r.currentTranslate<n.maxTranslate()&&(w=!1,o.resistance&&(r.currentTranslate=n.maxTranslate()+1-(n.maxTranslate()-r.startTranslate-v)**E))),w&&(l.preventedByNestedSwiper=!0),!n.allowSlideNext&&n.swipeDirection==="next"&&r.currentTranslate<r.startTranslate&&(r.currentTranslate=r.startTranslate),!n.allowSlidePrev&&n.swipeDirection==="prev"&&r.currentTranslate>r.startTranslate&&(r.currentTranslate=r.startTranslate),!n.allowSlidePrev&&!n.allowSlideNext&&(r.currentTranslate=r.startTranslate),o.threshold>0)if(Math.abs(v)>o.threshold||r.allowThresholdMove){if(!r.allowThresholdMove){r.allowThresholdMove=!0,i.startX=i.currentX,i.startY=i.currentY,r.currentTranslate=r.startTranslate,i.diff=n.isHorizontal()?i.currentX-i.startX:i.currentY-i.startY;return}}else{r.currentTranslate=r.startTranslate;return}!o.followFinger||o.cssMode||((o.freeMode&&o.freeMode.enabled&&n.freeMode||o.watchSlidesProgress)&&(n.updateActiveIndex(),n.updateSlidesClasses()),o.freeMode&&o.freeMode.enabled&&n.freeMode&&n.freeMode.onTouchMove(),n.updateProgress(r.currentTranslate),n.setTranslate(r.currentTranslate))}function eCe(e){const t=this,n=t.touchEventsData;let r=e;r.originalEvent&&(r=r.originalEvent);let o;if(r.type==="touchend"||r.type==="touchcancel"){if(o=[...r.changedTouches].find(C=>C.identifier===n.touchId),!o||o.identifier!==n.touchId)return}else{if(n.touchId!==null||r.pointerId!==n.pointerId)return;o=r}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(r.type)&&!(["pointercancel","contextmenu"].includes(r.type)&&(t.browser.isSafari||t.browser.isWebView)))return;n.pointerId=null,n.touchId=null;const{params:a,touches:s,rtlTranslate:l,slidesGrid:u,enabled:c}=t;if(!c||!a.simulateTouch&&r.pointerType==="mouse")return;if(n.allowTouchCallbacks&&t.emit("touchEnd",r),n.allowTouchCallbacks=!1,!n.isTouched){n.isMoved&&a.grabCursor&&t.setGrabCursor(!1),n.isMoved=!1,n.startMoving=!1;return}a.grabCursor&&n.isMoved&&n.isTouched&&(t.allowSlideNext===!0||t.allowSlidePrev===!0)&&t.setGrabCursor(!1);const f=Ny(),p=f-n.touchStartTime;if(t.allowClick){const C=r.path||r.composedPath&&r.composedPath();t.updateClickedSlide(C&&C[0]||r.target,C),t.emit("tap click",r),p<300&&f-n.lastClickTime<300&&t.emit("doubleTap doubleClick",r)}if(n.lastClickTime=Ny(),Dz(()=>{t.destroyed||(t.allowClick=!0)}),!n.isTouched||!n.isMoved||!t.swipeDirection||s.diff===0&&!n.loopSwapReset||n.currentTranslate===n.startTranslate&&!n.loopSwapReset){n.isTouched=!1,n.isMoved=!1,n.startMoving=!1;return}n.isTouched=!1,n.isMoved=!1,n.startMoving=!1;let h;if(a.followFinger?h=l?t.translate:-t.translate:h=-n.currentTranslate,a.cssMode)return;if(a.freeMode&&a.freeMode.enabled){t.freeMode.onTouchEnd({currentPos:h});return}const v=h>=-t.maxTranslate()&&!t.params.loop;let m=0,y=t.slidesSizesGrid[0];for(let C=0;C<u.length;C+=C<a.slidesPerGroupSkip?1:a.slidesPerGroup){const S=C<a.slidesPerGroupSkip-1?1:a.slidesPerGroup;typeof u[C+S]<"u"?(v||h>=u[C]&&h<u[C+S])&&(m=C,y=u[C+S]-u[C]):(v||h>=u[C])&&(m=C,y=u[u.length-1]-u[u.length-2])}let b=null,g=null;a.rewind&&(t.isBeginning?g=a.virtual&&a.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1:t.isEnd&&(b=0));const w=(h-u[m])/y,E=m<a.slidesPerGroupSkip-1?1:a.slidesPerGroup;if(p>a.longSwipesMs){if(!a.longSwipes){t.slideTo(t.activeIndex);return}t.swipeDirection==="next"&&(w>=a.longSwipesRatio?t.slideTo(a.rewind&&t.isEnd?b:m+E):t.slideTo(m)),t.swipeDirection==="prev"&&(w>1-a.longSwipesRatio?t.slideTo(m+E):g!==null&&w<0&&Math.abs(w)>a.longSwipesRatio?t.slideTo(g):t.slideTo(m))}else{if(!a.shortSwipes){t.slideTo(t.activeIndex);return}t.navigation&&(r.target===t.navigation.nextEl||r.target===t.navigation.prevEl)?r.target===t.navigation.nextEl?t.slideTo(m+E):t.slideTo(m):(t.swipeDirection==="next"&&t.slideTo(b!==null?b:m+E),t.swipeDirection==="prev"&&t.slideTo(g!==null?g:m))}}function Vz(){const e=this,{params:t,el:n}=e;if(n&&n.offsetWidth===0)return;t.breakpoints&&e.setBreakpoint();const{allowSlideNext:r,allowSlidePrev:o,snapGrid:i}=e,a=e.virtual&&e.params.virtual.enabled;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses();const s=a&&t.loop;(t.slidesPerView==="auto"||t.slidesPerView>1)&&e.isEnd&&!e.isBeginning&&!e.params.centeredSlides&&!s?e.slideTo(e.slides.length-1,0,!1,!0):e.params.loop&&!a?e.slideToLoop(e.realIndex,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&(clearTimeout(e.autoplay.resizeTimeout),e.autoplay.resizeTimeout=setTimeout(()=>{e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.resume()},500)),e.allowSlidePrev=o,e.allowSlideNext=r,e.params.watchOverflow&&i!==e.snapGrid&&e.checkOverflow()}function tCe(e){const t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}function nCe(){const e=this,{wrapperEl:t,rtlTranslate:n,enabled:r}=e;if(!r)return;e.previousTranslate=e.translate,e.isHorizontal()?e.translate=-t.scrollLeft:e.translate=-t.scrollTop,e.translate===0&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();let o;const i=e.maxTranslate()-e.minTranslate();i===0?o=0:o=(e.translate-e.minTranslate())/i,o!==e.progress&&e.updateProgress(n?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}function rCe(e){const t=this;jy(t,e.target),!(t.params.cssMode||t.params.slidesPerView!=="auto"&&!t.params.autoHeight)&&t.update()}function oCe(){const e=this;e.documentTouchHandlerProceeded||(e.documentTouchHandlerProceeded=!0,e.params.touchReleaseOnEdges&&(e.el.style.touchAction="auto"))}const Lz=(e,t)=>{const n=Ro(),{params:r,el:o,wrapperEl:i,device:a}=e,s=!!r.nested,l=t==="on"?"addEventListener":"removeEventListener",u=t;!o||typeof o=="string"||(n[l]("touchstart",e.onDocumentTouchStart,{passive:!1,capture:s}),o[l]("touchstart",e.onTouchStart,{passive:!1}),o[l]("pointerdown",e.onTouchStart,{passive:!1}),n[l]("touchmove",e.onTouchMove,{passive:!1,capture:s}),n[l]("pointermove",e.onTouchMove,{passive:!1,capture:s}),n[l]("touchend",e.onTouchEnd,{passive:!0}),n[l]("pointerup",e.onTouchEnd,{passive:!0}),n[l]("pointercancel",e.onTouchEnd,{passive:!0}),n[l]("touchcancel",e.onTouchEnd,{passive:!0}),n[l]("pointerout",e.onTouchEnd,{passive:!0}),n[l]("pointerleave",e.onTouchEnd,{passive:!0}),n[l]("contextmenu",e.onTouchEnd,{passive:!0}),(r.preventClicks||r.preventClicksPropagation)&&o[l]("click",e.onClick,!0),r.cssMode&&i[l]("scroll",e.onScroll),r.updateOnWindowResize?e[u](a.ios||a.android?"resize orientationchange observerUpdate":"resize observerUpdate",Vz,!0):e[u]("observerUpdate",Vz,!0),o[l]("load",e.onLoad,{capture:!0}))};function iCe(){const e=this,{params:t}=e;e.onTouchStart=Qxe.bind(e),e.onTouchMove=$xe.bind(e),e.onTouchEnd=eCe.bind(e),e.onDocumentTouchStart=oCe.bind(e),t.cssMode&&(e.onScroll=nCe.bind(e)),e.onClick=tCe.bind(e),e.onLoad=rCe.bind(e),Lz(e,"on")}function aCe(){Lz(this,"off")}var sCe={attachEvents:iCe,detachEvents:aCe};const Iz=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;function lCe(){const e=this,{realIndex:t,initialized:n,params:r,el:o}=e,i=r.breakpoints;if(!i||i&&Object.keys(i).length===0)return;const a=Ro(),s=r.breakpointsBase==="window"||!r.breakpointsBase?r.breakpointsBase:"container",l=["window","container"].includes(r.breakpointsBase)||!r.breakpointsBase?e.el:a.querySelector(r.breakpointsBase),u=e.getBreakpoint(i,s,l);if(!u||e.currentBreakpoint===u)return;const f=(u in i?i[u]:void 0)||e.originalParams,p=Iz(e,r),h=Iz(e,f),v=e.params.grabCursor,m=f.grabCursor,y=r.enabled;p&&!h?(o.classList.remove(`${r.containerModifierClass}grid`,`${r.containerModifierClass}grid-column`),e.emitContainerClasses()):!p&&h&&(o.classList.add(`${r.containerModifierClass}grid`),(f.grid.fill&&f.grid.fill==="column"||!f.grid.fill&&r.grid.fill==="column")&&o.classList.add(`${r.containerModifierClass}grid-column`),e.emitContainerClasses()),v&&!m?e.unsetGrabCursor():!v&&m&&e.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(S=>{if(typeof f[S]>"u")return;const x=r[S]&&r[S].enabled,k=f[S]&&f[S].enabled;x&&!k&&e[S].disable(),!x&&k&&e[S].enable()});const b=f.direction&&f.direction!==r.direction,g=r.loop&&(f.slidesPerView!==r.slidesPerView||b),w=r.loop;b&&n&&e.changeDirection(),yr(e.params,f);const E=e.params.enabled,C=e.params.loop;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),y&&!E?e.disable():!y&&E&&e.enable(),e.currentBreakpoint=u,e.emit("_beforeBreakpoint",f),n&&(g?(e.loopDestroy(),e.loopCreate(t),e.updateSlides()):!w&&C?(e.loopCreate(t),e.updateSlides()):w&&!C&&e.loopDestroy()),e.emit("breakpoint",f)}function uCe(e,t,n){if(t===void 0&&(t="window"),!e||t==="container"&&!n)return;let r=!1;const o=Mn(),i=t==="window"?o.innerHeight:n.clientHeight,a=Object.keys(e).map(s=>{if(typeof s=="string"&&s.indexOf("@")===0){const l=parseFloat(s.substr(1));return{value:i*l,point:s}}return{value:s,point:s}});a.sort((s,l)=>parseInt(s.value,10)-parseInt(l.value,10));for(let s=0;s<a.length;s+=1){const{point:l,value:u}=a[s];t==="window"?o.matchMedia(`(min-width: ${u}px)`).matches&&(r=l):u<=n.clientWidth&&(r=l)}return r||"max"}var cCe={setBreakpoint:lCe,getBreakpoint:uCe};function dCe(e,t){const n=[];return e.forEach(r=>{typeof r=="object"?Object.keys(r).forEach(o=>{r[o]&&n.push(t+o)}):typeof r=="string"&&n.push(t+r)}),n}function fCe(){const e=this,{classNames:t,params:n,rtl:r,el:o,device:i}=e,a=dCe(["initialized",n.direction,{"free-mode":e.params.freeMode&&n.freeMode.enabled},{autoheight:n.autoHeight},{rtl:r},{grid:n.grid&&n.grid.rows>1},{"grid-column":n.grid&&n.grid.rows>1&&n.grid.fill==="column"},{android:i.android},{ios:i.ios},{"css-mode":n.cssMode},{centered:n.cssMode&&n.centeredSlides},{"watch-progress":n.watchSlidesProgress}],n.containerModifierClass);t.push(...a),o.classList.add(...t),e.emitContainerClasses()}function pCe(){const e=this,{el:t,classNames:n}=e;!t||typeof t=="string"||(t.classList.remove(...n),e.emitContainerClasses())}var hCe={addClasses:fCe,removeClasses:pCe};function gCe(){const e=this,{isLocked:t,params:n}=e,{slidesOffsetBefore:r}=n;if(r){const o=e.slides.length-1,i=e.slidesGrid[o]+e.slidesSizesGrid[o]+r*2;e.isLocked=e.size>i}else e.isLocked=e.snapGrid.length===1;n.allowSlideNext===!0&&(e.allowSlideNext=!e.isLocked),n.allowSlidePrev===!0&&(e.allowSlidePrev=!e.isLocked),t&&t!==e.isLocked&&(e.isEnd=!1),t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock")}var mCe={checkOverflow:gCe},jz={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function vCe(e,t){return function(r){r===void 0&&(r={});const o=Object.keys(r)[0],i=r[o];if(typeof i!="object"||i===null){yr(t,r);return}if(e[o]===!0&&(e[o]={enabled:!0}),o==="navigation"&&e[o]&&e[o].enabled&&!e[o].prevEl&&!e[o].nextEl&&(e[o].auto=!0),["pagination","scrollbar"].indexOf(o)>=0&&e[o]&&e[o].enabled&&!e[o].el&&(e[o].auto=!0),!(o in e&&"enabled"in i)){yr(t,r);return}typeof e[o]=="object"&&!("enabled"in e[o])&&(e[o].enabled=!0),e[o]||(e[o]={enabled:!1}),yr(t,r)}}const kD={eventsEmitter:hxe,update:Dxe,translate:_xe,transition:Vxe,slide:Uxe,loop:Kxe,grabCursor:Zxe,events:sCe,breakpoints:cCe,checkOverflow:mCe,classes:hCe},AD={};class br{constructor(){let t,n;for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];o.length===1&&o[0].constructor&&Object.prototype.toString.call(o[0]).slice(8,-1)==="Object"?n=o[0]:[t,n]=o,n||(n={}),n=yr({},n),t&&!n.el&&(n.el=t);const a=Ro();if(n.el&&typeof n.el=="string"&&a.querySelectorAll(n.el).length>1){const c=[];return a.querySelectorAll(n.el).forEach(f=>{const p=yr({},n,{el:f});c.push(new br(p))}),c}const s=this;s.__swiper__=!0,s.support=Tz(),s.device=Bz({userAgent:n.userAgent}),s.browser=_z(),s.eventsListeners={},s.eventsAnyListeners=[],s.modules=[...s.__modules__],n.modules&&Array.isArray(n.modules)&&s.modules.push(...n.modules);const l={};s.modules.forEach(c=>{c({params:n,swiper:s,extendParams:vCe(n,l),on:s.on.bind(s),once:s.once.bind(s),off:s.off.bind(s),emit:s.emit.bind(s)})});const u=yr({},jz,l);return s.params=yr({},u,AD,n),s.originalParams=yr({},s.params),s.passedParams=yr({},n),s.params&&s.params.on&&Object.keys(s.params.on).forEach(c=>{s.on(c,s.params.on[c])}),s.params&&s.params.onAny&&s.onAny(s.params.onAny),Object.assign(s,{enabled:s.params.enabled,el:t,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return s.params.direction==="horizontal"},isVertical(){return s.params.direction==="vertical"},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:s.params.allowSlideNext,allowSlidePrev:s.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:s.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:s.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),s.emit("_swiper"),s.params.init&&s.init(),s}getDirectionLabel(t){return this.isHorizontal()?t:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[t]}getSlideIndex(t){const{slidesEl:n,params:r}=this,o=zo(n,`.${r.slideClass}, swiper-slide`),i=Iy(o[0]);return Iy(t)-i}getSlideIndexByData(t){return this.getSlideIndex(this.slides.find(n=>n.getAttribute("data-swiper-slide-index")*1===t))}getSlideIndexWhenGrid(t){return this.grid&&this.params.grid&&this.params.grid.rows>1&&(this.params.grid.fill==="column"?t=Math.floor(t/this.params.grid.rows):this.params.grid.fill==="row"&&(t=t%Math.ceil(this.slides.length/this.params.grid.rows))),t}recalcSlides(){const t=this,{slidesEl:n,params:r}=t;t.slides=zo(n,`.${r.slideClass}, swiper-slide`)}enable(){const t=this;t.enabled||(t.enabled=!0,t.params.grabCursor&&t.setGrabCursor(),t.emit("enable"))}disable(){const t=this;t.enabled&&(t.enabled=!1,t.params.grabCursor&&t.unsetGrabCursor(),t.emit("disable"))}setProgress(t,n){const r=this;t=Math.min(Math.max(t,0),1);const o=r.minTranslate(),a=(r.maxTranslate()-o)*t+o;r.translateTo(a,typeof n>"u"?0:n),r.updateActiveIndex(),r.updateSlidesClasses()}emitContainerClasses(){const t=this;if(!t.params._emitClasses||!t.el)return;const n=t.el.className.split(" ").filter(r=>r.indexOf("swiper")===0||r.indexOf(t.params.containerModifierClass)===0);t.emit("_containerClasses",n.join(" "))}getSlideClasses(t){const n=this;return n.destroyed?"":t.className.split(" ").filter(r=>r.indexOf("swiper-slide")===0||r.indexOf(n.params.slideClass)===0).join(" ")}emitSlidesClasses(){const t=this;if(!t.params._emitClasses||!t.el)return;const n=[];t.slides.forEach(r=>{const o=t.getSlideClasses(r);n.push({slideEl:r,classNames:o}),t.emit("_slideClass",r,o)}),t.emit("_slideClasses",n)}slidesPerViewDynamic(t,n){t===void 0&&(t="current"),n===void 0&&(n=!1);const r=this,{params:o,slides:i,slidesGrid:a,slidesSizesGrid:s,size:l,activeIndex:u}=r;let c=1;if(typeof o.slidesPerView=="number")return o.slidesPerView;if(o.centeredSlides){let f=i[u]?Math.ceil(i[u].swiperSlideSize):0,p;for(let h=u+1;h<i.length;h+=1)i[h]&&!p&&(f+=Math.ceil(i[h].swiperSlideSize),c+=1,f>l&&(p=!0));for(let h=u-1;h>=0;h-=1)i[h]&&!p&&(f+=i[h].swiperSlideSize,c+=1,f>l&&(p=!0))}else if(t==="current")for(let f=u+1;f<i.length;f+=1)(n?a[f]+s[f]-a[u]<l:a[f]-a[u]<l)&&(c+=1);else for(let f=u-1;f>=0;f-=1)a[u]-a[f]<l&&(c+=1);return c}update(){const t=this;if(!t||t.destroyed)return;const{snapGrid:n,params:r}=t;r.breakpoints&&t.setBreakpoint(),[...t.el.querySelectorAll('[loading="lazy"]')].forEach(a=>{a.complete&&jy(t,a)}),t.updateSize(),t.updateSlides(),t.updateProgress(),t.updateSlidesClasses();function o(){const a=t.rtlTranslate?t.translate*-1:t.translate,s=Math.min(Math.max(a,t.maxTranslate()),t.minTranslate());t.setTranslate(s),t.updateActiveIndex(),t.updateSlidesClasses()}let i;if(r.freeMode&&r.freeMode.enabled&&!r.cssMode)o(),r.autoHeight&&t.updateAutoHeight();else{if((r.slidesPerView==="auto"||r.slidesPerView>1)&&t.isEnd&&!r.centeredSlides){const a=t.virtual&&r.virtual.enabled?t.virtual.slides:t.slides;i=t.slideTo(a.length-1,0,!1,!0)}else i=t.slideTo(t.activeIndex,0,!1,!0);i||o()}r.watchOverflow&&n!==t.snapGrid&&t.checkOverflow(),t.emit("update")}changeDirection(t,n){n===void 0&&(n=!0);const r=this,o=r.params.direction;return t||(t=o==="horizontal"?"vertical":"horizontal"),t===o||t!=="horizontal"&&t!=="vertical"||(r.el.classList.remove(`${r.params.containerModifierClass}${o}`),r.el.classList.add(`${r.params.containerModifierClass}${t}`),r.emitContainerClasses(),r.params.direction=t,r.slides.forEach(i=>{t==="vertical"?i.style.width="":i.style.height=""}),r.emit("changeDirection"),n&&r.update()),r}changeLanguageDirection(t){const n=this;n.rtl&&t==="rtl"||!n.rtl&&t==="ltr"||(n.rtl=t==="rtl",n.rtlTranslate=n.params.direction==="horizontal"&&n.rtl,n.rtl?(n.el.classList.add(`${n.params.containerModifierClass}rtl`),n.el.dir="rtl"):(n.el.classList.remove(`${n.params.containerModifierClass}rtl`),n.el.dir="ltr"),n.update())}mount(t){const n=this;if(n.mounted)return!0;let r=t||n.params.el;if(typeof r=="string"&&(r=document.querySelector(r)),!r)return!1;r.swiper=n,r.parentNode&&r.parentNode.host&&r.parentNode.host.nodeName===n.params.swiperElementNodeName.toUpperCase()&&(n.isElement=!0);const o=()=>`.${(n.params.wrapperClass||"").trim().split(" ").join(".")}`;let a=r&&r.shadowRoot&&r.shadowRoot.querySelector?r.shadowRoot.querySelector(o()):zo(r,o())[0];return!a&&n.params.createElements&&(a=Ly("div",n.params.wrapperClass),r.append(a),zo(r,`.${n.params.slideClass}`).forEach(s=>{a.append(s)})),Object.assign(n,{el:r,wrapperEl:a,slidesEl:n.isElement&&!r.parentNode.host.slideSlots?r.parentNode.host:a,hostEl:n.isElement?r.parentNode.host:r,mounted:!0,rtl:r.dir.toLowerCase()==="rtl"||Ha(r,"direction")==="rtl",rtlTranslate:n.params.direction==="horizontal"&&(r.dir.toLowerCase()==="rtl"||Ha(r,"direction")==="rtl"),wrongRTL:Ha(a,"display")==="-webkit-box"}),!0}init(t){const n=this;if(n.initialized||n.mount(t)===!1)return n;n.emit("beforeInit"),n.params.breakpoints&&n.setBreakpoint(),n.addClasses(),n.updateSize(),n.updateSlides(),n.params.watchOverflow&&n.checkOverflow(),n.params.grabCursor&&n.enabled&&n.setGrabCursor(),n.params.loop&&n.virtual&&n.params.virtual.enabled?n.slideTo(n.params.initialSlide+n.virtual.slidesBefore,0,n.params.runCallbacksOnInit,!1,!0):n.slideTo(n.params.initialSlide,0,n.params.runCallbacksOnInit,!1,!0),n.params.loop&&n.loopCreate(void 0,!0),n.attachEvents();const o=[...n.el.querySelectorAll('[loading="lazy"]')];return n.isElement&&o.push(...n.hostEl.querySelectorAll('[loading="lazy"]')),o.forEach(i=>{i.complete?jy(n,i):i.addEventListener("load",a=>{jy(n,a.target)})}),DD(n),n.initialized=!0,DD(n),n.emit("init"),n.emit("afterInit"),n}destroy(t,n){t===void 0&&(t=!0),n===void 0&&(n=!0);const r=this,{params:o,el:i,wrapperEl:a,slides:s}=r;return typeof r.params>"u"||r.destroyed||(r.emit("beforeDestroy"),r.initialized=!1,r.detachEvents(),o.loop&&r.loopDestroy(),n&&(r.removeClasses(),i&&typeof i!="string"&&i.removeAttribute("style"),a&&a.removeAttribute("style"),s&&s.length&&s.forEach(l=>{l.classList.remove(o.slideVisibleClass,o.slideFullyVisibleClass,o.slideActiveClass,o.slideNextClass,o.slidePrevClass),l.removeAttribute("style"),l.removeAttribute("data-swiper-slide-index")})),r.emit("destroy"),Object.keys(r.eventsListeners).forEach(l=>{r.off(l)}),t!==!1&&(r.el&&typeof r.el!="string"&&(r.el.swiper=null),txe(r)),r.destroyed=!0),null}static extendDefaults(t){yr(AD,t)}static get extendedDefaults(){return AD}static get defaults(){return jz}static installModule(t){br.prototype.__modules__||(br.prototype.__modules__=[]);const n=br.prototype.__modules__;typeof t=="function"&&n.indexOf(t)<0&&n.push(t)}static use(t){return Array.isArray(t)?(t.forEach(n=>br.installModule(n)),br):(br.installModule(t),br)}}Object.keys(kD).forEach(e=>{Object.keys(kD[e]).forEach(t=>{br.prototype[t]=kD[e][t]})}),br.use([fxe,pxe]);const yCe=Object.freeze(Object.defineProperty({__proto__:null,Swiper:br,default:br},Symbol.toStringTag,{value:"Module"}));function Mz(e,t,n,r){return e.params.createElements&&Object.keys(r).forEach(o=>{if(!n[o]&&n.auto===!0){let i=zo(e.el,`.${r[o]}`)[0];i||(i=Ly("div",r[o]),i.className=r[o],e.el.append(i)),n[o]=i,t[o]=i}}),n}function bCe(e){let{swiper:t,extendParams:n,on:r,emit:o}=e;n({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),t.navigation={nextEl:null,prevEl:null};function i(v){let m;return v&&typeof v=="string"&&t.isElement&&(m=t.el.querySelector(v)||t.hostEl.querySelector(v),m)?m:(v&&(typeof v=="string"&&(m=[...document.querySelectorAll(v)]),t.params.uniqueNavElements&&typeof v=="string"&&m&&m.length>1&&t.el.querySelectorAll(v).length===1?m=t.el.querySelector(v):m&&m.length===1&&(m=m[0])),v&&!m?v:m)}function a(v,m){const y=t.params.navigation;v=gn(v),v.forEach(b=>{b&&(b.classList[m?"add":"remove"](...y.disabledClass.split(" ")),b.tagName==="BUTTON"&&(b.disabled=m),t.params.watchOverflow&&t.enabled&&b.classList[t.isLocked?"add":"remove"](y.lockClass))})}function s(){const{nextEl:v,prevEl:m}=t.navigation;if(t.params.loop){a(m,!1),a(v,!1);return}a(m,t.isBeginning&&!t.params.rewind),a(v,t.isEnd&&!t.params.rewind)}function l(v){v.preventDefault(),!(t.isBeginning&&!t.params.loop&&!t.params.rewind)&&(t.slidePrev(),o("navigationPrev"))}function u(v){v.preventDefault(),!(t.isEnd&&!t.params.loop&&!t.params.rewind)&&(t.slideNext(),o("navigationNext"))}function c(){const v=t.params.navigation;if(t.params.navigation=Mz(t,t.originalParams.navigation,t.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!(v.nextEl||v.prevEl))return;let m=i(v.nextEl),y=i(v.prevEl);Object.assign(t.navigation,{nextEl:m,prevEl:y}),m=gn(m),y=gn(y);const b=(g,w)=>{g&&g.addEventListener("click",w==="next"?u:l),!t.enabled&&g&&g.classList.add(...v.lockClass.split(" "))};m.forEach(g=>b(g,"next")),y.forEach(g=>b(g,"prev"))}function f(){let{nextEl:v,prevEl:m}=t.navigation;v=gn(v),m=gn(m);const y=(b,g)=>{b.removeEventListener("click",g==="next"?u:l),b.classList.remove(...t.params.navigation.disabledClass.split(" "))};v.forEach(b=>y(b,"next")),m.forEach(b=>y(b,"prev"))}r("init",()=>{t.params.navigation.enabled===!1?h():(c(),s())}),r("toEdge fromEdge lock unlock",()=>{s()}),r("destroy",()=>{f()}),r("enable disable",()=>{let{nextEl:v,prevEl:m}=t.navigation;if(v=gn(v),m=gn(m),t.enabled){s();return}[...v,...m].filter(y=>!!y).forEach(y=>y.classList.add(t.params.navigation.lockClass))}),r("click",(v,m)=>{let{nextEl:y,prevEl:b}=t.navigation;y=gn(y),b=gn(b);const g=m.target;let w=b.includes(g)||y.includes(g);if(t.isElement&&!w){const E=m.path||m.composedPath&&m.composedPath();E&&(w=E.find(C=>y.includes(C)||b.includes(C)))}if(t.params.navigation.hideOnClick&&!w){if(t.pagination&&t.params.pagination&&t.params.pagination.clickable&&(t.pagination.el===g||t.pagination.el.contains(g)))return;let E;y.length?E=y[0].classList.contains(t.params.navigation.hiddenClass):b.length&&(E=b[0].classList.contains(t.params.navigation.hiddenClass)),o(E===!0?"navigationShow":"navigationHide"),[...y,...b].filter(C=>!!C).forEach(C=>C.classList.toggle(t.params.navigation.hiddenClass))}});const p=()=>{t.el.classList.remove(...t.params.navigation.navigationDisabledClass.split(" ")),c(),s()},h=()=>{t.el.classList.add(...t.params.navigation.navigationDisabledClass.split(" ")),f()};Object.assign(t.navigation,{enable:p,disable:h,update:s,init:c,destroy:f})}function bh(e){return e===void 0&&(e=""),`.${e.trim().replace(/([\.:!+\/()[\]])/g,"\\$1").replace(/ /g,".")}`}function wCe(e){let{swiper:t,extendParams:n,on:r,emit:o}=e;const i="swiper-pagination";n({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:g=>g,formatFractionTotal:g=>g,bulletClass:`${i}-bullet`,bulletActiveClass:`${i}-bullet-active`,modifierClass:`${i}-`,currentClass:`${i}-current`,totalClass:`${i}-total`,hiddenClass:`${i}-hidden`,progressbarFillClass:`${i}-progressbar-fill`,progressbarOppositeClass:`${i}-progressbar-opposite`,clickableClass:`${i}-clickable`,lockClass:`${i}-lock`,horizontalClass:`${i}-horizontal`,verticalClass:`${i}-vertical`,paginationDisabledClass:`${i}-disabled`}}),t.pagination={el:null,bullets:[]};let a,s=0;function l(){return!t.params.pagination.el||!t.pagination.el||Array.isArray(t.pagination.el)&&t.pagination.el.length===0}function u(g,w){const{bulletActiveClass:E}=t.params.pagination;g&&(g=g[`${w==="prev"?"previous":"next"}ElementSibling`],g&&(g.classList.add(`${E}-${w}`),g=g[`${w==="prev"?"previous":"next"}ElementSibling`],g&&g.classList.add(`${E}-${w}-${w}`)))}function c(g,w,E){if(g=g%E,w=w%E,w===g+1)return"next";if(w===g-1)return"previous"}function f(g){const w=g.target.closest(bh(t.params.pagination.bulletClass));if(!w)return;g.preventDefault();const E=Iy(w)*t.params.slidesPerGroup;if(t.params.loop){if(t.realIndex===E)return;const C=c(t.realIndex,E,t.slides.length);C==="next"?t.slideNext():C==="previous"?t.slidePrev():t.slideToLoop(E)}else t.slideTo(E)}function p(){const g=t.rtl,w=t.params.pagination;if(l())return;let E=t.pagination.el;E=gn(E);let C,S;const x=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.slides.length,k=t.params.loop?Math.ceil(x/t.params.slidesPerGroup):t.snapGrid.length;if(t.params.loop?(S=t.previousRealIndex||0,C=t.params.slidesPerGroup>1?Math.floor(t.realIndex/t.params.slidesPerGroup):t.realIndex):typeof t.snapIndex<"u"?(C=t.snapIndex,S=t.previousSnapIndex):(S=t.previousIndex||0,C=t.activeIndex||0),w.type==="bullets"&&t.pagination.bullets&&t.pagination.bullets.length>0){const O=t.pagination.bullets;let _,P,F;if(w.dynamicBullets&&(a=bD(O[0],t.isHorizontal()?"width":"height"),E.forEach(H=>{H.style[t.isHorizontal()?"width":"height"]=`${a*(w.dynamicMainBullets+4)}px`}),w.dynamicMainBullets>1&&S!==void 0&&(s+=C-(S||0),s>w.dynamicMainBullets-1?s=w.dynamicMainBullets-1:s<0&&(s=0)),_=Math.max(C-s,0),P=_+(Math.min(O.length,w.dynamicMainBullets)-1),F=(P+_)/2),O.forEach(H=>{const R=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(z=>`${w.bulletActiveClass}${z}`)].map(z=>typeof z=="string"&&z.includes(" ")?z.split(" "):z).flat();H.classList.remove(...R)}),E.length>1)O.forEach(H=>{const R=Iy(H);R===C?H.classList.add(...w.bulletActiveClass.split(" ")):t.isElement&&H.setAttribute("part","bullet"),w.dynamicBullets&&(R>=_&&R<=P&&H.classList.add(...`${w.bulletActiveClass}-main`.split(" ")),R===_&&u(H,"prev"),R===P&&u(H,"next"))});else{const H=O[C];if(H&&H.classList.add(...w.bulletActiveClass.split(" ")),t.isElement&&O.forEach((R,z)=>{R.setAttribute("part",z===C?"bullet-active":"bullet")}),w.dynamicBullets){const R=O[_],z=O[P];for(let U=_;U<=P;U+=1)O[U]&&O[U].classList.add(...`${w.bulletActiveClass}-main`.split(" "));u(R,"prev"),u(z,"next")}}if(w.dynamicBullets){const H=Math.min(O.length,w.dynamicMainBullets+4),R=(a*H-a)/2-F*a,z=g?"right":"left";O.forEach(U=>{U.style[t.isHorizontal()?z:"top"]=`${R}px`})}}E.forEach((O,_)=>{if(w.type==="fraction"&&(O.querySelectorAll(bh(w.currentClass)).forEach(P=>{P.textContent=w.formatFractionCurrent(C+1)}),O.querySelectorAll(bh(w.totalClass)).forEach(P=>{P.textContent=w.formatFractionTotal(k)})),w.type==="progressbar"){let P;w.progressbarOpposite?P=t.isHorizontal()?"vertical":"horizontal":P=t.isHorizontal()?"horizontal":"vertical";const F=(C+1)/k;let H=1,R=1;P==="horizontal"?H=F:R=F,O.querySelectorAll(bh(w.progressbarFillClass)).forEach(z=>{z.style.transform=`translate3d(0,0,0) scaleX(${H}) scaleY(${R})`,z.style.transitionDuration=`${t.params.speed}ms`})}w.type==="custom"&&w.renderCustom?(Oz(O,w.renderCustom(t,C+1,k)),_===0&&o("paginationRender",O)):(_===0&&o("paginationRender",O),o("paginationUpdate",O)),t.params.watchOverflow&&t.enabled&&O.classList[t.isLocked?"add":"remove"](w.lockClass)})}function h(){const g=t.params.pagination;if(l())return;const w=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.grid&&t.params.grid.rows>1?t.slides.length/Math.ceil(t.params.grid.rows):t.slides.length;let E=t.pagination.el;E=gn(E);let C="";if(g.type==="bullets"){let S=t.params.loop?Math.ceil(w/t.params.slidesPerGroup):t.snapGrid.length;t.params.freeMode&&t.params.freeMode.enabled&&S>w&&(S=w);for(let x=0;x<S;x+=1)g.renderBullet?C+=g.renderBullet.call(t,x,g.bulletClass):C+=`<${g.bulletElement} ${t.isElement?'part="bullet"':""} class="${g.bulletClass}"></${g.bulletElement}>`}g.type==="fraction"&&(g.renderFraction?C=g.renderFraction.call(t,g.currentClass,g.totalClass):C=`<span class="${g.currentClass}"></span> / <span class="${g.totalClass}"></span>`),g.type==="progressbar"&&(g.renderProgressbar?C=g.renderProgressbar.call(t,g.progressbarFillClass):C=`<span class="${g.progressbarFillClass}"></span>`),t.pagination.bullets=[],E.forEach(S=>{g.type!=="custom"&&Oz(S,C||""),g.type==="bullets"&&t.pagination.bullets.push(...S.querySelectorAll(bh(g.bulletClass)))}),g.type!=="custom"&&o("paginationRender",E[0])}function v(){t.params.pagination=Mz(t,t.originalParams.pagination,t.params.pagination,{el:"swiper-pagination"});const g=t.params.pagination;if(!g.el)return;let w;typeof g.el=="string"&&t.isElement&&(w=t.el.querySelector(g.el)),!w&&typeof g.el=="string"&&(w=[...document.querySelectorAll(g.el)]),w||(w=g.el),!(!w||w.length===0)&&(t.params.uniqueNavElements&&typeof g.el=="string"&&Array.isArray(w)&&w.length>1&&(w=[...t.el.querySelectorAll(g.el)],w.length>1&&(w=w.find(E=>Az(E,".swiper")[0]===t.el))),Array.isArray(w)&&w.length===1&&(w=w[0]),Object.assign(t.pagination,{el:w}),w=gn(w),w.forEach(E=>{g.type==="bullets"&&g.clickable&&E.classList.add(...(g.clickableClass||"").split(" ")),E.classList.add(g.modifierClass+g.type),E.classList.add(t.isHorizontal()?g.horizontalClass:g.verticalClass),g.type==="bullets"&&g.dynamicBullets&&(E.classList.add(`${g.modifierClass}${g.type}-dynamic`),s=0,g.dynamicMainBullets<1&&(g.dynamicMainBullets=1)),g.type==="progressbar"&&g.progressbarOpposite&&E.classList.add(g.progressbarOppositeClass),g.clickable&&E.addEventListener("click",f),t.enabled||E.classList.add(g.lockClass)}))}function m(){const g=t.params.pagination;if(l())return;let w=t.pagination.el;w&&(w=gn(w),w.forEach(E=>{E.classList.remove(g.hiddenClass),E.classList.remove(g.modifierClass+g.type),E.classList.remove(t.isHorizontal()?g.horizontalClass:g.verticalClass),g.clickable&&(E.classList.remove(...(g.clickableClass||"").split(" ")),E.removeEventListener("click",f))})),t.pagination.bullets&&t.pagination.bullets.forEach(E=>E.classList.remove(...g.bulletActiveClass.split(" ")))}r("changeDirection",()=>{if(!t.pagination||!t.pagination.el)return;const g=t.params.pagination;let{el:w}=t.pagination;w=gn(w),w.forEach(E=>{E.classList.remove(g.horizontalClass,g.verticalClass),E.classList.add(t.isHorizontal()?g.horizontalClass:g.verticalClass)})}),r("init",()=>{t.params.pagination.enabled===!1?b():(v(),h(),p())}),r("activeIndexChange",()=>{typeof t.snapIndex>"u"&&p()}),r("snapIndexChange",()=>{p()}),r("snapGridLengthChange",()=>{h(),p()}),r("destroy",()=>{m()}),r("enable disable",()=>{let{el:g}=t.pagination;g&&(g=gn(g),g.forEach(w=>w.classList[t.enabled?"remove":"add"](t.params.pagination.lockClass)))}),r("lock unlock",()=>{p()}),r("click",(g,w)=>{const E=w.target,C=gn(t.pagination.el);if(t.params.pagination.el&&t.params.pagination.hideOnClick&&C&&C.length>0&&!E.classList.contains(t.params.pagination.bulletClass)){if(t.navigation&&(t.navigation.nextEl&&E===t.navigation.nextEl||t.navigation.prevEl&&E===t.navigation.prevEl))return;const S=C[0].classList.contains(t.params.pagination.hiddenClass);o(S===!0?"paginationShow":"paginationHide"),C.forEach(x=>x.classList.toggle(t.params.pagination.hiddenClass))}});const y=()=>{t.el.classList.remove(t.params.pagination.paginationDisabledClass);let{el:g}=t.pagination;g&&(g=gn(g),g.forEach(w=>w.classList.remove(t.params.pagination.paginationDisabledClass))),v(),h(),p()},b=()=>{t.el.classList.add(t.params.pagination.paginationDisabledClass);let{el:g}=t.pagination;g&&(g=gn(g),g.forEach(w=>w.classList.add(t.params.pagination.paginationDisabledClass))),m()};Object.assign(t.pagination,{enable:y,disable:b,render:h,update:p,init:v,destroy:m})}function ECe(e){let{swiper:t,extendParams:n,on:r,emit:o,params:i}=e;t.autoplay={running:!1,paused:!1,timeLeft:0},n({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let a,s,l=i&&i.autoplay?i.autoplay.delay:3e3,u=i&&i.autoplay?i.autoplay.delay:3e3,c,f=new Date().getTime(),p,h,v,m,y,b,g;function w(Z){!t||t.destroyed||!t.wrapperEl||Z.target===t.wrapperEl&&(t.wrapperEl.removeEventListener("transitionend",w),!(g||Z.detail&&Z.detail.bySwiperTouchMove)&&_())}const E=()=>{if(t.destroyed||!t.autoplay.running)return;t.autoplay.paused?p=!0:p&&(u=c,p=!1);const Z=t.autoplay.paused?c:f+u-new Date().getTime();t.autoplay.timeLeft=Z,o("autoplayTimeLeft",Z,Z/l),s=requestAnimationFrame(()=>{E()})},C=()=>{let Z;return t.virtual&&t.params.virtual.enabled?Z=t.slides.find(G=>G.classList.contains("swiper-slide-active")):Z=t.slides[t.activeIndex],Z?parseInt(Z.getAttribute("data-swiper-autoplay"),10):void 0},S=Z=>{if(t.destroyed||!t.autoplay.running)return;cancelAnimationFrame(s),E();let te=typeof Z>"u"?t.params.autoplay.delay:Z;l=t.params.autoplay.delay,u=t.params.autoplay.delay;const G=C();!Number.isNaN(G)&&G>0&&typeof Z>"u"&&(te=G,l=G,u=G),c=te;const A=t.params.speed,T=()=>{!t||t.destroyed||(t.params.autoplay.reverseDirection?!t.isBeginning||t.params.loop||t.params.rewind?(t.slidePrev(A,!0,!0),o("autoplay")):t.params.autoplay.stopOnLastSlide||(t.slideTo(t.slides.length-1,A,!0,!0),o("autoplay")):!t.isEnd||t.params.loop||t.params.rewind?(t.slideNext(A,!0,!0),o("autoplay")):t.params.autoplay.stopOnLastSlide||(t.slideTo(0,A,!0,!0),o("autoplay")),t.params.cssMode&&(f=new Date().getTime(),requestAnimationFrame(()=>{S()})))};return te>0?(clearTimeout(a),a=setTimeout(()=>{T()},te)):requestAnimationFrame(()=>{T()}),te},x=()=>{f=new Date().getTime(),t.autoplay.running=!0,S(),o("autoplayStart")},k=()=>{t.autoplay.running=!1,clearTimeout(a),cancelAnimationFrame(s),o("autoplayStop")},O=(Z,te)=>{if(t.destroyed||!t.autoplay.running)return;clearTimeout(a),Z||(b=!0);const G=()=>{o("autoplayPause"),t.params.autoplay.waitForTransition?t.wrapperEl.addEventListener("transitionend",w):_()};if(t.autoplay.paused=!0,te){y&&(c=t.params.autoplay.delay),y=!1,G();return}c=(c||t.params.autoplay.delay)-(new Date().getTime()-f),!(t.isEnd&&c<0&&!t.params.loop)&&(c<0&&(c=0),G())},_=()=>{t.isEnd&&c<0&&!t.params.loop||t.destroyed||!t.autoplay.running||(f=new Date().getTime(),b?(b=!1,S(c)):S(),t.autoplay.paused=!1,o("autoplayResume"))},P=()=>{if(t.destroyed||!t.autoplay.running)return;const Z=Ro();Z.visibilityState==="hidden"&&(b=!0,O(!0)),Z.visibilityState==="visible"&&_()},F=Z=>{Z.pointerType==="mouse"&&(b=!0,g=!0,!(t.animating||t.autoplay.paused)&&O(!0))},H=Z=>{Z.pointerType==="mouse"&&(g=!1,t.autoplay.paused&&_())},R=()=>{t.params.autoplay.pauseOnMouseEnter&&(t.el.addEventListener("pointerenter",F),t.el.addEventListener("pointerleave",H))},z=()=>{t.el&&typeof t.el!="string"&&(t.el.removeEventListener("pointerenter",F),t.el.removeEventListener("pointerleave",H))},U=()=>{Ro().addEventListener("visibilitychange",P)},Q=()=>{Ro().removeEventListener("visibilitychange",P)};r("init",()=>{t.params.autoplay.enabled&&(R(),U(),x())}),r("destroy",()=>{z(),Q(),t.autoplay.running&&k()}),r("_freeModeStaticRelease",()=>{(v||b)&&_()}),r("_freeModeNoMomentumRelease",()=>{t.params.autoplay.disableOnInteraction?k():O(!0,!0)}),r("beforeTransitionStart",(Z,te,G)=>{t.destroyed||!t.autoplay.running||(G||!t.params.autoplay.disableOnInteraction?O(!0,!0):k())}),r("sliderFirstMove",()=>{if(!(t.destroyed||!t.autoplay.running)){if(t.params.autoplay.disableOnInteraction){k();return}h=!0,v=!1,b=!1,m=setTimeout(()=>{b=!0,v=!0,O(!0)},200)}}),r("touchEnd",()=>{if(!(t.destroyed||!t.autoplay.running||!h)){if(clearTimeout(m),clearTimeout(a),t.params.autoplay.disableOnInteraction){v=!1,h=!1;return}v&&t.params.cssMode&&_(),v=!1,h=!1}}),r("slideChange",()=>{t.destroyed||!t.autoplay.running||(y=!0)}),Object.assign(t.autoplay,{start:x,stop:k,pause:O,resume:_})}const xCe=Object.freeze(Object.defineProperty({__proto__:null,Autoplay:ECe,Navigation:bCe,Pagination:wCe},Symbol.toStringTag,{value:"Module"})),CCe=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),SCe=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),DCe=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"}));ze.AnimationUtils=xz,ze.ArticleList=uD,ze.ArticleListPlugin=MEe,ze.BannerImage=pD,ze.BannerImagePlugin=UEe,ze.BannerPage=cD,ze.BannerPagePlugin=REe,ze.BtnList=_y,ze.BtnListPlugin=GEe,ze.CustomSpace=dD,ze.CustomSpacePlugin=zEe,ze.GalleryList=hD,ze.GalleryListPlugin=WEe,ze.HeroSlide=fD,ze.HeroSlidePlugin=HEe,ze.LinkList=gD,ze.LinkListPlugin=qEe,ze.QuoteText=mD,ze.QuoteTextPlugin=KEe,ze.ResponsiveUtils=ZEe,ze.StorageUtils=JEe,ze.ThemeUtils=XEe,ze.default=QEe,ze.useTheme=YEe,Object.defineProperties(ze,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});