fonts
6 months ago
icon-fonts
5 days ago
AddToCalendar-6b6b36be.js
5 days ago
CustomizeCatalog-f2a18006.js
5 days ago
CustomizeCustomerPanel-d2cae142.js
5 days ago
CustomizeEmployeePanel-5e454757.js
5 days ago
CustomizeEventCalendar-76ed2d55.js
5 days ago
CustomizeEventList-33a4e50f.js
5 days ago
CustomizeStepNew-3f9dc44d.js
5 days ago
DialogForms-fc7e8a80.js
5 days ago
EventCongratulations-210997a7.js
5 days ago
Events-1d898332.js
5 days ago
MazSelectCountry-22430da6.js
5 days ago
PhoneInput-11459164.js
5 days ago
admin.js
5 days ago
catalogForm-9bbff669.js
5 days ago
customerPanel-762f930c.js
5 days ago
de-747fb691.js
3 weeks ago
en-93912b24.js
3 weeks ago
es-e97d70e5.js
3 weeks ago
eventBooking-f1a20041.js
5 days ago
eventCalendarForm-b13809ea.js
5 days ago
eventListForm-a26413c3.js
5 days ago
examples.mobile.json-7b19b742.js
3 weeks ago
eye-bc31e7d1.js
5 days ago
eye-slash-17bd28e1.js
5 days ago
fr-0be77f34.js
3 weeks ago
it-86c5cb25.js
3 weeks ago
ja-f1715e6d.js
3 weeks ago
magnifying-glass-4a27bf9f.js
5 days ago
no-image-55e7e7f4.js
3 weeks ago
no-image-abb6f6ad.svg
3 weeks ago
no-symbol-b5994fa1.js
5 days ago
obsidian-7e6cfa65.js
3 weeks ago
ocean-483caeca.js
3 weeks ago
pristine-386a624b.js
3 weeks ago
pt-41e7ca1d.js
3 weeks ago
public.js
5 days ago
stepForm-ffe8c8ee.js
5 days ago
style.css
5 days ago
useReactiveCustomize-dbbb575f.js
5 days ago
zh-CN-ed8ff623.js
3 weeks ago
admin.js
2 lines
| 1 | import{cD as L,cE as P,z as p,J as w,s as R,v,K as l,cF as _,cv as m,cG as c}from"./stepForm-ffe8c8ee.js";import{e as z,b,a as h,c as T,u as U,M as I,m as M}from"./eventBooking-f1a20041.js";import"./customerPanel-762f930c.js";import"./eventListForm-a26413c3.js";import"./catalogForm-9bbff669.js";const k=L({modules:{entities:z,booking:b,eventEntities:h,eventBooking:T}});window.stylesInjectedV3=async function(){};const B=_({loader:()=>c(()=>import(""+(window.__dynamic_handler__||function(e){return e})("./CustomizeCatalog-f2a18006.js")+""),[],import.meta.url)}),V=_({loader:()=>c(()=>import(""+(window.__dynamic_handler__||function(e){return e})("./CustomizeCustomerPanel-d2cae142.js")+""),[],import.meta.url)}),S=_({loader:()=>c(()=>import(""+(window.__dynamic_handler__||function(e){return e})("./CustomizeEmployeePanel-5e454757.js")+""),[],import.meta.url)}),H=_({loader:()=>c(()=>import(""+(window.__dynamic_handler__||function(e){return e})("./CustomizeEventCalendar-76ed2d55.js")+""),[],import.meta.url)}),K=_({loader:()=>c(()=>import(""+(window.__dynamic_handler__||function(e){return e})("./CustomizeEventList-33a4e50f.js")+""),[],import.meta.url)}),C=_({loader:()=>c(()=>import(""+(window.__dynamic_handler__||function(e){return e})("./CustomizeStepNew-3f9dc44d.js")+""),[],import.meta.url)}),E=window.wpAmeliaUrls.wpAmeliaPluginURL+"v3/public/";window.__dynamic_handler__=function(e){return E+"assets/"+e};window.__dynamic_preload__=function(e){return e.map(s=>E+s)};function N(){const e=Array.isArray(window.localeLanguage)?window.localeLanguage[0]:"";return typeof e!="string"||!e?"en":e.toLowerCase().replace("_","-").split("-")[0]||"en"}function j(){let e=[];{const s=Array.from(document.getElementsByTagName("link")).filter(o=>o.getAttribute("rel")==="stylesheet"&&o.getAttribute("href")?.includes("ameliabooking/v3/public/assets")),i=Array.from(document.getElementsByTagName("style")).filter(o=>o.textContent?.includes("/* purgecss start ignore */"));e=[...s,...i]}return e}async function D(e){if(!e)return;const i=await(()=>new Promise(n=>{const t=()=>{const a=j();return a!==void 0&&a.length>0&&window.customizeComponentLoaded?a:null},r=t();if(r){n(r);return}const u=new MutationObserver(()=>{const a=t();a&&(u.disconnect(),n(a))});u.observe(document.head,{childList:!0,subtree:!0});const d=()=>{const a=t();a?(u.disconnect(),n(a)):window.customizeComponentLoaded||requestAnimationFrame(d)};requestAnimationFrame(d)}))(),o=document.createDocumentFragment();i.forEach((n,t)=>{const r=n.cloneNode(!0);r.id=`v3-style-${t}`,n.tagName==="LINK"&&n.href&&(r.href=n.href),o.appendChild(r)}),e.appendChild(o),window.stylesInjectedV3()}function y(){const s=document.getElementsByClassName("amd-cp__preview")[0]?.shadowRoot,i=s?.getElementById("amelia-app-backend-new");if(!i){setTimeout(y,100);return}const o=window.v3?.componentToMount!==void 0?window.v3.componentToMount:"Customize";let n,t;switch(o){case"CustomizeCatalog":n=B,t="CustomizeCatalog";break;case"CustomizeCustomerPanel":n=V,t="CustomizeCustomerPanel";break;case"CustomizeEmployeePanel":n=S,t="CustomizeEmployeePanel";break;case"CustomizeEventCalendar":n=H,t="CustomizeEventCalendar";break;case"CustomizeEventList":n=K,t="CustomizeEventList";break;case"CustomizeStepNew":n=C,t="CustomizeStepNew";break;default:n=C,t="CustomizeStepNew"}P({setup(){const r=p(window.wpAmeliaUrls),u=w(window.wpAmeliaLanguages),d=w(window.wpAmeliaSettings),a=p("wpAmeliaTimeZone"in window?window.wpAmeliaTimeZone[0]:""),A=p(window.localeLanguage[0]),f=w(window.wpAmeliaLabels),g=w(U());l("settings",m(d)),l("baseUrls",m(r)),l("timeZone",m(a)),l("localLanguage",m(A)),l("languages",m(u)),l("labels",m(f)),l("licence",g),R(async()=>{await D(s)})},template:`<${t} />`}).component(t,n).use(I,{theme:{preset:M,strategy:"runtime",darkModeStrategy:"class"},translations:{locale:N(),fallbackLocale:"en"}}).use(k).mount(i)}window.onUnmountedV3Callback||(window.onUnmountedV3Callback=async()=>{});async function F(){const s=document.getElementsByClassName("amd-cp__preview")[0]?.shadowRoot,i=s?.getElementById("amelia-app-backend-new"),o=i?.__vue_app__;if(s?.querySelectorAll('[id^="v3-style-"]')?.forEach(t=>{t.remove()}),o){o.unmount(),await v();const t=!i?.innerHTML||i.innerHTML.trim()==="";typeof window.onUnmountedV3Callback=="function"&&t&&await window.onUnmountedV3Callback()}}window.mountUnmountV3App=async()=>{window.v3?y():await F()}; |
| 2 |