@emailmaker/emailmaker 1.1.85-dev.2 → 1.1.85-dev.3

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 (43) hide show
  1. package/{emailmaker-core.aebc6ea7.js → emailmaker-core.fc1d4d9a.js} +8 -8
  2. package/emailmaker-esm.js +6 -6
  3. package/{emailmaker-po.aebc6ea7.js → emailmaker-po.fc1d4d9a.js} +1 -1
  4. package/emailmaker.js +11 -11
  5. package/iframe/.vite/manifest.json +4 -4
  6. package/iframe/js/{discussHandlers.kGLogf6J.js → discussHandlers.DPWv0hV2.js} +2 -2
  7. package/iframe/js/iframe-eblock.body.js +1 -1
  8. package/iframe/js/iframe-eblock.js +1 -1
  9. package/iframe/js/iframe.body.js +2 -2
  10. package/iframe/js/iframe.js +1 -1
  11. package/node_modules/@emailmaker/ui-kit/package.json +1 -1
  12. package/package.json +2 -2
  13. package/runtime/react/index.js +1 -1
  14. package/static/core/{60ec410f.js → 1655f40f.js} +1 -1
  15. package/static/core/{cebcf9a5.js → 2e39454c.js} +1 -1
  16. package/static/core/{fbccd907.js → 4138a1b9.js} +3 -3
  17. package/static/core/{c2e6de6c.js → 4598405b.js} +1 -1
  18. package/static/core/{a42770c7.js → 47e97e35.js} +1 -1
  19. package/static/core/{98a65bf6.js → 5c7e24b5.js} +1 -1
  20. package/static/core/{50109143.js → 72a579ec.js} +1 -1
  21. package/static/core/{1de56f23.js → 7b7c0c8c.js} +1 -1
  22. package/static/core/{6748af4b.js → 9a285b6a.js} +1 -1
  23. package/static/core/{44829f84.js → a215213f.js} +1 -1
  24. package/static/core/{613d8a7a.js → a6fed2cf.js} +6 -6
  25. package/static/core/{65870018.js → b73e046e.js} +1 -1
  26. package/static/core/{d1b67ebe.js → b9758690.js} +1 -1
  27. package/static/core/{56d131f3.js → bf9d8272.js} +1 -1
  28. package/static/core/{17461e5e.js → cc50fc65.js} +1 -1
  29. package/static/core/{649bbe61.js → d2342090.js} +1 -1
  30. package/static/core/{dea46f93.js → de611927.js} +1 -1
  31. package/static/core/{a984d7cb.js → e2f501f0.js} +1 -1
  32. package/static/core/{9388c451.js → e9fd7972.js} +1 -1
  33. package/static/core/{ddf40214.js → ebeee027.js} +1 -1
  34. package/static/core/{88f21f92.js → f0fb869f.js} +1 -1
  35. package/static/core/{bf8b37be.js → f4a519b0.js} +1 -1
  36. package/static/core/{c7d949de.js → fabc717f.js} +1 -1
  37. package/static/umd-runtime/runtime.js +1 -1
  38. package/vite/index.cjs +99 -3
  39. package/vite/index.js +99 -3
  40. package/webpack/index.cjs +93 -0
  41. package/webpack/index.js +93 -0
  42. /package/iframe/{iframe-eblock.aebc6ea7.html → iframe-eblock.fc1d4d9a.html} +0 -0
  43. /package/iframe/{iframe.aebc6ea7.html → iframe.fc1d4d9a.html} +0 -0
@@ -1,4 +1,4 @@
1
- __emailmaker__.define("static/core/c2e6de6c.js",["require","exports","module","static/core/5dc34752.js","static/core/ad2a794d.js"],function(me,O,hr){const H=me("./5dc34752.js"),N=me("./ad2a794d.js");var it=/\n/g;function at(e){const n=[...e.matchAll(it)].map((r=>r.index||0));n.unshift(-1);const t=ee(n,0,n.length);return r=>de(t,r)}function ee(e,n,t){if(t-n==1)return{offset:e[n],index:n+1};const r=Math.ceil((n+t)/2),s=ee(e,n,r),i=ee(e,r,t);return{offset:s.offset,low:s,high:i}}function de(e,n){return(function(t){return Object.prototype.hasOwnProperty.call(t,"index")})(e)?{line:e.index,column:n-e.offset}:de(e.high.offset<n?e.high:e.low,n)}function ge(e,n="",t={}){const r=typeof n!="string"?n:t,s=typeof n=="string"?n:"",i=e.map(ot),a=!!r.lineNumbers;return function(o,c=0){const l=a?at(o):()=>({line:0,column:0});let h=c;const g=[];e:for(;h<o.length;){let y=!1;for(const p of i){p.regex.lastIndex=h;const k=p.regex.exec(o);if(k&&k[0].length>0){if(!p.discard){const v=l(h),B=typeof p.replace=="string"?k[0].replace(new RegExp(p.regex.source,p.regex.flags),p.replace):k[0];g.push({state:s,name:p.name,text:B,offset:h,len:k[0].length,line:v.line,column:v.column})}if(h=p.regex.lastIndex,y=!0,p.push){const v=p.push(o,h);g.push(...v.tokens),h=v.offset}if(p.pop)break e;break}}if(!y)break}return{tokens:g,offset:h,complete:o.length<=h}}}function ot(e,n){return{...e,regex:ct(e,n)}}function ct(e,n){if(e.name.length===0)throw new Error(`Rule #${n} has empty name, which is not allowed.`);if((function(t){return Object.prototype.hasOwnProperty.call(t,"regex")})(e))return(function(t){if(t.global)throw new Error(`Regular expression /${t.source}/${t.flags} contains the global flag, which is not allowed.`);return t.sticky?t:new RegExp(t.source,t.flags+"y")})(e.regex);if((function(t){return Object.prototype.hasOwnProperty.call(t,"str")})(e)){if(e.str.length===0)throw new Error(`Rule #${n} ("${e.name}") has empty "str" property, which is not allowed.`);return new RegExp(ke(e.str),"y")}return new RegExp(ke(e.name),"y")}function ke(e){return e.replace(/[-[\]{}()*+!<=:?./\\^$|#\s,]/g,"\\$&")}function I(e,n){return(t,r)=>{let s=r,i;return r<t.tokens.length?(i=e(t.tokens[r],t,r),i!==void 0&&s++):n?.(t,r),i===void 0?{matched:!1}:{matched:!0,position:s,value:i}}}function te(e,n){return e.matched?{matched:!0,position:e.position,value:n(e.value,e.position)}:e}function U(e,n){return e.matched?n(e):e}function L(e,n){return(t,r)=>te(e(t,r),(s,i)=>n(s,t,r,i))}function q(e,n){return(t,r)=>{const s=e(t,r);return s.matched?s:{matched:!0,position:r,value:n}}}function F(...e){return(n,t)=>{for(const r of e){const s=r(n,t);if(s.matched)return s}return{matched:!1}}}function W(e,n){return(t,r)=>{const s=e(t,r);return s.matched?s:n(t,r)}}function lt(e,n){return(t,r)=>{const s=[];let i=!0;do{const a=e(t,r);a.matched&&n(a.value,s.length+1,t,r,a.position)?(s.push(a.value),r=a.position):i=!1}while(i);return{matched:!0,position:r,value:s}}}function ne(e){return lt(e,()=>!0)}function ut(e){return w(e,ne(e),(n,t)=>[n,...t])}function w(e,n,t){return(r,s)=>U(e(r,s),i=>te(n(r,i.position),(a,o)=>t(i.value,a,r,s,o)))}function ft(e,n){return w(e,n,t=>t)}function Le(e,n){return w(e,n,(t,r)=>r)}function re(e,n,t,r){return(s,i)=>U(e(s,i),a=>U(n(s,a.position),o=>te(t(s,o.position),(c,l)=>r(a.value,o.value,c,s,i,l))))}function we(e,n,t){return re(e,n,t,(r,s)=>s)}function ht(...e){return(n,t)=>{const r=[];let s=t;for(const i of e){const a=i(n,s);if(a.matched)r.push(a.value),s=a.position;else return{matched:!1}}return{matched:!0,position:s,value:r}}}function pt(...e){return mt(ht(...e))}function mt(e){return L(e,n=>n.flatMap(t=>t))}function dt(e,n){return(t,r)=>{let s=!0,i=e,a=r;do{const o=n(i,t,a)(t,a);o.matched?(i=o.value,a=o.position):s=!1}while(s);return{matched:!0,position:a,value:i}}}function gt(e,n,t){return dt(e,r=>L(n,(s,i,a,o)=>t(r,s,i,a,o)))}function xe(e,n,t){return kt(e,r=>gt(r,w(n,t,(s,i)=>[s,i]),(s,[i,a])=>i(s,a)))}function kt(e,n){return(t,r)=>U(e(t,r),s=>n(s.value,t,r,s.position)(t,s.position))}var Lt="(?:[ \\t\\r\\n\\f]*)",ve="(?:\\n|\\r\\n|\\r|\\f)",K="[^\\x00-\\x7F]",M="(?:\\\\[0-9a-f]{1,6}(?:\\r\\n|[ \\n\\r\\t\\f])?)",j="(?:\\\\[^\\n\\r\\f0-9a-f])",wt=`(?:[_a-z]|${K}|${M}|${j})`,ye=`(?:[_a-z0-9-]|${K}|${M}|${j})`,xt=`(?:${ye}+)`,vt=`(?:[-]?${wt}${ye}*)`,yt=`'([^\\n\\r\\f\\\\']|\\\\${ve}|${K}|${M}|${j})*'`,Bt=`"([^\\n\\r\\f\\\\"]|\\\\${ve}|${K}|${M}|${j})*"`,_t=ge([{name:"ws",regex:new RegExp(Lt)},{name:"hash",regex:new RegExp(`#${xt}`,"i")},{name:"ident",regex:new RegExp(vt,"i")},{name:"str1",regex:new RegExp(yt,"i")},{name:"str2",regex:new RegExp(Bt,"i")},{name:"*"},{name:"."},{name:","},{name:"["},{name:"]"},{name:"="},{name:">"},{name:"|"},{name:"+"},{name:"~"},{name:"^"},{name:"$"}]),bt=ge([{name:"unicode",regex:new RegExp(M,"i")},{name:"escape",regex:new RegExp(j,"i")},{name:"any",regex:new RegExp("[\\s\\S]","i")}]);function Be([e,n,t],[r,s,i]){return[e+r,n+s,t+i]}function St(e){return e.reduce(Be,[0,0,0])}var It=I(e=>e.name==="unicode"?String.fromCodePoint(parseInt(e.text.slice(1),16)):void 0),Nt=I(e=>e.name==="escape"?e.text.slice(1):void 0),Wt=I(e=>e.name==="any"?e.text:void 0),Et=L(ne(F(It,Nt,Wt)),e=>e.join(""));function se(e){const n=bt(e);return Et({tokens:n.tokens,options:void 0},0).value}function d(e){return I(n=>n.name===e?!0:void 0)}var ie=I(e=>e.name==="ws"?null:void 0),ae=q(ie,null);function A(e){return we(ae,e,ae)}var D=I(e=>e.name==="ident"?se(e.text):void 0),Tt=I(e=>e.name==="hash"?se(e.text.slice(1)):void 0),Ct=I(e=>e.name.startsWith("str")?se(e.text.slice(1,-1)):void 0),_e=ft(q(D,""),d("|")),oe=W(w(_e,D,(e,n)=>({name:n,namespace:e})),L(D,e=>({name:e,namespace:null}))),At=W(w(_e,d("*"),e=>({type:"universal",namespace:e,specificity:[0,0,0]})),L(d("*"),()=>({type:"universal",namespace:null,specificity:[0,0,0]}))),Pt=L(oe,({name:e,namespace:n})=>({type:"tag",name:e,namespace:n,specificity:[0,0,1]})),$t=w(d("."),D,(e,n)=>({type:"class",name:n,specificity:[0,1,0]})),Rt=L(Tt,e=>({type:"id",name:e,specificity:[1,0,0]})),be=I(e=>{if(e.name==="ident"){if(e.text==="i"||e.text==="I")return"i";if(e.text==="s"||e.text==="S")return"s"}}),Ot=W(w(Ct,q(Le(ae,be),null),(e,n)=>({value:e,modifier:n})),w(D,q(Le(ie,be),null),(e,n)=>({value:e,modifier:n}))),Mt=F(L(d("="),()=>"="),w(d("~"),d("="),()=>"~="),w(d("|"),d("="),()=>"|="),w(d("^"),d("="),()=>"^="),w(d("$"),d("="),()=>"$="),w(d("*"),d("="),()=>"*=")),jt=re(d("["),A(oe),d("]"),(e,{name:n,namespace:t})=>({type:"attrPresence",name:n,namespace:t,specificity:[0,1,0]})),Dt=we(d("["),re(A(oe),Mt,A(Ot),({name:e,namespace:n},t,{value:r,modifier:s})=>({type:"attrValue",name:e,namespace:n,matcher:t,value:r,modifier:s,specificity:[0,1,0]})),d("]")),Vt=W(jt,Dt),Ht=W(At,Pt),Se=F(Rt,$t,Vt),Ie=L(W(pt(Ht,ne(Se)),ut(Se)),e=>({type:"compound",list:e,specificity:St(e.map(n=>n.specificity))})),Ut=F(L(d(">"),()=>">"),L(d("+"),()=>"+"),L(d("~"),()=>"~"),w(d("|"),d("|"),()=>"||")),qt=W(A(Ut),L(ie,()=>" ")),ce=xe(Ie,L(qt,e=>(n,t)=>({type:"compound",list:[...t.list,{type:"combinator",combinator:e,left:n,specificity:n.specificity}],specificity:Be(n.specificity,t.specificity)})),Ie),pr=xe(L(ce,e=>({type:"list",list:[e]})),L(A(d(",")),()=>(e,n)=>({type:"list",list:[...e.list,n]})),ce);function Ft(e,n){if(!(typeof n=="string"||n instanceof String))throw new Error("Expected a selector string. Actual input is not a string!");const t=_t(n);if(!t.complete)throw new Error(`The input "${n}" was only partially tokenized, stopped at offset ${t.offset}!
1
+ __emailmaker__.define("static/core/4598405b.js",["require","exports","module","static/core/5dc34752.js","static/core/8ca96066.js"],function(me,O,hr){const H=me("./5dc34752.js"),N=me("./8ca96066.js");var it=/\n/g;function at(e){const n=[...e.matchAll(it)].map((r=>r.index||0));n.unshift(-1);const t=ee(n,0,n.length);return r=>de(t,r)}function ee(e,n,t){if(t-n==1)return{offset:e[n],index:n+1};const r=Math.ceil((n+t)/2),s=ee(e,n,r),i=ee(e,r,t);return{offset:s.offset,low:s,high:i}}function de(e,n){return(function(t){return Object.prototype.hasOwnProperty.call(t,"index")})(e)?{line:e.index,column:n-e.offset}:de(e.high.offset<n?e.high:e.low,n)}function ge(e,n="",t={}){const r=typeof n!="string"?n:t,s=typeof n=="string"?n:"",i=e.map(ot),a=!!r.lineNumbers;return function(o,c=0){const l=a?at(o):()=>({line:0,column:0});let h=c;const g=[];e:for(;h<o.length;){let y=!1;for(const p of i){p.regex.lastIndex=h;const k=p.regex.exec(o);if(k&&k[0].length>0){if(!p.discard){const v=l(h),B=typeof p.replace=="string"?k[0].replace(new RegExp(p.regex.source,p.regex.flags),p.replace):k[0];g.push({state:s,name:p.name,text:B,offset:h,len:k[0].length,line:v.line,column:v.column})}if(h=p.regex.lastIndex,y=!0,p.push){const v=p.push(o,h);g.push(...v.tokens),h=v.offset}if(p.pop)break e;break}}if(!y)break}return{tokens:g,offset:h,complete:o.length<=h}}}function ot(e,n){return{...e,regex:ct(e,n)}}function ct(e,n){if(e.name.length===0)throw new Error(`Rule #${n} has empty name, which is not allowed.`);if((function(t){return Object.prototype.hasOwnProperty.call(t,"regex")})(e))return(function(t){if(t.global)throw new Error(`Regular expression /${t.source}/${t.flags} contains the global flag, which is not allowed.`);return t.sticky?t:new RegExp(t.source,t.flags+"y")})(e.regex);if((function(t){return Object.prototype.hasOwnProperty.call(t,"str")})(e)){if(e.str.length===0)throw new Error(`Rule #${n} ("${e.name}") has empty "str" property, which is not allowed.`);return new RegExp(ke(e.str),"y")}return new RegExp(ke(e.name),"y")}function ke(e){return e.replace(/[-[\]{}()*+!<=:?./\\^$|#\s,]/g,"\\$&")}function I(e,n){return(t,r)=>{let s=r,i;return r<t.tokens.length?(i=e(t.tokens[r],t,r),i!==void 0&&s++):n?.(t,r),i===void 0?{matched:!1}:{matched:!0,position:s,value:i}}}function te(e,n){return e.matched?{matched:!0,position:e.position,value:n(e.value,e.position)}:e}function U(e,n){return e.matched?n(e):e}function L(e,n){return(t,r)=>te(e(t,r),(s,i)=>n(s,t,r,i))}function q(e,n){return(t,r)=>{const s=e(t,r);return s.matched?s:{matched:!0,position:r,value:n}}}function F(...e){return(n,t)=>{for(const r of e){const s=r(n,t);if(s.matched)return s}return{matched:!1}}}function W(e,n){return(t,r)=>{const s=e(t,r);return s.matched?s:n(t,r)}}function lt(e,n){return(t,r)=>{const s=[];let i=!0;do{const a=e(t,r);a.matched&&n(a.value,s.length+1,t,r,a.position)?(s.push(a.value),r=a.position):i=!1}while(i);return{matched:!0,position:r,value:s}}}function ne(e){return lt(e,()=>!0)}function ut(e){return w(e,ne(e),(n,t)=>[n,...t])}function w(e,n,t){return(r,s)=>U(e(r,s),i=>te(n(r,i.position),(a,o)=>t(i.value,a,r,s,o)))}function ft(e,n){return w(e,n,t=>t)}function Le(e,n){return w(e,n,(t,r)=>r)}function re(e,n,t,r){return(s,i)=>U(e(s,i),a=>U(n(s,a.position),o=>te(t(s,o.position),(c,l)=>r(a.value,o.value,c,s,i,l))))}function we(e,n,t){return re(e,n,t,(r,s)=>s)}function ht(...e){return(n,t)=>{const r=[];let s=t;for(const i of e){const a=i(n,s);if(a.matched)r.push(a.value),s=a.position;else return{matched:!1}}return{matched:!0,position:s,value:r}}}function pt(...e){return mt(ht(...e))}function mt(e){return L(e,n=>n.flatMap(t=>t))}function dt(e,n){return(t,r)=>{let s=!0,i=e,a=r;do{const o=n(i,t,a)(t,a);o.matched?(i=o.value,a=o.position):s=!1}while(s);return{matched:!0,position:a,value:i}}}function gt(e,n,t){return dt(e,r=>L(n,(s,i,a,o)=>t(r,s,i,a,o)))}function xe(e,n,t){return kt(e,r=>gt(r,w(n,t,(s,i)=>[s,i]),(s,[i,a])=>i(s,a)))}function kt(e,n){return(t,r)=>U(e(t,r),s=>n(s.value,t,r,s.position)(t,s.position))}var Lt="(?:[ \\t\\r\\n\\f]*)",ve="(?:\\n|\\r\\n|\\r|\\f)",K="[^\\x00-\\x7F]",M="(?:\\\\[0-9a-f]{1,6}(?:\\r\\n|[ \\n\\r\\t\\f])?)",j="(?:\\\\[^\\n\\r\\f0-9a-f])",wt=`(?:[_a-z]|${K}|${M}|${j})`,ye=`(?:[_a-z0-9-]|${K}|${M}|${j})`,xt=`(?:${ye}+)`,vt=`(?:[-]?${wt}${ye}*)`,yt=`'([^\\n\\r\\f\\\\']|\\\\${ve}|${K}|${M}|${j})*'`,Bt=`"([^\\n\\r\\f\\\\"]|\\\\${ve}|${K}|${M}|${j})*"`,_t=ge([{name:"ws",regex:new RegExp(Lt)},{name:"hash",regex:new RegExp(`#${xt}`,"i")},{name:"ident",regex:new RegExp(vt,"i")},{name:"str1",regex:new RegExp(yt,"i")},{name:"str2",regex:new RegExp(Bt,"i")},{name:"*"},{name:"."},{name:","},{name:"["},{name:"]"},{name:"="},{name:">"},{name:"|"},{name:"+"},{name:"~"},{name:"^"},{name:"$"}]),bt=ge([{name:"unicode",regex:new RegExp(M,"i")},{name:"escape",regex:new RegExp(j,"i")},{name:"any",regex:new RegExp("[\\s\\S]","i")}]);function Be([e,n,t],[r,s,i]){return[e+r,n+s,t+i]}function St(e){return e.reduce(Be,[0,0,0])}var It=I(e=>e.name==="unicode"?String.fromCodePoint(parseInt(e.text.slice(1),16)):void 0),Nt=I(e=>e.name==="escape"?e.text.slice(1):void 0),Wt=I(e=>e.name==="any"?e.text:void 0),Et=L(ne(F(It,Nt,Wt)),e=>e.join(""));function se(e){const n=bt(e);return Et({tokens:n.tokens,options:void 0},0).value}function d(e){return I(n=>n.name===e?!0:void 0)}var ie=I(e=>e.name==="ws"?null:void 0),ae=q(ie,null);function A(e){return we(ae,e,ae)}var D=I(e=>e.name==="ident"?se(e.text):void 0),Tt=I(e=>e.name==="hash"?se(e.text.slice(1)):void 0),Ct=I(e=>e.name.startsWith("str")?se(e.text.slice(1,-1)):void 0),_e=ft(q(D,""),d("|")),oe=W(w(_e,D,(e,n)=>({name:n,namespace:e})),L(D,e=>({name:e,namespace:null}))),At=W(w(_e,d("*"),e=>({type:"universal",namespace:e,specificity:[0,0,0]})),L(d("*"),()=>({type:"universal",namespace:null,specificity:[0,0,0]}))),Pt=L(oe,({name:e,namespace:n})=>({type:"tag",name:e,namespace:n,specificity:[0,0,1]})),$t=w(d("."),D,(e,n)=>({type:"class",name:n,specificity:[0,1,0]})),Rt=L(Tt,e=>({type:"id",name:e,specificity:[1,0,0]})),be=I(e=>{if(e.name==="ident"){if(e.text==="i"||e.text==="I")return"i";if(e.text==="s"||e.text==="S")return"s"}}),Ot=W(w(Ct,q(Le(ae,be),null),(e,n)=>({value:e,modifier:n})),w(D,q(Le(ie,be),null),(e,n)=>({value:e,modifier:n}))),Mt=F(L(d("="),()=>"="),w(d("~"),d("="),()=>"~="),w(d("|"),d("="),()=>"|="),w(d("^"),d("="),()=>"^="),w(d("$"),d("="),()=>"$="),w(d("*"),d("="),()=>"*=")),jt=re(d("["),A(oe),d("]"),(e,{name:n,namespace:t})=>({type:"attrPresence",name:n,namespace:t,specificity:[0,1,0]})),Dt=we(d("["),re(A(oe),Mt,A(Ot),({name:e,namespace:n},t,{value:r,modifier:s})=>({type:"attrValue",name:e,namespace:n,matcher:t,value:r,modifier:s,specificity:[0,1,0]})),d("]")),Vt=W(jt,Dt),Ht=W(At,Pt),Se=F(Rt,$t,Vt),Ie=L(W(pt(Ht,ne(Se)),ut(Se)),e=>({type:"compound",list:e,specificity:St(e.map(n=>n.specificity))})),Ut=F(L(d(">"),()=>">"),L(d("+"),()=>"+"),L(d("~"),()=>"~"),w(d("|"),d("|"),()=>"||")),qt=W(A(Ut),L(ie,()=>" ")),ce=xe(Ie,L(qt,e=>(n,t)=>({type:"compound",list:[...t.list,{type:"combinator",combinator:e,left:n,specificity:n.specificity}],specificity:Be(n.specificity,t.specificity)})),Ie),pr=xe(L(ce,e=>({type:"list",list:[e]})),L(A(d(",")),()=>(e,n)=>({type:"list",list:[...e.list,n]})),ce);function Ft(e,n){if(!(typeof n=="string"||n instanceof String))throw new Error("Expected a selector string. Actual input is not a string!");const t=_t(n);if(!t.complete)throw new Error(`The input "${n}" was only partially tokenized, stopped at offset ${t.offset}!
2
2
  `+Ne(n,t.offset));const r=A(e)({tokens:t.tokens,options:void 0},0);if(!r.matched)throw new Error(`No match for "${n}" input!`);if(r.position<t.tokens.length){const s=t.tokens[r.position];throw new Error(`The input "${n}" was only partially parsed, stopped at offset ${s.offset}!
3
3
  `+Ne(n,s.offset,s.len))}return r.value}function Ne(e,n,t=1){return`${e.replace(/(\t)|(\r)|(\n)/g,(r,s,i)=>s?"␉":i?"␍":"␊")}
4
4
  ${"".padEnd(n)}${"^".repeat(t)}`}function Kt(e){return Ft(ce,e)}function b(e){if(!e.type)throw new Error("This is not an AST node.");switch(e.type){case"universal":return z(e.namespace)+"*";case"tag":return z(e.namespace)+P(e.name);case"class":return"."+P(e.name);case"id":return"#"+P(e.name);case"attrPresence":return`[${z(e.namespace)}${P(e.name)}]`;case"attrValue":return`[${z(e.namespace)}${P(e.name)}${e.matcher}"${zt(e.value)}"${e.modifier?e.modifier:""}]`;case"combinator":return b(e.left)+e.combinator;case"compound":return e.list.reduce((n,t)=>t.type==="combinator"?b(t)+n:n+b(t),"");case"list":return e.list.map(b).join(",")}}function z(e){return e||e===""?P(e)+"|":""}function X(e){return`\\${e.codePointAt(0).toString(16)} `}function P(e){return e.replace(/(^[0-9])|(^-[0-9])|(^-$)|([-0-9a-zA-Z_]|[^\x00-\x7F])|(\x00)|([\x01-\x1f]|\x7f)|([\s\S])/g,(n,t,r,s,i,a,o,c)=>t?X(t):r?"-"+X(r.slice(1)):s?"\\-":i||(a?"�":o?X(o):"\\"+c))}function zt(e){return e.replace(/(")|(\\)|(\x00)|([\x01-\x1f]|\x7f)/g,(n,t,r,s,i)=>t?'\\"':r?"\\\\":s?"�":X(i))}function G(e){if(!e.type)throw new Error("This is not an AST node.");switch(e.type){case"compound":e.list.forEach(G),e.list.sort((n,t)=>Te(We(n),We(t)));break;case"combinator":G(e.left);break;case"list":e.list.forEach(G),e.list.sort((n,t)=>b(n)<b(t)?-1:1)}return e}function We(e){switch(e.type){case"universal":return[1];case"tag":return[1];case"id":return[2];case"class":return[3,e.name];case"attrPresence":return[4,b(e)];case"attrValue":return[5,b(e)];case"combinator":return[15,b(e)]}}function Ee(e,n){return Te(e,n)}function Te(e,n){if(!Array.isArray(e)||!Array.isArray(n))throw new Error("Arguments must be arrays.");const t=e.length<n.length?e.length:n.length;for(let r=0;r<t;r++)if(e[r]!==n[r])return e[r]<n[r]?-1:1;return e.length-n.length}var Ce=class{constructor(e){this.branches=$(Xt(e))}build(e){return e(this.branches)}};function Xt(e){const n=e.length,t=new Array(n);for(let r=0;r<n;r++){const[s,i]=e[r],a=Gt(Kt(s));t[r]={ast:a,terminal:{type:"terminal",valueContainer:{index:r,value:i,specificity:a.specificity}}}}return t}function Gt(e){return Ae(e),G(e),e}function Ae(e){const n=[];e.list.forEach(t=>{switch(t.type){case"class":n.push({matcher:"~=",modifier:null,name:"class",namespace:null,specificity:t.specificity,type:"attrValue",value:t.name});break;case"id":n.push({matcher:"=",modifier:null,name:"id",namespace:null,specificity:t.specificity,type:"attrValue",value:t.name});break;case"combinator":Ae(t.left),n.push(t);break;case"universal":break;default:n.push(t)}}),e.list=n}function $(e){const n=[];for(;e.length;){const t=Oe(e,a=>!0,Pe),{matches:r,nonmatches:s,empty:i}=Yt(e,t);e=s,r.length&&n.push(Zt(t,r)),i.length&&n.push(...Jt(i))}return n}function Jt(e){const n=[];for(const t of e){const r=t.terminal;if(r.type==="terminal")n.push(r);else{const{matches:s,rest:i}=rn(r.cont,a=>a.type==="terminal");s.forEach(a=>n.push(a)),i.length&&(r.cont=i,n.push(r))}}return n}function Yt(e,n){const t=[],r=[],s=[];for(const i of e){const a=i.ast.list;a.length?(a.some(o=>Pe(o)===n)?t:r).push(i):s.push(i)}return{matches:t,nonmatches:r,empty:s}}function Pe(e){switch(e.type){case"attrPresence":return`attrPresence ${e.name}`;case"attrValue":return`attrValue ${e.name}`;case"combinator":return`combinator ${e.combinator}`;default:return e.type}}function Zt(e,n){if(e==="tag")return Qt(n);if(e.startsWith("attrValue "))return tn(e.substring(10),n);if(e.startsWith("attrPresence "))return en(e.substring(13),n);if(e==="combinator >")return $e(">",n);if(e==="combinator +")return $e("+",n);throw new Error(`Unsupported selector kind: ${e}`)}function Qt(e){const n=le(e,t=>t.type==="tag",t=>t.name);return{type:"tagName",variants:Object.entries(n).map(([t,r])=>({type:"variant",value:t,cont:$(r.items)}))}}function en(e,n){for(const t of n)Re(t,r=>r.type==="attrPresence"&&r.name===e);return{type:"attrPresence",name:e,cont:$(n)}}function tn(e,n){const t=le(n,s=>s.type==="attrValue"&&s.name===e,s=>`${s.matcher} ${s.modifier||""} ${s.value}`),r=[];for(const s of Object.values(t)){const i=s.oneSimpleSelector,a=nn(i),o=$(s.items);r.push({type:"matcher",matcher:i.matcher,modifier:i.modifier,value:i.value,predicate:a,cont:o})}return{type:"attrValue",name:e,matchers:r}}function nn(e){if(e.modifier==="i"){const n=e.value.toLowerCase();switch(e.matcher){case"=":return t=>n===t.toLowerCase();case"~=":return t=>t.toLowerCase().split(/[ \t]+/).includes(n);case"^=":return t=>t.toLowerCase().startsWith(n);case"$=":return t=>t.toLowerCase().endsWith(n);case"*=":return t=>t.toLowerCase().includes(n);case"|=":return t=>{const r=t.toLowerCase();return n===r||r.startsWith(n)&&r[n.length]==="-"}}}else{const n=e.value;switch(e.matcher){case"=":return t=>n===t;case"~=":return t=>t.split(/[ \t]+/).includes(n);case"^=":return t=>t.startsWith(n);case"$=":return t=>t.endsWith(n);case"*=":return t=>t.includes(n);case"|=":return t=>n===t||t.startsWith(n)&&t[n.length]==="-"}}}function $e(e,n){const t=le(n,s=>s.type==="combinator"&&s.combinator===e,s=>b(s.left)),r=[];for(const s of Object.values(t)){const i=$(s.items),a=s.oneSimpleSelector.left;r.push({ast:a,terminal:{type:"popElement",cont:i}})}return{type:"pushElement",combinator:e,cont:$(r)}}function le(e,n,t){const r={};for(;e.length;){const s=Oe(e,n,t),i=h=>n(h)&&t(h)===s,a=h=>h.ast.list.some(i),{matches:o,rest:c}=sn(e,a);let l=null;for(const h of o){const g=Re(h,i);l||(l=g)}if(l==null)throw new Error("No simple selector is found.");r[s]={oneSimpleSelector:l,items:o},e=c}return r}function Re(e,n){const t=e.ast.list,r=new Array(t.length);let s=-1;for(let a=t.length;a-- >0;)n(t[a])&&(r[a]=!0,s=a);if(s==-1)throw new Error("Couldn't find the required simple selector.");const i=t[s];return e.ast.list=t.filter((a,o)=>!r[o]),i}function Oe(e,n,t){const r={};for(const a of e){const o={};for(const c of a.ast.list.filter(n))o[t(c)]=!0;for(const c of Object.keys(o))r[c]?r[c]++:r[c]=1}let s="",i=0;for(const a of Object.entries(r))a[1]>i&&(s=a[0],i=a[1]);return s}function rn(e,n){const t=[],r=[];for(const s of e)n(s)?t.push(s):r.push(s);return{matches:t,rest:r}}function sn(e,n){const t=[],r=[];for(const s of e)n(s)?t.push(s):r.push(s);return{matches:t,rest:r}}var an=class{constructor(e){this.f=e}pickAll(e){return this.f(e)}pick1(e,n=!1){const t=this.f(e),r=t.length;if(r===0)return null;if(r===1)return t[0].value;const s=n?on:cn;let i=t[0];for(let a=1;a<r;a++){const o=t[a];s(i,o)&&(i=o)}return i.value}};function on(e,n){const t=Ee(n.specificity,e.specificity);return t>0||t===0&&n.index<e.index}function cn(e,n){const t=Ee(n.specificity,e.specificity);return t>0||t===0&&n.index>e.index}function Me(e){return new an(R(e))}function R(e){const n=e.map(ln);return(t,...r)=>n.flatMap(s=>s(t,...r))}function ln(e){switch(e.type){case"terminal":return()=>[e.valueContainer];case"tagName":return un(e);case"attrValue":return hn(e);case"attrPresence":return fn(e);case"pushElement":return pn(e);case"popElement":return mn(e);default:return()=>[]}}function un(e){const n={};for(const t of e.variants)n[t.value.toLowerCase()]=R(t.cont);return(t,...r)=>{const s=t.tagName?.toLowerCase(),i=s&&n[s];return i?i(t,...r):[]}}function fn(e){const n=e.name,t=R(e.cont);return(r,...s)=>r.hasAttribute(n)?t(r,...s):[]}function hn(e){const n=[];for(const r of e.matchers){const s=r.predicate,i=R(r.cont);n.push((a,o,...c)=>s(a)?i(o,...c):[])}const t=e.name;return(r,...s)=>{const i=r.getAttribute(t);return i!==null?n.flatMap(a=>a(i,r,...s)):[]}}function pn(e){const n=R(e.cont),t=e.combinator==="+"?dn:gn;return(r,...s)=>{const i=t(r);return i?n(i,r,...s):[]}}function mn(e){const n=R(e.cont);return(t,r,...s)=>n(r,...s)}function dn(e){let n=e.previousSibling;for(;n&&n.nodeType!==Node.ELEMENT_NODE;)n=n.previousSibling;return n}function gn(e){return e.parentElement}var kn=H.__commonJSMin(((e,n)=>{var t=function(f){return r(f)&&!s(f)};function r(u){return!!u&&typeof u=="object"}function s(u){var f=Object.prototype.toString.call(u);return f==="[object RegExp]"||f==="[object Date]"||a(u)}var i=typeof Symbol=="function"&&Symbol.for?Symbol.for("react.element"):60103;function a(u){return u.$$typeof===i}function o(u){return Array.isArray(u)?[]:{}}function c(u,f){return f.clone!==!1&&f.isMergeableObject(u)?B(o(u),u,f):u}function l(u,f,m){return u.concat(f).map(function(_){return c(_,m)})}function h(u,f){if(!f.customMerge)return B;var m=f.customMerge(u);return typeof m=="function"?m:B}function g(u){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(u).filter(function(f){return Object.propertyIsEnumerable.call(u,f)}):[]}function y(u){return Object.keys(u).concat(g(u))}function p(u,f){try{return f in u}catch{return!1}}function k(u,f){return p(u,f)&&!(Object.hasOwnProperty.call(u,f)&&Object.propertyIsEnumerable.call(u,f))}function v(u,f,m){var _={};return m.isMergeableObject(u)&&y(u).forEach(function(x){_[x]=c(u[x],m)}),y(f).forEach(function(x){k(u,x)||(p(u,x)&&m.isMergeableObject(f[x])?_[x]=h(x,m)(u[x],f[x],m):_[x]=c(f[x],m))}),_}function B(u,f,m){m=m||{},m.arrayMerge=m.arrayMerge||l,m.isMergeableObject=m.isMergeableObject||t,m.cloneUnlessOtherwiseSpecified=c;var _=Array.isArray(f);return _!==Array.isArray(u)?c(f,m):_?m.arrayMerge(u,f,m):v(u,f,m)}B.all=function(f,m){if(!Array.isArray(f))throw new Error("first argument should be an array");return f.reduce(function(_,x){return B(_,x,m)},{})};var fr=B;n.exports=fr})),je=H.__toESM(kn());function ue(e,n,t=()=>{}){if(e===void 0){const r=function(...s){return n(r,...s)};return r}return e>=0?function(...r){return n(ue(e-1,n,t),...r)}:t}function De(e,n){let t=0,r=e.length;for(;t<r&&e[t]===n;)++t;for(;r>t&&e[r-1]===n;)--r;return t>0||r<e.length?e.substring(t,r):e}function Ln(e,n){let t=e.length;for(;t>0&&e[t-1]===n;)--t;return t<e.length?e.substring(0,t):e}function wn(e){return e.replace(/[\s\S]/g,n=>"\\u"+n.charCodeAt().toString(16).padStart(4,"0"))}function Ve(e,n){const t=new Map;for(let r=e.length;r-- >0;){const s=e[r],i=n(s);t.set(i,t.has(i)?(0,je.default)(s,t.get(i),{arrayMerge:xn}):s)}return[...t.values()].reverse()}var xn=(e,n,t)=>[...n];function J(e,n){for(const t of n){if(!e)return;e=e[t]}return e}function He(e,n="a",t=26){const r=[];do e-=1,r.push(e%t),e=e/t>>0;while(e>0);const s=n.charCodeAt(0);return r.reverse().map(i=>String.fromCharCode(s+i)).join("")}var fe=["I","X","C","M"],Ue=["V","L","D"];function qe(e){return[...e+""].map(n=>+n).reverse().map((n,t)=>n%5<4?(n<5?"":Ue[t])+fe[t].repeat(n%5):fe[t]+(n<5?Ue[t]:fe[t+1])).reverse().join("")}var Fe=class{constructor(e,n=void 0){this.lines=[],this.nextLineWords=[],this.maxLineLength=n||e.wordwrap||Number.MAX_VALUE,this.nextLineAvailableChars=this.maxLineLength,this.wrapCharacters=J(e,["longWordSplit","wrapCharacters"])||[],this.forceWrapOnLimit=J(e,["longWordSplit","forceWrapOnLimit"])||!1,this.stashedSpace=!1,this.wordBreakOpportunity=!1}pushWord(e,n=!1){this.nextLineAvailableChars<=0&&!n&&this.startNewLine();const t=this.nextLineWords.length===0,r=e.length+(t?0:1);if(r<=this.nextLineAvailableChars||n)this.nextLineWords.push(e),this.nextLineAvailableChars-=r;else{const[s,...i]=this.splitLongWord(e);t||this.startNewLine(),this.nextLineWords.push(s),this.nextLineAvailableChars-=s.length;for(const a of i)this.startNewLine(),this.nextLineWords.push(a),this.nextLineAvailableChars-=a.length}}popWord(){const e=this.nextLineWords.pop();if(e!==void 0){const n=this.nextLineWords.length===0,t=e.length+(n?0:1);this.nextLineAvailableChars+=t}return e}concatWord(e,n=!1){if(this.wordBreakOpportunity&&e.length>this.nextLineAvailableChars)this.pushWord(e,n),this.wordBreakOpportunity=!1;else{const t=this.popWord();this.pushWord(t?t.concat(e):e,n)}}startNewLine(e=1){this.lines.push(this.nextLineWords),e>1&&this.lines.push(...Array.from({length:e-1},()=>[])),this.nextLineWords=[],this.nextLineAvailableChars=this.maxLineLength}isEmpty(){return this.lines.length===0&&this.nextLineWords.length===0}clear(){this.lines.length=0,this.nextLineWords.length=0,this.nextLineAvailableChars=this.maxLineLength}toString(){return[...this.lines,this.nextLineWords].map(e=>e.join(" ")).join(`
@@ -1 +1 @@
1
- __emailmaker__.define("static/core/a42770c7.js",["require","exports","module","static/core/5dc34752.js","static/core/c178d933.js","static/core/666916bb.js","static/core/50109143.js","react","react/jsx-runtime","__delivery__/libs"],function(R,le,Ee){const P=R("./5dc34752.js"),c=R("./c178d933.js"),se=R("./666916bb.js"),ce=R("./50109143.js");let s=R("react");s=P.__toESM(s);let v=R("react/jsx-runtime"),O=R("__delivery__/libs");var fe=P.__commonJSMin((t=>{Object.defineProperty(t,"__esModule",{value:!0});var e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M536.1 273H488c-4.4 0-8 3.6-8 8v275.3c0 2.6 1.2 5 3.3 6.5l165.3 120.7c3.6 2.6 8.6 1.9 11.2-1.7l28.6-39c2.7-3.7 1.9-8.7-1.7-11.2L544.1 528.5V281c0-4.4-3.6-8-8-8zm219.8 75.2l156.8 38.3c5 1.2 9.9-2.6 9.9-7.7l.8-161.5c0-6.7-7.7-10.5-12.9-6.3L752.9 334.1a8 8 0 003 14.1zm167.7 301.1l-56.7-19.5a8 8 0 00-10.1 4.8c-1.9 5.1-3.9 10.1-6 15.1-17.8 42.1-43.3 80-75.9 112.5a353 353 0 01-112.5 75.9 352.18 352.18 0 01-137.7 27.8c-47.8 0-94.1-9.3-137.7-27.8a353 353 0 01-112.5-75.9c-32.5-32.5-58-70.4-75.9-112.5A353.44 353.44 0 01171 512c0-47.8 9.3-94.2 27.8-137.8 17.8-42.1 43.3-80 75.9-112.5a353 353 0 01112.5-75.9C430.6 167.3 477 158 524.8 158s94.1 9.3 137.7 27.8A353 353 0 01775 261.7c10.2 10.3 19.8 21 28.6 32.3l59.8-46.8C784.7 146.6 662.2 81.9 524.6 82 285 82.1 92.6 276.7 95 516.4 97.4 751.9 288.9 942 524.8 942c185.5 0 343.5-117.6 403.7-282.3 1.5-4.2-.7-8.9-4.9-10.4z"}}]},name:"history",theme:"outlined"};t.default=e})),de=P.__toESM(fe());function $(){return $=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var a=arguments[e];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(t[n]=a[n])}return t},$.apply(this,arguments)}var ue=(t,e)=>s.createElement(c.Icon,$({},t,{ref:e,icon:de.default})),me=s.forwardRef(ue);function ge(t,e,a,n,x,f){if(e.type==="linear"){let l=t.createLinearGradient(a+e.coords.x1,n+e.coords.y1,a+e.coords.x2,n+e.coords.y2);return e.colorStops.forEach(y=>l.addColorStop(y.offset,y.color)),l}if(e.type==="radial"){let l=t.createRadialGradient(a+e.coords.x1,n+e.coords.y1,e.coords.r1??0,a+e.coords.x2,n+e.coords.y2,e.coords.r2??0);return e.colorStops.forEach(y=>l.addColorStop(y.offset,y.color)),l}throw Error("Unknown gradient type")}function ye(t){if(!this.backgroundColor)return;let e=this._getNonTransformedDimensions(),a=-e.x/2,n=-e.y/2,x=e.x,f=e.y,l=this.backgroundColor;if(typeof l=="string"||l instanceof CanvasGradient||l instanceof CanvasPattern)t.fillStyle=l,t.fillRect(a,n,x,f);else if(typeof l=="object"&&"type"in l&&(l.type==="linear"||l.type==="radial"))t.fillStyle=ge(t,l,a,n,x,f),t.fillRect(a,n,x,f);else if("source"in l&&(l.source instanceof HTMLImageElement||l.source instanceof HTMLCanvasElement))if(l.repeat){let y=t.createPattern(l.source,l.repeat);y&&(t.fillStyle=y,t.fillRect(a,n,x,f))}else t.drawImage(l.source,a,n,x,f);this._removeShadow(t)}function he(t){t.fabric&&t.fabric.on("object:added",e=>{let a=e.target;a&&a.name==="text"&&(a._renderBackground=ye)})}var H="fm-pixie-editor",E=new class{constructor(){this._container=document.createElement("div"),this._instance=null,this._container.classList.add(H),this._container.style.width="100%",this._container.style.height="85vh",this._container.style.minHeight="400px"}get className(){return`.${H}`}get canvas(){return this._instance?.state.canvasRef?.current}get tools(){return this._instance?.tools}isLoaded(){return!!this._instance}async _setConfig(t){this._instance?await this._instance.resetEditor(t):this._instance=await ce.Tf.init({...t,selector:this.className}),he(this._instance)}async show(t,e,a=e.firstChild){e.insertBefore(this._container,a),await this._setConfig(t),this._instance.open()}close(){this._container.parentNode?.removeChild(this._container)}},G=(t,e="image/png")=>fetch(`data:${e};base64,${t}`).then(a=>a.blob());function pe(t,e){if(t==="json")return new Blob([e],{type:"application/json"});if(t==="svg")return new Blob([e],{type:"image/svg+xml"});let a=`image/${t}`;if(e.startsWith("data:")){let n=c.oe(e);return n&&n.startsWith("image/")&&(a=n),G(e.replace(/data:image\/[^;]+;base64,/,""),c.ae(a))}return G(e,c.ae(a))}function be(t){return new Promise((e,a)=>{let n=new FileReader;n.onload=()=>e(n.result),n.onerror=()=>a(n.error??Error("Failed to convert blob to data URL")),n.readAsDataURL(t)})}var we=({visible:t,onClose:e,file:a,onSave:n,onSaveCopy:x})=>{let{t:f}=c.zn(),l=s.default.useRef(null),y=c.mr(),ve=c.Qi(),{options:Q,actions:_e}=c.B(),{i18n:z}=c.zn(),{config:u}=Q,{setCurrentMenuFile:J}=_e,{getFileData:V,resolveFileForEditByUrl:Y}=ve,[F,p]=s.default.useState(!1),[L,q]=s.default.useState(null),[U,X]=s.default.useState(""),[S,Z]=s.default.useState(!1),[K,D]=s.default.useState(!1),[r,N]=s.default.useState(null),j=s.default.useRef(!1),ee=s.default.useRef(void 0),te=s.default.useRef(void 0),ae=s.default.useRef("saveCopy"),M=s.default.useRef(void 0);ee.current=n,te.current=x,s.default.useEffect(()=>{a&&!j.current&&(async()=>{if(M.current!==a){if(typeof a=="object"){N(a);return}M.current=a,p(!0);try{if(a.startsWith("data:"))N({thumbnail:a,saveWithoutFolder:!0});else{let i=await Y(a);M.current===a&&N(i)}}catch{M.current===a&&(M.current=null),e?.()}finally{p(!1)}}})()},[a,e,Y]);let re=s.default.useCallback(async i=>{try{if(typeof i.thumbnail=="string"&&i.thumbnail.startsWith("data:"))return i.thumbnail;let o=await V(i.id,!0);if(!o)throw Error(f("Error loading image"));return new Promise(g=>{let d=new FileReader;d.onload=()=>g(d.result),d.readAsDataURL(o)})}catch(o){throw o}},[V,f]);s.default.useEffect(()=>{if(!L&&t&&r){let i=!1;return(async()=>{p(!0);try{let o=await re(r);if(!o||typeof o!="string"||o.trim()==="")throw Error("Invalid image data: empty or null");if(!o.startsWith("data:"))throw Error("Invalid image data: not a valid data URL");let g=o.match(/^data:([^;]+);base64,(.+)$/);if(!g)throw Error("Invalid image data: malformed data URL format");let[,d,m]=g;if(!d.startsWith("image/"))throw Error(`Invalid image data: unsupported MIME type ${d}`);if(m.length<10)throw Error("Invalid image data: base64 content too short");if(!/^[A-Za-z0-9+/]+=*$/.test(m))throw Error("Invalid image data: corrupted base64 content");if(!i){q(o);let _=c.Wr(r,"image/png");X(_.mimeType)}}catch(o){i||(y.error({id:"IMAGE_DOWNLOAD_FAILED",innerException:o,message:f("Error loading image"),placement:"bottomRight",data:{itemId:r?.id??void 0,itemName:r?.name??void 0,folderId:r?.folderId??null,thumbnail:r?.thumbnail}}),e?.())}finally{p(!1)}})(),()=>{i=!0}}},[r,re,L,e,f,t]);let ie=s.default.useCallback(async(i,o,g)=>{let d=await pe(g,i),m=c.ae(d.type||`image/${g}`),_=u?.compessorUrl??u?.compressorUrl;if(m.startsWith("image/"))try{let C=new File([d],o,{type:m}),b=await c.Si(C,{maxSizeMB:u?.compressMaxSize,maxWidthOrHeight:u?.compressMaxWidthOrHeight,mimeType:m,fileName:o,libURL:_,enableCompression:c.Jr(u,m)});d=b,m=b.type}catch{}return{blob:d,mimeType:m,thumbnailDataUrl:await be(d)}},[u]),T=s.default.useCallback(async(i,o,g,d)=>{let m=d==="save"?ee.current:te.current;if(!r||!m)return;let _=typeof r=="object"&&r?r:null,C=null;try{p(!0);let{blob:b,mimeType:w,thumbnailDataUrl:I}=await ie(i,o,g),k={...r,thumbnail:I,size:b.size,date:new Date().toISOString().split("T")[0],type:w,folderId:r.folderId||"",name:r.name||o,extension:r.extension||(r.name||o).split(".").pop()?.toLowerCase()||""};C=k;let A=await m(k,{blob:b,mimeType:w,thumbnail:I,mode:d});if(A)return p(!1),A;throw Error(f(d==="saveCopy"?"Failed to save image copy":"Failed to save changes"))}catch(b){let w=C??_;if(!b?.notificationShown){let I=c.U(b),k=c.H(I?.code,f)??I?.message??f(d==="saveCopy"?"Failed to save image copy":"Error saving image");y.error({id:d==="saveCopy"?"IMAGE_SAVE_COPY_FAILED":"IMAGE_SAVE_FAILED",message:k,placement:"bottomRight",data:{itemId:w?.id??void 0,itemName:w?.name??o,folderId:w?.folderId??null,thumbnail:w?.thumbnail},innerException:b})}p(!1)}},[r,y,ie,f]),oe=s.default.useCallback(async i=>{if(!E.isLoaded()||!r)return;ae.current=i;let o=r.name||"edited-image",g=c.Wr(r,U);try{await E.tools?.export.save(o.replace(/\.[^/.]+$/,""),g.pixieFormat,c.Gr.QUALITY)}catch{try{let m=E.canvas,_=m?m.toDataURL(g.mimeType):null;_&&await T(_,o,g.extension,i)}catch{}}},[r,U,T]),ne=s.default.useCallback(async()=>{if(L&&t&&S&&!j.current)try{j.current=!0;let i=l.current,o=0;for(;o<20&&(i.clientWidth===0||i.clientHeight===0);)await new Promise(h=>setTimeout(h,50)),o++;let g=u?.locale?u?.locale.replace("_","-"):"en",d=matchMedia("(prefers-color-scheme: dark)").matches?c.C:c.S,m=u?.theme==="system"?d:u?.theme,_=(u?.locale||z.language||"en").split("-")[0].split("_")[0],C=(z.getResourceBundle(_,"translation")||{}).pixie||{},b=h=>h.split(" ").map(B=>B.charAt(0).toUpperCase()+B.slice(1).toLowerCase()).join(" "),w={};Object.entries(C).forEach(([h,B])=>{let W=b(h);w[W]=B,w[h]=B});let I={[g]:w},k=c.Wr(r,U),A={selector:"#pixie-editor",baseUrl:se.n(u?.baseUrl||"",u?.assetsUrl||"assets/image-editor"),image:L,activeLanguage:g,languages:I,ui:{activeTheme:m,mode:"inline",forceOverlayModeOnMobile:!1,visible:!0,menubar:{replaceDefaultItems:!0,position:"top",items:[{type:"undoWidget",align:"left"},{type:"zoomWidget",align:"center",desktopOnly:!0},{type:"button",align:"right",desktopOnly:!0,icon:()=>(0,v.jsx)(me,{style:{fontSize:20}}),action:h=>{h.togglePanel("history")}},{type:"button",icon:()=>(0,v.jsx)(c.RefIcon$1,{style:{fontSize:20}}),align:"right",desktopOnly:!0,action:e}]},nav:{position:"top"}},tools:{export:{defaultFormat:k.pixieFormat,defaultQuality:c.Gr.QUALITY,defaultName:r?.name?.replace(/\.[^/.]+$/,"")||"image"},text:{replaceDefaultItems:!0,defaultText:"Handwriting",items:[{family:"Inter",src:"fonts/inter-v20-cyrillic_latin-regular.woff2"},{family:"Commissioner",src:"fonts/commissioner-v24-cyrillic_latin-regular.woff2"},{family:"Montserrat Light",src:"fonts/Montserrat-Light.woff2"},{family:"Montserrat Regular",src:"fonts/Montserrat-Regular.woff2"},{family:"Montserrat Bold",src:"fonts/Montserrat-Bold.woff2"},{family:"Montserrat Black",src:"fonts/Montserrat-Black.woff2"},{family:"Roboto Light",src:"fonts/Roboto-Light.woff2"},{family:"Roboto Regular",src:"fonts/Roboto-Regular.woff2"},{family:"Roboto Bold",src:"fonts/Roboto-Bold.woff2"},{family:"Roboto Black",src:"fonts/Roboto-Black.woff2"},{family:"Lato Light",src:"fonts/Lato-Light.woff2"},{family:"Lato Regular",src:"fonts/Lato-Regular.woff2"},{family:"Lato Bold",src:"fonts/Lato-Bold.woff2"},{family:"Lato Black",src:"fonts/Lato-Black.woff2"},{family:"Rubik Light",src:"fonts/Rubik-Light.woff2"},{family:"Rubik Regular",src:"fonts/Rubik-Regular.woff2"},{family:"Rubik Bold",src:"fonts/Rubik-Bold.woff2"},{family:"Rubik Black",src:"fonts/Rubik-Black.woff2"},{family:"Bebas Neue Light",src:"fonts/BebasNeueLight.woff2"},{family:"Bebas Neue Regular",src:"fonts/BebasNeueRegular.woff2"},{family:"Bebas Neue Book",src:"fonts/BebasNeueBook.woff2"},{family:"Bebas Neue Bold",src:"fonts/BebasNeueBold.woff2"},{family:"Fira Sans",src:"fonts/fira-sans-v11-latin-ext_latin_cyrillic-regular.woff2"},{family:"Lobster",src:"fonts/Lobster.woff2"},{family:"Pacifico",src:"fonts/pacifico-v23-cyrillic_latin-regular.woff2"},{family:"Playfair Display",src:"fonts/playfair-display-v40-cyrillic_latin-regular.woff2"},{family:"Oswald",src:"fonts/oswald-v57-cyrillic_latin-regular.woff2"},{family:"Caveat",src:"fonts/caveat-v23-cyrillic_latin-regular.woff2"}]}},onSave:async function(h,B,W){try{return p(!0),await T(h,B,W,ae.current)}catch(Re){throw p(!1),Re}}};try{D(!1),await E.show(A,l.current);let h=E.canvas;h&&h.focus(),D(!0),p(!1)}catch{}}catch(i){y.error({id:"EDITOR_INIT_FAILED",message:f("Error initializing editor"),placement:"bottomRight",innerException:i}),j.current=!1,e?.()}},[r,U,L,t,S,u?.locale,u?.theme,u?.baseUrl,u?.assetsUrl,e,T,y,z,f]);s.default.useEffect(()=>{t&&L&&S&&ne()},[t,L,S,ne]),s.default.useEffect(()=>{if(!t){try{E.close()}catch{}p(!1),q(null),X(""),j.current=!1,Z(!1),D(!1)}return()=>{try{E.close()}catch{}}},[t]);let xe=!!r?.id&&u?.features?.enableUpdateFile!==!1;return(0,v.jsx)(O.antd$Modal,{title:r?.name?f("Editing: {{name}}",{name:r.name}):f("Editing image"),open:t,closeIcon:null,onCancel:e,afterOpenChange:i=>Z(i),forceRender:!0,width:"100vw",getContainer:Q.getModalContainer,style:{top:0,height:"100vh",maxWidth:"none",padding:10},styles:{body:{height:"85vh",padding:0}},footer:[(0,v.jsx)(O.antd$Button,{onClick:e,disabled:!S||F,children:f("Cancel")},"cancel"),(0,v.jsx)(O.antd$Button,{type:"primary",onClick:()=>oe("saveCopy"),loading:F,children:f("Save as copy and choose")},"save-copy"),...xe?[(0,v.jsx)(O.antd$Button,{type:"primary",onClick:()=>oe("save"),loading:F,children:f("Save and choose")},"save")]:[]],mask:{closable:!1},destroyOnHidden:!1,afterClose:()=>{J&&J("")},children:(0,v.jsxs)("div",{ref:l,style:{position:"relative",width:"100%",height:"100%"},children:[t&&!K?(0,v.jsx)("div",{style:{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",background:"rgba(255,255,255,0.45)",backdropFilter:"blur(1px)",pointerEvents:"all",zIndex:10},children:(0,v.jsx)("span",{style:{fontSize:14,color:"#555"},children:f("Loading editor...")})}):null,F&&K&&(0,v.jsx)(c.r,{style:{position:"absolute",top:0,background:"var(--em-colorBgLayout)",zIndex:100,opacity:.7}})]})})};le.PixieEditor=we});
1
+ __emailmaker__.define("static/core/47e97e35.js",["require","exports","module","static/core/5dc34752.js","static/core/c178d933.js","static/core/666916bb.js","static/core/72a579ec.js","react","react/jsx-runtime","__delivery__/libs"],function(R,le,Ee){const P=R("./5dc34752.js"),c=R("./c178d933.js"),se=R("./666916bb.js"),ce=R("./72a579ec.js");let s=R("react");s=P.__toESM(s);let v=R("react/jsx-runtime"),O=R("__delivery__/libs");var fe=P.__commonJSMin((t=>{Object.defineProperty(t,"__esModule",{value:!0});var e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M536.1 273H488c-4.4 0-8 3.6-8 8v275.3c0 2.6 1.2 5 3.3 6.5l165.3 120.7c3.6 2.6 8.6 1.9 11.2-1.7l28.6-39c2.7-3.7 1.9-8.7-1.7-11.2L544.1 528.5V281c0-4.4-3.6-8-8-8zm219.8 75.2l156.8 38.3c5 1.2 9.9-2.6 9.9-7.7l.8-161.5c0-6.7-7.7-10.5-12.9-6.3L752.9 334.1a8 8 0 003 14.1zm167.7 301.1l-56.7-19.5a8 8 0 00-10.1 4.8c-1.9 5.1-3.9 10.1-6 15.1-17.8 42.1-43.3 80-75.9 112.5a353 353 0 01-112.5 75.9 352.18 352.18 0 01-137.7 27.8c-47.8 0-94.1-9.3-137.7-27.8a353 353 0 01-112.5-75.9c-32.5-32.5-58-70.4-75.9-112.5A353.44 353.44 0 01171 512c0-47.8 9.3-94.2 27.8-137.8 17.8-42.1 43.3-80 75.9-112.5a353 353 0 01112.5-75.9C430.6 167.3 477 158 524.8 158s94.1 9.3 137.7 27.8A353 353 0 01775 261.7c10.2 10.3 19.8 21 28.6 32.3l59.8-46.8C784.7 146.6 662.2 81.9 524.6 82 285 82.1 92.6 276.7 95 516.4 97.4 751.9 288.9 942 524.8 942c185.5 0 343.5-117.6 403.7-282.3 1.5-4.2-.7-8.9-4.9-10.4z"}}]},name:"history",theme:"outlined"};t.default=e})),de=P.__toESM(fe());function $(){return $=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var a=arguments[e];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(t[n]=a[n])}return t},$.apply(this,arguments)}var ue=(t,e)=>s.createElement(c.Icon,$({},t,{ref:e,icon:de.default})),me=s.forwardRef(ue);function ge(t,e,a,n,x,f){if(e.type==="linear"){let l=t.createLinearGradient(a+e.coords.x1,n+e.coords.y1,a+e.coords.x2,n+e.coords.y2);return e.colorStops.forEach(y=>l.addColorStop(y.offset,y.color)),l}if(e.type==="radial"){let l=t.createRadialGradient(a+e.coords.x1,n+e.coords.y1,e.coords.r1??0,a+e.coords.x2,n+e.coords.y2,e.coords.r2??0);return e.colorStops.forEach(y=>l.addColorStop(y.offset,y.color)),l}throw Error("Unknown gradient type")}function ye(t){if(!this.backgroundColor)return;let e=this._getNonTransformedDimensions(),a=-e.x/2,n=-e.y/2,x=e.x,f=e.y,l=this.backgroundColor;if(typeof l=="string"||l instanceof CanvasGradient||l instanceof CanvasPattern)t.fillStyle=l,t.fillRect(a,n,x,f);else if(typeof l=="object"&&"type"in l&&(l.type==="linear"||l.type==="radial"))t.fillStyle=ge(t,l,a,n,x,f),t.fillRect(a,n,x,f);else if("source"in l&&(l.source instanceof HTMLImageElement||l.source instanceof HTMLCanvasElement))if(l.repeat){let y=t.createPattern(l.source,l.repeat);y&&(t.fillStyle=y,t.fillRect(a,n,x,f))}else t.drawImage(l.source,a,n,x,f);this._removeShadow(t)}function he(t){t.fabric&&t.fabric.on("object:added",e=>{let a=e.target;a&&a.name==="text"&&(a._renderBackground=ye)})}var H="fm-pixie-editor",E=new class{constructor(){this._container=document.createElement("div"),this._instance=null,this._container.classList.add(H),this._container.style.width="100%",this._container.style.height="85vh",this._container.style.minHeight="400px"}get className(){return`.${H}`}get canvas(){return this._instance?.state.canvasRef?.current}get tools(){return this._instance?.tools}isLoaded(){return!!this._instance}async _setConfig(t){this._instance?await this._instance.resetEditor(t):this._instance=await ce.Tf.init({...t,selector:this.className}),he(this._instance)}async show(t,e,a=e.firstChild){e.insertBefore(this._container,a),await this._setConfig(t),this._instance.open()}close(){this._container.parentNode?.removeChild(this._container)}},G=(t,e="image/png")=>fetch(`data:${e};base64,${t}`).then(a=>a.blob());function pe(t,e){if(t==="json")return new Blob([e],{type:"application/json"});if(t==="svg")return new Blob([e],{type:"image/svg+xml"});let a=`image/${t}`;if(e.startsWith("data:")){let n=c.oe(e);return n&&n.startsWith("image/")&&(a=n),G(e.replace(/data:image\/[^;]+;base64,/,""),c.ae(a))}return G(e,c.ae(a))}function be(t){return new Promise((e,a)=>{let n=new FileReader;n.onload=()=>e(n.result),n.onerror=()=>a(n.error??Error("Failed to convert blob to data URL")),n.readAsDataURL(t)})}var we=({visible:t,onClose:e,file:a,onSave:n,onSaveCopy:x})=>{let{t:f}=c.zn(),l=s.default.useRef(null),y=c.mr(),ve=c.Qi(),{options:Q,actions:_e}=c.B(),{i18n:z}=c.zn(),{config:u}=Q,{setCurrentMenuFile:J}=_e,{getFileData:V,resolveFileForEditByUrl:Y}=ve,[F,p]=s.default.useState(!1),[L,q]=s.default.useState(null),[U,X]=s.default.useState(""),[S,Z]=s.default.useState(!1),[K,D]=s.default.useState(!1),[r,N]=s.default.useState(null),j=s.default.useRef(!1),ee=s.default.useRef(void 0),te=s.default.useRef(void 0),ae=s.default.useRef("saveCopy"),M=s.default.useRef(void 0);ee.current=n,te.current=x,s.default.useEffect(()=>{a&&!j.current&&(async()=>{if(M.current!==a){if(typeof a=="object"){N(a);return}M.current=a,p(!0);try{if(a.startsWith("data:"))N({thumbnail:a,saveWithoutFolder:!0});else{let i=await Y(a);M.current===a&&N(i)}}catch{M.current===a&&(M.current=null),e?.()}finally{p(!1)}}})()},[a,e,Y]);let re=s.default.useCallback(async i=>{try{if(typeof i.thumbnail=="string"&&i.thumbnail.startsWith("data:"))return i.thumbnail;let o=await V(i.id,!0);if(!o)throw Error(f("Error loading image"));return new Promise(g=>{let d=new FileReader;d.onload=()=>g(d.result),d.readAsDataURL(o)})}catch(o){throw o}},[V,f]);s.default.useEffect(()=>{if(!L&&t&&r){let i=!1;return(async()=>{p(!0);try{let o=await re(r);if(!o||typeof o!="string"||o.trim()==="")throw Error("Invalid image data: empty or null");if(!o.startsWith("data:"))throw Error("Invalid image data: not a valid data URL");let g=o.match(/^data:([^;]+);base64,(.+)$/);if(!g)throw Error("Invalid image data: malformed data URL format");let[,d,m]=g;if(!d.startsWith("image/"))throw Error(`Invalid image data: unsupported MIME type ${d}`);if(m.length<10)throw Error("Invalid image data: base64 content too short");if(!/^[A-Za-z0-9+/]+=*$/.test(m))throw Error("Invalid image data: corrupted base64 content");if(!i){q(o);let _=c.Wr(r,"image/png");X(_.mimeType)}}catch(o){i||(y.error({id:"IMAGE_DOWNLOAD_FAILED",innerException:o,message:f("Error loading image"),placement:"bottomRight",data:{itemId:r?.id??void 0,itemName:r?.name??void 0,folderId:r?.folderId??null,thumbnail:r?.thumbnail}}),e?.())}finally{p(!1)}})(),()=>{i=!0}}},[r,re,L,e,f,t]);let ie=s.default.useCallback(async(i,o,g)=>{let d=await pe(g,i),m=c.ae(d.type||`image/${g}`),_=u?.compessorUrl??u?.compressorUrl;if(m.startsWith("image/"))try{let C=new File([d],o,{type:m}),b=await c.Si(C,{maxSizeMB:u?.compressMaxSize,maxWidthOrHeight:u?.compressMaxWidthOrHeight,mimeType:m,fileName:o,libURL:_,enableCompression:c.Jr(u,m)});d=b,m=b.type}catch{}return{blob:d,mimeType:m,thumbnailDataUrl:await be(d)}},[u]),T=s.default.useCallback(async(i,o,g,d)=>{let m=d==="save"?ee.current:te.current;if(!r||!m)return;let _=typeof r=="object"&&r?r:null,C=null;try{p(!0);let{blob:b,mimeType:w,thumbnailDataUrl:I}=await ie(i,o,g),k={...r,thumbnail:I,size:b.size,date:new Date().toISOString().split("T")[0],type:w,folderId:r.folderId||"",name:r.name||o,extension:r.extension||(r.name||o).split(".").pop()?.toLowerCase()||""};C=k;let A=await m(k,{blob:b,mimeType:w,thumbnail:I,mode:d});if(A)return p(!1),A;throw Error(f(d==="saveCopy"?"Failed to save image copy":"Failed to save changes"))}catch(b){let w=C??_;if(!b?.notificationShown){let I=c.U(b),k=c.H(I?.code,f)??I?.message??f(d==="saveCopy"?"Failed to save image copy":"Error saving image");y.error({id:d==="saveCopy"?"IMAGE_SAVE_COPY_FAILED":"IMAGE_SAVE_FAILED",message:k,placement:"bottomRight",data:{itemId:w?.id??void 0,itemName:w?.name??o,folderId:w?.folderId??null,thumbnail:w?.thumbnail},innerException:b})}p(!1)}},[r,y,ie,f]),oe=s.default.useCallback(async i=>{if(!E.isLoaded()||!r)return;ae.current=i;let o=r.name||"edited-image",g=c.Wr(r,U);try{await E.tools?.export.save(o.replace(/\.[^/.]+$/,""),g.pixieFormat,c.Gr.QUALITY)}catch{try{let m=E.canvas,_=m?m.toDataURL(g.mimeType):null;_&&await T(_,o,g.extension,i)}catch{}}},[r,U,T]),ne=s.default.useCallback(async()=>{if(L&&t&&S&&!j.current)try{j.current=!0;let i=l.current,o=0;for(;o<20&&(i.clientWidth===0||i.clientHeight===0);)await new Promise(h=>setTimeout(h,50)),o++;let g=u?.locale?u?.locale.replace("_","-"):"en",d=matchMedia("(prefers-color-scheme: dark)").matches?c.C:c.S,m=u?.theme==="system"?d:u?.theme,_=(u?.locale||z.language||"en").split("-")[0].split("_")[0],C=(z.getResourceBundle(_,"translation")||{}).pixie||{},b=h=>h.split(" ").map(B=>B.charAt(0).toUpperCase()+B.slice(1).toLowerCase()).join(" "),w={};Object.entries(C).forEach(([h,B])=>{let W=b(h);w[W]=B,w[h]=B});let I={[g]:w},k=c.Wr(r,U),A={selector:"#pixie-editor",baseUrl:se.n(u?.baseUrl||"",u?.assetsUrl||"assets/image-editor"),image:L,activeLanguage:g,languages:I,ui:{activeTheme:m,mode:"inline",forceOverlayModeOnMobile:!1,visible:!0,menubar:{replaceDefaultItems:!0,position:"top",items:[{type:"undoWidget",align:"left"},{type:"zoomWidget",align:"center",desktopOnly:!0},{type:"button",align:"right",desktopOnly:!0,icon:()=>(0,v.jsx)(me,{style:{fontSize:20}}),action:h=>{h.togglePanel("history")}},{type:"button",icon:()=>(0,v.jsx)(c.RefIcon$1,{style:{fontSize:20}}),align:"right",desktopOnly:!0,action:e}]},nav:{position:"top"}},tools:{export:{defaultFormat:k.pixieFormat,defaultQuality:c.Gr.QUALITY,defaultName:r?.name?.replace(/\.[^/.]+$/,"")||"image"},text:{replaceDefaultItems:!0,defaultText:"Handwriting",items:[{family:"Inter",src:"fonts/inter-v20-cyrillic_latin-regular.woff2"},{family:"Commissioner",src:"fonts/commissioner-v24-cyrillic_latin-regular.woff2"},{family:"Montserrat Light",src:"fonts/Montserrat-Light.woff2"},{family:"Montserrat Regular",src:"fonts/Montserrat-Regular.woff2"},{family:"Montserrat Bold",src:"fonts/Montserrat-Bold.woff2"},{family:"Montserrat Black",src:"fonts/Montserrat-Black.woff2"},{family:"Roboto Light",src:"fonts/Roboto-Light.woff2"},{family:"Roboto Regular",src:"fonts/Roboto-Regular.woff2"},{family:"Roboto Bold",src:"fonts/Roboto-Bold.woff2"},{family:"Roboto Black",src:"fonts/Roboto-Black.woff2"},{family:"Lato Light",src:"fonts/Lato-Light.woff2"},{family:"Lato Regular",src:"fonts/Lato-Regular.woff2"},{family:"Lato Bold",src:"fonts/Lato-Bold.woff2"},{family:"Lato Black",src:"fonts/Lato-Black.woff2"},{family:"Rubik Light",src:"fonts/Rubik-Light.woff2"},{family:"Rubik Regular",src:"fonts/Rubik-Regular.woff2"},{family:"Rubik Bold",src:"fonts/Rubik-Bold.woff2"},{family:"Rubik Black",src:"fonts/Rubik-Black.woff2"},{family:"Bebas Neue Light",src:"fonts/BebasNeueLight.woff2"},{family:"Bebas Neue Regular",src:"fonts/BebasNeueRegular.woff2"},{family:"Bebas Neue Book",src:"fonts/BebasNeueBook.woff2"},{family:"Bebas Neue Bold",src:"fonts/BebasNeueBold.woff2"},{family:"Fira Sans",src:"fonts/fira-sans-v11-latin-ext_latin_cyrillic-regular.woff2"},{family:"Lobster",src:"fonts/Lobster.woff2"},{family:"Pacifico",src:"fonts/pacifico-v23-cyrillic_latin-regular.woff2"},{family:"Playfair Display",src:"fonts/playfair-display-v40-cyrillic_latin-regular.woff2"},{family:"Oswald",src:"fonts/oswald-v57-cyrillic_latin-regular.woff2"},{family:"Caveat",src:"fonts/caveat-v23-cyrillic_latin-regular.woff2"}]}},onSave:async function(h,B,W){try{return p(!0),await T(h,B,W,ae.current)}catch(Re){throw p(!1),Re}}};try{D(!1),await E.show(A,l.current);let h=E.canvas;h&&h.focus(),D(!0),p(!1)}catch{}}catch(i){y.error({id:"EDITOR_INIT_FAILED",message:f("Error initializing editor"),placement:"bottomRight",innerException:i}),j.current=!1,e?.()}},[r,U,L,t,S,u?.locale,u?.theme,u?.baseUrl,u?.assetsUrl,e,T,y,z,f]);s.default.useEffect(()=>{t&&L&&S&&ne()},[t,L,S,ne]),s.default.useEffect(()=>{if(!t){try{E.close()}catch{}p(!1),q(null),X(""),j.current=!1,Z(!1),D(!1)}return()=>{try{E.close()}catch{}}},[t]);let xe=!!r?.id&&u?.features?.enableUpdateFile!==!1;return(0,v.jsx)(O.antd$Modal,{title:r?.name?f("Editing: {{name}}",{name:r.name}):f("Editing image"),open:t,closeIcon:null,onCancel:e,afterOpenChange:i=>Z(i),forceRender:!0,width:"100vw",getContainer:Q.getModalContainer,style:{top:0,height:"100vh",maxWidth:"none",padding:10},styles:{body:{height:"85vh",padding:0}},footer:[(0,v.jsx)(O.antd$Button,{onClick:e,disabled:!S||F,children:f("Cancel")},"cancel"),(0,v.jsx)(O.antd$Button,{type:"primary",onClick:()=>oe("saveCopy"),loading:F,children:f("Save as copy and choose")},"save-copy"),...xe?[(0,v.jsx)(O.antd$Button,{type:"primary",onClick:()=>oe("save"),loading:F,children:f("Save and choose")},"save")]:[]],mask:{closable:!1},destroyOnHidden:!1,afterClose:()=>{J&&J("")},children:(0,v.jsxs)("div",{ref:l,style:{position:"relative",width:"100%",height:"100%"},children:[t&&!K?(0,v.jsx)("div",{style:{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",background:"rgba(255,255,255,0.45)",backdropFilter:"blur(1px)",pointerEvents:"all",zIndex:10},children:(0,v.jsx)("span",{style:{fontSize:14,color:"#555"},children:f("Loading editor...")})}):null,F&&K&&(0,v.jsx)(c.r,{style:{position:"absolute",top:0,background:"var(--em-colorBgLayout)",zIndex:100,opacity:.7}})]})})};le.PixieEditor=we});
@@ -1 +1 @@
1
- __emailmaker__.define("static/core/98a65bf6.js",["require","exports","module","static/core/5dc34752.js","static/core/ad2a794d.js"],function(i,d,P){const S=i("./5dc34752.js"),p=i("./ad2a794d.js");var m={items_per_page:"/ page",jump_to:"Aller à",jump_to_confirm:"confirmer",page:"Page",prev_page:"Page précédente",next_page:"Page suivante",prev_5:"5 Pages précédentes",next_5:"5 Pages suivantes",prev_3:"3 Pages précédentes",next_3:"3 Pages suivantes",page_size:"taille de la page"};function n(t){"@babel/helpers - typeof";return n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(t)}function o(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(t);e&&(l=l.filter(function($){return Object.getOwnPropertyDescriptor(t,$).enumerable})),r.push.apply(r,l)}return r}function c(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?o(Object(r),!0).forEach(function(l){f(t,l,r[l])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach(function(l){Object.defineProperty(t,l,Object.getOwnPropertyDescriptor(r,l))})}return t}function f(t,e,r){return e=h(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function h(t){var e=b(t,"string");return n(e)=="symbol"?e:String(e)}function b(t,e){if(n(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var l=r.call(t,e||"default");if(n(l)!="object")return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var g=c(c({},p.commonLocale),{},{locale:"fr_FR",today:"Aujourd'hui",now:"Maintenant",backToToday:"Aujourd'hui",ok:"OK",clear:"Rétablir",week:"Semaine",month:"Mois",year:"Année",timeSelect:"Sélectionner l'heure",dateSelect:"Sélectionner la date",monthSelect:"Choisissez un mois",yearSelect:"Choisissez une année",decadeSelect:"Choisissez une décennie",dayFormat:"DD",previousMonth:"Mois précédent (PageUp)",nextMonth:"Mois suivant (PageDown)",previousYear:"Année précédente (Ctrl + gauche)",nextYear:"Année prochaine (Ctrl + droite)",previousDecade:"Décennie précédente",nextDecade:"Décennie suivante",previousCentury:"Siècle précédent",nextCentury:"Siècle suivant"}),u={placeholder:"Sélectionner l'heure",rangePlaceholder:["Heure de début","Heure de fin"]},s={lang:{placeholder:"Sélectionner une date",yearPlaceholder:"Sélectionner une année",quarterPlaceholder:"Sélectionner un trimestre",monthPlaceholder:"Sélectionner un mois",weekPlaceholder:"Sélectionner une semaine",rangePlaceholder:["Date de début","Date de fin"],rangeYearPlaceholder:["Année de début","Année de fin"],rangeMonthPlaceholder:["Mois de début","Mois de fin"],rangeWeekPlaceholder:["Semaine de début","Semaine de fin"],...g},timePickerLocale:{...u}},v=s,a="La valeur du champ ${label} n'est pas valide pour le type ${type}",y={locale:"fr",Pagination:m,DatePicker:s,TimePicker:u,Calendar:v,global:{close:"Fermer"},Table:{filterTitle:"Filtrer",filterConfirm:"OK",filterReset:"Réinitialiser",filterEmptyText:"Aucun filtre",filterCheckAll:"Tout sélectionner",filterSearchPlaceholder:"Chercher dans les filtres",emptyText:"Aucune donnée",selectAll:"Sélectionner la page actuelle",selectInvert:"Inverser la sélection de la page actuelle",selectNone:"Désélectionner toutes les données",selectionAll:"Sélectionner toutes les données",sortTitle:"Trier",expand:"Développer la ligne",collapse:"Réduire la ligne",triggerDesc:"Trier par ordre décroissant",triggerAsc:"Trier par ordre croissant",cancelSort:"Annuler le tri"},Tour:{Next:"Étape suivante",Previous:"Étape précédente",Finish:"Fin de la visite guidée"},Modal:{okText:"OK",cancelText:"Annuler",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Annuler"},Transfer:{titles:["",""],searchPlaceholder:"Rechercher",itemUnit:"élément",itemsUnit:"éléments",remove:"Désélectionner",selectCurrent:"Sélectionner la page actuelle",removeCurrent:"Désélectionner la page actuelle",selectAll:"Sélectionner toutes les données",removeAll:"Désélectionner toutes les données",selectInvert:"Inverser la sélection de la page actuelle"},Upload:{uploading:"Téléchargement...",removeFile:"Effacer le fichier",uploadError:"Erreur de téléchargement",previewFile:"Fichier de prévisualisation",downloadFile:"Télécharger un fichier"},Empty:{description:"Aucune donnée"},Icon:{icon:"icône"},Text:{edit:"Éditer",copy:"Copier",copied:"Copie effectuée",expand:"Développer"},Form:{optional:"(optionnel)",defaultValidateMessages:{default:"Erreur de validation pour le champ ${label}",required:"Le champ ${label} est obligatoire",enum:"La valeur du champ ${label} doit être parmi [${enum}]",whitespace:"La valeur du champ ${label} ne peut pas être vide",date:{format:"La valeur du champ ${label} n'est pas au format date",parse:"La valeur du champ ${label} ne peut pas être convertie vers une date",invalid:"La valeur du champ ${label} n'est pas une date valide"},types:{string:a,method:a,array:a,object:a,number:a,date:a,boolean:a,integer:a,float:a,regexp:a,email:a,url:a,hex:a},string:{len:"La taille du champ ${label} doit être de ${len} caractères",min:"La taille du champ ${label} doit être au minimum de ${min} caractères",max:"La taille du champ ${label} doit être au maximum de ${max} caractères",range:"La taille du champ ${label} doit être entre ${min} et ${max} caractères"},number:{len:"La valeur du champ ${label} doit être égale à ${len}",min:"La valeur du champ ${label} doit être plus grande que ${min}",max:"La valeur du champ ${label} doit être plus petit que ${max}",range:"La valeur du champ ${label} doit être entre ${min} et ${max}"},array:{len:"La taille du tableau ${label} doit être de ${len}",min:"La taille du tableau ${label} doit être au minimum de ${min}",max:"La taille du tableau ${label} doit être au maximum de ${max}",range:"La taille du tableau ${label} doit être entre ${min}-${max}"},pattern:{mismatch:"La valeur du champ ${label} ne correspond pas au modèle ${pattern}"}}}};d.default=y});
1
+ __emailmaker__.define("static/core/5c7e24b5.js",["require","exports","module","static/core/5dc34752.js","static/core/8ca96066.js"],function(i,d,P){const S=i("./5dc34752.js"),p=i("./8ca96066.js");var m={items_per_page:"/ page",jump_to:"Aller à",jump_to_confirm:"confirmer",page:"Page",prev_page:"Page précédente",next_page:"Page suivante",prev_5:"5 Pages précédentes",next_5:"5 Pages suivantes",prev_3:"3 Pages précédentes",next_3:"3 Pages suivantes",page_size:"taille de la page"};function n(t){"@babel/helpers - typeof";return n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(t)}function o(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(t);e&&(l=l.filter(function($){return Object.getOwnPropertyDescriptor(t,$).enumerable})),r.push.apply(r,l)}return r}function c(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?o(Object(r),!0).forEach(function(l){f(t,l,r[l])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach(function(l){Object.defineProperty(t,l,Object.getOwnPropertyDescriptor(r,l))})}return t}function f(t,e,r){return e=h(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function h(t){var e=b(t,"string");return n(e)=="symbol"?e:String(e)}function b(t,e){if(n(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var l=r.call(t,e||"default");if(n(l)!="object")return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var g=c(c({},p.commonLocale),{},{locale:"fr_FR",today:"Aujourd'hui",now:"Maintenant",backToToday:"Aujourd'hui",ok:"OK",clear:"Rétablir",week:"Semaine",month:"Mois",year:"Année",timeSelect:"Sélectionner l'heure",dateSelect:"Sélectionner la date",monthSelect:"Choisissez un mois",yearSelect:"Choisissez une année",decadeSelect:"Choisissez une décennie",dayFormat:"DD",previousMonth:"Mois précédent (PageUp)",nextMonth:"Mois suivant (PageDown)",previousYear:"Année précédente (Ctrl + gauche)",nextYear:"Année prochaine (Ctrl + droite)",previousDecade:"Décennie précédente",nextDecade:"Décennie suivante",previousCentury:"Siècle précédent",nextCentury:"Siècle suivant"}),u={placeholder:"Sélectionner l'heure",rangePlaceholder:["Heure de début","Heure de fin"]},s={lang:{placeholder:"Sélectionner une date",yearPlaceholder:"Sélectionner une année",quarterPlaceholder:"Sélectionner un trimestre",monthPlaceholder:"Sélectionner un mois",weekPlaceholder:"Sélectionner une semaine",rangePlaceholder:["Date de début","Date de fin"],rangeYearPlaceholder:["Année de début","Année de fin"],rangeMonthPlaceholder:["Mois de début","Mois de fin"],rangeWeekPlaceholder:["Semaine de début","Semaine de fin"],...g},timePickerLocale:{...u}},v=s,a="La valeur du champ ${label} n'est pas valide pour le type ${type}",y={locale:"fr",Pagination:m,DatePicker:s,TimePicker:u,Calendar:v,global:{close:"Fermer"},Table:{filterTitle:"Filtrer",filterConfirm:"OK",filterReset:"Réinitialiser",filterEmptyText:"Aucun filtre",filterCheckAll:"Tout sélectionner",filterSearchPlaceholder:"Chercher dans les filtres",emptyText:"Aucune donnée",selectAll:"Sélectionner la page actuelle",selectInvert:"Inverser la sélection de la page actuelle",selectNone:"Désélectionner toutes les données",selectionAll:"Sélectionner toutes les données",sortTitle:"Trier",expand:"Développer la ligne",collapse:"Réduire la ligne",triggerDesc:"Trier par ordre décroissant",triggerAsc:"Trier par ordre croissant",cancelSort:"Annuler le tri"},Tour:{Next:"Étape suivante",Previous:"Étape précédente",Finish:"Fin de la visite guidée"},Modal:{okText:"OK",cancelText:"Annuler",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Annuler"},Transfer:{titles:["",""],searchPlaceholder:"Rechercher",itemUnit:"élément",itemsUnit:"éléments",remove:"Désélectionner",selectCurrent:"Sélectionner la page actuelle",removeCurrent:"Désélectionner la page actuelle",selectAll:"Sélectionner toutes les données",removeAll:"Désélectionner toutes les données",selectInvert:"Inverser la sélection de la page actuelle"},Upload:{uploading:"Téléchargement...",removeFile:"Effacer le fichier",uploadError:"Erreur de téléchargement",previewFile:"Fichier de prévisualisation",downloadFile:"Télécharger un fichier"},Empty:{description:"Aucune donnée"},Icon:{icon:"icône"},Text:{edit:"Éditer",copy:"Copier",copied:"Copie effectuée",expand:"Développer"},Form:{optional:"(optionnel)",defaultValidateMessages:{default:"Erreur de validation pour le champ ${label}",required:"Le champ ${label} est obligatoire",enum:"La valeur du champ ${label} doit être parmi [${enum}]",whitespace:"La valeur du champ ${label} ne peut pas être vide",date:{format:"La valeur du champ ${label} n'est pas au format date",parse:"La valeur du champ ${label} ne peut pas être convertie vers une date",invalid:"La valeur du champ ${label} n'est pas une date valide"},types:{string:a,method:a,array:a,object:a,number:a,date:a,boolean:a,integer:a,float:a,regexp:a,email:a,url:a,hex:a},string:{len:"La taille du champ ${label} doit être de ${len} caractères",min:"La taille du champ ${label} doit être au minimum de ${min} caractères",max:"La taille du champ ${label} doit être au maximum de ${max} caractères",range:"La taille du champ ${label} doit être entre ${min} et ${max} caractères"},number:{len:"La valeur du champ ${label} doit être égale à ${len}",min:"La valeur du champ ${label} doit être plus grande que ${min}",max:"La valeur du champ ${label} doit être plus petit que ${max}",range:"La valeur du champ ${label} doit être entre ${min} et ${max}"},array:{len:"La taille du tableau ${label} doit être de ${len}",min:"La taille du tableau ${label} doit être au minimum de ${min}",max:"La taille du tableau ${label} doit être au maximum de ${max}",range:"La taille du tableau ${label} doit être entre ${min}-${max}"},pattern:{mismatch:"La valeur du champ ${label} ne correspond pas au modèle ${pattern}"}}}};d.default=y});
@@ -1,4 +1,4 @@
1
- __emailmaker__.define("static/core/50109143.js",["require","exports","module","static/core/5dc34752.js","static/core/ad2a794d.js","react","react/jsx-runtime","react-dom","react-dom/client"],function(Xr,r0,dM){const Gr=Xr("./5dc34752.js"),_t=Xr("./ad2a794d.js");let C=Xr("react");C=Gr.__toESM(C);let x=Xr("react/jsx-runtime"),pr=Xr("react-dom");pr=Gr.__toESM(pr);let n0=Xr("react-dom/client");_t.init__polyfill_node_global();var Ct=[],ft=[],i0=typeof Uint8Array<"u"?Uint8Array:Array,Ma=!1;function Lc(){Ma=!0;for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t=0,r=e.length;t<r;++t)Ct[t]=e[t],ft[e.charCodeAt(t)]=t;ft[45]=62,ft[95]=63}function o0(e){Ma||Lc();var t,r,n,i,f,a,o=e.length;if(o%4>0)throw new Error("Invalid string. Length must be a multiple of 4");f=e[o-2]==="="?2:e[o-1]==="="?1:0,a=new i0(o*3/4-f),n=f>0?o-4:o;var c=0;for(t=0,r=0;t<n;t+=4,r+=3)i=ft[e.charCodeAt(t)]<<18|ft[e.charCodeAt(t+1)]<<12|ft[e.charCodeAt(t+2)]<<6|ft[e.charCodeAt(t+3)],a[c++]=i>>16&255,a[c++]=i>>8&255,a[c++]=i&255;return f===2?(i=ft[e.charCodeAt(t)]<<2|ft[e.charCodeAt(t+1)]>>4,a[c++]=i&255):f===1&&(i=ft[e.charCodeAt(t)]<<10|ft[e.charCodeAt(t+1)]<<4|ft[e.charCodeAt(t+2)]>>2,a[c++]=i>>8&255,a[c++]=i&255),a}function a0(e){return Ct[e>>18&63]+Ct[e>>12&63]+Ct[e>>6&63]+Ct[e&63]}function s0(e,t,r){for(var n,i=[],f=t;f<r;f+=3)n=(e[f]<<16)+(e[f+1]<<8)+e[f+2],i.push(a0(n));return i.join("")}function Fc(e){Ma||Lc();for(var t,r=e.length,n=r%3,i="",f=[],a=16383,o=0,c=r-n;o<c;o+=a)f.push(s0(e,o,o+a>c?c:o+a));return n===1?(t=e[r-1],i+=Ct[t>>2],i+=Ct[t<<4&63],i+="=="):n===2&&(t=(e[r-2]<<8)+e[r-1],i+=Ct[t>>10],i+=Ct[t>>4&63],i+=Ct[t<<2&63],i+="="),f.push(i),f.join("")}function Ii(e,t,r,n,i){var f,a,o=i*8-n-1,c=(1<<o)-1,u=c>>1,s=-7,l=r?i-1:0,h=r?-1:1,d=e[t+l];for(l+=h,f=d&(1<<-s)-1,d>>=-s,s+=o;s>0;f=f*256+e[t+l],l+=h,s-=8);for(a=f&(1<<-s)-1,f>>=-s,s+=n;s>0;a=a*256+e[t+l],l+=h,s-=8);if(f===0)f=1-u;else{if(f===c)return a?NaN:(d?-1:1)*(1/0);a=a+Math.pow(2,n),f=f-u}return(d?-1:1)*a*Math.pow(2,f-n)}function Nc(e,t,r,n,i,f){var a,o,c,u=f*8-i-1,s=(1<<u)-1,l=s>>1,h=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,d=n?0:f-1,g=n?1:-1,p=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(o=isNaN(t)?1:0,a=s):(a=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-a))<1&&(a--,c*=2),a+l>=1?t+=h/c:t+=h*Math.pow(2,1-l),t*c>=2&&(a++,c/=2),a+l>=s?(o=0,a=s):a+l>=1?(o=(t*c-1)*Math.pow(2,i),a=a+l):(o=t*Math.pow(2,l-1)*Math.pow(2,i),a=0));i>=8;e[r+d]=o&255,d+=g,o/=256,i-=8);for(a=a<<i|o,u+=i;u>0;e[r+d]=a&255,d+=g,a/=256,u-=8);e[r+d-g]|=p*128}var l0={}.toString,Bc=Array.isArray||function(e){return l0.call(e)=="[object Array]"},fM=50;re.TYPED_ARRAY_SUPPORT=_t._polyfill_node_global_default.TYPED_ARRAY_SUPPORT!==void 0?_t._polyfill_node_global_default.TYPED_ARRAY_SUPPORT:!0;var pM=Ri();function Ri(){return re.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function It(e,t){if(Ri()<t)throw new RangeError("Invalid typed array length");return re.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t),e.__proto__=re.prototype):(e===null&&(e=new re(t)),e.length=t),e}function re(e,t,r){if(!re.TYPED_ARRAY_SUPPORT&&!(this instanceof re))return new re(e,t,r);if(typeof e=="number"){if(typeof t=="string")throw new Error("If encoding is specified then the first argument must be a string");return Aa(this,e)}return Vc(this,e,t,r)}re.poolSize=8192,re._augment=function(e){return e.__proto__=re.prototype,e};function Vc(e,t,r,n){if(typeof t=="number")throw new TypeError('"value" argument must not be a number');return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer?h0(e,t,r,n):typeof t=="string"?u0(e,t,r):d0(e,t)}re.from=function(e,t,r){return Vc(null,e,t,r)},re.TYPED_ARRAY_SUPPORT&&(re.prototype.__proto__=Uint8Array.prototype,re.__proto__=Uint8Array,typeof Symbol<"u"&&Symbol.species&&re[Symbol.species]);function Hc(e){if(typeof e!="number")throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function c0(e,t,r,n){return Hc(t),t<=0?It(e,t):r!==void 0?typeof n=="string"?It(e,t).fill(r,n):It(e,t).fill(r):It(e,t)}re.alloc=function(e,t,r){return c0(null,e,t,r)};function Aa(e,t){if(Hc(t),e=It(e,t<0?0:Ra(t)|0),!re.TYPED_ARRAY_SUPPORT)for(var r=0;r<t;++r)e[r]=0;return e}re.allocUnsafe=function(e){return Aa(null,e)},re.allocUnsafeSlow=function(e){return Aa(null,e)};function u0(e,t,r){if((typeof r!="string"||r==="")&&(r="utf8"),!re.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var n=$c(t,r)|0;e=It(e,n);var i=e.write(t,r);return i!==n&&(e=e.slice(0,i)),e}function Ia(e,t){var r=t.length<0?0:Ra(t.length)|0;e=It(e,r);for(var n=0;n<r;n+=1)e[n]=t[n]&255;return e}function h0(e,t,r,n){if(t.byteLength,r<0||t.byteLength<r)throw new RangeError("'offset' is out of bounds");if(t.byteLength<r+(n||0))throw new RangeError("'length' is out of bounds");return r===void 0&&n===void 0?t=new Uint8Array(t):n===void 0?t=new Uint8Array(t,r):t=new Uint8Array(t,r,n),re.TYPED_ARRAY_SUPPORT?(e=t,e.__proto__=re.prototype):e=Ia(e,t),e}function d0(e,t){if(St(t)){var r=Ra(t.length)|0;return e=It(e,r),e.length===0||t.copy(e,0,0,r),e}if(t){if(typeof ArrayBuffer<"u"&&t.buffer instanceof ArrayBuffer||"length"in t)return typeof t.length!="number"||M0(t.length)?It(e,0):Ia(e,t);if(t.type==="Buffer"&&Bc(t.data))return Ia(e,t.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function Ra(e){if(e>=Ri())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Ri().toString(16)+" bytes");return e|0}re.isBuffer=A0;function St(e){return!!(e!=null&&e._isBuffer)}re.compare=function(t,r){if(!St(t)||!St(r))throw new TypeError("Arguments must be Buffers");if(t===r)return 0;for(var n=t.length,i=r.length,f=0,a=Math.min(n,i);f<a;++f)if(t[f]!==r[f]){n=t[f],i=r[f];break}return n<i?-1:i<n?1:0},re.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},re.concat=function(t,r){if(!Bc(t))throw new TypeError('"list" argument must be an Array of Buffers');if(t.length===0)return re.alloc(0);var n;if(r===void 0)for(r=0,n=0;n<t.length;++n)r+=t[n].length;var i=re.allocUnsafe(r),f=0;for(n=0;n<t.length;++n){var a=t[n];if(!St(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(i,f),f+=a.length}return i};function $c(e,t){if(St(e))return e.length;if(typeof ArrayBuffer<"u"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;typeof e!="string"&&(e=""+e);var r=e.length;if(r===0)return 0;for(var n=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return Li(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return Jc(e).length;default:if(n)return Li(e).length;t=(""+t).toLowerCase(),n=!0}}re.byteLength=$c;function f0(e,t,r){var n=!1;if((t===void 0||t<0)&&(t=0),t>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,t>>>=0,r<=t))return"";for(e||(e="utf8");;)switch(e){case"hex":return C0(this,t,r);case"utf8":case"utf-8":return Xc(this,t,r);case"ascii":return w0(this,t,r);case"latin1":case"binary":return _0(this,t,r);case"base64":return y0(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return S0(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}re.prototype._isBuffer=!0;function gr(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}re.prototype.swap16=function(){var t=this.length;if(t%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<t;r+=2)gr(this,r,r+1);return this},re.prototype.swap32=function(){var t=this.length;if(t%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<t;r+=4)gr(this,r,r+3),gr(this,r+1,r+2);return this},re.prototype.swap64=function(){var t=this.length;if(t%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<t;r+=8)gr(this,r,r+7),gr(this,r+1,r+6),gr(this,r+2,r+5),gr(this,r+3,r+4);return this},re.prototype.toString=function(){var t=this.length|0;return t===0?"":arguments.length===0?Xc(this,0,t):f0.apply(this,arguments)},re.prototype.equals=function(t){if(!St(t))throw new TypeError("Argument must be a Buffer");return this===t?!0:re.compare(this,t)===0},re.prototype.inspect=function(){var t="",r=50;return this.length>0&&(t=this.toString("hex",0,r).match(/.{2}/g).join(" "),this.length>r&&(t+=" ... ")),"<Buffer "+t+">"},re.prototype.compare=function(t,r,n,i,f){if(!St(t))throw new TypeError("Argument must be a Buffer");if(r===void 0&&(r=0),n===void 0&&(n=t?t.length:0),i===void 0&&(i=0),f===void 0&&(f=this.length),r<0||n>t.length||i<0||f>this.length)throw new RangeError("out of range index");if(i>=f&&r>=n)return 0;if(i>=f)return-1;if(r>=n)return 1;if(r>>>=0,n>>>=0,i>>>=0,f>>>=0,this===t)return 0;for(var a=f-i,o=n-r,c=Math.min(a,o),u=this.slice(i,f),s=t.slice(r,n),l=0;l<c;++l)if(u[l]!==s[l]){a=u[l],o=s[l];break}return a<o?-1:o<a?1:0};function Wc(e,t,r,n,i){if(e.length===0)return-1;if(typeof r=="string"?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return-1;r=e.length-1}else if(r<0)if(i)r=0;else return-1;if(typeof t=="string"&&(t=re.from(t,n)),St(t))return t.length===0?-1:Uc(e,t,r,n,i);if(typeof t=="number")return t=t&255,re.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):Uc(e,[t],r,n,i);throw new TypeError("val must be string, number or Buffer")}function Uc(e,t,r,n,i){var f=1,a=e.length,o=t.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(e.length<2||t.length<2)return-1;f=2,a/=2,o/=2,r/=2}function c(d,g){return f===1?d[g]:d.readUInt16BE(g*f)}var u;if(i){var s=-1;for(u=r;u<a;u++)if(c(e,u)===c(t,s===-1?0:u-s)){if(s===-1&&(s=u),u-s+1===o)return s*f}else s!==-1&&(u-=u-s),s=-1}else for(r+o>a&&(r=a-o),u=r;u>=0;u--){for(var l=!0,h=0;h<o;h++)if(c(e,u+h)!==c(t,h)){l=!1;break}if(l)return u}return-1}re.prototype.includes=function(t,r,n){return this.indexOf(t,r,n)!==-1},re.prototype.indexOf=function(t,r,n){return Wc(this,t,r,n,!0)},re.prototype.lastIndexOf=function(t,r,n){return Wc(this,t,r,n,!1)};function p0(e,t,r,n){r=Number(r)||0;var i=e.length-r;n?(n=Number(n),n>i&&(n=i)):n=i;var f=t.length;if(f%2!==0)throw new TypeError("Invalid hex string");n>f/2&&(n=f/2);for(var a=0;a<n;++a){var o=parseInt(t.substr(a*2,2),16);if(isNaN(o))return a;e[r+a]=o}return a}function g0(e,t,r,n){return Fi(Li(t,e.length-r),e,r,n)}function Yc(e,t,r,n){return Fi(O0(t),e,r,n)}function m0(e,t,r,n){return Yc(e,t,r,n)}function v0(e,t,r,n){return Fi(Jc(t),e,r,n)}function b0(e,t,r,n){return Fi(P0(t,e.length-r),e,r,n)}re.prototype.write=function(t,r,n,i){if(r===void 0)i="utf8",n=this.length,r=0;else if(n===void 0&&typeof r=="string")i=r,n=this.length,r=0;else if(isFinite(r))r=r|0,isFinite(n)?(n=n|0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var f=this.length-r;if((n===void 0||n>f)&&(n=f),t.length>0&&(n<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var a=!1;;)switch(i){case"hex":return p0(this,t,r,n);case"utf8":case"utf-8":return g0(this,t,r,n);case"ascii":return Yc(this,t,r,n);case"latin1":case"binary":return m0(this,t,r,n);case"base64":return v0(this,t,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return b0(this,t,r,n);default:if(a)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),a=!0}},re.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function y0(e,t,r){return t===0&&r===e.length?Fc(e):Fc(e.slice(t,r))}function Xc(e,t,r){r=Math.min(e.length,r);for(var n=[],i=t;i<r;){var f=e[i],a=null,o=f>239?4:f>223?3:f>191?2:1;if(i+o<=r){var c,u,s,l;switch(o){case 1:f<128&&(a=f);break;case 2:c=e[i+1],(c&192)===128&&(l=(f&31)<<6|c&63,l>127&&(a=l));break;case 3:c=e[i+1],u=e[i+2],(c&192)===128&&(u&192)===128&&(l=(f&15)<<12|(c&63)<<6|u&63,l>2047&&(l<55296||l>57343)&&(a=l));break;case 4:c=e[i+1],u=e[i+2],s=e[i+3],(c&192)===128&&(u&192)===128&&(s&192)===128&&(l=(f&15)<<18|(c&63)<<12|(u&63)<<6|s&63,l>65535&&l<1114112&&(a=l))}}a===null?(a=65533,o=1):a>65535&&(a-=65536,n.push(a>>>10&1023|55296),a=56320|a&1023),n.push(a),i+=o}return x0(n)}var Gc=4096;function x0(e){var t=e.length;if(t<=Gc)return String.fromCharCode.apply(String,e);for(var r="",n=0;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=Gc));return r}function w0(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(e[i]&127);return n}function _0(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(e[i]);return n}function C0(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var i="",f=t;f<r;++f)i+=E0(e[f]);return i}function S0(e,t,r){for(var n=e.slice(t,r),i="",f=0;f<n.length;f+=2)i+=String.fromCharCode(n[f]+n[f+1]*256);return i}re.prototype.slice=function(t,r){var n=this.length;t=~~t,r=r===void 0?n:~~r,t<0?(t+=n,t<0&&(t=0)):t>n&&(t=n),r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),r<t&&(r=t);var i;if(re.TYPED_ARRAY_SUPPORT)i=this.subarray(t,r),i.__proto__=re.prototype;else{var f=r-t;i=new re(f,void 0);for(var a=0;a<f;++a)i[a]=this[a+t]}return i};function Be(e,t,r){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}re.prototype.readUIntLE=function(t,r,n){t=t|0,r=r|0,n||Be(t,r,this.length);for(var i=this[t],f=1,a=0;++a<r&&(f*=256);)i+=this[t+a]*f;return i},re.prototype.readUIntBE=function(t,r,n){t=t|0,r=r|0,n||Be(t,r,this.length);for(var i=this[t+--r],f=1;r>0&&(f*=256);)i+=this[t+--r]*f;return i},re.prototype.readUInt8=function(t,r){return r||Be(t,1,this.length),this[t]},re.prototype.readUInt16LE=function(t,r){return r||Be(t,2,this.length),this[t]|this[t+1]<<8},re.prototype.readUInt16BE=function(t,r){return r||Be(t,2,this.length),this[t]<<8|this[t+1]},re.prototype.readUInt32LE=function(t,r){return r||Be(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+this[t+3]*16777216},re.prototype.readUInt32BE=function(t,r){return r||Be(t,4,this.length),this[t]*16777216+(this[t+1]<<16|this[t+2]<<8|this[t+3])},re.prototype.readIntLE=function(t,r,n){t=t|0,r=r|0,n||Be(t,r,this.length);for(var i=this[t],f=1,a=0;++a<r&&(f*=256);)i+=this[t+a]*f;return f*=128,i>=f&&(i-=Math.pow(2,8*r)),i},re.prototype.readIntBE=function(t,r,n){t=t|0,r=r|0,n||Be(t,r,this.length);for(var i=r,f=1,a=this[t+--i];i>0&&(f*=256);)a+=this[t+--i]*f;return f*=128,a>=f&&(a-=Math.pow(2,8*r)),a},re.prototype.readInt8=function(t,r){return r||Be(t,1,this.length),this[t]&128?(255-this[t]+1)*-1:this[t]},re.prototype.readInt16LE=function(t,r){r||Be(t,2,this.length);var n=this[t]|this[t+1]<<8;return n&32768?n|4294901760:n},re.prototype.readInt16BE=function(t,r){r||Be(t,2,this.length);var n=this[t+1]|this[t]<<8;return n&32768?n|4294901760:n},re.prototype.readInt32LE=function(t,r){return r||Be(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},re.prototype.readInt32BE=function(t,r){return r||Be(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},re.prototype.readFloatLE=function(t,r){return r||Be(t,4,this.length),Ii(this,t,!0,23,4)},re.prototype.readFloatBE=function(t,r){return r||Be(t,4,this.length),Ii(this,t,!1,23,4)},re.prototype.readDoubleLE=function(t,r){return r||Be(t,8,this.length),Ii(this,t,!0,52,8)},re.prototype.readDoubleBE=function(t,r){return r||Be(t,8,this.length),Ii(this,t,!1,52,8)};function et(e,t,r,n,i,f){if(!St(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<f)throw new RangeError('"value" argument is out of bounds');if(r+n>e.length)throw new RangeError("Index out of range")}re.prototype.writeUIntLE=function(t,r,n,i){if(t=+t,r=r|0,n=n|0,!i){var f=Math.pow(2,8*n)-1;et(this,t,r,n,f,0)}var a=1,o=0;for(this[r]=t&255;++o<n&&(a*=256);)this[r+o]=t/a&255;return r+n},re.prototype.writeUIntBE=function(t,r,n,i){if(t=+t,r=r|0,n=n|0,!i){var f=Math.pow(2,8*n)-1;et(this,t,r,n,f,0)}var a=n-1,o=1;for(this[r+a]=t&255;--a>=0&&(o*=256);)this[r+a]=t/o&255;return r+n},re.prototype.writeUInt8=function(t,r,n){return t=+t,r=r|0,n||et(this,t,r,1,255,0),re.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[r]=t&255,r+1};function Di(e,t,r,n){t<0&&(t=65535+t+1);for(var i=0,f=Math.min(e.length-r,2);i<f;++i)e[r+i]=(t&255<<8*(n?i:1-i))>>>(n?i:1-i)*8}re.prototype.writeUInt16LE=function(t,r,n){return t=+t,r=r|0,n||et(this,t,r,2,65535,0),re.TYPED_ARRAY_SUPPORT?(this[r]=t&255,this[r+1]=t>>>8):Di(this,t,r,!0),r+2},re.prototype.writeUInt16BE=function(t,r,n){return t=+t,r=r|0,n||et(this,t,r,2,65535,0),re.TYPED_ARRAY_SUPPORT?(this[r]=t>>>8,this[r+1]=t&255):Di(this,t,r,!1),r+2};function zi(e,t,r,n){t<0&&(t=4294967295+t+1);for(var i=0,f=Math.min(e.length-r,4);i<f;++i)e[r+i]=t>>>(n?i:3-i)*8&255}re.prototype.writeUInt32LE=function(t,r,n){return t=+t,r=r|0,n||et(this,t,r,4,4294967295,0),re.TYPED_ARRAY_SUPPORT?(this[r+3]=t>>>24,this[r+2]=t>>>16,this[r+1]=t>>>8,this[r]=t&255):zi(this,t,r,!0),r+4},re.prototype.writeUInt32BE=function(t,r,n){return t=+t,r=r|0,n||et(this,t,r,4,4294967295,0),re.TYPED_ARRAY_SUPPORT?(this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=t&255):zi(this,t,r,!1),r+4},re.prototype.writeIntLE=function(t,r,n,i){if(t=+t,r=r|0,!i){var f=Math.pow(2,8*n-1);et(this,t,r,n,f-1,-f)}var a=0,o=1,c=0;for(this[r]=t&255;++a<n&&(o*=256);)t<0&&c===0&&this[r+a-1]!==0&&(c=1),this[r+a]=(t/o>>0)-c&255;return r+n},re.prototype.writeIntBE=function(t,r,n,i){if(t=+t,r=r|0,!i){var f=Math.pow(2,8*n-1);et(this,t,r,n,f-1,-f)}var a=n-1,o=1,c=0;for(this[r+a]=t&255;--a>=0&&(o*=256);)t<0&&c===0&&this[r+a+1]!==0&&(c=1),this[r+a]=(t/o>>0)-c&255;return r+n},re.prototype.writeInt8=function(t,r,n){return t=+t,r=r|0,n||et(this,t,r,1,127,-128),re.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[r]=t&255,r+1},re.prototype.writeInt16LE=function(t,r,n){return t=+t,r=r|0,n||et(this,t,r,2,32767,-32768),re.TYPED_ARRAY_SUPPORT?(this[r]=t&255,this[r+1]=t>>>8):Di(this,t,r,!0),r+2},re.prototype.writeInt16BE=function(t,r,n){return t=+t,r=r|0,n||et(this,t,r,2,32767,-32768),re.TYPED_ARRAY_SUPPORT?(this[r]=t>>>8,this[r+1]=t&255):Di(this,t,r,!1),r+2},re.prototype.writeInt32LE=function(t,r,n){return t=+t,r=r|0,n||et(this,t,r,4,2147483647,-2147483648),re.TYPED_ARRAY_SUPPORT?(this[r]=t&255,this[r+1]=t>>>8,this[r+2]=t>>>16,this[r+3]=t>>>24):zi(this,t,r,!0),r+4},re.prototype.writeInt32BE=function(t,r,n){return t=+t,r=r|0,n||et(this,t,r,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),re.TYPED_ARRAY_SUPPORT?(this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=t&255):zi(this,t,r,!1),r+4};function qc(e,t,r,n,i,f){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function Kc(e,t,r,n,i){return i||qc(e,t,r,4),Nc(e,t,r,n,23,4),r+4}re.prototype.writeFloatLE=function(t,r,n){return Kc(this,t,r,!0,n)},re.prototype.writeFloatBE=function(t,r,n){return Kc(this,t,r,!1,n)};function Zc(e,t,r,n,i){return i||qc(e,t,r,8),Nc(e,t,r,n,52,8),r+8}re.prototype.writeDoubleLE=function(t,r,n){return Zc(this,t,r,!0,n)},re.prototype.writeDoubleBE=function(t,r,n){return Zc(this,t,r,!1,n)},re.prototype.copy=function(t,r,n,i){if(n||(n=0),!i&&i!==0&&(i=this.length),r>=t.length&&(r=t.length),r||(r=0),i>0&&i<n&&(i=n),i===n||t.length===0||this.length===0)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),t.length-r<i-n&&(i=t.length-r+n);var f=i-n,a;if(this===t&&n<r&&r<i)for(a=f-1;a>=0;--a)t[a+r]=this[a+n];else if(f<1e3||!re.TYPED_ARRAY_SUPPORT)for(a=0;a<f;++a)t[a+r]=this[a+n];else Uint8Array.prototype.set.call(t,this.subarray(n,n+f),r);return f},re.prototype.fill=function(t,r,n,i){if(typeof t=="string"){if(typeof r=="string"?(i=r,r=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),t.length===1){var f=t.charCodeAt(0);f<256&&(t=f)}if(i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!re.isEncoding(i))throw new TypeError("Unknown encoding: "+i)}else typeof t=="number"&&(t=t&255);if(r<0||this.length<r||this.length<n)throw new RangeError("Out of range index");if(n<=r)return this;r=r>>>0,n=n===void 0?this.length:n>>>0,t||(t=0);var a;if(typeof t=="number")for(a=r;a<n;++a)this[a]=t;else{var o=St(t)?t:Li(new re(t,i).toString()),c=o.length;for(a=0;a<n-r;++a)this[a+r]=o[a%c]}return this};var k0=/[^+\/0-9A-Za-z-_]/g;function T0(e){if(e=j0(e).replace(k0,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function j0(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function E0(e){return e<16?"0"+e.toString(16):e.toString(16)}function Li(e,t){t=t||1/0;for(var r,n=e.length,i=null,f=[],a=0;a<n;++a){if(r=e.charCodeAt(a),r>55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&f.push(239,191,189);continue}else if(a+1===n){(t-=3)>-1&&f.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&f.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(t-=3)>-1&&f.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;f.push(r)}else if(r<2048){if((t-=2)<0)break;f.push(r>>6|192,r&63|128)}else if(r<65536){if((t-=3)<0)break;f.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((t-=4)<0)break;f.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return f}function O0(e){for(var t=[],r=0;r<e.length;++r)t.push(e.charCodeAt(r)&255);return t}function P0(e,t){for(var r,n,i,f=[],a=0;a<e.length&&!((t-=2)<0);++a)r=e.charCodeAt(a),n=r>>8,i=r%256,f.push(i),f.push(n);return f}function Jc(e){return o0(T0(e))}function Fi(e,t,r,n){for(var i=0;i<n&&!(i+r>=t.length||i>=e.length);++i)t[i+r]=e[i];return i}function M0(e){return e!==e}function A0(e){return e!=null&&(!!e._isBuffer||Qc(e)||I0(e))}function Qc(e){return!!e.constructor&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}function I0(e){return typeof e.readFloatLE=="function"&&typeof e.slice=="function"&&Qc(e.slice(0,0))}function R0(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var D0=Gr.__esmMin((()=>{})),z0=Gr.__exportAll({default:()=>tu}),eu,tu,L0=Gr.__esmMin((()=>{D0(),eu=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,tu=R0(function(e){return eu.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91})}));_t.init__polyfill_node_global();var F0=Object.defineProperty,N0=(e,t,r)=>t in e?F0(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,xe=(e,t,r)=>(N0(e,typeof t!="symbol"?t+"":t,r),r);function B0(e,t){t===void 0&&(t={});var r=t.insertAt;if(!(!e||typeof document>"u")){var n=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");i.type="text/css",r==="top"&&n.firstChild?n.insertBefore(i,n.firstChild):n.appendChild(i),i.styleSheet?i.styleSheet.cssText=e:i.appendChild(document.createTextNode(e))}}function Da(e,t){return t===void 0&&(t=15),+parseFloat(Number(e).toPrecision(t))}function kt(e){var t=e.toString().split(/[eE]/),r=(t[0].split(".")[1]||"").length-+(t[1]||0);return r>0?r:0}function Pn(e){if(e.toString().indexOf("e")===-1)return Number(e.toString().replace(".",""));var t=kt(e);return t>0?Da(Number(e)*Math.pow(10,t)):Number(e)}function za(e){nu&&(e>Number.MAX_SAFE_INTEGER||e<Number.MIN_SAFE_INTEGER)}function Ni(e){return function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];var n=t[0];return t.slice(1).reduce(function(i,f){return e(i,f)},n)}}var Zt=Ni(function(e,t){var r=Pn(e),n=Pn(t),i=kt(e)+kt(t),f=r*n;return za(f),f/Math.pow(10,i)}),V0=Ni(function(e,t){var r=Math.pow(10,Math.max(kt(e),kt(t)));return(Zt(e,r)+Zt(t,r))/r}),H0=Ni(function(e,t){var r=Math.pow(10,Math.max(kt(e),kt(t)));return(Zt(e,r)-Zt(t,r))/r}),ru=Ni(function(e,t){var r=Pn(e),n=Pn(t);return za(r),za(n),Zt(r/n,Da(Math.pow(10,kt(t)-kt(e))))});function $0(e,t){var r=Math.pow(10,t),n=ru(Math.round(Math.abs(Zt(e,r))),r);return e<0&&n!==0&&(n=Zt(n,-1)),n}var nu=!0;function W0(e){e===void 0&&(e=!0),nu=e}var La={strip:Da,plus:V0,minus:H0,times:Zt,divide:ru,round:$0,digitLength:kt,float2Fixed:Pn,enableBoundaryChecking:W0},iu=Object.prototype.toString;function ou(e){switch(iu.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return mr(e,Error)}}function qr(e,t){return iu.call(e)===`[object ${t}]`}function Fa(e){return qr(e,"ErrorEvent")}function au(e){return qr(e,"DOMError")}function U0(e){return qr(e,"DOMException")}function Rt(e){return qr(e,"String")}function Na(e){return typeof e=="object"&&e!==null&&"__sentry_template_string__"in e&&"__sentry_template_values__"in e}function Ba(e){return e===null||Na(e)||typeof e!="object"&&typeof e!="function"}function Kr(e){return qr(e,"Object")}function Bi(e){return typeof Event<"u"&&mr(e,Event)}function Y0(e){return typeof Element<"u"&&mr(e,Element)}function X0(e){return qr(e,"RegExp")}function Vi(e){return!!(e&&e.then&&typeof e.then=="function")}function G0(e){return Kr(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e}function q0(e){return typeof e=="number"&&e!==e}function mr(e,t){try{return e instanceof t}catch{return!1}}function su(e){return!!(typeof e=="object"&&e!==null&&(e.__isVue||e._isVue))}function Zr(e,t=0){return typeof e!="string"||t===0||e.length<=t?e:`${e.slice(0,t)}...`}function lu(e,t){if(!Array.isArray(e))return"";const r=[];for(let n=0;n<e.length;n++){const i=e[n];try{su(i)?r.push("[VueViewModel]"):r.push(String(i))}catch{r.push("[value cannot be serialized]")}}return r.join(t)}function K0(e,t,r=!1){return Rt(e)?X0(t)?t.test(e):Rt(t)?r?e===t:e.includes(t):!1:!1}function Hi(e,t=[],r=!1){return t.some(n=>K0(e,n,r))}function Z0(e,t,r=250,n,i,f,a){if(!f.exception||!f.exception.values||!a||!mr(a.originalException,Error))return;const o=f.exception.values.length>0?f.exception.values[f.exception.values.length-1]:void 0;o&&(f.exception.values=J0(Va(e,t,i,a.originalException,n,f.exception.values,o,0),r))}function Va(e,t,r,n,i,f,a,o){if(f.length>=r+1)return f;let c=[...f];if(mr(n[i],Error)){cu(a,o);const u=e(t,n[i]),s=c.length;uu(u,i,s,o),c=Va(e,t,r,n[i],i,[u,...c],u,s)}return Array.isArray(n.errors)&&n.errors.forEach((u,s)=>{if(mr(u,Error)){cu(a,o);const l=e(t,u),h=c.length;uu(l,`errors[${s}]`,h,o),c=Va(e,t,r,u,i,[l,...c],l,h)}}),c}function cu(e,t){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,...e.type==="AggregateError"&&{is_exception_group:!0},exception_id:t}}function uu(e,t,r,n){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,type:"chained",source:t,exception_id:r,parent_id:n}}function J0(e,t){return e.map(r=>(r.value&&(r.value=Zr(r.value,t)),r))}function $i(e){return e&&e.Math==Math?e:void 0}var Se=typeof globalThis=="object"&&$i(globalThis)||typeof window=="object"&&$i(window)||typeof self=="object"&&$i(self)||typeof _t._polyfill_node_global_default=="object"&&$i(_t._polyfill_node_global_default)||(function(){return this})()||{};function Ha(){return Se}function hu(e,t,r){const n=r||Se,i=n.__SENTRY__=n.__SENTRY__||{};return i[e]||(i[e]=t())}var $a=Ha(),Q0=80;function du(e,t={}){if(!e)return"<unknown>";try{let r=e;const n=5,i=[];let f=0,a=0;const o=" > ",c=3;let u;const s=Array.isArray(t)?t:t.keyAttrs,l=!Array.isArray(t)&&t.maxStringLength||Q0;for(;r&&f++<n&&(u=eb(r,s),!(u==="html"||f>1&&a+i.length*c+u.length>=l));)i.push(u),a+=u.length,r=r.parentNode;return i.reverse().join(o)}catch{return"<unknown>"}}function eb(e,t){const r=e,n=[];let i,f,a,o,c;if(!r||!r.tagName)return"";if($a.HTMLElement&&r instanceof HTMLElement&&r.dataset&&r.dataset.sentryComponent)return r.dataset.sentryComponent;n.push(r.tagName.toLowerCase());const u=t&&t.length?t.filter(l=>r.getAttribute(l)).map(l=>[l,r.getAttribute(l)]):null;if(u&&u.length)u.forEach(l=>{n.push(`[${l[0]}="${l[1]}"]`)});else if(r.id&&n.push(`#${r.id}`),i=r.className,i&&Rt(i))for(f=i.split(/\s+/),c=0;c<f.length;c++)n.push(`.${f[c]}`);const s=["aria-label","type","name","title","alt"];for(c=0;c<s.length;c++)a=s[c],o=r.getAttribute(a),o&&n.push(`[${a}="${o}"]`);return n.join("")}function tb(){try{return $a.document.location.href}catch{return""}}function rb(e){if(!$a.HTMLElement)return null;let t=e;const r=5;for(let n=0;n<r;n++){if(!t)return null;if(t instanceof HTMLElement&&t.dataset.sentryComponent)return t.dataset.sentryComponent;t=t.parentNode}return null}var Mn=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,nb="Sentry Logger ",Wa=["debug","info","warn","error","log","assert","trace"],Wi={};function Ui(e){if(!("console"in Se))return e();const t=Se.console,r={},n=Object.keys(Wi);n.forEach(i=>{const f=Wi[i];r[i]=t[i],t[i]=f});try{return e()}finally{n.forEach(i=>{t[i]=r[i]})}}function ib(){let e=!1;const t={enable:()=>{e=!0},disable:()=>{e=!1},isEnabled:()=>e};return Mn?Wa.forEach(r=>{t[r]=(...n)=>{e&&Ui(()=>{Se.console[r](`${nb}[${r}]:`,...n)})}}):Wa.forEach(r=>{t[r]=()=>{}}),t}var ve=ib(),ob=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function ab(e){return e==="http"||e==="https"}function An(e,t=!1){const{host:r,path:n,pass:i,port:f,projectId:a,protocol:o,publicKey:c}=e;return`${o}://${c}${t&&i?`:${i}`:""}@${r}${f?`:${f}`:""}/${n&&`${n}/`}${a}`}function sb(e){const t=ob.exec(e);if(!t){Ui(()=>{});return}const[r,n,i="",f,a="",o]=t.slice(1);let c="",u=o;const s=u.split("/");if(s.length>1&&(c=s.slice(0,-1).join("/"),u=s.pop()),u){const l=u.match(/^\d+/);l&&(u=l[0])}return fu({host:f,pass:i,path:c,projectId:u,port:a,protocol:r,publicKey:n})}function fu(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function lb(e){if(!Mn)return!0;const{port:t,projectId:r,protocol:n}=e;return["protocol","publicKey","host","projectId"].find(i=>e[i]?!1:(ve.error(`Invalid Sentry Dsn: ${i} missing`),!0))?!1:r.match(/^\d+$/)?ab(n)?t&&isNaN(parseInt(t,10))?(ve.error(`Invalid Sentry Dsn: Invalid port ${t}`),!1):!0:(ve.error(`Invalid Sentry Dsn: Invalid protocol ${n}`),!1):(ve.error(`Invalid Sentry Dsn: Invalid projectId ${r}`),!1)}function cb(e){const t=typeof e=="string"?sb(e):fu(e);if(!(!t||!lb(t)))return t}var Tt=class extends Error{constructor(e,t="warn"){super(e),this.message=e,this.name=new.target.prototype.constructor.name,Object.setPrototypeOf(this,new.target.prototype),this.logLevel=t}};function He(e,t,r){if(!(t in e))return;const n=e[t],i=r(n);typeof i=="function"&&pu(i,n),e[t]=i}function In(e,t,r){try{Object.defineProperty(e,t,{value:r,writable:!0,configurable:!0})}catch{Mn&&ve.log(`Failed to add non-enumerable property "${t}" to object`,e)}}function pu(e,t){try{e.prototype=t.prototype=t.prototype||{},In(e,"__sentry_original__",t)}catch{}}function Ua(e){return e.__sentry_original__}function ub(e){return Object.keys(e).map(t=>`${encodeURIComponent(t)}=${encodeURIComponent(e[t])}`).join("&")}function gu(e){if(ou(e))return{message:e.message,name:e.name,stack:e.stack,...vu(e)};if(Bi(e)){const t={type:e.type,target:mu(e.target),currentTarget:mu(e.currentTarget),...vu(e)};return typeof CustomEvent<"u"&&mr(e,CustomEvent)&&(t.detail=e.detail),t}else return e}function mu(e){try{return Y0(e)?du(e):Object.prototype.toString.call(e)}catch{return"<unknown>"}}function vu(e){if(typeof e=="object"&&e!==null){const t={};for(const r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}else return{}}function hb(e,t=40){const r=Object.keys(gu(e));if(r.sort(),!r.length)return"[object has no keys]";if(r[0].length>=t)return Zr(r[0],t);for(let n=r.length;n>0;n--){const i=r.slice(0,n).join(", ");if(!(i.length>t))return n===r.length?i:Zr(i,t)}return""}function Dt(e){return Ya(e,new Map)}function Ya(e,t){if(db(e)){const r=t.get(e);if(r!==void 0)return r;const n={};t.set(e,n);for(const i of Object.keys(e))typeof e[i]<"u"&&(n[i]=Ya(e[i],t));return n}if(Array.isArray(e)){const r=t.get(e);if(r!==void 0)return r;const n=[];return t.set(e,n),e.forEach(i=>{n.push(Ya(i,t))}),n}return e}function db(e){if(!Kr(e))return!1;try{const t=Object.getPrototypeOf(e).constructor.name;return!t||t==="Object"}catch{return!0}}var bu=50,yu=/\(error: (.*)\)/,xu=/captureMessage|captureException/;function wu(...e){const t=e.sort((r,n)=>r[0]-n[0]).map(r=>r[1]);return(r,n=0)=>{const i=[],f=r.split(`
1
+ __emailmaker__.define("static/core/72a579ec.js",["require","exports","module","static/core/5dc34752.js","static/core/8ca96066.js","react","react/jsx-runtime","react-dom","react-dom/client"],function(Xr,r0,dM){const Gr=Xr("./5dc34752.js"),_t=Xr("./8ca96066.js");let C=Xr("react");C=Gr.__toESM(C);let x=Xr("react/jsx-runtime"),pr=Xr("react-dom");pr=Gr.__toESM(pr);let n0=Xr("react-dom/client");_t.init__polyfill_node_global();var Ct=[],ft=[],i0=typeof Uint8Array<"u"?Uint8Array:Array,Ma=!1;function Lc(){Ma=!0;for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t=0,r=e.length;t<r;++t)Ct[t]=e[t],ft[e.charCodeAt(t)]=t;ft[45]=62,ft[95]=63}function o0(e){Ma||Lc();var t,r,n,i,f,a,o=e.length;if(o%4>0)throw new Error("Invalid string. Length must be a multiple of 4");f=e[o-2]==="="?2:e[o-1]==="="?1:0,a=new i0(o*3/4-f),n=f>0?o-4:o;var c=0;for(t=0,r=0;t<n;t+=4,r+=3)i=ft[e.charCodeAt(t)]<<18|ft[e.charCodeAt(t+1)]<<12|ft[e.charCodeAt(t+2)]<<6|ft[e.charCodeAt(t+3)],a[c++]=i>>16&255,a[c++]=i>>8&255,a[c++]=i&255;return f===2?(i=ft[e.charCodeAt(t)]<<2|ft[e.charCodeAt(t+1)]>>4,a[c++]=i&255):f===1&&(i=ft[e.charCodeAt(t)]<<10|ft[e.charCodeAt(t+1)]<<4|ft[e.charCodeAt(t+2)]>>2,a[c++]=i>>8&255,a[c++]=i&255),a}function a0(e){return Ct[e>>18&63]+Ct[e>>12&63]+Ct[e>>6&63]+Ct[e&63]}function s0(e,t,r){for(var n,i=[],f=t;f<r;f+=3)n=(e[f]<<16)+(e[f+1]<<8)+e[f+2],i.push(a0(n));return i.join("")}function Fc(e){Ma||Lc();for(var t,r=e.length,n=r%3,i="",f=[],a=16383,o=0,c=r-n;o<c;o+=a)f.push(s0(e,o,o+a>c?c:o+a));return n===1?(t=e[r-1],i+=Ct[t>>2],i+=Ct[t<<4&63],i+="=="):n===2&&(t=(e[r-2]<<8)+e[r-1],i+=Ct[t>>10],i+=Ct[t>>4&63],i+=Ct[t<<2&63],i+="="),f.push(i),f.join("")}function Ii(e,t,r,n,i){var f,a,o=i*8-n-1,c=(1<<o)-1,u=c>>1,s=-7,l=r?i-1:0,h=r?-1:1,d=e[t+l];for(l+=h,f=d&(1<<-s)-1,d>>=-s,s+=o;s>0;f=f*256+e[t+l],l+=h,s-=8);for(a=f&(1<<-s)-1,f>>=-s,s+=n;s>0;a=a*256+e[t+l],l+=h,s-=8);if(f===0)f=1-u;else{if(f===c)return a?NaN:(d?-1:1)*(1/0);a=a+Math.pow(2,n),f=f-u}return(d?-1:1)*a*Math.pow(2,f-n)}function Nc(e,t,r,n,i,f){var a,o,c,u=f*8-i-1,s=(1<<u)-1,l=s>>1,h=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,d=n?0:f-1,g=n?1:-1,p=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(o=isNaN(t)?1:0,a=s):(a=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-a))<1&&(a--,c*=2),a+l>=1?t+=h/c:t+=h*Math.pow(2,1-l),t*c>=2&&(a++,c/=2),a+l>=s?(o=0,a=s):a+l>=1?(o=(t*c-1)*Math.pow(2,i),a=a+l):(o=t*Math.pow(2,l-1)*Math.pow(2,i),a=0));i>=8;e[r+d]=o&255,d+=g,o/=256,i-=8);for(a=a<<i|o,u+=i;u>0;e[r+d]=a&255,d+=g,a/=256,u-=8);e[r+d-g]|=p*128}var l0={}.toString,Bc=Array.isArray||function(e){return l0.call(e)=="[object Array]"},fM=50;re.TYPED_ARRAY_SUPPORT=_t._polyfill_node_global_default.TYPED_ARRAY_SUPPORT!==void 0?_t._polyfill_node_global_default.TYPED_ARRAY_SUPPORT:!0;var pM=Ri();function Ri(){return re.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function It(e,t){if(Ri()<t)throw new RangeError("Invalid typed array length");return re.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t),e.__proto__=re.prototype):(e===null&&(e=new re(t)),e.length=t),e}function re(e,t,r){if(!re.TYPED_ARRAY_SUPPORT&&!(this instanceof re))return new re(e,t,r);if(typeof e=="number"){if(typeof t=="string")throw new Error("If encoding is specified then the first argument must be a string");return Aa(this,e)}return Vc(this,e,t,r)}re.poolSize=8192,re._augment=function(e){return e.__proto__=re.prototype,e};function Vc(e,t,r,n){if(typeof t=="number")throw new TypeError('"value" argument must not be a number');return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer?h0(e,t,r,n):typeof t=="string"?u0(e,t,r):d0(e,t)}re.from=function(e,t,r){return Vc(null,e,t,r)},re.TYPED_ARRAY_SUPPORT&&(re.prototype.__proto__=Uint8Array.prototype,re.__proto__=Uint8Array,typeof Symbol<"u"&&Symbol.species&&re[Symbol.species]);function Hc(e){if(typeof e!="number")throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function c0(e,t,r,n){return Hc(t),t<=0?It(e,t):r!==void 0?typeof n=="string"?It(e,t).fill(r,n):It(e,t).fill(r):It(e,t)}re.alloc=function(e,t,r){return c0(null,e,t,r)};function Aa(e,t){if(Hc(t),e=It(e,t<0?0:Ra(t)|0),!re.TYPED_ARRAY_SUPPORT)for(var r=0;r<t;++r)e[r]=0;return e}re.allocUnsafe=function(e){return Aa(null,e)},re.allocUnsafeSlow=function(e){return Aa(null,e)};function u0(e,t,r){if((typeof r!="string"||r==="")&&(r="utf8"),!re.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var n=$c(t,r)|0;e=It(e,n);var i=e.write(t,r);return i!==n&&(e=e.slice(0,i)),e}function Ia(e,t){var r=t.length<0?0:Ra(t.length)|0;e=It(e,r);for(var n=0;n<r;n+=1)e[n]=t[n]&255;return e}function h0(e,t,r,n){if(t.byteLength,r<0||t.byteLength<r)throw new RangeError("'offset' is out of bounds");if(t.byteLength<r+(n||0))throw new RangeError("'length' is out of bounds");return r===void 0&&n===void 0?t=new Uint8Array(t):n===void 0?t=new Uint8Array(t,r):t=new Uint8Array(t,r,n),re.TYPED_ARRAY_SUPPORT?(e=t,e.__proto__=re.prototype):e=Ia(e,t),e}function d0(e,t){if(St(t)){var r=Ra(t.length)|0;return e=It(e,r),e.length===0||t.copy(e,0,0,r),e}if(t){if(typeof ArrayBuffer<"u"&&t.buffer instanceof ArrayBuffer||"length"in t)return typeof t.length!="number"||M0(t.length)?It(e,0):Ia(e,t);if(t.type==="Buffer"&&Bc(t.data))return Ia(e,t.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function Ra(e){if(e>=Ri())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Ri().toString(16)+" bytes");return e|0}re.isBuffer=A0;function St(e){return!!(e!=null&&e._isBuffer)}re.compare=function(t,r){if(!St(t)||!St(r))throw new TypeError("Arguments must be Buffers");if(t===r)return 0;for(var n=t.length,i=r.length,f=0,a=Math.min(n,i);f<a;++f)if(t[f]!==r[f]){n=t[f],i=r[f];break}return n<i?-1:i<n?1:0},re.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},re.concat=function(t,r){if(!Bc(t))throw new TypeError('"list" argument must be an Array of Buffers');if(t.length===0)return re.alloc(0);var n;if(r===void 0)for(r=0,n=0;n<t.length;++n)r+=t[n].length;var i=re.allocUnsafe(r),f=0;for(n=0;n<t.length;++n){var a=t[n];if(!St(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(i,f),f+=a.length}return i};function $c(e,t){if(St(e))return e.length;if(typeof ArrayBuffer<"u"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;typeof e!="string"&&(e=""+e);var r=e.length;if(r===0)return 0;for(var n=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return Li(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return Jc(e).length;default:if(n)return Li(e).length;t=(""+t).toLowerCase(),n=!0}}re.byteLength=$c;function f0(e,t,r){var n=!1;if((t===void 0||t<0)&&(t=0),t>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,t>>>=0,r<=t))return"";for(e||(e="utf8");;)switch(e){case"hex":return C0(this,t,r);case"utf8":case"utf-8":return Xc(this,t,r);case"ascii":return w0(this,t,r);case"latin1":case"binary":return _0(this,t,r);case"base64":return y0(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return S0(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}re.prototype._isBuffer=!0;function gr(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}re.prototype.swap16=function(){var t=this.length;if(t%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<t;r+=2)gr(this,r,r+1);return this},re.prototype.swap32=function(){var t=this.length;if(t%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<t;r+=4)gr(this,r,r+3),gr(this,r+1,r+2);return this},re.prototype.swap64=function(){var t=this.length;if(t%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<t;r+=8)gr(this,r,r+7),gr(this,r+1,r+6),gr(this,r+2,r+5),gr(this,r+3,r+4);return this},re.prototype.toString=function(){var t=this.length|0;return t===0?"":arguments.length===0?Xc(this,0,t):f0.apply(this,arguments)},re.prototype.equals=function(t){if(!St(t))throw new TypeError("Argument must be a Buffer");return this===t?!0:re.compare(this,t)===0},re.prototype.inspect=function(){var t="",r=50;return this.length>0&&(t=this.toString("hex",0,r).match(/.{2}/g).join(" "),this.length>r&&(t+=" ... ")),"<Buffer "+t+">"},re.prototype.compare=function(t,r,n,i,f){if(!St(t))throw new TypeError("Argument must be a Buffer");if(r===void 0&&(r=0),n===void 0&&(n=t?t.length:0),i===void 0&&(i=0),f===void 0&&(f=this.length),r<0||n>t.length||i<0||f>this.length)throw new RangeError("out of range index");if(i>=f&&r>=n)return 0;if(i>=f)return-1;if(r>=n)return 1;if(r>>>=0,n>>>=0,i>>>=0,f>>>=0,this===t)return 0;for(var a=f-i,o=n-r,c=Math.min(a,o),u=this.slice(i,f),s=t.slice(r,n),l=0;l<c;++l)if(u[l]!==s[l]){a=u[l],o=s[l];break}return a<o?-1:o<a?1:0};function Wc(e,t,r,n,i){if(e.length===0)return-1;if(typeof r=="string"?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return-1;r=e.length-1}else if(r<0)if(i)r=0;else return-1;if(typeof t=="string"&&(t=re.from(t,n)),St(t))return t.length===0?-1:Uc(e,t,r,n,i);if(typeof t=="number")return t=t&255,re.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):Uc(e,[t],r,n,i);throw new TypeError("val must be string, number or Buffer")}function Uc(e,t,r,n,i){var f=1,a=e.length,o=t.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(e.length<2||t.length<2)return-1;f=2,a/=2,o/=2,r/=2}function c(d,g){return f===1?d[g]:d.readUInt16BE(g*f)}var u;if(i){var s=-1;for(u=r;u<a;u++)if(c(e,u)===c(t,s===-1?0:u-s)){if(s===-1&&(s=u),u-s+1===o)return s*f}else s!==-1&&(u-=u-s),s=-1}else for(r+o>a&&(r=a-o),u=r;u>=0;u--){for(var l=!0,h=0;h<o;h++)if(c(e,u+h)!==c(t,h)){l=!1;break}if(l)return u}return-1}re.prototype.includes=function(t,r,n){return this.indexOf(t,r,n)!==-1},re.prototype.indexOf=function(t,r,n){return Wc(this,t,r,n,!0)},re.prototype.lastIndexOf=function(t,r,n){return Wc(this,t,r,n,!1)};function p0(e,t,r,n){r=Number(r)||0;var i=e.length-r;n?(n=Number(n),n>i&&(n=i)):n=i;var f=t.length;if(f%2!==0)throw new TypeError("Invalid hex string");n>f/2&&(n=f/2);for(var a=0;a<n;++a){var o=parseInt(t.substr(a*2,2),16);if(isNaN(o))return a;e[r+a]=o}return a}function g0(e,t,r,n){return Fi(Li(t,e.length-r),e,r,n)}function Yc(e,t,r,n){return Fi(O0(t),e,r,n)}function m0(e,t,r,n){return Yc(e,t,r,n)}function v0(e,t,r,n){return Fi(Jc(t),e,r,n)}function b0(e,t,r,n){return Fi(P0(t,e.length-r),e,r,n)}re.prototype.write=function(t,r,n,i){if(r===void 0)i="utf8",n=this.length,r=0;else if(n===void 0&&typeof r=="string")i=r,n=this.length,r=0;else if(isFinite(r))r=r|0,isFinite(n)?(n=n|0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var f=this.length-r;if((n===void 0||n>f)&&(n=f),t.length>0&&(n<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var a=!1;;)switch(i){case"hex":return p0(this,t,r,n);case"utf8":case"utf-8":return g0(this,t,r,n);case"ascii":return Yc(this,t,r,n);case"latin1":case"binary":return m0(this,t,r,n);case"base64":return v0(this,t,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return b0(this,t,r,n);default:if(a)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),a=!0}},re.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function y0(e,t,r){return t===0&&r===e.length?Fc(e):Fc(e.slice(t,r))}function Xc(e,t,r){r=Math.min(e.length,r);for(var n=[],i=t;i<r;){var f=e[i],a=null,o=f>239?4:f>223?3:f>191?2:1;if(i+o<=r){var c,u,s,l;switch(o){case 1:f<128&&(a=f);break;case 2:c=e[i+1],(c&192)===128&&(l=(f&31)<<6|c&63,l>127&&(a=l));break;case 3:c=e[i+1],u=e[i+2],(c&192)===128&&(u&192)===128&&(l=(f&15)<<12|(c&63)<<6|u&63,l>2047&&(l<55296||l>57343)&&(a=l));break;case 4:c=e[i+1],u=e[i+2],s=e[i+3],(c&192)===128&&(u&192)===128&&(s&192)===128&&(l=(f&15)<<18|(c&63)<<12|(u&63)<<6|s&63,l>65535&&l<1114112&&(a=l))}}a===null?(a=65533,o=1):a>65535&&(a-=65536,n.push(a>>>10&1023|55296),a=56320|a&1023),n.push(a),i+=o}return x0(n)}var Gc=4096;function x0(e){var t=e.length;if(t<=Gc)return String.fromCharCode.apply(String,e);for(var r="",n=0;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=Gc));return r}function w0(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(e[i]&127);return n}function _0(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(e[i]);return n}function C0(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var i="",f=t;f<r;++f)i+=E0(e[f]);return i}function S0(e,t,r){for(var n=e.slice(t,r),i="",f=0;f<n.length;f+=2)i+=String.fromCharCode(n[f]+n[f+1]*256);return i}re.prototype.slice=function(t,r){var n=this.length;t=~~t,r=r===void 0?n:~~r,t<0?(t+=n,t<0&&(t=0)):t>n&&(t=n),r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),r<t&&(r=t);var i;if(re.TYPED_ARRAY_SUPPORT)i=this.subarray(t,r),i.__proto__=re.prototype;else{var f=r-t;i=new re(f,void 0);for(var a=0;a<f;++a)i[a]=this[a+t]}return i};function Be(e,t,r){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}re.prototype.readUIntLE=function(t,r,n){t=t|0,r=r|0,n||Be(t,r,this.length);for(var i=this[t],f=1,a=0;++a<r&&(f*=256);)i+=this[t+a]*f;return i},re.prototype.readUIntBE=function(t,r,n){t=t|0,r=r|0,n||Be(t,r,this.length);for(var i=this[t+--r],f=1;r>0&&(f*=256);)i+=this[t+--r]*f;return i},re.prototype.readUInt8=function(t,r){return r||Be(t,1,this.length),this[t]},re.prototype.readUInt16LE=function(t,r){return r||Be(t,2,this.length),this[t]|this[t+1]<<8},re.prototype.readUInt16BE=function(t,r){return r||Be(t,2,this.length),this[t]<<8|this[t+1]},re.prototype.readUInt32LE=function(t,r){return r||Be(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+this[t+3]*16777216},re.prototype.readUInt32BE=function(t,r){return r||Be(t,4,this.length),this[t]*16777216+(this[t+1]<<16|this[t+2]<<8|this[t+3])},re.prototype.readIntLE=function(t,r,n){t=t|0,r=r|0,n||Be(t,r,this.length);for(var i=this[t],f=1,a=0;++a<r&&(f*=256);)i+=this[t+a]*f;return f*=128,i>=f&&(i-=Math.pow(2,8*r)),i},re.prototype.readIntBE=function(t,r,n){t=t|0,r=r|0,n||Be(t,r,this.length);for(var i=r,f=1,a=this[t+--i];i>0&&(f*=256);)a+=this[t+--i]*f;return f*=128,a>=f&&(a-=Math.pow(2,8*r)),a},re.prototype.readInt8=function(t,r){return r||Be(t,1,this.length),this[t]&128?(255-this[t]+1)*-1:this[t]},re.prototype.readInt16LE=function(t,r){r||Be(t,2,this.length);var n=this[t]|this[t+1]<<8;return n&32768?n|4294901760:n},re.prototype.readInt16BE=function(t,r){r||Be(t,2,this.length);var n=this[t+1]|this[t]<<8;return n&32768?n|4294901760:n},re.prototype.readInt32LE=function(t,r){return r||Be(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},re.prototype.readInt32BE=function(t,r){return r||Be(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},re.prototype.readFloatLE=function(t,r){return r||Be(t,4,this.length),Ii(this,t,!0,23,4)},re.prototype.readFloatBE=function(t,r){return r||Be(t,4,this.length),Ii(this,t,!1,23,4)},re.prototype.readDoubleLE=function(t,r){return r||Be(t,8,this.length),Ii(this,t,!0,52,8)},re.prototype.readDoubleBE=function(t,r){return r||Be(t,8,this.length),Ii(this,t,!1,52,8)};function et(e,t,r,n,i,f){if(!St(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<f)throw new RangeError('"value" argument is out of bounds');if(r+n>e.length)throw new RangeError("Index out of range")}re.prototype.writeUIntLE=function(t,r,n,i){if(t=+t,r=r|0,n=n|0,!i){var f=Math.pow(2,8*n)-1;et(this,t,r,n,f,0)}var a=1,o=0;for(this[r]=t&255;++o<n&&(a*=256);)this[r+o]=t/a&255;return r+n},re.prototype.writeUIntBE=function(t,r,n,i){if(t=+t,r=r|0,n=n|0,!i){var f=Math.pow(2,8*n)-1;et(this,t,r,n,f,0)}var a=n-1,o=1;for(this[r+a]=t&255;--a>=0&&(o*=256);)this[r+a]=t/o&255;return r+n},re.prototype.writeUInt8=function(t,r,n){return t=+t,r=r|0,n||et(this,t,r,1,255,0),re.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[r]=t&255,r+1};function Di(e,t,r,n){t<0&&(t=65535+t+1);for(var i=0,f=Math.min(e.length-r,2);i<f;++i)e[r+i]=(t&255<<8*(n?i:1-i))>>>(n?i:1-i)*8}re.prototype.writeUInt16LE=function(t,r,n){return t=+t,r=r|0,n||et(this,t,r,2,65535,0),re.TYPED_ARRAY_SUPPORT?(this[r]=t&255,this[r+1]=t>>>8):Di(this,t,r,!0),r+2},re.prototype.writeUInt16BE=function(t,r,n){return t=+t,r=r|0,n||et(this,t,r,2,65535,0),re.TYPED_ARRAY_SUPPORT?(this[r]=t>>>8,this[r+1]=t&255):Di(this,t,r,!1),r+2};function zi(e,t,r,n){t<0&&(t=4294967295+t+1);for(var i=0,f=Math.min(e.length-r,4);i<f;++i)e[r+i]=t>>>(n?i:3-i)*8&255}re.prototype.writeUInt32LE=function(t,r,n){return t=+t,r=r|0,n||et(this,t,r,4,4294967295,0),re.TYPED_ARRAY_SUPPORT?(this[r+3]=t>>>24,this[r+2]=t>>>16,this[r+1]=t>>>8,this[r]=t&255):zi(this,t,r,!0),r+4},re.prototype.writeUInt32BE=function(t,r,n){return t=+t,r=r|0,n||et(this,t,r,4,4294967295,0),re.TYPED_ARRAY_SUPPORT?(this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=t&255):zi(this,t,r,!1),r+4},re.prototype.writeIntLE=function(t,r,n,i){if(t=+t,r=r|0,!i){var f=Math.pow(2,8*n-1);et(this,t,r,n,f-1,-f)}var a=0,o=1,c=0;for(this[r]=t&255;++a<n&&(o*=256);)t<0&&c===0&&this[r+a-1]!==0&&(c=1),this[r+a]=(t/o>>0)-c&255;return r+n},re.prototype.writeIntBE=function(t,r,n,i){if(t=+t,r=r|0,!i){var f=Math.pow(2,8*n-1);et(this,t,r,n,f-1,-f)}var a=n-1,o=1,c=0;for(this[r+a]=t&255;--a>=0&&(o*=256);)t<0&&c===0&&this[r+a+1]!==0&&(c=1),this[r+a]=(t/o>>0)-c&255;return r+n},re.prototype.writeInt8=function(t,r,n){return t=+t,r=r|0,n||et(this,t,r,1,127,-128),re.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[r]=t&255,r+1},re.prototype.writeInt16LE=function(t,r,n){return t=+t,r=r|0,n||et(this,t,r,2,32767,-32768),re.TYPED_ARRAY_SUPPORT?(this[r]=t&255,this[r+1]=t>>>8):Di(this,t,r,!0),r+2},re.prototype.writeInt16BE=function(t,r,n){return t=+t,r=r|0,n||et(this,t,r,2,32767,-32768),re.TYPED_ARRAY_SUPPORT?(this[r]=t>>>8,this[r+1]=t&255):Di(this,t,r,!1),r+2},re.prototype.writeInt32LE=function(t,r,n){return t=+t,r=r|0,n||et(this,t,r,4,2147483647,-2147483648),re.TYPED_ARRAY_SUPPORT?(this[r]=t&255,this[r+1]=t>>>8,this[r+2]=t>>>16,this[r+3]=t>>>24):zi(this,t,r,!0),r+4},re.prototype.writeInt32BE=function(t,r,n){return t=+t,r=r|0,n||et(this,t,r,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),re.TYPED_ARRAY_SUPPORT?(this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=t&255):zi(this,t,r,!1),r+4};function qc(e,t,r,n,i,f){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function Kc(e,t,r,n,i){return i||qc(e,t,r,4),Nc(e,t,r,n,23,4),r+4}re.prototype.writeFloatLE=function(t,r,n){return Kc(this,t,r,!0,n)},re.prototype.writeFloatBE=function(t,r,n){return Kc(this,t,r,!1,n)};function Zc(e,t,r,n,i){return i||qc(e,t,r,8),Nc(e,t,r,n,52,8),r+8}re.prototype.writeDoubleLE=function(t,r,n){return Zc(this,t,r,!0,n)},re.prototype.writeDoubleBE=function(t,r,n){return Zc(this,t,r,!1,n)},re.prototype.copy=function(t,r,n,i){if(n||(n=0),!i&&i!==0&&(i=this.length),r>=t.length&&(r=t.length),r||(r=0),i>0&&i<n&&(i=n),i===n||t.length===0||this.length===0)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),t.length-r<i-n&&(i=t.length-r+n);var f=i-n,a;if(this===t&&n<r&&r<i)for(a=f-1;a>=0;--a)t[a+r]=this[a+n];else if(f<1e3||!re.TYPED_ARRAY_SUPPORT)for(a=0;a<f;++a)t[a+r]=this[a+n];else Uint8Array.prototype.set.call(t,this.subarray(n,n+f),r);return f},re.prototype.fill=function(t,r,n,i){if(typeof t=="string"){if(typeof r=="string"?(i=r,r=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),t.length===1){var f=t.charCodeAt(0);f<256&&(t=f)}if(i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!re.isEncoding(i))throw new TypeError("Unknown encoding: "+i)}else typeof t=="number"&&(t=t&255);if(r<0||this.length<r||this.length<n)throw new RangeError("Out of range index");if(n<=r)return this;r=r>>>0,n=n===void 0?this.length:n>>>0,t||(t=0);var a;if(typeof t=="number")for(a=r;a<n;++a)this[a]=t;else{var o=St(t)?t:Li(new re(t,i).toString()),c=o.length;for(a=0;a<n-r;++a)this[a+r]=o[a%c]}return this};var k0=/[^+\/0-9A-Za-z-_]/g;function T0(e){if(e=j0(e).replace(k0,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function j0(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function E0(e){return e<16?"0"+e.toString(16):e.toString(16)}function Li(e,t){t=t||1/0;for(var r,n=e.length,i=null,f=[],a=0;a<n;++a){if(r=e.charCodeAt(a),r>55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&f.push(239,191,189);continue}else if(a+1===n){(t-=3)>-1&&f.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&f.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(t-=3)>-1&&f.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;f.push(r)}else if(r<2048){if((t-=2)<0)break;f.push(r>>6|192,r&63|128)}else if(r<65536){if((t-=3)<0)break;f.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((t-=4)<0)break;f.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return f}function O0(e){for(var t=[],r=0;r<e.length;++r)t.push(e.charCodeAt(r)&255);return t}function P0(e,t){for(var r,n,i,f=[],a=0;a<e.length&&!((t-=2)<0);++a)r=e.charCodeAt(a),n=r>>8,i=r%256,f.push(i),f.push(n);return f}function Jc(e){return o0(T0(e))}function Fi(e,t,r,n){for(var i=0;i<n&&!(i+r>=t.length||i>=e.length);++i)t[i+r]=e[i];return i}function M0(e){return e!==e}function A0(e){return e!=null&&(!!e._isBuffer||Qc(e)||I0(e))}function Qc(e){return!!e.constructor&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}function I0(e){return typeof e.readFloatLE=="function"&&typeof e.slice=="function"&&Qc(e.slice(0,0))}function R0(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var D0=Gr.__esmMin((()=>{})),z0=Gr.__exportAll({default:()=>tu}),eu,tu,L0=Gr.__esmMin((()=>{D0(),eu=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,tu=R0(function(e){return eu.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91})}));_t.init__polyfill_node_global();var F0=Object.defineProperty,N0=(e,t,r)=>t in e?F0(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,xe=(e,t,r)=>(N0(e,typeof t!="symbol"?t+"":t,r),r);function B0(e,t){t===void 0&&(t={});var r=t.insertAt;if(!(!e||typeof document>"u")){var n=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");i.type="text/css",r==="top"&&n.firstChild?n.insertBefore(i,n.firstChild):n.appendChild(i),i.styleSheet?i.styleSheet.cssText=e:i.appendChild(document.createTextNode(e))}}function Da(e,t){return t===void 0&&(t=15),+parseFloat(Number(e).toPrecision(t))}function kt(e){var t=e.toString().split(/[eE]/),r=(t[0].split(".")[1]||"").length-+(t[1]||0);return r>0?r:0}function Pn(e){if(e.toString().indexOf("e")===-1)return Number(e.toString().replace(".",""));var t=kt(e);return t>0?Da(Number(e)*Math.pow(10,t)):Number(e)}function za(e){nu&&(e>Number.MAX_SAFE_INTEGER||e<Number.MIN_SAFE_INTEGER)}function Ni(e){return function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];var n=t[0];return t.slice(1).reduce(function(i,f){return e(i,f)},n)}}var Zt=Ni(function(e,t){var r=Pn(e),n=Pn(t),i=kt(e)+kt(t),f=r*n;return za(f),f/Math.pow(10,i)}),V0=Ni(function(e,t){var r=Math.pow(10,Math.max(kt(e),kt(t)));return(Zt(e,r)+Zt(t,r))/r}),H0=Ni(function(e,t){var r=Math.pow(10,Math.max(kt(e),kt(t)));return(Zt(e,r)-Zt(t,r))/r}),ru=Ni(function(e,t){var r=Pn(e),n=Pn(t);return za(r),za(n),Zt(r/n,Da(Math.pow(10,kt(t)-kt(e))))});function $0(e,t){var r=Math.pow(10,t),n=ru(Math.round(Math.abs(Zt(e,r))),r);return e<0&&n!==0&&(n=Zt(n,-1)),n}var nu=!0;function W0(e){e===void 0&&(e=!0),nu=e}var La={strip:Da,plus:V0,minus:H0,times:Zt,divide:ru,round:$0,digitLength:kt,float2Fixed:Pn,enableBoundaryChecking:W0},iu=Object.prototype.toString;function ou(e){switch(iu.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return mr(e,Error)}}function qr(e,t){return iu.call(e)===`[object ${t}]`}function Fa(e){return qr(e,"ErrorEvent")}function au(e){return qr(e,"DOMError")}function U0(e){return qr(e,"DOMException")}function Rt(e){return qr(e,"String")}function Na(e){return typeof e=="object"&&e!==null&&"__sentry_template_string__"in e&&"__sentry_template_values__"in e}function Ba(e){return e===null||Na(e)||typeof e!="object"&&typeof e!="function"}function Kr(e){return qr(e,"Object")}function Bi(e){return typeof Event<"u"&&mr(e,Event)}function Y0(e){return typeof Element<"u"&&mr(e,Element)}function X0(e){return qr(e,"RegExp")}function Vi(e){return!!(e&&e.then&&typeof e.then=="function")}function G0(e){return Kr(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e}function q0(e){return typeof e=="number"&&e!==e}function mr(e,t){try{return e instanceof t}catch{return!1}}function su(e){return!!(typeof e=="object"&&e!==null&&(e.__isVue||e._isVue))}function Zr(e,t=0){return typeof e!="string"||t===0||e.length<=t?e:`${e.slice(0,t)}...`}function lu(e,t){if(!Array.isArray(e))return"";const r=[];for(let n=0;n<e.length;n++){const i=e[n];try{su(i)?r.push("[VueViewModel]"):r.push(String(i))}catch{r.push("[value cannot be serialized]")}}return r.join(t)}function K0(e,t,r=!1){return Rt(e)?X0(t)?t.test(e):Rt(t)?r?e===t:e.includes(t):!1:!1}function Hi(e,t=[],r=!1){return t.some(n=>K0(e,n,r))}function Z0(e,t,r=250,n,i,f,a){if(!f.exception||!f.exception.values||!a||!mr(a.originalException,Error))return;const o=f.exception.values.length>0?f.exception.values[f.exception.values.length-1]:void 0;o&&(f.exception.values=J0(Va(e,t,i,a.originalException,n,f.exception.values,o,0),r))}function Va(e,t,r,n,i,f,a,o){if(f.length>=r+1)return f;let c=[...f];if(mr(n[i],Error)){cu(a,o);const u=e(t,n[i]),s=c.length;uu(u,i,s,o),c=Va(e,t,r,n[i],i,[u,...c],u,s)}return Array.isArray(n.errors)&&n.errors.forEach((u,s)=>{if(mr(u,Error)){cu(a,o);const l=e(t,u),h=c.length;uu(l,`errors[${s}]`,h,o),c=Va(e,t,r,u,i,[l,...c],l,h)}}),c}function cu(e,t){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,...e.type==="AggregateError"&&{is_exception_group:!0},exception_id:t}}function uu(e,t,r,n){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,type:"chained",source:t,exception_id:r,parent_id:n}}function J0(e,t){return e.map(r=>(r.value&&(r.value=Zr(r.value,t)),r))}function $i(e){return e&&e.Math==Math?e:void 0}var Se=typeof globalThis=="object"&&$i(globalThis)||typeof window=="object"&&$i(window)||typeof self=="object"&&$i(self)||typeof _t._polyfill_node_global_default=="object"&&$i(_t._polyfill_node_global_default)||(function(){return this})()||{};function Ha(){return Se}function hu(e,t,r){const n=r||Se,i=n.__SENTRY__=n.__SENTRY__||{};return i[e]||(i[e]=t())}var $a=Ha(),Q0=80;function du(e,t={}){if(!e)return"<unknown>";try{let r=e;const n=5,i=[];let f=0,a=0;const o=" > ",c=3;let u;const s=Array.isArray(t)?t:t.keyAttrs,l=!Array.isArray(t)&&t.maxStringLength||Q0;for(;r&&f++<n&&(u=eb(r,s),!(u==="html"||f>1&&a+i.length*c+u.length>=l));)i.push(u),a+=u.length,r=r.parentNode;return i.reverse().join(o)}catch{return"<unknown>"}}function eb(e,t){const r=e,n=[];let i,f,a,o,c;if(!r||!r.tagName)return"";if($a.HTMLElement&&r instanceof HTMLElement&&r.dataset&&r.dataset.sentryComponent)return r.dataset.sentryComponent;n.push(r.tagName.toLowerCase());const u=t&&t.length?t.filter(l=>r.getAttribute(l)).map(l=>[l,r.getAttribute(l)]):null;if(u&&u.length)u.forEach(l=>{n.push(`[${l[0]}="${l[1]}"]`)});else if(r.id&&n.push(`#${r.id}`),i=r.className,i&&Rt(i))for(f=i.split(/\s+/),c=0;c<f.length;c++)n.push(`.${f[c]}`);const s=["aria-label","type","name","title","alt"];for(c=0;c<s.length;c++)a=s[c],o=r.getAttribute(a),o&&n.push(`[${a}="${o}"]`);return n.join("")}function tb(){try{return $a.document.location.href}catch{return""}}function rb(e){if(!$a.HTMLElement)return null;let t=e;const r=5;for(let n=0;n<r;n++){if(!t)return null;if(t instanceof HTMLElement&&t.dataset.sentryComponent)return t.dataset.sentryComponent;t=t.parentNode}return null}var Mn=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,nb="Sentry Logger ",Wa=["debug","info","warn","error","log","assert","trace"],Wi={};function Ui(e){if(!("console"in Se))return e();const t=Se.console,r={},n=Object.keys(Wi);n.forEach(i=>{const f=Wi[i];r[i]=t[i],t[i]=f});try{return e()}finally{n.forEach(i=>{t[i]=r[i]})}}function ib(){let e=!1;const t={enable:()=>{e=!0},disable:()=>{e=!1},isEnabled:()=>e};return Mn?Wa.forEach(r=>{t[r]=(...n)=>{e&&Ui(()=>{Se.console[r](`${nb}[${r}]:`,...n)})}}):Wa.forEach(r=>{t[r]=()=>{}}),t}var ve=ib(),ob=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function ab(e){return e==="http"||e==="https"}function An(e,t=!1){const{host:r,path:n,pass:i,port:f,projectId:a,protocol:o,publicKey:c}=e;return`${o}://${c}${t&&i?`:${i}`:""}@${r}${f?`:${f}`:""}/${n&&`${n}/`}${a}`}function sb(e){const t=ob.exec(e);if(!t){Ui(()=>{});return}const[r,n,i="",f,a="",o]=t.slice(1);let c="",u=o;const s=u.split("/");if(s.length>1&&(c=s.slice(0,-1).join("/"),u=s.pop()),u){const l=u.match(/^\d+/);l&&(u=l[0])}return fu({host:f,pass:i,path:c,projectId:u,port:a,protocol:r,publicKey:n})}function fu(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function lb(e){if(!Mn)return!0;const{port:t,projectId:r,protocol:n}=e;return["protocol","publicKey","host","projectId"].find(i=>e[i]?!1:(ve.error(`Invalid Sentry Dsn: ${i} missing`),!0))?!1:r.match(/^\d+$/)?ab(n)?t&&isNaN(parseInt(t,10))?(ve.error(`Invalid Sentry Dsn: Invalid port ${t}`),!1):!0:(ve.error(`Invalid Sentry Dsn: Invalid protocol ${n}`),!1):(ve.error(`Invalid Sentry Dsn: Invalid projectId ${r}`),!1)}function cb(e){const t=typeof e=="string"?sb(e):fu(e);if(!(!t||!lb(t)))return t}var Tt=class extends Error{constructor(e,t="warn"){super(e),this.message=e,this.name=new.target.prototype.constructor.name,Object.setPrototypeOf(this,new.target.prototype),this.logLevel=t}};function He(e,t,r){if(!(t in e))return;const n=e[t],i=r(n);typeof i=="function"&&pu(i,n),e[t]=i}function In(e,t,r){try{Object.defineProperty(e,t,{value:r,writable:!0,configurable:!0})}catch{Mn&&ve.log(`Failed to add non-enumerable property "${t}" to object`,e)}}function pu(e,t){try{e.prototype=t.prototype=t.prototype||{},In(e,"__sentry_original__",t)}catch{}}function Ua(e){return e.__sentry_original__}function ub(e){return Object.keys(e).map(t=>`${encodeURIComponent(t)}=${encodeURIComponent(e[t])}`).join("&")}function gu(e){if(ou(e))return{message:e.message,name:e.name,stack:e.stack,...vu(e)};if(Bi(e)){const t={type:e.type,target:mu(e.target),currentTarget:mu(e.currentTarget),...vu(e)};return typeof CustomEvent<"u"&&mr(e,CustomEvent)&&(t.detail=e.detail),t}else return e}function mu(e){try{return Y0(e)?du(e):Object.prototype.toString.call(e)}catch{return"<unknown>"}}function vu(e){if(typeof e=="object"&&e!==null){const t={};for(const r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}else return{}}function hb(e,t=40){const r=Object.keys(gu(e));if(r.sort(),!r.length)return"[object has no keys]";if(r[0].length>=t)return Zr(r[0],t);for(let n=r.length;n>0;n--){const i=r.slice(0,n).join(", ");if(!(i.length>t))return n===r.length?i:Zr(i,t)}return""}function Dt(e){return Ya(e,new Map)}function Ya(e,t){if(db(e)){const r=t.get(e);if(r!==void 0)return r;const n={};t.set(e,n);for(const i of Object.keys(e))typeof e[i]<"u"&&(n[i]=Ya(e[i],t));return n}if(Array.isArray(e)){const r=t.get(e);if(r!==void 0)return r;const n=[];return t.set(e,n),e.forEach(i=>{n.push(Ya(i,t))}),n}return e}function db(e){if(!Kr(e))return!1;try{const t=Object.getPrototypeOf(e).constructor.name;return!t||t==="Object"}catch{return!0}}var bu=50,yu=/\(error: (.*)\)/,xu=/captureMessage|captureException/;function wu(...e){const t=e.sort((r,n)=>r[0]-n[0]).map(r=>r[1]);return(r,n=0)=>{const i=[],f=r.split(`
2
2
  `);for(let a=n;a<f.length;a++){const o=f[a];if(o.length>1024)continue;const c=yu.test(o)?o.replace(yu,"$1"):o;if(!c.match(/\S*Error: /)){for(const u of t){const s=u(c);if(s){i.push(s);break}}if(i.length>=bu)break}}return pb(i)}}function fb(e){return Array.isArray(e)?wu(...e):e}function pb(e){if(!e.length)return[];const t=Array.from(e);return/sentryWrapped/.test(t[t.length-1].function||"")&&t.pop(),t.reverse(),xu.test(t[t.length-1].function||"")&&(t.pop(),xu.test(t[t.length-1].function||"")&&t.pop()),t.slice(0,bu).map(r=>({...r,filename:r.filename||t[t.length-1].filename,function:r.function||"?"}))}var Xa="<anonymous>";function Jt(e){try{return!e||typeof e!="function"?Xa:e.name||Xa}catch{return Xa}}var Yi={},_u={};function vr(e,t){Yi[e]=Yi[e]||[],Yi[e].push(t)}function br(e,t){_u[e]||(t(),_u[e]=!0)}function bt(e,t){const r=e&&Yi[e];if(r)for(const n of r)try{n(t)}catch(i){Mn&&ve.error(`Error while triggering instrumentation handler.
3
3
  Type: ${e}
4
4
  Name: ${Jt(n)}
@@ -1 +1 @@
1
- __emailmaker__.define("static/core/1de56f23.js",["require","exports","module","static/core/5dc34752.js","static/core/ad2a794d.js"],function(a,m,v){const w=a("./5dc34752.js"),h=a("./ad2a794d.js");var d={items_per_page:"/ Seite",jump_to:"Gehe zu",jump_to_confirm:"bestätigen",page:"Seite",prev_page:"Vorherige Seite",next_page:"Nächste Seite",prev_5:"5 Seiten zurück",next_5:"5 Seiten vor",prev_3:"3 Seiten zurück",next_3:"3 Seiten vor",page_size:"Page Size"};function i(t){"@babel/helpers - typeof";return i=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(t)}function o(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(t);e&&(l=l.filter(function($){return Object.getOwnPropertyDescriptor(t,$).enumerable})),r.push.apply(r,l)}return r}function s(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?o(Object(r),!0).forEach(function(l){p(t,l,r[l])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach(function(l){Object.defineProperty(t,l,Object.getOwnPropertyDescriptor(r,l))})}return t}function p(t,e,r){return e=g(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function g(t){var e=b(t,"string");return i(e)=="symbol"?e:String(e)}function b(t,e){if(i(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var l=r.call(t,e||"default");if(i(l)!="object")return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var f=s(s({},h.commonLocale),{},{locale:"de_DE",today:"Heute",now:"Jetzt",backToToday:"Zurück zu Heute",ok:"OK",clear:"Zurücksetzen",week:"Woche",month:"Monat",year:"Jahr",timeSelect:"Zeit wählen",dateSelect:"Datum wählen",monthSelect:"Wähle einen Monat",yearSelect:"Wähle ein Jahr",decadeSelect:"Wähle ein Jahrzehnt",previousMonth:"Vorheriger Monat (PageUp)",nextMonth:"Nächster Monat (PageDown)",previousYear:"Vorheriges Jahr (Ctrl + left)",nextYear:"Nächstes Jahr (Ctrl + right)",previousDecade:"Vorheriges Jahrzehnt",nextDecade:"Nächstes Jahrzehnt",previousCentury:"Vorheriges Jahrhundert",nextCentury:"Nächstes Jahrhundert"}),c={placeholder:"Zeit auswählen",rangePlaceholder:["Startzeit","Endzeit"]},u={lang:{placeholder:"Datum auswählen",rangePlaceholder:["Startdatum","Enddatum"],shortWeekDays:["So","Mo","Di","Mi","Do","Fr","Sa"],shortMonths:["Jan","Feb","Mär","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],...f},timePickerLocale:{...c}},y=u,n="${label} ist nicht gültig. ${type} erwartet",S={locale:"de",Pagination:d,DatePicker:u,TimePicker:c,Calendar:y,global:{placeholder:"Bitte auswählen",close:"Schließen"},Table:{filterTitle:"Filter-Menü",filterConfirm:"OK",filterReset:"Zurücksetzen",filterEmptyText:"Keine Filter",filterSearchPlaceholder:"Suche in Filtern",filterCheckAll:"Alle auswählen",selectAll:"Selektiere Alle",selectInvert:"Selektion Invertieren",selectionAll:"Wählen Sie alle Daten aus",sortTitle:"Sortieren",emptyText:"Keine Daten",expand:"Zeile erweitern",collapse:"Zeile reduzieren",triggerDesc:"Klicken zur absteigenden Sortierung",triggerAsc:"Klicken zur aufsteigenden Sortierung",cancelSort:"Klicken zum Abbrechen der Sortierung"},Tour:{Next:"Weiter",Previous:"Zurück",Finish:"Fertig"},Modal:{okText:"OK",cancelText:"Abbrechen",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Abbrechen"},Transfer:{titles:["",""],searchPlaceholder:"Suchen",itemUnit:"Eintrag",itemsUnit:"Einträge",remove:"Entfernen",selectCurrent:"Alle auf aktueller Seite auswählen",removeCurrent:"Auswahl auf aktueller Seite aufheben",selectAll:"Alle auswählen",deselectAll:"Alle abwählen",removeAll:"Auswahl aufheben",selectInvert:"Auswahl umkehren"},Upload:{uploading:"Hochladen...",removeFile:"Datei entfernen",uploadError:"Fehler beim Hochladen",previewFile:"Dateivorschau",downloadFile:"Download-Datei"},Empty:{description:"Keine Daten"},Text:{edit:"Bearbeiten",copy:"Kopieren",copied:"Kopiert",expand:"Erweitern"},Form:{defaultValidateMessages:{default:"Feld-Validierungsfehler: ${label}",required:"Bitte geben Sie ${label} an",enum:"${label} muss eines der folgenden sein [${enum}]",whitespace:"${label} darf kein Leerzeichen sein",date:{format:"${label} ist ein ungültiges Datumsformat",parse:"${label} kann nicht in ein Datum umgewandelt werden",invalid:"${label} ist ein ungültiges Datum"},types:{string:n,method:n,array:n,object:n,number:n,date:n,boolean:n,integer:n,float:n,regexp:n,email:n,url:n,hex:n},string:{len:"${label} muss genau ${len} Zeichen lang sein",min:"${label} muss mindestens ${min} Zeichen lang sein",max:"${label} darf höchstens ${max} Zeichen lang sein",range:"${label} muss zwischen ${min} und ${max} Zeichen lang sein"},number:{len:"${label} muss gleich ${len} sein",min:"${label} muss mindestens ${min} sein",max:"${label} darf maximal ${max} sein",range:"${label} muss zwischen ${min} und ${max} liegen"},array:{len:"Es müssen ${len} ${label} sein",min:"Es müssen mindestens ${min} ${label} sein",max:"Es dürfen maximal ${max} ${label} sein",range:"Die Anzahl an ${label} muss zwischen ${min} und ${max} liegen"},pattern:{mismatch:"${label} entspricht nicht dem ${pattern} Muster"}}},QRCode:{expired:"QR-Code abgelaufen",refresh:"Aktualisieren"}};m.default=S});
1
+ __emailmaker__.define("static/core/7b7c0c8c.js",["require","exports","module","static/core/5dc34752.js","static/core/8ca96066.js"],function(a,m,v){const w=a("./5dc34752.js"),h=a("./8ca96066.js");var d={items_per_page:"/ Seite",jump_to:"Gehe zu",jump_to_confirm:"bestätigen",page:"Seite",prev_page:"Vorherige Seite",next_page:"Nächste Seite",prev_5:"5 Seiten zurück",next_5:"5 Seiten vor",prev_3:"3 Seiten zurück",next_3:"3 Seiten vor",page_size:"Page Size"};function i(t){"@babel/helpers - typeof";return i=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(t)}function o(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(t);e&&(l=l.filter(function($){return Object.getOwnPropertyDescriptor(t,$).enumerable})),r.push.apply(r,l)}return r}function s(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?o(Object(r),!0).forEach(function(l){p(t,l,r[l])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach(function(l){Object.defineProperty(t,l,Object.getOwnPropertyDescriptor(r,l))})}return t}function p(t,e,r){return e=g(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function g(t){var e=b(t,"string");return i(e)=="symbol"?e:String(e)}function b(t,e){if(i(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var l=r.call(t,e||"default");if(i(l)!="object")return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var f=s(s({},h.commonLocale),{},{locale:"de_DE",today:"Heute",now:"Jetzt",backToToday:"Zurück zu Heute",ok:"OK",clear:"Zurücksetzen",week:"Woche",month:"Monat",year:"Jahr",timeSelect:"Zeit wählen",dateSelect:"Datum wählen",monthSelect:"Wähle einen Monat",yearSelect:"Wähle ein Jahr",decadeSelect:"Wähle ein Jahrzehnt",previousMonth:"Vorheriger Monat (PageUp)",nextMonth:"Nächster Monat (PageDown)",previousYear:"Vorheriges Jahr (Ctrl + left)",nextYear:"Nächstes Jahr (Ctrl + right)",previousDecade:"Vorheriges Jahrzehnt",nextDecade:"Nächstes Jahrzehnt",previousCentury:"Vorheriges Jahrhundert",nextCentury:"Nächstes Jahrhundert"}),c={placeholder:"Zeit auswählen",rangePlaceholder:["Startzeit","Endzeit"]},u={lang:{placeholder:"Datum auswählen",rangePlaceholder:["Startdatum","Enddatum"],shortWeekDays:["So","Mo","Di","Mi","Do","Fr","Sa"],shortMonths:["Jan","Feb","Mär","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],...f},timePickerLocale:{...c}},y=u,n="${label} ist nicht gültig. ${type} erwartet",S={locale:"de",Pagination:d,DatePicker:u,TimePicker:c,Calendar:y,global:{placeholder:"Bitte auswählen",close:"Schließen"},Table:{filterTitle:"Filter-Menü",filterConfirm:"OK",filterReset:"Zurücksetzen",filterEmptyText:"Keine Filter",filterSearchPlaceholder:"Suche in Filtern",filterCheckAll:"Alle auswählen",selectAll:"Selektiere Alle",selectInvert:"Selektion Invertieren",selectionAll:"Wählen Sie alle Daten aus",sortTitle:"Sortieren",emptyText:"Keine Daten",expand:"Zeile erweitern",collapse:"Zeile reduzieren",triggerDesc:"Klicken zur absteigenden Sortierung",triggerAsc:"Klicken zur aufsteigenden Sortierung",cancelSort:"Klicken zum Abbrechen der Sortierung"},Tour:{Next:"Weiter",Previous:"Zurück",Finish:"Fertig"},Modal:{okText:"OK",cancelText:"Abbrechen",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Abbrechen"},Transfer:{titles:["",""],searchPlaceholder:"Suchen",itemUnit:"Eintrag",itemsUnit:"Einträge",remove:"Entfernen",selectCurrent:"Alle auf aktueller Seite auswählen",removeCurrent:"Auswahl auf aktueller Seite aufheben",selectAll:"Alle auswählen",deselectAll:"Alle abwählen",removeAll:"Auswahl aufheben",selectInvert:"Auswahl umkehren"},Upload:{uploading:"Hochladen...",removeFile:"Datei entfernen",uploadError:"Fehler beim Hochladen",previewFile:"Dateivorschau",downloadFile:"Download-Datei"},Empty:{description:"Keine Daten"},Text:{edit:"Bearbeiten",copy:"Kopieren",copied:"Kopiert",expand:"Erweitern"},Form:{defaultValidateMessages:{default:"Feld-Validierungsfehler: ${label}",required:"Bitte geben Sie ${label} an",enum:"${label} muss eines der folgenden sein [${enum}]",whitespace:"${label} darf kein Leerzeichen sein",date:{format:"${label} ist ein ungültiges Datumsformat",parse:"${label} kann nicht in ein Datum umgewandelt werden",invalid:"${label} ist ein ungültiges Datum"},types:{string:n,method:n,array:n,object:n,number:n,date:n,boolean:n,integer:n,float:n,regexp:n,email:n,url:n,hex:n},string:{len:"${label} muss genau ${len} Zeichen lang sein",min:"${label} muss mindestens ${min} Zeichen lang sein",max:"${label} darf höchstens ${max} Zeichen lang sein",range:"${label} muss zwischen ${min} und ${max} Zeichen lang sein"},number:{len:"${label} muss gleich ${len} sein",min:"${label} muss mindestens ${min} sein",max:"${label} darf maximal ${max} sein",range:"${label} muss zwischen ${min} und ${max} liegen"},array:{len:"Es müssen ${len} ${label} sein",min:"Es müssen mindestens ${min} ${label} sein",max:"Es dürfen maximal ${max} ${label} sein",range:"Die Anzahl an ${label} muss zwischen ${min} und ${max} liegen"},pattern:{mismatch:"${label} entspricht nicht dem ${pattern} Muster"}}},QRCode:{expired:"QR-Code abgelaufen",refresh:"Aktualisieren"}};m.default=S});
@@ -1 +1 @@
1
- __emailmaker__.define("static/core/6748af4b.js",["require","exports","module","static/core/5dc34752.js","static/core/c2e6de6c.js"],function(e,t,r){const l=e("./5dc34752.js");var o={wordwrap:200,tables:!0,selectors:[...e("./c2e6de6c.js").DEFAULT_OPTIONS.selectors||[],{selector:"table",format:"dataTable"},{selector:"ul",format:"list"},{selector:"ol",format:"list"},{selector:"pre",format:"block"},{selector:"blockquote",format:"blockquote"}],baseElements:{selectors:["body","table"]},preserveNewlines:!1,longWordSplit:{forceWrapOnLimit:!1}};t.EmailTextPlainConvertOptions=o});
1
+ __emailmaker__.define("static/core/9a285b6a.js",["require","exports","module","static/core/5dc34752.js","static/core/4598405b.js"],function(e,t,r){const l=e("./5dc34752.js");var o={wordwrap:200,tables:!0,selectors:[...e("./4598405b.js").DEFAULT_OPTIONS.selectors||[],{selector:"table",format:"dataTable"},{selector:"ul",format:"list"},{selector:"ol",format:"list"},{selector:"pre",format:"block"},{selector:"blockquote",format:"blockquote"}],baseElements:{selectors:["body","table"]},preserveNewlines:!1,longWordSplit:{forceWrapOnLimit:!1}};t.EmailTextPlainConvertOptions=o});
@@ -1,5 +1,5 @@
1
1
  (function(){try{if(typeof document<"u"){var r='.monaco-editor{width:100%;height:100%}.monaco-editor .monaco-hover{border-radius:6px}.monaco-editor .monaco-editor .scroll-decoration{box-shadow:none}.monaco-editor,.monaco-editor *,.monaco-editor .view-lines,.monaco-editor .view-lines *,.monaco-editor .view-lines .view-line,.monaco-editor .view-lines .monaco-mouse-cursor-text,.monaco-editor .view-line,.monaco-editor .monaco-mouse-cursor-text{font-family:var(--monaco-editor-font-family,"Source Code Pro", Consolas, "Courier New", monospace)!important}.monaco-editor .view-line,.monaco-editor .view-line span,.monaco-editor .view-line span.inline-selected-text{font-variant-ligatures:none;font-feature-settings:"liga" 0, "calt" 0;font-kerning:none;white-space:pre;font-family:var(--monaco-monospace-font,var(--monaco-editor-font-family,"Source Code Pro", Consolas, "Courier New", monospace))!important;font-size:var(--monaco-editor-font-size,14px)!important;font-weight:400!important}.monaco-editor .standalone-colorpicker-body{max-width:460px!important}.monaco-editor .standalone-colorpicker-body .colorpicker-body .saturation-wrap{flex:0 auto;max-width:280px}.blocks-app .colorpicker-body .saturation-box,.blocks-app .colorpicker-body .strip{border-radius:4px}.blocks-app .scrollbar.vertical{width:5px!important}.blocks-app .scrollbar.vertical .slider{border-radius:5px!important;width:5px!important}.blocks-app .user-cursor{z-index:10;border-left:2px solid #ff00e1;width:2px;height:20px;position:absolute}.blocks-app .cursor-hover{color:#fff;text-wrap-mode:nowrap;z-index:10000;border-radius:7px 7px 7px 0;margin-left:-2px;padding:0 5px;font-size:12px;position:absolute;top:-17px}.blocks-app .user-selection-decoration{background-color:#8080eb4d}.monaco-editor__spin{z-index:1000;align-items:center;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}',o=window.__emailmaker_styles__||(window.__emailmaker_styles__={sheets:{},order:[]}),e=r;if(!o.sheets[e]){var i=!1;try{if(typeof CSSStyleSheet=="function"&&"replaceSync"in CSSStyleSheet.prototype&&document.adoptedStyleSheets){var a=new CSSStyleSheet;a.replaceSync(r),document.adoptedStyleSheets=document.adoptedStyleSheets.concat([a]),o.sheets[e]=a,o.order.push(e),i=!0}}catch{i=!1}if(!i){var t=document.createElement("style");t.setAttribute("data-emailmaker","true"),t.appendChild(document.createTextNode(r)),document.head.appendChild(t),o.sheets[e]=t,o.order.push(e)}}}}catch(n){console.error("vite-plugin-css-injected-by-js",n)}})();
2
- __emailmaker__.define("static/core/44829f84.js",["require","exports","module","static/core/5dc34752.js","static/core/1970ffad.js","static/core/ad2a794d.js","static/core/370f04c3.js","react","react/jsx-runtime","__delivery__/libs","vite/preload-helper"],function(Q,ct,Ac){const oe=Q("./5dc34752.js"),xi=Q("./1970ffad.js"),c=Q("./ad2a794d.js"),Si=Q("./370f04c3.js");let w=Q("react"),d=oe.__toESM(w,1);w=oe.__toESM(w);let Se=Q("react/jsx-runtime"),er=Q("__delivery__/libs"),$i=Q("vite/preload-helper");function tr(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,o=Array(t);r<t;r++)o[r]=e[r];return o}function Ei(e){if(Array.isArray(e))return e}function Oi(e,t,r){return(t=ji(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Mi(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var o,i,n,a,s=[],l=!0,u=!1;try{if(n=(r=r.call(e)).next,t!==0)for(;!(l=(o=n.call(r)).done)&&(s.push(o.value),s.length!==t);l=!0);}catch(f){u=!0,i=f}finally{try{if(!l&&r.return!=null&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw i}}return s}}function Ci(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
2
+ __emailmaker__.define("static/core/a215213f.js",["require","exports","module","static/core/5dc34752.js","static/core/1970ffad.js","static/core/8ca96066.js","static/core/370f04c3.js","react","react/jsx-runtime","__delivery__/libs","vite/preload-helper"],function(Q,ct,Ac){const oe=Q("./5dc34752.js"),xi=Q("./1970ffad.js"),c=Q("./8ca96066.js"),Si=Q("./370f04c3.js");let w=Q("react"),d=oe.__toESM(w,1);w=oe.__toESM(w);let Se=Q("react/jsx-runtime"),er=Q("__delivery__/libs"),$i=Q("vite/preload-helper");function tr(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,o=Array(t);r<t;r++)o[r]=e[r];return o}function Ei(e){if(Array.isArray(e))return e}function Oi(e,t,r){return(t=ji(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Mi(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var o,i,n,a,s=[],l=!0,u=!1;try{if(n=(r=r.call(e)).next,t!==0)for(;!(l=(o=n.call(r)).done)&&(s.push(o.value),s.length!==t);l=!0);}catch(f){u=!0,i=f}finally{try{if(!l&&r.return!=null&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw i}}return s}}function Ci(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
3
3
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function rr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,o)}return r}function or(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?rr(Object(r),!0).forEach(function(o){Oi(e,o,r[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):rr(Object(r)).forEach(function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(r,o))})}return e}function Li(e,t){if(e==null)return{};var r,o,i=_i(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(o=0;o<n.length;o++)r=n[o],t.indexOf(r)===-1&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function _i(e,t){if(e==null)return{};var r={};for(var o in e)if({}.hasOwnProperty.call(e,o)){if(t.indexOf(o)!==-1)continue;r[o]=e[o]}return r}function Ai(e,t){return Ei(e)||Mi(e,t)||zi(e,t)||Ci()}function Ti(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var o=r.call(e,t);if(typeof o!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function ji(e){var t=Ti(e,"string");return typeof t=="symbol"?t:t+""}function zi(e,t){if(e){if(typeof e=="string")return tr(e,t);var r={}.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?tr(e,t):void 0}}function Ri(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ir(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,o)}return r}function nr(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?ir(Object(r),!0).forEach(function(o){Ri(e,o,r[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ir(Object(r)).forEach(function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(r,o))})}return e}function Ni(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(o){return t.reduceRight(function(i,n){return n(i)},o)}}function $e(e){return function t(){for(var r=this,o=arguments.length,i=new Array(o),n=0;n<o;n++)i[n]=arguments[n];return i.length>=e.length?e.apply(this,i):function(){for(var a=arguments.length,s=new Array(a),l=0;l<a;l++)s[l]=arguments[l];return t.apply(r,[].concat(i,s))}}}function Ie(e){return{}.toString.call(e).includes("Object")}function Pi(e){return!Object.keys(e).length}function Ee(e){return typeof e=="function"}function Ii(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Di(e,t){return Ie(t)||ie("changeType"),Object.keys(t).some(function(r){return!Ii(e,r)})&&ie("changeField"),t}function qi(e){Ee(e)||ie("selectorType")}function Wi(e){Ee(e)||Ie(e)||ie("handlerType"),Ie(e)&&Object.values(e).some(function(t){return!Ee(t)})&&ie("handlersType")}function Ui(e){e||ie("initialIsRequired"),Ie(e)||ie("initialType"),Pi(e)&&ie("initialContent")}function Fi(e,t){throw new Error(e[t]||e.default)}var ie=$e(Fi)({initialIsRequired:"initial state is required",initialType:"initial state should be an object",initialContent:"initial state shouldn't be an empty object",handlerType:"handler should be an object or a function",handlersType:"all handlers should be a functions",selectorType:"selector should be a function",changeType:"provided value of changes should be an object",changeField:'it seams you want to change a field in the state which is not specified in the "initial" state',default:"an unknown error accured in `state-local` package"}),De={changes:Di,selector:qi,handler:Wi,initial:Ui};function Vi(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};De.initial(e),De.handler(t);var r={current:e},o=$e(Gi)(r,t),i=$e(Hi)(r),n=$e(De.changes)(e),a=$e(Bi)(r);function s(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:function(f){return f};return De.selector(u),u(r.current)}function l(u){Ni(o,i,n,a)(u)}return[s,l]}function Bi(e,t){return Ee(t)?t(e.current):t}function Hi(e,t){return e.current=nr(nr({},e.current),t),t}function Gi(e,t,r){return Ee(t)?t(e.current):Object.keys(r).forEach(function(o){var i;return(i=t[o])===null||i===void 0?void 0:i.call(t,e.current[o])}),r}var Qi={create:Vi},Ki={paths:{vs:"https://cdn.jsdelivr.net/npm/monaco-editor@0.55.1/min/vs"}};function Yi(e){return function t(){for(var r=this,o=arguments.length,i=new Array(o),n=0;n<o;n++)i[n]=arguments[n];return i.length>=e.length?e.apply(this,i):function(){for(var a=arguments.length,s=new Array(a),l=0;l<a;l++)s[l]=arguments[l];return t.apply(r,[].concat(i,s))}}}function Ji(e){return{}.toString.call(e).includes("Object")}function Zi(e){return e||ar("configIsRequired"),Ji(e)||ar("configType"),e.urls?{paths:{vs:e.urls.monacoBase}}:e}function Tc(){}function Xi(e,t){throw new Error(e[t]||e.default)}var en={configIsRequired:"the configuration object is required",configType:"the configuration object should be an object",default:"an unknown error accured in `@monaco-editor/loader` package",deprecation:`Deprecation warning!
4
4
  You are using deprecated way of configuration.
5
5